@univerjs-pro/collaboration-client 0.5.0 → 0.5.1-nightly.202412011605

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/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x29ff00=_0x2f26;(function(_0x1ea1f0,_0x431e41){const _0x52c6a0=_0x2f26,_0x5babec=_0x1ea1f0();while(!![]){try{const _0x2df604=parseInt(_0x52c6a0(0x51a))/0x1+-parseInt(_0x52c6a0(0x286))/0x2+parseInt(_0x52c6a0(0x494))/0x3+-parseInt(_0x52c6a0(0x474))/0x4*(-parseInt(_0x52c6a0(0x4ee))/0x5)+parseInt(_0x52c6a0(0x566))/0x6*(parseInt(_0x52c6a0(0x258))/0x7)+parseInt(_0x52c6a0(0x383))/0x8*(parseInt(_0x52c6a0(0x28f))/0x9)+-parseInt(_0x52c6a0(0x63d))/0xa;if(_0x2df604===_0x431e41)break;else _0x5babec['push'](_0x5babec['shift']());}catch(_0x3fd352){_0x5babec['push'](_0x5babec['shift']());}}}(_0x595e,0x392b8));var ji=Object['defineProperty'],$i=(_0x1d18dd,_0x44009b,_0x391e08)=>_0x44009b in _0x1d18dd?ji(_0x1d18dd,_0x44009b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x391e08}):_0x1d18dd[_0x44009b]=_0x391e08,I=(_0x53e59c,_0x15269d,_0x45e920)=>$i(_0x53e59c,typeof _0x15269d!=_0x29ff00(0x241)?_0x15269d+'':_0x15269d,_0x45e920);Object[_0x29ff00(0x64a)](exports,Symbol['toStringTag'],{'value':_0x29ff00(0x617)});const a=require('@univerjs/core'),A=require(_0x29ff00(0x60c)),V=require('rxjs/operators'),Ce=require('@univerjs/design'),z=require(_0x29ff00(0x4e2)),te=require(_0x29ff00(0x386)),p=require(_0x29ff00(0x3e1)),Hi=require(_0x29ff00(0x3d9)),Ie=require(_0x29ff00(0x5e4)),J=require(_0x29ff00(0x34c)),k=require(_0x29ff00(0x2e8)),K=require(_0x29ff00(0x541)),ie=require(_0x29ff00(0x403)),Mt=require(_0x29ff00(0x5a0)),ye=require(_0x29ff00(0x4d2)),ae=require(_0x29ff00(0x381)),Bi=require('@univerjs/rpc'),ii='SNAPSHOT_SERVER_URL_KEY',ki=_0x29ff00(0x5dc),ni='SNAPSHOT_URL_KEY',Wi='SEND_CHANGESET_TIMEOUT',Fi=0x7d0,si='COLLAB_WEB_SOCKET_URL',Vi=_0x29ff00(0x44c),Gi=_0x29ff00(0x3c7),ri=_0x29ff00(0x4aa),Yi=0x7530,Et=_0x29ff00(0x423),oi=0x4e20,Ki=0x4e20,ai='RETRY_CONNECTING_MAX_COUNT',qi=0x3,ci=_0x29ff00(0x575),zi=0x3e8,li=_0x29ff00(0x2a0),Xi='/universer-api/comb',hi=_0x29ff00(0x5e1),Ji=_0x29ff00(0x591);var _i=(_0x3e5b6a=>(_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x64f)]=0x0]=_0x29ff00(0x64f),_0x3e5b6a[_0x3e5b6a['OK']=0x1]='OK',_0x3e5b6a[_0x3e5b6a['INTERNAL_ERROR']=0x2]=_0x29ff00(0x28a),_0x3e5b6a[_0x3e5b6a['PERMISSION_DENIED']=0x3]=_0x29ff00(0x3be),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2f5)]=0x4]='NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x563)]=0x5]=_0x29ff00(0x563),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2b8)]=0x6]=_0x29ff00(0x2b8),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cf)]=0x7]=_0x29ff00(0x1cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2bb)]=0x8]='TOO_MANY_REQUESTS',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x63b)]=0x9]=_0x29ff00(0x63b),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23a)]=0x1389]=_0x29ff00(0x23a),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3cf)]=0x1771]=_0x29ff00(0x3cf),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x62d)]=0x1772]=_0x29ff00(0x62d),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1cd)]=0x1773]=_0x29ff00(0x1cd),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x1f3)]=0x1b59]='APPLY_REJECT',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x511)]=0x1b5a]=_0x29ff00(0x511),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2da)]=0x1b5b]=_0x29ff00(0x2da),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x2cb)]=0x1b5c]=_0x29ff00(0x2cb),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4cc)]=0x1b5d]=_0x29ff00(0x4cc),_0x3e5b6a[_0x3e5b6a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x29ff00(0x206),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3e0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x34e)]=0x232a]=_0x29ff00(0x34e),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x57b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x32f)]=0x232c]=_0x29ff00(0x32f),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x3a2)]=0x232d]=_0x29ff00(0x3a2),_0x3e5b6a[_0x3e5b6a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x29ff00(0x5f2),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x4ce)]=0x2712]=_0x29ff00(0x4ce),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x23c)]=0x2713]=_0x29ff00(0x23c),_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3e5b6a[_0x3e5b6a[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x3e5b6a))(_i||{}),ne=(_0x2b5f98=>(_0x2b5f98[_0x2b5f98[_0x29ff00(0x3b3)]=0x0]='UNIVER_UNKNOWN',_0x2b5f98[_0x2b5f98['UNIVER_DOC']=0x1]=_0x29ff00(0x4f0),_0x2b5f98[_0x2b5f98['UNIVER_SHEET']=0x2]=_0x29ff00(0x3d0),_0x2b5f98[_0x2b5f98[_0x29ff00(0x625)]=0x3]=_0x29ff00(0x625),_0x2b5f98[_0x2b5f98[_0x29ff00(0x5cf)]=0x4]='UNIVER_PROJECT',_0x2b5f98[_0x2b5f98[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x2b5f98))(ne||{}),G=(_0x158be7=>(_0x158be7[_0x158be7[_0x29ff00(0x638)]=0x0]='UNKNOWN_CMD',_0x158be7[_0x158be7['HELLO']=0x1]='HELLO',_0x158be7[_0x158be7['JOIN']=0x2]=_0x29ff00(0x48f),_0x158be7[_0x158be7[_0x29ff00(0x56d)]=0x3]=_0x29ff00(0x56d),_0x158be7[_0x158be7[_0x29ff00(0x514)]=0x4]=_0x29ff00(0x514),_0x158be7[_0x158be7['HEARTBEAT']=0x5]=_0x29ff00(0x5c6),_0x158be7[_0x158be7[_0x29ff00(0x275)]=0x6]=_0x29ff00(0x275),_0x158be7[_0x158be7[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x158be7))(G||{}),bt=(_0x1d71c2=>(_0x1d71c2[_0x1d71c2[_0x29ff00(0x609)]=0x0]=_0x29ff00(0x609),_0x1d71c2[_0x1d71c2['OK']=0x1]='OK',_0x1d71c2[_0x1d71c2['FAIL']=0x2]=_0x29ff00(0x52a),_0x1d71c2[_0x1d71c2[_0x29ff00(0x61a)]=0x3e9]='JOIN_ROOM_FULL',_0x1d71c2[_0x1d71c2[_0x29ff00(0x215)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x1d71c2[_0x1d71c2['UNRECOGNIZED']=-0x1]=_0x29ff00(0x419),_0x1d71c2))(bt||{}),ui=(_0x17591d=>(_0x17591d[_0x17591d[_0x29ff00(0x559)]=0x0]=_0x29ff00(0x559),_0x17591d[_0x17591d[_0x29ff00(0x4d0)]=0x1]=_0x29ff00(0x4d0),_0x17591d[_0x17591d[_0x29ff00(0x582)]=0x2]=_0x29ff00(0x582),_0x17591d[_0x17591d[_0x29ff00(0x358)]=0x3]='UnitEmbedded',_0x17591d[_0x17591d[_0x29ff00(0x557)]=0x4]=_0x29ff00(0x557),_0x17591d[_0x17591d[_0x29ff00(0x419)]=-0x1]=_0x29ff00(0x419),_0x17591d))(ui||{});const Q=_0x29ff00(0x602),Zi={};function di(_0x1360bb){const _0x4bfee1=_0x29ff00;var _0xaab78a,_0x413c2b,_0x5c1845,_0x220bf4,_0x34e23b;const _0x4a4dcb=_0x1360bb[_0x4bfee1(0x3eb)],_0x5d258e=JSON['parse'](_0x4a4dcb);switch(_0x5d258e[_0x4bfee1(0x4a0)]){case G[_0x4bfee1(0x5c6)]:case G[_0x4bfee1(0x2ad)]:{const _0x7cd38b=_0x5d258e[_0x4bfee1(0x495)];return{..._0x5d258e,'data':_0x7cd38b,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x48f)]:{const _0xc8635a=_0x5d258e[_0x4bfee1(0x2c7)];return{..._0x5d258e,'data':_0xc8635a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};}case G[_0x4bfee1(0x275)]:{const _0x20984a=_0x5d258e['collaMsg'];switch(_0x20984a[_0x4bfee1(0x55b)]){case p[_0x4bfee1(0x259)]['PERMISSION_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0xaab78a=_0x20984a['permissionRejEvent'])==null?void 0x0:_0xaab78a['cs']},'cmd':_0x5d258e['cmd']};case p[_0x4bfee1(0x259)][_0x4bfee1(0x249)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x413c2b=_0x20984a['csAckEvent'])==null?void 0x0:_0x413c2b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x402)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x5c1845=_0x20984a[_0x4bfee1(0x1b7)])==null?void 0x0:_0x5c1845['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['CHANGESET_REJ']:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x220bf4=_0x20984a[_0x4bfee1(0x4ec)])==null?void 0x0:_0x220bf4['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x2ce)]:return{..._0x5d258e,'data':{..._0x20984a,'data':(_0x34e23b=_0x20984a[_0x4bfee1(0x444)])==null?void 0x0:_0x34e23b['cs']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['UPDATE_CURSOR']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x4a2)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)]['USERS_ENTER']:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x5db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5a1)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x2db)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x313)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x28c)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x42b)]:case p[_0x4bfee1(0x259)][_0x4bfee1(0x448)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x284)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p['CollaborationEvent'][_0x4bfee1(0x216)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a['liveShareNewHost']},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x5cc)]:return{..._0x5d258e,'data':_0x20984a,'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x492)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x29a)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x410)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x3fe)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};case p[_0x4bfee1(0x259)][_0x4bfee1(0x44d)]:return{..._0x5d258e,'data':{..._0x20984a,'data':_0x20984a[_0x4bfee1(0x1b8)]},'cmd':_0x5d258e[_0x4bfee1(0x4a0)]};default:return _0x5d258e;}}default:return _0x5d258e;}}function fi(_0x31fafc){const _0x978bf4=_0x29ff00;switch(_0x31fafc[_0x978bf4(0x4a0)]){case G[_0x978bf4(0x5c6)]:case G[_0x978bf4(0x2ad)]:return JSON['stringify']({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)]});case G[_0x978bf4(0x514)]:{let _0x8b32e9;switch(_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x55b)]){case p[_0x978bf4(0x259)]['UPDATE_CURSOR']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['UPDATE_CURSOR'],'updateCursorEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent'][_0x978bf4(0x5a1)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5a1)],'leaveEvent':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x5bc)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x5bc)],'joinEvent':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x313)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x313)],'liveShareNewHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)][_0x978bf4(0x448)]:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x31fafc[_0x978bf4(0x3eb)]['data']};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x31fafc[_0x978bf4(0x3eb)][_0x978bf4(0x3eb)]};break;}case p[_0x978bf4(0x259)]['LIVESHARE_FETCH_OPERATIONS']:{_0x8b32e9={'eventID':p[_0x978bf4(0x259)][_0x978bf4(0x42b)]};break;}default:_0x8b32e9={'eventID':_0x31fafc['data'][_0x978bf4(0x55b)]};}return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc['cmd'],'routeKey':_0x31fafc['routeKey'],'collaMsg':_0x8b32e9});}case G[_0x978bf4(0x48f)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc[_0x978bf4(0x4fa)],'joinReq':_0x31fafc[_0x978bf4(0x3eb)]});case G[_0x978bf4(0x56d)]:return JSON[_0x978bf4(0x65e)]({'cmd':_0x31fafc[_0x978bf4(0x4a0)],'routeKey':_0x31fafc['routeKey'],'leaveReq':_0x31fafc[_0x978bf4(0x3eb)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Qi=Object[_0x29ff00(0x64a)],en=Object[_0x29ff00(0x316)],tn=(_0x4584e5,_0x54e03c,_0x38b276,_0xafdec2)=>{const _0x3d75a1=_0x29ff00;for(var _0x39d498=_0xafdec2>0x1?void 0x0:_0xafdec2?en(_0x54e03c,_0x38b276):_0x54e03c,_0x324b9e=_0x4584e5[_0x3d75a1(0x5e7)]-0x1,_0x368764;_0x324b9e>=0x0;_0x324b9e--)(_0x368764=_0x4584e5[_0x324b9e])&&(_0x39d498=(_0xafdec2?_0x368764(_0x54e03c,_0x38b276,_0x39d498):_0x368764(_0x39d498))||_0x39d498);return _0xafdec2&&_0x39d498&&Qi(_0x54e03c,_0x38b276,_0x39d498),_0x39d498;},Pe=(_0x4de191,_0x78e65)=>(_0xfde4af,_0x33b6c8)=>_0x78e65(_0xfde4af,_0x33b6c8,_0x4de191);const Tt=a[_0x29ff00(0x369)]('univer-pro.collaboration-client-socket-service');function nn(_0x3c3e05,_0xcb953e,_0xb8a45e){return _0x3c3e05+'/'+_0xcb953e+'/unit/'+_0xb8a45e+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x203ea0,_0x4af609,_0x4c4d79,_0x2582d0,_0x17744a){const _0x4556da=_0x29ff00;super(),this[_0x4556da(0x58a)]=_0x203ea0,this['_ws']=_0x4af609,this[_0x4556da(0x4ea)]=_0x4c4d79,this[_0x4556da(0x328)]=_0x2582d0,this[_0x4556da(0x1dc)]=_0x17744a;}[_0x29ff00(0x62b)](_0x29f4d1){const _0x2415ec=_0x29ff00,_0x271d13=this[_0x2415ec(0x5ab)][_0x2415ec(0x62b)](_0x29f4d1);if(!_0x271d13)throw new Error(_0x2415ec(0x45e));const _0x21bf5b=new a[(_0x2415ec(0x546))](),_0xfb78c0=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x642)]['subscribe'](_0x4194a1=>_0xfb78c0[_0x2415ec(0x49f)](_0x4194a1))),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0xfb78c0[_0x2415ec(0x22e)]()));const _0x108082=new A['Subject']();_0x21bf5b['add'](_0x271d13[_0x2415ec(0x1c3)]['subscribe'](_0xb265df=>_0x108082[_0x2415ec(0x49f)](_0xb265df))),_0x21bf5b[_0x2415ec(0x231)](a['toDisposable'](()=>_0x108082[_0x2415ec(0x22e)]()));const _0x3d8201=new A[(_0x2415ec(0x534))]();_0x21bf5b[_0x2415ec(0x231)](_0x271d13[_0x2415ec(0x27b)][_0x2415ec(0x58f)](_0x52c81d=>{const _0x4f9270=_0x2415ec,_0x1eca69=di(_0x52c81d);_0x3d8201[_0x4f9270(0x49f)](_0x1eca69);})),_0x21bf5b[_0x2415ec(0x231)](a[_0x2415ec(0x372)](()=>_0x3d8201[_0x2415ec(0x22e)]()));let _0x42df77;const _0x3efe67=()=>{const _0x31dae2=_0x2415ec;_0x108082['next'](new Event(_0x31dae2(0x335))),_0xfb78c0[_0x31dae2(0x49f)](new CloseEvent('connection\x20error')),_0x42df77[_0x31dae2(0x499)]();};return _0x42df77={'memberID':'','close$':_0xfb78c0['asObservable'](),'error$':_0x108082[_0x2415ec(0x4c6)](),'open$':_0x271d13[_0x2415ec(0x418)],'message$':_0x3d8201['asObservable'](),'send':_0x5cdd3a=>{const _0xa5e4e5=_0x2415ec;if(_0x5cdd3a[_0xa5e4e5(0x4a0)]===G[_0xa5e4e5(0x514)]){if(_0x5cdd3a[_0xa5e4e5(0x3eb)]['eventID']===p[_0xa5e4e5(0x259)][_0xa5e4e5(0x2c8)]){this['_submitChangeset'](_0x42df77,_0x5cdd3a['data'])[_0xa5e4e5(0x49d)](_0xa69cd=>{const _0x30c772=_0xa5e4e5;this[_0x30c772(0x328)][_0x30c772(0x27a)](_0xa69cd),_0x3efe67();});return;}if(_0x5cdd3a[_0xa5e4e5(0x3eb)][_0xa5e4e5(0x55b)]===p[_0xa5e4e5(0x259)]['FETCH_MISSING']){const _0xc9b3b3=_0x5cdd3a[_0xa5e4e5(0x3eb)];this[_0xa5e4e5(0x654)](_0xc9b3b3)[_0xa5e4e5(0x5bf)](_0x3077ee=>{const _0x35e25f=_0xa5e4e5;_0x3d8201[_0x35e25f(0x49f)]({'cmd':G[_0x35e25f(0x275)],'code':bt['OK'],'routeKey':_0xc9b3b3[_0x35e25f(0x3eb)]['unitID'],'routeType':'','data':{'eventID':p[_0x35e25f(0x259)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3077ee}}});})['catch'](_0x5c65b0=>{const _0x164b11=_0xa5e4e5;this[_0x164b11(0x328)][_0x164b11(0x27a)](_0x5c65b0),_0x3efe67();});return;}}_0x271d13[_0xa5e4e5(0x385)](fi(_0x5cdd3a));},'close':()=>{const _0x476a06=_0x2415ec;_0x271d13[_0x476a06(0x499)](),_0x21bf5b[_0x476a06(0x5e6)]();}},_0x42df77;}async[_0x29ff00(0x33a)](_0x2e58db,_0x5004fc){const _0x5b5007=_0x29ff00;var _0xf4212,_0x40f664;const {unitType:_0x334b15,unitID:_0x232a0c,changeset:_0x7958b5}=_0x5004fc[_0x5b5007(0x3eb)],_0x4d7ab1={'unitID':_0x232a0c,'memberID':_0x2e58db[_0x5b5007(0x35e)],'type':_0x334b15,'changeset':p[_0x5b5007(0x26f)](_0x7958b5)},_0x52659d=this[_0x5b5007(0x4ea)]['getConfig'](li),_0x3988e6=this[_0x5b5007(0x4ea)][_0x5b5007(0x1ea)](Q),_0x29ddda=nn((_0x40f664=(_0xf4212=_0x3988e6==null?void 0x0:_0x3988e6[_0x5b5007(0x29d)])!=null?_0xf4212:_0x52659d)!=null?_0x40f664:Xi,_0x334b15,_0x232a0c);try{await this[_0x5b5007(0x58a)][_0x5b5007(0x515)](_0x29ddda,{'body':_0x4d7ab1});}catch(_0x24faa2){throw this[_0x5b5007(0x328)][_0x5b5007(0x27a)](_0x5b5007(0x4a6),_0x5b5007(0x2ba)),_0x24faa2;}}async[_0x29ff00(0x654)](_0x5e07b9){const _0x595385=_0x29ff00,{unitID:_0x3e6dad,from:_0x23239b,to:_0x48f2ab,unitType:_0x1d2727}=_0x5e07b9[_0x595385(0x3eb)];return(await this[_0x595385(0x1dc)][_0x595385(0x379)]({'metadata':void 0x0},{'unitID':_0x3e6dad,'type':_0x1d2727,'from':_0x23239b,'to':_0x48f2ab}))[_0x595385(0x684)];}},exports[_0x29ff00(0x374)]=tn([Pe(0x0,a['Inject'](z[_0x29ff00(0x1be)])),Pe(0x1,a[_0x29ff00(0x493)](z[_0x29ff00(0x287)])),Pe(0x2,a[_0x29ff00(0x64d)]),Pe(0x3,a[_0x29ff00(0x4ac)]),Pe(0x4,p[_0x29ff00(0x426)])],exports[_0x29ff00(0x374)]);const sn=_0x29ff00(0x36a);function rn(_0xc3eaf0){const _0x1189c6=_0x29ff00;return JSON[_0x1189c6(0x65e)](_0xc3eaf0)['length'];}class Rt{constructor(){const _0x231cea=_0x29ff00;I(this,_0x231cea(0x2f2),new A[(_0x231cea(0x534))]()),I(this,_0x231cea(0x22a),this[_0x231cea(0x2f2)][_0x231cea(0x4c6)]());}['onCommentUpdate'](_0x3f9cb9){const _0x50b1d1=_0x29ff00;this[_0x50b1d1(0x2f2)][_0x50b1d1(0x49f)](_0x3f9cb9);}}var on=Object[_0x29ff00(0x64a)],an=Object[_0x29ff00(0x316)],cn=(_0x224925,_0x239194,_0x59e802,_0x4f58c6)=>{const _0x1c56f4=_0x29ff00;for(var _0xd16ee0=_0x4f58c6>0x1?void 0x0:_0x4f58c6?an(_0x239194,_0x59e802):_0x239194,_0x599809=_0x224925[_0x1c56f4(0x5e7)]-0x1,_0x310afd;_0x599809>=0x0;_0x599809--)(_0x310afd=_0x224925[_0x599809])&&(_0xd16ee0=(_0x4f58c6?_0x310afd(_0x239194,_0x59e802,_0xd16ee0):_0x310afd(_0xd16ee0))||_0xd16ee0);return _0x4f58c6&&_0xd16ee0&&on(_0x239194,_0x59e802,_0xd16ee0),_0xd16ee0;},At=(_0x23ecc5,_0x45412a)=>(_0x31650e,_0x2c0b4a)=>_0x45412a(_0x31650e,_0x2c0b4a,_0x23ecc5);exports[_0x29ff00(0x1d6)]=class extends a[_0x29ff00(0x331)]{constructor(_0x24c8c3,_0x373a20){const _0x149909=_0x29ff00;super(),I(this,_0x149909(0x542),new Map()),(this['_univerInstanceService']=_0x24c8c3,this[_0x149909(0x345)]=_0x373a20,this[_0x149909(0x665)](a[_0x149909(0x372)](A[_0x149909(0x5ed)](this[_0x149909(0x600)][_0x149909(0x365)](a[_0x149909(0x5ce)][_0x149909(0x3d0)])['pipe'](V['map'](_0x19b1f3=>_0x19b1f3[_0x149909(0x621)]())),this[_0x149909(0x600)]['getTypeOfUnitDisposed$'](a[_0x149909(0x5ce)][_0x149909(0x4f0)])[_0x149909(0x619)](V[_0x149909(0x4db)](_0x17a884=>_0x17a884[_0x149909(0x621)]())),this[_0x149909(0x600)][_0x149909(0x365)](a['UniverInstanceType'][_0x149909(0x625)])['pipe'](V[_0x149909(0x4db)](_0x46fc8a=>_0x46fc8a[_0x149909(0x621)]())))[_0x149909(0x58f)](_0x5f6ac=>this[_0x149909(0x554)](_0x5f6ac)))));}[_0x29ff00(0x5c7)](_0x1b5f2b){const _0x22330f=_0x29ff00;this['_userManagerService'][_0x22330f(0x5c7)](_0x1b5f2b);}[_0x29ff00(0x5d8)](){const _0x3397d7=_0x29ff00;return this[_0x3397d7(0x345)][_0x3397d7(0x5d8)]();}[_0x29ff00(0x3f3)](_0x51bcf8,_0xf48690){const _0x41cc6a=_0x29ff00;let _0x47956a=this[_0x41cc6a(0x542)]['get'](_0x51bcf8);_0x47956a||(_0x47956a=new ln(),this[_0x41cc6a(0x542)][_0x41cc6a(0x20a)](_0x51bcf8,_0x47956a)),_0x47956a[_0x41cc6a(0x3f3)](_0xf48690);}[_0x29ff00(0x578)](_0x234958,_0x359e74){const _0x5cadbf=_0x29ff00,_0x4b1f76=this[_0x5cadbf(0x542)][_0x5cadbf(0x2ef)](_0x234958);_0x4b1f76&&_0x4b1f76[_0x5cadbf(0x578)](_0x359e74);}[_0x29ff00(0x4cb)](_0x41ae49){const _0x3cef7f=_0x29ff00;return this[_0x3cef7f(0x542)]['get'](_0x41ae49);}[_0x29ff00(0x5b8)](_0x3b9718,_0x130bb5){const _0x26a607=_0x29ff00,_0x6e829c=this[_0x26a607(0x542)][_0x26a607(0x2ef)](_0x3b9718);if(_0x6e829c)return _0x6e829c[_0x26a607(0x5b8)](_0x130bb5);}[_0x29ff00(0x554)](_0x332dae){const _0x2be6d7=_0x29ff00,_0x5df38c=this[_0x2be6d7(0x542)][_0x2be6d7(0x2ef)](_0x332dae);_0x5df38c&&(_0x5df38c[_0x2be6d7(0x5e6)](),this[_0x2be6d7(0x542)]['delete'](_0x332dae));}[_0x29ff00(0x5e6)](){const _0x2e4af4=_0x29ff00;this['_roomMembers'][_0x2e4af4(0x3a1)](_0x5b7354=>_0x5b7354[_0x2e4af4(0x5e6)]()),this['_roomMembers'][_0x2e4af4(0x641)]();}},exports[_0x29ff00(0x1d6)]=cn([At(0x0,a[_0x29ff00(0x37f)]),At(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x60f)]))],exports[_0x29ff00(0x1d6)]);class ln extends a[_0x29ff00(0x331)]{constructor(){super(...arguments),I(this,'_members',new Map());}[_0x29ff00(0x5e6)](){const _0x419909=_0x29ff00;this['_members'][_0x419909(0x641)]();}['updateMember'](_0x2adca0){const _0x10ed13=_0x29ff00;this['_members']['set'](_0x2adca0[_0x10ed13(0x35e)],_0x2adca0);}['removeMember'](_0x574fbf){const _0x580929=_0x29ff00;this['_members'][_0x580929(0x3dc)](_0x574fbf);}['getMember'](_0x2380d4){const _0x145bd0=_0x29ff00;return this[_0x145bd0(0x272)][_0x145bd0(0x2ef)](_0x2380d4);}[_0x29ff00(0x2d7)](){const _0x4e8f2c=_0x29ff00;return Array[_0x4e8f2c(0x4e3)](this['_members']['values']());}}var hn=Object['defineProperty'],_n=Object[_0x29ff00(0x316)],un=(_0x212c52,_0x5e0053,_0x3bfa24,_0x300604)=>{const _0xa1e719=_0x29ff00;for(var _0xbfceec=_0x300604>0x1?void 0x0:_0x300604?_n(_0x5e0053,_0x3bfa24):_0x5e0053,_0xf035f2=_0x212c52[_0xa1e719(0x5e7)]-0x1,_0x5968b7;_0xf035f2>=0x0;_0xf035f2--)(_0x5968b7=_0x212c52[_0xf035f2])&&(_0xbfceec=(_0x300604?_0x5968b7(_0x5e0053,_0x3bfa24,_0xbfceec):_0x5968b7(_0xbfceec))||_0xbfceec);return _0x300604&&_0xbfceec&&hn(_0x5e0053,_0x3bfa24,_0xbfceec),_0xbfceec;},de=(_0x111444,_0x54af0c)=>(_0x3b479d,_0x4e966b)=>_0x54af0c(_0x3b479d,_0x4e966b,_0x111444),se=(_0x24621c=>(_0x24621c[_0x24621c[_0x29ff00(0x281)]=0x0]='IDLE',_0x24621c[_0x24621c['JOINING']=0x1]=_0x29ff00(0x377),_0x24621c[_0x24621c[_0x29ff00(0x548)]=0x2]='OFFLINE',_0x24621c[_0x24621c[_0x29ff00(0x572)]=0x3]='ONLINE',_0x24621c))(se||{});exports[_0x29ff00(0x679)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x227b21,_0x398803,_0x15d302,_0x3101dc,_0x21f5a9,_0x249e1c,_0xcc6a46,_0x52e18e,_0x485d18,_0x42fa55){const _0xbc6442=_0x29ff00;super(),I(this,_0xbc6442(0x439),new A[(_0xbc6442(0x26c))](0x0)),I(this,_0xbc6442(0x299),this[_0xbc6442(0x439)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x245),new A[(_0xbc6442(0x534))]()),I(this,_0xbc6442(0x48a),this[_0xbc6442(0x245)][_0xbc6442(0x4c6)]()),I(this,_0xbc6442(0x491)),I(this,_0xbc6442(0x24e)),I(this,_0xbc6442(0x497)),I(this,_0xbc6442(0x47d),!0x1),I(this,_0xbc6442(0x296),null),(this['_unitID']=_0x227b21,this[_0xbc6442(0x328)]=_0x15d302,this[_0xbc6442(0x1c0)]=_0x3101dc,this['_messageService']=_0x21f5a9,this[_0xbc6442(0x4ea)]=_0x249e1c,this[_0xbc6442(0x20f)]=_0xcc6a46,this[_0xbc6442(0x427)]=_0x52e18e,this[_0xbc6442(0x3df)]=_0x485d18,this['_telemetryService']=_0x42fa55,this[_0xbc6442(0x47d)]=!!this['_telemetryService'],_0x398803['pipe'](A['takeUntil'](this[_0xbc6442(0x2b6)]))['subscribe'](_0x128c12=>{const _0x1e03ad=_0xbc6442;var _0x18ee46;typeof _0x128c12>'u'||(this[_0x1e03ad(0x491)]=_0x128c12,_0x128c12?(this['_joinRoom'](_0x128c12),this[_0x1e03ad(0x24e)]=_0x128c12[_0x1e03ad(0x27b)][_0x1e03ad(0x58f)](_0x4fc6a2=>{const _0x5f6463=_0x1e03ad;_0x4fc6a2['routeKey']===this[_0x5f6463(0x33d)]&&this[_0x5f6463(0x261)](_0x4fc6a2);})):(this[_0x1e03ad(0x363)](),this['_sessionStatus$']['next'](0x2),(_0x18ee46=this[_0x1e03ad(0x24e)])==null||_0x18ee46[_0x1e03ad(0x4eb)](),this[_0x1e03ad(0x24e)]=null));}),this[_0xbc6442(0x665)](this[_0xbc6442(0x1c0)][_0xbc6442(0x23d)](()=>{const _0xfe612c=_0xbc6442;var _0xf28e07;(_0xf28e07=this[_0xfe612c(0x491)])==null||_0xf28e07['send']({'cmd':G['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get['sessionStatus'](){const _0x36e572=_0x29ff00;return this[_0x36e572(0x439)][_0x36e572(0x42e)]();}[_0x29ff00(0x40a)](){const _0x326523=_0x29ff00;var _0x27f087,_0x5c318d;return(_0x5c318d=(_0x27f087=this['_socket'])==null?void 0x0:_0x27f087[_0x326523(0x35e)])!=null?_0x5c318d:null;}[_0x29ff00(0x5e6)](){const _0x3d271f=_0x29ff00;super[_0x3d271f(0x5e6)](),this[_0x3d271f(0x2b6)][_0x3d271f(0x49f)](),this['dispose$'][_0x3d271f(0x22e)]();}[_0x29ff00(0x499)](){const _0x4abd27=_0x29ff00;var _0x7c3d4,_0x4ee22a;this['_throwTelemetryCollaborationNewChangeset'](),(_0x7c3d4=this[_0x4abd27(0x491)])==null||_0x7c3d4[_0x4abd27(0x385)]({'cmd':G[_0x4abd27(0x56d)],'data':{'roomID':this[_0x4abd27(0x33d)]}}),(_0x4ee22a=this[_0x4abd27(0x491)])==null||_0x4ee22a['close'](),this[_0x4abd27(0x245)]['complete'](),this['_sessionStatus$'][_0x4abd27(0x22e)](),this['dispose']();}[_0x29ff00(0x261)](_0x556f34){const _0x30cce3=_0x29ff00;_0x556f34[_0x30cce3(0x4a0)]===G['JOIN']?this['_onJoinRoomEvent'](_0x556f34):_0x556f34[_0x30cce3(0x4a0)]===G['RECV']&&this[_0x30cce3(0x57a)](_0x556f34);}[_0x29ff00(0x618)](_0x435182){const _0x1cd1a1=_0x29ff00;this['_sessionStatus$']['next'](0x1),_0x435182[_0x1cd1a1(0x385)]({'cmd':G['JOIN'],'routeKey':this[_0x1cd1a1(0x33d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1cd1a1(0x33d)]}]}});}[_0x29ff00(0x28d)](_0x3894ff){const _0x48bdbe=_0x29ff00;var _0x5bba3c;if(_0x3894ff[_0x48bdbe(0x25d)]===bt[_0x48bdbe(0x52a)]){this[_0x48bdbe(0x47e)][_0x48bdbe(0x318)]({'type':Ce['MessageType'][_0x48bdbe(0x390)],'content':this[_0x48bdbe(0x20f)]['t']('session.room-full')}),this['_sessionStatus$'][_0x48bdbe(0x49f)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x15c3e7=(_0x5bba3c=_0x3894ff[_0x48bdbe(0x3eb)]['roomInfos'][this[_0x48bdbe(0x33d)]])==null?void 0x0:_0x5bba3c['members'];_0x15c3e7&&_0x15c3e7[_0x48bdbe(0x3a1)](_0x14540b=>this[_0x48bdbe(0x427)][_0x48bdbe(0x3f3)](this[_0x48bdbe(0x33d)],_0x14540b));}[_0x29ff00(0x57a)](_0x49a672){const _0x49ab31=_0x29ff00;try{const _0x1b00b5=_0x49a672[_0x49ab31(0x3eb)];switch(_0x1b00b5[_0x49ab31(0x55b)]){case p[_0x49ab31(0x259)]['USERS_ENTER']:this[_0x49ab31(0x22d)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['USERS_LEAVE']:this[_0x49ab31(0x5d0)](_0x1b00b5),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)]['CHANGESET_ACK']:case p[_0x49ab31(0x259)]['CHANGESET_SHOULD_RETRY']:this[_0x49ab31(0x202)](),this[_0x49ab31(0x50e)](),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p['CollaborationEvent'][_0x49ab31(0x5cc)]:this['_logService'][_0x49ab31(0x27a)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x49ab31(0x65e)](_0x1b00b5)),this[_0x49ab31(0x245)][_0x49ab31(0x49f)](_0x1b00b5);break;case p[_0x49ab31(0x259)][_0x49ab31(0x492)]:this['_commentService'][_0x49ab31(0x4a8)](_0x1b00b5['data']),this[_0x49ab31(0x245)]['next'](_0x1b00b5);break;default:this['_event$'][_0x49ab31(0x49f)](_0x1b00b5);}}catch(_0x2ddcfa){this[_0x49ab31(0x328)]['error'](_0x2ddcfa,_0x49a672);}}['_onUserJoin'](_0x2ed97a){const _0x77e776=_0x29ff00;this['_memberService']['updateMember'](this[_0x77e776(0x33d)],_0x2ed97a['data']);}[_0x29ff00(0x5d0)](_0x2db0da){const _0x426aa0=_0x29ff00;this[_0x426aa0(0x427)][_0x426aa0(0x578)](this[_0x426aa0(0x33d)],_0x2db0da[_0x426aa0(0x3eb)][_0x426aa0(0x35e)]);}async['send'](_0x2b7866,_0x9a8c54){const _0x4ed4a4=_0x29ff00;if(this[_0x4ed4a4(0x2ff)]!==0x3||!this[_0x4ed4a4(0x491)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2b7866['eventID']===p['CollaborationEvent'][_0x4ed4a4(0x2c8)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4ed4a4(0x353)](_0x2b7866)),this['_socket'][_0x4ed4a4(0x385)]({'cmd':G[_0x4ed4a4(0x514)],'routeKey':_0x9a8c54,'routeType':'','data':_0x2b7866});}catch(_0x2c8f81){this[_0x4ed4a4(0x328)][_0x4ed4a4(0x27a)](_0x2c8f81);}}['_scheduleCollaborationTimeoutTimer'](){const _0x10dbe9=_0x29ff00;var _0x3dc40d;this[_0x10dbe9(0x497)]=window[_0x10dbe9(0x34a)](()=>{const _0x3e0b8b=_0x10dbe9;this[_0x3e0b8b(0x497)]=null,this[_0x3e0b8b(0x47e)][_0x3e0b8b(0x318)]({'type':Ce[_0x3e0b8b(0x506)][_0x3e0b8b(0x341)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x3dc40d=this[_0x10dbe9(0x4ea)][_0x10dbe9(0x1ea)](Et))!=null?_0x3dc40d:oi);}[_0x29ff00(0x50e)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x29ff00(0x353)](_0x356198){const _0x524f9a=_0x29ff00;if(!this[_0x524f9a(0x47d)])return;const {data:_0x243d8e}=_0x356198,{unitID:_0x4286d7,changeset:_0x13e74b}=_0x243d8e,{mutations:_0x32eb48,type:_0x447499}=_0x13e74b;this[_0x524f9a(0x296)]={'unitId':_0x4286d7,'type':_0x447499,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':rn(_0x32eb48)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x11a1f6=_0x29ff00;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x11a1f6(0x328)]['error']('[CollaborationSession]',_0x11a1f6(0x571));return;}this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]=performance['now'](),this[_0x11a1f6(0x296)][_0x11a1f6(0x24f)]=this[_0x11a1f6(0x296)][_0x11a1f6(0x3a8)]-this['_telemetryInfo'][_0x11a1f6(0x524)],this[_0x11a1f6(0x283)]['capture'](sn,this[_0x11a1f6(0x296)]),this[_0x11a1f6(0x296)]=null;}}[_0x29ff00(0x363)](){const _0x742a10=_0x29ff00;this[_0x742a10(0x296)]=null;}},exports['CollaborationSession']=un([de(0x2,a[_0x29ff00(0x4ac)]),de(0x3,te['IBeforeCloseService']),de(0x4,te['IMessageService']),de(0x5,a[_0x29ff00(0x64d)]),de(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),de(0x7,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),de(0x8,a[_0x29ff00(0x493)](Rt)),de(0x9,a[_0x29ff00(0x437)](Hi[_0x29ff00(0x1e9)]))],exports['CollaborationSession']);var dn=Object['defineProperty'],fn=Object[_0x29ff00(0x316)],vn=(_0x5aee8c,_0x4ad513,_0x4af432,_0x2db095)=>{for(var _0x48e29e=_0x2db095>0x1?void 0x0:_0x2db095?fn(_0x4ad513,_0x4af432):_0x4ad513,_0x13d8bf=_0x5aee8c['length']-0x1,_0x53fff8;_0x13d8bf>=0x0;_0x13d8bf--)(_0x53fff8=_0x5aee8c[_0x13d8bf])&&(_0x48e29e=(_0x2db095?_0x53fff8(_0x4ad513,_0x4af432,_0x48e29e):_0x53fff8(_0x48e29e))||_0x48e29e);return _0x2db095&&_0x48e29e&&dn(_0x4ad513,_0x4af432,_0x48e29e),_0x48e29e;},pe=(_0x3d2753,_0xc51ae3)=>(_0x180548,_0x2069b5)=>_0xc51ae3(_0x180548,_0x2069b5,_0x3d2753);exports[_0x29ff00(0x5ea)]=class extends a[_0x29ff00(0x331)]{constructor(_0x1b4857,_0x50e375,_0x18415c,_0x33f16f,_0x2a129b,_0x2e8605,_0x4bea1e){const _0x2288fe=_0x29ff00;super(),I(this,'_socket$',new A[(_0x2288fe(0x26c))](void 0x0)),I(this,_0x2288fe(0x39e),this[_0x2288fe(0x337)][_0x2288fe(0x4c6)]()),I(this,'_candidateSocket',null),I(this,'_sessions',new Map()),I(this,_0x2288fe(0x1f8),new A['BehaviorSubject'](se[_0x2288fe(0x281)])),I(this,_0x2288fe(0x405),this['_status$'][_0x2288fe(0x4c6)]()),I(this,_0x2288fe(0x21a),!0x1),I(this,'_retryConnectingTimer'),I(this,_0x2288fe(0x62f),0x0),I(this,_0x2288fe(0x25f)),I(this,_0x2288fe(0x622)),(this[_0x2288fe(0x1c1)]=_0x1b4857,this[_0x2288fe(0x20f)]=_0x50e375,this[_0x2288fe(0x47e)]=_0x18415c,this['_logService']=_0x33f16f,this[_0x2288fe(0x4ea)]=_0x2a129b,this[_0x2288fe(0x292)]=_0x2e8605,this[_0x2288fe(0x620)]=_0x4bea1e,this[_0x2288fe(0x4d5)]());}get['_socket'](){const _0x2cdee6=_0x29ff00;return this[_0x2cdee6(0x337)][_0x2cdee6(0x42e)]();}[_0x29ff00(0x4d5)](){const _0x4ff15f=_0x29ff00;this['_listenToOfflineEvent'](),this[_0x4ff15f(0x32d)]();}[_0x29ff00(0x5e6)](){const _0x3d41c4=_0x29ff00;super[_0x3d41c4(0x5e6)](),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x3a1)](_0x183f82=>_0x183f82[_0x3d41c4(0x5e6)]()),this[_0x3d41c4(0x2b7)][_0x3d41c4(0x641)](),this[_0x3d41c4(0x1f8)][_0x3d41c4(0x22e)]();}async[_0x29ff00(0x429)](_0x5d478d){const _0xe921e8=_0x29ff00;if(this['_sessions']['has'](_0x5d478d))return this[_0xe921e8(0x2b7)][_0xe921e8(0x2ef)](_0x5d478d);this[_0xe921e8(0x513)]();const _0x81c15b=this['_injector']['createInstance'](exports[_0xe921e8(0x679)],_0x5d478d,this[_0xe921e8(0x337)][_0xe921e8(0x4c6)]());return this[_0xe921e8(0x2b7)][_0xe921e8(0x20a)](_0x5d478d,_0x81c15b),_0x81c15b;}[_0x29ff00(0x452)](_0x469f81){const _0x215a09=_0x29ff00;var _0x4be13f;const _0x3a2470=this['_sessions']['get'](_0x469f81);_0x3a2470&&(this['_sessions'][_0x215a09(0x3dc)](_0x469f81),_0x3a2470['close']()),this['_sessions'][_0x215a09(0x62a)]||(_0x4be13f=this[_0x215a09(0x491)])==null||_0x4be13f[_0x215a09(0x499)]();}[_0x29ff00(0x267)](){const _0x339a2a=_0x29ff00;this[_0x339a2a(0x62f)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x339a2a(0x5d2)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x29ff00(0x434)](){const _0x5bba6e=_0x29ff00;var _0x3c75e7,_0x365ebc,_0x838ddb;const _0x35264c=this['_configService']['getConfig'](Q),_0x2ce67e=(_0x3c75e7=_0x35264c==null?void 0x0:_0x35264c[_0x5bba6e(0x27e)])!=null?_0x3c75e7:Gi;return(_0x838ddb=(_0x365ebc=(await this['_httpService'][_0x5bba6e(0x2ef)](_0x2ce67e,{'headers':{'Content-Type':_0x5bba6e(0x2bc)}}))[_0x5bba6e(0x55d)])==null?void 0x0:_0x365ebc[_0x5bba6e(0x352)])!=null?_0x838ddb:'';}['_createSocketURL'](_0x2cb635){const _0x1cc28b=_0x29ff00;var _0x18af17,_0x431eb7;const _0x257cf7=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](si),_0x574027=this[_0x1cc28b(0x4ea)][_0x1cc28b(0x1ea)](Q),_0xe221b8=(_0x431eb7=(_0x18af17=_0x574027==null?void 0x0:_0x574027[_0x1cc28b(0x50b)])!=null?_0x18af17:_0x257cf7)!=null?_0x431eb7:Vi,_0x319a42=new URL(_0xe221b8,window[_0x1cc28b(0x60d)][_0x1cc28b(0x655)]);return _0x319a42[_0x1cc28b(0x570)][_0x1cc28b(0x20a)](_0x1cc28b(0x528),_0x2cb635),_0x319a42['toString']();}async[_0x29ff00(0x3e8)](){const _0x40354a=_0x29ff00,_0x550578=await this['_getSessionTicket'](),_0x5e92e4=this[_0x40354a(0x327)](_0x550578),_0x45bc4f=this[_0x40354a(0x292)]['createSocket'](_0x5e92e4);return this['_candidateSocket']=_0x45bc4f,_0x45bc4f;}async[_0x29ff00(0x513)](){const _0x428971=_0x29ff00;var _0x5b9ad5,_0x38b98f;try{const _0x27484b=(_0x38b98f=(_0x5b9ad5=this[_0x428971(0x491)])!=null?_0x5b9ad5:this['_candidateSocket'])!=null?_0x38b98f:await this[_0x428971(0x3e8)]();if(_0x27484b){const _0x19d51b=_0x27484b[_0x428971(0x385)];_0x27484b[_0x428971(0x385)]=_0x3cfe83=>(this['_rescheduleHeartbeat'](),_0x19d51b[_0x428971(0x567)](_0x27484b,[_0x3cfe83])),_0x27484b['message$'][_0x428971(0x58f)](_0x2bf2e1=>this[_0x428971(0x399)](_0x27484b,_0x2bf2e1)),_0x27484b[_0x428971(0x1c3)][_0x428971(0x619)](V['take'](0x1))[_0x428971(0x58f)](_0x5f360a=>this['_logService'][_0x428971(0x27a)](_0x428971(0x5df),_0x5f360a)),_0x27484b['open$'][_0x428971(0x619)](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](()=>{const _0x3b4e3d=_0x428971;this[_0x3b4e3d(0x5e5)](_0x27484b);}),_0x27484b[_0x428971(0x642)]['pipe'](V[_0x428971(0x3d7)](0x1))[_0x428971(0x58f)](_0x5702d6=>{const _0x112ab9=_0x428971;this['_logService']['debug'](_0x112ab9(0x31d),'socket\x20close',_0x5702d6),this[_0x112ab9(0x614)]();});}}catch(_0x515c40){this[_0x428971(0x328)]['error'](_0x515c40),this[_0x428971(0x614)]();}}[_0x29ff00(0x5e5)](_0xccbcd2){const _0x51c870=_0x29ff00;this[_0x51c870(0x328)][_0x51c870(0x226)](_0x51c870(0x31d),_0x51c870(0x31c)),_0xccbcd2[_0x51c870(0x385)]({'cmd':G[_0x51c870(0x2ad)]}),this[_0x51c870(0x50d)]();}['_listenToOfflineEvent'](){const _0x46e64d=_0x29ff00;window[_0x46e64d(0x246)](_0x46e64d(0x4e0),()=>this[_0x46e64d(0x324)]());}[_0x29ff00(0x324)](){const _0x33d256=_0x29ff00;this[_0x33d256(0x21a)]=!0x1,this[_0x33d256(0x22c)]=null,this['_status$'][_0x33d256(0x49f)](se[_0x33d256(0x548)]),this[_0x33d256(0x337)][_0x33d256(0x49f)](null),this[_0x33d256(0x1b6)](),this['_clearHeartbeatTimer']();}[_0x29ff00(0x614)](){const _0x1e57dd=_0x29ff00;var _0x86cb2e;this[_0x1e57dd(0x324)](),this[_0x1e57dd(0x62f)]<((_0x86cb2e=this['_configService'][_0x1e57dd(0x1ea)](ai))!=null?_0x86cb2e:qi)?(this[_0x1e57dd(0x47e)][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x390)],'content':this[_0x1e57dd(0x20f)]['t'](_0x1e57dd(0x443))}),this[_0x1e57dd(0x1c9)]()):this['_messageService'][_0x1e57dd(0x318)]({'key':_0x1e57dd(0x589),'type':Ce['MessageType'][_0x1e57dd(0x341)],'content':this['_localeService']['t'](_0x1e57dd(0x5b5))});}[_0x29ff00(0x32d)](){const _0x593243=_0x29ff00,_0x3adfbb=()=>{const _0x580388=_0x2f26;this[_0x580388(0x491)]||this[_0x580388(0x267)]();},_0x47d19b=()=>{const _0x36a2cc=_0x2f26;this['_socket']||document['visibilityState']===_0x36a2cc(0x30e)||this[_0x36a2cc(0x267)]();};window[_0x593243(0x246)](_0x593243(0x436),_0x3adfbb),document[_0x593243(0x246)](_0x593243(0x371),_0x47d19b);}['_tryReconnect'](){const _0x358106=_0x29ff00;var _0x31d9f6;const _0x5d33db=this[_0x358106(0x62f)],_0x227765=this[_0x358106(0x4ea)]['getConfig'](Q),_0x398337=_0x5d33db===0x0?0x0:((_0x31d9f6=_0x227765==null?void 0x0:_0x227765['retryConnectingInterval'])!=null?_0x31d9f6:Ki)*0x2**_0x5d33db;this['_retryConnectingTimer']=window[_0x358106(0x34a)](()=>{const _0x1f075d=_0x358106;clearTimeout(this[_0x1f075d(0x5d2)]),this[_0x1f075d(0x5d2)]=null,this[_0x1f075d(0x513)]();},_0x398337),this['_retryCount']+=0x1;}[_0x29ff00(0x399)](_0x3547ab,_0x5c7833){const _0x208a38=_0x29ff00,{cmd:_0x441177}=_0x5c7833;_0x441177===G['HELLO']&&!this[_0x208a38(0x21a)]&&(_0x3547ab[_0x208a38(0x35e)]=_0x5c7833[_0x208a38(0x3eb)][_0x208a38(0x35e)],this[_0x208a38(0x337)][_0x208a38(0x49f)](_0x3547ab),this[_0x208a38(0x1f8)]['next'](se[_0x208a38(0x572)]),this[_0x208a38(0x21a)]=!0x0,this[_0x208a38(0x22c)]=null),_0x441177===G[_0x208a38(0x5c6)]&&this[_0x208a38(0x1b6)](),this[_0x208a38(0x50d)]();}[_0x29ff00(0x50d)](){const _0x3b8240=_0x29ff00;var _0x4e1d88;this[_0x3b8240(0x1e6)](),this[_0x3b8240(0x25f)]=window[_0x3b8240(0x34a)](()=>this[_0x3b8240(0x422)](),(_0x4e1d88=this[_0x3b8240(0x4ea)][_0x3b8240(0x1ea)](ri))!=null?_0x4e1d88:Yi);}['_sendHeartbeat'](){const _0x2ae410=_0x29ff00;this[_0x2ae410(0x491)][_0x2ae410(0x385)]({'cmd':G['HEARTBEAT']}),this[_0x2ae410(0x3bf)]();}[_0x29ff00(0x3bf)](){const _0x96acf8=_0x29ff00;var _0x22b010;this[_0x96acf8(0x622)]=window[_0x96acf8(0x34a)](()=>this[_0x96acf8(0x614)](),(_0x22b010=this[_0x96acf8(0x4ea)][_0x96acf8(0x1ea)](Et))!=null?_0x22b010:oi);}['_clearHeartbeatTimer'](){const _0x204035=_0x29ff00;this[_0x204035(0x25f)]!=null&&(clearTimeout(this[_0x204035(0x25f)]),this[_0x204035(0x25f)]=null);}[_0x29ff00(0x1b6)](){const _0x5eaad4=_0x29ff00;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5eaad4(0x622)]),this[_0x5eaad4(0x622)]=null);}},exports['CollaborationSessionService']=vn([pe(0x0,a['Inject'](a[_0x29ff00(0x615)])),pe(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),pe(0x2,te[_0x29ff00(0x47f)]),pe(0x3,a[_0x29ff00(0x4ac)]),pe(0x4,a[_0x29ff00(0x64d)]),pe(0x5,Tt),pe(0x6,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x5ea)]);const Y=[];for(let s=0x0;s<0x100;++s)Y[_0x29ff00(0x3bc)]((s+0x100)[_0x29ff00(0x3ef)](0x10)[_0x29ff00(0x3bb)](0x1));function Sn(_0x45d725,_0x4b54aa=0x0){return(Y[_0x45d725[_0x4b54aa+0x0]]+Y[_0x45d725[_0x4b54aa+0x1]]+Y[_0x45d725[_0x4b54aa+0x2]]+Y[_0x45d725[_0x4b54aa+0x3]]+'-'+Y[_0x45d725[_0x4b54aa+0x4]]+Y[_0x45d725[_0x4b54aa+0x5]]+'-'+Y[_0x45d725[_0x4b54aa+0x6]]+Y[_0x45d725[_0x4b54aa+0x7]]+'-'+Y[_0x45d725[_0x4b54aa+0x8]]+Y[_0x45d725[_0x4b54aa+0x9]]+'-'+Y[_0x45d725[_0x4b54aa+0xa]]+Y[_0x45d725[_0x4b54aa+0xb]]+Y[_0x45d725[_0x4b54aa+0xc]]+Y[_0x45d725[_0x4b54aa+0xd]]+Y[_0x45d725[_0x4b54aa+0xe]]+Y[_0x45d725[_0x4b54aa+0xf]])['toLowerCase']();}let Ze;const pn=new Uint8Array(0x10);function mn(){const _0xbe7b43=_0x29ff00;if(!Ze){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0xbe7b43(0x2e7));Ze=crypto['getRandomValues'][_0xbe7b43(0x4da)](crypto);}return Ze(pn);}const gn=typeof crypto<'u'&&crypto[_0x29ff00(0x540)]&&crypto[_0x29ff00(0x540)][_0x29ff00(0x4da)](crypto),Nt={'randomUUID':gn};function In(_0x366a00,_0x4ccf8b,_0x596d03){const _0x5ad740=_0x29ff00;if(Nt[_0x5ad740(0x540)]&&!_0x4ccf8b&&!_0x366a00)return Nt[_0x5ad740(0x540)]();_0x366a00=_0x366a00||{};const _0x1e7084=_0x366a00[_0x5ad740(0x581)]||(_0x366a00[_0x5ad740(0x5ff)]||mn)();return _0x1e7084[0x6]=_0x1e7084[0x6]&0xf|0x40,_0x1e7084[0x8]=_0x1e7084[0x8]&0x3f|0x80,Sn(_0x1e7084);}var Cn=Object['defineProperty'],En=Object[_0x29ff00(0x316)],bn=(_0x4093bf,_0x4e4a52,_0x364531,_0x3f95f3)=>{const _0x1d0b5d=_0x29ff00;for(var _0x263812=_0x3f95f3>0x1?void 0x0:_0x3f95f3?En(_0x4e4a52,_0x364531):_0x4e4a52,_0xa4a62=_0x4093bf[_0x1d0b5d(0x5e7)]-0x1,_0x15b905;_0xa4a62>=0x0;_0xa4a62--)(_0x15b905=_0x4093bf[_0xa4a62])&&(_0x263812=(_0x3f95f3?_0x15b905(_0x4e4a52,_0x364531,_0x263812):_0x15b905(_0x263812))||_0x263812);return _0x3f95f3&&_0x263812&&Cn(_0x4e4a52,_0x364531,_0x263812),_0x263812;},Qe=(_0x1fa657,_0x51b8ff)=>(_0x44c807,_0x29ea4e)=>_0x51b8ff(_0x44c807,_0x29ea4e,_0x1fa657);let Be=class{constructor(_0x2e6edf,_0x9d7171,_0x3baa1a){const _0x2171c7=_0x29ff00;this[_0x2171c7(0x1c1)]=_0x2e6edf,this[_0x2171c7(0x449)]=_0x9d7171,this[_0x2171c7(0x4bc)]=_0x3baa1a;}[_0x29ff00(0x350)](_0x309981){const _0x5d4e85=_0x29ff00;this[_0x5d4e85(0x273)](_0x309981),this[_0x5d4e85(0x469)](_0x309981);}['transformRemoteChangeset'](_0x69e750){const _0x52d778=_0x29ff00,{unitID:_0x2295a1}=_0x69e750,_0xa657b1=this[_0x52d778(0x4bc)][_0x52d778(0x40c)](_0x2295a1)[_0x52d778(0x314)](J[_0x52d778(0x320)]),{redoCache:_0x3ab822}=_0xa657b1[_0x52d778(0x1fc)]();if(_0x3ab822[_0x52d778(0x5e7)]===0x0)return _0x69e750;let _0x42b173=a[_0x52d778(0x302)]['deepClone'](_0x69e750['mutations'][0x0]);for(let _0x527c08=0x0;_0x527c08<_0x3ab822[_0x52d778(0x5e7)];_0x527c08++){const _0x13e910={'id':_0x52d778(0x356),'params':{..._0x3ab822[_0x527c08]}},_0x2d62a8=this[_0x52d778(0x449)][_0x52d778(0x43c)](_0x42b173,_0x13e910,!0x1);if(p[_0x52d778(0x4b4)](_0x2d62a8))throw _0x2d62a8[_0x52d778(0x27a)];_0x42b173=_0x2d62a8[_0x52d778(0x475)];}return{...a[_0x52d778(0x302)][_0x52d778(0x64e)](_0x69e750),'mutations':[_0x42b173]};}[_0x29ff00(0x273)](_0x1943bb){const _0x1a5d2d=_0x29ff00,{unitID:_0x2640c7}=_0x1943bb,_0x17aa59=this[_0x1a5d2d(0x4bc)]['getRenderById'](_0x2640c7)[_0x1a5d2d(0x314)](J[_0x1a5d2d(0x320)]),{undoCache:_0x56cd42,redoCache:_0x2d2eb4}=_0x17aa59[_0x1a5d2d(0x1fc)]();if(_0x56cd42[_0x1a5d2d(0x5e7)]===0x0||_0x2d2eb4['length']===0x0)return;const _0xeda61e=[],_0x180734=[];let _0xf77d9d=a[_0x1a5d2d(0x302)][_0x1a5d2d(0x64e)](_0x1943bb[_0x1a5d2d(0x219)][0x0]),_0x51c98d=a['Tools'][_0x1a5d2d(0x64e)](_0x1943bb['mutations'][0x0]);for(let _0x2b0943=_0x56cd42[_0x1a5d2d(0x5e7)]-0x1;_0x2b0943>=0x0;_0x2b0943--){const _0x5274fc={'id':'doc.mutation.rich-text-editing','params':{..._0x56cd42[_0x2b0943]}},_0x346fd6={'id':_0x1a5d2d(0x356),'params':{..._0x2d2eb4[_0x2b0943]}},_0x483e33=this[_0x1a5d2d(0x449)][_0x1a5d2d(0x43c)](_0xf77d9d,_0x5274fc,!0x1),_0x64f0c6=this[_0x1a5d2d(0x449)]['transformMutation'](_0x51c98d,_0x346fd6,!0x1);if(p[_0x1a5d2d(0x4b4)](_0x483e33))throw _0x483e33[_0x1a5d2d(0x27a)];if(p['isTransformMutationFailure'](_0x64f0c6))throw _0x64f0c6[_0x1a5d2d(0x27a)];_0xeda61e['unshift'](_0x483e33['m2Prime'][_0x1a5d2d(0x447)]),_0x180734[_0x1a5d2d(0x24b)](_0x64f0c6[_0x1a5d2d(0x239)]['params']),_0xf77d9d=_0x483e33[_0x1a5d2d(0x475)],_0x51c98d=_0x64f0c6[_0x1a5d2d(0x475)];}_0x17aa59[_0x1a5d2d(0x38a)]({'undoCache':_0xeda61e,'redoCache':_0x180734});}[_0x29ff00(0x469)](_0x5122c9){const _0x14379e=_0x29ff00,{unitID:_0x1f16af}=_0x5122c9,_0x18d308=this['_renderManagerService']['getRenderById'](_0x1f16af)[_0x14379e(0x314)](J[_0x14379e(0x320)]),_0x2991fe=_0x18d308[_0x14379e(0x32b)]();if(_0x2991fe==null)return;const _0x8eeca7=[{'id':_0x14379e(0x356),'params':{'unitId':_0x5122c9['unitID'],'actions':null,'textRanges':[_0x2991fe]}}],_0x444d11=this[_0x14379e(0x449)][_0x14379e(0x268)](_0x5122c9,_0x8eeca7);if(!p['isTransformMutationsWithChangesetSuccess'](_0x444d11))throw _0x444d11[_0x14379e(0x27a)];const _0x483af9=_0x444d11[_0x14379e(0x239)][0x0][_0x14379e(0x447)][_0x14379e(0x49e)];Array[_0x14379e(0x400)](_0x483af9)&&_0x483af9[_0x14379e(0x5e7)]&&_0x18d308[_0x14379e(0x393)](_0x483af9[0x0]);}};Be=bn([Qe(0x0,a[_0x29ff00(0x493)](a['Injector'])),Qe(0x1,p[_0x29ff00(0x38f)]),Qe(0x2,K[_0x29ff00(0x5b7)])],Be);var Tn=Object[_0x29ff00(0x64a)],Rn=Object[_0x29ff00(0x316)],yn=(_0xd576ab,_0x397981,_0x31cd4b,_0x3449bd)=>{const _0x42ccc0=_0x29ff00;for(var _0x12630f=_0x3449bd>0x1?void 0x0:_0x3449bd?Rn(_0x397981,_0x31cd4b):_0x397981,_0x5daa2c=_0xd576ab[_0x42ccc0(0x5e7)]-0x1,_0x43faeb;_0x5daa2c>=0x0;_0x5daa2c--)(_0x43faeb=_0xd576ab[_0x5daa2c])&&(_0x12630f=(_0x3449bd?_0x43faeb(_0x397981,_0x31cd4b,_0x12630f):_0x43faeb(_0x12630f))||_0x12630f);return _0x3449bd&&_0x12630f&&Tn(_0x397981,_0x31cd4b,_0x12630f),_0x12630f;},we=(_0x3b30af,_0x305e30)=>(_0x4d6aea,_0x27dff5)=>_0x305e30(_0x4d6aea,_0x27dff5,_0x3b30af);exports[_0x29ff00(0x46a)]=class extends a[_0x29ff00(0x331)]{constructor(_0xf891fb,_0x13de26,_0xda5b12,_0x2f6290,_0x576c91){const _0x5cba76=_0x29ff00;super(),I(this,_0x5cba76(0x656),new Map()),I(this,_0x5cba76(0x233),new Map()),I(this,'_disabled',!0x1),(this['_configService']=_0xf891fb,this['_localStorageService']=_0x13de26,this[_0x5cba76(0x1c0)]=_0xda5b12,this['_localeService']=_0x2f6290,this[_0x5cba76(0x2a8)]=_0x576c91,this[_0x5cba76(0x637)]());}[_0x29ff00(0x2d9)](){const _0x4c117c=_0x29ff00;this[_0x4c117c(0x1f2)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x29ff00(0x5e6)](){const _0x125a45=_0x29ff00;this[_0x125a45(0x312)]()['then'](()=>super[_0x125a45(0x5e6)]());}async[_0x29ff00(0x26d)](_0x26e995){const _0x102fee=_0x29ff00;return this[_0x102fee(0x1f2)]?null:this[_0x102fee(0x254)][_0x102fee(0x62e)](Lt(_0x26e995));}async[_0x29ff00(0x5c2)](_0x5b80ce,_0x251968){const _0x4a2737=_0x29ff00;return!!this[_0x4a2737(0x254)][_0x4a2737(0x28e)](_0x5b80ce,_0x251968);}['updateOfflineData'](_0x2411d4,_0x4da575,_0x2ba78c,_0x501a90){const _0x5f5c9c=_0x29ff00,_0x4cc35a=this[_0x5f5c9c(0x2a8)][_0x5f5c9c(0x309)](_0x2411d4);this[_0x5f5c9c(0x656)][_0x5f5c9c(0x20a)](_0x2411d4,{'unitID':_0x2411d4,'type':_0x4da575,'awaitingChangeset':_0x2ba78c,'mutations':_0x501a90,'rev':_0x4cc35a}),this['_saveTaskMap'][_0x5f5c9c(0x38d)](_0x2411d4)||this[_0x5f5c9c(0x5a5)](_0x2411d4);}[_0x29ff00(0x5a5)](_0x172202){const _0x447864=_0x29ff00,_0x5e1bd3=this[_0x447864(0x5f7)]();_0x5e1bd3===0x0?this[_0x447864(0x25a)](_0x172202):this['_saveTaskMap'][_0x447864(0x20a)](_0x172202,setTimeout(()=>this[_0x447864(0x25a)](_0x172202),_0x5e1bd3));}[_0x29ff00(0x5f7)](){const _0x52c798=_0x29ff00;var _0x47672d;return(_0x47672d=this[_0x52c798(0x4ea)][_0x52c798(0x1ea)](ci))!=null?_0x47672d:zi;}[_0x29ff00(0x25a)](_0x2efd93){const _0x4c1407=_0x29ff00,_0x3662e8=this[_0x4c1407(0x233)][_0x4c1407(0x2ef)](_0x2efd93);return _0x3662e8!==void 0x0&&window[_0x4c1407(0x453)](_0x3662e8),this['_localStorageService'][_0x4c1407(0x28e)](Lt(_0x2efd93),this[_0x4c1407(0x656)][_0x4c1407(0x2ef)](_0x2efd93))[_0x4c1407(0x5bf)](()=>this[_0x4c1407(0x233)][_0x4c1407(0x3dc)](_0x2efd93));}async[_0x29ff00(0x312)](){const _0x1a870d=_0x29ff00,_0x1c9cf8=[];this[_0x1a870d(0x233)][_0x1a870d(0x3a1)]((_0xfbc44d,_0x1cea38)=>{const _0x3d971f=_0x1a870d;window['clearTimeout'](_0xfbc44d),_0x1c9cf8[_0x3d971f(0x3bc)](this['_saveCache'](_0x1cea38)[_0x3d971f(0x5bf)](()=>{const _0x337ceb=_0x3d971f;this[_0x337ceb(0x233)][_0x337ceb(0x3dc)](_0x1cea38);}));}),await Promise[_0x1a870d(0x307)](_0x1c9cf8);}[_0x29ff00(0x637)](){const _0x3c28c8=_0x29ff00;this[_0x3c28c8(0x665)](this['_beforeCloseService'][_0x3c28c8(0x3f9)](()=>{const _0x4c6727=_0x3c28c8;if(this[_0x4c6727(0x233)][_0x4c6727(0x62a)])return this[_0x4c6727(0x20f)]['t'](_0x4c6727(0x3ac));}));}},exports[_0x29ff00(0x46a)]=yn([we(0x0,a[_0x29ff00(0x64d)]),we(0x1,a[_0x29ff00(0x43a)]),we(0x2,te[_0x29ff00(0x670)]),we(0x3,a[_0x29ff00(0x493)](a['LocaleService'])),we(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)]))],exports[_0x29ff00(0x46a)]);function Lt(_0x1f8859){const _0x20cb22=_0x29ff00;return _0x20cb22(0x43f)+_0x1f8859;}var On=Object[_0x29ff00(0x64a)],Dn=Object[_0x29ff00(0x316)],Pn=(_0x290510,_0x5bdc46,_0x527a49,_0x3a30cf)=>{for(var _0x13f376=_0x3a30cf>0x1?void 0x0:_0x3a30cf?Dn(_0x5bdc46,_0x527a49):_0x5bdc46,_0x1953f6=_0x290510['length']-0x1,_0x4e8705;_0x1953f6>=0x0;_0x1953f6--)(_0x4e8705=_0x290510[_0x1953f6])&&(_0x13f376=(_0x3a30cf?_0x4e8705(_0x5bdc46,_0x527a49,_0x13f376):_0x4e8705(_0x13f376))||_0x13f376);return _0x3a30cf&&_0x13f376&&On(_0x5bdc46,_0x527a49,_0x13f376),_0x13f376;},et=(_0x4776bf,_0x50d005)=>(_0x531141,_0x1a1ba6)=>_0x50d005(_0x531141,_0x1a1ba6,_0x4776bf);function wn(_0x4c1c6a){const {unitID:_0x2e6953,mutations:_0x543334}=_0x4c1c6a;return{'unitId':_0x2e6953,'subUnitId':_0x543334[0x0]['params']['subUnitId']};}let ke=class{constructor(_0x5857dc,_0x27485d,_0x16c2d7){const _0x21c029=_0x29ff00;this[_0x21c029(0x1c1)]=_0x5857dc,this[_0x21c029(0x449)]=_0x27485d,this[_0x21c029(0x4a1)]=_0x16c2d7;}[_0x29ff00(0x2c1)](_0x41ff13){const _0x3fea0e=_0x29ff00;var _0x100d03,_0x5e9b70,_0x1ffcb1,_0x592413;const _0x469e7f=this[_0x3fea0e(0x1c1)][_0x3fea0e(0x2ef)](k[_0x3fea0e(0x210)]),{unitId:_0x18d056,subUnitId:_0x2b88c9}=wn(_0x41ff13),_0x301c97=_0x469e7f['getWorkbookSelections'](_0x18d056)[_0x3fea0e(0x5d6)](),_0x3a0bc7=(_0x5e9b70=(_0x100d03=this['_instanceService'][_0x3fea0e(0x3ad)](_0x18d056))==null?void 0x0:_0x100d03[_0x3fea0e(0x42c)]())==null?void 0x0:_0x5e9b70[_0x3fea0e(0x360)]();if(_0x301c97[_0x3fea0e(0x5e7)]===0x0||!_0x18d056||!_0x2b88c9)return;const _0x35de81=[{'id':k[_0x3fea0e(0x23f)]['id'],'params':{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':a[_0x3fea0e(0x302)][_0x3fea0e(0x64e)](_0x301c97)}}],_0x2f6447=this['_transformService'][_0x3fea0e(0x268)](_0x41ff13,_0x35de81);if(!p['isTransformMutationsWithChangesetSuccess'](_0x2f6447))throw _0x2f6447['error'];const _0x11955a=(_0x592413=(_0x1ffcb1=_0x2f6447['m2Prime'][0x0])==null?void 0x0:_0x1ffcb1[_0x3fea0e(0x447)])==null?void 0x0:_0x592413[_0x3fea0e(0x338)];if(Array[_0x3fea0e(0x400)](_0x11955a)&&_0x11955a[_0x3fea0e(0x5e7)]){if(_0x11955a[_0x3fea0e(0x5e7)]===_0x35de81[0x0][_0x3fea0e(0x447)][_0x3fea0e(0x338)][_0x3fea0e(0x5e7)]&&_0x11955a[_0x3fea0e(0x332)]((_0x36400f,_0x16bacb)=>a[_0x3fea0e(0x5a6)]['equals'](_0x36400f[_0x3fea0e(0x3ff)],_0x35de81[0x0]['params']['selections'][_0x16bacb][_0x3fea0e(0x3ff)])))return;this['_injector'][_0x3fea0e(0x2ef)](a[_0x3fea0e(0x587)])['executeCommand'](k[_0x3fea0e(0x23f)]['id'],{'unitId':_0x18d056,'subUnitId':_0x3a0bc7,'selections':_0x11955a});}}};ke=Pn([et(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),et(0x1,p[_0x29ff00(0x38f)]),et(0x2,a[_0x29ff00(0x37f)])],ke);const ze=a['createIdentifier'](_0x29ff00(0x230));var vi=(_0x39fef5=>(_0x39fef5[_0x39fef5['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x29ff00(0x27d),_0x39fef5[_0x39fef5['OTHER_CLIENTS_EDITING']=0x1]=_0x29ff00(0x574),_0x39fef5))(vi||{});const xt=0x7530,jt='ACTIVE_UNIT_EVENT_CHANNEL';class Un extends a['Disposable']{constructor(){const _0x119cb6=_0x29ff00;super(),I(this,_0x119cb6(0x1e1),a['Tools'][_0x119cb6(0x512)]()),I(this,_0x119cb6(0x4d7),new Set()),I(this,_0x119cb6(0x57c),new Map()),I(this,_0x119cb6(0x3ba),null),I(this,'_clearOtherTimers',new Map()),I(this,_0x119cb6(0x5fc),new Map()),this['_init']();}[_0x29ff00(0x5e6)](){const _0x508635=_0x29ff00;super[_0x508635(0x5e6)](),this[_0x508635(0x66c)]['forEach']((_0x58f607,_0x3d1557)=>this[_0x508635(0x209)](_0x3d1557)),this[_0x508635(0x3ba)]&&window[_0x508635(0x634)](this[_0x508635(0x3ba)]);}[_0x29ff00(0x1ff)](_0x36b855){const _0xbba253=_0x29ff00;return this[_0xbba253(0x4a9)](_0x36b855)[_0xbba253(0x619)](A[_0xbba253(0x484)]());}[_0x29ff00(0x607)](_0x51afed){const _0x10754d=_0x29ff00;this[_0x10754d(0x4d7)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x10754d(0x4d7)]['add'](_0x51afed),this[_0x10754d(0x2aa)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x51afed],'isForwarded':!0x1});}[_0x29ff00(0x270)](_0x13c5cf){const _0x542361=_0x29ff00;this[_0x542361(0x4d7)][_0x542361(0x3dc)](_0x13c5cf),this['_selfUnitIDs'][_0x542361(0x62a)]===0x0&&this[_0x542361(0x3ba)]&&window[_0x542361(0x634)](this[_0x542361(0x3ba)]);}['_init'](){const _0xffb28a=_0x29ff00;this[_0xffb28a(0x665)](a[_0xffb28a(0x372)](A[_0xffb28a(0x61c)](window,'storage')[_0xffb28a(0x58f)](_0x57b045=>{const _0x54f6a1=_0xffb28a;if(_0x57b045[_0x54f6a1(0x425)]!==jt||!_0x57b045[_0x54f6a1(0x67e)])return;const _0x1f9798=JSON[_0x54f6a1(0x1c4)](_0x57b045[_0x54f6a1(0x67e)]);this[_0x54f6a1(0x1c2)](_0x1f9798);}))),window[_0xffb28a(0x246)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xffb28a(0x4e3)](this[_0xffb28a(0x4d7)])}));}[_0x29ff00(0x1c2)](_0x2a0aa1){const _0x3705dd=_0x29ff00;switch(_0x2a0aa1[_0x3705dd(0x2eb)]){case 0x0:this['_handleJoinEvent'](_0x2a0aa1);break;case 0x1:this[_0x3705dd(0x4d4)](_0x2a0aa1);break;case 0x2:this[_0x3705dd(0x457)](_0x2a0aa1);break;}}['_handleJoinEvent'](_0x72f7a0){const {unitIDs:_0x7b4deb,memberID:_0x23ec5e,isForwarded:_0x27dd86}=_0x72f7a0;_0x7b4deb['forEach'](_0x9a5603=>{const _0x23cb52=_0x2f26;if(!_0x27dd86&&this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)&&this[_0x23cb52(0x4a9)](_0x9a5603)['next'](0x1),!this[_0x23cb52(0x57c)][_0x23cb52(0x38d)](_0x9a5603)||!this[_0x23cb52(0x57c)][_0x23cb52(0x2ef)](_0x9a5603)[_0x23cb52(0x38d)](_0x23ec5e)){const _0x5c0d34=this['_unitOnClients'][_0x23cb52(0x2ef)](_0x9a5603)||new Set();_0x5c0d34['add'](_0x23ec5e),this[_0x23cb52(0x57c)][_0x23cb52(0x20a)](_0x9a5603,_0x5c0d34),this['_scheduleClearOtherTimer'](_0x23ec5e);}}),_0x27dd86||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x29ff00(0x24d)](_0x1fd227){const _0x17f71f=_0x29ff00;this[_0x17f71f(0x209)](_0x1fd227);const _0x5ebdf7=window[_0x17f71f(0x34a)](()=>{const _0x56cdef=_0x17f71f;this[_0x56cdef(0x57c)][_0x56cdef(0x3a1)](_0x15e089=>{const _0x245477=_0x56cdef;_0x15e089[_0x245477(0x3dc)](_0x1fd227);});},xt*0x2);this['_clearOtherTimers'][_0x17f71f(0x20a)](_0x1fd227,_0x5ebdf7);}[_0x29ff00(0x209)](_0x3fd807){const _0x4aeef9=_0x29ff00;if(this[_0x4aeef9(0x66c)][_0x4aeef9(0x38d)](_0x3fd807)){const _0x2a4d7e=this[_0x4aeef9(0x66c)][_0x4aeef9(0x2ef)](_0x3fd807);_0x2a4d7e&&window[_0x4aeef9(0x453)](_0x2a4d7e),this[_0x4aeef9(0x66c)][_0x4aeef9(0x20a)](_0x3fd807,null);}}[_0x29ff00(0x4d4)](_0x5d91e7){const _0x20ae62=_0x29ff00,{memberID:_0x1239ab,unitIDs:_0x110a81}=_0x5d91e7;_0x110a81[_0x20ae62(0x3a1)](_0x117d90=>{const _0x21cb8d=_0x20ae62;var _0x43429b;const _0x4fde8d=this['_unitOnClients'][_0x21cb8d(0x2ef)](_0x117d90);_0x4fde8d&&(_0x4fde8d[_0x21cb8d(0x3dc)](_0x1239ab),(_0x43429b=this['_ensureSubject'](_0x117d90))==null||_0x43429b[_0x21cb8d(0x49f)](_0x4fde8d[_0x21cb8d(0x62a)]===0x0?0x0:0x1));}),this[_0x20ae62(0x209)](_0x1239ab);}['_handleHeartbeatEvent'](_0x4adb85){const _0x3a106b=_0x29ff00;this[_0x3a106b(0x24d)](_0x4adb85[_0x3a106b(0x35e)]);}[_0x29ff00(0x2aa)](_0x4e96df){const _0x4f16a1=_0x29ff00;localStorage[_0x4f16a1(0x28e)](jt,JSON[_0x4f16a1(0x65e)](_0x4e96df));}[_0x29ff00(0x610)](){const _0x4f5d35=_0x29ff00;this[_0x4f5d35(0x3ba)]=window[_0x4f5d35(0x2de)](()=>{const _0x49f8ab=_0x4f5d35;this[_0x49f8ab(0x2aa)]({'type':0x2,'memberID':this[_0x49f8ab(0x1e1)]});},xt);}['_ensureSubject'](_0x43b522){const _0x3f99a5=_0x29ff00;return this['_unitStatus']['has'](_0x43b522)||this['_unitStatus'][_0x3f99a5(0x20a)](_0x43b522,new A[(_0x3f99a5(0x26c))](0x0)),this[_0x3f99a5(0x5fc)][_0x3f99a5(0x2ef)](_0x43b522);}}var Mn=Object[_0x29ff00(0x64a)],An=Object['getOwnPropertyDescriptor'],Nn=(_0x411315,_0x2ef8d2,_0x3d5b05,_0x3b8c67)=>{const _0x4711b1=_0x29ff00;for(var _0x23c6a0=_0x3b8c67>0x1?void 0x0:_0x3b8c67?An(_0x2ef8d2,_0x3d5b05):_0x2ef8d2,_0x33c498=_0x411315[_0x4711b1(0x5e7)]-0x1,_0x85cd2f;_0x33c498>=0x0;_0x33c498--)(_0x85cd2f=_0x411315[_0x33c498])&&(_0x23c6a0=(_0x3b8c67?_0x85cd2f(_0x2ef8d2,_0x3d5b05,_0x23c6a0):_0x85cd2f(_0x23c6a0))||_0x23c6a0);return _0x3b8c67&&_0x23c6a0&&Mn(_0x2ef8d2,_0x3d5b05,_0x23c6a0),_0x23c6a0;},tt=(_0x54ed15,_0x5c6552)=>(_0x1bc32a,_0x2736e1)=>_0x5c6552(_0x1bc32a,_0x2736e1,_0x54ed15);let We=class{constructor(_0x413ab4,_0x1d58c9,_0x206033){const _0x4f71f7=_0x29ff00;this['_injector']=_0x413ab4,this[_0x4f71f7(0x449)]=_0x1d58c9,this[_0x4f71f7(0x1cc)]=_0x206033;}['transformStateCache'](_0x9782c6){const _0x21a298=_0x29ff00;this[_0x21a298(0x4b6)](_0x9782c6);}[_0x29ff00(0x5ef)](_0x307627){const _0x4412b5=_0x29ff00,{unitID:_0x32f9f9}=_0x307627,{collaboration:_0x467b9d}=this[_0x4412b5(0x1cc)][_0x4412b5(0x66f)](_0x32f9f9);if(_0x467b9d['length']===0x0)return _0x307627;let _0x16d714=a[_0x4412b5(0x302)]['deepClone'](_0x307627['mutations'][0x0]);for(let _0x38d82c=0x0;_0x38d82c<_0x467b9d[_0x4412b5(0x5e7)];_0x38d82c++){const _0x2d5d54={'id':_0x4412b5(0x356),'params':{'unitId':_0x467b9d[_0x38d82c]['unitId'],..._0x467b9d[_0x38d82c][_0x4412b5(0x44f)]}},_0x290b5f=this[_0x4412b5(0x449)][_0x4412b5(0x43c)](_0x16d714,_0x2d5d54,!0x1);if(p[_0x4412b5(0x4b4)](_0x290b5f))throw _0x290b5f[_0x4412b5(0x27a)];_0x16d714=_0x290b5f[_0x4412b5(0x475)];}return{...a['Tools']['deepClone'](_0x307627),'mutations':[_0x16d714]};}[_0x29ff00(0x4b6)](_0xf20c1b){const _0x41359a=_0x29ff00,{unitID:_0x3147b4}=_0xf20c1b,{history:_0x2db7f4,collaboration:_0xc93e56}=this[_0x41359a(0x1cc)][_0x41359a(0x66f)](_0x3147b4);if(_0x2db7f4[_0x41359a(0x5e7)]===0x0&&_0xc93e56['length']===0x0)return;const _0x54b3cc=[],_0x177771=[];let _0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x12c113=_0x2db7f4[_0x41359a(0x5e7)]-0x1;_0x12c113>=0x0;_0x12c113--){const _0x2d940a={'id':_0x41359a(0x356),'params':{'unitId':_0x2db7f4[_0x12c113]['unitId'],..._0x2db7f4[_0x12c113][_0x41359a(0x1c8)]}},_0x23053a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2db7f4[_0x12c113][_0x41359a(0x21b)],..._0x2db7f4[_0x12c113][_0x41359a(0x44f)]}},_0x37eadf=this[_0x41359a(0x449)]['transformMutation'](_0x2d4dc2,_0x2d940a,!0x1),_0x57c1c8=this['_transformService'][_0x41359a(0x43c)](_0x1fa874,_0x23053a,!0x1);if(p[_0x41359a(0x4b4)](_0x37eadf))throw _0x37eadf[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x57c1c8))throw _0x57c1c8[_0x41359a(0x27a)];_0x54b3cc['unshift']({..._0x2db7f4[_0x12c113],'undoState':_0x37eadf[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x57c1c8[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x37eadf[_0x41359a(0x475)],_0x1fa874=_0x57c1c8[_0x41359a(0x475)];}_0x2d4dc2=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]),_0x1fa874=a[_0x41359a(0x302)][_0x41359a(0x64e)](_0xf20c1b[_0x41359a(0x219)][0x0]);for(let _0x4cd462=_0xc93e56['length']-0x1;_0x4cd462>=0x0;_0x4cd462--){const _0x5d6715={'id':_0x41359a(0x356),'params':{'unitId':_0xc93e56[_0x4cd462]['unitId'],..._0xc93e56[_0x4cd462]['undoState']}},_0x44078b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc93e56[_0x4cd462][_0x41359a(0x21b)],..._0xc93e56[_0x4cd462][_0x41359a(0x44f)]}},_0x1d085e=this['_transformService']['transformMutation'](_0x2d4dc2,_0x5d6715,!0x1),_0x3a0f89=this[_0x41359a(0x449)]['transformMutation'](_0x1fa874,_0x44078b,!0x1);if(p[_0x41359a(0x4b4)](_0x1d085e))throw _0x1d085e[_0x41359a(0x27a)];if(p[_0x41359a(0x4b4)](_0x3a0f89))throw _0x3a0f89[_0x41359a(0x27a)];_0x177771['unshift']({..._0xc93e56[_0x4cd462],'undoState':_0x1d085e[_0x41359a(0x239)][_0x41359a(0x447)],'redoState':_0x3a0f89[_0x41359a(0x239)][_0x41359a(0x447)]}),_0x2d4dc2=_0x1d085e[_0x41359a(0x475)],_0x1fa874=_0x3a0f89['m1Prime'];}this[_0x41359a(0x1cc)][_0x41359a(0x293)](_0x3147b4,{'history':_0x54b3cc,'collaboration':_0x177771});}};We=Nn([tt(0x0,a[_0x29ff00(0x493)](a['Injector'])),tt(0x1,p[_0x29ff00(0x38f)]),tt(0x2,a[_0x29ff00(0x493)](J[_0x29ff00(0x243)]))],We);function Si(_0x687f72){const _0x540f97=_0x29ff00;let _0x304a70='';for(const _0x1c4447 of _0x687f72){const {startOffset:_0x87ac30,endOffset:_0x3f7392,isActive:_0xfff450,rangeType:_0x2e1de2,segmentId:_0x3e568a,segmentPage:_0x399eb8}=_0x1c4447;_0x304a70[_0x540f97(0x5e7)]&&(_0x304a70+=','),_0x304a70+=_0x87ac30+':'+_0x3f7392+':'+(_0xfff450?'1':'0')+':'+_0x2e1de2+':'+_0x3e568a+':'+_0x399eb8;}return _0x304a70;}function Ln(_0x268fd5){const _0x518b07=_0x29ff00,_0x585ec9=_0x268fd5['split'](','),_0x521dfb=[];for(const _0x54084a of _0x585ec9){const [_0x4d6b08,_0x3be196,_0x200cc1,_0x1ffaf9,_0x1e1ba1,_0x1dc926]=_0x54084a[_0x518b07(0x5c0)](':');_0x521dfb[_0x518b07(0x3bc)]({'startOffset':Number(_0x4d6b08),'endOffset':Number(_0x3be196),'collapsed':_0x4d6b08===_0x3be196,'isActive':_0x200cc1==='1','rangeType':_0x1ffaf9===a[_0x518b07(0x380)][_0x518b07(0x4ff)]?a[_0x518b07(0x380)][_0x518b07(0x4ff)]:a[_0x518b07(0x380)][_0x518b07(0x36c)],'segmentId':typeof _0x1e1ba1==_0x518b07(0x291)?String(_0x1e1ba1):'','segmentPage':Number(_0x1dc926!=null?_0x1dc926:-0x1)});}return _0x521dfb[_0x518b07(0x355)](_0x4af847=>_0x4af847[_0x518b07(0x4b8)])||(_0x521dfb[0x0][_0x518b07(0x4b8)]=!0x0),_0x521dfb;}class yt extends a[_0x29ff00(0x4b0)]{constructor(){const _0x249cb4=_0x29ff00;super(...arguments),I(this,'_collabCursorState$',new A[(_0x249cb4(0x26c))](null)),I(this,_0x249cb4(0x41b),this[_0x249cb4(0x483)][_0x249cb4(0x4c6)]());}[_0x29ff00(0x329)](_0x1f9ea7){const _0x53e5d2=_0x29ff00,{unitID:_0x1e6bd1,memberID:_0x24e812,textRanges:_0x329636}=_0x1f9ea7,_0x1e5eee=Si(_0x329636);if(_0x1e5eee==='')return;const _0x1a31b3={'unitID':_0x1e6bd1,'memberID':_0x24e812,'selection':_0x1e5eee};this[_0x53e5d2(0x483)][_0x53e5d2(0x49f)](_0x1a31b3);}}var xn=Object['defineProperty'],jn=Object['getOwnPropertyDescriptor'],$n=(_0x236706,_0x33dfb0,_0x414b8f,_0xb69058)=>{const _0x4d2267=_0x29ff00;for(var _0x26c889=_0xb69058>0x1?void 0x0:_0xb69058?jn(_0x33dfb0,_0x414b8f):_0x33dfb0,_0x4d82d1=_0x236706[_0x4d2267(0x5e7)]-0x1,_0x4df46f;_0x4d82d1>=0x0;_0x4d82d1--)(_0x4df46f=_0x236706[_0x4d82d1])&&(_0x26c889=(_0xb69058?_0x4df46f(_0x33dfb0,_0x414b8f,_0x26c889):_0x4df46f(_0x26c889))||_0x26c889);return _0xb69058&&_0x26c889&&xn(_0x33dfb0,_0x414b8f,_0x26c889),_0x26c889;},$t=(_0x25178c,_0x110db1)=>(_0x424174,_0x2d41dd)=>_0x110db1(_0x424174,_0x2d41dd,_0x25178c);let Fe=class{constructor(_0x38e60b,_0x19bdf7){const _0x20ef29=_0x29ff00;this['_injector']=_0x38e60b,this[_0x20ef29(0x449)]=_0x19bdf7;}[_0x29ff00(0x2c1)](_0x4ae35c){const _0x17eef0=_0x29ff00;var _0x273634;const _0x436221=this[_0x17eef0(0x1c1)][_0x17eef0(0x2ef)](Ie[_0x17eef0(0x64b)]),_0x3f6da5=(_0x273634=_0x436221[_0x17eef0(0x526)]())!=null?_0x273634:[];if(_0x3f6da5[_0x17eef0(0x5e7)]===0x0)return;const _0x586d19=_0x4ae35c[_0x17eef0(0x553)],_0x43ab2b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x586d19,'actions':null,'textRanges':_0x3f6da5}}],_0x333500=this[_0x17eef0(0x449)]['transformMutationsWithChangeset'](_0x4ae35c,_0x43ab2b);if(!p['isTransformMutationsWithChangesetSuccess'](_0x333500))throw _0x333500[_0x17eef0(0x27a)];const _0x3e1d12=_0x333500['m2Prime'][0x0][_0x17eef0(0x447)][_0x17eef0(0x49e)];Array[_0x17eef0(0x400)](_0x3e1d12)&&_0x3e1d12[_0x17eef0(0x5e7)]&&_0x436221[_0x17eef0(0x308)](_0x3e1d12,{'unitId':_0x586d19,'subUnitId':_0x586d19},!0x1);}};Fe=$n([$t(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),$t(0x1,p[_0x29ff00(0x38f)])],Fe);const Hn=new Set([k[_0x29ff00(0x672)]['id']]);function Ht(_0xbe1ae6,_0x1c06dc,_0x17ef4c,_0x116dff,_0x2d46f6){const _0x367b4e=_0x29ff00;var _0x26a965,_0x10a046,_0xd380af,_0x2518a3;const _0x310521=[];for(const _0x204de5 of _0xbe1ae6)if(Hn['has'](_0x204de5['id'])){if(_0x310521['length']>0x0)break;_0x310521[_0x367b4e(0x3bc)](_0x204de5);break;}else _0x310521[_0x367b4e(0x3bc)](_0x204de5);const _0x3bb4b6=(_0x10a046=(_0x26a965=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0x26a965[_0x367b4e(0x52b)])!=null?_0x10a046:'unknown',_0x2c99b1=(_0x2518a3=(_0xd380af=_0x2d46f6[_0x367b4e(0x5d8)]())==null?void 0x0:_0xd380af[_0x367b4e(0x35e)])!=null?_0x2518a3:_0x367b4e(0x1f6);return{'changeset':{'unitID':_0x1c06dc,'type':p['mapDocumentTypeToUniverType'](_0x17ef4c[_0x367b4e(0x2e0)](_0x1c06dc)),'baseRev':_0x116dff[_0x367b4e(0x309)](_0x1c06dc),'revision':0x0,'userID':_0x3bb4b6,'memberID':_0x2c99b1,'mutations':_0x310521},'pendingMutations':_0xbe1ae6[_0x367b4e(0x3bb)](_0x310521[_0x367b4e(0x5e7)])};}function Bn(_0x19ca96,_0x1fcffd,_0x4a5462,_0xd7fc1a,_0x2d17a6){const _0x5d1f8d=_0x29ff00;var _0x2e5a84,_0x5338e2,_0x2ce30c,_0x513299;const _0x453960=[_0x19ca96['reduce']((_0x40525e,_0x35b055)=>{const _0x421736=_0x2f26;var _0x14a598;const {id:_0x428699}=_0x40525e,{id:_0x16ea0e,type:_0x5e6bce}=_0x35b055,_0x251030=(_0x14a598=_0x40525e[_0x421736(0x447)])!=null?_0x14a598:{'actions':null},_0x2a67ed=_0x35b055[_0x421736(0x447)];if(_0x428699&&_0x428699!==_0x16ea0e)throw new Error(_0x421736(0x532)+_0x428699+_0x421736(0x5ae)+_0x16ea0e+'.');return{..._0x40525e,'id':_0x16ea0e,'type':_0x5e6bce,'params':{'unitId':_0x2a67ed[_0x421736(0x21b)],'textRanges':_0x2a67ed[_0x421736(0x49e)],'actions':a[_0x421736(0x60a)][_0x421736(0x53f)](_0x251030['actions'],_0x2a67ed[_0x421736(0x4fc)])}};},{})],_0x2b43ae=(_0x5338e2=(_0x2e5a84=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2e5a84[_0x5d1f8d(0x52b)])!=null?_0x5338e2:'unknown',_0x445be1=(_0x513299=(_0x2ce30c=_0x2d17a6['getCurrentUser']())==null?void 0x0:_0x2ce30c[_0x5d1f8d(0x35e)])!=null?_0x513299:_0x5d1f8d(0x1f6);return{'changeset':{'unitID':_0x1fcffd,'type':p[_0x5d1f8d(0x1bb)](_0x4a5462[_0x5d1f8d(0x2e0)](_0x1fcffd)),'baseRev':_0xd7fc1a['getCurrentRevOfUnit'](_0x1fcffd),'revision':0x0,'userID':_0x2b43ae,'memberID':_0x445be1,'mutations':_0x453960},'pendingMutations':[]};}function pi(_0x21182c,_0x4a23ae){const _0x6af775=_0x29ff00,_0x34cf03=new A[(_0x6af775(0x24c))](0x1);return setTimeout(()=>_0x34cf03[_0x6af775(0x49f)](_0x4a23ae),_0x21182c),_0x34cf03['asObservable']()['pipe'](A['take'](0x1));}const kn={'id':k['EmptyMutation']['id'],'type':a['CommandType']['MUTATION'],'params':{}};var Wn=Object[_0x29ff00(0x64a)],Fn=Object[_0x29ff00(0x316)],Ee=(_0x4b0437,_0x486486,_0x10e017,_0x28eb28)=>{for(var _0x14bec6=_0x28eb28>0x1?void 0x0:_0x28eb28?Fn(_0x486486,_0x10e017):_0x486486,_0x2ee05b=_0x4b0437['length']-0x1,_0x304864;_0x2ee05b>=0x0;_0x2ee05b--)(_0x304864=_0x4b0437[_0x2ee05b])&&(_0x14bec6=(_0x28eb28?_0x304864(_0x486486,_0x10e017,_0x14bec6):_0x304864(_0x14bec6))||_0x14bec6);return _0x28eb28&&_0x14bec6&&Wn(_0x486486,_0x10e017,_0x14bec6),_0x14bec6;},N=(_0x51cb22,_0x478f7d)=>(_0x52f600,_0x2edaee)=>_0x478f7d(_0x52f600,_0x2edaee,_0x51cb22),q=(_0x1d2d03=>(_0x1d2d03['NOT_COLLAB']='not_collab',_0x1d2d03['SYNCED']=_0x29ff00(0x1ed),_0x1d2d03[_0x29ff00(0x1c5)]=_0x29ff00(0x496),_0x1d2d03['AWAITING']=_0x29ff00(0x4d6),_0x1d2d03[_0x29ff00(0x290)]='awaiting_with_pending',_0x1d2d03['FETCH_MISS']=_0x29ff00(0x225),_0x1d2d03['CONFLICT']='conflict',_0x1d2d03[_0x29ff00(0x548)]=_0x29ff00(0x4e0),_0x1d2d03))(q||{});const mi=0xea60;class be{constructor(_0x4c3895,_0x538e2c,_0x16d051,_0x22488f,_0x521e92,_0x3ae4b9,_0x55e13f,_0x3ec60c,_0x2be227){const _0xa789a7=_0x29ff00;I(this,'_awaitingChangeset',null),I(this,_0xa789a7(0x32a),[]),(this[_0xa789a7(0x553)]=_0x4c3895,this[_0xa789a7(0x2eb)]=_0x538e2c,this[_0xa789a7(0x467)]=_0x521e92,this['_commandService']=_0x3ae4b9,this[_0xa789a7(0x462)]=_0x55e13f,this[_0xa789a7(0x2a8)]=_0x3ec60c,this['_localCacheService']=_0x2be227,this[_0xa789a7(0x416)]=_0x16d051,this[_0xa789a7(0x32a)]=_0x22488f);}[_0x29ff00(0x3cb)](_0x1c0fa7){const _0x199d3d=_0x29ff00,_0x27cf3e=this[_0x199d3d(0x2a8)][_0x199d3d(0x309)](this['unitID']);return _0x1c0fa7[_0x199d3d(0x5fe)]>_0x27cf3e+0x1?(this[_0x199d3d(0x467)][_0x199d3d(0x203)]({'from':_0x27cf3e,'to':_0x1c0fa7[_0x199d3d(0x5fe)]-0x1}),!0x0):!0x1;}[_0x29ff00(0x4d8)](_0x6b2ccf){const _0x592030=_0x29ff00;this[_0x592030(0x462)][_0x592030(0x2a1)](this[_0x592030(0x553)],_0x6b2ccf);}[_0x29ff00(0x1d4)](_0x308725){const _0x1d333d=_0x29ff00;var _0x19794e,_0x3dd3a1;(_0x3dd3a1=(_0x19794e=this[_0x1d333d(0x467)])[_0x1d333d(0x289)])==null||_0x3dd3a1[_0x1d333d(0x1d5)](_0x19794e,_0x308725);}[_0x29ff00(0x63e)](_0x20e365){const _0x3f68a5=_0x29ff00;var _0x39640f,_0x2b0a20;return(_0x2b0a20=(_0x39640f=this[_0x3f68a5(0x467)])[_0x3f68a5(0x420)])==null?void 0x0:_0x2b0a20[_0x3f68a5(0x1d5)](_0x39640f,_0x20e365);}[_0x29ff00(0x456)](_0x48b385){const _0x400246=_0x29ff00;var _0x3d9a06,_0x5853c8;return(_0x5853c8=(_0x3d9a06=this[_0x400246(0x467)])[_0x400246(0x66d)])==null?void 0x0:_0x5853c8[_0x400246(0x1d5)](_0x3d9a06,_0x48b385);}['_transformRemoteChangesetByIMECache'](_0x32cb17){const _0x4f82b3=_0x29ff00;var _0x1c5dba,_0xb9748c,_0x304b1f;return(_0x304b1f=(_0xb9748c=(_0x1c5dba=this['_handler'])[_0x4f82b3(0x428)])==null?void 0x0:_0xb9748c[_0x4f82b3(0x1d5)](_0x1c5dba,_0x32cb17))!=null?_0x304b1f:_0x32cb17;}['_transformRemoteChangesetByStateCache'](_0x4a32fd){const _0x38c364=_0x29ff00;var _0x9461bd,_0x323670,_0x43e88a;return(_0x43e88a=(_0x323670=(_0x9461bd=this[_0x38c364(0x467)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x323670[_0x38c364(0x1d5)](_0x9461bd,_0x4a32fd))!=null?_0x43e88a:_0x4a32fd;}[_0x29ff00(0x41f)](_0x149f71){const _0x4082b7=_0x29ff00;var _0x36eba6,_0x549bd7;if(this['type']===ne['UNIVER_DOC']){const {unitID:_0x5405ee,mutations:_0x9506c5,memberID:_0x5eb51b}=_0x149f71,_0x353f35=_0x9506c5[0x0][_0x4082b7(0x447)][_0x4082b7(0x49e)];Array[_0x4082b7(0x400)](_0x353f35)&&_0x353f35['length']>0x0&&((_0x549bd7=(_0x36eba6=this[_0x4082b7(0x467)])[_0x4082b7(0x46b)])==null||_0x549bd7[_0x4082b7(0x1d5)](_0x36eba6,{'unitID':_0x5405ee,'memberID':_0x5eb51b,'textRanges':_0x353f35}));}}[_0x29ff00(0x611)](){const _0x6b5dab=_0x29ff00;this[_0x6b5dab(0x34f)][_0x6b5dab(0x4cf)](this[_0x6b5dab(0x553)],this['type'],this[_0x6b5dab(0x416)],this[_0x6b5dab(0x32a)]);}[_0x29ff00(0x1d0)](){const _0x3a839f=_0x29ff00;return this[_0x3a839f(0x2a8)][_0x3a839f(0x309)](this[_0x3a839f(0x553)]);}['_incrementRevisionNumber'](){const _0x3350a8=_0x29ff00;this[_0x3350a8(0x2a8)][_0x3350a8(0x29b)](this[_0x3350a8(0x553)]);}[_0x29ff00(0x3de)](_0x5cab1d){const _0x3910ad=_0x29ff00;var _0x3e31b8;let _0x5ef8d8=this['_transformRemoteChangesetByIMECache'](_0x5cab1d);_0x5ef8d8=this[_0x3910ad(0x2c5)](_0x5ef8d8);const _0x419e90=a[_0x3910ad(0x2f6)](_0x5ef8d8[_0x3910ad(0x219)],this[_0x3910ad(0x5b4)],{'fromCollab':!0x0});if(!_0x419e90[_0x3910ad(0x675)])throw _0x419e90[_0x3910ad(0x27a)]instanceof Error?_0x419e90[_0x3910ad(0x27a)]:new Error((_0x3e31b8=_0x419e90[_0x3910ad(0x27a)])!=null?_0x3e31b8:_0x3910ad(0x368));this['_transformIMECache'](_0x5ef8d8),this[_0x3910ad(0x456)](_0x5ef8d8),this['_transformUndoredo'](_0x5cab1d),this[_0x3910ad(0x1d4)](_0x5ef8d8),this[_0x3910ad(0x41f)](_0x5ef8d8),this[_0x3910ad(0x5c1)]();}}let Oe=class extends be{constructor(_0x1eb08b,_0x54819f,_0x2de96a,_0x4c1390,_0x190da2,_0x21086a,_0x4870d8,_0x44c0a1,_0x397e2f,_0x45bb75){const _0x45be47=_0x29ff00;super(_0x1eb08b,_0x54819f,null,[],_0x2de96a,_0x44c0a1,_0x4870d8,_0x4c1390,_0x190da2),I(this,'status','synced'),(this[_0x45be47(0x1c1)]=_0x21086a,this['_logService']=_0x397e2f,this[_0x45be47(0x449)]=_0x45bb75);}[_0x29ff00(0x5af)](_0x31156f){const _0x56c65a=_0x29ff00,_0x3a040e=this[_0x56c65a(0x1c1)][_0x56c65a(0x527)](ce,this['unitID'],this[_0x56c65a(0x2eb)],[_0x31156f],this[_0x56c65a(0x467)]);return _0x3a040e[_0x56c65a(0x490)](),_0x3a040e[_0x56c65a(0x611)](),_0x3a040e;}[_0x29ff00(0x4c5)](_0x4ef6c1){const _0xdbaa51=_0x29ff00;if(this[_0xdbaa51(0x3cb)](_0x4ef6c1))return this[_0xdbaa51(0x1c1)][_0xdbaa51(0x527)](re,this[_0xdbaa51(0x553)],this[_0xdbaa51(0x2eb)],null,[],null,[_0x4ef6c1],this['_handler']);try{const _0x2d7bf0=this[_0xdbaa51(0x449)][_0xdbaa51(0x268)](_0x4ef6c1,[kn]);if(p[_0xdbaa51(0x5ba)](_0x2d7bf0)){const {c1Prime:_0x285e73}=_0x2d7bf0;return this[_0xdbaa51(0x3de)](_0x285e73),this;}throw _0x2d7bf0[_0xdbaa51(0x27a)];}catch(_0x2fdfd5){return this[_0xdbaa51(0x328)][_0xdbaa51(0x27a)](_0x2fdfd5),this[_0xdbaa51(0x2c4)](!0x1);}}['_onConflict'](_0x41cd83){const _0xa068b4=_0x29ff00;return this[_0xa068b4(0x1c1)][_0xa068b4(0x527)](ve,this[_0xa068b4(0x553)],this[_0xa068b4(0x2eb)],null,[],this[_0xa068b4(0x467)],_0x41cd83);}[_0x29ff00(0x3fb)](){const _0x2450db=_0x29ff00;throw new Error(_0x2450db(0x40b));}[_0x29ff00(0x520)](){const _0x3fac84=_0x29ff00;throw new Error(_0x3fac84(0x454));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x30a258=_0x29ff00;return this[_0x30a258(0x1c1)][_0x30a258(0x527)](Se,this['unitID'],this[_0x30a258(0x2eb)],null,[],this[_0x30a258(0x467)]);}['toggleOnline'](){return this;}[_0x29ff00(0x2d1)](){const _0xff663b=_0x29ff00;throw new Error(_0xff663b(0x2b2));}['fetchMiss'](){const _0x117056=_0x29ff00,_0x14382c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x117056(0x553)]);return this[_0x117056(0x467)][_0x117056(0x203)]({'from':_0x14382c,'to':0x0}),this['_injector'][_0x117056(0x527)](re,this['unitID'],this[_0x117056(0x2eb)],null,[],null,[],this['_handler']);}};Oe=Ee([N(0x3,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x325)]),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p[_0x29ff00(0x38f)])],Oe);let ce=class extends be{constructor(_0x1a0bcd,_0x49385e,_0x130d9f,_0x15ff73,_0x562b8c,_0x20f138,_0x45c695,_0x1e14cc,_0x1b973a,_0x5a7ed5,_0x176165,_0x3e2a93,_0x40e977,_0xa12296){const _0x31c306=_0x29ff00;super(_0x1a0bcd,_0x49385e,null,_0x130d9f,_0x15ff73,_0x5a7ed5,_0xa12296,_0x20f138,_0x45c695),I(this,_0x31c306(0x2be),_0x31c306(0x496)),I(this,_0x31c306(0x42f),null),I(this,_0x31c306(0x4dd),null),(this[_0x31c306(0x1c1)]=_0x562b8c,this[_0x31c306(0x427)]=_0x1e14cc,this[_0x31c306(0x328)]=_0x1b973a,this[_0x31c306(0x4ea)]=_0x176165,this[_0x31c306(0x449)]=_0x3e2a93,this[_0x31c306(0x600)]=_0x40e977);}[_0x29ff00(0x5af)](_0x215bc3){const _0x460d20=_0x29ff00;return this['_pendingMutations'][_0x460d20(0x3bc)](_0x215bc3),this[_0x460d20(0x611)](),this;}['onRemoteChangeset'](_0x1a1269){const _0x38c39e=_0x29ff00;if(this[_0x38c39e(0x3cb)](_0x1a1269))return this[_0x38c39e(0x466)](),this['_injector'][_0x38c39e(0x527)](re,this[_0x38c39e(0x553)],this[_0x38c39e(0x2eb)],null,this['_pendingMutations'],null,[_0x1a1269],this['_handler']);try{const _0xf6b9f2=this[_0x38c39e(0x449)]['transformMutationsWithChangeset'](_0x1a1269,this[_0x38c39e(0x32a)]);if(p['isTransformMutationsWithChangesetSuccess'](_0xf6b9f2)){const {c1Prime:_0x4b6c5a,m2Prime:_0x214bad}=_0xf6b9f2;this[_0x38c39e(0x3de)](_0x4b6c5a);const _0x32e158=this[_0x38c39e(0x1c1)][_0x38c39e(0x527)](ce,this['unitID'],this['type'],_0x214bad,this[_0x38c39e(0x467)]);return this[_0x38c39e(0x466)](),_0x32e158['_schedule'](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x38c39e(0x54f)]()-this[_0x38c39e(0x42f)]):this['_getSendChangesetTimeout']()),_0x32e158;}throw _0xf6b9f2[_0x38c39e(0x27a)];}catch(_0x29fc6d){return this[_0x38c39e(0x328)][_0x38c39e(0x27a)](_0x29fc6d),this[_0x38c39e(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](){const _0x5347d3=_0x29ff00;throw new Error(_0x5347d3(0x5ac));}[_0x29ff00(0x520)](){const _0x471de7=_0x29ff00;throw new Error(_0x471de7(0x1bd));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x43b663=_0x29ff00;return this['_clearScheduledTask'](),this[_0x43b663(0x1c1)][_0x43b663(0x527)](Se,this[_0x43b663(0x553)],this[_0x43b663(0x2eb)],null,this[_0x43b663(0x32a)],this[_0x43b663(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_schedule'](_0x1bfa24){const _0x3f1214=_0x29ff00,_0x2b474d=_0x1bfa24!=null?_0x1bfa24:this['_getSendChangesetTimeout']();this[_0x3f1214(0x42f)]=new Date()[_0x3f1214(0x54f)](),this['_sendingTimer']=window[_0x3f1214(0x34a)](()=>{const _0xe24137=_0x3f1214;this['_clearScheduledTask']();let _0x21fffd=null;switch(this['type']){case ne[_0xe24137(0x3d0)]:{_0x21fffd=Ht(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this['_memberService']);break;}case ne[_0xe24137(0x4f0)]:{this[_0xe24137(0x32a)]['every'](_0x1d0a5e=>_0x1d0a5e['id']===Ie['RichTextEditingMutation']['id'])?_0x21fffd=Bn(this[_0xe24137(0x32a)],this[_0xe24137(0x553)],this[_0xe24137(0x600)],this['_revisionService'],this[_0xe24137(0x427)]):_0x21fffd=Ht(this['_pendingMutations'],this['unitID'],this[_0xe24137(0x600)],this[_0xe24137(0x2a8)],this[_0xe24137(0x427)]);break;}default:throw new Error(_0xe24137(0x450)+this[_0xe24137(0x2eb)]+_0xe24137(0x471));}const {changeset:_0x1fdc9d,pendingMutations:_0x40810d}=_0x21fffd;this[_0xe24137(0x467)][_0xe24137(0x686)](_0x1fdc9d);const _0x472221=_0x40810d['length']?this[_0xe24137(0x1c1)][_0xe24137(0x527)](le,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,_0x40810d,this[_0xe24137(0x467)],void 0x0):this['_injector']['createInstance'](fe,this[_0xe24137(0x553)],this[_0xe24137(0x2eb)],_0x1fdc9d,this[_0xe24137(0x467)]);_0x472221[_0xe24137(0x611)](),this[_0xe24137(0x467)][_0xe24137(0x42d)](this,_0x472221);},_0x2b474d);}[_0x29ff00(0x598)](){const _0x2c6550=_0x29ff00;var _0x27e345;const _0x246dc0=this['_configService'][_0x2c6550(0x1ea)](Q);return(_0x27e345=_0x246dc0==null?void 0x0:_0x246dc0['sendChangesetTimeout'])!=null?_0x27e345:Fi;}[_0x29ff00(0x2d1)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x466)](){const _0x1d9e1b=_0x29ff00;this[_0x1d9e1b(0x4dd)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1d9e1b(0x4dd)]=null);}[_0x29ff00(0x2c4)](_0x97184){const _0xf24814=_0x29ff00;return this[_0xf24814(0x466)](),this['_injector'][_0xf24814(0x527)](ve,this[_0xf24814(0x553)],this['type'],null,this[_0xf24814(0x32a)],this[_0xf24814(0x467)],_0x97184);}};ce=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x6,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x7,a['Inject'](exports[_0x29ff00(0x1d6)])),N(0x8,a[_0x29ff00(0x4ac)]),N(0x9,a[_0x29ff00(0x587)]),N(0xa,a[_0x29ff00(0x64d)]),N(0xb,p['ITransformService']),N(0xc,a[_0x29ff00(0x37f)]),N(0xd,a[_0x29ff00(0x325)])],ce);let fe=class extends be{constructor(_0x50aee9,_0x447f59,_0x118fc4,_0x338889,_0x6eb3e6,_0x5b91e2,_0x575115,_0x2fda3f,_0x2a6a52,_0x12058c,_0x21f1be){const _0x31f72b=_0x29ff00;super(_0x50aee9,_0x447f59,_0x118fc4,[],_0x338889,_0x2fda3f,_0x21f1be,_0x5b91e2,_0x575115),I(this,_0x31f72b(0x2be),_0x31f72b(0x4d6)),I(this,_0x31f72b(0x66b),0x0),I(this,'_resendTimer'),I(this,_0x31f72b(0x5b0)),(this[_0x31f72b(0x1c1)]=_0x6eb3e6,this[_0x31f72b(0x328)]=_0x2a6a52,this[_0x31f72b(0x449)]=_0x12058c);}[_0x29ff00(0x5af)](_0x5784cd){const _0x44c1f9=_0x29ff00;this['_clearScheduledTask']();const _0x5bfa84=this[_0x44c1f9(0x1c1)][_0x44c1f9(0x527)](le,this[_0x44c1f9(0x553)],this[_0x44c1f9(0x2eb)],this[_0x44c1f9(0x416)],[_0x5784cd],this[_0x44c1f9(0x467)],this[_0x44c1f9(0x4a4)]);return _0x5bfa84[_0x44c1f9(0x611)](),_0x5bfa84;}[_0x29ff00(0x4c5)](_0x3d6fa1){const _0x17bed4=_0x29ff00;if(this[_0x17bed4(0x3cb)](_0x3d6fa1))return this[_0x17bed4(0x466)](),this[_0x17bed4(0x1c1)]['createInstance'](re,this[_0x17bed4(0x553)],this[_0x17bed4(0x2eb)],this[_0x17bed4(0x416)],[],null,[_0x3d6fa1],this['_handler']);try{const _0x183ad5=this[_0x17bed4(0x449)]['transformChangesets']([_0x3d6fa1],[this['_awaitingChangeset']],!0x1);if(p[_0x17bed4(0x4c2)](_0x183ad5)){const {c1Prime:_0x1f23dd,c2Prime:_0x5a3de5}=_0x183ad5;this['_executeRemoteChangeset'](_0x1f23dd[0x0]),_0x5a3de5[0x0][_0x17bed4(0x573)]=this[_0x17bed4(0x1d0)](),this[_0x17bed4(0x466)]();const _0x3fcb2d=this[_0x17bed4(0x1c1)]['createInstance'](fe,this['unitID'],this[_0x17bed4(0x2eb)],_0x5a3de5[0x0],this[_0x17bed4(0x467)]);return _0x3fcb2d[_0x17bed4(0x611)](),_0x3fcb2d;}return this['_onConflict'](!0x1);}catch(_0x19f54f){return this[_0x17bed4(0x328)][_0x17bed4(0x27a)](_0x19f54f),this[_0x17bed4(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x49da80){const _0x1e609a=_0x29ff00;this[_0x1e609a(0x466)]();const _0x3dfcc2=this[_0x1e609a(0x2a8)][_0x1e609a(0x309)](this[_0x1e609a(0x553)]);if(_0x49da80['revision']<_0x3dfcc2-0x1)return this;if(this[_0x1e609a(0x3cb)](_0x49da80))return this['_injector'][_0x1e609a(0x527)](re,this['unitID'],this[_0x1e609a(0x2eb)],null,[],this['_awaitingChangeset'],[],this[_0x1e609a(0x467)]);this[_0x1e609a(0x5c1)]();const _0x5d4a26=this[_0x1e609a(0x1c1)][_0x1e609a(0x527)](Oe,this['unitID'],this[_0x1e609a(0x2eb)],this[_0x1e609a(0x467)]);return _0x5d4a26['_updateLocalCache'](),_0x5d4a26;}[_0x29ff00(0x520)](_0x127b07){const _0x5926ca=_0x29ff00;return this[_0x5926ca(0x2c4)](!!(_0x127b07!=null&&_0x127b07[_0x5926ca(0x300)]));}['onRemoteRetry'](_0x29ce55){const _0x4b0271=_0x29ff00;return this[_0x4b0271(0x66b)]>mi?this[_0x4b0271(0x2f3)]():(this[_0x4b0271(0x4a4)]=pi(this[_0x4b0271(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x29ce55[_0x4b0271(0x44e)]}),this['_sender']=this[_0x4b0271(0x4a4)][_0x4b0271(0x58f)](({reqId:_0x5f1b0d,timeout:_0x5d7e28})=>{const _0x5652be=_0x4b0271;this[_0x5652be(0x5fb)](_0x5f1b0d,_0x5d7e28);}),this);}['toggleOffline'](){const _0x2c06e2=_0x29ff00;return this[_0x2c06e2(0x466)](),this['_injector'][_0x2c06e2(0x527)](Se,this[_0x2c06e2(0x553)],this[_0x2c06e2(0x2eb)],this[_0x2c06e2(0x416)],[],this[_0x2c06e2(0x467)]);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x4337e8=_0x29ff00;this['_handler'][_0x4337e8(0x686)](this[_0x4337e8(0x416)]);}[_0x29ff00(0x2c4)](_0x36a77a){const _0xee938=_0x29ff00;return this[_0xee938(0x466)](),this[_0xee938(0x1c1)][_0xee938(0x527)](ve,this[_0xee938(0x553)],this['type'],this[_0xee938(0x416)],[],this[_0xee938(0x467)],_0x36a77a);}[_0x29ff00(0x5fb)](_0x4be28d,_0x2179be){const _0x2fbd67=_0x29ff00;var _0x572b43;_0x4be28d===((_0x572b43=this[_0x2fbd67(0x416)])==null?void 0x0:_0x572b43[_0x2fbd67(0x44e)])&&(this[_0x2fbd67(0x2d1)](),this[_0x2fbd67(0x66b)]=_0x2179be===0x0?0x3e8:_0x2179be*0x2);}['_clearScheduledTask'](){const _0x8adc5b=_0x29ff00;var _0x119d39;(_0x119d39=this[_0x8adc5b(0x5b0)])==null||_0x119d39[_0x8adc5b(0x4eb)](),this[_0x8adc5b(0x66b)]=0x0;}};fe=Ee([N(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x5,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x6,a[_0x29ff00(0x493)](exports['LocalCacheService'])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['ILogService']),N(0x9,p['ITransformService']),N(0xa,a[_0x29ff00(0x325)])],fe);let le=class extends be{constructor(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0xcd4898,_0x4fec84,_0x2238f7,_0x4bd892,_0x3b1e0f,_0x478b12,_0x5f1579,_0x526f5c){const _0x2219ac=_0x29ff00;super(_0x192728,_0x2419bc,_0x1609ac,_0x29753c,_0x12ccb8,_0x3b1e0f,_0x526f5c,_0x2238f7,_0x4bd892),I(this,'status',_0x2219ac(0x4ba)),I(this,_0x2219ac(0x66b),0x0),I(this,_0x2219ac(0x4a4)),I(this,'_sender'),(this[_0x2219ac(0x1c1)]=_0x4fec84,this[_0x2219ac(0x328)]=_0x478b12,this[_0x2219ac(0x449)]=_0x5f1579,_0xcd4898&&(this[_0x2219ac(0x4a4)]=_0xcd4898,this[_0x2219ac(0x5b0)]=this['_resendTimer'][_0x2219ac(0x58f)](({reqId:_0xdc5ba1,timeout:_0x5131d5})=>{const _0x115c4c=_0x2219ac;this[_0x115c4c(0x5fb)](_0xdc5ba1,_0x5131d5);})));}[_0x29ff00(0x5af)](_0x22be83){const _0x6213e2=_0x29ff00;return this[_0x6213e2(0x32a)][_0x6213e2(0x3bc)](_0x22be83),this;}[_0x29ff00(0x4c5)](_0x5cd87d){const _0x57d1f0=_0x29ff00;if(this[_0x57d1f0(0x3cb)](_0x5cd87d))return this[_0x57d1f0(0x466)](),this['_injector'][_0x57d1f0(0x527)](re,this[_0x57d1f0(0x553)],this['type'],this[_0x57d1f0(0x416)],this[_0x57d1f0(0x32a)],null,[_0x5cd87d],this['_handler']);try{const _0x26897b=this[_0x57d1f0(0x449)][_0x57d1f0(0x507)]([_0x5cd87d],[this[_0x57d1f0(0x416)]],!0x1);if(p[_0x57d1f0(0x4c2)](_0x26897b)){const {c1Prime:_0x154565,c2Prime:_0x2d47e9}=_0x26897b,_0x1d8d8e=this['_transformService'][_0x57d1f0(0x268)](_0x154565[0x0],this[_0x57d1f0(0x32a)]);if(p[_0x57d1f0(0x5ba)](_0x1d8d8e)){const {c1Prime:_0x4f490b,m2Prime:_0x29a623}=_0x1d8d8e;return this[_0x57d1f0(0x3de)](_0x4f490b),_0x2d47e9[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x57d1f0(0x1c1)][_0x57d1f0(0x527)](le,this[_0x57d1f0(0x553)],this[_0x57d1f0(0x2eb)],_0x2d47e9[0x0],_0x29a623,this[_0x57d1f0(0x467)],void 0x0);}throw _0x1d8d8e[_0x57d1f0(0x27a)];}throw _0x26897b[_0x57d1f0(0x27a)];}catch(_0x2eadb1){return this[_0x57d1f0(0x328)][_0x57d1f0(0x27a)](_0x2eadb1),this[_0x57d1f0(0x2c4)](!0x1);}}[_0x29ff00(0x3fb)](_0x4866ad){const _0x46a77b=_0x29ff00;if(this[_0x46a77b(0x466)](),this[_0x46a77b(0x3cb)](_0x4866ad))return this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](re,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],null,this[_0x46a77b(0x32a)],this[_0x46a77b(0x416)],[],this[_0x46a77b(0x467)]);this[_0x46a77b(0x5c1)]();const _0x4fadf1=this[_0x46a77b(0x1c1)][_0x46a77b(0x527)](ce,this[_0x46a77b(0x553)],this[_0x46a77b(0x2eb)],this[_0x46a77b(0x32a)],this[_0x46a77b(0x467)]);return _0x4fadf1[_0x46a77b(0x490)](),_0x4fadf1[_0x46a77b(0x611)](),_0x4fadf1;}[_0x29ff00(0x520)](_0x1ec661){const _0x3e8754=_0x29ff00;return this[_0x3e8754(0x2c4)](!!(_0x1ec661!=null&&_0x1ec661['isPermissionRej']));}[_0x29ff00(0x396)](_0x2fea98){const _0x28bd20=_0x29ff00;return this[_0x28bd20(0x66b)]>mi?this[_0x28bd20(0x2f3)]():(this[_0x28bd20(0x4a4)]=pi(this[_0x28bd20(0x66b)],{'timeout':this['_resendTimeout'],'reqId':_0x2fea98[_0x28bd20(0x44e)]}),this['_sender']=this[_0x28bd20(0x4a4)][_0x28bd20(0x58f)](({reqId:_0x565145,timeout:_0x439ba1})=>{const _0x2ad838=_0x28bd20;this[_0x2ad838(0x5fb)](_0x565145,_0x439ba1);}),this);}['toggleOffline'](){const _0x50e7da=_0x29ff00;return this['_clearScheduledTask'](),this[_0x50e7da(0x1c1)][_0x50e7da(0x527)](Se,this[_0x50e7da(0x553)],this[_0x50e7da(0x2eb)],this[_0x50e7da(0x416)],this[_0x50e7da(0x32a)],this['_handler']);}[_0x29ff00(0x4b5)](){return this;}[_0x29ff00(0x2d1)](){const _0x2e4190=_0x29ff00;this[_0x2e4190(0x467)][_0x2e4190(0x686)](this['_awaitingChangeset']);}[_0x29ff00(0x2c4)](_0x3db1d1){const _0x3d1148=_0x29ff00;return this[_0x3d1148(0x466)](),this['_injector']['createInstance'](ve,this[_0x3d1148(0x553)],this[_0x3d1148(0x2eb)],null,this[_0x3d1148(0x32a)],this[_0x3d1148(0x467)],_0x3db1d1);}[_0x29ff00(0x5fb)](_0x1a4de8,_0x86e549){const _0xd81240=_0x29ff00;var _0x51d7d7;_0x1a4de8===((_0x51d7d7=this[_0xd81240(0x416)])==null?void 0x0:_0x51d7d7['reqId'])&&(this[_0xd81240(0x2d1)](),this[_0xd81240(0x66b)]=_0x86e549===0x0?0x3e8:_0x86e549*0x2);}[_0x29ff00(0x466)](){const _0x43e9d2=_0x29ff00;var _0xfbf03f;(_0xfbf03f=this[_0x43e9d2(0x5b0)])==null||_0xfbf03f['unsubscribe'](),this[_0x43e9d2(0x66b)]=0x0;}};le=Ee([N(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x7,a['Inject'](p['RevisionService'])),N(0x8,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0x9,a['ICommandService']),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,p[_0x29ff00(0x38f)]),N(0xc,a[_0x29ff00(0x325)])],le);let ve=class extends be{constructor(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x3be103=!0x1,_0x3990cf,_0x1a6a2e,_0x4ebc39,_0x148e18,_0x5b3c4a,_0x1857d3,_0x581638){const _0xe47095=_0x29ff00;super(_0x274b2b,_0x16baf5,_0x5f55f9,_0x40e0eb,_0x5e287,_0x1a6a2e,_0x4ebc39,_0x5b3c4a,_0x148e18),I(this,_0xe47095(0x2be),_0xe47095(0x3b4)),(this[_0xe47095(0x535)]=_0x3be103,this[_0xe47095(0x590)]=_0x3990cf,this[_0xe47095(0x20f)]=_0x1857d3,this[_0xe47095(0x612)]=_0x581638,this[_0xe47095(0x47a)](),this[_0xe47095(0x41d)](),this['_disableEditing']());}[_0x29ff00(0x5af)](){return this;}['onRemoteChangeset'](){return this;}[_0x29ff00(0x3fb)](){return this;}[_0x29ff00(0x520)](){return this;}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){return this;}['resend'](){const _0x20b983=_0x29ff00;throw new Error(_0x20b983(0x276));}[_0x29ff00(0x41d)](){const _0x38d714=_0x29ff00;this['_localCacheService'][_0x38d714(0x4cf)](this['unitID'],this[_0x38d714(0x2eb)],null,[]);}[_0x29ff00(0x47a)](){const _0x39970c=_0x29ff00;this[_0x39970c(0x535)]?this['_notificationService'][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x50a)),'content':this[_0x39970c(0x20f)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x39970c(0x612)][_0x39970c(0x318)]({'title':this[_0x39970c(0x20f)]['t'](_0x39970c(0x39c)),'content':this[_0x39970c(0x20f)]['t'](_0x39970c(0x54c)),'type':_0x39970c(0x27a),'duration':0x0});}[_0x29ff00(0x677)](){const _0x381029=_0x29ff00;this[_0x381029(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}};ve=Ee([N(0x6,a['Inject'](a[_0x29ff00(0x3d1)])),N(0x7,a[_0x29ff00(0x587)]),N(0x8,a['IUndoRedoService']),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0xb,a[_0x29ff00(0x493)](a['LocaleService'])),N(0xc,te[_0x29ff00(0x351)])],ve);let Se=class extends be{constructor(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x5e99ca,_0x29b50a,_0x3660c2,_0x53d624,_0x217f8f){const _0x33999a=_0x29ff00;super(_0x4981f7,_0xfae497,_0x15103f,_0xdc2e26,_0x28e954,_0x53d624,_0x217f8f,_0x29b50a,_0x3660c2),I(this,_0x33999a(0x2be),_0x33999a(0x4e0)),this[_0x33999a(0x1c1)]=_0x5e99ca;}[_0x29ff00(0x5af)](_0x25ea68){const _0x222f99=_0x29ff00;return this[_0x222f99(0x32a)][_0x222f99(0x3bc)](_0x25ea68),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x169765){const _0x401cd0=_0x29ff00;throw new Error(_0x401cd0(0x3fa));}[_0x29ff00(0x3fb)](){const _0x48df7c=_0x29ff00;throw new Error(_0x48df7c(0x632));}[_0x29ff00(0x520)](){const _0x283769=_0x29ff00;throw new Error(_0x283769(0x487));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){return this;}[_0x29ff00(0x4b5)](){const _0xdaa558=_0x29ff00,{_injector:_0xc6e8a,_pendingMutations:_0x575469,_awaitingChangeset:_0x1904b7,unitID:_0x3df2c7,_handler:_0x15ed55,type:_0x38407b}=this,_0x313d20=gi(_0xc6e8a,_0x3df2c7,_0x38407b,_0x1904b7,_0x575469,_0x15ed55);return _0x313d20 instanceof ce?_0x313d20[_0xdaa558(0x490)]():(_0x313d20 instanceof le||_0x313d20 instanceof fe)&&_0x313d20[_0xdaa558(0x2d1)](),_0x313d20;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};Se=Ee([N(0x5,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x6,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),N(0x7,a['Inject'](exports['LocalCacheService'])),N(0x8,a[_0x29ff00(0x587)]),N(0x9,a['IUndoRedoService'])],Se);let re=class extends be{constructor(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x273f24,_0x3a4908,_0x17db0a,_0x422dbe,_0x123b6e,_0xbba7bd,_0x4cfb4d,_0x268369,_0x2b3578,_0x11c508){const _0xb0395=_0x29ff00;super(_0x411227,_0x4be719,_0x57ea8f,_0x248148,_0x17db0a,_0x268369,_0x2b3578,_0x123b6e,_0xbba7bd),I(this,_0xb0395(0x2be),_0xb0395(0x225)),(this[_0xb0395(0x1ce)]=_0x273f24,this[_0xb0395(0x2ca)]=_0x3a4908,this[_0xb0395(0x1c1)]=_0x422dbe,this[_0xb0395(0x328)]=_0x4cfb4d,this['_transformService']=_0x11c508);}['onMissedChangesetFetched'](_0x7970cc){const _0x241b53=_0x29ff00;try{const _0x50c27e=[..._0x7970cc,...this[_0x241b53(0x2ca)]],_0x5dea74=[this[_0x241b53(0x416)]||this[_0x241b53(0x1ce)]]['filter'](_0x31a0af=>!!_0x31a0af);let _0x38db80,_0x1c9166;if(_0x5dea74[_0x241b53(0x5e7)]){const _0x51ece8=this['_transformService'][_0x241b53(0x507)](_0x50c27e,_0x5dea74,!0x1);if(!p['isTransformChangesetsSuccess'](_0x51ece8))throw _0x51ece8[_0x241b53(0x27a)];_0x38db80=_0x51ece8[_0x241b53(0x315)],_0x1c9166=_0x51ece8[_0x241b53(0x4c3)];}else _0x38db80=_0x50c27e,_0x1c9166=[];let _0x40ffcd=this[_0x241b53(0x32a)];_0x38db80[_0x241b53(0x3a1)](_0x258df9=>{const _0xe0b1b3=_0x241b53;let _0x57e478;if(_0x40ffcd[_0xe0b1b3(0x5e7)]){const _0x5974b2=this[_0xe0b1b3(0x449)][_0xe0b1b3(0x268)](_0x258df9,_0x40ffcd);if(!p['isTransformMutationsWithChangesetSuccess'](_0x5974b2))throw _0x5974b2['error'];_0x57e478=_0x5974b2[_0xe0b1b3(0x315)],_0x40ffcd=_0x5974b2[_0xe0b1b3(0x239)];}else _0x57e478=_0x258df9;this[_0xe0b1b3(0x3de)](_0x57e478);}),this[_0x241b53(0x1ce)]&&this[_0x241b53(0x5c1)](),this[_0x241b53(0x416)]&&_0x1c9166[_0x241b53(0x5e7)]&&(_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)]());let _0xfe1b83;if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]!==0x0)_0xfe1b83=this[_0x241b53(0x1c1)]['createInstance'](le,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x1c9166[0x0],_0x40ffcd,this['_handler'],void 0x0);else{if(this[_0x241b53(0x416)]&&_0x40ffcd[_0x241b53(0x5e7)]===0x0)_0x1c9166[0x0][_0x241b53(0x573)]=this[_0x241b53(0x1d0)](),_0xfe1b83=this[_0x241b53(0x1c1)][_0x241b53(0x527)](fe,this['unitID'],this[_0x241b53(0x2eb)],_0x1c9166[0x0],this[_0x241b53(0x467)]);else{if(_0x40ffcd[_0x241b53(0x5e7)]!==0x0){const _0x46ff36=this['_injector'][_0x241b53(0x527)](ce,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],_0x40ffcd,this[_0x241b53(0x467)]);_0x46ff36[_0x241b53(0x490)](),_0xfe1b83=_0x46ff36;}else _0xfe1b83=this['_injector']['createInstance'](Oe,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_handler']);}}return _0xfe1b83[_0x241b53(0x611)](),_0xfe1b83;}catch(_0x5effc5){return this[_0x241b53(0x328)]['error'](_0x241b53(0x4ae),_0x241b53(0x2c6),_0x5effc5),this[_0x241b53(0x1c1)]['createInstance'](ve,this[_0x241b53(0x553)],this[_0x241b53(0x2eb)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x29ff00(0x2d1)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x29ff00(0x5af)](_0xbff9a3){const _0x21c9b9=_0x29ff00;return this[_0x21c9b9(0x32a)][_0x21c9b9(0x3bc)](_0xbff9a3),this;}['onRemoteChangeset'](_0xac903b){const _0x51b26f=_0x29ff00;return this[_0x51b26f(0x2ca)][_0x51b26f(0x3bc)](_0xac903b),this;}['onRemoteAck'](_0x4a4542){const _0x9795f6=_0x29ff00;if(this[_0x9795f6(0x416)])return this['_acknowledgedAwaitingChangeset']=this[_0x9795f6(0x416)],this[_0x9795f6(0x416)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x1b22b8){const _0x573d47=_0x29ff00;return this[_0x573d47(0x2c4)](!!(_0x1b22b8!=null&&_0x1b22b8[_0x573d47(0x300)]));}[_0x29ff00(0x396)](){return this;}[_0x29ff00(0x2f3)](){const _0x14a6f5=_0x29ff00;return this[_0x14a6f5(0x1c1)]['createInstance'](Se,this[_0x14a6f5(0x553)],this[_0x14a6f5(0x2eb)],this[_0x14a6f5(0x416)],this[_0x14a6f5(0x32a)],this[_0x14a6f5(0x467)]);}[_0x29ff00(0x4b5)](){return this;}['_onConflict'](_0x453e53){const _0x84bf73=_0x29ff00;return this[_0x84bf73(0x1c1)]['createInstance'](ve,this[_0x84bf73(0x553)],this['type'],this[_0x84bf73(0x416)],this[_0x84bf73(0x32a)],this[_0x84bf73(0x467)],_0x453e53);}};re=Ee([N(0x7,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),N(0x8,a[_0x29ff00(0x493)](p['RevisionService'])),N(0x9,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),N(0xa,a[_0x29ff00(0x4ac)]),N(0xb,a[_0x29ff00(0x587)]),N(0xc,a[_0x29ff00(0x325)]),N(0xd,p[_0x29ff00(0x38f)])],re);function gi(_0x15c78c,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb){const _0x54876b=_0x29ff00;return _0x1b5f89&&_0x45ea5b[_0x54876b(0x5e7)]?_0x15c78c[_0x54876b(0x527)](le,_0x5e68db,_0x14eea8,_0x1b5f89,_0x45ea5b,_0x4bc5eb,void 0x0):_0x1b5f89?_0x15c78c[_0x54876b(0x527)](fe,_0x5e68db,_0x14eea8,_0x1b5f89,_0x4bc5eb):_0x45ea5b['length']?_0x15c78c[_0x54876b(0x527)](ce,_0x5e68db,_0x14eea8,_0x45ea5b,_0x4bc5eb):_0x15c78c['createInstance'](Oe,_0x5e68db,_0x14eea8,_0x4bc5eb);}var Vn=Object[_0x29ff00(0x64a)],Gn=Object['getOwnPropertyDescriptor'],Ot=(_0x58fba9,_0x1705d8,_0x138832,_0x41f3f7)=>{const _0x266ccb=_0x29ff00;for(var _0x2aa65d=_0x41f3f7>0x1?void 0x0:_0x41f3f7?Gn(_0x1705d8,_0x138832):_0x1705d8,_0x3ed92b=_0x58fba9[_0x266ccb(0x5e7)]-0x1,_0x4a09eb;_0x3ed92b>=0x0;_0x3ed92b--)(_0x4a09eb=_0x58fba9[_0x3ed92b])&&(_0x2aa65d=(_0x41f3f7?_0x4a09eb(_0x1705d8,_0x138832,_0x2aa65d):_0x4a09eb(_0x2aa65d))||_0x2aa65d);return _0x41f3f7&&_0x2aa65d&&Vn(_0x1705d8,_0x138832,_0x2aa65d),_0x2aa65d;},H=(_0x22d736,_0x59a6f0)=>(_0x4fffd9,_0x4823c0)=>_0x59a6f0(_0x4fffd9,_0x4823c0,_0x22d736);exports[_0x29ff00(0x21e)]=class extends a['RxDisposable']{constructor(_0x2833ce,_0x160a5c,_0x4e7378,_0x430d1c,_0x2f5447,_0x5415a7,_0x346243,_0x303cf1,_0x20bd19,_0x3a0dd8,_0x347aac,_0x427877,_0x4457e4){const _0x1047fc=_0x29ff00;super(),I(this,'_state$',new A[(_0x1047fc(0x26c))](null)),I(this,_0x1047fc(0x4bf),this[_0x1047fc(0x36d)][_0x1047fc(0x4c6)]()),I(this,'_state'),I(this,'_collaborationPaused',!0x1),I(this,_0x1047fc(0x3d8),''),I(this,_0x1047fc(0x3b5),0x0),I(this,_0x1047fc(0x405),this[_0x1047fc(0x4bf)]['pipe'](A[_0x1047fc(0x4db)](_0x34648d=>_0x34648d?_0x34648d[_0x1047fc(0x2be)]:q['OFFLINE']),A['shareReplay'](0x1))),I(this,_0x1047fc(0x673),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x1047fc(0x553)]=_0x2833ce,this['session']=_0x160a5c,this[_0x1047fc(0x201)]=_0x4e7378,this[_0x1047fc(0x1c1)]=_0x430d1c,this['_localCacheService']=_0x2f5447,this['_compressMutationService']=_0x5415a7,this[_0x1047fc(0x20f)]=_0x346243,this[_0x1047fc(0x2a8)]=_0x303cf1,this[_0x1047fc(0x328)]=_0x20bd19,this['_commandService']=_0x3a0dd8,this['_messageService']=_0x347aac,this[_0x1047fc(0x590)]=_0x427877,this['_singleActiveUnitService']=_0x4457e4);}get[_0x29ff00(0x1d2)](){const _0x253cf1=_0x29ff00;return this[_0x253cf1(0x5d1)];}async[_0x29ff00(0x334)](){const _0x4fac84=_0x29ff00;if(this[_0x4fac84(0x1d2)])throw new Error(_0x4fac84(0x4d3));await this[_0x4fac84(0x5c4)]();}[_0x29ff00(0x304)](){const _0x4a32dc=_0x29ff00;return this[_0x4a32dc(0x2a4)]=!0x0,a['toDisposable'](()=>{const _0x58c8eb=_0x4a32dc;this['_collaborationPaused']=!0x1,this[_0x58c8eb(0x21c)]();});}[_0x29ff00(0x1f0)](_0x5d43b3){const _0x4d5731=_0x29ff00;this['_state']=_0x5d43b3,this['_state$'][_0x4d5731(0x49f)](_0x5d43b3);}async[_0x29ff00(0x5c4)](){const _0x2ef1db=_0x29ff00;var _0x591a96;this[_0x2ef1db(0x1f0)](await this[_0x2ef1db(0x269)]()),this[_0x2ef1db(0x2d5)]&&((_0x591a96=this[_0x2ef1db(0x2d5)])==null||_0x591a96['editingUnit'](this[_0x2ef1db(0x553)]),this['disposeWithMe'](this[_0x2ef1db(0x2d5)][_0x2ef1db(0x1ff)](this[_0x2ef1db(0x553)])[_0x2ef1db(0x58f)](_0x468bf6=>{const _0x564c84=_0x2ef1db;this[_0x564c84(0x328)][_0x564c84(0x226)](_0x564c84(0x502),_0x564c84(0x5e2),_0x468bf6),_0x468bf6===vi['OTHER_CLIENTS_EDITING']?(this[_0x564c84(0x47e)][_0x564c84(0x318)]({'content':this['_localeService']['t'](_0x564c84(0x3c1)),'type':Ce[_0x564c84(0x506)]['Warning']}),this[_0x564c84(0x590)][_0x564c84(0x366)](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x1),this[_0x564c84(0x590)][_0x564c84(0x357)](!0x1)):(this[_0x564c84(0x590)]['updatePermissionPoint'](new k[(_0x564c84(0x58d))](this[_0x564c84(0x553)])['id'],!0x0),this[_0x564c84(0x590)]['setShowComponents'](!0x0));})));let _0xb824b=!0x1;return this['disposeWithMe'](this[_0x2ef1db(0x257)]['sessionStatus$']['subscribe'](_0x52fb5f=>{const _0x1ad996=_0x2ef1db;_0x52fb5f===se['ONLINE']?this['_toggleOnline'](_0xb824b):_0x52fb5f===se[_0x1ad996(0x548)]&&(_0xb824b=!0x0,this[_0x1ad996(0x223)]());})),this['disposeWithMe'](this[_0x2ef1db(0x257)][_0x2ef1db(0x48a)][_0x2ef1db(0x58f)](_0x590954=>{const _0x3d26d6=_0x2ef1db;try{switch(_0x590954[_0x3d26d6(0x55b)]){case p[_0x3d26d6(0x259)][_0x3d26d6(0x402)]:{this[_0x3d26d6(0x212)](p[_0x3d26d6(0x608)](_0x590954['data']));break;}case p['CollaborationEvent'][_0x3d26d6(0x249)]:{this['_onRemoteACK'](_0x590954[_0x3d26d6(0x3eb)]);break;}case p['CollaborationEvent'][_0x3d26d6(0x55a)]:{this[_0x3d26d6(0x480)]();break;}case p[_0x3d26d6(0x259)]['CHANGESET_SHOULD_RETRY']:{this[_0x3d26d6(0x4be)](_0x590954[_0x3d26d6(0x3eb)]);break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4e6)]:{this[_0x3d26d6(0x28b)](_0x590954['data'][_0x3d26d6(0x684)][_0x3d26d6(0x4db)](_0x10ed70=>p['parseProtocolChangeset'](_0x10ed70)));break;}case p[_0x3d26d6(0x259)][_0x3d26d6(0x4f1)]:this[_0x3d26d6(0x480)]({'isPermissionRej':!0x0});}}catch(_0x3047a3){throw console[_0x3d26d6(0x27a)]('Error\x20on\x20receiving\x20event',_0x3047a3),_0x3047a3;}})),this['_state'];}[_0x29ff00(0x652)](){this['_transitionLocked']=!0x1;}[_0x29ff00(0x531)](){const _0x3337c7=_0x29ff00;if(this[_0x3337c7(0x673)])throw new Error(_0x3337c7(0x340));this[_0x3337c7(0x673)]=!0x0;}[_0x29ff00(0x65a)](_0x2d1265){const _0x8ad526=_0x29ff00;this[_0x8ad526(0x531)](),this[_0x8ad526(0x1f0)](this[_0x8ad526(0x5d1)]['appendMutation'](_0x2d1265)),this[_0x8ad526(0x652)]();}[_0x29ff00(0x212)](_0x545890){const _0x48ecab=_0x29ff00;if(!(_0x545890[_0x48ecab(0x5fe)]<=this[_0x48ecab(0x2a8)][_0x48ecab(0x309)](this[_0x48ecab(0x553)]))){if(this[_0x48ecab(0x2a4)]){this[_0x48ecab(0x4e8)]['push'](_0x545890);return;}this[_0x48ecab(0x65b)](_0x545890);}}[_0x29ff00(0x21c)](){const _0x39aced=_0x29ff00;this[_0x39aced(0x4e8)][_0x39aced(0x3a1)](_0x3e31b6=>this[_0x39aced(0x65b)](_0x3e31b6)),this[_0x39aced(0x4e8)]=[];}[_0x29ff00(0x65b)](_0x10dc7c){const _0x1b1f00=_0x29ff00,_0xfdc15=this[_0x1b1f00(0x5f5)]['interceptor'][_0x1b1f00(0x5f0)](this[_0x1b1f00(0x5f5)][_0x1b1f00(0x48d)]['getInterceptPoints']()[_0x1b1f00(0x56b)])(_0x10dc7c[_0x1b1f00(0x219)],null)||_0x10dc7c[_0x1b1f00(0x219)],_0x585e2e={..._0x10dc7c,'mutations':_0xfdc15};this['_lockTransition'](),this['_updateState'](this[_0x1b1f00(0x5d1)][_0x1b1f00(0x4c5)](_0x585e2e)),this['_unlockTransition']();}[_0x29ff00(0x2a9)](_0x2da6fe){const _0x41dc0e=_0x29ff00;this['_lockTransition'](),this[_0x41dc0e(0x1f0)](this[_0x41dc0e(0x5d1)][_0x41dc0e(0x3fb)](_0x2da6fe)),this[_0x41dc0e(0x652)]();}[_0x29ff00(0x480)](_0x514e1c){const _0x20a084=_0x29ff00;this[_0x20a084(0x531)](),this[_0x20a084(0x1f0)](this['_state'][_0x20a084(0x520)](_0x514e1c)),this['_unlockTransition']();}[_0x29ff00(0x4be)](_0x3024fd){const _0x3f4642=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x3f4642(0x5d1)][_0x3f4642(0x396)](_0x3024fd)),this[_0x3f4642(0x652)]();}[_0x29ff00(0x28b)](_0x30f4f9){const _0x3a1fa5=_0x29ff00;if(!(this[_0x3a1fa5(0x5d1)]instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x11196e=_0x30f4f9['map'](_0x4d1992=>{const _0x15dd66=_0x3a1fa5,_0x28ec67=this[_0x15dd66(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x15dd66(0x5f5)]['interceptor'][_0x15dd66(0x5f4)]()[_0x15dd66(0x56b)])(_0x4d1992[_0x15dd66(0x219)],null)||_0x4d1992[_0x15dd66(0x219)];return{..._0x4d1992,'mutations':_0x28ec67};});this[_0x3a1fa5(0x531)](),this[_0x3a1fa5(0x1f0)](this[_0x3a1fa5(0x5d1)][_0x3a1fa5(0x584)](_0x11196e)),this[_0x3a1fa5(0x652)]();}[_0x29ff00(0x223)](){const _0x19b900=_0x29ff00;this['_lockTransition'](),this[_0x19b900(0x1f0)](this[_0x19b900(0x5d1)][_0x19b900(0x2f3)]()),this[_0x19b900(0x652)]();}[_0x29ff00(0x5d4)](_0x50cfb5=!0x1){const _0x184b21=_0x29ff00;this['_lockTransition'](),this['_updateState'](this[_0x184b21(0x5d1)]['toggleOnline']()),this['_unlockTransition']();const _0x3cd8b1=this[_0x184b21(0x5d1)];_0x50cfb5&&_0x3cd8b1 instanceof Oe&&(this[_0x184b21(0x531)](),this[_0x184b21(0x1f0)](_0x3cd8b1['fetchMiss']()),this[_0x184b21(0x652)]());}async['_createInitialState'](){return new Promise(_0x50074b=>{const _0x3e4404=_0x2f26;this['session'][_0x3e4404(0x299)]['pipe'](A[_0x3e4404(0x3d7)](0x1))[_0x3e4404(0x58f)](async _0x408361=>{const _0x1196df=_0x3e4404;_0x50074b(await this[_0x1196df(0x319)](_0x408361===se[_0x1196df(0x572)]));});});}[_0x29ff00(0x2a3)](){const _0xc131cc=_0x29ff00,_0x49b60e=this[_0xc131cc(0x553)];return{'onStateChange':(_0x1f1143,_0x35c35f)=>{const _0x4583b3=_0xc131cc;if(_0x1f1143!==this[_0x4583b3(0x5d1)])throw new Error(_0x4583b3(0x389)+_0x1f1143[_0x4583b3(0x2be)]+'\x0aAfter:\x20'+_0x35c35f[_0x4583b3(0x2be)]+_0x4583b3(0x33e)+this[_0x4583b3(0x5d1)]['status']);this[_0x4583b3(0x1f0)](_0x35c35f);},'onSendChangeset':_0x1ceaa0=>{const _0x42f0df=_0xc131cc;_0x1ceaa0[_0x42f0df(0x585)]||(_0x1ceaa0['sid']=this[_0x42f0df(0x3d8)],_0x1ceaa0[_0x42f0df(0x44e)]=++this['_changesetReqId']);const _0x331243={'eventID':p[_0x42f0df(0x259)][_0x42f0df(0x2c8)],'data':{'unitID':_0x1ceaa0[_0x42f0df(0x553)],'unitType':this[_0x42f0df(0x201)],'changeset':_0x1ceaa0,'memberID':this[_0x42f0df(0x257)][_0x42f0df(0x40a)]()}};this[_0x42f0df(0x257)][_0x42f0df(0x385)](_0x331243,this[_0x42f0df(0x553)]);},'onMissingChangesets':({from:_0x1f4820,to:_0x384e91})=>{const _0x4339a6=_0xc131cc;this['_logService'][_0x4339a6(0x226)](_0x4339a6(0x502),_0x4339a6(0x4e4)+_0x1f4820+_0x4339a6(0x446)+_0x384e91);const _0x3b7798={'eventID':p[_0x4339a6(0x259)][_0x4339a6(0x414)],'data':{'unitID':_0x49b60e,'unitType':this[_0x4339a6(0x201)],'from':_0x1f4820,'to':_0x384e91}};this['session']['send'](_0x3b7798,this[_0x4339a6(0x553)]);}};}async[_0x29ff00(0x319)](_0x2104c2){const _0x4c94e1=_0x29ff00;var _0x3e71e6,_0x1f7181;const _0x2e1505=await this['_localCacheService'][_0x4c94e1(0x26d)](this[_0x4c94e1(0x553)]),_0x4888f4=(_0x3e71e6=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x219)])!=null?_0x3e71e6:[],_0xcb74de=(_0x1f7181=_0x2e1505==null?void 0x0:_0x2e1505[_0x4c94e1(0x247)])!=null?_0x1f7181:null,_0x467acb=!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x585)])&&!!(_0xcb74de!=null&&_0xcb74de[_0x4c94e1(0x44e)]);this['_changesetSessionId']=_0x467acb?_0xcb74de['sid']:In(),this['_changesetReqId']=_0x467acb?_0xcb74de[_0x4c94e1(0x44e)]:0x0;const _0x5b7926=this[_0x4c94e1(0x553)];try{this[_0x4c94e1(0x680)](_0xcb74de,_0x4888f4);}catch(_0x410a20){this[_0x4c94e1(0x328)][_0x4c94e1(0x27a)](_0x410a20);}const _0x27a4de=this[_0x4c94e1(0x2a3)]();if(_0x2104c2){const _0x38fecd=gi(this[_0x4c94e1(0x1c1)],_0x5b7926,this[_0x4c94e1(0x201)],_0xcb74de,_0x4888f4,_0x27a4de);return _0x38fecd instanceof ce?_0x38fecd[_0x4c94e1(0x490)]():(_0x38fecd instanceof le||_0x38fecd instanceof fe)&&_0x38fecd['resend'](),_0x38fecd;}return this['_injector'][_0x4c94e1(0x527)](Se,_0x5b7926,this['_type'],_0xcb74de,_0x4888f4,_0x27a4de);}[_0x29ff00(0x680)](_0x4324ec,_0xc36787){const _0x2c33ce=_0x29ff00;var _0x29ca63,_0x5edd86;const _0x2709e6=this[_0x2c33ce(0x5f5)]['interceptor']['fetchThroughInterceptors'](this[_0x2c33ce(0x5f5)]['interceptor']['getInterceptPoints']()[_0x2c33ce(0x56b)]);(_0x29ca63=_0x2709e6((_0x4324ec==null?void 0x0:_0x4324ec[_0x2c33ce(0x219)])||[],null))==null||_0x29ca63[_0x2c33ce(0x3a1)](_0x1aea94=>this[_0x2c33ce(0x5b4)]['executeCommand'](_0x1aea94['id'],_0x1aea94[_0x2c33ce(0x447)])),(_0x5edd86=_0x2709e6(_0xc36787||[],null))==null||_0x5edd86[_0x2c33ce(0x3a1)](_0x34f8e2=>this[_0x2c33ce(0x5b4)][_0x2c33ce(0x645)](_0x34f8e2['id'],_0x34f8e2[_0x2c33ce(0x447)]));}},exports[_0x29ff00(0x21e)]=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a['Inject'](a[_0x29ff00(0x430)])),H(0x7,a[_0x29ff00(0x493)](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x4ac)]),H(0x9,a['ICommandService']),H(0xa,te[_0x29ff00(0x47f)]),H(0xb,a[_0x29ff00(0x3d1)]),H(0xc,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x21e)]),exports[_0x29ff00(0x5dd)]=class extends exports['CollaborationEntity']{constructor(_0x8c973c,_0x424c0a,_0x16e92f,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x3a7ecf,_0x1e2d26,_0x4776ed,_0x5e2454,_0x1c91bd,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037){const _0x57341b=_0x29ff00;super(_0x8c973c,_0x16e92f,_0x424c0a,_0x2fa510,_0x231082,_0x5836a9,_0x5f0b98,_0x24401e,_0x57590e,_0xb9bf2b,_0x185eab,_0x288ee9,_0x182037),this[_0x57341b(0x553)]=_0x8c973c,this['type']=_0x424c0a,this[_0x57341b(0x1cc)]=_0x3a7ecf,this[_0x57341b(0x2ed)]=_0x1e2d26,this[_0x57341b(0x5eb)]=_0x4776ed,this[_0x57341b(0x330)]=_0x5e2454,this['_docSyncEditingCollabCursorService']=_0x1c91bd;}[_0x29ff00(0x2a3)](){const _0x20ff1c=_0x29ff00,_0x532888=super['_createHandler']();return _0x532888[_0x20ff1c(0x420)]=_0x25ad31=>this[_0x20ff1c(0x2ed)]['transformIMECache'](_0x25ad31),_0x532888['onTransformState']=_0x2d6233=>this[_0x20ff1c(0x5eb)][_0x20ff1c(0x46f)](_0x2d6233),_0x532888['onTransformSelections']=_0x145c90=>this[_0x20ff1c(0x330)][_0x20ff1c(0x2c1)](_0x145c90),_0x532888[_0x20ff1c(0x46b)]=_0x56b722=>this[_0x20ff1c(0x1f7)][_0x20ff1c(0x329)](_0x56b722),_0x532888['onTransformRemoteChangesetByIMECache']=_0x2c5a17=>this['_docTransformIMECacheService'][_0x20ff1c(0x5ef)](_0x2c5a17),_0x532888['onTransformRemoteChangesetByStateCache']=_0x1023ba=>this[_0x20ff1c(0x5eb)]['transformRemoteChangeset'](_0x1023ba),_0x532888;}async[_0x29ff00(0x5c4)](){const _0x73d7d6=_0x29ff00,_0x462d98=await super['_init']();return this[_0x73d7d6(0x665)](this[_0x73d7d6(0x1cc)]['docStateChange$'][_0x73d7d6(0x619)](A[_0x73d7d6(0x264)](this['dispose$']))['subscribe'](_0x37543f=>{const _0x2a254b=_0x73d7d6;if(_0x37543f==null)return;const {unitId:_0x1c94a4,redoState:_0x2fc778,commandId:_0x40a3b0}=_0x37543f;if(_0x1c94a4!==this['unitID'])return;const _0x118cef={'id':_0x40a3b0,'type':a[_0x2a254b(0x688)][_0x2a254b(0x501)],'params':{'unitId':_0x1c94a4,'actions':_0x2fc778[_0x2a254b(0x4fc)],'textRanges':null}};this[_0x2a254b(0x65a)](_0x118cef);})),this['disposeWithMe'](this[_0x73d7d6(0x5b4)][_0x73d7d6(0x3f0)]((_0x328fbc,_0x26ec82)=>{const _0x2bd4d4=_0x73d7d6;if(_0x328fbc[_0x2bd4d4(0x2eb)]!==a[_0x2bd4d4(0x688)]['MUTATION']||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x2ea)]||_0x26ec82!=null&&_0x26ec82[_0x2bd4d4(0x205)]||_0x328fbc['id']===Ie[_0x2bd4d4(0x344)]['id'])return;const _0xe80703=_0x328fbc[_0x2bd4d4(0x447)];if((_0xe80703==null?void 0x0:_0xe80703['unitId'])!==this['unitID'])return;const _0x506afa=_0x328fbc,_0x2ff636=this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f0)](this[_0x2bd4d4(0x5f5)][_0x2bd4d4(0x48d)][_0x2bd4d4(0x5f4)]()[_0x2bd4d4(0x57f)])([_0x506afa],null)||[_0x506afa];this['_onLocalMutation'](_0x2ff636[0x0]);})),_0x462d98;}},exports['DocCollaborationEntity']=Ot([H(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),H(0x4,a['Inject'](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a[_0x29ff00(0x493)](J['DocStateChangeManagerService'])),H(0x9,a[_0x29ff00(0x493)](Be)),H(0xa,a[_0x29ff00(0x493)](We)),H(0xb,a[_0x29ff00(0x493)](Fe)),H(0xc,a[_0x29ff00(0x493)](yt)),H(0xd,a[_0x29ff00(0x4ac)]),H(0xe,a['ICommandService']),H(0xf,te['IMessageService']),H(0x10,a[_0x29ff00(0x3d1)]),H(0x11,a[_0x29ff00(0x437)](ze))],exports[_0x29ff00(0x5dd)]),exports['SheetCollaborationEntity']=class extends exports[_0x29ff00(0x21e)]{constructor(_0x572828,_0x176339,_0x2ff00,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0x4f85fd,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a){const _0x3c8dc8=_0x29ff00;super(_0x572828,_0x2ff00,_0x176339,_0x347df6,_0x3defdc,_0x525edd,_0x495dcb,_0x5b3b78,_0xb954f8,_0x31277d,_0x5c90d2,_0x3ecd55,_0x1c6b3a),this[_0x3c8dc8(0x553)]=_0x572828,this['type']=_0x176339,this[_0x3c8dc8(0x4df)]=_0x4f85fd;}['_createHandler'](){const _0x41209a=_0x29ff00,_0xc49e7e=super[_0x41209a(0x2a3)]();return _0xc49e7e[_0x41209a(0x289)]=_0x38b6f1=>this['_sheetTransformSelectionsService'][_0x41209a(0x2c1)](_0x38b6f1),_0xc49e7e;}async['_init'](){const _0x20126d=_0x29ff00,_0xc095bb=await super['_init']();return this[_0x20126d(0x665)](this[_0x20126d(0x5b4)][_0x20126d(0x3f0)]((_0x1d764e,_0x53d194)=>{const _0x3818b4=_0x20126d;if(_0x1d764e[_0x3818b4(0x2eb)]!==a[_0x3818b4(0x688)]['MUTATION']||_0x53d194!=null&&_0x53d194[_0x3818b4(0x2ea)]||_0x53d194!=null&&_0x53d194[_0x3818b4(0x205)])return;const _0x422768=_0x1d764e[_0x3818b4(0x447)];if((_0x422768==null?void 0x0:_0x422768[_0x3818b4(0x21b)])!==this[_0x3818b4(0x553)])return;const _0x50fa92=_0x1d764e,_0xcb9060=this[_0x3818b4(0x5f5)]['interceptor'][_0x3818b4(0x5f0)](this['_compressMutationService'][_0x3818b4(0x48d)]['getInterceptPoints']()[_0x3818b4(0x57f)])([_0x50fa92],null)||[_0x50fa92];this['_onLocalMutation'](_0xcb9060[0x0]);})),_0xc095bb;}},exports[_0x29ff00(0x5cd)]=Ot([H(0x3,a['Inject'](a[_0x29ff00(0x615)])),H(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),H(0x5,a[_0x29ff00(0x493)](p[_0x29ff00(0x31b)])),H(0x6,a[_0x29ff00(0x493)](a[_0x29ff00(0x430)])),H(0x7,a['Inject'](p[_0x29ff00(0x59a)])),H(0x8,a['Inject'](ke)),H(0x9,a[_0x29ff00(0x4ac)]),H(0xa,a[_0x29ff00(0x587)]),H(0xb,te[_0x29ff00(0x47f)]),H(0xc,a['IPermissionService']),H(0xd,a['Optional'](ze))],exports[_0x29ff00(0x5cd)]);var Yn=Object[_0x29ff00(0x64a)],Kn=Object['getOwnPropertyDescriptor'],qn=(_0x5db910,_0x5ef03e,_0x3b3cb6,_0xd372f1)=>{const _0x39828b=_0x29ff00;for(var _0x1a784f=_0xd372f1>0x1?void 0x0:_0xd372f1?Kn(_0x5ef03e,_0x3b3cb6):_0x5ef03e,_0x42d3cc=_0x5db910[_0x39828b(0x5e7)]-0x1,_0xa4d0ed;_0x42d3cc>=0x0;_0x42d3cc--)(_0xa4d0ed=_0x5db910[_0x42d3cc])&&(_0x1a784f=(_0xd372f1?_0xa4d0ed(_0x5ef03e,_0x3b3cb6,_0x1a784f):_0xa4d0ed(_0x1a784f))||_0x1a784f);return _0xd372f1&&_0x1a784f&&Yn(_0x5ef03e,_0x3b3cb6,_0x1a784f),_0x1a784f;},it=(_0x51545e,_0x3d2ae7)=>(_0x1af94e,_0x3b7fe5)=>_0x3d2ae7(_0x1af94e,_0x3b7fe5,_0x51545e);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x30aca5,_0x1d0196,_0x403a3e){const _0x33b534=_0x29ff00;super(),I(this,_0x33b534(0x221),new Map()),I(this,_0x33b534(0x23b),new A[(_0x33b534(0x534))]()),(this['_injector']=_0x30aca5,this[_0x33b534(0x653)]=_0x1d0196,this[_0x33b534(0x600)]=_0x403a3e,this[_0x33b534(0x5c4)]());}['dispose'](){const _0x227e53=_0x29ff00;super[_0x227e53(0x5e6)](),this[_0x227e53(0x221)][_0x227e53(0x3a1)](_0x13d72e=>_0x13d72e['dispose']()),this[_0x227e53(0x221)]['clear']();}[_0x29ff00(0x55f)](_0x14703f){const _0x479e27=_0x29ff00;var _0x1dfe32;return(_0x1dfe32=this[_0x479e27(0x221)][_0x479e27(0x2ef)](_0x14703f))!=null?_0x1dfe32:null;}[_0x29ff00(0x388)](_0x3a4b09){const _0xe7e556=_0x29ff00,_0x5c9441=this[_0xe7e556(0x55f)](_0x3a4b09);return _0x5c9441?A['of'](_0x5c9441):this[_0xe7e556(0x23b)][_0xe7e556(0x619)](V[_0xe7e556(0x604)](_0x51994f=>_0x51994f[_0xe7e556(0x553)]===_0x3a4b09));}[_0x29ff00(0x5c4)](){const _0xa202e7=_0x29ff00;this[_0xa202e7(0x600)][_0xa202e7(0x460)](a['UniverInstanceType'][_0xa202e7(0x3d0)])['pipe'](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x58f)](async _0x4e9243=>{const _0x14b4e8=_0xa202e7,_0x29830f=_0x4e9243[_0x14b4e8(0x621)](),_0x38bbf2=await this[_0x14b4e8(0x500)](_0x29830f,ne['UNIVER_SHEET']);this['_entities'][_0x14b4e8(0x20a)](_0x29830f,_0x38bbf2);}),this[_0xa202e7(0x600)][_0xa202e7(0x460)](a[_0xa202e7(0x5ce)][_0xa202e7(0x4f0)])[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]),V[_0xa202e7(0x3bd)](0x10))[_0xa202e7(0x619)](V[_0xa202e7(0x604)](_0x16b6cb=>!_0x16b6cb[_0xa202e7(0x621)]()[_0xa202e7(0x66a)]('__')))[_0xa202e7(0x58f)](async _0x1a6cd1=>{const _0x17f0e1=_0xa202e7,_0x4ff208=_0x1a6cd1[_0x17f0e1(0x621)](),_0x1f80ed=await this[_0x17f0e1(0x500)](_0x4ff208,ne[_0x17f0e1(0x4f0)]);this[_0x17f0e1(0x221)]['set'](_0x4ff208,_0x1f80ed);}),A[_0xa202e7(0x5ed)](this['_univerInstanceService'][_0xa202e7(0x365)](a[_0xa202e7(0x5ce)][_0xa202e7(0x3d0)]),this[_0xa202e7(0x600)][_0xa202e7(0x365)](a['UniverInstanceType'][_0xa202e7(0x4f0)]))[_0xa202e7(0x619)](A[_0xa202e7(0x264)](this[_0xa202e7(0x2b6)]))[_0xa202e7(0x58f)](_0x143754=>{const _0xeedd2=_0xa202e7,_0x50b74b=_0x143754[_0xeedd2(0x621)](),_0x5a1b1e=this['_entities'][_0xeedd2(0x2ef)](_0x50b74b);_0x5a1b1e&&(_0x5a1b1e[_0xeedd2(0x5e6)](),this[_0xeedd2(0x221)][_0xeedd2(0x3dc)](_0x50b74b));});}async['_startCollaboration'](_0x353db0,_0x1e7c5e){const _0x263b0c=_0x29ff00,_0x3c4baa=await this[_0x263b0c(0x653)]['requireSession'](_0x353db0),_0x149bbe=this[_0x263b0c(0x1c1)][_0x263b0c(0x527)](this[_0x263b0c(0x47b)](_0x1e7c5e),_0x353db0,_0x1e7c5e,_0x3c4baa);return await _0x149bbe[_0x263b0c(0x334)](),this[_0x263b0c(0x23b)][_0x263b0c(0x49f)](_0x149bbe),_0x149bbe;}[_0x29ff00(0x47b)](_0x3bcdd2){const _0x36a95b=_0x29ff00;switch(_0x3bcdd2){case ne[_0x36a95b(0x4f0)]:return exports['DocCollaborationEntity'];case ne[_0x36a95b(0x3d0)]:return exports[_0x36a95b(0x5cd)];default:throw new Error(_0x36a95b(0x4fb)+_0x3bcdd2);}}},exports[_0x29ff00(0x323)]=qn([it(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),it(0x1,a[_0x29ff00(0x493)](exports['CollaborationSessionService'])),it(0x2,a['IUniverInstanceService'])],exports[_0x29ff00(0x323)]);var zn=Object[_0x29ff00(0x64a)],Xn=Object[_0x29ff00(0x316)],Jn=(_0x691a60,_0x18168a,_0x3a2ae0,_0x5316ed)=>{const _0x5cb4a0=_0x29ff00;for(var _0x4fb858=_0x5316ed>0x1?void 0x0:_0x5316ed?Xn(_0x18168a,_0x3a2ae0):_0x18168a,_0x4379de=_0x691a60[_0x5cb4a0(0x5e7)]-0x1,_0x4233e0;_0x4379de>=0x0;_0x4379de--)(_0x4233e0=_0x691a60[_0x4379de])&&(_0x4fb858=(_0x5316ed?_0x4233e0(_0x18168a,_0x3a2ae0,_0x4fb858):_0x4233e0(_0x4fb858))||_0x4fb858);return _0x5316ed&&_0x4fb858&&zn(_0x18168a,_0x3a2ae0,_0x4fb858),_0x4fb858;},Bt=(_0x16ad59,_0x2478cb)=>(_0x39d78e,_0x45a125)=>_0x2478cb(_0x39d78e,_0x45a125,_0x16ad59);let Ve=class extends a[_0x29ff00(0x4b0)]{constructor(_0x637dd5,_0x22b9c3){const _0x1344e0=_0x29ff00;super(),this[_0x1344e0(0x51e)]=_0x637dd5,this[_0x1344e0(0x433)]=_0x22b9c3,this['_init']();}['_init'](){const _0x12dac7=_0x29ff00,_0x41faea=this;this[_0x12dac7(0x665)](this[_0x12dac7(0x51e)][_0x12dac7(0x586)]({'onBeforePasteImage':async _0x162c36=>{const _0x41eaf1=_0x12dac7,_0x496761=await _0x41faea[_0x41eaf1(0x433)][_0x41eaf1(0x3f6)](_0x162c36);return _0x496761?{'source':_0x496761[_0x41eaf1(0x214)],'imageSourceType':_0x496761[_0x41eaf1(0x248)]}:null;}}));}};Ve=Jn([Bt(0x0,J[_0x29ff00(0x222)]),Bt(0x1,ie[_0x29ff00(0x509)])],Ve);const kt=[_0x29ff00(0x2b9),_0x29ff00(0x333),_0x29ff00(0x46d),'red300',_0x29ff00(0x362),_0x29ff00(0x1f5)];class Dt extends a[_0x29ff00(0x331)]{constructor(){const _0x408b51=_0x29ff00;super(...arguments),I(this,'_assignedColors',new Map()),I(this,_0x408b51(0x668),0x0);}[_0x29ff00(0x255)](_0x4a0403){const _0x4b46f5=_0x29ff00;if(this[_0x4b46f5(0x67f)][_0x4b46f5(0x38d)](_0x4a0403))return this['_assignedColors'][_0x4b46f5(0x2ef)](_0x4a0403);const _0x391d74=kt[this['_colorIndex']];return this[_0x4b46f5(0x668)]=(this[_0x4b46f5(0x668)]+0x1)%kt[_0x4b46f5(0x5e7)],this['_assignedColors'][_0x4b46f5(0x20a)](_0x4a0403,_0x391d74),_0x391d74;}}var Zn=Object['defineProperty'],Qn=Object[_0x29ff00(0x316)],es=(_0x3e5b2e,_0xdab1f8,_0xfb0ff3,_0x152f39)=>{const _0x34b3cf=_0x29ff00;for(var _0x31afd2=_0x152f39>0x1?void 0x0:_0x152f39?Qn(_0xdab1f8,_0xfb0ff3):_0xdab1f8,_0x2b230b=_0x3e5b2e[_0x34b3cf(0x5e7)]-0x1,_0x4908ce;_0x2b230b>=0x0;_0x2b230b--)(_0x4908ce=_0x3e5b2e[_0x2b230b])&&(_0x31afd2=(_0x152f39?_0x4908ce(_0xdab1f8,_0xfb0ff3,_0x31afd2):_0x4908ce(_0x31afd2))||_0x31afd2);return _0x152f39&&_0x31afd2&&Zn(_0xdab1f8,_0xfb0ff3,_0x31afd2),_0x31afd2;},me=(_0x3297cf,_0x20c8a2)=>(_0x149733,_0x478241)=>_0x20c8a2(_0x149733,_0x478241,_0x3297cf);const ts=0x12c,is=0x64;let pt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xfa4228,_0x5c7009,_0x2e0e7b,_0x2c5356,_0x4ec6af,_0x203397,_0x48dfd9,_0xc30461,_0x33d35d){const _0x3dfdf0=_0x29ff00;super(),I(this,_0x3dfdf0(0x35c),!0x1),I(this,_0x3dfdf0(0x5c4),!0x1),I(this,_0x3dfdf0(0x278),new A[(_0x3dfdf0(0x26c))](new Map())),I(this,_0x3dfdf0(0x36e),this[_0x3dfdf0(0x278)][_0x3dfdf0(0x4c6)]()),I(this,'_roomMembers$',new A[(_0x3dfdf0(0x26c))]([])),I(this,_0x3dfdf0(0x647),this[_0x3dfdf0(0x5e9)][_0x3dfdf0(0x619)](A[_0x3dfdf0(0x54d)](ts))),I(this,'_updateLocalCursor',a[_0x3dfdf0(0x242)](_0x1ee67a=>{const _0x17a37f=_0x3dfdf0,_0x4cbeb6={'eventID':p[_0x17a37f(0x259)][_0x17a37f(0x435)],'data':{'unitID':this['unitID'],'memberID':this[_0x17a37f(0x37d)][_0x17a37f(0x40a)](),'selection':Si(_0x1ee67a)}};this['_session']['send'](_0x4cbeb6,this[_0x17a37f(0x553)]);},is)),(this[_0x3dfdf0(0x553)]=_0xfa4228,this[_0x3dfdf0(0x37d)]=_0x5c7009,this[_0x3dfdf0(0x1c1)]=_0x2e0e7b,this[_0x3dfdf0(0x4e1)]=_0x2c5356,this['_memberService']=_0x4ec6af,this['_syncEditingCollabCursorService']=_0x203397,this['_transformService']=_0x48dfd9,this['_univerInstanceService']=_0xc30461,this[_0x3dfdf0(0x5b4)]=_0x33d35d);}get[_0x29ff00(0x3ec)](){const _0x37d75b=_0x29ff00;return this[_0x37d75b(0x278)][_0x37d75b(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x3dd6ad=_0x29ff00;return this[_0x3dd6ad(0x5e9)][_0x3dd6ad(0x42e)]();}['dispose'](){const _0x47ece9=_0x29ff00;super[_0x47ece9(0x5e6)](),this[_0x47ece9(0x278)][_0x47ece9(0x49f)](new Map()),this[_0x47ece9(0x278)][_0x47ece9(0x22e)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x47ece9(0x22e)]();}[_0x29ff00(0x334)](){const _0x5bd68f=_0x29ff00;this[_0x5bd68f(0x5c4)]||(this[_0x5bd68f(0x5c4)]=!0x0,this['_session'][_0x5bd68f(0x299)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this[_0x5bd68f(0x2b6)]))[_0x5bd68f(0x58f)](_0xbed8c4=>{const _0x348f3a=_0x5bd68f;_0xbed8c4===se[_0x348f3a(0x572)]?this['_toggleOnline']():this[_0x348f3a(0x223)]();}),this[_0x5bd68f(0x37d)][_0x5bd68f(0x48a)]['pipe'](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x470648=>{const _0x3c00d9=_0x5bd68f,_0x8b80c8=_0x470648['eventID'];_0x8b80c8===p[_0x3c00d9(0x259)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x470648),_0x8b80c8===p[_0x3c00d9(0x259)][_0x3c00d9(0x5a1)]&&this['_onCursorDelete'](_0x470648);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)][_0x5bd68f(0x3f0)](_0x515e41=>{const _0x1462df=_0x5bd68f,_0x508fca=_0x515e41[_0x1462df(0x447)];_0x508fca!=null&&this['_online']&&_0x515e41['id']===Ie[_0x1462df(0x592)]['id']&&_0x508fca[_0x1462df(0x21b)]===this[_0x1462df(0x553)]&&_0x508fca[_0x1462df(0x640)]===!0x1&&_0x508fca[_0x1462df(0x476)][_0x1462df(0x5e7)]>0x0&&this['_updateLocalCursor'](_0x508fca[_0x1462df(0x476)]);})),this[_0x5bd68f(0x1b5)][_0x5bd68f(0x41b)][_0x5bd68f(0x619)](A[_0x5bd68f(0x264)](this['dispose$']))[_0x5bd68f(0x58f)](_0x23a7a1=>{const _0x11b134=_0x5bd68f;if((_0x23a7a1==null?void 0x0:_0x23a7a1[_0x11b134(0x553)])!==this['unitID'])return;const _0xd04743={'eventID':p[_0x11b134(0x259)][_0x11b134(0x435)],'data':_0x23a7a1};this['_onCursorUpdate'](_0xd04743);}),this[_0x5bd68f(0x665)](this[_0x5bd68f(0x5b4)]['onCommandExecuted'](_0x574c18=>{const _0x201f7d=_0x5bd68f;if(_0x574c18[_0x201f7d(0x447)]==null)return;const _0x4fe055=_0x574c18[_0x201f7d(0x447)];if(_0x574c18['id']!==Ie[_0x201f7d(0x344)]['id']||_0x4fe055[_0x201f7d(0x21b)]!==this[_0x201f7d(0x553)])return;const _0x33b065={'id':_0x201f7d(0x356),'params':_0x4fe055},_0x2d6737=this[_0x201f7d(0x3ec)];for(const [_0x1557ba,_0x10394e]of _0x2d6737){const _0x35ad38={'id':_0x201f7d(0x356),'params':{'unitId':this[_0x201f7d(0x553)],'actions':null,'textRanges':_0x10394e['ranges']}},_0x2a61e4=this[_0x201f7d(0x449)][_0x201f7d(0x43c)](_0x33b065,_0x35ad38,!0x1);if(p[_0x201f7d(0x4b4)](_0x2a61e4))throw _0x2a61e4[_0x201f7d(0x27a)];_0x2d6737[_0x201f7d(0x20a)](_0x1557ba,{..._0x10394e,'ranges':_0x2a61e4[_0x201f7d(0x239)][_0x201f7d(0x447)][_0x201f7d(0x49e)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2d6737);});})));}[_0x29ff00(0x1e3)](_0x3052d3){const _0x2a43ff=_0x29ff00;var _0x122d0d,_0x13e0b2;const {memberID:_0x27bef0,selection:_0x1f5707}=_0x3052d3[_0x2a43ff(0x3eb)],_0x49bfac=Ln(_0x1f5707),_0x557a99=(_0x13e0b2=(_0x122d0d=this['_memberService'][_0x2a43ff(0x5b8)](this[_0x2a43ff(0x553)],_0x27bef0))==null?void 0x0:_0x122d0d[_0x2a43ff(0x2cd)])!=null?_0x13e0b2:_0x2a43ff(0x27c),_0x33d238={'color':this[_0x2a43ff(0x4e1)][_0x2a43ff(0x255)](_0x27bef0),'name':_0x557a99,'ranges':_0x49bfac},_0x57be45=this['cursorInfo'];_0x57be45[_0x2a43ff(0x20a)](_0x27bef0,_0x33d238),this[_0x2a43ff(0x278)][_0x2a43ff(0x49f)](_0x57be45);}[_0x29ff00(0x22f)](_0x209e83){const _0x381f82=_0x29ff00,{memberID:_0x35b913}=_0x209e83[_0x381f82(0x3eb)],_0x44321b=this[_0x381f82(0x3ec)];_0x44321b[_0x381f82(0x3dc)](_0x35b913),this[_0x381f82(0x278)][_0x381f82(0x49f)](_0x44321b);}[_0x29ff00(0x5d4)](){const _0x5b7c49=_0x29ff00;var _0x2f2491;if(this[_0x5b7c49(0x35c)]=!0x0,((_0x2f2491=this[_0x5b7c49(0x600)][_0x5b7c49(0x498)]())==null?void 0x0:_0x2f2491[_0x5b7c49(0x621)]())!==this[_0x5b7c49(0x553)])return;const _0x3249e5=this[_0x5b7c49(0x1c1)][_0x5b7c49(0x2ef)](Ie['DocSelectionManagerService'])[_0x5b7c49(0x526)]();Array['isArray'](_0x3249e5)&&_0x3249e5[_0x5b7c49(0x5e7)]>0x0&&this[_0x5b7c49(0x660)](_0x3249e5);}[_0x29ff00(0x223)](){const _0x517ecd=_0x29ff00;this[_0x517ecd(0x35c)]=!0x1;}};pt=es([me(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),me(0x3,a[_0x29ff00(0x493)](Dt)),me(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),me(0x5,a[_0x29ff00(0x493)](yt)),me(0x6,p[_0x29ff00(0x38f)]),me(0x7,a[_0x29ff00(0x37f)]),me(0x8,a[_0x29ff00(0x587)])],pt);var ns=Object[_0x29ff00(0x64a)],ss=Object[_0x29ff00(0x316)],rs=(_0x39965a,_0x297a1c,_0x40f2e9,_0x34f85f)=>{const _0x30fb04=_0x29ff00;for(var _0x277712=_0x34f85f>0x1?void 0x0:_0x34f85f?ss(_0x297a1c,_0x40f2e9):_0x297a1c,_0x7fad71=_0x39965a[_0x30fb04(0x5e7)]-0x1,_0x5b4c25;_0x7fad71>=0x0;_0x7fad71--)(_0x5b4c25=_0x39965a[_0x7fad71])&&(_0x277712=(_0x34f85f?_0x5b4c25(_0x297a1c,_0x40f2e9,_0x277712):_0x5b4c25(_0x277712))||_0x277712);return _0x34f85f&&_0x277712&&ns(_0x297a1c,_0x40f2e9,_0x277712),_0x277712;},Te=(_0x29e2fe,_0x40b285)=>(_0x2e5836,_0xb9a60f)=>_0x40b285(_0x2e5836,_0xb9a60f,_0x29e2fe);const os=0x12c,as=0x64,cs=()=>{let _0x2fcba5=[],_0x505757=!0x1;return _0x18c09b=>{const _0x54c478=_0x2f26;_0x2fcba5[_0x54c478(0x3bc)](_0x18c09b),_0x505757||(_0x505757=!0x0,setTimeout(()=>{const _0x1c5127=_0x54c478;_0x2fcba5[_0x1c5127(0x3a1)](_0x502270=>_0x502270()),_0x2fcba5=[],_0x505757=!0x1;}));};};let mt=class extends a[_0x29ff00(0x4b0)]{constructor(_0x239abf,_0x5ab5c8,_0x3f4781,_0x541b62,_0x206d1a,_0x2be6e8,_0x4d15c5,_0x492dcf){const _0xed67b0=_0x29ff00;super(),I(this,_0xed67b0(0x35c),!0x1),I(this,_0xed67b0(0x5c4),!0x1),I(this,'_cursorInfo$',new A[(_0xed67b0(0x26c))](new Map())),I(this,_0xed67b0(0x36e),this[_0xed67b0(0x278)]['asObservable']()),I(this,'_roomMembers$',new A[(_0xed67b0(0x26c))]([])),I(this,_0xed67b0(0x647),this['_roomMembers$'][_0xed67b0(0x619)](A['debounceTime'](os))),I(this,_0xed67b0(0x660),a[_0xed67b0(0x242)]((_0x2d7279,_0x4b0bba)=>{const _0x3d6c81=_0xed67b0,_0x26de76={'eventID':p[_0x3d6c81(0x259)][_0x3d6c81(0x435)],'data':{'unitID':this[_0x3d6c81(0x553)],'memberID':this['_session'][_0x3d6c81(0x40a)](),'selection':Mt[_0x3d6c81(0x562)](_0x2d7279,_0x4b0bba[_0x3d6c81(0x3ff)])}};this[_0x3d6c81(0x37d)]['send'](_0x26de76,this['unitID']);},as)),(this[_0xed67b0(0x553)]=_0x239abf,this[_0xed67b0(0x37d)]=_0x5ab5c8,this[_0xed67b0(0x1c1)]=_0x3f4781,this[_0xed67b0(0x4e1)]=_0x541b62,this[_0xed67b0(0x427)]=_0x206d1a,this[_0xed67b0(0x600)]=_0x2be6e8,this[_0xed67b0(0x5b4)]=_0x4d15c5,this[_0xed67b0(0x2e5)]=_0x492dcf);}get[_0x29ff00(0x3ec)](){const _0x5e0805=_0x29ff00;return this['_cursorInfo$'][_0x5e0805(0x42e)]();}get[_0x29ff00(0x25e)](){const _0x115400=_0x29ff00;return this[_0x115400(0x5e9)]['getValue']();}[_0x29ff00(0x5e6)](){const _0x4134b0=_0x29ff00;super[_0x4134b0(0x5e6)](),this[_0x4134b0(0x278)]['next'](new Map()),this[_0x4134b0(0x278)][_0x4134b0(0x22e)](),this[_0x4134b0(0x5e9)][_0x4134b0(0x49f)]([]),this[_0x4134b0(0x5e9)][_0x4134b0(0x22e)]();}[_0x29ff00(0x334)](){const _0x17f8cb=_0x29ff00;this[_0x17f8cb(0x5c4)]||(this[_0x17f8cb(0x5c4)]=!0x0,this[_0x17f8cb(0x37d)][_0x17f8cb(0x299)][_0x17f8cb(0x619)](A['takeUntil'](this[_0x17f8cb(0x2b6)]))['subscribe'](_0x4a7253=>{const _0x55c98e=_0x17f8cb;_0x4a7253===se[_0x55c98e(0x572)]?this[_0x55c98e(0x5d4)]():this[_0x55c98e(0x223)]();}),this[_0x17f8cb(0x37d)]['event$']['pipe'](A[_0x17f8cb(0x264)](this['dispose$']))[_0x17f8cb(0x58f)](_0x5eba2c=>{const _0x3e0c62=_0x17f8cb,_0x5f3f09=_0x5eba2c[_0x3e0c62(0x55b)];_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x435)]&&this[_0x3e0c62(0x1e3)](_0x5eba2c),_0x5f3f09===p[_0x3e0c62(0x259)][_0x3e0c62(0x5a1)]&&this['_onCursorDelete'](_0x5eba2c);}),this[_0x17f8cb(0x347)](),this[_0x17f8cb(0x665)](this[_0x17f8cb(0x5b4)][_0x17f8cb(0x3f0)](_0x1f217f=>{const _0x4843b6=_0x17f8cb;if(this[_0x4843b6(0x35c)]&&_0x1f217f['id']===k['SetSelectionsOperation']['id']&&_0x1f217f[_0x4843b6(0x447)]['unitId']===this['unitID']){const _0x1da2a2=_0x1f217f[_0x4843b6(0x447)];this[_0x4843b6(0x660)](_0x1da2a2[_0x4843b6(0x3da)],_0x1da2a2[_0x4843b6(0x338)][0x0]);}})));}[_0x29ff00(0x1e3)](_0x129d17){const _0x38b612=_0x29ff00;var _0x2e2425,_0x19f0ee;const {memberID:_0x51b1a1,selection:_0x582c0c}=_0x129d17[_0x38b612(0x3eb)],{sheetName:_0x2c21f2,range:_0x4d3c60}=Mt[_0x38b612(0x54b)](_0x582c0c),_0xbad939={'name':(_0x19f0ee=(_0x2e2425=this[_0x38b612(0x427)][_0x38b612(0x5b8)](this[_0x38b612(0x553)],_0x51b1a1))==null?void 0x0:_0x2e2425[_0x38b612(0x2cd)])!=null?_0x19f0ee:_0x38b612(0x27c),'range':this['_getMergeRange'](_0x2c21f2,_0x4d3c60),'sheetID':_0x2c21f2,'color':this[_0x38b612(0x4e1)][_0x38b612(0x255)](_0x51b1a1),'selection':_0x582c0c},_0x462d5a=this[_0x38b612(0x3ec)];_0x462d5a[_0x38b612(0x20a)](_0x51b1a1,_0xbad939),this[_0x38b612(0x278)][_0x38b612(0x49f)](_0x462d5a);}[_0x29ff00(0x22f)](_0x2ec1d3){const _0x45d964=_0x29ff00,{memberID:_0x230324}=_0x2ec1d3[_0x45d964(0x3eb)],_0x71e8cd=this[_0x45d964(0x3ec)];_0x71e8cd[_0x45d964(0x3dc)](_0x230324),this[_0x45d964(0x278)][_0x45d964(0x49f)](_0x71e8cd);}[_0x29ff00(0x21d)](_0x2e877d,_0x51e7e9){const _0x368b7b=_0x29ff00;var _0xe9e8bb,_0x28170a;const _0x3ef6fb=(_0x28170a=(_0xe9e8bb=this[_0x368b7b(0x600)][_0x368b7b(0x463)](this[_0x368b7b(0x553)]))==null?void 0x0:_0xe9e8bb[_0x368b7b(0x50c)](_0x2e877d))==null?void 0x0:_0x28170a[_0x368b7b(0x547)]();return(_0x3ef6fb==null?void 0x0:_0x3ef6fb[_0x368b7b(0x58b)](_0x422e6a=>a[_0x368b7b(0x5a6)][_0x368b7b(0x373)](_0x422e6a,_0x51e7e9)))||_0x51e7e9;}[_0x29ff00(0x347)](){const _0x288be2=_0x29ff00,_0x232265=new a[(_0x288be2(0x546))](),_0x5a44d9=cs(),_0x7d1134=()=>{const _0x51d4ec=_0x288be2;_0x232265[_0x51d4ec(0x5e6)]();const _0x740e44=(_0x2f55cc,_0x23be84,_0x11b1b2,_0x315891)=>{const _0x1afb9d=_0x51d4ec;let _0x518b3f=[];switch(_0x2f55cc['id']){case k[_0x1afb9d(0x411)]['DeleteRangeMoveLeftCommandId']:{_0x518b3f=k[_0x1afb9d(0x236)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x5c5)]:{_0x518b3f=k['handleDeleteRangeMoveUp'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x661)]:{_0x518b3f=k['handleInsertCol'](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x3a5)]:{_0x518b3f=k['handleInsertRangeMoveDown'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x667)]:{_0x518b3f=k['handleInsertRangeMoveRight'](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)]['InsertRowCommandId']:{_0x518b3f=k[_0x1afb9d(0x59b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x26a)]:{_0x518b3f=k[_0x1afb9d(0x2fc)](_0x2f55cc,_0x315891);break;}case k['EffectRefRangId'][_0x1afb9d(0x413)]:{_0x518b3f=k[_0x1afb9d(0x20b)](_0x2f55cc,_0x315891);break;}case k[_0x1afb9d(0x411)][_0x1afb9d(0x51c)]:{_0x518b3f=k[_0x1afb9d(0x5e8)](_0x2f55cc,_0x315891);break;}}const _0x278a5f=k[_0x1afb9d(0x415)](_0x518b3f,_0x315891),_0x136ade=this['cursorInfo'][_0x1afb9d(0x2ef)](_0x23be84);if(_0x136ade&&_0x278a5f){const _0x4ba5a8={..._0x136ade,'range':_0x278a5f};this['cursorInfo'][_0x1afb9d(0x20a)](_0x23be84,_0x4ba5a8),_0x5a44d9(()=>{const _0x45ec86=_0x1afb9d,_0x5e8b14=this['_refRangeService'][_0x45ec86(0x2e9)](_0x278a5f,_0x22733f=>(_0x5e8b14[_0x45ec86(0x5e6)](),_0x740e44(_0x22733f,_0x23be84,_0x11b1b2,_0x278a5f)));_0x232265['add'](_0x5e8b14);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x51d4ec(0x3a1)]((_0x38a40f,_0x5022f5)=>{const _0x41cc96=_0x51d4ec,{range:_0xa935e0,sheetID:_0x5da660}=_0x38a40f,_0x4d5f85=this[_0x41cc96(0x2e5)][_0x41cc96(0x2e9)](_0xa935e0,_0x3881f1=>(_0x4d5f85[_0x41cc96(0x5e6)](),_0x740e44(_0x3881f1,_0x5022f5,_0x5da660,_0xa935e0)));_0x232265[_0x41cc96(0x231)](_0x4d5f85);});};this[_0x288be2(0x665)](a[_0x288be2(0x372)](this[_0x288be2(0x278)][_0x288be2(0x58f)](()=>{_0x7d1134();})));}[_0x29ff00(0x5d4)](){const _0x1d314d=_0x29ff00;var _0x29b342,_0x429b63;if(this[_0x1d314d(0x35c)]=!0x0,((_0x29b342=this[_0x1d314d(0x600)][_0x1d314d(0x498)]())==null?void 0x0:_0x29b342[_0x1d314d(0x621)]())!==this[_0x1d314d(0x553)])return;const _0x5e8f98=(_0x429b63=this[_0x1d314d(0x1c1)][_0x1d314d(0x2ef)](k[_0x1d314d(0x210)])['getCurrentSelections']())==null?void 0x0:_0x429b63[0x0],_0x9ba84f=this[_0x1d314d(0x600)][_0x1d314d(0x5b1)](a[_0x1d314d(0x5ce)][_0x1d314d(0x3d0)])['getActiveSheet']();_0x5e8f98&&_0x9ba84f&&this[_0x1d314d(0x660)](_0x9ba84f[_0x1d314d(0x360)](),_0x5e8f98);}[_0x29ff00(0x223)](){const _0x3a0030=_0x29ff00;this[_0x3a0030(0x35c)]=!0x1;}};mt=rs([Te(0x2,a['Inject'](a['Injector'])),Te(0x3,a[_0x29ff00(0x493)](Dt)),Te(0x4,a[_0x29ff00(0x493)](exports[_0x29ff00(0x1d6)])),Te(0x5,a[_0x29ff00(0x37f)]),Te(0x6,a[_0x29ff00(0x587)]),Te(0x7,a[_0x29ff00(0x493)](k[_0x29ff00(0x624)]))],mt);var ls=Object['defineProperty'],hs=Object[_0x29ff00(0x316)],_s=(_0x59c977,_0x3ef802,_0x3cc72a,_0x167dd1)=>{const _0x2d30ed=_0x29ff00;for(var _0x5312db=_0x167dd1>0x1?void 0x0:_0x167dd1?hs(_0x3ef802,_0x3cc72a):_0x3ef802,_0x54519c=_0x59c977[_0x2d30ed(0x5e7)]-0x1,_0x53b6ad;_0x54519c>=0x0;_0x54519c--)(_0x53b6ad=_0x59c977[_0x54519c])&&(_0x5312db=(_0x167dd1?_0x53b6ad(_0x3ef802,_0x3cc72a,_0x5312db):_0x53b6ad(_0x5312db))||_0x5312db);return _0x167dd1&&_0x5312db&&ls(_0x3ef802,_0x3cc72a,_0x5312db),_0x5312db;},nt=(_0x23a501,_0x4cc1b8)=>(_0x5b92b6,_0x46fbbe)=>_0x4cc1b8(_0x5b92b6,_0x46fbbe,_0x23a501);let De=class extends a[_0x29ff00(0x4b0)]{constructor(_0x2cd09f,_0x28506f,_0x3ad62b){const _0x31c7f1=_0x29ff00;super(),I(this,_0x31c7f1(0x221),new Map()),I(this,'_entityInit$',new A[(_0x31c7f1(0x534))]()),(this['_univerInstanceService']=_0x2cd09f,this[_0x31c7f1(0x1c1)]=_0x28506f,this[_0x31c7f1(0x653)]=_0x3ad62b,this[_0x31c7f1(0x5c4)]());}[_0x29ff00(0x5e6)](){const _0x43d892=_0x29ff00;super[_0x43d892(0x5e6)](),this['_entityInit$'][_0x43d892(0x22e)](),this[_0x43d892(0x221)][_0x43d892(0x3a1)](_0x59a6a8=>_0x59a6a8[_0x43d892(0x5e6)]());}[_0x29ff00(0x455)](_0xb23c1b){const _0x166cb5=_0x29ff00;return this['_entities'][_0x166cb5(0x38d)](_0xb23c1b)?this['_entities'][_0x166cb5(0x2ef)](_0xb23c1b)['cursorInfo$']:this[_0x166cb5(0x23b)]['pipe'](A[_0x166cb5(0x604)](_0x723fb5=>_0x723fb5[_0x166cb5(0x553)]===_0xb23c1b),A[_0x166cb5(0x53a)](_0x210442=>_0x210442[_0x166cb5(0x36e)]));}[_0x29ff00(0x5c4)](){const _0x133f50=_0x29ff00;this[_0x133f50(0x600)][_0x133f50(0x460)](a[_0x133f50(0x5ce)]['UNIVER_SHEET'])[_0x133f50(0x619)](A['takeUntil'](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](async _0x231c23=>{const _0xb2be3a=_0x133f50,_0x366f7b=_0x231c23[_0xb2be3a(0x621)](),_0x529661=await this[_0xb2be3a(0x232)](_0x366f7b);this['_entityInit$']['next'](_0x529661),this['_entities'][_0xb2be3a(0x20a)](_0x366f7b,_0x529661);}),this[_0x133f50(0x600)]['getTypeOfUnitAdded$'](a[_0x133f50(0x5ce)]['UNIVER_DOC'])[_0x133f50(0x619)](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))['pipe'](A['filter'](_0x454505=>!_0x454505[_0x133f50(0x621)]()['startsWith']('__')))[_0x133f50(0x58f)](async _0x1aa054=>{const _0x2b95ab=_0x133f50,_0x222bc5=_0x1aa054[_0x2b95ab(0x621)](),_0x18b36a=await this[_0x2b95ab(0x67a)](_0x222bc5);this[_0x2b95ab(0x23b)][_0x2b95ab(0x49f)](_0x18b36a),this[_0x2b95ab(0x221)][_0x2b95ab(0x20a)](_0x222bc5,_0x18b36a);}),A[_0x133f50(0x5ed)](this[_0x133f50(0x600)][_0x133f50(0x365)](a[_0x133f50(0x5ce)][_0x133f50(0x4f0)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x133f50(0x3d0)]))['pipe'](A[_0x133f50(0x264)](this[_0x133f50(0x2b6)]))[_0x133f50(0x58f)](_0xeffda9=>{const _0x5938d5=_0x133f50,_0x3e00af=_0xeffda9['getUnitId'](),_0x270604=this[_0x5938d5(0x221)][_0x5938d5(0x2ef)](_0x3e00af);_0x270604&&(_0x270604[_0x5938d5(0x5e6)](),this[_0x5938d5(0x221)][_0x5938d5(0x3dc)](_0x3e00af));});}async[_0x29ff00(0x232)](_0x49c4d0){const _0x2de8cd=_0x29ff00,_0x3a1667=await this['_collabSessionService'][_0x2de8cd(0x429)](_0x49c4d0),_0x1e8529=this[_0x2de8cd(0x1c1)][_0x2de8cd(0x527)](mt,_0x49c4d0,_0x3a1667);return _0x1e8529['init'](),_0x1e8529;}async[_0x29ff00(0x67a)](_0x1309d7){const _0x1f49ab=_0x29ff00,_0xe1924e=await this[_0x1f49ab(0x653)][_0x1f49ab(0x429)](_0x1309d7),_0x3646c7=this[_0x1f49ab(0x1c1)][_0x1f49ab(0x527)](pt,_0x1309d7,_0xe1924e);return _0x3646c7[_0x1f49ab(0x334)](),_0x3646c7;}};De=_s([nt(0x0,a[_0x29ff00(0x37f)]),nt(0x1,a[_0x29ff00(0x493)](a[_0x29ff00(0x615)])),nt(0x2,a[_0x29ff00(0x493)](exports[_0x29ff00(0x5ea)]))],De);const Le=0x14,Wt=0xc8,st=0x4,us=0x5;function ds(_0x1fc81f,_0x5b9dbf){const _0x150f6e=_0x29ff00;let {radius:_0x19cfc8,width:_0x37311f,height:_0x45e331}=_0x5b9dbf;_0x19cfc8=_0x19cfc8!=null?_0x19cfc8:0x0,_0x37311f=_0x37311f!=null?_0x37311f:0x1e,_0x45e331=_0x45e331!=null?_0x45e331:0x1e;let _0xd06686=0x0,_0x18d690=0x0,_0x3dae45=0x0;_0xd06686=_0x18d690=_0x3dae45=Math[_0x150f6e(0x3b8)](_0x19cfc8,_0x37311f/0x2,_0x45e331/0x2),_0x1fc81f[_0x150f6e(0x285)](),_0x1fc81f[_0x150f6e(0x4ab)](_0xd06686,0x0),_0x1fc81f['lineTo'](_0x37311f-_0x18d690,0x0),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x18d690,_0x18d690,_0x18d690,Math['PI']*0x3/0x2,0x0,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](_0x37311f,_0x45e331-_0x3dae45),_0x1fc81f[_0x150f6e(0x29e)](_0x37311f-_0x3dae45,_0x45e331-_0x3dae45,_0x3dae45,0x0,Math['PI']/0x2,!0x1),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0x45e331),_0x1fc81f[_0x150f6e(0x5aa)](0x0,_0xd06686),_0x1fc81f[_0x150f6e(0x29e)](_0xd06686,_0xd06686,_0xd06686,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1fc81f[_0x150f6e(0x404)](),_0x5b9dbf[_0x150f6e(0x53e)]&&(_0x1fc81f['save'](),_0x1fc81f[_0x150f6e(0x211)]=_0x5b9dbf[_0x150f6e(0x53e)],_0x5b9dbf[_0x150f6e(0x3e7)]===_0x150f6e(0x294)?_0x1fc81f[_0x150f6e(0x53e)](_0x150f6e(0x294)):_0x1fc81f[_0x150f6e(0x53e)](),_0x1fc81f[_0x150f6e(0x2a5)]());}class Xe extends K[_0x29ff00(0x674)]{constructor(_0x4fb1b0,_0x57eee8){const _0x524e99=_0x29ff00;super(_0x4fb1b0,_0x57eee8),I(this,_0x524e99(0x375)),I(this,_0x524e99(0x3aa)),(this[_0x524e99(0x375)]=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x375)],this['text']=_0x57eee8==null?void 0x0:_0x57eee8[_0x524e99(0x3aa)]);}static['drawWith'](_0x4a83c5,_0x25a955){const _0x2b7317=_0x29ff00,{text:_0x360858,color:_0x97c786}=_0x25a955;_0x4a83c5[_0x2b7317(0x488)](),_0x4a83c5[_0x2b7317(0x4b3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ee01b=_0x4a83c5[_0x2b7317(0x1e0)](_0x360858)[_0x2b7317(0x367)],_0x4c794d=Math['min'](_0x4ee01b+0x2*st,Wt);ds(_0x4a83c5,{'height':Le,'radius':0x4,'width':_0x4c794d,'fill':_0x97c786,'evented':!0x1}),_0x4a83c5['fillStyle']=_0x2b7317(0x3c2);const _0x37fdeb=st,_0x30ea8f=Le-us,_0x429a1c=Wt-0x2*st;if(_0x4ee01b>_0x429a1c){let _0x442aa8='',_0x148eb8=0x0;for(const _0x51da70 of _0x360858){const _0x2b27f6=_0x4a83c5['measureText'](_0x51da70)['width'];if(_0x148eb8+_0x2b27f6<=_0x429a1c-_0x4a83c5['measureText']('...')[_0x2b7317(0x367)])_0x442aa8+=_0x51da70,_0x148eb8+=_0x2b27f6;else{_0x442aa8+=_0x2b7317(0x65f);break;}}_0x4a83c5[_0x2b7317(0x49c)](_0x442aa8,_0x37fdeb,_0x30ea8f);}else _0x4a83c5['fillText'](_0x360858,_0x37fdeb,_0x30ea8f);_0x4a83c5['restore']();}['_draw'](_0x5220ca){const _0x26267e=_0x29ff00;Xe[_0x26267e(0x3e4)](_0x5220ca,this);}}const rt=_0x29ff00(0x56e),fs=_0x29ff00(0x689),vs=_0x29ff00(0x387),Ue=0x6,Ss=1.5,ot=0x4,ps=1.5,ms=_0x29ff00(0x2b5);class Ft{constructor(_0x495eb5,_0xdf0f5f,_0x594a1b,_0x2d44a3){const _0x3b85eb=_0x29ff00;I(this,_0x3b85eb(0x30b),[]),I(this,_0x3b85eb(0x34d),null),I(this,_0x3b85eb(0x479),null),I(this,_0x3b85eb(0x3c3),null),I(this,'_hideTimer',null),I(this,_0x3b85eb(0x639),null),(this[_0x3b85eb(0x3e2)]=_0x495eb5,this[_0x3b85eb(0x3cc)]=_0xdf0f5f,this['_docSkeleton']=_0x594a1b,this[_0x3b85eb(0x45d)]=_0x2d44a3,this['_render']());}set[_0x29ff00(0x465)](_0x25cb00){const _0x2d2914=_0x29ff00;_0x25cb00?(this[_0x2d2914(0x3c3)]&&this['_anchorDot'][_0x2d2914(0x519)](),this[_0x2d2914(0x479)]&&this[_0x2d2914(0x479)][_0x2d2914(0x318)]()):(this[_0x2d2914(0x3c3)]&&this[_0x2d2914(0x3c3)][_0x2d2914(0x318)](),this['_textBubble']&&this[_0x2d2914(0x479)][_0x2d2914(0x519)]());}[_0x29ff00(0x5e6)](){const _0x5e2390=_0x29ff00;for(const _0xb0b278 of this['_shapes'])_0xb0b278[_0x5e2390(0x5e6)]();this[_0x5e2390(0x479)]&&this[_0x5e2390(0x479)]['dispose'](),this[_0x5e2390(0x3c3)]&&this[_0x5e2390(0x3c3)][_0x5e2390(0x5e6)](),this[_0x5e2390(0x34d)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x5e2390(0x639)]();}[_0x29ff00(0x5d9)](){const _0x3e02ee=_0x29ff00;var _0x20b07c;const {_docSkeleton:_0x488934,_document:_0xbb4ab8}=this,{color:_0x1d028a,name:_0x544587,ranges:_0x3a4e48}=this[_0x3e02ee(0x3e2)],_0x445ec5=_0xbb4ab8[_0x3e02ee(0x5f3)](),{docsLeft:_0x578cf6,docsTop:_0x312cb3}=_0x445ec5,_0x2416f9=new J['NodePositionConvertToCursor'](_0x445ec5,_0x488934);for(const {startOffset:_0x8d6692,endOffset:_0x328aa5,rangeType:_0x5df6e5,segmentId:_0x585491,segmentPage:_0x2e599f,collapsed:_0x38722c,isActive:_0x51122b}of _0x3a4e48){const _0x23a109=_0x488934['findNodePositionByCharIndex'](_0x8d6692,!0x0,_0x585491,_0x2e599f);let _0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5,!0x0,_0x585491,_0x2e599f);if(_0xc0146c==null&&(_0xc0146c=_0x488934[_0x3e02ee(0x361)](_0x328aa5-0x1,!0x1,_0x585491,_0x2e599f)),_0x51122b){const {contentBoxPointGroup:_0x162ace}=_0x2416f9[_0x3e02ee(0x3a6)](_0xc0146c,_0xc0146c);if(_0x162ace[_0x3e02ee(0x5e7)]===0x0)continue;this[_0x3e02ee(0x5cb)](_0x1d028a,_0x162ace,_0x578cf6,_0x312cb3,_0x544587),this[_0x3e02ee(0x639)]=this[_0x3e02ee(0x33c)]();}if(_0x23a109&&_0xc0146c){if(_0x5df6e5===a[_0x3e02ee(0x380)][_0x3e02ee(0x36c)]){const _0x2a5e87=new J[(_0x3e02ee(0x408))](_0x445ec5,_0x488934),{pointGroup:_0x36159b}=(_0x20b07c=_0x2a5e87['getRangePointData'](_0x23a109,_0xc0146c))!=null?_0x20b07c:{};if(_0x36159b==null||_0x36159b['length']===0x0)continue;this[_0x3e02ee(0x38c)](_0x1d028a,_0x36159b,_0x578cf6,_0x312cb3);}else{if(!_0x38722c){const {borderBoxPointGroup:_0x29c5ce}=_0x2416f9[_0x3e02ee(0x3a6)](_0x23a109,_0xc0146c);if(_0x29c5ce['length']===0x0)continue;this['_drawTextRange'](_0x1d028a,_0x29c5ce,_0x578cf6,_0x312cb3);}}}}}['_drawAnchor'](_0x22abba,_0x1f70ba,_0x195fa7,_0x1f777f,_0x56b646){const _0x9e08e4=_0x29ff00,_0x1e3600=this[_0x9e08e4(0x3d3)](_0x1f70ba),{left:_0x16d9b7,top:_0x205f70,height:_0x2557b1}=_0x1e3600,_0x2ff630=this[_0x9e08e4(0x277)](),_0x4d432a=ps/_0x2ff630,_0x250ba7=new K[(_0x9e08e4(0x606))](rt+a['Tools'][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f,'height':_0x2557b1,'width':Ss,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'strokeWidth':_0x4d432a,'stroke':ms,'evented':!0x0});this[_0x9e08e4(0x34d)]=_0x250ba7,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x250ba7,J['TEXT_RANGE_LAYER_INDEX']);const _0x109dc6=new K['Rect'](rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-ot/0x2,'height':ot,'width':ot,'fill':_0x22abba||K[_0x9e08e4(0x2fe)](a[_0x9e08e4(0x4f4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x22abba||K['getColor'](a[_0x9e08e4(0x4f4)][_0x9e08e4(0x61e)],0x0),'evented':!0x1});this[_0x9e08e4(0x3c3)]=_0x109dc6,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x109dc6,J['TEXT_RANGE_LAYER_INDEX']);const _0x171dd4=new Xe(rt+a[_0x9e08e4(0x302)][_0x9e08e4(0x512)](Ue),{'left':_0x16d9b7+_0x195fa7-_0x4d432a,'top':_0x205f70+_0x1f777f-Le,'text':_0x56b646,'color':_0x22abba});this['_textBubble']=_0x171dd4,this[_0x9e08e4(0x3cc)][_0x9e08e4(0x518)](_0x171dd4,J['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x29ff00(0x33c)](){const _0x12d6be=_0x29ff00,_0x26ea8b=this[_0x12d6be(0x34d)]['onPointerEnter$'][_0x12d6be(0x53c)](()=>{this['_hover']=!0x0;}),_0x11950=this[_0x12d6be(0x34d)]['onPointerLeave$'][_0x12d6be(0x53c)](()=>{const _0x3630c8=_0x12d6be;this[_0x3630c8(0x2bf)]&&clearTimeout(this['_hideTimer']),this[_0x3630c8(0x2bf)]=setTimeout(()=>{const _0x473fd1=_0x3630c8;this[_0x473fd1(0x465)]=!0x1;},0x7d0);});return()=>{const _0x14ab8c=_0x12d6be;_0x26ea8b[_0x14ab8c(0x4eb)](),_0x11950[_0x14ab8c(0x4eb)]();};}[_0x29ff00(0x4d9)](_0x5cba30,_0x4c35fd,_0x45ef52,_0xa3a72c){const _0x90a04b=_0x29ff00,_0x3d1170=new a['ColorKit'](_0x5cba30)[_0x90a04b(0x478)](0.2)[_0x90a04b(0x576)](),_0x182554=new K['RegularPolygon'](fs+a[_0x90a04b(0x302)][_0x90a04b(0x512)](Ue),{'pointsGroup':_0x4c35fd,'fill':_0x3d1170||K[_0x90a04b(0x2fe)](a[_0x90a04b(0x4f4)][_0x90a04b(0x61e)],0.2),'left':_0x45ef52,'top':_0xa3a72c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x90a04b(0x30b)]['push'](_0x182554),this[_0x90a04b(0x3cc)][_0x90a04b(0x518)](_0x182554,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x38c)](_0x23bddb,_0x1ff001,_0x4e7f0a,_0x5087be){const _0xaf7da6=_0x29ff00,_0x43c0fa=new a['ColorKit'](_0x23bddb)['setAlpha'](0.2)[_0xaf7da6(0x576)](),_0x5000ad=new K['RegularPolygon'](vs+a[_0xaf7da6(0x302)][_0xaf7da6(0x512)](Ue),{'pointsGroup':_0x1ff001,'fill':_0x43c0fa||K['getColor'](a['COLORS'][_0xaf7da6(0x61e)],0.2),'left':_0x4e7f0a,'top':_0x5087be,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaf7da6(0x30b)][_0xaf7da6(0x3bc)](_0x5000ad),this['_scene'][_0xaf7da6(0x518)](_0x5000ad,J['TEXT_RANGE_LAYER_INDEX']);}[_0x29ff00(0x3d3)](_0x2a1602){const _0x1f4871=_0x2a1602[0x0],_0x332030=_0x1f4871[0x0],_0xe0ac6b=_0x1f4871[0x2],{x:_0x508b5c,y:_0x8266ae}=_0x332030,{x:_0x49e8,y:_0x3adc4c}=_0xe0ac6b;return{'left':_0x508b5c,'top':_0x8266ae,'width':_0x49e8-_0x508b5c,'height':_0x3adc4c-_0x8266ae};}['_getScale'](){const _0x34b3f2=_0x29ff00,{scaleX:_0x894a3,scaleY:_0x38b084}=this[_0x34b3f2(0x3cc)][_0x34b3f2(0x3f4)]();return Math[_0x34b3f2(0x1b9)](_0x894a3,_0x38b084);}}var gs=Object[_0x29ff00(0x64a)],Is=Object[_0x29ff00(0x316)],Cs=(_0x48bdb2,_0x4db565,_0x21a16c,_0x2bb2d)=>{for(var _0x9f5c04=_0x2bb2d>0x1?void 0x0:_0x2bb2d?Is(_0x4db565,_0x21a16c):_0x4db565,_0xbbfc3e=_0x48bdb2['length']-0x1,_0x331576;_0xbbfc3e>=0x0;_0xbbfc3e--)(_0x331576=_0x48bdb2[_0xbbfc3e])&&(_0x9f5c04=(_0x2bb2d?_0x331576(_0x4db565,_0x21a16c,_0x9f5c04):_0x331576(_0x9f5c04))||_0x9f5c04);return _0x2bb2d&&_0x9f5c04&&gs(_0x4db565,_0x21a16c,_0x9f5c04),_0x9f5c04;},je=(_0x706aa2,_0x170b73)=>(_0x2a1727,_0x388e63)=>_0x170b73(_0x2a1727,_0x388e63,_0x706aa2);let gt=class extends a[_0x29ff00(0x4b0)]{constructor(_0xa6545c,_0x95691,_0x7025fe,_0x3e9903,_0x54ed7d){const _0x1a8fb7=_0x29ff00;super(),I(this,_0x1a8fb7(0x5b6),[]),I(this,_0x1a8fb7(0x4fd),[]),(this[_0x1a8fb7(0x220)]=_0xa6545c,this[_0x1a8fb7(0x2fa)]=_0x95691,this['_collabCursorController']=_0x7025fe,this['_commandService']=_0x3e9903,this[_0x1a8fb7(0x48e)]=_0x54ed7d,this[_0x1a8fb7(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x2a45e0=_0x29ff00,_0x80e539=this['_context']['unitId'],_0x3840b0=this[_0x2a45e0(0x2fa)];this['disposeWithMe'](A['combineLatest']([this[_0x2a45e0(0x516)][_0x2a45e0(0x455)](_0x80e539),this[_0x2a45e0(0x48e)][_0x2a45e0(0x44b)]])['pipe'](V[_0x2a45e0(0x4db)](([_0x2f16d9,_0xa0182f])=>({'skeleton':_0x3840b0[_0x2a45e0(0x4b1)](),'cursors':[..._0x2f16d9['values']()][_0x2a45e0(0x2ae)](_0x32e557=>({..._0x32e557,'color':_0xa0182f[_0x32e557[_0x2a45e0(0x375)]]}))})))['subscribe'](_0xb72d6a=>{if(this['_removeCollabCursors'](),_0xb72d6a){const {skeleton:_0x558926,cursors:_0x27bf1d}=_0xb72d6a;this['_updateCollabCursors'](_0x558926,_0x27bf1d);}})),this[_0x2a45e0(0x2b1)](),this[_0x2a45e0(0x596)]();}['_updateCollabCursors'](_0x30bd65,_0xc39507){const _0x249585=_0x29ff00,{scene:_0x1876af,mainComponent:_0x16341a}=this[_0x249585(0x220)],_0x5ab6b8=_0xc39507[_0x249585(0x4db)](_0x50e14c=>new Ft(_0x50e14c,_0x1876af,_0x30bd65,_0x16341a));this[_0x249585(0x5b6)]=_0x5ab6b8,this['_cursors']=_0xc39507;}[_0x29ff00(0x468)](){const _0x143c57=_0x29ff00;this[_0x143c57(0x51b)]();const {scene:_0x186913,mainComponent:_0x29f185}=this[_0x143c57(0x220)],_0x219235=this[_0x143c57(0x2fa)][_0x143c57(0x4b1)](),_0xb3304c=this['_cursors'][_0x143c57(0x4db)](_0x3e726d=>new Ft(_0x3e726d,_0x186913,_0x219235,_0x29f185));this['_cursorShapes']=_0xb3304c;}['_removeCollabCursors'](){const _0x50c4f2=_0x29ff00;this[_0x50c4f2(0x5b6)][_0x50c4f2(0x3a1)](_0x39ff34=>_0x39ff34[_0x50c4f2(0x5e6)]()),this[_0x50c4f2(0x5b6)]=[];}[_0x29ff00(0x596)](){const _0x3f3494=_0x29ff00,_0x4641ee=[J[_0x3f3494(0x579)]['id']];this[_0x3f3494(0x665)](this[_0x3f3494(0x5b4)][_0x3f3494(0x3f0)](_0x484581=>{const _0x45a81c=_0x3f3494;_0x4641ee['includes'](_0x484581['id'])&&_0x484581[_0x45a81c(0x447)]['unitId']===this[_0x45a81c(0x220)]['unitId']&&this[_0x45a81c(0x468)]();}));}[_0x29ff00(0x2b1)](){const _0xd7aa61=_0x29ff00;this[_0xd7aa61(0x665)](a[_0xd7aa61(0x1ba)](this['_context']['engine']['onTransformChange$'])[_0xd7aa61(0x619)](V[_0xd7aa61(0x604)](_0x382019=>_0x382019[_0xd7aa61(0x2eb)]===K[_0xd7aa61(0x2a6)][_0xd7aa61(0x5b9)]),V[_0xd7aa61(0x3d2)](0x10))['subscribe'](()=>{const _0x4e676c=_0xd7aa61;this[_0x4e676c(0x468)]();}));}};gt=Cs([je(0x1,a['Inject'](Ie[_0x29ff00(0x229)])),je(0x2,a[_0x29ff00(0x493)](De)),je(0x3,a[_0x29ff00(0x587)]),je(0x4,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],gt);const Es=0x1,bs=1.5;class Ii extends K['Shape']{constructor(_0x597d4b,_0x3e8298){const _0x3e0111=_0x29ff00;super(_0x597d4b,_0x3e8298),I(this,_0x3e0111(0x1e4)),I(this,_0x3e0111(0x3db),!0x1),I(this,'_range'),I(this,_0x3e0111(0x62c),''),I(this,_0x3e0111(0x601),_0x3e0111(0x1fb)),I(this,'_backgroundColor'),(_0x3e8298&&this[_0x3e0111(0x3ca)](_0x3e8298),this[_0x3e0111(0x256)][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3e0111(0x53c)](()=>this[_0x3e0111(0x3ca)]({'hovered':!0x1})));}[_0x29ff00(0x3ca)](_0x1df77d){const _0x2f0133=_0x29ff00;var _0x2bb00b,_0x27b28e,_0x46fe45,_0x175b0f,_0x675dee,_0x354fde;this['_color']=(_0x2bb00b=_0x1df77d[_0x2f0133(0x375)])!=null?_0x2bb00b:this[_0x2f0133(0x1e4)],this[_0x2f0133(0x3db)]=(_0x27b28e=_0x1df77d[_0x2f0133(0x68a)])!=null?_0x27b28e:this['_hovered'],this['_range']=(_0x46fe45=_0x1df77d[_0x2f0133(0x3ff)])!=null?_0x46fe45:this['_range'],this[_0x2f0133(0x62c)]=(_0x175b0f=_0x1df77d[_0x2f0133(0x2cd)])!=null?_0x175b0f:this[_0x2f0133(0x62c)],this[_0x2f0133(0x601)]=(_0x675dee=_0x1df77d[_0x2f0133(0x544)])!=null?_0x675dee:this['_labelPosition'],this['_backgroundColor']=(_0x354fde=_0x1df77d['backgroundColor'])!=null?_0x354fde:this['_backgroundColor'],this[_0x2f0133(0x676)]({'width':_0x1df77d['width'],'height':_0x1df77d['height']});}[_0x29ff00(0x2dc)](_0x5c96b1){const _0x4ffa58=_0x29ff00,{row:_0x152fbd,column:_0x49e2ed}=_0x5c96b1;if(_0x152fbd>=this[_0x4ffa58(0x464)]['startRow']&&_0x152fbd<=this['_range']['endRow']&&_0x49e2ed>=this[_0x4ffa58(0x464)][_0x4ffa58(0x564)]&&_0x49e2ed<=this[_0x4ffa58(0x464)][_0x4ffa58(0x20e)]){this[_0x4ffa58(0x3ca)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29ff00(0x2ab)](_0x5609d9){return!0x1;}['_draw'](_0x4b4a13){const _0x445156=_0x29ff00;K[_0x445156(0x606)][_0x445156(0x3e4)](_0x4b4a13,{'width':this[_0x445156(0x367)],'height':this[_0x445156(0x376)],'strokeWidth':bs,'stroke':this[_0x445156(0x1e4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x445156(0x3db)]&&(_0x4b4a13['save'](),_0x4b4a13[_0x445156(0x310)](0x1,0x0,0x0,0x1,this[_0x445156(0x367)],this[_0x445156(0x601)]==='bottom'?0x0:-Le),Xe[_0x445156(0x3e4)](_0x4b4a13,{'text':this['_name'],'color':this[_0x445156(0x1e4)]}),_0x4b4a13[_0x445156(0x2a5)]());}}var Ts=Object[_0x29ff00(0x64a)],Rs=Object[_0x29ff00(0x316)],ys=(_0x4b4d1e,_0x51b8ab,_0x12d8b4,_0x460184)=>{const _0x1ba24e=_0x29ff00;for(var _0x4d690d=_0x460184>0x1?void 0x0:_0x460184?Rs(_0x51b8ab,_0x12d8b4):_0x51b8ab,_0x333536=_0x4b4d1e[_0x1ba24e(0x5e7)]-0x1,_0x472a87;_0x333536>=0x0;_0x333536--)(_0x472a87=_0x4b4d1e[_0x333536])&&(_0x4d690d=(_0x460184?_0x472a87(_0x51b8ab,_0x12d8b4,_0x4d690d):_0x472a87(_0x4d690d))||_0x4d690d);return _0x460184&&_0x4d690d&&Ts(_0x51b8ab,_0x12d8b4,_0x4d690d),_0x4d690d;},at=(_0x1f6fff,_0x3982eb)=>(_0x89995d,_0x1611bc)=>_0x3982eb(_0x89995d,_0x1611bc,_0x1f6fff);const Os=0x1389;let It=class extends a[_0x29ff00(0x4b0)]{constructor(_0x1a2d60,_0x1c8eb1,_0x3e16c4,_0x55cd4b){const _0x4af585=_0x29ff00;super(),I(this,'_cursors',new Set()),I(this,_0x4af585(0x1ec),null),(this[_0x4af585(0x220)]=_0x1a2d60,this[_0x4af585(0x613)]=_0x1c8eb1,this[_0x4af585(0x516)]=_0x3e16c4,this[_0x4af585(0x48e)]=_0x55cd4b,this[_0x4af585(0x5c4)]());}[_0x29ff00(0x5c4)](){const _0x53bc12=_0x29ff00;this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x619)](V[_0x53bc12(0x264)](this[_0x53bc12(0x2b6)]),V[_0x53bc12(0x53a)](_0x55278e=>{const _0x3445ee=_0x53bc12;if(_0x55278e){const _0x3b9b92=_0x55278e[_0x3445ee(0x5a7)];return A[_0x3445ee(0x4c4)](this[_0x3445ee(0x516)][_0x3445ee(0x455)](this[_0x3445ee(0x220)][_0x3445ee(0x21b)]),this['_themeService'][_0x3445ee(0x44b)])[_0x3445ee(0x619)](V['map'](([_0x486aff,_0x328c6b])=>{const _0x50fa35=_0x3445ee,_0x123d34=new Map();return _0x486aff[_0x50fa35(0x3a1)]((_0x450513,_0x365eab)=>{const _0x51985=_0x50fa35;if(_0x450513['sheetID']===_0x3b9b92){const _0x1a3058={..._0x450513};_0x1a3058[_0x51985(0x375)]=_0x328c6b[_0x450513[_0x51985(0x375)]],_0x123d34['set'](_0x365eab,_0x1a3058);}}),{'skeleton':_0x55278e,'cursors':_0x123d34};}));}return A['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x366eb8,cursors:_0x265b78})=>{const _0x280c42=_0x53bc12;this[_0x280c42(0x51b)](),_0x366eb8&&this[_0x280c42(0x266)](_0x366eb8,_0x265b78);}),this[_0x53bc12(0x613)][_0x53bc12(0x39f)][_0x53bc12(0x58f)](_0x5cbd85=>{const _0x3a2a25=_0x53bc12;if(_0x5cbd85==null)return;const {skeleton:_0x2837fb}=_0x5cbd85,{scene:_0x5abe70}=this[_0x3a2a25(0x220)];_0x5abe70[_0x3a2a25(0x2a7)][_0x3a2a25(0x53c)](a[_0x3a2a25(0x242)](_0x34ed4a=>{const _0x53af27=_0x3a2a25;var _0x48c7e6,_0x51a5df;const {offsetX:_0x429588,offsetY:_0x4592e8}=_0x34ed4a,{x:_0xf9701b,y:_0x56061a}=_0x5abe70[_0x53af27(0x1f1)](K['Vector2']['FromArray']([_0x429588,_0x4592e8])),{scaleX:_0x37eb2b,scaleY:_0x52d6e8}=_0x5abe70[_0x53af27(0x3f4)](),_0x3507e1=_0x5abe70[_0x53af27(0x2b4)](ye[_0x53af27(0x56f)][_0x53af27(0x52d)]),_0x510d13=_0x5abe70[_0x53af27(0x5b2)](K[_0x53af27(0x27f)]['FromArray']([_0xf9701b,_0x56061a]),_0x3507e1),_0x5575ab=_0x2837fb['getCellPositionByOffset'](_0x429588,_0x4592e8,_0x37eb2b,_0x52d6e8,_0x510d13);((_0x48c7e6=this[_0x53af27(0x1ec)])==null?void 0x0:_0x48c7e6[_0x53af27(0x2f4)])===_0x5575ab[_0x53af27(0x2f4)]&&((_0x51a5df=this[_0x53af27(0x1ec)])==null?void 0x0:_0x51a5df[_0x53af27(0x43d)])===_0x5575ab[_0x53af27(0x43d)]||this[_0x53af27(0x4fd)]['forEach'](_0x701cd3=>{const _0x2b43b8=_0x53af27;_0x701cd3[_0x2b43b8(0x2dc)](_0x5575ab);});},0x64));});}[_0x29ff00(0x266)](_0x2660b4,_0x3488ae){const _0x3371d6=_0x29ff00;var _0x4908b5;const _0x289104=(_0x4908b5=this[_0x3371d6(0x613)]['getCurrent']())==null?void 0x0:_0x4908b5[_0x3371d6(0x4a3)];if(!_0x289104)return;const _0xabbb82=this['_getSheetObject']();if(!_0xabbb82)return;this[_0x3371d6(0x4fd)]['forEach'](_0x2ebe94=>{const _0xe97810=_0x3371d6;_0x2ebe94[_0xe97810(0x391)]();});const {scene:_0x322511}=_0xabbb82,_0x4a53ba=Ds(Array[_0x3371d6(0x4e3)](_0x3488ae[_0x3371d6(0x326)]()))['map'](_0x245af1=>{const _0x24e873=_0x3371d6,{color:_0x55c44e,range:_0x1792b9,name:_0x4ccfb6,selection:_0x333be6,sheetID:_0x2e3c01}=_0x245af1,{startColumn:_0x712586,startRow:_0x24ffc9,endColumn:_0x4c2158,endRow:_0xd4f0b1}=_0x1792b9,_0x22d08a=ye['getCoordByCell'](_0x24ffc9,_0x712586,_0x322511,_0x289104),_0x5bc025=ye[_0x24e873(0x279)](_0xd4f0b1,_0x4c2158,_0x322511,_0x289104),{columnHeaderHeightAndMarginTop:_0x48e751}=_0x289104,{startX:_0x272cf6,startY:_0xa0f535}=_0x22d08a,{endX:_0x26ac4c,endY:_0x4a1f5e}=_0x5bc025,_0xe90165=_0x26ac4c-_0x272cf6,_0x2a5b3a=_0x4a1f5e-_0xa0f535,_0x5a8c6b={'labelPosition':_0xa0f535-_0x48e751>=Le?_0x24e873(0x1fb):_0x24e873(0x5f8),'sheetID':_0x2e3c01,'range':_0x1792b9,'color':_0x55c44e,'name':_0x4ccfb6,'selection':_0x333be6,'left':_0x272cf6,'top':_0xa0f535,'width':_0xe90165,'height':_0x2a5b3a,'evented':!0x1,'zIndex':Os};return new Ii(_0x4ccfb6,_0x5a8c6b);});_0x322511[_0x3371d6(0x2f9)](_0x4a53ba,Es),this['_cursors']=new Set(_0x4a53ba);}[_0x29ff00(0x51b)](){const _0x2d017b=_0x29ff00;var _0xdb7e60;(_0xdb7e60=this['_cursors'])==null||_0xdb7e60[_0x2d017b(0x3a1)](_0x1846a6=>_0x1846a6['dispose']());}['_getSheetObject'](){const _0x13a655=_0x29ff00;return ye[_0x13a655(0x20c)](this[_0x13a655(0x220)][_0x13a655(0x4f6)],this['_context']);}};It=ys([at(0x1,a[_0x29ff00(0x493)](ye[_0x29ff00(0x2ee)])),at(0x2,a['Inject'](De)),at(0x3,a[_0x29ff00(0x493)](a[_0x29ff00(0x438)]))],It);function _0x2f26(_0x1d15a3,_0x6fdb30){const _0x595e3c=_0x595e();return _0x2f26=function(_0x2f26ed,_0x8f87d4){_0x2f26ed=_0x2f26ed-0x1b5;let _0x31ff46=_0x595e3c[_0x2f26ed];return _0x31ff46;},_0x2f26(_0x1d15a3,_0x6fdb30);}function Ds(_0x5d81ab){const _0x44e12b=_0x29ff00,_0x56483e=new Map();return _0x5d81ab[_0x44e12b(0x3a1)](_0x18a632=>{const _0x25488a=_0x44e12b;if(_0x56483e[_0x25488a(0x38d)](_0x18a632[_0x25488a(0x3ee)])){const _0x25c2f0=_0x56483e[_0x25488a(0x2ef)](_0x18a632[_0x25488a(0x3ee)]);_0x25c2f0[_0x25488a(0x2cd)]+=',\x20'+_0x18a632[_0x25488a(0x2cd)];}else _0x56483e['set'](_0x18a632[_0x25488a(0x3ee)],_0x18a632);}),Array[_0x44e12b(0x4e3)](_0x56483e[_0x44e12b(0x326)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function xe(_0x26d59e){const _0x403af5=_0x29ff00;return _0x26d59e&&_0x26d59e['__esModule']&&Object[_0x403af5(0x1fe)][_0x403af5(0x5d7)][_0x403af5(0x1d5)](_0x26d59e,_0x403af5(0x659))?_0x26d59e[_0x403af5(0x659)]:_0x26d59e;}var Ci={'exports':{}},Je={},Ps=ae,ws=Symbol[_0x29ff00(0x2a2)](_0x29ff00(0x228)),Us=Symbol['for'](_0x29ff00(0x34b)),Ms=Object[_0x29ff00(0x1fe)][_0x29ff00(0x5d7)],As=Ps[_0x29ff00(0x30c)][_0x29ff00(0x504)],Ns={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function Ei(_0x43dcd1,_0x2a3d3d,_0x37d99d){const _0x2c245f=_0x29ff00;var _0x1c01b4,_0x2deeec={},_0x42cc53=null,_0x28b5da=null;_0x37d99d!==void 0x0&&(_0x42cc53=''+_0x37d99d),_0x2a3d3d['key']!==void 0x0&&(_0x42cc53=''+_0x2a3d3d['key']),_0x2a3d3d[_0x2c245f(0x486)]!==void 0x0&&(_0x28b5da=_0x2a3d3d[_0x2c245f(0x486)]);for(_0x1c01b4 in _0x2a3d3d)Ms[_0x2c245f(0x1d5)](_0x2a3d3d,_0x1c01b4)&&!Ns[_0x2c245f(0x5d7)](_0x1c01b4)&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);if(_0x43dcd1&&_0x43dcd1['defaultProps']){for(_0x1c01b4 in(_0x2a3d3d=_0x43dcd1[_0x2c245f(0x5fd)],_0x2a3d3d))_0x2deeec[_0x1c01b4]===void 0x0&&(_0x2deeec[_0x1c01b4]=_0x2a3d3d[_0x1c01b4]);}return{'$$typeof':ws,'type':_0x43dcd1,'key':_0x42cc53,'ref':_0x28b5da,'props':_0x2deeec,'_owner':As[_0x2c245f(0x20d)]};}Je[_0x29ff00(0x32c)]=Us,Je[_0x29ff00(0x3dd)]=Ei,Je[_0x29ff00(0x5bb)]=Ei,Ci['exports']=Je;var ge=Ci[_0x29ff00(0x5a4)],ee=function(){const _0x399978=_0x29ff00;return ee=Object[_0x399978(0x306)]||function(_0x1ddeb5){const _0x5d57c8=_0x399978;for(var _0x30b5e0,_0x52925d=0x1,_0x340a9d=arguments['length'];_0x52925d<_0x340a9d;_0x52925d++){_0x30b5e0=arguments[_0x52925d];for(var _0x383ebf in _0x30b5e0)Object[_0x5d57c8(0x1fe)][_0x5d57c8(0x5d7)][_0x5d57c8(0x1d5)](_0x30b5e0,_0x383ebf)&&(_0x1ddeb5[_0x383ebf]=_0x30b5e0[_0x383ebf]);}return _0x1ddeb5;},ee[_0x399978(0x567)](this,arguments);},Ls=function(_0x2a29c6,_0x35672f){const _0x31672d=_0x29ff00;var _0x64131={};for(var _0x57fb30 in _0x2a29c6)Object['prototype'][_0x31672d(0x5d7)][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30)&&_0x35672f[_0x31672d(0x1c6)](_0x57fb30)<0x0&&(_0x64131[_0x57fb30]=_0x2a29c6[_0x57fb30]);if(_0x2a29c6!=null&&typeof Object[_0x31672d(0x2e3)]==_0x31672d(0x5a8)){for(var _0x1a8d41=0x0,_0x57fb30=Object[_0x31672d(0x2e3)](_0x2a29c6);_0x1a8d41<_0x57fb30[_0x31672d(0x5e7)];_0x1a8d41++)_0x35672f[_0x31672d(0x1c6)](_0x57fb30[_0x1a8d41])<0x0&&Object[_0x31672d(0x1fe)]['propertyIsEnumerable'][_0x31672d(0x1d5)](_0x2a29c6,_0x57fb30[_0x1a8d41])&&(_0x64131[_0x57fb30[_0x1a8d41]]=_0x2a29c6[_0x57fb30[_0x1a8d41]]);}return _0x64131;},Pt=ae[_0x29ff00(0x644)](function(_0x5c84e0,_0x3d1507){const _0x32f7fd=_0x29ff00;var _0x493f10=_0x5c84e0['icon'],_0x2b1078=_0x5c84e0['id'],_0x527b34=_0x5c84e0[_0x32f7fd(0x39a)],_0x2a0011=_0x5c84e0[_0x32f7fd(0x30f)],_0x490e3b=Ls(_0x5c84e0,['icon','id',_0x32f7fd(0x39a),'extend']),_0x52efc1=_0x32f7fd(0x2fb)[_0x32f7fd(0x2c9)](_0x2b1078,'\x20')[_0x32f7fd(0x2c9)](_0x527b34||'')[_0x32f7fd(0x3f5)](),_0xc265ce=ae[_0x32f7fd(0x5e3)]('_'[_0x32f7fd(0x2c9)]($s()));return bi(_0x493f10,''[_0x32f7fd(0x2c9)](_0x2b1078),{'defIds':_0x493f10[_0x32f7fd(0x666)],'idSuffix':_0xc265ce['current']},ee({'ref':_0x3d1507,'className':_0x52efc1},_0x490e3b),_0x2a0011);});function bi(_0x20b064,_0x12bcfa,_0x380f1e,_0x119019,_0x18f7e8){const _0x560733=_0x29ff00;return ae[_0x560733(0x1e5)](_0x20b064[_0x560733(0x5ca)],ee(ee({'key':_0x12bcfa},xs(_0x20b064,_0x380f1e,_0x18f7e8)),_0x119019),(js(_0x20b064,_0x380f1e)['children']||[])[_0x560733(0x4db)](function(_0x33ff71,_0x550895){const _0x25cb3d=_0x560733;return bi(_0x33ff71,''[_0x25cb3d(0x2c9)](_0x12bcfa,'-')['concat'](_0x20b064[_0x25cb3d(0x5ca)],'-')['concat'](_0x550895),_0x380f1e,void 0x0,_0x18f7e8);}));}function xs(_0x401117,_0x4a0abf,_0x5212ae){const _0x909d66=_0x29ff00;var _0x2615e1=ee({},_0x401117[_0x909d66(0x627)]);_0x5212ae!=null&&_0x5212ae[_0x909d66(0x552)]&&_0x2615e1[_0x909d66(0x53e)]===_0x909d66(0x552)&&(_0x2615e1['fill']=_0x5212ae[_0x909d66(0x552)]);var _0x27c26f=_0x4a0abf['defIds'];return!_0x27c26f||_0x27c26f[_0x909d66(0x5e7)]===0x0||(_0x401117[_0x909d66(0x5ca)]===_0x909d66(0x643)&&_0x2615e1[_0x909d66(0x359)]&&(_0x2615e1[_0x909d66(0x359)]=_0x2615e1[_0x909d66(0x359)]+_0x4a0abf[_0x909d66(0x3ab)]),Object[_0x909d66(0x432)](_0x2615e1)['forEach'](function(_0x519d34){const _0x593998=_0x909d66;var _0x57d2ea=_0x519d34[0x0],_0x5a8d7b=_0x519d34[0x1];typeof _0x5a8d7b=='string'&&(_0x2615e1[_0x57d2ea]=_0x5a8d7b[_0x593998(0x43e)](/url\(#(.*)\)/,_0x593998(0x54e)[_0x593998(0x2c9)](_0x4a0abf[_0x593998(0x3ab)],')')));})),_0x2615e1;}function js(_0x3995de,_0x9573c0){const _0x50f95e=_0x29ff00;var _0x4f0ac0,_0x5ce180=_0x9573c0[_0x50f95e(0x666)];return!_0x5ce180||_0x5ce180[_0x50f95e(0x5e7)]===0x0?_0x3995de:_0x3995de[_0x50f95e(0x5ca)]===_0x50f95e(0x56a)&&(!((_0x4f0ac0=_0x3995de[_0x50f95e(0x1fd)])===null||_0x4f0ac0===void 0x0)&&_0x4f0ac0[_0x50f95e(0x5e7)])?ee(ee({},_0x3995de),{'children':_0x3995de[_0x50f95e(0x1fd)]['map'](function(_0x27c3a9){const _0x57b6b5=_0x50f95e;return typeof _0x27c3a9[_0x57b6b5(0x627)]['id']==_0x57b6b5(0x291)&&_0x5ce180&&_0x5ce180['indexOf'](_0x27c3a9['attrs']['id'])>-0x1?ee(ee({},_0x27c3a9),{'attrs':ee(ee({},_0x27c3a9[_0x57b6b5(0x627)]),{'id':_0x27c3a9[_0x57b6b5(0x627)]['id']+_0x9573c0[_0x57b6b5(0x3ab)]})}):_0x27c3a9;})}):_0x3995de;}function $s(){const _0x2c5cd7=_0x29ff00;return Math[_0x2c5cd7(0x581)]()[_0x2c5cd7(0x3ef)](0x24)[_0x2c5cd7(0x1da)](0x2,0x8);}Pt[_0x29ff00(0x580)]='UniverIcon';var Hs={'tag':'svg','attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2016\x2016','width':_0x29ff00(0x295),'height':_0x29ff00(0x295)},'children':[{'tag':'g','attrs':{'clipPath':_0x29ff00(0x370)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29ff00(0x5f9),'strokeLinejoin':_0x29ff00(0x5f9),'strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':_0x29ff00(0x1db)},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x29ff00(0x1db)]},Ti=ae[_0x29ff00(0x644)](function(_0x17f6e2,_0x14538d){const _0x3fe1bf=_0x29ff00;return ae[_0x3fe1bf(0x1e5)](Pt,Object[_0x3fe1bf(0x306)]({},_0x17f6e2,{'id':_0x3fe1bf(0x5fa),'ref':_0x14538d,'icon':Hs}));});Ti[_0x29ff00(0x580)]=_0x29ff00(0x648);var Bs={'tag':_0x29ff00(0x35f),'attrs':{'fill':_0x29ff00(0x63c),'viewBox':'0\x200\x2017\x2016','width':_0x29ff00(0x295),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'stroke':_0x29ff00(0x4cd),'d':_0x29ff00(0x235),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29ff00(0x56a),'attrs':{},'children':[{'tag':_0x29ff00(0x253),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x29ff00(0x683),'attrs':{'fill':_0x29ff00(0x29f),'d':_0x29ff00(0x489),'transform':_0x29ff00(0x48c)}}]}]}],'defIds':[_0x29ff00(0x1e8)]},Ri=ae[_0x29ff00(0x644)](function(_0x3e10f1,_0x2560ef){const _0x2afa87=_0x29ff00;return ae['createElement'](Pt,Object['assign']({},_0x3e10f1,{'id':_0x2afa87(0x265),'ref':_0x2560ef,'icon':Bs}));});Ri['displayName']=_0x29ff00(0x1cb);function yi(_0x8921ca){const _0x5920d7=_0x29ff00;var _0x32490b,_0x561685,_0x42931a='';if(typeof _0x8921ca=='string'||typeof _0x8921ca==_0x5920d7(0x36b))_0x42931a+=_0x8921ca;else{if(typeof _0x8921ca=='object'){if(Array['isArray'](_0x8921ca)){var _0x1dc081=_0x8921ca[_0x5920d7(0x5e7)];for(_0x32490b=0x0;_0x32490b<_0x1dc081;_0x32490b++)_0x8921ca[_0x32490b]&&(_0x561685=yi(_0x8921ca[_0x32490b]))&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}else{for(_0x561685 in _0x8921ca)_0x8921ca[_0x561685]&&(_0x42931a&&(_0x42931a+='\x20'),_0x42931a+=_0x561685);}}}return _0x42931a;}function ks(){const _0x2da0c7=_0x29ff00;for(var _0x1559af,_0x365fda,_0x48d60a=0x0,_0x380ce4='',_0x3f8c98=arguments[_0x2da0c7(0x5e7)];_0x48d60a<_0x3f8c98;_0x48d60a++)(_0x1559af=arguments[_0x48d60a])&&(_0x365fda=yi(_0x1559af))&&(_0x380ce4&&(_0x380ce4+='\x20'),_0x380ce4+=_0x365fda);return _0x380ce4;}const Ws=_0x29ff00(0x51d),Fs=_0x29ff00(0x4de),Vs=_0x29ff00(0x59f),Gs=_0x29ff00(0x274),Ys=_0x29ff00(0x35b),Me={'onlineStatusIcon':Ws,'onlineStatusTitle':Fs,'onlineStatus':Vs,'online':Gs,'offline':Ys};function Ks(_0x4b5f97){const _0x14207c=_0x29ff00;switch(_0x4b5f97){case q['OFFLINE']:return _0x14207c(0x1d7);case q[_0x14207c(0x2df)]:return _0x14207c(0x321);case q[_0x14207c(0x339)]:return _0x14207c(0x22b);case q[_0x14207c(0x3d4)]:return _0x14207c(0x3c8);case q[_0x14207c(0x505)]:case q[_0x14207c(0x290)]:return _0x14207c(0x2ac);case q[_0x14207c(0x301)]:case q[_0x14207c(0x1c5)]:return _0x14207c(0x3b6);}}function Oi(_0x2d0fef){const _0x39f27c=_0x29ff00,{status$:_0x1f68d0}=_0x2d0fef,_0x47c9e5=te[_0x39f27c(0x25b)](_0x1f68d0,q[_0x39f27c(0x3d4)]),_0x3d204f=a['useDependency'](a['LocaleService']),_0x4589eb=a[_0x39f27c(0x2af)](exports['CollaborationSessionService']),_0x8aafcf=_0x47c9e5!==q[_0x39f27c(0x548)],_0x1a34e5=_0x3d204f['t'](Ks(_0x47c9e5)),_0x1d9975=ks(Me[_0x39f27c(0x549)],{[Me['online']]:_0x8aafcf,[Me['offline']]:!_0x8aafcf}),_0x3a7de4=_0x8aafcf?ge['jsx'](Ri,{}):ge[_0x39f27c(0x3dd)](Ti,{}),_0x360e5e=ae[_0x39f27c(0x3a3)](()=>{_0x8aafcf||_0x4589eb['reconnect']();},[_0x8aafcf,_0x4589eb]);function _0x54c19f(){const _0x56a685=_0x39f27c;return ge['jsxs'](_0x56a685(0x52c),{'className':_0x1d9975,'onClick':_0x360e5e,'children':[ge[_0x56a685(0x3dd)](_0x56a685(0x52c),{'className':Me['onlineStatusIcon'],'children':_0x3a7de4}),ge['jsx']('div',{'className':Me[_0x56a685(0x42a)],'children':_0x1a34e5})]});}return _0x8aafcf?_0x54c19f():ge[_0x39f27c(0x3dd)](Ce['Tooltip'],{'title':_0x3d204f['t'](_0x39f27c(0x65d)),'children':_0x54c19f()});}var qs=Object[_0x29ff00(0x64a)],zs=Object['getOwnPropertyDescriptor'],Xs=(_0x41afc9,_0xa79fb4,_0x118243,_0x290294)=>{const _0x48cbee=_0x29ff00;for(var _0x5fb287=_0x290294>0x1?void 0x0:_0x290294?zs(_0xa79fb4,_0x118243):_0xa79fb4,_0x45468b=_0x41afc9[_0x48cbee(0x5e7)]-0x1,_0x854c1f;_0x45468b>=0x0;_0x45468b--)(_0x854c1f=_0x41afc9[_0x45468b])&&(_0x5fb287=(_0x290294?_0x854c1f(_0xa79fb4,_0x118243,_0x5fb287):_0x854c1f(_0x5fb287))||_0x5fb287);return _0x290294&&_0x5fb287&&qs(_0xa79fb4,_0x118243,_0x5fb287),_0x5fb287;},$e=(_0x588346,_0x4caadd)=>(_0x5dc16e,_0x407f55)=>_0x4caadd(_0x5dc16e,_0x407f55,_0x588346);exports[_0x29ff00(0x4b2)]=class extends a[_0x29ff00(0x331)]{constructor(_0x3c5496,_0x415880,_0x4cfedf,_0x372251){const _0x505e2d=_0x29ff00;super(),I(this,'_status$',new A[(_0x505e2d(0x26c))](q[_0x505e2d(0x3d4)])),(this[_0x505e2d(0x600)]=_0x3c5496,this[_0x505e2d(0x646)]=_0x415880,this[_0x505e2d(0x1c1)]=_0x4cfedf,this[_0x505e2d(0x421)]=_0x372251,this[_0x505e2d(0x633)](),this[_0x505e2d(0x550)]());}['_initStatusListener'](){const _0xbd2d90=_0x29ff00;this[_0xbd2d90(0x665)](this[_0xbd2d90(0x600)][_0xbd2d90(0x200)][_0xbd2d90(0x619)](A[_0xbd2d90(0x53a)](()=>{const _0x194e10=_0xbd2d90,_0x25520f=this[_0x194e10(0x600)][_0x194e10(0x498)]();return _0x25520f?this['_collaborationController'][_0x194e10(0x388)](_0x25520f[_0x194e10(0x621)]()):A['of'](null);}),A[_0xbd2d90(0x53a)](_0x53ad1d=>_0x53ad1d?_0x53ad1d[_0xbd2d90(0x405)]:A['of'](q[_0xbd2d90(0x3d4)])))[_0xbd2d90(0x58f)](_0x377113=>{const _0x212c14=_0xbd2d90;this[_0x212c14(0x1f8)][_0x212c14(0x49f)](_0x377113);}));}['_initStatusComponent'](){const _0x242dec=_0x29ff00;this['disposeWithMe'](this['_uiPartsService'][_0x242dec(0x4c0)](te['BuiltInUIPart']['HEADER_MENU'],()=>a[_0x242dec(0x298)](Js({'status$':this['_status$'][_0x242dec(0x4c6)]()}),this[_0x242dec(0x1c1)])));}},exports[_0x29ff00(0x4b2)]=Xs([$e(0x0,a[_0x29ff00(0x37f)]),$e(0x1,te[_0x29ff00(0x485)]),$e(0x2,a['Inject'](a[_0x29ff00(0x615)])),$e(0x3,a['Inject'](exports[_0x29ff00(0x323)]))],exports['DesktopCollaborationStatusDisplayController']);function Js(_0x5e8dba){const {status$:_0x2c8777}=_0x5e8dba;return function(){const _0x1cb4f6=_0x2f26;return ge[_0x1cb4f6(0x3dd)](Oi,{'status$':_0x2c8777});};}const wt=a[_0x29ff00(0x369)]('uni.network.url-service');var Zs=Object[_0x29ff00(0x64a)],Qs=Object[_0x29ff00(0x316)],er=(_0x517c2c,_0x5389a0,_0x2456f7,_0x553e80)=>{const _0x573ce9=_0x29ff00;for(var _0xc67ac=_0x553e80>0x1?void 0x0:_0x553e80?Qs(_0x5389a0,_0x2456f7):_0x5389a0,_0xe68ee9=_0x517c2c[_0x573ce9(0x5e7)]-0x1,_0x381159;_0xe68ee9>=0x0;_0xe68ee9--)(_0x381159=_0x517c2c[_0xe68ee9])&&(_0xc67ac=(_0x553e80?_0x381159(_0x5389a0,_0x2456f7,_0xc67ac):_0x381159(_0xc67ac))||_0xc67ac);return _0x553e80&&_0xc67ac&&Zs(_0x5389a0,_0x2456f7,_0xc67ac),_0xc67ac;},Re=(_0x591441,_0x1776e6)=>(_0x3d30cc,_0x42e0b9)=>_0x1776e6(_0x3d30cc,_0x42e0b9,_0x591441);exports[_0x29ff00(0x61f)]=class extends a[_0x29ff00(0x4b0)]{constructor(_0x116520,_0x23e80b,_0x372a14,_0x4c9755,_0x12dbbe,_0x14112b){const _0x2808d=_0x29ff00;super(),this[_0x2808d(0x5ec)]=_0x116520,this[_0x2808d(0x328)]=_0x23e80b,this[_0x2808d(0x5b4)]=_0x372a14,this['_localCacheService']=_0x4c9755,this[_0x2808d(0x394)]=_0x12dbbe,_0x14112b?_0x14112b==null||_0x14112b[_0x2808d(0x31e)]()['then'](()=>this[_0x2808d(0x5c4)]()):(this[_0x2808d(0x328)]['debug'](_0x2808d(0x36f),_0x2808d(0x24a)),this['_init']());}async[_0x29ff00(0x5c4)](){const _0x52b8e3=_0x29ff00,_0x3ba6bc=this[_0x52b8e3(0x5ec)][_0x52b8e3(0x56c)](_0x52b8e3(0x4f6)),_0x58eb45=this['_urlService'][_0x52b8e3(0x56c)](_0x52b8e3(0x2eb));if(!_0x3ba6bc||!_0x58eb45){this['_logService'][_0x52b8e3(0x226)]('[DataLoaderController]',_0x52b8e3(0x4f2));return;}switch(Number(_0x58eb45)){case ne[_0x52b8e3(0x3d0)]:{const _0x4f97b7=await this[_0x52b8e3(0x40f)](_0x3ba6bc);this[_0x52b8e3(0x26b)](_0x4f97b7);break;}case ne[_0x52b8e3(0x4f0)]:{await this[_0x52b8e3(0x599)](_0x3ba6bc);break;}default:{this[_0x52b8e3(0x328)][_0x52b8e3(0x27a)](_0x52b8e3(0x36f),_0x52b8e3(0x556));break;}}}async[_0x29ff00(0x26b)](_0x17c2f8){const _0x2c2419=_0x29ff00;await this[_0x2c2419(0x5ad)](_0x17c2f8),_0x17c2f8[_0x2c2419(0x342)][_0x2c2419(0x619)](A[_0x2c2419(0x264)](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](_0x1c6bba=>{const _0x4c4cc8=_0x2c2419;_0x1c6bba&&this[_0x4c4cc8(0x2e6)](_0x1c6bba);}),this[_0x2c2419(0x5ec)]['urlChange$'][_0x2c2419(0x619)](A['takeUntil'](this[_0x2c2419(0x2b6)]))[_0x2c2419(0x58f)](()=>this['_updateSubUnitFromURLParams'](_0x17c2f8));}[_0x29ff00(0x2e6)](_0xa7dedd,_0x141737=!0x1){const _0x1aae71=_0x29ff00,_0x4a83d4=this[_0x1aae71(0x5ec)][_0x1aae71(0x56c)]('subunit');_0xa7dedd[_0x1aae71(0x360)]()!==_0x4a83d4&&this[_0x1aae71(0x5ec)][_0x1aae71(0x4c7)](_0x1aae71(0x3c5),_0xa7dedd[_0x1aae71(0x360)](),_0x141737);}async['_updateSubUnitFromURLParams'](_0x303b7f){const _0xc14a4f=_0x29ff00;var _0x1f44b3;const _0x14c417=this[_0xc14a4f(0x5ec)][_0xc14a4f(0x56c)](_0xc14a4f(0x3c5));if(!_0x14c417||!_0x303b7f[_0xc14a4f(0x50c)](_0x14c417)){const _0x5ea3cc=_0x303b7f['getUnhiddenWorksheets']()[0x0],_0xaa854c=_0x303b7f['getSheetBySheetId'](_0x5ea3cc);if(!_0xaa854c)return;this[_0xc14a4f(0x2e6)](_0xaa854c,!0x0),await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f[_0xc14a4f(0x621)](),'subUnitId':_0x5ea3cc});return;}((_0x1f44b3=_0x303b7f[_0xc14a4f(0x42c)]())==null?void 0x0:_0x1f44b3[_0xc14a4f(0x360)]())!==_0x14c417&&await this[_0xc14a4f(0x5b4)][_0xc14a4f(0x645)](k[_0xc14a4f(0x3e3)]['id'],{'unitId':_0x303b7f['getUnitId'](),'subUnitId':_0x14c417});}async[_0x29ff00(0x40f)](_0x2e10ff){const _0x5c5e56=_0x29ff00;let _0x59e430=0x0;const _0x4290b7=await this[_0x5c5e56(0x34f)][_0x5c5e56(0x26d)](_0x2e10ff);return _0x4290b7&&(_0x4290b7[_0x5c5e56(0x247)]||_0x4290b7[_0x5c5e56(0x219)]['length']!==0x0)&&(_0x59e430=_0x4290b7[_0x5c5e56(0x3a4)]),_0x59e430===0x0&&this[_0x5c5e56(0x328)][_0x5c5e56(0x226)](_0x5c5e56(0x36f),_0x5c5e56(0x204)),this['_snapshotService'][_0x5c5e56(0x30d)](_0x2e10ff,_0x59e430);}async[_0x29ff00(0x599)](_0x4dfe5e){const _0x6dcf8=_0x29ff00;let _0x3cb721=0x0;const _0x3e7faa=await this['_localCacheService']['loadOfflineData'](_0x4dfe5e);return _0x3e7faa&&(_0x3e7faa[_0x6dcf8(0x247)]||_0x3e7faa['mutations'][_0x6dcf8(0x5e7)]!==0x0)&&(_0x3cb721=_0x3e7faa['rev']),_0x3cb721===0x0&&this['_logService']['debug'](_0x6dcf8(0x36f),_0x6dcf8(0x204)),this['_snapshotService'][_0x6dcf8(0x517)](_0x4dfe5e,_0x3cb721);}},exports[_0x29ff00(0x61f)]=er([Re(0x0,wt),Re(0x1,a['ILogService']),Re(0x2,a[_0x29ff00(0x587)]),Re(0x3,a[_0x29ff00(0x493)](exports[_0x29ff00(0x46a)])),Re(0x4,a[_0x29ff00(0x493)](p[_0x29ff00(0x63f)])),Re(0x5,a[_0x29ff00(0x437)](Bi['IRemoteInstanceService']))],exports[_0x29ff00(0x61f)]);var tr=Object[_0x29ff00(0x64a)],ir=Object[_0x29ff00(0x316)],nr=(_0x145082,_0x2e52b0,_0x1260f5,_0x5b6cb9)=>{const _0x2ede02=_0x29ff00;for(var _0x448313=_0x5b6cb9>0x1?void 0x0:_0x5b6cb9?ir(_0x2e52b0,_0x1260f5):_0x2e52b0,_0x341445=_0x145082[_0x2ede02(0x5e7)]-0x1,_0x526168;_0x341445>=0x0;_0x341445--)(_0x526168=_0x145082[_0x341445])&&(_0x448313=(_0x5b6cb9?_0x526168(_0x2e52b0,_0x1260f5,_0x448313):_0x526168(_0x448313))||_0x448313);return _0x5b6cb9&&_0x448313&&tr(_0x2e52b0,_0x1260f5,_0x448313),_0x448313;},Vt=(_0x4bf917,_0x50591f)=>(_0x1d1a69,_0xc68603)=>_0x50591f(_0x1d1a69,_0xc68603,_0x4bf917);const sr='DEFAULT_FILE_NAME',rr=_0x29ff00(0x33f);let Ge=class extends a['Disposable']{constructor(_0x53aadc,_0x3a64f3){const _0x19cdbb=_0x29ff00;super(),this[_0x19cdbb(0x600)]=_0x53aadc,this[_0x19cdbb(0x4ea)]=_0x3a64f3,this[_0x19cdbb(0x5c4)]();}[_0x29ff00(0x5c4)](){const _0x2a2e19=_0x29ff00;this['disposeWithMe'](this['_univerInstanceService'][_0x2a2e19(0x200)][_0x2a2e19(0x58f)](()=>{const _0x315a64=_0x2a2e19;var _0x40c83d;const _0x354078=this['_univerInstanceService']['getFocusedUnit']();let _0x5b0c9c=(_0x40c83d=this['_configService'][_0x315a64(0x1ea)](sr))!=null?_0x40c83d:rr;_0x354078 instanceof a[_0x315a64(0x2d0)]&&(_0x5b0c9c=_0x354078['name']),document['title']=_0x5b0c9c;}));}};Ge=nr([Vt(0x0,a['IUniverInstanceService']),Vt(0x1,a[_0x29ff00(0x64d)])],Ge);var or=Object[_0x29ff00(0x64a)],ar=Object[_0x29ff00(0x316)],cr=(_0x20c423,_0x193825,_0x439adf,_0x2f2aa9)=>{const _0x5453c5=_0x29ff00;for(var _0x3e0016=_0x2f2aa9>0x1?void 0x0:_0x2f2aa9?ar(_0x193825,_0x439adf):_0x193825,_0xda4f75=_0x20c423[_0x5453c5(0x5e7)]-0x1,_0x1a69f8;_0xda4f75>=0x0;_0xda4f75--)(_0x1a69f8=_0x20c423[_0xda4f75])&&(_0x3e0016=(_0x2f2aa9?_0x1a69f8(_0x193825,_0x439adf,_0x3e0016):_0x1a69f8(_0x3e0016))||_0x3e0016);return _0x2f2aa9&&_0x3e0016&&or(_0x193825,_0x439adf,_0x3e0016),_0x3e0016;},ct=(_0x5e353b,_0x3fd0cf)=>(_0x361e9d,_0x52e994)=>_0x3fd0cf(_0x361e9d,_0x52e994,_0x5e353b);let Ye=class{constructor(_0x30a2ce,_0x5d4afb,_0x30236e){const _0x50ba2c=_0x29ff00;this[_0x50ba2c(0x4ea)]=_0x30a2ce,this['_httpService']=_0x5d4afb,this[_0x50ba2c(0x649)]=_0x30236e,this[_0x50ba2c(0x334)]();}[_0x29ff00(0x334)](){const _0x11df2c=_0x29ff00;this[_0x11df2c(0x620)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3367d4,_0x512d9e)=>_0x512d9e(_0x3367d4)[_0x11df2c(0x619)](A['concatMap'](async _0x520ace=>{const _0x4bcc28=_0x11df2c,_0x3c1f1d=_0x520ace;if(_0x3c1f1d[_0x4bcc28(0x2be)]===0x191&&window[_0x4bcc28(0x3e5)](this[_0x4bcc28(0x649)]['t'](_0x4bcc28(0x4bb)))){const _0x91bdbd=window[_0x4bcc28(0x61d)](window[_0x4bcc28(0x60d)]['href']);window[_0x4bcc28(0x60d)][_0x4bcc28(0x244)]=this[_0x4bcc28(0x60b)]()+_0x4bcc28(0x4c1)+_0x91bdbd;}return _0x3c1f1d;}))});}['_getLoginPath'](){const _0x3728e2=_0x29ff00;var _0x2fee53,_0x21d9ec;const _0x431409=this['_configService']['getConfig'](hi),_0x2d7acd=this['_configService'][_0x3728e2(0x1ea)](Q);return(_0x21d9ec=(_0x2fee53=_0x2d7acd==null?void 0x0:_0x2d7acd['loginUrlKey'])!=null?_0x2fee53:_0x431409)!=null?_0x21d9ec:Ji;}};Ye=cr([ct(0x0,a[_0x29ff00(0x64d)]),ct(0x1,a[_0x29ff00(0x493)](z['HTTPService'])),ct(0x2,a['Inject'](a[_0x29ff00(0x430)]))],Ye);var lr=Object['defineProperty'],hr=Object[_0x29ff00(0x316)],_r=(_0x5966d0,_0x487395,_0x46c0d0,_0x3cf26c)=>{for(var _0x50f6ae=_0x3cf26c>0x1?void 0x0:_0x3cf26c?hr(_0x487395,_0x46c0d0):_0x487395,_0x5c1597=_0x5966d0['length']-0x1,_0x351941;_0x5c1597>=0x0;_0x5c1597--)(_0x351941=_0x5966d0[_0x5c1597])&&(_0x50f6ae=(_0x3cf26c?_0x351941(_0x487395,_0x46c0d0,_0x50f6ae):_0x351941(_0x50f6ae))||_0x50f6ae);return _0x3cf26c&&_0x50f6ae&&lr(_0x487395,_0x46c0d0,_0x50f6ae),_0x50f6ae;},Gt=(_0x4b40f7,_0x267177)=>(_0x4bd7c5,_0x7a8a01)=>_0x267177(_0x4bd7c5,_0x7a8a01,_0x4b40f7);function _0x595e(){const _0x1b99cf=['generateRandomId','_tryEnsureSocket','INGEST','post','_collabCursorController','loadDoc','addObject','hide','418748mXHXMQ','_removeCollabCursors','RemoveRowCommandId','univer-online-status-icon','_docClipboardService','authzUrl','onRemoteRej','_keySchedule','_undoStacks','_getAPIPrefixPath','startTime','sin','getDocRanges','createInstance','sessionTicket','OpenSSL','FAIL','userID','div','VIEW_MAIN','saveSnapshot','hasher','lib','_lockTransition','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[UniverCollaborationClientPlugin]','Subject','_isPermissionRej','list','_transformStack','_reverseMap','_HTTPService','switchMap','now','subscribeEvent','clamp','fill','compose','randomUUID','@univerjs/engine-render','_roomMembers','_substituteUndoStack','labelPosition','Hasher','DisposableCollection','getMergeData','OFFLINE','onlineStatus','_minBufferSize','deserializeRangeWithSheet','conflict.content','debounceTime','url(#$1','getTime','_initStatusListener','update','colorChannel1','unitID','_removeRoom','/collaborator','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitSnapshot','_DEC_XFORM_MODE','Undefined','CHANGESET_REJ','eventID','FileId','body','createEncryptor','getCollabEntity','HmacMD5','_initUnitPermissionChange','serializeRangeWithSheet','UNAUTHENTICATED','startColumn','WebURLService','133872AEvWyF','apply','_getRedoStack','DependentOn','defs','COMPRESS_MUTATION_APPLY','getParam','LEAVE','collab-text-anchor-','VIEWPORT_KEY','searchParams','telemetry\x20info\x20is\x20not\x20initialized','ONLINE','baseRev','OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL','toRgbString','listCollaborators','removeMember','SetDocZoomRatioOperation','_onRecvEvent','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','iterations','StreamCipher','COMPRESS_MUTATION_SEND','displayName','random','HttpExport','_getSnapshotAPIPrefix','onMissedChangesetFetched','sid','addClipboardHook','ICommandService','ceil','collaboration-session-retry','_http','find','/universer-api/authz','WorkbookEditablePermission','initWorkbookPermissionChange','subscribe','_permissionService','/universer-api/oidc/authpage','SetTextSelectionsOperation','listRoles','enableAuthServer','registerHTTPInterceptor','_initCommandExecutedListener','encode','_getSendChangesetTimeout','_loadDoc','RevisionService','handleInsertRow','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','byteOffset','_mode','univer-online-status','@univerjs/engine-formula','USERS_LEAVE','image/png','Encryptor','exports','_scheduleSaving','Rectangle','sheetId','function','_waitCount','lineTo','_ws','[PendingState]:\x20received\x20acknowledgement.','_updateSubUnitFromURLParams','\x20-\x20','appendMutation','_sender','getCurrentUnitForType','getVpScrollXYInfoByPosToVp','ImageSourceType','_commandService','session.connection-failed','_cursorShapes','IRenderManagerService','getMember','resize','isTransformMutationsWithChangesetSuccess','jsxs','USERS_ENTER','randomBytes','action','then','split','_incrementRevisionNumber','saveOfflineData','clone','_init','DeleteRangeMoveUpCommandId','HEARTBEAT','setCurrentUser','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SheetCollabCursorShape','tag','_drawAnchor','MSG_FOR_ERROR','SheetCollaborationEntity','UniverInstanceType','UNIVER_PROJECT','_onUserLeave','_state','_retryConnectingTimer','originalMeta','_toggleOnline','/allowed','getCurrentSelections','hasOwnProperty','getCurrentUser','_render','ERROR_IMAGE','joinEvent','/universer-api/snapshot','DocCollaborationEntity','_replaceFileID','[CollaborationSessionService]:\x20socket\x20error','SHA1','LOGIN_URL_KEY','editing\x20status\x20changed\x20to','useRef','@univerjs/docs','_onConnectionOpen','dispose','length','handleIRemoveRow','_roomMembers$','CollaborationSessionService','_docTransformStateCacheService','_urlService','merge','AuthzIoHttpService','transformRemoteChangeset','fetchThroughInterceptors','AUTHZ_URL_KEY','YUUMI_UNABLE_LOAD_URL','getOffsetConfig','getInterceptPoints','_compressMutationService','hostname','_getSaveTimeout','bottom','round','off-line-single','_resendWithTimeout','_unitStatus','defaultProps','revision','rng','_univerInstanceService','_labelPosition','collaboration-client.config','_hasher','filter','IAuthzIoService','Rect','editingUnit','parseProtocolChangeset','UNKNOWN_CODE','JSONX','_getLoginPath','rxjs','location','objectActions','UserManagerService','_scheduleHeartbeat','_updateLocalCache','_notificationService','_sheetSkeletonManagerService','_onConnectionFailed','Injector','_initRequestHeader','Module','_joinRoom','pipe','JOIN_ROOM_FULL','PERSON','fromEvent','encodeURIComponent','black','DataLoaderController','_httpService','getUnitId','_timeoutTimer','createCollaborator','RefRangeService','UNIVER_SLIDE','blockSize','attrs','Base','target','size','createSocket','_name','SNAPSHOT_HAS_BEEN_REMOVED','getItem','_retryCount','/universer-api/stream/file/upload','NoPadding','[OfflineState]:\x20received\x20acknowledgement.','_initStatusComponent','clearInterval','_getDownloadEndpointURL','UniverCollaborationPlugin','_setupBeforeClosingHandler','UNKNOWN_CMD','_eventUnsubscribe','UniverCollaborationClientPlugin','COMPLETION_FINISHED','none','11802990PhpVYZ','_transformIMECache','SnapshotService','isEditing','clear','close$','use','forwardRef','executeCommand','_uiPartsService','roomMembers$','OffLineSingle','localeService','defineProperty','DocSelectionManagerService','objectType','IConfigService','deepClone','UNDEFINED','objects','unpad','_unlockTransition','_collabSessionService','_fetchMissChangesets','origin','_cachedData','image/jpg','BlockCipherMode','default','_onLocalMutation','_applyRemoteChangeset','collaborators','collab-client.tooltip.reconnect','stringify','...','_updateLocalCursor','InsertColCommandId','ImageUploadStatusType','HMAC','_doCryptBlock','disposeWithMe','defIds','InsertRangeMoveRightCommandId','_colorIndex','EvpKDF','startsWith','_resendTimeout','_clearOtherTimers','onTransformState','deserializeToCombResponse','getStateCache','IBeforeCloseService','BlockCipher','InsertSheetMutation','_transitionLocked','Shape','result','transformByState','_disableEditing','socketService','CollaborationSession','_startDocCollabCursor','Malformed\x20UTF-8\x20data','method','salt','newValue','_assignedColors','_replayCachedMutations','file','updateCollaborator','path','changesets','_append','onSendChangeset','_doProcessBlock','CommandType','collab-text-range-','hovered','_syncEditingCollabCursorService','_clearTimeoutTimer','newCsEvent','shouldCloseConn','max','fromEventSubject','mapDocumentTypeToUniverType','objectID','[PendingState]:\x20received\x20rejection.','HTTPService','subject','_beforeCloseService','_injector','_handleEvent','error$','parse','PENDING','indexOf','snapshot','undoState','_tryReconnect','getUnitOnRev','OnLineSingle','_docStateChangeManagerService','ENSURE_SNAPSHOT_EXECUTION','_acknowledgedAwaitingChangeset','INVALID_ARGUMENT','_getCurrentRevision','_substituteRedoStack','state','_initDependencies','_transformSelections','call','MemberService','collabStatus.offline','words','createDecryptor','substring','off-line-single_clip0_910_343','_snapshotServerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','addImageSourceCache','fromCharCode','measureText','_id','WordArray','_onCursorUpdate','_color','createElement','_clearHeartbeatTimer','/universer-api/snapshot/','on-line-single_clip0_910_349','ITelemetryService','getConfig','_collaborationSessionService','_lastPointer','synced','encryptBlock','&source=','_updateState','getRelativeToViewportCoord','_disabled','APPLY_REJECT','isInternalEditorID','gold400','unknown','_docSyncEditingCollabCursorService','_status$','HEARTBEAT_INTERVAL_KEY','isTransformMutationsWithChangesetFailure','top','getUndoRedoMutationParamsCache','children','prototype','getUnitStatus$','focused$','_type','_stopTelemetryCollaborationNewChangeset','onMissingChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onlyLocal','CONNECTOR_DATA_TOO_LARGE','deleteCollaborator','_nDataBytes','_removeClearOtherTimer','set','handleIRemoveCol','getSheetObject','current','endColumn','_localeService','SheetsSelectionsService','fillStyle','_onRemoteChangeset','image/jpeg','source','JOIN_ROOM_NOT_ALLOWED','LIVESHARE_TERMINATE','_xformMode','COLLAB_CLIENT_CONFIG_KEY','mutations','_socketReady','unitId','_exhaustRemoteChangesetQueue','_getMergeRange','CollaborationEntity','YUUMI_SUBSCRIPTION_NOT_FOUND','_context','_entities','IDocClipboardService','_toggleOffline','__Key__','fetch_missing','debug','getRandomValues','react.element','DocSkeletonManagerService','commentUpdate$','collabStatus.fetchMiss','_candidateSocket','_onUserJoin','complete','_onCursorDelete','univer-pro.collaboration-client.single-active-unit-service','add','_startSheetCollabCursor','_saveTaskMap','Base64','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','handleDeleteRangeMoveLeft','_decreaseWaiting','SNAPSHOT_URL_KEY','m2Prime','CHANGESET_REVISION_CONFILICT','_entityInit$','YUUMI_RATE_OVER_LIMIT','registerOnClose','_getAPIPrefix','SetSelectionsOperation','SessionStatus','symbol','debounce','DocStateChangeManagerService','href','_event$','addEventListener','awaitingChangeset','imageSourceType','CHANGESET_ACK','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unshift','ReplaySubject','_scheduleClearOtherTimer','_socketMessageSubscription','duration','_initCloseConn','crypto','CBC','clipPath','_localStorageService','assignAColorForMemberID','onPointerEnter$','session','21yLBCkT','CollaborationEvent','_saveCache','useObservable','readAsDataURL','code','roomMembers','_sendHeartbeatTimer','byteLength','_onCombEvent','decrypt','includes','takeUntil','on-line-single','_updateCollabCursors','reconnect','transformMutationsWithChangeset','_createInitialState','MoveRangeCommandId','_setupSubUnitSync','BehaviorSubject','loadOfflineData','saveChangeset','parseChangesetToProtocol','disposeUnit','collaboration.closeRoom','_members','_transformUndoRedoStack','univer-online','RECV','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getScale','_cursorInfo$','getCoordByCell','error','message$','Unknown\x20user','NO_OTHER_CLIENTS_EDITING','wsSessionTicketUrl','Vector2','onRendered','IDLE','compute','_telemetryService','liveShareOperation','beginPath','470538fYcBqL','WebSocketService','$super','onTransformSelections','INTERNAL_ERROR','_onFetchMissResult','liveShareNewHost','_onJoinRoomEvent','setItem','1764AfHGhK','AWAITING_WITH_PENDING','string','_socketService','setStateCache','evenodd','1em','_telemetryInfo','_doReset','connectInjector','sessionStatus$','commentUpdateEvent','incrementRevOfUnit','reset','collabSubmitChangesetUrl','arc','#fff','COLLAB_SUBMIT_CHANGESET_URL','transformUndoRedo','for','_createHandler','_collaborationPaused','restore','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerMove$','_revisionService','_onRemoteACK','_send','triggerDblclick','collabStatus.syncing','HELLO','flatMap','useDependency','&to=','_initResize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','getViewport','rgba(255,\x20255,\x20255,\x200.01)','dispose$','_sessions','ALREADY_EXISTS','purple300','submit\x20changeset\x20error!','TOO_MANY_REQUESTS','application/json','MentionIoHttpService','status','_hideTimer','_invKeySchedule','transformSelections','SUCCUSS','copyFileMeta','_onConflict','_transformRemoteChangesetByStateCache','failed\x20to\x20apply\x20missed\x20changesets!','joinRsp','SUBMIT_CHANGESET','concat','_queuedRemoteChangesets','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','name','CHANGESET_SHOULD_RETRY','repeat','Workbook','resend','avatar','__creator','_iKey','_singleActiveUnitService','HTTPRequest','getAllMembers','LocalUndoRedoService','disableLocalCache','APPLY_REVISION_CONFILICT','leaveEvent','onMouseMove','/rev/','setInterval','CONFLICT','getUnitType','mapTo','padding','getOwnPropertySymbols','msCrypto','_refRangeService','_updateURLWithCurrentState','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','@univerjs/sheets','registerRefRange','fromCollab','type','image/gif','_docTransformIMECacheService','SheetSkeletonManagerService','get','setConfig','_change$','_commentUpdate$','toggleOffline','column','NOT_FOUND','sequenceExecute','collaboratorID','pad','addObjects','_docSkeletonManagerService','univerjs-icon\x20univerjs-icon-','handleMoveRange','b64DecodeUnicode','getColor','sessionStatus','isPermissionRej','SYNCED','Tools','BASE64','pauseCollaboration','x-univer-host','assign','all','replaceDocRanges','getCurrentRevOfUnit','CommentService','_shapes','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','loadSheet','hidden','extend','transform','processBlock','exhaustSavingTask','LIVESHARE_NEW_HOST','with','c1Prime','getOwnPropertyDescriptor','sheets','show','_createInitialStateImpl','append','CompressMutationService','socket\x20open.','[CollaborationSessionService]','whenReady','[CollaborationUndoRedoService]','DocIMEInputManagerService','collabStatus.conflict','/object','CollaborationController','_onOffline','IUndoRedoService','values','_createSocketURL','_logService','syncEditingCollabCursor','_pendingMutations','getActiveRange','Fragment','_listenToOnlineEvent','headers','LICENSE_EXPORT_SIZE_EXCEEDED','_docTransformSelectionsService','Disposable','every','jiqing500','init','connection\x20error','pushState','_socket$','selections','FETCH_MISS','_submitChangeset','downloadEndpointUrl','_handleHover','_unitID','\x0aCurrent:\x20','Univer','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','Error','activeSheet$','resolve','RichTextEditingMutation','_userManagerService','snapshotServerUrl','_onRefRangeChange','HmacSHA1','finalize','setTimeout','react.fragment','@univerjs/docs-ui','_anchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','transformIMECache','INotificationService','ticket','_startTelemetryCollaborationNewChangeset','splice','some','doc.mutation.rich-text-editing','setShowComponents','UnitEmbedded','xlink:href','_iv','univer-offline','_online','ImageIoService','memberID','svg','getSheetId','findNodePositionByCharIndex','blue400','_throwTelemetryCollaborationNewChangeset','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','updatePermissionPoint','width','[CollaborationState]:\x20apply\x20error!','createIdentifier','collaboration_new_changeset','number','RECT','_state$','cursorInfo$','[DataLoaderController]','url(#off-line-single_clip0_910_343)','visibilitychange','toDisposable','contains','CollaborationSocketService','color','height','JOINING','image/bmp','fetchMissingChangesets','enableSingleActiveInstanceLock','MD5','getSheetBlock','_session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','IUniverInstanceService','DOC_RANGE_TYPE','react','_registerDependencies','10296GKdblt','substr','send','@univerjs/ui','collab-rect-range-','getCollabEntity$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','setUndoRedoMutationParamsCache','CipherParams','_drawRectRange','has','enc','ITransformService','Warning','makeDirty','_process','setActiveRange','_snapshotService','algo','onRemoteRetry','/fetchmissing?from=','IContextService','_onMessage','className','LOCAL_CACHE_INTERVAL_KEY','conflict.title','change$','socket$','currentSkeleton$','getDeserializedSheetBlock','forEach','LICENSE_DISTRO_REJECTED','useCallback','rev','InsertRangeMoveDownCommandId','getRangePointData','/universer-api/file/{fileID}/sign-url','stopTime','_doFinalize','text','idSuffix','collaboration-client.offline-data-not-saved','getUnit','SheetPermissionInitController','/block/','ciphertext','touchDependencies','signUrlServerUrl','UNIVER_UNKNOWN','conflict','_changesetReqId','collabStatus.synced','Plugin','min','onload','_heartbeatTimer','slice','push','delay','PERMISSION_DENIED','_waitForHeartbeatResponse','kdf','collaboration.single-unit.warning','#FFF','_anchorDot','_key','subunit','_getUploadFileURL','/universer-api/user/session-ticket','collabStatus.notCollab','_prevBlock','setShapeProps','_checkMissing','_scene','setWaitCount','abs','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','IPermissionService','throttleTime','_getAnchorBounding','NOT_COLLAB','Latin1','workbook','take','_changesetSessionId','@univerjs/telemetry','subUnitId','_hovered','delete','jsx','_executeRemoteChangeset','_commentService','LICENSE_MAX_UNITS_EXCEEDED','@univerjs-pro/collaboration','_cursor','SetWorksheetActivateCommand','drawWith','confirm','Utf8','fillRule','_createSocket','ivSize','registerRenderModule','data','cursorInfo','_imageSourceCache','selection','toString','onCommandExecuted','reduce','withCredentials','updateMember','getAncestorScale','trim','saveImage','create','floor','registerBeforeClose','[OfflineState]:\x20received\x20changeset.','onRemoteAck','join','SNAPSHOT_SERVER_URL_KEY','updatePermissionObjEvent','range','isArray','_ENC_XFORM_MODE','NEW_CHANGESETS','@univerjs/drawing','closePath','status$','_initMergeInterceptor','_hash','NodePositionConvertToRectRange','charCodeAt','getMemberID','[SyncedState]:\x20received\x20acknowledgement.','getRenderById','AES','_clearUndo','_loadSheet','UPDATE_PERMISSION_OBJ','EffectRefRangId','_createHmacHelper','RemoveColCommandId','FETCH_MISSING','runRefRangeMutations','_awaitingChangeset','CollaborationStatusDisplay','open$','UNRECOGNIZED','_cipher','collabCursorState$','SnapshotServerOverHTTPService','_clearLocalCache','BufferedBlockAlgorithm','_syncEditingCollabCursor','onTransformIME','_collaborationController','_sendHeartbeat','HEARTBEAT_TIMEOUT','history','key','ISnapshotServerService','_memberService','onTransformRemoteChangesetByIMECache','requireSession','onlineStatusTitle','LIVESHARE_FETCH_OPERATIONS','getActiveSheet','onStateChange','getValue','_scheduleTimestamp','LocaleService','resourceIDs','entries','_imageIoService','_getSessionTicket','UPDATE_CURSOR','online','Optional','ThemeService','_sessionStatus$','ILocalStorageService','getImage','transformMutation','row','replace','unit-cache-','/unit/','requestParams','encrypt','session.will-retry','csShouldRetryEvent','Decryptor','\x20to\x20','params','LIVESHARE_OPERATION','_transformService','UUID','currentTheme$','ws://127.0.0.1:8000/universer-api/comb/connect','SHOULD_CLOSE_CONN','reqId','redoState','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_IMAGE_TYPE','closeSession','clearTimeout','[SyncedState]:\x20received\x20rejection.','getCollabCursors$','_transformStateCache','_handleHeartbeatEvent','format','_parse','transformStack\x20failed!','SEND_CHANGESET_TIMEOUT_KEY','sigBytes','_document','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','?size=','getTypeOfUnitAdded$','_data','_undoRedoService','getUniverSheetInstance','_range','_hover','_clearScheduledTask','_handler','_refreshCollabCursors','_transformPreviousActiveRange','LocalCacheService','onSyncEditingCollabCursor','/role','verdancy600','charAt','transformStateCache','_keyPriorReset','\x20in\x20_schedule.','replaceState','HEARTBEAT_TIMEOUT_KEY','8PpsTLa','m1Prime','ranges','COLLAB_WEB_SOCKET_URL_KEY','setAlpha','_textBubble','_showConflictNotification','_getCtorByUniverType','Cipher','_shouldReportTelemetry','_messageService','IMessageService','_onRemoteRejected','onStarting','enableOfflineEditing','_collabCursorState$','distinctUntilChanged','IUIPartsService','ref','[OfflineState]:\x20received\x20rejection.','save','M0\x200H16V16H0z','event$','_redoStacks','translate(.97)','interceptor','_themeService','JOIN','_schedule','_socket','COMMENT_UPDATE','Inject','1349052yIWWrk','infoRsp','pending','_collaborationTimeoutTimer','getFocusedUnit','close','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getUndoStack','fillText','catch','textRanges','next','cmd','_instanceService','updateCursorEvent','skeleton','_resendTimer','SerializableCipher','[CollaborationSession]','execute','onCommentUpdate','_ensureSubject','HEARTBEAT_INTERVAL','moveTo','ILogService','url','[FetchMissState]','reject','RxDisposable','getSkeleton','DesktopCollaborationStatusDisplayController','font','isTransformMutationFailure','toggleOnline','_transformHistoryAndStateStack','POST','isActive','keySize','awaiting_with_pending','auth.needGotoLoginAlert','_renderManagerService','mixIn','_onRemoteRetry','state$','registerComponent','?url=','isTransformChangesetsSuccess','c2Prime','combineLatest','onRemoteChangeset','asObservable','setParam','MergeInterceptorFactory','ThresholdInterceptorFactory','mode','getRoom','APPLY_DUPLICATED','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','updateOfflineData','HttpImport','put','@univerjs/sheets-ui','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_handleLeaveEvent','_initEventListeners','awaiting','_selfUnitIDs','_transformUndoredo','_drawTextRange','bind','map','_oKey','_sendingTimer','univer-online-status-title','_sheetTransformSelectionsService','offline','_colorAssignService','@univerjs/network','from','fetching\x20missing\x20changesets\x20from\x20','reverse','PSEUDO_FETCH_MISSING_RESULT','decryptBlock','_remoteChangesetQueue','/-/object/list','_configService','unsubscribe','csRejEvent','EXCHANGE_SIGN_URL_SERVER_URL_KEY','1155290aOmmEP','_clearRedo','UNIVER_DOC','PERMISSION_REJ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','People','COLORS','_config','unit','/object/','_updateStatus','override','routeKey','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','actions','_cursors','_createHelper','TEXT','_startCollaboration','MUTATION','[CollaborationEntity]','cfg','ReactCurrentOwner','AWAITING','MessageType','transformChangesets','responseType','IImageIoService','permission.title','collabWebSocketUrl','getSheetBySheetId','_rescheduleHeartbeat','_clearCollaborationTimeoutTimer','_registerRenderDependencies','pluginName','APPLY_NON_SEQUENTIAL_REVISION'];_0x595e=function(){return _0x1b99cf;};return _0x595e();}const Ut=_0x29ff00(0x5f1),ur=_0x29ff00(0x58c);exports[_0x29ff00(0x5ee)]=class extends a[_0x29ff00(0x331)]{constructor(_0xc74f9,_0x1cf93d){const _0x5ce600=_0x29ff00;super(),this['_HTTPService']=_0xc74f9,this[_0x5ce600(0x4ea)]=_0x1cf93d,this[_0x5ce600(0x406)]();}[_0x29ff00(0x406)](){const _0x556677=_0x29ff00,_0x241149=this;this[_0x556677(0x665)](this[_0x556677(0x539)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':z[_0x556677(0x4c8)]({'isMatch'(_0x54e070){const _0x222c9d=_0x556677;var _0x57982c;if(_0x54e070[_0x222c9d(0x67c)]===_0x222c9d(0x4b7)&&((_0x57982c=_0x54e070['requestParams'])!=null&&_0x57982c['body'])){const {objectID:_0x41f8d6,objectType:_0x9ef139}=_0x54e070[_0x222c9d(0x441)][_0x222c9d(0x55d)]||{};if(!_0x41f8d6||_0x9ef139===void 0x0)return!0x1;const _0x54ae06=_0x241149[_0x222c9d(0x523)]()+'/'+_0x9ef139+_0x222c9d(0x4f7)+_0x41f8d6+'/allowed';if(_0x54e070[_0x222c9d(0x4ad)]===_0x54ae06)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a531f){const _0x1b4342=_0x556677;var _0x5ba011;return(_0x5ba011=_0x4a531f[_0x1b4342(0x441)])==null?void 0x0:_0x5ba011['body'];},'mergeParamsToRequest'(_0xb08608,_0x67fcc2){const _0x7cb3d2=_0x556677,_0x1888fa=_0x241149[_0x7cb3d2(0x523)]()+'/-/object/-/batch_allowed',_0x1c1197=_0xb08608[_0x7cb3d2(0x3f1)]((_0x2ce4ac,_0xc170f6)=>{const {unitID:_0x4fe74a,objectID:_0x174e74,objectType:_0x1eb638,actions:_0x3e294}=_0xc170f6;return _0x2ce4ac[_0x4fe74a]||(_0x2ce4ac[_0x4fe74a]={}),_0x2ce4ac[_0x4fe74a][_0x174e74]||(_0x2ce4ac[_0x4fe74a][_0x174e74]={'objectID':_0x174e74,'objectType':_0x1eb638,'actions':[]}),_0x2ce4ac[_0x4fe74a][_0x174e74]['actions']['push'](..._0x3e294),_0x2ce4ac;},{}),_0x1b3776=[];for(const _0x1e2565 in _0x1c1197)for(const _0x20f4a2 in _0x1c1197[_0x1e2565]){const {actions:_0xaef03d,objectType:_0x3c254d}=_0x1c1197[_0x1e2565][_0x20f4a2],_0x26bd72=[...new Set(_0xaef03d)];_0x1b3776[_0x7cb3d2(0x3bc)]({'unitID':_0x1e2565,'objectID':_0x20f4a2,'objectType':_0x3c254d,'actions':_0x26bd72});}return new z[(_0x7cb3d2(0x2d6))](_0x7cb3d2(0x4b7),_0x1888fa,{'headers':_0x67fcc2['headers'],'withCredentials':_0x67fcc2[_0x7cb3d2(0x3f2)],'responseType':_0x67fcc2[_0x7cb3d2(0x508)],'body':{'requests':_0x1b3776}});}},{'distributeResult'(_0x3bd464,_0x50457d){const _0x190609=_0x556677,{objectActions:_0x5efeb2}=_0x3bd464;return _0x50457d[_0x190609(0x4db)](_0x17d89c=>{const _0x333b04=_0x190609,{unitID:_0x206151,objectID:_0x237fde,actions:_0x26280f}=_0x17d89c,_0x2dc7c9=_0x5efeb2[_0x333b04(0x58b)](_0x3992e1=>_0x3992e1[_0x333b04(0x553)]===_0x206151&&_0x3992e1[_0x333b04(0x1bc)]===_0x237fde),_0x2e3313=_0x26280f[_0x333b04(0x4db)](_0x8b3448=>_0x2dc7c9==null?void 0x0:_0x2dc7c9['actions'][_0x333b04(0x58b)](_0x54a2eb=>_0x54a2eb[_0x333b04(0x5be)]===_0x8b3448))['filter'](_0x1cea87=>!!_0x1cea87);return{'config':_0x17d89c,'result':{'actions':_0x2e3313,'error':_0x3bd464[_0x333b04(0x27a)]}};});}})}));}[_0x29ff00(0x523)](){const _0x48c388=_0x29ff00;var _0x2f2999,_0x5e56a0;const _0x33aa43=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Ut),_0x1f4233=this[_0x48c388(0x4ea)][_0x48c388(0x1ea)](Q);return(_0x5e56a0=(_0x2f2999=_0x1f4233==null?void 0x0:_0x1f4233['authzUrl'])!=null?_0x2f2999:_0x33aa43)!=null?_0x5e56a0:ur;}async[_0x29ff00(0x3f7)](_0x30ef72){const _0x46e691=_0x29ff00,_0x22c525=this[_0x46e691(0x523)]()+'/'+_0x30ef72[_0x46e691(0x64c)]+_0x46e691(0x322);return(await this['_HTTPService'][_0x46e691(0x515)](_0x22c525,{'body':_0x30ef72}))[_0x46e691(0x55d)]['objectID']||'';}async[_0x29ff00(0x536)](_0x56b0aa){const _0x3f0b36=_0x29ff00,_0xb91c36=this[_0x3f0b36(0x523)]()+_0x3f0b36(0x4e9);return(await this[_0x3f0b36(0x539)][_0x3f0b36(0x515)](_0xb91c36,{'body':_0x56b0aa}))[_0x3f0b36(0x55d)][_0x3f0b36(0x650)];}async[_0x29ff00(0x551)](_0x59f7af){const _0x3085f6=_0x29ff00,_0x47f05a=this[_0x3085f6(0x523)]()+'/'+_0x59f7af[_0x3085f6(0x64c)]+_0x3085f6(0x4f7)+_0x59f7af[_0x3085f6(0x1bc)];await this[_0x3085f6(0x539)]['put'](_0x47f05a,{'body':_0x59f7af});}async['allowed'](_0x32f92b){const _0x2b9246=_0x29ff00,_0x14c6af=this[_0x2b9246(0x523)]()+'/'+_0x32f92b[_0x2b9246(0x64c)]+'/object/'+_0x32f92b[_0x2b9246(0x1bc)]+_0x2b9246(0x5d5);return(await this[_0x2b9246(0x539)][_0x2b9246(0x515)](_0x14c6af,{'body':_0x32f92b}))[_0x2b9246(0x55d)][_0x2b9246(0x4fc)];}async['batchAllowed'](_0x1afbd1){const _0x1bdae3=_0x29ff00,_0x56cd4b=this[_0x1bdae3(0x523)]()+'/-/object/-/batch_allowed';return(await this[_0x1bdae3(0x539)][_0x1bdae3(0x515)](_0x56cd4b,{'body':{'requests':_0x1afbd1}}))[_0x1bdae3(0x55d)][_0x1bdae3(0x60e)];}async[_0x29ff00(0x593)](_0x4c29bd){const _0x45e343=_0x29ff00,_0x41e7a3=this[_0x45e343(0x523)]()+'/'+_0x4c29bd[_0x45e343(0x64c)]+_0x45e343(0x46c),_0x164f56=await this[_0x45e343(0x539)]['post'](_0x41e7a3,{'body':_0x4c29bd});return{'roles':_0x164f56[_0x45e343(0x55d)]['roles'],'actions':_0x164f56[_0x45e343(0x55d)][_0x45e343(0x4fc)]};}async[_0x29ff00(0x207)](_0xbb1f88){const _0x1a3b45=_0x29ff00,_0x5cca23=this[_0x1a3b45(0x523)]()+'/collaborator';await this['_HTTPService'][_0x1a3b45(0x3dc)](_0x5cca23,{'params':{'collaboratorID':_0xbb1f88[_0x1a3b45(0x2f7)],'objectID':_0xbb1f88[_0x1a3b45(0x1bc)],'unitID':_0xbb1f88[_0x1a3b45(0x553)]}});}async[_0x29ff00(0x682)](_0x3bec5e){const _0x161459=_0x29ff00,_0xb7c7e8=this[_0x161459(0x523)]()+_0x161459(0x555);await this[_0x161459(0x539)]['patch'](_0xb7c7e8,{'body':_0x3bec5e});}async[_0x29ff00(0x623)](_0x4a9d48){const _0x5c1ad4=_0x29ff00,_0x2b219a=this[_0x5c1ad4(0x523)]()+'/collaborator';await this[_0x5c1ad4(0x539)][_0x5c1ad4(0x515)](_0x2b219a,{'body':_0x4a9d48});}async[_0x29ff00(0x577)](_0x53a230){const _0x55f7ba=_0x29ff00,_0x370327=this[_0x55f7ba(0x523)]()+_0x55f7ba(0x555);return(await this[_0x55f7ba(0x539)][_0x55f7ba(0x2ef)](_0x370327,{'params':{'objectID':_0x53a230[_0x55f7ba(0x1bc)],'unitID':_0x53a230['unitID']}}))[_0x55f7ba(0x55d)][_0x55f7ba(0x65c)];}async['putCollaborators'](_0x438310){const _0x5d81cb=_0x29ff00,_0x218353=this[_0x5d81cb(0x523)]()+_0x5d81cb(0x555);await this[_0x5d81cb(0x539)][_0x5d81cb(0x4d1)](_0x218353,{'body':_0x438310});}},exports[_0x29ff00(0x5ee)]=_r([Gt(0x0,a[_0x29ff00(0x493)](z['HTTPService'])),Gt(0x1,a['Inject'](a[_0x29ff00(0x64d)]))],exports[_0x29ff00(0x5ee)]);var Di={'exports':{}};function dr(_0x4b4c72){const _0xb2980d=_0x29ff00;throw new Error(_0xb2980d(0x364)+_0x4b4c72+_0xb2980d(0x37e));}var lt={'exports':{}},Yt;function oe(){return Yt||(Yt=0x1,function(_0x241c03,_0xf167e7){(function(_0x21bda6,_0x323b4c){const _0x158b8a=_0x2f26;_0x241c03[_0x158b8a(0x5a4)]=_0x323b4c();}(Z,function(){var _0x2db34b=_0x2db34b||function(_0x325ee7,_0xc87387){const _0x3ca720=_0x2f26;var _0x281cd8;if(typeof window<'u'&&window['crypto']&&(_0x281cd8=window[_0x3ca720(0x251)]),typeof self<'u'&&self[_0x3ca720(0x251)]&&(_0x281cd8=self[_0x3ca720(0x251)]),typeof globalThis<'u'&&globalThis[_0x3ca720(0x251)]&&(_0x281cd8=globalThis[_0x3ca720(0x251)]),!_0x281cd8&&typeof window<'u'&&window[_0x3ca720(0x2e4)]&&(_0x281cd8=window[_0x3ca720(0x2e4)]),!_0x281cd8&&typeof Z<'u'&&Z[_0x3ca720(0x251)]&&(_0x281cd8=Z[_0x3ca720(0x251)]),!_0x281cd8&&typeof dr=='function')try{_0x281cd8=require(_0x3ca720(0x251));}catch{}var _0x343d96=function(){const _0x566297=_0x3ca720;if(_0x281cd8){if(typeof _0x281cd8[_0x566297(0x227)]=='function')try{return _0x281cd8['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x281cd8[_0x566297(0x5bd)]==_0x566297(0x5a8))try{return _0x281cd8[_0x566297(0x5bd)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3e13cd=Object[_0x3ca720(0x3f7)]||(function(){function _0x2cff7c(){}return function(_0x31d5c4){const _0x84fd94=_0x2f26;var _0x3ed1c0;return _0x2cff7c[_0x84fd94(0x1fe)]=_0x31d5c4,_0x3ed1c0=new _0x2cff7c(),_0x2cff7c[_0x84fd94(0x1fe)]=null,_0x3ed1c0;};}()),_0x20e8b5={},_0x22b020=_0x20e8b5['lib']={},_0x206e86=_0x22b020['Base']=(function(){return{'extend':function(_0x37d118){const _0xd68eaf=_0x2f26;var _0x4bd36c=_0x3e13cd(this);return _0x37d118&&_0x4bd36c['mixIn'](_0x37d118),(!_0x4bd36c[_0xd68eaf(0x5d7)](_0xd68eaf(0x334))||this['init']===_0x4bd36c[_0xd68eaf(0x334)])&&(_0x4bd36c['init']=function(){const _0x13b182=_0xd68eaf;_0x4bd36c[_0x13b182(0x288)][_0x13b182(0x334)][_0x13b182(0x567)](this,arguments);}),_0x4bd36c[_0xd68eaf(0x334)]['prototype']=_0x4bd36c,_0x4bd36c[_0xd68eaf(0x288)]=this,_0x4bd36c;},'create':function(){const _0x409928=_0x2f26;var _0x58013e=this[_0x409928(0x30f)]();return _0x58013e['init']['apply'](_0x58013e,arguments),_0x58013e;},'init':function(){},'mixIn':function(_0x5d501a){const _0x12e0d6=_0x2f26;for(var _0x4ee2f3 in _0x5d501a)_0x5d501a[_0x12e0d6(0x5d7)](_0x4ee2f3)&&(this[_0x4ee2f3]=_0x5d501a[_0x4ee2f3]);_0x5d501a[_0x12e0d6(0x5d7)](_0x12e0d6(0x3ef))&&(this[_0x12e0d6(0x3ef)]=_0x5d501a[_0x12e0d6(0x3ef)]);},'clone':function(){const _0x4bc286=_0x2f26;return this[_0x4bc286(0x334)][_0x4bc286(0x1fe)]['extend'](this);}};}()),_0x538720=_0x22b020[_0x3ca720(0x1e2)]=_0x206e86[_0x3ca720(0x30f)]({'init':function(_0x483ba6,_0x5bf17d){const _0x45fa82=_0x3ca720;_0x483ba6=this[_0x45fa82(0x1d8)]=_0x483ba6||[],_0x5bf17d!=_0xc87387?this[_0x45fa82(0x45c)]=_0x5bf17d:this[_0x45fa82(0x45c)]=_0x483ba6[_0x45fa82(0x5e7)]*0x4;},'toString':function(_0x5b748a){return(_0x5b748a||_0x25a59b)['stringify'](this);},'concat':function(_0x1e9ff1){const _0x4a1ed8=_0x3ca720;var _0x5085f0=this[_0x4a1ed8(0x1d8)],_0x4e7d63=_0x1e9ff1[_0x4a1ed8(0x1d8)],_0x43570a=this[_0x4a1ed8(0x45c)],_0x3a3b64=_0x1e9ff1['sigBytes'];if(this[_0x4a1ed8(0x53d)](),_0x43570a%0x4)for(var _0xb1970c=0x0;_0xb1970c<_0x3a3b64;_0xb1970c++){var _0x11cf58=_0x4e7d63[_0xb1970c>>>0x2]>>>0x18-_0xb1970c%0x4*0x8&0xff;_0x5085f0[_0x43570a+_0xb1970c>>>0x2]|=_0x11cf58<<0x18-(_0x43570a+_0xb1970c)%0x4*0x8;}else{for(var _0x884496=0x0;_0x884496<_0x3a3b64;_0x884496+=0x4)_0x5085f0[_0x43570a+_0x884496>>>0x2]=_0x4e7d63[_0x884496>>>0x2];}return this['sigBytes']+=_0x3a3b64,this;},'clamp':function(){const _0x5bda82=_0x3ca720;var _0x13c75a=this[_0x5bda82(0x1d8)],_0x43423d=this[_0x5bda82(0x45c)];_0x13c75a[_0x43423d>>>0x2]&=0xffffffff<<0x20-_0x43423d%0x4*0x8,_0x13c75a['length']=_0x325ee7[_0x5bda82(0x588)](_0x43423d/0x4);},'clone':function(){const _0x31b0ef=_0x3ca720;var _0xd0b76b=_0x206e86[_0x31b0ef(0x5c3)][_0x31b0ef(0x1d5)](this);return _0xd0b76b[_0x31b0ef(0x1d8)]=this['words'][_0x31b0ef(0x3bb)](0x0),_0xd0b76b;},'random':function(_0x3bfdfa){const _0x44c5a7=_0x3ca720;for(var _0x15e902=[],_0x56555d=0x0;_0x56555d<_0x3bfdfa;_0x56555d+=0x4)_0x15e902[_0x44c5a7(0x3bc)](_0x343d96());return new _0x538720[(_0x44c5a7(0x334))](_0x15e902,_0x3bfdfa);}}),_0x1f83cb=_0x20e8b5[_0x3ca720(0x38e)]={},_0x25a59b=_0x1f83cb['Hex']={'stringify':function(_0x32ca31){const _0x111872=_0x3ca720;for(var _0x6d6e63=_0x32ca31['words'],_0x26e868=_0x32ca31['sigBytes'],_0x5a7a32=[],_0x325d74=0x0;_0x325d74<_0x26e868;_0x325d74++){var _0x2a9835=_0x6d6e63[_0x325d74>>>0x2]>>>0x18-_0x325d74%0x4*0x8&0xff;_0x5a7a32[_0x111872(0x3bc)]((_0x2a9835>>>0x4)[_0x111872(0x3ef)](0x10)),_0x5a7a32['push']((_0x2a9835&0xf)['toString'](0x10));}return _0x5a7a32[_0x111872(0x3fc)]('');},'parse':function(_0x34a8ea){const _0xdf04fc=_0x3ca720;for(var _0x40de82=_0x34a8ea[_0xdf04fc(0x5e7)],_0x420bf8=[],_0x52283a=0x0;_0x52283a<_0x40de82;_0x52283a+=0x2)_0x420bf8[_0x52283a>>>0x3]|=parseInt(_0x34a8ea[_0xdf04fc(0x384)](_0x52283a,0x2),0x10)<<0x18-_0x52283a%0x8*0x4;return new _0x538720['init'](_0x420bf8,_0x40de82/0x2);}},_0x40c008=_0x1f83cb[_0x3ca720(0x3d5)]={'stringify':function(_0xc926bf){const _0x4390a9=_0x3ca720;for(var _0x23566b=_0xc926bf[_0x4390a9(0x1d8)],_0x2d5571=_0xc926bf[_0x4390a9(0x45c)],_0x5d6665=[],_0x465a49=0x0;_0x465a49<_0x2d5571;_0x465a49++){var _0x12ad94=_0x23566b[_0x465a49>>>0x2]>>>0x18-_0x465a49%0x4*0x8&0xff;_0x5d6665[_0x4390a9(0x3bc)](String[_0x4390a9(0x1df)](_0x12ad94));}return _0x5d6665['join']('');},'parse':function(_0x2029c4){const _0xc2ac02=_0x3ca720;for(var _0x5e4bed=_0x2029c4[_0xc2ac02(0x5e7)],_0x4792de=[],_0x203280=0x0;_0x203280<_0x5e4bed;_0x203280++)_0x4792de[_0x203280>>>0x2]|=(_0x2029c4[_0xc2ac02(0x409)](_0x203280)&0xff)<<0x18-_0x203280%0x4*0x8;return new _0x538720[(_0xc2ac02(0x334))](_0x4792de,_0x5e4bed);}},_0x2ef613=_0x1f83cb[_0x3ca720(0x3e6)]={'stringify':function(_0x5d73ec){const _0x1b3218=_0x3ca720;try{return decodeURIComponent(escape(_0x40c008[_0x1b3218(0x65e)](_0x5d73ec)));}catch{throw new Error(_0x1b3218(0x67b));}},'parse':function(_0x23031d){return _0x40c008['parse'](unescape(encodeURIComponent(_0x23031d)));}},_0x2abd73=_0x22b020[_0x3ca720(0x41e)]=_0x206e86[_0x3ca720(0x30f)]({'reset':function(){const _0x491409=_0x3ca720;this[_0x491409(0x461)]=new _0x538720['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x4efaab){const _0x24b33a=_0x3ca720;typeof _0x4efaab=='string'&&(_0x4efaab=_0x2ef613['parse'](_0x4efaab)),this[_0x24b33a(0x461)][_0x24b33a(0x2c9)](_0x4efaab),this[_0x24b33a(0x208)]+=_0x4efaab[_0x24b33a(0x45c)];},'_process':function(_0x304c6c){const _0x1c8cc1=_0x3ca720;var _0x4956ea,_0x472afa=this[_0x1c8cc1(0x461)],_0x3f4235=_0x472afa[_0x1c8cc1(0x1d8)],_0x64f385=_0x472afa[_0x1c8cc1(0x45c)],_0x3ef128=this['blockSize'],_0x249582=_0x3ef128*0x4,_0xf9a2b4=_0x64f385/_0x249582;_0x304c6c?_0xf9a2b4=_0x325ee7['ceil'](_0xf9a2b4):_0xf9a2b4=_0x325ee7['max']((_0xf9a2b4|0x0)-this[_0x1c8cc1(0x54a)],0x0);var _0xf05f80=_0xf9a2b4*_0x3ef128,_0x584e08=_0x325ee7[_0x1c8cc1(0x3b8)](_0xf05f80*0x4,_0x64f385);if(_0xf05f80){for(var _0x559af0=0x0;_0x559af0<_0xf05f80;_0x559af0+=_0x3ef128)this[_0x1c8cc1(0x687)](_0x3f4235,_0x559af0);_0x4956ea=_0x3f4235[_0x1c8cc1(0x354)](0x0,_0xf05f80),_0x472afa[_0x1c8cc1(0x45c)]-=_0x584e08;}return new _0x538720['init'](_0x4956ea,_0x584e08);},'clone':function(){const _0x30c5dc=_0x3ca720;var _0xdfe8ff=_0x206e86[_0x30c5dc(0x5c3)][_0x30c5dc(0x1d5)](this);return _0xdfe8ff[_0x30c5dc(0x461)]=this[_0x30c5dc(0x461)][_0x30c5dc(0x5c3)](),_0xdfe8ff;},'_minBufferSize':0x0});_0x22b020[_0x3ca720(0x545)]=_0x2abd73[_0x3ca720(0x30f)]({'cfg':_0x206e86[_0x3ca720(0x30f)](),'init':function(_0xd0f65a){const _0x201a9b=_0x3ca720;this[_0x201a9b(0x503)]=this[_0x201a9b(0x503)][_0x201a9b(0x30f)](_0xd0f65a),this[_0x201a9b(0x29c)]();},'reset':function(){const _0x4a9f3f=_0x3ca720;_0x2abd73[_0x4a9f3f(0x29c)][_0x4a9f3f(0x1d5)](this),this['_doReset']();},'update':function(_0x37767e){const _0x9c9640=_0x3ca720;return this[_0x9c9640(0x685)](_0x37767e),this[_0x9c9640(0x392)](),this;},'finalize':function(_0x35e238){const _0x481104=_0x3ca720;_0x35e238&&this[_0x481104(0x685)](_0x35e238);var _0x2316a5=this[_0x481104(0x3a9)]();return _0x2316a5;},'blockSize':0x10,'_createHelper':function(_0x1a47f3){return function(_0x1c9af7,_0x58c651){const _0x11a44e=_0x2f26;return new _0x1a47f3[(_0x11a44e(0x334))](_0x58c651)['finalize'](_0x1c9af7);};},'_createHmacHelper':function(_0x545028){return function(_0x509710,_0x538781){const _0x427894=_0x2f26;return new _0x108f09[(_0x427894(0x663))][(_0x427894(0x334))](_0x545028,_0x538781)[_0x427894(0x349)](_0x509710);};}});var _0x108f09=_0x20e8b5['algo']={};return _0x20e8b5;}(Math);return _0x2db34b;}));}(lt)),lt['exports'];}var ht={'exports':{}},Kt;function Pi(){const _0x2f0b11=_0x29ff00;return Kt||(Kt=0x1,function(_0x5d87a8,_0x1097f1){(function(_0x52ab83,_0x295fc2){const _0x3dd8fa=_0x2f26;_0x5d87a8[_0x3dd8fa(0x5a4)]=_0x295fc2(oe());}(Z,function(_0x4e1854){const _0x8f6781=_0x2f26;return(function(){const _0x2b4b25=_0x2f26;var _0x2c62ef=_0x4e1854,_0x3b6f3b=_0x2c62ef['lib'],_0x5c75b3=_0x3b6f3b[_0x2b4b25(0x1e2)],_0x44cb66=_0x2c62ef[_0x2b4b25(0x38e)];_0x44cb66[_0x2b4b25(0x234)]={'stringify':function(_0x6c139f){const _0x23b323=_0x2b4b25;var _0x5a32ce=_0x6c139f[_0x23b323(0x1d8)],_0x32688d=_0x6c139f['sigBytes'],_0x23630f=this['_map'];_0x6c139f['clamp']();for(var _0x417b41=[],_0x5dd4ca=0x0;_0x5dd4ca<_0x32688d;_0x5dd4ca+=0x3)for(var _0x4355b6=_0x5a32ce[_0x5dd4ca>>>0x2]>>>0x18-_0x5dd4ca%0x4*0x8&0xff,_0x4b4a3f=_0x5a32ce[_0x5dd4ca+0x1>>>0x2]>>>0x18-(_0x5dd4ca+0x1)%0x4*0x8&0xff,_0x36734b=_0x5a32ce[_0x5dd4ca+0x2>>>0x2]>>>0x18-(_0x5dd4ca+0x2)%0x4*0x8&0xff,_0x2f99d2=_0x4355b6<<0x10|_0x4b4a3f<<0x8|_0x36734b,_0x546a7b=0x0;_0x546a7b<0x4&&_0x5dd4ca+_0x546a7b*0.75<_0x32688d;_0x546a7b++)_0x417b41[_0x23b323(0x3bc)](_0x23630f[_0x23b323(0x46e)](_0x2f99d2>>>0x6*(0x3-_0x546a7b)&0x3f));var _0x2bcb69=_0x23630f[_0x23b323(0x46e)](0x40);if(_0x2bcb69){for(;_0x417b41[_0x23b323(0x5e7)]%0x4;)_0x417b41[_0x23b323(0x3bc)](_0x2bcb69);}return _0x417b41[_0x23b323(0x3fc)]('');},'parse':function(_0x25c103){const _0x3f1a44=_0x2b4b25;var _0x2ce716=_0x25c103[_0x3f1a44(0x5e7)],_0x421c82=this['_map'],_0x3105f2=this['_reverseMap'];if(!_0x3105f2){_0x3105f2=this[_0x3f1a44(0x538)]=[];for(var _0x32e348=0x0;_0x32e348<_0x421c82[_0x3f1a44(0x5e7)];_0x32e348++)_0x3105f2[_0x421c82['charCodeAt'](_0x32e348)]=_0x32e348;}var _0x1c4b7e=_0x421c82['charAt'](0x40);if(_0x1c4b7e){var _0x7b19=_0x25c103['indexOf'](_0x1c4b7e);_0x7b19!==-0x1&&(_0x2ce716=_0x7b19);}return _0x52fb84(_0x25c103,_0x2ce716,_0x3105f2);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x52fb84(_0x2136be,_0x48bc0c,_0x2046b5){const _0xd9e55b=_0x2b4b25;for(var _0x42fe6c=[],_0x4d9120=0x0,_0x22b6e0=0x0;_0x22b6e0<_0x48bc0c;_0x22b6e0++)if(_0x22b6e0%0x4){var _0x2ddbbc=_0x2046b5[_0x2136be['charCodeAt'](_0x22b6e0-0x1)]<<_0x22b6e0%0x4*0x2,_0x481c4c=_0x2046b5[_0x2136be[_0xd9e55b(0x409)](_0x22b6e0)]>>>0x6-_0x22b6e0%0x4*0x2,_0x9d83f3=_0x2ddbbc|_0x481c4c;_0x42fe6c[_0x4d9120>>>0x2]|=_0x9d83f3<<0x18-_0x4d9120%0x4*0x8,_0x4d9120++;}return _0x5c75b3[_0xd9e55b(0x3f7)](_0x42fe6c,_0x4d9120);}}()),_0x4e1854[_0x8f6781(0x38e)][_0x8f6781(0x234)];}));}(ht)),ht[_0x2f0b11(0x5a4)];}var _t={'exports':{}},qt;function fr(){const _0x4a7727=_0x29ff00;return qt||(qt=0x1,function(_0x2eaddb,_0x424495){(function(_0x191767,_0x592d8a){const _0x61252=_0x2f26;_0x2eaddb[_0x61252(0x5a4)]=_0x592d8a(oe());}(Z,function(_0x31392f){return function(_0x3a8a56){const _0x3ffd45=_0x2f26;var _0x24c0f4=_0x31392f,_0x15c1e6=_0x24c0f4[_0x3ffd45(0x530)],_0x47c9d9=_0x15c1e6[_0x3ffd45(0x1e2)],_0x2d6a18=_0x15c1e6[_0x3ffd45(0x545)],_0x2987e9=_0x24c0f4[_0x3ffd45(0x395)],_0x3d0018=[];(function(){const _0xee77e2=_0x3ffd45;for(var _0xa54a41=0x0;_0xa54a41<0x40;_0xa54a41++)_0x3d0018[_0xa54a41]=_0x3a8a56[_0xee77e2(0x3ce)](_0x3a8a56[_0xee77e2(0x525)](_0xa54a41+0x1))*0x100000000|0x0;}());var _0x25563c=_0x2987e9[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x30f)]({'_doReset':function(){const _0x105e50=_0x3ffd45;this[_0x105e50(0x407)]=new _0x47c9d9[(_0x105e50(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x303b84,_0x35d582){const _0xfd183b=_0x3ffd45;for(var _0x424761=0x0;_0x424761<0x10;_0x424761++){var _0x1f773e=_0x35d582+_0x424761,_0xe9d34f=_0x303b84[_0x1f773e];_0x303b84[_0x1f773e]=(_0xe9d34f<<0x8|_0xe9d34f>>>0x18)&0xff00ff|(_0xe9d34f<<0x18|_0xe9d34f>>>0x8)&0xff00ff00;}var _0x43a6b0=this[_0xfd183b(0x407)][_0xfd183b(0x1d8)],_0x280dec=_0x303b84[_0x35d582+0x0],_0xef9dd6=_0x303b84[_0x35d582+0x1],_0x349a49=_0x303b84[_0x35d582+0x2],_0x192f64=_0x303b84[_0x35d582+0x3],_0x4d1e94=_0x303b84[_0x35d582+0x4],_0x3fd2c8=_0x303b84[_0x35d582+0x5],_0x23a51a=_0x303b84[_0x35d582+0x6],_0x4dabf4=_0x303b84[_0x35d582+0x7],_0x2df0a0=_0x303b84[_0x35d582+0x8],_0x50f0cf=_0x303b84[_0x35d582+0x9],_0x41386e=_0x303b84[_0x35d582+0xa],_0x416e43=_0x303b84[_0x35d582+0xb],_0x181fca=_0x303b84[_0x35d582+0xc],_0x47a452=_0x303b84[_0x35d582+0xd],_0x3a1633=_0x303b84[_0x35d582+0xe],_0x1cccf6=_0x303b84[_0x35d582+0xf],_0x38669d=_0x43a6b0[0x0],_0xbe71e8=_0x43a6b0[0x1],_0x19a468=_0x43a6b0[0x2],_0x3272d6=_0x43a6b0[0x3];_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x7,_0x3d0018[0x0]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0xef9dd6,0xc,_0x3d0018[0x1]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0x11,_0x3d0018[0x2]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x192f64,0x16,_0x3d0018[0x3]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x7,_0x3d0018[0x4]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3fd2c8,0xc,_0x3d0018[0x5]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0x11,_0x3d0018[0x6]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4dabf4,0x16,_0x3d0018[0x7]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x7,_0x3d0018[0x8]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x50f0cf,0xc,_0x3d0018[0x9]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0x11,_0x3d0018[0xa]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x416e43,0x16,_0x3d0018[0xb]),_0x38669d=_0x561336(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x7,_0x3d0018[0xc]),_0x3272d6=_0x561336(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x47a452,0xc,_0x3d0018[0xd]),_0x19a468=_0x561336(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0x11,_0x3d0018[0xe]),_0xbe71e8=_0x561336(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x1cccf6,0x16,_0x3d0018[0xf]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x5,_0x3d0018[0x10]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x23a51a,0x9,_0x3d0018[0x11]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0xe,_0x3d0018[0x12]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x280dec,0x14,_0x3d0018[0x13]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x5,_0x3d0018[0x14]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x41386e,0x9,_0x3d0018[0x15]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0xe,_0x3d0018[0x16]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x4d1e94,0x14,_0x3d0018[0x17]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x5,_0x3d0018[0x18]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x3a1633,0x9,_0x3d0018[0x19]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0xe,_0x3d0018[0x1a]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x2df0a0,0x14,_0x3d0018[0x1b]),_0x38669d=_0x3d64ec(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x5,_0x3d0018[0x1c]),_0x3272d6=_0x3d64ec(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x349a49,0x9,_0x3d0018[0x1d]),_0x19a468=_0x3d64ec(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0xe,_0x3d0018[0x1e]),_0xbe71e8=_0x3d64ec(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x181fca,0x14,_0x3d0018[0x1f]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x3fd2c8,0x4,_0x3d0018[0x20]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x2df0a0,0xb,_0x3d0018[0x21]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x416e43,0x10,_0x3d0018[0x22]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3a1633,0x17,_0x3d0018[0x23]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0xef9dd6,0x4,_0x3d0018[0x24]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4d1e94,0xb,_0x3d0018[0x25]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x4dabf4,0x10,_0x3d0018[0x26]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x41386e,0x17,_0x3d0018[0x27]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x47a452,0x4,_0x3d0018[0x28]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x280dec,0xb,_0x3d0018[0x29]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x192f64,0x10,_0x3d0018[0x2a]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x23a51a,0x17,_0x3d0018[0x2b]),_0x38669d=_0xea0b83(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x50f0cf,0x4,_0x3d0018[0x2c]),_0x3272d6=_0xea0b83(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x181fca,0xb,_0x3d0018[0x2d]),_0x19a468=_0xea0b83(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x1cccf6,0x10,_0x3d0018[0x2e]),_0xbe71e8=_0xea0b83(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x349a49,0x17,_0x3d0018[0x2f]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x280dec,0x6,_0x3d0018[0x30]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x4dabf4,0xa,_0x3d0018[0x31]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x3a1633,0xf,_0x3d0018[0x32]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x3fd2c8,0x15,_0x3d0018[0x33]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x181fca,0x6,_0x3d0018[0x34]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x192f64,0xa,_0x3d0018[0x35]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x41386e,0xf,_0x3d0018[0x36]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0xef9dd6,0x15,_0x3d0018[0x37]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x2df0a0,0x6,_0x3d0018[0x38]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x1cccf6,0xa,_0x3d0018[0x39]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x23a51a,0xf,_0x3d0018[0x3a]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x47a452,0x15,_0x3d0018[0x3b]),_0x38669d=_0x5aa0a0(_0x38669d,_0xbe71e8,_0x19a468,_0x3272d6,_0x4d1e94,0x6,_0x3d0018[0x3c]),_0x3272d6=_0x5aa0a0(_0x3272d6,_0x38669d,_0xbe71e8,_0x19a468,_0x416e43,0xa,_0x3d0018[0x3d]),_0x19a468=_0x5aa0a0(_0x19a468,_0x3272d6,_0x38669d,_0xbe71e8,_0x349a49,0xf,_0x3d0018[0x3e]),_0xbe71e8=_0x5aa0a0(_0xbe71e8,_0x19a468,_0x3272d6,_0x38669d,_0x50f0cf,0x15,_0x3d0018[0x3f]),_0x43a6b0[0x0]=_0x43a6b0[0x0]+_0x38669d|0x0,_0x43a6b0[0x1]=_0x43a6b0[0x1]+_0xbe71e8|0x0,_0x43a6b0[0x2]=_0x43a6b0[0x2]+_0x19a468|0x0,_0x43a6b0[0x3]=_0x43a6b0[0x3]+_0x3272d6|0x0;},'_doFinalize':function(){const _0x2a63d6=_0x3ffd45;var _0x52cfe3=this[_0x2a63d6(0x461)],_0x150e35=_0x52cfe3[_0x2a63d6(0x1d8)],_0x329f34=this['_nDataBytes']*0x8,_0x27208b=_0x52cfe3['sigBytes']*0x8;_0x150e35[_0x27208b>>>0x5]|=0x80<<0x18-_0x27208b%0x20;var _0x5bf1ef=_0x3a8a56[_0x2a63d6(0x3f8)](_0x329f34/0x100000000),_0x547edd=_0x329f34;_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xf]=(_0x5bf1ef<<0x8|_0x5bf1ef>>>0x18)&0xff00ff|(_0x5bf1ef<<0x18|_0x5bf1ef>>>0x8)&0xff00ff00,_0x150e35[(_0x27208b+0x40>>>0x9<<0x4)+0xe]=(_0x547edd<<0x8|_0x547edd>>>0x18)&0xff00ff|(_0x547edd<<0x18|_0x547edd>>>0x8)&0xff00ff00,_0x52cfe3[_0x2a63d6(0x45c)]=(_0x150e35[_0x2a63d6(0x5e7)]+0x1)*0x4,this[_0x2a63d6(0x392)]();for(var _0x329f92=this[_0x2a63d6(0x407)],_0x4b54f4=_0x329f92[_0x2a63d6(0x1d8)],_0xe1ce9=0x0;_0xe1ce9<0x4;_0xe1ce9++){var _0x191e20=_0x4b54f4[_0xe1ce9];_0x4b54f4[_0xe1ce9]=(_0x191e20<<0x8|_0x191e20>>>0x18)&0xff00ff|(_0x191e20<<0x18|_0x191e20>>>0x8)&0xff00ff00;}return _0x329f92;},'clone':function(){const _0x3d4459=_0x3ffd45;var _0x3010bf=_0x2d6a18[_0x3d4459(0x5c3)][_0x3d4459(0x1d5)](this);return _0x3010bf['_hash']=this[_0x3d4459(0x407)]['clone'](),_0x3010bf;}});function _0x561336(_0x5b5981,_0x18538d,_0x1a81c5,_0x208301,_0x3da583,_0x560849,_0x501f6c){var _0x1fc38c=_0x5b5981+(_0x18538d&_0x1a81c5|~_0x18538d&_0x208301)+_0x3da583+_0x501f6c;return(_0x1fc38c<<_0x560849|_0x1fc38c>>>0x20-_0x560849)+_0x18538d;}function _0x3d64ec(_0x31a52c,_0x3c2813,_0x3c4a67,_0x40280a,_0x784dc,_0x173add,_0x18bfd1){var _0x499065=_0x31a52c+(_0x3c2813&_0x40280a|_0x3c4a67&~_0x40280a)+_0x784dc+_0x18bfd1;return(_0x499065<<_0x173add|_0x499065>>>0x20-_0x173add)+_0x3c2813;}function _0xea0b83(_0x3276cd,_0x399729,_0x2f4d7f,_0x2335d7,_0x19cb32,_0x57e22b,_0x439aae){var _0x1fc1b4=_0x3276cd+(_0x399729^_0x2f4d7f^_0x2335d7)+_0x19cb32+_0x439aae;return(_0x1fc1b4<<_0x57e22b|_0x1fc1b4>>>0x20-_0x57e22b)+_0x399729;}function _0x5aa0a0(_0x4b83f5,_0x2590a0,_0x415373,_0x5aa68f,_0x1b5765,_0x97d153,_0xfa9af6){var _0x24a783=_0x4b83f5+(_0x415373^(_0x2590a0|~_0x5aa68f))+_0x1b5765+_0xfa9af6;return(_0x24a783<<_0x97d153|_0x24a783>>>0x20-_0x97d153)+_0x2590a0;}_0x24c0f4[_0x3ffd45(0x37b)]=_0x2d6a18[_0x3ffd45(0x4fe)](_0x25563c),_0x24c0f4[_0x3ffd45(0x560)]=_0x2d6a18[_0x3ffd45(0x412)](_0x25563c);}(Math),_0x31392f['MD5'];}));}(_t)),_t[_0x4a7727(0x5a4)];}var ut={'exports':{}},dt={'exports':{}},zt;function vr(){return zt||(zt=0x1,function(_0x2c5464,_0x15dd4e){(function(_0xd0cc33,_0x4f7fda){_0x2c5464['exports']=_0x4f7fda(oe());}(Z,function(_0x3c1c7f){const _0x4fc544=_0x2f26;return(function(){const _0x4ac9d7=_0x2f26;var _0x7ef2b7=_0x3c1c7f,_0x32d732=_0x7ef2b7[_0x4ac9d7(0x530)],_0x19c0f4=_0x32d732['WordArray'],_0x144f80=_0x32d732[_0x4ac9d7(0x545)],_0x437ed0=_0x7ef2b7['algo'],_0x5157cc=[],_0x43e654=_0x437ed0[_0x4ac9d7(0x5e0)]=_0x144f80['extend']({'_doReset':function(){const _0x31d671=_0x4ac9d7;this[_0x31d671(0x407)]=new _0x19c0f4[(_0x31d671(0x334))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27be45,_0x29dd9b){for(var _0x45f95a=this['_hash']['words'],_0x3a1dcd=_0x45f95a[0x0],_0x45e9c3=_0x45f95a[0x1],_0x56731e=_0x45f95a[0x2],_0x4a116c=_0x45f95a[0x3],_0x2505c6=_0x45f95a[0x4],_0x1fefa9=0x0;_0x1fefa9<0x50;_0x1fefa9++){if(_0x1fefa9<0x10)_0x5157cc[_0x1fefa9]=_0x27be45[_0x29dd9b+_0x1fefa9]|0x0;else{var _0x2a6e32=_0x5157cc[_0x1fefa9-0x3]^_0x5157cc[_0x1fefa9-0x8]^_0x5157cc[_0x1fefa9-0xe]^_0x5157cc[_0x1fefa9-0x10];_0x5157cc[_0x1fefa9]=_0x2a6e32<<0x1|_0x2a6e32>>>0x1f;}var _0x1528bc=(_0x3a1dcd<<0x5|_0x3a1dcd>>>0x1b)+_0x2505c6+_0x5157cc[_0x1fefa9];_0x1fefa9<0x14?_0x1528bc+=(_0x45e9c3&_0x56731e|~_0x45e9c3&_0x4a116c)+0x5a827999:_0x1fefa9<0x28?_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)+0x6ed9eba1:_0x1fefa9<0x3c?_0x1528bc+=(_0x45e9c3&_0x56731e|_0x45e9c3&_0x4a116c|_0x56731e&_0x4a116c)-0x70e44324:_0x1528bc+=(_0x45e9c3^_0x56731e^_0x4a116c)-0x359d3e2a,_0x2505c6=_0x4a116c,_0x4a116c=_0x56731e,_0x56731e=_0x45e9c3<<0x1e|_0x45e9c3>>>0x2,_0x45e9c3=_0x3a1dcd,_0x3a1dcd=_0x1528bc;}_0x45f95a[0x0]=_0x45f95a[0x0]+_0x3a1dcd|0x0,_0x45f95a[0x1]=_0x45f95a[0x1]+_0x45e9c3|0x0,_0x45f95a[0x2]=_0x45f95a[0x2]+_0x56731e|0x0,_0x45f95a[0x3]=_0x45f95a[0x3]+_0x4a116c|0x0,_0x45f95a[0x4]=_0x45f95a[0x4]+_0x2505c6|0x0;},'_doFinalize':function(){const _0xfaf71f=_0x4ac9d7;var _0xb542ef=this['_data'],_0x519757=_0xb542ef[_0xfaf71f(0x1d8)],_0x142d51=this[_0xfaf71f(0x208)]*0x8,_0x2fbce7=_0xb542ef[_0xfaf71f(0x45c)]*0x8;return _0x519757[_0x2fbce7>>>0x5]|=0x80<<0x18-_0x2fbce7%0x20,_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xe]=Math[_0xfaf71f(0x3f8)](_0x142d51/0x100000000),_0x519757[(_0x2fbce7+0x40>>>0x9<<0x4)+0xf]=_0x142d51,_0xb542ef['sigBytes']=_0x519757['length']*0x4,this[_0xfaf71f(0x392)](),this[_0xfaf71f(0x407)];},'clone':function(){const _0x14becd=_0x4ac9d7;var _0x4d176c=_0x144f80[_0x14becd(0x5c3)][_0x14becd(0x1d5)](this);return _0x4d176c['_hash']=this[_0x14becd(0x407)][_0x14becd(0x5c3)](),_0x4d176c;}});_0x7ef2b7[_0x4ac9d7(0x5e0)]=_0x144f80[_0x4ac9d7(0x4fe)](_0x43e654),_0x7ef2b7[_0x4ac9d7(0x348)]=_0x144f80[_0x4ac9d7(0x412)](_0x43e654);}()),_0x3c1c7f[_0x4fc544(0x5e0)];}));}(dt)),dt['exports'];}var ft={'exports':{}},Xt;function Sr(){return Xt||(Xt=0x1,function(_0x39f1d1,_0x39d3dc){(function(_0x14da53,_0x28e8de){_0x39f1d1['exports']=_0x28e8de(oe());}(Z,function(_0x1d7024){(function(){const _0x18e964=_0x2f26;var _0x300d34=_0x1d7024,_0x4917a0=_0x300d34[_0x18e964(0x530)],_0xa3d089=_0x4917a0[_0x18e964(0x628)],_0x45492a=_0x300d34[_0x18e964(0x38e)],_0x2f3dc0=_0x45492a[_0x18e964(0x3e6)],_0x2b9592=_0x300d34[_0x18e964(0x395)];_0x2b9592[_0x18e964(0x663)]=_0xa3d089[_0x18e964(0x30f)]({'init':function(_0x5ca90d,_0x867aa7){const _0x6aad90=_0x18e964;_0x5ca90d=this[_0x6aad90(0x603)]=new _0x5ca90d['init'](),typeof _0x867aa7==_0x6aad90(0x291)&&(_0x867aa7=_0x2f3dc0['parse'](_0x867aa7));var _0x23e980=_0x5ca90d[_0x6aad90(0x626)],_0x2a7c88=_0x23e980*0x4;_0x867aa7[_0x6aad90(0x45c)]>_0x2a7c88&&(_0x867aa7=_0x5ca90d[_0x6aad90(0x349)](_0x867aa7)),_0x867aa7[_0x6aad90(0x53d)]();for(var _0x3e55bc=this[_0x6aad90(0x4dc)]=_0x867aa7[_0x6aad90(0x5c3)](),_0x31b5a5=this[_0x6aad90(0x2d4)]=_0x867aa7['clone'](),_0x46d938=_0x3e55bc[_0x6aad90(0x1d8)],_0x140348=_0x31b5a5[_0x6aad90(0x1d8)],_0x58b7fa=0x0;_0x58b7fa<_0x23e980;_0x58b7fa++)_0x46d938[_0x58b7fa]^=0x5c5c5c5c,_0x140348[_0x58b7fa]^=0x36363636;_0x3e55bc[_0x6aad90(0x45c)]=_0x31b5a5[_0x6aad90(0x45c)]=_0x2a7c88,this['reset']();},'reset':function(){const _0x164c74=_0x18e964;var _0x125537=this[_0x164c74(0x603)];_0x125537[_0x164c74(0x29c)](),_0x125537[_0x164c74(0x551)](this['_iKey']);},'update':function(_0x1f91ae){const _0x1f49f3=_0x18e964;return this[_0x1f49f3(0x603)][_0x1f49f3(0x551)](_0x1f91ae),this;},'finalize':function(_0x59d9bd){const _0x54ce9f=_0x18e964;var _0x2cb022=this[_0x54ce9f(0x603)],_0x148225=_0x2cb022[_0x54ce9f(0x349)](_0x59d9bd);_0x2cb022[_0x54ce9f(0x29c)]();var _0x2b745b=_0x2cb022[_0x54ce9f(0x349)](this[_0x54ce9f(0x4dc)][_0x54ce9f(0x5c3)]()[_0x54ce9f(0x2c9)](_0x148225));return _0x2b745b;}});}());}));}(ft)),ft['exports'];}var Jt;function wi(){const _0x2e5d80=_0x29ff00;return Jt||(Jt=0x1,function(_0x44e6eb,_0x3045ae){(function(_0x112bb8,_0x476d26,_0x566119){const _0x550b6b=_0x2f26;_0x44e6eb[_0x550b6b(0x5a4)]=_0x476d26(oe(),vr(),Sr());}(Z,function(_0x4826a0){const _0x22fbbb=_0x2f26;return(function(){const _0x21f644=_0x2f26;var _0x26308f=_0x4826a0,_0x1c999b=_0x26308f[_0x21f644(0x530)],_0x563e18=_0x1c999b[_0x21f644(0x628)],_0x275546=_0x1c999b[_0x21f644(0x1e2)],_0x4ba801=_0x26308f[_0x21f644(0x395)],_0x490b2d=_0x4ba801[_0x21f644(0x37b)],_0x215bea=_0x4ba801[_0x21f644(0x669)]=_0x563e18['extend']({'cfg':_0x563e18[_0x21f644(0x30f)]({'keySize':0x80/0x20,'hasher':_0x490b2d,'iterations':0x1}),'init':function(_0x217b59){const _0x229805=_0x21f644;this[_0x229805(0x503)]=this[_0x229805(0x503)]['extend'](_0x217b59);},'compute':function(_0x2b2f3a,_0x1f6fcb){const _0x2947ff=_0x21f644;for(var _0x4abc45,_0x5cd952=this[_0x2947ff(0x503)],_0x2fde64=_0x5cd952[_0x2947ff(0x52f)][_0x2947ff(0x3f7)](),_0x42ea2a=_0x275546[_0x2947ff(0x3f7)](),_0x131751=_0x42ea2a[_0x2947ff(0x1d8)],_0x16a048=_0x5cd952['keySize'],_0x18c5e8=_0x5cd952[_0x2947ff(0x57d)];_0x131751[_0x2947ff(0x5e7)]<_0x16a048;){_0x4abc45&&_0x2fde64[_0x2947ff(0x551)](_0x4abc45),_0x4abc45=_0x2fde64[_0x2947ff(0x551)](_0x2b2f3a)[_0x2947ff(0x349)](_0x1f6fcb),_0x2fde64[_0x2947ff(0x29c)]();for(var _0x55d51e=0x1;_0x55d51e<_0x18c5e8;_0x55d51e++)_0x4abc45=_0x2fde64[_0x2947ff(0x349)](_0x4abc45),_0x2fde64['reset']();_0x42ea2a[_0x2947ff(0x2c9)](_0x4abc45);}return _0x42ea2a[_0x2947ff(0x45c)]=_0x16a048*0x4,_0x42ea2a;}});_0x26308f['EvpKDF']=function(_0x194152,_0x2e24d7,_0x3e7df4){const _0x20a6d4=_0x21f644;return _0x215bea[_0x20a6d4(0x3f7)](_0x3e7df4)['compute'](_0x194152,_0x2e24d7);};}()),_0x4826a0[_0x22fbbb(0x669)];}));}(ut)),ut[_0x2e5d80(0x5a4)];}var vt={'exports':{}},Zt;function Ui(){const _0xf3909b=_0x29ff00;return Zt||(Zt=0x1,function(_0x10a329,_0x4386f3){(function(_0x39785b,_0x13618b,_0x5b9274){_0x10a329['exports']=_0x13618b(oe(),wi());}(Z,function(_0x30bd4f){const _0x165a78=_0x2f26;_0x30bd4f[_0x165a78(0x530)][_0x165a78(0x47c)]||function(_0x7b8458){const _0x116d18=_0x165a78;var _0xea3344=_0x30bd4f,_0x754136=_0xea3344[_0x116d18(0x530)],_0x39796e=_0x754136[_0x116d18(0x628)],_0x2a7950=_0x754136['WordArray'],_0x40acb0=_0x754136[_0x116d18(0x41e)],_0x1ffa57=_0xea3344['enc'];_0x1ffa57['Utf8'];var _0x26d373=_0x1ffa57[_0x116d18(0x234)],_0x16a0f5=_0xea3344['algo'],_0x4ab683=_0x16a0f5[_0x116d18(0x669)],_0x59a483=_0x754136[_0x116d18(0x47c)]=_0x40acb0[_0x116d18(0x30f)]({'cfg':_0x39796e['extend'](),'createEncryptor':function(_0x4963de,_0x1f5fc3){const _0x47e10e=_0x116d18;return this[_0x47e10e(0x3f7)](this[_0x47e10e(0x401)],_0x4963de,_0x1f5fc3);},'createDecryptor':function(_0x2a89c6,_0xb99270){const _0x5bf27b=_0x116d18;return this[_0x5bf27b(0x3f7)](this[_0x5bf27b(0x558)],_0x2a89c6,_0xb99270);},'init':function(_0x407d8e,_0x3bb4e4,_0x4e5a33){const _0x228ddb=_0x116d18;this[_0x228ddb(0x503)]=this['cfg'][_0x228ddb(0x30f)](_0x4e5a33),this[_0x228ddb(0x217)]=_0x407d8e,this['_key']=_0x3bb4e4,this[_0x228ddb(0x29c)]();},'reset':function(){const _0x1a71d5=_0x116d18;_0x40acb0[_0x1a71d5(0x29c)][_0x1a71d5(0x1d5)](this),this[_0x1a71d5(0x297)]();},'process':function(_0x4b4e33){const _0x5f3743=_0x116d18;return this[_0x5f3743(0x685)](_0x4b4e33),this[_0x5f3743(0x392)]();},'finalize':function(_0x2372f2){const _0x570b06=_0x116d18;_0x2372f2&&this[_0x570b06(0x685)](_0x2372f2);var _0x29aad3=this['_doFinalize']();return _0x29aad3;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x54b8c5(_0x476ddd){const _0x2b3706=_0x2f26;return typeof _0x476ddd==_0x2b3706(0x291)?_0x17b682:_0xaf1a0c;}return function(_0x3951d7){return{'encrypt':function(_0x4cbdd2,_0x4b5a37,_0x5f094e){const _0x47340d=_0x2f26;return _0x54b8c5(_0x4b5a37)[_0x47340d(0x442)](_0x3951d7,_0x4cbdd2,_0x4b5a37,_0x5f094e);},'decrypt':function(_0x599fd4,_0x108c43,_0x3d87ee){const _0x4f5475=_0x2f26;return _0x54b8c5(_0x108c43)[_0x4f5475(0x262)](_0x3951d7,_0x599fd4,_0x108c43,_0x3d87ee);}};};}())});_0x754136[_0x116d18(0x57e)]=_0x59a483[_0x116d18(0x30f)]({'_doFinalize':function(){const _0x18d0f9=_0x116d18;var _0x59ddc6=this[_0x18d0f9(0x392)](!0x0);return _0x59ddc6;},'blockSize':0x1});var _0x45bc00=_0xea3344[_0x116d18(0x4ca)]={},_0xc5f7da=_0x754136[_0x116d18(0x658)]=_0x39796e[_0x116d18(0x30f)]({'createEncryptor':function(_0x56fbd9,_0xbf8ed8){const _0x3990e9=_0x116d18;return this[_0x3990e9(0x5a3)][_0x3990e9(0x3f7)](_0x56fbd9,_0xbf8ed8);},'createDecryptor':function(_0x6f2449,_0x10aa5a){const _0xc6b48a=_0x116d18;return this[_0xc6b48a(0x445)][_0xc6b48a(0x3f7)](_0x6f2449,_0x10aa5a);},'init':function(_0x946d87,_0x3b1d7a){const _0x23556e=_0x116d18;this[_0x23556e(0x41a)]=_0x946d87,this[_0x23556e(0x35a)]=_0x3b1d7a;}}),_0x5af990=_0x45bc00[_0x116d18(0x252)]=(function(){const _0x10606a=_0x116d18;var _0x263770=_0xc5f7da[_0x10606a(0x30f)]();_0x263770[_0x10606a(0x5a3)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x5a2aac,_0x4a2f09){const _0xad5edf=_0x10606a;var _0xef8ac3=this[_0xad5edf(0x41a)],_0x555f8d=_0xef8ac3[_0xad5edf(0x626)];_0x2c9092['call'](this,_0x5a2aac,_0x4a2f09,_0x555f8d),_0xef8ac3[_0xad5edf(0x1ee)](_0x5a2aac,_0x4a2f09),this[_0xad5edf(0x3c9)]=_0x5a2aac[_0xad5edf(0x3bb)](_0x4a2f09,_0x4a2f09+_0x555f8d);}}),_0x263770[_0x10606a(0x445)]=_0x263770[_0x10606a(0x30f)]({'processBlock':function(_0x1a82a6,_0x3a60e5){const _0xc4d95b=_0x10606a;var _0x23526c=this['_cipher'],_0x161581=_0x23526c[_0xc4d95b(0x626)],_0x440704=_0x1a82a6[_0xc4d95b(0x3bb)](_0x3a60e5,_0x3a60e5+_0x161581);_0x23526c[_0xc4d95b(0x4e7)](_0x1a82a6,_0x3a60e5),_0x2c9092[_0xc4d95b(0x1d5)](this,_0x1a82a6,_0x3a60e5,_0x161581),this[_0xc4d95b(0x3c9)]=_0x440704;}});function _0x2c9092(_0x1c7c7e,_0x17f1e7,_0x379307){const _0x257cf9=_0x10606a;var _0x31ca1a,_0x2154d8=this['_iv'];_0x2154d8?(_0x31ca1a=_0x2154d8,this[_0x257cf9(0x35a)]=_0x7b8458):_0x31ca1a=this[_0x257cf9(0x3c9)];for(var _0x2d3e05=0x0;_0x2d3e05<_0x379307;_0x2d3e05++)_0x1c7c7e[_0x17f1e7+_0x2d3e05]^=_0x31ca1a[_0x2d3e05];}return _0x263770;}()),_0xafe5cf=_0xea3344[_0x116d18(0x2f8)]={},_0x32922b=_0xafe5cf['Pkcs7']={'pad':function(_0x2663a1,_0x4f3815){const _0x5bf50e=_0x116d18;for(var _0xbe6b44=_0x4f3815*0x4,_0x5858ae=_0xbe6b44-_0x2663a1[_0x5bf50e(0x45c)]%_0xbe6b44,_0x3020a3=_0x5858ae<<0x18|_0x5858ae<<0x10|_0x5858ae<<0x8|_0x5858ae,_0x1e3dda=[],_0x35bc21=0x0;_0x35bc21<_0x5858ae;_0x35bc21+=0x4)_0x1e3dda[_0x5bf50e(0x3bc)](_0x3020a3);var _0x99c7c1=_0x2a7950['create'](_0x1e3dda,_0x5858ae);_0x2663a1['concat'](_0x99c7c1);},'unpad':function(_0x545a3e){const _0x28808e=_0x116d18;var _0x1dd140=_0x545a3e[_0x28808e(0x1d8)][_0x545a3e[_0x28808e(0x45c)]-0x1>>>0x2]&0xff;_0x545a3e[_0x28808e(0x45c)]-=_0x1dd140;}};_0x754136[_0x116d18(0x671)]=_0x59a483['extend']({'cfg':_0x59a483[_0x116d18(0x503)][_0x116d18(0x30f)]({'mode':_0x5af990,'padding':_0x32922b}),'reset':function(){const _0x4044ca=_0x116d18;var _0x3cf558;_0x59a483[_0x4044ca(0x29c)][_0x4044ca(0x1d5)](this);var _0x2ba811=this['cfg'],_0x3d8225=_0x2ba811['iv'],_0x2a7396=_0x2ba811['mode'];this['_xformMode']==this[_0x4044ca(0x401)]?_0x3cf558=_0x2a7396[_0x4044ca(0x55e)]:(_0x3cf558=_0x2a7396[_0x4044ca(0x1d9)],this[_0x4044ca(0x54a)]=0x1),this[_0x4044ca(0x59e)]&&this[_0x4044ca(0x59e)][_0x4044ca(0x2d3)]==_0x3cf558?this[_0x4044ca(0x59e)][_0x4044ca(0x334)](this,_0x3d8225&&_0x3d8225['words']):(this[_0x4044ca(0x59e)]=_0x3cf558['call'](_0x2a7396,this,_0x3d8225&&_0x3d8225['words']),this[_0x4044ca(0x59e)]['__creator']=_0x3cf558);},'_doProcessBlock':function(_0x6a0a63,_0x12e0f9){const _0x41613f=_0x116d18;this[_0x41613f(0x59e)][_0x41613f(0x311)](_0x6a0a63,_0x12e0f9);},'_doFinalize':function(){const _0x54d32d=_0x116d18;var _0x280d74,_0x32d769=this[_0x54d32d(0x503)][_0x54d32d(0x2e2)];return this['_xformMode']==this[_0x54d32d(0x401)]?(_0x32d769[_0x54d32d(0x2f8)](this[_0x54d32d(0x461)],this[_0x54d32d(0x626)]),_0x280d74=this[_0x54d32d(0x392)](!0x0)):(_0x280d74=this['_process'](!0x0),_0x32d769[_0x54d32d(0x651)](_0x280d74)),_0x280d74;},'blockSize':0x80/0x20});var _0x14b5d8=_0x754136[_0x116d18(0x38b)]=_0x39796e[_0x116d18(0x30f)]({'init':function(_0xf8664e){const _0x4ddb57=_0x116d18;this[_0x4ddb57(0x4bd)](_0xf8664e);},'toString':function(_0x4f0f8f){const _0xdbfcb0=_0x116d18;return(_0x4f0f8f||this['formatter'])[_0xdbfcb0(0x65e)](this);}}),_0x3d0a91=_0xea3344['format']={},_0x211529=_0x3d0a91[_0x116d18(0x529)]={'stringify':function(_0x15cae9){const _0xe801c3=_0x116d18;var _0x2ad47c,_0x488ab4=_0x15cae9[_0xe801c3(0x3b0)],_0x29f9d4=_0x15cae9[_0xe801c3(0x67d)];return _0x29f9d4?_0x2ad47c=_0x2a7950[_0xe801c3(0x3f7)]([0x53616c74,0x65645f5f])[_0xe801c3(0x2c9)](_0x29f9d4)[_0xe801c3(0x2c9)](_0x488ab4):_0x2ad47c=_0x488ab4,_0x2ad47c[_0xe801c3(0x3ef)](_0x26d373);},'parse':function(_0x5a560d){const _0x179a00=_0x116d18;var _0x371143,_0x305223=_0x26d373[_0x179a00(0x1c4)](_0x5a560d),_0xee7b=_0x305223[_0x179a00(0x1d8)];return _0xee7b[0x0]==0x53616c74&&_0xee7b[0x1]==0x65645f5f&&(_0x371143=_0x2a7950[_0x179a00(0x3f7)](_0xee7b[_0x179a00(0x3bb)](0x2,0x4)),_0xee7b[_0x179a00(0x354)](0x0,0x4),_0x305223[_0x179a00(0x45c)]-=0x10),_0x14b5d8[_0x179a00(0x3f7)]({'ciphertext':_0x305223,'salt':_0x371143});}},_0xaf1a0c=_0x754136[_0x116d18(0x4a5)]=_0x39796e['extend']({'cfg':_0x39796e[_0x116d18(0x30f)]({'format':_0x211529}),'encrypt':function(_0x402384,_0x1f4b05,_0x1c2d4e,_0x36f19d){const _0x3ad0e2=_0x116d18;_0x36f19d=this['cfg'][_0x3ad0e2(0x30f)](_0x36f19d);var _0x52a854=_0x402384[_0x3ad0e2(0x55e)](_0x1c2d4e,_0x36f19d),_0x178d28=_0x52a854['finalize'](_0x1f4b05),_0x37087c=_0x52a854['cfg'];return _0x14b5d8['create']({'ciphertext':_0x178d28,'key':_0x1c2d4e,'iv':_0x37087c['iv'],'algorithm':_0x402384,'mode':_0x37087c['mode'],'padding':_0x37087c['padding'],'blockSize':_0x402384['blockSize'],'formatter':_0x36f19d[_0x3ad0e2(0x458)]});},'decrypt':function(_0x32207f,_0x543353,_0x27101f,_0x416d38){const _0x102221=_0x116d18;_0x416d38=this[_0x102221(0x503)][_0x102221(0x30f)](_0x416d38),_0x543353=this[_0x102221(0x459)](_0x543353,_0x416d38[_0x102221(0x458)]);var _0x216ffa=_0x32207f['createDecryptor'](_0x27101f,_0x416d38)[_0x102221(0x349)](_0x543353['ciphertext']);return _0x216ffa;},'_parse':function(_0x4b1413,_0x3c04c0){const _0x812edf=_0x116d18;return typeof _0x4b1413==_0x812edf(0x291)?_0x3c04c0[_0x812edf(0x1c4)](_0x4b1413,this):_0x4b1413;}}),_0x38ffd2=_0xea3344[_0x116d18(0x3c0)]={},_0xd4b3f5=_0x38ffd2[_0x116d18(0x529)]={'execute':function(_0x17a01b,_0x3d3baf,_0x24834c,_0x510486,_0x1278b0){const _0x556549=_0x116d18;if(_0x510486||(_0x510486=_0x2a7950[_0x556549(0x581)](0x40/0x8)),_0x1278b0)var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c,'hasher':_0x1278b0})[_0x556549(0x282)](_0x17a01b,_0x510486);else var _0x1cc7b9=_0x4ab683[_0x556549(0x3f7)]({'keySize':_0x3d3baf+_0x24834c})['compute'](_0x17a01b,_0x510486);var _0x351c25=_0x2a7950['create'](_0x1cc7b9[_0x556549(0x1d8)][_0x556549(0x3bb)](_0x3d3baf),_0x24834c*0x4);return _0x1cc7b9[_0x556549(0x45c)]=_0x3d3baf*0x4,_0x14b5d8[_0x556549(0x3f7)]({'key':_0x1cc7b9,'iv':_0x351c25,'salt':_0x510486});}},_0x17b682=_0x754136['PasswordBasedCipher']=_0xaf1a0c[_0x116d18(0x30f)]({'cfg':_0xaf1a0c[_0x116d18(0x503)][_0x116d18(0x30f)]({'kdf':_0xd4b3f5}),'encrypt':function(_0x4be17c,_0x1bcdf6,_0x575887,_0x22dc9c){const _0x17fb48=_0x116d18;_0x22dc9c=this[_0x17fb48(0x503)]['extend'](_0x22dc9c);var _0x1b4a37=_0x22dc9c[_0x17fb48(0x3c0)]['execute'](_0x575887,_0x4be17c[_0x17fb48(0x4b9)],_0x4be17c[_0x17fb48(0x3e9)],_0x22dc9c[_0x17fb48(0x67d)],_0x22dc9c[_0x17fb48(0x52f)]);_0x22dc9c['iv']=_0x1b4a37['iv'];var _0xba342e=_0xaf1a0c[_0x17fb48(0x442)][_0x17fb48(0x1d5)](this,_0x4be17c,_0x1bcdf6,_0x1b4a37['key'],_0x22dc9c);return _0xba342e[_0x17fb48(0x4bd)](_0x1b4a37),_0xba342e;},'decrypt':function(_0x1d843b,_0x3d19e1,_0x292f0f,_0x4aad9b){const _0x37e115=_0x116d18;_0x4aad9b=this['cfg'][_0x37e115(0x30f)](_0x4aad9b),_0x3d19e1=this['_parse'](_0x3d19e1,_0x4aad9b[_0x37e115(0x458)]);var _0x44e9f3=_0x4aad9b[_0x37e115(0x3c0)][_0x37e115(0x4a7)](_0x292f0f,_0x1d843b[_0x37e115(0x4b9)],_0x1d843b[_0x37e115(0x3e9)],_0x3d19e1['salt'],_0x4aad9b[_0x37e115(0x52f)]);_0x4aad9b['iv']=_0x44e9f3['iv'];var _0x52b6ba=_0xaf1a0c[_0x37e115(0x262)][_0x37e115(0x1d5)](this,_0x1d843b,_0x3d19e1,_0x44e9f3[_0x37e115(0x425)],_0x4aad9b);return _0x52b6ba;}});}();}));}(vt)),vt[_0xf3909b(0x5a4)];}(function(_0x55e6a7,_0x367cc2){(function(_0x18364b,_0x2c1521,_0xa42702){_0x55e6a7['exports']=_0x2c1521(oe(),Pi(),fr(),wi(),Ui());}(Z,function(_0x58898c){const _0x4354cf=_0x2f26;return(function(){const _0x2575f2=_0x2f26;var _0x10d5a2=_0x58898c,_0x6018fa=_0x10d5a2[_0x2575f2(0x530)],_0x3493e8=_0x6018fa[_0x2575f2(0x671)],_0x3d7b71=_0x10d5a2['algo'],_0x144606=[],_0xece021=[],_0x1bae05=[],_0xfaf566=[],_0x178db2=[],_0xd37b7c=[],_0x541f77=[],_0x58cdcd=[],_0x64fb74=[],_0x3b01c8=[];(function(){for(var _0xb9a180=[],_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++)_0x23ae1c<0x80?_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1:_0xb9a180[_0x23ae1c]=_0x23ae1c<<0x1^0x11b;for(var _0x43126e=0x0,_0x4a7ba8=0x0,_0x23ae1c=0x0;_0x23ae1c<0x100;_0x23ae1c++){var _0x4e1bb3=_0x4a7ba8^_0x4a7ba8<<0x1^_0x4a7ba8<<0x2^_0x4a7ba8<<0x3^_0x4a7ba8<<0x4;_0x4e1bb3=_0x4e1bb3>>>0x8^_0x4e1bb3&0xff^0x63,_0x144606[_0x43126e]=_0x4e1bb3,_0xece021[_0x4e1bb3]=_0x43126e;var _0x498dfd=_0xb9a180[_0x43126e],_0x558a18=_0xb9a180[_0x498dfd],_0x435a03=_0xb9a180[_0x558a18],_0x340f44=_0xb9a180[_0x4e1bb3]*0x101^_0x4e1bb3*0x1010100;_0x1bae05[_0x43126e]=_0x340f44<<0x18|_0x340f44>>>0x8,_0xfaf566[_0x43126e]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x178db2[_0x43126e]=_0x340f44<<0x8|_0x340f44>>>0x18,_0xd37b7c[_0x43126e]=_0x340f44;var _0x340f44=_0x435a03*0x1010101^_0x558a18*0x10001^_0x498dfd*0x101^_0x43126e*0x1010100;_0x541f77[_0x4e1bb3]=_0x340f44<<0x18|_0x340f44>>>0x8,_0x58cdcd[_0x4e1bb3]=_0x340f44<<0x10|_0x340f44>>>0x10,_0x64fb74[_0x4e1bb3]=_0x340f44<<0x8|_0x340f44>>>0x18,_0x3b01c8[_0x4e1bb3]=_0x340f44,_0x43126e?(_0x43126e=_0x498dfd^_0xb9a180[_0xb9a180[_0xb9a180[_0x435a03^_0x498dfd]]],_0x4a7ba8^=_0xb9a180[_0xb9a180[_0x4a7ba8]]):_0x43126e=_0x4a7ba8=0x1;}}());var _0x28b458=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x580868=_0x3d7b71[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x30f)]({'_doReset':function(){const _0x10d390=_0x2575f2;var _0x3f1a6d;if(!(this[_0x10d390(0x2b3)]&&this[_0x10d390(0x470)]===this[_0x10d390(0x3c4)])){for(var _0x3ba0e5=this[_0x10d390(0x470)]=this[_0x10d390(0x3c4)],_0xe01ca=_0x3ba0e5['words'],_0x45bd7f=_0x3ba0e5[_0x10d390(0x45c)]/0x4,_0x3af97c=this[_0x10d390(0x2b3)]=_0x45bd7f+0x6,_0x2ade67=(_0x3af97c+0x1)*0x4,_0x1204f8=this['_keySchedule']=[],_0x958e68=0x0;_0x958e68<_0x2ade67;_0x958e68++)_0x958e68<_0x45bd7f?_0x1204f8[_0x958e68]=_0xe01ca[_0x958e68]:(_0x3f1a6d=_0x1204f8[_0x958e68-0x1],_0x958e68%_0x45bd7f?_0x45bd7f>0x6&&_0x958e68%_0x45bd7f==0x4&&(_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff]):(_0x3f1a6d=_0x3f1a6d<<0x8|_0x3f1a6d>>>0x18,_0x3f1a6d=_0x144606[_0x3f1a6d>>>0x18]<<0x18|_0x144606[_0x3f1a6d>>>0x10&0xff]<<0x10|_0x144606[_0x3f1a6d>>>0x8&0xff]<<0x8|_0x144606[_0x3f1a6d&0xff],_0x3f1a6d^=_0x28b458[_0x958e68/_0x45bd7f|0x0]<<0x18),_0x1204f8[_0x958e68]=_0x1204f8[_0x958e68-_0x45bd7f]^_0x3f1a6d);for(var _0x291415=this['_invKeySchedule']=[],_0x30df81=0x0;_0x30df81<_0x2ade67;_0x30df81++){var _0x958e68=_0x2ade67-_0x30df81;if(_0x30df81%0x4)var _0x3f1a6d=_0x1204f8[_0x958e68];else var _0x3f1a6d=_0x1204f8[_0x958e68-0x4];_0x30df81<0x4||_0x958e68<=0x4?_0x291415[_0x30df81]=_0x3f1a6d:_0x291415[_0x30df81]=_0x541f77[_0x144606[_0x3f1a6d>>>0x18]]^_0x58cdcd[_0x144606[_0x3f1a6d>>>0x10&0xff]]^_0x64fb74[_0x144606[_0x3f1a6d>>>0x8&0xff]]^_0x3b01c8[_0x144606[_0x3f1a6d&0xff]];}}},'encryptBlock':function(_0x21773d,_0x26edd2){const _0x468725=_0x2575f2;this[_0x468725(0x664)](_0x21773d,_0x26edd2,this[_0x468725(0x521)],_0x1bae05,_0xfaf566,_0x178db2,_0xd37b7c,_0x144606);},'decryptBlock':function(_0x3f38a3,_0x335fc1){const _0xfdebe5=_0x2575f2;var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8,this[_0xfdebe5(0x664)](_0x3f38a3,_0x335fc1,this[_0xfdebe5(0x2c0)],_0x541f77,_0x58cdcd,_0x64fb74,_0x3b01c8,_0xece021);var _0x5a58b8=_0x3f38a3[_0x335fc1+0x1];_0x3f38a3[_0x335fc1+0x1]=_0x3f38a3[_0x335fc1+0x3],_0x3f38a3[_0x335fc1+0x3]=_0x5a58b8;},'_doCryptBlock':function(_0x1535ec,_0x41de9b,_0xdf9b8,_0xb60c30,_0x3921ec,_0x1b9091,_0x63a666,_0x20d57a){for(var _0x1c3fa2=this['_nRounds'],_0xccaf0f=_0x1535ec[_0x41de9b]^_0xdf9b8[0x0],_0x291c60=_0x1535ec[_0x41de9b+0x1]^_0xdf9b8[0x1],_0x37a0de=_0x1535ec[_0x41de9b+0x2]^_0xdf9b8[0x2],_0x1b8768=_0x1535ec[_0x41de9b+0x3]^_0xdf9b8[0x3],_0xb68ab=0x4,_0x126d5f=0x1;_0x126d5f<_0x1c3fa2;_0x126d5f++){var _0x2da508=_0xb60c30[_0xccaf0f>>>0x18]^_0x3921ec[_0x291c60>>>0x10&0xff]^_0x1b9091[_0x37a0de>>>0x8&0xff]^_0x63a666[_0x1b8768&0xff]^_0xdf9b8[_0xb68ab++],_0x1833ff=_0xb60c30[_0x291c60>>>0x18]^_0x3921ec[_0x37a0de>>>0x10&0xff]^_0x1b9091[_0x1b8768>>>0x8&0xff]^_0x63a666[_0xccaf0f&0xff]^_0xdf9b8[_0xb68ab++],_0x3fb395=_0xb60c30[_0x37a0de>>>0x18]^_0x3921ec[_0x1b8768>>>0x10&0xff]^_0x1b9091[_0xccaf0f>>>0x8&0xff]^_0x63a666[_0x291c60&0xff]^_0xdf9b8[_0xb68ab++],_0x1e2df4=_0xb60c30[_0x1b8768>>>0x18]^_0x3921ec[_0xccaf0f>>>0x10&0xff]^_0x1b9091[_0x291c60>>>0x8&0xff]^_0x63a666[_0x37a0de&0xff]^_0xdf9b8[_0xb68ab++];_0xccaf0f=_0x2da508,_0x291c60=_0x1833ff,_0x37a0de=_0x3fb395,_0x1b8768=_0x1e2df4;}var _0x2da508=(_0x20d57a[_0xccaf0f>>>0x18]<<0x18|_0x20d57a[_0x291c60>>>0x10&0xff]<<0x10|_0x20d57a[_0x37a0de>>>0x8&0xff]<<0x8|_0x20d57a[_0x1b8768&0xff])^_0xdf9b8[_0xb68ab++],_0x1833ff=(_0x20d57a[_0x291c60>>>0x18]<<0x18|_0x20d57a[_0x37a0de>>>0x10&0xff]<<0x10|_0x20d57a[_0x1b8768>>>0x8&0xff]<<0x8|_0x20d57a[_0xccaf0f&0xff])^_0xdf9b8[_0xb68ab++],_0x3fb395=(_0x20d57a[_0x37a0de>>>0x18]<<0x18|_0x20d57a[_0x1b8768>>>0x10&0xff]<<0x10|_0x20d57a[_0xccaf0f>>>0x8&0xff]<<0x8|_0x20d57a[_0x291c60&0xff])^_0xdf9b8[_0xb68ab++],_0x1e2df4=(_0x20d57a[_0x1b8768>>>0x18]<<0x18|_0x20d57a[_0xccaf0f>>>0x10&0xff]<<0x10|_0x20d57a[_0x291c60>>>0x8&0xff]<<0x8|_0x20d57a[_0x37a0de&0xff])^_0xdf9b8[_0xb68ab++];_0x1535ec[_0x41de9b]=_0x2da508,_0x1535ec[_0x41de9b+0x1]=_0x1833ff,_0x1535ec[_0x41de9b+0x2]=_0x3fb395,_0x1535ec[_0x41de9b+0x3]=_0x1e2df4;},'keySize':0x100/0x20});_0x10d5a2[_0x2575f2(0x40d)]=_0x3493e8[_0x2575f2(0x4fe)](_0x580868);}()),_0x58898c[_0x4354cf(0x40d)];}));}(Di));var pr=Di[_0x29ff00(0x5a4)];const mr=xe(pr);var gr=Pi();const Qt=xe(gr);var Mi={'exports':{}};(function(_0xdfeba2,_0x289bd7){(function(_0xd58344,_0x17004b){_0xdfeba2['exports']=_0x17004b(oe());}(Z,function(_0x31a203){const _0x377a9e=_0x2f26;return _0x31a203[_0x377a9e(0x38e)][_0x377a9e(0x3e6)];}));}(Mi));var Ir=Mi[_0x29ff00(0x5a4)];const Cr=xe(Ir);var Ai={'exports':{}};(function(_0x54bf00,_0x50fa45){(function(_0x3cee32,_0x307f10){const _0x1f2c1e=_0x2f26;_0x54bf00[_0x1f2c1e(0x5a4)]=_0x307f10(oe());}(Z,function(_0x44f7c2){const _0x616c07=_0x2f26;return(function(){const _0x5505f1=_0x2f26;if(typeof ArrayBuffer==_0x5505f1(0x5a8)){var _0x58a9aa=_0x44f7c2,_0x384a78=_0x58a9aa[_0x5505f1(0x530)],_0x53005a=_0x384a78['WordArray'],_0x5da649=_0x53005a[_0x5505f1(0x334)],_0x3763a6=_0x53005a[_0x5505f1(0x334)]=function(_0x50259d){const _0x131124=_0x5505f1;if(_0x50259d instanceof ArrayBuffer&&(_0x50259d=new Uint8Array(_0x50259d)),(_0x50259d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x50259d instanceof Uint8ClampedArray||_0x50259d instanceof Int16Array||_0x50259d instanceof Uint16Array||_0x50259d instanceof Int32Array||_0x50259d instanceof Uint32Array||_0x50259d instanceof Float32Array||_0x50259d instanceof Float64Array)&&(_0x50259d=new Uint8Array(_0x50259d['buffer'],_0x50259d[_0x131124(0x59d)],_0x50259d['byteLength'])),_0x50259d instanceof Uint8Array){for(var _0x12bcaa=_0x50259d[_0x131124(0x260)],_0x46263e=[],_0x578956=0x0;_0x578956<_0x12bcaa;_0x578956++)_0x46263e[_0x578956>>>0x2]|=_0x50259d[_0x578956]<<0x18-_0x578956%0x4*0x8;_0x5da649[_0x131124(0x1d5)](this,_0x46263e,_0x12bcaa);}else _0x5da649[_0x131124(0x567)](this,arguments);};_0x3763a6[_0x5505f1(0x1fe)]=_0x53005a;}}()),_0x44f7c2['lib'][_0x616c07(0x1e2)];}));}(Ai));var Er=Ai['exports'];const br=xe(Er);var Ni={'exports':{}};(function(_0x138c4d,_0x199646){(function(_0x3a7b38,_0x160b03,_0x3ca5a8){const _0x462d71=_0x2f26;_0x138c4d[_0x462d71(0x5a4)]=_0x160b03(oe(),Ui());}(Z,function(_0x306c28){const _0x192a0a=_0x2f26;return _0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)]={'pad':function(){},'unpad':function(){}},_0x306c28[_0x192a0a(0x2f8)][_0x192a0a(0x631)];}));}(Ni));var Tr=Ni[_0x29ff00(0x5a4)];const Rr=xe(Tr);function yr(_0x234f00,_0x149d08){const _0x46de3c=_0x29ff00,_0x573670=_0x149d08-_0x234f00['length']%_0x149d08,_0x2f2912=String['fromCharCode'](_0x573670)[_0x46de3c(0x2cf)](_0x573670);return _0x234f00+_0x2f2912;}function Or(_0xcbbe8a,_0x35f8cc){const _0x361c44=_0x29ff00,_0x21cf08=br[_0x361c44(0x581)](0x10),_0xbc58a0=yr(_0xcbbe8a,0x10),_0x4af347=mr[_0x361c44(0x442)](Cr['parse'](_0xbc58a0),Qt[_0x361c44(0x1c4)](_0x35f8cc),{'iv':_0x21cf08,'padding':Rr});return _0x21cf08[_0x361c44(0x2c9)](_0x4af347[_0x361c44(0x3b0)])[_0x361c44(0x3ef)](Qt);}function Dr(){const _0x56bc1e=_0x29ff00,_0x566d4d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x56bc1e(0x224)];if(_0x566d4d){const _0xfd390f={'time':Math[_0x56bc1e(0x3f8)](Date[_0x56bc1e(0x53b)]()/0x3e8),'domain':location[_0x56bc1e(0x5f6)]};return Or(JSON[_0x56bc1e(0x65e)](_0xfd390f),_0x566d4d);}}var Pr=Object[_0x29ff00(0x64a)],wr=Object[_0x29ff00(0x316)],Ur=(_0x515deb,_0x51312e,_0x317b6e,_0x317781)=>{const _0x296a74=_0x29ff00;for(var _0x7af0fe=_0x317781>0x1?void 0x0:_0x317781?wr(_0x51312e,_0x317b6e):_0x51312e,_0x7aae39=_0x515deb[_0x296a74(0x5e7)]-0x1,_0x375b7c;_0x7aae39>=0x0;_0x7aae39--)(_0x375b7c=_0x515deb[_0x7aae39])&&(_0x7af0fe=(_0x317781?_0x375b7c(_0x51312e,_0x317b6e,_0x7af0fe):_0x375b7c(_0x7af0fe))||_0x7af0fe);return _0x317781&&_0x7af0fe&&Pr(_0x51312e,_0x317b6e,_0x7af0fe),_0x7af0fe;},Mr=(_0x428e94,_0x1606c3)=>(_0x46c6bc,_0x4f05c7)=>_0x1606c3(_0x46c6bc,_0x4f05c7,_0x428e94);let Ke=class{constructor(_0x1dea5e){const _0x400d25=_0x29ff00;this[_0x400d25(0x620)]=_0x1dea5e,this[_0x400d25(0x616)]();}['_initRequestHeader'](){const _0x21c89a=_0x29ff00;this[_0x21c89a(0x620)][_0x21c89a(0x595)]({'interceptor':(_0x4ea59a,_0x4e5b43)=>{const _0x5a042e=_0x21c89a,_0x393f65=_0x4ea59a[_0x5a042e(0x32e)],_0x3701e8=Dr();return _0x3701e8&&_0x393f65['set'](_0x5a042e(0x305),_0x3701e8),_0x4e5b43(_0x4ea59a);}});}};Ke=Ur([Mr(0x0,a[_0x29ff00(0x493)](z[_0x29ff00(0x1be)]))],Ke);var Ar=Object[_0x29ff00(0x64a)],Nr=Object[_0x29ff00(0x316)],Lr=(_0x1ac37d,_0xe107c8,_0x57d348,_0x41a80b)=>{const _0x13a182=_0x29ff00;for(var _0x3146dc=_0x41a80b>0x1?void 0x0:_0x41a80b?Nr(_0xe107c8,_0x57d348):_0xe107c8,_0x208fe8=_0x1ac37d[_0x13a182(0x5e7)]-0x1,_0x43c24f;_0x208fe8>=0x0;_0x208fe8--)(_0x43c24f=_0x1ac37d[_0x208fe8])&&(_0x3146dc=(_0x41a80b?_0x43c24f(_0xe107c8,_0x57d348,_0x3146dc):_0x43c24f(_0x3146dc))||_0x3146dc);return _0x41a80b&&_0x3146dc&&Ar(_0xe107c8,_0x57d348,_0x3146dc),_0x3146dc;},St=(_0x1321ec,_0x5b6580)=>(_0x216f77,_0x52603f)=>_0x5b6580(_0x216f77,_0x52603f,_0x1321ec);const xr=[_0x29ff00(0x5a2),_0x29ff00(0x213),_0x29ff00(0x657),_0x29ff00(0x2ec),_0x29ff00(0x378)],jr=0x5*0x400*0x400,$r=_0x29ff00(0x5c8),Hr=_0x29ff00(0x630),Br=_0x29ff00(0x4ed),kr=_0x29ff00(0x3a7);exports[_0x29ff00(0x35d)]=class{constructor(_0x204c9a,_0xb3f3dd,_0x57cd57){const _0x51e5f6=_0x29ff00;I(this,_0x51e5f6(0x5a9),0x0),I(this,_0x51e5f6(0x2f1),new A['Subject']()),I(this,_0x51e5f6(0x39d),this[_0x51e5f6(0x2f1)]),I(this,_0x51e5f6(0x3ed),new Map()),(this['_httpService']=_0x204c9a,this['_configService']=_0xb3f3dd,this[_0x51e5f6(0x600)]=_0x57cd57);}[_0x29ff00(0x3cd)](_0x4adfda){const _0x4f726d=_0x29ff00;this['_waitCount']=_0x4adfda,this[_0x4f726d(0x2f1)][_0x4f726d(0x49f)](_0x4adfda);}['getImageSourceCache'](_0x9c77b2,_0x1ff18e){const _0x2e88ef=_0x29ff00;if(_0x1ff18e===ie[_0x2e88ef(0x5b3)]['BASE64']){const _0x1d0669=new Image();return _0x1d0669['src']=_0x9c77b2,_0x1d0669;}return this[_0x2e88ef(0x3ed)][_0x2e88ef(0x2ef)](_0x9c77b2);}[_0x29ff00(0x1de)](_0x269f4f,_0x5af452,_0x363007){const _0x9693ad=_0x29ff00;_0x5af452===ie[_0x9693ad(0x5b3)][_0x9693ad(0x303)]||_0x363007==null||this['_imageSourceCache']['set'](_0x269f4f,_0x363007);}async[_0x29ff00(0x43b)](_0x31264b){const _0x11ec72=_0x29ff00;try{const _0x44a8f7=this['_replaceFileID'](this['_getSignURL'](),''+_0x31264b),_0x47dd3d=(await this['_httpService'][_0x11ec72(0x2ef)](_0x44a8f7))['body'];if(_0x47dd3d['error']&&_0x47dd3d[_0x11ec72(0x27a)]['code']===_i['OK']){const _0x1ec950=new URL(_0x47dd3d[_0x11ec72(0x4ad)],this[_0x11ec72(0x635)]())['toString']();return Promise[_0x11ec72(0x343)](_0x1ec950);}return Promise[_0x11ec72(0x4af)](_0x47dd3d[_0x11ec72(0x27a)]);}catch(_0x219b25){return Promise[_0x11ec72(0x4af)](_0x219b25);}}async['saveImage'](_0x6c30f7){const _0x34b1b3=_0x29ff00;let _0x38d80f='';if(!xr[_0x34b1b3(0x263)](_0x6c30f7[_0x34b1b3(0x2eb)]))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x451)]));if(_0x6c30f7['size']>jr)return this['_decreaseWaiting'](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)]['ERROR_EXCEED_SIZE']));try{const _0x528990=new FormData();_0x528990[_0x34b1b3(0x31a)](_0x34b1b3(0x681),_0x6c30f7);const _0x8eb1a1=this['_univerInstanceService'][_0x34b1b3(0x498)](),_0xbb813e=_0x8eb1a1==null?void 0x0:_0x8eb1a1[_0x34b1b3(0x621)]();if(!_0xbb813e)throw new Error('unitId\x20is\x20not\x20found');const _0x43549f=this['_getUploadFileURL']()+_0x34b1b3(0x45f)+_0x6c30f7['size'][_0x34b1b3(0x3ef)]()+_0x34b1b3(0x1ef)+ui[_0x34b1b3(0x358)]+'&assign='+encodeURIComponent(_0xbb813e),_0x11b3bd=await(await fetch(_0x43549f,{'method':_0x34b1b3(0x4b7),'body':_0x528990}))['json']();if(typeof _0x11b3bd['FileId']!=_0x34b1b3(0x291))return this[_0x34b1b3(0x237)](),Promise[_0x34b1b3(0x4af)](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));_0x38d80f=_0x11b3bd[_0x34b1b3(0x55c)];}catch{return this[_0x34b1b3(0x237)](),Promise['reject'](new Error(ie[_0x34b1b3(0x662)][_0x34b1b3(0x5da)]));}return new Promise((_0x56e355,_0x4c0147)=>{const _0x5f5951=_0x34b1b3,_0x584aa4=new FileReader();_0x584aa4[_0x5f5951(0x25c)](_0x6c30f7),_0x584aa4[_0x5f5951(0x3b9)]=_0x32e861=>{const _0x6022bf=_0x5f5951;var _0x1124f7;const _0x34c00e=(_0x1124f7=_0x32e861[_0x6022bf(0x629)])==null?void 0x0:_0x1124f7['result'];if(_0x34c00e==null){this['_decreaseWaiting'](),_0x4c0147(new Error(ie['ImageUploadStatusType'][_0x6022bf(0x5da)]));return;}const _0x1ec009=a[_0x6022bf(0x302)][_0x6022bf(0x512)](0x6);_0x56e355({'imageId':_0x1ec009,'imageSourceType':ie[_0x6022bf(0x5b3)][_0x6022bf(0x44a)],'source':_0x38d80f,'base64Cache':_0x34c00e,'status':ie[_0x6022bf(0x662)][_0x6022bf(0x2c2)]}),this['_decreaseWaiting']();};});}[_0x29ff00(0x3c6)](){const _0x42d0b6=_0x29ff00;var _0x5462cd,_0xf7d2c0;const _0x5d7616=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)]($r),_0x42a49c=this[_0x42d0b6(0x4ea)][_0x42d0b6(0x1ea)](Q);return(_0xf7d2c0=(_0x5462cd=_0x42a49c==null?void 0x0:_0x42a49c['uploadFileServerUrl'])!=null?_0x5462cd:_0x5d7616)!=null?_0xf7d2c0:Hr;}['_getSignURL'](){const _0x2fa01f=_0x29ff00;var _0x223537,_0x2c117b;const _0x446b46=this[_0x2fa01f(0x4ea)]['getConfig'](Br),_0x3614c0=this[_0x2fa01f(0x4ea)][_0x2fa01f(0x1ea)](Q);return(_0x2c117b=(_0x223537=_0x3614c0==null?void 0x0:_0x3614c0[_0x2fa01f(0x3b2)])!=null?_0x223537:_0x446b46)!=null?_0x2c117b:kr;}[_0x29ff00(0x635)](){const _0x249d63=_0x29ff00;var _0x832ee6;const _0x5d807e=this[_0x249d63(0x4ea)][_0x249d63(0x1ea)](Q);return(_0x832ee6=_0x5d807e==null?void 0x0:_0x5d807e[_0x249d63(0x33b)])!=null?_0x832ee6:location[_0x249d63(0x655)];}[_0x29ff00(0x5de)](_0x8fad1b,_0xfbefc1){const _0x33f91f=_0x29ff00;return _0x8fad1b[_0x33f91f(0x43e)]('{fileID}',_0xfbefc1);}[_0x29ff00(0x237)](){const _0xf30ef3=_0x29ff00;this['_waitCount']-=0x1,this[_0xf30ef3(0x2f1)]['next'](this[_0xf30ef3(0x5a9)]);}},exports[_0x29ff00(0x35d)]=Lr([St(0x0,a['Inject'](z[_0x29ff00(0x1be)])),St(0x1,a['IConfigService']),St(0x2,a[_0x29ff00(0x493)](a[_0x29ff00(0x37f)]))],exports[_0x29ff00(0x35d)]);var Wr=Object[_0x29ff00(0x64a)],Fr=Object[_0x29ff00(0x316)],Vr=(_0x4cd428,_0x127cfb,_0x7ef1c,_0x52e5a9)=>{const _0x186f8c=_0x29ff00;for(var _0x25fbe6=_0x52e5a9>0x1?void 0x0:_0x52e5a9?Fr(_0x127cfb,_0x7ef1c):_0x127cfb,_0x492d42=_0x4cd428[_0x186f8c(0x5e7)]-0x1,_0x5b5228;_0x492d42>=0x0;_0x492d42--)(_0x5b5228=_0x4cd428[_0x492d42])&&(_0x25fbe6=(_0x52e5a9?_0x5b5228(_0x127cfb,_0x7ef1c,_0x25fbe6):_0x5b5228(_0x25fbe6))||_0x25fbe6);return _0x52e5a9&&_0x25fbe6&&Wr(_0x127cfb,_0x7ef1c,_0x25fbe6),_0x25fbe6;},ei=(_0x537c84,_0x4349b2)=>(_0x5121ee,_0x220ac3)=>_0x4349b2(_0x5121ee,_0x220ac3,_0x537c84);const Gr=_0x29ff00(0x58c);exports[_0x29ff00(0x2bd)]=class{constructor(_0xf6e853,_0x22d309){const _0x3bd8dc=_0x29ff00;this['_configService']=_0xf6e853,this[_0x3bd8dc(0x539)]=_0x22d309;}[_0x29ff00(0x523)](){const _0x60adfa=_0x29ff00;var _0x3fc102,_0x4879a1;const _0x5ee54e=this[_0x60adfa(0x4ea)]['getConfig'](Ut),_0xb5368e=this['_configService'][_0x60adfa(0x1ea)](Q);return(_0x4879a1=(_0x3fc102=_0xb5368e==null?void 0x0:_0xb5368e[_0x60adfa(0x51f)])!=null?_0x3fc102:_0x5ee54e)!=null?_0x4879a1:Gr;}async[_0x29ff00(0x536)](_0x3c18cc){const _0x5bcf06=_0x29ff00,_0x4c6f1f=this[_0x5bcf06(0x523)]()+_0x5bcf06(0x555);return{'list':[{'title':_0x5bcf06(0x4f3),'mentions':(await this[_0x5bcf06(0x539)][_0x5bcf06(0x2ef)](_0x4c6f1f,{'params':{'objectID':_0x3c18cc[_0x5bcf06(0x21b)],'unitID':_0x3c18cc[_0x5bcf06(0x21b)]}}))[_0x5bcf06(0x55d)][_0x5bcf06(0x65c)][_0x5bcf06(0x4db)](_0x2abf5b=>({'objectId':_0x2abf5b['id'],'name':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2cd)],'metadata':{'icon':_0x2abf5b[_0x5bcf06(0x1bf)][_0x5bcf06(0x2d2)]},'label':_0x2abf5b['subject']['name'],'objectType':a['MentionType'][_0x5bcf06(0x61b)]})),'metadata':{},'type':a['MentionType'][_0x5bcf06(0x61b)]}]};}},exports[_0x29ff00(0x2bd)]=Vr([ei(0x0,a[_0x29ff00(0x493)](a[_0x29ff00(0x64d)])),ei(0x1,a['Inject'](z[_0x29ff00(0x1be)]))],exports[_0x29ff00(0x2bd)]);var Yr=Object[_0x29ff00(0x64a)],Kr=Object[_0x29ff00(0x316)],qr=(_0x42d5a4,_0x3eebc0,_0x35e8e2,_0x4a80c2)=>{const _0x522e13=_0x29ff00;for(var _0x39215c=_0x4a80c2>0x1?void 0x0:_0x4a80c2?Kr(_0x3eebc0,_0x35e8e2):_0x3eebc0,_0x5d3fd7=_0x42d5a4[_0x522e13(0x5e7)]-0x1,_0x37636a;_0x5d3fd7>=0x0;_0x5d3fd7--)(_0x37636a=_0x42d5a4[_0x5d3fd7])&&(_0x39215c=(_0x4a80c2?_0x37636a(_0x3eebc0,_0x35e8e2,_0x39215c):_0x37636a(_0x39215c))||_0x39215c);return _0x4a80c2&&_0x39215c&&Yr(_0x3eebc0,_0x35e8e2,_0x39215c),_0x39215c;},Ae=(_0x2e715c,_0x2b113d)=>(_0xfb8777,_0x298eaf)=>_0x2b113d(_0xfb8777,_0x298eaf,_0x2e715c);let qe=class extends a['RxDisposable']{constructor(_0xdf4b11,_0x376b4b,_0x853491,_0x3c567f,_0x194a84){const _0x38b006=_0x29ff00;super(),this['_injector']=_0xdf4b11,this['_univerInstanceService']=_0x376b4b,this[_0x38b006(0x590)]=_0x853491,this['_collaborationSessionService']=_0x3c567f,this[_0x38b006(0x20f)]=_0x194a84,this[_0x38b006(0x561)](),this[_0x38b006(0x250)]();}[_0x29ff00(0x250)](){const _0x87cc71=_0x29ff00,_0x4f6952=async _0x19027d=>{const _0x203a31=_0x2f26;(await this[_0x203a31(0x1eb)][_0x203a31(0x429)](_0x19027d))['event$'][_0x203a31(0x619)](V[_0x203a31(0x604)](_0x1fd8a4=>_0x1fd8a4[_0x203a31(0x55b)]===p[_0x203a31(0x259)][_0x203a31(0x44d)]),V[_0x203a31(0x264)](this[_0x203a31(0x2b6)]))[_0x203a31(0x58f)](_0x365975=>{const _0x44407b=_0x203a31,_0x4f5e66=_0x365975,{reason:_0x304eaf}=_0x4f5e66[_0x44407b(0x3eb)];this[_0x44407b(0x1c1)]['get'](te[_0x44407b(0x47f)])[_0x44407b(0x318)]({'type':Ce[_0x44407b(0x506)][_0x44407b(0x341)],'content':this[_0x44407b(0x20f)]['t'](_0x44407b(0x271))+'('+_0x304eaf+')'}),this[_0x44407b(0x590)]['updatePermissionPoint'](new k['WorkbookEditablePermission'](_0x19027d)['id'],!0x1),this['_collaborationSessionService'][_0x44407b(0x452)](_0x19027d);});};A['merge'](this[_0x87cc71(0x600)][_0x87cc71(0x460)](a[_0x87cc71(0x5ce)][_0x87cc71(0x3d0)]),this[_0x87cc71(0x600)][_0x87cc71(0x460)](a['UniverInstanceType'][_0x87cc71(0x4f0)]))[_0x87cc71(0x619)](V[_0x87cc71(0x4db)](_0x2ffa6d=>_0x2ffa6d[_0x87cc71(0x621)]()),V[_0x87cc71(0x604)](_0x17ddb8=>!a[_0x87cc71(0x1f4)](_0x17ddb8)),V['takeUntil'](this[_0x87cc71(0x2b6)]))[_0x87cc71(0x58f)](_0x42cfbd=>{_0x4f6952(_0x42cfbd);});}[_0x29ff00(0x561)](){const _0x5ceb47=_0x29ff00,_0x383501=async _0x4d22fa=>{const _0x22fea7=_0x2f26;(await this[_0x22fea7(0x1eb)]['requireSession'](_0x4d22fa))[_0x22fea7(0x48a)][_0x22fea7(0x619)](V[_0x22fea7(0x604)](_0x2efb67=>_0x2efb67['eventID']===p['CollaborationEvent'][_0x22fea7(0x410)]),V[_0x22fea7(0x264)](this[_0x22fea7(0x2b6)]))['subscribe'](_0x599d6e=>{const _0xb6c71e=_0x22fea7,_0x30e274=_0x599d6e,{objectId:_0xf17e9d}=_0x30e274[_0xb6c71e(0x3eb)],_0x4ac9ae=this['_injector'][_0xb6c71e(0x2ef)](ye[_0xb6c71e(0x3ae)]);_0xf17e9d===_0x4d22fa?_0x4ac9ae[_0xb6c71e(0x58e)](_0x4d22fa):_0x4ac9ae['refreshPermission'](_0x4d22fa,_0xf17e9d);});};A[_0x5ceb47(0x5ed)](this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)][_0x5ceb47(0x3d0)]),this[_0x5ceb47(0x600)][_0x5ceb47(0x460)](a[_0x5ceb47(0x5ce)]['UNIVER_DOC']))[_0x5ceb47(0x619)](V[_0x5ceb47(0x4db)](_0x5f215b=>_0x5f215b[_0x5ceb47(0x621)]()),V['filter'](_0x1d7f78=>!a[_0x5ceb47(0x1f4)](_0x1d7f78)),V['takeUntil'](this[_0x5ceb47(0x2b6)]))[_0x5ceb47(0x58f)](_0x576e2d=>{_0x383501(_0x576e2d);});}};qe=qr([Ae(0x0,a[_0x29ff00(0x493)](a['Injector'])),Ae(0x1,a[_0x29ff00(0x37f)]),Ae(0x2,a[_0x29ff00(0x3d1)]),Ae(0x3,a['Inject'](exports[_0x29ff00(0x5ea)])),Ae(0x4,a['Inject'](a[_0x29ff00(0x430)]))],qe);var zr=Object[_0x29ff00(0x64a)],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x2d0db1,_0x195147,_0x23b156,_0x9de0e7)=>{const _0xb7c002=_0x29ff00;for(var _0x405747=_0x9de0e7>0x1?void 0x0:_0x9de0e7?Xr(_0x195147,_0x23b156):_0x195147,_0x59aac6=_0x2d0db1[_0xb7c002(0x5e7)]-0x1,_0x288dfd;_0x59aac6>=0x0;_0x59aac6--)(_0x288dfd=_0x2d0db1[_0x59aac6])&&(_0x405747=(_0x9de0e7?_0x288dfd(_0x195147,_0x23b156,_0x405747):_0x288dfd(_0x405747))||_0x405747);return _0x9de0e7&&_0x405747&&zr(_0x195147,_0x23b156,_0x405747),_0x405747;},ti=(_0xad5a9f,_0x2ebe66)=>(_0x4b0cab,_0x926fba)=>_0x2ebe66(_0x4b0cab,_0x926fba,_0xad5a9f);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3dba19,_0x4681c7){const _0xc41ff1=_0x29ff00;this[_0xc41ff1(0x4ea)]=_0x3dba19,this[_0xc41ff1(0x620)]=_0x4681c7;}async[_0x29ff00(0x1ca)](_0x228661,_0x110178){const _0x2bdaed=_0x29ff00;var _0x2a2df4;const {unitID:_0x502e3e,type:_0x326a1b,revision:_0x360c91=0x0}=_0x110178,_0x22d945=this['_getSnapshotAPIPrefix']()+'/'+_0x326a1b+_0x2bdaed(0x440)+_0x502e3e+_0x2bdaed(0x2dd)+_0x360c91,_0x11e9d1=(await this[_0x2bdaed(0x620)]['get'](_0x22d945))['body'],_0x5e9f56=(_0x2a2df4=_0x11e9d1[_0x2bdaed(0x1c7)])==null?void 0x0:_0x2a2df4[_0x2bdaed(0x3d6)];if(_0x5e9f56){const _0x4b8d23=_0x5e9f56==null?void 0x0:_0x5e9f56[_0x2bdaed(0x5d3)],_0x5b77e2=p['textEncoder'][_0x2bdaed(0x597)](p['b64DecodeUnicode'](_0x4b8d23));_0x5e9f56['originalMeta']=_0x5b77e2,Object[_0x2bdaed(0x432)](_0x5e9f56[_0x2bdaed(0x317)])['forEach'](([,_0x4c52de])=>{const _0xba1446=_0x2bdaed,_0x2c47bd=_0x4c52de[_0xba1446(0x5d3)],_0x1f95fa=p['textEncoder'][_0xba1446(0x597)](p[_0xba1446(0x2fd)](_0x2c47bd));_0x4c52de[_0xba1446(0x5d3)]=_0x1f95fa;});}return _0x11e9d1;}async[_0x29ff00(0x37c)](_0x44b3fe,_0x5bcb42){const _0x10148b=_0x29ff00,{unitID:_0x3feed1,type:_0xda1f84,blockID:_0x4a7a34}=_0x5bcb42,_0x13d40a=this[_0x10148b(0x23e)]()+'/'+_0xda1f84+_0x10148b(0x440)+_0x3feed1+'/block/'+_0x4a7a34;return(await this[_0x10148b(0x620)][_0x10148b(0x2ef)](_0x13d40a))[_0x10148b(0x55d)];}async[_0x29ff00(0x3a0)](_0x2cc727,_0x42144a){const _0x441829=_0x29ff00,{unitID:_0xf9e68,type:_0x38dffa,blockID:_0x16e1bc}=_0x42144a,_0x450ea0=this[_0x441829(0x23e)]()+_0x441829(0x3af)+_0x38dffa+'/unit/'+_0xf9e68+'/block/'+_0x16e1bc;return(await this[_0x441829(0x620)]['get'](_0x450ea0))[_0x441829(0x55d)];}async['fetchMissingChangesets'](_0x478726,_0x8d74ab){const _0x50d409=_0x29ff00,{unitID:_0x59c713,type:_0x47ab8a,from:_0x13c9a4,to:_0x396a63}=_0x8d74ab,_0x11c988=this[_0x50d409(0x23e)]()+'/'+_0x47ab8a+_0x50d409(0x440)+_0x59c713+_0x50d409(0x397)+_0x13c9a4+_0x50d409(0x2b0)+_0x396a63;return(await this[_0x50d409(0x620)]['get'](_0x11c988))[_0x50d409(0x55d)];}[_0x29ff00(0x583)](){const _0x53ed81=_0x29ff00;var _0x1b2613;return(_0x1b2613=this['_configService'][_0x53ed81(0x1ea)](ni))!=null?_0x1b2613:this[_0x53ed81(0x23e)]();}[_0x29ff00(0x23e)](){const _0x3210cf=_0x29ff00;var _0x169ad0,_0x49344a;const _0x256bcf=this[_0x3210cf(0x4ea)][_0x3210cf(0x1ea)](ii),_0x106de9=this['_configService'][_0x3210cf(0x1ea)](Q);return(_0x49344a=(_0x169ad0=_0x106de9==null?void 0x0:_0x106de9[_0x3210cf(0x346)])!=null?_0x169ad0:_0x256bcf)!=null?_0x49344a:ki;}async['getResourcesRequest'](_0x5f2091,_0x9b1d96){const _0x36af8f=_0x29ff00,_0x306535=_0x36af8f(0x1e7)+_0x9b1d96[_0x36af8f(0x2eb)]+'/unit/'+_0x9b1d96[_0x36af8f(0x553)]+'/resources';return(await this[_0x36af8f(0x620)][_0x36af8f(0x2ef)](_0x306535,{'params':{'resourceId':JSON[_0x36af8f(0x65e)](_0x9b1d96[_0x36af8f(0x431)])}}))[_0x36af8f(0x55d)];}[_0x29ff00(0x52e)](){const _0x29ff72=_0x29ff00;throw new Error(_0x29ff72(0x49a));}['saveSheetBlock'](){const _0x2c3049=_0x29ff00;throw new Error(_0x2c3049(0x49a));}[_0x29ff00(0x26e)](){const _0x4e7493=_0x29ff00;throw new Error(_0x4e7493(0x49a));}[_0x29ff00(0x2c3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x47a3a3=_0x29ff00;throw new Error(_0x47a3a3(0x49a));}},exports[_0x29ff00(0x41c)]=Jr([ti(0x0,a['IConfigService']),ti(0x1,a[_0x29ff00(0x493)](z['HTTPService']))],exports[_0x29ff00(0x41c)]);var Zr=Object[_0x29ff00(0x64a)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x5c4b92,_0x45d5da,_0x4593f0,_0x3021bc)=>{for(var _0x2462fa=_0x3021bc>0x1?void 0x0:_0x3021bc?Qr(_0x45d5da,_0x4593f0):_0x45d5da,_0x2346d0=_0x5c4b92['length']-0x1,_0x57bd9e;_0x2346d0>=0x0;_0x2346d0--)(_0x57bd9e=_0x5c4b92[_0x2346d0])&&(_0x2462fa=(_0x3021bc?_0x57bd9e(_0x45d5da,_0x4593f0,_0x2462fa):_0x57bd9e(_0x2462fa))||_0x2462fa);return _0x3021bc&&_0x2462fa&&Zr(_0x45d5da,_0x4593f0,_0x2462fa),_0x2462fa;},Ne=(_0x3b0799,_0x2e0374)=>(_0x3d6b64,_0x25bbee)=>_0x2e0374(_0x3d6b64,_0x25bbee,_0x3b0799);let Ct=class extends a[_0x29ff00(0x2d8)]{constructor(_0x4e8990,_0x50d33d,_0xedd959,_0x4a9312,_0x25b599){const _0xb8b45c=_0x29ff00;super(_0x4e8990,_0x50d33d,_0xedd959),this['_transformService']=_0x4a9312,this[_0xb8b45c(0x328)]=_0x25b599;}[_0x29ff00(0x2a1)](_0x211a4a,_0x51119b){const _0x226465=_0x29ff00,_0x16b16f=this['_getUndoStack'](_0x211a4a);if(_0x16b16f)try{const _0x4bc245=this[_0x226465(0x537)](_0x16b16f,_0x51119b);this[_0x226465(0x543)](_0x211a4a,_0x4bc245);}catch(_0x589fe9){this[_0x226465(0x328)][_0x226465(0x27a)]('[CollaborationUndoRedoService]',_0x589fe9),this[_0x226465(0x40e)](_0x211a4a);}const _0x4fddb9=this['_getRedoStack'](_0x211a4a);if(_0x4fddb9)try{const _0x1a6132=this['_transformStack'](_0x4fddb9,_0x51119b);this['_substituteRedoStack'](_0x211a4a,_0x1a6132);}catch(_0x19e25d){this[_0x226465(0x328)][_0x226465(0x27a)](_0x19e25d),this[_0x226465(0x4ef)](_0x211a4a);}}['_clearUndo'](_0x2cd38f){const _0x408546=_0x29ff00,_0x4c7e5e=this[_0x408546(0x49b)](_0x2cd38f);_0x4c7e5e&&(_0x4c7e5e['length']=0x0,this[_0x408546(0x4f8)]());}['_clearRedo'](_0x5b5867){const _0x328f1c=_0x29ff00,_0x2bd96c=this[_0x328f1c(0x568)](_0x5b5867);_0x2bd96c&&(_0x2bd96c[_0x328f1c(0x5e7)]=0x0,this[_0x328f1c(0x4f8)]());}[_0x29ff00(0x543)](_0x37485c,_0x21647b){const _0x317c06=_0x29ff00;this[_0x317c06(0x522)][_0x317c06(0x20a)](_0x37485c,_0x21647b),this[_0x317c06(0x4f8)]();}[_0x29ff00(0x1d1)](_0x29eaea,_0x190e20){const _0x8bb57f=_0x29ff00;this[_0x8bb57f(0x48b)][_0x8bb57f(0x20a)](_0x29eaea,_0x190e20),this[_0x8bb57f(0x4f8)]();}['_transformStack'](_0x349a8a,_0x364b13){const _0x216f67=_0x29ff00,_0x2ebc61=[];let _0x146e6d=_0x364b13,_0x3ba12b=_0x364b13;for(let _0x587d37=_0x349a8a[_0x216f67(0x5e7)]-0x1;_0x587d37>=0x0;_0x587d37--){const {unitID:_0x4cd42a,undoMutations:_0x6688d4,redoMutations:_0x2a8b9e}=_0x349a8a[_0x587d37],_0x3cdb88=this[_0x216f67(0x449)]['transformMutationsWithChangeset'](_0x146e6d,_0x6688d4),_0x56aea6=this[_0x216f67(0x449)][_0x216f67(0x268)](_0x3ba12b,_0x2a8b9e);if(p[_0x216f67(0x1fa)](_0x3cdb88)||p[_0x216f67(0x1fa)](_0x56aea6)){this[_0x216f67(0x328)][_0x216f67(0x27a)](_0x216f67(0x31f),_0x216f67(0x45a),_0x3cdb88,_0x56aea6);break;}_0x146e6d=_0x3cdb88[_0x216f67(0x315)],_0x3ba12b=_0x56aea6[_0x216f67(0x315)],_0x2ebc61[_0x216f67(0x3bc)]({'unitID':_0x4cd42a,'undoMutations':_0x3cdb88[_0x216f67(0x239)],'redoMutations':_0x56aea6[_0x216f67(0x239)]});}return _0x2ebc61[_0x216f67(0x4e5)]();}};Ct=eo([Ne(0x0,a['IUniverInstanceService']),Ne(0x1,a[_0x29ff00(0x587)]),Ne(0x2,a[_0x29ff00(0x398)]),Ne(0x3,p[_0x29ff00(0x38f)]),Ne(0x4,a[_0x29ff00(0x4ac)])],Ct);class Li extends a[_0x29ff00(0x4b0)]{constructor(){const _0x2a08d3=_0x29ff00;super(),I(this,'urlChange$'),this['urlChange$']=A[_0x2a08d3(0x61c)](window,'popstate')[_0x2a08d3(0x619)](A[_0x2a08d3(0x264)](this[_0x2a08d3(0x2b6)]),A['shareReplay'](0x1),A[_0x2a08d3(0x2e1)](void 0x0));}[_0x29ff00(0x4c7)](_0x2fe037,_0xb68fd3,_0x279445=!0x1){const _0x3c2d57=_0x29ff00,_0x15f2d7=new URL(window[_0x3c2d57(0x60d)][_0x3c2d57(0x244)]);_0x15f2d7[_0x3c2d57(0x570)][_0x3c2d57(0x20a)](_0x2fe037,_0xb68fd3),_0x279445?window[_0x3c2d57(0x424)][_0x3c2d57(0x472)]('','',_0x15f2d7[_0x3c2d57(0x3ef)]()):window[_0x3c2d57(0x424)]['pushState']('','',_0x15f2d7['toString']());}['removeParam'](_0x150ae3,_0x286dd7=!0x1){const _0x48308a=_0x29ff00,_0x39c83b=new URL(window[_0x48308a(0x60d)][_0x48308a(0x244)]);_0x39c83b[_0x48308a(0x570)][_0x48308a(0x3dc)](_0x150ae3),_0x286dd7?window[_0x48308a(0x424)][_0x48308a(0x472)]('','',_0x39c83b[_0x48308a(0x3ef)]()):window[_0x48308a(0x424)][_0x48308a(0x336)]('','',_0x39c83b['toString']());}['getParam'](_0x274bfc){const _0xd22426=_0x29ff00;var _0x2c8634;return(_0x2c8634=new URL(window[_0xd22426(0x60d)][_0xd22426(0x244)])[_0xd22426(0x570)][_0xd22426(0x2ef)](_0x274bfc))!=null?_0x2c8634:void 0x0;}}var xi=Object['defineProperty'],to=Object[_0x29ff00(0x316)],io=(_0x3685a3,_0x56e194,_0x317157)=>_0x56e194 in _0x3685a3?xi(_0x3685a3,_0x56e194,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317157}):_0x3685a3[_0x56e194]=_0x317157,no=(_0x3009f7,_0x2f8a5d,_0x3df48f,_0xb9cbff)=>{const _0x8f15fa=_0x29ff00;for(var _0x2b786b=_0xb9cbff>0x1?void 0x0:_0xb9cbff?to(_0x2f8a5d,_0x3df48f):_0x2f8a5d,_0x218b76=_0x3009f7[_0x8f15fa(0x5e7)]-0x1,_0x2e7493;_0x218b76>=0x0;_0x218b76--)(_0x2e7493=_0x3009f7[_0x218b76])&&(_0x2b786b=(_0xb9cbff?_0x2e7493(_0x2f8a5d,_0x3df48f,_0x2b786b):_0x2e7493(_0x2b786b))||_0x2b786b);return _0xb9cbff&&_0x2b786b&&xi(_0x2f8a5d,_0x3df48f,_0x2b786b),_0x2b786b;},He=(_0x2eafb3,_0x2af8e8)=>(_0x852c0b,_0x1d3d83)=>_0x2af8e8(_0x852c0b,_0x1d3d83,_0x2eafb3),so=(_0x49f3c3,_0x3daad3,_0x2ccc3c)=>io(_0x49f3c3,_0x3daad3+'',_0x2ccc3c);const ro='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x29ff00(0x63a)]=class extends a[_0x29ff00(0x3b7)]{constructor(_0x1d9a43=Zi,_0x11a497,_0x5e636e,_0x2d1d59,_0x1e2e46){const _0x2aefc5=_0x29ff00;super(),this[_0x2aefc5(0x4f5)]=_0x1d9a43,this[_0x2aefc5(0x328)]=_0x11a497,this[_0x2aefc5(0x4bc)]=_0x5e636e,this[_0x2aefc5(0x1c1)]=_0x2d1d59,this['_configService']=_0x1e2e46;const {..._0x2d2b7a}=this[_0x2aefc5(0x4f5)];this['_configService'][_0x2aefc5(0x2f0)](Q,_0x2d2b7a);}[_0x29ff00(0x481)](){const _0x5278ca=_0x29ff00;this['_registerDependencies'](),this[_0x5278ca(0x1d3)]();}['onReady'](){const _0x231975=_0x29ff00;a[_0x231975(0x3b1)](this[_0x231975(0x1c1)],[[Ge],[Ve]]);}[_0x29ff00(0x280)](){const _0x3105eb=_0x29ff00;this[_0x3105eb(0x50f)]();}[_0x29ff00(0x382)](){const _0x37aa0e=_0x29ff00;var _0x7114b3,_0x1c43ba,_0x580a89,_0x2f5234;this[_0x37aa0e(0x1c1)][_0x37aa0e(0x38d)](a[_0x37aa0e(0x325)])&&this[_0x37aa0e(0x328)][_0x37aa0e(0x27a)](_0x37aa0e(0x533),_0x37aa0e(0x59c));const _0x2eedbc=[[a[_0x37aa0e(0x325)],{'useClass':Ct}],[exports[_0x37aa0e(0x5ea)]],[Dt],[wt,{'useClass':Li}],[exports[_0x37aa0e(0x1d6)]],[exports[_0x37aa0e(0x46a)]],[z[_0x37aa0e(0x287)]],[ke],[Fe],[Be],[We],[yt],[Ye],[Ke],[Rt],[qe],[Tt,{'useClass':(_0x1c43ba=(_0x7114b3=this['_config'])==null?void 0x0:_0x7114b3[_0x37aa0e(0x678)])!=null?_0x1c43ba:exports[_0x37aa0e(0x374)]}],[p[_0x37aa0e(0x426)],{'useClass':exports[_0x37aa0e(0x41c)]}],[a[_0x37aa0e(0x605)],{'useClass':exports['AuthzIoHttpService']}],[ie['IImageIoService'],{'useClass':exports['ImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x37aa0e(0x2bd)]}],[exports[_0x37aa0e(0x323)]],[exports[_0x37aa0e(0x61f)]],[exports[_0x37aa0e(0x4b2)]],[Ge],[De],[Ve]];(_0x580a89=this[_0x37aa0e(0x4f5)])!=null&&_0x580a89[_0x37aa0e(0x37a)]&&_0x2eedbc[_0x37aa0e(0x3bc)]([ze,{'useClass':Un}]),a['registerDependencies'](this[_0x37aa0e(0x1c1)],a['mergeOverrideWithDependencies'](_0x2eedbc,(_0x2f5234=this['_config'])==null?void 0x0:_0x2f5234[_0x37aa0e(0x4f9)]));}[_0x29ff00(0x50f)](){const _0x332e13=_0x29ff00;this['disposeWithMe'](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)]['UNIVER_DOC'],[gt])),this[_0x332e13(0x665)](this[_0x332e13(0x4bc)][_0x332e13(0x3ea)](a[_0x332e13(0x5ce)][_0x332e13(0x3d0)],[It]));}[_0x29ff00(0x1d3)](){const _0x59ab9d=_0x29ff00;var _0x4a0a1b,_0x58c34a;this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](z[_0x59ab9d(0x1be)])[_0x59ab9d(0x595)]({'priority':0x14,'interceptor':z[_0x59ab9d(0x4c9)]({'maxParallel':0x6})}),(_0x4a0a1b=this['_config'])!=null&&_0x4a0a1b[_0x59ab9d(0x482)]||this[_0x59ab9d(0x1c1)][_0x59ab9d(0x2ef)](exports[_0x59ab9d(0x46a)])['disableLocalCache'](),(_0x58c34a=this[_0x59ab9d(0x4f5)])!=null&&_0x58c34a[_0x59ab9d(0x594)]&&a[_0x59ab9d(0x3b1)](this[_0x59ab9d(0x1c1)],[[Ye]]),a[_0x59ab9d(0x3b1)](this['_injector'],[[Ke],[De],[exports['DataLoaderController']],[exports[_0x59ab9d(0x323)]],[exports[_0x59ab9d(0x4b2)]],[qe]]);}},so(exports['UniverCollaborationClientPlugin'],_0x29ff00(0x510),ro),exports[_0x29ff00(0x63a)]=no([a[_0x29ff00(0x569)](p[_0x29ff00(0x636)],z[_0x29ff00(0x2cc)]),He(0x1,a[_0x29ff00(0x4ac)]),He(0x2,K[_0x29ff00(0x5b7)]),He(0x3,a['Inject'](a[_0x29ff00(0x615)])),He(0x4,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x29ff00(0x5f1)]=Ut,exports[_0x29ff00(0x218)]=Q,exports[_0x29ff00(0x1dd)]=li,exports[_0x29ff00(0x477)]=si,exports['CollaborationStatus']=q,exports[_0x29ff00(0x417)]=Oi,exports[_0x29ff00(0x30a)]=Rt,exports[_0x29ff00(0x1f9)]=ri,exports[_0x29ff00(0x473)]=Et,exports['ICollaborationSocketService']=Tt,exports['IURLService']=wt,exports[_0x29ff00(0x39b)]=ci,exports[_0x29ff00(0x5e1)]=hi,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ai,exports[_0x29ff00(0x45b)]=Wi,exports[_0x29ff00(0x3fd)]=ii,exports[_0x29ff00(0x238)]=ni,exports[_0x29ff00(0x240)]=se,exports[_0x29ff00(0x5c9)]=Ii,exports[_0x29ff00(0x565)]=Li,exports[_0x29ff00(0x66e)]=di,exports['serializeCombRequest']=fi;
1
+ 'use strict';const _0x24e421=_0x5e3c;(function(_0x20c7eb,_0x31a023){const _0x40c2a2=_0x5e3c,_0x48bb02=_0x20c7eb();while(!![]){try{const _0x463fc1=parseInt(_0x40c2a2(0x684))/0x1+parseInt(_0x40c2a2(0x280))/0x2+parseInt(_0x40c2a2(0x2aa))/0x3*(parseInt(_0x40c2a2(0x4eb))/0x4)+-parseInt(_0x40c2a2(0x57e))/0x5+parseInt(_0x40c2a2(0x4d6))/0x6*(-parseInt(_0x40c2a2(0x3f3))/0x7)+-parseInt(_0x40c2a2(0x61a))/0x8*(parseInt(_0x40c2a2(0x4c3))/0x9)+parseInt(_0x40c2a2(0x56e))/0xa*(parseInt(_0x40c2a2(0x20a))/0xb);if(_0x463fc1===_0x31a023)break;else _0x48bb02['push'](_0x48bb02['shift']());}catch(_0x2c6e3f){_0x48bb02['push'](_0x48bb02['shift']());}}}(_0x13dd,0x2fc60));var Fi=Object['defineProperty'],Vi=(_0xb6a5f2,_0x2da7a8,_0x120643)=>_0x2da7a8 in _0xb6a5f2?Fi(_0xb6a5f2,_0x2da7a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x120643}):_0xb6a5f2[_0x2da7a8]=_0x120643,I=(_0x446196,_0x3168ce,_0x3c534e)=>Vi(_0x446196,typeof _0x3168ce!='symbol'?_0x3168ce+'':_0x3168ce,_0x3c534e);Object[_0x24e421(0x5bd)](exports,Symbol[_0x24e421(0x4cd)],{'value':'Module'});const a=require(_0x24e421(0x352)),N=require('rxjs'),V=require(_0x24e421(0x5e3)),Ce=require(_0x24e421(0x2c9)),z=require(_0x24e421(0x3b9)),ee=require('@univerjs/ui'),m=require(_0x24e421(0x53d)),Gi=require('@univerjs/telemetry'),Ie=require(_0x24e421(0x237)),J=require(_0x24e421(0x675)),k=require('@univerjs/sheets'),Y=require(_0x24e421(0x32a)),te=require('@univerjs/drawing'),$t=require(_0x24e421(0x2dd)),Le=require('@univerjs/sheets-ui'),oe=require(_0x24e421(0x4b4)),Yi=require(_0x24e421(0x2cc)),fi=_0x24e421(0x3ca),qi=_0x24e421(0x42d),vi='SNAPSHOT_URL_KEY',Ki=_0x24e421(0x25c),zi=0x7d0,Si=_0x24e421(0x320),Xi=_0x24e421(0x454),Ji='/universer-api/user/session-ticket',pi=_0x24e421(0x339),Zi=0x7530,Dt='HEARTBEAT_TIMEOUT',mi=0x4e20,Qi=0x4e20,gi=_0x24e421(0x28f),en=0x3,Ii=_0x24e421(0x41f),tn=0x3e8,Ci=_0x24e421(0x2dc),nn=_0x24e421(0x2ca),Ei='LOGIN_URL_KEY',rn=_0x24e421(0x24f);var bi=(_0x33a34d=>(_0x33a34d[_0x33a34d['UNDEFINED']=0x0]=_0x24e421(0x1c2),_0x33a34d[_0x33a34d['OK']=0x1]='OK',_0x33a34d[_0x33a34d[_0x24e421(0x4b6)]=0x2]=_0x24e421(0x4b6),_0x33a34d[_0x33a34d[_0x24e421(0x4bd)]=0x3]='PERMISSION_DENIED',_0x33a34d[_0x33a34d[_0x24e421(0x30b)]=0x4]='NOT_FOUND',_0x33a34d[_0x33a34d['UNAUTHENTICATED']=0x5]=_0x24e421(0x4a3),_0x33a34d[_0x33a34d[_0x24e421(0x685)]=0x6]=_0x24e421(0x685),_0x33a34d[_0x33a34d[_0x24e421(0x43b)]=0x7]=_0x24e421(0x43b),_0x33a34d[_0x33a34d[_0x24e421(0x4bb)]=0x8]=_0x24e421(0x4bb),_0x33a34d[_0x33a34d['COMPLETION_FINISHED']=0x9]=_0x24e421(0x3eb),_0x33a34d[_0x33a34d[_0x24e421(0x4a2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x33a34d[_0x33a34d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x24e421(0x3f4),_0x33a34d[_0x33a34d[_0x24e421(0x43c)]=0x1772]=_0x24e421(0x43c),_0x33a34d[_0x33a34d[_0x24e421(0x1fc)]=0x1773]=_0x24e421(0x1fc),_0x33a34d[_0x33a34d[_0x24e421(0x30c)]=0x1b59]=_0x24e421(0x30c),_0x33a34d[_0x33a34d[_0x24e421(0x486)]=0x1b5a]=_0x24e421(0x486),_0x33a34d[_0x33a34d[_0x24e421(0x47e)]=0x1b5b]=_0x24e421(0x47e),_0x33a34d[_0x33a34d['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33a34d[_0x33a34d[_0x24e421(0x296)]=0x1b5d]='APPLY_DUPLICATED',_0x33a34d[_0x33a34d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x24e421(0x59d),_0x33a34d[_0x33a34d[_0x24e421(0x348)]=0x2329]=_0x24e421(0x348),_0x33a34d[_0x33a34d[_0x24e421(0x5c3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x33a34d[_0x33a34d[_0x24e421(0x2c6)]=0x232b]=_0x24e421(0x2c6),_0x33a34d[_0x33a34d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x33a34d[_0x33a34d[_0x24e421(0x5da)]=0x232d]=_0x24e421(0x5da),_0x33a34d[_0x33a34d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x24e421(0x4ed),_0x33a34d[_0x33a34d[_0x24e421(0x2c2)]=0x2712]=_0x24e421(0x2c2),_0x33a34d[_0x33a34d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x24e421(0x5ee),_0x33a34d[_0x33a34d[_0x24e421(0x32d)]=0x2714]=_0x24e421(0x32d),_0x33a34d[_0x33a34d[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x33a34d))(bi||{}),ie=(_0x17abce=>(_0x17abce[_0x17abce[_0x24e421(0x345)]=0x0]='UNIVER_UNKNOWN',_0x17abce[_0x17abce[_0x24e421(0x5b6)]=0x1]=_0x24e421(0x5b6),_0x17abce[_0x17abce[_0x24e421(0x4d1)]=0x2]=_0x24e421(0x4d1),_0x17abce[_0x17abce['UNIVER_SLIDE']=0x3]=_0x24e421(0x472),_0x17abce[_0x17abce['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x17abce[_0x17abce[_0x24e421(0x360)]=-0x1]='UNRECOGNIZED',_0x17abce))(ie||{}),G=(_0x27259e=>(_0x27259e[_0x27259e[_0x24e421(0x1e4)]=0x0]=_0x24e421(0x1e4),_0x27259e[_0x27259e[_0x24e421(0x1bd)]=0x1]=_0x24e421(0x1bd),_0x27259e[_0x27259e[_0x24e421(0x4fc)]=0x2]=_0x24e421(0x4fc),_0x27259e[_0x27259e[_0x24e421(0x47a)]=0x3]=_0x24e421(0x47a),_0x27259e[_0x27259e[_0x24e421(0x523)]=0x4]='INGEST',_0x27259e[_0x27259e[_0x24e421(0x536)]=0x5]=_0x24e421(0x536),_0x27259e[_0x27259e[_0x24e421(0x598)]=0x6]=_0x24e421(0x598),_0x27259e[_0x27259e[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x27259e))(G||{}),ge=(_0x265be4=>(_0x265be4[_0x265be4[_0x24e421(0x2a3)]=0x0]='UNKNOWN_CODE',_0x265be4[_0x265be4['OK']=0x1]='OK',_0x265be4[_0x265be4[_0x24e421(0x5f6)]=0x2]=_0x24e421(0x5f6),_0x265be4[_0x265be4['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x265be4[_0x265be4[_0x24e421(0x374)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x265be4[_0x265be4[_0x24e421(0x2b9)]=0x3eb]=_0x24e421(0x2b9),_0x265be4[_0x265be4[_0x24e421(0x612)]=0x3ec]=_0x24e421(0x612),_0x265be4[_0x265be4['UNRECOGNIZED']=-0x1]=_0x24e421(0x360),_0x265be4))(ge||{}),Ti=(_0x5bda89=>(_0x5bda89[_0x5bda89[_0x24e421(0x428)]=0x0]=_0x24e421(0x428),_0x5bda89[_0x5bda89[_0x24e421(0x36c)]=0x1]=_0x24e421(0x36c),_0x5bda89[_0x5bda89[_0x24e421(0x21e)]=0x2]='HttpExport',_0x5bda89[_0x5bda89[_0x24e421(0x21b)]=0x3]=_0x24e421(0x21b),_0x5bda89[_0x5bda89[_0x24e421(0x62d)]=0x4]=_0x24e421(0x62d),_0x5bda89[_0x5bda89[_0x24e421(0x360)]=-0x1]=_0x24e421(0x360),_0x5bda89))(Ti||{});const Z=_0x24e421(0x58e),sn={};function Ri(_0x1998c7){const _0x37f020=_0x24e421;var _0x7bc4f8,_0x4dbe72,_0x4f3307,_0x24dcdf,_0x24c632;const _0x360755=_0x1998c7['data'],_0x2b30c7=JSON[_0x37f020(0x1f0)](_0x360755);switch(_0x2b30c7[_0x37f020(0x33d)]){case G['HEARTBEAT']:case G[_0x37f020(0x1bd)]:{const _0x1e6ea6=_0x2b30c7[_0x37f020(0x4e1)];return{..._0x2b30c7,'data':_0x1e6ea6,'cmd':_0x2b30c7[_0x37f020(0x33d)]};}case G[_0x37f020(0x4fc)]:{const _0x56e077=_0x2b30c7[_0x37f020(0x393)];return{..._0x2b30c7,'data':_0x56e077,'cmd':_0x2b30c7[_0x37f020(0x33d)]};}case G[_0x37f020(0x598)]:{const _0x1bf8d0=_0x2b30c7[_0x37f020(0x66c)];switch(_0x1bf8d0[_0x37f020(0x3c3)]){case m[_0x37f020(0x5b3)][_0x37f020(0x2d4)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x7bc4f8=_0x1bf8d0['permissionRejEvent'])==null?void 0x0:_0x7bc4f8['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x67a)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x4dbe72=_0x1bf8d0[_0x37f020(0x1bc)])==null?void 0x0:_0x4dbe72['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['NEW_CHANGESETS']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x4f3307=_0x1bf8d0['newCsEvent'])==null?void 0x0:_0x4f3307['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x64b)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x24dcdf=_0x1bf8d0['csRejEvent'])==null?void 0x0:_0x24dcdf['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x5b2)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':(_0x24c632=_0x1bf8d0[_0x37f020(0x56f)])==null?void 0x0:_0x24c632['cs']},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x298)]},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)][_0x37f020(0x5a8)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x602)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m['CollaborationEvent'][_0x37f020(0x231)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x61b)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['LIVESHARE_NEW_HOST']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x40f)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x459)]:case m[_0x37f020(0x5b3)][_0x37f020(0x656)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0['liveShareOperation']},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)][_0x37f020(0x2d6)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0['liveShareNewHost']},'cmd':_0x2b30c7['cmd']};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x2b30c7,'data':_0x1bf8d0,'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)]['COMMENT_UPDATE']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x35b)]},'cmd':_0x2b30c7['cmd']};case m[_0x37f020(0x5b3)]['UPDATE_PERMISSION_OBJ']:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x562)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};case m[_0x37f020(0x5b3)][_0x37f020(0x3f7)]:return{..._0x2b30c7,'data':{..._0x1bf8d0,'data':_0x1bf8d0[_0x37f020(0x5a2)]},'cmd':_0x2b30c7[_0x37f020(0x33d)]};default:return _0x2b30c7;}}default:return _0x2b30c7;}}function Oi(_0x31670e){const _0x5dfe36=_0x24e421;switch(_0x31670e['cmd']){case G[_0x5dfe36(0x536)]:case G[_0x5dfe36(0x1bd)]:return JSON[_0x5dfe36(0x3a6)]({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e[_0x5dfe36(0x4a6)]});case G[_0x5dfe36(0x523)]:{let _0x531eda;switch(_0x31670e['data'][_0x5dfe36(0x3c3)]){case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x591)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x591)],'updateCursorEvent':_0x31670e[_0x5dfe36(0x25f)]['data']};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x231)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x231)],'leaveEvent':_0x31670e['data'][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x5a8)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x5a8)],'joinEvent':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x346)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x346)],'liveShareNewHost':_0x31670e['data']['data']};break;}case m['CollaborationEvent'][_0x5dfe36(0x656)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x656)],'liveShareOperation':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x2d6)]:{_0x531eda={'eventID':m['CollaborationEvent'][_0x5dfe36(0x2d6)],'liveShareTerminate':_0x31670e[_0x5dfe36(0x25f)]['data']};break;}case m[_0x5dfe36(0x5b3)][_0x5dfe36(0x3b1)]:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x3b1)],'liveShareRequestHost':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x25f)]};break;}case m[_0x5dfe36(0x5b3)]['LIVESHARE_FETCH_OPERATIONS']:{_0x531eda={'eventID':m[_0x5dfe36(0x5b3)][_0x5dfe36(0x459)]};break;}default:_0x531eda={'eventID':_0x31670e[_0x5dfe36(0x25f)][_0x5dfe36(0x3c3)]};}return JSON[_0x5dfe36(0x3a6)]({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e['routeKey'],'collaMsg':_0x531eda});}case G[_0x5dfe36(0x4fc)]:return JSON['stringify']({'cmd':_0x31670e['cmd'],'routeKey':_0x31670e[_0x5dfe36(0x4a6)],'joinReq':_0x31670e['data']});case G[_0x5dfe36(0x47a)]:return JSON['stringify']({'cmd':_0x31670e[_0x5dfe36(0x33d)],'routeKey':_0x31670e['routeKey'],'leaveReq':_0x31670e['data']});default:throw new Error(_0x5dfe36(0x3a4));}}var on=Object[_0x24e421(0x5bd)],an=Object[_0x24e421(0x221)],cn=(_0xe4eba1,_0x5ba672,_0x51841f,_0x5485d9)=>{const _0x43d023=_0x24e421;for(var _0x35b4ef=_0x5485d9>0x1?void 0x0:_0x5485d9?an(_0x5ba672,_0x51841f):_0x5ba672,_0x3a8ce6=_0xe4eba1[_0x43d023(0x3c9)]-0x1,_0x250555;_0x3a8ce6>=0x0;_0x3a8ce6--)(_0x250555=_0xe4eba1[_0x3a8ce6])&&(_0x35b4ef=(_0x5485d9?_0x250555(_0x5ba672,_0x51841f,_0x35b4ef):_0x250555(_0x35b4ef))||_0x35b4ef);return _0x5485d9&&_0x35b4ef&&on(_0x5ba672,_0x51841f,_0x35b4ef),_0x35b4ef;},De=(_0x22ffff,_0x4d1e91)=>(_0x229ba4,_0x32f87d)=>_0x4d1e91(_0x229ba4,_0x32f87d,_0x22ffff);const Pt=a['createIdentifier'](_0x24e421(0x54e));function ln(_0x195468,_0x22fa94,_0x277701){const _0xafaf72=_0x24e421;return _0x195468+'/'+_0x22fa94+_0xafaf72(0x1f8)+_0x277701+'/new_changes';}exports[_0x24e421(0x4ca)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x7231b7,_0x935e74,_0x29e788,_0x13ead8,_0x83d8c7){const _0x19327e=_0x24e421;super(),this[_0x19327e(0x37d)]=_0x7231b7,this[_0x19327e(0x3ff)]=_0x935e74,this[_0x19327e(0x5c2)]=_0x29e788,this[_0x19327e(0x383)]=_0x13ead8,this[_0x19327e(0x609)]=_0x83d8c7;}[_0x24e421(0x33c)](_0x1101e2){const _0x568030=_0x24e421,_0x459302=this['_ws'][_0x568030(0x33c)](_0x1101e2);if(!_0x459302)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x12290a=new a['DisposableCollection'](),_0x337dd1=new N[(_0x568030(0x5fb))]();_0x12290a['add'](_0x459302[_0x568030(0x35a)][_0x568030(0x4d3)](_0x3c1df8=>_0x337dd1['next'](_0x3c1df8))),_0x12290a['add'](a['toDisposable'](()=>_0x337dd1[_0x568030(0x465)]()));const _0x16071d=new N['Subject']();_0x12290a[_0x568030(0x30a)](_0x459302[_0x568030(0x232)]['subscribe'](_0x4246b7=>_0x16071d['next'](_0x4246b7))),_0x12290a[_0x568030(0x30a)](a[_0x568030(0x2a4)](()=>_0x16071d[_0x568030(0x465)]()));const _0x568c09=new N[(_0x568030(0x5fb))]();_0x12290a[_0x568030(0x30a)](_0x459302[_0x568030(0x38c)][_0x568030(0x4d3)](_0x55be92=>{const _0x514a46=_0x568030,_0x2867b5=Ri(_0x55be92);_0x568c09[_0x514a46(0x65d)](_0x2867b5);})),_0x12290a[_0x568030(0x30a)](a['toDisposable'](()=>_0x568c09[_0x568030(0x465)]()));let _0xab996b;const _0x100f2c=()=>{const _0x335ea1=_0x568030;_0x16071d[_0x335ea1(0x65d)](new Event(_0x335ea1(0x34b))),_0x337dd1['next'](new CloseEvent(_0x335ea1(0x34b))),_0xab996b['close']();};return _0xab996b={'memberID':'','close$':_0x337dd1[_0x568030(0x285)](),'error$':_0x16071d[_0x568030(0x285)](),'open$':_0x459302[_0x568030(0x3d2)],'message$':_0x568c09[_0x568030(0x285)](),'send':_0x593ba0=>{const _0x2fcc7c=_0x568030;if(_0x593ba0[_0x2fcc7c(0x33d)]===G['INGEST']){if(_0x593ba0[_0x2fcc7c(0x25f)]['eventID']===m[_0x2fcc7c(0x5b3)][_0x2fcc7c(0x61f)]){this[_0x2fcc7c(0x1c9)](_0xab996b,_0x593ba0[_0x2fcc7c(0x25f)])[_0x2fcc7c(0x513)](_0x5ea956=>{const _0x41c442=_0x2fcc7c;this[_0x41c442(0x383)][_0x41c442(0x49e)](_0x5ea956),_0x100f2c();});return;}if(_0x593ba0[_0x2fcc7c(0x25f)][_0x2fcc7c(0x3c3)]===m[_0x2fcc7c(0x5b3)][_0x2fcc7c(0x48c)]){const _0x52bf6e=_0x593ba0[_0x2fcc7c(0x25f)];this['_fetchMissChangesets'](_0x52bf6e)[_0x2fcc7c(0x57d)](_0x271e9=>{const _0x27cd64=_0x2fcc7c;_0x568c09[_0x27cd64(0x65d)]({'cmd':G[_0x27cd64(0x598)],'code':ge['OK'],'routeKey':_0x52bf6e[_0x27cd64(0x25f)][_0x27cd64(0x1cb)],'routeType':'','data':{'eventID':m[_0x27cd64(0x5b3)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x271e9}}});})[_0x2fcc7c(0x513)](_0x961272=>{this['_logService']['error'](_0x961272),_0x100f2c();});return;}}_0x459302[_0x2fcc7c(0x325)](Oi(_0x593ba0));},'close':()=>{const _0x5eb388=_0x568030;_0x459302[_0x5eb388(0x394)](),_0x12290a[_0x5eb388(0x4cc)]();}},_0xab996b;}async['_submitChangeset'](_0x493c7e,_0xccd596){const _0x208761=_0x24e421;var _0x5b2452,_0x2e4461;const {unitType:_0x13f829,unitID:_0x3aa848,changeset:_0x445ef1}=_0xccd596['data'],_0x1bc892={'unitID':_0x3aa848,'memberID':_0x493c7e[_0x208761(0x1ef)],'type':_0x13f829,'changeset':m['parseChangesetToProtocol'](_0x445ef1)},_0x37cdad=this['_configService'][_0x208761(0x447)](Ci),_0x471f82=this[_0x208761(0x5c2)][_0x208761(0x447)](Z),_0x3a3eb0=ln((_0x2e4461=(_0x5b2452=_0x471f82==null?void 0x0:_0x471f82[_0x208761(0x4c1)])!=null?_0x5b2452:_0x37cdad)!=null?_0x2e4461:nn,_0x13f829,_0x3aa848);try{await this[_0x208761(0x37d)]['post'](_0x3a3eb0,{'body':_0x1bc892});}catch(_0x3d20b1){throw this[_0x208761(0x383)]['error'](_0x208761(0x1d6),'submit\x20changeset\x20error!'),_0x3d20b1;}}async['_fetchMissChangesets'](_0x1a22e9){const _0x4797da=_0x24e421,{unitID:_0xb5f373,from:_0x35fe43,to:_0x273c16,unitType:_0xeaa832}=_0x1a22e9[_0x4797da(0x25f)];return(await this[_0x4797da(0x609)][_0x4797da(0x453)]({'metadata':void 0x0},{'unitID':_0xb5f373,'type':_0xeaa832,'from':_0x35fe43,'to':_0x273c16}))[_0x4797da(0x33b)];}},exports['CollaborationSocketService']=cn([De(0x0,a[_0x24e421(0x52f)](z[_0x24e421(0x567)])),De(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x31a)])),De(0x2,a[_0x24e421(0x3ba)]),De(0x3,a['ILogService']),De(0x4,m[_0x24e421(0x36e)])],exports[_0x24e421(0x4ca)]);const hn=_0x24e421(0x39f);function _n(_0x60ad05){const _0x374aa8=_0x24e421;return JSON[_0x374aa8(0x3a6)](_0x60ad05)[_0x374aa8(0x3c9)];}class wt{constructor(){const _0xff9e74=_0x24e421;I(this,'_commentUpdate$',new N[(_0xff9e74(0x5fb))]()),I(this,'commentUpdate$',this[_0xff9e74(0x434)][_0xff9e74(0x285)]());}['onCommentUpdate'](_0x57073e){const _0x59b47e=_0x24e421;this[_0x59b47e(0x434)][_0x59b47e(0x65d)](_0x57073e);}}var un=Object[_0x24e421(0x5bd)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x26fedb,_0x2d4149,_0x19f4f4,_0x30807d)=>{const _0x3d1973=_0x24e421;for(var _0x17b3aa=_0x30807d>0x1?void 0x0:_0x30807d?dn(_0x2d4149,_0x19f4f4):_0x2d4149,_0x40177a=_0x26fedb[_0x3d1973(0x3c9)]-0x1,_0x557378;_0x40177a>=0x0;_0x40177a--)(_0x557378=_0x26fedb[_0x40177a])&&(_0x17b3aa=(_0x30807d?_0x557378(_0x2d4149,_0x19f4f4,_0x17b3aa):_0x557378(_0x17b3aa))||_0x17b3aa);return _0x30807d&&_0x17b3aa&&un(_0x2d4149,_0x19f4f4,_0x17b3aa),_0x17b3aa;},jt=(_0x2851d2,_0x1471c3)=>(_0x282f10,_0x21013f)=>_0x1471c3(_0x282f10,_0x21013f,_0x2851d2);exports['MemberService']=class extends a['Disposable']{constructor(_0x36c3fe,_0x1a1ea6){const _0x20da01=_0x24e421;super(),I(this,_0x20da01(0x60c),new Map()),(this['_univerInstanceService']=_0x36c3fe,this[_0x20da01(0x61c)]=_0x1a1ea6,this[_0x20da01(0x244)](a[_0x20da01(0x2a4)](N['merge'](this['_univerInstanceService'][_0x20da01(0x645)](a[_0x20da01(0x355)][_0x20da01(0x4d1)])[_0x20da01(0x551)](V[_0x20da01(0x49a)](_0x55a8ea=>_0x55a8ea[_0x20da01(0x60a)]())),this[_0x20da01(0x49f)]['getTypeOfUnitDisposed$'](a[_0x20da01(0x355)][_0x20da01(0x5b6)])['pipe'](V['map'](_0x52a412=>_0x52a412['getUnitId']())),this[_0x20da01(0x49f)][_0x20da01(0x645)](a[_0x20da01(0x355)][_0x20da01(0x472)])[_0x20da01(0x551)](V['map'](_0x11cca8=>_0x11cca8['getUnitId']())))['subscribe'](_0x2e2077=>this['_removeRoom'](_0x2e2077)))));}['setCurrentUser'](_0x3741b2){const _0x42f226=_0x24e421;this['_userManagerService'][_0x42f226(0x37a)](_0x3741b2);}['getCurrentUser'](){const _0x1fdaf6=_0x24e421;return this[_0x1fdaf6(0x61c)][_0x1fdaf6(0x616)]();}['updateMember'](_0xcfea40,_0x2a37f6){const _0x79966=_0x24e421;let _0x2db283=this['_roomMembers']['get'](_0xcfea40);_0x2db283||(_0x2db283=new vn(),this[_0x79966(0x60c)][_0x79966(0x44a)](_0xcfea40,_0x2db283)),_0x2db283[_0x79966(0x236)](_0x2a37f6);}['removeMember'](_0x13b847,_0x3a6a66){const _0x28a73e=_0x24e421,_0x5ceae6=this[_0x28a73e(0x60c)][_0x28a73e(0x1ce)](_0x13b847);_0x5ceae6&&_0x5ceae6['removeMember'](_0x3a6a66);}[_0x24e421(0x3a8)](_0x410516){return this['_roomMembers']['get'](_0x410516);}[_0x24e421(0x40e)](_0x3f3267,_0x4e741c){const _0xb5972=_0x24e421,_0x3c3917=this[_0xb5972(0x60c)][_0xb5972(0x1ce)](_0x3f3267);if(_0x3c3917)return _0x3c3917['getMember'](_0x4e741c);}[_0x24e421(0x5f2)](_0x574ee5){const _0x2778c8=_0x24e421,_0x2c93c1=this[_0x2778c8(0x60c)][_0x2778c8(0x1ce)](_0x574ee5);_0x2c93c1&&(_0x2c93c1['dispose'](),this[_0x2778c8(0x60c)][_0x2778c8(0x5ae)](_0x574ee5));}[_0x24e421(0x4cc)](){const _0x5a30a7=_0x24e421;this[_0x5a30a7(0x60c)][_0x5a30a7(0x5d1)](_0x509dd1=>_0x509dd1[_0x5a30a7(0x4cc)]()),this[_0x5a30a7(0x60c)][_0x5a30a7(0x526)]();}},exports[_0x24e421(0x5e4)]=fn([jt(0x0,a['IUniverInstanceService']),jt(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x30d)]))],exports[_0x24e421(0x5e4)]);class vn extends a[_0x24e421(0x1fe)]{constructor(){const _0x197177=_0x24e421;super(...arguments),I(this,_0x197177(0x3aa),new Map());}[_0x24e421(0x4cc)](){const _0x56acf4=_0x24e421;this['_members'][_0x56acf4(0x526)]();}[_0x24e421(0x236)](_0x753612){const _0x524e86=_0x24e421;this['_members'][_0x524e86(0x44a)](_0x753612['memberID'],_0x753612);}[_0x24e421(0x203)](_0x25e80c){const _0x437155=_0x24e421;this[_0x437155(0x3aa)][_0x437155(0x5ae)](_0x25e80c);}[_0x24e421(0x40e)](_0x539d35){const _0x5b5083=_0x24e421;return this[_0x5b5083(0x3aa)][_0x5b5083(0x1ce)](_0x539d35);}['getAllMembers'](){const _0x2ce96b=_0x24e421;return Array[_0x2ce96b(0x48a)](this[_0x2ce96b(0x3aa)]['values']());}}var Sn=Object['defineProperty'],pn=Object[_0x24e421(0x221)],mn=(_0x171354,_0x1bdd9d,_0x41dee4,_0x1ab5ee)=>{const _0x4b58ba=_0x24e421;for(var _0x21ffde=_0x1ab5ee>0x1?void 0x0:_0x1ab5ee?pn(_0x1bdd9d,_0x41dee4):_0x1bdd9d,_0x28efa4=_0x171354[_0x4b58ba(0x3c9)]-0x1,_0x381e17;_0x28efa4>=0x0;_0x28efa4--)(_0x381e17=_0x171354[_0x28efa4])&&(_0x21ffde=(_0x1ab5ee?_0x381e17(_0x1bdd9d,_0x41dee4,_0x21ffde):_0x381e17(_0x21ffde))||_0x21ffde);return _0x1ab5ee&&_0x21ffde&&Sn(_0x1bdd9d,_0x41dee4,_0x21ffde),_0x21ffde;},ue=(_0x51eb61,_0x48c74a)=>(_0x5a7641,_0x598f72)=>_0x48c74a(_0x5a7641,_0x598f72,_0x51eb61),ne=(_0x1d9fbc=>(_0x1d9fbc[_0x1d9fbc['IDLE']=0x0]='IDLE',_0x1d9fbc[_0x1d9fbc[_0x24e421(0x2bd)]=0x1]=_0x24e421(0x2bd),_0x1d9fbc[_0x1d9fbc[_0x24e421(0x1cd)]=0x2]='OFFLINE',_0x1d9fbc[_0x1d9fbc['ONLINE']=0x3]='ONLINE',_0x1d9fbc))(ne||{});const Ht={[ge['FAIL']]:_0x24e421(0x249),[ge[_0x24e421(0x666)]]:'session.room-full',[ge[_0x24e421(0x374)]]:'session.room-not-exists',[ge[_0x24e421(0x2b9)]]:_0x24e421(0x4f5),[ge[_0x24e421(0x612)]]:_0x24e421(0x607)};exports[_0x24e421(0x493)]=class extends a[_0x24e421(0x444)]{constructor(_0xc5957e,_0x29222b,_0x979dd8,_0x30fc29,_0x4c3bfb,_0x40954d,_0x4ccb12,_0x2be88e,_0xa3a1a3,_0x15b5b5){const _0x5e3c6e=_0x24e421;super(),I(this,'_sessionStatus$',new N[(_0x5e3c6e(0x43e))](0x0)),I(this,_0x5e3c6e(0x4f0),this['_sessionStatus$'][_0x5e3c6e(0x285)]()),I(this,_0x5e3c6e(0x52d),new N[(_0x5e3c6e(0x5fb))]()),I(this,_0x5e3c6e(0x5e0),this[_0x5e3c6e(0x52d)]['asObservable']()),I(this,'_socket'),I(this,_0x5e3c6e(0x504)),I(this,_0x5e3c6e(0x66b)),I(this,'_shouldReportTelemetry',!0x1),I(this,_0x5e3c6e(0x4ee),null),(this['_unitID']=_0xc5957e,this[_0x5e3c6e(0x383)]=_0x979dd8,this[_0x5e3c6e(0x21d)]=_0x30fc29,this[_0x5e3c6e(0x59e)]=_0x4c3bfb,this[_0x5e3c6e(0x5c2)]=_0x40954d,this[_0x5e3c6e(0x527)]=_0x4ccb12,this[_0x5e3c6e(0x2bf)]=_0x2be88e,this[_0x5e3c6e(0x2c5)]=_0xa3a1a3,this['_telemetryService']=_0x15b5b5,this[_0x5e3c6e(0x49b)]=!!this[_0x5e3c6e(0x253)],_0x29222b[_0x5e3c6e(0x551)](N[_0x5e3c6e(0x201)](this['dispose$']))[_0x5e3c6e(0x4d3)](_0x397b4d=>{const _0x436c0c=_0x5e3c6e;var _0x2c68d8;typeof _0x397b4d>'u'||(this[_0x436c0c(0x2ce)]=_0x397b4d,_0x397b4d?(this[_0x436c0c(0x333)](_0x397b4d),this['_socketMessageSubscription']=_0x397b4d['message$'][_0x436c0c(0x4d3)](_0x2ddad3=>{const _0x4ba413=_0x436c0c;_0x2ddad3['routeKey']===this[_0x4ba413(0x40a)]&&this[_0x4ba413(0x476)](_0x2ddad3);})):(this[_0x436c0c(0x5a5)](),this[_0x436c0c(0x4ec)][_0x436c0c(0x65d)](0x2),(_0x2c68d8=this['_socketMessageSubscription'])==null||_0x2c68d8[_0x436c0c(0x202)](),this[_0x436c0c(0x504)]=null));}),this[_0x5e3c6e(0x244)](this[_0x5e3c6e(0x21d)][_0x5e3c6e(0x29b)](()=>{const _0x4f07d1=_0x5e3c6e;var _0x4f6fb5;(_0x4f6fb5=this['_socket'])==null||_0x4f6fb5['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x4f07d1(0x40a)]}});})));}get[_0x24e421(0x397)](){const _0x59e8e3=_0x24e421;return this['_sessionStatus$'][_0x59e8e3(0x1f2)]();}[_0x24e421(0x4b1)](){const _0x3e8eaa=_0x24e421;var _0x1c4006,_0x271886;return(_0x271886=(_0x1c4006=this[_0x3e8eaa(0x2ce)])==null?void 0x0:_0x1c4006[_0x3e8eaa(0x1ef)])!=null?_0x271886:null;}['dispose'](){const _0x5010d4=_0x24e421;super['dispose'](),this[_0x5010d4(0x362)][_0x5010d4(0x65d)](),this[_0x5010d4(0x362)][_0x5010d4(0x465)]();}[_0x24e421(0x394)](){const _0x17a9df=_0x24e421;var _0x118a03,_0x2e2d12;this[_0x17a9df(0x5a5)](),(_0x118a03=this['_socket'])==null||_0x118a03[_0x17a9df(0x325)]({'cmd':G[_0x17a9df(0x47a)],'data':{'roomID':this[_0x17a9df(0x40a)]}}),(_0x2e2d12=this[_0x17a9df(0x2ce)])==null||_0x2e2d12[_0x17a9df(0x394)](),this[_0x17a9df(0x52d)][_0x17a9df(0x465)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x24e421(0x476)](_0x10ef0f){const _0x3d3b0b=_0x24e421;_0x10ef0f[_0x3d3b0b(0x33d)]===G['JOIN']?this['_onJoinRoomEvent'](_0x10ef0f):_0x10ef0f['cmd']===G[_0x3d3b0b(0x598)]&&this[_0x3d3b0b(0x28d)](_0x10ef0f);}[_0x24e421(0x333)](_0x25826f){const _0x5b4a08=_0x24e421;this['_sessionStatus$'][_0x5b4a08(0x65d)](0x1),_0x25826f[_0x5b4a08(0x325)]({'cmd':G[_0x5b4a08(0x4fc)],'routeKey':this[_0x5b4a08(0x40a)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5b4a08(0x40a)]}]}});}[_0x24e421(0x4ab)](_0x30dbca){const _0x2d7e55=_0x24e421;var _0x3325c9;if(_0x30dbca[_0x2d7e55(0x5d5)]in Ht){this[_0x2d7e55(0x59e)][_0x2d7e55(0x2ba)]({'type':Ce[_0x2d7e55(0x4ad)][_0x2d7e55(0x483)],'content':this[_0x2d7e55(0x527)]['t'](Ht[_0x30dbca[_0x2d7e55(0x5d5)]])}),this[_0x2d7e55(0x4ec)][_0x2d7e55(0x65d)](0x2);return;}this[_0x2d7e55(0x4ec)][_0x2d7e55(0x65d)](0x3);const _0x134ee8=(_0x3325c9=_0x30dbca['data']['roomInfos'][this[_0x2d7e55(0x40a)]])==null?void 0x0:_0x3325c9[_0x2d7e55(0x572)];_0x134ee8&&_0x134ee8['forEach'](_0x45eee7=>this['_memberService'][_0x2d7e55(0x236)](this[_0x2d7e55(0x40a)],_0x45eee7));}[_0x24e421(0x28d)](_0x1df3b5){const _0x19c185=_0x24e421;try{const _0x10755b=_0x1df3b5[_0x19c185(0x25f)];switch(_0x10755b[_0x19c185(0x3c3)]){case m[_0x19c185(0x5b3)][_0x19c185(0x5a8)]:this[_0x19c185(0x633)](_0x10755b),this['_event$'][_0x19c185(0x65d)](_0x10755b);break;case m[_0x19c185(0x5b3)][_0x19c185(0x231)]:this[_0x19c185(0x44b)](_0x10755b),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m[_0x19c185(0x5b3)][_0x19c185(0x67a)]:case m[_0x19c185(0x5b3)][_0x19c185(0x5b2)]:this[_0x19c185(0x319)](),this[_0x19c185(0x23e)](),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m[_0x19c185(0x5b3)]['MSG_FOR_ERROR']:this['_logService'][_0x19c185(0x49e)](_0x19c185(0x663)+JSON[_0x19c185(0x3a6)](_0x10755b)),this[_0x19c185(0x52d)]['next'](_0x10755b);break;case m['CollaborationEvent'][_0x19c185(0x45f)]:this['_commentService'][_0x19c185(0x5cd)](_0x10755b[_0x19c185(0x25f)]),this[_0x19c185(0x52d)][_0x19c185(0x65d)](_0x10755b);break;default:this[_0x19c185(0x52d)][_0x19c185(0x65d)](_0x10755b);}}catch(_0x755115){this['_logService'][_0x19c185(0x49e)](_0x755115,_0x1df3b5);}}[_0x24e421(0x633)](_0x3c6f3d){const _0x17fdd0=_0x24e421;this[_0x17fdd0(0x2bf)][_0x17fdd0(0x236)](this[_0x17fdd0(0x40a)],_0x3c6f3d[_0x17fdd0(0x25f)]);}[_0x24e421(0x44b)](_0x520bb3){const _0x254d1f=_0x24e421;this[_0x254d1f(0x2bf)]['removeMember'](this[_0x254d1f(0x40a)],_0x520bb3['data'][_0x254d1f(0x1ef)]);}async['send'](_0x5a20fa,_0x4096a5){const _0x23bc6d=_0x24e421;if(this[_0x23bc6d(0x397)]!==0x3||!this['_socket'])throw new Error(_0x23bc6d(0x3b2));try{_0x5a20fa[_0x23bc6d(0x3c3)]===m[_0x23bc6d(0x5b3)]['SUBMIT_CHANGESET']&&(this[_0x23bc6d(0x47f)](),this['_startTelemetryCollaborationNewChangeset'](_0x5a20fa)),this[_0x23bc6d(0x2ce)][_0x23bc6d(0x325)]({'cmd':G['INGEST'],'routeKey':_0x4096a5,'routeType':'','data':_0x5a20fa});}catch(_0x334b54){this['_logService'][_0x23bc6d(0x49e)](_0x334b54);}}[_0x24e421(0x47f)](){const _0x148092=_0x24e421;var _0x517c69;this['_collaborationTimeoutTimer']=window[_0x148092(0x46a)](()=>{const _0x53c837=_0x148092;this['_collaborationTimeoutTimer']=null,this[_0x53c837(0x59e)]['show']({'type':Ce[_0x53c837(0x4ad)][_0x53c837(0x273)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x517c69=this[_0x148092(0x5c2)][_0x148092(0x447)](Dt))!=null?_0x517c69:mi);}[_0x24e421(0x23e)](){const _0x28a0da=_0x24e421;this[_0x28a0da(0x66b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x28a0da(0x66b)]=null);}[_0x24e421(0x44f)](_0x5d17cd){const _0x19356b=_0x24e421;if(!this['_shouldReportTelemetry'])return;const {data:_0x1e9d54}=_0x5d17cd,{unitID:_0x319a77,changeset:_0x3e78d4}=_0x1e9d54,{mutations:_0x5bef16,type:_0x10e717}=_0x3e78d4;this[_0x19356b(0x4ee)]={'unitId':_0x319a77,'type':_0x10e717,'startTime':performance[_0x19356b(0x4a5)](),'stopTime':0x0,'duration':0x0,'size':_n(_0x5bef16)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2502cb=_0x24e421;if(this[_0x2502cb(0x49b)]){if(!this[_0x2502cb(0x4ee)]){this['_logService'][_0x2502cb(0x49e)](_0x2502cb(0x1d6),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2502cb(0x47c)]=performance[_0x2502cb(0x4a5)](),this[_0x2502cb(0x4ee)][_0x2502cb(0x41a)]=this[_0x2502cb(0x4ee)]['stopTime']-this['_telemetryInfo'][_0x2502cb(0x21f)],this[_0x2502cb(0x253)]['capture'](hn,this[_0x2502cb(0x4ee)]),this[_0x2502cb(0x4ee)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x50c3b0=_0x24e421;this[_0x50c3b0(0x4ee)]=null;}},exports[_0x24e421(0x493)]=mn([ue(0x2,a[_0x24e421(0x495)]),ue(0x3,ee[_0x24e421(0x5dc)]),ue(0x4,ee['IMessageService']),ue(0x5,a[_0x24e421(0x3ba)]),ue(0x6,a['Inject'](a[_0x24e421(0x468)])),ue(0x7,a[_0x24e421(0x52f)](exports['MemberService'])),ue(0x8,a['Inject'](wt)),ue(0x9,a[_0x24e421(0x67d)](Gi['ITelemetryService']))],exports['CollaborationSession']);var gn=Object['defineProperty'],In=Object[_0x24e421(0x221)],Cn=(_0xc70f4c,_0x269462,_0x3fb712,_0x3adcf9)=>{const _0x36c810=_0x24e421;for(var _0x284fba=_0x3adcf9>0x1?void 0x0:_0x3adcf9?In(_0x269462,_0x3fb712):_0x269462,_0x502d14=_0xc70f4c[_0x36c810(0x3c9)]-0x1,_0x469f54;_0x502d14>=0x0;_0x502d14--)(_0x469f54=_0xc70f4c[_0x502d14])&&(_0x284fba=(_0x3adcf9?_0x469f54(_0x269462,_0x3fb712,_0x284fba):_0x469f54(_0x284fba))||_0x284fba);return _0x3adcf9&&_0x284fba&&gn(_0x269462,_0x3fb712,_0x284fba),_0x284fba;},Se=(_0x22431c,_0x3a5df0)=>(_0x3a7102,_0x4b82e7)=>_0x3a5df0(_0x3a7102,_0x4b82e7,_0x22431c);exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x2a9de9,_0x255467,_0x37ffed,_0x260633,_0x17683c,_0xb62e97,_0xbaca7a){const _0x236467=_0x24e421;super(),I(this,'_socket$',new N[(_0x236467(0x43e))](void 0x0)),I(this,_0x236467(0x67f),this['_socket$'][_0x236467(0x285)]()),I(this,_0x236467(0x553),null),I(this,_0x236467(0x1c5),new Map()),I(this,_0x236467(0x618),new N[(_0x236467(0x43e))](ne[_0x236467(0x5fe)])),I(this,_0x236467(0x2d8),this['_status$'][_0x236467(0x285)]()),I(this,_0x236467(0x479),!0x1),I(this,_0x236467(0x3ed)),I(this,_0x236467(0x51a),0x0),I(this,_0x236467(0x4a9)),I(this,_0x236467(0x687)),(this[_0x236467(0x5f8)]=_0x2a9de9,this[_0x236467(0x527)]=_0x255467,this[_0x236467(0x59e)]=_0x37ffed,this['_logService']=_0x260633,this['_configService']=_0x17683c,this[_0x236467(0x66d)]=_0xb62e97,this[_0x236467(0x53c)]=_0xbaca7a,this[_0x236467(0x2af)]());}get[_0x24e421(0x2ce)](){const _0x9c8b73=_0x24e421;return this['_socket$'][_0x9c8b73(0x1f2)]();}[_0x24e421(0x2af)](){const _0x47e3db=_0x24e421;this['_listenToOfflineEvent'](),this[_0x47e3db(0x50a)]();}['dispose'](){const _0x111fb6=_0x24e421;super['dispose'](),this[_0x111fb6(0x1c5)][_0x111fb6(0x5d1)](_0x303ea4=>_0x303ea4[_0x111fb6(0x4cc)]()),this[_0x111fb6(0x1c5)][_0x111fb6(0x526)](),this['_status$']['complete']();}async[_0x24e421(0x25d)](_0x2ffd82){const _0x513af5=_0x24e421;if(this[_0x513af5(0x1c5)][_0x513af5(0x2b5)](_0x2ffd82))return this[_0x513af5(0x1c5)]['get'](_0x2ffd82);this['_tryEnsureSocket']();const _0x2d5c5d=this[_0x513af5(0x5f8)]['createInstance'](exports[_0x513af5(0x493)],_0x2ffd82,this[_0x513af5(0x269)]['asObservable']());return this[_0x513af5(0x1c5)][_0x513af5(0x44a)](_0x2ffd82,_0x2d5c5d),_0x2d5c5d;}['closeSession'](_0x2c1378){const _0xeef95e=_0x24e421;var _0x5139b3;const _0x318cd7=this[_0xeef95e(0x1c5)][_0xeef95e(0x1ce)](_0x2c1378);_0x318cd7&&(this['_sessions']['delete'](_0x2c1378),_0x318cd7[_0xeef95e(0x394)]()),this[_0xeef95e(0x1c5)][_0xeef95e(0x601)]||(_0x5139b3=this['_socket'])==null||_0x5139b3[_0xeef95e(0x394)]();}[_0x24e421(0x4e2)](){const _0xc9ae8a=_0x24e421;this[_0xc9ae8a(0x51a)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xc9ae8a(0x3ed)]),this[_0xc9ae8a(0x3ed)]=null),this[_0xc9ae8a(0x2e8)]();}async[_0x24e421(0x545)](){const _0x1b5bde=_0x24e421;var _0x5c2111,_0x51775e,_0x1eb0fd;const _0x44a20d=this[_0x1b5bde(0x5c2)]['getConfig'](Z),_0x5d985f=(_0x5c2111=_0x44a20d==null?void 0x0:_0x44a20d[_0x1b5bde(0x677)])!=null?_0x5c2111:Ji;return(_0x1eb0fd=(_0x51775e=(await this['_httpService'][_0x1b5bde(0x1ce)](_0x5d985f,{'headers':{'Content-Type':_0x1b5bde(0x364)}}))[_0x1b5bde(0x328)])==null?void 0x0:_0x51775e[_0x1b5bde(0x28b)])!=null?_0x1eb0fd:'';}[_0x24e421(0x3a2)](_0x46cf62){const _0x2b0b7e=_0x24e421;var _0x5977bc,_0x3fc3d3;const _0x57126b=this['_configService'][_0x2b0b7e(0x447)](Si),_0x751ec7=this[_0x2b0b7e(0x5c2)][_0x2b0b7e(0x447)](Z),_0x4f84e4=(_0x3fc3d3=(_0x5977bc=_0x751ec7==null?void 0x0:_0x751ec7['collabWebSocketUrl'])!=null?_0x5977bc:_0x57126b)!=null?_0x3fc3d3:Xi,_0x2e4856=new URL(_0x4f84e4,window['location'][_0x2b0b7e(0x401)]);return _0x2e4856[_0x2b0b7e(0x3de)][_0x2b0b7e(0x44a)]('sessionTicket',_0x46cf62),_0x2e4856['toString']();}async['_createSocket'](){const _0x15fded=_0x24e421,_0x431ba6=await this[_0x15fded(0x545)](),_0x2b15f5=this[_0x15fded(0x3a2)](_0x431ba6),_0x5332b5=this[_0x15fded(0x66d)]['createSocket'](_0x2b15f5);return this[_0x15fded(0x553)]=_0x5332b5,_0x5332b5;}async[_0x24e421(0x262)](){const _0x2c9904=_0x24e421;var _0xc7a74b,_0x489066;try{const _0x313cd2=(_0x489066=(_0xc7a74b=this['_socket'])!=null?_0xc7a74b:this['_candidateSocket'])!=null?_0x489066:await this['_createSocket']();if(_0x313cd2){const _0x66289f=_0x313cd2[_0x2c9904(0x325)];_0x313cd2[_0x2c9904(0x325)]=_0x5b84e6=>(this[_0x2c9904(0x4be)](),_0x66289f[_0x2c9904(0x463)](_0x313cd2,[_0x5b84e6])),_0x313cd2['message$'][_0x2c9904(0x4d3)](_0x552d4a=>this['_onMessage'](_0x313cd2,_0x552d4a)),_0x313cd2[_0x2c9904(0x232)][_0x2c9904(0x551)](V['take'](0x1))[_0x2c9904(0x4d3)](_0x2ef917=>this[_0x2c9904(0x383)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x2ef917)),_0x313cd2[_0x2c9904(0x3d2)][_0x2c9904(0x551)](V[_0x2c9904(0x1d0)](0x1))[_0x2c9904(0x4d3)](()=>{const _0x1d6556=_0x2c9904;this[_0x1d6556(0x369)](_0x313cd2);}),_0x313cd2[_0x2c9904(0x35a)]['pipe'](V[_0x2c9904(0x1d0)](0x1))[_0x2c9904(0x4d3)](_0x107c1e=>{const _0x37af45=_0x2c9904;this['_logService'][_0x37af45(0x525)]('[CollaborationSessionService]',_0x37af45(0x21a),_0x107c1e),this[_0x37af45(0x2d1)]();});}}catch(_0xb92b44){this[_0x2c9904(0x383)][_0x2c9904(0x49e)](_0xb92b44),this[_0x2c9904(0x2d1)]();}}[_0x24e421(0x369)](_0x393a4a){const _0x46bee0=_0x24e421;this[_0x46bee0(0x383)][_0x46bee0(0x525)](_0x46bee0(0x372),_0x46bee0(0x29f)),_0x393a4a[_0x46bee0(0x325)]({'cmd':G[_0x46bee0(0x1bd)]}),this[_0x46bee0(0x4be)]();}['_listenToOfflineEvent'](){const _0x2c0136=_0x24e421;window['addEventListener'](_0x2c0136(0x265),()=>this[_0x2c0136(0x514)]());}['_onOffline'](){const _0x7378e7=_0x24e421;this[_0x7378e7(0x479)]=!0x1,this[_0x7378e7(0x553)]=null,this[_0x7378e7(0x618)]['next'](ne[_0x7378e7(0x1cd)]),this[_0x7378e7(0x269)]['next'](null),this[_0x7378e7(0x209)](),this[_0x7378e7(0x282)]();}[_0x24e421(0x2d1)](){const _0x44cc03=_0x24e421;var _0x2d543c;this[_0x44cc03(0x514)](),this[_0x44cc03(0x51a)]<((_0x2d543c=this[_0x44cc03(0x5c2)][_0x44cc03(0x447)](gi))!=null?_0x2d543c:en)?(this[_0x44cc03(0x59e)]['show']({'key':_0x44cc03(0x3e8),'type':Ce[_0x44cc03(0x4ad)]['Warning'],'content':this[_0x44cc03(0x527)]['t'](_0x44cc03(0x4d2))}),this[_0x44cc03(0x2e8)]()):this[_0x44cc03(0x59e)]['show']({'key':'collaboration-session-retry','type':Ce['MessageType'][_0x44cc03(0x273)],'content':this[_0x44cc03(0x527)]['t'](_0x44cc03(0x33f))});}[_0x24e421(0x50a)](){const _0x46f3c9=_0x24e421,_0x56e7c7=()=>{const _0x7c764c=_0x5e3c;this[_0x7c764c(0x2ce)]||this[_0x7c764c(0x4e2)]();},_0x302582=()=>{const _0x2456a6=_0x5e3c;this[_0x2456a6(0x2ce)]||document['visibilityState']==='hidden'||this[_0x2456a6(0x4e2)]();};window[_0x46f3c9(0x3f2)]('online',_0x56e7c7),document['addEventListener'](_0x46f3c9(0x30e),_0x302582);}[_0x24e421(0x2e8)](){const _0x2e2f8c=_0x24e421;var _0x5a1c8f;const _0x198963=this['_retryCount'],_0x50b7ab=this['_configService'][_0x2e2f8c(0x447)](Z),_0x392542=_0x198963===0x0?0x0:((_0x5a1c8f=_0x50b7ab==null?void 0x0:_0x50b7ab[_0x2e2f8c(0x2cb)])!=null?_0x5a1c8f:Qi)*0x2**_0x198963;this[_0x2e2f8c(0x3ed)]=window[_0x2e2f8c(0x46a)](()=>{const _0x31703d=_0x2e2f8c;clearTimeout(this[_0x31703d(0x3ed)]),this[_0x31703d(0x3ed)]=null,this[_0x31703d(0x262)]();},_0x392542),this[_0x2e2f8c(0x51a)]+=0x1;}[_0x24e421(0x35c)](_0x18211a,_0x1665e6){const _0x26d943=_0x24e421,{cmd:_0x53bfc9}=_0x1665e6;_0x53bfc9===G[_0x26d943(0x1bd)]&&!this[_0x26d943(0x479)]&&(_0x18211a['memberID']=_0x1665e6[_0x26d943(0x25f)][_0x26d943(0x1ef)],this[_0x26d943(0x269)][_0x26d943(0x65d)](_0x18211a),this[_0x26d943(0x618)][_0x26d943(0x65d)](ne[_0x26d943(0x58b)]),this[_0x26d943(0x479)]=!0x0,this[_0x26d943(0x553)]=null),_0x53bfc9===G[_0x26d943(0x536)]&&this[_0x26d943(0x209)](),this['_rescheduleHeartbeat']();}[_0x24e421(0x4be)](){const _0x3daadc=_0x24e421;var _0x3bf889;this[_0x3daadc(0x282)](),this[_0x3daadc(0x4a9)]=window[_0x3daadc(0x46a)](()=>this[_0x3daadc(0x2fb)](),(_0x3bf889=this[_0x3daadc(0x5c2)][_0x3daadc(0x447)](pi))!=null?_0x3bf889:Zi);}[_0x24e421(0x2fb)](){const _0x442e9f=_0x24e421;this[_0x442e9f(0x2ce)][_0x442e9f(0x325)]({'cmd':G[_0x442e9f(0x536)]}),this[_0x442e9f(0x4ba)]();}[_0x24e421(0x4ba)](){const _0xfadca=_0x24e421;var _0x3b46d0;this['_timeoutTimer']=window[_0xfadca(0x46a)](()=>this[_0xfadca(0x2d1)](),(_0x3b46d0=this[_0xfadca(0x5c2)][_0xfadca(0x447)](Dt))!=null?_0x3b46d0:mi);}['_clearHeartbeatTimer'](){const _0x3271a5=_0x24e421;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3271a5(0x4a9)]),this[_0x3271a5(0x4a9)]=null);}[_0x24e421(0x209)](){const _0x433dd5=_0x24e421;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x433dd5(0x687)]),this['_timeoutTimer']=null);}},exports[_0x24e421(0x3b4)]=Cn([Se(0x0,a[_0x24e421(0x52f)](a['Injector'])),Se(0x1,a[_0x24e421(0x52f)](a['LocaleService'])),Se(0x2,ee[_0x24e421(0x402)]),Se(0x3,a['ILogService']),Se(0x4,a['IConfigService']),Se(0x5,Pt),Se(0x6,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],exports[_0x24e421(0x3b4)]);const q=[];for(let r=0x0;r<0x100;++r)q['push']((r+0x100)[_0x24e421(0x347)](0x10)[_0x24e421(0x406)](0x1));function En(_0x460ded,_0xd5067a=0x0){const _0x499e5f=_0x24e421;return(q[_0x460ded[_0xd5067a+0x0]]+q[_0x460ded[_0xd5067a+0x1]]+q[_0x460ded[_0xd5067a+0x2]]+q[_0x460ded[_0xd5067a+0x3]]+'-'+q[_0x460ded[_0xd5067a+0x4]]+q[_0x460ded[_0xd5067a+0x5]]+'-'+q[_0x460ded[_0xd5067a+0x6]]+q[_0x460ded[_0xd5067a+0x7]]+'-'+q[_0x460ded[_0xd5067a+0x8]]+q[_0x460ded[_0xd5067a+0x9]]+'-'+q[_0x460ded[_0xd5067a+0xa]]+q[_0x460ded[_0xd5067a+0xb]]+q[_0x460ded[_0xd5067a+0xc]]+q[_0x460ded[_0xd5067a+0xd]]+q[_0x460ded[_0xd5067a+0xe]]+q[_0x460ded[_0xd5067a+0xf]])[_0x499e5f(0x1c7)]();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x2bf1c3=_0x24e421;if(!lt){if(typeof crypto>'u'||!crypto[_0x2bf1c3(0x380)])throw new Error(_0x2bf1c3(0x305));lt=crypto[_0x2bf1c3(0x380)]['bind'](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto[_0x24e421(0x501)]&&crypto[_0x24e421(0x501)][_0x24e421(0x5f4)](crypto),Bt={'randomUUID':Rn};function On(_0x1df973,_0x3c9820,_0x47621b){const _0x4d1e75=_0x24e421;if(Bt[_0x4d1e75(0x501)]&&!_0x3c9820&&!_0x1df973)return Bt[_0x4d1e75(0x501)]();_0x1df973=_0x1df973||{};const _0x29e8=_0x1df973['random']||(_0x1df973[_0x4d1e75(0x1fa)]||Tn)();return _0x29e8[0x6]=_0x29e8[0x6]&0xf|0x40,_0x29e8[0x8]=_0x29e8[0x8]&0x3f|0x80,En(_0x29e8);}var yn=Object['defineProperty'],Dn=Object[_0x24e421(0x221)],Pn=(_0x3fac0e,_0x15f642,_0x4fbea0,_0x3f92c3)=>{const _0x380b53=_0x24e421;for(var _0x9b48c1=_0x3f92c3>0x1?void 0x0:_0x3f92c3?Dn(_0x15f642,_0x4fbea0):_0x15f642,_0xa94e3e=_0x3fac0e[_0x380b53(0x3c9)]-0x1,_0x3b3a22;_0xa94e3e>=0x0;_0xa94e3e--)(_0x3b3a22=_0x3fac0e[_0xa94e3e])&&(_0x9b48c1=(_0x3f92c3?_0x3b3a22(_0x15f642,_0x4fbea0,_0x9b48c1):_0x3b3a22(_0x9b48c1))||_0x9b48c1);return _0x3f92c3&&_0x9b48c1&&yn(_0x15f642,_0x4fbea0,_0x9b48c1),_0x9b48c1;},ht=(_0x1db2f0,_0x107602)=>(_0x3de78e,_0x26cf2d)=>_0x107602(_0x3de78e,_0x26cf2d,_0x1db2f0);let Ze=class{constructor(_0x39e21d,_0x343ca7,_0x120907){const _0x1b11bf=_0x24e421;this[_0x1b11bf(0x5f8)]=_0x39e21d,this[_0x1b11bf(0x3d5)]=_0x343ca7,this[_0x1b11bf(0x564)]=_0x120907;}[_0x24e421(0x55a)](_0x1a594e){const _0xf4b6c4=_0x24e421;this['_transformUndoRedoStack'](_0x1a594e),this[_0xf4b6c4(0x341)](_0x1a594e);}[_0x24e421(0x4bc)](_0x29afa6){const _0x342228=_0x24e421,{unitID:_0x4f032f}=_0x29afa6,_0x2c4273=this[_0x342228(0x564)][_0x342228(0x1e2)](_0x4f032f)[_0x342228(0x442)](J['DocIMEInputManagerService']),{redoCache:_0xd05258}=_0x2c4273[_0x342228(0x281)]();if(_0xd05258[_0x342228(0x3c9)]===0x0)return _0x29afa6;let _0x57cbd5=a[_0x342228(0x667)][_0x342228(0x24a)](_0x29afa6['mutations'][0x0]);for(let _0x5ea843=0x0;_0x5ea843<_0xd05258['length'];_0x5ea843++){const _0x505000={'id':'doc.mutation.rich-text-editing','params':{..._0xd05258[_0x5ea843]}},_0x1111e3=this[_0x342228(0x3d5)][_0x342228(0x327)](_0x57cbd5,_0x505000,!0x1);if(m[_0x342228(0x3fe)](_0x1111e3))throw _0x1111e3[_0x342228(0x49e)];_0x57cbd5=_0x1111e3[_0x342228(0x451)];}return{...a[_0x342228(0x667)]['deepClone'](_0x29afa6),'mutations':[_0x57cbd5]};}[_0x24e421(0x52e)](_0x4f2b1f){const _0x279126=_0x24e421,{unitID:_0x57d756}=_0x4f2b1f,_0x2862c0=this['_renderManagerService']['getRenderById'](_0x57d756)[_0x279126(0x442)](J[_0x279126(0x24b)]),{undoCache:_0x1d4836,redoCache:_0x54f38a}=_0x2862c0[_0x279126(0x281)]();if(_0x1d4836[_0x279126(0x3c9)]===0x0||_0x54f38a[_0x279126(0x3c9)]===0x0)return;const _0x5d5e57=[],_0x399aa6=[];let _0x293dd1=a[_0x279126(0x667)][_0x279126(0x24a)](_0x4f2b1f['mutations'][0x0]),_0x400c20=a[_0x279126(0x667)][_0x279126(0x24a)](_0x4f2b1f['mutations'][0x0]);for(let _0x520603=_0x1d4836['length']-0x1;_0x520603>=0x0;_0x520603--){const _0x383e0b={'id':'doc.mutation.rich-text-editing','params':{..._0x1d4836[_0x520603]}},_0x51f65c={'id':'doc.mutation.rich-text-editing','params':{..._0x54f38a[_0x520603]}},_0x148fb2=this[_0x279126(0x3d5)][_0x279126(0x327)](_0x293dd1,_0x383e0b,!0x1),_0x54c36d=this[_0x279126(0x3d5)][_0x279126(0x327)](_0x400c20,_0x51f65c,!0x1);if(m[_0x279126(0x3fe)](_0x148fb2))throw _0x148fb2['error'];if(m[_0x279126(0x3fe)](_0x54c36d))throw _0x54c36d[_0x279126(0x49e)];_0x5d5e57[_0x279126(0x200)](_0x148fb2[_0x279126(0x365)][_0x279126(0x245)]),_0x399aa6[_0x279126(0x200)](_0x54c36d['m2Prime'][_0x279126(0x245)]),_0x293dd1=_0x148fb2['m1Prime'],_0x400c20=_0x54c36d['m1Prime'];}_0x2862c0[_0x279126(0x519)]({'undoCache':_0x5d5e57,'redoCache':_0x399aa6});}['_transformPreviousActiveRange'](_0x445647){const _0x30963c=_0x24e421,{unitID:_0x27924a}=_0x445647,_0x394734=this[_0x30963c(0x564)][_0x30963c(0x1e2)](_0x27924a)[_0x30963c(0x442)](J[_0x30963c(0x24b)]),_0x425d7b=_0x394734['getActiveRange']();if(_0x425d7b==null)return;const _0x28a12d=[{'id':_0x30963c(0x20b),'params':{'unitId':_0x445647[_0x30963c(0x1cb)],'actions':null,'textRanges':[_0x425d7b]}}],_0x4f744a=this[_0x30963c(0x3d5)]['transformMutationsWithChangeset'](_0x445647,_0x28a12d);if(!m[_0x30963c(0x270)](_0x4f744a))throw _0x4f744a[_0x30963c(0x49e)];const _0x2b38f1=_0x4f744a[_0x30963c(0x365)][0x0][_0x30963c(0x245)][_0x30963c(0x5e2)];Array[_0x30963c(0x357)](_0x2b38f1)&&_0x2b38f1[_0x30963c(0x3c9)]&&_0x394734[_0x30963c(0x669)](_0x2b38f1[0x0]);}};Ze=Pn([ht(0x0,a[_0x24e421(0x52f)](a['Injector'])),ht(0x1,m['ITransformService']),ht(0x2,Y[_0x24e421(0x3c8)])],Ze);var wn=Object[_0x24e421(0x5bd)],Un=Object['getOwnPropertyDescriptor'],Mn=(_0x8165b,_0x39ce57,_0x57f6b,_0x40547a)=>{const _0x8778fc=_0x24e421;for(var _0x241c90=_0x40547a>0x1?void 0x0:_0x40547a?Un(_0x39ce57,_0x57f6b):_0x39ce57,_0x10269a=_0x8165b[_0x8778fc(0x3c9)]-0x1,_0x53543f;_0x10269a>=0x0;_0x10269a--)(_0x53543f=_0x8165b[_0x10269a])&&(_0x241c90=(_0x40547a?_0x53543f(_0x39ce57,_0x57f6b,_0x241c90):_0x53543f(_0x241c90))||_0x241c90);return _0x40547a&&_0x241c90&&wn(_0x39ce57,_0x57f6b,_0x241c90),_0x241c90;},Pe=(_0x1f44fd,_0x4af0b7)=>(_0x4c4508,_0x59b80a)=>_0x4af0b7(_0x4c4508,_0x59b80a,_0x1f44fd);exports[_0x24e421(0x4b2)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x237f49,_0x283e12,_0x490fe6,_0x477995,_0x12e958){const _0x4cec67=_0x24e421;super(),I(this,_0x4cec67(0x5eb),new Map()),I(this,_0x4cec67(0x3b3),new Map()),I(this,'_disabled',!0x1),(this[_0x4cec67(0x5c2)]=_0x237f49,this[_0x4cec67(0x59c)]=_0x283e12,this[_0x4cec67(0x21d)]=_0x490fe6,this[_0x4cec67(0x527)]=_0x477995,this[_0x4cec67(0x32c)]=_0x12e958,this[_0x4cec67(0x22d)]());}[_0x24e421(0x649)](){this['_disabled']=!0x0;}[_0x24e421(0x662)](){const _0x1b750e=_0x24e421;this[_0x1b750e(0x4b9)]=!0x1;}['dispose'](){const _0x11b602=_0x24e421;this[_0x11b602(0x54a)]()[_0x11b602(0x57d)](()=>super['dispose']());}async[_0x24e421(0x227)](_0x1f59f3){const _0x68a004=_0x24e421;return this[_0x68a004(0x4b9)]?null:this[_0x68a004(0x59c)][_0x68a004(0x2f5)](kt(_0x1f59f3));}async[_0x24e421(0x42f)](_0x3c8c7f,_0x15df83){const _0x41044f=_0x24e421;return!!this[_0x41044f(0x59c)][_0x41044f(0x2f1)](_0x3c8c7f,_0x15df83);}['updateOfflineData'](_0xf0a66d,_0x22e227,_0x1d79b4,_0x586586){const _0x1d7a61=_0x24e421,_0x5117e9=this[_0x1d7a61(0x32c)][_0x1d7a61(0x1bf)](_0xf0a66d);this['_cachedData'][_0x1d7a61(0x44a)](_0xf0a66d,{'unitID':_0xf0a66d,'type':_0x22e227,'awaitingChangeset':_0x1d79b4,'mutations':_0x586586,'rev':_0x5117e9}),this[_0x1d7a61(0x3b3)]['has'](_0xf0a66d)||this[_0x1d7a61(0x2da)](_0xf0a66d);}['_scheduleSaving'](_0x4e613){const _0x4ef031=_0x24e421,_0x1c676a=this['_getSaveTimeout']();_0x1c676a===0x0?this[_0x4ef031(0x242)](_0x4e613):this[_0x4ef031(0x3b3)]['set'](_0x4e613,setTimeout(()=>this[_0x4ef031(0x242)](_0x4e613),_0x1c676a));}[_0x24e421(0x3b6)](){const _0xebcfe5=_0x24e421;var _0x1c8e0c;return(_0x1c8e0c=this[_0xebcfe5(0x5c2)][_0xebcfe5(0x447)](Ii))!=null?_0x1c8e0c:tn;}[_0x24e421(0x242)](_0x57972b){const _0xa9d69e=_0x24e421,_0x14cc8c=this[_0xa9d69e(0x3b3)][_0xa9d69e(0x1ce)](_0x57972b);return _0x14cc8c!==void 0x0&&window['clearTimeout'](_0x14cc8c),this[_0xa9d69e(0x59c)][_0xa9d69e(0x2f1)](kt(_0x57972b),this[_0xa9d69e(0x5eb)]['get'](_0x57972b))['then'](()=>this[_0xa9d69e(0x3b3)]['delete'](_0x57972b));}async['exhaustSavingTask'](){const _0x1aced1=_0x24e421,_0x25063d=[];this['_saveTaskMap'][_0x1aced1(0x5d1)]((_0x284429,_0x38ed86)=>{const _0x316096=_0x1aced1;window[_0x316096(0x2cd)](_0x284429),_0x25063d[_0x316096(0x2f8)](this[_0x316096(0x242)](_0x38ed86)[_0x316096(0x57d)](()=>{const _0xe96899=_0x316096;this['_saveTaskMap'][_0xe96899(0x5ae)](_0x38ed86);}));}),await Promise[_0x1aced1(0x234)](_0x25063d);}[_0x24e421(0x22d)](){const _0x66d8d5=_0x24e421;this[_0x66d8d5(0x244)](this[_0x66d8d5(0x21d)][_0x66d8d5(0x4a0)](()=>{const _0xa22fdc=_0x66d8d5;if(this[_0xa22fdc(0x3b3)][_0xa22fdc(0x601)])return this['_localeService']['t'](_0xa22fdc(0x620));}));}},exports['LocalCacheService']=Mn([Pe(0x0,a[_0x24e421(0x3ba)]),Pe(0x1,a[_0x24e421(0x44c)]),Pe(0x2,ee[_0x24e421(0x5dc)]),Pe(0x3,a['Inject'](a['LocaleService'])),Pe(0x4,a['Inject'](m['RevisionService']))],exports[_0x24e421(0x4b2)]);function kt(_0x776781){const _0x2604c8=_0x24e421;return _0x2604c8(0x45a)+_0x776781;}var Nn=Object[_0x24e421(0x5bd)],An=Object[_0x24e421(0x221)],Ln=(_0xb30065,_0x4053e8,_0x38bc2c,_0x42f633)=>{for(var _0x2e9143=_0x42f633>0x1?void 0x0:_0x42f633?An(_0x4053e8,_0x38bc2c):_0x4053e8,_0x5e64f0=_0xb30065['length']-0x1,_0x3125d6;_0x5e64f0>=0x0;_0x5e64f0--)(_0x3125d6=_0xb30065[_0x5e64f0])&&(_0x2e9143=(_0x42f633?_0x3125d6(_0x4053e8,_0x38bc2c,_0x2e9143):_0x3125d6(_0x2e9143))||_0x2e9143);return _0x42f633&&_0x2e9143&&Nn(_0x4053e8,_0x38bc2c,_0x2e9143),_0x2e9143;},_t=(_0xca42bd,_0x3f71c4)=>(_0x284aed,_0x3abd77)=>_0x3f71c4(_0x284aed,_0x3abd77,_0xca42bd);function xn(_0x352a23){const _0xf86a50=_0x24e421,{unitID:_0x250a13,mutations:_0x3f224e}=_0x352a23;return{'unitId':_0x250a13,'subUnitId':_0x3f224e[0x0][_0xf86a50(0x245)][_0xf86a50(0x554)]};}let Qe=class{constructor(_0x2cdd8c,_0x2a6d85,_0x582be9){const _0x1ab148=_0x24e421;this[_0x1ab148(0x5f8)]=_0x2cdd8c,this[_0x1ab148(0x3d5)]=_0x2a6d85,this[_0x1ab148(0x688)]=_0x582be9;}['transformSelections'](_0x33c70f){const _0x4f9c7f=_0x24e421;var _0x14ddb5,_0x25d7d9,_0x49035b,_0x43d444;const _0xc6e7c2=this[_0x4f9c7f(0x5f8)][_0x4f9c7f(0x1ce)](k['SheetsSelectionsService']),{unitId:_0xcf9c17,subUnitId:_0x5a777a}=xn(_0x33c70f),_0xbcbc75=_0xc6e7c2[_0x4f9c7f(0x1f6)](_0xcf9c17)[_0x4f9c7f(0x252)](),_0x13fe93=(_0x25d7d9=(_0x14ddb5=this[_0x4f9c7f(0x688)][_0x4f9c7f(0x5c7)](_0xcf9c17))==null?void 0x0:_0x14ddb5[_0x4f9c7f(0x5ff)]())==null?void 0x0:_0x25d7d9[_0x4f9c7f(0x490)]();if(_0xbcbc75[_0x4f9c7f(0x3c9)]===0x0||!_0xcf9c17||!_0x5a777a)return;const _0x34b2e6=[{'id':k[_0x4f9c7f(0x4aa)]['id'],'params':{'unitId':_0xcf9c17,'subUnitId':_0x13fe93,'selections':a['Tools'][_0x4f9c7f(0x24a)](_0xbcbc75)}}],_0x2f7ef3=this['_transformService'][_0x4f9c7f(0x5af)](_0x33c70f,_0x34b2e6);if(!m['isTransformMutationsWithChangesetSuccess'](_0x2f7ef3))throw _0x2f7ef3[_0x4f9c7f(0x49e)];const _0x5ec063=(_0x43d444=(_0x49035b=_0x2f7ef3[_0x4f9c7f(0x365)][0x0])==null?void 0x0:_0x49035b['params'])==null?void 0x0:_0x43d444[_0x4f9c7f(0x2f7)];if(Array['isArray'](_0x5ec063)&&_0x5ec063[_0x4f9c7f(0x3c9)]){if(_0x5ec063[_0x4f9c7f(0x3c9)]===_0x34b2e6[0x0][_0x4f9c7f(0x245)][_0x4f9c7f(0x2f7)][_0x4f9c7f(0x3c9)]&&_0x5ec063[_0x4f9c7f(0x4a1)]((_0x1419e1,_0x4d1261)=>a[_0x4f9c7f(0x3db)][_0x4f9c7f(0x3e0)](_0x1419e1[_0x4f9c7f(0x40b)],_0x34b2e6[0x0][_0x4f9c7f(0x245)][_0x4f9c7f(0x2f7)][_0x4d1261]['range'])))return;this['_injector'][_0x4f9c7f(0x1ce)](a[_0x4f9c7f(0x2b1)])[_0x4f9c7f(0x646)](k[_0x4f9c7f(0x4aa)]['id'],{'unitId':_0xcf9c17,'subUnitId':_0x13fe93,'selections':_0x5ec063});}}};Qe=Ln([_t(0x0,a[_0x24e421(0x52f)](a['Injector'])),_t(0x1,m[_0x24e421(0x379)]),_t(0x2,a[_0x24e421(0x344)])],Qe);const at=a[_0x24e421(0x389)](_0x24e421(0x5fa));var yi=(_0x2aeac4=>(_0x2aeac4[_0x2aeac4[_0x24e421(0x351)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2aeac4[_0x2aeac4[_0x24e421(0x4c7)]=0x1]=_0x24e421(0x4c7),_0x2aeac4))(yi||{});const Wt=0x7530,Ft=_0x24e421(0x5d8);class $n extends a[_0x24e421(0x1fe)]{constructor(){const _0x3424d5=_0x24e421;super(),I(this,_0x3424d5(0x33e),a[_0x3424d5(0x667)]['generateRandomId']()),I(this,_0x3424d5(0x5ea),new Set()),I(this,_0x3424d5(0x623),new Map()),I(this,'_heartbeatTimer',null),I(this,'_clearOtherTimers',new Map()),I(this,_0x3424d5(0x25a),new Map()),this[_0x3424d5(0x541)]();}['dispose'](){const _0x47c319=_0x24e421;super[_0x47c319(0x4cc)](),this['_clearOtherTimers'][_0x47c319(0x5d1)]((_0x22f524,_0x231d89)=>this[_0x47c319(0x678)](_0x231d89)),this[_0x47c319(0x433)]&&window[_0x47c319(0x39b)](this['_heartbeatTimer']);}[_0x24e421(0x600)](_0x97414f){const _0x4b2ca8=_0x24e421;return this[_0x4b2ca8(0x3fc)](_0x97414f)[_0x4b2ca8(0x551)](N['distinctUntilChanged']());}['editingUnit'](_0x57d6d1){const _0x52e0c8=_0x24e421;this[_0x52e0c8(0x5ea)][_0x52e0c8(0x601)]===0x0&&this[_0x52e0c8(0x568)](),this[_0x52e0c8(0x5ea)][_0x52e0c8(0x30a)](_0x57d6d1),this['_send']({'type':0x0,'memberID':this[_0x52e0c8(0x33e)],'unitIDs':[_0x57d6d1],'isForwarded':!0x1});}[_0x24e421(0x528)](_0xaf3b2d){const _0x270d6f=_0x24e421;this['_selfUnitIDs'][_0x270d6f(0x5ae)](_0xaf3b2d),this[_0x270d6f(0x5ea)]['size']===0x0&&this[_0x270d6f(0x433)]&&window[_0x270d6f(0x39b)](this['_heartbeatTimer']);}[_0x24e421(0x541)](){const _0x4554ee=_0x24e421;this[_0x4554ee(0x244)](a[_0x4554ee(0x2a4)](N[_0x4554ee(0x4f7)](window,'storage')[_0x4554ee(0x4d3)](_0x5a1966=>{const _0x490519=_0x4554ee;if(_0x5a1966[_0x490519(0x5ab)]!==Ft||!_0x5a1966['newValue'])return;const _0x283d48=JSON[_0x490519(0x1f0)](_0x5a1966['newValue']);this['_handleEvent'](_0x283d48);}))),window[_0x4554ee(0x3f2)]('unload',()=>this[_0x4554ee(0x54c)]({'type':0x1,'memberID':this[_0x4554ee(0x33e)],'unitIDs':Array[_0x4554ee(0x48a)](this['_selfUnitIDs'])}));}[_0x24e421(0x1d2)](_0x221148){const _0x3f2110=_0x24e421;switch(_0x221148['type']){case 0x0:this[_0x3f2110(0x5c0)](_0x221148);break;case 0x1:this['_handleLeaveEvent'](_0x221148);break;case 0x2:this[_0x3f2110(0x626)](_0x221148);break;}}[_0x24e421(0x5c0)](_0x1c3ac8){const _0x4468d7=_0x24e421,{unitIDs:_0x476b2d,memberID:_0x4accc2,isForwarded:_0xbd0ba2}=_0x1c3ac8;_0x476b2d[_0x4468d7(0x5d1)](_0x4321d9=>{const _0x142ef4=_0x4468d7;if(!_0xbd0ba2&&this[_0x142ef4(0x623)][_0x142ef4(0x2b5)](_0x4321d9)&&this[_0x142ef4(0x3fc)](_0x4321d9)[_0x142ef4(0x65d)](0x1),!this[_0x142ef4(0x623)][_0x142ef4(0x2b5)](_0x4321d9)||!this[_0x142ef4(0x623)][_0x142ef4(0x1ce)](_0x4321d9)[_0x142ef4(0x2b5)](_0x4accc2)){const _0x42d6c8=this[_0x142ef4(0x623)]['get'](_0x4321d9)||new Set();_0x42d6c8['add'](_0x4accc2),this[_0x142ef4(0x623)][_0x142ef4(0x44a)](_0x4321d9,_0x42d6c8),this[_0x142ef4(0x636)](_0x4accc2);}}),_0xbd0ba2||this['_send']({'type':0x0,'memberID':this[_0x4468d7(0x33e)],'unitIDs':[...this[_0x4468d7(0x5ea)]],'isForwarded':!0x0});}[_0x24e421(0x636)](_0x1563e7){const _0x94bcda=_0x24e421;this[_0x94bcda(0x678)](_0x1563e7);const _0x58845b=window['setTimeout'](()=>{const _0x122286=_0x94bcda;this[_0x122286(0x623)][_0x122286(0x5d1)](_0x35728c=>{const _0x391683=_0x122286;_0x35728c[_0x391683(0x5ae)](_0x1563e7);});},Wt*0x2);this['_clearOtherTimers'][_0x94bcda(0x44a)](_0x1563e7,_0x58845b);}['_removeClearOtherTimer'](_0x5d6004){const _0x2abaea=_0x24e421;if(this[_0x2abaea(0x1d9)][_0x2abaea(0x2b5)](_0x5d6004)){const _0xda9f1d=this['_clearOtherTimers']['get'](_0x5d6004);_0xda9f1d&&window[_0x2abaea(0x2cd)](_0xda9f1d),this[_0x2abaea(0x1d9)]['set'](_0x5d6004,null);}}[_0x24e421(0x5a3)](_0x5c35a0){const _0x1f2f40=_0x24e421,{memberID:_0x50cfd4,unitIDs:_0x2cf2b0}=_0x5c35a0;_0x2cf2b0[_0x1f2f40(0x5d1)](_0x2c76ba=>{const _0x1a9515=_0x1f2f40;var _0x1de66d;const _0x11be69=this['_unitOnClients']['get'](_0x2c76ba);_0x11be69&&(_0x11be69[_0x1a9515(0x5ae)](_0x50cfd4),(_0x1de66d=this['_ensureSubject'](_0x2c76ba))==null||_0x1de66d['next'](_0x11be69[_0x1a9515(0x601)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x50cfd4);}['_handleHeartbeatEvent'](_0x4cf6e7){const _0x1a6ca9=_0x24e421;this[_0x1a6ca9(0x636)](_0x4cf6e7['memberID']);}['_send'](_0x46826a){const _0x5bb98f=_0x24e421;localStorage['setItem'](Ft,JSON[_0x5bb98f(0x3a6)](_0x46826a));}['_scheduleHeartbeat'](){const _0x2af948=_0x24e421;this[_0x2af948(0x433)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Wt);}['_ensureSubject'](_0x35611b){const _0x5194d3=_0x24e421;return this[_0x5194d3(0x25a)]['has'](_0x35611b)||this['_unitStatus'][_0x5194d3(0x44a)](_0x35611b,new N[(_0x5194d3(0x43e))](0x0)),this[_0x5194d3(0x25a)]['get'](_0x35611b);}}var jn=Object[_0x24e421(0x5bd)],Hn=Object['getOwnPropertyDescriptor'],Bn=(_0x5eadd3,_0x869863,_0xe222ae,_0x3ed813)=>{const _0x74a086=_0x24e421;for(var _0x289d80=_0x3ed813>0x1?void 0x0:_0x3ed813?Hn(_0x869863,_0xe222ae):_0x869863,_0x56ae51=_0x5eadd3[_0x74a086(0x3c9)]-0x1,_0x44032e;_0x56ae51>=0x0;_0x56ae51--)(_0x44032e=_0x5eadd3[_0x56ae51])&&(_0x289d80=(_0x3ed813?_0x44032e(_0x869863,_0xe222ae,_0x289d80):_0x44032e(_0x289d80))||_0x289d80);return _0x3ed813&&_0x289d80&&jn(_0x869863,_0xe222ae,_0x289d80),_0x289d80;},ut=(_0x18d26e,_0x1bb16a)=>(_0x12bac2,_0x180b3)=>_0x1bb16a(_0x12bac2,_0x180b3,_0x18d26e);let et=class{constructor(_0xddb6cb,_0x451e35,_0x49c747){const _0x1a5459=_0x24e421;this[_0x1a5459(0x5f8)]=_0xddb6cb,this['_transformService']=_0x451e35,this[_0x1a5459(0x1dd)]=_0x49c747;}[_0x24e421(0x569)](_0x1c2ccd){const _0x6f660c=_0x24e421;this[_0x6f660c(0x308)](_0x1c2ccd);}[_0x24e421(0x4bc)](_0xbb79be){const _0x523fd7=_0x24e421,{unitID:_0x341634}=_0xbb79be,{collaboration:_0x185676}=this[_0x523fd7(0x1dd)][_0x523fd7(0x44e)](_0x341634);if(_0x185676['length']===0x0)return _0xbb79be;let _0x197b85=a[_0x523fd7(0x667)]['deepClone'](_0xbb79be[_0x523fd7(0x64d)][0x0]);for(let _0x32f413=0x0;_0x32f413<_0x185676[_0x523fd7(0x3c9)];_0x32f413++){const _0x2587ed={'id':_0x523fd7(0x20b),'params':{'unitId':_0x185676[_0x32f413][_0x523fd7(0x359)],..._0x185676[_0x32f413][_0x523fd7(0x477)]}},_0x336595=this[_0x523fd7(0x3d5)]['transformMutation'](_0x197b85,_0x2587ed,!0x1);if(m[_0x523fd7(0x3fe)](_0x336595))throw _0x336595['error'];_0x197b85=_0x336595[_0x523fd7(0x451)];}return{...a[_0x523fd7(0x667)][_0x523fd7(0x24a)](_0xbb79be),'mutations':[_0x197b85]};}['_transformHistoryAndStateStack'](_0x4ab9c9){const _0x566eae=_0x24e421,{unitID:_0x288cbc}=_0x4ab9c9,{history:_0x2c91a6,collaboration:_0x5ec956}=this[_0x566eae(0x1dd)][_0x566eae(0x44e)](_0x288cbc);if(_0x2c91a6[_0x566eae(0x3c9)]===0x0&&_0x5ec956[_0x566eae(0x3c9)]===0x0)return;const _0x23e3f0=[],_0x505b17=[];let _0x19ce4a=a[_0x566eae(0x667)][_0x566eae(0x24a)](_0x4ab9c9['mutations'][0x0]),_0x39f2a6=a[_0x566eae(0x667)]['deepClone'](_0x4ab9c9[_0x566eae(0x64d)][0x0]);for(let _0x437522=_0x2c91a6[_0x566eae(0x3c9)]-0x1;_0x437522>=0x0;_0x437522--){const _0x5e19ac={'id':_0x566eae(0x20b),'params':{'unitId':_0x2c91a6[_0x437522]['unitId'],..._0x2c91a6[_0x437522][_0x566eae(0x49c)]}},_0x30fafd={'id':_0x566eae(0x20b),'params':{'unitId':_0x2c91a6[_0x437522]['unitId'],..._0x2c91a6[_0x437522]['redoState']}},_0x1bef15=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x19ce4a,_0x5e19ac,!0x1),_0x33fce3=this[_0x566eae(0x3d5)]['transformMutation'](_0x39f2a6,_0x30fafd,!0x1);if(m['isTransformMutationFailure'](_0x1bef15))throw _0x1bef15[_0x566eae(0x49e)];if(m['isTransformMutationFailure'](_0x33fce3))throw _0x33fce3['error'];_0x23e3f0[_0x566eae(0x200)]({..._0x2c91a6[_0x437522],'undoState':_0x1bef15['m2Prime'][_0x566eae(0x245)],'redoState':_0x33fce3[_0x566eae(0x365)]['params']}),_0x19ce4a=_0x1bef15[_0x566eae(0x451)],_0x39f2a6=_0x33fce3['m1Prime'];}_0x19ce4a=a[_0x566eae(0x667)]['deepClone'](_0x4ab9c9[_0x566eae(0x64d)][0x0]),_0x39f2a6=a[_0x566eae(0x667)][_0x566eae(0x24a)](_0x4ab9c9[_0x566eae(0x64d)][0x0]);for(let _0x3b714e=_0x5ec956[_0x566eae(0x3c9)]-0x1;_0x3b714e>=0x0;_0x3b714e--){const _0xe7e003={'id':_0x566eae(0x20b),'params':{'unitId':_0x5ec956[_0x3b714e][_0x566eae(0x359)],..._0x5ec956[_0x3b714e][_0x566eae(0x49c)]}},_0x364a78={'id':_0x566eae(0x20b),'params':{'unitId':_0x5ec956[_0x3b714e][_0x566eae(0x359)],..._0x5ec956[_0x3b714e][_0x566eae(0x477)]}},_0x19294a=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x19ce4a,_0xe7e003,!0x1),_0xffdad1=this[_0x566eae(0x3d5)][_0x566eae(0x327)](_0x39f2a6,_0x364a78,!0x1);if(m[_0x566eae(0x3fe)](_0x19294a))throw _0x19294a[_0x566eae(0x49e)];if(m[_0x566eae(0x3fe)](_0xffdad1))throw _0xffdad1[_0x566eae(0x49e)];_0x505b17[_0x566eae(0x200)]({..._0x5ec956[_0x3b714e],'undoState':_0x19294a[_0x566eae(0x365)][_0x566eae(0x245)],'redoState':_0xffdad1[_0x566eae(0x365)][_0x566eae(0x245)]}),_0x19ce4a=_0x19294a[_0x566eae(0x451)],_0x39f2a6=_0xffdad1[_0x566eae(0x451)];}this[_0x566eae(0x1dd)][_0x566eae(0x41d)](_0x288cbc,{'history':_0x23e3f0,'collaboration':_0x505b17});}};et=Bn([ut(0x0,a['Inject'](a[_0x24e421(0x224)])),ut(0x1,m[_0x24e421(0x379)]),ut(0x2,a[_0x24e421(0x52f)](J[_0x24e421(0x4e0)]))],et);function Di(_0x209cb4){const _0xd0e90d=_0x24e421;let _0x35892c='';for(const _0x1ba155 of _0x209cb4){const {startOffset:_0x345101,endOffset:_0x3b5a38,isActive:_0x30737c,rangeType:_0x4036ad,segmentId:_0x123f48,segmentPage:_0x5c9a8b}=_0x1ba155;_0x35892c[_0xd0e90d(0x3c9)]&&(_0x35892c+=','),_0x35892c+=_0x345101+':'+_0x3b5a38+':'+(_0x30737c?'1':'0')+':'+_0x4036ad+':'+_0x123f48+':'+_0x5c9a8b;}return _0x35892c;}function kn(_0x10d465){const _0x1d285b=_0x24e421,_0x2e3dda=_0x10d465[_0x1d285b(0x271)](','),_0x1db052=[];for(const _0x2755dd of _0x2e3dda){const [_0x49ef2d,_0x3689ef,_0x5f8b9c,_0x240634,_0x563c0a,_0x195712]=_0x2755dd['split'](':');_0x1db052[_0x1d285b(0x2f8)]({'startOffset':Number(_0x49ef2d),'endOffset':Number(_0x3689ef),'collapsed':_0x49ef2d===_0x3689ef,'isActive':_0x5f8b9c==='1','rangeType':_0x240634===a[_0x1d285b(0x5ba)][_0x1d285b(0x67b)]?a[_0x1d285b(0x5ba)][_0x1d285b(0x67b)]:a['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x563c0a==_0x1d285b(0x64c)?String(_0x563c0a):'','segmentPage':Number(_0x195712!=null?_0x195712:-0x1)});}return _0x1db052[_0x1d285b(0x338)](_0x219835=>_0x219835[_0x1d285b(0x37f)])||(_0x1db052[0x0][_0x1d285b(0x37f)]=!0x0),_0x1db052;}class Ut extends a['RxDisposable']{constructor(){const _0x58d0ce=_0x24e421;super(...arguments),I(this,_0x58d0ce(0x3a9),new N['BehaviorSubject'](null)),I(this,_0x58d0ce(0x326),this['_collabCursorState$']['asObservable']());}[_0x24e421(0x500)](_0x47a35d){const _0x210d46=_0x24e421,{unitID:_0x5d1b67,memberID:_0x286bf2,textRanges:_0x4cb61e}=_0x47a35d,_0x482c53=Di(_0x4cb61e);if(_0x482c53==='')return;const _0x2310eb={'unitID':_0x5d1b67,'memberID':_0x286bf2,'selection':_0x482c53};this[_0x210d46(0x3a9)]['next'](_0x2310eb);}}var Wn=Object[_0x24e421(0x5bd)],Fn=Object[_0x24e421(0x221)],Vn=(_0x441a74,_0x40a050,_0x287c4f,_0x18d4e5)=>{const _0x3ed856=_0x24e421;for(var _0x24ffe3=_0x18d4e5>0x1?void 0x0:_0x18d4e5?Fn(_0x40a050,_0x287c4f):_0x40a050,_0x1ec8de=_0x441a74[_0x3ed856(0x3c9)]-0x1,_0x51d1d7;_0x1ec8de>=0x0;_0x1ec8de--)(_0x51d1d7=_0x441a74[_0x1ec8de])&&(_0x24ffe3=(_0x18d4e5?_0x51d1d7(_0x40a050,_0x287c4f,_0x24ffe3):_0x51d1d7(_0x24ffe3))||_0x24ffe3);return _0x18d4e5&&_0x24ffe3&&Wn(_0x40a050,_0x287c4f,_0x24ffe3),_0x24ffe3;},Vt=(_0x1c21cd,_0x25edbc)=>(_0x5a5d2d,_0x565b7d)=>_0x25edbc(_0x5a5d2d,_0x565b7d,_0x1c21cd);let tt=class{constructor(_0xde5716,_0x460e3d){this['_injector']=_0xde5716,this['_transformService']=_0x460e3d;}[_0x24e421(0x3ab)](_0x5d38d5){const _0x5aed13=_0x24e421;var _0xdcc7cc;const _0x44d600=this[_0x5aed13(0x5f8)][_0x5aed13(0x1ce)](Ie[_0x5aed13(0x313)]),_0x2ff192=(_0xdcc7cc=_0x44d600[_0x5aed13(0x532)]())!=null?_0xdcc7cc:[];if(_0x2ff192['length']===0x0)return;const _0x589035=_0x5d38d5[_0x5aed13(0x1cb)],_0xb63411=[{'id':_0x5aed13(0x20b),'params':{'unitId':_0x589035,'actions':null,'textRanges':_0x2ff192}}],_0x146835=this[_0x5aed13(0x3d5)][_0x5aed13(0x5af)](_0x5d38d5,_0xb63411);if(!m[_0x5aed13(0x270)](_0x146835))throw _0x146835[_0x5aed13(0x49e)];const _0x3e9768=_0x146835['m2Prime'][0x0]['params'][_0x5aed13(0x5e2)];Array[_0x5aed13(0x357)](_0x3e9768)&&_0x3e9768[_0x5aed13(0x3c9)]&&_0x44d600[_0x5aed13(0x34d)](_0x3e9768,{'unitId':_0x589035,'subUnitId':_0x589035},!0x1);}};tt=Vn([Vt(0x0,a['Inject'](a['Injector'])),Vt(0x1,m[_0x24e421(0x379)])],tt);const Gn=new Set([k[_0x24e421(0x627)]['id']]);function Gt(_0x4593a4,_0x4e4adc,_0x3387b3,_0x22a0b2,_0x4ad3e4){const _0x5c1c3d=_0x24e421;var _0x5c2449,_0x2d7fde,_0x37f414,_0x285d2;const _0x8eefee=[];for(const _0x570646 of _0x4593a4)if(Gn[_0x5c1c3d(0x2b5)](_0x570646['id'])){if(_0x8eefee['length']>0x0)break;_0x8eefee[_0x5c1c3d(0x2f8)](_0x570646);break;}else _0x8eefee['push'](_0x570646);const _0x56c534=(_0x2d7fde=(_0x5c2449=_0x4ad3e4[_0x5c1c3d(0x616)]())==null?void 0x0:_0x5c2449[_0x5c1c3d(0x36d)])!=null?_0x2d7fde:_0x5c1c3d(0x2de),_0x305fbf=(_0x285d2=(_0x37f414=_0x4ad3e4['getCurrentUser']())==null?void 0x0:_0x37f414['memberID'])!=null?_0x285d2:_0x5c1c3d(0x2de);return{'changeset':{'unitID':_0x4e4adc,'type':m[_0x5c1c3d(0x57a)](_0x3387b3[_0x5c1c3d(0x38b)](_0x4e4adc)),'baseRev':_0x22a0b2[_0x5c1c3d(0x1bf)](_0x4e4adc),'revision':0x0,'userID':_0x56c534,'memberID':_0x305fbf,'mutations':_0x8eefee},'pendingMutations':_0x4593a4[_0x5c1c3d(0x406)](_0x8eefee['length'])};}function Yn(_0x248b4b,_0x2f8c69,_0x3f99e0,_0x58b096,_0x4557b8){const _0xf00fb2=_0x24e421;var _0x19a97d,_0x49b92c,_0x1d3c13,_0x2387e9;const _0x3d1ef0=[_0x248b4b[_0xf00fb2(0x26c)]((_0x259845,_0x366320)=>{const _0x492b9f=_0xf00fb2;var _0x2243bb;const {id:_0x526e60}=_0x259845,{id:_0x2d98e4,type:_0x250627}=_0x366320,_0x232fbf=(_0x2243bb=_0x259845[_0x492b9f(0x245)])!=null?_0x2243bb:{'actions':null},_0x4a23a5=_0x366320[_0x492b9f(0x245)];if(_0x526e60&&_0x526e60!==_0x2d98e4)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x526e60+_0x492b9f(0x583)+_0x2d98e4+'.');return{..._0x259845,'id':_0x2d98e4,'type':_0x250627,'params':{'unitId':_0x4a23a5[_0x492b9f(0x359)],'textRanges':_0x4a23a5[_0x492b9f(0x5e2)],'actions':a[_0x492b9f(0x482)]['compose'](_0x232fbf[_0x492b9f(0x2b8)],_0x4a23a5[_0x492b9f(0x2b8)])}};},{})],_0x95301c=(_0x49b92c=(_0x19a97d=_0x4557b8['getCurrentUser']())==null?void 0x0:_0x19a97d[_0xf00fb2(0x36d)])!=null?_0x49b92c:_0xf00fb2(0x2de),_0x23dd13=(_0x2387e9=(_0x1d3c13=_0x4557b8[_0xf00fb2(0x616)]())==null?void 0x0:_0x1d3c13[_0xf00fb2(0x1ef)])!=null?_0x2387e9:_0xf00fb2(0x2de);return{'changeset':{'unitID':_0x2f8c69,'type':m[_0xf00fb2(0x57a)](_0x3f99e0[_0xf00fb2(0x38b)](_0x2f8c69)),'baseRev':_0x58b096[_0xf00fb2(0x1bf)](_0x2f8c69),'revision':0x0,'userID':_0x95301c,'memberID':_0x23dd13,'mutations':_0x3d1ef0},'pendingMutations':[]};}function Pi(_0x13eabb,_0x4408e7){const _0xb30e3d=_0x24e421,_0x5bce11=new N[(_0xb30e3d(0x619))](0x1);return setTimeout(()=>_0x5bce11[_0xb30e3d(0x65d)](_0x4408e7),_0x13eabb),_0x5bce11[_0xb30e3d(0x285)]()['pipe'](N[_0xb30e3d(0x1d0)](0x1));}const qn={'id':k[_0x24e421(0x484)]['id'],'type':a[_0x24e421(0x342)]['MUTATION'],'params':{}};var Kn=Object[_0x24e421(0x5bd)],zn=Object[_0x24e421(0x221)],Ee=(_0x38b347,_0x2bda24,_0x5bbad0,_0x284b0d)=>{const _0x17e4ac=_0x24e421;for(var _0x566d4a=_0x284b0d>0x1?void 0x0:_0x284b0d?zn(_0x2bda24,_0x5bbad0):_0x2bda24,_0x36acdc=_0x38b347[_0x17e4ac(0x3c9)]-0x1,_0x500eef;_0x36acdc>=0x0;_0x36acdc--)(_0x500eef=_0x38b347[_0x36acdc])&&(_0x566d4a=(_0x284b0d?_0x500eef(_0x2bda24,_0x5bbad0,_0x566d4a):_0x500eef(_0x566d4a))||_0x566d4a);return _0x284b0d&&_0x566d4a&&Kn(_0x2bda24,_0x5bbad0,_0x566d4a),_0x566d4a;},A=(_0x214a3c,_0x594d01)=>(_0xe8f1e4,_0xddac24)=>_0x594d01(_0xe8f1e4,_0xddac24,_0x214a3c),K=(_0xeb671a=>(_0xeb671a[_0x24e421(0x247)]='not_collab',_0xeb671a[_0x24e421(0x586)]='synced',_0xeb671a['PENDING']=_0x24e421(0x5e7),_0xeb671a['AWAITING']='awaiting',_0xeb671a[_0x24e421(0x2f3)]=_0x24e421(0x413),_0xeb671a[_0x24e421(0x2e3)]=_0x24e421(0x462),_0xeb671a[_0x24e421(0x543)]=_0x24e421(0x5db),_0xeb671a['OFFLINE']=_0x24e421(0x265),_0xeb671a))(K||{});const wi=0xea60;function _0x5e3c(_0x13e912,_0x802136){const _0x13dd45=_0x13dd();return _0x5e3c=function(_0x5e3c3a,_0x1dccad){_0x5e3c3a=_0x5e3c3a-0x1ba;let _0x30a90d=_0x13dd45[_0x5e3c3a];return _0x30a90d;},_0x5e3c(_0x13e912,_0x802136);}class be{constructor(_0x315b8f,_0x546e12,_0x14f80e,_0x54e54d,_0x31df89,_0x289ae8,_0x40eeea,_0x412073,_0x53693a){const _0x41cc84=_0x24e421;I(this,_0x41cc84(0x309),null),I(this,_0x41cc84(0x680),[]),(this[_0x41cc84(0x1cb)]=_0x315b8f,this[_0x41cc84(0x408)]=_0x546e12,this[_0x41cc84(0x1f9)]=_0x31df89,this[_0x41cc84(0x3c0)]=_0x289ae8,this[_0x41cc84(0x57c)]=_0x40eeea,this['_revisionService']=_0x412073,this[_0x41cc84(0x2bc)]=_0x53693a,this['_awaitingChangeset']=_0x14f80e,this['_pendingMutations']=_0x54e54d);}[_0x24e421(0x3ea)](_0x573ae3){const _0x463c4e=_0x24e421,_0x8e0d74=this['_revisionService'][_0x463c4e(0x1bf)](this[_0x463c4e(0x1cb)]);return _0x573ae3[_0x463c4e(0x54f)]>_0x8e0d74+0x1?(this[_0x463c4e(0x1f9)]['onMissingChangesets']({'from':_0x8e0d74,'to':_0x573ae3[_0x463c4e(0x54f)]-0x1}),!0x0):!0x1;}[_0x24e421(0x5a6)](_0x47a8ed){const _0x186731=_0x24e421;this[_0x186731(0x57c)][_0x186731(0x570)](this[_0x186731(0x1cb)],_0x47a8ed);}[_0x24e421(0x27b)](_0x3595da){const _0x5ec9e7=_0x24e421;var _0xba4650,_0x133664;(_0x133664=(_0xba4650=this[_0x5ec9e7(0x1f9)])['onTransformSelections'])==null||_0x133664[_0x5ec9e7(0x546)](_0xba4650,_0x3595da);}[_0x24e421(0x39c)](_0x270a1f){const _0xdd29dd=_0x24e421;var _0x5c8fb1,_0x86d4b8;return(_0x86d4b8=(_0x5c8fb1=this[_0xdd29dd(0x1f9)])[_0xdd29dd(0x1f3)])==null?void 0x0:_0x86d4b8['call'](_0x5c8fb1,_0x270a1f);}[_0x24e421(0x5be)](_0xe875e1){const _0x44058f=_0x24e421;var _0x65a9f2,_0x3ab45c;return(_0x3ab45c=(_0x65a9f2=this['_handler'])[_0x44058f(0x414)])==null?void 0x0:_0x3ab45c[_0x44058f(0x546)](_0x65a9f2,_0xe875e1);}['_transformRemoteChangesetByIMECache'](_0x10c16e){const _0x43f839=_0x24e421;var _0x1bf1b9,_0x330531,_0x2a261e;return(_0x2a261e=(_0x330531=(_0x1bf1b9=this[_0x43f839(0x1f9)])[_0x43f839(0x478)])==null?void 0x0:_0x330531[_0x43f839(0x546)](_0x1bf1b9,_0x10c16e))!=null?_0x2a261e:_0x10c16e;}[_0x24e421(0x5f5)](_0x296c0f){const _0x1edcea=_0x24e421;var _0xfaf943,_0x4e25d2,_0x8060ba;return(_0x8060ba=(_0x4e25d2=(_0xfaf943=this[_0x1edcea(0x1f9)])[_0x1edcea(0x62e)])==null?void 0x0:_0x4e25d2[_0x1edcea(0x546)](_0xfaf943,_0x296c0f))!=null?_0x8060ba:_0x296c0f;}[_0x24e421(0x4b0)](_0x3785f3){const _0x2d69dc=_0x24e421;var _0x191fd5,_0x374a46;if(this[_0x2d69dc(0x408)]===ie[_0x2d69dc(0x5b6)]){const {unitID:_0x156ab8,mutations:_0x16d874,memberID:_0x2cf2eb}=_0x3785f3,_0x304eab=_0x16d874[0x0]['params'][_0x2d69dc(0x5e2)];Array[_0x2d69dc(0x357)](_0x304eab)&&_0x304eab['length']>0x0&&((_0x374a46=(_0x191fd5=this[_0x2d69dc(0x1f9)])[_0x2d69dc(0x3ef)])==null||_0x374a46['call'](_0x191fd5,{'unitID':_0x156ab8,'memberID':_0x2cf2eb,'textRanges':_0x304eab}));}}['_updateLocalCache'](){const _0x2312a9=_0x24e421;this[_0x2312a9(0x2bc)]['updateOfflineData'](this['unitID'],this[_0x2312a9(0x408)],this['_awaitingChangeset'],this[_0x2312a9(0x680)]);}[_0x24e421(0x487)](){const _0x12a5e5=_0x24e421;return this[_0x12a5e5(0x32c)]['getCurrentRevOfUnit'](this[_0x12a5e5(0x1cb)]);}[_0x24e421(0x3ee)](){const _0x120f4f=_0x24e421;this[_0x120f4f(0x32c)][_0x120f4f(0x30f)](this[_0x120f4f(0x1cb)]);}[_0x24e421(0x3d6)](_0x14ad7f){const _0x1d7680=_0x24e421;var _0x439ccb;let _0x15fb4b=this[_0x1d7680(0x396)](_0x14ad7f);_0x15fb4b=this[_0x1d7680(0x5f5)](_0x15fb4b);const _0x16dc89=a[_0x1d7680(0x2f9)](_0x15fb4b[_0x1d7680(0x64d)],this[_0x1d7680(0x3c0)],{'fromCollab':!0x0});if(!_0x16dc89[_0x1d7680(0x3e5)])throw _0x16dc89[_0x1d7680(0x49e)]instanceof Error?_0x16dc89[_0x1d7680(0x49e)]:new Error((_0x439ccb=_0x16dc89[_0x1d7680(0x49e)])!=null?_0x439ccb:_0x1d7680(0x4d0));this['_transformIMECache'](_0x15fb4b),this['_transformStateCache'](_0x15fb4b),this[_0x1d7680(0x5a6)](_0x14ad7f),this['_transformSelections'](_0x15fb4b),this[_0x1d7680(0x4b0)](_0x15fb4b),this[_0x1d7680(0x3ee)]();}}let Oe=class extends be{constructor(_0x559403,_0x1ead0c,_0x5df2ab,_0x1b1c02,_0x5489f2,_0x147e6d,_0x311b22,_0xc44d,_0x26c55d,_0x1ac9bb){const _0x2cf12e=_0x24e421;super(_0x559403,_0x1ead0c,null,[],_0x5df2ab,_0xc44d,_0x311b22,_0x1b1c02,_0x5489f2),I(this,_0x2cf12e(0x597),_0x2cf12e(0x461)),(this[_0x2cf12e(0x5f8)]=_0x147e6d,this['_logService']=_0x26c55d,this[_0x2cf12e(0x3d5)]=_0x1ac9bb);}[_0x24e421(0x56a)](_0x1029de){const _0x1a9438=_0x24e421,_0xd2bb0b=this['_injector']['createInstance'](ae,this[_0x1a9438(0x1cb)],this[_0x1a9438(0x408)],[_0x1029de],this['_handler']);return _0xd2bb0b[_0x1a9438(0x3d9)](),_0xd2bb0b[_0x1a9438(0x5d7)](),_0xd2bb0b;}[_0x24e421(0x622)](_0xef27f9){const _0x1fd319=_0x24e421;if(this[_0x1fd319(0x3ea)](_0xef27f9))return this[_0x1fd319(0x5f8)][_0x1fd319(0x278)](re,this[_0x1fd319(0x1cb)],this[_0x1fd319(0x408)],null,[],null,[_0xef27f9],this[_0x1fd319(0x1f9)]);try{const _0xe61410=this[_0x1fd319(0x3d5)][_0x1fd319(0x5af)](_0xef27f9,[qn]);if(m['isTransformMutationsWithChangesetSuccess'](_0xe61410)){const {c1Prime:_0x5282d2}=_0xe61410;return this[_0x1fd319(0x3d6)](_0x5282d2),this;}throw _0xe61410[_0x1fd319(0x49e)];}catch(_0x21298b){return this[_0x1fd319(0x383)][_0x1fd319(0x49e)](_0x21298b),this['_onConflict'](!0x1);}}[_0x24e421(0x260)](_0x5012dc){const _0x1a230c=_0x24e421;return this[_0x1a230c(0x5f8)]['createInstance'](fe,this[_0x1a230c(0x1cb)],this['type'],null,[],this[_0x1a230c(0x1f9)],_0x5012dc);}[_0x24e421(0x505)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x24e421(0x28a)](){const _0x23965d=_0x24e421;throw new Error(_0x23965d(0x630));}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){const _0x5a5e0f=_0x24e421;return this['_injector'][_0x5a5e0f(0x278)](ve,this[_0x5a5e0f(0x1cb)],this[_0x5a5e0f(0x408)],null,[],this[_0x5a5e0f(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x511f10=_0x24e421,_0x2b1900=this['_revisionService']['getCurrentRevOfUnit'](this[_0x511f10(0x1cb)]);return this[_0x511f10(0x1f9)]['onMissingChangesets']({'from':_0x2b1900,'to':0x0}),this['_injector'][_0x511f10(0x278)](re,this['unitID'],this['type'],null,[],null,[],this[_0x511f10(0x1f9)]);}};Oe=Ee([A(0x3,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x4,a['Inject'](exports[_0x24e421(0x4b2)])),A(0x5,a[_0x24e421(0x52f)](a['Injector'])),A(0x6,a[_0x24e421(0x3fb)]),A(0x7,a[_0x24e421(0x2b1)]),A(0x8,a['ILogService']),A(0x9,m[_0x24e421(0x379)])],Oe);let ae=class extends be{constructor(_0x418f48,_0x5ba5c8,_0x3e0e71,_0x4a7385,_0x139b08,_0x3bdc72,_0x33ee35,_0x46139b,_0x219f22,_0x383072,_0x2f3919,_0x4d409d,_0x497546,_0x9bce4f){const _0x421105=_0x24e421;super(_0x418f48,_0x5ba5c8,null,_0x3e0e71,_0x4a7385,_0x383072,_0x9bce4f,_0x3bdc72,_0x33ee35),I(this,_0x421105(0x597),_0x421105(0x5e7)),I(this,_0x421105(0x3f1),null),I(this,_0x421105(0x566),null),(this[_0x421105(0x5f8)]=_0x139b08,this['_memberService']=_0x46139b,this[_0x421105(0x383)]=_0x219f22,this[_0x421105(0x5c2)]=_0x2f3919,this[_0x421105(0x3d5)]=_0x4d409d,this[_0x421105(0x49f)]=_0x497546);}['appendMutation'](_0x51019c){const _0x419cf4=_0x24e421;return this['_pendingMutations'][_0x419cf4(0x2f8)](_0x51019c),this['_updateLocalCache'](),this;}[_0x24e421(0x622)](_0x13ad5e){const _0x295cfa=_0x24e421;if(this[_0x295cfa(0x3ea)](_0x13ad5e))return this[_0x295cfa(0x27e)](),this[_0x295cfa(0x5f8)][_0x295cfa(0x278)](re,this[_0x295cfa(0x1cb)],this[_0x295cfa(0x408)],null,this[_0x295cfa(0x680)],null,[_0x13ad5e],this['_handler']);try{const _0x18d600=this[_0x295cfa(0x3d5)][_0x295cfa(0x5af)](_0x13ad5e,this[_0x295cfa(0x680)]);if(m[_0x295cfa(0x270)](_0x18d600)){const {c1Prime:_0x2d08f2,m2Prime:_0x3c78ab}=_0x18d600;this[_0x295cfa(0x3d6)](_0x2d08f2);const _0x504201=this[_0x295cfa(0x5f8)][_0x295cfa(0x278)](ae,this[_0x295cfa(0x1cb)],this[_0x295cfa(0x408)],_0x3c78ab,this[_0x295cfa(0x1f9)]);return this[_0x295cfa(0x27e)](),_0x504201['_schedule'](this['_scheduleTimestamp']?Math[_0x295cfa(0x36b)](0x0,new Date()[_0x295cfa(0x621)]()-this[_0x295cfa(0x3f1)]):this['_getSendChangesetTimeout']()),_0x504201;}throw _0x18d600[_0x295cfa(0x49e)];}catch(_0x45c66b){return this['_logService'][_0x295cfa(0x49e)](_0x45c66b),this[_0x295cfa(0x260)](!0x1);}}[_0x24e421(0x505)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x21e572=_0x24e421;throw new Error(_0x21e572(0x647));}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){const _0xb93b8d=_0x24e421;return this['_clearScheduledTask'](),this[_0xb93b8d(0x5f8)][_0xb93b8d(0x278)](ve,this[_0xb93b8d(0x1cb)],this[_0xb93b8d(0x408)],null,this[_0xb93b8d(0x680)],this[_0xb93b8d(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x3d9)](_0x329665){const _0x5bb72d=_0x24e421,_0x57c934=_0x329665!=null?_0x329665:this[_0x5bb72d(0x4d8)]();this[_0x5bb72d(0x3f1)]=new Date()[_0x5bb72d(0x621)](),this['_sendingTimer']=window[_0x5bb72d(0x46a)](()=>{const _0x1808a0=_0x5bb72d;this[_0x1808a0(0x27e)]();let _0x198656=null;switch(this['type']){case ie[_0x1808a0(0x4d1)]:{_0x198656=Gt(this[_0x1808a0(0x680)],this[_0x1808a0(0x1cb)],this[_0x1808a0(0x49f)],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]);break;}case ie['UNIVER_DOC']:{this['_pendingMutations'][_0x1808a0(0x4a1)](_0x277397=>_0x277397['id']===Ie['RichTextEditingMutation']['id'])?_0x198656=Yn(this[_0x1808a0(0x680)],this[_0x1808a0(0x1cb)],this[_0x1808a0(0x49f)],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]):_0x198656=Gt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1808a0(0x32c)],this[_0x1808a0(0x2bf)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1808a0(0x222));}const {changeset:_0x22a81f,pendingMutations:_0x3fd642}=_0x198656;this[_0x1808a0(0x1f9)][_0x1808a0(0x2b3)](_0x22a81f);const _0x3f3b89=_0x3fd642['length']?this[_0x1808a0(0x5f8)]['createInstance'](ce,this[_0x1808a0(0x1cb)],this[_0x1808a0(0x408)],_0x22a81f,_0x3fd642,this['_handler'],void 0x0):this[_0x1808a0(0x5f8)]['createInstance'](de,this['unitID'],this[_0x1808a0(0x408)],_0x22a81f,this[_0x1808a0(0x1f9)]);_0x3f3b89[_0x1808a0(0x5d7)](),this[_0x1808a0(0x1f9)]['onStateChange'](this,_0x3f3b89);},_0x57c934);}[_0x24e421(0x4d8)](){const _0x56afa1=_0x24e421;var _0x3e0bc2;const _0x489f91=this[_0x56afa1(0x5c2)][_0x56afa1(0x447)](Z);return(_0x3e0bc2=_0x489f91==null?void 0x0:_0x489f91[_0x56afa1(0x2a2)])!=null?_0x3e0bc2:zi;}[_0x24e421(0x53b)](){const _0x6ef7f1=_0x24e421;throw new Error(_0x6ef7f1(0x494));}[_0x24e421(0x27e)](){const _0x523391=_0x24e421;this[_0x523391(0x566)]!=null&&(clearTimeout(this[_0x523391(0x566)]),this[_0x523391(0x566)]=null);}[_0x24e421(0x260)](_0x4482c7){const _0x3dbe3c=_0x24e421;return this['_clearScheduledTask'](),this[_0x3dbe3c(0x5f8)][_0x3dbe3c(0x278)](fe,this[_0x3dbe3c(0x1cb)],this[_0x3dbe3c(0x408)],null,this[_0x3dbe3c(0x680)],this[_0x3dbe3c(0x1f9)],_0x4482c7);}};ae=Ee([A(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),A(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x6,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x7,a[_0x24e421(0x52f)](exports[_0x24e421(0x5e4)])),A(0x8,a['ILogService']),A(0x9,a['ICommandService']),A(0xa,a[_0x24e421(0x3ba)]),A(0xb,m[_0x24e421(0x379)]),A(0xc,a[_0x24e421(0x344)]),A(0xd,a['IUndoRedoService'])],ae);let de=class extends be{constructor(_0x107cb4,_0x40ca29,_0x63d7ed,_0x29be42,_0x43071a,_0x4886df,_0x57641f,_0x275a85,_0x3d7f15,_0x3f65c5,_0x2a173e){const _0x52389e=_0x24e421;super(_0x107cb4,_0x40ca29,_0x63d7ed,[],_0x29be42,_0x275a85,_0x2a173e,_0x4886df,_0x57641f),I(this,'status','awaiting'),I(this,_0x52389e(0x220),0x0),I(this,_0x52389e(0x215)),I(this,_0x52389e(0x225)),(this[_0x52389e(0x5f8)]=_0x43071a,this[_0x52389e(0x383)]=_0x3d7f15,this[_0x52389e(0x3d5)]=_0x3f65c5);}[_0x24e421(0x56a)](_0x2666e9){const _0x35af12=_0x24e421;this['_clearScheduledTask']();const _0x3f0cb9=this[_0x35af12(0x5f8)][_0x35af12(0x278)](ce,this['unitID'],this['type'],this[_0x35af12(0x309)],[_0x2666e9],this[_0x35af12(0x1f9)],this['_resendTimer']);return _0x3f0cb9[_0x35af12(0x5d7)](),_0x3f0cb9;}[_0x24e421(0x622)](_0x191c00){const _0x2ff7cf=_0x24e421;if(this[_0x2ff7cf(0x3ea)](_0x191c00))return this[_0x2ff7cf(0x27e)](),this[_0x2ff7cf(0x5f8)][_0x2ff7cf(0x278)](re,this[_0x2ff7cf(0x1cb)],this[_0x2ff7cf(0x408)],this[_0x2ff7cf(0x309)],[],null,[_0x191c00],this[_0x2ff7cf(0x1f9)]);try{const _0x108364=this[_0x2ff7cf(0x3d5)]['transformChangesets']([_0x191c00],[this[_0x2ff7cf(0x309)]],!0x1);if(m[_0x2ff7cf(0x544)](_0x108364)){const {c1Prime:_0x26e345,c2Prime:_0x42721d}=_0x108364;this[_0x2ff7cf(0x3d6)](_0x26e345[0x0]),_0x42721d[0x0][_0x2ff7cf(0x588)]=this[_0x2ff7cf(0x487)](),this[_0x2ff7cf(0x27e)]();const _0x1cffdb=this[_0x2ff7cf(0x5f8)]['createInstance'](de,this[_0x2ff7cf(0x1cb)],this[_0x2ff7cf(0x408)],_0x42721d[0x0],this[_0x2ff7cf(0x1f9)]);return _0x1cffdb[_0x2ff7cf(0x5d7)](),_0x1cffdb;}return this[_0x2ff7cf(0x260)](!0x1);}catch(_0x19edff){return this[_0x2ff7cf(0x383)][_0x2ff7cf(0x49e)](_0x19edff),this[_0x2ff7cf(0x260)](!0x1);}}['onRemoteAck'](_0x38af48){const _0x101060=_0x24e421;this['_clearScheduledTask']();const _0x455844=this[_0x101060(0x32c)]['getCurrentRevOfUnit'](this[_0x101060(0x1cb)]);if(_0x38af48[_0x101060(0x54f)]<_0x455844-0x1)return this;if(this[_0x101060(0x3ea)](_0x38af48))return this[_0x101060(0x5f8)][_0x101060(0x278)](re,this[_0x101060(0x1cb)],this[_0x101060(0x408)],null,[],this[_0x101060(0x309)],[],this[_0x101060(0x1f9)]);this['_incrementRevisionNumber']();const _0x59fcc4=this[_0x101060(0x5f8)][_0x101060(0x278)](Oe,this['unitID'],this[_0x101060(0x408)],this[_0x101060(0x1f9)]);return _0x59fcc4[_0x101060(0x5d7)](),_0x59fcc4;}['onRemoteRej'](_0x59eed2){const _0x350b0c=_0x24e421;return this[_0x350b0c(0x260)](!!(_0x59eed2!=null&&_0x59eed2[_0x350b0c(0x4dd)]));}[_0x24e421(0x2e1)](_0x2c5f5c){const _0x174999=_0x24e421;return this[_0x174999(0x220)]>wi?this[_0x174999(0x5ec)]():(this[_0x174999(0x215)]=Pi(this[_0x174999(0x220)],{'timeout':this[_0x174999(0x220)],'reqId':_0x2c5f5c[_0x174999(0x1db)]}),this[_0x174999(0x225)]=this[_0x174999(0x215)][_0x174999(0x4d3)](({reqId:_0x276328,timeout:_0x1f827d})=>{const _0x3f791e=_0x174999;this[_0x3f791e(0x425)](_0x276328,_0x1f827d);}),this);}[_0x24e421(0x5ec)](){const _0x30ff51=_0x24e421;return this['_clearScheduledTask'](),this['_injector'][_0x30ff51(0x278)](ve,this['unitID'],this[_0x30ff51(0x408)],this[_0x30ff51(0x309)],[],this[_0x30ff51(0x1f9)]);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){const _0x3993e9=_0x24e421;this[_0x3993e9(0x1f9)]['onSendChangeset'](this[_0x3993e9(0x309)]);}['_onConflict'](_0x328e57){const _0x46c9cc=_0x24e421;return this[_0x46c9cc(0x27e)](),this[_0x46c9cc(0x5f8)][_0x46c9cc(0x278)](fe,this[_0x46c9cc(0x1cb)],this['type'],this[_0x46c9cc(0x309)],[],this[_0x46c9cc(0x1f9)],_0x328e57);}[_0x24e421(0x425)](_0x40abbe,_0x4bb292){const _0x4613a9=_0x24e421;var _0x12d08a;_0x40abbe===((_0x12d08a=this[_0x4613a9(0x309)])==null?void 0x0:_0x12d08a[_0x4613a9(0x1db)])&&(this[_0x4613a9(0x53b)](),this[_0x4613a9(0x220)]=_0x4bb292===0x0?0x3e8:_0x4bb292*0x2);}[_0x24e421(0x27e)](){const _0x360050=_0x24e421;var _0x541721;(_0x541721=this[_0x360050(0x225)])==null||_0x541721[_0x360050(0x202)](),this['_resendTimeout']=0x0;}};de=Ee([A(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),A(0x5,a['Inject'](m['RevisionService'])),A(0x6,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x7,a['ICommandService']),A(0x8,a[_0x24e421(0x495)]),A(0x9,m[_0x24e421(0x379)]),A(0xa,a[_0x24e421(0x3fb)])],de);let ce=class extends be{constructor(_0x44a5bb,_0x382776,_0x26c401,_0x37dfe7,_0xa17767,_0x439cce,_0x40ccbe,_0x5acab7,_0x69e113,_0x5bb8e0,_0x21a94a,_0x2cfef9,_0x2d41e9){const _0x26e9fb=_0x24e421;super(_0x44a5bb,_0x382776,_0x26c401,_0x37dfe7,_0xa17767,_0x5bb8e0,_0x2d41e9,_0x5acab7,_0x69e113),I(this,_0x26e9fb(0x597),_0x26e9fb(0x413)),I(this,_0x26e9fb(0x220),0x0),I(this,'_resendTimer'),I(this,_0x26e9fb(0x225)),(this[_0x26e9fb(0x5f8)]=_0x40ccbe,this[_0x26e9fb(0x383)]=_0x21a94a,this['_transformService']=_0x2cfef9,_0x439cce&&(this['_resendTimer']=_0x439cce,this[_0x26e9fb(0x225)]=this['_resendTimer'][_0x26e9fb(0x4d3)](({reqId:_0x465fff,timeout:_0x42f53a})=>{const _0x540f32=_0x26e9fb;this[_0x540f32(0x425)](_0x465fff,_0x42f53a);})));}[_0x24e421(0x56a)](_0x10fad6){const _0x168f09=_0x24e421;return this[_0x168f09(0x680)][_0x168f09(0x2f8)](_0x10fad6),this;}[_0x24e421(0x622)](_0x32c0bc){const _0x47af0f=_0x24e421;if(this['_checkMissing'](_0x32c0bc))return this[_0x47af0f(0x27e)](),this[_0x47af0f(0x5f8)][_0x47af0f(0x278)](re,this[_0x47af0f(0x1cb)],this[_0x47af0f(0x408)],this['_awaitingChangeset'],this[_0x47af0f(0x680)],null,[_0x32c0bc],this[_0x47af0f(0x1f9)]);try{const _0x30b8c0=this[_0x47af0f(0x3d5)][_0x47af0f(0x206)]([_0x32c0bc],[this['_awaitingChangeset']],!0x1);if(m['isTransformChangesetsSuccess'](_0x30b8c0)){const {c1Prime:_0xdca13f,c2Prime:_0x59f3a8}=_0x30b8c0,_0x976fe2=this[_0x47af0f(0x3d5)][_0x47af0f(0x5af)](_0xdca13f[0x0],this[_0x47af0f(0x680)]);if(m[_0x47af0f(0x270)](_0x976fe2)){const {c1Prime:_0x402dd2,m2Prime:_0x4486fe}=_0x976fe2;return this['_executeRemoteChangeset'](_0x402dd2),_0x59f3a8[0x0][_0x47af0f(0x588)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x47af0f(0x5f8)]['createInstance'](ce,this[_0x47af0f(0x1cb)],this[_0x47af0f(0x408)],_0x59f3a8[0x0],_0x4486fe,this[_0x47af0f(0x1f9)],void 0x0);}throw _0x976fe2['error'];}throw _0x30b8c0[_0x47af0f(0x49e)];}catch(_0x12ad36){return this['_logService'][_0x47af0f(0x49e)](_0x12ad36),this[_0x47af0f(0x260)](!0x1);}}['onRemoteAck'](_0x1b49ec){const _0x461cba=_0x24e421;if(this[_0x461cba(0x27e)](),this[_0x461cba(0x3ea)](_0x1b49ec))return this[_0x461cba(0x5f8)][_0x461cba(0x278)](re,this[_0x461cba(0x1cb)],this[_0x461cba(0x408)],null,this[_0x461cba(0x680)],this['_awaitingChangeset'],[],this[_0x461cba(0x1f9)]);this['_incrementRevisionNumber']();const _0x20334d=this[_0x461cba(0x5f8)][_0x461cba(0x278)](ae,this[_0x461cba(0x1cb)],this[_0x461cba(0x408)],this['_pendingMutations'],this[_0x461cba(0x1f9)]);return _0x20334d[_0x461cba(0x3d9)](),_0x20334d['_updateLocalCache'](),_0x20334d;}[_0x24e421(0x28a)](_0x57f0e7){const _0x5cc1e9=_0x24e421;return this[_0x5cc1e9(0x260)](!!(_0x57f0e7!=null&&_0x57f0e7[_0x5cc1e9(0x4dd)]));}[_0x24e421(0x2e1)](_0x56fe94){const _0x273769=_0x24e421;return this[_0x273769(0x220)]>wi?this['toggleOffline']():(this[_0x273769(0x215)]=Pi(this[_0x273769(0x220)],{'timeout':this[_0x273769(0x220)],'reqId':_0x56fe94['reqId']}),this[_0x273769(0x225)]=this[_0x273769(0x215)][_0x273769(0x4d3)](({reqId:_0xf1fa7c,timeout:_0x3b2d17})=>{const _0x4c203f=_0x273769;this[_0x4c203f(0x425)](_0xf1fa7c,_0x3b2d17);}),this);}[_0x24e421(0x5ec)](){const _0x5765c8=_0x24e421;return this[_0x5765c8(0x27e)](),this[_0x5765c8(0x5f8)][_0x5765c8(0x278)](ve,this[_0x5765c8(0x1cb)],this[_0x5765c8(0x408)],this[_0x5765c8(0x309)],this[_0x5765c8(0x680)],this['_handler']);}[_0x24e421(0x22a)](){return this;}[_0x24e421(0x53b)](){const _0x355cb9=_0x24e421;this[_0x355cb9(0x1f9)]['onSendChangeset'](this[_0x355cb9(0x309)]);}['_onConflict'](_0x46ae98){const _0xab0c10=_0x24e421;return this[_0xab0c10(0x27e)](),this[_0xab0c10(0x5f8)][_0xab0c10(0x278)](fe,this['unitID'],this[_0xab0c10(0x408)],null,this[_0xab0c10(0x680)],this[_0xab0c10(0x1f9)],_0x46ae98);}[_0x24e421(0x425)](_0x287d95,_0x4749b3){const _0x374831=_0x24e421;var _0xd589f8;_0x287d95===((_0xd589f8=this[_0x374831(0x309)])==null?void 0x0:_0xd589f8[_0x374831(0x1db)])&&(this['resend'](),this[_0x374831(0x220)]=_0x4749b3===0x0?0x3e8:_0x4749b3*0x2);}[_0x24e421(0x27e)](){const _0x492afa=_0x24e421;var _0x155faf;(_0x155faf=this['_sender'])==null||_0x155faf['unsubscribe'](),this[_0x492afa(0x220)]=0x0;}};ce=Ee([A(0x6,a['Inject'](a[_0x24e421(0x224)])),A(0x7,a['Inject'](m[_0x24e421(0x438)])),A(0x8,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0x9,a['ICommandService']),A(0xa,a[_0x24e421(0x495)]),A(0xb,m[_0x24e421(0x379)]),A(0xc,a[_0x24e421(0x3fb)])],ce);let fe=class extends be{constructor(_0x491831,_0x4862fe,_0x31aeaa,_0x247f7c,_0x110a76,_0x3854dc=!0x1,_0x5035fd,_0x457310,_0x33b10b,_0xd3d8ec,_0x158b86,_0x2235b9,_0x1805fb){const _0x52049a=_0x24e421;super(_0x491831,_0x4862fe,_0x31aeaa,_0x247f7c,_0x110a76,_0x457310,_0x33b10b,_0x158b86,_0xd3d8ec),I(this,'status',_0x52049a(0x5db)),(this[_0x52049a(0x66e)]=_0x3854dc,this[_0x52049a(0x5b4)]=_0x5035fd,this[_0x52049a(0x527)]=_0x2235b9,this['_notificationService']=_0x1805fb,this[_0x52049a(0x1ed)](),this['_clearLocalCache'](),this[_0x52049a(0x1e9)]());}[_0x24e421(0x56a)](){return this;}[_0x24e421(0x622)](){return this;}[_0x24e421(0x505)](){return this;}['onRemoteRej'](){return this;}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){return this;}['toggleOnline'](){return this;}[_0x24e421(0x53b)](){const _0x299826=_0x24e421;throw new Error(_0x299826(0x376));}[_0x24e421(0x37c)](){const _0x28022c=_0x24e421;this[_0x28022c(0x2bc)][_0x28022c(0x594)](this[_0x28022c(0x1cb)],this[_0x28022c(0x408)],null,[]);}[_0x24e421(0x1ed)](){const _0xd4e506=_0x24e421;this[_0xd4e506(0x66e)]?this['_notificationService']['show']({'title':this[_0xd4e506(0x527)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0xd4e506(0x49e),'duration':0x0}):this[_0xd4e506(0x4cb)]['show']({'title':this['_localeService']['t']('conflict.title'),'content':this['_localeService']['t'](_0xd4e506(0x361)),'type':_0xd4e506(0x49e),'duration':0x0});}[_0x24e421(0x1e9)](){const _0x3113fc=_0x24e421;this[_0x3113fc(0x5b4)][_0x3113fc(0x307)](new k[(_0x3113fc(0x674))](this['unitID'])['id'],!0x1);}};fe=Ee([A(0x6,a[_0x24e421(0x52f)](a['IPermissionService'])),A(0x7,a[_0x24e421(0x2b1)]),A(0x8,a[_0x24e421(0x3fb)]),A(0x9,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0xa,a['Inject'](m[_0x24e421(0x438)])),A(0xb,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),A(0xc,ee[_0x24e421(0x229)])],fe);let ve=class extends be{constructor(_0x4e632d,_0x175e32,_0x46f150,_0x42017f,_0x1bc9fc,_0x4c65c8,_0x21ec9c,_0x2d06b9,_0x3a16f4,_0x271b3d){const _0x1a6962=_0x24e421;super(_0x4e632d,_0x175e32,_0x46f150,_0x42017f,_0x1bc9fc,_0x3a16f4,_0x271b3d,_0x21ec9c,_0x2d06b9),I(this,_0x1a6962(0x597),_0x1a6962(0x265)),this[_0x1a6962(0x5f8)]=_0x4c65c8;}[_0x24e421(0x56a)](_0x1a4ef9){const _0x48b4ae=_0x24e421;return this[_0x48b4ae(0x680)][_0x48b4ae(0x2f8)](_0x1a4ef9),this[_0x48b4ae(0x5d7)](),this;}[_0x24e421(0x622)](_0x3b7c2d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x24e421(0x505)](){const _0x301f0e=_0x24e421;throw new Error(_0x301f0e(0x47b));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x24e421(0x2e1)](){return this;}[_0x24e421(0x5ec)](){return this;}['toggleOnline'](){const _0x37cd0c=_0x24e421,{_injector:_0x478364,_pendingMutations:_0xdd0105,_awaitingChangeset:_0x9dcca9,unitID:_0x3a59bf,_handler:_0x401f55,type:_0x1dba93}=this,_0x3bf60f=Ui(_0x478364,_0x3a59bf,_0x1dba93,_0x9dcca9,_0xdd0105,_0x401f55);return _0x3bf60f instanceof ae?_0x3bf60f[_0x37cd0c(0x3d9)]():(_0x3bf60f instanceof ce||_0x3bf60f instanceof de)&&_0x3bf60f[_0x37cd0c(0x53b)](),_0x3bf60f;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ve=Ee([A(0x5,a['Inject'](a[_0x24e421(0x224)])),A(0x6,a['Inject'](m['RevisionService'])),A(0x7,a[_0x24e421(0x52f)](exports['LocalCacheService'])),A(0x8,a[_0x24e421(0x2b1)]),A(0x9,a[_0x24e421(0x3fb)])],ve);let re=class extends be{constructor(_0x258015,_0x51b4de,_0x53117c,_0x4bc9ac,_0x22a99b,_0x428093,_0x2ab382,_0x2ef532,_0x55eda2,_0x35c064,_0x5cce46,_0xc2bc2b,_0x4d437d,_0x3bc4c6){const _0x13ae9d=_0x24e421;super(_0x258015,_0x51b4de,_0x53117c,_0x4bc9ac,_0x2ab382,_0xc2bc2b,_0x4d437d,_0x55eda2,_0x35c064),I(this,_0x13ae9d(0x597),_0x13ae9d(0x462)),(this[_0x13ae9d(0x5d2)]=_0x22a99b,this[_0x13ae9d(0x45b)]=_0x428093,this[_0x13ae9d(0x5f8)]=_0x2ef532,this['_logService']=_0x5cce46,this[_0x13ae9d(0x3d5)]=_0x3bc4c6);}[_0x24e421(0x1e1)](_0x2309cc){const _0xfe8958=_0x24e421;try{const _0x5c36f2=[..._0x2309cc,...this[_0xfe8958(0x45b)]],_0x5db7b1=[this[_0xfe8958(0x309)]||this[_0xfe8958(0x5d2)]]['filter'](_0x175944=>!!_0x175944);let _0x5ad348,_0x4b24ba;if(_0x5db7b1[_0xfe8958(0x3c9)]){const _0x1fa1dc=this[_0xfe8958(0x3d5)][_0xfe8958(0x206)](_0x5c36f2,_0x5db7b1,!0x1);if(!m[_0xfe8958(0x544)](_0x1fa1dc))throw _0x1fa1dc['error'];_0x5ad348=_0x1fa1dc[_0xfe8958(0x254)],_0x4b24ba=_0x1fa1dc[_0xfe8958(0x42a)];}else _0x5ad348=_0x5c36f2,_0x4b24ba=[];let _0xcb5d61=this[_0xfe8958(0x680)];_0x5ad348[_0xfe8958(0x5d1)](_0x3edfd0=>{const _0x38d53a=_0xfe8958;let _0x3353c6;if(_0xcb5d61[_0x38d53a(0x3c9)]){const _0x5decca=this[_0x38d53a(0x3d5)][_0x38d53a(0x5af)](_0x3edfd0,_0xcb5d61);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5decca))throw _0x5decca['error'];_0x3353c6=_0x5decca[_0x38d53a(0x254)],_0xcb5d61=_0x5decca[_0x38d53a(0x365)];}else _0x3353c6=_0x3edfd0;this[_0x38d53a(0x3d6)](_0x3353c6);}),this[_0xfe8958(0x5d2)]&&this[_0xfe8958(0x3ee)](),this[_0xfe8958(0x309)]&&_0x4b24ba[_0xfe8958(0x3c9)]&&(_0x4b24ba[0x0][_0xfe8958(0x588)]=this[_0xfe8958(0x487)]());let _0x1e8993;if(this[_0xfe8958(0x309)]&&_0xcb5d61['length']!==0x0)_0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](ce,this[_0xfe8958(0x1cb)],this['type'],_0x4b24ba[0x0],_0xcb5d61,this[_0xfe8958(0x1f9)],void 0x0);else{if(this['_awaitingChangeset']&&_0xcb5d61['length']===0x0)_0x4b24ba[0x0][_0xfe8958(0x588)]=this[_0xfe8958(0x487)](),_0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](de,this[_0xfe8958(0x1cb)],this['type'],_0x4b24ba[0x0],this[_0xfe8958(0x1f9)]);else{if(_0xcb5d61[_0xfe8958(0x3c9)]!==0x0){const _0x46f700=this['_injector'][_0xfe8958(0x278)](ae,this['unitID'],this[_0xfe8958(0x408)],_0xcb5d61,this[_0xfe8958(0x1f9)]);_0x46f700['_schedule'](),_0x1e8993=_0x46f700;}else _0x1e8993=this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](Oe,this[_0xfe8958(0x1cb)],this[_0xfe8958(0x408)],this[_0xfe8958(0x1f9)]);}}return _0x1e8993[_0xfe8958(0x5d7)](),_0x1e8993;}catch(_0x4a0921){return this['_logService']['error'](_0xfe8958(0x375),_0xfe8958(0x324),_0x4a0921),this[_0xfe8958(0x5f8)][_0xfe8958(0x278)](fe,this[_0xfe8958(0x1cb)],this['type'],this['_awaitingChangeset'],this[_0xfe8958(0x680)],this['_handler'],!0x1);}}[_0x24e421(0x53b)](){const _0x393c7c=_0x24e421;throw new Error(_0x393c7c(0x22e));}[_0x24e421(0x56a)](_0x7cc22e){const _0x5e6144=_0x24e421;return this[_0x5e6144(0x680)][_0x5e6144(0x2f8)](_0x7cc22e),this;}[_0x24e421(0x622)](_0x43b942){const _0x9cc86d=_0x24e421;return this['_queuedRemoteChangesets'][_0x9cc86d(0x2f8)](_0x43b942),this;}[_0x24e421(0x505)](_0x595e3a){const _0x522eef=_0x24e421;if(this[_0x522eef(0x309)])return this[_0x522eef(0x5d2)]=this[_0x522eef(0x309)],this['_awaitingChangeset']=null,this;throw new Error(_0x522eef(0x54d));}[_0x24e421(0x28a)](_0x5bd15c){const _0x198d86=_0x24e421;return this[_0x198d86(0x260)](!!(_0x5bd15c!=null&&_0x5bd15c['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x24e421(0x5ec)](){const _0x2caf63=_0x24e421;return this[_0x2caf63(0x5f8)][_0x2caf63(0x278)](ve,this[_0x2caf63(0x1cb)],this[_0x2caf63(0x408)],this[_0x2caf63(0x309)],this[_0x2caf63(0x680)],this[_0x2caf63(0x1f9)]);}[_0x24e421(0x22a)](){return this;}['_onConflict'](_0x2c4735){const _0x49d2d9=_0x24e421;return this[_0x49d2d9(0x5f8)]['createInstance'](fe,this[_0x49d2d9(0x1cb)],this[_0x49d2d9(0x408)],this['_awaitingChangeset'],this[_0x49d2d9(0x680)],this[_0x49d2d9(0x1f9)],_0x2c4735);}};re=Ee([A(0x7,a['Inject'](a[_0x24e421(0x224)])),A(0x8,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),A(0x9,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),A(0xa,a[_0x24e421(0x495)]),A(0xb,a[_0x24e421(0x2b1)]),A(0xc,a[_0x24e421(0x3fb)]),A(0xd,m[_0x24e421(0x379)])],re);function Ui(_0x37dcbf,_0x622a12,_0xed4a68,_0x302f69,_0x50e8a1,_0x41f508){const _0x27b761=_0x24e421;return _0x302f69&&_0x50e8a1[_0x27b761(0x3c9)]?_0x37dcbf[_0x27b761(0x278)](ce,_0x622a12,_0xed4a68,_0x302f69,_0x50e8a1,_0x41f508,void 0x0):_0x302f69?_0x37dcbf[_0x27b761(0x278)](de,_0x622a12,_0xed4a68,_0x302f69,_0x41f508):_0x50e8a1[_0x27b761(0x3c9)]?_0x37dcbf[_0x27b761(0x278)](ae,_0x622a12,_0xed4a68,_0x50e8a1,_0x41f508):_0x37dcbf['createInstance'](Oe,_0x622a12,_0xed4a68,_0x41f508);}var Xn=Object[_0x24e421(0x5bd)],Jn=Object[_0x24e421(0x221)],Mt=(_0xa7ebc0,_0x324b39,_0x41d3ee,_0x24c794)=>{const _0x33e7c6=_0x24e421;for(var _0x4f4f37=_0x24c794>0x1?void 0x0:_0x24c794?Jn(_0x324b39,_0x41d3ee):_0x324b39,_0x5e63eb=_0xa7ebc0[_0x33e7c6(0x3c9)]-0x1,_0x2cd622;_0x5e63eb>=0x0;_0x5e63eb--)(_0x2cd622=_0xa7ebc0[_0x5e63eb])&&(_0x4f4f37=(_0x24c794?_0x2cd622(_0x324b39,_0x41d3ee,_0x4f4f37):_0x2cd622(_0x4f4f37))||_0x4f4f37);return _0x24c794&&_0x4f4f37&&Xn(_0x324b39,_0x41d3ee,_0x4f4f37),_0x4f4f37;},H=(_0x53c4a3,_0x46a920)=>(_0x5222c5,_0x39f044)=>_0x46a920(_0x5222c5,_0x39f044,_0x53c4a3);exports[_0x24e421(0x2a6)]=class extends a[_0x24e421(0x444)]{constructor(_0xf2cc55,_0x584216,_0x27d105,_0x11d13f,_0x181860,_0x28f756,_0x325e99,_0x3ede25,_0x93e727,_0x14ec5f,_0x461815,_0x30151a,_0x3336f6){const _0x128529=_0x24e421;super(),I(this,_0x128529(0x5a9),new N[(_0x128529(0x43e))](null)),I(this,'state$',this['_state$']['asObservable']()),I(this,'_state'),I(this,_0x128529(0x388),!0x1),I(this,_0x128529(0x5fd),''),I(this,_0x128529(0x3e9),0x0),I(this,'status$',this[_0x128529(0x310)][_0x128529(0x551)](N['map'](_0x3004f6=>_0x3004f6?_0x3004f6[_0x128529(0x597)]:K[_0x128529(0x1cd)]),N[_0x128529(0x218)](0x1))),I(this,_0x128529(0x20f),!0x1),I(this,'_remoteChangesetQueue',[]),(this[_0x128529(0x1cb)]=_0xf2cc55,this[_0x128529(0x3cd)]=_0x584216,this[_0x128529(0x23a)]=_0x27d105,this[_0x128529(0x5f8)]=_0x11d13f,this[_0x128529(0x2bc)]=_0x181860,this[_0x128529(0x3d0)]=_0x28f756,this[_0x128529(0x527)]=_0x325e99,this[_0x128529(0x32c)]=_0x3ede25,this[_0x128529(0x383)]=_0x93e727,this[_0x128529(0x3c0)]=_0x14ec5f,this['_messageService']=_0x461815,this[_0x128529(0x5b4)]=_0x30151a,this[_0x128529(0x4ae)]=_0x3336f6);}get['state'](){return this['_state'];}async[_0x24e421(0x503)](){const _0xa8df85=_0x24e421;if(this[_0xa8df85(0x390)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xa8df85(0x541)]();}['pauseCollaboration'](){const _0x418fdd=_0x24e421;return this[_0x418fdd(0x388)]=!0x0,a[_0x418fdd(0x2a4)](()=>{const _0x3bbc32=_0x418fdd;this[_0x3bbc32(0x388)]=!0x1,this[_0x3bbc32(0x5b7)]();});}[_0x24e421(0x665)](_0x4745c9){const _0x34cfd6=_0x24e421;this['_state']=_0x4745c9,this['_state$'][_0x34cfd6(0x65d)](_0x4745c9);}async[_0x24e421(0x541)](){const _0x1858eb=_0x24e421;var _0x28ac9f;this['_updateState'](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x28ac9f=this[_0x1858eb(0x4ae)])==null||_0x28ac9f['editingUnit'](this['unitID']),this[_0x1858eb(0x244)](this[_0x1858eb(0x4ae)][_0x1858eb(0x600)](this[_0x1858eb(0x1cb)])['subscribe'](_0x26214d=>{const _0x1087a1=_0x1858eb;this['_logService'][_0x1087a1(0x525)](_0x1087a1(0x2ad),_0x1087a1(0x539),_0x26214d),_0x26214d===yi[_0x1087a1(0x4c7)]?(this['_messageService'][_0x1087a1(0x2ba)]({'content':this[_0x1087a1(0x527)]['t'](_0x1087a1(0x58c)),'type':Ce['MessageType']['Warning']}),this[_0x1087a1(0x5b4)][_0x1087a1(0x307)](new k[(_0x1087a1(0x674))](this[_0x1087a1(0x1cb)])['id'],!0x1),this[_0x1087a1(0x5b4)][_0x1087a1(0x20e)](!0x1)):(this[_0x1087a1(0x5b4)][_0x1087a1(0x307)](new k[(_0x1087a1(0x674))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x1087a1(0x20e)](!0x0));})));let _0xcfceea=!0x1;return this[_0x1858eb(0x244)](this[_0x1858eb(0x3cd)][_0x1858eb(0x4f0)][_0x1858eb(0x4d3)](_0x201b5a=>{const _0x536f0c=_0x1858eb;_0x201b5a===ne[_0x536f0c(0x58b)]?this[_0x536f0c(0x3dc)](_0xcfceea):_0x201b5a===ne['OFFLINE']&&(_0xcfceea=!0x0,this[_0x536f0c(0x350)]());})),this['disposeWithMe'](this['session'][_0x1858eb(0x5e0)]['subscribe'](_0x806577=>{const _0x51aac1=_0x1858eb;try{switch(_0x806577['eventID']){case m[_0x51aac1(0x5b3)][_0x51aac1(0x59b)]:{this[_0x51aac1(0x4b7)](m['parseProtocolChangeset'](_0x806577[_0x51aac1(0x25f)]));break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x67a)]:{this['_onRemoteACK'](_0x806577['data']);break;}case m[_0x51aac1(0x5b3)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x5b2)]:{this[_0x51aac1(0x58a)](_0x806577[_0x51aac1(0x25f)]);break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x248)]:{this[_0x51aac1(0x4e6)](_0x806577[_0x51aac1(0x25f)]['changesets']['map'](_0xd32a7b=>m[_0x51aac1(0x250)](_0xd32a7b)));break;}case m[_0x51aac1(0x5b3)][_0x51aac1(0x2d4)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1d7728){throw console[_0x51aac1(0x49e)](_0x51aac1(0x238),_0x1d7728),_0x1d7728;}})),this[_0x1858eb(0x469)];}[_0x24e421(0x207)](){const _0x1cdcb1=_0x24e421;this[_0x1cdcb1(0x20f)]=!0x1;}[_0x24e421(0x286)](){const _0xacbffb=_0x24e421;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xacbffb(0x20f)]=!0x0;}[_0x24e421(0x35e)](_0x58f97d){const _0x15976e=_0x24e421;this['_lockTransition'](),this[_0x15976e(0x665)](this[_0x15976e(0x469)][_0x15976e(0x56a)](_0x58f97d)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x598b49){const _0x3ad2a8=_0x24e421;if(!(_0x598b49['revision']<=this[_0x3ad2a8(0x32c)]['getCurrentRevOfUnit'](this['unitID']))){if(this['_collaborationPaused']){this[_0x3ad2a8(0x475)][_0x3ad2a8(0x2f8)](_0x598b49);return;}this['_applyRemoteChangeset'](_0x598b49);}}['_exhaustRemoteChangesetQueue'](){const _0x2fa79a=_0x24e421;this[_0x2fa79a(0x475)]['forEach'](_0x58a6e6=>this['_applyRemoteChangeset'](_0x58a6e6)),this[_0x2fa79a(0x475)]=[];}['_applyRemoteChangeset'](_0x544bd1){const _0xe24fd1=_0x24e421,_0x4933a=this[_0xe24fd1(0x3d0)]['interceptor'][_0xe24fd1(0x668)](this['_compressMutationService'][_0xe24fd1(0x356)][_0xe24fd1(0x257)]()['COMPRESS_MUTATION_APPLY'])(_0x544bd1[_0xe24fd1(0x64d)],null)||_0x544bd1['mutations'],_0x2d52a4={..._0x544bd1,'mutations':_0x4933a};this[_0xe24fd1(0x286)](),this[_0xe24fd1(0x665)](this[_0xe24fd1(0x469)][_0xe24fd1(0x622)](_0x2d52a4)),this[_0xe24fd1(0x207)]();}[_0x24e421(0x62a)](_0x3ea3d3){const _0x336550=_0x24e421;this[_0x336550(0x286)](),this[_0x336550(0x665)](this['_state'][_0x336550(0x505)](_0x3ea3d3)),this['_unlockTransition']();}[_0x24e421(0x321)](_0x32e248){const _0x4a2ea7=_0x24e421;this['_lockTransition'](),this[_0x4a2ea7(0x665)](this['_state'][_0x4a2ea7(0x28a)](_0x32e248)),this[_0x4a2ea7(0x207)]();}[_0x24e421(0x58a)](_0x481ef5){const _0x55f293=_0x24e421;this[_0x55f293(0x286)](),this[_0x55f293(0x665)](this[_0x55f293(0x469)][_0x55f293(0x2e1)](_0x481ef5)),this['_unlockTransition']();}[_0x24e421(0x4e6)](_0x597400){const _0xe11803=_0x24e421;if(!(this['_state']instanceof re))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x40b2e6=_0x597400['map'](_0x2264b1=>{const _0x5edbfd=_0x5e3c,_0x5e33e9=this[_0x5edbfd(0x3d0)][_0x5edbfd(0x356)][_0x5edbfd(0x668)](this[_0x5edbfd(0x3d0)][_0x5edbfd(0x356)][_0x5edbfd(0x257)]()[_0x5edbfd(0x639)])(_0x2264b1[_0x5edbfd(0x64d)],null)||_0x2264b1['mutations'];return{..._0x2264b1,'mutations':_0x5e33e9};});this[_0xe11803(0x286)](),this[_0xe11803(0x665)](this[_0xe11803(0x469)][_0xe11803(0x1e1)](_0x40b2e6)),this[_0xe11803(0x207)]();}[_0x24e421(0x350)](){const _0x132d35=_0x24e421;this[_0x132d35(0x286)](),this['_updateState'](this[_0x132d35(0x469)][_0x132d35(0x5ec)]()),this[_0x132d35(0x207)]();}[_0x24e421(0x3dc)](_0xb4020a=!0x1){const _0x3175ad=_0x24e421;this[_0x3175ad(0x286)](),this['_updateState'](this[_0x3175ad(0x469)][_0x3175ad(0x22a)]()),this[_0x3175ad(0x207)]();const _0x59c4b2=this[_0x3175ad(0x469)];_0xb4020a&&_0x59c4b2 instanceof Oe&&(this[_0x3175ad(0x286)](),this[_0x3175ad(0x665)](_0x59c4b2[_0x3175ad(0x31f)]()),this[_0x3175ad(0x207)]());}async[_0x24e421(0x5e6)](){return new Promise(_0x261ac4=>{const _0x4bdb24=_0x5e3c;this[_0x4bdb24(0x3cd)]['sessionStatus$'][_0x4bdb24(0x551)](N[_0x4bdb24(0x1d0)](0x1))[_0x4bdb24(0x4d3)](async _0x18897c=>{const _0x8d6cae=_0x4bdb24;_0x261ac4(await this['_createInitialStateImpl'](_0x18897c===ne[_0x8d6cae(0x58b)]));});});}[_0x24e421(0x64f)](){const _0x1dab49=_0x24e421,_0x5a8f64=this[_0x1dab49(0x1cb)];return{'onStateChange':(_0x50b305,_0x1aab06)=>{const _0x83c69e=_0x1dab49;if(_0x50b305!==this[_0x83c69e(0x469)])throw new Error(_0x83c69e(0x508)+_0x50b305[_0x83c69e(0x597)]+_0x83c69e(0x65b)+_0x1aab06[_0x83c69e(0x597)]+'\x0aCurrent:\x20'+this['_state'][_0x83c69e(0x597)]);this[_0x83c69e(0x665)](_0x1aab06);},'onSendChangeset':_0x3b3923=>{const _0x164dbd=_0x1dab49;_0x3b3923['sid']||(_0x3b3923['sid']=this[_0x164dbd(0x5fd)],_0x3b3923[_0x164dbd(0x1db)]=++this['_changesetReqId']);const _0x338db1={'eventID':m[_0x164dbd(0x5b3)][_0x164dbd(0x61f)],'data':{'unitID':_0x3b3923['unitID'],'unitType':this[_0x164dbd(0x23a)],'changeset':_0x3b3923,'memberID':this[_0x164dbd(0x3cd)][_0x164dbd(0x4b1)]()}};this['session'][_0x164dbd(0x325)](_0x338db1,this['unitID']);},'onMissingChangesets':({from:_0x524824,to:_0x1a36de})=>{const _0x50d21d=_0x1dab49;this[_0x50d21d(0x383)]['debug'](_0x50d21d(0x2ad),_0x50d21d(0x420)+_0x524824+_0x50d21d(0x31d)+_0x1a36de);const _0x2ff347={'eventID':m['CollaborationEvent'][_0x50d21d(0x48c)],'data':{'unitID':_0x5a8f64,'unitType':this[_0x50d21d(0x23a)],'from':_0x524824,'to':_0x1a36de}};this[_0x50d21d(0x3cd)][_0x50d21d(0x325)](_0x2ff347,this[_0x50d21d(0x1cb)]);}};}async[_0x24e421(0x204)](_0x4ad63c){const _0x46a26b=_0x24e421;var _0x28b674,_0x2289d6;const _0x1599a3=await this['_localCacheService'][_0x46a26b(0x227)](this[_0x46a26b(0x1cb)]),_0x2f96be=(_0x28b674=_0x1599a3==null?void 0x0:_0x1599a3['mutations'])!=null?_0x28b674:[],_0x591f30=(_0x2289d6=_0x1599a3==null?void 0x0:_0x1599a3['awaitingChangeset'])!=null?_0x2289d6:null,_0x2a4326=!!(_0x591f30!=null&&_0x591f30[_0x46a26b(0x412)])&&!!(_0x591f30!=null&&_0x591f30['reqId']);this['_changesetSessionId']=_0x2a4326?_0x591f30['sid']:On(),this[_0x46a26b(0x3e9)]=_0x2a4326?_0x591f30[_0x46a26b(0x1db)]:0x0;const _0x1a1c77=this['unitID'];try{this[_0x46a26b(0x317)](_0x591f30,_0x2f96be);}catch(_0x56fec8){this[_0x46a26b(0x383)][_0x46a26b(0x49e)](_0x56fec8);}const _0x44c5e3=this[_0x46a26b(0x64f)]();if(_0x4ad63c){const _0x4b344a=Ui(this[_0x46a26b(0x5f8)],_0x1a1c77,this['_type'],_0x591f30,_0x2f96be,_0x44c5e3);return _0x4b344a instanceof ae?_0x4b344a[_0x46a26b(0x3d9)]():(_0x4b344a instanceof ce||_0x4b344a instanceof de)&&_0x4b344a[_0x46a26b(0x53b)](),_0x4b344a;}return this[_0x46a26b(0x5f8)][_0x46a26b(0x278)](ve,_0x1a1c77,this['_type'],_0x591f30,_0x2f96be,_0x44c5e3);}['_replayCachedMutations'](_0x24b7b1,_0xca15a5){const _0xbcfb64=_0x24e421;var _0x2e339a,_0x48f69d;const _0x4d81ac=this[_0xbcfb64(0x3d0)]['interceptor'][_0xbcfb64(0x668)](this[_0xbcfb64(0x3d0)][_0xbcfb64(0x356)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2e339a=_0x4d81ac((_0x24b7b1==null?void 0x0:_0x24b7b1[_0xbcfb64(0x64d)])||[],null))==null||_0x2e339a[_0xbcfb64(0x5d1)](_0x35e80a=>this['_commandService'][_0xbcfb64(0x646)](_0x35e80a['id'],_0x35e80a[_0xbcfb64(0x245)])),(_0x48f69d=_0x4d81ac(_0xca15a5||[],null))==null||_0x48f69d[_0xbcfb64(0x5d1)](_0x3a1b70=>this['_commandService']['executeCommand'](_0x3a1b70['id'],_0x3a1b70[_0xbcfb64(0x245)]));}},exports[_0x24e421(0x2a6)]=Mt([H(0x3,a['Inject'](a[_0x24e421(0x224)])),H(0x4,a[_0x24e421(0x52f)](exports[_0x24e421(0x4b2)])),H(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x565)])),H(0x6,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x495)]),H(0x9,a[_0x24e421(0x2b1)]),H(0xa,ee[_0x24e421(0x402)]),H(0xb,a['IPermissionService']),H(0xc,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x2a6)]),exports[_0x24e421(0x427)]=class extends exports[_0x24e421(0x2a6)]{constructor(_0x130980,_0x27714a,_0x368a1d,_0x1c6a4c,_0x424d8e,_0x453c70,_0x2f6c8e,_0x41238a,_0x3719ad,_0x35c864,_0x3bd96f,_0x39b599,_0x558ca2,_0x2098a1,_0x18945b,_0x34be90,_0x7854ca,_0x5ecbe1){const _0x14988a=_0x24e421;super(_0x130980,_0x368a1d,_0x27714a,_0x1c6a4c,_0x424d8e,_0x453c70,_0x2f6c8e,_0x41238a,_0x2098a1,_0x18945b,_0x34be90,_0x7854ca,_0x5ecbe1),this[_0x14988a(0x1cb)]=_0x130980,this['type']=_0x27714a,this[_0x14988a(0x1dd)]=_0x3719ad,this['_docTransformIMECacheService']=_0x35c864,this[_0x14988a(0x614)]=_0x3bd96f,this[_0x14988a(0x4af)]=_0x39b599,this[_0x14988a(0x531)]=_0x558ca2;}[_0x24e421(0x64f)](){const _0x20b220=_0x24e421,_0x4850d3=super[_0x20b220(0x64f)]();return _0x4850d3[_0x20b220(0x1f3)]=_0x531f74=>this[_0x20b220(0x230)][_0x20b220(0x55a)](_0x531f74),_0x4850d3[_0x20b220(0x414)]=_0x27ba66=>this[_0x20b220(0x614)]['transformStateCache'](_0x27ba66),_0x4850d3[_0x20b220(0x4f4)]=_0x4d41af=>this[_0x20b220(0x4af)]['transformSelections'](_0x4d41af),_0x4850d3[_0x20b220(0x3ef)]=_0x38978f=>this[_0x20b220(0x531)]['syncEditingCollabCursor'](_0x38978f),_0x4850d3['onTransformRemoteChangesetByIMECache']=_0x2b98d7=>this['_docTransformIMECacheService'][_0x20b220(0x4bc)](_0x2b98d7),_0x4850d3['onTransformRemoteChangesetByStateCache']=_0x307596=>this['_docTransformStateCacheService'][_0x20b220(0x4bc)](_0x307596),_0x4850d3;}async[_0x24e421(0x541)](){const _0x554338=_0x24e421,_0x5b71cf=await super[_0x554338(0x541)]();return this['disposeWithMe'](this[_0x554338(0x1dd)][_0x554338(0x38f)]['pipe'](N[_0x554338(0x201)](this[_0x554338(0x362)]))['subscribe'](_0x18e1b2=>{const _0x4cd17b=_0x554338;if(_0x18e1b2==null)return;const {unitId:_0x95966a,redoState:_0x1a3152,commandId:_0x1cce1b}=_0x18e1b2;if(_0x95966a!==this[_0x4cd17b(0x1cb)])return;const _0x1bc86c={'id':_0x1cce1b,'type':a['CommandType'][_0x4cd17b(0x4c5)],'params':{'unitId':_0x95966a,'actions':_0x1a3152['actions'],'textRanges':null}};this['_onLocalMutation'](_0x1bc86c);})),this[_0x554338(0x244)](this[_0x554338(0x3c0)][_0x554338(0x268)]((_0x52ee2a,_0x5d709e)=>{const _0x4d462c=_0x554338;if(_0x52ee2a[_0x4d462c(0x408)]!==a[_0x4d462c(0x342)][_0x4d462c(0x4c5)]||_0x5d709e!=null&&_0x5d709e[_0x4d462c(0x502)]||_0x5d709e!=null&&_0x5d709e[_0x4d462c(0x53e)]||_0x52ee2a['id']===Ie['RichTextEditingMutation']['id'])return;const _0x2e2cb9=_0x52ee2a[_0x4d462c(0x245)];if((_0x2e2cb9==null?void 0x0:_0x2e2cb9[_0x4d462c(0x359)])!==this[_0x4d462c(0x1cb)])return;const _0x5e5c8d=_0x52ee2a,_0x4b3781=this[_0x4d462c(0x3d0)][_0x4d462c(0x356)][_0x4d462c(0x668)](this['_compressMutationService']['interceptor'][_0x4d462c(0x257)]()[_0x4d462c(0x2c0)])([_0x5e5c8d],null)||[_0x5e5c8d];this[_0x4d462c(0x35e)](_0x4b3781[0x0]);})),_0x5b71cf;}},exports[_0x24e421(0x427)]=Mt([H(0x3,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),H(0x4,a['Inject'](exports[_0x24e421(0x4b2)])),H(0x5,a['Inject'](m[_0x24e421(0x565)])),H(0x6,a[_0x24e421(0x52f)](a[_0x24e421(0x468)])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x52f)](J[_0x24e421(0x4e0)])),H(0x9,a[_0x24e421(0x52f)](Ze)),H(0xa,a[_0x24e421(0x52f)](et)),H(0xb,a[_0x24e421(0x52f)](tt)),H(0xc,a[_0x24e421(0x52f)](Ut)),H(0xd,a[_0x24e421(0x495)]),H(0xe,a[_0x24e421(0x2b1)]),H(0xf,ee['IMessageService']),H(0x10,a[_0x24e421(0x637)]),H(0x11,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x427)]),exports[_0x24e421(0x1f1)]=class extends exports[_0x24e421(0x2a6)]{constructor(_0x4ca9c8,_0x3c233c,_0x4fa626,_0x2dfd5c,_0x16f9ed,_0x469aff,_0x4a7d34,_0x2e5afa,_0x39b5e6,_0x42cea6,_0x1d3023,_0x2af58f,_0x966dc7,_0x276858){const _0x3afaff=_0x24e421;super(_0x4ca9c8,_0x4fa626,_0x3c233c,_0x2dfd5c,_0x16f9ed,_0x469aff,_0x4a7d34,_0x2e5afa,_0x42cea6,_0x1d3023,_0x2af58f,_0x966dc7,_0x276858),this['unitID']=_0x4ca9c8,this[_0x3afaff(0x408)]=_0x3c233c,this[_0x3afaff(0x21c)]=_0x39b5e6;}[_0x24e421(0x64f)](){const _0x584fdd=_0x24e421,_0x188789=super[_0x584fdd(0x64f)]();return _0x188789['onTransformSelections']=_0x4ee172=>this['_sheetTransformSelectionsService'][_0x584fdd(0x3ab)](_0x4ee172),_0x188789;}async[_0x24e421(0x541)](){const _0xf3095c=_0x24e421,_0x311f9f=await super['_init']();return this[_0xf3095c(0x244)](this['_commandService'][_0xf3095c(0x268)]((_0x1486c2,_0x4766fe)=>{const _0x43468f=_0xf3095c;if(_0x1486c2[_0x43468f(0x408)]!==a[_0x43468f(0x342)][_0x43468f(0x4c5)]||_0x4766fe!=null&&_0x4766fe[_0x43468f(0x502)]||_0x4766fe!=null&&_0x4766fe['onlyLocal'])return;const _0x53a3a6=_0x1486c2['params'];if((_0x53a3a6==null?void 0x0:_0x53a3a6[_0x43468f(0x359)])!==this[_0x43468f(0x1cb)])return;const _0x273f57=_0x1486c2,_0xa35e47=this[_0x43468f(0x3d0)][_0x43468f(0x356)][_0x43468f(0x668)](this['_compressMutationService']['interceptor'][_0x43468f(0x257)]()[_0x43468f(0x2c0)])([_0x273f57],null)||[_0x273f57];this[_0x43468f(0x35e)](_0xa35e47[0x0]);})),_0x311f9f;}},exports[_0x24e421(0x1f1)]=Mt([H(0x3,a[_0x24e421(0x52f)](a['Injector'])),H(0x4,a[_0x24e421(0x52f)](exports['LocalCacheService'])),H(0x5,a[_0x24e421(0x52f)](m[_0x24e421(0x565)])),H(0x6,a['Inject'](a['LocaleService'])),H(0x7,a[_0x24e421(0x52f)](m[_0x24e421(0x438)])),H(0x8,a[_0x24e421(0x52f)](Qe)),H(0x9,a['ILogService']),H(0xa,a[_0x24e421(0x2b1)]),H(0xb,ee[_0x24e421(0x402)]),H(0xc,a[_0x24e421(0x637)]),H(0xd,a[_0x24e421(0x67d)](at))],exports[_0x24e421(0x1f1)]);var Zn=Object[_0x24e421(0x5bd)],Qn=Object[_0x24e421(0x221)],er=(_0x2dd64d,_0x4a9fb4,_0x4f41b7,_0x95c67)=>{for(var _0x517fca=_0x95c67>0x1?void 0x0:_0x95c67?Qn(_0x4a9fb4,_0x4f41b7):_0x4a9fb4,_0x10204=_0x2dd64d['length']-0x1,_0x7cad16;_0x10204>=0x0;_0x10204--)(_0x7cad16=_0x2dd64d[_0x10204])&&(_0x517fca=(_0x95c67?_0x7cad16(_0x4a9fb4,_0x4f41b7,_0x517fca):_0x7cad16(_0x517fca))||_0x517fca);return _0x95c67&&_0x517fca&&Zn(_0x4a9fb4,_0x4f41b7,_0x517fca),_0x517fca;},dt=(_0x546692,_0x35aecf)=>(_0x1b198a,_0xb37dd3)=>_0x35aecf(_0x1b198a,_0xb37dd3,_0x546692);exports[_0x24e421(0x213)]=class extends a[_0x24e421(0x444)]{constructor(_0x1805d4,_0x41189a,_0x6fc07f){const _0x136a62=_0x24e421;super(),I(this,'_entities',new Map()),I(this,_0x136a62(0x5fc),new N[(_0x136a62(0x5fb))]()),(this['_injector']=_0x1805d4,this['_collabSessionService']=_0x41189a,this['_univerInstanceService']=_0x6fc07f,this[_0x136a62(0x541)]());}[_0x24e421(0x4cc)](){const _0x1f502e=_0x24e421;super['dispose'](),this[_0x1f502e(0x1cc)][_0x1f502e(0x5d1)](_0x5c066f=>_0x5c066f[_0x1f502e(0x4cc)]()),this[_0x1f502e(0x1cc)][_0x1f502e(0x526)]();}[_0x24e421(0x3bb)](_0x57e6b5){const _0x250d30=_0x24e421;var _0x4d5b3f;return(_0x4d5b3f=this[_0x250d30(0x1cc)][_0x250d30(0x1ce)](_0x57e6b5))!=null?_0x4d5b3f:null;}[_0x24e421(0x4fa)](_0x149f70){const _0x3a726b=_0x24e421,_0x741e76=this['getCollabEntity'](_0x149f70);return _0x741e76?N['of'](_0x741e76):this[_0x3a726b(0x5fc)][_0x3a726b(0x551)](V[_0x3a726b(0x3df)](_0x569847=>_0x569847[_0x3a726b(0x1cb)]===_0x149f70));}['_init'](){const _0x350c0d=_0x24e421;this['_univerInstanceService'][_0x350c0d(0x358)](a[_0x350c0d(0x355)][_0x350c0d(0x4d1)])[_0x350c0d(0x551)](N[_0x350c0d(0x201)](this['dispose$']),V[_0x350c0d(0x1f4)](0x10))['subscribe'](async _0x2aae94=>{const _0x259219=_0x350c0d,_0x3fb786=_0x2aae94[_0x259219(0x60a)](),_0x4f52ea=await this['_startCollaboration'](_0x3fb786,ie[_0x259219(0x4d1)]);this[_0x259219(0x1cc)]['set'](_0x3fb786,_0x4f52ea);}),this[_0x350c0d(0x49f)]['getTypeOfUnitAdded$'](a[_0x350c0d(0x355)][_0x350c0d(0x5b6)])[_0x350c0d(0x551)](N[_0x350c0d(0x201)](this[_0x350c0d(0x362)]),V[_0x350c0d(0x1f4)](0x10))[_0x350c0d(0x551)](V[_0x350c0d(0x3df)](_0x5623ee=>!_0x5623ee['getUnitId']()['startsWith']('__')))[_0x350c0d(0x4d3)](async _0x4290f1=>{const _0x409835=_0x350c0d,_0xd7f718=_0x4290f1[_0x409835(0x60a)](),_0x24de00=await this[_0x409835(0x4ea)](_0xd7f718,ie[_0x409835(0x5b6)]);this[_0x409835(0x1cc)][_0x409835(0x44a)](_0xd7f718,_0x24de00);}),N[_0x350c0d(0x51c)](this[_0x350c0d(0x49f)][_0x350c0d(0x645)](a['UniverInstanceType'][_0x350c0d(0x4d1)]),this[_0x350c0d(0x49f)]['getTypeOfUnitDisposed$'](a[_0x350c0d(0x355)][_0x350c0d(0x5b6)]))['pipe'](N['takeUntil'](this[_0x350c0d(0x362)]))[_0x350c0d(0x4d3)](_0x22c3f2=>{const _0x367dbd=_0x350c0d,_0x531223=_0x22c3f2[_0x367dbd(0x60a)](),_0x4e2199=this[_0x367dbd(0x1cc)][_0x367dbd(0x1ce)](_0x531223);_0x4e2199&&(_0x4e2199['dispose'](),this[_0x367dbd(0x1cc)]['delete'](_0x531223));});}async[_0x24e421(0x4ea)](_0x2940bc,_0x216061){const _0x155416=_0x24e421,_0x2cd800=await this['_collabSessionService'][_0x155416(0x25d)](_0x2940bc),_0x21a471=this['_injector'][_0x155416(0x278)](this['_getCtorByUniverType'](_0x216061),_0x2940bc,_0x216061,_0x2cd800);return await _0x21a471[_0x155416(0x503)](),this[_0x155416(0x5fc)][_0x155416(0x65d)](_0x21a471),_0x21a471;}[_0x24e421(0x515)](_0x35199d){const _0x1ce733=_0x24e421;switch(_0x35199d){case ie[_0x1ce733(0x5b6)]:return exports[_0x1ce733(0x427)];case ie[_0x1ce733(0x4d1)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x1ce733(0x1c8)+_0x35199d);}}},exports[_0x24e421(0x213)]=er([dt(0x0,a[_0x24e421(0x52f)](a['Injector'])),dt(0x1,a['Inject'](exports[_0x24e421(0x3b4)])),dt(0x2,a[_0x24e421(0x344)])],exports[_0x24e421(0x213)]);var tr=Object[_0x24e421(0x5bd)],ir=Object[_0x24e421(0x221)],nr=(_0x1f3b59,_0x51ef8a,_0x42b7aa,_0x3160cd)=>{for(var _0x502be9=_0x3160cd>0x1?void 0x0:_0x3160cd?ir(_0x51ef8a,_0x42b7aa):_0x51ef8a,_0x10f6ca=_0x1f3b59['length']-0x1,_0x3c7161;_0x10f6ca>=0x0;_0x10f6ca--)(_0x3c7161=_0x1f3b59[_0x10f6ca])&&(_0x502be9=(_0x3160cd?_0x3c7161(_0x51ef8a,_0x42b7aa,_0x502be9):_0x3c7161(_0x502be9))||_0x502be9);return _0x3160cd&&_0x502be9&&tr(_0x51ef8a,_0x42b7aa,_0x502be9),_0x502be9;},Yt=(_0xfb9f7d,_0x41a331)=>(_0x234864,_0x48351d)=>_0x41a331(_0x234864,_0x48351d,_0xfb9f7d);let it=class extends a[_0x24e421(0x444)]{constructor(_0x530039,_0x512a80){const _0x21ad82=_0x24e421;super(),this[_0x21ad82(0x50f)]=_0x530039,this[_0x21ad82(0x52a)]=_0x512a80,this[_0x21ad82(0x541)]();}[_0x24e421(0x541)](){const _0x2e87d5=_0x24e421,_0x400dbd=this;this[_0x2e87d5(0x244)](this[_0x2e87d5(0x50f)][_0x2e87d5(0x679)]({'onBeforePasteImage':async _0x2cbbbd=>{const _0x28ee42=_0x2e87d5,_0x10053e=await _0x400dbd[_0x28ee42(0x52a)][_0x28ee42(0x354)](_0x2cbbbd);return _0x10053e?{'source':_0x10053e[_0x28ee42(0x55d)],'imageSourceType':_0x10053e[_0x28ee42(0x329)]}:null;}}));}};it=nr([Yt(0x0,J[_0x24e421(0x264)]),Yt(0x1,te[_0x24e421(0x458)])],it);const qt=[_0x24e421(0x63c),'jiqing500','verdancy600',_0x24e421(0x5c8),_0x24e421(0x3c1),_0x24e421(0x240)];class Nt extends a[_0x24e421(0x1fe)]{constructor(){const _0x160189=_0x24e421;super(...arguments),I(this,_0x160189(0x3e6),new Map()),I(this,_0x160189(0x1cf),0x0);}[_0x24e421(0x2d3)](_0xf7e992){const _0x116782=_0x24e421;if(this['_assignedColors']['has'](_0xf7e992))return this['_assignedColors'][_0x116782(0x1ce)](_0xf7e992);const _0x3ec4bb=qt[this[_0x116782(0x1cf)]];return this[_0x116782(0x1cf)]=(this[_0x116782(0x1cf)]+0x1)%qt[_0x116782(0x3c9)],this['_assignedColors'][_0x116782(0x44a)](_0xf7e992,_0x3ec4bb),_0x3ec4bb;}}var rr=Object[_0x24e421(0x5bd)],sr=Object['getOwnPropertyDescriptor'],or=(_0x22873e,_0x109e54,_0x4bd013,_0xaede16)=>{const _0x5acb8b=_0x24e421;for(var _0x22e07d=_0xaede16>0x1?void 0x0:_0xaede16?sr(_0x109e54,_0x4bd013):_0x109e54,_0x7a1ebd=_0x22873e[_0x5acb8b(0x3c9)]-0x1,_0xfa0c3d;_0x7a1ebd>=0x0;_0x7a1ebd--)(_0xfa0c3d=_0x22873e[_0x7a1ebd])&&(_0x22e07d=(_0xaede16?_0xfa0c3d(_0x109e54,_0x4bd013,_0x22e07d):_0xfa0c3d(_0x22e07d))||_0x22e07d);return _0xaede16&&_0x22e07d&&rr(_0x109e54,_0x4bd013,_0x22e07d),_0x22e07d;},pe=(_0x557ec5,_0x254d16)=>(_0x2430ad,_0x15d45c)=>_0x254d16(_0x2430ad,_0x15d45c,_0x557ec5);const ar=0x12c,cr=0x64;let bt=class extends a[_0x24e421(0x444)]{constructor(_0x2627fc,_0x2f7db1,_0x2cd86f,_0x1ba98c,_0x2fee28,_0x1d97c0,_0x20a10a,_0x5f1055,_0x26f1c0){const _0xc2ca7b=_0x24e421;super(),I(this,_0xc2ca7b(0x537),!0x1),I(this,_0xc2ca7b(0x541),!0x1),I(this,_0xc2ca7b(0x382),new N[(_0xc2ca7b(0x43e))](new Map())),I(this,'cursorInfo$',this[_0xc2ca7b(0x382)][_0xc2ca7b(0x285)]()),I(this,'_roomMembers$',new N['BehaviorSubject']([])),I(this,_0xc2ca7b(0x29c),this[_0xc2ca7b(0x3cc)][_0xc2ca7b(0x551)](N[_0xc2ca7b(0x2a1)](ar))),I(this,_0xc2ca7b(0x1fb),a[_0xc2ca7b(0x261)](_0x267bb5=>{const _0x3e1cf8=_0xc2ca7b,_0x3e2fbe={'eventID':m['CollaborationEvent'][_0x3e1cf8(0x591)],'data':{'unitID':this[_0x3e1cf8(0x1cb)],'memberID':this[_0x3e1cf8(0x518)][_0x3e1cf8(0x4b1)](),'selection':Di(_0x267bb5)}};this[_0x3e1cf8(0x518)][_0x3e1cf8(0x325)](_0x3e2fbe,this[_0x3e1cf8(0x1cb)]);},cr)),(this[_0xc2ca7b(0x1cb)]=_0x2627fc,this[_0xc2ca7b(0x518)]=_0x2f7db1,this[_0xc2ca7b(0x5f8)]=_0x2cd86f,this[_0xc2ca7b(0x51d)]=_0x1ba98c,this[_0xc2ca7b(0x2bf)]=_0x2fee28,this[_0xc2ca7b(0x2a7)]=_0x1d97c0,this[_0xc2ca7b(0x3d5)]=_0x20a10a,this['_univerInstanceService']=_0x5f1055,this[_0xc2ca7b(0x3c0)]=_0x26f1c0);}get[_0x24e421(0x3bf)](){const _0xba214a=_0x24e421;return this['_cursorInfo$'][_0xba214a(0x1f2)]();}get[_0x24e421(0x41b)](){const _0x51a6a2=_0x24e421;return this[_0x51a6a2(0x3cc)][_0x51a6a2(0x1f2)]();}[_0x24e421(0x4cc)](){const _0x276de7=_0x24e421;super[_0x276de7(0x4cc)](),this[_0x276de7(0x382)][_0x276de7(0x65d)](new Map()),this[_0x276de7(0x382)][_0x276de7(0x465)](),this[_0x276de7(0x3cc)][_0x276de7(0x65d)]([]),this['_roomMembers$']['complete']();}[_0x24e421(0x503)](){const _0x46d0d3=_0x24e421;this['_init']||(this['_init']=!0x0,this[_0x46d0d3(0x518)][_0x46d0d3(0x4f0)][_0x46d0d3(0x551)](N[_0x46d0d3(0x201)](this[_0x46d0d3(0x362)]))[_0x46d0d3(0x4d3)](_0x274e37=>{const _0x2ffe88=_0x46d0d3;_0x274e37===ne[_0x2ffe88(0x58b)]?this['_toggleOnline']():this[_0x2ffe88(0x350)]();}),this[_0x46d0d3(0x518)]['event$'][_0x46d0d3(0x551)](N['takeUntil'](this[_0x46d0d3(0x362)]))[_0x46d0d3(0x4d3)](_0x44615b=>{const _0x2390f1=_0x46d0d3,_0x2f8aa5=_0x44615b[_0x2390f1(0x3c3)];_0x2f8aa5===m[_0x2390f1(0x5b3)][_0x2390f1(0x591)]&&this['_onCursorUpdate'](_0x44615b),_0x2f8aa5===m[_0x2390f1(0x5b3)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x44615b);}),this[_0x46d0d3(0x244)](this[_0x46d0d3(0x3c0)][_0x46d0d3(0x268)](_0x383aa2=>{const _0x23f8b9=_0x46d0d3,_0x59aff8=_0x383aa2[_0x23f8b9(0x245)];_0x59aff8!=null&&this[_0x23f8b9(0x537)]&&_0x383aa2['id']===Ie[_0x23f8b9(0x457)]['id']&&_0x59aff8[_0x23f8b9(0x359)]===this[_0x23f8b9(0x1cb)]&&_0x59aff8[_0x23f8b9(0x5f9)]===!0x1&&_0x59aff8[_0x23f8b9(0x258)]['length']>0x0&&this[_0x23f8b9(0x1fb)](_0x59aff8['ranges']);})),this['_syncEditingCollabCursorService'][_0x46d0d3(0x326)]['pipe'](N[_0x46d0d3(0x201)](this['dispose$']))[_0x46d0d3(0x4d3)](_0x4d81cf=>{const _0x3d9637=_0x46d0d3;if((_0x4d81cf==null?void 0x0:_0x4d81cf[_0x3d9637(0x1cb)])!==this['unitID'])return;const _0x1c0b2c={'eventID':m['CollaborationEvent'][_0x3d9637(0x591)],'data':_0x4d81cf};this[_0x3d9637(0x59a)](_0x1c0b2c);}),this[_0x46d0d3(0x244)](this[_0x46d0d3(0x3c0)][_0x46d0d3(0x268)](_0x495c1c=>{const _0x3add4d=_0x46d0d3;if(_0x495c1c['params']==null)return;const _0xb8ef8c=_0x495c1c[_0x3add4d(0x245)];if(_0x495c1c['id']!==Ie[_0x3add4d(0x3be)]['id']||_0xb8ef8c[_0x3add4d(0x359)]!==this['unitID'])return;const _0x3bd949={'id':'doc.mutation.rich-text-editing','params':_0xb8ef8c},_0x28b45f=this[_0x3add4d(0x3bf)];for(const [_0x2bb9db,_0x15e52a]of _0x28b45f){const _0x3f6ce1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3add4d(0x1cb)],'actions':null,'textRanges':_0x15e52a[_0x3add4d(0x258)]}},_0xa2b1dc=this[_0x3add4d(0x3d5)][_0x3add4d(0x327)](_0x3bd949,_0x3f6ce1,!0x1);if(m[_0x3add4d(0x3fe)](_0xa2b1dc))throw _0xa2b1dc[_0x3add4d(0x49e)];_0x28b45f[_0x3add4d(0x44a)](_0x2bb9db,{..._0x15e52a,'ranges':_0xa2b1dc[_0x3add4d(0x365)][_0x3add4d(0x245)]['textRanges']});}queueMicrotask(()=>{const _0x5dada3=_0x3add4d;this[_0x5dada3(0x382)][_0x5dada3(0x65d)](_0x28b45f);});})));}[_0x24e421(0x59a)](_0x5666fc){const _0xa56f46=_0x24e421;var _0x152089,_0x230dcb;const {memberID:_0x16db68,selection:_0x4d842b}=_0x5666fc[_0xa56f46(0x25f)],_0xb6c68a=kn(_0x4d842b),_0xf14f19=(_0x230dcb=(_0x152089=this[_0xa56f46(0x2bf)][_0xa56f46(0x40e)](this[_0xa56f46(0x1cb)],_0x16db68))==null?void 0x0:_0x152089['name'])!=null?_0x230dcb:_0xa56f46(0x460),_0x56c02b={'color':this['_colorAssignService'][_0xa56f46(0x2d3)](_0x16db68),'name':_0xf14f19,'ranges':_0xb6c68a},_0x3bc255=this[_0xa56f46(0x3bf)];_0x3bc255[_0xa56f46(0x44a)](_0x16db68,_0x56c02b),this[_0xa56f46(0x382)]['next'](_0x3bc255);}[_0x24e421(0x2f4)](_0x1eef67){const _0x52c75b=_0x24e421,{memberID:_0xf4aed5}=_0x1eef67[_0x52c75b(0x25f)],_0x33e43a=this['cursorInfo'];_0x33e43a['delete'](_0xf4aed5),this[_0x52c75b(0x382)]['next'](_0x33e43a);}[_0x24e421(0x3dc)](){const _0x6edbba=_0x24e421;var _0x37dcd7;if(this[_0x6edbba(0x537)]=!0x0,((_0x37dcd7=this[_0x6edbba(0x49f)][_0x6edbba(0x22c)]())==null?void 0x0:_0x37dcd7['getUnitId']())!==this[_0x6edbba(0x1cb)])return;const _0x2c54cf=this['_injector'][_0x6edbba(0x1ce)](Ie['DocSelectionManagerService'])['getDocRanges']();Array[_0x6edbba(0x357)](_0x2c54cf)&&_0x2c54cf[_0x6edbba(0x3c9)]>0x0&&this['_updateLocalCursor'](_0x2c54cf);}['_toggleOffline'](){this['_online']=!0x1;}};bt=or([pe(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),pe(0x3,a['Inject'](Nt)),pe(0x4,a[_0x24e421(0x52f)](exports[_0x24e421(0x5e4)])),pe(0x5,a['Inject'](Ut)),pe(0x6,m['ITransformService']),pe(0x7,a[_0x24e421(0x344)]),pe(0x8,a[_0x24e421(0x2b1)])],bt);var lr=Object['defineProperty'],hr=Object[_0x24e421(0x221)],_r=(_0x59f0ea,_0x45f645,_0x307f71,_0x2f52d0)=>{for(var _0x4a9830=_0x2f52d0>0x1?void 0x0:_0x2f52d0?hr(_0x45f645,_0x307f71):_0x45f645,_0x273cb2=_0x59f0ea['length']-0x1,_0x1e19a3;_0x273cb2>=0x0;_0x273cb2--)(_0x1e19a3=_0x59f0ea[_0x273cb2])&&(_0x4a9830=(_0x2f52d0?_0x1e19a3(_0x45f645,_0x307f71,_0x4a9830):_0x1e19a3(_0x4a9830))||_0x4a9830);return _0x2f52d0&&_0x4a9830&&lr(_0x45f645,_0x307f71,_0x4a9830),_0x4a9830;},Te=(_0x5b29b1,_0x3556a1)=>(_0x43e88e,_0x2f5953)=>_0x3556a1(_0x43e88e,_0x2f5953,_0x5b29b1);const ur=0x12c,dr=0x64,fr=()=>{let _0x33fd55=[],_0x4f0ca0=!0x1;return _0xdf8ea0=>{const _0x512cef=_0x5e3c;_0x33fd55[_0x512cef(0x2f8)](_0xdf8ea0),_0x4f0ca0||(_0x4f0ca0=!0x0,setTimeout(()=>{const _0x59f0b5=_0x512cef;_0x33fd55[_0x59f0b5(0x5d1)](_0x410ac8=>_0x410ac8()),_0x33fd55=[],_0x4f0ca0=!0x1;}));};};let Tt=class extends a[_0x24e421(0x444)]{constructor(_0xadce01,_0x35aa29,_0x443fde,_0xdb4025,_0xfe9944,_0x524bdd,_0x193129,_0x83316f){const _0x47540e=_0x24e421;super(),I(this,'_online',!0x1),I(this,'_init',!0x1),I(this,'_cursorInfo$',new N[(_0x47540e(0x43e))](new Map())),I(this,_0x47540e(0x235),this[_0x47540e(0x382)][_0x47540e(0x285)]()),I(this,_0x47540e(0x3cc),new N[(_0x47540e(0x43e))]([])),I(this,_0x47540e(0x29c),this[_0x47540e(0x3cc)][_0x47540e(0x551)](N[_0x47540e(0x2a1)](ur))),I(this,'_updateLocalCursor',a['debounce']((_0x351102,_0x53dac1)=>{const _0x586160=_0x47540e,_0x50cc59={'eventID':m['CollaborationEvent'][_0x586160(0x591)],'data':{'unitID':this[_0x586160(0x1cb)],'memberID':this['_session']['getMemberID'](),'selection':$t[_0x586160(0x3f8)](_0x351102,_0x53dac1[_0x586160(0x40b)])}};this[_0x586160(0x518)][_0x586160(0x325)](_0x50cc59,this[_0x586160(0x1cb)]);},dr)),(this[_0x47540e(0x1cb)]=_0xadce01,this[_0x47540e(0x518)]=_0x35aa29,this[_0x47540e(0x5f8)]=_0x443fde,this[_0x47540e(0x51d)]=_0xdb4025,this[_0x47540e(0x2bf)]=_0xfe9944,this[_0x47540e(0x49f)]=_0x524bdd,this[_0x47540e(0x3c0)]=_0x193129,this['_refRangeService']=_0x83316f);}get[_0x24e421(0x3bf)](){const _0x1b7bc3=_0x24e421;return this['_cursorInfo$'][_0x1b7bc3(0x1f2)]();}get[_0x24e421(0x41b)](){const _0x433890=_0x24e421;return this[_0x433890(0x3cc)][_0x433890(0x1f2)]();}[_0x24e421(0x4cc)](){const _0x34c6f2=_0x24e421;super[_0x34c6f2(0x4cc)](),this[_0x34c6f2(0x382)]['next'](new Map()),this[_0x34c6f2(0x382)][_0x34c6f2(0x465)](),this['_roomMembers$'][_0x34c6f2(0x65d)]([]),this[_0x34c6f2(0x3cc)][_0x34c6f2(0x465)]();}['init'](){const _0x1c7096=_0x24e421;this['_init']||(this['_init']=!0x0,this[_0x1c7096(0x518)][_0x1c7096(0x4f0)][_0x1c7096(0x551)](N[_0x1c7096(0x201)](this['dispose$']))[_0x1c7096(0x4d3)](_0x4e413d=>{const _0x212b4e=_0x1c7096;_0x4e413d===ne[_0x212b4e(0x58b)]?this[_0x212b4e(0x3dc)]():this[_0x212b4e(0x350)]();}),this[_0x1c7096(0x518)]['event$'][_0x1c7096(0x551)](N[_0x1c7096(0x201)](this[_0x1c7096(0x362)]))[_0x1c7096(0x4d3)](_0xd79664=>{const _0x5bdf57=_0x1c7096,_0x1e528e=_0xd79664['eventID'];_0x1e528e===m[_0x5bdf57(0x5b3)]['UPDATE_CURSOR']&&this[_0x5bdf57(0x59a)](_0xd79664),_0x1e528e===m[_0x5bdf57(0x5b3)][_0x5bdf57(0x231)]&&this[_0x5bdf57(0x2f4)](_0xd79664);}),this[_0x1c7096(0x426)](),this[_0x1c7096(0x244)](this[_0x1c7096(0x3c0)][_0x1c7096(0x268)](_0x52d533=>{const _0x4dff50=_0x1c7096;if(this[_0x4dff50(0x537)]&&_0x52d533['id']===k['SetSelectionsOperation']['id']&&_0x52d533['params']['unitId']===this[_0x4dff50(0x1cb)]){const _0x3f6d01=_0x52d533[_0x4dff50(0x245)];this['_updateLocalCursor'](_0x3f6d01['subUnitId'],_0x3f6d01[_0x4dff50(0x2f7)][0x0]);}})));}[_0x24e421(0x59a)](_0x15d8c0){const _0x3a25c7=_0x24e421;var _0x4eea79,_0x35530c;const {memberID:_0x354918,selection:_0x35a1da}=_0x15d8c0[_0x3a25c7(0x25f)],{sheetName:_0x2f5cb7,range:_0x3be11a}=$t[_0x3a25c7(0x1c1)](_0x35a1da),_0x18050a={'name':(_0x35530c=(_0x4eea79=this[_0x3a25c7(0x2bf)][_0x3a25c7(0x40e)](this['unitID'],_0x354918))==null?void 0x0:_0x4eea79['name'])!=null?_0x35530c:_0x3a25c7(0x460),'range':this[_0x3a25c7(0x1c3)](_0x2f5cb7,_0x3be11a),'sheetID':_0x2f5cb7,'color':this[_0x3a25c7(0x51d)][_0x3a25c7(0x2d3)](_0x354918),'selection':_0x35a1da},_0x2d8431=this[_0x3a25c7(0x3bf)];_0x2d8431[_0x3a25c7(0x44a)](_0x354918,_0x18050a),this[_0x3a25c7(0x382)][_0x3a25c7(0x65d)](_0x2d8431);}[_0x24e421(0x2f4)](_0x227ef8){const _0x5a1ad8=_0x24e421,{memberID:_0x46bcc5}=_0x227ef8[_0x5a1ad8(0x25f)],_0x1c664c=this['cursorInfo'];_0x1c664c[_0x5a1ad8(0x5ae)](_0x46bcc5),this[_0x5a1ad8(0x382)][_0x5a1ad8(0x65d)](_0x1c664c);}[_0x24e421(0x1c3)](_0x534a45,_0x283dde){const _0x335c12=_0x24e421;var _0x3e1530,_0x41fab4;const _0x16b130=(_0x41fab4=(_0x3e1530=this[_0x335c12(0x49f)][_0x335c12(0x521)](this[_0x335c12(0x1cb)]))==null?void 0x0:_0x3e1530[_0x335c12(0x2ac)](_0x534a45))==null?void 0x0:_0x41fab4[_0x335c12(0x291)]();return(_0x16b130==null?void 0x0:_0x16b130[_0x335c12(0x584)](_0x27214e=>a[_0x335c12(0x3db)][_0x335c12(0x50c)](_0x27214e,_0x283dde)))||_0x283dde;}['_onRefRangeChange'](){const _0x488573=_0x24e421,_0x3b5c54=new a[(_0x488573(0x499))](),_0x5999ff=fr(),_0x1c47b1=()=>{const _0x2cf75d=_0x488573;_0x3b5c54['dispose']();const _0x5cf2cb=(_0x3b3d00,_0x4e0e42,_0x4798dc,_0x280622)=>{const _0x2a1052=_0x5e3c;let _0x443418=[];switch(_0x3b3d00['id']){case k[_0x2a1052(0x205)][_0x2a1052(0x5c4)]:{_0x443418=k['handleDeleteRangeMoveLeft'](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x430)]:{_0x443418=k[_0x2a1052(0x1e6)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x558)]:{_0x443418=k[_0x2a1052(0x336)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['InsertRangeMoveDownCommandId']:{_0x443418=k[_0x2a1052(0x306)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x5ca)]:{_0x443418=k[_0x2a1052(0x480)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['InsertRowCommandId']:{_0x443418=k[_0x2a1052(0x3e4)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x251)]:{_0x443418=k[_0x2a1052(0x2f2)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)][_0x2a1052(0x57b)]:{_0x443418=k[_0x2a1052(0x3d1)](_0x3b3d00,_0x280622);break;}case k[_0x2a1052(0x205)]['RemoveRowCommandId']:{_0x443418=k[_0x2a1052(0x2fc)](_0x3b3d00,_0x280622);break;}}const _0x3ca7aa=k[_0x2a1052(0x1ee)](_0x443418,_0x280622),_0x1d9148=this[_0x2a1052(0x3bf)][_0x2a1052(0x1ce)](_0x4e0e42);if(_0x1d9148&&_0x3ca7aa){const _0xebe52f={..._0x1d9148,'range':_0x3ca7aa};this[_0x2a1052(0x3bf)][_0x2a1052(0x44a)](_0x4e0e42,_0xebe52f),_0x5999ff(()=>{const _0x3fafe4=_0x2a1052,_0x44cf1f=this[_0x3fafe4(0x507)][_0x3fafe4(0x4da)](_0x3ca7aa,_0x242d5f=>(_0x44cf1f[_0x3fafe4(0x4cc)](),_0x5cf2cb(_0x242d5f,_0x4e0e42,_0x4798dc,_0x3ca7aa)));_0x3b5c54['add'](_0x44cf1f);});}return{'redos':[],'undos':[]};};this[_0x2cf75d(0x3bf)][_0x2cf75d(0x5d1)]((_0x37a971,_0x9e8a43)=>{const _0x1ea4f6=_0x2cf75d,{range:_0x45e35d,sheetID:_0x232d3c}=_0x37a971,_0x4a72f3=this[_0x1ea4f6(0x507)][_0x1ea4f6(0x4da)](_0x45e35d,_0x58934f=>(_0x4a72f3[_0x1ea4f6(0x4cc)](),_0x5cf2cb(_0x58934f,_0x9e8a43,_0x232d3c,_0x45e35d)));_0x3b5c54[_0x1ea4f6(0x30a)](_0x4a72f3);});};this['disposeWithMe'](a[_0x488573(0x2a4)](this[_0x488573(0x382)]['subscribe'](()=>{_0x1c47b1();})));}['_toggleOnline'](){const _0x531574=_0x24e421;var _0x478377,_0x404782;if(this[_0x531574(0x537)]=!0x0,((_0x478377=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x478377[_0x531574(0x60a)]())!==this[_0x531574(0x1cb)])return;const _0xa5840d=(_0x404782=this[_0x531574(0x5f8)][_0x531574(0x1ce)](k[_0x531574(0x219)])[_0x531574(0x252)]())==null?void 0x0:_0x404782[0x0],_0x45e93e=this[_0x531574(0x49f)][_0x531574(0x331)](a[_0x531574(0x355)]['UNIVER_SHEET'])[_0x531574(0x5ff)]();_0xa5840d&&_0x45e93e&&this['_updateLocalCursor'](_0x45e93e[_0x531574(0x490)](),_0xa5840d);}[_0x24e421(0x350)](){const _0x5a42ad=_0x24e421;this[_0x5a42ad(0x537)]=!0x1;}};Tt=_r([Te(0x2,a[_0x24e421(0x52f)](a['Injector'])),Te(0x3,a['Inject'](Nt)),Te(0x4,a['Inject'](exports[_0x24e421(0x5e4)])),Te(0x5,a[_0x24e421(0x344)]),Te(0x6,a[_0x24e421(0x2b1)]),Te(0x7,a[_0x24e421(0x52f)](k['RefRangeService']))],Tt);var vr=Object[_0x24e421(0x5bd)],Sr=Object[_0x24e421(0x221)],pr=(_0x3d7bcb,_0x23bf63,_0x18ec12,_0x18d8e9)=>{for(var _0x413b1e=_0x18d8e9>0x1?void 0x0:_0x18d8e9?Sr(_0x23bf63,_0x18ec12):_0x23bf63,_0x36c138=_0x3d7bcb['length']-0x1,_0xce703c;_0x36c138>=0x0;_0x36c138--)(_0xce703c=_0x3d7bcb[_0x36c138])&&(_0x413b1e=(_0x18d8e9?_0xce703c(_0x23bf63,_0x18ec12,_0x413b1e):_0xce703c(_0x413b1e))||_0x413b1e);return _0x18d8e9&&_0x413b1e&&vr(_0x23bf63,_0x18ec12,_0x413b1e),_0x413b1e;},ft=(_0x135271,_0x4ade8e)=>(_0xdf487,_0x1af435)=>_0x4ade8e(_0xdf487,_0x1af435,_0x135271);let ye=class extends a[_0x24e421(0x444)]{constructor(_0x987d30,_0x47912b,_0x4cf572){const _0x315623=_0x24e421;super(),I(this,'_entities',new Map()),I(this,_0x315623(0x5fc),new N[(_0x315623(0x5fb))]()),(this[_0x315623(0x49f)]=_0x987d30,this[_0x315623(0x5f8)]=_0x47912b,this[_0x315623(0x529)]=_0x4cf572,this[_0x315623(0x541)]());}[_0x24e421(0x4cc)](){const _0x21635f=_0x24e421;super[_0x21635f(0x4cc)](),this[_0x21635f(0x5fc)][_0x21635f(0x465)](),this['_entities'][_0x21635f(0x5d1)](_0x17b4e4=>_0x17b4e4['dispose']());}[_0x24e421(0x4ac)](_0x5b5b76){const _0x47caa6=_0x24e421;return this['_entities'][_0x47caa6(0x2b5)](_0x5b5b76)?this[_0x47caa6(0x1cc)][_0x47caa6(0x1ce)](_0x5b5b76)[_0x47caa6(0x235)]:this['_entityInit$']['pipe'](N[_0x47caa6(0x3df)](_0x5ed852=>_0x5ed852[_0x47caa6(0x1cb)]===_0x5b5b76),N[_0x47caa6(0x39e)](_0x1c786d=>_0x1c786d[_0x47caa6(0x235)]));}[_0x24e421(0x541)](){const _0x325155=_0x24e421;this[_0x325155(0x49f)][_0x325155(0x358)](a['UniverInstanceType'][_0x325155(0x4d1)])[_0x325155(0x551)](N[_0x325155(0x201)](this[_0x325155(0x362)]))[_0x325155(0x4d3)](async _0x3cfd3e=>{const _0x3f1aee=_0x325155,_0x2fb012=_0x3cfd3e[_0x3f1aee(0x60a)](),_0x52a4b0=await this['_startSheetCollabCursor'](_0x2fb012);this[_0x3f1aee(0x5fc)]['next'](_0x52a4b0),this[_0x3f1aee(0x1cc)][_0x3f1aee(0x44a)](_0x2fb012,_0x52a4b0);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x325155(0x5b6)])[_0x325155(0x551)](N[_0x325155(0x201)](this['dispose$']))[_0x325155(0x551)](N[_0x325155(0x3df)](_0x5269ca=>!_0x5269ca['getUnitId']()[_0x325155(0x3f6)]('__')))[_0x325155(0x4d3)](async _0x5647f7=>{const _0x3a9e62=_0x325155,_0x486ce1=_0x5647f7[_0x3a9e62(0x60a)](),_0x450a52=await this['_startDocCollabCursor'](_0x486ce1);this[_0x3a9e62(0x5fc)]['next'](_0x450a52),this['_entities'][_0x3a9e62(0x44a)](_0x486ce1,_0x450a52);}),N[_0x325155(0x51c)](this[_0x325155(0x49f)][_0x325155(0x645)](a['UniverInstanceType'][_0x325155(0x5b6)]),this[_0x325155(0x49f)][_0x325155(0x645)](a[_0x325155(0x355)][_0x325155(0x4d1)]))['pipe'](N[_0x325155(0x201)](this[_0x325155(0x362)]))['subscribe'](_0x3eecc7=>{const _0x20ec4d=_0x325155,_0x65d928=_0x3eecc7['getUnitId'](),_0x24666e=this[_0x20ec4d(0x1cc)]['get'](_0x65d928);_0x24666e&&(_0x24666e[_0x20ec4d(0x4cc)](),this['_entities'][_0x20ec4d(0x5ae)](_0x65d928));});}async[_0x24e421(0x585)](_0x860b3f){const _0x5a9545=_0x24e421,_0x483f9d=await this[_0x5a9545(0x529)][_0x5a9545(0x25d)](_0x860b3f),_0x3442c0=this[_0x5a9545(0x5f8)]['createInstance'](Tt,_0x860b3f,_0x483f9d);return _0x3442c0[_0x5a9545(0x503)](),_0x3442c0;}async[_0x24e421(0x466)](_0x8bed38){const _0x19f480=_0x24e421,_0x2f42af=await this[_0x19f480(0x529)][_0x19f480(0x25d)](_0x8bed38),_0x13f71e=this[_0x19f480(0x5f8)][_0x19f480(0x278)](bt,_0x8bed38,_0x2f42af);return _0x13f71e[_0x19f480(0x503)](),_0x13f71e;}};ye=pr([ft(0x0,a[_0x24e421(0x344)]),ft(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),ft(0x2,a[_0x24e421(0x52f)](exports['CollaborationSessionService']))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x143d4d,_0x3f4259){const _0x14d6e9=_0x24e421;let {radius:_0x1ecc30,width:_0x51021e,height:_0x53f5a9}=_0x3f4259;_0x1ecc30=_0x1ecc30!=null?_0x1ecc30:0x0,_0x51021e=_0x51021e!=null?_0x51021e:0x1e,_0x53f5a9=_0x53f5a9!=null?_0x53f5a9:0x1e;let _0x39a2c1=0x0,_0x866048=0x0,_0x4f4afd=0x0;_0x39a2c1=_0x866048=_0x4f4afd=Math[_0x14d6e9(0x1e8)](_0x1ecc30,_0x51021e/0x2,_0x53f5a9/0x2),_0x143d4d[_0x14d6e9(0x385)](),_0x143d4d[_0x14d6e9(0x4bf)](_0x39a2c1,0x0),_0x143d4d['lineTo'](_0x51021e-_0x866048,0x0),_0x143d4d[_0x14d6e9(0x315)](_0x51021e-_0x866048,_0x866048,_0x866048,Math['PI']*0x3/0x2,0x0,!0x1),_0x143d4d['lineTo'](_0x51021e,_0x53f5a9-_0x4f4afd),_0x143d4d[_0x14d6e9(0x315)](_0x51021e-_0x4f4afd,_0x53f5a9-_0x4f4afd,_0x4f4afd,0x0,Math['PI']/0x2,!0x1),_0x143d4d[_0x14d6e9(0x26a)](0x0,_0x53f5a9),_0x143d4d[_0x14d6e9(0x26a)](0x0,_0x39a2c1),_0x143d4d[_0x14d6e9(0x315)](_0x39a2c1,_0x39a2c1,_0x39a2c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x143d4d[_0x14d6e9(0x512)](),_0x3f4259['fill']&&(_0x143d4d[_0x14d6e9(0x27d)](),_0x143d4d[_0x14d6e9(0x644)]=_0x3f4259[_0x14d6e9(0x23d)],_0x3f4259[_0x14d6e9(0x599)]==='evenodd'?_0x143d4d[_0x14d6e9(0x23d)](_0x14d6e9(0x2e6)):_0x143d4d[_0x14d6e9(0x23d)](),_0x143d4d[_0x14d6e9(0x38e)]());}class ct extends Y['Shape']{constructor(_0xe07c3d,_0x2c3f2c){const _0x7858bb=_0x24e421;super(_0xe07c3d,_0x2c3f2c),I(this,_0x7858bb(0x272)),I(this,_0x7858bb(0x3ac)),(this[_0x7858bb(0x272)]=_0x2c3f2c==null?void 0x0:_0x2c3f2c['color'],this[_0x7858bb(0x3ac)]=_0x2c3f2c==null?void 0x0:_0x2c3f2c[_0x7858bb(0x3ac)]);}static[_0x24e421(0x5aa)](_0x28fcc8,_0x5659ba){const _0xab31f5=_0x24e421,{text:_0x54033f,color:_0x237b23}=_0x5659ba;_0x28fcc8['save'](),_0x28fcc8[_0xab31f5(0x485)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x21b71f=_0x28fcc8[_0xab31f5(0x4e5)](_0x54033f)[_0xab31f5(0x2ea)],_0xe47eda=Math[_0xab31f5(0x1e8)](_0x21b71f+0x2*vt,Kt);gr(_0x28fcc8,{'height':xe,'radius':0x4,'width':_0xe47eda,'fill':_0x237b23,'evented':!0x1}),_0x28fcc8[_0xab31f5(0x644)]=_0xab31f5(0x256);const _0x1f77ec=vt,_0x2dc992=xe-mr,_0x38748e=Kt-0x2*vt;if(_0x21b71f>_0x38748e){let _0x3e3c92='',_0x4cbb5a=0x0;for(const _0x888b31 of _0x54033f){const _0x4c3dab=_0x28fcc8['measureText'](_0x888b31)[_0xab31f5(0x2ea)];if(_0x4cbb5a+_0x4c3dab<=_0x38748e-_0x28fcc8[_0xab31f5(0x4e5)](_0xab31f5(0x4f9))[_0xab31f5(0x2ea)])_0x3e3c92+=_0x888b31,_0x4cbb5a+=_0x4c3dab;else{_0x3e3c92+=_0xab31f5(0x4f9);break;}}_0x28fcc8[_0xab31f5(0x403)](_0x3e3c92,_0x1f77ec,_0x2dc992);}else _0x28fcc8[_0xab31f5(0x403)](_0x54033f,_0x1f77ec,_0x2dc992);_0x28fcc8[_0xab31f5(0x38e)]();}[_0x24e421(0x23c)](_0x8a50b0){const _0x9dc2ae=_0x24e421;ct[_0x9dc2ae(0x5aa)](_0x8a50b0,this);}}const St=_0x24e421(0x45d),Ir=_0x24e421(0x4e4),Cr=_0x24e421(0x26e),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0x24e421(0x45e);class zt{constructor(_0x35ad7a,_0x5a5674,_0x27de36,_0x28633c){const _0x3f5f4e=_0x24e421;I(this,_0x3f5f4e(0x3e3),[]),I(this,_0x3f5f4e(0x370),null),I(this,_0x3f5f4e(0x452),null),I(this,'_anchorDot',null),I(this,_0x3f5f4e(0x3a0),null),I(this,'_eventUnsubscribe',null),(this[_0x3f5f4e(0x581)]=_0x35ad7a,this[_0x3f5f4e(0x2a9)]=_0x5a5674,this[_0x3f5f4e(0x3f5)]=_0x27de36,this['_document']=_0x28633c,this['_render']());}set[_0x24e421(0x40c)](_0x1a3dfe){const _0x3007a1=_0x24e421;_0x1a3dfe?(this[_0x3007a1(0x4c2)]&&this[_0x3007a1(0x4c2)]['hide'](),this[_0x3007a1(0x452)]&&this[_0x3007a1(0x452)][_0x3007a1(0x2ba)]()):(this[_0x3007a1(0x4c2)]&&this[_0x3007a1(0x4c2)][_0x3007a1(0x2ba)](),this['_textBubble']&&this[_0x3007a1(0x452)][_0x3007a1(0x2e5)]());}[_0x24e421(0x4cc)](){const _0x3c3796=_0x24e421;for(const _0x31b39b of this[_0x3c3796(0x3e3)])_0x31b39b[_0x3c3796(0x4cc)]();this[_0x3c3796(0x452)]&&this[_0x3c3796(0x452)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x4c2)]&&this[_0x3c3796(0x4c2)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x370)]&&this[_0x3c3796(0x370)][_0x3c3796(0x4cc)](),this[_0x3c3796(0x5d0)]&&this[_0x3c3796(0x5d0)]();}[_0x24e421(0x456)](){const _0x57115b=_0x24e421;var _0x5be172;const {_docSkeleton:_0x504bb1,_document:_0x81019c}=this,{color:_0x582139,name:_0x453d32,ranges:_0xf6a0b8}=this[_0x57115b(0x581)],_0x5cc32f=_0x81019c['getOffsetConfig'](),{docsLeft:_0x40e3cf,docsTop:_0x2173b9}=_0x5cc32f,_0x437be5=new J['NodePositionConvertToCursor'](_0x5cc32f,_0x504bb1);for(const {startOffset:_0x2ca8d7,endOffset:_0x57d44f,rangeType:_0x52d985,segmentId:_0x3add9d,segmentPage:_0x5253cf,collapsed:_0x1db15b,isActive:_0x781a2b}of _0xf6a0b8){const _0x1fe970=_0x504bb1['findNodePositionByCharIndex'](_0x2ca8d7,!0x0,_0x3add9d,_0x5253cf);let _0xab7b36=_0x504bb1[_0x57115b(0x410)](_0x57d44f,!0x0,_0x3add9d,_0x5253cf);if(_0xab7b36==null&&(_0xab7b36=_0x504bb1[_0x57115b(0x410)](_0x57d44f-0x1,!0x1,_0x3add9d,_0x5253cf)),_0x781a2b){const {contentBoxPointGroup:_0x598ab8}=_0x437be5['getRangePointData'](_0xab7b36,_0xab7b36);if(_0x598ab8[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x592)](_0x582139,_0x598ab8,_0x40e3cf,_0x2173b9,_0x453d32),this[_0x57115b(0x5d0)]=this[_0x57115b(0x266)]();}if(_0x1fe970&&_0xab7b36){if(_0x52d985===a[_0x57115b(0x5ba)][_0x57115b(0x5ce)]){const _0x5df075=new J[(_0x57115b(0x384))](_0x5cc32f,_0x504bb1),{pointGroup:_0x319036}=(_0x5be172=_0x5df075[_0x57115b(0x576)](_0x1fe970,_0xab7b36))!=null?_0x5be172:{};if(_0x319036==null||_0x319036[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x377)](_0x582139,_0x319036,_0x40e3cf,_0x2173b9);}else{if(!_0x1db15b){const {borderBoxPointGroup:_0x5661cc}=_0x437be5[_0x57115b(0x576)](_0x1fe970,_0xab7b36);if(_0x5661cc[_0x57115b(0x3c9)]===0x0)continue;this[_0x57115b(0x1c6)](_0x582139,_0x5661cc,_0x40e3cf,_0x2173b9);}}}}}[_0x24e421(0x592)](_0x487350,_0x55fb31,_0x203aab,_0x8ec109,_0x1379e3){const _0x74d374=_0x24e421,_0x258809=this[_0x74d374(0x28e)](_0x55fb31),{left:_0x4e8e91,top:_0x5d214a,height:_0x1ed6e5}=_0x258809,_0x3cf86e=this[_0x74d374(0x681)](),_0x2c4675=br/_0x3cf86e,_0xd69608=new Y[(_0x74d374(0x4df))](St+a['Tools']['generateRandomId'](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109,'height':_0x1ed6e5,'width':Er,'fill':_0x487350||Y[_0x74d374(0x5b8)](a['COLORS'][_0x74d374(0x605)],0x0),'strokeWidth':_0x2c4675,'stroke':Tr,'evented':!0x0});this[_0x74d374(0x370)]=_0xd69608,this[_0x74d374(0x2a9)][_0x74d374(0x615)](_0xd69608,J[_0x74d374(0x5b1)]);const _0x4d945a=new Y['Rect'](St+a[_0x74d374(0x667)]['generateRandomId'](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109-pt/0x2,'height':pt,'width':pt,'fill':_0x487350||Y[_0x74d374(0x5b8)](a[_0x74d374(0x263)][_0x74d374(0x605)],0x0),'strokeWidth':0x0,'stroke':_0x487350||Y['getColor'](a[_0x74d374(0x263)][_0x74d374(0x605)],0x0),'evented':!0x1});this[_0x74d374(0x4c2)]=_0x4d945a,this[_0x74d374(0x2a9)][_0x74d374(0x615)](_0x4d945a,J[_0x74d374(0x5b1)]);const _0x5c1866=new ct(St+a[_0x74d374(0x667)][_0x74d374(0x455)](we),{'left':_0x4e8e91+_0x203aab-_0x2c4675,'top':_0x5d214a+_0x8ec109-xe,'text':_0x1379e3,'color':_0x487350});this[_0x74d374(0x452)]=_0x5c1866,this['_scene']['addObject'](_0x5c1866,J['TEXT_RANGE_LAYER_INDEX']),this[_0x74d374(0x40c)]=!0x1;}[_0x24e421(0x266)](){const _0x26677f=_0x24e421,_0x525583=this[_0x26677f(0x370)][_0x26677f(0x3fa)]['subscribeEvent'](()=>{const _0x937dae=_0x26677f;this[_0x937dae(0x40c)]=!0x0;}),_0x59b5ae=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x47668f=_0x26677f;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x47668f(0x3a0)]=setTimeout(()=>{const _0x30b5df=_0x47668f;this[_0x30b5df(0x40c)]=!0x1;},0x7d0);});return()=>{const _0x52d6ac=_0x26677f;_0x525583[_0x52d6ac(0x202)](),_0x59b5ae[_0x52d6ac(0x202)]();};}[_0x24e421(0x1c6)](_0x1d386a,_0x58ccf7,_0x50cb58,_0x3f2ef7){const _0x3b3196=_0x24e421,_0x4472a3=new a[(_0x3b3196(0x58d))](_0x1d386a)[_0x3b3196(0x37b)](0.2)['toRgbString'](),_0x4ade4b=new Y[(_0x3b3196(0x63a))](Ir+a[_0x3b3196(0x667)]['generateRandomId'](we),{'pointsGroup':_0x58ccf7,'fill':_0x4472a3||Y[_0x3b3196(0x5b8)](a[_0x3b3196(0x263)][_0x3b3196(0x605)],0.2),'left':_0x50cb58,'top':_0x3f2ef7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b3196(0x3e3)]['push'](_0x4ade4b),this['_scene'][_0x3b3196(0x615)](_0x4ade4b,J[_0x3b3196(0x5b1)]);}[_0x24e421(0x377)](_0x418ff8,_0x48102a,_0x26f7da,_0x1e0143){const _0x2ea935=_0x24e421,_0xcaca6=new a[(_0x2ea935(0x58d))](_0x418ff8)[_0x2ea935(0x37b)](0.2)['toRgbString'](),_0x476699=new Y[(_0x2ea935(0x63a))](Cr+a[_0x2ea935(0x667)][_0x2ea935(0x455)](we),{'pointsGroup':_0x48102a,'fill':_0xcaca6||Y[_0x2ea935(0x5b8)](a[_0x2ea935(0x263)]['black'],0.2),'left':_0x26f7da,'top':_0x1e0143,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ea935(0x3e3)]['push'](_0x476699),this[_0x2ea935(0x2a9)]['addObject'](_0x476699,J[_0x2ea935(0x5b1)]);}[_0x24e421(0x28e)](_0xb62baf){const _0x44339f=_0xb62baf[0x0],_0x16f049=_0x44339f[0x0],_0x4c8e2c=_0x44339f[0x2],{x:_0x3459b6,y:_0x50b582}=_0x16f049,{x:_0x2bab89,y:_0x51ff61}=_0x4c8e2c;return{'left':_0x3459b6,'top':_0x50b582,'width':_0x2bab89-_0x3459b6,'height':_0x51ff61-_0x50b582};}['_getScale'](){const _0x1f2eb2=_0x24e421,{scaleX:_0x3ef808,scaleY:_0xb640e0}=this[_0x1f2eb2(0x2a9)][_0x1f2eb2(0x640)]();return Math[_0x1f2eb2(0x36b)](_0x3ef808,_0xb640e0);}}var Rr=Object[_0x24e421(0x5bd)],Or=Object[_0x24e421(0x221)],yr=(_0x39eadd,_0x48a7ac,_0x51b0f3,_0x51eb72)=>{const _0x438cf2=_0x24e421;for(var _0x2c64de=_0x51eb72>0x1?void 0x0:_0x51eb72?Or(_0x48a7ac,_0x51b0f3):_0x48a7ac,_0x478f9f=_0x39eadd[_0x438cf2(0x3c9)]-0x1,_0x53ba05;_0x478f9f>=0x0;_0x478f9f--)(_0x53ba05=_0x39eadd[_0x478f9f])&&(_0x2c64de=(_0x51eb72?_0x53ba05(_0x48a7ac,_0x51b0f3,_0x2c64de):_0x53ba05(_0x2c64de))||_0x2c64de);return _0x51eb72&&_0x2c64de&&Rr(_0x48a7ac,_0x51b0f3,_0x2c64de),_0x2c64de;},je=(_0x151760,_0x1ac2b7)=>(_0x3cf510,_0x5b7089)=>_0x1ac2b7(_0x3cf510,_0x5b7089,_0x151760);let Rt=class extends a[_0x24e421(0x444)]{constructor(_0x4dffd6,_0xae2c04,_0x540648,_0x469928,_0x4e12ac){const _0x459e10=_0x24e421;super(),I(this,_0x459e10(0x416),[]),I(this,_0x459e10(0x330),[]),(this['_context']=_0x4dffd6,this[_0x459e10(0x1ea)]=_0xae2c04,this[_0x459e10(0x535)]=_0x540648,this[_0x459e10(0x3c0)]=_0x469928,this[_0x459e10(0x5ad)]=_0x4e12ac,this['_init']());}['_init'](){const _0x1c9b2c=_0x24e421,_0x4a0fe9=this[_0x1c9b2c(0x363)][_0x1c9b2c(0x359)],_0x56b894=this[_0x1c9b2c(0x1ea)];this[_0x1c9b2c(0x244)](N[_0x1c9b2c(0x516)]([this[_0x1c9b2c(0x535)][_0x1c9b2c(0x4ac)](_0x4a0fe9),this['_themeService'][_0x1c9b2c(0x335)]])[_0x1c9b2c(0x551)](V['map'](([_0x4af078,_0x285ef1])=>({'skeleton':_0x56b894['getSkeleton'](),'cursors':[..._0x4af078['values']()][_0x1c9b2c(0x404)](_0x354468=>({..._0x354468,'color':_0x285ef1[_0x354468[_0x1c9b2c(0x272)]]}))})))[_0x1c9b2c(0x4d3)](_0x55f1c9=>{const _0x3660ec=_0x1c9b2c;if(this[_0x3660ec(0x2be)](),_0x55f1c9){const {skeleton:_0x5a670,cursors:_0x5db7a4}=_0x55f1c9;this[_0x3660ec(0x311)](_0x5a670,_0x5db7a4);}})),this[_0x1c9b2c(0x2c4)](),this[_0x1c9b2c(0x4de)]();}[_0x24e421(0x311)](_0x5e0916,_0x46cf95){const _0x1087aa=_0x24e421,{scene:_0xcc36a0,mainComponent:_0x47d61e}=this['_context'],_0x4179e1=_0x46cf95['map'](_0x20c0b3=>new zt(_0x20c0b3,_0xcc36a0,_0x5e0916,_0x47d61e));this['_cursorShapes']=_0x4179e1,this[_0x1087aa(0x330)]=_0x46cf95;}[_0x24e421(0x4ce)](){const _0xb7bef3=_0x24e421;this['_removeCollabCursors']();const {scene:_0x46df8c,mainComponent:_0xe2b79}=this[_0xb7bef3(0x363)],_0x4423cd=this[_0xb7bef3(0x1ea)][_0xb7bef3(0x43f)](),_0xf6c1ea=this['_cursors'][_0xb7bef3(0x49a)](_0x37e10b=>new zt(_0x37e10b,_0x46df8c,_0x4423cd,_0xe2b79));this[_0xb7bef3(0x416)]=_0xf6c1ea;}[_0x24e421(0x2be)](){const _0x4985ed=_0x24e421;this[_0x4985ed(0x416)][_0x4985ed(0x5d1)](_0x26bc80=>_0x26bc80[_0x4985ed(0x4cc)]()),this['_cursorShapes']=[];}[_0x24e421(0x4de)](){const _0x17b0f5=_0x24e421,_0x3f091d=[J['SetDocZoomRatioOperation']['id']];this[_0x17b0f5(0x244)](this['_commandService'][_0x17b0f5(0x268)](_0x5b099c=>{const _0x376c67=_0x17b0f5;_0x3f091d[_0x376c67(0x1da)](_0x5b099c['id'])&&_0x5b099c[_0x376c67(0x245)][_0x376c67(0x359)]===this['_context'][_0x376c67(0x359)]&&this[_0x376c67(0x4ce)]();}));}[_0x24e421(0x2c4)](){const _0x4bd280=_0x24e421;this[_0x4bd280(0x244)](a[_0x4bd280(0x3a7)](this[_0x4bd280(0x363)]['engine'][_0x4bd280(0x655)])[_0x4bd280(0x551)](V[_0x4bd280(0x3df)](_0x3ab880=>_0x3ab880[_0x4bd280(0x408)]===Y['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4bd280(0x431)]),V[_0x4bd280(0x5b5)](0x10))[_0x4bd280(0x4d3)](()=>{const _0x5ae47e=_0x4bd280;this[_0x5ae47e(0x4ce)]();}));}};Rt=yr([je(0x1,a['Inject'](Ie[_0x24e421(0x522)])),je(0x2,a['Inject'](ye)),je(0x3,a[_0x24e421(0x2b1)]),je(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x3da)]))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y[_0x24e421(0x405)]{constructor(_0x21dd30,_0x41e4e1){const _0x1d070d=_0x24e421;super(_0x21dd30,_0x41e4e1),I(this,_0x1d070d(0x378)),I(this,_0x1d070d(0x1d1),!0x1),I(this,_0x1d070d(0x3d4)),I(this,_0x1d070d(0x4ef),''),I(this,_0x1d070d(0x579),_0x1d070d(0x1ff)),I(this,_0x1d070d(0x5e9)),(_0x41e4e1&&this['setShapeProps'](_0x41e4e1),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x1d070d(0x657)]({'hovered':!0x0})),this[_0x1d070d(0x46f)][_0x1d070d(0x589)](()=>this[_0x1d070d(0x657)]({'hovered':!0x1})));}['setShapeProps'](_0x10b217){const _0x38e036=_0x24e421;var _0x2f12ff,_0x59aa1e,_0x4aea5b,_0x1b1f08,_0x14a334,_0x23b48f;this['_color']=(_0x2f12ff=_0x10b217[_0x38e036(0x272)])!=null?_0x2f12ff:this[_0x38e036(0x378)],this[_0x38e036(0x1d1)]=(_0x59aa1e=_0x10b217[_0x38e036(0x1dc)])!=null?_0x59aa1e:this[_0x38e036(0x1d1)],this[_0x38e036(0x3d4)]=(_0x4aea5b=_0x10b217[_0x38e036(0x40b)])!=null?_0x4aea5b:this[_0x38e036(0x3d4)],this[_0x38e036(0x4ef)]=(_0x1b1f08=_0x10b217[_0x38e036(0x57f)])!=null?_0x1b1f08:this[_0x38e036(0x4ef)],this[_0x38e036(0x579)]=(_0x14a334=_0x10b217[_0x38e036(0x2fd)])!=null?_0x14a334:this[_0x38e036(0x579)],this[_0x38e036(0x5e9)]=(_0x23b48f=_0x10b217[_0x38e036(0x4c8)])!=null?_0x23b48f:this[_0x38e036(0x5e9)],this[_0x38e036(0x664)]({'width':_0x10b217[_0x38e036(0x2ea)],'height':_0x10b217[_0x38e036(0x5b9)]});}[_0x24e421(0x34a)](_0x1adbe4){const _0x2a697c=_0x24e421,{row:_0x321451,column:_0xd31f63}=_0x1adbe4;if(_0x321451>=this[_0x2a697c(0x3d4)]['startRow']&&_0x321451<=this[_0x2a697c(0x3d4)][_0x2a697c(0x28c)]&&_0xd31f63>=this[_0x2a697c(0x3d4)]['startColumn']&&_0xd31f63<=this[_0x2a697c(0x3d4)][_0x2a697c(0x2ef)]){this[_0x2a697c(0x657)]({'hovered':!0x0});return;}this[_0x2a697c(0x657)]({'hovered':!0x1});}[_0x24e421(0x63d)](_0x3d8de6){return!0x1;}[_0x24e421(0x23c)](_0x51fc45){const _0x3decf1=_0x24e421;Y[_0x3decf1(0x4df)][_0x3decf1(0x5aa)](_0x51fc45,{'width':this['width'],'height':this[_0x3decf1(0x5b9)],'strokeWidth':Pr,'stroke':this[_0x3decf1(0x378)],'evented':!0x1,'fill':this[_0x3decf1(0x5e9)]}),this[_0x3decf1(0x1d1)]&&(_0x51fc45[_0x3decf1(0x27d)](),_0x51fc45[_0x3decf1(0x334)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x3decf1(0x29d)?0x0:-xe),ct[_0x3decf1(0x5aa)](_0x51fc45,{'text':this[_0x3decf1(0x4ef)],'color':this[_0x3decf1(0x378)]}),_0x51fc45['restore']());}}var wr=Object['defineProperty'],Ur=Object[_0x24e421(0x221)],Mr=(_0x54ce7e,_0xe0a4bf,_0x146351,_0x3b4153)=>{for(var _0xda89fb=_0x3b4153>0x1?void 0x0:_0x3b4153?Ur(_0xe0a4bf,_0x146351):_0xe0a4bf,_0x1d0868=_0x54ce7e['length']-0x1,_0x176fc8;_0x1d0868>=0x0;_0x1d0868--)(_0x176fc8=_0x54ce7e[_0x1d0868])&&(_0xda89fb=(_0x3b4153?_0x176fc8(_0xe0a4bf,_0x146351,_0xda89fb):_0x176fc8(_0xda89fb))||_0xda89fb);return _0x3b4153&&_0xda89fb&&wr(_0xe0a4bf,_0x146351,_0xda89fb),_0xda89fb;},mt=(_0x96ecb,_0x4ee0c0)=>(_0x2cbb08,_0x4fe249)=>_0x4ee0c0(_0x2cbb08,_0x4fe249,_0x96ecb);const Nr=0x1389;let Ot=class extends a[_0x24e421(0x444)]{constructor(_0x5ae953,_0xcca509,_0x3952f6,_0x1428fc){const _0x524d62=_0x24e421;super(),I(this,_0x524d62(0x330),new Set()),I(this,_0x524d62(0x5bf),null),(this[_0x524d62(0x363)]=_0x5ae953,this['_sheetSkeletonManagerService']=_0xcca509,this[_0x524d62(0x535)]=_0x3952f6,this['_themeService']=_0x1428fc,this[_0x524d62(0x541)]());}[_0x24e421(0x541)](){const _0x49b6e5=_0x24e421;this[_0x49b6e5(0x301)]['currentSkeleton$'][_0x49b6e5(0x551)](V[_0x49b6e5(0x201)](this[_0x49b6e5(0x362)]),V['switchMap'](_0x59eb1a=>{const _0x88b915=_0x49b6e5;if(_0x59eb1a){const _0x653a61=_0x59eb1a[_0x88b915(0x65a)];return N[_0x88b915(0x516)](this['_collabCursorController'][_0x88b915(0x4ac)](this['_context']['unitId']),this[_0x88b915(0x5ad)][_0x88b915(0x335)])[_0x88b915(0x551)](V[_0x88b915(0x49a)](([_0x229754,_0x1844aa])=>{const _0x212c68=_0x88b915,_0x455f87=new Map();return _0x229754[_0x212c68(0x5d1)]((_0x179fc9,_0x339f67)=>{const _0x2c0e41=_0x212c68;if(_0x179fc9['sheetID']===_0x653a61){const _0x47b42e={..._0x179fc9};_0x47b42e[_0x2c0e41(0x272)]=_0x1844aa[_0x179fc9['color']],_0x455f87[_0x2c0e41(0x44a)](_0x339f67,_0x47b42e);}}),{'skeleton':_0x59eb1a,'cursors':_0x455f87};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))[_0x49b6e5(0x4d3)](({skeleton:_0x34962a,cursors:_0x5cec1b})=>{const _0x3fad6c=_0x49b6e5;this[_0x3fad6c(0x2be)](),_0x34962a&&this[_0x3fad6c(0x311)](_0x34962a,_0x5cec1b);}),this['_sheetSkeletonManagerService'][_0x49b6e5(0x436)][_0x49b6e5(0x4d3)](_0x2eb510=>{const _0x158d64=_0x49b6e5;if(_0x2eb510==null)return;const {skeleton:_0x2063e2}=_0x2eb510,{scene:_0x2a759a}=this['_context'];_0x2a759a[_0x158d64(0x4a4)][_0x158d64(0x589)](a[_0x158d64(0x261)](_0x1d71b6=>{const _0x2b31e0=_0x158d64;var _0x49234b,_0x596946;const {offsetX:_0x353592,offsetY:_0x43933e}=_0x1d71b6,{x:_0xf37fdc,y:_0x4fcf24}=_0x2a759a[_0x2b31e0(0x2b6)](Y['Vector2']['FromArray']([_0x353592,_0x43933e])),{scaleX:_0x1589e7,scaleY:_0x38201f}=_0x2a759a[_0x2b31e0(0x640)](),_0x5612c0=_0x2a759a['getViewport'](Y[_0x2b31e0(0x5d6)][_0x2b31e0(0x2b4)]),_0x28e2ee=_0x2a759a[_0x2b31e0(0x2e7)](Y['Vector2'][_0x2b31e0(0x275)]([_0xf37fdc,_0x4fcf24]),_0x5612c0),_0x5a3ade=_0x2063e2[_0x2b31e0(0x4fb)](_0x353592,_0x43933e,_0x1589e7,_0x38201f,_0x28e2ee);((_0x49234b=this[_0x2b31e0(0x5bf)])==null?void 0x0:_0x49234b[_0x2b31e0(0x604)])===_0x5a3ade[_0x2b31e0(0x604)]&&((_0x596946=this['_lastPointer'])==null?void 0x0:_0x596946['row'])===_0x5a3ade['row']||this['_cursors'][_0x2b31e0(0x5d1)](_0x46ffbb=>{const _0x249ad2=_0x2b31e0;_0x46ffbb[_0x249ad2(0x34a)](_0x5a3ade);});},0x64));});}[_0x24e421(0x311)](_0x7d3e33,_0x3daf5b){const _0xbf2763=_0x24e421;var _0x576a91;const _0x1f5ff3=(_0x576a91=this[_0xbf2763(0x301)][_0xbf2763(0x542)]())==null?void 0x0:_0x576a91[_0xbf2763(0x239)];if(!_0x1f5ff3)return;const _0x4f0ae1=this['_getSheetObject']();if(!_0x4f0ae1)return;this[_0xbf2763(0x330)][_0xbf2763(0x5d1)](_0x4176ed=>{_0x4176ed['makeDirty']();});const {scene:_0x3b2bd2}=_0x4f0ae1,_0x41fe65=Ar(Array['from'](_0x3daf5b[_0xbf2763(0x39d)]()))[_0xbf2763(0x49a)](_0xb1eabb=>{const _0x43cfe3=_0xbf2763,{color:_0x89c11c,range:_0x59d09c,name:_0x5d2969,selection:_0x786602,sheetID:_0x3b7272}=_0xb1eabb,{startColumn:_0x3c19c4,startRow:_0x58f7c4,endColumn:_0x1aa448,endRow:_0x101fed}=_0x59d09c,_0x55fd48=Le['getCoordByCell'](_0x58f7c4,_0x3c19c4,_0x3b2bd2,_0x1f5ff3),_0x32db15=Le[_0x43cfe3(0x287)](_0x101fed,_0x1aa448,_0x3b2bd2,_0x1f5ff3),{columnHeaderHeightAndMarginTop:_0x312ca3}=_0x1f5ff3,{startX:_0x2eaa38,startY:_0x19e5f4}=_0x55fd48,{endX:_0x3cf53e,endY:_0x3c3588}=_0x32db15,_0x5f3e40=_0x3cf53e-_0x2eaa38,_0x3e57e1=_0x3c3588-_0x19e5f4,_0x3b6d40={'labelPosition':_0x19e5f4-_0x312ca3>=xe?_0x43cfe3(0x1ff):_0x43cfe3(0x29d),'sheetID':_0x3b7272,'range':_0x59d09c,'color':_0x89c11c,'name':_0x5d2969,'selection':_0x786602,'left':_0x2eaa38,'top':_0x19e5f4,'width':_0x5f3e40,'height':_0x3e57e1,'evented':!0x1,'zIndex':Nr};return new Mi(_0x5d2969,_0x3b6d40);});_0x3b2bd2[_0xbf2763(0x417)](_0x41fe65,Dr),this['_cursors']=new Set(_0x41fe65);}[_0x24e421(0x2be)](){const _0x28ec01=_0x24e421;var _0x293506;(_0x293506=this[_0x28ec01(0x330)])==null||_0x293506['forEach'](_0x4e9b1a=>_0x4e9b1a['dispose']());}[_0x24e421(0x39a)](){const _0x1dba78=_0x24e421;return Le[_0x1dba78(0x673)](this['_context'][_0x1dba78(0x38d)],this[_0x1dba78(0x363)]);}};Ot=Mr([mt(0x1,a['Inject'](Le[_0x24e421(0x492)])),mt(0x2,a[_0x24e421(0x52f)](ye)),mt(0x3,a[_0x24e421(0x52f)](a[_0x24e421(0x3da)]))],Ot);function Ar(_0x5244ef){const _0x480b6e=_0x24e421,_0x29abc6=new Map();return _0x5244ef['forEach'](_0x422149=>{const _0x4de9fd=_0x5e3c;if(_0x29abc6[_0x4de9fd(0x2b5)](_0x422149[_0x4de9fd(0x429)])){const _0x28a356=_0x29abc6[_0x4de9fd(0x1ce)](_0x422149[_0x4de9fd(0x429)]);_0x28a356['name']+=',\x20'+_0x422149[_0x4de9fd(0x57f)];}else _0x29abc6[_0x4de9fd(0x44a)](_0x422149[_0x4de9fd(0x429)],_0x422149);}),Array[_0x480b6e(0x48a)](_0x29abc6[_0x480b6e(0x39d)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x51e3c2){const _0x101547=_0x24e421;return _0x51e3c2&&_0x51e3c2[_0x101547(0x441)]&&Object['prototype'][_0x101547(0x1bb)][_0x101547(0x546)](_0x51e3c2,_0x101547(0x1d8))?_0x51e3c2[_0x101547(0x1d8)]:_0x51e3c2;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x525872=_0x24e421;if(Xt)return Ue;Xt=0x1;var _0x570ab8=oe,_0x349c6b=Symbol[_0x525872(0x371)](_0x525872(0x2eb)),_0x2996f9=Symbol[_0x525872(0x371)](_0x525872(0x2bb)),_0x4d716c=Object[_0x525872(0x367)][_0x525872(0x1bb)],_0x5234ff=_0x570ab8['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x525872(0x648)],_0x28e86e={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5df6d1(_0x43a214,_0x22a6e3,_0x35d5a4){const _0x3fefe9=_0x525872;var _0x584aa0,_0x2bd8cd={},_0x1786d7=null,_0x467a7b=null;_0x35d5a4!==void 0x0&&(_0x1786d7=''+_0x35d5a4),_0x22a6e3[_0x3fefe9(0x5ab)]!==void 0x0&&(_0x1786d7=''+_0x22a6e3['key']),_0x22a6e3[_0x3fefe9(0x279)]!==void 0x0&&(_0x467a7b=_0x22a6e3[_0x3fefe9(0x279)]);for(_0x584aa0 in _0x22a6e3)_0x4d716c[_0x3fefe9(0x546)](_0x22a6e3,_0x584aa0)&&!_0x28e86e[_0x3fefe9(0x1bb)](_0x584aa0)&&(_0x2bd8cd[_0x584aa0]=_0x22a6e3[_0x584aa0]);if(_0x43a214&&_0x43a214['defaultProps']){for(_0x584aa0 in(_0x22a6e3=_0x43a214[_0x3fefe9(0x68a)],_0x22a6e3))_0x2bd8cd[_0x584aa0]===void 0x0&&(_0x2bd8cd[_0x584aa0]=_0x22a6e3[_0x584aa0]);}return{'$$typeof':_0x349c6b,'type':_0x43a214,'key':_0x1786d7,'ref':_0x467a7b,'props':_0x2bd8cd,'_owner':_0x5234ff[_0x3fefe9(0x3b7)]};}return Ue['Fragment']=_0x2996f9,Ue[_0x525872(0x284)]=_0x5df6d1,Ue[_0x525872(0x530)]=_0x5df6d1,Ue;}var Jt;function xr(){const _0x583a0f=_0x24e421;return Jt||(Jt=0x1,It['exports']=Lr()),It[_0x583a0f(0x432)];}var me=xr(),Q=function(){const _0xa43bb7=_0x24e421;return Q=Object['assign']||function(_0x2cc223){const _0x507cf0=_0x5e3c;for(var _0x3490a4,_0x122ad9=0x1,_0x2056cd=arguments[_0x507cf0(0x3c9)];_0x122ad9<_0x2056cd;_0x122ad9++){_0x3490a4=arguments[_0x122ad9];for(var _0x48ec24 in _0x3490a4)Object[_0x507cf0(0x367)]['hasOwnProperty'][_0x507cf0(0x546)](_0x3490a4,_0x48ec24)&&(_0x2cc223[_0x48ec24]=_0x3490a4[_0x48ec24]);}return _0x2cc223;},Q[_0xa43bb7(0x463)](this,arguments);},$r=function(_0x25d8ea,_0x531851){const _0x3c49af=_0x24e421;var _0x54e7a2={};for(var _0x4a75a7 in _0x25d8ea)Object['prototype'][_0x3c49af(0x1bb)][_0x3c49af(0x546)](_0x25d8ea,_0x4a75a7)&&_0x531851['indexOf'](_0x4a75a7)<0x0&&(_0x54e7a2[_0x4a75a7]=_0x25d8ea[_0x4a75a7]);if(_0x25d8ea!=null&&typeof Object[_0x3c49af(0x63e)]==_0x3c49af(0x2e0)){for(var _0x532cfc=0x0,_0x4a75a7=Object['getOwnPropertySymbols'](_0x25d8ea);_0x532cfc<_0x4a75a7[_0x3c49af(0x3c9)];_0x532cfc++)_0x531851[_0x3c49af(0x653)](_0x4a75a7[_0x532cfc])<0x0&&Object[_0x3c49af(0x367)]['propertyIsEnumerable'][_0x3c49af(0x546)](_0x25d8ea,_0x4a75a7[_0x532cfc])&&(_0x54e7a2[_0x4a75a7[_0x532cfc]]=_0x25d8ea[_0x4a75a7[_0x532cfc]]);}return _0x54e7a2;},At=oe['forwardRef'](function(_0x1479e0,_0x484550){const _0x3f44bd=_0x24e421;var _0x40239c=_0x1479e0[_0x3f44bd(0x1e7)],_0x5ed80c=_0x1479e0['id'],_0x5a4b1b=_0x1479e0[_0x3f44bd(0x629)],_0x2e1ef6=_0x1479e0[_0x3f44bd(0x3a1)],_0x3fb642=$r(_0x1479e0,['icon','id',_0x3f44bd(0x629),_0x3f44bd(0x3a1)]),_0x488982=_0x3f44bd(0x4e3)[_0x3f44bd(0x437)](_0x5ed80c,'\x20')['concat'](_0x5a4b1b||'')[_0x3f44bd(0x670)](),_0x1ca162=oe['useRef']('_'[_0x3f44bd(0x437)](Br()));return Ni(_0x40239c,''[_0x3f44bd(0x437)](_0x5ed80c),{'defIds':_0x40239c[_0x3f44bd(0x27a)],'idSuffix':_0x1ca162[_0x3f44bd(0x3b7)]},Q({'ref':_0x484550,'className':_0x488982},_0x3fb642),_0x2e1ef6);});function Ni(_0x2fb140,_0x2f364d,_0x1bab1f,_0x3dc3d2,_0x2ca56b){const _0x50e01b=_0x24e421;return oe[_0x50e01b(0x445)](_0x2fb140[_0x50e01b(0x5d9)],Q(Q({'key':_0x2f364d},jr(_0x2fb140,_0x1bab1f,_0x2ca56b)),_0x3dc3d2),(Hr(_0x2fb140,_0x1bab1f)['children']||[])[_0x50e01b(0x49a)](function(_0x3a7629,_0x785914){const _0x55e24d=_0x50e01b;return Ni(_0x3a7629,''['concat'](_0x2f364d,'-')[_0x55e24d(0x437)](_0x2fb140['tag'],'-')['concat'](_0x785914),_0x1bab1f,void 0x0,_0x2ca56b);}));}function jr(_0x1f3ef2,_0xd7298e,_0x4bf9af){const _0x48d444=_0x24e421;var _0x706179=Q({},_0x1f3ef2['attrs']);_0x4bf9af!=null&&_0x4bf9af[_0x48d444(0x4e7)]&&_0x706179[_0x48d444(0x23d)]===_0x48d444(0x4e7)&&(_0x706179[_0x48d444(0x23d)]=_0x4bf9af['colorChannel1']);var _0x487aa3=_0xd7298e[_0x48d444(0x27a)];return!_0x487aa3||_0x487aa3[_0x48d444(0x3c9)]===0x0||(_0x1f3ef2[_0x48d444(0x5d9)]===_0x48d444(0x42e)&&_0x706179[_0x48d444(0x3ae)]&&(_0x706179[_0x48d444(0x3ae)]=_0x706179[_0x48d444(0x3ae)]+_0xd7298e[_0x48d444(0x5c5)]),Object[_0x48d444(0x506)](_0x706179)[_0x48d444(0x5d1)](function(_0x4ebb65){const _0x2f8cbe=_0x48d444;var _0x3029f4=_0x4ebb65[0x0],_0x3dc269=_0x4ebb65[0x1];typeof _0x3dc269=='string'&&(_0x706179[_0x3029f4]=_0x3dc269[_0x2f8cbe(0x304)](/url\(#(.*)\)/,_0x2f8cbe(0x5bb)[_0x2f8cbe(0x437)](_0xd7298e[_0x2f8cbe(0x5c5)],')')));})),_0x706179;}function Hr(_0x3eff3a,_0x27fbd5){const _0x5cd1=_0x24e421;var _0x3cfb46,_0x51cb65=_0x27fbd5[_0x5cd1(0x27a)];return!_0x51cb65||_0x51cb65[_0x5cd1(0x3c9)]===0x0?_0x3eff3a:_0x3eff3a[_0x5cd1(0x5d9)]===_0x5cd1(0x683)&&(!((_0x3cfb46=_0x3eff3a[_0x5cd1(0x628)])===null||_0x3cfb46===void 0x0)&&_0x3cfb46['length'])?Q(Q({},_0x3eff3a),{'children':_0x3eff3a['children'][_0x5cd1(0x49a)](function(_0x35494f){const _0x5664d1=_0x5cd1;return typeof _0x35494f[_0x5664d1(0x4fe)]['id']=='string'&&_0x51cb65&&_0x51cb65[_0x5664d1(0x653)](_0x35494f['attrs']['id'])>-0x1?Q(Q({},_0x35494f),{'attrs':Q(Q({},_0x35494f[_0x5664d1(0x4fe)]),{'id':_0x35494f[_0x5664d1(0x4fe)]['id']+_0x27fbd5['idSuffix']})}):_0x35494f;})}):_0x3eff3a;}function Br(){const _0x5de03b=_0x24e421;return Math['random']()[_0x5de03b(0x347)](0x24)[_0x5de03b(0x2e4)](0x2,0x8);}At['displayName']=_0x24e421(0x49d);var kr={'tag':'svg','attrs':{'fill':_0x24e421(0x51e),'viewBox':'0\x200\x2016\x2016','width':_0x24e421(0x267),'height':_0x24e421(0x267)},'children':[{'tag':'g','attrs':{'clipPath':_0x24e421(0x2ae)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'stroke':_0x24e421(0x418),'d':_0x24e421(0x41e),'strokeLinecap':_0x24e421(0x223),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24e421(0x53f),'attrs':{'id':_0x24e421(0x48b)},'children':[{'tag':'path','attrs':{'fill':_0x24e421(0x488),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x24e421(0x48b)]},Ai=oe[_0x24e421(0x638)](function(_0x2da3e2,_0x5e656c){const _0x58e524=_0x24e421;return oe[_0x58e524(0x445)](At,Object[_0x58e524(0x587)]({},_0x2da3e2,{'id':'off-line-single','ref':_0x5e656c,'icon':kr}));});Ai['displayName']=_0x24e421(0x60e);var Wr={'tag':_0x24e421(0x395),'attrs':{'fill':'none','viewBox':_0x24e421(0x555),'width':_0x24e421(0x267),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x24e421(0x467)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'stroke':_0x24e421(0x418),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x24e421(0x223),'strokeLinejoin':_0x24e421(0x223),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24e421(0x53f),'attrs':{'id':_0x24e421(0x56c)},'children':[{'tag':_0x24e421(0x55e),'attrs':{'fill':_0x24e421(0x488),'d':_0x24e421(0x2c1),'transform':_0x24e421(0x1de)}}]}]}],'defIds':[_0x24e421(0x56c)]},Li=oe[_0x24e421(0x638)](function(_0x374460,_0x1a6443){const _0x1bae15=_0x24e421;return oe[_0x1bae15(0x445)](At,Object[_0x1bae15(0x587)]({},_0x374460,{'id':_0x1bae15(0x322),'ref':_0x1a6443,'icon':Wr}));});Li['displayName']=_0x24e421(0x5ac);function xi(_0x1a6b9e){const _0x1855a6=_0x24e421;var _0x7fa473,_0x3a0b55,_0x2b49f4='';if(typeof _0x1a6b9e==_0x1855a6(0x64c)||typeof _0x1a6b9e==_0x1855a6(0x226))_0x2b49f4+=_0x1a6b9e;else{if(typeof _0x1a6b9e==_0x1855a6(0x67e)){if(Array[_0x1855a6(0x357)](_0x1a6b9e)){var _0x50a6d2=_0x1a6b9e['length'];for(_0x7fa473=0x0;_0x7fa473<_0x50a6d2;_0x7fa473++)_0x1a6b9e[_0x7fa473]&&(_0x3a0b55=xi(_0x1a6b9e[_0x7fa473]))&&(_0x2b49f4&&(_0x2b49f4+='\x20'),_0x2b49f4+=_0x3a0b55);}else{for(_0x3a0b55 in _0x1a6b9e)_0x1a6b9e[_0x3a0b55]&&(_0x2b49f4&&(_0x2b49f4+='\x20'),_0x2b49f4+=_0x3a0b55);}}}return _0x2b49f4;}function Fr(){const _0x23c9b5=_0x24e421;for(var _0x3344ee,_0xd87702,_0x670cab=0x0,_0x56375c='',_0x42f1d7=arguments[_0x23c9b5(0x3c9)];_0x670cab<_0x42f1d7;_0x670cab++)(_0x3344ee=arguments[_0x670cab])&&(_0xd87702=xi(_0x3344ee))&&(_0x56375c&&(_0x56375c+='\x20'),_0x56375c+=_0xd87702);return _0x56375c;}const Vr=_0x24e421(0x672),Gr=_0x24e421(0x26b),Yr='univer-online-status',qr=_0x24e421(0x550),Kr=_0x24e421(0x5c1),Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0x2c2f86){const _0x4b44af=_0x24e421;switch(_0x2c2f86){case K[_0x4b44af(0x1cd)]:return'collabStatus.offline';case K[_0x4b44af(0x543)]:return'collabStatus.conflict';case K[_0x4b44af(0x2e3)]:return _0x4b44af(0x4e8);case K[_0x4b44af(0x247)]:return _0x4b44af(0x631);case K[_0x4b44af(0x31c)]:case K[_0x4b44af(0x2f3)]:return _0x4b44af(0x343);case K[_0x4b44af(0x586)]:case K[_0x4b44af(0x689)]:return _0x4b44af(0x423);}}function $i(_0x2e20d1){const _0x44e7da=_0x24e421,{status$:_0x2411cf}=_0x2e20d1,_0x2e827e=ee['useObservable'](_0x2411cf,K['NOT_COLLAB']),_0x8f7b0=a[_0x44e7da(0x2b7)](a['LocaleService']),_0x43f4c3=a[_0x44e7da(0x2b7)](exports[_0x44e7da(0x3b4)]),_0x59e7b3=_0x2e827e!==K[_0x44e7da(0x1cd)],_0x379a45=_0x8f7b0['t'](zr(_0x2e827e)),_0x1968ba=Fr(Me[_0x44e7da(0x548)],{[Me[_0x44e7da(0x660)]]:_0x59e7b3,[Me[_0x44e7da(0x265)]]:!_0x59e7b3}),_0x1bb512=_0x59e7b3?me['jsx'](Li,{}):me[_0x44e7da(0x284)](Ai,{}),_0x5c3c0a=oe[_0x44e7da(0x411)](()=>{_0x59e7b3||_0x43f4c3['reconnect']();},[_0x59e7b3,_0x43f4c3]);function _0x2e93b4(){const _0x39743c=_0x44e7da;return me[_0x39743c(0x530)]('div',{'className':_0x1968ba,'onClick':_0x5c3c0a,'children':[me[_0x39743c(0x284)](_0x39743c(0x654),{'className':Me['onlineStatusIcon'],'children':_0x1bb512}),me[_0x39743c(0x284)](_0x39743c(0x654),{'className':Me[_0x39743c(0x32b)],'children':_0x379a45})]});}return _0x59e7b3?_0x2e93b4():me['jsx'](Ce['Tooltip'],{'title':_0x8f7b0['t'](_0x44e7da(0x5f7)),'children':_0x2e93b4()});}var Xr=Object[_0x24e421(0x5bd)],Jr=Object[_0x24e421(0x221)],Zr=(_0x2c87f0,_0x12e10c,_0x583942,_0x26248b)=>{const _0x12a5c7=_0x24e421;for(var _0x385015=_0x26248b>0x1?void 0x0:_0x26248b?Jr(_0x12e10c,_0x583942):_0x12e10c,_0x24d1c9=_0x2c87f0[_0x12a5c7(0x3c9)]-0x1,_0x39028f;_0x24d1c9>=0x0;_0x24d1c9--)(_0x39028f=_0x2c87f0[_0x24d1c9])&&(_0x385015=(_0x26248b?_0x39028f(_0x12e10c,_0x583942,_0x385015):_0x39028f(_0x385015))||_0x385015);return _0x26248b&&_0x385015&&Xr(_0x12e10c,_0x583942,_0x385015),_0x385015;},He=(_0x3f54c8,_0x89bf36)=>(_0x172837,_0x433849)=>_0x89bf36(_0x172837,_0x433849,_0x3f54c8);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x24e421(0x1fe)]{constructor(_0x53b18b,_0x11f67f,_0x23b6ce,_0x22819b){const _0x502c77=_0x24e421;super(),I(this,'_status$',new N[(_0x502c77(0x43e))](K['NOT_COLLAB'])),(this[_0x502c77(0x49f)]=_0x53b18b,this[_0x502c77(0x392)]=_0x11f67f,this[_0x502c77(0x5f8)]=_0x23b6ce,this[_0x502c77(0x659)]=_0x22819b,this[_0x502c77(0x3e1)](),this['_initStatusListener']());}[_0x24e421(0x5a1)](){const _0x21b902=_0x24e421;this[_0x21b902(0x244)](this[_0x21b902(0x49f)][_0x21b902(0x294)][_0x21b902(0x551)](N[_0x21b902(0x39e)](()=>{const _0x8cc5bb=_0x21b902,_0x18f051=this[_0x8cc5bb(0x49f)][_0x8cc5bb(0x22c)]();return _0x18f051?this[_0x8cc5bb(0x659)][_0x8cc5bb(0x4fa)](_0x18f051['getUnitId']()):N['of'](null);}),N[_0x21b902(0x39e)](_0x33c3bd=>_0x33c3bd?_0x33c3bd[_0x21b902(0x2d8)]:N['of'](K['NOT_COLLAB'])))['subscribe'](_0x16dd7a=>{const _0x292205=_0x21b902;this[_0x292205(0x618)]['next'](_0x16dd7a);}));}['_initStatusComponent'](){const _0x5917b6=_0x24e421;this[_0x5917b6(0x244)](this['_uiPartsService'][_0x5917b6(0x450)](ee['BuiltInUIPart'][_0x5917b6(0x288)],()=>a['connectInjector'](Qr({'status$':this['_status$'][_0x5917b6(0x285)]()}),this['_injector'])));}},exports[_0x24e421(0x533)]=Zr([He(0x0,a['IUniverInstanceService']),He(0x1,ee['IUIPartsService']),He(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x224)])),He(0x3,a['Inject'](exports[_0x24e421(0x213)]))],exports[_0x24e421(0x533)]);function Qr(_0x410dee){const {status$:_0x27f8cd}=_0x410dee;return function(){const _0x14e8ad=_0x5e3c;return me[_0x14e8ad(0x284)]($i,{'status$':_0x27f8cd});};}const Lt=a[_0x24e421(0x389)](_0x24e421(0x3c6));var es=Object[_0x24e421(0x5bd)],ts=Object[_0x24e421(0x221)],is=(_0x34f689,_0x312f0c,_0x3f7daf,_0x24c1a4)=>{for(var _0x1937fe=_0x24c1a4>0x1?void 0x0:_0x24c1a4?ts(_0x312f0c,_0x3f7daf):_0x312f0c,_0x4bd1b8=_0x34f689['length']-0x1,_0xd6ada4;_0x4bd1b8>=0x0;_0x4bd1b8--)(_0xd6ada4=_0x34f689[_0x4bd1b8])&&(_0x1937fe=(_0x24c1a4?_0xd6ada4(_0x312f0c,_0x3f7daf,_0x1937fe):_0xd6ada4(_0x1937fe))||_0x1937fe);return _0x24c1a4&&_0x1937fe&&es(_0x312f0c,_0x3f7daf,_0x1937fe),_0x1937fe;},Re=(_0xf3e0,_0x73ae05)=>(_0xe32553,_0x1d771a)=>_0x73ae05(_0xe32553,_0x1d771a,_0xf3e0);exports[_0x24e421(0x3bc)]=class extends a[_0x24e421(0x444)]{constructor(_0x4a1ea7,_0x4c381d,_0x15493f,_0x566ca9,_0x1bd2aa,_0x28f26c){const _0x23a4f3=_0x24e421;super(),this['_urlService']=_0x4a1ea7,this[_0x23a4f3(0x383)]=_0x4c381d,this[_0x23a4f3(0x3c0)]=_0x15493f,this[_0x23a4f3(0x2bc)]=_0x566ca9,this[_0x23a4f3(0x64e)]=_0x1bd2aa,_0x28f26c?_0x28f26c==null||_0x28f26c[_0x23a4f3(0x5cf)]()[_0x23a4f3(0x57d)](()=>this[_0x23a4f3(0x541)]()):(this['_logService'][_0x23a4f3(0x525)](_0x23a4f3(0x496),_0x23a4f3(0x595)),this['_init']());}async[_0x24e421(0x541)](){const _0x48acb8=_0x24e421,_0x47d262=this[_0x48acb8(0x400)]['getParam'](_0x48acb8(0x38d)),_0x17b197=this[_0x48acb8(0x400)][_0x48acb8(0x53a)](_0x48acb8(0x408));if(!_0x47d262||!_0x17b197){this[_0x48acb8(0x383)][_0x48acb8(0x525)](_0x48acb8(0x496),_0x48acb8(0x2ff));return;}switch(Number(_0x17b197)){case ie[_0x48acb8(0x4d1)]:{const _0x23cd00=await this[_0x48acb8(0x1f5)](_0x47d262);this['_setupSubUnitSync'](_0x23cd00);break;}case ie['UNIVER_DOC']:{await this['_loadDoc'](_0x47d262);break;}default:{this[_0x48acb8(0x383)]['error'](_0x48acb8(0x496),_0x48acb8(0x24d));break;}}}async['_setupSubUnitSync'](_0xdf5f3){const _0x56bc9f=_0x24e421;await this[_0x56bc9f(0x314)](_0xdf5f3),_0xdf5f3['activeSheet$'][_0x56bc9f(0x551)](N[_0x56bc9f(0x201)](this['dispose$']))[_0x56bc9f(0x4d3)](_0x478b3b=>{_0x478b3b&&this['_updateURLWithCurrentState'](_0x478b3b);}),this[_0x56bc9f(0x400)][_0x56bc9f(0x617)][_0x56bc9f(0x551)](N[_0x56bc9f(0x201)](this[_0x56bc9f(0x362)]))[_0x56bc9f(0x4d3)](()=>this[_0x56bc9f(0x314)](_0xdf5f3));}[_0x24e421(0x52c)](_0x1f23f5,_0x21f08c=!0x1){const _0x31ec8a=_0x24e421,_0x2fa7c1=this['_urlService'][_0x31ec8a(0x53a)](_0x31ec8a(0x4d9));_0x1f23f5['getSheetId']()!==_0x2fa7c1&&this['_urlService'][_0x31ec8a(0x55f)](_0x31ec8a(0x4d9),_0x1f23f5['getSheetId'](),_0x21f08c);}async[_0x24e421(0x314)](_0xca8a8f){const _0x39e786=_0x24e421;var _0x1c1982;const _0x314edd=this['_urlService'][_0x39e786(0x53a)](_0x39e786(0x4d9));if(!_0x314edd||!_0xca8a8f[_0x39e786(0x2ac)](_0x314edd)){const _0xeabea2=_0xca8a8f[_0x39e786(0x4d4)]()[0x0],_0x59ddc5=_0xca8a8f[_0x39e786(0x2ac)](_0xeabea2);if(!_0x59ddc5)return;this[_0x39e786(0x52c)](_0x59ddc5,!0x0),await this['_commandService'][_0x39e786(0x646)](k[_0x39e786(0x46b)]['id'],{'unitId':_0xca8a8f['getUnitId'](),'subUnitId':_0xeabea2});return;}((_0x1c1982=_0xca8a8f[_0x39e786(0x5ff)]())==null?void 0x0:_0x1c1982[_0x39e786(0x490)]())!==_0x314edd&&await this[_0x39e786(0x3c0)][_0x39e786(0x646)](k[_0x39e786(0x46b)]['id'],{'unitId':_0xca8a8f['getUnitId'](),'subUnitId':_0x314edd});}async[_0x24e421(0x1f5)](_0x1ab7a6){const _0x1d0ce0=_0x24e421;let _0x3f542d=0x0;const _0x48177a=await this[_0x1d0ce0(0x2bc)]['loadOfflineData'](_0x1ab7a6);return _0x48177a&&(_0x48177a[_0x1d0ce0(0x47d)]||_0x48177a[_0x1d0ce0(0x64d)]['length']!==0x0)&&(_0x3f542d=_0x48177a[_0x1d0ce0(0x233)]),_0x3f542d===0x0&&this[_0x1d0ce0(0x383)][_0x1d0ce0(0x525)](_0x1d0ce0(0x496),_0x1d0ce0(0x571)),this[_0x1d0ce0(0x64e)][_0x1d0ce0(0x48d)](_0x1ab7a6,_0x3f542d);}async[_0x24e421(0x2ec)](_0x214eef){const _0x3999f9=_0x24e421;let _0x3697d4=0x0;const _0x36a731=await this[_0x3999f9(0x2bc)][_0x3999f9(0x227)](_0x214eef);return _0x36a731&&(_0x36a731[_0x3999f9(0x47d)]||_0x36a731[_0x3999f9(0x64d)][_0x3999f9(0x3c9)]!==0x0)&&(_0x3697d4=_0x36a731[_0x3999f9(0x233)]),_0x3697d4===0x0&&this[_0x3999f9(0x383)]['debug'](_0x3999f9(0x496),_0x3999f9(0x571)),this[_0x3999f9(0x64e)][_0x3999f9(0x1be)](_0x214eef,_0x3697d4);}},exports[_0x24e421(0x3bc)]=is([Re(0x0,Lt),Re(0x1,a[_0x24e421(0x495)]),Re(0x2,a[_0x24e421(0x2b1)]),Re(0x3,a['Inject'](exports[_0x24e421(0x4b2)])),Re(0x4,a[_0x24e421(0x52f)](m[_0x24e421(0x2cf)])),Re(0x5,a[_0x24e421(0x67d)](Yi[_0x24e421(0x48f)]))],exports[_0x24e421(0x3bc)]);var ns=Object[_0x24e421(0x5bd)],rs=Object['getOwnPropertyDescriptor'],ss=(_0x39ce82,_0x218e0e,_0x4cdd5c,_0x356b16)=>{for(var _0x3feff1=_0x356b16>0x1?void 0x0:_0x356b16?rs(_0x218e0e,_0x4cdd5c):_0x218e0e,_0x4043c0=_0x39ce82['length']-0x1,_0xc94006;_0x4043c0>=0x0;_0x4043c0--)(_0xc94006=_0x39ce82[_0x4043c0])&&(_0x3feff1=(_0x356b16?_0xc94006(_0x218e0e,_0x4cdd5c,_0x3feff1):_0xc94006(_0x3feff1))||_0x3feff1);return _0x356b16&&_0x3feff1&&ns(_0x218e0e,_0x4cdd5c,_0x3feff1),_0x3feff1;},Zt=(_0x2f3647,_0x287cf9)=>(_0x11a5ce,_0x63b1b5)=>_0x287cf9(_0x11a5ce,_0x63b1b5,_0x2f3647);const os='DEFAULT_FILE_NAME',as=_0x24e421(0x277);let nt=class extends a[_0x24e421(0x1fe)]{constructor(_0x3a3a02,_0xcca039){const _0x5a159f=_0x24e421;super(),this[_0x5a159f(0x49f)]=_0x3a3a02,this[_0x5a159f(0x5c2)]=_0xcca039,this[_0x5a159f(0x541)]();}[_0x24e421(0x541)](){const _0x2f9613=_0x24e421;this[_0x2f9613(0x244)](this[_0x2f9613(0x49f)][_0x2f9613(0x294)]['subscribe'](()=>{const _0x328826=_0x2f9613;var _0x3e88dc;const _0x2f167e=this[_0x328826(0x49f)][_0x328826(0x22c)]();let _0x2920ca=(_0x3e88dc=this[_0x328826(0x5c2)]['getConfig'](os))!=null?_0x3e88dc:as;_0x2f167e instanceof a[_0x328826(0x3d8)]&&(_0x2920ca=_0x2f167e[_0x328826(0x57f)]),document[_0x328826(0x323)]=_0x2920ca;}));}};nt=ss([Zt(0x0,a['IUniverInstanceService']),Zt(0x1,a['IConfigService'])],nt);var cs=Object[_0x24e421(0x5bd)],ls=Object[_0x24e421(0x221)],hs=(_0x5b5dd5,_0x2119d1,_0x3ef58c,_0x301a0a)=>{for(var _0x2085dc=_0x301a0a>0x1?void 0x0:_0x301a0a?ls(_0x2119d1,_0x3ef58c):_0x2119d1,_0x1fd3f6=_0x5b5dd5['length']-0x1,_0x389672;_0x1fd3f6>=0x0;_0x1fd3f6--)(_0x389672=_0x5b5dd5[_0x1fd3f6])&&(_0x2085dc=(_0x301a0a?_0x389672(_0x2119d1,_0x3ef58c,_0x2085dc):_0x389672(_0x2085dc))||_0x2085dc);return _0x301a0a&&_0x2085dc&&cs(_0x2119d1,_0x3ef58c,_0x2085dc),_0x2085dc;},Ct=(_0x4f0574,_0x2177d5)=>(_0x10bfaa,_0x22df66)=>_0x2177d5(_0x10bfaa,_0x22df66,_0x4f0574);let rt=class{constructor(_0x5ca9df,_0x520c2a,_0x39afa5){const _0x1200e3=_0x24e421;this[_0x1200e3(0x5c2)]=_0x5ca9df,this[_0x1200e3(0x53c)]=_0x520c2a,this[_0x1200e3(0x5ef)]=_0x39afa5,this[_0x1200e3(0x503)]();}[_0x24e421(0x503)](){const _0x555729=_0x24e421;this['_httpService'][_0x555729(0x5f0)]({'priority':0x1,'interceptor':(_0x3aeec9,_0x137306)=>_0x137306(_0x3aeec9)[_0x555729(0x551)](N[_0x555729(0x303)](async _0x1661df=>{const _0x41114b=_0x555729,_0x243356=_0x1661df;if(_0x243356[_0x41114b(0x597)]===0x191&&window[_0x41114b(0x3b0)](this[_0x41114b(0x5ef)]['t'](_0x41114b(0x611)))){const _0x1415bb=window[_0x41114b(0x603)](window[_0x41114b(0x5c9)][_0x41114b(0x41c)]);window[_0x41114b(0x5c9)]['href']=this[_0x41114b(0x625)]()+_0x41114b(0x20d)+_0x1415bb;}return _0x243356;}))});}['_getLoginPath'](){const _0x4d0660=_0x24e421;var _0x1c1078,_0x24f9de;const _0xdb9292=this['_configService']['getConfig'](Ei),_0x5b179c=this[_0x4d0660(0x5c2)][_0x4d0660(0x447)](Z);return(_0x24f9de=(_0x1c1078=_0x5b179c==null?void 0x0:_0x5b179c[_0x4d0660(0x3af)])!=null?_0x1c1078:_0xdb9292)!=null?_0x24f9de:rn;}};rt=hs([Ct(0x0,a[_0x24e421(0x3ba)]),Ct(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x567)])),Ct(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x468)]))],rt);var _s=Object['defineProperty'],us=Object['getOwnPropertyDescriptor'],ds=(_0x385d55,_0x326ae5,_0x5a2583,_0x14891c)=>{const _0x5a6bbb=_0x24e421;for(var _0xe03ea4=_0x14891c>0x1?void 0x0:_0x14891c?us(_0x326ae5,_0x5a2583):_0x326ae5,_0x38f280=_0x385d55[_0x5a6bbb(0x3c9)]-0x1,_0x32bda4;_0x38f280>=0x0;_0x38f280--)(_0x32bda4=_0x385d55[_0x38f280])&&(_0xe03ea4=(_0x14891c?_0x32bda4(_0x326ae5,_0x5a2583,_0xe03ea4):_0x32bda4(_0xe03ea4))||_0xe03ea4);return _0x14891c&&_0xe03ea4&&_s(_0x326ae5,_0x5a2583,_0xe03ea4),_0xe03ea4;},Qt=(_0x3c4942,_0x1e952a)=>(_0x47ead6,_0x116088)=>_0x1e952a(_0x47ead6,_0x116088,_0x3c4942);const xt=_0x24e421(0x373),fs=_0x24e421(0x4db);exports[_0x24e421(0x68b)]=class extends a[_0x24e421(0x1fe)]{constructor(_0x1ee9fb,_0x26358c){const _0x4a57eb=_0x24e421;super(),this[_0x4a57eb(0x3b8)]=_0x1ee9fb,this[_0x4a57eb(0x5c2)]=_0x26358c,this[_0x4a57eb(0x5cc)]();}[_0x24e421(0x5cc)](){const _0x22d7c3=_0x24e421,_0x27a0bb=this;this[_0x22d7c3(0x244)](this[_0x22d7c3(0x3b8)][_0x22d7c3(0x5f0)]({'priority':0x3e7,'interceptor':z[_0x22d7c3(0x4a8)]({'isMatch'(_0x529bcb){const _0x414ce9=_0x22d7c3;var _0x19e210;if(_0x529bcb[_0x414ce9(0x5ed)]===_0x414ce9(0x3d7)&&((_0x19e210=_0x529bcb[_0x414ce9(0x2a0)])!=null&&_0x19e210[_0x414ce9(0x328)])){const {objectID:_0x16498f,objectType:_0x4ad59b}=_0x529bcb[_0x414ce9(0x2a0)][_0x414ce9(0x328)]||{};if(!_0x16498f||_0x4ad59b===void 0x0)return!0x1;const _0x410731=_0x27a0bb[_0x414ce9(0x65f)]()+'/'+_0x4ad59b+'/object/'+_0x16498f+_0x414ce9(0x409);if(_0x529bcb[_0x414ce9(0x1d5)]===_0x410731)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfd811a){const _0x294663=_0x22d7c3;var _0x308e82;return(_0x308e82=_0xfd811a[_0x294663(0x2a0)])==null?void 0x0:_0x308e82['body'];},'mergeParamsToRequest'(_0x2ef6f0,_0x2ce0ad){const _0x17800e=_0x22d7c3,_0x4bce76=_0x27a0bb['_getAPIPrefixPath']()+_0x17800e(0x4b8),_0xfb05e6=_0x2ef6f0['reduce']((_0xf857f3,_0x228fec)=>{const _0x4cc513=_0x17800e,{unitID:_0x28e89f,objectID:_0x39c732,objectType:_0x17026e,actions:_0x2226e7}=_0x228fec;return _0xf857f3[_0x28e89f]||(_0xf857f3[_0x28e89f]={}),_0xf857f3[_0x28e89f][_0x39c732]||(_0xf857f3[_0x28e89f][_0x39c732]={'objectID':_0x39c732,'objectType':_0x17026e,'actions':[]}),_0xf857f3[_0x28e89f][_0x39c732][_0x4cc513(0x2b8)]['push'](..._0x2226e7),_0xf857f3;},{}),_0x9c85dd=[];for(const _0x1b4935 in _0xfb05e6)for(const _0x1bfc28 in _0xfb05e6[_0x1b4935]){const {actions:_0x131d29,objectType:_0x28eab8}=_0xfb05e6[_0x1b4935][_0x1bfc28],_0x3cb6bf=[...new Set(_0x131d29)];_0x9c85dd[_0x17800e(0x2f8)]({'unitID':_0x1b4935,'objectID':_0x1bfc28,'objectType':_0x28eab8,'actions':_0x3cb6bf});}return new z[(_0x17800e(0x29e))](_0x17800e(0x3d7),_0x4bce76,{'headers':_0x2ce0ad[_0x17800e(0x2ab)],'withCredentials':_0x2ce0ad[_0x17800e(0x5e5)],'responseType':_0x2ce0ad[_0x17800e(0x5f3)],'body':{'requests':_0x9c85dd}});}},{'distributeResult'(_0x12ffdb,_0x564de3){const _0x1ac622=_0x22d7c3,{objectActions:_0x3740e7}=_0x12ffdb;return _0x564de3[_0x1ac622(0x49a)](_0x385a2b=>{const _0x62ff34=_0x1ac622,{unitID:_0x42f43c,objectID:_0x5543ee,actions:_0x31528a}=_0x385a2b,_0x431b30=_0x3740e7[_0x62ff34(0x584)](_0x14a08f=>_0x14a08f['unitID']===_0x42f43c&&_0x14a08f[_0x62ff34(0x35d)]===_0x5543ee),_0x216850=_0x31528a['map'](_0xfbc777=>_0x431b30==null?void 0x0:_0x431b30[_0x62ff34(0x2b8)][_0x62ff34(0x584)](_0x5dd787=>_0x5dd787[_0x62ff34(0x259)]===_0xfbc777))[_0x62ff34(0x3df)](_0x5915c4=>!!_0x5915c4);return{'config':_0x385a2b,'result':{'actions':_0x216850,'error':_0x12ffdb['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x82921f=_0x24e421;var _0x3845dd,_0x52a4fe;const _0x405ca2=this[_0x82921f(0x5c2)][_0x82921f(0x447)](xt),_0x56e1f9=this['_configService'][_0x82921f(0x447)](Z);return(_0x52a4fe=(_0x3845dd=_0x56e1f9==null?void 0x0:_0x56e1f9[_0x82921f(0x51f)])!=null?_0x3845dd:_0x405ca2)!=null?_0x52a4fe:fs;}async['create'](_0x3c3fc5){const _0x2ca3a7=_0x24e421,_0x86a2b5=this[_0x2ca3a7(0x65f)]()+'/'+_0x3c3fc5['objectType']+_0x2ca3a7(0x36a);return(await this[_0x2ca3a7(0x3b8)][_0x2ca3a7(0x20c)](_0x86a2b5,{'body':_0x3c3fc5}))[_0x2ca3a7(0x328)][_0x2ca3a7(0x35d)]||'';}async[_0x24e421(0x38a)](_0x4cc5b4){const _0x376b41=_0x24e421,_0xf368a6=this[_0x376b41(0x65f)]()+'/-/object/list';return(await this['_HTTPService'][_0x376b41(0x20c)](_0xf368a6,{'body':_0x4cc5b4}))[_0x376b41(0x328)][_0x376b41(0x297)];}async[_0x24e421(0x5cb)](_0x4af4a6){const _0x5cf8cc=_0x24e421,_0x3d2003=this[_0x5cf8cc(0x65f)]()+'/'+_0x4af4a6['objectType']+_0x5cf8cc(0x216)+_0x4af4a6[_0x5cf8cc(0x35d)];await this[_0x5cf8cc(0x3b8)]['put'](_0x3d2003,{'body':_0x4af4a6});}async[_0x24e421(0x443)](_0xd262df){const _0x2c5655=_0x24e421,_0x438ebd=this['_getAPIPrefixPath']()+'/'+_0xd262df[_0x2c5655(0x2df)]+_0x2c5655(0x216)+_0xd262df[_0x2c5655(0x35d)]+_0x2c5655(0x409);return(await this[_0x2c5655(0x3b8)][_0x2c5655(0x20c)](_0x438ebd,{'body':_0xd262df}))['body'][_0x2c5655(0x2b8)];}async[_0x24e421(0x274)](_0x5694b3){const _0x348357=_0x24e421,_0x3fafaa=this[_0x348357(0x65f)]()+_0x348357(0x4b8);return(await this[_0x348357(0x3b8)][_0x348357(0x20c)](_0x3fafaa,{'body':{'requests':_0x5694b3}}))[_0x348357(0x328)][_0x348357(0x31b)];}async[_0x24e421(0x332)](_0x1d8376){const _0x472a5e=_0x24e421,_0x183c2d=this[_0x472a5e(0x65f)]()+'/'+_0x1d8376[_0x472a5e(0x2df)]+_0x472a5e(0x474),_0x1f57d1=await this[_0x472a5e(0x3b8)][_0x472a5e(0x20c)](_0x183c2d,{'body':_0x1d8376});return{'roles':_0x1f57d1[_0x472a5e(0x328)]['roles'],'actions':_0x1f57d1[_0x472a5e(0x328)][_0x472a5e(0x2b8)]};}async[_0x24e421(0x65c)](_0x49aee5){const _0x40859f=_0x24e421,_0x5e8473=this[_0x40859f(0x65f)]()+_0x40859f(0x208);await this[_0x40859f(0x3b8)][_0x40859f(0x5ae)](_0x5e8473,{'params':{'collaboratorID':_0x49aee5[_0x40859f(0x517)],'objectID':_0x49aee5[_0x40859f(0x35d)],'unitID':_0x49aee5[_0x40859f(0x1cb)]}});}async[_0x24e421(0x2ee)](_0x424a96){const _0x50dc29=_0x24e421,_0x19cc59=this[_0x50dc29(0x65f)]()+_0x50dc29(0x208);await this[_0x50dc29(0x3b8)][_0x50dc29(0x4c6)](_0x19cc59,{'body':_0x424a96});}async['createCollaborator'](_0x1bcfad){const _0x3ca9f5=_0x24e421,_0x306855=this['_getAPIPrefixPath']()+_0x3ca9f5(0x208);await this[_0x3ca9f5(0x3b8)][_0x3ca9f5(0x20c)](_0x306855,{'body':_0x1bcfad});}async['listCollaborators'](_0x1b3db5){const _0x599c3c=_0x24e421,_0x30caed=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x599c3c(0x3b8)][_0x599c3c(0x1ce)](_0x30caed,{'params':{'objectID':_0x1b3db5['objectID'],'unitID':_0x1b3db5[_0x599c3c(0x1cb)]}}))[_0x599c3c(0x328)]['collaborators'];}async[_0x24e421(0x557)](_0xc039cf){const _0x387066=_0x24e421,_0x51a4a4=this[_0x387066(0x65f)]()+'/collaborator';await this[_0x387066(0x3b8)][_0x387066(0x58f)](_0x51a4a4,{'body':_0xc039cf});}},exports[_0x24e421(0x68b)]=ds([Qt(0x0,a[_0x24e421(0x52f)](z['HTTPService'])),Qt(0x1,a[_0x24e421(0x52f)](a[_0x24e421(0x3ba)]))],exports[_0x24e421(0x68b)]);var ke={'exports':{}};function vs(_0xad0bfb){const _0x51d647=_0x24e421;throw new Error(_0x51d647(0x3d3)+_0xad0bfb+_0x51d647(0x4f6));}var We={'exports':{}},Ss=We[_0x24e421(0x432)],ei;function se(){return ei||(ei=0x1,function(_0x4ccf1f,_0x4e2dc9){(function(_0x5c7e46,_0x497a9f){const _0xb46c67=_0x5e3c;_0x4ccf1f[_0xb46c67(0x432)]=_0x497a9f();}(Ss,function(){var _0x9d4200=_0x9d4200||function(_0x387e5e,_0x566bab){const _0x175a4b=_0x5e3c;var _0x6a7ae9;if(typeof window<'u'&&window[_0x175a4b(0x3e7)]&&(_0x6a7ae9=window[_0x175a4b(0x3e7)]),typeof self<'u'&&self[_0x175a4b(0x3e7)]&&(_0x6a7ae9=self['crypto']),typeof globalThis<'u'&&globalThis[_0x175a4b(0x3e7)]&&(_0x6a7ae9=globalThis[_0x175a4b(0x3e7)]),!_0x6a7ae9&&typeof window<'u'&&window[_0x175a4b(0x578)]&&(_0x6a7ae9=window[_0x175a4b(0x578)]),!_0x6a7ae9&&typeof gt<'u'&&gt[_0x175a4b(0x3e7)]&&(_0x6a7ae9=gt['crypto']),!_0x6a7ae9&&typeof vs=='function')try{_0x6a7ae9=require(_0x175a4b(0x3e7));}catch{}var _0x3afb8e=function(){const _0x3fad1c=_0x175a4b;if(_0x6a7ae9){if(typeof _0x6a7ae9[_0x3fad1c(0x380)]==_0x3fad1c(0x2e0))try{return _0x6a7ae9[_0x3fad1c(0x380)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x6a7ae9[_0x3fad1c(0x2a5)]==_0x3fad1c(0x2e0))try{return _0x6a7ae9['randomBytes'](0x4)[_0x3fad1c(0x212)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x19537b=Object['create']||(function(){function _0x5c2125(){}return function(_0x578499){const _0x258d9a=_0x5e3c;var _0x16f2be;return _0x5c2125['prototype']=_0x578499,_0x16f2be=new _0x5c2125(),_0x5c2125[_0x258d9a(0x367)]=null,_0x16f2be;};}()),_0x2f84c3={},_0x192e63=_0x2f84c3['lib']={},_0x2dec8e=_0x192e63[_0x175a4b(0x2c3)]=(function(){return{'extend':function(_0x4a4829){const _0x35a014=_0x5e3c;var _0x39f288=_0x19537b(this);return _0x4a4829&&_0x39f288[_0x35a014(0x35f)](_0x4a4829),(!_0x39f288[_0x35a014(0x1bb)](_0x35a014(0x503))||this[_0x35a014(0x503)]===_0x39f288[_0x35a014(0x503)])&&(_0x39f288[_0x35a014(0x503)]=function(){const _0x290ac2=_0x35a014;_0x39f288[_0x290ac2(0x4cf)][_0x290ac2(0x503)][_0x290ac2(0x463)](this,arguments);}),_0x39f288[_0x35a014(0x503)][_0x35a014(0x367)]=_0x39f288,_0x39f288[_0x35a014(0x4cf)]=this,_0x39f288;},'create':function(){const _0x1575b2=_0x5e3c;var _0x1822a0=this[_0x1575b2(0x3a1)]();return _0x1822a0['init'][_0x1575b2(0x463)](_0x1822a0,arguments),_0x1822a0;},'init':function(){},'mixIn':function(_0x591b1b){const _0x33b548=_0x5e3c;for(var _0x2f48e2 in _0x591b1b)_0x591b1b[_0x33b548(0x1bb)](_0x2f48e2)&&(this[_0x2f48e2]=_0x591b1b[_0x2f48e2]);_0x591b1b['hasOwnProperty'](_0x33b548(0x347))&&(this['toString']=_0x591b1b[_0x33b548(0x347)]);},'clone':function(){const _0x2e9bc6=_0x5e3c;return this[_0x2e9bc6(0x503)][_0x2e9bc6(0x367)][_0x2e9bc6(0x3a1)](this);}};}()),_0x47c3d2=_0x192e63[_0x175a4b(0x60f)]=_0x2dec8e[_0x175a4b(0x3a1)]({'init':function(_0x4c0c50,_0x33d5ba){const _0x31394a=_0x175a4b;_0x4c0c50=this[_0x31394a(0x62c)]=_0x4c0c50||[],_0x33d5ba!=_0x566bab?this[_0x31394a(0x66f)]=_0x33d5ba:this[_0x31394a(0x66f)]=_0x4c0c50[_0x31394a(0x3c9)]*0x4;},'toString':function(_0x526f8e){const _0x13d252=_0x175a4b;return(_0x526f8e||_0x57ee5f)[_0x13d252(0x3a6)](this);},'concat':function(_0x4043dd){const _0x13583b=_0x175a4b;var _0x4b5103=this[_0x13583b(0x62c)],_0x25f634=_0x4043dd['words'],_0x3b8d44=this[_0x13583b(0x66f)],_0x5cce36=_0x4043dd[_0x13583b(0x66f)];if(this[_0x13583b(0x1d7)](),_0x3b8d44%0x4)for(var _0xa7a5fc=0x0;_0xa7a5fc<_0x5cce36;_0xa7a5fc++){var _0x17784d=_0x25f634[_0xa7a5fc>>>0x2]>>>0x18-_0xa7a5fc%0x4*0x8&0xff;_0x4b5103[_0x3b8d44+_0xa7a5fc>>>0x2]|=_0x17784d<<0x18-(_0x3b8d44+_0xa7a5fc)%0x4*0x8;}else{for(var _0x4bb582=0x0;_0x4bb582<_0x5cce36;_0x4bb582+=0x4)_0x4b5103[_0x3b8d44+_0x4bb582>>>0x2]=_0x25f634[_0x4bb582>>>0x2];}return this[_0x13583b(0x66f)]+=_0x5cce36,this;},'clamp':function(){const _0x56b1e9=_0x175a4b;var _0x3e25d9=this[_0x56b1e9(0x62c)],_0x30e107=this['sigBytes'];_0x3e25d9[_0x30e107>>>0x2]&=0xffffffff<<0x20-_0x30e107%0x4*0x8,_0x3e25d9['length']=_0x387e5e[_0x56b1e9(0x682)](_0x30e107/0x4);},'clone':function(){const _0x84d472=_0x175a4b;var _0x32ddf8=_0x2dec8e[_0x84d472(0x3ec)][_0x84d472(0x546)](this);return _0x32ddf8['words']=this[_0x84d472(0x62c)][_0x84d472(0x406)](0x0),_0x32ddf8;},'random':function(_0x35c29c){const _0x3dd254=_0x175a4b;for(var _0x5556bb=[],_0x23ee45=0x0;_0x23ee45<_0x35c29c;_0x23ee45+=0x4)_0x5556bb[_0x3dd254(0x2f8)](_0x3afb8e());return new _0x47c3d2[(_0x3dd254(0x503))](_0x5556bb,_0x35c29c);}}),_0x130f0a=_0x2f84c3[_0x175a4b(0x1d3)]={},_0x57ee5f=_0x130f0a[_0x175a4b(0x471)]={'stringify':function(_0x31b17c){const _0x1fa3b9=_0x175a4b;for(var _0x2cfa75=_0x31b17c[_0x1fa3b9(0x62c)],_0x5db6df=_0x31b17c[_0x1fa3b9(0x66f)],_0x33d78d=[],_0x7facea=0x0;_0x7facea<_0x5db6df;_0x7facea++){var _0xaf300e=_0x2cfa75[_0x7facea>>>0x2]>>>0x18-_0x7facea%0x4*0x8&0xff;_0x33d78d['push']((_0xaf300e>>>0x4)[_0x1fa3b9(0x347)](0x10)),_0x33d78d[_0x1fa3b9(0x2f8)]((_0xaf300e&0xf)[_0x1fa3b9(0x347)](0x10));}return _0x33d78d[_0x1fa3b9(0x2d7)]('');},'parse':function(_0x196c89){const _0xef8c2=_0x175a4b;for(var _0xd4ac1b=_0x196c89[_0xef8c2(0x3c9)],_0x1eaa98=[],_0x42437a=0x0;_0x42437a<_0xd4ac1b;_0x42437a+=0x2)_0x1eaa98[_0x42437a>>>0x3]|=parseInt(_0x196c89['substr'](_0x42437a,0x2),0x10)<<0x18-_0x42437a%0x8*0x4;return new _0x47c3d2[(_0xef8c2(0x503))](_0x1eaa98,_0xd4ac1b/0x2);}},_0x4f4097=_0x130f0a[_0x175a4b(0x2d9)]={'stringify':function(_0x263606){const _0x5f2d82=_0x175a4b;for(var _0x513da2=_0x263606[_0x5f2d82(0x62c)],_0x543b74=_0x263606['sigBytes'],_0x66b5ab=[],_0x5c2742=0x0;_0x5c2742<_0x543b74;_0x5c2742++){var _0x21e21e=_0x513da2[_0x5c2742>>>0x2]>>>0x18-_0x5c2742%0x4*0x8&0xff;_0x66b5ab[_0x5f2d82(0x2f8)](String[_0x5f2d82(0x24e)](_0x21e21e));}return _0x66b5ab[_0x5f2d82(0x2d7)]('');},'parse':function(_0x2ad9e3){const _0x4ed783=_0x175a4b;for(var _0x52d75c=_0x2ad9e3[_0x4ed783(0x3c9)],_0x3eb1c0=[],_0x9bcaf4=0x0;_0x9bcaf4<_0x52d75c;_0x9bcaf4++)_0x3eb1c0[_0x9bcaf4>>>0x2]|=(_0x2ad9e3[_0x4ed783(0x574)](_0x9bcaf4)&0xff)<<0x18-_0x9bcaf4%0x4*0x8;return new _0x47c3d2['init'](_0x3eb1c0,_0x52d75c);}},_0x5156da=_0x130f0a[_0x175a4b(0x3f9)]={'stringify':function(_0x157088){const _0xba0536=_0x175a4b;try{return decodeURIComponent(escape(_0x4f4097[_0xba0536(0x3a6)](_0x157088)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x2b6f63){return _0x4f4097['parse'](unescape(encodeURIComponent(_0x2b6f63)));}},_0x4c6ddc=_0x192e63[_0x175a4b(0x66a)]=_0x2dec8e[_0x175a4b(0x3a1)]({'reset':function(){const _0x1fd6c0=_0x175a4b;this['_data']=new _0x47c3d2[(_0x1fd6c0(0x503))](),this[_0x1fd6c0(0x4f3)]=0x0;},'_append':function(_0x440885){const _0x3a72df=_0x175a4b;typeof _0x440885==_0x3a72df(0x64c)&&(_0x440885=_0x5156da[_0x3a72df(0x1f0)](_0x440885)),this[_0x3a72df(0x368)]['concat'](_0x440885),this[_0x3a72df(0x4f3)]+=_0x440885[_0x3a72df(0x66f)];},'_process':function(_0x308ab6){const _0x4d378a=_0x175a4b;var _0x479bab,_0x37a306=this[_0x4d378a(0x368)],_0x3387c5=_0x37a306[_0x4d378a(0x62c)],_0x22e01f=_0x37a306[_0x4d378a(0x66f)],_0x4979f8=this[_0x4d378a(0x560)],_0x5c0b2b=_0x4979f8*0x4,_0x2fd0a3=_0x22e01f/_0x5c0b2b;_0x308ab6?_0x2fd0a3=_0x387e5e[_0x4d378a(0x682)](_0x2fd0a3):_0x2fd0a3=_0x387e5e[_0x4d378a(0x36b)]((_0x2fd0a3|0x0)-this['_minBufferSize'],0x0);var _0xc28a5e=_0x2fd0a3*_0x4979f8,_0x2b8683=_0x387e5e['min'](_0xc28a5e*0x4,_0x22e01f);if(_0xc28a5e){for(var _0x480a32=0x0;_0x480a32<_0xc28a5e;_0x480a32+=_0x4979f8)this['_doProcessBlock'](_0x3387c5,_0x480a32);_0x479bab=_0x3387c5[_0x4d378a(0x1ec)](0x0,_0xc28a5e),_0x37a306['sigBytes']-=_0x2b8683;}return new _0x47c3d2[(_0x4d378a(0x503))](_0x479bab,_0x2b8683);},'clone':function(){const _0x3902b3=_0x175a4b;var _0x1dde1f=_0x2dec8e[_0x3902b3(0x3ec)]['call'](this);return _0x1dde1f[_0x3902b3(0x368)]=this['_data'][_0x3902b3(0x3ec)](),_0x1dde1f;},'_minBufferSize':0x0});_0x192e63[_0x175a4b(0x473)]=_0x4c6ddc[_0x175a4b(0x3a1)]({'cfg':_0x2dec8e[_0x175a4b(0x3a1)](),'init':function(_0x3dfb1b){const _0x3192d9=_0x175a4b;this[_0x3192d9(0x3b5)]=this[_0x3192d9(0x3b5)][_0x3192d9(0x3a1)](_0x3dfb1b),this[_0x3192d9(0x42c)]();},'reset':function(){_0x4c6ddc['reset']['call'](this),this['_doReset']();},'update':function(_0x4ba95d){const _0x3c07b9=_0x175a4b;return this[_0x3c07b9(0x559)](_0x4ba95d),this[_0x3c07b9(0x56d)](),this;},'finalize':function(_0x2e0bbb){const _0x1f1223=_0x175a4b;_0x2e0bbb&&this[_0x1f1223(0x559)](_0x2e0bbb);var _0x49c277=this['_doFinalize']();return _0x49c277;},'blockSize':0x10,'_createHelper':function(_0x5edeff){return function(_0x533ef1,_0x2e7477){const _0x3e3c36=_0x5e3c;return new _0x5edeff[(_0x3e3c36(0x503))](_0x2e7477)[_0x3e3c36(0x255)](_0x533ef1);};},'_createHmacHelper':function(_0xde9a48){return function(_0x184405,_0x1cd163){const _0x21de0d=_0x5e3c;return new _0x593772['HMAC'][(_0x21de0d(0x503))](_0xde9a48,_0x1cd163)['finalize'](_0x184405);};}});var _0x593772=_0x2f84c3[_0x175a4b(0x32f)]={};return _0x2f84c3;}(Math);return _0x9d4200;}));}(We)),We['exports'];}var Fe={'exports':{}},ps=Fe[_0x24e421(0x432)],ti;function ji(){const _0x1e80de=_0x24e421;return ti||(ti=0x1,function(_0x32b00d,_0x16ff5e){(function(_0x8e7a7e,_0x4609e4){const _0x33dc65=_0x5e3c;_0x32b00d[_0x33dc65(0x432)]=_0x4609e4(se());}(ps,function(_0x56cafb){const _0x3706d9=_0x5e3c;return(function(){const _0x283232=_0x5e3c;var _0x5c37bc=_0x56cafb,_0x7c9d78=_0x5c37bc['lib'],_0x1119d7=_0x7c9d78[_0x283232(0x60f)],_0x5450ef=_0x5c37bc[_0x283232(0x1d3)];_0x5450ef[_0x283232(0x510)]={'stringify':function(_0x27d3d4){const _0x55a539=_0x283232;var _0x1dd6c7=_0x27d3d4[_0x55a539(0x62c)],_0x2648de=_0x27d3d4[_0x55a539(0x66f)],_0x3af3cf=this['_map'];_0x27d3d4[_0x55a539(0x1d7)]();for(var _0x432b67=[],_0x5958b6=0x0;_0x5958b6<_0x2648de;_0x5958b6+=0x3)for(var _0x3aee4c=_0x1dd6c7[_0x5958b6>>>0x2]>>>0x18-_0x5958b6%0x4*0x8&0xff,_0x1d6d47=_0x1dd6c7[_0x5958b6+0x1>>>0x2]>>>0x18-(_0x5958b6+0x1)%0x4*0x8&0xff,_0x5e0558=_0x1dd6c7[_0x5958b6+0x2>>>0x2]>>>0x18-(_0x5958b6+0x2)%0x4*0x8&0xff,_0x4de122=_0x3aee4c<<0x10|_0x1d6d47<<0x8|_0x5e0558,_0x1c388a=0x0;_0x1c388a<0x4&&_0x5958b6+_0x1c388a*0.75<_0x2648de;_0x1c388a++)_0x432b67[_0x55a539(0x2f8)](_0x3af3cf['charAt'](_0x4de122>>>0x6*(0x3-_0x1c388a)&0x3f));var _0x244037=_0x3af3cf['charAt'](0x40);if(_0x244037){for(;_0x432b67['length']%0x4;)_0x432b67['push'](_0x244037);}return _0x432b67[_0x55a539(0x2d7)]('');},'parse':function(_0x196d2f){const _0x18e7be=_0x283232;var _0x597715=_0x196d2f[_0x18e7be(0x3c9)],_0x5923c=this['_map'],_0x4a5ae1=this['_reverseMap'];if(!_0x4a5ae1){_0x4a5ae1=this['_reverseMap']=[];for(var _0x508a5c=0x0;_0x508a5c<_0x5923c[_0x18e7be(0x3c9)];_0x508a5c++)_0x4a5ae1[_0x5923c[_0x18e7be(0x574)](_0x508a5c)]=_0x508a5c;}var _0x4c8f48=_0x5923c[_0x18e7be(0x34e)](0x40);if(_0x4c8f48){var _0x47e686=_0x196d2f[_0x18e7be(0x653)](_0x4c8f48);_0x47e686!==-0x1&&(_0x597715=_0x47e686);}return _0x132687(_0x196d2f,_0x597715,_0x4a5ae1);},'_map':_0x283232(0x292)};function _0x132687(_0x54fdb4,_0xece028,_0x1d1995){const _0xe5dcc9=_0x283232;for(var _0xb3affa=[],_0x1a0b80=0x0,_0x3d5593=0x0;_0x3d5593<_0xece028;_0x3d5593++)if(_0x3d5593%0x4){var _0x3b5a17=_0x1d1995[_0x54fdb4['charCodeAt'](_0x3d5593-0x1)]<<_0x3d5593%0x4*0x2,_0x563603=_0x1d1995[_0x54fdb4[_0xe5dcc9(0x574)](_0x3d5593)]>>>0x6-_0x3d5593%0x4*0x2,_0x254ef9=_0x3b5a17|_0x563603;_0xb3affa[_0x1a0b80>>>0x2]|=_0x254ef9<<0x18-_0x1a0b80%0x4*0x8,_0x1a0b80++;}return _0x1119d7[_0xe5dcc9(0x470)](_0xb3affa,_0x1a0b80);}}()),_0x56cafb[_0x3706d9(0x1d3)][_0x3706d9(0x510)];}));}(Fe)),Fe[_0x1e80de(0x432)];}var Ve={'exports':{}},ms=Ve[_0x24e421(0x432)],ii;function gs(){return ii||(ii=0x1,function(_0x44e155,_0x3cfccf){(function(_0x172952,_0x48f738){_0x44e155['exports']=_0x48f738(se());}(ms,function(_0x492570){const _0x554b9c=_0x5e3c;return function(_0x162a9a){const _0x267576=_0x5e3c;var _0x79a8bf=_0x492570,_0x3c9ae8=_0x79a8bf[_0x267576(0x25e)],_0x960eb0=_0x3c9ae8[_0x267576(0x60f)],_0x173c82=_0x3c9ae8['Hasher'],_0x1f6a9b=_0x79a8bf['algo'],_0x1f7711=[];(function(){const _0x1a06f8=_0x267576;for(var _0x583446=0x0;_0x583446<0x40;_0x583446++)_0x1f7711[_0x583446]=_0x162a9a[_0x1a06f8(0x596)](_0x162a9a[_0x1a06f8(0x43d)](_0x583446+0x1))*0x100000000|0x0;}());var _0x50742d=_0x1f6a9b['MD5']=_0x173c82[_0x267576(0x3a1)]({'_doReset':function(){const _0x404480=_0x267576;this['_hash']=new _0x960eb0[(_0x404480(0x503))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58c090,_0x59e33b){for(var _0x5b8dd9=0x0;_0x5b8dd9<0x10;_0x5b8dd9++){var _0xee0667=_0x59e33b+_0x5b8dd9,_0x24f566=_0x58c090[_0xee0667];_0x58c090[_0xee0667]=(_0x24f566<<0x8|_0x24f566>>>0x18)&0xff00ff|(_0x24f566<<0x18|_0x24f566>>>0x8)&0xff00ff00;}var _0x434a75=this['_hash']['words'],_0x43c342=_0x58c090[_0x59e33b+0x0],_0x1b8310=_0x58c090[_0x59e33b+0x1],_0x56df86=_0x58c090[_0x59e33b+0x2],_0x3df4a2=_0x58c090[_0x59e33b+0x3],_0x3b5a79=_0x58c090[_0x59e33b+0x4],_0x284848=_0x58c090[_0x59e33b+0x5],_0x5efabe=_0x58c090[_0x59e33b+0x6],_0x8b0bdc=_0x58c090[_0x59e33b+0x7],_0x46fef4=_0x58c090[_0x59e33b+0x8],_0x548a9b=_0x58c090[_0x59e33b+0x9],_0x52f9e8=_0x58c090[_0x59e33b+0xa],_0x1eb587=_0x58c090[_0x59e33b+0xb],_0x50afa0=_0x58c090[_0x59e33b+0xc],_0x3acebe=_0x58c090[_0x59e33b+0xd],_0x4b6b89=_0x58c090[_0x59e33b+0xe],_0x1ff75d=_0x58c090[_0x59e33b+0xf],_0x25d237=_0x434a75[0x0],_0x16db36=_0x434a75[0x1],_0x5a7ddf=_0x434a75[0x2],_0x1deeb0=_0x434a75[0x3];_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x43c342,0x7,_0x1f7711[0x0]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1b8310,0xc,_0x1f7711[0x1]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x56df86,0x11,_0x1f7711[0x2]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3df4a2,0x16,_0x1f7711[0x3]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3b5a79,0x7,_0x1f7711[0x4]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x284848,0xc,_0x1f7711[0x5]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x5efabe,0x11,_0x1f7711[0x6]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x8b0bdc,0x16,_0x1f7711[0x7]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x46fef4,0x7,_0x1f7711[0x8]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x548a9b,0xc,_0x1f7711[0x9]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x52f9e8,0x11,_0x1f7711[0xa]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1eb587,0x16,_0x1f7711[0xb]),_0x25d237=_0x93ac1a(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x50afa0,0x7,_0x1f7711[0xc]),_0x1deeb0=_0x93ac1a(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3acebe,0xc,_0x1f7711[0xd]),_0x5a7ddf=_0x93ac1a(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x4b6b89,0x11,_0x1f7711[0xe]),_0x16db36=_0x93ac1a(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1ff75d,0x16,_0x1f7711[0xf]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x1b8310,0x5,_0x1f7711[0x10]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x5efabe,0x9,_0x1f7711[0x11]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1eb587,0xe,_0x1f7711[0x12]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x43c342,0x14,_0x1f7711[0x13]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x284848,0x5,_0x1f7711[0x14]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x52f9e8,0x9,_0x1f7711[0x15]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1ff75d,0xe,_0x1f7711[0x16]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3b5a79,0x14,_0x1f7711[0x17]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x548a9b,0x5,_0x1f7711[0x18]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x4b6b89,0x9,_0x1f7711[0x19]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x3df4a2,0xe,_0x1f7711[0x1a]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x46fef4,0x14,_0x1f7711[0x1b]),_0x25d237=_0x322bc5(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3acebe,0x5,_0x1f7711[0x1c]),_0x1deeb0=_0x322bc5(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x56df86,0x9,_0x1f7711[0x1d]),_0x5a7ddf=_0x322bc5(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x8b0bdc,0xe,_0x1f7711[0x1e]),_0x16db36=_0x322bc5(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x50afa0,0x14,_0x1f7711[0x1f]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x284848,0x4,_0x1f7711[0x20]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x46fef4,0xb,_0x1f7711[0x21]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1eb587,0x10,_0x1f7711[0x22]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x4b6b89,0x17,_0x1f7711[0x23]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x1b8310,0x4,_0x1f7711[0x24]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3b5a79,0xb,_0x1f7711[0x25]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x8b0bdc,0x10,_0x1f7711[0x26]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x52f9e8,0x17,_0x1f7711[0x27]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3acebe,0x4,_0x1f7711[0x28]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x43c342,0xb,_0x1f7711[0x29]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x3df4a2,0x10,_0x1f7711[0x2a]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x5efabe,0x17,_0x1f7711[0x2b]),_0x25d237=_0x7680d1(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x548a9b,0x4,_0x1f7711[0x2c]),_0x1deeb0=_0x7680d1(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x50afa0,0xb,_0x1f7711[0x2d]),_0x5a7ddf=_0x7680d1(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x1ff75d,0x10,_0x1f7711[0x2e]),_0x16db36=_0x7680d1(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x56df86,0x17,_0x1f7711[0x2f]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x43c342,0x6,_0x1f7711[0x30]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x8b0bdc,0xa,_0x1f7711[0x31]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x4b6b89,0xf,_0x1f7711[0x32]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x284848,0x15,_0x1f7711[0x33]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x50afa0,0x6,_0x1f7711[0x34]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x3df4a2,0xa,_0x1f7711[0x35]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x52f9e8,0xf,_0x1f7711[0x36]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x1b8310,0x15,_0x1f7711[0x37]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x46fef4,0x6,_0x1f7711[0x38]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1ff75d,0xa,_0x1f7711[0x39]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x5efabe,0xf,_0x1f7711[0x3a]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x3acebe,0x15,_0x1f7711[0x3b]),_0x25d237=_0x55f10b(_0x25d237,_0x16db36,_0x5a7ddf,_0x1deeb0,_0x3b5a79,0x6,_0x1f7711[0x3c]),_0x1deeb0=_0x55f10b(_0x1deeb0,_0x25d237,_0x16db36,_0x5a7ddf,_0x1eb587,0xa,_0x1f7711[0x3d]),_0x5a7ddf=_0x55f10b(_0x5a7ddf,_0x1deeb0,_0x25d237,_0x16db36,_0x56df86,0xf,_0x1f7711[0x3e]),_0x16db36=_0x55f10b(_0x16db36,_0x5a7ddf,_0x1deeb0,_0x25d237,_0x548a9b,0x15,_0x1f7711[0x3f]),_0x434a75[0x0]=_0x434a75[0x0]+_0x25d237|0x0,_0x434a75[0x1]=_0x434a75[0x1]+_0x16db36|0x0,_0x434a75[0x2]=_0x434a75[0x2]+_0x5a7ddf|0x0,_0x434a75[0x3]=_0x434a75[0x3]+_0x1deeb0|0x0;},'_doFinalize':function(){const _0x30c9f8=_0x267576;var _0x105117=this[_0x30c9f8(0x368)],_0x34b1e7=_0x105117[_0x30c9f8(0x62c)],_0xc39e82=this[_0x30c9f8(0x4f3)]*0x8,_0x19bb0c=_0x105117[_0x30c9f8(0x66f)]*0x8;_0x34b1e7[_0x19bb0c>>>0x5]|=0x80<<0x18-_0x19bb0c%0x20;var _0x3ae298=_0x162a9a[_0x30c9f8(0x387)](_0xc39e82/0x100000000),_0x4582e2=_0xc39e82;_0x34b1e7[(_0x19bb0c+0x40>>>0x9<<0x4)+0xf]=(_0x3ae298<<0x8|_0x3ae298>>>0x18)&0xff00ff|(_0x3ae298<<0x18|_0x3ae298>>>0x8)&0xff00ff00,_0x34b1e7[(_0x19bb0c+0x40>>>0x9<<0x4)+0xe]=(_0x4582e2<<0x8|_0x4582e2>>>0x18)&0xff00ff|(_0x4582e2<<0x18|_0x4582e2>>>0x8)&0xff00ff00,_0x105117[_0x30c9f8(0x66f)]=(_0x34b1e7[_0x30c9f8(0x3c9)]+0x1)*0x4,this[_0x30c9f8(0x56d)]();for(var _0x9eb4be=this[_0x30c9f8(0x650)],_0x17047f=_0x9eb4be[_0x30c9f8(0x62c)],_0x301865=0x0;_0x301865<0x4;_0x301865++){var _0x408ead=_0x17047f[_0x301865];_0x17047f[_0x301865]=(_0x408ead<<0x8|_0x408ead>>>0x18)&0xff00ff|(_0x408ead<<0x18|_0x408ead>>>0x8)&0xff00ff00;}return _0x9eb4be;},'clone':function(){const _0x1f81ad=_0x267576;var _0x194aea=_0x173c82[_0x1f81ad(0x3ec)]['call'](this);return _0x194aea[_0x1f81ad(0x650)]=this[_0x1f81ad(0x650)][_0x1f81ad(0x3ec)](),_0x194aea;}});function _0x93ac1a(_0xc78639,_0x424172,_0x38c04f,_0x54d2db,_0x1d9f94,_0x56af69,_0x22ab8c){var _0x484a29=_0xc78639+(_0x424172&_0x38c04f|~_0x424172&_0x54d2db)+_0x1d9f94+_0x22ab8c;return(_0x484a29<<_0x56af69|_0x484a29>>>0x20-_0x56af69)+_0x424172;}function _0x322bc5(_0x2099b4,_0x48d6f7,_0x316acb,_0x4154bb,_0x186329,_0x52bb70,_0x21f34e){var _0x1e91ad=_0x2099b4+(_0x48d6f7&_0x4154bb|_0x316acb&~_0x4154bb)+_0x186329+_0x21f34e;return(_0x1e91ad<<_0x52bb70|_0x1e91ad>>>0x20-_0x52bb70)+_0x48d6f7;}function _0x7680d1(_0x2cc48e,_0x123549,_0xb7a004,_0x319a7a,_0x119944,_0x46db09,_0xf3a651){var _0x3a725e=_0x2cc48e+(_0x123549^_0xb7a004^_0x319a7a)+_0x119944+_0xf3a651;return(_0x3a725e<<_0x46db09|_0x3a725e>>>0x20-_0x46db09)+_0x123549;}function _0x55f10b(_0x448a28,_0x1796e5,_0x48b7f3,_0x3f68fa,_0xfd8822,_0x1b265d,_0x38c0c8){var _0x9d6dbe=_0x448a28+(_0x48b7f3^(_0x1796e5|~_0x3f68fa))+_0xfd8822+_0x38c0c8;return(_0x9d6dbe<<_0x1b265d|_0x9d6dbe>>>0x20-_0x1b265d)+_0x1796e5;}_0x79a8bf[_0x267576(0x366)]=_0x173c82[_0x267576(0x300)](_0x50742d),_0x79a8bf[_0x267576(0x5e1)]=_0x173c82[_0x267576(0x415)](_0x50742d);}(Math),_0x492570[_0x554b9c(0x366)];}));}(Ve)),Ve['exports'];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0x24e421(0x432)],ni;function Cs(){const _0x329a39=_0x24e421;return ni||(ni=0x1,function(_0x67d01,_0x54af77){(function(_0x31b96d,_0x3e1799){const _0x3d341e=_0x5e3c;_0x67d01[_0x3d341e(0x432)]=_0x3e1799(se());}(Is,function(_0x3dd2be){const _0x59c74a=_0x5e3c;return(function(){const _0x207d6c=_0x5e3c;var _0x5498d7=_0x3dd2be,_0x2ea677=_0x5498d7[_0x207d6c(0x25e)],_0x24d55d=_0x2ea677[_0x207d6c(0x60f)],_0x1386ba=_0x2ea677[_0x207d6c(0x473)],_0x4009ab=_0x5498d7[_0x207d6c(0x32f)],_0x4f342e=[],_0xd81df6=_0x4009ab['SHA1']=_0x1386ba['extend']({'_doReset':function(){const _0x2e3103=_0x207d6c;this[_0x2e3103(0x650)]=new _0x24d55d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b8376,_0x3c99d3){const _0x66ba7f=_0x207d6c;for(var _0x2f09d7=this['_hash'][_0x66ba7f(0x62c)],_0x58225e=_0x2f09d7[0x0],_0x55b98d=_0x2f09d7[0x1],_0x424ee5=_0x2f09d7[0x2],_0x14594a=_0x2f09d7[0x3],_0x5ecb44=_0x2f09d7[0x4],_0x2ae03f=0x0;_0x2ae03f<0x50;_0x2ae03f++){if(_0x2ae03f<0x10)_0x4f342e[_0x2ae03f]=_0x5b8376[_0x3c99d3+_0x2ae03f]|0x0;else{var _0x442ca4=_0x4f342e[_0x2ae03f-0x3]^_0x4f342e[_0x2ae03f-0x8]^_0x4f342e[_0x2ae03f-0xe]^_0x4f342e[_0x2ae03f-0x10];_0x4f342e[_0x2ae03f]=_0x442ca4<<0x1|_0x442ca4>>>0x1f;}var _0x15c63d=(_0x58225e<<0x5|_0x58225e>>>0x1b)+_0x5ecb44+_0x4f342e[_0x2ae03f];_0x2ae03f<0x14?_0x15c63d+=(_0x55b98d&_0x424ee5|~_0x55b98d&_0x14594a)+0x5a827999:_0x2ae03f<0x28?_0x15c63d+=(_0x55b98d^_0x424ee5^_0x14594a)+0x6ed9eba1:_0x2ae03f<0x3c?_0x15c63d+=(_0x55b98d&_0x424ee5|_0x55b98d&_0x14594a|_0x424ee5&_0x14594a)-0x70e44324:_0x15c63d+=(_0x55b98d^_0x424ee5^_0x14594a)-0x359d3e2a,_0x5ecb44=_0x14594a,_0x14594a=_0x424ee5,_0x424ee5=_0x55b98d<<0x1e|_0x55b98d>>>0x2,_0x55b98d=_0x58225e,_0x58225e=_0x15c63d;}_0x2f09d7[0x0]=_0x2f09d7[0x0]+_0x58225e|0x0,_0x2f09d7[0x1]=_0x2f09d7[0x1]+_0x55b98d|0x0,_0x2f09d7[0x2]=_0x2f09d7[0x2]+_0x424ee5|0x0,_0x2f09d7[0x3]=_0x2f09d7[0x3]+_0x14594a|0x0,_0x2f09d7[0x4]=_0x2f09d7[0x4]+_0x5ecb44|0x0;},'_doFinalize':function(){const _0xc59b27=_0x207d6c;var _0xb4f4f8=this['_data'],_0x593620=_0xb4f4f8[_0xc59b27(0x62c)],_0x54c474=this['_nDataBytes']*0x8,_0x6cd64c=_0xb4f4f8[_0xc59b27(0x66f)]*0x8;return _0x593620[_0x6cd64c>>>0x5]|=0x80<<0x18-_0x6cd64c%0x20,_0x593620[(_0x6cd64c+0x40>>>0x9<<0x4)+0xe]=Math[_0xc59b27(0x387)](_0x54c474/0x100000000),_0x593620[(_0x6cd64c+0x40>>>0x9<<0x4)+0xf]=_0x54c474,_0xb4f4f8['sigBytes']=_0x593620[_0xc59b27(0x3c9)]*0x4,this[_0xc59b27(0x56d)](),this['_hash'];},'clone':function(){const _0x1f0cec=_0x207d6c;var _0x1883da=_0x1386ba[_0x1f0cec(0x3ec)]['call'](this);return _0x1883da[_0x1f0cec(0x650)]=this[_0x1f0cec(0x650)][_0x1f0cec(0x3ec)](),_0x1883da;}});_0x5498d7[_0x207d6c(0x4c4)]=_0x1386ba[_0x207d6c(0x300)](_0xd81df6),_0x5498d7[_0x207d6c(0x5e8)]=_0x1386ba[_0x207d6c(0x415)](_0xd81df6);}()),_0x3dd2be[_0x59c74a(0x4c4)];}));}(Ye)),Ye[_0x329a39(0x432)];}var qe={'exports':{}},Es=qe[_0x24e421(0x432)],ri;function bs(){const _0x1df7cd=_0x24e421;return ri||(ri=0x1,function(_0x37497e,_0x239c1f){(function(_0x4755d7,_0x238ace){const _0x5ef46e=_0x5e3c;_0x37497e[_0x5ef46e(0x432)]=_0x238ace(se());}(Es,function(_0xefb063){(function(){const _0x271ad5=_0x5e3c;var _0x165f90=_0xefb063,_0x342fce=_0x165f90[_0x271ad5(0x25e)],_0x599da7=_0x342fce[_0x271ad5(0x2c3)],_0x4e383b=_0x165f90['enc'],_0x4dc8e0=_0x4e383b[_0x271ad5(0x3f9)],_0x2714d2=_0x165f90[_0x271ad5(0x32f)];_0x2714d2['HMAC']=_0x599da7[_0x271ad5(0x3a1)]({'init':function(_0x48da4c,_0x53e9e5){const _0x5c5eb0=_0x271ad5;_0x48da4c=this['_hasher']=new _0x48da4c[(_0x5c5eb0(0x503))](),typeof _0x53e9e5=='string'&&(_0x53e9e5=_0x4dc8e0[_0x5c5eb0(0x1f0)](_0x53e9e5));var _0xb2a6bf=_0x48da4c[_0x5c5eb0(0x560)],_0x5cc7a1=_0xb2a6bf*0x4;_0x53e9e5['sigBytes']>_0x5cc7a1&&(_0x53e9e5=_0x48da4c[_0x5c5eb0(0x255)](_0x53e9e5)),_0x53e9e5[_0x5c5eb0(0x1d7)]();for(var _0x4d2378=this['_oKey']=_0x53e9e5[_0x5c5eb0(0x3ec)](),_0x5b22c5=this[_0x5c5eb0(0x491)]=_0x53e9e5[_0x5c5eb0(0x3ec)](),_0x5cf265=_0x4d2378[_0x5c5eb0(0x62c)],_0x1b5635=_0x5b22c5[_0x5c5eb0(0x62c)],_0x4ac5e0=0x0;_0x4ac5e0<_0xb2a6bf;_0x4ac5e0++)_0x5cf265[_0x4ac5e0]^=0x5c5c5c5c,_0x1b5635[_0x4ac5e0]^=0x36363636;_0x4d2378[_0x5c5eb0(0x66f)]=_0x5b22c5[_0x5c5eb0(0x66f)]=_0x5cc7a1,this[_0x5c5eb0(0x42c)]();},'reset':function(){const _0x3cbb88=_0x271ad5;var _0x218a03=this['_hasher'];_0x218a03['reset'](),_0x218a03[_0x3cbb88(0x5cb)](this[_0x3cbb88(0x491)]);},'update':function(_0x571f50){const _0x267ef9=_0x271ad5;return this[_0x267ef9(0x24c)][_0x267ef9(0x5cb)](_0x571f50),this;},'finalize':function(_0xbd1888){const _0x148ad7=_0x271ad5;var _0x890685=this[_0x148ad7(0x24c)],_0x10ff3b=_0x890685['finalize'](_0xbd1888);_0x890685[_0x148ad7(0x42c)]();var _0x279c7c=_0x890685[_0x148ad7(0x255)](this[_0x148ad7(0x676)][_0x148ad7(0x3ec)]()[_0x148ad7(0x437)](_0x10ff3b));return _0x279c7c;}});}());}));}(qe)),qe[_0x1df7cd(0x432)];}var Ts=Ge['exports'],si;function Hi(){const _0x262480=_0x24e421;return si||(si=0x1,function(_0x3057b9,_0x4f3192){(function(_0x163d5f,_0x53fafa,_0x1e0968){_0x3057b9['exports']=_0x53fafa(se(),Cs(),bs());}(Ts,function(_0x4b34ab){const _0x16790f=_0x5e3c;return(function(){const _0x31e9f1=_0x5e3c;var _0xa5b86b=_0x4b34ab,_0x16ffee=_0xa5b86b[_0x31e9f1(0x25e)],_0x214295=_0x16ffee[_0x31e9f1(0x2c3)],_0x1873fa=_0x16ffee[_0x31e9f1(0x60f)],_0x2c5bbd=_0xa5b86b[_0x31e9f1(0x32f)],_0x47b457=_0x2c5bbd[_0x31e9f1(0x366)],_0x4d6926=_0x2c5bbd[_0x31e9f1(0x228)]=_0x214295[_0x31e9f1(0x3a1)]({'cfg':_0x214295['extend']({'keySize':0x80/0x20,'hasher':_0x47b457,'iterations':0x1}),'init':function(_0x352b0d){const _0x22d3f2=_0x31e9f1;this[_0x22d3f2(0x3b5)]=this[_0x22d3f2(0x3b5)][_0x22d3f2(0x3a1)](_0x352b0d);},'compute':function(_0x4ab370,_0x1ae3d8){const _0x2a50f9=_0x31e9f1;for(var _0xc1374,_0x4de190=this[_0x2a50f9(0x3b5)],_0x4f5012=_0x4de190['hasher'][_0x2a50f9(0x470)](),_0xa328ae=_0x1873fa[_0x2a50f9(0x470)](),_0x27aaf0=_0xa328ae[_0x2a50f9(0x62c)],_0x3a967a=_0x4de190['keySize'],_0x3ac998=_0x4de190[_0x2a50f9(0x4f1)];_0x27aaf0[_0x2a50f9(0x3c9)]<_0x3a967a;){_0xc1374&&_0x4f5012[_0x2a50f9(0x5cb)](_0xc1374),_0xc1374=_0x4f5012[_0x2a50f9(0x5cb)](_0x4ab370)[_0x2a50f9(0x255)](_0x1ae3d8),_0x4f5012[_0x2a50f9(0x42c)]();for(var _0x3019ea=0x1;_0x3019ea<_0x3ac998;_0x3019ea++)_0xc1374=_0x4f5012[_0x2a50f9(0x255)](_0xc1374),_0x4f5012[_0x2a50f9(0x42c)]();_0xa328ae[_0x2a50f9(0x437)](_0xc1374);}return _0xa328ae[_0x2a50f9(0x66f)]=_0x3a967a*0x4,_0xa328ae;}});_0xa5b86b['EvpKDF']=function(_0xa17217,_0xf2c6cb,_0x5cd3c5){const _0x324a00=_0x31e9f1;return _0x4d6926[_0x324a00(0x470)](_0x5cd3c5)['compute'](_0xa17217,_0xf2c6cb);};}()),_0x4b34ab[_0x16790f(0x228)];}));}(Ge)),Ge[_0x262480(0x432)];}var Ke={'exports':{}},Rs=Ke[_0x24e421(0x432)],oi;function Bi(){const _0x321e9b=_0x24e421;return oi||(oi=0x1,function(_0x355e98,_0x3b5d33){(function(_0x4ec8e9,_0x58c26d,_0x4f1ffc){const _0x1be793=_0x5e3c;_0x355e98[_0x1be793(0x432)]=_0x58c26d(se(),Hi());}(Rs,function(_0x2d345f){const _0x3249c7=_0x5e3c;_0x2d345f[_0x3249c7(0x25e)][_0x3249c7(0x36f)]||function(_0x3f1f90){const _0x4980a5=_0x3249c7;var _0xdaacce=_0x2d345f,_0x509cc9=_0xdaacce[_0x4980a5(0x25e)],_0x1c9980=_0x509cc9[_0x4980a5(0x2c3)],_0x489a9a=_0x509cc9['WordArray'],_0x3c83b8=_0x509cc9[_0x4980a5(0x66a)],_0x3a2f03=_0xdaacce[_0x4980a5(0x1d3)];_0x3a2f03[_0x4980a5(0x3f9)];var _0x3f848a=_0x3a2f03[_0x4980a5(0x510)],_0x58cf87=_0xdaacce[_0x4980a5(0x32f)],_0x209c45=_0x58cf87[_0x4980a5(0x228)],_0x3b131b=_0x509cc9[_0x4980a5(0x36f)]=_0x3c83b8[_0x4980a5(0x3a1)]({'cfg':_0x1c9980['extend'](),'createEncryptor':function(_0x1941be,_0x577876){const _0x18e64c=_0x4980a5;return this[_0x18e64c(0x470)](this['_ENC_XFORM_MODE'],_0x1941be,_0x577876);},'createDecryptor':function(_0x2dbd10,_0x33f7b1){const _0x28af85=_0x4980a5;return this[_0x28af85(0x470)](this[_0x28af85(0x214)],_0x2dbd10,_0x33f7b1);},'init':function(_0x343bcc,_0x1005cd,_0x264ea0){const _0x42a5d4=_0x4980a5;this[_0x42a5d4(0x3b5)]=this['cfg'][_0x42a5d4(0x3a1)](_0x264ea0),this[_0x42a5d4(0x27f)]=_0x343bcc,this[_0x42a5d4(0x3cb)]=_0x1005cd,this['reset']();},'reset':function(){_0x3c83b8['reset']['call'](this),this['_doReset']();},'process':function(_0x42ea50){const _0x3dcb41=_0x4980a5;return this[_0x3dcb41(0x559)](_0x42ea50),this[_0x3dcb41(0x56d)]();},'finalize':function(_0x7bf98d){const _0x517eca=_0x4980a5;_0x7bf98d&&this[_0x517eca(0x559)](_0x7bf98d);var _0x1d9bbc=this[_0x517eca(0x40d)]();return _0x1d9bbc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x317076(_0xf2b32){const _0x2509a1=_0x5e3c;return typeof _0xf2b32==_0x2509a1(0x64c)?_0x2f1bde:_0x296f06;}return function(_0x382e83){return{'encrypt':function(_0x24a80f,_0x194417,_0x5b9eaa){const _0x3a3110=_0x5e3c;return _0x317076(_0x194417)[_0x3a3110(0x2b0)](_0x382e83,_0x24a80f,_0x194417,_0x5b9eaa);},'decrypt':function(_0x1e7e55,_0x522ae1,_0x254176){const _0x47445d=_0x5e3c;return _0x317076(_0x522ae1)[_0x47445d(0x4ff)](_0x382e83,_0x1e7e55,_0x522ae1,_0x254176);}};};}())});_0x509cc9[_0x4980a5(0x33a)]=_0x3b131b[_0x4980a5(0x3a1)]({'_doFinalize':function(){const _0x64fb24=_0x4980a5;var _0x595fab=this[_0x64fb24(0x56d)](!0x0);return _0x595fab;},'blockSize':0x1});var _0x2b6fc9=_0xdaacce[_0x4980a5(0x547)]={},_0x2c7fc7=_0x509cc9[_0x4980a5(0x246)]=_0x1c9980[_0x4980a5(0x3a1)]({'createEncryptor':function(_0xab7f5a,_0x409020){const _0x559f7c=_0x4980a5;return this[_0x559f7c(0x289)][_0x559f7c(0x470)](_0xab7f5a,_0x409020);},'createDecryptor':function(_0x586f70,_0x38537e){const _0x5c28ac=_0x4980a5;return this[_0x5c28ac(0x3dd)]['create'](_0x586f70,_0x38537e);},'init':function(_0x22b3a6,_0xc2ca6c){const _0x3b1535=_0x4980a5;this['_cipher']=_0x22b3a6,this[_0x3b1535(0x610)]=_0xc2ca6c;}}),_0x1d3e86=_0x2b6fc9['CBC']=(function(){const _0x431843=_0x4980a5;var _0x428ea5=_0x2c7fc7[_0x431843(0x3a1)]();_0x428ea5[_0x431843(0x289)]=_0x428ea5['extend']({'processBlock':function(_0x367c22,_0x182750){const _0x133263=_0x431843;var _0xe18319=this[_0x133263(0x5dd)],_0xb6a4e1=_0xe18319[_0x133263(0x560)];_0x3dbfcb[_0x133263(0x546)](this,_0x367c22,_0x182750,_0xb6a4e1),_0xe18319[_0x133263(0x3a3)](_0x367c22,_0x182750),this[_0x133263(0x407)]=_0x367c22[_0x133263(0x406)](_0x182750,_0x182750+_0xb6a4e1);}}),_0x428ea5[_0x431843(0x3dd)]=_0x428ea5[_0x431843(0x3a1)]({'processBlock':function(_0x1fa9a2,_0x498ad9){const _0xc24e09=_0x431843;var _0x53eb84=this['_cipher'],_0x4f78c2=_0x53eb84['blockSize'],_0x2c8f58=_0x1fa9a2['slice'](_0x498ad9,_0x498ad9+_0x4f78c2);_0x53eb84[_0xc24e09(0x37e)](_0x1fa9a2,_0x498ad9),_0x3dbfcb[_0xc24e09(0x546)](this,_0x1fa9a2,_0x498ad9,_0x4f78c2),this[_0xc24e09(0x407)]=_0x2c8f58;}});function _0x3dbfcb(_0x166d36,_0x5c59a6,_0xf97c5d){const _0x5c7b53=_0x431843;var _0x5714ac,_0xe5b8f2=this['_iv'];_0xe5b8f2?(_0x5714ac=_0xe5b8f2,this[_0x5c7b53(0x610)]=_0x3f1f90):_0x5714ac=this['_prevBlock'];for(var _0x550af7=0x0;_0x550af7<_0xf97c5d;_0x550af7++)_0x166d36[_0x5c59a6+_0x550af7]^=_0x5714ac[_0x550af7];}return _0x428ea5;}()),_0x2a7dae=_0xdaacce[_0x4980a5(0x448)]={},_0x2f3b2d=_0x2a7dae[_0x4980a5(0x582)]={'pad':function(_0x4d0e74,_0xd15194){const _0x54d5ba=_0x4980a5;for(var _0x1d61de=_0xd15194*0x4,_0x63db7=_0x1d61de-_0x4d0e74[_0x54d5ba(0x66f)]%_0x1d61de,_0x451c86=_0x63db7<<0x18|_0x63db7<<0x10|_0x63db7<<0x8|_0x63db7,_0x1b1568=[],_0x943389=0x0;_0x943389<_0x63db7;_0x943389+=0x4)_0x1b1568[_0x54d5ba(0x2f8)](_0x451c86);var _0x3c9634=_0x489a9a[_0x54d5ba(0x470)](_0x1b1568,_0x63db7);_0x4d0e74[_0x54d5ba(0x437)](_0x3c9634);},'unpad':function(_0x59a878){const _0x4acd2e=_0x4980a5;var _0x1449be=_0x59a878['words'][_0x59a878[_0x4acd2e(0x66f)]-0x1>>>0x2]&0xff;_0x59a878[_0x4acd2e(0x66f)]-=_0x1449be;}};_0x509cc9['BlockCipher']=_0x3b131b[_0x4980a5(0x3a1)]({'cfg':_0x3b131b[_0x4980a5(0x3b5)][_0x4980a5(0x3a1)]({'mode':_0x1d3e86,'padding':_0x2f3b2d}),'reset':function(){const _0x3f4701=_0x4980a5;var _0x587741;_0x3b131b[_0x3f4701(0x42c)]['call'](this);var _0x33f935=this['cfg'],_0x55a479=_0x33f935['iv'],_0x18a91c=_0x33f935['mode'];this[_0x3f4701(0x27f)]==this['_ENC_XFORM_MODE']?_0x587741=_0x18a91c[_0x3f4701(0x50e)]:(_0x587741=_0x18a91c[_0x3f4701(0x50d)],this[_0x3f4701(0x3e2)]=0x1),this['_mode']&&this[_0x3f4701(0x26f)]['__creator']==_0x587741?this[_0x3f4701(0x26f)][_0x3f4701(0x503)](this,_0x55a479&&_0x55a479[_0x3f4701(0x62c)]):(this[_0x3f4701(0x26f)]=_0x587741[_0x3f4701(0x546)](_0x18a91c,this,_0x55a479&&_0x55a479[_0x3f4701(0x62c)]),this[_0x3f4701(0x26f)]['__creator']=_0x587741);},'_doProcessBlock':function(_0x49e86e,_0x575871){const _0x241beb=_0x4980a5;this[_0x241beb(0x26f)][_0x241beb(0x497)](_0x49e86e,_0x575871);},'_doFinalize':function(){const _0x394eeb=_0x4980a5;var _0x270304,_0x3c3031=this[_0x394eeb(0x3b5)][_0x394eeb(0x424)];return this[_0x394eeb(0x27f)]==this['_ENC_XFORM_MODE']?(_0x3c3031[_0x394eeb(0x448)](this[_0x394eeb(0x368)],this[_0x394eeb(0x560)]),_0x270304=this['_process'](!0x0)):(_0x270304=this[_0x394eeb(0x56d)](!0x0),_0x3c3031[_0x394eeb(0x556)](_0x270304)),_0x270304;},'blockSize':0x80/0x20});var _0x22f3af=_0x509cc9['CipherParams']=_0x1c9980[_0x4980a5(0x3a1)]({'init':function(_0x25a9c5){const _0x5c54dd=_0x4980a5;this[_0x5c54dd(0x35f)](_0x25a9c5);},'toString':function(_0x15e640){const _0x4d2721=_0x4980a5;return(_0x15e640||this[_0x4d2721(0x42b)])['stringify'](this);}}),_0x339f76=_0xdaacce[_0x4980a5(0x590)]={},_0x3cb839=_0x339f76['OpenSSL']={'stringify':function(_0x21f14f){const _0x135cec=_0x4980a5;var _0xa598ff,_0x53c2a9=_0x21f14f[_0x135cec(0x61e)],_0x56c407=_0x21f14f[_0x135cec(0x50b)];return _0x56c407?_0xa598ff=_0x489a9a[_0x135cec(0x470)]([0x53616c74,0x65645f5f])[_0x135cec(0x437)](_0x56c407)[_0x135cec(0x437)](_0x53c2a9):_0xa598ff=_0x53c2a9,_0xa598ff['toString'](_0x3f848a);},'parse':function(_0x2d7446){const _0xe5c1bb=_0x4980a5;var _0x3f7306,_0x3cf35e=_0x3f848a[_0xe5c1bb(0x1f0)](_0x2d7446),_0x5e5288=_0x3cf35e[_0xe5c1bb(0x62c)];return _0x5e5288[0x0]==0x53616c74&&_0x5e5288[0x1]==0x65645f5f&&(_0x3f7306=_0x489a9a['create'](_0x5e5288[_0xe5c1bb(0x406)](0x2,0x4)),_0x5e5288[_0xe5c1bb(0x1ec)](0x0,0x4),_0x3cf35e['sigBytes']-=0x10),_0x22f3af['create']({'ciphertext':_0x3cf35e,'salt':_0x3f7306});}},_0x296f06=_0x509cc9[_0x4980a5(0x577)]=_0x1c9980['extend']({'cfg':_0x1c9980[_0x4980a5(0x3a1)]({'format':_0x3cb839}),'encrypt':function(_0x37575b,_0xc68f64,_0x1ec8ac,_0x17614a){const _0x5a629d=_0x4980a5;_0x17614a=this[_0x5a629d(0x3b5)][_0x5a629d(0x3a1)](_0x17614a);var _0xc029f4=_0x37575b[_0x5a629d(0x50e)](_0x1ec8ac,_0x17614a),_0x5af867=_0xc029f4['finalize'](_0xc68f64),_0x17edb8=_0xc029f4[_0x5a629d(0x3b5)];return _0x22f3af[_0x5a629d(0x470)]({'ciphertext':_0x5af867,'key':_0x1ec8ac,'iv':_0x17edb8['iv'],'algorithm':_0x37575b,'mode':_0x17edb8['mode'],'padding':_0x17edb8['padding'],'blockSize':_0x37575b[_0x5a629d(0x560)],'formatter':_0x17614a[_0x5a629d(0x590)]});},'decrypt':function(_0x334f28,_0x329210,_0x509bde,_0x6e8572){const _0x1e4b3a=_0x4980a5;_0x6e8572=this[_0x1e4b3a(0x3b5)][_0x1e4b3a(0x3a1)](_0x6e8572),_0x329210=this[_0x1e4b3a(0x3bd)](_0x329210,_0x6e8572[_0x1e4b3a(0x590)]);var _0x4f5f83=_0x334f28['createDecryptor'](_0x509bde,_0x6e8572)[_0x1e4b3a(0x255)](_0x329210[_0x1e4b3a(0x61e)]);return _0x4f5f83;},'_parse':function(_0x560739,_0x431684){const _0x17928d=_0x4980a5;return typeof _0x560739==_0x17928d(0x64c)?_0x431684[_0x17928d(0x1f0)](_0x560739,this):_0x560739;}}),_0x525717=_0xdaacce[_0x4980a5(0x4d5)]={},_0x24954b=_0x525717[_0x4980a5(0x2c7)]={'execute':function(_0x35d605,_0x5660d3,_0xb04f93,_0x461bce,_0x52073f){const _0x31919f=_0x4980a5;if(_0x461bce||(_0x461bce=_0x489a9a[_0x31919f(0x498)](0x40/0x8)),_0x52073f)var _0x40159b=_0x209c45[_0x31919f(0x470)]({'keySize':_0x5660d3+_0xb04f93,'hasher':_0x52073f})[_0x31919f(0x5de)](_0x35d605,_0x461bce);else var _0x40159b=_0x209c45[_0x31919f(0x470)]({'keySize':_0x5660d3+_0xb04f93})[_0x31919f(0x5de)](_0x35d605,_0x461bce);var _0x36e720=_0x489a9a[_0x31919f(0x470)](_0x40159b[_0x31919f(0x62c)][_0x31919f(0x406)](_0x5660d3),_0xb04f93*0x4);return _0x40159b[_0x31919f(0x66f)]=_0x5660d3*0x4,_0x22f3af[_0x31919f(0x470)]({'key':_0x40159b,'iv':_0x36e720,'salt':_0x461bce});}},_0x2f1bde=_0x509cc9['PasswordBasedCipher']=_0x296f06[_0x4980a5(0x3a1)]({'cfg':_0x296f06[_0x4980a5(0x3b5)][_0x4980a5(0x3a1)]({'kdf':_0x24954b}),'encrypt':function(_0x1cc27c,_0x376b63,_0x321855,_0x516a1e){const _0x3a0ab5=_0x4980a5;_0x516a1e=this['cfg'][_0x3a0ab5(0x3a1)](_0x516a1e);var _0xd882da=_0x516a1e[_0x3a0ab5(0x4d5)][_0x3a0ab5(0x391)](_0x321855,_0x1cc27c['keySize'],_0x1cc27c[_0x3a0ab5(0x593)],_0x516a1e[_0x3a0ab5(0x50b)],_0x516a1e['hasher']);_0x516a1e['iv']=_0xd882da['iv'];var _0x1ea9d4=_0x296f06[_0x3a0ab5(0x2b0)][_0x3a0ab5(0x546)](this,_0x1cc27c,_0x376b63,_0xd882da[_0x3a0ab5(0x5ab)],_0x516a1e);return _0x1ea9d4['mixIn'](_0xd882da),_0x1ea9d4;},'decrypt':function(_0x8d1aa2,_0x27773b,_0x51fe3f,_0x1522d3){const _0x35197e=_0x4980a5;_0x1522d3=this['cfg']['extend'](_0x1522d3),_0x27773b=this[_0x35197e(0x3bd)](_0x27773b,_0x1522d3['format']);var _0x17a52c=_0x1522d3[_0x35197e(0x4d5)][_0x35197e(0x391)](_0x51fe3f,_0x8d1aa2[_0x35197e(0x22b)],_0x8d1aa2[_0x35197e(0x593)],_0x27773b[_0x35197e(0x50b)],_0x1522d3[_0x35197e(0x511)]);_0x1522d3['iv']=_0x17a52c['iv'];var _0x30ba13=_0x296f06['decrypt']['call'](this,_0x8d1aa2,_0x27773b,_0x17a52c[_0x35197e(0x5ab)],_0x1522d3);return _0x30ba13;}});}();}));}(Ke)),Ke[_0x321e9b(0x432)];}var Os=ke[_0x24e421(0x432)],ai;function ys(){return ai||(ai=0x1,function(_0x3f58f2,_0x2e5b8f){(function(_0x1d2ffa,_0x3e1570,_0x5890c9){_0x3f58f2['exports']=_0x3e1570(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0xcaa19c){const _0x20f54c=_0x5e3c;return(function(){const _0x420ce1=_0x5e3c;var _0x4f5032=_0xcaa19c,_0xab11a2=_0x4f5032[_0x420ce1(0x25e)],_0x293d79=_0xab11a2[_0x420ce1(0x440)],_0x48e7a2=_0x4f5032[_0x420ce1(0x32f)],_0xcd22d6=[],_0x286e97=[],_0x7f6dc7=[],_0x4d560f=[],_0x1b0558=[],_0x54f1fa=[],_0x3cd4ad=[],_0x36fa34=[],_0x1695c0=[],_0x1ca24c=[];(function(){for(var _0x154b3b=[],_0x3084f6=0x0;_0x3084f6<0x100;_0x3084f6++)_0x3084f6<0x80?_0x154b3b[_0x3084f6]=_0x3084f6<<0x1:_0x154b3b[_0x3084f6]=_0x3084f6<<0x1^0x11b;for(var _0x19d865=0x0,_0x4ea68d=0x0,_0x3084f6=0x0;_0x3084f6<0x100;_0x3084f6++){var _0x49097a=_0x4ea68d^_0x4ea68d<<0x1^_0x4ea68d<<0x2^_0x4ea68d<<0x3^_0x4ea68d<<0x4;_0x49097a=_0x49097a>>>0x8^_0x49097a&0xff^0x63,_0xcd22d6[_0x19d865]=_0x49097a,_0x286e97[_0x49097a]=_0x19d865;var _0x2356e4=_0x154b3b[_0x19d865],_0x357381=_0x154b3b[_0x2356e4],_0x2f4080=_0x154b3b[_0x357381],_0x5e9bd9=_0x154b3b[_0x49097a]*0x101^_0x49097a*0x1010100;_0x7f6dc7[_0x19d865]=_0x5e9bd9<<0x18|_0x5e9bd9>>>0x8,_0x4d560f[_0x19d865]=_0x5e9bd9<<0x10|_0x5e9bd9>>>0x10,_0x1b0558[_0x19d865]=_0x5e9bd9<<0x8|_0x5e9bd9>>>0x18,_0x54f1fa[_0x19d865]=_0x5e9bd9;var _0x5e9bd9=_0x2f4080*0x1010101^_0x357381*0x10001^_0x2356e4*0x101^_0x19d865*0x1010100;_0x3cd4ad[_0x49097a]=_0x5e9bd9<<0x18|_0x5e9bd9>>>0x8,_0x36fa34[_0x49097a]=_0x5e9bd9<<0x10|_0x5e9bd9>>>0x10,_0x1695c0[_0x49097a]=_0x5e9bd9<<0x8|_0x5e9bd9>>>0x18,_0x1ca24c[_0x49097a]=_0x5e9bd9,_0x19d865?(_0x19d865=_0x2356e4^_0x154b3b[_0x154b3b[_0x154b3b[_0x2f4080^_0x2356e4]]],_0x4ea68d^=_0x154b3b[_0x154b3b[_0x4ea68d]]):_0x19d865=_0x4ea68d=0x1;}}());var _0x11e9f1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4574bd=_0x48e7a2[_0x420ce1(0x22f)]=_0x293d79[_0x420ce1(0x3a1)]({'_doReset':function(){const _0x3a0e2d=_0x420ce1;var _0xbf07c5;if(!(this[_0x3a0e2d(0x1ba)]&&this[_0x3a0e2d(0x520)]===this['_key'])){for(var _0x5d825a=this['_keyPriorReset']=this[_0x3a0e2d(0x3cb)],_0x14ecd2=_0x5d825a['words'],_0x3f9b1a=_0x5d825a[_0x3a0e2d(0x66f)]/0x4,_0x3e6718=this['_nRounds']=_0x3f9b1a+0x6,_0x3a042b=(_0x3e6718+0x1)*0x4,_0x4f1cb1=this[_0x3a0e2d(0x2f0)]=[],_0x3dd54a=0x0;_0x3dd54a<_0x3a042b;_0x3dd54a++)_0x3dd54a<_0x3f9b1a?_0x4f1cb1[_0x3dd54a]=_0x14ecd2[_0x3dd54a]:(_0xbf07c5=_0x4f1cb1[_0x3dd54a-0x1],_0x3dd54a%_0x3f9b1a?_0x3f9b1a>0x6&&_0x3dd54a%_0x3f9b1a==0x4&&(_0xbf07c5=_0xcd22d6[_0xbf07c5>>>0x18]<<0x18|_0xcd22d6[_0xbf07c5>>>0x10&0xff]<<0x10|_0xcd22d6[_0xbf07c5>>>0x8&0xff]<<0x8|_0xcd22d6[_0xbf07c5&0xff]):(_0xbf07c5=_0xbf07c5<<0x8|_0xbf07c5>>>0x18,_0xbf07c5=_0xcd22d6[_0xbf07c5>>>0x18]<<0x18|_0xcd22d6[_0xbf07c5>>>0x10&0xff]<<0x10|_0xcd22d6[_0xbf07c5>>>0x8&0xff]<<0x8|_0xcd22d6[_0xbf07c5&0xff],_0xbf07c5^=_0x11e9f1[_0x3dd54a/_0x3f9b1a|0x0]<<0x18),_0x4f1cb1[_0x3dd54a]=_0x4f1cb1[_0x3dd54a-_0x3f9b1a]^_0xbf07c5);for(var _0x162406=this['_invKeySchedule']=[],_0x556f3f=0x0;_0x556f3f<_0x3a042b;_0x556f3f++){var _0x3dd54a=_0x3a042b-_0x556f3f;if(_0x556f3f%0x4)var _0xbf07c5=_0x4f1cb1[_0x3dd54a];else var _0xbf07c5=_0x4f1cb1[_0x3dd54a-0x4];_0x556f3f<0x4||_0x3dd54a<=0x4?_0x162406[_0x556f3f]=_0xbf07c5:_0x162406[_0x556f3f]=_0x3cd4ad[_0xcd22d6[_0xbf07c5>>>0x18]]^_0x36fa34[_0xcd22d6[_0xbf07c5>>>0x10&0xff]]^_0x1695c0[_0xcd22d6[_0xbf07c5>>>0x8&0xff]]^_0x1ca24c[_0xcd22d6[_0xbf07c5&0xff]];}}},'encryptBlock':function(_0x36fd13,_0x534448){const _0x37a5c8=_0x420ce1;this['_doCryptBlock'](_0x36fd13,_0x534448,this[_0x37a5c8(0x2f0)],_0x7f6dc7,_0x4d560f,_0x1b0558,_0x54f1fa,_0xcd22d6);},'decryptBlock':function(_0x1146a7,_0x2a4ac0){const _0x30c847=_0x420ce1;var _0x29b253=_0x1146a7[_0x2a4ac0+0x1];_0x1146a7[_0x2a4ac0+0x1]=_0x1146a7[_0x2a4ac0+0x3],_0x1146a7[_0x2a4ac0+0x3]=_0x29b253,this[_0x30c847(0x293)](_0x1146a7,_0x2a4ac0,this[_0x30c847(0x3ce)],_0x3cd4ad,_0x36fa34,_0x1695c0,_0x1ca24c,_0x286e97);var _0x29b253=_0x1146a7[_0x2a4ac0+0x1];_0x1146a7[_0x2a4ac0+0x1]=_0x1146a7[_0x2a4ac0+0x3],_0x1146a7[_0x2a4ac0+0x3]=_0x29b253;},'_doCryptBlock':function(_0x2c25ce,_0x30b5fd,_0x1ea49c,_0x313491,_0x272f95,_0x413c5d,_0x12c225,_0x249d34){const _0x5f1529=_0x420ce1;for(var _0x49ef9a=this[_0x5f1529(0x1ba)],_0x228375=_0x2c25ce[_0x30b5fd]^_0x1ea49c[0x0],_0x519a32=_0x2c25ce[_0x30b5fd+0x1]^_0x1ea49c[0x1],_0x5667cb=_0x2c25ce[_0x30b5fd+0x2]^_0x1ea49c[0x2],_0x4c79b2=_0x2c25ce[_0x30b5fd+0x3]^_0x1ea49c[0x3],_0x5c22dc=0x4,_0x59d63f=0x1;_0x59d63f<_0x49ef9a;_0x59d63f++){var _0x4c5183=_0x313491[_0x228375>>>0x18]^_0x272f95[_0x519a32>>>0x10&0xff]^_0x413c5d[_0x5667cb>>>0x8&0xff]^_0x12c225[_0x4c79b2&0xff]^_0x1ea49c[_0x5c22dc++],_0x322c55=_0x313491[_0x519a32>>>0x18]^_0x272f95[_0x5667cb>>>0x10&0xff]^_0x413c5d[_0x4c79b2>>>0x8&0xff]^_0x12c225[_0x228375&0xff]^_0x1ea49c[_0x5c22dc++],_0x438e30=_0x313491[_0x5667cb>>>0x18]^_0x272f95[_0x4c79b2>>>0x10&0xff]^_0x413c5d[_0x228375>>>0x8&0xff]^_0x12c225[_0x519a32&0xff]^_0x1ea49c[_0x5c22dc++],_0x45650e=_0x313491[_0x4c79b2>>>0x18]^_0x272f95[_0x228375>>>0x10&0xff]^_0x413c5d[_0x519a32>>>0x8&0xff]^_0x12c225[_0x5667cb&0xff]^_0x1ea49c[_0x5c22dc++];_0x228375=_0x4c5183,_0x519a32=_0x322c55,_0x5667cb=_0x438e30,_0x4c79b2=_0x45650e;}var _0x4c5183=(_0x249d34[_0x228375>>>0x18]<<0x18|_0x249d34[_0x519a32>>>0x10&0xff]<<0x10|_0x249d34[_0x5667cb>>>0x8&0xff]<<0x8|_0x249d34[_0x4c79b2&0xff])^_0x1ea49c[_0x5c22dc++],_0x322c55=(_0x249d34[_0x519a32>>>0x18]<<0x18|_0x249d34[_0x5667cb>>>0x10&0xff]<<0x10|_0x249d34[_0x4c79b2>>>0x8&0xff]<<0x8|_0x249d34[_0x228375&0xff])^_0x1ea49c[_0x5c22dc++],_0x438e30=(_0x249d34[_0x5667cb>>>0x18]<<0x18|_0x249d34[_0x4c79b2>>>0x10&0xff]<<0x10|_0x249d34[_0x228375>>>0x8&0xff]<<0x8|_0x249d34[_0x519a32&0xff])^_0x1ea49c[_0x5c22dc++],_0x45650e=(_0x249d34[_0x4c79b2>>>0x18]<<0x18|_0x249d34[_0x228375>>>0x10&0xff]<<0x10|_0x249d34[_0x519a32>>>0x8&0xff]<<0x8|_0x249d34[_0x5667cb&0xff])^_0x1ea49c[_0x5c22dc++];_0x2c25ce[_0x30b5fd]=_0x4c5183,_0x2c25ce[_0x30b5fd+0x1]=_0x322c55,_0x2c25ce[_0x30b5fd+0x2]=_0x438e30,_0x2c25ce[_0x30b5fd+0x3]=_0x45650e;},'keySize':0x100/0x20});_0x4f5032['AES']=_0x293d79['_createHelper'](_0x4574bd);}()),_0xcaa19c[_0x20f54c(0x22f)];}));}(ke)),ke['exports'];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0x24e421(0x432)],li;function Ms(){const _0x38e7ba=_0x24e421;return li||(li=0x1,function(_0x575eb0,_0xf5fdca){(function(_0x4766f5,_0x46921a){const _0x42b8d4=_0x5e3c;_0x575eb0[_0x42b8d4(0x432)]=_0x46921a(se());}(Us,function(_0x1fe2cf){const _0xeb4928=_0x5e3c;return _0x1fe2cf['enc'][_0xeb4928(0x3f9)];}));}(ze)),ze[_0x38e7ba(0x432)];}function _0x13dd(){const _0x480c98=['attrs','decrypt','syncEditingCollabCursor','randomUUID','fromCollab','init','_socketMessageSubscription','onRemoteAck','entries','_refRangeService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_redoStacks','_listenToOnlineEvent','salt','contains','createDecryptor','createEncryptor','_docClipboardService','Base64','hasher','closePath','catch','_onOffline','_getCtorByUniverType','combineLatest','collaboratorID','_session','setUndoRedoMutationParamsCache','_retryCount','getImage','merge','_colorAssignService','none','authzUrl','_keyPriorReset','getUniverSheetInstance','DocSkeletonManagerService','INGEST','registerDependencies','debug','clear','_localeService','disposeUnit','_collabSessionService','_imageIoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','_updateURLWithCurrentState','_event$','_transformUndoRedoStack','Inject','jsxs','_docSyncEditingCollabCursorService','getDocRanges','DesktopCollaborationStatusDisplayController','initWorkbookPermissionChange','_collabCursorController','HEARTBEAT','_online','MentionType','editing\x20status\x20changed\x20to','getParam','resend','_httpService','@univerjs-pro/collaboration','onlyLocal','clipPath','_updateStatus','_init','getCurrent','CONFLICT','isTransformChangesetsSuccess','_getSessionTicket','call','mode','onlineStatus','/universer-api/file/{fileID}/sign-url','exhaustSavingTask','downloadEndpointUrl','_send','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','univer-pro.collaboration-client-socket-service','revision','univer-online','pipe','append','_candidateSocket','subUnitId','0\x200\x2017\x2016','unpad','putCollaborators','InsertColCommandId','_append','transformIMECache','change$','socketService','source','path','setParam','blockSize','touchDependencies','updatePermissionObjEvent','{fileID}','_renderManagerService','CompressMutationService','_sendingTimer','HTTPService','_scheduleHeartbeat','transformStateCache','appendMutation','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','on-line-single_clip0_910_349','_process','30iapxpK','csShouldRetryEvent','transformUndoRedo','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','members','WebURLService','charCodeAt','UPDATE_PERMISSION_OBJ','getRangePointData','SerializableCipher','msCrypto','_labelPosition','mapDocumentTypeToUniverType','RemoveColCommandId','_undoRedoService','then','782975rtotIO','name','ImageUploadStatusType','_cursor','Pkcs7','\x20-\x20','find','_startSheetCollabCursor','SYNCED','assign','baseRev','subscribeEvent','_onRemoteRetry','ONLINE','collaboration.single-unit.warning','ColorKit','collaboration-client.config','put','format','UPDATE_CURSOR','_drawAnchor','ivSize','updateOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','abs','status','RECV','fillRule','_onCursorUpdate','NEW_CHANGESETS','_localStorageService','CONNECTOR_DATA_TOO_LARGE','_messageService','pushState','SnapshotServerOverHTTPService','_initStatusListener','shouldCloseConn','_handleLeaveEvent','enableAuthServer','_throwTelemetryCollaborationNewChangeset','_transformUndoredo','_transformStack','USERS_ENTER','_state$','drawWith','key','OnLineSingle','_themeService','delete','transformMutationsWithChangeset','SheetPermissionInitController','TEXT_RANGE_LAYER_INDEX','CHANGESET_SHOULD_RETRY','CollaborationEvent','_permissionService','throttleTime','UNIVER_DOC','_exhaustRemoteChangesetQueue','getColor','height','DOC_RANGE_TYPE','url(#$1','/universer-api/stream/file/upload','defineProperty','_transformStateCache','_lastPointer','_handleJoinEvent','univer-offline','_configService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','idSuffix','onReady','getUnit','red300','location','InsertRangeMoveRightCommandId','update','_initMergeInterceptor','onCommentUpdate','RECT','whenReady','_eventUnsubscribe','forEach','_acknowledgedAwaitingChangeset','buffer','_initCloseConn','code','SHEET_VIEWPORT_KEY','_updateLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','tag','LICENSE_DISTRO_REJECTED','conflict','IBeforeCloseService','_cipher','compute','SUCCUSS','event$','HmacMD5','textRanges','rxjs/operators','MemberService','withCredentials','_createInitialState','pending','HmacSHA1','_backgroundColor','_selfUnitIDs','_cachedData','toggleOffline','method','YUUMI_RATE_OVER_LIMIT','localeService','registerHTTPInterceptor','closeSession','_removeRoom','responseType','bind','_transformRemoteChangesetByStateCache','FAIL','collab-client.tooltip.reconnect','_injector','isEditing','univer-pro.collaboration-client.single-active-unit-service','Subject','_entityInit$','_changesetSessionId','IDLE','getActiveSheet','getUnitStatus$','size','joinEvent','encodeURIComponent','column','black','popstate','session.room-cnt-exceeds','_getDownloadEndpointURL','_snapshotServerService','getUnitId','HEARTBEAT_INTERVAL_KEY','_roomMembers','history','OffLineSingle','WordArray','_iv','auth.needGotoLoginAlert','GLOBAL_ROOMS_CNT_EXCEEDS','replaceState','_docTransformStateCacheService','addObject','getCurrentUser','urlChange$','_status$','ReplaySubject','3030232lpIqqL','leaveEvent','_userManagerService','collaborators','ciphertext','SUBMIT_CHANGESET','collaboration-client.offline-data-not-saved','getTime','onRemoteChangeset','_unitOnClients','saveSnapshot','_getLoginPath','_handleHeartbeatEvent','InsertSheetMutation','children','className','_onRemoteACK','_registerDependencies','words','UnitSnapshot','onTransformRemoteChangesetByStateCache','saveChangeset','[SyncedState]:\x20received\x20rejection.','collabStatus.notCollab','ImageSourceType','_onUserJoin','_getAPIPrefix','&source=','_scheduleClearOtherTimer','IPermissionService','forwardRef','COMPRESS_MUTATION_APPLY','RegularPolygon','refreshPermission','purple300','triggerDblclick','getOwnPropertySymbols','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getAncestorScale','&assign=','mapTo','deserializeToCombResponse','fillStyle','getTypeOfUnitDisposed$','executeCommand','[PendingState]:\x20received\x20rejection.','ReactCurrentOwner','disableLocalCache','sheets','CHANGESET_REJ','string','mutations','_snapshotService','_createHandler','_hash','image/jpeg','subject','indexOf','div','onTransformChange$','LIVESHARE_OPERATION','setShapeProps','IURLService','_collaborationController','sheetId','\x0aAfter:\x20','deleteCollaborator','next','DependentOn','_getAPIPrefixPath','online','image/bmp','enableLocalCache','save\x20fail\x20reason\x20is\x20','transformByState','_updateState','JOIN_ROOM_FULL','Tools','fetchThroughInterceptors','setActiveRange','BufferedBlockAlgorithm','_collaborationTimeoutTimer','collaMsg','_socketService','_isPermissionRej','sigBytes','trim','registerRenderModule','univer-online-status-icon','getSheetObject','WorkbookEditablePermission','@univerjs/docs-ui','_oKey','wsSessionTicketUrl','_removeClearOtherTimer','addClipboardHook','CHANGESET_ACK','TEXT','textEncoder','Optional','object','socket$','_pendingMutations','_getScale','ceil','defs','319701eCeTCJ','ALREADY_EXISTS','PERSON','_timeoutTimer','_instanceService','PENDING','defaultProps','AuthzIoHttpService','_nRounds','hasOwnProperty','csAckEvent','HELLO','loadDoc','getCurrentRevOfUnit','_substituteUndoStack','deserializeRangeWithSheet','UNDEFINED','_getMergeRange','reject','_sessions','_drawTextRange','toLowerCase','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_submitChangeset','byteOffset','unitID','_entities','OFFLINE','get','_colorIndex','take','_hovered','_handleEvent','enc','isTransformMutationsWithChangesetFailure','url','[CollaborationSession]','clamp','default','_clearOtherTimers','includes','reqId','hovered','_docStateChangeManagerService','translate(.97)','encode','_config','onMissedChangesetFetched','getRenderById','override','UNKNOWN_CMD','resourceIDs','handleDeleteRangeMoveUp','icon','min','_disableEditing','_docSkeletonManagerService','getLatestCsReqIdBySid','splice','_showConflictNotification','runRefRangeMutations','memberID','parse','SheetCollaborationEntity','getValue','onTransformIME','delay','_loadSheet','getWorkbookSelections','ERROR_EXCEED_SIZE','/unit/','_handler','rng','_updateLocalCursor','ENSURE_SNAPSHOT_EXECUTION','FileId','Disposable','top','unshift','takeUntil','unsubscribe','removeMember','_createInitialStateImpl','EffectRefRangId','transformChangesets','_unlockTransition','/collaborator','_clearTimeoutTimer','890098mCyqhR','doc.mutation.rich-text-editing','post','?url=','setShowComponents','_transitionLocked','_getUndoStack','__Key__','readInt32LE','CollaborationController','_DEC_XFORM_MODE','_resendTimer','/object/','x-univer-host','shareReplay','SheetsSelectionsService','socket\x20close','UnitEmbedded','_sheetTransformSelectionsService','_beforeCloseService','HttpExport','startTime','_resendTimeout','getOwnPropertyDescriptor','\x20in\x20_schedule.','round','Injector','_sender','number','loadOfflineData','EvpKDF','INotificationService','toggleOnline','keySize','getFocusedUnit','_setupBeforeClosingHandler','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','AES','_docTransformIMECacheService','USERS_LEAVE','error$','rev','all','cursorInfo$','updateMember','@univerjs/docs','Error\x20on\x20receiving\x20event','skeleton','_type','mergeOverrideWithDependencies','_draw','fill','_clearCollaborationTimeoutTimer','BASE64','gold400','byteLength','_saveCache','SNAPSHOT_URL_KEY','disposeWithMe','params','BlockCipherMode','NOT_COLLAB','PSEUDO_FETCH_MISSING_RESULT','session.join-failed','deepClone','DocIMEInputManagerService','_hasher','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fromCharCode','/universer-api/oidc/authpage','parseProtocolChangeset','MoveRangeCommandId','getCurrentSelections','_telemetryService','c1Prime','finalize','#FFF','getInterceptPoints','ranges','action','_unitStatus','setConfig','SEND_CHANGESET_TIMEOUT','requireSession','lib','data','_onConflict','debounce','_tryEnsureSocket','COLORS','IDocClipboardService','offline','_handleHover','1em','onCommandExecuted','_socket$','lineTo','univer-online-status-title','reduce','resolve','collab-rect-range-','_mode','isTransformMutationsWithChangesetSuccess','split','color','Error','batchAllowed','FromArray','json','Univer','createInstance','ref','defIds','_transformSelections','onRendered','save','_clearScheduledTask','_xformMode','271432jjXLZK','getUndoRedoMutationParamsCache','_clearHeartbeatTimer','NoPadding','jsx','asObservable','_lockTransition','getCoordByCell','HEADER_MENU','Encryptor','onRemoteRej','ticket','endRow','_onRecvEvent','_getAnchorBounding','RETRY_CONNECTING_MAX_COUNT','UniverCollaborationClientPlugin','getMergeData','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doCryptBlock','focused$','pluginName','APPLY_DUPLICATED','objects','updateCursorEvent','onload','_clearUndo','registerOnClose','roomMembers$','bottom','HTTPRequest','socket\x20open.','requestParams','debounceTime','sendChangesetTimeout','UNKNOWN_CODE','toDisposable','randomBytes','CollaborationEntity','_syncEditingCollabCursorService','_waitCount','_scene','75nVbCfd','headers','getSheetBySheetId','[CollaborationEntity]','url(#off-line-single_clip0_910_343)','_initEventListeners','encrypt','ICommandService','_replaceFileID','onSendChangeset','VIEW_MAIN','has','getRelativeToViewportCoord','useDependency','actions','JOIN_ROOM_PERMISSION_DENIED','show','react.fragment','_localCacheService','JOINING','_removeCollabCursors','_memberService','COMPRESS_MUTATION_SEND','M0\x200H16V16H0z','YUUMI_URL_COL_OUT_OF_RANGE','Base','_initResize','_commentService','LICENSE_IMPORT_SIZE_EXCEEDED','OpenSSL','_undoStacks','@univerjs/design','/universer-api/comb','retryConnectingInterval','@univerjs/rpc','clearTimeout','_socket','SnapshotService','ERROR_IMAGE','_onConnectionFailed','getSheetBlock','assignAColorForMemberID','PERMISSION_REJ','HEARTBEAT_TIMEOUT_KEY','LIVESHARE_TERMINATE','join','status$','Latin1','_scheduleSaving','LOGIN_URL_KEY','COLLAB_SUBMIT_CHANGESET_URL','@univerjs/engine-formula','unknown','objectType','function','onRemoteRetry','addImageSourceCache','FETCH_MISS','substring','hide','evenodd','getVpScrollXYInfoByPosToVp','_tryReconnect','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','width','react.element','_loadDoc','saveSheetBlock','updateCollaborator','endColumn','_keySchedule','setItem','handleMoveRange','AWAITING_WITH_PENDING','_onCursorDelete','getItem','reverse','selections','push','sequenceExecute','IAuthzIoService','_sendHeartbeat','handleIRemoveRow','labelPosition','MentionIoHttpService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createHelper','_sheetSkeletonManagerService','?size=','concatMap','replace','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','handleInsertRangeMoveDown','updatePermissionPoint','_transformHistoryAndStateStack','_awaitingChangeset','add','NOT_FOUND','APPLY_REJECT','UserManagerService','visibilitychange','incrementRevOfUnit','state$','_updateCollabCursors','repeat','DocSelectionManagerService','_updateSubUnitFromURLParams','arc','getSnapshotAPIPath','_replayCachedMutations','IMentionIOService','_stopTelemetryCollaborationNewChangeset','WebSocketService','objectActions','AWAITING','\x20to\x20','ThresholdInterceptorFactory','fetchMiss','COLLAB_WEB_SOCKET_URL','_onRemoteRejected','on-line-single','title','failed\x20to\x20apply\x20missed\x20changesets!','send','collabCursorState$','transformMutation','body','imageSourceType','@univerjs/engine-render','onlineStatusTitle','_revisionService','YUUMI_SUBSCRIPTION_NOT_FOUND','hostname','algo','_cursors','getCurrentUnitForType','listRoles','_joinRoom','transform','currentTheme$','handleInsertCol','_getUploadFileURL','some','HEARTBEAT_INTERVAL','StreamCipher','changesets','createSocket','cmd','_id','session.connection-failed','setWaitCount','_transformPreviousActiveRange','CommandType','collabStatus.syncing','IUniverInstanceService','UNIVER_UNKNOWN','LIVESHARE_NEW_HOST','toString','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','onMouseMove','connection\x20error','unitId\x20is\x20not\x20found','replaceDocRanges','charAt','_decreaseWaiting','_toggleOffline','NO_OTHER_CLIENTS_EDITING','@univerjs/core','transformStack\x20failed!','saveImage','UniverInstanceType','interceptor','isArray','getTypeOfUnitAdded$','unitId','close$','commentUpdateEvent','_onMessage','objectID','_onLocalMutation','mixIn','UNRECOGNIZED','conflict.content','dispose$','_context','application/json','m2Prime','MD5','prototype','_data','_onConnectionOpen','/object','max','HttpImport','userID','ISnapshotServerService','Cipher','_anchor','for','[CollaborationSessionService]','AUTHZ_URL_KEY','JOIN_ROOM_NOT_EXISTS','[FetchMissState]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawRectRange','_color','ITransformService','setCurrentUser','setAlpha','_clearLocalCache','_http','decryptBlock','isActive','getRandomValues','_registerRenderDependencies','_cursorInfo$','_logService','NodePositionConvertToRectRange','beginPath','/fetchmissing?from=','floor','_collaborationPaused','createIdentifier','list','getUnitType','message$','unit','restore','docStateChange$','state','execute','_uiPartsService','joinRsp','close','svg','_transformRemoteChangesetByIMECache','sessionStatus','image/png','SheetCollabCursorShape','_getSheetObject','clearInterval','_transformIMECache','values','switchMap','collaboration_new_changeset','_hideTimer','extend','_createSocketURL','encryptBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','enableSingleActiveInstanceLock','stringify','fromEventSubject','getRoom','_collabCursorState$','_members','transformSelections','text','_imageSourceCache','xlink:href','loginUrlKey','confirm','LIVESHARE_REQUEST_HOST','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_saveTaskMap','CollaborationSessionService','cfg','_getSaveTimeout','current','_HTTPService','@univerjs/network','IConfigService','getCollabEntity','DataLoaderController','_parse','RichTextEditingMutation','cursorInfo','_commandService','blue400','COLLAB_SUBMIT_CHANGESET_URL_KEY','eventID','&to=','_clearRedo','uni.network.url-service','_initUnitPermissionChange','IRenderManagerService','length','SNAPSHOT_SERVER_URL_KEY','_key','_roomMembers$','session','_invKeySchedule','CollaborationStatusDisplay','_compressMutationService','handleIRemoveCol','open$','Could\x20not\x20dynamically\x20require\x20\x22','_range','_transformService','_executeRemoteChangeset','POST','Workbook','_schedule','ThemeService','Rectangle','_toggleOnline','Decryptor','searchParams','filter','equals','_initStatusComponent','_minBufferSize','_shapes','handleInsertRow','result','_assignedColors','crypto','collaboration-session-retry','_changesetReqId','_checkMissing','COMPLETION_FINISHED','clone','_retryConnectingTimer','_incrementRevisionNumber','onSyncEditingCollabCursor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_scheduleTimestamp','addEventListener','14LtTRGf','SNAPSHOT_INVALID_SNAPSHOT','_docSkeleton','startsWith','SHOULD_CLOSE_CONN','serializeRangeWithSheet','Utf8','onPointerEnter$','IUndoRedoService','_ensureSubject','isInternalEditorID','isTransformMutationFailure','_ws','_urlService','origin','IMessageService','fillText','flatMap','Shape','slice','_prevBlock','type','/allowed','_unitID','range','_hover','_doFinalize','getMember','liveShareNewHost','findNodePositionByCharIndex','useCallback','sid','awaiting_with_pending','onTransformState','_createHmacHelper','_cursorShapes','addObjects','currentColor','copyFileMeta','duration','roomMembers','href','setStateCache','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','LOCAL_CACHE_INTERVAL','fetching\x20missing\x20changesets\x20from\x20','/block/','CommentService','collabStatus.synced','padding','_resendWithTimeout','_onRefRangeChange','DocCollaborationEntity','Undefined','selection','c2Prime','formatter','reset','/universer-api/snapshot','use','saveOfflineData','DeleteRangeMoveUpCommandId','resize','exports','_heartbeatTimer','_commentUpdate$','ICollaborationSocketService','currentSkeleton$','concat','RevisionService','[UniverCollaborationClientPlugin]','getResourcesRequest','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','sin','BehaviorSubject','getSkeleton','BlockCipher','__esModule','with','allowed','RxDisposable','createElement','snapshotServerUrl','getConfig','pad','/rev/','set','_onUserLeave','ILocalStorageService','_collaborationSessionService','getStateCache','_startTelemetryCollaborationNewChangeset','registerComponent','m1Prime','_textBubble','fetchMissingChangesets','ws://127.0.0.1:8000/universer-api/comb/connect','generateRandomId','_render','SetTextSelectionsOperation','IImageIoService','LIVESHARE_FETCH_OPERATIONS','unit-cache-','_queuedRemoteChangesets','collaboration.closeRoom','collab-text-anchor-','rgba(255,\x20255,\x20255,\x200.01)','COMMENT_UPDATE','Unknown\x20user','synced','fetch_missing','apply','UniverNetworkPlugin','complete','_startDocCollabCursor','url(#on-line-single_clip0_910_349)','LocaleService','_state','setTimeout','SetWorksheetActivateCommand','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','image/jpg','_getSignURL','onPointerLeave$','create','Hex','UNIVER_SLIDE','Hasher','/role','_remoteChangesetQueue','_onCombEvent','redoState','onTransformRemoteChangesetByIMECache','_socketReady','LEAVE','[OfflineState]:\x20received\x20acknowledgement.','stopTime','awaitingChangeset','APPLY_REVISION_CONFILICT','_scheduleCollaborationTimeoutTimer','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL_KEY','JSONX','Warning','EmptyMutation','font','APPLY_NON_SEQUENTIAL_REVISION','_getCurrentRevision','#fff','LocalUndoRedoService','from','off-line-single_clip0_910_343','FETCH_MISSING','loadSheet','_getRedoStack','IRemoteInstanceService','getSheetId','_iKey','SheetSkeletonManagerService','CollaborationSession','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ILogService','[DataLoaderController]','processBlock','random','DisposableCollection','map','_shouldReportTelemetry','undoState','UniverIcon','error','_univerInstanceService','registerBeforeClose','every','CHANGESET_REVISION_CONFILICT','UNAUTHENTICATED','onPointerMove$','now','routeKey','originalMeta','MergeInterceptorFactory','_sendHeartbeatTimer','SetSelectionsOperation','_onJoinRoomEvent','getCollabCursors$','MessageType','_singleActiveUnitService','_docTransformSelectionsService','_syncEditingCollabCursor','getMemberID','LocalCacheService','CollabrationImageIoService','react','/universer-api/snapshot/','INTERNAL_ERROR','_onRemoteChangeset','/-/object/-/batch_allowed','_disabled','_waitForHeartbeatResponse','TOO_MANY_REQUESTS','transformRemoteChangeset','PERMISSION_DENIED','_rescheduleHeartbeat','moveTo','_change$','collabSubmitChangesetUrl','_anchorDot','9MvHIxh','SHA1','MUTATION','patch','OTHER_CLIENTS_EDITING','backgroundColor','COLLAB_WEB_SOCKET_URL_KEY','CollaborationSocketService','_notificationService','dispose','toStringTag','_refreshCollabCursors','$super','[CollaborationState]:\x20apply\x20error!','UNIVER_SHEET','session.will-retry','subscribe','getUnhiddenWorksheets','kdf','607176jqjiLQ','uploadFileServerUrl','_getSendChangesetTimeout','subunit','registerRefRange','/universer-api/authz','removeParam','isPermissionRej','_initCommandExecutedListener','Rect','DocStateChangeManagerService','infoRsp','reconnect','univerjs-icon\x20univerjs-icon-','collab-text-range-','measureText','_onFetchMissResult','colorChannel1','collabStatus.fetchMiss','_substituteRedoStack','_startCollaboration','37644DXfbXW','_sessionStatus$','YUUMI_UNABLE_LOAD_URL','_telemetryInfo','_name','sessionStatus$','iterations','SEND_CHANGESET_TIMEOUT_KEY','_nDataBytes','onTransformSelections','session.room-permission-denied','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','fromEvent','b64DecodeUnicode','...','getCollabEntity$','getCellPositionByOffset','JOIN','workbook'];_0x13dd=function(){return _0x480c98;};return _0x13dd();}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe[_0x24e421(0x432)],hi;function xs(){return hi||(hi=0x1,function(_0x123e41,_0x22eb8d){(function(_0x1b20cb,_0x3d4334){const _0x5c7285=_0x5e3c;_0x123e41[_0x5c7285(0x432)]=_0x3d4334(se());}(Ls,function(_0x1f12b1){return(function(){const _0x4efbad=_0x5e3c;if(typeof ArrayBuffer==_0x4efbad(0x2e0)){var _0x163568=_0x1f12b1,_0x24b36c=_0x163568['lib'],_0x18a1e4=_0x24b36c['WordArray'],_0x5216ad=_0x18a1e4[_0x4efbad(0x503)],_0x4587e5=_0x18a1e4['init']=function(_0x407fd3){const _0x11096c=_0x4efbad;if(_0x407fd3 instanceof ArrayBuffer&&(_0x407fd3=new Uint8Array(_0x407fd3)),(_0x407fd3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x407fd3 instanceof Uint8ClampedArray||_0x407fd3 instanceof Int16Array||_0x407fd3 instanceof Uint16Array||_0x407fd3 instanceof Int32Array||_0x407fd3 instanceof Uint32Array||_0x407fd3 instanceof Float32Array||_0x407fd3 instanceof Float64Array)&&(_0x407fd3=new Uint8Array(_0x407fd3[_0x11096c(0x5d3)],_0x407fd3[_0x11096c(0x1ca)],_0x407fd3[_0x11096c(0x241)])),_0x407fd3 instanceof Uint8Array){for(var _0x62453c=_0x407fd3[_0x11096c(0x241)],_0x20dd3d=[],_0x13ae5a=0x0;_0x13ae5a<_0x62453c;_0x13ae5a++)_0x20dd3d[_0x13ae5a>>>0x2]|=_0x407fd3[_0x13ae5a]<<0x18-_0x13ae5a%0x4*0x8;_0x5216ad[_0x11096c(0x546)](this,_0x20dd3d,_0x62453c);}else _0x5216ad[_0x11096c(0x463)](this,arguments);};_0x4587e5['prototype']=_0x18a1e4;}}()),_0x1f12b1['lib']['WordArray'];}));}(Xe)),Xe['exports'];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je['exports'],_i;function Bs(){const _0x1ff2ee=_0x24e421;return _i||(_i=0x1,function(_0x4a6623,_0x318d3e){(function(_0x2e0743,_0x2c9462,_0x198ac3){const _0x35abc9=_0x5e3c;_0x4a6623[_0x35abc9(0x432)]=_0x2c9462(se(),Bi());}(Hs,function(_0x3a9372){const _0x141d62=_0x5e3c;return _0x3a9372[_0x141d62(0x448)][_0x141d62(0x283)]={'pad':function(){},'unpad':function(){}},_0x3a9372[_0x141d62(0x448)][_0x141d62(0x283)];}));}(Je)),Je[_0x1ff2ee(0x432)];}var ks=Bs();const Ws=$e(ks);function Fs(_0x426ff6,_0x268dd4){const _0x35236f=_0x24e421,_0x2519f9=_0x268dd4-_0x426ff6[_0x35236f(0x3c9)]%_0x268dd4,_0x3d20b3=String[_0x35236f(0x24e)](_0x2519f9)[_0x35236f(0x312)](_0x2519f9);return _0x426ff6+_0x3d20b3;}function Vs(_0x19a648,_0x235ed9){const _0x29e777=_0x24e421,_0x359aa0=js[_0x29e777(0x498)](0x10),_0x12d622=Fs(_0x19a648,0x10),_0x2db20d=Ps[_0x29e777(0x2b0)](As['parse'](_0x12d622),ci[_0x29e777(0x1f0)](_0x235ed9),{'iv':_0x359aa0,'padding':Ws});return _0x359aa0[_0x29e777(0x437)](_0x2db20d[_0x29e777(0x61e)])['toString'](ci);}function Gs(){const _0x2ec97f=_0x24e421,_0x23e075=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2ec97f(0x211)];if(_0x23e075){const _0xfb928b={'time':Math[_0x2ec97f(0x387)](Date[_0x2ec97f(0x4a5)]()/0x3e8),'domain':location[_0x2ec97f(0x32e)]};return Vs(JSON['stringify'](_0xfb928b),_0x23e075);}}var Ys=Object[_0x24e421(0x5bd)],qs=Object[_0x24e421(0x221)],Ks=(_0xa4a1b5,_0x263c72,_0x9e6a6b,_0x2f883b)=>{for(var _0x260bdc=_0x2f883b>0x1?void 0x0:_0x2f883b?qs(_0x263c72,_0x9e6a6b):_0x263c72,_0x5aa8ea=_0xa4a1b5['length']-0x1,_0x5a4f84;_0x5aa8ea>=0x0;_0x5aa8ea--)(_0x5a4f84=_0xa4a1b5[_0x5aa8ea])&&(_0x260bdc=(_0x2f883b?_0x5a4f84(_0x263c72,_0x9e6a6b,_0x260bdc):_0x5a4f84(_0x260bdc))||_0x260bdc);return _0x2f883b&&_0x260bdc&&Ys(_0x263c72,_0x9e6a6b,_0x260bdc),_0x260bdc;},zs=(_0x219476,_0x1dce05)=>(_0x4b800e,_0x5df7c9)=>_0x1dce05(_0x4b800e,_0x5df7c9,_0x219476);let st=class{constructor(_0x3bd56a){this['_httpService']=_0x3bd56a,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x507731=_0x24e421;this[_0x507731(0x53c)][_0x507731(0x5f0)]({'interceptor':(_0x473706,_0x3a6cf6)=>{const _0x563f39=_0x507731,_0x3a8861=_0x473706[_0x563f39(0x2ab)],_0x3b28f4=Gs();return _0x3b28f4&&_0x3a8861['set'](_0x563f39(0x217),_0x3b28f4),_0x3a6cf6(_0x473706);}});}};st=Ks([zs(0x0,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],st);var Xs=Object[_0x24e421(0x5bd)],Js=Object['getOwnPropertyDescriptor'],Zs=(_0x5e7448,_0x3ebc8a,_0x5e8bda,_0x16cfbb)=>{const _0x318d6e=_0x24e421;for(var _0x10caf4=_0x16cfbb>0x1?void 0x0:_0x16cfbb?Js(_0x3ebc8a,_0x5e8bda):_0x3ebc8a,_0x2f30ff=_0x5e7448[_0x318d6e(0x3c9)]-0x1,_0x2a879a;_0x2f30ff>=0x0;_0x2f30ff--)(_0x2a879a=_0x5e7448[_0x2f30ff])&&(_0x10caf4=(_0x16cfbb?_0x2a879a(_0x3ebc8a,_0x5e8bda,_0x10caf4):_0x2a879a(_0x10caf4))||_0x10caf4);return _0x16cfbb&&_0x10caf4&&Xs(_0x3ebc8a,_0x5e8bda,_0x10caf4),_0x10caf4;},Et=(_0x188c59,_0x21946b)=>(_0x743fc7,_0x34feff)=>_0x21946b(_0x743fc7,_0x34feff,_0x188c59);const Qs=[_0x24e421(0x398),_0x24e421(0x651),_0x24e421(0x46d),'image/gif',_0x24e421(0x661)],eo=0x5*0x400*0x400,to=_0x24e421(0x3f0),io=_0x24e421(0x5bc),no=_0x24e421(0x63f),ro=_0x24e421(0x549);exports[_0x24e421(0x4b3)]=class{constructor(_0x5706da,_0x50e791,_0x9aa3ae){const _0xd9aec1=_0x24e421;I(this,_0xd9aec1(0x2a8),0x0),I(this,_0xd9aec1(0x4c0),new N[(_0xd9aec1(0x5fb))]()),I(this,_0xd9aec1(0x55b),this[_0xd9aec1(0x4c0)]),I(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5706da,this[_0xd9aec1(0x5c2)]=_0x50e791,this[_0xd9aec1(0x49f)]=_0x9aa3ae);}[_0x24e421(0x340)](_0x1e0e49){const _0x37b658=_0x24e421;this['_waitCount']=_0x1e0e49,this[_0x37b658(0x4c0)][_0x37b658(0x65d)](_0x1e0e49);}['getImageSourceCache'](_0x382220,_0x2dd718){const _0x441d1a=_0x24e421;if(_0x2dd718===te[_0x441d1a(0x632)][_0x441d1a(0x23f)]){const _0x160df5=new Image();return _0x160df5['src']=_0x382220,_0x160df5;}return this[_0x441d1a(0x3ad)][_0x441d1a(0x1ce)](_0x382220);}[_0x24e421(0x2e2)](_0x2a00b,_0x4ecfb4,_0x5b97e1){const _0x45058c=_0x24e421;_0x4ecfb4===te[_0x45058c(0x632)][_0x45058c(0x23f)]||_0x5b97e1==null||this[_0x45058c(0x3ad)][_0x45058c(0x44a)](_0x2a00b,_0x5b97e1);}async[_0x24e421(0x51b)](_0x13929a){const _0x2a600d=_0x24e421;try{const _0x45bd92=this[_0x2a600d(0x2b2)](this[_0x2a600d(0x46e)](),''+_0x13929a),_0x4a1f71=(await this['_httpService']['get'](_0x45bd92))[_0x2a600d(0x328)];if(_0x4a1f71[_0x2a600d(0x49e)]&&_0x4a1f71[_0x2a600d(0x49e)][_0x2a600d(0x5d5)]===bi['OK']){const _0x43d44a=new URL(_0x4a1f71[_0x2a600d(0x1d5)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x2a600d(0x26d)](_0x43d44a);}return Promise[_0x2a600d(0x1c4)](_0x4a1f71[_0x2a600d(0x49e)]);}catch(_0x57e39e){return Promise['reject'](_0x57e39e);}}async[_0x24e421(0x354)](_0x42231a){const _0x1b0233=_0x24e421;let _0xaa70c='';if(!Qs[_0x1b0233(0x1da)](_0x42231a[_0x1b0233(0x408)]))return this[_0x1b0233(0x34f)](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)]['ERROR_IMAGE_TYPE']));if(_0x42231a[_0x1b0233(0x601)]>eo)return this['_decreaseWaiting'](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x1f7)]));try{const _0x3046c8=new FormData();_0x3046c8[_0x1b0233(0x552)]('file',_0x42231a);const _0x507d5f=this[_0x1b0233(0x49f)][_0x1b0233(0x22c)](),_0x2eb0d4=_0x507d5f==null?void 0x0:_0x507d5f[_0x1b0233(0x60a)]();if(!_0x2eb0d4)throw new Error(_0x1b0233(0x34c));const _0x1b122d=this[_0x1b0233(0x337)]()+_0x1b0233(0x302)+_0x42231a['size'][_0x1b0233(0x347)]()+_0x1b0233(0x635)+Ti[_0x1b0233(0x21b)]+_0x1b0233(0x641)+encodeURIComponent(_0x2eb0d4),_0x3bf6af=await(await fetch(_0x1b122d,{'method':_0x1b0233(0x3d7),'body':_0x3046c8}))[_0x1b0233(0x276)]();if(typeof _0x3bf6af[_0x1b0233(0x1fd)]!=_0x1b0233(0x64c))return this['_decreaseWaiting'](),Promise['reject'](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x2d0)]));_0xaa70c=_0x3bf6af[_0x1b0233(0x1fd)];}catch{return this['_decreaseWaiting'](),Promise[_0x1b0233(0x1c4)](new Error(te[_0x1b0233(0x580)][_0x1b0233(0x2d0)]));}return new Promise((_0xfb4c15,_0x4ea2aa)=>{const _0x410b6f=_0x1b0233,_0x2458da=new FileReader();_0x2458da['readAsDataURL'](_0x42231a),_0x2458da[_0x410b6f(0x299)]=_0x3d266a=>{const _0x2667fd=_0x410b6f;var _0x4ffe20;const _0x4501fd=(_0x4ffe20=_0x3d266a['target'])==null?void 0x0:_0x4ffe20[_0x2667fd(0x3e5)];if(_0x4501fd==null){this[_0x2667fd(0x34f)](),_0x4ea2aa(new Error(te[_0x2667fd(0x580)]['ERROR_IMAGE']));return;}const _0x51bb9e=a[_0x2667fd(0x667)][_0x2667fd(0x455)](0x6);_0xfb4c15({'imageId':_0x51bb9e,'imageSourceType':te[_0x2667fd(0x632)]['UUID'],'source':_0xaa70c,'base64Cache':_0x4501fd,'status':te[_0x2667fd(0x580)][_0x2667fd(0x5df)]}),this[_0x2667fd(0x34f)]();};});}[_0x24e421(0x337)](){const _0x299a2c=_0x24e421;var _0x8a1e6,_0x5c480c;const _0x417ed9=this[_0x299a2c(0x5c2)][_0x299a2c(0x447)](to),_0xb0c396=this[_0x299a2c(0x5c2)][_0x299a2c(0x447)](Z);return(_0x5c480c=(_0x8a1e6=_0xb0c396==null?void 0x0:_0xb0c396[_0x299a2c(0x4d7)])!=null?_0x8a1e6:_0x417ed9)!=null?_0x5c480c:io;}['_getSignURL'](){const _0x57d069=_0x24e421;var _0x3f1278,_0x53989a;const _0x17b7be=this['_configService'][_0x57d069(0x447)](no),_0x25dbd6=this[_0x57d069(0x5c2)][_0x57d069(0x447)](Z);return(_0x53989a=(_0x3f1278=_0x25dbd6==null?void 0x0:_0x25dbd6['signUrlServerUrl'])!=null?_0x3f1278:_0x17b7be)!=null?_0x53989a:ro;}[_0x24e421(0x608)](){const _0x27b92f=_0x24e421;var _0x2668eb;const _0x1ef079=this[_0x27b92f(0x5c2)]['getConfig'](Z);return(_0x2668eb=_0x1ef079==null?void 0x0:_0x1ef079[_0x27b92f(0x54b)])!=null?_0x2668eb:location[_0x27b92f(0x401)];}[_0x24e421(0x2b2)](_0x42eb6a,_0x4e14f7){const _0x36f533=_0x24e421;return _0x42eb6a[_0x36f533(0x304)](_0x36f533(0x563),_0x4e14f7);}['_decreaseWaiting'](){const _0x612112=_0x24e421;this[_0x612112(0x2a8)]-=0x1,this[_0x612112(0x4c0)][_0x612112(0x65d)](this[_0x612112(0x2a8)]);}},exports[_0x24e421(0x4b3)]=Zs([Et(0x0,a['Inject'](z[_0x24e421(0x567)])),Et(0x1,a[_0x24e421(0x3ba)]),Et(0x2,a[_0x24e421(0x52f)](a[_0x24e421(0x344)]))],exports[_0x24e421(0x4b3)]);var so=Object[_0x24e421(0x5bd)],oo=Object[_0x24e421(0x221)],ao=(_0x5c0136,_0x41868a,_0x1d4443,_0x3c5ac6)=>{for(var _0x2f1168=_0x3c5ac6>0x1?void 0x0:_0x3c5ac6?oo(_0x41868a,_0x1d4443):_0x41868a,_0x15a923=_0x5c0136['length']-0x1,_0x38c340;_0x15a923>=0x0;_0x15a923--)(_0x38c340=_0x5c0136[_0x15a923])&&(_0x2f1168=(_0x3c5ac6?_0x38c340(_0x41868a,_0x1d4443,_0x2f1168):_0x38c340(_0x2f1168))||_0x2f1168);return _0x3c5ac6&&_0x2f1168&&so(_0x41868a,_0x1d4443,_0x2f1168),_0x2f1168;},ui=(_0x415e5a,_0x5c4046)=>(_0x528278,_0x5e9368)=>_0x5c4046(_0x528278,_0x5e9368,_0x415e5a);const co=_0x24e421(0x4db);exports[_0x24e421(0x2fe)]=class{constructor(_0x289864,_0x1dea9d){const _0x3ceac2=_0x24e421;this[_0x3ceac2(0x5c2)]=_0x289864,this[_0x3ceac2(0x3b8)]=_0x1dea9d;}[_0x24e421(0x65f)](){const _0x414fec=_0x24e421;var _0x421c9f,_0x195d90;const _0x36040f=this[_0x414fec(0x5c2)][_0x414fec(0x447)](xt),_0xee413e=this[_0x414fec(0x5c2)][_0x414fec(0x447)](Z);return(_0x195d90=(_0x421c9f=_0xee413e==null?void 0x0:_0xee413e[_0x414fec(0x51f)])!=null?_0x421c9f:_0x36040f)!=null?_0x195d90:co;}async[_0x24e421(0x38a)](_0x11f418){const _0x54a28a=_0x24e421,_0x32975b=this['_getAPIPrefixPath']()+_0x54a28a(0x208);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x54a28a(0x1ce)](_0x32975b,{'params':{'objectID':_0x11f418[_0x54a28a(0x359)],'unitID':_0x11f418[_0x54a28a(0x359)]}}))[_0x54a28a(0x328)][_0x54a28a(0x61d)][_0x54a28a(0x49a)](_0x557a00=>({'objectId':_0x557a00['id'],'name':_0x557a00['subject'][_0x54a28a(0x57f)],'metadata':{'icon':_0x557a00[_0x54a28a(0x652)]['avatar']},'label':_0x557a00[_0x54a28a(0x652)][_0x54a28a(0x57f)],'objectType':a[_0x54a28a(0x538)]['PERSON']})),'metadata':{},'type':a[_0x54a28a(0x538)][_0x54a28a(0x686)]}]};}},exports[_0x24e421(0x2fe)]=ao([ui(0x0,a[_0x24e421(0x52f)](a[_0x24e421(0x3ba)])),ui(0x1,a['Inject'](z[_0x24e421(0x567)]))],exports['MentionIoHttpService']);var lo=Object[_0x24e421(0x5bd)],ho=Object[_0x24e421(0x221)],_o=(_0x22f89b,_0x5f2a2e,_0x14183e,_0x2c0f1e)=>{const _0x4922fe=_0x24e421;for(var _0x16d30=_0x2c0f1e>0x1?void 0x0:_0x2c0f1e?ho(_0x5f2a2e,_0x14183e):_0x5f2a2e,_0x98ffe=_0x22f89b[_0x4922fe(0x3c9)]-0x1,_0x4348e7;_0x98ffe>=0x0;_0x98ffe--)(_0x4348e7=_0x22f89b[_0x98ffe])&&(_0x16d30=(_0x2c0f1e?_0x4348e7(_0x5f2a2e,_0x14183e,_0x16d30):_0x4348e7(_0x16d30))||_0x16d30);return _0x2c0f1e&&_0x16d30&&lo(_0x5f2a2e,_0x14183e,_0x16d30),_0x16d30;},Ne=(_0x21c02f,_0x3c37d6)=>(_0xa9a19d,_0x126510)=>_0x3c37d6(_0xa9a19d,_0x126510,_0x21c02f);let ot=class extends a[_0x24e421(0x444)]{constructor(_0x56d1ac,_0x2d3b80,_0x45918b,_0x2c6634,_0x4d144b){const _0x4b9ae3=_0x24e421;super(),this[_0x4b9ae3(0x5f8)]=_0x56d1ac,this[_0x4b9ae3(0x49f)]=_0x2d3b80,this[_0x4b9ae3(0x5b4)]=_0x45918b,this['_collaborationSessionService']=_0x2c6634,this['_localeService']=_0x4d144b,this[_0x4b9ae3(0x3c7)](),this[_0x4b9ae3(0x5d4)]();}[_0x24e421(0x5d4)](){const _0x49743f=_0x24e421,_0x18766a=async _0x12eed7=>{const _0x3cbdbf=_0x5e3c;(await this[_0x3cbdbf(0x44d)][_0x3cbdbf(0x25d)](_0x12eed7))[_0x3cbdbf(0x5e0)][_0x3cbdbf(0x551)](V[_0x3cbdbf(0x3df)](_0x5e65ab=>_0x5e65ab[_0x3cbdbf(0x3c3)]===m['CollaborationEvent']['SHOULD_CLOSE_CONN']),V['takeUntil'](this['dispose$']))[_0x3cbdbf(0x4d3)](_0x5d895f=>{const _0xe42966=_0x3cbdbf,_0x23f9fd=_0x5d895f,{reason:_0x532e1d}=_0x23f9fd['data'];this[_0xe42966(0x5f8)][_0xe42966(0x1ce)](ee[_0xe42966(0x402)])[_0xe42966(0x2ba)]({'type':Ce['MessageType'][_0xe42966(0x273)],'content':this[_0xe42966(0x527)]['t'](_0xe42966(0x45c))+'('+_0x532e1d+')'}),this[_0xe42966(0x5b4)][_0xe42966(0x307)](new k[(_0xe42966(0x674))](_0x12eed7)['id'],!0x1),this[_0xe42966(0x44d)][_0xe42966(0x5f1)](_0x12eed7);});};N[_0x49743f(0x51c)](this[_0x49743f(0x49f)][_0x49743f(0x358)](a[_0x49743f(0x355)]['UNIVER_SHEET']),this[_0x49743f(0x49f)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x49743f(0x5b6)]))[_0x49743f(0x551)](V[_0x49743f(0x49a)](_0x44aa8c=>_0x44aa8c[_0x49743f(0x60a)]()),V[_0x49743f(0x3df)](_0xd42157=>!a[_0x49743f(0x3fd)](_0xd42157)),V[_0x49743f(0x201)](this[_0x49743f(0x362)]))['subscribe'](_0x177abb=>{_0x18766a(_0x177abb);});}[_0x24e421(0x3c7)](){const _0x3d9564=_0x24e421,_0x32419f=async _0x1d4bd0=>{const _0x10173a=_0x5e3c;(await this[_0x10173a(0x44d)][_0x10173a(0x25d)](_0x1d4bd0))[_0x10173a(0x5e0)][_0x10173a(0x551)](V['filter'](_0x5b7416=>_0x5b7416[_0x10173a(0x3c3)]===m[_0x10173a(0x5b3)][_0x10173a(0x575)]),V[_0x10173a(0x201)](this['dispose$']))['subscribe'](_0x4eb69f=>{const _0x2f628e=_0x10173a,_0x5de286=_0x4eb69f,{objectId:_0x284b0b}=_0x5de286[_0x2f628e(0x25f)],_0x41820c=this[_0x2f628e(0x5f8)][_0x2f628e(0x1ce)](Le[_0x2f628e(0x5b0)]);_0x284b0b===_0x1d4bd0?_0x41820c[_0x2f628e(0x534)](_0x1d4bd0):_0x41820c[_0x2f628e(0x63b)](_0x1d4bd0,_0x284b0b);});};N[_0x3d9564(0x51c)](this[_0x3d9564(0x49f)][_0x3d9564(0x358)](a['UniverInstanceType'][_0x3d9564(0x4d1)]),this[_0x3d9564(0x49f)][_0x3d9564(0x358)](a[_0x3d9564(0x355)][_0x3d9564(0x5b6)]))['pipe'](V['map'](_0x5ab278=>_0x5ab278[_0x3d9564(0x60a)]()),V[_0x3d9564(0x3df)](_0x4f0f6c=>!a[_0x3d9564(0x3fd)](_0x4f0f6c)),V[_0x3d9564(0x201)](this[_0x3d9564(0x362)]))[_0x3d9564(0x4d3)](_0x10d041=>{_0x32419f(_0x10d041);});}};ot=_o([Ne(0x0,a[_0x24e421(0x52f)](a['Injector'])),Ne(0x1,a[_0x24e421(0x344)]),Ne(0x2,a[_0x24e421(0x637)]),Ne(0x3,a['Inject'](exports[_0x24e421(0x3b4)])),Ne(0x4,a[_0x24e421(0x52f)](a[_0x24e421(0x468)]))],ot);var uo=Object[_0x24e421(0x5bd)],fo=Object[_0x24e421(0x221)],vo=(_0x153d60,_0x3c984a,_0x442c7b,_0x162467)=>{const _0x4585ff=_0x24e421;for(var _0x3d2893=_0x162467>0x1?void 0x0:_0x162467?fo(_0x3c984a,_0x442c7b):_0x3c984a,_0xc08777=_0x153d60[_0x4585ff(0x3c9)]-0x1,_0xc9b81f;_0xc08777>=0x0;_0xc08777--)(_0xc9b81f=_0x153d60[_0xc08777])&&(_0x3d2893=(_0x162467?_0xc9b81f(_0x3c984a,_0x442c7b,_0x3d2893):_0xc9b81f(_0x3d2893))||_0x3d2893);return _0x162467&&_0x3d2893&&uo(_0x3c984a,_0x442c7b,_0x3d2893),_0x3d2893;},di=(_0x2a7c95,_0x7fe95f)=>(_0x97d8c,_0x57dddd)=>_0x7fe95f(_0x97d8c,_0x57dddd,_0x2a7c95);exports[_0x24e421(0x5a0)]=class{constructor(_0x16da73,_0x2da479){const _0x31691c=_0x24e421;this[_0x31691c(0x5c2)]=_0x16da73,this['_httpService']=_0x2da479;}async['getUnitOnRev'](_0x45e07e,_0x474c0e){const _0x2ea14f=_0x24e421;var _0x1f81b4;const {unitID:_0x3d4505,type:_0xdcf616,revision:_0x1e0985=0x0}=_0x474c0e,_0x2bc253=this[_0x2ea14f(0x316)]()+'/'+_0xdcf616+'/unit/'+_0x3d4505+_0x2ea14f(0x449)+_0x1e0985,_0x19217b=(await this['_httpService'][_0x2ea14f(0x1ce)](_0x2bc253))['body'],_0x3bb818=(_0x1f81b4=_0x19217b['snapshot'])==null?void 0x0:_0x1f81b4[_0x2ea14f(0x4fd)];if(_0x3bb818){const _0x1002c3=_0x3bb818==null?void 0x0:_0x3bb818[_0x2ea14f(0x4a7)],_0x17322d=m[_0x2ea14f(0x67c)][_0x2ea14f(0x1df)](m[_0x2ea14f(0x4f8)](_0x1002c3));_0x3bb818[_0x2ea14f(0x4a7)]=_0x17322d,Object['entries'](_0x3bb818[_0x2ea14f(0x64a)])[_0x2ea14f(0x5d1)](([,_0x31948b])=>{const _0x67fb8f=_0x2ea14f,_0x2c98a3=_0x31948b['originalMeta'],_0x586e6f=m['textEncoder'][_0x67fb8f(0x1df)](m[_0x67fb8f(0x4f8)](_0x2c98a3));_0x31948b['originalMeta']=_0x586e6f;});}return _0x19217b;}async[_0x24e421(0x2d2)](_0x23725e,_0x588e57){const _0x9911c2=_0x24e421,{unitID:_0x35aacb,type:_0x16e283,blockID:_0xe62d2c}=_0x588e57,_0x1dbf87=this[_0x9911c2(0x634)]()+'/'+_0x16e283+_0x9911c2(0x1f8)+_0x35aacb+_0x9911c2(0x421)+_0xe62d2c;return(await this[_0x9911c2(0x53c)][_0x9911c2(0x1ce)](_0x1dbf87))[_0x9911c2(0x328)];}async['getDeserializedSheetBlock'](_0x46f54b,_0x2f2f4a){const _0x3393bd=_0x24e421,{unitID:_0x45b2b7,type:_0x1e2c6e,blockID:_0xdf5ca}=_0x2f2f4a,_0xd965b3=this[_0x3393bd(0x634)]()+_0x3393bd(0x421)+_0x1e2c6e+_0x3393bd(0x1f8)+_0x45b2b7+_0x3393bd(0x421)+_0xdf5ca;return(await this['_httpService'][_0x3393bd(0x1ce)](_0xd965b3))[_0x3393bd(0x328)];}async[_0x24e421(0x453)](_0x5bb1ab,_0x166df6){const _0x197280=_0x24e421,{unitID:_0x2e4af0,type:_0x341f03,from:_0x3e7449,to:_0x5dcf69}=_0x166df6,_0x463d01=this[_0x197280(0x634)]()+'/'+_0x341f03+_0x197280(0x1f8)+_0x2e4af0+_0x197280(0x386)+_0x3e7449+_0x197280(0x3c4)+_0x5dcf69;return(await this[_0x197280(0x53c)][_0x197280(0x1ce)](_0x463d01))[_0x197280(0x328)];}['getSnapshotAPIPath'](){const _0x36a025=_0x24e421;var _0x5dd02a;return(_0x5dd02a=this['_configService'][_0x36a025(0x447)](vi))!=null?_0x5dd02a:this[_0x36a025(0x634)]();}['_getAPIPrefix'](){const _0x3a6203=_0x24e421;var _0x53dc73,_0x179050;const _0xd5816=this[_0x3a6203(0x5c2)][_0x3a6203(0x447)](fi),_0x317cc4=this[_0x3a6203(0x5c2)]['getConfig'](Z);return(_0x179050=(_0x53dc73=_0x317cc4==null?void 0x0:_0x317cc4[_0x3a6203(0x446)])!=null?_0x53dc73:_0xd5816)!=null?_0x179050:qi;}async[_0x24e421(0x43a)](_0x1c4a21,_0x16f8df){const _0x1d6ffa=_0x24e421,_0x26a767=_0x1d6ffa(0x4b5)+_0x16f8df[_0x1d6ffa(0x408)]+_0x1d6ffa(0x1f8)+_0x16f8df['unitID']+'/resources';return(await this[_0x1d6ffa(0x53c)][_0x1d6ffa(0x1ce)](_0x26a767,{'params':{'resourceId':JSON[_0x1d6ffa(0x3a6)](_0x16f8df[_0x1d6ffa(0x1e5)])}}))[_0x1d6ffa(0x328)];}[_0x24e421(0x624)](){const _0x5e35d3=_0x24e421;throw new Error(_0x5e35d3(0x2e9));}[_0x24e421(0x2ed)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x24e421(0x62f)](){const _0x5158d6=_0x24e421;throw new Error(_0x5158d6(0x2e9));}[_0x24e421(0x419)](){const _0x451eae=_0x24e421;throw new Error(_0x451eae(0x2e9));}[_0x24e421(0x1eb)](){const _0x1db58d=_0x24e421;throw new Error(_0x1db58d(0x2e9));}},exports[_0x24e421(0x5a0)]=vo([di(0x0,a[_0x24e421(0x3ba)]),di(0x1,a[_0x24e421(0x52f)](z[_0x24e421(0x567)]))],exports[_0x24e421(0x5a0)]);var So=Object[_0x24e421(0x5bd)],po=Object[_0x24e421(0x221)],mo=(_0x4bdde7,_0xa31a72,_0x500e4a,_0x140c9c)=>{const _0x29768d=_0x24e421;for(var _0x4ba93f=_0x140c9c>0x1?void 0x0:_0x140c9c?po(_0xa31a72,_0x500e4a):_0xa31a72,_0x8e96d7=_0x4bdde7[_0x29768d(0x3c9)]-0x1,_0x2811a2;_0x8e96d7>=0x0;_0x8e96d7--)(_0x2811a2=_0x4bdde7[_0x8e96d7])&&(_0x4ba93f=(_0x140c9c?_0x2811a2(_0xa31a72,_0x500e4a,_0x4ba93f):_0x2811a2(_0x4ba93f))||_0x4ba93f);return _0x140c9c&&_0x4ba93f&&So(_0xa31a72,_0x500e4a,_0x4ba93f),_0x4ba93f;},Ae=(_0x37e47c,_0x159f2d)=>(_0x479f1b,_0x1dd4d7)=>_0x159f2d(_0x479f1b,_0x1dd4d7,_0x37e47c);let yt=class extends a[_0x24e421(0x489)]{constructor(_0x128d84,_0x39f10f,_0x54a6d7,_0x4909f1,_0x106ccb){const _0x5653f1=_0x24e421;super(_0x128d84,_0x39f10f,_0x54a6d7),this[_0x5653f1(0x3d5)]=_0x4909f1,this[_0x5653f1(0x383)]=_0x106ccb;}['transformUndoRedo'](_0x482160,_0x1962dc){const _0x442a17=_0x24e421,_0x171808=this[_0x442a17(0x210)](_0x482160);if(_0x171808)try{const _0x2370d4=this[_0x442a17(0x5a7)](_0x171808,_0x1962dc);this[_0x442a17(0x1c0)](_0x482160,_0x2370d4);}catch(_0x14b921){this[_0x442a17(0x383)][_0x442a17(0x49e)]('[CollaborationUndoRedoService]',_0x14b921),this[_0x442a17(0x29a)](_0x482160);}const _0x116bac=this[_0x442a17(0x48e)](_0x482160);if(_0x116bac)try{const _0x5f5dfd=this[_0x442a17(0x5a7)](_0x116bac,_0x1962dc);this['_substituteRedoStack'](_0x482160,_0x5f5dfd);}catch(_0x57da74){this[_0x442a17(0x383)][_0x442a17(0x49e)](_0x57da74),this['_clearRedo'](_0x482160);}}[_0x24e421(0x29a)](_0x5a92e1){const _0x71b401=_0x24e421,_0x12765e=this[_0x71b401(0x210)](_0x5a92e1);_0x12765e&&(_0x12765e[_0x71b401(0x3c9)]=0x0,this[_0x71b401(0x540)]());}[_0x24e421(0x3c5)](_0x23546e){const _0x5510a7=_0x24e421,_0x2dc836=this[_0x5510a7(0x48e)](_0x23546e);_0x2dc836&&(_0x2dc836[_0x5510a7(0x3c9)]=0x0,this[_0x5510a7(0x540)]());}[_0x24e421(0x1c0)](_0xea1198,_0xa94f80){const _0x520304=_0x24e421;this[_0x520304(0x2c8)][_0x520304(0x44a)](_0xea1198,_0xa94f80),this[_0x520304(0x540)]();}[_0x24e421(0x4e9)](_0x480154,_0x205d52){const _0x3d5923=_0x24e421;this[_0x3d5923(0x509)]['set'](_0x480154,_0x205d52),this[_0x3d5923(0x540)]();}[_0x24e421(0x5a7)](_0x648bf9,_0x59674b){const _0xae239a=_0x24e421,_0x3e5c25=[];let _0x45760b=_0x59674b,_0x4997ea=_0x59674b;for(let _0x160777=_0x648bf9[_0xae239a(0x3c9)]-0x1;_0x160777>=0x0;_0x160777--){const {unitID:_0x3b1089,undoMutations:_0x25a5c4,redoMutations:_0x52040d}=_0x648bf9[_0x160777],_0x20ed80=this[_0xae239a(0x3d5)]['transformMutationsWithChangeset'](_0x45760b,_0x25a5c4),_0x141a9d=this[_0xae239a(0x3d5)][_0xae239a(0x5af)](_0x4997ea,_0x52040d);if(m['isTransformMutationsWithChangesetFailure'](_0x20ed80)||m[_0xae239a(0x1d4)](_0x141a9d)){this[_0xae239a(0x383)][_0xae239a(0x49e)]('[CollaborationUndoRedoService]',_0xae239a(0x353),_0x20ed80,_0x141a9d);break;}_0x45760b=_0x20ed80[_0xae239a(0x254)],_0x4997ea=_0x141a9d[_0xae239a(0x254)],_0x3e5c25['push']({'unitID':_0x3b1089,'undoMutations':_0x20ed80['m2Prime'],'redoMutations':_0x141a9d[_0xae239a(0x365)]});}return _0x3e5c25[_0xae239a(0x2f6)]();}};yt=mo([Ae(0x0,a[_0x24e421(0x344)]),Ae(0x1,a['ICommandService']),Ae(0x2,a['IContextService']),Ae(0x3,m['ITransformService']),Ae(0x4,a[_0x24e421(0x495)])],yt);class ki extends a[_0x24e421(0x444)]{constructor(){const _0x4961ed=_0x24e421;super(),I(this,_0x4961ed(0x617)),this['urlChange$']=N[_0x4961ed(0x4f7)](window,_0x4961ed(0x606))[_0x4961ed(0x551)](N['takeUntil'](this[_0x4961ed(0x362)]),N['shareReplay'](0x1),N[_0x4961ed(0x642)](void 0x0));}[_0x24e421(0x55f)](_0x3d2dc5,_0x1b09fc,_0x11a206=!0x1){const _0x116ced=_0x24e421,_0x7a1121=new URL(window[_0x116ced(0x5c9)][_0x116ced(0x41c)]);_0x7a1121[_0x116ced(0x3de)][_0x116ced(0x44a)](_0x3d2dc5,_0x1b09fc),_0x11a206?window['history'][_0x116ced(0x613)]('','',_0x7a1121[_0x116ced(0x347)]()):window[_0x116ced(0x60d)]['pushState']('','',_0x7a1121[_0x116ced(0x347)]());}[_0x24e421(0x4dc)](_0x11a15a,_0x6ee52d=!0x1){const _0x4f8a32=_0x24e421,_0x59818b=new URL(window['location'][_0x4f8a32(0x41c)]);_0x59818b[_0x4f8a32(0x3de)][_0x4f8a32(0x5ae)](_0x11a15a),_0x6ee52d?window[_0x4f8a32(0x60d)]['replaceState']('','',_0x59818b[_0x4f8a32(0x347)]()):window[_0x4f8a32(0x60d)][_0x4f8a32(0x59f)]('','',_0x59818b['toString']());}['getParam'](_0x2f1129){const _0x2fa6df=_0x24e421;var _0x535db3;return(_0x535db3=new URL(window['location'][_0x2fa6df(0x41c)])['searchParams']['get'](_0x2f1129))!=null?_0x535db3:void 0x0;}}var Wi=Object['defineProperty'],go=Object[_0x24e421(0x221)],Io=(_0x106267,_0x13ad82,_0x3b6afd)=>_0x13ad82 in _0x106267?Wi(_0x106267,_0x13ad82,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b6afd}):_0x106267[_0x13ad82]=_0x3b6afd,Co=(_0x5eecc6,_0x2513cb,_0x337316,_0x114a54)=>{for(var _0x9f4dd7=_0x114a54>0x1?void 0x0:_0x114a54?go(_0x2513cb,_0x337316):_0x2513cb,_0x5e19de=_0x5eecc6['length']-0x1,_0x31d34d;_0x5e19de>=0x0;_0x5e19de--)(_0x31d34d=_0x5eecc6[_0x5e19de])&&(_0x9f4dd7=(_0x114a54?_0x31d34d(_0x2513cb,_0x337316,_0x9f4dd7):_0x31d34d(_0x9f4dd7))||_0x9f4dd7);return _0x114a54&&_0x9f4dd7&&Wi(_0x2513cb,_0x337316,_0x9f4dd7),_0x9f4dd7;},Be=(_0x370197,_0x3565da)=>(_0x46d8fa,_0x1dab2c)=>_0x3565da(_0x46d8fa,_0x1dab2c,_0x370197),Eo=(_0x40047d,_0x571ff0,_0x268eb0)=>Io(_0x40047d,_0x571ff0+'',_0x268eb0);const bo=_0x24e421(0x52b);exports[_0x24e421(0x290)]=class extends a['Plugin']{constructor(_0x527d72=sn,_0x1365e1,_0x42b8fd,_0x5010d2,_0x3f95be){const _0x250562=_0x24e421;super(),this['_config']=_0x527d72,this[_0x250562(0x383)]=_0x1365e1,this[_0x250562(0x564)]=_0x42b8fd,this[_0x250562(0x5f8)]=_0x5010d2,this[_0x250562(0x5c2)]=_0x3f95be;const {..._0x5d1751}=this[_0x250562(0x1e0)];this[_0x250562(0x5c2)][_0x250562(0x25b)](Z,_0x5d1751);}['onStarting'](){const _0x1a1d81=_0x24e421;this[_0x1a1d81(0x62b)](),this['_initDependencies']();}[_0x24e421(0x5c6)](){const _0x9c9973=_0x24e421;a[_0x9c9973(0x561)](this[_0x9c9973(0x5f8)],[[nt],[it]]);}[_0x24e421(0x27c)](){const _0x438f3f=_0x24e421;this[_0x438f3f(0x381)]();}[_0x24e421(0x62b)](){const _0x567b1d=_0x24e421;var _0x1902e4,_0x2f3d21,_0x45f3bb,_0x43c6c9;this[_0x567b1d(0x5f8)][_0x567b1d(0x2b5)](a[_0x567b1d(0x3fb)])&&this[_0x567b1d(0x383)][_0x567b1d(0x49e)](_0x567b1d(0x439),_0x567b1d(0x56b));const _0x51fbdd=[[a[_0x567b1d(0x3fb)],{'useClass':yt}],[exports[_0x567b1d(0x3b4)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x567b1d(0x5e4)]],[exports[_0x567b1d(0x4b2)]],[z['WebSocketService']],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x2f3d21=(_0x1902e4=this['_config'])==null?void 0x0:_0x1902e4[_0x567b1d(0x55c)])!=null?_0x2f3d21:exports[_0x567b1d(0x4ca)]}],[m[_0x567b1d(0x36e)],{'useClass':exports[_0x567b1d(0x5a0)]}],[a[_0x567b1d(0x2fa)],{'useClass':exports['AuthzIoHttpService']}],[te[_0x567b1d(0x458)],{'useClass':exports[_0x567b1d(0x4b3)]}],[a[_0x567b1d(0x318)],{'useClass':exports[_0x567b1d(0x2fe)]}],[exports[_0x567b1d(0x213)]],[exports[_0x567b1d(0x3bc)]],[exports[_0x567b1d(0x533)]],[nt],[ye],[it]];(_0x45f3bb=this[_0x567b1d(0x1e0)])!=null&&_0x45f3bb[_0x567b1d(0x3a5)]&&_0x51fbdd[_0x567b1d(0x2f8)]([at,{'useClass':$n}]),a[_0x567b1d(0x524)](this[_0x567b1d(0x5f8)],a[_0x567b1d(0x23b)](_0x51fbdd,(_0x43c6c9=this['_config'])==null?void 0x0:_0x43c6c9[_0x567b1d(0x1e3)]));}[_0x24e421(0x381)](){const _0x49a3b1=_0x24e421;this[_0x49a3b1(0x244)](this[_0x49a3b1(0x564)][_0x49a3b1(0x671)](a['UniverInstanceType'][_0x49a3b1(0x5b6)],[Rt])),this['disposeWithMe'](this[_0x49a3b1(0x564)][_0x49a3b1(0x671)](a[_0x49a3b1(0x355)][_0x49a3b1(0x4d1)],[Ot]));}[_0x24e421(0x349)](){const _0x2a9e57=_0x24e421;var _0x3809ee,_0x269c95;this[_0x2a9e57(0x5f8)][_0x2a9e57(0x1ce)](z[_0x2a9e57(0x567)])[_0x2a9e57(0x5f0)]({'priority':0x14,'interceptor':z[_0x2a9e57(0x31e)]({'maxParallel':0x6})}),(_0x3809ee=this[_0x2a9e57(0x1e0)])!=null&&_0x3809ee['enableOfflineEditing']||this[_0x2a9e57(0x5f8)][_0x2a9e57(0x1ce)](exports[_0x2a9e57(0x4b2)])['disableLocalCache'](),(_0x269c95=this[_0x2a9e57(0x1e0)])!=null&&_0x269c95[_0x2a9e57(0x5a4)]&&a[_0x2a9e57(0x561)](this[_0x2a9e57(0x5f8)],[[rt]]),a[_0x2a9e57(0x561)](this[_0x2a9e57(0x5f8)],[[st],[ye],[exports['DataLoaderController']],[exports[_0x2a9e57(0x213)]],[exports[_0x2a9e57(0x533)]],[ot]]);}},Eo(exports['UniverCollaborationClientPlugin'],_0x24e421(0x295),bo),exports[_0x24e421(0x290)]=Co([a[_0x24e421(0x65e)](m['UniverCollaborationPlugin'],z[_0x24e421(0x464)]),Be(0x1,a['ILogService']),Be(0x2,Y[_0x24e421(0x3c8)]),Be(0x3,a['Inject'](a['Injector'])),Be(0x4,a['IConfigService'])],exports[_0x24e421(0x290)]),exports[_0x24e421(0x373)]=xt,exports[_0x24e421(0x46c)]=Z,exports[_0x24e421(0x3c2)]=Ci,exports[_0x24e421(0x4c9)]=Si,exports['CollaborationStatus']=K,exports[_0x24e421(0x3cf)]=$i,exports[_0x24e421(0x422)]=wt,exports[_0x24e421(0x60b)]=pi,exports[_0x24e421(0x2d5)]=Dt,exports[_0x24e421(0x435)]=Pt,exports[_0x24e421(0x658)]=Lt,exports[_0x24e421(0x481)]=Ii,exports[_0x24e421(0x2db)]=Ei,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=gi,exports[_0x24e421(0x4f2)]=Ki,exports[_0x24e421(0x3ca)]=fi,exports[_0x24e421(0x243)]=vi,exports['SessionStatus']=ne,exports[_0x24e421(0x399)]=Mi,exports[_0x24e421(0x573)]=ki,exports[_0x24e421(0x643)]=Ri,exports['serializeCombRequest']=Oi;