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

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 _0xe4d145=_0x4e21;(function(_0x1023d2,_0x1bb0d7){const _0x327166=_0x4e21,_0x3f4f72=_0x1023d2();while(!![]){try{const _0x425cfc=parseInt(_0x327166(0x3f6))/0x1+parseInt(_0x327166(0x451))/0x2*(parseInt(_0x327166(0x568))/0x3)+parseInt(_0x327166(0x4b8))/0x4+parseInt(_0x327166(0x684))/0x5*(-parseInt(_0x327166(0x299))/0x6)+parseInt(_0x327166(0x36b))/0x7*(-parseInt(_0x327166(0x291))/0x8)+parseInt(_0x327166(0x3b5))/0x9*(parseInt(_0x327166(0x6b5))/0xa)+parseInt(_0x327166(0x3e5))/0xb*(-parseInt(_0x327166(0x5a7))/0xc);if(_0x425cfc===_0x1bb0d7)break;else _0x3f4f72['push'](_0x3f4f72['shift']());}catch(_0x17eb12){_0x3f4f72['push'](_0x3f4f72['shift']());}}}(_0x953a,0xb5f6a));var Fi=Object[_0xe4d145(0x641)],Vi=(_0x4f69f6,_0xa5561a,_0x469bee)=>_0xa5561a in _0x4f69f6?Fi(_0x4f69f6,_0xa5561a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x469bee}):_0x4f69f6[_0xa5561a]=_0x469bee,I=(_0x45c4e0,_0x160b2b,_0x15fc88)=>Vi(_0x45c4e0,typeof _0x160b2b!=_0xe4d145(0x5d8)?_0x160b2b+'':_0x160b2b,_0x15fc88);Object['defineProperty'](exports,Symbol[_0xe4d145(0x54b)],{'value':_0xe4d145(0x473)});const a=require(_0xe4d145(0x5e8)),N=require(_0xe4d145(0x371)),V=require(_0xe4d145(0x3c6)),Ce=require(_0xe4d145(0x65a)),z=require('@univerjs/network'),ee=require(_0xe4d145(0x557)),m=require(_0xe4d145(0x3b7)),Gi=require(_0xe4d145(0x34c)),Ie=require(_0xe4d145(0x285)),J=require(_0xe4d145(0x44c)),k=require('@univerjs/sheets'),Y=require(_0xe4d145(0x220)),te=require(_0xe4d145(0x60f)),$t=require('@univerjs/engine-formula'),Le=require(_0xe4d145(0x5a6)),oe=require(_0xe4d145(0x2b9)),Yi=require(_0xe4d145(0x49e)),fi=_0xe4d145(0x250),qi=_0xe4d145(0x5da),vi='SNAPSHOT_URL_KEY',Ki=_0xe4d145(0x4cd),zi=0x7d0,Si=_0xe4d145(0x5c5),Xi='ws://127.0.0.1:8000/universer-api/comb/connect',Ji=_0xe4d145(0x406),pi=_0xe4d145(0x28a),Zi=0x7530,Dt=_0xe4d145(0x2f5),mi=0x4e20,Qi=0x4e20,gi=_0xe4d145(0x22d),en=0x3,Ii='LOCAL_CACHE_INTERVAL',tn=0x3e8,Ci=_0xe4d145(0x4a3),nn='/universer-api/comb',Ei='LOGIN_URL_KEY',rn='/universer-api/oidc/authpage';var bi=(_0x24aa22=>(_0x24aa22[_0x24aa22[_0xe4d145(0x22a)]=0x0]='UNDEFINED',_0x24aa22[_0x24aa22['OK']=0x1]='OK',_0x24aa22[_0x24aa22[_0xe4d145(0x207)]=0x2]=_0xe4d145(0x207),_0x24aa22[_0x24aa22['PERMISSION_DENIED']=0x3]=_0xe4d145(0x50d),_0x24aa22[_0x24aa22[_0xe4d145(0x32c)]=0x4]=_0xe4d145(0x32c),_0x24aa22[_0x24aa22[_0xe4d145(0x555)]=0x5]=_0xe4d145(0x555),_0x24aa22[_0x24aa22[_0xe4d145(0x4b7)]=0x6]=_0xe4d145(0x4b7),_0x24aa22[_0x24aa22['INVALID_ARGUMENT']=0x7]=_0xe4d145(0x57a),_0x24aa22[_0x24aa22['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x24aa22[_0x24aa22[_0xe4d145(0x58a)]=0x9]=_0xe4d145(0x58a),_0x24aa22[_0x24aa22[_0xe4d145(0x42c)]=0x1389]=_0xe4d145(0x42c),_0x24aa22[_0x24aa22['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xe4d145(0x5c8),_0x24aa22[_0x24aa22[_0xe4d145(0x694)]=0x1772]=_0xe4d145(0x694),_0x24aa22[_0x24aa22[_0xe4d145(0x69d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x24aa22[_0x24aa22[_0xe4d145(0x1f3)]=0x1b59]=_0xe4d145(0x1f3),_0x24aa22[_0x24aa22[_0xe4d145(0x2d2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x24aa22[_0x24aa22['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xe4d145(0x4d0),_0x24aa22[_0x24aa22['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x24aa22[_0x24aa22[_0xe4d145(0x4f8)]=0x1b5d]=_0xe4d145(0x4f8),_0x24aa22[_0x24aa22[_0xe4d145(0x26a)]=0x1f41]=_0xe4d145(0x26a),_0x24aa22[_0x24aa22[_0xe4d145(0x396)]=0x2329]=_0xe4d145(0x396),_0x24aa22[_0x24aa22[_0xe4d145(0x6b6)]=0x232a]=_0xe4d145(0x6b6),_0x24aa22[_0x24aa22[_0xe4d145(0x624)]=0x232b]=_0xe4d145(0x624),_0x24aa22[_0x24aa22['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x24aa22[_0x24aa22['LICENSE_DISTRO_REJECTED']=0x232d]=_0xe4d145(0x5d0),_0x24aa22[_0x24aa22[_0xe4d145(0x4aa)]=0x2711]=_0xe4d145(0x4aa),_0x24aa22[_0x24aa22[_0xe4d145(0x540)]=0x2712]=_0xe4d145(0x540),_0x24aa22[_0x24aa22[_0xe4d145(0x232)]=0x2713]=_0xe4d145(0x232),_0x24aa22[_0x24aa22[_0xe4d145(0x3ec)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x24aa22[_0x24aa22[_0xe4d145(0x5ae)]=-0x1]=_0xe4d145(0x5ae),_0x24aa22))(bi||{}),ie=(_0x1a5a88=>(_0x1a5a88[_0x1a5a88[_0xe4d145(0x520)]=0x0]=_0xe4d145(0x520),_0x1a5a88[_0x1a5a88[_0xe4d145(0x675)]=0x1]=_0xe4d145(0x675),_0x1a5a88[_0x1a5a88[_0xe4d145(0x303)]=0x2]=_0xe4d145(0x303),_0x1a5a88[_0x1a5a88[_0xe4d145(0x4df)]=0x3]=_0xe4d145(0x4df),_0x1a5a88[_0x1a5a88[_0xe4d145(0x69e)]=0x4]=_0xe4d145(0x69e),_0x1a5a88[_0x1a5a88[_0xe4d145(0x5ae)]=-0x1]='UNRECOGNIZED',_0x1a5a88))(ie||{}),G=(_0x28de33=>(_0x28de33[_0x28de33[_0xe4d145(0x4e5)]=0x0]='UNKNOWN_CMD',_0x28de33[_0x28de33['HELLO']=0x1]=_0xe4d145(0x5fc),_0x28de33[_0x28de33[_0xe4d145(0x4ae)]=0x2]='JOIN',_0x28de33[_0x28de33[_0xe4d145(0x3d2)]=0x3]=_0xe4d145(0x3d2),_0x28de33[_0x28de33[_0xe4d145(0x3da)]=0x4]=_0xe4d145(0x3da),_0x28de33[_0x28de33[_0xe4d145(0x29d)]=0x5]=_0xe4d145(0x29d),_0x28de33[_0x28de33['RECV']=0x6]=_0xe4d145(0x4b1),_0x28de33[_0x28de33['UNRECOGNIZED']=-0x1]=_0xe4d145(0x5ae),_0x28de33))(G||{}),ge=(_0x2d0ca7=>(_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x2a2)]=0x0]=_0xe4d145(0x2a2),_0x2d0ca7[_0x2d0ca7['OK']=0x1]='OK',_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x317)]=0x2]=_0xe4d145(0x317),_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x610)]=0x3e9]=_0xe4d145(0x610),_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x3fb)]=0x3ea]=_0xe4d145(0x3fb),_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x300)]=0x3eb]=_0xe4d145(0x300),_0x2d0ca7[_0x2d0ca7['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xe4d145(0x403),_0x2d0ca7[_0x2d0ca7[_0xe4d145(0x5ae)]=-0x1]=_0xe4d145(0x5ae),_0x2d0ca7))(ge||{}),Ti=(_0x3a31b4=>(_0x3a31b4[_0x3a31b4['Undefined']=0x0]='Undefined',_0x3a31b4[_0x3a31b4['HttpImport']=0x1]=_0xe4d145(0x621),_0x3a31b4[_0x3a31b4[_0xe4d145(0x632)]=0x2]=_0xe4d145(0x632),_0x3a31b4[_0x3a31b4[_0xe4d145(0x56d)]=0x3]=_0xe4d145(0x56d),_0x3a31b4[_0x3a31b4[_0xe4d145(0x3e1)]=0x4]=_0xe4d145(0x3e1),_0x3a31b4[_0x3a31b4[_0xe4d145(0x5ae)]=-0x1]=_0xe4d145(0x5ae),_0x3a31b4))(Ti||{});const Z=_0xe4d145(0x4fd),sn={};function Ri(_0x3313d7){const _0x2d0bbc=_0xe4d145;var _0x3cf0d7,_0x1e7b93,_0x25e838,_0x316e10,_0x2817db;const _0x4f4efa=_0x3313d7[_0x2d0bbc(0x32b)],_0x10a075=JSON[_0x2d0bbc(0x46f)](_0x4f4efa);switch(_0x10a075[_0x2d0bbc(0x1fc)]){case G[_0x2d0bbc(0x29d)]:case G[_0x2d0bbc(0x5fc)]:{const _0x50b8d3=_0x10a075[_0x2d0bbc(0x2fc)];return{..._0x10a075,'data':_0x50b8d3,'cmd':_0x10a075['cmd']};}case G['JOIN']:{const _0x1ea4ca=_0x10a075[_0x2d0bbc(0x42b)];return{..._0x10a075,'data':_0x1ea4ca,'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};}case G[_0x2d0bbc(0x4b1)]:{const _0x792291=_0x10a075[_0x2d0bbc(0x441)];switch(_0x792291[_0x2d0bbc(0x432)]){case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x61d)]:return{..._0x10a075,'data':{..._0x792291,'data':(_0x3cf0d7=_0x792291[_0x2d0bbc(0x324)])==null?void 0x0:_0x3cf0d7['cs']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m['CollaborationEvent'][_0x2d0bbc(0x258)]:return{..._0x10a075,'data':{..._0x792291,'data':(_0x1e7b93=_0x792291[_0x2d0bbc(0x5ec)])==null?void 0x0:_0x1e7b93['cs']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x527)]:return{..._0x10a075,'data':{..._0x792291,'data':(_0x25e838=_0x792291[_0x2d0bbc(0x3af)])==null?void 0x0:_0x25e838['cs']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x280)]:return{..._0x10a075,'data':{..._0x792291,'data':(_0x316e10=_0x792291[_0x2d0bbc(0x584)])==null?void 0x0:_0x316e10['cs']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x5e1)]:return{..._0x10a075,'data':{..._0x792291,'data':(_0x2817db=_0x792291[_0x2d0bbc(0x500)])==null?void 0x0:_0x2817db['cs']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)]['UPDATE_CURSOR']:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x1f2)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x33e)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291['joinEvent']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x30d)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x443)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m['CollaborationEvent'][_0x2d0bbc(0x3b3)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x661)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)]['LIVESHARE_FETCH_OPERATIONS']:case m['CollaborationEvent'][_0x2d0bbc(0x4c4)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x38f)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x2da)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291['liveShareNewHost']},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x10a075,'data':_0x792291,'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291['commentUpdateEvent']},'cmd':_0x10a075['cmd']};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x359)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x367)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};case m[_0x2d0bbc(0x563)][_0x2d0bbc(0x216)]:return{..._0x10a075,'data':{..._0x792291,'data':_0x792291[_0x2d0bbc(0x422)]},'cmd':_0x10a075[_0x2d0bbc(0x1fc)]};default:return _0x10a075;}}default:return _0x10a075;}}function Oi(_0x30dc11){const _0x5acf63=_0xe4d145;switch(_0x30dc11[_0x5acf63(0x1fc)]){case G[_0x5acf63(0x29d)]:case G[_0x5acf63(0x5fc)]:return JSON['stringify']({'cmd':_0x30dc11['cmd'],'routeKey':_0x30dc11[_0x5acf63(0x53a)]});case G['INGEST']:{let _0x3dafbf;switch(_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x432)]){case m[_0x5acf63(0x563)]['UPDATE_CURSOR']:{_0x3dafbf={'eventID':m['CollaborationEvent'][_0x5acf63(0x2c1)],'updateCursorEvent':_0x30dc11['data'][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x30d)]:{_0x3dafbf={'eventID':m[_0x5acf63(0x563)][_0x5acf63(0x30d)],'leaveEvent':_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x33e)]:{_0x3dafbf={'eventID':m['CollaborationEvent'][_0x5acf63(0x33e)],'joinEvent':_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x3b3)]:{_0x3dafbf={'eventID':m[_0x5acf63(0x563)][_0x5acf63(0x3b3)],'liveShareNewHost':_0x30dc11['data'][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x4c4)]:{_0x3dafbf={'eventID':m[_0x5acf63(0x563)][_0x5acf63(0x4c4)],'liveShareOperation':_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x2da)]:{_0x3dafbf={'eventID':m['CollaborationEvent'][_0x5acf63(0x2da)],'liveShareTerminate':_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x3d6)]:{_0x3dafbf={'eventID':m[_0x5acf63(0x563)][_0x5acf63(0x3d6)],'liveShareRequestHost':_0x30dc11[_0x5acf63(0x32b)][_0x5acf63(0x32b)]};break;}case m[_0x5acf63(0x563)][_0x5acf63(0x459)]:{_0x3dafbf={'eventID':m[_0x5acf63(0x563)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3dafbf={'eventID':_0x30dc11['data']['eventID']};}return JSON[_0x5acf63(0x3f2)]({'cmd':_0x30dc11['cmd'],'routeKey':_0x30dc11['routeKey'],'collaMsg':_0x3dafbf});}case G[_0x5acf63(0x4ae)]:return JSON[_0x5acf63(0x3f2)]({'cmd':_0x30dc11[_0x5acf63(0x1fc)],'routeKey':_0x30dc11[_0x5acf63(0x53a)],'joinReq':_0x30dc11[_0x5acf63(0x32b)]});case G[_0x5acf63(0x3d2)]:return JSON['stringify']({'cmd':_0x30dc11[_0x5acf63(0x1fc)],'routeKey':_0x30dc11['routeKey'],'leaveReq':_0x30dc11[_0x5acf63(0x32b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var on=Object['defineProperty'],an=Object[_0xe4d145(0x31a)],cn=(_0x5abb51,_0x105470,_0x16bac1,_0x56ad5e)=>{const _0x10d839=_0xe4d145;for(var _0xa04962=_0x56ad5e>0x1?void 0x0:_0x56ad5e?an(_0x105470,_0x16bac1):_0x105470,_0x121bac=_0x5abb51[_0x10d839(0x410)]-0x1,_0x4316e4;_0x121bac>=0x0;_0x121bac--)(_0x4316e4=_0x5abb51[_0x121bac])&&(_0xa04962=(_0x56ad5e?_0x4316e4(_0x105470,_0x16bac1,_0xa04962):_0x4316e4(_0xa04962))||_0xa04962);return _0x56ad5e&&_0xa04962&&on(_0x105470,_0x16bac1,_0xa04962),_0xa04962;},De=(_0x4f4fdf,_0x574a70)=>(_0x2ffa8d,_0xe5180e)=>_0x574a70(_0x2ffa8d,_0xe5180e,_0x4f4fdf);const Pt=a[_0xe4d145(0x3d1)]('univer-pro.collaboration-client-socket-service');function ln(_0x10f1c3,_0x1e57ec,_0x418513){const _0x38af21=_0xe4d145;return _0x10f1c3+'/'+_0x1e57ec+'/unit/'+_0x418513+_0x38af21(0x4e8);}exports[_0xe4d145(0x5cd)]=class extends a['Disposable']{constructor(_0x2817dd,_0x5a2955,_0x14ebc2,_0x17f60f,_0x2c1582){const _0x22517d=_0xe4d145;super(),this[_0x22517d(0x1ee)]=_0x2817dd,this[_0x22517d(0x392)]=_0x5a2955,this[_0x22517d(0x558)]=_0x14ebc2,this['_logService']=_0x17f60f,this['_snapshotServerService']=_0x2c1582;}[_0xe4d145(0x54a)](_0x164a90){const _0x30391e=_0xe4d145,_0x5a7824=this[_0x30391e(0x392)][_0x30391e(0x54a)](_0x164a90);if(!_0x5a7824)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5c4691=new a[(_0x30391e(0x3ee))](),_0x5563f2=new N[(_0x30391e(0x360))]();_0x5c4691[_0x30391e(0x583)](_0x5a7824['close$']['subscribe'](_0x1d90a1=>_0x5563f2[_0x30391e(0x215)](_0x1d90a1))),_0x5c4691[_0x30391e(0x583)](a[_0x30391e(0x456)](()=>_0x5563f2[_0x30391e(0x5e9)]()));const _0x40ba7c=new N[(_0x30391e(0x360))]();_0x5c4691[_0x30391e(0x583)](_0x5a7824[_0x30391e(0x342)]['subscribe'](_0x1c260b=>_0x40ba7c['next'](_0x1c260b))),_0x5c4691[_0x30391e(0x583)](a[_0x30391e(0x456)](()=>_0x40ba7c[_0x30391e(0x5e9)]()));const _0x1f7152=new N[(_0x30391e(0x360))]();_0x5c4691[_0x30391e(0x583)](_0x5a7824[_0x30391e(0x630)][_0x30391e(0x4e3)](_0x8fa49=>{const _0x284c47=_0x30391e,_0x3f5a91=Ri(_0x8fa49);_0x1f7152[_0x284c47(0x215)](_0x3f5a91);})),_0x5c4691[_0x30391e(0x583)](a[_0x30391e(0x456)](()=>_0x1f7152['complete']()));let _0x7f7081;const _0xf1be08=()=>{const _0x1d620a=_0x30391e;_0x40ba7c[_0x1d620a(0x215)](new Event(_0x1d620a(0x1f7))),_0x5563f2['next'](new CloseEvent('connection\x20error')),_0x7f7081['close']();};return _0x7f7081={'memberID':'','close$':_0x5563f2[_0x30391e(0x572)](),'error$':_0x40ba7c[_0x30391e(0x572)](),'open$':_0x5a7824['open$'],'message$':_0x1f7152[_0x30391e(0x572)](),'send':_0x5de528=>{const _0x1fe657=_0x30391e;if(_0x5de528['cmd']===G[_0x1fe657(0x3da)]){if(_0x5de528[_0x1fe657(0x32b)][_0x1fe657(0x432)]===m['CollaborationEvent'][_0x1fe657(0x1f0)]){this[_0x1fe657(0x536)](_0x7f7081,_0x5de528[_0x1fe657(0x32b)])[_0x1fe657(0x5e6)](_0x41d824=>{const _0x1a9ceb=_0x1fe657;this[_0x1a9ceb(0x692)][_0x1a9ceb(0x5b6)](_0x41d824),_0xf1be08();});return;}if(_0x5de528['data'][_0x1fe657(0x432)]===m['CollaborationEvent']['FETCH_MISSING']){const _0x33dd38=_0x5de528[_0x1fe657(0x32b)];this[_0x1fe657(0x571)](_0x33dd38)[_0x1fe657(0x638)](_0x4d842a=>{const _0x4e6ff6=_0x1fe657;_0x1f7152[_0x4e6ff6(0x215)]({'cmd':G[_0x4e6ff6(0x4b1)],'code':ge['OK'],'routeKey':_0x33dd38[_0x4e6ff6(0x32b)][_0x4e6ff6(0x573)],'routeType':'','data':{'eventID':m[_0x4e6ff6(0x563)][_0x4e6ff6(0x4f6)],'data':{'changesets':_0x4d842a}}});})[_0x1fe657(0x5e6)](_0x195d19=>{const _0x3ab305=_0x1fe657;this[_0x3ab305(0x692)][_0x3ab305(0x5b6)](_0x195d19),_0xf1be08();});return;}}_0x5a7824[_0x1fe657(0x21b)](Oi(_0x5de528));},'close':()=>{const _0x47d914=_0x30391e;_0x5a7824['close'](),_0x5c4691[_0x47d914(0x380)]();}},_0x7f7081;}async['_submitChangeset'](_0x2cecec,_0x10b42a){const _0x4d5e63=_0xe4d145;var _0x2b69e1,_0x27f873;const {unitType:_0x54bf12,unitID:_0x554610,changeset:_0x529bdd}=_0x10b42a[_0x4d5e63(0x32b)],_0x58a969={'unitID':_0x554610,'memberID':_0x2cecec[_0x4d5e63(0x426)],'type':_0x54bf12,'changeset':m[_0x4d5e63(0x5f3)](_0x529bdd)},_0x31e826=this[_0x4d5e63(0x558)][_0x4d5e63(0x44f)](Ci),_0x2e5edb=this[_0x4d5e63(0x558)]['getConfig'](Z),_0x785278=ln((_0x27f873=(_0x2b69e1=_0x2e5edb==null?void 0x0:_0x2e5edb[_0x4d5e63(0x3cb)])!=null?_0x2b69e1:_0x31e826)!=null?_0x27f873:nn,_0x54bf12,_0x554610);try{await this[_0x4d5e63(0x1ee)][_0x4d5e63(0x3cd)](_0x785278,{'body':_0x58a969});}catch(_0x2f562a){throw this[_0x4d5e63(0x692)][_0x4d5e63(0x5b6)](_0x4d5e63(0x2cc),_0x4d5e63(0x32a)),_0x2f562a;}}async[_0xe4d145(0x571)](_0x273e2b){const _0x2f23d8=_0xe4d145,{unitID:_0x35565c,from:_0x35b3fd,to:_0x45d25d,unitType:_0x57bd94}=_0x273e2b[_0x2f23d8(0x32b)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x35565c,'type':_0x57bd94,'from':_0x35b3fd,'to':_0x45d25d}))[_0x2f23d8(0x666)];}},exports[_0xe4d145(0x5cd)]=cn([De(0x0,a[_0xe4d145(0x378)](z['HTTPService'])),De(0x1,a['Inject'](z[_0xe4d145(0x3bb)])),De(0x2,a[_0xe4d145(0x60a)]),De(0x3,a[_0xe4d145(0x27a)]),De(0x4,m[_0xe4d145(0x417)])],exports[_0xe4d145(0x5cd)]);const hn='collaboration_new_changeset';function _n(_0x2f0a0d){const _0x3fb33c=_0xe4d145;return JSON[_0x3fb33c(0x3f2)](_0x2f0a0d)[_0x3fb33c(0x410)];}class wt{constructor(){const _0x5f534c=_0xe4d145;I(this,_0x5f534c(0x693),new N[(_0x5f534c(0x360))]()),I(this,_0x5f534c(0x594),this[_0x5f534c(0x693)][_0x5f534c(0x572)]());}[_0xe4d145(0x2ff)](_0x923673){const _0x57c0b0=_0xe4d145;this[_0x57c0b0(0x693)][_0x57c0b0(0x215)](_0x923673);}}var un=Object[_0xe4d145(0x641)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x526507,_0x4f02ce,_0x8c1f09,_0x3eaebc)=>{for(var _0x5060ad=_0x3eaebc>0x1?void 0x0:_0x3eaebc?dn(_0x4f02ce,_0x8c1f09):_0x4f02ce,_0x36b264=_0x526507['length']-0x1,_0x55baaa;_0x36b264>=0x0;_0x36b264--)(_0x55baaa=_0x526507[_0x36b264])&&(_0x5060ad=(_0x3eaebc?_0x55baaa(_0x4f02ce,_0x8c1f09,_0x5060ad):_0x55baaa(_0x5060ad))||_0x5060ad);return _0x3eaebc&&_0x5060ad&&un(_0x4f02ce,_0x8c1f09,_0x5060ad),_0x5060ad;},jt=(_0x44ef9b,_0x45d8e9)=>(_0xc82cd4,_0x458786)=>_0x45d8e9(_0xc82cd4,_0x458786,_0x44ef9b);exports[_0xe4d145(0x597)]=class extends a[_0xe4d145(0x59a)]{constructor(_0x11c950,_0x1cd312){const _0x3c2fd1=_0xe4d145;super(),I(this,_0x3c2fd1(0x552),new Map()),(this[_0x3c2fd1(0x419)]=_0x11c950,this[_0x3c2fd1(0x4be)]=_0x1cd312,this[_0x3c2fd1(0x5aa)](a[_0x3c2fd1(0x456)](N[_0x3c2fd1(0x5f0)](this['_univerInstanceService'][_0x3c2fd1(0x631)](a['UniverInstanceType'][_0x3c2fd1(0x303)])[_0x3c2fd1(0x213)](V[_0x3c2fd1(0x2d7)](_0x465e9d=>_0x465e9d[_0x3c2fd1(0x393)]())),this[_0x3c2fd1(0x419)]['getTypeOfUnitDisposed$'](a[_0x3c2fd1(0x349)]['UNIVER_DOC'])[_0x3c2fd1(0x213)](V[_0x3c2fd1(0x2d7)](_0x105233=>_0x105233[_0x3c2fd1(0x393)]())),this[_0x3c2fd1(0x419)]['getTypeOfUnitDisposed$'](a[_0x3c2fd1(0x349)][_0x3c2fd1(0x4df)])[_0x3c2fd1(0x213)](V[_0x3c2fd1(0x2d7)](_0x38edcd=>_0x38edcd['getUnitId']())))['subscribe'](_0x5dff3e=>this[_0x3c2fd1(0x387)](_0x5dff3e)))));}['setCurrentUser'](_0x125e50){const _0x5dce66=_0xe4d145;this[_0x5dce66(0x4be)][_0x5dce66(0x5ca)](_0x125e50);}[_0xe4d145(0x31b)](){const _0x26bb9b=_0xe4d145;return this[_0x26bb9b(0x4be)]['getCurrentUser']();}[_0xe4d145(0x2c8)](_0xccc00,_0x2f6d5b){const _0x243274=_0xe4d145;let _0x44d1fc=this['_roomMembers'][_0x243274(0x415)](_0xccc00);_0x44d1fc||(_0x44d1fc=new vn(),this[_0x243274(0x552)][_0x243274(0x5c4)](_0xccc00,_0x44d1fc)),_0x44d1fc['updateMember'](_0x2f6d5b);}[_0xe4d145(0x308)](_0x565f81,_0xa5e505){const _0x12b563=_0xe4d145,_0x5266db=this[_0x12b563(0x552)][_0x12b563(0x415)](_0x565f81);_0x5266db&&_0x5266db[_0x12b563(0x308)](_0xa5e505);}[_0xe4d145(0x407)](_0x3aa6da){return this['_roomMembers']['get'](_0x3aa6da);}['getMember'](_0x34d376,_0xb7bd42){const _0x157aff=_0xe4d145,_0x3cd564=this[_0x157aff(0x552)]['get'](_0x34d376);if(_0x3cd564)return _0x3cd564['getMember'](_0xb7bd42);}['_removeRoom'](_0x26c3a3){const _0x5a67f6=_0xe4d145,_0x48178f=this[_0x5a67f6(0x552)][_0x5a67f6(0x415)](_0x26c3a3);_0x48178f&&(_0x48178f[_0x5a67f6(0x380)](),this[_0x5a67f6(0x552)][_0x5a67f6(0x3c2)](_0x26c3a3));}['dispose'](){const _0x13f94c=_0xe4d145;this['_roomMembers']['forEach'](_0x35de28=>_0x35de28['dispose']()),this[_0x13f94c(0x552)][_0x13f94c(0x24d)]();}},exports['MemberService']=fn([jt(0x0,a[_0xe4d145(0x61a)]),jt(0x1,a['Inject'](a[_0xe4d145(0x35c)]))],exports['MemberService']);class vn extends a['Disposable']{constructor(){const _0x54fa2c=_0xe4d145;super(...arguments),I(this,_0x54fa2c(0x3cc),new Map());}['dispose'](){const _0x29c13f=_0xe4d145;this['_members'][_0x29c13f(0x24d)]();}['updateMember'](_0x313905){const _0x11ef7d=_0xe4d145;this['_members'][_0x11ef7d(0x5c4)](_0x313905[_0x11ef7d(0x426)],_0x313905);}[_0xe4d145(0x308)](_0x1ff48f){const _0x551e32=_0xe4d145;this[_0x551e32(0x3cc)][_0x551e32(0x3c2)](_0x1ff48f);}[_0xe4d145(0x208)](_0x224e53){const _0x17e6e5=_0xe4d145;return this[_0x17e6e5(0x3cc)][_0x17e6e5(0x415)](_0x224e53);}['getAllMembers'](){const _0x17371f=_0xe4d145;return Array[_0x17371f(0x4fc)](this['_members'][_0x17371f(0x40a)]());}}function _0x4e21(_0x6e3aa8,_0x4317ee){const _0x953a3f=_0x953a();return _0x4e21=function(_0x4e21c8,_0x437ade){_0x4e21c8=_0x4e21c8-0x1ee;let _0x283d30=_0x953a3f[_0x4e21c8];return _0x283d30;},_0x4e21(_0x6e3aa8,_0x4317ee);}var Sn=Object[_0xe4d145(0x641)],pn=Object[_0xe4d145(0x31a)],mn=(_0x21838f,_0x586bb1,_0x443694,_0x54b7b3)=>{for(var _0x329b5d=_0x54b7b3>0x1?void 0x0:_0x54b7b3?pn(_0x586bb1,_0x443694):_0x586bb1,_0x543bca=_0x21838f['length']-0x1,_0x4092da;_0x543bca>=0x0;_0x543bca--)(_0x4092da=_0x21838f[_0x543bca])&&(_0x329b5d=(_0x54b7b3?_0x4092da(_0x586bb1,_0x443694,_0x329b5d):_0x4092da(_0x329b5d))||_0x329b5d);return _0x54b7b3&&_0x329b5d&&Sn(_0x586bb1,_0x443694,_0x329b5d),_0x329b5d;},ue=(_0x48ed44,_0xaa574d)=>(_0x9affc9,_0x56bbda)=>_0xaa574d(_0x9affc9,_0x56bbda,_0x48ed44),ne=(_0x3af68f=>(_0x3af68f[_0x3af68f[_0xe4d145(0x2a5)]=0x0]=_0xe4d145(0x2a5),_0x3af68f[_0x3af68f[_0xe4d145(0x66f)]=0x1]=_0xe4d145(0x66f),_0x3af68f[_0x3af68f['OFFLINE']=0x2]='OFFLINE',_0x3af68f[_0x3af68f[_0xe4d145(0x665)]=0x3]='ONLINE',_0x3af68f))(ne||{});const Ht={[ge['FAIL']]:_0xe4d145(0x5de),[ge[_0xe4d145(0x610)]]:_0xe4d145(0x257),[ge[_0xe4d145(0x3fb)]]:_0xe4d145(0x3fe),[ge[_0xe4d145(0x300)]]:_0xe4d145(0x58d),[ge[_0xe4d145(0x403)]]:'session.room-cnt-exceeds'};function _0x953a(){const _0x1edd9c=['LICENSE_DISTRO_REJECTED','onload','_saveCache','_exhaustRemoteChangesetQueue','number','_onCursorDelete','appendMutation','entries','symbol','socket$','/universer-api/snapshot','getUnitType','onRemoteRetry','handleMoveRange','session.join-failed','list','univer-online','CHANGESET_SHOULD_RETRY','_clearRedo','DocSelectionManagerService','_retryConnectingTimer','mapTo','catch','[PendingState]:\x20received\x20rejection.','@univerjs/core','complete','DocCollaborationEntity','_lockTransition','csAckEvent','take','Univer','some','merge','loadSheet','collaboration.single-unit.warning','parseChangesetToProtocol','getCollabEntity$','_tryEnsureSocket','_executeRemoteChangeset','editingUnit','[SyncedState]:\x20received\x20acknowledgement.','ThresholdInterceptorFactory','sessionStatus$','collabStatus.synced','HELLO','getImageSourceCache','key','_assignedColors','_startTelemetryCollaborationNewChangeset','_labelPosition','concat','SHA1','formatter','Hex','_collabCursorState$','IURLService','transformIMECache','getCurrentUnitForType','IConfigService','lineTo','byteOffset','fromEventSubject','for','@univerjs/drawing','JOIN_ROOM_FULL','onMissingChangesets','isActive','isTransformMutationsWithChangesetSuccess','SNAPSHOT_URL_KEY','getFocusedUnit','fill','msCrypto','_waitForHeartbeatResponse','getItem','IUniverInstanceService','event$','_syncEditingCollabCursorService','PERMISSION_REJ','reconnect','split','apply','HttpImport','WordArray','_data','LICENSE_IMPORT_SIZE_EXCEEDED','handleIRemoveCol','#fff','_singleActiveUnitService','collaboration.closeRoom','off-line-single_clip0_910_343','_shouldReportTelemetry','_updateLocalCursor','Cipher','NOT_COLLAB','onSendChangeset','_clearOtherTimers','message$','getTypeOfUnitDisposed$','HttpExport','/universer-api/stream/file/upload','_draw','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformIME','_unitOnClients','then','_cursorShapes','HMAC','getSheetObject','abs','DependentOn','status$','People','_startDocCollabCursor','defineProperty','getImage','/collaborator','ReactCurrentOwner','attrs','getUndoRedoMutationParamsCache','addObjects','assignAColorForMemberID','collabWebSocketUrl','_process','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_initResize','univer-online-status-icon','socketService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ITelemetryService','MSG_FOR_ERROR','action','unit','_getCurrentRevision','hide','selection','ThemeService','removeParam','InsertColCommandId','@univerjs/design','&to=','getParam','ref','deserializeToCombResponse','_queuedRemoteChangesets','getOwnPropertySymbols','liveShareNewHost','MUTATION','_hovered','_themeService','ONLINE','changesets','_nDataBytes','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','colorChannel1','auth.needGotoLoginAlert','EmptyMutation','_refreshCollabCursors','_nRounds','IAuthzIoService','JOINING','DEFAULT_FILE_NAME','reqId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','uploadFileServerUrl','registerRefRange','UNIVER_DOC','/block/','fromEvent','_listenToOfflineEvent','height','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','BehaviorSubject','storage','charCodeAt','includes','column','transformUndoRedo','_roomMembers$','setActiveRange','15mypliL','_type','className','_redoStacks','_getScale','unitId\x20is\x20not\x20found','fillRule','undoState','registerBeforeClose','toggleOffline','distinctUntilChanged','m2Prime','allowed','getCollabEntity','_logService','_commentUpdate$','SNAPSHOT_HAS_BEEN_REMOVED','listCollaborators','isPermissionRej','_updateCollabCursors','Warning','words','_onMessage','RevisionService','_onConflict','ENSURE_SNAPSHOT_EXECUTION','UNIVER_PROJECT','_isPermissionRej','setStateCache','_socketReady','transformMutation','update','ranges','onRendered','parseProtocolChangeset','wsSessionTicketUrl','getDocRanges','_config','_updateLocalCache','_onRecvEvent','searchParams','originalMeta','onTransformRemoteChangesetByStateCache','NO_OTHER_CLIENTS_EDITING','[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.','onReady','location','_initUnitPermissionChange','serializeCombRequest','70pmtwwr','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleSaving','_onCombEvent','now','crypto','Tools','onTransformRemoteChangesetByIMECache','responseType','enableOfflineEditing','red300','SHEET_VIEWPORT_KEY','setShapeProps','_hover','_onFetchMissResult','visibilityState','m1Prime','onSyncEditingCollabCursor','_http','forEach','SUBMIT_CHANGESET','_registerDependencies','updateCursorEvent','APPLY_REJECT','getAncestorScale','withCredentials','uni.network.url-service','connection\x20error','OpenSSL','getCollabCursors$','interceptor','CollaborationController','cmd','_undoRedoService','sendChangesetTimeout','ImageUploadStatusType','_commandService','RECT','permission.content','url(#on-line-single_clip0_910_349)','_key','_onConnectionOpen','?size=','INTERNAL_ERROR','getMember','_getLoginPath','c1Prime','SerializableCipher','failed\x20to\x20apply\x20missed\x20changesets!','Base','_range','DOC_RANGE_TYPE','RemoveRowCommandId','stopTime','pending','pipe','_disableEditing','next','SHOULD_CLOSE_CONN','_iv','Rectangle','getCurrent','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','send','_getMergeRange','finalize','_sheetTransformSelectionsService','unshift','@univerjs/engine-render','SheetsSelectionsService','sigBytes','useObservable','makeDirty','onTransformSelections','_event$','retryConnectingInterval','_collaborationController','color','UNDEFINED','fetching\x20missing\x20changesets\x20from\x20','getSkeleton','RETRY_CONNECTING_MAX_COUNT','_ENC_XFORM_MODE','/object/','hasher','Malformed\x20UTF-8\x20data','YUUMI_RATE_OVER_LIMIT','_transformHistoryAndStateStack','ACTIVE_UNIT_EVENT_CHANNEL','_applyRemoteChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','roomMembers','DocIMEInputManagerService','IBeforeCloseService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','title','_doProcessBlock','_setupBeforeClosingHandler','_cursorInfo$','_sheetSkeletonManagerService','_showConflictNotification','_parse','on-line-single_clip0_910_349','_localStorageService','Optional','_notificationService','BufferedBlockAlgorithm','lib','findNodePositionByCharIndex','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','batchAllowed','MoveRangeCommandId','online','clear','TEXT_RANGE_LAYER_INDEX','_initStatusListener','SNAPSHOT_SERVER_URL_KEY','path','_sessionStatus$','pluginName','OTHER_CLIENTS_EDITING','_getAnchorBounding','_hideTimer','session.room-full','CHANGESET_ACK','off-line-single','PasswordBasedCipher','processBlock','socket\x20close','_state','urlChange$','measureText','AES','_cipher','POST','objectActions','_loadSheet','byteLength','_textBubble','_registerRenderDependencies','RegularPolygon','onRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','_clearCollaborationTimeoutTimer','svg','onPointerEnter$','addObject','univerjs-icon\x20univerjs-icon-','defaultProps','[OfflineState]:\x20received\x20changeset.','reverse','_socket','CONFLICT','iterations','_xformMode','_docTransformStateCacheService','/universer-api/authz','SetDocZoomRatioOperation','ILogService','handleInsertRangeMoveDown','editing\x20status\x20changed\x20to','_doFinalize','_colorIndex','session','CHANGESET_REJ','BlockCipherMode','_onJoinRoomEvent','EffectRefRangId','LocalUndoRedoService','@univerjs/docs','_retryCount','unit-cache-','createElement','useRef','HEARTBEAT_INTERVAL','compute','filter','getTime','createCollaborator','_anchorDot','...','34568vnXnrd','cfg','transformRemoteChangeset','_iKey','bind','registerComponent','readInt32LE','_localeService','1459158oGRREk','_createHelper','_remoteChangesetQueue','history','HEARTBEAT','setInterval','_saveTaskMap','_memberService','restore','UNKNOWN_CODE','IRenderManagerService','UniverCollaborationClientPlugin','IDLE','COLORS','_docClipboardService','getUnitOnRev','WorkbookEditablePermission','NodePositionConvertToCursor','loadDoc','SnapshotServerOverHTTPService','&assign=','_DEC_XFORM_MODE','resolve','closeSession','round','DataLoaderController','Base64','_HTTPService','_transformSelections','_instanceService','json','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','react','downloadEndpointUrl','_getSignURL','_reverseMap','actions','_collaborationTimeoutTimer','_replayCachedMutations','buffer','UPDATE_CURSOR','Shape','_docSkeletonManagerService','UniverIcon','resourceIDs','jiqing500','_telemetryService','updateMember','clearInterval','getVpScrollXYInfoByPosToVp','onTransformState','[CollaborationSession]','c2Prime','enc','_incrementRevisionNumber','_transformRemoteChangesetByIMECache','duration','APPLY_NON_SEQUENTIAL_REVISION','_initStatusComponent','newValue','_clearHeartbeatTimer','Injector','map','getMemberID','_updateURLWithCurrentState','LIVESHARE_TERMINATE','_tryReconnect','_scheduleCollaborationTimeoutTimer','repeat','SetSelectionsOperation','_updateSubUnitFromURLParams','x-univer-host','_unitStatus','CollaborationSessionService','_invKeySchedule','/rev/','clone','_createHandler','onStateChange','_transformRemoteChangesetByStateCache','CompressMutationService','change$','getMergeData','SUCCUSS','\x0aCurrent:\x20','_collaborationSessionService','RefRangeService','endColumn','sid','_backgroundColor','onlineStatus','BuiltInUIPart','HEARTBEAT_TIMEOUT','/object','MD5','EvpKDF','encodeURIComponent','_changesetReqId','_collabSessionService','infoRsp','_clearTimeoutTimer','RETRY_CONNECTING_MAX_COUNT_KEY','onCommentUpdate','JOIN_ROOM_PERMISSION_DENIED','SetTextSelectionsOperation','hasOwnProperty','UNIVER_SHEET','/unit/','IDocClipboardService','_online','HmacMD5','removeMember','flatMap','put','sheetId','ITransformService','USERS_LEAVE','getColor','headers','image/png','[OfflineState]:\x20received\x20rejection.','replaceDocRanges','defs','getUnhiddenWorksheets','_removeCollabCursors','triggerDblclick','FAIL','useDependency','isTransformChangesetsSuccess','getOwnPropertyDescriptor','getCurrentUser','PENDING','sessionStatus','_disabled','clearTimeout','salt','collab-text-anchor-','skeleton','debug','permissionRejEvent','[CollaborationEntity]','_toggleOnline','cursorInfo','[DataLoaderController]','labelPosition','submit\x20changeset\x20error!','data','NOT_FOUND','_handleJoinEvent','redoState','getSnapshotAPIPath','substring','_transformUndoRedoStack','refreshPermission','CollaborationSession','COMPRESS_MUTATION_SEND','userID','_initRequestHeader','_transitionLocked','image/jpg','tag','onCommandExecuted','DeleteRangeMoveLeftCommandId','UniverCollaborationPlugin','onTransformChange$','USERS_ENTER','getRandomValues','MergeInterceptorFactory','COLLAB_SUBMIT_CHANGESET_URL_KEY','error$','AUTHZ_URL_KEY','COLLAB_WEB_SOCKET_URL_KEY','_initEventListeners','isInternalEditorID','_anchor','HEARTBEAT_INTERVAL_KEY','UniverInstanceType','_transformService','_cursors','@univerjs/telemetry','[CollaborationSessionService]','transformSelections','_onRemoteRetry','_heartbeatTimer','backgroundColor','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MentionType','patch','init','decrypt','subUnitId','_collaborationPaused','UPDATE_PERMISSION_OBJ','mixIn','_substituteUndoStack','UserManagerService','_onOffline','UNIVER_COLLABORATION_CLIENT_PLUGIN','_urlService','Subject','registerOnClose','url(#off-line-single_clip0_910_343)','IUndoRedoService','SheetCollaborationEntity','docStateChange$','handleInsertRow','updatePermissionObjEvent','_transformStateCache','save\x20fail\x20reason\x20is\x20','deepClone','1967QrOWYN','_sessions','_candidateSocket','LocalCacheService','roomMembers$','HTTPService','rxjs','_stopTelemetryCollaborationNewChangeset','on-line-single','_drawAnchor','collabStatus.syncing','ICommandService','encrypt','Inject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','registerHTTPInterceptor','_onRefRangeChange','DocStateChangeManagerService','getCurrentSelections','reduce','_throwTelemetryCollaborationNewChangeset','dispose','M0\x200H16V16H0z','cursorInfo$','doc.mutation.rich-text-editing','focused$','IContextService','COMMENT_UPDATE','_removeRoom','snapshotServerUrl','compose','_drawTextRange','_permissionService','createInstance','[SyncedState]:\x20received\x20rejection.','Pkcs7','liveShareOperation','collab-rect-range-','_context','_ws','getUnitId','_scheduleClearOtherTimer','FileId','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.notCollab','collaboration-session-retry','_clearLocalCache','[CollaborationUndoRedoService]','_createSocketURL','_colorAssignService','/role','pushState','transformStateCache','saveImage','_unitID','permission.title','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','top','exhaustSavingTask','loadOfflineData','getSheetId','pad','_scheduleHeartbeat','debounceTime','setTimeout','textEncoder','SYNCED','generateRandomId','newCsEvent','_getCtorByUniverType','AWAITING','getLatestCsReqIdBySid','LIVESHARE_NEW_HOST','getStateCache','1324827jRLbQf','[CollaborationState]:\x20apply\x20error!','@univerjs-pro/collaboration','_beforeCloseService','_cachedData','_imageSourceCache','WebSocketService','connectInjector','_getAPIPrefix','defIds','params','b64DecodeUnicode','_prevBlock','delete','kdf','updateCollaborator','_scheduleTimestamp','rxjs/operators','create','override','setShowComponents','close','collabSubmitChangesetUrl','_members','post','_awaitingChangeset','CBC','row','createIdentifier','LEAVE','displayName','/universer-api/file/{fileID}/sign-url','objectType','LIVESHARE_REQUEST_HOST','_replaceFileID','_commentService','currentTheme$','INGEST','setAlpha','addEventListener','UUID','_substituteRedoStack','IPermissionService','_mode','UnitSnapshot','floor','state','_getAPIPrefixPath','11lFXyPc','ceil','name','ILocalStorageService','verdancy600','Latin1','disableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_sender','DisposableCollection','transformByState','startsWith','_onUserJoin','stringify','_color','string','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','479196xnkIah','transform','onMissedChangesetFetched','_compressMutationService','unsubscribe','JOIN_ROOM_NOT_EXISTS','origin','_eventUnsubscribe','session.room-not-exists','useCallback','StreamCipher','_entities','session.collaboration-timeout','GLOBAL_ROOMS_CNT_EXCEEDS','onlineStatusTitle','_schedule','/universer-api/user/session-ticket','getRoom','FETCH_MISSING','Tooltip','values','IMessageService','debounce','setWaitCount','transformMutationsWithChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','length','_clearUndo','_socketService','_decreaseWaiting','_append','get','_docSyncEditingCollabCursorService','ISnapshotServerService','onlyLocal','_univerInstanceService','fillText','_updateState','transformStack\x20failed!','unknown','getRangePointData','save','isTransformMutationsWithChangesetFailure','switchMap','shouldCloseConn','children','prototype','append','memberID','deserializeRangeWithSheet','__Key__','/universer-api/snapshot/','/fetchmissing?from=','joinRsp','CHANGESET_REVISION_CONFILICT','awaitingChangeset','_shapes','incrementRevOfUnit','engine','ImageSourceType','eventID','image/bmp','registerRenderModule','NoPadding','_onCursorUpdate','onPointerMove$','CollabrationImageIoService','_createInitialStateImpl','InsertRangeMoveDownCommandId','sheetID','_refRangeService','Encryptor','touchDependencies','splice','_createInitialState','collaMsg','_handleLeaveEvent','leaveEvent','_socket$','COMPRESS_MUTATION_APPLY','CommandType','univer-online-status','getTypeOfUnitAdded$','__creator','Unknown\x20user','decryptBlock','@univerjs/docs-ui','_createSocket','Vector2','getConfig','ciphertext','212122PWuIqJ','imageSourceType','_state$','indexOf','_acknowledgedAwaitingChangeset','toDisposable','_scene','_cursor','LIVESHARE_FETCH_OPERATIONS','getRenderById','SheetCollabCursorShape','_lastPointer','PERSON','_onRemoteRejected','_toggleOffline','blue400','_getRedoStack','startTime','fetchThroughInterceptors','_hasher','Hasher','collabStatus.conflict','&source=','DesktopCollaborationStatusDisplayController','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_initCommandExecutedListener','_render','fillStyle','push','LocaleService','parse','status','_resendTimer','reject','Module','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_messageService','localeService','_clearScheduledTask','isTransformMutationFailure','forwardRef','roles','textRanges','resend','RemoveColCommandId','keySize','collabCursorState$','takeUntil','combineLatest','_handleHover','subunit','_name','/allowed','charAt','getUnitStatus$','CommentService','DocSkeletonManagerService','with','clipPath','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','RxDisposable','delay','slice','syncEditingCollabCursor','_createHmacHelper','state$','getCoordByCell','handleInsertCol','activeSheet$','synced','_keySchedule','FromArray','/resources','mode','requestParams','clamp','execute','@univerjs/rpc','toString','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','rng','trim','COLLAB_SUBMIT_CHANGESET_URL','createEncryptor','saveOfflineData','_imageIoService','[CollaborationSessionService]:\x20socket\x20error','function','href','YUUMI_UNABLE_LOAD_URL','rgba(255,\x20255,\x20255,\x200.01)','MentionIoHttpService','serializeRangeWithSheet','JOIN','react.fragment','getSheetBySheetId','RECV','onRemoteRej','_unlockTransition','collaboratorID','_initMergeInterceptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ALREADY_EXISTS','3639488tOJzva','AuthzIoHttpService','evenodd','_transformPreviousActiveRange','unitId','_minBufferSize','_userManagerService','fromCollab','_getSessionTicket','join','collab-text-range-','[PendingState]:\x20received\x20acknowledgement.','LIVESHARE_OPERATION','objects','_telemetryInfo','_map','ERROR_IMAGE','application/json','loginUrlKey','?url=','none','SEND_CHANGESET_TIMEOUT','_status$','[OfflineState]:\x20received\x20acknowledgement.','APPLY_REVISION_CONFILICT','every','1em','getActiveRange','_startSheetCollabCursor','ivSize','_updateStatus','src','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_pendingMutations','text','setConfig','/-/object/-/batch_allowed','replace','SetWorksheetActivateCommand','UNIVER_SLIDE','extend','_transformStack','HEADER_MENU','subscribe','enableLocalCache','UNKNOWN_CMD','awaiting','call','/new_changes','_syncEditingCollabCursor','RichTextEditingMutation','default','react.element','setItem','current','$super','fromCharCode','arc','IUIPartsService','random','_initCloseConn','_sendingTimer','PSEUDO_FETCH_MISSING_RESULT','mapDocumentTypeToUniverType','APPLY_DUPLICATED','algo','_selfUnitIDs','getCellPositionByOffset','from','collaboration-client.config','saveSheetBlock','onRemoteAck','csShouldRetryEvent','_change$','baseRev','selections','_docTransformSelectionsService','_loadDoc','_handleHeartbeatEvent','body','_docStateChangeManagerService','_entityInit$','max','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','find','PERMISSION_DENIED','show','\x20-\x20','subscribeEvent','randomUUID','getOffsetConfig','InsertRowCommandId','IImageIoService','_hash','SheetSkeletonManagerService','_getUndoStack','collaborators','_snapshotService','executeCommand','_checkMissing','updatePermissionPoint','_handleEvent','assign','hovered','UNIVER_UNKNOWN','_doCryptBlock','deleteCollaborator','getValue','toggleOnline','ColorKit','socket\x20open.','NEW_CHANGESETS','BASE64','univer-online-status-title','_getSaveTimeout','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','size','onPointerLeave$','rev','url','icon','_timeoutTimer','transformChangesets','_oKey','bottom','_ensureSubject','_submitChangeset','offline','idSuffix','_transformUndoredo','routeKey','div','shareReplay','image/jpeg','revision','BlockCipher','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','_revisionService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_drawRectRange','_initDependencies','subject','__esModule','format','_id','createSocket','toStringTag','currentColor','range','updateOfflineData','isEditing','saveSnapshot','has','_roomMembers','_localCacheService','addImageSourceCache','UNAUTHENTICATED','_renderManagerService','@univerjs/ui','_configService','setParam','result','padding','target','_changesetSessionId','Utf8','collab-client.tooltip.reconnect','{fileID}','_waitCount','getCurrentRevOfUnit','CollaborationEvent','objectID','getRelativeToViewportCoord','copyFileMeta','drawWith','24bSLiKw','black','_docSkeleton','InsertRangeMoveRightCommandId','LOGIN_URL_KEY','UnitEmbedded','_resendTimeout','dispose$','reset','_fetchMissChangesets','asObservable','unitID','getUniverSheetInstance','sessionTicket','fetchMissingChangesets','SessionStatus','_transformIMECache','replaceState','INVALID_ARGUMENT','getActiveSheet','getSheetBlock','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Rect','IMentionIOService','avatar','onMouseMove','Error','add','csRejEvent','_httpService','CollaborationEntity','beginPath','_removeClearOtherTimer','_session','COMPLETION_FINISHED','getWorkbookSelections','CollaborationStatus','session.room-permission-denied','_getSendChangesetTimeout','AWAITING_WITH_PENDING','_handler','_collabCursorController','_rescheduleHeartbeat','resize','commentUpdate$','_onConnectionFailed','createDecryptor','MemberService','signUrlServerUrl','getInterceptPoints','Disposable','_socketMessageSubscription','mutations','_resendWithTimeout','initWorkbookPermissionChange','_init','blockSize','_getDownloadEndpointURL','OffLineSingle','_onLocalMutation','moveTo','xlink:href','@univerjs/sheets-ui','6946500JcGcwD','_uiPartsService','_keyPriorReset','disposeWithMe','collabStatus.fetchMiss','setUndoRedoMutationParamsCache','Error\x20on\x20receiving\x20event','UNRECOGNIZED','currentSkeleton$','_send','authzUrl','MessageType','workbook','\x20to\x20','code','error','jsx','requireSession','FETCH_MISS','type','not_collab','_sendHeartbeatTimer','_listenToOnlineEvent','isArray','_startCollaboration','enableAuthServer','min','width','exports','set','COLLAB_WEB_SOCKET_URL','handleDeleteRangeMoveUp','encode','SNAPSHOT_INVALID_SNAPSHOT','_joinRoom','setCurrentUser','VIEW_MAIN','source','CollaborationSocketService','OFFLINE','_getUploadFileURL'];_0x953a=function(){return _0x1edd9c;};return _0x953a();}exports[_0xe4d145(0x333)]=class extends a[_0xe4d145(0x48d)]{constructor(_0x4df244,_0x19cb51,_0x33ede5,_0x290d81,_0x2fe458,_0x50c81d,_0x336e86,_0x5b84ea,_0x310909,_0x5266da){const _0x3d5540=_0xe4d145;super(),I(this,_0x3d5540(0x252),new N[(_0x3d5540(0x67c))](0x0)),I(this,'sessionStatus$',this[_0x3d5540(0x252)][_0x3d5540(0x572)]()),I(this,'_event$',new N[(_0x3d5540(0x360))]()),I(this,_0x3d5540(0x61b),this[_0x3d5540(0x226)]['asObservable']()),I(this,_0x3d5540(0x273)),I(this,'_socketMessageSubscription'),I(this,_0x3d5540(0x2be)),I(this,'_shouldReportTelemetry',!0x1),I(this,'_telemetryInfo',null),(this[_0x3d5540(0x3a1)]=_0x4df244,this[_0x3d5540(0x692)]=_0x33ede5,this['_beforeCloseService']=_0x290d81,this['_messageService']=_0x2fe458,this[_0x3d5540(0x558)]=_0x50c81d,this[_0x3d5540(0x298)]=_0x336e86,this[_0x3d5540(0x2a0)]=_0x5b84ea,this[_0x3d5540(0x3d8)]=_0x310909,this[_0x3d5540(0x2c7)]=_0x5266da,this['_shouldReportTelemetry']=!!this[_0x3d5540(0x2c7)],_0x19cb51[_0x3d5540(0x213)](N[_0x3d5540(0x480)](this['dispose$']))[_0x3d5540(0x4e3)](_0x564025=>{const _0x5a8fc8=_0x3d5540;var _0xbfbfb9;typeof _0x564025>'u'||(this[_0x5a8fc8(0x273)]=_0x564025,_0x564025?(this[_0x5a8fc8(0x5c9)](_0x564025),this[_0x5a8fc8(0x59b)]=_0x564025['message$'][_0x5a8fc8(0x4e3)](_0x2a59cc=>{const _0x4578cf=_0x5a8fc8;_0x2a59cc[_0x4578cf(0x53a)]===this['_unitID']&&this['_onCombEvent'](_0x2a59cc);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5a8fc8(0x252)][_0x5a8fc8(0x215)](0x2),(_0xbfbfb9=this[_0x5a8fc8(0x59b)])==null||_0xbfbfb9[_0x5a8fc8(0x3fa)](),this[_0x5a8fc8(0x59b)]=null));}),this[_0x3d5540(0x5aa)](this[_0x3d5540(0x3b8)][_0x3d5540(0x361)](()=>{const _0x2e7c17=_0x3d5540;var _0x1996ba;(_0x1996ba=this['_socket'])==null||_0x1996ba[_0x2e7c17(0x21b)]({'cmd':G[_0x2e7c17(0x3d2)],'data':{'roomID':this['_unitID']}});})));}get[_0xe4d145(0x31d)](){const _0x17ab0a=_0xe4d145;return this[_0x17ab0a(0x252)][_0x17ab0a(0x523)]();}[_0xe4d145(0x2d8)](){const _0x150e9e=_0xe4d145;var _0xca62fa,_0x37f285;return(_0x37f285=(_0xca62fa=this[_0x150e9e(0x273)])==null?void 0x0:_0xca62fa['memberID'])!=null?_0x37f285:null;}[_0xe4d145(0x380)](){const _0x35c89b=_0xe4d145;super[_0x35c89b(0x380)](),this[_0x35c89b(0x56f)][_0x35c89b(0x215)](),this['dispose$'][_0x35c89b(0x5e9)]();}['close'](){const _0x50278a=_0xe4d145;var _0x2720e2,_0x4ee44c;this[_0x50278a(0x37f)](),(_0x2720e2=this['_socket'])==null||_0x2720e2[_0x50278a(0x21b)]({'cmd':G[_0x50278a(0x3d2)],'data':{'roomID':this['_unitID']}}),(_0x4ee44c=this[_0x50278a(0x273)])==null||_0x4ee44c[_0x50278a(0x3ca)](),this['_event$']['complete'](),this[_0x50278a(0x252)][_0x50278a(0x5e9)](),this[_0x50278a(0x380)]();}[_0xe4d145(0x6b8)](_0x5de0e4){const _0x45f4ca=_0xe4d145;_0x5de0e4['cmd']===G['JOIN']?this[_0x45f4ca(0x282)](_0x5de0e4):_0x5de0e4[_0x45f4ca(0x1fc)]===G[_0x45f4ca(0x4b1)]&&this['_onRecvEvent'](_0x5de0e4);}[_0xe4d145(0x5c9)](_0x31b9bb){const _0x1ca206=_0xe4d145;this['_sessionStatus$']['next'](0x1),_0x31b9bb[_0x1ca206(0x21b)]({'cmd':G[_0x1ca206(0x4ae)],'routeKey':this[_0x1ca206(0x3a1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1ca206(0x3a1)]}]}});}[_0xe4d145(0x282)](_0x2f8e49){const _0x51ec0b=_0xe4d145;var _0x2fa5de;if(_0x2f8e49['code']in Ht){this['_messageService']['show']({'type':Ce[_0x51ec0b(0x5b2)]['Warning'],'content':this[_0x51ec0b(0x298)]['t'](Ht[_0x2f8e49[_0x51ec0b(0x5b5)]])}),this[_0x51ec0b(0x252)]['next'](0x2);return;}this[_0x51ec0b(0x252)][_0x51ec0b(0x215)](0x3);const _0x5b2a99=(_0x2fa5de=_0x2f8e49[_0x51ec0b(0x32b)]['roomInfos'][this[_0x51ec0b(0x3a1)]])==null?void 0x0:_0x2fa5de['members'];_0x5b2a99&&_0x5b2a99[_0x51ec0b(0x1ef)](_0x3c52f4=>this['_memberService'][_0x51ec0b(0x2c8)](this[_0x51ec0b(0x3a1)],_0x3c52f4));}[_0xe4d145(0x6ab)](_0x4da817){const _0x6c4000=_0xe4d145;try{const _0x5919ad=_0x4da817[_0x6c4000(0x32b)];switch(_0x5919ad['eventID']){case m[_0x6c4000(0x563)][_0x6c4000(0x33e)]:this[_0x6c4000(0x3f1)](_0x5919ad),this[_0x6c4000(0x226)]['next'](_0x5919ad);break;case m['CollaborationEvent'][_0x6c4000(0x30d)]:this['_onUserLeave'](_0x5919ad),this[_0x6c4000(0x226)][_0x6c4000(0x215)](_0x5919ad);break;case m[_0x6c4000(0x563)]['CHANGESET_ACK']:case m[_0x6c4000(0x563)][_0x6c4000(0x5e1)]:this[_0x6c4000(0x372)](),this[_0x6c4000(0x26b)](),this[_0x6c4000(0x226)][_0x6c4000(0x215)](_0x5919ad);break;case m['CollaborationEvent'][_0x6c4000(0x651)]:this[_0x6c4000(0x692)][_0x6c4000(0x5b6)](_0x6c4000(0x369)+JSON[_0x6c4000(0x3f2)](_0x5919ad)),this[_0x6c4000(0x226)][_0x6c4000(0x215)](_0x5919ad);break;case m[_0x6c4000(0x563)][_0x6c4000(0x386)]:this['_commentService']['onCommentUpdate'](_0x5919ad[_0x6c4000(0x32b)]),this[_0x6c4000(0x226)][_0x6c4000(0x215)](_0x5919ad);break;default:this[_0x6c4000(0x226)][_0x6c4000(0x215)](_0x5919ad);}}catch(_0x37a043){this[_0x6c4000(0x692)]['error'](_0x37a043,_0x4da817);}}[_0xe4d145(0x3f1)](_0x399572){const _0xef80cf=_0xe4d145;this[_0xef80cf(0x2a0)][_0xef80cf(0x2c8)](this[_0xef80cf(0x3a1)],_0x399572[_0xef80cf(0x32b)]);}['_onUserLeave'](_0x10d964){const _0xb38b1d=_0xe4d145;this[_0xb38b1d(0x2a0)][_0xb38b1d(0x308)](this[_0xb38b1d(0x3a1)],_0x10d964[_0xb38b1d(0x32b)][_0xb38b1d(0x426)]);}async[_0xe4d145(0x21b)](_0x21fdc6,_0x22eefc){const _0x413bb6=_0xe4d145;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x413bb6(0x23a));try{_0x21fdc6[_0x413bb6(0x432)]===m['CollaborationEvent'][_0x413bb6(0x1f0)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x413bb6(0x600)](_0x21fdc6)),this['_socket'][_0x413bb6(0x21b)]({'cmd':G[_0x413bb6(0x3da)],'routeKey':_0x22eefc,'routeType':'','data':_0x21fdc6});}catch(_0x259b24){this[_0x413bb6(0x692)][_0x413bb6(0x5b6)](_0x259b24);}}[_0xe4d145(0x2dc)](){const _0x5a26ba=_0xe4d145;var _0x25b650;this[_0x5a26ba(0x2be)]=window['setTimeout'](()=>{const _0x6bfe2d=_0x5a26ba;this[_0x6bfe2d(0x2be)]=null,this[_0x6bfe2d(0x475)]['show']({'type':Ce['MessageType']['Error'],'content':this[_0x6bfe2d(0x298)]['t'](_0x6bfe2d(0x402))});},(_0x25b650=this[_0x5a26ba(0x558)]['getConfig'](Dt))!=null?_0x25b650:mi);}[_0xe4d145(0x26b)](){const _0x9a56f5=_0xe4d145;this[_0x9a56f5(0x2be)]&&(clearTimeout(this[_0x9a56f5(0x2be)]),this['_collaborationTimeoutTimer']=null);}[_0xe4d145(0x600)](_0x22c0ad){const _0x5e9ce2=_0xe4d145;if(!this[_0x5e9ce2(0x62a)])return;const {data:_0x1c00e3}=_0x22c0ad,{unitID:_0x3a0bfc,changeset:_0xeb1f00}=_0x1c00e3,{mutations:_0x47225c,type:_0x24b5c5}=_0xeb1f00;this[_0x5e9ce2(0x4c6)]={'unitId':_0x3a0bfc,'type':_0x24b5c5,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_n(_0x47225c)};}[_0xe4d145(0x372)](){const _0x11ee7b=_0xe4d145;if(this[_0x11ee7b(0x62a)]){if(!this['_telemetryInfo']){this[_0x11ee7b(0x692)]['error'](_0x11ee7b(0x2cc),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x11ee7b(0x211)]=performance[_0x11ee7b(0x6b9)](),this[_0x11ee7b(0x4c6)][_0x11ee7b(0x2d1)]=this[_0x11ee7b(0x4c6)][_0x11ee7b(0x211)]-this[_0x11ee7b(0x4c6)][_0x11ee7b(0x462)],this[_0x11ee7b(0x2c7)]['capture'](hn,this[_0x11ee7b(0x4c6)]),this[_0x11ee7b(0x4c6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0xe4d145(0x333)]=mn([ue(0x2,a[_0xe4d145(0x27a)]),ue(0x3,ee[_0xe4d145(0x239)]),ue(0x4,ee[_0xe4d145(0x40b)]),ue(0x5,a[_0xe4d145(0x60a)]),ue(0x6,a['Inject'](a['LocaleService'])),ue(0x7,a[_0xe4d145(0x378)](exports[_0xe4d145(0x597)])),ue(0x8,a[_0xe4d145(0x378)](wt)),ue(0x9,a['Optional'](Gi[_0xe4d145(0x650)]))],exports[_0xe4d145(0x333)]);var gn=Object[_0xe4d145(0x641)],In=Object['getOwnPropertyDescriptor'],Cn=(_0xc2b1cf,_0x270745,_0x178668,_0x4fa462)=>{const _0x317701=_0xe4d145;for(var _0x312621=_0x4fa462>0x1?void 0x0:_0x4fa462?In(_0x270745,_0x178668):_0x270745,_0x3b45dd=_0xc2b1cf[_0x317701(0x410)]-0x1,_0x427b42;_0x3b45dd>=0x0;_0x3b45dd--)(_0x427b42=_0xc2b1cf[_0x3b45dd])&&(_0x312621=(_0x4fa462?_0x427b42(_0x270745,_0x178668,_0x312621):_0x427b42(_0x312621))||_0x312621);return _0x4fa462&&_0x312621&&gn(_0x270745,_0x178668,_0x312621),_0x312621;},Se=(_0x93f401,_0xcc199f)=>(_0x5e9eff,_0x58466f)=>_0xcc199f(_0x5e9eff,_0x58466f,_0x93f401);exports[_0xe4d145(0x2e2)]=class extends a[_0xe4d145(0x59a)]{constructor(_0x1f5dd8,_0x10514e,_0x2d43c3,_0x119a80,_0x26f78e,_0x1947c5,_0x40f754){const _0x186d12=_0xe4d145;super(),I(this,_0x186d12(0x444),new N[(_0x186d12(0x67c))](void 0x0)),I(this,_0x186d12(0x5d9),this[_0x186d12(0x444)][_0x186d12(0x572)]()),I(this,'_candidateSocket',null),I(this,_0x186d12(0x36c),new Map()),I(this,_0x186d12(0x4ce),new N[(_0x186d12(0x67c))](ne[_0x186d12(0x2a5)])),I(this,_0x186d12(0x63e),this[_0x186d12(0x4ce)][_0x186d12(0x572)]()),I(this,_0x186d12(0x6a1),!0x1),I(this,_0x186d12(0x5e4)),I(this,_0x186d12(0x286),0x0),I(this,'_sendHeartbeatTimer'),I(this,_0x186d12(0x531)),(this['_injector']=_0x1f5dd8,this[_0x186d12(0x298)]=_0x10514e,this[_0x186d12(0x475)]=_0x2d43c3,this[_0x186d12(0x692)]=_0x119a80,this[_0x186d12(0x558)]=_0x26f78e,this[_0x186d12(0x412)]=_0x1947c5,this[_0x186d12(0x585)]=_0x40f754,this['_initEventListeners']());}get[_0xe4d145(0x273)](){const _0x1c46e5=_0xe4d145;return this[_0x1c46e5(0x444)][_0x1c46e5(0x523)]();}[_0xe4d145(0x345)](){const _0x5b3044=_0xe4d145;this[_0x5b3044(0x678)](),this[_0x5b3044(0x5bd)]();}[_0xe4d145(0x380)](){const _0x2e3e1a=_0xe4d145;super['dispose'](),this[_0x2e3e1a(0x36c)]['forEach'](_0x476972=>_0x476972[_0x2e3e1a(0x380)]()),this[_0x2e3e1a(0x36c)][_0x2e3e1a(0x24d)](),this['_status$'][_0x2e3e1a(0x5e9)]();}async['requireSession'](_0x47f5d7){const _0x2516fb=_0xe4d145;if(this[_0x2516fb(0x36c)][_0x2516fb(0x551)](_0x47f5d7))return this[_0x2516fb(0x36c)][_0x2516fb(0x415)](_0x47f5d7);this[_0x2516fb(0x5f5)]();const _0x26aaec=this[_0x2516fb(0x67b)][_0x2516fb(0x38c)](exports[_0x2516fb(0x333)],_0x47f5d7,this[_0x2516fb(0x444)][_0x2516fb(0x572)]());return this[_0x2516fb(0x36c)]['set'](_0x47f5d7,_0x26aaec),_0x26aaec;}['closeSession'](_0x2e0e35){const _0x38ac14=_0xe4d145;var _0x29f853;const _0x4359d0=this[_0x38ac14(0x36c)][_0x38ac14(0x415)](_0x2e0e35);_0x4359d0&&(this[_0x38ac14(0x36c)][_0x38ac14(0x3c2)](_0x2e0e35),_0x4359d0['close']()),this['_sessions'][_0x38ac14(0x52c)]||(_0x29f853=this[_0x38ac14(0x273)])==null||_0x29f853[_0x38ac14(0x3ca)]();}[_0xe4d145(0x61e)](){const _0x2bae44=_0xe4d145;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2bae44(0x5e4)]),this[_0x2bae44(0x5e4)]=null),this['_tryReconnect']();}async[_0xe4d145(0x4c0)](){const _0x23dc70=_0xe4d145;var _0x2b792a,_0x51046b,_0x3d4196;const _0xfcaf47=this['_configService'][_0x23dc70(0x44f)](Z),_0x1ac2f5=(_0x2b792a=_0xfcaf47==null?void 0x0:_0xfcaf47[_0x23dc70(0x6a7)])!=null?_0x2b792a:Ji;return(_0x3d4196=(_0x51046b=(await this['_httpService'][_0x23dc70(0x415)](_0x1ac2f5,{'headers':{'Content-Type':_0x23dc70(0x4c9)}}))[_0x23dc70(0x507)])==null?void 0x0:_0x51046b['ticket'])!=null?_0x3d4196:'';}['_createSocketURL'](_0x3aeb28){const _0x2c3e6f=_0xe4d145;var _0x3dae4c,_0x200dc8;const _0x4545d2=this['_configService'][_0x2c3e6f(0x44f)](Si),_0x459c19=this[_0x2c3e6f(0x558)][_0x2c3e6f(0x44f)](Z),_0x3ef224=(_0x200dc8=(_0x3dae4c=_0x459c19==null?void 0x0:_0x459c19[_0x2c3e6f(0x649)])!=null?_0x3dae4c:_0x4545d2)!=null?_0x200dc8:Xi,_0x2033fa=new URL(_0x3ef224,window[_0x2c3e6f(0x6b2)][_0x2c3e6f(0x3fc)]);return _0x2033fa[_0x2c3e6f(0x6ac)][_0x2c3e6f(0x5c4)](_0x2c3e6f(0x575),_0x3aeb28),_0x2033fa[_0x2c3e6f(0x49f)]();}async[_0xe4d145(0x44d)](){const _0x507a6d=_0xe4d145,_0xaeac12=await this[_0x507a6d(0x4c0)](),_0x228ba8=this[_0x507a6d(0x39b)](_0xaeac12),_0x5b71ee=this[_0x507a6d(0x412)][_0x507a6d(0x54a)](_0x228ba8);return this[_0x507a6d(0x36d)]=_0x5b71ee,_0x5b71ee;}async[_0xe4d145(0x5f5)](){const _0x569619=_0xe4d145;var _0x2f8189,_0x1c9996;try{const _0x1144bc=(_0x1c9996=(_0x2f8189=this[_0x569619(0x273)])!=null?_0x2f8189:this[_0x569619(0x36d)])!=null?_0x1c9996:await this[_0x569619(0x44d)]();if(_0x1144bc){const _0x19d4f0=_0x1144bc[_0x569619(0x21b)];_0x1144bc[_0x569619(0x21b)]=_0x51cc2a=>(this[_0x569619(0x592)](),_0x19d4f0['apply'](_0x1144bc,[_0x51cc2a])),_0x1144bc['message$'][_0x569619(0x4e3)](_0x3ca637=>this[_0x569619(0x69a)](_0x1144bc,_0x3ca637)),_0x1144bc[_0x569619(0x342)][_0x569619(0x213)](V['take'](0x1))['subscribe'](_0x4ec932=>this[_0x569619(0x692)][_0x569619(0x5b6)](_0x569619(0x4a7),_0x4ec932)),_0x1144bc['open$'][_0x569619(0x213)](V['take'](0x1))['subscribe'](()=>{const _0x31b6f3=_0x569619;this[_0x31b6f3(0x205)](_0x1144bc);}),_0x1144bc['close$'][_0x569619(0x213)](V[_0x569619(0x5ed)](0x1))['subscribe'](_0x53b993=>{const _0x3d7ee3=_0x569619;this[_0x3d7ee3(0x692)]['debug'](_0x3d7ee3(0x34d),_0x3d7ee3(0x25c),_0x53b993),this[_0x3d7ee3(0x595)]();});}}catch(_0x56d173){this[_0x569619(0x692)][_0x569619(0x5b6)](_0x56d173),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x4c2485){const _0x1a751b=_0xe4d145;this[_0x1a751b(0x692)][_0x1a751b(0x323)](_0x1a751b(0x34d),_0x1a751b(0x526)),_0x4c2485['send']({'cmd':G[_0x1a751b(0x5fc)]}),this[_0x1a751b(0x592)]();}[_0xe4d145(0x678)](){const _0x575464=_0xe4d145;window[_0x575464(0x3dc)](_0x575464(0x537),()=>this['_onOffline']());}['_onOffline'](){const _0x3cfd27=_0xe4d145;this[_0x3cfd27(0x6a1)]=!0x1,this['_candidateSocket']=null,this[_0x3cfd27(0x4ce)][_0x3cfd27(0x215)](ne[_0x3cfd27(0x5ce)]),this[_0x3cfd27(0x444)]['next'](null),this[_0x3cfd27(0x2fd)](),this[_0x3cfd27(0x2d5)]();}[_0xe4d145(0x595)](){const _0x3751a7=_0xe4d145;var _0x279aa2;this[_0x3751a7(0x35d)](),this[_0x3751a7(0x286)]<((_0x279aa2=this['_configService'][_0x3751a7(0x44f)](gi))!=null?_0x279aa2:en)?(this[_0x3751a7(0x475)][_0x3751a7(0x50e)]({'key':_0x3751a7(0x398),'type':Ce[_0x3751a7(0x5b2)][_0x3751a7(0x698)],'content':this[_0x3751a7(0x298)]['t']('session.will-retry')}),this[_0x3751a7(0x2db)]()):this['_messageService']['show']({'key':_0x3751a7(0x398),'type':Ce[_0x3751a7(0x5b2)][_0x3751a7(0x582)],'content':this['_localeService']['t']('session.connection-failed')});}[_0xe4d145(0x5bd)](){const _0x56f1a1=_0xe4d145,_0x4243af=()=>{const _0x218165=_0x4e21;this[_0x218165(0x273)]||this['reconnect']();},_0x457c18=()=>{const _0x5bd7cd=_0x4e21;this[_0x5bd7cd(0x273)]||document[_0x5bd7cd(0x6c4)]==='hidden'||this[_0x5bd7cd(0x61e)]();};window[_0x56f1a1(0x3dc)](_0x56f1a1(0x24c),_0x4243af),document[_0x56f1a1(0x3dc)]('visibilitychange',_0x457c18);}[_0xe4d145(0x2db)](){const _0x2af82f=_0xe4d145;var _0x5378d9;const _0xd989d=this[_0x2af82f(0x286)],_0x160109=this[_0x2af82f(0x558)][_0x2af82f(0x44f)](Z),_0x4a9439=_0xd989d===0x0?0x0:((_0x5378d9=_0x160109==null?void 0x0:_0x160109[_0x2af82f(0x227)])!=null?_0x5378d9:Qi)*0x2**_0xd989d;this[_0x2af82f(0x5e4)]=window[_0x2af82f(0x3ab)](()=>{const _0x5d4ef1=_0x2af82f;clearTimeout(this[_0x5d4ef1(0x5e4)]),this[_0x5d4ef1(0x5e4)]=null,this[_0x5d4ef1(0x5f5)]();},_0x4a9439),this['_retryCount']+=0x1;}[_0xe4d145(0x69a)](_0x329266,_0x513cd6){const _0x32b649=_0xe4d145,{cmd:_0x4cde53}=_0x513cd6;_0x4cde53===G[_0x32b649(0x5fc)]&&!this['_socketReady']&&(_0x329266['memberID']=_0x513cd6[_0x32b649(0x32b)]['memberID'],this[_0x32b649(0x444)][_0x32b649(0x215)](_0x329266),this[_0x32b649(0x4ce)][_0x32b649(0x215)](ne[_0x32b649(0x665)]),this[_0x32b649(0x6a1)]=!0x0,this[_0x32b649(0x36d)]=null),_0x4cde53===G[_0x32b649(0x29d)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x3590ea=_0xe4d145;var _0x9944d4;this[_0x3590ea(0x2d5)](),this[_0x3590ea(0x5bc)]=window[_0x3590ea(0x3ab)](()=>this['_sendHeartbeat'](),(_0x9944d4=this['_configService'][_0x3590ea(0x44f)](pi))!=null?_0x9944d4:Zi);}['_sendHeartbeat'](){const _0x756d7f=_0xe4d145;this[_0x756d7f(0x273)][_0x756d7f(0x21b)]({'cmd':G[_0x756d7f(0x29d)]}),this[_0x756d7f(0x618)]();}[_0xe4d145(0x618)](){const _0x425b2a=_0xe4d145;var _0x29642d;this[_0x425b2a(0x531)]=window[_0x425b2a(0x3ab)](()=>this['_onConnectionFailed'](),(_0x29642d=this[_0x425b2a(0x558)][_0x425b2a(0x44f)](Dt))!=null?_0x29642d:mi);}[_0xe4d145(0x2d5)](){const _0x5d3bea=_0xe4d145;this[_0x5d3bea(0x5bc)]!=null&&(clearTimeout(this[_0x5d3bea(0x5bc)]),this[_0x5d3bea(0x5bc)]=null);}[_0xe4d145(0x2fd)](){const _0xea9483=_0xe4d145;this[_0xea9483(0x531)]!=null&&(clearTimeout(this[_0xea9483(0x531)]),this[_0xea9483(0x531)]=null);}},exports[_0xe4d145(0x2e2)]=Cn([Se(0x0,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),Se(0x1,a['Inject'](a[_0xe4d145(0x46e)])),Se(0x2,ee[_0xe4d145(0x40b)]),Se(0x3,a['ILogService']),Se(0x4,a[_0xe4d145(0x60a)]),Se(0x5,Pt),Se(0x6,a[_0xe4d145(0x378)](z[_0xe4d145(0x370)]))],exports[_0xe4d145(0x2e2)]);const q=[];for(let r=0x0;r<0x100;++r)q[_0xe4d145(0x46d)]((r+0x100)[_0xe4d145(0x49f)](0x10)[_0xe4d145(0x48f)](0x1));function En(_0x2fc910,_0xee507a=0x0){return(q[_0x2fc910[_0xee507a+0x0]]+q[_0x2fc910[_0xee507a+0x1]]+q[_0x2fc910[_0xee507a+0x2]]+q[_0x2fc910[_0xee507a+0x3]]+'-'+q[_0x2fc910[_0xee507a+0x4]]+q[_0x2fc910[_0xee507a+0x5]]+'-'+q[_0x2fc910[_0xee507a+0x6]]+q[_0x2fc910[_0xee507a+0x7]]+'-'+q[_0x2fc910[_0xee507a+0x8]]+q[_0x2fc910[_0xee507a+0x9]]+'-'+q[_0x2fc910[_0xee507a+0xa]]+q[_0x2fc910[_0xee507a+0xb]]+q[_0x2fc910[_0xee507a+0xc]]+q[_0x2fc910[_0xee507a+0xd]]+q[_0x2fc910[_0xee507a+0xe]]+q[_0x2fc910[_0xee507a+0xf]])['toLowerCase']();}let lt;const bn=new Uint8Array(0x10);function Tn(){const _0x35d6f6=_0xe4d145;if(!lt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x35d6f6(0x4a0));lt=crypto[_0x35d6f6(0x33f)][_0x35d6f6(0x295)](crypto);}return lt(bn);}const Rn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xe4d145(0x511)][_0xe4d145(0x295)](crypto),Bt={'randomUUID':Rn};function On(_0x58bcc6,_0x1947a1,_0x2b1bf3){const _0x4450da=_0xe4d145;if(Bt[_0x4450da(0x511)]&&!_0x1947a1&&!_0x58bcc6)return Bt[_0x4450da(0x511)]();_0x58bcc6=_0x58bcc6||{};const _0x539d67=_0x58bcc6[_0x4450da(0x4f3)]||(_0x58bcc6[_0x4450da(0x4a1)]||Tn)();return _0x539d67[0x6]=_0x539d67[0x6]&0xf|0x40,_0x539d67[0x8]=_0x539d67[0x8]&0x3f|0x80,En(_0x539d67);}var yn=Object['defineProperty'],Dn=Object[_0xe4d145(0x31a)],Pn=(_0xe6b86,_0x2570fd,_0x2d6ad8,_0x21b318)=>{const _0x213ce3=_0xe4d145;for(var _0x4aa65c=_0x21b318>0x1?void 0x0:_0x21b318?Dn(_0x2570fd,_0x2d6ad8):_0x2570fd,_0xbf0d62=_0xe6b86[_0x213ce3(0x410)]-0x1,_0x4bccb6;_0xbf0d62>=0x0;_0xbf0d62--)(_0x4bccb6=_0xe6b86[_0xbf0d62])&&(_0x4aa65c=(_0x21b318?_0x4bccb6(_0x2570fd,_0x2d6ad8,_0x4aa65c):_0x4bccb6(_0x4aa65c))||_0x4aa65c);return _0x21b318&&_0x4aa65c&&yn(_0x2570fd,_0x2d6ad8,_0x4aa65c),_0x4aa65c;},ht=(_0x8c87f7,_0x380125)=>(_0x339579,_0x51a4da)=>_0x380125(_0x339579,_0x51a4da,_0x8c87f7);let Ze=class{constructor(_0x125917,_0x2b28f6,_0xbe80d1){const _0x23d5d2=_0xe4d145;this[_0x23d5d2(0x67b)]=_0x125917,this[_0x23d5d2(0x34a)]=_0x2b28f6,this[_0x23d5d2(0x556)]=_0xbe80d1;}[_0xe4d145(0x608)](_0xd8d407){const _0x547a7c=_0xe4d145;this[_0x547a7c(0x331)](_0xd8d407),this[_0x547a7c(0x4bb)](_0xd8d407);}[_0xe4d145(0x293)](_0xc2c463){const _0x48be5b=_0xe4d145,{unitID:_0x46e587}=_0xc2c463,_0x24454a=this[_0x48be5b(0x556)][_0x48be5b(0x45a)](_0x46e587)[_0x48be5b(0x48a)](J[_0x48be5b(0x238)]),{redoCache:_0x5a55a1}=_0x24454a['getUndoRedoMutationParamsCache']();if(_0x5a55a1[_0x48be5b(0x410)]===0x0)return _0xc2c463;let _0x25344c=a[_0x48be5b(0x6bb)][_0x48be5b(0x36a)](_0xc2c463[_0x48be5b(0x59c)][0x0]);for(let _0x1d0a3b=0x0;_0x1d0a3b<_0x5a55a1['length'];_0x1d0a3b++){const _0x3a0d81={'id':'doc.mutation.rich-text-editing','params':{..._0x5a55a1[_0x1d0a3b]}},_0x216827=this[_0x48be5b(0x34a)][_0x48be5b(0x6a2)](_0x25344c,_0x3a0d81,!0x1);if(m[_0x48be5b(0x478)](_0x216827))throw _0x216827[_0x48be5b(0x5b6)];_0x25344c=_0x216827[_0x48be5b(0x6c5)];}return{...a[_0x48be5b(0x6bb)]['deepClone'](_0xc2c463),'mutations':[_0x25344c]};}[_0xe4d145(0x331)](_0x28139d){const _0x4601c5=_0xe4d145,{unitID:_0xd1fb7e}=_0x28139d,_0x2fd474=this[_0x4601c5(0x556)][_0x4601c5(0x45a)](_0xd1fb7e)[_0x4601c5(0x48a)](J[_0x4601c5(0x238)]),{undoCache:_0x227b93,redoCache:_0x4d8ee3}=_0x2fd474[_0x4601c5(0x646)]();if(_0x227b93[_0x4601c5(0x410)]===0x0||_0x4d8ee3['length']===0x0)return;const _0x1d2763=[],_0x54d9b2=[];let _0x51dcd6=a[_0x4601c5(0x6bb)][_0x4601c5(0x36a)](_0x28139d['mutations'][0x0]),_0x6c29bb=a[_0x4601c5(0x6bb)]['deepClone'](_0x28139d[_0x4601c5(0x59c)][0x0]);for(let _0x2778bb=_0x227b93[_0x4601c5(0x410)]-0x1;_0x2778bb>=0x0;_0x2778bb--){const _0x1e4661={'id':'doc.mutation.rich-text-editing','params':{..._0x227b93[_0x2778bb]}},_0x358062={'id':_0x4601c5(0x383),'params':{..._0x4d8ee3[_0x2778bb]}},_0x3cdd3a=this[_0x4601c5(0x34a)][_0x4601c5(0x6a2)](_0x51dcd6,_0x1e4661,!0x1),_0x344232=this['_transformService'][_0x4601c5(0x6a2)](_0x6c29bb,_0x358062,!0x1);if(m[_0x4601c5(0x478)](_0x3cdd3a))throw _0x3cdd3a[_0x4601c5(0x5b6)];if(m['isTransformMutationFailure'](_0x344232))throw _0x344232[_0x4601c5(0x5b6)];_0x1d2763[_0x4601c5(0x21f)](_0x3cdd3a[_0x4601c5(0x68f)][_0x4601c5(0x3bf)]),_0x54d9b2[_0x4601c5(0x21f)](_0x344232['m2Prime'][_0x4601c5(0x3bf)]),_0x51dcd6=_0x3cdd3a['m1Prime'],_0x6c29bb=_0x344232[_0x4601c5(0x6c5)];}_0x2fd474[_0x4601c5(0x5ac)]({'undoCache':_0x1d2763,'redoCache':_0x54d9b2});}[_0xe4d145(0x4bb)](_0x4a3166){const _0x51b3ca=_0xe4d145,{unitID:_0x1e4559}=_0x4a3166,_0x290b3e=this[_0x51b3ca(0x556)][_0x51b3ca(0x45a)](_0x1e4559)['with'](J['DocIMEInputManagerService']),_0x59c3ff=_0x290b3e[_0x51b3ca(0x4d3)]();if(_0x59c3ff==null)return;const _0x1b3398=[{'id':_0x51b3ca(0x383),'params':{'unitId':_0x4a3166[_0x51b3ca(0x573)],'actions':null,'textRanges':[_0x59c3ff]}}],_0x165dff=this[_0x51b3ca(0x34a)][_0x51b3ca(0x40e)](_0x4a3166,_0x1b3398);if(!m[_0x51b3ca(0x613)](_0x165dff))throw _0x165dff[_0x51b3ca(0x5b6)];const _0x13f224=_0x165dff[_0x51b3ca(0x68f)][0x0]['params'][_0x51b3ca(0x47b)];Array['isArray'](_0x13f224)&&_0x13f224[_0x51b3ca(0x410)]&&_0x290b3e[_0x51b3ca(0x683)](_0x13f224[0x0]);}};Ze=Pn([ht(0x0,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),ht(0x1,m[_0xe4d145(0x30c)]),ht(0x2,Y[_0xe4d145(0x2a3)])],Ze);var wn=Object['defineProperty'],Un=Object[_0xe4d145(0x31a)],Mn=(_0x5989b3,_0x5eae68,_0x55db39,_0x1cee83)=>{const _0x3768fc=_0xe4d145;for(var _0x43ac29=_0x1cee83>0x1?void 0x0:_0x1cee83?Un(_0x5eae68,_0x55db39):_0x5eae68,_0x2bf47f=_0x5989b3[_0x3768fc(0x410)]-0x1,_0x2345e9;_0x2bf47f>=0x0;_0x2bf47f--)(_0x2345e9=_0x5989b3[_0x2bf47f])&&(_0x43ac29=(_0x1cee83?_0x2345e9(_0x5eae68,_0x55db39,_0x43ac29):_0x2345e9(_0x43ac29))||_0x43ac29);return _0x1cee83&&_0x43ac29&&wn(_0x5eae68,_0x55db39,_0x43ac29),_0x43ac29;},Pe=(_0x19e51d,_0x273bf9)=>(_0xa84494,_0x39c8de)=>_0x273bf9(_0xa84494,_0x39c8de,_0x19e51d);exports[_0xe4d145(0x36e)]=class extends a['Disposable']{constructor(_0x4115f9,_0x448662,_0x418154,_0x11032e,_0x250a9e){const _0x10d483=_0xe4d145;super(),I(this,_0x10d483(0x3b9),new Map()),I(this,'_saveTaskMap',new Map()),I(this,_0x10d483(0x31e),!0x1),(this[_0x10d483(0x558)]=_0x4115f9,this[_0x10d483(0x243)]=_0x448662,this[_0x10d483(0x3b8)]=_0x418154,this[_0x10d483(0x298)]=_0x11032e,this[_0x10d483(0x542)]=_0x250a9e,this[_0x10d483(0x23d)]());}[_0xe4d145(0x3eb)](){const _0x43f4f4=_0xe4d145;this[_0x43f4f4(0x31e)]=!0x0;}[_0xe4d145(0x4e4)](){const _0x40d331=_0xe4d145;this[_0x40d331(0x31e)]=!0x1;}['dispose'](){const _0x58630f=_0xe4d145;this['exhaustSavingTask']()[_0x58630f(0x638)](()=>super[_0x58630f(0x380)]());}async[_0xe4d145(0x3a6)](_0x5d407b){const _0x88e3b9=_0xe4d145;return this[_0x88e3b9(0x31e)]?null:this[_0x88e3b9(0x243)][_0x88e3b9(0x619)](kt(_0x5d407b));}async[_0xe4d145(0x4a5)](_0x1416fd,_0x175121){return!!this['_localStorageService']['setItem'](_0x1416fd,_0x175121);}['updateOfflineData'](_0x5c1e2,_0x2b8a0a,_0x1cdf75,_0xeed6a3){const _0x487a51=_0xe4d145,_0x3b205e=this['_revisionService'][_0x487a51(0x562)](_0x5c1e2);this[_0x487a51(0x3b9)]['set'](_0x5c1e2,{'unitID':_0x5c1e2,'type':_0x2b8a0a,'awaitingChangeset':_0x1cdf75,'mutations':_0xeed6a3,'rev':_0x3b205e}),this[_0x487a51(0x29f)][_0x487a51(0x551)](_0x5c1e2)||this[_0x487a51(0x6b7)](_0x5c1e2);}[_0xe4d145(0x6b7)](_0x5eefc4){const _0xebdeed=_0xe4d145,_0x95292e=this[_0xebdeed(0x52a)]();_0x95292e===0x0?this['_saveCache'](_0x5eefc4):this['_saveTaskMap']['set'](_0x5eefc4,setTimeout(()=>this['_saveCache'](_0x5eefc4),_0x95292e));}['_getSaveTimeout'](){const _0x5e8d09=_0xe4d145;var _0x153e2c;return(_0x153e2c=this[_0x5e8d09(0x558)][_0x5e8d09(0x44f)](Ii))!=null?_0x153e2c:tn;}[_0xe4d145(0x5d2)](_0x397ff3){const _0x33ebe4=_0xe4d145,_0x477ac0=this[_0x33ebe4(0x29f)][_0x33ebe4(0x415)](_0x397ff3);return _0x477ac0!==void 0x0&&window[_0x33ebe4(0x31f)](_0x477ac0),this['_localStorageService']['setItem'](kt(_0x397ff3),this['_cachedData'][_0x33ebe4(0x415)](_0x397ff3))[_0x33ebe4(0x638)](()=>this[_0x33ebe4(0x29f)]['delete'](_0x397ff3));}async[_0xe4d145(0x3a5)](){const _0x373bff=_0xe4d145,_0x245b4b=[];this[_0x373bff(0x29f)][_0x373bff(0x1ef)]((_0x485a0e,_0xfc76e7)=>{const _0x404fa0=_0x373bff;window[_0x404fa0(0x31f)](_0x485a0e),_0x245b4b[_0x404fa0(0x46d)](this[_0x404fa0(0x5d2)](_0xfc76e7)[_0x404fa0(0x638)](()=>{const _0x27e249=_0x404fa0;this[_0x27e249(0x29f)]['delete'](_0xfc76e7);}));}),await Promise['all'](_0x245b4b);}[_0xe4d145(0x23d)](){const _0x57666b=_0xe4d145;this['disposeWithMe'](this[_0x57666b(0x3b8)][_0x57666b(0x68c)](()=>{const _0x4818fe=_0x57666b;if(this[_0x4818fe(0x29f)][_0x4818fe(0x52c)])return this[_0x4818fe(0x298)]['t']('collaboration-client.offline-data-not-saved');}));}},exports['LocalCacheService']=Mn([Pe(0x0,a['IConfigService']),Pe(0x1,a[_0xe4d145(0x3e8)]),Pe(0x2,ee[_0xe4d145(0x239)]),Pe(0x3,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)])),Pe(0x4,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)]))],exports['LocalCacheService']);function kt(_0x104952){const _0x29586e=_0xe4d145;return _0x29586e(0x287)+_0x104952;}var Nn=Object['defineProperty'],An=Object[_0xe4d145(0x31a)],Ln=(_0x4ffee3,_0x3365dd,_0x58b411,_0x263aab)=>{const _0x2f57ab=_0xe4d145;for(var _0x110111=_0x263aab>0x1?void 0x0:_0x263aab?An(_0x3365dd,_0x58b411):_0x3365dd,_0x34fb3b=_0x4ffee3[_0x2f57ab(0x410)]-0x1,_0x50154c;_0x34fb3b>=0x0;_0x34fb3b--)(_0x50154c=_0x4ffee3[_0x34fb3b])&&(_0x110111=(_0x263aab?_0x50154c(_0x3365dd,_0x58b411,_0x110111):_0x50154c(_0x110111))||_0x110111);return _0x263aab&&_0x110111&&Nn(_0x3365dd,_0x58b411,_0x110111),_0x110111;},_t=(_0x2bb816,_0x4ad509)=>(_0x60e4be,_0x52c7ec)=>_0x4ad509(_0x60e4be,_0x52c7ec,_0x2bb816);function xn(_0x2fdbd1){const _0x11db95=_0xe4d145,{unitID:_0x9dab26,mutations:_0x5b6ffe}=_0x2fdbd1;return{'unitId':_0x9dab26,'subUnitId':_0x5b6ffe[0x0]['params'][_0x11db95(0x357)]};}let Qe=class{constructor(_0x497b17,_0x34bd8b,_0x4f3987){const _0x231f76=_0xe4d145;this[_0x231f76(0x67b)]=_0x497b17,this[_0x231f76(0x34a)]=_0x34bd8b,this[_0x231f76(0x2b6)]=_0x4f3987;}[_0xe4d145(0x34e)](_0x189938){const _0x269bd6=_0xe4d145;var _0x322a6a,_0x4f00f5,_0x2d51bd,_0x1a7bc9;const _0x2f1ee7=this[_0x269bd6(0x67b)][_0x269bd6(0x415)](k['SheetsSelectionsService']),{unitId:_0xe8550b,subUnitId:_0x4b5bc9}=xn(_0x189938),_0xfdc546=_0x2f1ee7[_0x269bd6(0x58b)](_0xe8550b)[_0x269bd6(0x37d)](),_0x3b4078=(_0x4f00f5=(_0x322a6a=this[_0x269bd6(0x2b6)]['getUnit'](_0xe8550b))==null?void 0x0:_0x322a6a[_0x269bd6(0x57b)]())==null?void 0x0:_0x4f00f5[_0x269bd6(0x3a7)]();if(_0xfdc546[_0x269bd6(0x410)]===0x0||!_0xe8550b||!_0x4b5bc9)return;const _0xb2151a=[{'id':k[_0x269bd6(0x2de)]['id'],'params':{'unitId':_0xe8550b,'subUnitId':_0x3b4078,'selections':a[_0x269bd6(0x6bb)][_0x269bd6(0x36a)](_0xfdc546)}}],_0x27b863=this[_0x269bd6(0x34a)][_0x269bd6(0x40e)](_0x189938,_0xb2151a);if(!m[_0x269bd6(0x613)](_0x27b863))throw _0x27b863[_0x269bd6(0x5b6)];const _0x2b0690=(_0x1a7bc9=(_0x2d51bd=_0x27b863[_0x269bd6(0x68f)][0x0])==null?void 0x0:_0x2d51bd[_0x269bd6(0x3bf)])==null?void 0x0:_0x1a7bc9['selections'];if(Array[_0x269bd6(0x5be)](_0x2b0690)&&_0x2b0690[_0x269bd6(0x410)]){if(_0x2b0690[_0x269bd6(0x410)]===_0xb2151a[0x0]['params'][_0x269bd6(0x503)][_0x269bd6(0x410)]&&_0x2b0690['every']((_0xdc56df,_0x19df04)=>a[_0x269bd6(0x218)]['equals'](_0xdc56df[_0x269bd6(0x54d)],_0xb2151a[0x0]['params'][_0x269bd6(0x503)][_0x19df04][_0x269bd6(0x54d)])))return;this[_0x269bd6(0x67b)][_0x269bd6(0x415)](a['ICommandService'])[_0x269bd6(0x51a)](k[_0x269bd6(0x2de)]['id'],{'unitId':_0xe8550b,'subUnitId':_0x3b4078,'selections':_0x2b0690});}}};Qe=Ln([_t(0x0,a[_0xe4d145(0x378)](a['Injector'])),_t(0x1,m[_0xe4d145(0x30c)]),_t(0x2,a[_0xe4d145(0x61a)])],Qe);const at=a[_0xe4d145(0x3d1)]('univer-pro.collaboration-client.single-active-unit-service');var yi=(_0x1cb8ad=>(_0x1cb8ad[_0x1cb8ad[_0xe4d145(0x6af)]=0x0]=_0xe4d145(0x6af),_0x1cb8ad[_0x1cb8ad[_0xe4d145(0x254)]=0x1]=_0xe4d145(0x254),_0x1cb8ad))(yi||{});const Wt=0x7530,Ft=_0xe4d145(0x234);class $n extends a[_0xe4d145(0x59a)]{constructor(){const _0x1cc188=_0xe4d145;super(),I(this,_0x1cc188(0x549),a[_0x1cc188(0x6bb)][_0x1cc188(0x3ae)]()),I(this,_0x1cc188(0x4fa),new Set()),I(this,_0x1cc188(0x637),new Map()),I(this,_0x1cc188(0x350),null),I(this,_0x1cc188(0x62f),new Map()),I(this,'_unitStatus',new Map()),this['_init']();}[_0xe4d145(0x380)](){const _0x1efaa4=_0xe4d145;super[_0x1efaa4(0x380)](),this[_0x1efaa4(0x62f)][_0x1efaa4(0x1ef)]((_0x47db27,_0x2e9b55)=>this['_removeClearOtherTimer'](_0x2e9b55)),this[_0x1efaa4(0x350)]&&window[_0x1efaa4(0x2c9)](this['_heartbeatTimer']);}[_0xe4d145(0x487)](_0x56175e){const _0xaf8be8=_0xe4d145;return this[_0xaf8be8(0x535)](_0x56175e)[_0xaf8be8(0x213)](N[_0xaf8be8(0x68e)]());}['editingUnit'](_0xc42d99){const _0x2f2615=_0xe4d145;this[_0x2f2615(0x4fa)][_0x2f2615(0x52c)]===0x0&&this[_0x2f2615(0x3a9)](),this[_0x2f2615(0x4fa)][_0x2f2615(0x583)](_0xc42d99),this[_0x2f2615(0x5b0)]({'type':0x0,'memberID':this[_0x2f2615(0x549)],'unitIDs':[_0xc42d99],'isForwarded':!0x1});}['disposeUnit'](_0xaf52cc){const _0x88767e=_0xe4d145;this['_selfUnitIDs'][_0x88767e(0x3c2)](_0xaf52cc),this[_0x88767e(0x4fa)][_0x88767e(0x52c)]===0x0&&this['_heartbeatTimer']&&window[_0x88767e(0x2c9)](this[_0x88767e(0x350)]);}[_0xe4d145(0x59f)](){const _0x112242=_0xe4d145;this['disposeWithMe'](a[_0x112242(0x456)](N[_0x112242(0x677)](window,_0x112242(0x67d))[_0x112242(0x4e3)](_0x1610e6=>{const _0x3fee92=_0x112242;if(_0x1610e6[_0x3fee92(0x5fe)]!==Ft||!_0x1610e6[_0x3fee92(0x2d4)])return;const _0x3aa8b8=JSON[_0x3fee92(0x46f)](_0x1610e6[_0x3fee92(0x2d4)]);this[_0x3fee92(0x51d)](_0x3aa8b8);}))),window[_0x112242(0x3dc)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x112242(0x549)],'unitIDs':Array[_0x112242(0x4fc)](this[_0x112242(0x4fa)])}));}[_0xe4d145(0x51d)](_0x371fa4){const _0x507c6a=_0xe4d145;switch(_0x371fa4[_0x507c6a(0x5ba)]){case 0x0:this['_handleJoinEvent'](_0x371fa4);break;case 0x1:this[_0x507c6a(0x442)](_0x371fa4);break;case 0x2:this[_0x507c6a(0x506)](_0x371fa4);break;}}[_0xe4d145(0x32d)](_0x4e3da1){const _0x151506=_0xe4d145,{unitIDs:_0x492120,memberID:_0x465810,isForwarded:_0x534fdc}=_0x4e3da1;_0x492120[_0x151506(0x1ef)](_0x485149=>{const _0x186863=_0x151506;if(!_0x534fdc&&this[_0x186863(0x637)][_0x186863(0x551)](_0x485149)&&this[_0x186863(0x535)](_0x485149)[_0x186863(0x215)](0x1),!this[_0x186863(0x637)][_0x186863(0x551)](_0x485149)||!this[_0x186863(0x637)][_0x186863(0x415)](_0x485149)[_0x186863(0x551)](_0x465810)){const _0x28f0a4=this[_0x186863(0x637)][_0x186863(0x415)](_0x485149)||new Set();_0x28f0a4[_0x186863(0x583)](_0x465810),this[_0x186863(0x637)][_0x186863(0x5c4)](_0x485149,_0x28f0a4),this[_0x186863(0x394)](_0x465810);}}),_0x534fdc||this['_send']({'type':0x0,'memberID':this[_0x151506(0x549)],'unitIDs':[...this[_0x151506(0x4fa)]],'isForwarded':!0x0});}[_0xe4d145(0x394)](_0x4f6a89){const _0x24aba0=_0xe4d145;this[_0x24aba0(0x588)](_0x4f6a89);const _0x132f6f=window[_0x24aba0(0x3ab)](()=>{const _0x578b4b=_0x24aba0;this[_0x578b4b(0x637)][_0x578b4b(0x1ef)](_0x496c8a=>{const _0x36b867=_0x578b4b;_0x496c8a[_0x36b867(0x3c2)](_0x4f6a89);});},Wt*0x2);this[_0x24aba0(0x62f)][_0x24aba0(0x5c4)](_0x4f6a89,_0x132f6f);}['_removeClearOtherTimer'](_0x2ab25f){const _0x14c15d=_0xe4d145;if(this[_0x14c15d(0x62f)]['has'](_0x2ab25f)){const _0x23685a=this[_0x14c15d(0x62f)][_0x14c15d(0x415)](_0x2ab25f);_0x23685a&&window['clearTimeout'](_0x23685a),this[_0x14c15d(0x62f)][_0x14c15d(0x5c4)](_0x2ab25f,null);}}[_0xe4d145(0x442)](_0x37e1dd){const _0x120aa9=_0xe4d145,{memberID:_0x88903f,unitIDs:_0x2f1dc7}=_0x37e1dd;_0x2f1dc7[_0x120aa9(0x1ef)](_0x27c47b=>{const _0x4d07fc=_0x120aa9;var _0x271fa5;const _0x12676d=this[_0x4d07fc(0x637)]['get'](_0x27c47b);_0x12676d&&(_0x12676d['delete'](_0x88903f),(_0x271fa5=this[_0x4d07fc(0x535)](_0x27c47b))==null||_0x271fa5[_0x4d07fc(0x215)](_0x12676d[_0x4d07fc(0x52c)]===0x0?0x0:0x1));}),this[_0x120aa9(0x588)](_0x88903f);}[_0xe4d145(0x506)](_0x573f89){const _0x123ac3=_0xe4d145;this[_0x123ac3(0x394)](_0x573f89[_0x123ac3(0x426)]);}[_0xe4d145(0x5b0)](_0x46c2bc){const _0x34a9cd=_0xe4d145;localStorage[_0x34a9cd(0x4ed)](Ft,JSON[_0x34a9cd(0x3f2)](_0x46c2bc));}['_scheduleHeartbeat'](){const _0x4fc279=_0xe4d145;this[_0x4fc279(0x350)]=window[_0x4fc279(0x29e)](()=>{const _0x292a76=_0x4fc279;this[_0x292a76(0x5b0)]({'type':0x2,'memberID':this['_id']});},Wt);}[_0xe4d145(0x535)](_0x134d2e){const _0x3c7f8e=_0xe4d145;return this[_0x3c7f8e(0x2e1)]['has'](_0x134d2e)||this[_0x3c7f8e(0x2e1)][_0x3c7f8e(0x5c4)](_0x134d2e,new N[(_0x3c7f8e(0x67c))](0x0)),this[_0x3c7f8e(0x2e1)][_0x3c7f8e(0x415)](_0x134d2e);}}var jn=Object[_0xe4d145(0x641)],Hn=Object[_0xe4d145(0x31a)],Bn=(_0x3224ed,_0x212ee3,_0x4ff247,_0x22caa1)=>{const _0x1e9e78=_0xe4d145;for(var _0x1a8758=_0x22caa1>0x1?void 0x0:_0x22caa1?Hn(_0x212ee3,_0x4ff247):_0x212ee3,_0x45a851=_0x3224ed[_0x1e9e78(0x410)]-0x1,_0x43b8cb;_0x45a851>=0x0;_0x45a851--)(_0x43b8cb=_0x3224ed[_0x45a851])&&(_0x1a8758=(_0x22caa1?_0x43b8cb(_0x212ee3,_0x4ff247,_0x1a8758):_0x43b8cb(_0x1a8758))||_0x1a8758);return _0x22caa1&&_0x1a8758&&jn(_0x212ee3,_0x4ff247,_0x1a8758),_0x1a8758;},ut=(_0x3030ea,_0x5ba71b)=>(_0x5cfd5e,_0x2c9188)=>_0x5ba71b(_0x5cfd5e,_0x2c9188,_0x3030ea);let et=class{constructor(_0x28c45c,_0x541b66,_0x4135c5){const _0xd3802d=_0xe4d145;this['_injector']=_0x28c45c,this[_0xd3802d(0x34a)]=_0x541b66,this[_0xd3802d(0x508)]=_0x4135c5;}['transformStateCache'](_0x481a08){const _0x5b0880=_0xe4d145;this[_0x5b0880(0x233)](_0x481a08);}[_0xe4d145(0x293)](_0x3a4eb4){const _0x5a6396=_0xe4d145,{unitID:_0x2294ce}=_0x3a4eb4,{collaboration:_0x498d75}=this[_0x5a6396(0x508)]['getStateCache'](_0x2294ce);if(_0x498d75[_0x5a6396(0x410)]===0x0)return _0x3a4eb4;let _0x73e3b1=a['Tools'][_0x5a6396(0x36a)](_0x3a4eb4[_0x5a6396(0x59c)][0x0]);for(let _0x1ab6be=0x0;_0x1ab6be<_0x498d75[_0x5a6396(0x410)];_0x1ab6be++){const _0x514314={'id':_0x5a6396(0x383),'params':{'unitId':_0x498d75[_0x1ab6be][_0x5a6396(0x4bc)],..._0x498d75[_0x1ab6be][_0x5a6396(0x32e)]}},_0x1cc52b=this[_0x5a6396(0x34a)]['transformMutation'](_0x73e3b1,_0x514314,!0x1);if(m[_0x5a6396(0x478)](_0x1cc52b))throw _0x1cc52b['error'];_0x73e3b1=_0x1cc52b['m1Prime'];}return{...a[_0x5a6396(0x6bb)][_0x5a6396(0x36a)](_0x3a4eb4),'mutations':[_0x73e3b1]};}[_0xe4d145(0x233)](_0x2698c7){const _0x2f6fa5=_0xe4d145,{unitID:_0x5f101b}=_0x2698c7,{history:_0x210b92,collaboration:_0x448427}=this[_0x2f6fa5(0x508)][_0x2f6fa5(0x3b4)](_0x5f101b);if(_0x210b92[_0x2f6fa5(0x410)]===0x0&&_0x448427['length']===0x0)return;const _0xdc1ca0=[],_0x5ea45a=[];let _0x109e04=a[_0x2f6fa5(0x6bb)][_0x2f6fa5(0x36a)](_0x2698c7[_0x2f6fa5(0x59c)][0x0]),_0x40f149=a[_0x2f6fa5(0x6bb)]['deepClone'](_0x2698c7[_0x2f6fa5(0x59c)][0x0]);for(let _0x80286=_0x210b92[_0x2f6fa5(0x410)]-0x1;_0x80286>=0x0;_0x80286--){const _0x25fc04={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x210b92[_0x80286][_0x2f6fa5(0x4bc)],..._0x210b92[_0x80286][_0x2f6fa5(0x68b)]}},_0xfa66cb={'id':_0x2f6fa5(0x383),'params':{'unitId':_0x210b92[_0x80286][_0x2f6fa5(0x4bc)],..._0x210b92[_0x80286][_0x2f6fa5(0x32e)]}},_0x4fbf61=this[_0x2f6fa5(0x34a)]['transformMutation'](_0x109e04,_0x25fc04,!0x1),_0x2c1f0c=this[_0x2f6fa5(0x34a)][_0x2f6fa5(0x6a2)](_0x40f149,_0xfa66cb,!0x1);if(m[_0x2f6fa5(0x478)](_0x4fbf61))throw _0x4fbf61[_0x2f6fa5(0x5b6)];if(m[_0x2f6fa5(0x478)](_0x2c1f0c))throw _0x2c1f0c[_0x2f6fa5(0x5b6)];_0xdc1ca0[_0x2f6fa5(0x21f)]({..._0x210b92[_0x80286],'undoState':_0x4fbf61[_0x2f6fa5(0x68f)][_0x2f6fa5(0x3bf)],'redoState':_0x2c1f0c[_0x2f6fa5(0x68f)][_0x2f6fa5(0x3bf)]}),_0x109e04=_0x4fbf61[_0x2f6fa5(0x6c5)],_0x40f149=_0x2c1f0c['m1Prime'];}_0x109e04=a['Tools']['deepClone'](_0x2698c7[_0x2f6fa5(0x59c)][0x0]),_0x40f149=a['Tools'][_0x2f6fa5(0x36a)](_0x2698c7[_0x2f6fa5(0x59c)][0x0]);for(let _0x501274=_0x448427['length']-0x1;_0x501274>=0x0;_0x501274--){const _0x42169b={'id':_0x2f6fa5(0x383),'params':{'unitId':_0x448427[_0x501274][_0x2f6fa5(0x4bc)],..._0x448427[_0x501274]['undoState']}},_0x1e0b36={'id':_0x2f6fa5(0x383),'params':{'unitId':_0x448427[_0x501274]['unitId'],..._0x448427[_0x501274]['redoState']}},_0x45f6f4=this[_0x2f6fa5(0x34a)][_0x2f6fa5(0x6a2)](_0x109e04,_0x42169b,!0x1),_0xf19c0a=this[_0x2f6fa5(0x34a)][_0x2f6fa5(0x6a2)](_0x40f149,_0x1e0b36,!0x1);if(m[_0x2f6fa5(0x478)](_0x45f6f4))throw _0x45f6f4[_0x2f6fa5(0x5b6)];if(m[_0x2f6fa5(0x478)](_0xf19c0a))throw _0xf19c0a[_0x2f6fa5(0x5b6)];_0x5ea45a[_0x2f6fa5(0x21f)]({..._0x448427[_0x501274],'undoState':_0x45f6f4[_0x2f6fa5(0x68f)][_0x2f6fa5(0x3bf)],'redoState':_0xf19c0a[_0x2f6fa5(0x68f)][_0x2f6fa5(0x3bf)]}),_0x109e04=_0x45f6f4[_0x2f6fa5(0x6c5)],_0x40f149=_0xf19c0a[_0x2f6fa5(0x6c5)];}this[_0x2f6fa5(0x508)][_0x2f6fa5(0x6a0)](_0x5f101b,{'history':_0xdc1ca0,'collaboration':_0x5ea45a});}};et=Bn([ut(0x0,a['Inject'](a[_0xe4d145(0x2d6)])),ut(0x1,m[_0xe4d145(0x30c)]),ut(0x2,a['Inject'](J['DocStateChangeManagerService']))],et);function Di(_0x1db2b7){const _0x879738=_0xe4d145;let _0x531ddf='';for(const _0x321028 of _0x1db2b7){const {startOffset:_0x33c3f9,endOffset:_0x5526ce,isActive:_0x42a96e,rangeType:_0x3eebec,segmentId:_0x31cbda,segmentPage:_0x19192d}=_0x321028;_0x531ddf[_0x879738(0x410)]&&(_0x531ddf+=','),_0x531ddf+=_0x33c3f9+':'+_0x5526ce+':'+(_0x42a96e?'1':'0')+':'+_0x3eebec+':'+_0x31cbda+':'+_0x19192d;}return _0x531ddf;}function kn(_0x13f38f){const _0x26dece=_0xe4d145,_0x5c734b=_0x13f38f['split'](','),_0x5a7254=[];for(const _0x50bfdf of _0x5c734b){const [_0x43b32b,_0x5c4094,_0x401287,_0x48739c,_0x3f7972,_0x60d54e]=_0x50bfdf[_0x26dece(0x61f)](':');_0x5a7254[_0x26dece(0x46d)]({'startOffset':Number(_0x43b32b),'endOffset':Number(_0x5c4094),'collapsed':_0x43b32b===_0x5c4094,'isActive':_0x401287==='1','rangeType':_0x48739c===a['DOC_RANGE_TYPE']['TEXT']?a['DOC_RANGE_TYPE']['TEXT']:a[_0x26dece(0x20f)][_0x26dece(0x201)],'segmentId':typeof _0x3f7972==_0x26dece(0x3f4)?String(_0x3f7972):'','segmentPage':Number(_0x60d54e!=null?_0x60d54e:-0x1)});}return _0x5a7254[_0x26dece(0x5ef)](_0x466ef9=>_0x466ef9[_0x26dece(0x612)])||(_0x5a7254[0x0][_0x26dece(0x612)]=!0x0),_0x5a7254;}class Ut extends a[_0xe4d145(0x48d)]{constructor(){const _0x478514=_0xe4d145;super(...arguments),I(this,'_collabCursorState$',new N[(_0x478514(0x67c))](null)),I(this,_0x478514(0x47f),this[_0x478514(0x606)][_0x478514(0x572)]());}[_0xe4d145(0x490)](_0x5807b6){const _0x5ab822=_0xe4d145,{unitID:_0x1ce132,memberID:_0xdb2582,textRanges:_0x4b51e8}=_0x5807b6,_0x1c3a9a=Di(_0x4b51e8);if(_0x1c3a9a==='')return;const _0x99c7d7={'unitID':_0x1ce132,'memberID':_0xdb2582,'selection':_0x1c3a9a};this[_0x5ab822(0x606)][_0x5ab822(0x215)](_0x99c7d7);}}var Wn=Object['defineProperty'],Fn=Object[_0xe4d145(0x31a)],Vn=(_0x156b17,_0x22e2f5,_0x541249,_0x236716)=>{const _0x27b957=_0xe4d145;for(var _0x22ccb2=_0x236716>0x1?void 0x0:_0x236716?Fn(_0x22e2f5,_0x541249):_0x22e2f5,_0x3c437b=_0x156b17[_0x27b957(0x410)]-0x1,_0x5c08c1;_0x3c437b>=0x0;_0x3c437b--)(_0x5c08c1=_0x156b17[_0x3c437b])&&(_0x22ccb2=(_0x236716?_0x5c08c1(_0x22e2f5,_0x541249,_0x22ccb2):_0x5c08c1(_0x22ccb2))||_0x22ccb2);return _0x236716&&_0x22ccb2&&Wn(_0x22e2f5,_0x541249,_0x22ccb2),_0x22ccb2;},Vt=(_0x1ea097,_0x29ecaa)=>(_0xe03139,_0x1050ce)=>_0x29ecaa(_0xe03139,_0x1050ce,_0x1ea097);let tt=class{constructor(_0x217a91,_0x4b76a4){const _0x481435=_0xe4d145;this[_0x481435(0x67b)]=_0x217a91,this[_0x481435(0x34a)]=_0x4b76a4;}[_0xe4d145(0x34e)](_0x5e5a13){const _0x493d53=_0xe4d145;var _0x1d249a;const _0x41100e=this[_0x493d53(0x67b)][_0x493d53(0x415)](Ie[_0x493d53(0x5e3)]),_0x2f47e4=(_0x1d249a=_0x41100e[_0x493d53(0x6a8)]())!=null?_0x1d249a:[];if(_0x2f47e4[_0x493d53(0x410)]===0x0)return;const _0xae727d=_0x5e5a13[_0x493d53(0x573)],_0x4a33e4=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xae727d,'actions':null,'textRanges':_0x2f47e4}}],_0x3c56de=this['_transformService'][_0x493d53(0x40e)](_0x5e5a13,_0x4a33e4);if(!m[_0x493d53(0x613)](_0x3c56de))throw _0x3c56de[_0x493d53(0x5b6)];const _0x4a51b9=_0x3c56de['m2Prime'][0x0][_0x493d53(0x3bf)][_0x493d53(0x47b)];Array['isArray'](_0x4a51b9)&&_0x4a51b9[_0x493d53(0x410)]&&_0x41100e[_0x493d53(0x312)](_0x4a51b9,{'unitId':_0xae727d,'subUnitId':_0xae727d},!0x1);}};tt=Vn([Vt(0x0,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),Vt(0x1,m['ITransformService'])],tt);const Gn=new Set([k['InsertSheetMutation']['id']]);function Gt(_0x190524,_0x170300,_0x530481,_0x39f03f,_0x2d89c1){const _0x183695=_0xe4d145;var _0xe9717a,_0x1e1795,_0xf9509c,_0x1a14cc;const _0x45990f=[];for(const _0x176e95 of _0x190524)if(Gn[_0x183695(0x551)](_0x176e95['id'])){if(_0x45990f[_0x183695(0x410)]>0x0)break;_0x45990f[_0x183695(0x46d)](_0x176e95);break;}else _0x45990f[_0x183695(0x46d)](_0x176e95);const _0x4e2b90=(_0x1e1795=(_0xe9717a=_0x2d89c1[_0x183695(0x31b)]())==null?void 0x0:_0xe9717a['userID'])!=null?_0x1e1795:'unknown',_0x3ca211=(_0x1a14cc=(_0xf9509c=_0x2d89c1[_0x183695(0x31b)]())==null?void 0x0:_0xf9509c[_0x183695(0x426)])!=null?_0x1a14cc:_0x183695(0x41d);return{'changeset':{'unitID':_0x170300,'type':m['mapDocumentTypeToUniverType'](_0x530481[_0x183695(0x5db)](_0x170300)),'baseRev':_0x39f03f[_0x183695(0x562)](_0x170300),'revision':0x0,'userID':_0x4e2b90,'memberID':_0x3ca211,'mutations':_0x45990f},'pendingMutations':_0x190524[_0x183695(0x48f)](_0x45990f[_0x183695(0x410)])};}function Yn(_0x3c4ff6,_0x362ad0,_0x8bb13b,_0x3885ea,_0x1fe498){const _0x33e191=_0xe4d145;var _0x51208e,_0x1e9fe0,_0x1bd0d3,_0x1eb86e;const _0x25c14b=[_0x3c4ff6['reduce']((_0x1ce7f8,_0x3e34e7)=>{const _0x1b64ed=_0x4e21;var _0x59f454;const {id:_0x474097}=_0x1ce7f8,{id:_0x5d0ea8,type:_0x67b3d1}=_0x3e34e7,_0x4c39ea=(_0x59f454=_0x1ce7f8['params'])!=null?_0x59f454:{'actions':null},_0x45b5fe=_0x3e34e7['params'];if(_0x474097&&_0x474097!==_0x5d0ea8)throw new Error(_0x1b64ed(0x57d)+_0x474097+_0x1b64ed(0x50f)+_0x5d0ea8+'.');return{..._0x1ce7f8,'id':_0x5d0ea8,'type':_0x67b3d1,'params':{'unitId':_0x45b5fe['unitId'],'textRanges':_0x45b5fe[_0x1b64ed(0x47b)],'actions':a['JSONX'][_0x1b64ed(0x389)](_0x4c39ea['actions'],_0x45b5fe[_0x1b64ed(0x2bd)])}};},{})],_0x2367a0=(_0x1e9fe0=(_0x51208e=_0x1fe498[_0x33e191(0x31b)]())==null?void 0x0:_0x51208e[_0x33e191(0x335)])!=null?_0x1e9fe0:_0x33e191(0x41d),_0x8a2bf3=(_0x1eb86e=(_0x1bd0d3=_0x1fe498[_0x33e191(0x31b)]())==null?void 0x0:_0x1bd0d3['memberID'])!=null?_0x1eb86e:'unknown';return{'changeset':{'unitID':_0x362ad0,'type':m[_0x33e191(0x4f7)](_0x8bb13b[_0x33e191(0x5db)](_0x362ad0)),'baseRev':_0x3885ea[_0x33e191(0x562)](_0x362ad0),'revision':0x0,'userID':_0x2367a0,'memberID':_0x8a2bf3,'mutations':_0x25c14b},'pendingMutations':[]};}function Pi(_0x593b11,_0x3ac468){const _0x10cb68=_0xe4d145,_0x5aa293=new N['ReplaySubject'](0x1);return setTimeout(()=>_0x5aa293['next'](_0x3ac468),_0x593b11),_0x5aa293[_0x10cb68(0x572)]()[_0x10cb68(0x213)](N[_0x10cb68(0x5ed)](0x1));}const qn={'id':k[_0xe4d145(0x66b)]['id'],'type':a['CommandType'][_0xe4d145(0x662)],'params':{}};var Kn=Object[_0xe4d145(0x641)],zn=Object[_0xe4d145(0x31a)],Ee=(_0x1fdb89,_0x466a2d,_0xe111af,_0x4400d2)=>{const _0x3eb912=_0xe4d145;for(var _0x548c7f=_0x4400d2>0x1?void 0x0:_0x4400d2?zn(_0x466a2d,_0xe111af):_0x466a2d,_0x49279e=_0x1fdb89[_0x3eb912(0x410)]-0x1,_0x56cda8;_0x49279e>=0x0;_0x49279e--)(_0x56cda8=_0x1fdb89[_0x49279e])&&(_0x548c7f=(_0x4400d2?_0x56cda8(_0x466a2d,_0xe111af,_0x548c7f):_0x56cda8(_0x548c7f))||_0x548c7f);return _0x4400d2&&_0x548c7f&&Kn(_0x466a2d,_0xe111af,_0x548c7f),_0x548c7f;},A=(_0x4d053f,_0x4b0f0c)=>(_0x19a883,_0x1c0557)=>_0x4b0f0c(_0x19a883,_0x1c0557,_0x4d053f),K=(_0x52ba9b=>(_0x52ba9b[_0xe4d145(0x62d)]=_0xe4d145(0x5bb),_0x52ba9b[_0xe4d145(0x3ad)]=_0xe4d145(0x496),_0x52ba9b[_0xe4d145(0x31c)]=_0xe4d145(0x212),_0x52ba9b[_0xe4d145(0x3b1)]=_0xe4d145(0x4e6),_0x52ba9b[_0xe4d145(0x58f)]='awaiting_with_pending',_0x52ba9b[_0xe4d145(0x5b9)]='fetch_missing',_0x52ba9b[_0xe4d145(0x274)]='conflict',_0x52ba9b[_0xe4d145(0x5ce)]=_0xe4d145(0x537),_0x52ba9b))(K||{});const wi=0xea60;class be{constructor(_0x164bfe,_0x32c748,_0x4669be,_0x262f5e,_0x202be9,_0x560855,_0x1bc0f9,_0x527190,_0xbd47ef){const _0x1bf45=_0xe4d145;I(this,'_awaitingChangeset',null),I(this,_0x1bf45(0x4d9),[]),(this[_0x1bf45(0x573)]=_0x164bfe,this[_0x1bf45(0x5ba)]=_0x32c748,this[_0x1bf45(0x590)]=_0x202be9,this[_0x1bf45(0x200)]=_0x560855,this[_0x1bf45(0x1fd)]=_0x1bc0f9,this['_revisionService']=_0x527190,this['_localCacheService']=_0xbd47ef,this['_awaitingChangeset']=_0x4669be,this['_pendingMutations']=_0x262f5e);}['_checkMissing'](_0x56a061){const _0x4bd4f0=_0xe4d145,_0x25f1fe=this['_revisionService'][_0x4bd4f0(0x562)](this[_0x4bd4f0(0x573)]);return _0x56a061[_0x4bd4f0(0x53e)]>_0x25f1fe+0x1?(this['_handler'][_0x4bd4f0(0x611)]({'from':_0x25f1fe,'to':_0x56a061[_0x4bd4f0(0x53e)]-0x1}),!0x0):!0x1;}[_0xe4d145(0x539)](_0x3ad565){const _0x1bf61a=_0xe4d145;this[_0x1bf61a(0x1fd)]['transformUndoRedo'](this[_0x1bf61a(0x573)],_0x3ad565);}[_0xe4d145(0x2b5)](_0x10a954){const _0x1aad13=_0xe4d145;var _0x3f0b0c,_0x3e21e2;(_0x3e21e2=(_0x3f0b0c=this[_0x1aad13(0x590)])[_0x1aad13(0x225)])==null||_0x3e21e2[_0x1aad13(0x4e7)](_0x3f0b0c,_0x10a954);}['_transformIMECache'](_0x1a417d){const _0x1d3f58=_0xe4d145;var _0x1d6b5b,_0x1347d9;return(_0x1347d9=(_0x1d6b5b=this[_0x1d3f58(0x590)])[_0x1d3f58(0x636)])==null?void 0x0:_0x1347d9[_0x1d3f58(0x4e7)](_0x1d6b5b,_0x1a417d);}[_0xe4d145(0x368)](_0x5092ba){const _0x44d8f0=_0xe4d145;var _0x4b6267,_0x47dd29;return(_0x47dd29=(_0x4b6267=this['_handler'])['onTransformState'])==null?void 0x0:_0x47dd29[_0x44d8f0(0x4e7)](_0x4b6267,_0x5092ba);}[_0xe4d145(0x2d0)](_0x3c2e57){const _0x2bdc00=_0xe4d145;var _0x49a596,_0x24cb18,_0x11a738;return(_0x11a738=(_0x24cb18=(_0x49a596=this['_handler'])[_0x2bdc00(0x6bc)])==null?void 0x0:_0x24cb18[_0x2bdc00(0x4e7)](_0x49a596,_0x3c2e57))!=null?_0x11a738:_0x3c2e57;}[_0xe4d145(0x2e8)](_0x546be7){const _0x5dce4a=_0xe4d145;var _0x43908e,_0x1045e7,_0x2c6dab;return(_0x2c6dab=(_0x1045e7=(_0x43908e=this['_handler'])[_0x5dce4a(0x6ae)])==null?void 0x0:_0x1045e7[_0x5dce4a(0x4e7)](_0x43908e,_0x546be7))!=null?_0x2c6dab:_0x546be7;}[_0xe4d145(0x4e9)](_0xfb3bb8){const _0x559b74=_0xe4d145;var _0x317d55,_0x1cb2e8;if(this[_0x559b74(0x5ba)]===ie[_0x559b74(0x675)]){const {unitID:_0x81c4cc,mutations:_0x1a5331,memberID:_0x458ddb}=_0xfb3bb8,_0x103cbb=_0x1a5331[0x0][_0x559b74(0x3bf)][_0x559b74(0x47b)];Array[_0x559b74(0x5be)](_0x103cbb)&&_0x103cbb[_0x559b74(0x410)]>0x0&&((_0x1cb2e8=(_0x317d55=this[_0x559b74(0x590)])['onSyncEditingCollabCursor'])==null||_0x1cb2e8[_0x559b74(0x4e7)](_0x317d55,{'unitID':_0x81c4cc,'memberID':_0x458ddb,'textRanges':_0x103cbb}));}}[_0xe4d145(0x6aa)](){const _0x354ed5=_0xe4d145;this[_0x354ed5(0x553)][_0x354ed5(0x54e)](this[_0x354ed5(0x573)],this[_0x354ed5(0x5ba)],this[_0x354ed5(0x3ce)],this[_0x354ed5(0x4d9)]);}[_0xe4d145(0x654)](){const _0x12402f=_0xe4d145;return this['_revisionService'][_0x12402f(0x562)](this['unitID']);}[_0xe4d145(0x2cf)](){const _0x30684a=_0xe4d145;this[_0x30684a(0x542)][_0x30684a(0x42f)](this['unitID']);}[_0xe4d145(0x5f6)](_0xcb462f){const _0x44c180=_0xe4d145;var _0x3fcde1;let _0x2c14e7=this[_0x44c180(0x2d0)](_0xcb462f);_0x2c14e7=this[_0x44c180(0x2e8)](_0x2c14e7);const _0x41e856=a['sequenceExecute'](_0x2c14e7[_0x44c180(0x59c)],this[_0x44c180(0x200)],{'fromCollab':!0x0});if(!_0x41e856['result'])throw _0x41e856[_0x44c180(0x5b6)]instanceof Error?_0x41e856[_0x44c180(0x5b6)]:new Error((_0x3fcde1=_0x41e856['error'])!=null?_0x3fcde1:_0x44c180(0x3b6));this[_0x44c180(0x578)](_0x2c14e7),this[_0x44c180(0x368)](_0x2c14e7),this[_0x44c180(0x539)](_0xcb462f),this[_0x44c180(0x2b5)](_0x2c14e7),this['_syncEditingCollabCursor'](_0x2c14e7),this[_0x44c180(0x2cf)]();}}let Oe=class extends be{constructor(_0x2d7edf,_0x1a9519,_0x16933d,_0x3bdc82,_0x2f314a,_0x296e7b,_0xd115a8,_0x35ac7e,_0x47376d,_0x454e73){const _0xa900a1=_0xe4d145;super(_0x2d7edf,_0x1a9519,null,[],_0x16933d,_0x35ac7e,_0xd115a8,_0x3bdc82,_0x2f314a),I(this,_0xa900a1(0x470),'synced'),(this[_0xa900a1(0x67b)]=_0x296e7b,this[_0xa900a1(0x692)]=_0x47376d,this[_0xa900a1(0x34a)]=_0x454e73);}[_0xe4d145(0x5d6)](_0x41fe15){const _0x43ab37=_0xe4d145,_0x32700c=this['_injector'][_0x43ab37(0x38c)](ae,this[_0x43ab37(0x573)],this[_0x43ab37(0x5ba)],[_0x41fe15],this[_0x43ab37(0x590)]);return _0x32700c[_0x43ab37(0x405)](),_0x32700c['_updateLocalCache'](),_0x32700c;}[_0xe4d145(0x269)](_0x52fe50){const _0x5ea9a0=_0xe4d145;if(this[_0x5ea9a0(0x51b)](_0x52fe50))return this['_injector'][_0x5ea9a0(0x38c)](re,this[_0x5ea9a0(0x573)],this[_0x5ea9a0(0x5ba)],null,[],null,[_0x52fe50],this['_handler']);try{const _0x5604cf=this[_0x5ea9a0(0x34a)][_0x5ea9a0(0x40e)](_0x52fe50,[qn]);if(m[_0x5ea9a0(0x613)](_0x5604cf)){const {c1Prime:_0x59f5a1}=_0x5604cf;return this[_0x5ea9a0(0x5f6)](_0x59f5a1),this;}throw _0x5604cf[_0x5ea9a0(0x5b6)];}catch(_0x4db5df){return this[_0x5ea9a0(0x692)]['error'](_0x4db5df),this[_0x5ea9a0(0x69c)](!0x1);}}[_0xe4d145(0x69c)](_0x3adcef){const _0x44c959=_0xe4d145;return this[_0x44c959(0x67b)]['createInstance'](fe,this['unitID'],this[_0x44c959(0x5ba)],null,[],this[_0x44c959(0x590)],_0x3adcef);}[_0xe4d145(0x4ff)](){const _0x53e882=_0xe4d145;throw new Error(_0x53e882(0x5f8));}['onRemoteRej'](){const _0x18dc26=_0xe4d145;throw new Error(_0x18dc26(0x38d));}[_0xe4d145(0x5dc)](){return this;}[_0xe4d145(0x68d)](){const _0x234ba3=_0xe4d145;return this[_0x234ba3(0x67b)][_0x234ba3(0x38c)](ve,this[_0x234ba3(0x573)],this[_0x234ba3(0x5ba)],null,[],this['_handler']);}[_0xe4d145(0x524)](){return this;}[_0xe4d145(0x47c)](){const _0x12c328=_0xe4d145;throw new Error(_0x12c328(0x2b8));}['fetchMiss'](){const _0x3cee25=_0xe4d145,_0xf8f1d9=this['_revisionService'][_0x3cee25(0x562)](this[_0x3cee25(0x573)]);return this[_0x3cee25(0x590)][_0x3cee25(0x611)]({'from':_0xf8f1d9,'to':0x0}),this[_0x3cee25(0x67b)][_0x3cee25(0x38c)](re,this['unitID'],this[_0x3cee25(0x5ba)],null,[],null,[],this[_0x3cee25(0x590)]);}};Oe=Ee([A(0x3,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0x4,a['Inject'](exports[_0xe4d145(0x36e)])),A(0x5,a[_0xe4d145(0x378)](a['Injector'])),A(0x6,a[_0xe4d145(0x363)]),A(0x7,a[_0xe4d145(0x376)]),A(0x8,a[_0xe4d145(0x27a)]),A(0x9,m[_0xe4d145(0x30c)])],Oe);let ae=class extends be{constructor(_0x14bd3f,_0x3df894,_0x30c61e,_0x540db7,_0x56d49a,_0xa856a9,_0x25fce4,_0x49c92e,_0x4cfe17,_0x15bb28,_0xf81e14,_0x3aead5,_0x13ecc7,_0x4439eb){const _0x573efa=_0xe4d145;super(_0x14bd3f,_0x3df894,null,_0x30c61e,_0x540db7,_0x15bb28,_0x4439eb,_0xa856a9,_0x25fce4),I(this,'status',_0x573efa(0x212)),I(this,_0x573efa(0x3c5),null),I(this,_0x573efa(0x4f5),null),(this[_0x573efa(0x67b)]=_0x56d49a,this[_0x573efa(0x2a0)]=_0x49c92e,this['_logService']=_0x4cfe17,this['_configService']=_0xf81e14,this[_0x573efa(0x34a)]=_0x3aead5,this[_0x573efa(0x419)]=_0x13ecc7);}[_0xe4d145(0x5d6)](_0x351d30){const _0x218d5e=_0xe4d145;return this[_0x218d5e(0x4d9)][_0x218d5e(0x46d)](_0x351d30),this[_0x218d5e(0x6aa)](),this;}[_0xe4d145(0x269)](_0x4f83be){const _0x51e504=_0xe4d145;if(this[_0x51e504(0x51b)](_0x4f83be))return this[_0x51e504(0x477)](),this['_injector'][_0x51e504(0x38c)](re,this['unitID'],this[_0x51e504(0x5ba)],null,this['_pendingMutations'],null,[_0x4f83be],this[_0x51e504(0x590)]);try{const _0x5e75be=this[_0x51e504(0x34a)][_0x51e504(0x40e)](_0x4f83be,this[_0x51e504(0x4d9)]);if(m[_0x51e504(0x613)](_0x5e75be)){const {c1Prime:_0x5b5283,m2Prime:_0x529a5f}=_0x5e75be;this[_0x51e504(0x5f6)](_0x5b5283);const _0x20d29a=this['_injector']['createInstance'](ae,this[_0x51e504(0x573)],this['type'],_0x529a5f,this['_handler']);return this['_clearScheduledTask'](),_0x20d29a[_0x51e504(0x405)](this[_0x51e504(0x3c5)]?Math[_0x51e504(0x50a)](0x0,new Date()[_0x51e504(0x28d)]()-this[_0x51e504(0x3c5)]):this['_getSendChangesetTimeout']()),_0x20d29a;}throw _0x5e75be[_0x51e504(0x5b6)];}catch(_0x1972c0){return this['_logService']['error'](_0x1972c0),this[_0x51e504(0x69c)](!0x1);}}[_0xe4d145(0x4ff)](){const _0x160159=_0xe4d145;throw new Error(_0x160159(0x4c3));}[_0xe4d145(0x4b2)](){const _0x49875a=_0xe4d145;throw new Error(_0x49875a(0x5e7));}[_0xe4d145(0x5dc)](){return this;}['toggleOffline'](){const _0xf10d32=_0xe4d145;return this[_0xf10d32(0x477)](),this[_0xf10d32(0x67b)]['createInstance'](ve,this['unitID'],this['type'],null,this[_0xf10d32(0x4d9)],this[_0xf10d32(0x590)]);}['toggleOnline'](){return this;}[_0xe4d145(0x405)](_0x5c0053){const _0x43da78=_0xe4d145,_0xf208b8=_0x5c0053!=null?_0x5c0053:this[_0x43da78(0x58e)]();this[_0x43da78(0x3c5)]=new Date()[_0x43da78(0x28d)](),this[_0x43da78(0x4f5)]=window[_0x43da78(0x3ab)](()=>{const _0x4fca4d=_0x43da78;this['_clearScheduledTask']();let _0xea2b9c=null;switch(this[_0x4fca4d(0x5ba)]){case ie[_0x4fca4d(0x303)]:{_0xea2b9c=Gt(this[_0x4fca4d(0x4d9)],this[_0x4fca4d(0x573)],this['_univerInstanceService'],this[_0x4fca4d(0x542)],this[_0x4fca4d(0x2a0)]);break;}case ie[_0x4fca4d(0x675)]:{this[_0x4fca4d(0x4d9)][_0x4fca4d(0x4d1)](_0x138a6c=>_0x138a6c['id']===Ie[_0x4fca4d(0x4ea)]['id'])?_0xea2b9c=Yn(this[_0x4fca4d(0x4d9)],this[_0x4fca4d(0x573)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0xea2b9c=Gt(this[_0x4fca4d(0x4d9)],this[_0x4fca4d(0x573)],this[_0x4fca4d(0x419)],this[_0x4fca4d(0x542)],this[_0x4fca4d(0x2a0)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4fca4d(0x5ba)]+'\x20in\x20_schedule.');}const {changeset:_0x118d04,pendingMutations:_0x39992c}=_0xea2b9c;this[_0x4fca4d(0x590)][_0x4fca4d(0x62e)](_0x118d04);const _0x40cd83=_0x39992c[_0x4fca4d(0x410)]?this[_0x4fca4d(0x67b)]['createInstance'](ce,this[_0x4fca4d(0x573)],this['type'],_0x118d04,_0x39992c,this[_0x4fca4d(0x590)],void 0x0):this[_0x4fca4d(0x67b)]['createInstance'](de,this[_0x4fca4d(0x573)],this[_0x4fca4d(0x5ba)],_0x118d04,this[_0x4fca4d(0x590)]);_0x40cd83['_updateLocalCache'](),this[_0x4fca4d(0x590)][_0x4fca4d(0x2e7)](this,_0x40cd83);},_0xf208b8);}['_getSendChangesetTimeout'](){const _0x25f75a=_0xe4d145;var _0x3ad7c0;const _0x796f20=this[_0x25f75a(0x558)][_0x25f75a(0x44f)](Z);return(_0x3ad7c0=_0x796f20==null?void 0x0:_0x796f20[_0x25f75a(0x1fe)])!=null?_0x3ad7c0:zi;}[_0xe4d145(0x47c)](){const _0x49fb6e=_0xe4d145;throw new Error(_0x49fb6e(0x543));}[_0xe4d145(0x477)](){const _0x4c8c9c=_0xe4d145;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4c8c9c(0x4f5)]),this[_0x4c8c9c(0x4f5)]=null);}[_0xe4d145(0x69c)](_0x29235){const _0x4bbc0a=_0xe4d145;return this[_0x4bbc0a(0x477)](),this['_injector'][_0x4bbc0a(0x38c)](fe,this[_0x4bbc0a(0x573)],this[_0x4bbc0a(0x5ba)],null,this[_0x4bbc0a(0x4d9)],this[_0x4bbc0a(0x590)],_0x29235);}};ae=Ee([A(0x4,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),A(0x5,a['Inject'](m[_0xe4d145(0x69b)])),A(0x6,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),A(0x7,a[_0xe4d145(0x378)](exports[_0xe4d145(0x597)])),A(0x8,a[_0xe4d145(0x27a)]),A(0x9,a[_0xe4d145(0x376)]),A(0xa,a[_0xe4d145(0x60a)]),A(0xb,m[_0xe4d145(0x30c)]),A(0xc,a[_0xe4d145(0x61a)]),A(0xd,a[_0xe4d145(0x363)])],ae);let de=class extends be{constructor(_0x286f38,_0x30559a,_0x287c35,_0xaf0fe5,_0x4f3339,_0x22fafe,_0x196161,_0x517ddd,_0x2237ae,_0x813086,_0x3e9334){const _0x290831=_0xe4d145;super(_0x286f38,_0x30559a,_0x287c35,[],_0xaf0fe5,_0x517ddd,_0x3e9334,_0x22fafe,_0x196161),I(this,_0x290831(0x470),'awaiting'),I(this,_0x290831(0x56e),0x0),I(this,_0x290831(0x471)),I(this,_0x290831(0x3ed)),(this[_0x290831(0x67b)]=_0x4f3339,this[_0x290831(0x692)]=_0x2237ae,this[_0x290831(0x34a)]=_0x813086);}[_0xe4d145(0x5d6)](_0x531408){const _0x4e475f=_0xe4d145;this[_0x4e475f(0x477)]();const _0x515d69=this[_0x4e475f(0x67b)][_0x4e475f(0x38c)](ce,this[_0x4e475f(0x573)],this[_0x4e475f(0x5ba)],this[_0x4e475f(0x3ce)],[_0x531408],this[_0x4e475f(0x590)],this[_0x4e475f(0x471)]);return _0x515d69[_0x4e475f(0x6aa)](),_0x515d69;}[_0xe4d145(0x269)](_0x5f582a){const _0x4c7b40=_0xe4d145;if(this[_0x4c7b40(0x51b)](_0x5f582a))return this[_0x4c7b40(0x477)](),this[_0x4c7b40(0x67b)][_0x4c7b40(0x38c)](re,this['unitID'],this[_0x4c7b40(0x5ba)],this[_0x4c7b40(0x3ce)],[],null,[_0x5f582a],this['_handler']);try{const _0x2fc4e5=this[_0x4c7b40(0x34a)][_0x4c7b40(0x532)]([_0x5f582a],[this[_0x4c7b40(0x3ce)]],!0x1);if(m[_0x4c7b40(0x319)](_0x2fc4e5)){const {c1Prime:_0x2ea41d,c2Prime:_0x9ff5dc}=_0x2fc4e5;this['_executeRemoteChangeset'](_0x2ea41d[0x0]),_0x9ff5dc[0x0]['baseRev']=this[_0x4c7b40(0x654)](),this[_0x4c7b40(0x477)]();const _0x31fbcf=this['_injector']['createInstance'](de,this[_0x4c7b40(0x573)],this[_0x4c7b40(0x5ba)],_0x9ff5dc[0x0],this['_handler']);return _0x31fbcf['_updateLocalCache'](),_0x31fbcf;}return this[_0x4c7b40(0x69c)](!0x1);}catch(_0x2588e6){return this[_0x4c7b40(0x692)][_0x4c7b40(0x5b6)](_0x2588e6),this[_0x4c7b40(0x69c)](!0x1);}}[_0xe4d145(0x4ff)](_0x1a36c6){const _0x3d4945=_0xe4d145;this['_clearScheduledTask']();const _0x34d6cc=this[_0x3d4945(0x542)][_0x3d4945(0x562)](this[_0x3d4945(0x573)]);if(_0x1a36c6[_0x3d4945(0x53e)]<_0x34d6cc-0x1)return this;if(this[_0x3d4945(0x51b)](_0x1a36c6))return this[_0x3d4945(0x67b)]['createInstance'](re,this['unitID'],this[_0x3d4945(0x5ba)],null,[],this[_0x3d4945(0x3ce)],[],this[_0x3d4945(0x590)]);this['_incrementRevisionNumber']();const _0x4ba338=this[_0x3d4945(0x67b)][_0x3d4945(0x38c)](Oe,this[_0x3d4945(0x573)],this['type'],this['_handler']);return _0x4ba338[_0x3d4945(0x6aa)](),_0x4ba338;}['onRemoteRej'](_0x529a4e){const _0x2efef1=_0xe4d145;return this[_0x2efef1(0x69c)](!!(_0x529a4e!=null&&_0x529a4e[_0x2efef1(0x696)]));}[_0xe4d145(0x5dc)](_0x23886a){const _0x240234=_0xe4d145;return this['_resendTimeout']>wi?this[_0x240234(0x68d)]():(this[_0x240234(0x471)]=Pi(this[_0x240234(0x56e)],{'timeout':this[_0x240234(0x56e)],'reqId':_0x23886a[_0x240234(0x671)]}),this[_0x240234(0x3ed)]=this[_0x240234(0x471)][_0x240234(0x4e3)](({reqId:_0x1a831a,timeout:_0x5d654d})=>{const _0x5a15ec=_0x240234;this[_0x5a15ec(0x59d)](_0x1a831a,_0x5d654d);}),this);}[_0xe4d145(0x68d)](){const _0x18400e=_0xe4d145;return this[_0x18400e(0x477)](),this['_injector'][_0x18400e(0x38c)](ve,this[_0x18400e(0x573)],this['type'],this[_0x18400e(0x3ce)],[],this[_0x18400e(0x590)]);}['toggleOnline'](){return this;}['resend'](){const _0x4eced5=_0xe4d145;this['_handler'][_0x4eced5(0x62e)](this[_0x4eced5(0x3ce)]);}[_0xe4d145(0x69c)](_0x509105){const _0x46c175=_0xe4d145;return this[_0x46c175(0x477)](),this[_0x46c175(0x67b)]['createInstance'](fe,this['unitID'],this['type'],this[_0x46c175(0x3ce)],[],this['_handler'],_0x509105);}[_0xe4d145(0x59d)](_0x2a2c6c,_0x5a0c7f){const _0x4514b1=_0xe4d145;var _0x415b3a;_0x2a2c6c===((_0x415b3a=this[_0x4514b1(0x3ce)])==null?void 0x0:_0x415b3a[_0x4514b1(0x671)])&&(this[_0x4514b1(0x47c)](),this[_0x4514b1(0x56e)]=_0x5a0c7f===0x0?0x3e8:_0x5a0c7f*0x2);}[_0xe4d145(0x477)](){const _0x59b713=_0xe4d145;var _0x5e699d;(_0x5e699d=this[_0x59b713(0x3ed)])==null||_0x5e699d[_0x59b713(0x3fa)](),this[_0x59b713(0x56e)]=0x0;}};de=Ee([A(0x4,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),A(0x5,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0x6,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),A(0x7,a[_0xe4d145(0x376)]),A(0x8,a[_0xe4d145(0x27a)]),A(0x9,m[_0xe4d145(0x30c)]),A(0xa,a['IUndoRedoService'])],de);let ce=class extends be{constructor(_0x3e8f9a,_0x4f9a2b,_0x366a4e,_0x18471e,_0x1d560f,_0x5a1813,_0x3ee717,_0x51019f,_0x5ef740,_0x4ecedf,_0x2b3ce1,_0x1214ea,_0x3f1765){const _0x263a9b=_0xe4d145;super(_0x3e8f9a,_0x4f9a2b,_0x366a4e,_0x18471e,_0x1d560f,_0x4ecedf,_0x3f1765,_0x51019f,_0x5ef740),I(this,_0x263a9b(0x470),'awaiting_with_pending'),I(this,_0x263a9b(0x56e),0x0),I(this,_0x263a9b(0x471)),I(this,'_sender'),(this[_0x263a9b(0x67b)]=_0x3ee717,this[_0x263a9b(0x692)]=_0x2b3ce1,this[_0x263a9b(0x34a)]=_0x1214ea,_0x5a1813&&(this[_0x263a9b(0x471)]=_0x5a1813,this['_sender']=this[_0x263a9b(0x471)][_0x263a9b(0x4e3)](({reqId:_0x4ebf59,timeout:_0x39761a})=>{const _0x2d778d=_0x263a9b;this[_0x2d778d(0x59d)](_0x4ebf59,_0x39761a);})));}[_0xe4d145(0x5d6)](_0x3db44d){return this['_pendingMutations']['push'](_0x3db44d),this;}[_0xe4d145(0x269)](_0x2531a2){const _0x5b3ab9=_0xe4d145;if(this[_0x5b3ab9(0x51b)](_0x2531a2))return this['_clearScheduledTask'](),this[_0x5b3ab9(0x67b)][_0x5b3ab9(0x38c)](re,this[_0x5b3ab9(0x573)],this[_0x5b3ab9(0x5ba)],this[_0x5b3ab9(0x3ce)],this['_pendingMutations'],null,[_0x2531a2],this['_handler']);try{const _0x357f6a=this[_0x5b3ab9(0x34a)][_0x5b3ab9(0x532)]([_0x2531a2],[this[_0x5b3ab9(0x3ce)]],!0x1);if(m[_0x5b3ab9(0x319)](_0x357f6a)){const {c1Prime:_0x4585b7,c2Prime:_0x2b6a5f}=_0x357f6a,_0xf98a0a=this[_0x5b3ab9(0x34a)][_0x5b3ab9(0x40e)](_0x4585b7[0x0],this['_pendingMutations']);if(m[_0x5b3ab9(0x613)](_0xf98a0a)){const {c1Prime:_0x459eb2,m2Prime:_0x1fe8ac}=_0xf98a0a;return this['_executeRemoteChangeset'](_0x459eb2),_0x2b6a5f[0x0][_0x5b3ab9(0x502)]=this[_0x5b3ab9(0x654)](),this[_0x5b3ab9(0x477)](),this['_injector']['createInstance'](ce,this[_0x5b3ab9(0x573)],this['type'],_0x2b6a5f[0x0],_0x1fe8ac,this[_0x5b3ab9(0x590)],void 0x0);}throw _0xf98a0a['error'];}throw _0x357f6a[_0x5b3ab9(0x5b6)];}catch(_0x59843d){return this[_0x5b3ab9(0x692)][_0x5b3ab9(0x5b6)](_0x59843d),this[_0x5b3ab9(0x69c)](!0x1);}}[_0xe4d145(0x4ff)](_0x4768bf){const _0x304a94=_0xe4d145;if(this[_0x304a94(0x477)](),this[_0x304a94(0x51b)](_0x4768bf))return this['_injector'][_0x304a94(0x38c)](re,this[_0x304a94(0x573)],this[_0x304a94(0x5ba)],null,this[_0x304a94(0x4d9)],this[_0x304a94(0x3ce)],[],this[_0x304a94(0x590)]);this['_incrementRevisionNumber']();const _0xf66c71=this[_0x304a94(0x67b)]['createInstance'](ae,this[_0x304a94(0x573)],this[_0x304a94(0x5ba)],this[_0x304a94(0x4d9)],this[_0x304a94(0x590)]);return _0xf66c71[_0x304a94(0x405)](),_0xf66c71[_0x304a94(0x6aa)](),_0xf66c71;}[_0xe4d145(0x4b2)](_0xe935cd){return this['_onConflict'](!!(_0xe935cd!=null&&_0xe935cd['isPermissionRej']));}['onRemoteRetry'](_0xd73923){const _0x3adf34=_0xe4d145;return this[_0x3adf34(0x56e)]>wi?this[_0x3adf34(0x68d)]():(this[_0x3adf34(0x471)]=Pi(this[_0x3adf34(0x56e)],{'timeout':this[_0x3adf34(0x56e)],'reqId':_0xd73923[_0x3adf34(0x671)]}),this['_sender']=this[_0x3adf34(0x471)][_0x3adf34(0x4e3)](({reqId:_0x2c1b41,timeout:_0x12e288})=>{const _0x2db0fa=_0x3adf34;this[_0x2db0fa(0x59d)](_0x2c1b41,_0x12e288);}),this);}[_0xe4d145(0x68d)](){const _0x5924b5=_0xe4d145;return this['_clearScheduledTask'](),this[_0x5924b5(0x67b)]['createInstance'](ve,this[_0x5924b5(0x573)],this[_0x5924b5(0x5ba)],this[_0x5924b5(0x3ce)],this[_0x5924b5(0x4d9)],this[_0x5924b5(0x590)]);}[_0xe4d145(0x524)](){return this;}[_0xe4d145(0x47c)](){const _0x1d6374=_0xe4d145;this['_handler'][_0x1d6374(0x62e)](this['_awaitingChangeset']);}['_onConflict'](_0x1ce74f){const _0x5b4720=_0xe4d145;return this[_0x5b4720(0x477)](),this['_injector'][_0x5b4720(0x38c)](fe,this[_0x5b4720(0x573)],this['type'],null,this[_0x5b4720(0x4d9)],this[_0x5b4720(0x590)],_0x1ce74f);}[_0xe4d145(0x59d)](_0x749efe,_0xb5b307){const _0x2d910d=_0xe4d145;var _0x163049;_0x749efe===((_0x163049=this[_0x2d910d(0x3ce)])==null?void 0x0:_0x163049[_0x2d910d(0x671)])&&(this[_0x2d910d(0x47c)](),this['_resendTimeout']=_0xb5b307===0x0?0x3e8:_0xb5b307*0x2);}['_clearScheduledTask'](){const _0x5f0a2e=_0xe4d145;var _0x435ac6;(_0x435ac6=this[_0x5f0a2e(0x3ed)])==null||_0x435ac6['unsubscribe'](),this['_resendTimeout']=0x0;}};ce=Ee([A(0x6,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),A(0x7,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0x8,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),A(0x9,a['ICommandService']),A(0xa,a[_0xe4d145(0x27a)]),A(0xb,m[_0xe4d145(0x30c)]),A(0xc,a[_0xe4d145(0x363)])],ce);let fe=class extends be{constructor(_0x35669a,_0x30f140,_0x388d30,_0x566d1d,_0x378f93,_0xf692d6=!0x1,_0x2cdcda,_0x4f14bd,_0xb8fb8b,_0x273972,_0x22626e,_0x1cc648,_0x139464){const _0x3e5555=_0xe4d145;super(_0x35669a,_0x30f140,_0x388d30,_0x566d1d,_0x378f93,_0x4f14bd,_0xb8fb8b,_0x22626e,_0x273972),I(this,_0x3e5555(0x470),'conflict'),(this[_0x3e5555(0x69f)]=_0xf692d6,this[_0x3e5555(0x38b)]=_0x2cdcda,this['_localeService']=_0x1cc648,this[_0x3e5555(0x245)]=_0x139464,this[_0x3e5555(0x240)](),this[_0x3e5555(0x399)](),this[_0x3e5555(0x214)]());}['appendMutation'](){return this;}[_0xe4d145(0x269)](){return this;}[_0xe4d145(0x4ff)](){return this;}[_0xe4d145(0x4b2)](){return this;}['onRemoteRetry'](){return this;}[_0xe4d145(0x68d)](){return this;}[_0xe4d145(0x524)](){return this;}[_0xe4d145(0x47c)](){const _0x495ec2=_0xe4d145;throw new Error(_0x495ec2(0x67a));}['_clearLocalCache'](){const _0x1c5cac=_0xe4d145;this[_0x1c5cac(0x553)][_0x1c5cac(0x54e)](this[_0x1c5cac(0x573)],this[_0x1c5cac(0x5ba)],null,[]);}[_0xe4d145(0x240)](){const _0x50c1d3=_0xe4d145;this['_isPermissionRej']?this[_0x50c1d3(0x245)]['show']({'title':this[_0x50c1d3(0x298)]['t'](_0x50c1d3(0x3a2)),'content':this['_localeService']['t'](_0x50c1d3(0x202)),'type':_0x50c1d3(0x5b6),'duration':0x0}):this[_0x50c1d3(0x245)][_0x50c1d3(0x50e)]({'title':this[_0x50c1d3(0x298)]['t']('conflict.title'),'content':this['_localeService']['t']('conflict.content'),'type':_0x50c1d3(0x5b6),'duration':0x0});}[_0xe4d145(0x214)](){const _0x4ce0dc=_0xe4d145;this['_permissionService'][_0x4ce0dc(0x51c)](new k[(_0x4ce0dc(0x2a9))](this[_0x4ce0dc(0x573)])['id'],!0x1);}};fe=Ee([A(0x6,a['Inject'](a[_0xe4d145(0x3df)])),A(0x7,a[_0xe4d145(0x376)]),A(0x8,a[_0xe4d145(0x363)]),A(0x9,a[_0xe4d145(0x378)](exports['LocalCacheService'])),A(0xa,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0xb,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)])),A(0xc,ee['INotificationService'])],fe);let ve=class extends be{constructor(_0x1952d5,_0x25549b,_0x4f5c30,_0x198d28,_0x2fc68b,_0x1d6755,_0x521a28,_0x36068f,_0x17ad4d,_0x609079){const _0x3d432c=_0xe4d145;super(_0x1952d5,_0x25549b,_0x4f5c30,_0x198d28,_0x2fc68b,_0x17ad4d,_0x609079,_0x521a28,_0x36068f),I(this,_0x3d432c(0x470),_0x3d432c(0x537)),this[_0x3d432c(0x67b)]=_0x1d6755;}[_0xe4d145(0x5d6)](_0x460646){const _0x491800=_0xe4d145;return this[_0x491800(0x4d9)][_0x491800(0x46d)](_0x460646),this[_0x491800(0x6aa)](),this;}[_0xe4d145(0x269)](_0x52de05){const _0x5ef358=_0xe4d145;throw new Error(_0x5ef358(0x271));}[_0xe4d145(0x4ff)](){const _0xc4982a=_0xe4d145;throw new Error(_0xc4982a(0x4cf));}[_0xe4d145(0x4b2)](){const _0x45f960=_0xe4d145;throw new Error(_0x45f960(0x311));}[_0xe4d145(0x5dc)](){return this;}[_0xe4d145(0x68d)](){return this;}[_0xe4d145(0x524)](){const _0x40612e=_0xe4d145,{_injector:_0x10cd91,_pendingMutations:_0x132a76,_awaitingChangeset:_0x1c6f94,unitID:_0x425a06,_handler:_0x35373c,type:_0x16ee57}=this,_0x28034a=Ui(_0x10cd91,_0x425a06,_0x16ee57,_0x1c6f94,_0x132a76,_0x35373c);return _0x28034a instanceof ae?_0x28034a[_0x40612e(0x405)]():(_0x28034a instanceof ce||_0x28034a instanceof de)&&_0x28034a['resend'](),_0x28034a;}[_0xe4d145(0x47c)](){const _0x59f139=_0xe4d145;throw new Error(_0x59f139(0x4d8));}};ve=Ee([A(0x5,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),A(0x6,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0x7,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),A(0x8,a['ICommandService']),A(0x9,a[_0xe4d145(0x363)])],ve);let re=class extends be{constructor(_0x24c969,_0x4cc1b8,_0x516192,_0x1cd2d9,_0x5adc5f,_0x2b51c9,_0x1c2666,_0x37332c,_0x4aaf28,_0x11ab08,_0x1e0147,_0x127b1b,_0x10ae02,_0x4cf6f3){const _0x3689a4=_0xe4d145;super(_0x24c969,_0x4cc1b8,_0x516192,_0x1cd2d9,_0x1c2666,_0x127b1b,_0x10ae02,_0x4aaf28,_0x11ab08),I(this,_0x3689a4(0x470),'fetch_missing'),(this[_0x3689a4(0x455)]=_0x5adc5f,this[_0x3689a4(0x65f)]=_0x2b51c9,this[_0x3689a4(0x67b)]=_0x37332c,this[_0x3689a4(0x692)]=_0x1e0147,this[_0x3689a4(0x34a)]=_0x4cf6f3);}[_0xe4d145(0x3f8)](_0x1cfc14){const _0x1019dc=_0xe4d145;try{const _0x4a9597=[..._0x1cfc14,...this[_0x1019dc(0x65f)]],_0x19cb68=[this[_0x1019dc(0x3ce)]||this['_acknowledgedAwaitingChangeset']][_0x1019dc(0x28c)](_0x10346d=>!!_0x10346d);let _0xf314d4,_0x306e29;if(_0x19cb68[_0x1019dc(0x410)]){const _0x5339f2=this[_0x1019dc(0x34a)][_0x1019dc(0x532)](_0x4a9597,_0x19cb68,!0x1);if(!m['isTransformChangesetsSuccess'](_0x5339f2))throw _0x5339f2[_0x1019dc(0x5b6)];_0xf314d4=_0x5339f2[_0x1019dc(0x20a)],_0x306e29=_0x5339f2[_0x1019dc(0x2cd)];}else _0xf314d4=_0x4a9597,_0x306e29=[];let _0x55124f=this[_0x1019dc(0x4d9)];_0xf314d4['forEach'](_0x43e943=>{const _0x17a880=_0x1019dc;let _0x3397b5;if(_0x55124f[_0x17a880(0x410)]){const _0xa73aec=this[_0x17a880(0x34a)]['transformMutationsWithChangeset'](_0x43e943,_0x55124f);if(!m[_0x17a880(0x613)](_0xa73aec))throw _0xa73aec[_0x17a880(0x5b6)];_0x3397b5=_0xa73aec[_0x17a880(0x20a)],_0x55124f=_0xa73aec[_0x17a880(0x68f)];}else _0x3397b5=_0x43e943;this[_0x17a880(0x5f6)](_0x3397b5);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x1019dc(0x3ce)]&&_0x306e29[_0x1019dc(0x410)]&&(_0x306e29[0x0]['baseRev']=this[_0x1019dc(0x654)]());let _0x1e18a3;if(this[_0x1019dc(0x3ce)]&&_0x55124f[_0x1019dc(0x410)]!==0x0)_0x1e18a3=this[_0x1019dc(0x67b)][_0x1019dc(0x38c)](ce,this[_0x1019dc(0x573)],this['type'],_0x306e29[0x0],_0x55124f,this[_0x1019dc(0x590)],void 0x0);else{if(this['_awaitingChangeset']&&_0x55124f['length']===0x0)_0x306e29[0x0][_0x1019dc(0x502)]=this[_0x1019dc(0x654)](),_0x1e18a3=this[_0x1019dc(0x67b)][_0x1019dc(0x38c)](de,this[_0x1019dc(0x573)],this[_0x1019dc(0x5ba)],_0x306e29[0x0],this[_0x1019dc(0x590)]);else{if(_0x55124f[_0x1019dc(0x410)]!==0x0){const _0x323c16=this[_0x1019dc(0x67b)][_0x1019dc(0x38c)](ae,this[_0x1019dc(0x573)],this[_0x1019dc(0x5ba)],_0x55124f,this['_handler']);_0x323c16['_schedule'](),_0x1e18a3=_0x323c16;}else _0x1e18a3=this['_injector']['createInstance'](Oe,this['unitID'],this[_0x1019dc(0x5ba)],this[_0x1019dc(0x590)]);}}return _0x1e18a3[_0x1019dc(0x6aa)](),_0x1e18a3;}catch(_0xeb6238){return this[_0x1019dc(0x692)]['error']('[FetchMissState]',_0x1019dc(0x20c),_0xeb6238),this[_0x1019dc(0x67b)][_0x1019dc(0x38c)](fe,this['unitID'],this['type'],this[_0x1019dc(0x3ce)],this[_0x1019dc(0x4d9)],this[_0x1019dc(0x590)],!0x1);}}[_0xe4d145(0x47c)](){const _0x4bedbf=_0xe4d145;throw new Error(_0x4bedbf(0x3f5));}[_0xe4d145(0x5d6)](_0x44d042){const _0x1d3120=_0xe4d145;return this[_0x1d3120(0x4d9)][_0x1d3120(0x46d)](_0x44d042),this;}[_0xe4d145(0x269)](_0x19998a){const _0x3e6502=_0xe4d145;return this['_queuedRemoteChangesets'][_0x3e6502(0x46d)](_0x19998a),this;}[_0xe4d145(0x4ff)](_0x2d1d70){const _0x1db775=_0xe4d145;if(this[_0x1db775(0x3ce)])return this[_0x1db775(0x455)]=this[_0x1db775(0x3ce)],this[_0x1db775(0x3ce)]=null,this;throw new Error(_0x1db775(0x469));}['onRemoteRej'](_0x51cf88){const _0x3ad85e=_0xe4d145;return this[_0x3ad85e(0x69c)](!!(_0x51cf88!=null&&_0x51cf88[_0x3ad85e(0x696)]));}[_0xe4d145(0x5dc)](){return this;}['toggleOffline'](){const _0x1aa8d9=_0xe4d145;return this[_0x1aa8d9(0x67b)][_0x1aa8d9(0x38c)](ve,this['unitID'],this[_0x1aa8d9(0x5ba)],this[_0x1aa8d9(0x3ce)],this[_0x1aa8d9(0x4d9)],this['_handler']);}[_0xe4d145(0x524)](){return this;}[_0xe4d145(0x69c)](_0x44cd12){const _0x2de9e7=_0xe4d145;return this[_0x2de9e7(0x67b)][_0x2de9e7(0x38c)](fe,this[_0x2de9e7(0x573)],this[_0x2de9e7(0x5ba)],this[_0x2de9e7(0x3ce)],this['_pendingMutations'],this['_handler'],_0x44cd12);}};re=Ee([A(0x7,a['Inject'](a['Injector'])),A(0x8,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),A(0x9,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),A(0xa,a[_0xe4d145(0x27a)]),A(0xb,a[_0xe4d145(0x376)]),A(0xc,a[_0xe4d145(0x363)]),A(0xd,m[_0xe4d145(0x30c)])],re);function Ui(_0x34bebd,_0x1b988f,_0x4f5a21,_0x12f9f2,_0xd8284f,_0xc0d54f){const _0x45f64c=_0xe4d145;return _0x12f9f2&&_0xd8284f[_0x45f64c(0x410)]?_0x34bebd['createInstance'](ce,_0x1b988f,_0x4f5a21,_0x12f9f2,_0xd8284f,_0xc0d54f,void 0x0):_0x12f9f2?_0x34bebd[_0x45f64c(0x38c)](de,_0x1b988f,_0x4f5a21,_0x12f9f2,_0xc0d54f):_0xd8284f[_0x45f64c(0x410)]?_0x34bebd['createInstance'](ae,_0x1b988f,_0x4f5a21,_0xd8284f,_0xc0d54f):_0x34bebd[_0x45f64c(0x38c)](Oe,_0x1b988f,_0x4f5a21,_0xc0d54f);}var Xn=Object[_0xe4d145(0x641)],Jn=Object['getOwnPropertyDescriptor'],Mt=(_0x394ff1,_0x32cef1,_0x44869b,_0xc7a21c)=>{const _0x14c989=_0xe4d145;for(var _0xf178ed=_0xc7a21c>0x1?void 0x0:_0xc7a21c?Jn(_0x32cef1,_0x44869b):_0x32cef1,_0x2cf198=_0x394ff1[_0x14c989(0x410)]-0x1,_0x161a38;_0x2cf198>=0x0;_0x2cf198--)(_0x161a38=_0x394ff1[_0x2cf198])&&(_0xf178ed=(_0xc7a21c?_0x161a38(_0x32cef1,_0x44869b,_0xf178ed):_0x161a38(_0xf178ed))||_0xf178ed);return _0xc7a21c&&_0xf178ed&&Xn(_0x32cef1,_0x44869b,_0xf178ed),_0xf178ed;},H=(_0x584c7d,_0x486d2e)=>(_0x57ba4b,_0x372553)=>_0x486d2e(_0x57ba4b,_0x372553,_0x584c7d);exports['CollaborationEntity']=class extends a[_0xe4d145(0x48d)]{constructor(_0x72d7df,_0x4ae7aa,_0x1ea46c,_0x1dba32,_0x57d272,_0x4091bd,_0x3458f8,_0x44e17e,_0x2549f2,_0x15b826,_0x2a572a,_0x543718,_0x117700){const _0x1a19e9=_0xe4d145;super(),I(this,'_state$',new N['BehaviorSubject'](null)),I(this,'state$',this['_state$'][_0x1a19e9(0x572)]()),I(this,'_state'),I(this,_0x1a19e9(0x358),!0x1),I(this,_0x1a19e9(0x55d),''),I(this,'_changesetReqId',0x0),I(this,_0x1a19e9(0x63e),this[_0x1a19e9(0x492)][_0x1a19e9(0x213)](N['map'](_0x34f122=>_0x34f122?_0x34f122['status']:K['OFFLINE']),N[_0x1a19e9(0x53c)](0x1))),I(this,'_transitionLocked',!0x1),I(this,_0x1a19e9(0x29b),[]),(this[_0x1a19e9(0x573)]=_0x72d7df,this['session']=_0x4ae7aa,this['_type']=_0x1ea46c,this['_injector']=_0x1dba32,this[_0x1a19e9(0x553)]=_0x57d272,this[_0x1a19e9(0x3f9)]=_0x4091bd,this[_0x1a19e9(0x298)]=_0x3458f8,this['_revisionService']=_0x44e17e,this['_logService']=_0x2549f2,this[_0x1a19e9(0x200)]=_0x15b826,this['_messageService']=_0x2a572a,this[_0x1a19e9(0x38b)]=_0x543718,this['_singleActiveUnitService']=_0x117700);}get[_0xe4d145(0x3e3)](){return this['_state'];}async['init'](){const _0x21a45b=_0xe4d145;if(this['state'])throw new Error(_0x21a45b(0x3a3));await this[_0x21a45b(0x59f)]();}['pauseCollaboration'](){const _0x19d77e=_0xe4d145;return this[_0x19d77e(0x358)]=!0x0,a[_0x19d77e(0x456)](()=>{const _0xf619f0=_0x19d77e;this[_0xf619f0(0x358)]=!0x1,this[_0xf619f0(0x5d3)]();});}[_0xe4d145(0x41b)](_0x986df3){const _0x25f4c5=_0xe4d145;this[_0x25f4c5(0x25d)]=_0x986df3,this[_0x25f4c5(0x453)][_0x25f4c5(0x215)](_0x986df3);}async[_0xe4d145(0x59f)](){const _0x3754bf=_0xe4d145;var _0x19842f;this[_0x3754bf(0x41b)](await this[_0x3754bf(0x440)]()),this[_0x3754bf(0x627)]&&((_0x19842f=this['_singleActiveUnitService'])==null||_0x19842f[_0x3754bf(0x5f7)](this[_0x3754bf(0x573)]),this[_0x3754bf(0x5aa)](this[_0x3754bf(0x627)][_0x3754bf(0x487)](this[_0x3754bf(0x573)])[_0x3754bf(0x4e3)](_0x38b62a=>{const _0xec7fa9=_0x3754bf;this[_0xec7fa9(0x692)][_0xec7fa9(0x323)]('[CollaborationEntity]',_0xec7fa9(0x27c),_0x38b62a),_0x38b62a===yi['OTHER_CLIENTS_EDITING']?(this['_messageService']['show']({'content':this[_0xec7fa9(0x298)]['t'](_0xec7fa9(0x5f2)),'type':Ce[_0xec7fa9(0x5b2)][_0xec7fa9(0x698)]}),this[_0xec7fa9(0x38b)][_0xec7fa9(0x51c)](new k[(_0xec7fa9(0x2a9))](this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0xec7fa9(0x38b)][_0xec7fa9(0x51c)](new k[(_0xec7fa9(0x2a9))](this['unitID'])['id'],!0x0),this[_0xec7fa9(0x38b)][_0xec7fa9(0x3c9)](!0x0));})));let _0x22fab3=!0x1;return this[_0x3754bf(0x5aa)](this[_0x3754bf(0x27f)][_0x3754bf(0x5fa)][_0x3754bf(0x4e3)](_0x53e1d2=>{const _0x11356c=_0x3754bf;_0x53e1d2===ne['ONLINE']?this[_0x11356c(0x326)](_0x22fab3):_0x53e1d2===ne[_0x11356c(0x5ce)]&&(_0x22fab3=!0x0,this[_0x11356c(0x45f)]());})),this['disposeWithMe'](this[_0x3754bf(0x27f)][_0x3754bf(0x61b)][_0x3754bf(0x4e3)](_0x37a03e=>{const _0x101d65=_0x3754bf;try{switch(_0x37a03e[_0x101d65(0x432)]){case m['CollaborationEvent'][_0x101d65(0x527)]:{this['_onRemoteChangeset'](m[_0x101d65(0x6a6)](_0x37a03e[_0x101d65(0x32b)]));break;}case m[_0x101d65(0x563)][_0x101d65(0x258)]:{this['_onRemoteACK'](_0x37a03e[_0x101d65(0x32b)]);break;}case m['CollaborationEvent'][_0x101d65(0x280)]:{this[_0x101d65(0x45e)]();break;}case m['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x101d65(0x34f)](_0x37a03e['data']);break;}case m[_0x101d65(0x563)][_0x101d65(0x4f6)]:{this[_0x101d65(0x6c3)](_0x37a03e['data'][_0x101d65(0x666)][_0x101d65(0x2d7)](_0x2fc422=>m[_0x101d65(0x6a6)](_0x2fc422)));break;}case m[_0x101d65(0x563)][_0x101d65(0x61d)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x5d9aa8){throw console[_0x101d65(0x5b6)](_0x101d65(0x5ad),_0x5d9aa8),_0x5d9aa8;}})),this[_0x3754bf(0x25d)];}[_0xe4d145(0x4b3)](){this['_transitionLocked']=!0x1;}[_0xe4d145(0x5eb)](){const _0x57462d=_0xe4d145;if(this[_0x57462d(0x337)])throw new Error(_0x57462d(0x6b0));this[_0x57462d(0x337)]=!0x0;}['_onLocalMutation'](_0x5ea038){const _0x5fb293=_0xe4d145;this[_0x5fb293(0x5eb)](),this[_0x5fb293(0x41b)](this[_0x5fb293(0x25d)]['appendMutation'](_0x5ea038)),this[_0x5fb293(0x4b3)]();}['_onRemoteChangeset'](_0xe92bd0){const _0x4b9a11=_0xe4d145;if(!(_0xe92bd0[_0x4b9a11(0x53e)]<=this['_revisionService'][_0x4b9a11(0x562)](this[_0x4b9a11(0x573)]))){if(this[_0x4b9a11(0x358)]){this[_0x4b9a11(0x29b)][_0x4b9a11(0x46d)](_0xe92bd0);return;}this['_applyRemoteChangeset'](_0xe92bd0);}}[_0xe4d145(0x5d3)](){const _0x1e121a=_0xe4d145;this['_remoteChangesetQueue'][_0x1e121a(0x1ef)](_0x359316=>this[_0x1e121a(0x235)](_0x359316)),this['_remoteChangesetQueue']=[];}[_0xe4d145(0x235)](_0x5b8216){const _0x1e6b82=_0xe4d145,_0x41f38c=this[_0x1e6b82(0x3f9)]['interceptor'][_0x1e6b82(0x463)](this[_0x1e6b82(0x3f9)][_0x1e6b82(0x1fa)][_0x1e6b82(0x599)]()[_0x1e6b82(0x445)])(_0x5b8216[_0x1e6b82(0x59c)],null)||_0x5b8216[_0x1e6b82(0x59c)],_0x26070a={..._0x5b8216,'mutations':_0x41f38c};this[_0x1e6b82(0x5eb)](),this['_updateState'](this[_0x1e6b82(0x25d)][_0x1e6b82(0x269)](_0x26070a)),this[_0x1e6b82(0x4b3)]();}['_onRemoteACK'](_0x46d498){const _0x586d37=_0xe4d145;this[_0x586d37(0x5eb)](),this['_updateState'](this[_0x586d37(0x25d)][_0x586d37(0x4ff)](_0x46d498)),this['_unlockTransition']();}['_onRemoteRejected'](_0x72683d){const _0x26ffef=_0xe4d145;this[_0x26ffef(0x5eb)](),this[_0x26ffef(0x41b)](this[_0x26ffef(0x25d)]['onRemoteRej'](_0x72683d)),this[_0x26ffef(0x4b3)]();}[_0xe4d145(0x34f)](_0x2902e4){const _0x366934=_0xe4d145;this[_0x366934(0x5eb)](),this[_0x366934(0x41b)](this['_state'][_0x366934(0x5dc)](_0x2902e4)),this['_unlockTransition']();}[_0xe4d145(0x6c3)](_0x1186df){const _0x35ae60=_0xe4d145;if(!(this[_0x35ae60(0x25d)]instanceof re))throw new TypeError(_0x35ae60(0x352));const _0x67d15b=_0x1186df[_0x35ae60(0x2d7)](_0x5676c0=>{const _0x36650a=_0x35ae60,_0x3c4023=this['_compressMutationService'][_0x36650a(0x1fa)]['fetchThroughInterceptors'](this[_0x36650a(0x3f9)]['interceptor'][_0x36650a(0x599)]()['COMPRESS_MUTATION_APPLY'])(_0x5676c0[_0x36650a(0x59c)],null)||_0x5676c0[_0x36650a(0x59c)];return{..._0x5676c0,'mutations':_0x3c4023};});this[_0x35ae60(0x5eb)](),this[_0x35ae60(0x41b)](this[_0x35ae60(0x25d)][_0x35ae60(0x3f8)](_0x67d15b)),this[_0x35ae60(0x4b3)]();}[_0xe4d145(0x45f)](){const _0xaf73ae=_0xe4d145;this['_lockTransition'](),this[_0xaf73ae(0x41b)](this[_0xaf73ae(0x25d)]['toggleOffline']()),this[_0xaf73ae(0x4b3)]();}['_toggleOnline'](_0x45f7a2=!0x1){const _0x3eff7d=_0xe4d145;this['_lockTransition'](),this[_0x3eff7d(0x41b)](this['_state'][_0x3eff7d(0x524)]()),this[_0x3eff7d(0x4b3)]();const _0x196bd9=this[_0x3eff7d(0x25d)];_0x45f7a2&&_0x196bd9 instanceof Oe&&(this[_0x3eff7d(0x5eb)](),this['_updateState'](_0x196bd9['fetchMiss']()),this['_unlockTransition']());}async[_0xe4d145(0x440)](){return new Promise(_0x5cf689=>{const _0x23e108=_0x4e21;this[_0x23e108(0x27f)][_0x23e108(0x5fa)][_0x23e108(0x213)](N[_0x23e108(0x5ed)](0x1))[_0x23e108(0x4e3)](async _0x3d6750=>{const _0x401597=_0x23e108;_0x5cf689(await this['_createInitialStateImpl'](_0x3d6750===ne[_0x401597(0x665)]));});});}[_0xe4d145(0x2e6)](){const _0x15b5a8=_0xe4d145,_0x383971=this[_0x15b5a8(0x573)];return{'onStateChange':(_0x3b9ee2,_0x487275)=>{const _0x43d23b=_0x15b5a8;if(_0x3b9ee2!==this[_0x43d23b(0x25d)])throw new Error(_0x43d23b(0x40f)+_0x3b9ee2[_0x43d23b(0x470)]+'\x0aAfter:\x20'+_0x487275[_0x43d23b(0x470)]+_0x43d23b(0x2ed)+this[_0x43d23b(0x25d)][_0x43d23b(0x470)]);this[_0x43d23b(0x41b)](_0x487275);},'onSendChangeset':_0x439fb6=>{const _0x97b726=_0x15b5a8;_0x439fb6['sid']||(_0x439fb6['sid']=this[_0x97b726(0x55d)],_0x439fb6[_0x97b726(0x671)]=++this[_0x97b726(0x2fa)]);const _0x2e6457={'eventID':m[_0x97b726(0x563)][_0x97b726(0x1f0)],'data':{'unitID':_0x439fb6[_0x97b726(0x573)],'unitType':this[_0x97b726(0x685)],'changeset':_0x439fb6,'memberID':this[_0x97b726(0x27f)][_0x97b726(0x2d8)]()}};this['session'][_0x97b726(0x21b)](_0x2e6457,this[_0x97b726(0x573)]);},'onMissingChangesets':({from:_0x5af977,to:_0x7f9cf6})=>{const _0x2d8db3=_0x15b5a8;this[_0x2d8db3(0x692)][_0x2d8db3(0x323)](_0x2d8db3(0x325),_0x2d8db3(0x22b)+_0x5af977+_0x2d8db3(0x5b4)+_0x7f9cf6);const _0x600840={'eventID':m[_0x2d8db3(0x563)][_0x2d8db3(0x408)],'data':{'unitID':_0x383971,'unitType':this[_0x2d8db3(0x685)],'from':_0x5af977,'to':_0x7f9cf6}};this['session'][_0x2d8db3(0x21b)](_0x600840,this[_0x2d8db3(0x573)]);}};}async[_0xe4d145(0x439)](_0x401f1b){const _0x42da4e=_0xe4d145;var _0x1c5572,_0x142c37;const _0x366c5f=await this[_0x42da4e(0x553)][_0x42da4e(0x3a6)](this['unitID']),_0x1b5274=(_0x1c5572=_0x366c5f==null?void 0x0:_0x366c5f[_0x42da4e(0x59c)])!=null?_0x1c5572:[],_0x857abf=(_0x142c37=_0x366c5f==null?void 0x0:_0x366c5f[_0x42da4e(0x42d)])!=null?_0x142c37:null,_0xe1db4c=!!(_0x857abf!=null&&_0x857abf['sid'])&&!!(_0x857abf!=null&&_0x857abf[_0x42da4e(0x671)]);this[_0x42da4e(0x55d)]=_0xe1db4c?_0x857abf[_0x42da4e(0x2f1)]:On(),this[_0x42da4e(0x2fa)]=_0xe1db4c?_0x857abf['reqId']:0x0;const _0x4fe5b9=this['unitID'];try{this['_replayCachedMutations'](_0x857abf,_0x1b5274);}catch(_0x54968d){this[_0x42da4e(0x692)]['error'](_0x54968d);}const _0x53ab94=this[_0x42da4e(0x2e6)]();if(_0x401f1b){const _0x3276ca=Ui(this[_0x42da4e(0x67b)],_0x4fe5b9,this[_0x42da4e(0x685)],_0x857abf,_0x1b5274,_0x53ab94);return _0x3276ca instanceof ae?_0x3276ca[_0x42da4e(0x405)]():(_0x3276ca instanceof ce||_0x3276ca instanceof de)&&_0x3276ca[_0x42da4e(0x47c)](),_0x3276ca;}return this[_0x42da4e(0x67b)][_0x42da4e(0x38c)](ve,_0x4fe5b9,this[_0x42da4e(0x685)],_0x857abf,_0x1b5274,_0x53ab94);}[_0xe4d145(0x2bf)](_0x80fa15,_0x43e62e){const _0x16e9a2=_0xe4d145;var _0x4526a7,_0x66451c;const _0x2fb20b=this['_compressMutationService']['interceptor'][_0x16e9a2(0x463)](this[_0x16e9a2(0x3f9)][_0x16e9a2(0x1fa)][_0x16e9a2(0x599)]()[_0x16e9a2(0x445)]);(_0x4526a7=_0x2fb20b((_0x80fa15==null?void 0x0:_0x80fa15[_0x16e9a2(0x59c)])||[],null))==null||_0x4526a7['forEach'](_0x27c7f2=>this[_0x16e9a2(0x200)]['executeCommand'](_0x27c7f2['id'],_0x27c7f2[_0x16e9a2(0x3bf)])),(_0x66451c=_0x2fb20b(_0x43e62e||[],null))==null||_0x66451c[_0x16e9a2(0x1ef)](_0x3956c9=>this[_0x16e9a2(0x200)][_0x16e9a2(0x51a)](_0x3956c9['id'],_0x3956c9[_0x16e9a2(0x3bf)]));}},exports['CollaborationEntity']=Mt([H(0x3,a[_0xe4d145(0x378)](a['Injector'])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a[_0xe4d145(0x378)](m[_0xe4d145(0x2e9)])),H(0x6,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)])),H(0x7,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),H(0x8,a[_0xe4d145(0x27a)]),H(0x9,a[_0xe4d145(0x376)]),H(0xa,ee[_0xe4d145(0x40b)]),H(0xb,a[_0xe4d145(0x3df)]),H(0xc,a[_0xe4d145(0x244)](at))],exports[_0xe4d145(0x586)]),exports[_0xe4d145(0x5ea)]=class extends exports[_0xe4d145(0x586)]{constructor(_0x4b78c4,_0x4dc9de,_0x542b31,_0x4acc39,_0x1d9364,_0xeb1475,_0x52ece2,_0x4899b3,_0x4b8d5c,_0x5af606,_0x113468,_0x33743d,_0x2c1f5f,_0x8264be,_0x1ef124,_0x489421,_0x2eea51,_0x22abc5){const _0x282ad1=_0xe4d145;super(_0x4b78c4,_0x542b31,_0x4dc9de,_0x4acc39,_0x1d9364,_0xeb1475,_0x52ece2,_0x4899b3,_0x8264be,_0x1ef124,_0x489421,_0x2eea51,_0x22abc5),this['unitID']=_0x4b78c4,this[_0x282ad1(0x5ba)]=_0x4dc9de,this[_0x282ad1(0x508)]=_0x4b8d5c,this[_0x282ad1(0x541)]=_0x5af606,this[_0x282ad1(0x277)]=_0x113468,this[_0x282ad1(0x504)]=_0x33743d,this[_0x282ad1(0x416)]=_0x2c1f5f;}[_0xe4d145(0x2e6)](){const _0x1ef06c=_0xe4d145,_0x2d080b=super[_0x1ef06c(0x2e6)]();return _0x2d080b['onTransformIME']=_0x53cc47=>this[_0x1ef06c(0x541)][_0x1ef06c(0x608)](_0x53cc47),_0x2d080b[_0x1ef06c(0x2cb)]=_0x4d5972=>this[_0x1ef06c(0x277)][_0x1ef06c(0x39f)](_0x4d5972),_0x2d080b[_0x1ef06c(0x225)]=_0x13b5ae=>this[_0x1ef06c(0x504)][_0x1ef06c(0x34e)](_0x13b5ae),_0x2d080b[_0x1ef06c(0x6c6)]=_0x1b397b=>this['_docSyncEditingCollabCursorService'][_0x1ef06c(0x490)](_0x1b397b),_0x2d080b[_0x1ef06c(0x6bc)]=_0x22992f=>this[_0x1ef06c(0x541)][_0x1ef06c(0x293)](_0x22992f),_0x2d080b[_0x1ef06c(0x6ae)]=_0x29d7c0=>this['_docTransformStateCacheService'][_0x1ef06c(0x293)](_0x29d7c0),_0x2d080b;}async['_init'](){const _0x5cb4e8=_0xe4d145,_0x2de0ff=await super[_0x5cb4e8(0x59f)]();return this[_0x5cb4e8(0x5aa)](this[_0x5cb4e8(0x508)][_0x5cb4e8(0x365)]['pipe'](N[_0x5cb4e8(0x480)](this[_0x5cb4e8(0x56f)]))[_0x5cb4e8(0x4e3)](_0x46e34e=>{const _0x4f1c60=_0x5cb4e8;if(_0x46e34e==null)return;const {unitId:_0x1b7a9f,redoState:_0x3f3501,commandId:_0x18f1c6}=_0x46e34e;if(_0x1b7a9f!==this['unitID'])return;const _0x37b9b4={'id':_0x18f1c6,'type':a[_0x4f1c60(0x446)][_0x4f1c60(0x662)],'params':{'unitId':_0x1b7a9f,'actions':_0x3f3501['actions'],'textRanges':null}};this[_0x4f1c60(0x5a3)](_0x37b9b4);})),this[_0x5cb4e8(0x5aa)](this[_0x5cb4e8(0x200)][_0x5cb4e8(0x33a)]((_0x315d03,_0x187a76)=>{const _0x351f38=_0x5cb4e8;if(_0x315d03[_0x351f38(0x5ba)]!==a[_0x351f38(0x446)][_0x351f38(0x662)]||_0x187a76!=null&&_0x187a76[_0x351f38(0x4bf)]||_0x187a76!=null&&_0x187a76['onlyLocal']||_0x315d03['id']===Ie[_0x351f38(0x4ea)]['id'])return;const _0x329b06=_0x315d03[_0x351f38(0x3bf)];if((_0x329b06==null?void 0x0:_0x329b06[_0x351f38(0x4bc)])!==this['unitID'])return;const _0x242ec9=_0x315d03,_0xfa48c2=this[_0x351f38(0x3f9)][_0x351f38(0x1fa)][_0x351f38(0x463)](this[_0x351f38(0x3f9)]['interceptor'][_0x351f38(0x599)]()[_0x351f38(0x334)])([_0x242ec9],null)||[_0x242ec9];this[_0x351f38(0x5a3)](_0xfa48c2[0x0]);})),_0x2de0ff;}},exports[_0xe4d145(0x5ea)]=Mt([H(0x3,a['Inject'](a[_0xe4d145(0x2d6)])),H(0x4,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),H(0x5,a[_0xe4d145(0x378)](m[_0xe4d145(0x2e9)])),H(0x6,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)])),H(0x7,a[_0xe4d145(0x378)](m[_0xe4d145(0x69b)])),H(0x8,a[_0xe4d145(0x378)](J[_0xe4d145(0x37c)])),H(0x9,a['Inject'](Ze)),H(0xa,a[_0xe4d145(0x378)](et)),H(0xb,a[_0xe4d145(0x378)](tt)),H(0xc,a[_0xe4d145(0x378)](Ut)),H(0xd,a[_0xe4d145(0x27a)]),H(0xe,a[_0xe4d145(0x376)]),H(0xf,ee[_0xe4d145(0x40b)]),H(0x10,a[_0xe4d145(0x3df)]),H(0x11,a['Optional'](at))],exports[_0xe4d145(0x5ea)]),exports[_0xe4d145(0x364)]=class extends exports['CollaborationEntity']{constructor(_0x5cc806,_0x282982,_0x107a4a,_0x3f466d,_0x1468b1,_0x219929,_0x184ee9,_0x24f20a,_0x2d8eef,_0x3a01ce,_0x3a72c0,_0x501537,_0x80454b,_0x2ff900){const _0x22617d=_0xe4d145;super(_0x5cc806,_0x107a4a,_0x282982,_0x3f466d,_0x1468b1,_0x219929,_0x184ee9,_0x24f20a,_0x3a01ce,_0x3a72c0,_0x501537,_0x80454b,_0x2ff900),this[_0x22617d(0x573)]=_0x5cc806,this[_0x22617d(0x5ba)]=_0x282982,this[_0x22617d(0x21e)]=_0x2d8eef;}[_0xe4d145(0x2e6)](){const _0xc5a411=_0xe4d145,_0x4d451e=super[_0xc5a411(0x2e6)]();return _0x4d451e[_0xc5a411(0x225)]=_0x2b3845=>this['_sheetTransformSelectionsService'][_0xc5a411(0x34e)](_0x2b3845),_0x4d451e;}async[_0xe4d145(0x59f)](){const _0x29d168=_0xe4d145,_0x454ecb=await super['_init']();return this[_0x29d168(0x5aa)](this[_0x29d168(0x200)][_0x29d168(0x33a)]((_0x2522c9,_0x469466)=>{const _0xf24db1=_0x29d168;if(_0x2522c9[_0xf24db1(0x5ba)]!==a[_0xf24db1(0x446)][_0xf24db1(0x662)]||_0x469466!=null&&_0x469466['fromCollab']||_0x469466!=null&&_0x469466[_0xf24db1(0x418)])return;const _0x106005=_0x2522c9[_0xf24db1(0x3bf)];if((_0x106005==null?void 0x0:_0x106005['unitId'])!==this[_0xf24db1(0x573)])return;const _0x49781e=_0x2522c9,_0x53652e=this[_0xf24db1(0x3f9)][_0xf24db1(0x1fa)][_0xf24db1(0x463)](this[_0xf24db1(0x3f9)][_0xf24db1(0x1fa)][_0xf24db1(0x599)]()['COMPRESS_MUTATION_SEND'])([_0x49781e],null)||[_0x49781e];this[_0xf24db1(0x5a3)](_0x53652e[0x0]);})),_0x454ecb;}},exports[_0xe4d145(0x364)]=Mt([H(0x3,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),H(0x4,a['Inject'](exports['LocalCacheService'])),H(0x5,a[_0xe4d145(0x378)](m[_0xe4d145(0x2e9)])),H(0x6,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)])),H(0x7,a[_0xe4d145(0x378)](m['RevisionService'])),H(0x8,a[_0xe4d145(0x378)](Qe)),H(0x9,a['ILogService']),H(0xa,a[_0xe4d145(0x376)]),H(0xb,ee[_0xe4d145(0x40b)]),H(0xc,a['IPermissionService']),H(0xd,a[_0xe4d145(0x244)](at))],exports[_0xe4d145(0x364)]);var Zn=Object[_0xe4d145(0x641)],Qn=Object[_0xe4d145(0x31a)],er=(_0x3cdcb2,_0x5728e7,_0x238174,_0x8eeb66)=>{const _0x345656=_0xe4d145;for(var _0x4a4987=_0x8eeb66>0x1?void 0x0:_0x8eeb66?Qn(_0x5728e7,_0x238174):_0x5728e7,_0x46001c=_0x3cdcb2[_0x345656(0x410)]-0x1,_0x190430;_0x46001c>=0x0;_0x46001c--)(_0x190430=_0x3cdcb2[_0x46001c])&&(_0x4a4987=(_0x8eeb66?_0x190430(_0x5728e7,_0x238174,_0x4a4987):_0x190430(_0x4a4987))||_0x4a4987);return _0x8eeb66&&_0x4a4987&&Zn(_0x5728e7,_0x238174,_0x4a4987),_0x4a4987;},dt=(_0x961e3a,_0x26755a)=>(_0x209988,_0x3ae45d)=>_0x26755a(_0x209988,_0x3ae45d,_0x961e3a);exports['CollaborationController']=class extends a[_0xe4d145(0x48d)]{constructor(_0x42ba4a,_0x3d51bb,_0x7ac44b){const _0x3d4b25=_0xe4d145;super(),I(this,'_entities',new Map()),I(this,_0x3d4b25(0x509),new N[(_0x3d4b25(0x360))]()),(this[_0x3d4b25(0x67b)]=_0x42ba4a,this['_collabSessionService']=_0x3d51bb,this['_univerInstanceService']=_0x7ac44b,this[_0x3d4b25(0x59f)]());}[_0xe4d145(0x380)](){const _0x3d8c69=_0xe4d145;super['dispose'](),this['_entities'][_0x3d8c69(0x1ef)](_0x57e0de=>_0x57e0de[_0x3d8c69(0x380)]()),this[_0x3d8c69(0x401)][_0x3d8c69(0x24d)]();}[_0xe4d145(0x691)](_0x4006a0){const _0x5dc0ad=_0xe4d145;var _0x2b4e08;return(_0x2b4e08=this[_0x5dc0ad(0x401)][_0x5dc0ad(0x415)](_0x4006a0))!=null?_0x2b4e08:null;}[_0xe4d145(0x5f4)](_0x558358){const _0x2f4ae9=_0xe4d145,_0x394eb0=this[_0x2f4ae9(0x691)](_0x558358);return _0x394eb0?N['of'](_0x394eb0):this[_0x2f4ae9(0x509)][_0x2f4ae9(0x213)](V['filter'](_0x507500=>_0x507500[_0x2f4ae9(0x573)]===_0x558358));}[_0xe4d145(0x59f)](){const _0x24ab54=_0xe4d145;this[_0x24ab54(0x419)][_0x24ab54(0x448)](a['UniverInstanceType'][_0x24ab54(0x303)])[_0x24ab54(0x213)](N[_0x24ab54(0x480)](this[_0x24ab54(0x56f)]),V['delay'](0x10))[_0x24ab54(0x4e3)](async _0x134b05=>{const _0x2ed92e=_0x24ab54,_0x1b1a2a=_0x134b05[_0x2ed92e(0x393)](),_0x3440c2=await this['_startCollaboration'](_0x1b1a2a,ie['UNIVER_SHEET']);this[_0x2ed92e(0x401)]['set'](_0x1b1a2a,_0x3440c2);}),this['_univerInstanceService'][_0x24ab54(0x448)](a[_0x24ab54(0x349)][_0x24ab54(0x675)])[_0x24ab54(0x213)](N[_0x24ab54(0x480)](this[_0x24ab54(0x56f)]),V[_0x24ab54(0x48e)](0x10))[_0x24ab54(0x213)](V['filter'](_0x1f96d3=>!_0x1f96d3[_0x24ab54(0x393)]()[_0x24ab54(0x3f0)]('__')))[_0x24ab54(0x4e3)](async _0x24b83d=>{const _0x192c73=_0x24ab54,_0x386dd3=_0x24b83d[_0x192c73(0x393)](),_0x529355=await this['_startCollaboration'](_0x386dd3,ie[_0x192c73(0x675)]);this[_0x192c73(0x401)][_0x192c73(0x5c4)](_0x386dd3,_0x529355);}),N[_0x24ab54(0x5f0)](this[_0x24ab54(0x419)][_0x24ab54(0x631)](a[_0x24ab54(0x349)][_0x24ab54(0x303)]),this[_0x24ab54(0x419)][_0x24ab54(0x631)](a[_0x24ab54(0x349)]['UNIVER_DOC']))[_0x24ab54(0x213)](N[_0x24ab54(0x480)](this['dispose$']))[_0x24ab54(0x4e3)](_0x404a19=>{const _0x496398=_0x24ab54,_0x1fae8f=_0x404a19[_0x496398(0x393)](),_0x4ebdf5=this['_entities'][_0x496398(0x415)](_0x1fae8f);_0x4ebdf5&&(_0x4ebdf5['dispose'](),this[_0x496398(0x401)][_0x496398(0x3c2)](_0x1fae8f));});}async[_0xe4d145(0x5bf)](_0x2d90d4,_0x23259f){const _0x4d3d38=_0xe4d145,_0x9044f9=await this['_collabSessionService']['requireSession'](_0x2d90d4),_0x1647ef=this[_0x4d3d38(0x67b)][_0x4d3d38(0x38c)](this[_0x4d3d38(0x3b0)](_0x23259f),_0x2d90d4,_0x23259f,_0x9044f9);return await _0x1647ef['init'](),this['_entityInit$']['next'](_0x1647ef),_0x1647ef;}[_0xe4d145(0x3b0)](_0x141274){const _0x36c842=_0xe4d145;switch(_0x141274){case ie[_0x36c842(0x675)]:return exports[_0x36c842(0x5ea)];case ie[_0x36c842(0x303)]:return exports[_0x36c842(0x364)];default:throw new Error(_0x36c842(0x672)+_0x141274);}}},exports[_0xe4d145(0x1fb)]=er([dt(0x0,a[_0xe4d145(0x378)](a['Injector'])),dt(0x1,a[_0xe4d145(0x378)](exports[_0xe4d145(0x2e2)])),dt(0x2,a[_0xe4d145(0x61a)])],exports[_0xe4d145(0x1fb)]);var tr=Object['defineProperty'],ir=Object[_0xe4d145(0x31a)],nr=(_0xa606c9,_0x548c53,_0x51f529,_0x1cf5f6)=>{for(var _0x1bd7d7=_0x1cf5f6>0x1?void 0x0:_0x1cf5f6?ir(_0x548c53,_0x51f529):_0x548c53,_0x5c1813=_0xa606c9['length']-0x1,_0x5d1976;_0x5c1813>=0x0;_0x5c1813--)(_0x5d1976=_0xa606c9[_0x5c1813])&&(_0x1bd7d7=(_0x1cf5f6?_0x5d1976(_0x548c53,_0x51f529,_0x1bd7d7):_0x5d1976(_0x1bd7d7))||_0x1bd7d7);return _0x1cf5f6&&_0x1bd7d7&&tr(_0x548c53,_0x51f529,_0x1bd7d7),_0x1bd7d7;},Yt=(_0x267ab1,_0x5e9cb7)=>(_0x14bbc6,_0x590b2d)=>_0x5e9cb7(_0x14bbc6,_0x590b2d,_0x267ab1);let it=class extends a[_0xe4d145(0x48d)]{constructor(_0xf846dc,_0xe4e576){const _0x2e0f27=_0xe4d145;super(),this[_0x2e0f27(0x2a7)]=_0xf846dc,this[_0x2e0f27(0x4a6)]=_0xe4e576,this[_0x2e0f27(0x59f)]();}[_0xe4d145(0x59f)](){const _0x4040dd=_0xe4d145,_0x40c75c=this;this[_0x4040dd(0x5aa)](this[_0x4040dd(0x2a7)]['addClipboardHook']({'onBeforePasteImage':async _0x285488=>{const _0x20e59a=_0x4040dd,_0x122bae=await _0x40c75c[_0x20e59a(0x4a6)][_0x20e59a(0x3a0)](_0x285488);return _0x122bae?{'source':_0x122bae[_0x20e59a(0x5cc)],'imageSourceType':_0x122bae[_0x20e59a(0x452)]}:null;}}));}};it=nr([Yt(0x0,J[_0xe4d145(0x305)]),Yt(0x1,te[_0xe4d145(0x514)])],it);const qt=['purple300',_0xe4d145(0x2c6),_0xe4d145(0x3e9),_0xe4d145(0x6bf),_0xe4d145(0x460),'gold400'];class Nt extends a['Disposable']{constructor(){const _0x3def2a=_0xe4d145;super(...arguments),I(this,_0x3def2a(0x5ff),new Map()),I(this,_0x3def2a(0x27e),0x0);}[_0xe4d145(0x648)](_0x56633a){const _0x289099=_0xe4d145;if(this[_0x289099(0x5ff)][_0x289099(0x551)](_0x56633a))return this[_0x289099(0x5ff)][_0x289099(0x415)](_0x56633a);const _0x3b0947=qt[this[_0x289099(0x27e)]];return this[_0x289099(0x27e)]=(this['_colorIndex']+0x1)%qt[_0x289099(0x410)],this['_assignedColors'][_0x289099(0x5c4)](_0x56633a,_0x3b0947),_0x3b0947;}}var rr=Object[_0xe4d145(0x641)],sr=Object[_0xe4d145(0x31a)],or=(_0x37d1ec,_0x272a4e,_0x114235,_0x2b4e99)=>{const _0x579e2e=_0xe4d145;for(var _0x4066a3=_0x2b4e99>0x1?void 0x0:_0x2b4e99?sr(_0x272a4e,_0x114235):_0x272a4e,_0x327dc1=_0x37d1ec[_0x579e2e(0x410)]-0x1,_0x434b61;_0x327dc1>=0x0;_0x327dc1--)(_0x434b61=_0x37d1ec[_0x327dc1])&&(_0x4066a3=(_0x2b4e99?_0x434b61(_0x272a4e,_0x114235,_0x4066a3):_0x434b61(_0x4066a3))||_0x4066a3);return _0x2b4e99&&_0x4066a3&&rr(_0x272a4e,_0x114235,_0x4066a3),_0x4066a3;},pe=(_0x3527e,_0x560206)=>(_0x249853,_0x56dba9)=>_0x560206(_0x249853,_0x56dba9,_0x3527e);const ar=0x12c,cr=0x64;let bt=class extends a[_0xe4d145(0x48d)]{constructor(_0x52808a,_0x226133,_0x47fc6c,_0x3590a6,_0x8ef76b,_0x5335b5,_0x39b1fa,_0x16560d,_0x59d999){const _0x113ccf=_0xe4d145;super(),I(this,_0x113ccf(0x306),!0x1),I(this,_0x113ccf(0x59f),!0x1),I(this,_0x113ccf(0x23e),new N['BehaviorSubject'](new Map())),I(this,_0x113ccf(0x382),this[_0x113ccf(0x23e)]['asObservable']()),I(this,'_roomMembers$',new N[(_0x113ccf(0x67c))]([])),I(this,_0x113ccf(0x36f),this[_0x113ccf(0x682)][_0x113ccf(0x213)](N[_0x113ccf(0x3aa)](ar))),I(this,_0x113ccf(0x62b),a[_0x113ccf(0x40c)](_0x1775ac=>{const _0x38ea62=_0x113ccf,_0x5ec7e2={'eventID':m['CollaborationEvent'][_0x38ea62(0x2c1)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x38ea62(0x2d8)](),'selection':Di(_0x1775ac)}};this[_0x38ea62(0x589)][_0x38ea62(0x21b)](_0x5ec7e2,this[_0x38ea62(0x573)]);},cr)),(this[_0x113ccf(0x573)]=_0x52808a,this[_0x113ccf(0x589)]=_0x226133,this[_0x113ccf(0x67b)]=_0x47fc6c,this[_0x113ccf(0x39c)]=_0x3590a6,this[_0x113ccf(0x2a0)]=_0x8ef76b,this[_0x113ccf(0x61c)]=_0x5335b5,this['_transformService']=_0x39b1fa,this['_univerInstanceService']=_0x16560d,this[_0x113ccf(0x200)]=_0x59d999);}get['cursorInfo'](){const _0xf5618f=_0xe4d145;return this[_0xf5618f(0x23e)]['getValue']();}get[_0xe4d145(0x237)](){const _0x108620=_0xe4d145;return this[_0x108620(0x682)][_0x108620(0x523)]();}[_0xe4d145(0x380)](){const _0x746fbc=_0xe4d145;super[_0x746fbc(0x380)](),this['_cursorInfo$'][_0x746fbc(0x215)](new Map()),this[_0x746fbc(0x23e)][_0x746fbc(0x5e9)](),this[_0x746fbc(0x682)][_0x746fbc(0x215)]([]),this[_0x746fbc(0x682)]['complete']();}[_0xe4d145(0x355)](){const _0x38c804=_0xe4d145;this['_init']||(this[_0x38c804(0x59f)]=!0x0,this[_0x38c804(0x589)][_0x38c804(0x5fa)][_0x38c804(0x213)](N[_0x38c804(0x480)](this[_0x38c804(0x56f)]))[_0x38c804(0x4e3)](_0x330629=>{const _0x1e84ef=_0x38c804;_0x330629===ne[_0x1e84ef(0x665)]?this['_toggleOnline']():this[_0x1e84ef(0x45f)]();}),this[_0x38c804(0x589)][_0x38c804(0x61b)]['pipe'](N[_0x38c804(0x480)](this[_0x38c804(0x56f)]))[_0x38c804(0x4e3)](_0x27ecef=>{const _0x3a4ef2=_0x38c804,_0x114d87=_0x27ecef[_0x3a4ef2(0x432)];_0x114d87===m[_0x3a4ef2(0x563)][_0x3a4ef2(0x2c1)]&&this[_0x3a4ef2(0x436)](_0x27ecef),_0x114d87===m[_0x3a4ef2(0x563)][_0x3a4ef2(0x30d)]&&this['_onCursorDelete'](_0x27ecef);}),this['disposeWithMe'](this[_0x38c804(0x200)][_0x38c804(0x33a)](_0x4939ce=>{const _0x3634a4=_0x38c804,_0x43dd28=_0x4939ce[_0x3634a4(0x3bf)];_0x43dd28!=null&&this[_0x3634a4(0x306)]&&_0x4939ce['id']===Ie[_0x3634a4(0x301)]['id']&&_0x43dd28[_0x3634a4(0x4bc)]===this['unitID']&&_0x43dd28[_0x3634a4(0x54f)]===!0x1&&_0x43dd28[_0x3634a4(0x6a4)][_0x3634a4(0x410)]>0x0&&this[_0x3634a4(0x62b)](_0x43dd28[_0x3634a4(0x6a4)]);})),this[_0x38c804(0x61c)][_0x38c804(0x47f)]['pipe'](N[_0x38c804(0x480)](this[_0x38c804(0x56f)]))[_0x38c804(0x4e3)](_0x3e6a8d=>{const _0x10961e=_0x38c804;if((_0x3e6a8d==null?void 0x0:_0x3e6a8d[_0x10961e(0x573)])!==this[_0x10961e(0x573)])return;const _0x1f22c1={'eventID':m[_0x10961e(0x563)][_0x10961e(0x2c1)],'data':_0x3e6a8d};this[_0x10961e(0x436)](_0x1f22c1);}),this[_0x38c804(0x5aa)](this[_0x38c804(0x200)][_0x38c804(0x33a)](_0xa70d81=>{const _0x553d81=_0x38c804;if(_0xa70d81[_0x553d81(0x3bf)]==null)return;const _0x1c8df6=_0xa70d81[_0x553d81(0x3bf)];if(_0xa70d81['id']!==Ie['RichTextEditingMutation']['id']||_0x1c8df6[_0x553d81(0x4bc)]!==this[_0x553d81(0x573)])return;const _0x51663c={'id':_0x553d81(0x383),'params':_0x1c8df6},_0x1206ee=this[_0x553d81(0x327)];for(const [_0x1f401e,_0x63b0e8]of _0x1206ee){const _0x72d2db={'id':_0x553d81(0x383),'params':{'unitId':this[_0x553d81(0x573)],'actions':null,'textRanges':_0x63b0e8[_0x553d81(0x6a4)]}},_0x97a091=this[_0x553d81(0x34a)][_0x553d81(0x6a2)](_0x51663c,_0x72d2db,!0x1);if(m[_0x553d81(0x478)](_0x97a091))throw _0x97a091[_0x553d81(0x5b6)];_0x1206ee[_0x553d81(0x5c4)](_0x1f401e,{..._0x63b0e8,'ranges':_0x97a091['m2Prime'][_0x553d81(0x3bf)][_0x553d81(0x47b)]});}queueMicrotask(()=>{const _0x3949f3=_0x553d81;this[_0x3949f3(0x23e)][_0x3949f3(0x215)](_0x1206ee);});})));}['_onCursorUpdate'](_0xf8f3ee){const _0x13e3c0=_0xe4d145;var _0x37085c,_0x1a49d2;const {memberID:_0x5a09e5,selection:_0x1820d3}=_0xf8f3ee[_0x13e3c0(0x32b)],_0x53a1cd=kn(_0x1820d3),_0x45ead1=(_0x1a49d2=(_0x37085c=this['_memberService'][_0x13e3c0(0x208)](this['unitID'],_0x5a09e5))==null?void 0x0:_0x37085c[_0x13e3c0(0x3e7)])!=null?_0x1a49d2:_0x13e3c0(0x44a),_0xc9ea8b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5a09e5),'name':_0x45ead1,'ranges':_0x53a1cd},_0x349ebc=this[_0x13e3c0(0x327)];_0x349ebc['set'](_0x5a09e5,_0xc9ea8b),this[_0x13e3c0(0x23e)][_0x13e3c0(0x215)](_0x349ebc);}[_0xe4d145(0x5d5)](_0x5ac379){const _0x50ff0f=_0xe4d145,{memberID:_0x1af68a}=_0x5ac379[_0x50ff0f(0x32b)],_0x301f5a=this[_0x50ff0f(0x327)];_0x301f5a['delete'](_0x1af68a),this['_cursorInfo$'][_0x50ff0f(0x215)](_0x301f5a);}[_0xe4d145(0x326)](){const _0x73b34c=_0xe4d145;var _0x1d5762;if(this[_0x73b34c(0x306)]=!0x0,((_0x1d5762=this[_0x73b34c(0x419)][_0x73b34c(0x615)]())==null?void 0x0:_0x1d5762[_0x73b34c(0x393)]())!==this[_0x73b34c(0x573)])return;const _0x320ef9=this['_injector'][_0x73b34c(0x415)](Ie[_0x73b34c(0x5e3)])[_0x73b34c(0x6a8)]();Array['isArray'](_0x320ef9)&&_0x320ef9[_0x73b34c(0x410)]>0x0&&this['_updateLocalCursor'](_0x320ef9);}[_0xe4d145(0x45f)](){this['_online']=!0x1;}};bt=or([pe(0x2,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),pe(0x3,a[_0xe4d145(0x378)](Nt)),pe(0x4,a['Inject'](exports['MemberService'])),pe(0x5,a[_0xe4d145(0x378)](Ut)),pe(0x6,m[_0xe4d145(0x30c)]),pe(0x7,a['IUniverInstanceService']),pe(0x8,a[_0xe4d145(0x376)])],bt);var lr=Object['defineProperty'],hr=Object[_0xe4d145(0x31a)],_r=(_0x3f1233,_0x539c23,_0x1db413,_0x4a2c4d)=>{const _0x3da67c=_0xe4d145;for(var _0x5a910f=_0x4a2c4d>0x1?void 0x0:_0x4a2c4d?hr(_0x539c23,_0x1db413):_0x539c23,_0x4ebf7e=_0x3f1233[_0x3da67c(0x410)]-0x1,_0x217a11;_0x4ebf7e>=0x0;_0x4ebf7e--)(_0x217a11=_0x3f1233[_0x4ebf7e])&&(_0x5a910f=(_0x4a2c4d?_0x217a11(_0x539c23,_0x1db413,_0x5a910f):_0x217a11(_0x5a910f))||_0x5a910f);return _0x4a2c4d&&_0x5a910f&&lr(_0x539c23,_0x1db413,_0x5a910f),_0x5a910f;},Te=(_0x5f3a23,_0x43e1c1)=>(_0x45e6b4,_0x3f2610)=>_0x43e1c1(_0x45e6b4,_0x3f2610,_0x5f3a23);const ur=0x12c,dr=0x64,fr=()=>{let _0x35c8cc=[],_0x447e64=!0x1;return _0x20a117=>{const _0x288dea=_0x4e21;_0x35c8cc[_0x288dea(0x46d)](_0x20a117),_0x447e64||(_0x447e64=!0x0,setTimeout(()=>{const _0x48c755=_0x288dea;_0x35c8cc[_0x48c755(0x1ef)](_0x4d906c=>_0x4d906c()),_0x35c8cc=[],_0x447e64=!0x1;}));};};let Tt=class extends a['RxDisposable']{constructor(_0x308122,_0x3b0c2a,_0x4a3b81,_0xeef25,_0x3843c3,_0x357db9,_0xc2d97b,_0x169660){const _0x2b9962=_0xe4d145;super(),I(this,_0x2b9962(0x306),!0x1),I(this,_0x2b9962(0x59f),!0x1),I(this,'_cursorInfo$',new N['BehaviorSubject'](new Map())),I(this,_0x2b9962(0x382),this[_0x2b9962(0x23e)][_0x2b9962(0x572)]()),I(this,_0x2b9962(0x682),new N['BehaviorSubject']([])),I(this,_0x2b9962(0x36f),this['_roomMembers$'][_0x2b9962(0x213)](N[_0x2b9962(0x3aa)](ur))),I(this,_0x2b9962(0x62b),a[_0x2b9962(0x40c)]((_0x5d9aad,_0x38bcc9)=>{const _0x19bc60=_0x2b9962,_0x4fa313={'eventID':m[_0x19bc60(0x563)][_0x19bc60(0x2c1)],'data':{'unitID':this[_0x19bc60(0x573)],'memberID':this['_session']['getMemberID'](),'selection':$t[_0x19bc60(0x4ad)](_0x5d9aad,_0x38bcc9[_0x19bc60(0x54d)])}};this['_session'][_0x19bc60(0x21b)](_0x4fa313,this[_0x19bc60(0x573)]);},dr)),(this[_0x2b9962(0x573)]=_0x308122,this[_0x2b9962(0x589)]=_0x3b0c2a,this[_0x2b9962(0x67b)]=_0x4a3b81,this[_0x2b9962(0x39c)]=_0xeef25,this[_0x2b9962(0x2a0)]=_0x3843c3,this['_univerInstanceService']=_0x357db9,this[_0x2b9962(0x200)]=_0xc2d97b,this[_0x2b9962(0x43c)]=_0x169660);}get[_0xe4d145(0x327)](){const _0x8f82dc=_0xe4d145;return this[_0x8f82dc(0x23e)][_0x8f82dc(0x523)]();}get[_0xe4d145(0x237)](){const _0xb9bba8=_0xe4d145;return this['_roomMembers$'][_0xb9bba8(0x523)]();}[_0xe4d145(0x380)](){const _0x1fe74d=_0xe4d145;super['dispose'](),this[_0x1fe74d(0x23e)]['next'](new Map()),this[_0x1fe74d(0x23e)][_0x1fe74d(0x5e9)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x1fe74d(0x5e9)]();}[_0xe4d145(0x355)](){const _0x63cd9e=_0xe4d145;this[_0x63cd9e(0x59f)]||(this[_0x63cd9e(0x59f)]=!0x0,this[_0x63cd9e(0x589)][_0x63cd9e(0x5fa)]['pipe'](N[_0x63cd9e(0x480)](this[_0x63cd9e(0x56f)]))[_0x63cd9e(0x4e3)](_0x1b8b9b=>{const _0x53a80e=_0x63cd9e;_0x1b8b9b===ne[_0x53a80e(0x665)]?this[_0x53a80e(0x326)]():this[_0x53a80e(0x45f)]();}),this[_0x63cd9e(0x589)][_0x63cd9e(0x61b)][_0x63cd9e(0x213)](N['takeUntil'](this[_0x63cd9e(0x56f)]))[_0x63cd9e(0x4e3)](_0xb457c5=>{const _0x1c8a9b=_0x63cd9e,_0x13e24f=_0xb457c5[_0x1c8a9b(0x432)];_0x13e24f===m[_0x1c8a9b(0x563)][_0x1c8a9b(0x2c1)]&&this[_0x1c8a9b(0x436)](_0xb457c5),_0x13e24f===m[_0x1c8a9b(0x563)]['USERS_LEAVE']&&this[_0x1c8a9b(0x5d5)](_0xb457c5);}),this[_0x63cd9e(0x37b)](),this[_0x63cd9e(0x5aa)](this['_commandService']['onCommandExecuted'](_0x5c90dd=>{const _0x13bd40=_0x63cd9e;if(this[_0x13bd40(0x306)]&&_0x5c90dd['id']===k[_0x13bd40(0x2de)]['id']&&_0x5c90dd[_0x13bd40(0x3bf)][_0x13bd40(0x4bc)]===this[_0x13bd40(0x573)]){const _0x29b9ab=_0x5c90dd[_0x13bd40(0x3bf)];this['_updateLocalCursor'](_0x29b9ab['subUnitId'],_0x29b9ab[_0x13bd40(0x503)][0x0]);}})));}['_onCursorUpdate'](_0x4fa4fd){const _0x395030=_0xe4d145;var _0x17e1ca,_0xafe788;const {memberID:_0x91219a,selection:_0x558738}=_0x4fa4fd[_0x395030(0x32b)],{sheetName:_0x1db00e,range:_0xaa78ad}=$t[_0x395030(0x427)](_0x558738),_0x254655={'name':(_0xafe788=(_0x17e1ca=this['_memberService'][_0x395030(0x208)](this[_0x395030(0x573)],_0x91219a))==null?void 0x0:_0x17e1ca[_0x395030(0x3e7)])!=null?_0xafe788:'Unknown\x20user','range':this[_0x395030(0x21c)](_0x1db00e,_0xaa78ad),'sheetID':_0x1db00e,'color':this[_0x395030(0x39c)][_0x395030(0x648)](_0x91219a),'selection':_0x558738},_0x222960=this[_0x395030(0x327)];_0x222960[_0x395030(0x5c4)](_0x91219a,_0x254655),this[_0x395030(0x23e)][_0x395030(0x215)](_0x222960);}['_onCursorDelete'](_0x5decf9){const _0x287c2b=_0xe4d145,{memberID:_0x450ae6}=_0x5decf9[_0x287c2b(0x32b)],_0x5d2421=this[_0x287c2b(0x327)];_0x5d2421['delete'](_0x450ae6),this['_cursorInfo$'][_0x287c2b(0x215)](_0x5d2421);}[_0xe4d145(0x21c)](_0x1be69e,_0x28a61b){const _0x4b5920=_0xe4d145;var _0x4f18cf,_0x434095;const _0x3ef09d=(_0x434095=(_0x4f18cf=this[_0x4b5920(0x419)][_0x4b5920(0x574)](this[_0x4b5920(0x573)]))==null?void 0x0:_0x4f18cf[_0x4b5920(0x4b0)](_0x1be69e))==null?void 0x0:_0x434095[_0x4b5920(0x2eb)]();return(_0x3ef09d==null?void 0x0:_0x3ef09d['find'](_0x141b9c=>a[_0x4b5920(0x218)]['contains'](_0x141b9c,_0x28a61b)))||_0x28a61b;}[_0xe4d145(0x37b)](){const _0x4d6224=_0xe4d145,_0xe11a04=new a['DisposableCollection'](),_0x1fe1b2=fr(),_0x551091=()=>{const _0x453fd6=_0x4e21;_0xe11a04[_0x453fd6(0x380)]();const _0x5082bd=(_0x455c21,_0x40011e,_0x106c1f,_0x36dd90)=>{const _0x36d6a6=_0x453fd6;let _0x5dba7a=[];switch(_0x455c21['id']){case k[_0x36d6a6(0x283)][_0x36d6a6(0x33b)]:{_0x5dba7a=k['handleDeleteRangeMoveLeft'](_0x455c21,_0x36dd90);break;}case k[_0x36d6a6(0x283)]['DeleteRangeMoveUpCommandId']:{_0x5dba7a=k[_0x36d6a6(0x5c6)](_0x455c21,_0x36dd90);break;}case k[_0x36d6a6(0x283)][_0x36d6a6(0x659)]:{_0x5dba7a=k[_0x36d6a6(0x494)](_0x455c21,_0x36dd90);break;}case k['EffectRefRangId'][_0x36d6a6(0x43a)]:{_0x5dba7a=k[_0x36d6a6(0x27b)](_0x455c21,_0x36dd90);break;}case k['EffectRefRangId'][_0x36d6a6(0x56b)]:{_0x5dba7a=k['handleInsertRangeMoveRight'](_0x455c21,_0x36dd90);break;}case k['EffectRefRangId'][_0x36d6a6(0x513)]:{_0x5dba7a=k[_0x36d6a6(0x366)](_0x455c21,_0x36dd90);break;}case k[_0x36d6a6(0x283)][_0x36d6a6(0x24b)]:{_0x5dba7a=k[_0x36d6a6(0x5dd)](_0x455c21,_0x36dd90);break;}case k['EffectRefRangId'][_0x36d6a6(0x47d)]:{_0x5dba7a=k[_0x36d6a6(0x625)](_0x455c21,_0x36dd90);break;}case k[_0x36d6a6(0x283)][_0x36d6a6(0x210)]:{_0x5dba7a=k['handleIRemoveRow'](_0x455c21,_0x36dd90);break;}}const _0x49aea3=k['runRefRangeMutations'](_0x5dba7a,_0x36dd90),_0xcbebaf=this['cursorInfo'][_0x36d6a6(0x415)](_0x40011e);if(_0xcbebaf&&_0x49aea3){const _0xef8c2a={..._0xcbebaf,'range':_0x49aea3};this['cursorInfo'][_0x36d6a6(0x5c4)](_0x40011e,_0xef8c2a),_0x1fe1b2(()=>{const _0x1eac3e=_0x36d6a6,_0xc841b6=this[_0x1eac3e(0x43c)][_0x1eac3e(0x674)](_0x49aea3,_0x10dde1=>(_0xc841b6[_0x1eac3e(0x380)](),_0x5082bd(_0x10dde1,_0x40011e,_0x106c1f,_0x49aea3)));_0xe11a04['add'](_0xc841b6);});}return{'redos':[],'undos':[]};};this[_0x453fd6(0x327)][_0x453fd6(0x1ef)]((_0x2d73f0,_0x25940e)=>{const _0x459220=_0x453fd6,{range:_0x565ee9,sheetID:_0x298341}=_0x2d73f0,_0x186f8f=this[_0x459220(0x43c)][_0x459220(0x674)](_0x565ee9,_0x474741=>(_0x186f8f[_0x459220(0x380)](),_0x5082bd(_0x474741,_0x25940e,_0x298341,_0x565ee9)));_0xe11a04[_0x459220(0x583)](_0x186f8f);});};this[_0x4d6224(0x5aa)](a[_0x4d6224(0x456)](this[_0x4d6224(0x23e)][_0x4d6224(0x4e3)](()=>{_0x551091();})));}[_0xe4d145(0x326)](){const _0xbff3=_0xe4d145;var _0x27c476,_0x29f3c9;if(this[_0xbff3(0x306)]=!0x0,((_0x27c476=this[_0xbff3(0x419)][_0xbff3(0x615)]())==null?void 0x0:_0x27c476[_0xbff3(0x393)]())!==this[_0xbff3(0x573)])return;const _0x40e0d6=(_0x29f3c9=this[_0xbff3(0x67b)]['get'](k[_0xbff3(0x221)])['getCurrentSelections']())==null?void 0x0:_0x29f3c9[0x0],_0xfede6=this['_univerInstanceService'][_0xbff3(0x609)](a[_0xbff3(0x349)][_0xbff3(0x303)])[_0xbff3(0x57b)]();_0x40e0d6&&_0xfede6&&this[_0xbff3(0x62b)](_0xfede6[_0xbff3(0x3a7)](),_0x40e0d6);}[_0xe4d145(0x45f)](){const _0x38b9cf=_0xe4d145;this[_0x38b9cf(0x306)]=!0x1;}};Tt=_r([Te(0x2,a['Inject'](a[_0xe4d145(0x2d6)])),Te(0x3,a['Inject'](Nt)),Te(0x4,a['Inject'](exports[_0xe4d145(0x597)])),Te(0x5,a[_0xe4d145(0x61a)]),Te(0x6,a[_0xe4d145(0x376)]),Te(0x7,a[_0xe4d145(0x378)](k[_0xe4d145(0x2ef)]))],Tt);var vr=Object[_0xe4d145(0x641)],Sr=Object['getOwnPropertyDescriptor'],pr=(_0x105ee8,_0x4a49c8,_0x3c689b,_0xf2aa3e)=>{const _0xf30338=_0xe4d145;for(var _0x370519=_0xf2aa3e>0x1?void 0x0:_0xf2aa3e?Sr(_0x4a49c8,_0x3c689b):_0x4a49c8,_0x593c57=_0x105ee8[_0xf30338(0x410)]-0x1,_0x579500;_0x593c57>=0x0;_0x593c57--)(_0x579500=_0x105ee8[_0x593c57])&&(_0x370519=(_0xf2aa3e?_0x579500(_0x4a49c8,_0x3c689b,_0x370519):_0x579500(_0x370519))||_0x370519);return _0xf2aa3e&&_0x370519&&vr(_0x4a49c8,_0x3c689b,_0x370519),_0x370519;},ft=(_0x167282,_0x543dd0)=>(_0x22663a,_0x2798be)=>_0x543dd0(_0x22663a,_0x2798be,_0x167282);let ye=class extends a['RxDisposable']{constructor(_0x242f11,_0x227483,_0x31b131){const _0xefe417=_0xe4d145;super(),I(this,_0xefe417(0x401),new Map()),I(this,'_entityInit$',new N[(_0xefe417(0x360))]()),(this[_0xefe417(0x419)]=_0x242f11,this[_0xefe417(0x67b)]=_0x227483,this[_0xefe417(0x2fb)]=_0x31b131,this[_0xefe417(0x59f)]());}[_0xe4d145(0x380)](){const _0x24f0e7=_0xe4d145;super[_0x24f0e7(0x380)](),this['_entityInit$'][_0x24f0e7(0x5e9)](),this[_0x24f0e7(0x401)][_0x24f0e7(0x1ef)](_0x2776c1=>_0x2776c1['dispose']());}['getCollabCursors$'](_0x23fda9){const _0x55abf0=_0xe4d145;return this[_0x55abf0(0x401)]['has'](_0x23fda9)?this[_0x55abf0(0x401)][_0x55abf0(0x415)](_0x23fda9)['cursorInfo$']:this[_0x55abf0(0x509)][_0x55abf0(0x213)](N['filter'](_0x1c1d2b=>_0x1c1d2b[_0x55abf0(0x573)]===_0x23fda9),N[_0x55abf0(0x421)](_0x26968c=>_0x26968c[_0x55abf0(0x382)]));}[_0xe4d145(0x59f)](){const _0x9c2900=_0xe4d145;this[_0x9c2900(0x419)]['getTypeOfUnitAdded$'](a[_0x9c2900(0x349)][_0x9c2900(0x303)])[_0x9c2900(0x213)](N[_0x9c2900(0x480)](this['dispose$']))[_0x9c2900(0x4e3)](async _0x492d8c=>{const _0x3f72ce=_0x9c2900,_0x554655=_0x492d8c[_0x3f72ce(0x393)](),_0x2db059=await this[_0x3f72ce(0x4d4)](_0x554655);this['_entityInit$'][_0x3f72ce(0x215)](_0x2db059),this['_entities'][_0x3f72ce(0x5c4)](_0x554655,_0x2db059);}),this[_0x9c2900(0x419)]['getTypeOfUnitAdded$'](a[_0x9c2900(0x349)]['UNIVER_DOC'])[_0x9c2900(0x213)](N['takeUntil'](this['dispose$']))['pipe'](N['filter'](_0x2f8a4d=>!_0x2f8a4d[_0x9c2900(0x393)]()[_0x9c2900(0x3f0)]('__')))[_0x9c2900(0x4e3)](async _0x322bae=>{const _0xfa98d6=_0x9c2900,_0x1dc648=_0x322bae[_0xfa98d6(0x393)](),_0x421cf7=await this[_0xfa98d6(0x640)](_0x1dc648);this['_entityInit$']['next'](_0x421cf7),this[_0xfa98d6(0x401)][_0xfa98d6(0x5c4)](_0x1dc648,_0x421cf7);}),N[_0x9c2900(0x5f0)](this[_0x9c2900(0x419)][_0x9c2900(0x631)](a['UniverInstanceType'][_0x9c2900(0x675)]),this[_0x9c2900(0x419)][_0x9c2900(0x631)](a[_0x9c2900(0x349)][_0x9c2900(0x303)]))[_0x9c2900(0x213)](N['takeUntil'](this['dispose$']))[_0x9c2900(0x4e3)](_0xbba363=>{const _0x1177d2=_0x9c2900,_0x39289f=_0xbba363[_0x1177d2(0x393)](),_0x4b2b27=this[_0x1177d2(0x401)][_0x1177d2(0x415)](_0x39289f);_0x4b2b27&&(_0x4b2b27['dispose'](),this[_0x1177d2(0x401)]['delete'](_0x39289f));});}async[_0xe4d145(0x4d4)](_0x1a7365){const _0x304dea=_0xe4d145,_0x5146d5=await this[_0x304dea(0x2fb)][_0x304dea(0x5b8)](_0x1a7365),_0x2af39a=this[_0x304dea(0x67b)][_0x304dea(0x38c)](Tt,_0x1a7365,_0x5146d5);return _0x2af39a[_0x304dea(0x355)](),_0x2af39a;}async[_0xe4d145(0x640)](_0x3b76cf){const _0x6e826b=_0xe4d145,_0x36747a=await this[_0x6e826b(0x2fb)]['requireSession'](_0x3b76cf),_0x2589a4=this['_injector'][_0x6e826b(0x38c)](bt,_0x3b76cf,_0x36747a);return _0x2589a4[_0x6e826b(0x355)](),_0x2589a4;}};ye=pr([ft(0x0,a[_0xe4d145(0x61a)]),ft(0x1,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),ft(0x2,a[_0xe4d145(0x378)](exports[_0xe4d145(0x2e2)]))],ye);const xe=0x14,Kt=0xc8,vt=0x4,mr=0x5;function gr(_0x260707,_0x884beb){const _0x416293=_0xe4d145;let {radius:_0xf041e2,width:_0x508d3b,height:_0x32552b}=_0x884beb;_0xf041e2=_0xf041e2!=null?_0xf041e2:0x0,_0x508d3b=_0x508d3b!=null?_0x508d3b:0x1e,_0x32552b=_0x32552b!=null?_0x32552b:0x1e;let _0x182e56=0x0,_0x6c8fe5=0x0,_0x18d4f0=0x0;_0x182e56=_0x6c8fe5=_0x18d4f0=Math['min'](_0xf041e2,_0x508d3b/0x2,_0x32552b/0x2),_0x260707[_0x416293(0x587)](),_0x260707[_0x416293(0x5a4)](_0x182e56,0x0),_0x260707[_0x416293(0x60b)](_0x508d3b-_0x6c8fe5,0x0),_0x260707[_0x416293(0x4f1)](_0x508d3b-_0x6c8fe5,_0x6c8fe5,_0x6c8fe5,Math['PI']*0x3/0x2,0x0,!0x1),_0x260707[_0x416293(0x60b)](_0x508d3b,_0x32552b-_0x18d4f0),_0x260707[_0x416293(0x4f1)](_0x508d3b-_0x18d4f0,_0x32552b-_0x18d4f0,_0x18d4f0,0x0,Math['PI']/0x2,!0x1),_0x260707[_0x416293(0x60b)](0x0,_0x32552b),_0x260707[_0x416293(0x60b)](0x0,_0x182e56),_0x260707['arc'](_0x182e56,_0x182e56,_0x182e56,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x260707['closePath'](),_0x884beb[_0x416293(0x616)]&&(_0x260707[_0x416293(0x41f)](),_0x260707[_0x416293(0x46c)]=_0x884beb[_0x416293(0x616)],_0x884beb[_0x416293(0x68a)]==='evenodd'?_0x260707['fill'](_0x416293(0x4ba)):_0x260707['fill'](),_0x260707[_0x416293(0x2a1)]());}class ct extends Y['Shape']{constructor(_0x35c762,_0x5641d9){const _0x5f174e=_0xe4d145;super(_0x35c762,_0x5641d9),I(this,'color'),I(this,_0x5f174e(0x4da)),(this[_0x5f174e(0x229)]=_0x5641d9==null?void 0x0:_0x5641d9[_0x5f174e(0x229)],this[_0x5f174e(0x4da)]=_0x5641d9==null?void 0x0:_0x5641d9[_0x5f174e(0x4da)]);}static[_0xe4d145(0x567)](_0x472a2e,_0x9fb658){const _0x486f73=_0xe4d145,{text:_0x4ec38d,color:_0x1faee6}=_0x9fb658;_0x472a2e[_0x486f73(0x41f)](),_0x472a2e['font']=_0x486f73(0x379);const _0x5ad262=_0x472a2e['measureText'](_0x4ec38d)['width'],_0x683c67=Math[_0x486f73(0x5c1)](_0x5ad262+0x2*vt,Kt);gr(_0x472a2e,{'height':xe,'radius':0x4,'width':_0x683c67,'fill':_0x1faee6,'evented':!0x1}),_0x472a2e['fillStyle']='#FFF';const _0x4c926c=vt,_0x166d2a=xe-mr,_0x4c5632=Kt-0x2*vt;if(_0x5ad262>_0x4c5632){let _0x27ae71='',_0x2fd742=0x0;for(const _0x150821 of _0x4ec38d){const _0x4ae2f8=_0x472a2e[_0x486f73(0x25f)](_0x150821)[_0x486f73(0x5c2)];if(_0x2fd742+_0x4ae2f8<=_0x4c5632-_0x472a2e['measureText'](_0x486f73(0x290))[_0x486f73(0x5c2)])_0x27ae71+=_0x150821,_0x2fd742+=_0x4ae2f8;else{_0x27ae71+=_0x486f73(0x290);break;}}_0x472a2e[_0x486f73(0x41a)](_0x27ae71,_0x4c926c,_0x166d2a);}else _0x472a2e[_0x486f73(0x41a)](_0x4ec38d,_0x4c926c,_0x166d2a);_0x472a2e[_0x486f73(0x2a1)]();}[_0xe4d145(0x634)](_0x57d4be){ct['drawWith'](_0x57d4be,this);}}const St=_0xe4d145(0x321),Ir=_0xe4d145(0x4c2),Cr=_0xe4d145(0x390),we=0x6,Er=1.5,pt=0x4,br=1.5,Tr=_0xe4d145(0x4ab);class zt{constructor(_0x3342f1,_0xffe817,_0x170b72,_0x6bd9b4){const _0x2eb216=_0xe4d145;I(this,_0x2eb216(0x42e),[]),I(this,_0x2eb216(0x347),null),I(this,_0x2eb216(0x266),null),I(this,_0x2eb216(0x28f),null),I(this,'_hideTimer',null),I(this,_0x2eb216(0x3fd),null),(this[_0x2eb216(0x458)]=_0x3342f1,this['_scene']=_0xffe817,this[_0x2eb216(0x56a)]=_0x170b72,this['_document']=_0x6bd9b4,this[_0x2eb216(0x46b)]());}set['_hover'](_0x412e7c){const _0x47cedb=_0xe4d145;_0x412e7c?(this[_0x47cedb(0x28f)]&&this[_0x47cedb(0x28f)]['hide'](),this[_0x47cedb(0x266)]&&this['_textBubble'][_0x47cedb(0x50e)]()):(this[_0x47cedb(0x28f)]&&this[_0x47cedb(0x28f)]['show'](),this[_0x47cedb(0x266)]&&this[_0x47cedb(0x266)][_0x47cedb(0x655)]());}[_0xe4d145(0x380)](){const _0x1daead=_0xe4d145;for(const _0x40e24e of this[_0x1daead(0x42e)])_0x40e24e[_0x1daead(0x380)]();this[_0x1daead(0x266)]&&this[_0x1daead(0x266)][_0x1daead(0x380)](),this[_0x1daead(0x28f)]&&this['_anchorDot'][_0x1daead(0x380)](),this[_0x1daead(0x347)]&&this[_0x1daead(0x347)][_0x1daead(0x380)](),this[_0x1daead(0x3fd)]&&this[_0x1daead(0x3fd)]();}[_0xe4d145(0x46b)](){const _0x5924f2=_0xe4d145;var _0x4cee97;const {_docSkeleton:_0x3bac07,_document:_0xd80111}=this,{color:_0x3c42d7,name:_0x37411c,ranges:_0x2aac13}=this[_0x5924f2(0x458)],_0x33c73c=_0xd80111[_0x5924f2(0x512)](),{docsLeft:_0x5324e0,docsTop:_0x2731b9}=_0x33c73c,_0x59b237=new J[(_0x5924f2(0x2aa))](_0x33c73c,_0x3bac07);for(const {startOffset:_0x41739c,endOffset:_0x532470,rangeType:_0xf5aa02,segmentId:_0x486ade,segmentPage:_0x16845f,collapsed:_0x2ae3e5,isActive:_0x443df4}of _0x2aac13){const _0x4f0a8f=_0x3bac07[_0x5924f2(0x248)](_0x41739c,!0x0,_0x486ade,_0x16845f);let _0x15ecd5=_0x3bac07['findNodePositionByCharIndex'](_0x532470,!0x0,_0x486ade,_0x16845f);if(_0x15ecd5==null&&(_0x15ecd5=_0x3bac07[_0x5924f2(0x248)](_0x532470-0x1,!0x1,_0x486ade,_0x16845f)),_0x443df4){const {contentBoxPointGroup:_0x40ee5e}=_0x59b237['getRangePointData'](_0x15ecd5,_0x15ecd5);if(_0x40ee5e[_0x5924f2(0x410)]===0x0)continue;this[_0x5924f2(0x374)](_0x3c42d7,_0x40ee5e,_0x5324e0,_0x2731b9,_0x37411c),this[_0x5924f2(0x3fd)]=this[_0x5924f2(0x482)]();}if(_0x4f0a8f&&_0x15ecd5){if(_0xf5aa02===a[_0x5924f2(0x20f)][_0x5924f2(0x201)]){const _0x420eaa=new J['NodePositionConvertToRectRange'](_0x33c73c,_0x3bac07),{pointGroup:_0x31fd53}=(_0x4cee97=_0x420eaa[_0x5924f2(0x41e)](_0x4f0a8f,_0x15ecd5))!=null?_0x4cee97:{};if(_0x31fd53==null||_0x31fd53['length']===0x0)continue;this[_0x5924f2(0x544)](_0x3c42d7,_0x31fd53,_0x5324e0,_0x2731b9);}else{if(!_0x2ae3e5){const {borderBoxPointGroup:_0x5db0cd}=_0x59b237['getRangePointData'](_0x4f0a8f,_0x15ecd5);if(_0x5db0cd[_0x5924f2(0x410)]===0x0)continue;this[_0x5924f2(0x38a)](_0x3c42d7,_0x5db0cd,_0x5324e0,_0x2731b9);}}}}}[_0xe4d145(0x374)](_0x20d45e,_0x4f75c1,_0x5e9b00,_0xd01bf3,_0x26d59a){const _0xc488d=_0xe4d145,_0x2b3e38=this[_0xc488d(0x255)](_0x4f75c1),{left:_0x2f13a1,top:_0x4d87c1,height:_0x5add82}=_0x2b3e38,_0x1be32b=this[_0xc488d(0x688)](),_0x1cc7ca=br/_0x1be32b,_0x430789=new Y[(_0xc488d(0x57e))](St+a[_0xc488d(0x6bb)]['generateRandomId'](we),{'left':_0x2f13a1+_0x5e9b00-_0x1cc7ca,'top':_0x4d87c1+_0xd01bf3,'height':_0x5add82,'width':Er,'fill':_0x20d45e||Y[_0xc488d(0x30e)](a[_0xc488d(0x2a6)][_0xc488d(0x569)],0x0),'strokeWidth':_0x1cc7ca,'stroke':Tr,'evented':!0x0});this[_0xc488d(0x347)]=_0x430789,this['_scene'][_0xc488d(0x26e)](_0x430789,J[_0xc488d(0x24e)]);const _0xa529a1=new Y[(_0xc488d(0x57e))](St+a[_0xc488d(0x6bb)][_0xc488d(0x3ae)](we),{'left':_0x2f13a1+_0x5e9b00-_0x1cc7ca,'top':_0x4d87c1+_0xd01bf3-pt/0x2,'height':pt,'width':pt,'fill':_0x20d45e||Y['getColor'](a[_0xc488d(0x2a6)][_0xc488d(0x569)],0x0),'strokeWidth':0x0,'stroke':_0x20d45e||Y[_0xc488d(0x30e)](a[_0xc488d(0x2a6)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xa529a1,this[_0xc488d(0x457)][_0xc488d(0x26e)](_0xa529a1,J[_0xc488d(0x24e)]);const _0x1da9c5=new ct(St+a['Tools']['generateRandomId'](we),{'left':_0x2f13a1+_0x5e9b00-_0x1cc7ca,'top':_0x4d87c1+_0xd01bf3-xe,'text':_0x26d59a,'color':_0x20d45e});this[_0xc488d(0x266)]=_0x1da9c5,this['_scene'][_0xc488d(0x26e)](_0x1da9c5,J[_0xc488d(0x24e)]),this['_hover']=!0x1;}['_handleHover'](){const _0xc0478f=_0xe4d145,_0x5b8112=this[_0xc0478f(0x347)][_0xc0478f(0x26d)]['subscribeEvent'](()=>{const _0x3ff0a4=_0xc0478f;this[_0x3ff0a4(0x6c2)]=!0x0;}),_0x2bebb8=this[_0xc0478f(0x347)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x41f0e6=_0xc0478f;this['_hideTimer']&&clearTimeout(this[_0x41f0e6(0x256)]),this['_hideTimer']=setTimeout(()=>{const _0x4e9d95=_0x41f0e6;this[_0x4e9d95(0x6c2)]=!0x1;},0x7d0);});return()=>{const _0x115207=_0xc0478f;_0x5b8112['unsubscribe'](),_0x2bebb8[_0x115207(0x3fa)]();};}[_0xe4d145(0x38a)](_0x206e13,_0x34e23b,_0x54cb5d,_0x210e9b){const _0x35ac1d=_0xe4d145,_0x4a8c68=new a[(_0x35ac1d(0x525))](_0x206e13)[_0x35ac1d(0x3db)](0.2)['toRgbString'](),_0x2e5e42=new Y['RegularPolygon'](Ir+a[_0x35ac1d(0x6bb)]['generateRandomId'](we),{'pointsGroup':_0x34e23b,'fill':_0x4a8c68||Y[_0x35ac1d(0x30e)](a[_0x35ac1d(0x2a6)][_0x35ac1d(0x569)],0.2),'left':_0x54cb5d,'top':_0x210e9b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35ac1d(0x46d)](_0x2e5e42),this[_0x35ac1d(0x457)][_0x35ac1d(0x26e)](_0x2e5e42,J[_0x35ac1d(0x24e)]);}[_0xe4d145(0x544)](_0x32d291,_0x3afac8,_0x88715d,_0xb1a59b){const _0x2df5c2=_0xe4d145,_0x4bcc27=new a['ColorKit'](_0x32d291)[_0x2df5c2(0x3db)](0.2)['toRgbString'](),_0xba5ffe=new Y[(_0x2df5c2(0x268))](Cr+a[_0x2df5c2(0x6bb)][_0x2df5c2(0x3ae)](we),{'pointsGroup':_0x3afac8,'fill':_0x4bcc27||Y[_0x2df5c2(0x30e)](a[_0x2df5c2(0x2a6)][_0x2df5c2(0x569)],0.2),'left':_0x88715d,'top':_0xb1a59b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2df5c2(0x42e)]['push'](_0xba5ffe),this['_scene']['addObject'](_0xba5ffe,J[_0x2df5c2(0x24e)]);}[_0xe4d145(0x255)](_0x14315c){const _0x4035e0=_0x14315c[0x0],_0x4a7db1=_0x4035e0[0x0],_0x51bef1=_0x4035e0[0x2],{x:_0x2d46d5,y:_0x1cda04}=_0x4a7db1,{x:_0x4851f6,y:_0x8af7e}=_0x51bef1;return{'left':_0x2d46d5,'top':_0x1cda04,'width':_0x4851f6-_0x2d46d5,'height':_0x8af7e-_0x1cda04};}[_0xe4d145(0x688)](){const _0x2571b4=_0xe4d145,{scaleX:_0x2999f1,scaleY:_0x1d19ba}=this[_0x2571b4(0x457)]['getAncestorScale']();return Math[_0x2571b4(0x50a)](_0x2999f1,_0x1d19ba);}}var Rr=Object[_0xe4d145(0x641)],Or=Object[_0xe4d145(0x31a)],yr=(_0x1e3398,_0x4b7ba5,_0x3a6254,_0xdcc25d)=>{const _0x3c4b8a=_0xe4d145;for(var _0x26bcc4=_0xdcc25d>0x1?void 0x0:_0xdcc25d?Or(_0x4b7ba5,_0x3a6254):_0x4b7ba5,_0x297779=_0x1e3398[_0x3c4b8a(0x410)]-0x1,_0x47cb13;_0x297779>=0x0;_0x297779--)(_0x47cb13=_0x1e3398[_0x297779])&&(_0x26bcc4=(_0xdcc25d?_0x47cb13(_0x4b7ba5,_0x3a6254,_0x26bcc4):_0x47cb13(_0x26bcc4))||_0x26bcc4);return _0xdcc25d&&_0x26bcc4&&Rr(_0x4b7ba5,_0x3a6254,_0x26bcc4),_0x26bcc4;},je=(_0x5b69fe,_0x4df3bc)=>(_0x3bcd7a,_0x4a4dfc)=>_0x4df3bc(_0x3bcd7a,_0x4a4dfc,_0x5b69fe);let Rt=class extends a[_0xe4d145(0x48d)]{constructor(_0x1f19e3,_0x3d1cf5,_0x393008,_0x59b0b9,_0x9ff79f){const _0xe72219=_0xe4d145;super(),I(this,_0xe72219(0x639),[]),I(this,_0xe72219(0x34b),[]),(this[_0xe72219(0x391)]=_0x1f19e3,this[_0xe72219(0x2c3)]=_0x3d1cf5,this[_0xe72219(0x591)]=_0x393008,this['_commandService']=_0x59b0b9,this['_themeService']=_0x9ff79f,this[_0xe72219(0x59f)]());}['_init'](){const _0x1992f4=_0xe4d145,_0x1a674e=this[_0x1992f4(0x391)]['unitId'],_0x539cad=this[_0x1992f4(0x2c3)];this[_0x1992f4(0x5aa)](N['combineLatest']([this[_0x1992f4(0x591)][_0x1992f4(0x1f9)](_0x1a674e),this[_0x1992f4(0x664)][_0x1992f4(0x3d9)]])['pipe'](V[_0x1992f4(0x2d7)](([_0x8dec33,_0x354c97])=>({'skeleton':_0x539cad[_0x1992f4(0x22c)](),'cursors':[..._0x8dec33[_0x1992f4(0x40a)]()][_0x1992f4(0x309)](_0x262773=>({..._0x262773,'color':_0x354c97[_0x262773[_0x1992f4(0x229)]]}))})))[_0x1992f4(0x4e3)](_0x5298d4=>{const _0x355cd4=_0x1992f4;if(this[_0x355cd4(0x315)](),_0x5298d4){const {skeleton:_0x1f41d5,cursors:_0x37d14a}=_0x5298d4;this[_0x355cd4(0x697)](_0x1f41d5,_0x37d14a);}})),this[_0x1992f4(0x64c)](),this[_0x1992f4(0x46a)]();}[_0xe4d145(0x697)](_0x26cd86,_0x1342ca){const _0x2f7bf3=_0xe4d145,{scene:_0x3e7ef9,mainComponent:_0xa646b4}=this['_context'],_0x4ff4eb=_0x1342ca['map'](_0x44fa51=>new zt(_0x44fa51,_0x3e7ef9,_0x26cd86,_0xa646b4));this['_cursorShapes']=_0x4ff4eb,this[_0x2f7bf3(0x34b)]=_0x1342ca;}[_0xe4d145(0x66c)](){const _0x3e0395=_0xe4d145;this[_0x3e0395(0x315)]();const {scene:_0xfac4ac,mainComponent:_0x832d28}=this['_context'],_0x3fea96=this[_0x3e0395(0x2c3)][_0x3e0395(0x22c)](),_0x504bb5=this[_0x3e0395(0x34b)]['map'](_0x23ad42=>new zt(_0x23ad42,_0xfac4ac,_0x3fea96,_0x832d28));this['_cursorShapes']=_0x504bb5;}[_0xe4d145(0x315)](){const _0x1d0012=_0xe4d145;this['_cursorShapes'][_0x1d0012(0x1ef)](_0x36c4d8=>_0x36c4d8[_0x1d0012(0x380)]()),this['_cursorShapes']=[];}[_0xe4d145(0x46a)](){const _0x4a756f=_0xe4d145,_0x19e641=[J[_0x4a756f(0x279)]['id']];this[_0x4a756f(0x5aa)](this[_0x4a756f(0x200)][_0x4a756f(0x33a)](_0xaa3bb9=>{const _0xd0299e=_0x4a756f;_0x19e641[_0xd0299e(0x67f)](_0xaa3bb9['id'])&&_0xaa3bb9[_0xd0299e(0x3bf)][_0xd0299e(0x4bc)]===this[_0xd0299e(0x391)][_0xd0299e(0x4bc)]&&this[_0xd0299e(0x66c)]();}));}[_0xe4d145(0x64c)](){const _0x410df6=_0xe4d145;this['disposeWithMe'](a[_0x410df6(0x60d)](this['_context'][_0x410df6(0x430)][_0x410df6(0x33d)])[_0x410df6(0x213)](V['filter'](_0xe2f474=>_0xe2f474[_0x410df6(0x5ba)]===Y[_0x410df6(0x4b6)][_0x410df6(0x593)]),V['throttleTime'](0x10))[_0x410df6(0x4e3)](()=>{const _0x1d2297=_0x410df6;this[_0x1d2297(0x66c)]();}));}};Rt=yr([je(0x1,a[_0xe4d145(0x378)](Ie[_0xe4d145(0x489)])),je(0x2,a[_0xe4d145(0x378)](ye)),je(0x3,a[_0xe4d145(0x376)]),je(0x4,a[_0xe4d145(0x378)](a[_0xe4d145(0x657)]))],Rt);const Dr=0x1,Pr=1.5;class Mi extends Y[_0xe4d145(0x2c2)]{constructor(_0x12bfbc,_0x34a771){const _0x426ab7=_0xe4d145;super(_0x12bfbc,_0x34a771),I(this,_0x426ab7(0x3f3)),I(this,_0x426ab7(0x663),!0x1),I(this,_0x426ab7(0x20e)),I(this,_0x426ab7(0x484),''),I(this,_0x426ab7(0x601),_0x426ab7(0x3a4)),I(this,'_backgroundColor'),(_0x34a771&&this['setShapeProps'](_0x34a771),this['onPointerEnter$'][_0x426ab7(0x510)](()=>this[_0x426ab7(0x6c1)]({'hovered':!0x0})),this[_0x426ab7(0x52d)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xe4d145(0x6c1)](_0x4fc0b1){const _0x5e71e9=_0xe4d145;var _0x5ed30d,_0x3650fd,_0x1ea4d2,_0x55a59f,_0x8b4d24,_0x59b202;this['_color']=(_0x5ed30d=_0x4fc0b1['color'])!=null?_0x5ed30d:this[_0x5e71e9(0x3f3)],this[_0x5e71e9(0x663)]=(_0x3650fd=_0x4fc0b1[_0x5e71e9(0x51f)])!=null?_0x3650fd:this[_0x5e71e9(0x663)],this['_range']=(_0x1ea4d2=_0x4fc0b1['range'])!=null?_0x1ea4d2:this[_0x5e71e9(0x20e)],this[_0x5e71e9(0x484)]=(_0x55a59f=_0x4fc0b1[_0x5e71e9(0x3e7)])!=null?_0x55a59f:this[_0x5e71e9(0x484)],this[_0x5e71e9(0x601)]=(_0x8b4d24=_0x4fc0b1[_0x5e71e9(0x329)])!=null?_0x8b4d24:this[_0x5e71e9(0x601)],this['_backgroundColor']=(_0x59b202=_0x4fc0b1[_0x5e71e9(0x351)])!=null?_0x59b202:this[_0x5e71e9(0x2f2)],this[_0x5e71e9(0x3ef)]({'width':_0x4fc0b1['width'],'height':_0x4fc0b1[_0x5e71e9(0x679)]});}[_0xe4d145(0x581)](_0x2e45d7){const _0x10a8f4=_0xe4d145,{row:_0x348ad4,column:_0x4d12ea}=_0x2e45d7;if(_0x348ad4>=this['_range']['startRow']&&_0x348ad4<=this[_0x10a8f4(0x20e)]['endRow']&&_0x4d12ea>=this['_range']['startColumn']&&_0x4d12ea<=this['_range'][_0x10a8f4(0x2f0)]){this[_0x10a8f4(0x6c1)]({'hovered':!0x0});return;}this[_0x10a8f4(0x6c1)]({'hovered':!0x1});}[_0xe4d145(0x316)](_0x174a33){return!0x1;}[_0xe4d145(0x634)](_0x3fb7a5){const _0x45c5a7=_0xe4d145;Y[_0x45c5a7(0x57e)][_0x45c5a7(0x567)](_0x3fb7a5,{'width':this[_0x45c5a7(0x5c2)],'height':this[_0x45c5a7(0x679)],'strokeWidth':Pr,'stroke':this[_0x45c5a7(0x3f3)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x45c5a7(0x663)]&&(_0x3fb7a5[_0x45c5a7(0x41f)](),_0x3fb7a5[_0x45c5a7(0x3f7)](0x1,0x0,0x0,0x1,this['width'],this[_0x45c5a7(0x601)]===_0x45c5a7(0x534)?0x0:-xe),ct[_0x45c5a7(0x567)](_0x3fb7a5,{'text':this[_0x45c5a7(0x484)],'color':this['_color']}),_0x3fb7a5['restore']());}}var wr=Object[_0xe4d145(0x641)],Ur=Object['getOwnPropertyDescriptor'],Mr=(_0x35fedd,_0x92cf3b,_0x11bca8,_0x5f47b6)=>{for(var _0x58eb74=_0x5f47b6>0x1?void 0x0:_0x5f47b6?Ur(_0x92cf3b,_0x11bca8):_0x92cf3b,_0xba87ff=_0x35fedd['length']-0x1,_0x40498c;_0xba87ff>=0x0;_0xba87ff--)(_0x40498c=_0x35fedd[_0xba87ff])&&(_0x58eb74=(_0x5f47b6?_0x40498c(_0x92cf3b,_0x11bca8,_0x58eb74):_0x40498c(_0x58eb74))||_0x58eb74);return _0x5f47b6&&_0x58eb74&&wr(_0x92cf3b,_0x11bca8,_0x58eb74),_0x58eb74;},mt=(_0x495e72,_0x3dee2a)=>(_0xd14cab,_0x501d03)=>_0x3dee2a(_0xd14cab,_0x501d03,_0x495e72);const Nr=0x1389;let Ot=class extends a[_0xe4d145(0x48d)]{constructor(_0xd82a3e,_0x1d2302,_0x71c7e1,_0x9666d1){const _0x1bfd6b=_0xe4d145;super(),I(this,_0x1bfd6b(0x34b),new Set()),I(this,_0x1bfd6b(0x45c),null),(this[_0x1bfd6b(0x391)]=_0xd82a3e,this[_0x1bfd6b(0x23f)]=_0x1d2302,this['_collabCursorController']=_0x71c7e1,this[_0x1bfd6b(0x664)]=_0x9666d1,this[_0x1bfd6b(0x59f)]());}['_init'](){const _0x1a4786=_0xe4d145;this[_0x1a4786(0x23f)][_0x1a4786(0x5af)]['pipe'](V[_0x1a4786(0x480)](this['dispose$']),V[_0x1a4786(0x421)](_0x34436a=>{const _0xcc28ab=_0x1a4786;if(_0x34436a){const _0x48a0d5=_0x34436a[_0xcc28ab(0x30b)];return N[_0xcc28ab(0x481)](this[_0xcc28ab(0x591)][_0xcc28ab(0x1f9)](this['_context'][_0xcc28ab(0x4bc)]),this[_0xcc28ab(0x664)]['currentTheme$'])['pipe'](V[_0xcc28ab(0x2d7)](([_0x36e72c,_0x5533ae])=>{const _0x2bfadb=_0xcc28ab,_0x403b94=new Map();return _0x36e72c[_0x2bfadb(0x1ef)]((_0x35b1da,_0x8bca4f)=>{const _0x3d554a=_0x2bfadb;if(_0x35b1da[_0x3d554a(0x43b)]===_0x48a0d5){const _0xcdac54={..._0x35b1da};_0xcdac54[_0x3d554a(0x229)]=_0x5533ae[_0x35b1da['color']],_0x403b94[_0x3d554a(0x5c4)](_0x8bca4f,_0xcdac54);}}),{'skeleton':_0x34436a,'cursors':_0x403b94};}));}return N['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x49a4af,cursors:_0x41907d})=>{const _0x1a8428=_0x1a4786;this[_0x1a8428(0x315)](),_0x49a4af&&this['_updateCollabCursors'](_0x49a4af,_0x41907d);}),this[_0x1a4786(0x23f)]['currentSkeleton$'][_0x1a4786(0x4e3)](_0x16c837=>{const _0x461553=_0x1a4786;if(_0x16c837==null)return;const {skeleton:_0x2e9c86}=_0x16c837,{scene:_0x3ed778}=this['_context'];_0x3ed778[_0x461553(0x437)][_0x461553(0x510)](a[_0x461553(0x40c)](_0x1d926=>{const _0x43d66a=_0x461553;var _0xebb70e,_0x4388d1;const {offsetX:_0x2b3208,offsetY:_0x46b281}=_0x1d926,{x:_0x2db344,y:_0x34b7f1}=_0x3ed778[_0x43d66a(0x565)](Y['Vector2'][_0x43d66a(0x498)]([_0x2b3208,_0x46b281])),{scaleX:_0x50d838,scaleY:_0x1a6d50}=_0x3ed778[_0x43d66a(0x1f4)](),_0x25f95f=_0x3ed778['getViewport'](Y[_0x43d66a(0x6c0)][_0x43d66a(0x5cb)]),_0x2b2195=_0x3ed778[_0x43d66a(0x2ca)](Y[_0x43d66a(0x44e)][_0x43d66a(0x498)]([_0x2db344,_0x34b7f1]),_0x25f95f),_0x3d2f42=_0x2e9c86[_0x43d66a(0x4fb)](_0x2b3208,_0x46b281,_0x50d838,_0x1a6d50,_0x2b2195);((_0xebb70e=this[_0x43d66a(0x45c)])==null?void 0x0:_0xebb70e[_0x43d66a(0x680)])===_0x3d2f42[_0x43d66a(0x680)]&&((_0x4388d1=this[_0x43d66a(0x45c)])==null?void 0x0:_0x4388d1['row'])===_0x3d2f42[_0x43d66a(0x3d0)]||this[_0x43d66a(0x34b)]['forEach'](_0x2bd984=>{const _0x48dda5=_0x43d66a;_0x2bd984[_0x48dda5(0x581)](_0x3d2f42);});},0x64));});}[_0xe4d145(0x697)](_0x1ddf89,_0x5c97a7){const _0x29f6fb=_0xe4d145;var _0x409863;const _0x5a23dc=(_0x409863=this[_0x29f6fb(0x23f)][_0x29f6fb(0x219)]())==null?void 0x0:_0x409863[_0x29f6fb(0x322)];if(!_0x5a23dc)return;const _0x1006c9=this['_getSheetObject']();if(!_0x1006c9)return;this['_cursors'][_0x29f6fb(0x1ef)](_0x58c6b4=>{const _0xeff26e=_0x29f6fb;_0x58c6b4[_0xeff26e(0x224)]();});const {scene:_0xcd43b3}=_0x1006c9,_0x1ca38a=Ar(Array['from'](_0x5c97a7[_0x29f6fb(0x40a)]()))[_0x29f6fb(0x2d7)](_0x3b919a=>{const _0x3cf3c7=_0x29f6fb,{color:_0xeb18ce,range:_0x177a04,name:_0x52e7e0,selection:_0xd792b6,sheetID:_0x1ba807}=_0x3b919a,{startColumn:_0x3df164,startRow:_0x318ed2,endColumn:_0x1caad7,endRow:_0x5b896d}=_0x177a04,_0x224cfe=Le[_0x3cf3c7(0x493)](_0x318ed2,_0x3df164,_0xcd43b3,_0x5a23dc),_0x1298da=Le[_0x3cf3c7(0x493)](_0x5b896d,_0x1caad7,_0xcd43b3,_0x5a23dc),{columnHeaderHeightAndMarginTop:_0x380fb7}=_0x5a23dc,{startX:_0xacb8,startY:_0x3331a9}=_0x224cfe,{endX:_0xcfb442,endY:_0x26c8ce}=_0x1298da,_0x287ed7=_0xcfb442-_0xacb8,_0x119abc=_0x26c8ce-_0x3331a9,_0x1dfe80={'labelPosition':_0x3331a9-_0x380fb7>=xe?'top':'bottom','sheetID':_0x1ba807,'range':_0x177a04,'color':_0xeb18ce,'name':_0x52e7e0,'selection':_0xd792b6,'left':_0xacb8,'top':_0x3331a9,'width':_0x287ed7,'height':_0x119abc,'evented':!0x1,'zIndex':Nr};return new Mi(_0x52e7e0,_0x1dfe80);});_0xcd43b3[_0x29f6fb(0x647)](_0x1ca38a,Dr),this[_0x29f6fb(0x34b)]=new Set(_0x1ca38a);}[_0xe4d145(0x315)](){const _0x50a777=_0xe4d145;var _0x3cae47;(_0x3cae47=this[_0x50a777(0x34b)])==null||_0x3cae47[_0x50a777(0x1ef)](_0x881025=>_0x881025['dispose']());}['_getSheetObject'](){const _0x3a9dac=_0xe4d145;return Le[_0x3a9dac(0x63b)](this[_0x3a9dac(0x391)][_0x3a9dac(0x653)],this[_0x3a9dac(0x391)]);}};Ot=Mr([mt(0x1,a['Inject'](Le[_0xe4d145(0x516)])),mt(0x2,a[_0xe4d145(0x378)](ye)),mt(0x3,a[_0xe4d145(0x378)](a['ThemeService']))],Ot);function Ar(_0x17ccf3){const _0x37a146=_0xe4d145,_0x54584e=new Map();return _0x17ccf3[_0x37a146(0x1ef)](_0x35c16d=>{const _0x309517=_0x37a146;if(_0x54584e['has'](_0x35c16d['selection'])){const _0x20b110=_0x54584e[_0x309517(0x415)](_0x35c16d['selection']);_0x20b110[_0x309517(0x3e7)]+=',\x20'+_0x35c16d['name'];}else _0x54584e[_0x309517(0x5c4)](_0x35c16d[_0x309517(0x656)],_0x35c16d);}),Array[_0x37a146(0x4fc)](_0x54584e[_0x37a146(0x40a)]());}var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x14a3e8){const _0x227c1f=_0xe4d145;return _0x14a3e8&&_0x14a3e8[_0x227c1f(0x547)]&&Object[_0x227c1f(0x424)]['hasOwnProperty'][_0x227c1f(0x4e7)](_0x14a3e8,_0x227c1f(0x4eb))?_0x14a3e8['default']:_0x14a3e8;}var It={'exports':{}},Ue={},Xt;function Lr(){const _0x298937=_0xe4d145;if(Xt)return Ue;Xt=0x1;var _0x1153dc=oe,_0x116343=Symbol[_0x298937(0x60e)](_0x298937(0x4ec)),_0x484608=Symbol[_0x298937(0x60e)](_0x298937(0x4af)),_0x11e1a7=Object['prototype'][_0x298937(0x302)],_0x3c6e1e=_0x1153dc['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x298937(0x644)],_0x4d601b={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1299a4(_0x477b1a,_0x3b21ad,_0x5f47ec){const _0x2a2828=_0x298937;var _0x52405a,_0xb97843={},_0x2bf9f5=null,_0x42904a=null;_0x5f47ec!==void 0x0&&(_0x2bf9f5=''+_0x5f47ec),_0x3b21ad[_0x2a2828(0x5fe)]!==void 0x0&&(_0x2bf9f5=''+_0x3b21ad['key']),_0x3b21ad['ref']!==void 0x0&&(_0x42904a=_0x3b21ad[_0x2a2828(0x65d)]);for(_0x52405a in _0x3b21ad)_0x11e1a7[_0x2a2828(0x4e7)](_0x3b21ad,_0x52405a)&&!_0x4d601b[_0x2a2828(0x302)](_0x52405a)&&(_0xb97843[_0x52405a]=_0x3b21ad[_0x52405a]);if(_0x477b1a&&_0x477b1a[_0x2a2828(0x270)]){for(_0x52405a in(_0x3b21ad=_0x477b1a['defaultProps'],_0x3b21ad))_0xb97843[_0x52405a]===void 0x0&&(_0xb97843[_0x52405a]=_0x3b21ad[_0x52405a]);}return{'$$typeof':_0x116343,'type':_0x477b1a,'key':_0x2bf9f5,'ref':_0x42904a,'props':_0xb97843,'_owner':_0x3c6e1e[_0x2a2828(0x4ee)]};}return Ue['Fragment']=_0x484608,Ue['jsx']=_0x1299a4,Ue['jsxs']=_0x1299a4,Ue;}var Jt;function xr(){const _0x3d39ec=_0xe4d145;return Jt||(Jt=0x1,It['exports']=Lr()),It[_0x3d39ec(0x5c3)];}var me=xr(),Q=function(){const _0x365c1e=_0xe4d145;return Q=Object[_0x365c1e(0x51e)]||function(_0x438055){const _0x58480c=_0x365c1e;for(var _0x6d230a,_0x3b0bfa=0x1,_0x256645=arguments['length'];_0x3b0bfa<_0x256645;_0x3b0bfa++){_0x6d230a=arguments[_0x3b0bfa];for(var _0x3881c0 in _0x6d230a)Object[_0x58480c(0x424)][_0x58480c(0x302)]['call'](_0x6d230a,_0x3881c0)&&(_0x438055[_0x3881c0]=_0x6d230a[_0x3881c0]);}return _0x438055;},Q[_0x365c1e(0x620)](this,arguments);},$r=function(_0x23f0d4,_0x5ff9f4){const _0x23797c=_0xe4d145;var _0x1899a3={};for(var _0x1d58cc in _0x23f0d4)Object[_0x23797c(0x424)][_0x23797c(0x302)][_0x23797c(0x4e7)](_0x23f0d4,_0x1d58cc)&&_0x5ff9f4[_0x23797c(0x454)](_0x1d58cc)<0x0&&(_0x1899a3[_0x1d58cc]=_0x23f0d4[_0x1d58cc]);if(_0x23f0d4!=null&&typeof Object[_0x23797c(0x660)]==_0x23797c(0x4a8)){for(var _0x165e60=0x0,_0x1d58cc=Object[_0x23797c(0x660)](_0x23f0d4);_0x165e60<_0x1d58cc[_0x23797c(0x410)];_0x165e60++)_0x5ff9f4[_0x23797c(0x454)](_0x1d58cc[_0x165e60])<0x0&&Object[_0x23797c(0x424)]['propertyIsEnumerable'][_0x23797c(0x4e7)](_0x23f0d4,_0x1d58cc[_0x165e60])&&(_0x1899a3[_0x1d58cc[_0x165e60]]=_0x23f0d4[_0x1d58cc[_0x165e60]]);}return _0x1899a3;},At=oe['forwardRef'](function(_0x12d34e,_0x5b0e94){const _0x2005e0=_0xe4d145;var _0xefc4fc=_0x12d34e['icon'],_0xe7d6e5=_0x12d34e['id'],_0x1d802c=_0x12d34e[_0x2005e0(0x686)],_0x324495=_0x12d34e[_0x2005e0(0x4e0)],_0x45a3b5=$r(_0x12d34e,[_0x2005e0(0x530),'id',_0x2005e0(0x686),_0x2005e0(0x4e0)]),_0xfa15e4=_0x2005e0(0x26f)[_0x2005e0(0x602)](_0xe7d6e5,'\x20')[_0x2005e0(0x602)](_0x1d802c||'')[_0x2005e0(0x4a2)](),_0x49221d=oe[_0x2005e0(0x289)]('_'[_0x2005e0(0x602)](Br()));return Ni(_0xefc4fc,''[_0x2005e0(0x602)](_0xe7d6e5),{'defIds':_0xefc4fc['defIds'],'idSuffix':_0x49221d[_0x2005e0(0x4ee)]},Q({'ref':_0x5b0e94,'className':_0xfa15e4},_0x45a3b5),_0x324495);});function Ni(_0x5e4a9d,_0xee605a,_0x4fdce4,_0x407126,_0xe8240e){const _0x267e0f=_0xe4d145;return oe[_0x267e0f(0x288)](_0x5e4a9d[_0x267e0f(0x339)],Q(Q({'key':_0xee605a},jr(_0x5e4a9d,_0x4fdce4,_0xe8240e)),_0x407126),(Hr(_0x5e4a9d,_0x4fdce4)[_0x267e0f(0x423)]||[])['map'](function(_0x1e588f,_0xebd8da){const _0x15c9ff=_0x267e0f;return Ni(_0x1e588f,''[_0x15c9ff(0x602)](_0xee605a,'-')[_0x15c9ff(0x602)](_0x5e4a9d[_0x15c9ff(0x339)],'-')[_0x15c9ff(0x602)](_0xebd8da),_0x4fdce4,void 0x0,_0xe8240e);}));}function jr(_0x247446,_0x400d2e,_0x50f5d9){const _0x5c5497=_0xe4d145;var _0x42b896=Q({},_0x247446['attrs']);_0x50f5d9!=null&&_0x50f5d9[_0x5c5497(0x669)]&&_0x42b896['fill']===_0x5c5497(0x669)&&(_0x42b896[_0x5c5497(0x616)]=_0x50f5d9[_0x5c5497(0x669)]);var _0x5362a3=_0x400d2e[_0x5c5497(0x3be)];return!_0x5362a3||_0x5362a3[_0x5c5497(0x410)]===0x0||(_0x247446[_0x5c5497(0x339)]==='use'&&_0x42b896[_0x5c5497(0x5a5)]&&(_0x42b896[_0x5c5497(0x5a5)]=_0x42b896['xlink:href']+_0x400d2e[_0x5c5497(0x538)]),Object['entries'](_0x42b896)['forEach'](function(_0x9d33ea){const _0x5d9adc=_0x5c5497;var _0x4207d8=_0x9d33ea[0x0],_0x4a6fc0=_0x9d33ea[0x1];typeof _0x4a6fc0=='string'&&(_0x42b896[_0x4207d8]=_0x4a6fc0[_0x5d9adc(0x4dd)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x400d2e[_0x5d9adc(0x538)],')')));})),_0x42b896;}function Hr(_0x439df1,_0x5d410f){const _0x517586=_0xe4d145;var _0x127246,_0x5c38f7=_0x5d410f[_0x517586(0x3be)];return!_0x5c38f7||_0x5c38f7['length']===0x0?_0x439df1:_0x439df1[_0x517586(0x339)]===_0x517586(0x313)&&(!((_0x127246=_0x439df1[_0x517586(0x423)])===null||_0x127246===void 0x0)&&_0x127246['length'])?Q(Q({},_0x439df1),{'children':_0x439df1[_0x517586(0x423)][_0x517586(0x2d7)](function(_0x1cb590){const _0x234bba=_0x517586;return typeof _0x1cb590['attrs']['id']==_0x234bba(0x3f4)&&_0x5c38f7&&_0x5c38f7[_0x234bba(0x454)](_0x1cb590['attrs']['id'])>-0x1?Q(Q({},_0x1cb590),{'attrs':Q(Q({},_0x1cb590['attrs']),{'id':_0x1cb590[_0x234bba(0x645)]['id']+_0x5d410f['idSuffix']})}):_0x1cb590;})}):_0x439df1;}function Br(){const _0x52713a=_0xe4d145;return Math['random']()[_0x52713a(0x49f)](0x24)[_0x52713a(0x330)](0x2,0x8);}At[_0xe4d145(0x3d3)]=_0xe4d145(0x2c4);var kr={'tag':_0xe4d145(0x26c),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0xe4d145(0x4d2)},'children':[{'tag':'g','attrs':{'clipPath':_0xe4d145(0x362)},'children':[{'tag':_0xe4d145(0x251),'attrs':{'stroke':_0xe4d145(0x54c),'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':_0xe4d145(0x2b1),'strokeLinejoin':_0xe4d145(0x2b1),'strokeWidth':1.2}}]},{'tag':_0xe4d145(0x313),'attrs':{},'children':[{'tag':_0xe4d145(0x48b),'attrs':{'id':_0xe4d145(0x629)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xe4d145(0x381)}}]}]}],'defIds':[_0xe4d145(0x629)]},Ai=oe[_0xe4d145(0x479)](function(_0x48f37f,_0xfcb264){const _0x448028=_0xe4d145;return oe['createElement'](At,Object[_0x448028(0x51e)]({},_0x48f37f,{'id':_0x448028(0x259),'ref':_0xfcb264,'icon':kr}));});Ai[_0xe4d145(0x3d3)]=_0xe4d145(0x5a2);var Wr={'tag':_0xe4d145(0x26c),'attrs':{'fill':_0xe4d145(0x4cc),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xe4d145(0x4d2)},'children':[{'tag':'g','attrs':{'clipPath':_0xe4d145(0x203)},'children':[{'tag':_0xe4d145(0x251),'attrs':{'stroke':'currentColor','d':_0xe4d145(0x21a),'strokeLinecap':_0xe4d145(0x2b1),'strokeLinejoin':_0xe4d145(0x2b1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xe4d145(0x48b),'attrs':{'id':_0xe4d145(0x242)},'children':[{'tag':_0xe4d145(0x251),'attrs':{'fill':_0xe4d145(0x626),'d':_0xe4d145(0x381),'transform':'translate(.97)'}}]}]}],'defIds':[_0xe4d145(0x242)]},Li=oe[_0xe4d145(0x479)](function(_0xa2aa32,_0x5f2838){const _0x51014a=_0xe4d145;return oe[_0x51014a(0x288)](At,Object[_0x51014a(0x51e)]({},_0xa2aa32,{'id':_0x51014a(0x373),'ref':_0x5f2838,'icon':Wr}));});Li['displayName']='OnLineSingle';function xi(_0xd33e26){const _0x25fcd3=_0xe4d145;var _0x5d4089,_0x4f403e,_0x304e41='';if(typeof _0xd33e26==_0x25fcd3(0x3f4)||typeof _0xd33e26==_0x25fcd3(0x5d4))_0x304e41+=_0xd33e26;else{if(typeof _0xd33e26=='object'){if(Array[_0x25fcd3(0x5be)](_0xd33e26)){var _0x27c090=_0xd33e26['length'];for(_0x5d4089=0x0;_0x5d4089<_0x27c090;_0x5d4089++)_0xd33e26[_0x5d4089]&&(_0x4f403e=xi(_0xd33e26[_0x5d4089]))&&(_0x304e41&&(_0x304e41+='\x20'),_0x304e41+=_0x4f403e);}else{for(_0x4f403e in _0xd33e26)_0xd33e26[_0x4f403e]&&(_0x304e41&&(_0x304e41+='\x20'),_0x304e41+=_0x4f403e);}}}return _0x304e41;}function Fr(){const _0x1277b0=_0xe4d145;for(var _0x574184,_0x15aead,_0xd9b790=0x0,_0x2a8fbf='',_0x3a8d36=arguments[_0x1277b0(0x410)];_0xd9b790<_0x3a8d36;_0xd9b790++)(_0x574184=arguments[_0xd9b790])&&(_0x15aead=xi(_0x574184))&&(_0x2a8fbf&&(_0x2a8fbf+='\x20'),_0x2a8fbf+=_0x15aead);return _0x2a8fbf;}const Vr=_0xe4d145(0x64d),Gr=_0xe4d145(0x529),Yr=_0xe4d145(0x447),qr=_0xe4d145(0x5e0),Kr='univer-offline',Me={'onlineStatusIcon':Vr,'onlineStatusTitle':Gr,'onlineStatus':Yr,'online':qr,'offline':Kr};function zr(_0xed70ad){const _0x31820a=_0xe4d145;switch(_0xed70ad){case K[_0x31820a(0x5ce)]:return'collabStatus.offline';case K[_0x31820a(0x274)]:return _0x31820a(0x466);case K['FETCH_MISS']:return _0x31820a(0x5ab);case K[_0x31820a(0x62d)]:return _0x31820a(0x397);case K[_0x31820a(0x3b1)]:case K[_0x31820a(0x58f)]:return _0x31820a(0x375);case K[_0x31820a(0x3ad)]:case K[_0x31820a(0x31c)]:return _0x31820a(0x5fb);}}function $i(_0x3eb71f){const _0x1618a0=_0xe4d145,{status$:_0x6084c3}=_0x3eb71f,_0x5ca56a=ee[_0x1618a0(0x223)](_0x6084c3,K['NOT_COLLAB']),_0x3a5c4f=a[_0x1618a0(0x318)](a[_0x1618a0(0x46e)]),_0x3571db=a['useDependency'](exports['CollaborationSessionService']),_0x187d1c=_0x5ca56a!==K[_0x1618a0(0x5ce)],_0x7fc4ca=_0x3a5c4f['t'](zr(_0x5ca56a)),_0x4a33dc=Fr(Me[_0x1618a0(0x2f3)],{[Me['online']]:_0x187d1c,[Me['offline']]:!_0x187d1c}),_0x1dd99d=_0x187d1c?me[_0x1618a0(0x5b7)](Li,{}):me['jsx'](Ai,{}),_0x52818f=oe[_0x1618a0(0x3ff)](()=>{const _0x1f8f4c=_0x1618a0;_0x187d1c||_0x3571db[_0x1f8f4c(0x61e)]();},[_0x187d1c,_0x3571db]);function _0x3a4a38(){const _0x325d9f=_0x1618a0;return me['jsxs'](_0x325d9f(0x53b),{'className':_0x4a33dc,'onClick':_0x52818f,'children':[me['jsx']('div',{'className':Me['onlineStatusIcon'],'children':_0x1dd99d}),me[_0x325d9f(0x5b7)](_0x325d9f(0x53b),{'className':Me[_0x325d9f(0x404)],'children':_0x7fc4ca})]});}return _0x187d1c?_0x3a4a38():me[_0x1618a0(0x5b7)](Ce[_0x1618a0(0x409)],{'title':_0x3a5c4f['t'](_0x1618a0(0x55f)),'children':_0x3a4a38()});}var Xr=Object[_0xe4d145(0x641)],Jr=Object[_0xe4d145(0x31a)],Zr=(_0x3a2b83,_0x2b2324,_0x5df7d8,_0x201d1f)=>{for(var _0x5da15f=_0x201d1f>0x1?void 0x0:_0x201d1f?Jr(_0x2b2324,_0x5df7d8):_0x2b2324,_0x112946=_0x3a2b83['length']-0x1,_0x4dd138;_0x112946>=0x0;_0x112946--)(_0x4dd138=_0x3a2b83[_0x112946])&&(_0x5da15f=(_0x201d1f?_0x4dd138(_0x2b2324,_0x5df7d8,_0x5da15f):_0x4dd138(_0x5da15f))||_0x5da15f);return _0x201d1f&&_0x5da15f&&Xr(_0x2b2324,_0x5df7d8,_0x5da15f),_0x5da15f;},He=(_0x14ffa8,_0x5b41c2)=>(_0x1cfb4d,_0x58ec92)=>_0x5b41c2(_0x1cfb4d,_0x58ec92,_0x14ffa8);exports[_0xe4d145(0x468)]=class extends a[_0xe4d145(0x59a)]{constructor(_0x55c665,_0x175501,_0x289b8c,_0x23a1c9){const _0x16f85b=_0xe4d145;super(),I(this,_0x16f85b(0x4ce),new N['BehaviorSubject'](K[_0x16f85b(0x62d)])),(this['_univerInstanceService']=_0x55c665,this['_uiPartsService']=_0x175501,this[_0x16f85b(0x67b)]=_0x289b8c,this[_0x16f85b(0x228)]=_0x23a1c9,this[_0x16f85b(0x2d3)](),this[_0x16f85b(0x24f)]());}[_0xe4d145(0x24f)](){const _0x4faf77=_0xe4d145;this['disposeWithMe'](this['_univerInstanceService'][_0x4faf77(0x384)][_0x4faf77(0x213)](N[_0x4faf77(0x421)](()=>{const _0x17cb53=_0x4faf77,_0xdcc2ed=this[_0x17cb53(0x419)][_0x17cb53(0x615)]();return _0xdcc2ed?this[_0x17cb53(0x228)][_0x17cb53(0x5f4)](_0xdcc2ed[_0x17cb53(0x393)]()):N['of'](null);}),N[_0x4faf77(0x421)](_0x2cf9f2=>_0x2cf9f2?_0x2cf9f2[_0x4faf77(0x63e)]:N['of'](K[_0x4faf77(0x62d)])))[_0x4faf77(0x4e3)](_0x122dba=>{const _0x3cb17f=_0x4faf77;this['_status$'][_0x3cb17f(0x215)](_0x122dba);}));}[_0xe4d145(0x2d3)](){const _0x34f1f8=_0xe4d145;this[_0x34f1f8(0x5aa)](this[_0x34f1f8(0x5a8)][_0x34f1f8(0x296)](ee[_0x34f1f8(0x2f4)][_0x34f1f8(0x4e2)],()=>a[_0x34f1f8(0x3bc)](Qr({'status$':this['_status$']['asObservable']()}),this[_0x34f1f8(0x67b)])));}},exports[_0xe4d145(0x468)]=Zr([He(0x0,a[_0xe4d145(0x61a)]),He(0x1,ee[_0xe4d145(0x4f2)]),He(0x2,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),He(0x3,a[_0xe4d145(0x378)](exports[_0xe4d145(0x1fb)]))],exports[_0xe4d145(0x468)]);function Qr(_0x264e0f){const {status$:_0x5a832c}=_0x264e0f;return function(){const _0x49ae4e=_0x4e21;return me[_0x49ae4e(0x5b7)]($i,{'status$':_0x5a832c});};}const Lt=a['createIdentifier'](_0xe4d145(0x1f6));var es=Object[_0xe4d145(0x641)],ts=Object['getOwnPropertyDescriptor'],is=(_0x2ec2ee,_0x1996a2,_0x1582ee,_0x323a0)=>{const _0x50bd19=_0xe4d145;for(var _0x2d38a7=_0x323a0>0x1?void 0x0:_0x323a0?ts(_0x1996a2,_0x1582ee):_0x1996a2,_0x2b38f4=_0x2ec2ee[_0x50bd19(0x410)]-0x1,_0x5120b5;_0x2b38f4>=0x0;_0x2b38f4--)(_0x5120b5=_0x2ec2ee[_0x2b38f4])&&(_0x2d38a7=(_0x323a0?_0x5120b5(_0x1996a2,_0x1582ee,_0x2d38a7):_0x5120b5(_0x2d38a7))||_0x2d38a7);return _0x323a0&&_0x2d38a7&&es(_0x1996a2,_0x1582ee,_0x2d38a7),_0x2d38a7;},Re=(_0x23d567,_0x319d62)=>(_0x385f4f,_0x41cb18)=>_0x319d62(_0x385f4f,_0x41cb18,_0x23d567);exports[_0xe4d145(0x2b2)]=class extends a[_0xe4d145(0x48d)]{constructor(_0x361844,_0x1edbbf,_0x5358f2,_0x22649f,_0x52a994,_0x40913e){const _0x232aac=_0xe4d145;super(),this[_0x232aac(0x35f)]=_0x361844,this['_logService']=_0x1edbbf,this[_0x232aac(0x200)]=_0x5358f2,this[_0x232aac(0x553)]=_0x22649f,this[_0x232aac(0x519)]=_0x52a994,_0x40913e?_0x40913e==null||_0x40913e['whenReady']()[_0x232aac(0x638)](()=>this[_0x232aac(0x59f)]()):(this['_logService'][_0x232aac(0x323)](_0x232aac(0x328),_0x232aac(0x48c)),this[_0x232aac(0x59f)]());}async[_0xe4d145(0x59f)](){const _0x231485=_0xe4d145,_0x3cdfab=this[_0x231485(0x35f)][_0x231485(0x65c)](_0x231485(0x653)),_0x59f63f=this[_0x231485(0x35f)][_0x231485(0x65c)]('type');if(!_0x3cdfab||!_0x59f63f){this[_0x231485(0x692)][_0x231485(0x323)](_0x231485(0x328),_0x231485(0x50b));return;}switch(Number(_0x59f63f)){case ie[_0x231485(0x303)]:{const _0x2b6576=await this[_0x231485(0x264)](_0x3cdfab);this['_setupSubUnitSync'](_0x2b6576);break;}case ie[_0x231485(0x675)]:{await this['_loadDoc'](_0x3cdfab);break;}default:{this[_0x231485(0x692)][_0x231485(0x5b6)](_0x231485(0x328),_0x231485(0x52b));break;}}}async['_setupSubUnitSync'](_0x129aec){const _0x50134d=_0xe4d145;await this[_0x50134d(0x2df)](_0x129aec),_0x129aec[_0x50134d(0x495)]['pipe'](N['takeUntil'](this[_0x50134d(0x56f)]))[_0x50134d(0x4e3)](_0x4afff7=>{const _0x9bdcd3=_0x50134d;_0x4afff7&&this[_0x9bdcd3(0x2d9)](_0x4afff7);}),this[_0x50134d(0x35f)][_0x50134d(0x25e)][_0x50134d(0x213)](N[_0x50134d(0x480)](this[_0x50134d(0x56f)]))['subscribe'](()=>this[_0x50134d(0x2df)](_0x129aec));}[_0xe4d145(0x2d9)](_0x422d7b,_0xaa075b=!0x1){const _0x21e952=_0xe4d145,_0x438864=this[_0x21e952(0x35f)][_0x21e952(0x65c)](_0x21e952(0x483));_0x422d7b[_0x21e952(0x3a7)]()!==_0x438864&&this[_0x21e952(0x35f)][_0x21e952(0x559)](_0x21e952(0x483),_0x422d7b[_0x21e952(0x3a7)](),_0xaa075b);}async[_0xe4d145(0x2df)](_0x1cefb0){const _0x4d80a3=_0xe4d145;var _0x2fd876;const _0x5b8174=this['_urlService'][_0x4d80a3(0x65c)](_0x4d80a3(0x483));if(!_0x5b8174||!_0x1cefb0['getSheetBySheetId'](_0x5b8174)){const _0x5d12cf=_0x1cefb0[_0x4d80a3(0x314)]()[0x0],_0x3440f9=_0x1cefb0[_0x4d80a3(0x4b0)](_0x5d12cf);if(!_0x3440f9)return;this[_0x4d80a3(0x2d9)](_0x3440f9,!0x0),await this[_0x4d80a3(0x200)]['executeCommand'](k[_0x4d80a3(0x4de)]['id'],{'unitId':_0x1cefb0[_0x4d80a3(0x393)](),'subUnitId':_0x5d12cf});return;}((_0x2fd876=_0x1cefb0[_0x4d80a3(0x57b)]())==null?void 0x0:_0x2fd876['getSheetId']())!==_0x5b8174&&await this[_0x4d80a3(0x200)][_0x4d80a3(0x51a)](k[_0x4d80a3(0x4de)]['id'],{'unitId':_0x1cefb0[_0x4d80a3(0x393)](),'subUnitId':_0x5b8174});}async[_0xe4d145(0x264)](_0x584e6a){const _0x2db13b=_0xe4d145;let _0x3f281a=0x0;const _0x483d0c=await this[_0x2db13b(0x553)][_0x2db13b(0x3a6)](_0x584e6a);return _0x483d0c&&(_0x483d0c[_0x2db13b(0x42d)]||_0x483d0c['mutations'][_0x2db13b(0x410)]!==0x0)&&(_0x3f281a=_0x483d0c[_0x2db13b(0x52e)]),_0x3f281a===0x0&&this[_0x2db13b(0x692)][_0x2db13b(0x323)](_0x2db13b(0x328),_0x2db13b(0x668)),this[_0x2db13b(0x519)][_0x2db13b(0x5f1)](_0x584e6a,_0x3f281a);}async[_0xe4d145(0x505)](_0x2044bd){const _0x1d76bf=_0xe4d145;let _0x19df83=0x0;const _0x3ae180=await this[_0x1d76bf(0x553)]['loadOfflineData'](_0x2044bd);return _0x3ae180&&(_0x3ae180[_0x1d76bf(0x42d)]||_0x3ae180[_0x1d76bf(0x59c)][_0x1d76bf(0x410)]!==0x0)&&(_0x19df83=_0x3ae180[_0x1d76bf(0x52e)]),_0x19df83===0x0&&this[_0x1d76bf(0x692)][_0x1d76bf(0x323)](_0x1d76bf(0x328),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1d76bf(0x519)][_0x1d76bf(0x2ab)](_0x2044bd,_0x19df83);}},exports['DataLoaderController']=is([Re(0x0,Lt),Re(0x1,a[_0xe4d145(0x27a)]),Re(0x2,a[_0xe4d145(0x376)]),Re(0x3,a[_0xe4d145(0x378)](exports[_0xe4d145(0x36e)])),Re(0x4,a['Inject'](m['SnapshotService'])),Re(0x5,a['Optional'](Yi['IRemoteInstanceService']))],exports[_0xe4d145(0x2b2)]);var ns=Object[_0xe4d145(0x641)],rs=Object[_0xe4d145(0x31a)],ss=(_0x7fdd5e,_0x3f8fb7,_0x9db441,_0x17d941)=>{const _0x8e027f=_0xe4d145;for(var _0x49180e=_0x17d941>0x1?void 0x0:_0x17d941?rs(_0x3f8fb7,_0x9db441):_0x3f8fb7,_0x4b86df=_0x7fdd5e[_0x8e027f(0x410)]-0x1,_0x1ca253;_0x4b86df>=0x0;_0x4b86df--)(_0x1ca253=_0x7fdd5e[_0x4b86df])&&(_0x49180e=(_0x17d941?_0x1ca253(_0x3f8fb7,_0x9db441,_0x49180e):_0x1ca253(_0x49180e))||_0x49180e);return _0x17d941&&_0x49180e&&ns(_0x3f8fb7,_0x9db441,_0x49180e),_0x49180e;},Zt=(_0x2c6106,_0x10c08e)=>(_0x58e9de,_0x58433c)=>_0x10c08e(_0x58e9de,_0x58433c,_0x2c6106);const os=_0xe4d145(0x670),as=_0xe4d145(0x5ee);let nt=class extends a[_0xe4d145(0x59a)]{constructor(_0x284aec,_0x364c9e){const _0x4d4af7=_0xe4d145;super(),this['_univerInstanceService']=_0x284aec,this[_0x4d4af7(0x558)]=_0x364c9e,this['_init']();}['_init'](){const _0x21d619=_0xe4d145;this[_0x21d619(0x5aa)](this[_0x21d619(0x419)][_0x21d619(0x384)][_0x21d619(0x4e3)](()=>{const _0x468861=_0x21d619;var _0x3ebf06;const _0x527335=this[_0x468861(0x419)][_0x468861(0x615)]();let _0x12d834=(_0x3ebf06=this['_configService'][_0x468861(0x44f)](os))!=null?_0x3ebf06:as;_0x527335 instanceof a['Workbook']&&(_0x12d834=_0x527335[_0x468861(0x3e7)]),document[_0x468861(0x23b)]=_0x12d834;}));}};nt=ss([Zt(0x0,a['IUniverInstanceService']),Zt(0x1,a[_0xe4d145(0x60a)])],nt);var cs=Object['defineProperty'],ls=Object[_0xe4d145(0x31a)],hs=(_0x2c320a,_0x555591,_0x130fa8,_0x225c38)=>{const _0x4de529=_0xe4d145;for(var _0x5bccf2=_0x225c38>0x1?void 0x0:_0x225c38?ls(_0x555591,_0x130fa8):_0x555591,_0xa186b8=_0x2c320a[_0x4de529(0x410)]-0x1,_0x41396a;_0xa186b8>=0x0;_0xa186b8--)(_0x41396a=_0x2c320a[_0xa186b8])&&(_0x5bccf2=(_0x225c38?_0x41396a(_0x555591,_0x130fa8,_0x5bccf2):_0x41396a(_0x5bccf2))||_0x5bccf2);return _0x225c38&&_0x5bccf2&&cs(_0x555591,_0x130fa8,_0x5bccf2),_0x5bccf2;},Ct=(_0x499179,_0x3fcd84)=>(_0x83444,_0x92666b)=>_0x3fcd84(_0x83444,_0x92666b,_0x499179);let rt=class{constructor(_0x13a83b,_0x965fdb,_0x1dea1b){const _0x43d61f=_0xe4d145;this['_configService']=_0x13a83b,this['_httpService']=_0x965fdb,this['localeService']=_0x1dea1b,this[_0x43d61f(0x355)]();}[_0xe4d145(0x355)](){const _0x2e9de4=_0xe4d145;this[_0x2e9de4(0x585)][_0x2e9de4(0x37a)]({'priority':0x1,'interceptor':(_0x3e948c,_0x20e92b)=>_0x20e92b(_0x3e948c)[_0x2e9de4(0x213)](N['concatMap'](async _0x30fbd4=>{const _0x51713f=_0x2e9de4,_0x32131c=_0x30fbd4;if(_0x32131c[_0x51713f(0x470)]===0x191&&window['confirm'](this[_0x51713f(0x476)]['t'](_0x51713f(0x66a)))){const _0x5a1af3=window[_0x51713f(0x2f9)](window[_0x51713f(0x6b2)][_0x51713f(0x4a9)]);window[_0x51713f(0x6b2)][_0x51713f(0x4a9)]=this[_0x51713f(0x209)]()+_0x51713f(0x4cb)+_0x5a1af3;}return _0x32131c;}))});}[_0xe4d145(0x209)](){const _0x21ed9b=_0xe4d145;var _0x1c2395,_0x54e769;const _0x380e94=this[_0x21ed9b(0x558)][_0x21ed9b(0x44f)](Ei),_0x1b2478=this['_configService'][_0x21ed9b(0x44f)](Z);return(_0x54e769=(_0x1c2395=_0x1b2478==null?void 0x0:_0x1b2478[_0x21ed9b(0x4ca)])!=null?_0x1c2395:_0x380e94)!=null?_0x54e769:rn;}};rt=hs([Ct(0x0,a[_0xe4d145(0x60a)]),Ct(0x1,a[_0xe4d145(0x378)](z[_0xe4d145(0x370)])),Ct(0x2,a['Inject'](a['LocaleService']))],rt);var _s=Object[_0xe4d145(0x641)],us=Object[_0xe4d145(0x31a)],ds=(_0x3a1539,_0x251e75,_0x16282b,_0x388bdc)=>{const _0x50d7a2=_0xe4d145;for(var _0x4bf790=_0x388bdc>0x1?void 0x0:_0x388bdc?us(_0x251e75,_0x16282b):_0x251e75,_0x4f7c07=_0x3a1539[_0x50d7a2(0x410)]-0x1,_0x34a973;_0x4f7c07>=0x0;_0x4f7c07--)(_0x34a973=_0x3a1539[_0x4f7c07])&&(_0x4bf790=(_0x388bdc?_0x34a973(_0x251e75,_0x16282b,_0x4bf790):_0x34a973(_0x4bf790))||_0x4bf790);return _0x388bdc&&_0x4bf790&&_s(_0x251e75,_0x16282b,_0x4bf790),_0x4bf790;},Qt=(_0x18c0c7,_0x13c363)=>(_0x3075ff,_0x7e14a2)=>_0x13c363(_0x3075ff,_0x7e14a2,_0x18c0c7);const xt=_0xe4d145(0x343),fs=_0xe4d145(0x278);exports['AuthzIoHttpService']=class extends a[_0xe4d145(0x59a)]{constructor(_0x2d4237,_0x4cda2){const _0x5420b1=_0xe4d145;super(),this[_0x5420b1(0x2b4)]=_0x2d4237,this[_0x5420b1(0x558)]=_0x4cda2,this['_initMergeInterceptor']();}[_0xe4d145(0x4b5)](){const _0x69af0e=_0xe4d145,_0x495768=this;this[_0x69af0e(0x5aa)](this[_0x69af0e(0x2b4)][_0x69af0e(0x37a)]({'priority':0x3e7,'interceptor':z[_0x69af0e(0x340)]({'isMatch'(_0x2b9f08){const _0x3e9082=_0x69af0e;var _0x582ac3;if(_0x2b9f08['method']==='POST'&&((_0x582ac3=_0x2b9f08[_0x3e9082(0x49b)])!=null&&_0x582ac3[_0x3e9082(0x507)])){const {objectID:_0x109452,objectType:_0x699a39}=_0x2b9f08[_0x3e9082(0x49b)][_0x3e9082(0x507)]||{};if(!_0x109452||_0x699a39===void 0x0)return!0x1;const _0x2fab3c=_0x495768[_0x3e9082(0x3e4)]()+'/'+_0x699a39+'/object/'+_0x109452+_0x3e9082(0x485);if(_0x2b9f08[_0x3e9082(0x52f)]===_0x2fab3c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x37faa8){const _0x36d764=_0x69af0e;var _0x554212;return(_0x554212=_0x37faa8[_0x36d764(0x49b)])==null?void 0x0:_0x554212[_0x36d764(0x507)];},'mergeParamsToRequest'(_0x2ad2ef,_0x82652c){const _0x54ddad=_0x69af0e,_0x438457=_0x495768[_0x54ddad(0x3e4)]()+_0x54ddad(0x4dc),_0xca38f1=_0x2ad2ef[_0x54ddad(0x37e)]((_0x4e83a2,_0x58c15c)=>{const _0x375431=_0x54ddad,{unitID:_0x1ab1c1,objectID:_0x2a9e5b,objectType:_0x26ab87,actions:_0x2b8128}=_0x58c15c;return _0x4e83a2[_0x1ab1c1]||(_0x4e83a2[_0x1ab1c1]={}),_0x4e83a2[_0x1ab1c1][_0x2a9e5b]||(_0x4e83a2[_0x1ab1c1][_0x2a9e5b]={'objectID':_0x2a9e5b,'objectType':_0x26ab87,'actions':[]}),_0x4e83a2[_0x1ab1c1][_0x2a9e5b][_0x375431(0x2bd)]['push'](..._0x2b8128),_0x4e83a2;},{}),_0x4afcf4=[];for(const _0x5545de in _0xca38f1)for(const _0x166ddd in _0xca38f1[_0x5545de]){const {actions:_0x56847b,objectType:_0x1523a9}=_0xca38f1[_0x5545de][_0x166ddd],_0x5259a5=[...new Set(_0x56847b)];_0x4afcf4['push']({'unitID':_0x5545de,'objectID':_0x166ddd,'objectType':_0x1523a9,'actions':_0x5259a5});}return new z['HTTPRequest'](_0x54ddad(0x262),_0x438457,{'headers':_0x82652c[_0x54ddad(0x30f)],'withCredentials':_0x82652c[_0x54ddad(0x1f5)],'responseType':_0x82652c[_0x54ddad(0x6bd)],'body':{'requests':_0x4afcf4}});}},{'distributeResult'(_0x33907b,_0x567bae){const _0x227d8c=_0x69af0e,{objectActions:_0xfc06c}=_0x33907b;return _0x567bae[_0x227d8c(0x2d7)](_0x1db887=>{const _0x41415e=_0x227d8c,{unitID:_0x145724,objectID:_0x45339a,actions:_0x4ddd8c}=_0x1db887,_0xaa6dd=_0xfc06c[_0x41415e(0x50c)](_0xfd8d9c=>_0xfd8d9c[_0x41415e(0x573)]===_0x145724&&_0xfd8d9c[_0x41415e(0x564)]===_0x45339a),_0x11801f=_0x4ddd8c[_0x41415e(0x2d7)](_0x3afa3c=>_0xaa6dd==null?void 0x0:_0xaa6dd['actions'][_0x41415e(0x50c)](_0x16ef20=>_0x16ef20[_0x41415e(0x652)]===_0x3afa3c))[_0x41415e(0x28c)](_0x498949=>!!_0x498949);return{'config':_0x1db887,'result':{'actions':_0x11801f,'error':_0x33907b[_0x41415e(0x5b6)]}};});}})}));}[_0xe4d145(0x3e4)](){const _0x4033d0=_0xe4d145;var _0x4fff74,_0x1d839b;const _0x161403=this[_0x4033d0(0x558)][_0x4033d0(0x44f)](xt),_0x444153=this['_configService'][_0x4033d0(0x44f)](Z);return(_0x1d839b=(_0x4fff74=_0x444153==null?void 0x0:_0x444153['authzUrl'])!=null?_0x4fff74:_0x161403)!=null?_0x1d839b:fs;}async[_0xe4d145(0x3c7)](_0x279d1d){const _0xee8786=_0xe4d145,_0x5cc369=this['_getAPIPrefixPath']()+'/'+_0x279d1d[_0xee8786(0x3d5)]+_0xee8786(0x2f6);return(await this['_HTTPService'][_0xee8786(0x3cd)](_0x5cc369,{'body':_0x279d1d}))[_0xee8786(0x507)][_0xee8786(0x564)]||'';}async['list'](_0x131649){const _0x4551e8=_0xe4d145,_0xe0c13a=this[_0x4551e8(0x3e4)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0xe0c13a,{'body':_0x131649}))[_0x4551e8(0x507)][_0x4551e8(0x4c5)];}async[_0xe4d145(0x6a3)](_0x4c1f28){const _0x35b11=_0xe4d145,_0x26e7ec=this[_0x35b11(0x3e4)]()+'/'+_0x4c1f28['objectType']+_0x35b11(0x22f)+_0x4c1f28[_0x35b11(0x564)];await this[_0x35b11(0x2b4)][_0x35b11(0x30a)](_0x26e7ec,{'body':_0x4c1f28});}async[_0xe4d145(0x690)](_0x59c55d){const _0x59c5bd=_0xe4d145,_0x4b3322=this[_0x59c5bd(0x3e4)]()+'/'+_0x59c55d[_0x59c5bd(0x3d5)]+'/object/'+_0x59c55d[_0x59c5bd(0x564)]+'/allowed';return(await this[_0x59c5bd(0x2b4)][_0x59c5bd(0x3cd)](_0x4b3322,{'body':_0x59c55d}))[_0x59c5bd(0x507)]['actions'];}async[_0xe4d145(0x24a)](_0xffed6f){const _0x3ab253=_0xe4d145,_0x1d9a4b=this[_0x3ab253(0x3e4)]()+_0x3ab253(0x4dc);return(await this[_0x3ab253(0x2b4)][_0x3ab253(0x3cd)](_0x1d9a4b,{'body':{'requests':_0xffed6f}}))[_0x3ab253(0x507)][_0x3ab253(0x263)];}async['listRoles'](_0x58badb){const _0x4c2683=_0xe4d145,_0x3ff6aa=this['_getAPIPrefixPath']()+'/'+_0x58badb[_0x4c2683(0x3d5)]+_0x4c2683(0x39d),_0x164e05=await this[_0x4c2683(0x2b4)][_0x4c2683(0x3cd)](_0x3ff6aa,{'body':_0x58badb});return{'roles':_0x164e05[_0x4c2683(0x507)][_0x4c2683(0x47a)],'actions':_0x164e05['body']['actions']};}async[_0xe4d145(0x522)](_0x4b3085){const _0x3f04ff=_0xe4d145,_0x4b13be=this[_0x3f04ff(0x3e4)]()+_0x3f04ff(0x643);await this[_0x3f04ff(0x2b4)][_0x3f04ff(0x3c2)](_0x4b13be,{'params':{'collaboratorID':_0x4b3085[_0x3f04ff(0x4b4)],'objectID':_0x4b3085[_0x3f04ff(0x564)],'unitID':_0x4b3085[_0x3f04ff(0x573)]}});}async[_0xe4d145(0x3c4)](_0xa42a24){const _0x14b949=_0xe4d145,_0x22e9f3=this[_0x14b949(0x3e4)]()+'/collaborator';await this[_0x14b949(0x2b4)][_0x14b949(0x354)](_0x22e9f3,{'body':_0xa42a24});}async[_0xe4d145(0x28e)](_0x1e2564){const _0x38d5a9=_0xe4d145,_0x5da544=this[_0x38d5a9(0x3e4)]()+_0x38d5a9(0x643);await this[_0x38d5a9(0x2b4)][_0x38d5a9(0x3cd)](_0x5da544,{'body':_0x1e2564});}async[_0xe4d145(0x695)](_0x26a885){const _0xbf215f=_0xe4d145,_0x12d260=this[_0xbf215f(0x3e4)]()+_0xbf215f(0x643);return(await this['_HTTPService'][_0xbf215f(0x415)](_0x12d260,{'params':{'objectID':_0x26a885[_0xbf215f(0x564)],'unitID':_0x26a885['unitID']}}))[_0xbf215f(0x507)][_0xbf215f(0x518)];}async['putCollaborators'](_0x3d8ccb){const _0x2a6227=_0xe4d145,_0x1a49e7=this[_0x2a6227(0x3e4)]()+_0x2a6227(0x643);await this[_0x2a6227(0x2b4)]['put'](_0x1a49e7,{'body':_0x3d8ccb});}},exports[_0xe4d145(0x4b9)]=ds([Qt(0x0,a['Inject'](z[_0xe4d145(0x370)])),Qt(0x1,a[_0xe4d145(0x378)](a['IConfigService']))],exports['AuthzIoHttpService']);var ke={'exports':{}};function vs(_0x1681c8){const _0x294fcc=_0xe4d145;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1681c8+_0x294fcc(0x474));}var We={'exports':{}},Ss=We[_0xe4d145(0x5c3)],ei;function se(){const _0x280746=_0xe4d145;return ei||(ei=0x1,function(_0x2678b0,_0x1e8924){(function(_0x32321c,_0x20254d){_0x2678b0['exports']=_0x20254d();}(Ss,function(){var _0x33ba6e=_0x33ba6e||function(_0x41fe44,_0x1d944e){const _0x30ef23=_0x4e21;var _0x5bb5c2;if(typeof window<'u'&&window[_0x30ef23(0x6ba)]&&(_0x5bb5c2=window['crypto']),typeof self<'u'&&self[_0x30ef23(0x6ba)]&&(_0x5bb5c2=self[_0x30ef23(0x6ba)]),typeof globalThis<'u'&&globalThis[_0x30ef23(0x6ba)]&&(_0x5bb5c2=globalThis[_0x30ef23(0x6ba)]),!_0x5bb5c2&&typeof window<'u'&&window[_0x30ef23(0x617)]&&(_0x5bb5c2=window[_0x30ef23(0x617)]),!_0x5bb5c2&&typeof gt<'u'&&gt[_0x30ef23(0x6ba)]&&(_0x5bb5c2=gt[_0x30ef23(0x6ba)]),!_0x5bb5c2&&typeof vs==_0x30ef23(0x4a8))try{_0x5bb5c2=require(_0x30ef23(0x6ba));}catch{}var _0x370c13=function(){const _0x4b8080=_0x30ef23;if(_0x5bb5c2){if(typeof _0x5bb5c2[_0x4b8080(0x33f)]==_0x4b8080(0x4a8))try{return _0x5bb5c2[_0x4b8080(0x33f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bb5c2['randomBytes']==_0x4b8080(0x4a8))try{return _0x5bb5c2['randomBytes'](0x4)[_0x4b8080(0x297)]();}catch{}}throw new Error(_0x4b8080(0x64f));},_0x1619df=Object[_0x30ef23(0x3c7)]||(function(){function _0x594e92(){}return function(_0x53168b){const _0x159138=_0x4e21;var _0x227936;return _0x594e92['prototype']=_0x53168b,_0x227936=new _0x594e92(),_0x594e92[_0x159138(0x424)]=null,_0x227936;};}()),_0x545c96={},_0x508929=_0x545c96['lib']={},_0x18d448=_0x508929['Base']=(function(){return{'extend':function(_0x5bd7a6){const _0x4ad8c4=_0x4e21;var _0x39d50f=_0x1619df(this);return _0x5bd7a6&&_0x39d50f['mixIn'](_0x5bd7a6),(!_0x39d50f['hasOwnProperty']('init')||this['init']===_0x39d50f[_0x4ad8c4(0x355)])&&(_0x39d50f[_0x4ad8c4(0x355)]=function(){const _0x2429da=_0x4ad8c4;_0x39d50f[_0x2429da(0x4ef)][_0x2429da(0x355)]['apply'](this,arguments);}),_0x39d50f['init'][_0x4ad8c4(0x424)]=_0x39d50f,_0x39d50f['$super']=this,_0x39d50f;},'create':function(){const _0x1fb5c8=_0x4e21;var _0x9c9b13=this[_0x1fb5c8(0x4e0)]();return _0x9c9b13[_0x1fb5c8(0x355)][_0x1fb5c8(0x620)](_0x9c9b13,arguments),_0x9c9b13;},'init':function(){},'mixIn':function(_0x439a4e){const _0x287c6a=_0x4e21;for(var _0x58b8bb in _0x439a4e)_0x439a4e['hasOwnProperty'](_0x58b8bb)&&(this[_0x58b8bb]=_0x439a4e[_0x58b8bb]);_0x439a4e[_0x287c6a(0x302)](_0x287c6a(0x49f))&&(this['toString']=_0x439a4e[_0x287c6a(0x49f)]);},'clone':function(){const _0x452149=_0x4e21;return this[_0x452149(0x355)]['prototype'][_0x452149(0x4e0)](this);}};}()),_0x449994=_0x508929[_0x30ef23(0x622)]=_0x18d448['extend']({'init':function(_0x1e4e59,_0x5f6728){const _0x128673=_0x30ef23;_0x1e4e59=this['words']=_0x1e4e59||[],_0x5f6728!=_0x1d944e?this[_0x128673(0x222)]=_0x5f6728:this[_0x128673(0x222)]=_0x1e4e59[_0x128673(0x410)]*0x4;},'toString':function(_0x2e15da){const _0x491227=_0x30ef23;return(_0x2e15da||_0x223649)[_0x491227(0x3f2)](this);},'concat':function(_0x52c0f4){const _0xd9e30a=_0x30ef23;var _0x786249=this[_0xd9e30a(0x699)],_0x22396a=_0x52c0f4[_0xd9e30a(0x699)],_0x380475=this[_0xd9e30a(0x222)],_0x27c0d6=_0x52c0f4[_0xd9e30a(0x222)];if(this['clamp'](),_0x380475%0x4)for(var _0xd301b3=0x0;_0xd301b3<_0x27c0d6;_0xd301b3++){var _0x3a2026=_0x22396a[_0xd301b3>>>0x2]>>>0x18-_0xd301b3%0x4*0x8&0xff;_0x786249[_0x380475+_0xd301b3>>>0x2]|=_0x3a2026<<0x18-(_0x380475+_0xd301b3)%0x4*0x8;}else{for(var _0x1a7893=0x0;_0x1a7893<_0x27c0d6;_0x1a7893+=0x4)_0x786249[_0x380475+_0x1a7893>>>0x2]=_0x22396a[_0x1a7893>>>0x2];}return this[_0xd9e30a(0x222)]+=_0x27c0d6,this;},'clamp':function(){const _0x1fb00f=_0x30ef23;var _0x5e56be=this[_0x1fb00f(0x699)],_0x589464=this[_0x1fb00f(0x222)];_0x5e56be[_0x589464>>>0x2]&=0xffffffff<<0x20-_0x589464%0x4*0x8,_0x5e56be[_0x1fb00f(0x410)]=_0x41fe44[_0x1fb00f(0x3e6)](_0x589464/0x4);},'clone':function(){const _0x5346a3=_0x30ef23;var _0x339875=_0x18d448[_0x5346a3(0x2e5)][_0x5346a3(0x4e7)](this);return _0x339875[_0x5346a3(0x699)]=this[_0x5346a3(0x699)][_0x5346a3(0x48f)](0x0),_0x339875;},'random':function(_0x344c72){const _0x2e52b7=_0x30ef23;for(var _0x4b66fa=[],_0x402ed=0x0;_0x402ed<_0x344c72;_0x402ed+=0x4)_0x4b66fa[_0x2e52b7(0x46d)](_0x370c13());return new _0x449994[(_0x2e52b7(0x355))](_0x4b66fa,_0x344c72);}}),_0x2cc778=_0x545c96[_0x30ef23(0x2ce)]={},_0x223649=_0x2cc778[_0x30ef23(0x605)]={'stringify':function(_0x2de6c7){const _0x1f1f40=_0x30ef23;for(var _0x19a59a=_0x2de6c7[_0x1f1f40(0x699)],_0x32d689=_0x2de6c7[_0x1f1f40(0x222)],_0x9e3ca2=[],_0x549574=0x0;_0x549574<_0x32d689;_0x549574++){var _0x4aa5a8=_0x19a59a[_0x549574>>>0x2]>>>0x18-_0x549574%0x4*0x8&0xff;_0x9e3ca2[_0x1f1f40(0x46d)]((_0x4aa5a8>>>0x4)[_0x1f1f40(0x49f)](0x10)),_0x9e3ca2['push']((_0x4aa5a8&0xf)[_0x1f1f40(0x49f)](0x10));}return _0x9e3ca2['join']('');},'parse':function(_0x4736c6){const _0x24efbd=_0x30ef23;for(var _0x369bd8=_0x4736c6[_0x24efbd(0x410)],_0x3d6fd5=[],_0x579e41=0x0;_0x579e41<_0x369bd8;_0x579e41+=0x2)_0x3d6fd5[_0x579e41>>>0x3]|=parseInt(_0x4736c6['substr'](_0x579e41,0x2),0x10)<<0x18-_0x579e41%0x8*0x4;return new _0x449994[(_0x24efbd(0x355))](_0x3d6fd5,_0x369bd8/0x2);}},_0x5cd498=_0x2cc778[_0x30ef23(0x3ea)]={'stringify':function(_0x22cfcd){const _0x107de1=_0x30ef23;for(var _0x2abb0a=_0x22cfcd[_0x107de1(0x699)],_0x42ff96=_0x22cfcd[_0x107de1(0x222)],_0x156e0f=[],_0xec7a85=0x0;_0xec7a85<_0x42ff96;_0xec7a85++){var _0x3f6f05=_0x2abb0a[_0xec7a85>>>0x2]>>>0x18-_0xec7a85%0x4*0x8&0xff;_0x156e0f[_0x107de1(0x46d)](String[_0x107de1(0x4f0)](_0x3f6f05));}return _0x156e0f[_0x107de1(0x4c1)]('');},'parse':function(_0x1a732d){const _0xf15e4b=_0x30ef23;for(var _0xda1b5f=_0x1a732d[_0xf15e4b(0x410)],_0x39de97=[],_0x40cbd2=0x0;_0x40cbd2<_0xda1b5f;_0x40cbd2++)_0x39de97[_0x40cbd2>>>0x2]|=(_0x1a732d[_0xf15e4b(0x67e)](_0x40cbd2)&0xff)<<0x18-_0x40cbd2%0x4*0x8;return new _0x449994[(_0xf15e4b(0x355))](_0x39de97,_0xda1b5f);}},_0x5301cb=_0x2cc778[_0x30ef23(0x55e)]={'stringify':function(_0x10597d){const _0x6c9168=_0x30ef23;try{return decodeURIComponent(escape(_0x5cd498[_0x6c9168(0x3f2)](_0x10597d)));}catch{throw new Error(_0x6c9168(0x231));}},'parse':function(_0x1f61f2){return _0x5cd498['parse'](unescape(encodeURIComponent(_0x1f61f2)));}},_0x565b72=_0x508929[_0x30ef23(0x246)]=_0x18d448[_0x30ef23(0x4e0)]({'reset':function(){const _0x454950=_0x30ef23;this[_0x454950(0x623)]=new _0x449994[(_0x454950(0x355))](),this['_nDataBytes']=0x0;},'_append':function(_0x36da3e){const _0x13a87d=_0x30ef23;typeof _0x36da3e==_0x13a87d(0x3f4)&&(_0x36da3e=_0x5301cb[_0x13a87d(0x46f)](_0x36da3e)),this[_0x13a87d(0x623)][_0x13a87d(0x602)](_0x36da3e),this[_0x13a87d(0x667)]+=_0x36da3e['sigBytes'];},'_process':function(_0x49f518){const _0x2972cd=_0x30ef23;var _0x5f44b1,_0x4cee80=this['_data'],_0x2ec50b=_0x4cee80[_0x2972cd(0x699)],_0x358392=_0x4cee80[_0x2972cd(0x222)],_0x2e2f06=this[_0x2972cd(0x5a0)],_0x24c5f0=_0x2e2f06*0x4,_0x532b86=_0x358392/_0x24c5f0;_0x49f518?_0x532b86=_0x41fe44[_0x2972cd(0x3e6)](_0x532b86):_0x532b86=_0x41fe44['max']((_0x532b86|0x0)-this['_minBufferSize'],0x0);var _0x52c7fd=_0x532b86*_0x2e2f06,_0x514b59=_0x41fe44[_0x2972cd(0x5c1)](_0x52c7fd*0x4,_0x358392);if(_0x52c7fd){for(var _0x2711a8=0x0;_0x2711a8<_0x52c7fd;_0x2711a8+=_0x2e2f06)this[_0x2972cd(0x23c)](_0x2ec50b,_0x2711a8);_0x5f44b1=_0x2ec50b[_0x2972cd(0x43f)](0x0,_0x52c7fd),_0x4cee80[_0x2972cd(0x222)]-=_0x514b59;}return new _0x449994['init'](_0x5f44b1,_0x514b59);},'clone':function(){const _0x2c435b=_0x30ef23;var _0x55f3c1=_0x18d448[_0x2c435b(0x2e5)]['call'](this);return _0x55f3c1['_data']=this['_data'][_0x2c435b(0x2e5)](),_0x55f3c1;},'_minBufferSize':0x0});_0x508929[_0x30ef23(0x465)]=_0x565b72[_0x30ef23(0x4e0)]({'cfg':_0x18d448[_0x30ef23(0x4e0)](),'init':function(_0x29157f){const _0x4ff146=_0x30ef23;this[_0x4ff146(0x292)]=this[_0x4ff146(0x292)][_0x4ff146(0x4e0)](_0x29157f),this[_0x4ff146(0x570)]();},'reset':function(){const _0xfb3852=_0x30ef23;_0x565b72[_0xfb3852(0x570)][_0xfb3852(0x4e7)](this),this['_doReset']();},'update':function(_0x1c41b0){const _0x398ff2=_0x30ef23;return this[_0x398ff2(0x414)](_0x1c41b0),this[_0x398ff2(0x64a)](),this;},'finalize':function(_0x27babd){const _0x4b9a23=_0x30ef23;_0x27babd&&this[_0x4b9a23(0x414)](_0x27babd);var _0x546880=this[_0x4b9a23(0x27d)]();return _0x546880;},'blockSize':0x10,'_createHelper':function(_0x4e0e13){return function(_0x3012d9,_0x37ac62){const _0x37be4e=_0x4e21;return new _0x4e0e13[(_0x37be4e(0x355))](_0x37ac62)[_0x37be4e(0x21d)](_0x3012d9);};},'_createHmacHelper':function(_0xd261c2){return function(_0xd92316,_0x2604eb){const _0x384244=_0x4e21;return new _0x33425a[(_0x384244(0x63a))][(_0x384244(0x355))](_0xd261c2,_0x2604eb)[_0x384244(0x21d)](_0xd92316);};}});var _0x33425a=_0x545c96[_0x30ef23(0x4f9)]={};return _0x545c96;}(Math);return _0x33ba6e;}));}(We)),We[_0x280746(0x5c3)];}var Fe={'exports':{}},ps=Fe[_0xe4d145(0x5c3)],ti;function ji(){const _0x489fff=_0xe4d145;return ti||(ti=0x1,function(_0x1febbf,_0xe6dbb1){(function(_0x583e9c,_0x216a73){const _0x749938=_0x4e21;_0x1febbf[_0x749938(0x5c3)]=_0x216a73(se());}(ps,function(_0x3a215a){const _0x57deb4=_0x4e21;return(function(){const _0x31d44c=_0x4e21;var _0x43dc6d=_0x3a215a,_0x4e950b=_0x43dc6d[_0x31d44c(0x247)],_0x768b6e=_0x4e950b[_0x31d44c(0x622)],_0x2b7114=_0x43dc6d['enc'];_0x2b7114[_0x31d44c(0x2b3)]={'stringify':function(_0x361c75){const _0x497f64=_0x31d44c;var _0x3f591e=_0x361c75[_0x497f64(0x699)],_0x5c2bf5=_0x361c75['sigBytes'],_0x37aeeb=this[_0x497f64(0x4c7)];_0x361c75['clamp']();for(var _0x5112d8=[],_0x2b41d8=0x0;_0x2b41d8<_0x5c2bf5;_0x2b41d8+=0x3)for(var _0x3e591c=_0x3f591e[_0x2b41d8>>>0x2]>>>0x18-_0x2b41d8%0x4*0x8&0xff,_0x597f3b=_0x3f591e[_0x2b41d8+0x1>>>0x2]>>>0x18-(_0x2b41d8+0x1)%0x4*0x8&0xff,_0x1f43cb=_0x3f591e[_0x2b41d8+0x2>>>0x2]>>>0x18-(_0x2b41d8+0x2)%0x4*0x8&0xff,_0x334704=_0x3e591c<<0x10|_0x597f3b<<0x8|_0x1f43cb,_0xf275fa=0x0;_0xf275fa<0x4&&_0x2b41d8+_0xf275fa*0.75<_0x5c2bf5;_0xf275fa++)_0x5112d8[_0x497f64(0x46d)](_0x37aeeb[_0x497f64(0x486)](_0x334704>>>0x6*(0x3-_0xf275fa)&0x3f));var _0x2498fe=_0x37aeeb[_0x497f64(0x486)](0x40);if(_0x2498fe){for(;_0x5112d8[_0x497f64(0x410)]%0x4;)_0x5112d8[_0x497f64(0x46d)](_0x2498fe);}return _0x5112d8[_0x497f64(0x4c1)]('');},'parse':function(_0x3c6076){const _0x58f024=_0x31d44c;var _0x18292f=_0x3c6076[_0x58f024(0x410)],_0x525b5=this[_0x58f024(0x4c7)],_0x1e65b5=this[_0x58f024(0x2bc)];if(!_0x1e65b5){_0x1e65b5=this[_0x58f024(0x2bc)]=[];for(var _0x50a6d9=0x0;_0x50a6d9<_0x525b5[_0x58f024(0x410)];_0x50a6d9++)_0x1e65b5[_0x525b5['charCodeAt'](_0x50a6d9)]=_0x50a6d9;}var _0x3ca89e=_0x525b5['charAt'](0x40);if(_0x3ca89e){var _0x2da535=_0x3c6076['indexOf'](_0x3ca89e);_0x2da535!==-0x1&&(_0x18292f=_0x2da535);}return _0x1c2add(_0x3c6076,_0x18292f,_0x1e65b5);},'_map':_0x31d44c(0x236)};function _0x1c2add(_0x466561,_0x70969f,_0x172431){for(var _0x237607=[],_0x52cd9d=0x0,_0x8aa57d=0x0;_0x8aa57d<_0x70969f;_0x8aa57d++)if(_0x8aa57d%0x4){var _0xb273d6=_0x172431[_0x466561['charCodeAt'](_0x8aa57d-0x1)]<<_0x8aa57d%0x4*0x2,_0x4ba26f=_0x172431[_0x466561['charCodeAt'](_0x8aa57d)]>>>0x6-_0x8aa57d%0x4*0x2,_0x5d8bbe=_0xb273d6|_0x4ba26f;_0x237607[_0x52cd9d>>>0x2]|=_0x5d8bbe<<0x18-_0x52cd9d%0x4*0x8,_0x52cd9d++;}return _0x768b6e['create'](_0x237607,_0x52cd9d);}}()),_0x3a215a[_0x57deb4(0x2ce)][_0x57deb4(0x2b3)];}));}(Fe)),Fe[_0x489fff(0x5c3)];}var Ve={'exports':{}},ms=Ve[_0xe4d145(0x5c3)],ii;function gs(){return ii||(ii=0x1,function(_0x274226,_0x3522a0){(function(_0x2bdc8e,_0x8c16a2){const _0xef21a0=_0x4e21;_0x274226[_0xef21a0(0x5c3)]=_0x8c16a2(se());}(ms,function(_0x232970){const _0x2acf68=_0x4e21;return function(_0x5c0fb0){const _0x9f4d72=_0x4e21;var _0x248740=_0x232970,_0x25caf0=_0x248740['lib'],_0x45adbe=_0x25caf0['WordArray'],_0x485b0f=_0x25caf0[_0x9f4d72(0x465)],_0x299193=_0x248740[_0x9f4d72(0x4f9)],_0x4220a4=[];(function(){const _0x290257=_0x9f4d72;for(var _0x1f68d4=0x0;_0x1f68d4<0x40;_0x1f68d4++)_0x4220a4[_0x1f68d4]=_0x5c0fb0[_0x290257(0x63c)](_0x5c0fb0['sin'](_0x1f68d4+0x1))*0x100000000|0x0;}());var _0x339424=_0x299193[_0x9f4d72(0x2f7)]=_0x485b0f[_0x9f4d72(0x4e0)]({'_doReset':function(){const _0x3c76ef=_0x9f4d72;this['_hash']=new _0x45adbe[(_0x3c76ef(0x355))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x270e68,_0x59764c){const _0x3e81b3=_0x9f4d72;for(var _0x509c72=0x0;_0x509c72<0x10;_0x509c72++){var _0x517c9a=_0x59764c+_0x509c72,_0x4a45c1=_0x270e68[_0x517c9a];_0x270e68[_0x517c9a]=(_0x4a45c1<<0x8|_0x4a45c1>>>0x18)&0xff00ff|(_0x4a45c1<<0x18|_0x4a45c1>>>0x8)&0xff00ff00;}var _0x1c44ea=this['_hash'][_0x3e81b3(0x699)],_0x4fcbf1=_0x270e68[_0x59764c+0x0],_0x38b3a8=_0x270e68[_0x59764c+0x1],_0x172711=_0x270e68[_0x59764c+0x2],_0xb96608=_0x270e68[_0x59764c+0x3],_0x3b0fe4=_0x270e68[_0x59764c+0x4],_0x269d17=_0x270e68[_0x59764c+0x5],_0x36ffbf=_0x270e68[_0x59764c+0x6],_0x245f9e=_0x270e68[_0x59764c+0x7],_0x204aa5=_0x270e68[_0x59764c+0x8],_0x8964b6=_0x270e68[_0x59764c+0x9],_0x2be7f8=_0x270e68[_0x59764c+0xa],_0x5d7dcc=_0x270e68[_0x59764c+0xb],_0x4a629a=_0x270e68[_0x59764c+0xc],_0x5064e5=_0x270e68[_0x59764c+0xd],_0x5b809c=_0x270e68[_0x59764c+0xe],_0x9e5755=_0x270e68[_0x59764c+0xf],_0x214590=_0x1c44ea[0x0],_0x4a1fd5=_0x1c44ea[0x1],_0x8717ad=_0x1c44ea[0x2],_0x35efb7=_0x1c44ea[0x3];_0x214590=_0x3dc05d(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x4fcbf1,0x7,_0x4220a4[0x0]),_0x35efb7=_0x3dc05d(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x38b3a8,0xc,_0x4220a4[0x1]),_0x8717ad=_0x3dc05d(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x172711,0x11,_0x4220a4[0x2]),_0x4a1fd5=_0x3dc05d(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0xb96608,0x16,_0x4220a4[0x3]),_0x214590=_0x3dc05d(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x3b0fe4,0x7,_0x4220a4[0x4]),_0x35efb7=_0x3dc05d(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x269d17,0xc,_0x4220a4[0x5]),_0x8717ad=_0x3dc05d(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x36ffbf,0x11,_0x4220a4[0x6]),_0x4a1fd5=_0x3dc05d(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x245f9e,0x16,_0x4220a4[0x7]),_0x214590=_0x3dc05d(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x204aa5,0x7,_0x4220a4[0x8]),_0x35efb7=_0x3dc05d(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x8964b6,0xc,_0x4220a4[0x9]),_0x8717ad=_0x3dc05d(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x2be7f8,0x11,_0x4220a4[0xa]),_0x4a1fd5=_0x3dc05d(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x5d7dcc,0x16,_0x4220a4[0xb]),_0x214590=_0x3dc05d(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x4a629a,0x7,_0x4220a4[0xc]),_0x35efb7=_0x3dc05d(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x5064e5,0xc,_0x4220a4[0xd]),_0x8717ad=_0x3dc05d(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x5b809c,0x11,_0x4220a4[0xe]),_0x4a1fd5=_0x3dc05d(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x9e5755,0x16,_0x4220a4[0xf]),_0x214590=_0x5fd6ab(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x38b3a8,0x5,_0x4220a4[0x10]),_0x35efb7=_0x5fd6ab(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x36ffbf,0x9,_0x4220a4[0x11]),_0x8717ad=_0x5fd6ab(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x5d7dcc,0xe,_0x4220a4[0x12]),_0x4a1fd5=_0x5fd6ab(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x4fcbf1,0x14,_0x4220a4[0x13]),_0x214590=_0x5fd6ab(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x269d17,0x5,_0x4220a4[0x14]),_0x35efb7=_0x5fd6ab(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x2be7f8,0x9,_0x4220a4[0x15]),_0x8717ad=_0x5fd6ab(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x9e5755,0xe,_0x4220a4[0x16]),_0x4a1fd5=_0x5fd6ab(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x3b0fe4,0x14,_0x4220a4[0x17]),_0x214590=_0x5fd6ab(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x8964b6,0x5,_0x4220a4[0x18]),_0x35efb7=_0x5fd6ab(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x5b809c,0x9,_0x4220a4[0x19]),_0x8717ad=_0x5fd6ab(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0xb96608,0xe,_0x4220a4[0x1a]),_0x4a1fd5=_0x5fd6ab(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x204aa5,0x14,_0x4220a4[0x1b]),_0x214590=_0x5fd6ab(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x5064e5,0x5,_0x4220a4[0x1c]),_0x35efb7=_0x5fd6ab(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x172711,0x9,_0x4220a4[0x1d]),_0x8717ad=_0x5fd6ab(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x245f9e,0xe,_0x4220a4[0x1e]),_0x4a1fd5=_0x5fd6ab(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x4a629a,0x14,_0x4220a4[0x1f]),_0x214590=_0x59250b(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x269d17,0x4,_0x4220a4[0x20]),_0x35efb7=_0x59250b(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x204aa5,0xb,_0x4220a4[0x21]),_0x8717ad=_0x59250b(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x5d7dcc,0x10,_0x4220a4[0x22]),_0x4a1fd5=_0x59250b(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x5b809c,0x17,_0x4220a4[0x23]),_0x214590=_0x59250b(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x38b3a8,0x4,_0x4220a4[0x24]),_0x35efb7=_0x59250b(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x3b0fe4,0xb,_0x4220a4[0x25]),_0x8717ad=_0x59250b(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x245f9e,0x10,_0x4220a4[0x26]),_0x4a1fd5=_0x59250b(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x2be7f8,0x17,_0x4220a4[0x27]),_0x214590=_0x59250b(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x5064e5,0x4,_0x4220a4[0x28]),_0x35efb7=_0x59250b(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x4fcbf1,0xb,_0x4220a4[0x29]),_0x8717ad=_0x59250b(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0xb96608,0x10,_0x4220a4[0x2a]),_0x4a1fd5=_0x59250b(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x36ffbf,0x17,_0x4220a4[0x2b]),_0x214590=_0x59250b(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x8964b6,0x4,_0x4220a4[0x2c]),_0x35efb7=_0x59250b(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x4a629a,0xb,_0x4220a4[0x2d]),_0x8717ad=_0x59250b(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x9e5755,0x10,_0x4220a4[0x2e]),_0x4a1fd5=_0x59250b(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x172711,0x17,_0x4220a4[0x2f]),_0x214590=_0x1aaae1(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x4fcbf1,0x6,_0x4220a4[0x30]),_0x35efb7=_0x1aaae1(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x245f9e,0xa,_0x4220a4[0x31]),_0x8717ad=_0x1aaae1(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x5b809c,0xf,_0x4220a4[0x32]),_0x4a1fd5=_0x1aaae1(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x269d17,0x15,_0x4220a4[0x33]),_0x214590=_0x1aaae1(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x4a629a,0x6,_0x4220a4[0x34]),_0x35efb7=_0x1aaae1(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0xb96608,0xa,_0x4220a4[0x35]),_0x8717ad=_0x1aaae1(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x2be7f8,0xf,_0x4220a4[0x36]),_0x4a1fd5=_0x1aaae1(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x38b3a8,0x15,_0x4220a4[0x37]),_0x214590=_0x1aaae1(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x204aa5,0x6,_0x4220a4[0x38]),_0x35efb7=_0x1aaae1(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x9e5755,0xa,_0x4220a4[0x39]),_0x8717ad=_0x1aaae1(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x36ffbf,0xf,_0x4220a4[0x3a]),_0x4a1fd5=_0x1aaae1(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x5064e5,0x15,_0x4220a4[0x3b]),_0x214590=_0x1aaae1(_0x214590,_0x4a1fd5,_0x8717ad,_0x35efb7,_0x3b0fe4,0x6,_0x4220a4[0x3c]),_0x35efb7=_0x1aaae1(_0x35efb7,_0x214590,_0x4a1fd5,_0x8717ad,_0x5d7dcc,0xa,_0x4220a4[0x3d]),_0x8717ad=_0x1aaae1(_0x8717ad,_0x35efb7,_0x214590,_0x4a1fd5,_0x172711,0xf,_0x4220a4[0x3e]),_0x4a1fd5=_0x1aaae1(_0x4a1fd5,_0x8717ad,_0x35efb7,_0x214590,_0x8964b6,0x15,_0x4220a4[0x3f]),_0x1c44ea[0x0]=_0x1c44ea[0x0]+_0x214590|0x0,_0x1c44ea[0x1]=_0x1c44ea[0x1]+_0x4a1fd5|0x0,_0x1c44ea[0x2]=_0x1c44ea[0x2]+_0x8717ad|0x0,_0x1c44ea[0x3]=_0x1c44ea[0x3]+_0x35efb7|0x0;},'_doFinalize':function(){const _0x30b974=_0x9f4d72;var _0x4cbdd5=this['_data'],_0x2f8d64=_0x4cbdd5[_0x30b974(0x699)],_0x491aa1=this[_0x30b974(0x667)]*0x8,_0x2ead23=_0x4cbdd5['sigBytes']*0x8;_0x2f8d64[_0x2ead23>>>0x5]|=0x80<<0x18-_0x2ead23%0x20;var _0x36603d=_0x5c0fb0[_0x30b974(0x3e2)](_0x491aa1/0x100000000),_0x303c0b=_0x491aa1;_0x2f8d64[(_0x2ead23+0x40>>>0x9<<0x4)+0xf]=(_0x36603d<<0x8|_0x36603d>>>0x18)&0xff00ff|(_0x36603d<<0x18|_0x36603d>>>0x8)&0xff00ff00,_0x2f8d64[(_0x2ead23+0x40>>>0x9<<0x4)+0xe]=(_0x303c0b<<0x8|_0x303c0b>>>0x18)&0xff00ff|(_0x303c0b<<0x18|_0x303c0b>>>0x8)&0xff00ff00,_0x4cbdd5[_0x30b974(0x222)]=(_0x2f8d64[_0x30b974(0x410)]+0x1)*0x4,this['_process']();for(var _0x3014b0=this[_0x30b974(0x515)],_0x5d3b3d=_0x3014b0[_0x30b974(0x699)],_0x1b6fc0=0x0;_0x1b6fc0<0x4;_0x1b6fc0++){var _0x1d7018=_0x5d3b3d[_0x1b6fc0];_0x5d3b3d[_0x1b6fc0]=(_0x1d7018<<0x8|_0x1d7018>>>0x18)&0xff00ff|(_0x1d7018<<0x18|_0x1d7018>>>0x8)&0xff00ff00;}return _0x3014b0;},'clone':function(){const _0x40e8d7=_0x9f4d72;var _0x30ab68=_0x485b0f[_0x40e8d7(0x2e5)]['call'](this);return _0x30ab68[_0x40e8d7(0x515)]=this['_hash'][_0x40e8d7(0x2e5)](),_0x30ab68;}});function _0x3dc05d(_0x43491d,_0x9b5d41,_0x23dab8,_0x77a321,_0x238e51,_0x5a19ad,_0x380fa1){var _0x3f420d=_0x43491d+(_0x9b5d41&_0x23dab8|~_0x9b5d41&_0x77a321)+_0x238e51+_0x380fa1;return(_0x3f420d<<_0x5a19ad|_0x3f420d>>>0x20-_0x5a19ad)+_0x9b5d41;}function _0x5fd6ab(_0x2843ec,_0x4344ce,_0x29917e,_0x32f2a1,_0x1ec9fd,_0x4fa398,_0x5a73cc){var _0x3ba12e=_0x2843ec+(_0x4344ce&_0x32f2a1|_0x29917e&~_0x32f2a1)+_0x1ec9fd+_0x5a73cc;return(_0x3ba12e<<_0x4fa398|_0x3ba12e>>>0x20-_0x4fa398)+_0x4344ce;}function _0x59250b(_0x46bf69,_0x40c60d,_0xd99fed,_0x5a17aa,_0x4a6676,_0x537a25,_0x93df33){var _0x5eac2c=_0x46bf69+(_0x40c60d^_0xd99fed^_0x5a17aa)+_0x4a6676+_0x93df33;return(_0x5eac2c<<_0x537a25|_0x5eac2c>>>0x20-_0x537a25)+_0x40c60d;}function _0x1aaae1(_0x10aad7,_0x1d1970,_0x116b8b,_0x3521a5,_0x4a047c,_0x1478c3,_0x2fb899){var _0x2abdc5=_0x10aad7+(_0x116b8b^(_0x1d1970|~_0x3521a5))+_0x4a047c+_0x2fb899;return(_0x2abdc5<<_0x1478c3|_0x2abdc5>>>0x20-_0x1478c3)+_0x1d1970;}_0x248740['MD5']=_0x485b0f[_0x9f4d72(0x29a)](_0x339424),_0x248740[_0x9f4d72(0x307)]=_0x485b0f[_0x9f4d72(0x491)](_0x339424);}(Math),_0x232970[_0x2acf68(0x2f7)];}));}(Ve)),Ve['exports'];}var Ge={'exports':{}},Ye={'exports':{}},Is=Ye[_0xe4d145(0x5c3)],ni;function Cs(){return ni||(ni=0x1,function(_0x2da3c7,_0x1dbe9f){(function(_0x7cc364,_0x3738d3){const _0x27b815=_0x4e21;_0x2da3c7[_0x27b815(0x5c3)]=_0x3738d3(se());}(Is,function(_0x1885e2){const _0x42326b=_0x4e21;return(function(){const _0x1e4666=_0x4e21;var _0x4631b4=_0x1885e2,_0x509339=_0x4631b4[_0x1e4666(0x247)],_0x1eb7a5=_0x509339[_0x1e4666(0x622)],_0x36ac0f=_0x509339[_0x1e4666(0x465)],_0x31154b=_0x4631b4[_0x1e4666(0x4f9)],_0x56a150=[],_0x3f8b16=_0x31154b['SHA1']=_0x36ac0f[_0x1e4666(0x4e0)]({'_doReset':function(){const _0x124de6=_0x1e4666;this[_0x124de6(0x515)]=new _0x1eb7a5[(_0x124de6(0x355))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xb139e9,_0x2597a9){const _0x3dae5a=_0x1e4666;for(var _0x57c1f2=this[_0x3dae5a(0x515)][_0x3dae5a(0x699)],_0x14c2c9=_0x57c1f2[0x0],_0xbca504=_0x57c1f2[0x1],_0x248ba7=_0x57c1f2[0x2],_0x508346=_0x57c1f2[0x3],_0x537fa3=_0x57c1f2[0x4],_0x6a2145=0x0;_0x6a2145<0x50;_0x6a2145++){if(_0x6a2145<0x10)_0x56a150[_0x6a2145]=_0xb139e9[_0x2597a9+_0x6a2145]|0x0;else{var _0x19a627=_0x56a150[_0x6a2145-0x3]^_0x56a150[_0x6a2145-0x8]^_0x56a150[_0x6a2145-0xe]^_0x56a150[_0x6a2145-0x10];_0x56a150[_0x6a2145]=_0x19a627<<0x1|_0x19a627>>>0x1f;}var _0x40195c=(_0x14c2c9<<0x5|_0x14c2c9>>>0x1b)+_0x537fa3+_0x56a150[_0x6a2145];_0x6a2145<0x14?_0x40195c+=(_0xbca504&_0x248ba7|~_0xbca504&_0x508346)+0x5a827999:_0x6a2145<0x28?_0x40195c+=(_0xbca504^_0x248ba7^_0x508346)+0x6ed9eba1:_0x6a2145<0x3c?_0x40195c+=(_0xbca504&_0x248ba7|_0xbca504&_0x508346|_0x248ba7&_0x508346)-0x70e44324:_0x40195c+=(_0xbca504^_0x248ba7^_0x508346)-0x359d3e2a,_0x537fa3=_0x508346,_0x508346=_0x248ba7,_0x248ba7=_0xbca504<<0x1e|_0xbca504>>>0x2,_0xbca504=_0x14c2c9,_0x14c2c9=_0x40195c;}_0x57c1f2[0x0]=_0x57c1f2[0x0]+_0x14c2c9|0x0,_0x57c1f2[0x1]=_0x57c1f2[0x1]+_0xbca504|0x0,_0x57c1f2[0x2]=_0x57c1f2[0x2]+_0x248ba7|0x0,_0x57c1f2[0x3]=_0x57c1f2[0x3]+_0x508346|0x0,_0x57c1f2[0x4]=_0x57c1f2[0x4]+_0x537fa3|0x0;},'_doFinalize':function(){const _0x398a35=_0x1e4666;var _0x163914=this[_0x398a35(0x623)],_0x5ddbf9=_0x163914[_0x398a35(0x699)],_0x39269d=this[_0x398a35(0x667)]*0x8,_0x311c22=_0x163914['sigBytes']*0x8;return _0x5ddbf9[_0x311c22>>>0x5]|=0x80<<0x18-_0x311c22%0x20,_0x5ddbf9[(_0x311c22+0x40>>>0x9<<0x4)+0xe]=Math[_0x398a35(0x3e2)](_0x39269d/0x100000000),_0x5ddbf9[(_0x311c22+0x40>>>0x9<<0x4)+0xf]=_0x39269d,_0x163914[_0x398a35(0x222)]=_0x5ddbf9['length']*0x4,this[_0x398a35(0x64a)](),this[_0x398a35(0x515)];},'clone':function(){const _0x882528=_0x1e4666;var _0x3732dd=_0x36ac0f[_0x882528(0x2e5)]['call'](this);return _0x3732dd[_0x882528(0x515)]=this[_0x882528(0x515)][_0x882528(0x2e5)](),_0x3732dd;}});_0x4631b4['SHA1']=_0x36ac0f['_createHelper'](_0x3f8b16),_0x4631b4['HmacSHA1']=_0x36ac0f[_0x1e4666(0x491)](_0x3f8b16);}()),_0x1885e2[_0x42326b(0x603)];}));}(Ye)),Ye['exports'];}var qe={'exports':{}},Es=qe[_0xe4d145(0x5c3)],ri;function bs(){const _0x27eba8=_0xe4d145;return ri||(ri=0x1,function(_0xaa2d7f,_0x44850d){(function(_0x476388,_0x4969f6){const _0x549243=_0x4e21;_0xaa2d7f[_0x549243(0x5c3)]=_0x4969f6(se());}(Es,function(_0x889a92){(function(){const _0x4d5d8b=_0x4e21;var _0x528b70=_0x889a92,_0x11e494=_0x528b70[_0x4d5d8b(0x247)],_0x2da526=_0x11e494['Base'],_0x467bb4=_0x528b70[_0x4d5d8b(0x2ce)],_0x2f7cd1=_0x467bb4[_0x4d5d8b(0x55e)],_0x53c4a6=_0x528b70['algo'];_0x53c4a6[_0x4d5d8b(0x63a)]=_0x2da526['extend']({'init':function(_0x3882f5,_0xf8506d){const _0x419853=_0x4d5d8b;_0x3882f5=this['_hasher']=new _0x3882f5[(_0x419853(0x355))](),typeof _0xf8506d==_0x419853(0x3f4)&&(_0xf8506d=_0x2f7cd1[_0x419853(0x46f)](_0xf8506d));var _0x8f19c0=_0x3882f5[_0x419853(0x5a0)],_0x59a86a=_0x8f19c0*0x4;_0xf8506d[_0x419853(0x222)]>_0x59a86a&&(_0xf8506d=_0x3882f5[_0x419853(0x21d)](_0xf8506d)),_0xf8506d[_0x419853(0x49c)]();for(var _0x1012e0=this[_0x419853(0x533)]=_0xf8506d['clone'](),_0x1292a2=this['_iKey']=_0xf8506d[_0x419853(0x2e5)](),_0x1f6797=_0x1012e0['words'],_0x43f157=_0x1292a2['words'],_0xcc2490=0x0;_0xcc2490<_0x8f19c0;_0xcc2490++)_0x1f6797[_0xcc2490]^=0x5c5c5c5c,_0x43f157[_0xcc2490]^=0x36363636;_0x1012e0['sigBytes']=_0x1292a2[_0x419853(0x222)]=_0x59a86a,this['reset']();},'reset':function(){const _0xc81400=_0x4d5d8b;var _0x10a3c0=this[_0xc81400(0x464)];_0x10a3c0[_0xc81400(0x570)](),_0x10a3c0[_0xc81400(0x6a3)](this[_0xc81400(0x294)]);},'update':function(_0x22d00b){const _0x40b0a7=_0x4d5d8b;return this[_0x40b0a7(0x464)][_0x40b0a7(0x6a3)](_0x22d00b),this;},'finalize':function(_0x5d76eb){const _0x4be653=_0x4d5d8b;var _0x3ecc2f=this[_0x4be653(0x464)],_0x2baa6e=_0x3ecc2f[_0x4be653(0x21d)](_0x5d76eb);_0x3ecc2f[_0x4be653(0x570)]();var _0x393891=_0x3ecc2f[_0x4be653(0x21d)](this[_0x4be653(0x533)][_0x4be653(0x2e5)]()['concat'](_0x2baa6e));return _0x393891;}});}());}));}(qe)),qe[_0x27eba8(0x5c3)];}var Ts=Ge[_0xe4d145(0x5c3)],si;function Hi(){const _0x176a8b=_0xe4d145;return si||(si=0x1,function(_0x3e9765,_0xd9f69c){(function(_0x540ba3,_0x10c3ea,_0x4b5351){const _0xd1848d=_0x4e21;_0x3e9765[_0xd1848d(0x5c3)]=_0x10c3ea(se(),Cs(),bs());}(Ts,function(_0x57c931){return(function(){const _0x5603d7=_0x4e21;var _0x5ea84f=_0x57c931,_0x63f176=_0x5ea84f['lib'],_0x4d39b7=_0x63f176[_0x5603d7(0x20d)],_0x3bcf3c=_0x63f176[_0x5603d7(0x622)],_0x104a88=_0x5ea84f[_0x5603d7(0x4f9)],_0x300929=_0x104a88[_0x5603d7(0x2f7)],_0x130cdd=_0x104a88[_0x5603d7(0x2f8)]=_0x4d39b7['extend']({'cfg':_0x4d39b7[_0x5603d7(0x4e0)]({'keySize':0x80/0x20,'hasher':_0x300929,'iterations':0x1}),'init':function(_0x569625){const _0x3ae0ee=_0x5603d7;this[_0x3ae0ee(0x292)]=this[_0x3ae0ee(0x292)]['extend'](_0x569625);},'compute':function(_0x371b50,_0x178e79){const _0xdfcd79=_0x5603d7;for(var _0x5a34ed,_0x415248=this[_0xdfcd79(0x292)],_0x21ee99=_0x415248['hasher']['create'](),_0xaa0682=_0x3bcf3c[_0xdfcd79(0x3c7)](),_0x3c90fa=_0xaa0682[_0xdfcd79(0x699)],_0x33ed3d=_0x415248[_0xdfcd79(0x47e)],_0xd5a857=_0x415248[_0xdfcd79(0x275)];_0x3c90fa['length']<_0x33ed3d;){_0x5a34ed&&_0x21ee99[_0xdfcd79(0x6a3)](_0x5a34ed),_0x5a34ed=_0x21ee99['update'](_0x371b50)['finalize'](_0x178e79),_0x21ee99[_0xdfcd79(0x570)]();for(var _0x509bfb=0x1;_0x509bfb<_0xd5a857;_0x509bfb++)_0x5a34ed=_0x21ee99[_0xdfcd79(0x21d)](_0x5a34ed),_0x21ee99[_0xdfcd79(0x570)]();_0xaa0682[_0xdfcd79(0x602)](_0x5a34ed);}return _0xaa0682[_0xdfcd79(0x222)]=_0x33ed3d*0x4,_0xaa0682;}});_0x5ea84f[_0x5603d7(0x2f8)]=function(_0x5492b9,_0x380fab,_0x5a9f8b){return _0x130cdd['create'](_0x5a9f8b)['compute'](_0x5492b9,_0x380fab);};}()),_0x57c931['EvpKDF'];}));}(Ge)),Ge[_0x176a8b(0x5c3)];}var Ke={'exports':{}},Rs=Ke[_0xe4d145(0x5c3)],oi;function Bi(){return oi||(oi=0x1,function(_0x5cc0d6,_0x257738){(function(_0x20f902,_0xd0b6df,_0x32a834){const _0x5a1cf9=_0x4e21;_0x5cc0d6[_0x5a1cf9(0x5c3)]=_0xd0b6df(se(),Hi());}(Rs,function(_0x506481){const _0x537e73=_0x4e21;_0x506481[_0x537e73(0x247)][_0x537e73(0x62c)]||function(_0xbed789){const _0x20e621=_0x537e73;var _0x283714=_0x506481,_0x62e52a=_0x283714[_0x20e621(0x247)],_0x2a2dc5=_0x62e52a[_0x20e621(0x20d)],_0xe839a8=_0x62e52a[_0x20e621(0x622)],_0x4f172a=_0x62e52a[_0x20e621(0x246)],_0x2f0230=_0x283714[_0x20e621(0x2ce)];_0x2f0230[_0x20e621(0x55e)];var _0x6ed6d7=_0x2f0230[_0x20e621(0x2b3)],_0x261320=_0x283714[_0x20e621(0x4f9)],_0x37edc5=_0x261320[_0x20e621(0x2f8)],_0x4ee70d=_0x62e52a[_0x20e621(0x62c)]=_0x4f172a[_0x20e621(0x4e0)]({'cfg':_0x2a2dc5['extend'](),'createEncryptor':function(_0x3392fc,_0x212055){const _0x546a4f=_0x20e621;return this['create'](this[_0x546a4f(0x22e)],_0x3392fc,_0x212055);},'createDecryptor':function(_0x3ba4f9,_0x529bdc){const _0x311126=_0x20e621;return this['create'](this[_0x311126(0x2ae)],_0x3ba4f9,_0x529bdc);},'init':function(_0xdc4b7,_0x2cb788,_0x71a709){const _0x541ca2=_0x20e621;this[_0x541ca2(0x292)]=this[_0x541ca2(0x292)]['extend'](_0x71a709),this[_0x541ca2(0x276)]=_0xdc4b7,this[_0x541ca2(0x204)]=_0x2cb788,this[_0x541ca2(0x570)]();},'reset':function(){const _0x217a89=_0x20e621;_0x4f172a[_0x217a89(0x570)][_0x217a89(0x4e7)](this),this['_doReset']();},'process':function(_0x4301a7){const _0xad5e1=_0x20e621;return this[_0xad5e1(0x414)](_0x4301a7),this[_0xad5e1(0x64a)]();},'finalize':function(_0x32116b){const _0x3e380b=_0x20e621;_0x32116b&&this[_0x3e380b(0x414)](_0x32116b);var _0x53debb=this[_0x3e380b(0x27d)]();return _0x53debb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x173e25(_0x2d2e2e){const _0x570be2=_0x4e21;return typeof _0x2d2e2e==_0x570be2(0x3f4)?_0x5f467b:_0x247f05;}return function(_0x4867e4){return{'encrypt':function(_0xe789c1,_0x3be26d,_0x128c3d){const _0x385190=_0x4e21;return _0x173e25(_0x3be26d)[_0x385190(0x377)](_0x4867e4,_0xe789c1,_0x3be26d,_0x128c3d);},'decrypt':function(_0x3663dc,_0xc8adb,_0x56b99a){const _0x560f8e=_0x4e21;return _0x173e25(_0xc8adb)[_0x560f8e(0x356)](_0x4867e4,_0x3663dc,_0xc8adb,_0x56b99a);}};};}())});_0x62e52a[_0x20e621(0x400)]=_0x4ee70d[_0x20e621(0x4e0)]({'_doFinalize':function(){var _0x156477=this['_process'](!0x0);return _0x156477;},'blockSize':0x1});var _0x72edc4=_0x283714[_0x20e621(0x49a)]={},_0x37dc6c=_0x62e52a[_0x20e621(0x281)]=_0x2a2dc5['extend']({'createEncryptor':function(_0x453d06,_0x462bf5){const _0xde4b8d=_0x20e621;return this[_0xde4b8d(0x43d)][_0xde4b8d(0x3c7)](_0x453d06,_0x462bf5);},'createDecryptor':function(_0x25731f,_0x3c727c){return this['Decryptor']['create'](_0x25731f,_0x3c727c);},'init':function(_0x1e0009,_0x18b813){const _0x833028=_0x20e621;this[_0x833028(0x261)]=_0x1e0009,this[_0x833028(0x217)]=_0x18b813;}}),_0x234fce=_0x72edc4[_0x20e621(0x3cf)]=(function(){const _0x2170da=_0x20e621;var _0x33835a=_0x37dc6c[_0x2170da(0x4e0)]();_0x33835a['Encryptor']=_0x33835a[_0x2170da(0x4e0)]({'processBlock':function(_0x23f026,_0x2c007b){const _0x10581c=_0x2170da;var _0x56c64b=this[_0x10581c(0x261)],_0x32fa62=_0x56c64b['blockSize'];_0x4c3423[_0x10581c(0x4e7)](this,_0x23f026,_0x2c007b,_0x32fa62),_0x56c64b['encryptBlock'](_0x23f026,_0x2c007b),this[_0x10581c(0x3c1)]=_0x23f026[_0x10581c(0x48f)](_0x2c007b,_0x2c007b+_0x32fa62);}}),_0x33835a['Decryptor']=_0x33835a[_0x2170da(0x4e0)]({'processBlock':function(_0x40f57f,_0x1e1643){const _0x50630b=_0x2170da;var _0x2eed75=this[_0x50630b(0x261)],_0x4a14e2=_0x2eed75[_0x50630b(0x5a0)],_0x1151db=_0x40f57f[_0x50630b(0x48f)](_0x1e1643,_0x1e1643+_0x4a14e2);_0x2eed75[_0x50630b(0x44b)](_0x40f57f,_0x1e1643),_0x4c3423['call'](this,_0x40f57f,_0x1e1643,_0x4a14e2),this['_prevBlock']=_0x1151db;}});function _0x4c3423(_0x1e1f66,_0x1a80c2,_0x119b7d){const _0x3d045e=_0x2170da;var _0x550066,_0xee5877=this[_0x3d045e(0x217)];_0xee5877?(_0x550066=_0xee5877,this[_0x3d045e(0x217)]=_0xbed789):_0x550066=this[_0x3d045e(0x3c1)];for(var _0x1e52ad=0x0;_0x1e52ad<_0x119b7d;_0x1e52ad++)_0x1e1f66[_0x1a80c2+_0x1e52ad]^=_0x550066[_0x1e52ad];}return _0x33835a;}()),_0x176a7e=_0x283714[_0x20e621(0x3a8)]={},_0x375c9f=_0x176a7e[_0x20e621(0x38e)]={'pad':function(_0x2afe4e,_0x1fe9a5){const _0x2759ff=_0x20e621;for(var _0x43f5c2=_0x1fe9a5*0x4,_0x260afa=_0x43f5c2-_0x2afe4e[_0x2759ff(0x222)]%_0x43f5c2,_0x183b91=_0x260afa<<0x18|_0x260afa<<0x10|_0x260afa<<0x8|_0x260afa,_0x306153=[],_0xf3a987=0x0;_0xf3a987<_0x260afa;_0xf3a987+=0x4)_0x306153[_0x2759ff(0x46d)](_0x183b91);var _0x226b59=_0xe839a8['create'](_0x306153,_0x260afa);_0x2afe4e['concat'](_0x226b59);},'unpad':function(_0x2b7326){const _0x472eda=_0x20e621;var _0x1a7385=_0x2b7326[_0x472eda(0x699)][_0x2b7326[_0x472eda(0x222)]-0x1>>>0x2]&0xff;_0x2b7326['sigBytes']-=_0x1a7385;}};_0x62e52a[_0x20e621(0x53f)]=_0x4ee70d[_0x20e621(0x4e0)]({'cfg':_0x4ee70d[_0x20e621(0x292)][_0x20e621(0x4e0)]({'mode':_0x234fce,'padding':_0x375c9f}),'reset':function(){const _0x2f8186=_0x20e621;var _0x5d98cc;_0x4ee70d[_0x2f8186(0x570)][_0x2f8186(0x4e7)](this);var _0x1738d3=this[_0x2f8186(0x292)],_0x500b9f=_0x1738d3['iv'],_0x5bfecf=_0x1738d3[_0x2f8186(0x49a)];this[_0x2f8186(0x276)]==this[_0x2f8186(0x22e)]?_0x5d98cc=_0x5bfecf[_0x2f8186(0x4a4)]:(_0x5d98cc=_0x5bfecf[_0x2f8186(0x596)],this[_0x2f8186(0x4bd)]=0x1),this[_0x2f8186(0x3e0)]&&this[_0x2f8186(0x3e0)][_0x2f8186(0x449)]==_0x5d98cc?this[_0x2f8186(0x3e0)]['init'](this,_0x500b9f&&_0x500b9f['words']):(this[_0x2f8186(0x3e0)]=_0x5d98cc[_0x2f8186(0x4e7)](_0x5bfecf,this,_0x500b9f&&_0x500b9f['words']),this[_0x2f8186(0x3e0)][_0x2f8186(0x449)]=_0x5d98cc);},'_doProcessBlock':function(_0x43e4d5,_0x4373f5){const _0x231ee9=_0x20e621;this[_0x231ee9(0x3e0)][_0x231ee9(0x25b)](_0x43e4d5,_0x4373f5);},'_doFinalize':function(){const _0x3be040=_0x20e621;var _0x4f3bb2,_0x56784f=this[_0x3be040(0x292)]['padding'];return this[_0x3be040(0x276)]==this[_0x3be040(0x22e)]?(_0x56784f[_0x3be040(0x3a8)](this[_0x3be040(0x623)],this[_0x3be040(0x5a0)]),_0x4f3bb2=this[_0x3be040(0x64a)](!0x0)):(_0x4f3bb2=this['_process'](!0x0),_0x56784f['unpad'](_0x4f3bb2)),_0x4f3bb2;},'blockSize':0x80/0x20});var _0x545aad=_0x62e52a['CipherParams']=_0x2a2dc5[_0x20e621(0x4e0)]({'init':function(_0x22598b){this['mixIn'](_0x22598b);},'toString':function(_0x299883){const _0xd42659=_0x20e621;return(_0x299883||this[_0xd42659(0x604)])[_0xd42659(0x3f2)](this);}}),_0x101bda=_0x283714[_0x20e621(0x548)]={},_0x2d60d1=_0x101bda['OpenSSL']={'stringify':function(_0x387f6f){const _0xea4170=_0x20e621;var _0x3b4cfd,_0x2436d8=_0x387f6f[_0xea4170(0x450)],_0x57e768=_0x387f6f['salt'];return _0x57e768?_0x3b4cfd=_0xe839a8[_0xea4170(0x3c7)]([0x53616c74,0x65645f5f])[_0xea4170(0x602)](_0x57e768)[_0xea4170(0x602)](_0x2436d8):_0x3b4cfd=_0x2436d8,_0x3b4cfd[_0xea4170(0x49f)](_0x6ed6d7);},'parse':function(_0x12f657){const _0xc29026=_0x20e621;var _0x386406,_0x2dd230=_0x6ed6d7[_0xc29026(0x46f)](_0x12f657),_0x119507=_0x2dd230['words'];return _0x119507[0x0]==0x53616c74&&_0x119507[0x1]==0x65645f5f&&(_0x386406=_0xe839a8[_0xc29026(0x3c7)](_0x119507[_0xc29026(0x48f)](0x2,0x4)),_0x119507[_0xc29026(0x43f)](0x0,0x4),_0x2dd230[_0xc29026(0x222)]-=0x10),_0x545aad[_0xc29026(0x3c7)]({'ciphertext':_0x2dd230,'salt':_0x386406});}},_0x247f05=_0x62e52a[_0x20e621(0x20b)]=_0x2a2dc5[_0x20e621(0x4e0)]({'cfg':_0x2a2dc5[_0x20e621(0x4e0)]({'format':_0x2d60d1}),'encrypt':function(_0x1f61a8,_0x3c8280,_0x50f281,_0x531876){const _0x144074=_0x20e621;_0x531876=this[_0x144074(0x292)][_0x144074(0x4e0)](_0x531876);var _0x149876=_0x1f61a8[_0x144074(0x4a4)](_0x50f281,_0x531876),_0x5d7c25=_0x149876[_0x144074(0x21d)](_0x3c8280),_0xd32cb5=_0x149876[_0x144074(0x292)];return _0x545aad[_0x144074(0x3c7)]({'ciphertext':_0x5d7c25,'key':_0x50f281,'iv':_0xd32cb5['iv'],'algorithm':_0x1f61a8,'mode':_0xd32cb5['mode'],'padding':_0xd32cb5[_0x144074(0x55b)],'blockSize':_0x1f61a8[_0x144074(0x5a0)],'formatter':_0x531876[_0x144074(0x548)]});},'decrypt':function(_0x43cf4c,_0x342ebb,_0x1f6f72,_0x161fb9){const _0x5dc2d8=_0x20e621;_0x161fb9=this[_0x5dc2d8(0x292)][_0x5dc2d8(0x4e0)](_0x161fb9),_0x342ebb=this['_parse'](_0x342ebb,_0x161fb9[_0x5dc2d8(0x548)]);var _0x4c6c06=_0x43cf4c[_0x5dc2d8(0x596)](_0x1f6f72,_0x161fb9)[_0x5dc2d8(0x21d)](_0x342ebb[_0x5dc2d8(0x450)]);return _0x4c6c06;},'_parse':function(_0x2f358a,_0x54d2d3){const _0x21a189=_0x20e621;return typeof _0x2f358a==_0x21a189(0x3f4)?_0x54d2d3[_0x21a189(0x46f)](_0x2f358a,this):_0x2f358a;}}),_0x2b6c7b=_0x283714['kdf']={},_0x3661cb=_0x2b6c7b[_0x20e621(0x1f8)]={'execute':function(_0x5e25ca,_0x16ae00,_0x55aca2,_0x4885bd,_0xbcec5d){const _0xf34f4f=_0x20e621;if(_0x4885bd||(_0x4885bd=_0xe839a8[_0xf34f4f(0x4f3)](0x40/0x8)),_0xbcec5d)var _0x3d5ab0=_0x37edc5[_0xf34f4f(0x3c7)]({'keySize':_0x16ae00+_0x55aca2,'hasher':_0xbcec5d})[_0xf34f4f(0x28b)](_0x5e25ca,_0x4885bd);else var _0x3d5ab0=_0x37edc5[_0xf34f4f(0x3c7)]({'keySize':_0x16ae00+_0x55aca2})[_0xf34f4f(0x28b)](_0x5e25ca,_0x4885bd);var _0x414ce7=_0xe839a8[_0xf34f4f(0x3c7)](_0x3d5ab0[_0xf34f4f(0x699)]['slice'](_0x16ae00),_0x55aca2*0x4);return _0x3d5ab0[_0xf34f4f(0x222)]=_0x16ae00*0x4,_0x545aad['create']({'key':_0x3d5ab0,'iv':_0x414ce7,'salt':_0x4885bd});}},_0x5f467b=_0x62e52a[_0x20e621(0x25a)]=_0x247f05['extend']({'cfg':_0x247f05[_0x20e621(0x292)][_0x20e621(0x4e0)]({'kdf':_0x3661cb}),'encrypt':function(_0x1b7f3c,_0x5c7a76,_0x58fc61,_0xf87a8e){const _0x3b5178=_0x20e621;_0xf87a8e=this[_0x3b5178(0x292)][_0x3b5178(0x4e0)](_0xf87a8e);var _0x213df4=_0xf87a8e[_0x3b5178(0x3c3)][_0x3b5178(0x49d)](_0x58fc61,_0x1b7f3c[_0x3b5178(0x47e)],_0x1b7f3c[_0x3b5178(0x4d5)],_0xf87a8e['salt'],_0xf87a8e[_0x3b5178(0x230)]);_0xf87a8e['iv']=_0x213df4['iv'];var _0x134819=_0x247f05[_0x3b5178(0x377)][_0x3b5178(0x4e7)](this,_0x1b7f3c,_0x5c7a76,_0x213df4[_0x3b5178(0x5fe)],_0xf87a8e);return _0x134819[_0x3b5178(0x35a)](_0x213df4),_0x134819;},'decrypt':function(_0x20f089,_0x11091e,_0x221901,_0x34f2bd){const _0x3a6625=_0x20e621;_0x34f2bd=this['cfg']['extend'](_0x34f2bd),_0x11091e=this[_0x3a6625(0x241)](_0x11091e,_0x34f2bd[_0x3a6625(0x548)]);var _0x10d008=_0x34f2bd[_0x3a6625(0x3c3)][_0x3a6625(0x49d)](_0x221901,_0x20f089[_0x3a6625(0x47e)],_0x20f089[_0x3a6625(0x4d5)],_0x11091e[_0x3a6625(0x320)],_0x34f2bd[_0x3a6625(0x230)]);_0x34f2bd['iv']=_0x10d008['iv'];var _0x3afb72=_0x247f05[_0x3a6625(0x356)][_0x3a6625(0x4e7)](this,_0x20f089,_0x11091e,_0x10d008[_0x3a6625(0x5fe)],_0x34f2bd);return _0x3afb72;}});}();}));}(Ke)),Ke['exports'];}var Os=ke[_0xe4d145(0x5c3)],ai;function ys(){return ai||(ai=0x1,function(_0x2f7e0e,_0x12ace6){(function(_0x31a9b0,_0x3776cd,_0x3a6761){const _0x6410b1=_0x4e21;_0x2f7e0e[_0x6410b1(0x5c3)]=_0x3776cd(se(),ji(),gs(),Hi(),Bi());}(Os,function(_0x5ad9cd){return(function(){const _0x2d704f=_0x4e21;var _0x3cb424=_0x5ad9cd,_0x5880f1=_0x3cb424['lib'],_0x14b068=_0x5880f1['BlockCipher'],_0x4f4113=_0x3cb424['algo'],_0x9bac06=[],_0x34f501=[],_0x351509=[],_0x2c16db=[],_0x2376f1=[],_0x13829b=[],_0x3a59be=[],_0x1d8b37=[],_0x592faa=[],_0xd3e9b2=[];(function(){for(var _0x1cf144=[],_0x5d06e8=0x0;_0x5d06e8<0x100;_0x5d06e8++)_0x5d06e8<0x80?_0x1cf144[_0x5d06e8]=_0x5d06e8<<0x1:_0x1cf144[_0x5d06e8]=_0x5d06e8<<0x1^0x11b;for(var _0x566f99=0x0,_0x223a20=0x0,_0x5d06e8=0x0;_0x5d06e8<0x100;_0x5d06e8++){var _0x15b884=_0x223a20^_0x223a20<<0x1^_0x223a20<<0x2^_0x223a20<<0x3^_0x223a20<<0x4;_0x15b884=_0x15b884>>>0x8^_0x15b884&0xff^0x63,_0x9bac06[_0x566f99]=_0x15b884,_0x34f501[_0x15b884]=_0x566f99;var _0x116b2c=_0x1cf144[_0x566f99],_0x4988fe=_0x1cf144[_0x116b2c],_0x53037b=_0x1cf144[_0x4988fe],_0x587e91=_0x1cf144[_0x15b884]*0x101^_0x15b884*0x1010100;_0x351509[_0x566f99]=_0x587e91<<0x18|_0x587e91>>>0x8,_0x2c16db[_0x566f99]=_0x587e91<<0x10|_0x587e91>>>0x10,_0x2376f1[_0x566f99]=_0x587e91<<0x8|_0x587e91>>>0x18,_0x13829b[_0x566f99]=_0x587e91;var _0x587e91=_0x53037b*0x1010101^_0x4988fe*0x10001^_0x116b2c*0x101^_0x566f99*0x1010100;_0x3a59be[_0x15b884]=_0x587e91<<0x18|_0x587e91>>>0x8,_0x1d8b37[_0x15b884]=_0x587e91<<0x10|_0x587e91>>>0x10,_0x592faa[_0x15b884]=_0x587e91<<0x8|_0x587e91>>>0x18,_0xd3e9b2[_0x15b884]=_0x587e91,_0x566f99?(_0x566f99=_0x116b2c^_0x1cf144[_0x1cf144[_0x1cf144[_0x53037b^_0x116b2c]]],_0x223a20^=_0x1cf144[_0x1cf144[_0x223a20]]):_0x566f99=_0x223a20=0x1;}}());var _0x599f60=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2943c4=_0x4f4113[_0x2d704f(0x260)]=_0x14b068[_0x2d704f(0x4e0)]({'_doReset':function(){const _0x21f54d=_0x2d704f;var _0x372f8c;if(!(this[_0x21f54d(0x66d)]&&this['_keyPriorReset']===this['_key'])){for(var _0x54c9bc=this[_0x21f54d(0x5a9)]=this[_0x21f54d(0x204)],_0x45016e=_0x54c9bc['words'],_0x37c302=_0x54c9bc[_0x21f54d(0x222)]/0x4,_0x5db031=this[_0x21f54d(0x66d)]=_0x37c302+0x6,_0x4c02d0=(_0x5db031+0x1)*0x4,_0x38dd2d=this['_keySchedule']=[],_0x2f19da=0x0;_0x2f19da<_0x4c02d0;_0x2f19da++)_0x2f19da<_0x37c302?_0x38dd2d[_0x2f19da]=_0x45016e[_0x2f19da]:(_0x372f8c=_0x38dd2d[_0x2f19da-0x1],_0x2f19da%_0x37c302?_0x37c302>0x6&&_0x2f19da%_0x37c302==0x4&&(_0x372f8c=_0x9bac06[_0x372f8c>>>0x18]<<0x18|_0x9bac06[_0x372f8c>>>0x10&0xff]<<0x10|_0x9bac06[_0x372f8c>>>0x8&0xff]<<0x8|_0x9bac06[_0x372f8c&0xff]):(_0x372f8c=_0x372f8c<<0x8|_0x372f8c>>>0x18,_0x372f8c=_0x9bac06[_0x372f8c>>>0x18]<<0x18|_0x9bac06[_0x372f8c>>>0x10&0xff]<<0x10|_0x9bac06[_0x372f8c>>>0x8&0xff]<<0x8|_0x9bac06[_0x372f8c&0xff],_0x372f8c^=_0x599f60[_0x2f19da/_0x37c302|0x0]<<0x18),_0x38dd2d[_0x2f19da]=_0x38dd2d[_0x2f19da-_0x37c302]^_0x372f8c);for(var _0x5ac1d0=this['_invKeySchedule']=[],_0x53d8b0=0x0;_0x53d8b0<_0x4c02d0;_0x53d8b0++){var _0x2f19da=_0x4c02d0-_0x53d8b0;if(_0x53d8b0%0x4)var _0x372f8c=_0x38dd2d[_0x2f19da];else var _0x372f8c=_0x38dd2d[_0x2f19da-0x4];_0x53d8b0<0x4||_0x2f19da<=0x4?_0x5ac1d0[_0x53d8b0]=_0x372f8c:_0x5ac1d0[_0x53d8b0]=_0x3a59be[_0x9bac06[_0x372f8c>>>0x18]]^_0x1d8b37[_0x9bac06[_0x372f8c>>>0x10&0xff]]^_0x592faa[_0x9bac06[_0x372f8c>>>0x8&0xff]]^_0xd3e9b2[_0x9bac06[_0x372f8c&0xff]];}}},'encryptBlock':function(_0x1bd84b,_0x1d0a64){const _0x3b921f=_0x2d704f;this[_0x3b921f(0x521)](_0x1bd84b,_0x1d0a64,this[_0x3b921f(0x497)],_0x351509,_0x2c16db,_0x2376f1,_0x13829b,_0x9bac06);},'decryptBlock':function(_0x4cfefe,_0x552970){const _0x5c2853=_0x2d704f;var _0x1a6bcc=_0x4cfefe[_0x552970+0x1];_0x4cfefe[_0x552970+0x1]=_0x4cfefe[_0x552970+0x3],_0x4cfefe[_0x552970+0x3]=_0x1a6bcc,this[_0x5c2853(0x521)](_0x4cfefe,_0x552970,this[_0x5c2853(0x2e3)],_0x3a59be,_0x1d8b37,_0x592faa,_0xd3e9b2,_0x34f501);var _0x1a6bcc=_0x4cfefe[_0x552970+0x1];_0x4cfefe[_0x552970+0x1]=_0x4cfefe[_0x552970+0x3],_0x4cfefe[_0x552970+0x3]=_0x1a6bcc;},'_doCryptBlock':function(_0x5796fe,_0x1c4f76,_0x3d78cb,_0x2d53af,_0x44b545,_0x464b5e,_0x58bd23,_0x1812fa){for(var _0xbd0f9a=this['_nRounds'],_0x5c28ba=_0x5796fe[_0x1c4f76]^_0x3d78cb[0x0],_0x508389=_0x5796fe[_0x1c4f76+0x1]^_0x3d78cb[0x1],_0x101c81=_0x5796fe[_0x1c4f76+0x2]^_0x3d78cb[0x2],_0x27f318=_0x5796fe[_0x1c4f76+0x3]^_0x3d78cb[0x3],_0x4c649d=0x4,_0x2cf8d1=0x1;_0x2cf8d1<_0xbd0f9a;_0x2cf8d1++){var _0x1e3aad=_0x2d53af[_0x5c28ba>>>0x18]^_0x44b545[_0x508389>>>0x10&0xff]^_0x464b5e[_0x101c81>>>0x8&0xff]^_0x58bd23[_0x27f318&0xff]^_0x3d78cb[_0x4c649d++],_0x56f50e=_0x2d53af[_0x508389>>>0x18]^_0x44b545[_0x101c81>>>0x10&0xff]^_0x464b5e[_0x27f318>>>0x8&0xff]^_0x58bd23[_0x5c28ba&0xff]^_0x3d78cb[_0x4c649d++],_0x3c1f7c=_0x2d53af[_0x101c81>>>0x18]^_0x44b545[_0x27f318>>>0x10&0xff]^_0x464b5e[_0x5c28ba>>>0x8&0xff]^_0x58bd23[_0x508389&0xff]^_0x3d78cb[_0x4c649d++],_0x32df28=_0x2d53af[_0x27f318>>>0x18]^_0x44b545[_0x5c28ba>>>0x10&0xff]^_0x464b5e[_0x508389>>>0x8&0xff]^_0x58bd23[_0x101c81&0xff]^_0x3d78cb[_0x4c649d++];_0x5c28ba=_0x1e3aad,_0x508389=_0x56f50e,_0x101c81=_0x3c1f7c,_0x27f318=_0x32df28;}var _0x1e3aad=(_0x1812fa[_0x5c28ba>>>0x18]<<0x18|_0x1812fa[_0x508389>>>0x10&0xff]<<0x10|_0x1812fa[_0x101c81>>>0x8&0xff]<<0x8|_0x1812fa[_0x27f318&0xff])^_0x3d78cb[_0x4c649d++],_0x56f50e=(_0x1812fa[_0x508389>>>0x18]<<0x18|_0x1812fa[_0x101c81>>>0x10&0xff]<<0x10|_0x1812fa[_0x27f318>>>0x8&0xff]<<0x8|_0x1812fa[_0x5c28ba&0xff])^_0x3d78cb[_0x4c649d++],_0x3c1f7c=(_0x1812fa[_0x101c81>>>0x18]<<0x18|_0x1812fa[_0x27f318>>>0x10&0xff]<<0x10|_0x1812fa[_0x5c28ba>>>0x8&0xff]<<0x8|_0x1812fa[_0x508389&0xff])^_0x3d78cb[_0x4c649d++],_0x32df28=(_0x1812fa[_0x27f318>>>0x18]<<0x18|_0x1812fa[_0x5c28ba>>>0x10&0xff]<<0x10|_0x1812fa[_0x508389>>>0x8&0xff]<<0x8|_0x1812fa[_0x101c81&0xff])^_0x3d78cb[_0x4c649d++];_0x5796fe[_0x1c4f76]=_0x1e3aad,_0x5796fe[_0x1c4f76+0x1]=_0x56f50e,_0x5796fe[_0x1c4f76+0x2]=_0x3c1f7c,_0x5796fe[_0x1c4f76+0x3]=_0x32df28;},'keySize':0x100/0x20});_0x3cb424['AES']=_0x14b068[_0x2d704f(0x29a)](_0x2943c4);}()),_0x5ad9cd['AES'];}));}(ke)),ke['exports'];}var Ds=ys();const Ps=$e(Ds);var ws=ji();const ci=$e(ws);var ze={'exports':{}},Us=ze[_0xe4d145(0x5c3)],li;function Ms(){return li||(li=0x1,function(_0x316c68,_0x1e90ac){(function(_0x5e1687,_0x11b18f){const _0x5ba57a=_0x4e21;_0x316c68[_0x5ba57a(0x5c3)]=_0x11b18f(se());}(Us,function(_0x2879d2){const _0x4e53b4=_0x4e21;return _0x2879d2['enc'][_0x4e53b4(0x55e)];}));}(ze)),ze['exports'];}var Ns=Ms();const As=$e(Ns);var Xe={'exports':{}},Ls=Xe['exports'],hi;function xs(){const _0x5c9c17=_0xe4d145;return hi||(hi=0x1,function(_0x2c7365,_0xaecc3a){(function(_0x4639a7,_0x1924b5){const _0x1d45e2=_0x4e21;_0x2c7365[_0x1d45e2(0x5c3)]=_0x1924b5(se());}(Ls,function(_0x2cbca0){const _0x41bc08=_0x4e21;return(function(){const _0x5177c5=_0x4e21;if(typeof ArrayBuffer==_0x5177c5(0x4a8)){var _0x219be8=_0x2cbca0,_0x22c77a=_0x219be8[_0x5177c5(0x247)],_0x15dd26=_0x22c77a[_0x5177c5(0x622)],_0x315061=_0x15dd26[_0x5177c5(0x355)],_0x2bac92=_0x15dd26[_0x5177c5(0x355)]=function(_0x23aead){const _0x4a76a3=_0x5177c5;if(_0x23aead instanceof ArrayBuffer&&(_0x23aead=new Uint8Array(_0x23aead)),(_0x23aead instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23aead instanceof Uint8ClampedArray||_0x23aead instanceof Int16Array||_0x23aead instanceof Uint16Array||_0x23aead instanceof Int32Array||_0x23aead instanceof Uint32Array||_0x23aead instanceof Float32Array||_0x23aead instanceof Float64Array)&&(_0x23aead=new Uint8Array(_0x23aead[_0x4a76a3(0x2c0)],_0x23aead[_0x4a76a3(0x60c)],_0x23aead[_0x4a76a3(0x265)])),_0x23aead instanceof Uint8Array){for(var _0xa89f8=_0x23aead[_0x4a76a3(0x265)],_0x3dea67=[],_0x51dc15=0x0;_0x51dc15<_0xa89f8;_0x51dc15++)_0x3dea67[_0x51dc15>>>0x2]|=_0x23aead[_0x51dc15]<<0x18-_0x51dc15%0x4*0x8;_0x315061[_0x4a76a3(0x4e7)](this,_0x3dea67,_0xa89f8);}else _0x315061['apply'](this,arguments);};_0x2bac92['prototype']=_0x15dd26;}}()),_0x2cbca0[_0x41bc08(0x247)][_0x41bc08(0x622)];}));}(Xe)),Xe[_0x5c9c17(0x5c3)];}var $s=xs();const js=$e($s);var Je={'exports':{}},Hs=Je['exports'],_i;function Bs(){const _0x18c27c=_0xe4d145;return _i||(_i=0x1,function(_0x1201fb,_0x2b56b5){(function(_0x3bc7e9,_0x36ef70,_0x5bc702){const _0x2a5bcd=_0x4e21;_0x1201fb[_0x2a5bcd(0x5c3)]=_0x36ef70(se(),Bi());}(Hs,function(_0xf5cacd){const _0xf5c539=_0x4e21;return _0xf5cacd['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0xf5cacd[_0xf5c539(0x3a8)][_0xf5c539(0x435)];}));}(Je)),Je[_0x18c27c(0x5c3)];}var ks=Bs();const Ws=$e(ks);function Fs(_0xa0620d,_0x353d38){const _0x1f5a6a=_0xe4d145,_0x1bc00a=_0x353d38-_0xa0620d[_0x1f5a6a(0x410)]%_0x353d38,_0x3d75ff=String['fromCharCode'](_0x1bc00a)[_0x1f5a6a(0x2dd)](_0x1bc00a);return _0xa0620d+_0x3d75ff;}function Vs(_0x3a4ca7,_0x5f6c52){const _0x5528af=_0xe4d145,_0x4f5cd8=js[_0x5528af(0x4f3)](0x10),_0x2a8402=Fs(_0x3a4ca7,0x10),_0x276b7b=Ps[_0x5528af(0x377)](As[_0x5528af(0x46f)](_0x2a8402),ci[_0x5528af(0x46f)](_0x5f6c52),{'iv':_0x4f5cd8,'padding':Ws});return _0x4f5cd8[_0x5528af(0x602)](_0x276b7b[_0x5528af(0x450)])['toString'](ci);}function Gs(){const _0x525c96=_0xe4d145,_0x3f77ec=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x525c96(0x428)];if(_0x3f77ec){const _0x2d5045={'time':Math[_0x525c96(0x3e2)](Date[_0x525c96(0x6b9)]()/0x3e8),'domain':location['hostname']};return Vs(JSON['stringify'](_0x2d5045),_0x3f77ec);}}var Ys=Object[_0xe4d145(0x641)],qs=Object[_0xe4d145(0x31a)],Ks=(_0x44ad17,_0x3d5d9b,_0x284450,_0x3ca044)=>{for(var _0x186620=_0x3ca044>0x1?void 0x0:_0x3ca044?qs(_0x3d5d9b,_0x284450):_0x3d5d9b,_0x1d6cc7=_0x44ad17['length']-0x1,_0x28101c;_0x1d6cc7>=0x0;_0x1d6cc7--)(_0x28101c=_0x44ad17[_0x1d6cc7])&&(_0x186620=(_0x3ca044?_0x28101c(_0x3d5d9b,_0x284450,_0x186620):_0x28101c(_0x186620))||_0x186620);return _0x3ca044&&_0x186620&&Ys(_0x3d5d9b,_0x284450,_0x186620),_0x186620;},zs=(_0x7cc793,_0x3738a7)=>(_0x1f1226,_0x2ed1e6)=>_0x3738a7(_0x1f1226,_0x2ed1e6,_0x7cc793);let st=class{constructor(_0x19ec28){const _0x17d4bd=_0xe4d145;this[_0x17d4bd(0x585)]=_0x19ec28,this[_0x17d4bd(0x336)]();}[_0xe4d145(0x336)](){const _0x5ee956=_0xe4d145;this[_0x5ee956(0x585)][_0x5ee956(0x37a)]({'interceptor':(_0x4c5efa,_0x46d5bb)=>{const _0x4bf601=_0x5ee956,_0x4b31ab=_0x4c5efa[_0x4bf601(0x30f)],_0x803d3e=Gs();return _0x803d3e&&_0x4b31ab['set'](_0x4bf601(0x2e0),_0x803d3e),_0x46d5bb(_0x4c5efa);}});}};st=Ks([zs(0x0,a[_0xe4d145(0x378)](z[_0xe4d145(0x370)]))],st);var Xs=Object['defineProperty'],Js=Object[_0xe4d145(0x31a)],Zs=(_0x4370a0,_0x4a4bb5,_0x494479,_0x53f8df)=>{const _0x8054ef=_0xe4d145;for(var _0x1e12dd=_0x53f8df>0x1?void 0x0:_0x53f8df?Js(_0x4a4bb5,_0x494479):_0x4a4bb5,_0x347012=_0x4370a0[_0x8054ef(0x410)]-0x1,_0x1f6fd1;_0x347012>=0x0;_0x347012--)(_0x1f6fd1=_0x4370a0[_0x347012])&&(_0x1e12dd=(_0x53f8df?_0x1f6fd1(_0x4a4bb5,_0x494479,_0x1e12dd):_0x1f6fd1(_0x1e12dd))||_0x1e12dd);return _0x53f8df&&_0x1e12dd&&Xs(_0x4a4bb5,_0x494479,_0x1e12dd),_0x1e12dd;},Et=(_0x117ff1,_0x448914)=>(_0x1f1d3d,_0x5e7e5b)=>_0x448914(_0x1f1d3d,_0x5e7e5b,_0x117ff1);const Qs=[_0xe4d145(0x310),_0xe4d145(0x53d),_0xe4d145(0x338),'image/gif',_0xe4d145(0x433)],eo=0x5*0x400*0x400,to=_0xe4d145(0x249),io=_0xe4d145(0x633),no='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ro=_0xe4d145(0x3d4);exports[_0xe4d145(0x438)]=class{constructor(_0x1f228a,_0x310a7a,_0x54da0c){const _0x508fa9=_0xe4d145;I(this,_0x508fa9(0x561),0x0),I(this,_0x508fa9(0x501),new N[(_0x508fa9(0x360))]()),I(this,_0x508fa9(0x2ea),this[_0x508fa9(0x501)]),I(this,_0x508fa9(0x3ba),new Map()),(this[_0x508fa9(0x585)]=_0x1f228a,this[_0x508fa9(0x558)]=_0x310a7a,this[_0x508fa9(0x419)]=_0x54da0c);}[_0xe4d145(0x40d)](_0x303cb0){const _0x41bcbc=_0xe4d145;this[_0x41bcbc(0x561)]=_0x303cb0,this[_0x41bcbc(0x501)][_0x41bcbc(0x215)](_0x303cb0);}[_0xe4d145(0x5fd)](_0x7155eb,_0x4e21d7){const _0x368610=_0xe4d145;if(_0x4e21d7===te['ImageSourceType'][_0x368610(0x528)]){const _0x34fea3=new Image();return _0x34fea3[_0x368610(0x4d7)]=_0x7155eb,_0x34fea3;}return this[_0x368610(0x3ba)][_0x368610(0x415)](_0x7155eb);}[_0xe4d145(0x554)](_0x1b3f7e,_0x457f14,_0x5b4c02){const _0x180fe4=_0xe4d145;_0x457f14===te[_0x180fe4(0x431)][_0x180fe4(0x528)]||_0x5b4c02==null||this[_0x180fe4(0x3ba)][_0x180fe4(0x5c4)](_0x1b3f7e,_0x5b4c02);}async[_0xe4d145(0x642)](_0x2d9f8a){const _0x302f37=_0xe4d145;try{const _0x8f6fa9=this[_0x302f37(0x3d7)](this[_0x302f37(0x2bb)](),''+_0x2d9f8a),_0x365806=(await this['_httpService'][_0x302f37(0x415)](_0x8f6fa9))['body'];if(_0x365806['error']&&_0x365806[_0x302f37(0x5b6)]['code']===bi['OK']){const _0xf65382=new URL(_0x365806['url'],this['_getDownloadEndpointURL']())[_0x302f37(0x49f)]();return Promise[_0x302f37(0x2af)](_0xf65382);}return Promise[_0x302f37(0x472)](_0x365806[_0x302f37(0x5b6)]);}catch(_0x184d7e){return Promise[_0x302f37(0x472)](_0x184d7e);}}async['saveImage'](_0x161612){const _0x5caa3a=_0xe4d145;let _0x316c54='';if(!Qs[_0x5caa3a(0x67f)](_0x161612[_0x5caa3a(0x5ba)]))return this[_0x5caa3a(0x413)](),Promise[_0x5caa3a(0x472)](new Error(te[_0x5caa3a(0x1ff)]['ERROR_IMAGE_TYPE']));if(_0x161612[_0x5caa3a(0x52c)]>eo)return this[_0x5caa3a(0x413)](),Promise[_0x5caa3a(0x472)](new Error(te[_0x5caa3a(0x1ff)]['ERROR_EXCEED_SIZE']));try{const _0x9140dd=new FormData();_0x9140dd[_0x5caa3a(0x425)]('file',_0x161612);const _0x5bd977=this[_0x5caa3a(0x419)]['getFocusedUnit'](),_0x276f65=_0x5bd977==null?void 0x0:_0x5bd977[_0x5caa3a(0x393)]();if(!_0x276f65)throw new Error(_0x5caa3a(0x689));const _0x1bca3c=this[_0x5caa3a(0x5cf)]()+_0x5caa3a(0x206)+_0x161612[_0x5caa3a(0x52c)][_0x5caa3a(0x49f)]()+_0x5caa3a(0x467)+Ti[_0x5caa3a(0x56d)]+_0x5caa3a(0x2ad)+encodeURIComponent(_0x276f65),_0x1cec15=await(await fetch(_0x1bca3c,{'method':_0x5caa3a(0x262),'body':_0x9140dd}))[_0x5caa3a(0x2b7)]();if(typeof _0x1cec15[_0x5caa3a(0x395)]!='string')return this[_0x5caa3a(0x413)](),Promise[_0x5caa3a(0x472)](new Error(te[_0x5caa3a(0x1ff)]['ERROR_IMAGE']));_0x316c54=_0x1cec15[_0x5caa3a(0x395)];}catch{return this[_0x5caa3a(0x413)](),Promise[_0x5caa3a(0x472)](new Error(te[_0x5caa3a(0x1ff)][_0x5caa3a(0x4c8)]));}return new Promise((_0x5d2bb7,_0x2dee0e)=>{const _0x353548=_0x5caa3a,_0x31c8f8=new FileReader();_0x31c8f8['readAsDataURL'](_0x161612),_0x31c8f8[_0x353548(0x5d1)]=_0x3ff547=>{const _0x60f807=_0x353548;var _0x1c2bbc;const _0x29a4b6=(_0x1c2bbc=_0x3ff547[_0x60f807(0x55c)])==null?void 0x0:_0x1c2bbc[_0x60f807(0x55a)];if(_0x29a4b6==null){this[_0x60f807(0x413)](),_0x2dee0e(new Error(te[_0x60f807(0x1ff)][_0x60f807(0x4c8)]));return;}const _0x2fdc94=a[_0x60f807(0x6bb)][_0x60f807(0x3ae)](0x6);_0x5d2bb7({'imageId':_0x2fdc94,'imageSourceType':te[_0x60f807(0x431)][_0x60f807(0x3dd)],'source':_0x316c54,'base64Cache':_0x29a4b6,'status':te[_0x60f807(0x1ff)][_0x60f807(0x2ec)]}),this['_decreaseWaiting']();};});}[_0xe4d145(0x5cf)](){const _0x1c99e8=_0xe4d145;var _0x1fa705,_0x2108f4;const _0x5326bb=this[_0x1c99e8(0x558)]['getConfig'](to),_0x56aad6=this[_0x1c99e8(0x558)]['getConfig'](Z);return(_0x2108f4=(_0x1fa705=_0x56aad6==null?void 0x0:_0x56aad6[_0x1c99e8(0x673)])!=null?_0x1fa705:_0x5326bb)!=null?_0x2108f4:io;}[_0xe4d145(0x2bb)](){const _0x5acaeb=_0xe4d145;var _0x245b77,_0x54caa3;const _0xd814ff=this[_0x5acaeb(0x558)]['getConfig'](no),_0x13b9a9=this[_0x5acaeb(0x558)][_0x5acaeb(0x44f)](Z);return(_0x54caa3=(_0x245b77=_0x13b9a9==null?void 0x0:_0x13b9a9[_0x5acaeb(0x598)])!=null?_0x245b77:_0xd814ff)!=null?_0x54caa3:ro;}[_0xe4d145(0x5a1)](){const _0x32aba1=_0xe4d145;var _0x1ba74d;const _0x2f023b=this[_0x32aba1(0x558)][_0x32aba1(0x44f)](Z);return(_0x1ba74d=_0x2f023b==null?void 0x0:_0x2f023b[_0x32aba1(0x2ba)])!=null?_0x1ba74d:location[_0x32aba1(0x3fc)];}[_0xe4d145(0x3d7)](_0x1da470,_0x5856cb){const _0x3175dd=_0xe4d145;return _0x1da470[_0x3175dd(0x4dd)](_0x3175dd(0x560),_0x5856cb);}['_decreaseWaiting'](){const _0x29a647=_0xe4d145;this[_0x29a647(0x561)]-=0x1,this['_change$'][_0x29a647(0x215)](this[_0x29a647(0x561)]);}},exports[_0xe4d145(0x438)]=Zs([Et(0x0,a[_0xe4d145(0x378)](z['HTTPService'])),Et(0x1,a[_0xe4d145(0x60a)]),Et(0x2,a[_0xe4d145(0x378)](a['IUniverInstanceService']))],exports[_0xe4d145(0x438)]);var so=Object[_0xe4d145(0x641)],oo=Object[_0xe4d145(0x31a)],ao=(_0x75efb9,_0x5a8a54,_0x2b77d0,_0x129b76)=>{const _0x703bc=_0xe4d145;for(var _0x3f0128=_0x129b76>0x1?void 0x0:_0x129b76?oo(_0x5a8a54,_0x2b77d0):_0x5a8a54,_0x55f291=_0x75efb9[_0x703bc(0x410)]-0x1,_0x59bedb;_0x55f291>=0x0;_0x55f291--)(_0x59bedb=_0x75efb9[_0x55f291])&&(_0x3f0128=(_0x129b76?_0x59bedb(_0x5a8a54,_0x2b77d0,_0x3f0128):_0x59bedb(_0x3f0128))||_0x3f0128);return _0x129b76&&_0x3f0128&&so(_0x5a8a54,_0x2b77d0,_0x3f0128),_0x3f0128;},ui=(_0x37b0e8,_0x3547f8)=>(_0x3286c3,_0x15c83e)=>_0x3547f8(_0x3286c3,_0x15c83e,_0x37b0e8);const co=_0xe4d145(0x278);exports['MentionIoHttpService']=class{constructor(_0x5f3b1b,_0x4a8a38){const _0xf300b7=_0xe4d145;this[_0xf300b7(0x558)]=_0x5f3b1b,this[_0xf300b7(0x2b4)]=_0x4a8a38;}['_getAPIPrefixPath'](){const _0x540fe4=_0xe4d145;var _0x177b24,_0x21ad6b;const _0x26cb52=this[_0x540fe4(0x558)][_0x540fe4(0x44f)](xt),_0x238908=this[_0x540fe4(0x558)]['getConfig'](Z);return(_0x21ad6b=(_0x177b24=_0x238908==null?void 0x0:_0x238908[_0x540fe4(0x5b1)])!=null?_0x177b24:_0x26cb52)!=null?_0x21ad6b:co;}async[_0xe4d145(0x5df)](_0x1090d3){const _0x54a4c4=_0xe4d145,_0x211947=this[_0x54a4c4(0x3e4)]()+_0x54a4c4(0x643);return{'list':[{'title':_0x54a4c4(0x63f),'mentions':(await this[_0x54a4c4(0x2b4)]['get'](_0x211947,{'params':{'objectID':_0x1090d3[_0x54a4c4(0x4bc)],'unitID':_0x1090d3[_0x54a4c4(0x4bc)]}}))[_0x54a4c4(0x507)][_0x54a4c4(0x518)]['map'](_0x23b194=>({'objectId':_0x23b194['id'],'name':_0x23b194['subject'][_0x54a4c4(0x3e7)],'metadata':{'icon':_0x23b194[_0x54a4c4(0x546)][_0x54a4c4(0x580)]},'label':_0x23b194[_0x54a4c4(0x546)]['name'],'objectType':a[_0x54a4c4(0x353)]['PERSON']})),'metadata':{},'type':a[_0x54a4c4(0x353)][_0x54a4c4(0x45d)]}]};}},exports[_0xe4d145(0x4ac)]=ao([ui(0x0,a['Inject'](a['IConfigService'])),ui(0x1,a[_0xe4d145(0x378)](z[_0xe4d145(0x370)]))],exports[_0xe4d145(0x4ac)]);var lo=Object[_0xe4d145(0x641)],ho=Object[_0xe4d145(0x31a)],_o=(_0x41383c,_0x14272b,_0x42ad58,_0x38f0e4)=>{const _0x309c4b=_0xe4d145;for(var _0x32d1b4=_0x38f0e4>0x1?void 0x0:_0x38f0e4?ho(_0x14272b,_0x42ad58):_0x14272b,_0x26955c=_0x41383c[_0x309c4b(0x410)]-0x1,_0x56cdff;_0x26955c>=0x0;_0x26955c--)(_0x56cdff=_0x41383c[_0x26955c])&&(_0x32d1b4=(_0x38f0e4?_0x56cdff(_0x14272b,_0x42ad58,_0x32d1b4):_0x56cdff(_0x32d1b4))||_0x32d1b4);return _0x38f0e4&&_0x32d1b4&&lo(_0x14272b,_0x42ad58,_0x32d1b4),_0x32d1b4;},Ne=(_0x3711ee,_0x577046)=>(_0x3523e9,_0x33fb6c)=>_0x577046(_0x3523e9,_0x33fb6c,_0x3711ee);let ot=class extends a[_0xe4d145(0x48d)]{constructor(_0x20a23b,_0x6fd737,_0x359c5a,_0x4c72cb,_0x4a630f){const _0x3e52d9=_0xe4d145;super(),this[_0x3e52d9(0x67b)]=_0x20a23b,this['_univerInstanceService']=_0x6fd737,this[_0x3e52d9(0x38b)]=_0x359c5a,this[_0x3e52d9(0x2ee)]=_0x4c72cb,this[_0x3e52d9(0x298)]=_0x4a630f,this[_0x3e52d9(0x6b3)](),this[_0x3e52d9(0x4f4)]();}[_0xe4d145(0x4f4)](){const _0x16bfb1=_0xe4d145,_0x1f16d1=async _0x44a403=>{const _0x394161=_0x4e21;(await this[_0x394161(0x2ee)][_0x394161(0x5b8)](_0x44a403))[_0x394161(0x61b)]['pipe'](V['filter'](_0x110e79=>_0x110e79[_0x394161(0x432)]===m[_0x394161(0x563)][_0x394161(0x216)]),V[_0x394161(0x480)](this[_0x394161(0x56f)]))[_0x394161(0x4e3)](_0x454250=>{const _0x3059f6=_0x394161,_0x1fd403=_0x454250,{reason:_0x4a97c6}=_0x1fd403['data'];this['_injector']['get'](ee[_0x3059f6(0x40b)])[_0x3059f6(0x50e)]({'type':Ce[_0x3059f6(0x5b2)][_0x3059f6(0x582)],'content':this[_0x3059f6(0x298)]['t'](_0x3059f6(0x628))+'('+_0x4a97c6+')'}),this[_0x3059f6(0x38b)][_0x3059f6(0x51c)](new k[(_0x3059f6(0x2a9))](_0x44a403)['id'],!0x1),this[_0x3059f6(0x2ee)][_0x3059f6(0x2b0)](_0x44a403);});};N['merge'](this[_0x16bfb1(0x419)][_0x16bfb1(0x448)](a[_0x16bfb1(0x349)][_0x16bfb1(0x303)]),this[_0x16bfb1(0x419)][_0x16bfb1(0x448)](a[_0x16bfb1(0x349)][_0x16bfb1(0x675)]))[_0x16bfb1(0x213)](V[_0x16bfb1(0x2d7)](_0x4ae13a=>_0x4ae13a[_0x16bfb1(0x393)]()),V[_0x16bfb1(0x28c)](_0x5f5919=>!a[_0x16bfb1(0x346)](_0x5f5919)),V['takeUntil'](this['dispose$']))[_0x16bfb1(0x4e3)](_0x4359b8=>{_0x1f16d1(_0x4359b8);});}[_0xe4d145(0x6b3)](){const _0x18893c=_0xe4d145,_0x61a3e5=async _0x238e6a=>{const _0x4212d6=_0x4e21;(await this[_0x4212d6(0x2ee)][_0x4212d6(0x5b8)](_0x238e6a))[_0x4212d6(0x61b)][_0x4212d6(0x213)](V['filter'](_0x168302=>_0x168302[_0x4212d6(0x432)]===m[_0x4212d6(0x563)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x4212d6(0x56f)]))['subscribe'](_0xf90b61=>{const _0x431b08=_0x4212d6,_0x2ee96b=_0xf90b61,{objectId:_0x55f8ba}=_0x2ee96b[_0x431b08(0x32b)],_0x4191a6=this['_injector']['get'](Le['SheetPermissionInitController']);_0x55f8ba===_0x238e6a?_0x4191a6[_0x431b08(0x59e)](_0x238e6a):_0x4191a6[_0x431b08(0x332)](_0x238e6a,_0x55f8ba);});};N[_0x18893c(0x5f0)](this[_0x18893c(0x419)][_0x18893c(0x448)](a[_0x18893c(0x349)][_0x18893c(0x303)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x18893c(0x675)]))[_0x18893c(0x213)](V[_0x18893c(0x2d7)](_0x1451d6=>_0x1451d6[_0x18893c(0x393)]()),V['filter'](_0x540f8e=>!a['isInternalEditorID'](_0x540f8e)),V[_0x18893c(0x480)](this[_0x18893c(0x56f)]))[_0x18893c(0x4e3)](_0xcc0510=>{_0x61a3e5(_0xcc0510);});}};ot=_o([Ne(0x0,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),Ne(0x1,a[_0xe4d145(0x61a)]),Ne(0x2,a[_0xe4d145(0x3df)]),Ne(0x3,a['Inject'](exports[_0xe4d145(0x2e2)])),Ne(0x4,a[_0xe4d145(0x378)](a[_0xe4d145(0x46e)]))],ot);var uo=Object[_0xe4d145(0x641)],fo=Object[_0xe4d145(0x31a)],vo=(_0x2f5375,_0x3f243f,_0x1fba01,_0x3fd96d)=>{const _0x3bf1ec=_0xe4d145;for(var _0x1545cd=_0x3fd96d>0x1?void 0x0:_0x3fd96d?fo(_0x3f243f,_0x1fba01):_0x3f243f,_0xab0c9a=_0x2f5375[_0x3bf1ec(0x410)]-0x1,_0x3c380b;_0xab0c9a>=0x0;_0xab0c9a--)(_0x3c380b=_0x2f5375[_0xab0c9a])&&(_0x1545cd=(_0x3fd96d?_0x3c380b(_0x3f243f,_0x1fba01,_0x1545cd):_0x3c380b(_0x1545cd))||_0x1545cd);return _0x3fd96d&&_0x1545cd&&uo(_0x3f243f,_0x1fba01,_0x1545cd),_0x1545cd;},di=(_0x2836c9,_0x37f422)=>(_0x1dca94,_0x2e8178)=>_0x37f422(_0x1dca94,_0x2e8178,_0x2836c9);exports[_0xe4d145(0x2ac)]=class{constructor(_0xbbd8c2,_0x40de63){const _0x6286b9=_0xe4d145;this[_0x6286b9(0x558)]=_0xbbd8c2,this[_0x6286b9(0x585)]=_0x40de63;}async[_0xe4d145(0x2a8)](_0x2320bf,_0x5be4e4){const _0xc7a16=_0xe4d145;var _0xc30050;const {unitID:_0x5d20cf,type:_0x3a72d7,revision:_0x589a68=0x0}=_0x5be4e4,_0x4fa729=this[_0xc7a16(0x32f)]()+'/'+_0x3a72d7+'/unit/'+_0x5d20cf+_0xc7a16(0x2e4)+_0x589a68,_0x371ea7=(await this[_0xc7a16(0x585)][_0xc7a16(0x415)](_0x4fa729))['body'],_0x72f412=(_0xc30050=_0x371ea7['snapshot'])==null?void 0x0:_0xc30050[_0xc7a16(0x5b3)];if(_0x72f412){const _0x4e573c=_0x72f412==null?void 0x0:_0x72f412[_0xc7a16(0x6ad)],_0x441093=m[_0xc7a16(0x3ac)][_0xc7a16(0x5c7)](m[_0xc7a16(0x3c0)](_0x4e573c));_0x72f412[_0xc7a16(0x6ad)]=_0x441093,Object[_0xc7a16(0x5d7)](_0x72f412['sheets'])[_0xc7a16(0x1ef)](([,_0x4ed3f8])=>{const _0x5cc24d=_0xc7a16,_0xd999b8=_0x4ed3f8[_0x5cc24d(0x6ad)],_0x3c28d5=m['textEncoder'][_0x5cc24d(0x5c7)](m[_0x5cc24d(0x3c0)](_0xd999b8));_0x4ed3f8[_0x5cc24d(0x6ad)]=_0x3c28d5;});}return _0x371ea7;}async[_0xe4d145(0x57c)](_0x31facb,_0x3f08c6){const _0x2562d5=_0xe4d145,{unitID:_0x25a371,type:_0x2b2d2d,blockID:_0x58ea36}=_0x3f08c6,_0x420da9=this[_0x2562d5(0x3bd)]()+'/'+_0x2b2d2d+_0x2562d5(0x304)+_0x25a371+_0x2562d5(0x676)+_0x58ea36;return(await this[_0x2562d5(0x585)][_0x2562d5(0x415)](_0x420da9))[_0x2562d5(0x507)];}async['getDeserializedSheetBlock'](_0x21dcb2,_0x49ef37){const _0x41c500=_0xe4d145,{unitID:_0xc3beb3,type:_0x351bc9,blockID:_0x328dec}=_0x49ef37,_0x1ce4fd=this['_getAPIPrefix']()+_0x41c500(0x676)+_0x351bc9+'/unit/'+_0xc3beb3+_0x41c500(0x676)+_0x328dec;return(await this[_0x41c500(0x585)][_0x41c500(0x415)](_0x1ce4fd))['body'];}async[_0xe4d145(0x576)](_0x50b81c,_0x44cde4){const _0x447803=_0xe4d145,{unitID:_0x12be19,type:_0x38e089,from:_0x4cc3e7,to:_0xab070d}=_0x44cde4,_0x424847=this[_0x447803(0x3bd)]()+'/'+_0x38e089+_0x447803(0x304)+_0x12be19+_0x447803(0x42a)+_0x4cc3e7+_0x447803(0x65b)+_0xab070d;return(await this[_0x447803(0x585)][_0x447803(0x415)](_0x424847))['body'];}[_0xe4d145(0x32f)](){const _0x210517=_0xe4d145;var _0xeee7d1;return(_0xeee7d1=this['_configService'][_0x210517(0x44f)](vi))!=null?_0xeee7d1:this[_0x210517(0x3bd)]();}[_0xe4d145(0x3bd)](){const _0xb98fb1=_0xe4d145;var _0x15feb7,_0x5aefdd;const _0x1ba911=this['_configService'][_0xb98fb1(0x44f)](fi),_0x4ff9e6=this[_0xb98fb1(0x558)][_0xb98fb1(0x44f)](Z);return(_0x5aefdd=(_0x15feb7=_0x4ff9e6==null?void 0x0:_0x4ff9e6[_0xb98fb1(0x388)])!=null?_0x15feb7:_0x1ba911)!=null?_0x5aefdd:qi;}async['getResourcesRequest'](_0x48194b,_0x5cc244){const _0x54f9d7=_0xe4d145,_0x43c84f=_0x54f9d7(0x429)+_0x5cc244['type']+'/unit/'+_0x5cc244['unitID']+_0x54f9d7(0x499);return(await this['_httpService'][_0x54f9d7(0x415)](_0x43c84f,{'params':{'resourceId':JSON['stringify'](_0x5cc244[_0x54f9d7(0x2c5)])}}))[_0x54f9d7(0x507)];}[_0xe4d145(0x550)](){const _0x4b67f8=_0xe4d145;throw new Error(_0x4b67f8(0x635));}[_0xe4d145(0x4fe)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x233532=_0xe4d145;throw new Error(_0x233532(0x635));}[_0xe4d145(0x566)](){const _0x2c3d28=_0xe4d145;throw new Error(_0x2c3d28(0x635));}[_0xe4d145(0x3b2)](){const _0x1000b5=_0xe4d145;throw new Error(_0x1000b5(0x635));}},exports['SnapshotServerOverHTTPService']=vo([di(0x0,a['IConfigService']),di(0x1,a[_0xe4d145(0x378)](z[_0xe4d145(0x370)]))],exports[_0xe4d145(0x2ac)]);var So=Object[_0xe4d145(0x641)],po=Object[_0xe4d145(0x31a)],mo=(_0x4f4bfe,_0x4c0e36,_0x3828d8,_0x3bfc6d)=>{for(var _0x46a3cd=_0x3bfc6d>0x1?void 0x0:_0x3bfc6d?po(_0x4c0e36,_0x3828d8):_0x4c0e36,_0x346f98=_0x4f4bfe['length']-0x1,_0x3c9a8f;_0x346f98>=0x0;_0x346f98--)(_0x3c9a8f=_0x4f4bfe[_0x346f98])&&(_0x46a3cd=(_0x3bfc6d?_0x3c9a8f(_0x4c0e36,_0x3828d8,_0x46a3cd):_0x3c9a8f(_0x46a3cd))||_0x46a3cd);return _0x3bfc6d&&_0x46a3cd&&So(_0x4c0e36,_0x3828d8,_0x46a3cd),_0x46a3cd;},Ae=(_0x385eb8,_0x55b7fc)=>(_0x5714cf,_0xf5d2fe)=>_0x55b7fc(_0x5714cf,_0xf5d2fe,_0x385eb8);let yt=class extends a[_0xe4d145(0x284)]{constructor(_0x5a7a77,_0x3059df,_0x19814c,_0x401030,_0x3538af){const _0x2164a6=_0xe4d145;super(_0x5a7a77,_0x3059df,_0x19814c),this[_0x2164a6(0x34a)]=_0x401030,this['_logService']=_0x3538af;}[_0xe4d145(0x681)](_0xe2b963,_0x3874cb){const _0x404e9c=_0xe4d145,_0x4d5f6f=this[_0x404e9c(0x517)](_0xe2b963);if(_0x4d5f6f)try{const _0x40bff7=this[_0x404e9c(0x4e1)](_0x4d5f6f,_0x3874cb);this[_0x404e9c(0x35b)](_0xe2b963,_0x40bff7);}catch(_0xe4e614){this['_logService']['error'](_0x404e9c(0x39a),_0xe4e614),this[_0x404e9c(0x411)](_0xe2b963);}const _0x401494=this[_0x404e9c(0x461)](_0xe2b963);if(_0x401494)try{const _0x5556a8=this[_0x404e9c(0x4e1)](_0x401494,_0x3874cb);this[_0x404e9c(0x3de)](_0xe2b963,_0x5556a8);}catch(_0x5a6433){this[_0x404e9c(0x692)][_0x404e9c(0x5b6)](_0x5a6433),this[_0x404e9c(0x5e2)](_0xe2b963);}}[_0xe4d145(0x411)](_0x215247){const _0x361584=_0xe4d145,_0x48acf2=this['_getUndoStack'](_0x215247);_0x48acf2&&(_0x48acf2[_0x361584(0x410)]=0x0,this[_0x361584(0x4d6)]());}['_clearRedo'](_0x3f779a){const _0x2eedb4=_0xe4d145,_0x401756=this[_0x2eedb4(0x461)](_0x3f779a);_0x401756&&(_0x401756['length']=0x0,this[_0x2eedb4(0x4d6)]());}[_0xe4d145(0x35b)](_0x589d86,_0x4475f9){const _0xe37c53=_0xe4d145;this['_undoStacks'][_0xe37c53(0x5c4)](_0x589d86,_0x4475f9),this['_updateStatus']();}[_0xe4d145(0x3de)](_0x12f300,_0x12e35d){const _0x45b974=_0xe4d145;this[_0x45b974(0x687)]['set'](_0x12f300,_0x12e35d),this['_updateStatus']();}['_transformStack'](_0x222723,_0x273eca){const _0x14c60d=_0xe4d145,_0x432d9b=[];let _0xbc44cb=_0x273eca,_0x2146f6=_0x273eca;for(let _0x3f1fcd=_0x222723[_0x14c60d(0x410)]-0x1;_0x3f1fcd>=0x0;_0x3f1fcd--){const {unitID:_0x3ce9b2,undoMutations:_0x133e6e,redoMutations:_0x3bb376}=_0x222723[_0x3f1fcd],_0x282aee=this[_0x14c60d(0x34a)][_0x14c60d(0x40e)](_0xbc44cb,_0x133e6e),_0x1d2598=this['_transformService'][_0x14c60d(0x40e)](_0x2146f6,_0x3bb376);if(m[_0x14c60d(0x420)](_0x282aee)||m[_0x14c60d(0x420)](_0x1d2598)){this['_logService']['error'](_0x14c60d(0x39a),_0x14c60d(0x41c),_0x282aee,_0x1d2598);break;}_0xbc44cb=_0x282aee['c1Prime'],_0x2146f6=_0x1d2598['c1Prime'],_0x432d9b[_0x14c60d(0x46d)]({'unitID':_0x3ce9b2,'undoMutations':_0x282aee[_0x14c60d(0x68f)],'redoMutations':_0x1d2598[_0x14c60d(0x68f)]});}return _0x432d9b[_0x14c60d(0x272)]();}};yt=mo([Ae(0x0,a[_0xe4d145(0x61a)]),Ae(0x1,a['ICommandService']),Ae(0x2,a[_0xe4d145(0x385)]),Ae(0x3,m[_0xe4d145(0x30c)]),Ae(0x4,a[_0xe4d145(0x27a)])],yt);class ki extends a[_0xe4d145(0x48d)]{constructor(){const _0x376948=_0xe4d145;super(),I(this,_0x376948(0x25e)),this[_0x376948(0x25e)]=N[_0x376948(0x677)](window,'popstate')[_0x376948(0x213)](N[_0x376948(0x480)](this[_0x376948(0x56f)]),N['shareReplay'](0x1),N[_0x376948(0x5e5)](void 0x0));}[_0xe4d145(0x559)](_0x126e92,_0x20f8c8,_0x221485=!0x1){const _0x20b79f=_0xe4d145,_0x2c9407=new URL(window['location'][_0x20b79f(0x4a9)]);_0x2c9407[_0x20b79f(0x6ac)]['set'](_0x126e92,_0x20f8c8),_0x221485?window[_0x20b79f(0x29c)][_0x20b79f(0x579)]('','',_0x2c9407['toString']()):window['history'][_0x20b79f(0x39e)]('','',_0x2c9407[_0x20b79f(0x49f)]());}[_0xe4d145(0x658)](_0x1ce315,_0xd9d3ce=!0x1){const _0x228ed3=_0xe4d145,_0x1b7fa4=new URL(window[_0x228ed3(0x6b2)]['href']);_0x1b7fa4[_0x228ed3(0x6ac)][_0x228ed3(0x3c2)](_0x1ce315),_0xd9d3ce?window[_0x228ed3(0x29c)][_0x228ed3(0x579)]('','',_0x1b7fa4[_0x228ed3(0x49f)]()):window[_0x228ed3(0x29c)][_0x228ed3(0x39e)]('','',_0x1b7fa4[_0x228ed3(0x49f)]());}['getParam'](_0x154188){const _0x2ad4ba=_0xe4d145;var _0x5ba814;return(_0x5ba814=new URL(window['location']['href'])[_0x2ad4ba(0x6ac)][_0x2ad4ba(0x415)](_0x154188))!=null?_0x5ba814:void 0x0;}}var Wi=Object[_0xe4d145(0x641)],go=Object[_0xe4d145(0x31a)],Io=(_0x5f1393,_0x4bfbcb,_0x1e2a3b)=>_0x4bfbcb in _0x5f1393?Wi(_0x5f1393,_0x4bfbcb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e2a3b}):_0x5f1393[_0x4bfbcb]=_0x1e2a3b,Co=(_0x7013af,_0x3da605,_0x1fb37f,_0x58afdd)=>{for(var _0x516e69=_0x58afdd>0x1?void 0x0:_0x58afdd?go(_0x3da605,_0x1fb37f):_0x3da605,_0x738180=_0x7013af['length']-0x1,_0x1d487f;_0x738180>=0x0;_0x738180--)(_0x1d487f=_0x7013af[_0x738180])&&(_0x516e69=(_0x58afdd?_0x1d487f(_0x3da605,_0x1fb37f,_0x516e69):_0x1d487f(_0x516e69))||_0x516e69);return _0x58afdd&&_0x516e69&&Wi(_0x3da605,_0x1fb37f,_0x516e69),_0x516e69;},Be=(_0x5b168c,_0x441cc0)=>(_0x561c3f,_0x321ab9)=>_0x441cc0(_0x561c3f,_0x321ab9,_0x5b168c),Eo=(_0xabb8cd,_0x49509c,_0x5d2dad)=>Io(_0xabb8cd,_0x49509c+'',_0x5d2dad);const bo=_0xe4d145(0x35e);exports[_0xe4d145(0x2a4)]=class extends a['Plugin']{constructor(_0x2fa97a=sn,_0x3e55b9,_0x13b08c,_0x1fb3d7,_0x200584){const _0x4f44f3=_0xe4d145;super(),this['_config']=_0x2fa97a,this[_0x4f44f3(0x692)]=_0x3e55b9,this[_0x4f44f3(0x556)]=_0x13b08c,this[_0x4f44f3(0x67b)]=_0x1fb3d7,this[_0x4f44f3(0x558)]=_0x200584;const {..._0x240717}=this[_0x4f44f3(0x6a9)];this[_0x4f44f3(0x558)][_0x4f44f3(0x4db)](Z,_0x240717);}['onStarting'](){const _0x3078bc=_0xe4d145;this['_registerDependencies'](),this[_0x3078bc(0x545)]();}[_0xe4d145(0x6b1)](){a['touchDependencies'](this['_injector'],[[nt],[it]]);}[_0xe4d145(0x6a5)](){const _0x1d1d61=_0xe4d145;this[_0x1d1d61(0x267)]();}[_0xe4d145(0x1f1)](){const _0x5b028d=_0xe4d145;var _0x4d654f,_0x86fe66,_0x4e31d9,_0x4632fe;this['_injector']['has'](a[_0x5b028d(0x363)])&&this[_0x5b028d(0x692)]['error']('[UniverCollaborationClientPlugin]',_0x5b028d(0x64b));const _0x565443=[[a['IUndoRedoService'],{'useClass':yt}],[exports[_0x5b028d(0x2e2)]],[Nt],[Lt,{'useClass':ki}],[exports[_0x5b028d(0x597)]],[exports['LocalCacheService']],[z[_0x5b028d(0x3bb)]],[Qe],[tt],[Ze],[et],[Ut],[rt],[st],[wt],[ot],[Pt,{'useClass':(_0x86fe66=(_0x4d654f=this[_0x5b028d(0x6a9)])==null?void 0x0:_0x4d654f[_0x5b028d(0x64e)])!=null?_0x86fe66:exports['CollaborationSocketService']}],[m[_0x5b028d(0x417)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x5b028d(0x66e)],{'useClass':exports[_0x5b028d(0x4b9)]}],[te[_0x5b028d(0x514)],{'useClass':exports[_0x5b028d(0x438)]}],[a[_0x5b028d(0x57f)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x5b028d(0x1fb)]],[exports['DataLoaderController']],[exports[_0x5b028d(0x468)]],[nt],[ye],[it]];(_0x4e31d9=this['_config'])!=null&&_0x4e31d9['enableSingleActiveInstanceLock']&&_0x565443[_0x5b028d(0x46d)]([at,{'useClass':$n}]),a['registerDependencies'](this[_0x5b028d(0x67b)],a['mergeOverrideWithDependencies'](_0x565443,(_0x4632fe=this['_config'])==null?void 0x0:_0x4632fe[_0x5b028d(0x3c8)]));}[_0xe4d145(0x267)](){const _0x4c5d50=_0xe4d145;this[_0x4c5d50(0x5aa)](this[_0x4c5d50(0x556)][_0x4c5d50(0x434)](a[_0x4c5d50(0x349)][_0x4c5d50(0x675)],[Rt])),this['disposeWithMe'](this['_renderManagerService'][_0x4c5d50(0x434)](a['UniverInstanceType'][_0x4c5d50(0x303)],[Ot]));}[_0xe4d145(0x545)](){const _0x5a1f61=_0xe4d145;var _0x1bd761,_0x231e49;this[_0x5a1f61(0x67b)][_0x5a1f61(0x415)](z['HTTPService'])[_0x5a1f61(0x37a)]({'priority':0x14,'interceptor':z[_0x5a1f61(0x5f9)]({'maxParallel':0x6})}),(_0x1bd761=this[_0x5a1f61(0x6a9)])!=null&&_0x1bd761[_0x5a1f61(0x6be)]||this[_0x5a1f61(0x67b)][_0x5a1f61(0x415)](exports[_0x5a1f61(0x36e)])[_0x5a1f61(0x3eb)](),(_0x231e49=this['_config'])!=null&&_0x231e49[_0x5a1f61(0x5c0)]&&a[_0x5a1f61(0x43e)](this[_0x5a1f61(0x67b)],[[rt]]),a['touchDependencies'](this[_0x5a1f61(0x67b)],[[st],[ye],[exports['DataLoaderController']],[exports[_0x5a1f61(0x1fb)]],[exports['DesktopCollaborationStatusDisplayController']],[ot]]);}},Eo(exports[_0xe4d145(0x2a4)],_0xe4d145(0x253),bo),exports[_0xe4d145(0x2a4)]=Co([a[_0xe4d145(0x63d)](m[_0xe4d145(0x33c)],z['UniverNetworkPlugin']),Be(0x1,a['ILogService']),Be(0x2,Y[_0xe4d145(0x2a3)]),Be(0x3,a[_0xe4d145(0x378)](a[_0xe4d145(0x2d6)])),Be(0x4,a['IConfigService'])],exports[_0xe4d145(0x2a4)]),exports[_0xe4d145(0x343)]=xt,exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Z,exports[_0xe4d145(0x341)]=Ci,exports[_0xe4d145(0x344)]=Si,exports[_0xe4d145(0x58c)]=K,exports['CollaborationStatusDisplay']=$i,exports[_0xe4d145(0x488)]=wt,exports[_0xe4d145(0x348)]=pi,exports['HEARTBEAT_TIMEOUT_KEY']=Dt,exports['ICollaborationSocketService']=Pt,exports[_0xe4d145(0x607)]=Lt,exports['LOCAL_CACHE_INTERVAL_KEY']=Ii,exports[_0xe4d145(0x56c)]=Ei,exports[_0xe4d145(0x2fe)]=gi,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ki,exports[_0xe4d145(0x250)]=fi,exports[_0xe4d145(0x614)]=vi,exports[_0xe4d145(0x577)]=ne,exports[_0xe4d145(0x45b)]=Mi,exports['WebURLService']=ki,exports[_0xe4d145(0x65e)]=Ri,exports[_0xe4d145(0x6b4)]=Oi;