@univerjs-pro/collaboration-client 0.5.0-nightly.202411120616 → 0.5.0-nightly.202411121606
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 +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x5f13(_0xb8c192,_0x3de973){const _0x3494ad=_0x3494();return _0x5f13=function(_0x5f1313,_0x189bcb){_0x5f1313=_0x5f1313-0x1e6;let _0x17e3ae=_0x3494ad[_0x5f1313];return _0x17e3ae;},_0x5f13(_0xb8c192,_0x3de973);}(function(_0x1e6c9f,_0x69a79e){const _0x31abf8=_0x5f13,_0x268409=_0x1e6c9f();while(!![]){try{const _0x425a8e=-parseInt(_0x31abf8(0x353))/0x1*(parseInt(_0x31abf8(0x57a))/0x2)+-parseInt(_0x31abf8(0x553))/0x3*(parseInt(_0x31abf8(0x22a))/0x4)+parseInt(_0x31abf8(0x3c9))/0x5+-parseInt(_0x31abf8(0x5fb))/0x6*(parseInt(_0x31abf8(0x38c))/0x7)+-parseInt(_0x31abf8(0x5ef))/0x8+parseInt(_0x31abf8(0x622))/0x9*(parseInt(_0x31abf8(0x3a3))/0xa)+parseInt(_0x31abf8(0x304))/0xb;if(_0x425a8e===_0x69a79e)break;else _0x268409['push'](_0x268409['shift']());}catch(_0x37a841){_0x268409['push'](_0x268409['shift']());}}}(_0x3494,0x5d417),function(_0x25652f,_0x2506dd){const _0x36ba8c=_0x5f13;typeof exports==_0x36ba8c(0x51e)&&typeof module<'u'?_0x2506dd(exports,require(_0x36ba8c(0x33a)),require(_0x36ba8c(0x5e1)),require(_0x36ba8c(0x539)),require(_0x36ba8c(0x352)),require(_0x36ba8c(0x20b)),require(_0x36ba8c(0x4f3)),require(_0x36ba8c(0x5fd)),require(_0x36ba8c(0x2e5)),require(_0x36ba8c(0x3d6)),require(_0x36ba8c(0x238)),require(_0x36ba8c(0x55c)),require(_0x36ba8c(0x30a)),require('@univerjs/drawing'),require(_0x36ba8c(0x334)),require(_0x36ba8c(0x66c)),require(_0x36ba8c(0x605)),require('@univerjs/rpc')):typeof define==_0x36ba8c(0x5d7)&&define['amd']?define([_0x36ba8c(0x5a8),_0x36ba8c(0x33a),'rxjs',_0x36ba8c(0x539),_0x36ba8c(0x352),_0x36ba8c(0x20b),_0x36ba8c(0x4f3),'@univerjs-pro/collaboration',_0x36ba8c(0x2e5),'@univerjs/docs-ui',_0x36ba8c(0x238),_0x36ba8c(0x55c),_0x36ba8c(0x30a),_0x36ba8c(0x2c1),_0x36ba8c(0x334),_0x36ba8c(0x66c),_0x36ba8c(0x605),_0x36ba8c(0x5ab)],_0x2506dd):(_0x25652f=typeof globalThis<'u'?globalThis:_0x25652f||self,_0x2506dd(_0x25652f['UniverCollaborationClient']={},_0x25652f[_0x36ba8c(0x322)],_0x25652f[_0x36ba8c(0x5e1)],_0x25652f[_0x36ba8c(0x5e1)][_0x36ba8c(0x5f5)],_0x25652f[_0x36ba8c(0x664)],_0x25652f[_0x36ba8c(0x351)],_0x25652f['UniverNetwork'],_0x25652f[_0x36ba8c(0x4db)],_0x25652f[_0x36ba8c(0x545)],_0x25652f[_0x36ba8c(0x26c)],_0x25652f['UniverSheets'],_0x25652f[_0x36ba8c(0x670)],_0x25652f[_0x36ba8c(0x3d9)],_0x25652f[_0x36ba8c(0x487)],_0x25652f['UniverEngineFormula'],_0x25652f[_0x36ba8c(0x66f)],_0x25652f['React'],_0x25652f[_0x36ba8c(0x2a4)]));}(this,function(_0x5aeb12,_0x1330ba,_0x1eddba,_0xc13278,_0x5934c8,_0x5d5dd2,_0x3aa4be,_0x48fdb9,_0x52bfc7,_0x2b18a1,_0x5ca8f8,_0x15986e,_0x522f9c,_0x29456d,_0x5a3dfd,_0x24028a,_0x25a8dc,_0x1432e6){'use strict';const _0x3a00cb=_0x5f13;var _0x15d4fb=Object[_0x3a00cb(0x43c)],_0x2db87f=(_0x4b1e39,_0x37c890,_0x59575f)=>_0x37c890 in _0x4b1e39?_0x15d4fb(_0x4b1e39,_0x37c890,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59575f}):_0x4b1e39[_0x37c890]=_0x59575f,_0x2eb009=(_0x411479,_0x5c8061,_0x202fbf)=>_0x2db87f(_0x411479,typeof _0x5c8061!=_0x3a00cb(0x5c3)?_0x5c8061+'':_0x5c8061,_0x202fbf);const _0x1d49ee=_0x3a00cb(0x43f),_0x41a58f=_0x3a00cb(0x38b),_0x2b68d2=_0x3a00cb(0x657),_0x1e86ae=_0x3a00cb(0x508),_0x2314a9='COLLAB_WEB_SOCKET_URL',_0x23debe='ws://127.0.0.1:8000/universer-api/comb/connect',_0x407e47=_0x3a00cb(0x31b),_0x941ed1=_0x3a00cb(0x47e),_0x4ec51f=_0x3a00cb(0x418),_0x4cb84a='LOCAL_CACHE_INTERVAL',_0x3a133c=_0x3a00cb(0x1f2),_0x4477d1='/universer-api/comb',_0x41289e=_0x3a00cb(0x390),_0x5e71bd=_0x3a00cb(0x2d3);var _0xcce604=(_0x937113=>(_0x937113[_0x937113[_0x3a00cb(0x335)]=0x0]='UNDEFINED',_0x937113[_0x937113['OK']=0x1]='OK',_0x937113[_0x937113[_0x3a00cb(0x5e8)]=0x2]='INTERNAL_ERROR',_0x937113[_0x937113[_0x3a00cb(0x46c)]=0x3]=_0x3a00cb(0x46c),_0x937113[_0x937113[_0x3a00cb(0x548)]=0x4]='NOT_FOUND',_0x937113[_0x937113[_0x3a00cb(0x22c)]=0x5]=_0x3a00cb(0x22c),_0x937113[_0x937113['ALREADY_EXISTS']=0x6]=_0x3a00cb(0x4b5),_0x937113[_0x937113[_0x3a00cb(0x432)]=0x7]='INVALID_ARGUMENT',_0x937113[_0x937113[_0x3a00cb(0x21d)]=0x8]=_0x3a00cb(0x21d),_0x937113[_0x937113[_0x3a00cb(0x2ce)]=0x9]=_0x3a00cb(0x2ce),_0x937113[_0x937113['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x937113[_0x937113[_0x3a00cb(0x5c2)]=0x1771]=_0x3a00cb(0x5c2),_0x937113[_0x937113[_0x3a00cb(0x686)]=0x1772]=_0x3a00cb(0x686),_0x937113[_0x937113['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3a00cb(0x34f),_0x937113[_0x937113['APPLY_REJECT']=0x1b59]=_0x3a00cb(0x268),_0x937113[_0x937113['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x937113[_0x937113[_0x3a00cb(0x4f8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x937113[_0x937113['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3a00cb(0x4c5),_0x937113[_0x937113['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x937113[_0x937113['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3a00cb(0x225),_0x937113[_0x937113[_0x3a00cb(0x452)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x937113[_0x937113[_0x3a00cb(0x37f)]=0x232a]=_0x3a00cb(0x37f),_0x937113[_0x937113[_0x3a00cb(0x2c8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x937113[_0x937113[_0x3a00cb(0x3c8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x937113[_0x937113[_0x3a00cb(0x604)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x937113[_0x937113[_0x3a00cb(0x262)]=0x2711]=_0x3a00cb(0x262),_0x937113[_0x937113[_0x3a00cb(0x358)]=0x2712]=_0x3a00cb(0x358),_0x937113[_0x937113[_0x3a00cb(0x2a5)]=0x2713]=_0x3a00cb(0x2a5),_0x937113[_0x937113[_0x3a00cb(0x3ce)]=0x2714]=_0x3a00cb(0x3ce),_0x937113[_0x937113[_0x3a00cb(0x58f)]=-0x1]=_0x3a00cb(0x58f),_0x937113))(_0xcce604||{}),_0x2d6857=(_0x578417=>(_0x578417[_0x578417[_0x3a00cb(0x606)]=0x0]=_0x3a00cb(0x606),_0x578417[_0x578417[_0x3a00cb(0x65c)]=0x1]='UNIVER_DOC',_0x578417[_0x578417[_0x3a00cb(0x3b6)]=0x2]=_0x3a00cb(0x3b6),_0x578417[_0x578417[_0x3a00cb(0x625)]=0x3]=_0x3a00cb(0x625),_0x578417[_0x578417[_0x3a00cb(0x4f7)]=0x4]=_0x3a00cb(0x4f7),_0x578417[_0x578417[_0x3a00cb(0x58f)]=-0x1]=_0x3a00cb(0x58f),_0x578417))(_0x2d6857||{}),_0x4d8c43=(_0x29853e=>(_0x29853e[_0x29853e['UNKNOWN_CMD']=0x0]=_0x3a00cb(0x2f4),_0x29853e[_0x29853e['HELLO']=0x1]=_0x3a00cb(0x325),_0x29853e[_0x29853e[_0x3a00cb(0x294)]=0x2]=_0x3a00cb(0x294),_0x29853e[_0x29853e['LEAVE']=0x3]=_0x3a00cb(0x29f),_0x29853e[_0x29853e['INGEST']=0x4]=_0x3a00cb(0x645),_0x29853e[_0x29853e[_0x3a00cb(0x3b0)]=0x5]=_0x3a00cb(0x3b0),_0x29853e[_0x29853e[_0x3a00cb(0x3ea)]=0x6]=_0x3a00cb(0x3ea),_0x29853e[_0x29853e[_0x3a00cb(0x58f)]=-0x1]=_0x3a00cb(0x58f),_0x29853e))(_0x4d8c43||{}),_0x57d5a8=(_0xa4b95c=>(_0xa4b95c[_0xa4b95c[_0x3a00cb(0x25d)]=0x0]=_0x3a00cb(0x25d),_0xa4b95c[_0xa4b95c['OK']=0x1]='OK',_0xa4b95c[_0xa4b95c[_0x3a00cb(0x286)]=0x2]=_0x3a00cb(0x286),_0xa4b95c[_0xa4b95c['UNRECOGNIZED']=-0x1]=_0x3a00cb(0x58f),_0xa4b95c))(_0x57d5a8||{}),_0x322ebc=(_0x225529=>(_0x225529[_0x225529[_0x3a00cb(0x478)]=0x0]=_0x3a00cb(0x478),_0x225529[_0x225529[_0x3a00cb(0x59a)]=0x1]=_0x3a00cb(0x59a),_0x225529[_0x225529['HttpExport']=0x2]=_0x3a00cb(0x5d8),_0x225529[_0x225529[_0x3a00cb(0x5a2)]=0x3]=_0x3a00cb(0x5a2),_0x225529[_0x225529['UnitSnapshot']=0x4]='UnitSnapshot',_0x225529[_0x225529[_0x3a00cb(0x58f)]=-0x1]=_0x3a00cb(0x58f),_0x225529))(_0x322ebc||{});const _0x37cfeb='collaboration-client.config',_0x29b0d1={};function _0x3f27b6(_0x1555c2){const _0x1665dc=_0x3a00cb;var _0x3ed9ba,_0xa42a89,_0x110e52,_0x53df4b,_0x1aaa93;const _0x5bc7d0=_0x1555c2['data'],_0x249feb=JSON[_0x1665dc(0x3fe)](_0x5bc7d0);switch(_0x249feb[_0x1665dc(0x233)]){case _0x4d8c43[_0x1665dc(0x3b0)]:case _0x4d8c43['HELLO']:{const _0x540ce7=_0x249feb[_0x1665dc(0x4a5)];return{..._0x249feb,'data':_0x540ce7,'cmd':_0x249feb['cmd']};}case _0x4d8c43[_0x1665dc(0x294)]:{const _0x354405=_0x249feb[_0x1665dc(0x480)];return{..._0x249feb,'data':_0x354405,'cmd':_0x249feb[_0x1665dc(0x233)]};}case _0x4d8c43[_0x1665dc(0x3ea)]:{const _0x2d4b4a=_0x249feb[_0x1665dc(0x44f)];switch(_0x2d4b4a[_0x1665dc(0x306)]){case _0x48fdb9['CollaborationEvent'][_0x1665dc(0x2d2)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':(_0x3ed9ba=_0x2d4b4a[_0x1665dc(0x51b)])==null?void 0x0:_0x3ed9ba['cs']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9['CollaborationEvent'][_0x1665dc(0x41c)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':(_0xa42a89=_0x2d4b4a[_0x1665dc(0x302)])==null?void 0x0:_0xa42a89['cs']},'cmd':_0x249feb['cmd']};case _0x48fdb9[_0x1665dc(0x3de)]['NEW_CHANGESETS']:return{..._0x249feb,'data':{..._0x2d4b4a,'data':(_0x110e52=_0x2d4b4a[_0x1665dc(0x555)])==null?void 0x0:_0x110e52['cs']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)]['CHANGESET_REJ']:return{..._0x249feb,'data':{..._0x2d4b4a,'data':(_0x53df4b=_0x2d4b4a[_0x1665dc(0x258)])==null?void 0x0:_0x53df4b['cs']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)]['CHANGESET_SHOULD_RETRY']:return{..._0x249feb,'data':{..._0x2d4b4a,'data':(_0x1aaa93=_0x2d4b4a[_0x1665dc(0x5ee)])==null?void 0x0:_0x1aaa93['cs']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x5bd)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x5c7)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x1f1)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x4dd)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9['CollaborationEvent']['USERS_LEAVE']:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a['leaveEvent']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x1fd)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x502)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9['CollaborationEvent'][_0x1665dc(0x5a9)]:case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x498)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x3f5)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x53a)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a['liveShareNewHost']},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9['CollaborationEvent'][_0x1665dc(0x3ba)]:return{..._0x249feb,'data':_0x2d4b4a,'cmd':_0x249feb['cmd']};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x47b)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x672)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)]['UPDATE_PERMISSION_OBJ']:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x54c)]},'cmd':_0x249feb[_0x1665dc(0x233)]};case _0x48fdb9[_0x1665dc(0x3de)][_0x1665dc(0x307)]:return{..._0x249feb,'data':{..._0x2d4b4a,'data':_0x2d4b4a[_0x1665dc(0x24a)]},'cmd':_0x249feb[_0x1665dc(0x233)]};default:return _0x249feb;}}default:return _0x249feb;}}function _0x89fa8a(_0x1cc853){const _0x2abe05=_0x3a00cb;switch(_0x1cc853[_0x2abe05(0x233)]){case _0x4d8c43[_0x2abe05(0x3b0)]:case _0x4d8c43[_0x2abe05(0x325)]:return JSON[_0x2abe05(0x2a3)]({'cmd':_0x1cc853[_0x2abe05(0x233)],'routeKey':_0x1cc853[_0x2abe05(0x5be)]});case _0x4d8c43[_0x2abe05(0x645)]:{let _0x22fbb4;switch(_0x1cc853[_0x2abe05(0x36b)]['eventID']){case _0x48fdb9['CollaborationEvent'][_0x2abe05(0x5bd)]:{_0x22fbb4={'eventID':_0x48fdb9['CollaborationEvent'][_0x2abe05(0x5bd)],'updateCursorEvent':_0x1cc853[_0x2abe05(0x36b)][_0x2abe05(0x36b)]};break;}case _0x48fdb9[_0x2abe05(0x3de)]['USERS_LEAVE']:{_0x22fbb4={'eventID':_0x48fdb9[_0x2abe05(0x3de)]['USERS_LEAVE'],'leaveEvent':_0x1cc853[_0x2abe05(0x36b)][_0x2abe05(0x36b)]};break;}case _0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x1f1)]:{_0x22fbb4={'eventID':_0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x1f1)],'joinEvent':_0x1cc853[_0x2abe05(0x36b)][_0x2abe05(0x36b)]};break;}case _0x48fdb9['CollaborationEvent'][_0x2abe05(0x1fd)]:{_0x22fbb4={'eventID':_0x48fdb9['CollaborationEvent'][_0x2abe05(0x1fd)],'liveShareNewHost':_0x1cc853[_0x2abe05(0x36b)][_0x2abe05(0x36b)]};break;}case _0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x498)]:{_0x22fbb4={'eventID':_0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x498)],'liveShareOperation':_0x1cc853['data'][_0x2abe05(0x36b)]};break;}case _0x48fdb9['CollaborationEvent'][_0x2abe05(0x53a)]:{_0x22fbb4={'eventID':_0x48fdb9['CollaborationEvent'][_0x2abe05(0x53a)],'liveShareTerminate':_0x1cc853['data']['data']};break;}case _0x48fdb9['CollaborationEvent'][_0x2abe05(0x247)]:{_0x22fbb4={'eventID':_0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x247)],'liveShareRequestHost':_0x1cc853[_0x2abe05(0x36b)]['data']};break;}case _0x48fdb9['CollaborationEvent'][_0x2abe05(0x5a9)]:{_0x22fbb4={'eventID':_0x48fdb9[_0x2abe05(0x3de)][_0x2abe05(0x5a9)]};break;}default:_0x22fbb4={'eventID':_0x1cc853[_0x2abe05(0x36b)]['eventID']};}return JSON['stringify']({'cmd':_0x1cc853[_0x2abe05(0x233)],'routeKey':_0x1cc853['routeKey'],'collaMsg':_0x22fbb4});}case _0x4d8c43['JOIN']:return JSON[_0x2abe05(0x2a3)]({'cmd':_0x1cc853[_0x2abe05(0x233)],'routeKey':_0x1cc853[_0x2abe05(0x5be)],'joinReq':_0x1cc853[_0x2abe05(0x36b)]});case _0x4d8c43[_0x2abe05(0x29f)]:return JSON[_0x2abe05(0x2a3)]({'cmd':_0x1cc853['cmd'],'routeKey':_0x1cc853[_0x2abe05(0x5be)],'leaveReq':_0x1cc853['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4afc3d=Object['defineProperty'],_0x12cab8=Object['getOwnPropertyDescriptor'],_0x1dbe4d=(_0x321d9b,_0x157a17,_0xc3b7fd,_0x33ab72)=>{for(var _0x158236=_0x33ab72>0x1?void 0x0:_0x33ab72?_0x12cab8(_0x157a17,_0xc3b7fd):_0x157a17,_0x51870d=_0x321d9b['length']-0x1,_0x2df4fc;_0x51870d>=0x0;_0x51870d--)(_0x2df4fc=_0x321d9b[_0x51870d])&&(_0x158236=(_0x33ab72?_0x2df4fc(_0x157a17,_0xc3b7fd,_0x158236):_0x2df4fc(_0x158236))||_0x158236);return _0x33ab72&&_0x158236&&_0x4afc3d(_0x157a17,_0xc3b7fd,_0x158236),_0x158236;},_0xede7d2=(_0x536ca6,_0x3542db)=>(_0x382b0a,_0x11b3ba)=>_0x3542db(_0x382b0a,_0x11b3ba,_0x536ca6);const _0xd12940=_0x1330ba['createIdentifier'](_0x3a00cb(0x527));function _0x1a901a(_0x50d903,_0x46b0e9,_0xe7d608){const _0xb80cef=_0x3a00cb;return _0x50d903+'/'+_0x46b0e9+_0xb80cef(0x39f)+_0xe7d608+_0xb80cef(0x285);}_0x5aeb12[_0x3a00cb(0x211)]=class extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(_0x54b5ff,_0x3057a5,_0x5b9289,_0x52bc8a,_0x43c660){const _0x1574c8=_0x3a00cb;super(),this[_0x1574c8(0x278)]=_0x54b5ff,this[_0x1574c8(0x58b)]=_0x3057a5,this[_0x1574c8(0x4ce)]=_0x5b9289,this[_0x1574c8(0x405)]=_0x52bc8a,this['_snapshotServerService']=_0x43c660;}['createSocket'](_0x25cb83){const _0x576594=_0x3a00cb,_0x4932dc=this[_0x576594(0x58b)][_0x576594(0x52b)](_0x25cb83);if(!_0x4932dc)throw new Error(_0x576594(0x3fb));const _0x3cb8dc=new _0x1330ba[(_0x576594(0x45e))](),_0x378151=new _0x1eddba['Subject']();_0x3cb8dc[_0x576594(0x523)](_0x4932dc[_0x576594(0x50c)][_0x576594(0x21f)](_0x1fc804=>_0x378151[_0x576594(0x2d5)](_0x1fc804))),_0x3cb8dc[_0x576594(0x523)](_0x1330ba[_0x576594(0x256)](()=>_0x378151[_0x576594(0x62b)]()));const _0x210958=new _0x1eddba[(_0x576594(0x232))]();_0x3cb8dc[_0x576594(0x523)](_0x4932dc['error$']['subscribe'](_0xb72c35=>_0x210958[_0x576594(0x2d5)](_0xb72c35))),_0x3cb8dc[_0x576594(0x523)](_0x1330ba[_0x576594(0x256)](()=>_0x210958['complete']()));const _0x1c4157=new _0x1eddba[(_0x576594(0x232))]();_0x3cb8dc['add'](_0x4932dc[_0x576594(0x608)][_0x576594(0x21f)](_0x23d78f=>{const _0x2c0cb6=_0x3f27b6(_0x23d78f);_0x1c4157['next'](_0x2c0cb6);})),_0x3cb8dc[_0x576594(0x523)](_0x1330ba[_0x576594(0x256)](()=>_0x1c4157[_0x576594(0x62b)]()));let _0xacf494;const _0x1cd2ed=()=>{const _0xd3bb70=_0x576594;_0x210958[_0xd3bb70(0x2d5)](new Event(_0xd3bb70(0x646))),_0x378151['next'](new CloseEvent(_0xd3bb70(0x646))),_0xacf494[_0xd3bb70(0x3b1)]();};return _0xacf494={'memberID':'','close$':_0x378151[_0x576594(0x518)](),'error$':_0x210958['asObservable'](),'open$':_0x4932dc[_0x576594(0x2cf)],'message$':_0x1c4157[_0x576594(0x518)](),'send':_0x3b13ee=>{const _0x56788a=_0x576594;if(_0x3b13ee['cmd']===_0x4d8c43[_0x56788a(0x645)]){if(_0x3b13ee[_0x56788a(0x36b)]['eventID']===_0x48fdb9[_0x56788a(0x3de)]['SUBMIT_CHANGESET']){this[_0x56788a(0x2e6)](_0xacf494,_0x3b13ee[_0x56788a(0x36b)])[_0x56788a(0x5e7)](_0x50dd52=>{const _0x615334=_0x56788a;this[_0x615334(0x405)]['error'](_0x50dd52),_0x1cd2ed();});return;}if(_0x3b13ee[_0x56788a(0x36b)][_0x56788a(0x306)]===_0x48fdb9[_0x56788a(0x3de)][_0x56788a(0x584)]){const _0x39c6dc=_0x3b13ee[_0x56788a(0x36b)];this[_0x56788a(0x554)](_0x39c6dc)['then'](_0x55edb7=>{const _0x226c85=_0x56788a;_0x1c4157['next']({'cmd':_0x4d8c43[_0x226c85(0x3ea)],'code':_0x57d5a8['OK'],'routeKey':_0x39c6dc[_0x226c85(0x36b)][_0x226c85(0x36f)],'routeType':'','data':{'eventID':_0x48fdb9[_0x226c85(0x3de)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x55edb7}}});})[_0x56788a(0x5e7)](_0x52e009=>{this['_logService']['error'](_0x52e009),_0x1cd2ed();});return;}}_0x4932dc[_0x56788a(0x2f7)](_0x89fa8a(_0x3b13ee));},'close':()=>{const _0x583296=_0x576594;_0x4932dc[_0x583296(0x3b1)](),_0x3cb8dc['dispose']();}},_0xacf494;}async[_0x3a00cb(0x2e6)](_0x49f146,_0x8fd378){const _0x15a7f3=_0x3a00cb;var _0x7a73b8,_0x411ca6;const {unitType:_0x5ca810,unitID:_0x49964b,changeset:_0x24c654}=_0x8fd378[_0x15a7f3(0x36b)],_0x3134ed={'unitID':_0x49964b,'memberID':_0x49f146['memberID'],'type':_0x5ca810,'changeset':_0x48fdb9[_0x15a7f3(0x546)](_0x24c654)},_0x3a2f3c=this[_0x15a7f3(0x4ce)]['getConfig'](_0x3a133c),_0x239bfe=this[_0x15a7f3(0x4ce)][_0x15a7f3(0x4fc)](_0x37cfeb),_0x3ebc77=_0x1a901a((_0x411ca6=(_0x7a73b8=_0x239bfe==null?void 0x0:_0x239bfe['collabSubmitChangesetUrl'])!=null?_0x7a73b8:_0x3a2f3c)!=null?_0x411ca6:_0x4477d1,_0x5ca810,_0x49964b);try{await this[_0x15a7f3(0x278)][_0x15a7f3(0x551)](_0x3ebc77,{'body':_0x3134ed});}catch(_0x3ce81c){throw this[_0x15a7f3(0x405)]['error'](_0x15a7f3(0x512),_0x15a7f3(0x1ef)),_0x3ce81c;}}async[_0x3a00cb(0x554)](_0x225a7f){const _0x56aede=_0x3a00cb,{unitID:_0x527d7e,from:_0x18399c,to:_0x1822f9,unitType:_0x36f7fc}=_0x225a7f[_0x56aede(0x36b)];return(await this[_0x56aede(0x538)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x527d7e,'type':_0x36f7fc,'from':_0x18399c,'to':_0x1822f9}))[_0x56aede(0x291)];}},_0x5aeb12['CollaborationSocketService']=_0x1dbe4d([_0xede7d2(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be[_0x3a00cb(0x504)])),_0xede7d2(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be[_0x3a00cb(0x52d)])),_0xede7d2(0x2,_0x1330ba[_0x3a00cb(0x3c1)]),_0xede7d2(0x3,_0x1330ba[_0x3a00cb(0x57c)]),_0xede7d2(0x4,_0x48fdb9[_0x3a00cb(0x5e3)])],_0x5aeb12['CollaborationSocketService']);const _0x423e7f=_0x3a00cb(0x571);function _0x12fb88(_0x1b1614){const _0x14a91f=_0x3a00cb;return JSON['stringify'](_0x1b1614)[_0x14a91f(0x422)];}class _0x5b63f3{constructor(){const _0x1fd6eb=_0x3a00cb;_0x2eb009(this,_0x1fd6eb(0x29e),new _0x1eddba[(_0x1fd6eb(0x232))]()),_0x2eb009(this,_0x1fd6eb(0x68a),this[_0x1fd6eb(0x29e)][_0x1fd6eb(0x518)]());}[_0x3a00cb(0x699)](_0x42f81c){const _0x47ff1a=_0x3a00cb;this[_0x47ff1a(0x29e)][_0x47ff1a(0x2d5)](_0x42f81c);}}var _0xf88756=Object['defineProperty'],_0x476097=Object[_0x3a00cb(0x637)],_0xacf46e=(_0x5e42b8,_0x52ebbd,_0x31102f,_0x31d3e4)=>{const _0x22435c=_0x3a00cb;for(var _0x5b8f20=_0x31d3e4>0x1?void 0x0:_0x31d3e4?_0x476097(_0x52ebbd,_0x31102f):_0x52ebbd,_0x4bf5b6=_0x5e42b8[_0x22435c(0x422)]-0x1,_0x52f823;_0x4bf5b6>=0x0;_0x4bf5b6--)(_0x52f823=_0x5e42b8[_0x4bf5b6])&&(_0x5b8f20=(_0x31d3e4?_0x52f823(_0x52ebbd,_0x31102f,_0x5b8f20):_0x52f823(_0x5b8f20))||_0x5b8f20);return _0x31d3e4&&_0x5b8f20&&_0xf88756(_0x52ebbd,_0x31102f,_0x5b8f20),_0x5b8f20;},_0x180176=(_0x4ce204,_0x4c360d)=>(_0x12fcd9,_0x787406)=>_0x4c360d(_0x12fcd9,_0x787406,_0x4ce204);_0x5aeb12[_0x3a00cb(0x624)]=class extends _0x1330ba['Disposable']{constructor(_0x264803,_0x282052){const _0x141fb9=_0x3a00cb;super(),_0x2eb009(this,_0x141fb9(0x42e),new Map()),(this[_0x141fb9(0x227)]=_0x264803,this[_0x141fb9(0x53e)]=_0x282052,this[_0x141fb9(0x63e)](_0x1330ba['toDisposable'](_0x1eddba['merge'](this[_0x141fb9(0x227)][_0x141fb9(0x655)](_0x1330ba[_0x141fb9(0x3ae)][_0x141fb9(0x3b6)])[_0x141fb9(0x3a2)](_0xc13278['map'](_0x26ff99=>_0x26ff99['getUnitId']())),this['_univerInstanceService'][_0x141fb9(0x655)](_0x1330ba[_0x141fb9(0x3ae)][_0x141fb9(0x65c)])[_0x141fb9(0x3a2)](_0xc13278[_0x141fb9(0x568)](_0xdf887b=>_0xdf887b[_0x141fb9(0x259)]())),this[_0x141fb9(0x227)][_0x141fb9(0x655)](_0x1330ba[_0x141fb9(0x3ae)]['UNIVER_SLIDE'])['pipe'](_0xc13278[_0x141fb9(0x568)](_0x1afd33=>_0x1afd33['getUnitId']())))['subscribe'](_0xd53805=>this['_removeRoom'](_0xd53805)))));}[_0x3a00cb(0x5f3)](_0x2561db){this['_userManagerService']['setCurrentUser'](_0x2561db);}['getCurrentUser'](){const _0x2dbefc=_0x3a00cb;return this[_0x2dbefc(0x53e)]['getCurrentUser']();}['updateMember'](_0x15e028,_0xd7aa5e){const _0x5d4155=_0x3a00cb;let _0x2c5bb8=this[_0x5d4155(0x42e)]['get'](_0x15e028);_0x2c5bb8||(_0x2c5bb8=new _0x45b08f(),this[_0x5d4155(0x42e)][_0x5d4155(0x4cf)](_0x15e028,_0x2c5bb8)),_0x2c5bb8['updateMember'](_0xd7aa5e);}[_0x3a00cb(0x586)](_0x221874,_0x40b74d){const _0x27a70a=_0x3a00cb,_0x16c8d8=this[_0x27a70a(0x42e)][_0x27a70a(0x4bf)](_0x221874);_0x16c8d8&&_0x16c8d8[_0x27a70a(0x586)](_0x40b74d);}['getRoom'](_0x44b71d){const _0x17a00e=_0x3a00cb;return this[_0x17a00e(0x42e)][_0x17a00e(0x4bf)](_0x44b71d);}[_0x3a00cb(0x426)](_0x200b1e,_0x8d9215){const _0x4c070f=_0x3a00cb,_0x56573c=this[_0x4c070f(0x42e)]['get'](_0x200b1e);if(_0x56573c)return _0x56573c['getMember'](_0x8d9215);}['_removeRoom'](_0x6d0cec){const _0x5889ec=_0x3a00cb,_0x3f7b06=this[_0x5889ec(0x42e)][_0x5889ec(0x4bf)](_0x6d0cec);_0x3f7b06&&(_0x3f7b06[_0x5889ec(0x41f)](),this[_0x5889ec(0x42e)][_0x5889ec(0x317)](_0x6d0cec));}['dispose'](){const _0x17d629=_0x3a00cb;this['_roomMembers'][_0x17d629(0x303)](_0x73d34e=>_0x73d34e['dispose']()),this['_roomMembers']['clear']();}},_0x5aeb12[_0x3a00cb(0x624)]=_0xacf46e([_0x180176(0x0,_0x1330ba[_0x3a00cb(0x5ce)]),_0x180176(0x1,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x267)]))],_0x5aeb12[_0x3a00cb(0x624)]);class _0x45b08f extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(){super(...arguments),_0x2eb009(this,'_members',new Map());}['dispose'](){const _0xaef8f8=_0x3a00cb;this[_0xaef8f8(0x3d4)][_0xaef8f8(0x229)]();}[_0x3a00cb(0x2b0)](_0x2305ec){const _0x35ea80=_0x3a00cb;this['_members'][_0x35ea80(0x4cf)](_0x2305ec['memberID'],_0x2305ec);}[_0x3a00cb(0x586)](_0x29dc99){const _0x31a2eb=_0x3a00cb;this[_0x31a2eb(0x3d4)]['delete'](_0x29dc99);}[_0x3a00cb(0x426)](_0x471c4c){const _0x43e61e=_0x3a00cb;return this['_members'][_0x43e61e(0x4bf)](_0x471c4c);}['getAllMembers'](){const _0x40f4ab=_0x3a00cb;return Array[_0x40f4ab(0x5ff)](this['_members'][_0x40f4ab(0x2b5)]());}}var _0x96d383=Object['defineProperty'],_0x2fbf10=Object[_0x3a00cb(0x637)],_0x5ba57c=(_0x486f70,_0x43e60f,_0x44826f,_0x5e40e0)=>{const _0x3cb47e=_0x3a00cb;for(var _0x5aae4d=_0x5e40e0>0x1?void 0x0:_0x5e40e0?_0x2fbf10(_0x43e60f,_0x44826f):_0x43e60f,_0x5ce0f2=_0x486f70[_0x3cb47e(0x422)]-0x1,_0x18dcef;_0x5ce0f2>=0x0;_0x5ce0f2--)(_0x18dcef=_0x486f70[_0x5ce0f2])&&(_0x5aae4d=(_0x5e40e0?_0x18dcef(_0x43e60f,_0x44826f,_0x5aae4d):_0x18dcef(_0x5aae4d))||_0x5aae4d);return _0x5e40e0&&_0x5aae4d&&_0x96d383(_0x43e60f,_0x44826f,_0x5aae4d),_0x5aae4d;},_0x162aef=(_0x4817c1,_0x261cbc)=>(_0x9d041c,_0x38ce9c)=>_0x261cbc(_0x9d041c,_0x38ce9c,_0x4817c1),_0x1164b5=(_0x11dc7b=>(_0x11dc7b[_0x11dc7b[_0x3a00cb(0x5aa)]=0x0]=_0x3a00cb(0x5aa),_0x11dc7b[_0x11dc7b[_0x3a00cb(0x4e8)]=0x1]=_0x3a00cb(0x4e8),_0x11dc7b[_0x11dc7b['OFFLINE']=0x2]=_0x3a00cb(0x395),_0x11dc7b[_0x11dc7b['ONLINE']=0x3]=_0x3a00cb(0x695),_0x11dc7b))(_0x1164b5||{});_0x5aeb12[_0x3a00cb(0x1e9)]=class extends _0x1330ba['RxDisposable']{constructor(_0x2a2edf,_0x33b2da,_0xa25d9f,_0x107306,_0x29240d,_0x3c5a5c,_0x32f3cb,_0x11090a,_0x40c5b4,_0x3b62ad){const _0x216528=_0x3a00cb;super(),_0x2eb009(this,_0x216528(0x36d),new _0x1eddba[(_0x216528(0x332))](0x0)),_0x2eb009(this,_0x216528(0x5f6),this['_sessionStatus$'][_0x216528(0x518)]()),_0x2eb009(this,_0x216528(0x4b8),new _0x1eddba[(_0x216528(0x232))]()),_0x2eb009(this,_0x216528(0x4a7),this[_0x216528(0x4b8)]['asObservable']()),_0x2eb009(this,_0x216528(0x499)),_0x2eb009(this,_0x216528(0x297)),_0x2eb009(this,'_collaborationTimeoutTimer'),_0x2eb009(this,_0x216528(0x3a7),!0x1),_0x2eb009(this,_0x216528(0x207),null),(this[_0x216528(0x3e2)]=_0x2a2edf,this[_0x216528(0x405)]=_0xa25d9f,this[_0x216528(0x321)]=_0x107306,this[_0x216528(0x239)]=_0x29240d,this[_0x216528(0x4ce)]=_0x3c5a5c,this['_localeService']=_0x32f3cb,this[_0x216528(0x529)]=_0x11090a,this[_0x216528(0x2c0)]=_0x40c5b4,this[_0x216528(0x588)]=_0x3b62ad,this['_shouldReportTelemetry']=!!this[_0x216528(0x588)],_0x33b2da[_0x216528(0x3a2)](_0x1eddba[_0x216528(0x28a)](this[_0x216528(0x2f0)]))[_0x216528(0x21f)](_0x10045a=>{const _0x1cb38c=_0x216528;var _0x375cdf;typeof _0x10045a>'u'||(this['_socket']=_0x10045a,_0x10045a?(this[_0x1cb38c(0x491)](_0x10045a),this[_0x1cb38c(0x297)]=_0x10045a[_0x1cb38c(0x608)][_0x1cb38c(0x21f)](_0x3afecf=>{const _0x3dec9a=_0x1cb38c;_0x3afecf[_0x3dec9a(0x5be)]===this['_unitID']&&this[_0x3dec9a(0x5b7)](_0x3afecf);})):(this[_0x1cb38c(0x212)](),this[_0x1cb38c(0x36d)][_0x1cb38c(0x2d5)](0x2),(_0x375cdf=this['_socketMessageSubscription'])==null||_0x375cdf[_0x1cb38c(0x281)](),this['_socketMessageSubscription']=null));}),this[_0x216528(0x63e)](this[_0x216528(0x321)][_0x216528(0x288)](()=>{const _0x2617f3=_0x216528;var _0x14d7c9;(_0x14d7c9=this[_0x2617f3(0x499)])==null||_0x14d7c9[_0x2617f3(0x2f7)]({'cmd':_0x4d8c43[_0x2617f3(0x29f)],'data':{'roomID':this['_unitID']}});})));}get[_0x3a00cb(0x4a4)](){const _0x47cb94=_0x3a00cb;return this[_0x47cb94(0x36d)][_0x47cb94(0x2e0)]();}[_0x3a00cb(0x2a9)](){const _0x951a7f=_0x3a00cb;var _0x1f7ef4,_0xd46d2d;return(_0xd46d2d=(_0x1f7ef4=this[_0x951a7f(0x499)])==null?void 0x0:_0x1f7ef4[_0x951a7f(0x284)])!=null?_0xd46d2d:null;}[_0x3a00cb(0x41f)](){const _0x4446ef=_0x3a00cb;super['dispose'](),this[_0x4446ef(0x2f0)][_0x4446ef(0x2d5)](),this[_0x4446ef(0x2f0)]['complete']();}[_0x3a00cb(0x3b1)](){const _0x35030b=_0x3a00cb;var _0x18a3c0,_0x22503c;this[_0x35030b(0x212)](),(_0x18a3c0=this['_socket'])==null||_0x18a3c0[_0x35030b(0x2f7)]({'cmd':_0x4d8c43[_0x35030b(0x29f)],'data':{'roomID':this[_0x35030b(0x3e2)]}}),(_0x22503c=this[_0x35030b(0x499)])==null||_0x22503c[_0x35030b(0x3b1)](),this[_0x35030b(0x4b8)]['complete'](),this[_0x35030b(0x36d)][_0x35030b(0x62b)](),this[_0x35030b(0x41f)]();}['_onCombEvent'](_0x205acc){const _0x1dc945=_0x3a00cb;_0x205acc['cmd']===_0x4d8c43[_0x1dc945(0x294)]?this[_0x1dc945(0x5c4)](_0x205acc):_0x205acc[_0x1dc945(0x233)]===_0x4d8c43['RECV']&&this[_0x1dc945(0x49a)](_0x205acc);}[_0x3a00cb(0x491)](_0x38a198){const _0x3fd633=_0x3a00cb;this[_0x3fd633(0x36d)][_0x3fd633(0x2d5)](0x1),_0x38a198[_0x3fd633(0x2f7)]({'cmd':_0x4d8c43[_0x3fd633(0x294)],'routeKey':this[_0x3fd633(0x3e2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3fd633(0x3e2)]}]}});}[_0x3a00cb(0x5c4)](_0x1a6c92){const _0x20fc72=_0x3a00cb;var _0x7818f4;if(_0x1a6c92[_0x20fc72(0x3db)]===_0x57d5a8[_0x20fc72(0x286)]){this[_0x20fc72(0x239)][_0x20fc72(0x4d8)]({'type':_0x5934c8['MessageType'][_0x20fc72(0x40c)],'content':this['_localeService']['t'](_0x20fc72(0x53f))}),this[_0x20fc72(0x36d)][_0x20fc72(0x2d5)](0x2);return;}this[_0x20fc72(0x36d)][_0x20fc72(0x2d5)](0x3);const _0xfcf3be=(_0x7818f4=_0x1a6c92[_0x20fc72(0x36b)][_0x20fc72(0x333)][this[_0x20fc72(0x3e2)]])==null?void 0x0:_0x7818f4[_0x20fc72(0x556)];_0xfcf3be&&_0xfcf3be['forEach'](_0x1fa168=>this[_0x20fc72(0x529)][_0x20fc72(0x2b0)](this[_0x20fc72(0x3e2)],_0x1fa168));}[_0x3a00cb(0x49a)](_0x1e301e){const _0x8f66b1=_0x3a00cb;try{const _0x46d26d=_0x1e301e[_0x8f66b1(0x36b)];switch(_0x46d26d[_0x8f66b1(0x306)]){case _0x48fdb9[_0x8f66b1(0x3de)][_0x8f66b1(0x1f1)]:this[_0x8f66b1(0x493)](_0x46d26d),this['_event$']['next'](_0x46d26d);break;case _0x48fdb9['CollaborationEvent'][_0x8f66b1(0x5ae)]:this[_0x8f66b1(0x34d)](_0x46d26d),this[_0x8f66b1(0x4b8)][_0x8f66b1(0x2d5)](_0x46d26d);break;case _0x48fdb9[_0x8f66b1(0x3de)]['CHANGESET_ACK']:case _0x48fdb9[_0x8f66b1(0x3de)][_0x8f66b1(0x4dc)]:this[_0x8f66b1(0x375)](),this[_0x8f66b1(0x24d)](),this[_0x8f66b1(0x4b8)][_0x8f66b1(0x2d5)](_0x46d26d);break;case _0x48fdb9[_0x8f66b1(0x3de)]['MSG_FOR_ERROR']:this[_0x8f66b1(0x405)][_0x8f66b1(0x50f)](_0x8f66b1(0x494)+JSON[_0x8f66b1(0x2a3)](_0x46d26d)),this[_0x8f66b1(0x4b8)]['next'](_0x46d26d);break;case _0x48fdb9[_0x8f66b1(0x3de)][_0x8f66b1(0x47b)]:this['_commentService'][_0x8f66b1(0x699)](_0x46d26d[_0x8f66b1(0x36b)]),this[_0x8f66b1(0x4b8)][_0x8f66b1(0x2d5)](_0x46d26d);break;default:this['_event$'][_0x8f66b1(0x2d5)](_0x46d26d);}}catch(_0xe48600){this[_0x8f66b1(0x405)][_0x8f66b1(0x50f)](_0xe48600,_0x1e301e);}}[_0x3a00cb(0x493)](_0x171fbd){const _0x1a79aa=_0x3a00cb;this['_memberService']['updateMember'](this[_0x1a79aa(0x3e2)],_0x171fbd[_0x1a79aa(0x36b)]);}[_0x3a00cb(0x34d)](_0x53e42c){const _0x295353=_0x3a00cb;this[_0x295353(0x529)][_0x295353(0x586)](this[_0x295353(0x3e2)],_0x53e42c[_0x295353(0x36b)][_0x295353(0x284)]);}async['send'](_0x13618a,_0x229f92){const _0x3d117d=_0x3a00cb;if(this[_0x3d117d(0x4a4)]!==0x3||!this[_0x3d117d(0x499)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x13618a[_0x3d117d(0x306)]===_0x48fdb9[_0x3d117d(0x3de)][_0x3d117d(0x28d)]&&(this[_0x3d117d(0x1fb)](),this[_0x3d117d(0x41a)](_0x13618a)),this['_socket'][_0x3d117d(0x2f7)]({'cmd':_0x4d8c43['INGEST'],'routeKey':_0x229f92,'routeType':'','data':_0x13618a});}catch(_0x40537c){this[_0x3d117d(0x405)][_0x3d117d(0x50f)](_0x40537c);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3e06bd=_0x3a00cb;var _0x2b6d86;this[_0x3e06bd(0x2b2)]=window['setTimeout'](()=>{const _0x4e9c39=_0x3e06bd;this[_0x4e9c39(0x2b2)]=null,this[_0x4e9c39(0x239)][_0x4e9c39(0x4d8)]({'type':_0x5934c8[_0x4e9c39(0x543)][_0x4e9c39(0x2e2)],'content':this[_0x4e9c39(0x1f7)]['t']('session.collaboration-timeout')});},(_0x2b6d86=this[_0x3e06bd(0x4ce)][_0x3e06bd(0x4fc)](_0x941ed1))!=null?_0x2b6d86:0x4e20);}[_0x3a00cb(0x24d)](){const _0x1cdd40=_0x3a00cb;this[_0x1cdd40(0x2b2)]&&(clearTimeout(this[_0x1cdd40(0x2b2)]),this[_0x1cdd40(0x2b2)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2212bd){const _0x3d01d8=_0x3a00cb;if(!this[_0x3d01d8(0x3a7)])return;const {data:_0x4d5e63}=_0x2212bd,{unitID:_0x2de9ce,changeset:_0x596f79}=_0x4d5e63,{mutations:_0x3fae30,type:_0x2cee48}=_0x596f79;this[_0x3d01d8(0x207)]={'unitId':_0x2de9ce,'type':_0x2cee48,'startTime':performance[_0x3d01d8(0x458)](),'stopTime':0x0,'duration':0x0,'size':_0x12fb88(_0x3fae30)};}[_0x3a00cb(0x375)](){const _0x15e31a=_0x3a00cb;if(this[_0x15e31a(0x3a7)]){if(!this['_telemetryInfo']){this[_0x15e31a(0x405)][_0x15e31a(0x50f)](_0x15e31a(0x512),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x15e31a(0x207)][_0x15e31a(0x4ad)]=performance[_0x15e31a(0x458)](),this[_0x15e31a(0x207)]['duration']=this[_0x15e31a(0x207)][_0x15e31a(0x4ad)]-this['_telemetryInfo']['startTime'],this[_0x15e31a(0x588)][_0x15e31a(0x319)](_0x423e7f,this[_0x15e31a(0x207)]),this['_telemetryInfo']=null;}}[_0x3a00cb(0x212)](){const _0x4b99e5=_0x3a00cb;this[_0x4b99e5(0x207)]=null;}},_0x5aeb12[_0x3a00cb(0x1e9)]=_0x5ba57c([_0x162aef(0x2,_0x1330ba[_0x3a00cb(0x57c)]),_0x162aef(0x3,_0x5d5dd2[_0x3a00cb(0x4cb)]),_0x162aef(0x4,_0x5d5dd2['IMessageService']),_0x162aef(0x5,_0x1330ba[_0x3a00cb(0x3c1)]),_0x162aef(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['LocaleService'])),_0x162aef(0x7,_0x1330ba['Inject'](_0x5aeb12[_0x3a00cb(0x624)])),_0x162aef(0x8,_0x1330ba[_0x3a00cb(0x217)](_0x5b63f3)),_0x162aef(0x9,_0x1330ba[_0x3a00cb(0x67e)](_0x52bfc7[_0x3a00cb(0x260)]))],_0x5aeb12['CollaborationSession']);var _0x22758c=Object[_0x3a00cb(0x43c)],_0x5002f8=Object['getOwnPropertyDescriptor'],_0x108b8a=(_0x40dbc7,_0x4ce2a9,_0xb28082,_0x37309d)=>{for(var _0x2dbdeb=_0x37309d>0x1?void 0x0:_0x37309d?_0x5002f8(_0x4ce2a9,_0xb28082):_0x4ce2a9,_0x4e1acb=_0x40dbc7['length']-0x1,_0x26b979;_0x4e1acb>=0x0;_0x4e1acb--)(_0x26b979=_0x40dbc7[_0x4e1acb])&&(_0x2dbdeb=(_0x37309d?_0x26b979(_0x4ce2a9,_0xb28082,_0x2dbdeb):_0x26b979(_0x2dbdeb))||_0x2dbdeb);return _0x37309d&&_0x2dbdeb&&_0x22758c(_0x4ce2a9,_0xb28082,_0x2dbdeb),_0x2dbdeb;},_0x3be85b=(_0x3f3aeb,_0xe02571)=>(_0x38fc2c,_0xcaff78)=>_0xe02571(_0x38fc2c,_0xcaff78,_0x3f3aeb);_0x5aeb12['CollaborationSessionService']=class extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(_0x10a1c4,_0x274391,_0x392f2e,_0x5b29c1,_0x1bc3ea,_0x3ede7e){const _0xf1abd0=_0x3a00cb;super(),_0x2eb009(this,'_socket$',new _0x1eddba['BehaviorSubject'](void 0x0)),_0x2eb009(this,'socket$',this[_0xf1abd0(0x31d)][_0xf1abd0(0x518)]()),_0x2eb009(this,_0xf1abd0(0x1fe),null),_0x2eb009(this,_0xf1abd0(0x4b6),new Map()),_0x2eb009(this,'_status$',new _0x1eddba[(_0xf1abd0(0x332))](_0x1164b5[_0xf1abd0(0x5aa)])),_0x2eb009(this,_0xf1abd0(0x69d),this['_status$'][_0xf1abd0(0x518)]()),_0x2eb009(this,'_socketReady',!0x1),_0x2eb009(this,_0xf1abd0(0x582)),_0x2eb009(this,'_retryCount',0x0),_0x2eb009(this,_0xf1abd0(0x60a)),_0x2eb009(this,_0xf1abd0(0x5a6)),(this[_0xf1abd0(0x226)]=_0x10a1c4,this[_0xf1abd0(0x1f7)]=_0x274391,this[_0xf1abd0(0x239)]=_0x392f2e,this[_0xf1abd0(0x405)]=_0x5b29c1,this['_configService']=_0x1bc3ea,this[_0xf1abd0(0x275)]=_0x3ede7e,this[_0xf1abd0(0x446)]());}get[_0x3a00cb(0x499)](){const _0x6bc37e=_0x3a00cb;return this[_0x6bc37e(0x31d)]['getValue']();}[_0x3a00cb(0x446)](){const _0x2655a4=_0x3a00cb;this[_0x2655a4(0x537)](),this['_listenToOnlineEvent']();}[_0x3a00cb(0x41f)](){const _0x1873b1=_0x3a00cb;super[_0x1873b1(0x41f)](),this['_sessions'][_0x1873b1(0x303)](_0xbbce34=>_0xbbce34[_0x1873b1(0x41f)]()),this[_0x1873b1(0x4b6)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x2ceeff){const _0x598238=_0x3a00cb;if(this[_0x598238(0x4b6)][_0x598238(0x42a)](_0x2ceeff))return this[_0x598238(0x4b6)][_0x598238(0x4bf)](_0x2ceeff);this[_0x598238(0x623)]();const _0x48d44d=this['_injector'][_0x598238(0x578)](_0x5aeb12['CollaborationSession'],_0x2ceeff,this[_0x598238(0x31d)]['asObservable']());return this['_sessions'][_0x598238(0x4cf)](_0x2ceeff,_0x48d44d),_0x48d44d;}[_0x3a00cb(0x500)](_0x19c14e){const _0x485057=_0x3a00cb;var _0x329c57;const _0x2c678f=this[_0x485057(0x4b6)][_0x485057(0x4bf)](_0x19c14e);_0x2c678f&&(this[_0x485057(0x4b6)][_0x485057(0x317)](_0x19c14e),_0x2c678f[_0x485057(0x3b1)]()),this[_0x485057(0x4b6)]['size']||(_0x329c57=this[_0x485057(0x499)])==null||_0x329c57[_0x485057(0x3b1)]();}[_0x3a00cb(0x40b)](){const _0x421186=_0x3a00cb;this[_0x421186(0x515)]=0x0,this[_0x421186(0x582)]!=null&&(clearTimeout(this[_0x421186(0x582)]),this[_0x421186(0x582)]=null),this[_0x421186(0x63a)]();}['_createSocket'](){const _0x3394bc=_0x3a00cb;var _0x53c0c0,_0x15b8f9;const _0x38e631=this[_0x3394bc(0x4ce)][_0x3394bc(0x4fc)](_0x2314a9),_0x36987c=this[_0x3394bc(0x4ce)][_0x3394bc(0x4fc)](_0x37cfeb),_0x34a1d9=(_0x15b8f9=(_0x53c0c0=_0x36987c==null?void 0x0:_0x36987c[_0x3394bc(0x535)])!=null?_0x53c0c0:_0x38e631)!=null?_0x15b8f9:_0x23debe,_0x2da059=this[_0x3394bc(0x275)][_0x3394bc(0x52b)](_0x34a1d9);return this[_0x3394bc(0x1fe)]=_0x2da059,_0x2da059;}[_0x3a00cb(0x623)](){const _0x26acf7=_0x3a00cb;var _0xd06ef9,_0x1709bf;try{const _0x52d990=(_0x1709bf=(_0xd06ef9=this[_0x26acf7(0x499)])!=null?_0xd06ef9:this[_0x26acf7(0x1fe)])!=null?_0x1709bf:this['_createSocket']();if(_0x52d990){const _0x29585e=_0x52d990[_0x26acf7(0x2f7)];_0x52d990[_0x26acf7(0x2f7)]=_0x2b8eae=>(this[_0x26acf7(0x2fd)](),_0x29585e[_0x26acf7(0x48d)](_0x52d990,[_0x2b8eae])),_0x52d990['message$'][_0x26acf7(0x21f)](_0x5b0204=>this[_0x26acf7(0x283)](_0x52d990,_0x5b0204)),_0x52d990[_0x26acf7(0x4c6)][_0x26acf7(0x3a2)](_0xc13278[_0x26acf7(0x5b1)](0x1))['subscribe'](_0x387d03=>this[_0x26acf7(0x405)][_0x26acf7(0x50f)](_0x26acf7(0x4c0),_0x387d03)),_0x52d990[_0x26acf7(0x2cf)][_0x26acf7(0x3a2)](_0xc13278[_0x26acf7(0x5b1)](0x1))[_0x26acf7(0x21f)](()=>{const _0x53a2e9=_0x26acf7;this[_0x53a2e9(0x2b8)](_0x52d990);}),_0x52d990[_0x26acf7(0x50c)][_0x26acf7(0x3a2)](_0xc13278[_0x26acf7(0x5b1)](0x1))['subscribe'](_0x4f242b=>{const _0x5aa41f=_0x26acf7;this[_0x5aa41f(0x405)][_0x5aa41f(0x507)]('[CollaborationSessionService]',_0x5aa41f(0x28c),_0x4f242b),this['_onConnectionFailed']();});}}catch(_0x46812c){this[_0x26acf7(0x405)][_0x26acf7(0x50f)](_0x46812c),this[_0x26acf7(0x5a1)]();}}['_onConnectionOpen'](_0x41c13b){const _0x35f5e4=_0x3a00cb;this['_logService'][_0x35f5e4(0x507)]('[CollaborationSessionService]',_0x35f5e4(0x4e4)),_0x41c13b[_0x35f5e4(0x2f7)]({'cmd':_0x4d8c43['HELLO']}),this[_0x35f5e4(0x2fd)]();}[_0x3a00cb(0x537)](){const _0x3574f1=_0x3a00cb;window[_0x3574f1(0x609)](_0x3574f1(0x43a),()=>this['_onOffline']());}[_0x3a00cb(0x4a3)](){const _0x15adb5=_0x3a00cb;this[_0x15adb5(0x20d)]=!0x1,this[_0x15adb5(0x1fe)]=null,this[_0x15adb5(0x603)][_0x15adb5(0x2d5)](_0x1164b5[_0x15adb5(0x395)]),this[_0x15adb5(0x31d)]['next'](null),this[_0x15adb5(0x67f)](),this['_clearHeartbeatTimer']();}[_0x3a00cb(0x5a1)](){const _0x1a4b20=_0x3a00cb;var _0x298d01;this[_0x1a4b20(0x4a3)](),this['_retryCount']<((_0x298d01=this['_configService'][_0x1a4b20(0x4fc)](_0x4ec51f))!=null?_0x298d01:0x3)?(this[_0x1a4b20(0x239)][_0x1a4b20(0x4d8)]({'key':_0x1a4b20(0x421),'type':_0x5934c8[_0x1a4b20(0x543)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x1a4b20(0x239)]['show']({'key':_0x1a4b20(0x421),'type':_0x5934c8['MessageType'][_0x1a4b20(0x2e2)],'content':this['_localeService']['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x9eb708=_0x3a00cb,_0x2e51c1=()=>{const _0x5d5845=_0x5f13;this['_socket']||this[_0x5d5845(0x40b)]();},_0x528d58=()=>{const _0x3b3f7f=_0x5f13;this[_0x3b3f7f(0x499)]||document['visibilityState']==='hidden'||this[_0x3b3f7f(0x40b)]();};window['addEventListener']('online',_0x2e51c1),document['addEventListener'](_0x9eb708(0x35b),_0x528d58);}[_0x3a00cb(0x63a)](){const _0x34d323=_0x3a00cb;var _0x53a1de;const _0x13f48a=this[_0x34d323(0x515)],_0x94fbb5=this['_configService']['getConfig'](_0x37cfeb),_0x1ea91c=_0x13f48a===0x0?0x0:((_0x53a1de=_0x94fbb5==null?void 0x0:_0x94fbb5[_0x34d323(0x235)])!=null?_0x53a1de:0x4e20)*0x2**_0x13f48a;this[_0x34d323(0x582)]=window['setTimeout'](()=>{const _0x2cb1db=_0x34d323;clearTimeout(this[_0x2cb1db(0x582)]),this['_retryConnectingTimer']=null,this[_0x2cb1db(0x623)]();},_0x1ea91c),this[_0x34d323(0x515)]+=0x1;}[_0x3a00cb(0x283)](_0x324c28,_0x6eb9e){const _0x6b341c=_0x3a00cb,{cmd:_0x1f1cf9}=_0x6eb9e;_0x1f1cf9===_0x4d8c43[_0x6b341c(0x325)]&&!this[_0x6b341c(0x20d)]&&(_0x324c28['memberID']=_0x6eb9e[_0x6b341c(0x36b)]['memberID'],this['_socket$'][_0x6b341c(0x2d5)](_0x324c28),this[_0x6b341c(0x603)][_0x6b341c(0x2d5)](_0x1164b5[_0x6b341c(0x695)]),this[_0x6b341c(0x20d)]=!0x0,this[_0x6b341c(0x1fe)]=null),_0x1f1cf9===_0x4d8c43['HEARTBEAT']&&this[_0x6b341c(0x67f)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x1b8960=_0x3a00cb;var _0x12f400;this['_clearHeartbeatTimer'](),this[_0x1b8960(0x60a)]=window[_0x1b8960(0x64c)](()=>this[_0x1b8960(0x2ca)](),(_0x12f400=this[_0x1b8960(0x4ce)]['getConfig'](_0x407e47))!=null?_0x12f400:0x7530);}[_0x3a00cb(0x2ca)](){const _0x213b6b=_0x3a00cb;this['_socket']['send']({'cmd':_0x4d8c43[_0x213b6b(0x3b0)]}),this[_0x213b6b(0x4d6)]();}[_0x3a00cb(0x4d6)](){const _0x2d3147=_0x3a00cb;var _0x1638cd;this[_0x2d3147(0x5a6)]=window[_0x2d3147(0x64c)](()=>this[_0x2d3147(0x5a1)](),(_0x1638cd=this[_0x2d3147(0x4ce)]['getConfig'](_0x941ed1))!=null?_0x1638cd:0x4e20);}[_0x3a00cb(0x277)](){const _0x313573=_0x3a00cb;this[_0x313573(0x60a)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x3a00cb(0x67f)](){const _0x1466e6=_0x3a00cb;this[_0x1466e6(0x5a6)]!=null&&(clearTimeout(this[_0x1466e6(0x5a6)]),this[_0x1466e6(0x5a6)]=null);}},_0x5aeb12[_0x3a00cb(0x2c3)]=_0x108b8a([_0x3be85b(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x3be85b(0x1,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x627)])),_0x3be85b(0x2,_0x5d5dd2[_0x3a00cb(0x67b)]),_0x3be85b(0x3,_0x1330ba['ILogService']),_0x3be85b(0x4,_0x1330ba[_0x3a00cb(0x3c1)]),_0x3be85b(0x5,_0xd12940)],_0x5aeb12[_0x3a00cb(0x2c3)]);const _0x5bb55c=[];for(let _0x353848=0x0;_0x353848<0x100;++_0x353848)_0x5bb55c['push']((_0x353848+0x100)[_0x3a00cb(0x3fd)](0x10)[_0x3a00cb(0x3e3)](0x1));function _0x27cc70(_0x150441,_0x1190f4=0x0){return(_0x5bb55c[_0x150441[_0x1190f4+0x0]]+_0x5bb55c[_0x150441[_0x1190f4+0x1]]+_0x5bb55c[_0x150441[_0x1190f4+0x2]]+_0x5bb55c[_0x150441[_0x1190f4+0x3]]+'-'+_0x5bb55c[_0x150441[_0x1190f4+0x4]]+_0x5bb55c[_0x150441[_0x1190f4+0x5]]+'-'+_0x5bb55c[_0x150441[_0x1190f4+0x6]]+_0x5bb55c[_0x150441[_0x1190f4+0x7]]+'-'+_0x5bb55c[_0x150441[_0x1190f4+0x8]]+_0x5bb55c[_0x150441[_0x1190f4+0x9]]+'-'+_0x5bb55c[_0x150441[_0x1190f4+0xa]]+_0x5bb55c[_0x150441[_0x1190f4+0xb]]+_0x5bb55c[_0x150441[_0x1190f4+0xc]]+_0x5bb55c[_0x150441[_0x1190f4+0xd]]+_0x5bb55c[_0x150441[_0x1190f4+0xe]]+_0x5bb55c[_0x150441[_0x1190f4+0xf]])['toLowerCase']();}let _0x21306;const _0x4c4914=new Uint8Array(0x10);function _0x3ec2fe(){const _0x122a24=_0x3a00cb;if(!_0x21306){if(typeof crypto>'u'||!crypto[_0x122a24(0x536)])throw new Error(_0x122a24(0x39b));_0x21306=crypto[_0x122a24(0x536)][_0x122a24(0x295)](crypto);}return _0x21306(_0x4c4914);}const _0x28edce={'randomUUID':typeof crypto<'u'&&crypto[_0x3a00cb(0x384)]&&crypto[_0x3a00cb(0x384)]['bind'](crypto)};function _0x2b0a94(_0x310a15,_0x29e49c,_0x1b285f){const _0x4f91ea=_0x3a00cb;if(_0x28edce[_0x4f91ea(0x384)]&&!_0x29e49c&&!_0x310a15)return _0x28edce[_0x4f91ea(0x384)]();_0x310a15=_0x310a15||{};const _0x38c8df=_0x310a15[_0x4f91ea(0x4ab)]||(_0x310a15[_0x4f91ea(0x62f)]||_0x3ec2fe)();return _0x38c8df[0x6]=_0x38c8df[0x6]&0xf|0x40,_0x38c8df[0x8]=_0x38c8df[0x8]&0x3f|0x80,_0x27cc70(_0x38c8df);}var _0x505752=Object[_0x3a00cb(0x43c)],_0x535863=Object[_0x3a00cb(0x637)],_0x35e787=(_0x873cc0,_0x2927af,_0x47835e,_0x2ec35e)=>{const _0x33679f=_0x3a00cb;for(var _0x1c4028=_0x2ec35e>0x1?void 0x0:_0x2ec35e?_0x535863(_0x2927af,_0x47835e):_0x2927af,_0x2f2d19=_0x873cc0[_0x33679f(0x422)]-0x1,_0x471e38;_0x2f2d19>=0x0;_0x2f2d19--)(_0x471e38=_0x873cc0[_0x2f2d19])&&(_0x1c4028=(_0x2ec35e?_0x471e38(_0x2927af,_0x47835e,_0x1c4028):_0x471e38(_0x1c4028))||_0x1c4028);return _0x2ec35e&&_0x1c4028&&_0x505752(_0x2927af,_0x47835e,_0x1c4028),_0x1c4028;},_0x54767b=(_0x4ec406,_0x546e6d)=>(_0x312be4,_0xfe8dcf)=>_0x546e6d(_0x312be4,_0xfe8dcf,_0x4ec406);let _0x2b30d7=class{constructor(_0x22f93,_0xdab49b,_0x295f7e){const _0x4d47a0=_0x3a00cb;this[_0x4d47a0(0x226)]=_0x22f93,this[_0x4d47a0(0x621)]=_0xdab49b,this[_0x4d47a0(0x56e)]=_0x295f7e;}[_0x3a00cb(0x386)](_0x330b90){this['_transformUndoRedoStack'](_0x330b90),this['_transformPreviousActiveRange'](_0x330b90);}[_0x3a00cb(0x368)](_0x21939a){const _0xdec04f=_0x3a00cb,{unitID:_0x4e3b5}=_0x21939a,_0x29b16a=this['_renderManagerService'][_0xdec04f(0x38e)](_0x4e3b5)[_0xdec04f(0x3b2)](_0x2b18a1[_0xdec04f(0x3bc)]),{redoCache:_0x52df37}=_0x29b16a['getUndoRedoMutationParamsCache']();if(_0x52df37[_0xdec04f(0x422)]===0x0)return _0x21939a;let _0x1a1db6=_0x1330ba['Tools'][_0xdec04f(0x579)](_0x21939a[_0xdec04f(0x1f3)][0x0]);for(let _0x405f55=0x0;_0x405f55<_0x52df37['length'];_0x405f55++){const _0x38c4f3={'id':'doc.mutation.rich-text-editing','params':{..._0x52df37[_0x405f55]}},_0x1fe847=this[_0xdec04f(0x621)]['transformMutation'](_0x1a1db6,_0x38c4f3,!0x1);if(_0x48fdb9[_0xdec04f(0x5ad)](_0x1fe847))throw _0x1fe847[_0xdec04f(0x50f)];_0x1a1db6=_0x1fe847[_0xdec04f(0x62e)];}return{..._0x1330ba[_0xdec04f(0x23b)][_0xdec04f(0x579)](_0x21939a),'mutations':[_0x1a1db6]};}[_0x3a00cb(0x416)](_0x2ff0bb){const _0xa1ef01=_0x3a00cb,{unitID:_0x1cd88b}=_0x2ff0bb,_0x45cc2a=this[_0xa1ef01(0x56e)][_0xa1ef01(0x38e)](_0x1cd88b)[_0xa1ef01(0x3b2)](_0x2b18a1[_0xa1ef01(0x3bc)]),{undoCache:_0xcbd514,redoCache:_0x216b4d}=_0x45cc2a[_0xa1ef01(0x5ea)]();if(_0xcbd514[_0xa1ef01(0x422)]===0x0||_0x216b4d['length']===0x0)return;const _0x4797c3=[],_0x146dfb=[];let _0x287812=_0x1330ba['Tools'][_0xa1ef01(0x579)](_0x2ff0bb[_0xa1ef01(0x1f3)][0x0]),_0xc049b8=_0x1330ba['Tools'][_0xa1ef01(0x579)](_0x2ff0bb[_0xa1ef01(0x1f3)][0x0]);for(let _0x2b4f28=_0xcbd514[_0xa1ef01(0x422)]-0x1;_0x2b4f28>=0x0;_0x2b4f28--){const _0x459d00={'id':_0xa1ef01(0x3d2),'params':{..._0xcbd514[_0x2b4f28]}},_0x48f37d={'id':_0xa1ef01(0x3d2),'params':{..._0x216b4d[_0x2b4f28]}},_0x40a971=this[_0xa1ef01(0x621)][_0xa1ef01(0x576)](_0x287812,_0x459d00,!0x1),_0x9c70a5=this['_transformService'][_0xa1ef01(0x576)](_0xc049b8,_0x48f37d,!0x1);if(_0x48fdb9[_0xa1ef01(0x5ad)](_0x40a971))throw _0x40a971['error'];if(_0x48fdb9[_0xa1ef01(0x5ad)](_0x9c70a5))throw _0x9c70a5[_0xa1ef01(0x50f)];_0x4797c3[_0xa1ef01(0x49f)](_0x40a971[_0xa1ef01(0x591)][_0xa1ef01(0x25e)]),_0x146dfb[_0xa1ef01(0x49f)](_0x9c70a5['m2Prime'][_0xa1ef01(0x25e)]),_0x287812=_0x40a971[_0xa1ef01(0x62e)],_0xc049b8=_0x9c70a5[_0xa1ef01(0x62e)];}_0x45cc2a[_0xa1ef01(0x5e6)]({'undoCache':_0x4797c3,'redoCache':_0x146dfb});}[_0x3a00cb(0x3d0)](_0x2ddbec){const _0x562e38=_0x3a00cb,{unitID:_0x235566}=_0x2ddbec,_0xa0d253=this[_0x562e38(0x56e)][_0x562e38(0x38e)](_0x235566)[_0x562e38(0x3b2)](_0x2b18a1[_0x562e38(0x3bc)]),_0x31b84d=_0xa0d253[_0x562e38(0x64b)]();if(_0x31b84d==null)return;const _0x2033bc=[{'id':_0x562e38(0x3d2),'params':{'unitId':_0x2ddbec[_0x562e38(0x36f)],'actions':null,'textRanges':[_0x31b84d]}}],_0x1d787c=this['_transformService'][_0x562e38(0x22e)](_0x2ddbec,_0x2033bc);if(!_0x48fdb9[_0x562e38(0x5a3)](_0x1d787c))throw _0x1d787c[_0x562e38(0x50f)];const _0x565e4e=_0x1d787c[_0x562e38(0x591)][0x0][_0x562e38(0x25e)]['textRanges'];Array[_0x562e38(0x519)](_0x565e4e)&&_0x565e4e[_0x562e38(0x422)]&&_0xa0d253['setActiveRange'](_0x565e4e[0x0]);}};_0x2b30d7=_0x35e787([_0x54767b(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x54767b(0x1,_0x48fdb9[_0x3a00cb(0x38d)]),_0x54767b(0x2,_0x15986e['IRenderManagerService'])],_0x2b30d7);var _0x5a7f4d=Object['defineProperty'],_0x1f0443=Object[_0x3a00cb(0x637)],_0x56a85f=(_0x172c57,_0x3c1611,_0x58e8dd,_0x11018f)=>{const _0x3e6f09=_0x3a00cb;for(var _0x4f03e7=_0x11018f>0x1?void 0x0:_0x11018f?_0x1f0443(_0x3c1611,_0x58e8dd):_0x3c1611,_0x4e5e90=_0x172c57[_0x3e6f09(0x422)]-0x1,_0x3625aa;_0x4e5e90>=0x0;_0x4e5e90--)(_0x3625aa=_0x172c57[_0x4e5e90])&&(_0x4f03e7=(_0x11018f?_0x3625aa(_0x3c1611,_0x58e8dd,_0x4f03e7):_0x3625aa(_0x4f03e7))||_0x4f03e7);return _0x11018f&&_0x4f03e7&&_0x5a7f4d(_0x3c1611,_0x58e8dd,_0x4f03e7),_0x4f03e7;},_0x33b876=(_0x4f42d0,_0x529782)=>(_0x5a1c91,_0x2a0f28)=>_0x529782(_0x5a1c91,_0x2a0f28,_0x4f42d0);_0x5aeb12['LocalCacheService']=class extends _0x1330ba['Disposable']{constructor(_0xedd59d,_0x2913a6,_0x23a3ca,_0x2b8cbc,_0x1276aa){const _0x245c5c=_0x3a00cb;super(),_0x2eb009(this,_0x245c5c(0x293),new Map()),_0x2eb009(this,_0x245c5c(0x25c),new Map()),_0x2eb009(this,'_disabled',!0x1),(this[_0x245c5c(0x4ce)]=_0xedd59d,this[_0x245c5c(0x1e7)]=_0x2913a6,this[_0x245c5c(0x321)]=_0x23a3ca,this[_0x245c5c(0x1f7)]=_0x2b8cbc,this['_revisionService']=_0x1276aa,this[_0x245c5c(0x684)]());}[_0x3a00cb(0x598)](){const _0x2f1f04=_0x3a00cb;this[_0x2f1f04(0x482)]=!0x0;}[_0x3a00cb(0x346)](){const _0x3b8004=_0x3a00cb;this[_0x3b8004(0x482)]=!0x1;}[_0x3a00cb(0x41f)](){const _0x28c05d=_0x3a00cb;this[_0x28c05d(0x214)]()[_0x28c05d(0x694)](()=>super['dispose']());}async[_0x3a00cb(0x1ff)](_0x1ed69f){const _0x2f4c45=_0x3a00cb;return this[_0x2f4c45(0x482)]?null:this[_0x2f4c45(0x1e7)]['getItem'](_0x47de53(_0x1ed69f));}async[_0x3a00cb(0x309)](_0x5bb5ff,_0x3ac032){const _0x2c681c=_0x3a00cb;return!!this['_localStorageService'][_0x2c681c(0x486)](_0x5bb5ff,_0x3ac032);}['updateOfflineData'](_0x3e8aa7,_0x45732f,_0x1b12e7,_0x1c018e){const _0x5ce027=_0x3a00cb,_0x150739=this[_0x5ce027(0x4d7)]['getCurrentRevOfUnit'](_0x3e8aa7);this[_0x5ce027(0x293)][_0x5ce027(0x4cf)](_0x3e8aa7,{'unitID':_0x3e8aa7,'type':_0x45732f,'awaitingChangeset':_0x1b12e7,'mutations':_0x1c018e,'rev':_0x150739}),this[_0x5ce027(0x25c)][_0x5ce027(0x42a)](_0x3e8aa7)||this[_0x5ce027(0x2be)](_0x3e8aa7);}[_0x3a00cb(0x2be)](_0x1f0f69){const _0x23741e=_0x3a00cb,_0x22d7ee=this['_getSaveTimeout']();_0x22d7ee===0x0?this[_0x23741e(0x42c)](_0x1f0f69):this['_saveTaskMap']['set'](_0x1f0f69,setTimeout(()=>this[_0x23741e(0x42c)](_0x1f0f69),_0x22d7ee));}[_0x3a00cb(0x272)](){const _0x5c6fd0=_0x3a00cb;var _0x45d6a8;return(_0x45d6a8=this[_0x5c6fd0(0x4ce)][_0x5c6fd0(0x4fc)](_0x4cb84a))!=null?_0x45d6a8:0x3e8;}[_0x3a00cb(0x42c)](_0x23d52e){const _0x5706df=_0x3a00cb,_0x574e1b=this['_saveTaskMap']['get'](_0x23d52e);return _0x574e1b!==void 0x0&&window[_0x5706df(0x367)](_0x574e1b),this[_0x5706df(0x1e7)][_0x5706df(0x486)](_0x47de53(_0x23d52e),this['_cachedData'][_0x5706df(0x4bf)](_0x23d52e))[_0x5706df(0x694)](()=>this[_0x5706df(0x25c)][_0x5706df(0x317)](_0x23d52e));}async['exhaustSavingTask'](){const _0x2888ae=_0x3a00cb,_0x126b56=[];this[_0x2888ae(0x25c)][_0x2888ae(0x303)]((_0x5145b8,_0x20f8f6)=>{const _0x2b0d32=_0x2888ae;window['clearTimeout'](_0x5145b8),_0x126b56[_0x2b0d32(0x64d)](this[_0x2b0d32(0x42c)](_0x20f8f6)[_0x2b0d32(0x694)](()=>{const _0x5588b3=_0x2b0d32;this[_0x5588b3(0x25c)][_0x5588b3(0x317)](_0x20f8f6);}));}),await Promise[_0x2888ae(0x573)](_0x126b56);}[_0x3a00cb(0x684)](){const _0x487e00=_0x3a00cb;this[_0x487e00(0x63e)](this[_0x487e00(0x321)][_0x487e00(0x354)](()=>{const _0x2ffad1=_0x487e00;if(this['_saveTaskMap'][_0x2ffad1(0x3af)])return this[_0x2ffad1(0x1f7)]['t'](_0x2ffad1(0x206));}));}},_0x5aeb12['LocalCacheService']=_0x56a85f([_0x33b876(0x0,_0x1330ba[_0x3a00cb(0x3c1)]),_0x33b876(0x1,_0x1330ba['ILocalStorageService']),_0x33b876(0x2,_0x5d5dd2[_0x3a00cb(0x4cb)]),_0x33b876(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['LocaleService'])),_0x33b876(0x4,_0x1330ba['Inject'](_0x48fdb9['RevisionService']))],_0x5aeb12['LocalCacheService']);function _0x47de53(_0x1955a0){const _0x387d10=_0x3a00cb;return _0x387d10(0x65f)+_0x1955a0;}var _0x4fd70d=Object[_0x3a00cb(0x43c)],_0x1e8de1=Object[_0x3a00cb(0x637)],_0x2e674d=(_0x2f7c00,_0x4f7f78,_0xc60703,_0xcc99bd)=>{for(var _0x474d92=_0xcc99bd>0x1?void 0x0:_0xcc99bd?_0x1e8de1(_0x4f7f78,_0xc60703):_0x4f7f78,_0x5c168a=_0x2f7c00['length']-0x1,_0x182eb2;_0x5c168a>=0x0;_0x5c168a--)(_0x182eb2=_0x2f7c00[_0x5c168a])&&(_0x474d92=(_0xcc99bd?_0x182eb2(_0x4f7f78,_0xc60703,_0x474d92):_0x182eb2(_0x474d92))||_0x474d92);return _0xcc99bd&&_0x474d92&&_0x4fd70d(_0x4f7f78,_0xc60703,_0x474d92),_0x474d92;},_0x25ff99=(_0x3dc7bf,_0x3720c5)=>(_0x3f2808,_0x12ac59)=>_0x3720c5(_0x3f2808,_0x12ac59,_0x3dc7bf);function _0x7e27e3(_0x45114b){const _0x2a40c8=_0x3a00cb,{unitID:_0x4c26a9,mutations:_0x2d91f6}=_0x45114b;return{'unitId':_0x4c26a9,'subUnitId':_0x2d91f6[0x0][_0x2a40c8(0x25e)][_0x2a40c8(0x311)]};}let _0x1a0834=class{constructor(_0xfa577c,_0x1cf181,_0xab780e){const _0x206fa0=_0x3a00cb;this['_injector']=_0xfa577c,this[_0x206fa0(0x621)]=_0x1cf181,this[_0x206fa0(0x630)]=_0xab780e;}[_0x3a00cb(0x4f4)](_0x4dfabd){const _0x2b5343=_0x3a00cb;var _0x282349,_0x1fc3f5,_0x4c7e02,_0x594ed4;const _0x4b67be=this[_0x2b5343(0x226)][_0x2b5343(0x4bf)](_0x5ca8f8[_0x2b5343(0x3dd)]),{unitId:_0x58474e,subUnitId:_0x336141}=_0x7e27e3(_0x4dfabd),_0x31a1cb=_0x4b67be[_0x2b5343(0x244)](_0x58474e)[_0x2b5343(0x24c)](),_0x5252d0=(_0x1fc3f5=(_0x282349=this[_0x2b5343(0x630)][_0x2b5343(0x36c)](_0x58474e))==null?void 0x0:_0x282349['getActiveSheet']())==null?void 0x0:_0x1fc3f5[_0x2b5343(0x30b)]();if(_0x31a1cb[_0x2b5343(0x422)]===0x0||!_0x58474e||!_0x336141)return;const _0x517326=[{'id':_0x5ca8f8['SetSelectionsOperation']['id'],'params':{'unitId':_0x58474e,'subUnitId':_0x5252d0,'selections':_0x1330ba['Tools'][_0x2b5343(0x579)](_0x31a1cb)}}],_0x2c32ef=this[_0x2b5343(0x621)][_0x2b5343(0x22e)](_0x4dfabd,_0x517326);if(!_0x48fdb9[_0x2b5343(0x5a3)](_0x2c32ef))throw _0x2c32ef[_0x2b5343(0x50f)];const _0x5dfa94=(_0x594ed4=(_0x4c7e02=_0x2c32ef[_0x2b5343(0x591)][0x0])==null?void 0x0:_0x4c7e02['params'])==null?void 0x0:_0x594ed4[_0x2b5343(0x47f)];if(Array['isArray'](_0x5dfa94)&&_0x5dfa94[_0x2b5343(0x422)]){if(_0x5dfa94['length']===_0x517326[0x0][_0x2b5343(0x25e)][_0x2b5343(0x47f)][_0x2b5343(0x422)]&&_0x5dfa94[_0x2b5343(0x2d1)]((_0x27d7f5,_0x5c7a29)=>_0x1330ba[_0x2b5343(0x509)][_0x2b5343(0x241)](_0x27d7f5['range'],_0x517326[0x0][_0x2b5343(0x25e)][_0x2b5343(0x47f)][_0x5c7a29][_0x2b5343(0x292)])))return;this[_0x2b5343(0x226)][_0x2b5343(0x4bf)](_0x1330ba[_0x2b5343(0x5fc)])['executeCommand'](_0x5ca8f8[_0x2b5343(0x4b2)]['id'],{'unitId':_0x58474e,'subUnitId':_0x5252d0,'selections':_0x5dfa94});}}};_0x1a0834=_0x2e674d([_0x25ff99(0x0,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x619)])),_0x25ff99(0x1,_0x48fdb9[_0x3a00cb(0x38d)]),_0x25ff99(0x2,_0x1330ba[_0x3a00cb(0x5ce)])],_0x1a0834);const _0x151dcb=_0x1330ba['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x2022fa=(_0x93bfe4=>(_0x93bfe4[_0x93bfe4[_0x3a00cb(0x600)]=0x0]=_0x3a00cb(0x600),_0x93bfe4[_0x93bfe4['OTHER_CLIENTS_EDITING']=0x1]=_0x3a00cb(0x376),_0x93bfe4))(_0x2022fa||{});const _0x51276c=0x7530,_0x482bc2='ACTIVE_UNIT_EVENT_CHANNEL';class _0x15d199 extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(){const _0x969a45=_0x3a00cb;super(),_0x2eb009(this,'_id',_0x1330ba['Tools'][_0x969a45(0x25a)]()),_0x2eb009(this,_0x969a45(0x2af),new Set()),_0x2eb009(this,_0x969a45(0x3f7),new Map()),_0x2eb009(this,_0x969a45(0x52e),null),_0x2eb009(this,_0x969a45(0x312),new Map()),_0x2eb009(this,_0x969a45(0x53b),new Map()),this[_0x969a45(0x663)]();}['dispose'](){const _0x23adc7=_0x3a00cb;super['dispose'](),this[_0x23adc7(0x312)][_0x23adc7(0x303)]((_0x332e20,_0x5bcef5)=>this['_removeClearOtherTimer'](_0x5bcef5)),this[_0x23adc7(0x52e)]&&window[_0x23adc7(0x22b)](this[_0x23adc7(0x52e)]);}[_0x3a00cb(0x301)](_0x5a4c3e){const _0x29ed89=_0x3a00cb;return this[_0x29ed89(0x5ac)](_0x5a4c3e)[_0x29ed89(0x3a2)](_0x1eddba['distinctUntilChanged']());}[_0x3a00cb(0x5e0)](_0x396415){const _0x3bbcb0=_0x3a00cb;this[_0x3bbcb0(0x2af)][_0x3bbcb0(0x3af)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3bbcb0(0x2af)][_0x3bbcb0(0x523)](_0x396415),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x396415],'isForwarded':!0x1});}[_0x3a00cb(0x246)](_0x251c60){const _0x502354=_0x3a00cb;this[_0x502354(0x2af)]['delete'](_0x251c60),this[_0x502354(0x2af)]['size']===0x0&&this[_0x502354(0x52e)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x1be602=_0x3a00cb;this[_0x1be602(0x63e)](_0x1330ba['toDisposable'](_0x1eddba[_0x1be602(0x3ca)](window,_0x1be602(0x2a2))[_0x1be602(0x21f)](_0x4ed48c=>{const _0x3273c7=_0x1be602;if(_0x4ed48c['key']!==_0x482bc2||!_0x4ed48c[_0x3273c7(0x230)])return;const _0x3f3900=JSON[_0x3273c7(0x3fe)](_0x4ed48c[_0x3273c7(0x230)]);this[_0x3273c7(0x611)](_0x3f3900);}))),window[_0x1be602(0x609)](_0x1be602(0x46b),()=>this[_0x1be602(0x5da)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1be602(0x5ff)](this[_0x1be602(0x2af)])}));}[_0x3a00cb(0x611)](_0x27dc30){const _0x280bff=_0x3a00cb;switch(_0x27dc30[_0x280bff(0x651)]){case 0x0:this['_handleJoinEvent'](_0x27dc30);break;case 0x1:this[_0x280bff(0x69b)](_0x27dc30);break;case 0x2:this['_handleHeartbeatEvent'](_0x27dc30);break;}}[_0x3a00cb(0x266)](_0x10e83e){const _0xb41b=_0x3a00cb,{unitIDs:_0x4c81c3,memberID:_0x5cfdd6,isForwarded:_0x570314}=_0x10e83e;_0x4c81c3[_0xb41b(0x303)](_0x53771e=>{const _0x470674=_0xb41b;if(!_0x570314&&this[_0x470674(0x3f7)][_0x470674(0x42a)](_0x53771e)&&this[_0x470674(0x5ac)](_0x53771e)[_0x470674(0x2d5)](0x1),!this[_0x470674(0x3f7)]['has'](_0x53771e)||!this['_unitOnClients'][_0x470674(0x4bf)](_0x53771e)['has'](_0x5cfdd6)){const _0xfb0b54=this[_0x470674(0x3f7)][_0x470674(0x4bf)](_0x53771e)||new Set();_0xfb0b54[_0x470674(0x523)](_0x5cfdd6),this[_0x470674(0x3f7)][_0x470674(0x4cf)](_0x53771e,_0xfb0b54),this[_0x470674(0x590)](_0x5cfdd6);}}),_0x570314||this[_0xb41b(0x5da)]({'type':0x0,'memberID':this[_0xb41b(0x4a9)],'unitIDs':[...this[_0xb41b(0x2af)]],'isForwarded':!0x0});}[_0x3a00cb(0x590)](_0x4de7c8){const _0x346502=_0x3a00cb;this[_0x346502(0x56d)](_0x4de7c8);const _0x26b405=window['setTimeout'](()=>{const _0x1d6024=_0x346502;this[_0x1d6024(0x3f7)][_0x1d6024(0x303)](_0x134fff=>{const _0x3ab396=_0x1d6024;_0x134fff[_0x3ab396(0x317)](_0x4de7c8);});},_0x51276c*0x2);this[_0x346502(0x312)][_0x346502(0x4cf)](_0x4de7c8,_0x26b405);}['_removeClearOtherTimer'](_0x448f25){const _0x176b34=_0x3a00cb;if(this[_0x176b34(0x312)]['has'](_0x448f25)){const _0x5199aa=this[_0x176b34(0x312)][_0x176b34(0x4bf)](_0x448f25);_0x5199aa&&window[_0x176b34(0x367)](_0x5199aa),this[_0x176b34(0x312)]['set'](_0x448f25,null);}}[_0x3a00cb(0x69b)](_0x356c6c){const {memberID:_0x3824c1,unitIDs:_0x475316}=_0x356c6c;_0x475316['forEach'](_0x46105c=>{const _0x111e7e=_0x5f13;var _0x568e6d;const _0xb598b4=this[_0x111e7e(0x3f7)][_0x111e7e(0x4bf)](_0x46105c);_0xb598b4&&(_0xb598b4[_0x111e7e(0x317)](_0x3824c1),(_0x568e6d=this[_0x111e7e(0x5ac)](_0x46105c))==null||_0x568e6d[_0x111e7e(0x2d5)](_0xb598b4[_0x111e7e(0x3af)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x3824c1);}[_0x3a00cb(0x60e)](_0x26c98){const _0x56598d=_0x3a00cb;this[_0x56598d(0x590)](_0x26c98[_0x56598d(0x284)]);}[_0x3a00cb(0x5da)](_0x3ad8dd){const _0x31f327=_0x3a00cb;localStorage[_0x31f327(0x486)](_0x482bc2,JSON[_0x31f327(0x2a3)](_0x3ad8dd));}[_0x3a00cb(0x402)](){const _0x4f7696=_0x3a00cb;this['_heartbeatTimer']=window[_0x4f7696(0x203)](()=>{const _0x4aff70=_0x4f7696;this['_send']({'type':0x2,'memberID':this[_0x4aff70(0x4a9)]});},_0x51276c);}[_0x3a00cb(0x5ac)](_0x42958a){const _0x4b4434=_0x3a00cb;return this[_0x4b4434(0x53b)][_0x4b4434(0x42a)](_0x42958a)||this[_0x4b4434(0x53b)][_0x4b4434(0x4cf)](_0x42958a,new _0x1eddba['BehaviorSubject'](0x0)),this[_0x4b4434(0x53b)]['get'](_0x42958a);}}var _0x409c46=Object[_0x3a00cb(0x43c)],_0x28e0b7=Object[_0x3a00cb(0x637)],_0x5e6295=(_0x132653,_0x1ba9c0,_0x2abe31,_0x536c39)=>{const _0x530412=_0x3a00cb;for(var _0x4848ef=_0x536c39>0x1?void 0x0:_0x536c39?_0x28e0b7(_0x1ba9c0,_0x2abe31):_0x1ba9c0,_0x2775d3=_0x132653[_0x530412(0x422)]-0x1,_0x1c60d8;_0x2775d3>=0x0;_0x2775d3--)(_0x1c60d8=_0x132653[_0x2775d3])&&(_0x4848ef=(_0x536c39?_0x1c60d8(_0x1ba9c0,_0x2abe31,_0x4848ef):_0x1c60d8(_0x4848ef))||_0x4848ef);return _0x536c39&&_0x4848ef&&_0x409c46(_0x1ba9c0,_0x2abe31,_0x4848ef),_0x4848ef;},_0x119e42=(_0x23a395,_0x1db460)=>(_0x5cbff2,_0xeee936)=>_0x1db460(_0x5cbff2,_0xeee936,_0x23a395);let _0x171291=class{constructor(_0x2534b7,_0xbd7f9d,_0x434bb7){const _0x7c92ea=_0x3a00cb;this[_0x7c92ea(0x226)]=_0x2534b7,this[_0x7c92ea(0x621)]=_0xbd7f9d,this[_0x7c92ea(0x2de)]=_0x434bb7;}[_0x3a00cb(0x428)](_0x12edc9){const _0x2440e1=_0x3a00cb;this[_0x2440e1(0x577)](_0x12edc9);}[_0x3a00cb(0x368)](_0x29911d){const _0x8af62d=_0x3a00cb,{unitID:_0x7c0a03}=_0x29911d,{collaboration:_0x121ec2}=this[_0x8af62d(0x2de)][_0x8af62d(0x614)](_0x7c0a03);if(_0x121ec2[_0x8af62d(0x422)]===0x0)return _0x29911d;let _0x166e53=_0x1330ba[_0x8af62d(0x23b)][_0x8af62d(0x579)](_0x29911d[_0x8af62d(0x1f3)][0x0]);for(let _0x57cd9d=0x0;_0x57cd9d<_0x121ec2['length'];_0x57cd9d++){const _0x5a48b1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121ec2[_0x57cd9d][_0x8af62d(0x643)],..._0x121ec2[_0x57cd9d]['redoState']}},_0x3f7d83=this[_0x8af62d(0x621)][_0x8af62d(0x576)](_0x166e53,_0x5a48b1,!0x1);if(_0x48fdb9[_0x8af62d(0x5ad)](_0x3f7d83))throw _0x3f7d83[_0x8af62d(0x50f)];_0x166e53=_0x3f7d83['m1Prime'];}return{..._0x1330ba[_0x8af62d(0x23b)][_0x8af62d(0x579)](_0x29911d),'mutations':[_0x166e53]};}[_0x3a00cb(0x577)](_0x32f299){const _0x4d82df=_0x3a00cb,{unitID:_0x11f6e0}=_0x32f299,{history:_0x4feb6c,collaboration:_0xe798bd}=this[_0x4d82df(0x2de)][_0x4d82df(0x614)](_0x11f6e0);if(_0x4feb6c[_0x4d82df(0x422)]===0x0&&_0xe798bd[_0x4d82df(0x422)]===0x0)return;const _0x7c9b2c=[],_0x1ae833=[];let _0x2a662f=_0x1330ba[_0x4d82df(0x23b)][_0x4d82df(0x579)](_0x32f299[_0x4d82df(0x1f3)][0x0]),_0x1037d9=_0x1330ba[_0x4d82df(0x23b)]['deepClone'](_0x32f299['mutations'][0x0]);for(let _0x4f7c8c=_0x4feb6c[_0x4d82df(0x422)]-0x1;_0x4f7c8c>=0x0;_0x4f7c8c--){const _0x341005={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4feb6c[_0x4f7c8c]['unitId'],..._0x4feb6c[_0x4f7c8c][_0x4d82df(0x31c)]}},_0x4b2faa={'id':_0x4d82df(0x3d2),'params':{'unitId':_0x4feb6c[_0x4f7c8c][_0x4d82df(0x643)],..._0x4feb6c[_0x4f7c8c][_0x4d82df(0x685)]}},_0x38b646=this[_0x4d82df(0x621)]['transformMutation'](_0x2a662f,_0x341005,!0x1),_0x13b69a=this[_0x4d82df(0x621)][_0x4d82df(0x576)](_0x1037d9,_0x4b2faa,!0x1);if(_0x48fdb9[_0x4d82df(0x5ad)](_0x38b646))throw _0x38b646[_0x4d82df(0x50f)];if(_0x48fdb9[_0x4d82df(0x5ad)](_0x13b69a))throw _0x13b69a['error'];_0x7c9b2c[_0x4d82df(0x49f)]({..._0x4feb6c[_0x4f7c8c],'undoState':_0x38b646[_0x4d82df(0x591)][_0x4d82df(0x25e)],'redoState':_0x13b69a[_0x4d82df(0x591)][_0x4d82df(0x25e)]}),_0x2a662f=_0x38b646[_0x4d82df(0x62e)],_0x1037d9=_0x13b69a[_0x4d82df(0x62e)];}_0x2a662f=_0x1330ba[_0x4d82df(0x23b)][_0x4d82df(0x579)](_0x32f299[_0x4d82df(0x1f3)][0x0]),_0x1037d9=_0x1330ba[_0x4d82df(0x23b)][_0x4d82df(0x579)](_0x32f299['mutations'][0x0]);for(let _0x220177=_0xe798bd[_0x4d82df(0x422)]-0x1;_0x220177>=0x0;_0x220177--){const _0x4347df={'id':_0x4d82df(0x3d2),'params':{'unitId':_0xe798bd[_0x220177][_0x4d82df(0x643)],..._0xe798bd[_0x220177][_0x4d82df(0x31c)]}},_0x25ba63={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe798bd[_0x220177][_0x4d82df(0x643)],..._0xe798bd[_0x220177][_0x4d82df(0x685)]}},_0x44b480=this[_0x4d82df(0x621)][_0x4d82df(0x576)](_0x2a662f,_0x4347df,!0x1),_0x5beee6=this['_transformService'][_0x4d82df(0x576)](_0x1037d9,_0x25ba63,!0x1);if(_0x48fdb9[_0x4d82df(0x5ad)](_0x44b480))throw _0x44b480[_0x4d82df(0x50f)];if(_0x48fdb9['isTransformMutationFailure'](_0x5beee6))throw _0x5beee6[_0x4d82df(0x50f)];_0x1ae833[_0x4d82df(0x49f)]({..._0xe798bd[_0x220177],'undoState':_0x44b480['m2Prime'][_0x4d82df(0x25e)],'redoState':_0x5beee6[_0x4d82df(0x591)]['params']}),_0x2a662f=_0x44b480[_0x4d82df(0x62e)],_0x1037d9=_0x5beee6[_0x4d82df(0x62e)];}this[_0x4d82df(0x2de)][_0x4d82df(0x69e)](_0x11f6e0,{'history':_0x7c9b2c,'collaboration':_0x1ae833});}};_0x171291=_0x5e6295([_0x119e42(0x0,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x619)])),_0x119e42(0x1,_0x48fdb9[_0x3a00cb(0x38d)]),_0x119e42(0x2,_0x1330ba['Inject'](_0x2b18a1[_0x3a00cb(0x522)]))],_0x171291);function _0x4e2069(_0x157adb){const _0x16173d=_0x3a00cb;let _0x19357c='';for(const _0x1ee3b5 of _0x157adb){const {startOffset:_0x257aa4,endOffset:_0x4b55f6,isActive:_0xd76511,rangeType:_0x15825b,segmentId:_0x534b10,segmentPage:_0x40926b}=_0x1ee3b5;_0x19357c[_0x16173d(0x422)]&&(_0x19357c+=','),_0x19357c+=_0x257aa4+':'+_0x4b55f6+':'+(_0xd76511?'1':'0')+':'+_0x15825b+':'+_0x534b10+':'+_0x40926b;}return _0x19357c;}function _0x114f93(_0x54ddba){const _0x20bd32=_0x3a00cb,_0x4c1fdb=_0x54ddba[_0x20bd32(0x373)](','),_0x1c6e98=[];for(const _0x2b8cfc of _0x4c1fdb){const [_0x1f4742,_0x24e76b,_0x1c3dd8,_0x14d2de,_0x243e5f,_0x5edffc]=_0x2b8cfc[_0x20bd32(0x373)](':');_0x1c6e98[_0x20bd32(0x64d)]({'startOffset':Number(_0x1f4742),'endOffset':Number(_0x24e76b),'collapsed':_0x1f4742===_0x24e76b,'isActive':_0x1c3dd8==='1','rangeType':_0x14d2de===_0x1330ba[_0x20bd32(0x3c4)][_0x20bd32(0x531)]?_0x1330ba[_0x20bd32(0x3c4)]['TEXT']:_0x1330ba['DOC_RANGE_TYPE'][_0x20bd32(0x383)],'segmentId':typeof _0x243e5f=='string'?String(_0x243e5f):'','segmentPage':Number(_0x5edffc!=null?_0x5edffc:-0x1)});}return _0x1c6e98[_0x20bd32(0x585)](_0x25790b=>_0x25790b['isActive'])||(_0x1c6e98[0x0]['isActive']=!0x0),_0x1c6e98;}class _0x50bbdf extends _0x1330ba[_0x3a00cb(0x560)]{constructor(){const _0x33d9d4=_0x3a00cb;super(...arguments),_0x2eb009(this,_0x33d9d4(0x467),new _0x1eddba[(_0x33d9d4(0x332))](null)),_0x2eb009(this,_0x33d9d4(0x51f),this[_0x33d9d4(0x467)][_0x33d9d4(0x518)]());}['syncEditingCollabCursor'](_0x286f65){const _0x45445a=_0x3a00cb,{unitID:_0x50ebd5,memberID:_0x209200,textRanges:_0x147ef8}=_0x286f65,_0x32e831=_0x4e2069(_0x147ef8);if(_0x32e831==='')return;const _0x16b84a={'unitID':_0x50ebd5,'memberID':_0x209200,'selection':_0x32e831};this[_0x45445a(0x467)][_0x45445a(0x2d5)](_0x16b84a);}}var _0x34b69c=Object[_0x3a00cb(0x43c)],_0x56d642=Object[_0x3a00cb(0x637)],_0x575308=(_0x5cbeb2,_0xdea6ee,_0x2a3a9e,_0x2764af)=>{const _0x5324bd=_0x3a00cb;for(var _0x465da7=_0x2764af>0x1?void 0x0:_0x2764af?_0x56d642(_0xdea6ee,_0x2a3a9e):_0xdea6ee,_0x110497=_0x5cbeb2[_0x5324bd(0x422)]-0x1,_0x1f5f42;_0x110497>=0x0;_0x110497--)(_0x1f5f42=_0x5cbeb2[_0x110497])&&(_0x465da7=(_0x2764af?_0x1f5f42(_0xdea6ee,_0x2a3a9e,_0x465da7):_0x1f5f42(_0x465da7))||_0x465da7);return _0x2764af&&_0x465da7&&_0x34b69c(_0xdea6ee,_0x2a3a9e,_0x465da7),_0x465da7;},_0x2b6853=(_0x1b457a,_0x566825)=>(_0xc7ae99,_0x53b631)=>_0x566825(_0xc7ae99,_0x53b631,_0x1b457a);let _0x178312=class{constructor(_0x15849b,_0x3e55f2){const _0x31995c=_0x3a00cb;this[_0x31995c(0x226)]=_0x15849b,this['_transformService']=_0x3e55f2;}[_0x3a00cb(0x4f4)](_0x5c3b0d){const _0x561a6e=_0x3a00cb;var _0x495b80;const _0x322d5d=this[_0x561a6e(0x226)][_0x561a6e(0x4bf)](_0x522f9c['DocSelectionManagerService']),_0x2ca431=(_0x495b80=_0x322d5d[_0x561a6e(0x3b9)]())!=null?_0x495b80:[];if(_0x2ca431[_0x561a6e(0x422)]===0x0)return;const _0x2835ac=_0x5c3b0d[_0x561a6e(0x36f)],_0xaf308a=[{'id':_0x561a6e(0x3d2),'params':{'unitId':_0x2835ac,'actions':null,'textRanges':_0x2ca431}}],_0x5a1774=this[_0x561a6e(0x621)][_0x561a6e(0x22e)](_0x5c3b0d,_0xaf308a);if(!_0x48fdb9[_0x561a6e(0x5a3)](_0x5a1774))throw _0x5a1774[_0x561a6e(0x50f)];const _0x547ead=_0x5a1774[_0x561a6e(0x591)][0x0]['params']['textRanges'];Array['isArray'](_0x547ead)&&_0x547ead[_0x561a6e(0x422)]&&_0x322d5d[_0x561a6e(0x55d)](_0x547ead,{'unitId':_0x2835ac,'subUnitId':_0x2835ac},!0x1);}};_0x178312=_0x575308([_0x2b6853(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2b6853(0x1,_0x48fdb9['ITransformService'])],_0x178312);const _0x370b1d=new Set([_0x5ca8f8[_0x3a00cb(0x35f)]['id']]);function _0x26607a(_0x42cae4,_0x31b806,_0x313b59,_0x5a0905,_0x108946){const _0x51fa9b=_0x3a00cb;var _0x45b891,_0x1682bb,_0x27b8d9,_0x4f4a04;const _0x22fbd0=[];for(const _0xf7c4c2 of _0x42cae4)if(_0x370b1d['has'](_0xf7c4c2['id'])){if(_0x22fbd0[_0x51fa9b(0x422)]>0x0)break;_0x22fbd0[_0x51fa9b(0x64d)](_0xf7c4c2);break;}else _0x22fbd0[_0x51fa9b(0x64d)](_0xf7c4c2);const _0x45a263=(_0x1682bb=(_0x45b891=_0x108946['getCurrentUser']())==null?void 0x0:_0x45b891[_0x51fa9b(0x362)])!=null?_0x1682bb:'unknown',_0x206fc5=(_0x4f4a04=(_0x27b8d9=_0x108946[_0x51fa9b(0x3bb)]())==null?void 0x0:_0x27b8d9[_0x51fa9b(0x284)])!=null?_0x4f4a04:_0x51fa9b(0x35e);return{'changeset':{'unitID':_0x31b806,'type':_0x48fdb9['mapDocumentTypeToUniverType'](_0x313b59[_0x51fa9b(0x5a4)](_0x31b806)),'baseRev':_0x5a0905[_0x51fa9b(0x67d)](_0x31b806),'revision':0x0,'userID':_0x45a263,'memberID':_0x206fc5,'mutations':_0x22fbd0},'pendingMutations':_0x42cae4[_0x51fa9b(0x3e3)](_0x22fbd0[_0x51fa9b(0x422)])};}function _0x126dee(_0x331c48,_0x231d51,_0x117201,_0x585510,_0x3f7e08){const _0x264fc0=_0x3a00cb;var _0x2a41d1,_0x4c8e18,_0x32b2e4,_0x3ed694;const _0x59dd9c=[_0x331c48[_0x264fc0(0x626)]((_0x4ec32d,_0x1450ec)=>{const _0x5c0295=_0x264fc0;var _0xe8fd1b;const {id:_0x49c788}=_0x4ec32d,{id:_0x226fa6,type:_0x6bd414}=_0x1450ec,_0x18ce91=(_0xe8fd1b=_0x4ec32d[_0x5c0295(0x25e)])!=null?_0xe8fd1b:{'actions':null},_0x3e980f=_0x1450ec['params'];if(_0x49c788&&_0x49c788!==_0x226fa6)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x49c788+_0x5c0295(0x257)+_0x226fa6+'.');return{..._0x4ec32d,'id':_0x226fa6,'type':_0x6bd414,'params':{'unitId':_0x3e980f[_0x5c0295(0x643)],'textRanges':_0x3e980f[_0x5c0295(0x43b)],'actions':_0x1330ba[_0x5c0295(0x392)][_0x5c0295(0x6a2)](_0x18ce91[_0x5c0295(0x2da)],_0x3e980f['actions'])}};},{})],_0x1dafa8=(_0x4c8e18=(_0x2a41d1=_0x3f7e08[_0x264fc0(0x3bb)]())==null?void 0x0:_0x2a41d1['userID'])!=null?_0x4c8e18:_0x264fc0(0x35e),_0xc3cf9e=(_0x3ed694=(_0x32b2e4=_0x3f7e08['getCurrentUser']())==null?void 0x0:_0x32b2e4[_0x264fc0(0x284)])!=null?_0x3ed694:_0x264fc0(0x35e);return{'changeset':{'unitID':_0x231d51,'type':_0x48fdb9['mapDocumentTypeToUniverType'](_0x117201['getUnitType'](_0x231d51)),'baseRev':_0x585510[_0x264fc0(0x67d)](_0x231d51),'revision':0x0,'userID':_0x1dafa8,'memberID':_0xc3cf9e,'mutations':_0x59dd9c},'pendingMutations':[]};}function _0x5162da(_0x35e7aa,_0x2d2a0b){const _0x8e96bd=_0x3a00cb,_0x2da39b=new _0x1eddba['ReplaySubject'](0x1);return setTimeout(()=>_0x2da39b[_0x8e96bd(0x2d5)](_0x2d2a0b),_0x35e7aa),_0x2da39b['asObservable']()['pipe'](_0x1eddba[_0x8e96bd(0x5b1)](0x1));}const _0x3a0993={'id':_0x5ca8f8[_0x3a00cb(0x4eb)]['id'],'type':_0x1330ba[_0x3a00cb(0x5af)][_0x3a00cb(0x67a)],'params':{}};var _0x29ef75=Object[_0x3a00cb(0x43c)],_0x5a1884=Object[_0x3a00cb(0x637)],_0x238f2a=(_0x44e2fb,_0x400fc1,_0x1f99aa,_0x11c2e5)=>{const _0xd56474=_0x3a00cb;for(var _0x2923da=_0x11c2e5>0x1?void 0x0:_0x11c2e5?_0x5a1884(_0x400fc1,_0x1f99aa):_0x400fc1,_0x58e06a=_0x44e2fb[_0xd56474(0x422)]-0x1,_0x18e247;_0x58e06a>=0x0;_0x58e06a--)(_0x18e247=_0x44e2fb[_0x58e06a])&&(_0x2923da=(_0x11c2e5?_0x18e247(_0x400fc1,_0x1f99aa,_0x2923da):_0x18e247(_0x2923da))||_0x2923da);return _0x11c2e5&&_0x2923da&&_0x29ef75(_0x400fc1,_0x1f99aa,_0x2923da),_0x2923da;},_0x2a2229=(_0x3b82c7,_0x31ff1a)=>(_0x5535d4,_0x4162de)=>_0x31ff1a(_0x5535d4,_0x4162de,_0x3b82c7),_0x3650d6=(_0x5338c1=>(_0x5338c1['NOT_COLLAB']=_0x3a00cb(0x589),_0x5338c1[_0x3a00cb(0x56c)]=_0x3a00cb(0x2bf),_0x5338c1[_0x3a00cb(0x3d3)]=_0x3a00cb(0x49e),_0x5338c1[_0x3a00cb(0x318)]=_0x3a00cb(0x514),_0x5338c1[_0x3a00cb(0x68f)]=_0x3a00cb(0x3ad),_0x5338c1['FETCH_MISS']=_0x3a00cb(0x2cd),_0x5338c1[_0x3a00cb(0x23a)]='conflict',_0x5338c1[_0x3a00cb(0x395)]=_0x3a00cb(0x43a),_0x5338c1))(_0x3650d6||{});const _0x532c45=0xea60;class _0x4d6ab6{constructor(_0x50e29f,_0x11d0b4,_0x389f33,_0x4aaba9,_0xda4997,_0x376c77,_0x4efae1,_0x21d68d,_0x3f6ada){const _0x4deb44=_0x3a00cb;_0x2eb009(this,'_awaitingChangeset',null),_0x2eb009(this,_0x4deb44(0x5b9),[]),(this[_0x4deb44(0x36f)]=_0x50e29f,this[_0x4deb44(0x651)]=_0x11d0b4,this['_handler']=_0xda4997,this[_0x4deb44(0x660)]=_0x376c77,this['_undoRedoService']=_0x4efae1,this['_revisionService']=_0x21d68d,this[_0x4deb44(0x55f)]=_0x3f6ada,this[_0x4deb44(0x4da)]=_0x389f33,this['_pendingMutations']=_0x4aaba9);}[_0x3a00cb(0x520)](_0x5c25ec){const _0x59889b=_0x3a00cb,_0x32e953=this[_0x59889b(0x4d7)]['getCurrentRevOfUnit'](this['unitID']);return _0x5c25ec[_0x59889b(0x496)]>_0x32e953+0x1?(this[_0x59889b(0x1f4)][_0x59889b(0x54a)]({'from':_0x32e953,'to':_0x5c25ec[_0x59889b(0x496)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x19c23a){const _0x2c2a25=_0x3a00cb;this['_undoRedoService'][_0x2c2a25(0x222)](this[_0x2c2a25(0x36f)],_0x19c23a);}[_0x3a00cb(0x62d)](_0x5c283c){const _0x5dd300=_0x3a00cb;var _0x5b9f09,_0x3163b4;(_0x3163b4=(_0x5b9f09=this[_0x5dd300(0x1f4)])['onTransformSelections'])==null||_0x3163b4[_0x5dd300(0x42b)](_0x5b9f09,_0x5c283c);}[_0x3a00cb(0x2ed)](_0x735196){const _0x45f66d=_0x3a00cb;var _0x3e0625,_0x3b4b93;return(_0x3b4b93=(_0x3e0625=this[_0x45f66d(0x1f4)])['onTransformIME'])==null?void 0x0:_0x3b4b93[_0x45f66d(0x42b)](_0x3e0625,_0x735196);}[_0x3a00cb(0x27c)](_0x49ca7e){const _0x420d6b=_0x3a00cb;var _0x437aff,_0x16a492;return(_0x16a492=(_0x437aff=this['_handler'])[_0x420d6b(0x5d9)])==null?void 0x0:_0x16a492['call'](_0x437aff,_0x49ca7e);}[_0x3a00cb(0x689)](_0x54bbc7){const _0x34362f=_0x3a00cb;var _0x5666d7,_0x42ef9e,_0x19bb46;return(_0x19bb46=(_0x42ef9e=(_0x5666d7=this[_0x34362f(0x1f4)])[_0x34362f(0x48e)])==null?void 0x0:_0x42ef9e[_0x34362f(0x42b)](_0x5666d7,_0x54bbc7))!=null?_0x19bb46:_0x54bbc7;}[_0x3a00cb(0x51c)](_0x4e8aa2){const _0x379f2a=_0x3a00cb;var _0x4e93ce,_0x197189,_0x50fc32;return(_0x50fc32=(_0x197189=(_0x4e93ce=this[_0x379f2a(0x1f4)])[_0x379f2a(0x57b)])==null?void 0x0:_0x197189[_0x379f2a(0x42b)](_0x4e93ce,_0x4e8aa2))!=null?_0x50fc32:_0x4e8aa2;}[_0x3a00cb(0x201)](_0x439406){const _0x1fdb90=_0x3a00cb;var _0x51f057,_0x1e27fa;if(this[_0x1fdb90(0x651)]===_0x2d6857[_0x1fdb90(0x65c)]){const {unitID:_0x380ac8,mutations:_0x459e27,memberID:_0x45ed0f}=_0x439406,_0x99a60c=_0x459e27[0x0][_0x1fdb90(0x25e)]['textRanges'];Array[_0x1fdb90(0x519)](_0x99a60c)&&_0x99a60c['length']>0x0&&((_0x1e27fa=(_0x51f057=this[_0x1fdb90(0x1f4)])[_0x1fdb90(0x363)])==null||_0x1e27fa[_0x1fdb90(0x42b)](_0x51f057,{'unitID':_0x380ac8,'memberID':_0x45ed0f,'textRanges':_0x99a60c}));}}[_0x3a00cb(0x5bf)](){const _0x174210=_0x3a00cb;this[_0x174210(0x55f)][_0x174210(0x517)](this[_0x174210(0x36f)],this[_0x174210(0x651)],this[_0x174210(0x4da)],this['_pendingMutations']);}[_0x3a00cb(0x1f9)](){const _0x24173f=_0x3a00cb;return this['_revisionService'][_0x24173f(0x67d)](this['unitID']);}[_0x3a00cb(0x5df)](){const _0x29343f=_0x3a00cb;this[_0x29343f(0x4d7)][_0x29343f(0x2a1)](this[_0x29343f(0x36f)]);}[_0x3a00cb(0x59e)](_0x5d2be7){const _0x46acf7=_0x3a00cb;var _0x127e7e;let _0x49f562=this[_0x46acf7(0x689)](_0x5d2be7);_0x49f562=this[_0x46acf7(0x51c)](_0x49f562);const _0x58c1af=_0x1330ba[_0x46acf7(0x400)](_0x49f562[_0x46acf7(0x1f3)],this[_0x46acf7(0x660)],{'fromCollab':!0x0});if(!_0x58c1af['result'])throw _0x58c1af[_0x46acf7(0x50f)]instanceof Error?_0x58c1af[_0x46acf7(0x50f)]:new Error((_0x127e7e=_0x58c1af[_0x46acf7(0x50f)])!=null?_0x127e7e:_0x46acf7(0x693));this[_0x46acf7(0x2ed)](_0x49f562),this['_transformStateCache'](_0x49f562),this[_0x46acf7(0x251)](_0x5d2be7),this[_0x46acf7(0x62d)](_0x49f562),this[_0x46acf7(0x201)](_0x49f562),this[_0x46acf7(0x5df)]();}}let _0x57bfd0=class extends _0x4d6ab6{constructor(_0xa19f83,_0x1f516e,_0x2f20df,_0x25c6ab,_0x5721f1,_0x45108d,_0x6a70ad,_0x5cc3a0,_0x1fda5b,_0x4e87f7){const _0x71c4cf=_0x3a00cb;super(_0xa19f83,_0x1f516e,null,[],_0x2f20df,_0x5cc3a0,_0x6a70ad,_0x25c6ab,_0x5721f1),_0x2eb009(this,_0x71c4cf(0x2aa),_0x71c4cf(0x2bf)),(this['_injector']=_0x45108d,this[_0x71c4cf(0x405)]=_0x1fda5b,this[_0x71c4cf(0x621)]=_0x4e87f7);}[_0x3a00cb(0x2f1)](_0x2d5163){const _0x7de6ed=_0x3a00cb,_0xa3bff6=this[_0x7de6ed(0x226)][_0x7de6ed(0x578)](_0x397b47,this['unitID'],this[_0x7de6ed(0x651)],[_0x2d5163],this[_0x7de6ed(0x1f4)]);return _0xa3bff6[_0x7de6ed(0x5b4)](),_0xa3bff6[_0x7de6ed(0x5bf)](),_0xa3bff6;}[_0x3a00cb(0x688)](_0x5824ab){const _0x4acbf3=_0x3a00cb;if(this[_0x4acbf3(0x520)](_0x5824ab))return this[_0x4acbf3(0x226)][_0x4acbf3(0x578)](_0x3611df,this[_0x4acbf3(0x36f)],this[_0x4acbf3(0x651)],null,[],null,[_0x5824ab],this[_0x4acbf3(0x1f4)]);try{const _0x198231=this['_transformService'][_0x4acbf3(0x22e)](_0x5824ab,[_0x3a0993]);if(_0x48fdb9['isTransformMutationsWithChangesetSuccess'](_0x198231)){const {c1Prime:_0x555f99}=_0x198231;return this[_0x4acbf3(0x59e)](_0x555f99),this;}throw _0x198231[_0x4acbf3(0x50f)];}catch(_0x20e85a){return this[_0x4acbf3(0x405)][_0x4acbf3(0x50f)](_0x20e85a),this[_0x4acbf3(0x2f3)](!0x1);}}['_onConflict'](_0x204f24){const _0x15972e=_0x3a00cb;return this['_injector'][_0x15972e(0x578)](_0x421c63,this[_0x15972e(0x36f)],this['type'],null,[],this['_handler'],_0x204f24);}[_0x3a00cb(0x3b5)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3a00cb(0x345)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3a00cb(0x3f9)](){const _0x38c443=_0x3a00cb;return this[_0x38c443(0x226)][_0x38c443(0x578)](_0x1b1d39,this['unitID'],this[_0x38c443(0x651)],null,[],this['_handler']);}[_0x3a00cb(0x242)](){return this;}['resend'](){const _0x4e21f3=_0x3a00cb;throw new Error(_0x4e21f3(0x55e));}[_0x3a00cb(0x310)](){const _0x2eba25=_0x3a00cb,_0x52b688=this[_0x2eba25(0x4d7)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x2eba25(0x1f4)][_0x2eba25(0x54a)]({'from':_0x52b688,'to':0x0}),this[_0x2eba25(0x226)]['createInstance'](_0x3611df,this['unitID'],this[_0x2eba25(0x651)],null,[],null,[],this[_0x2eba25(0x1f4)]);}};_0x57bfd0=_0x238f2a([_0x2a2229(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9['RevisionService'])),_0x2a2229(0x4,_0x1330ba['Inject'](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2a2229(0x6,_0x1330ba['IUndoRedoService']),_0x2a2229(0x7,_0x1330ba['ICommandService']),_0x2a2229(0x8,_0x1330ba['ILogService']),_0x2a2229(0x9,_0x48fdb9[_0x3a00cb(0x38d)])],_0x57bfd0);let _0x397b47=class extends _0x4d6ab6{constructor(_0x276a59,_0x4149fc,_0xfe918,_0xa4493a,_0x4a906f,_0x1bc97a,_0x5effb0,_0x4cbdc9,_0x5542d9,_0x5b9b29,_0x4306fe,_0x4c1f0a,_0x434192,_0x5dcfbb){const _0x212ba6=_0x3a00cb;super(_0x276a59,_0x4149fc,null,_0xfe918,_0xa4493a,_0x5b9b29,_0x5dcfbb,_0x1bc97a,_0x5effb0),_0x2eb009(this,_0x212ba6(0x2aa),'pending'),_0x2eb009(this,_0x212ba6(0x205),null),_0x2eb009(this,_0x212ba6(0x2cc),null),(this[_0x212ba6(0x226)]=_0x4a906f,this[_0x212ba6(0x529)]=_0x4cbdc9,this['_logService']=_0x5542d9,this['_configService']=_0x4306fe,this['_transformService']=_0x4c1f0a,this[_0x212ba6(0x227)]=_0x434192);}[_0x3a00cb(0x2f1)](_0x56542d){const _0x60aa26=_0x3a00cb;return this[_0x60aa26(0x5b9)][_0x60aa26(0x64d)](_0x56542d),this[_0x60aa26(0x5bf)](),this;}[_0x3a00cb(0x688)](_0x360e67){const _0x1be342=_0x3a00cb;if(this[_0x1be342(0x520)](_0x360e67))return this[_0x1be342(0x445)](),this[_0x1be342(0x226)][_0x1be342(0x578)](_0x3611df,this[_0x1be342(0x36f)],this['type'],null,this[_0x1be342(0x5b9)],null,[_0x360e67],this[_0x1be342(0x1f4)]);try{const _0x5ded03=this['_transformService']['transformMutationsWithChangeset'](_0x360e67,this[_0x1be342(0x5b9)]);if(_0x48fdb9[_0x1be342(0x5a3)](_0x5ded03)){const {c1Prime:_0x279dc6,m2Prime:_0x29eefd}=_0x5ded03;this['_executeRemoteChangeset'](_0x279dc6);const _0x235ea3=this[_0x1be342(0x226)][_0x1be342(0x578)](_0x397b47,this[_0x1be342(0x36f)],this[_0x1be342(0x651)],_0x29eefd,this[_0x1be342(0x1f4)]);return this[_0x1be342(0x445)](),_0x235ea3[_0x1be342(0x5b4)](this[_0x1be342(0x205)]?Math[_0x1be342(0x387)](0x0,new Date()[_0x1be342(0x1e6)]()-this['_scheduleTimestamp']):this[_0x1be342(0x653)]()),_0x235ea3;}throw _0x5ded03[_0x1be342(0x50f)];}catch(_0x57f02f){return this[_0x1be342(0x405)][_0x1be342(0x50f)](_0x57f02f),this[_0x1be342(0x2f3)](!0x1);}}['onRemoteAck'](){const _0x597cce=_0x3a00cb;throw new Error(_0x597cce(0x4d9));}[_0x3a00cb(0x345)](){const _0x1acedd=_0x3a00cb;throw new Error(_0x1acedd(0x3ed));}[_0x3a00cb(0x53c)](){return this;}[_0x3a00cb(0x3f9)](){const _0xb59a82=_0x3a00cb;return this[_0xb59a82(0x445)](),this[_0xb59a82(0x226)][_0xb59a82(0x578)](_0x1b1d39,this['unitID'],this[_0xb59a82(0x651)],null,this[_0xb59a82(0x5b9)],this[_0xb59a82(0x1f4)]);}[_0x3a00cb(0x242)](){return this;}[_0x3a00cb(0x5b4)](_0x5dd3bf){const _0x19f67a=_0x3a00cb,_0x4a34b9=_0x5dd3bf!=null?_0x5dd3bf:this[_0x19f67a(0x653)]();this['_scheduleTimestamp']=new Date()[_0x19f67a(0x1e6)](),this[_0x19f67a(0x2cc)]=window[_0x19f67a(0x64c)](()=>{const _0x184fe6=_0x19f67a;this['_clearScheduledTask']();let _0x5562ae=null;switch(this['type']){case _0x2d6857[_0x184fe6(0x3b6)]:{_0x5562ae=_0x26607a(this[_0x184fe6(0x5b9)],this[_0x184fe6(0x36f)],this[_0x184fe6(0x227)],this[_0x184fe6(0x4d7)],this[_0x184fe6(0x529)]);break;}case _0x2d6857['UNIVER_DOC']:{this[_0x184fe6(0x5b9)]['every'](_0x299b58=>_0x299b58['id']===_0x522f9c[_0x184fe6(0x48b)]['id'])?_0x5562ae=_0x126dee(this[_0x184fe6(0x5b9)],this[_0x184fe6(0x36f)],this[_0x184fe6(0x227)],this['_revisionService'],this[_0x184fe6(0x529)]):_0x5562ae=_0x26607a(this[_0x184fe6(0x5b9)],this['unitID'],this[_0x184fe6(0x227)],this[_0x184fe6(0x4d7)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x184fe6(0x651)]+_0x184fe6(0x2ad));}const {changeset:_0x412910,pendingMutations:_0xa56980}=_0x5562ae;this[_0x184fe6(0x1f4)]['onSendChangeset'](_0x412910);const _0x3ff350=_0xa56980['length']?this[_0x184fe6(0x226)][_0x184fe6(0x578)](_0x41da33,this[_0x184fe6(0x36f)],this['type'],_0x412910,_0xa56980,this[_0x184fe6(0x1f4)],void 0x0):this[_0x184fe6(0x226)][_0x184fe6(0x578)](_0xff5715,this[_0x184fe6(0x36f)],this[_0x184fe6(0x651)],_0x412910,this[_0x184fe6(0x1f4)]);_0x3ff350['_updateLocalCache'](),this[_0x184fe6(0x1f4)][_0x184fe6(0x430)](this,_0x3ff350);},_0x4a34b9);}[_0x3a00cb(0x653)](){const _0x1b27a8=_0x3a00cb;var _0x3364a0;const _0x1714ab=this[_0x1b27a8(0x4ce)][_0x1b27a8(0x4fc)](_0x37cfeb);return(_0x3364a0=_0x1714ab==null?void 0x0:_0x1714ab[_0x1b27a8(0x42d)])!=null?_0x3364a0:0x7d0;}['resend'](){const _0x29e5ed=_0x3a00cb;throw new Error(_0x29e5ed(0x33d));}['_clearScheduledTask'](){const _0x447342=_0x3a00cb;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x447342(0x2cc)]=null);}[_0x3a00cb(0x2f3)](_0x19402f){const _0x20e4db=_0x3a00cb;return this[_0x20e4db(0x445)](),this[_0x20e4db(0x226)][_0x20e4db(0x578)](_0x421c63,this[_0x20e4db(0x36f)],this[_0x20e4db(0x651)],null,this[_0x20e4db(0x5b9)],this['_handler'],_0x19402f);}};_0x397b47=_0x238f2a([_0x2a2229(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['Injector'])),_0x2a2229(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x2a2229(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0x7,_0x1330ba['Inject'](_0x5aeb12[_0x3a00cb(0x624)])),_0x2a2229(0x8,_0x1330ba[_0x3a00cb(0x57c)]),_0x2a2229(0x9,_0x1330ba[_0x3a00cb(0x5fc)]),_0x2a2229(0xa,_0x1330ba['IConfigService']),_0x2a2229(0xb,_0x48fdb9['ITransformService']),_0x2a2229(0xc,_0x1330ba[_0x3a00cb(0x5ce)]),_0x2a2229(0xd,_0x1330ba[_0x3a00cb(0x21e)])],_0x397b47);let _0xff5715=class extends _0x4d6ab6{constructor(_0x760af1,_0x437fe5,_0x596197,_0x4bb08a,_0x397492,_0x5951d5,_0x4ca9e7,_0x4e6f07,_0x2929a6,_0x1c39d6,_0x4a7a8e){const _0x348c54=_0x3a00cb;super(_0x760af1,_0x437fe5,_0x596197,[],_0x4bb08a,_0x4e6f07,_0x4a7a8e,_0x5951d5,_0x4ca9e7),_0x2eb009(this,_0x348c54(0x2aa),'awaiting'),_0x2eb009(this,_0x348c54(0x220),0x0),_0x2eb009(this,_0x348c54(0x327)),_0x2eb009(this,'_sender'),(this[_0x348c54(0x226)]=_0x397492,this['_logService']=_0x2929a6,this['_transformService']=_0x1c39d6);}[_0x3a00cb(0x2f1)](_0x5a11f8){const _0x53dffa=_0x3a00cb;this[_0x53dffa(0x445)]();const _0x179fac=this[_0x53dffa(0x226)][_0x53dffa(0x578)](_0x41da33,this[_0x53dffa(0x36f)],this[_0x53dffa(0x651)],this[_0x53dffa(0x4da)],[_0x5a11f8],this[_0x53dffa(0x1f4)],this['_resendTimer']);return _0x179fac['_updateLocalCache'](),_0x179fac;}['onRemoteChangeset'](_0x5e4a97){const _0x563a29=_0x3a00cb;if(this[_0x563a29(0x520)](_0x5e4a97))return this[_0x563a29(0x445)](),this[_0x563a29(0x226)]['createInstance'](_0x3611df,this[_0x563a29(0x36f)],this[_0x563a29(0x651)],this[_0x563a29(0x4da)],[],null,[_0x5e4a97],this[_0x563a29(0x1f4)]);try{const _0x43f754=this[_0x563a29(0x621)]['transformChangesets']([_0x5e4a97],[this[_0x563a29(0x4da)]],!0x1);if(_0x48fdb9['isTransformChangesetsSuccess'](_0x43f754)){const {c1Prime:_0x10b15e,c2Prime:_0x271d47}=_0x43f754;this[_0x563a29(0x59e)](_0x10b15e[0x0]),_0x271d47[0x0][_0x563a29(0x61a)]=this['_getCurrentRevision'](),this[_0x563a29(0x445)]();const _0x43650a=this[_0x563a29(0x226)][_0x563a29(0x578)](_0xff5715,this[_0x563a29(0x36f)],this[_0x563a29(0x651)],_0x271d47[0x0],this[_0x563a29(0x1f4)]);return _0x43650a[_0x563a29(0x5bf)](),_0x43650a;}return this[_0x563a29(0x2f3)](!0x1);}catch(_0x27c4a0){return this[_0x563a29(0x405)]['error'](_0x27c4a0),this[_0x563a29(0x2f3)](!0x1);}}['onRemoteAck'](_0x55b6d6){const _0x4b100f=_0x3a00cb;this[_0x4b100f(0x445)]();const _0x3430b2=this[_0x4b100f(0x4d7)]['getCurrentRevOfUnit'](this[_0x4b100f(0x36f)]);if(_0x55b6d6[_0x4b100f(0x496)]<_0x3430b2-0x1)return this;if(this[_0x4b100f(0x520)](_0x55b6d6))return this[_0x4b100f(0x226)]['createInstance'](_0x3611df,this['unitID'],this[_0x4b100f(0x651)],null,[],this[_0x4b100f(0x4da)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x567c50=this[_0x4b100f(0x226)][_0x4b100f(0x578)](_0x57bfd0,this['unitID'],this[_0x4b100f(0x651)],this['_handler']);return _0x567c50[_0x4b100f(0x5bf)](),_0x567c50;}['onRemoteRej'](_0x46f177){const _0x11308c=_0x3a00cb;return this[_0x11308c(0x2f3)](!!(_0x46f177!=null&&_0x46f177[_0x11308c(0x33c)]));}[_0x3a00cb(0x53c)](_0x27aa28){const _0x26193b=_0x3a00cb;return this[_0x26193b(0x220)]>_0x532c45?this['toggleOffline']():(this['_resendTimer']=_0x5162da(this[_0x26193b(0x220)],{'timeout':this[_0x26193b(0x220)],'reqId':_0x27aa28[_0x26193b(0x339)]}),this[_0x26193b(0x381)]=this['_resendTimer'][_0x26193b(0x21f)](({reqId:_0x29915d,timeout:_0x128eb1})=>{const _0x2be725=_0x26193b;this[_0x2be725(0x5fa)](_0x29915d,_0x128eb1);}),this);}[_0x3a00cb(0x3f9)](){const _0x1e3198=_0x3a00cb;return this[_0x1e3198(0x445)](),this['_injector'][_0x1e3198(0x578)](_0x1b1d39,this[_0x1e3198(0x36f)],this[_0x1e3198(0x651)],this['_awaitingChangeset'],[],this['_handler']);}[_0x3a00cb(0x242)](){return this;}['resend'](){const _0x5e57d4=_0x3a00cb;this[_0x5e57d4(0x1f4)][_0x5e57d4(0x2f6)](this['_awaitingChangeset']);}[_0x3a00cb(0x2f3)](_0x3f7b7c){const _0x4bbb11=_0x3a00cb;return this[_0x4bbb11(0x445)](),this[_0x4bbb11(0x226)][_0x4bbb11(0x578)](_0x421c63,this[_0x4bbb11(0x36f)],this[_0x4bbb11(0x651)],this[_0x4bbb11(0x4da)],[],this[_0x4bbb11(0x1f4)],_0x3f7b7c);}[_0x3a00cb(0x5fa)](_0x1112a4,_0x563e31){const _0x5ada7b=_0x3a00cb;var _0x54d500;_0x1112a4===((_0x54d500=this['_awaitingChangeset'])==null?void 0x0:_0x54d500['reqId'])&&(this[_0x5ada7b(0x29c)](),this[_0x5ada7b(0x220)]=_0x563e31===0x0?0x3e8:_0x563e31*0x2);}[_0x3a00cb(0x445)](){const _0x5494b8=_0x3a00cb;var _0x28630e;(_0x28630e=this['_sender'])==null||_0x28630e[_0x5494b8(0x281)](),this[_0x5494b8(0x220)]=0x0;}};_0xff5715=_0x238f2a([_0x2a2229(0x4,_0x1330ba['Inject'](_0x1330ba['Injector'])),_0x2a2229(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9['RevisionService'])),_0x2a2229(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0x7,_0x1330ba[_0x3a00cb(0x5fc)]),_0x2a2229(0x8,_0x1330ba[_0x3a00cb(0x57c)]),_0x2a2229(0x9,_0x48fdb9[_0x3a00cb(0x38d)]),_0x2a2229(0xa,_0x1330ba['IUndoRedoService'])],_0xff5715);let _0x41da33=class extends _0x4d6ab6{constructor(_0xe53f12,_0x254461,_0x355c8c,_0x10ac7c,_0x45103b,_0x42751c,_0x520f79,_0x187dc6,_0x34607b,_0x8ee2d9,_0x377227,_0xa0e037,_0x52eb2b){const _0x1773c5=_0x3a00cb;super(_0xe53f12,_0x254461,_0x355c8c,_0x10ac7c,_0x45103b,_0x8ee2d9,_0x52eb2b,_0x187dc6,_0x34607b),_0x2eb009(this,_0x1773c5(0x2aa),'awaiting_with_pending'),_0x2eb009(this,'_resendTimeout',0x0),_0x2eb009(this,_0x1773c5(0x327)),_0x2eb009(this,_0x1773c5(0x381)),(this['_injector']=_0x520f79,this[_0x1773c5(0x405)]=_0x377227,this[_0x1773c5(0x621)]=_0xa0e037,_0x42751c&&(this[_0x1773c5(0x327)]=_0x42751c,this['_sender']=this['_resendTimer'][_0x1773c5(0x21f)](({reqId:_0xf6fd97,timeout:_0x43b272})=>{const _0x33fe41=_0x1773c5;this[_0x33fe41(0x5fa)](_0xf6fd97,_0x43b272);})));}['appendMutation'](_0x3c0982){const _0x2ee904=_0x3a00cb;return this[_0x2ee904(0x5b9)][_0x2ee904(0x64d)](_0x3c0982),this;}[_0x3a00cb(0x688)](_0x4a9641){const _0x218cc1=_0x3a00cb;if(this[_0x218cc1(0x520)](_0x4a9641))return this[_0x218cc1(0x445)](),this[_0x218cc1(0x226)]['createInstance'](_0x3611df,this[_0x218cc1(0x36f)],this[_0x218cc1(0x651)],this[_0x218cc1(0x4da)],this[_0x218cc1(0x5b9)],null,[_0x4a9641],this[_0x218cc1(0x1f4)]);try{const _0x323bff=this[_0x218cc1(0x621)][_0x218cc1(0x271)]([_0x4a9641],[this[_0x218cc1(0x4da)]],!0x1);if(_0x48fdb9[_0x218cc1(0x54d)](_0x323bff)){const {c1Prime:_0x580b48,c2Prime:_0x3d73a3}=_0x323bff,_0x1e1f5a=this['_transformService'][_0x218cc1(0x22e)](_0x580b48[0x0],this[_0x218cc1(0x5b9)]);if(_0x48fdb9[_0x218cc1(0x5a3)](_0x1e1f5a)){const {c1Prime:_0x233ddc,m2Prime:_0x1ade06}=_0x1e1f5a;return this[_0x218cc1(0x59e)](_0x233ddc),_0x3d73a3[0x0][_0x218cc1(0x61a)]=this[_0x218cc1(0x1f9)](),this['_clearScheduledTask'](),this[_0x218cc1(0x226)]['createInstance'](_0x41da33,this[_0x218cc1(0x36f)],this[_0x218cc1(0x651)],_0x3d73a3[0x0],_0x1ade06,this[_0x218cc1(0x1f4)],void 0x0);}throw _0x1e1f5a[_0x218cc1(0x50f)];}throw _0x323bff[_0x218cc1(0x50f)];}catch(_0x22a27a){return this[_0x218cc1(0x405)][_0x218cc1(0x50f)](_0x22a27a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4f77d1){const _0x416390=_0x3a00cb;if(this[_0x416390(0x445)](),this['_checkMissing'](_0x4f77d1))return this[_0x416390(0x226)][_0x416390(0x578)](_0x3611df,this[_0x416390(0x36f)],this[_0x416390(0x651)],null,this[_0x416390(0x5b9)],this[_0x416390(0x4da)],[],this[_0x416390(0x1f4)]);this['_incrementRevisionNumber']();const _0x5ac80d=this[_0x416390(0x226)][_0x416390(0x578)](_0x397b47,this[_0x416390(0x36f)],this['type'],this['_pendingMutations'],this[_0x416390(0x1f4)]);return _0x5ac80d[_0x416390(0x5b4)](),_0x5ac80d[_0x416390(0x5bf)](),_0x5ac80d;}[_0x3a00cb(0x345)](_0x20a06){const _0x26a417=_0x3a00cb;return this['_onConflict'](!!(_0x20a06!=null&&_0x20a06[_0x26a417(0x33c)]));}[_0x3a00cb(0x53c)](_0x1b88b8){const _0x393569=_0x3a00cb;return this['_resendTimeout']>_0x532c45?this[_0x393569(0x3f9)]():(this[_0x393569(0x327)]=_0x5162da(this['_resendTimeout'],{'timeout':this[_0x393569(0x220)],'reqId':_0x1b88b8[_0x393569(0x339)]}),this[_0x393569(0x381)]=this[_0x393569(0x327)][_0x393569(0x21f)](({reqId:_0x396563,timeout:_0x114676})=>{const _0x561d66=_0x393569;this[_0x561d66(0x5fa)](_0x396563,_0x114676);}),this);}[_0x3a00cb(0x3f9)](){const _0x5ac27d=_0x3a00cb;return this[_0x5ac27d(0x445)](),this['_injector']['createInstance'](_0x1b1d39,this[_0x5ac27d(0x36f)],this[_0x5ac27d(0x651)],this['_awaitingChangeset'],this[_0x5ac27d(0x5b9)],this[_0x5ac27d(0x1f4)]);}['toggleOnline'](){return this;}[_0x3a00cb(0x29c)](){const _0x2e3906=_0x3a00cb;this[_0x2e3906(0x1f4)][_0x2e3906(0x2f6)](this[_0x2e3906(0x4da)]);}[_0x3a00cb(0x2f3)](_0x31acd9){const _0x2acf80=_0x3a00cb;return this[_0x2acf80(0x445)](),this[_0x2acf80(0x226)]['createInstance'](_0x421c63,this[_0x2acf80(0x36f)],this[_0x2acf80(0x651)],null,this[_0x2acf80(0x5b9)],this[_0x2acf80(0x1f4)],_0x31acd9);}['_resendWithTimeout'](_0x1a5c86,_0x5ce570){const _0x251ec4=_0x3a00cb;var _0x2f98d3;_0x1a5c86===((_0x2f98d3=this[_0x251ec4(0x4da)])==null?void 0x0:_0x2f98d3['reqId'])&&(this[_0x251ec4(0x29c)](),this[_0x251ec4(0x220)]=_0x5ce570===0x0?0x3e8:_0x5ce570*0x2);}['_clearScheduledTask'](){const _0x1376bc=_0x3a00cb;var _0x20a055;(_0x20a055=this[_0x1376bc(0x381)])==null||_0x20a055[_0x1376bc(0x281)](),this[_0x1376bc(0x220)]=0x0;}};_0x41da33=_0x238f2a([_0x2a2229(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2a2229(0x7,_0x1330ba['Inject'](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x2a2229(0x8,_0x1330ba['Inject'](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0x9,_0x1330ba['ICommandService']),_0x2a2229(0xa,_0x1330ba[_0x3a00cb(0x57c)]),_0x2a2229(0xb,_0x48fdb9[_0x3a00cb(0x38d)]),_0x2a2229(0xc,_0x1330ba[_0x3a00cb(0x21e)])],_0x41da33);let _0x421c63=class extends _0x4d6ab6{constructor(_0x5d6182,_0x4be39a,_0xc52ec0,_0x4fb418,_0x1d169c,_0x2e2853=!0x1,_0x4e5074,_0x28eb04,_0x2efc94,_0x4e4bdf,_0x3bb699,_0x39b07a,_0x53e469){const _0x45aeb2=_0x3a00cb;super(_0x5d6182,_0x4be39a,_0xc52ec0,_0x4fb418,_0x1d169c,_0x28eb04,_0x2efc94,_0x3bb699,_0x4e4bdf),_0x2eb009(this,_0x45aeb2(0x2aa),_0x45aeb2(0x263)),(this[_0x45aeb2(0x3a1)]=_0x2e2853,this[_0x45aeb2(0x44b)]=_0x4e5074,this[_0x45aeb2(0x1f7)]=_0x39b07a,this['_notificationService']=_0x53e469,this['_showConflictNotification'](),this[_0x45aeb2(0x344)](),this[_0x45aeb2(0x298)]());}[_0x3a00cb(0x2f1)](){return this;}['onRemoteChangeset'](){return this;}[_0x3a00cb(0x3b5)](){return this;}['onRemoteRej'](){return this;}[_0x3a00cb(0x53c)](){return this;}[_0x3a00cb(0x3f9)](){return this;}[_0x3a00cb(0x242)](){return this;}[_0x3a00cb(0x29c)](){const _0x2936f8=_0x3a00cb;throw new Error(_0x2936f8(0x438));}[_0x3a00cb(0x344)](){const _0x41e1ce=_0x3a00cb;this['_localCacheService']['updateOfflineData'](this[_0x41e1ce(0x36f)],this['type'],null,[]);}[_0x3a00cb(0x475)](){const _0x27d518=_0x3a00cb;this[_0x27d518(0x3a1)]?this[_0x27d518(0x412)][_0x27d518(0x4d8)]({'title':this['_localeService']['t'](_0x27d518(0x656)),'content':this['_localeService']['t'](_0x27d518(0x5ec)),'type':_0x27d518(0x50f),'duration':0x0}):this[_0x27d518(0x412)][_0x27d518(0x4d8)]({'title':this[_0x27d518(0x1f7)]['t'](_0x27d518(0x3c0)),'content':this[_0x27d518(0x1f7)]['t']('conflict.content'),'type':_0x27d518(0x50f),'duration':0x0});}[_0x3a00cb(0x298)](){const _0x114f3b=_0x3a00cb;this[_0x114f3b(0x44b)][_0x114f3b(0x50b)](new _0x5ca8f8['WorkbookEditablePermission'](this[_0x114f3b(0x36f)])['id'],!0x1);}};_0x421c63=_0x238f2a([_0x2a2229(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x511)])),_0x2a2229(0x7,_0x1330ba[_0x3a00cb(0x5fc)]),_0x2a2229(0x8,_0x1330ba[_0x3a00cb(0x21e)]),_0x2a2229(0x9,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12['LocalCacheService'])),_0x2a2229(0xa,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9['RevisionService'])),_0x2a2229(0xb,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x627)])),_0x2a2229(0xc,_0x5d5dd2['INotificationService'])],_0x421c63);let _0x1b1d39=class extends _0x4d6ab6{constructor(_0x82d815,_0x4e0a29,_0x44f2d4,_0x5849fe,_0x3b58bd,_0x35ee0f,_0x16c874,_0x4425d0,_0x5dd1a3,_0x4f28e8){const _0x447b28=_0x3a00cb;super(_0x82d815,_0x4e0a29,_0x44f2d4,_0x5849fe,_0x3b58bd,_0x5dd1a3,_0x4f28e8,_0x16c874,_0x4425d0),_0x2eb009(this,_0x447b28(0x2aa),_0x447b28(0x43a)),this[_0x447b28(0x226)]=_0x35ee0f;}[_0x3a00cb(0x2f1)](_0x50ded0){const _0x104983=_0x3a00cb;return this[_0x104983(0x5b9)]['push'](_0x50ded0),this[_0x104983(0x5bf)](),this;}[_0x3a00cb(0x688)](_0x15d75c){const _0x4cf292=_0x3a00cb;throw new Error(_0x4cf292(0x679));}[_0x3a00cb(0x3b5)](){const _0x15c48d=_0x3a00cb;throw new Error(_0x15c48d(0x320));}[_0x3a00cb(0x345)](){const _0x4a95e1=_0x3a00cb;throw new Error(_0x4a95e1(0x57e));}['onRemoteRetry'](){return this;}[_0x3a00cb(0x3f9)](){return this;}['toggleOnline'](){const _0x403998=_0x3a00cb,{_injector:_0x823501,_pendingMutations:_0x1d750e,_awaitingChangeset:_0x553df3,unitID:_0x3b15e4,_handler:_0x17dcb0,type:_0x319322}=this,_0x1cf66b=_0xe1542d(_0x823501,_0x3b15e4,_0x319322,_0x553df3,_0x1d750e,_0x17dcb0);return _0x1cf66b instanceof _0x397b47?_0x1cf66b[_0x403998(0x5b4)]():(_0x1cf66b instanceof _0x41da33||_0x1cf66b instanceof _0xff5715)&&_0x1cf66b[_0x403998(0x29c)](),_0x1cf66b;}['resend'](){const _0xd62c13=_0x3a00cb;throw new Error(_0xd62c13(0x583));}};_0x1b1d39=_0x238f2a([_0x2a2229(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2a2229(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9['RevisionService'])),_0x2a2229(0x7,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0x8,_0x1330ba[_0x3a00cb(0x5fc)]),_0x2a2229(0x9,_0x1330ba['IUndoRedoService'])],_0x1b1d39);let _0x3611df=class extends _0x4d6ab6{constructor(_0x3aa36b,_0xaed767,_0x698aa3,_0x4fc0a3,_0x329fda,_0x4266b3,_0x114a6f,_0x2a9dc5,_0x3e7025,_0x4fa694,_0x5218a6,_0x3801d4,_0x4ad031,_0x369fea){const _0x59a0d4=_0x3a00cb;super(_0x3aa36b,_0xaed767,_0x698aa3,_0x4fc0a3,_0x114a6f,_0x3801d4,_0x4ad031,_0x3e7025,_0x4fa694),_0x2eb009(this,'status','fetch_missing'),(this[_0x59a0d4(0x23e)]=_0x329fda,this[_0x59a0d4(0x613)]=_0x4266b3,this[_0x59a0d4(0x226)]=_0x2a9dc5,this['_logService']=_0x5218a6,this[_0x59a0d4(0x621)]=_0x369fea);}[_0x3a00cb(0x39c)](_0x124409){const _0xe2ecce=_0x3a00cb;try{const _0x8d8b1=[..._0x124409,...this[_0xe2ecce(0x613)]],_0x5126af=[this['_awaitingChangeset']||this[_0xe2ecce(0x23e)]][_0xe2ecce(0x40e)](_0x417cbc=>!!_0x417cbc);let _0x6adf08,_0x5c0bab;if(_0x5126af[_0xe2ecce(0x422)]){const _0x570abe=this[_0xe2ecce(0x621)][_0xe2ecce(0x271)](_0x8d8b1,_0x5126af,!0x1);if(!_0x48fdb9[_0xe2ecce(0x54d)](_0x570abe))throw _0x570abe[_0xe2ecce(0x50f)];_0x6adf08=_0x570abe[_0xe2ecce(0x4c2)],_0x5c0bab=_0x570abe[_0xe2ecce(0x3a0)];}else _0x6adf08=_0x8d8b1,_0x5c0bab=[];let _0x49fd4e=this[_0xe2ecce(0x5b9)];_0x6adf08[_0xe2ecce(0x303)](_0x4a91f4=>{const _0x1f97bb=_0xe2ecce;let _0x5f70ac;if(_0x49fd4e[_0x1f97bb(0x422)]){const _0x3a0d9d=this[_0x1f97bb(0x621)][_0x1f97bb(0x22e)](_0x4a91f4,_0x49fd4e);if(!_0x48fdb9[_0x1f97bb(0x5a3)](_0x3a0d9d))throw _0x3a0d9d[_0x1f97bb(0x50f)];_0x5f70ac=_0x3a0d9d[_0x1f97bb(0x4c2)],_0x49fd4e=_0x3a0d9d[_0x1f97bb(0x591)];}else _0x5f70ac=_0x4a91f4;this[_0x1f97bb(0x59e)](_0x5f70ac);}),this[_0xe2ecce(0x23e)]&&this[_0xe2ecce(0x5df)](),this[_0xe2ecce(0x4da)]&&_0x5c0bab[_0xe2ecce(0x422)]&&(_0x5c0bab[0x0]['baseRev']=this[_0xe2ecce(0x1f9)]());let _0x2cda3e;if(this[_0xe2ecce(0x4da)]&&_0x49fd4e[_0xe2ecce(0x422)]!==0x0)_0x2cda3e=this['_injector']['createInstance'](_0x41da33,this[_0xe2ecce(0x36f)],this[_0xe2ecce(0x651)],_0x5c0bab[0x0],_0x49fd4e,this['_handler'],void 0x0);else{if(this[_0xe2ecce(0x4da)]&&_0x49fd4e['length']===0x0)_0x5c0bab[0x0][_0xe2ecce(0x61a)]=this['_getCurrentRevision'](),_0x2cda3e=this[_0xe2ecce(0x226)][_0xe2ecce(0x578)](_0xff5715,this[_0xe2ecce(0x36f)],this[_0xe2ecce(0x651)],_0x5c0bab[0x0],this[_0xe2ecce(0x1f4)]);else{if(_0x49fd4e[_0xe2ecce(0x422)]!==0x0){const _0x3cc3db=this[_0xe2ecce(0x226)][_0xe2ecce(0x578)](_0x397b47,this['unitID'],this[_0xe2ecce(0x651)],_0x49fd4e,this[_0xe2ecce(0x1f4)]);_0x3cc3db[_0xe2ecce(0x5b4)](),_0x2cda3e=_0x3cc3db;}else _0x2cda3e=this[_0xe2ecce(0x226)][_0xe2ecce(0x578)](_0x57bfd0,this[_0xe2ecce(0x36f)],this['type'],this['_handler']);}}return _0x2cda3e['_updateLocalCache'](),_0x2cda3e;}catch(_0x3cd1f2){return this[_0xe2ecce(0x405)]['error'](_0xe2ecce(0x269),_0xe2ecce(0x31e),_0x3cd1f2),this['_injector'][_0xe2ecce(0x578)](_0x421c63,this[_0xe2ecce(0x36f)],this[_0xe2ecce(0x651)],this[_0xe2ecce(0x4da)],this[_0xe2ecce(0x5b9)],this[_0xe2ecce(0x1f4)],!0x1);}}[_0x3a00cb(0x29c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x42c166){const _0x28940a=_0x3a00cb;return this[_0x28940a(0x5b9)][_0x28940a(0x64d)](_0x42c166),this;}[_0x3a00cb(0x688)](_0x572606){const _0x53a32c=_0x3a00cb;return this[_0x53a32c(0x613)][_0x53a32c(0x64d)](_0x572606),this;}[_0x3a00cb(0x3b5)](_0x1ddcb5){const _0x1d90b4=_0x3a00cb;if(this[_0x1d90b4(0x4da)])return this[_0x1d90b4(0x23e)]=this[_0x1d90b4(0x4da)],this[_0x1d90b4(0x4da)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3a00cb(0x345)](_0x93e3ee){const _0x21c2df=_0x3a00cb;return this[_0x21c2df(0x2f3)](!!(_0x93e3ee!=null&&_0x93e3ee[_0x21c2df(0x33c)]));}[_0x3a00cb(0x53c)](){return this;}[_0x3a00cb(0x3f9)](){const _0x5b2242=_0x3a00cb;return this[_0x5b2242(0x226)]['createInstance'](_0x1b1d39,this['unitID'],this[_0x5b2242(0x651)],this['_awaitingChangeset'],this[_0x5b2242(0x5b9)],this[_0x5b2242(0x1f4)]);}[_0x3a00cb(0x242)](){return this;}[_0x3a00cb(0x2f3)](_0x121d0c){const _0x5b722b=_0x3a00cb;return this[_0x5b722b(0x226)][_0x5b722b(0x578)](_0x421c63,this['unitID'],this[_0x5b722b(0x651)],this[_0x5b722b(0x4da)],this[_0x5b722b(0x5b9)],this['_handler'],_0x121d0c);}};_0x3611df=_0x238f2a([_0x2a2229(0x7,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2a2229(0x8,_0x1330ba['Inject'](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x2a2229(0x9,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x2a2229(0xa,_0x1330ba['ILogService']),_0x2a2229(0xb,_0x1330ba['ICommandService']),_0x2a2229(0xc,_0x1330ba[_0x3a00cb(0x21e)]),_0x2a2229(0xd,_0x48fdb9[_0x3a00cb(0x38d)])],_0x3611df);function _0xe1542d(_0x1a1f17,_0x5dcf69,_0x52fdfb,_0x409c4c,_0x507121,_0x1d3a90){const _0x280173=_0x3a00cb;return _0x409c4c&&_0x507121['length']?_0x1a1f17[_0x280173(0x578)](_0x41da33,_0x5dcf69,_0x52fdfb,_0x409c4c,_0x507121,_0x1d3a90,void 0x0):_0x409c4c?_0x1a1f17[_0x280173(0x578)](_0xff5715,_0x5dcf69,_0x52fdfb,_0x409c4c,_0x1d3a90):_0x507121[_0x280173(0x422)]?_0x1a1f17['createInstance'](_0x397b47,_0x5dcf69,_0x52fdfb,_0x507121,_0x1d3a90):_0x1a1f17['createInstance'](_0x57bfd0,_0x5dcf69,_0x52fdfb,_0x1d3a90);}var _0x2eb11e=Object['defineProperty'],_0x1cbef3=Object['getOwnPropertyDescriptor'],_0x43de74=(_0x4c4575,_0x1f46c8,_0x12c4f8,_0xd8f944)=>{const _0x2984f8=_0x3a00cb;for(var _0x57ef09=_0xd8f944>0x1?void 0x0:_0xd8f944?_0x1cbef3(_0x1f46c8,_0x12c4f8):_0x1f46c8,_0x17487=_0x4c4575[_0x2984f8(0x422)]-0x1,_0x7dd3d0;_0x17487>=0x0;_0x17487--)(_0x7dd3d0=_0x4c4575[_0x17487])&&(_0x57ef09=(_0xd8f944?_0x7dd3d0(_0x1f46c8,_0x12c4f8,_0x57ef09):_0x7dd3d0(_0x57ef09))||_0x57ef09);return _0xd8f944&&_0x57ef09&&_0x2eb11e(_0x1f46c8,_0x12c4f8,_0x57ef09),_0x57ef09;},_0x230620=(_0x117e19,_0x38053d)=>(_0x19fbc6,_0x335b05)=>_0x38053d(_0x19fbc6,_0x335b05,_0x117e19);_0x5aeb12[_0x3a00cb(0x32c)]=class extends _0x1330ba['RxDisposable']{constructor(_0xd2cce7,_0x2c7f90,_0x251602,_0x3d1376,_0x293496,_0x420b54,_0x105d7f,_0x1ff7ef,_0x2e11c8,_0x4c5d90,_0x1cc986,_0x554a2d,_0x3f4f4e){const _0xe848e8=_0x3a00cb;super(),_0x2eb009(this,'_state$',new _0x1eddba[(_0xe848e8(0x332))](null)),_0x2eb009(this,_0xe848e8(0x2e9),this['_state$']['asObservable']()),_0x2eb009(this,_0xe848e8(0x5c6)),_0x2eb009(this,_0xe848e8(0x340),!0x1),_0x2eb009(this,_0xe848e8(0x2b3),''),_0x2eb009(this,'_changesetReqId',0x0),_0x2eb009(this,'status$',this[_0xe848e8(0x2e9)][_0xe848e8(0x3a2)](_0x1eddba['map'](_0x4a94c9=>_0x4a94c9?_0x4a94c9[_0xe848e8(0x2aa)]:_0x3650d6['OFFLINE']),_0x1eddba[_0xe848e8(0x26e)](0x1))),_0x2eb009(this,_0xe848e8(0x465),!0x1),_0x2eb009(this,'_remoteChangesetQueue',[]),(this[_0xe848e8(0x36f)]=_0xd2cce7,this[_0xe848e8(0x36e)]=_0x2c7f90,this[_0xe848e8(0x31f)]=_0x251602,this[_0xe848e8(0x226)]=_0x3d1376,this[_0xe848e8(0x55f)]=_0x293496,this['_compressMutationService']=_0x420b54,this['_localeService']=_0x105d7f,this[_0xe848e8(0x4d7)]=_0x1ff7ef,this['_logService']=_0x2e11c8,this[_0xe848e8(0x660)]=_0x4c5d90,this['_messageService']=_0x1cc986,this[_0xe848e8(0x44b)]=_0x554a2d,this[_0xe848e8(0x44d)]=_0x3f4f4e);}get[_0x3a00cb(0x365)](){const _0x5b7bbf=_0x3a00cb;return this[_0x5b7bbf(0x5c6)];}async[_0x3a00cb(0x447)](){const _0x48cc21=_0x3a00cb;if(this[_0x48cc21(0x365)])throw new Error(_0x48cc21(0x5ca));await this[_0x48cc21(0x663)]();}[_0x3a00cb(0x4fb)](){const _0x56ab2d=_0x3a00cb;return this[_0x56ab2d(0x340)]=!0x0,_0x1330ba[_0x56ab2d(0x256)](()=>{const _0x2e4b28=_0x56ab2d;this[_0x2e4b28(0x340)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3a00cb(0x5b8)](_0x41fc6d){const _0x2c5fdb=_0x3a00cb;this[_0x2c5fdb(0x5c6)]=_0x41fc6d,this['_state$'][_0x2c5fdb(0x2d5)](_0x41fc6d);}async[_0x3a00cb(0x663)](){const _0x191d2e=_0x3a00cb;var _0x5ad7d8;this['_updateState'](await this[_0x191d2e(0x489)]()),this['_singleActiveUnitService']&&((_0x5ad7d8=this['_singleActiveUnitService'])==null||_0x5ad7d8[_0x191d2e(0x5e0)](this['unitID']),this[_0x191d2e(0x63e)](this[_0x191d2e(0x44d)][_0x191d2e(0x301)](this[_0x191d2e(0x36f)])[_0x191d2e(0x21f)](_0x28d81a=>{const _0x7ac19e=_0x191d2e;this[_0x7ac19e(0x405)]['debug'](_0x7ac19e(0x66d),_0x7ac19e(0x453),_0x28d81a),_0x28d81a===_0x2022fa[_0x7ac19e(0x376)]?(this[_0x7ac19e(0x239)][_0x7ac19e(0x4d8)]({'content':this[_0x7ac19e(0x1f7)]['t'](_0x7ac19e(0x4c4)),'type':_0x5934c8[_0x7ac19e(0x543)][_0x7ac19e(0x40c)]}),this[_0x7ac19e(0x44b)][_0x7ac19e(0x50b)](new _0x5ca8f8[(_0x7ac19e(0x59d))](this[_0x7ac19e(0x36f)])['id'],!0x1),this['_permissionService'][_0x7ac19e(0x4fa)](!0x1)):(this[_0x7ac19e(0x44b)]['updatePermissionPoint'](new _0x5ca8f8['WorkbookEditablePermission'](this[_0x7ac19e(0x36f)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x43443d=!0x1;return this[_0x191d2e(0x63e)](this[_0x191d2e(0x36e)][_0x191d2e(0x5f6)][_0x191d2e(0x21f)](_0x37a288=>{const _0x30a438=_0x191d2e;_0x37a288===_0x1164b5[_0x30a438(0x695)]?this[_0x30a438(0x505)](_0x43443d):_0x37a288===_0x1164b5[_0x30a438(0x395)]&&(_0x43443d=!0x0,this['_toggleOffline']());})),this[_0x191d2e(0x63e)](this['session'][_0x191d2e(0x4a7)][_0x191d2e(0x21f)](_0x4722bb=>{const _0x4582fc=_0x191d2e;try{switch(_0x4722bb['eventID']){case _0x48fdb9[_0x4582fc(0x3de)][_0x4582fc(0x49c)]:{this[_0x4582fc(0x393)](_0x48fdb9[_0x4582fc(0x2a6)](_0x4722bb['data']));break;}case _0x48fdb9[_0x4582fc(0x3de)][_0x4582fc(0x41c)]:{this[_0x4582fc(0x559)](_0x4722bb[_0x4582fc(0x36b)]);break;}case _0x48fdb9[_0x4582fc(0x3de)][_0x4582fc(0x45c)]:{this[_0x4582fc(0x47d)]();break;}case _0x48fdb9[_0x4582fc(0x3de)][_0x4582fc(0x4dc)]:{this['_onRemoteRetry'](_0x4722bb[_0x4582fc(0x36b)]);break;}case _0x48fdb9[_0x4582fc(0x3de)][_0x4582fc(0x28b)]:{this[_0x4582fc(0x2fb)](_0x4722bb[_0x4582fc(0x36b)][_0x4582fc(0x291)][_0x4582fc(0x568)](_0x35885c=>_0x48fdb9[_0x4582fc(0x2a6)](_0x35885c)));break;}case _0x48fdb9['CollaborationEvent'][_0x4582fc(0x2d2)]:this[_0x4582fc(0x47d)]({'isPermissionRej':!0x0});}}catch(_0xee9620){throw console['error']('Error\x20on\x20receiving\x20event',_0xee9620),_0xee9620;}})),this[_0x191d2e(0x5c6)];}[_0x3a00cb(0x530)](){const _0x2d48da=_0x3a00cb;this[_0x2d48da(0x465)]=!0x1;}[_0x3a00cb(0x41d)](){const _0x5f563d=_0x3a00cb;if(this[_0x5f563d(0x465)])throw new Error(_0x5f563d(0x300));this[_0x5f563d(0x465)]=!0x0;}[_0x3a00cb(0x680)](_0x5dd5ca){const _0x551fb6=_0x3a00cb;this[_0x551fb6(0x41d)](),this[_0x551fb6(0x5b8)](this[_0x551fb6(0x5c6)][_0x551fb6(0x2f1)](_0x5dd5ca)),this[_0x551fb6(0x530)]();}[_0x3a00cb(0x393)](_0x2b8666){const _0x336d1c=_0x3a00cb;if(!(_0x2b8666[_0x336d1c(0x496)]<=this[_0x336d1c(0x4d7)]['getCurrentRevOfUnit'](this[_0x336d1c(0x36f)]))){if(this[_0x336d1c(0x340)]){this[_0x336d1c(0x534)][_0x336d1c(0x64d)](_0x2b8666);return;}this[_0x336d1c(0x3c3)](_0x2b8666);}}[_0x3a00cb(0x4a1)](){const _0x295f22=_0x3a00cb;this[_0x295f22(0x534)][_0x295f22(0x303)](_0x1aac13=>this['_applyRemoteChangeset'](_0x1aac13)),this['_remoteChangesetQueue']=[];}[_0x3a00cb(0x3c3)](_0x1d52ab){const _0x53ef52=_0x3a00cb,_0x569575=this['_compressMutationService'][_0x53ef52(0x48c)]['fetchThroughInterceptors'](this[_0x53ef52(0x56f)][_0x53ef52(0x48c)][_0x53ef52(0x35d)]()[_0x53ef52(0x5f4)])(_0x1d52ab[_0x53ef52(0x1f3)],null)||_0x1d52ab[_0x53ef52(0x1f3)],_0x172921={..._0x1d52ab,'mutations':_0x569575};this[_0x53ef52(0x41d)](),this[_0x53ef52(0x5b8)](this[_0x53ef52(0x5c6)][_0x53ef52(0x688)](_0x172921)),this[_0x53ef52(0x530)]();}[_0x3a00cb(0x559)](_0x3913f2){const _0x3b33b9=_0x3a00cb;this[_0x3b33b9(0x41d)](),this['_updateState'](this[_0x3b33b9(0x5c6)][_0x3b33b9(0x3b5)](_0x3913f2)),this[_0x3b33b9(0x530)]();}[_0x3a00cb(0x47d)](_0x1fa9c0){const _0x1f1372=_0x3a00cb;this[_0x1f1372(0x41d)](),this[_0x1f1372(0x5b8)](this[_0x1f1372(0x5c6)][_0x1f1372(0x345)](_0x1fa9c0)),this['_unlockTransition']();}['_onRemoteRetry'](_0xe97d8e){const _0x510f0c=_0x3a00cb;this[_0x510f0c(0x41d)](),this[_0x510f0c(0x5b8)](this[_0x510f0c(0x5c6)][_0x510f0c(0x53c)](_0xe97d8e)),this[_0x510f0c(0x530)]();}[_0x3a00cb(0x2fb)](_0x12cf23){const _0x285860=_0x3a00cb;if(!(this[_0x285860(0x5c6)]instanceof _0x3611df))throw new TypeError(_0x285860(0x2cb));const _0x3f85fd=_0x12cf23[_0x285860(0x568)](_0x2396ec=>{const _0x40137c=_0x285860,_0xf3ebd3=this['_compressMutationService'][_0x40137c(0x48c)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x40137c(0x48c)][_0x40137c(0x35d)]()[_0x40137c(0x5f4)])(_0x2396ec['mutations'],null)||_0x2396ec['mutations'];return{..._0x2396ec,'mutations':_0xf3ebd3};});this[_0x285860(0x41d)](),this[_0x285860(0x5b8)](this[_0x285860(0x5c6)]['onMissedChangesetFetched'](_0x3f85fd)),this[_0x285860(0x530)]();}[_0x3a00cb(0x4ff)](){const _0x2e2e7f=_0x3a00cb;this[_0x2e2e7f(0x41d)](),this['_updateState'](this[_0x2e2e7f(0x5c6)][_0x2e2e7f(0x3f9)]()),this[_0x2e2e7f(0x530)]();}[_0x3a00cb(0x505)](_0x4ce5a2=!0x1){const _0x2ffa3b=_0x3a00cb;this[_0x2ffa3b(0x41d)](),this[_0x2ffa3b(0x5b8)](this[_0x2ffa3b(0x5c6)]['toggleOnline']()),this[_0x2ffa3b(0x530)]();const _0x1dad8a=this[_0x2ffa3b(0x5c6)];_0x4ce5a2&&_0x1dad8a instanceof _0x57bfd0&&(this[_0x2ffa3b(0x41d)](),this[_0x2ffa3b(0x5b8)](_0x1dad8a[_0x2ffa3b(0x310)]()),this[_0x2ffa3b(0x530)]());}async[_0x3a00cb(0x489)](){return new Promise(_0x587039=>{const _0x106b8e=_0x5f13;this[_0x106b8e(0x36e)][_0x106b8e(0x5f6)][_0x106b8e(0x3a2)](_0x1eddba['take'](0x1))[_0x106b8e(0x21f)](async _0x47308a=>{const _0x187632=_0x106b8e;_0x587039(await this['_createInitialStateImpl'](_0x47308a===_0x1164b5[_0x187632(0x695)]));});});}[_0x3a00cb(0x460)](){const _0x431d0a=_0x3a00cb,_0x4683e5=this[_0x431d0a(0x36f)];return{'onStateChange':(_0x40753c,_0x3f12d2)=>{const _0x3ec5b8=_0x431d0a;if(_0x40753c!==this[_0x3ec5b8(0x5c6)])throw new Error(_0x3ec5b8(0x28e)+_0x40753c[_0x3ec5b8(0x2aa)]+'\x0aAfter:\x20'+_0x3f12d2[_0x3ec5b8(0x2aa)]+_0x3ec5b8(0x516)+this[_0x3ec5b8(0x5c6)][_0x3ec5b8(0x2aa)]);this[_0x3ec5b8(0x5b8)](_0x3f12d2);},'onSendChangeset':_0x509616=>{const _0x42fdf2=_0x431d0a;_0x509616[_0x42fdf2(0x32a)]||(_0x509616['sid']=this[_0x42fdf2(0x2b3)],_0x509616[_0x42fdf2(0x339)]=++this[_0x42fdf2(0x27a)]);const _0x3ad22e={'eventID':_0x48fdb9[_0x42fdf2(0x3de)][_0x42fdf2(0x28d)],'data':{'unitID':_0x509616[_0x42fdf2(0x36f)],'unitType':this[_0x42fdf2(0x31f)],'changeset':_0x509616,'memberID':this[_0x42fdf2(0x36e)][_0x42fdf2(0x2a9)]()}};this[_0x42fdf2(0x36e)][_0x42fdf2(0x2f7)](_0x3ad22e,this[_0x42fdf2(0x36f)]);},'onMissingChangesets':({from:_0x4f3dd2,to:_0x9d1d85})=>{const _0x575179=_0x431d0a;this[_0x575179(0x405)]['debug']('[CollaborationEntity]',_0x575179(0x552)+_0x4f3dd2+_0x575179(0x587)+_0x9d1d85);const _0x26a7c4={'eventID':_0x48fdb9['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x4683e5,'unitType':this[_0x575179(0x31f)],'from':_0x4f3dd2,'to':_0x9d1d85}};this[_0x575179(0x36e)]['send'](_0x26a7c4,this[_0x575179(0x36f)]);}};}async[_0x3a00cb(0x4ef)](_0x541400){const _0x51b540=_0x3a00cb;var _0x1f3120,_0x52b762;const _0x405b1a=await this[_0x51b540(0x55f)][_0x51b540(0x1ff)](this[_0x51b540(0x36f)]),_0x586f9b=(_0x1f3120=_0x405b1a==null?void 0x0:_0x405b1a[_0x51b540(0x1f3)])!=null?_0x1f3120:[],_0x94a52b=(_0x52b762=_0x405b1a==null?void 0x0:_0x405b1a['awaitingChangeset'])!=null?_0x52b762:null,_0x35de71=!!(_0x94a52b!=null&&_0x94a52b[_0x51b540(0x32a)])&&!!(_0x94a52b!=null&&_0x94a52b[_0x51b540(0x339)]);this[_0x51b540(0x2b3)]=_0x35de71?_0x94a52b['sid']:_0x2b0a94(),this['_changesetReqId']=_0x35de71?_0x94a52b['reqId']:0x0;const _0x3cec78=this[_0x51b540(0x36f)];try{this[_0x51b540(0x612)](_0x94a52b,_0x586f9b);}catch(_0x3a449b){this[_0x51b540(0x405)]['error'](_0x3a449b);}const _0x195e03=this[_0x51b540(0x460)]();if(_0x541400){const _0x2d03b2=_0xe1542d(this['_injector'],_0x3cec78,this[_0x51b540(0x31f)],_0x94a52b,_0x586f9b,_0x195e03);return _0x2d03b2 instanceof _0x397b47?_0x2d03b2['_schedule']():(_0x2d03b2 instanceof _0x41da33||_0x2d03b2 instanceof _0xff5715)&&_0x2d03b2[_0x51b540(0x29c)](),_0x2d03b2;}return this[_0x51b540(0x226)][_0x51b540(0x578)](_0x1b1d39,_0x3cec78,this[_0x51b540(0x31f)],_0x94a52b,_0x586f9b,_0x195e03);}['_replayCachedMutations'](_0x33a27a,_0x2135a9){const _0x1ea433=_0x3a00cb;var _0x2fa072,_0x2f8c44;const _0x3f325a=this[_0x1ea433(0x56f)]['interceptor'][_0x1ea433(0x1ea)](this[_0x1ea433(0x56f)]['interceptor'][_0x1ea433(0x35d)]()[_0x1ea433(0x5f4)]);(_0x2fa072=_0x3f325a((_0x33a27a==null?void 0x0:_0x33a27a['mutations'])||[],null))==null||_0x2fa072[_0x1ea433(0x303)](_0x1179a8=>this['_commandService'][_0x1ea433(0x569)](_0x1179a8['id'],_0x1179a8[_0x1ea433(0x25e)])),(_0x2f8c44=_0x3f325a(_0x2135a9||[],null))==null||_0x2f8c44[_0x1ea433(0x303)](_0x39297d=>this[_0x1ea433(0x660)][_0x1ea433(0x569)](_0x39297d['id'],_0x39297d[_0x1ea433(0x25e)]));}},_0x5aeb12[_0x3a00cb(0x32c)]=_0x43de74([_0x230620(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x230620(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x230620(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9['CompressMutationService'])),_0x230620(0x6,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x627)])),_0x230620(0x7,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x230620(0x8,_0x1330ba[_0x3a00cb(0x57c)]),_0x230620(0x9,_0x1330ba[_0x3a00cb(0x5fc)]),_0x230620(0xa,_0x5d5dd2[_0x3a00cb(0x67b)]),_0x230620(0xb,_0x1330ba[_0x3a00cb(0x511)]),_0x230620(0xc,_0x1330ba[_0x3a00cb(0x67e)](_0x151dcb))],_0x5aeb12['CollaborationEntity']),_0x5aeb12[_0x3a00cb(0x4e3)]=class extends _0x5aeb12[_0x3a00cb(0x32c)]{constructor(_0x2b14b0,_0xc503e1,_0x194b24,_0x4fa421,_0x456dc0,_0x2faada,_0x516330,_0x41db72,_0x36f03f,_0x3ebcc2,_0x5d1735,_0x17d428,_0x55490d,_0x4ac43d,_0x5811f8,_0xe43eba,_0x188b38,_0x501558){const _0x52e94c=_0x3a00cb;super(_0x2b14b0,_0x194b24,_0xc503e1,_0x4fa421,_0x456dc0,_0x2faada,_0x516330,_0x41db72,_0x4ac43d,_0x5811f8,_0xe43eba,_0x188b38,_0x501558),this[_0x52e94c(0x36f)]=_0x2b14b0,this[_0x52e94c(0x651)]=_0xc503e1,this['_docStateChangeManagerService']=_0x36f03f,this['_docTransformIMECacheService']=_0x3ebcc2,this['_docTransformStateCacheService']=_0x5d1735,this['_docTransformSelectionsService']=_0x17d428,this[_0x52e94c(0x2db)]=_0x55490d;}[_0x3a00cb(0x460)](){const _0x253ab7=_0x3a00cb,_0x9a1899=super[_0x253ab7(0x460)]();return _0x9a1899[_0x253ab7(0x5f9)]=_0xecafdf=>this[_0x253ab7(0x48f)]['transformIMECache'](_0xecafdf),_0x9a1899[_0x253ab7(0x5d9)]=_0x142982=>this[_0x253ab7(0x455)][_0x253ab7(0x428)](_0x142982),_0x9a1899[_0x253ab7(0x497)]=_0xd4ca2a=>this[_0x253ab7(0x4f9)][_0x253ab7(0x4f4)](_0xd4ca2a),_0x9a1899[_0x253ab7(0x363)]=_0x311787=>this[_0x253ab7(0x2db)][_0x253ab7(0x510)](_0x311787),_0x9a1899[_0x253ab7(0x48e)]=_0x509ebd=>this['_docTransformIMECacheService'][_0x253ab7(0x368)](_0x509ebd),_0x9a1899['onTransformRemoteChangesetByStateCache']=_0x5d116c=>this['_docTransformStateCacheService'][_0x253ab7(0x368)](_0x5d116c),_0x9a1899;}async['_init'](){const _0x4d5eeb=_0x3a00cb,_0x59101b=await super[_0x4d5eeb(0x663)]();return this[_0x4d5eeb(0x2de)][_0x4d5eeb(0x326)][_0x4d5eeb(0x3a2)](_0x1eddba[_0x4d5eeb(0x28a)](this['dispose$']))[_0x4d5eeb(0x21f)](_0x1eabec=>{const _0x3b6559=_0x4d5eeb;if(_0x1eabec==null)return;const {unitId:_0x354c33,redoState:_0x1da469,commandId:_0x22c551}=_0x1eabec;if(_0x354c33!==this[_0x3b6559(0x36f)])return;const _0x57ebd9={'id':_0x22c551,'type':_0x1330ba[_0x3b6559(0x5af)][_0x3b6559(0x67a)],'params':{'unitId':_0x354c33,'actions':_0x1da469['actions'],'textRanges':null}};this[_0x3b6559(0x680)](_0x57ebd9);}),_0x59101b;}},_0x5aeb12[_0x3a00cb(0x4e3)]=_0x43de74([_0x230620(0x3,_0x1330ba['Inject'](_0x1330ba['Injector'])),_0x230620(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x230620(0x5,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9[_0x3a00cb(0x4ba)])),_0x230620(0x6,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x627)])),_0x230620(0x7,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x230620(0x8,_0x1330ba[_0x3a00cb(0x217)](_0x2b18a1['DocStateChangeManagerService'])),_0x230620(0x9,_0x1330ba['Inject'](_0x2b30d7)),_0x230620(0xa,_0x1330ba['Inject'](_0x171291)),_0x230620(0xb,_0x1330ba[_0x3a00cb(0x217)](_0x178312)),_0x230620(0xc,_0x1330ba['Inject'](_0x50bbdf)),_0x230620(0xd,_0x1330ba[_0x3a00cb(0x57c)]),_0x230620(0xe,_0x1330ba[_0x3a00cb(0x5fc)]),_0x230620(0xf,_0x5d5dd2[_0x3a00cb(0x67b)]),_0x230620(0x10,_0x1330ba[_0x3a00cb(0x511)]),_0x230620(0x11,_0x1330ba[_0x3a00cb(0x67e)](_0x151dcb))],_0x5aeb12[_0x3a00cb(0x4e3)]),_0x5aeb12['SheetCollaborationEntity']=class extends _0x5aeb12[_0x3a00cb(0x32c)]{constructor(_0x507a00,_0x4b9747,_0x51058f,_0x49616e,_0x5830c1,_0xb8702d,_0x35f19d,_0x290c34,_0x9ebde2,_0xdec215,_0x55c730,_0x20e9bb,_0x33bc2b,_0x43ed02){const _0x140a79=_0x3a00cb;super(_0x507a00,_0x51058f,_0x4b9747,_0x49616e,_0x5830c1,_0xb8702d,_0x35f19d,_0x290c34,_0xdec215,_0x55c730,_0x20e9bb,_0x33bc2b,_0x43ed02),this[_0x140a79(0x36f)]=_0x507a00,this[_0x140a79(0x651)]=_0x4b9747,this[_0x140a79(0x276)]=_0x9ebde2;}[_0x3a00cb(0x460)](){const _0x522039=_0x3a00cb,_0x215d45=super[_0x522039(0x460)]();return _0x215d45[_0x522039(0x497)]=_0x430283=>this[_0x522039(0x276)][_0x522039(0x4f4)](_0x430283),_0x215d45;}async['_init'](){const _0x964634=_0x3a00cb,_0x3660c8=await super[_0x964634(0x663)]();return this[_0x964634(0x63e)](this[_0x964634(0x660)][_0x964634(0x4ec)]((_0x29972b,_0x1893c6)=>{const _0x2687d8=_0x964634;if(_0x29972b[_0x2687d8(0x651)]!==_0x1330ba['CommandType'][_0x2687d8(0x67a)]||_0x1893c6!=null&&_0x1893c6['fromCollab']||_0x1893c6!=null&&_0x1893c6[_0x2687d8(0x63c)])return;const _0x59b560=_0x29972b[_0x2687d8(0x25e)];if((_0x59b560==null?void 0x0:_0x59b560[_0x2687d8(0x643)])!==this['unitID'])return;const _0x322ca1=_0x29972b,_0x4c499a=this[_0x2687d8(0x56f)]['interceptor'][_0x2687d8(0x1ea)](this[_0x2687d8(0x56f)][_0x2687d8(0x48c)]['getInterceptPoints']()[_0x2687d8(0x442)])([_0x322ca1],null)||[_0x322ca1];this[_0x2687d8(0x680)](_0x4c499a[0x0]);})),_0x3660c8;}},_0x5aeb12[_0x3a00cb(0x547)]=_0x43de74([_0x230620(0x3,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x619)])),_0x230620(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12['LocalCacheService'])),_0x230620(0x5,_0x1330ba['Inject'](_0x48fdb9[_0x3a00cb(0x4ba)])),_0x230620(0x6,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x627)])),_0x230620(0x7,_0x1330ba['Inject'](_0x48fdb9[_0x3a00cb(0x3a4)])),_0x230620(0x8,_0x1330ba['Inject'](_0x1a0834)),_0x230620(0x9,_0x1330ba[_0x3a00cb(0x57c)]),_0x230620(0xa,_0x1330ba[_0x3a00cb(0x5fc)]),_0x230620(0xb,_0x5d5dd2[_0x3a00cb(0x67b)]),_0x230620(0xc,_0x1330ba[_0x3a00cb(0x511)]),_0x230620(0xd,_0x1330ba[_0x3a00cb(0x67e)](_0x151dcb))],_0x5aeb12[_0x3a00cb(0x547)]);var _0xa5d360=Object[_0x3a00cb(0x43c)],_0x1815b3=Object['getOwnPropertyDescriptor'],_0x5c6df2=(_0x392648,_0x12521d,_0x2a2685,_0x134af2)=>{const _0x29ac85=_0x3a00cb;for(var _0x4830fd=_0x134af2>0x1?void 0x0:_0x134af2?_0x1815b3(_0x12521d,_0x2a2685):_0x12521d,_0x36f39f=_0x392648[_0x29ac85(0x422)]-0x1,_0x5aa5f5;_0x36f39f>=0x0;_0x36f39f--)(_0x5aa5f5=_0x392648[_0x36f39f])&&(_0x4830fd=(_0x134af2?_0x5aa5f5(_0x12521d,_0x2a2685,_0x4830fd):_0x5aa5f5(_0x4830fd))||_0x4830fd);return _0x134af2&&_0x4830fd&&_0xa5d360(_0x12521d,_0x2a2685,_0x4830fd),_0x4830fd;},_0x2d9c69=(_0x1bd0fd,_0x4a4fb3)=>(_0x20728b,_0x4f3bd6)=>_0x4a4fb3(_0x20728b,_0x4f3bd6,_0x1bd0fd);_0x5aeb12['CollaborationController']=class extends _0x1330ba[_0x3a00cb(0x560)]{constructor(_0x379a4e,_0x4339b1,_0x22c0e2){const _0x1485ee=_0x3a00cb;super(),_0x2eb009(this,_0x1485ee(0x274),new Map()),_0x2eb009(this,'_entityInit$',new _0x1eddba[(_0x1485ee(0x232))]()),(this[_0x1485ee(0x226)]=_0x379a4e,this[_0x1485ee(0x2ef)]=_0x4339b1,this[_0x1485ee(0x227)]=_0x22c0e2,this['_init']());}[_0x3a00cb(0x41f)](){const _0x364f9e=_0x3a00cb;super['dispose'](),this[_0x364f9e(0x274)][_0x364f9e(0x303)](_0x44cd95=>_0x44cd95[_0x364f9e(0x41f)]()),this['_entities'][_0x364f9e(0x229)]();}[_0x3a00cb(0x40d)](_0x3ca634){const _0x4b4525=_0x3a00cb;var _0x2d7467;return(_0x2d7467=this['_entities'][_0x4b4525(0x4bf)](_0x3ca634))!=null?_0x2d7467:null;}[_0x3a00cb(0x2c7)](_0x20a92b){const _0x4e5e8c=_0x3a00cb,_0x14599d=this['getCollabEntity'](_0x20a92b);return _0x14599d?_0x1eddba['of'](_0x14599d):this[_0x4e5e8c(0x5dd)][_0x4e5e8c(0x3a2)](_0xc13278[_0x4e5e8c(0x40e)](_0x1f93e3=>_0x1f93e3[_0x4e5e8c(0x36f)]===_0x20a92b));}['_init'](){const _0x438328=_0x3a00cb;this[_0x438328(0x227)][_0x438328(0x59c)](_0x1330ba[_0x438328(0x3ae)][_0x438328(0x3b6)])['pipe'](_0x1eddba['takeUntil'](this[_0x438328(0x2f0)]),_0xc13278[_0x438328(0x56b)](0x10))[_0x438328(0x21f)](async _0x377d54=>{const _0x16b6bd=_0x438328,_0x28b057=_0x377d54['getUnitId'](),_0x53bdd1=await this[_0x16b6bd(0x429)](_0x28b057,_0x2d6857[_0x16b6bd(0x3b6)]);this[_0x16b6bd(0x274)][_0x16b6bd(0x4cf)](_0x28b057,_0x53bdd1);}),this[_0x438328(0x227)]['getTypeOfUnitAdded$'](_0x1330ba[_0x438328(0x3ae)][_0x438328(0x65c)])['pipe'](_0x1eddba[_0x438328(0x28a)](this[_0x438328(0x2f0)]),_0xc13278[_0x438328(0x56b)](0x10))[_0x438328(0x3a2)](_0xc13278[_0x438328(0x40e)](_0x5c688e=>!_0x5c688e['getUnitId']()['startsWith']('__')))[_0x438328(0x21f)](async _0x3810c6=>{const _0x33671d=_0x438328,_0x5ba7fb=_0x3810c6[_0x33671d(0x259)](),_0xcd81b5=await this['_startCollaboration'](_0x5ba7fb,_0x2d6857['UNIVER_DOC']);this[_0x33671d(0x274)]['set'](_0x5ba7fb,_0xcd81b5);}),_0x1eddba['merge'](this[_0x438328(0x227)][_0x438328(0x655)](_0x1330ba[_0x438328(0x3ae)][_0x438328(0x3b6)]),this[_0x438328(0x227)][_0x438328(0x655)](_0x1330ba[_0x438328(0x3ae)][_0x438328(0x65c)]))[_0x438328(0x3a2)](_0x1eddba[_0x438328(0x28a)](this[_0x438328(0x2f0)]))[_0x438328(0x21f)](_0x10bd7a=>{const _0x5cb5b7=_0x438328,_0x5de0f5=_0x10bd7a[_0x5cb5b7(0x259)](),_0x49db84=this[_0x5cb5b7(0x274)][_0x5cb5b7(0x4bf)](_0x5de0f5);_0x49db84&&(_0x49db84[_0x5cb5b7(0x41f)](),this[_0x5cb5b7(0x274)][_0x5cb5b7(0x317)](_0x5de0f5));});}async[_0x3a00cb(0x429)](_0x52942f,_0x6ce258){const _0x21ef11=_0x3a00cb,_0x23eb55=await this[_0x21ef11(0x2ef)][_0x21ef11(0x673)](_0x52942f),_0x37f393=this[_0x21ef11(0x226)][_0x21ef11(0x578)](this['_getCtorByUniverType'](_0x6ce258),_0x52942f,_0x6ce258,_0x23eb55);return await _0x37f393['init'](),this[_0x21ef11(0x5dd)]['next'](_0x37f393),_0x37f393;}['_getCtorByUniverType'](_0x568e93){const _0x23014b=_0x3a00cb;switch(_0x568e93){case _0x2d6857['UNIVER_DOC']:return _0x5aeb12[_0x23014b(0x4e3)];case _0x2d6857[_0x23014b(0x3b6)]:return _0x5aeb12[_0x23014b(0x547)];default:throw new Error(_0x23014b(0x21c)+_0x568e93);}}},_0x5aeb12[_0x3a00cb(0x3d5)]=_0x5c6df2([_0x2d9c69(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x2d9c69(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x2c3)])),_0x2d9c69(0x2,_0x1330ba['IUniverInstanceService'])],_0x5aeb12[_0x3a00cb(0x3d5)]);const _0x47257d=[_0x3a00cb(0x431),'jiqing500','verdancy600','red300',_0x3a00cb(0x4ac),'gold400'];class _0x43760c extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(){const _0x25a0a3=_0x3a00cb;super(...arguments),_0x2eb009(this,_0x25a0a3(0x2d6),new Map()),_0x2eb009(this,_0x25a0a3(0x58e),0x0);}[_0x3a00cb(0x3ab)](_0x49c050){const _0x5d8e30=_0x3a00cb;if(this[_0x5d8e30(0x2d6)][_0x5d8e30(0x42a)](_0x49c050))return this[_0x5d8e30(0x2d6)][_0x5d8e30(0x4bf)](_0x49c050);const _0x5b11b7=_0x47257d[this[_0x5d8e30(0x58e)]];return this[_0x5d8e30(0x58e)]=(this['_colorIndex']+0x1)%_0x47257d[_0x5d8e30(0x422)],this[_0x5d8e30(0x2d6)]['set'](_0x49c050,_0x5b11b7),_0x5b11b7;}}var _0x59342c=Object[_0x3a00cb(0x43c)],_0x5e615f=Object[_0x3a00cb(0x637)],_0x1bae2d=(_0x44349d,_0x14122d,_0x119dea,_0x5f0b97)=>{const _0x22405b=_0x3a00cb;for(var _0xff6dcf=_0x5f0b97>0x1?void 0x0:_0x5f0b97?_0x5e615f(_0x14122d,_0x119dea):_0x14122d,_0x1ba23c=_0x44349d[_0x22405b(0x422)]-0x1,_0x2fe211;_0x1ba23c>=0x0;_0x1ba23c--)(_0x2fe211=_0x44349d[_0x1ba23c])&&(_0xff6dcf=(_0x5f0b97?_0x2fe211(_0x14122d,_0x119dea,_0xff6dcf):_0x2fe211(_0xff6dcf))||_0xff6dcf);return _0x5f0b97&&_0xff6dcf&&_0x59342c(_0x14122d,_0x119dea,_0xff6dcf),_0xff6dcf;},_0x44e1cf=(_0x9b341,_0x290478)=>(_0x213b6a,_0x32c1d6)=>_0x290478(_0x213b6a,_0x32c1d6,_0x9b341);const _0x157a55=0x12c,_0x914e06=0x64;let _0xa06d64=class extends _0x1330ba[_0x3a00cb(0x560)]{constructor(_0x5ea465,_0xa5b325,_0x3bf7d4,_0x253dd2,_0x26b11e,_0xe1805e,_0x58a966,_0x467eb7,_0x47daa4){const _0x218124=_0x3a00cb;super(),_0x2eb009(this,_0x218124(0x26a),!0x1),_0x2eb009(this,'_init',!0x1),_0x2eb009(this,_0x218124(0x3fc),new _0x1eddba['BehaviorSubject'](new Map())),_0x2eb009(this,'cursorInfo$',this['_cursorInfo$'][_0x218124(0x518)]()),_0x2eb009(this,'_roomMembers$',new _0x1eddba[(_0x218124(0x332))]([])),_0x2eb009(this,_0x218124(0x27b),this[_0x218124(0x3e5)][_0x218124(0x3a2)](_0x1eddba[_0x218124(0x391)](_0x157a55))),_0x2eb009(this,_0x218124(0x64f),_0x1330ba[_0x218124(0x567)](_0xf9587f=>{const _0x457f0f=_0x218124,_0x2c888f={'eventID':_0x48fdb9['CollaborationEvent'][_0x457f0f(0x5bd)],'data':{'unitID':this[_0x457f0f(0x36f)],'memberID':this[_0x457f0f(0x671)][_0x457f0f(0x2a9)](),'selection':_0x4e2069(_0xf9587f)}};this['_session'][_0x457f0f(0x2f7)](_0x2c888f,this[_0x457f0f(0x36f)]);},_0x914e06)),(this['unitID']=_0x5ea465,this['_session']=_0xa5b325,this[_0x218124(0x226)]=_0x3bf7d4,this['_colorAssignService']=_0x253dd2,this['_memberService']=_0x26b11e,this[_0x218124(0x526)]=_0xe1805e,this[_0x218124(0x621)]=_0x58a966,this[_0x218124(0x227)]=_0x467eb7,this[_0x218124(0x660)]=_0x47daa4);}get[_0x3a00cb(0x62a)](){const _0x48862c=_0x3a00cb;return this[_0x48862c(0x3fc)][_0x48862c(0x2e0)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3a00cb(0x41f)](){const _0x1dd68b=_0x3a00cb;super[_0x1dd68b(0x41f)](),this[_0x1dd68b(0x3fc)][_0x1dd68b(0x2d5)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1dd68b(0x3e5)][_0x1dd68b(0x2d5)]([]),this[_0x1dd68b(0x3e5)]['complete']();}['init'](){const _0x3086d7=_0x3a00cb;this['_init']||(this[_0x3086d7(0x663)]=!0x0,this[_0x3086d7(0x671)][_0x3086d7(0x5f6)][_0x3086d7(0x3a2)](_0x1eddba[_0x3086d7(0x28a)](this[_0x3086d7(0x2f0)]))['subscribe'](_0x514c76=>{const _0x300ab4=_0x3086d7;_0x514c76===_0x1164b5[_0x300ab4(0x695)]?this[_0x300ab4(0x505)]():this[_0x300ab4(0x4ff)]();}),this['_session']['event$'][_0x3086d7(0x3a2)](_0x1eddba[_0x3086d7(0x28a)](this[_0x3086d7(0x2f0)]))[_0x3086d7(0x21f)](_0x539234=>{const _0x30f0d4=_0x3086d7,_0x338b69=_0x539234[_0x30f0d4(0x306)];_0x338b69===_0x48fdb9['CollaborationEvent'][_0x30f0d4(0x5bd)]&&this[_0x30f0d4(0x202)](_0x539234),_0x338b69===_0x48fdb9['CollaborationEvent'][_0x30f0d4(0x5ae)]&&this['_onCursorDelete'](_0x539234);}),this[_0x3086d7(0x63e)](this[_0x3086d7(0x660)][_0x3086d7(0x4ec)](_0x5255a0=>{const _0x1c6d27=_0x3086d7,_0x1bb5ef=_0x5255a0['params'];_0x1bb5ef!=null&&this[_0x1c6d27(0x26a)]&&_0x5255a0['id']===_0x522f9c[_0x1c6d27(0x2a0)]['id']&&_0x1bb5ef[_0x1c6d27(0x643)]===this[_0x1c6d27(0x36f)]&&_0x1bb5ef[_0x1c6d27(0x255)]===!0x1&&_0x1bb5ef[_0x1c6d27(0x57d)]['length']>0x0&&this[_0x1c6d27(0x64f)](_0x1bb5ef[_0x1c6d27(0x57d)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x3086d7(0x3a2)](_0x1eddba['takeUntil'](this['dispose$']))['subscribe'](_0x2306e7=>{const _0x1d3874=_0x3086d7;if((_0x2306e7==null?void 0x0:_0x2306e7[_0x1d3874(0x36f)])!==this[_0x1d3874(0x36f)])return;const _0xfce147={'eventID':_0x48fdb9[_0x1d3874(0x3de)][_0x1d3874(0x5bd)],'data':_0x2306e7};this[_0x1d3874(0x202)](_0xfce147);}),this[_0x3086d7(0x63e)](this['_commandService'][_0x3086d7(0x4ec)](_0x39314e=>{const _0x277c3d=_0x3086d7;if(_0x39314e[_0x277c3d(0x25e)]==null)return;const _0x65b02a=_0x39314e[_0x277c3d(0x25e)];if(_0x39314e['id']!==_0x522f9c[_0x277c3d(0x48b)]['id']||_0x65b02a[_0x277c3d(0x643)]!==this[_0x277c3d(0x36f)])return;const _0x12ab4d={'id':_0x277c3d(0x3d2),'params':_0x65b02a},_0x22a154=this[_0x277c3d(0x62a)];for(const [_0x2de2ae,_0x1abc27]of _0x22a154){const _0x4f4d25={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x277c3d(0x36f)],'actions':null,'textRanges':_0x1abc27['ranges']}},_0x4f3b40=this[_0x277c3d(0x621)][_0x277c3d(0x576)](_0x12ab4d,_0x4f4d25,!0x1);if(_0x48fdb9[_0x277c3d(0x5ad)](_0x4f3b40))throw _0x4f3b40[_0x277c3d(0x50f)];_0x22a154['set'](_0x2de2ae,{..._0x1abc27,'ranges':_0x4f3b40[_0x277c3d(0x591)][_0x277c3d(0x25e)]['textRanges']});}queueMicrotask(()=>{const _0x227770=_0x277c3d;this[_0x227770(0x3fc)]['next'](_0x22a154);});})));}['_onCursorUpdate'](_0x3b5b29){const _0x11ef9c=_0x3a00cb;var _0x52bd1e,_0x91aa6f;const {memberID:_0x106b11,selection:_0xd98f6e}=_0x3b5b29[_0x11ef9c(0x36b)],_0x55064e=_0x114f93(_0xd98f6e),_0x273c86=(_0x91aa6f=(_0x52bd1e=this[_0x11ef9c(0x529)][_0x11ef9c(0x426)](this[_0x11ef9c(0x36f)],_0x106b11))==null?void 0x0:_0x52bd1e[_0x11ef9c(0x61e)])!=null?_0x91aa6f:_0x11ef9c(0x2ab),_0x1cf360={'color':this[_0x11ef9c(0x667)][_0x11ef9c(0x3ab)](_0x106b11),'name':_0x273c86,'ranges':_0x55064e},_0x2d324c=this[_0x11ef9c(0x62a)];_0x2d324c['set'](_0x106b11,_0x1cf360),this['_cursorInfo$']['next'](_0x2d324c);}[_0x3a00cb(0x4c8)](_0x131755){const _0x57b64c=_0x3a00cb,{memberID:_0x34955f}=_0x131755[_0x57b64c(0x36b)],_0x364964=this[_0x57b64c(0x62a)];_0x364964[_0x57b64c(0x317)](_0x34955f),this[_0x57b64c(0x3fc)]['next'](_0x364964);}[_0x3a00cb(0x505)](){const _0xdc9071=_0x3a00cb;var _0x57246f;if(this['_online']=!0x0,((_0x57246f=this['_univerInstanceService'][_0xdc9071(0x618)]())==null?void 0x0:_0x57246f[_0xdc9071(0x259)]())!==this['unitID'])return;const _0x4451c5=this[_0xdc9071(0x226)][_0xdc9071(0x4bf)](_0x522f9c[_0xdc9071(0x481)])[_0xdc9071(0x3b9)]();Array['isArray'](_0x4451c5)&&_0x4451c5[_0xdc9071(0x422)]>0x0&&this[_0xdc9071(0x64f)](_0x4451c5);}['_toggleOffline'](){this['_online']=!0x1;}};_0xa06d64=_0x1bae2d([_0x44e1cf(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x44e1cf(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x43760c)),_0x44e1cf(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x624)])),_0x44e1cf(0x5,_0x1330ba['Inject'](_0x50bbdf)),_0x44e1cf(0x6,_0x48fdb9[_0x3a00cb(0x38d)]),_0x44e1cf(0x7,_0x1330ba['IUniverInstanceService']),_0x44e1cf(0x8,_0x1330ba[_0x3a00cb(0x5fc)])],_0xa06d64);var _0x263af3=Object[_0x3a00cb(0x43c)],_0x5bb187=Object['getOwnPropertyDescriptor'],_0x1c97f8=(_0x429965,_0x45bb63,_0x309288,_0x3cb111)=>{const _0x43fec0=_0x3a00cb;for(var _0x127190=_0x3cb111>0x1?void 0x0:_0x3cb111?_0x5bb187(_0x45bb63,_0x309288):_0x45bb63,_0x5c2fbb=_0x429965[_0x43fec0(0x422)]-0x1,_0x337ac4;_0x5c2fbb>=0x0;_0x5c2fbb--)(_0x337ac4=_0x429965[_0x5c2fbb])&&(_0x127190=(_0x3cb111?_0x337ac4(_0x45bb63,_0x309288,_0x127190):_0x337ac4(_0x127190))||_0x127190);return _0x3cb111&&_0x127190&&_0x263af3(_0x45bb63,_0x309288,_0x127190),_0x127190;},_0x55609b=(_0x5ed562,_0x41b531)=>(_0x4abe04,_0x49b043)=>_0x41b531(_0x4abe04,_0x49b043,_0x5ed562);const _0x2942ad=0x12c,_0x5ab442=0x64,_0xab1a90=()=>{let _0x453831=[],_0x294fea=!0x1;return _0x261868=>{const _0xef677=_0x5f13;_0x453831[_0xef677(0x64d)](_0x261868),_0x294fea||(_0x294fea=!0x0,setTimeout(()=>{_0x453831['forEach'](_0x58a75e=>_0x58a75e()),_0x453831=[],_0x294fea=!0x1;}));};};let _0x5992ee=class extends _0x1330ba['RxDisposable']{constructor(_0x5119e2,_0xa630d5,_0x2f57aa,_0xa7b814,_0xca0e9d,_0x2187ee,_0x207f26,_0x21a2f9){const _0x4ce5f3=_0x3a00cb;super(),_0x2eb009(this,_0x4ce5f3(0x26a),!0x1),_0x2eb009(this,_0x4ce5f3(0x663),!0x1),_0x2eb009(this,_0x4ce5f3(0x3fc),new _0x1eddba[(_0x4ce5f3(0x332))](new Map())),_0x2eb009(this,_0x4ce5f3(0x4e7),this['_cursorInfo$'][_0x4ce5f3(0x518)]()),_0x2eb009(this,_0x4ce5f3(0x3e5),new _0x1eddba[(_0x4ce5f3(0x332))]([])),_0x2eb009(this,'roomMembers$',this['_roomMembers$'][_0x4ce5f3(0x3a2)](_0x1eddba[_0x4ce5f3(0x391)](_0x2942ad))),_0x2eb009(this,'_updateLocalCursor',_0x1330ba[_0x4ce5f3(0x567)]((_0x28abe6,_0x3c3c95)=>{const _0x550e19=_0x4ce5f3,_0xe9d7ab={'eventID':_0x48fdb9[_0x550e19(0x3de)][_0x550e19(0x5bd)],'data':{'unitID':this[_0x550e19(0x36f)],'memberID':this[_0x550e19(0x671)][_0x550e19(0x2a9)](),'selection':_0x5a3dfd['serializeRangeWithSheet'](_0x28abe6,_0x3c3c95[_0x550e19(0x292)])}};this[_0x550e19(0x671)][_0x550e19(0x2f7)](_0xe9d7ab,this[_0x550e19(0x36f)]);},_0x5ab442)),(this['unitID']=_0x5119e2,this[_0x4ce5f3(0x671)]=_0xa630d5,this[_0x4ce5f3(0x226)]=_0x2f57aa,this[_0x4ce5f3(0x667)]=_0xa7b814,this['_memberService']=_0xca0e9d,this['_univerInstanceService']=_0x2187ee,this[_0x4ce5f3(0x660)]=_0x207f26,this[_0x4ce5f3(0x4b7)]=_0x21a2f9);}get[_0x3a00cb(0x62a)](){const _0x3f0b37=_0x3a00cb;return this[_0x3f0b37(0x3fc)][_0x3f0b37(0x2e0)]();}get['roomMembers'](){const _0x4c4fba=_0x3a00cb;return this['_roomMembers$'][_0x4c4fba(0x2e0)]();}[_0x3a00cb(0x41f)](){const _0x3d32d0=_0x3a00cb;super['dispose'](),this['_cursorInfo$'][_0x3d32d0(0x2d5)](new Map()),this[_0x3d32d0(0x3fc)][_0x3d32d0(0x62b)](),this['_roomMembers$'][_0x3d32d0(0x2d5)]([]),this[_0x3d32d0(0x3e5)][_0x3d32d0(0x62b)]();}[_0x3a00cb(0x447)](){const _0x13fa05=_0x3a00cb;this[_0x13fa05(0x663)]||(this[_0x13fa05(0x663)]=!0x0,this[_0x13fa05(0x671)]['sessionStatus$']['pipe'](_0x1eddba['takeUntil'](this['dispose$']))['subscribe'](_0x2fed87=>{_0x2fed87===_0x1164b5['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x13fa05(0x4a7)][_0x13fa05(0x3a2)](_0x1eddba[_0x13fa05(0x28a)](this[_0x13fa05(0x2f0)]))[_0x13fa05(0x21f)](_0x5c2314=>{const _0xeb1571=_0x13fa05,_0x42f187=_0x5c2314[_0xeb1571(0x306)];_0x42f187===_0x48fdb9[_0xeb1571(0x3de)][_0xeb1571(0x5bd)]&&this[_0xeb1571(0x202)](_0x5c2314),_0x42f187===_0x48fdb9['CollaborationEvent'][_0xeb1571(0x5ae)]&&this['_onCursorDelete'](_0x5c2314);}),this['_onRefRangeChange'](),this[_0x13fa05(0x63e)](this[_0x13fa05(0x660)][_0x13fa05(0x4ec)](_0xce8950=>{const _0x297464=_0x13fa05;if(this[_0x297464(0x26a)]&&_0xce8950['id']===_0x5ca8f8[_0x297464(0x4b2)]['id']&&_0xce8950[_0x297464(0x25e)][_0x297464(0x643)]===this[_0x297464(0x36f)]){const _0x1655fa=_0xce8950[_0x297464(0x25e)];this[_0x297464(0x64f)](_0x1655fa[_0x297464(0x311)],_0x1655fa[_0x297464(0x47f)][0x0]);}})));}[_0x3a00cb(0x202)](_0x539c61){const _0x41e093=_0x3a00cb;var _0x42f3cf,_0x4572eb;const {memberID:_0x57a9bd,selection:_0x46ed5d}=_0x539c61[_0x41e093(0x36b)],{sheetName:_0x40f440,range:_0x263559}=_0x5a3dfd[_0x41e093(0x3e6)](_0x46ed5d),_0xbf5cc0={'name':(_0x4572eb=(_0x42f3cf=this[_0x41e093(0x529)]['getMember'](this['unitID'],_0x57a9bd))==null?void 0x0:_0x42f3cf['name'])!=null?_0x4572eb:'Unknown\x20user','range':this[_0x41e093(0x23c)](_0x40f440,_0x263559),'sheetID':_0x40f440,'color':this['_colorAssignService'][_0x41e093(0x3ab)](_0x57a9bd),'selection':_0x46ed5d},_0x4478af=this[_0x41e093(0x62a)];_0x4478af[_0x41e093(0x4cf)](_0x57a9bd,_0xbf5cc0),this['_cursorInfo$'][_0x41e093(0x2d5)](_0x4478af);}[_0x3a00cb(0x4c8)](_0x372e29){const _0x494d94=_0x3a00cb,{memberID:_0x171438}=_0x372e29[_0x494d94(0x36b)],_0xc82dee=this[_0x494d94(0x62a)];_0xc82dee[_0x494d94(0x317)](_0x171438),this[_0x494d94(0x3fc)]['next'](_0xc82dee);}[_0x3a00cb(0x23c)](_0x2a3e5d,_0x3d3750){const _0x38f042=_0x3a00cb;var _0x3c7105,_0x12022c;const _0x5830fb=(_0x12022c=(_0x3c7105=this[_0x38f042(0x227)][_0x38f042(0x456)](this[_0x38f042(0x36f)]))==null?void 0x0:_0x3c7105['getSheetBySheetId'](_0x2a3e5d))==null?void 0x0:_0x12022c[_0x38f042(0x69f)]();return(_0x5830fb==null?void 0x0:_0x5830fb[_0x38f042(0x4ed)](_0x32893b=>_0x1330ba[_0x38f042(0x509)][_0x38f042(0x33b)](_0x32893b,_0x3d3750)))||_0x3d3750;}['_onRefRangeChange'](){const _0x6fb8d3=_0x3a00cb,_0x2d5ce5=new _0x1330ba[(_0x6fb8d3(0x45e))](),_0x472f2e=_0xab1a90(),_0x29d4f6=()=>{const _0x355436=_0x6fb8d3;_0x2d5ce5[_0x355436(0x41f)]();const _0x3ffb00=(_0x2730c0,_0x2b41b7,_0x2106fb,_0x576619)=>{const _0x1df8bb=_0x355436;let _0x4c480b=[];switch(_0x2730c0['id']){case _0x5ca8f8[_0x1df8bb(0x6a1)]['DeleteRangeMoveLeftCommandId']:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x396)](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)][_0x1df8bb(0x290)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x439)](_0x2730c0,_0x576619);break;}case _0x5ca8f8['EffectRefRangId'][_0x1df8bb(0x596)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x5cd)](_0x2730c0,_0x576619);break;}case _0x5ca8f8['EffectRefRangId'][_0x1df8bb(0x3e4)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x265)](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)]['InsertRangeMoveRightCommandId']:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x32b)](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)][_0x1df8bb(0x5c5)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x3a9)](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)][_0x1df8bb(0x483)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x595)](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)]['RemoveColCommandId']:{_0x4c480b=_0x5ca8f8['handleIRemoveCol'](_0x2730c0,_0x576619);break;}case _0x5ca8f8[_0x1df8bb(0x6a1)][_0x1df8bb(0x5d6)]:{_0x4c480b=_0x5ca8f8[_0x1df8bb(0x433)](_0x2730c0,_0x576619);break;}}const _0xf06178=_0x5ca8f8['runRefRangeMutations'](_0x4c480b,_0x576619),_0x39e481=this[_0x1df8bb(0x62a)]['get'](_0x2b41b7);if(_0x39e481&&_0xf06178){const _0x108cb8={..._0x39e481,'range':_0xf06178};this[_0x1df8bb(0x62a)][_0x1df8bb(0x4cf)](_0x2b41b7,_0x108cb8),_0x472f2e(()=>{const _0x35687a=_0x1df8bb,_0x4cfff6=this['_refRangeService'][_0x35687a(0x296)](_0xf06178,_0x1e9bf3=>(_0x4cfff6[_0x35687a(0x41f)](),_0x3ffb00(_0x1e9bf3,_0x2b41b7,_0x2106fb,_0xf06178)));_0x2d5ce5['add'](_0x4cfff6);});}return{'redos':[],'undos':[]};};this[_0x355436(0x62a)]['forEach']((_0x2e8d58,_0x515c78)=>{const _0x3975d0=_0x355436,{range:_0x41c809,sheetID:_0xb919e4}=_0x2e8d58,_0x2c7b3e=this['_refRangeService'][_0x3975d0(0x296)](_0x41c809,_0x5c49e5=>(_0x2c7b3e[_0x3975d0(0x41f)](),_0x3ffb00(_0x5c49e5,_0x515c78,_0xb919e4,_0x41c809)));_0x2d5ce5[_0x3975d0(0x523)](_0x2c7b3e);});};this['disposeWithMe'](_0x1330ba[_0x6fb8d3(0x256)](this['_cursorInfo$'][_0x6fb8d3(0x21f)](()=>{_0x29d4f6();})));}[_0x3a00cb(0x505)](){const _0x4c12fc=_0x3a00cb;var _0x292822,_0x3decfc;if(this['_online']=!0x0,((_0x292822=this[_0x4c12fc(0x227)][_0x4c12fc(0x618)]())==null?void 0x0:_0x292822['getUnitId']())!==this[_0x4c12fc(0x36f)])return;const _0x4a1c22=(_0x3decfc=this[_0x4c12fc(0x226)][_0x4c12fc(0x4bf)](_0x5ca8f8['SheetsSelectionsService'])[_0x4c12fc(0x24c)]())==null?void 0x0:_0x3decfc[0x0],_0x100904=this[_0x4c12fc(0x227)]['getCurrentUnitForType'](_0x1330ba[_0x4c12fc(0x3ae)]['UNIVER_SHEET'])[_0x4c12fc(0x3d7)]();_0x4a1c22&&_0x100904&&this[_0x4c12fc(0x64f)](_0x100904['getSheetId'](),_0x4a1c22);}[_0x3a00cb(0x4ff)](){const _0x40669d=_0x3a00cb;this[_0x40669d(0x26a)]=!0x1;}};_0x5992ee=_0x1c97f8([_0x55609b(0x2,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x619)])),_0x55609b(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x43760c)),_0x55609b(0x4,_0x1330ba['Inject'](_0x5aeb12[_0x3a00cb(0x624)])),_0x55609b(0x5,_0x1330ba[_0x3a00cb(0x5ce)]),_0x55609b(0x6,_0x1330ba[_0x3a00cb(0x5fc)]),_0x55609b(0x7,_0x1330ba[_0x3a00cb(0x217)](_0x5ca8f8['RefRangeService']))],_0x5992ee);var _0x1d3c56=Object[_0x3a00cb(0x43c)],_0x370423=Object[_0x3a00cb(0x637)],_0x208f3b=(_0x1946af,_0x19d796,_0x29119e,_0x5a11d1)=>{const _0x5a1ad8=_0x3a00cb;for(var _0x2d6206=_0x5a11d1>0x1?void 0x0:_0x5a11d1?_0x370423(_0x19d796,_0x29119e):_0x19d796,_0x190b9b=_0x1946af[_0x5a1ad8(0x422)]-0x1,_0x17239f;_0x190b9b>=0x0;_0x190b9b--)(_0x17239f=_0x1946af[_0x190b9b])&&(_0x2d6206=(_0x5a11d1?_0x17239f(_0x19d796,_0x29119e,_0x2d6206):_0x17239f(_0x2d6206))||_0x2d6206);return _0x5a11d1&&_0x2d6206&&_0x1d3c56(_0x19d796,_0x29119e,_0x2d6206),_0x2d6206;},_0x59cc1f=(_0x2543f1,_0x1ee699)=>(_0xc90724,_0x37cff5)=>_0x1ee699(_0xc90724,_0x37cff5,_0x2543f1);let _0x4c1561=class extends _0x1330ba[_0x3a00cb(0x560)]{constructor(_0x3ae3ce,_0x5add1d,_0x9fe2d9){const _0x2d9402=_0x3a00cb;super(),_0x2eb009(this,_0x2d9402(0x274),new Map()),_0x2eb009(this,'_entityInit$',new _0x1eddba[(_0x2d9402(0x232))]()),(this['_univerInstanceService']=_0x3ae3ce,this[_0x2d9402(0x226)]=_0x5add1d,this['_collabSessionService']=_0x9fe2d9,this[_0x2d9402(0x663)]());}[_0x3a00cb(0x41f)](){const _0x5f7c54=_0x3a00cb;super[_0x5f7c54(0x41f)](),this[_0x5f7c54(0x5dd)]['complete'](),this[_0x5f7c54(0x274)][_0x5f7c54(0x303)](_0x86b92d=>_0x86b92d[_0x5f7c54(0x41f)]());}[_0x3a00cb(0x330)](_0x1c3ad1){const _0x34ddf8=_0x3a00cb;return this[_0x34ddf8(0x274)][_0x34ddf8(0x42a)](_0x1c3ad1)?this['_entities'][_0x34ddf8(0x4bf)](_0x1c3ad1)[_0x34ddf8(0x4e7)]:this['_entityInit$']['pipe'](_0x1eddba[_0x34ddf8(0x40e)](_0xef2df1=>_0xef2df1['unitID']===_0x1c3ad1),_0x1eddba[_0x34ddf8(0x313)](_0x212ce8=>_0x212ce8['cursorInfo$']));}[_0x3a00cb(0x663)](){const _0xd514d3=_0x3a00cb;this[_0xd514d3(0x227)]['getTypeOfUnitAdded$'](_0x1330ba[_0xd514d3(0x3ae)][_0xd514d3(0x3b6)])[_0xd514d3(0x3a2)](_0x1eddba['takeUntil'](this[_0xd514d3(0x2f0)]))[_0xd514d3(0x21f)](async _0x2953db=>{const _0x5f1011=_0xd514d3,_0xd891af=_0x2953db[_0x5f1011(0x259)](),_0x44a282=await this['_startSheetCollabCursor'](_0xd891af);this[_0x5f1011(0x5dd)]['next'](_0x44a282),this['_entities'][_0x5f1011(0x4cf)](_0xd891af,_0x44a282);}),this[_0xd514d3(0x227)]['getTypeOfUnitAdded$'](_0x1330ba[_0xd514d3(0x3ae)][_0xd514d3(0x65c)])[_0xd514d3(0x3a2)](_0x1eddba[_0xd514d3(0x28a)](this[_0xd514d3(0x2f0)]))[_0xd514d3(0x3a2)](_0x1eddba['filter'](_0x8afdc1=>!_0x8afdc1[_0xd514d3(0x259)]()[_0xd514d3(0x3f2)]('__')))[_0xd514d3(0x21f)](async _0x5f2a50=>{const _0x369615=_0xd514d3,_0x5eeb3e=_0x5f2a50[_0x369615(0x259)](),_0x31ec4e=await this[_0x369615(0x20c)](_0x5eeb3e);this[_0x369615(0x5dd)][_0x369615(0x2d5)](_0x31ec4e),this[_0x369615(0x274)]['set'](_0x5eeb3e,_0x31ec4e);}),_0x1eddba['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1330ba['UniverInstanceType'][_0xd514d3(0x65c)]),this[_0xd514d3(0x227)]['getTypeOfUnitDisposed$'](_0x1330ba['UniverInstanceType'][_0xd514d3(0x3b6)]))[_0xd514d3(0x3a2)](_0x1eddba['takeUntil'](this[_0xd514d3(0x2f0)]))['subscribe'](_0x29f8a6=>{const _0x3b58ab=_0xd514d3,_0x31f000=_0x29f8a6[_0x3b58ab(0x259)](),_0x27b59b=this[_0x3b58ab(0x274)][_0x3b58ab(0x4bf)](_0x31f000);_0x27b59b&&(_0x27b59b[_0x3b58ab(0x41f)](),this[_0x3b58ab(0x274)][_0x3b58ab(0x317)](_0x31f000));});}async[_0x3a00cb(0x280)](_0x17c5a5){const _0x1e3b5f=_0x3a00cb,_0x16a431=await this['_collabSessionService']['requireSession'](_0x17c5a5),_0x32d054=this[_0x1e3b5f(0x226)][_0x1e3b5f(0x578)](_0x5992ee,_0x17c5a5,_0x16a431);return _0x32d054[_0x1e3b5f(0x447)](),_0x32d054;}async['_startDocCollabCursor'](_0x1b37de){const _0x40b8e2=_0x3a00cb,_0x421e95=await this[_0x40b8e2(0x2ef)][_0x40b8e2(0x673)](_0x1b37de),_0x22cdd1=this[_0x40b8e2(0x226)]['createInstance'](_0xa06d64,_0x1b37de,_0x421e95);return _0x22cdd1[_0x40b8e2(0x447)](),_0x22cdd1;}};_0x4c1561=_0x208f3b([_0x59cc1f(0x0,_0x1330ba[_0x3a00cb(0x5ce)]),_0x59cc1f(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x59cc1f(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x2c3)]))],_0x4c1561);const _0x46d308=0x14,_0x37bb40=0xc8,_0x322719=0x4,_0x5b9eec=0x5;function _0x17c4a9(_0x5ddbfe,_0x300f98){const _0xc1c879=_0x3a00cb;let {radius:_0x4fdb9f,width:_0x150558,height:_0x51bf25}=_0x300f98;_0x4fdb9f=_0x4fdb9f!=null?_0x4fdb9f:0x0,_0x150558=_0x150558!=null?_0x150558:0x1e,_0x51bf25=_0x51bf25!=null?_0x51bf25:0x1e;let _0x315341=0x0,_0x27cd90=0x0,_0x2977a8=0x0;_0x315341=_0x27cd90=_0x2977a8=Math[_0xc1c879(0x35c)](_0x4fdb9f,_0x150558/0x2,_0x51bf25/0x2),_0x5ddbfe[_0xc1c879(0x69c)](),_0x5ddbfe['moveTo'](_0x315341,0x0),_0x5ddbfe[_0xc1c879(0x46d)](_0x150558-_0x27cd90,0x0),_0x5ddbfe[_0xc1c879(0x279)](_0x150558-_0x27cd90,_0x27cd90,_0x27cd90,Math['PI']*0x3/0x2,0x0,!0x1),_0x5ddbfe['lineTo'](_0x150558,_0x51bf25-_0x2977a8),_0x5ddbfe[_0xc1c879(0x279)](_0x150558-_0x2977a8,_0x51bf25-_0x2977a8,_0x2977a8,0x0,Math['PI']/0x2,!0x1),_0x5ddbfe['lineTo'](0x0,_0x51bf25),_0x5ddbfe[_0xc1c879(0x46d)](0x0,_0x315341),_0x5ddbfe[_0xc1c879(0x279)](_0x315341,_0x315341,_0x315341,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5ddbfe[_0xc1c879(0x5ba)](),_0x300f98[_0xc1c879(0x5f1)]&&(_0x5ddbfe[_0xc1c879(0x454)](),_0x5ddbfe[_0xc1c879(0x3e7)]=_0x300f98[_0xc1c879(0x5f1)],_0x300f98['fillRule']===_0xc1c879(0x675)?_0x5ddbfe['fill'](_0xc1c879(0x675)):_0x5ddbfe[_0xc1c879(0x5f1)](),_0x5ddbfe[_0xc1c879(0x409)]());}class _0x22a80c extends _0x15986e[_0x3a00cb(0x43e)]{constructor(_0x28af02,_0x4a35a3){const _0x262136=_0x3a00cb;super(_0x28af02,_0x4a35a3),_0x2eb009(this,_0x262136(0x4d3)),_0x2eb009(this,_0x262136(0x323)),(this[_0x262136(0x4d3)]=_0x4a35a3==null?void 0x0:_0x4a35a3[_0x262136(0x4d3)],this['text']=_0x4a35a3==null?void 0x0:_0x4a35a3[_0x262136(0x323)]);}static[_0x3a00cb(0x575)](_0x23a8aa,_0x1f2fa3){const _0x40f932=_0x3a00cb,{text:_0x1b6f64,color:_0x4fa398}=_0x1f2fa3;_0x23a8aa[_0x40f932(0x454)](),_0x23a8aa[_0x40f932(0x658)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xbc2054=_0x23a8aa[_0x40f932(0x2e3)](_0x1b6f64)[_0x40f932(0x4ea)],_0x3dff10=Math[_0x40f932(0x35c)](_0xbc2054+0x2*_0x322719,_0x37bb40);_0x17c4a9(_0x23a8aa,{'height':_0x46d308,'radius':0x4,'width':_0x3dff10,'fill':_0x4fa398,'evented':!0x1}),_0x23a8aa[_0x40f932(0x3e7)]=_0x40f932(0x2f2);const _0xaf4a1e=_0x322719,_0x386533=_0x46d308-_0x5b9eec,_0x32f245=_0x37bb40-0x2*_0x322719;if(_0xbc2054>_0x32f245){let _0x350524='',_0x4a6401=0x0;for(const _0x5b031a of _0x1b6f64){const _0xaa8244=_0x23a8aa[_0x40f932(0x2e3)](_0x5b031a)[_0x40f932(0x4ea)];if(_0x4a6401+_0xaa8244<=_0x32f245-_0x23a8aa[_0x40f932(0x2e3)](_0x40f932(0x592))['width'])_0x350524+=_0x5b031a,_0x4a6401+=_0xaa8244;else{_0x350524+=_0x40f932(0x592);break;}}_0x23a8aa[_0x40f932(0x4e9)](_0x350524,_0xaf4a1e,_0x386533);}else _0x23a8aa['fillText'](_0x1b6f64,_0xaf4a1e,_0x386533);_0x23a8aa[_0x40f932(0x409)]();}['_draw'](_0x4d64fd){_0x22a80c['drawWith'](_0x4d64fd,this);}}const _0x5a3a1c='collab-text-anchor-',_0x2b9487=_0x3a00cb(0x4c1),_0x3063c7=_0x3a00cb(0x423),_0xef245e=0x6,_0x318557=1.5,_0x4e87a5=0x4,_0x4a4f0e=1.5,_0x598fce=_0x3a00cb(0x3dc);class _0x5cc438{constructor(_0x1ed04f,_0x51359f,_0x22d718,_0x23da5e){const _0x3d547a=_0x3a00cb;_0x2eb009(this,'_shapes',[]),_0x2eb009(this,_0x3d547a(0x525),null),_0x2eb009(this,'_textBubble',null),_0x2eb009(this,'_anchorDot',null),_0x2eb009(this,_0x3d547a(0x4fd),null),_0x2eb009(this,_0x3d547a(0x2c6),null),(this[_0x3d547a(0x2fc)]=_0x1ed04f,this['_scene']=_0x51359f,this[_0x3d547a(0x336)]=_0x22d718,this[_0x3d547a(0x359)]=_0x23da5e,this[_0x3d547a(0x4f2)]());}set[_0x3a00cb(0x415)](_0x36fc8f){const _0x1e353e=_0x3a00cb;_0x36fc8f?(this[_0x1e353e(0x343)]&&this[_0x1e353e(0x343)][_0x1e353e(0x1ee)](),this['_textBubble']&&this['_textBubble'][_0x1e353e(0x4d8)]()):(this[_0x1e353e(0x343)]&&this[_0x1e353e(0x343)]['show'](),this['_textBubble']&&this[_0x1e353e(0x450)][_0x1e353e(0x1ee)]());}[_0x3a00cb(0x41f)](){const _0x4f2de4=_0x3a00cb;for(const _0x50bf53 of this['_shapes'])_0x50bf53[_0x4f2de4(0x41f)]();this[_0x4f2de4(0x450)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x4f2de4(0x41f)](),this[_0x4f2de4(0x525)]&&this[_0x4f2de4(0x525)][_0x4f2de4(0x41f)](),this[_0x4f2de4(0x2c6)]&&this['_eventUnsubscribe']();}[_0x3a00cb(0x4f2)](){const _0x3fe8c0=_0x3a00cb;var _0x26b625;const {_docSkeleton:_0x5e183c,_document:_0x4dc6b5}=this,{color:_0x594b7e,name:_0x5eceef,ranges:_0x396b4b}=this[_0x3fe8c0(0x2fc)],_0xcd1277=_0x4dc6b5['getOffsetConfig'](),{docsLeft:_0x61c52b,docsTop:_0x298ee9}=_0xcd1277,_0xf047b1=new _0x2b18a1[(_0x3fe8c0(0x668))](_0xcd1277,_0x5e183c);for(const {startOffset:_0x26e98e,endOffset:_0x546b5b,rangeType:_0x45aafc,segmentId:_0x2492a2,segmentPage:_0x4187d8,collapsed:_0x16f1ad,isActive:_0x2d6847}of _0x396b4b){const _0x3efecc=_0x5e183c['findNodePositionByCharIndex'](_0x26e98e,!0x0,_0x2492a2,_0x4187d8);let _0x373015=_0x5e183c[_0x3fe8c0(0x659)](_0x546b5b,!0x0,_0x2492a2,_0x4187d8);if(_0x373015==null&&(_0x373015=_0x5e183c[_0x3fe8c0(0x659)](_0x546b5b-0x1,!0x1,_0x2492a2,_0x4187d8)),_0x2d6847){const {contentBoxPointGroup:_0x339bcb}=_0xf047b1[_0x3fe8c0(0x419)](_0x373015,_0x373015);if(_0x339bcb[_0x3fe8c0(0x422)]===0x0)continue;this[_0x3fe8c0(0x32d)](_0x594b7e,_0x339bcb,_0x61c52b,_0x298ee9,_0x5eceef),this[_0x3fe8c0(0x2c6)]=this[_0x3fe8c0(0x26d)]();}if(_0x3efecc&&_0x373015){if(_0x45aafc===_0x1330ba[_0x3fe8c0(0x3c4)][_0x3fe8c0(0x383)]){const _0x5395c9=new _0x2b18a1[(_0x3fe8c0(0x29a))](_0xcd1277,_0x5e183c),{pointGroup:_0x26cdf2}=(_0x26b625=_0x5395c9[_0x3fe8c0(0x419)](_0x3efecc,_0x373015))!=null?_0x26b625:{};if(_0x26cdf2==null||_0x26cdf2['length']===0x0)continue;this[_0x3fe8c0(0x27e)](_0x594b7e,_0x26cdf2,_0x61c52b,_0x298ee9);}else{if(!_0x16f1ad){const {borderBoxPointGroup:_0x341ae6}=_0xf047b1[_0x3fe8c0(0x419)](_0x3efecc,_0x373015);if(_0x341ae6[_0x3fe8c0(0x422)]===0x0)continue;this[_0x3fe8c0(0x677)](_0x594b7e,_0x341ae6,_0x61c52b,_0x298ee9);}}}}}[_0x3a00cb(0x32d)](_0x8b48dc,_0x41abc3,_0x192e31,_0x39a72b,_0x170b46){const _0x2cbd4a=_0x3a00cb,_0x150525=this[_0x2cbd4a(0x342)](_0x41abc3),{left:_0x1f1ae3,top:_0xd079ea,height:_0xea615e}=_0x150525,_0x10ba83=this[_0x2cbd4a(0x4e6)](),_0x212d14=_0x4a4f0e/_0x10ba83,_0x547a81=new _0x15986e[(_0x2cbd4a(0x3b4))](_0x5a3a1c+_0x1330ba[_0x2cbd4a(0x23b)][_0x2cbd4a(0x25a)](_0xef245e),{'left':_0x1f1ae3+_0x192e31-_0x212d14,'top':_0xd079ea+_0x39a72b,'height':_0xea615e,'width':_0x318557,'fill':_0x8b48dc||_0x15986e[_0x2cbd4a(0x210)](_0x1330ba[_0x2cbd4a(0x3fa)][_0x2cbd4a(0x3aa)],0x0),'strokeWidth':_0x212d14,'stroke':_0x598fce,'evented':!0x0});this[_0x2cbd4a(0x525)]=_0x547a81,this[_0x2cbd4a(0x61f)][_0x2cbd4a(0x45a)](_0x547a81,_0x2b18a1[_0x2cbd4a(0x39a)]);const _0x1b5428=new _0x15986e[(_0x2cbd4a(0x3b4))](_0x5a3a1c+_0x1330ba[_0x2cbd4a(0x23b)][_0x2cbd4a(0x25a)](_0xef245e),{'left':_0x1f1ae3+_0x192e31-_0x212d14,'top':_0xd079ea+_0x39a72b-_0x4e87a5/0x2,'height':_0x4e87a5,'width':_0x4e87a5,'fill':_0x8b48dc||_0x15986e[_0x2cbd4a(0x210)](_0x1330ba[_0x2cbd4a(0x3fa)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x8b48dc||_0x15986e[_0x2cbd4a(0x210)](_0x1330ba['COLORS']['black'],0x0),'evented':!0x1});this[_0x2cbd4a(0x343)]=_0x1b5428,this['_scene']['addObject'](_0x1b5428,_0x2b18a1[_0x2cbd4a(0x39a)]);const _0x5ef037=new _0x22a80c(_0x5a3a1c+_0x1330ba[_0x2cbd4a(0x23b)]['generateRandomId'](_0xef245e),{'left':_0x1f1ae3+_0x192e31-_0x212d14,'top':_0xd079ea+_0x39a72b-_0x46d308,'text':_0x170b46,'color':_0x8b48dc});this[_0x2cbd4a(0x450)]=_0x5ef037,this['_scene'][_0x2cbd4a(0x45a)](_0x5ef037,_0x2b18a1[_0x2cbd4a(0x39a)]),this[_0x2cbd4a(0x415)]=!0x1;}[_0x3a00cb(0x26d)](){const _0x19c58e=_0x3a00cb,_0x2f5aad=this['_anchor']['onPointerEnter$'][_0x19c58e(0x29b)](()=>{const _0x3f5bc2=_0x19c58e;this[_0x3f5bc2(0x415)]=!0x0;}),_0x2b19e4=this[_0x19c58e(0x525)][_0x19c58e(0x3c7)][_0x19c58e(0x29b)](()=>{const _0x3708be=_0x19c58e;this[_0x3708be(0x4fd)]&&clearTimeout(this[_0x3708be(0x4fd)]),this['_hideTimer']=setTimeout(()=>{const _0x2fa2c5=_0x3708be;this[_0x2fa2c5(0x415)]=!0x1;},0x7d0);});return()=>{const _0x452f3c=_0x19c58e;_0x2f5aad['unsubscribe'](),_0x2b19e4[_0x452f3c(0x281)]();};}[_0x3a00cb(0x677)](_0x5ead93,_0x35c607,_0x4d6dc5,_0x2fce91){const _0x57ed80=_0x3a00cb,_0x69b190=new _0x1330ba['ColorKit'](_0x5ead93)[_0x57ed80(0x570)](0.2)[_0x57ed80(0x41e)](),_0x5d6665=new _0x15986e[(_0x57ed80(0x261))](_0x2b9487+_0x1330ba[_0x57ed80(0x23b)][_0x57ed80(0x25a)](_0xef245e),{'pointsGroup':_0x35c607,'fill':_0x69b190||_0x15986e['getColor'](_0x1330ba[_0x57ed80(0x3fa)][_0x57ed80(0x3aa)],0.2),'left':_0x4d6dc5,'top':_0x2fce91,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57ed80(0x5db)][_0x57ed80(0x64d)](_0x5d6665),this['_scene']['addObject'](_0x5d6665,_0x2b18a1[_0x57ed80(0x39a)]);}[_0x3a00cb(0x27e)](_0x176bdf,_0x59df75,_0x4cd33d,_0x5eeb74){const _0x2638de=_0x3a00cb,_0x7c75f8=new _0x1330ba['ColorKit'](_0x176bdf)[_0x2638de(0x570)](0.2)[_0x2638de(0x41e)](),_0x2e53ba=new _0x15986e[(_0x2638de(0x261))](_0x3063c7+_0x1330ba[_0x2638de(0x23b)][_0x2638de(0x25a)](_0xef245e),{'pointsGroup':_0x59df75,'fill':_0x7c75f8||_0x15986e['getColor'](_0x1330ba[_0x2638de(0x3fa)]['black'],0.2),'left':_0x4cd33d,'top':_0x5eeb74,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2638de(0x64d)](_0x2e53ba),this[_0x2638de(0x61f)][_0x2638de(0x45a)](_0x2e53ba,_0x2b18a1[_0x2638de(0x39a)]);}[_0x3a00cb(0x342)](_0x208c4b){const _0x306d06=_0x208c4b[0x0],_0x284be1=_0x306d06[0x0],_0x3f8eb0=_0x306d06[0x2],{x:_0x47565d,y:_0x5d416b}=_0x284be1,{x:_0x24d9a6,y:_0x1e04d7}=_0x3f8eb0;return{'left':_0x47565d,'top':_0x5d416b,'width':_0x24d9a6-_0x47565d,'height':_0x1e04d7-_0x5d416b};}[_0x3a00cb(0x4e6)](){const _0x2944ce=_0x3a00cb,{scaleX:_0x8b6c1a,scaleY:_0x50cb32}=this[_0x2944ce(0x61f)][_0x2944ce(0x67c)]();return Math[_0x2944ce(0x387)](_0x8b6c1a,_0x50cb32);}}var _0xdee79a=Object[_0x3a00cb(0x43c)],_0x209eaf=Object[_0x3a00cb(0x637)],_0x160e6f=(_0x427f88,_0x19e46a,_0x3d1948,_0x9f8e42)=>{for(var _0x16be99=_0x9f8e42>0x1?void 0x0:_0x9f8e42?_0x209eaf(_0x19e46a,_0x3d1948):_0x19e46a,_0x272cc4=_0x427f88['length']-0x1,_0x3b11fa;_0x272cc4>=0x0;_0x272cc4--)(_0x3b11fa=_0x427f88[_0x272cc4])&&(_0x16be99=(_0x9f8e42?_0x3b11fa(_0x19e46a,_0x3d1948,_0x16be99):_0x3b11fa(_0x16be99))||_0x16be99);return _0x9f8e42&&_0x16be99&&_0xdee79a(_0x19e46a,_0x3d1948,_0x16be99),_0x16be99;},_0x240d36=(_0x5086b7,_0x611a5b)=>(_0x2fa133,_0x5848e4)=>_0x611a5b(_0x2fa133,_0x5848e4,_0x5086b7);let _0x18510a=class extends _0x1330ba['RxDisposable']{constructor(_0x1d60f4,_0x588ec4,_0x5f24bd,_0x2610a5,_0xa30a25){const _0x19214f=_0x3a00cb;super(),_0x2eb009(this,_0x19214f(0x48a),[]),_0x2eb009(this,_0x19214f(0x473),[]),(this[_0x19214f(0x503)]=_0x1d60f4,this[_0x19214f(0x2dc)]=_0x588ec4,this['_collabCursorController']=_0x5f24bd,this[_0x19214f(0x660)]=_0x2610a5,this[_0x19214f(0x34e)]=_0xa30a25,this['_init']());}[_0x3a00cb(0x663)](){const _0x55adb9=_0x3a00cb,_0x4222f8=this[_0x55adb9(0x503)][_0x55adb9(0x643)],_0x590289=this['_docSkeletonManagerService'];this[_0x55adb9(0x63e)](_0x1eddba[_0x55adb9(0x3da)]([this[_0x55adb9(0x4c7)][_0x55adb9(0x330)](_0x4222f8),this[_0x55adb9(0x34e)][_0x55adb9(0x30c)]])[_0x55adb9(0x3a2)](_0xc13278[_0x55adb9(0x568)](([_0x31cb09,_0x40306b])=>({'skeleton':_0x590289[_0x55adb9(0x5d2)](),'cursors':[..._0x31cb09['values']()][_0x55adb9(0x513)](_0x38a62c=>({..._0x38a62c,'color':_0x40306b[_0x38a62c[_0x55adb9(0x4d3)]]}))})))[_0x55adb9(0x21f)](_0x53f3ea=>{const _0x35bdf3=_0x55adb9;if(this[_0x35bdf3(0x541)](),_0x53f3ea){const {skeleton:_0x51896f,cursors:_0x29c17d}=_0x53f3ea;this[_0x35bdf3(0x371)](_0x51896f,_0x29c17d);}})),this[_0x55adb9(0x378)](),this['_initCommandExecutedListener']();}[_0x3a00cb(0x371)](_0x5028ce,_0x266c91){const _0x52304e=_0x3a00cb,{scene:_0x41d773,mainComponent:_0x42125b}=this['_context'],_0x3e3de4=_0x266c91[_0x52304e(0x568)](_0x49d793=>new _0x5cc438(_0x49d793,_0x41d773,_0x5028ce,_0x42125b));this[_0x52304e(0x48a)]=_0x3e3de4,this['_cursors']=_0x266c91;}['_refreshCollabCursors'](){const _0x56ab81=_0x3a00cb;this[_0x56ab81(0x541)]();const {scene:_0x51d87d,mainComponent:_0x2ec492}=this[_0x56ab81(0x503)],_0x47d37e=this['_docSkeletonManagerService'][_0x56ab81(0x5d2)](),_0x23546b=this['_cursors'][_0x56ab81(0x568)](_0x42e05b=>new _0x5cc438(_0x42e05b,_0x51d87d,_0x47d37e,_0x2ec492));this['_cursorShapes']=_0x23546b;}[_0x3a00cb(0x541)](){const _0x16021f=_0x3a00cb;this[_0x16021f(0x48a)][_0x16021f(0x303)](_0x5c9cc5=>_0x5c9cc5[_0x16021f(0x41f)]()),this[_0x16021f(0x48a)]=[];}['_initCommandExecutedListener'](){const _0x5c4acd=_0x3a00cb,_0x60b40a=[_0x2b18a1[_0x5c4acd(0x572)]['id']];this[_0x5c4acd(0x63e)](this[_0x5c4acd(0x660)]['onCommandExecuted'](_0x4837d4=>{const _0x23a509=_0x5c4acd;_0x60b40a[_0x23a509(0x474)](_0x4837d4['id'])&&_0x4837d4['params']['unitId']===this[_0x23a509(0x503)][_0x23a509(0x643)]&&this[_0x23a509(0x364)]();}));}['_initResize'](){const _0x40b030=_0x3a00cb;this['disposeWithMe'](_0x1330ba['fromEventSubject'](this[_0x40b030(0x503)][_0x40b030(0x542)][_0x40b030(0x59f)])[_0x40b030(0x3a2)](_0xc13278[_0x40b030(0x40e)](_0x4d35ff=>_0x4d35ff[_0x40b030(0x651)]===_0x15986e['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x40b030(0x329)]),_0xc13278[_0x40b030(0x36a)](0x10))['subscribe'](()=>{const _0x43fa2b=_0x40b030;this[_0x43fa2b(0x364)]();}));}};_0x18510a=_0x160e6f([_0x240d36(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x522f9c[_0x3a00cb(0x2b6)])),_0x240d36(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x4c1561)),_0x240d36(0x3,_0x1330ba[_0x3a00cb(0x5fc)]),_0x240d36(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['ThemeService']))],_0x18510a);const _0x52b9a4=0x1,_0x406a1a=1.5;class _0x30ed8a extends _0x15986e[_0x3a00cb(0x43e)]{constructor(_0x247af1,_0x546a5c){const _0x4f1874=_0x3a00cb;super(_0x247af1,_0x546a5c),_0x2eb009(this,_0x4f1874(0x3f4)),_0x2eb009(this,_0x4f1874(0x60d),!0x1),_0x2eb009(this,_0x4f1874(0x44a)),_0x2eb009(this,'_name',''),_0x2eb009(this,_0x4f1874(0x5cb),'top'),_0x2eb009(this,'_backgroundColor'),(_0x546a5c&&this[_0x4f1874(0x607)](_0x546a5c),this[_0x4f1874(0x3f0)][_0x4f1874(0x29b)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4f1874(0x3c7)][_0x4f1874(0x29b)](()=>this[_0x4f1874(0x607)]({'hovered':!0x1})));}['setShapeProps'](_0x4d3836){const _0x4cae65=_0x3a00cb;var _0x3f425b,_0x100756,_0x246c63,_0x4fa317,_0x131663,_0x40870d;this[_0x4cae65(0x3f4)]=(_0x3f425b=_0x4d3836[_0x4cae65(0x4d3)])!=null?_0x3f425b:this[_0x4cae65(0x3f4)],this[_0x4cae65(0x60d)]=(_0x100756=_0x4d3836['hovered'])!=null?_0x100756:this['_hovered'],this[_0x4cae65(0x44a)]=(_0x246c63=_0x4d3836[_0x4cae65(0x292)])!=null?_0x246c63:this[_0x4cae65(0x44a)],this['_name']=(_0x4fa317=_0x4d3836[_0x4cae65(0x61e)])!=null?_0x4fa317:this[_0x4cae65(0x615)],this[_0x4cae65(0x5cb)]=(_0x131663=_0x4d3836['labelPosition'])!=null?_0x131663:this[_0x4cae65(0x5cb)],this['_backgroundColor']=(_0x40870d=_0x4d3836['backgroundColor'])!=null?_0x40870d:this[_0x4cae65(0x65b)],this[_0x4cae65(0x348)]({'width':_0x4d3836[_0x4cae65(0x4ea)],'height':_0x4d3836[_0x4cae65(0x63b)]});}[_0x3a00cb(0x5cc)](_0x31fdce){const _0x16d966=_0x3a00cb,{row:_0x261ebd,column:_0x37120c}=_0x31fdce;if(_0x261ebd>=this['_range']['startRow']&&_0x261ebd<=this[_0x16d966(0x44a)][_0x16d966(0x449)]&&_0x37120c>=this[_0x16d966(0x44a)][_0x16d966(0x3cb)]&&_0x37120c<=this['_range'][_0x16d966(0x682)]){this[_0x16d966(0x607)]({'hovered':!0x0});return;}this[_0x16d966(0x607)]({'hovered':!0x1});}[_0x3a00cb(0x4af)](_0x5a43a3){return!0x1;}[_0x3a00cb(0x468)](_0x256561){const _0x1f6390=_0x3a00cb;_0x15986e[_0x1f6390(0x3b4)][_0x1f6390(0x575)](_0x256561,{'width':this[_0x1f6390(0x4ea)],'height':this[_0x1f6390(0x63b)],'strokeWidth':_0x406a1a,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1f6390(0x65b)]}),this[_0x1f6390(0x60d)]&&(_0x256561['save'](),_0x256561[_0x1f6390(0x443)](0x1,0x0,0x0,0x1,this[_0x1f6390(0x4ea)],this[_0x1f6390(0x5cb)]==='bottom'?0x0:-_0x46d308),_0x22a80c[_0x1f6390(0x575)](_0x256561,{'text':this['_name'],'color':this[_0x1f6390(0x3f4)]}),_0x256561[_0x1f6390(0x409)]());}}var _0x2a270a=Object[_0x3a00cb(0x43c)],_0x254754=Object[_0x3a00cb(0x637)],_0xc00fcf=(_0x5a4f00,_0x3a36ab,_0x2f7fc2,_0x54855e)=>{const _0x39fbe8=_0x3a00cb;for(var _0x1d1985=_0x54855e>0x1?void 0x0:_0x54855e?_0x254754(_0x3a36ab,_0x2f7fc2):_0x3a36ab,_0x4c273e=_0x5a4f00[_0x39fbe8(0x422)]-0x1,_0x2e4eff;_0x4c273e>=0x0;_0x4c273e--)(_0x2e4eff=_0x5a4f00[_0x4c273e])&&(_0x1d1985=(_0x54855e?_0x2e4eff(_0x3a36ab,_0x2f7fc2,_0x1d1985):_0x2e4eff(_0x1d1985))||_0x1d1985);return _0x54855e&&_0x1d1985&&_0x2a270a(_0x3a36ab,_0x2f7fc2,_0x1d1985),_0x1d1985;},_0x460373=(_0x417044,_0x5d50bd)=>(_0x16f3fd,_0x550165)=>_0x5d50bd(_0x16f3fd,_0x550165,_0x417044);const _0x9ba78c=0x1389;let _0x48b70f=class extends _0x1330ba['RxDisposable']{constructor(_0x571de3,_0x3fa72c,_0x400e17,_0x12fe18){const _0xc8b07=_0x3a00cb;super(),_0x2eb009(this,'_cursors',new Set()),_0x2eb009(this,'_lastPointer',null),(this[_0xc8b07(0x503)]=_0x571de3,this[_0xc8b07(0x45d)]=_0x3fa72c,this[_0xc8b07(0x4c7)]=_0x400e17,this['_themeService']=_0x12fe18,this[_0xc8b07(0x663)]());}[_0x3a00cb(0x663)](){const _0x4e7093=_0x3a00cb;this[_0x4e7093(0x45d)]['currentSkeleton$']['pipe'](_0xc13278['takeUntil'](this['dispose$']),_0xc13278[_0x4e7093(0x313)](_0x3126be=>{const _0x18dd21=_0x4e7093;if(_0x3126be){const _0x436698=_0x3126be[_0x18dd21(0x51d)];return _0x1eddba[_0x18dd21(0x3da)](this[_0x18dd21(0x4c7)][_0x18dd21(0x330)](this[_0x18dd21(0x503)][_0x18dd21(0x643)]),this['_themeService']['currentTheme$'])[_0x18dd21(0x3a2)](_0xc13278[_0x18dd21(0x568)](([_0x597faf,_0x2eb395])=>{const _0x28e09f=_0x18dd21,_0x19b07c=new Map();return _0x597faf[_0x28e09f(0x303)]((_0xc195cc,_0x1b30d2)=>{const _0x558592=_0x28e09f;if(_0xc195cc[_0x558592(0x50e)]===_0x436698){const _0x5f0b16={..._0xc195cc};_0x5f0b16[_0x558592(0x4d3)]=_0x2eb395[_0xc195cc[_0x558592(0x4d3)]],_0x19b07c[_0x558592(0x4cf)](_0x1b30d2,_0x5f0b16);}}),{'skeleton':_0x3126be,'cursors':_0x19b07c};}));}return _0x1eddba['of']({'skeleton':null,'cursors':new Map()});}))[_0x4e7093(0x21f)](({skeleton:_0x32f23f,cursors:_0x2b0865})=>{const _0x37a2f9=_0x4e7093;this[_0x37a2f9(0x541)](),_0x32f23f&&this[_0x37a2f9(0x371)](_0x32f23f,_0x2b0865);}),this[_0x4e7093(0x45d)][_0x4e7093(0x4be)]['subscribe'](_0x2dec05=>{const _0x5ba86f=_0x4e7093;if(_0x2dec05==null)return;const {skeleton:_0x2efab9}=_0x2dec05,{scene:_0x37565c}=this['_context'];_0x37565c[_0x5ba86f(0x60b)][_0x5ba86f(0x29b)](_0x1330ba[_0x5ba86f(0x567)](_0x3cd725=>{const _0x57ebf1=_0x5ba86f;var _0x379b0a,_0x34dd54;const {offsetX:_0x4da312,offsetY:_0x16294f}=_0x3cd725,{x:_0x5b9127,y:_0x4a220}=_0x37565c[_0x57ebf1(0x4f5)](_0x15986e[_0x57ebf1(0x41b)][_0x57ebf1(0x68d)]([_0x4da312,_0x16294f])),{scaleX:_0x202963,scaleY:_0x2750e3}=_0x37565c[_0x57ebf1(0x67c)](),_0x3d9640=_0x37565c[_0x57ebf1(0x5e4)](_0x24028a['VIEWPORT_KEY'][_0x57ebf1(0x37a)]),_0x3233b8=_0x37565c[_0x57ebf1(0x63f)](_0x15986e[_0x57ebf1(0x41b)][_0x57ebf1(0x68d)]([_0x5b9127,_0x4a220]),_0x3d9640),_0x214aca=_0x2efab9['getCellPositionByOffset'](_0x4da312,_0x16294f,_0x202963,_0x2750e3,_0x3233b8);((_0x379b0a=this[_0x57ebf1(0x66b)])==null?void 0x0:_0x379b0a[_0x57ebf1(0x692)])===_0x214aca[_0x57ebf1(0x692)]&&((_0x34dd54=this[_0x57ebf1(0x66b)])==null?void 0x0:_0x34dd54[_0x57ebf1(0x68e)])===_0x214aca[_0x57ebf1(0x68e)]||this['_cursors'][_0x57ebf1(0x303)](_0x568e9d=>{const _0x48ba3b=_0x57ebf1;_0x568e9d[_0x48ba3b(0x5cc)](_0x214aca);});},0x64));});}['_updateCollabCursors'](_0x5db1ba,_0x15eb02){const _0x334611=_0x3a00cb;var _0x86c0;const _0x27fe3f=(_0x86c0=this[_0x334611(0x45d)]['getCurrent']())==null?void 0x0:_0x86c0['skeleton'];if(!_0x27fe3f)return;const _0x33afa3=this[_0x334611(0x631)]();if(!_0x33afa3)return;this[_0x334611(0x473)]['forEach'](_0x3a85e6=>{const _0x7ab541=_0x334611;_0x3a85e6[_0x7ab541(0x2b1)]();});const {scene:_0x4b2d05}=_0x33afa3,_0x1ebf3b=_0x4e350a(Array[_0x334611(0x5ff)](_0x15eb02[_0x334611(0x2b5)]()))[_0x334611(0x568)](_0x2f452f=>{const _0x92f376=_0x334611,{color:_0x2c528d,range:_0x518b09,name:_0x3d3302,selection:_0x441908,sheetID:_0x4fb88a}=_0x2f452f,{startColumn:_0x21ef5e,startRow:_0x2de78c,endColumn:_0x5e0d07,endRow:_0x5f2d7b}=_0x518b09,_0x3c782e=_0x24028a[_0x92f376(0x5b0)](_0x2de78c,_0x21ef5e,_0x4b2d05,_0x27fe3f),_0x372a20=_0x24028a['getCoordByCell'](_0x5f2d7b,_0x5e0d07,_0x4b2d05,_0x27fe3f),{columnHeaderHeightAndMarginTop:_0x473b31}=_0x27fe3f,{startX:_0x3cf56e,startY:_0x149765}=_0x3c782e,{endX:_0x12dadc,endY:_0x4d4611}=_0x372a20,_0x98a154=_0x12dadc-_0x3cf56e,_0x302cbe=_0x4d4611-_0x149765,_0x58c598={'labelPosition':_0x149765-_0x473b31>=_0x46d308?_0x92f376(0x46f):_0x92f376(0x620),'sheetID':_0x4fb88a,'range':_0x518b09,'color':_0x2c528d,'name':_0x3d3302,'selection':_0x441908,'left':_0x3cf56e,'top':_0x149765,'width':_0x98a154,'height':_0x302cbe,'evented':!0x1,'zIndex':_0x9ba78c};return new _0x30ed8a(_0x3d3302,_0x58c598);});_0x4b2d05['addObjects'](_0x1ebf3b,_0x52b9a4),this[_0x334611(0x473)]=new Set(_0x1ebf3b);}[_0x3a00cb(0x541)](){const _0x7c9d21=_0x3a00cb;var _0x1b4c71;(_0x1b4c71=this[_0x7c9d21(0x473)])==null||_0x1b4c71['forEach'](_0x303197=>_0x303197[_0x7c9d21(0x41f)]());}[_0x3a00cb(0x631)](){const _0x3dfd69=_0x3a00cb;return _0x24028a[_0x3dfd69(0x2f9)](this['_context']['unit'],this[_0x3dfd69(0x503)]);}};_0x48b70f=_0xc00fcf([_0x460373(0x1,_0x1330ba['Inject'](_0x24028a[_0x3a00cb(0x55b)])),_0x460373(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x4c1561)),_0x460373(0x3,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x31a)]))],_0x48b70f);function _0x4e350a(_0x3edc53){const _0x57e954=_0x3a00cb,_0x280c6b=new Map();return _0x3edc53['forEach'](_0x307e9a=>{const _0x29d3cc=_0x5f13;if(_0x280c6b[_0x29d3cc(0x42a)](_0x307e9a[_0x29d3cc(0x2c9)])){const _0x2abade=_0x280c6b[_0x29d3cc(0x4bf)](_0x307e9a[_0x29d3cc(0x2c9)]);_0x2abade[_0x29d3cc(0x61e)]+=',\x20'+_0x307e9a['name'];}else _0x280c6b[_0x29d3cc(0x4cf)](_0x307e9a[_0x29d3cc(0x2c9)],_0x307e9a);}),Array[_0x57e954(0x5ff)](_0x280c6b[_0x57e954(0x2b5)]());}var _0x4194df=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5d4b7b(_0x414319){const _0x1daf08=_0x3a00cb;return _0x414319&&_0x414319[_0x1daf08(0x3f3)]&&Object['prototype'][_0x1daf08(0x5f7)][_0x1daf08(0x42b)](_0x414319,_0x1daf08(0x451))?_0x414319[_0x1daf08(0x451)]:_0x414319;}var _0x138b79={'exports':{}},_0x3bd2c4={},_0x1c5267=_0x25a8dc,_0x32b3b6=Symbol[_0x3a00cb(0x379)](_0x3a00cb(0x563)),_0x1f7ba1=Symbol[_0x3a00cb(0x379)]('react.fragment'),_0x4a576f=Object[_0x3a00cb(0x50a)][_0x3a00cb(0x5f7)],_0x4904fc=_0x1c5267['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3a00cb(0x5e5)],_0xb9426f={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x2f3e0f(_0x3bab20,_0x5d9734,_0x18c839){const _0x36b3e7=_0x3a00cb;var _0xaaf248,_0x21554e={},_0x1a50c1=null,_0x4cbb3f=null;_0x18c839!==void 0x0&&(_0x1a50c1=''+_0x18c839),_0x5d9734[_0x36b3e7(0x444)]!==void 0x0&&(_0x1a50c1=''+_0x5d9734[_0x36b3e7(0x444)]),_0x5d9734['ref']!==void 0x0&&(_0x4cbb3f=_0x5d9734[_0x36b3e7(0x5b5)]);for(_0xaaf248 in _0x5d9734)_0x4a576f[_0x36b3e7(0x42b)](_0x5d9734,_0xaaf248)&&!_0xb9426f[_0x36b3e7(0x5f7)](_0xaaf248)&&(_0x21554e[_0xaaf248]=_0x5d9734[_0xaaf248]);if(_0x3bab20&&_0x3bab20[_0x36b3e7(0x64e)]){for(_0xaaf248 in(_0x5d9734=_0x3bab20['defaultProps'],_0x5d9734))_0x21554e[_0xaaf248]===void 0x0&&(_0x21554e[_0xaaf248]=_0x5d9734[_0xaaf248]);}return{'$$typeof':_0x32b3b6,'type':_0x3bab20,'key':_0x1a50c1,'ref':_0x4cbb3f,'props':_0x21554e,'_owner':_0x4904fc[_0x36b3e7(0x299)]};}_0x3bd2c4[_0x3a00cb(0x2d4)]=_0x1f7ba1,_0x3bd2c4[_0x3a00cb(0x479)]=_0x2f3e0f,_0x3bd2c4[_0x3a00cb(0x61c)]=_0x2f3e0f,_0x138b79['exports']=_0x3bd2c4;var _0x315f9e=_0x138b79[_0x3a00cb(0x5a8)],_0xb7298b=function(){const _0x5d49cd=_0x3a00cb;return _0xb7298b=Object[_0x5d49cd(0x654)]||function(_0x3b588a){const _0x10e17a=_0x5d49cd;for(var _0x381e31,_0x2ea582=0x1,_0x29d4ea=arguments['length'];_0x2ea582<_0x29d4ea;_0x2ea582++){_0x381e31=arguments[_0x2ea582];for(var _0x3dbd68 in _0x381e31)Object[_0x10e17a(0x50a)][_0x10e17a(0x5f7)]['call'](_0x381e31,_0x3dbd68)&&(_0x3b588a[_0x3dbd68]=_0x381e31[_0x3dbd68]);}return _0x3b588a;},_0xb7298b[_0x5d49cd(0x48d)](this,arguments);},_0x28a5a1=function(_0x276810,_0xc53c7e){const _0x2c10a2=_0x3a00cb;var _0x5015a2={};for(var _0xd66a61 in _0x276810)Object['prototype'][_0x2c10a2(0x5f7)][_0x2c10a2(0x42b)](_0x276810,_0xd66a61)&&_0xc53c7e[_0x2c10a2(0x382)](_0xd66a61)<0x0&&(_0x5015a2[_0xd66a61]=_0x276810[_0xd66a61]);if(_0x276810!=null&&typeof Object[_0x2c10a2(0x355)]=='function'){for(var _0x1557f7=0x0,_0xd66a61=Object[_0x2c10a2(0x355)](_0x276810);_0x1557f7<_0xd66a61[_0x2c10a2(0x422)];_0x1557f7++)_0xc53c7e['indexOf'](_0xd66a61[_0x1557f7])<0x0&&Object[_0x2c10a2(0x50a)]['propertyIsEnumerable'][_0x2c10a2(0x42b)](_0x276810,_0xd66a61[_0x1557f7])&&(_0x5015a2[_0xd66a61[_0x1557f7]]=_0x276810[_0xd66a61[_0x1557f7]]);}return _0x5015a2;},_0x10ad6f=_0x25a8dc[_0x3a00cb(0x3df)](function(_0x430302,_0x2f3f55){const _0x8c6677=_0x3a00cb;var _0x56e4f4=_0x430302[_0x8c6677(0x5c1)],_0x3b31b6=_0x430302['id'],_0x917132=_0x430302['className'],_0x4f4d88=_0x430302['extend'],_0x4570b1=_0x28a5a1(_0x430302,[_0x8c6677(0x5c1),'id',_0x8c6677(0x477),'extend']),_0x2c2001=_0x8c6677(0x5c9)[_0x8c6677(0x549)](_0x3b31b6,'\x20')[_0x8c6677(0x549)](_0x917132||'')[_0x8c6677(0x616)](),_0xe81a55=_0x25a8dc[_0x8c6677(0x2d0)]('_'[_0x8c6677(0x549)](_0x388608()));return _0x23d2c7(_0x56e4f4,''['concat'](_0x3b31b6),{'defIds':_0x56e4f4[_0x8c6677(0x5d4)],'idSuffix':_0xe81a55[_0x8c6677(0x299)]},_0xb7298b({'ref':_0x2f3f55,'className':_0x2c2001},_0x4570b1),_0x4f4d88);});function _0x23d2c7(_0x4ddfe3,_0x5162e2,_0x53eacf,_0x5b09eb,_0x485026){const _0x2962d6=_0x3a00cb;return _0x25a8dc['createElement'](_0x4ddfe3[_0x2962d6(0x2f8)],_0xb7298b(_0xb7298b({'key':_0x5162e2},_0x57e7d5(_0x4ddfe3,_0x53eacf,_0x485026)),_0x5b09eb),(_0x2de0d9(_0x4ddfe3,_0x53eacf)[_0x2962d6(0x687)]||[])[_0x2962d6(0x568)](function(_0x562350,_0x3a8c3f){const _0x4b3ba5=_0x2962d6;return _0x23d2c7(_0x562350,''[_0x4b3ba5(0x549)](_0x5162e2,'-')[_0x4b3ba5(0x549)](_0x4ddfe3[_0x4b3ba5(0x2f8)],'-')[_0x4b3ba5(0x549)](_0x3a8c3f),_0x53eacf,void 0x0,_0x485026);}));}function _0x57e7d5(_0x24956c,_0x393719,_0x38384e){const _0x4c906d=_0x3a00cb;var _0x295548=_0xb7298b({},_0x24956c[_0x4c906d(0x472)]);_0x38384e!=null&&_0x38384e['colorChannel1']&&_0x295548['fill']===_0x4c906d(0x640)&&(_0x295548[_0x4c906d(0x5f1)]=_0x38384e[_0x4c906d(0x640)]);var _0xadcb74=_0x393719[_0x4c906d(0x5d4)];return!_0xadcb74||_0xadcb74[_0x4c906d(0x422)]===0x0||(_0x24956c[_0x4c906d(0x2f8)]===_0x4c906d(0x2ff)&&_0x295548['xlink:href']&&(_0x295548[_0x4c906d(0x652)]=_0x295548['xlink:href']+_0x393719[_0x4c906d(0x558)]),Object[_0x4c906d(0x394)](_0x295548)['forEach'](function(_0xbf93a2){const _0x14de13=_0x4c906d;var _0x43d658=_0xbf93a2[0x0],_0x2b5bcb=_0xbf93a2[0x1];typeof _0x2b5bcb==_0x14de13(0x2b4)&&(_0x295548[_0x43d658]=_0x2b5bcb[_0x14de13(0x209)](/url\(#(.*)\)/,_0x14de13(0x4aa)['concat'](_0x393719[_0x14de13(0x558)],')')));})),_0x295548;}function _0x2de0d9(_0x460917,_0x1497f4){const _0xcf1ddc=_0x3a00cb;var _0x562b58,_0xbd4ddf=_0x1497f4[_0xcf1ddc(0x5d4)];return!_0xbd4ddf||_0xbd4ddf[_0xcf1ddc(0x422)]===0x0?_0x460917:_0x460917['tag']===_0xcf1ddc(0x328)&&(!((_0x562b58=_0x460917[_0xcf1ddc(0x687)])===null||_0x562b58===void 0x0)&&_0x562b58['length'])?_0xb7298b(_0xb7298b({},_0x460917),{'children':_0x460917[_0xcf1ddc(0x687)][_0xcf1ddc(0x568)](function(_0xab25bc){const _0x3716f5=_0xcf1ddc;return typeof _0xab25bc[_0x3716f5(0x472)]['id']=='string'&&_0xbd4ddf&&_0xbd4ddf[_0x3716f5(0x382)](_0xab25bc['attrs']['id'])>-0x1?_0xb7298b(_0xb7298b({},_0xab25bc),{'attrs':_0xb7298b(_0xb7298b({},_0xab25bc[_0x3716f5(0x472)]),{'id':_0xab25bc[_0x3716f5(0x472)]['id']+_0x1497f4[_0x3716f5(0x558)]})}):_0xab25bc;})}):_0x460917;}function _0x388608(){const _0x416386=_0x3a00cb;return Math[_0x416386(0x4ab)]()[_0x416386(0x3fd)](0x24)['substring'](0x2,0x8);}_0x10ad6f[_0x3a00cb(0x338)]=_0x3a00cb(0x231);var _0x8261d={'tag':_0x3a00cb(0x5f2),'attrs':{'fill':_0x3a00cb(0x331),'viewBox':'0\x200\x2016\x2016','width':_0x3a00cb(0x557),'height':_0x3a00cb(0x557)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a00cb(0x2e4)},'children':[{'tag':_0x3a00cb(0x61d),'attrs':{'stroke':_0x3a00cb(0x425),'d':_0x3a00cb(0x581),'strokeLinecap':_0x3a00cb(0x264),'strokeLinejoin':_0x3a00cb(0x264),'strokeWidth':1.2}}]},{'tag':_0x3a00cb(0x328),'attrs':{},'children':[{'tag':_0x3a00cb(0x4b9),'attrs':{'id':_0x3a00cb(0x574)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x3a00cb(0x440)}}]}]}],'defIds':[_0x3a00cb(0x574)]},_0x30e532=_0x25a8dc['forwardRef'](function(_0x314836,_0x41acdd){const _0x5cb451=_0x3a00cb;return _0x25a8dc['createElement'](_0x10ad6f,Object[_0x5cb451(0x654)]({},_0x314836,{'id':_0x5cb451(0x1f0),'ref':_0x41acdd,'icon':_0x8261d}));});_0x30e532['displayName']='OffLineSingle';var _0x2beced={'tag':_0x3a00cb(0x5f2),'attrs':{'fill':_0x3a00cb(0x331),'viewBox':_0x3a00cb(0x5c8),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a00cb(0x1ec)},'children':[{'tag':_0x3a00cb(0x61d),'attrs':{'stroke':_0x3a00cb(0x425),'d':_0x3a00cb(0x4d2),'strokeLinecap':_0x3a00cb(0x264),'strokeLinejoin':_0x3a00cb(0x264),'strokeWidth':1.2}}]},{'tag':_0x3a00cb(0x328),'attrs':{},'children':[{'tag':_0x3a00cb(0x4b9),'attrs':{'id':_0x3a00cb(0x20f)},'children':[{'tag':_0x3a00cb(0x61d),'attrs':{'fill':'#fff','d':_0x3a00cb(0x440),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x4f3c52=_0x25a8dc[_0x3a00cb(0x3df)](function(_0x4b8863,_0x4636bd){const _0x690300=_0x3a00cb;return _0x25a8dc['createElement'](_0x10ad6f,Object[_0x690300(0x654)]({},_0x4b8863,{'id':_0x690300(0x565),'ref':_0x4636bd,'icon':_0x2beced}));});_0x4f3c52['displayName']=_0x3a00cb(0x366);function _0x4c4483(_0x2172b5){const _0x4d3fd7=_0x3a00cb;var _0x62bcee,_0x149b51,_0x3d5cd7='';if(typeof _0x2172b5=='string'||typeof _0x2172b5=='number')_0x3d5cd7+=_0x2172b5;else{if(typeof _0x2172b5==_0x4d3fd7(0x51e)){if(Array[_0x4d3fd7(0x519)](_0x2172b5)){var _0x47b9eb=_0x2172b5[_0x4d3fd7(0x422)];for(_0x62bcee=0x0;_0x62bcee<_0x47b9eb;_0x62bcee++)_0x2172b5[_0x62bcee]&&(_0x149b51=_0x4c4483(_0x2172b5[_0x62bcee]))&&(_0x3d5cd7&&(_0x3d5cd7+='\x20'),_0x3d5cd7+=_0x149b51);}else{for(_0x149b51 in _0x2172b5)_0x2172b5[_0x149b51]&&(_0x3d5cd7&&(_0x3d5cd7+='\x20'),_0x3d5cd7+=_0x149b51);}}}return _0x3d5cd7;}function _0x22794a(){const _0x33d901=_0x3a00cb;for(var _0x400e07,_0x298716,_0x12f4aa=0x0,_0x3e0668='',_0x58bcd1=arguments[_0x33d901(0x422)];_0x12f4aa<_0x58bcd1;_0x12f4aa++)(_0x400e07=arguments[_0x12f4aa])&&(_0x298716=_0x4c4483(_0x400e07))&&(_0x3e0668&&(_0x3e0668+='\x20'),_0x3e0668+=_0x298716);return _0x3e0668;}const _0x1072cb={'onlineStatusIcon':_0x3a00cb(0x245),'onlineStatusTitle':_0x3a00cb(0x413),'onlineStatus':'univer-online-status','online':_0x3a00cb(0x593),'offline':_0x3a00cb(0x55a)};function _0x114eb3(_0x3d5407){const _0x37c5fb=_0x3a00cb;switch(_0x3d5407){case _0x3650d6['OFFLINE']:return _0x37c5fb(0x4f0);case _0x3650d6[_0x37c5fb(0x23a)]:return _0x37c5fb(0x25f);case _0x3650d6[_0x37c5fb(0x437)]:return _0x37c5fb(0x65d);case _0x3650d6[_0x37c5fb(0x3e9)]:return _0x37c5fb(0x544);case _0x3650d6[_0x37c5fb(0x318)]:case _0x3650d6[_0x37c5fb(0x68f)]:return _0x37c5fb(0x461);case _0x3650d6[_0x37c5fb(0x56c)]:case _0x3650d6['PENDING']:return _0x37c5fb(0x218);}}function _0x1f6a66(_0x22f78e){const _0x4e6a60=_0x3a00cb,{status$:_0x4e131a}=_0x22f78e,_0x165d6a=_0x5d5dd2[_0x4e6a60(0x347)](_0x4e131a,_0x3650d6['NOT_COLLAB']),_0x4812bf=_0x1330ba['useDependency'](_0x1330ba[_0x4e6a60(0x627)]),_0x294525=_0x1330ba[_0x4e6a60(0x3b3)](_0x5aeb12[_0x4e6a60(0x2c3)]),_0x48bb5c=_0x165d6a!==_0x3650d6[_0x4e6a60(0x395)],_0x4ced69=_0x4812bf['t'](_0x114eb3(_0x165d6a)),_0x21e38f=_0x22794a(_0x1072cb[_0x4e6a60(0x273)],{[_0x1072cb[_0x4e6a60(0x550)]]:_0x48bb5c,[_0x1072cb['offline']]:!_0x48bb5c}),_0x5a1092=_0x48bb5c?_0x315f9e['jsx'](_0x4f3c52,{}):_0x315f9e[_0x4e6a60(0x479)](_0x30e532,{}),_0x4714b6=_0x25a8dc[_0x4e6a60(0x24b)](()=>{const _0x5d94d5=_0x4e6a60;_0x48bb5c||_0x294525[_0x5d94d5(0x40b)]();},[_0x48bb5c,_0x294525]);function _0x1f5767(){const _0x47592c=_0x4e6a60;return _0x315f9e[_0x47592c(0x61c)](_0x47592c(0x4d0),{'className':_0x21e38f,'onClick':_0x4714b6,'children':[_0x315f9e[_0x47592c(0x479)](_0x47592c(0x4d0),{'className':_0x1072cb['onlineStatusIcon'],'children':_0x5a1092}),_0x315f9e[_0x47592c(0x479)](_0x47592c(0x4d0),{'className':_0x1072cb['onlineStatusTitle'],'children':_0x4ced69})]});}return _0x48bb5c?_0x1f5767():_0x315f9e['jsx'](_0x5934c8[_0x4e6a60(0x42f)],{'title':_0x4812bf['t']('collab-client.tooltip.reconnect'),'children':_0x1f5767()});}var _0x55f372=Object[_0x3a00cb(0x43c)],_0x16b6d5=Object[_0x3a00cb(0x637)],_0x15e4c9=(_0x4beb3f,_0x3a09c2,_0x13fc9,_0x413716)=>{for(var _0xfb1ac3=_0x413716>0x1?void 0x0:_0x413716?_0x16b6d5(_0x3a09c2,_0x13fc9):_0x3a09c2,_0x147ff3=_0x4beb3f['length']-0x1,_0x5a96ed;_0x147ff3>=0x0;_0x147ff3--)(_0x5a96ed=_0x4beb3f[_0x147ff3])&&(_0xfb1ac3=(_0x413716?_0x5a96ed(_0x3a09c2,_0x13fc9,_0xfb1ac3):_0x5a96ed(_0xfb1ac3))||_0xfb1ac3);return _0x413716&&_0xfb1ac3&&_0x55f372(_0x3a09c2,_0x13fc9,_0xfb1ac3),_0xfb1ac3;},_0x4e1488=(_0x46ca8b,_0x3db391)=>(_0x43e0a5,_0x140a63)=>_0x3db391(_0x43e0a5,_0x140a63,_0x46ca8b);_0x5aeb12[_0x3a00cb(0x2bd)]=class extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(_0x1acbc0,_0xecc1c8,_0x46ba17,_0x373d7d){const _0x3e8f3f=_0x3a00cb;super(),_0x2eb009(this,'_status$',new _0x1eddba[(_0x3e8f3f(0x332))](_0x3650d6[_0x3e8f3f(0x3e9)])),(this[_0x3e8f3f(0x227)]=_0x1acbc0,this[_0x3e8f3f(0x4e5)]=_0xecc1c8,this[_0x3e8f3f(0x226)]=_0x46ba17,this[_0x3e8f3f(0x314)]=_0x373d7d,this['_initStatusComponent'](),this[_0x3e8f3f(0x372)]());}['_initStatusListener'](){const _0x599538=_0x3a00cb;this[_0x599538(0x63e)](this[_0x599538(0x227)][_0x599538(0x66e)]['pipe'](_0x1eddba[_0x599538(0x313)](()=>{const _0x32e18d=_0x599538,_0x8f9a34=this[_0x32e18d(0x227)][_0x32e18d(0x618)]();return _0x8f9a34?this['_collaborationController'][_0x32e18d(0x2c7)](_0x8f9a34['getUnitId']()):_0x1eddba['of'](null);}),_0x1eddba[_0x599538(0x313)](_0x4a5a35=>_0x4a5a35?_0x4a5a35[_0x599538(0x69d)]:_0x1eddba['of'](_0x3650d6[_0x599538(0x3e9)])))[_0x599538(0x21f)](_0x3f693d=>{const _0x4aa205=_0x599538;this['_status$'][_0x4aa205(0x2d5)](_0x3f693d);}));}['_initStatusComponent'](){const _0x3ca361=_0x3a00cb;this[_0x3ca361(0x63e)](this[_0x3ca361(0x4e5)][_0x3ca361(0x5a7)](_0x5d5dd2[_0x3ca361(0x407)]['HEADER_MENU'],()=>_0x1330ba[_0x3ca361(0x403)](_0x202205({'status$':this[_0x3ca361(0x603)][_0x3ca361(0x518)]()}),this[_0x3ca361(0x226)])));}},_0x5aeb12[_0x3a00cb(0x2bd)]=_0x15e4c9([_0x4e1488(0x0,_0x1330ba[_0x3a00cb(0x5ce)]),_0x4e1488(0x1,_0x5d5dd2['IUIPartsService']),_0x4e1488(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['Injector'])),_0x4e1488(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x3d5)]))],_0x5aeb12[_0x3a00cb(0x2bd)]);function _0x202205(_0x2532ca){const {status$:_0x4562e6}=_0x2532ca;return function(){const _0x3c935a=_0x5f13;return _0x315f9e[_0x3c935a(0x479)](_0x1f6a66,{'status$':_0x4562e6});};}const _0x561810=_0x1330ba['createIdentifier'](_0x3a00cb(0x49b));var _0x368311=Object[_0x3a00cb(0x43c)],_0x34fea5=Object['getOwnPropertyDescriptor'],_0x3eb8b7=(_0x3e29bf,_0x44103f,_0xb7f4e9,_0x2409f7)=>{const _0x2f5c61=_0x3a00cb;for(var _0x364d7b=_0x2409f7>0x1?void 0x0:_0x2409f7?_0x34fea5(_0x44103f,_0xb7f4e9):_0x44103f,_0x474bef=_0x3e29bf[_0x2f5c61(0x422)]-0x1,_0x23e650;_0x474bef>=0x0;_0x474bef--)(_0x23e650=_0x3e29bf[_0x474bef])&&(_0x364d7b=(_0x2409f7?_0x23e650(_0x44103f,_0xb7f4e9,_0x364d7b):_0x23e650(_0x364d7b))||_0x364d7b);return _0x2409f7&&_0x364d7b&&_0x368311(_0x44103f,_0xb7f4e9,_0x364d7b),_0x364d7b;},_0x3ef480=(_0x12fb36,_0x31b36d)=>(_0x332785,_0x5250ee)=>_0x31b36d(_0x332785,_0x5250ee,_0x12fb36);_0x5aeb12[_0x3a00cb(0x3cd)]=class extends _0x1330ba[_0x3a00cb(0x560)]{constructor(_0x16779d,_0x408ba7,_0xc086f9,_0x369fe6,_0x20b8d3,_0x5c363f){const _0x51d459=_0x3a00cb;super(),this['_urlService']=_0x16779d,this[_0x51d459(0x405)]=_0x408ba7,this[_0x51d459(0x660)]=_0xc086f9,this[_0x51d459(0x55f)]=_0x369fe6,this[_0x51d459(0x38f)]=_0x20b8d3,_0x5c363f?_0x5c363f==null||_0x5c363f[_0x51d459(0x564)]()[_0x51d459(0x694)](()=>this[_0x51d459(0x663)]()):(this['_logService'][_0x51d459(0x507)](_0x51d459(0x485),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x51d459(0x663)]());}async[_0x3a00cb(0x663)](){const _0x41a477=_0x3a00cb,_0x44576b=this[_0x41a477(0x597)]['getParam']('unit'),_0x5acf2b=this[_0x41a477(0x597)][_0x41a477(0x204)](_0x41a477(0x651));if(!_0x44576b||!_0x5acf2b){this[_0x41a477(0x405)][_0x41a477(0x507)](_0x41a477(0x485),_0x41a477(0x2a7));return;}switch(Number(_0x5acf2b)){case _0x2d6857[_0x41a477(0x3b6)]:{const _0x259740=await this['_loadSheet'](_0x44576b);this[_0x41a477(0x2dd)](_0x259740);break;}case _0x2d6857[_0x41a477(0x65c)]:{await this[_0x41a477(0x200)](_0x44576b);break;}default:{this['_logService'][_0x41a477(0x50f)]('[DataLoaderController]',_0x41a477(0x566));break;}}}async[_0x3a00cb(0x2dd)](_0x20b395){const _0x234706=_0x3a00cb;await this[_0x234706(0x50d)](_0x20b395),_0x20b395['activeSheet$']['pipe'](_0x1eddba[_0x234706(0x28a)](this[_0x234706(0x2f0)]))[_0x234706(0x21f)](_0x567574=>{_0x567574&&this['_updateURLWithCurrentState'](_0x567574);}),this[_0x234706(0x597)]['urlChange$'][_0x234706(0x3a2)](_0x1eddba['takeUntil'](this[_0x234706(0x2f0)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x20b395));}[_0x3a00cb(0x216)](_0x2bac85,_0x200a29=!0x1){const _0x541100=_0x3a00cb,_0x5274d4=this['_urlService'][_0x541100(0x204)](_0x541100(0x3b8));_0x2bac85[_0x541100(0x30b)]()!==_0x5274d4&&this[_0x541100(0x597)][_0x541100(0x435)](_0x541100(0x3b8),_0x2bac85['getSheetId'](),_0x200a29);}async[_0x3a00cb(0x50d)](_0x52e94d){const _0x2e1153=_0x3a00cb;var _0x138ee1;const _0xd0dccb=this[_0x2e1153(0x597)][_0x2e1153(0x204)]('subunit');if(!_0xd0dccb||!_0x52e94d['getSheetBySheetId'](_0xd0dccb)){const _0x115286=_0x52e94d[_0x2e1153(0x2c4)]()[0x0],_0x5332e9=_0x52e94d[_0x2e1153(0x697)](_0x115286);if(!_0x5332e9)return;this[_0x2e1153(0x216)](_0x5332e9,!0x0),await this[_0x2e1153(0x660)][_0x2e1153(0x569)](_0x5ca8f8[_0x2e1153(0x315)]['id'],{'unitId':_0x52e94d[_0x2e1153(0x259)](),'subUnitId':_0x115286});return;}((_0x138ee1=_0x52e94d[_0x2e1153(0x3d7)]())==null?void 0x0:_0x138ee1[_0x2e1153(0x30b)]())!==_0xd0dccb&&await this[_0x2e1153(0x660)][_0x2e1153(0x569)](_0x5ca8f8['SetWorksheetActivateCommand']['id'],{'unitId':_0x52e94d[_0x2e1153(0x259)](),'subUnitId':_0xd0dccb});}async[_0x3a00cb(0x5de)](_0x471595){const _0x3321c4=_0x3a00cb;let _0x3010e2=0x0;const _0x267684=await this[_0x3321c4(0x55f)]['loadOfflineData'](_0x471595);return _0x267684&&(_0x267684['awaitingChangeset']||_0x267684[_0x3321c4(0x1f3)][_0x3321c4(0x422)]!==0x0)&&(_0x3010e2=_0x267684[_0x3321c4(0x666)]),_0x3010e2===0x0&&this[_0x3321c4(0x405)][_0x3321c4(0x507)](_0x3321c4(0x485),_0x3321c4(0x674)),this[_0x3321c4(0x38f)]['loadSheet'](_0x471595,_0x3010e2);}async[_0x3a00cb(0x200)](_0x2828a6){const _0x115d60=_0x3a00cb;let _0x2af361=0x0;const _0x37485=await this[_0x115d60(0x55f)]['loadOfflineData'](_0x2828a6);return _0x37485&&(_0x37485[_0x115d60(0x370)]||_0x37485[_0x115d60(0x1f3)][_0x115d60(0x422)]!==0x0)&&(_0x2af361=_0x37485[_0x115d60(0x666)]),_0x2af361===0x0&&this[_0x115d60(0x405)][_0x115d60(0x507)]('[DataLoaderController]',_0x115d60(0x674)),this[_0x115d60(0x38f)][_0x115d60(0x37c)](_0x2828a6,_0x2af361);}},_0x5aeb12[_0x3a00cb(0x3cd)]=_0x3eb8b7([_0x3ef480(0x0,_0x561810),_0x3ef480(0x1,_0x1330ba[_0x3a00cb(0x57c)]),_0x3ef480(0x2,_0x1330ba['ICommandService']),_0x3ef480(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x287)])),_0x3ef480(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x48fdb9[_0x3a00cb(0x38a)])),_0x3ef480(0x5,_0x1330ba[_0x3a00cb(0x67e)](_0x1432e6['IRemoteInstanceService']))],_0x5aeb12[_0x3a00cb(0x3cd)]);var _0x1dca00=Object[_0x3a00cb(0x43c)],_0x3e130e=Object[_0x3a00cb(0x637)],_0x4233c3=(_0x15bcbf,_0x2f6e08,_0x143118,_0x4c4ecf)=>{const _0x2db173=_0x3a00cb;for(var _0x24aa66=_0x4c4ecf>0x1?void 0x0:_0x4c4ecf?_0x3e130e(_0x2f6e08,_0x143118):_0x2f6e08,_0x585118=_0x15bcbf[_0x2db173(0x422)]-0x1,_0x4a41f3;_0x585118>=0x0;_0x585118--)(_0x4a41f3=_0x15bcbf[_0x585118])&&(_0x24aa66=(_0x4c4ecf?_0x4a41f3(_0x2f6e08,_0x143118,_0x24aa66):_0x4a41f3(_0x24aa66))||_0x24aa66);return _0x4c4ecf&&_0x24aa66&&_0x1dca00(_0x2f6e08,_0x143118,_0x24aa66),_0x24aa66;},_0x4ee3ee=(_0x3077a5,_0x56c5e6)=>(_0x113c4c,_0x43597c)=>_0x56c5e6(_0x113c4c,_0x43597c,_0x3077a5);const _0x51787f=_0x3a00cb(0x45b),_0x3810c9=_0x3a00cb(0x46a);let _0x25924c=class extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(_0x465e1a,_0x554071){const _0x40aa9b=_0x3a00cb;super(),this[_0x40aa9b(0x227)]=_0x465e1a,this['_configService']=_0x554071,this[_0x40aa9b(0x663)]();}['_init'](){const _0xc28db3=_0x3a00cb;this[_0xc28db3(0x63e)](this[_0xc28db3(0x227)]['focused$'][_0xc28db3(0x21f)](()=>{const _0x1127ab=_0xc28db3;var _0x3fe458;const _0x14e400=this['_univerInstanceService'][_0x1127ab(0x618)]();let _0x4b1d84=(_0x3fe458=this[_0x1127ab(0x4ce)]['getConfig'](_0x51787f))!=null?_0x3fe458:_0x3810c9;_0x14e400 instanceof _0x1330ba[_0x1127ab(0x53d)]&&(_0x4b1d84=_0x14e400['name']),document[_0x1127ab(0x369)]=_0x4b1d84;}));}};_0x25924c=_0x4233c3([_0x4ee3ee(0x0,_0x1330ba[_0x3a00cb(0x5ce)]),_0x4ee3ee(0x1,_0x1330ba[_0x3a00cb(0x3c1)])],_0x25924c);var _0x340a66=Object[_0x3a00cb(0x43c)],_0x332493=Object[_0x3a00cb(0x637)],_0x391822=(_0x5aeef4,_0x5aa4c9,_0x2a66e0,_0x2901d7)=>{for(var _0x23cc24=_0x2901d7>0x1?void 0x0:_0x2901d7?_0x332493(_0x5aa4c9,_0x2a66e0):_0x5aa4c9,_0x44dce7=_0x5aeef4['length']-0x1,_0x257be5;_0x44dce7>=0x0;_0x44dce7--)(_0x257be5=_0x5aeef4[_0x44dce7])&&(_0x23cc24=(_0x2901d7?_0x257be5(_0x5aa4c9,_0x2a66e0,_0x23cc24):_0x257be5(_0x23cc24))||_0x23cc24);return _0x2901d7&&_0x23cc24&&_0x340a66(_0x5aa4c9,_0x2a66e0,_0x23cc24),_0x23cc24;},_0x37612e=(_0x5e11de,_0x11e324)=>(_0x310772,_0x287c61)=>_0x11e324(_0x310772,_0x287c61,_0x5e11de);let _0x58673f=class{constructor(_0x54aa50,_0x190eaa,_0x26c600){const _0x11fd08=_0x3a00cb;this[_0x11fd08(0x4ce)]=_0x54aa50,this['_httpService']=_0x190eaa,this[_0x11fd08(0x4e0)]=_0x26c600,this[_0x11fd08(0x447)]();}[_0x3a00cb(0x447)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x57cbcc,_0x5af339)=>_0x5af339(_0x57cbcc)['pipe'](_0x1eddba['concatMap'](async _0x470784=>{const _0x2840f2=_0x5f13,_0x5dbd5c=_0x470784;if(_0x5dbd5c['status']===0x191&&window[_0x2840f2(0x441)](this['localeService']['t'](_0x2840f2(0x34b)))){const _0x4466d0=window['encodeURIComponent'](window[_0x2840f2(0x223)][_0x2840f2(0x4ee)]);window[_0x2840f2(0x223)][_0x2840f2(0x4ee)]=this[_0x2840f2(0x65a)]()+'?url='+_0x4466d0;}return _0x5dbd5c;}))});}['_getLoginPath'](){const _0x317ad3=_0x3a00cb;var _0x7c3c5e,_0x59bd30;const _0x1fb60e=this['_configService']['getConfig'](_0x41289e),_0x1ce787=this['_configService'][_0x317ad3(0x4fc)](_0x37cfeb);return(_0x59bd30=(_0x7c3c5e=_0x1ce787==null?void 0x0:_0x1ce787[_0x317ad3(0x208)])!=null?_0x7c3c5e:_0x1fb60e)!=null?_0x59bd30:_0x5e71bd;}};_0x58673f=_0x391822([_0x37612e(0x0,_0x1330ba[_0x3a00cb(0x3c1)]),_0x37612e(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be['HTTPService'])),_0x37612e(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba['LocaleService']))],_0x58673f);var _0x51486a=Object[_0x3a00cb(0x43c)],_0x6b104a=Object[_0x3a00cb(0x637)],_0x47ac02=(_0x16b899,_0x28be0e,_0x363320,_0xf69877)=>{const _0x475cff=_0x3a00cb;for(var _0x5c0408=_0xf69877>0x1?void 0x0:_0xf69877?_0x6b104a(_0x28be0e,_0x363320):_0x28be0e,_0xad27ae=_0x16b899[_0x475cff(0x422)]-0x1,_0x34e46a;_0xad27ae>=0x0;_0xad27ae--)(_0x34e46a=_0x16b899[_0xad27ae])&&(_0x5c0408=(_0xf69877?_0x34e46a(_0x28be0e,_0x363320,_0x5c0408):_0x34e46a(_0x5c0408))||_0x5c0408);return _0xf69877&&_0x5c0408&&_0x51486a(_0x28be0e,_0x363320,_0x5c0408),_0x5c0408;},_0x2678bb=(_0x2b8813,_0x107c7a)=>(_0x48e986,_0x1bbb38)=>_0x107c7a(_0x48e986,_0x1bbb38,_0x2b8813);const _0x247481=_0x3a00cb(0x240),_0x2e97e8=_0x3a00cb(0x33f);_0x5aeb12['AuthzIoHttpService']=class extends _0x1330ba[_0x3a00cb(0x5f8)]{constructor(_0x2c1657,_0x5c3a28){const _0x460636=_0x3a00cb;super(),this[_0x460636(0x398)]=_0x2c1657,this[_0x460636(0x4ce)]=_0x5c3a28,this[_0x460636(0x4fe)]();}['_initMergeInterceptor'](){const _0xb557bd=_0x3a00cb,_0x380ebc=this;this[_0xb557bd(0x63e)](this[_0xb557bd(0x398)][_0xb557bd(0x23f)]({'priority':0x3e7,'interceptor':_0x3aa4be['MergeInterceptorFactory']({'isMatch'(_0x34095e){const _0x20a3ac=_0xb557bd;var _0x5b918a;if(_0x34095e[_0x20a3ac(0x20a)]===_0x20a3ac(0x5c0)&&((_0x5b918a=_0x34095e[_0x20a3ac(0x68c)])!=null&&_0x5b918a[_0x20a3ac(0x427)])){const {objectID:_0x1dc59d,objectType:_0xde6e3c}=_0x34095e[_0x20a3ac(0x68c)][_0x20a3ac(0x427)]||{};if(!_0x1dc59d||_0xde6e3c===void 0x0)return!0x1;const _0x42e509=_0x380ebc[_0x20a3ac(0x58d)]()+'/'+_0xde6e3c+_0x20a3ac(0x388)+_0x1dc59d+_0x20a3ac(0x2ae);if(_0x34095e['url']===_0x42e509)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1c0c6d){const _0xc0cd62=_0xb557bd;var _0x457888;return(_0x457888=_0x1c0c6d['requestParams'])==null?void 0x0:_0x457888[_0xc0cd62(0x427)];},'mergeParamsToRequest'(_0x3fcfb1,_0xc25db){const _0x43f041=_0xb557bd,_0x348634=_0x380ebc[_0x43f041(0x58d)]()+_0x43f041(0x4e1),_0x7d45ad=_0x3fcfb1[_0x43f041(0x626)]((_0x3c91d0,_0x4dba27)=>{const _0x1a46bf=_0x43f041,{unitID:_0x1b1ba6,objectID:_0x151766,objectType:_0x4b26ff,actions:_0x4d235b}=_0x4dba27;return _0x3c91d0[_0x1b1ba6]||(_0x3c91d0[_0x1b1ba6]={}),_0x3c91d0[_0x1b1ba6][_0x151766]||(_0x3c91d0[_0x1b1ba6][_0x151766]={'objectID':_0x151766,'objectType':_0x4b26ff,'actions':[]}),_0x3c91d0[_0x1b1ba6][_0x151766][_0x1a46bf(0x2da)][_0x1a46bf(0x64d)](..._0x4d235b),_0x3c91d0;},{}),_0x51ee9d=[];for(const _0x3abdf3 in _0x7d45ad)for(const _0x5e77de in _0x7d45ad[_0x3abdf3]){const {actions:_0xc939c7,objectType:_0x426df1}=_0x7d45ad[_0x3abdf3][_0x5e77de],_0x61f0a5=[...new Set(_0xc939c7)];_0x51ee9d[_0x43f041(0x64d)]({'unitID':_0x3abdf3,'objectID':_0x5e77de,'objectType':_0x426df1,'actions':_0x61f0a5});}return new _0x3aa4be[(_0x43f041(0x21b))]('POST',_0x348634,{'headers':_0xc25db['headers'],'withCredentials':_0xc25db[_0x43f041(0x471)],'responseType':_0xc25db[_0x43f041(0x2eb)],'body':{'requests':_0x51ee9d}});}},{'distributeResult'(_0x2547bb,_0x4f99d4){const _0x8ddc5d=_0xb557bd,{objectActions:_0x5dafc0}=_0x2547bb;return _0x4f99d4[_0x8ddc5d(0x568)](_0x4303c0=>{const _0x3d1bad=_0x8ddc5d,{unitID:_0x50f18b,objectID:_0x290e38,actions:_0x49c3ea}=_0x4303c0,_0x3b0344=_0x5dafc0[_0x3d1bad(0x4ed)](_0x18a6fa=>_0x18a6fa[_0x3d1bad(0x36f)]===_0x50f18b&&_0x18a6fa[_0x3d1bad(0x2fe)]===_0x290e38),_0x57d097=_0x49c3ea[_0x3d1bad(0x568)](_0x38ca29=>_0x3b0344==null?void 0x0:_0x3b0344[_0x3d1bad(0x2da)]['find'](_0x53705b=>_0x53705b[_0x3d1bad(0x39e)]===_0x38ca29))[_0x3d1bad(0x40e)](_0x5db6cc=>!!_0x5db6cc);return{'config':_0x4303c0,'result':{'actions':_0x57d097,'error':_0x2547bb['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x4c2172=_0x3a00cb;var _0x1e7b1d,_0x16bc85;const _0x2d8819=this['_configService'][_0x4c2172(0x4fc)](_0x247481),_0x2a8d23=this[_0x4c2172(0x4ce)][_0x4c2172(0x4fc)](_0x37cfeb);return(_0x16bc85=(_0x1e7b1d=_0x2a8d23==null?void 0x0:_0x2a8d23['authzUrl'])!=null?_0x1e7b1d:_0x2d8819)!=null?_0x16bc85:_0x2e97e8;}async[_0x3a00cb(0x501)](_0x235741){const _0x43764e=_0x3a00cb,_0xdd7af1=this[_0x43764e(0x58d)]()+'/'+_0x235741['objectType']+_0x43764e(0x5b6);return(await this['_HTTPService']['post'](_0xdd7af1,{'body':_0x235741}))[_0x43764e(0x427)][_0x43764e(0x2fe)]||'';}async[_0x3a00cb(0x248)](_0x5f33e8){const _0x45f85f=_0x3a00cb,_0x6a933e=this[_0x45f85f(0x58d)]()+_0x45f85f(0x5d0);return(await this[_0x45f85f(0x398)][_0x45f85f(0x551)](_0x6a933e,{'body':_0x5f33e8}))[_0x45f85f(0x427)][_0x45f85f(0x2ee)];}async['update'](_0x356892){const _0x12fd3f=_0x3a00cb,_0x1cc34c=this[_0x12fd3f(0x58d)]()+'/'+_0x356892[_0x12fd3f(0x1f8)]+_0x12fd3f(0x388)+_0x356892['objectID'];await this[_0x12fd3f(0x398)][_0x12fd3f(0x2e8)](_0x1cc34c,{'body':_0x356892});}async[_0x3a00cb(0x448)](_0x218702){const _0x52513a=_0x3a00cb,_0x28d7a1=this[_0x52513a(0x58d)]()+'/'+_0x218702[_0x52513a(0x1f8)]+_0x52513a(0x388)+_0x218702[_0x52513a(0x2fe)]+_0x52513a(0x2ae);return(await this[_0x52513a(0x398)]['post'](_0x28d7a1,{'body':_0x218702}))[_0x52513a(0x427)][_0x52513a(0x2da)];}async[_0x3a00cb(0x4e2)](_0x183ede){const _0x61c364=_0x3a00cb,_0x2c6cc4=this[_0x61c364(0x58d)]()+'/-/object/-/batch_allowed';return(await this[_0x61c364(0x398)]['post'](_0x2c6cc4,{'body':{'requests':_0x183ede}}))[_0x61c364(0x427)][_0x61c364(0x243)];}async[_0x3a00cb(0x45f)](_0xce36ff){const _0x1e67de=_0x3a00cb,_0x35be36=this['_getAPIPrefixPath']()+'/'+_0xce36ff['objectType']+'/role',_0xa3f6f2=await this['_HTTPService'][_0x1e67de(0x551)](_0x35be36,{'body':_0xce36ff});return{'roles':_0xa3f6f2[_0x1e67de(0x427)][_0x1e67de(0x40f)],'actions':_0xa3f6f2[_0x1e67de(0x427)][_0x1e67de(0x2da)]};}async[_0x3a00cb(0x3f6)](_0xa5d319){const _0x42988a=_0x3a00cb,_0x21da28=this[_0x42988a(0x58d)]()+_0x42988a(0x540);await this[_0x42988a(0x398)][_0x42988a(0x317)](_0x21da28,{'params':{'collaboratorID':_0xa5d319[_0x42988a(0x635)],'objectID':_0xa5d319['objectID'],'unitID':_0xa5d319[_0x42988a(0x36f)]}});}async[_0x3a00cb(0x68b)](_0xa782aa){const _0x24a7e7=_0x3a00cb,_0x21585d=this['_getAPIPrefixPath']()+_0x24a7e7(0x540);await this[_0x24a7e7(0x398)]['patch'](_0x21585d,{'body':_0xa782aa});}async[_0x3a00cb(0x3b7)](_0x4e4b38){const _0x5d36db=_0x3a00cb,_0x84d0b9=this[_0x5d36db(0x58d)]()+_0x5d36db(0x540);await this[_0x5d36db(0x398)]['post'](_0x84d0b9,{'body':_0x4e4b38});}async[_0x3a00cb(0x2e7)](_0x816947){const _0x2b8f5c=_0x3a00cb,_0x4b4115=this[_0x2b8f5c(0x58d)]()+_0x2b8f5c(0x540);return(await this[_0x2b8f5c(0x398)][_0x2b8f5c(0x4bf)](_0x4b4115,{'params':{'objectID':_0x816947['objectID'],'unitID':_0x816947['unitID']}}))[_0x2b8f5c(0x427)][_0x2b8f5c(0x2d7)];}async['putCollaborators'](_0x273433){const _0x3f2b87=_0x3a00cb,_0x38bb9f=this[_0x3f2b87(0x58d)]()+_0x3f2b87(0x540);await this['_HTTPService']['put'](_0x38bb9f,{'body':_0x273433});}},_0x5aeb12[_0x3a00cb(0x3e1)]=_0x47ac02([_0x2678bb(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be[_0x3a00cb(0x504)])),_0x2678bb(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x3c1)]))],_0x5aeb12[_0x3a00cb(0x3e1)]);var _0x1fb61c={'exports':{}};function _0x3ce903(_0x2a8886){const _0x167b6e=_0x3a00cb;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2a8886+_0x167b6e(0x56a));}var _0x37fb03={'exports':{}},_0x3dace1;function _0x13ef9e(){return _0x3dace1||(_0x3dace1=0x1,function(_0x141a3d,_0x5603f0){(function(_0x15dce2,_0xba239d){const _0x6564f0=_0x5f13;_0x141a3d[_0x6564f0(0x5a8)]=_0xba239d();}(_0x4194df,function(){var _0x2cb0bb=_0x2cb0bb||function(_0x1392b6,_0x5ba09c){const _0x17f2ca=_0x5f13;var _0xcb569e;if(typeof window<'u'&&window[_0x17f2ca(0x24e)]&&(_0xcb569e=window[_0x17f2ca(0x24e)]),typeof self<'u'&&self['crypto']&&(_0xcb569e=self[_0x17f2ca(0x24e)]),typeof globalThis<'u'&&globalThis[_0x17f2ca(0x24e)]&&(_0xcb569e=globalThis[_0x17f2ca(0x24e)]),!_0xcb569e&&typeof window<'u'&&window[_0x17f2ca(0x44c)]&&(_0xcb569e=window[_0x17f2ca(0x44c)]),!_0xcb569e&&typeof _0x4194df<'u'&&_0x4194df[_0x17f2ca(0x24e)]&&(_0xcb569e=_0x4194df[_0x17f2ca(0x24e)]),!_0xcb569e&&typeof _0x3ce903==_0x17f2ca(0x5d7))try{_0xcb569e=require(_0x17f2ca(0x24e));}catch{}var _0x5a077f=function(){const _0x44866c=_0x17f2ca;if(_0xcb569e){if(typeof _0xcb569e['getRandomValues']==_0x44866c(0x5d7))try{return _0xcb569e[_0x44866c(0x536)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xcb569e['randomBytes']==_0x44866c(0x5d7))try{return _0xcb569e['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x44866c(0x5a0));},_0x41da1c=Object[_0x17f2ca(0x501)]||(function(){function _0x35ab85(){}return function(_0x182958){const _0x3130b5=_0x5f13;var _0x2072ca;return _0x35ab85[_0x3130b5(0x50a)]=_0x182958,_0x2072ca=new _0x35ab85(),_0x35ab85[_0x3130b5(0x50a)]=null,_0x2072ca;};}()),_0x214b36={},_0x27137b=_0x214b36['lib']={},_0x2e1f8a=_0x27137b[_0x17f2ca(0x57f)]=(function(){return{'extend':function(_0x3526a7){const _0x5ad1d7=_0x5f13;var _0x122bc4=_0x41da1c(this);return _0x3526a7&&_0x122bc4[_0x5ad1d7(0x2b9)](_0x3526a7),(!_0x122bc4[_0x5ad1d7(0x5f7)]('init')||this['init']===_0x122bc4[_0x5ad1d7(0x447)])&&(_0x122bc4[_0x5ad1d7(0x447)]=function(){const _0x3af3b8=_0x5ad1d7;_0x122bc4[_0x3af3b8(0x647)][_0x3af3b8(0x447)][_0x3af3b8(0x48d)](this,arguments);}),_0x122bc4[_0x5ad1d7(0x447)][_0x5ad1d7(0x50a)]=_0x122bc4,_0x122bc4[_0x5ad1d7(0x647)]=this,_0x122bc4;},'create':function(){const _0x1d4ea5=_0x5f13;var _0x1082fb=this[_0x1d4ea5(0x533)]();return _0x1082fb['init'][_0x1d4ea5(0x48d)](_0x1082fb,arguments),_0x1082fb;},'init':function(){},'mixIn':function(_0x12de05){const _0x5e0357=_0x5f13;for(var _0x439a16 in _0x12de05)_0x12de05[_0x5e0357(0x5f7)](_0x439a16)&&(this[_0x439a16]=_0x12de05[_0x439a16]);_0x12de05[_0x5e0357(0x5f7)](_0x5e0357(0x3fd))&&(this[_0x5e0357(0x3fd)]=_0x12de05[_0x5e0357(0x3fd)]);},'clone':function(){const _0x4b6ec2=_0x5f13;return this[_0x4b6ec2(0x447)]['prototype'][_0x4b6ec2(0x533)](this);}};}()),_0x272963=_0x27137b[_0x17f2ca(0x30d)]=_0x2e1f8a[_0x17f2ca(0x533)]({'init':function(_0x159ca4,_0x540a8f){const _0xae768e=_0x17f2ca;_0x159ca4=this[_0xae768e(0x26b)]=_0x159ca4||[],_0x540a8f!=_0x5ba09c?this[_0xae768e(0x3d1)]=_0x540a8f:this[_0xae768e(0x3d1)]=_0x159ca4['length']*0x4;},'toString':function(_0x48102d){const _0x1f53b4=_0x17f2ca;return(_0x48102d||_0x9c9e64)[_0x1f53b4(0x2a3)](this);},'concat':function(_0x3274fc){const _0x574195=_0x17f2ca;var _0x257242=this['words'],_0xcb4091=_0x3274fc[_0x574195(0x26b)],_0x37bc07=this[_0x574195(0x3d1)],_0x10a81f=_0x3274fc[_0x574195(0x3d1)];if(this[_0x574195(0x1f5)](),_0x37bc07%0x4)for(var _0x82ba0b=0x0;_0x82ba0b<_0x10a81f;_0x82ba0b++){var _0x298e0d=_0xcb4091[_0x82ba0b>>>0x2]>>>0x18-_0x82ba0b%0x4*0x8&0xff;_0x257242[_0x37bc07+_0x82ba0b>>>0x2]|=_0x298e0d<<0x18-(_0x37bc07+_0x82ba0b)%0x4*0x8;}else{for(var _0x7c9dfa=0x0;_0x7c9dfa<_0x10a81f;_0x7c9dfa+=0x4)_0x257242[_0x37bc07+_0x7c9dfa>>>0x2]=_0xcb4091[_0x7c9dfa>>>0x2];}return this[_0x574195(0x3d1)]+=_0x10a81f,this;},'clamp':function(){const _0x222780=_0x17f2ca;var _0x4b9d78=this[_0x222780(0x26b)],_0x5eccf8=this[_0x222780(0x3d1)];_0x4b9d78[_0x5eccf8>>>0x2]&=0xffffffff<<0x20-_0x5eccf8%0x4*0x8,_0x4b9d78[_0x222780(0x422)]=_0x1392b6[_0x222780(0x350)](_0x5eccf8/0x4);},'clone':function(){const _0x4d160d=_0x17f2ca;var _0x5c33d5=_0x2e1f8a['clone'][_0x4d160d(0x42b)](this);return _0x5c33d5[_0x4d160d(0x26b)]=this[_0x4d160d(0x26b)][_0x4d160d(0x3e3)](0x0),_0x5c33d5;},'random':function(_0x5cff5b){const _0xa04ff3=_0x17f2ca;for(var _0xa0d114=[],_0x1f96ad=0x0;_0x1f96ad<_0x5cff5b;_0x1f96ad+=0x4)_0xa0d114[_0xa04ff3(0x64d)](_0x5a077f());return new _0x272963[(_0xa04ff3(0x447))](_0xa0d114,_0x5cff5b);}}),_0x105ab8=_0x214b36['enc']={},_0x9c9e64=_0x105ab8[_0x17f2ca(0x638)]={'stringify':function(_0xb7182e){const _0x365ec1=_0x17f2ca;for(var _0x168d7e=_0xb7182e[_0x365ec1(0x26b)],_0x390fbc=_0xb7182e[_0x365ec1(0x3d1)],_0x5bb093=[],_0x1881c2=0x0;_0x1881c2<_0x390fbc;_0x1881c2++){var _0x3f5ed4=_0x168d7e[_0x1881c2>>>0x2]>>>0x18-_0x1881c2%0x4*0x8&0xff;_0x5bb093[_0x365ec1(0x64d)]((_0x3f5ed4>>>0x4)[_0x365ec1(0x3fd)](0x10)),_0x5bb093['push']((_0x3f5ed4&0xf)[_0x365ec1(0x3fd)](0x10));}return _0x5bb093['join']('');},'parse':function(_0x44bd12){const _0x487068=_0x17f2ca;for(var _0x4080db=_0x44bd12[_0x487068(0x422)],_0x32de70=[],_0x185ec5=0x0;_0x185ec5<_0x4080db;_0x185ec5+=0x2)_0x32de70[_0x185ec5>>>0x3]|=parseInt(_0x44bd12['substr'](_0x185ec5,0x2),0x10)<<0x18-_0x185ec5%0x8*0x4;return new _0x272963[(_0x487068(0x447))](_0x32de70,_0x4080db/0x2);}},_0x2839ac=_0x105ab8[_0x17f2ca(0x37b)]={'stringify':function(_0xb41314){const _0x478807=_0x17f2ca;for(var _0x16b0d4=_0xb41314[_0x478807(0x26b)],_0x5c85cf=_0xb41314['sigBytes'],_0x184551=[],_0x35dcb5=0x0;_0x35dcb5<_0x5c85cf;_0x35dcb5++){var _0x15b431=_0x16b0d4[_0x35dcb5>>>0x2]>>>0x18-_0x35dcb5%0x4*0x8&0xff;_0x184551[_0x478807(0x64d)](String['fromCharCode'](_0x15b431));}return _0x184551[_0x478807(0x3ac)]('');},'parse':function(_0x3d5c27){const _0x471da2=_0x17f2ca;for(var _0x42a078=_0x3d5c27[_0x471da2(0x422)],_0x1674bb=[],_0x4e71bb=0x0;_0x4e71bb<_0x42a078;_0x4e71bb++)_0x1674bb[_0x4e71bb>>>0x2]|=(_0x3d5c27[_0x471da2(0x65e)](_0x4e71bb)&0xff)<<0x18-_0x4e71bb%0x4*0x8;return new _0x272963[(_0x471da2(0x447))](_0x1674bb,_0x42a078);}},_0x185ce4=_0x105ab8[_0x17f2ca(0x5fe)]={'stringify':function(_0x2ba5b8){const _0xbc783e=_0x17f2ca;try{return decodeURIComponent(escape(_0x2839ac[_0xbc783e(0x2a3)](_0x2ba5b8)));}catch{throw new Error(_0xbc783e(0x633));}},'parse':function(_0x47d3ac){const _0x21d147=_0x17f2ca;return _0x2839ac[_0x21d147(0x3fe)](unescape(encodeURIComponent(_0x47d3ac)));}},_0x6d6e36=_0x27137b['BufferedBlockAlgorithm']=_0x2e1f8a[_0x17f2ca(0x533)]({'reset':function(){const _0x4afa59=_0x17f2ca;this['_data']=new _0x272963['init'](),this[_0x4afa59(0x639)]=0x0;},'_append':function(_0x27e29d){const _0x2d929e=_0x17f2ca;typeof _0x27e29d=='string'&&(_0x27e29d=_0x185ce4[_0x2d929e(0x3fe)](_0x27e29d)),this[_0x2d929e(0x4b3)][_0x2d929e(0x549)](_0x27e29d),this[_0x2d929e(0x639)]+=_0x27e29d[_0x2d929e(0x3d1)];},'_process':function(_0x2b6754){const _0x5e25a6=_0x17f2ca;var _0x54d6f5,_0x5e6d19=this[_0x5e25a6(0x4b3)],_0x37dc33=_0x5e6d19[_0x5e25a6(0x26b)],_0x3f27b5=_0x5e6d19[_0x5e25a6(0x3d1)],_0x1b79e7=this['blockSize'],_0x6907f4=_0x1b79e7*0x4,_0x3fb705=_0x3f27b5/_0x6907f4;_0x2b6754?_0x3fb705=_0x1392b6[_0x5e25a6(0x350)](_0x3fb705):_0x3fb705=_0x1392b6[_0x5e25a6(0x387)]((_0x3fb705|0x0)-this[_0x5e25a6(0x397)],0x0);var _0x2503eb=_0x3fb705*_0x1b79e7,_0x184680=_0x1392b6[_0x5e25a6(0x35c)](_0x2503eb*0x4,_0x3f27b5);if(_0x2503eb){for(var _0x4a7938=0x0;_0x4a7938<_0x2503eb;_0x4a7938+=_0x1b79e7)this[_0x5e25a6(0x46e)](_0x37dc33,_0x4a7938);_0x54d6f5=_0x37dc33['splice'](0x0,_0x2503eb),_0x5e6d19[_0x5e25a6(0x3d1)]-=_0x184680;}return new _0x272963[(_0x5e25a6(0x447))](_0x54d6f5,_0x184680);},'clone':function(){const _0x4d6a3a=_0x17f2ca;var _0x103510=_0x2e1f8a[_0x4d6a3a(0x380)][_0x4d6a3a(0x42b)](this);return _0x103510[_0x4d6a3a(0x4b3)]=this[_0x4d6a3a(0x4b3)][_0x4d6a3a(0x380)](),_0x103510;},'_minBufferSize':0x0});_0x27137b[_0x17f2ca(0x5e9)]=_0x6d6e36[_0x17f2ca(0x533)]({'cfg':_0x2e1f8a['extend'](),'init':function(_0x2d92bf){const _0x52b3b8=_0x17f2ca;this[_0x52b3b8(0x466)]=this[_0x52b3b8(0x466)][_0x52b3b8(0x533)](_0x2d92bf),this['reset']();},'reset':function(){const _0x27dc6d=_0x17f2ca;_0x6d6e36[_0x27dc6d(0x28f)][_0x27dc6d(0x42b)](this),this[_0x27dc6d(0x420)]();},'update':function(_0x2eca97){const _0x556e26=_0x17f2ca;return this[_0x556e26(0x63d)](_0x2eca97),this['_process'](),this;},'finalize':function(_0x1eb4f9){const _0x337a3f=_0x17f2ca;_0x1eb4f9&&this[_0x337a3f(0x63d)](_0x1eb4f9);var _0x29e5bd=this[_0x337a3f(0x495)]();return _0x29e5bd;},'blockSize':0x10,'_createHelper':function(_0x103e0c){return function(_0x5801af,_0x29e44b){const _0x1b4296=_0x5f13;return new _0x103e0c[(_0x1b4296(0x447))](_0x29e44b)[_0x1b4296(0x4d1)](_0x5801af);};},'_createHmacHelper':function(_0x3d9880){return function(_0x594f43,_0x237db1){const _0x459aee=_0x5f13;return new _0x97bb79[(_0x459aee(0x4bd))][(_0x459aee(0x447))](_0x3d9880,_0x237db1)[_0x459aee(0x4d1)](_0x594f43);};}});var _0x97bb79=_0x214b36[_0x17f2ca(0x459)]={};return _0x214b36;}(Math);return _0x2cb0bb;}));}(_0x37fb03)),_0x37fb03['exports'];}var _0xd883b9={'exports':{}},_0x679f53;function _0x75109c(){const _0x3d38b2=_0x3a00cb;return _0x679f53||(_0x679f53=0x1,function(_0x2e5b8b,_0x4f4808){(function(_0x2f9464,_0x3ee32a){_0x2e5b8b['exports']=_0x3ee32a(_0x13ef9e());}(_0x4194df,function(_0x2c075e){const _0x716626=_0x5f13;return(function(){const _0x988cac=_0x5f13;var _0x155a0a=_0x2c075e,_0x28342f=_0x155a0a[_0x988cac(0x2f5)],_0x312082=_0x28342f['WordArray'],_0x1e7de1=_0x155a0a['enc'];_0x1e7de1[_0x988cac(0x411)]={'stringify':function(_0x2b3eba){const _0x4dfac3=_0x988cac;var _0x264d20=_0x2b3eba[_0x4dfac3(0x26b)],_0x1b00c1=_0x2b3eba[_0x4dfac3(0x3d1)],_0x294700=this[_0x4dfac3(0x252)];_0x2b3eba['clamp']();for(var _0x27c4a7=[],_0x48b0c0=0x0;_0x48b0c0<_0x1b00c1;_0x48b0c0+=0x3)for(var _0x5c8ef8=_0x264d20[_0x48b0c0>>>0x2]>>>0x18-_0x48b0c0%0x4*0x8&0xff,_0x32c867=_0x264d20[_0x48b0c0+0x1>>>0x2]>>>0x18-(_0x48b0c0+0x1)%0x4*0x8&0xff,_0x584beb=_0x264d20[_0x48b0c0+0x2>>>0x2]>>>0x18-(_0x48b0c0+0x2)%0x4*0x8&0xff,_0x171760=_0x5c8ef8<<0x10|_0x32c867<<0x8|_0x584beb,_0x2aa6d7=0x0;_0x2aa6d7<0x4&&_0x48b0c0+_0x2aa6d7*0.75<_0x1b00c1;_0x2aa6d7++)_0x27c4a7[_0x4dfac3(0x64d)](_0x294700[_0x4dfac3(0x60f)](_0x171760>>>0x6*(0x3-_0x2aa6d7)&0x3f));var _0xc08cab=_0x294700['charAt'](0x40);if(_0xc08cab){for(;_0x27c4a7[_0x4dfac3(0x422)]%0x4;)_0x27c4a7['push'](_0xc08cab);}return _0x27c4a7[_0x4dfac3(0x3ac)]('');},'parse':function(_0x3a3ead){const _0x4a61ea=_0x988cac;var _0x1d727e=_0x3a3ead['length'],_0x2bfe28=this[_0x4a61ea(0x252)],_0x23be9e=this[_0x4a61ea(0x5bb)];if(!_0x23be9e){_0x23be9e=this[_0x4a61ea(0x5bb)]=[];for(var _0x403f4e=0x0;_0x403f4e<_0x2bfe28[_0x4a61ea(0x422)];_0x403f4e++)_0x23be9e[_0x2bfe28[_0x4a61ea(0x65e)](_0x403f4e)]=_0x403f4e;}var _0xee275c=_0x2bfe28[_0x4a61ea(0x60f)](0x40);if(_0xee275c){var _0x53c3c6=_0x3a3ead[_0x4a61ea(0x382)](_0xee275c);_0x53c3c6!==-0x1&&(_0x1d727e=_0x53c3c6);}return _0x524d3b(_0x3a3ead,_0x1d727e,_0x23be9e);},'_map':_0x988cac(0x282)};function _0x524d3b(_0x263aca,_0x2a51c6,_0x32be8b){const _0x32b962=_0x988cac;for(var _0x13bc5e=[],_0x306193=0x0,_0x30d45a=0x0;_0x30d45a<_0x2a51c6;_0x30d45a++)if(_0x30d45a%0x4){var _0x3c931f=_0x32be8b[_0x263aca[_0x32b962(0x65e)](_0x30d45a-0x1)]<<_0x30d45a%0x4*0x2,_0x2a3fef=_0x32be8b[_0x263aca['charCodeAt'](_0x30d45a)]>>>0x6-_0x30d45a%0x4*0x2,_0x5e7aeb=_0x3c931f|_0x2a3fef;_0x13bc5e[_0x306193>>>0x2]|=_0x5e7aeb<<0x18-_0x306193%0x4*0x8,_0x306193++;}return _0x312082[_0x32b962(0x501)](_0x13bc5e,_0x306193);}}()),_0x2c075e[_0x716626(0x2df)][_0x716626(0x411)];}));}(_0xd883b9)),_0xd883b9[_0x3d38b2(0x5a8)];}var _0x423679={'exports':{}},_0x493d1a;function _0x144c2a(){const _0x5b7b4f=_0x3a00cb;return _0x493d1a||(_0x493d1a=0x1,function(_0x2f2c85,_0x703751){(function(_0x2c4c69,_0xea3c8e){_0x2f2c85['exports']=_0xea3c8e(_0x13ef9e());}(_0x4194df,function(_0x51e3f){return function(_0x2bb820){const _0x5c589f=_0x5f13;var _0xaaa588=_0x51e3f,_0x353813=_0xaaa588[_0x5c589f(0x2f5)],_0x5344d1=_0x353813[_0x5c589f(0x30d)],_0x2a2ffd=_0x353813[_0x5c589f(0x5e9)],_0x2be501=_0xaaa588[_0x5c589f(0x459)],_0x224639=[];(function(){const _0x344364=_0x5c589f;for(var _0x30bd3f=0x0;_0x30bd3f<0x40;_0x30bd3f++)_0x224639[_0x30bd3f]=_0x2bb820[_0x344364(0x215)](_0x2bb820['sin'](_0x30bd3f+0x1))*0x100000000|0x0;}());var _0x4eafa2=_0x2be501[_0x5c589f(0x436)]=_0x2a2ffd[_0x5c589f(0x533)]({'_doReset':function(){const _0x30415c=_0x5c589f;this[_0x30415c(0x696)]=new _0x5344d1[(_0x30415c(0x447))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x166490,_0x3b352d){const _0x5616c1=_0x5c589f;for(var _0x4890f5=0x0;_0x4890f5<0x10;_0x4890f5++){var _0x27b855=_0x3b352d+_0x4890f5,_0x361f51=_0x166490[_0x27b855];_0x166490[_0x27b855]=(_0x361f51<<0x8|_0x361f51>>>0x18)&0xff00ff|(_0x361f51<<0x18|_0x361f51>>>0x8)&0xff00ff00;}var _0x1d7b76=this[_0x5616c1(0x696)][_0x5616c1(0x26b)],_0x1b0a64=_0x166490[_0x3b352d+0x0],_0x106d3d=_0x166490[_0x3b352d+0x1],_0x51ddb1=_0x166490[_0x3b352d+0x2],_0x559b47=_0x166490[_0x3b352d+0x3],_0x721a25=_0x166490[_0x3b352d+0x4],_0x2cadbc=_0x166490[_0x3b352d+0x5],_0x2c3217=_0x166490[_0x3b352d+0x6],_0x197811=_0x166490[_0x3b352d+0x7],_0x48dad9=_0x166490[_0x3b352d+0x8],_0x4db7fd=_0x166490[_0x3b352d+0x9],_0x567287=_0x166490[_0x3b352d+0xa],_0x496542=_0x166490[_0x3b352d+0xb],_0x50aaf2=_0x166490[_0x3b352d+0xc],_0x2d0ca4=_0x166490[_0x3b352d+0xd],_0x2c09de=_0x166490[_0x3b352d+0xe],_0x1c9330=_0x166490[_0x3b352d+0xf],_0x253e95=_0x1d7b76[0x0],_0x218071=_0x1d7b76[0x1],_0x9d9080=_0x1d7b76[0x2],_0x2611c8=_0x1d7b76[0x3];_0x253e95=_0x1345bb(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x1b0a64,0x7,_0x224639[0x0]),_0x2611c8=_0x1345bb(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x106d3d,0xc,_0x224639[0x1]),_0x9d9080=_0x1345bb(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x51ddb1,0x11,_0x224639[0x2]),_0x218071=_0x1345bb(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x559b47,0x16,_0x224639[0x3]),_0x253e95=_0x1345bb(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x721a25,0x7,_0x224639[0x4]),_0x2611c8=_0x1345bb(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x2cadbc,0xc,_0x224639[0x5]),_0x9d9080=_0x1345bb(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x2c3217,0x11,_0x224639[0x6]),_0x218071=_0x1345bb(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x197811,0x16,_0x224639[0x7]),_0x253e95=_0x1345bb(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x48dad9,0x7,_0x224639[0x8]),_0x2611c8=_0x1345bb(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x4db7fd,0xc,_0x224639[0x9]),_0x9d9080=_0x1345bb(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x567287,0x11,_0x224639[0xa]),_0x218071=_0x1345bb(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x496542,0x16,_0x224639[0xb]),_0x253e95=_0x1345bb(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x50aaf2,0x7,_0x224639[0xc]),_0x2611c8=_0x1345bb(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x2d0ca4,0xc,_0x224639[0xd]),_0x9d9080=_0x1345bb(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x2c09de,0x11,_0x224639[0xe]),_0x218071=_0x1345bb(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x1c9330,0x16,_0x224639[0xf]),_0x253e95=_0x263a66(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x106d3d,0x5,_0x224639[0x10]),_0x2611c8=_0x263a66(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x2c3217,0x9,_0x224639[0x11]),_0x9d9080=_0x263a66(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x496542,0xe,_0x224639[0x12]),_0x218071=_0x263a66(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x1b0a64,0x14,_0x224639[0x13]),_0x253e95=_0x263a66(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x2cadbc,0x5,_0x224639[0x14]),_0x2611c8=_0x263a66(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x567287,0x9,_0x224639[0x15]),_0x9d9080=_0x263a66(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x1c9330,0xe,_0x224639[0x16]),_0x218071=_0x263a66(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x721a25,0x14,_0x224639[0x17]),_0x253e95=_0x263a66(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x4db7fd,0x5,_0x224639[0x18]),_0x2611c8=_0x263a66(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x2c09de,0x9,_0x224639[0x19]),_0x9d9080=_0x263a66(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x559b47,0xe,_0x224639[0x1a]),_0x218071=_0x263a66(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x48dad9,0x14,_0x224639[0x1b]),_0x253e95=_0x263a66(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x2d0ca4,0x5,_0x224639[0x1c]),_0x2611c8=_0x263a66(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x51ddb1,0x9,_0x224639[0x1d]),_0x9d9080=_0x263a66(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x197811,0xe,_0x224639[0x1e]),_0x218071=_0x263a66(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x50aaf2,0x14,_0x224639[0x1f]),_0x253e95=_0xf20b10(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x2cadbc,0x4,_0x224639[0x20]),_0x2611c8=_0xf20b10(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x48dad9,0xb,_0x224639[0x21]),_0x9d9080=_0xf20b10(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x496542,0x10,_0x224639[0x22]),_0x218071=_0xf20b10(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x2c09de,0x17,_0x224639[0x23]),_0x253e95=_0xf20b10(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x106d3d,0x4,_0x224639[0x24]),_0x2611c8=_0xf20b10(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x721a25,0xb,_0x224639[0x25]),_0x9d9080=_0xf20b10(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x197811,0x10,_0x224639[0x26]),_0x218071=_0xf20b10(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x567287,0x17,_0x224639[0x27]),_0x253e95=_0xf20b10(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x2d0ca4,0x4,_0x224639[0x28]),_0x2611c8=_0xf20b10(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x1b0a64,0xb,_0x224639[0x29]),_0x9d9080=_0xf20b10(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x559b47,0x10,_0x224639[0x2a]),_0x218071=_0xf20b10(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x2c3217,0x17,_0x224639[0x2b]),_0x253e95=_0xf20b10(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x4db7fd,0x4,_0x224639[0x2c]),_0x2611c8=_0xf20b10(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x50aaf2,0xb,_0x224639[0x2d]),_0x9d9080=_0xf20b10(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x1c9330,0x10,_0x224639[0x2e]),_0x218071=_0xf20b10(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x51ddb1,0x17,_0x224639[0x2f]),_0x253e95=_0x563b61(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x1b0a64,0x6,_0x224639[0x30]),_0x2611c8=_0x563b61(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x197811,0xa,_0x224639[0x31]),_0x9d9080=_0x563b61(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x2c09de,0xf,_0x224639[0x32]),_0x218071=_0x563b61(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x2cadbc,0x15,_0x224639[0x33]),_0x253e95=_0x563b61(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x50aaf2,0x6,_0x224639[0x34]),_0x2611c8=_0x563b61(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x559b47,0xa,_0x224639[0x35]),_0x9d9080=_0x563b61(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x567287,0xf,_0x224639[0x36]),_0x218071=_0x563b61(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x106d3d,0x15,_0x224639[0x37]),_0x253e95=_0x563b61(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x48dad9,0x6,_0x224639[0x38]),_0x2611c8=_0x563b61(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x1c9330,0xa,_0x224639[0x39]),_0x9d9080=_0x563b61(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x2c3217,0xf,_0x224639[0x3a]),_0x218071=_0x563b61(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x2d0ca4,0x15,_0x224639[0x3b]),_0x253e95=_0x563b61(_0x253e95,_0x218071,_0x9d9080,_0x2611c8,_0x721a25,0x6,_0x224639[0x3c]),_0x2611c8=_0x563b61(_0x2611c8,_0x253e95,_0x218071,_0x9d9080,_0x496542,0xa,_0x224639[0x3d]),_0x9d9080=_0x563b61(_0x9d9080,_0x2611c8,_0x253e95,_0x218071,_0x51ddb1,0xf,_0x224639[0x3e]),_0x218071=_0x563b61(_0x218071,_0x9d9080,_0x2611c8,_0x253e95,_0x4db7fd,0x15,_0x224639[0x3f]),_0x1d7b76[0x0]=_0x1d7b76[0x0]+_0x253e95|0x0,_0x1d7b76[0x1]=_0x1d7b76[0x1]+_0x218071|0x0,_0x1d7b76[0x2]=_0x1d7b76[0x2]+_0x9d9080|0x0,_0x1d7b76[0x3]=_0x1d7b76[0x3]+_0x2611c8|0x0;},'_doFinalize':function(){const _0x494b8d=_0x5c589f;var _0x25a82a=this['_data'],_0x3e4a35=_0x25a82a['words'],_0x1bcad7=this['_nDataBytes']*0x8,_0x2d34be=_0x25a82a[_0x494b8d(0x3d1)]*0x8;_0x3e4a35[_0x2d34be>>>0x5]|=0x80<<0x18-_0x2d34be%0x20;var _0x33c182=_0x2bb820[_0x494b8d(0x22d)](_0x1bcad7/0x100000000),_0x25a678=_0x1bcad7;_0x3e4a35[(_0x2d34be+0x40>>>0x9<<0x4)+0xf]=(_0x33c182<<0x8|_0x33c182>>>0x18)&0xff00ff|(_0x33c182<<0x18|_0x33c182>>>0x8)&0xff00ff00,_0x3e4a35[(_0x2d34be+0x40>>>0x9<<0x4)+0xe]=(_0x25a678<<0x8|_0x25a678>>>0x18)&0xff00ff|(_0x25a678<<0x18|_0x25a678>>>0x8)&0xff00ff00,_0x25a82a[_0x494b8d(0x3d1)]=(_0x3e4a35['length']+0x1)*0x4,this[_0x494b8d(0x399)]();for(var _0x474096=this[_0x494b8d(0x696)],_0x368b61=_0x474096['words'],_0x2b557a=0x0;_0x2b557a<0x4;_0x2b557a++){var _0x37c4c9=_0x368b61[_0x2b557a];_0x368b61[_0x2b557a]=(_0x37c4c9<<0x8|_0x37c4c9>>>0x18)&0xff00ff|(_0x37c4c9<<0x18|_0x37c4c9>>>0x8)&0xff00ff00;}return _0x474096;},'clone':function(){const _0x3b239=_0x5c589f;var _0x48aaea=_0x2a2ffd['clone'][_0x3b239(0x42b)](this);return _0x48aaea[_0x3b239(0x696)]=this[_0x3b239(0x696)]['clone'](),_0x48aaea;}});function _0x1345bb(_0x4c788c,_0x40d83e,_0x1117ed,_0x22fe98,_0xe754fa,_0x421c3c,_0x5d8164){var _0x299b5d=_0x4c788c+(_0x40d83e&_0x1117ed|~_0x40d83e&_0x22fe98)+_0xe754fa+_0x5d8164;return(_0x299b5d<<_0x421c3c|_0x299b5d>>>0x20-_0x421c3c)+_0x40d83e;}function _0x263a66(_0x46ec02,_0xa573b0,_0x4a3e81,_0x1142bc,_0x5895a9,_0x22e86b,_0x68e774){var _0x38690a=_0x46ec02+(_0xa573b0&_0x1142bc|_0x4a3e81&~_0x1142bc)+_0x5895a9+_0x68e774;return(_0x38690a<<_0x22e86b|_0x38690a>>>0x20-_0x22e86b)+_0xa573b0;}function _0xf20b10(_0xa86fdf,_0x5e8a01,_0x1eb4e6,_0x47ce1e,_0x1c6987,_0x45a446,_0x10f961){var _0x59c071=_0xa86fdf+(_0x5e8a01^_0x1eb4e6^_0x47ce1e)+_0x1c6987+_0x10f961;return(_0x59c071<<_0x45a446|_0x59c071>>>0x20-_0x45a446)+_0x5e8a01;}function _0x563b61(_0x3b44bf,_0x265c96,_0x5d5cda,_0x3eafd9,_0x1c4f3d,_0x5ff1c0,_0x537f63){var _0x2d5ec9=_0x3b44bf+(_0x5d5cda^(_0x265c96|~_0x3eafd9))+_0x1c4f3d+_0x537f63;return(_0x2d5ec9<<_0x5ff1c0|_0x2d5ec9>>>0x20-_0x5ff1c0)+_0x265c96;}_0xaaa588[_0x5c589f(0x436)]=_0x2a2ffd[_0x5c589f(0x4b1)](_0x4eafa2),_0xaaa588['HmacMD5']=_0x2a2ffd[_0x5c589f(0x634)](_0x4eafa2);}(Math),_0x51e3f['MD5'];}));}(_0x423679)),_0x423679[_0x5b7b4f(0x5a8)];}var _0xdb0482={'exports':{}},_0x3d2376={'exports':{}},_0x29ac90;function _0x5dad0d(){const _0x5cf9c2=_0x3a00cb;return _0x29ac90||(_0x29ac90=0x1,function(_0x4c0eca,_0x2081e4){(function(_0x4e2edb,_0x53e8a6){const _0x34b911=_0x5f13;_0x4c0eca[_0x34b911(0x5a8)]=_0x53e8a6(_0x13ef9e());}(_0x4194df,function(_0x56008e){const _0x35e36c=_0x5f13;return(function(){const _0x4e773e=_0x5f13;var _0x85b2a=_0x56008e,_0x3d4782=_0x85b2a[_0x4e773e(0x2f5)],_0x133d4e=_0x3d4782[_0x4e773e(0x30d)],_0x219caf=_0x3d4782[_0x4e773e(0x5e9)],_0x2fb237=_0x85b2a[_0x4e773e(0x459)],_0x3f8754=[],_0x49ba71=_0x2fb237['SHA1']=_0x219caf[_0x4e773e(0x533)]({'_doReset':function(){const _0x251003=_0x4e773e;this[_0x251003(0x696)]=new _0x133d4e[(_0x251003(0x447))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x161eec,_0x18ca83){const _0x54cbfe=_0x4e773e;for(var _0x5e6a44=this[_0x54cbfe(0x696)][_0x54cbfe(0x26b)],_0x2bf1b8=_0x5e6a44[0x0],_0x378a54=_0x5e6a44[0x1],_0x579236=_0x5e6a44[0x2],_0x1f06c3=_0x5e6a44[0x3],_0x172215=_0x5e6a44[0x4],_0x5b12cd=0x0;_0x5b12cd<0x50;_0x5b12cd++){if(_0x5b12cd<0x10)_0x3f8754[_0x5b12cd]=_0x161eec[_0x18ca83+_0x5b12cd]|0x0;else{var _0x15088f=_0x3f8754[_0x5b12cd-0x3]^_0x3f8754[_0x5b12cd-0x8]^_0x3f8754[_0x5b12cd-0xe]^_0x3f8754[_0x5b12cd-0x10];_0x3f8754[_0x5b12cd]=_0x15088f<<0x1|_0x15088f>>>0x1f;}var _0x2209b7=(_0x2bf1b8<<0x5|_0x2bf1b8>>>0x1b)+_0x172215+_0x3f8754[_0x5b12cd];_0x5b12cd<0x14?_0x2209b7+=(_0x378a54&_0x579236|~_0x378a54&_0x1f06c3)+0x5a827999:_0x5b12cd<0x28?_0x2209b7+=(_0x378a54^_0x579236^_0x1f06c3)+0x6ed9eba1:_0x5b12cd<0x3c?_0x2209b7+=(_0x378a54&_0x579236|_0x378a54&_0x1f06c3|_0x579236&_0x1f06c3)-0x70e44324:_0x2209b7+=(_0x378a54^_0x579236^_0x1f06c3)-0x359d3e2a,_0x172215=_0x1f06c3,_0x1f06c3=_0x579236,_0x579236=_0x378a54<<0x1e|_0x378a54>>>0x2,_0x378a54=_0x2bf1b8,_0x2bf1b8=_0x2209b7;}_0x5e6a44[0x0]=_0x5e6a44[0x0]+_0x2bf1b8|0x0,_0x5e6a44[0x1]=_0x5e6a44[0x1]+_0x378a54|0x0,_0x5e6a44[0x2]=_0x5e6a44[0x2]+_0x579236|0x0,_0x5e6a44[0x3]=_0x5e6a44[0x3]+_0x1f06c3|0x0,_0x5e6a44[0x4]=_0x5e6a44[0x4]+_0x172215|0x0;},'_doFinalize':function(){const _0x3cb62d=_0x4e773e;var _0x2429b5=this[_0x3cb62d(0x4b3)],_0x3a617c=_0x2429b5[_0x3cb62d(0x26b)],_0x522d39=this[_0x3cb62d(0x639)]*0x8,_0x57b288=_0x2429b5[_0x3cb62d(0x3d1)]*0x8;return _0x3a617c[_0x57b288>>>0x5]|=0x80<<0x18-_0x57b288%0x20,_0x3a617c[(_0x57b288+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x522d39/0x100000000),_0x3a617c[(_0x57b288+0x40>>>0x9<<0x4)+0xf]=_0x522d39,_0x2429b5[_0x3cb62d(0x3d1)]=_0x3a617c['length']*0x4,this[_0x3cb62d(0x399)](),this[_0x3cb62d(0x696)];},'clone':function(){const _0x4ab45f=_0x4e773e;var _0x3355b5=_0x219caf[_0x4ab45f(0x380)][_0x4ab45f(0x42b)](this);return _0x3355b5[_0x4ab45f(0x696)]=this['_hash'][_0x4ab45f(0x380)](),_0x3355b5;}});_0x85b2a[_0x4e773e(0x237)]=_0x219caf['_createHelper'](_0x49ba71),_0x85b2a[_0x4e773e(0x289)]=_0x219caf['_createHmacHelper'](_0x49ba71);}()),_0x56008e[_0x35e36c(0x237)];}));}(_0x3d2376)),_0x3d2376[_0x5cf9c2(0x5a8)];}var _0x5001dd={'exports':{}},_0x18ee53;function _0x47a154(){const _0x710751=_0x3a00cb;return _0x18ee53||(_0x18ee53=0x1,function(_0x471225,_0x47431d){(function(_0x3ea8c1,_0xbe39a){_0x471225['exports']=_0xbe39a(_0x13ef9e());}(_0x4194df,function(_0x5b3c94){(function(){const _0x24f96a=_0x5f13;var _0x2225ad=_0x5b3c94,_0x4ad30d=_0x2225ad[_0x24f96a(0x2f5)],_0x50f32d=_0x4ad30d[_0x24f96a(0x57f)],_0xf3f125=_0x2225ad[_0x24f96a(0x2df)],_0x2c021b=_0xf3f125[_0x24f96a(0x5fe)],_0x12ab60=_0x2225ad['algo'];_0x12ab60['HMAC']=_0x50f32d[_0x24f96a(0x533)]({'init':function(_0x2c250a,_0x2fd7a9){const _0x248552=_0x24f96a;_0x2c250a=this[_0x248552(0x69a)]=new _0x2c250a[(_0x248552(0x447))](),typeof _0x2fd7a9==_0x248552(0x2b4)&&(_0x2fd7a9=_0x2c021b[_0x248552(0x3fe)](_0x2fd7a9));var _0xc235c3=_0x2c250a[_0x248552(0x410)],_0x38d1c8=_0xc235c3*0x4;_0x2fd7a9[_0x248552(0x3d1)]>_0x38d1c8&&(_0x2fd7a9=_0x2c250a[_0x248552(0x4d1)](_0x2fd7a9)),_0x2fd7a9[_0x248552(0x1f5)]();for(var _0x5501ba=this[_0x248552(0x24f)]=_0x2fd7a9[_0x248552(0x380)](),_0x1c7944=this[_0x248552(0x5d1)]=_0x2fd7a9[_0x248552(0x380)](),_0x2dc8b6=_0x5501ba['words'],_0x34c1a6=_0x1c7944[_0x248552(0x26b)],_0x4992c8=0x0;_0x4992c8<_0xc235c3;_0x4992c8++)_0x2dc8b6[_0x4992c8]^=0x5c5c5c5c,_0x34c1a6[_0x4992c8]^=0x36363636;_0x5501ba[_0x248552(0x3d1)]=_0x1c7944['sigBytes']=_0x38d1c8,this[_0x248552(0x28f)]();},'reset':function(){const _0x31f2c6=_0x24f96a;var _0x25d2d6=this['_hasher'];_0x25d2d6[_0x31f2c6(0x28f)](),_0x25d2d6[_0x31f2c6(0x562)](this[_0x31f2c6(0x5d1)]);},'update':function(_0x46c2a7){const _0x49b9d2=_0x24f96a;return this[_0x49b9d2(0x69a)][_0x49b9d2(0x562)](_0x46c2a7),this;},'finalize':function(_0x1c8355){const _0x17e93c=_0x24f96a;var _0x413e3c=this[_0x17e93c(0x69a)],_0x4d326b=_0x413e3c[_0x17e93c(0x4d1)](_0x1c8355);_0x413e3c[_0x17e93c(0x28f)]();var _0x173e85=_0x413e3c[_0x17e93c(0x4d1)](this[_0x17e93c(0x24f)][_0x17e93c(0x380)]()[_0x17e93c(0x549)](_0x4d326b));return _0x173e85;}});}());}));}(_0x5001dd)),_0x5001dd[_0x710751(0x5a8)];}var _0x10e2be;function _0x2f6337(){const _0x5f06f7=_0x3a00cb;return _0x10e2be||(_0x10e2be=0x1,function(_0x2e8af8,_0x59f2f7){(function(_0x459f8e,_0x2edb1e,_0x1ca3db){const _0x492331=_0x5f13;_0x2e8af8[_0x492331(0x5a8)]=_0x2edb1e(_0x13ef9e(),_0x5dad0d(),_0x47a154());}(_0x4194df,function(_0x4f0771){const _0x133696=_0x5f13;return(function(){const _0x4c8bd0=_0x5f13;var _0x20f18a=_0x4f0771,_0x23580c=_0x20f18a[_0x4c8bd0(0x2f5)],_0x33c881=_0x23580c[_0x4c8bd0(0x57f)],_0x4e16d9=_0x23580c[_0x4c8bd0(0x30d)],_0x37a477=_0x20f18a[_0x4c8bd0(0x459)],_0x5588f0=_0x37a477[_0x4c8bd0(0x436)],_0x35e766=_0x37a477[_0x4c8bd0(0x30e)]=_0x33c881[_0x4c8bd0(0x533)]({'cfg':_0x33c881[_0x4c8bd0(0x533)]({'keySize':0x80/0x20,'hasher':_0x5588f0,'iterations':0x1}),'init':function(_0x3440a3){const _0x5652cb=_0x4c8bd0;this[_0x5652cb(0x466)]=this[_0x5652cb(0x466)][_0x5652cb(0x533)](_0x3440a3);},'compute':function(_0x4e13cb,_0xd2b10e){const _0x48b588=_0x4c8bd0;for(var _0x4d1573,_0x190716=this[_0x48b588(0x466)],_0x6673b7=_0x190716['hasher']['create'](),_0x55a2f8=_0x4e16d9[_0x48b588(0x501)](),_0x53331f=_0x55a2f8[_0x48b588(0x26b)],_0x21d729=_0x190716['keySize'],_0x4eb200=_0x190716[_0x48b588(0x5b2)];_0x53331f[_0x48b588(0x422)]<_0x21d729;){_0x4d1573&&_0x6673b7[_0x48b588(0x562)](_0x4d1573),_0x4d1573=_0x6673b7[_0x48b588(0x562)](_0x4e13cb)[_0x48b588(0x4d1)](_0xd2b10e),_0x6673b7['reset']();for(var _0x32e206=0x1;_0x32e206<_0x4eb200;_0x32e206++)_0x4d1573=_0x6673b7[_0x48b588(0x4d1)](_0x4d1573),_0x6673b7[_0x48b588(0x28f)]();_0x55a2f8['concat'](_0x4d1573);}return _0x55a2f8[_0x48b588(0x3d1)]=_0x21d729*0x4,_0x55a2f8;}});_0x20f18a[_0x4c8bd0(0x30e)]=function(_0x2cf34c,_0x108ddd,_0x31121d){const _0xdedae=_0x4c8bd0;return _0x35e766[_0xdedae(0x501)](_0x31121d)['compute'](_0x2cf34c,_0x108ddd);};}()),_0x4f0771[_0x133696(0x30e)];}));}(_0xdb0482)),_0xdb0482[_0x5f06f7(0x5a8)];}var _0x29eccc={'exports':{}},_0x4a3656;function _0x5a292b(){const _0x334983=_0x3a00cb;return _0x4a3656||(_0x4a3656=0x1,function(_0x8454dd,_0x56af34){(function(_0x1aaf57,_0x148691,_0x2d5d9d){const _0x382b92=_0x5f13;_0x8454dd[_0x382b92(0x5a8)]=_0x148691(_0x13ef9e(),_0x2f6337());}(_0x4194df,function(_0x2733e0){const _0x6243bd=_0x5f13;_0x2733e0['lib'][_0x6243bd(0x636)]||function(_0x3cdfb0){const _0x535009=_0x6243bd;var _0x1cbdca=_0x2733e0,_0xf7886a=_0x1cbdca['lib'],_0x171ef6=_0xf7886a[_0x535009(0x57f)],_0x280d18=_0xf7886a[_0x535009(0x30d)],_0x21e913=_0xf7886a[_0x535009(0x492)],_0x574157=_0x1cbdca['enc'];_0x574157[_0x535009(0x5fe)];var _0x1eba93=_0x574157[_0x535009(0x411)],_0x786a7c=_0x1cbdca[_0x535009(0x459)],_0x265aea=_0x786a7c[_0x535009(0x30e)],_0x3a6be2=_0xf7886a[_0x535009(0x636)]=_0x21e913['extend']({'cfg':_0x171ef6[_0x535009(0x533)](),'createEncryptor':function(_0x13696b,_0x452018){const _0x3e9e26=_0x535009;return this[_0x3e9e26(0x501)](this['_ENC_XFORM_MODE'],_0x13696b,_0x452018);},'createDecryptor':function(_0x4811e9,_0x22041a){const _0x52d99d=_0x535009;return this[_0x52d99d(0x501)](this[_0x52d99d(0x669)],_0x4811e9,_0x22041a);},'init':function(_0x570399,_0x361638,_0x2f580f){const _0x365d03=_0x535009;this[_0x365d03(0x466)]=this[_0x365d03(0x466)]['extend'](_0x2f580f),this[_0x365d03(0x51a)]=_0x570399,this[_0x365d03(0x4b0)]=_0x361638,this[_0x365d03(0x28f)]();},'reset':function(){const _0x36c4ad=_0x535009;_0x21e913[_0x36c4ad(0x28f)][_0x36c4ad(0x42b)](this),this['_doReset']();},'process':function(_0x451d3d){const _0x15fefd=_0x535009;return this[_0x15fefd(0x63d)](_0x451d3d),this[_0x15fefd(0x399)]();},'finalize':function(_0x33733f){const _0x2dc509=_0x535009;_0x33733f&&this[_0x2dc509(0x63d)](_0x33733f);var _0x267f08=this[_0x2dc509(0x495)]();return _0x267f08;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3af4f9(_0x6f0489){const _0x493209=_0x5f13;return typeof _0x6f0489==_0x493209(0x2b4)?_0x38ddda:_0x1a7193;}return function(_0x39ab07){return{'encrypt':function(_0x308c93,_0x317d3a,_0x3b51b9){return _0x3af4f9(_0x317d3a)['encrypt'](_0x39ab07,_0x308c93,_0x317d3a,_0x3b51b9);},'decrypt':function(_0x3eb34f,_0x4b8028,_0x42f796){return _0x3af4f9(_0x4b8028)['decrypt'](_0x39ab07,_0x3eb34f,_0x4b8028,_0x42f796);}};};}())});_0xf7886a[_0x535009(0x3ec)]=_0x3a6be2[_0x535009(0x533)]({'_doFinalize':function(){var _0x3595fe=this['_process'](!0x0);return _0x3595fe;},'blockSize':0x1});var _0x5cba40=_0x1cbdca[_0x535009(0x462)]={},_0x97f132=_0xf7886a[_0x535009(0x5e2)]=_0x171ef6[_0x535009(0x533)]({'createEncryptor':function(_0x1f09d7,_0xcdf285){const _0x25f4e2=_0x535009;return this[_0x25f4e2(0x3be)][_0x25f4e2(0x501)](_0x1f09d7,_0xcdf285);},'createDecryptor':function(_0x2b2a74,_0x250bb9){const _0x46db46=_0x535009;return this['Decryptor'][_0x46db46(0x501)](_0x2b2a74,_0x250bb9);},'init':function(_0x201caf,_0x1c800b){const _0x376b3f=_0x535009;this[_0x376b3f(0x691)]=_0x201caf,this[_0x376b3f(0x3f8)]=_0x1c800b;}}),_0x4da68f=_0x5cba40[_0x535009(0x2bb)]=(function(){const _0x3d48c4=_0x535009;var _0x1ddd99=_0x97f132[_0x3d48c4(0x533)]();_0x1ddd99[_0x3d48c4(0x3be)]=_0x1ddd99[_0x3d48c4(0x533)]({'processBlock':function(_0x6fc07a,_0x24e45f){const _0x1b84ac=_0x3d48c4;var _0xbaf708=this[_0x1b84ac(0x691)],_0x18af9f=_0xbaf708[_0x1b84ac(0x410)];_0x4d3c2d[_0x1b84ac(0x42b)](this,_0x6fc07a,_0x24e45f,_0x18af9f),_0xbaf708[_0x1b84ac(0x59b)](_0x6fc07a,_0x24e45f),this[_0x1b84ac(0x40a)]=_0x6fc07a[_0x1b84ac(0x3e3)](_0x24e45f,_0x24e45f+_0x18af9f);}}),_0x1ddd99['Decryptor']=_0x1ddd99[_0x3d48c4(0x533)]({'processBlock':function(_0x1a062b,_0x73debc){const _0x120a92=_0x3d48c4;var _0x3b54cc=this[_0x120a92(0x691)],_0x2d24da=_0x3b54cc[_0x120a92(0x410)],_0x4297c9=_0x1a062b[_0x120a92(0x3e3)](_0x73debc,_0x73debc+_0x2d24da);_0x3b54cc[_0x120a92(0x2bc)](_0x1a062b,_0x73debc),_0x4d3c2d['call'](this,_0x1a062b,_0x73debc,_0x2d24da),this[_0x120a92(0x40a)]=_0x4297c9;}});function _0x4d3c2d(_0x496bbd,_0x34657e,_0x386c34){const _0x17743c=_0x3d48c4;var _0x3ab50e,_0x8a6be0=this[_0x17743c(0x3f8)];_0x8a6be0?(_0x3ab50e=_0x8a6be0,this[_0x17743c(0x3f8)]=_0x3cdfb0):_0x3ab50e=this['_prevBlock'];for(var _0x286338=0x0;_0x286338<_0x386c34;_0x286338++)_0x496bbd[_0x34657e+_0x286338]^=_0x3ab50e[_0x286338];}return _0x1ddd99;}()),_0x53ecc5=_0x1cbdca[_0x535009(0x32e)]={},_0x24e596=_0x53ecc5[_0x535009(0x5cf)]={'pad':function(_0x3b393b,_0x3881b5){const _0xbbe262=_0x535009;for(var _0x148507=_0x3881b5*0x4,_0x2826d6=_0x148507-_0x3b393b[_0xbbe262(0x3d1)]%_0x148507,_0xeb8dd3=_0x2826d6<<0x18|_0x2826d6<<0x10|_0x2826d6<<0x8|_0x2826d6,_0x1e186e=[],_0x3b6e73=0x0;_0x3b6e73<_0x2826d6;_0x3b6e73+=0x4)_0x1e186e[_0xbbe262(0x64d)](_0xeb8dd3);var _0x4b0fe6=_0x280d18['create'](_0x1e186e,_0x2826d6);_0x3b393b[_0xbbe262(0x549)](_0x4b0fe6);},'unpad':function(_0x4e72f1){const _0x37ec65=_0x535009;var _0x4e4a68=_0x4e72f1[_0x37ec65(0x26b)][_0x4e72f1[_0x37ec65(0x3d1)]-0x1>>>0x2]&0xff;_0x4e72f1[_0x37ec65(0x3d1)]-=_0x4e4a68;}};_0xf7886a['BlockCipher']=_0x3a6be2[_0x535009(0x533)]({'cfg':_0x3a6be2[_0x535009(0x466)][_0x535009(0x533)]({'mode':_0x4da68f,'padding':_0x24e596}),'reset':function(){const _0x145aea=_0x535009;var _0x56c54c;_0x3a6be2[_0x145aea(0x28f)][_0x145aea(0x42b)](this);var _0x43ec8=this['cfg'],_0x5fe4cd=_0x43ec8['iv'],_0x9f28ac=_0x43ec8['mode'];this[_0x145aea(0x51a)]==this['_ENC_XFORM_MODE']?_0x56c54c=_0x9f28ac['createEncryptor']:(_0x56c54c=_0x9f28ac[_0x145aea(0x476)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x145aea(0x644)][_0x145aea(0x3bd)]==_0x56c54c?this[_0x145aea(0x644)][_0x145aea(0x447)](this,_0x5fe4cd&&_0x5fe4cd[_0x145aea(0x26b)]):(this[_0x145aea(0x644)]=_0x56c54c[_0x145aea(0x42b)](_0x9f28ac,this,_0x5fe4cd&&_0x5fe4cd['words']),this['_mode'][_0x145aea(0x3bd)]=_0x56c54c);},'_doProcessBlock':function(_0x517a86,_0xd05b52){const _0x2c410d=_0x535009;this[_0x2c410d(0x644)][_0x2c410d(0x3ef)](_0x517a86,_0xd05b52);},'_doFinalize':function(){const _0xcbcaad=_0x535009;var _0x46ba8d,_0x3683cf=this[_0xcbcaad(0x466)][_0xcbcaad(0x665)];return this['_xformMode']==this[_0xcbcaad(0x3e0)]?(_0x3683cf[_0xcbcaad(0x32e)](this[_0xcbcaad(0x4b3)],this['blockSize']),_0x46ba8d=this[_0xcbcaad(0x399)](!0x0)):(_0x46ba8d=this[_0xcbcaad(0x399)](!0x0),_0x3683cf['unpad'](_0x46ba8d)),_0x46ba8d;},'blockSize':0x80/0x20});var _0x5add0e=_0xf7886a[_0x535009(0x532)]=_0x171ef6[_0x535009(0x533)]({'init':function(_0x5e3adc){const _0x5f5697=_0x535009;this[_0x5f5697(0x2b9)](_0x5e3adc);},'toString':function(_0x37d245){const _0x2f8235=_0x535009;return(_0x37d245||this[_0x2f8235(0x34a)])[_0x2f8235(0x2a3)](this);}}),_0x5a931e=_0x1cbdca[_0x535009(0x23d)]={},_0x16d1b5=_0x5a931e[_0x535009(0x4a2)]={'stringify':function(_0x1b90be){const _0x2f2a7e=_0x535009;var _0x2e7f98,_0x444fc=_0x1b90be[_0x2f2a7e(0x389)],_0x55ddfb=_0x1b90be[_0x2f2a7e(0x308)];return _0x55ddfb?_0x2e7f98=_0x280d18[_0x2f2a7e(0x501)]([0x53616c74,0x65645f5f])[_0x2f2a7e(0x549)](_0x55ddfb)['concat'](_0x444fc):_0x2e7f98=_0x444fc,_0x2e7f98[_0x2f2a7e(0x3fd)](_0x1eba93);},'parse':function(_0x4e8b12){const _0x4bc4e4=_0x535009;var _0x121eb2,_0x2f2f9e=_0x1eba93[_0x4bc4e4(0x3fe)](_0x4e8b12),_0x26c43d=_0x2f2f9e[_0x4bc4e4(0x26b)];return _0x26c43d[0x0]==0x53616c74&&_0x26c43d[0x1]==0x65645f5f&&(_0x121eb2=_0x280d18[_0x4bc4e4(0x501)](_0x26c43d[_0x4bc4e4(0x3e3)](0x2,0x4)),_0x26c43d[_0x4bc4e4(0x3a5)](0x0,0x4),_0x2f2f9e[_0x4bc4e4(0x3d1)]-=0x10),_0x5add0e[_0x4bc4e4(0x501)]({'ciphertext':_0x2f2f9e,'salt':_0x121eb2});}},_0x1a7193=_0xf7886a[_0x535009(0x1e8)]=_0x171ef6[_0x535009(0x533)]({'cfg':_0x171ef6[_0x535009(0x533)]({'format':_0x16d1b5}),'encrypt':function(_0x438f1d,_0x43fbf5,_0x2c5cbd,_0x37f317){const _0x5bc49c=_0x535009;_0x37f317=this[_0x5bc49c(0x466)][_0x5bc49c(0x533)](_0x37f317);var _0x171b29=_0x438f1d['createEncryptor'](_0x2c5cbd,_0x37f317),_0x91d8a4=_0x171b29[_0x5bc49c(0x4d1)](_0x43fbf5),_0x32fc33=_0x171b29[_0x5bc49c(0x466)];return _0x5add0e[_0x5bc49c(0x501)]({'ciphertext':_0x91d8a4,'key':_0x2c5cbd,'iv':_0x32fc33['iv'],'algorithm':_0x438f1d,'mode':_0x32fc33['mode'],'padding':_0x32fc33[_0x5bc49c(0x665)],'blockSize':_0x438f1d[_0x5bc49c(0x410)],'formatter':_0x37f317[_0x5bc49c(0x23d)]});},'decrypt':function(_0x38ca7c,_0x25678a,_0x3ce494,_0x3021c2){const _0x424405=_0x535009;_0x3021c2=this[_0x424405(0x466)]['extend'](_0x3021c2),_0x25678a=this[_0x424405(0x337)](_0x25678a,_0x3021c2[_0x424405(0x23d)]);var _0x18b459=_0x38ca7c['createDecryptor'](_0x3ce494,_0x3021c2)[_0x424405(0x4d1)](_0x25678a[_0x424405(0x389)]);return _0x18b459;},'_parse':function(_0xaaf6cf,_0x140c0f){const _0x3e3883=_0x535009;return typeof _0xaaf6cf==_0x3e3883(0x2b4)?_0x140c0f[_0x3e3883(0x3fe)](_0xaaf6cf,this):_0xaaf6cf;}}),_0x598730=_0x1cbdca[_0x535009(0x434)]={},_0x22fd50=_0x598730[_0x535009(0x4a2)]={'execute':function(_0x5bd9df,_0x2c6f93,_0x3fd02,_0x1cbdcd,_0x39d4b5){const _0x1a2de2=_0x535009;if(_0x1cbdcd||(_0x1cbdcd=_0x280d18[_0x1a2de2(0x4ab)](0x40/0x8)),_0x39d4b5)var _0x45482b=_0x265aea[_0x1a2de2(0x501)]({'keySize':_0x2c6f93+_0x3fd02,'hasher':_0x39d4b5})['compute'](_0x5bd9df,_0x1cbdcd);else var _0x45482b=_0x265aea[_0x1a2de2(0x501)]({'keySize':_0x2c6f93+_0x3fd02})['compute'](_0x5bd9df,_0x1cbdcd);var _0x590747=_0x280d18[_0x1a2de2(0x501)](_0x45482b['words'][_0x1a2de2(0x3e3)](_0x2c6f93),_0x3fd02*0x4);return _0x45482b[_0x1a2de2(0x3d1)]=_0x2c6f93*0x4,_0x5add0e['create']({'key':_0x45482b,'iv':_0x590747,'salt':_0x1cbdcd});}},_0x38ddda=_0xf7886a[_0x535009(0x4c3)]=_0x1a7193['extend']({'cfg':_0x1a7193[_0x535009(0x466)][_0x535009(0x533)]({'kdf':_0x22fd50}),'encrypt':function(_0x20c73d,_0x4ee3df,_0x206c6d,_0xa98f8f){const _0x3d1e5f=_0x535009;_0xa98f8f=this[_0x3d1e5f(0x466)][_0x3d1e5f(0x533)](_0xa98f8f);var _0x52e9ba=_0xa98f8f[_0x3d1e5f(0x434)]['execute'](_0x206c6d,_0x20c73d[_0x3d1e5f(0x4f6)],_0x20c73d[_0x3d1e5f(0x4cc)],_0xa98f8f[_0x3d1e5f(0x308)],_0xa98f8f[_0x3d1e5f(0x1eb)]);_0xa98f8f['iv']=_0x52e9ba['iv'];var _0x57b574=_0x1a7193['encrypt'][_0x3d1e5f(0x42b)](this,_0x20c73d,_0x4ee3df,_0x52e9ba['key'],_0xa98f8f);return _0x57b574[_0x3d1e5f(0x2b9)](_0x52e9ba),_0x57b574;},'decrypt':function(_0x36dd93,_0x39a144,_0x4e01d9,_0x5235f0){const _0x2ede16=_0x535009;_0x5235f0=this[_0x2ede16(0x466)][_0x2ede16(0x533)](_0x5235f0),_0x39a144=this[_0x2ede16(0x337)](_0x39a144,_0x5235f0[_0x2ede16(0x23d)]);var _0xe05d6d=_0x5235f0[_0x2ede16(0x434)]['execute'](_0x4e01d9,_0x36dd93[_0x2ede16(0x4f6)],_0x36dd93[_0x2ede16(0x4cc)],_0x39a144[_0x2ede16(0x308)],_0x5235f0[_0x2ede16(0x1eb)]);_0x5235f0['iv']=_0xe05d6d['iv'];var _0x3e8059=_0x1a7193[_0x2ede16(0x5ed)][_0x2ede16(0x42b)](this,_0x36dd93,_0x39a144,_0xe05d6d['key'],_0x5235f0);return _0x3e8059;}});}();}));}(_0x29eccc)),_0x29eccc[_0x334983(0x5a8)];}(function(_0x848c52,_0x6eb2a2){(function(_0x56fae9,_0x4014dd,_0xe3a68){const _0x224b81=_0x5f13;_0x848c52[_0x224b81(0x5a8)]=_0x4014dd(_0x13ef9e(),_0x75109c(),_0x144c2a(),_0x2f6337(),_0x5a292b());}(_0x4194df,function(_0x31d7f2){const _0x3407be=_0x5f13;return(function(){const _0x5be15b=_0x5f13;var _0x1c092a=_0x31d7f2,_0x558293=_0x1c092a[_0x5be15b(0x2f5)],_0x5f0978=_0x558293[_0x5be15b(0x594)],_0x4643f6=_0x1c092a[_0x5be15b(0x459)],_0xd035a0=[],_0x945888=[],_0x47d1e8=[],_0x4146b9=[],_0x5267bf=[],_0x356c1c=[],_0x1343d8=[],_0x5e1eca=[],_0x531632=[],_0x2be4a2=[];(function(){for(var _0x155dd8=[],_0x4e23c8=0x0;_0x4e23c8<0x100;_0x4e23c8++)_0x4e23c8<0x80?_0x155dd8[_0x4e23c8]=_0x4e23c8<<0x1:_0x155dd8[_0x4e23c8]=_0x4e23c8<<0x1^0x11b;for(var _0x422d3a=0x0,_0x5306dc=0x0,_0x4e23c8=0x0;_0x4e23c8<0x100;_0x4e23c8++){var _0x324c1e=_0x5306dc^_0x5306dc<<0x1^_0x5306dc<<0x2^_0x5306dc<<0x3^_0x5306dc<<0x4;_0x324c1e=_0x324c1e>>>0x8^_0x324c1e&0xff^0x63,_0xd035a0[_0x422d3a]=_0x324c1e,_0x945888[_0x324c1e]=_0x422d3a;var _0x2af68e=_0x155dd8[_0x422d3a],_0xc16300=_0x155dd8[_0x2af68e],_0x2a38f8=_0x155dd8[_0xc16300],_0x342c7a=_0x155dd8[_0x324c1e]*0x101^_0x324c1e*0x1010100;_0x47d1e8[_0x422d3a]=_0x342c7a<<0x18|_0x342c7a>>>0x8,_0x4146b9[_0x422d3a]=_0x342c7a<<0x10|_0x342c7a>>>0x10,_0x5267bf[_0x422d3a]=_0x342c7a<<0x8|_0x342c7a>>>0x18,_0x356c1c[_0x422d3a]=_0x342c7a;var _0x342c7a=_0x2a38f8*0x1010101^_0xc16300*0x10001^_0x2af68e*0x101^_0x422d3a*0x1010100;_0x1343d8[_0x324c1e]=_0x342c7a<<0x18|_0x342c7a>>>0x8,_0x5e1eca[_0x324c1e]=_0x342c7a<<0x10|_0x342c7a>>>0x10,_0x531632[_0x324c1e]=_0x342c7a<<0x8|_0x342c7a>>>0x18,_0x2be4a2[_0x324c1e]=_0x342c7a,_0x422d3a?(_0x422d3a=_0x2af68e^_0x155dd8[_0x155dd8[_0x155dd8[_0x2a38f8^_0x2af68e]]],_0x5306dc^=_0x155dd8[_0x155dd8[_0x5306dc]]):_0x422d3a=_0x5306dc=0x1;}}());var _0x551274=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x517d05=_0x4643f6['AES']=_0x5f0978[_0x5be15b(0x533)]({'_doReset':function(){const _0x450008=_0x5be15b;var _0x26b3cc;if(!(this[_0x450008(0x5d3)]&&this[_0x450008(0x250)]===this[_0x450008(0x4b0)])){for(var _0x216f37=this[_0x450008(0x250)]=this[_0x450008(0x4b0)],_0x480c33=_0x216f37[_0x450008(0x26b)],_0x4ca22e=_0x216f37['sigBytes']/0x4,_0x29c140=this[_0x450008(0x5d3)]=_0x4ca22e+0x6,_0x2b3f70=(_0x29c140+0x1)*0x4,_0x47a950=this[_0x450008(0x561)]=[],_0x585062=0x0;_0x585062<_0x2b3f70;_0x585062++)_0x585062<_0x4ca22e?_0x47a950[_0x585062]=_0x480c33[_0x585062]:(_0x26b3cc=_0x47a950[_0x585062-0x1],_0x585062%_0x4ca22e?_0x4ca22e>0x6&&_0x585062%_0x4ca22e==0x4&&(_0x26b3cc=_0xd035a0[_0x26b3cc>>>0x18]<<0x18|_0xd035a0[_0x26b3cc>>>0x10&0xff]<<0x10|_0xd035a0[_0x26b3cc>>>0x8&0xff]<<0x8|_0xd035a0[_0x26b3cc&0xff]):(_0x26b3cc=_0x26b3cc<<0x8|_0x26b3cc>>>0x18,_0x26b3cc=_0xd035a0[_0x26b3cc>>>0x18]<<0x18|_0xd035a0[_0x26b3cc>>>0x10&0xff]<<0x10|_0xd035a0[_0x26b3cc>>>0x8&0xff]<<0x8|_0xd035a0[_0x26b3cc&0xff],_0x26b3cc^=_0x551274[_0x585062/_0x4ca22e|0x0]<<0x18),_0x47a950[_0x585062]=_0x47a950[_0x585062-_0x4ca22e]^_0x26b3cc);for(var _0x1c7e4d=this[_0x450008(0x424)]=[],_0x478a9d=0x0;_0x478a9d<_0x2b3f70;_0x478a9d++){var _0x585062=_0x2b3f70-_0x478a9d;if(_0x478a9d%0x4)var _0x26b3cc=_0x47a950[_0x585062];else var _0x26b3cc=_0x47a950[_0x585062-0x4];_0x478a9d<0x4||_0x585062<=0x4?_0x1c7e4d[_0x478a9d]=_0x26b3cc:_0x1c7e4d[_0x478a9d]=_0x1343d8[_0xd035a0[_0x26b3cc>>>0x18]]^_0x5e1eca[_0xd035a0[_0x26b3cc>>>0x10&0xff]]^_0x531632[_0xd035a0[_0x26b3cc>>>0x8&0xff]]^_0x2be4a2[_0xd035a0[_0x26b3cc&0xff]];}}},'encryptBlock':function(_0x3b719a,_0x4cf27f){this['_doCryptBlock'](_0x3b719a,_0x4cf27f,this['_keySchedule'],_0x47d1e8,_0x4146b9,_0x5267bf,_0x356c1c,_0xd035a0);},'decryptBlock':function(_0x56c761,_0x2f676f){const _0x2ecbe1=_0x5be15b;var _0x3cfff1=_0x56c761[_0x2f676f+0x1];_0x56c761[_0x2f676f+0x1]=_0x56c761[_0x2f676f+0x3],_0x56c761[_0x2f676f+0x3]=_0x3cfff1,this[_0x2ecbe1(0x3a8)](_0x56c761,_0x2f676f,this['_invKeySchedule'],_0x1343d8,_0x5e1eca,_0x531632,_0x2be4a2,_0x945888);var _0x3cfff1=_0x56c761[_0x2f676f+0x1];_0x56c761[_0x2f676f+0x1]=_0x56c761[_0x2f676f+0x3],_0x56c761[_0x2f676f+0x3]=_0x3cfff1;},'_doCryptBlock':function(_0x19861a,_0x1749e0,_0x4afd86,_0x2ce3c4,_0x42c08c,_0xbeca19,_0x323bc8,_0x2b3500){const _0x359842=_0x5be15b;for(var _0x51ab87=this[_0x359842(0x5d3)],_0xeb7bfb=_0x19861a[_0x1749e0]^_0x4afd86[0x0],_0x2141a0=_0x19861a[_0x1749e0+0x1]^_0x4afd86[0x1],_0x3d88d3=_0x19861a[_0x1749e0+0x2]^_0x4afd86[0x2],_0x549142=_0x19861a[_0x1749e0+0x3]^_0x4afd86[0x3],_0x170f50=0x4,_0x11eccb=0x1;_0x11eccb<_0x51ab87;_0x11eccb++){var _0x5424e8=_0x2ce3c4[_0xeb7bfb>>>0x18]^_0x42c08c[_0x2141a0>>>0x10&0xff]^_0xbeca19[_0x3d88d3>>>0x8&0xff]^_0x323bc8[_0x549142&0xff]^_0x4afd86[_0x170f50++],_0x36bb08=_0x2ce3c4[_0x2141a0>>>0x18]^_0x42c08c[_0x3d88d3>>>0x10&0xff]^_0xbeca19[_0x549142>>>0x8&0xff]^_0x323bc8[_0xeb7bfb&0xff]^_0x4afd86[_0x170f50++],_0x37648b=_0x2ce3c4[_0x3d88d3>>>0x18]^_0x42c08c[_0x549142>>>0x10&0xff]^_0xbeca19[_0xeb7bfb>>>0x8&0xff]^_0x323bc8[_0x2141a0&0xff]^_0x4afd86[_0x170f50++],_0x39f681=_0x2ce3c4[_0x549142>>>0x18]^_0x42c08c[_0xeb7bfb>>>0x10&0xff]^_0xbeca19[_0x2141a0>>>0x8&0xff]^_0x323bc8[_0x3d88d3&0xff]^_0x4afd86[_0x170f50++];_0xeb7bfb=_0x5424e8,_0x2141a0=_0x36bb08,_0x3d88d3=_0x37648b,_0x549142=_0x39f681;}var _0x5424e8=(_0x2b3500[_0xeb7bfb>>>0x18]<<0x18|_0x2b3500[_0x2141a0>>>0x10&0xff]<<0x10|_0x2b3500[_0x3d88d3>>>0x8&0xff]<<0x8|_0x2b3500[_0x549142&0xff])^_0x4afd86[_0x170f50++],_0x36bb08=(_0x2b3500[_0x2141a0>>>0x18]<<0x18|_0x2b3500[_0x3d88d3>>>0x10&0xff]<<0x10|_0x2b3500[_0x549142>>>0x8&0xff]<<0x8|_0x2b3500[_0xeb7bfb&0xff])^_0x4afd86[_0x170f50++],_0x37648b=(_0x2b3500[_0x3d88d3>>>0x18]<<0x18|_0x2b3500[_0x549142>>>0x10&0xff]<<0x10|_0x2b3500[_0xeb7bfb>>>0x8&0xff]<<0x8|_0x2b3500[_0x2141a0&0xff])^_0x4afd86[_0x170f50++],_0x39f681=(_0x2b3500[_0x549142>>>0x18]<<0x18|_0x2b3500[_0xeb7bfb>>>0x10&0xff]<<0x10|_0x2b3500[_0x2141a0>>>0x8&0xff]<<0x8|_0x2b3500[_0x3d88d3&0xff])^_0x4afd86[_0x170f50++];_0x19861a[_0x1749e0]=_0x5424e8,_0x19861a[_0x1749e0+0x1]=_0x36bb08,_0x19861a[_0x1749e0+0x2]=_0x37648b,_0x19861a[_0x1749e0+0x3]=_0x39f681;},'keySize':0x100/0x20});_0x1c092a[_0x5be15b(0x60c)]=_0x5f0978[_0x5be15b(0x4b1)](_0x517d05);}()),_0x31d7f2[_0x3407be(0x60c)];}));}(_0x1fb61c));var _0x58a2f9=_0x1fb61c['exports'];const _0x5b931c=_0x5d4b7b(_0x58a2f9);var _0x3861bb=_0x75109c();const _0x31d44a=_0x5d4b7b(_0x3861bb);var _0x28f5da={'exports':{}};(function(_0xaf7596,_0x433c06){(function(_0x1d1fbf,_0x4a5f62){const _0x42a2f0=_0x5f13;_0xaf7596[_0x42a2f0(0x5a8)]=_0x4a5f62(_0x13ef9e());}(_0x4194df,function(_0x2c099c){const _0x1bd981=_0x5f13;return _0x2c099c[_0x1bd981(0x2df)][_0x1bd981(0x5fe)];}));}(_0x28f5da));var _0x3837da=_0x28f5da[_0x3a00cb(0x5a8)];const _0x12a886=_0x5d4b7b(_0x3837da);var _0x45db3a={'exports':{}};(function(_0x2577ff,_0x488f7b){(function(_0xb4bc39,_0x58ab53){_0x2577ff['exports']=_0x58ab53(_0x13ef9e());}(_0x4194df,function(_0x4f8da0){const _0x11ad66=_0x5f13;return(function(){const _0x2738cb=_0x5f13;if(typeof ArrayBuffer==_0x2738cb(0x5d7)){var _0x59c02e=_0x4f8da0,_0x5cfa57=_0x59c02e[_0x2738cb(0x2f5)],_0xf7311b=_0x5cfa57[_0x2738cb(0x30d)],_0x2ba60c=_0xf7311b[_0x2738cb(0x447)],_0x5b0eee=_0xf7311b[_0x2738cb(0x447)]=function(_0x5c95b3){const _0x336391=_0x2738cb;if(_0x5c95b3 instanceof ArrayBuffer&&(_0x5c95b3=new Uint8Array(_0x5c95b3)),(_0x5c95b3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c95b3 instanceof Uint8ClampedArray||_0x5c95b3 instanceof Int16Array||_0x5c95b3 instanceof Uint16Array||_0x5c95b3 instanceof Int32Array||_0x5c95b3 instanceof Uint32Array||_0x5c95b3 instanceof Float32Array||_0x5c95b3 instanceof Float64Array)&&(_0x5c95b3=new Uint8Array(_0x5c95b3['buffer'],_0x5c95b3[_0x336391(0x52c)],_0x5c95b3[_0x336391(0x599)])),_0x5c95b3 instanceof Uint8Array){for(var _0x1c72f4=_0x5c95b3[_0x336391(0x599)],_0x526b63=[],_0x399588=0x0;_0x399588<_0x1c72f4;_0x399588++)_0x526b63[_0x399588>>>0x2]|=_0x5c95b3[_0x399588]<<0x18-_0x399588%0x4*0x8;_0x2ba60c['call'](this,_0x526b63,_0x1c72f4);}else _0x2ba60c[_0x336391(0x48d)](this,arguments);};_0x5b0eee['prototype']=_0xf7311b;}}()),_0x4f8da0[_0x11ad66(0x2f5)]['WordArray'];}));}(_0x45db3a));var _0x16fa8f=_0x45db3a[_0x3a00cb(0x5a8)];const _0x385537=_0x5d4b7b(_0x16fa8f);var _0x4e63b5={'exports':{}};(function(_0x417b13,_0x665f82){(function(_0x2ae966,_0x51512c,_0x368c65){const _0x4297f5=_0x5f13;_0x417b13[_0x4297f5(0x5a8)]=_0x51512c(_0x13ef9e(),_0x5a292b());}(_0x4194df,function(_0x2cc8f3){const _0x1270a6=_0x5f13;return _0x2cc8f3[_0x1270a6(0x32e)][_0x1270a6(0x249)]={'pad':function(){},'unpad':function(){}},_0x2cc8f3[_0x1270a6(0x32e)][_0x1270a6(0x249)];}));}(_0x4e63b5));var _0x2ec024=_0x4e63b5[_0x3a00cb(0x5a8)];const _0x320851=_0x5d4b7b(_0x2ec024);function _0x24db74(_0x52b585,_0x381df8){const _0x208fb0=_0x3a00cb,_0x2cb9eb=_0x381df8-_0x52b585[_0x208fb0(0x422)]%_0x381df8,_0x15c99d=String[_0x208fb0(0x316)](_0x2cb9eb)[_0x208fb0(0x32f)](_0x2cb9eb);return _0x52b585+_0x15c99d;}function _0x2993e3(_0xeb4289,_0x176b37){const _0x2d2737=_0x3a00cb,_0xcea84a=_0x385537[_0x2d2737(0x4ab)](0x10),_0x1e4b59=_0x24db74(_0xeb4289,0x10),_0x598f80=_0x5b931c[_0x2d2737(0x52f)](_0x12a886['parse'](_0x1e4b59),_0x31d44a[_0x2d2737(0x3fe)](_0x176b37),{'iv':_0xcea84a,'padding':_0x320851});return _0xcea84a[_0x2d2737(0x549)](_0x598f80[_0x2d2737(0x389)])[_0x2d2737(0x3fd)](_0x31d44a);}function _0x47ea69(){const _0x14c1b2=_0x3a00cb,_0x37da90=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x37da90){const _0x37b5f8={'time':Math[_0x14c1b2(0x22d)](Date[_0x14c1b2(0x458)]()/0x3e8),'domain':location[_0x14c1b2(0x61b)]};return _0x2993e3(JSON['stringify'](_0x37b5f8),_0x37da90);}}var _0x4bc71d=Object[_0x3a00cb(0x43c)],_0x5f51be=Object[_0x3a00cb(0x637)],_0x1557ec=(_0x33bc59,_0x177c65,_0x443b2a,_0x55d97f)=>{const _0x34ccd4=_0x3a00cb;for(var _0x460c9b=_0x55d97f>0x1?void 0x0:_0x55d97f?_0x5f51be(_0x177c65,_0x443b2a):_0x177c65,_0xc67b65=_0x33bc59[_0x34ccd4(0x422)]-0x1,_0x1ca470;_0xc67b65>=0x0;_0xc67b65--)(_0x1ca470=_0x33bc59[_0xc67b65])&&(_0x460c9b=(_0x55d97f?_0x1ca470(_0x177c65,_0x443b2a,_0x460c9b):_0x1ca470(_0x460c9b))||_0x460c9b);return _0x55d97f&&_0x460c9b&&_0x4bc71d(_0x177c65,_0x443b2a,_0x460c9b),_0x460c9b;},_0x5f1c67=(_0x1546b3,_0x33e41f)=>(_0x28afc0,_0x3be761)=>_0x33e41f(_0x28afc0,_0x3be761,_0x1546b3);let _0xf8043f=class{constructor(_0x4d5b93){const _0x44cc77=_0x3a00cb;this['_httpService']=_0x4d5b93,this[_0x44cc77(0x221)]();}[_0x3a00cb(0x221)](){const _0x5e4b37=_0x3a00cb;this[_0x5e4b37(0x1f6)]['registerHTTPInterceptor']({'interceptor':(_0x2c81de,_0x84dc65)=>{const _0x6eee75=_0x5e4b37,_0x288dc4=_0x2c81de[_0x6eee75(0x4f1)],_0x22a417=_0x47ea69();return _0x22a417&&_0x288dc4[_0x6eee75(0x4cf)](_0x6eee75(0x27d),_0x22a417),_0x84dc65(_0x2c81de);}});}};_0xf8043f=_0x1557ec([_0x5f1c67(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be['HTTPService']))],_0xf8043f);var _0x10e79e=Object[_0x3a00cb(0x43c)],_0x28b300=Object['getOwnPropertyDescriptor'],_0x3540a3=(_0x53a3c5,_0x1691e3,_0x430d0e,_0x5946ce)=>{const _0x4a5b38=_0x3a00cb;for(var _0x4c93fd=_0x5946ce>0x1?void 0x0:_0x5946ce?_0x28b300(_0x1691e3,_0x430d0e):_0x1691e3,_0x16d825=_0x53a3c5[_0x4a5b38(0x422)]-0x1,_0x2269bb;_0x16d825>=0x0;_0x16d825--)(_0x2269bb=_0x53a3c5[_0x16d825])&&(_0x4c93fd=(_0x5946ce?_0x2269bb(_0x1691e3,_0x430d0e,_0x4c93fd):_0x2269bb(_0x4c93fd))||_0x4c93fd);return _0x5946ce&&_0x4c93fd&&_0x10e79e(_0x1691e3,_0x430d0e,_0x4c93fd),_0x4c93fd;},_0x5f43df=(_0xdfbe50,_0x2c1c3f)=>(_0x16c6fd,_0x10a932)=>_0x2c1c3f(_0x16c6fd,_0x10a932,_0xdfbe50);const _0x3cb415=['image/png',_0x3a00cb(0x360),_0x3a00cb(0x484),_0x3a00cb(0x3ee),_0x3a00cb(0x4a8)],_0x215f3a=0x5*0x400*0x400,_0x141fbe=_0x3a00cb(0x649),_0x45fa11=_0x3a00cb(0x228),_0x2d2b05='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x254883=_0x3a00cb(0x490);_0x5aeb12[_0x3a00cb(0x2ea)]=class{constructor(_0x3c514b,_0x4127f8,_0x1ad3cc){const _0x32582f=_0x3a00cb;_0x2eb009(this,_0x32582f(0x406),0x0),_0x2eb009(this,_0x32582f(0x488),new _0x1eddba['Subject']()),_0x2eb009(this,_0x32582f(0x2ac),this[_0x32582f(0x488)]),_0x2eb009(this,_0x32582f(0x5d5),new Map()),(this['_httpService']=_0x3c514b,this[_0x32582f(0x4ce)]=_0x4127f8,this['_univerInstanceService']=_0x1ad3cc);}[_0x3a00cb(0x632)](_0xfc625a){const _0x56dd81=_0x3a00cb;this[_0x56dd81(0x406)]=_0xfc625a,this[_0x56dd81(0x488)]['next'](_0xfc625a);}[_0x3a00cb(0x610)](_0x280e11,_0x251b3a){const _0x39906d=_0x3a00cb;if(_0x251b3a===_0x29456d[_0x39906d(0x1ed)][_0x39906d(0x213)]){const _0x281ab1=new Image();return _0x281ab1[_0x39906d(0x224)]=_0x280e11,_0x281ab1;}return this[_0x39906d(0x5d5)][_0x39906d(0x4bf)](_0x280e11);}['addImageSourceCache'](_0x1fdeba,_0x3c7eff,_0x515906){_0x3c7eff===_0x29456d['ImageSourceType']['BASE64']||_0x515906==null||this['_imageSourceCache']['set'](_0x1fdeba,_0x515906);}async['getImage'](_0x52f26c){const _0x1c2e70=_0x3a00cb;try{const _0x46dcf0=this[_0x1c2e70(0x66a)](this[_0x1c2e70(0x3f1)](),''+_0x52f26c),_0x383116=(await this['_httpService'][_0x1c2e70(0x4bf)](_0x46dcf0))['body'];if(_0x383116[_0x1c2e70(0x50f)]&&_0x383116[_0x1c2e70(0x50f)][_0x1c2e70(0x3db)]===_0xcce604['OK']){const _0x1be16c=new URL(_0x383116['url'],this[_0x1c2e70(0x361)]())[_0x1c2e70(0x3fd)]();return Promise['resolve'](_0x1be16c);}return Promise[_0x1c2e70(0x54b)](_0x383116[_0x1c2e70(0x50f)]);}catch(_0x270a2e){return Promise[_0x1c2e70(0x54b)](_0x270a2e);}}async[_0x3a00cb(0x650)](_0x3fac96){const _0x3cf6e0=_0x3a00cb;let _0x4c2295='';if(!_0x3cb415['includes'](_0x3fac96[_0x3cf6e0(0x651)]))return this[_0x3cf6e0(0x676)](),Promise[_0x3cf6e0(0x54b)](new Error(_0x29456d[_0x3cf6e0(0x4cd)]['ERROR_IMAGE_TYPE']));if(_0x3fac96[_0x3cf6e0(0x3af)]>_0x215f3a)return this[_0x3cf6e0(0x676)](),Promise['reject'](new Error(_0x29456d['ImageUploadStatusType'][_0x3cf6e0(0x506)]));try{const _0x16d387=new FormData();_0x16d387[_0x3cf6e0(0x4a0)](_0x3cf6e0(0x234),_0x3fac96);const _0x2567ab=this['_univerInstanceService']['getFocusedUnit'](),_0x5a0973=_0x2567ab==null?void 0x0:_0x2567ab[_0x3cf6e0(0x259)]();if(!_0x5a0973)throw new Error(_0x3cf6e0(0x404));const _0x3476b3=this[_0x3cf6e0(0x3e8)]()+_0x3cf6e0(0x470)+_0x3fac96[_0x3cf6e0(0x3af)]['toString']()+_0x3cf6e0(0x678)+_0x322ebc[_0x3cf6e0(0x5a2)]+_0x3cf6e0(0x5b3)+encodeURIComponent(_0x5a0973),_0x18682f=await(await fetch(_0x3476b3,{'method':_0x3cf6e0(0x5c0),'body':_0x16d387}))[_0x3cf6e0(0x417)]();if(typeof _0x18682f['FileId']!=_0x3cf6e0(0x2b4))return this[_0x3cf6e0(0x676)](),Promise[_0x3cf6e0(0x54b)](new Error(_0x29456d[_0x3cf6e0(0x4cd)][_0x3cf6e0(0x341)]));_0x4c2295=_0x18682f[_0x3cf6e0(0x1fa)];}catch{return this[_0x3cf6e0(0x676)](),Promise[_0x3cf6e0(0x54b)](new Error(_0x29456d[_0x3cf6e0(0x4cd)][_0x3cf6e0(0x341)]));}return new Promise((_0x3c53d0,_0x2efb50)=>{const _0x4247ec=_0x3cf6e0,_0x416206=new FileReader();_0x416206['readAsDataURL'](_0x3fac96),_0x416206[_0x4247ec(0x5eb)]=_0x34da09=>{const _0x10c9f9=_0x4247ec;var _0x3cdc47;const _0x45180a=(_0x3cdc47=_0x34da09[_0x10c9f9(0x628)])==null?void 0x0:_0x3cdc47[_0x10c9f9(0x521)];if(_0x45180a==null){this[_0x10c9f9(0x676)](),_0x2efb50(new Error(_0x29456d['ImageUploadStatusType'][_0x10c9f9(0x341)]));return;}const _0x4e1961=_0x1330ba['Tools'][_0x10c9f9(0x25a)](0x6);_0x3c53d0({'imageId':_0x4e1961,'imageSourceType':_0x29456d[_0x10c9f9(0x1ed)][_0x10c9f9(0x37e)],'source':_0x4c2295,'base64Cache':_0x45180a,'status':_0x29456d[_0x10c9f9(0x4cd)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x2075db=_0x3a00cb;var _0x110e1e,_0x363809;const _0x274821=this[_0x2075db(0x4ce)][_0x2075db(0x4fc)](_0x141fbe),_0x10d382=this[_0x2075db(0x4ce)]['getConfig'](_0x37cfeb);return(_0x363809=(_0x110e1e=_0x10d382==null?void 0x0:_0x10d382[_0x2075db(0x54f)])!=null?_0x110e1e:_0x274821)!=null?_0x363809:_0x45fa11;}[_0x3a00cb(0x3f1)](){const _0x31e878=_0x3a00cb;var _0x4b69e6,_0x41bd33;const _0x294f09=this['_configService'][_0x31e878(0x4fc)](_0x2d2b05),_0x14d6ff=this[_0x31e878(0x4ce)][_0x31e878(0x4fc)](_0x37cfeb);return(_0x41bd33=(_0x4b69e6=_0x14d6ff==null?void 0x0:_0x14d6ff[_0x31e878(0x385)])!=null?_0x4b69e6:_0x294f09)!=null?_0x41bd33:_0x254883;}['_getDownloadEndpointURL'](){var _0x12891f;const _0x52da44=this['_configService']['getConfig'](_0x37cfeb);return(_0x12891f=_0x52da44==null?void 0x0:_0x52da44['downloadEndpointUrl'])!=null?_0x12891f:location['origin'];}[_0x3a00cb(0x66a)](_0x126604,_0x46c3eb){const _0xcd75ce=_0x3a00cb;return _0x126604[_0xcd75ce(0x209)]('{fileID}',_0x46c3eb);}[_0x3a00cb(0x676)](){const _0x217c78=_0x3a00cb;this[_0x217c78(0x406)]-=0x1,this['_change$']['next'](this['_waitCount']);}},_0x5aeb12[_0x3a00cb(0x2ea)]=_0x3540a3([_0x5f43df(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be[_0x3a00cb(0x504)])),_0x5f43df(0x1,_0x1330ba[_0x3a00cb(0x3c1)]),_0x5f43df(0x2,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x5ce)]))],_0x5aeb12[_0x3a00cb(0x2ea)]);var _0x4494b1=Object[_0x3a00cb(0x43c)],_0x34cbad=Object[_0x3a00cb(0x637)],_0x24912c=(_0x26928a,_0x42c58c,_0x3d084a,_0x4231e5)=>{const _0x34690f=_0x3a00cb;for(var _0x12d0ee=_0x4231e5>0x1?void 0x0:_0x4231e5?_0x34cbad(_0x42c58c,_0x3d084a):_0x42c58c,_0x24c412=_0x26928a[_0x34690f(0x422)]-0x1,_0x292d77;_0x24c412>=0x0;_0x24c412--)(_0x292d77=_0x26928a[_0x24c412])&&(_0x12d0ee=(_0x4231e5?_0x292d77(_0x42c58c,_0x3d084a,_0x12d0ee):_0x292d77(_0x12d0ee))||_0x12d0ee);return _0x4231e5&&_0x12d0ee&&_0x4494b1(_0x42c58c,_0x3d084a,_0x12d0ee),_0x12d0ee;},_0x3b193e=(_0x2b9925,_0x5ae8c6)=>(_0x2dd3b8,_0x45b2a9)=>_0x5ae8c6(_0x2dd3b8,_0x45b2a9,_0x2b9925);let _0x4957a1=class extends _0x1330ba['RxDisposable']{constructor(_0x333b85,_0xdadd3a,_0x58e277,_0x418452,_0x18d92e){const _0x407b05=_0x3a00cb;super(),this[_0x407b05(0x226)]=_0x333b85,this[_0x407b05(0x227)]=_0xdadd3a,this[_0x407b05(0x44b)]=_0x58e277,this[_0x407b05(0x2c5)]=_0x418452,this[_0x407b05(0x1f7)]=_0x18d92e,this['_initUnitPermissionChange'](),this[_0x407b05(0x3cc)]();}[_0x3a00cb(0x3cc)](){const _0x48b8ac=_0x3a00cb,_0x2766b3=async _0x27a78a=>{const _0x330391=_0x5f13;(await this[_0x330391(0x2c5)]['requireSession'](_0x27a78a))[_0x330391(0x4a7)]['pipe'](_0xc13278[_0x330391(0x40e)](_0xe8877e=>_0xe8877e[_0x330391(0x306)]===_0x48fdb9[_0x330391(0x3de)][_0x330391(0x307)]),_0xc13278[_0x330391(0x28a)](this[_0x330391(0x2f0)]))[_0x330391(0x21f)](_0x4ca139=>{const _0x279cd4=_0x330391,_0x4d4bb4=_0x4ca139,{reason:_0x44426b}=_0x4d4bb4[_0x279cd4(0x36b)];this['_injector'][_0x279cd4(0x4bf)](_0x5d5dd2[_0x279cd4(0x67b)])['show']({'type':_0x5934c8['MessageType'][_0x279cd4(0x2e2)],'content':this[_0x279cd4(0x1f7)]['t'](_0x279cd4(0x4c9))+'('+_0x44426b+')'}),this[_0x279cd4(0x44b)][_0x279cd4(0x50b)](new _0x5ca8f8[(_0x279cd4(0x59d))](_0x27a78a)['id'],!0x1),this[_0x279cd4(0x2c5)]['closeSession'](_0x27a78a);});};_0x1eddba[_0x48b8ac(0x662)](this[_0x48b8ac(0x227)][_0x48b8ac(0x59c)](_0x1330ba[_0x48b8ac(0x3ae)][_0x48b8ac(0x3b6)]),this[_0x48b8ac(0x227)]['getTypeOfUnitAdded$'](_0x1330ba[_0x48b8ac(0x3ae)]['UNIVER_DOC']))[_0x48b8ac(0x3a2)](_0xc13278[_0x48b8ac(0x568)](_0x1cd1c1=>_0x1cd1c1['getUnitId']()),_0xc13278[_0x48b8ac(0x40e)](_0x40b4e1=>!_0x1330ba['isInternalEditorID'](_0x40b4e1)),_0xc13278[_0x48b8ac(0x28a)](this[_0x48b8ac(0x2f0)]))[_0x48b8ac(0x21f)](_0x1a011e=>{_0x2766b3(_0x1a011e);});}[_0x3a00cb(0x236)](){const _0xece41=_0x3a00cb,_0x6df3bb=async _0x3b4f55=>{const _0x34d926=_0x5f13;(await this[_0x34d926(0x2c5)]['requireSession'](_0x3b4f55))['event$'][_0x34d926(0x3a2)](_0xc13278[_0x34d926(0x40e)](_0x3577dc=>_0x3577dc[_0x34d926(0x306)]===_0x48fdb9[_0x34d926(0x3de)][_0x34d926(0x3ff)]),_0xc13278[_0x34d926(0x28a)](this[_0x34d926(0x2f0)]))[_0x34d926(0x21f)](_0x4c8971=>{const _0x522806=_0x34d926,_0x5de7a1=_0x4c8971,{objectId:_0x11901a}=_0x5de7a1[_0x522806(0x36b)],_0x39f949=this[_0x522806(0x226)][_0x522806(0x4bf)](_0x24028a['SheetPermissionInitController']);_0x11901a===_0x3b4f55?_0x39f949[_0x522806(0x22f)](_0x3b4f55):_0x39f949[_0x522806(0x47a)](_0x3b4f55,_0x11901a);});};_0x1eddba['merge'](this[_0xece41(0x227)]['getTypeOfUnitAdded$'](_0x1330ba[_0xece41(0x3ae)][_0xece41(0x3b6)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1330ba['UniverInstanceType']['UNIVER_DOC']))[_0xece41(0x3a2)](_0xc13278['map'](_0x493c87=>_0x493c87[_0xece41(0x259)]()),_0xc13278[_0xece41(0x40e)](_0x278c72=>!_0x1330ba[_0xece41(0x356)](_0x278c72)),_0xc13278[_0xece41(0x28a)](this['dispose$']))['subscribe'](_0x3ae1b4=>{_0x6df3bb(_0x3ae1b4);});}};_0x4957a1=_0x24912c([_0x3b193e(0x0,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x619)])),_0x3b193e(0x1,_0x1330ba[_0x3a00cb(0x5ce)]),_0x3b193e(0x2,_0x1330ba[_0x3a00cb(0x511)]),_0x3b193e(0x3,_0x1330ba[_0x3a00cb(0x217)](_0x5aeb12[_0x3a00cb(0x2c3)])),_0x3b193e(0x4,_0x1330ba[_0x3a00cb(0x217)](_0x1330ba[_0x3a00cb(0x627)]))],_0x4957a1);var _0x56ccd7=Object[_0x3a00cb(0x43c)],_0xa46fa9=Object[_0x3a00cb(0x637)],_0x36769b=(_0xa2100,_0x5bc740,_0x491ab2,_0x4743c1)=>{const _0x288d93=_0x3a00cb;for(var _0x508baf=_0x4743c1>0x1?void 0x0:_0x4743c1?_0xa46fa9(_0x5bc740,_0x491ab2):_0x5bc740,_0x2fd744=_0xa2100[_0x288d93(0x422)]-0x1,_0x57523c;_0x2fd744>=0x0;_0x2fd744--)(_0x57523c=_0xa2100[_0x2fd744])&&(_0x508baf=(_0x4743c1?_0x57523c(_0x5bc740,_0x491ab2,_0x508baf):_0x57523c(_0x508baf))||_0x508baf);return _0x4743c1&&_0x508baf&&_0x56ccd7(_0x5bc740,_0x491ab2,_0x508baf),_0x508baf;},_0x237878=(_0x1f7d8c,_0x5e6787)=>(_0x39b5c8,_0x88929c)=>_0x5e6787(_0x39b5c8,_0x88929c,_0x1f7d8c);_0x5aeb12['SnapshotServerOverHTTPService']=class{constructor(_0x97f018,_0x4d8722){const _0x3e4c63=_0x3a00cb;this[_0x3e4c63(0x4ce)]=_0x97f018,this[_0x3e4c63(0x1f6)]=_0x4d8722;}async[_0x3a00cb(0x3c5)](_0x5c6f7e,_0x50b1bb){const _0x2bf42e=_0x3a00cb;var _0x11de93;const {unitID:_0x47804a,type:_0x2a6f33,revision:_0xac4e0=0x0}=_0x50b1bb,_0x107d5e=this['_getSnapshotAPIPrefix']()+'/'+_0x2a6f33+_0x2bf42e(0x39f)+_0x47804a+'/rev/'+_0xac4e0,_0x372639=(await this[_0x2bf42e(0x1f6)][_0x2bf42e(0x4bf)](_0x107d5e))['body'],_0x16e7a1=(_0x11de93=_0x372639[_0x2bf42e(0x2c2)])==null?void 0x0:_0x11de93[_0x2bf42e(0x5a5)];if(_0x16e7a1){const _0x4d890e=_0x16e7a1==null?void 0x0:_0x16e7a1[_0x2bf42e(0x25b)],_0x21964e=_0x48fdb9[_0x2bf42e(0x64a)][_0x2bf42e(0x4ae)](_0x48fdb9[_0x2bf42e(0x49d)](_0x4d890e));_0x16e7a1['originalMeta']=_0x21964e,Object[_0x2bf42e(0x394)](_0x16e7a1[_0x2bf42e(0x469)])[_0x2bf42e(0x303)](([,_0xd75b88])=>{const _0x11a996=_0x2bf42e,_0x5b93f9=_0xd75b88[_0x11a996(0x25b)],_0x2e0420=_0x48fdb9[_0x11a996(0x64a)][_0x11a996(0x4ae)](_0x48fdb9[_0x11a996(0x49d)](_0x5b93f9));_0xd75b88[_0x11a996(0x25b)]=_0x2e0420;});}return _0x372639;}async[_0x3a00cb(0x4b4)](_0x3b381d,_0x940bd3){const _0x540e8c=_0x3a00cb,{unitID:_0x1c8436,type:_0x43802a,blockID:_0x346285}=_0x940bd3,_0x21c61a=this[_0x540e8c(0x2fa)]()+'/'+_0x43802a+_0x540e8c(0x39f)+_0x1c8436+'/block/'+_0x346285;return(await this[_0x540e8c(0x1f6)][_0x540e8c(0x4bf)](_0x21c61a))['body'];}async[_0x3a00cb(0x408)](_0x28471b,_0x5b3ca7){const _0x283bd4=_0x3a00cb,{unitID:_0x5f12cb,type:_0x5913c5,blockID:_0x384ac6}=_0x5b3ca7,_0x4dfb85=this[_0x283bd4(0x2fa)]()+_0x283bd4(0x58c)+_0x5913c5+_0x283bd4(0x39f)+_0x5f12cb+_0x283bd4(0x58c)+_0x384ac6;return(await this[_0x283bd4(0x1f6)][_0x283bd4(0x4bf)](_0x4dfb85))[_0x283bd4(0x427)];}async[_0x3a00cb(0x6a0)](_0x747d30,_0x45a654){const _0x47d616=_0x3a00cb,{unitID:_0x236b1f,type:_0xa47a87,from:_0x591173,to:_0x3e2b04}=_0x45a654,_0x3aa2b8=this[_0x47d616(0x2fa)]()+'/'+_0xa47a87+_0x47d616(0x39f)+_0x236b1f+_0x47d616(0x4bb)+_0x591173+'&to='+_0x3e2b04;return(await this['_httpService'][_0x47d616(0x4bf)](_0x3aa2b8))[_0x47d616(0x427)];}[_0x3a00cb(0x324)](){const _0x1b1ac3=_0x3a00cb;var _0x5bcdb0;return(_0x5bcdb0=this[_0x1b1ac3(0x4ce)][_0x1b1ac3(0x4fc)](_0x2b68d2))!=null?_0x5bcdb0:this[_0x1b1ac3(0x2fa)]();}[_0x3a00cb(0x2fa)](){const _0x1f736f=_0x3a00cb;var _0xe2b1a1,_0x15b81f;const _0x1ba23f=this[_0x1f736f(0x4ce)][_0x1f736f(0x4fc)](_0x1d49ee),_0x36083b=this[_0x1f736f(0x4ce)][_0x1f736f(0x4fc)](_0x37cfeb);return(_0x15b81f=(_0xe2b1a1=_0x36083b==null?void 0x0:_0x36083b[_0x1f736f(0x524)])!=null?_0xe2b1a1:_0x1ba23f)!=null?_0x15b81f:_0x41a58f;}async[_0x3a00cb(0x305)](_0x57d546,_0x470201){const _0x42df67=_0x3a00cb,_0x551b46='/universer-api/snapshot/'+_0x470201['type']+_0x42df67(0x39f)+_0x470201[_0x42df67(0x36f)]+_0x42df67(0x2a8);return(await this['_httpService'][_0x42df67(0x4bf)](_0x551b46,{'params':{'resourceId':JSON[_0x42df67(0x2a3)](_0x470201[_0x42df67(0x43d)])}}))[_0x42df67(0x427)];}[_0x3a00cb(0x39d)](){const _0x4d3b3f=_0x3a00cb;throw new Error(_0x4d3b3f(0x253));}[_0x3a00cb(0x2ec)](){const _0x3bfbe1=_0x3a00cb;throw new Error(_0x3bfbe1(0x253));}[_0x3a00cb(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3a00cb(0x3d8)](){const _0x445f7b=_0x3a00cb;throw new Error(_0x445f7b(0x253));}[_0x3a00cb(0x44e)](){const _0x13f33b=_0x3a00cb;throw new Error(_0x13f33b(0x253));}},_0x5aeb12[_0x3a00cb(0x357)]=_0x36769b([_0x237878(0x0,_0x1330ba[_0x3a00cb(0x3c1)]),_0x237878(0x1,_0x1330ba[_0x3a00cb(0x217)](_0x3aa4be[_0x3a00cb(0x504)]))],_0x5aeb12[_0x3a00cb(0x357)]);var _0x287415=Object[_0x3a00cb(0x43c)],_0x1323ee=Object[_0x3a00cb(0x637)],_0x1fb6c9=(_0xd828fc,_0x298fa6,_0x428b75,_0x39a4a0)=>{for(var _0x1a633d=_0x39a4a0>0x1?void 0x0:_0x39a4a0?_0x1323ee(_0x298fa6,_0x428b75):_0x298fa6,_0x35f2dd=_0xd828fc['length']-0x1,_0x48423d;_0x35f2dd>=0x0;_0x35f2dd--)(_0x48423d=_0xd828fc[_0x35f2dd])&&(_0x1a633d=(_0x39a4a0?_0x48423d(_0x298fa6,_0x428b75,_0x1a633d):_0x48423d(_0x1a633d))||_0x1a633d);return _0x39a4a0&&_0x1a633d&&_0x287415(_0x298fa6,_0x428b75,_0x1a633d),_0x1a633d;},_0x6022eb=(_0x4ff8cf,_0x19025c)=>(_0x581fe1,_0x1bbda6)=>_0x19025c(_0x581fe1,_0x1bbda6,_0x4ff8cf);let _0x58a910=class extends _0x1330ba[_0x3a00cb(0x617)]{constructor(_0x7b53e0,_0x35eb26,_0x4037d7,_0x27a50d,_0x4cd40b){const _0x577703=_0x3a00cb;super(_0x7b53e0,_0x35eb26,_0x4037d7),this[_0x577703(0x621)]=_0x27a50d,this[_0x577703(0x405)]=_0x4cd40b;}[_0x3a00cb(0x222)](_0x339ea7,_0x3faa76){const _0x54dc32=_0x3a00cb,_0x1b15ac=this['_getUndoStack'](_0x339ea7);if(_0x1b15ac)try{const _0x226799=this['_transformStack'](_0x1b15ac,_0x3faa76);this['_substituteUndoStack'](_0x339ea7,_0x226799);}catch(_0x97d5f1){this['_logService'][_0x54dc32(0x50f)](_0x54dc32(0x30f),_0x97d5f1),this[_0x54dc32(0x4df)](_0x339ea7);}const _0x290fcf=this[_0x54dc32(0x5dc)](_0x339ea7);if(_0x290fcf)try{const _0x28a02a=this['_transformStack'](_0x290fcf,_0x3faa76);this[_0x54dc32(0x642)](_0x339ea7,_0x28a02a);}catch(_0x31f506){this[_0x54dc32(0x405)][_0x54dc32(0x50f)](_0x31f506),this[_0x54dc32(0x270)](_0x339ea7);}}[_0x3a00cb(0x4df)](_0x3af44e){const _0x2a5ca8=_0x3a00cb,_0x45969e=this[_0x2a5ca8(0x4de)](_0x3af44e);_0x45969e&&(_0x45969e[_0x2a5ca8(0x422)]=0x0,this['_updateStatus']());}[_0x3a00cb(0x270)](_0x2048ab){const _0x3de98c=_0x3a00cb,_0x2a9a3b=this['_getRedoStack'](_0x2048ab);_0x2a9a3b&&(_0x2a9a3b[_0x3de98c(0x422)]=0x0,this[_0x3de98c(0x33e)]());}[_0x3a00cb(0x681)](_0x15376f,_0x32d9b4){const _0x5e935e=_0x3a00cb;this[_0x5e935e(0x27f)][_0x5e935e(0x4cf)](_0x15376f,_0x32d9b4),this['_updateStatus']();}['_substituteRedoStack'](_0x121619,_0x5b990a){const _0x33c7a1=_0x3a00cb;this[_0x33c7a1(0x690)][_0x33c7a1(0x4cf)](_0x121619,_0x5b990a),this[_0x33c7a1(0x33e)]();}[_0x3a00cb(0x3eb)](_0x452274,_0x48fc00){const _0x44f4e7=_0x3a00cb,_0x195540=[];let _0x56f359=_0x48fc00,_0x18dffd=_0x48fc00;for(let _0x4342c6=_0x452274[_0x44f4e7(0x422)]-0x1;_0x4342c6>=0x0;_0x4342c6--){const {unitID:_0x5df4a7,undoMutations:_0x56ebd8,redoMutations:_0x3860d6}=_0x452274[_0x4342c6],_0x593b67=this[_0x44f4e7(0x621)][_0x44f4e7(0x22e)](_0x56f359,_0x56ebd8),_0xeaa3d8=this[_0x44f4e7(0x621)]['transformMutationsWithChangeset'](_0x18dffd,_0x3860d6);if(_0x48fdb9[_0x44f4e7(0x2d9)](_0x593b67)||_0x48fdb9[_0x44f4e7(0x2d9)](_0xeaa3d8)){this['_logService'][_0x44f4e7(0x50f)]('[CollaborationUndoRedoService]',_0x44f4e7(0x4a6),_0x593b67,_0xeaa3d8);break;}_0x56f359=_0x593b67['c1Prime'],_0x18dffd=_0xeaa3d8[_0x44f4e7(0x4c2)],_0x195540[_0x44f4e7(0x64d)]({'unitID':_0x5df4a7,'undoMutations':_0x593b67[_0x44f4e7(0x591)],'redoMutations':_0xeaa3d8[_0x44f4e7(0x591)]});}return _0x195540[_0x44f4e7(0x602)]();}};_0x58a910=_0x1fb6c9([_0x6022eb(0x0,_0x1330ba['IUniverInstanceService']),_0x6022eb(0x1,_0x1330ba['ICommandService']),_0x6022eb(0x2,_0x1330ba[_0x3a00cb(0x219)]),_0x6022eb(0x3,_0x48fdb9[_0x3a00cb(0x38d)]),_0x6022eb(0x4,_0x1330ba[_0x3a00cb(0x57c)])],_0x58a910);class _0x3b0850 extends _0x1330ba[_0x3a00cb(0x560)]{constructor(){const _0x1baeca=_0x3a00cb;super(),_0x2eb009(this,_0x1baeca(0x528)),this[_0x1baeca(0x528)]=_0x1eddba['fromEvent'](window,_0x1baeca(0x4ca))['pipe'](_0x1eddba['takeUntil'](this['dispose$']),_0x1eddba[_0x1baeca(0x26e)](0x1),_0x1eddba['mapTo'](void 0x0));}['setParam'](_0x2ab16c,_0x4dec90,_0x35293f=!0x1){const _0x2895d8=_0x3a00cb,_0x30279f=new URL(window['location']['href']);_0x30279f[_0x2895d8(0x3a6)][_0x2895d8(0x4cf)](_0x2ab16c,_0x4dec90),_0x35293f?window[_0x2895d8(0x62c)][_0x2895d8(0x34c)]('','',_0x30279f['toString']()):window[_0x2895d8(0x62c)][_0x2895d8(0x661)]('','',_0x30279f[_0x2895d8(0x3fd)]());}[_0x3a00cb(0x601)](_0x47f79b,_0xa1a7d2=!0x1){const _0x43a76a=_0x3a00cb,_0x501755=new URL(window[_0x43a76a(0x223)]['href']);_0x501755[_0x43a76a(0x3a6)][_0x43a76a(0x317)](_0x47f79b),_0xa1a7d2?window[_0x43a76a(0x62c)][_0x43a76a(0x34c)]('','',_0x501755[_0x43a76a(0x3fd)]()):window[_0x43a76a(0x62c)]['pushState']('','',_0x501755[_0x43a76a(0x3fd)]());}[_0x3a00cb(0x204)](_0x2bd83f){const _0xe36e36=_0x3a00cb;var _0x487e29;return(_0x487e29=new URL(window[_0xe36e36(0x223)]['href'])['searchParams'][_0xe36e36(0x4bf)](_0x2bd83f))!=null?_0x487e29:void 0x0;}}var _0x505b29=Object[_0x3a00cb(0x43c)],_0x5bde43=Object['getOwnPropertyDescriptor'],_0x162917=(_0x2de97b,_0x267b13,_0x5072e1)=>_0x267b13 in _0x2de97b?_0x505b29(_0x2de97b,_0x267b13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5072e1}):_0x2de97b[_0x267b13]=_0x5072e1,_0xf8d022=(_0x2feaec,_0x3bd3f2,_0x1b5c12,_0x3b7c54)=>{const _0x38fdad=_0x3a00cb;for(var _0x535e3d=_0x3b7c54>0x1?void 0x0:_0x3b7c54?_0x5bde43(_0x3bd3f2,_0x1b5c12):_0x3bd3f2,_0x8e5ff9=_0x2feaec[_0x38fdad(0x422)]-0x1,_0x43359b;_0x8e5ff9>=0x0;_0x8e5ff9--)(_0x43359b=_0x2feaec[_0x8e5ff9])&&(_0x535e3d=(_0x3b7c54?_0x43359b(_0x3bd3f2,_0x1b5c12,_0x535e3d):_0x43359b(_0x535e3d))||_0x535e3d);return _0x3b7c54&&_0x535e3d&&_0x505b29(_0x3bd3f2,_0x1b5c12,_0x535e3d),_0x535e3d;},_0xfdabf5=(_0x29340c,_0x30ac9a)=>(_0x2769be,_0x3bd38c)=>_0x30ac9a(_0x2769be,_0x3bd38c,_0x29340c),_0x37901e=(_0xcca19d,_0x3adb5c,_0x52a329)=>_0x162917(_0xcca19d,_0x3adb5c+'',_0x52a329);const _0x417050=_0x3a00cb(0x3bf);_0x5aeb12[_0x3a00cb(0x3c2)]=class extends _0x1330ba[_0x3a00cb(0x414)]{constructor(_0x2ce6e6=_0x29b0d1,_0x230798,_0x2ccf82,_0x5a7dd3,_0x33dc30){const _0x5d1c86=_0x3a00cb;super(),this[_0x5d1c86(0x5bc)]=_0x2ce6e6,this['_logService']=_0x230798,this['_renderManagerService']=_0x2ccf82,this[_0x5d1c86(0x226)]=_0x5a7dd3,this[_0x5d1c86(0x4ce)]=_0x33dc30;const {..._0x25e0bd}=this[_0x5d1c86(0x5bc)];this[_0x5d1c86(0x4ce)][_0x5d1c86(0x377)](_0x37cfeb,_0x25e0bd);}[_0x3a00cb(0x629)](){this['_registerDependencies'](),this['_initDependencies']();}['onReady'](){const _0x4c17c0=_0x3a00cb;_0x1330ba[_0x4c17c0(0x463)](this[_0x4c17c0(0x226)],[[_0x25924c]]);}[_0x3a00cb(0x683)](){const _0x417cdd=_0x3a00cb;this[_0x417cdd(0x2d8)]();}[_0x3a00cb(0x374)](){const _0x3e48b9=_0x3a00cb;var _0x893fa4,_0x437b4b,_0x11ff01,_0x29c8d1;this[_0x3e48b9(0x226)][_0x3e48b9(0x42a)](_0x1330ba['IUndoRedoService'])&&this[_0x3e48b9(0x405)][_0x3e48b9(0x50f)](_0x3e48b9(0x698),_0x3e48b9(0x26f));const _0x1192e3=[[_0x1330ba[_0x3e48b9(0x21e)],{'useClass':_0x58a910}],[_0x5aeb12[_0x3e48b9(0x2c3)]],[_0x43760c],[_0x561810,{'useClass':_0x3b0850}],[_0x5aeb12[_0x3e48b9(0x624)]],[_0x5aeb12[_0x3e48b9(0x287)]],[_0x3aa4be['WebSocketService']],[_0x1a0834],[_0x178312],[_0x2b30d7],[_0x171291],[_0x50bbdf],[_0x58673f],[_0xf8043f],[_0x5b63f3],[_0x4957a1],[_0xd12940,{'useClass':(_0x437b4b=(_0x893fa4=this[_0x3e48b9(0x5bc)])==null?void 0x0:_0x893fa4['socketService'])!=null?_0x437b4b:_0x5aeb12[_0x3e48b9(0x211)]}],[_0x48fdb9[_0x3e48b9(0x5e3)],{'useClass':_0x5aeb12[_0x3e48b9(0x357)]}],[_0x1330ba[_0x3e48b9(0x1fc)],{'useClass':_0x5aeb12[_0x3e48b9(0x3e1)]}],[_0x29456d['IImageIoService'],{'useClass':_0x5aeb12[_0x3e48b9(0x2ea)]}],[_0x5aeb12[_0x3e48b9(0x3d5)]],[_0x5aeb12[_0x3e48b9(0x3cd)]],[_0x5aeb12['DesktopCollaborationStatusDisplayController']],[_0x25924c],[_0x4c1561]];(_0x11ff01=this[_0x3e48b9(0x5bc)])!=null&&_0x11ff01['enableSingleActiveInstanceLock']&&_0x1192e3[_0x3e48b9(0x64d)]([_0x151dcb,{'useClass':_0x15d199}]),_0x1330ba[_0x3e48b9(0x580)](this[_0x3e48b9(0x226)],_0x1330ba[_0x3e48b9(0x21a)](_0x1192e3,(_0x29c8d1=this[_0x3e48b9(0x5bc)])==null?void 0x0:_0x29c8d1['override']));}[_0x3a00cb(0x2d8)](){const _0x425436=_0x3a00cb;this[_0x425436(0x63e)](this[_0x425436(0x56e)][_0x425436(0x2e1)](_0x1330ba[_0x425436(0x3ae)][_0x425436(0x65c)],[_0x18510a])),this[_0x425436(0x63e)](this[_0x425436(0x56e)][_0x425436(0x2e1)](_0x1330ba[_0x425436(0x3ae)]['UNIVER_SHEET'],[_0x48b70f]));}[_0x3a00cb(0x54e)](){const _0x3aaa8e=_0x3a00cb;var _0x2fa3a2,_0x246e01;this[_0x3aaa8e(0x226)][_0x3aaa8e(0x4bf)](_0x3aa4be[_0x3aaa8e(0x504)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3aa4be[_0x3aaa8e(0x2b7)]({'maxParallel':0x6})}),(_0x2fa3a2=this[_0x3aaa8e(0x5bc)])!=null&&_0x2fa3a2[_0x3aaa8e(0x4d4)]||this[_0x3aaa8e(0x226)]['get'](_0x5aeb12[_0x3aaa8e(0x287)])[_0x3aaa8e(0x598)](),(_0x246e01=this[_0x3aaa8e(0x5bc)])!=null&&_0x246e01[_0x3aaa8e(0x648)]&&_0x1330ba[_0x3aaa8e(0x463)](this[_0x3aaa8e(0x226)],[[_0x58673f]]),_0x1330ba['touchDependencies'](this[_0x3aaa8e(0x226)],[[_0xf8043f],[_0x4c1561],[_0x5aeb12[_0x3aaa8e(0x3cd)]],[_0x5aeb12['CollaborationController']],[_0x5aeb12[_0x3aaa8e(0x2bd)]],[_0x4957a1]]);}},_0x37901e(_0x5aeb12[_0x3a00cb(0x3c2)],_0x3a00cb(0x349),_0x417050),_0x5aeb12[_0x3a00cb(0x3c2)]=_0xf8d022([_0x1330ba[_0x3a00cb(0x401)](_0x48fdb9[_0x3a00cb(0x58a)],_0x3aa4be[_0x3a00cb(0x20e)]),_0xfdabf5(0x1,_0x1330ba['ILogService']),_0xfdabf5(0x2,_0x15986e['IRenderManagerService']),_0xfdabf5(0x3,_0x1330ba['Inject'](_0x1330ba[_0x3a00cb(0x619)])),_0xfdabf5(0x4,_0x1330ba[_0x3a00cb(0x3c1)])],_0x5aeb12[_0x3a00cb(0x3c2)]),_0x5aeb12[_0x3a00cb(0x240)]=_0x247481,_0x5aeb12[_0x3a00cb(0x52a)]=_0x3a133c,_0x5aeb12['COLLAB_WEB_SOCKET_URL_KEY']=_0x2314a9,_0x5aeb12[_0x3a00cb(0x641)]=_0x3650d6,_0x5aeb12[_0x3a00cb(0x2ba)]=_0x1f6a66,_0x5aeb12['CommentService']=_0x5b63f3,_0x5aeb12['HEARTBEAT_INTERVAL_KEY']=_0x407e47,_0x5aeb12[_0x3a00cb(0x35a)]=_0x941ed1,_0x5aeb12[_0x3a00cb(0x5f0)]=_0xd12940,_0x5aeb12[_0x3a00cb(0x457)]=_0x561810,_0x5aeb12[_0x3a00cb(0x4bc)]=_0x4cb84a,_0x5aeb12[_0x3a00cb(0x390)]=_0x41289e,_0x5aeb12[_0x3a00cb(0x29d)]=_0x4ec51f,_0x5aeb12[_0x3a00cb(0x47c)]=_0x1e86ae,_0x5aeb12[_0x3a00cb(0x43f)]=_0x1d49ee,_0x5aeb12['SNAPSHOT_URL_KEY']=_0x2b68d2,_0x5aeb12['SessionStatus']=_0x1164b5,_0x5aeb12[_0x3a00cb(0x3c6)]=_0x30ed8a,_0x5aeb12[_0x3a00cb(0x3cf)]=_0x3b0850,_0x5aeb12[_0x3a00cb(0x37d)]=_0x3f27b6,_0x5aeb12[_0x3a00cb(0x4d5)]=_0x89fa8a,Object['defineProperty'](_0x5aeb12,Symbol[_0x3a00cb(0x464)],{'value':'Module'});}));function _0x3494(){const _0x4fe01f=['charAt','getImageSourceCache','_handleEvent','_replayCachedMutations','_queuedRemoteChangesets','getStateCache','_name','trim','LocalUndoRedoService','getFocusedUnit','Injector','baseRev','hostname','jsxs','path','name','_scene','bottom','_transformService','3774996fXkFqz','_tryEnsureSocket','MemberService','UNIVER_SLIDE','reduce','LocaleService','target','onStarting','cursorInfo','complete','history','_transformSelections','m1Prime','rng','_instanceService','_getSheetObject','setWaitCount','Malformed\x20UTF-8\x20data','_createHmacHelper','collaboratorID','Cipher','getOwnPropertyDescriptor','Hex','_nDataBytes','_tryReconnect','height','onlyLocal','_append','disposeWithMe','getVpScrollXYInfoByPosToVp','colorChannel1','CollaborationStatus','_substituteRedoStack','unitId','_mode','INGEST','connection\x20error','$super','enableAuthServer','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','textEncoder','getActiveRange','setTimeout','push','defaultProps','_updateLocalCursor','saveImage','type','xlink:href','_getSendChangesetTimeout','assign','getTypeOfUnitDisposed$','permission.title','SNAPSHOT_URL_KEY','font','findNodePositionByCharIndex','_getLoginPath','_backgroundColor','UNIVER_DOC','collabStatus.fetchMiss','charCodeAt','unit-cache-','_commandService','pushState','merge','_init','UniverDesign','padding','rev','_colorAssignService','NodePositionConvertToCursor','_DEC_XFORM_MODE','_replaceFileID','_lastPointer','@univerjs/sheets-ui','[CollaborationEntity]','focused$','UniverSheetsUi','UniverEngineRender','_session','commentUpdateEvent','requireSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','evenodd','_decreaseWaiting','_drawTextRange','&source=','[OfflineState]:\x20received\x20changeset.','MUTATION','IMessageService','getAncestorScale','getCurrentRevOfUnit','Optional','_clearTimeoutTimer','_onLocalMutation','_substituteUndoStack','endColumn','onRendered','_setupBeforeClosingHandler','redoState','SNAPSHOT_HAS_BEEN_REMOVED','children','onRemoteChangeset','_transformRemoteChangesetByIMECache','commentUpdate$','updateCollaborator','requestParams','FromArray','row','AWAITING_WITH_PENDING','_redoStacks','_cipher','column','[CollaborationState]:\x20apply\x20error!','then','ONLINE','_hash','getSheetBySheetId','[UniverCollaborationClientPlugin]','onCommentUpdate','_hasher','_handleLeaveEvent','beginPath','status$','setStateCache','getMergeData','fetchMissingChangesets','EffectRefRangId','compose','getTime','_localStorageService','SerializableCipher','CollaborationSession','fetchThroughInterceptors','hasher','url(#on-line-single_clip0_910_349)','ImageSourceType','hide','submit\x20changeset\x20error!','off-line-single','USERS_ENTER','COLLAB_SUBMIT_CHANGESET_URL','mutations','_handler','clamp','_httpService','_localeService','objectType','_getCurrentRevision','FileId','_scheduleCollaborationTimeoutTimer','IAuthzIoService','LIVESHARE_NEW_HOST','_candidateSocket','loadOfflineData','_loadDoc','_syncEditingCollabCursor','_onCursorUpdate','setInterval','getParam','_scheduleTimestamp','collaboration-client.offline-data-not-saved','_telemetryInfo','loginUrlKey','replace','method','@univerjs/ui','_startDocCollabCursor','_socketReady','UniverNetworkPlugin','on-line-single_clip0_910_349','getColor','CollaborationSocketService','_throwTelemetryCollaborationNewChangeset','BASE64','exhaustSavingTask','abs','_updateURLWithCurrentState','Inject','collabStatus.synced','IContextService','mergeOverrideWithDependencies','HTTPRequest','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','TOO_MANY_REQUESTS','IUndoRedoService','subscribe','_resendTimeout','_initRequestHeader','transformUndoRedo','location','src','CONNECTOR_DATA_TOO_LARGE','_injector','_univerInstanceService','/universer-api/stream/file/upload','clear','28QuDbTR','clearInterval','UNAUTHENTICATED','floor','transformMutationsWithChangeset','initWorkbookPermissionChange','newValue','UniverIcon','Subject','cmd','file','retryConnectingInterval','_initUnitPermissionChange','SHA1','@univerjs/sheets','_messageService','CONFLICT','Tools','_getMergeRange','format','_acknowledgedAwaitingChangeset','registerHTTPInterceptor','AUTHZ_URL_KEY','equals','toggleOnline','objectActions','getWorkbookSelections','univer-online-status-icon','disposeUnit','LIVESHARE_REQUEST_HOST','list','NoPadding','shouldCloseConn','useCallback','getCurrentSelections','_clearCollaborationTimeoutTimer','crypto','_oKey','_keyPriorReset','_transformUndoredo','_map','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveChangeset','isEditing','toDisposable','\x20-\x20','csRejEvent','getUnitId','generateRandomId','originalMeta','_saveTaskMap','UNKNOWN_CODE','params','collabStatus.conflict','ITelemetryService','RegularPolygon','YUUMI_UNABLE_LOAD_URL','conflict','round','handleInsertRangeMoveDown','_handleJoinEvent','UserManagerService','APPLY_REJECT','[FetchMissState]','_online','words','UniverDocsUi','_handleHover','shareReplay','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_clearRedo','transformChangesets','_getSaveTimeout','onlineStatus','_entities','_socketService','_sheetTransformSelectionsService','_clearHeartbeatTimer','_http','arc','_changesetReqId','roomMembers$','_transformStateCache','x-univer-host','_drawRectRange','_undoStacks','_startSheetCollabCursor','unsubscribe','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onMessage','memberID','/new_changes','FAIL','LocalCacheService','registerOnClose','HmacSHA1','takeUntil','PSEUDO_FETCH_MISSING_RESULT','socket\x20close','SUBMIT_CHANGESET','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','reset','DeleteRangeMoveUpCommandId','changesets','range','_cachedData','JOIN','bind','registerRefRange','_socketMessageSubscription','_disableEditing','current','NodePositionConvertToRectRange','subscribeEvent','resend','RETRY_CONNECTING_MAX_COUNT_KEY','_commentUpdate$','LEAVE','SetTextSelectionsOperation','incrementRevOfUnit','storage','stringify','UniverRpc','YUUMI_RATE_OVER_LIMIT','parseProtocolChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/resources','getMemberID','status','Unknown\x20user','change$','\x20in\x20_schedule.','/allowed','_selfUnitIDs','updateMember','makeDirty','_collaborationTimeoutTimer','_changesetSessionId','string','values','DocSkeletonManagerService','ThresholdInterceptorFactory','_onConnectionOpen','mixIn','CollaborationStatusDisplay','CBC','decryptBlock','DesktopCollaborationStatusDisplayController','_scheduleSaving','synced','_commentService','@univerjs/drawing','snapshot','CollaborationSessionService','getUnhiddenWorksheets','_collaborationSessionService','_eventUnsubscribe','getCollabEntity$','LICENSE_IMPORT_SIZE_EXCEEDED','selection','_sendHeartbeat','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sendingTimer','fetch_missing','COMPLETION_FINISHED','open$','useRef','every','PERMISSION_REJ','/universer-api/oidc/authpage','Fragment','next','_assignedColors','collaborators','_registerRenderDependencies','isTransformMutationsWithChangesetFailure','actions','_docSyncEditingCollabCursorService','_docSkeletonManagerService','_setupSubUnitSync','_docStateChangeManagerService','enc','getValue','registerRenderModule','Error','measureText','url(#off-line-single_clip0_910_343)','@univerjs/telemetry','_submitChangeset','listCollaborators','put','state$','ImageIoService','responseType','saveSheetBlock','_transformIMECache','objects','_collabSessionService','dispose$','appendMutation','#FFF','_onConflict','UNKNOWN_CMD','lib','onSendChangeset','send','tag','getSheetObject','_getAPIPrefix','_onFetchMissResult','_cursor','_rescheduleHeartbeat','objectID','use','[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.','getUnitStatus$','csAckEvent','forEach','12301850kvXiZQ','getResourcesRequest','eventID','SHOULD_CLOSE_CONN','salt','saveOfflineData','@univerjs/docs','getSheetId','currentTheme$','WordArray','EvpKDF','[CollaborationUndoRedoService]','fetchMiss','subUnitId','_clearOtherTimers','switchMap','_collaborationController','SetWorksheetActivateCommand','fromCharCode','delete','AWAITING','capture','ThemeService','HEARTBEAT_INTERVAL','undoState','_socket$','failed\x20to\x20apply\x20missed\x20changesets!','_type','[OfflineState]:\x20received\x20acknowledgement.','_beforeCloseService','UniverCore','text','_getSnapshotAPIPrefix','HELLO','docStateChange$','_resendTimer','defs','resize','sid','handleInsertRangeMoveRight','CollaborationEntity','_drawAnchor','pad','repeat','getCollabCursors$','none','BehaviorSubject','roomInfos','@univerjs/engine-formula','UNDEFINED','_docSkeleton','_parse','displayName','reqId','@univerjs/core','contains','isPermissionRej','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateStatus','/universer-api/authz','_collaborationPaused','ERROR_IMAGE','_getAnchorBounding','_anchorDot','_clearLocalCache','onRemoteRej','enableLocalCache','useObservable','transformByState','pluginName','formatter','auth.needGotoLoginAlert','replaceState','_onUserLeave','_themeService','ENSURE_SNAPSHOT_EXECUTION','ceil','UniverUi','@univerjs/design','1607ZKXRpd','registerBeforeClose','getOwnPropertySymbols','isInternalEditorID','SnapshotServerOverHTTPService','YUUMI_URL_COL_OUT_OF_RANGE','_document','HEARTBEAT_TIMEOUT_KEY','visibilitychange','min','getInterceptPoints','unknown','InsertSheetMutation','image/jpeg','_getDownloadEndpointURL','userID','onSyncEditingCollabCursor','_refreshCollabCursors','state','OnLineSingle','clearTimeout','transformRemoteChangeset','title','throttleTime','data','getUnit','_sessionStatus$','session','unitID','awaitingChangeset','_updateCollabCursors','_initStatusListener','split','_registerDependencies','_stopTelemetryCollaborationNewChangeset','OTHER_CLIENTS_EDITING','setConfig','_initResize','for','VIEW_MAIN','Latin1','loadDoc','deserializeToCombResponse','UUID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clone','_sender','indexOf','RECT','randomUUID','signUrlServerUrl','transformIMECache','max','/object/','ciphertext','SnapshotService','/universer-api/snapshot','7NRVUWv','ITransformService','getRenderById','_snapshotService','LOGIN_URL_KEY','debounceTime','JSONX','_onRemoteChangeset','entries','OFFLINE','handleDeleteRangeMoveLeft','_minBufferSize','_HTTPService','_process','TEXT_RANGE_LAYER_INDEX','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onMissedChangesetFetched','saveSnapshot','action','/unit/','c2Prime','_isPermissionRej','pipe','10VnItJm','RevisionService','splice','searchParams','_shouldReportTelemetry','_doCryptBlock','handleInsertRow','black','assignAColorForMemberID','join','awaiting_with_pending','UniverInstanceType','size','HEARTBEAT','close','with','useDependency','Rect','onRemoteAck','UNIVER_SHEET','createCollaborator','subunit','getDocRanges','MSG_FOR_ERROR','getCurrentUser','DocIMEInputManagerService','__creator','Encryptor','UNIVER_COLLABORATION_CLIENT_PLUGIN','conflict.title','IConfigService','UniverCollaborationClientPlugin','_applyRemoteChangeset','DOC_RANGE_TYPE','getUnitOnRev','SheetCollabCursorShape','onPointerLeave$','LICENSE_EXPORT_SIZE_EXCEEDED','1231345hPOXwF','fromEvent','startColumn','_initCloseConn','DataLoaderController','YUUMI_SUBSCRIPTION_NOT_FOUND','WebURLService','_transformPreviousActiveRange','sigBytes','doc.mutation.rich-text-editing','PENDING','_members','CollaborationController','@univerjs/docs-ui','getActiveSheet','copyFileMeta','UniverDocs','combineLatest','code','rgba(255,\x20255,\x20255,\x200.01)','SheetsSelectionsService','CollaborationEvent','forwardRef','_ENC_XFORM_MODE','AuthzIoHttpService','_unitID','slice','InsertRangeMoveDownCommandId','_roomMembers$','deserializeRangeWithSheet','fillStyle','_getUploadFileURL','NOT_COLLAB','RECV','_transformStack','StreamCipher','[PendingState]:\x20received\x20rejection.','image/gif','processBlock','onPointerEnter$','_getSignURL','startsWith','__esModule','_color','liveShareOperation','deleteCollaborator','_unitOnClients','_iv','toggleOffline','COLORS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_cursorInfo$','toString','parse','UPDATE_PERMISSION_OBJ','sequenceExecute','DependentOn','_scheduleHeartbeat','connectInjector','unitId\x20is\x20not\x20found','_logService','_waitCount','BuiltInUIPart','getDeserializedSheetBlock','restore','_prevBlock','reconnect','Warning','getCollabEntity','filter','roles','blockSize','Base64','_notificationService','univer-online-status-title','Plugin','_hover','_transformUndoRedoStack','json','RETRY_CONNECTING_MAX_COUNT','getRangePointData','_startTelemetryCollaborationNewChangeset','Vector2','CHANGESET_ACK','_lockTransition','toRgbString','dispose','_doReset','collaboration-session-retry','length','collab-rect-range-','_invKeySchedule','currentColor','getMember','body','transformStateCache','_startCollaboration','has','call','_saveCache','sendChangesetTimeout','_roomMembers','Tooltip','onStateChange','purple300','INVALID_ARGUMENT','handleIRemoveRow','kdf','setParam','MD5','FETCH_MISS','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','handleDeleteRangeMoveUp','offline','textRanges','defineProperty','resourceIDs','Shape','SNAPSHOT_SERVER_URL_KEY','M0\x200H16V16H0z','confirm','COMPRESS_MUTATION_SEND','transform','key','_clearScheduledTask','_initEventListeners','init','allowed','endRow','_range','_permissionService','msCrypto','_singleActiveUnitService','getLatestCsReqIdBySid','collaMsg','_textBubble','default','LICENSE_MAX_UNITS_EXCEEDED','editing\x20status\x20changed\x20to','save','_docTransformStateCacheService','getUniverSheetInstance','IURLService','now','algo','addObject','DEFAULT_FILE_NAME','CHANGESET_REJ','_sheetSkeletonManagerService','DisposableCollection','listRoles','_createHandler','collabStatus.syncing','mode','touchDependencies','toStringTag','_transitionLocked','cfg','_collabCursorState$','_draw','sheets','Univer','unload','PERMISSION_DENIED','lineTo','_doProcessBlock','top','?size=','withCredentials','attrs','_cursors','includes','_showConflictNotification','createDecryptor','className','Undefined','jsx','refreshPermission','COMMENT_UPDATE','SEND_CHANGESET_TIMEOUT_KEY','_onRemoteRejected','HEARTBEAT_TIMEOUT','selections','joinRsp','DocSelectionManagerService','_disabled','MoveRangeCommandId','image/jpg','[DataLoaderController]','setItem','UniverDrawing','_change$','_createInitialState','_cursorShapes','RichTextEditingMutation','interceptor','apply','onTransformRemoteChangesetByIMECache','_docTransformIMECacheService','/universer-api/file/{fileID}/sign-url','_joinRoom','BufferedBlockAlgorithm','_onUserJoin','save\x20fail\x20reason\x20is\x20','_doFinalize','revision','onTransformSelections','LIVESHARE_OPERATION','_socket','_onRecvEvent','uni.network.url-service','NEW_CHANGESETS','b64DecodeUnicode','pending','unshift','append','_exhaustRemoteChangesetQueue','OpenSSL','_onOffline','sessionStatus','infoRsp','transformStack\x20failed!','event$','image/bmp','_id','url(#$1','random','blue400','stopTime','encode','triggerDblclick','_key','_createHelper','SetSelectionsOperation','_data','getSheetBlock','ALREADY_EXISTS','_sessions','_refRangeService','_event$','clipPath','CompressMutationService','/fetchmissing?from=','LOCAL_CACHE_INTERVAL_KEY','HMAC','currentSkeleton$','get','[CollaborationSessionService]:\x20socket\x20error','collab-text-range-','c1Prime','PasswordBasedCipher','collaboration.single-unit.warning','APPLY_PERMISSION_DENIED','error$','_collabCursorController','_onCursorDelete','collaboration.closeRoom','popstate','IBeforeCloseService','ivSize','ImageUploadStatusType','_configService','set','div','finalize','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','color','enableOfflineEditing','serializeCombRequest','_waitForHeartbeatResponse','_revisionService','show','[PendingState]:\x20received\x20acknowledgement.','_awaitingChangeset','UniverCollaboration','CHANGESET_SHOULD_RETRY','joinEvent','_getUndoStack','_clearUndo','localeService','/-/object/-/batch_allowed','batchAllowed','DocCollaborationEntity','socket\x20open.','_uiPartsService','_getScale','cursorInfo$','JOINING','fillText','width','EmptyMutation','onCommandExecuted','find','href','_createInitialStateImpl','collabStatus.offline','headers','_render','@univerjs/network','transformSelections','getRelativeToViewportCoord','keySize','UNIVER_PROJECT','APPLY_REVISION_CONFILICT','_docTransformSelectionsService','setShowComponents','pauseCollaboration','getConfig','_hideTimer','_initMergeInterceptor','_toggleOffline','closeSession','create','liveShareNewHost','_context','HTTPService','_toggleOnline','ERROR_EXCEED_SIZE','debug','SEND_CHANGESET_TIMEOUT','Rectangle','prototype','updatePermissionPoint','close$','_updateSubUnitFromURLParams','sheetID','error','syncEditingCollabCursor','IPermissionService','[CollaborationSession]','flatMap','awaiting','_retryCount','\x0aCurrent:\x20','updateOfflineData','asObservable','isArray','_xformMode','permissionRejEvent','_transformRemoteChangesetByStateCache','sheetId','object','collabCursorState$','_checkMissing','result','DocStateChangeManagerService','add','snapshotServerUrl','_anchor','_syncEditingCollabCursorService','univer-pro.collaboration-client-socket-service','urlChange$','_memberService','COLLAB_SUBMIT_CHANGESET_URL_KEY','createSocket','byteOffset','WebSocketService','_heartbeatTimer','encrypt','_unlockTransition','TEXT','CipherParams','extend','_remoteChangesetQueue','collabWebSocketUrl','getRandomValues','_listenToOfflineEvent','_snapshotServerService','rxjs/operators','LIVESHARE_TERMINATE','_unitStatus','onRemoteRetry','Workbook','_userManagerService','session.room-full','/collaborator','_removeCollabCursors','engine','MessageType','collabStatus.notCollab','UniverTelemetry','parseChangesetToProtocol','SheetCollaborationEntity','NOT_FOUND','concat','onMissingChangesets','reject','updatePermissionObjEvent','isTransformChangesetsSuccess','_initDependencies','uploadFileServerUrl','online','post','fetching\x20missing\x20changesets\x20from\x20','113691fWlbRZ','_fetchMissChangesets','newCsEvent','members','1em','idSuffix','_onRemoteACK','univer-offline','SheetSkeletonManagerService','@univerjs/engine-render','replaceDocRanges','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_localCacheService','RxDisposable','_keySchedule','update','react.element','whenReady','on-line-single','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','map','executeCommand','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','delay','SYNCED','_removeClearOtherTimer','_renderManagerService','_compressMutationService','setAlpha','collaboration_new_changeset','SetDocZoomRatioOperation','all','off-line-single_clip0_910_343','drawWith','transformMutation','_transformHistoryAndStateStack','createInstance','deepClone','84JrpGnM','onTransformRemoteChangesetByStateCache','ILogService','ranges','[OfflineState]:\x20received\x20rejection.','Base','registerDependencies','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','_retryConnectingTimer','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISSING','some','removeMember','\x20to\x20','_telemetryService','not_collab','UniverCollaborationPlugin','_ws','/block/','_getAPIPrefixPath','_colorIndex','UNRECOGNIZED','_scheduleClearOtherTimer','m2Prime','...','univer-online','BlockCipher','handleMoveRange','InsertColCommandId','_urlService','disableLocalCache','byteLength','HttpImport','encryptBlock','getTypeOfUnitAdded$','WorkbookEditablePermission','_executeRemoteChangeset','onTransformChange$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onConnectionFailed','UnitEmbedded','isTransformMutationsWithChangesetSuccess','getUnitType','workbook','_timeoutTimer','registerComponent','exports','LIVESHARE_FETCH_OPERATIONS','IDLE','@univerjs/rpc','_ensureSubject','isTransformMutationFailure','USERS_LEAVE','CommandType','getCoordByCell','take','iterations','&assign=','_schedule','ref','/object','_onCombEvent','_updateState','_pendingMutations','closePath','_reverseMap','_config','UPDATE_CURSOR','routeKey','_updateLocalCache','POST','icon','SNAPSHOT_INVALID_SNAPSHOT','symbol','_onJoinRoomEvent','InsertRowCommandId','_state','updateCursorEvent','0\x200\x2017\x2016','univerjs-icon\x20univerjs-icon-','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_labelPosition','onMouseMove','handleInsertCol','IUniverInstanceService','Pkcs7','/-/object/list','_iKey','getSkeleton','_nRounds','defIds','_imageSourceCache','RemoveRowCommandId','function','HttpExport','onTransformState','_send','_shapes','_getRedoStack','_entityInit$','_loadSheet','_incrementRevisionNumber','editingUnit','rxjs','BlockCipherMode','ISnapshotServerService','getViewport','ReactCurrentOwner','setUndoRedoMutationParamsCache','catch','INTERNAL_ERROR','Hasher','getUndoRedoMutationParamsCache','onload','permission.content','decrypt','csShouldRetryEvent','2462752Txdxan','ICollaborationSocketService','fill','svg','setCurrentUser','COMPRESS_MUTATION_APPLY','operators','sessionStatus$','hasOwnProperty','Disposable','onTransformIME','_resendWithTimeout','4568826oUqUWe','ICommandService','@univerjs-pro/collaboration','Utf8','from','NO_OTHER_CLIENTS_EDITING','removeParam','reverse','_status$','LICENSE_DISTRO_REJECTED','react','UNIVER_UNKNOWN','setShapeProps','message$','addEventListener','_sendHeartbeatTimer','onPointerMove$','AES','_hovered','_handleHeartbeatEvent'];_0x3494=function(){return _0x4fe01f;};return _0x3494();}
|
1
|
+
function _0x586f(_0x5eafd6,_0x172096){const _0x2967ea=_0x2967();return _0x586f=function(_0x586fad,_0x301ba4){_0x586fad=_0x586fad-0xef;let _0x337950=_0x2967ea[_0x586fad];return _0x337950;},_0x586f(_0x5eafd6,_0x172096);}function _0x2967(){const _0x4ac44e=['_colorIndex','reqId','[CollaborationUndoRedoService]','visibilitychange','LICENSE_MAX_UNITS_EXCEEDED','onTransformRemoteChangesetByStateCache','LIVESHARE_TERMINATE','getWorkbookSelections','mapTo','COMPRESS_MUTATION_SEND','UNKNOWN_CMD','COLLAB_SUBMIT_CHANGESET_URL','rev','handleInsertCol','_sheetTransformSelectionsService','UniverTelemetry','_onJoinRoomEvent','saveOfflineData','_entityInit$','SEND_CHANGESET_TIMEOUT','/object','transformUndoRedo','univer-offline','currentTheme$','_pendingMutations','IDLE','_listenToOnlineEvent','lineTo','collabSubmitChangesetUrl','_docSkeletonManagerService','__creator','RichTextEditingMutation','cursorInfo','encode','registerComponent','isTransformChangesetsSuccess','RECV','closeSession','_onLocalMutation','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','focused$','SUCCUSS','_substituteRedoStack','localeService','_clearUndo','_commandService','_sessionStatus$','unitID','InsertRangeMoveRightCommandId','HttpExport','beginPath','getCollabEntity','_telemetryInfo','_handleHeartbeatEvent','toRgbString','_syncEditingCollabCursor','apply','subunit','sessionStatus$','1260458antIYw','SnapshotServerOverHTTPService','onCommentUpdate','selection','PENDING','_transitionLocked','awaiting','_resendTimer','SYNCED','1em','routeKey','_localCacheService','status$','Disposable','_color','change$','_minBufferSize','getDocRanges','complete','Workbook','urlChange$','#fff','UniverRpc','_waitCount','type','_nDataBytes','createCollaborator','skeleton','_getAPIPrefix','UNIVER_UNKNOWN','_anchor','src','take','LICENSE_IMPORT_SIZE_EXCEEDED','amd','[OfflineState]:\x20received\x20rejection.','dispose','saveSheetBlock','useDependency','c1Prime','jiqing500','_startTelemetryCollaborationNewChangeset','_getRedoStack','DisposableCollection','handleIRemoveRow','_hideTimer','subUnitId','_transformStack','WorkbookEditablePermission','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','...','clear','SHA1','onRemoteAck','APPLY_NON_SEQUENTIAL_REVISION','getCellPositionByOffset','makeDirty','forwardRef','_snapshotServerService','pipe','_disableEditing','_oKey','[CollaborationEntity]','transformSelections','NOT_FOUND','IBeforeCloseService','parse','HmacSHA1','UniverDocsUi','_userManagerService','CollaborationSession','_ensureSubject','_initCloseConn','subscribeEvent','getImageSourceCache','charAt','getUnitType','@univerjs/telemetry','_colorAssignService','onStateChange','put','_setupBeforeClosingHandler','_onOffline','APPLY_REJECT','enc','$super','_drawTextRange','Vector2','setCurrentUser','SNAPSHOT_SERVER_URL_KEY','image/bmp','SerializableCipher','_permissionService','_collaborationSessionService','joinEvent','_socketService','div','_getUndoStack','endColumn','COMPRESS_MUTATION_APPLY','_executeRemoteChangeset','compute','default','snapshot','_updateURLWithCurrentState','_removeCollabCursors','getUnitId','create','infoRsp','_localeService','arc','updateCursorEvent','defs','univerjs-icon\x20univerjs-icon-','INVALID_ARGUMENT','_iKey','_initRequestHeader','some','IConfigService','debounce','StreamCipher','text','rxjs/operators','InsertColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setShowComponents','_docTransformStateCacheService','shareReplay','collaboration_new_changeset','setAlpha','UniverUi','UniverDocs','CHANGESET_REVISION_CONFILICT','_joinRoom','M0\x200H16V16H0z','exports','setTimeout','body','every','addObjects','removeMember','baseRev','_doCryptBlock','collab-text-range-','range','setActiveRange','_logService','newCsEvent','NodePositionConvertToRectRange','_commentUpdate$','@univerjs/docs-ui','SetSelectionsOperation','substring','serializeRangeWithSheet','_sendHeartbeat','_initStatusComponent','fetch_missing','state','onCommandExecuted','SnapshotService','socket$','/universer-api/authz','asObservable','measureText','_onCombEvent','POST','&assign=','[OfflineState]:\x20received\x20changeset.','translate(.97)','enableAuthServer','parseChangesetToProtocol','fetchThroughInterceptors','objectID','getRenderById','getCurrentRevOfUnit','parseProtocolChangeset','csAckEvent','syncEditingCollabCursor','_registerDependencies','status','Inject','_stopTelemetryCollaborationNewChangeset','_state$','2714346benqkt','Warning','RevisionService','splice','file','filter','IUndoRedoService','HEARTBEAT','signUrlServerUrl','react.fragment','clearTimeout','roomMembers','clamp','_docSkeleton','Hex','_transformService','symbol','encryptBlock','_nRounds','deserializeRangeWithSheet','ALREADY_EXISTS','evenodd','collaboration.closeRoom','InsertSheetMutation','ws://127.0.0.1:8000/universer-api/comb/connect','2592204BAONno','@univerjs/drawing','colorChannel1','getRangePointData','_id','_fetchMissChangesets','SNAPSHOT_HAS_BEEN_REMOVED','LIVESHARE_REQUEST_HOST','_transformUndoRedoStack','HttpImport','_clearHeartbeatTimer','round','_getSendChangesetTimeout','message$','transformIMECache','Injector','EvpKDF','executeCommand','UniverCollaborationPlugin','then','DOC_RANGE_TYPE','@univerjs/sheets-ui','getItem','transformMutation','COLORS','initWorkbookPermissionChange','allowed','DocSelectionManagerService','on-line-single_clip0_910_349','onReady','UNAUTHENTICATED','blue400','removeParam','_updateState','setWaitCount','_socket$','FileId','_registerRenderDependencies','SheetCollaborationEntity','_clearCollaborationTimeoutTimer','@univerjs/core','isTransformMutationsWithChangesetFailure','/allowed','getOwnPropertyDescriptor','/universer-api/snapshot/','none','CollaborationEntity','sequenceExecute','React','MemberService','socketService','_schedule','target','_map','_change$','padding','awaitingChangeset','UnitSnapshot','IContextService','setShapeProps','onTransformSelections','_clearOtherTimers','deepClone','icon','changesets','RETRY_CONNECTING_MAX_COUNT','cmd','DocIMEInputManagerService','0\x200\x2016\x2016','_append','startRow','TRANSFORM_CHANGE_OBSERVABLE_TYPE','lib','randomBytes','_state','textRanges','cfg','onMouseMove','revision','WordArray','defIds','idSuffix','_onConflict','HELLO','_collabCursorState$','ThemeService','onlyLocal','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','_unitID','[PendingState]:\x20received\x20rejection.','AWAITING_WITH_PENDING','/object/','SetTextSelectionsOperation','Error','prototype','saveImage','_createInitialState','onlineStatusTitle','_snapshotService','_lockTransition','loginUrlKey','workbook','getUniverSheetInstance','online','Utf8','univer-pro.collaboration-client-socket-service','UNIVER_SLIDE','_unitOnClients','toggleOffline','moveTo','newValue','_eventUnsubscribe','ILogService','getConfig','APPLY_PERMISSION_DENIED','_onRemoteRetry','addEventListener','SheetPermissionInitController','_invKeySchedule','_renderManagerService','_refreshCollabCursors','CHANGESET_SHOULD_RETRY','OFFLINE','@univerjs/engine-render','_getCtorByUniverType','readAsDataURL','_imageSourceCache','delay','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','IImageIoService','touchDependencies','_revisionService','_clearTimeoutTimer','actions','FAIL','_scheduleSaving','Plugin','merge','_docSyncEditingCollabCursorService','registerHTTPInterceptor','LocalUndoRedoService','_decreaseWaiting','getParam','UNKNOWN_CODE','setStateCache','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/universer-api/snapshot','_compressMutationService','createSocket','restore','deleteCollaborator','getTypeOfUnitAdded$','_doFinalize','RegularPolygon','_anchorDot','combineLatest','_transformStateCache','COLLAB_WEB_SOCKET_URL_KEY','[DataLoaderController]','className','_scheduleTimestamp','currentColor','PERMISSION_REJ','_applyRemoteChangeset','registerRenderModule','execute','_clearScheduledTask','CONNECTOR_DATA_TOO_LARGE','_onConnectionFailed','IMessageService','_notificationService','drawWith','_instanceService','_drawAnchor','BlockCipher','_lastPointer','EmptyMutation','b64DecodeUnicode','_mode','data','undoState','_HTTPService','height','addObject','_setupSubUnitSync','cursorInfo$','href','_getAPIPrefixPath','_collaborationTimeoutTimer','disposeWithMe','loadSheet','Unknown\x20user','confirm','_themeService','_onRecvEvent','max','unitId','sid','LIVESHARE_NEW_HOST','_memberService','telemetry\x20info\x20is\x20not\x20initialized','@univerjs/docs','JOINING','_remoteChangesetQueue','getUnitStatus$','ImageUploadStatusType','_initCommandExecutedListener','collabWebSocketUrl','byteOffset','getRoom','interceptor','UniverDrawing','Could\x20not\x20dynamically\x20require\x20\x22','defineProperty','getVpScrollXYInfoByPosToVp','authzUrl','registerRefRange','all','useObservable','getCurrent','getRelativeToViewportCoord','LOGIN_URL_KEY','getSheetBlock','_transformUndoredo','whenReady','_textBubble','resend','_initUnitPermissionChange','getUnitOnRev','_onCursorUpdate','ONLINE','editingUnit','_socketReady','_toggleOffline','getSheetBySheetId','collabStatus.synced','liveShareNewHost','_online','stopTime','handleInsertRangeMoveDown','userID','1463021ZjUtaJ','updateOfflineData','objectActions','_initResize','transform','[OfflineState]:\x20received\x20acknowledgement.','commentUpdate$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','HTTPRequest','collab-client.tooltip.reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_getCurrentRevision','#FFF','/universer-api/stream/file/upload','_createHelper','closePath','string','rxjs','getCollabCursors$','MergeInterceptorFactory','hide','IURLService','Decryptor','_onUserLeave','code','event$','_data','onSendChangeset','collabStatus.conflict','row','getSkeleton','_members','fill','blockSize','updatePermissionPoint','_removeRoom','_updateLocalCache','onTransformIME','close','[SyncedState]:\x20received\x20rejection.','IUIPartsService','bottom','BuiltInUIPart','_prevBlock','InsertRangeMoveDownCommandId','registerDependencies','Base64','@univerjs/ui','replaceState','clipPath','_retryConnectingTimer','sigBytes','HEADER_MENU','transformMutationsWithChangeset','collaboration-client.config','getSheetObject','_sendHeartbeatTimer','onPointerEnter$','conflict.content','886982yAOzdB','decrypt','rng','32dDmItS','ITransformService','jsx','_unitStatus','_xformMode','Optional','floor','capture','_updateStatus','_candidateSocket','bind','isInternalEditorID','_session','_range','WebSocketService','add','reconnect','onlineStatus','mutations','from','_status$','_onRemoteRejected','_resendTimeout','SNAPSHOT_INVALID_SNAPSHOT','unitId\x20is\x20not\x20found','DocCollaborationEntity','_send','unshift','connection\x20error','close$','ILocalStorageService','IUniverInstanceService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','next','setParam','error','USERS_ENTER','replace','repeat','pauseCollaboration','getAllMembers','getViewport','YUUMI_SUBSCRIPTION_NOT_FOUND','history','_entities','getAncestorScale','popstate','sendChangesetTimeout','_initStatusListener','_backgroundColor','reset','collaMsg','AWAITING','_onUserJoin','/collaborator','values','LocaleService','onSyncEditingCollabCursor','EffectRefRangId','doc.mutation.rich-text-editing','failed\x20to\x20apply\x20missed\x20changesets!','originalMeta','concatMap','off-line-single_clip0_910_343','COMPLETION_FINISHED','BehaviorSubject','url(#on-line-single_clip0_910_349)','SheetsSelectionsService','msCrypto','APPLY_REVISION_CONFILICT','_initEventListeners','push','verdancy600','_transformPreviousActiveRange','COLLAB_SUBMIT_CHANGESET_URL_KEY','fillRule','HEARTBEAT_INTERVAL','_reverseMap','ThresholdInterceptorFactory','pushState','_beforeCloseService','Rect','children','top','_transformRemoteChangesetByIMECache','_getSheetObject','_hover','uni.network.url-service','USERS_LEAVE','_scheduleHeartbeat','setInterval','attrs','HEARTBEAT_TIMEOUT_KEY','location','transformStateCache','UniverDesign','SHOULD_CLOSE_CONN','DeleteRangeMoveLeftCommandId','Undefined','offline','isTransformMutationFailure','_getSaveTimeout','indexOf','getCurrentUser','HmacMD5','hasher','sessionStatus','session.will-retry','RxDisposable','byteLength','debug','_getAnchorBounding','RemoveRowCommandId','conflict.title','saveChangeset','collabCursorState$','NodePositionConvertToCursor','RETRY_CONNECTING_MAX_COUNT_KEY','getResourcesRequest','_getSnapshotAPIPrefix','handleIRemoveCol','getRandomValues','forEach','searchParams','params','_document','getActiveSheet','CompressMutationService','downloadEndpointUrl','image/jpeg','LOCAL_CACHE_INTERVAL','_httpService','ISnapshotServerService','get','@univerjs/design','updatePermissionObjEvent','memberID','c2Prime','transformRemoteChangeset','/block/','_getSignURL','{fileID}','socket\x20close','Malformed\x20UTF-8\x20data','ACTIVE_UNIT_EVENT_CHANNEL','LIVESHARE_OPERATION','_uiPartsService','/resources','enableSingleActiveInstanceLock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','copyFileMeta','_startSheetCollabCursor','_clearRedo','updateCollaborator','words','uploadFileServerUrl','isEditing','_handleHover','kdf','encrypt','_resendWithTimeout','_handler','UniverCollaborationClientPlugin','onPointerMove$','CollaborationSocketService','width','_unlockTransition','requestParams','_injector','_incrementRevisionNumber','UniverCore','SheetSkeletonManagerService','OTHER_CLIENTS_EDITING','currentSkeleton$','_scheduleClearOtherTimer','ImageSourceType','Cipher','_onRemoteACK','Hasher','_config','_keyPriorReset','patch','length','sheets','font','processBlock','duration','transformStack\x20failed!','_syncEditingCollabCursorService','extend','charCodeAt','createIdentifier','liveShareOperation','[CollaborationSessionService]:\x20socket\x20error','clone','DocSkeletonManagerService','fromCollab','batchAllowed','startsWith','AuthzIoHttpService','_hash','TEXT_RANGE_LAYER_INDEX','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdateEvent','@univerjs/network','CHANGESET_ACK','OffLineSingle','VIEWPORT_KEY','createInstance','_submitChangeset','_collaborationController','assign','_urlService','getMemberID','YUUMI_RATE_OVER_LIMIT','generateRandomId','getUndoRedoMutationParamsCache','has','DataLoaderController','unknown','[CollaborationSession]','init','split','reverse','COMMENT_UPDATE','_sendingTimer','AES','fillText','path','LocalCacheService','svg','find','loadDoc','_createSocket','snapshotServerUrl','MUTATION','ICollaborationSocketService','MessageType','CHANGESET_REJ','registerOnClose','CollaborationStatus','serializeCombRequest','UniverCollaborationClient','keySize','_retryCount','\x20-\x20','getCurrentSelections','UniverEngineFormula','fetchMissingChangesets','displayName','ImageIoService','black','univer-online-status-title','headers','send','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','findNodePositionByCharIndex','hidden','ERROR_IMAGE_TYPE','random','hasOwnProperty','_sender','_context','decryptBlock','_onRemoteChangeset','_acknowledgedAwaitingChangeset','UPDATE_PERMISSION_OBJ','_handleLeaveEvent','_transformSelections','xlink:href','map','format','MD5','getUnit','_process','CBC','@univerjs-pro/collaboration','submit\x20changeset\x20error!','randomUUID','_localStorageService','_collabCursorController','substr','UniverSheets','mapDocumentTypeToUniverType','onRemoteChangeset','3680336YMgemy','reject','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','MSG_FOR_ERROR','_replayCachedMutations','unit-cache-','ciphertext','getActiveRange','isArray','_onRefRangeChange','\x20in\x20_schedule.','origin','_cursorShapes','onTransformState','getOwnPropertySymbols','&to=','_sessions','MoveRangeCommandId','delete','_iv','_drawRectRange','abs','tag','INGEST','onRemoteRetry','univer-online-status','getValue','_onCursorDelete','_draw','compose','_getDownloadEndpointURL','isTransformMutationsWithChangesetSuccess','crypto','_cachedData','NO_OTHER_CLIENTS_EDITING','LEAVE','createDecryptor','mode','fetching\x20missing\x20changesets\x20from\x20','_name','redoState','assignAColorForMemberID','_collaborationPaused','_createInitialStateImpl','_docStateChangeManagerService','algo','registerBeforeClose','ranges','/-/object/list','_singleActiveUnitService','addImageSourceCache','RECT','_transformIMECache','setUndoRedoMutationParamsCache','_cursorInfo$','SUBMIT_CHANGESET','INTERNAL_ERROR','TOO_MANY_REQUESTS','_undoRedoService','save','csShouldRetryEvent','_docTransformIMECacheService','reduce','_createHandler','JSONX','getUnhiddenWorksheets','getLatestCsReqIdBySid','toStringTag','roomMembers$','Subject','_configService','session','getStateCache','distinctUntilChanged','unit','exhaustSavingTask','_hasher','use','UNIVER_DOC','getFocusedUnit','hovered','_updateCollabCursors','_removeClearOtherTimer','[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.','PERMISSION_DENIED','UNIVER_SHEET','_cursors','getMergeData','_roomMembers','_handleEvent','resourceIDs','_assignedColors','0\x200\x2017\x2016','_exhaustRemoteChangesetQueue','appendMutation','stringify','UPDATE_CURSOR','_updateLocalCursor','PSEUDO_FETCH_MISSING_RESULT','/rev/','_scheduleCollaborationTimeoutTimer','/unit/','_labelPosition','_initMergeInterceptor','collabStatus.fetchMiss','connectInjector','_changesetReqId','getInterceptPoints','createEncryptor','_toggleOnline','fromCharCode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','runRefRangeMutations','onRendered','_socketMessageSubscription','DeleteRangeMoveUpCommandId','CollaborationStatusDisplay','debounceTime','LICENSE_DISTRO_REJECTED','ICommandService','YUUMI_URL_COL_OUT_OF_RANGE','_hovered','Tooltip','show','ref','listCollaborators','_type','_changesetSessionId','HTTPService','UnitEmbedded','red300','_initDependencies','InsertRowCommandId','/universer-api/oidc/authpage','backgroundColor','m1Prime','synced','fromEvent','[CollaborationSessionService]','off-line-single','TEXT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_TIMEOUT','_doReset','purple300','_init','result','image/png','_heartbeatTimer','_DEC_XFORM_MODE','FETCH_MISSING','DependentOn','_transformHistoryAndStateStack','ReactCurrentOwner','getMember','onRemoteRej','_shouldReportTelemetry','AUTHZ_URL_KEY','fetchMiss','save\x20fail\x20reason\x20is\x20','UniverEngineRender','_timeoutTimer','startTime','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SessionStatus','_onFetchMissResult','CollaborationSessionService','_commentService','fillStyle','join','Shape','color','_disabled','_getLoginPath','_getMergeRange','objectType','[PendingState]:\x20received\x20acknowledgement.','csRejEvent','_messageService','_refRangeService','slice','onPointerLeave$','collab-text-anchor-','_queuedRemoteChangesets','_ENC_XFORM_MODE','HMAC','\x0aCurrent:\x20','pad','IPermissionService','8971659BIHWQy','x-univer-host','incrementRevOfUnit','fromEventSubject','endRow','\x0aAfter:\x20','CommandType','_cipher','univer-pro.collaboration-client.single-active-unit-service','sin','pending','CipherParams','key','CONFLICT','toString','textEncoder','_loadSheet','@univerjs/engine-formula','_ws','session.connection-failed','createElement','min','UNIVER_PROJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','_replaceFileID','handleDeleteRangeMoveUp','onMissedChangesetFetched','roomInfos','finalize','call','LIVESHARE_FETCH_OPERATIONS','_telemetryService','_showConflictNotification','Base','[PendingState]:\x20unhandled\x20univer\x20type:\x20','mixIn','IRenderManagerService','on-line-single','SetWorksheetActivateCommand','name','current','UniverSheetsUi','_loadDoc','with','_doProcessBlock','retryConnectingInterval','@univerjs/rpc','propertyIsEnumerable','gold400','RemoveColCommandId','[UniverCollaborationClientPlugin]','object','_keySchedule','_saveTaskMap','_updateSubUnitFromURLParams','DesktopCollaborationStatusDisplayController','_onMessage','getTime','UNRECOGNIZED','_rescheduleHeartbeat','_cursor','startColumn','BASE64','_saveCache','getTypeOfUnitDisposed$','entries','takeUntil','salt','_clearLocalCache','isActive','eventID','toggleOnline','editing\x20status\x20changed\x20to','5JfKxcv','engine','/new_changes','_transformRemoteChangesetByStateCache','updateMember','CollaborationEvent','UniverInstanceType','_univerInstanceService','switchMap','react','handleInsertRow','_isPermissionRej','_key','_event$','for','_scene','_onConnectionOpen','NOT_COLLAB','_sheetSkeletonManagerService','size','FETCH_MISS','getCollabEntity$','number','selections','_redoStacks','onTransformRemoteChangesetByIMECache','_startCollaboration','getSheetId','setItem','responseType','Encryptor','FromArray','transformChangesets','replaceDocRanges','collaboratorID','ENSURE_SNAPSHOT_EXECUTION','[CollaborationState]:\x20apply\x20error!','jsxs','catch','visibilityState','/-/object/-/batch_allowed','_roomMembers$','PasswordBasedCipher','concat','_socket','update','_selfUnitIDs','buffer','now','roles','univer-online','column','JOIN','url(#$1','conflict','ERROR_IMAGE','post','OpenSSL','includes','univer-online-status-icon','_awaitingChangeset','clearInterval','_collabSessionService','set','getColor','ivSize','formatter','image/gif','putCollaborators','DocStateChangeManagerService','SNAPSHOT_URL_KEY','flatMap','ceil','isPermissionRej','unsubscribe','/fetchmissing?from=','subscribe','dispose$','_checkMissing','disableLocalCache','onStarting','image/jpg','_render','CollaborationController','YUUMI_UNABLE_LOAD_URL','Tools','deserializeToCombResponse','open$','toDisposable','_tryEnsureSocket','append','EXCHANGE_SIGN_URL_SERVER_URL_KEY','APPLY_DUPLICATED','session.collaboration-timeout','m2Prime','handleMoveRange','collaboration.single-unit.warning','ReplaySubject','_waitForHeartbeatResponse','UNDEFINED','_shapes','function','_tryReconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!'];_0x2967=function(){return _0x4ac44e;};return _0x2967();}(function(_0x4179c6,_0x5dc0ea){const _0xebd6ab=_0x586f,_0x2a8296=_0x4179c6();while(!![]){try{const _0x5bdccb=parseInt(_0xebd6ab(0x1b9))/0x1+-parseInt(_0xebd6ab(0x483))/0x2+-parseInt(_0xebd6ab(0x53a))/0x3+parseInt(_0xebd6ab(0x2d9))/0x4+parseInt(_0xebd6ab(0x3e0))/0x5*(parseInt(_0xebd6ab(0x553))/0x6)+parseInt(_0xebd6ab(0x17e))/0x7*(parseInt(_0xebd6ab(0x1bc))/0x8)+-parseInt(_0xebd6ab(0x396))/0x9;if(_0x5bdccb===_0x5dc0ea)break;else _0x2a8296['push'](_0x2a8296['shift']());}catch(_0x1e24a4){_0x2a8296['push'](_0x2a8296['shift']());}}}(_0x2967,0x84a12),function(_0x5ffb50,_0xc0c5d8){const _0x2f6e30=_0x586f;typeof exports=='object'&&typeof module<'u'?_0xc0c5d8(exports,require(_0x2f6e30(0x57b)),require('rxjs'),require(_0x2f6e30(0x4fd)),require('@univerjs/design'),require('@univerjs/ui'),require(_0x2f6e30(0x288)),require('@univerjs-pro/collaboration'),require('@univerjs/telemetry'),require(_0x2f6e30(0x519)),require('@univerjs/sheets'),require(_0x2f6e30(0x107)),require('@univerjs/docs'),require(_0x2f6e30(0x554)),require(_0x2f6e30(0x3a7)),require(_0x2f6e30(0x568)),require(_0x2f6e30(0x3e9)),require(_0x2f6e30(0x3c5))):typeof define==_0x2f6e30(0x445)&&define[_0x2f6e30(0x4a5)]?define([_0x2f6e30(0x50a),_0x2f6e30(0x57b),_0x2f6e30(0x18f),_0x2f6e30(0x4fd),_0x2f6e30(0x242),_0x2f6e30(0x1ad),'@univerjs/network',_0x2f6e30(0x2d0),_0x2f6e30(0x4d0),'@univerjs/docs-ui','@univerjs/sheets','@univerjs/engine-render',_0x2f6e30(0x156),_0x2f6e30(0x554),_0x2f6e30(0x3a7),_0x2f6e30(0x568),_0x2f6e30(0x3e9),'@univerjs/rpc'],_0xc0c5d8):(_0x5ffb50=typeof globalThis<'u'?globalThis:_0x5ffb50||self,_0xc0c5d8(_0x5ffb50[_0x2f6e30(0x2ae)]={},_0x5ffb50[_0x2f6e30(0x266)],_0x5ffb50[_0x2f6e30(0x18f)],_0x5ffb50[_0x2f6e30(0x18f)]['operators'],_0x5ffb50[_0x2f6e30(0x21b)],_0x5ffb50[_0x2f6e30(0x505)],_0x5ffb50['UniverNetwork'],_0x5ffb50['UniverCollaboration'],_0x5ffb50[_0x2f6e30(0x457)],_0x5ffb50[_0x2f6e30(0x4c7)],_0x5ffb50[_0x2f6e30(0x2d6)],_0x5ffb50[_0x2f6e30(0x379)],_0x5ffb50[_0x2f6e30(0x506)],_0x5ffb50[_0x2f6e30(0x160)],_0x5ffb50[_0x2f6e30(0x2b3)],_0x5ffb50[_0x2f6e30(0x3c0)],_0x5ffb50[_0x2f6e30(0x583)],_0x5ffb50[_0x2f6e30(0x499)]));}(this,function(_0x2728bd,_0x8a1a57,_0x933215,_0x478e49,_0x731a74,_0x4b60ff,_0x547ebe,_0x27cfd8,_0x2d346b,_0x473dea,_0x46f63a,_0x20e8c2,_0x1d9e38,_0x1444d,_0x2f3a98,_0x3ba744,_0x5e80f5,_0x6cb789){'use strict';const _0x16631f=_0x586f;var _0x5412be=Object[_0x16631f(0x162)],_0x358f5f=(_0x53f7af,_0xf1df9d,_0x5a448e)=>_0xf1df9d in _0x53f7af?_0x5412be(_0x53f7af,_0xf1df9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a448e}):_0x53f7af[_0xf1df9d]=_0x5a448e,_0x2a606e=(_0x426f38,_0x1d9b95,_0x3401c4)=>_0x358f5f(_0x426f38,typeof _0x1d9b95!=_0x16631f(0x54a)?_0x1d9b95+'':_0x1d9b95,_0x3401c4);const _0x105ab0=_0x16631f(0x4dc),_0x302226=_0x16631f(0x11f),_0x17ae05=_0x16631f(0x426),_0xe2af66=_0x16631f(0x45b),_0xa043d2='COLLAB_WEB_SOCKET_URL',_0x2e90bf=_0x16631f(0x552),_0x5308f2=_0x16631f(0x208),_0x24c7e0=_0x16631f(0x367),_0x3f4302=_0x16631f(0x594),_0x3c4516=_0x16631f(0x23e),_0x5f392d=_0x16631f(0x453),_0x2866e4='/universer-api/comb',_0x1da8a5=_0x16631f(0x16a),_0x4638d3=_0x16631f(0x35e);var _0x40c994=(_0x384af3=>(_0x384af3[_0x384af3[_0x16631f(0x443)]=0x0]=_0x16631f(0x443),_0x384af3[_0x384af3['OK']=0x1]='OK',_0x384af3[_0x384af3[_0x16631f(0x311)]=0x2]=_0x16631f(0x311),_0x384af3[_0x384af3[_0x16631f(0x32d)]=0x3]=_0x16631f(0x32d),_0x384af3[_0x384af3['NOT_FOUND']=0x4]=_0x16631f(0x4c3),_0x384af3[_0x384af3[_0x16631f(0x571)]=0x5]='UNAUTHENTICATED',_0x384af3[_0x384af3[_0x16631f(0x54e)]=0x6]=_0x16631f(0x54e),_0x384af3[_0x384af3[_0x16631f(0x4f5)]=0x7]=_0x16631f(0x4f5),_0x384af3[_0x384af3['TOO_MANY_REQUESTS']=0x8]=_0x16631f(0x312),_0x384af3[_0x384af3['COMPLETION_FINISHED']=0x9]=_0x16631f(0x1fc),_0x384af3[_0x384af3[_0x16631f(0x507)]=0x1389]=_0x16631f(0x507),_0x384af3[_0x384af3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x16631f(0x1d3),_0x384af3[_0x384af3[_0x16631f(0x559)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x384af3[_0x384af3[_0x16631f(0x403)]=0x1773]=_0x16631f(0x403),_0x384af3[_0x384af3[_0x16631f(0x4d6)]=0x1b59]=_0x16631f(0x4d6),_0x384af3[_0x384af3[_0x16631f(0x4b9)]=0x1b5a]=_0x16631f(0x4b9),_0x384af3[_0x384af3[_0x16631f(0x201)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x384af3[_0x384af3[_0x16631f(0xfe)]=0x1b5c]=_0x16631f(0xfe),_0x384af3[_0x384af3[_0x16631f(0x43c)]=0x1b5d]=_0x16631f(0x43c),_0x384af3[_0x384af3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x16631f(0x134),_0x384af3[_0x384af3[_0x16631f(0x44c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4ff)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x384af3[_0x384af3[_0x16631f(0x4a4)]=0x232b]=_0x16631f(0x4a4),_0x384af3[_0x384af3[_0x16631f(0x188)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x384af3[_0x384af3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x16631f(0x34f),_0x384af3[_0x384af3[_0x16631f(0x434)]=0x2711]=_0x16631f(0x434),_0x384af3[_0x384af3[_0x16631f(0x351)]=0x2712]=_0x16631f(0x351),_0x384af3[_0x384af3[_0x16631f(0x292)]=0x2713]=_0x16631f(0x292),_0x384af3[_0x384af3[_0x16631f(0x1e6)]=0x2714]=_0x16631f(0x1e6),_0x384af3[_0x384af3[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x384af3))(_0x40c994||{}),_0x4a6b81=(_0x415daa=>(_0x415daa[_0x415daa[_0x16631f(0x4a0)]=0x0]=_0x16631f(0x4a0),_0x415daa[_0x415daa['UNIVER_DOC']=0x1]=_0x16631f(0x327),_0x415daa[_0x415daa[_0x16631f(0x32e)]=0x2]=_0x16631f(0x32e),_0x415daa[_0x415daa[_0x16631f(0xf6)]=0x3]=_0x16631f(0xf6),_0x415daa[_0x415daa['UNIVER_PROJECT']=0x4]=_0x16631f(0x3ac),_0x415daa[_0x415daa[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0x415daa))(_0x4a6b81||{}),_0x4421b5=(_0xab8deb=>(_0xab8deb[_0xab8deb[_0x16631f(0x452)]=0x0]=_0x16631f(0x452),_0xab8deb[_0xab8deb[_0x16631f(0x5a6)]=0x1]='HELLO',_0xab8deb[_0xab8deb[_0x16631f(0x414)]=0x2]='JOIN',_0xab8deb[_0xab8deb['LEAVE']=0x3]='LEAVE',_0xab8deb[_0xab8deb[_0x16631f(0x2f0)]=0x4]=_0x16631f(0x2f0),_0xab8deb[_0xab8deb[_0x16631f(0x541)]=0x5]=_0x16631f(0x541),_0xab8deb[_0xab8deb[_0x16631f(0x46c)]=0x6]=_0x16631f(0x46c),_0xab8deb[_0xab8deb[_0x16631f(0x3d1)]=-0x1]=_0x16631f(0x3d1),_0xab8deb))(_0x4421b5||{}),_0x2737e6=(_0x208bcc=>(_0x208bcc[_0x208bcc['UNKNOWN_CODE']=0x0]=_0x16631f(0x11c),_0x208bcc[_0x208bcc['OK']=0x1]='OK',_0x208bcc[_0x208bcc['FAIL']=0x2]=_0x16631f(0x113),_0x208bcc[_0x208bcc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x208bcc))(_0x2737e6||{}),_0x4e4d17=(_0x341960=>(_0x341960[_0x341960[_0x16631f(0x21e)]=0x0]=_0x16631f(0x21e),_0x341960[_0x341960[_0x16631f(0x55c)]=0x1]=_0x16631f(0x55c),_0x341960[_0x341960[_0x16631f(0x479)]=0x2]=_0x16631f(0x479),_0x341960[_0x341960[_0x16631f(0x35a)]=0x3]='UnitEmbedded',_0x341960[_0x341960[_0x16631f(0x58c)]=0x4]=_0x16631f(0x58c),_0x341960[_0x341960[_0x16631f(0x3d1)]=-0x1]='UNRECOGNIZED',_0x341960))(_0x4e4d17||{});const _0x132856=_0x16631f(0x1b4),_0x361e6c={};function _0x44af3e(_0x1ae501){const _0x19f62d=_0x16631f;var _0x5acb4a,_0x596703,_0x3c7aa5,_0x8a4828,_0x34e785;const _0x1c19a5=_0x1ae501[_0x19f62d(0x140)],_0x27a9ab=JSON[_0x19f62d(0x4c5)](_0x1c19a5);switch(_0x27a9ab['cmd']){case _0x4421b5[_0x19f62d(0x541)]:case _0x4421b5[_0x19f62d(0x5a6)]:{const _0x4a1d17=_0x27a9ab[_0x19f62d(0x4ef)];return{..._0x27a9ab,'data':_0x4a1d17,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['JOIN']:{const _0x81909b=_0x27a9ab['joinRsp'];return{..._0x27a9ab,'data':_0x81909b,'cmd':_0x27a9ab[_0x19f62d(0x595)]};}case _0x4421b5['RECV']:{const _0x4f5ff7=_0x27a9ab[_0x19f62d(0x1ef)];switch(_0x4f5ff7[_0x19f62d(0x3dd)]){case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x12f)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x5acb4a=_0x4f5ff7['permissionRejEvent'])==null?void 0x0:_0x5acb4a['cs']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_ACK']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x596703=_0x4f5ff7[_0x19f62d(0x533)])==null?void 0x0:_0x596703['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x3c7aa5=_0x4f5ff7[_0x19f62d(0x516)])==null?void 0x0:_0x3c7aa5['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2aa)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x8a4828=_0x4f5ff7[_0x19f62d(0x38a)])==null?void 0x0:_0x8a4828['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['CHANGESET_SHOULD_RETRY']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':(_0x34e785=_0x4f5ff7[_0x19f62d(0x315)])==null?void 0x0:_0x34e785['cs']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4f2)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x1e0)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x4e1)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x214)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['leaveEvent']},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_NEW_HOST']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['liveShareNewHost']},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x3b5)]:case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x24d)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x27c)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['LIVESHARE_TERMINATE']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x179)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2dc)]:return{..._0x27a9ab,'data':_0x4f5ff7,'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x29c)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x287)]},'cmd':_0x27a9ab['cmd']};case _0x27cfd8[_0x19f62d(0x3e5)][_0x19f62d(0x2c6)]:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7[_0x19f62d(0x243)]},'cmd':_0x27a9ab[_0x19f62d(0x595)]};case _0x27cfd8[_0x19f62d(0x3e5)]['SHOULD_CLOSE_CONN']:return{..._0x27a9ab,'data':{..._0x4f5ff7,'data':_0x4f5ff7['shouldCloseConn']},'cmd':_0x27a9ab['cmd']};default:return _0x27a9ab;}}default:return _0x27a9ab;}}function _0x5e3630(_0x42197b){const _0x2c0c97=_0x16631f;switch(_0x42197b[_0x2c0c97(0x595)]){case _0x4421b5['HEARTBEAT']:case _0x4421b5[_0x2c0c97(0x5a6)]:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)]});case _0x4421b5[_0x2c0c97(0x2f0)]:{let _0x98c844;switch(_0x42197b[_0x2c0c97(0x140)]['eventID']){case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x339)],'updateCursorEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x214)],'leaveEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)]['USERS_ENTER']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x1e0)],'joinEvent':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x153)],'liveShareNewHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x24d)],'liveShareOperation':_0x42197b[_0x2c0c97(0x140)]['data']};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x44e)],'liveShareTerminate':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8[_0x2c0c97(0x3e5)][_0x2c0c97(0x55a)]:{_0x98c844={'eventID':_0x27cfd8[_0x2c0c97(0x3e5)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x42197b[_0x2c0c97(0x140)][_0x2c0c97(0x140)]};break;}case _0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]:{_0x98c844={'eventID':_0x27cfd8['CollaborationEvent'][_0x2c0c97(0x3b5)]};break;}default:_0x98c844={'eventID':_0x42197b[_0x2c0c97(0x140)]['eventID']};}return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'collaMsg':_0x98c844});}case _0x4421b5['JOIN']:return JSON[_0x2c0c97(0x338)]({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'joinReq':_0x42197b[_0x2c0c97(0x140)]});case _0x4421b5[_0x2c0c97(0x2fc)]:return JSON['stringify']({'cmd':_0x42197b[_0x2c0c97(0x595)],'routeKey':_0x42197b[_0x2c0c97(0x48d)],'leaveReq':_0x42197b[_0x2c0c97(0x140)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x379e0e=Object[_0x16631f(0x162)],_0x1ca809=Object[_0x16631f(0x57e)],_0x5a838e=(_0x5688a9,_0x10a463,_0x11d9c8,_0xebadb8)=>{const _0x321d23=_0x16631f;for(var _0xe3ac9b=_0xebadb8>0x1?void 0x0:_0xebadb8?_0x1ca809(_0x10a463,_0x11d9c8):_0x10a463,_0x1ba81b=_0x5688a9[_0x321d23(0x272)]-0x1,_0x47033a;_0x1ba81b>=0x0;_0x1ba81b--)(_0x47033a=_0x5688a9[_0x1ba81b])&&(_0xe3ac9b=(_0xebadb8?_0x47033a(_0x10a463,_0x11d9c8,_0xe3ac9b):_0x47033a(_0xe3ac9b))||_0xe3ac9b);return _0xebadb8&&_0xe3ac9b&&_0x379e0e(_0x10a463,_0x11d9c8,_0xe3ac9b),_0xe3ac9b;},_0x51ec2c=(_0x1aa654,_0x56c9a1)=>(_0x2aa2f6,_0xb2d24e)=>_0x56c9a1(_0x2aa2f6,_0xb2d24e,_0x1aa654);const _0x55ce8e=_0x8a1a57['createIdentifier'](_0x16631f(0xf5));function _0x5eaccb(_0x1f6842,_0x2d369b,_0xcff014){const _0x372b5f=_0x16631f;return _0x1f6842+'/'+_0x2d369b+'/unit/'+_0xcff014+_0x372b5f(0x3e2);}_0x2728bd[_0x16631f(0x260)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x55c53f,_0x34024c,_0x25eb02,_0x4c5c68,_0x426073){const _0x297063=_0x16631f;super(),this['_http']=_0x55c53f,this['_ws']=_0x34024c,this[_0x297063(0x31f)]=_0x25eb02,this[_0x297063(0x515)]=_0x4c5c68,this['_snapshotServerService']=_0x426073;}[_0x16631f(0x121)](_0x1d4068){const _0x323248=_0x16631f,_0x505c58=this[_0x323248(0x3a8)]['createSocket'](_0x1d4068);if(!_0x505c58)throw new Error(_0x323248(0x348));const _0x538a39=new _0x8a1a57[(_0x323248(0x4ae))](),_0x2c2d1d=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['close$']['subscribe'](_0x5d5ee2=>_0x2c2d1d[_0x323248(0x1dd)](_0x5d5ee2))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x2c2d1d[_0x323248(0x495)]()));const _0x5d32f6=new _0x933215[(_0x323248(0x31e))]();_0x538a39[_0x323248(0x1cb)](_0x505c58['error$'][_0x323248(0x42c)](_0x187d69=>_0x5d32f6[_0x323248(0x1dd)](_0x187d69))),_0x538a39[_0x323248(0x1cb)](_0x8a1a57[_0x323248(0x438)](()=>_0x5d32f6['complete']()));const _0x43be3e=new _0x933215['Subject']();_0x538a39[_0x323248(0x1cb)](_0x505c58[_0x323248(0x560)]['subscribe'](_0xdfaef8=>{const _0x39e3df=_0x323248,_0x533cab=_0x44af3e(_0xdfaef8);_0x43be3e[_0x39e3df(0x1dd)](_0x533cab);})),_0x538a39['add'](_0x8a1a57[_0x323248(0x438)](()=>_0x43be3e[_0x323248(0x495)]()));let _0x2b4493;const _0x252db6=()=>{const _0x2f097b=_0x323248;_0x5d32f6[_0x2f097b(0x1dd)](new Event(_0x2f097b(0x1d8))),_0x2c2d1d[_0x2f097b(0x1dd)](new CloseEvent(_0x2f097b(0x1d8))),_0x2b4493[_0x2f097b(0x1a4)]();};return _0x2b4493={'memberID':'','close$':_0x2c2d1d['asObservable'](),'error$':_0x5d32f6[_0x323248(0x525)](),'open$':_0x505c58[_0x323248(0x437)],'message$':_0x43be3e[_0x323248(0x525)](),'send':_0x5a022c=>{const _0x4b7a3f=_0x323248;if(_0x5a022c['cmd']===_0x4421b5[_0x4b7a3f(0x2f0)]){if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2b4493,_0x5a022c[_0x4b7a3f(0x140)])['catch'](_0x319caf=>{const _0x477e00=_0x4b7a3f;this['_logService'][_0x477e00(0x1df)](_0x319caf),_0x252db6();});return;}if(_0x5a022c[_0x4b7a3f(0x140)][_0x4b7a3f(0x3dd)]===_0x27cfd8[_0x4b7a3f(0x3e5)][_0x4b7a3f(0x36f)]){const _0x2b2f16=_0x5a022c[_0x4b7a3f(0x140)];this[_0x4b7a3f(0x558)](_0x2b2f16)[_0x4b7a3f(0x566)](_0x2e1198=>{const _0x1c6b26=_0x4b7a3f;_0x43be3e[_0x1c6b26(0x1dd)]({'cmd':_0x4421b5[_0x1c6b26(0x46c)],'code':_0x2737e6['OK'],'routeKey':_0x2b2f16[_0x1c6b26(0x140)][_0x1c6b26(0x477)],'routeType':'','data':{'eventID':_0x27cfd8[_0x1c6b26(0x3e5)][_0x1c6b26(0x33b)],'data':{'changesets':_0x2e1198}}});})[_0x4b7a3f(0x406)](_0x531603=>{const _0x11c206=_0x4b7a3f;this[_0x11c206(0x515)]['error'](_0x531603),_0x252db6();});return;}}_0x505c58['send'](_0x5e3630(_0x5a022c));},'close':()=>{const _0x5a9d47=_0x323248;_0x505c58[_0x5a9d47(0x1a4)](),_0x538a39[_0x5a9d47(0x4a7)]();}},_0x2b4493;}async[_0x16631f(0x28d)](_0x3debf8,_0x253be6){const _0x56d43a=_0x16631f;var _0x7230e0,_0x185c2c;const {unitType:_0x4567c2,unitID:_0x539e5c,changeset:_0x8681d5}=_0x253be6['data'],_0x2c380d={'unitID':_0x539e5c,'memberID':_0x3debf8[_0x56d43a(0x244)],'type':_0x4567c2,'changeset':_0x27cfd8[_0x56d43a(0x52d)](_0x8681d5)},_0x5bdf43=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x5f392d),_0x146600=this[_0x56d43a(0x31f)][_0x56d43a(0xfd)](_0x132856),_0x240b49=_0x5eaccb((_0x185c2c=(_0x7230e0=_0x146600==null?void 0x0:_0x146600[_0x56d43a(0x464)])!=null?_0x7230e0:_0x5bdf43)!=null?_0x185c2c:_0x2866e4,_0x4567c2,_0x539e5c);try{await this['_http']['post'](_0x240b49,{'body':_0x2c380d});}catch(_0x5f0ed4){throw this[_0x56d43a(0x515)][_0x56d43a(0x1df)](_0x56d43a(0x298),_0x56d43a(0x2d1)),_0x5f0ed4;}}async[_0x16631f(0x558)](_0x51f29e){const _0x2e9fc4=_0x16631f,{unitID:_0x5dfdd7,from:_0x3c4a18,to:_0x456348,unitType:_0x17d158}=_0x51f29e[_0x2e9fc4(0x140)];return(await this[_0x2e9fc4(0x4bd)][_0x2e9fc4(0x2b4)]({'metadata':void 0x0},{'unitID':_0x5dfdd7,'type':_0x17d158,'from':_0x3c4a18,'to':_0x456348}))[_0x2e9fc4(0x593)];}},_0x2728bd['CollaborationSocketService']=_0x5a838e([_0x51ec2c(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x51ec2c(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x1ca)])),_0x51ec2c(0x2,_0x8a1a57[_0x16631f(0x4f9)]),_0x51ec2c(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x51ec2c(0x4,_0x27cfd8['ISnapshotServerService'])],_0x2728bd[_0x16631f(0x260)]);const _0x191ac8=_0x16631f(0x503);function _0x47bcb8(_0x542a8e){const _0xf7791a=_0x16631f;return JSON[_0xf7791a(0x338)](_0x542a8e)[_0xf7791a(0x272)];}class _0xe71ff7{constructor(){const _0xc1de3e=_0x16631f;_0x2a606e(this,_0xc1de3e(0x518),new _0x933215[(_0xc1de3e(0x31e))]()),_0x2a606e(this,_0xc1de3e(0x184),this[_0xc1de3e(0x518)][_0xc1de3e(0x525)]());}['onCommentUpdate'](_0x426124){const _0x2f13e7=_0x16631f;this['_commentUpdate$'][_0x2f13e7(0x1dd)](_0x426124);}}var _0x414fe2=Object[_0x16631f(0x162)],_0x16bd0e=Object['getOwnPropertyDescriptor'],_0x522c3c=(_0xf4e0c9,_0x22e4c6,_0x26d33a,_0x54f6fa)=>{const _0x258c46=_0x16631f;for(var _0x5a1739=_0x54f6fa>0x1?void 0x0:_0x54f6fa?_0x16bd0e(_0x22e4c6,_0x26d33a):_0x22e4c6,_0x1cdf63=_0xf4e0c9[_0x258c46(0x272)]-0x1,_0x3396b4;_0x1cdf63>=0x0;_0x1cdf63--)(_0x3396b4=_0xf4e0c9[_0x1cdf63])&&(_0x5a1739=(_0x54f6fa?_0x3396b4(_0x22e4c6,_0x26d33a,_0x5a1739):_0x3396b4(_0x5a1739))||_0x5a1739);return _0x54f6fa&&_0x5a1739&&_0x414fe2(_0x22e4c6,_0x26d33a,_0x5a1739),_0x5a1739;},_0xc2f820=(_0x3f53b4,_0x4f64a1)=>(_0x356d5b,_0x3dbe53)=>_0x4f64a1(_0x356d5b,_0x3dbe53,_0x3f53b4);_0x2728bd[_0x16631f(0x584)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x20f640,_0x9f56a){const _0x45e02a=_0x16631f;super(),_0x2a606e(this,_0x45e02a(0x331),new Map()),(this[_0x45e02a(0x3e7)]=_0x20f640,this[_0x45e02a(0x4c8)]=_0x9f56a,this[_0x45e02a(0x14a)](_0x8a1a57[_0x45e02a(0x438)](_0x933215[_0x45e02a(0x116)](this[_0x45e02a(0x3e7)]['getTypeOfUnitDisposed$'](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x32e)])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x511cbb=>_0x511cbb['getUnitId']())),this['_univerInstanceService'][_0x45e02a(0x3d7)](_0x8a1a57[_0x45e02a(0x3e6)][_0x45e02a(0x327)])['pipe'](_0x478e49['map'](_0x270d35=>_0x270d35['getUnitId']())),this[_0x45e02a(0x3e7)][_0x45e02a(0x3d7)](_0x8a1a57['UniverInstanceType']['UNIVER_SLIDE'])[_0x45e02a(0x4be)](_0x478e49[_0x45e02a(0x2ca)](_0x1ca0ef=>_0x1ca0ef['getUnitId']())))[_0x45e02a(0x42c)](_0x1e313d=>this[_0x45e02a(0x1a1)](_0x1e313d)))));}['setCurrentUser'](_0x303936){const _0x2ebddd=_0x16631f;this[_0x2ebddd(0x4c8)][_0x2ebddd(0x4db)](_0x303936);}[_0x16631f(0x223)](){const _0x179fcd=_0x16631f;return this[_0x179fcd(0x4c8)]['getCurrentUser']();}[_0x16631f(0x3e4)](_0x48f02c,_0x16be2a){const _0x5dc80b=_0x16631f;let _0x76533a=this[_0x5dc80b(0x331)][_0x5dc80b(0x241)](_0x48f02c);_0x76533a||(_0x76533a=new _0x23ee47(),this[_0x5dc80b(0x331)]['set'](_0x48f02c,_0x76533a)),_0x76533a[_0x5dc80b(0x3e4)](_0x16be2a);}[_0x16631f(0x50f)](_0xe50c58,_0x3dca8e){const _0x9cf65c=_0x16631f,_0x4678ae=this[_0x9cf65c(0x331)][_0x9cf65c(0x241)](_0xe50c58);_0x4678ae&&_0x4678ae[_0x9cf65c(0x50f)](_0x3dca8e);}[_0x16631f(0x15e)](_0x511df2){const _0xef13e=_0x16631f;return this[_0xef13e(0x331)][_0xef13e(0x241)](_0x511df2);}['getMember'](_0xd449bb,_0xbf115f){const _0x21d635=_0x16631f,_0x3ce39e=this[_0x21d635(0x331)]['get'](_0xd449bb);if(_0x3ce39e)return _0x3ce39e[_0x21d635(0x373)](_0xbf115f);}['_removeRoom'](_0x64fc4d){const _0x5d07fa=_0x16631f,_0x323b3c=this[_0x5d07fa(0x331)][_0x5d07fa(0x241)](_0x64fc4d);_0x323b3c&&(_0x323b3c[_0x5d07fa(0x4a7)](),this[_0x5d07fa(0x331)][_0x5d07fa(0x2eb)](_0x64fc4d));}['dispose'](){const _0x5b75b5=_0x16631f;this[_0x5b75b5(0x331)][_0x5b75b5(0x236)](_0x38b483=>_0x38b483[_0x5b75b5(0x4a7)]()),this['_roomMembers'][_0x5b75b5(0x4b6)]();}},_0x2728bd[_0x16631f(0x584)]=_0x522c3c([_0xc2f820(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0xc2f820(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['UserManagerService']))],_0x2728bd[_0x16631f(0x584)]);class _0x23ee47 extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x296087=_0x16631f;super(...arguments),_0x2a606e(this,_0x296087(0x19d),new Map());}[_0x16631f(0x4a7)](){const _0x4d1d17=_0x16631f;this[_0x4d1d17(0x19d)][_0x4d1d17(0x4b6)]();}[_0x16631f(0x3e4)](_0x3f4d44){const _0x20b32e=_0x16631f;this[_0x20b32e(0x19d)][_0x20b32e(0x41f)](_0x3f4d44[_0x20b32e(0x244)],_0x3f4d44);}[_0x16631f(0x50f)](_0x3254e4){const _0x39571e=_0x16631f;this[_0x39571e(0x19d)]['delete'](_0x3254e4);}[_0x16631f(0x373)](_0x3ad73e){const _0x47946a=_0x16631f;return this[_0x47946a(0x19d)][_0x47946a(0x241)](_0x3ad73e);}[_0x16631f(0x1e4)](){const _0x3c714d=_0x16631f;return Array[_0x3c714d(0x1cf)](this[_0x3c714d(0x19d)]['values']());}}var _0x41cb9d=Object['defineProperty'],_0x5ad160=Object[_0x16631f(0x57e)],_0x53c022=(_0x47e6a1,_0x5e983e,_0x33f30b,_0x77d64a)=>{for(var _0x506584=_0x77d64a>0x1?void 0x0:_0x77d64a?_0x5ad160(_0x5e983e,_0x33f30b):_0x5e983e,_0x6cdcc6=_0x47e6a1['length']-0x1,_0xe8b0f5;_0x6cdcc6>=0x0;_0x6cdcc6--)(_0xe8b0f5=_0x47e6a1[_0x6cdcc6])&&(_0x506584=(_0x77d64a?_0xe8b0f5(_0x5e983e,_0x33f30b,_0x506584):_0xe8b0f5(_0x506584))||_0x506584);return _0x77d64a&&_0x506584&&_0x41cb9d(_0x5e983e,_0x33f30b,_0x506584),_0x506584;},_0x1ec151=(_0x34c632,_0x514db9)=>(_0x220293,_0x5bf8e2)=>_0x514db9(_0x220293,_0x5bf8e2,_0x34c632),_0x53eb3f=(_0x67ba81=>(_0x67ba81[_0x67ba81[_0x16631f(0x461)]=0x0]='IDLE',_0x67ba81[_0x67ba81['JOINING']=0x1]=_0x16631f(0x157),_0x67ba81[_0x67ba81[_0x16631f(0x106)]=0x2]=_0x16631f(0x106),_0x67ba81[_0x67ba81[_0x16631f(0x173)]=0x3]='ONLINE',_0x67ba81))(_0x53eb3f||{});_0x2728bd['CollaborationSession']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x158c69,_0x4602b3,_0x20ac43,_0x336023,_0x46dcfa,_0x36ff5e,_0x5a21a2,_0x4b00fd,_0x8cde2f,_0x58cba4){const _0x740a4f=_0x16631f;super(),_0x2a606e(this,_0x740a4f(0x476),new _0x933215[(_0x740a4f(0x1fd))](0x0)),_0x2a606e(this,'sessionStatus$',this['_sessionStatus$'][_0x740a4f(0x525)]()),_0x2a606e(this,'_event$',new _0x933215[(_0x740a4f(0x31e))]()),_0x2a606e(this,_0x740a4f(0x197),this[_0x740a4f(0x3ed)][_0x740a4f(0x525)]()),_0x2a606e(this,_0x740a4f(0x40c)),_0x2a606e(this,_0x740a4f(0x34b)),_0x2a606e(this,_0x740a4f(0x149)),_0x2a606e(this,'_shouldReportTelemetry',!0x1),_0x2a606e(this,_0x740a4f(0x47c),null),(this[_0x740a4f(0x5ac)]=_0x158c69,this[_0x740a4f(0x515)]=_0x20ac43,this['_beforeCloseService']=_0x336023,this[_0x740a4f(0x38b)]=_0x46dcfa,this[_0x740a4f(0x31f)]=_0x36ff5e,this[_0x740a4f(0x4f0)]=_0x5a21a2,this['_memberService']=_0x4b00fd,this[_0x740a4f(0x380)]=_0x8cde2f,this['_telemetryService']=_0x58cba4,this[_0x740a4f(0x375)]=!!this[_0x740a4f(0x3b6)],_0x4602b3[_0x740a4f(0x4be)](_0x933215[_0x740a4f(0x3d9)](this[_0x740a4f(0x42d)]))[_0x740a4f(0x42c)](_0x3de438=>{const _0xb2f192=_0x740a4f;var _0x1dd9a7;typeof _0x3de438>'u'||(this[_0xb2f192(0x40c)]=_0x3de438,_0x3de438?(this[_0xb2f192(0x508)](_0x3de438),this['_socketMessageSubscription']=_0x3de438[_0xb2f192(0x560)]['subscribe'](_0x276a69=>{const _0x526b60=_0xb2f192;_0x276a69[_0x526b60(0x48d)]===this[_0x526b60(0x5ac)]&&this[_0x526b60(0x527)](_0x276a69);})):(this[_0xb2f192(0x10d)](),this[_0xb2f192(0x476)][_0xb2f192(0x1dd)](0x2),(_0x1dd9a7=this[_0xb2f192(0x34b)])==null||_0x1dd9a7[_0xb2f192(0x42a)](),this[_0xb2f192(0x34b)]=null));}),this[_0x740a4f(0x14a)](this[_0x740a4f(0x20c)][_0x740a4f(0x2ab)](()=>{const _0x3e031d=_0x740a4f;var _0x4414a5;(_0x4414a5=this[_0x3e031d(0x40c)])==null||_0x4414a5['send']({'cmd':_0x4421b5[_0x3e031d(0x2fc)],'data':{'roomID':this[_0x3e031d(0x5ac)]}});})));}get[_0x16631f(0x226)](){const _0x3f4ee4=_0x16631f;return this[_0x3f4ee4(0x476)][_0x3f4ee4(0x2f3)]();}[_0x16631f(0x291)](){const _0x396df9=_0x16631f;var _0x257765,_0x42cb47;return(_0x42cb47=(_0x257765=this['_socket'])==null?void 0x0:_0x257765[_0x396df9(0x244)])!=null?_0x42cb47:null;}[_0x16631f(0x4a7)](){const _0x4b7e3a=_0x16631f;super[_0x4b7e3a(0x4a7)](),this['dispose$'][_0x4b7e3a(0x1dd)](),this['dispose$'][_0x4b7e3a(0x495)]();}[_0x16631f(0x1a4)](){const _0x50eb97=_0x16631f;var _0x3a3dfa,_0x59e8de;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3a3dfa=this['_socket'])==null||_0x3a3dfa[_0x50eb97(0x2ba)]({'cmd':_0x4421b5[_0x50eb97(0x2fc)],'data':{'roomID':this['_unitID']}}),(_0x59e8de=this[_0x50eb97(0x40c)])==null||_0x59e8de[_0x50eb97(0x1a4)](),this[_0x50eb97(0x3ed)][_0x50eb97(0x495)](),this['_sessionStatus$'][_0x50eb97(0x495)](),this[_0x50eb97(0x4a7)]();}[_0x16631f(0x527)](_0x3f2c55){const _0x491aad=_0x16631f;_0x3f2c55[_0x491aad(0x595)]===_0x4421b5['JOIN']?this[_0x491aad(0x458)](_0x3f2c55):_0x3f2c55[_0x491aad(0x595)]===_0x4421b5[_0x491aad(0x46c)]&&this[_0x491aad(0x14f)](_0x3f2c55);}[_0x16631f(0x508)](_0x2ae19c){const _0x497c20=_0x16631f;this[_0x497c20(0x476)][_0x497c20(0x1dd)](0x1),_0x2ae19c['send']({'cmd':_0x4421b5[_0x497c20(0x414)],'routeKey':this[_0x497c20(0x5ac)],'routeType':'','data':{'rooms':[{'roomID':this[_0x497c20(0x5ac)]}]}});}[_0x16631f(0x458)](_0x1edaa1){const _0xf6bfdb=_0x16631f;var _0xc0ec94;if(_0x1edaa1[_0xf6bfdb(0x196)]===_0x2737e6[_0xf6bfdb(0x113)]){this[_0xf6bfdb(0x38b)][_0xf6bfdb(0x354)]({'type':_0x731a74[_0xf6bfdb(0x2a9)][_0xf6bfdb(0x53b)],'content':this[_0xf6bfdb(0x4f0)]['t']('session.room-full')}),this[_0xf6bfdb(0x476)][_0xf6bfdb(0x1dd)](0x2);return;}this[_0xf6bfdb(0x476)]['next'](0x3);const _0x20c807=(_0xc0ec94=_0x1edaa1[_0xf6bfdb(0x140)][_0xf6bfdb(0x3b2)][this[_0xf6bfdb(0x5ac)]])==null?void 0x0:_0xc0ec94['members'];_0x20c807&&_0x20c807[_0xf6bfdb(0x236)](_0x15ba1b=>this['_memberService'][_0xf6bfdb(0x3e4)](this['_unitID'],_0x15ba1b));}['_onRecvEvent'](_0x315aee){const _0x3abc75=_0x16631f;try{const _0x50af67=_0x315aee['data'];switch(_0x50af67['eventID']){case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x1e0)]:this[_0x3abc75(0x1f1)](_0x50af67),this[_0x3abc75(0x3ed)]['next'](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x214)]:this[_0x3abc75(0x195)](_0x50af67),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x289)]:case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x105)]:this[_0x3abc75(0x538)](),this[_0x3abc75(0x57a)](),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8[_0x3abc75(0x3e5)][_0x3abc75(0x2dc)]:this['_logService'][_0x3abc75(0x1df)](_0x3abc75(0x378)+JSON['stringify'](_0x50af67)),this[_0x3abc75(0x3ed)][_0x3abc75(0x1dd)](_0x50af67);break;case _0x27cfd8['CollaborationEvent'][_0x3abc75(0x29c)]:this[_0x3abc75(0x380)][_0x3abc75(0x485)](_0x50af67[_0x3abc75(0x140)]),this['_event$'][_0x3abc75(0x1dd)](_0x50af67);break;default:this['_event$'][_0x3abc75(0x1dd)](_0x50af67);}}catch(_0xaa093a){this[_0x3abc75(0x515)][_0x3abc75(0x1df)](_0xaa093a,_0x315aee);}}[_0x16631f(0x1f1)](_0x2fe59e){const _0x38e1c6=_0x16631f;this['_memberService']['updateMember'](this[_0x38e1c6(0x5ac)],_0x2fe59e[_0x38e1c6(0x140)]);}['_onUserLeave'](_0x297483){const _0x4fff40=_0x16631f;this[_0x4fff40(0x154)][_0x4fff40(0x50f)](this[_0x4fff40(0x5ac)],_0x297483[_0x4fff40(0x140)][_0x4fff40(0x244)]);}async[_0x16631f(0x2ba)](_0x537555,_0x38f606){const _0x46586b=_0x16631f;if(this[_0x46586b(0x226)]!==0x3||!this[_0x46586b(0x40c)])throw new Error(_0x46586b(0x37c));try{_0x537555[_0x46586b(0x3dd)]===_0x27cfd8[_0x46586b(0x3e5)][_0x46586b(0x310)]&&(this[_0x46586b(0x33d)](),this[_0x46586b(0x4ac)](_0x537555)),this[_0x46586b(0x40c)][_0x46586b(0x2ba)]({'cmd':_0x4421b5[_0x46586b(0x2f0)],'routeKey':_0x38f606,'routeType':'','data':_0x537555});}catch(_0x5259e5){this[_0x46586b(0x515)]['error'](_0x5259e5);}}[_0x16631f(0x33d)](){const _0x33b47d=_0x16631f;var _0x321ecb;this[_0x33b47d(0x149)]=window[_0x33b47d(0x50b)](()=>{const _0x2b92b2=_0x33b47d;this[_0x2b92b2(0x149)]=null,this['_messageService'][_0x2b92b2(0x354)]({'type':_0x731a74['MessageType'][_0x2b92b2(0x5b1)],'content':this[_0x2b92b2(0x4f0)]['t'](_0x2b92b2(0x43d))});},(_0x321ecb=this['_configService']['getConfig'](_0x24c7e0))!=null?_0x321ecb:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0xf12932=_0x16631f;this[_0xf12932(0x149)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xf12932(0x149)]=null);}[_0x16631f(0x4ac)](_0x141ddb){const _0x1c328f=_0x16631f;if(!this[_0x1c328f(0x375)])return;const {data:_0x36981b}=_0x141ddb,{unitID:_0x1a484d,changeset:_0x407c98}=_0x36981b,{mutations:_0x5b02ea,type:_0x22c468}=_0x407c98;this['_telemetryInfo']={'unitId':_0x1a484d,'type':_0x22c468,'startTime':performance[_0x1c328f(0x410)](),'stopTime':0x0,'duration':0x0,'size':_0x47bcb8(_0x5b02ea)};}[_0x16631f(0x538)](){const _0x34bb9a=_0x16631f;if(this[_0x34bb9a(0x375)]){if(!this['_telemetryInfo']){this[_0x34bb9a(0x515)]['error'](_0x34bb9a(0x298),_0x34bb9a(0x155));return;}this['_telemetryInfo'][_0x34bb9a(0x17b)]=performance[_0x34bb9a(0x410)](),this[_0x34bb9a(0x47c)][_0x34bb9a(0x276)]=this[_0x34bb9a(0x47c)]['stopTime']-this[_0x34bb9a(0x47c)][_0x34bb9a(0x37b)],this[_0x34bb9a(0x3b6)][_0x34bb9a(0x1c3)](_0x191ac8,this[_0x34bb9a(0x47c)]),this[_0x34bb9a(0x47c)]=null;}}[_0x16631f(0x10d)](){const _0x3c000a=_0x16631f;this[_0x3c000a(0x47c)]=null;}},_0x2728bd[_0x16631f(0x4c9)]=_0x53c022([_0x1ec151(0x2,_0x8a1a57[_0x16631f(0xfc)]),_0x1ec151(0x3,_0x4b60ff[_0x16631f(0x4c4)]),_0x1ec151(0x4,_0x4b60ff[_0x16631f(0x136)]),_0x1ec151(0x5,_0x8a1a57['IConfigService']),_0x1ec151(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x1ec151(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x1ec151(0x8,_0x8a1a57[_0x16631f(0x537)](_0xe71ff7)),_0x1ec151(0x9,_0x8a1a57[_0x16631f(0x1c1)](_0x2d346b['ITelemetryService']))],_0x2728bd[_0x16631f(0x4c9)]);var _0x4a420b=Object['defineProperty'],_0x13c799=Object[_0x16631f(0x57e)],_0x379a6c=(_0x4a6cac,_0x21f822,_0x518ce1,_0x5d80fd)=>{const _0x8f8d80=_0x16631f;for(var _0x1e9d20=_0x5d80fd>0x1?void 0x0:_0x5d80fd?_0x13c799(_0x21f822,_0x518ce1):_0x21f822,_0xa8840b=_0x4a6cac[_0x8f8d80(0x272)]-0x1,_0x1d7d47;_0xa8840b>=0x0;_0xa8840b--)(_0x1d7d47=_0x4a6cac[_0xa8840b])&&(_0x1e9d20=(_0x5d80fd?_0x1d7d47(_0x21f822,_0x518ce1,_0x1e9d20):_0x1d7d47(_0x1e9d20))||_0x1e9d20);return _0x5d80fd&&_0x1e9d20&&_0x4a420b(_0x21f822,_0x518ce1,_0x1e9d20),_0x1e9d20;},_0x142a48=(_0xa25bf0,_0x16950f)=>(_0x5dd1f0,_0x2f2753)=>_0x16950f(_0x5dd1f0,_0x2f2753,_0xa25bf0);_0x2728bd[_0x16631f(0x37f)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0xa6e7af,_0x18ce71,_0x7b659,_0x17661f,_0x305ba0,_0x552de8){const _0xfb2e9f=_0x16631f;super(),_0x2a606e(this,'_socket$',new _0x933215[(_0xfb2e9f(0x1fd))](void 0x0)),_0x2a606e(this,_0xfb2e9f(0x523),this[_0xfb2e9f(0x576)]['asObservable']()),_0x2a606e(this,'_candidateSocket',null),_0x2a606e(this,_0xfb2e9f(0x2e9),new Map()),_0x2a606e(this,_0xfb2e9f(0x1d0),new _0x933215[(_0xfb2e9f(0x1fd))](_0x53eb3f[_0xfb2e9f(0x461)])),_0x2a606e(this,_0xfb2e9f(0x48f),this['_status$'][_0xfb2e9f(0x525)]()),_0x2a606e(this,_0xfb2e9f(0x175),!0x1),_0x2a606e(this,_0xfb2e9f(0x1b0)),_0x2a606e(this,_0xfb2e9f(0x2b0),0x0),_0x2a606e(this,_0xfb2e9f(0x1b6)),_0x2a606e(this,_0xfb2e9f(0x37a)),(this[_0xfb2e9f(0x264)]=_0xa6e7af,this['_localeService']=_0x18ce71,this[_0xfb2e9f(0x38b)]=_0x7b659,this[_0xfb2e9f(0x515)]=_0x17661f,this[_0xfb2e9f(0x31f)]=_0x305ba0,this[_0xfb2e9f(0x4e2)]=_0x552de8,this[_0xfb2e9f(0x202)]());}get[_0x16631f(0x40c)](){return this['_socket$']['getValue']();}['_initEventListeners'](){const _0x1cb638=_0x16631f;this['_listenToOfflineEvent'](),this[_0x1cb638(0x462)]();}[_0x16631f(0x4a7)](){const _0x3e5de2=_0x16631f;super[_0x3e5de2(0x4a7)](),this['_sessions'][_0x3e5de2(0x236)](_0x414c97=>_0x414c97[_0x3e5de2(0x4a7)]()),this[_0x3e5de2(0x2e9)]['clear'](),this['_status$'][_0x3e5de2(0x495)]();}async['requireSession'](_0x469ff6){const _0x40868e=_0x16631f;if(this[_0x40868e(0x2e9)][_0x40868e(0x295)](_0x469ff6))return this['_sessions'][_0x40868e(0x241)](_0x469ff6);this[_0x40868e(0x439)]();const _0x55af45=this['_injector']['createInstance'](_0x2728bd[_0x40868e(0x4c9)],_0x469ff6,this[_0x40868e(0x576)][_0x40868e(0x525)]());return this[_0x40868e(0x2e9)][_0x40868e(0x41f)](_0x469ff6,_0x55af45),_0x55af45;}[_0x16631f(0x46d)](_0x488644){const _0x4c0d15=_0x16631f;var _0xcfe850;const _0x28f101=this[_0x4c0d15(0x2e9)][_0x4c0d15(0x241)](_0x488644);_0x28f101&&(this['_sessions'][_0x4c0d15(0x2eb)](_0x488644),_0x28f101[_0x4c0d15(0x1a4)]()),this[_0x4c0d15(0x2e9)][_0x4c0d15(0x3f3)]||(_0xcfe850=this['_socket'])==null||_0xcfe850[_0x4c0d15(0x1a4)]();}[_0x16631f(0x1cc)](){const _0x2d63fd=_0x16631f;this[_0x2d63fd(0x2b0)]=0x0,this[_0x2d63fd(0x1b0)]!=null&&(clearTimeout(this[_0x2d63fd(0x1b0)]),this[_0x2d63fd(0x1b0)]=null),this['_tryReconnect']();}[_0x16631f(0x2a5)](){const _0x1024b5=_0x16631f;var _0x6cad9,_0x5271cc;const _0x276866=this[_0x1024b5(0x31f)]['getConfig'](_0xa043d2),_0x3a359b=this[_0x1024b5(0x31f)][_0x1024b5(0xfd)](_0x132856),_0x5186fe=(_0x5271cc=(_0x6cad9=_0x3a359b==null?void 0x0:_0x3a359b[_0x1024b5(0x15c)])!=null?_0x6cad9:_0x276866)!=null?_0x5271cc:_0x2e90bf,_0x311887=this[_0x1024b5(0x4e2)]['createSocket'](_0x5186fe);return this[_0x1024b5(0x1c5)]=_0x311887,_0x311887;}[_0x16631f(0x439)](){const _0xa5c4eb=_0x16631f;var _0x2b288f,_0x5012bc;try{const _0x38bdf2=(_0x5012bc=(_0x2b288f=this[_0xa5c4eb(0x40c)])!=null?_0x2b288f:this[_0xa5c4eb(0x1c5)])!=null?_0x5012bc:this[_0xa5c4eb(0x2a5)]();if(_0x38bdf2){const _0x255253=_0x38bdf2['send'];_0x38bdf2[_0xa5c4eb(0x2ba)]=_0x13f9c0=>(this[_0xa5c4eb(0x3d2)](),_0x255253['apply'](_0x38bdf2,[_0x13f9c0])),_0x38bdf2[_0xa5c4eb(0x560)][_0xa5c4eb(0x42c)](_0xc7fac2=>this[_0xa5c4eb(0x3cf)](_0x38bdf2,_0xc7fac2)),_0x38bdf2['error$'][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x576b71=>this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0xa5c4eb(0x27d),_0x576b71)),_0x38bdf2['open$'][_0xa5c4eb(0x4be)](_0x478e49['take'](0x1))['subscribe'](()=>{const _0x45293f=_0xa5c4eb;this[_0x45293f(0x3f0)](_0x38bdf2);}),_0x38bdf2[_0xa5c4eb(0x1d9)][_0xa5c4eb(0x4be)](_0x478e49[_0xa5c4eb(0x4a3)](0x1))[_0xa5c4eb(0x42c)](_0x5aed1c=>{const _0x4a528a=_0xa5c4eb;this[_0x4a528a(0x515)][_0x4a528a(0x22a)]('[CollaborationSessionService]',_0x4a528a(0x24a),_0x5aed1c),this[_0x4a528a(0x135)]();});}}catch(_0x1b07c0){this[_0xa5c4eb(0x515)][_0xa5c4eb(0x1df)](_0x1b07c0),this[_0xa5c4eb(0x135)]();}}[_0x16631f(0x3f0)](_0x227999){const _0x34dcef=_0x16631f;this[_0x34dcef(0x515)][_0x34dcef(0x22a)](_0x34dcef(0x363),'socket\x20open.'),_0x227999['send']({'cmd':_0x4421b5[_0x34dcef(0x5a6)]}),this[_0x34dcef(0x3d2)]();}['_listenToOfflineEvent'](){const _0x38f1e5=_0x16631f;window[_0x38f1e5(0x100)](_0x38f1e5(0x21f),()=>this[_0x38f1e5(0x4d5)]());}['_onOffline'](){const _0x1ecae9=_0x16631f;this['_socketReady']=!0x1,this[_0x1ecae9(0x1c5)]=null,this[_0x1ecae9(0x1d0)][_0x1ecae9(0x1dd)](_0x53eb3f[_0x1ecae9(0x106)]),this[_0x1ecae9(0x576)][_0x1ecae9(0x1dd)](null),this[_0x1ecae9(0x111)](),this['_clearHeartbeatTimer']();}[_0x16631f(0x135)](){const _0xdf0e70=_0x16631f;var _0x2f8559;this['_onOffline'](),this[_0xdf0e70(0x2b0)]<((_0x2f8559=this[_0xdf0e70(0x31f)][_0xdf0e70(0xfd)](_0x3f4302))!=null?_0x2f8559:0x3)?(this[_0xdf0e70(0x38b)][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74[_0xdf0e70(0x2a9)][_0xdf0e70(0x53b)],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x227))}),this[_0xdf0e70(0x446)]()):this['_messageService'][_0xdf0e70(0x354)]({'key':'collaboration-session-retry','type':_0x731a74['MessageType']['Error'],'content':this[_0xdf0e70(0x4f0)]['t'](_0xdf0e70(0x3a9))});}[_0x16631f(0x462)](){const _0x238014=_0x16631f,_0x3fde18=()=>{const _0x1cc42a=_0x586f;this[_0x1cc42a(0x40c)]||this[_0x1cc42a(0x1cc)]();},_0x1e3d24=()=>{const _0x45913b=_0x586f;this[_0x45913b(0x40c)]||document[_0x45913b(0x407)]===_0x45913b(0x2bd)||this[_0x45913b(0x1cc)]();};window[_0x238014(0x100)](_0x238014(0xf3),_0x3fde18),document[_0x238014(0x100)](_0x238014(0x44b),_0x1e3d24);}[_0x16631f(0x446)](){const _0x4cceba=_0x16631f;var _0x4d65cf;const _0x1c3079=this['_retryCount'],_0x4a1c68=this['_configService'][_0x4cceba(0xfd)](_0x132856),_0x392e7d=_0x1c3079===0x0?0x0:((_0x4d65cf=_0x4a1c68==null?void 0x0:_0x4a1c68[_0x4cceba(0x3c4)])!=null?_0x4d65cf:0x4e20)*0x2**_0x1c3079;this['_retryConnectingTimer']=window[_0x4cceba(0x50b)](()=>{const _0x188acd=_0x4cceba;clearTimeout(this['_retryConnectingTimer']),this[_0x188acd(0x1b0)]=null,this[_0x188acd(0x439)]();},_0x392e7d),this[_0x4cceba(0x2b0)]+=0x1;}[_0x16631f(0x3cf)](_0x3447c2,_0x394356){const _0xbe2876=_0x16631f,{cmd:_0x5a091e}=_0x394356;_0x5a091e===_0x4421b5[_0xbe2876(0x5a6)]&&!this[_0xbe2876(0x175)]&&(_0x3447c2[_0xbe2876(0x244)]=_0x394356[_0xbe2876(0x140)][_0xbe2876(0x244)],this[_0xbe2876(0x576)]['next'](_0x3447c2),this['_status$'][_0xbe2876(0x1dd)](_0x53eb3f[_0xbe2876(0x173)]),this[_0xbe2876(0x175)]=!0x0,this['_candidateSocket']=null),_0x5a091e===_0x4421b5[_0xbe2876(0x541)]&&this[_0xbe2876(0x111)](),this[_0xbe2876(0x3d2)]();}['_rescheduleHeartbeat'](){const _0x182f6e=_0x16631f;var _0x2bb6d1;this[_0x182f6e(0x55d)](),this['_sendHeartbeatTimer']=window[_0x182f6e(0x50b)](()=>this[_0x182f6e(0x51d)](),(_0x2bb6d1=this[_0x182f6e(0x31f)][_0x182f6e(0xfd)](_0x5308f2))!=null?_0x2bb6d1:0x7530);}['_sendHeartbeat'](){const _0x43ec99=_0x16631f;this[_0x43ec99(0x40c)][_0x43ec99(0x2ba)]({'cmd':_0x4421b5[_0x43ec99(0x541)]}),this[_0x43ec99(0x442)]();}['_waitForHeartbeatResponse'](){const _0x5ab157=_0x16631f;var _0x51cd86;this['_timeoutTimer']=window[_0x5ab157(0x50b)](()=>this[_0x5ab157(0x135)](),(_0x51cd86=this[_0x5ab157(0x31f)][_0x5ab157(0xfd)](_0x24c7e0))!=null?_0x51cd86:0x4e20);}['_clearHeartbeatTimer'](){const _0x47e0cd=_0x16631f;this[_0x47e0cd(0x1b6)]!=null&&(clearTimeout(this[_0x47e0cd(0x1b6)]),this[_0x47e0cd(0x1b6)]=null);}[_0x16631f(0x111)](){const _0x23dd82=_0x16631f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x23dd82(0x37a)]),this[_0x23dd82(0x37a)]=null);}},_0x2728bd[_0x16631f(0x37f)]=_0x379a6c([_0x142a48(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x142a48(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x142a48(0x2,_0x4b60ff[_0x16631f(0x136)]),_0x142a48(0x3,_0x8a1a57[_0x16631f(0xfc)]),_0x142a48(0x4,_0x8a1a57[_0x16631f(0x4f9)]),_0x142a48(0x5,_0x55ce8e)],_0x2728bd[_0x16631f(0x37f)]);const _0x25095a=[];for(let _0x361971=0x0;_0x361971<0x100;++_0x361971)_0x25095a['push']((_0x361971+0x100)[_0x16631f(0x3a4)](0x10)['slice'](0x1));function _0x4d5a6d(_0x5df828,_0x339c01=0x0){return(_0x25095a[_0x5df828[_0x339c01+0x0]]+_0x25095a[_0x5df828[_0x339c01+0x1]]+_0x25095a[_0x5df828[_0x339c01+0x2]]+_0x25095a[_0x5df828[_0x339c01+0x3]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x4]]+_0x25095a[_0x5df828[_0x339c01+0x5]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x6]]+_0x25095a[_0x5df828[_0x339c01+0x7]]+'-'+_0x25095a[_0x5df828[_0x339c01+0x8]]+_0x25095a[_0x5df828[_0x339c01+0x9]]+'-'+_0x25095a[_0x5df828[_0x339c01+0xa]]+_0x25095a[_0x5df828[_0x339c01+0xb]]+_0x25095a[_0x5df828[_0x339c01+0xc]]+_0x25095a[_0x5df828[_0x339c01+0xd]]+_0x25095a[_0x5df828[_0x339c01+0xe]]+_0x25095a[_0x5df828[_0x339c01+0xf]])['toLowerCase']();}let _0x157452;const _0x561594=new Uint8Array(0x10);function _0x3062dd(){const _0x211538=_0x16631f;if(!_0x157452){if(typeof crypto>'u'||!crypto[_0x211538(0x235)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x157452=crypto[_0x211538(0x235)][_0x211538(0x1c6)](crypto);}return _0x157452(_0x561594);}const _0x41f130={'randomUUID':typeof crypto<'u'&&crypto[_0x16631f(0x2d2)]&&crypto[_0x16631f(0x2d2)]['bind'](crypto)};function _0x384178(_0x3e01d2,_0x1fc22c,_0x45cb80){const _0x12c2c8=_0x16631f;if(_0x41f130[_0x12c2c8(0x2d2)]&&!_0x1fc22c&&!_0x3e01d2)return _0x41f130[_0x12c2c8(0x2d2)]();_0x3e01d2=_0x3e01d2||{};const _0x53a584=_0x3e01d2[_0x12c2c8(0x2bf)]||(_0x3e01d2[_0x12c2c8(0x1bb)]||_0x3062dd)();return _0x53a584[0x6]=_0x53a584[0x6]&0xf|0x40,_0x53a584[0x8]=_0x53a584[0x8]&0x3f|0x80,_0x4d5a6d(_0x53a584);}var _0x3caa41=Object[_0x16631f(0x162)],_0x1329fe=Object[_0x16631f(0x57e)],_0x49dd23=(_0x498a70,_0x5b5d2b,_0x2663a5,_0x111e7a)=>{const _0x593ea1=_0x16631f;for(var _0x5cbeda=_0x111e7a>0x1?void 0x0:_0x111e7a?_0x1329fe(_0x5b5d2b,_0x2663a5):_0x5b5d2b,_0x11ae82=_0x498a70[_0x593ea1(0x272)]-0x1,_0x316570;_0x11ae82>=0x0;_0x11ae82--)(_0x316570=_0x498a70[_0x11ae82])&&(_0x5cbeda=(_0x111e7a?_0x316570(_0x5b5d2b,_0x2663a5,_0x5cbeda):_0x316570(_0x5cbeda))||_0x5cbeda);return _0x111e7a&&_0x5cbeda&&_0x3caa41(_0x5b5d2b,_0x2663a5,_0x5cbeda),_0x5cbeda;},_0xbc714d=(_0x4c1977,_0x3f3e39)=>(_0x20aa32,_0x53df81)=>_0x3f3e39(_0x20aa32,_0x53df81,_0x4c1977);let _0xe93339=class{constructor(_0x37b384,_0x3aacae,_0x4db5fe){const _0x22a738=_0x16631f;this[_0x22a738(0x264)]=_0x37b384,this[_0x22a738(0x549)]=_0x3aacae,this['_renderManagerService']=_0x4db5fe;}[_0x16631f(0x561)](_0xcf3781){const _0xaec5b8=_0x16631f;this[_0xaec5b8(0x55b)](_0xcf3781),this['_transformPreviousActiveRange'](_0xcf3781);}[_0x16631f(0x246)](_0x13ab9a){const _0x60bea1=_0x16631f,{unitID:_0x2c03cf}=_0x13ab9a,_0x2ae9f2=this[_0x60bea1(0x103)]['getRenderById'](_0x2c03cf)[_0x60bea1(0x3c2)](_0x473dea[_0x60bea1(0x596)]),{redoCache:_0x3eea26}=_0x2ae9f2['getUndoRedoMutationParamsCache']();if(_0x3eea26[_0x60bea1(0x272)]===0x0)return _0x13ab9a;let _0x170f22=_0x8a1a57[_0x60bea1(0x435)]['deepClone'](_0x13ab9a[_0x60bea1(0x1ce)][0x0]);for(let _0x4113bf=0x0;_0x4113bf<_0x3eea26[_0x60bea1(0x272)];_0x4113bf++){const _0x33ff6f={'id':_0x60bea1(0x1f7),'params':{..._0x3eea26[_0x4113bf]}},_0x2a0934=this[_0x60bea1(0x549)][_0x60bea1(0x56a)](_0x170f22,_0x33ff6f,!0x1);if(_0x27cfd8[_0x60bea1(0x220)](_0x2a0934))throw _0x2a0934[_0x60bea1(0x1df)];_0x170f22=_0x2a0934[_0x60bea1(0x360)];}return{..._0x8a1a57[_0x60bea1(0x435)][_0x60bea1(0x591)](_0x13ab9a),'mutations':[_0x170f22]};}[_0x16631f(0x55b)](_0x5b191c){const _0x17ddf4=_0x16631f,{unitID:_0x12ecd8}=_0x5b191c,_0x2fb15d=this[_0x17ddf4(0x103)][_0x17ddf4(0x530)](_0x12ecd8)['with'](_0x473dea['DocIMEInputManagerService']),{undoCache:_0x595be9,redoCache:_0xb689f9}=_0x2fb15d[_0x17ddf4(0x294)]();if(_0x595be9['length']===0x0||_0xb689f9['length']===0x0)return;const _0x57de5c=[],_0x50d126=[];let _0x12eb9b=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]),_0x214cd5=_0x8a1a57[_0x17ddf4(0x435)][_0x17ddf4(0x591)](_0x5b191c[_0x17ddf4(0x1ce)][0x0]);for(let _0x3b039b=_0x595be9[_0x17ddf4(0x272)]-0x1;_0x3b039b>=0x0;_0x3b039b--){const _0x13d7b5={'id':_0x17ddf4(0x1f7),'params':{..._0x595be9[_0x3b039b]}},_0x3f230a={'id':_0x17ddf4(0x1f7),'params':{..._0xb689f9[_0x3b039b]}},_0xd15d4e=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x12eb9b,_0x13d7b5,!0x1),_0x56eb43=this[_0x17ddf4(0x549)][_0x17ddf4(0x56a)](_0x214cd5,_0x3f230a,!0x1);if(_0x27cfd8[_0x17ddf4(0x220)](_0xd15d4e))throw _0xd15d4e[_0x17ddf4(0x1df)];if(_0x27cfd8[_0x17ddf4(0x220)](_0x56eb43))throw _0x56eb43[_0x17ddf4(0x1df)];_0x57de5c[_0x17ddf4(0x1d7)](_0xd15d4e['m2Prime'][_0x17ddf4(0x238)]),_0x50d126[_0x17ddf4(0x1d7)](_0x56eb43[_0x17ddf4(0x43e)][_0x17ddf4(0x238)]),_0x12eb9b=_0xd15d4e[_0x17ddf4(0x360)],_0x214cd5=_0x56eb43[_0x17ddf4(0x360)];}_0x2fb15d[_0x17ddf4(0x30e)]({'undoCache':_0x57de5c,'redoCache':_0x50d126});}[_0x16631f(0x205)](_0x4885fa){const _0x5b6a2c=_0x16631f,{unitID:_0x334703}=_0x4885fa,_0x1a587=this[_0x5b6a2c(0x103)][_0x5b6a2c(0x530)](_0x334703)[_0x5b6a2c(0x3c2)](_0x473dea[_0x5b6a2c(0x596)]),_0x16e160=_0x1a587[_0x5b6a2c(0x2e0)]();if(_0x16e160==null)return;const _0x21a268=[{'id':_0x5b6a2c(0x1f7),'params':{'unitId':_0x4885fa[_0x5b6a2c(0x477)],'actions':null,'textRanges':[_0x16e160]}}],_0x441b52=this[_0x5b6a2c(0x549)]['transformMutationsWithChangeset'](_0x4885fa,_0x21a268);if(!_0x27cfd8[_0x5b6a2c(0x2f8)](_0x441b52))throw _0x441b52[_0x5b6a2c(0x1df)];const _0x263bac=_0x441b52[_0x5b6a2c(0x43e)][0x0][_0x5b6a2c(0x238)]['textRanges'];Array['isArray'](_0x263bac)&&_0x263bac[_0x5b6a2c(0x272)]&&_0x1a587[_0x5b6a2c(0x514)](_0x263bac[0x0]);}};_0xe93339=_0x49dd23([_0xbc714d(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xbc714d(0x1,_0x27cfd8[_0x16631f(0x1bd)]),_0xbc714d(0x2,_0x20e8c2[_0x16631f(0x3bb)])],_0xe93339);var _0x7df84=Object[_0x16631f(0x162)],_0x66002b=Object[_0x16631f(0x57e)],_0x54f330=(_0x21a0a0,_0x28aca9,_0x381e0a,_0x2c13d2)=>{const _0xee374d=_0x16631f;for(var _0x20a07d=_0x2c13d2>0x1?void 0x0:_0x2c13d2?_0x66002b(_0x28aca9,_0x381e0a):_0x28aca9,_0x10ab09=_0x21a0a0[_0xee374d(0x272)]-0x1,_0x2e16ea;_0x10ab09>=0x0;_0x10ab09--)(_0x2e16ea=_0x21a0a0[_0x10ab09])&&(_0x20a07d=(_0x2c13d2?_0x2e16ea(_0x28aca9,_0x381e0a,_0x20a07d):_0x2e16ea(_0x20a07d))||_0x20a07d);return _0x2c13d2&&_0x20a07d&&_0x7df84(_0x28aca9,_0x381e0a,_0x20a07d),_0x20a07d;},_0x132835=(_0x4a0075,_0x3e1f6e)=>(_0x5c7645,_0x545309)=>_0x3e1f6e(_0x5c7645,_0x545309,_0x4a0075);_0x2728bd[_0x16631f(0x2a1)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x549bf1,_0xcb135b,_0x9e433c,_0xf06632,_0x59cc03){const _0x236a6a=_0x16631f;super(),_0x2a606e(this,'_cachedData',new Map()),_0x2a606e(this,_0x236a6a(0x3cc),new Map()),_0x2a606e(this,_0x236a6a(0x385),!0x1),(this[_0x236a6a(0x31f)]=_0x549bf1,this[_0x236a6a(0x2d3)]=_0xcb135b,this[_0x236a6a(0x20c)]=_0x9e433c,this[_0x236a6a(0x4f0)]=_0xf06632,this[_0x236a6a(0x110)]=_0x59cc03,this[_0x236a6a(0x4d4)]());}[_0x16631f(0x42f)](){const _0x4d79ec=_0x16631f;this[_0x4d79ec(0x385)]=!0x0;}['enableLocalCache'](){const _0x2cd15c=_0x16631f;this[_0x2cd15c(0x385)]=!0x1;}['dispose'](){const _0x246bd8=_0x16631f;this[_0x246bd8(0x324)]()[_0x246bd8(0x566)](()=>super['dispose']());}async['loadOfflineData'](_0x453f3d){const _0x37147e=_0x16631f;return this[_0x37147e(0x385)]?null:this[_0x37147e(0x2d3)][_0x37147e(0x569)](_0x37287b(_0x453f3d));}async[_0x16631f(0x459)](_0x2044b6,_0x54a83a){return!!this['_localStorageService']['setItem'](_0x2044b6,_0x54a83a);}[_0x16631f(0x17f)](_0x4ca546,_0x453aa6,_0x312366,_0xd18109){const _0x2b19dd=_0x16631f,_0x5aee=this['_revisionService'][_0x2b19dd(0x531)](_0x4ca546);this[_0x2b19dd(0x2fa)][_0x2b19dd(0x41f)](_0x4ca546,{'unitID':_0x4ca546,'type':_0x453aa6,'awaitingChangeset':_0x312366,'mutations':_0xd18109,'rev':_0x5aee}),this[_0x2b19dd(0x3cc)]['has'](_0x4ca546)||this[_0x2b19dd(0x114)](_0x4ca546);}[_0x16631f(0x114)](_0x2c73fc){const _0x540358=_0x16631f,_0x4af64e=this['_getSaveTimeout']();_0x4af64e===0x0?this['_saveCache'](_0x2c73fc):this[_0x540358(0x3cc)][_0x540358(0x41f)](_0x2c73fc,setTimeout(()=>this['_saveCache'](_0x2c73fc),_0x4af64e));}[_0x16631f(0x221)](){var _0x34b8a1;return(_0x34b8a1=this['_configService']['getConfig'](_0x3c4516))!=null?_0x34b8a1:0x3e8;}[_0x16631f(0x3d6)](_0xbafabb){const _0x1a342a=_0x16631f,_0x29dfbe=this[_0x1a342a(0x3cc)][_0x1a342a(0x241)](_0xbafabb);return _0x29dfbe!==void 0x0&&window['clearTimeout'](_0x29dfbe),this[_0x1a342a(0x2d3)][_0x1a342a(0x3fc)](_0x37287b(_0xbafabb),this[_0x1a342a(0x2fa)][_0x1a342a(0x241)](_0xbafabb))['then'](()=>this['_saveTaskMap']['delete'](_0xbafabb));}async[_0x16631f(0x324)](){const _0x1ae99d=_0x16631f,_0x55a5f8=[];this[_0x1ae99d(0x3cc)][_0x1ae99d(0x236)]((_0xcb1092,_0x18e639)=>{const _0xdbe03=_0x1ae99d;window[_0xdbe03(0x544)](_0xcb1092),_0x55a5f8[_0xdbe03(0x203)](this[_0xdbe03(0x3d6)](_0x18e639)[_0xdbe03(0x566)](()=>{const _0x46c69a=_0xdbe03;this[_0x46c69a(0x3cc)][_0x46c69a(0x2eb)](_0x18e639);}));}),await Promise[_0x1ae99d(0x166)](_0x55a5f8);}[_0x16631f(0x4d4)](){const _0x12a68f=_0x16631f;this[_0x12a68f(0x14a)](this['_beforeCloseService'][_0x12a68f(0x307)](()=>{const _0x567bd5=_0x12a68f;if(this[_0x567bd5(0x3cc)]['size'])return this[_0x567bd5(0x4f0)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x2728bd[_0x16631f(0x2a1)]=_0x54f330([_0x132835(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x132835(0x1,_0x8a1a57[_0x16631f(0x1da)]),_0x132835(0x2,_0x4b60ff[_0x16631f(0x4c4)]),_0x132835(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x132835(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)]))],_0x2728bd['LocalCacheService']);function _0x37287b(_0x2d37a4){const _0x1831a8=_0x16631f;return _0x1831a8(0x2de)+_0x2d37a4;}var _0x269e96=Object[_0x16631f(0x162)],_0x155e0a=Object[_0x16631f(0x57e)],_0x29b5fa=(_0x406bcf,_0x353f7b,_0x4ff935,_0x1106e2)=>{const _0x5da535=_0x16631f;for(var _0xdc5751=_0x1106e2>0x1?void 0x0:_0x1106e2?_0x155e0a(_0x353f7b,_0x4ff935):_0x353f7b,_0x16d26f=_0x406bcf[_0x5da535(0x272)]-0x1,_0xb5cfd4;_0x16d26f>=0x0;_0x16d26f--)(_0xb5cfd4=_0x406bcf[_0x16d26f])&&(_0xdc5751=(_0x1106e2?_0xb5cfd4(_0x353f7b,_0x4ff935,_0xdc5751):_0xb5cfd4(_0xdc5751))||_0xdc5751);return _0x1106e2&&_0xdc5751&&_0x269e96(_0x353f7b,_0x4ff935,_0xdc5751),_0xdc5751;},_0x149573=(_0x4923e3,_0x1d4b22)=>(_0x1dd7ce,_0x2589e5)=>_0x1d4b22(_0x1dd7ce,_0x2589e5,_0x4923e3);function _0x38b597(_0x3db30d){const _0xbce428=_0x16631f,{unitID:_0x1ac6ba,mutations:_0x293238}=_0x3db30d;return{'unitId':_0x1ac6ba,'subUnitId':_0x293238[0x0][_0xbce428(0x238)][_0xbce428(0x4b1)]};}let _0x1a79c5=class{constructor(_0x47515f,_0x34d703,_0x11bfb7){const _0x121c6f=_0x16631f;this[_0x121c6f(0x264)]=_0x47515f,this[_0x121c6f(0x549)]=_0x34d703,this[_0x121c6f(0x139)]=_0x11bfb7;}[_0x16631f(0x4c2)](_0x1b1c43){const _0x1fc6cb=_0x16631f;var _0x53fe9b,_0x5c33ac,_0x7b94a2,_0x8fece;const _0x108ecc=this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x46f63a[_0x1fc6cb(0x1ff)]),{unitId:_0x4f3ea1,subUnitId:_0x37b9ad}=_0x38b597(_0x1b1c43),_0x55123e=_0x108ecc[_0x1fc6cb(0x44f)](_0x4f3ea1)[_0x1fc6cb(0x2b2)](),_0x3ae9d8=(_0x5c33ac=(_0x53fe9b=this[_0x1fc6cb(0x139)][_0x1fc6cb(0x2cd)](_0x4f3ea1))==null?void 0x0:_0x53fe9b[_0x1fc6cb(0x23a)]())==null?void 0x0:_0x5c33ac[_0x1fc6cb(0x3fb)]();if(_0x55123e[_0x1fc6cb(0x272)]===0x0||!_0x4f3ea1||!_0x37b9ad)return;const _0xd2e867=[{'id':_0x46f63a[_0x1fc6cb(0x51a)]['id'],'params':{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x8a1a57[_0x1fc6cb(0x435)][_0x1fc6cb(0x591)](_0x55123e)}}],_0x46a326=this['_transformService'][_0x1fc6cb(0x1b3)](_0x1b1c43,_0xd2e867);if(!_0x27cfd8[_0x1fc6cb(0x2f8)](_0x46a326))throw _0x46a326[_0x1fc6cb(0x1df)];const _0x11f59e=(_0x8fece=(_0x7b94a2=_0x46a326[_0x1fc6cb(0x43e)][0x0])==null?void 0x0:_0x7b94a2['params'])==null?void 0x0:_0x8fece[_0x1fc6cb(0x3f7)];if(Array[_0x1fc6cb(0x2e1)](_0x11f59e)&&_0x11f59e[_0x1fc6cb(0x272)]){if(_0x11f59e[_0x1fc6cb(0x272)]===_0xd2e867[0x0][_0x1fc6cb(0x238)]['selections'][_0x1fc6cb(0x272)]&&_0x11f59e[_0x1fc6cb(0x50d)]((_0x4c2453,_0x39f7cc)=>_0x8a1a57['Rectangle']['equals'](_0x4c2453['range'],_0xd2e867[0x0][_0x1fc6cb(0x238)][_0x1fc6cb(0x3f7)][_0x39f7cc]['range'])))return;this[_0x1fc6cb(0x264)][_0x1fc6cb(0x241)](_0x8a1a57['ICommandService'])[_0x1fc6cb(0x564)](_0x46f63a[_0x1fc6cb(0x51a)]['id'],{'unitId':_0x4f3ea1,'subUnitId':_0x3ae9d8,'selections':_0x11f59e});}}};_0x1a79c5=_0x29b5fa([_0x149573(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x149573(0x1,_0x27cfd8['ITransformService']),_0x149573(0x2,_0x8a1a57['IUniverInstanceService'])],_0x1a79c5);const _0x50fb0f=_0x8a1a57['createIdentifier'](_0x16631f(0x39e));var _0x25ae3c=(_0x4e69f6=>(_0x4e69f6[_0x4e69f6[_0x16631f(0x2fb)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4e69f6[_0x4e69f6[_0x16631f(0x268)]=0x1]=_0x16631f(0x268),_0x4e69f6))(_0x25ae3c||{});const _0x2aacb6=0x7530,_0x496d62=_0x16631f(0x24c);class _0x4874df extends _0x8a1a57['Disposable']{constructor(){const _0xf1487a=_0x16631f;super(),_0x2a606e(this,'_id',_0x8a1a57[_0xf1487a(0x435)][_0xf1487a(0x293)]()),_0x2a606e(this,_0xf1487a(0x40e),new Set()),_0x2a606e(this,_0xf1487a(0xf7),new Map()),_0x2a606e(this,_0xf1487a(0x36d),null),_0x2a606e(this,'_clearOtherTimers',new Map()),_0x2a606e(this,_0xf1487a(0x1bf),new Map()),this[_0xf1487a(0x36a)]();}[_0x16631f(0x4a7)](){const _0xc457a7=_0x16631f;super['dispose'](),this['_clearOtherTimers'][_0xc457a7(0x236)]((_0x6525a9,_0x4875d8)=>this['_removeClearOtherTimer'](_0x4875d8)),this[_0xc457a7(0x36d)]&&window[_0xc457a7(0x41d)](this['_heartbeatTimer']);}[_0x16631f(0x159)](_0x5d06a9){const _0x264a23=_0x16631f;return this[_0x264a23(0x4ca)](_0x5d06a9)['pipe'](_0x933215[_0x264a23(0x322)]());}[_0x16631f(0x174)](_0x5ecf01){const _0x4d29b5=_0x16631f;this['_selfUnitIDs'][_0x4d29b5(0x3f3)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4d29b5(0x1cb)](_0x5ecf01),this['_send']({'type':0x0,'memberID':this[_0x4d29b5(0x557)],'unitIDs':[_0x5ecf01],'isForwarded':!0x1});}['disposeUnit'](_0x206ed9){const _0x178d5c=_0x16631f;this[_0x178d5c(0x40e)][_0x178d5c(0x2eb)](_0x206ed9),this[_0x178d5c(0x40e)]['size']===0x0&&this[_0x178d5c(0x36d)]&&window[_0x178d5c(0x41d)](this[_0x178d5c(0x36d)]);}[_0x16631f(0x36a)](){const _0x2170eb=_0x16631f;this[_0x2170eb(0x14a)](_0x8a1a57['toDisposable'](_0x933215[_0x2170eb(0x362)](window,'storage')[_0x2170eb(0x42c)](_0x315299=>{const _0x3ccccf=_0x2170eb;if(_0x315299[_0x3ccccf(0x3a2)]!==_0x496d62||!_0x315299[_0x3ccccf(0xfa)])return;const _0x762cbe=JSON[_0x3ccccf(0x4c5)](_0x315299['newValue']);this[_0x3ccccf(0x332)](_0x762cbe);}))),window[_0x2170eb(0x100)]('unload',()=>this[_0x2170eb(0x1d6)]({'type':0x1,'memberID':this[_0x2170eb(0x557)],'unitIDs':Array[_0x2170eb(0x1cf)](this[_0x2170eb(0x40e)])}));}[_0x16631f(0x332)](_0x97e2e5){const _0x4a62f7=_0x16631f;switch(_0x97e2e5[_0x4a62f7(0x49b)]){case 0x0:this['_handleJoinEvent'](_0x97e2e5);break;case 0x1:this[_0x4a62f7(0x2c7)](_0x97e2e5);break;case 0x2:this[_0x4a62f7(0x47d)](_0x97e2e5);break;}}['_handleJoinEvent'](_0x3535e8){const _0x5070da=_0x16631f,{unitIDs:_0x51205b,memberID:_0x3cc1d5,isForwarded:_0x570444}=_0x3535e8;_0x51205b[_0x5070da(0x236)](_0x16b8fa=>{const _0x57ec56=_0x5070da;if(!_0x570444&&this[_0x57ec56(0xf7)]['has'](_0x16b8fa)&&this['_ensureSubject'](_0x16b8fa)[_0x57ec56(0x1dd)](0x1),!this['_unitOnClients']['has'](_0x16b8fa)||!this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)['has'](_0x3cc1d5)){const _0x4a10bd=this[_0x57ec56(0xf7)][_0x57ec56(0x241)](_0x16b8fa)||new Set();_0x4a10bd[_0x57ec56(0x1cb)](_0x3cc1d5),this[_0x57ec56(0xf7)][_0x57ec56(0x41f)](_0x16b8fa,_0x4a10bd),this['_scheduleClearOtherTimer'](_0x3cc1d5);}}),_0x570444||this[_0x5070da(0x1d6)]({'type':0x0,'memberID':this[_0x5070da(0x557)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x16631f(0x26a)](_0x42624f){const _0x1062f0=_0x16631f;this['_removeClearOtherTimer'](_0x42624f);const _0x112652=window[_0x1062f0(0x50b)](()=>{const _0x23f39d=_0x1062f0;this[_0x23f39d(0xf7)][_0x23f39d(0x236)](_0x3ceb35=>{const _0x3d088d=_0x23f39d;_0x3ceb35[_0x3d088d(0x2eb)](_0x42624f);});},_0x2aacb6*0x2);this[_0x1062f0(0x590)][_0x1062f0(0x41f)](_0x42624f,_0x112652);}[_0x16631f(0x32b)](_0xf1afbf){const _0x165877=_0x16631f;if(this[_0x165877(0x590)][_0x165877(0x295)](_0xf1afbf)){const _0x479d17=this[_0x165877(0x590)][_0x165877(0x241)](_0xf1afbf);_0x479d17&&window['clearTimeout'](_0x479d17),this[_0x165877(0x590)][_0x165877(0x41f)](_0xf1afbf,null);}}[_0x16631f(0x2c7)](_0x394855){const _0x2a1f0f=_0x16631f,{memberID:_0x28ac19,unitIDs:_0x448b35}=_0x394855;_0x448b35['forEach'](_0x2e6e1c=>{const _0x43e73b=_0x586f;var _0x114f98;const _0x436dce=this[_0x43e73b(0xf7)]['get'](_0x2e6e1c);_0x436dce&&(_0x436dce[_0x43e73b(0x2eb)](_0x28ac19),(_0x114f98=this['_ensureSubject'](_0x2e6e1c))==null||_0x114f98[_0x43e73b(0x1dd)](_0x436dce['size']===0x0?0x0:0x1));}),this[_0x2a1f0f(0x32b)](_0x28ac19);}['_handleHeartbeatEvent'](_0x27146d){const _0x2de306=_0x16631f;this[_0x2de306(0x26a)](_0x27146d[_0x2de306(0x244)]);}['_send'](_0x5ecd85){const _0x492e25=_0x16631f;localStorage[_0x492e25(0x3fc)](_0x496d62,JSON[_0x492e25(0x338)](_0x5ecd85));}[_0x16631f(0x215)](){const _0x4cc87c=_0x16631f;this[_0x4cc87c(0x36d)]=window[_0x4cc87c(0x216)](()=>{const _0x69b5d2=_0x4cc87c;this[_0x69b5d2(0x1d6)]({'type':0x2,'memberID':this[_0x69b5d2(0x557)]});},_0x2aacb6);}[_0x16631f(0x4ca)](_0x416c91){const _0x5ddff4=_0x16631f;return this[_0x5ddff4(0x1bf)][_0x5ddff4(0x295)](_0x416c91)||this[_0x5ddff4(0x1bf)][_0x5ddff4(0x41f)](_0x416c91,new _0x933215[(_0x5ddff4(0x1fd))](0x0)),this[_0x5ddff4(0x1bf)]['get'](_0x416c91);}}var _0x225482=Object[_0x16631f(0x162)],_0x12ba65=Object['getOwnPropertyDescriptor'],_0x29a0ae=(_0x426c0d,_0x96e5a9,_0x3ea010,_0x62f863)=>{const _0x51d4a6=_0x16631f;for(var _0x34ff5c=_0x62f863>0x1?void 0x0:_0x62f863?_0x12ba65(_0x96e5a9,_0x3ea010):_0x96e5a9,_0x1e6663=_0x426c0d[_0x51d4a6(0x272)]-0x1,_0x32fed1;_0x1e6663>=0x0;_0x1e6663--)(_0x32fed1=_0x426c0d[_0x1e6663])&&(_0x34ff5c=(_0x62f863?_0x32fed1(_0x96e5a9,_0x3ea010,_0x34ff5c):_0x32fed1(_0x34ff5c))||_0x34ff5c);return _0x62f863&&_0x34ff5c&&_0x225482(_0x96e5a9,_0x3ea010,_0x34ff5c),_0x34ff5c;},_0x394f1a=(_0xf39daa,_0x4360a5)=>(_0x208058,_0x264aab)=>_0x4360a5(_0x208058,_0x264aab,_0xf39daa);let _0x21b12b=class{constructor(_0x3733a2,_0x52fe89,_0x4456da){const _0x39ec99=_0x16631f;this[_0x39ec99(0x264)]=_0x3733a2,this['_transformService']=_0x52fe89,this[_0x39ec99(0x305)]=_0x4456da;}['transformStateCache'](_0x3813bf){const _0xd18ce=_0x16631f;this[_0xd18ce(0x371)](_0x3813bf);}[_0x16631f(0x246)](_0x250fc2){const _0x318527=_0x16631f,{unitID:_0x3f703b}=_0x250fc2,{collaboration:_0x18eec7}=this['_docStateChangeManagerService'][_0x318527(0x321)](_0x3f703b);if(_0x18eec7[_0x318527(0x272)]===0x0)return _0x250fc2;let _0x24c97e=_0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2[_0x318527(0x1ce)][0x0]);for(let _0x338c20=0x0;_0x338c20<_0x18eec7[_0x318527(0x272)];_0x338c20++){const _0x2678cf={'id':_0x318527(0x1f7),'params':{'unitId':_0x18eec7[_0x338c20][_0x318527(0x151)],..._0x18eec7[_0x338c20][_0x318527(0x301)]}},_0x451de4=this[_0x318527(0x549)]['transformMutation'](_0x24c97e,_0x2678cf,!0x1);if(_0x27cfd8[_0x318527(0x220)](_0x451de4))throw _0x451de4['error'];_0x24c97e=_0x451de4['m1Prime'];}return{..._0x8a1a57[_0x318527(0x435)][_0x318527(0x591)](_0x250fc2),'mutations':[_0x24c97e]};}[_0x16631f(0x371)](_0x539461){const _0x386359=_0x16631f,{unitID:_0xcd85bc}=_0x539461,{history:_0x155a18,collaboration:_0x4c2222}=this['_docStateChangeManagerService'][_0x386359(0x321)](_0xcd85bc);if(_0x155a18[_0x386359(0x272)]===0x0&&_0x4c2222[_0x386359(0x272)]===0x0)return;const _0x171a72=[],_0x5a4f02=[];let _0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0x332399=_0x155a18[_0x386359(0x272)]-0x1;_0x332399>=0x0;_0x332399--){const _0x317c37={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x141)]}},_0x383a47={'id':_0x386359(0x1f7),'params':{'unitId':_0x155a18[_0x332399][_0x386359(0x151)],..._0x155a18[_0x332399][_0x386359(0x301)]}},_0x3ec20d=this[_0x386359(0x549)]['transformMutation'](_0x6ebd42,_0x317c37,!0x1),_0x46e383=this[_0x386359(0x549)]['transformMutation'](_0x3893e3,_0x383a47,!0x1);if(_0x27cfd8[_0x386359(0x220)](_0x3ec20d))throw _0x3ec20d['error'];if(_0x27cfd8[_0x386359(0x220)](_0x46e383))throw _0x46e383[_0x386359(0x1df)];_0x171a72['unshift']({..._0x155a18[_0x332399],'undoState':_0x3ec20d['m2Prime']['params'],'redoState':_0x46e383[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x3ec20d[_0x386359(0x360)],_0x3893e3=_0x46e383[_0x386359(0x360)];}_0x6ebd42=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]),_0x3893e3=_0x8a1a57[_0x386359(0x435)][_0x386359(0x591)](_0x539461[_0x386359(0x1ce)][0x0]);for(let _0xfe6220=_0x4c2222['length']-0x1;_0xfe6220>=0x0;_0xfe6220--){const _0x3aeb0a={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220]['undoState']}},_0x3e1b5e={'id':_0x386359(0x1f7),'params':{'unitId':_0x4c2222[_0xfe6220][_0x386359(0x151)],..._0x4c2222[_0xfe6220][_0x386359(0x301)]}},_0x10e561=this[_0x386359(0x549)][_0x386359(0x56a)](_0x6ebd42,_0x3aeb0a,!0x1),_0x4c62d2=this[_0x386359(0x549)][_0x386359(0x56a)](_0x3893e3,_0x3e1b5e,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x10e561))throw _0x10e561['error'];if(_0x27cfd8[_0x386359(0x220)](_0x4c62d2))throw _0x4c62d2[_0x386359(0x1df)];_0x5a4f02[_0x386359(0x1d7)]({..._0x4c2222[_0xfe6220],'undoState':_0x10e561['m2Prime'][_0x386359(0x238)],'redoState':_0x4c62d2[_0x386359(0x43e)][_0x386359(0x238)]}),_0x6ebd42=_0x10e561[_0x386359(0x360)],_0x3893e3=_0x4c62d2[_0x386359(0x360)];}this['_docStateChangeManagerService'][_0x386359(0x11d)](_0xcd85bc,{'history':_0x171a72,'collaboration':_0x5a4f02});}};_0x21b12b=_0x29a0ae([_0x394f1a(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x394f1a(0x1,_0x27cfd8['ITransformService']),_0x394f1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)]))],_0x21b12b);function _0x35203a(_0xc0b538){const _0x3a5c6f=_0x16631f;let _0x524475='';for(const _0x5c9f17 of _0xc0b538){const {startOffset:_0x43d52d,endOffset:_0x29b907,isActive:_0x43ea32,rangeType:_0x350f68,segmentId:_0x49ca6d,segmentPage:_0x452c0d}=_0x5c9f17;_0x524475[_0x3a5c6f(0x272)]&&(_0x524475+=','),_0x524475+=_0x43d52d+':'+_0x29b907+':'+(_0x43ea32?'1':'0')+':'+_0x350f68+':'+_0x49ca6d+':'+_0x452c0d;}return _0x524475;}function _0x40a456(_0x2a1293){const _0x443c68=_0x16631f,_0x2dc8f9=_0x2a1293[_0x443c68(0x29a)](','),_0x347509=[];for(const _0x29e425 of _0x2dc8f9){const [_0x5cd7ea,_0x2904af,_0x158c73,_0x393649,_0x55bff3,_0x5f201b]=_0x29e425[_0x443c68(0x29a)](':');_0x347509[_0x443c68(0x203)]({'startOffset':Number(_0x5cd7ea),'endOffset':Number(_0x2904af),'collapsed':_0x5cd7ea===_0x2904af,'isActive':_0x158c73==='1','rangeType':_0x393649===_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]?_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x365)]:_0x8a1a57['DOC_RANGE_TYPE'][_0x443c68(0x30c)],'segmentId':typeof _0x55bff3=='string'?String(_0x55bff3):'','segmentPage':Number(_0x5f201b!=null?_0x5f201b:-0x1)});}return _0x347509[_0x443c68(0x4f8)](_0x2fed5a=>_0x2fed5a['isActive'])||(_0x347509[0x0][_0x443c68(0x3dc)]=!0x0),_0x347509;}class _0xc8790a extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x27de8d=_0x16631f;super(...arguments),_0x2a606e(this,_0x27de8d(0x5a7),new _0x933215[(_0x27de8d(0x1fd))](null)),_0x2a606e(this,_0x27de8d(0x22f),this[_0x27de8d(0x5a7)]['asObservable']());}[_0x16631f(0x534)](_0x4ce328){const _0x163ed3=_0x16631f,{unitID:_0x43f95c,memberID:_0x4533b9,textRanges:_0x22da24}=_0x4ce328,_0x40159b=_0x35203a(_0x22da24);if(_0x40159b==='')return;const _0xac8c13={'unitID':_0x43f95c,'memberID':_0x4533b9,'selection':_0x40159b};this[_0x163ed3(0x5a7)]['next'](_0xac8c13);}}var _0xc96faf=Object['defineProperty'],_0x462715=Object[_0x16631f(0x57e)],_0x46ba26=(_0x2a7ce0,_0x1951a4,_0x52e3ec,_0x584dc4)=>{for(var _0x2f59b0=_0x584dc4>0x1?void 0x0:_0x584dc4?_0x462715(_0x1951a4,_0x52e3ec):_0x1951a4,_0xbc6a30=_0x2a7ce0['length']-0x1,_0x8c35bc;_0xbc6a30>=0x0;_0xbc6a30--)(_0x8c35bc=_0x2a7ce0[_0xbc6a30])&&(_0x2f59b0=(_0x584dc4?_0x8c35bc(_0x1951a4,_0x52e3ec,_0x2f59b0):_0x8c35bc(_0x2f59b0))||_0x2f59b0);return _0x584dc4&&_0x2f59b0&&_0xc96faf(_0x1951a4,_0x52e3ec,_0x2f59b0),_0x2f59b0;},_0x5b9340=(_0x5b641c,_0x2b2740)=>(_0x3a1bf3,_0xf1a4c1)=>_0x2b2740(_0x3a1bf3,_0xf1a4c1,_0x5b641c);let _0x3110cc=class{constructor(_0x1b975e,_0x1df503){this['_injector']=_0x1b975e,this['_transformService']=_0x1df503;}['transformSelections'](_0xd4c0cb){const _0x4f9019=_0x16631f;var _0x46bba4;const _0x5d74e5=this[_0x4f9019(0x264)][_0x4f9019(0x241)](_0x1d9e38[_0x4f9019(0x56e)]),_0x415597=(_0x46bba4=_0x5d74e5[_0x4f9019(0x494)]())!=null?_0x46bba4:[];if(_0x415597[_0x4f9019(0x272)]===0x0)return;const _0x3d88f2=_0xd4c0cb[_0x4f9019(0x477)],_0x37235e=[{'id':_0x4f9019(0x1f7),'params':{'unitId':_0x3d88f2,'actions':null,'textRanges':_0x415597}}],_0x1cd293=this[_0x4f9019(0x549)][_0x4f9019(0x1b3)](_0xd4c0cb,_0x37235e);if(!_0x27cfd8['isTransformMutationsWithChangesetSuccess'](_0x1cd293))throw _0x1cd293[_0x4f9019(0x1df)];const _0x28e1f0=_0x1cd293[_0x4f9019(0x43e)][0x0][_0x4f9019(0x238)][_0x4f9019(0x59e)];Array['isArray'](_0x28e1f0)&&_0x28e1f0[_0x4f9019(0x272)]&&_0x5d74e5[_0x4f9019(0x401)](_0x28e1f0,{'unitId':_0x3d88f2,'subUnitId':_0x3d88f2},!0x1);}};_0x3110cc=_0x46ba26([_0x5b9340(0x0,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x5b9340(0x1,_0x27cfd8[_0x16631f(0x1bd)])],_0x3110cc);const _0x512666=new Set([_0x46f63a[_0x16631f(0x551)]['id']]);function _0x3db108(_0x3eedab,_0x2d51dc,_0x11a247,_0x373b2f,_0x312392){const _0x2c2ece=_0x16631f;var _0x408448,_0x11edf6,_0x2cc1bb,_0x52d0ba;const _0x35ded9=[];for(const _0x436923 of _0x3eedab)if(_0x512666[_0x2c2ece(0x295)](_0x436923['id'])){if(_0x35ded9[_0x2c2ece(0x272)]>0x0)break;_0x35ded9[_0x2c2ece(0x203)](_0x436923);break;}else _0x35ded9[_0x2c2ece(0x203)](_0x436923);const _0x458301=(_0x11edf6=(_0x408448=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x408448[_0x2c2ece(0x17d)])!=null?_0x11edf6:_0x2c2ece(0x297),_0x110bdf=(_0x52d0ba=(_0x2cc1bb=_0x312392[_0x2c2ece(0x223)]())==null?void 0x0:_0x2cc1bb[_0x2c2ece(0x244)])!=null?_0x52d0ba:'unknown';return{'changeset':{'unitID':_0x2d51dc,'type':_0x27cfd8[_0x2c2ece(0x2d7)](_0x11a247[_0x2c2ece(0x4cf)](_0x2d51dc)),'baseRev':_0x373b2f[_0x2c2ece(0x531)](_0x2d51dc),'revision':0x0,'userID':_0x458301,'memberID':_0x110bdf,'mutations':_0x35ded9},'pendingMutations':_0x3eedab[_0x2c2ece(0x38d)](_0x35ded9['length'])};}function _0x583b8f(_0x2435d2,_0x419870,_0x4d1197,_0x4be11e,_0x2abd0a){const _0x58824f=_0x16631f;var _0x1b6272,_0x577a1d,_0x2a55e8,_0x34d0e1;const _0x1620f2=[_0x2435d2['reduce']((_0x16251b,_0x21f287)=>{const _0x166dda=_0x586f;var _0x336701;const {id:_0x464bf2}=_0x16251b,{id:_0x25d33d,type:_0x168bd9}=_0x21f287,_0x5ba114=(_0x336701=_0x16251b[_0x166dda(0x238)])!=null?_0x336701:{'actions':null},_0xff854f=_0x21f287[_0x166dda(0x238)];if(_0x464bf2&&_0x464bf2!==_0x25d33d)throw new Error(_0x166dda(0x2bb)+_0x464bf2+_0x166dda(0x2b1)+_0x25d33d+'.');return{..._0x16251b,'id':_0x25d33d,'type':_0x168bd9,'params':{'unitId':_0xff854f[_0x166dda(0x151)],'textRanges':_0xff854f[_0x166dda(0x59e)],'actions':_0x8a1a57[_0x166dda(0x319)][_0x166dda(0x2f6)](_0x5ba114[_0x166dda(0x112)],_0xff854f[_0x166dda(0x112)])}};},{})],_0x207e73=(_0x577a1d=(_0x1b6272=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x1b6272['userID'])!=null?_0x577a1d:_0x58824f(0x297),_0x5dfb11=(_0x34d0e1=(_0x2a55e8=_0x2abd0a[_0x58824f(0x223)]())==null?void 0x0:_0x2a55e8[_0x58824f(0x244)])!=null?_0x34d0e1:_0x58824f(0x297);return{'changeset':{'unitID':_0x419870,'type':_0x27cfd8[_0x58824f(0x2d7)](_0x4d1197[_0x58824f(0x4cf)](_0x419870)),'baseRev':_0x4be11e[_0x58824f(0x531)](_0x419870),'revision':0x0,'userID':_0x207e73,'memberID':_0x5dfb11,'mutations':_0x1620f2},'pendingMutations':[]};}function _0x53ed26(_0x3e70ae,_0x511af6){const _0x4b0632=_0x16631f,_0x248063=new _0x933215[(_0x4b0632(0x441))](0x1);return setTimeout(()=>_0x248063[_0x4b0632(0x1dd)](_0x511af6),_0x3e70ae),_0x248063['asObservable']()[_0x4b0632(0x4be)](_0x933215[_0x4b0632(0x4a3)](0x1));}const _0x25922c={'id':_0x46f63a[_0x16631f(0x13d)]['id'],'type':_0x8a1a57[_0x16631f(0x39c)][_0x16631f(0x2a7)],'params':{}};var _0x242bfb=Object['defineProperty'],_0x4af605=Object['getOwnPropertyDescriptor'],_0x129d6d=(_0x2888e2,_0x1c2a35,_0xd738d7,_0x48c210)=>{for(var _0x3c180d=_0x48c210>0x1?void 0x0:_0x48c210?_0x4af605(_0x1c2a35,_0xd738d7):_0x1c2a35,_0xc03a26=_0x2888e2['length']-0x1,_0x23fcaf;_0xc03a26>=0x0;_0xc03a26--)(_0x23fcaf=_0x2888e2[_0xc03a26])&&(_0x3c180d=(_0x48c210?_0x23fcaf(_0x1c2a35,_0xd738d7,_0x3c180d):_0x23fcaf(_0x3c180d))||_0x3c180d);return _0x48c210&&_0x3c180d&&_0x242bfb(_0x1c2a35,_0xd738d7,_0x3c180d),_0x3c180d;},_0x39a9b3=(_0x1cbe05,_0x4378b9)=>(_0x4a0eef,_0x404174)=>_0x4378b9(_0x4a0eef,_0x404174,_0x1cbe05),_0x5d61dc=(_0xe39048=>(_0xe39048[_0x16631f(0x3f1)]='not_collab',_0xe39048[_0x16631f(0x48b)]=_0x16631f(0x361),_0xe39048[_0x16631f(0x487)]=_0x16631f(0x3a0),_0xe39048[_0x16631f(0x1f0)]=_0x16631f(0x489),_0xe39048[_0x16631f(0x5ae)]='awaiting_with_pending',_0xe39048[_0x16631f(0x3f4)]=_0x16631f(0x51f),_0xe39048[_0x16631f(0x3a3)]='conflict',_0xe39048[_0x16631f(0x106)]=_0x16631f(0x21f),_0xe39048))(_0x5d61dc||{});const _0x584d78=0xea60;class _0x2c451e{constructor(_0x920a10,_0x4c94da,_0x45faa5,_0x251b10,_0x234ade,_0x1479bd,_0x3fcb07,_0x971951,_0x730532){const _0x1abc39=_0x16631f;_0x2a606e(this,'_awaitingChangeset',null),_0x2a606e(this,_0x1abc39(0x460),[]),(this[_0x1abc39(0x477)]=_0x920a10,this[_0x1abc39(0x49b)]=_0x4c94da,this['_handler']=_0x234ade,this[_0x1abc39(0x475)]=_0x1479bd,this[_0x1abc39(0x313)]=_0x3fcb07,this['_revisionService']=_0x971951,this[_0x1abc39(0x48e)]=_0x730532,this['_awaitingChangeset']=_0x45faa5,this[_0x1abc39(0x460)]=_0x251b10);}['_checkMissing'](_0x748d4b){const _0x4cc004=_0x16631f,_0x1d322f=this['_revisionService'][_0x4cc004(0x531)](this[_0x4cc004(0x477)]);return _0x748d4b[_0x4cc004(0x5a1)]>_0x1d322f+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1d322f,'to':_0x748d4b[_0x4cc004(0x5a1)]-0x1}),!0x0):!0x1;}[_0x16631f(0x16c)](_0x551e40){const _0x2fbddf=_0x16631f;this[_0x2fbddf(0x313)][_0x2fbddf(0x45d)](this[_0x2fbddf(0x477)],_0x551e40);}[_0x16631f(0x2c8)](_0x3ef039){const _0x14d8bc=_0x16631f;var _0x2c91ae,_0x9ef1d8;(_0x9ef1d8=(_0x2c91ae=this[_0x14d8bc(0x25d)])[_0x14d8bc(0x58f)])==null||_0x9ef1d8['call'](_0x2c91ae,_0x3ef039);}[_0x16631f(0x30d)](_0x1f554b){var _0x494226,_0x19d9ba;return(_0x19d9ba=(_0x494226=this['_handler'])['onTransformIME'])==null?void 0x0:_0x19d9ba['call'](_0x494226,_0x1f554b);}['_transformStateCache'](_0x423ed2){const _0x20d709=_0x16631f;var _0x45e0ef,_0x5d0102;return(_0x5d0102=(_0x45e0ef=this[_0x20d709(0x25d)])[_0x20d709(0x2e6)])==null?void 0x0:_0x5d0102[_0x20d709(0x3b4)](_0x45e0ef,_0x423ed2);}[_0x16631f(0x210)](_0x48aaae){const _0x2baa7f=_0x16631f;var _0x10a3d1,_0x201a51,_0x20690d;return(_0x20690d=(_0x201a51=(_0x10a3d1=this[_0x2baa7f(0x25d)])[_0x2baa7f(0x3f9)])==null?void 0x0:_0x201a51[_0x2baa7f(0x3b4)](_0x10a3d1,_0x48aaae))!=null?_0x20690d:_0x48aaae;}[_0x16631f(0x3e3)](_0x10e02e){const _0x50e03d=_0x16631f;var _0x251222,_0x4ee8cc,_0xa1884b;return(_0xa1884b=(_0x4ee8cc=(_0x251222=this['_handler'])[_0x50e03d(0x44d)])==null?void 0x0:_0x4ee8cc['call'](_0x251222,_0x10e02e))!=null?_0xa1884b:_0x10e02e;}[_0x16631f(0x47f)](_0x42e4e5){const _0x288d57=_0x16631f;var _0x499b7a,_0x2a6829;if(this[_0x288d57(0x49b)]===_0x4a6b81[_0x288d57(0x327)]){const {unitID:_0x45c57f,mutations:_0x4c0559,memberID:_0x303ec6}=_0x42e4e5,_0x1509a0=_0x4c0559[0x0][_0x288d57(0x238)]['textRanges'];Array['isArray'](_0x1509a0)&&_0x1509a0[_0x288d57(0x272)]>0x0&&((_0x2a6829=(_0x499b7a=this[_0x288d57(0x25d)])[_0x288d57(0x1f5)])==null||_0x2a6829[_0x288d57(0x3b4)](_0x499b7a,{'unitID':_0x45c57f,'memberID':_0x303ec6,'textRanges':_0x1509a0}));}}[_0x16631f(0x1a2)](){const _0x4de7c3=_0x16631f;this['_localCacheService']['updateOfflineData'](this[_0x4de7c3(0x477)],this['type'],this[_0x4de7c3(0x41c)],this['_pendingMutations']);}[_0x16631f(0x189)](){const _0x957b5e=_0x16631f;return this[_0x957b5e(0x110)]['getCurrentRevOfUnit'](this[_0x957b5e(0x477)]);}[_0x16631f(0x265)](){const _0x41db97=_0x16631f;this['_revisionService'][_0x41db97(0x398)](this['unitID']);}['_executeRemoteChangeset'](_0x4736cd){const _0x214a8b=_0x16631f;var _0xbb8ed9;let _0x5f36bc=this[_0x214a8b(0x210)](_0x4736cd);_0x5f36bc=this['_transformRemoteChangesetByStateCache'](_0x5f36bc);const _0x35a11d=_0x8a1a57[_0x214a8b(0x582)](_0x5f36bc[_0x214a8b(0x1ce)],this[_0x214a8b(0x475)],{'fromCollab':!0x0});if(!_0x35a11d[_0x214a8b(0x36b)])throw _0x35a11d[_0x214a8b(0x1df)]instanceof Error?_0x35a11d[_0x214a8b(0x1df)]:new Error((_0xbb8ed9=_0x35a11d[_0x214a8b(0x1df)])!=null?_0xbb8ed9:_0x214a8b(0x404));this[_0x214a8b(0x30d)](_0x5f36bc),this[_0x214a8b(0x129)](_0x5f36bc),this['_transformUndoredo'](_0x4736cd),this[_0x214a8b(0x2c8)](_0x5f36bc),this['_syncEditingCollabCursor'](_0x5f36bc),this['_incrementRevisionNumber']();}}let _0x3bff71=class extends _0x2c451e{constructor(_0x5ebe11,_0x2918ea,_0x509906,_0x5337be,_0x3b97ab,_0xf0b76d,_0x15beb7,_0x512141,_0x36533c,_0x9fd36){const _0x9d2789=_0x16631f;super(_0x5ebe11,_0x2918ea,null,[],_0x509906,_0x512141,_0x15beb7,_0x5337be,_0x3b97ab),_0x2a606e(this,_0x9d2789(0x536),_0x9d2789(0x361)),(this[_0x9d2789(0x264)]=_0xf0b76d,this['_logService']=_0x36533c,this[_0x9d2789(0x549)]=_0x9fd36);}[_0x16631f(0x337)](_0x3aad4b){const _0x281c44=_0x16631f,_0x313a55=this['_injector'][_0x281c44(0x28c)](_0x47565d,this[_0x281c44(0x477)],this[_0x281c44(0x49b)],[_0x3aad4b],this[_0x281c44(0x25d)]);return _0x313a55[_0x281c44(0x586)](),_0x313a55[_0x281c44(0x1a2)](),_0x313a55;}['onRemoteChangeset'](_0x488044){const _0x312c4e=_0x16631f;if(this['_checkMissing'](_0x488044))return this[_0x312c4e(0x264)][_0x312c4e(0x28c)](_0x1dc8e0,this[_0x312c4e(0x477)],this['type'],null,[],null,[_0x488044],this['_handler']);try{const _0x4f356f=this['_transformService'][_0x312c4e(0x1b3)](_0x488044,[_0x25922c]);if(_0x27cfd8[_0x312c4e(0x2f8)](_0x4f356f)){const {c1Prime:_0x23e411}=_0x4f356f;return this[_0x312c4e(0x4e7)](_0x23e411),this;}throw _0x4f356f[_0x312c4e(0x1df)];}catch(_0x42bdfc){return this[_0x312c4e(0x515)][_0x312c4e(0x1df)](_0x42bdfc),this['_onConflict'](!0x1);}}['_onConflict'](_0x217404){const _0x28c5ef=_0x16631f;return this[_0x28c5ef(0x264)][_0x28c5ef(0x28c)](_0x4bd0b3,this[_0x28c5ef(0x477)],this[_0x28c5ef(0x49b)],null,[],this[_0x28c5ef(0x25d)],_0x217404);}[_0x16631f(0x4b8)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x47630c=_0x16631f;throw new Error(_0x47630c(0x1a5));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x2a6475=_0x16631f;return this[_0x2a6475(0x264)][_0x2a6475(0x28c)](_0x3055ba,this[_0x2a6475(0x477)],this[_0x2a6475(0x49b)],null,[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16631f(0x377)](){const _0x4bd467=_0x16631f,_0x205da9=this['_revisionService'][_0x4bd467(0x531)](this[_0x4bd467(0x477)]);return this['_handler']['onMissingChangesets']({'from':_0x205da9,'to':0x0}),this['_injector']['createInstance'](_0x1dc8e0,this[_0x4bd467(0x477)],this[_0x4bd467(0x49b)],null,[],null,[],this[_0x4bd467(0x25d)]);}};_0x3bff71=_0x129d6d([_0x39a9b3(0x3,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)])],_0x3bff71);let _0x47565d=class extends _0x2c451e{constructor(_0x4c7dfc,_0x2577ef,_0x2bc635,_0x13ed48,_0x40518b,_0x22b6d5,_0x19a305,_0x1a6481,_0x245f0c,_0x445d2e,_0x185fd8,_0x46a3a6,_0x203354,_0x489886){const _0x4cddf5=_0x16631f;super(_0x4c7dfc,_0x2577ef,null,_0x2bc635,_0x13ed48,_0x445d2e,_0x489886,_0x22b6d5,_0x19a305),_0x2a606e(this,_0x4cddf5(0x536),_0x4cddf5(0x3a0)),_0x2a606e(this,_0x4cddf5(0x12d),null),_0x2a606e(this,_0x4cddf5(0x29d),null),(this[_0x4cddf5(0x264)]=_0x40518b,this[_0x4cddf5(0x154)]=_0x1a6481,this['_logService']=_0x245f0c,this[_0x4cddf5(0x31f)]=_0x185fd8,this[_0x4cddf5(0x549)]=_0x46a3a6,this[_0x4cddf5(0x3e7)]=_0x203354);}['appendMutation'](_0x527880){const _0x179591=_0x16631f;return this['_pendingMutations'][_0x179591(0x203)](_0x527880),this[_0x179591(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x314c19){const _0x5685ae=_0x16631f;if(this['_checkMissing'](_0x314c19))return this[_0x5685ae(0x133)](),this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x1dc8e0,this['unitID'],this['type'],null,this[_0x5685ae(0x460)],null,[_0x314c19],this[_0x5685ae(0x25d)]);try{const _0xda1421=this['_transformService'][_0x5685ae(0x1b3)](_0x314c19,this[_0x5685ae(0x460)]);if(_0x27cfd8[_0x5685ae(0x2f8)](_0xda1421)){const {c1Prime:_0x5390a8,m2Prime:_0x3696d6}=_0xda1421;this[_0x5685ae(0x4e7)](_0x5390a8);const _0xb23922=this[_0x5685ae(0x264)][_0x5685ae(0x28c)](_0x47565d,this[_0x5685ae(0x477)],this[_0x5685ae(0x49b)],_0x3696d6,this[_0x5685ae(0x25d)]);return this[_0x5685ae(0x133)](),_0xb23922[_0x5685ae(0x586)](this[_0x5685ae(0x12d)]?Math[_0x5685ae(0x150)](0x0,new Date()[_0x5685ae(0x3d0)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0xb23922;}throw _0xda1421[_0x5685ae(0x1df)];}catch(_0x5ae23c){return this['_logService']['error'](_0x5ae23c),this[_0x5685ae(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](){const _0x3dec84=_0x16631f;throw new Error(_0x3dec84(0x389));}[_0x16631f(0x374)](){const _0x3a8c9f=_0x16631f;throw new Error(_0x3a8c9f(0x5ad));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x2731c2=_0x16631f;return this[_0x2731c2(0x133)](),this[_0x2731c2(0x264)][_0x2731c2(0x28c)](_0x3055ba,this[_0x2731c2(0x477)],this[_0x2731c2(0x49b)],null,this[_0x2731c2(0x460)],this[_0x2731c2(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x586)](_0x33dbc2){const _0x3ba377=_0x16631f,_0x1155de=_0x33dbc2!=null?_0x33dbc2:this[_0x3ba377(0x55f)]();this[_0x3ba377(0x12d)]=new Date()[_0x3ba377(0x3d0)](),this[_0x3ba377(0x29d)]=window[_0x3ba377(0x50b)](()=>{const _0x271330=_0x3ba377;this[_0x271330(0x133)]();let _0x4c4e5c=null;switch(this[_0x271330(0x49b)]){case _0x4a6b81[_0x271330(0x32e)]:{_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this[_0x271330(0x477)],this['_univerInstanceService'],this[_0x271330(0x110)],this['_memberService']);break;}case _0x4a6b81[_0x271330(0x327)]:{this['_pendingMutations'][_0x271330(0x50d)](_0x2089c9=>_0x2089c9['id']===_0x1d9e38[_0x271330(0x467)]['id'])?_0x4c4e5c=_0x583b8f(this[_0x271330(0x460)],this['unitID'],this['_univerInstanceService'],this[_0x271330(0x110)],this[_0x271330(0x154)]):_0x4c4e5c=_0x3db108(this[_0x271330(0x460)],this['unitID'],this[_0x271330(0x3e7)],this[_0x271330(0x110)],this[_0x271330(0x154)]);break;}default:throw new Error(_0x271330(0x3b9)+this['type']+_0x271330(0x2e3));}const {changeset:_0x4c0280,pendingMutations:_0xf5d679}=_0x4c4e5c;this[_0x271330(0x25d)][_0x271330(0x199)](_0x4c0280);const _0x19660a=_0xf5d679[_0x271330(0x272)]?this['_injector'][_0x271330(0x28c)](_0x27a14f,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,_0xf5d679,this[_0x271330(0x25d)],void 0x0):this[_0x271330(0x264)][_0x271330(0x28c)](_0x1a3a9c,this[_0x271330(0x477)],this[_0x271330(0x49b)],_0x4c0280,this['_handler']);_0x19660a[_0x271330(0x1a2)](),this[_0x271330(0x25d)][_0x271330(0x4d2)](this,_0x19660a);},_0x1155de);}[_0x16631f(0x55f)](){const _0x1c4e6f=_0x16631f;var _0x9865e1;const _0x501f33=this['_configService']['getConfig'](_0x132856);return(_0x9865e1=_0x501f33==null?void 0x0:_0x501f33[_0x1c4e6f(0x1eb)])!=null?_0x9865e1:0x7d0;}['resend'](){const _0x357df2=_0x16631f;throw new Error(_0x357df2(0x10c));}[_0x16631f(0x133)](){const _0x32eada=_0x16631f;this[_0x32eada(0x29d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x32eada(0x29d)]=null);}['_onConflict'](_0x52ff9d){const _0x304c13=_0x16631f;return this['_clearScheduledTask'](),this[_0x304c13(0x264)][_0x304c13(0x28c)](_0x4bd0b3,this['unitID'],this[_0x304c13(0x49b)],null,this[_0x304c13(0x460)],this[_0x304c13(0x25d)],_0x52ff9d);}};_0x47565d=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['RevisionService'])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0x9,_0x8a1a57['ICommandService']),_0x39a9b3(0xa,_0x8a1a57['IConfigService']),_0x39a9b3(0xb,_0x27cfd8['ITransformService']),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x1db)]),_0x39a9b3(0xd,_0x8a1a57[_0x16631f(0x540)])],_0x47565d);let _0x1a3a9c=class extends _0x2c451e{constructor(_0x1c0c2e,_0x1e1012,_0x32bcbd,_0x45b219,_0x1691f6,_0x3317c7,_0x42c093,_0x43a5ec,_0x2cef3c,_0xc12ebd,_0x39c608){const _0x1c8af0=_0x16631f;super(_0x1c0c2e,_0x1e1012,_0x32bcbd,[],_0x45b219,_0x43a5ec,_0x39c608,_0x3317c7,_0x42c093),_0x2a606e(this,_0x1c8af0(0x536),'awaiting'),_0x2a606e(this,_0x1c8af0(0x1d2),0x0),_0x2a606e(this,'_resendTimer'),_0x2a606e(this,_0x1c8af0(0x2c1)),(this[_0x1c8af0(0x264)]=_0x1691f6,this[_0x1c8af0(0x515)]=_0x2cef3c,this[_0x1c8af0(0x549)]=_0xc12ebd);}['appendMutation'](_0xb235f1){const _0x535f21=_0x16631f;this[_0x535f21(0x133)]();const _0x49c53c=this[_0x535f21(0x264)][_0x535f21(0x28c)](_0x27a14f,this[_0x535f21(0x477)],this[_0x535f21(0x49b)],this[_0x535f21(0x41c)],[_0xb235f1],this[_0x535f21(0x25d)],this[_0x535f21(0x48a)]);return _0x49c53c['_updateLocalCache'](),_0x49c53c;}['onRemoteChangeset'](_0x4647a5){const _0x234382=_0x16631f;if(this[_0x234382(0x42e)](_0x4647a5))return this[_0x234382(0x133)](),this['_injector'][_0x234382(0x28c)](_0x1dc8e0,this['unitID'],this['type'],this['_awaitingChangeset'],[],null,[_0x4647a5],this[_0x234382(0x25d)]);try{const _0x579ced=this[_0x234382(0x549)][_0x234382(0x400)]([_0x4647a5],[this[_0x234382(0x41c)]],!0x1);if(_0x27cfd8[_0x234382(0x46b)](_0x579ced)){const {c1Prime:_0xbae77c,c2Prime:_0x344c71}=_0x579ced;this[_0x234382(0x4e7)](_0xbae77c[0x0]),_0x344c71[0x0][_0x234382(0x510)]=this[_0x234382(0x189)](),this['_clearScheduledTask']();const _0x23e704=this[_0x234382(0x264)][_0x234382(0x28c)](_0x1a3a9c,this[_0x234382(0x477)],this[_0x234382(0x49b)],_0x344c71[0x0],this[_0x234382(0x25d)]);return _0x23e704['_updateLocalCache'](),_0x23e704;}return this['_onConflict'](!0x1);}catch(_0x162b64){return this[_0x234382(0x515)]['error'](_0x162b64),this[_0x234382(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x2376fd){const _0x45f22d=_0x16631f;this[_0x45f22d(0x133)]();const _0x2bc249=this[_0x45f22d(0x110)][_0x45f22d(0x531)](this[_0x45f22d(0x477)]);if(_0x2376fd[_0x45f22d(0x5a1)]<_0x2bc249-0x1)return this;if(this['_checkMissing'](_0x2376fd))return this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x1dc8e0,this[_0x45f22d(0x477)],this[_0x45f22d(0x49b)],null,[],this[_0x45f22d(0x41c)],[],this[_0x45f22d(0x25d)]);this['_incrementRevisionNumber']();const _0x53e619=this[_0x45f22d(0x264)][_0x45f22d(0x28c)](_0x3bff71,this['unitID'],this['type'],this[_0x45f22d(0x25d)]);return _0x53e619[_0x45f22d(0x1a2)](),_0x53e619;}['onRemoteRej'](_0x3c6b4b){return this['_onConflict'](!!(_0x3c6b4b!=null&&_0x3c6b4b['isPermissionRej']));}['onRemoteRetry'](_0x9adc41){const _0x2aed91=_0x16631f;return this[_0x2aed91(0x1d2)]>_0x584d78?this[_0x2aed91(0xf8)]():(this[_0x2aed91(0x48a)]=_0x53ed26(this[_0x2aed91(0x1d2)],{'timeout':this[_0x2aed91(0x1d2)],'reqId':_0x9adc41['reqId']}),this[_0x2aed91(0x2c1)]=this[_0x2aed91(0x48a)][_0x2aed91(0x42c)](({reqId:_0x2959da,timeout:_0x340bba})=>{const _0x47305f=_0x2aed91;this[_0x47305f(0x25c)](_0x2959da,_0x340bba);}),this);}[_0x16631f(0xf8)](){const _0x3ae278=_0x16631f;return this['_clearScheduledTask'](),this[_0x3ae278(0x264)][_0x3ae278(0x28c)](_0x3055ba,this[_0x3ae278(0x477)],this[_0x3ae278(0x49b)],this[_0x3ae278(0x41c)],[],this['_handler']);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0xb5f666=_0x16631f;this[_0xb5f666(0x25d)][_0xb5f666(0x199)](this[_0xb5f666(0x41c)]);}['_onConflict'](_0x141911){const _0x180e0e=_0x16631f;return this['_clearScheduledTask'](),this[_0x180e0e(0x264)][_0x180e0e(0x28c)](_0x4bd0b3,this['unitID'],this['type'],this[_0x180e0e(0x41c)],[],this['_handler'],_0x141911);}['_resendWithTimeout'](_0x13a08c,_0x213158){const _0x5e460c=_0x16631f;var _0x30504d;_0x13a08c===((_0x30504d=this[_0x5e460c(0x41c)])==null?void 0x0:_0x30504d[_0x5e460c(0x449)])&&(this[_0x5e460c(0x16f)](),this['_resendTimeout']=_0x213158===0x0?0x3e8:_0x213158*0x2);}[_0x16631f(0x133)](){const _0x5d7d03=_0x16631f;var _0x46e9da;(_0x46e9da=this['_sender'])==null||_0x46e9da[_0x5d7d03(0x42a)](),this[_0x5d7d03(0x1d2)]=0x0;}};_0x1a3a9c=_0x129d6d([_0x39a9b3(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['Injector'])),_0x39a9b3(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['ILogService']),_0x39a9b3(0x9,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x540)])],_0x1a3a9c);let _0x27a14f=class extends _0x2c451e{constructor(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x3ab3ad,_0x51a918,_0x707ffc,_0x25d159,_0x4ba0fb,_0x555aff,_0x592d5f,_0x372eaf){const _0x524d6c=_0x16631f;super(_0x8985ee,_0xb3d886,_0x75cf9f,_0x1ff421,_0x17d81a,_0x4ba0fb,_0x372eaf,_0x707ffc,_0x25d159),_0x2a606e(this,_0x524d6c(0x536),'awaiting_with_pending'),_0x2a606e(this,_0x524d6c(0x1d2),0x0),_0x2a606e(this,_0x524d6c(0x48a)),_0x2a606e(this,'_sender'),(this['_injector']=_0x51a918,this['_logService']=_0x555aff,this[_0x524d6c(0x549)]=_0x592d5f,_0x3ab3ad&&(this[_0x524d6c(0x48a)]=_0x3ab3ad,this['_sender']=this[_0x524d6c(0x48a)][_0x524d6c(0x42c)](({reqId:_0x1b156c,timeout:_0x393f06})=>{const _0x3dd37b=_0x524d6c;this[_0x3dd37b(0x25c)](_0x1b156c,_0x393f06);})));}[_0x16631f(0x337)](_0x140121){const _0x47b2e1=_0x16631f;return this[_0x47b2e1(0x460)][_0x47b2e1(0x203)](_0x140121),this;}[_0x16631f(0x2d8)](_0x117fec){const _0x1457ba=_0x16631f;if(this[_0x1457ba(0x42e)](_0x117fec))return this['_clearScheduledTask'](),this['_injector'][_0x1457ba(0x28c)](_0x1dc8e0,this[_0x1457ba(0x477)],this[_0x1457ba(0x49b)],this['_awaitingChangeset'],this[_0x1457ba(0x460)],null,[_0x117fec],this[_0x1457ba(0x25d)]);try{const _0x5a4b6e=this[_0x1457ba(0x549)]['transformChangesets']([_0x117fec],[this[_0x1457ba(0x41c)]],!0x1);if(_0x27cfd8[_0x1457ba(0x46b)](_0x5a4b6e)){const {c1Prime:_0x2736ef,c2Prime:_0x2ae518}=_0x5a4b6e,_0x327f38=this[_0x1457ba(0x549)]['transformMutationsWithChangeset'](_0x2736ef[0x0],this[_0x1457ba(0x460)]);if(_0x27cfd8[_0x1457ba(0x2f8)](_0x327f38)){const {c1Prime:_0x22cf71,m2Prime:_0x39893d}=_0x327f38;return this[_0x1457ba(0x4e7)](_0x22cf71),_0x2ae518[0x0][_0x1457ba(0x510)]=this[_0x1457ba(0x189)](),this['_clearScheduledTask'](),this[_0x1457ba(0x264)][_0x1457ba(0x28c)](_0x27a14f,this['unitID'],this['type'],_0x2ae518[0x0],_0x39893d,this[_0x1457ba(0x25d)],void 0x0);}throw _0x327f38['error'];}throw _0x5a4b6e['error'];}catch(_0xecdf99){return this['_logService'][_0x1457ba(0x1df)](_0xecdf99),this[_0x1457ba(0x5a5)](!0x1);}}[_0x16631f(0x4b8)](_0x49f7e5){const _0x767d91=_0x16631f;if(this[_0x767d91(0x133)](),this[_0x767d91(0x42e)](_0x49f7e5))return this[_0x767d91(0x264)][_0x767d91(0x28c)](_0x1dc8e0,this[_0x767d91(0x477)],this['type'],null,this[_0x767d91(0x460)],this[_0x767d91(0x41c)],[],this[_0x767d91(0x25d)]);this['_incrementRevisionNumber']();const _0x3ddb62=this['_injector'][_0x767d91(0x28c)](_0x47565d,this[_0x767d91(0x477)],this[_0x767d91(0x49b)],this[_0x767d91(0x460)],this['_handler']);return _0x3ddb62[_0x767d91(0x586)](),_0x3ddb62['_updateLocalCache'](),_0x3ddb62;}[_0x16631f(0x374)](_0x13a7de){const _0x3c601a=_0x16631f;return this[_0x3c601a(0x5a5)](!!(_0x13a7de!=null&&_0x13a7de[_0x3c601a(0x429)]));}['onRemoteRetry'](_0xec9c7b){const _0x4a5ac6=_0x16631f;return this[_0x4a5ac6(0x1d2)]>_0x584d78?this[_0x4a5ac6(0xf8)]():(this[_0x4a5ac6(0x48a)]=_0x53ed26(this[_0x4a5ac6(0x1d2)],{'timeout':this[_0x4a5ac6(0x1d2)],'reqId':_0xec9c7b['reqId']}),this['_sender']=this[_0x4a5ac6(0x48a)]['subscribe'](({reqId:_0x56f941,timeout:_0x2e4841})=>{const _0x4d8651=_0x4a5ac6;this[_0x4d8651(0x25c)](_0x56f941,_0x2e4841);}),this);}[_0x16631f(0xf8)](){const _0x533620=_0x16631f;return this[_0x533620(0x133)](),this[_0x533620(0x264)][_0x533620(0x28c)](_0x3055ba,this[_0x533620(0x477)],this[_0x533620(0x49b)],this[_0x533620(0x41c)],this[_0x533620(0x460)],this[_0x533620(0x25d)]);}[_0x16631f(0x3de)](){return this;}[_0x16631f(0x16f)](){const _0x534437=_0x16631f;this[_0x534437(0x25d)][_0x534437(0x199)](this['_awaitingChangeset']);}[_0x16631f(0x5a5)](_0x207f5b){const _0xe18171=_0x16631f;return this['_clearScheduledTask'](),this[_0xe18171(0x264)][_0xe18171(0x28c)](_0x4bd0b3,this[_0xe18171(0x477)],this['type'],null,this[_0xe18171(0x460)],this[_0xe18171(0x25d)],_0x207f5b);}[_0x16631f(0x25c)](_0xc1997f,_0x5b780f){const _0x34da9b=_0x16631f;var _0x1bfb45;_0xc1997f===((_0x1bfb45=this[_0x34da9b(0x41c)])==null?void 0x0:_0x1bfb45['reqId'])&&(this[_0x34da9b(0x16f)](),this[_0x34da9b(0x1d2)]=_0x5b780f===0x0?0x3e8:_0x5b780f*0x2);}[_0x16631f(0x133)](){const _0x2dd4d4=_0x16631f;var _0x10fd81;(_0x10fd81=this[_0x2dd4d4(0x2c1)])==null||_0x10fd81[_0x2dd4d4(0x42a)](),this[_0x2dd4d4(0x1d2)]=0x0;}};_0x27a14f=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x27cfd8[_0x16631f(0x1bd)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)])],_0x27a14f);let _0x4bd0b3=class extends _0x2c451e{constructor(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x197a98=!0x1,_0x280b36,_0x354bbc,_0x47a1cd,_0x39bfd9,_0x446596,_0x977d34,_0x1ecf50){const _0x4763a4=_0x16631f;super(_0x175c74,_0x310806,_0x5506ad,_0x529e94,_0x4eefbd,_0x354bbc,_0x47a1cd,_0x446596,_0x39bfd9),_0x2a606e(this,_0x4763a4(0x536),_0x4763a4(0x416)),(this[_0x4763a4(0x3eb)]=_0x197a98,this[_0x4763a4(0x4df)]=_0x280b36,this[_0x4763a4(0x4f0)]=_0x977d34,this['_notificationService']=_0x1ecf50,this[_0x4763a4(0x3b7)](),this[_0x4763a4(0x3db)](),this[_0x4763a4(0x4bf)]());}[_0x16631f(0x337)](){return this;}[_0x16631f(0x2d8)](){return this;}[_0x16631f(0x4b8)](){return this;}[_0x16631f(0x374)](){return this;}[_0x16631f(0x2f1)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x19d350=_0x16631f;throw new Error(_0x19d350(0x366));}[_0x16631f(0x3db)](){const _0x9e9965=_0x16631f;this[_0x9e9965(0x48e)][_0x9e9965(0x17f)](this[_0x9e9965(0x477)],this[_0x9e9965(0x49b)],null,[]);}['_showConflictNotification'](){const _0x1fc1c5=_0x16631f;this[_0x1fc1c5(0x3eb)]?this[_0x1fc1c5(0x137)]['show']({'title':this[_0x1fc1c5(0x4f0)]['t']('permission.title'),'content':this[_0x1fc1c5(0x4f0)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x1fc1c5(0x137)][_0x1fc1c5(0x354)]({'title':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x22d)),'content':this[_0x1fc1c5(0x4f0)]['t'](_0x1fc1c5(0x1b8)),'type':_0x1fc1c5(0x1df),'duration':0x0});}[_0x16631f(0x4bf)](){const _0x1657ad=_0x16631f;this[_0x1657ad(0x4df)][_0x1657ad(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x1657ad(0x477)])['id'],!0x1);}};_0x4bd0b3=_0x129d6d([_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IPermissionService'])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x8,_0x8a1a57['IUndoRedoService']),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x39a9b3(0xc,_0x4b60ff['INotificationService'])],_0x4bd0b3);let _0x3055ba=class extends _0x2c451e{constructor(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x27468f,_0x4a42aa,_0x2d0a0f,_0x49e00d,_0x2d0e8b){const _0x200966=_0x16631f;super(_0x4ab9d2,_0xed7d44,_0x28ba9c,_0x3aa689,_0x57314c,_0x49e00d,_0x2d0e8b,_0x4a42aa,_0x2d0a0f),_0x2a606e(this,_0x200966(0x536),_0x200966(0x21f)),this['_injector']=_0x27468f;}['appendMutation'](_0x4f8f6d){const _0x460573=_0x16631f;return this['_pendingMutations'][_0x460573(0x203)](_0x4f8f6d),this[_0x460573(0x1a2)](),this;}[_0x16631f(0x2d8)](_0x546987){const _0x440b92=_0x16631f;throw new Error(_0x440b92(0x52a));}['onRemoteAck'](){const _0x2813a3=_0x16631f;throw new Error(_0x2813a3(0x183));}[_0x16631f(0x374)](){const _0x2cb96a=_0x16631f;throw new Error(_0x2cb96a(0x4a6));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){return this;}[_0x16631f(0x3de)](){const _0x3ec789=_0x16631f,{_injector:_0x5b6f45,_pendingMutations:_0x20af24,_awaitingChangeset:_0x1f9c7d,unitID:_0x57d018,_handler:_0x2d0727,type:_0x550130}=this,_0x4c8f2d=_0x3e84aa(_0x5b6f45,_0x57d018,_0x550130,_0x1f9c7d,_0x20af24,_0x2d0727);return _0x4c8f2d instanceof _0x47565d?_0x4c8f2d[_0x3ec789(0x586)]():(_0x4c8f2d instanceof _0x27a14f||_0x4c8f2d instanceof _0x1a3a9c)&&_0x4c8f2d['resend'](),_0x4c8f2d;}['resend'](){const _0x1e6d14=_0x16631f;throw new Error(_0x1e6d14(0x286));}};_0x3055ba=_0x129d6d([_0x39a9b3(0x5,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x6,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x7,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0x8,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0x9,_0x8a1a57[_0x16631f(0x540)])],_0x3055ba);let _0x1dc8e0=class extends _0x2c451e{constructor(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x4a66eb,_0x1e695c,_0x1114c6,_0x4c0405,_0x5de185,_0x590cc1,_0x506db9,_0x3d3296,_0x501134,_0x233776){const _0x502bb4=_0x16631f;super(_0x20d794,_0x43823f,_0x3c4563,_0xa7c08c,_0x1114c6,_0x3d3296,_0x501134,_0x5de185,_0x590cc1),_0x2a606e(this,_0x502bb4(0x536),_0x502bb4(0x51f)),(this['_acknowledgedAwaitingChangeset']=_0x4a66eb,this['_queuedRemoteChangesets']=_0x1e695c,this[_0x502bb4(0x264)]=_0x4c0405,this[_0x502bb4(0x515)]=_0x506db9,this[_0x502bb4(0x549)]=_0x233776);}['onMissedChangesetFetched'](_0x44cdc6){const _0x3c611e=_0x16631f;try{const _0x5027a5=[..._0x44cdc6,...this['_queuedRemoteChangesets']],_0x4bab4a=[this[_0x3c611e(0x41c)]||this[_0x3c611e(0x2c5)]][_0x3c611e(0x53f)](_0x3441de=>!!_0x3441de);let _0x326da4,_0x1cc82a;if(_0x4bab4a[_0x3c611e(0x272)]){const _0x2f86d4=this[_0x3c611e(0x549)][_0x3c611e(0x400)](_0x5027a5,_0x4bab4a,!0x1);if(!_0x27cfd8['isTransformChangesetsSuccess'](_0x2f86d4))throw _0x2f86d4['error'];_0x326da4=_0x2f86d4['c1Prime'],_0x1cc82a=_0x2f86d4[_0x3c611e(0x245)];}else _0x326da4=_0x5027a5,_0x1cc82a=[];let _0x41c589=this[_0x3c611e(0x460)];_0x326da4[_0x3c611e(0x236)](_0x2dab58=>{const _0x16f47c=_0x3c611e;let _0x22f69e;if(_0x41c589['length']){const _0x29508e=this[_0x16f47c(0x549)][_0x16f47c(0x1b3)](_0x2dab58,_0x41c589);if(!_0x27cfd8[_0x16f47c(0x2f8)](_0x29508e))throw _0x29508e['error'];_0x22f69e=_0x29508e[_0x16f47c(0x4aa)],_0x41c589=_0x29508e[_0x16f47c(0x43e)];}else _0x22f69e=_0x2dab58;this[_0x16f47c(0x4e7)](_0x22f69e);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3c611e(0x265)](),this[_0x3c611e(0x41c)]&&_0x1cc82a[_0x3c611e(0x272)]&&(_0x1cc82a[0x0][_0x3c611e(0x510)]=this['_getCurrentRevision']());let _0x41d943;if(this[_0x3c611e(0x41c)]&&_0x41c589[_0x3c611e(0x272)]!==0x0)_0x41d943=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x27a14f,this['unitID'],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],_0x41c589,this[_0x3c611e(0x25d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x41c589[_0x3c611e(0x272)]===0x0)_0x1cc82a[0x0][_0x3c611e(0x510)]=this[_0x3c611e(0x189)](),_0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x1a3a9c,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x1cc82a[0x0],this[_0x3c611e(0x25d)]);else{if(_0x41c589[_0x3c611e(0x272)]!==0x0){const _0x3f36e7=this[_0x3c611e(0x264)][_0x3c611e(0x28c)](_0x47565d,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],_0x41c589,this[_0x3c611e(0x25d)]);_0x3f36e7[_0x3c611e(0x586)](),_0x41d943=_0x3f36e7;}else _0x41d943=this['_injector'][_0x3c611e(0x28c)](_0x3bff71,this[_0x3c611e(0x477)],this[_0x3c611e(0x49b)],this[_0x3c611e(0x25d)]);}}return _0x41d943[_0x3c611e(0x1a2)](),_0x41d943;}catch(_0x3baea3){return this[_0x3c611e(0x515)][_0x3c611e(0x1df)]('[FetchMissState]',_0x3c611e(0x1f8),_0x3baea3),this[_0x3c611e(0x264)]['createInstance'](_0x4bd0b3,this[_0x3c611e(0x477)],this['type'],this[_0x3c611e(0x41c)],this[_0x3c611e(0x460)],this[_0x3c611e(0x25d)],!0x1);}}[_0x16631f(0x16f)](){const _0x162a02=_0x16631f;throw new Error(_0x162a02(0x5aa));}['appendMutation'](_0x5b82ab){const _0x332f5b=_0x16631f;return this[_0x332f5b(0x460)][_0x332f5b(0x203)](_0x5b82ab),this;}[_0x16631f(0x2d8)](_0x4e2baa){const _0x5d30aa=_0x16631f;return this[_0x5d30aa(0x390)][_0x5d30aa(0x203)](_0x4e2baa),this;}['onRemoteAck'](_0x7458ba){const _0x57e0f5=_0x16631f;if(this[_0x57e0f5(0x41c)])return this[_0x57e0f5(0x2c5)]=this[_0x57e0f5(0x41c)],this[_0x57e0f5(0x41c)]=null,this;throw new Error(_0x57e0f5(0x1dc));}[_0x16631f(0x374)](_0x585ba5){const _0x3dc740=_0x16631f;return this[_0x3dc740(0x5a5)](!!(_0x585ba5!=null&&_0x585ba5['isPermissionRej']));}[_0x16631f(0x2f1)](){return this;}[_0x16631f(0xf8)](){const _0x42340d=_0x16631f;return this[_0x42340d(0x264)][_0x42340d(0x28c)](_0x3055ba,this['unitID'],this[_0x42340d(0x49b)],this['_awaitingChangeset'],this[_0x42340d(0x460)],this['_handler']);}[_0x16631f(0x3de)](){return this;}['_onConflict'](_0x286782){const _0x5366c2=_0x16631f;return this['_injector']['createInstance'](_0x4bd0b3,this[_0x5366c2(0x477)],this['type'],this[_0x5366c2(0x41c)],this[_0x5366c2(0x460)],this[_0x5366c2(0x25d)],_0x286782);}};_0x1dc8e0=_0x129d6d([_0x39a9b3(0x7,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x39a9b3(0x8,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x53c)])),_0x39a9b3(0x9,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x39a9b3(0xa,_0x8a1a57[_0x16631f(0xfc)]),_0x39a9b3(0xb,_0x8a1a57[_0x16631f(0x350)]),_0x39a9b3(0xc,_0x8a1a57[_0x16631f(0x540)]),_0x39a9b3(0xd,_0x27cfd8[_0x16631f(0x1bd)])],_0x1dc8e0);function _0x3e84aa(_0x214bec,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4){const _0x33136f=_0x16631f;return _0x172877&&_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x27a14f,_0x1c4b64,_0x1828d6,_0x172877,_0x1789af,_0x3528b4,void 0x0):_0x172877?_0x214bec[_0x33136f(0x28c)](_0x1a3a9c,_0x1c4b64,_0x1828d6,_0x172877,_0x3528b4):_0x1789af[_0x33136f(0x272)]?_0x214bec[_0x33136f(0x28c)](_0x47565d,_0x1c4b64,_0x1828d6,_0x1789af,_0x3528b4):_0x214bec[_0x33136f(0x28c)](_0x3bff71,_0x1c4b64,_0x1828d6,_0x3528b4);}var _0x1482a1=Object[_0x16631f(0x162)],_0x34b655=Object[_0x16631f(0x57e)],_0x2a18df=(_0x533bf8,_0x58e96d,_0x5078ce,_0x2a746b)=>{const _0x5c2efd=_0x16631f;for(var _0x13812b=_0x2a746b>0x1?void 0x0:_0x2a746b?_0x34b655(_0x58e96d,_0x5078ce):_0x58e96d,_0x2ef9d2=_0x533bf8[_0x5c2efd(0x272)]-0x1,_0x1fec43;_0x2ef9d2>=0x0;_0x2ef9d2--)(_0x1fec43=_0x533bf8[_0x2ef9d2])&&(_0x13812b=(_0x2a746b?_0x1fec43(_0x58e96d,_0x5078ce,_0x13812b):_0x1fec43(_0x13812b))||_0x13812b);return _0x2a746b&&_0x13812b&&_0x1482a1(_0x58e96d,_0x5078ce,_0x13812b),_0x13812b;},_0x27489b=(_0x4a1247,_0x11f662)=>(_0x20dca1,_0x586be7)=>_0x11f662(_0x20dca1,_0x586be7,_0x4a1247);_0x2728bd[_0x16631f(0x581)]=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1dd621,_0x332da7,_0xf51c09,_0x530845,_0x2dd9c7,_0x3918cd,_0x574837,_0x4560e2,_0x4ec70b,_0x48d722,_0x5061e4,_0x4fa644,_0x39ceb7){const _0x13b44d=_0x16631f;super(),_0x2a606e(this,_0x13b44d(0x539),new _0x933215[(_0x13b44d(0x1fd))](null)),_0x2a606e(this,'state$',this['_state$'][_0x13b44d(0x525)]()),_0x2a606e(this,_0x13b44d(0x59d)),_0x2a606e(this,_0x13b44d(0x303),!0x1),_0x2a606e(this,_0x13b44d(0x358),''),_0x2a606e(this,_0x13b44d(0x343),0x0),_0x2a606e(this,_0x13b44d(0x48f),this['state$'][_0x13b44d(0x4be)](_0x933215[_0x13b44d(0x2ca)](_0x5ede81=>_0x5ede81?_0x5ede81[_0x13b44d(0x536)]:_0x5d61dc[_0x13b44d(0x106)]),_0x933215[_0x13b44d(0x502)](0x1))),_0x2a606e(this,_0x13b44d(0x488),!0x1),_0x2a606e(this,_0x13b44d(0x158),[]),(this['unitID']=_0x1dd621,this[_0x13b44d(0x320)]=_0x332da7,this[_0x13b44d(0x357)]=_0xf51c09,this[_0x13b44d(0x264)]=_0x530845,this[_0x13b44d(0x48e)]=_0x2dd9c7,this[_0x13b44d(0x120)]=_0x3918cd,this[_0x13b44d(0x4f0)]=_0x574837,this[_0x13b44d(0x110)]=_0x4560e2,this[_0x13b44d(0x515)]=_0x4ec70b,this[_0x13b44d(0x475)]=_0x48d722,this[_0x13b44d(0x38b)]=_0x5061e4,this[_0x13b44d(0x4df)]=_0x4fa644,this['_singleActiveUnitService']=_0x39ceb7);}get[_0x16631f(0x520)](){const _0x3205a1=_0x16631f;return this[_0x3205a1(0x59d)];}async[_0x16631f(0x299)](){const _0x51f82e=_0x16631f;if(this[_0x51f82e(0x520)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x51f82e(0x36a)]();}[_0x16631f(0x1e3)](){const _0x16205f=_0x16631f;return this[_0x16205f(0x303)]=!0x0,_0x8a1a57[_0x16205f(0x438)](()=>{const _0xc33d57=_0x16205f;this[_0xc33d57(0x303)]=!0x1,this[_0xc33d57(0x336)]();});}['_updateState'](_0x5688da){this['_state']=_0x5688da,this['_state$']['next'](_0x5688da);}async[_0x16631f(0x36a)](){const _0x4c04b3=_0x16631f;var _0x1f2add;this[_0x4c04b3(0x574)](await this[_0x4c04b3(0x5b4)]()),this[_0x4c04b3(0x30a)]&&((_0x1f2add=this['_singleActiveUnitService'])==null||_0x1f2add[_0x4c04b3(0x174)](this[_0x4c04b3(0x477)]),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x30a)][_0x4c04b3(0x159)](this[_0x4c04b3(0x477)])['subscribe'](_0x95e676=>{const _0x194abe=_0x4c04b3;this[_0x194abe(0x515)]['debug'](_0x194abe(0x4c1),_0x194abe(0x3df),_0x95e676),_0x95e676===_0x25ae3c[_0x194abe(0x268)]?(this[_0x194abe(0x38b)][_0x194abe(0x354)]({'content':this[_0x194abe(0x4f0)]['t'](_0x194abe(0x440)),'type':_0x731a74[_0x194abe(0x2a9)][_0x194abe(0x53b)]}),this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a[(_0x194abe(0x4b3))](this[_0x194abe(0x477)])['id'],!0x1),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x1)):(this[_0x194abe(0x4df)][_0x194abe(0x1a0)](new _0x46f63a['WorkbookEditablePermission'](this[_0x194abe(0x477)])['id'],!0x0),this[_0x194abe(0x4df)][_0x194abe(0x500)](!0x0));})));let _0x203a85=!0x1;return this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)]['sessionStatus$'][_0x4c04b3(0x42c)](_0x470e75=>{const _0x1f15e8=_0x4c04b3;_0x470e75===_0x53eb3f['ONLINE']?this['_toggleOnline'](_0x203a85):_0x470e75===_0x53eb3f[_0x1f15e8(0x106)]&&(_0x203a85=!0x0,this[_0x1f15e8(0x176)]());})),this[_0x4c04b3(0x14a)](this[_0x4c04b3(0x320)][_0x4c04b3(0x197)]['subscribe'](_0x2b5536=>{const _0x48542c=_0x4c04b3;try{switch(_0x2b5536['eventID']){case _0x27cfd8[_0x48542c(0x3e5)]['NEW_CHANGESETS']:{this[_0x48542c(0x2c4)](_0x27cfd8['parseProtocolChangeset'](_0x2b5536[_0x48542c(0x140)]));break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x289)]:{this['_onRemoteACK'](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['CHANGESET_REJ']:{this[_0x48542c(0x1d1)]();break;}case _0x27cfd8[_0x48542c(0x3e5)][_0x48542c(0x105)]:{this[_0x48542c(0xff)](_0x2b5536['data']);break;}case _0x27cfd8[_0x48542c(0x3e5)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x48542c(0x37e)](_0x2b5536[_0x48542c(0x140)][_0x48542c(0x593)][_0x48542c(0x2ca)](_0x53adef=>_0x27cfd8[_0x48542c(0x532)](_0x53adef)));break;}case _0x27cfd8['CollaborationEvent'][_0x48542c(0x12f)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x4a3c20){throw console[_0x48542c(0x1df)]('Error\x20on\x20receiving\x20event',_0x4a3c20),_0x4a3c20;}})),this[_0x4c04b3(0x59d)];}[_0x16631f(0x262)](){const _0x455265=_0x16631f;this[_0x455265(0x488)]=!0x1;}[_0x16631f(0xef)](){const _0x3df44c=_0x16631f;if(this[_0x3df44c(0x488)])throw new Error(_0x3df44c(0x32c));this[_0x3df44c(0x488)]=!0x0;}['_onLocalMutation'](_0x423afd){const _0x3d3d50=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x3d3d50(0x59d)]['appendMutation'](_0x423afd)),this[_0x3d3d50(0x262)]();}[_0x16631f(0x2c4)](_0x453f29){const _0x4ca195=_0x16631f;if(!(_0x453f29[_0x4ca195(0x5a1)]<=this[_0x4ca195(0x110)][_0x4ca195(0x531)](this[_0x4ca195(0x477)]))){if(this[_0x4ca195(0x303)]){this[_0x4ca195(0x158)][_0x4ca195(0x203)](_0x453f29);return;}this[_0x4ca195(0x130)](_0x453f29);}}[_0x16631f(0x336)](){const _0x3f15b6=_0x16631f;this['_remoteChangesetQueue'][_0x3f15b6(0x236)](_0x3c4e0e=>this[_0x3f15b6(0x130)](_0x3c4e0e)),this[_0x3f15b6(0x158)]=[];}['_applyRemoteChangeset'](_0x2c5a57){const _0x544424=_0x16631f,_0x4bb17f=this[_0x544424(0x120)]['interceptor'][_0x544424(0x52e)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2c5a57[_0x544424(0x1ce)],null)||_0x2c5a57['mutations'],_0xfd5fb9={..._0x2c5a57,'mutations':_0x4bb17f};this[_0x544424(0xef)](),this['_updateState'](this[_0x544424(0x59d)][_0x544424(0x2d8)](_0xfd5fb9)),this[_0x544424(0x262)]();}[_0x16631f(0x26d)](_0x117bb8){const _0x173e29=_0x16631f;this['_lockTransition'](),this['_updateState'](this[_0x173e29(0x59d)][_0x173e29(0x4b8)](_0x117bb8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x51c43a){const _0xd1ab14=_0x16631f;this[_0xd1ab14(0xef)](),this[_0xd1ab14(0x574)](this[_0xd1ab14(0x59d)][_0xd1ab14(0x374)](_0x51c43a)),this[_0xd1ab14(0x262)]();}[_0x16631f(0xff)](_0x3d97fe){const _0x4fe04b=_0x16631f;this[_0x4fe04b(0xef)](),this[_0x4fe04b(0x574)](this[_0x4fe04b(0x59d)][_0x4fe04b(0x2f1)](_0x3d97fe)),this['_unlockTransition']();}[_0x16631f(0x37e)](_0x1631bc){const _0x20143b=_0x16631f;if(!(this['_state']instanceof _0x1dc8e0))throw new TypeError(_0x20143b(0x2db));const _0x3f8c21=_0x1631bc['map'](_0x14cc54=>{const _0x50d4a5=_0x20143b,_0x27b72e=this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x52e)](this[_0x50d4a5(0x120)]['interceptor'][_0x50d4a5(0x344)]()[_0x50d4a5(0x4e6)])(_0x14cc54[_0x50d4a5(0x1ce)],null)||_0x14cc54[_0x50d4a5(0x1ce)];return{..._0x14cc54,'mutations':_0x27b72e};});this[_0x20143b(0xef)](),this[_0x20143b(0x574)](this['_state'][_0x20143b(0x3b1)](_0x3f8c21)),this[_0x20143b(0x262)]();}[_0x16631f(0x176)](){const _0x443207=_0x16631f;this[_0x443207(0xef)](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x443207(0x262)]();}[_0x16631f(0x346)](_0x1807e0=!0x1){const _0x59efc0=_0x16631f;this['_lockTransition'](),this[_0x59efc0(0x574)](this['_state'][_0x59efc0(0x3de)]()),this['_unlockTransition']();const _0x1c8166=this[_0x59efc0(0x59d)];_0x1807e0&&_0x1c8166 instanceof _0x3bff71&&(this[_0x59efc0(0xef)](),this['_updateState'](_0x1c8166['fetchMiss']()),this[_0x59efc0(0x262)]());}async[_0x16631f(0x5b4)](){return new Promise(_0x17636c=>{const _0x1955e0=_0x586f;this[_0x1955e0(0x320)][_0x1955e0(0x482)]['pipe'](_0x933215['take'](0x1))[_0x1955e0(0x42c)](async _0xd492ea=>{const _0xb80755=_0x1955e0;_0x17636c(await this[_0xb80755(0x304)](_0xd492ea===_0x53eb3f['ONLINE']));});});}[_0x16631f(0x318)](){const _0x2fa8be=_0x16631f,_0x1bd981=this[_0x2fa8be(0x477)];return{'onStateChange':(_0x34b519,_0x2e606d)=>{const _0x58e385=_0x2fa8be;if(_0x34b519!==this[_0x58e385(0x59d)])throw new Error(_0x58e385(0x46f)+_0x34b519[_0x58e385(0x536)]+_0x58e385(0x39b)+_0x2e606d['status']+_0x58e385(0x393)+this[_0x58e385(0x59d)]['status']);this[_0x58e385(0x574)](_0x2e606d);},'onSendChangeset':_0x481bf3=>{const _0x2890a8=_0x2fa8be;_0x481bf3[_0x2890a8(0x152)]||(_0x481bf3[_0x2890a8(0x152)]=this[_0x2890a8(0x358)],_0x481bf3[_0x2890a8(0x449)]=++this[_0x2890a8(0x343)]);const _0x3b64fc={'eventID':_0x27cfd8[_0x2890a8(0x3e5)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x481bf3[_0x2890a8(0x477)],'unitType':this[_0x2890a8(0x357)],'changeset':_0x481bf3,'memberID':this[_0x2890a8(0x320)][_0x2890a8(0x291)]()}};this[_0x2890a8(0x320)][_0x2890a8(0x2ba)](_0x3b64fc,this[_0x2890a8(0x477)]);},'onMissingChangesets':({from:_0x429846,to:_0x19818f})=>{const _0x53def7=_0x2fa8be;this['_logService'][_0x53def7(0x22a)](_0x53def7(0x4c1),_0x53def7(0x2ff)+_0x429846+'\x20to\x20'+_0x19818f);const _0x20ac72={'eventID':_0x27cfd8[_0x53def7(0x3e5)]['FETCH_MISSING'],'data':{'unitID':_0x1bd981,'unitType':this['_type'],'from':_0x429846,'to':_0x19818f}};this[_0x53def7(0x320)][_0x53def7(0x2ba)](_0x20ac72,this[_0x53def7(0x477)]);}};}async[_0x16631f(0x304)](_0xf6832){const _0x4d7a45=_0x16631f;var _0x2cef3e,_0x42ae32;const _0x177463=await this[_0x4d7a45(0x48e)][_0x4d7a45(0x3ae)](this[_0x4d7a45(0x477)]),_0x2e4ab2=(_0x2cef3e=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x1ce)])!=null?_0x2cef3e:[],_0x3c5887=(_0x42ae32=_0x177463==null?void 0x0:_0x177463[_0x4d7a45(0x58b)])!=null?_0x42ae32:null,_0x360bf5=!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x152)])&&!!(_0x3c5887!=null&&_0x3c5887[_0x4d7a45(0x449)]);this[_0x4d7a45(0x358)]=_0x360bf5?_0x3c5887['sid']:_0x384178(),this['_changesetReqId']=_0x360bf5?_0x3c5887[_0x4d7a45(0x449)]:0x0;const _0x8e2453=this[_0x4d7a45(0x477)];try{this[_0x4d7a45(0x2dd)](_0x3c5887,_0x2e4ab2);}catch(_0x258bf8){this['_logService']['error'](_0x258bf8);}const _0x2fb376=this[_0x4d7a45(0x318)]();if(_0xf6832){const _0x59e292=_0x3e84aa(this[_0x4d7a45(0x264)],_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);return _0x59e292 instanceof _0x47565d?_0x59e292['_schedule']():(_0x59e292 instanceof _0x27a14f||_0x59e292 instanceof _0x1a3a9c)&&_0x59e292[_0x4d7a45(0x16f)](),_0x59e292;}return this[_0x4d7a45(0x264)]['createInstance'](_0x3055ba,_0x8e2453,this[_0x4d7a45(0x357)],_0x3c5887,_0x2e4ab2,_0x2fb376);}[_0x16631f(0x2dd)](_0x33f075,_0x16e6f6){const _0x2e642c=_0x16631f;var _0x4f1b76,_0x25ed59;const _0x66267b=this['_compressMutationService']['interceptor'][_0x2e642c(0x52e)](this[_0x2e642c(0x120)][_0x2e642c(0x15f)]['getInterceptPoints']()[_0x2e642c(0x4e6)]);(_0x4f1b76=_0x66267b((_0x33f075==null?void 0x0:_0x33f075[_0x2e642c(0x1ce)])||[],null))==null||_0x4f1b76[_0x2e642c(0x236)](_0x554b1a=>this[_0x2e642c(0x475)]['executeCommand'](_0x554b1a['id'],_0x554b1a[_0x2e642c(0x238)])),(_0x25ed59=_0x66267b(_0x16e6f6||[],null))==null||_0x25ed59[_0x2e642c(0x236)](_0x529fda=>this[_0x2e642c(0x475)][_0x2e642c(0x564)](_0x529fda['id'],_0x529fda[_0x2e642c(0x238)]));}},_0x2728bd[_0x16631f(0x581)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['LocalCacheService'])),_0x27489b(0x5,_0x8a1a57['Inject'](_0x27cfd8[_0x16631f(0x23b)])),_0x27489b(0x6,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57['Inject'](_0x27cfd8['RevisionService'])),_0x27489b(0x8,_0x8a1a57['ILogService']),_0x27489b(0x9,_0x8a1a57['ICommandService']),_0x27489b(0xa,_0x4b60ff['IMessageService']),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd[_0x16631f(0x581)]),_0x2728bd[_0x16631f(0x1d5)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x3e50d4,_0x390beb,_0x1f2e16,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x3bd461,_0x54d88f,_0x4c98b6,_0x3997c6,_0x2b21cd,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344){const _0x339c4a=_0x16631f;super(_0x3e50d4,_0x1f2e16,_0x390beb,_0xcd94af,_0x478964,_0x4f6d21,_0x2d407e,_0x563411,_0x30e6ab,_0x52d8ba,_0x17b9d7,_0x2413ea,_0x538344),this[_0x339c4a(0x477)]=_0x3e50d4,this[_0x339c4a(0x49b)]=_0x390beb,this[_0x339c4a(0x305)]=_0x3bd461,this['_docTransformIMECacheService']=_0x54d88f,this[_0x339c4a(0x501)]=_0x4c98b6,this['_docTransformSelectionsService']=_0x3997c6,this[_0x339c4a(0x117)]=_0x2b21cd;}[_0x16631f(0x318)](){const _0x4fec6b=_0x16631f,_0x3d1122=super['_createHandler']();return _0x3d1122[_0x4fec6b(0x1a3)]=_0xef9fd=>this[_0x4fec6b(0x316)][_0x4fec6b(0x561)](_0xef9fd),_0x3d1122['onTransformState']=_0x49247a=>this[_0x4fec6b(0x501)][_0x4fec6b(0x21a)](_0x49247a),_0x3d1122[_0x4fec6b(0x58f)]=_0x4140d5=>this['_docTransformSelectionsService']['transformSelections'](_0x4140d5),_0x3d1122[_0x4fec6b(0x1f5)]=_0xd410ca=>this[_0x4fec6b(0x117)]['syncEditingCollabCursor'](_0xd410ca),_0x3d1122[_0x4fec6b(0x3f9)]=_0x546311=>this['_docTransformIMECacheService'][_0x4fec6b(0x246)](_0x546311),_0x3d1122[_0x4fec6b(0x44d)]=_0x4f1564=>this[_0x4fec6b(0x501)][_0x4fec6b(0x246)](_0x4f1564),_0x3d1122;}async['_init'](){const _0x22e3ae=_0x16631f,_0x4dee3c=await super[_0x22e3ae(0x36a)]();return this[_0x22e3ae(0x305)]['docStateChange$'][_0x22e3ae(0x4be)](_0x933215[_0x22e3ae(0x3d9)](this[_0x22e3ae(0x42d)]))[_0x22e3ae(0x42c)](_0x14514a=>{const _0x1b9f72=_0x22e3ae;if(_0x14514a==null)return;const {unitId:_0x670dcc,redoState:_0x1f02bd,commandId:_0x4bcd9f}=_0x14514a;if(_0x670dcc!==this[_0x1b9f72(0x477)])return;const _0x13df32={'id':_0x4bcd9f,'type':_0x8a1a57['CommandType'][_0x1b9f72(0x2a7)],'params':{'unitId':_0x670dcc,'actions':_0x1f02bd[_0x1b9f72(0x112)],'textRanges':null}};this[_0x1b9f72(0x46e)](_0x13df32);}),_0x4dee3c;}},_0x2728bd[_0x16631f(0x1d5)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x473dea[_0x16631f(0x425)])),_0x27489b(0x9,_0x8a1a57[_0x16631f(0x537)](_0xe93339)),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x537)](_0x21b12b)),_0x27489b(0xb,_0x8a1a57[_0x16631f(0x537)](_0x3110cc)),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0x27489b(0xd,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xe,_0x8a1a57['ICommandService']),_0x27489b(0xf,_0x4b60ff['IMessageService']),_0x27489b(0x10,_0x8a1a57['IPermissionService']),_0x27489b(0x11,_0x8a1a57[_0x16631f(0x1c1)](_0x50fb0f))],_0x2728bd['DocCollaborationEntity']),_0x2728bd[_0x16631f(0x579)]=class extends _0x2728bd[_0x16631f(0x581)]{constructor(_0x4ef325,_0x2af06c,_0x1d4a84,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x669437,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4){const _0x111f28=_0x16631f;super(_0x4ef325,_0x1d4a84,_0x2af06c,_0x22ee6d,_0x460f35,_0x37129a,_0x33d0bf,_0x5c3b52,_0x2c16f5,_0x5f4dba,_0x4c3ad3,_0x45ba47,_0x310ee4),this[_0x111f28(0x477)]=_0x4ef325,this[_0x111f28(0x49b)]=_0x2af06c,this[_0x111f28(0x456)]=_0x669437;}[_0x16631f(0x318)](){const _0xa8a1c=_0x16631f,_0x5679df=super[_0xa8a1c(0x318)]();return _0x5679df['onTransformSelections']=_0x1c9565=>this[_0xa8a1c(0x456)][_0xa8a1c(0x4c2)](_0x1c9565),_0x5679df;}async[_0x16631f(0x36a)](){const _0x40337e=_0x16631f,_0x5623ca=await super['_init']();return this[_0x40337e(0x14a)](this[_0x40337e(0x475)][_0x40337e(0x521)]((_0x454844,_0x27008b)=>{const _0x422b10=_0x40337e;if(_0x454844[_0x422b10(0x49b)]!==_0x8a1a57[_0x422b10(0x39c)][_0x422b10(0x2a7)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x280)]||_0x27008b!=null&&_0x27008b[_0x422b10(0x5a9)])return;const _0x261c42=_0x454844[_0x422b10(0x238)];if((_0x261c42==null?void 0x0:_0x261c42['unitId'])!==this[_0x422b10(0x477)])return;const _0x13ef3f=_0x454844,_0x50430b=this[_0x422b10(0x120)][_0x422b10(0x15f)][_0x422b10(0x52e)](this['_compressMutationService'][_0x422b10(0x15f)][_0x422b10(0x344)]()[_0x422b10(0x451)])([_0x13ef3f],null)||[_0x13ef3f];this[_0x422b10(0x46e)](_0x50430b[0x0]);})),_0x5623ca;}},_0x2728bd[_0x16631f(0x579)]=_0x2a18df([_0x27489b(0x3,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x27489b(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x2a1)])),_0x27489b(0x5,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8['CompressMutationService'])),_0x27489b(0x6,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)])),_0x27489b(0x7,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x53c)])),_0x27489b(0x8,_0x8a1a57[_0x16631f(0x537)](_0x1a79c5)),_0x27489b(0x9,_0x8a1a57[_0x16631f(0xfc)]),_0x27489b(0xa,_0x8a1a57[_0x16631f(0x350)]),_0x27489b(0xb,_0x4b60ff[_0x16631f(0x136)]),_0x27489b(0xc,_0x8a1a57[_0x16631f(0x395)]),_0x27489b(0xd,_0x8a1a57['Optional'](_0x50fb0f))],_0x2728bd[_0x16631f(0x579)]);var _0x2006c5=Object[_0x16631f(0x162)],_0x1ea5c9=Object['getOwnPropertyDescriptor'],_0x2e35bf=(_0x4500bb,_0x35fd26,_0x6fe856,_0x25f871)=>{const _0x934f6d=_0x16631f;for(var _0x5b4524=_0x25f871>0x1?void 0x0:_0x25f871?_0x1ea5c9(_0x35fd26,_0x6fe856):_0x35fd26,_0x37d8cc=_0x4500bb[_0x934f6d(0x272)]-0x1,_0x22ad86;_0x37d8cc>=0x0;_0x37d8cc--)(_0x22ad86=_0x4500bb[_0x37d8cc])&&(_0x5b4524=(_0x25f871?_0x22ad86(_0x35fd26,_0x6fe856,_0x5b4524):_0x22ad86(_0x5b4524))||_0x5b4524);return _0x25f871&&_0x5b4524&&_0x2006c5(_0x35fd26,_0x6fe856,_0x5b4524),_0x5b4524;},_0x18ee26=(_0x4d64f0,_0x289d2f)=>(_0x261990,_0x258e6f)=>_0x289d2f(_0x261990,_0x258e6f,_0x4d64f0);_0x2728bd[_0x16631f(0x433)]=class extends _0x8a1a57['RxDisposable']{constructor(_0x737463,_0x1534ab,_0x3547d7){const _0x539ec2=_0x16631f;super(),_0x2a606e(this,'_entities',new Map()),_0x2a606e(this,_0x539ec2(0x45a),new _0x933215[(_0x539ec2(0x31e))]()),(this[_0x539ec2(0x264)]=_0x737463,this[_0x539ec2(0x41e)]=_0x1534ab,this[_0x539ec2(0x3e7)]=_0x3547d7,this[_0x539ec2(0x36a)]());}[_0x16631f(0x4a7)](){const _0x5212f3=_0x16631f;super[_0x5212f3(0x4a7)](),this[_0x5212f3(0x1e8)][_0x5212f3(0x236)](_0x1f8420=>_0x1f8420[_0x5212f3(0x4a7)]()),this[_0x5212f3(0x1e8)][_0x5212f3(0x4b6)]();}['getCollabEntity'](_0x161efb){const _0xed0ac2=_0x16631f;var _0x44c5c2;return(_0x44c5c2=this[_0xed0ac2(0x1e8)][_0xed0ac2(0x241)](_0x161efb))!=null?_0x44c5c2:null;}['getCollabEntity$'](_0xee6650){const _0x50c480=_0x16631f,_0x3542e0=this[_0x50c480(0x47b)](_0xee6650);return _0x3542e0?_0x933215['of'](_0x3542e0):this[_0x50c480(0x45a)]['pipe'](_0x478e49[_0x50c480(0x53f)](_0x1a4681=>_0x1a4681[_0x50c480(0x477)]===_0xee6650));}['_init'](){const _0x54fc5c=_0x16631f;this[_0x54fc5c(0x3e7)][_0x54fc5c(0x124)](_0x8a1a57['UniverInstanceType'][_0x54fc5c(0x32e)])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49['delay'](0x10))[_0x54fc5c(0x42c)](async _0x439d64=>{const _0x230184=_0x54fc5c,_0x24225d=_0x439d64[_0x230184(0x4ed)](),_0x22a4c6=await this[_0x230184(0x3fa)](_0x24225d,_0x4a6b81['UNIVER_SHEET']);this[_0x230184(0x1e8)][_0x230184(0x41f)](_0x24225d,_0x22a4c6);}),this[_0x54fc5c(0x3e7)]['getTypeOfUnitAdded$'](_0x8a1a57[_0x54fc5c(0x3e6)]['UNIVER_DOC'])[_0x54fc5c(0x4be)](_0x933215[_0x54fc5c(0x3d9)](this[_0x54fc5c(0x42d)]),_0x478e49[_0x54fc5c(0x10b)](0x10))[_0x54fc5c(0x4be)](_0x478e49[_0x54fc5c(0x53f)](_0x1ba080=>!_0x1ba080['getUnitId']()[_0x54fc5c(0x282)]('__')))[_0x54fc5c(0x42c)](async _0x4d398c=>{const _0x1e0224=_0x54fc5c,_0x29b8e4=_0x4d398c[_0x1e0224(0x4ed)](),_0x30db60=await this['_startCollaboration'](_0x29b8e4,_0x4a6b81[_0x1e0224(0x327)]);this['_entities']['set'](_0x29b8e4,_0x30db60);}),_0x933215[_0x54fc5c(0x116)](this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x32e)]),this[_0x54fc5c(0x3e7)][_0x54fc5c(0x3d7)](_0x8a1a57[_0x54fc5c(0x3e6)][_0x54fc5c(0x327)]))[_0x54fc5c(0x4be)](_0x933215['takeUntil'](this[_0x54fc5c(0x42d)]))['subscribe'](_0xe29fcb=>{const _0x352fe2=_0x54fc5c,_0x706a8=_0xe29fcb['getUnitId'](),_0x550357=this[_0x352fe2(0x1e8)][_0x352fe2(0x241)](_0x706a8);_0x550357&&(_0x550357[_0x352fe2(0x4a7)](),this[_0x352fe2(0x1e8)][_0x352fe2(0x2eb)](_0x706a8));});}async[_0x16631f(0x3fa)](_0x3617b3,_0x18ee53){const _0x22b902=_0x16631f,_0x5a7b71=await this[_0x22b902(0x41e)][_0x22b902(0x5ab)](_0x3617b3),_0x256329=this[_0x22b902(0x264)][_0x22b902(0x28c)](this['_getCtorByUniverType'](_0x18ee53),_0x3617b3,_0x18ee53,_0x5a7b71);return await _0x256329['init'](),this[_0x22b902(0x45a)][_0x22b902(0x1dd)](_0x256329),_0x256329;}[_0x16631f(0x108)](_0x3c5313){const _0x4a6507=_0x16631f;switch(_0x3c5313){case _0x4a6b81[_0x4a6507(0x327)]:return _0x2728bd[_0x4a6507(0x1d5)];case _0x4a6b81['UNIVER_SHEET']:return _0x2728bd[_0x4a6507(0x579)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3c5313);}}},_0x2728bd[_0x16631f(0x433)]=_0x2e35bf([_0x18ee26(0x0,_0x8a1a57['Inject'](_0x8a1a57[_0x16631f(0x562)])),_0x18ee26(0x1,_0x8a1a57[_0x16631f(0x537)](_0x2728bd['CollaborationSessionService'])),_0x18ee26(0x2,_0x8a1a57[_0x16631f(0x1db)])],_0x2728bd[_0x16631f(0x433)]);const _0x396dba=[_0x16631f(0x369),_0x16631f(0x4ab),_0x16631f(0x204),_0x16631f(0x35b),_0x16631f(0x572),_0x16631f(0x3c7)];class _0x4216fe extends _0x8a1a57[_0x16631f(0x490)]{constructor(){const _0x478aa6=_0x16631f;super(...arguments),_0x2a606e(this,_0x478aa6(0x334),new Map()),_0x2a606e(this,'_colorIndex',0x0);}[_0x16631f(0x302)](_0x333260){const _0x1db27d=_0x16631f;if(this['_assignedColors']['has'](_0x333260))return this[_0x1db27d(0x334)][_0x1db27d(0x241)](_0x333260);const _0x14fc4e=_0x396dba[this[_0x1db27d(0x448)]];return this[_0x1db27d(0x448)]=(this[_0x1db27d(0x448)]+0x1)%_0x396dba[_0x1db27d(0x272)],this['_assignedColors'][_0x1db27d(0x41f)](_0x333260,_0x14fc4e),_0x14fc4e;}}var _0x16ed30=Object['defineProperty'],_0x2232ac=Object[_0x16631f(0x57e)],_0x3d0dfc=(_0x5ca77,_0x18b10a,_0x398ee8,_0xb159c9)=>{for(var _0x4d4f55=_0xb159c9>0x1?void 0x0:_0xb159c9?_0x2232ac(_0x18b10a,_0x398ee8):_0x18b10a,_0x4bd4f6=_0x5ca77['length']-0x1,_0x1e816b;_0x4bd4f6>=0x0;_0x4bd4f6--)(_0x1e816b=_0x5ca77[_0x4bd4f6])&&(_0x4d4f55=(_0xb159c9?_0x1e816b(_0x18b10a,_0x398ee8,_0x4d4f55):_0x1e816b(_0x4d4f55))||_0x4d4f55);return _0xb159c9&&_0x4d4f55&&_0x16ed30(_0x18b10a,_0x398ee8,_0x4d4f55),_0x4d4f55;},_0xfda198=(_0x4ee329,_0x4b75e7)=>(_0x267ff0,_0x39fe8d)=>_0x4b75e7(_0x267ff0,_0x39fe8d,_0x4ee329);const _0x10c5cd=0x12c,_0x5adead=0x64;let _0x3e5c16=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x3c76c7,_0x35f34b,_0x1f48d9,_0x949b35,_0x196f1e,_0x261e43,_0x3b06f4,_0x341872,_0x37acbf){const _0x17505=_0x16631f;super(),_0x2a606e(this,_0x17505(0x17a),!0x1),_0x2a606e(this,'_init',!0x1),_0x2a606e(this,_0x17505(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x17505(0x146),this['_cursorInfo$']['asObservable']()),_0x2a606e(this,'_roomMembers$',new _0x933215[(_0x17505(0x1fd))]([])),_0x2a606e(this,'roomMembers$',this[_0x17505(0x409)][_0x17505(0x4be)](_0x933215[_0x17505(0x34e)](_0x10c5cd))),_0x2a606e(this,_0x17505(0x33a),_0x8a1a57[_0x17505(0x4fa)](_0x39f315=>{const _0x29d973=_0x17505,_0xae0991={'eventID':_0x27cfd8[_0x29d973(0x3e5)][_0x29d973(0x339)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x29d973(0x291)](),'selection':_0x35203a(_0x39f315)}};this[_0x29d973(0x1c8)][_0x29d973(0x2ba)](_0xae0991,this[_0x29d973(0x477)]);},_0x5adead)),(this['unitID']=_0x3c76c7,this[_0x17505(0x1c8)]=_0x35f34b,this['_injector']=_0x1f48d9,this[_0x17505(0x4d1)]=_0x949b35,this[_0x17505(0x154)]=_0x196f1e,this[_0x17505(0x278)]=_0x261e43,this[_0x17505(0x549)]=_0x3b06f4,this[_0x17505(0x3e7)]=_0x341872,this[_0x17505(0x475)]=_0x37acbf);}get[_0x16631f(0x468)](){const _0x514d21=_0x16631f;return this[_0x514d21(0x30f)]['getValue']();}get[_0x16631f(0x545)](){const _0x425467=_0x16631f;return this[_0x425467(0x409)][_0x425467(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x1a9877=_0x16631f;super[_0x1a9877(0x4a7)](),this['_cursorInfo$'][_0x1a9877(0x1dd)](new Map()),this[_0x1a9877(0x30f)][_0x1a9877(0x495)](),this[_0x1a9877(0x409)][_0x1a9877(0x1dd)]([]),this['_roomMembers$'][_0x1a9877(0x495)]();}[_0x16631f(0x299)](){const _0x474f5a=_0x16631f;this[_0x474f5a(0x36a)]||(this[_0x474f5a(0x36a)]=!0x0,this[_0x474f5a(0x1c8)][_0x474f5a(0x482)][_0x474f5a(0x4be)](_0x933215['takeUntil'](this[_0x474f5a(0x42d)]))['subscribe'](_0x443e8c=>{const _0x8d9a16=_0x474f5a;_0x443e8c===_0x53eb3f['ONLINE']?this[_0x8d9a16(0x346)]():this[_0x8d9a16(0x176)]();}),this['_session'][_0x474f5a(0x197)][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this[_0x474f5a(0x42d)]))[_0x474f5a(0x42c)](_0x1ed82d=>{const _0x5c8a54=_0x474f5a,_0x42e22e=_0x1ed82d[_0x5c8a54(0x3dd)];_0x42e22e===_0x27cfd8['CollaborationEvent'][_0x5c8a54(0x339)]&&this[_0x5c8a54(0x172)](_0x1ed82d),_0x42e22e===_0x27cfd8[_0x5c8a54(0x3e5)][_0x5c8a54(0x214)]&&this[_0x5c8a54(0x2f4)](_0x1ed82d);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)][_0x474f5a(0x521)](_0x692576=>{const _0xb68e12=_0x474f5a,_0x62e334=_0x692576[_0xb68e12(0x238)];_0x62e334!=null&&this['_online']&&_0x692576['id']===_0x1d9e38[_0xb68e12(0x5b0)]['id']&&_0x62e334['unitId']===this[_0xb68e12(0x477)]&&_0x62e334[_0xb68e12(0x258)]===!0x1&&_0x62e334[_0xb68e12(0x308)][_0xb68e12(0x272)]>0x0&&this['_updateLocalCursor'](_0x62e334[_0xb68e12(0x308)]);})),this[_0x474f5a(0x278)]['collabCursorState$'][_0x474f5a(0x4be)](_0x933215[_0x474f5a(0x3d9)](this['dispose$']))[_0x474f5a(0x42c)](_0x12fe95=>{const _0x2f3117=_0x474f5a;if((_0x12fe95==null?void 0x0:_0x12fe95[_0x2f3117(0x477)])!==this[_0x2f3117(0x477)])return;const _0x5da0b3={'eventID':_0x27cfd8[_0x2f3117(0x3e5)][_0x2f3117(0x339)],'data':_0x12fe95};this[_0x2f3117(0x172)](_0x5da0b3);}),this[_0x474f5a(0x14a)](this[_0x474f5a(0x475)]['onCommandExecuted'](_0x4d4426=>{const _0x3b19aa=_0x474f5a;if(_0x4d4426[_0x3b19aa(0x238)]==null)return;const _0x51b6ff=_0x4d4426[_0x3b19aa(0x238)];if(_0x4d4426['id']!==_0x1d9e38['RichTextEditingMutation']['id']||_0x51b6ff[_0x3b19aa(0x151)]!==this[_0x3b19aa(0x477)])return;const _0x2a5fa8={'id':_0x3b19aa(0x1f7),'params':_0x51b6ff},_0x437223=this[_0x3b19aa(0x468)];for(const [_0x44bce0,_0x38d9b3]of _0x437223){const _0x52785c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x38d9b3['ranges']}},_0x1ae9f0=this[_0x3b19aa(0x549)][_0x3b19aa(0x56a)](_0x2a5fa8,_0x52785c,!0x1);if(_0x27cfd8['isTransformMutationFailure'](_0x1ae9f0))throw _0x1ae9f0['error'];_0x437223['set'](_0x44bce0,{..._0x38d9b3,'ranges':_0x1ae9f0[_0x3b19aa(0x43e)][_0x3b19aa(0x238)]['textRanges']});}queueMicrotask(()=>{const _0x348c36=_0x3b19aa;this[_0x348c36(0x30f)][_0x348c36(0x1dd)](_0x437223);});})));}[_0x16631f(0x172)](_0x71e46d){const _0x22f921=_0x16631f;var _0x3b8c0e,_0x143a5a;const {memberID:_0x3e14e6,selection:_0x128138}=_0x71e46d['data'],_0x5e7a98=_0x40a456(_0x128138),_0x2319e4=(_0x143a5a=(_0x3b8c0e=this['_memberService'][_0x22f921(0x373)](this[_0x22f921(0x477)],_0x3e14e6))==null?void 0x0:_0x3b8c0e[_0x22f921(0x3be)])!=null?_0x143a5a:_0x22f921(0x14c),_0x402ef7={'color':this[_0x22f921(0x4d1)]['assignAColorForMemberID'](_0x3e14e6),'name':_0x2319e4,'ranges':_0x5e7a98},_0x104cb7=this[_0x22f921(0x468)];_0x104cb7[_0x22f921(0x41f)](_0x3e14e6,_0x402ef7),this[_0x22f921(0x30f)][_0x22f921(0x1dd)](_0x104cb7);}[_0x16631f(0x2f4)](_0x2e1cec){const _0x478776=_0x16631f,{memberID:_0x536253}=_0x2e1cec[_0x478776(0x140)],_0x54ecf4=this[_0x478776(0x468)];_0x54ecf4[_0x478776(0x2eb)](_0x536253),this[_0x478776(0x30f)][_0x478776(0x1dd)](_0x54ecf4);}[_0x16631f(0x346)](){const _0x964d47=_0x16631f;var _0x334483;if(this['_online']=!0x0,((_0x334483=this[_0x964d47(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x334483[_0x964d47(0x4ed)]())!==this['unitID'])return;const _0x176e56=this['_injector'][_0x964d47(0x241)](_0x1d9e38['DocSelectionManagerService'])[_0x964d47(0x494)]();Array['isArray'](_0x176e56)&&_0x176e56[_0x964d47(0x272)]>0x0&&this[_0x964d47(0x33a)](_0x176e56);}['_toggleOffline'](){const _0x5f3756=_0x16631f;this[_0x5f3756(0x17a)]=!0x1;}};_0x3e5c16=_0x3d0dfc([_0xfda198(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0xfda198(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0xfda198(0x4,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x584)])),_0xfda198(0x5,_0x8a1a57[_0x16631f(0x537)](_0xc8790a)),_0xfda198(0x6,_0x27cfd8['ITransformService']),_0xfda198(0x7,_0x8a1a57[_0x16631f(0x1db)]),_0xfda198(0x8,_0x8a1a57['ICommandService'])],_0x3e5c16);var _0x32bf55=Object[_0x16631f(0x162)],_0x417f38=Object[_0x16631f(0x57e)],_0x4d089b=(_0x5ed7d4,_0x2a223d,_0x3676b9,_0x985c88)=>{const _0xba570e=_0x16631f;for(var _0x19f70d=_0x985c88>0x1?void 0x0:_0x985c88?_0x417f38(_0x2a223d,_0x3676b9):_0x2a223d,_0x539550=_0x5ed7d4[_0xba570e(0x272)]-0x1,_0x1370bd;_0x539550>=0x0;_0x539550--)(_0x1370bd=_0x5ed7d4[_0x539550])&&(_0x19f70d=(_0x985c88?_0x1370bd(_0x2a223d,_0x3676b9,_0x19f70d):_0x1370bd(_0x19f70d))||_0x19f70d);return _0x985c88&&_0x19f70d&&_0x32bf55(_0x2a223d,_0x3676b9,_0x19f70d),_0x19f70d;},_0x596c18=(_0x221bfc,_0x58b8b8)=>(_0x45b88a,_0x291aa6)=>_0x58b8b8(_0x45b88a,_0x291aa6,_0x221bfc);const _0x4a0010=0x12c,_0x54564a=0x64,_0x66474c=()=>{let _0x3d9a70=[],_0x407852=!0x1;return _0x72f2b2=>{const _0xeef5fc=_0x586f;_0x3d9a70[_0xeef5fc(0x203)](_0x72f2b2),_0x407852||(_0x407852=!0x0,setTimeout(()=>{const _0x1d0346=_0xeef5fc;_0x3d9a70[_0x1d0346(0x236)](_0x1dc9a0=>_0x1dc9a0()),_0x3d9a70=[],_0x407852=!0x1;}));};};let _0x2addec=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x41806a,_0x1dcef4,_0x259d97,_0x2bd2db,_0x286636,_0x1ecfa4,_0x179bf1,_0x2e6cd5){const _0x3d9c22=_0x16631f;super(),_0x2a606e(this,_0x3d9c22(0x17a),!0x1),_0x2a606e(this,_0x3d9c22(0x36a),!0x1),_0x2a606e(this,_0x3d9c22(0x30f),new _0x933215['BehaviorSubject'](new Map())),_0x2a606e(this,_0x3d9c22(0x146),this[_0x3d9c22(0x30f)][_0x3d9c22(0x525)]()),_0x2a606e(this,_0x3d9c22(0x409),new _0x933215['BehaviorSubject']([])),_0x2a606e(this,_0x3d9c22(0x31d),this['_roomMembers$'][_0x3d9c22(0x4be)](_0x933215[_0x3d9c22(0x34e)](_0x4a0010))),_0x2a606e(this,_0x3d9c22(0x33a),_0x8a1a57[_0x3d9c22(0x4fa)]((_0x1682dd,_0x3608df)=>{const _0x5ee9c4=_0x3d9c22,_0x59edfb={'eventID':_0x27cfd8[_0x5ee9c4(0x3e5)][_0x5ee9c4(0x339)],'data':{'unitID':this[_0x5ee9c4(0x477)],'memberID':this['_session'][_0x5ee9c4(0x291)](),'selection':_0x2f3a98[_0x5ee9c4(0x51c)](_0x1682dd,_0x3608df[_0x5ee9c4(0x513)])}};this['_session'][_0x5ee9c4(0x2ba)](_0x59edfb,this['unitID']);},_0x54564a)),(this['unitID']=_0x41806a,this[_0x3d9c22(0x1c8)]=_0x1dcef4,this[_0x3d9c22(0x264)]=_0x259d97,this['_colorAssignService']=_0x2bd2db,this[_0x3d9c22(0x154)]=_0x286636,this['_univerInstanceService']=_0x1ecfa4,this[_0x3d9c22(0x475)]=_0x179bf1,this[_0x3d9c22(0x38c)]=_0x2e6cd5);}get[_0x16631f(0x468)](){const _0x662ad3=_0x16631f;return this[_0x662ad3(0x30f)][_0x662ad3(0x2f3)]();}get[_0x16631f(0x545)](){const _0xaa6b2=_0x16631f;return this[_0xaa6b2(0x409)][_0xaa6b2(0x2f3)]();}[_0x16631f(0x4a7)](){const _0x12ae6e=_0x16631f;super[_0x12ae6e(0x4a7)](),this[_0x12ae6e(0x30f)][_0x12ae6e(0x1dd)](new Map()),this[_0x12ae6e(0x30f)]['complete'](),this[_0x12ae6e(0x409)][_0x12ae6e(0x1dd)]([]),this[_0x12ae6e(0x409)][_0x12ae6e(0x495)]();}[_0x16631f(0x299)](){const _0x48fef4=_0x16631f;this[_0x48fef4(0x36a)]||(this['_init']=!0x0,this['_session'][_0x48fef4(0x482)][_0x48fef4(0x4be)](_0x933215[_0x48fef4(0x3d9)](this['dispose$']))[_0x48fef4(0x42c)](_0x15c0f1=>{const _0x551f09=_0x48fef4;_0x15c0f1===_0x53eb3f[_0x551f09(0x173)]?this[_0x551f09(0x346)]():this['_toggleOffline']();}),this['_session'][_0x48fef4(0x197)]['pipe'](_0x933215[_0x48fef4(0x3d9)](this[_0x48fef4(0x42d)]))[_0x48fef4(0x42c)](_0x35fd0a=>{const _0x1701e3=_0x48fef4,_0x1d7aad=_0x35fd0a[_0x1701e3(0x3dd)];_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)][_0x1701e3(0x339)]&&this[_0x1701e3(0x172)](_0x35fd0a),_0x1d7aad===_0x27cfd8[_0x1701e3(0x3e5)]['USERS_LEAVE']&&this[_0x1701e3(0x2f4)](_0x35fd0a);}),this[_0x48fef4(0x2e2)](),this[_0x48fef4(0x14a)](this['_commandService'][_0x48fef4(0x521)](_0x6c06d3=>{const _0x1b3233=_0x48fef4;if(this[_0x1b3233(0x17a)]&&_0x6c06d3['id']===_0x46f63a[_0x1b3233(0x51a)]['id']&&_0x6c06d3[_0x1b3233(0x238)]['unitId']===this[_0x1b3233(0x477)]){const _0x2277c1=_0x6c06d3['params'];this[_0x1b3233(0x33a)](_0x2277c1[_0x1b3233(0x4b1)],_0x2277c1[_0x1b3233(0x3f7)][0x0]);}})));}[_0x16631f(0x172)](_0x588126){const _0x3a4d72=_0x16631f;var _0x5d73c1,_0x25b71e;const {memberID:_0x110fcd,selection:_0x44cb81}=_0x588126[_0x3a4d72(0x140)],{sheetName:_0xb389b4,range:_0x577dde}=_0x2f3a98[_0x3a4d72(0x54d)](_0x44cb81),_0x5bba20={'name':(_0x25b71e=(_0x5d73c1=this[_0x3a4d72(0x154)][_0x3a4d72(0x373)](this['unitID'],_0x110fcd))==null?void 0x0:_0x5d73c1[_0x3a4d72(0x3be)])!=null?_0x25b71e:_0x3a4d72(0x14c),'range':this[_0x3a4d72(0x387)](_0xb389b4,_0x577dde),'sheetID':_0xb389b4,'color':this['_colorAssignService'][_0x3a4d72(0x302)](_0x110fcd),'selection':_0x44cb81},_0x2383bb=this[_0x3a4d72(0x468)];_0x2383bb['set'](_0x110fcd,_0x5bba20),this[_0x3a4d72(0x30f)][_0x3a4d72(0x1dd)](_0x2383bb);}[_0x16631f(0x2f4)](_0x46fcea){const _0x24c408=_0x16631f,{memberID:_0x3dcfb3}=_0x46fcea[_0x24c408(0x140)],_0x4f9a77=this['cursorInfo'];_0x4f9a77[_0x24c408(0x2eb)](_0x3dcfb3),this[_0x24c408(0x30f)][_0x24c408(0x1dd)](_0x4f9a77);}['_getMergeRange'](_0x3eec53,_0x4a10e2){const _0x4f2237=_0x16631f;var _0x2eb455,_0x14d8bd;const _0x173dca=(_0x14d8bd=(_0x2eb455=this[_0x4f2237(0x3e7)][_0x4f2237(0xf2)](this[_0x4f2237(0x477)]))==null?void 0x0:_0x2eb455[_0x4f2237(0x177)](_0x3eec53))==null?void 0x0:_0x14d8bd[_0x4f2237(0x330)]();return(_0x173dca==null?void 0x0:_0x173dca[_0x4f2237(0x2a3)](_0x359fc9=>_0x8a1a57['Rectangle']['contains'](_0x359fc9,_0x4a10e2)))||_0x4a10e2;}[_0x16631f(0x2e2)](){const _0xf53376=_0x16631f,_0x421929=new _0x8a1a57[(_0xf53376(0x4ae))](),_0x98775c=_0x66474c(),_0x5aae4e=()=>{const _0x334473=_0xf53376;_0x421929['dispose']();const _0x362e9e=(_0x3813bc,_0x511556,_0x183599,_0x191174)=>{const _0x140122=_0x586f;let _0x5cd251=[];switch(_0x3813bc['id']){case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x21d)]:{_0x5cd251=_0x46f63a['handleDeleteRangeMoveLeft'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x34c)]:{_0x5cd251=_0x46f63a[_0x140122(0x3b0)](_0x3813bc,_0x191174);break;}case _0x46f63a['EffectRefRangId'][_0x140122(0x4fe)]:{_0x5cd251=_0x46f63a[_0x140122(0x455)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x1aa)]:{_0x5cd251=_0x46f63a[_0x140122(0x17c)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x478)]:{_0x5cd251=_0x46f63a['handleInsertRangeMoveRight'](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x35d)]:{_0x5cd251=_0x46f63a[_0x140122(0x3ea)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x2ea)]:{_0x5cd251=_0x46f63a[_0x140122(0x43f)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x3c8)]:{_0x5cd251=_0x46f63a[_0x140122(0x234)](_0x3813bc,_0x191174);break;}case _0x46f63a[_0x140122(0x1f6)][_0x140122(0x22c)]:{_0x5cd251=_0x46f63a[_0x140122(0x4af)](_0x3813bc,_0x191174);break;}}const _0x634780=_0x46f63a[_0x140122(0x349)](_0x5cd251,_0x191174),_0x766f1e=this['cursorInfo'][_0x140122(0x241)](_0x511556);if(_0x766f1e&&_0x634780){const _0x3517a6={..._0x766f1e,'range':_0x634780};this[_0x140122(0x468)][_0x140122(0x41f)](_0x511556,_0x3517a6),_0x98775c(()=>{const _0xfd9298=_0x140122,_0x186d37=this[_0xfd9298(0x38c)][_0xfd9298(0x165)](_0x634780,_0x1a0438=>(_0x186d37['dispose'](),_0x362e9e(_0x1a0438,_0x511556,_0x183599,_0x634780)));_0x421929[_0xfd9298(0x1cb)](_0x186d37);});}return{'redos':[],'undos':[]};};this[_0x334473(0x468)][_0x334473(0x236)]((_0x2507a5,_0x49840d)=>{const _0xdaa186=_0x334473,{range:_0x4a9cfe,sheetID:_0x443fed}=_0x2507a5,_0x330b2b=this[_0xdaa186(0x38c)][_0xdaa186(0x165)](_0x4a9cfe,_0x3f7987=>(_0x330b2b['dispose'](),_0x362e9e(_0x3f7987,_0x49840d,_0x443fed,_0x4a9cfe)));_0x421929[_0xdaa186(0x1cb)](_0x330b2b);});};this['disposeWithMe'](_0x8a1a57[_0xf53376(0x438)](this[_0xf53376(0x30f)][_0xf53376(0x42c)](()=>{_0x5aae4e();})));}['_toggleOnline'](){const _0x4441d3=_0x16631f;var _0x49538c,_0x33350d;if(this[_0x4441d3(0x17a)]=!0x0,((_0x49538c=this[_0x4441d3(0x3e7)]['getFocusedUnit']())==null?void 0x0:_0x49538c[_0x4441d3(0x4ed)]())!==this['unitID'])return;const _0x1ba33f=(_0x33350d=this[_0x4441d3(0x264)][_0x4441d3(0x241)](_0x46f63a[_0x4441d3(0x1ff)])[_0x4441d3(0x2b2)]())==null?void 0x0:_0x33350d[0x0],_0x47dd0d=this[_0x4441d3(0x3e7)]['getCurrentUnitForType'](_0x8a1a57['UniverInstanceType'][_0x4441d3(0x32e)])[_0x4441d3(0x23a)]();_0x1ba33f&&_0x47dd0d&&this['_updateLocalCursor'](_0x47dd0d[_0x4441d3(0x3fb)](),_0x1ba33f);}[_0x16631f(0x176)](){const _0x4e30df=_0x16631f;this[_0x4e30df(0x17a)]=!0x1;}};_0x2addec=_0x4d089b([_0x596c18(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x596c18(0x3,_0x8a1a57[_0x16631f(0x537)](_0x4216fe)),_0x596c18(0x4,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x584)])),_0x596c18(0x5,_0x8a1a57['IUniverInstanceService']),_0x596c18(0x6,_0x8a1a57[_0x16631f(0x350)]),_0x596c18(0x7,_0x8a1a57[_0x16631f(0x537)](_0x46f63a['RefRangeService']))],_0x2addec);var _0x7b1e38=Object[_0x16631f(0x162)],_0x179714=Object['getOwnPropertyDescriptor'],_0x348225=(_0x3b5edb,_0x2cccb5,_0x42f580,_0x280547)=>{for(var _0x23fc23=_0x280547>0x1?void 0x0:_0x280547?_0x179714(_0x2cccb5,_0x42f580):_0x2cccb5,_0xd406f8=_0x3b5edb['length']-0x1,_0x54bc04;_0xd406f8>=0x0;_0xd406f8--)(_0x54bc04=_0x3b5edb[_0xd406f8])&&(_0x23fc23=(_0x280547?_0x54bc04(_0x2cccb5,_0x42f580,_0x23fc23):_0x54bc04(_0x23fc23))||_0x23fc23);return _0x280547&&_0x23fc23&&_0x7b1e38(_0x2cccb5,_0x42f580,_0x23fc23),_0x23fc23;},_0x13bb34=(_0x5b427a,_0xb44787)=>(_0x5b4e99,_0x496596)=>_0xb44787(_0x5b4e99,_0x496596,_0x5b427a);let _0xafbc5d=class extends _0x8a1a57['RxDisposable']{constructor(_0x577227,_0x689280,_0x3a8ef7){const _0x42140d=_0x16631f;super(),_0x2a606e(this,_0x42140d(0x1e8),new Map()),_0x2a606e(this,'_entityInit$',new _0x933215[(_0x42140d(0x31e))]()),(this[_0x42140d(0x3e7)]=_0x577227,this[_0x42140d(0x264)]=_0x689280,this['_collabSessionService']=_0x3a8ef7,this['_init']());}['dispose'](){const _0x4be08e=_0x16631f;super[_0x4be08e(0x4a7)](),this[_0x4be08e(0x45a)][_0x4be08e(0x495)](),this[_0x4be08e(0x1e8)][_0x4be08e(0x236)](_0x46a1f0=>_0x46a1f0[_0x4be08e(0x4a7)]());}[_0x16631f(0x190)](_0xfb57f2){const _0x2ec30e=_0x16631f;return this[_0x2ec30e(0x1e8)][_0x2ec30e(0x295)](_0xfb57f2)?this['_entities'][_0x2ec30e(0x241)](_0xfb57f2)[_0x2ec30e(0x146)]:this[_0x2ec30e(0x45a)]['pipe'](_0x933215[_0x2ec30e(0x53f)](_0x25bdb0=>_0x25bdb0[_0x2ec30e(0x477)]===_0xfb57f2),_0x933215['switchMap'](_0x132338=>_0x132338[_0x2ec30e(0x146)]));}[_0x16631f(0x36a)](){const _0x1d2bf5=_0x16631f;this['_univerInstanceService'][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)]['UNIVER_SHEET'])['pipe'](_0x933215['takeUntil'](this['dispose$']))[_0x1d2bf5(0x42c)](async _0x54c0a2=>{const _0x28be3b=_0x1d2bf5,_0x3e79f6=_0x54c0a2[_0x28be3b(0x4ed)](),_0x5ea96a=await this[_0x28be3b(0x253)](_0x3e79f6);this['_entityInit$'][_0x28be3b(0x1dd)](_0x5ea96a),this[_0x28be3b(0x1e8)][_0x28be3b(0x41f)](_0x3e79f6,_0x5ea96a);}),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x124)](_0x8a1a57[_0x1d2bf5(0x3e6)][_0x1d2bf5(0x327)])['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['pipe'](_0x933215[_0x1d2bf5(0x53f)](_0x5c0fbb=>!_0x5c0fbb[_0x1d2bf5(0x4ed)]()[_0x1d2bf5(0x282)]('__')))[_0x1d2bf5(0x42c)](async _0x5b01d1=>{const _0x5836ae=_0x1d2bf5,_0x394d96=_0x5b01d1[_0x5836ae(0x4ed)](),_0xaee2c4=await this['_startDocCollabCursor'](_0x394d96);this[_0x5836ae(0x45a)][_0x5836ae(0x1dd)](_0xaee2c4),this['_entities']['set'](_0x394d96,_0xaee2c4);}),_0x933215[_0x1d2bf5(0x116)](this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x327)]),this[_0x1d2bf5(0x3e7)][_0x1d2bf5(0x3d7)](_0x8a1a57['UniverInstanceType'][_0x1d2bf5(0x32e)]))['pipe'](_0x933215['takeUntil'](this[_0x1d2bf5(0x42d)]))['subscribe'](_0x155f7b=>{const _0x259c33=_0x1d2bf5,_0x1fae6a=_0x155f7b['getUnitId'](),_0x28b221=this[_0x259c33(0x1e8)]['get'](_0x1fae6a);_0x28b221&&(_0x28b221[_0x259c33(0x4a7)](),this[_0x259c33(0x1e8)]['delete'](_0x1fae6a));});}async[_0x16631f(0x253)](_0x3b5724){const _0x483753=_0x16631f,_0xcfe14e=await this[_0x483753(0x41e)][_0x483753(0x5ab)](_0x3b5724),_0x3cc599=this[_0x483753(0x264)][_0x483753(0x28c)](_0x2addec,_0x3b5724,_0xcfe14e);return _0x3cc599['init'](),_0x3cc599;}async['_startDocCollabCursor'](_0x36b1c0){const _0x235240=_0x16631f,_0x28c7eb=await this['_collabSessionService'][_0x235240(0x5ab)](_0x36b1c0),_0x4f11ed=this['_injector']['createInstance'](_0x3e5c16,_0x36b1c0,_0x28c7eb);return _0x4f11ed[_0x235240(0x299)](),_0x4f11ed;}};_0xafbc5d=_0x348225([_0x13bb34(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x13bb34(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x13bb34(0x2,_0x8a1a57['Inject'](_0x2728bd[_0x16631f(0x37f)]))],_0xafbc5d);const _0x25bf11=0x14,_0x29dac1=0xc8,_0x3373c8=0x4,_0x35e041=0x5;function _0x30e00c(_0x48f9f5,_0x3d5092){const _0x94991a=_0x16631f;let {radius:_0x34d193,width:_0x113b5a,height:_0x5679f0}=_0x3d5092;_0x34d193=_0x34d193!=null?_0x34d193:0x0,_0x113b5a=_0x113b5a!=null?_0x113b5a:0x1e,_0x5679f0=_0x5679f0!=null?_0x5679f0:0x1e;let _0x42a5a5=0x0,_0x22f2ba=0x0,_0x5294ab=0x0;_0x42a5a5=_0x22f2ba=_0x5294ab=Math[_0x94991a(0x3ab)](_0x34d193,_0x113b5a/0x2,_0x5679f0/0x2),_0x48f9f5[_0x94991a(0x47a)](),_0x48f9f5[_0x94991a(0xf9)](_0x42a5a5,0x0),_0x48f9f5[_0x94991a(0x463)](_0x113b5a-_0x22f2ba,0x0),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x22f2ba,_0x22f2ba,_0x22f2ba,Math['PI']*0x3/0x2,0x0,!0x1),_0x48f9f5[_0x94991a(0x463)](_0x113b5a,_0x5679f0-_0x5294ab),_0x48f9f5[_0x94991a(0x4f1)](_0x113b5a-_0x5294ab,_0x5679f0-_0x5294ab,_0x5294ab,0x0,Math['PI']/0x2,!0x1),_0x48f9f5[_0x94991a(0x463)](0x0,_0x5679f0),_0x48f9f5[_0x94991a(0x463)](0x0,_0x42a5a5),_0x48f9f5['arc'](_0x42a5a5,_0x42a5a5,_0x42a5a5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48f9f5[_0x94991a(0x18d)](),_0x3d5092['fill']&&(_0x48f9f5[_0x94991a(0x314)](),_0x48f9f5[_0x94991a(0x381)]=_0x3d5092[_0x94991a(0x19e)],_0x3d5092[_0x94991a(0x207)]===_0x94991a(0x54f)?_0x48f9f5[_0x94991a(0x19e)](_0x94991a(0x54f)):_0x48f9f5['fill'](),_0x48f9f5[_0x94991a(0x122)]());}class _0xa8fdce extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x5b67c2,_0x1a6d73){const _0x27edf2=_0x16631f;super(_0x5b67c2,_0x1a6d73),_0x2a606e(this,_0x27edf2(0x384)),_0x2a606e(this,_0x27edf2(0x4fc)),(this[_0x27edf2(0x384)]=_0x1a6d73==null?void 0x0:_0x1a6d73['color'],this[_0x27edf2(0x4fc)]=_0x1a6d73==null?void 0x0:_0x1a6d73[_0x27edf2(0x4fc)]);}static[_0x16631f(0x138)](_0x297341,_0x15d967){const _0x571929=_0x16631f,{text:_0x5b4aef,color:_0x34c77a}=_0x15d967;_0x297341[_0x571929(0x314)](),_0x297341[_0x571929(0x274)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f0245=_0x297341[_0x571929(0x526)](_0x5b4aef)[_0x571929(0x261)],_0x53e3ed=Math[_0x571929(0x3ab)](_0x1f0245+0x2*_0x3373c8,_0x29dac1);_0x30e00c(_0x297341,{'height':_0x25bf11,'radius':0x4,'width':_0x53e3ed,'fill':_0x34c77a,'evented':!0x1}),_0x297341['fillStyle']=_0x571929(0x18a);const _0x407b74=_0x3373c8,_0x546ee8=_0x25bf11-_0x35e041,_0x237dfa=_0x29dac1-0x2*_0x3373c8;if(_0x1f0245>_0x237dfa){let _0x38977d='',_0x5b9c44=0x0;for(const _0x3abf23 of _0x5b4aef){const _0x306ed1=_0x297341[_0x571929(0x526)](_0x3abf23)[_0x571929(0x261)];if(_0x5b9c44+_0x306ed1<=_0x237dfa-_0x297341['measureText'](_0x571929(0x4b5))[_0x571929(0x261)])_0x38977d+=_0x3abf23,_0x5b9c44+=_0x306ed1;else{_0x38977d+=_0x571929(0x4b5);break;}}_0x297341[_0x571929(0x29f)](_0x38977d,_0x407b74,_0x546ee8);}else _0x297341['fillText'](_0x5b4aef,_0x407b74,_0x546ee8);_0x297341[_0x571929(0x122)]();}[_0x16631f(0x2f5)](_0x45e6be){const _0x152255=_0x16631f;_0xa8fdce[_0x152255(0x138)](_0x45e6be,this);}}const _0x33dd88=_0x16631f(0x38f),_0x304c5f=_0x16631f(0x512),_0x55dc1a='collab-rect-range-',_0x50eb5c=0x6,_0x47433d=1.5,_0x29705f=0x4,_0x3a5ef5=1.5,_0x48e5e3='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e3e29{constructor(_0x320322,_0x4bdb63,_0x7baf4d,_0x20393f){const _0x497c22=_0x16631f;_0x2a606e(this,_0x497c22(0x444),[]),_0x2a606e(this,_0x497c22(0x4a1),null),_0x2a606e(this,_0x497c22(0x16e),null),_0x2a606e(this,_0x497c22(0x127),null),_0x2a606e(this,_0x497c22(0x4b0),null),_0x2a606e(this,_0x497c22(0xfb),null),(this[_0x497c22(0x3d3)]=_0x320322,this[_0x497c22(0x3ef)]=_0x4bdb63,this[_0x497c22(0x547)]=_0x7baf4d,this[_0x497c22(0x239)]=_0x20393f,this[_0x497c22(0x432)]());}set[_0x16631f(0x212)](_0x2ae8c2){const _0x52f4a1=_0x16631f;_0x2ae8c2?(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x192)](),this[_0x52f4a1(0x16e)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x52f4a1(0x127)][_0x52f4a1(0x354)](),this['_textBubble']&&this[_0x52f4a1(0x16e)][_0x52f4a1(0x192)]());}['dispose'](){const _0x204ccf=_0x16631f;for(const _0x4b1482 of this[_0x204ccf(0x444)])_0x4b1482[_0x204ccf(0x4a7)]();this[_0x204ccf(0x16e)]&&this[_0x204ccf(0x16e)][_0x204ccf(0x4a7)](),this[_0x204ccf(0x127)]&&this['_anchorDot'][_0x204ccf(0x4a7)](),this['_anchor']&&this[_0x204ccf(0x4a1)]['dispose'](),this[_0x204ccf(0xfb)]&&this[_0x204ccf(0xfb)]();}['_render'](){const _0x14056e=_0x16631f;var _0x1deb4b;const {_docSkeleton:_0x3490d3,_document:_0x22c8a7}=this,{color:_0x3581ce,name:_0x3d0b77,ranges:_0x2d14ce}=this[_0x14056e(0x3d3)],_0xf19473=_0x22c8a7['getOffsetConfig'](),{docsLeft:_0xef00ff,docsTop:_0xe9d7c3}=_0xf19473,_0x52fee7=new _0x473dea[(_0x14056e(0x230))](_0xf19473,_0x3490d3);for(const {startOffset:_0xf61212,endOffset:_0x48e9d3,rangeType:_0x28c569,segmentId:_0x534145,segmentPage:_0xde6a9b,collapsed:_0xa3a2a7,isActive:_0x566f1a}of _0x2d14ce){const _0x495af3=_0x3490d3['findNodePositionByCharIndex'](_0xf61212,!0x0,_0x534145,_0xde6a9b);let _0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3,!0x0,_0x534145,_0xde6a9b);if(_0x3b9a46==null&&(_0x3b9a46=_0x3490d3[_0x14056e(0x2bc)](_0x48e9d3-0x1,!0x1,_0x534145,_0xde6a9b)),_0x566f1a){const {contentBoxPointGroup:_0x13d350}=_0x52fee7[_0x14056e(0x556)](_0x3b9a46,_0x3b9a46);if(_0x13d350[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x13a)](_0x3581ce,_0x13d350,_0xef00ff,_0xe9d7c3,_0x3d0b77),this['_eventUnsubscribe']=this[_0x14056e(0x259)]();}if(_0x495af3&&_0x3b9a46){if(_0x28c569===_0x8a1a57[_0x14056e(0x567)][_0x14056e(0x30c)]){const _0x14af58=new _0x473dea[(_0x14056e(0x517))](_0xf19473,_0x3490d3),{pointGroup:_0x305d56}=(_0x1deb4b=_0x14af58['getRangePointData'](_0x495af3,_0x3b9a46))!=null?_0x1deb4b:{};if(_0x305d56==null||_0x305d56['length']===0x0)continue;this[_0x14056e(0x2ed)](_0x3581ce,_0x305d56,_0xef00ff,_0xe9d7c3);}else{if(!_0xa3a2a7){const {borderBoxPointGroup:_0xeefdeb}=_0x52fee7[_0x14056e(0x556)](_0x495af3,_0x3b9a46);if(_0xeefdeb[_0x14056e(0x272)]===0x0)continue;this[_0x14056e(0x4d9)](_0x3581ce,_0xeefdeb,_0xef00ff,_0xe9d7c3);}}}}}[_0x16631f(0x13a)](_0x431144,_0x1a0f00,_0x28b285,_0x3596ef,_0x11989d){const _0x5743a8=_0x16631f,_0x485a11=this['_getAnchorBounding'](_0x1a0f00),{left:_0x2c2d54,top:_0x4b3dcc,height:_0x4fa9db}=_0x485a11,_0x5595cb=this['_getScale'](),_0x13d35d=_0x3a5ef5/_0x5595cb,_0x9bb713=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef,'height':_0x4fa9db,'width':_0x47433d,'fill':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57['COLORS'][_0x5743a8(0x2b7)],0x0),'strokeWidth':_0x13d35d,'stroke':_0x48e5e3,'evented':!0x0});this[_0x5743a8(0x4a1)]=_0x9bb713,this[_0x5743a8(0x3ef)]['addObject'](_0x9bb713,_0x473dea[_0x5743a8(0x285)]);const _0x16c801=new _0x20e8c2[(_0x5743a8(0x20d))](_0x33dd88+_0x8a1a57['Tools']['generateRandomId'](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x29705f/0x2,'height':_0x29705f,'width':_0x29705f,'fill':_0x431144||_0x20e8c2['getColor'](_0x8a1a57[_0x5743a8(0x56b)][_0x5743a8(0x2b7)],0x0),'strokeWidth':0x0,'stroke':_0x431144||_0x20e8c2[_0x5743a8(0x420)](_0x8a1a57[_0x5743a8(0x56b)]['black'],0x0),'evented':!0x1});this[_0x5743a8(0x127)]=_0x16c801,this[_0x5743a8(0x3ef)][_0x5743a8(0x144)](_0x16c801,_0x473dea['TEXT_RANGE_LAYER_INDEX']);const _0x4aedba=new _0xa8fdce(_0x33dd88+_0x8a1a57[_0x5743a8(0x435)][_0x5743a8(0x293)](_0x50eb5c),{'left':_0x2c2d54+_0x28b285-_0x13d35d,'top':_0x4b3dcc+_0x3596ef-_0x25bf11,'text':_0x11989d,'color':_0x431144});this['_textBubble']=_0x4aedba,this[_0x5743a8(0x3ef)]['addObject'](_0x4aedba,_0x473dea[_0x5743a8(0x285)]),this[_0x5743a8(0x212)]=!0x1;}['_handleHover'](){const _0x1da900=_0x16631f,_0xe901d=this['_anchor'][_0x1da900(0x1b7)]['subscribeEvent'](()=>{const _0x4e602e=_0x1da900;this[_0x4e602e(0x212)]=!0x0;}),_0x10357a=this[_0x1da900(0x4a1)][_0x1da900(0x38e)][_0x1da900(0x4cc)](()=>{const _0x9e638f=_0x1da900;this[_0x9e638f(0x4b0)]&&clearTimeout(this['_hideTimer']),this[_0x9e638f(0x4b0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1b8dd4=_0x1da900;_0xe901d[_0x1b8dd4(0x42a)](),_0x10357a['unsubscribe']();};}[_0x16631f(0x4d9)](_0x32c540,_0xe5d5d,_0x233197,_0x9c68ac){const _0x18f495=_0x16631f,_0x4be7ac=new _0x8a1a57['ColorKit'](_0x32c540)['setAlpha'](0.2)[_0x18f495(0x47e)](),_0x5b0e29=new _0x20e8c2[(_0x18f495(0x126))](_0x304c5f+_0x8a1a57[_0x18f495(0x435)][_0x18f495(0x293)](_0x50eb5c),{'pointsGroup':_0xe5d5d,'fill':_0x4be7ac||_0x20e8c2[_0x18f495(0x420)](_0x8a1a57[_0x18f495(0x56b)]['black'],0.2),'left':_0x233197,'top':_0x9c68ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18f495(0x444)]['push'](_0x5b0e29),this[_0x18f495(0x3ef)][_0x18f495(0x144)](_0x5b0e29,_0x473dea[_0x18f495(0x285)]);}[_0x16631f(0x2ed)](_0x52a2d1,_0x4a7140,_0x3067b8,_0x5c687e){const _0x5909cb=_0x16631f,_0x568463=new _0x8a1a57['ColorKit'](_0x52a2d1)[_0x5909cb(0x504)](0.2)[_0x5909cb(0x47e)](),_0x46cb00=new _0x20e8c2['RegularPolygon'](_0x55dc1a+_0x8a1a57[_0x5909cb(0x435)][_0x5909cb(0x293)](_0x50eb5c),{'pointsGroup':_0x4a7140,'fill':_0x568463||_0x20e8c2[_0x5909cb(0x420)](_0x8a1a57[_0x5909cb(0x56b)]['black'],0.2),'left':_0x3067b8,'top':_0x5c687e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5909cb(0x444)][_0x5909cb(0x203)](_0x46cb00),this['_scene'][_0x5909cb(0x144)](_0x46cb00,_0x473dea[_0x5909cb(0x285)]);}[_0x16631f(0x22b)](_0x36fb6d){const _0xcd2b1f=_0x36fb6d[0x0],_0x429894=_0xcd2b1f[0x0],_0x3c2186=_0xcd2b1f[0x2],{x:_0x4ac937,y:_0x59da05}=_0x429894,{x:_0x43eff2,y:_0x38ae28}=_0x3c2186;return{'left':_0x4ac937,'top':_0x59da05,'width':_0x43eff2-_0x4ac937,'height':_0x38ae28-_0x59da05};}['_getScale'](){const _0x505206=_0x16631f,{scaleX:_0x2cd04b,scaleY:_0x200fe4}=this[_0x505206(0x3ef)][_0x505206(0x1e9)]();return Math['max'](_0x2cd04b,_0x200fe4);}}var _0x41b970=Object['defineProperty'],_0x2d4a8f=Object[_0x16631f(0x57e)],_0x49b450=(_0xf19861,_0x3f1772,_0x51c014,_0x29d85b)=>{const _0x3a43b3=_0x16631f;for(var _0xc8df9e=_0x29d85b>0x1?void 0x0:_0x29d85b?_0x2d4a8f(_0x3f1772,_0x51c014):_0x3f1772,_0x22339e=_0xf19861[_0x3a43b3(0x272)]-0x1,_0x1f633d;_0x22339e>=0x0;_0x22339e--)(_0x1f633d=_0xf19861[_0x22339e])&&(_0xc8df9e=(_0x29d85b?_0x1f633d(_0x3f1772,_0x51c014,_0xc8df9e):_0x1f633d(_0xc8df9e))||_0xc8df9e);return _0x29d85b&&_0xc8df9e&&_0x41b970(_0x3f1772,_0x51c014,_0xc8df9e),_0xc8df9e;},_0xbe7f47=(_0x358eca,_0x1d0d43)=>(_0x477363,_0x3a41b6)=>_0x1d0d43(_0x477363,_0x3a41b6,_0x358eca);let _0x155007=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x297700,_0x3848bb,_0x4b8653,_0xbcf0db,_0x3f94da){const _0x358a20=_0x16631f;super(),_0x2a606e(this,_0x358a20(0x2e5),[]),_0x2a606e(this,_0x358a20(0x32f),[]),(this[_0x358a20(0x2c2)]=_0x297700,this[_0x358a20(0x465)]=_0x3848bb,this[_0x358a20(0x2d4)]=_0x4b8653,this[_0x358a20(0x475)]=_0xbcf0db,this[_0x358a20(0x14e)]=_0x3f94da,this['_init']());}[_0x16631f(0x36a)](){const _0x3248fe=_0x16631f,_0x503273=this[_0x3248fe(0x2c2)][_0x3248fe(0x151)],_0x2cf5b1=this[_0x3248fe(0x465)];this[_0x3248fe(0x14a)](_0x933215['combineLatest']([this[_0x3248fe(0x2d4)][_0x3248fe(0x190)](_0x503273),this['_themeService'][_0x3248fe(0x45f)]])['pipe'](_0x478e49[_0x3248fe(0x2ca)](([_0x29a9f0,_0x2aa9cd])=>({'skeleton':_0x2cf5b1[_0x3248fe(0x19c)](),'cursors':[..._0x29a9f0[_0x3248fe(0x1f3)]()][_0x3248fe(0x427)](_0xa1f421=>({..._0xa1f421,'color':_0x2aa9cd[_0xa1f421[_0x3248fe(0x384)]]}))})))['subscribe'](_0x11c0d3=>{const _0x3f42db=_0x3248fe;if(this[_0x3f42db(0x4ec)](),_0x11c0d3){const {skeleton:_0x114e85,cursors:_0x221db5}=_0x11c0d3;this[_0x3f42db(0x32a)](_0x114e85,_0x221db5);}})),this[_0x3248fe(0x181)](),this[_0x3248fe(0x15b)]();}['_updateCollabCursors'](_0x284d35,_0x3a7479){const _0x211917=_0x16631f,{scene:_0x485671,mainComponent:_0x523e58}=this[_0x211917(0x2c2)],_0x578d05=_0x3a7479[_0x211917(0x2ca)](_0x500387=>new _0x1e3e29(_0x500387,_0x485671,_0x284d35,_0x523e58));this[_0x211917(0x2e5)]=_0x578d05,this[_0x211917(0x32f)]=_0x3a7479;}[_0x16631f(0x104)](){const _0x5e38b5=_0x16631f;this['_removeCollabCursors']();const {scene:_0x5a5ad1,mainComponent:_0x139ff6}=this[_0x5e38b5(0x2c2)],_0x512856=this[_0x5e38b5(0x465)]['getSkeleton'](),_0x3f491a=this[_0x5e38b5(0x32f)][_0x5e38b5(0x2ca)](_0x380a1a=>new _0x1e3e29(_0x380a1a,_0x5a5ad1,_0x512856,_0x139ff6));this['_cursorShapes']=_0x3f491a;}[_0x16631f(0x4ec)](){const _0x1d2a36=_0x16631f;this['_cursorShapes']['forEach'](_0x3bd1fb=>_0x3bd1fb[_0x1d2a36(0x4a7)]()),this[_0x1d2a36(0x2e5)]=[];}['_initCommandExecutedListener'](){const _0x2d98d4=_0x16631f,_0x5c7530=[_0x473dea['SetDocZoomRatioOperation']['id']];this[_0x2d98d4(0x14a)](this[_0x2d98d4(0x475)]['onCommandExecuted'](_0x305674=>{const _0xca3711=_0x2d98d4;_0x5c7530[_0xca3711(0x41a)](_0x305674['id'])&&_0x305674['params'][_0xca3711(0x151)]===this[_0xca3711(0x2c2)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x16631f(0x181)](){const _0x351ba7=_0x16631f;this['disposeWithMe'](_0x8a1a57[_0x351ba7(0x399)](this[_0x351ba7(0x2c2)][_0x351ba7(0x3e1)]['onTransformChange$'])[_0x351ba7(0x4be)](_0x478e49[_0x351ba7(0x53f)](_0x17c490=>_0x17c490[_0x351ba7(0x49b)]===_0x20e8c2[_0x351ba7(0x59a)]['resize']),_0x478e49['throttleTime'](0x10))[_0x351ba7(0x42c)](()=>{const _0x295624=_0x351ba7;this[_0x295624(0x104)]();}));}};_0x155007=_0x49b450([_0xbe7f47(0x1,_0x8a1a57[_0x16631f(0x537)](_0x1d9e38[_0x16631f(0x27f)])),_0xbe7f47(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0xbe7f47(0x3,_0x8a1a57[_0x16631f(0x350)]),_0xbe7f47(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x5a8)]))],_0x155007);const _0x1375a3=0x1,_0x2a9aa8=1.5;class _0x2a2a49 extends _0x20e8c2[_0x16631f(0x383)]{constructor(_0x337609,_0x587d5a){const _0x5075f0=_0x16631f;super(_0x337609,_0x587d5a),_0x2a606e(this,_0x5075f0(0x491)),_0x2a606e(this,_0x5075f0(0x352),!0x1),_0x2a606e(this,_0x5075f0(0x1c9)),_0x2a606e(this,_0x5075f0(0x300),''),_0x2a606e(this,_0x5075f0(0x33f),_0x5075f0(0x20f)),_0x2a606e(this,_0x5075f0(0x1ed)),(_0x587d5a&&this['setShapeProps'](_0x587d5a),this[_0x5075f0(0x1b7)][_0x5075f0(0x4cc)](()=>this[_0x5075f0(0x58e)]({'hovered':!0x0})),this[_0x5075f0(0x38e)]['subscribeEvent'](()=>this[_0x5075f0(0x58e)]({'hovered':!0x1})));}[_0x16631f(0x58e)](_0x425029){const _0x33931f=_0x16631f;var _0x2c5647,_0x4a8bc7,_0x344431,_0x288387,_0x19440d,_0x1fbfca;this[_0x33931f(0x491)]=(_0x2c5647=_0x425029[_0x33931f(0x384)])!=null?_0x2c5647:this['_color'],this[_0x33931f(0x352)]=(_0x4a8bc7=_0x425029[_0x33931f(0x329)])!=null?_0x4a8bc7:this[_0x33931f(0x352)],this[_0x33931f(0x1c9)]=(_0x344431=_0x425029['range'])!=null?_0x344431:this[_0x33931f(0x1c9)],this['_name']=(_0x288387=_0x425029[_0x33931f(0x3be)])!=null?_0x288387:this['_name'],this[_0x33931f(0x33f)]=(_0x19440d=_0x425029['labelPosition'])!=null?_0x19440d:this[_0x33931f(0x33f)],this['_backgroundColor']=(_0x1fbfca=_0x425029[_0x33931f(0x35f)])!=null?_0x1fbfca:this[_0x33931f(0x1ed)],this['transformByState']({'width':_0x425029['width'],'height':_0x425029[_0x33931f(0x143)]});}[_0x16631f(0x5a0)](_0xf600ae){const _0x6fd1f=_0x16631f,{row:_0x1277cb,column:_0x22ba8f}=_0xf600ae;if(_0x1277cb>=this['_range'][_0x6fd1f(0x599)]&&_0x1277cb<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x39a)]&&_0x22ba8f>=this['_range'][_0x6fd1f(0x3d4)]&&_0x22ba8f<=this[_0x6fd1f(0x1c9)][_0x6fd1f(0x4e5)]){this[_0x6fd1f(0x58e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x421ae2){return!0x1;}[_0x16631f(0x2f5)](_0x4e15c9){const _0x5a0e18=_0x16631f;_0x20e8c2[_0x5a0e18(0x20d)]['drawWith'](_0x4e15c9,{'width':this[_0x5a0e18(0x261)],'height':this[_0x5a0e18(0x143)],'strokeWidth':_0x2a9aa8,'stroke':this[_0x5a0e18(0x491)],'evented':!0x1,'fill':this[_0x5a0e18(0x1ed)]}),this[_0x5a0e18(0x352)]&&(_0x4e15c9['save'](),_0x4e15c9[_0x5a0e18(0x182)](0x1,0x0,0x0,0x1,this[_0x5a0e18(0x261)],this[_0x5a0e18(0x33f)]==='bottom'?0x0:-_0x25bf11),_0xa8fdce[_0x5a0e18(0x138)](_0x4e15c9,{'text':this[_0x5a0e18(0x300)],'color':this[_0x5a0e18(0x491)]}),_0x4e15c9[_0x5a0e18(0x122)]());}}var _0x2378ae=Object['defineProperty'],_0x402823=Object[_0x16631f(0x57e)],_0x367ec0=(_0x5f528d,_0x4bc02c,_0x3a5022,_0x29cd2a)=>{const _0x2d33e8=_0x16631f;for(var _0x4fdcf5=_0x29cd2a>0x1?void 0x0:_0x29cd2a?_0x402823(_0x4bc02c,_0x3a5022):_0x4bc02c,_0x22ac0d=_0x5f528d[_0x2d33e8(0x272)]-0x1,_0xf72894;_0x22ac0d>=0x0;_0x22ac0d--)(_0xf72894=_0x5f528d[_0x22ac0d])&&(_0x4fdcf5=(_0x29cd2a?_0xf72894(_0x4bc02c,_0x3a5022,_0x4fdcf5):_0xf72894(_0x4fdcf5))||_0x4fdcf5);return _0x29cd2a&&_0x4fdcf5&&_0x2378ae(_0x4bc02c,_0x3a5022,_0x4fdcf5),_0x4fdcf5;},_0x26020b=(_0x51f9e6,_0x23a567)=>(_0x4f0cc5,_0x4ce40d)=>_0x23a567(_0x4f0cc5,_0x4ce40d,_0x51f9e6);const _0x3a7d47=0x1389;let _0x49e258=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x28ac40,_0x26b6b7,_0x55f6c8,_0x18ecc5){const _0x15093f=_0x16631f;super(),_0x2a606e(this,_0x15093f(0x32f),new Set()),_0x2a606e(this,'_lastPointer',null),(this['_context']=_0x28ac40,this[_0x15093f(0x3f2)]=_0x26b6b7,this[_0x15093f(0x2d4)]=_0x55f6c8,this[_0x15093f(0x14e)]=_0x18ecc5,this[_0x15093f(0x36a)]());}[_0x16631f(0x36a)](){const _0x1272c8=_0x16631f;this['_sheetSkeletonManagerService'][_0x1272c8(0x269)][_0x1272c8(0x4be)](_0x478e49[_0x1272c8(0x3d9)](this['dispose$']),_0x478e49[_0x1272c8(0x3e8)](_0x44b2fb=>{const _0x13380a=_0x1272c8;if(_0x44b2fb){const _0x4aa70e=_0x44b2fb['sheetId'];return _0x933215[_0x13380a(0x128)](this[_0x13380a(0x2d4)]['getCollabCursors$'](this[_0x13380a(0x2c2)][_0x13380a(0x151)]),this['_themeService']['currentTheme$'])[_0x13380a(0x4be)](_0x478e49['map'](([_0x1648a9,_0x1b612a])=>{const _0x392640=_0x13380a,_0x4ba819=new Map();return _0x1648a9[_0x392640(0x236)]((_0x1905e0,_0x2e8dab)=>{const _0x9850d1=_0x392640;if(_0x1905e0['sheetID']===_0x4aa70e){const _0x15785b={..._0x1905e0};_0x15785b[_0x9850d1(0x384)]=_0x1b612a[_0x1905e0[_0x9850d1(0x384)]],_0x4ba819['set'](_0x2e8dab,_0x15785b);}}),{'skeleton':_0x44b2fb,'cursors':_0x4ba819};}));}return _0x933215['of']({'skeleton':null,'cursors':new Map()});}))[_0x1272c8(0x42c)](({skeleton:_0x443f75,cursors:_0x2aeee2})=>{const _0x316fbe=_0x1272c8;this[_0x316fbe(0x4ec)](),_0x443f75&&this[_0x316fbe(0x32a)](_0x443f75,_0x2aeee2);}),this[_0x1272c8(0x3f2)][_0x1272c8(0x269)][_0x1272c8(0x42c)](_0x948fd0=>{const _0x45a30d=_0x1272c8;if(_0x948fd0==null)return;const {skeleton:_0xc7c56e}=_0x948fd0,{scene:_0x3aef1f}=this['_context'];_0x3aef1f[_0x45a30d(0x25f)][_0x45a30d(0x4cc)](_0x8a1a57['debounce'](_0x42c46e=>{const _0x152ec5=_0x45a30d;var _0x46b2d6,_0x1adfe1;const {offsetX:_0xcede42,offsetY:_0x5e3308}=_0x42c46e,{x:_0xe6b7ce,y:_0x2916b1}=_0x3aef1f[_0x152ec5(0x169)](_0x20e8c2[_0x152ec5(0x4da)][_0x152ec5(0x3ff)]([_0xcede42,_0x5e3308])),{scaleX:_0x3364df,scaleY:_0x3874c2}=_0x3aef1f[_0x152ec5(0x1e9)](),_0x1d5848=_0x3aef1f[_0x152ec5(0x1e5)](_0x3ba744[_0x152ec5(0x28b)]['VIEW_MAIN']),_0x1ae18a=_0x3aef1f[_0x152ec5(0x163)](_0x20e8c2[_0x152ec5(0x4da)]['FromArray']([_0xe6b7ce,_0x2916b1]),_0x1d5848),_0x528b5c=_0xc7c56e[_0x152ec5(0x4ba)](_0xcede42,_0x5e3308,_0x3364df,_0x3874c2,_0x1ae18a);((_0x46b2d6=this[_0x152ec5(0x13c)])==null?void 0x0:_0x46b2d6[_0x152ec5(0x413)])===_0x528b5c[_0x152ec5(0x413)]&&((_0x1adfe1=this['_lastPointer'])==null?void 0x0:_0x1adfe1[_0x152ec5(0x19b)])===_0x528b5c['row']||this[_0x152ec5(0x32f)][_0x152ec5(0x236)](_0x133b8b=>{const _0x48ce4=_0x152ec5;_0x133b8b[_0x48ce4(0x5a0)](_0x528b5c);});},0x64));});}[_0x16631f(0x32a)](_0x4b40b8,_0x5b7f4a){const _0x419f53=_0x16631f;var _0x4bccfd;const _0x55b4d7=(_0x4bccfd=this[_0x419f53(0x3f2)][_0x419f53(0x168)]())==null?void 0x0:_0x4bccfd[_0x419f53(0x49e)];if(!_0x55b4d7)return;const _0x483cad=this[_0x419f53(0x211)]();if(!_0x483cad)return;this[_0x419f53(0x32f)][_0x419f53(0x236)](_0x4f20a5=>{const _0x376d1d=_0x419f53;_0x4f20a5[_0x376d1d(0x4bb)]();});const {scene:_0x2ae405}=_0x483cad,_0x212b7d=_0x599b82(Array['from'](_0x5b7f4a[_0x419f53(0x1f3)]()))[_0x419f53(0x2ca)](_0x264b00=>{const _0xbe63a6=_0x419f53,{color:_0x28f869,range:_0x4235bb,name:_0x38fbee,selection:_0x2881bf,sheetID:_0x441ce0}=_0x264b00,{startColumn:_0x2c25e5,startRow:_0x40fd68,endColumn:_0x55a87d,endRow:_0x3b7019}=_0x4235bb,_0x109f3b=_0x3ba744['getCoordByCell'](_0x40fd68,_0x2c25e5,_0x2ae405,_0x55b4d7),_0x2a7adf=_0x3ba744['getCoordByCell'](_0x3b7019,_0x55a87d,_0x2ae405,_0x55b4d7),{columnHeaderHeightAndMarginTop:_0x47e3c2}=_0x55b4d7,{startX:_0x5e6344,startY:_0xbe0879}=_0x109f3b,{endX:_0x2a833c,endY:_0x478d82}=_0x2a7adf,_0x55be59=_0x2a833c-_0x5e6344,_0x22ac23=_0x478d82-_0xbe0879,_0xaaf372={'labelPosition':_0xbe0879-_0x47e3c2>=_0x25bf11?_0xbe63a6(0x20f):_0xbe63a6(0x1a7),'sheetID':_0x441ce0,'range':_0x4235bb,'color':_0x28f869,'name':_0x38fbee,'selection':_0x2881bf,'left':_0x5e6344,'top':_0xbe0879,'width':_0x55be59,'height':_0x22ac23,'evented':!0x1,'zIndex':_0x3a7d47};return new _0x2a2a49(_0x38fbee,_0xaaf372);});_0x2ae405[_0x419f53(0x50e)](_0x212b7d,_0x1375a3),this[_0x419f53(0x32f)]=new Set(_0x212b7d);}[_0x16631f(0x4ec)](){const _0xcfed43=_0x16631f;var _0x1b67ad;(_0x1b67ad=this['_cursors'])==null||_0x1b67ad[_0xcfed43(0x236)](_0x2ab83a=>_0x2ab83a[_0xcfed43(0x4a7)]());}[_0x16631f(0x211)](){const _0xc50510=_0x16631f;return _0x3ba744[_0xc50510(0x1b5)](this[_0xc50510(0x2c2)][_0xc50510(0x323)],this[_0xc50510(0x2c2)]);}};_0x49e258=_0x367ec0([_0x26020b(0x1,_0x8a1a57['Inject'](_0x3ba744[_0x16631f(0x267)])),_0x26020b(0x2,_0x8a1a57[_0x16631f(0x537)](_0xafbc5d)),_0x26020b(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['ThemeService']))],_0x49e258);function _0x599b82(_0x19b0e7){const _0x15ba69=_0x16631f,_0x2daba6=new Map();return _0x19b0e7[_0x15ba69(0x236)](_0x28b266=>{const _0x37b5d2=_0x15ba69;if(_0x2daba6[_0x37b5d2(0x295)](_0x28b266[_0x37b5d2(0x486)])){const _0x11e68f=_0x2daba6[_0x37b5d2(0x241)](_0x28b266[_0x37b5d2(0x486)]);_0x11e68f[_0x37b5d2(0x3be)]+=',\x20'+_0x28b266[_0x37b5d2(0x3be)];}else _0x2daba6[_0x37b5d2(0x41f)](_0x28b266[_0x37b5d2(0x486)],_0x28b266);}),Array['from'](_0x2daba6[_0x15ba69(0x1f3)]());}var _0x4b3743=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3c7ed0(_0x44afb3){const _0x59dba7=_0x16631f;return _0x44afb3&&_0x44afb3['__esModule']&&Object[_0x59dba7(0x5b2)][_0x59dba7(0x2c0)][_0x59dba7(0x3b4)](_0x44afb3,_0x59dba7(0x4e9))?_0x44afb3[_0x59dba7(0x4e9)]:_0x44afb3;}var _0x319b01={'exports':{}},_0x2003bc={},_0x344504=_0x5e80f5,_0x1dc1e7=Symbol[_0x16631f(0x3ee)]('react.element'),_0x46ab57=Symbol['for'](_0x16631f(0x543)),_0x26ad67=Object['prototype'][_0x16631f(0x2c0)],_0x5e4779=_0x344504['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x16631f(0x372)],_0x4b3131={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x58faa8(_0x159d7b,_0x21651f,_0x4b69aa){const _0x15f569=_0x16631f;var _0x21b03a,_0x3cae9c={},_0x21407c=null,_0x29342f=null;_0x4b69aa!==void 0x0&&(_0x21407c=''+_0x4b69aa),_0x21651f[_0x15f569(0x3a2)]!==void 0x0&&(_0x21407c=''+_0x21651f['key']),_0x21651f[_0x15f569(0x355)]!==void 0x0&&(_0x29342f=_0x21651f[_0x15f569(0x355)]);for(_0x21b03a in _0x21651f)_0x26ad67[_0x15f569(0x3b4)](_0x21651f,_0x21b03a)&&!_0x4b3131['hasOwnProperty'](_0x21b03a)&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);if(_0x159d7b&&_0x159d7b['defaultProps']){for(_0x21b03a in(_0x21651f=_0x159d7b['defaultProps'],_0x21651f))_0x3cae9c[_0x21b03a]===void 0x0&&(_0x3cae9c[_0x21b03a]=_0x21651f[_0x21b03a]);}return{'$$typeof':_0x1dc1e7,'type':_0x159d7b,'key':_0x21407c,'ref':_0x29342f,'props':_0x3cae9c,'_owner':_0x5e4779['current']};}_0x2003bc['Fragment']=_0x46ab57,_0x2003bc[_0x16631f(0x1be)]=_0x58faa8,_0x2003bc[_0x16631f(0x405)]=_0x58faa8,_0x319b01['exports']=_0x2003bc;var _0x2e11ad=_0x319b01[_0x16631f(0x50a)],_0x513090=function(){const _0x4f46fe=_0x16631f;return _0x513090=Object['assign']||function(_0x266ebb){const _0x2b79b2=_0x586f;for(var _0x5f24ed,_0x134392=0x1,_0x4a798f=arguments[_0x2b79b2(0x272)];_0x134392<_0x4a798f;_0x134392++){_0x5f24ed=arguments[_0x134392];for(var _0x3fa689 in _0x5f24ed)Object['prototype']['hasOwnProperty'][_0x2b79b2(0x3b4)](_0x5f24ed,_0x3fa689)&&(_0x266ebb[_0x3fa689]=_0x5f24ed[_0x3fa689]);}return _0x266ebb;},_0x513090[_0x4f46fe(0x480)](this,arguments);},_0x4590bf=function(_0x174906,_0x3a130f){const _0x27c49b=_0x16631f;var _0x1c1246={};for(var _0x50541f in _0x174906)Object[_0x27c49b(0x5b2)][_0x27c49b(0x2c0)][_0x27c49b(0x3b4)](_0x174906,_0x50541f)&&_0x3a130f['indexOf'](_0x50541f)<0x0&&(_0x1c1246[_0x50541f]=_0x174906[_0x50541f]);if(_0x174906!=null&&typeof Object['getOwnPropertySymbols']==_0x27c49b(0x445)){for(var _0x4b1fad=0x0,_0x50541f=Object[_0x27c49b(0x2e7)](_0x174906);_0x4b1fad<_0x50541f[_0x27c49b(0x272)];_0x4b1fad++)_0x3a130f[_0x27c49b(0x222)](_0x50541f[_0x4b1fad])<0x0&&Object['prototype'][_0x27c49b(0x3c6)][_0x27c49b(0x3b4)](_0x174906,_0x50541f[_0x4b1fad])&&(_0x1c1246[_0x50541f[_0x4b1fad]]=_0x174906[_0x50541f[_0x4b1fad]]);}return _0x1c1246;},_0x584bc7=_0x5e80f5[_0x16631f(0x4bc)](function(_0x109b31,_0x50d19f){const _0x460667=_0x16631f;var _0x5e7d70=_0x109b31[_0x460667(0x592)],_0x499e46=_0x109b31['id'],_0x5f36e9=_0x109b31[_0x460667(0x12c)],_0x39c070=_0x109b31[_0x460667(0x279)],_0x447b07=_0x4590bf(_0x109b31,['icon','id','className',_0x460667(0x279)]),_0xcdaaee=_0x460667(0x4f4)['concat'](_0x499e46,'\x20')[_0x460667(0x40b)](_0x5f36e9||'')['trim'](),_0x71a5b3=_0x5e80f5['useRef']('_'[_0x460667(0x40b)](_0x558e0d()));return _0x5f0f57(_0x5e7d70,''[_0x460667(0x40b)](_0x499e46),{'defIds':_0x5e7d70[_0x460667(0x5a3)],'idSuffix':_0x71a5b3[_0x460667(0x3bf)]},_0x513090({'ref':_0x50d19f,'className':_0xcdaaee},_0x447b07),_0x39c070);});function _0x5f0f57(_0xfcaaa1,_0xa075f8,_0x160f52,_0x5ef271,_0x13af68){const _0x419af3=_0x16631f;return _0x5e80f5['createElement'](_0xfcaaa1[_0x419af3(0x2ef)],_0x513090(_0x513090({'key':_0xa075f8},_0x164cc8(_0xfcaaa1,_0x160f52,_0x13af68)),_0x5ef271),(_0x4d8c11(_0xfcaaa1,_0x160f52)[_0x419af3(0x20e)]||[])[_0x419af3(0x2ca)](function(_0xaccba,_0x2c768f){const _0xaacc38=_0x419af3;return _0x5f0f57(_0xaccba,''[_0xaacc38(0x40b)](_0xa075f8,'-')['concat'](_0xfcaaa1[_0xaacc38(0x2ef)],'-')[_0xaacc38(0x40b)](_0x2c768f),_0x160f52,void 0x0,_0x13af68);}));}function _0x164cc8(_0x46544a,_0x9b3cb2,_0x1ae14e){const _0x382830=_0x16631f;var _0x3d2b20=_0x513090({},_0x46544a[_0x382830(0x217)]);_0x1ae14e!=null&&_0x1ae14e['colorChannel1']&&_0x3d2b20[_0x382830(0x19e)]===_0x382830(0x555)&&(_0x3d2b20['fill']=_0x1ae14e[_0x382830(0x555)]);var _0x3b11af=_0x9b3cb2[_0x382830(0x5a3)];return!_0x3b11af||_0x3b11af[_0x382830(0x272)]===0x0||(_0x46544a[_0x382830(0x2ef)]===_0x382830(0x326)&&_0x3d2b20[_0x382830(0x2c9)]&&(_0x3d2b20['xlink:href']=_0x3d2b20[_0x382830(0x2c9)]+_0x9b3cb2[_0x382830(0x5a4)]),Object[_0x382830(0x3d8)](_0x3d2b20)[_0x382830(0x236)](function(_0x8bcb20){const _0x3143cf=_0x382830;var _0x2b2b35=_0x8bcb20[0x0],_0xa6bf88=_0x8bcb20[0x1];typeof _0xa6bf88==_0x3143cf(0x18e)&&(_0x3d2b20[_0x2b2b35]=_0xa6bf88[_0x3143cf(0x1e1)](/url\(#(.*)\)/,_0x3143cf(0x415)[_0x3143cf(0x40b)](_0x9b3cb2[_0x3143cf(0x5a4)],')')));})),_0x3d2b20;}function _0x4d8c11(_0x399eab,_0x18e71a){const _0x527368=_0x16631f;var _0x54d1a1,_0x27712d=_0x18e71a[_0x527368(0x5a3)];return!_0x27712d||_0x27712d['length']===0x0?_0x399eab:_0x399eab[_0x527368(0x2ef)]===_0x527368(0x4f3)&&(!((_0x54d1a1=_0x399eab['children'])===null||_0x54d1a1===void 0x0)&&_0x54d1a1[_0x527368(0x272)])?_0x513090(_0x513090({},_0x399eab),{'children':_0x399eab['children'][_0x527368(0x2ca)](function(_0x54e3e){const _0x6224f2=_0x527368;return typeof _0x54e3e['attrs']['id']==_0x6224f2(0x18e)&&_0x27712d&&_0x27712d[_0x6224f2(0x222)](_0x54e3e[_0x6224f2(0x217)]['id'])>-0x1?_0x513090(_0x513090({},_0x54e3e),{'attrs':_0x513090(_0x513090({},_0x54e3e[_0x6224f2(0x217)]),{'id':_0x54e3e['attrs']['id']+_0x18e71a['idSuffix']})}):_0x54e3e;})}):_0x399eab;}function _0x558e0d(){const _0x1b7f7d=_0x16631f;return Math[_0x1b7f7d(0x2bf)]()[_0x1b7f7d(0x3a4)](0x24)[_0x1b7f7d(0x51b)](0x2,0x8);}_0x584bc7['displayName']='UniverIcon';var _0x27ca20={'tag':_0x16631f(0x2a2),'attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x597),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x16631f(0x12e),'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':_0x16631f(0x55e),'strokeLinejoin':_0x16631f(0x55e),'strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16631f(0x1fb)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x16631f(0x1fb)]},_0x130350=_0x5e80f5['forwardRef'](function(_0x290c4f,_0x4aba7e){const _0x430c62=_0x16631f;return _0x5e80f5[_0x430c62(0x3aa)](_0x584bc7,Object[_0x430c62(0x28f)]({},_0x290c4f,{'id':_0x430c62(0x364),'ref':_0x4aba7e,'icon':_0x27ca20}));});_0x130350[_0x16631f(0x2b5)]=_0x16631f(0x28a);var _0x5ca375={'tag':'svg','attrs':{'fill':_0x16631f(0x580),'viewBox':_0x16631f(0x335),'width':_0x16631f(0x48c),'height':_0x16631f(0x48c)},'children':[{'tag':'g','attrs':{'clipPath':_0x16631f(0x1fe)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x16631f(0x55e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16631f(0x4f3),'attrs':{},'children':[{'tag':_0x16631f(0x1af),'attrs':{'id':_0x16631f(0x56f)},'children':[{'tag':_0x16631f(0x2a0),'attrs':{'fill':_0x16631f(0x498),'d':_0x16631f(0x509),'transform':_0x16631f(0x52b)}}]}]}],'defIds':[_0x16631f(0x56f)]},_0x75be14=_0x5e80f5['forwardRef'](function(_0x31ae6b,_0xbe5af){const _0x182e3d=_0x16631f;return _0x5e80f5['createElement'](_0x584bc7,Object[_0x182e3d(0x28f)]({},_0x31ae6b,{'id':_0x182e3d(0x3bc),'ref':_0xbe5af,'icon':_0x5ca375}));});_0x75be14[_0x16631f(0x2b5)]='OnLineSingle';function _0x44272a(_0x186136){const _0x2cfa68=_0x16631f;var _0x4c06a8,_0x12222f,_0x122937='';if(typeof _0x186136==_0x2cfa68(0x18e)||typeof _0x186136==_0x2cfa68(0x3f6))_0x122937+=_0x186136;else{if(typeof _0x186136==_0x2cfa68(0x3ca)){if(Array[_0x2cfa68(0x2e1)](_0x186136)){var _0x4128af=_0x186136[_0x2cfa68(0x272)];for(_0x4c06a8=0x0;_0x4c06a8<_0x4128af;_0x4c06a8++)_0x186136[_0x4c06a8]&&(_0x12222f=_0x44272a(_0x186136[_0x4c06a8]))&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}else{for(_0x12222f in _0x186136)_0x186136[_0x12222f]&&(_0x122937&&(_0x122937+='\x20'),_0x122937+=_0x12222f);}}}return _0x122937;}function _0xa465d3(){const _0x5d763c=_0x16631f;for(var _0x46dc51,_0x175855,_0x299a35=0x0,_0x2dfc0f='',_0x14f43f=arguments[_0x5d763c(0x272)];_0x299a35<_0x14f43f;_0x299a35++)(_0x46dc51=arguments[_0x299a35])&&(_0x175855=_0x44272a(_0x46dc51))&&(_0x2dfc0f&&(_0x2dfc0f+='\x20'),_0x2dfc0f+=_0x175855);return _0x2dfc0f;}const _0xd3f094={'onlineStatusIcon':_0x16631f(0x41b),'onlineStatusTitle':_0x16631f(0x2b8),'onlineStatus':_0x16631f(0x2f2),'online':_0x16631f(0x412),'offline':_0x16631f(0x45e)};function _0x3a6f3b(_0xc2eecf){const _0x4ddea8=_0x16631f;switch(_0xc2eecf){case _0x5d61dc[_0x4ddea8(0x106)]:return'collabStatus.offline';case _0x5d61dc[_0x4ddea8(0x3a3)]:return _0x4ddea8(0x19a);case _0x5d61dc[_0x4ddea8(0x3f4)]:return _0x4ddea8(0x341);case _0x5d61dc[_0x4ddea8(0x3f1)]:return'collabStatus.notCollab';case _0x5d61dc['AWAITING']:case _0x5d61dc[_0x4ddea8(0x5ae)]:return'collabStatus.syncing';case _0x5d61dc[_0x4ddea8(0x48b)]:case _0x5d61dc[_0x4ddea8(0x487)]:return _0x4ddea8(0x178);}}function _0x39447f(_0x674d19){const _0x1385de=_0x16631f,{status$:_0x249510}=_0x674d19,_0x18015a=_0x4b60ff[_0x1385de(0x167)](_0x249510,_0x5d61dc['NOT_COLLAB']),_0x4ad5d6=_0x8a1a57[_0x1385de(0x4a9)](_0x8a1a57[_0x1385de(0x1f4)]),_0xc449ad=_0x8a1a57[_0x1385de(0x4a9)](_0x2728bd['CollaborationSessionService']),_0x574476=_0x18015a!==_0x5d61dc[_0x1385de(0x106)],_0x522a0d=_0x4ad5d6['t'](_0x3a6f3b(_0x18015a)),_0x2df7ed=_0xa465d3(_0xd3f094[_0x1385de(0x1cd)],{[_0xd3f094[_0x1385de(0xf3)]]:_0x574476,[_0xd3f094[_0x1385de(0x21f)]]:!_0x574476}),_0x3dc74f=_0x574476?_0x2e11ad[_0x1385de(0x1be)](_0x75be14,{}):_0x2e11ad[_0x1385de(0x1be)](_0x130350,{}),_0x537e08=_0x5e80f5['useCallback'](()=>{const _0x32489d=_0x1385de;_0x574476||_0xc449ad[_0x32489d(0x1cc)]();},[_0x574476,_0xc449ad]);function _0xd1f25(){const _0x421fc8=_0x1385de;return _0x2e11ad[_0x421fc8(0x405)](_0x421fc8(0x4e3),{'className':_0x2df7ed,'onClick':_0x537e08,'children':[_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094['onlineStatusIcon'],'children':_0x3dc74f}),_0x2e11ad[_0x421fc8(0x1be)](_0x421fc8(0x4e3),{'className':_0xd3f094[_0x421fc8(0x5b5)],'children':_0x522a0d})]});}return _0x574476?_0xd1f25():_0x2e11ad[_0x1385de(0x1be)](_0x731a74[_0x1385de(0x353)],{'title':_0x4ad5d6['t'](_0x1385de(0x187)),'children':_0xd1f25()});}var _0x254e5a=Object[_0x16631f(0x162)],_0x3a2e51=Object[_0x16631f(0x57e)],_0x2853c7=(_0x2ae2e9,_0x5364fc,_0x3f2d63,_0x1adb27)=>{for(var _0x403c29=_0x1adb27>0x1?void 0x0:_0x1adb27?_0x3a2e51(_0x5364fc,_0x3f2d63):_0x5364fc,_0x42fcd0=_0x2ae2e9['length']-0x1,_0x24196e;_0x42fcd0>=0x0;_0x42fcd0--)(_0x24196e=_0x2ae2e9[_0x42fcd0])&&(_0x403c29=(_0x1adb27?_0x24196e(_0x5364fc,_0x3f2d63,_0x403c29):_0x24196e(_0x403c29))||_0x403c29);return _0x1adb27&&_0x403c29&&_0x254e5a(_0x5364fc,_0x3f2d63,_0x403c29),_0x403c29;},_0x50ef1a=(_0x3cfa03,_0x2ddfa0)=>(_0xd926ec,_0x3eacf9)=>_0x2ddfa0(_0xd926ec,_0x3eacf9,_0x3cfa03);_0x2728bd[_0x16631f(0x3ce)]=class extends _0x8a1a57['Disposable']{constructor(_0x51d2b3,_0x35255f,_0x4a615b,_0x19bbd0){const _0x3a20d4=_0x16631f;super(),_0x2a606e(this,'_status$',new _0x933215[(_0x3a20d4(0x1fd))](_0x5d61dc[_0x3a20d4(0x3f1)])),(this[_0x3a20d4(0x3e7)]=_0x51d2b3,this[_0x3a20d4(0x24e)]=_0x35255f,this[_0x3a20d4(0x264)]=_0x4a615b,this[_0x3a20d4(0x28e)]=_0x19bbd0,this[_0x3a20d4(0x51e)](),this[_0x3a20d4(0x1ec)]());}[_0x16631f(0x1ec)](){const _0x514f13=_0x16631f;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x514f13(0x4be)](_0x933215[_0x514f13(0x3e8)](()=>{const _0x4f06c7=_0x514f13,_0x554a2b=this[_0x4f06c7(0x3e7)][_0x4f06c7(0x328)]();return _0x554a2b?this['_collaborationController'][_0x4f06c7(0x3f5)](_0x554a2b[_0x4f06c7(0x4ed)]()):_0x933215['of'](null);}),_0x933215[_0x514f13(0x3e8)](_0xcf7f04=>_0xcf7f04?_0xcf7f04[_0x514f13(0x48f)]:_0x933215['of'](_0x5d61dc[_0x514f13(0x3f1)])))['subscribe'](_0x130ac5=>{const _0x5dccc5=_0x514f13;this[_0x5dccc5(0x1d0)]['next'](_0x130ac5);}));}[_0x16631f(0x51e)](){const _0x1a0538=_0x16631f;this[_0x1a0538(0x14a)](this['_uiPartsService'][_0x1a0538(0x46a)](_0x4b60ff[_0x1a0538(0x1a8)][_0x1a0538(0x1b2)],()=>_0x8a1a57[_0x1a0538(0x342)](_0x375bfe({'status$':this[_0x1a0538(0x1d0)][_0x1a0538(0x525)]()}),this[_0x1a0538(0x264)])));}},_0x2728bd['DesktopCollaborationStatusDisplayController']=_0x2853c7([_0x50ef1a(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50ef1a(0x1,_0x4b60ff[_0x16631f(0x1a6)]),_0x50ef1a(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x50ef1a(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x433)]))],_0x2728bd[_0x16631f(0x3ce)]);function _0x375bfe(_0x32000a){const {status$:_0x2b27cb}=_0x32000a;return function(){const _0x5b594f=_0x586f;return _0x2e11ad[_0x5b594f(0x1be)](_0x39447f,{'status$':_0x2b27cb});};}const _0x38da0e=_0x8a1a57[_0x16631f(0x27b)](_0x16631f(0x213));var _0x2529cc=Object[_0x16631f(0x162)],_0x82d09a=Object[_0x16631f(0x57e)],_0x1bd685=(_0x4f437d,_0x276580,_0x4b5a5d,_0x489e8b)=>{for(var _0x5460bf=_0x489e8b>0x1?void 0x0:_0x489e8b?_0x82d09a(_0x276580,_0x4b5a5d):_0x276580,_0x3c1e76=_0x4f437d['length']-0x1,_0x607363;_0x3c1e76>=0x0;_0x3c1e76--)(_0x607363=_0x4f437d[_0x3c1e76])&&(_0x5460bf=(_0x489e8b?_0x607363(_0x276580,_0x4b5a5d,_0x5460bf):_0x607363(_0x5460bf))||_0x5460bf);return _0x489e8b&&_0x5460bf&&_0x2529cc(_0x276580,_0x4b5a5d,_0x5460bf),_0x5460bf;},_0x4274c4=(_0x236159,_0x43fbe0)=>(_0x1b09d7,_0x30009b)=>_0x43fbe0(_0x1b09d7,_0x30009b,_0x236159);_0x2728bd['DataLoaderController']=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x2b8822,_0x299ed3,_0x124cb7,_0x437a1a,_0x2655ff,_0x2568ac){const _0x375301=_0x16631f;super(),this['_urlService']=_0x2b8822,this[_0x375301(0x515)]=_0x299ed3,this[_0x375301(0x475)]=_0x124cb7,this[_0x375301(0x48e)]=_0x437a1a,this[_0x375301(0x5b6)]=_0x2655ff,_0x2568ac?_0x2568ac==null||_0x2568ac[_0x375301(0x16d)]()[_0x375301(0x566)](()=>this[_0x375301(0x36a)]()):(this[_0x375301(0x515)][_0x375301(0x22a)](_0x375301(0x12b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x375301(0x36a)]());}async['_init'](){const _0x20bc92=_0x16631f,_0x2a82e4=this['_urlService']['getParam'](_0x20bc92(0x323)),_0x37b9cc=this[_0x20bc92(0x290)][_0x20bc92(0x11b)]('type');if(!_0x2a82e4||!_0x37b9cc){this[_0x20bc92(0x515)][_0x20bc92(0x22a)]('[DataLoaderController]',_0x20bc92(0x3ad));return;}switch(Number(_0x37b9cc)){case _0x4a6b81['UNIVER_SHEET']:{const _0x3c3ef1=await this[_0x20bc92(0x3a6)](_0x2a82e4);this[_0x20bc92(0x145)](_0x3c3ef1);break;}case _0x4a6b81[_0x20bc92(0x327)]:{await this['_loadDoc'](_0x2a82e4);break;}default:{this[_0x20bc92(0x515)][_0x20bc92(0x1df)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x16631f(0x145)](_0x10c9c0){const _0x74b70e=_0x16631f;await this['_updateSubUnitFromURLParams'](_0x10c9c0),_0x10c9c0['activeSheet$'][_0x74b70e(0x4be)](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](_0x1e7e50=>{const _0x412742=_0x74b70e;_0x1e7e50&&this[_0x412742(0x4eb)](_0x1e7e50);}),this['_urlService'][_0x74b70e(0x497)]['pipe'](_0x933215[_0x74b70e(0x3d9)](this[_0x74b70e(0x42d)]))[_0x74b70e(0x42c)](()=>this['_updateSubUnitFromURLParams'](_0x10c9c0));}[_0x16631f(0x4eb)](_0x48e3d8,_0x10f806=!0x1){const _0x42536f=_0x16631f,_0x3d5bfb=this[_0x42536f(0x290)][_0x42536f(0x11b)](_0x42536f(0x481));_0x48e3d8[_0x42536f(0x3fb)]()!==_0x3d5bfb&&this[_0x42536f(0x290)][_0x42536f(0x1de)](_0x42536f(0x481),_0x48e3d8[_0x42536f(0x3fb)](),_0x10f806);}async[_0x16631f(0x3cd)](_0x46c46f){const _0x32080f=_0x16631f;var _0x5dd7b4;const _0x5e737c=this[_0x32080f(0x290)]['getParam'](_0x32080f(0x481));if(!_0x5e737c||!_0x46c46f[_0x32080f(0x177)](_0x5e737c)){const _0x5d6d74=_0x46c46f[_0x32080f(0x31a)]()[0x0],_0x6521ac=_0x46c46f[_0x32080f(0x177)](_0x5d6d74);if(!_0x6521ac)return;this[_0x32080f(0x4eb)](_0x6521ac,!0x0),await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5d6d74});return;}((_0x5dd7b4=_0x46c46f[_0x32080f(0x23a)]())==null?void 0x0:_0x5dd7b4['getSheetId']())!==_0x5e737c&&await this[_0x32080f(0x475)][_0x32080f(0x564)](_0x46f63a[_0x32080f(0x3bd)]['id'],{'unitId':_0x46c46f['getUnitId'](),'subUnitId':_0x5e737c});}async[_0x16631f(0x3a6)](_0x46e4de){const _0x299cf8=_0x16631f;let _0x505e5a=0x0;const _0x2d710c=await this['_localCacheService'][_0x299cf8(0x3ae)](_0x46e4de);return _0x2d710c&&(_0x2d710c['awaitingChangeset']||_0x2d710c[_0x299cf8(0x1ce)][_0x299cf8(0x272)]!==0x0)&&(_0x505e5a=_0x2d710c[_0x299cf8(0x454)]),_0x505e5a===0x0&&this[_0x299cf8(0x515)][_0x299cf8(0x22a)](_0x299cf8(0x12b),_0x299cf8(0x251)),this[_0x299cf8(0x5b6)][_0x299cf8(0x14b)](_0x46e4de,_0x505e5a);}async[_0x16631f(0x3c1)](_0x17253f){const _0x124b6b=_0x16631f;let _0x303085=0x0;const _0x15da08=await this[_0x124b6b(0x48e)]['loadOfflineData'](_0x17253f);return _0x15da08&&(_0x15da08[_0x124b6b(0x58b)]||_0x15da08['mutations'][_0x124b6b(0x272)]!==0x0)&&(_0x303085=_0x15da08[_0x124b6b(0x454)]),_0x303085===0x0&&this[_0x124b6b(0x515)][_0x124b6b(0x22a)](_0x124b6b(0x12b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x124b6b(0x5b6)][_0x124b6b(0x2a4)](_0x17253f,_0x303085);}},_0x2728bd[_0x16631f(0x296)]=_0x1bd685([_0x4274c4(0x0,_0x38da0e),_0x4274c4(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x4274c4(0x2,_0x8a1a57[_0x16631f(0x350)]),_0x4274c4(0x3,_0x8a1a57['Inject'](_0x2728bd['LocalCacheService'])),_0x4274c4(0x4,_0x8a1a57[_0x16631f(0x537)](_0x27cfd8[_0x16631f(0x522)])),_0x4274c4(0x5,_0x8a1a57[_0x16631f(0x1c1)](_0x6cb789['IRemoteInstanceService']))],_0x2728bd[_0x16631f(0x296)]);var _0x4c21f4=Object['defineProperty'],_0x1fbe04=Object['getOwnPropertyDescriptor'],_0x4d421d=(_0xcc45de,_0xa5f209,_0x396e4a,_0x2f7f78)=>{for(var _0x720e5e=_0x2f7f78>0x1?void 0x0:_0x2f7f78?_0x1fbe04(_0xa5f209,_0x396e4a):_0xa5f209,_0x4b104d=_0xcc45de['length']-0x1,_0x35442b;_0x4b104d>=0x0;_0x4b104d--)(_0x35442b=_0xcc45de[_0x4b104d])&&(_0x720e5e=(_0x2f7f78?_0x35442b(_0xa5f209,_0x396e4a,_0x720e5e):_0x35442b(_0x720e5e))||_0x720e5e);return _0x2f7f78&&_0x720e5e&&_0x4c21f4(_0xa5f209,_0x396e4a,_0x720e5e),_0x720e5e;},_0x978750=(_0x16c4be,_0x5cc421)=>(_0x142e57,_0x52dd21)=>_0x5cc421(_0x142e57,_0x52dd21,_0x16c4be);const _0x375672='DEFAULT_FILE_NAME',_0x101f72='Univer';let _0x21377e=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x2a77f4,_0x328bd5){const _0x2000b4=_0x16631f;super(),this['_univerInstanceService']=_0x2a77f4,this[_0x2000b4(0x31f)]=_0x328bd5,this['_init']();}[_0x16631f(0x36a)](){const _0x152988=_0x16631f;this[_0x152988(0x14a)](this[_0x152988(0x3e7)][_0x152988(0x470)][_0x152988(0x42c)](()=>{const _0xf435a4=_0x152988;var _0x4ec161;const _0x137ff9=this[_0xf435a4(0x3e7)][_0xf435a4(0x328)]();let _0x39d6fc=(_0x4ec161=this['_configService'][_0xf435a4(0xfd)](_0x375672))!=null?_0x4ec161:_0x101f72;_0x137ff9 instanceof _0x8a1a57[_0xf435a4(0x496)]&&(_0x39d6fc=_0x137ff9['name']),document['title']=_0x39d6fc;}));}};_0x21377e=_0x4d421d([_0x978750(0x0,_0x8a1a57['IUniverInstanceService']),_0x978750(0x1,_0x8a1a57[_0x16631f(0x4f9)])],_0x21377e);var _0x4a730e=Object[_0x16631f(0x162)],_0x570ec1=Object['getOwnPropertyDescriptor'],_0x3461a4=(_0x2e2bb6,_0x36e4da,_0x5cc016,_0x25e3d5)=>{for(var _0x6e28b3=_0x25e3d5>0x1?void 0x0:_0x25e3d5?_0x570ec1(_0x36e4da,_0x5cc016):_0x36e4da,_0xc814d8=_0x2e2bb6['length']-0x1,_0x16907c;_0xc814d8>=0x0;_0xc814d8--)(_0x16907c=_0x2e2bb6[_0xc814d8])&&(_0x6e28b3=(_0x25e3d5?_0x16907c(_0x36e4da,_0x5cc016,_0x6e28b3):_0x16907c(_0x6e28b3))||_0x6e28b3);return _0x25e3d5&&_0x6e28b3&&_0x4a730e(_0x36e4da,_0x5cc016,_0x6e28b3),_0x6e28b3;},_0x28af1b=(_0x1118e5,_0x2267db)=>(_0xe362a,_0x1d755f)=>_0x2267db(_0xe362a,_0x1d755f,_0x1118e5);let _0x503962=class{constructor(_0x74dcca,_0x3796d4,_0x149669){const _0x17e114=_0x16631f;this[_0x17e114(0x31f)]=_0x74dcca,this[_0x17e114(0x23f)]=_0x3796d4,this[_0x17e114(0x473)]=_0x149669,this[_0x17e114(0x299)]();}['init'](){const _0x30805a=_0x16631f;this[_0x30805a(0x23f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x41f342,_0x237513)=>_0x237513(_0x41f342)[_0x30805a(0x4be)](_0x933215[_0x30805a(0x1fa)](async _0x42f1ab=>{const _0x4b493e=_0x30805a,_0x4f8ca=_0x42f1ab;if(_0x4f8ca[_0x4b493e(0x536)]===0x191&&window[_0x4b493e(0x14d)](this[_0x4b493e(0x473)]['t']('auth.needGotoLoginAlert'))){const _0x4db97f=window['encodeURIComponent'](window[_0x4b493e(0x219)][_0x4b493e(0x147)]);window[_0x4b493e(0x219)][_0x4b493e(0x147)]=this[_0x4b493e(0x386)]()+'?url='+_0x4db97f;}return _0x4f8ca;}))});}[_0x16631f(0x386)](){const _0x4a89c6=_0x16631f;var _0x6c5c9,_0x4e37b7;const _0x1ff1b7=this[_0x4a89c6(0x31f)]['getConfig'](_0x1da8a5),_0x4c9404=this[_0x4a89c6(0x31f)][_0x4a89c6(0xfd)](_0x132856);return(_0x4e37b7=(_0x6c5c9=_0x4c9404==null?void 0x0:_0x4c9404[_0x4a89c6(0xf0)])!=null?_0x6c5c9:_0x1ff1b7)!=null?_0x4e37b7:_0x4638d3;}};_0x503962=_0x3461a4([_0x28af1b(0x0,_0x8a1a57[_0x16631f(0x4f9)]),_0x28af1b(0x1,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)])),_0x28af1b(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x503962);var _0x2aef65=Object[_0x16631f(0x162)],_0x1699f3=Object['getOwnPropertyDescriptor'],_0x1253f6=(_0x387392,_0x4221c6,_0x869603,_0x592877)=>{const _0x46a529=_0x16631f;for(var _0x2a80ad=_0x592877>0x1?void 0x0:_0x592877?_0x1699f3(_0x4221c6,_0x869603):_0x4221c6,_0x18247e=_0x387392[_0x46a529(0x272)]-0x1,_0x595ecd;_0x18247e>=0x0;_0x18247e--)(_0x595ecd=_0x387392[_0x18247e])&&(_0x2a80ad=(_0x592877?_0x595ecd(_0x4221c6,_0x869603,_0x2a80ad):_0x595ecd(_0x2a80ad))||_0x2a80ad);return _0x592877&&_0x2a80ad&&_0x2aef65(_0x4221c6,_0x869603,_0x2a80ad),_0x2a80ad;},_0x248375=(_0x22c340,_0x54809b)=>(_0x180225,_0x2b8c06)=>_0x54809b(_0x180225,_0x2b8c06,_0x22c340);const _0x360662=_0x16631f(0x376),_0x52797d=_0x16631f(0x524);_0x2728bd[_0x16631f(0x283)]=class extends _0x8a1a57[_0x16631f(0x490)]{constructor(_0x242184,_0x56f3fc){const _0x4230ea=_0x16631f;super(),this['_HTTPService']=_0x242184,this[_0x4230ea(0x31f)]=_0x56f3fc,this[_0x4230ea(0x340)]();}[_0x16631f(0x340)](){const _0x433539=_0x16631f,_0x305622=this;this[_0x433539(0x14a)](this[_0x433539(0x142)][_0x433539(0x118)]({'priority':0x3e7,'interceptor':_0x547ebe[_0x433539(0x191)]({'isMatch'(_0x44c1c4){const _0x318a57=_0x433539;var _0x1e4fa4;if(_0x44c1c4['method']===_0x318a57(0x528)&&((_0x1e4fa4=_0x44c1c4[_0x318a57(0x263)])!=null&&_0x1e4fa4[_0x318a57(0x50c)])){const {objectID:_0x5e5dff,objectType:_0x508dce}=_0x44c1c4['requestParams'][_0x318a57(0x50c)]||{};if(!_0x5e5dff||_0x508dce===void 0x0)return!0x1;const _0x16e16a=_0x305622[_0x318a57(0x148)]()+'/'+_0x508dce+_0x318a57(0x5af)+_0x5e5dff+_0x318a57(0x57d);if(_0x44c1c4['url']===_0x16e16a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5d7638){const _0x10b8f0=_0x433539;var _0xd5e6a0;return(_0xd5e6a0=_0x5d7638[_0x10b8f0(0x263)])==null?void 0x0:_0xd5e6a0[_0x10b8f0(0x50c)];},'mergeParamsToRequest'(_0x52d32d,_0x32c3e9){const _0x319339=_0x433539,_0x517d8b=_0x305622[_0x319339(0x148)]()+_0x319339(0x408),_0x25ab22=_0x52d32d[_0x319339(0x317)]((_0x15ef0c,_0x3c9e6c)=>{const _0x14f618=_0x319339,{unitID:_0x4cf384,objectID:_0x467a5a,objectType:_0x55e91f,actions:_0x102bfa}=_0x3c9e6c;return _0x15ef0c[_0x4cf384]||(_0x15ef0c[_0x4cf384]={}),_0x15ef0c[_0x4cf384][_0x467a5a]||(_0x15ef0c[_0x4cf384][_0x467a5a]={'objectID':_0x467a5a,'objectType':_0x55e91f,'actions':[]}),_0x15ef0c[_0x4cf384][_0x467a5a][_0x14f618(0x112)][_0x14f618(0x203)](..._0x102bfa),_0x15ef0c;},{}),_0x433996=[];for(const _0x4f0380 in _0x25ab22)for(const _0xe765f in _0x25ab22[_0x4f0380]){const {actions:_0x5a9c54,objectType:_0x40c5f6}=_0x25ab22[_0x4f0380][_0xe765f],_0x57f0af=[...new Set(_0x5a9c54)];_0x433996['push']({'unitID':_0x4f0380,'objectID':_0xe765f,'objectType':_0x40c5f6,'actions':_0x57f0af});}return new _0x547ebe[(_0x319339(0x186))](_0x319339(0x528),_0x517d8b,{'headers':_0x32c3e9[_0x319339(0x2b9)],'withCredentials':_0x32c3e9['withCredentials'],'responseType':_0x32c3e9[_0x319339(0x3fd)],'body':{'requests':_0x433996}});}},{'distributeResult'(_0x483a40,_0x46b33c){const {objectActions:_0x3381a7}=_0x483a40;return _0x46b33c['map'](_0x5d364e=>{const _0x2b9715=_0x586f,{unitID:_0x25f14b,objectID:_0x4491ba,actions:_0x43e075}=_0x5d364e,_0x5eb854=_0x3381a7[_0x2b9715(0x2a3)](_0x4816fb=>_0x4816fb[_0x2b9715(0x477)]===_0x25f14b&&_0x4816fb[_0x2b9715(0x52f)]===_0x4491ba),_0x56c98e=_0x43e075['map'](_0x36b9bf=>_0x5eb854==null?void 0x0:_0x5eb854[_0x2b9715(0x112)][_0x2b9715(0x2a3)](_0x3bbbd9=>_0x3bbbd9['action']===_0x36b9bf))['filter'](_0x4e1081=>!!_0x4e1081);return{'config':_0x5d364e,'result':{'actions':_0x56c98e,'error':_0x483a40[_0x2b9715(0x1df)]}};});}})}));}['_getAPIPrefixPath'](){const _0x39beca=_0x16631f;var _0x716594,_0x11365b;const _0xe73bec=this['_configService'][_0x39beca(0xfd)](_0x360662),_0xeec7fa=this[_0x39beca(0x31f)][_0x39beca(0xfd)](_0x132856);return(_0x11365b=(_0x716594=_0xeec7fa==null?void 0x0:_0xeec7fa[_0x39beca(0x164)])!=null?_0x716594:_0xe73bec)!=null?_0x11365b:_0x52797d;}async['create'](_0x3973d7){const _0x11f1e9=_0x16631f,_0x153e2b=this[_0x11f1e9(0x148)]()+'/'+_0x3973d7[_0x11f1e9(0x388)]+_0x11f1e9(0x45c);return(await this[_0x11f1e9(0x142)][_0x11f1e9(0x418)](_0x153e2b,{'body':_0x3973d7}))[_0x11f1e9(0x50c)]['objectID']||'';}async['list'](_0x1b00a6){const _0x185bb5=_0x16631f,_0x5d5a80=this[_0x185bb5(0x148)]()+_0x185bb5(0x309);return(await this[_0x185bb5(0x142)][_0x185bb5(0x418)](_0x5d5a80,{'body':_0x1b00a6}))['body']['objects'];}async[_0x16631f(0x40d)](_0x4d723a){const _0x2b494b=_0x16631f,_0x2201f9=this[_0x2b494b(0x148)]()+'/'+_0x4d723a[_0x2b494b(0x388)]+_0x2b494b(0x5af)+_0x4d723a[_0x2b494b(0x52f)];await this['_HTTPService']['put'](_0x2201f9,{'body':_0x4d723a});}async[_0x16631f(0x56d)](_0x33322a){const _0x1b3c06=_0x16631f,_0x5c0c13=this['_getAPIPrefixPath']()+'/'+_0x33322a['objectType']+'/object/'+_0x33322a[_0x1b3c06(0x52f)]+_0x1b3c06(0x57d);return(await this['_HTTPService']['post'](_0x5c0c13,{'body':_0x33322a}))['body']['actions'];}async[_0x16631f(0x281)](_0x32e372){const _0x5dd50c=_0x16631f,_0x147a50=this[_0x5dd50c(0x148)]()+_0x5dd50c(0x408);return(await this['_HTTPService'][_0x5dd50c(0x418)](_0x147a50,{'body':{'requests':_0x32e372}}))[_0x5dd50c(0x50c)][_0x5dd50c(0x180)];}async['listRoles'](_0x5f55a3){const _0x441146=_0x16631f,_0xb0b21d=this['_getAPIPrefixPath']()+'/'+_0x5f55a3[_0x441146(0x388)]+'/role',_0x2d1044=await this[_0x441146(0x142)][_0x441146(0x418)](_0xb0b21d,{'body':_0x5f55a3});return{'roles':_0x2d1044[_0x441146(0x50c)][_0x441146(0x411)],'actions':_0x2d1044[_0x441146(0x50c)][_0x441146(0x112)]};}async[_0x16631f(0x123)](_0x4a0edd){const _0x30da2b=_0x16631f,_0x24748a=this[_0x30da2b(0x148)]()+_0x30da2b(0x1f2);await this[_0x30da2b(0x142)][_0x30da2b(0x2eb)](_0x24748a,{'params':{'collaboratorID':_0x4a0edd[_0x30da2b(0x402)],'objectID':_0x4a0edd[_0x30da2b(0x52f)],'unitID':_0x4a0edd[_0x30da2b(0x477)]}});}async[_0x16631f(0x255)](_0x2cd49e){const _0x38a527=_0x16631f,_0x44b346=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x38a527(0x271)](_0x44b346,{'body':_0x2cd49e});}async[_0x16631f(0x49d)](_0xac52fc){const _0x32ad18=_0x16631f,_0x502df5=this[_0x32ad18(0x148)]()+'/collaborator';await this[_0x32ad18(0x142)][_0x32ad18(0x418)](_0x502df5,{'body':_0xac52fc});}async[_0x16631f(0x356)](_0xffd8c6){const _0x14dfba=_0x16631f,_0x53f48e=this[_0x14dfba(0x148)]()+'/collaborator';return(await this[_0x14dfba(0x142)][_0x14dfba(0x241)](_0x53f48e,{'params':{'objectID':_0xffd8c6[_0x14dfba(0x52f)],'unitID':_0xffd8c6['unitID']}}))['body']['collaborators'];}async[_0x16631f(0x424)](_0x565469){const _0x83e7c=_0x16631f,_0x2b0adb=this[_0x83e7c(0x148)]()+_0x83e7c(0x1f2);await this['_HTTPService'][_0x83e7c(0x4d3)](_0x2b0adb,{'body':_0x565469});}},_0x2728bd[_0x16631f(0x283)]=_0x1253f6([_0x248375(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x248375(0x1,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57['IConfigService']))],_0x2728bd[_0x16631f(0x283)]);var _0x3f01d8={'exports':{}};function _0x51f848(_0x3927e8){const _0x3911dc=_0x16631f;throw new Error(_0x3911dc(0x161)+_0x3927e8+_0x3911dc(0x11e));}var _0x5a6cd8={'exports':{}},_0x96fa8;function _0x50a408(){const _0x117ee3=_0x16631f;return _0x96fa8||(_0x96fa8=0x1,function(_0x21b7e5,_0x15c68e){(function(_0xa44b3a,_0x4e9390){const _0x2e1484=_0x586f;_0x21b7e5[_0x2e1484(0x50a)]=_0x4e9390();}(_0x4b3743,function(){var _0x15973c=_0x15973c||function(_0x29d85e,_0x301c99){const _0x55caba=_0x586f;var _0x3b537e;if(typeof window<'u'&&window[_0x55caba(0x2f9)]&&(_0x3b537e=window[_0x55caba(0x2f9)]),typeof self<'u'&&self[_0x55caba(0x2f9)]&&(_0x3b537e=self[_0x55caba(0x2f9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3b537e=globalThis[_0x55caba(0x2f9)]),!_0x3b537e&&typeof window<'u'&&window[_0x55caba(0x200)]&&(_0x3b537e=window[_0x55caba(0x200)]),!_0x3b537e&&typeof _0x4b3743<'u'&&_0x4b3743[_0x55caba(0x2f9)]&&(_0x3b537e=_0x4b3743[_0x55caba(0x2f9)]),!_0x3b537e&&typeof _0x51f848=='function')try{_0x3b537e=require(_0x55caba(0x2f9));}catch{}var _0x582ac3=function(){const _0x4c1fbd=_0x55caba;if(_0x3b537e){if(typeof _0x3b537e['getRandomValues']==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x235)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3b537e[_0x4c1fbd(0x59c)]==_0x4c1fbd(0x445))try{return _0x3b537e[_0x4c1fbd(0x59c)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4c1fbd(0x185));},_0x35e32e=Object[_0x55caba(0x4ee)]||(function(){function _0x2a199a(){}return function(_0x2f389c){const _0x42fe02=_0x586f;var _0x2a15c9;return _0x2a199a[_0x42fe02(0x5b2)]=_0x2f389c,_0x2a15c9=new _0x2a199a(),_0x2a199a[_0x42fe02(0x5b2)]=null,_0x2a15c9;};}()),_0x3b2a77={},_0x58822c=_0x3b2a77['lib']={},_0x53b37f=_0x58822c[_0x55caba(0x3b8)]=(function(){return{'extend':function(_0x360f4e){const _0x3b640e=_0x586f;var _0x5d2cd9=_0x35e32e(this);return _0x360f4e&&_0x5d2cd9[_0x3b640e(0x3ba)](_0x360f4e),(!_0x5d2cd9['hasOwnProperty'](_0x3b640e(0x299))||this[_0x3b640e(0x299)]===_0x5d2cd9['init'])&&(_0x5d2cd9[_0x3b640e(0x299)]=function(){const _0x742c9c=_0x3b640e;_0x5d2cd9[_0x742c9c(0x4d8)][_0x742c9c(0x299)]['apply'](this,arguments);}),_0x5d2cd9[_0x3b640e(0x299)][_0x3b640e(0x5b2)]=_0x5d2cd9,_0x5d2cd9[_0x3b640e(0x4d8)]=this,_0x5d2cd9;},'create':function(){var _0x48217c=this['extend']();return _0x48217c['init']['apply'](_0x48217c,arguments),_0x48217c;},'init':function(){},'mixIn':function(_0x1d38e8){const _0x1e0392=_0x586f;for(var _0x58e96a in _0x1d38e8)_0x1d38e8[_0x1e0392(0x2c0)](_0x58e96a)&&(this[_0x58e96a]=_0x1d38e8[_0x58e96a]);_0x1d38e8['hasOwnProperty'](_0x1e0392(0x3a4))&&(this[_0x1e0392(0x3a4)]=_0x1d38e8[_0x1e0392(0x3a4)]);},'clone':function(){const _0x5ea5db=_0x586f;return this[_0x5ea5db(0x299)]['prototype'][_0x5ea5db(0x279)](this);}};}()),_0x47d0f2=_0x58822c['WordArray']=_0x53b37f[_0x55caba(0x279)]({'init':function(_0x220f57,_0x1f3f7b){const _0x3de5ed=_0x55caba;_0x220f57=this['words']=_0x220f57||[],_0x1f3f7b!=_0x301c99?this[_0x3de5ed(0x1b1)]=_0x1f3f7b:this[_0x3de5ed(0x1b1)]=_0x220f57[_0x3de5ed(0x272)]*0x4;},'toString':function(_0x44a577){const _0x57066f=_0x55caba;return(_0x44a577||_0x29f382)[_0x57066f(0x338)](this);},'concat':function(_0x32a49d){const _0x42ce5c=_0x55caba;var _0x1347d5=this[_0x42ce5c(0x256)],_0x23ebcc=_0x32a49d[_0x42ce5c(0x256)],_0x2c625a=this[_0x42ce5c(0x1b1)],_0xc369d2=_0x32a49d[_0x42ce5c(0x1b1)];if(this[_0x42ce5c(0x546)](),_0x2c625a%0x4)for(var _0x125159=0x0;_0x125159<_0xc369d2;_0x125159++){var _0x225c59=_0x23ebcc[_0x125159>>>0x2]>>>0x18-_0x125159%0x4*0x8&0xff;_0x1347d5[_0x2c625a+_0x125159>>>0x2]|=_0x225c59<<0x18-(_0x2c625a+_0x125159)%0x4*0x8;}else{for(var _0x51ee07=0x0;_0x51ee07<_0xc369d2;_0x51ee07+=0x4)_0x1347d5[_0x2c625a+_0x51ee07>>>0x2]=_0x23ebcc[_0x51ee07>>>0x2];}return this['sigBytes']+=_0xc369d2,this;},'clamp':function(){const _0x1dafa1=_0x55caba;var _0x5dd6a3=this[_0x1dafa1(0x256)],_0x5418c3=this[_0x1dafa1(0x1b1)];_0x5dd6a3[_0x5418c3>>>0x2]&=0xffffffff<<0x20-_0x5418c3%0x4*0x8,_0x5dd6a3[_0x1dafa1(0x272)]=_0x29d85e[_0x1dafa1(0x428)](_0x5418c3/0x4);},'clone':function(){const _0x24cb1d=_0x55caba;var _0x28d240=_0x53b37f[_0x24cb1d(0x27e)][_0x24cb1d(0x3b4)](this);return _0x28d240[_0x24cb1d(0x256)]=this[_0x24cb1d(0x256)]['slice'](0x0),_0x28d240;},'random':function(_0x5c0998){const _0xfd8d36=_0x55caba;for(var _0xeb9b54=[],_0x4c9763=0x0;_0x4c9763<_0x5c0998;_0x4c9763+=0x4)_0xeb9b54['push'](_0x582ac3());return new _0x47d0f2[(_0xfd8d36(0x299))](_0xeb9b54,_0x5c0998);}}),_0x5d91be=_0x3b2a77[_0x55caba(0x4d7)]={},_0x29f382=_0x5d91be[_0x55caba(0x548)]={'stringify':function(_0x2229f6){const _0x388f1f=_0x55caba;for(var _0x3fb655=_0x2229f6['words'],_0x2bac69=_0x2229f6[_0x388f1f(0x1b1)],_0xbde6e2=[],_0x5c337a=0x0;_0x5c337a<_0x2bac69;_0x5c337a++){var _0x59f5b2=_0x3fb655[_0x5c337a>>>0x2]>>>0x18-_0x5c337a%0x4*0x8&0xff;_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2>>>0x4)['toString'](0x10)),_0xbde6e2[_0x388f1f(0x203)]((_0x59f5b2&0xf)['toString'](0x10));}return _0xbde6e2['join']('');},'parse':function(_0x364d24){const _0x5afc5e=_0x55caba;for(var _0x45b69a=_0x364d24[_0x5afc5e(0x272)],_0x3aa34b=[],_0x94212a=0x0;_0x94212a<_0x45b69a;_0x94212a+=0x2)_0x3aa34b[_0x94212a>>>0x3]|=parseInt(_0x364d24[_0x5afc5e(0x2d5)](_0x94212a,0x2),0x10)<<0x18-_0x94212a%0x8*0x4;return new _0x47d0f2[(_0x5afc5e(0x299))](_0x3aa34b,_0x45b69a/0x2);}},_0x1a697d=_0x5d91be['Latin1']={'stringify':function(_0x5b43c5){const _0x3ada49=_0x55caba;for(var _0x124f1f=_0x5b43c5[_0x3ada49(0x256)],_0x4ba4e2=_0x5b43c5[_0x3ada49(0x1b1)],_0x48659a=[],_0x57ce0d=0x0;_0x57ce0d<_0x4ba4e2;_0x57ce0d++){var _0x28b424=_0x124f1f[_0x57ce0d>>>0x2]>>>0x18-_0x57ce0d%0x4*0x8&0xff;_0x48659a[_0x3ada49(0x203)](String[_0x3ada49(0x347)](_0x28b424));}return _0x48659a['join']('');},'parse':function(_0x441b01){const _0x8fa704=_0x55caba;for(var _0x77afa0=_0x441b01['length'],_0x2f9d0d=[],_0x163bcf=0x0;_0x163bcf<_0x77afa0;_0x163bcf++)_0x2f9d0d[_0x163bcf>>>0x2]|=(_0x441b01['charCodeAt'](_0x163bcf)&0xff)<<0x18-_0x163bcf%0x4*0x8;return new _0x47d0f2[(_0x8fa704(0x299))](_0x2f9d0d,_0x77afa0);}},_0x59f467=_0x5d91be[_0x55caba(0xf4)]={'stringify':function(_0x177a53){const _0x315cfd=_0x55caba;try{return decodeURIComponent(escape(_0x1a697d['stringify'](_0x177a53)));}catch{throw new Error(_0x315cfd(0x24b));}},'parse':function(_0x407e06){return _0x1a697d['parse'](unescape(encodeURIComponent(_0x407e06)));}},_0x492255=_0x58822c['BufferedBlockAlgorithm']=_0x53b37f['extend']({'reset':function(){const _0x4389fe=_0x55caba;this[_0x4389fe(0x198)]=new _0x47d0f2[(_0x4389fe(0x299))](),this[_0x4389fe(0x49c)]=0x0;},'_append':function(_0x4812a7){const _0x400d6b=_0x55caba;typeof _0x4812a7=='string'&&(_0x4812a7=_0x59f467['parse'](_0x4812a7)),this[_0x400d6b(0x198)][_0x400d6b(0x40b)](_0x4812a7),this[_0x400d6b(0x49c)]+=_0x4812a7[_0x400d6b(0x1b1)];},'_process':function(_0x35b425){const _0x2863f0=_0x55caba;var _0x1c3b00,_0x4a186d=this[_0x2863f0(0x198)],_0x12484e=_0x4a186d[_0x2863f0(0x256)],_0x3972a3=_0x4a186d[_0x2863f0(0x1b1)],_0x4783ff=this[_0x2863f0(0x19f)],_0x2da024=_0x4783ff*0x4,_0x47ef08=_0x3972a3/_0x2da024;_0x35b425?_0x47ef08=_0x29d85e[_0x2863f0(0x428)](_0x47ef08):_0x47ef08=_0x29d85e[_0x2863f0(0x150)]((_0x47ef08|0x0)-this[_0x2863f0(0x493)],0x0);var _0x3b2784=_0x47ef08*_0x4783ff,_0x42e883=_0x29d85e[_0x2863f0(0x3ab)](_0x3b2784*0x4,_0x3972a3);if(_0x3b2784){for(var _0x12d324=0x0;_0x12d324<_0x3b2784;_0x12d324+=_0x4783ff)this[_0x2863f0(0x3c3)](_0x12484e,_0x12d324);_0x1c3b00=_0x12484e[_0x2863f0(0x53d)](0x0,_0x3b2784),_0x4a186d['sigBytes']-=_0x42e883;}return new _0x47d0f2[(_0x2863f0(0x299))](_0x1c3b00,_0x42e883);},'clone':function(){const _0x2e4728=_0x55caba;var _0x5596da=_0x53b37f[_0x2e4728(0x27e)]['call'](this);return _0x5596da[_0x2e4728(0x198)]=this[_0x2e4728(0x198)][_0x2e4728(0x27e)](),_0x5596da;},'_minBufferSize':0x0});_0x58822c[_0x55caba(0x26e)]=_0x492255[_0x55caba(0x279)]({'cfg':_0x53b37f['extend'](),'init':function(_0x53338c){const _0x1dee62=_0x55caba;this[_0x1dee62(0x59f)]=this['cfg'][_0x1dee62(0x279)](_0x53338c),this['reset']();},'reset':function(){const _0x407deb=_0x55caba;_0x492255[_0x407deb(0x1ee)][_0x407deb(0x3b4)](this),this['_doReset']();},'update':function(_0x41e828){const _0x56388b=_0x55caba;return this['_append'](_0x41e828),this[_0x56388b(0x2ce)](),this;},'finalize':function(_0x465203){const _0x91190c=_0x55caba;_0x465203&&this[_0x91190c(0x598)](_0x465203);var _0x485fb1=this[_0x91190c(0x125)]();return _0x485fb1;},'blockSize':0x10,'_createHelper':function(_0xddf5a5){return function(_0x2da073,_0x3cc317){const _0x5bd64a=_0x586f;return new _0xddf5a5['init'](_0x3cc317)[_0x5bd64a(0x3b3)](_0x2da073);};},'_createHmacHelper':function(_0x20438f){return function(_0x5900dd,_0x17905b){const _0x468dbc=_0x586f;return new _0x316bc7[(_0x468dbc(0x392))]['init'](_0x20438f,_0x17905b)[_0x468dbc(0x3b3)](_0x5900dd);};}});var _0x316bc7=_0x3b2a77[_0x55caba(0x306)]={};return _0x3b2a77;}(Math);return _0x15973c;}));}(_0x5a6cd8)),_0x5a6cd8[_0x117ee3(0x50a)];}var _0x2e66a0={'exports':{}},_0x209e46;function _0x25dbd1(){return _0x209e46||(_0x209e46=0x1,function(_0x508fad,_0x113dbc){(function(_0x5b8935,_0x2e5259){const _0x56153f=_0x586f;_0x508fad[_0x56153f(0x50a)]=_0x2e5259(_0x50a408());}(_0x4b3743,function(_0x5aab40){const _0x57a710=_0x586f;return(function(){const _0x1a61c7=_0x586f;var _0xaf0435=_0x5aab40,_0x5e7297=_0xaf0435[_0x1a61c7(0x59b)],_0x5cf641=_0x5e7297['WordArray'],_0x15ba6e=_0xaf0435[_0x1a61c7(0x4d7)];_0x15ba6e[_0x1a61c7(0x1ac)]={'stringify':function(_0x10c889){const _0x570dc8=_0x1a61c7;var _0xbe5d60=_0x10c889[_0x570dc8(0x256)],_0x2150b0=_0x10c889['sigBytes'],_0x3ea455=this[_0x570dc8(0x588)];_0x10c889[_0x570dc8(0x546)]();for(var _0x1faeb7=[],_0x1fa664=0x0;_0x1fa664<_0x2150b0;_0x1fa664+=0x3)for(var _0xb863b6=_0xbe5d60[_0x1fa664>>>0x2]>>>0x18-_0x1fa664%0x4*0x8&0xff,_0x5b71f3=_0xbe5d60[_0x1fa664+0x1>>>0x2]>>>0x18-(_0x1fa664+0x1)%0x4*0x8&0xff,_0x59f610=_0xbe5d60[_0x1fa664+0x2>>>0x2]>>>0x18-(_0x1fa664+0x2)%0x4*0x8&0xff,_0x36baa1=_0xb863b6<<0x10|_0x5b71f3<<0x8|_0x59f610,_0x15df56=0x0;_0x15df56<0x4&&_0x1fa664+_0x15df56*0.75<_0x2150b0;_0x15df56++)_0x1faeb7[_0x570dc8(0x203)](_0x3ea455['charAt'](_0x36baa1>>>0x6*(0x3-_0x15df56)&0x3f));var _0x3b2641=_0x3ea455[_0x570dc8(0x4ce)](0x40);if(_0x3b2641){for(;_0x1faeb7[_0x570dc8(0x272)]%0x4;)_0x1faeb7[_0x570dc8(0x203)](_0x3b2641);}return _0x1faeb7[_0x570dc8(0x382)]('');},'parse':function(_0x1c22f9){const _0x584ac7=_0x1a61c7;var _0xc8df23=_0x1c22f9[_0x584ac7(0x272)],_0x2050e2=this[_0x584ac7(0x588)],_0x1556c1=this[_0x584ac7(0x209)];if(!_0x1556c1){_0x1556c1=this['_reverseMap']=[];for(var _0x44ec5d=0x0;_0x44ec5d<_0x2050e2[_0x584ac7(0x272)];_0x44ec5d++)_0x1556c1[_0x2050e2[_0x584ac7(0x27a)](_0x44ec5d)]=_0x44ec5d;}var _0x4b4046=_0x2050e2[_0x584ac7(0x4ce)](0x40);if(_0x4b4046){var _0x19964e=_0x1c22f9[_0x584ac7(0x222)](_0x4b4046);_0x19964e!==-0x1&&(_0xc8df23=_0x19964e);}return _0x249bcc(_0x1c22f9,_0xc8df23,_0x1556c1);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x249bcc(_0x4e11f9,_0x5875bc,_0x1b7816){const _0x23471f=_0x1a61c7;for(var _0x36a4b8=[],_0x320f43=0x0,_0x2d9179=0x0;_0x2d9179<_0x5875bc;_0x2d9179++)if(_0x2d9179%0x4){var _0x4c6832=_0x1b7816[_0x4e11f9[_0x23471f(0x27a)](_0x2d9179-0x1)]<<_0x2d9179%0x4*0x2,_0x21b1fb=_0x1b7816[_0x4e11f9['charCodeAt'](_0x2d9179)]>>>0x6-_0x2d9179%0x4*0x2,_0x4e4e07=_0x4c6832|_0x21b1fb;_0x36a4b8[_0x320f43>>>0x2]|=_0x4e4e07<<0x18-_0x320f43%0x4*0x8,_0x320f43++;}return _0x5cf641[_0x23471f(0x4ee)](_0x36a4b8,_0x320f43);}}()),_0x5aab40[_0x57a710(0x4d7)][_0x57a710(0x1ac)];}));}(_0x2e66a0)),_0x2e66a0['exports'];}var _0x259c34={'exports':{}},_0x546f53;function _0xce1d1b(){return _0x546f53||(_0x546f53=0x1,function(_0x48342d,_0x3c0eeb){(function(_0xc403f1,_0x660e0){const _0x5602f7=_0x586f;_0x48342d[_0x5602f7(0x50a)]=_0x660e0(_0x50a408());}(_0x4b3743,function(_0x3a4526){const _0x29fe04=_0x586f;return function(_0x1df895){const _0x15a2f7=_0x586f;var _0x5331e9=_0x3a4526,_0x4cdb91=_0x5331e9[_0x15a2f7(0x59b)],_0x288efb=_0x4cdb91[_0x15a2f7(0x5a2)],_0x5e6219=_0x4cdb91[_0x15a2f7(0x26e)],_0x53967c=_0x5331e9[_0x15a2f7(0x306)],_0xcae48=[];(function(){const _0x5d160a=_0x15a2f7;for(var _0x4f3972=0x0;_0x4f3972<0x40;_0x4f3972++)_0xcae48[_0x4f3972]=_0x1df895[_0x5d160a(0x2ee)](_0x1df895[_0x5d160a(0x39f)](_0x4f3972+0x1))*0x100000000|0x0;}());var _0x1418aa=_0x53967c[_0x15a2f7(0x2cc)]=_0x5e6219[_0x15a2f7(0x279)]({'_doReset':function(){const _0x60121d=_0x15a2f7;this[_0x60121d(0x284)]=new _0x288efb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5532f8,_0x103190){const _0x398bcb=_0x15a2f7;for(var _0x5683df=0x0;_0x5683df<0x10;_0x5683df++){var _0xb45180=_0x103190+_0x5683df,_0x1ec361=_0x5532f8[_0xb45180];_0x5532f8[_0xb45180]=(_0x1ec361<<0x8|_0x1ec361>>>0x18)&0xff00ff|(_0x1ec361<<0x18|_0x1ec361>>>0x8)&0xff00ff00;}var _0x5f013e=this[_0x398bcb(0x284)][_0x398bcb(0x256)],_0x35eed8=_0x5532f8[_0x103190+0x0],_0x174b44=_0x5532f8[_0x103190+0x1],_0xfcece5=_0x5532f8[_0x103190+0x2],_0x596b5d=_0x5532f8[_0x103190+0x3],_0x121c8f=_0x5532f8[_0x103190+0x4],_0x404cd2=_0x5532f8[_0x103190+0x5],_0x272564=_0x5532f8[_0x103190+0x6],_0x570bb4=_0x5532f8[_0x103190+0x7],_0x999ca=_0x5532f8[_0x103190+0x8],_0x18cf1b=_0x5532f8[_0x103190+0x9],_0x43cf63=_0x5532f8[_0x103190+0xa],_0x540f9b=_0x5532f8[_0x103190+0xb],_0x213bb8=_0x5532f8[_0x103190+0xc],_0x2b2838=_0x5532f8[_0x103190+0xd],_0x2b8a65=_0x5532f8[_0x103190+0xe],_0x278341=_0x5532f8[_0x103190+0xf],_0x178fb3=_0x5f013e[0x0],_0x503ad7=_0x5f013e[0x1],_0x44f62c=_0x5f013e[0x2],_0x2e6f98=_0x5f013e[0x3];_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x7,_0xcae48[0x0]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x174b44,0xc,_0xcae48[0x1]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0x11,_0xcae48[0x2]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x596b5d,0x16,_0xcae48[0x3]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x7,_0xcae48[0x4]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x404cd2,0xc,_0xcae48[0x5]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0x11,_0xcae48[0x6]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x570bb4,0x16,_0xcae48[0x7]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x7,_0xcae48[0x8]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x18cf1b,0xc,_0xcae48[0x9]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0x11,_0xcae48[0xa]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x540f9b,0x16,_0xcae48[0xb]),_0x178fb3=_0x2fe30e(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x7,_0xcae48[0xc]),_0x2e6f98=_0x2fe30e(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b2838,0xc,_0xcae48[0xd]),_0x44f62c=_0x2fe30e(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0x11,_0xcae48[0xe]),_0x503ad7=_0x2fe30e(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x278341,0x16,_0xcae48[0xf]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x5,_0xcae48[0x10]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x272564,0x9,_0xcae48[0x11]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0xe,_0xcae48[0x12]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x35eed8,0x14,_0xcae48[0x13]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x5,_0xcae48[0x14]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x43cf63,0x9,_0xcae48[0x15]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0xe,_0xcae48[0x16]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x121c8f,0x14,_0xcae48[0x17]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x5,_0xcae48[0x18]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x2b8a65,0x9,_0xcae48[0x19]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0xe,_0xcae48[0x1a]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x999ca,0x14,_0xcae48[0x1b]),_0x178fb3=_0x5a9d08(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x5,_0xcae48[0x1c]),_0x2e6f98=_0x5a9d08(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0xfcece5,0x9,_0xcae48[0x1d]),_0x44f62c=_0x5a9d08(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0xe,_0xcae48[0x1e]),_0x503ad7=_0x5a9d08(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x213bb8,0x14,_0xcae48[0x1f]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x404cd2,0x4,_0xcae48[0x20]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x999ca,0xb,_0xcae48[0x21]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x540f9b,0x10,_0xcae48[0x22]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b8a65,0x17,_0xcae48[0x23]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x174b44,0x4,_0xcae48[0x24]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x121c8f,0xb,_0xcae48[0x25]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x570bb4,0x10,_0xcae48[0x26]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x43cf63,0x17,_0xcae48[0x27]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x2b2838,0x4,_0xcae48[0x28]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x35eed8,0xb,_0xcae48[0x29]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x596b5d,0x10,_0xcae48[0x2a]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x272564,0x17,_0xcae48[0x2b]),_0x178fb3=_0x5120b0(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x18cf1b,0x4,_0xcae48[0x2c]),_0x2e6f98=_0x5120b0(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x213bb8,0xb,_0xcae48[0x2d]),_0x44f62c=_0x5120b0(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x278341,0x10,_0xcae48[0x2e]),_0x503ad7=_0x5120b0(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0xfcece5,0x17,_0xcae48[0x2f]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x35eed8,0x6,_0xcae48[0x30]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x570bb4,0xa,_0xcae48[0x31]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x2b8a65,0xf,_0xcae48[0x32]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x404cd2,0x15,_0xcae48[0x33]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x213bb8,0x6,_0xcae48[0x34]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x596b5d,0xa,_0xcae48[0x35]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x43cf63,0xf,_0xcae48[0x36]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x174b44,0x15,_0xcae48[0x37]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x999ca,0x6,_0xcae48[0x38]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x278341,0xa,_0xcae48[0x39]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0x272564,0xf,_0xcae48[0x3a]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x2b2838,0x15,_0xcae48[0x3b]),_0x178fb3=_0x385d3b(_0x178fb3,_0x503ad7,_0x44f62c,_0x2e6f98,_0x121c8f,0x6,_0xcae48[0x3c]),_0x2e6f98=_0x385d3b(_0x2e6f98,_0x178fb3,_0x503ad7,_0x44f62c,_0x540f9b,0xa,_0xcae48[0x3d]),_0x44f62c=_0x385d3b(_0x44f62c,_0x2e6f98,_0x178fb3,_0x503ad7,_0xfcece5,0xf,_0xcae48[0x3e]),_0x503ad7=_0x385d3b(_0x503ad7,_0x44f62c,_0x2e6f98,_0x178fb3,_0x18cf1b,0x15,_0xcae48[0x3f]),_0x5f013e[0x0]=_0x5f013e[0x0]+_0x178fb3|0x0,_0x5f013e[0x1]=_0x5f013e[0x1]+_0x503ad7|0x0,_0x5f013e[0x2]=_0x5f013e[0x2]+_0x44f62c|0x0,_0x5f013e[0x3]=_0x5f013e[0x3]+_0x2e6f98|0x0;},'_doFinalize':function(){const _0x5ca0b2=_0x15a2f7;var _0x507c21=this[_0x5ca0b2(0x198)],_0x137614=_0x507c21[_0x5ca0b2(0x256)],_0x2ddc07=this['_nDataBytes']*0x8,_0x37316f=_0x507c21[_0x5ca0b2(0x1b1)]*0x8;_0x137614[_0x37316f>>>0x5]|=0x80<<0x18-_0x37316f%0x20;var _0x6f91c6=_0x1df895[_0x5ca0b2(0x1c2)](_0x2ddc07/0x100000000),_0x45f07c=_0x2ddc07;_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xf]=(_0x6f91c6<<0x8|_0x6f91c6>>>0x18)&0xff00ff|(_0x6f91c6<<0x18|_0x6f91c6>>>0x8)&0xff00ff00,_0x137614[(_0x37316f+0x40>>>0x9<<0x4)+0xe]=(_0x45f07c<<0x8|_0x45f07c>>>0x18)&0xff00ff|(_0x45f07c<<0x18|_0x45f07c>>>0x8)&0xff00ff00,_0x507c21[_0x5ca0b2(0x1b1)]=(_0x137614[_0x5ca0b2(0x272)]+0x1)*0x4,this[_0x5ca0b2(0x2ce)]();for(var _0x12b54a=this['_hash'],_0x214cd7=_0x12b54a['words'],_0x358b6b=0x0;_0x358b6b<0x4;_0x358b6b++){var _0x57d09c=_0x214cd7[_0x358b6b];_0x214cd7[_0x358b6b]=(_0x57d09c<<0x8|_0x57d09c>>>0x18)&0xff00ff|(_0x57d09c<<0x18|_0x57d09c>>>0x8)&0xff00ff00;}return _0x12b54a;},'clone':function(){const _0x5e9971=_0x15a2f7;var _0x10f771=_0x5e6219['clone'][_0x5e9971(0x3b4)](this);return _0x10f771[_0x5e9971(0x284)]=this[_0x5e9971(0x284)]['clone'](),_0x10f771;}});function _0x2fe30e(_0x4632ca,_0x2210dd,_0xeaa06f,_0x905e5e,_0x2b7120,_0x45fa46,_0x516ba2){var _0x40a78e=_0x4632ca+(_0x2210dd&_0xeaa06f|~_0x2210dd&_0x905e5e)+_0x2b7120+_0x516ba2;return(_0x40a78e<<_0x45fa46|_0x40a78e>>>0x20-_0x45fa46)+_0x2210dd;}function _0x5a9d08(_0x2175ab,_0x10e779,_0x5e34eb,_0x172097,_0x4757ef,_0x57b06b,_0x5ccdf2){var _0x3a2345=_0x2175ab+(_0x10e779&_0x172097|_0x5e34eb&~_0x172097)+_0x4757ef+_0x5ccdf2;return(_0x3a2345<<_0x57b06b|_0x3a2345>>>0x20-_0x57b06b)+_0x10e779;}function _0x5120b0(_0x1d187a,_0x2bb157,_0xd4fdcc,_0x4026d1,_0xf4c3c0,_0x282a80,_0x1f83a0){var _0x7536a2=_0x1d187a+(_0x2bb157^_0xd4fdcc^_0x4026d1)+_0xf4c3c0+_0x1f83a0;return(_0x7536a2<<_0x282a80|_0x7536a2>>>0x20-_0x282a80)+_0x2bb157;}function _0x385d3b(_0x312bea,_0x5c6fd3,_0x240b07,_0x360e6c,_0x3edd44,_0x1adb9c,_0x435642){var _0x43ca0f=_0x312bea+(_0x240b07^(_0x5c6fd3|~_0x360e6c))+_0x3edd44+_0x435642;return(_0x43ca0f<<_0x1adb9c|_0x43ca0f>>>0x20-_0x1adb9c)+_0x5c6fd3;}_0x5331e9['MD5']=_0x5e6219[_0x15a2f7(0x18c)](_0x1418aa),_0x5331e9[_0x15a2f7(0x224)]=_0x5e6219['_createHmacHelper'](_0x1418aa);}(Math),_0x3a4526[_0x29fe04(0x2cc)];}));}(_0x259c34)),_0x259c34['exports'];}var _0x8d2d57={'exports':{}},_0x4d5964={'exports':{}},_0x228cce;function _0x2bd429(){const _0x41d9bb=_0x16631f;return _0x228cce||(_0x228cce=0x1,function(_0x548326,_0x227b95){(function(_0x30cd37,_0x3b26b5){const _0xfe90b3=_0x586f;_0x548326[_0xfe90b3(0x50a)]=_0x3b26b5(_0x50a408());}(_0x4b3743,function(_0x5d7782){const _0x9ed26f=_0x586f;return(function(){const _0x31fbf5=_0x586f;var _0x3c2239=_0x5d7782,_0x52b4e1=_0x3c2239['lib'],_0x51f7f4=_0x52b4e1[_0x31fbf5(0x5a2)],_0x44c8cc=_0x52b4e1[_0x31fbf5(0x26e)],_0x8b2a76=_0x3c2239['algo'],_0x146712=[],_0x46da41=_0x8b2a76['SHA1']=_0x44c8cc[_0x31fbf5(0x279)]({'_doReset':function(){const _0x40668f=_0x31fbf5;this[_0x40668f(0x284)]=new _0x51f7f4[(_0x40668f(0x299))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f8f28,_0x365538){const _0x19a70a=_0x31fbf5;for(var _0x4e3f58=this[_0x19a70a(0x284)][_0x19a70a(0x256)],_0x3a529b=_0x4e3f58[0x0],_0x414a82=_0x4e3f58[0x1],_0x182c9b=_0x4e3f58[0x2],_0x22ed27=_0x4e3f58[0x3],_0x59db84=_0x4e3f58[0x4],_0x3f73e7=0x0;_0x3f73e7<0x50;_0x3f73e7++){if(_0x3f73e7<0x10)_0x146712[_0x3f73e7]=_0x2f8f28[_0x365538+_0x3f73e7]|0x0;else{var _0x447286=_0x146712[_0x3f73e7-0x3]^_0x146712[_0x3f73e7-0x8]^_0x146712[_0x3f73e7-0xe]^_0x146712[_0x3f73e7-0x10];_0x146712[_0x3f73e7]=_0x447286<<0x1|_0x447286>>>0x1f;}var _0x22d7a9=(_0x3a529b<<0x5|_0x3a529b>>>0x1b)+_0x59db84+_0x146712[_0x3f73e7];_0x3f73e7<0x14?_0x22d7a9+=(_0x414a82&_0x182c9b|~_0x414a82&_0x22ed27)+0x5a827999:_0x3f73e7<0x28?_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)+0x6ed9eba1:_0x3f73e7<0x3c?_0x22d7a9+=(_0x414a82&_0x182c9b|_0x414a82&_0x22ed27|_0x182c9b&_0x22ed27)-0x70e44324:_0x22d7a9+=(_0x414a82^_0x182c9b^_0x22ed27)-0x359d3e2a,_0x59db84=_0x22ed27,_0x22ed27=_0x182c9b,_0x182c9b=_0x414a82<<0x1e|_0x414a82>>>0x2,_0x414a82=_0x3a529b,_0x3a529b=_0x22d7a9;}_0x4e3f58[0x0]=_0x4e3f58[0x0]+_0x3a529b|0x0,_0x4e3f58[0x1]=_0x4e3f58[0x1]+_0x414a82|0x0,_0x4e3f58[0x2]=_0x4e3f58[0x2]+_0x182c9b|0x0,_0x4e3f58[0x3]=_0x4e3f58[0x3]+_0x22ed27|0x0,_0x4e3f58[0x4]=_0x4e3f58[0x4]+_0x59db84|0x0;},'_doFinalize':function(){const _0x27cb41=_0x31fbf5;var _0x44d133=this[_0x27cb41(0x198)],_0x4dca99=_0x44d133[_0x27cb41(0x256)],_0x2b18a6=this['_nDataBytes']*0x8,_0x1723bd=_0x44d133[_0x27cb41(0x1b1)]*0x8;return _0x4dca99[_0x1723bd>>>0x5]|=0x80<<0x18-_0x1723bd%0x20,_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xe]=Math[_0x27cb41(0x1c2)](_0x2b18a6/0x100000000),_0x4dca99[(_0x1723bd+0x40>>>0x9<<0x4)+0xf]=_0x2b18a6,_0x44d133[_0x27cb41(0x1b1)]=_0x4dca99[_0x27cb41(0x272)]*0x4,this[_0x27cb41(0x2ce)](),this['_hash'];},'clone':function(){const _0x3b7cfa=_0x31fbf5;var _0x5cb135=_0x44c8cc[_0x3b7cfa(0x27e)][_0x3b7cfa(0x3b4)](this);return _0x5cb135[_0x3b7cfa(0x284)]=this[_0x3b7cfa(0x284)]['clone'](),_0x5cb135;}});_0x3c2239['SHA1']=_0x44c8cc[_0x31fbf5(0x18c)](_0x46da41),_0x3c2239[_0x31fbf5(0x4c6)]=_0x44c8cc['_createHmacHelper'](_0x46da41);}()),_0x5d7782[_0x9ed26f(0x4b7)];}));}(_0x4d5964)),_0x4d5964[_0x41d9bb(0x50a)];}var _0x1c2409={'exports':{}},_0x4005c6;function _0x65f4f1(){return _0x4005c6||(_0x4005c6=0x1,function(_0x10b726,_0x100d54){(function(_0x41a451,_0x57a4e2){const _0x577469=_0x586f;_0x10b726[_0x577469(0x50a)]=_0x57a4e2(_0x50a408());}(_0x4b3743,function(_0x1acdab){(function(){const _0x12b27b=_0x586f;var _0x45f4c7=_0x1acdab,_0x4c233d=_0x45f4c7[_0x12b27b(0x59b)],_0x5b63a9=_0x4c233d[_0x12b27b(0x3b8)],_0x14385c=_0x45f4c7[_0x12b27b(0x4d7)],_0x2f642b=_0x14385c['Utf8'],_0x200840=_0x45f4c7[_0x12b27b(0x306)];_0x200840[_0x12b27b(0x392)]=_0x5b63a9['extend']({'init':function(_0x25aa7d,_0x4e6617){const _0x29a861=_0x12b27b;_0x25aa7d=this['_hasher']=new _0x25aa7d[(_0x29a861(0x299))](),typeof _0x4e6617==_0x29a861(0x18e)&&(_0x4e6617=_0x2f642b[_0x29a861(0x4c5)](_0x4e6617));var _0x26d177=_0x25aa7d[_0x29a861(0x19f)],_0x668065=_0x26d177*0x4;_0x4e6617[_0x29a861(0x1b1)]>_0x668065&&(_0x4e6617=_0x25aa7d[_0x29a861(0x3b3)](_0x4e6617)),_0x4e6617[_0x29a861(0x546)]();for(var _0x4c831d=this[_0x29a861(0x4c0)]=_0x4e6617[_0x29a861(0x27e)](),_0x12c90e=this[_0x29a861(0x4f6)]=_0x4e6617['clone'](),_0x286103=_0x4c831d[_0x29a861(0x256)],_0x44f3ad=_0x12c90e[_0x29a861(0x256)],_0x118e8a=0x0;_0x118e8a<_0x26d177;_0x118e8a++)_0x286103[_0x118e8a]^=0x5c5c5c5c,_0x44f3ad[_0x118e8a]^=0x36363636;_0x4c831d['sigBytes']=_0x12c90e['sigBytes']=_0x668065,this['reset']();},'reset':function(){const _0x79f24d=_0x12b27b;var _0x524ebd=this['_hasher'];_0x524ebd[_0x79f24d(0x1ee)](),_0x524ebd[_0x79f24d(0x40d)](this[_0x79f24d(0x4f6)]);},'update':function(_0x1299e7){const _0xc0ba53=_0x12b27b;return this[_0xc0ba53(0x325)][_0xc0ba53(0x40d)](_0x1299e7),this;},'finalize':function(_0x517b3d){const _0x2adcfa=_0x12b27b;var _0x20884a=this['_hasher'],_0x4b2443=_0x20884a[_0x2adcfa(0x3b3)](_0x517b3d);_0x20884a[_0x2adcfa(0x1ee)]();var _0x49c671=_0x20884a[_0x2adcfa(0x3b3)](this['_oKey'][_0x2adcfa(0x27e)]()[_0x2adcfa(0x40b)](_0x4b2443));return _0x49c671;}});}());}));}(_0x1c2409)),_0x1c2409['exports'];}var _0x152977;function _0x4f0e2d(){const _0x32095e=_0x16631f;return _0x152977||(_0x152977=0x1,function(_0x4e2c49,_0x54ddbf){(function(_0x1edc9c,_0x3a2b13,_0x7d4a99){const _0x5ba682=_0x586f;_0x4e2c49[_0x5ba682(0x50a)]=_0x3a2b13(_0x50a408(),_0x2bd429(),_0x65f4f1());}(_0x4b3743,function(_0x5283c4){return(function(){const _0x1985ed=_0x586f;var _0x280345=_0x5283c4,_0x123b87=_0x280345[_0x1985ed(0x59b)],_0x4c3692=_0x123b87['Base'],_0xe321d=_0x123b87['WordArray'],_0x2ca729=_0x280345[_0x1985ed(0x306)],_0xfd3794=_0x2ca729[_0x1985ed(0x2cc)],_0x57ca96=_0x2ca729['EvpKDF']=_0x4c3692['extend']({'cfg':_0x4c3692['extend']({'keySize':0x80/0x20,'hasher':_0xfd3794,'iterations':0x1}),'init':function(_0xfdfb40){const _0x8d6c00=_0x1985ed;this['cfg']=this['cfg'][_0x8d6c00(0x279)](_0xfdfb40);},'compute':function(_0x51ac15,_0x4cd306){const _0x3b1b35=_0x1985ed;for(var _0x50b052,_0x2cc26e=this[_0x3b1b35(0x59f)],_0x228db1=_0x2cc26e[_0x3b1b35(0x225)]['create'](),_0x44ac96=_0xe321d[_0x3b1b35(0x4ee)](),_0x1afaf6=_0x44ac96[_0x3b1b35(0x256)],_0x3b1a7d=_0x2cc26e[_0x3b1b35(0x2af)],_0x9fbf0e=_0x2cc26e['iterations'];_0x1afaf6[_0x3b1b35(0x272)]<_0x3b1a7d;){_0x50b052&&_0x228db1[_0x3b1b35(0x40d)](_0x50b052),_0x50b052=_0x228db1[_0x3b1b35(0x40d)](_0x51ac15)[_0x3b1b35(0x3b3)](_0x4cd306),_0x228db1[_0x3b1b35(0x1ee)]();for(var _0x37d70a=0x1;_0x37d70a<_0x9fbf0e;_0x37d70a++)_0x50b052=_0x228db1['finalize'](_0x50b052),_0x228db1[_0x3b1b35(0x1ee)]();_0x44ac96[_0x3b1b35(0x40b)](_0x50b052);}return _0x44ac96[_0x3b1b35(0x1b1)]=_0x3b1a7d*0x4,_0x44ac96;}});_0x280345[_0x1985ed(0x563)]=function(_0x28ee3e,_0x1d92fb,_0x56b262){const _0x1b9d0e=_0x1985ed;return _0x57ca96[_0x1b9d0e(0x4ee)](_0x56b262)[_0x1b9d0e(0x4e8)](_0x28ee3e,_0x1d92fb);};}()),_0x5283c4['EvpKDF'];}));}(_0x8d2d57)),_0x8d2d57[_0x32095e(0x50a)];}var _0x210bb4={'exports':{}},_0x491f76;function _0x1e9ef0(){return _0x491f76||(_0x491f76=0x1,function(_0x49b610,_0x5b1ca3){(function(_0x2e18a6,_0x138061,_0xd3ff1b){const _0xb8c435=_0x586f;_0x49b610[_0xb8c435(0x50a)]=_0x138061(_0x50a408(),_0x4f0e2d());}(_0x4b3743,function(_0x4f531b){const _0x56929f=_0x586f;_0x4f531b['lib'][_0x56929f(0x26c)]||function(_0x1bd89b){const _0xc39ffe=_0x56929f;var _0x5dd2ea=_0x4f531b,_0x469414=_0x5dd2ea[_0xc39ffe(0x59b)],_0x39d1fa=_0x469414[_0xc39ffe(0x3b8)],_0x23d299=_0x469414[_0xc39ffe(0x5a2)],_0x27429b=_0x469414['BufferedBlockAlgorithm'],_0x1f2971=_0x5dd2ea[_0xc39ffe(0x4d7)];_0x1f2971['Utf8'];var _0x34190b=_0x1f2971[_0xc39ffe(0x1ac)],_0x90ee39=_0x5dd2ea[_0xc39ffe(0x306)],_0x5dae4d=_0x90ee39[_0xc39ffe(0x563)],_0x5b2086=_0x469414['Cipher']=_0x27429b[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)](),'createEncryptor':function(_0x2c911f,_0x24f916){const _0x4e7512=_0xc39ffe;return this[_0x4e7512(0x4ee)](this['_ENC_XFORM_MODE'],_0x2c911f,_0x24f916);},'createDecryptor':function(_0x1b0df7,_0x309d15){const _0x14337c=_0xc39ffe;return this[_0x14337c(0x4ee)](this[_0x14337c(0x36e)],_0x1b0df7,_0x309d15);},'init':function(_0xcd4752,_0x25b8d3,_0x333bc4){const _0x3fe9ab=_0xc39ffe;this[_0x3fe9ab(0x59f)]=this[_0x3fe9ab(0x59f)][_0x3fe9ab(0x279)](_0x333bc4),this[_0x3fe9ab(0x1c0)]=_0xcd4752,this[_0x3fe9ab(0x3ec)]=_0x25b8d3,this[_0x3fe9ab(0x1ee)]();},'reset':function(){const _0x276a77=_0xc39ffe;_0x27429b[_0x276a77(0x1ee)][_0x276a77(0x3b4)](this),this[_0x276a77(0x368)]();},'process':function(_0x3f1c9a){return this['_append'](_0x3f1c9a),this['_process']();},'finalize':function(_0x1a7456){const _0x505abd=_0xc39ffe;_0x1a7456&&this[_0x505abd(0x598)](_0x1a7456);var _0xfe136b=this['_doFinalize']();return _0xfe136b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x48d1b9(_0x4fab20){const _0x5af6ae=_0x586f;return typeof _0x4fab20==_0x5af6ae(0x18e)?_0x203d52:_0x509bd0;}return function(_0x4ca214){return{'encrypt':function(_0x23121f,_0x1a8714,_0x4410de){const _0x26bca7=_0x586f;return _0x48d1b9(_0x1a8714)[_0x26bca7(0x25b)](_0x4ca214,_0x23121f,_0x1a8714,_0x4410de);},'decrypt':function(_0x124893,_0x243a41,_0x274e74){return _0x48d1b9(_0x243a41)['decrypt'](_0x4ca214,_0x124893,_0x243a41,_0x274e74);}};};}())});_0x469414[_0xc39ffe(0x4fb)]=_0x5b2086[_0xc39ffe(0x279)]({'_doFinalize':function(){const _0x23f975=_0xc39ffe;var _0x923230=this[_0x23f975(0x2ce)](!0x0);return _0x923230;},'blockSize':0x1});var _0x41cb73=_0x5dd2ea['mode']={},_0x2f37a3=_0x469414['BlockCipherMode']=_0x39d1fa[_0xc39ffe(0x279)]({'createEncryptor':function(_0x526346,_0x248d1f){const _0x396c35=_0xc39ffe;return this[_0x396c35(0x3fe)][_0x396c35(0x4ee)](_0x526346,_0x248d1f);},'createDecryptor':function(_0x23b33a,_0x1a1e33){return this['Decryptor']['create'](_0x23b33a,_0x1a1e33);},'init':function(_0x1521aa,_0xf90bac){const _0x20d4e4=_0xc39ffe;this['_cipher']=_0x1521aa,this[_0x20d4e4(0x2ec)]=_0xf90bac;}}),_0x588aff=_0x41cb73[_0xc39ffe(0x2cf)]=(function(){const _0x214a2e=_0xc39ffe;var _0x3f0094=_0x2f37a3[_0x214a2e(0x279)]();_0x3f0094['Encryptor']=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x56cef5,_0x216941){const _0x326624=_0x214a2e;var _0x1ee6d8=this['_cipher'],_0x54ca44=_0x1ee6d8[_0x326624(0x19f)];_0x1827c5['call'](this,_0x56cef5,_0x216941,_0x54ca44),_0x1ee6d8[_0x326624(0x54b)](_0x56cef5,_0x216941),this['_prevBlock']=_0x56cef5[_0x326624(0x38d)](_0x216941,_0x216941+_0x54ca44);}}),_0x3f0094[_0x214a2e(0x194)]=_0x3f0094[_0x214a2e(0x279)]({'processBlock':function(_0x7b9acb,_0x47bc23){const _0x4f5e36=_0x214a2e;var _0x2b8b92=this[_0x4f5e36(0x39d)],_0x128e8b=_0x2b8b92[_0x4f5e36(0x19f)],_0x4e99a9=_0x7b9acb[_0x4f5e36(0x38d)](_0x47bc23,_0x47bc23+_0x128e8b);_0x2b8b92[_0x4f5e36(0x2c3)](_0x7b9acb,_0x47bc23),_0x1827c5[_0x4f5e36(0x3b4)](this,_0x7b9acb,_0x47bc23,_0x128e8b),this['_prevBlock']=_0x4e99a9;}});function _0x1827c5(_0x18b432,_0x4b5dd4,_0x366c10){const _0x11b28e=_0x214a2e;var _0x238ba6,_0x1169f8=this[_0x11b28e(0x2ec)];_0x1169f8?(_0x238ba6=_0x1169f8,this[_0x11b28e(0x2ec)]=_0x1bd89b):_0x238ba6=this[_0x11b28e(0x1a9)];for(var _0xf9842=0x0;_0xf9842<_0x366c10;_0xf9842++)_0x18b432[_0x4b5dd4+_0xf9842]^=_0x238ba6[_0xf9842];}return _0x3f0094;}()),_0x453a2c=_0x5dd2ea['pad']={},_0x1b0e3d=_0x453a2c['Pkcs7']={'pad':function(_0x33cd73,_0x4a759d){const _0x3cb151=_0xc39ffe;for(var _0x3f7bbf=_0x4a759d*0x4,_0x21e6a5=_0x3f7bbf-_0x33cd73[_0x3cb151(0x1b1)]%_0x3f7bbf,_0x7c6486=_0x21e6a5<<0x18|_0x21e6a5<<0x10|_0x21e6a5<<0x8|_0x21e6a5,_0x3566dc=[],_0x59637c=0x0;_0x59637c<_0x21e6a5;_0x59637c+=0x4)_0x3566dc[_0x3cb151(0x203)](_0x7c6486);var _0x48064d=_0x23d299[_0x3cb151(0x4ee)](_0x3566dc,_0x21e6a5);_0x33cd73['concat'](_0x48064d);},'unpad':function(_0xc48888){const _0x48869e=_0xc39ffe;var _0x424231=_0xc48888[_0x48869e(0x256)][_0xc48888[_0x48869e(0x1b1)]-0x1>>>0x2]&0xff;_0xc48888[_0x48869e(0x1b1)]-=_0x424231;}};_0x469414[_0xc39ffe(0x13b)]=_0x5b2086['extend']({'cfg':_0x5b2086[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'mode':_0x588aff,'padding':_0x1b0e3d}),'reset':function(){const _0x2049d2=_0xc39ffe;var _0x1bec0e;_0x5b2086[_0x2049d2(0x1ee)][_0x2049d2(0x3b4)](this);var _0x52fc88=this[_0x2049d2(0x59f)],_0x4bfb20=_0x52fc88['iv'],_0x3a7ae6=_0x52fc88[_0x2049d2(0x2fe)];this['_xformMode']==this[_0x2049d2(0x391)]?_0x1bec0e=_0x3a7ae6[_0x2049d2(0x345)]:(_0x1bec0e=_0x3a7ae6[_0x2049d2(0x2fd)],this['_minBufferSize']=0x1),this[_0x2049d2(0x13f)]&&this[_0x2049d2(0x13f)][_0x2049d2(0x466)]==_0x1bec0e?this['_mode'][_0x2049d2(0x299)](this,_0x4bfb20&&_0x4bfb20['words']):(this[_0x2049d2(0x13f)]=_0x1bec0e[_0x2049d2(0x3b4)](_0x3a7ae6,this,_0x4bfb20&&_0x4bfb20[_0x2049d2(0x256)]),this['_mode'][_0x2049d2(0x466)]=_0x1bec0e);},'_doProcessBlock':function(_0x5e3dd5,_0x2d5c22){const _0x517e8b=_0xc39ffe;this[_0x517e8b(0x13f)][_0x517e8b(0x275)](_0x5e3dd5,_0x2d5c22);},'_doFinalize':function(){const _0xf94fe9=_0xc39ffe;var _0x496e62,_0xa980d3=this['cfg']['padding'];return this[_0xf94fe9(0x1c0)]==this[_0xf94fe9(0x391)]?(_0xa980d3[_0xf94fe9(0x394)](this['_data'],this[_0xf94fe9(0x19f)]),_0x496e62=this[_0xf94fe9(0x2ce)](!0x0)):(_0x496e62=this['_process'](!0x0),_0xa980d3['unpad'](_0x496e62)),_0x496e62;},'blockSize':0x80/0x20});var _0x2f6146=_0x469414[_0xc39ffe(0x3a1)]=_0x39d1fa['extend']({'init':function(_0x434182){const _0x239cfe=_0xc39ffe;this[_0x239cfe(0x3ba)](_0x434182);},'toString':function(_0x12fff1){const _0x4d1bd0=_0xc39ffe;return(_0x12fff1||this[_0x4d1bd0(0x422)])['stringify'](this);}}),_0x2d8468=_0x5dd2ea[_0xc39ffe(0x2cb)]={},_0x240985=_0x2d8468[_0xc39ffe(0x419)]={'stringify':function(_0x13a3ab){const _0xb66d1=_0xc39ffe;var _0x5c63c0,_0x5d3292=_0x13a3ab['ciphertext'],_0x5d01cf=_0x13a3ab[_0xb66d1(0x3da)];return _0x5d01cf?_0x5c63c0=_0x23d299[_0xb66d1(0x4ee)]([0x53616c74,0x65645f5f])['concat'](_0x5d01cf)['concat'](_0x5d3292):_0x5c63c0=_0x5d3292,_0x5c63c0[_0xb66d1(0x3a4)](_0x34190b);},'parse':function(_0x4e9a09){const _0x14ac53=_0xc39ffe;var _0x483a9f,_0x3584e2=_0x34190b[_0x14ac53(0x4c5)](_0x4e9a09),_0x579b8b=_0x3584e2[_0x14ac53(0x256)];return _0x579b8b[0x0]==0x53616c74&&_0x579b8b[0x1]==0x65645f5f&&(_0x483a9f=_0x23d299[_0x14ac53(0x4ee)](_0x579b8b[_0x14ac53(0x38d)](0x2,0x4)),_0x579b8b[_0x14ac53(0x53d)](0x0,0x4),_0x3584e2[_0x14ac53(0x1b1)]-=0x10),_0x2f6146[_0x14ac53(0x4ee)]({'ciphertext':_0x3584e2,'salt':_0x483a9f});}},_0x509bd0=_0x469414[_0xc39ffe(0x4de)]=_0x39d1fa[_0xc39ffe(0x279)]({'cfg':_0x39d1fa[_0xc39ffe(0x279)]({'format':_0x240985}),'encrypt':function(_0x5e762b,_0x4c4faa,_0x94a7f7,_0x558c8d){const _0xcf2be8=_0xc39ffe;_0x558c8d=this[_0xcf2be8(0x59f)][_0xcf2be8(0x279)](_0x558c8d);var _0x39de7b=_0x5e762b[_0xcf2be8(0x345)](_0x94a7f7,_0x558c8d),_0x2f279d=_0x39de7b[_0xcf2be8(0x3b3)](_0x4c4faa),_0x535734=_0x39de7b[_0xcf2be8(0x59f)];return _0x2f6146[_0xcf2be8(0x4ee)]({'ciphertext':_0x2f279d,'key':_0x94a7f7,'iv':_0x535734['iv'],'algorithm':_0x5e762b,'mode':_0x535734['mode'],'padding':_0x535734[_0xcf2be8(0x58a)],'blockSize':_0x5e762b[_0xcf2be8(0x19f)],'formatter':_0x558c8d[_0xcf2be8(0x2cb)]});},'decrypt':function(_0x171ad1,_0x34ab79,_0x1fbef6,_0x18481f){const _0x22695e=_0xc39ffe;_0x18481f=this[_0x22695e(0x59f)][_0x22695e(0x279)](_0x18481f),_0x34ab79=this['_parse'](_0x34ab79,_0x18481f[_0x22695e(0x2cb)]);var _0x371471=_0x171ad1['createDecryptor'](_0x1fbef6,_0x18481f)[_0x22695e(0x3b3)](_0x34ab79[_0x22695e(0x2df)]);return _0x371471;},'_parse':function(_0x4ec597,_0xcbd291){const _0x3b2d1c=_0xc39ffe;return typeof _0x4ec597==_0x3b2d1c(0x18e)?_0xcbd291[_0x3b2d1c(0x4c5)](_0x4ec597,this):_0x4ec597;}}),_0x262f51=_0x5dd2ea['kdf']={},_0x179f5f=_0x262f51['OpenSSL']={'execute':function(_0xbc8a53,_0x499bda,_0x329ce0,_0x23aa1d,_0xa9d0d9){const _0x28f250=_0xc39ffe;if(_0x23aa1d||(_0x23aa1d=_0x23d299[_0x28f250(0x2bf)](0x40/0x8)),_0xa9d0d9)var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0,'hasher':_0xa9d0d9})[_0x28f250(0x4e8)](_0xbc8a53,_0x23aa1d);else var _0x351a99=_0x5dae4d[_0x28f250(0x4ee)]({'keySize':_0x499bda+_0x329ce0})['compute'](_0xbc8a53,_0x23aa1d);var _0x114277=_0x23d299[_0x28f250(0x4ee)](_0x351a99['words']['slice'](_0x499bda),_0x329ce0*0x4);return _0x351a99[_0x28f250(0x1b1)]=_0x499bda*0x4,_0x2f6146[_0x28f250(0x4ee)]({'key':_0x351a99,'iv':_0x114277,'salt':_0x23aa1d});}},_0x203d52=_0x469414[_0xc39ffe(0x40a)]=_0x509bd0[_0xc39ffe(0x279)]({'cfg':_0x509bd0[_0xc39ffe(0x59f)][_0xc39ffe(0x279)]({'kdf':_0x179f5f}),'encrypt':function(_0x245f0b,_0xe6c2fe,_0x4ef296,_0x476cc7){const _0x434f4d=_0xc39ffe;_0x476cc7=this['cfg'][_0x434f4d(0x279)](_0x476cc7);var _0x595b4b=_0x476cc7[_0x434f4d(0x25a)][_0x434f4d(0x132)](_0x4ef296,_0x245f0b[_0x434f4d(0x2af)],_0x245f0b[_0x434f4d(0x421)],_0x476cc7[_0x434f4d(0x3da)],_0x476cc7['hasher']);_0x476cc7['iv']=_0x595b4b['iv'];var _0x1031c0=_0x509bd0[_0x434f4d(0x25b)][_0x434f4d(0x3b4)](this,_0x245f0b,_0xe6c2fe,_0x595b4b['key'],_0x476cc7);return _0x1031c0[_0x434f4d(0x3ba)](_0x595b4b),_0x1031c0;},'decrypt':function(_0x585592,_0x38c1df,_0xf2378e,_0x246991){const _0x4c01b8=_0xc39ffe;_0x246991=this['cfg'][_0x4c01b8(0x279)](_0x246991),_0x38c1df=this['_parse'](_0x38c1df,_0x246991[_0x4c01b8(0x2cb)]);var _0x301b99=_0x246991[_0x4c01b8(0x25a)][_0x4c01b8(0x132)](_0xf2378e,_0x585592[_0x4c01b8(0x2af)],_0x585592[_0x4c01b8(0x421)],_0x38c1df[_0x4c01b8(0x3da)],_0x246991[_0x4c01b8(0x225)]);_0x246991['iv']=_0x301b99['iv'];var _0x309326=_0x509bd0[_0x4c01b8(0x1ba)][_0x4c01b8(0x3b4)](this,_0x585592,_0x38c1df,_0x301b99[_0x4c01b8(0x3a2)],_0x246991);return _0x309326;}});}();}));}(_0x210bb4)),_0x210bb4['exports'];}(function(_0x414506,_0x3eb8f6){(function(_0x43792d,_0x590944,_0x1e8fb9){const _0x3d437e=_0x586f;_0x414506[_0x3d437e(0x50a)]=_0x590944(_0x50a408(),_0x25dbd1(),_0xce1d1b(),_0x4f0e2d(),_0x1e9ef0());}(_0x4b3743,function(_0x817790){const _0x5db548=_0x586f;return(function(){const _0x12fe38=_0x586f;var _0x4ed59c=_0x817790,_0x4bdbc9=_0x4ed59c[_0x12fe38(0x59b)],_0x3db3c1=_0x4bdbc9[_0x12fe38(0x13b)],_0x5d7f14=_0x4ed59c['algo'],_0x11d17e=[],_0x5c97d9=[],_0x263b0d=[],_0x583e1b=[],_0x35c9b5=[],_0x2b9072=[],_0x2b0f6d=[],_0x24ea6a=[],_0x110f18=[],_0x533abd=[];(function(){for(var _0x532e5a=[],_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++)_0x2084b4<0x80?_0x532e5a[_0x2084b4]=_0x2084b4<<0x1:_0x532e5a[_0x2084b4]=_0x2084b4<<0x1^0x11b;for(var _0x4c3d7a=0x0,_0xf6f8d7=0x0,_0x2084b4=0x0;_0x2084b4<0x100;_0x2084b4++){var _0x326645=_0xf6f8d7^_0xf6f8d7<<0x1^_0xf6f8d7<<0x2^_0xf6f8d7<<0x3^_0xf6f8d7<<0x4;_0x326645=_0x326645>>>0x8^_0x326645&0xff^0x63,_0x11d17e[_0x4c3d7a]=_0x326645,_0x5c97d9[_0x326645]=_0x4c3d7a;var _0x4fa05f=_0x532e5a[_0x4c3d7a],_0x456c3c=_0x532e5a[_0x4fa05f],_0xbe9c43=_0x532e5a[_0x456c3c],_0x51bb91=_0x532e5a[_0x326645]*0x101^_0x326645*0x1010100;_0x263b0d[_0x4c3d7a]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x583e1b[_0x4c3d7a]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x35c9b5[_0x4c3d7a]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x2b9072[_0x4c3d7a]=_0x51bb91;var _0x51bb91=_0xbe9c43*0x1010101^_0x456c3c*0x10001^_0x4fa05f*0x101^_0x4c3d7a*0x1010100;_0x2b0f6d[_0x326645]=_0x51bb91<<0x18|_0x51bb91>>>0x8,_0x24ea6a[_0x326645]=_0x51bb91<<0x10|_0x51bb91>>>0x10,_0x110f18[_0x326645]=_0x51bb91<<0x8|_0x51bb91>>>0x18,_0x533abd[_0x326645]=_0x51bb91,_0x4c3d7a?(_0x4c3d7a=_0x4fa05f^_0x532e5a[_0x532e5a[_0x532e5a[_0xbe9c43^_0x4fa05f]]],_0xf6f8d7^=_0x532e5a[_0x532e5a[_0xf6f8d7]]):_0x4c3d7a=_0xf6f8d7=0x1;}}());var _0x4184c5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49f5d9=_0x5d7f14[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x279)]({'_doReset':function(){const _0x3ed27e=_0x12fe38;var _0x1eb9f1;if(!(this[_0x3ed27e(0x54c)]&&this[_0x3ed27e(0x270)]===this['_key'])){for(var _0xf0e9b9=this[_0x3ed27e(0x270)]=this[_0x3ed27e(0x3ec)],_0x1242fe=_0xf0e9b9[_0x3ed27e(0x256)],_0x161b4e=_0xf0e9b9[_0x3ed27e(0x1b1)]/0x4,_0x54a618=this[_0x3ed27e(0x54c)]=_0x161b4e+0x6,_0x435d8e=(_0x54a618+0x1)*0x4,_0x246217=this[_0x3ed27e(0x3cb)]=[],_0x30548c=0x0;_0x30548c<_0x435d8e;_0x30548c++)_0x30548c<_0x161b4e?_0x246217[_0x30548c]=_0x1242fe[_0x30548c]:(_0x1eb9f1=_0x246217[_0x30548c-0x1],_0x30548c%_0x161b4e?_0x161b4e>0x6&&_0x30548c%_0x161b4e==0x4&&(_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff]):(_0x1eb9f1=_0x1eb9f1<<0x8|_0x1eb9f1>>>0x18,_0x1eb9f1=_0x11d17e[_0x1eb9f1>>>0x18]<<0x18|_0x11d17e[_0x1eb9f1>>>0x10&0xff]<<0x10|_0x11d17e[_0x1eb9f1>>>0x8&0xff]<<0x8|_0x11d17e[_0x1eb9f1&0xff],_0x1eb9f1^=_0x4184c5[_0x30548c/_0x161b4e|0x0]<<0x18),_0x246217[_0x30548c]=_0x246217[_0x30548c-_0x161b4e]^_0x1eb9f1);for(var _0x29f286=this['_invKeySchedule']=[],_0x58957f=0x0;_0x58957f<_0x435d8e;_0x58957f++){var _0x30548c=_0x435d8e-_0x58957f;if(_0x58957f%0x4)var _0x1eb9f1=_0x246217[_0x30548c];else var _0x1eb9f1=_0x246217[_0x30548c-0x4];_0x58957f<0x4||_0x30548c<=0x4?_0x29f286[_0x58957f]=_0x1eb9f1:_0x29f286[_0x58957f]=_0x2b0f6d[_0x11d17e[_0x1eb9f1>>>0x18]]^_0x24ea6a[_0x11d17e[_0x1eb9f1>>>0x10&0xff]]^_0x110f18[_0x11d17e[_0x1eb9f1>>>0x8&0xff]]^_0x533abd[_0x11d17e[_0x1eb9f1&0xff]];}}},'encryptBlock':function(_0x4e2c78,_0x1896e5){const _0x424715=_0x12fe38;this['_doCryptBlock'](_0x4e2c78,_0x1896e5,this[_0x424715(0x3cb)],_0x263b0d,_0x583e1b,_0x35c9b5,_0x2b9072,_0x11d17e);},'decryptBlock':function(_0x257b0c,_0x370fea){const _0x415567=_0x12fe38;var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4,this[_0x415567(0x511)](_0x257b0c,_0x370fea,this[_0x415567(0x102)],_0x2b0f6d,_0x24ea6a,_0x110f18,_0x533abd,_0x5c97d9);var _0x9355e4=_0x257b0c[_0x370fea+0x1];_0x257b0c[_0x370fea+0x1]=_0x257b0c[_0x370fea+0x3],_0x257b0c[_0x370fea+0x3]=_0x9355e4;},'_doCryptBlock':function(_0x1264dc,_0x46d4e6,_0x259166,_0x3f8ed9,_0x2755e0,_0x1e34b0,_0x54e434,_0x52074b){const _0x2633b6=_0x12fe38;for(var _0x297879=this[_0x2633b6(0x54c)],_0x15b851=_0x1264dc[_0x46d4e6]^_0x259166[0x0],_0x55bb28=_0x1264dc[_0x46d4e6+0x1]^_0x259166[0x1],_0x2e0ce6=_0x1264dc[_0x46d4e6+0x2]^_0x259166[0x2],_0x443f8c=_0x1264dc[_0x46d4e6+0x3]^_0x259166[0x3],_0x566ec0=0x4,_0x45c964=0x1;_0x45c964<_0x297879;_0x45c964++){var _0x46e596=_0x3f8ed9[_0x15b851>>>0x18]^_0x2755e0[_0x55bb28>>>0x10&0xff]^_0x1e34b0[_0x2e0ce6>>>0x8&0xff]^_0x54e434[_0x443f8c&0xff]^_0x259166[_0x566ec0++],_0x41894f=_0x3f8ed9[_0x55bb28>>>0x18]^_0x2755e0[_0x2e0ce6>>>0x10&0xff]^_0x1e34b0[_0x443f8c>>>0x8&0xff]^_0x54e434[_0x15b851&0xff]^_0x259166[_0x566ec0++],_0x3877a3=_0x3f8ed9[_0x2e0ce6>>>0x18]^_0x2755e0[_0x443f8c>>>0x10&0xff]^_0x1e34b0[_0x15b851>>>0x8&0xff]^_0x54e434[_0x55bb28&0xff]^_0x259166[_0x566ec0++],_0x6bb865=_0x3f8ed9[_0x443f8c>>>0x18]^_0x2755e0[_0x15b851>>>0x10&0xff]^_0x1e34b0[_0x55bb28>>>0x8&0xff]^_0x54e434[_0x2e0ce6&0xff]^_0x259166[_0x566ec0++];_0x15b851=_0x46e596,_0x55bb28=_0x41894f,_0x2e0ce6=_0x3877a3,_0x443f8c=_0x6bb865;}var _0x46e596=(_0x52074b[_0x15b851>>>0x18]<<0x18|_0x52074b[_0x55bb28>>>0x10&0xff]<<0x10|_0x52074b[_0x2e0ce6>>>0x8&0xff]<<0x8|_0x52074b[_0x443f8c&0xff])^_0x259166[_0x566ec0++],_0x41894f=(_0x52074b[_0x55bb28>>>0x18]<<0x18|_0x52074b[_0x2e0ce6>>>0x10&0xff]<<0x10|_0x52074b[_0x443f8c>>>0x8&0xff]<<0x8|_0x52074b[_0x15b851&0xff])^_0x259166[_0x566ec0++],_0x3877a3=(_0x52074b[_0x2e0ce6>>>0x18]<<0x18|_0x52074b[_0x443f8c>>>0x10&0xff]<<0x10|_0x52074b[_0x15b851>>>0x8&0xff]<<0x8|_0x52074b[_0x55bb28&0xff])^_0x259166[_0x566ec0++],_0x6bb865=(_0x52074b[_0x443f8c>>>0x18]<<0x18|_0x52074b[_0x15b851>>>0x10&0xff]<<0x10|_0x52074b[_0x55bb28>>>0x8&0xff]<<0x8|_0x52074b[_0x2e0ce6&0xff])^_0x259166[_0x566ec0++];_0x1264dc[_0x46d4e6]=_0x46e596,_0x1264dc[_0x46d4e6+0x1]=_0x41894f,_0x1264dc[_0x46d4e6+0x2]=_0x3877a3,_0x1264dc[_0x46d4e6+0x3]=_0x6bb865;},'keySize':0x100/0x20});_0x4ed59c[_0x12fe38(0x29e)]=_0x3db3c1[_0x12fe38(0x18c)](_0x49f5d9);}()),_0x817790[_0x5db548(0x29e)];}));}(_0x3f01d8));var _0x4b37df=_0x3f01d8[_0x16631f(0x50a)];const _0x50a5df=_0x3c7ed0(_0x4b37df);var _0x4e9352=_0x25dbd1();const _0x4447f7=_0x3c7ed0(_0x4e9352);var _0x472d4f={'exports':{}};(function(_0x405e77,_0x27f8f2){(function(_0x52a214,_0x18ecef){const _0x103693=_0x586f;_0x405e77[_0x103693(0x50a)]=_0x18ecef(_0x50a408());}(_0x4b3743,function(_0x505166){const _0x2a0420=_0x586f;return _0x505166[_0x2a0420(0x4d7)][_0x2a0420(0xf4)];}));}(_0x472d4f));var _0xb27a86=_0x472d4f[_0x16631f(0x50a)];const _0x1e2e34=_0x3c7ed0(_0xb27a86);var _0x482c47={'exports':{}};(function(_0x372c48,_0x137b16){(function(_0x4d47b1,_0x547506){_0x372c48['exports']=_0x547506(_0x50a408());}(_0x4b3743,function(_0x68dc54){const _0x1a8296=_0x586f;return(function(){const _0x2c4ee4=_0x586f;if(typeof ArrayBuffer==_0x2c4ee4(0x445)){var _0x32df0a=_0x68dc54,_0xaae2e0=_0x32df0a[_0x2c4ee4(0x59b)],_0x599a73=_0xaae2e0[_0x2c4ee4(0x5a2)],_0x2a01f3=_0x599a73[_0x2c4ee4(0x299)],_0x2bbec8=_0x599a73[_0x2c4ee4(0x299)]=function(_0x3fa413){const _0xe4261e=_0x2c4ee4;if(_0x3fa413 instanceof ArrayBuffer&&(_0x3fa413=new Uint8Array(_0x3fa413)),(_0x3fa413 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3fa413 instanceof Uint8ClampedArray||_0x3fa413 instanceof Int16Array||_0x3fa413 instanceof Uint16Array||_0x3fa413 instanceof Int32Array||_0x3fa413 instanceof Uint32Array||_0x3fa413 instanceof Float32Array||_0x3fa413 instanceof Float64Array)&&(_0x3fa413=new Uint8Array(_0x3fa413[_0xe4261e(0x40f)],_0x3fa413[_0xe4261e(0x15d)],_0x3fa413[_0xe4261e(0x229)])),_0x3fa413 instanceof Uint8Array){for(var _0x14afdf=_0x3fa413['byteLength'],_0x5050bd=[],_0x16a08b=0x0;_0x16a08b<_0x14afdf;_0x16a08b++)_0x5050bd[_0x16a08b>>>0x2]|=_0x3fa413[_0x16a08b]<<0x18-_0x16a08b%0x4*0x8;_0x2a01f3[_0xe4261e(0x3b4)](this,_0x5050bd,_0x14afdf);}else _0x2a01f3[_0xe4261e(0x480)](this,arguments);};_0x2bbec8['prototype']=_0x599a73;}}()),_0x68dc54['lib'][_0x1a8296(0x5a2)];}));}(_0x482c47));var _0x3e79d7=_0x482c47[_0x16631f(0x50a)];const _0xbf49d1=_0x3c7ed0(_0x3e79d7);var _0x59600c={'exports':{}};(function(_0x587411,_0x171533){(function(_0x5517ec,_0x11704c,_0x3e8af6){const _0x37c365=_0x586f;_0x587411[_0x37c365(0x50a)]=_0x11704c(_0x50a408(),_0x1e9ef0());}(_0x4b3743,function(_0x3f0c60){const _0x1bdfa4=_0x586f;return _0x3f0c60[_0x1bdfa4(0x394)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f0c60[_0x1bdfa4(0x394)]['NoPadding'];}));}(_0x59600c));var _0x4543e7=_0x59600c[_0x16631f(0x50a)];const _0x46255d=_0x3c7ed0(_0x4543e7);function _0x527a64(_0x4f98f2,_0x3bd425){const _0x203d95=_0x16631f,_0xd06a80=_0x3bd425-_0x4f98f2[_0x203d95(0x272)]%_0x3bd425,_0x3264d6=String[_0x203d95(0x347)](_0xd06a80)[_0x203d95(0x1e2)](_0xd06a80);return _0x4f98f2+_0x3264d6;}function _0x180677(_0xc56f88,_0x133368){const _0x16e2fc=_0x16631f,_0x4c32be=_0xbf49d1[_0x16e2fc(0x2bf)](0x10),_0x335c97=_0x527a64(_0xc56f88,0x10),_0x52b5f6=_0x50a5df[_0x16e2fc(0x25b)](_0x1e2e34[_0x16e2fc(0x4c5)](_0x335c97),_0x4447f7[_0x16e2fc(0x4c5)](_0x133368),{'iv':_0x4c32be,'padding':_0x46255d});return _0x4c32be[_0x16e2fc(0x40b)](_0x52b5f6[_0x16e2fc(0x2df)])[_0x16e2fc(0x3a4)](_0x4447f7);}function _0x3228cb(){const _0x488cd8=_0x16631f,_0x1b2ead=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1b2ead){const _0x4f4ec9={'time':Math['floor'](Date[_0x488cd8(0x410)]()/0x3e8),'domain':location['hostname']};return _0x180677(JSON[_0x488cd8(0x338)](_0x4f4ec9),_0x1b2ead);}}var _0x149ca6=Object[_0x16631f(0x162)],_0x122b4f=Object['getOwnPropertyDescriptor'],_0x18c837=(_0x7748f4,_0x23d71e,_0x4a6343,_0x269fdb)=>{const _0x26dec6=_0x16631f;for(var _0x12f823=_0x269fdb>0x1?void 0x0:_0x269fdb?_0x122b4f(_0x23d71e,_0x4a6343):_0x23d71e,_0x492afd=_0x7748f4[_0x26dec6(0x272)]-0x1,_0x1f6909;_0x492afd>=0x0;_0x492afd--)(_0x1f6909=_0x7748f4[_0x492afd])&&(_0x12f823=(_0x269fdb?_0x1f6909(_0x23d71e,_0x4a6343,_0x12f823):_0x1f6909(_0x12f823))||_0x12f823);return _0x269fdb&&_0x12f823&&_0x149ca6(_0x23d71e,_0x4a6343,_0x12f823),_0x12f823;},_0x3237b8=(_0x2276a6,_0x36c36d)=>(_0x436468,_0x44b954)=>_0x36c36d(_0x436468,_0x44b954,_0x2276a6);let _0x3d44e4=class{constructor(_0x458df0){const _0x5d56ef=_0x16631f;this[_0x5d56ef(0x23f)]=_0x458df0,this[_0x5d56ef(0x4f7)]();}['_initRequestHeader'](){const _0x38318c=_0x16631f;this['_httpService'][_0x38318c(0x118)]({'interceptor':(_0x2a212e,_0x4bedff)=>{const _0x7003e3=_0x38318c,_0x4ac44d=_0x2a212e['headers'],_0x48ee50=_0x3228cb();return _0x48ee50&&_0x4ac44d['set'](_0x7003e3(0x397),_0x48ee50),_0x4bedff(_0x2a212e);}});}};_0x3d44e4=_0x18c837([_0x3237b8(0x0,_0x8a1a57[_0x16631f(0x537)](_0x547ebe[_0x16631f(0x359)]))],_0x3d44e4);var _0x598078=Object[_0x16631f(0x162)],_0xc9ed8b=Object['getOwnPropertyDescriptor'],_0x288ae9=(_0x4fab95,_0x374b5a,_0x26b1b6,_0xd7db75)=>{const _0x3e50b2=_0x16631f;for(var _0x2b3c5f=_0xd7db75>0x1?void 0x0:_0xd7db75?_0xc9ed8b(_0x374b5a,_0x26b1b6):_0x374b5a,_0x372fe1=_0x4fab95[_0x3e50b2(0x272)]-0x1,_0x52034e;_0x372fe1>=0x0;_0x372fe1--)(_0x52034e=_0x4fab95[_0x372fe1])&&(_0x2b3c5f=(_0xd7db75?_0x52034e(_0x374b5a,_0x26b1b6,_0x2b3c5f):_0x52034e(_0x2b3c5f))||_0x2b3c5f);return _0xd7db75&&_0x2b3c5f&&_0x598078(_0x374b5a,_0x26b1b6,_0x2b3c5f),_0x2b3c5f;},_0x4a0965=(_0xd6e24c,_0x1f5d58)=>(_0x4f7318,_0x451847)=>_0x1f5d58(_0x4f7318,_0x451847,_0xd6e24c);const _0x465e0c=[_0x16631f(0x36c),_0x16631f(0x23d),_0x16631f(0x431),_0x16631f(0x423),_0x16631f(0x4dd)],_0x498e36=0x5*0x400*0x400,_0xaf8068='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x57cb2e=_0x16631f(0x18b),_0x33b00e=_0x16631f(0x43b),_0x10afd5='/universer-api/file/{fileID}/sign-url';_0x2728bd[_0x16631f(0x2b6)]=class{constructor(_0x35c860,_0x305a98,_0x1b9577){const _0x1cdffc=_0x16631f;_0x2a606e(this,_0x1cdffc(0x49a),0x0),_0x2a606e(this,_0x1cdffc(0x589),new _0x933215['Subject']()),_0x2a606e(this,_0x1cdffc(0x492),this[_0x1cdffc(0x589)]),_0x2a606e(this,_0x1cdffc(0x10a),new Map()),(this[_0x1cdffc(0x23f)]=_0x35c860,this[_0x1cdffc(0x31f)]=_0x305a98,this[_0x1cdffc(0x3e7)]=_0x1b9577);}[_0x16631f(0x575)](_0x5644b2){const _0x18029f=_0x16631f;this[_0x18029f(0x49a)]=_0x5644b2,this[_0x18029f(0x589)][_0x18029f(0x1dd)](_0x5644b2);}[_0x16631f(0x4cd)](_0x4185c8,_0x59dbf5){const _0x470bee=_0x16631f;if(_0x59dbf5===_0x1444d['ImageSourceType'][_0x470bee(0x3d5)]){const _0x336655=new Image();return _0x336655[_0x470bee(0x4a2)]=_0x4185c8,_0x336655;}return this[_0x470bee(0x10a)][_0x470bee(0x241)](_0x4185c8);}[_0x16631f(0x30b)](_0x28eed5,_0x50b9fe,_0xaa5d91){const _0x54d872=_0x16631f;_0x50b9fe===_0x1444d[_0x54d872(0x26b)]['BASE64']||_0xaa5d91==null||this[_0x54d872(0x10a)][_0x54d872(0x41f)](_0x28eed5,_0xaa5d91);}async['getImage'](_0x4ff86d){const _0x27dfdf=_0x16631f;try{const _0x174222=this[_0x27dfdf(0x3af)](this[_0x27dfdf(0x248)](),''+_0x4ff86d),_0xadfde4=(await this[_0x27dfdf(0x23f)]['get'](_0x174222))[_0x27dfdf(0x50c)];if(_0xadfde4[_0x27dfdf(0x1df)]&&_0xadfde4[_0x27dfdf(0x1df)][_0x27dfdf(0x196)]===_0x40c994['OK']){const _0x32ea3f=new URL(_0xadfde4['url'],this[_0x27dfdf(0x2f7)]())[_0x27dfdf(0x3a4)]();return Promise['resolve'](_0x32ea3f);}return Promise[_0x27dfdf(0x2da)](_0xadfde4[_0x27dfdf(0x1df)]);}catch(_0x186736){return Promise[_0x27dfdf(0x2da)](_0x186736);}}async[_0x16631f(0x5b3)](_0x18bf53){const _0x214d07=_0x16631f;let _0x5034ac='';if(!_0x465e0c[_0x214d07(0x41a)](_0x18bf53[_0x214d07(0x49b)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x2be)]));if(_0x18bf53[_0x214d07(0x3f3)]>_0x498e36)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x195367=new FormData();_0x195367[_0x214d07(0x43a)](_0x214d07(0x53e),_0x18bf53);const _0x59040b=this[_0x214d07(0x3e7)][_0x214d07(0x328)](),_0x2874d7=_0x59040b==null?void 0x0:_0x59040b[_0x214d07(0x4ed)]();if(!_0x2874d7)throw new Error(_0x214d07(0x1d4));const _0x2ca725=this['_getUploadFileURL']()+'?size='+_0x18bf53['size']['toString']()+'&source='+_0x4e4d17[_0x214d07(0x35a)]+_0x214d07(0x529)+encodeURIComponent(_0x2874d7),_0x33b954=await(await fetch(_0x2ca725,{'method':_0x214d07(0x528),'body':_0x195367}))['json']();if(typeof _0x33b954[_0x214d07(0x577)]!=_0x214d07(0x18e))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1444d[_0x214d07(0x15a)][_0x214d07(0x417)]));_0x5034ac=_0x33b954[_0x214d07(0x577)];}catch{return this[_0x214d07(0x11a)](),Promise[_0x214d07(0x2da)](new Error(_0x1444d['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x358984,_0x1bd96a)=>{const _0x1c5dd4=_0x214d07,_0x4be3be=new FileReader();_0x4be3be[_0x1c5dd4(0x109)](_0x18bf53),_0x4be3be['onload']=_0x300987=>{const _0x2b3342=_0x1c5dd4;var _0x2d03b1;const _0x40324b=(_0x2d03b1=_0x300987[_0x2b3342(0x587)])==null?void 0x0:_0x2d03b1[_0x2b3342(0x36b)];if(_0x40324b==null){this['_decreaseWaiting'](),_0x1bd96a(new Error(_0x1444d[_0x2b3342(0x15a)][_0x2b3342(0x417)]));return;}const _0x2f7f38=_0x8a1a57[_0x2b3342(0x435)]['generateRandomId'](0x6);_0x358984({'imageId':_0x2f7f38,'imageSourceType':_0x1444d['ImageSourceType']['UUID'],'source':_0x5034ac,'base64Cache':_0x40324b,'status':_0x1444d['ImageUploadStatusType'][_0x2b3342(0x471)]}),this[_0x2b3342(0x11a)]();};});}['_getUploadFileURL'](){const _0x1a6508=_0x16631f;var _0x43aa55,_0x4b6ed9;const _0xbc390d=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0xaf8068),_0x1acbc5=this[_0x1a6508(0x31f)][_0x1a6508(0xfd)](_0x132856);return(_0x4b6ed9=(_0x43aa55=_0x1acbc5==null?void 0x0:_0x1acbc5[_0x1a6508(0x257)])!=null?_0x43aa55:_0xbc390d)!=null?_0x4b6ed9:_0x57cb2e;}[_0x16631f(0x248)](){const _0x341c39=_0x16631f;var _0x23e29a,_0x43718c;const _0xf83838=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x33b00e),_0x2006f0=this[_0x341c39(0x31f)][_0x341c39(0xfd)](_0x132856);return(_0x43718c=(_0x23e29a=_0x2006f0==null?void 0x0:_0x2006f0[_0x341c39(0x542)])!=null?_0x23e29a:_0xf83838)!=null?_0x43718c:_0x10afd5;}[_0x16631f(0x2f7)](){const _0x2f90c4=_0x16631f;var _0x26d744;const _0x2e1c80=this[_0x2f90c4(0x31f)]['getConfig'](_0x132856);return(_0x26d744=_0x2e1c80==null?void 0x0:_0x2e1c80[_0x2f90c4(0x23c)])!=null?_0x26d744:location[_0x2f90c4(0x2e4)];}[_0x16631f(0x3af)](_0x4169de,_0x341de7){const _0x328dd3=_0x16631f;return _0x4169de[_0x328dd3(0x1e1)](_0x328dd3(0x249),_0x341de7);}[_0x16631f(0x11a)](){const _0x5e7884=_0x16631f;this[_0x5e7884(0x49a)]-=0x1,this[_0x5e7884(0x589)][_0x5e7884(0x1dd)](this[_0x5e7884(0x49a)]);}},_0x2728bd[_0x16631f(0x2b6)]=_0x288ae9([_0x4a0965(0x0,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)])),_0x4a0965(0x1,_0x8a1a57['IConfigService']),_0x4a0965(0x2,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1db)]))],_0x2728bd['ImageIoService']);var _0xba0f26=Object['defineProperty'],_0x4ee4b1=Object[_0x16631f(0x57e)],_0x2f5c05=(_0x2676ac,_0x4c440e,_0x533be9,_0xbf7a78)=>{for(var _0x3e78a8=_0xbf7a78>0x1?void 0x0:_0xbf7a78?_0x4ee4b1(_0x4c440e,_0x533be9):_0x4c440e,_0xa2c734=_0x2676ac['length']-0x1,_0x7e0feb;_0xa2c734>=0x0;_0xa2c734--)(_0x7e0feb=_0x2676ac[_0xa2c734])&&(_0x3e78a8=(_0xbf7a78?_0x7e0feb(_0x4c440e,_0x533be9,_0x3e78a8):_0x7e0feb(_0x3e78a8))||_0x3e78a8);return _0xbf7a78&&_0x3e78a8&&_0xba0f26(_0x4c440e,_0x533be9,_0x3e78a8),_0x3e78a8;},_0x3ee467=(_0x39922,_0x1c00be)=>(_0x7548cf,_0xf18cd0)=>_0x1c00be(_0x7548cf,_0xf18cd0,_0x39922);let _0x4df2fb=class extends _0x8a1a57[_0x16631f(0x228)]{constructor(_0x1b2eba,_0x1bc7f2,_0x17a19b,_0x15c0ca,_0x20ab09){const _0x269885=_0x16631f;super(),this[_0x269885(0x264)]=_0x1b2eba,this['_univerInstanceService']=_0x1bc7f2,this[_0x269885(0x4df)]=_0x17a19b,this[_0x269885(0x4e0)]=_0x15c0ca,this[_0x269885(0x4f0)]=_0x20ab09,this[_0x269885(0x170)](),this[_0x269885(0x4cb)]();}[_0x16631f(0x4cb)](){const _0x42d08b=_0x16631f,_0x157c29=async _0x185edf=>{const _0x54dad1=_0x586f;(await this[_0x54dad1(0x4e0)]['requireSession'](_0x185edf))[_0x54dad1(0x197)][_0x54dad1(0x4be)](_0x478e49[_0x54dad1(0x53f)](_0x2252f8=>_0x2252f8[_0x54dad1(0x3dd)]===_0x27cfd8['CollaborationEvent'][_0x54dad1(0x21c)]),_0x478e49[_0x54dad1(0x3d9)](this['dispose$']))[_0x54dad1(0x42c)](_0x4c2977=>{const _0x403113=_0x54dad1,_0x487e60=_0x4c2977,{reason:_0x1b6e12}=_0x487e60['data'];this[_0x403113(0x264)][_0x403113(0x241)](_0x4b60ff[_0x403113(0x136)])[_0x403113(0x354)]({'type':_0x731a74[_0x403113(0x2a9)][_0x403113(0x5b1)],'content':this[_0x403113(0x4f0)]['t'](_0x403113(0x550))+'('+_0x1b6e12+')'}),this['_permissionService'][_0x403113(0x1a0)](new _0x46f63a[(_0x403113(0x4b3))](_0x185edf)['id'],!0x1),this['_collaborationSessionService'][_0x403113(0x46d)](_0x185edf);});};_0x933215[_0x42d08b(0x116)](this[_0x42d08b(0x3e7)][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x42d08b(0x124)](_0x8a1a57['UniverInstanceType'][_0x42d08b(0x327)]))[_0x42d08b(0x4be)](_0x478e49[_0x42d08b(0x2ca)](_0x56a4ae=>_0x56a4ae[_0x42d08b(0x4ed)]()),_0x478e49[_0x42d08b(0x53f)](_0x1fb624=>!_0x8a1a57[_0x42d08b(0x1c7)](_0x1fb624)),_0x478e49['takeUntil'](this[_0x42d08b(0x42d)]))[_0x42d08b(0x42c)](_0x54fb1b=>{_0x157c29(_0x54fb1b);});}[_0x16631f(0x170)](){const _0x2ae2d3=_0x16631f,_0x4bc851=async _0x1940eb=>{const _0x3f2833=_0x586f;(await this[_0x3f2833(0x4e0)][_0x3f2833(0x5ab)](_0x1940eb))['event$'][_0x3f2833(0x4be)](_0x478e49[_0x3f2833(0x53f)](_0x28421b=>_0x28421b[_0x3f2833(0x3dd)]===_0x27cfd8[_0x3f2833(0x3e5)][_0x3f2833(0x2c6)]),_0x478e49[_0x3f2833(0x3d9)](this[_0x3f2833(0x42d)]))['subscribe'](_0x590143=>{const _0x512f19=_0x3f2833,_0x44fb59=_0x590143,{objectId:_0x41ceb1}=_0x44fb59[_0x512f19(0x140)],_0x4bd67c=this[_0x512f19(0x264)][_0x512f19(0x241)](_0x3ba744[_0x512f19(0x101)]);_0x41ceb1===_0x1940eb?_0x4bd67c[_0x512f19(0x56c)](_0x1940eb):_0x4bd67c['refreshPermission'](_0x1940eb,_0x41ceb1);});};_0x933215[_0x2ae2d3(0x116)](this['_univerInstanceService'][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)]['UNIVER_SHEET']),this[_0x2ae2d3(0x3e7)][_0x2ae2d3(0x124)](_0x8a1a57[_0x2ae2d3(0x3e6)][_0x2ae2d3(0x327)]))[_0x2ae2d3(0x4be)](_0x478e49[_0x2ae2d3(0x2ca)](_0x251a74=>_0x251a74['getUnitId']()),_0x478e49['filter'](_0x1717a6=>!_0x8a1a57[_0x2ae2d3(0x1c7)](_0x1717a6)),_0x478e49[_0x2ae2d3(0x3d9)](this[_0x2ae2d3(0x42d)]))[_0x2ae2d3(0x42c)](_0x4f5c17=>{_0x4bc851(_0x4f5c17);});}};_0x4df2fb=_0x2f5c05([_0x3ee467(0x0,_0x8a1a57['Inject'](_0x8a1a57['Injector'])),_0x3ee467(0x1,_0x8a1a57[_0x16631f(0x1db)]),_0x3ee467(0x2,_0x8a1a57[_0x16631f(0x395)]),_0x3ee467(0x3,_0x8a1a57[_0x16631f(0x537)](_0x2728bd[_0x16631f(0x37f)])),_0x3ee467(0x4,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x1f4)]))],_0x4df2fb);var _0x4a9b59=Object['defineProperty'],_0x5167c6=Object[_0x16631f(0x57e)],_0x34a26e=(_0x89710e,_0xeba55,_0x2e1992,_0x399138)=>{const _0x176720=_0x16631f;for(var _0x69c82=_0x399138>0x1?void 0x0:_0x399138?_0x5167c6(_0xeba55,_0x2e1992):_0xeba55,_0x27fa66=_0x89710e[_0x176720(0x272)]-0x1,_0x15c8c6;_0x27fa66>=0x0;_0x27fa66--)(_0x15c8c6=_0x89710e[_0x27fa66])&&(_0x69c82=(_0x399138?_0x15c8c6(_0xeba55,_0x2e1992,_0x69c82):_0x15c8c6(_0x69c82))||_0x69c82);return _0x399138&&_0x69c82&&_0x4a9b59(_0xeba55,_0x2e1992,_0x69c82),_0x69c82;},_0x40898c=(_0x46ea93,_0x593e06)=>(_0x311b24,_0x2e9239)=>_0x593e06(_0x311b24,_0x2e9239,_0x46ea93);_0x2728bd[_0x16631f(0x484)]=class{constructor(_0x4edd97,_0x3160c5){const _0x118265=_0x16631f;this[_0x118265(0x31f)]=_0x4edd97,this[_0x118265(0x23f)]=_0x3160c5;}async[_0x16631f(0x171)](_0x586149,_0x43c491){const _0x2be8ef=_0x16631f;var _0x3aaa11;const {unitID:_0x497b98,type:_0x1c7bf5,revision:_0xc3d38a=0x0}=_0x43c491,_0x2bc2ed=this['_getSnapshotAPIPrefix']()+'/'+_0x1c7bf5+'/unit/'+_0x497b98+_0x2be8ef(0x33c)+_0xc3d38a,_0x29851b=(await this[_0x2be8ef(0x23f)][_0x2be8ef(0x241)](_0x2bc2ed))[_0x2be8ef(0x50c)],_0x59d9a8=(_0x3aaa11=_0x29851b[_0x2be8ef(0x4ea)])==null?void 0x0:_0x3aaa11[_0x2be8ef(0xf1)];if(_0x59d9a8){const _0x134bfb=_0x59d9a8==null?void 0x0:_0x59d9a8[_0x2be8ef(0x1f9)],_0xb8840d=_0x27cfd8[_0x2be8ef(0x3a5)][_0x2be8ef(0x469)](_0x27cfd8[_0x2be8ef(0x13e)](_0x134bfb));_0x59d9a8[_0x2be8ef(0x1f9)]=_0xb8840d,Object['entries'](_0x59d9a8[_0x2be8ef(0x273)])['forEach'](([,_0x59d9f2])=>{const _0x5629e8=_0x2be8ef,_0x1cf8c3=_0x59d9f2[_0x5629e8(0x1f9)],_0x104694=_0x27cfd8[_0x5629e8(0x3a5)][_0x5629e8(0x469)](_0x27cfd8[_0x5629e8(0x13e)](_0x1cf8c3));_0x59d9f2['originalMeta']=_0x104694;});}return _0x29851b;}async[_0x16631f(0x16b)](_0x367126,_0x343a03){const _0x462abc=_0x16631f,{unitID:_0x3996be,type:_0x222d58,blockID:_0x13d85d}=_0x343a03,_0x18cf16=this[_0x462abc(0x49f)]()+'/'+_0x222d58+_0x462abc(0x33e)+_0x3996be+'/block/'+_0x13d85d;return(await this['_httpService'][_0x462abc(0x241)](_0x18cf16))[_0x462abc(0x50c)];}async['getDeserializedSheetBlock'](_0x3ef5a0,_0x345fc4){const _0x292c8d=_0x16631f,{unitID:_0x2400f6,type:_0x3a0ef7,blockID:_0x1352cc}=_0x345fc4,_0x47542e=this[_0x292c8d(0x49f)]()+_0x292c8d(0x247)+_0x3a0ef7+_0x292c8d(0x33e)+_0x2400f6+'/block/'+_0x1352cc;return(await this[_0x292c8d(0x23f)][_0x292c8d(0x241)](_0x47542e))[_0x292c8d(0x50c)];}async['fetchMissingChangesets'](_0x76d74,_0x16dadf){const _0x273bd3=_0x16631f,{unitID:_0x455b6b,type:_0x4a7b77,from:_0x2da8a5,to:_0x18ce53}=_0x16dadf,_0x3bfa0a=this[_0x273bd3(0x49f)]()+'/'+_0x4a7b77+'/unit/'+_0x455b6b+_0x273bd3(0x42b)+_0x2da8a5+_0x273bd3(0x2e8)+_0x18ce53;return(await this['_httpService']['get'](_0x3bfa0a))[_0x273bd3(0x50c)];}[_0x16631f(0x233)](){const _0x39e604=_0x16631f;var _0x3630e2;return(_0x3630e2=this['_configService'][_0x39e604(0xfd)](_0x17ae05))!=null?_0x3630e2:this[_0x39e604(0x49f)]();}[_0x16631f(0x49f)](){const _0x12a03f=_0x16631f;var _0x2ff12d,_0x4b06c9;const _0x29428a=this['_configService'][_0x12a03f(0xfd)](_0x105ab0),_0x57157d=this[_0x12a03f(0x31f)][_0x12a03f(0xfd)](_0x132856);return(_0x4b06c9=(_0x2ff12d=_0x57157d==null?void 0x0:_0x57157d[_0x12a03f(0x2a6)])!=null?_0x2ff12d:_0x29428a)!=null?_0x4b06c9:_0x302226;}async[_0x16631f(0x232)](_0x5932d4,_0x20d336){const _0x10f393=_0x16631f,_0x997564=_0x10f393(0x57f)+_0x20d336[_0x10f393(0x49b)]+'/unit/'+_0x20d336['unitID']+_0x10f393(0x24f);return(await this[_0x10f393(0x23f)][_0x10f393(0x241)](_0x997564,{'params':{'resourceId':JSON[_0x10f393(0x338)](_0x20d336[_0x10f393(0x333)])}}))[_0x10f393(0x50c)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x4a8)](){const _0x5806fe=_0x16631f;throw new Error(_0x5806fe(0x4b4));}[_0x16631f(0x22e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x252)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x16631f(0x31b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x2728bd['SnapshotServerOverHTTPService']=_0x34a26e([_0x40898c(0x0,_0x8a1a57['IConfigService']),_0x40898c(0x1,_0x8a1a57['Inject'](_0x547ebe[_0x16631f(0x359)]))],_0x2728bd['SnapshotServerOverHTTPService']);var _0x2f9ce6=Object[_0x16631f(0x162)],_0x5233a1=Object[_0x16631f(0x57e)],_0x1c3b2d=(_0x13726f,_0x5de598,_0x183fa3,_0x123491)=>{for(var _0x45d5b9=_0x123491>0x1?void 0x0:_0x123491?_0x5233a1(_0x5de598,_0x183fa3):_0x5de598,_0x29bab6=_0x13726f['length']-0x1,_0x5c201f;_0x29bab6>=0x0;_0x29bab6--)(_0x5c201f=_0x13726f[_0x29bab6])&&(_0x45d5b9=(_0x123491?_0x5c201f(_0x5de598,_0x183fa3,_0x45d5b9):_0x5c201f(_0x45d5b9))||_0x45d5b9);return _0x123491&&_0x45d5b9&&_0x2f9ce6(_0x5de598,_0x183fa3,_0x45d5b9),_0x45d5b9;},_0x50e1ec=(_0x55eea0,_0x1bbfe5)=>(_0x2fc4a5,_0x1489d5)=>_0x1bbfe5(_0x2fc4a5,_0x1489d5,_0x55eea0);let _0x2cc3b7=class extends _0x8a1a57[_0x16631f(0x119)]{constructor(_0x3e9eca,_0x3c4740,_0x28d2f6,_0x8eb3e5,_0x40778f){const _0x198bef=_0x16631f;super(_0x3e9eca,_0x3c4740,_0x28d2f6),this[_0x198bef(0x549)]=_0x8eb3e5,this[_0x198bef(0x515)]=_0x40778f;}['transformUndoRedo'](_0xdbafc5,_0x1e6515){const _0x2842fb=_0x16631f,_0x4292e0=this[_0x2842fb(0x4e4)](_0xdbafc5);if(_0x4292e0)try{const _0x236cb3=this[_0x2842fb(0x4b2)](_0x4292e0,_0x1e6515);this['_substituteUndoStack'](_0xdbafc5,_0x236cb3);}catch(_0x2619de){this[_0x2842fb(0x515)]['error']('[CollaborationUndoRedoService]',_0x2619de),this[_0x2842fb(0x474)](_0xdbafc5);}const _0x4792d6=this[_0x2842fb(0x4ad)](_0xdbafc5);if(_0x4792d6)try{const _0x55c753=this[_0x2842fb(0x4b2)](_0x4792d6,_0x1e6515);this[_0x2842fb(0x472)](_0xdbafc5,_0x55c753);}catch(_0x328f44){this[_0x2842fb(0x515)][_0x2842fb(0x1df)](_0x328f44),this['_clearRedo'](_0xdbafc5);}}[_0x16631f(0x474)](_0x595e76){const _0x4deba7=_0x16631f,_0x3922be=this[_0x4deba7(0x4e4)](_0x595e76);_0x3922be&&(_0x3922be['length']=0x0,this[_0x4deba7(0x1c4)]());}[_0x16631f(0x254)](_0x5eeecb){const _0x3a15e6=_0x16631f,_0x38b995=this[_0x3a15e6(0x4ad)](_0x5eeecb);_0x38b995&&(_0x38b995[_0x3a15e6(0x272)]=0x0,this[_0x3a15e6(0x1c4)]());}['_substituteUndoStack'](_0xfb8ac,_0x5c6a63){const _0xf2ba1d=_0x16631f;this['_undoStacks']['set'](_0xfb8ac,_0x5c6a63),this[_0xf2ba1d(0x1c4)]();}[_0x16631f(0x472)](_0x46fdf4,_0x29cafb){const _0xc478a8=_0x16631f;this[_0xc478a8(0x3f8)]['set'](_0x46fdf4,_0x29cafb),this[_0xc478a8(0x1c4)]();}['_transformStack'](_0x1ce6a0,_0x59a06c){const _0x44f2f6=_0x16631f,_0x1ca8de=[];let _0x72f051=_0x59a06c,_0x6280a0=_0x59a06c;for(let _0x43d1c4=_0x1ce6a0[_0x44f2f6(0x272)]-0x1;_0x43d1c4>=0x0;_0x43d1c4--){const {unitID:_0x5872c6,undoMutations:_0x457f4e,redoMutations:_0x37bb39}=_0x1ce6a0[_0x43d1c4],_0xf5bae=this['_transformService'][_0x44f2f6(0x1b3)](_0x72f051,_0x457f4e),_0x3bc7da=this[_0x44f2f6(0x549)]['transformMutationsWithChangeset'](_0x6280a0,_0x37bb39);if(_0x27cfd8['isTransformMutationsWithChangesetFailure'](_0xf5bae)||_0x27cfd8[_0x44f2f6(0x57c)](_0x3bc7da)){this[_0x44f2f6(0x515)][_0x44f2f6(0x1df)](_0x44f2f6(0x44a),_0x44f2f6(0x277),_0xf5bae,_0x3bc7da);break;}_0x72f051=_0xf5bae[_0x44f2f6(0x4aa)],_0x6280a0=_0x3bc7da['c1Prime'],_0x1ca8de[_0x44f2f6(0x203)]({'unitID':_0x5872c6,'undoMutations':_0xf5bae['m2Prime'],'redoMutations':_0x3bc7da[_0x44f2f6(0x43e)]});}return _0x1ca8de[_0x44f2f6(0x29b)]();}};_0x2cc3b7=_0x1c3b2d([_0x50e1ec(0x0,_0x8a1a57[_0x16631f(0x1db)]),_0x50e1ec(0x1,_0x8a1a57[_0x16631f(0x350)]),_0x50e1ec(0x2,_0x8a1a57[_0x16631f(0x58d)]),_0x50e1ec(0x3,_0x27cfd8[_0x16631f(0x1bd)]),_0x50e1ec(0x4,_0x8a1a57[_0x16631f(0xfc)])],_0x2cc3b7);class _0x14391e extends _0x8a1a57[_0x16631f(0x228)]{constructor(){const _0x15b527=_0x16631f;super(),_0x2a606e(this,'urlChange$'),this['urlChange$']=_0x933215[_0x15b527(0x362)](window,_0x15b527(0x1ea))[_0x15b527(0x4be)](_0x933215[_0x15b527(0x3d9)](this[_0x15b527(0x42d)]),_0x933215['shareReplay'](0x1),_0x933215[_0x15b527(0x450)](void 0x0));}[_0x16631f(0x1de)](_0x4d0bc5,_0xc10461,_0x4b4d45=!0x1){const _0x1a4c76=_0x16631f,_0x4a66df=new URL(window['location'][_0x1a4c76(0x147)]);_0x4a66df[_0x1a4c76(0x237)][_0x1a4c76(0x41f)](_0x4d0bc5,_0xc10461),_0x4b4d45?window[_0x1a4c76(0x1e7)][_0x1a4c76(0x1ae)]('','',_0x4a66df[_0x1a4c76(0x3a4)]()):window['history']['pushState']('','',_0x4a66df['toString']());}[_0x16631f(0x573)](_0x47c47e,_0x4142c5=!0x1){const _0x4d9118=_0x16631f,_0x31e17c=new URL(window[_0x4d9118(0x219)][_0x4d9118(0x147)]);_0x31e17c[_0x4d9118(0x237)]['delete'](_0x47c47e),_0x4142c5?window[_0x4d9118(0x1e7)][_0x4d9118(0x1ae)]('','',_0x31e17c[_0x4d9118(0x3a4)]()):window['history'][_0x4d9118(0x20b)]('','',_0x31e17c[_0x4d9118(0x3a4)]());}['getParam'](_0x43d5d6){const _0x41ef46=_0x16631f;var _0x29f998;return(_0x29f998=new URL(window['location'][_0x41ef46(0x147)])[_0x41ef46(0x237)]['get'](_0x43d5d6))!=null?_0x29f998:void 0x0;}}var _0x3f63da=Object['defineProperty'],_0x272899=Object[_0x16631f(0x57e)],_0x3064e5=(_0x1eedba,_0x546312,_0x3b964e)=>_0x546312 in _0x1eedba?_0x3f63da(_0x1eedba,_0x546312,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b964e}):_0x1eedba[_0x546312]=_0x3b964e,_0x8b6fc3=(_0x12e526,_0x4197e2,_0x1b968a,_0x3061bc)=>{const _0x10038e=_0x16631f;for(var _0x5f2c0f=_0x3061bc>0x1?void 0x0:_0x3061bc?_0x272899(_0x4197e2,_0x1b968a):_0x4197e2,_0x9d15ee=_0x12e526[_0x10038e(0x272)]-0x1,_0x63dabe;_0x9d15ee>=0x0;_0x9d15ee--)(_0x63dabe=_0x12e526[_0x9d15ee])&&(_0x5f2c0f=(_0x3061bc?_0x63dabe(_0x4197e2,_0x1b968a,_0x5f2c0f):_0x63dabe(_0x5f2c0f))||_0x5f2c0f);return _0x3061bc&&_0x5f2c0f&&_0x3f63da(_0x4197e2,_0x1b968a,_0x5f2c0f),_0x5f2c0f;},_0x54ec10=(_0x1fcf8d,_0x1a3df3)=>(_0x1af45f,_0x1f57e2)=>_0x1a3df3(_0x1af45f,_0x1f57e2,_0x1fcf8d),_0x1abccb=(_0x151457,_0x21f69b,_0x216fab)=>_0x3064e5(_0x151457,_0x21f69b+'',_0x216fab);const _0x1cbeab='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2728bd[_0x16631f(0x25e)]=class extends _0x8a1a57[_0x16631f(0x115)]{constructor(_0x4a13a5=_0x361e6c,_0x105a2f,_0x2724e1,_0x530601,_0xde6e50){const _0x4fed31=_0x16631f;super(),this['_config']=_0x4a13a5,this[_0x4fed31(0x515)]=_0x105a2f,this['_renderManagerService']=_0x2724e1,this[_0x4fed31(0x264)]=_0x530601,this[_0x4fed31(0x31f)]=_0xde6e50;const {..._0x4acb88}=this['_config'];this[_0x4fed31(0x31f)]['setConfig'](_0x132856,_0x4acb88);}[_0x16631f(0x430)](){const _0x3927b6=_0x16631f;this[_0x3927b6(0x535)](),this[_0x3927b6(0x35c)]();}[_0x16631f(0x570)](){const _0xec955e=_0x16631f;_0x8a1a57[_0xec955e(0x10f)](this[_0xec955e(0x264)],[[_0x21377e]]);}[_0x16631f(0x34a)](){const _0x54ae61=_0x16631f;this[_0x54ae61(0x578)]();}[_0x16631f(0x535)](){const _0xabe0d7=_0x16631f;var _0x14ec92,_0x245c3b,_0x4f729e,_0x52d821;this[_0xabe0d7(0x264)][_0xabe0d7(0x295)](_0x8a1a57[_0xabe0d7(0x540)])&&this[_0xabe0d7(0x515)][_0xabe0d7(0x1df)](_0xabe0d7(0x3c9),_0xabe0d7(0x447));const _0x420a35=[[_0x8a1a57[_0xabe0d7(0x540)],{'useClass':_0x2cc3b7}],[_0x2728bd[_0xabe0d7(0x37f)]],[_0x4216fe],[_0x38da0e,{'useClass':_0x14391e}],[_0x2728bd['MemberService']],[_0x2728bd['LocalCacheService']],[_0x547ebe[_0xabe0d7(0x1ca)]],[_0x1a79c5],[_0x3110cc],[_0xe93339],[_0x21b12b],[_0xc8790a],[_0x503962],[_0x3d44e4],[_0xe71ff7],[_0x4df2fb],[_0x55ce8e,{'useClass':(_0x245c3b=(_0x14ec92=this['_config'])==null?void 0x0:_0x14ec92[_0xabe0d7(0x585)])!=null?_0x245c3b:_0x2728bd[_0xabe0d7(0x260)]}],[_0x27cfd8[_0xabe0d7(0x240)],{'useClass':_0x2728bd[_0xabe0d7(0x484)]}],[_0x8a1a57['IAuthzIoService'],{'useClass':_0x2728bd['AuthzIoHttpService']}],[_0x1444d[_0xabe0d7(0x10e)],{'useClass':_0x2728bd[_0xabe0d7(0x2b6)]}],[_0x2728bd[_0xabe0d7(0x433)]],[_0x2728bd[_0xabe0d7(0x296)]],[_0x2728bd['DesktopCollaborationStatusDisplayController']],[_0x21377e],[_0xafbc5d]];(_0x4f729e=this[_0xabe0d7(0x26f)])!=null&&_0x4f729e[_0xabe0d7(0x250)]&&_0x420a35['push']([_0x50fb0f,{'useClass':_0x4874df}]),_0x8a1a57[_0xabe0d7(0x1ab)](this['_injector'],_0x8a1a57['mergeOverrideWithDependencies'](_0x420a35,(_0x52d821=this[_0xabe0d7(0x26f)])==null?void 0x0:_0x52d821['override']));}['_registerRenderDependencies'](){const _0x541bfb=_0x16631f;this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)]['registerRenderModule'](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x327)],[_0x155007])),this[_0x541bfb(0x14a)](this[_0x541bfb(0x103)][_0x541bfb(0x131)](_0x8a1a57[_0x541bfb(0x3e6)][_0x541bfb(0x32e)],[_0x49e258]));}[_0x16631f(0x35c)](){const _0x18c089=_0x16631f;var _0x35aa44,_0x1dafcb;this['_injector']['get'](_0x547ebe[_0x18c089(0x359)])[_0x18c089(0x118)]({'priority':0x14,'interceptor':_0x547ebe[_0x18c089(0x20a)]({'maxParallel':0x6})}),(_0x35aa44=this[_0x18c089(0x26f)])!=null&&_0x35aa44['enableOfflineEditing']||this['_injector'][_0x18c089(0x241)](_0x2728bd[_0x18c089(0x2a1)])[_0x18c089(0x42f)](),(_0x1dafcb=this[_0x18c089(0x26f)])!=null&&_0x1dafcb[_0x18c089(0x52c)]&&_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x503962]]),_0x8a1a57[_0x18c089(0x10f)](this[_0x18c089(0x264)],[[_0x3d44e4],[_0xafbc5d],[_0x2728bd['DataLoaderController']],[_0x2728bd[_0x18c089(0x433)]],[_0x2728bd[_0x18c089(0x3ce)]],[_0x4df2fb]]);}},_0x1abccb(_0x2728bd[_0x16631f(0x25e)],'pluginName',_0x1cbeab),_0x2728bd[_0x16631f(0x25e)]=_0x8b6fc3([_0x8a1a57[_0x16631f(0x370)](_0x27cfd8[_0x16631f(0x565)],_0x547ebe['UniverNetworkPlugin']),_0x54ec10(0x1,_0x8a1a57[_0x16631f(0xfc)]),_0x54ec10(0x2,_0x20e8c2['IRenderManagerService']),_0x54ec10(0x3,_0x8a1a57[_0x16631f(0x537)](_0x8a1a57[_0x16631f(0x562)])),_0x54ec10(0x4,_0x8a1a57[_0x16631f(0x4f9)])],_0x2728bd[_0x16631f(0x25e)]),_0x2728bd['AUTHZ_URL_KEY']=_0x360662,_0x2728bd[_0x16631f(0x206)]=_0x5f392d,_0x2728bd[_0x16631f(0x12a)]=_0xa043d2,_0x2728bd[_0x16631f(0x2ac)]=_0x5d61dc,_0x2728bd[_0x16631f(0x34d)]=_0x39447f,_0x2728bd['CommentService']=_0xe71ff7,_0x2728bd['HEARTBEAT_INTERVAL_KEY']=_0x5308f2,_0x2728bd[_0x16631f(0x218)]=_0x24c7e0,_0x2728bd[_0x16631f(0x2a8)]=_0x55ce8e,_0x2728bd[_0x16631f(0x193)]=_0x38da0e,_0x2728bd['LOCAL_CACHE_INTERVAL_KEY']=_0x3c4516,_0x2728bd['LOGIN_URL_KEY']=_0x1da8a5,_0x2728bd[_0x16631f(0x231)]=_0x3f4302,_0x2728bd['SEND_CHANGESET_TIMEOUT_KEY']=_0xe2af66,_0x2728bd[_0x16631f(0x4dc)]=_0x105ab0,_0x2728bd[_0x16631f(0x426)]=_0x17ae05,_0x2728bd[_0x16631f(0x37d)]=_0x53eb3f,_0x2728bd['SheetCollabCursorShape']=_0x2a2a49,_0x2728bd['WebURLService']=_0x14391e,_0x2728bd[_0x16631f(0x436)]=_0x44af3e,_0x2728bd[_0x16631f(0x2ad)]=_0x5e3630,Object[_0x16631f(0x162)](_0x2728bd,Symbol[_0x16631f(0x31c)],{'value':'Module'});}));
|