@univerjs-pro/collaboration-client 0.6.6-nightly.202503211606 → 0.6.6-nightly.202503221606
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/facade.js +1 -1
- 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/fr-FR.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/facade.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/fr-FR.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/facade.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/fr-FR.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 +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x53c16e=_0x4816;(function(_0x285422,_0x316238){var _0x38e373=_0x4816,_0x54b675=_0x285422();while(!![]){try{var _0x30d10f=parseInt(_0x38e373(0x192))/0x1+parseInt(_0x38e373(0x2c4))/0x2+-parseInt(_0x38e373(0x1e7))/0x3*(-parseInt(_0x38e373(0x364))/0x4)+parseInt(_0x38e373(0x4a3))/0x5+-parseInt(_0x38e373(0x3cd))/0x6*(-parseInt(_0x38e373(0x1f4))/0x7)+parseInt(_0x38e373(0x312))/0x8+parseInt(_0x38e373(0x3ad))/0x9*(-parseInt(_0x38e373(0x39d))/0xa);if(_0x30d10f===_0x316238)break;else _0x54b675['push'](_0x54b675['shift']());}catch(_0x389f62){_0x54b675['push'](_0x54b675['shift']());}}}(_0xcc54,0x24196));var wt=Object[_0x53c16e(0x2c0)],Lt=(_0x59904b,_0x90520b,_0xadf76)=>_0x90520b in _0x59904b?wt(_0x59904b,_0x90520b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xadf76}):_0x59904b[_0x90520b]=_0xadf76,P=(_0x8e557c,_0xe74b25,_0x403784)=>Lt(_0x8e557c,typeof _0xe74b25!='symbol'?_0xe74b25+'':_0xe74b25,_0x403784);Object[_0x53c16e(0x2c0)](exports,Symbol[_0x53c16e(0x16b)],{'value':_0x53c16e(0x34e)});const a=require(_0x53c16e(0x3b6)),j=require(_0x53c16e(0x474)),W=require(_0x53c16e(0x2df)),g=require(_0x53c16e(0x254)),q=require(_0x53c16e(0x263)),Mt=require(_0x53c16e(0x3cf)),ut=require(_0x53c16e(0x42d)),Z=require(_0x53c16e(0x4b6)),J=require(_0x53c16e(0x1b0)),xt=require('@univerjs-pro/license'),dt=_0x53c16e(0x4ca),kt=_0x53c16e(0x382),vt=_0x53c16e(0x25e),Ht=_0x53c16e(0x199),jt=0x7d0,St=_0x53c16e(0x169),ft=_0x53c16e(0x34f),$t=_0x53c16e(0x4bb),pt=_0x53c16e(0x2dc),Bt=0x7530,je=_0x53c16e(0x1fe),gt=0x4e20,Ft=0x4e20,mt='RETRY_CONNECTING_MAX_COUNT',Wt=0x3,Gt=_0x53c16e(0x351),Vt=0x3e8,It=_0x53c16e(0x2f1),Kt=_0x53c16e(0x195),Et=_0x53c16e(0x27e),Yt=_0x53c16e(0x1f5),qt=_0x53c16e(0x225),zt='/universer-api/uniscript';var Ct=(_0x451d25=>(_0x451d25[_0x451d25['UNDEFINED']=0x0]=_0x53c16e(0x29c),_0x451d25[_0x451d25['OK']=0x1]='OK',_0x451d25[_0x451d25['INTERNAL_ERROR']=0x2]=_0x53c16e(0x211),_0x451d25[_0x451d25[_0x53c16e(0x208)]=0x3]=_0x53c16e(0x208),_0x451d25[_0x451d25[_0x53c16e(0x4b4)]=0x4]=_0x53c16e(0x4b4),_0x451d25[_0x451d25[_0x53c16e(0x424)]=0x5]=_0x53c16e(0x424),_0x451d25[_0x451d25['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x451d25[_0x451d25['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x451d25[_0x451d25[_0x53c16e(0x261)]=0x8]=_0x53c16e(0x261),_0x451d25[_0x451d25[_0x53c16e(0x3f1)]=0x9]='COMPLETION_FINISHED',_0x451d25[_0x451d25['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x53c16e(0x2b9),_0x451d25[_0x451d25[_0x53c16e(0x457)]=0x1771]=_0x53c16e(0x457),_0x451d25[_0x451d25[_0x53c16e(0x20f)]=0x1772]=_0x53c16e(0x20f),_0x451d25[_0x451d25[_0x53c16e(0x33c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x451d25[_0x451d25[_0x53c16e(0x2fe)]=0x1b59]=_0x53c16e(0x2fe),_0x451d25[_0x451d25[_0x53c16e(0x2e3)]=0x1b5a]=_0x53c16e(0x2e3),_0x451d25[_0x451d25[_0x53c16e(0x43c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x451d25[_0x451d25[_0x53c16e(0x24a)]=0x1b5c]=_0x53c16e(0x24a),_0x451d25[_0x451d25[_0x53c16e(0x498)]=0x1b5d]=_0x53c16e(0x498),_0x451d25[_0x451d25[_0x53c16e(0x1cd)]=0x1f41]=_0x53c16e(0x1cd),_0x451d25[_0x451d25[_0x53c16e(0x3e7)]=0x2329]=_0x53c16e(0x3e7),_0x451d25[_0x451d25[_0x53c16e(0x3dd)]=0x232a]=_0x53c16e(0x3dd),_0x451d25[_0x451d25[_0x53c16e(0x3d8)]=0x232b]=_0x53c16e(0x3d8),_0x451d25[_0x451d25[_0x53c16e(0x2b4)]=0x232c]=_0x53c16e(0x2b4),_0x451d25[_0x451d25[_0x53c16e(0x420)]=0x232d]=_0x53c16e(0x420),_0x451d25[_0x451d25['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x451d25[_0x451d25[_0x53c16e(0x3a7)]=0x2712]=_0x53c16e(0x3a7),_0x451d25[_0x451d25[_0x53c16e(0x1e1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x451d25[_0x451d25[_0x53c16e(0x47d)]=0x2714]=_0x53c16e(0x47d),_0x451d25[_0x451d25[_0x53c16e(0x4b8)]=0x2af9]=_0x53c16e(0x4b8),_0x451d25[_0x451d25[_0x53c16e(0x1c1)]=-0x1]=_0x53c16e(0x1c1),_0x451d25))(Ct||{}),X=(_0x5e51b4=>(_0x5e51b4[_0x5e51b4[_0x53c16e(0x279)]=0x0]='UNIVER_UNKNOWN',_0x5e51b4[_0x5e51b4[_0x53c16e(0x39c)]=0x1]='UNIVER_DOC',_0x5e51b4[_0x5e51b4[_0x53c16e(0x1d6)]=0x2]='UNIVER_SHEET',_0x5e51b4[_0x5e51b4[_0x53c16e(0x2d1)]=0x3]='UNIVER_SLIDE',_0x5e51b4[_0x5e51b4[_0x53c16e(0x2a2)]=0x4]=_0x53c16e(0x2a2),_0x5e51b4[_0x5e51b4[_0x53c16e(0x1c1)]=-0x1]=_0x53c16e(0x1c1),_0x5e51b4))(X||{}),G=(_0x1c4f49=>(_0x1c4f49[_0x1c4f49[_0x53c16e(0x329)]=0x0]=_0x53c16e(0x329),_0x1c4f49[_0x1c4f49['HELLO']=0x1]=_0x53c16e(0x22b),_0x1c4f49[_0x1c4f49['JOIN']=0x2]=_0x53c16e(0x3fc),_0x1c4f49[_0x1c4f49[_0x53c16e(0x385)]=0x3]=_0x53c16e(0x385),_0x1c4f49[_0x1c4f49[_0x53c16e(0x21b)]=0x4]=_0x53c16e(0x21b),_0x1c4f49[_0x1c4f49['HEARTBEAT']=0x5]='HEARTBEAT',_0x1c4f49[_0x1c4f49['RECV']=0x6]='RECV',_0x1c4f49[_0x1c4f49[_0x53c16e(0x1c1)]=-0x1]='UNRECOGNIZED',_0x1c4f49))(G||{}),ae=(_0x266b0e=>(_0x266b0e[_0x266b0e[_0x53c16e(0x2e1)]=0x0]='UNKNOWN_CODE',_0x266b0e[_0x266b0e['OK']=0x1]='OK',_0x266b0e[_0x266b0e['FAIL']=0x2]='FAIL',_0x266b0e[_0x266b0e[_0x53c16e(0x4b1)]=0x3e9]='JOIN_ROOM_FULL',_0x266b0e[_0x266b0e['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x266b0e[_0x266b0e[_0x53c16e(0x415)]=0x3eb]=_0x53c16e(0x415),_0x266b0e[_0x266b0e['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x266b0e[_0x266b0e['UNRECOGNIZED']=-0x1]=_0x53c16e(0x1c1),_0x266b0e))(ae||{}),Tt=(_0x52d848=>(_0x52d848[_0x52d848[_0x53c16e(0x32b)]=0x0]=_0x53c16e(0x32b),_0x52d848[_0x52d848['HttpImport']=0x1]='HttpImport',_0x52d848[_0x52d848[_0x53c16e(0x3b8)]=0x2]=_0x53c16e(0x3b8),_0x52d848[_0x52d848[_0x53c16e(0x201)]=0x3]=_0x53c16e(0x201),_0x52d848[_0x52d848[_0x53c16e(0x49a)]=0x4]=_0x53c16e(0x49a),_0x52d848[_0x52d848['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x52d848))(Tt||{});const Y='collaboration-client.config',Jt={};var Q=(_0x59eb3e=>(_0x59eb3e[_0x53c16e(0x41e)]=_0x53c16e(0x41e),_0x59eb3e[_0x53c16e(0x208)]=_0x53c16e(0x208),_0x59eb3e[_0x53c16e(0x294)]=_0x53c16e(0x294),_0x59eb3e[_0x53c16e(0x26e)]=_0x53c16e(0x26e),_0x59eb3e[_0x53c16e(0x483)]='JOIN_ROOM_FAILED',_0x59eb3e[_0x53c16e(0x2c8)]=_0x53c16e(0x2c8),_0x59eb3e[_0x53c16e(0x2f3)]='SOCKET_FAILED',_0x59eb3e[_0x53c16e(0x24d)]=_0x53c16e(0x24d),_0x59eb3e))(Q||{});class te{constructor(){var _0x1588d5=_0x53c16e;P(this,_0x1588d5(0x32d),new j[(_0x1588d5(0x207))]()),P(this,_0x1588d5(0x3b1),this[_0x1588d5(0x32d)][_0x1588d5(0x3f5)]());}['emitEvent'](_0x2d2783){var _0x1174c7=_0x53c16e;this['_event$'][_0x1174c7(0x165)](_0x2d2783);}}const bt=a['createIdentifier'](_0x53c16e(0x274));function Rt(_0x295a7b){var _0x3644ff=_0x53c16e,_0xa56e97,_0x42c3f5,_0x163b89,_0x2446da,_0x5a739b;const _0x3eadbb=_0x295a7b[_0x3644ff(0x4bf)],_0x12c35d=JSON[_0x3644ff(0x381)](_0x3eadbb);switch(_0x12c35d[_0x3644ff(0x246)]){case G[_0x3644ff(0x260)]:case G[_0x3644ff(0x22b)]:{const _0xb981e=_0x12c35d[_0x3644ff(0x3fb)];return{..._0x12c35d,'data':_0xb981e,'cmd':_0x12c35d[_0x3644ff(0x246)]};}case G[_0x3644ff(0x3fc)]:{const _0x54d5af=_0x12c35d[_0x3644ff(0x4d7)];return{..._0x12c35d,'data':_0x54d5af,'cmd':_0x12c35d[_0x3644ff(0x246)]};}case G['RECV']:{const _0x50656d=_0x12c35d[_0x3644ff(0x2e0)];switch(_0x50656d[_0x3644ff(0x3bd)]){case g[_0x3644ff(0x2ab)][_0x3644ff(0x40c)]:return{..._0x12c35d,'data':{..._0x50656d,'data':(_0xa56e97=_0x50656d[_0x3644ff(0x3d5)])==null?void 0x0:_0xa56e97['cs']},'cmd':_0x12c35d['cmd']};case g[_0x3644ff(0x2ab)][_0x3644ff(0x484)]:return{..._0x12c35d,'data':{..._0x50656d,'data':(_0x42c3f5=_0x50656d[_0x3644ff(0x37a)])==null?void 0x0:_0x42c3f5['cs']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x28d)]:return{..._0x12c35d,'data':{..._0x50656d,'data':(_0x163b89=_0x50656d[_0x3644ff(0x479)])==null?void 0x0:_0x163b89['cs']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x28e)]:return{..._0x12c35d,'data':{..._0x50656d,'data':(_0x2446da=_0x50656d[_0x3644ff(0x332)])==null?void 0x0:_0x2446da['cs']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x1a8)]:return{..._0x12c35d,'data':{..._0x50656d,'data':(_0x5a739b=_0x50656d['csShouldRetryEvent'])==null?void 0x0:_0x5a739b['cs']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d['updateCursorEvent']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x30f)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d['joinEvent']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x2d5)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d['leaveEvent']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x463)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d[_0x3644ff(0x1c4)]},'cmd':_0x12c35d['cmd']};case g['CollaborationEvent'][_0x3644ff(0x3c0)]:case g[_0x3644ff(0x2ab)]['LIVESHARE_OPERATION']:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d[_0x3644ff(0x446)]},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g['CollaborationEvent'][_0x3644ff(0x1ee)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d[_0x3644ff(0x1c4)]},'cmd':_0x12c35d['cmd']};case g['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x12c35d,'data':_0x50656d,'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)]['COMMENT_UPDATE']:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d[_0x3644ff(0x4db)]},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g['CollaborationEvent'][_0x3644ff(0x311)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d[_0x3644ff(0x3d4)]},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d['shouldCloseConn']},'cmd':_0x12c35d[_0x3644ff(0x246)]};case g[_0x3644ff(0x2ab)][_0x3644ff(0x2b7)]:return{..._0x12c35d,'data':{..._0x50656d,'data':_0x50656d['uniscriptRunEvent']},'cmd':_0x12c35d[_0x3644ff(0x246)]};default:return _0x12c35d;}}default:return _0x12c35d;}}function yt(_0x1aeb78){var _0x54048f=_0x53c16e;switch(_0x1aeb78[_0x54048f(0x246)]){case G[_0x54048f(0x260)]:case G['HELLO']:return JSON[_0x54048f(0x21a)]({'cmd':_0x1aeb78[_0x54048f(0x246)],'routeKey':_0x1aeb78['routeKey']});case G[_0x54048f(0x21b)]:{let _0x5f08f7;switch(_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x3bd)]){case g[_0x54048f(0x2ab)][_0x54048f(0x401)]:{_0x5f08f7={'eventID':g[_0x54048f(0x2ab)][_0x54048f(0x401)],'updateCursorEvent':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x4bf)]};break;}case g['CollaborationEvent'][_0x54048f(0x2d5)]:{_0x5f08f7={'eventID':g[_0x54048f(0x2ab)]['USERS_LEAVE'],'leaveEvent':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x4bf)]};break;}case g[_0x54048f(0x2ab)]['USERS_ENTER']:{_0x5f08f7={'eventID':g[_0x54048f(0x2ab)][_0x54048f(0x30f)],'joinEvent':_0x1aeb78[_0x54048f(0x4bf)]['data']};break;}case g[_0x54048f(0x2ab)][_0x54048f(0x463)]:{_0x5f08f7={'eventID':g[_0x54048f(0x2ab)][_0x54048f(0x463)],'liveShareNewHost':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x4bf)]};break;}case g[_0x54048f(0x2ab)][_0x54048f(0x38d)]:{_0x5f08f7={'eventID':g['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x1aeb78[_0x54048f(0x4bf)]['data']};break;}case g['CollaborationEvent'][_0x54048f(0x1ee)]:{_0x5f08f7={'eventID':g['CollaborationEvent'][_0x54048f(0x1ee)],'liveShareTerminate':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x4bf)]};break;}case g[_0x54048f(0x2ab)][_0x54048f(0x2f9)]:{_0x5f08f7={'eventID':g['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x4bf)]};break;}case g[_0x54048f(0x2ab)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5f08f7={'eventID':g['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5f08f7={'eventID':_0x1aeb78[_0x54048f(0x4bf)][_0x54048f(0x3bd)]};}return JSON['stringify']({'cmd':_0x1aeb78['cmd'],'routeKey':_0x1aeb78[_0x54048f(0x300)],'collaMsg':_0x5f08f7});}case G[_0x54048f(0x3fc)]:return JSON[_0x54048f(0x21a)]({'cmd':_0x1aeb78['cmd'],'routeKey':_0x1aeb78[_0x54048f(0x300)],'joinReq':_0x1aeb78[_0x54048f(0x4bf)]});case G[_0x54048f(0x385)]:return JSON[_0x54048f(0x21a)]({'cmd':_0x1aeb78[_0x54048f(0x246)],'routeKey':_0x1aeb78[_0x54048f(0x300)],'leaveReq':_0x1aeb78['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Xt=Object[_0x53c16e(0x419)],Zt=(_0x1283ad,_0x3fe7f9,_0x46930c,_0x3603ba)=>{var _0x23de24=_0x53c16e;for(var _0xbe2dea=_0x3603ba>0x1?void 0x0:_0x3603ba?Xt(_0x3fe7f9,_0x46930c):_0x3fe7f9,_0x53cf7f=_0x1283ad[_0x23de24(0x17a)]-0x1,_0x4b255b;_0x53cf7f>=0x0;_0x53cf7f--)(_0x4b255b=_0x1283ad[_0x53cf7f])&&(_0xbe2dea=_0x4b255b(_0xbe2dea)||_0xbe2dea);return _0xbe2dea;},_e=(_0x3635c5,_0x4cf9e1)=>(_0x49cf68,_0x273f66)=>_0x4cf9e1(_0x49cf68,_0x273f66,_0x3635c5);const $e=a[_0x53c16e(0x1b4)]('univer-pro.collaboration-client-socket-service');function Qt(_0x84ca0c,_0x55b1db,_0x209f3b){var _0x569789=_0x53c16e;return _0x84ca0c+'/'+_0x55b1db+'/unit/'+_0x209f3b+_0x569789(0x175);}exports['CollaborationSocketService']=class extends a[_0x53c16e(0x1d4)]{constructor(_0x28b800,_0x5716b9,_0x50ba11,_0x3daaaa,_0x1519d8){var _0x2d618a=_0x53c16e;super(),this[_0x2d618a(0x439)]=_0x28b800,this[_0x2d618a(0x209)]=_0x5716b9,this[_0x2d618a(0x2d9)]=_0x50ba11,this[_0x2d618a(0x378)]=_0x3daaaa,this[_0x2d618a(0x28a)]=_0x1519d8;}['_doCreateSocket'](_0x30b737){var _0x5ade5f=_0x53c16e;const _0xdb48c9=this['_injector']['get'](q['ISocketService']);if(!_0xdb48c9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x8846db=_0xdb48c9[_0x5ade5f(0x202)](_0x30b737);if(!_0x8846db)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x28569f=new a[(_0x5ade5f(0x409))](),_0x30d787=new j[(_0x5ade5f(0x207))]();_0x28569f[_0x5ade5f(0x18b)](_0x8846db[_0x5ade5f(0x2f2)][_0x5ade5f(0x3e3)](_0x5232e5=>_0x30d787['next'](_0x5232e5))),_0x28569f['add'](a['toDisposable'](()=>_0x30d787[_0x5ade5f(0x48d)]()));const _0x140721=new j[(_0x5ade5f(0x207))]();_0x28569f['add'](_0x8846db[_0x5ade5f(0x1e2)]['subscribe'](_0x3f8cc6=>_0x140721[_0x5ade5f(0x165)](_0x3f8cc6))),_0x28569f[_0x5ade5f(0x18b)](a['toDisposable'](()=>_0x140721[_0x5ade5f(0x48d)]()));const _0x32c297=new j[(_0x5ade5f(0x207))]();_0x28569f[_0x5ade5f(0x18b)](_0x8846db[_0x5ade5f(0x45e)][_0x5ade5f(0x3e3)](_0x5c66cc=>{var _0x5aa448=_0x5ade5f;const _0x358429=Rt(_0x5c66cc);_0x32c297[_0x5aa448(0x165)](_0x358429);})),_0x28569f['add'](a[_0x5ade5f(0x29b)](()=>_0x32c297[_0x5ade5f(0x48d)]()));let _0x25eae1;const _0x57b43d=()=>{var _0x38fee5=_0x5ade5f;_0x140721[_0x38fee5(0x165)](new Event(_0x38fee5(0x2f0))),_0x30d787[_0x38fee5(0x165)](new Event(_0x38fee5(0x2f0))),_0x25eae1[_0x38fee5(0x3cc)]();};return _0x25eae1={'memberID':'','close$':_0x30d787['asObservable'](),'error$':_0x140721[_0x5ade5f(0x3f5)](),'open$':_0x8846db[_0x5ade5f(0x3f8)],'message$':_0x32c297[_0x5ade5f(0x3f5)](),'send':_0x21ecc5=>{var _0x562e0c=_0x5ade5f;if(_0x21ecc5['cmd']===G['INGEST']){if(_0x21ecc5[_0x562e0c(0x4bf)][_0x562e0c(0x3bd)]===g[_0x562e0c(0x2ab)][_0x562e0c(0x407)]){this[_0x562e0c(0x1a3)](_0x25eae1,_0x21ecc5['data'])[_0x562e0c(0x335)](_0xeea9fa=>{var _0x57607b=_0x562e0c;this[_0x57607b(0x378)][_0x57607b(0x245)](_0xeea9fa),_0x57b43d();});return;}if(_0x21ecc5[_0x562e0c(0x4bf)][_0x562e0c(0x3bd)]===g[_0x562e0c(0x2ab)][_0x562e0c(0x206)]){const _0x3ce6e2=_0x21ecc5[_0x562e0c(0x4bf)];this['_fetchMissChangesets'](_0x3ce6e2)[_0x562e0c(0x4b9)](_0x513ec2=>{var _0x571b19=_0x562e0c;_0x32c297[_0x571b19(0x165)]({'cmd':G[_0x571b19(0x2f8)],'code':ae['OK'],'routeKey':_0x3ce6e2[_0x571b19(0x4bf)][_0x571b19(0x313)],'routeType':'','data':{'eventID':g[_0x571b19(0x2ab)][_0x571b19(0x262)],'data':{'changesets':_0x513ec2}}});})[_0x562e0c(0x335)](_0xa0b283=>{var _0x50b0da=_0x562e0c;this['_logService'][_0x50b0da(0x245)](_0xa0b283),_0x57b43d();});return;}}_0x8846db['send'](yt(_0x21ecc5));},'close':()=>{var _0x38b387=_0x5ade5f;_0x8846db['close'](),_0x28569f[_0x38b387(0x3a4)]();}},_0x25eae1;}async[_0x53c16e(0x1a3)](_0x434320,_0x43ca23){var _0x1a9ddc=_0x53c16e,_0x3c8aec,_0x2c4ee5;const {unitType:_0x2c53c5,unitID:_0x4c62ba,changeset:_0x53e9a4}=_0x43ca23[_0x1a9ddc(0x4bf)],_0x101849={'unitID':_0x4c62ba,'memberID':_0x434320[_0x1a9ddc(0x3a1)],'type':_0x2c53c5,'changeset':g[_0x1a9ddc(0x25b)](_0x53e9a4)},_0x246195=this[_0x1a9ddc(0x2d9)][_0x1a9ddc(0x4cb)](It),_0x5867be=this[_0x1a9ddc(0x2d9)][_0x1a9ddc(0x4cb)](Y),_0x27d9df=Qt((_0x2c4ee5=(_0x3c8aec=_0x5867be==null?void 0x0:_0x5867be[_0x1a9ddc(0x456)])!=null?_0x3c8aec:_0x246195)!=null?_0x2c4ee5:Kt,_0x2c53c5,_0x4c62ba);try{await this['_httpService'][_0x1a9ddc(0x2b2)](_0x27d9df,{'body':_0x101849});}catch(_0x32b4fe){throw this[_0x1a9ddc(0x378)]['error']('[CollaborationSession]',_0x1a9ddc(0x27b)),_0x32b4fe;}}async[_0x53c16e(0x30e)](_0x18c629){var _0x300648=_0x53c16e;const {unitID:_0xde3d4f,from:_0x1f9af2,to:_0x4daedb,unitType:_0x503151}=_0x18c629[_0x300648(0x4bf)];return(await this[_0x300648(0x28a)][_0x300648(0x18e)]({'metadata':void 0x0},{'unitID':_0xde3d4f,'type':_0x503151,'from':_0x1f9af2,'to':_0x4daedb}))[_0x300648(0x2e7)];}},exports[_0x53c16e(0x436)]=Zt([_e(0x0,a[_0x53c16e(0x4cc)](a['Injector'])),_e(0x1,a[_0x53c16e(0x4cc)](q[_0x53c16e(0x359)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x53c16e(0x219)]),_e(0x4,g['ISnapshotServerService'])],exports[_0x53c16e(0x436)]);const ei=_0x53c16e(0x19c);function ti(_0x31abe4){var _0x25cd8e=_0x53c16e;return JSON['stringify'](_0x31abe4)[_0x25cd8e(0x17a)];}class Be{constructor(){var _0x2ba1b8=_0x53c16e;P(this,_0x2ba1b8(0x3c2),new j[(_0x2ba1b8(0x207))]()),P(this,'commentUpdate$',this[_0x2ba1b8(0x3c2)]['asObservable']());}['onCommentUpdate'](_0x4b3185){var _0x145f95=_0x53c16e;this['_commentUpdate$'][_0x145f95(0x165)](_0x4b3185);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x20b216,_0x31e93e,_0x188fa8,_0x36f7bd)=>{var _0x86fd87=_0x53c16e;for(var _0x336144=_0x36f7bd>0x1?void 0x0:_0x36f7bd?ii(_0x31e93e,_0x188fa8):_0x31e93e,_0x51a4ea=_0x20b216[_0x86fd87(0x17a)]-0x1,_0x57a1f8;_0x51a4ea>=0x0;_0x51a4ea--)(_0x57a1f8=_0x20b216[_0x51a4ea])&&(_0x336144=_0x57a1f8(_0x336144)||_0x336144);return _0x336144;},Ke=(_0x36299d,_0x4cb8f1)=>(_0x3a9cb5,_0x21037a)=>_0x4cb8f1(_0x3a9cb5,_0x21037a,_0x36299d);exports[_0x53c16e(0x177)]=class extends a['Disposable']{constructor(_0x221cd2,_0xb3da37){var _0x390edb=_0x53c16e;super(),P(this,_0x390edb(0x408),new Map()),P(this,_0x390edb(0x4d9),new j[(_0x390edb(0x207))]()),(this[_0x390edb(0x198)]=_0x221cd2,this[_0x390edb(0x3a6)]=_0xb3da37,this['disposeWithMe'](j[_0x390edb(0x432)](this[_0x390edb(0x198)][_0x390edb(0x3bb)](a[_0x390edb(0x3d0)][_0x390edb(0x1d6)])['pipe'](W[_0x390edb(0x417)](_0x41132d=>_0x41132d[_0x390edb(0x341)]())),this[_0x390edb(0x198)][_0x390edb(0x3bb)](a['UniverInstanceType'][_0x390edb(0x39c)])['pipe'](W[_0x390edb(0x417)](_0x332a51=>_0x332a51[_0x390edb(0x341)]())),this[_0x390edb(0x198)]['getTypeOfUnitDisposed$'](a[_0x390edb(0x3d0)][_0x390edb(0x2d1)])['pipe'](W['map'](_0x20b8db=>_0x20b8db[_0x390edb(0x341)]())))[_0x390edb(0x3e3)](_0x8e4a4c=>this[_0x390edb(0x197)](_0x8e4a4c))));}[_0x53c16e(0x4da)](_0x303d36){var _0x1805b7=_0x53c16e;return this['_roomMembers'][_0x1805b7(0x43b)](_0x303d36)?j['of'](this[_0x1805b7(0x408)]['get'](_0x303d36)):this[_0x1805b7(0x4d9)][_0x1805b7(0x2ce)](W['map'](_0x8c9af6=>{var _0x3e2bd4=_0x1805b7;if(_0x8c9af6===_0x303d36)return this[_0x3e2bd4(0x408)][_0x3e2bd4(0x3a5)](_0x8c9af6);}));}[_0x53c16e(0x26f)](_0x2de61e){var _0x22e85d=_0x53c16e;this[_0x22e85d(0x3a6)][_0x22e85d(0x26f)](_0x2de61e);}[_0x53c16e(0x373)](){var _0x42ddda=_0x53c16e;return this[_0x42ddda(0x3a6)][_0x42ddda(0x373)]();}['updateMember'](_0x2114ba,_0x200a44){var _0x4dfa5c=_0x53c16e;let _0x32161b=this[_0x4dfa5c(0x408)][_0x4dfa5c(0x3a5)](_0x2114ba);_0x32161b||(_0x32161b=new ri(),this['_roomMembers'][_0x4dfa5c(0x37e)](_0x2114ba,_0x32161b),this[_0x4dfa5c(0x4d9)][_0x4dfa5c(0x165)](_0x2114ba)),_0x32161b[_0x4dfa5c(0x1f0)](_0x200a44);}[_0x53c16e(0x23a)](_0x5441fd,_0x7ad2f2){var _0x5c19b1=_0x53c16e;const _0x38e148=this[_0x5c19b1(0x408)]['get'](_0x5441fd);_0x38e148&&_0x38e148[_0x5c19b1(0x23a)](_0x7ad2f2);}[_0x53c16e(0x1e9)](_0x5bbba9){return this['_roomMembers']['get'](_0x5bbba9);}[_0x53c16e(0x46a)](_0x258c20,_0x224b44){var _0x1d3d9f=_0x53c16e;const _0x1fbf8f=this['_roomMembers'][_0x1d3d9f(0x3a5)](_0x258c20);if(_0x1fbf8f)return _0x1fbf8f[_0x1d3d9f(0x46a)](_0x224b44);}['_removeRoom'](_0x409734){var _0xe4613d=_0x53c16e;const _0x2464ec=this[_0xe4613d(0x408)][_0xe4613d(0x3a5)](_0x409734);_0x2464ec&&(_0x2464ec[_0xe4613d(0x3a4)](),this[_0xe4613d(0x408)]['delete'](_0x409734));}[_0x53c16e(0x3a4)](){var _0xece9b3=_0x53c16e;this[_0xece9b3(0x408)][_0xece9b3(0x183)](_0x26e774=>_0x26e774[_0xece9b3(0x3a4)]()),this[_0xece9b3(0x408)][_0xece9b3(0x2bc)](),this[_0xece9b3(0x4d9)][_0xece9b3(0x48d)]();}},exports['MemberService']=ni([Ke(0x0,a[_0x53c16e(0x4a5)]),Ke(0x1,a['Inject'](a[_0x53c16e(0x412)]))],exports[_0x53c16e(0x177)]);class ri extends a[_0x53c16e(0x1d4)]{constructor(){var _0x4fda5a=_0x53c16e;super(...arguments),P(this,'_members',new Map()),P(this,_0x4fda5a(0x383),new j[(_0x4fda5a(0x3d7))](this[_0x4fda5a(0x425)])),P(this,_0x4fda5a(0x17d),this[_0x4fda5a(0x383)][_0x4fda5a(0x3f5)]());}['dispose'](){this['_members']['clear']();}[_0x53c16e(0x1f0)](_0x3d1dcc){var _0x24ec19=_0x53c16e;this[_0x24ec19(0x425)]['set'](_0x3d1dcc[_0x24ec19(0x3a1)],_0x3d1dcc),this[_0x24ec19(0x349)]();}[_0x53c16e(0x23a)](_0x13b416){var _0x4797d4=_0x53c16e;this[_0x4797d4(0x425)]['delete'](_0x13b416);}[_0x53c16e(0x46a)](_0x386f48){var _0x4fc448=_0x53c16e;return this[_0x4fc448(0x425)][_0x4fc448(0x3a5)](_0x386f48);}[_0x53c16e(0x464)](){var _0x23b8f7=_0x53c16e;return Array[_0x23b8f7(0x3b3)](this[_0x23b8f7(0x425)][_0x23b8f7(0x355)]());}[_0x53c16e(0x349)](){var _0x128ffd=_0x53c16e;this[_0x128ffd(0x383)][_0x128ffd(0x165)](this['_members']);}}var si=Object['getOwnPropertyDescriptor'],oi=(_0xc2835e,_0x35e507,_0x4142f8,_0x27a6df)=>{for(var _0x5e5777=_0x27a6df>0x1?void 0x0:_0x27a6df?si(_0x35e507,_0x4142f8):_0x35e507,_0x29f418=_0xc2835e['length']-0x1,_0x5bd1d2;_0x29f418>=0x0;_0x29f418--)(_0x5bd1d2=_0xc2835e[_0x29f418])&&(_0x5e5777=_0x5bd1d2(_0x5e5777)||_0x5e5777);return _0x5e5777;},oe=(_0xb57432,_0x396305)=>(_0x2a4a76,_0x36a6ed)=>_0x396305(_0x2a4a76,_0x36a6ed,_0xb57432),se=(_0x261666=>(_0x261666[_0x261666[_0x53c16e(0x451)]=0x0]=_0x53c16e(0x451),_0x261666[_0x261666[_0x53c16e(0x476)]=0x1]=_0x53c16e(0x476),_0x261666[_0x261666[_0x53c16e(0x334)]=0x2]=_0x53c16e(0x334),_0x261666[_0x261666[_0x53c16e(0x264)]=0x3]='ONLINE',_0x261666))(se||{});const Ye={[ae['FAIL']]:_0x53c16e(0x413),[ae[_0x53c16e(0x4b1)]]:'session.room-full',[ae[_0x53c16e(0x3e8)]]:_0x53c16e(0x1ba),[ae[_0x53c16e(0x415)]]:_0x53c16e(0x187),[ae[_0x53c16e(0x292)]]:_0x53c16e(0x1a2)};exports[_0x53c16e(0x1ad)]=class extends a[_0x53c16e(0x49b)]{constructor(_0x1a4597,_0x548ca2,_0x5f4e63,_0x360b1b,_0x353567,_0x4561f2,_0x3444ca,_0x57f6b0,_0x2964a0){var _0x46e25f=_0x53c16e;super(),P(this,'_sessionStatus$',new j[(_0x46e25f(0x3d7))](0x0)),P(this,'sessionStatus$',this[_0x46e25f(0x4df)][_0x46e25f(0x3f5)]()),P(this,_0x46e25f(0x32d),new j[(_0x46e25f(0x207))]()),P(this,_0x46e25f(0x3b1),this[_0x46e25f(0x32d)]['asObservable']()),P(this,_0x46e25f(0x471)),P(this,_0x46e25f(0x360)),P(this,'_collaborationTimeoutTimer'),P(this,_0x46e25f(0x1ca),!0x1),P(this,_0x46e25f(0x21e),null),(this[_0x46e25f(0x280)]=_0x1a4597,this[_0x46e25f(0x378)]=_0x5f4e63,this[_0x46e25f(0x2d9)]=_0x360b1b,this['_localeService']=_0x353567,this[_0x46e25f(0x449)]=_0x4561f2,this[_0x46e25f(0x48f)]=_0x3444ca,this[_0x46e25f(0x3b0)]=_0x57f6b0,this[_0x46e25f(0x1b6)]=_0x2964a0,this[_0x46e25f(0x1ca)]=!!this['_telemetryService'],_0x548ca2[_0x46e25f(0x2ce)](j[_0x46e25f(0x433)](this[_0x46e25f(0x4d1)]))[_0x46e25f(0x3e3)](_0x23216e=>{var _0x10556b=_0x46e25f,_0x4ddfda;typeof _0x23216e>'u'||(this[_0x10556b(0x471)]=_0x23216e,_0x23216e?(this[_0x10556b(0x3d1)](_0x23216e),this[_0x10556b(0x360)]=_0x23216e[_0x10556b(0x45e)][_0x10556b(0x3e3)](_0x2061ed=>{var _0x2c2afe=_0x10556b;_0x2061ed[_0x2c2afe(0x300)]===this[_0x2c2afe(0x280)]&&this[_0x2c2afe(0x29d)](_0x2061ed);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x10556b(0x4df)]['next'](0x2),(_0x4ddfda=this['_socketMessageSubscription'])==null||_0x4ddfda['unsubscribe'](),this[_0x10556b(0x360)]=null));}));}get[_0x53c16e(0x43f)](){var _0x4cccfe=_0x53c16e;return this[_0x4cccfe(0x4df)][_0x4cccfe(0x19e)]();}[_0x53c16e(0x496)](){var _0x2cc537=_0x53c16e,_0x43c0f2,_0x6e38f7;return(_0x6e38f7=(_0x43c0f2=this[_0x2cc537(0x471)])==null?void 0x0:_0x43c0f2[_0x2cc537(0x3a1)])!=null?_0x6e38f7:null;}[_0x53c16e(0x3a4)](){var _0x3978e1=_0x53c16e;super[_0x3978e1(0x3a4)](),this[_0x3978e1(0x4d1)][_0x3978e1(0x165)](),this[_0x3978e1(0x4d1)][_0x3978e1(0x48d)]();}['close'](){var _0xd89dbc=_0x53c16e,_0x41557c,_0x37cc7c;this[_0xd89dbc(0x2a7)](),(_0x41557c=this[_0xd89dbc(0x471)])==null||_0x41557c[_0xd89dbc(0x487)]({'cmd':G[_0xd89dbc(0x385)],'data':{'roomID':this[_0xd89dbc(0x280)]}}),(_0x37cc7c=this['_socket'])==null||_0x37cc7c[_0xd89dbc(0x3cc)](),this['_event$'][_0xd89dbc(0x48d)](),this[_0xd89dbc(0x4df)][_0xd89dbc(0x48d)](),this[_0xd89dbc(0x3a4)]();}[_0x53c16e(0x29d)](_0x3d7aba){var _0x1847ed=_0x53c16e;_0x3d7aba[_0x1847ed(0x246)]===G[_0x1847ed(0x3fc)]?this[_0x1847ed(0x326)](_0x3d7aba):_0x3d7aba[_0x1847ed(0x246)]===G[_0x1847ed(0x2f8)]&&this['_onRecvEvent'](_0x3d7aba);}[_0x53c16e(0x3d1)](_0x10811e){var _0x1b96c5=_0x53c16e;this[_0x1b96c5(0x4df)][_0x1b96c5(0x165)](0x1),_0x10811e[_0x1b96c5(0x487)]({'cmd':G[_0x1b96c5(0x3fc)],'routeKey':this[_0x1b96c5(0x280)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b96c5(0x280)]}]}});}[_0x53c16e(0x326)](_0x90a959){var _0x4458e5=_0x53c16e,_0x4ac790;if(_0x90a959['code']in Ye){this[_0x4458e5(0x3b0)][_0x4458e5(0x4d2)]({'id':Q[_0x4458e5(0x483)],'data':Ye[_0x90a959[_0x4458e5(0x324)]]}),this['_sessionStatus$'][_0x4458e5(0x165)](0x2);return;}this['_sessionStatus$'][_0x4458e5(0x165)](0x3);const _0x180e3a=(_0x4ac790=_0x90a959[_0x4458e5(0x4bf)][_0x4458e5(0x490)][this[_0x4458e5(0x280)]])==null?void 0x0:_0x4ac790[_0x4458e5(0x2fa)];_0x180e3a&&_0x180e3a[_0x4458e5(0x183)](_0x129f47=>this[_0x4458e5(0x449)]['updateMember'](this[_0x4458e5(0x280)],_0x129f47));}[_0x53c16e(0x397)](_0x97d978){var _0x42edbc=_0x53c16e;try{const _0x41efb5=_0x97d978['data'];switch(_0x41efb5['eventID']){case g[_0x42edbc(0x2ab)][_0x42edbc(0x30f)]:this['_onUserJoin'](_0x41efb5),this[_0x42edbc(0x32d)][_0x42edbc(0x165)](_0x41efb5);break;case g[_0x42edbc(0x2ab)][_0x42edbc(0x2d5)]:this[_0x42edbc(0x3f4)](_0x41efb5),this[_0x42edbc(0x32d)][_0x42edbc(0x165)](_0x41efb5);break;case g[_0x42edbc(0x2ab)][_0x42edbc(0x484)]:case g[_0x42edbc(0x2ab)][_0x42edbc(0x1a8)]:this[_0x42edbc(0x499)](),this[_0x42edbc(0x182)](),this[_0x42edbc(0x32d)]['next'](_0x41efb5);break;case g['CollaborationEvent'][_0x42edbc(0x3f6)]:this[_0x42edbc(0x378)]['error'](_0x42edbc(0x3eb)+JSON[_0x42edbc(0x21a)](_0x41efb5)),this[_0x42edbc(0x32d)]['next'](_0x41efb5);break;case g[_0x42edbc(0x2ab)][_0x42edbc(0x224)]:this[_0x42edbc(0x48f)][_0x42edbc(0x17c)](_0x41efb5[_0x42edbc(0x4bf)]),this['_event$']['next'](_0x41efb5);break;default:this['_event$']['next'](_0x41efb5);}}catch(_0xc49239){this['_logService'][_0x42edbc(0x245)](_0xc49239,_0x97d978);}}['_onUserJoin'](_0x28573f){var _0x477625=_0x53c16e;this[_0x477625(0x449)][_0x477625(0x1f0)](this[_0x477625(0x280)],_0x28573f[_0x477625(0x4bf)]);}['_onUserLeave'](_0x321bd4){var _0x3f249f=_0x53c16e;this[_0x3f249f(0x449)][_0x3f249f(0x23a)](this[_0x3f249f(0x280)],_0x321bd4[_0x3f249f(0x4bf)][_0x3f249f(0x3a1)]);}async[_0x53c16e(0x487)](_0x2bf910,_0x72bcd0){var _0x29d0a0=_0x53c16e;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x29d0a0(0x310));try{_0x2bf910[_0x29d0a0(0x3bd)]===g[_0x29d0a0(0x2ab)]['SUBMIT_CHANGESET']&&(this[_0x29d0a0(0x35a)](),this[_0x29d0a0(0x22e)](_0x2bf910)),this[_0x29d0a0(0x471)][_0x29d0a0(0x487)]({'cmd':G[_0x29d0a0(0x21b)],'routeKey':_0x72bcd0,'routeType':'','data':_0x2bf910});}catch(_0x5ada55){this['_logService'][_0x29d0a0(0x245)](_0x5ada55);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5630f1=_0x53c16e,_0x31f8d8;this[_0x5630f1(0x237)]=setTimeout(()=>{var _0xc136d5=_0x5630f1;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0xc136d5(0x4d2)]({'id':Q['SUBMIT_CHANGESET_TIMEOUT']});},(_0x31f8d8=this[_0x5630f1(0x2d9)]['getConfig'](je))!=null?_0x31f8d8:gt);}[_0x53c16e(0x182)](){var _0x229df6=_0x53c16e;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x229df6(0x237)]=null);}[_0x53c16e(0x22e)](_0x114118){var _0x5d3de4=_0x53c16e;if(!this[_0x5d3de4(0x1ca)])return;const {data:_0x356803}=_0x114118,{unitID:_0x4ee408,changeset:_0x385f6a}=_0x356803,{mutations:_0x52d16e,type:_0x14fe5e}=_0x385f6a;this[_0x5d3de4(0x21e)]={'unitId':_0x4ee408,'type':_0x14fe5e,'startTime':performance[_0x5d3de4(0x418)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x52d16e)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x158757=_0x53c16e;if(this[_0x158757(0x1ca)]){if(!this[_0x158757(0x21e)]){this[_0x158757(0x378)]['error'](_0x158757(0x17e),_0x158757(0x2b5));return;}this[_0x158757(0x21e)][_0x158757(0x3ae)]=performance[_0x158757(0x418)](),this[_0x158757(0x21e)][_0x158757(0x23f)]=this['_telemetryInfo'][_0x158757(0x3ae)]-this[_0x158757(0x21e)][_0x158757(0x174)],this['_telemetryService'][_0x158757(0x2ae)](ei,this[_0x158757(0x21e)]),this['_telemetryInfo']=null;}}[_0x53c16e(0x2a7)](){var _0x115444=_0x53c16e;this[_0x115444(0x21e)]=null;}},exports[_0x53c16e(0x1ad)]=oi([oe(0x2,a['ILogService']),oe(0x3,a[_0x53c16e(0x357)]),oe(0x4,a[_0x53c16e(0x4cc)](a['LocaleService'])),oe(0x5,a[_0x53c16e(0x4cc)](exports[_0x53c16e(0x177)])),oe(0x6,a[_0x53c16e(0x4cc)](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a['Optional'](Mt[_0x53c16e(0x3f0)]))],exports[_0x53c16e(0x1ad)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x1b23d9,_0x551d95,_0x11b118,_0x794619)=>{var _0x4c4482=_0x53c16e;for(var _0x514afa=_0x794619>0x1?void 0x0:_0x794619?ai(_0x551d95,_0x11b118):_0x551d95,_0x966fda=_0x1b23d9[_0x4c4482(0x17a)]-0x1,_0x18f6d7;_0x966fda>=0x0;_0x966fda--)(_0x18f6d7=_0x1b23d9[_0x966fda])&&(_0x514afa=_0x18f6d7(_0x514afa)||_0x514afa);return _0x514afa;},le=(_0x2c03bf,_0x3ea92f)=>(_0x3e712e,_0x1b388a)=>_0x3ea92f(_0x3e712e,_0x1b388a,_0x2c03bf);exports[_0x53c16e(0x3ef)]=class extends a['Disposable']{constructor(_0xaa8dfa,_0x3c41d4,_0x1420d4,_0x31a13f,_0x3253eb,_0x5be52a){var _0x5695e0=_0x53c16e;super(),P(this,'_socket$',new j['BehaviorSubject'](void 0x0)),P(this,_0x5695e0(0x2a5),this[_0x5695e0(0x1b3)][_0x5695e0(0x3f5)]()),P(this,_0x5695e0(0x2b3),null),P(this,_0x5695e0(0x4a7),new Map()),P(this,_0x5695e0(0x338),new j['BehaviorSubject'](se[_0x5695e0(0x451)])),P(this,_0x5695e0(0x4c7),this[_0x5695e0(0x338)][_0x5695e0(0x3f5)]()),P(this,_0x5695e0(0x2b6),!0x1),P(this,'_retryConnectingTimer'),P(this,_0x5695e0(0x248),0x0),P(this,_0x5695e0(0x37c)),P(this,_0x5695e0(0x24e)),(this['_injector']=_0xaa8dfa,this[_0x5695e0(0x378)]=_0x3c41d4,this['_configService']=_0x1420d4,this[_0x5695e0(0x229)]=_0x31a13f,this['_collaborationUIEventService']=_0x3253eb,this[_0x5695e0(0x4ce)]=_0x5be52a,this[_0x5695e0(0x318)]());}get['_socket'](){var _0x2856a4=_0x53c16e;return this[_0x2856a4(0x1b3)][_0x2856a4(0x19e)]();}[_0x53c16e(0x318)](){var _0x475673=_0x53c16e;this['_networkConditionService']&&this[_0x475673(0x30d)](this[_0x475673(0x4ce)][_0x475673(0x216)][_0x475673(0x3e3)](_0x1753f2=>{var _0xb55714=_0x475673;_0x1753f2&&!this['_socket']&&this[_0xb55714(0x4b3)](),_0x1753f2||this['_onOffline']();}));}[_0x53c16e(0x3a4)](){var _0x517378=_0x53c16e;super[_0x517378(0x3a4)](),this[_0x517378(0x316)](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x517378(0x183)](_0x189b89=>_0x189b89[_0x517378(0x3a4)]()),this[_0x517378(0x4a7)]['clear'](),this[_0x517378(0x338)][_0x517378(0x48d)]();}async[_0x53c16e(0x44c)](_0x511107){var _0x46102e=_0x53c16e;if(this[_0x46102e(0x4a7)][_0x46102e(0x43b)](_0x511107))return this['_sessions']['get'](_0x511107);this['_tryEnsureSocket']();const _0x19e742=this[_0x46102e(0x439)][_0x46102e(0x46f)](exports[_0x46102e(0x1ad)],_0x511107,this[_0x46102e(0x1b3)][_0x46102e(0x3f5)]());return this[_0x46102e(0x4a7)][_0x46102e(0x37e)](_0x511107,_0x19e742),_0x19e742;}[_0x53c16e(0x3b2)](_0x3accc6){var _0x53a51c=_0x53c16e,_0x156498;const _0x33e34e=this[_0x53a51c(0x4a7)][_0x53a51c(0x3a5)](_0x3accc6);_0x33e34e&&(this[_0x53a51c(0x4a7)]['delete'](_0x3accc6),_0x33e34e[_0x53a51c(0x3cc)]()),this['_sessions'][_0x53a51c(0x4aa)]||(_0x156498=this[_0x53a51c(0x471)])==null||_0x156498[_0x53a51c(0x3cc)]();}[_0x53c16e(0x4b3)](){var _0x27e833=_0x53c16e;this['_retryCount']=0x0,this[_0x27e833(0x316)](),this[_0x27e833(0x4c0)]();}['_clearRetryConnectingTimer'](){var _0x2f487b=_0x53c16e;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2f487b(0x348)]),this[_0x2f487b(0x348)]=null);}async[_0x53c16e(0x4af)](){var _0x1015ec=_0x53c16e,_0x989503,_0x32c89b;const _0x434875=this[_0x1015ec(0x2d9)]['getConfig'](St),_0x15601e=this[_0x1015ec(0x2d9)][_0x1015ec(0x4cb)](Y),_0x2ac3f0=(_0x32c89b=(_0x989503=_0x15601e==null?void 0x0:_0x15601e[_0x1015ec(0x2e4)])!=null?_0x989503:_0x434875)!=null?_0x32c89b:ft,_0x16a05e=await this[_0x1015ec(0x229)]['createSocket'](_0x2ac3f0);return this[_0x1015ec(0x2b3)]=_0x16a05e,_0x16a05e;}async[_0x53c16e(0x410)](){var _0x34c284=_0x53c16e,_0x4d00a9,_0x2799a1;try{const _0x21e839=(_0x2799a1=(_0x4d00a9=this['_socket'])!=null?_0x4d00a9:this[_0x34c284(0x2b3)])!=null?_0x2799a1:await this['_createSocket']();if(_0x21e839){const _0x413506=_0x21e839[_0x34c284(0x487)];_0x21e839[_0x34c284(0x487)]=_0x55aba8=>(this[_0x34c284(0x428)](),_0x413506[_0x34c284(0x33a)](_0x21e839,[_0x55aba8])),_0x21e839['message$'][_0x34c284(0x3e3)](_0x1e330c=>this[_0x34c284(0x176)](_0x21e839,_0x1e330c)),_0x21e839[_0x34c284(0x1e2)]['pipe'](W[_0x34c284(0x434)](0x1))['subscribe'](_0x4b15cc=>this[_0x34c284(0x378)]['error'](_0x34c284(0x20d),_0x4b15cc)),_0x21e839[_0x34c284(0x3f8)]['pipe'](W[_0x34c284(0x434)](0x1))[_0x34c284(0x3e3)](()=>{var _0xf60e8a=_0x34c284;this[_0xf60e8a(0x1c2)](_0x21e839);}),_0x21e839['close$'][_0x34c284(0x2ce)](W[_0x34c284(0x434)](0x1))['subscribe'](_0x48fcd4=>{var _0x100184=_0x34c284;this[_0x100184(0x378)]['debug'](_0x100184(0x1b2),_0x100184(0x2fc),_0x48fcd4),this['_onConnectionFailed']();});}}catch(_0x414e69){this['_logService'][_0x34c284(0x245)](_0x414e69),this[_0x34c284(0x3e6)]();}}[_0x53c16e(0x1c2)](_0x3492e7){var _0x53beaf=_0x53c16e;this[_0x53beaf(0x378)]['debug'](_0x53beaf(0x1b2),_0x53beaf(0x2af)),_0x3492e7['send']({'cmd':G[_0x53beaf(0x22b)]}),this[_0x53beaf(0x428)]();}[_0x53c16e(0x1d3)](){var _0x52224c=_0x53c16e;this[_0x52224c(0x2b6)]=!0x1,this[_0x52224c(0x2b3)]=null,this[_0x52224c(0x338)]['next'](se[_0x52224c(0x334)]),this['_socket$'][_0x52224c(0x165)](null),this[_0x52224c(0x172)](),this[_0x52224c(0x458)]();}['_onConnectionFailed'](){var _0x542e33=_0x53c16e,_0x10b4c6;this[_0x542e33(0x1d3)](),this['_retryCount']<((_0x10b4c6=this[_0x542e33(0x2d9)][_0x542e33(0x4cb)](mt))!=null?_0x10b4c6:Wt)?(this[_0x542e33(0x3b0)][_0x542e33(0x4d2)]({'id':Q['SOCKET_FAILED_RETRY']}),this[_0x542e33(0x4c0)]()):this[_0x542e33(0x3b0)][_0x542e33(0x4d2)]({'id':Q[_0x542e33(0x2f3)]});}[_0x53c16e(0x4c0)](){var _0x2b28eb=_0x53c16e,_0x5cdb39;const _0x21f081=this[_0x2b28eb(0x248)],_0x51c589=this[_0x2b28eb(0x2d9)]['getConfig'](Y),_0x5d6a7e=_0x21f081===0x0?0x0:((_0x5cdb39=_0x51c589==null?void 0x0:_0x51c589['retryConnectingInterval'])!=null?_0x5cdb39:Ft)*0x2**_0x21f081;this[_0x2b28eb(0x348)]=setTimeout(()=>{var _0x110291=_0x2b28eb;clearTimeout(this['_retryConnectingTimer']),this[_0x110291(0x348)]=null,this[_0x110291(0x410)]();},_0x5d6a7e),this[_0x2b28eb(0x248)]+=0x1;}['_onMessage'](_0x4b1757,_0x159967){var _0x322155=_0x53c16e;const {cmd:_0x9de5a5}=_0x159967;_0x9de5a5===G[_0x322155(0x22b)]&&!this[_0x322155(0x2b6)]&&(_0x4b1757[_0x322155(0x3a1)]=_0x159967[_0x322155(0x4bf)][_0x322155(0x3a1)],this[_0x322155(0x1b3)][_0x322155(0x165)](_0x4b1757),this[_0x322155(0x338)][_0x322155(0x165)](se[_0x322155(0x264)]),this[_0x322155(0x2b6)]=!0x0,this['_candidateSocket']=null),_0x9de5a5===G[_0x322155(0x260)]&&this[_0x322155(0x172)](),this[_0x322155(0x428)]();}[_0x53c16e(0x428)](){var _0x1fd765=_0x53c16e,_0x4702cf;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1fd765(0x1d0)](),(_0x4702cf=this[_0x1fd765(0x2d9)][_0x1fd765(0x4cb)](pt))!=null?_0x4702cf:Bt);}[_0x53c16e(0x1d0)](){var _0xeaa5a1=_0x53c16e;this[_0xeaa5a1(0x471)][_0xeaa5a1(0x487)]({'cmd':G[_0xeaa5a1(0x260)]}),this[_0xeaa5a1(0x4c4)]();}[_0x53c16e(0x4c4)](){var _0x190745=_0x53c16e,_0x10f9c4;this[_0x190745(0x24e)]=setTimeout(()=>this[_0x190745(0x3e6)](),(_0x10f9c4=this[_0x190745(0x2d9)][_0x190745(0x4cb)](je))!=null?_0x10f9c4:gt);}[_0x53c16e(0x458)](){var _0x1f4c25=_0x53c16e;this[_0x1f4c25(0x37c)]!=null&&(clearTimeout(this[_0x1f4c25(0x37c)]),this[_0x1f4c25(0x37c)]=null);}[_0x53c16e(0x172)](){var _0x3ca823=_0x53c16e;this[_0x3ca823(0x24e)]!=null&&(clearTimeout(this[_0x3ca823(0x24e)]),this[_0x3ca823(0x24e)]=null);}},exports[_0x53c16e(0x3ef)]=ci([le(0x0,a[_0x53c16e(0x4cc)](a['Injector'])),le(0x1,a['ILogService']),le(0x2,a[_0x53c16e(0x357)]),le(0x3,$e),le(0x4,a[_0x53c16e(0x4cc)](te)),le(0x5,a[_0x53c16e(0x244)](bt))],exports[_0x53c16e(0x3ef)]);const V=[];for(let n=0x0;n<0x100;++n)V[_0x53c16e(0x23e)]((n+0x100)[_0x53c16e(0x2d0)](0x10)[_0x53c16e(0x467)](0x1));function hi(_0x2d73e8,_0x5e300=0x0){var _0x3c9986=_0x53c16e;return(V[_0x2d73e8[_0x5e300+0x0]]+V[_0x2d73e8[_0x5e300+0x1]]+V[_0x2d73e8[_0x5e300+0x2]]+V[_0x2d73e8[_0x5e300+0x3]]+'-'+V[_0x2d73e8[_0x5e300+0x4]]+V[_0x2d73e8[_0x5e300+0x5]]+'-'+V[_0x2d73e8[_0x5e300+0x6]]+V[_0x2d73e8[_0x5e300+0x7]]+'-'+V[_0x2d73e8[_0x5e300+0x8]]+V[_0x2d73e8[_0x5e300+0x9]]+'-'+V[_0x2d73e8[_0x5e300+0xa]]+V[_0x2d73e8[_0x5e300+0xb]]+V[_0x2d73e8[_0x5e300+0xc]]+V[_0x2d73e8[_0x5e300+0xd]]+V[_0x2d73e8[_0x5e300+0xe]]+V[_0x2d73e8[_0x5e300+0xf]])[_0x3c9986(0x236)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0xd4fcd6=_0x53c16e;if(!Ue){if(typeof crypto>'u'||!crypto[_0xd4fcd6(0x2d2)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ue=crypto[_0xd4fcd6(0x2d2)][_0xd4fcd6(0x406)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto[_0x53c16e(0x307)]&&crypto[_0x53c16e(0x307)][_0x53c16e(0x406)](crypto),qe={'randomUUID':ui};function di(_0xda87f0,_0x106e6d,_0xecf6bc){var _0x232de6=_0x53c16e,_0x3d5625,_0x3e6044,_0x2c4928;if(qe['randomUUID']&&!_0xda87f0)return qe[_0x232de6(0x307)]();_0xda87f0=_0xda87f0||{};const _0x10cf90=(_0x2c4928=(_0x3e6044=_0xda87f0[_0x232de6(0x41c)])!=null?_0x3e6044:(_0x3d5625=_0xda87f0[_0x232de6(0x1cb)])==null?void 0x0:_0x3d5625[_0x232de6(0x2f7)](_0xda87f0))!=null?_0x2c4928:_i();if(_0x10cf90[_0x232de6(0x17a)]<0x10)throw new Error(_0x232de6(0x475));return _0x10cf90[0x6]=_0x10cf90[0x6]&0xf|0x40,_0x10cf90[0x8]=_0x10cf90[0x8]&0x3f|0x80,hi(_0x10cf90);}const z=a[_0x53c16e(0x1b4)](_0x53c16e(0x49c));function vi(_0xe78498){var _0x2073f9=_0x53c16e;return _0x2073f9(0x411)+_0xe78498;}var Si=Object[_0x53c16e(0x419)],fi=(_0x4419e5,_0x34aaf6,_0xe2582a,_0x4fccfd)=>{for(var _0xf7d714=_0x4fccfd>0x1?void 0x0:_0x4fccfd?Si(_0x34aaf6,_0xe2582a):_0x34aaf6,_0x10bb0f=_0x4419e5['length']-0x1,_0x38f772;_0x10bb0f>=0x0;_0x10bb0f--)(_0x38f772=_0x4419e5[_0x10bb0f])&&(_0xf7d714=_0x38f772(_0xf7d714)||_0xf7d714);return _0xf7d714;},Pe=(_0x43def9,_0x180b33)=>(_0x40ffb8,_0x136869)=>_0x180b33(_0x40ffb8,_0x136869,_0x43def9);function pi(_0x474be7){var _0x1c316f=_0x53c16e;const {unitID:_0x13eeae,mutations:_0x50da7e}=_0x474be7;return{'unitId':_0x13eeae,'subUnitId':_0x50da7e[0x0][_0x1c316f(0x222)][_0x1c316f(0x393)]};}exports[_0x53c16e(0x20e)]=class{constructor(_0x29513f,_0x60545f,_0x1cd521){var _0x246191=_0x53c16e;this[_0x246191(0x439)]=_0x29513f,this[_0x246191(0x28c)]=_0x60545f,this['_instanceService']=_0x1cd521;}[_0x53c16e(0x2d7)](_0x1b8e13){var _0x8a2089=_0x53c16e,_0x1741fe,_0x18878d,_0x25a449,_0x4ba8c4;const _0x4b50d1=this[_0x8a2089(0x439)][_0x8a2089(0x3a5)](Z['SheetsSelectionsService']),{unitId:_0x483e2e,subUnitId:_0x4ccdca}=pi(_0x1b8e13),_0x39311d=_0x4b50d1==null?void 0x0:_0x4b50d1[_0x8a2089(0x249)](_0x483e2e)['getCurrentSelections'](),_0x2105ed=(_0x18878d=(_0x1741fe=this[_0x8a2089(0x444)][_0x8a2089(0x1d2)](_0x483e2e))==null?void 0x0:_0x1741fe[_0x8a2089(0x1c6)]())==null?void 0x0:_0x18878d[_0x8a2089(0x3de)]();if(_0x39311d['length']===0x0||!_0x483e2e||!_0x4ccdca)return;const _0x15e7f3=[{'id':Z[_0x8a2089(0x371)]['id'],'params':{'unitId':_0x483e2e,'subUnitId':_0x2105ed,'selections':a[_0x8a2089(0x47a)][_0x8a2089(0x3d9)](_0x39311d)}}],_0x41eccc=this[_0x8a2089(0x28c)][_0x8a2089(0x1b5)](_0x1b8e13,_0x15e7f3);if(!g[_0x8a2089(0x191)](_0x41eccc))throw _0x41eccc[_0x8a2089(0x245)];const _0x588952=(_0x4ba8c4=(_0x25a449=_0x41eccc[_0x8a2089(0x43d)][0x0])==null?void 0x0:_0x25a449[_0x8a2089(0x222)])==null?void 0x0:_0x4ba8c4[_0x8a2089(0x259)];if(Array[_0x8a2089(0x1f7)](_0x588952)&&_0x588952['length']){if(_0x588952[_0x8a2089(0x17a)]===_0x15e7f3[0x0][_0x8a2089(0x222)][_0x8a2089(0x259)][_0x8a2089(0x17a)]&&_0x588952[_0x8a2089(0x1d7)]((_0xf0976a,_0x92c4b)=>a[_0x8a2089(0x317)][_0x8a2089(0x297)](_0xf0976a[_0x8a2089(0x214)],_0x15e7f3[0x0][_0x8a2089(0x222)][_0x8a2089(0x259)][_0x92c4b][_0x8a2089(0x214)])))return;this[_0x8a2089(0x439)][_0x8a2089(0x3a5)](a['ICommandService'])[_0x8a2089(0x269)](Z[_0x8a2089(0x371)]['id'],{'unitId':_0x483e2e,'subUnitId':_0x2105ed,'selections':_0x588952});}}},exports[_0x53c16e(0x20e)]=fi([Pe(0x0,a['Inject'](a[_0x53c16e(0x1f2)])),Pe(0x1,g[_0x53c16e(0x36b)]),Pe(0x2,a[_0x53c16e(0x4a5)])],exports[_0x53c16e(0x20e)]);const ve=a[_0x53c16e(0x1b4)](_0x53c16e(0x25a));var Fe=(_0x865504=>(_0x865504[_0x865504['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x53c16e(0x472),_0x865504[_0x865504[_0x53c16e(0x2a3)]=0x1]=_0x53c16e(0x2a3),_0x865504))(Fe||{});const gi=new Set([Z[_0x53c16e(0x40e)]['id']]);function ze(_0x524141,_0x4cc236,_0xbc13db,_0x543c9b,_0x3e7d59){var _0x3ca5e2=_0x53c16e,_0x50a204,_0x557e81,_0x47209d,_0x621b52;const _0x1e1592=[];for(const _0x2e7261 of _0x524141)if(gi[_0x3ca5e2(0x43b)](_0x2e7261['id'])){if(_0x1e1592[_0x3ca5e2(0x17a)]>0x0)break;_0x1e1592[_0x3ca5e2(0x23e)](_0x2e7261);break;}else _0x1e1592[_0x3ca5e2(0x23e)](_0x2e7261);const _0x2e5464=(_0x557e81=(_0x50a204=_0x3e7d59[_0x3ca5e2(0x373)]())==null?void 0x0:_0x50a204[_0x3ca5e2(0x39e)])!=null?_0x557e81:_0x3ca5e2(0x289),_0x16074c=(_0x621b52=(_0x47209d=_0x3e7d59[_0x3ca5e2(0x373)]())==null?void 0x0:_0x47209d[_0x3ca5e2(0x3a1)])!=null?_0x621b52:_0x3ca5e2(0x289);return{'changeset':{'unitID':_0x4cc236,'type':g[_0x3ca5e2(0x452)](_0xbc13db['getUnitType'](_0x4cc236)),'baseRev':_0x543c9b[_0x3ca5e2(0x1ec)](_0x4cc236),'revision':0x0,'userID':_0x2e5464,'memberID':_0x16074c,'mutations':_0x1e1592},'pendingMutations':_0x524141['slice'](_0x1e1592[_0x3ca5e2(0x17a)])};}function _0xcc54(){var _0x5e25a0=['pending','HTTPRequest','headers','method','getTypeOfUnitAdded$','_lockTransition','close','6apXmaO','_xformMode','@univerjs/telemetry','UniverInstanceType','_joinRoom','cfg','salt','updatePermissionObjEvent','permissionRejEvent','MentionType','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','deepClone','_process','getGlobalObject','ConflictState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_incrementRevisionNumber','PasswordBasedCipher','onTransformRemoteChangesetByStateCache','create','subscribe','incrementRevOfUnit','AwaitingState','_onConnectionFailed','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_NOT_EXISTS','_resendTimeout','refreshPermission','save\x20fail\x20reason\x20is\x20','status','HMAC','_clearScheduledTask','CollaborationSessionService','ITelemetryService','COMPLETION_FINISHED','registerDependencies','sequenceExecute','_onUserLeave','asObservable','MSG_FOR_ERROR','transformChangesets','open$','delay','_unlockTransition','infoRsp','JOIN','msCrypto','delete','OPTIONAL','_syncEditingCollabCursor','UPDATE_CURSOR','CompressMutationService','update','_unitInfo$','replace','bind','SUBMIT_CHANGESET','_roomMembers','DisposableCollection','type','_getUploadFileURL','PERMISSION_REJ','_exhaustRemoteChangesetQueue','InsertSheetMutation','formatter','_tryEnsureSocket','unit-cache-','UserManagerService','session.join-failed','c1Prime','JOIN_ROOM_PERMISSION_DENIED','confirm','map','now','getOwnPropertyDescriptor','enableOfflineEditing','collaboratorID','random','ICollaborationSocketService','OTHER_CLIENT_EDITING','_updateState','LICENSE_DISTRO_REJECTED','concatMap','_ENC_XFORM_MODE','default','UNAUTHENTICATED','_members','[CollaborationEntity]','_clearUndo','_rescheduleHeartbeat','reset','transformUndoRedo','SYNCED','People','@univerjs/docs','resolve','state$','_permissionService','_executeRemoteChangeset','merge','takeUntil','take','UniverCollaborationClientPlugin','CollaborationSocketService','loadDoc','Univer','_injector','find','has','APPLY_REVISION_CONFILICT','m2Prime','fromCollab','sessionStatus','getFocusedUnit','/universer-api/file/{fileID}/sign-url','_HTTPService','_onRemoteRetry','_instanceService','addImageSourceCache','liveShareOperation','onRemoteAck','_getSendChangesetTimeout','_memberService','textRanges','ISingleActiveUnitService','requireSession','_scheduleCompleteTimestamp','AuthzIoHttpService','OpenSSL','/universer-api/authz','IDLE','mapDocumentTypeToUniverType','getLatestCsReqIdBySid','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','FileId','collabSubmitChangesetUrl','SNAPSHOT_INVALID_SNAPSHOT','_clearHeartbeatTimer','RETRY_CONNECTING_MAX_COUNT_KEY','firstValueFrom','_keyPriorReset','/-/object/-/batch_allowed','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','message$','CollaborationEntity','Hex','_onLocalMutation','clone','LIVESHARE_NEW_HOST','getAllMembers','_doCryptBlock','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','slice','session','onTransformState','getMember','RevisionService','UniverNetworkPlugin','getSheetBlock','CommandType','createInstance','IMentionIOService','_socket','NO_OTHER_CLIENTS_EDITING','NoPadding','rxjs','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','JOINING','ceil','finalize','newCsEvent','Tools','_queuedRemoteChangesets','decrypt','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_transformUndoredo','byteLength','_doFinalize','CollaborationController','JOIN_ROOM_FAILED','CHANGESET_ACK','getSnapshotAPIPath','toggleOnline','send','_collaborationPaused','getTime','title','baseRev','Utf8','complete','ERROR_IMAGE','_commentService','roomInfos','_toggleOnline','[SyncedState]:\x20received\x20acknowledgement.','FETCH_MISS','MentionIoHttpService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getMemberID','[DataLoaderService]','APPLY_DUPLICATED','_stopTelemetryCollaborationNewChangeset','UnitSnapshot','RxDisposable','collaboration-client.local-cache-service','_getLoginPath','_changesetReqId','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/unit/','ReplaySubject','855375AEYryV','_loadDoc','IUniverInstanceService','keySize','_sessions','_acknowledgedAwaitingChangeset','_waitCount','size','_compressMutationService','location','_getRedoStack','_state','_createSocket','[SyncedState]:\x20received\x20rejection.','JOIN_ROOM_FULL','_startCollaboration','reconnect','NOT_FOUND','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs/sheets','Base','PY_RUNTIME_SCRIPT_ERROR','then','onRemoteRej','/universer-api/user/session-ticket','authzUrl','signUrlServerUrl','PERSON','data','_tryReconnect','fromCharCode','repeat','override','_waitForHeartbeatResponse','_handlerCallback','objectActions','status$','sigBytes','readInt32LE','SNAPSHOT_SERVER_URL_KEY','getConfig','Inject','onStateChange','_networkConditionService','lib','Cipher','dispose$','emitEvent','pluginName','_onFetchMissResult','_undoStacks','parseProtocolChangeset','joinRsp','mode','_roomCreated$','waitForRoom$','commentUpdateEvent','_onConflict','unsubscribe','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_sessionStatus$','SnapshotServerOverHTTPService','UNIVER_COLLABORATION_CLIENT_PLUGIN','next','interceptor','SyncedState','exports','COLLAB_WEB_SOCKET_URL','uploadFileServerUrl','toStringTag','_replaceFileID','_entityInit$','result','ThresholdInterceptorFactory','actions','CollaborationStatus','_clearTimeoutTimer','localCacheService','startTime','/new_changes','_onMessage','MemberService','AWAITING','ERROR_EXCEED_SIZE','length','SessionStatus','onCommentUpdate','members$','[CollaborationSession]','[PendingState]:\x20received\x20acknowledgement.','batchAllowed','action','_clearCollaborationTimeoutTimer','forEach','synced','SHA1','isTransformMutationsWithChangesetFailure','session.room-permission-denied','_type','encryptBlock','setWaitCount','add','compute','fetch_missing','fetchMissingChangesets','BASE64','_hash','isTransformMutationsWithChangesetSuccess','278034yFjyIb','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','buffer','/universer-api/comb','_initMergeInterceptor','_removeRoom','_univerInstanceService','SEND_CHANGESET_TIMEOUT','debug','/fetchmissing?from=','collaboration_new_changeset','\x20to\x20','getValue','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onMissingChangesets','_transformSelections','session.room-cnt-exceeds','_submitChangeset','init','COMPRESS_MUTATION_APPLY','_revisionService','onRemoteRetry','CHANGESET_SHOULD_RETRY','onTransformSelections','awaiting','awaitingChangeset','file','CollaborationSession','sessionStatus$','[CollaborationUndoRedoService]','@univerjs/drawing','json','[CollaborationSessionService]','_socket$','createIdentifier','transformMutationsWithChangeset','_telemetryService','target','onlyLocal','Malformed\x20UTF-8\x20data','session.room-not-exists','snapshot','compose','image/png','AwaitingWithPendingState','BlockCipherMode','_transitionLocked','UNRECOGNIZED','_onConnectionOpen','POST','liveShareNewHost','allowed','getActiveSheet','CollaborativeUndoRedoService','list','copyFileMeta','_shouldReportTelemetry','rng','getImageSourceCache','CONNECTOR_DATA_TOO_LARGE','_getCurrentRevision','iterations','_sendHeartbeat','_DEC_XFORM_MODE','getUnit','_onOffline','Disposable','indexOf','UNIVER_SHEET','every','IUndoRedoService','\x0aCurrent:\x20','/rev/','_prevBlock','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','transformStack\x20failed!','put','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getDownloadEndpointURL','YUUMI_RATE_OVER_LIMIT','error$','[FetchMissState]','CommentService','SEND_CHANGESET_TIMEOUT_KEY','image/jpeg','3YqtcaN','_state$','getRoom','appendMutation','disableLocalCache','getCurrentRevOfUnit','_createInitialStateImpl','LIVESHARE_TERMINATE','_changesetSessionId','updateMember','textEncoder','Injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','547813YmDmpT','/universer-api/oidc/authpage','setConfig','isArray','_data','_minBufferSize','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SerializableCipher','getCollabEntity$','unitId','HEARTBEAT_TIMEOUT','originalMeta','/allowed','UnitEmbedded','createSocket','Workbook','enc','touchDependencies','FETCH_MISSING','Subject','PERMISSION_DENIED','_httpService','_keySchedule','_transformRemoteChangesetByIMECache','encode','[CollaborationSessionService]:\x20socket\x20error','SheetTransformSelectionsService','SNAPSHOT_HAS_BEEN_REMOVED','collaborators','INTERNAL_ERROR','reject','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','range','_onRemoteRejected','online$','\x0aAfter:\x20','_singleActiveUnitService','ILogService','stringify','INGEST','c2Prime','_checkMissing','_telemetryInfo','function','decryptBlock','reverse','params','[PendingState]:\x20received\x20rejection.','COMMENT_UPDATE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnit','conflict','__Key__','_socketService','_oKey','HELLO','_substituteUndoStack','requestParams','_startTelemetryCollaborationNewChangeset','execute','MD5','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadSheet','_getSignURL','_getAPIPrefix','_transformStack','toLowerCase','_collaborationTimeoutTimer','_transformStateCache','href','removeMember','onMissedChangesetFetched','loadOfflineData','isInternalEditorID','push','duration','_showConflictNotification','rev','_handler','ImageUploadStatusType','Optional','error','cmd','_mode','_retryCount','getWorkbookSelections','APPLY_PERMISSION_DENIED','findIndex','url','SUBMIT_CHANGESET_TIMEOUT','_timeoutTimer','[OfflineState]:\x20received\x20rejection.','CollaborationUIEventId','createEncryptor','hostname','ciphertext','@univerjs-pro/collaboration','_initDependencies','RichTextEditingMutation','_invKeySchedule','_doReset','selections','univer-pro.collaboration-client.single-active-unit-service','parseChangesetToProtocol','min','_sheetTransformSelectionsService','SNAPSHOT_URL_KEY','_substituteRedoStack','HEARTBEAT','TOO_MANY_REQUESTS','PSEUDO_FETCH_MISSING_RESULT','@univerjs/network','ONLINE','getImage','_nRounds','patch','_getAPIPrefixPath','executeCommand','b64DecodeUnicode','saveChangeset','resourceIDs','_cipher','CLOSE_ROOM','setCurrentUser','floor','objectID','_initRequestHeader','LocaleService','univer-pro.collaboration-client.network-condition.service','_redoStacks','Could\x20not\x20dynamically\x20require\x20\x22','filter','_nDataBytes','UNIVER_UNKNOWN','sid','submit\x20changeset\x20error!','fetchThroughInterceptors','COMPRESS_MUTATION_SEND','LOGIN_URL_KEY','/block/','_unitID','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','Base64','_resendWithTimeout','_initCloseConn','getCollabEntity','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_remoteChangesetQueue','unknown','_snapshotServerService','image/jpg','_transformService','NEW_CHANGESETS','CHANGESET_REJ','INetworkConditionService','key','readAsDataURL','GLOBAL_ROOMS_CNT_EXCEEDS','__creator','CONFLICT','offline','_eventService','equals','kdf','initWorkbookPermissionChange','OfflineState','toDisposable','UNDEFINED','_onCombEvent','IContextService','_entities','_getUndoStack','HEARTBEAT_TIMEOUT_KEY','UNIVER_PROJECT','OTHER_CLIENTS_EDITING','_iv','socket$','Hasher','_throwTelemetryCollaborationNewChangeset','unpad','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','registerHTTPInterceptor','CollaborationEvent','socketService','_onRemoteChangeset','capture','socket\x20open.','_applyRemoteChangeset','_localeService','post','_candidateSocket','LICENSE_EXPORT_SIZE_EXCEEDED','telemetry\x20info\x20is\x20not\x20initialized','_socketReady','UNISCRIPT_RUN','reqId','CHANGESET_REVISION_CONFILICT','PENDING','snapshotServerUrl','clear','_sender','charAt','_disableEditing','defineProperty','_append','_key','WordArray','354490ZYeRRw','charCodeAt','EvpKDF','entries','SOCKET_FAILED_RETRY','StreamCipher','_createInitialState','isPermissionRej','onSendChangeset','_createHmacHelper','pipe','onStarting','toString','UNIVER_SLIDE','getRandomValues','_map','_transformRemoteChangesetByStateCache','USERS_LEAVE','_createHandler','transformSelections','ivSize','_configService','getUnitStatus$','revision','HEARTBEAT_INTERVAL','_undoRedoService','_imageSourceCache','rxjs/operators','collaMsg','UNKNOWN_CODE','_initUnitPermissionChange','APPLY_NON_SEQUENTIAL_REVISION','collabWebSocketUrl','toggleOffline','body','changesets','_getCtorByUniverType','pauseCollaboration','$super','PendingState','hasher','subject','WorkbookEditablePermission','_resendTimer','connection\x20error','COLLAB_SUBMIT_CHANGESET_URL','close$','SOCKET_FAILED','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/collaborator','UnitStatus','call','RECV','LIVESHARE_REQUEST_HOST','members','entityInit$','socket\x20close','COLLAB_SUBMIT_CHANGESET_URL_KEY','APPLY_REJECT','padding','routeKey','_iKey','loginUrlKey','getDeserializedSheetBlock','encrypt','_transformIMECache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','randomUUID','string','avatar','readyForCollab','_collaborationSessionService','updateCollaborator','disposeWithMe','_fetchMissChangesets','USERS_ENTER','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UPDATE_PERMISSION_OBJ','1685328mYLdXq','unitID','[OfflineState]:\x20received\x20acknowledgement.','_createHelper','_clearRetryConnectingTimer','Rectangle','_listenToNetworkCondition','_replayCachedMutations','/universer-api/snapshot/','SUCCUSS','_toggleOffline','_clearRedo','_hasher','abs','byteOffset','\x20in\x20_schedule.','includes','generateRandomId','code','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_onJoinRoomEvent','loadSheet','deleteCollaborator','UNKNOWN_CMD','_awaitingChangeset','Undefined','mixIn','_event$','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ICommandService','splice','clamp','csRejEvent','state','OFFLINE','catch','onCommandExecuted','deserializeToCombResponse','_status$','&source=','apply','_updateStatus','ENSURE_SNAPSHOT_EXECUTION','onSyncEditingCollabCursor','onTransformRemoteChangesetByIMECache','crypto','CollaborationImageIoService','getUnitId','join','AUTHZ_URL_KEY','MergeInterceptorFactory','_schedule','CollaborationUIEventService','createDecryptor','_retryConnectingTimer','_emitMembers','_onRemoteACK','withCredentials','resend','name','Module','ws://127.0.0.1:8000/universer-api/comb/connect','/object','LOCAL_CACHE_INTERVAL','image/gif','blockSize','IImageIoService','values','UUID','IConfigService','_localCacheService','HTTPService','_scheduleCollaborationTimeoutTimer','updateOfflineData','HmacMD5','encodeURIComponent','_updateLocalCache','isTransformChangesetsSuccess','_socketMessageSubscription','AES','mutations','randomBytes','1006864czgjkP','pad','getInterceptPoints','_sendingTimer','words','onTransformIME','mergeOverrideWithDependencies','ITransformService','SheetCollaborationEntity','ImageSourceType','_registerDependencies','DEFAULT_WS_SESSION_TICKET_URL','objects','SetSelectionsOperation','[CollaborationState]:\x20apply\x20error!','getCurrentUser','FetchingMissState','_decreaseWaiting','saveSnapshot','concat','_logService','processBlock','csAckEvent','DocCollaborationEntity','_sendHeartbeatTimer','onload','set','_snapshotService','/object/','parse','/universer-api/snapshot','_members$','BlockCipher','LEAVE','_commandService','roles','IAuthzIoService','updatePermissionPoint','failed\x20to\x20apply\x20missed\x20changesets!','createCollaborator','prototype','LIVESHARE_OPERATION','_init','DataLoaderService','_collabSessionService','_config','algo','subUnitId','_isPermissionRej','MUTATION','HmacSHA1','_onRecvEvent','/role','/-/object/list','extend','objectType','UNIVER_DOC','1132370atERYB','userID','setShowComponents','awaiting_with_pending','memberID','_reverseMap','Decryptor','dispose','get','_userManagerService','YUUMI_URL_COL_OUT_OF_RANGE','auth.needGotoLoginAlert','BufferedBlockAlgorithm','responseType','hasOwnProperty','downloadEndpointUrl','81RBxtIP','stopTime','workbook','_collaborationUIEventService','event$','closeSession','from','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','change$','@univerjs/core','/resources','HttpExport','onRemoteChangeset','IPermissionService','getTypeOfUnitDisposed$','_pendingMutations','eventID','format','getUnitType','LIVESHARE_FETCH_OPERATIONS','reduce','_commentUpdate$','_change$','/universer-api/stream/file/upload','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY'];_0xcc54=function(){return _0x5e25a0;};return _0xcc54();}function mi(_0x5bcc3e,_0x20b431,_0x530328,_0x503e13,_0xbedcd9){var _0x152b41=_0x53c16e,_0x3cfb2d,_0x318359,_0x287e25,_0x2c6e5d;const _0x54d5e2=[_0x5bcc3e[_0x152b41(0x3c1)]((_0x1e5fa8,_0x58aca6)=>{var _0x5e82f6=_0x152b41,_0x16f342;const {id:_0x4e5261}=_0x1e5fa8,{id:_0x1fe83b,type:_0x37187d}=_0x58aca6,_0x56c9e9=(_0x16f342=_0x1e5fa8['params'])!=null?_0x16f342:{'actions':null},_0x575188=_0x58aca6[_0x5e82f6(0x222)];if(_0x4e5261&&_0x4e5261!==_0x1fe83b)throw new Error(_0x5e82f6(0x325)+_0x4e5261+_0x5e82f6(0x49f)+_0x1fe83b+'.');return{..._0x1e5fa8,'id':_0x1fe83b,'type':_0x37187d,'params':{'unitId':_0x575188[_0x5e82f6(0x1fd)],'textRanges':_0x575188[_0x5e82f6(0x44a)],'actions':a['JSONX'][_0x5e82f6(0x1bc)](_0x56c9e9[_0x5e82f6(0x170)],_0x575188['actions'])}};},{})],_0x4cf15f=(_0x318359=(_0x3cfb2d=_0xbedcd9[_0x152b41(0x373)]())==null?void 0x0:_0x3cfb2d['userID'])!=null?_0x318359:_0x152b41(0x289),_0x45dc5f=(_0x2c6e5d=(_0x287e25=_0xbedcd9[_0x152b41(0x373)]())==null?void 0x0:_0x287e25[_0x152b41(0x3a1)])!=null?_0x2c6e5d:_0x152b41(0x289);return{'changeset':{'unitID':_0x20b431,'type':g[_0x152b41(0x452)](_0x530328[_0x152b41(0x3bf)](_0x20b431)),'baseRev':_0x503e13[_0x152b41(0x1ec)](_0x20b431),'revision':0x0,'userID':_0x4cf15f,'memberID':_0x45dc5f,'mutations':_0x54d5e2},'pendingMutations':[]};}function Ot(_0x47eabe,_0x267add){var _0xafd1d5=_0x53c16e;const _0x5a7e76=new j[(_0xafd1d5(0x4a2))](0x1);return setTimeout(()=>_0x5a7e76[_0xafd1d5(0x165)](_0x267add),_0x47eabe),_0x5a7e76[_0xafd1d5(0x3f5)]()[_0xafd1d5(0x2ce)](j[_0xafd1d5(0x434)](0x1));}const Ii={'id':Z['EmptyMutation']['id'],'type':a[_0x53c16e(0x46e)][_0x53c16e(0x395)],'params':{}};var Ei=Object[_0x53c16e(0x419)],ce=(_0x224c4d,_0x2b7c3d,_0xdd213a,_0x36b8a2)=>{for(var _0x2da416=_0x36b8a2>0x1?void 0x0:_0x36b8a2?Ei(_0x2b7c3d,_0xdd213a):_0x2b7c3d,_0x4b9be3=_0x224c4d['length']-0x1,_0x26c09b;_0x4b9be3>=0x0;_0x4b9be3--)(_0x26c09b=_0x224c4d[_0x4b9be3])&&(_0x2da416=_0x26c09b(_0x2da416)||_0x2da416);return _0x2da416;},w=(_0x572a35,_0x22c77c)=>(_0x2579b5,_0x3117b2)=>_0x22c77c(_0x2579b5,_0x3117b2,_0x572a35),We=(_0x3ab1ab=>(_0x3ab1ab['NOT_COLLAB']='not_collab',_0x3ab1ab[_0x53c16e(0x42b)]=_0x53c16e(0x184),_0x3ab1ab[_0x53c16e(0x2ba)]='pending',_0x3ab1ab[_0x53c16e(0x178)]=_0x53c16e(0x1aa),_0x3ab1ab['AWAITING_WITH_PENDING']=_0x53c16e(0x3a0),_0x3ab1ab[_0x53c16e(0x493)]=_0x53c16e(0x18d),_0x3ab1ab[_0x53c16e(0x294)]=_0x53c16e(0x227),_0x3ab1ab[_0x53c16e(0x334)]='offline',_0x3ab1ab))(We||{});const Nt=0xea60;class he{constructor(_0x4b910d,_0x37caca,_0x5a9a98,_0x109d65,_0x982d1f,_0x4f243,_0x444211,_0x2acd14,_0x5aa930){var _0x2fd25a=_0x53c16e;P(this,_0x2fd25a(0x32a),null),P(this,'_pendingMutations',[]),(this[_0x2fd25a(0x313)]=_0x4b910d,this[_0x2fd25a(0x40a)]=_0x37caca,this[_0x2fd25a(0x242)]=_0x982d1f,this[_0x2fd25a(0x386)]=_0x4f243,this[_0x2fd25a(0x2dd)]=_0x444211,this[_0x2fd25a(0x1a6)]=_0x2acd14,this['_localCacheService']=_0x5aa930,this[_0x2fd25a(0x32a)]=_0x5a9a98,this[_0x2fd25a(0x3bc)]=_0x109d65);}[_0x53c16e(0x21d)](_0x41b7e5){var _0x563543=_0x53c16e;const _0x252f84=this[_0x563543(0x1a6)]['getCurrentRevOfUnit'](this[_0x563543(0x313)]);return _0x41b7e5[_0x563543(0x2db)]>_0x252f84+0x1?(this[_0x563543(0x242)][_0x563543(0x1a0)]({'from':_0x252f84,'to':_0x41b7e5[_0x563543(0x2db)]-0x1}),!0x0):!0x1;}[_0x53c16e(0x47f)](_0x50f30f){var _0x9f6b93=_0x53c16e;this[_0x9f6b93(0x2dd)][_0x9f6b93(0x42a)](this[_0x9f6b93(0x313)],_0x50f30f);}[_0x53c16e(0x1a1)](_0x8db4be){var _0x48df7f=_0x53c16e,_0x3ddde1,_0x2bf49b;(_0x2bf49b=(_0x3ddde1=this[_0x48df7f(0x242)])[_0x48df7f(0x1a9)])==null||_0x2bf49b[_0x48df7f(0x2f7)](_0x3ddde1,_0x8db4be);}[_0x53c16e(0x305)](_0x152ada){var _0x2c29cb=_0x53c16e,_0x3c2f78,_0x3c8133;return(_0x3c8133=(_0x3c2f78=this[_0x2c29cb(0x242)])[_0x2c29cb(0x369)])==null?void 0x0:_0x3c8133[_0x2c29cb(0x2f7)](_0x3c2f78,_0x152ada);}[_0x53c16e(0x238)](_0x280d5a){var _0x1ecba1=_0x53c16e,_0x48ae87,_0x396aef;return(_0x396aef=(_0x48ae87=this[_0x1ecba1(0x242)])[_0x1ecba1(0x469)])==null?void 0x0:_0x396aef[_0x1ecba1(0x2f7)](_0x48ae87,_0x280d5a);}['_transformRemoteChangesetByIMECache'](_0x129498){var _0x526870=_0x53c16e,_0x37afb8,_0x4c820c,_0x5aaa4f;return(_0x5aaa4f=(_0x4c820c=(_0x37afb8=this[_0x526870(0x242)])[_0x526870(0x33e)])==null?void 0x0:_0x4c820c['call'](_0x37afb8,_0x129498))!=null?_0x5aaa4f:_0x129498;}[_0x53c16e(0x2d4)](_0x11d5f3){var _0x4e245e=_0x53c16e,_0x2101e9,_0xf58d16,_0x52aa85;return(_0x52aa85=(_0xf58d16=(_0x2101e9=this[_0x4e245e(0x242)])[_0x4e245e(0x3e1)])==null?void 0x0:_0xf58d16[_0x4e245e(0x2f7)](_0x2101e9,_0x11d5f3))!=null?_0x52aa85:_0x11d5f3;}[_0x53c16e(0x400)](_0x211c40){var _0x372e0c=_0x53c16e,_0x3a7af8,_0x266be9;if(this['type']===X['UNIVER_DOC']){const {unitID:_0x1683ab,mutations:_0x5b6efd,memberID:_0x3a0e3a}=_0x211c40,_0x143feb=_0x5b6efd[0x0][_0x372e0c(0x222)]['textRanges'];Array[_0x372e0c(0x1f7)](_0x143feb)&&_0x143feb[_0x372e0c(0x17a)]>0x0&&((_0x266be9=(_0x3a7af8=this['_handler'])[_0x372e0c(0x33d)])==null||_0x266be9[_0x372e0c(0x2f7)](_0x3a7af8,{'unitID':_0x1683ab,'memberID':_0x3a0e3a,'textRanges':_0x143feb}));}}['_updateLocalCache'](){var _0x35b290=_0x53c16e,_0x17123e;(_0x17123e=this[_0x35b290(0x358)])==null||_0x17123e[_0x35b290(0x35b)](this['unitID'],this[_0x35b290(0x40a)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x53c16e(0x1ce)](){var _0x132fe0=_0x53c16e;return this[_0x132fe0(0x1a6)][_0x132fe0(0x1ec)](this['unitID']);}[_0x53c16e(0x3df)](){var _0x34a6a1=_0x53c16e;this[_0x34a6a1(0x1a6)][_0x34a6a1(0x3e4)](this[_0x34a6a1(0x313)]);}[_0x53c16e(0x431)](_0x37e282){var _0x59663c=_0x53c16e,_0x4c2e32;let _0x4d8371=this[_0x59663c(0x20b)](_0x37e282);_0x4d8371=this[_0x59663c(0x2d4)](_0x4d8371);const _0x789823=a[_0x59663c(0x3f3)](_0x4d8371[_0x59663c(0x362)],this['_commandService'],{'fromCollab':!0x0});if(!_0x789823[_0x59663c(0x16e)])throw _0x789823['error']instanceof Error?_0x789823['error']:new Error((_0x4c2e32=_0x789823[_0x59663c(0x245)])!=null?_0x4c2e32:_0x59663c(0x372));this[_0x59663c(0x305)](_0x4d8371),this['_transformStateCache'](_0x4d8371),this[_0x59663c(0x47f)](_0x37e282),this[_0x59663c(0x1a1)](_0x4d8371),this[_0x59663c(0x400)](_0x4d8371),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends he{constructor(_0x5c697a,_0x5253b2,_0x3ee7b7,_0x21121b,_0x54bbf0,_0xdcf643,_0x53862f,_0x16f978,_0x330650,_0x15a4ba){var _0x10b217=_0x53c16e;super(_0x5c697a,_0x5253b2,null,[],_0x3ee7b7,_0x53862f,_0xdcf643,_0x21121b,_0x15a4ba),P(this,_0x10b217(0x3ec),'synced'),(this[_0x10b217(0x439)]=_0x54bbf0,this[_0x10b217(0x378)]=_0x16f978,this[_0x10b217(0x28c)]=_0x330650,this[_0x10b217(0x173)]=_0x15a4ba);}[_0x53c16e(0x1ea)](_0x262035){var _0x187523=_0x53c16e;const _0x15f7e1=this[_0x187523(0x439)]['createInstance'](exports[_0x187523(0x2eb)],this[_0x187523(0x313)],this[_0x187523(0x40a)],[_0x262035],this[_0x187523(0x242)]);return _0x15f7e1[_0x187523(0x345)](),_0x15f7e1['_updateLocalCache'](),_0x15f7e1;}[_0x53c16e(0x3b9)](_0x4cf937){var _0x33d96a=_0x53c16e;if(this[_0x33d96a(0x21d)](_0x4cf937))return this['_injector'][_0x33d96a(0x46f)](exports[_0x33d96a(0x374)],this[_0x33d96a(0x313)],this['type'],null,[],null,[_0x4cf937],this[_0x33d96a(0x242)]);try{const _0x5324c0=this[_0x33d96a(0x28c)][_0x33d96a(0x1b5)](_0x4cf937,[Ii]);if(g[_0x33d96a(0x191)](_0x5324c0)){const {c1Prime:_0x1fa4a3}=_0x5324c0;return this[_0x33d96a(0x431)](_0x1fa4a3),this;}throw _0x5324c0[_0x33d96a(0x245)];}catch(_0x314fc2){return this['_logService'][_0x33d96a(0x245)](_0x314fc2),this[_0x33d96a(0x4dc)](!0x1);}}['_onConflict'](_0x1ecf93){var _0x24e897=_0x53c16e;return this[_0x24e897(0x439)][_0x24e897(0x46f)](exports['ConflictState'],this['unitID'],this[_0x24e897(0x40a)],null,[],this[_0x24e897(0x242)],_0x1ecf93);}[_0x53c16e(0x447)](){var _0x2b1361=_0x53c16e;throw new Error(_0x2b1361(0x492));}[_0x53c16e(0x4ba)](){var _0x1e7e53=_0x53c16e;throw new Error(_0x1e7e53(0x4b0));}['onRemoteRetry'](){return this;}[_0x53c16e(0x2e5)](){var _0x496421=_0x53c16e;return this[_0x496421(0x439)][_0x496421(0x46f)](exports[_0x496421(0x29a)],this[_0x496421(0x313)],this['type'],null,[],this[_0x496421(0x242)]);}[_0x53c16e(0x486)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x5ba65b=_0x53c16e;const _0x12d2f6=this[_0x5ba65b(0x1a6)][_0x5ba65b(0x1ec)](this[_0x5ba65b(0x313)]);return this['_handler']['onMissingChangesets']({'from':_0x12d2f6,'to':0x0}),this[_0x5ba65b(0x439)][_0x5ba65b(0x46f)](exports[_0x5ba65b(0x374)],this[_0x5ba65b(0x313)],this['type'],null,[],null,[],this[_0x5ba65b(0x242)]);}},exports[_0x53c16e(0x167)]=ce([w(0x3,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0x4,a[_0x53c16e(0x4cc)](a['Injector'])),w(0x5,a[_0x53c16e(0x1d8)]),w(0x6,a[_0x53c16e(0x32f)]),w(0x7,a['ILogService']),w(0x8,g[_0x53c16e(0x36b)]),w(0x9,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x167)]),exports['PendingState']=class extends he{constructor(_0x24671,_0x55df4b,_0x3ca224,_0x3b6890,_0x519649,_0x195890,_0x4ec382,_0x204077,_0x2b2300,_0x1fe1c9,_0x206be4,_0x3c98d0,_0x270396,_0x120d5f){var _0x16ed28=_0x53c16e;super(_0x24671,_0x55df4b,null,_0x3ca224,_0x3b6890,_0x2b2300,_0x270396,_0x195890,_0x120d5f),P(this,_0x16ed28(0x3ec),_0x16ed28(0x3c6)),P(this,_0x16ed28(0x44d),null),P(this,_0x16ed28(0x367),null),(this[_0x16ed28(0x439)]=_0x519649,this['_memberService']=_0x4ec382,this[_0x16ed28(0x378)]=_0x204077,this[_0x16ed28(0x2d9)]=_0x1fe1c9,this['_transformService']=_0x206be4,this[_0x16ed28(0x198)]=_0x3c98d0);}[_0x53c16e(0x1ea)](_0x134167){var _0x52de06=_0x53c16e;return this[_0x52de06(0x3bc)]['push'](_0x134167),this[_0x52de06(0x35e)](),this;}[_0x53c16e(0x3b9)](_0x395046){var _0x3acb3b=_0x53c16e;if(this[_0x3acb3b(0x21d)](_0x395046))return this[_0x3acb3b(0x3ee)](),this[_0x3acb3b(0x439)][_0x3acb3b(0x46f)](exports[_0x3acb3b(0x374)],this[_0x3acb3b(0x313)],this[_0x3acb3b(0x40a)],null,this['_pendingMutations'],null,[_0x395046],this[_0x3acb3b(0x242)]);try{const _0x376a12=this['_transformService'][_0x3acb3b(0x1b5)](_0x395046,this[_0x3acb3b(0x3bc)]);if(g[_0x3acb3b(0x191)](_0x376a12)){const {c1Prime:_0x39cedd,m2Prime:_0x2a86a8}=_0x376a12;this[_0x3acb3b(0x431)](_0x39cedd);const _0x3824f6=this['_injector'][_0x3acb3b(0x46f)](exports[_0x3acb3b(0x2eb)],this['unitID'],this['type'],_0x2a86a8,this[_0x3acb3b(0x242)]);this[_0x3acb3b(0x3ee)]();const _0x5035cb=new Date()['getTime'](),_0x631c5=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x3acb3b(0x44d)]-_0x5035cb,0x0):this[_0x3acb3b(0x448)]();return _0x3824f6[_0x3acb3b(0x345)](_0x631c5),_0x3824f6;}throw _0x376a12[_0x3acb3b(0x245)];}catch(_0x25a3db){return this[_0x3acb3b(0x378)][_0x3acb3b(0x245)](_0x25a3db),this[_0x3acb3b(0x4dc)](!0x1);}}[_0x53c16e(0x447)](){var _0x5291e0=_0x53c16e;throw new Error(_0x5291e0(0x17f));}[_0x53c16e(0x4ba)](){var _0x1abb8f=_0x53c16e;throw new Error(_0x1abb8f(0x223));}[_0x53c16e(0x1a7)](){return this;}[_0x53c16e(0x2e5)](){var _0x3e7afa=_0x53c16e;return this[_0x3e7afa(0x3ee)](),this[_0x3e7afa(0x439)][_0x3e7afa(0x46f)](exports['OfflineState'],this[_0x3e7afa(0x313)],this[_0x3e7afa(0x40a)],null,this['_pendingMutations'],this['_handler']);}[_0x53c16e(0x486)](){return this;}[_0x53c16e(0x345)](_0x206b49){var _0x4652e8=_0x53c16e;const _0x5d5a31=_0x206b49!=null?_0x206b49:this[_0x4652e8(0x448)]();this[_0x4652e8(0x44d)]=new Date()[_0x4652e8(0x489)]()+_0x5d5a31,this[_0x4652e8(0x367)]=setTimeout(()=>{var _0x2e7359=_0x4652e8;this[_0x2e7359(0x3ee)]();let _0x499a3a=null;switch(this[_0x2e7359(0x40a)]){case X[_0x2e7359(0x1d6)]:{_0x499a3a=ze(this[_0x2e7359(0x3bc)],this[_0x2e7359(0x313)],this[_0x2e7359(0x198)],this['_revisionService'],this[_0x2e7359(0x449)]);break;}case X[_0x2e7359(0x39c)]:{this[_0x2e7359(0x3bc)][_0x2e7359(0x1d7)](_0x399e28=>_0x399e28['id']===ut['RichTextEditingMutation']['id'])?_0x499a3a=mi(this[_0x2e7359(0x3bc)],this[_0x2e7359(0x313)],this[_0x2e7359(0x198)],this['_revisionService'],this[_0x2e7359(0x449)]):_0x499a3a=ze(this[_0x2e7359(0x3bc)],this[_0x2e7359(0x313)],this[_0x2e7359(0x198)],this[_0x2e7359(0x1a6)],this[_0x2e7359(0x449)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x2e7359(0x321));}const {changeset:_0x4fc3d2,pendingMutations:_0x43c870}=_0x499a3a;this['_handler'][_0x2e7359(0x2cc)](_0x4fc3d2);const _0x518bd7=_0x43c870['length']?this[_0x2e7359(0x439)]['createInstance'](exports[_0x2e7359(0x1be)],this[_0x2e7359(0x313)],this[_0x2e7359(0x40a)],_0x4fc3d2,_0x43c870,this[_0x2e7359(0x242)],void 0x0):this[_0x2e7359(0x439)]['createInstance'](exports[_0x2e7359(0x3e5)],this['unitID'],this[_0x2e7359(0x40a)],_0x4fc3d2,this[_0x2e7359(0x242)]);_0x518bd7[_0x2e7359(0x35e)](),this['_handler'][_0x2e7359(0x4cd)](this,_0x518bd7);},_0x5d5a31);}[_0x53c16e(0x448)](){var _0x148430;const _0x11c313=this['_configService']['getConfig'](Y);return(_0x148430=_0x11c313==null?void 0x0:_0x11c313['sendChangesetTimeout'])!=null?_0x148430:jt;}[_0x53c16e(0x34c)](){var _0x1ded42=_0x53c16e;throw new Error(_0x1ded42(0x193));}['_clearScheduledTask'](){var _0x4c8661=_0x53c16e;this[_0x4c8661(0x367)]!=null&&(clearTimeout(this[_0x4c8661(0x367)]),this[_0x4c8661(0x367)]=null);}['_onConflict'](_0xa9f8cb){var _0x371232=_0x53c16e;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x371232(0x3dc)],this['unitID'],this[_0x371232(0x40a)],null,this['_pendingMutations'],this[_0x371232(0x242)],_0xa9f8cb);}},exports[_0x53c16e(0x2eb)]=ce([w(0x4,a['Inject'](a[_0x53c16e(0x1f2)])),w(0x5,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0x6,a[_0x53c16e(0x4cc)](exports[_0x53c16e(0x177)])),w(0x7,a[_0x53c16e(0x219)]),w(0x8,a['ICommandService']),w(0x9,a[_0x53c16e(0x357)]),w(0xa,g['ITransformService']),w(0xb,a[_0x53c16e(0x4a5)]),w(0xc,a[_0x53c16e(0x1d8)]),w(0xd,a[_0x53c16e(0x244)](z))],exports['PendingState']),exports[_0x53c16e(0x3e5)]=class extends he{constructor(_0x2f4cb1,_0x1d3e75,_0x1dba62,_0x11e125,_0x6b6f93,_0x3d653a,_0x36a239,_0x553397,_0x3d1da5,_0x24280b,_0xd1467c){var _0x487771=_0x53c16e;super(_0x2f4cb1,_0x1d3e75,_0x1dba62,[],_0x11e125,_0x36a239,_0x24280b,_0x3d653a,_0xd1467c),P(this,'status',_0x487771(0x1aa)),P(this,_0x487771(0x3e9),0x0),P(this,_0x487771(0x2ef)),P(this,_0x487771(0x2bd)),(this['_injector']=_0x6b6f93,this['_logService']=_0x553397,this[_0x487771(0x28c)]=_0x3d1da5);}[_0x53c16e(0x1ea)](_0x2a5158){var _0x2fe8b2=_0x53c16e;this[_0x2fe8b2(0x3ee)]();const _0x197877=this['_injector'][_0x2fe8b2(0x46f)](exports[_0x2fe8b2(0x1be)],this[_0x2fe8b2(0x313)],this[_0x2fe8b2(0x40a)],this[_0x2fe8b2(0x32a)],[_0x2a5158],this[_0x2fe8b2(0x242)],this[_0x2fe8b2(0x2ef)]);return _0x197877[_0x2fe8b2(0x35e)](),_0x197877;}[_0x53c16e(0x3b9)](_0x2d140b){var _0x2d3f46=_0x53c16e;if(this['_checkMissing'](_0x2d140b))return this[_0x2d3f46(0x3ee)](),this[_0x2d3f46(0x439)]['createInstance'](exports[_0x2d3f46(0x374)],this[_0x2d3f46(0x313)],this[_0x2d3f46(0x40a)],this['_awaitingChangeset'],[],null,[_0x2d140b],this[_0x2d3f46(0x242)]);try{const _0x4cc075=this[_0x2d3f46(0x28c)][_0x2d3f46(0x3f7)]([_0x2d140b],[this[_0x2d3f46(0x32a)]],!0x1);if(g[_0x2d3f46(0x35f)](_0x4cc075)){const {c1Prime:_0x411410,c2Prime:_0x170b7b}=_0x4cc075;this['_executeRemoteChangeset'](_0x411410[0x0]),_0x170b7b[0x0]['baseRev']=this[_0x2d3f46(0x1ce)](),this[_0x2d3f46(0x3ee)]();const _0x2e8340=this[_0x2d3f46(0x439)][_0x2d3f46(0x46f)](exports['AwaitingState'],this[_0x2d3f46(0x313)],this[_0x2d3f46(0x40a)],_0x170b7b[0x0],this[_0x2d3f46(0x242)]);return _0x2e8340['_updateLocalCache'](),_0x2e8340;}return this['_onConflict'](!0x1);}catch(_0x3e0d46){return this[_0x2d3f46(0x378)]['error'](_0x3e0d46),this[_0x2d3f46(0x4dc)](!0x1);}}[_0x53c16e(0x447)](_0x2be09b){var _0x55e957=_0x53c16e;this[_0x55e957(0x3ee)]();const _0x2906d2=this[_0x55e957(0x1a6)]['getCurrentRevOfUnit'](this[_0x55e957(0x313)]);if(_0x2be09b[_0x55e957(0x2db)]<_0x2906d2-0x1)return this;if(this[_0x55e957(0x21d)](_0x2be09b))return this[_0x55e957(0x439)][_0x55e957(0x46f)](exports[_0x55e957(0x374)],this[_0x55e957(0x313)],this[_0x55e957(0x40a)],null,[],this[_0x55e957(0x32a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x46c575=this[_0x55e957(0x439)][_0x55e957(0x46f)](exports['SyncedState'],this[_0x55e957(0x313)],this['type'],this[_0x55e957(0x242)]);return _0x46c575[_0x55e957(0x35e)](),_0x46c575;}[_0x53c16e(0x4ba)](_0x627ac9){var _0x25b6dc=_0x53c16e;return this[_0x25b6dc(0x4dc)](!!(_0x627ac9!=null&&_0x627ac9['isPermissionRej']));}[_0x53c16e(0x1a7)](_0x1d169e){var _0x2a0c08=_0x53c16e;return this['_resendTimeout']>Nt?this[_0x2a0c08(0x2e5)]():(this[_0x2a0c08(0x2ef)]=Ot(this[_0x2a0c08(0x3e9)],{'timeout':this[_0x2a0c08(0x3e9)],'reqId':_0x1d169e[_0x2a0c08(0x2b8)]}),this[_0x2a0c08(0x2bd)]=this[_0x2a0c08(0x2ef)][_0x2a0c08(0x3e3)](({reqId:_0x36b315,timeout:_0x4d1db0})=>{var _0x143ac8=_0x2a0c08;this[_0x143ac8(0x284)](_0x36b315,_0x4d1db0);}),this);}[_0x53c16e(0x2e5)](){var _0x543a0c=_0x53c16e;return this[_0x543a0c(0x3ee)](),this[_0x543a0c(0x439)][_0x543a0c(0x46f)](exports[_0x543a0c(0x29a)],this[_0x543a0c(0x313)],this['type'],this[_0x543a0c(0x32a)],[],this[_0x543a0c(0x242)]);}[_0x53c16e(0x486)](){return this;}[_0x53c16e(0x34c)](){var _0xfb305e=_0x53c16e;this[_0xfb305e(0x242)][_0xfb305e(0x2cc)](this[_0xfb305e(0x32a)]);}[_0x53c16e(0x4dc)](_0x576a7b){var _0x3ddb4b=_0x53c16e;return this['_clearScheduledTask'](),this[_0x3ddb4b(0x439)]['createInstance'](exports[_0x3ddb4b(0x3dc)],this['unitID'],this[_0x3ddb4b(0x40a)],this[_0x3ddb4b(0x32a)],[],this[_0x3ddb4b(0x242)],_0x576a7b);}[_0x53c16e(0x284)](_0x2936ac,_0x7acdd6){var _0x4ed56b=_0x53c16e,_0x242e9b;_0x2936ac===((_0x242e9b=this[_0x4ed56b(0x32a)])==null?void 0x0:_0x242e9b[_0x4ed56b(0x2b8)])&&(this[_0x4ed56b(0x34c)](),this[_0x4ed56b(0x3e9)]=_0x7acdd6===0x0?0x3e8:_0x7acdd6*0x2);}[_0x53c16e(0x3ee)](){var _0x4c3f57=_0x53c16e,_0xe74be5;(_0xe74be5=this[_0x4c3f57(0x2bd)])==null||_0xe74be5[_0x4c3f57(0x4dd)](),this[_0x4c3f57(0x3e9)]=0x0;}},exports[_0x53c16e(0x3e5)]=ce([w(0x4,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),w(0x5,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,g[_0x53c16e(0x36b)]),w(0x9,a[_0x53c16e(0x1d8)]),w(0xa,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x3e5)]),exports[_0x53c16e(0x1be)]=class extends he{constructor(_0x50104b,_0xa25fc2,_0x24d03c,_0x1a4ce5,_0xf0a96d,_0x172d34,_0x11cdec,_0x2811ce,_0x32651f,_0x1b8875,_0x15804a,_0x39df7b,_0x222565){var _0x2faf93=_0x53c16e;super(_0x50104b,_0xa25fc2,_0x24d03c,_0x1a4ce5,_0xf0a96d,_0x32651f,_0x39df7b,_0x2811ce,_0x222565),P(this,_0x2faf93(0x3ec),_0x2faf93(0x3a0)),P(this,'_resendTimeout',0x0),P(this,_0x2faf93(0x2ef)),P(this,_0x2faf93(0x2bd)),(this[_0x2faf93(0x439)]=_0x11cdec,this[_0x2faf93(0x378)]=_0x1b8875,this[_0x2faf93(0x28c)]=_0x15804a,this[_0x2faf93(0x173)]=_0x222565,_0x172d34&&(this[_0x2faf93(0x2ef)]=_0x172d34,this[_0x2faf93(0x2bd)]=this[_0x2faf93(0x2ef)][_0x2faf93(0x3e3)](({reqId:_0x2cd00e,timeout:_0x474890})=>{this['_resendWithTimeout'](_0x2cd00e,_0x474890);})));}[_0x53c16e(0x1ea)](_0x4eaa16){var _0xa90735=_0x53c16e;return this[_0xa90735(0x3bc)][_0xa90735(0x23e)](_0x4eaa16),this;}[_0x53c16e(0x3b9)](_0x391d28){var _0x47650c=_0x53c16e;if(this[_0x47650c(0x21d)](_0x391d28))return this[_0x47650c(0x3ee)](),this[_0x47650c(0x439)]['createInstance'](exports[_0x47650c(0x374)],this['unitID'],this['type'],this[_0x47650c(0x32a)],this[_0x47650c(0x3bc)],null,[_0x391d28],this[_0x47650c(0x242)]);try{const _0x142571=this['_transformService']['transformChangesets']([_0x391d28],[this[_0x47650c(0x32a)]],!0x1);if(g[_0x47650c(0x35f)](_0x142571)){const {c1Prime:_0x510031,c2Prime:_0x1919f3}=_0x142571,_0x4f89eb=this['_transformService'][_0x47650c(0x1b5)](_0x510031[0x0],this[_0x47650c(0x3bc)]);if(g[_0x47650c(0x191)](_0x4f89eb)){const {c1Prime:_0x26cc40,m2Prime:_0x4836e4}=_0x4f89eb;return this[_0x47650c(0x431)](_0x26cc40),_0x1919f3[0x0][_0x47650c(0x48b)]=this[_0x47650c(0x1ce)](),this[_0x47650c(0x3ee)](),this[_0x47650c(0x439)][_0x47650c(0x46f)](exports['AwaitingWithPendingState'],this[_0x47650c(0x313)],this[_0x47650c(0x40a)],_0x1919f3[0x0],_0x4836e4,this[_0x47650c(0x242)],void 0x0);}throw _0x4f89eb['error'];}throw _0x142571[_0x47650c(0x245)];}catch(_0x4cc71a){return this[_0x47650c(0x378)][_0x47650c(0x245)](_0x4cc71a),this['_onConflict'](!0x1);}}[_0x53c16e(0x447)](_0x1b8d90){var _0x609ae0=_0x53c16e;if(this[_0x609ae0(0x3ee)](),this[_0x609ae0(0x21d)](_0x1b8d90))return this[_0x609ae0(0x439)]['createInstance'](exports[_0x609ae0(0x374)],this[_0x609ae0(0x313)],this[_0x609ae0(0x40a)],null,this[_0x609ae0(0x3bc)],this[_0x609ae0(0x32a)],[],this[_0x609ae0(0x242)]);this[_0x609ae0(0x3df)]();const _0x2509c2=this[_0x609ae0(0x439)][_0x609ae0(0x46f)](exports[_0x609ae0(0x2eb)],this['unitID'],this[_0x609ae0(0x40a)],this['_pendingMutations'],this[_0x609ae0(0x242)]);return _0x2509c2[_0x609ae0(0x345)](),_0x2509c2[_0x609ae0(0x35e)](),_0x2509c2;}[_0x53c16e(0x4ba)](_0x33d33e){var _0x227133=_0x53c16e;return this[_0x227133(0x4dc)](!!(_0x33d33e!=null&&_0x33d33e[_0x227133(0x2cb)]));}[_0x53c16e(0x1a7)](_0x110cfe){var _0x49636e=_0x53c16e;return this[_0x49636e(0x3e9)]>Nt?this[_0x49636e(0x2e5)]():(this[_0x49636e(0x2ef)]=Ot(this[_0x49636e(0x3e9)],{'timeout':this[_0x49636e(0x3e9)],'reqId':_0x110cfe['reqId']}),this[_0x49636e(0x2bd)]=this[_0x49636e(0x2ef)][_0x49636e(0x3e3)](({reqId:_0x11f872,timeout:_0x3ad9e3})=>{var _0x155729=_0x49636e;this[_0x155729(0x284)](_0x11f872,_0x3ad9e3);}),this);}[_0x53c16e(0x2e5)](){var _0x2ecf97=_0x53c16e;return this[_0x2ecf97(0x3ee)](),this[_0x2ecf97(0x439)][_0x2ecf97(0x46f)](exports[_0x2ecf97(0x29a)],this[_0x2ecf97(0x313)],this[_0x2ecf97(0x40a)],this[_0x2ecf97(0x32a)],this[_0x2ecf97(0x3bc)],this[_0x2ecf97(0x242)]);}[_0x53c16e(0x486)](){return this;}[_0x53c16e(0x34c)](){var _0x31c2ca=_0x53c16e;this[_0x31c2ca(0x242)][_0x31c2ca(0x2cc)](this[_0x31c2ca(0x32a)]);}['_onConflict'](_0x386eae){var _0x31befe=_0x53c16e;return this['_clearScheduledTask'](),this[_0x31befe(0x439)]['createInstance'](exports[_0x31befe(0x3dc)],this[_0x31befe(0x313)],this[_0x31befe(0x40a)],null,this[_0x31befe(0x3bc)],this[_0x31befe(0x242)],_0x386eae);}[_0x53c16e(0x284)](_0x909dee,_0x28efc2){var _0x51d679=_0x53c16e,_0x21f536;_0x909dee===((_0x21f536=this[_0x51d679(0x32a)])==null?void 0x0:_0x21f536[_0x51d679(0x2b8)])&&(this[_0x51d679(0x34c)](),this[_0x51d679(0x3e9)]=_0x28efc2===0x0?0x3e8:_0x28efc2*0x2);}['_clearScheduledTask'](){var _0x5770e9=_0x53c16e,_0x1b4476;(_0x1b4476=this[_0x5770e9(0x2bd)])==null||_0x1b4476[_0x5770e9(0x4dd)](),this[_0x5770e9(0x3e9)]=0x0;}},exports[_0x53c16e(0x1be)]=ce([w(0x6,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),w(0x7,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0x8,a['ICommandService']),w(0x9,a[_0x53c16e(0x219)]),w(0xa,g['ITransformService']),w(0xb,a[_0x53c16e(0x1d8)]),w(0xc,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x1be)]),exports[_0x53c16e(0x3dc)]=class extends he{constructor(_0x2dfb8b,_0x526864,_0x298619,_0xd9bcc3,_0x8f499a,_0x1e50f5=!0x1,_0x37024e,_0x58f7f3,_0x682a72,_0x4131fc,_0x13681c,_0x48910d,_0x3e7fa3){var _0x3cbd84=_0x53c16e;super(_0x2dfb8b,_0x526864,_0x298619,_0xd9bcc3,_0x8f499a,_0x58f7f3,_0x682a72,_0x4131fc,_0x3e7fa3),P(this,_0x3cbd84(0x3ec),_0x3cbd84(0x227)),(this[_0x3cbd84(0x394)]=_0x1e50f5,this[_0x3cbd84(0x430)]=_0x37024e,this[_0x3cbd84(0x2b1)]=_0x13681c,this['_collaborationUIEventService']=_0x48910d,this['localCacheService']=_0x3e7fa3,this[_0x3cbd84(0x240)](),this['_clearLocalCache'](),this[_0x3cbd84(0x2bf)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x53c16e(0x447)](){return this;}[_0x53c16e(0x4ba)](){return this;}[_0x53c16e(0x1a7)](){return this;}[_0x53c16e(0x2e5)](){return this;}[_0x53c16e(0x486)](){return this;}[_0x53c16e(0x34c)](){var _0x23374=_0x53c16e;throw new Error(_0x23374(0x2a9));}['_clearLocalCache'](){var _0x11b5fd=_0x53c16e,_0x509240;(_0x509240=this[_0x11b5fd(0x358)])==null||_0x509240[_0x11b5fd(0x35b)](this[_0x11b5fd(0x313)],this[_0x11b5fd(0x40a)],null,[]);}[_0x53c16e(0x240)](){var _0x1b085f=_0x53c16e;this[_0x1b085f(0x394)]?this[_0x1b085f(0x3b0)][_0x1b085f(0x4d2)]({'id':Q[_0x1b085f(0x208)]}):this[_0x1b085f(0x3b0)][_0x1b085f(0x4d2)]({'id':Q['CONFLICT']});}[_0x53c16e(0x2bf)](){var _0x27ef9a=_0x53c16e;this['_permissionService'][_0x27ef9a(0x389)](new Z[(_0x27ef9a(0x2ee))](this['unitID'])['id'],!0x1);}},exports[_0x53c16e(0x3dc)]=ce([w(0x6,a['Inject'](a[_0x53c16e(0x3ba)])),w(0x7,a['ICommandService']),w(0x8,a[_0x53c16e(0x1d8)]),w(0x9,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0xa,a[_0x53c16e(0x4cc)](a['LocaleService'])),w(0xb,a[_0x53c16e(0x4cc)](te)),w(0xc,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x3dc)]),exports['OfflineState']=class extends he{constructor(_0x2381b7,_0x540d91,_0x3c5070,_0x5980fe,_0x4c92d0,_0xbd7034,_0x228c1e,_0x417739,_0x29e757,_0x5bb32e){var _0x29825d=_0x53c16e;super(_0x2381b7,_0x540d91,_0x3c5070,_0x5980fe,_0x4c92d0,_0x417739,_0x29e757,_0x228c1e,_0x5bb32e),P(this,_0x29825d(0x3ec),_0x29825d(0x295)),this[_0x29825d(0x439)]=_0xbd7034;}[_0x53c16e(0x1ea)](_0x2ea7b3){var _0x3159b0=_0x53c16e;return this['_pendingMutations'][_0x3159b0(0x23e)](_0x2ea7b3),this[_0x3159b0(0x35e)](),this;}[_0x53c16e(0x3b9)](_0xe6946f){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x53c16e(0x447)](){var _0x2af48b=_0x53c16e;throw new Error(_0x2af48b(0x314));}[_0x53c16e(0x4ba)](){var _0x2a1e07=_0x53c16e;throw new Error(_0x2a1e07(0x24f));}[_0x53c16e(0x1a7)](){return this;}[_0x53c16e(0x2e5)](){return this;}[_0x53c16e(0x486)](){var _0x280683=_0x53c16e;const {_injector:_0x21516f,_pendingMutations:_0x2ea694,_awaitingChangeset:_0x5262b2,unitID:_0x1d3fbd,_handler:_0x566a40,type:_0x4766d0}=this,_0x47465d=Dt(_0x21516f,_0x1d3fbd,_0x4766d0,_0x5262b2,_0x2ea694,_0x566a40);return _0x47465d instanceof exports[_0x280683(0x2eb)]?_0x47465d[_0x280683(0x345)]():(_0x47465d instanceof exports[_0x280683(0x1be)]||_0x47465d instanceof exports['AwaitingState'])&&_0x47465d['resend'](),_0x47465d;}['resend'](){var _0x4ba434=_0x53c16e;throw new Error(_0x4ba434(0x19f));}},exports[_0x53c16e(0x29a)]=ce([w(0x5,a[_0x53c16e(0x4cc)](a['Injector'])),w(0x6,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),w(0x7,a['ICommandService']),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x53c16e(0x244)](z))],exports['OfflineState']),exports[_0x53c16e(0x374)]=class extends he{constructor(_0x139bc2,_0x5f4a5c,_0x21c459,_0x4a03e8,_0x1b5db5,_0x2de93c,_0x27e8a7,_0x16a52d,_0x37479b,_0x4c862b,_0x1ccb5d,_0x21a363,_0x4ab0d1,_0x4894e6){var _0x575bab=_0x53c16e;super(_0x139bc2,_0x5f4a5c,_0x21c459,_0x4a03e8,_0x27e8a7,_0x1ccb5d,_0x21a363,_0x37479b,_0x4894e6),P(this,_0x575bab(0x3ec),_0x575bab(0x18d)),(this[_0x575bab(0x4a8)]=_0x1b5db5,this[_0x575bab(0x47b)]=_0x2de93c,this[_0x575bab(0x439)]=_0x16a52d,this[_0x575bab(0x378)]=_0x4c862b,this[_0x575bab(0x28c)]=_0x4ab0d1,this['localCacheService']=_0x4894e6);}[_0x53c16e(0x23b)](_0x5c46d5){var _0x3c55db=_0x53c16e;try{const _0x3262b=[..._0x5c46d5,...this[_0x3c55db(0x47b)]],_0x4146f0=[this[_0x3c55db(0x32a)]||this[_0x3c55db(0x4a8)]][_0x3c55db(0x277)](_0x6829a0=>!!_0x6829a0);let _0x209492,_0xb22c48;if(_0x4146f0[_0x3c55db(0x17a)]){const _0x8fc108=this[_0x3c55db(0x28c)][_0x3c55db(0x3f7)](_0x3262b,_0x4146f0,!0x1);if(!g['isTransformChangesetsSuccess'](_0x8fc108))throw _0x8fc108['error'];_0x209492=_0x8fc108[_0x3c55db(0x414)],_0xb22c48=_0x8fc108[_0x3c55db(0x21c)];}else _0x209492=_0x3262b,_0xb22c48=[];let _0x5e6a17=this[_0x3c55db(0x3bc)];_0x209492[_0x3c55db(0x183)](_0x31847d=>{var _0x4c082f=_0x3c55db;let _0x27f502;if(_0x5e6a17[_0x4c082f(0x17a)]){const _0x3d2cb4=this[_0x4c082f(0x28c)][_0x4c082f(0x1b5)](_0x31847d,_0x5e6a17);if(!g[_0x4c082f(0x191)](_0x3d2cb4))throw _0x3d2cb4[_0x4c082f(0x245)];_0x27f502=_0x3d2cb4[_0x4c082f(0x414)],_0x5e6a17=_0x3d2cb4[_0x4c082f(0x43d)];}else _0x27f502=_0x31847d;this[_0x4c082f(0x431)](_0x27f502);}),this[_0x3c55db(0x4a8)]&&this['_incrementRevisionNumber'](),this[_0x3c55db(0x32a)]&&_0xb22c48[_0x3c55db(0x17a)]&&(_0xb22c48[0x0][_0x3c55db(0x48b)]=this[_0x3c55db(0x1ce)]());let _0x2b90fa;if(this[_0x3c55db(0x32a)]&&_0x5e6a17['length']!==0x0)_0x2b90fa=this[_0x3c55db(0x439)][_0x3c55db(0x46f)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x3c55db(0x40a)],_0xb22c48[0x0],_0x5e6a17,this[_0x3c55db(0x242)],void 0x0);else{if(this[_0x3c55db(0x32a)]&&_0x5e6a17[_0x3c55db(0x17a)]===0x0)_0xb22c48[0x0][_0x3c55db(0x48b)]=this['_getCurrentRevision'](),_0x2b90fa=this[_0x3c55db(0x439)][_0x3c55db(0x46f)](exports[_0x3c55db(0x3e5)],this[_0x3c55db(0x313)],this[_0x3c55db(0x40a)],_0xb22c48[0x0],this[_0x3c55db(0x242)]);else{if(_0x5e6a17['length']!==0x0){const _0x194092=this[_0x3c55db(0x439)]['createInstance'](exports['PendingState'],this[_0x3c55db(0x313)],this[_0x3c55db(0x40a)],_0x5e6a17,this[_0x3c55db(0x242)]);_0x194092[_0x3c55db(0x345)](),_0x2b90fa=_0x194092;}else _0x2b90fa=this[_0x3c55db(0x439)][_0x3c55db(0x46f)](exports[_0x3c55db(0x167)],this[_0x3c55db(0x313)],this['type'],this[_0x3c55db(0x242)]);}}return _0x2b90fa[_0x3c55db(0x35e)](),_0x2b90fa;}catch(_0x3f9692){return this[_0x3c55db(0x378)][_0x3c55db(0x245)](_0x3c55db(0x1e3),_0x3c55db(0x38a),_0x3f9692),this[_0x3c55db(0x439)][_0x3c55db(0x46f)](exports[_0x3c55db(0x3dc)],this[_0x3c55db(0x313)],this['type'],this[_0x3c55db(0x32a)],this[_0x3c55db(0x3bc)],this[_0x3c55db(0x242)],!0x1);}}[_0x53c16e(0x34c)](){var _0x1b9e6f=_0x53c16e;throw new Error(_0x1b9e6f(0x2f4));}[_0x53c16e(0x1ea)](_0x23dbcb){return this['_pendingMutations']['push'](_0x23dbcb),this;}[_0x53c16e(0x3b9)](_0x71f69a){var _0x4b70d0=_0x53c16e;return this[_0x4b70d0(0x47b)][_0x4b70d0(0x23e)](_0x71f69a),this;}[_0x53c16e(0x447)](_0x532749){var _0x5ab94e=_0x53c16e;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x5ab94e(0x32a)]=null,this;throw new Error(_0x5ab94e(0x1fa));}[_0x53c16e(0x4ba)](_0x37fcc0){var _0x54fb9c=_0x53c16e;return this['_onConflict'](!!(_0x37fcc0!=null&&_0x37fcc0[_0x54fb9c(0x2cb)]));}[_0x53c16e(0x1a7)](){return this;}['toggleOffline'](){var _0x520ac1=_0x53c16e;return this[_0x520ac1(0x439)][_0x520ac1(0x46f)](exports[_0x520ac1(0x29a)],this[_0x520ac1(0x313)],this[_0x520ac1(0x40a)],this[_0x520ac1(0x32a)],this[_0x520ac1(0x3bc)],this[_0x520ac1(0x242)]);}[_0x53c16e(0x486)](){return this;}[_0x53c16e(0x4dc)](_0x7d575a){var _0x596f6f=_0x53c16e;return this['_injector'][_0x596f6f(0x46f)](exports[_0x596f6f(0x3dc)],this[_0x596f6f(0x313)],this[_0x596f6f(0x40a)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x596f6f(0x242)],_0x7d575a);}},exports[_0x53c16e(0x374)]=ce([w(0x7,a[_0x53c16e(0x4cc)](a['Injector'])),w(0x8,a[_0x53c16e(0x4cc)](g['RevisionService'])),w(0x9,a[_0x53c16e(0x219)]),w(0xa,a[_0x53c16e(0x32f)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x53c16e(0x36b)]),w(0xd,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x374)]);function Dt(_0x4d22ea,_0x32fe01,_0x22a76d,_0x1af679,_0xcb27e0,_0x261240){var _0x9346e8=_0x53c16e;return _0x1af679&&_0xcb27e0[_0x9346e8(0x17a)]?_0x4d22ea[_0x9346e8(0x46f)](exports[_0x9346e8(0x1be)],_0x32fe01,_0x22a76d,_0x1af679,_0xcb27e0,_0x261240,void 0x0):_0x1af679?_0x4d22ea[_0x9346e8(0x46f)](exports[_0x9346e8(0x3e5)],_0x32fe01,_0x22a76d,_0x1af679,_0x261240):_0xcb27e0[_0x9346e8(0x17a)]?_0x4d22ea[_0x9346e8(0x46f)](exports[_0x9346e8(0x2eb)],_0x32fe01,_0x22a76d,_0xcb27e0,_0x261240):_0x4d22ea[_0x9346e8(0x46f)](exports[_0x9346e8(0x167)],_0x32fe01,_0x22a76d,_0x261240);}var Ci=Object[_0x53c16e(0x419)],Ge=(_0xec7812,_0x58598e,_0xd27a52,_0x532396)=>{var _0x2fef05=_0x53c16e;for(var _0x396460=_0x532396>0x1?void 0x0:_0x532396?Ci(_0x58598e,_0xd27a52):_0x58598e,_0x49363b=_0xec7812[_0x2fef05(0x17a)]-0x1,_0x5147d3;_0x49363b>=0x0;_0x49363b--)(_0x5147d3=_0xec7812[_0x49363b])&&(_0x396460=_0x5147d3(_0x396460)||_0x396460);return _0x396460;},$=(_0x4d41d7,_0x41d0f0)=>(_0xd64aa9,_0x55e4b8)=>_0x41d0f0(_0xd64aa9,_0x55e4b8,_0x4d41d7);exports[_0x53c16e(0x45f)]=class extends a[_0x53c16e(0x49b)]{constructor(_0x44fbbd,_0x25ce7b,_0x3b73c1,_0x5252f7,_0x2ca78c,_0x2642c6,_0x4984c4,_0x5dca6b,_0x34fa0d,_0x7d7c68,_0x3c2b44,_0x271979,_0x292d33){var _0x73e478=_0x53c16e;super(),P(this,_0x73e478(0x1e8),new j[(_0x73e478(0x3d7))](null)),P(this,_0x73e478(0x42f),this['_state$'][_0x73e478(0x3f5)]()),P(this,_0x73e478(0x4ae)),P(this,_0x73e478(0x488),!0x1),P(this,_0x73e478(0x1ef),''),P(this,_0x73e478(0x49e),0x0),P(this,_0x73e478(0x4c7),this['state$']['pipe'](j[_0x73e478(0x417)](_0x31a9d9=>_0x31a9d9?_0x31a9d9[_0x73e478(0x3ec)]:We['OFFLINE']),j['shareReplay'](0x1))),P(this,'_transitionLocked',!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0x73e478(0x313)]=_0x44fbbd,this[_0x73e478(0x468)]=_0x25ce7b,this[_0x73e478(0x188)]=_0x3b73c1,this[_0x73e478(0x439)]=_0x5252f7,this[_0x73e478(0x4ab)]=_0x2ca78c,this[_0x73e478(0x2b1)]=_0x2642c6,this[_0x73e478(0x1a6)]=_0x4984c4,this[_0x73e478(0x296)]=_0x5dca6b,this[_0x73e478(0x378)]=_0x34fa0d,this[_0x73e478(0x386)]=_0x7d7c68,this['_permissionService']=_0x3c2b44,this[_0x73e478(0x218)]=_0x271979,this['_localCacheService']=_0x292d33);}get[_0x53c16e(0x333)](){var _0x33d269=_0x53c16e;return this[_0x33d269(0x4ae)];}async[_0x53c16e(0x1a4)](){var _0x2f6d2c=_0x53c16e;if(this[_0x2f6d2c(0x333)])throw new Error(_0x2f6d2c(0x231));await this[_0x2f6d2c(0x38e)]();}[_0x53c16e(0x2e9)](){var _0x1476ed=_0x53c16e;return this[_0x1476ed(0x488)]=!0x0,a[_0x1476ed(0x29b)](()=>{var _0xfc35b1=_0x1476ed;this[_0xfc35b1(0x488)]=!0x1,this[_0xfc35b1(0x40d)]();});}['onLocalMutation'](_0x62242f){var _0x2d6caa=_0x53c16e;this[_0x2d6caa(0x461)](_0x62242f);}[_0x53c16e(0x41f)](_0x5be1af){var _0x5ea3eb=_0x53c16e;this[_0x5ea3eb(0x4ae)]=_0x5be1af,this[_0x5ea3eb(0x1e8)]['next'](_0x5be1af);}async[_0x53c16e(0x38e)](){var _0x3982e0=_0x53c16e,_0x5ca5cf;this[_0x3982e0(0x41f)](await this['_createInitialState']()),this[_0x3982e0(0x218)]&&((_0x5ca5cf=this[_0x3982e0(0x218)])==null||_0x5ca5cf['editingUnit'](this[_0x3982e0(0x313)]),this[_0x3982e0(0x30d)](this[_0x3982e0(0x218)][_0x3982e0(0x2da)](this[_0x3982e0(0x313)])[_0x3982e0(0x3e3)](_0x1c3aa6=>{var _0x2be8c9=_0x3982e0;this[_0x2be8c9(0x378)][_0x2be8c9(0x19a)](_0x2be8c9(0x426),'editing\x20status\x20changed\x20to',_0x1c3aa6),_0x1c3aa6===Fe[_0x2be8c9(0x2a3)]?(this[_0x2be8c9(0x296)][_0x2be8c9(0x4d2)]({'id':Q['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x2be8c9(0x389)](new Z[(_0x2be8c9(0x2ee))](this['unitID'])['id'],!0x1),this[_0x2be8c9(0x430)][_0x2be8c9(0x39f)](!0x1)):(this[_0x2be8c9(0x430)][_0x2be8c9(0x389)](new Z[(_0x2be8c9(0x2ee))](this[_0x2be8c9(0x313)])['id'],!0x0),this[_0x2be8c9(0x430)]['setShowComponents'](!0x0));})));let _0x59319f=!0x1;return this[_0x3982e0(0x30d)](this['session'][_0x3982e0(0x1ae)][_0x3982e0(0x3e3)](_0x97c852=>{var _0x569cd3=_0x3982e0;_0x97c852===se[_0x569cd3(0x264)]?this['_toggleOnline'](_0x59319f):_0x97c852===se[_0x569cd3(0x334)]&&(_0x59319f=!0x0,this['_toggleOffline']());})),this[_0x3982e0(0x30d)](this[_0x3982e0(0x468)]['event$'][_0x3982e0(0x3e3)](_0x41be33=>{var _0xc2433c=_0x3982e0;try{switch(_0x41be33[_0xc2433c(0x3bd)]){case g[_0xc2433c(0x2ab)]['NEW_CHANGESETS']:{this[_0xc2433c(0x2ad)](g[_0xc2433c(0x4d6)](_0x41be33[_0xc2433c(0x4bf)]));break;}case g['CollaborationEvent'][_0xc2433c(0x484)]:{this['_onRemoteACK'](_0x41be33['data']);break;}case g[_0xc2433c(0x2ab)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case g[_0xc2433c(0x2ab)][_0xc2433c(0x1a8)]:{this[_0xc2433c(0x443)](_0x41be33['data']);break;}case g['CollaborationEvent'][_0xc2433c(0x262)]:{this[_0xc2433c(0x4d4)](_0x41be33[_0xc2433c(0x4bf)]['changesets'][_0xc2433c(0x417)](_0x38ca95=>g[_0xc2433c(0x4d6)](_0x38ca95)));break;}case g[_0xc2433c(0x2ab)][_0xc2433c(0x40c)]:{this[_0xc2433c(0x215)]({'isPermissionRej':!0x0});break;}case g[_0xc2433c(0x2ab)][_0xc2433c(0x2b7)]:break;}}catch(_0x416780){throw console[_0xc2433c(0x245)]('Error\x20on\x20receiving\x20event',_0x416780),_0x416780;}})),this['_state'];}['_unlockTransition'](){var _0x3cbd36=_0x53c16e;this[_0x3cbd36(0x1c0)]=!0x1;}[_0x53c16e(0x3cb)](){var _0x38c126=_0x53c16e;if(this[_0x38c126(0x1c0)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x38c126(0x1c0)]=!0x0;}[_0x53c16e(0x461)](_0x379603){var _0x47ee83=_0x53c16e;this[_0x47ee83(0x3cb)](),this[_0x47ee83(0x41f)](this['_state'][_0x47ee83(0x1ea)](_0x379603)),this[_0x47ee83(0x3fa)]();}[_0x53c16e(0x2ad)](_0x47073f){var _0x1d7d14=_0x53c16e;if(!(_0x47073f[_0x1d7d14(0x2db)]<=this[_0x1d7d14(0x1a6)][_0x1d7d14(0x1ec)](this[_0x1d7d14(0x313)]))){if(this[_0x1d7d14(0x488)]){this['_remoteChangesetQueue']['push'](_0x47073f);return;}this[_0x1d7d14(0x2b0)](_0x47073f);}}['_exhaustRemoteChangesetQueue'](){var _0x5e2571=_0x53c16e;this['_remoteChangesetQueue'][_0x5e2571(0x183)](_0x2f6940=>this[_0x5e2571(0x2b0)](_0x2f6940)),this[_0x5e2571(0x288)]=[];}[_0x53c16e(0x2b0)](_0x2cda54){var _0x4201dc=_0x53c16e;const _0x38ec1e=this[_0x4201dc(0x4ab)][_0x4201dc(0x166)]['fetchThroughInterceptors'](this[_0x4201dc(0x4ab)][_0x4201dc(0x166)][_0x4201dc(0x366)]()[_0x4201dc(0x1a5)])(_0x2cda54[_0x4201dc(0x362)],null)||_0x2cda54[_0x4201dc(0x362)],_0x52ef81={..._0x2cda54,'mutations':_0x38ec1e};this[_0x4201dc(0x3cb)](),this[_0x4201dc(0x41f)](this[_0x4201dc(0x4ae)][_0x4201dc(0x3b9)](_0x52ef81)),this[_0x4201dc(0x3fa)]();}[_0x53c16e(0x34a)](_0x47577c){var _0x40208d=_0x53c16e;this[_0x40208d(0x3cb)](),this[_0x40208d(0x41f)](this[_0x40208d(0x4ae)][_0x40208d(0x447)](_0x47577c)),this[_0x40208d(0x3fa)]();}[_0x53c16e(0x215)](_0x38847c){var _0x24ff3d=_0x53c16e;this[_0x24ff3d(0x3cb)](),this[_0x24ff3d(0x41f)](this[_0x24ff3d(0x4ae)][_0x24ff3d(0x4ba)](_0x38847c)),this['_unlockTransition']();}['_onRemoteRetry'](_0x558930){var _0x3239e2=_0x53c16e;this[_0x3239e2(0x3cb)](),this[_0x3239e2(0x41f)](this[_0x3239e2(0x4ae)]['onRemoteRetry'](_0x558930)),this[_0x3239e2(0x3fa)]();}['_onFetchMissResult'](_0xd403df){var _0x55d5b1=_0x53c16e;if(!(this[_0x55d5b1(0x4ae)]instanceof exports[_0x55d5b1(0x374)]))throw new TypeError(_0x55d5b1(0x4a0));const _0x3dfd86=_0xd403df[_0x55d5b1(0x417)](_0x355ffe=>{var _0x3ddf51=_0x55d5b1;const _0xdd9613=this['_compressMutationService']['interceptor'][_0x3ddf51(0x27c)](this[_0x3ddf51(0x4ab)][_0x3ddf51(0x166)]['getInterceptPoints']()[_0x3ddf51(0x1a5)])(_0x355ffe[_0x3ddf51(0x362)],null)||_0x355ffe['mutations'];return{..._0x355ffe,'mutations':_0xdd9613};});this[_0x55d5b1(0x3cb)](),this['_updateState'](this[_0x55d5b1(0x4ae)][_0x55d5b1(0x23b)](_0x3dfd86)),this[_0x55d5b1(0x3fa)]();}[_0x53c16e(0x31c)](){var _0x3b1dca=_0x53c16e;this[_0x3b1dca(0x3cb)](),this['_updateState'](this[_0x3b1dca(0x4ae)]['toggleOffline']()),this['_unlockTransition']();}[_0x53c16e(0x491)](_0x470f4f=!0x1){var _0x2a218b=_0x53c16e;this[_0x2a218b(0x3cb)](),this['_updateState'](this[_0x2a218b(0x4ae)]['toggleOnline']()),this[_0x2a218b(0x3fa)]();const _0x275664=this[_0x2a218b(0x4ae)];_0x470f4f&&_0x275664 instanceof exports['SyncedState']&&(this[_0x2a218b(0x3cb)](),this[_0x2a218b(0x41f)](_0x275664['fetchMiss']()),this[_0x2a218b(0x3fa)]());}async[_0x53c16e(0x2ca)](){return new Promise(_0x1efc3d=>{var _0xd38b44=_0x4816;this['session'][_0xd38b44(0x1ae)][_0xd38b44(0x2ce)](j['take'](0x1))[_0xd38b44(0x3e3)](async _0x4e539d=>{var _0x80ee6e=_0xd38b44;_0x1efc3d(await this[_0x80ee6e(0x1ed)](_0x4e539d===se[_0x80ee6e(0x264)]));});});}[_0x53c16e(0x2d6)](){var _0x4324f5=_0x53c16e;const _0x1d26a2=this[_0x4324f5(0x313)];return{'onStateChange':(_0x186716,_0x30a7f9)=>{var _0x33f1e1=_0x4324f5;if(_0x186716!==this[_0x33f1e1(0x4ae)])throw new Error(_0x33f1e1(0x4b5)+_0x186716[_0x33f1e1(0x3ec)]+_0x33f1e1(0x217)+_0x30a7f9[_0x33f1e1(0x3ec)]+_0x33f1e1(0x1d9)+this[_0x33f1e1(0x4ae)][_0x33f1e1(0x3ec)]);this[_0x33f1e1(0x41f)](_0x30a7f9);},'onSendChangeset':_0x2f3e53=>{var _0x29c4d6=_0x4324f5;_0x2f3e53['sid']||(_0x2f3e53['sid']=this[_0x29c4d6(0x1ef)],_0x2f3e53[_0x29c4d6(0x2b8)]=++this[_0x29c4d6(0x49e)]);const _0xfd7175={'eventID':g[_0x29c4d6(0x2ab)][_0x29c4d6(0x407)],'data':{'unitID':_0x2f3e53[_0x29c4d6(0x313)],'unitType':this[_0x29c4d6(0x188)],'changeset':_0x2f3e53,'memberID':this[_0x29c4d6(0x468)]['getMemberID']()}};this[_0x29c4d6(0x468)][_0x29c4d6(0x487)](_0xfd7175,this['unitID']);},'onMissingChangesets':({from:_0x3afbad,to:_0x1419e8})=>{var _0x3d89f9=_0x4324f5;this['_logService'][_0x3d89f9(0x19a)](_0x3d89f9(0x426),'fetching\x20missing\x20changesets\x20from\x20'+_0x3afbad+_0x3d89f9(0x19d)+_0x1419e8);const _0x1581ea={'eventID':g[_0x3d89f9(0x2ab)]['FETCH_MISSING'],'data':{'unitID':_0x1d26a2,'unitType':this[_0x3d89f9(0x188)],'from':_0x3afbad,'to':_0x1419e8}};this['session'][_0x3d89f9(0x487)](_0x1581ea,this[_0x3d89f9(0x313)]);}};}async['_createInitialStateImpl'](_0x5a92f5){var _0x514e5e=_0x53c16e,_0x7180c,_0x43a2b8,_0x5cf3b7;const _0x486fd2=await((_0x7180c=this[_0x514e5e(0x358)])==null?void 0x0:_0x7180c[_0x514e5e(0x23c)](this[_0x514e5e(0x313)])),_0x53e4ec=(_0x43a2b8=_0x486fd2==null?void 0x0:_0x486fd2[_0x514e5e(0x362)])!=null?_0x43a2b8:[],_0x31e7a2=(_0x5cf3b7=_0x486fd2==null?void 0x0:_0x486fd2[_0x514e5e(0x1ab)])!=null?_0x5cf3b7:null,_0x364151=!!(_0x31e7a2!=null&&_0x31e7a2[_0x514e5e(0x27a)])&&!!(_0x31e7a2!=null&&_0x31e7a2['reqId']);this['_changesetSessionId']=_0x364151?_0x31e7a2[_0x514e5e(0x27a)]:di(),this[_0x514e5e(0x49e)]=_0x364151?_0x31e7a2[_0x514e5e(0x2b8)]:0x0;const _0x50fa38=this[_0x514e5e(0x313)];try{this[_0x514e5e(0x319)](_0x31e7a2,_0x53e4ec);}catch(_0x424ca4){this['_logService'][_0x514e5e(0x245)](_0x424ca4);}const _0x48a8d3=this[_0x514e5e(0x2d6)]();if(_0x5a92f5){const _0x1ce34c=Dt(this[_0x514e5e(0x439)],_0x50fa38,this[_0x514e5e(0x188)],_0x31e7a2,_0x53e4ec,_0x48a8d3);return _0x1ce34c instanceof exports[_0x514e5e(0x2eb)]?_0x1ce34c[_0x514e5e(0x345)]():(_0x1ce34c instanceof exports[_0x514e5e(0x1be)]||_0x1ce34c instanceof exports[_0x514e5e(0x3e5)])&&_0x1ce34c[_0x514e5e(0x34c)](),_0x1ce34c;}return this[_0x514e5e(0x439)][_0x514e5e(0x46f)](exports[_0x514e5e(0x29a)],_0x50fa38,this['_type'],_0x31e7a2,_0x53e4ec,_0x48a8d3);}[_0x53c16e(0x319)](_0x35375e,_0x3cafab){var _0x334701=_0x53c16e,_0x160b48,_0x33479c;const _0x247ff6=this[_0x334701(0x4ab)][_0x334701(0x166)][_0x334701(0x27c)](this[_0x334701(0x4ab)]['interceptor'][_0x334701(0x366)]()['COMPRESS_MUTATION_APPLY']);(_0x160b48=_0x247ff6((_0x35375e==null?void 0x0:_0x35375e['mutations'])||[],null))==null||_0x160b48[_0x334701(0x183)](_0x225e31=>this[_0x334701(0x386)][_0x334701(0x269)](_0x225e31['id'],_0x225e31[_0x334701(0x222)])),(_0x33479c=_0x247ff6(_0x3cafab||[],null))==null||_0x33479c[_0x334701(0x183)](_0x2051e2=>this['_commandService'][_0x334701(0x269)](_0x2051e2['id'],_0x2051e2[_0x334701(0x222)]));}},exports[_0x53c16e(0x45f)]=Ge([$(0x3,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),$(0x4,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x402)])),$(0x5,a[_0x53c16e(0x4cc)](a['LocaleService'])),$(0x6,a[_0x53c16e(0x4cc)](g['RevisionService'])),$(0x7,a[_0x53c16e(0x4cc)](te)),$(0x8,a['ILogService']),$(0x9,a['ICommandService']),$(0xa,a['IPermissionService']),$(0xb,a[_0x53c16e(0x244)](ve)),$(0xc,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x45f)]),exports[_0x53c16e(0x37b)]=class extends exports[_0x53c16e(0x45f)]{constructor(_0x4a4021,_0x3af5a1,_0x5f2d3e,_0x255d69,_0xecf8c5,_0x698615,_0x369f0b,_0x54ac80,_0xf30137,_0x14aa8f,_0x5af18b,_0x501f40,_0x418b8c){var _0x16e989=_0x53c16e;super(_0x4a4021,_0x5f2d3e,_0x3af5a1,_0x255d69,_0xecf8c5,_0x698615,_0x369f0b,_0x54ac80,_0xf30137,_0x14aa8f,_0x5af18b,_0x501f40,_0x418b8c),P(this,_0x16e989(0x4c5),null),(this[_0x16e989(0x313)]=_0x4a4021,this[_0x16e989(0x40a)]=_0x3af5a1);}['addHandlerCallback'](_0x4ef96e){var _0x2a117c=_0x53c16e;this[_0x2a117c(0x4c5)]=_0x4ef96e;}['dispose'](){var _0x35f356=_0x53c16e;this[_0x35f356(0x4c5)]=null,super[_0x35f356(0x3a4)]();}['_createHandler'](){var _0x74ca02=_0x53c16e;const _0x4e734b=super['_createHandler']();return _0x4e734b[_0x74ca02(0x369)]=_0x1f8f0c=>{var _0x200c4b=_0x74ca02,_0x13252e,_0x1eb24e;return(_0x1eb24e=(_0x13252e=this[_0x200c4b(0x4c5)])==null?void 0x0:_0x13252e[_0x200c4b(0x369)])==null?void 0x0:_0x1eb24e[_0x200c4b(0x2f7)](_0x13252e,_0x1f8f0c);},_0x4e734b[_0x74ca02(0x469)]=_0x4738f1=>{var _0x4c05d8=_0x74ca02,_0x4cc6bf,_0x5cf6c9;return(_0x5cf6c9=(_0x4cc6bf=this[_0x4c05d8(0x4c5)])==null?void 0x0:_0x4cc6bf['onTransformState'])==null?void 0x0:_0x5cf6c9['call'](_0x4cc6bf,_0x4738f1);},_0x4e734b[_0x74ca02(0x1a9)]=_0x567b4d=>{var _0x153e4f=_0x74ca02,_0x54caaf,_0x555a94;return(_0x555a94=(_0x54caaf=this[_0x153e4f(0x4c5)])==null?void 0x0:_0x54caaf['onTransformSelections'])==null?void 0x0:_0x555a94['call'](_0x54caaf,_0x567b4d);},_0x4e734b[_0x74ca02(0x33d)]=_0x52f57a=>{var _0x10a29a=_0x74ca02,_0x27dec8,_0x537296;return(_0x537296=(_0x27dec8=this['_handlerCallback'])==null?void 0x0:_0x27dec8[_0x10a29a(0x33d)])==null?void 0x0:_0x537296[_0x10a29a(0x2f7)](_0x27dec8,_0x52f57a);},_0x4e734b[_0x74ca02(0x33e)]=_0x3d575e=>{var _0x52610c=_0x74ca02,_0x4d8083,_0x1b7281,_0x34eaa5;if(!((_0x4d8083=this[_0x52610c(0x4c5)])!=null&&_0x4d8083[_0x52610c(0x33e)]))throw new Error(_0x52610c(0x1f3));return(_0x34eaa5=(_0x1b7281=this['_handlerCallback'])==null?void 0x0:_0x1b7281[_0x52610c(0x33e)])==null?void 0x0:_0x34eaa5[_0x52610c(0x2f7)](_0x1b7281,_0x3d575e);},_0x4e734b[_0x74ca02(0x3e1)]=_0x4d0227=>{var _0x1d6fb6=_0x74ca02,_0x1a9f30,_0x21328b,_0x1f1653;if(!((_0x1a9f30=this[_0x1d6fb6(0x4c5)])!=null&&_0x1a9f30['onTransformRemoteChangesetByStateCache']))throw new Error(_0x1d6fb6(0x1df));return(_0x1f1653=(_0x21328b=this[_0x1d6fb6(0x4c5)])==null?void 0x0:_0x21328b['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1f1653[_0x1d6fb6(0x2f7)](_0x21328b,_0x4d0227);},_0x4e734b;}async[_0x53c16e(0x38e)](){var _0x1595b2=_0x53c16e;const _0x143e73=await super[_0x1595b2(0x38e)]();return this['disposeWithMe'](this[_0x1595b2(0x386)][_0x1595b2(0x336)]((_0x1f366d,_0x31fe90)=>{var _0x589a89=_0x1595b2;if(_0x1f366d[_0x589a89(0x40a)]!==a[_0x589a89(0x46e)]['MUTATION']||_0x31fe90!=null&&_0x31fe90[_0x589a89(0x43e)]||_0x31fe90!=null&&_0x31fe90[_0x589a89(0x1b8)]||_0x1f366d['id']===ut[_0x589a89(0x256)]['id'])return;const _0x472969=_0x1f366d['params'];if((_0x472969==null?void 0x0:_0x472969[_0x589a89(0x1fd)])!==this[_0x589a89(0x313)])return;const _0x513b9e=_0x1f366d,_0x2ee39f=this['_compressMutationService'][_0x589a89(0x166)][_0x589a89(0x27c)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x589a89(0x27d)])([_0x513b9e],null)||[_0x513b9e];this[_0x589a89(0x461)](_0x2ee39f[0x0]);})),_0x143e73;}},exports[_0x53c16e(0x37b)]=Ge([$(0x3,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),$(0x4,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x402)])),$(0x5,a['Inject'](a[_0x53c16e(0x273)])),$(0x6,a[_0x53c16e(0x4cc)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x53c16e(0x219)]),$(0x9,a[_0x53c16e(0x32f)]),$(0xa,a[_0x53c16e(0x3ba)]),$(0xb,a['Optional'](ve)),$(0xc,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x37b)]),exports['SheetCollaborationEntity']=class extends exports[_0x53c16e(0x45f)]{constructor(_0xdb2634,_0x4d3f53,_0x2da21a,_0x5bd91c,_0x455147,_0x945d44,_0x2e59db,_0x916837,_0xb00092,_0x248084,_0x3f8ed6,_0x2387d7,_0x2f4e45,_0x1fbea0){var _0x3dd3df=_0x53c16e;super(_0xdb2634,_0x2da21a,_0x4d3f53,_0x5bd91c,_0x455147,_0x945d44,_0x2e59db,_0xb00092,_0x248084,_0x3f8ed6,_0x2387d7,_0x2f4e45,_0x1fbea0),this['unitID']=_0xdb2634,this[_0x3dd3df(0x40a)]=_0x4d3f53,this[_0x3dd3df(0x25d)]=_0x916837;}['_createHandler'](){var _0x4b8863=_0x53c16e;const _0x585ddb=super[_0x4b8863(0x2d6)]();return _0x585ddb[_0x4b8863(0x1a9)]=_0x395e10=>this[_0x4b8863(0x25d)]['transformSelections'](_0x395e10),_0x585ddb;}async[_0x53c16e(0x38e)](){var _0x499062=_0x53c16e;const _0x5cd38c=await super['_init']();return this[_0x499062(0x30d)](this[_0x499062(0x386)]['onCommandExecuted']((_0x10c54c,_0x43ed14)=>{var _0x369273=_0x499062;if(_0x10c54c[_0x369273(0x40a)]!==a['CommandType'][_0x369273(0x395)]||_0x43ed14!=null&&_0x43ed14['fromCollab']||_0x43ed14!=null&&_0x43ed14[_0x369273(0x1b8)])return;const _0x5789fe=_0x10c54c['params'];if((_0x5789fe==null?void 0x0:_0x5789fe[_0x369273(0x1fd)])!==this[_0x369273(0x313)])return;const _0x3e021f=_0x10c54c,_0x1d9cf7=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x369273(0x4ab)][_0x369273(0x166)][_0x369273(0x366)]()[_0x369273(0x27d)])([_0x3e021f],null)||[_0x3e021f];this[_0x369273(0x461)](_0x1d9cf7[0x0]);})),_0x5cd38c;}},exports[_0x53c16e(0x36c)]=Ge([$(0x3,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),$(0x4,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x402)])),$(0x5,a['Inject'](a['LocaleService'])),$(0x6,a[_0x53c16e(0x4cc)](g[_0x53c16e(0x46b)])),$(0x7,a[_0x53c16e(0x4cc)](exports[_0x53c16e(0x20e)])),$(0x8,a[_0x53c16e(0x4cc)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x53c16e(0x32f)]),$(0xb,a['IPermissionService']),$(0xc,a[_0x53c16e(0x244)](ve)),$(0xd,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x36c)]);var Ti=Object[_0x53c16e(0x419)],bi=(_0x3ecb1b,_0x87e5f6,_0x186711,_0x5aa250)=>{var _0x2173aa=_0x53c16e;for(var _0x374329=_0x5aa250>0x1?void 0x0:_0x5aa250?Ti(_0x87e5f6,_0x186711):_0x87e5f6,_0x1178ad=_0x3ecb1b[_0x2173aa(0x17a)]-0x1,_0x2c405e;_0x1178ad>=0x0;_0x1178ad--)(_0x2c405e=_0x3ecb1b[_0x1178ad])&&(_0x374329=_0x2c405e(_0x374329)||_0x374329);return _0x374329;},Ae=(_0x49094e,_0x1b302d)=>(_0x4bf651,_0x58ddfe)=>_0x1b302d(_0x4bf651,_0x58ddfe,_0x49094e);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x19b96b,_0x18a958,_0x529815){var _0x33347b=_0x53c16e;super(),P(this,_0x33347b(0x29f),new Map()),P(this,_0x33347b(0x16d),new j['Subject']()),P(this,_0x33347b(0x2fb),this[_0x33347b(0x16d)][_0x33347b(0x3f5)]()),(this[_0x33347b(0x439)]=_0x19b96b,this['_collabSessionService']=_0x18a958,this[_0x33347b(0x198)]=_0x529815,this['_init']());}[_0x53c16e(0x3a4)](){var _0x3bb7f7=_0x53c16e;super[_0x3bb7f7(0x3a4)](),this[_0x3bb7f7(0x29f)][_0x3bb7f7(0x183)](_0x5f3cb3=>_0x5f3cb3[_0x3bb7f7(0x3a4)]()),this[_0x3bb7f7(0x29f)][_0x3bb7f7(0x2bc)]();}[_0x53c16e(0x286)](_0x45d39c){var _0x216182=_0x53c16e,_0x3a90fe;return(_0x3a90fe=this[_0x216182(0x29f)][_0x216182(0x3a5)](_0x45d39c))!=null?_0x3a90fe:null;}[_0x53c16e(0x1fc)](_0x302382){var _0x59e53f=_0x53c16e;const _0x2a6dc6=this[_0x59e53f(0x286)](_0x302382);return _0x2a6dc6?j['of'](_0x2a6dc6):this[_0x59e53f(0x16d)][_0x59e53f(0x2ce)](W[_0x59e53f(0x277)](_0x1bd072=>_0x1bd072[_0x59e53f(0x313)]===_0x302382));}[_0x53c16e(0x30a)](_0x282fd9){var _0x2c06c1=_0x53c16e;return j[_0x2c06c1(0x45a)](this[_0x2c06c1(0x1fc)](_0x282fd9)[_0x2c06c1(0x2ce)](W[_0x2c06c1(0x417)](()=>{})));}[_0x53c16e(0x38e)](){var _0x2123fb=_0x53c16e;this[_0x2123fb(0x198)]['getTypeOfUnitAdded$'](a[_0x2123fb(0x3d0)][_0x2123fb(0x1d6)])[_0x2123fb(0x2ce)](j[_0x2123fb(0x433)](this[_0x2123fb(0x4d1)]),W[_0x2123fb(0x3f9)](0x10))['subscribe'](async _0x38b727=>{var _0x59f831=_0x2123fb;const _0x3f8ad8=_0x38b727[_0x59f831(0x341)](),_0x373441=await this[_0x59f831(0x4b2)](_0x3f8ad8,X[_0x59f831(0x1d6)]);this['_entities'][_0x59f831(0x37e)](_0x3f8ad8,_0x373441);}),this[_0x2123fb(0x198)]['getTypeOfUnitAdded$'](a[_0x2123fb(0x3d0)][_0x2123fb(0x39c)])[_0x2123fb(0x2ce)](j[_0x2123fb(0x433)](this[_0x2123fb(0x4d1)]),W[_0x2123fb(0x3f9)](0x10))[_0x2123fb(0x2ce)](W[_0x2123fb(0x277)](_0x2149b1=>!_0x2149b1['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5e9861=>{var _0x291606=_0x2123fb;const _0x563658=_0x5e9861[_0x291606(0x341)](),_0x3eedd1=await this['_startCollaboration'](_0x563658,X['UNIVER_DOC']);this['_entities'][_0x291606(0x37e)](_0x563658,_0x3eedd1);}),j[_0x2123fb(0x432)](this[_0x2123fb(0x198)][_0x2123fb(0x3bb)](a[_0x2123fb(0x3d0)][_0x2123fb(0x1d6)]),this[_0x2123fb(0x198)][_0x2123fb(0x3bb)](a[_0x2123fb(0x3d0)][_0x2123fb(0x39c)]))[_0x2123fb(0x2ce)](j[_0x2123fb(0x433)](this[_0x2123fb(0x4d1)]))['subscribe'](_0x587452=>{var _0xef2ed7=_0x2123fb;const _0x2c2fca=_0x587452[_0xef2ed7(0x341)](),_0x92587=this[_0xef2ed7(0x29f)][_0xef2ed7(0x3a5)](_0x2c2fca);_0x92587&&(_0x92587[_0xef2ed7(0x3a4)](),this['_entities'][_0xef2ed7(0x3fe)](_0x2c2fca));});}async[_0x53c16e(0x4b2)](_0x478acf,_0x49083a){var _0x1eb3a1=_0x53c16e;const _0x2ebfbe=await this[_0x1eb3a1(0x390)][_0x1eb3a1(0x44c)](_0x478acf),_0x4ba732=this[_0x1eb3a1(0x439)]['createInstance'](this['_getCtorByUniverType'](_0x49083a),_0x478acf,_0x49083a,_0x2ebfbe);return await _0x4ba732[_0x1eb3a1(0x1a4)](),this[_0x1eb3a1(0x16d)][_0x1eb3a1(0x165)](_0x4ba732),_0x4ba732;}[_0x53c16e(0x2e8)](_0x323521){var _0x26f75b=_0x53c16e;switch(_0x323521){case X[_0x26f75b(0x39c)]:return exports[_0x26f75b(0x37b)];case X['UNIVER_SHEET']:return exports[_0x26f75b(0x36c)];default:throw new Error(_0x26f75b(0x32e)+_0x323521);}}},exports[_0x53c16e(0x482)]=bi([Ae(0x0,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),Ae(0x1,a[_0x53c16e(0x4cc)](exports['CollaborationSessionService'])),Ae(0x2,a[_0x53c16e(0x4a5)])],exports[_0x53c16e(0x482)]);var Ri=Object['getOwnPropertyDescriptor'],yi=(_0x423675,_0x4d6cb9,_0x8f0084,_0x325f53)=>{for(var _0x340d7a=_0x325f53>0x1?void 0x0:_0x325f53?Ri(_0x4d6cb9,_0x8f0084):_0x4d6cb9,_0x165917=_0x423675['length']-0x1,_0x220da8;_0x165917>=0x0;_0x165917--)(_0x220da8=_0x423675[_0x165917])&&(_0x340d7a=_0x220da8(_0x340d7a)||_0x340d7a);return _0x340d7a;},Je=(_0x129605,_0x157f7f)=>(_0x3810c4,_0x29d6de)=>_0x157f7f(_0x3810c4,_0x29d6de,_0x129605);function _0x4816(_0x2c1434,_0x40ecf0){var _0xcc54b4=_0xcc54();return _0x4816=function(_0x4816b3,_0x59038a){_0x4816b3=_0x4816b3-0x163;var _0x52e3a0=_0xcc54b4[_0x4816b3];return _0x52e3a0;},_0x4816(_0x2c1434,_0x40ecf0);}const Oi='DEFAULT_FILE_NAME',Ni=_0x53c16e(0x438);let He=class extends a[_0x53c16e(0x1d4)]{constructor(_0x59ecc1,_0x5578b5){var _0x1f020=_0x53c16e;super(),this[_0x1f020(0x198)]=_0x59ecc1,this[_0x1f020(0x2d9)]=_0x5578b5,this[_0x1f020(0x38e)]();}['_init'](){var _0x2281e2=_0x53c16e;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x2281e2(0x3e3)](()=>{var _0x35099d=_0x2281e2,_0x140733;const _0x4814c4=this[_0x35099d(0x198)][_0x35099d(0x440)]();let _0x40bb67=(_0x140733=this['_configService']['getConfig'](Oi))!=null?_0x140733:Ni;_0x4814c4 instanceof a[_0x35099d(0x203)]&&(_0x40bb67=_0x4814c4['name']),document[_0x35099d(0x48a)]=_0x40bb67;}));}};He=yi([Je(0x0,a[_0x53c16e(0x4a5)]),Je(0x1,a[_0x53c16e(0x357)])],He);var Di=Object['getOwnPropertyDescriptor'],Ui=(_0x529e02,_0x205f32,_0x4a1b48,_0x405c5f)=>{var _0x1a07ee=_0x53c16e;for(var _0x4dbbad=_0x405c5f>0x1?void 0x0:_0x405c5f?Di(_0x205f32,_0x4a1b48):_0x205f32,_0x295f78=_0x529e02[_0x1a07ee(0x17a)]-0x1,_0x40f42f;_0x295f78>=0x0;_0x295f78--)(_0x40f42f=_0x529e02[_0x295f78])&&(_0x4dbbad=_0x40f42f(_0x4dbbad)||_0x4dbbad);return _0x4dbbad;},we=(_0x492a86,_0x1b4949)=>(_0x1d9871,_0x120053)=>_0x1b4949(_0x1d9871,_0x120053,_0x492a86);let Oe=class{constructor(_0x423240,_0x4ad522,_0x209e3a){var _0x1fd399=_0x53c16e;this['_configService']=_0x423240,this[_0x1fd399(0x209)]=_0x4ad522,this['localeService']=_0x209e3a,this[_0x1fd399(0x1a4)]();}[_0x53c16e(0x1a4)](){var _0x30d223=_0x53c16e;this[_0x30d223(0x209)][_0x30d223(0x2aa)]({'priority':0x1,'interceptor':(_0x49a055,_0x59253b)=>_0x59253b(_0x49a055)[_0x30d223(0x2ce)](j[_0x30d223(0x421)](async _0x723bb9=>{var _0x5e0731=_0x30d223;const _0x2cf262=_0x723bb9;if(_0x2cf262[_0x5e0731(0x3ec)]===0x191){if(typeof window>'u')throw new Error(_0x5e0731(0x454));if(window[_0x5e0731(0x416)](this['localeService']['t'](_0x5e0731(0x3a8)))){const _0x2d8c73=window[_0x5e0731(0x35d)](window[_0x5e0731(0x4ac)][_0x5e0731(0x239)]);window[_0x5e0731(0x4ac)][_0x5e0731(0x239)]=this[_0x5e0731(0x49d)]()+'?url='+_0x2d8c73;}}return _0x2cf262;}))});}[_0x53c16e(0x49d)](){var _0x336415=_0x53c16e,_0x1c9b5c,_0x49ac14;const _0x5b4256=this[_0x336415(0x2d9)][_0x336415(0x4cb)](Et),_0x273a3f=this['_configService'][_0x336415(0x4cb)](Y);return(_0x49ac14=(_0x1c9b5c=_0x273a3f==null?void 0x0:_0x273a3f[_0x336415(0x302)])!=null?_0x1c9b5c:_0x5b4256)!=null?_0x49ac14:Yt;}};Oe=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x53c16e(0x4cc)](q[_0x53c16e(0x359)])),we(0x2,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x273)]))],Oe);var Pi=Object['getOwnPropertyDescriptor'],Ai=(_0x2a63f5,_0x1d4b3b,_0x208886,_0x2a6121)=>{var _0x1576b4=_0x53c16e;for(var _0x1c5e2f=_0x2a6121>0x1?void 0x0:_0x2a6121?Pi(_0x1d4b3b,_0x208886):_0x1d4b3b,_0x3e6800=_0x2a63f5[_0x1576b4(0x17a)]-0x1,_0x58effd;_0x3e6800>=0x0;_0x3e6800--)(_0x58effd=_0x2a63f5[_0x3e6800])&&(_0x1c5e2f=_0x58effd(_0x1c5e2f)||_0x1c5e2f);return _0x1c5e2f;},Xe=(_0x53d54e,_0x498c42)=>(_0x541052,_0x40e9eb)=>_0x498c42(_0x541052,_0x40e9eb,_0x53d54e);const Ve=_0x53c16e(0x343),wi=_0x53c16e(0x450);exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x32d3e1,_0x3be02d){var _0x25c07c=_0x53c16e;super(),this['_HTTPService']=_0x32d3e1,this['_configService']=_0x3be02d,this[_0x25c07c(0x196)]();}[_0x53c16e(0x196)](){var _0x5755eb=_0x53c16e;const _0x39042e=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x5755eb(0x344)]({'isMatch'(_0xf7410b){var _0x277112=_0x5755eb,_0x467b2c;if(_0xf7410b[_0x277112(0x3c9)]===_0x277112(0x1c3)&&((_0x467b2c=_0xf7410b[_0x277112(0x22d)])!=null&&_0x467b2c['body'])){const {objectID:_0xd78390,objectType:_0x417ddf}=_0xf7410b[_0x277112(0x22d)][_0x277112(0x2e6)]||{};if(!_0xd78390||_0x417ddf===void 0x0)return!0x1;const _0xf744fd=_0x39042e[_0x277112(0x268)]()+'/'+_0x417ddf+'/object/'+_0xd78390+_0x277112(0x200);if(_0xf7410b['url']===_0xf744fd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2f0b6a){var _0x35053f=_0x5755eb,_0x2149c3;return(_0x2149c3=_0x2f0b6a[_0x35053f(0x22d)])==null?void 0x0:_0x2149c3[_0x35053f(0x2e6)];},'mergeParamsToRequest'(_0x4565fe,_0xe74327){var _0x4ebdb1=_0x5755eb;const _0x380d8f=_0x39042e[_0x4ebdb1(0x268)]()+'/-/object/-/batch_allowed',_0x44bb1d=_0x4565fe[_0x4ebdb1(0x3c1)]((_0x5d18b0,_0x13a3b4)=>{var _0x3282db=_0x4ebdb1;const {unitID:_0x524c4a,objectID:_0x304991,objectType:_0xe6896c,actions:_0x2c9a43}=_0x13a3b4;return _0x5d18b0[_0x524c4a]||(_0x5d18b0[_0x524c4a]={}),_0x5d18b0[_0x524c4a][_0x304991]||(_0x5d18b0[_0x524c4a][_0x304991]={'objectID':_0x304991,'objectType':_0xe6896c,'actions':[]}),_0x5d18b0[_0x524c4a][_0x304991][_0x3282db(0x170)][_0x3282db(0x23e)](..._0x2c9a43),_0x5d18b0;},{}),_0x47b9d0=[];for(const _0x359b1a in _0x44bb1d)for(const _0x5e108b in _0x44bb1d[_0x359b1a]){const {actions:_0xab5f66,objectType:_0x167234}=_0x44bb1d[_0x359b1a][_0x5e108b],_0x1d5917=[...new Set(_0xab5f66)];_0x47b9d0[_0x4ebdb1(0x23e)]({'unitID':_0x359b1a,'objectID':_0x5e108b,'objectType':_0x167234,'actions':_0x1d5917});}return new q[(_0x4ebdb1(0x3c7))](_0x4ebdb1(0x1c3),_0x380d8f,{'headers':_0xe74327[_0x4ebdb1(0x3c8)],'withCredentials':_0xe74327[_0x4ebdb1(0x34b)],'responseType':_0xe74327[_0x4ebdb1(0x3aa)],'body':{'requests':_0x47b9d0}});}},{'distributeResult'(_0x56c121,_0x222f92){var _0x43d9dd=_0x5755eb;const {objectActions:_0x5c488f}=_0x56c121;return _0x222f92[_0x43d9dd(0x417)](_0x1315be=>{var _0x26f1ca=_0x43d9dd;const {unitID:_0x28c3df,objectID:_0x4c7a3a,actions:_0x179ee1}=_0x1315be,_0x499c3a=_0x5c488f[_0x26f1ca(0x43a)](_0xd1b656=>_0xd1b656[_0x26f1ca(0x313)]===_0x28c3df&&_0xd1b656['objectID']===_0x4c7a3a),_0x1187b0=_0x179ee1[_0x26f1ca(0x417)](_0x5484b8=>_0x499c3a==null?void 0x0:_0x499c3a['actions'][_0x26f1ca(0x43a)](_0x382a42=>_0x382a42[_0x26f1ca(0x181)]===_0x5484b8))[_0x26f1ca(0x277)](_0x3d75bd=>!!_0x3d75bd);return{'config':_0x1315be,'result':{'actions':_0x1187b0,'error':_0x56c121[_0x26f1ca(0x245)]}};});}})}));}[_0x53c16e(0x268)](){var _0x5664ce=_0x53c16e,_0x479f3a,_0x462532;const _0x5703c1=this['_configService'][_0x5664ce(0x4cb)](Ve),_0x594a17=this[_0x5664ce(0x2d9)][_0x5664ce(0x4cb)](Y);return(_0x462532=(_0x479f3a=_0x594a17==null?void 0x0:_0x594a17[_0x5664ce(0x4bc)])!=null?_0x479f3a:_0x5703c1)!=null?_0x462532:wi;}async[_0x53c16e(0x3e2)](_0x589083){var _0xc3704c=_0x53c16e;const _0x55c9d5=this[_0xc3704c(0x268)]()+'/'+_0x589083[_0xc3704c(0x39b)]+_0xc3704c(0x350);return(await this[_0xc3704c(0x442)][_0xc3704c(0x2b2)](_0x55c9d5,{'body':_0x589083}))[_0xc3704c(0x2e6)][_0xc3704c(0x271)]||'';}async[_0x53c16e(0x1c8)](_0x265e9b){var _0x27a7dc=_0x53c16e;const _0x32182f=this[_0x27a7dc(0x268)]()+_0x27a7dc(0x399);return(await this[_0x27a7dc(0x442)][_0x27a7dc(0x2b2)](_0x32182f,{'body':_0x265e9b}))[_0x27a7dc(0x2e6)][_0x27a7dc(0x370)];}async[_0x53c16e(0x403)](_0x6005e6){var _0x7f2911=_0x53c16e,_0x502121,_0x14fcd3;const _0x320696=this[_0x7f2911(0x268)]()+'/'+_0x6005e6['objectType']+_0x7f2911(0x380)+_0x6005e6[_0x7f2911(0x271)],_0x411074=await this[_0x7f2911(0x442)][_0x7f2911(0x1de)](_0x320696,{'body':_0x6005e6});if(((_0x14fcd3=(_0x502121=_0x411074==null?void 0x0:_0x411074[_0x7f2911(0x2e6)])==null?void 0x0:_0x502121['error'])==null?void 0x0:_0x14fcd3[_0x7f2911(0x324)])!==0x0)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x53c16e(0x1c5)](_0x2ddec7){var _0xa7ea39=_0x53c16e;const _0x4aa6c3=this[_0xa7ea39(0x268)]()+'/'+_0x2ddec7[_0xa7ea39(0x39b)]+_0xa7ea39(0x380)+_0x2ddec7[_0xa7ea39(0x271)]+_0xa7ea39(0x200);return(await this[_0xa7ea39(0x442)][_0xa7ea39(0x2b2)](_0x4aa6c3,{'body':_0x2ddec7}))['body'][_0xa7ea39(0x170)];}async[_0x53c16e(0x180)](_0x1278c0){var _0x1b651d=_0x53c16e;const _0x29f790=this[_0x1b651d(0x268)]()+_0x1b651d(0x45c);return(await this[_0x1b651d(0x442)][_0x1b651d(0x2b2)](_0x29f790,{'body':{'requests':_0x1278c0}}))['body'][_0x1b651d(0x4c6)];}async['listRoles'](_0x521a46){var _0x319bda=_0x53c16e;const _0x3048d6=this[_0x319bda(0x268)]()+'/'+_0x521a46[_0x319bda(0x39b)]+_0x319bda(0x398),_0x1844a1=await this[_0x319bda(0x442)][_0x319bda(0x2b2)](_0x3048d6,{'body':_0x521a46});return{'roles':_0x1844a1['body'][_0x319bda(0x387)],'actions':_0x1844a1['body'][_0x319bda(0x170)]};}async[_0x53c16e(0x328)](_0x26d8b4){var _0x27b3f9=_0x53c16e;const _0x9f7e3d=this['_getAPIPrefixPath']()+_0x27b3f9(0x2f5);await this[_0x27b3f9(0x442)][_0x27b3f9(0x3fe)](_0x9f7e3d,{'params':{'collaboratorID':_0x26d8b4[_0x27b3f9(0x41b)],'objectID':_0x26d8b4['objectID'],'unitID':_0x26d8b4[_0x27b3f9(0x313)]}});}async[_0x53c16e(0x30c)](_0x4168c7){var _0x5b6a1f=_0x53c16e;const _0x139719=this['_getAPIPrefixPath']()+_0x5b6a1f(0x2f5);await this[_0x5b6a1f(0x442)][_0x5b6a1f(0x267)](_0x139719,{'body':_0x4168c7});}async[_0x53c16e(0x38b)](_0x5ac848){var _0x118062=_0x53c16e;const _0x8b591c=this[_0x118062(0x268)]()+_0x118062(0x2f5);await this[_0x118062(0x442)]['post'](_0x8b591c,{'body':_0x5ac848});}async['listCollaborators'](_0x4ee916){var _0x15b571=_0x53c16e;const _0x538733=this[_0x15b571(0x268)]()+_0x15b571(0x2f5);return(await this[_0x15b571(0x442)][_0x15b571(0x3a5)](_0x538733,{'params':{'objectID':_0x4ee916[_0x15b571(0x271)],'unitID':_0x4ee916[_0x15b571(0x313)]}}))['body']['collaborators'];}async['putCollaborators'](_0x59aa82){var _0x1d7ab3=_0x53c16e;const _0xcfc90d=this[_0x1d7ab3(0x268)]()+'/collaborator';await this['_HTTPService'][_0x1d7ab3(0x1de)](_0xcfc90d,{'body':_0x59aa82});}},exports[_0x53c16e(0x44e)]=Ai([Xe(0x0,a['Inject'](q[_0x53c16e(0x359)])),Xe(0x1,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x357)]))],exports[_0x53c16e(0x44e)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x5f3467){var _0x3998bd=_0x53c16e;return _0x5f3467&&_0x5f3467['__esModule']&&Object['prototype'][_0x3998bd(0x3ab)]['call'](_0x5f3467,_0x3998bd(0x423))?_0x5f3467[_0x3998bd(0x423)]:_0x5f3467;}var fe={'exports':{}};function Li(_0xfbf6ed){var _0x2dddff=_0x53c16e;throw new Error(_0x2dddff(0x276)+_0xfbf6ed+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe['exports'],Ze;function ee(){var _0x431052=_0x53c16e;return Ze||(Ze=0x1,function(_0x3ae40c,_0x31044f){(function(_0xc316d7,_0x425516){var _0x5656f5=_0x4816;_0x3ae40c[_0x5656f5(0x168)]=_0x425516();}(Mi,function(){var _0x322cc5=_0x322cc5||function(_0x3e7d9f,_0x26575a){var _0x2f02c1=_0x4816,_0x150527;if(typeof window<'u'&&window['crypto']&&(_0x150527=window[_0x2f02c1(0x33f)]),typeof self<'u'&&self[_0x2f02c1(0x33f)]&&(_0x150527=self[_0x2f02c1(0x33f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x150527=globalThis['crypto']),!_0x150527&&typeof window<'u'&&window[_0x2f02c1(0x3fd)]&&(_0x150527=window[_0x2f02c1(0x3fd)]),!_0x150527&&typeof Le<'u'&&Le[_0x2f02c1(0x33f)]&&(_0x150527=Le[_0x2f02c1(0x33f)]),!_0x150527&&typeof Li==_0x2f02c1(0x21f))try{_0x150527=require(_0x2f02c1(0x33f));}catch{}var _0x45f6c6=function(){var _0x2bc8b6=_0x2f02c1;if(_0x150527){if(typeof _0x150527[_0x2bc8b6(0x2d2)]==_0x2bc8b6(0x21f))try{return _0x150527[_0x2bc8b6(0x2d2)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x150527[_0x2bc8b6(0x363)]==_0x2bc8b6(0x21f))try{return _0x150527[_0x2bc8b6(0x363)](0x4)[_0x2bc8b6(0x4c9)]();}catch{}}throw new Error(_0x2bc8b6(0x3b4));},_0x4ed238=Object[_0x2f02c1(0x3e2)]||(function(){function _0x560b61(){}return function(_0x26523e){var _0x54b6f9;return _0x560b61['prototype']=_0x26523e,_0x54b6f9=new _0x560b61(),_0x560b61['prototype']=null,_0x54b6f9;};}()),_0x4bd442={},_0x586644=_0x4bd442[_0x2f02c1(0x4cf)]={},_0x4b1d88=_0x586644[_0x2f02c1(0x4b7)]=(function(){return{'extend':function(_0x246829){var _0x405f00=_0x4816,_0x4ad8c7=_0x4ed238(this);return _0x246829&&_0x4ad8c7['mixIn'](_0x246829),(!_0x4ad8c7[_0x405f00(0x3ab)](_0x405f00(0x1a4))||this[_0x405f00(0x1a4)]===_0x4ad8c7[_0x405f00(0x1a4)])&&(_0x4ad8c7[_0x405f00(0x1a4)]=function(){var _0x1b1864=_0x405f00;_0x4ad8c7['$super'][_0x1b1864(0x1a4)][_0x1b1864(0x33a)](this,arguments);}),_0x4ad8c7[_0x405f00(0x1a4)]['prototype']=_0x4ad8c7,_0x4ad8c7[_0x405f00(0x2ea)]=this,_0x4ad8c7;},'create':function(){var _0x8171ee=_0x4816,_0x594bc1=this[_0x8171ee(0x39a)]();return _0x594bc1[_0x8171ee(0x1a4)]['apply'](_0x594bc1,arguments),_0x594bc1;},'init':function(){},'mixIn':function(_0x20a396){var _0x4932e9=_0x4816;for(var _0x5f0615 in _0x20a396)_0x20a396[_0x4932e9(0x3ab)](_0x5f0615)&&(this[_0x5f0615]=_0x20a396[_0x5f0615]);_0x20a396[_0x4932e9(0x3ab)]('toString')&&(this[_0x4932e9(0x2d0)]=_0x20a396['toString']);},'clone':function(){var _0x47660a=_0x4816;return this[_0x47660a(0x1a4)][_0x47660a(0x38c)][_0x47660a(0x39a)](this);}};}()),_0x29efed=_0x586644[_0x2f02c1(0x2c3)]=_0x4b1d88[_0x2f02c1(0x39a)]({'init':function(_0x3a633c,_0x473b8d){var _0x466016=_0x2f02c1;_0x3a633c=this[_0x466016(0x368)]=_0x3a633c||[],_0x473b8d!=_0x26575a?this[_0x466016(0x4c8)]=_0x473b8d:this['sigBytes']=_0x3a633c[_0x466016(0x17a)]*0x4;},'toString':function(_0x48db46){return(_0x48db46||_0x2c8486)['stringify'](this);},'concat':function(_0x34f9b4){var _0x1b30d4=_0x2f02c1,_0x9d84b4=this[_0x1b30d4(0x368)],_0x1a5902=_0x34f9b4[_0x1b30d4(0x368)],_0x5b3c77=this[_0x1b30d4(0x4c8)],_0x1fde81=_0x34f9b4[_0x1b30d4(0x4c8)];if(this[_0x1b30d4(0x331)](),_0x5b3c77%0x4)for(var _0x126dbc=0x0;_0x126dbc<_0x1fde81;_0x126dbc++){var _0x3034d4=_0x1a5902[_0x126dbc>>>0x2]>>>0x18-_0x126dbc%0x4*0x8&0xff;_0x9d84b4[_0x5b3c77+_0x126dbc>>>0x2]|=_0x3034d4<<0x18-(_0x5b3c77+_0x126dbc)%0x4*0x8;}else{for(var _0x4f359d=0x0;_0x4f359d<_0x1fde81;_0x4f359d+=0x4)_0x9d84b4[_0x5b3c77+_0x4f359d>>>0x2]=_0x1a5902[_0x4f359d>>>0x2];}return this['sigBytes']+=_0x1fde81,this;},'clamp':function(){var _0x4fbbc0=_0x2f02c1,_0x2e05b6=this[_0x4fbbc0(0x368)],_0x4eb9ea=this[_0x4fbbc0(0x4c8)];_0x2e05b6[_0x4eb9ea>>>0x2]&=0xffffffff<<0x20-_0x4eb9ea%0x4*0x8,_0x2e05b6[_0x4fbbc0(0x17a)]=_0x3e7d9f[_0x4fbbc0(0x477)](_0x4eb9ea/0x4);},'clone':function(){var _0x2196fa=_0x2f02c1,_0x550ecb=_0x4b1d88[_0x2196fa(0x462)][_0x2196fa(0x2f7)](this);return _0x550ecb[_0x2196fa(0x368)]=this['words'][_0x2196fa(0x467)](0x0),_0x550ecb;},'random':function(_0x3470dd){var _0x193155=_0x2f02c1;for(var _0x49f5e6=[],_0xff75be=0x0;_0xff75be<_0x3470dd;_0xff75be+=0x4)_0x49f5e6[_0x193155(0x23e)](_0x45f6c6());return new _0x29efed[(_0x193155(0x1a4))](_0x49f5e6,_0x3470dd);}}),_0x47d4b6=_0x4bd442[_0x2f02c1(0x204)]={},_0x2c8486=_0x47d4b6[_0x2f02c1(0x460)]={'stringify':function(_0x2d286b){var _0x46b471=_0x2f02c1;for(var _0x2cfc44=_0x2d286b[_0x46b471(0x368)],_0x4131ff=_0x2d286b[_0x46b471(0x4c8)],_0x45310e=[],_0x1d581d=0x0;_0x1d581d<_0x4131ff;_0x1d581d++){var _0x3a723d=_0x2cfc44[_0x1d581d>>>0x2]>>>0x18-_0x1d581d%0x4*0x8&0xff;_0x45310e[_0x46b471(0x23e)]((_0x3a723d>>>0x4)['toString'](0x10)),_0x45310e['push']((_0x3a723d&0xf)['toString'](0x10));}return _0x45310e[_0x46b471(0x342)]('');},'parse':function(_0x331b09){var _0x2c9fbd=_0x2f02c1;for(var _0x49e3dc=_0x331b09[_0x2c9fbd(0x17a)],_0x2bd132=[],_0x13b139=0x0;_0x13b139<_0x49e3dc;_0x13b139+=0x2)_0x2bd132[_0x13b139>>>0x3]|=parseInt(_0x331b09['substr'](_0x13b139,0x2),0x10)<<0x18-_0x13b139%0x8*0x4;return new _0x29efed[(_0x2c9fbd(0x1a4))](_0x2bd132,_0x49e3dc/0x2);}},_0x5bc799=_0x47d4b6['Latin1']={'stringify':function(_0x3ac0e5){var _0x413866=_0x2f02c1;for(var _0x3259a7=_0x3ac0e5[_0x413866(0x368)],_0xd09d6c=_0x3ac0e5[_0x413866(0x4c8)],_0x762a8=[],_0xbf5e9e=0x0;_0xbf5e9e<_0xd09d6c;_0xbf5e9e++){var _0x10a909=_0x3259a7[_0xbf5e9e>>>0x2]>>>0x18-_0xbf5e9e%0x4*0x8&0xff;_0x762a8['push'](String[_0x413866(0x4c1)](_0x10a909));}return _0x762a8[_0x413866(0x342)]('');},'parse':function(_0x1e1b5f){var _0x454357=_0x2f02c1;for(var _0x41aaff=_0x1e1b5f[_0x454357(0x17a)],_0x9becd1=[],_0x469882=0x0;_0x469882<_0x41aaff;_0x469882++)_0x9becd1[_0x469882>>>0x2]|=(_0x1e1b5f[_0x454357(0x2c5)](_0x469882)&0xff)<<0x18-_0x469882%0x4*0x8;return new _0x29efed[(_0x454357(0x1a4))](_0x9becd1,_0x41aaff);}},_0xc658dc=_0x47d4b6[_0x2f02c1(0x48c)]={'stringify':function(_0x32a80d){var _0xefe65a=_0x2f02c1;try{return decodeURIComponent(escape(_0x5bc799[_0xefe65a(0x21a)](_0x32a80d)));}catch{throw new Error(_0xefe65a(0x1b9));}},'parse':function(_0x20081e){var _0x4cd5aa=_0x2f02c1;return _0x5bc799[_0x4cd5aa(0x381)](unescape(encodeURIComponent(_0x20081e)));}},_0x5d9664=_0x586644[_0x2f02c1(0x3a9)]=_0x4b1d88[_0x2f02c1(0x39a)]({'reset':function(){var _0x36eb3b=_0x2f02c1;this['_data']=new _0x29efed[(_0x36eb3b(0x1a4))](),this['_nDataBytes']=0x0;},'_append':function(_0x116d4d){var _0x3902c7=_0x2f02c1;typeof _0x116d4d==_0x3902c7(0x308)&&(_0x116d4d=_0xc658dc[_0x3902c7(0x381)](_0x116d4d)),this[_0x3902c7(0x1f8)][_0x3902c7(0x377)](_0x116d4d),this[_0x3902c7(0x278)]+=_0x116d4d[_0x3902c7(0x4c8)];},'_process':function(_0x56d1b9){var _0x357a34=_0x2f02c1,_0x2fe0fb,_0x203544=this[_0x357a34(0x1f8)],_0x559ba6=_0x203544[_0x357a34(0x368)],_0x367192=_0x203544[_0x357a34(0x4c8)],_0xadb629=this[_0x357a34(0x353)],_0x6f42da=_0xadb629*0x4,_0x10de67=_0x367192/_0x6f42da;_0x56d1b9?_0x10de67=_0x3e7d9f[_0x357a34(0x477)](_0x10de67):_0x10de67=_0x3e7d9f[_0x357a34(0x47e)]((_0x10de67|0x0)-this['_minBufferSize'],0x0);var _0xb816aa=_0x10de67*_0xadb629,_0x19dc1f=_0x3e7d9f[_0x357a34(0x25c)](_0xb816aa*0x4,_0x367192);if(_0xb816aa){for(var _0x3b9b9c=0x0;_0x3b9b9c<_0xb816aa;_0x3b9b9c+=_0xadb629)this['_doProcessBlock'](_0x559ba6,_0x3b9b9c);_0x2fe0fb=_0x559ba6[_0x357a34(0x330)](0x0,_0xb816aa),_0x203544['sigBytes']-=_0x19dc1f;}return new _0x29efed['init'](_0x2fe0fb,_0x19dc1f);},'clone':function(){var _0x22a7ca=_0x2f02c1,_0x75ef48=_0x4b1d88[_0x22a7ca(0x462)][_0x22a7ca(0x2f7)](this);return _0x75ef48['_data']=this[_0x22a7ca(0x1f8)][_0x22a7ca(0x462)](),_0x75ef48;},'_minBufferSize':0x0});_0x586644[_0x2f02c1(0x2a6)]=_0x5d9664[_0x2f02c1(0x39a)]({'cfg':_0x4b1d88['extend'](),'init':function(_0x3e8e7f){var _0x266247=_0x2f02c1;this[_0x266247(0x3d2)]=this[_0x266247(0x3d2)][_0x266247(0x39a)](_0x3e8e7f),this[_0x266247(0x429)]();},'reset':function(){var _0x58a92f=_0x2f02c1;_0x5d9664[_0x58a92f(0x429)]['call'](this),this[_0x58a92f(0x258)]();},'update':function(_0x25a56d){var _0x4e2d49=_0x2f02c1;return this[_0x4e2d49(0x2c1)](_0x25a56d),this[_0x4e2d49(0x3da)](),this;},'finalize':function(_0x1c6e4a){var _0x1734d2=_0x2f02c1;_0x1c6e4a&&this[_0x1734d2(0x2c1)](_0x1c6e4a);var _0x44a560=this[_0x1734d2(0x481)]();return _0x44a560;},'blockSize':0x10,'_createHelper':function(_0x199b7c){return function(_0x2b5a07,_0xf74def){var _0x2678ba=_0x4816;return new _0x199b7c[(_0x2678ba(0x1a4))](_0xf74def)[_0x2678ba(0x478)](_0x2b5a07);};},'_createHmacHelper':function(_0xf43e38){return function(_0x463d35,_0x3c0b8e){var _0x3a6e9e=_0x4816;return new _0x4030ac[(_0x3a6e9e(0x3ed))][(_0x3a6e9e(0x1a4))](_0xf43e38,_0x3c0b8e)[_0x3a6e9e(0x478)](_0x463d35);};}});var _0x4030ac=_0x4bd442[_0x2f02c1(0x392)]={};return _0x4bd442;}(Math);return _0x322cc5;}));}(pe)),pe[_0x431052(0x168)];}var ge={'exports':{}},xi=ge[_0x53c16e(0x168)],Qe;function Ut(){var _0x244829=_0x53c16e;return Qe||(Qe=0x1,function(_0x1eceab,_0x504f15){(function(_0x3ff4a1,_0x1fcb10){var _0x4900ad=_0x4816;_0x1eceab[_0x4900ad(0x168)]=_0x1fcb10(ee());}(xi,function(_0x43a90a){var _0xc1acb2=_0x4816;return(function(){var _0x3545ba=_0x4816,_0x45c460=_0x43a90a,_0x3ae6ed=_0x45c460['lib'],_0x2ef3b7=_0x3ae6ed[_0x3545ba(0x2c3)],_0xdac3ee=_0x45c460[_0x3545ba(0x204)];_0xdac3ee[_0x3545ba(0x283)]={'stringify':function(_0x8b5f91){var _0x47c064=_0x3545ba,_0x540cc2=_0x8b5f91[_0x47c064(0x368)],_0x501f82=_0x8b5f91[_0x47c064(0x4c8)],_0x4e426d=this[_0x47c064(0x2d3)];_0x8b5f91[_0x47c064(0x331)]();for(var _0x75376=[],_0x559e5b=0x0;_0x559e5b<_0x501f82;_0x559e5b+=0x3)for(var _0x419ba9=_0x540cc2[_0x559e5b>>>0x2]>>>0x18-_0x559e5b%0x4*0x8&0xff,_0x4bec16=_0x540cc2[_0x559e5b+0x1>>>0x2]>>>0x18-(_0x559e5b+0x1)%0x4*0x8&0xff,_0x1852ec=_0x540cc2[_0x559e5b+0x2>>>0x2]>>>0x18-(_0x559e5b+0x2)%0x4*0x8&0xff,_0x1a2d3d=_0x419ba9<<0x10|_0x4bec16<<0x8|_0x1852ec,_0x5ba44d=0x0;_0x5ba44d<0x4&&_0x559e5b+_0x5ba44d*0.75<_0x501f82;_0x5ba44d++)_0x75376['push'](_0x4e426d['charAt'](_0x1a2d3d>>>0x6*(0x3-_0x5ba44d)&0x3f));var _0x49c554=_0x4e426d['charAt'](0x40);if(_0x49c554){for(;_0x75376[_0x47c064(0x17a)]%0x4;)_0x75376[_0x47c064(0x23e)](_0x49c554);}return _0x75376[_0x47c064(0x342)]('');},'parse':function(_0x3777da){var _0x44d3d6=_0x3545ba,_0x10b600=_0x3777da[_0x44d3d6(0x17a)],_0x3cb252=this['_map'],_0x2b67b8=this[_0x44d3d6(0x3a2)];if(!_0x2b67b8){_0x2b67b8=this['_reverseMap']=[];for(var _0x43b616=0x0;_0x43b616<_0x3cb252[_0x44d3d6(0x17a)];_0x43b616++)_0x2b67b8[_0x3cb252['charCodeAt'](_0x43b616)]=_0x43b616;}var _0x25276d=_0x3cb252[_0x44d3d6(0x2be)](0x40);if(_0x25276d){var _0x51ba96=_0x3777da[_0x44d3d6(0x1d5)](_0x25276d);_0x51ba96!==-0x1&&(_0x10b600=_0x51ba96);}return _0x57f1ec(_0x3777da,_0x10b600,_0x2b67b8);},'_map':_0x3545ba(0x213)};function _0x57f1ec(_0x2b6353,_0x1f1b68,_0x21e6ce){var _0x4a0b2f=_0x3545ba;for(var _0x358c2a=[],_0x3fa7fd=0x0,_0x12d882=0x0;_0x12d882<_0x1f1b68;_0x12d882++)if(_0x12d882%0x4){var _0x6f5ef4=_0x21e6ce[_0x2b6353['charCodeAt'](_0x12d882-0x1)]<<_0x12d882%0x4*0x2,_0x41372c=_0x21e6ce[_0x2b6353[_0x4a0b2f(0x2c5)](_0x12d882)]>>>0x6-_0x12d882%0x4*0x2,_0x1d1c50=_0x6f5ef4|_0x41372c;_0x358c2a[_0x3fa7fd>>>0x2]|=_0x1d1c50<<0x18-_0x3fa7fd%0x4*0x8,_0x3fa7fd++;}return _0x2ef3b7['create'](_0x358c2a,_0x3fa7fd);}}()),_0x43a90a['enc'][_0xc1acb2(0x283)];}));}(ge)),ge[_0x244829(0x168)];}var me={'exports':{}},ki=me[_0x53c16e(0x168)],et;function Hi(){var _0x482bef=_0x53c16e;return et||(et=0x1,function(_0x21e499,_0x2c2326){(function(_0x584279,_0x2a8269){var _0x174781=_0x4816;_0x21e499[_0x174781(0x168)]=_0x2a8269(ee());}(ki,function(_0x5505dd){var _0x3f6c2c=_0x4816;return function(_0xd7f29){var _0x5e3886=_0x4816,_0x223325=_0x5505dd,_0x319ce4=_0x223325[_0x5e3886(0x4cf)],_0x4f1851=_0x319ce4[_0x5e3886(0x2c3)],_0x5f2885=_0x319ce4[_0x5e3886(0x2a6)],_0x30bc3f=_0x223325[_0x5e3886(0x392)],_0x54c49e=[];(function(){var _0x716497=_0x5e3886;for(var _0x10f13e=0x0;_0x10f13e<0x40;_0x10f13e++)_0x54c49e[_0x10f13e]=_0xd7f29[_0x716497(0x31f)](_0xd7f29['sin'](_0x10f13e+0x1))*0x100000000|0x0;}());var _0x258f67=_0x30bc3f[_0x5e3886(0x230)]=_0x5f2885[_0x5e3886(0x39a)]({'_doReset':function(){var _0x15e698=_0x5e3886;this[_0x15e698(0x190)]=new _0x4f1851['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xcd8dd6,_0x12105e){for(var _0x514142=0x0;_0x514142<0x10;_0x514142++){var _0x464e0a=_0x12105e+_0x514142,_0x34cad7=_0xcd8dd6[_0x464e0a];_0xcd8dd6[_0x464e0a]=(_0x34cad7<<0x8|_0x34cad7>>>0x18)&0xff00ff|(_0x34cad7<<0x18|_0x34cad7>>>0x8)&0xff00ff00;}var _0x480997=this['_hash']['words'],_0x1ea998=_0xcd8dd6[_0x12105e+0x0],_0x25bdc7=_0xcd8dd6[_0x12105e+0x1],_0x4c6662=_0xcd8dd6[_0x12105e+0x2],_0x146b6c=_0xcd8dd6[_0x12105e+0x3],_0x1676ba=_0xcd8dd6[_0x12105e+0x4],_0x2d11f4=_0xcd8dd6[_0x12105e+0x5],_0x1345f3=_0xcd8dd6[_0x12105e+0x6],_0x5f084c=_0xcd8dd6[_0x12105e+0x7],_0x12fef0=_0xcd8dd6[_0x12105e+0x8],_0x25c1aa=_0xcd8dd6[_0x12105e+0x9],_0x2013ce=_0xcd8dd6[_0x12105e+0xa],_0x18d810=_0xcd8dd6[_0x12105e+0xb],_0x27e991=_0xcd8dd6[_0x12105e+0xc],_0x4059ee=_0xcd8dd6[_0x12105e+0xd],_0x3f36c4=_0xcd8dd6[_0x12105e+0xe],_0x85f7ae=_0xcd8dd6[_0x12105e+0xf],_0xd400ad=_0x480997[0x0],_0x334b59=_0x480997[0x1],_0x5327f7=_0x480997[0x2],_0x364211=_0x480997[0x3];_0xd400ad=_0x37b101(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x1ea998,0x7,_0x54c49e[0x0]),_0x364211=_0x37b101(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x25bdc7,0xc,_0x54c49e[0x1]),_0x5327f7=_0x37b101(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x4c6662,0x11,_0x54c49e[0x2]),_0x334b59=_0x37b101(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x146b6c,0x16,_0x54c49e[0x3]),_0xd400ad=_0x37b101(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x1676ba,0x7,_0x54c49e[0x4]),_0x364211=_0x37b101(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x2d11f4,0xc,_0x54c49e[0x5]),_0x5327f7=_0x37b101(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x1345f3,0x11,_0x54c49e[0x6]),_0x334b59=_0x37b101(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x5f084c,0x16,_0x54c49e[0x7]),_0xd400ad=_0x37b101(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x12fef0,0x7,_0x54c49e[0x8]),_0x364211=_0x37b101(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x25c1aa,0xc,_0x54c49e[0x9]),_0x5327f7=_0x37b101(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x2013ce,0x11,_0x54c49e[0xa]),_0x334b59=_0x37b101(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x18d810,0x16,_0x54c49e[0xb]),_0xd400ad=_0x37b101(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x27e991,0x7,_0x54c49e[0xc]),_0x364211=_0x37b101(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x4059ee,0xc,_0x54c49e[0xd]),_0x5327f7=_0x37b101(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x3f36c4,0x11,_0x54c49e[0xe]),_0x334b59=_0x37b101(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x85f7ae,0x16,_0x54c49e[0xf]),_0xd400ad=_0x5e3e1e(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x25bdc7,0x5,_0x54c49e[0x10]),_0x364211=_0x5e3e1e(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x1345f3,0x9,_0x54c49e[0x11]),_0x5327f7=_0x5e3e1e(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x18d810,0xe,_0x54c49e[0x12]),_0x334b59=_0x5e3e1e(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x1ea998,0x14,_0x54c49e[0x13]),_0xd400ad=_0x5e3e1e(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x2d11f4,0x5,_0x54c49e[0x14]),_0x364211=_0x5e3e1e(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x2013ce,0x9,_0x54c49e[0x15]),_0x5327f7=_0x5e3e1e(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x85f7ae,0xe,_0x54c49e[0x16]),_0x334b59=_0x5e3e1e(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x1676ba,0x14,_0x54c49e[0x17]),_0xd400ad=_0x5e3e1e(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x25c1aa,0x5,_0x54c49e[0x18]),_0x364211=_0x5e3e1e(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x3f36c4,0x9,_0x54c49e[0x19]),_0x5327f7=_0x5e3e1e(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x146b6c,0xe,_0x54c49e[0x1a]),_0x334b59=_0x5e3e1e(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x12fef0,0x14,_0x54c49e[0x1b]),_0xd400ad=_0x5e3e1e(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x4059ee,0x5,_0x54c49e[0x1c]),_0x364211=_0x5e3e1e(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x4c6662,0x9,_0x54c49e[0x1d]),_0x5327f7=_0x5e3e1e(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x5f084c,0xe,_0x54c49e[0x1e]),_0x334b59=_0x5e3e1e(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x27e991,0x14,_0x54c49e[0x1f]),_0xd400ad=_0x29e768(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x2d11f4,0x4,_0x54c49e[0x20]),_0x364211=_0x29e768(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x12fef0,0xb,_0x54c49e[0x21]),_0x5327f7=_0x29e768(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x18d810,0x10,_0x54c49e[0x22]),_0x334b59=_0x29e768(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x3f36c4,0x17,_0x54c49e[0x23]),_0xd400ad=_0x29e768(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x25bdc7,0x4,_0x54c49e[0x24]),_0x364211=_0x29e768(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x1676ba,0xb,_0x54c49e[0x25]),_0x5327f7=_0x29e768(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x5f084c,0x10,_0x54c49e[0x26]),_0x334b59=_0x29e768(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x2013ce,0x17,_0x54c49e[0x27]),_0xd400ad=_0x29e768(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x4059ee,0x4,_0x54c49e[0x28]),_0x364211=_0x29e768(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x1ea998,0xb,_0x54c49e[0x29]),_0x5327f7=_0x29e768(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x146b6c,0x10,_0x54c49e[0x2a]),_0x334b59=_0x29e768(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x1345f3,0x17,_0x54c49e[0x2b]),_0xd400ad=_0x29e768(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x25c1aa,0x4,_0x54c49e[0x2c]),_0x364211=_0x29e768(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x27e991,0xb,_0x54c49e[0x2d]),_0x5327f7=_0x29e768(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x85f7ae,0x10,_0x54c49e[0x2e]),_0x334b59=_0x29e768(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x4c6662,0x17,_0x54c49e[0x2f]),_0xd400ad=_0x1a9663(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x1ea998,0x6,_0x54c49e[0x30]),_0x364211=_0x1a9663(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x5f084c,0xa,_0x54c49e[0x31]),_0x5327f7=_0x1a9663(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x3f36c4,0xf,_0x54c49e[0x32]),_0x334b59=_0x1a9663(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x2d11f4,0x15,_0x54c49e[0x33]),_0xd400ad=_0x1a9663(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x27e991,0x6,_0x54c49e[0x34]),_0x364211=_0x1a9663(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x146b6c,0xa,_0x54c49e[0x35]),_0x5327f7=_0x1a9663(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x2013ce,0xf,_0x54c49e[0x36]),_0x334b59=_0x1a9663(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x25bdc7,0x15,_0x54c49e[0x37]),_0xd400ad=_0x1a9663(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x12fef0,0x6,_0x54c49e[0x38]),_0x364211=_0x1a9663(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x85f7ae,0xa,_0x54c49e[0x39]),_0x5327f7=_0x1a9663(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x1345f3,0xf,_0x54c49e[0x3a]),_0x334b59=_0x1a9663(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x4059ee,0x15,_0x54c49e[0x3b]),_0xd400ad=_0x1a9663(_0xd400ad,_0x334b59,_0x5327f7,_0x364211,_0x1676ba,0x6,_0x54c49e[0x3c]),_0x364211=_0x1a9663(_0x364211,_0xd400ad,_0x334b59,_0x5327f7,_0x18d810,0xa,_0x54c49e[0x3d]),_0x5327f7=_0x1a9663(_0x5327f7,_0x364211,_0xd400ad,_0x334b59,_0x4c6662,0xf,_0x54c49e[0x3e]),_0x334b59=_0x1a9663(_0x334b59,_0x5327f7,_0x364211,_0xd400ad,_0x25c1aa,0x15,_0x54c49e[0x3f]),_0x480997[0x0]=_0x480997[0x0]+_0xd400ad|0x0,_0x480997[0x1]=_0x480997[0x1]+_0x334b59|0x0,_0x480997[0x2]=_0x480997[0x2]+_0x5327f7|0x0,_0x480997[0x3]=_0x480997[0x3]+_0x364211|0x0;},'_doFinalize':function(){var _0x521853=_0x5e3886,_0x4d3e66=this[_0x521853(0x1f8)],_0x466fce=_0x4d3e66[_0x521853(0x368)],_0x3b9657=this[_0x521853(0x278)]*0x8,_0x305b53=_0x4d3e66['sigBytes']*0x8;_0x466fce[_0x305b53>>>0x5]|=0x80<<0x18-_0x305b53%0x20;var _0x6ca17f=_0xd7f29[_0x521853(0x270)](_0x3b9657/0x100000000),_0x2d1e6e=_0x3b9657;_0x466fce[(_0x305b53+0x40>>>0x9<<0x4)+0xf]=(_0x6ca17f<<0x8|_0x6ca17f>>>0x18)&0xff00ff|(_0x6ca17f<<0x18|_0x6ca17f>>>0x8)&0xff00ff00,_0x466fce[(_0x305b53+0x40>>>0x9<<0x4)+0xe]=(_0x2d1e6e<<0x8|_0x2d1e6e>>>0x18)&0xff00ff|(_0x2d1e6e<<0x18|_0x2d1e6e>>>0x8)&0xff00ff00,_0x4d3e66['sigBytes']=(_0x466fce[_0x521853(0x17a)]+0x1)*0x4,this[_0x521853(0x3da)]();for(var _0x3431df=this[_0x521853(0x190)],_0x2e6f72=_0x3431df[_0x521853(0x368)],_0x471784=0x0;_0x471784<0x4;_0x471784++){var _0x1785df=_0x2e6f72[_0x471784];_0x2e6f72[_0x471784]=(_0x1785df<<0x8|_0x1785df>>>0x18)&0xff00ff|(_0x1785df<<0x18|_0x1785df>>>0x8)&0xff00ff00;}return _0x3431df;},'clone':function(){var _0x3339ec=_0x5e3886,_0x1265e=_0x5f2885[_0x3339ec(0x462)][_0x3339ec(0x2f7)](this);return _0x1265e[_0x3339ec(0x190)]=this[_0x3339ec(0x190)][_0x3339ec(0x462)](),_0x1265e;}});function _0x37b101(_0x5b10ec,_0x5f345e,_0x2dd2fe,_0x22abf3,_0x233fd5,_0x442cd5,_0x1ee8fc){var _0x50bb14=_0x5b10ec+(_0x5f345e&_0x2dd2fe|~_0x5f345e&_0x22abf3)+_0x233fd5+_0x1ee8fc;return(_0x50bb14<<_0x442cd5|_0x50bb14>>>0x20-_0x442cd5)+_0x5f345e;}function _0x5e3e1e(_0x430fd5,_0x4bc6ec,_0x4e849c,_0x40f0d0,_0xddc26a,_0x46a1df,_0x4426a0){var _0x485ea9=_0x430fd5+(_0x4bc6ec&_0x40f0d0|_0x4e849c&~_0x40f0d0)+_0xddc26a+_0x4426a0;return(_0x485ea9<<_0x46a1df|_0x485ea9>>>0x20-_0x46a1df)+_0x4bc6ec;}function _0x29e768(_0x8aaa7a,_0x2aa07d,_0x1cc662,_0x445bc9,_0x8f75e2,_0x182b94,_0x1141c3){var _0x450291=_0x8aaa7a+(_0x2aa07d^_0x1cc662^_0x445bc9)+_0x8f75e2+_0x1141c3;return(_0x450291<<_0x182b94|_0x450291>>>0x20-_0x182b94)+_0x2aa07d;}function _0x1a9663(_0x1eda91,_0x1dff9a,_0x5de852,_0x355f71,_0x543fd3,_0x3833b1,_0x8b8901){var _0x1574f2=_0x1eda91+(_0x5de852^(_0x1dff9a|~_0x355f71))+_0x543fd3+_0x8b8901;return(_0x1574f2<<_0x3833b1|_0x1574f2>>>0x20-_0x3833b1)+_0x1dff9a;}_0x223325[_0x5e3886(0x230)]=_0x5f2885[_0x5e3886(0x315)](_0x258f67),_0x223325[_0x5e3886(0x35c)]=_0x5f2885['_createHmacHelper'](_0x258f67);}(Math),_0x5505dd[_0x3f6c2c(0x230)];}));}(me)),me[_0x482bef(0x168)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x53c16e(0x168)],tt;function $i(){var _0x437d7b=_0x53c16e;return tt||(tt=0x1,function(_0x3881e5,_0x3023ce){(function(_0x195be7,_0x2f1569){var _0x3f6ce6=_0x4816;_0x3881e5[_0x3f6ce6(0x168)]=_0x2f1569(ee());}(ji,function(_0x8257fb){var _0x12e517=_0x4816;return(function(){var _0x3ce232=_0x4816,_0x4afefd=_0x8257fb,_0x5982c9=_0x4afefd[_0x3ce232(0x4cf)],_0x568630=_0x5982c9['WordArray'],_0x16ce97=_0x5982c9[_0x3ce232(0x2a6)],_0x4b5072=_0x4afefd[_0x3ce232(0x392)],_0x5e379e=[],_0x3176bd=_0x4b5072[_0x3ce232(0x185)]=_0x16ce97[_0x3ce232(0x39a)]({'_doReset':function(){var _0x1cb8b6=_0x3ce232;this[_0x1cb8b6(0x190)]=new _0x568630['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x402597,_0x49f888){var _0x2ce3a5=_0x3ce232;for(var _0xd3214b=this['_hash'][_0x2ce3a5(0x368)],_0x2467bc=_0xd3214b[0x0],_0x1d7f24=_0xd3214b[0x1],_0x547c29=_0xd3214b[0x2],_0x8ff27a=_0xd3214b[0x3],_0xa370dd=_0xd3214b[0x4],_0x81cfdc=0x0;_0x81cfdc<0x50;_0x81cfdc++){if(_0x81cfdc<0x10)_0x5e379e[_0x81cfdc]=_0x402597[_0x49f888+_0x81cfdc]|0x0;else{var _0x53c337=_0x5e379e[_0x81cfdc-0x3]^_0x5e379e[_0x81cfdc-0x8]^_0x5e379e[_0x81cfdc-0xe]^_0x5e379e[_0x81cfdc-0x10];_0x5e379e[_0x81cfdc]=_0x53c337<<0x1|_0x53c337>>>0x1f;}var _0x5ccb48=(_0x2467bc<<0x5|_0x2467bc>>>0x1b)+_0xa370dd+_0x5e379e[_0x81cfdc];_0x81cfdc<0x14?_0x5ccb48+=(_0x1d7f24&_0x547c29|~_0x1d7f24&_0x8ff27a)+0x5a827999:_0x81cfdc<0x28?_0x5ccb48+=(_0x1d7f24^_0x547c29^_0x8ff27a)+0x6ed9eba1:_0x81cfdc<0x3c?_0x5ccb48+=(_0x1d7f24&_0x547c29|_0x1d7f24&_0x8ff27a|_0x547c29&_0x8ff27a)-0x70e44324:_0x5ccb48+=(_0x1d7f24^_0x547c29^_0x8ff27a)-0x359d3e2a,_0xa370dd=_0x8ff27a,_0x8ff27a=_0x547c29,_0x547c29=_0x1d7f24<<0x1e|_0x1d7f24>>>0x2,_0x1d7f24=_0x2467bc,_0x2467bc=_0x5ccb48;}_0xd3214b[0x0]=_0xd3214b[0x0]+_0x2467bc|0x0,_0xd3214b[0x1]=_0xd3214b[0x1]+_0x1d7f24|0x0,_0xd3214b[0x2]=_0xd3214b[0x2]+_0x547c29|0x0,_0xd3214b[0x3]=_0xd3214b[0x3]+_0x8ff27a|0x0,_0xd3214b[0x4]=_0xd3214b[0x4]+_0xa370dd|0x0;},'_doFinalize':function(){var _0x1408a1=_0x3ce232,_0x5345e9=this['_data'],_0xc73a88=_0x5345e9[_0x1408a1(0x368)],_0x572279=this[_0x1408a1(0x278)]*0x8,_0x2ecc0f=_0x5345e9[_0x1408a1(0x4c8)]*0x8;return _0xc73a88[_0x2ecc0f>>>0x5]|=0x80<<0x18-_0x2ecc0f%0x20,_0xc73a88[(_0x2ecc0f+0x40>>>0x9<<0x4)+0xe]=Math[_0x1408a1(0x270)](_0x572279/0x100000000),_0xc73a88[(_0x2ecc0f+0x40>>>0x9<<0x4)+0xf]=_0x572279,_0x5345e9['sigBytes']=_0xc73a88[_0x1408a1(0x17a)]*0x4,this[_0x1408a1(0x3da)](),this[_0x1408a1(0x190)];},'clone':function(){var _0x1081c5=_0x3ce232,_0x2257ff=_0x16ce97['clone']['call'](this);return _0x2257ff[_0x1081c5(0x190)]=this['_hash']['clone'](),_0x2257ff;}});_0x4afefd[_0x3ce232(0x185)]=_0x16ce97[_0x3ce232(0x315)](_0x3176bd),_0x4afefd[_0x3ce232(0x396)]=_0x16ce97[_0x3ce232(0x2cd)](_0x3176bd);}()),_0x8257fb[_0x12e517(0x185)];}));}(Ee)),Ee[_0x437d7b(0x168)];}var Ce={'exports':{}},Bi=Ce['exports'],it;function Fi(){var _0x363c7c=_0x53c16e;return it||(it=0x1,function(_0x58512f,_0x1d6e26){(function(_0x406528,_0x324c7c){var _0x52281b=_0x4816;_0x58512f[_0x52281b(0x168)]=_0x324c7c(ee());}(Bi,function(_0x16753c){(function(){var _0x1d413d=_0x4816,_0x26290a=_0x16753c,_0x260292=_0x26290a[_0x1d413d(0x4cf)],_0x3113c2=_0x260292[_0x1d413d(0x4b7)],_0x2cacfa=_0x26290a[_0x1d413d(0x204)],_0x4943b6=_0x2cacfa['Utf8'],_0x3af12d=_0x26290a[_0x1d413d(0x392)];_0x3af12d['HMAC']=_0x3113c2[_0x1d413d(0x39a)]({'init':function(_0x2c132f,_0x2437ea){var _0x21074e=_0x1d413d;_0x2c132f=this[_0x21074e(0x31e)]=new _0x2c132f[(_0x21074e(0x1a4))](),typeof _0x2437ea==_0x21074e(0x308)&&(_0x2437ea=_0x4943b6['parse'](_0x2437ea));var _0x2523b0=_0x2c132f['blockSize'],_0x50e231=_0x2523b0*0x4;_0x2437ea[_0x21074e(0x4c8)]>_0x50e231&&(_0x2437ea=_0x2c132f[_0x21074e(0x478)](_0x2437ea)),_0x2437ea[_0x21074e(0x331)]();for(var _0x3cdda6=this[_0x21074e(0x22a)]=_0x2437ea[_0x21074e(0x462)](),_0x2482db=this[_0x21074e(0x301)]=_0x2437ea[_0x21074e(0x462)](),_0x42dade=_0x3cdda6[_0x21074e(0x368)],_0x2c0270=_0x2482db[_0x21074e(0x368)],_0x5d31b4=0x0;_0x5d31b4<_0x2523b0;_0x5d31b4++)_0x42dade[_0x5d31b4]^=0x5c5c5c5c,_0x2c0270[_0x5d31b4]^=0x36363636;_0x3cdda6['sigBytes']=_0x2482db['sigBytes']=_0x50e231,this['reset']();},'reset':function(){var _0x581c2b=_0x1d413d,_0x4d3db1=this[_0x581c2b(0x31e)];_0x4d3db1[_0x581c2b(0x429)](),_0x4d3db1[_0x581c2b(0x403)](this[_0x581c2b(0x301)]);},'update':function(_0x492dbc){var _0x1deddf=_0x1d413d;return this[_0x1deddf(0x31e)][_0x1deddf(0x403)](_0x492dbc),this;},'finalize':function(_0x1dd6f7){var _0x312200=_0x1d413d,_0x257d53=this[_0x312200(0x31e)],_0x1962e7=_0x257d53[_0x312200(0x478)](_0x1dd6f7);_0x257d53['reset']();var _0x51e388=_0x257d53[_0x312200(0x478)](this['_oKey'][_0x312200(0x462)]()[_0x312200(0x377)](_0x1962e7));return _0x51e388;}});}());}));}(Ce)),Ce[_0x363c7c(0x168)];}var Wi=Ie[_0x53c16e(0x168)],nt;function Pt(){var _0xe1bf5b=_0x53c16e;return nt||(nt=0x1,function(_0x4ef4bf,_0x307ff0){(function(_0x342ad3,_0x2b196f,_0xd6d89d){var _0x4e2538=_0x4816;_0x4ef4bf[_0x4e2538(0x168)]=_0x2b196f(ee(),$i(),Fi());}(Wi,function(_0x59cf93){var _0x9955c0=_0x4816;return(function(){var _0x4ebc3f=_0x4816,_0x2327f7=_0x59cf93,_0x17faa4=_0x2327f7[_0x4ebc3f(0x4cf)],_0x4ab02b=_0x17faa4[_0x4ebc3f(0x4b7)],_0x427ba1=_0x17faa4[_0x4ebc3f(0x2c3)],_0x10a3b9=_0x2327f7[_0x4ebc3f(0x392)],_0x989255=_0x10a3b9[_0x4ebc3f(0x230)],_0x4800de=_0x10a3b9[_0x4ebc3f(0x2c6)]=_0x4ab02b[_0x4ebc3f(0x39a)]({'cfg':_0x4ab02b[_0x4ebc3f(0x39a)]({'keySize':0x80/0x20,'hasher':_0x989255,'iterations':0x1}),'init':function(_0x16e7a0){var _0x56b21c=_0x4ebc3f;this[_0x56b21c(0x3d2)]=this[_0x56b21c(0x3d2)]['extend'](_0x16e7a0);},'compute':function(_0x3c6d44,_0x567369){var _0x7df02=_0x4ebc3f;for(var _0x3445d7,_0x627820=this['cfg'],_0x1a3ae4=_0x627820[_0x7df02(0x2ec)]['create'](),_0x11fdd4=_0x427ba1[_0x7df02(0x3e2)](),_0x4d1900=_0x11fdd4[_0x7df02(0x368)],_0x4a3331=_0x627820[_0x7df02(0x4a6)],_0x1ab2f9=_0x627820[_0x7df02(0x1cf)];_0x4d1900[_0x7df02(0x17a)]<_0x4a3331;){_0x3445d7&&_0x1a3ae4[_0x7df02(0x403)](_0x3445d7),_0x3445d7=_0x1a3ae4[_0x7df02(0x403)](_0x3c6d44)[_0x7df02(0x478)](_0x567369),_0x1a3ae4[_0x7df02(0x429)]();for(var _0x2c34e0=0x1;_0x2c34e0<_0x1ab2f9;_0x2c34e0++)_0x3445d7=_0x1a3ae4['finalize'](_0x3445d7),_0x1a3ae4[_0x7df02(0x429)]();_0x11fdd4[_0x7df02(0x377)](_0x3445d7);}return _0x11fdd4[_0x7df02(0x4c8)]=_0x4a3331*0x4,_0x11fdd4;}});_0x2327f7[_0x4ebc3f(0x2c6)]=function(_0x4bd495,_0x181228,_0x17a3cb){var _0x2f493f=_0x4ebc3f;return _0x4800de['create'](_0x17a3cb)[_0x2f493f(0x18c)](_0x4bd495,_0x181228);};}()),_0x59cf93[_0x9955c0(0x2c6)];}));}(Ie)),Ie[_0xe1bf5b(0x168)];}var Te={'exports':{}},Gi=Te[_0x53c16e(0x168)],rt;function At(){return rt||(rt=0x1,function(_0x1e2f49,_0x109e84){(function(_0x49096b,_0x1d7956,_0x5416ad){_0x1e2f49['exports']=_0x1d7956(ee(),Pt());}(Gi,function(_0xf4c4a5){var _0x4ad490=_0x4816;_0xf4c4a5[_0x4ad490(0x4cf)][_0x4ad490(0x4d0)]||function(_0x4e2779){var _0x56324e=_0x4ad490,_0x5227f3=_0xf4c4a5,_0x3710e0=_0x5227f3['lib'],_0xedf767=_0x3710e0[_0x56324e(0x4b7)],_0x5db97e=_0x3710e0[_0x56324e(0x2c3)],_0x1170bd=_0x3710e0[_0x56324e(0x3a9)],_0x10f38a=_0x5227f3[_0x56324e(0x204)];_0x10f38a[_0x56324e(0x48c)];var _0x15b45e=_0x10f38a[_0x56324e(0x283)],_0x45a0e6=_0x5227f3[_0x56324e(0x392)],_0x5cd9f1=_0x45a0e6[_0x56324e(0x2c6)],_0x43c97f=_0x3710e0['Cipher']=_0x1170bd['extend']({'cfg':_0xedf767[_0x56324e(0x39a)](),'createEncryptor':function(_0x3e9ef9,_0x539bed){var _0x1ad4d3=_0x56324e;return this[_0x1ad4d3(0x3e2)](this[_0x1ad4d3(0x422)],_0x3e9ef9,_0x539bed);},'createDecryptor':function(_0x206898,_0x4c2556){var _0x537080=_0x56324e;return this[_0x537080(0x3e2)](this[_0x537080(0x1d1)],_0x206898,_0x4c2556);},'init':function(_0xdfb622,_0x7e2919,_0x39df28){var _0x4b78ba=_0x56324e;this[_0x4b78ba(0x3d2)]=this[_0x4b78ba(0x3d2)][_0x4b78ba(0x39a)](_0x39df28),this['_xformMode']=_0xdfb622,this['_key']=_0x7e2919,this[_0x4b78ba(0x429)]();},'reset':function(){var _0x493c1f=_0x56324e;_0x1170bd[_0x493c1f(0x429)][_0x493c1f(0x2f7)](this),this[_0x493c1f(0x258)]();},'process':function(_0x29ae0c){var _0x36ec38=_0x56324e;return this[_0x36ec38(0x2c1)](_0x29ae0c),this['_process']();},'finalize':function(_0x534a07){var _0xaa4cf4=_0x56324e;_0x534a07&&this[_0xaa4cf4(0x2c1)](_0x534a07);var _0x2d5d7e=this['_doFinalize']();return _0x2d5d7e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x212da7(_0x260b76){var _0xae7db6=_0x4816;return typeof _0x260b76==_0xae7db6(0x308)?_0xfc7eed:_0x2909c6;}return function(_0x12c837){return{'encrypt':function(_0x45d65b,_0x17c58d,_0x3c5ff9){var _0x476147=_0x4816;return _0x212da7(_0x17c58d)[_0x476147(0x304)](_0x12c837,_0x45d65b,_0x17c58d,_0x3c5ff9);},'decrypt':function(_0x2764fd,_0x34f8cf,_0x34bcd3){return _0x212da7(_0x34f8cf)['decrypt'](_0x12c837,_0x2764fd,_0x34f8cf,_0x34bcd3);}};};}())});_0x3710e0[_0x56324e(0x2c9)]=_0x43c97f[_0x56324e(0x39a)]({'_doFinalize':function(){var _0x369f40=_0x56324e,_0x34301b=this[_0x369f40(0x3da)](!0x0);return _0x34301b;},'blockSize':0x1});var _0x572ede=_0x5227f3['mode']={},_0x80a68c=_0x3710e0[_0x56324e(0x1bf)]=_0xedf767['extend']({'createEncryptor':function(_0x2493f2,_0x3e6c15){var _0x1f0e9a=_0x56324e;return this['Encryptor'][_0x1f0e9a(0x3e2)](_0x2493f2,_0x3e6c15);},'createDecryptor':function(_0x485ada,_0x2203ad){var _0x40aab8=_0x56324e;return this[_0x40aab8(0x3a3)][_0x40aab8(0x3e2)](_0x485ada,_0x2203ad);},'init':function(_0x2584e7,_0x5cca63){var _0x4e3473=_0x56324e;this[_0x4e3473(0x26d)]=_0x2584e7,this['_iv']=_0x5cca63;}}),_0x3509ec=_0x572ede['CBC']=(function(){var _0x214933=_0x56324e,_0x4db847=_0x80a68c[_0x214933(0x39a)]();_0x4db847['Encryptor']=_0x4db847[_0x214933(0x39a)]({'processBlock':function(_0x16221f,_0x515c3f){var _0x12bcee=_0x214933,_0x3d94db=this[_0x12bcee(0x26d)],_0x159258=_0x3d94db['blockSize'];_0x3ee49d['call'](this,_0x16221f,_0x515c3f,_0x159258),_0x3d94db[_0x12bcee(0x189)](_0x16221f,_0x515c3f),this[_0x12bcee(0x1db)]=_0x16221f[_0x12bcee(0x467)](_0x515c3f,_0x515c3f+_0x159258);}}),_0x4db847['Decryptor']=_0x4db847['extend']({'processBlock':function(_0x1b373f,_0x29a80b){var _0x2986a7=_0x214933,_0x2f2ba0=this['_cipher'],_0x5211ff=_0x2f2ba0[_0x2986a7(0x353)],_0x1369a0=_0x1b373f[_0x2986a7(0x467)](_0x29a80b,_0x29a80b+_0x5211ff);_0x2f2ba0[_0x2986a7(0x220)](_0x1b373f,_0x29a80b),_0x3ee49d[_0x2986a7(0x2f7)](this,_0x1b373f,_0x29a80b,_0x5211ff),this[_0x2986a7(0x1db)]=_0x1369a0;}});function _0x3ee49d(_0x3ea728,_0x32f279,_0x3505f2){var _0x39fa4=_0x214933,_0x2b92b3,_0x22388b=this[_0x39fa4(0x2a4)];_0x22388b?(_0x2b92b3=_0x22388b,this[_0x39fa4(0x2a4)]=_0x4e2779):_0x2b92b3=this[_0x39fa4(0x1db)];for(var _0x30f1bf=0x0;_0x30f1bf<_0x3505f2;_0x30f1bf++)_0x3ea728[_0x32f279+_0x30f1bf]^=_0x2b92b3[_0x30f1bf];}return _0x4db847;}()),_0x46441d=_0x5227f3[_0x56324e(0x365)]={},_0x39a483=_0x46441d['Pkcs7']={'pad':function(_0x3a1d0f,_0xc0675b){var _0x2d1e46=_0x56324e;for(var _0x23a88f=_0xc0675b*0x4,_0x3bfc2b=_0x23a88f-_0x3a1d0f[_0x2d1e46(0x4c8)]%_0x23a88f,_0x14c71f=_0x3bfc2b<<0x18|_0x3bfc2b<<0x10|_0x3bfc2b<<0x8|_0x3bfc2b,_0x162f37=[],_0x5f2676=0x0;_0x5f2676<_0x3bfc2b;_0x5f2676+=0x4)_0x162f37[_0x2d1e46(0x23e)](_0x14c71f);var _0x59db84=_0x5db97e[_0x2d1e46(0x3e2)](_0x162f37,_0x3bfc2b);_0x3a1d0f[_0x2d1e46(0x377)](_0x59db84);},'unpad':function(_0x599abc){var _0x31e743=_0x56324e,_0x4eec3f=_0x599abc[_0x31e743(0x368)][_0x599abc['sigBytes']-0x1>>>0x2]&0xff;_0x599abc[_0x31e743(0x4c8)]-=_0x4eec3f;}};_0x3710e0[_0x56324e(0x384)]=_0x43c97f['extend']({'cfg':_0x43c97f[_0x56324e(0x3d2)][_0x56324e(0x39a)]({'mode':_0x3509ec,'padding':_0x39a483}),'reset':function(){var _0x584475=_0x56324e,_0x52ff98;_0x43c97f[_0x584475(0x429)][_0x584475(0x2f7)](this);var _0x368126=this[_0x584475(0x3d2)],_0x263f42=_0x368126['iv'],_0x5d3f6f=_0x368126[_0x584475(0x4d8)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x52ff98=_0x5d3f6f[_0x584475(0x251)]:(_0x52ff98=_0x5d3f6f[_0x584475(0x347)],this[_0x584475(0x1f9)]=0x1),this[_0x584475(0x247)]&&this[_0x584475(0x247)]['__creator']==_0x52ff98?this['_mode'][_0x584475(0x1a4)](this,_0x263f42&&_0x263f42[_0x584475(0x368)]):(this[_0x584475(0x247)]=_0x52ff98[_0x584475(0x2f7)](_0x5d3f6f,this,_0x263f42&&_0x263f42['words']),this[_0x584475(0x247)][_0x584475(0x293)]=_0x52ff98);},'_doProcessBlock':function(_0x26a40c,_0x4887f2){var _0x5f1bf7=_0x56324e;this[_0x5f1bf7(0x247)][_0x5f1bf7(0x379)](_0x26a40c,_0x4887f2);},'_doFinalize':function(){var _0x4dd276=_0x56324e,_0x2f61b0,_0x546705=this[_0x4dd276(0x3d2)][_0x4dd276(0x2ff)];return this[_0x4dd276(0x3ce)]==this[_0x4dd276(0x422)]?(_0x546705[_0x4dd276(0x365)](this['_data'],this[_0x4dd276(0x353)]),_0x2f61b0=this[_0x4dd276(0x3da)](!0x0)):(_0x2f61b0=this['_process'](!0x0),_0x546705[_0x4dd276(0x2a8)](_0x2f61b0)),_0x2f61b0;},'blockSize':0x80/0x20});var _0x12338d=_0x3710e0['CipherParams']=_0xedf767['extend']({'init':function(_0x456b19){var _0x5ce7dc=_0x56324e;this[_0x5ce7dc(0x32c)](_0x456b19);},'toString':function(_0x2f1b14){var _0x3403e9=_0x56324e;return(_0x2f1b14||this[_0x3403e9(0x40f)])[_0x3403e9(0x21a)](this);}}),_0x205189=_0x5227f3[_0x56324e(0x3be)]={},_0x5d8bd6=_0x205189['OpenSSL']={'stringify':function(_0x211ff0){var _0x408866=_0x56324e,_0xbf0fe4,_0x4dc723=_0x211ff0[_0x408866(0x253)],_0xcdb61=_0x211ff0[_0x408866(0x3d3)];return _0xcdb61?_0xbf0fe4=_0x5db97e[_0x408866(0x3e2)]([0x53616c74,0x65645f5f])[_0x408866(0x377)](_0xcdb61)[_0x408866(0x377)](_0x4dc723):_0xbf0fe4=_0x4dc723,_0xbf0fe4[_0x408866(0x2d0)](_0x15b45e);},'parse':function(_0x26f59e){var _0x100a9a=_0x56324e,_0x75fb88,_0x8c90c2=_0x15b45e['parse'](_0x26f59e),_0x3e86f0=_0x8c90c2[_0x100a9a(0x368)];return _0x3e86f0[0x0]==0x53616c74&&_0x3e86f0[0x1]==0x65645f5f&&(_0x75fb88=_0x5db97e[_0x100a9a(0x3e2)](_0x3e86f0['slice'](0x2,0x4)),_0x3e86f0[_0x100a9a(0x330)](0x0,0x4),_0x8c90c2['sigBytes']-=0x10),_0x12338d[_0x100a9a(0x3e2)]({'ciphertext':_0x8c90c2,'salt':_0x75fb88});}},_0x2909c6=_0x3710e0[_0x56324e(0x1fb)]=_0xedf767['extend']({'cfg':_0xedf767[_0x56324e(0x39a)]({'format':_0x5d8bd6}),'encrypt':function(_0x417cad,_0x6ac36d,_0x404a35,_0x3e9b7e){var _0x40aae0=_0x56324e;_0x3e9b7e=this['cfg']['extend'](_0x3e9b7e);var _0x5b4541=_0x417cad[_0x40aae0(0x251)](_0x404a35,_0x3e9b7e),_0x568d5c=_0x5b4541['finalize'](_0x6ac36d),_0x54d5cc=_0x5b4541[_0x40aae0(0x3d2)];return _0x12338d[_0x40aae0(0x3e2)]({'ciphertext':_0x568d5c,'key':_0x404a35,'iv':_0x54d5cc['iv'],'algorithm':_0x417cad,'mode':_0x54d5cc[_0x40aae0(0x4d8)],'padding':_0x54d5cc[_0x40aae0(0x2ff)],'blockSize':_0x417cad[_0x40aae0(0x353)],'formatter':_0x3e9b7e[_0x40aae0(0x3be)]});},'decrypt':function(_0x3cfd0c,_0x57f3b0,_0x4c76e3,_0x4a199d){var _0x1ae728=_0x56324e;_0x4a199d=this[_0x1ae728(0x3d2)][_0x1ae728(0x39a)](_0x4a199d),_0x57f3b0=this['_parse'](_0x57f3b0,_0x4a199d[_0x1ae728(0x3be)]);var _0xdffe6c=_0x3cfd0c[_0x1ae728(0x347)](_0x4c76e3,_0x4a199d)[_0x1ae728(0x478)](_0x57f3b0[_0x1ae728(0x253)]);return _0xdffe6c;},'_parse':function(_0x30a798,_0x5cced2){var _0x35a56b=_0x56324e;return typeof _0x30a798==_0x35a56b(0x308)?_0x5cced2[_0x35a56b(0x381)](_0x30a798,this):_0x30a798;}}),_0x265d14=_0x5227f3[_0x56324e(0x298)]={},_0x403c1c=_0x265d14[_0x56324e(0x44f)]={'execute':function(_0x79d46e,_0x408154,_0x48c6a5,_0x5e8b35,_0x2cd72e){var _0x203639=_0x56324e;if(_0x5e8b35||(_0x5e8b35=_0x5db97e['random'](0x40/0x8)),_0x2cd72e)var _0x2aea76=_0x5cd9f1[_0x203639(0x3e2)]({'keySize':_0x408154+_0x48c6a5,'hasher':_0x2cd72e})[_0x203639(0x18c)](_0x79d46e,_0x5e8b35);else var _0x2aea76=_0x5cd9f1['create']({'keySize':_0x408154+_0x48c6a5})[_0x203639(0x18c)](_0x79d46e,_0x5e8b35);var _0x17e5bc=_0x5db97e[_0x203639(0x3e2)](_0x2aea76[_0x203639(0x368)][_0x203639(0x467)](_0x408154),_0x48c6a5*0x4);return _0x2aea76[_0x203639(0x4c8)]=_0x408154*0x4,_0x12338d[_0x203639(0x3e2)]({'key':_0x2aea76,'iv':_0x17e5bc,'salt':_0x5e8b35});}},_0xfc7eed=_0x3710e0[_0x56324e(0x3e0)]=_0x2909c6[_0x56324e(0x39a)]({'cfg':_0x2909c6[_0x56324e(0x3d2)][_0x56324e(0x39a)]({'kdf':_0x403c1c}),'encrypt':function(_0x46f5c2,_0x286dfe,_0x1d3d4f,_0x2cbf81){var _0x5ba7de=_0x56324e;_0x2cbf81=this[_0x5ba7de(0x3d2)][_0x5ba7de(0x39a)](_0x2cbf81);var _0xbe8c39=_0x2cbf81[_0x5ba7de(0x298)][_0x5ba7de(0x22f)](_0x1d3d4f,_0x46f5c2[_0x5ba7de(0x4a6)],_0x46f5c2[_0x5ba7de(0x2d8)],_0x2cbf81[_0x5ba7de(0x3d3)],_0x2cbf81[_0x5ba7de(0x2ec)]);_0x2cbf81['iv']=_0xbe8c39['iv'];var _0xdfa94=_0x2909c6[_0x5ba7de(0x304)][_0x5ba7de(0x2f7)](this,_0x46f5c2,_0x286dfe,_0xbe8c39[_0x5ba7de(0x290)],_0x2cbf81);return _0xdfa94['mixIn'](_0xbe8c39),_0xdfa94;},'decrypt':function(_0x5f1cfb,_0x4cc7ec,_0x90548f,_0x110ddc){var _0x40823a=_0x56324e;_0x110ddc=this[_0x40823a(0x3d2)][_0x40823a(0x39a)](_0x110ddc),_0x4cc7ec=this['_parse'](_0x4cc7ec,_0x110ddc['format']);var _0x4e4f1b=_0x110ddc['kdf'][_0x40823a(0x22f)](_0x90548f,_0x5f1cfb[_0x40823a(0x4a6)],_0x5f1cfb['ivSize'],_0x4cc7ec[_0x40823a(0x3d3)],_0x110ddc['hasher']);_0x110ddc['iv']=_0x4e4f1b['iv'];var _0x1caccf=_0x2909c6[_0x40823a(0x47c)][_0x40823a(0x2f7)](this,_0x5f1cfb,_0x4cc7ec,_0x4e4f1b[_0x40823a(0x290)],_0x110ddc);return _0x1caccf;}});}();}));}(Te)),Te['exports'];}var Vi=fe[_0x53c16e(0x168)],st;function Ki(){var _0x3d8702=_0x53c16e;return st||(st=0x1,function(_0x342038,_0x2b9804){(function(_0x4691f5,_0x50f070,_0x4013dd){var _0x5125f1=_0x4816;_0x342038[_0x5125f1(0x168)]=_0x50f070(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0x14a966){var _0x47922d=_0x4816;return(function(){var _0x141a57=_0x4816,_0x138e56=_0x14a966,_0x35d5f7=_0x138e56[_0x141a57(0x4cf)],_0x57dc7c=_0x35d5f7['BlockCipher'],_0x6a71c3=_0x138e56[_0x141a57(0x392)],_0x5a5522=[],_0x1853a7=[],_0x12879c=[],_0x29da03=[],_0x2383a2=[],_0x412e50=[],_0x4eb45b=[],_0x4506b0=[],_0x4fe4d7=[],_0x38c682=[];(function(){for(var _0x308081=[],_0x577f1c=0x0;_0x577f1c<0x100;_0x577f1c++)_0x577f1c<0x80?_0x308081[_0x577f1c]=_0x577f1c<<0x1:_0x308081[_0x577f1c]=_0x577f1c<<0x1^0x11b;for(var _0x1df763=0x0,_0x7fffee=0x0,_0x577f1c=0x0;_0x577f1c<0x100;_0x577f1c++){var _0x49d91f=_0x7fffee^_0x7fffee<<0x1^_0x7fffee<<0x2^_0x7fffee<<0x3^_0x7fffee<<0x4;_0x49d91f=_0x49d91f>>>0x8^_0x49d91f&0xff^0x63,_0x5a5522[_0x1df763]=_0x49d91f,_0x1853a7[_0x49d91f]=_0x1df763;var _0x5a4de9=_0x308081[_0x1df763],_0x3ae462=_0x308081[_0x5a4de9],_0x3cdacd=_0x308081[_0x3ae462],_0x22037e=_0x308081[_0x49d91f]*0x101^_0x49d91f*0x1010100;_0x12879c[_0x1df763]=_0x22037e<<0x18|_0x22037e>>>0x8,_0x29da03[_0x1df763]=_0x22037e<<0x10|_0x22037e>>>0x10,_0x2383a2[_0x1df763]=_0x22037e<<0x8|_0x22037e>>>0x18,_0x412e50[_0x1df763]=_0x22037e;var _0x22037e=_0x3cdacd*0x1010101^_0x3ae462*0x10001^_0x5a4de9*0x101^_0x1df763*0x1010100;_0x4eb45b[_0x49d91f]=_0x22037e<<0x18|_0x22037e>>>0x8,_0x4506b0[_0x49d91f]=_0x22037e<<0x10|_0x22037e>>>0x10,_0x4fe4d7[_0x49d91f]=_0x22037e<<0x8|_0x22037e>>>0x18,_0x38c682[_0x49d91f]=_0x22037e,_0x1df763?(_0x1df763=_0x5a4de9^_0x308081[_0x308081[_0x308081[_0x3cdacd^_0x5a4de9]]],_0x7fffee^=_0x308081[_0x308081[_0x7fffee]]):_0x1df763=_0x7fffee=0x1;}}());var _0xf2fa74=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x381f42=_0x6a71c3[_0x141a57(0x361)]=_0x57dc7c[_0x141a57(0x39a)]({'_doReset':function(){var _0x39650c=_0x141a57,_0xca00db;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x39650c(0x2c2)])){for(var _0x3b904e=this[_0x39650c(0x45b)]=this[_0x39650c(0x2c2)],_0x7c207b=_0x3b904e[_0x39650c(0x368)],_0x22def8=_0x3b904e['sigBytes']/0x4,_0xaea7e5=this[_0x39650c(0x266)]=_0x22def8+0x6,_0x1fd487=(_0xaea7e5+0x1)*0x4,_0x347ae0=this[_0x39650c(0x20a)]=[],_0x2c59f2=0x0;_0x2c59f2<_0x1fd487;_0x2c59f2++)_0x2c59f2<_0x22def8?_0x347ae0[_0x2c59f2]=_0x7c207b[_0x2c59f2]:(_0xca00db=_0x347ae0[_0x2c59f2-0x1],_0x2c59f2%_0x22def8?_0x22def8>0x6&&_0x2c59f2%_0x22def8==0x4&&(_0xca00db=_0x5a5522[_0xca00db>>>0x18]<<0x18|_0x5a5522[_0xca00db>>>0x10&0xff]<<0x10|_0x5a5522[_0xca00db>>>0x8&0xff]<<0x8|_0x5a5522[_0xca00db&0xff]):(_0xca00db=_0xca00db<<0x8|_0xca00db>>>0x18,_0xca00db=_0x5a5522[_0xca00db>>>0x18]<<0x18|_0x5a5522[_0xca00db>>>0x10&0xff]<<0x10|_0x5a5522[_0xca00db>>>0x8&0xff]<<0x8|_0x5a5522[_0xca00db&0xff],_0xca00db^=_0xf2fa74[_0x2c59f2/_0x22def8|0x0]<<0x18),_0x347ae0[_0x2c59f2]=_0x347ae0[_0x2c59f2-_0x22def8]^_0xca00db);for(var _0x16e216=this[_0x39650c(0x257)]=[],_0x4e1a7e=0x0;_0x4e1a7e<_0x1fd487;_0x4e1a7e++){var _0x2c59f2=_0x1fd487-_0x4e1a7e;if(_0x4e1a7e%0x4)var _0xca00db=_0x347ae0[_0x2c59f2];else var _0xca00db=_0x347ae0[_0x2c59f2-0x4];_0x4e1a7e<0x4||_0x2c59f2<=0x4?_0x16e216[_0x4e1a7e]=_0xca00db:_0x16e216[_0x4e1a7e]=_0x4eb45b[_0x5a5522[_0xca00db>>>0x18]]^_0x4506b0[_0x5a5522[_0xca00db>>>0x10&0xff]]^_0x4fe4d7[_0x5a5522[_0xca00db>>>0x8&0xff]]^_0x38c682[_0x5a5522[_0xca00db&0xff]];}}},'encryptBlock':function(_0x3f76d5,_0x3d06ba){var _0x2fcb5f=_0x141a57;this[_0x2fcb5f(0x465)](_0x3f76d5,_0x3d06ba,this[_0x2fcb5f(0x20a)],_0x12879c,_0x29da03,_0x2383a2,_0x412e50,_0x5a5522);},'decryptBlock':function(_0x560f37,_0x1c8ca0){var _0x98e40c=_0x141a57,_0x2e2144=_0x560f37[_0x1c8ca0+0x1];_0x560f37[_0x1c8ca0+0x1]=_0x560f37[_0x1c8ca0+0x3],_0x560f37[_0x1c8ca0+0x3]=_0x2e2144,this[_0x98e40c(0x465)](_0x560f37,_0x1c8ca0,this[_0x98e40c(0x257)],_0x4eb45b,_0x4506b0,_0x4fe4d7,_0x38c682,_0x1853a7);var _0x2e2144=_0x560f37[_0x1c8ca0+0x1];_0x560f37[_0x1c8ca0+0x1]=_0x560f37[_0x1c8ca0+0x3],_0x560f37[_0x1c8ca0+0x3]=_0x2e2144;},'_doCryptBlock':function(_0xca40a6,_0x413775,_0x38fd2c,_0x34d131,_0x863190,_0x2a4ea6,_0x23a287,_0x3a371e){var _0x52bde2=_0x141a57;for(var _0x465c0f=this[_0x52bde2(0x266)],_0x2a945c=_0xca40a6[_0x413775]^_0x38fd2c[0x0],_0x14789b=_0xca40a6[_0x413775+0x1]^_0x38fd2c[0x1],_0x3cc698=_0xca40a6[_0x413775+0x2]^_0x38fd2c[0x2],_0x36923c=_0xca40a6[_0x413775+0x3]^_0x38fd2c[0x3],_0xed589e=0x4,_0x2093ce=0x1;_0x2093ce<_0x465c0f;_0x2093ce++){var _0x221ce0=_0x34d131[_0x2a945c>>>0x18]^_0x863190[_0x14789b>>>0x10&0xff]^_0x2a4ea6[_0x3cc698>>>0x8&0xff]^_0x23a287[_0x36923c&0xff]^_0x38fd2c[_0xed589e++],_0x32ee69=_0x34d131[_0x14789b>>>0x18]^_0x863190[_0x3cc698>>>0x10&0xff]^_0x2a4ea6[_0x36923c>>>0x8&0xff]^_0x23a287[_0x2a945c&0xff]^_0x38fd2c[_0xed589e++],_0x1184fd=_0x34d131[_0x3cc698>>>0x18]^_0x863190[_0x36923c>>>0x10&0xff]^_0x2a4ea6[_0x2a945c>>>0x8&0xff]^_0x23a287[_0x14789b&0xff]^_0x38fd2c[_0xed589e++],_0x48bca7=_0x34d131[_0x36923c>>>0x18]^_0x863190[_0x2a945c>>>0x10&0xff]^_0x2a4ea6[_0x14789b>>>0x8&0xff]^_0x23a287[_0x3cc698&0xff]^_0x38fd2c[_0xed589e++];_0x2a945c=_0x221ce0,_0x14789b=_0x32ee69,_0x3cc698=_0x1184fd,_0x36923c=_0x48bca7;}var _0x221ce0=(_0x3a371e[_0x2a945c>>>0x18]<<0x18|_0x3a371e[_0x14789b>>>0x10&0xff]<<0x10|_0x3a371e[_0x3cc698>>>0x8&0xff]<<0x8|_0x3a371e[_0x36923c&0xff])^_0x38fd2c[_0xed589e++],_0x32ee69=(_0x3a371e[_0x14789b>>>0x18]<<0x18|_0x3a371e[_0x3cc698>>>0x10&0xff]<<0x10|_0x3a371e[_0x36923c>>>0x8&0xff]<<0x8|_0x3a371e[_0x2a945c&0xff])^_0x38fd2c[_0xed589e++],_0x1184fd=(_0x3a371e[_0x3cc698>>>0x18]<<0x18|_0x3a371e[_0x36923c>>>0x10&0xff]<<0x10|_0x3a371e[_0x2a945c>>>0x8&0xff]<<0x8|_0x3a371e[_0x14789b&0xff])^_0x38fd2c[_0xed589e++],_0x48bca7=(_0x3a371e[_0x36923c>>>0x18]<<0x18|_0x3a371e[_0x2a945c>>>0x10&0xff]<<0x10|_0x3a371e[_0x14789b>>>0x8&0xff]<<0x8|_0x3a371e[_0x3cc698&0xff])^_0x38fd2c[_0xed589e++];_0xca40a6[_0x413775]=_0x221ce0,_0xca40a6[_0x413775+0x1]=_0x32ee69,_0xca40a6[_0x413775+0x2]=_0x1184fd,_0xca40a6[_0x413775+0x3]=_0x48bca7;},'keySize':0x100/0x20});_0x138e56[_0x141a57(0x361)]=_0x57dc7c[_0x141a57(0x315)](_0x381f42);}()),_0x14a966[_0x47922d(0x361)];}));}(fe)),fe[_0x3d8702(0x168)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x53c16e(0x168)],at;function Xi(){var _0x12a514=_0x53c16e;return at||(at=0x1,function(_0x3743dc,_0x17a388){(function(_0x347f03,_0x41e533){var _0x7cb233=_0x4816;_0x3743dc[_0x7cb233(0x168)]=_0x41e533(ee());}(Ji,function(_0x1d3214){var _0x3296d6=_0x4816;return _0x1d3214['enc'][_0x3296d6(0x48c)];}));}(be)),be[_0x12a514(0x168)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x53c16e(0x168)],ct;function tn(){var _0x1bd777=_0x53c16e;return ct||(ct=0x1,function(_0x3035d6,_0x1a767b){(function(_0x28b284,_0x53b2f3){var _0x3f771a=_0x4816;_0x3035d6[_0x3f771a(0x168)]=_0x53b2f3(ee());}(en,function(_0x142b88){var _0x14d91e=_0x4816;return(function(){var _0x7efe09=_0x4816;if(typeof ArrayBuffer=='function'){var _0x5836d4=_0x142b88,_0x3b7cb5=_0x5836d4[_0x7efe09(0x4cf)],_0x5e7f8f=_0x3b7cb5['WordArray'],_0x17ba6b=_0x5e7f8f[_0x7efe09(0x1a4)],_0x3ede1a=_0x5e7f8f[_0x7efe09(0x1a4)]=function(_0x6b7b84){var _0x3c0e01=_0x7efe09;if(_0x6b7b84 instanceof ArrayBuffer&&(_0x6b7b84=new Uint8Array(_0x6b7b84)),(_0x6b7b84 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x6b7b84 instanceof Uint8ClampedArray||_0x6b7b84 instanceof Int16Array||_0x6b7b84 instanceof Uint16Array||_0x6b7b84 instanceof Int32Array||_0x6b7b84 instanceof Uint32Array||_0x6b7b84 instanceof Float32Array||_0x6b7b84 instanceof Float64Array)&&(_0x6b7b84=new Uint8Array(_0x6b7b84[_0x3c0e01(0x194)],_0x6b7b84[_0x3c0e01(0x320)],_0x6b7b84[_0x3c0e01(0x480)])),_0x6b7b84 instanceof Uint8Array){for(var _0x40fd0f=_0x6b7b84[_0x3c0e01(0x480)],_0x5d91c2=[],_0x1e70de=0x0;_0x1e70de<_0x40fd0f;_0x1e70de++)_0x5d91c2[_0x1e70de>>>0x2]|=_0x6b7b84[_0x1e70de]<<0x18-_0x1e70de%0x4*0x8;_0x17ba6b['call'](this,_0x5d91c2,_0x40fd0f);}else _0x17ba6b['apply'](this,arguments);};_0x3ede1a[_0x7efe09(0x38c)]=_0x5e7f8f;}}()),_0x142b88['lib'][_0x14d91e(0x2c3)];}));}(Re)),Re[_0x1bd777(0x168)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x53c16e(0x168)],ht;function on(){var _0x3e370b=_0x53c16e;return ht||(ht=0x1,function(_0x45d21e,_0x13d55e){(function(_0x4dcb53,_0x2eb17c,_0x5f337d){var _0x451066=_0x4816;_0x45d21e[_0x451066(0x168)]=_0x2eb17c(ee(),At());}(sn,function(_0x4113d6){var _0x36e1ff=_0x4816;return _0x4113d6[_0x36e1ff(0x365)][_0x36e1ff(0x473)]={'pad':function(){},'unpad':function(){}},_0x4113d6[_0x36e1ff(0x365)]['NoPadding'];}));}(ye)),ye[_0x3e370b(0x168)];}var an=on();const cn=Se(an);function hn(_0x52a342,_0x2fa569){var _0xfc9215=_0x53c16e;const _0x5c5406=_0x2fa569-_0x52a342[_0xfc9215(0x17a)]%_0x2fa569,_0xcdebd4=String['fromCharCode'](_0x5c5406)[_0xfc9215(0x4c2)](_0x5c5406);return _0x52a342+_0xcdebd4;}function ln(_0x171e8b,_0x1f793c){var _0x2bd13f=_0x53c16e;const _0x119f8a=rn['random'](0x10),_0x390190=hn(_0x171e8b,0x10),_0xd01fa4=qi[_0x2bd13f(0x304)](Qi['parse'](_0x390190),ot[_0x2bd13f(0x381)](_0x1f793c),{'iv':_0x119f8a,'padding':cn});return _0x119f8a[_0x2bd13f(0x377)](_0xd01fa4[_0x2bd13f(0x253)])['toString'](ot);}function _n(){var _0x31b2e8=_0x53c16e;const _0x27a623=xt[_0x31b2e8(0x3db)]()[_0x31b2e8(0x228)];if(_0x27a623){const _0x186371={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x31b2e8(0x252)]};return ln(JSON[_0x31b2e8(0x21a)](_0x186371),_0x27a623);}}var un=Object[_0x53c16e(0x419)],dn=(_0xeb601a,_0x5aa9ca,_0x473532,_0x3cf0b0)=>{var _0x509286=_0x53c16e;for(var _0x352303=_0x3cf0b0>0x1?void 0x0:_0x3cf0b0?un(_0x5aa9ca,_0x473532):_0x5aa9ca,_0x3d0379=_0xeb601a[_0x509286(0x17a)]-0x1,_0x563169;_0x3d0379>=0x0;_0x3d0379--)(_0x563169=_0xeb601a[_0x3d0379])&&(_0x352303=_0x563169(_0x352303)||_0x352303);return _0x352303;},vn=(_0x109503,_0xb1b193)=>(_0x19deaa,_0x2e2681)=>_0xb1b193(_0x19deaa,_0x2e2681,_0x109503);let Ne=class{constructor(_0x56b281){var _0x3bfa50=_0x53c16e;this['_httpService']=_0x56b281,this[_0x3bfa50(0x272)]();}[_0x53c16e(0x272)](){var _0x37653b=_0x53c16e;this['_httpService'][_0x37653b(0x2aa)]({'interceptor':(_0x3c7f82,_0x1cbbc3)=>{var _0x14bb9a=_0x37653b;const _0x501ca5=_0x3c7f82[_0x14bb9a(0x3c8)],_0x3f69a3=_n();return _0x3f69a3&&_0x501ca5[_0x14bb9a(0x37e)]('x-univer-host',_0x3f69a3),_0x1cbbc3(_0x3c7f82);}});}};Ne=dn([vn(0x0,a[_0x53c16e(0x4cc)](q['HTTPService']))],Ne);var Sn=Object['getOwnPropertyDescriptor'],fn=(_0x2199d4,_0x5492be,_0x190507,_0x57608a)=>{var _0x35ec19=_0x53c16e;for(var _0x1057fd=_0x57608a>0x1?void 0x0:_0x57608a?Sn(_0x5492be,_0x190507):_0x5492be,_0x2a84ab=_0x2199d4[_0x35ec19(0x17a)]-0x1,_0x5ee068;_0x2a84ab>=0x0;_0x2a84ab--)(_0x5ee068=_0x2199d4[_0x2a84ab])&&(_0x1057fd=_0x5ee068(_0x1057fd)||_0x1057fd);return _0x1057fd;},Me=(_0x4ca0d1,_0x10102d)=>(_0x135f3b,_0x3e8e7b)=>_0x10102d(_0x135f3b,_0x3e8e7b,_0x4ca0d1);exports[_0x53c16e(0x38f)]=class extends a[_0x53c16e(0x49b)]{constructor(_0x5934f1,_0x48cfb6,_0x3496d7){var _0x35551c=_0x53c16e;super(),P(this,_0x35551c(0x404),new j['BehaviorSubject'](null)),P(this,'unitInfo$',this[_0x35551c(0x404)][_0x35551c(0x3f5)]()),(this['_logService']=_0x5934f1,this['_snapshotService']=_0x48cfb6,this['_localCacheService']=_0x3496d7);}async[_0x53c16e(0x226)](_0xc490f1,_0x483fe0,_0x21ee8c){var _0x307a8a=_0x53c16e;this[_0x307a8a(0x404)][_0x307a8a(0x165)]({'unitId':_0xc490f1,'type':_0x483fe0,'subUnitId':_0x21ee8c});let _0x15afde=null;switch(_0x483fe0){case X[_0x307a8a(0x1d6)]:{_0x15afde=await this[_0x307a8a(0x232)](_0xc490f1);break;}case X[_0x307a8a(0x39c)]:{_0x15afde=await this[_0x307a8a(0x4a4)](_0xc490f1);break;}default:{this[_0x307a8a(0x378)][_0x307a8a(0x245)](_0x307a8a(0x497),_0x307a8a(0x45d));break;}}return _0x15afde;}async[_0x53c16e(0x232)](_0x2d12fd){var _0x254f46=_0x53c16e,_0x4d3823;let _0x1fc951=0x0;const _0x932a78=await((_0x4d3823=this['_localCacheService'])==null?void 0x0:_0x4d3823[_0x254f46(0x23c)](_0x2d12fd));return _0x932a78&&(_0x932a78[_0x254f46(0x1ab)]||_0x932a78[_0x254f46(0x362)]['length']!==0x0)&&(_0x1fc951=_0x932a78[_0x254f46(0x241)]),_0x1fc951===0x0&&this['_logService'][_0x254f46(0x19a)]('[DataLoaderService]',_0x254f46(0x1dc)),this[_0x254f46(0x37f)][_0x254f46(0x327)](_0x2d12fd,_0x1fc951);}async[_0x53c16e(0x4a4)](_0x133528){var _0x3660b4=_0x53c16e,_0x470541;let _0x3d7cc9=0x0;const _0x21b6ec=await((_0x470541=this[_0x3660b4(0x358)])==null?void 0x0:_0x470541[_0x3660b4(0x23c)](_0x133528));return _0x21b6ec&&(_0x21b6ec['awaitingChangeset']||_0x21b6ec[_0x3660b4(0x362)][_0x3660b4(0x17a)]!==0x0)&&(_0x3d7cc9=_0x21b6ec['rev']),_0x3d7cc9===0x0&&this[_0x3660b4(0x378)][_0x3660b4(0x19a)](_0x3660b4(0x497),_0x3660b4(0x1dc)),this[_0x3660b4(0x37f)][_0x3660b4(0x437)](_0x133528,_0x3d7cc9);}},exports[_0x53c16e(0x38f)]=fn([Me(0x0,a[_0x53c16e(0x219)]),Me(0x1,a[_0x53c16e(0x4cc)](g['SnapshotService'])),Me(0x2,a[_0x53c16e(0x244)](z))],exports[_0x53c16e(0x38f)]);var pn=Object[_0x53c16e(0x419)],gn=(_0x31d01f,_0xf32c02,_0x396fc2,_0x57dbcf)=>{for(var _0x900962=_0x57dbcf>0x1?void 0x0:_0x57dbcf?pn(_0xf32c02,_0x396fc2):_0xf32c02,_0x1efef8=_0x31d01f['length']-0x1,_0x8a28b0;_0x1efef8>=0x0;_0x1efef8--)(_0x8a28b0=_0x31d01f[_0x1efef8])&&(_0x900962=_0x8a28b0(_0x900962)||_0x900962);return _0x900962;},xe=(_0x500b10,_0x5950b9)=>(_0x8e630a,_0x11f466)=>_0x5950b9(_0x8e630a,_0x11f466,_0x500b10);const mn=[_0x53c16e(0x1bd),_0x53c16e(0x1e6),_0x53c16e(0x28b),_0x53c16e(0x352),'image/bmp'],In=0x5*0x400*0x400,En=_0x53c16e(0x3c5),Cn=_0x53c16e(0x3c4),Tn=_0x53c16e(0x495),bn=_0x53c16e(0x441);exports[_0x53c16e(0x340)]=class{constructor(_0x391d1a,_0x4997a5,_0x256a21){var _0x4bbcf0=_0x53c16e;P(this,_0x4bbcf0(0x4a9),0x0),P(this,_0x4bbcf0(0x3c3),new j[(_0x4bbcf0(0x207))]()),P(this,_0x4bbcf0(0x3b5),this[_0x4bbcf0(0x3c3)]),P(this,_0x4bbcf0(0x2de),new Map()),(this['_httpService']=_0x391d1a,this[_0x4bbcf0(0x2d9)]=_0x4997a5,this[_0x4bbcf0(0x198)]=_0x256a21);}[_0x53c16e(0x18a)](_0xc08d57){var _0x21676f=_0x53c16e;this['_waitCount']=_0xc08d57,this[_0x21676f(0x3c3)][_0x21676f(0x165)](_0xc08d57);}[_0x53c16e(0x1cc)](_0xb9eb60,_0x1c3ddf){var _0x58330f=_0x53c16e;if(_0x1c3ddf===J['ImageSourceType'][_0x58330f(0x18f)]){const _0x471051=new Image();return _0x471051['src']=_0xb9eb60,_0x471051;}return this[_0x58330f(0x2de)]['get'](_0xb9eb60);}[_0x53c16e(0x445)](_0x572738,_0x2db82a,_0x2537f3){var _0x474186=_0x53c16e;_0x2db82a===J[_0x474186(0x36d)][_0x474186(0x18f)]||_0x2537f3==null||this[_0x474186(0x2de)]['set'](_0x572738,_0x2537f3);}async[_0x53c16e(0x265)](_0x41c807){var _0x11b57e=_0x53c16e;try{const _0x42b603=this['_replaceFileID'](this['_getSignURL'](),''+_0x41c807),_0x2fca93=(await this[_0x11b57e(0x209)]['get'](_0x42b603))[_0x11b57e(0x2e6)];if(_0x2fca93[_0x11b57e(0x245)]&&_0x2fca93[_0x11b57e(0x245)][_0x11b57e(0x324)]===Ct['OK']){const _0x465c85=new URL(_0x2fca93[_0x11b57e(0x24c)],this[_0x11b57e(0x1e0)]())[_0x11b57e(0x2d0)]();return Promise[_0x11b57e(0x42e)](_0x465c85);}return Promise['reject'](_0x2fca93['error']);}catch(_0x433c8d){return Promise[_0x11b57e(0x212)](_0x433c8d);}}async['saveImage'](_0x142800){var _0x1b99ca=_0x53c16e;let _0x2ef445='';if(!mn[_0x1b99ca(0x322)](_0x142800['type']))return this[_0x1b99ca(0x375)](),Promise['reject'](new Error(J[_0x1b99ca(0x243)]['ERROR_IMAGE_TYPE']));if(_0x142800[_0x1b99ca(0x4aa)]>In)return this['_decreaseWaiting'](),Promise[_0x1b99ca(0x212)](new Error(J[_0x1b99ca(0x243)][_0x1b99ca(0x179)]));try{const _0x259136=new FormData();_0x259136['append'](_0x1b99ca(0x1ac),_0x142800);const _0x544f2b=this[_0x1b99ca(0x198)][_0x1b99ca(0x440)](),_0x5410f6=_0x544f2b==null?void 0x0:_0x544f2b[_0x1b99ca(0x341)]();if(!_0x5410f6)throw new Error('unitId\x20is\x20not\x20found');const _0x364c6d=this[_0x1b99ca(0x40b)]()+'?size='+_0x142800[_0x1b99ca(0x4aa)][_0x1b99ca(0x2d0)]()+_0x1b99ca(0x339)+Tt['UnitEmbedded']+'&assign='+encodeURIComponent(_0x5410f6),_0x2c4547=await(await fetch(_0x364c6d,{'method':_0x1b99ca(0x1c3),'body':_0x259136}))[_0x1b99ca(0x1b1)]();if(typeof _0x2c4547[_0x1b99ca(0x455)]!=_0x1b99ca(0x308))return this[_0x1b99ca(0x375)](),Promise[_0x1b99ca(0x212)](new Error(J['ImageUploadStatusType'][_0x1b99ca(0x48e)]));_0x2ef445=_0x2c4547[_0x1b99ca(0x455)];}catch{return this[_0x1b99ca(0x375)](),Promise[_0x1b99ca(0x212)](new Error(J[_0x1b99ca(0x243)][_0x1b99ca(0x48e)]));}return new Promise((_0x23c581,_0x55cd89)=>{var _0xf7ed2d=_0x1b99ca;const _0x2b2396=new FileReader();_0x2b2396[_0xf7ed2d(0x291)](_0x142800),_0x2b2396[_0xf7ed2d(0x37d)]=_0x57c47a=>{var _0x33cda5=_0xf7ed2d,_0x3215c8;const _0x5218d6=(_0x3215c8=_0x57c47a[_0x33cda5(0x1b7)])==null?void 0x0:_0x3215c8[_0x33cda5(0x16e)];if(_0x5218d6==null){this[_0x33cda5(0x375)](),_0x55cd89(new Error(J[_0x33cda5(0x243)]['ERROR_IMAGE']));return;}const _0x14b9f6=a['Tools'][_0x33cda5(0x323)](0x6);_0x23c581({'imageId':_0x14b9f6,'imageSourceType':J[_0x33cda5(0x36d)][_0x33cda5(0x356)],'source':_0x2ef445,'base64Cache':_0x5218d6,'status':J[_0x33cda5(0x243)][_0x33cda5(0x31b)]}),this['_decreaseWaiting']();};});}[_0x53c16e(0x40b)](){var _0x37a593=_0x53c16e,_0x4c798c,_0x2521a7;const _0x44efcf=this[_0x37a593(0x2d9)]['getConfig'](En),_0x3d85cb=this[_0x37a593(0x2d9)]['getConfig'](Y);return(_0x2521a7=(_0x4c798c=_0x3d85cb==null?void 0x0:_0x3d85cb[_0x37a593(0x16a)])!=null?_0x4c798c:_0x44efcf)!=null?_0x2521a7:Cn;}[_0x53c16e(0x233)](){var _0x131974=_0x53c16e,_0x544fe5,_0x15ff09;const _0x23598e=this[_0x131974(0x2d9)][_0x131974(0x4cb)](Tn),_0x2d5bab=this[_0x131974(0x2d9)][_0x131974(0x4cb)](Y);return(_0x15ff09=(_0x544fe5=_0x2d5bab==null?void 0x0:_0x2d5bab[_0x131974(0x4bd)])!=null?_0x544fe5:_0x23598e)!=null?_0x15ff09:bn;}[_0x53c16e(0x1e0)](){var _0xb76705=_0x53c16e,_0x4104f2;const _0x4906e3=this[_0xb76705(0x2d9)][_0xb76705(0x4cb)](Y);return(_0x4104f2=_0x4906e3==null?void 0x0:_0x4906e3[_0xb76705(0x3ac)])!=null?_0x4104f2:location['origin'];}[_0x53c16e(0x16c)](_0x2fc20c,_0x4c438c){var _0x16c209=_0x53c16e;return _0x2fc20c[_0x16c209(0x405)]('{fileID}',_0x4c438c);}[_0x53c16e(0x375)](){var _0xd2314d=_0x53c16e;this[_0xd2314d(0x4a9)]-=0x1,this[_0xd2314d(0x3c3)][_0xd2314d(0x165)](this[_0xd2314d(0x4a9)]);}},exports[_0x53c16e(0x340)]=gn([xe(0x0,a['Inject'](q[_0x53c16e(0x359)])),xe(0x1,a[_0x53c16e(0x357)]),xe(0x2,a['Inject'](a['IUniverInstanceService']))],exports['CollaborationImageIoService']);var Rn=Object[_0x53c16e(0x419)],yn=(_0x1371f1,_0x482183,_0x3a0927,_0x3c8aac)=>{var _0xb3aa29=_0x53c16e;for(var _0xaff18e=_0x3c8aac>0x1?void 0x0:_0x3c8aac?Rn(_0x482183,_0x3a0927):_0x482183,_0x2ac7b2=_0x1371f1[_0xb3aa29(0x17a)]-0x1,_0x1cb878;_0x2ac7b2>=0x0;_0x2ac7b2--)(_0x1cb878=_0x1371f1[_0x2ac7b2])&&(_0xaff18e=_0x1cb878(_0xaff18e)||_0xaff18e);return _0xaff18e;},lt=(_0xdb227c,_0x10471a)=>(_0x4006ad,_0x1abc23)=>_0x10471a(_0x4006ad,_0x1abc23,_0xdb227c);const On=_0x53c16e(0x450);exports[_0x53c16e(0x494)]=class{constructor(_0x35177a,_0xdf9751){var _0x571ef1=_0x53c16e;this[_0x571ef1(0x2d9)]=_0x35177a,this[_0x571ef1(0x442)]=_0xdf9751;}[_0x53c16e(0x268)](){var _0x574b10=_0x53c16e,_0x1befc8,_0x41f4e3;const _0x4bb164=this[_0x574b10(0x2d9)][_0x574b10(0x4cb)](Ve),_0x4a28a1=this[_0x574b10(0x2d9)][_0x574b10(0x4cb)](Y);return(_0x41f4e3=(_0x1befc8=_0x4a28a1==null?void 0x0:_0x4a28a1['authzUrl'])!=null?_0x1befc8:_0x4bb164)!=null?_0x41f4e3:On;}async['list'](_0xee5faa){var _0x3557cf=_0x53c16e;const _0x489b2e=this['_getAPIPrefixPath']()+_0x3557cf(0x2f5);return{'list':[{'title':_0x3557cf(0x42c),'mentions':(await this[_0x3557cf(0x442)][_0x3557cf(0x3a5)](_0x489b2e,{'params':{'objectID':_0xee5faa[_0x3557cf(0x1fd)],'unitID':_0xee5faa[_0x3557cf(0x1fd)]}}))[_0x3557cf(0x2e6)][_0x3557cf(0x210)][_0x3557cf(0x417)](_0x32ba7e=>({'objectId':_0x32ba7e['id'],'name':_0x32ba7e[_0x3557cf(0x2ed)][_0x3557cf(0x34d)],'metadata':{'icon':_0x32ba7e[_0x3557cf(0x2ed)][_0x3557cf(0x309)]},'label':_0x32ba7e[_0x3557cf(0x2ed)][_0x3557cf(0x34d)],'objectType':a['MentionType'][_0x3557cf(0x4be)]})),'metadata':{},'type':a[_0x3557cf(0x3d6)][_0x3557cf(0x4be)]}]};}},exports[_0x53c16e(0x494)]=yn([lt(0x0,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x357)])),lt(0x1,a[_0x53c16e(0x4cc)](q[_0x53c16e(0x359)]))],exports['MentionIoHttpService']);var Nn=Object[_0x53c16e(0x419)],Dn=(_0x10e2b4,_0x44a117,_0x46b059,_0x3c27d4)=>{var _0x4b1998=_0x53c16e;for(var _0x509550=_0x3c27d4>0x1?void 0x0:_0x3c27d4?Nn(_0x44a117,_0x46b059):_0x44a117,_0x40f8a1=_0x10e2b4[_0x4b1998(0x17a)]-0x1,_0x447551;_0x40f8a1>=0x0;_0x40f8a1--)(_0x447551=_0x10e2b4[_0x40f8a1])&&(_0x509550=_0x447551(_0x509550)||_0x509550);return _0x509550;},ue=(_0x4ce9f6,_0x1e5420)=>(_0xca8176,_0x377c75)=>_0x1e5420(_0xca8176,_0x377c75,_0x4ce9f6);let De=class extends a[_0x53c16e(0x49b)]{constructor(_0x24e136,_0x390503,_0x4f2ee1,_0x4f92fe,_0x5996ea){var _0xed01e4=_0x53c16e;super(),this[_0xed01e4(0x439)]=_0x24e136,this['_univerInstanceService']=_0x390503,this['_permissionService']=_0x4f2ee1,this[_0xed01e4(0x30b)]=_0x4f92fe,this[_0xed01e4(0x3b0)]=_0x5996ea,this['_initUnitPermissionChange'](),this[_0xed01e4(0x285)]();}[_0x53c16e(0x285)](){var _0x50eca6=_0x53c16e;const _0x2dc222=async _0x2ef901=>{var _0x3781aa=_0x4816;(await this['_collaborationSessionService'][_0x3781aa(0x44c)](_0x2ef901))[_0x3781aa(0x3b1)][_0x3781aa(0x2ce)](W['filter'](_0x5b824d=>_0x5b824d[_0x3781aa(0x3bd)]===g['CollaborationEvent']['SHOULD_CLOSE_CONN']),W[_0x3781aa(0x433)](this[_0x3781aa(0x4d1)]))[_0x3781aa(0x3e3)](_0x120988=>{var _0x478c58=_0x3781aa;const _0x57aa91=_0x120988,{reason:_0x507b56}=_0x57aa91[_0x478c58(0x4bf)];this[_0x478c58(0x3b0)][_0x478c58(0x4d2)]({'id':Q[_0x478c58(0x26e)],'data':_0x507b56}),this[_0x478c58(0x430)][_0x478c58(0x389)](new Z[(_0x478c58(0x2ee))](_0x2ef901)['id'],!0x1),this['_collaborationSessionService'][_0x478c58(0x3b2)](_0x2ef901);});};j['merge'](this[_0x50eca6(0x198)][_0x50eca6(0x3ca)](a[_0x50eca6(0x3d0)][_0x50eca6(0x1d6)]),this[_0x50eca6(0x198)][_0x50eca6(0x3ca)](a[_0x50eca6(0x3d0)][_0x50eca6(0x39c)]))[_0x50eca6(0x2ce)](W[_0x50eca6(0x417)](_0x486f96=>_0x486f96['getUnitId']()),W[_0x50eca6(0x277)](_0xd98433=>!a[_0x50eca6(0x23d)](_0xd98433)),W[_0x50eca6(0x433)](this[_0x50eca6(0x4d1)]))[_0x50eca6(0x3e3)](_0x2df3ab=>{_0x2dc222(_0x2df3ab);});}[_0x53c16e(0x2e2)](){var _0x534e9f=_0x53c16e;const _0x3a6fb3=async _0x2f464b=>{var _0x39677d=_0x4816;const _0x37920b=await this[_0x39677d(0x30b)][_0x39677d(0x44c)](_0x2f464b),_0x4e74da=this[_0x39677d(0x439)]['get'](Z['SheetPermissionInitController']);_0x37920b[_0x39677d(0x3b1)][_0x39677d(0x2ce)](W[_0x39677d(0x277)](_0x1f9755=>_0x1f9755[_0x39677d(0x3bd)]===g['CollaborationEvent'][_0x39677d(0x311)]),W[_0x39677d(0x433)](this['dispose$']))[_0x39677d(0x3e3)](_0x276c7f=>{var _0x148340=_0x39677d;const _0x540ee7=_0x276c7f,{objectId:_0x1cd42f}=_0x540ee7[_0x148340(0x4bf)];_0x1cd42f===_0x2f464b?_0x4e74da[_0x148340(0x299)](_0x2f464b):_0x4e74da[_0x148340(0x3ea)](_0x2f464b,_0x1cd42f);});};j[_0x534e9f(0x432)](this[_0x534e9f(0x198)][_0x534e9f(0x3ca)](a[_0x534e9f(0x3d0)][_0x534e9f(0x1d6)]))[_0x534e9f(0x2ce)](W[_0x534e9f(0x417)](_0x548247=>_0x548247[_0x534e9f(0x341)]()),W[_0x534e9f(0x277)](_0xe1b30e=>!a['isInternalEditorID'](_0xe1b30e)),W[_0x534e9f(0x433)](this[_0x534e9f(0x4d1)]))['subscribe'](_0x1c826b=>{_0x3a6fb3(_0x1c826b);});}};De=Dn([ue(0x0,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),ue(0x1,a[_0x53c16e(0x4a5)]),ue(0x2,a[_0x53c16e(0x3ba)]),ue(0x3,a[_0x53c16e(0x4cc)](exports[_0x53c16e(0x3ef)])),ue(0x4,a[_0x53c16e(0x4cc)](te))],De);var Un=Object[_0x53c16e(0x419)],Pn=(_0x419cee,_0x2f1350,_0x518a8e,_0x157229)=>{var _0x2e4487=_0x53c16e;for(var _0x31e049=_0x157229>0x1?void 0x0:_0x157229?Un(_0x2f1350,_0x518a8e):_0x2f1350,_0x60ebcb=_0x419cee[_0x2e4487(0x17a)]-0x1,_0x4a2300;_0x60ebcb>=0x0;_0x60ebcb--)(_0x4a2300=_0x419cee[_0x60ebcb])&&(_0x31e049=_0x4a2300(_0x31e049)||_0x31e049);return _0x31e049;},_t=(_0x13c064,_0x410cc7)=>(_0x337f87,_0x1baac1)=>_0x410cc7(_0x337f87,_0x1baac1,_0x13c064);exports[_0x53c16e(0x163)]=class{constructor(_0x208c0d,_0x337e3a){var _0x420010=_0x53c16e;this[_0x420010(0x2d9)]=_0x208c0d,this[_0x420010(0x209)]=_0x337e3a;}async['getUnitOnRev'](_0x2bb1b1,_0xd4be47){var _0x2a955f=_0x53c16e,_0x52460b;const {unitID:_0x4487bd,type:_0x12e8bc,revision:_0x23c2ca=0x0}=_0xd4be47,_0x2b0104=this['getSnapshotAPIPath']()+'/'+_0x12e8bc+_0x2a955f(0x4a1)+_0x4487bd+_0x2a955f(0x1da)+_0x23c2ca,_0x16d29d=(await this[_0x2a955f(0x209)][_0x2a955f(0x3a5)](_0x2b0104))[_0x2a955f(0x2e6)],_0x499831=(_0x52460b=_0x16d29d[_0x2a955f(0x1bb)])==null?void 0x0:_0x52460b[_0x2a955f(0x3af)];if(_0x499831){const _0x53f0d6=_0x499831==null?void 0x0:_0x499831[_0x2a955f(0x1ff)],_0x376d68=g[_0x2a955f(0x1f1)][_0x2a955f(0x20c)](g[_0x2a955f(0x26a)](_0x53f0d6));_0x499831[_0x2a955f(0x1ff)]=_0x376d68,Object[_0x2a955f(0x2c7)](_0x499831['sheets'])[_0x2a955f(0x183)](([,_0x553d25])=>{var _0x21ce9f=_0x2a955f;const _0x377eab=_0x553d25[_0x21ce9f(0x1ff)],_0x4f5b6d=g[_0x21ce9f(0x1f1)]['encode'](g[_0x21ce9f(0x26a)](_0x377eab));_0x553d25[_0x21ce9f(0x1ff)]=_0x4f5b6d;});}return _0x16d29d;}async[_0x53c16e(0x46d)](_0x399bc6,_0x144a82){var _0x2c6865=_0x53c16e;const {unitID:_0xb3f3e,type:_0x51e058,blockID:_0x5e614c}=_0x144a82,_0xb9a932=this['_getAPIPrefix']()+'/'+_0x51e058+_0x2c6865(0x4a1)+_0xb3f3e+'/block/'+_0x5e614c;return(await this[_0x2c6865(0x209)][_0x2c6865(0x3a5)](_0xb9a932))[_0x2c6865(0x2e6)];}async[_0x53c16e(0x303)](_0x23ee43,_0x782627){var _0x533ad8=_0x53c16e;const {unitID:_0x18995a,type:_0x1c0fc2,blockID:_0x162b99}=_0x782627,_0xd85159=this[_0x533ad8(0x234)]()+'/block/'+_0x1c0fc2+'/unit/'+_0x18995a+_0x533ad8(0x27f)+_0x162b99;return(await this[_0x533ad8(0x209)][_0x533ad8(0x3a5)](_0xd85159))[_0x533ad8(0x2e6)];}async[_0x53c16e(0x18e)](_0x207c99,_0x502768){var _0x32ba68=_0x53c16e;const {unitID:_0x4e7623,type:_0x2f62b4,from:_0x5ba23a,to:_0xbaae1b}=_0x502768,_0x41a1d8=this[_0x32ba68(0x234)]()+'/'+_0x2f62b4+'/unit/'+_0x4e7623+_0x32ba68(0x19b)+_0x5ba23a+'&to='+_0xbaae1b;return(await this[_0x32ba68(0x209)]['get'](_0x41a1d8))[_0x32ba68(0x2e6)];}[_0x53c16e(0x485)](){var _0x56c068=_0x53c16e,_0x4d9fac;return(_0x4d9fac=this[_0x56c068(0x2d9)][_0x56c068(0x4cb)](vt))!=null?_0x4d9fac:this[_0x56c068(0x234)]();}[_0x53c16e(0x234)](){var _0xd1dc20=_0x53c16e,_0x6b3574,_0x2b4cb0;const _0x5f0515=this[_0xd1dc20(0x2d9)][_0xd1dc20(0x4cb)](dt),_0x2f8e55=this[_0xd1dc20(0x2d9)]['getConfig'](Y);return(_0x2b4cb0=(_0x6b3574=_0x2f8e55==null?void 0x0:_0x2f8e55[_0xd1dc20(0x2bb)])!=null?_0x6b3574:_0x5f0515)!=null?_0x2b4cb0:kt;}async['getResourcesRequest'](_0x5321f6,_0x4a713d){var _0x2a007e=_0x53c16e;const _0x2e9866=_0x2a007e(0x31a)+_0x4a713d[_0x2a007e(0x40a)]+'/unit/'+_0x4a713d[_0x2a007e(0x313)]+_0x2a007e(0x3b7);return(await this['_httpService']['get'](_0x2e9866,{'params':{'resourceId':JSON[_0x2a007e(0x21a)](_0x4a713d[_0x2a007e(0x26c)])}}))[_0x2a007e(0x2e6)];}[_0x53c16e(0x376)](){var _0x1aa4d2=_0x53c16e;throw new Error(_0x1aa4d2(0x281));}[_0x53c16e(0x282)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x53c16e(0x26b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x53c16e(0x1c9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x53c16e(0x453)](){var _0x221c40=_0x53c16e;throw new Error(_0x221c40(0x281));}},exports['SnapshotServerOverHTTPService']=Pn([_t(0x0,a[_0x53c16e(0x357)]),_t(0x1,a[_0x53c16e(0x4cc)](q['HTTPService']))],exports[_0x53c16e(0x163)]);var An=Object[_0x53c16e(0x419)],wn=(_0x3b6c84,_0x3a8112,_0x37f5b9,_0x38799a)=>{var _0x3674db=_0x53c16e;for(var _0x1c7591=_0x38799a>0x1?void 0x0:_0x38799a?An(_0x3a8112,_0x37f5b9):_0x3a8112,_0x194e3d=_0x3b6c84[_0x3674db(0x17a)]-0x1,_0x120efc;_0x194e3d>=0x0;_0x194e3d--)(_0x120efc=_0x3b6c84[_0x194e3d])&&(_0x1c7591=_0x120efc(_0x1c7591)||_0x1c7591);return _0x1c7591;},de=(_0x43ab2d,_0x3a2f8c)=>(_0x103406,_0x459df5)=>_0x3a2f8c(_0x103406,_0x459df5,_0x43ab2d);exports[_0x53c16e(0x1c7)]=class extends a['LocalUndoRedoService']{constructor(_0x14c1aa,_0x478750,_0x16549f,_0x35c3cb,_0x320c76){var _0x41312a=_0x53c16e;super(_0x14c1aa,_0x478750,_0x16549f),this[_0x41312a(0x28c)]=_0x35c3cb,this[_0x41312a(0x378)]=_0x320c76;}[_0x53c16e(0x42a)](_0x592e89,_0x171cd5){var _0x29f4b8=_0x53c16e;const _0x56befd=this[_0x29f4b8(0x2a0)](_0x592e89);if(_0x56befd)try{const _0x3a7809=this[_0x29f4b8(0x235)](_0x56befd,_0x171cd5);this[_0x29f4b8(0x22c)](_0x592e89,_0x3a7809);}catch(_0x220e8c){this[_0x29f4b8(0x378)][_0x29f4b8(0x245)](_0x29f4b8(0x1af),_0x220e8c),this['_clearUndo'](_0x592e89);}const _0xfccee7=this[_0x29f4b8(0x4ad)](_0x592e89);if(_0xfccee7)try{const _0x1544aa=this['_transformStack'](_0xfccee7,_0x171cd5);this[_0x29f4b8(0x25f)](_0x592e89,_0x1544aa);}catch(_0x9570c7){this[_0x29f4b8(0x378)][_0x29f4b8(0x245)](_0x9570c7),this['_clearRedo'](_0x592e89);}}[_0x53c16e(0x427)](_0x3305cf){var _0x3fab8b=_0x53c16e;const _0x1c3f77=this[_0x3fab8b(0x2a0)](_0x3305cf);_0x1c3f77&&(_0x1c3f77['length']=0x0,this[_0x3fab8b(0x33b)]());}[_0x53c16e(0x31d)](_0x2f7aaf){var _0xfb74f8=_0x53c16e;const _0x4e4dea=this[_0xfb74f8(0x4ad)](_0x2f7aaf);_0x4e4dea&&(_0x4e4dea['length']=0x0,this[_0xfb74f8(0x33b)]());}[_0x53c16e(0x22c)](_0x1dbece,_0x27f816){var _0x4954f5=_0x53c16e;this[_0x4954f5(0x4d5)][_0x4954f5(0x37e)](_0x1dbece,_0x27f816),this[_0x4954f5(0x33b)]();}[_0x53c16e(0x25f)](_0x41462e,_0x14ab94){var _0x3fb20b=_0x53c16e;this[_0x3fb20b(0x275)][_0x3fb20b(0x37e)](_0x41462e,_0x14ab94),this[_0x3fb20b(0x33b)]();}[_0x53c16e(0x235)](_0x5c6cd9,_0x1edd75){var _0x1bfbeb=_0x53c16e;const _0x498629=[];let _0x19e099=_0x1edd75,_0x107376=_0x1edd75;for(let _0x51ce27=_0x5c6cd9[_0x1bfbeb(0x17a)]-0x1;_0x51ce27>=0x0;_0x51ce27--){const {unitID:_0x4ba1dd,undoMutations:_0x4a1559,redoMutations:_0x4219b5}=_0x5c6cd9[_0x51ce27],_0x1dd928=this[_0x1bfbeb(0x28c)][_0x1bfbeb(0x1b5)](_0x19e099,_0x4a1559),_0x33dc80=this['_transformService'][_0x1bfbeb(0x1b5)](_0x107376,_0x4219b5);if(g['isTransformMutationsWithChangesetFailure'](_0x1dd928)||g[_0x1bfbeb(0x186)](_0x33dc80)){this[_0x1bfbeb(0x378)][_0x1bfbeb(0x245)](_0x1bfbeb(0x1af),_0x1bfbeb(0x1dd),_0x1dd928,_0x33dc80);break;}_0x19e099=_0x1dd928['c1Prime'],_0x107376=_0x33dc80[_0x1bfbeb(0x414)],_0x498629[_0x1bfbeb(0x23e)]({'unitID':_0x4ba1dd,'undoMutations':_0x1dd928[_0x1bfbeb(0x43d)],'redoMutations':_0x33dc80[_0x1bfbeb(0x43d)]});}return _0x498629[_0x1bfbeb(0x221)]();}},exports[_0x53c16e(0x1c7)]=wn([de(0x0,a['IUniverInstanceService']),de(0x1,a[_0x53c16e(0x32f)]),de(0x2,a[_0x53c16e(0x29e)]),de(0x3,g[_0x53c16e(0x36b)]),de(0x4,a[_0x53c16e(0x219)])],exports[_0x53c16e(0x1c7)]);var Ln=Object[_0x53c16e(0x2c0)],Mn=Object[_0x53c16e(0x419)],xn=(_0x38c625,_0x9b515b,_0x4d8166)=>_0x9b515b in _0x38c625?Ln(_0x38c625,_0x9b515b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d8166}):_0x38c625[_0x9b515b]=_0x4d8166,kn=(_0x342d3e,_0x34d2e0,_0x30bec8,_0x18f131)=>{var _0x47617a=_0x53c16e;for(var _0x316c18=_0x18f131>0x1?void 0x0:_0x18f131?Mn(_0x34d2e0,_0x30bec8):_0x34d2e0,_0x52e981=_0x342d3e[_0x47617a(0x17a)]-0x1,_0x4f7e96;_0x52e981>=0x0;_0x52e981--)(_0x4f7e96=_0x342d3e[_0x52e981])&&(_0x316c18=_0x4f7e96(_0x316c18)||_0x316c18);return _0x316c18;},ke=(_0x3a3d29,_0x39bd9f)=>(_0x4a882b,_0x47f451)=>_0x39bd9f(_0x4a882b,_0x47f451,_0x3a3d29),Hn=(_0x2e7bb6,_0x310f1d,_0x28b9db)=>xn(_0x2e7bb6,_0x310f1d+'',_0x28b9db);const jn=_0x53c16e(0x164);exports[_0x53c16e(0x435)]=class extends a['Plugin']{constructor(_0x36bb35,_0x4c9c27,_0x3da62a,_0x508f7c){var _0x47cb49=_0x53c16e;super(),P(this,_0x47cb49(0x391)),(this[_0x47cb49(0x378)]=_0x4c9c27,this[_0x47cb49(0x439)]=_0x3da62a,this[_0x47cb49(0x2d9)]=_0x508f7c);const {..._0x11143e}=a['merge']({},Jt,_0x36bb35);if(!_0x11143e[_0x47cb49(0x2ac)])throw new Error(_0x47cb49(0x287));this[_0x47cb49(0x391)]=_0x11143e,this[_0x47cb49(0x2d9)][_0x47cb49(0x1f6)](Y,_0x11143e);}[_0x53c16e(0x2cf)](){var _0x45517a=_0x53c16e;this[_0x45517a(0x36e)](),this[_0x45517a(0x255)]();}['_registerDependencies'](){var _0x31ba41=_0x53c16e,_0x5784e5,_0x1686ef;this['_injector'][_0x31ba41(0x43b)](a[_0x31ba41(0x1d8)])&&this[_0x31ba41(0x378)][_0x31ba41(0x245)]('[UniverCollaborationClientPlugin]',_0x31ba41(0x4de));const _0x256344=a[_0x31ba41(0x36a)]([[a[_0x31ba41(0x1d8)],{'useClass':exports[_0x31ba41(0x1c7)]}],[exports[_0x31ba41(0x3ef)]],[exports[_0x31ba41(0x177)]],[exports['SheetTransformSelectionsService']],[Oe],[Ne],[Be],[De],[te],[exports['DataLoaderService']],[$e,{'useClass':this[_0x31ba41(0x391)][_0x31ba41(0x2ac)]}],[g['ISnapshotServerService'],{'useClass':exports[_0x31ba41(0x163)]}],[a[_0x31ba41(0x388)],{'useClass':exports[_0x31ba41(0x44e)]}],[J[_0x31ba41(0x354)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x31ba41(0x470)],{'useClass':exports[_0x31ba41(0x494)]}],[exports[_0x31ba41(0x482)]],[He]],(_0x5784e5=this['_config'])==null?void 0x0:_0x5784e5[_0x31ba41(0x4c3)]);if(!((_0x1686ef=this[_0x31ba41(0x391)])!=null&&_0x1686ef['enableSingleActiveInstanceLock'])){const _0x4107ea=_0x256344[_0x31ba41(0x24b)](([_0x453847])=>_0x453847===ve);_0x4107ea!==-0x1&&_0x256344[_0x31ba41(0x330)](_0x4107ea,0x1);}a[_0x31ba41(0x3f2)](this['_injector'],_0x256344);}['_initDependencies'](){var _0x52bd69=_0x53c16e,_0x4b727f,_0x1c9d17,_0x2b0c26;this[_0x52bd69(0x439)]['get'](q[_0x52bd69(0x359)])[_0x52bd69(0x2aa)]({'priority':0x14,'interceptor':q[_0x52bd69(0x16f)]({'maxParallel':0x6})}),(_0x4b727f=this['_config'])!=null&&_0x4b727f[_0x52bd69(0x41a)]||(_0x1c9d17=this[_0x52bd69(0x439)][_0x52bd69(0x3a5)](z,a['Quantity'][_0x52bd69(0x3ff)]))==null||_0x1c9d17[_0x52bd69(0x1eb)](),(_0x2b0c26=this[_0x52bd69(0x391)])!=null&&_0x2b0c26['enableAuthServer']&&a[_0x52bd69(0x205)](this[_0x52bd69(0x439)],[[Oe]]),a[_0x52bd69(0x205)](this[_0x52bd69(0x439)],[[Ne],[exports[_0x52bd69(0x482)]],[De]]);}},Hn(exports[_0x53c16e(0x435)],_0x53c16e(0x4d3),jn),exports[_0x53c16e(0x435)]=kn([a['DependentOn'](g['UniverCollaborationPlugin'],q[_0x53c16e(0x46c)]),ke(0x1,a['ILogService']),ke(0x2,a[_0x53c16e(0x4cc)](a[_0x53c16e(0x1f2)])),ke(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x53c16e(0x343)]=Ve,exports[_0x53c16e(0x466)]=Y,exports[_0x53c16e(0x2fd)]=It,exports['COLLAB_WEB_SOCKET_URL_KEY']=St,exports[_0x53c16e(0x171)]=We,exports[_0x53c16e(0x250)]=Q,exports[_0x53c16e(0x346)]=te,exports[_0x53c16e(0x1e4)]=Be,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ft,exports[_0x53c16e(0x306)]=zt,exports[_0x53c16e(0x36f)]=$t,exports['HEARTBEAT_INTERVAL_KEY']=pt,exports[_0x53c16e(0x2a1)]=je,exports[_0x53c16e(0x41d)]=$e,exports['ILocalCacheService']=z,exports[_0x53c16e(0x28f)]=bt,exports[_0x53c16e(0x44b)]=ve,exports[_0x53c16e(0x351)]=Vt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports[_0x53c16e(0x27e)]=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports[_0x53c16e(0x459)]=mt,exports[_0x53c16e(0x1e5)]=Ht,exports[_0x53c16e(0x4ca)]=dt,exports['SNAPSHOT_URL_KEY']=vt,exports[_0x53c16e(0x17b)]=se,exports[_0x53c16e(0x2f6)]=Fe,exports[_0x53c16e(0x337)]=Rt,exports['getLocalCacheKey']=vi,exports['serializeCombRequest']=yt;
|
1
|
+
'use strict';var _0x54a041=_0x741b;(function(_0x702664,_0x79546c){var _0x592b39=_0x741b,_0x3a655a=_0x702664();while(!![]){try{var _0x5a4384=parseInt(_0x592b39(0x15c))/0x1*(parseInt(_0x592b39(0x456))/0x2)+parseInt(_0x592b39(0x47a))/0x3+-parseInt(_0x592b39(0x15f))/0x4+-parseInt(_0x592b39(0x480))/0x5+parseInt(_0x592b39(0x27e))/0x6+parseInt(_0x592b39(0x3b7))/0x7+parseInt(_0x592b39(0x37b))/0x8;if(_0x5a4384===_0x79546c)break;else _0x3a655a['push'](_0x3a655a['shift']());}catch(_0x77524f){_0x3a655a['push'](_0x3a655a['shift']());}}}(_0x5e18,0xa4ca4));var wt=Object[_0x54a041(0x2fd)],Lt=(_0x22d1c4,_0x4e603b,_0x24b62b)=>_0x4e603b in _0x22d1c4?wt(_0x22d1c4,_0x4e603b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b62b}):_0x22d1c4[_0x4e603b]=_0x24b62b,P=(_0x3f3f2f,_0x4b7bea,_0x356079)=>Lt(_0x3f3f2f,typeof _0x4b7bea!=_0x54a041(0x3ba)?_0x4b7bea+'':_0x4b7bea,_0x356079);Object[_0x54a041(0x2fd)](exports,Symbol['toStringTag'],{'value':_0x54a041(0x1ec)});const a=require(_0x54a041(0x482)),j=require(_0x54a041(0x1e9)),W=require(_0x54a041(0x373)),g=require(_0x54a041(0x2a3)),q=require(_0x54a041(0x3ef)),Mt=require(_0x54a041(0x481)),ut=require(_0x54a041(0x3d2)),Z=require(_0x54a041(0x406)),J=require('@univerjs/drawing'),xt=require(_0x54a041(0x3da)),dt='SNAPSHOT_SERVER_URL_KEY',kt=_0x54a041(0x3c6),vt='SNAPSHOT_URL_KEY',Ht=_0x54a041(0x121),jt=0x7d0,St=_0x54a041(0x202),ft=_0x54a041(0x334),$t=_0x54a041(0x394),pt=_0x54a041(0x2bf),Bt=0x7530,je='HEARTBEAT_TIMEOUT',gt=0x4e20,Ft=0x4e20,mt=_0x54a041(0x1a2),Wt=0x3,Gt=_0x54a041(0x2e8),Vt=0x3e8,It=_0x54a041(0x22d),Kt='/universer-api/comb',Et='LOGIN_URL_KEY',Yt=_0x54a041(0x489),qt=_0x54a041(0x397),zt=_0x54a041(0x380);var Ct=(_0x1ad892=>(_0x1ad892[_0x1ad892[_0x54a041(0x20a)]=0x0]=_0x54a041(0x20a),_0x1ad892[_0x1ad892['OK']=0x1]='OK',_0x1ad892[_0x1ad892[_0x54a041(0x2cb)]=0x2]=_0x54a041(0x2cb),_0x1ad892[_0x1ad892[_0x54a041(0x3e9)]=0x3]=_0x54a041(0x3e9),_0x1ad892[_0x1ad892[_0x54a041(0x163)]=0x4]=_0x54a041(0x163),_0x1ad892[_0x1ad892[_0x54a041(0x1bf)]=0x5]=_0x54a041(0x1bf),_0x1ad892[_0x1ad892['ALREADY_EXISTS']=0x6]=_0x54a041(0x3a0),_0x1ad892[_0x1ad892[_0x54a041(0x2ea)]=0x7]=_0x54a041(0x2ea),_0x1ad892[_0x1ad892[_0x54a041(0x2fa)]=0x8]=_0x54a041(0x2fa),_0x1ad892[_0x1ad892[_0x54a041(0x354)]=0x9]='COMPLETION_FINISHED',_0x1ad892[_0x1ad892['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1ad892[_0x1ad892[_0x54a041(0x399)]=0x1771]=_0x54a041(0x399),_0x1ad892[_0x1ad892[_0x54a041(0x369)]=0x1772]=_0x54a041(0x369),_0x1ad892[_0x1ad892[_0x54a041(0x2f7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1ad892[_0x1ad892['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1ad892[_0x1ad892[_0x54a041(0x424)]=0x1b5a]=_0x54a041(0x424),_0x1ad892[_0x1ad892[_0x54a041(0x309)]=0x1b5b]=_0x54a041(0x309),_0x1ad892[_0x1ad892[_0x54a041(0x3af)]=0x1b5c]=_0x54a041(0x3af),_0x1ad892[_0x1ad892[_0x54a041(0x470)]=0x1b5d]=_0x54a041(0x470),_0x1ad892[_0x1ad892[_0x54a041(0x1e1)]=0x1f41]=_0x54a041(0x1e1),_0x1ad892[_0x1ad892[_0x54a041(0x239)]=0x2329]=_0x54a041(0x239),_0x1ad892[_0x1ad892[_0x54a041(0x47f)]=0x232a]=_0x54a041(0x47f),_0x1ad892[_0x1ad892[_0x54a041(0x197)]=0x232b]=_0x54a041(0x197),_0x1ad892[_0x1ad892[_0x54a041(0x223)]=0x232c]=_0x54a041(0x223),_0x1ad892[_0x1ad892['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1ad892[_0x1ad892['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x54a041(0x207),_0x1ad892[_0x1ad892['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x54a041(0x3d0),_0x1ad892[_0x1ad892[_0x54a041(0x26e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1ad892[_0x1ad892[_0x54a041(0x138)]=0x2714]=_0x54a041(0x138),_0x1ad892[_0x1ad892[_0x54a041(0x26d)]=0x2af9]=_0x54a041(0x26d),_0x1ad892[_0x1ad892[_0x54a041(0x2e2)]=-0x1]=_0x54a041(0x2e2),_0x1ad892))(Ct||{}),X=(_0x5c9442=>(_0x5c9442[_0x5c9442[_0x54a041(0x129)]=0x0]='UNIVER_UNKNOWN',_0x5c9442[_0x5c9442[_0x54a041(0x40f)]=0x1]='UNIVER_DOC',_0x5c9442[_0x5c9442[_0x54a041(0x2cc)]=0x2]=_0x54a041(0x2cc),_0x5c9442[_0x5c9442['UNIVER_SLIDE']=0x3]=_0x54a041(0x1b4),_0x5c9442[_0x5c9442[_0x54a041(0x408)]=0x4]=_0x54a041(0x408),_0x5c9442[_0x5c9442[_0x54a041(0x2e2)]=-0x1]=_0x54a041(0x2e2),_0x5c9442))(X||{}),G=(_0x10931a=>(_0x10931a[_0x10931a[_0x54a041(0x3c2)]=0x0]=_0x54a041(0x3c2),_0x10931a[_0x10931a['HELLO']=0x1]=_0x54a041(0x2ee),_0x10931a[_0x10931a[_0x54a041(0x282)]=0x2]=_0x54a041(0x282),_0x10931a[_0x10931a[_0x54a041(0x378)]=0x3]=_0x54a041(0x378),_0x10931a[_0x10931a[_0x54a041(0x3ab)]=0x4]=_0x54a041(0x3ab),_0x10931a[_0x10931a[_0x54a041(0x3f0)]=0x5]=_0x54a041(0x3f0),_0x10931a[_0x10931a[_0x54a041(0x3bf)]=0x6]=_0x54a041(0x3bf),_0x10931a[_0x10931a['UNRECOGNIZED']=-0x1]=_0x54a041(0x2e2),_0x10931a))(G||{}),ae=(_0x1196a6=>(_0x1196a6[_0x1196a6['UNKNOWN_CODE']=0x0]=_0x54a041(0x44c),_0x1196a6[_0x1196a6['OK']=0x1]='OK',_0x1196a6[_0x1196a6[_0x54a041(0x243)]=0x2]=_0x54a041(0x243),_0x1196a6[_0x1196a6[_0x54a041(0x22f)]=0x3e9]=_0x54a041(0x22f),_0x1196a6[_0x1196a6[_0x54a041(0x1b9)]=0x3ea]=_0x54a041(0x1b9),_0x1196a6[_0x1196a6[_0x54a041(0x1e6)]=0x3eb]=_0x54a041(0x1e6),_0x1196a6[_0x1196a6[_0x54a041(0x228)]=0x3ec]=_0x54a041(0x228),_0x1196a6[_0x1196a6[_0x54a041(0x2e2)]=-0x1]='UNRECOGNIZED',_0x1196a6))(ae||{}),Tt=(_0x566df4=>(_0x566df4[_0x566df4['Undefined']=0x0]=_0x54a041(0x2ce),_0x566df4[_0x566df4[_0x54a041(0x40d)]=0x1]=_0x54a041(0x40d),_0x566df4[_0x566df4['HttpExport']=0x2]='HttpExport',_0x566df4[_0x566df4[_0x54a041(0x166)]=0x3]=_0x54a041(0x166),_0x566df4[_0x566df4['UnitSnapshot']=0x4]='UnitSnapshot',_0x566df4[_0x566df4['UNRECOGNIZED']=-0x1]=_0x54a041(0x2e2),_0x566df4))(Tt||{});const Y=_0x54a041(0x22a),Jt={};var Q=(_0x5aae99=>(_0x5aae99[_0x54a041(0x232)]='OTHER_CLIENT_EDITING',_0x5aae99[_0x54a041(0x3e9)]=_0x54a041(0x3e9),_0x5aae99[_0x54a041(0x35f)]=_0x54a041(0x35f),_0x5aae99[_0x54a041(0x1d8)]=_0x54a041(0x1d8),_0x5aae99['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x5aae99[_0x54a041(0x2ed)]=_0x54a041(0x2ed),_0x5aae99[_0x54a041(0x13d)]=_0x54a041(0x13d),_0x5aae99[_0x54a041(0x469)]=_0x54a041(0x469),_0x5aae99))(Q||{});class te{constructor(){var _0x3da9cb=_0x54a041;P(this,_0x3da9cb(0x483),new j[(_0x3da9cb(0x33b))]()),P(this,_0x3da9cb(0x247),this[_0x3da9cb(0x483)][_0x3da9cb(0x2df)]());}[_0x54a041(0x27b)](_0x1dbea2){var _0x5bb914=_0x54a041;this[_0x5bb914(0x483)][_0x5bb914(0x2db)](_0x1dbea2);}}const bt=a[_0x54a041(0x36a)](_0x54a041(0x36d));function Rt(_0x302630){var _0x1ede54=_0x54a041,_0x201a87,_0x504b0a,_0x3d701a,_0x3e13cb,_0x44fd5c;const _0x8a58d3=_0x302630[_0x1ede54(0x276)],_0x20a820=JSON['parse'](_0x8a58d3);switch(_0x20a820['cmd']){case G[_0x1ede54(0x3f0)]:case G['HELLO']:{const _0x20c17f=_0x20a820[_0x1ede54(0x3f2)];return{..._0x20a820,'data':_0x20c17f,'cmd':_0x20a820[_0x1ede54(0x214)]};}case G[_0x1ede54(0x282)]:{const _0x361fad=_0x20a820[_0x1ede54(0x315)];return{..._0x20a820,'data':_0x361fad,'cmd':_0x20a820['cmd']};}case G['RECV']:{const _0x5af475=_0x20a820[_0x1ede54(0x1fd)];switch(_0x5af475['eventID']){case g[_0x1ede54(0x252)][_0x1ede54(0x303)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x201a87=_0x5af475['permissionRejEvent'])==null?void 0x0:_0x201a87['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x311)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x504b0a=_0x5af475[_0x1ede54(0x467)])==null?void 0x0:_0x504b0a['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x1a5)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x3d701a=_0x5af475[_0x1ede54(0x2b9)])==null?void 0x0:_0x3d701a['cs']},'cmd':_0x20a820['cmd']};case g['CollaborationEvent'][_0x1ede54(0x2d4)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x3e13cb=_0x5af475[_0x1ede54(0x275)])==null?void 0x0:_0x3e13cb['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x269)]:return{..._0x20a820,'data':{..._0x5af475,'data':(_0x44fd5c=_0x5af475['csShouldRetryEvent'])==null?void 0x0:_0x44fd5c['cs']},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)]['UPDATE_CURSOR']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x2cf)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x32b)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x368)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x135)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x206)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x307)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475['liveShareNewHost']},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['LIVESHARE_FETCH_OPERATIONS']:case g['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x212)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)][_0x1ede54(0x220)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x28b)]},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['MSG_FOR_ERROR']:return{..._0x20a820,'data':_0x5af475,'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)]['COMMENT_UPDATE']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x286)]},'cmd':_0x20a820[_0x1ede54(0x214)]};case g[_0x1ede54(0x252)]['UPDATE_PERMISSION_OBJ']:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475['updatePermissionObjEvent']},'cmd':_0x20a820['cmd']};case g['CollaborationEvent'][_0x1ede54(0x331)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x215)]},'cmd':_0x20a820['cmd']};case g[_0x1ede54(0x252)][_0x1ede54(0x337)]:return{..._0x20a820,'data':{..._0x5af475,'data':_0x5af475[_0x1ede54(0x266)]},'cmd':_0x20a820['cmd']};default:return _0x20a820;}}default:return _0x20a820;}}function yt(_0x3493ce){var _0x27dfb8=_0x54a041;switch(_0x3493ce[_0x27dfb8(0x214)]){case G[_0x27dfb8(0x3f0)]:case G[_0x27dfb8(0x2ee)]:return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce['cmd'],'routeKey':_0x3493ce[_0x27dfb8(0x20e)]});case G[_0x27dfb8(0x3ab)]:{let _0x1ab161;switch(_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x392)]){case g[_0x27dfb8(0x252)][_0x27dfb8(0x478)]:{_0x1ab161={'eventID':g['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g['CollaborationEvent'][_0x27dfb8(0x135)]:{_0x1ab161={'eventID':g['CollaborationEvent'][_0x27dfb8(0x135)],'leaveEvent':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x32b)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x32b)],'joinEvent':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x307)]:{_0x1ab161={'eventID':g['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g[_0x27dfb8(0x252)][_0x27dfb8(0x24b)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g['CollaborationEvent'][_0x27dfb8(0x220)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x220)],'liveShareTerminate':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x276)]};break;}case g['CollaborationEvent'][_0x27dfb8(0x196)]:{_0x1ab161={'eventID':g['CollaborationEvent'][_0x27dfb8(0x196)],'liveShareRequestHost':_0x3493ce[_0x27dfb8(0x276)]['data']};break;}case g['CollaborationEvent'][_0x27dfb8(0x1c6)]:{_0x1ab161={'eventID':g[_0x27dfb8(0x252)][_0x27dfb8(0x1c6)]};break;}default:_0x1ab161={'eventID':_0x3493ce[_0x27dfb8(0x276)][_0x27dfb8(0x392)]};}return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce[_0x27dfb8(0x214)],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'collaMsg':_0x1ab161});}case G[_0x27dfb8(0x282)]:return JSON[_0x27dfb8(0x3d5)]({'cmd':_0x3493ce[_0x27dfb8(0x214)],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'joinReq':_0x3493ce[_0x27dfb8(0x276)]});case G['LEAVE']:return JSON['stringify']({'cmd':_0x3493ce['cmd'],'routeKey':_0x3493ce[_0x27dfb8(0x20e)],'leaveReq':_0x3493ce[_0x27dfb8(0x276)]});default:throw new Error(_0x27dfb8(0x2dd));}}var Xt=Object['getOwnPropertyDescriptor'],Zt=(_0x55b20e,_0x189139,_0x3c95ec,_0x43d696)=>{var _0x15ab50=_0x54a041;for(var _0x1a907f=_0x43d696>0x1?void 0x0:_0x43d696?Xt(_0x189139,_0x3c95ec):_0x189139,_0x585dc0=_0x55b20e[_0x15ab50(0x389)]-0x1,_0x2a90e5;_0x585dc0>=0x0;_0x585dc0--)(_0x2a90e5=_0x55b20e[_0x585dc0])&&(_0x1a907f=_0x2a90e5(_0x1a907f)||_0x1a907f);return _0x1a907f;},_e=(_0x3b2766,_0x6527ff)=>(_0x88e4ef,_0x3c817c)=>_0x6527ff(_0x88e4ef,_0x3c817c,_0x3b2766);const $e=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function Qt(_0xd32d2,_0x4aa4be,_0x2a6996){var _0x19f20d=_0x54a041;return _0xd32d2+'/'+_0x4aa4be+'/unit/'+_0x2a6996+_0x19f20d(0x242);}exports['CollaborationSocketService']=class extends a[_0x54a041(0x1e8)]{constructor(_0x1287a2,_0x33c473,_0x35ef86,_0x572d00,_0x20ce9a){var _0x30b758=_0x54a041;super(),this['_injector']=_0x1287a2,this[_0x30b758(0x44f)]=_0x33c473,this[_0x30b758(0x221)]=_0x35ef86,this[_0x30b758(0x40c)]=_0x572d00,this[_0x30b758(0x386)]=_0x20ce9a;}[_0x54a041(0x268)](_0x1090fc){var _0x30ad49=_0x54a041;const _0x1a4854=this[_0x30ad49(0x411)][_0x30ad49(0x1f4)](q[_0x30ad49(0x175)]);if(!_0x1a4854)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1eebb5=_0x1a4854[_0x30ad49(0x329)](_0x1090fc);if(!_0x1eebb5)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x59e3a0=new a['DisposableCollection'](),_0x1d6d31=new j['Subject']();_0x59e3a0[_0x30ad49(0x2c0)](_0x1eebb5[_0x30ad49(0x1fe)][_0x30ad49(0x383)](_0x21a72d=>_0x1d6d31['next'](_0x21a72d))),_0x59e3a0[_0x30ad49(0x2c0)](a[_0x30ad49(0x256)](()=>_0x1d6d31[_0x30ad49(0x31e)]()));const _0x21e739=new j[(_0x30ad49(0x33b))]();_0x59e3a0[_0x30ad49(0x2c0)](_0x1eebb5[_0x30ad49(0x226)][_0x30ad49(0x383)](_0x1d4536=>_0x21e739['next'](_0x1d4536))),_0x59e3a0[_0x30ad49(0x2c0)](a['toDisposable'](()=>_0x21e739['complete']()));const _0x4f2dc5=new j[(_0x30ad49(0x33b))]();_0x59e3a0['add'](_0x1eebb5[_0x30ad49(0x338)][_0x30ad49(0x383)](_0x1526be=>{var _0x250107=_0x30ad49;const _0x1c0e52=Rt(_0x1526be);_0x4f2dc5[_0x250107(0x2db)](_0x1c0e52);})),_0x59e3a0[_0x30ad49(0x2c0)](a['toDisposable'](()=>_0x4f2dc5[_0x30ad49(0x31e)]()));let _0x23b8d7;const _0x590103=()=>{var _0x101eee=_0x30ad49;_0x21e739[_0x101eee(0x2db)](new Event(_0x101eee(0x1c7))),_0x1d6d31[_0x101eee(0x2db)](new Event('connection\x20error')),_0x23b8d7['close']();};return _0x23b8d7={'memberID':'','close$':_0x1d6d31[_0x30ad49(0x2df)](),'error$':_0x21e739[_0x30ad49(0x2df)](),'open$':_0x1eebb5[_0x30ad49(0x3f4)],'message$':_0x4f2dc5[_0x30ad49(0x2df)](),'send':_0x18cb10=>{var _0x523dcd=_0x30ad49;if(_0x18cb10[_0x523dcd(0x214)]===G[_0x523dcd(0x3ab)]){if(_0x18cb10[_0x523dcd(0x276)][_0x523dcd(0x392)]===g[_0x523dcd(0x252)][_0x523dcd(0x344)]){this[_0x523dcd(0x305)](_0x23b8d7,_0x18cb10[_0x523dcd(0x276)])[_0x523dcd(0x156)](_0xe7831a=>{var _0x21b1d1=_0x523dcd;this[_0x21b1d1(0x40c)][_0x21b1d1(0x425)](_0xe7831a),_0x590103();});return;}if(_0x18cb10[_0x523dcd(0x276)]['eventID']===g[_0x523dcd(0x252)]['FETCH_MISSING']){const _0x53d477=_0x18cb10[_0x523dcd(0x276)];this[_0x523dcd(0x264)](_0x53d477)[_0x523dcd(0x1e0)](_0x1f4e66=>{var _0x1f17d0=_0x523dcd;_0x4f2dc5[_0x1f17d0(0x2db)]({'cmd':G[_0x1f17d0(0x3bf)],'code':ae['OK'],'routeKey':_0x53d477[_0x1f17d0(0x276)][_0x1f17d0(0x326)],'routeType':'','data':{'eventID':g['CollaborationEvent'][_0x1f17d0(0x396)],'data':{'changesets':_0x1f4e66}}});})[_0x523dcd(0x156)](_0x5bade0=>{var _0x3a8611=_0x523dcd;this[_0x3a8611(0x40c)][_0x3a8611(0x425)](_0x5bade0),_0x590103();});return;}}_0x1eebb5[_0x523dcd(0x132)](yt(_0x18cb10));},'close':()=>{var _0x323ebf=_0x30ad49;_0x1eebb5[_0x323ebf(0x1f8)](),_0x59e3a0[_0x323ebf(0x123)]();}},_0x23b8d7;}async[_0x54a041(0x305)](_0x69cc01,_0x1357aa){var _0x4d9f42=_0x54a041,_0x47172c,_0x271f35;const {unitType:_0x1587e4,unitID:_0x23192d,changeset:_0xbfc915}=_0x1357aa[_0x4d9f42(0x276)],_0xa0edc3={'unitID':_0x23192d,'memberID':_0x69cc01[_0x4d9f42(0x12c)],'type':_0x1587e4,'changeset':g[_0x4d9f42(0x23e)](_0xbfc915)},_0x21dfcb=this[_0x4d9f42(0x221)][_0x4d9f42(0x33f)](It),_0x2b68f8=this[_0x4d9f42(0x221)][_0x4d9f42(0x33f)](Y),_0x830e14=Qt((_0x271f35=(_0x47172c=_0x2b68f8==null?void 0x0:_0x2b68f8[_0x4d9f42(0x296)])!=null?_0x47172c:_0x21dfcb)!=null?_0x271f35:Kt,_0x1587e4,_0x23192d);try{await this[_0x4d9f42(0x44f)]['post'](_0x830e14,{'body':_0xa0edc3});}catch(_0x49095e){throw this['_logService'][_0x4d9f42(0x425)](_0x4d9f42(0x21a),_0x4d9f42(0x3eb)),_0x49095e;}}async['_fetchMissChangesets'](_0x43f2df){var _0xc0f758=_0x54a041;const {unitID:_0xed13e7,from:_0x464d6b,to:_0x4d096e,unitType:_0x2359fb}=_0x43f2df['data'];return(await this[_0xc0f758(0x386)][_0xc0f758(0x162)]({'metadata':void 0x0},{'unitID':_0xed13e7,'type':_0x2359fb,'from':_0x464d6b,'to':_0x4d096e}))['changesets'];}},exports['CollaborationSocketService']=Zt([_e(0x0,a['Inject'](a[_0x54a041(0x3d4)])),_e(0x1,a[_0x54a041(0x3fe)](q['HTTPService'])),_e(0x2,a[_0x54a041(0x2ca)]),_e(0x3,a[_0x54a041(0x388)]),_e(0x4,g[_0x54a041(0x1bd)])],exports[_0x54a041(0x44a)]);const ei=_0x54a041(0x20b);function ti(_0x3d8c58){var _0x4d03d0=_0x54a041;return JSON[_0x4d03d0(0x3d5)](_0x3d8c58)['length'];}class Be{constructor(){var _0x49a36b=_0x54a041;P(this,_0x49a36b(0x16d),new j[(_0x49a36b(0x33b))]()),P(this,_0x49a36b(0x336),this[_0x49a36b(0x16d)]['asObservable']());}[_0x54a041(0x148)](_0x19ed1a){var _0x150909=_0x54a041;this['_commentUpdate$'][_0x150909(0x2db)](_0x19ed1a);}}var ii=Object[_0x54a041(0x2be)],ni=(_0x23b076,_0x6bd3ec,_0xd3efac,_0x2a4a12)=>{for(var _0x19b58=_0x2a4a12>0x1?void 0x0:_0x2a4a12?ii(_0x6bd3ec,_0xd3efac):_0x6bd3ec,_0x27a28c=_0x23b076['length']-0x1,_0x1f98fb;_0x27a28c>=0x0;_0x27a28c--)(_0x1f98fb=_0x23b076[_0x27a28c])&&(_0x19b58=_0x1f98fb(_0x19b58)||_0x19b58);return _0x19b58;},Ke=(_0x115360,_0x3fbad4)=>(_0x16c837,_0x580731)=>_0x3fbad4(_0x16c837,_0x580731,_0x115360);exports[_0x54a041(0x289)]=class extends a[_0x54a041(0x1e8)]{constructor(_0x3cbc78,_0x3e19d3){var _0x4f5720=_0x54a041;super(),P(this,_0x4f5720(0x2bd),new Map()),P(this,_0x4f5720(0x357),new j[(_0x4f5720(0x33b))]()),(this[_0x4f5720(0x2a4)]=_0x3cbc78,this[_0x4f5720(0x310)]=_0x3e19d3,this[_0x4f5720(0x182)](j[_0x4f5720(0x21b)](this[_0x4f5720(0x2a4)][_0x4f5720(0x204)](a[_0x4f5720(0x128)]['UNIVER_SHEET'])['pipe'](W[_0x4f5720(0x332)](_0x32dee5=>_0x32dee5[_0x4f5720(0x3d8)]())),this[_0x4f5720(0x2a4)][_0x4f5720(0x204)](a[_0x4f5720(0x128)][_0x4f5720(0x40f)])[_0x4f5720(0x13f)](W['map'](_0x5d1bbf=>_0x5d1bbf['getUnitId']())),this[_0x4f5720(0x2a4)]['getTypeOfUnitDisposed$'](a[_0x4f5720(0x128)][_0x4f5720(0x1b4)])[_0x4f5720(0x13f)](W[_0x4f5720(0x332)](_0x2e00b0=>_0x2e00b0[_0x4f5720(0x3d8)]())))[_0x4f5720(0x383)](_0x57eb3a=>this[_0x4f5720(0x3c5)](_0x57eb3a))));}[_0x54a041(0x3df)](_0x3f994e){var _0x54ddf1=_0x54a041;return this[_0x54ddf1(0x2bd)][_0x54ddf1(0x169)](_0x3f994e)?j['of'](this['_roomMembers'][_0x54ddf1(0x1f4)](_0x3f994e)):this[_0x54ddf1(0x357)][_0x54ddf1(0x13f)](W['map'](_0x862105=>{var _0x71e00c=_0x54ddf1;if(_0x862105===_0x3f994e)return this['_roomMembers'][_0x71e00c(0x1f4)](_0x862105);}));}[_0x54a041(0x2a7)](_0x4f4253){var _0x134740=_0x54a041;this[_0x134740(0x310)][_0x134740(0x2a7)](_0x4f4253);}[_0x54a041(0x28d)](){var _0x558238=_0x54a041;return this[_0x558238(0x310)][_0x558238(0x28d)]();}[_0x54a041(0x36e)](_0x232141,_0x3405c1){var _0x51f6c2=_0x54a041;let _0x6670cf=this[_0x51f6c2(0x2bd)][_0x51f6c2(0x1f4)](_0x232141);_0x6670cf||(_0x6670cf=new ri(),this[_0x51f6c2(0x2bd)][_0x51f6c2(0x164)](_0x232141,_0x6670cf),this[_0x51f6c2(0x357)][_0x51f6c2(0x2db)](_0x232141)),_0x6670cf[_0x51f6c2(0x36e)](_0x3405c1);}['removeMember'](_0x2deca6,_0x16595){var _0x257adf=_0x54a041;const _0x125c82=this[_0x257adf(0x2bd)][_0x257adf(0x1f4)](_0x2deca6);_0x125c82&&_0x125c82[_0x257adf(0x449)](_0x16595);}[_0x54a041(0x1be)](_0x84a842){var _0x12c89f=_0x54a041;return this[_0x12c89f(0x2bd)][_0x12c89f(0x1f4)](_0x84a842);}[_0x54a041(0x171)](_0x8b66b1,_0x207ce1){var _0x72e45a=_0x54a041;const _0x23d1a5=this[_0x72e45a(0x2bd)][_0x72e45a(0x1f4)](_0x8b66b1);if(_0x23d1a5)return _0x23d1a5['getMember'](_0x207ce1);}[_0x54a041(0x3c5)](_0x553b0f){var _0x1142ca=_0x54a041;const _0x2584d2=this[_0x1142ca(0x2bd)]['get'](_0x553b0f);_0x2584d2&&(_0x2584d2[_0x1142ca(0x123)](),this[_0x1142ca(0x2bd)][_0x1142ca(0x11e)](_0x553b0f));}[_0x54a041(0x123)](){var _0xacea4f=_0x54a041;this[_0xacea4f(0x2bd)][_0xacea4f(0x176)](_0x5eb1d7=>_0x5eb1d7['dispose']()),this[_0xacea4f(0x2bd)][_0xacea4f(0x140)](),this[_0xacea4f(0x357)]['complete']();}},exports[_0x54a041(0x289)]=ni([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a[_0x54a041(0x3fe)](a[_0x54a041(0x15e)]))],exports[_0x54a041(0x289)]);class ri extends a[_0x54a041(0x1e8)]{constructor(){super(...arguments),P(this,'_members',new Map()),P(this,'_members$',new j['BehaviorSubject'](this['_members'])),P(this,'members$',this['_members$']['asObservable']());}[_0x54a041(0x123)](){var _0x466a70=_0x54a041;this[_0x466a70(0x3ad)][_0x466a70(0x140)]();}[_0x54a041(0x36e)](_0x59ee93){var _0x1c659e=_0x54a041;this[_0x1c659e(0x3ad)][_0x1c659e(0x164)](_0x59ee93[_0x1c659e(0x12c)],_0x59ee93),this[_0x1c659e(0x2da)]();}[_0x54a041(0x449)](_0x38f9d9){var _0xf393b2=_0x54a041;this[_0xf393b2(0x3ad)]['delete'](_0x38f9d9);}[_0x54a041(0x171)](_0x42a6a6){var _0x5b71cd=_0x54a041;return this[_0x5b71cd(0x3ad)][_0x5b71cd(0x1f4)](_0x42a6a6);}[_0x54a041(0x3a3)](){var _0x3b39bb=_0x54a041;return Array[_0x3b39bb(0x3c8)](this[_0x3b39bb(0x3ad)][_0x3b39bb(0x33e)]());}[_0x54a041(0x2da)](){var _0x3bd470=_0x54a041;this['_members$'][_0x3bd470(0x2db)](this[_0x3bd470(0x3ad)]);}}var si=Object[_0x54a041(0x2be)],oi=(_0x477bef,_0x117972,_0x2b6ae5,_0x3ac48b)=>{var _0x3bc3b5=_0x54a041;for(var _0x51f299=_0x3ac48b>0x1?void 0x0:_0x3ac48b?si(_0x117972,_0x2b6ae5):_0x117972,_0x36bb93=_0x477bef[_0x3bc3b5(0x389)]-0x1,_0x46043f;_0x36bb93>=0x0;_0x36bb93--)(_0x46043f=_0x477bef[_0x36bb93])&&(_0x51f299=_0x46043f(_0x51f299)||_0x51f299);return _0x51f299;},oe=(_0x297079,_0x48f5c8)=>(_0x1e28b5,_0x1c2bd1)=>_0x48f5c8(_0x1e28b5,_0x1c2bd1,_0x297079),se=(_0x4578e6=>(_0x4578e6[_0x4578e6[_0x54a041(0x3ee)]=0x0]='IDLE',_0x4578e6[_0x4578e6[_0x54a041(0x300)]=0x1]=_0x54a041(0x300),_0x4578e6[_0x4578e6[_0x54a041(0x1cc)]=0x2]=_0x54a041(0x1cc),_0x4578e6[_0x4578e6[_0x54a041(0x2e5)]=0x3]=_0x54a041(0x2e5),_0x4578e6))(se||{});const Ye={[ae['FAIL']]:_0x54a041(0x366),[ae[_0x54a041(0x22f)]]:'session.room-full',[ae[_0x54a041(0x1b9)]]:'session.room-not-exists',[ae[_0x54a041(0x1e6)]]:'session.room-permission-denied',[ae['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x54a041(0x168)};exports['CollaborationSession']=class extends a[_0x54a041(0x3d1)]{constructor(_0x3b5f6c,_0x2071c9,_0x3eb846,_0x2ab59f,_0x3a09e1,_0x5e6fe1,_0x487d4a,_0x5ebe89,_0x1a11a3){var _0x5add83=_0x54a041;super(),P(this,_0x5add83(0x216),new j[(_0x5add83(0x458))](0x0)),P(this,_0x5add83(0x328),this['_sessionStatus$'][_0x5add83(0x2df)]()),P(this,_0x5add83(0x483),new j[(_0x5add83(0x33b))]()),P(this,'event$',this[_0x5add83(0x483)]['asObservable']()),P(this,'_socket'),P(this,_0x5add83(0x30a)),P(this,'_collaborationTimeoutTimer'),P(this,_0x5add83(0x325),!0x1),P(this,_0x5add83(0x298),null),(this[_0x5add83(0x143)]=_0x3b5f6c,this['_logService']=_0x3eb846,this['_configService']=_0x2ab59f,this[_0x5add83(0x34f)]=_0x3a09e1,this[_0x5add83(0x353)]=_0x5e6fe1,this['_commentService']=_0x487d4a,this[_0x5add83(0x259)]=_0x5ebe89,this[_0x5add83(0x43d)]=_0x1a11a3,this['_shouldReportTelemetry']=!!this[_0x5add83(0x43d)],_0x2071c9[_0x5add83(0x13f)](j[_0x5add83(0x314)](this['dispose$']))[_0x5add83(0x383)](_0x4f656f=>{var _0x2bd352=_0x5add83,_0x56572c;typeof _0x4f656f>'u'||(this[_0x2bd352(0x211)]=_0x4f656f,_0x4f656f?(this[_0x2bd352(0x222)](_0x4f656f),this[_0x2bd352(0x30a)]=_0x4f656f[_0x2bd352(0x338)][_0x2bd352(0x383)](_0x570162=>{var _0x5943f0=_0x2bd352;_0x570162[_0x5943f0(0x20e)]===this['_unitID']&&this[_0x5943f0(0x161)](_0x570162);})):(this[_0x2bd352(0x3c3)](),this['_sessionStatus$'][_0x2bd352(0x2db)](0x2),(_0x56572c=this[_0x2bd352(0x30a)])==null||_0x56572c[_0x2bd352(0x2a0)](),this[_0x2bd352(0x30a)]=null));}));}get[_0x54a041(0x1d3)](){return this['_sessionStatus$']['getValue']();}[_0x54a041(0x437)](){var _0x397cd5=_0x54a041,_0x4ca06e,_0x478a2d;return(_0x478a2d=(_0x4ca06e=this[_0x397cd5(0x211)])==null?void 0x0:_0x4ca06e[_0x397cd5(0x12c)])!=null?_0x478a2d:null;}[_0x54a041(0x123)](){var _0x45ce10=_0x54a041;super[_0x45ce10(0x123)](),this['dispose$'][_0x45ce10(0x2db)](),this[_0x45ce10(0x29e)][_0x45ce10(0x31e)]();}[_0x54a041(0x1f8)](){var _0x1b24c2=_0x54a041,_0x3bacdf,_0x296387;this[_0x1b24c2(0x3c3)](),(_0x3bacdf=this[_0x1b24c2(0x211)])==null||_0x3bacdf['send']({'cmd':G['LEAVE'],'data':{'roomID':this[_0x1b24c2(0x143)]}}),(_0x296387=this[_0x1b24c2(0x211)])==null||_0x296387[_0x1b24c2(0x1f8)](),this[_0x1b24c2(0x483)][_0x1b24c2(0x31e)](),this[_0x1b24c2(0x216)][_0x1b24c2(0x31e)](),this[_0x1b24c2(0x123)]();}[_0x54a041(0x161)](_0x247139){var _0x50556d=_0x54a041;_0x247139[_0x50556d(0x214)]===G['JOIN']?this[_0x50556d(0x30d)](_0x247139):_0x247139[_0x50556d(0x214)]===G[_0x50556d(0x3bf)]&&this['_onRecvEvent'](_0x247139);}[_0x54a041(0x222)](_0xe400b5){var _0x1b794d=_0x54a041;this[_0x1b794d(0x216)][_0x1b794d(0x2db)](0x1),_0xe400b5[_0x1b794d(0x132)]({'cmd':G['JOIN'],'routeKey':this[_0x1b794d(0x143)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b794d(0x143)]}]}});}[_0x54a041(0x30d)](_0x4d68e4){var _0x4559d4=_0x54a041,_0x12c9a5;if(_0x4d68e4[_0x4559d4(0x1fb)]in Ye){this[_0x4559d4(0x259)][_0x4559d4(0x27b)]({'id':Q[_0x4559d4(0x3f9)],'data':Ye[_0x4d68e4[_0x4559d4(0x1fb)]]}),this[_0x4559d4(0x216)]['next'](0x2);return;}this[_0x4559d4(0x216)][_0x4559d4(0x2db)](0x3);const _0x4d65a9=(_0x12c9a5=_0x4d68e4[_0x4559d4(0x276)][_0x4559d4(0x475)][this['_unitID']])==null?void 0x0:_0x12c9a5['members'];_0x4d65a9&&_0x4d65a9[_0x4559d4(0x176)](_0x412f4f=>this[_0x4559d4(0x353)][_0x4559d4(0x36e)](this['_unitID'],_0x412f4f));}[_0x54a041(0x36c)](_0x29c248){var _0x29a02e=_0x54a041;try{const _0x1171d6=_0x29c248[_0x29a02e(0x276)];switch(_0x1171d6['eventID']){case g[_0x29a02e(0x252)][_0x29a02e(0x32b)]:this[_0x29a02e(0x398)](_0x1171d6),this[_0x29a02e(0x483)]['next'](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x135)]:this['_onUserLeave'](_0x1171d6),this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);break;case g['CollaborationEvent'][_0x29a02e(0x311)]:case g[_0x29a02e(0x252)][_0x29a02e(0x269)]:this[_0x29a02e(0x14c)](),this[_0x29a02e(0x1a9)](),this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x34c)]:this['_logService'][_0x29a02e(0x425)](_0x29a02e(0x1e5)+JSON[_0x29a02e(0x3d5)](_0x1171d6)),this[_0x29a02e(0x483)]['next'](_0x1171d6);break;case g[_0x29a02e(0x252)][_0x29a02e(0x1ea)]:this['_commentService'][_0x29a02e(0x148)](_0x1171d6[_0x29a02e(0x276)]),this['_event$']['next'](_0x1171d6);break;default:this[_0x29a02e(0x483)][_0x29a02e(0x2db)](_0x1171d6);}}catch(_0x3ad6b2){this[_0x29a02e(0x40c)]['error'](_0x3ad6b2,_0x29c248);}}[_0x54a041(0x398)](_0x4c849d){var _0x530ac0=_0x54a041;this[_0x530ac0(0x353)]['updateMember'](this['_unitID'],_0x4c849d['data']);}[_0x54a041(0x2ef)](_0x3ac9d1){var _0x23bd2c=_0x54a041;this[_0x23bd2c(0x353)][_0x23bd2c(0x449)](this['_unitID'],_0x3ac9d1[_0x23bd2c(0x276)][_0x23bd2c(0x12c)]);}async[_0x54a041(0x132)](_0x24e395,_0x439e9f){var _0x39e4c2=_0x54a041;if(this[_0x39e4c2(0x1d3)]!==0x3||!this[_0x39e4c2(0x211)])throw new Error(_0x39e4c2(0x15a));try{_0x24e395[_0x39e4c2(0x392)]===g[_0x39e4c2(0x252)][_0x39e4c2(0x344)]&&(this[_0x39e4c2(0x193)](),this[_0x39e4c2(0x14a)](_0x24e395)),this[_0x39e4c2(0x211)][_0x39e4c2(0x132)]({'cmd':G[_0x39e4c2(0x3ab)],'routeKey':_0x439e9f,'routeType':'','data':_0x24e395});}catch(_0x5e1eba){this[_0x39e4c2(0x40c)][_0x39e4c2(0x425)](_0x5e1eba);}}['_scheduleCollaborationTimeoutTimer'](){var _0x357fda=_0x54a041,_0x394fea;this[_0x357fda(0x1c1)]=setTimeout(()=>{var _0xd7ddae=_0x357fda;this[_0xd7ddae(0x1c1)]=null,this['_collaborationUIEventService'][_0xd7ddae(0x27b)]({'id':Q[_0xd7ddae(0x469)]});},(_0x394fea=this[_0x357fda(0x221)]['getConfig'](je))!=null?_0x394fea:gt);}[_0x54a041(0x1a9)](){var _0x2a6b1e=_0x54a041;this[_0x2a6b1e(0x1c1)]&&(clearTimeout(this[_0x2a6b1e(0x1c1)]),this[_0x2a6b1e(0x1c1)]=null);}[_0x54a041(0x14a)](_0x3f7441){var _0x59aa9b=_0x54a041;if(!this[_0x59aa9b(0x325)])return;const {data:_0x1d73b0}=_0x3f7441,{unitID:_0x2399fd,changeset:_0x116fec}=_0x1d73b0,{mutations:_0x1c85dc,type:_0xe090f0}=_0x116fec;this[_0x59aa9b(0x298)]={'unitId':_0x2399fd,'type':_0xe090f0,'startTime':performance[_0x59aa9b(0x24c)](),'stopTime':0x0,'duration':0x0,'size':ti(_0x1c85dc)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x9b9c23=_0x54a041;if(this[_0x9b9c23(0x325)]){if(!this['_telemetryInfo']){this[_0x9b9c23(0x40c)][_0x9b9c23(0x425)](_0x9b9c23(0x21a),_0x9b9c23(0x23c));return;}this[_0x9b9c23(0x298)][_0x9b9c23(0x295)]=performance[_0x9b9c23(0x24c)](),this['_telemetryInfo']['duration']=this[_0x9b9c23(0x298)]['stopTime']-this['_telemetryInfo'][_0x9b9c23(0x24f)],this[_0x9b9c23(0x43d)][_0x9b9c23(0x127)](ei,this[_0x9b9c23(0x298)]),this[_0x9b9c23(0x298)]=null;}}[_0x54a041(0x3c3)](){this['_telemetryInfo']=null;}},exports[_0x54a041(0x34d)]=oi([oe(0x2,a[_0x54a041(0x388)]),oe(0x3,a['IConfigService']),oe(0x4,a['Inject'](a['LocaleService'])),oe(0x5,a[_0x54a041(0x3fe)](exports[_0x54a041(0x289)])),oe(0x6,a['Inject'](Be)),oe(0x7,a['Inject'](te)),oe(0x8,a['Optional'](Mt['ITelemetryService']))],exports[_0x54a041(0x34d)]);var ai=Object[_0x54a041(0x2be)],ci=(_0x4556c4,_0x5c759d,_0xfcb57e,_0x35c147)=>{var _0x56c816=_0x54a041;for(var _0x710f09=_0x35c147>0x1?void 0x0:_0x35c147?ai(_0x5c759d,_0xfcb57e):_0x5c759d,_0x5b3be9=_0x4556c4[_0x56c816(0x389)]-0x1,_0x21a6d8;_0x5b3be9>=0x0;_0x5b3be9--)(_0x21a6d8=_0x4556c4[_0x5b3be9])&&(_0x710f09=_0x21a6d8(_0x710f09)||_0x710f09);return _0x710f09;},le=(_0x4770db,_0x2c4587)=>(_0xbdb49e,_0xc64a0d)=>_0x2c4587(_0xbdb49e,_0xc64a0d,_0x4770db);exports[_0x54a041(0x31a)]=class extends a[_0x54a041(0x1e8)]{constructor(_0x34b619,_0x45248e,_0x6d2850,_0x746e45,_0x12afa7,_0xaca487){var _0x7579e1=_0x54a041;super(),P(this,_0x7579e1(0x412),new j[(_0x7579e1(0x458))](void 0x0)),P(this,_0x7579e1(0x1ed),this[_0x7579e1(0x412)][_0x7579e1(0x2df)]()),P(this,_0x7579e1(0x167),null),P(this,_0x7579e1(0x35b),new Map()),P(this,_0x7579e1(0x139),new j['BehaviorSubject'](se[_0x7579e1(0x3ee)])),P(this,'status$',this[_0x7579e1(0x139)][_0x7579e1(0x2df)]()),P(this,_0x7579e1(0x1e4),!0x1),P(this,_0x7579e1(0x186)),P(this,_0x7579e1(0x1f3),0x0),P(this,'_sendHeartbeatTimer'),P(this,_0x7579e1(0x343)),(this[_0x7579e1(0x411)]=_0x34b619,this[_0x7579e1(0x40c)]=_0x45248e,this[_0x7579e1(0x221)]=_0x6d2850,this[_0x7579e1(0x46a)]=_0x746e45,this['_collaborationUIEventService']=_0x12afa7,this[_0x7579e1(0x453)]=_0xaca487,this[_0x7579e1(0x3d9)]());}get[_0x54a041(0x211)](){var _0x652b05=_0x54a041;return this[_0x652b05(0x412)][_0x652b05(0x364)]();}[_0x54a041(0x3d9)](){var _0x5637ad=_0x54a041;this[_0x5637ad(0x453)]&&this['disposeWithMe'](this[_0x5637ad(0x453)]['online$'][_0x5637ad(0x383)](_0x4112f9=>{var _0x4413c8=_0x5637ad;_0x4112f9&&!this['_socket']&&this[_0x4413c8(0x184)](),_0x4112f9||this[_0x4413c8(0x287)]();}));}[_0x54a041(0x123)](){var _0x376c8a=_0x54a041;super[_0x376c8a(0x123)](),this[_0x376c8a(0x39b)](),this[_0x376c8a(0x1c4)](),this['_clearHeartbeatTimer'](),this[_0x376c8a(0x35b)][_0x376c8a(0x176)](_0x5add7c=>_0x5add7c[_0x376c8a(0x123)]()),this[_0x376c8a(0x35b)][_0x376c8a(0x140)](),this[_0x376c8a(0x139)][_0x376c8a(0x31e)]();}async[_0x54a041(0x3a1)](_0x2f7e8d){var _0x38566d=_0x54a041;if(this[_0x38566d(0x35b)][_0x38566d(0x169)](_0x2f7e8d))return this[_0x38566d(0x35b)][_0x38566d(0x1f4)](_0x2f7e8d);this['_tryEnsureSocket']();const _0x231f00=this['_injector'][_0x38566d(0x1a4)](exports[_0x38566d(0x34d)],_0x2f7e8d,this['_socket$'][_0x38566d(0x2df)]());return this[_0x38566d(0x35b)][_0x38566d(0x164)](_0x2f7e8d,_0x231f00),_0x231f00;}['closeSession'](_0x4a72ee){var _0x3638cf=_0x54a041,_0x1da570;const _0x51e93c=this[_0x3638cf(0x35b)][_0x3638cf(0x1f4)](_0x4a72ee);_0x51e93c&&(this[_0x3638cf(0x35b)]['delete'](_0x4a72ee),_0x51e93c[_0x3638cf(0x1f8)]()),this[_0x3638cf(0x35b)][_0x3638cf(0x429)]||(_0x1da570=this[_0x3638cf(0x211)])==null||_0x1da570[_0x3638cf(0x1f8)]();}[_0x54a041(0x184)](){var _0x5cafc0=_0x54a041;this[_0x5cafc0(0x1f3)]=0x0,this[_0x5cafc0(0x39b)](),this[_0x5cafc0(0x28a)]();}[_0x54a041(0x39b)](){var _0x59e771=_0x54a041;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x59e771(0x186)]),this[_0x59e771(0x186)]=null);}async[_0x54a041(0x372)](){var _0x2e2688=_0x54a041,_0x58c697,_0x129a4a;const _0x178db5=this[_0x2e2688(0x221)][_0x2e2688(0x33f)](St),_0x1a508e=this[_0x2e2688(0x221)]['getConfig'](Y),_0x4415f0=(_0x129a4a=(_0x58c697=_0x1a508e==null?void 0x0:_0x1a508e[_0x2e2688(0x3e2)])!=null?_0x58c697:_0x178db5)!=null?_0x129a4a:ft,_0x257e23=await this[_0x2e2688(0x46a)][_0x2e2688(0x329)](_0x4415f0);return this[_0x2e2688(0x167)]=_0x257e23,_0x257e23;}async[_0x54a041(0x37a)](){var _0x5ea467=_0x54a041,_0x5b9617,_0x49de27;try{const _0x46a399=(_0x49de27=(_0x5b9617=this[_0x5ea467(0x211)])!=null?_0x5b9617:this[_0x5ea467(0x167)])!=null?_0x49de27:await this[_0x5ea467(0x372)]();if(_0x46a399){const _0x51a289=_0x46a399['send'];_0x46a399['send']=_0x3621db=>(this[_0x5ea467(0x36f)](),_0x51a289['apply'](_0x46a399,[_0x3621db])),_0x46a399[_0x5ea467(0x338)][_0x5ea467(0x383)](_0x308053=>this['_onMessage'](_0x46a399,_0x308053)),_0x46a399[_0x5ea467(0x226)][_0x5ea467(0x13f)](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](_0x1cf708=>this['_logService'][_0x5ea467(0x425)]('[CollaborationSessionService]:\x20socket\x20error',_0x1cf708)),_0x46a399[_0x5ea467(0x3f4)]['pipe'](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](()=>{this['_onConnectionOpen'](_0x46a399);}),_0x46a399[_0x5ea467(0x1fe)][_0x5ea467(0x13f)](W[_0x5ea467(0x2cd)](0x1))[_0x5ea467(0x383)](_0x2a5a32=>{var _0x296ea8=_0x5ea467;this[_0x296ea8(0x40c)][_0x296ea8(0x402)](_0x296ea8(0x2b4),'socket\x20close',_0x2a5a32),this[_0x296ea8(0x432)]();});}}catch(_0x4b8cab){this['_logService'][_0x5ea467(0x425)](_0x4b8cab),this[_0x5ea467(0x432)]();}}['_onConnectionOpen'](_0x3faf21){var _0x60d47c=_0x54a041;this[_0x60d47c(0x40c)][_0x60d47c(0x402)]('[CollaborationSessionService]','socket\x20open.'),_0x3faf21[_0x60d47c(0x132)]({'cmd':G[_0x60d47c(0x2ee)]}),this[_0x60d47c(0x36f)]();}[_0x54a041(0x287)](){var _0x3134ea=_0x54a041;this[_0x3134ea(0x1e4)]=!0x1,this['_candidateSocket']=null,this[_0x3134ea(0x139)][_0x3134ea(0x2db)](se[_0x3134ea(0x1cc)]),this['_socket$']['next'](null),this[_0x3134ea(0x1c4)](),this[_0x3134ea(0x240)]();}[_0x54a041(0x432)](){var _0x1fb968=_0x54a041,_0x7f3ead;this[_0x1fb968(0x287)](),this[_0x1fb968(0x1f3)]<((_0x7f3ead=this[_0x1fb968(0x221)][_0x1fb968(0x33f)](mt))!=null?_0x7f3ead:Wt)?(this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x1fb968(0x2ed)]}),this[_0x1fb968(0x28a)]()):this[_0x1fb968(0x259)]['emitEvent']({'id':Q['SOCKET_FAILED']});}['_tryReconnect'](){var _0x3a4d0f=_0x54a041,_0x4d9f74;const _0x1f02e0=this[_0x3a4d0f(0x1f3)],_0xd68717=this['_configService'][_0x3a4d0f(0x33f)](Y),_0x428fb1=_0x1f02e0===0x0?0x0:((_0x4d9f74=_0xd68717==null?void 0x0:_0xd68717[_0x3a4d0f(0x333)])!=null?_0x4d9f74:Ft)*0x2**_0x1f02e0;this[_0x3a4d0f(0x186)]=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x428fb1),this['_retryCount']+=0x1;}[_0x54a041(0x302)](_0x2a6586,_0x4e1d8f){var _0x23dc1c=_0x54a041;const {cmd:_0x1c9dad}=_0x4e1d8f;_0x1c9dad===G[_0x23dc1c(0x2ee)]&&!this[_0x23dc1c(0x1e4)]&&(_0x2a6586['memberID']=_0x4e1d8f[_0x23dc1c(0x276)]['memberID'],this['_socket$']['next'](_0x2a6586),this[_0x23dc1c(0x139)]['next'](se[_0x23dc1c(0x2e5)]),this[_0x23dc1c(0x1e4)]=!0x0,this[_0x23dc1c(0x167)]=null),_0x1c9dad===G[_0x23dc1c(0x3f0)]&&this['_clearTimeoutTimer'](),this[_0x23dc1c(0x36f)]();}[_0x54a041(0x36f)](){var _0x17804c=_0x54a041,_0x530f46;this[_0x17804c(0x240)](),this[_0x17804c(0x322)]=setTimeout(()=>this[_0x17804c(0x18b)](),(_0x530f46=this['_configService'][_0x17804c(0x33f)](pt))!=null?_0x530f46:Bt);}[_0x54a041(0x18b)](){var _0x58929b=_0x54a041;this['_socket'][_0x58929b(0x132)]({'cmd':G[_0x58929b(0x3f0)]}),this[_0x58929b(0x3e4)]();}[_0x54a041(0x3e4)](){var _0x315e17=_0x54a041,_0x3805e5;this[_0x315e17(0x343)]=setTimeout(()=>this[_0x315e17(0x432)](),(_0x3805e5=this[_0x315e17(0x221)]['getConfig'](je))!=null?_0x3805e5:gt);}[_0x54a041(0x240)](){var _0x8d826b=_0x54a041;this[_0x8d826b(0x322)]!=null&&(clearTimeout(this[_0x8d826b(0x322)]),this[_0x8d826b(0x322)]=null);}[_0x54a041(0x1c4)](){var _0x2d8b5c=_0x54a041;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2d8b5c(0x343)]=null);}},exports['CollaborationSessionService']=ci([le(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),le(0x1,a[_0x54a041(0x388)]),le(0x2,a[_0x54a041(0x2ca)]),le(0x3,$e),le(0x4,a[_0x54a041(0x3fe)](te)),le(0x5,a[_0x54a041(0x30b)](bt))],exports['CollaborationSessionService']);const V=[];for(let n=0x0;n<0x100;++n)V[_0x54a041(0x473)]((n+0x100)['toString'](0x10)[_0x54a041(0x165)](0x1));function hi(_0x31493b,_0x311462=0x0){var _0x4f3655=_0x54a041;return(V[_0x31493b[_0x311462+0x0]]+V[_0x31493b[_0x311462+0x1]]+V[_0x31493b[_0x311462+0x2]]+V[_0x31493b[_0x311462+0x3]]+'-'+V[_0x31493b[_0x311462+0x4]]+V[_0x31493b[_0x311462+0x5]]+'-'+V[_0x31493b[_0x311462+0x6]]+V[_0x31493b[_0x311462+0x7]]+'-'+V[_0x31493b[_0x311462+0x8]]+V[_0x31493b[_0x311462+0x9]]+'-'+V[_0x31493b[_0x311462+0xa]]+V[_0x31493b[_0x311462+0xb]]+V[_0x31493b[_0x311462+0xc]]+V[_0x31493b[_0x311462+0xd]]+V[_0x31493b[_0x311462+0xe]]+V[_0x31493b[_0x311462+0xf]])[_0x4f3655(0x267)]();}let Ue;const li=new Uint8Array(0x10);function _i(){var _0x464003=_0x54a041;if(!Ue){if(typeof crypto>'u'||!crypto[_0x464003(0x1a8)])throw new Error(_0x464003(0x126));Ue=crypto[_0x464003(0x1a8)][_0x464003(0x479)](crypto);}return Ue(li);}const ui=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x54a041(0x25a)][_0x54a041(0x479)](crypto),qe={'randomUUID':ui};function di(_0x324601,_0x340188,_0x1fecef){var _0x272302=_0x54a041,_0xcc3a30,_0x4f23be,_0x90921a;if(qe[_0x272302(0x25a)]&&!_0x324601)return qe[_0x272302(0x25a)]();_0x324601=_0x324601||{};const _0x1cdae4=(_0x90921a=(_0x4f23be=_0x324601[_0x272302(0x279)])!=null?_0x4f23be:(_0xcc3a30=_0x324601[_0x272302(0x137)])==null?void 0x0:_0xcc3a30[_0x272302(0x1ae)](_0x324601))!=null?_0x90921a:_i();if(_0x1cdae4['length']<0x10)throw new Error(_0x272302(0x136));return _0x1cdae4[0x6]=_0x1cdae4[0x6]&0xf|0x40,_0x1cdae4[0x8]=_0x1cdae4[0x8]&0x3f|0x80,hi(_0x1cdae4);}const z=a[_0x54a041(0x36a)](_0x54a041(0x393));function vi(_0x2e5083){var _0x770653=_0x54a041;return _0x770653(0x39e)+_0x2e5083;}var Si=Object[_0x54a041(0x2be)],fi=(_0x3a1453,_0x3c31c6,_0x1bc79a,_0xd2724b)=>{for(var _0xfef1c7=_0xd2724b>0x1?void 0x0:_0xd2724b?Si(_0x3c31c6,_0x1bc79a):_0x3c31c6,_0x3846fa=_0x3a1453['length']-0x1,_0x287343;_0x3846fa>=0x0;_0x3846fa--)(_0x287343=_0x3a1453[_0x3846fa])&&(_0xfef1c7=_0x287343(_0xfef1c7)||_0xfef1c7);return _0xfef1c7;},Pe=(_0x469403,_0x19402e)=>(_0x2499b4,_0x27351d)=>_0x19402e(_0x2499b4,_0x27351d,_0x469403);function pi(_0x4b5c42){var _0x378ce0=_0x54a041;const {unitID:_0x168b5e,mutations:_0x400ca3}=_0x4b5c42;return{'unitId':_0x168b5e,'subUnitId':_0x400ca3[0x0][_0x378ce0(0x124)][_0x378ce0(0x218)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x5b30a6,_0x2601d6,_0x32baf3){var _0x571737=_0x54a041;this[_0x571737(0x411)]=_0x5b30a6,this[_0x571737(0x430)]=_0x2601d6,this[_0x571737(0x2f3)]=_0x32baf3;}[_0x54a041(0x3ca)](_0x50aebe){var _0x3bc2bf=_0x54a041,_0x2967f6,_0x4d8d7c,_0x5ce2b3,_0x1557d5;const _0x54df51=this[_0x3bc2bf(0x411)][_0x3bc2bf(0x1f4)](Z[_0x3bc2bf(0x26f)]),{unitId:_0x4646d8,subUnitId:_0x5ddc79}=pi(_0x50aebe),_0x27dada=_0x54df51==null?void 0x0:_0x54df51[_0x3bc2bf(0x460)](_0x4646d8)[_0x3bc2bf(0x1d6)](),_0x445110=(_0x4d8d7c=(_0x2967f6=this[_0x3bc2bf(0x2f3)][_0x3bc2bf(0x23f)](_0x4646d8))==null?void 0x0:_0x2967f6[_0x3bc2bf(0x443)]())==null?void 0x0:_0x4d8d7c[_0x3bc2bf(0x1ac)]();if(_0x27dada[_0x3bc2bf(0x389)]===0x0||!_0x4646d8||!_0x5ddc79)return;const _0x5ad6fd=[{'id':Z[_0x3bc2bf(0x327)]['id'],'params':{'unitId':_0x4646d8,'subUnitId':_0x445110,'selections':a[_0x3bc2bf(0x1f2)][_0x3bc2bf(0x1aa)](_0x27dada)}}],_0xcb7f61=this[_0x3bc2bf(0x430)][_0x3bc2bf(0x3f7)](_0x50aebe,_0x5ad6fd);if(!g[_0x3bc2bf(0x38a)](_0xcb7f61))throw _0xcb7f61[_0x3bc2bf(0x425)];const _0x2e2fd9=(_0x1557d5=(_0x5ce2b3=_0xcb7f61[_0x3bc2bf(0x1d2)][0x0])==null?void 0x0:_0x5ce2b3[_0x3bc2bf(0x124)])==null?void 0x0:_0x1557d5[_0x3bc2bf(0x484)];if(Array[_0x3bc2bf(0x291)](_0x2e2fd9)&&_0x2e2fd9[_0x3bc2bf(0x389)]){if(_0x2e2fd9['length']===_0x5ad6fd[0x0][_0x3bc2bf(0x124)][_0x3bc2bf(0x484)][_0x3bc2bf(0x389)]&&_0x2e2fd9[_0x3bc2bf(0x23a)]((_0x437311,_0x5e1511)=>a[_0x3bc2bf(0x387)][_0x3bc2bf(0x25b)](_0x437311['range'],_0x5ad6fd[0x0][_0x3bc2bf(0x124)][_0x3bc2bf(0x484)][_0x5e1511][_0x3bc2bf(0x181)])))return;this[_0x3bc2bf(0x411)][_0x3bc2bf(0x1f4)](a[_0x3bc2bf(0x1ce)])[_0x3bc2bf(0x19e)](Z['SetSelectionsOperation']['id'],{'unitId':_0x4646d8,'subUnitId':_0x445110,'selections':_0x2e2fd9});}}},exports[_0x54a041(0x274)]=fi([Pe(0x0,a['Inject'](a[_0x54a041(0x3d4)])),Pe(0x1,g[_0x54a041(0x438)]),Pe(0x2,a[_0x54a041(0x30e)])],exports[_0x54a041(0x274)]);const ve=a[_0x54a041(0x36a)]('univer-pro.collaboration-client.single-active-unit-service');var Fe=(_0x29f0bd=>(_0x29f0bd[_0x29f0bd[_0x54a041(0x2f0)]=0x0]=_0x54a041(0x2f0),_0x29f0bd[_0x29f0bd[_0x54a041(0x3d7)]=0x1]='OTHER_CLIENTS_EDITING',_0x29f0bd))(Fe||{});const gi=new Set([Z[_0x54a041(0x2ae)]['id']]);function ze(_0x3c3636,_0x531351,_0x1dfb29,_0x5de46b,_0x136f43){var _0x4563df=_0x54a041,_0xf868a5,_0x31bb76,_0x3ee788,_0x1785a5;const _0x1a530c=[];for(const _0x33b5df of _0x3c3636)if(gi[_0x4563df(0x169)](_0x33b5df['id'])){if(_0x1a530c[_0x4563df(0x389)]>0x0)break;_0x1a530c['push'](_0x33b5df);break;}else _0x1a530c[_0x4563df(0x473)](_0x33b5df);const _0x33547c=(_0x31bb76=(_0xf868a5=_0x136f43[_0x4563df(0x28d)]())==null?void 0x0:_0xf868a5[_0x4563df(0x255)])!=null?_0x31bb76:_0x4563df(0x454),_0x44c7c3=(_0x1785a5=(_0x3ee788=_0x136f43[_0x4563df(0x28d)]())==null?void 0x0:_0x3ee788[_0x4563df(0x12c)])!=null?_0x1785a5:_0x4563df(0x454);return{'changeset':{'unitID':_0x531351,'type':g[_0x4563df(0x3e7)](_0x1dfb29[_0x4563df(0x134)](_0x531351)),'baseRev':_0x5de46b[_0x4563df(0x217)](_0x531351),'revision':0x0,'userID':_0x33547c,'memberID':_0x44c7c3,'mutations':_0x1a530c},'pendingMutations':_0x3c3636[_0x4563df(0x165)](_0x1a530c[_0x4563df(0x389)])};}function mi(_0x44f509,_0x5f5850,_0x76510,_0x3c951a,_0x495a85){var _0x5879f3=_0x54a041,_0x118b3e,_0x4b4c0b,_0x53766f,_0x4440a4;const _0x3c2e79=[_0x44f509[_0x5879f3(0x45b)]((_0x3c0754,_0x5dd3fe)=>{var _0x9ae501=_0x5879f3,_0x18138e;const {id:_0xbee40}=_0x3c0754,{id:_0x1d2a75,type:_0x3b6aea}=_0x5dd3fe,_0x53e616=(_0x18138e=_0x3c0754[_0x9ae501(0x124)])!=null?_0x18138e:{'actions':null},_0x342d5b=_0x5dd3fe['params'];if(_0xbee40&&_0xbee40!==_0x1d2a75)throw new Error(_0x9ae501(0x288)+_0xbee40+_0x9ae501(0x235)+_0x1d2a75+'.');return{..._0x3c0754,'id':_0x1d2a75,'type':_0x3b6aea,'params':{'unitId':_0x342d5b[_0x9ae501(0x382)],'textRanges':_0x342d5b['textRanges'],'actions':a[_0x9ae501(0x1ef)][_0x9ae501(0x11d)](_0x53e616['actions'],_0x342d5b[_0x9ae501(0x133)])}};},{})],_0x5a1268=(_0x4b4c0b=(_0x118b3e=_0x495a85[_0x5879f3(0x28d)]())==null?void 0x0:_0x118b3e[_0x5879f3(0x255)])!=null?_0x4b4c0b:'unknown',_0x379daf=(_0x4440a4=(_0x53766f=_0x495a85[_0x5879f3(0x28d)]())==null?void 0x0:_0x53766f[_0x5879f3(0x12c)])!=null?_0x4440a4:_0x5879f3(0x454);return{'changeset':{'unitID':_0x5f5850,'type':g[_0x5879f3(0x3e7)](_0x76510[_0x5879f3(0x134)](_0x5f5850)),'baseRev':_0x3c951a[_0x5879f3(0x217)](_0x5f5850),'revision':0x0,'userID':_0x5a1268,'memberID':_0x379daf,'mutations':_0x3c2e79},'pendingMutations':[]};}function Ot(_0x151c49,_0x5fa535){var _0x9bda=_0x54a041;const _0x436b07=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x436b07[_0x9bda(0x2db)](_0x5fa535),_0x151c49),_0x436b07[_0x9bda(0x2df)]()['pipe'](j[_0x9bda(0x2cd)](0x1));}const Ii={'id':Z[_0x54a041(0x153)]['id'],'type':a[_0x54a041(0x3a9)][_0x54a041(0x1b6)],'params':{}};var Ei=Object[_0x54a041(0x2be)],ce=(_0x382d5c,_0x430177,_0xf38194,_0x33d48f)=>{for(var _0x3baab8=_0x33d48f>0x1?void 0x0:_0x33d48f?Ei(_0x430177,_0xf38194):_0x430177,_0x5b2c20=_0x382d5c['length']-0x1,_0x27f027;_0x5b2c20>=0x0;_0x5b2c20--)(_0x27f027=_0x382d5c[_0x5b2c20])&&(_0x3baab8=_0x27f027(_0x3baab8)||_0x3baab8);return _0x3baab8;},w=(_0x3b1235,_0x2ee177)=>(_0x105fba,_0x1fb197)=>_0x2ee177(_0x105fba,_0x1fb197,_0x3b1235),We=(_0xdcd7cc=>(_0xdcd7cc[_0x54a041(0x440)]=_0x54a041(0x30f),_0xdcd7cc['SYNCED']=_0x54a041(0x471),_0xdcd7cc[_0x54a041(0x2d1)]=_0x54a041(0x3b2),_0xdcd7cc[_0x54a041(0x13e)]='awaiting',_0xdcd7cc[_0x54a041(0x43b)]=_0x54a041(0x154),_0xdcd7cc['FETCH_MISS']='fetch_missing',_0xdcd7cc[_0x54a041(0x35f)]=_0x54a041(0x363),_0xdcd7cc[_0x54a041(0x1cc)]='offline',_0xdcd7cc))(We||{});const Nt=0xea60;class he{constructor(_0x30b600,_0x46925a,_0x2a11ef,_0x20377c,_0x3639e9,_0x5cad1a,_0x36a74b,_0x291e95,_0x3fb5cc){var _0x24f6b4=_0x54a041;P(this,_0x24f6b4(0x3ff),null),P(this,_0x24f6b4(0x294),[]),(this['unitID']=_0x30b600,this['type']=_0x46925a,this[_0x24f6b4(0x434)]=_0x3639e9,this['_commandService']=_0x5cad1a,this[_0x24f6b4(0x188)]=_0x36a74b,this[_0x24f6b4(0x3c1)]=_0x291e95,this[_0x24f6b4(0x18e)]=_0x3fb5cc,this[_0x24f6b4(0x3ff)]=_0x2a11ef,this[_0x24f6b4(0x294)]=_0x20377c);}['_checkMissing'](_0x32b9e3){var _0x2538ec=_0x54a041;const _0x4d0a26=this[_0x2538ec(0x3c1)][_0x2538ec(0x217)](this[_0x2538ec(0x326)]);return _0x32b9e3[_0x2538ec(0x2f8)]>_0x4d0a26+0x1?(this[_0x2538ec(0x434)]['onMissingChangesets']({'from':_0x4d0a26,'to':_0x32b9e3[_0x2538ec(0x2f8)]-0x1}),!0x0):!0x1;}[_0x54a041(0x265)](_0x580a9e){var _0x20a3f6=_0x54a041;this[_0x20a3f6(0x188)][_0x20a3f6(0x3e3)](this[_0x20a3f6(0x326)],_0x580a9e);}[_0x54a041(0x47e)](_0x410a47){var _0x396f55=_0x54a041,_0x2152cf,_0x14fec8;(_0x14fec8=(_0x2152cf=this[_0x396f55(0x434)])[_0x396f55(0x1ad)])==null||_0x14fec8[_0x396f55(0x1ae)](_0x2152cf,_0x410a47);}[_0x54a041(0x446)](_0x542fb0){var _0x42f47c=_0x54a041,_0x3f9408,_0x3c95d2;return(_0x3c95d2=(_0x3f9408=this[_0x42f47c(0x434)])[_0x42f47c(0x12b)])==null?void 0x0:_0x3c95d2[_0x42f47c(0x1ae)](_0x3f9408,_0x542fb0);}[_0x54a041(0x199)](_0x5cd937){var _0x393d84=_0x54a041,_0x2071e5,_0x54d4fa;return(_0x54d4fa=(_0x2071e5=this['_handler'])['onTransformState'])==null?void 0x0:_0x54d4fa[_0x393d84(0x1ae)](_0x2071e5,_0x5cd937);}[_0x54a041(0x14d)](_0x5bd710){var _0x574826=_0x54a041,_0x37f38b,_0xe5d600,_0x28de94;return(_0x28de94=(_0xe5d600=(_0x37f38b=this[_0x574826(0x434)])[_0x574826(0x16a)])==null?void 0x0:_0xe5d600[_0x574826(0x1ae)](_0x37f38b,_0x5bd710))!=null?_0x28de94:_0x5bd710;}[_0x54a041(0x32d)](_0x56a2f6){var _0x207649=_0x54a041,_0x439d7d,_0x2846bb,_0x423c8a;return(_0x423c8a=(_0x2846bb=(_0x439d7d=this[_0x207649(0x434)])[_0x207649(0x1db)])==null?void 0x0:_0x2846bb['call'](_0x439d7d,_0x56a2f6))!=null?_0x423c8a:_0x56a2f6;}[_0x54a041(0x3aa)](_0x10aa4c){var _0xc01698=_0x54a041,_0x5f35e4,_0x1e746f;if(this[_0xc01698(0x15b)]===X[_0xc01698(0x40f)]){const {unitID:_0x2960ef,mutations:_0x5d5a73,memberID:_0x4b9e89}=_0x10aa4c,_0x4e1bba=_0x5d5a73[0x0][_0xc01698(0x124)][_0xc01698(0x444)];Array[_0xc01698(0x291)](_0x4e1bba)&&_0x4e1bba[_0xc01698(0x389)]>0x0&&((_0x1e746f=(_0x5f35e4=this[_0xc01698(0x434)])[_0xc01698(0x426)])==null||_0x1e746f['call'](_0x5f35e4,{'unitID':_0x2960ef,'memberID':_0x4b9e89,'textRanges':_0x4e1bba}));}}[_0x54a041(0x1dd)](){var _0x5eed2e=_0x54a041,_0x589c3b;(_0x589c3b=this[_0x5eed2e(0x18e)])==null||_0x589c3b[_0x5eed2e(0x15d)](this[_0x5eed2e(0x326)],this[_0x5eed2e(0x15b)],this['_awaitingChangeset'],this[_0x5eed2e(0x294)]);}['_getCurrentRevision'](){var _0x33250b=_0x54a041;return this[_0x33250b(0x3c1)][_0x33250b(0x217)](this[_0x33250b(0x326)]);}[_0x54a041(0x1c9)](){var _0x218f71=_0x54a041;this[_0x218f71(0x3c1)][_0x218f71(0x39f)](this[_0x218f71(0x326)]);}[_0x54a041(0x125)](_0x2de980){var _0x15fd4c=_0x54a041,_0x3b0b46;let _0x45fbc8=this[_0x15fd4c(0x14d)](_0x2de980);_0x45fbc8=this[_0x15fd4c(0x32d)](_0x45fbc8);const _0x49490f=a[_0x15fd4c(0x149)](_0x45fbc8[_0x15fd4c(0x41b)],this[_0x15fd4c(0x172)],{'fromCollab':!0x0});if(!_0x49490f['result'])throw _0x49490f[_0x15fd4c(0x425)]instanceof Error?_0x49490f[_0x15fd4c(0x425)]:new Error((_0x3b0b46=_0x49490f[_0x15fd4c(0x425)])!=null?_0x3b0b46:_0x15fd4c(0x3fc));this[_0x15fd4c(0x446)](_0x45fbc8),this[_0x15fd4c(0x199)](_0x45fbc8),this[_0x15fd4c(0x265)](_0x2de980),this[_0x15fd4c(0x47e)](_0x45fbc8),this['_syncEditingCollabCursor'](_0x45fbc8),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends he{constructor(_0x16863e,_0x1d0548,_0xd7584c,_0x4ac531,_0x15eae3,_0x553225,_0x1f1ae6,_0x982ae8,_0x46ac53,_0x504202){var _0x3fc363=_0x54a041;super(_0x16863e,_0x1d0548,null,[],_0xd7584c,_0x1f1ae6,_0x553225,_0x4ac531,_0x504202),P(this,'status','synced'),(this[_0x3fc363(0x411)]=_0x15eae3,this[_0x3fc363(0x40c)]=_0x982ae8,this[_0x3fc363(0x430)]=_0x46ac53,this['localCacheService']=_0x504202);}[_0x54a041(0x19b)](_0x4d5439){var _0x496264=_0x54a041;const _0xa1aba9=this['_injector'][_0x496264(0x1a4)](exports[_0x496264(0x1a6)],this['unitID'],this[_0x496264(0x15b)],[_0x4d5439],this[_0x496264(0x434)]);return _0xa1aba9[_0x496264(0x316)](),_0xa1aba9[_0x496264(0x1dd)](),_0xa1aba9;}['onRemoteChangeset'](_0x393256){var _0x4e6c62=_0x54a041;if(this[_0x4e6c62(0x2ba)](_0x393256))return this[_0x4e6c62(0x411)][_0x4e6c62(0x1a4)](exports['FetchingMissState'],this[_0x4e6c62(0x326)],this['type'],null,[],null,[_0x393256],this[_0x4e6c62(0x434)]);try{const _0x4bc3b4=this['_transformService'][_0x4e6c62(0x3f7)](_0x393256,[Ii]);if(g['isTransformMutationsWithChangesetSuccess'](_0x4bc3b4)){const {c1Prime:_0x26c2a9}=_0x4bc3b4;return this[_0x4e6c62(0x125)](_0x26c2a9),this;}throw _0x4bc3b4[_0x4e6c62(0x425)];}catch(_0x43d4f6){return this['_logService'][_0x4e6c62(0x425)](_0x43d4f6),this[_0x4e6c62(0x271)](!0x1);}}[_0x54a041(0x271)](_0x3ac39f){var _0x13b8dd=_0x54a041;return this[_0x13b8dd(0x411)][_0x13b8dd(0x1a4)](exports[_0x13b8dd(0x2ab)],this[_0x13b8dd(0x326)],this['type'],null,[],this['_handler'],_0x3ac39f);}[_0x54a041(0x146)](){var _0x59cea4=_0x54a041;throw new Error(_0x59cea4(0x320));}[_0x54a041(0x42b)](){var _0x4dc910=_0x54a041;throw new Error(_0x4dc910(0x1a0));}['onRemoteRetry'](){return this;}[_0x54a041(0x439)](){var _0x18f0cf=_0x54a041;return this['_injector'][_0x18f0cf(0x1a4)](exports[_0x18f0cf(0x18a)],this['unitID'],this[_0x18f0cf(0x15b)],null,[],this[_0x18f0cf(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x18998d=_0x54a041;throw new Error(_0x18998d(0x185));}[_0x54a041(0x2f2)](){var _0x4a1ca3=_0x54a041;const _0x27ccaa=this['_revisionService'][_0x4a1ca3(0x217)](this[_0x4a1ca3(0x326)]);return this[_0x4a1ca3(0x434)][_0x4a1ca3(0x3ac)]({'from':_0x27ccaa,'to':0x0}),this['_injector']['createInstance'](exports[_0x4a1ca3(0x477)],this[_0x4a1ca3(0x326)],this[_0x4a1ca3(0x15b)],null,[],null,[],this['_handler']);}},exports['SyncedState']=ce([w(0x3,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a[_0x54a041(0x249)]),w(0x6,a[_0x54a041(0x1ce)]),w(0x7,a[_0x54a041(0x388)]),w(0x8,g[_0x54a041(0x438)]),w(0x9,a['Optional'](z))],exports[_0x54a041(0x346)]),exports[_0x54a041(0x1a6)]=class extends he{constructor(_0x33b889,_0x4b351b,_0x597c30,_0x5512b1,_0x1f698b,_0x1e3670,_0x2be41e,_0x410596,_0x2a212e,_0x3b8a1e,_0x48efc7,_0x7e8f52,_0x5b90a0,_0x1b8c3e){var _0x34ada9=_0x54a041;super(_0x33b889,_0x4b351b,null,_0x597c30,_0x5512b1,_0x2a212e,_0x5b90a0,_0x1e3670,_0x1b8c3e),P(this,_0x34ada9(0x335),_0x34ada9(0x3b2)),P(this,_0x34ada9(0x2a2),null),P(this,'_sendingTimer',null),(this[_0x34ada9(0x411)]=_0x1f698b,this['_memberService']=_0x2be41e,this[_0x34ada9(0x40c)]=_0x410596,this['_configService']=_0x3b8a1e,this['_transformService']=_0x48efc7,this['_univerInstanceService']=_0x7e8f52);}['appendMutation'](_0x5c11b5){var _0x37b567=_0x54a041;return this[_0x37b567(0x294)]['push'](_0x5c11b5),this[_0x37b567(0x1dd)](),this;}[_0x54a041(0x403)](_0xfd63ff){var _0x46642c=_0x54a041;if(this[_0x46642c(0x2ba)](_0xfd63ff))return this[_0x46642c(0x1b3)](),this[_0x46642c(0x411)][_0x46642c(0x1a4)](exports[_0x46642c(0x477)],this[_0x46642c(0x326)],this[_0x46642c(0x15b)],null,this[_0x46642c(0x294)],null,[_0xfd63ff],this['_handler']);try{const _0xe1036c=this['_transformService'][_0x46642c(0x3f7)](_0xfd63ff,this[_0x46642c(0x294)]);if(g['isTransformMutationsWithChangesetSuccess'](_0xe1036c)){const {c1Prime:_0x5094fe,m2Prime:_0x30fa3a}=_0xe1036c;this['_executeRemoteChangeset'](_0x5094fe);const _0x55fd50=this[_0x46642c(0x411)][_0x46642c(0x1a4)](exports[_0x46642c(0x1a6)],this['unitID'],this[_0x46642c(0x15b)],_0x30fa3a,this['_handler']);this[_0x46642c(0x1b3)]();const _0x1016f2=new Date()[_0x46642c(0x34b)](),_0x437fef=this[_0x46642c(0x2a2)]?Math[_0x46642c(0x1d5)](this[_0x46642c(0x2a2)]-_0x1016f2,0x0):this[_0x46642c(0x3b1)]();return _0x55fd50['_schedule'](_0x437fef),_0x55fd50;}throw _0xe1036c[_0x46642c(0x425)];}catch(_0x59df36){return this['_logService']['error'](_0x59df36),this[_0x46642c(0x271)](!0x1);}}['onRemoteAck'](){var _0x580b82=_0x54a041;throw new Error(_0x580b82(0x441));}[_0x54a041(0x42b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){var _0x37316d=_0x54a041;return this[_0x37316d(0x1b3)](),this['_injector'][_0x37316d(0x1a4)](exports[_0x37316d(0x18a)],this['unitID'],this[_0x37316d(0x15b)],null,this[_0x37316d(0x294)],this[_0x37316d(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x316)](_0x3b2415){var _0x53947d=_0x54a041;const _0x5c7ccb=_0x3b2415!=null?_0x3b2415:this[_0x53947d(0x3b1)]();this[_0x53947d(0x2a2)]=new Date()[_0x53947d(0x34b)]()+_0x5c7ccb,this['_sendingTimer']=setTimeout(()=>{var _0x216230=_0x53947d;this[_0x216230(0x1b3)]();let _0x5c0007=null;switch(this[_0x216230(0x15b)]){case X['UNIVER_SHEET']:{_0x5c0007=ze(this[_0x216230(0x294)],this['unitID'],this['_univerInstanceService'],this[_0x216230(0x3c1)],this[_0x216230(0x353)]);break;}case X['UNIVER_DOC']:{this[_0x216230(0x294)][_0x216230(0x23a)](_0x202170=>_0x202170['id']===ut[_0x216230(0x391)]['id'])?_0x5c0007=mi(this[_0x216230(0x294)],this[_0x216230(0x326)],this['_univerInstanceService'],this[_0x216230(0x3c1)],this['_memberService']):_0x5c0007=ze(this[_0x216230(0x294)],this[_0x216230(0x326)],this['_univerInstanceService'],this['_revisionService'],this[_0x216230(0x353)]);break;}default:throw new Error(_0x216230(0x46c)+this[_0x216230(0x15b)]+_0x216230(0x2b1));}const {changeset:_0x392472,pendingMutations:_0x347a3f}=_0x5c0007;this[_0x216230(0x434)]['onSendChangeset'](_0x392472);const _0x12b0d3=_0x347a3f[_0x216230(0x389)]?this['_injector'][_0x216230(0x1a4)](exports['AwaitingWithPendingState'],this[_0x216230(0x326)],this[_0x216230(0x15b)],_0x392472,_0x347a3f,this[_0x216230(0x434)],void 0x0):this[_0x216230(0x411)][_0x216230(0x1a4)](exports[_0x216230(0x122)],this[_0x216230(0x326)],this['type'],_0x392472,this[_0x216230(0x434)]);_0x12b0d3[_0x216230(0x1dd)](),this[_0x216230(0x434)]['onStateChange'](this,_0x12b0d3);},_0x5c7ccb);}[_0x54a041(0x3b1)](){var _0x464618=_0x54a041,_0x191c9f;const _0x166e7c=this['_configService'][_0x464618(0x33f)](Y);return(_0x191c9f=_0x166e7c==null?void 0x0:_0x166e7c['sendChangesetTimeout'])!=null?_0x191c9f:jt;}[_0x54a041(0x431)](){var _0x5d2b98=_0x54a041;throw new Error(_0x5d2b98(0x3e1));}[_0x54a041(0x1b3)](){var _0x4320ea=_0x54a041;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4320ea(0x2b3)]),this[_0x4320ea(0x2b3)]=null);}[_0x54a041(0x271)](_0x59967e){var _0x2c7932=_0x54a041;return this[_0x2c7932(0x1b3)](),this['_injector']['createInstance'](exports[_0x2c7932(0x2ab)],this[_0x2c7932(0x326)],this[_0x2c7932(0x15b)],null,this[_0x2c7932(0x294)],this['_handler'],_0x59967e);}},exports[_0x54a041(0x1a6)]=ce([w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x6,a['Inject'](exports[_0x54a041(0x289)])),w(0x7,a[_0x54a041(0x388)]),w(0x8,a[_0x54a041(0x1ce)]),w(0x9,a[_0x54a041(0x2ca)]),w(0xa,g[_0x54a041(0x438)]),w(0xb,a[_0x54a041(0x30e)]),w(0xc,a[_0x54a041(0x249)]),w(0xd,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x1a6)]),exports[_0x54a041(0x122)]=class extends he{constructor(_0x36d0ed,_0x3582fc,_0x41c03b,_0x151a73,_0x4360aa,_0x817c9e,_0x5d92fc,_0x26700e,_0x527c00,_0x80e0a5,_0x4f8374){var _0x336144=_0x54a041;super(_0x36d0ed,_0x3582fc,_0x41c03b,[],_0x151a73,_0x5d92fc,_0x80e0a5,_0x817c9e,_0x4f8374),P(this,_0x336144(0x335),'awaiting'),P(this,_0x336144(0x142),0x0),P(this,_0x336144(0x194)),P(this,_0x336144(0x421)),(this[_0x336144(0x411)]=_0x4360aa,this['_logService']=_0x26700e,this[_0x336144(0x430)]=_0x527c00);}[_0x54a041(0x19b)](_0x39cc6c){var _0x2fc66f=_0x54a041;this['_clearScheduledTask']();const _0x27a862=this['_injector']['createInstance'](exports[_0x2fc66f(0x356)],this[_0x2fc66f(0x326)],this[_0x2fc66f(0x15b)],this['_awaitingChangeset'],[_0x39cc6c],this[_0x2fc66f(0x434)],this[_0x2fc66f(0x194)]);return _0x27a862['_updateLocalCache'](),_0x27a862;}['onRemoteChangeset'](_0x1a3c5b){var _0x440153=_0x54a041;if(this[_0x440153(0x2ba)](_0x1a3c5b))return this[_0x440153(0x1b3)](),this['_injector'][_0x440153(0x1a4)](exports[_0x440153(0x477)],this[_0x440153(0x326)],this[_0x440153(0x15b)],this[_0x440153(0x3ff)],[],null,[_0x1a3c5b],this['_handler']);try{const _0x533853=this[_0x440153(0x430)][_0x440153(0x179)]([_0x1a3c5b],[this['_awaitingChangeset']],!0x1);if(g[_0x440153(0x3a8)](_0x533853)){const {c1Prime:_0x327b18,c2Prime:_0x5c5057}=_0x533853;this[_0x440153(0x125)](_0x327b18[0x0]),_0x5c5057[0x0]['baseRev']=this[_0x440153(0x488)](),this['_clearScheduledTask']();const _0x3cf07f=this[_0x440153(0x411)][_0x440153(0x1a4)](exports['AwaitingState'],this[_0x440153(0x326)],this[_0x440153(0x15b)],_0x5c5057[0x0],this[_0x440153(0x434)]);return _0x3cf07f[_0x440153(0x1dd)](),_0x3cf07f;}return this[_0x440153(0x271)](!0x1);}catch(_0x5701dd){return this['_logService'][_0x440153(0x425)](_0x5701dd),this['_onConflict'](!0x1);}}[_0x54a041(0x146)](_0x408cb8){var _0x28f2f3=_0x54a041;this[_0x28f2f3(0x1b3)]();const _0x3347b2=this[_0x28f2f3(0x3c1)]['getCurrentRevOfUnit'](this[_0x28f2f3(0x326)]);if(_0x408cb8[_0x28f2f3(0x2f8)]<_0x3347b2-0x1)return this;if(this[_0x28f2f3(0x2ba)](_0x408cb8))return this[_0x28f2f3(0x411)][_0x28f2f3(0x1a4)](exports[_0x28f2f3(0x477)],this[_0x28f2f3(0x326)],this[_0x28f2f3(0x15b)],null,[],this[_0x28f2f3(0x3ff)],[],this[_0x28f2f3(0x434)]);this[_0x28f2f3(0x1c9)]();const _0x450dec=this[_0x28f2f3(0x411)]['createInstance'](exports[_0x28f2f3(0x346)],this['unitID'],this[_0x28f2f3(0x15b)],this[_0x28f2f3(0x434)]);return _0x450dec[_0x28f2f3(0x1dd)](),_0x450dec;}[_0x54a041(0x42b)](_0x154f84){var _0x25c27d=_0x54a041;return this['_onConflict'](!!(_0x154f84!=null&&_0x154f84[_0x25c27d(0x2c4)]));}[_0x54a041(0x39c)](_0x18e329){var _0x20cb47=_0x54a041;return this[_0x20cb47(0x142)]>Nt?this['toggleOffline']():(this[_0x20cb47(0x194)]=Ot(this['_resendTimeout'],{'timeout':this[_0x20cb47(0x142)],'reqId':_0x18e329[_0x20cb47(0x306)]}),this[_0x20cb47(0x421)]=this['_resendTimer'][_0x20cb47(0x383)](({reqId:_0x53f5c2,timeout:_0xf92452})=>{var _0x202b32=_0x20cb47;this[_0x202b32(0x27c)](_0x53f5c2,_0xf92452);}),this);}[_0x54a041(0x439)](){var _0xeabc9d=_0x54a041;return this[_0xeabc9d(0x1b3)](),this[_0xeabc9d(0x411)][_0xeabc9d(0x1a4)](exports[_0xeabc9d(0x18a)],this[_0xeabc9d(0x326)],this[_0xeabc9d(0x15b)],this[_0xeabc9d(0x3ff)],[],this[_0xeabc9d(0x434)]);}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x579f75=_0x54a041;this[_0x579f75(0x434)]['onSendChangeset'](this[_0x579f75(0x3ff)]);}[_0x54a041(0x271)](_0x255ff4){var _0x121b9b=_0x54a041;return this[_0x121b9b(0x1b3)](),this['_injector'][_0x121b9b(0x1a4)](exports[_0x121b9b(0x2ab)],this[_0x121b9b(0x326)],this[_0x121b9b(0x15b)],this[_0x121b9b(0x3ff)],[],this[_0x121b9b(0x434)],_0x255ff4);}[_0x54a041(0x27c)](_0x4b7747,_0x4a960f){var _0x1d97bd=_0x54a041,_0x1fa455;_0x4b7747===((_0x1fa455=this[_0x1d97bd(0x3ff)])==null?void 0x0:_0x1fa455['reqId'])&&(this[_0x1d97bd(0x431)](),this['_resendTimeout']=_0x4a960f===0x0?0x3e8:_0x4a960f*0x2);}['_clearScheduledTask'](){var _0x1f2cb6=_0x54a041,_0x5abe15;(_0x5abe15=this[_0x1f2cb6(0x421)])==null||_0x5abe15[_0x1f2cb6(0x2a0)](),this['_resendTimeout']=0x0;}},exports[_0x54a041(0x122)]=ce([w(0x4,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x5,a['Inject'](g['RevisionService'])),w(0x6,a[_0x54a041(0x1ce)]),w(0x7,a[_0x54a041(0x388)]),w(0x8,g[_0x54a041(0x438)]),w(0x9,a[_0x54a041(0x249)]),w(0xa,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x122)]),exports[_0x54a041(0x356)]=class extends he{constructor(_0xc3d0c4,_0x17c270,_0x3dec93,_0x4c6539,_0x197438,_0x2b0029,_0x15a9da,_0x42d139,_0xce36fa,_0x2e1b62,_0x1b8e8d,_0x246fbf,_0x233ec0){var _0x32b3eb=_0x54a041;super(_0xc3d0c4,_0x17c270,_0x3dec93,_0x4c6539,_0x197438,_0xce36fa,_0x246fbf,_0x42d139,_0x233ec0),P(this,_0x32b3eb(0x335),_0x32b3eb(0x154)),P(this,_0x32b3eb(0x142),0x0),P(this,_0x32b3eb(0x194)),P(this,_0x32b3eb(0x421)),(this['_injector']=_0x15a9da,this[_0x32b3eb(0x40c)]=_0x2e1b62,this[_0x32b3eb(0x430)]=_0x1b8e8d,this[_0x32b3eb(0x262)]=_0x233ec0,_0x2b0029&&(this[_0x32b3eb(0x194)]=_0x2b0029,this['_sender']=this[_0x32b3eb(0x194)][_0x32b3eb(0x383)](({reqId:_0x5eaf31,timeout:_0x56818e})=>{var _0x45cc80=_0x32b3eb;this[_0x45cc80(0x27c)](_0x5eaf31,_0x56818e);})));}[_0x54a041(0x19b)](_0x134c15){var _0x4116e1=_0x54a041;return this[_0x4116e1(0x294)][_0x4116e1(0x473)](_0x134c15),this;}['onRemoteChangeset'](_0x1c08f9){var _0x5bdbf8=_0x54a041;if(this[_0x5bdbf8(0x2ba)](_0x1c08f9))return this[_0x5bdbf8(0x1b3)](),this[_0x5bdbf8(0x411)][_0x5bdbf8(0x1a4)](exports[_0x5bdbf8(0x477)],this['unitID'],this[_0x5bdbf8(0x15b)],this[_0x5bdbf8(0x3ff)],this[_0x5bdbf8(0x294)],null,[_0x1c08f9],this[_0x5bdbf8(0x434)]);try{const _0x1a44bf=this['_transformService'][_0x5bdbf8(0x179)]([_0x1c08f9],[this[_0x5bdbf8(0x3ff)]],!0x1);if(g[_0x5bdbf8(0x3a8)](_0x1a44bf)){const {c1Prime:_0x5087fb,c2Prime:_0xe4214f}=_0x1a44bf,_0x485ff5=this[_0x5bdbf8(0x430)]['transformMutationsWithChangeset'](_0x5087fb[0x0],this[_0x5bdbf8(0x294)]);if(g[_0x5bdbf8(0x38a)](_0x485ff5)){const {c1Prime:_0x1880a9,m2Prime:_0x2709c2}=_0x485ff5;return this[_0x5bdbf8(0x125)](_0x1880a9),_0xe4214f[0x0][_0x5bdbf8(0x219)]=this[_0x5bdbf8(0x488)](),this[_0x5bdbf8(0x1b3)](),this[_0x5bdbf8(0x411)][_0x5bdbf8(0x1a4)](exports['AwaitingWithPendingState'],this[_0x5bdbf8(0x326)],this[_0x5bdbf8(0x15b)],_0xe4214f[0x0],_0x2709c2,this[_0x5bdbf8(0x434)],void 0x0);}throw _0x485ff5[_0x5bdbf8(0x425)];}throw _0x1a44bf['error'];}catch(_0x3792e7){return this['_logService'][_0x5bdbf8(0x425)](_0x3792e7),this[_0x5bdbf8(0x271)](!0x1);}}[_0x54a041(0x146)](_0x26ee89){var _0x2a6a84=_0x54a041;if(this[_0x2a6a84(0x1b3)](),this[_0x2a6a84(0x2ba)](_0x26ee89))return this[_0x2a6a84(0x411)][_0x2a6a84(0x1a4)](exports[_0x2a6a84(0x477)],this['unitID'],this[_0x2a6a84(0x15b)],null,this[_0x2a6a84(0x294)],this['_awaitingChangeset'],[],this['_handler']);this[_0x2a6a84(0x1c9)]();const _0x1fa4f6=this[_0x2a6a84(0x411)][_0x2a6a84(0x1a4)](exports[_0x2a6a84(0x1a6)],this[_0x2a6a84(0x326)],this['type'],this[_0x2a6a84(0x294)],this[_0x2a6a84(0x434)]);return _0x1fa4f6[_0x2a6a84(0x316)](),_0x1fa4f6['_updateLocalCache'](),_0x1fa4f6;}[_0x54a041(0x42b)](_0x16837c){var _0x59bad2=_0x54a041;return this['_onConflict'](!!(_0x16837c!=null&&_0x16837c[_0x59bad2(0x2c4)]));}[_0x54a041(0x39c)](_0x303d53){var _0x3c1289=_0x54a041;return this['_resendTimeout']>Nt?this['toggleOffline']():(this['_resendTimer']=Ot(this[_0x3c1289(0x142)],{'timeout':this[_0x3c1289(0x142)],'reqId':_0x303d53[_0x3c1289(0x306)]}),this['_sender']=this[_0x3c1289(0x194)]['subscribe'](({reqId:_0x77a3a9,timeout:_0x4e60df})=>{this['_resendWithTimeout'](_0x77a3a9,_0x4e60df);}),this);}[_0x54a041(0x439)](){var _0x259a88=_0x54a041;return this[_0x259a88(0x1b3)](),this[_0x259a88(0x411)][_0x259a88(0x1a4)](exports[_0x259a88(0x18a)],this['unitID'],this[_0x259a88(0x15b)],this[_0x259a88(0x3ff)],this['_pendingMutations'],this[_0x259a88(0x434)]);}[_0x54a041(0x486)](){return this;}['resend'](){var _0x174ac7=_0x54a041;this[_0x174ac7(0x434)][_0x174ac7(0x292)](this[_0x174ac7(0x3ff)]);}[_0x54a041(0x271)](_0x3317a2){var _0x314b4d=_0x54a041;return this['_clearScheduledTask'](),this['_injector'][_0x314b4d(0x1a4)](exports[_0x314b4d(0x2ab)],this[_0x314b4d(0x326)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x3317a2);}[_0x54a041(0x27c)](_0x1a6a4b,_0xd690ee){var _0x292491=_0x54a041,_0x33cba6;_0x1a6a4b===((_0x33cba6=this[_0x292491(0x3ff)])==null?void 0x0:_0x33cba6['reqId'])&&(this[_0x292491(0x431)](),this[_0x292491(0x142)]=_0xd690ee===0x0?0x3e8:_0xd690ee*0x2);}['_clearScheduledTask'](){var _0xa7f920=_0x54a041,_0x16a966;(_0x16a966=this[_0xa7f920(0x421)])==null||_0x16a966[_0xa7f920(0x2a0)](),this[_0xa7f920(0x142)]=0x0;}},exports[_0x54a041(0x356)]=ce([w(0x6,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),w(0x7,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x8,a[_0x54a041(0x1ce)]),w(0x9,a[_0x54a041(0x388)]),w(0xa,g[_0x54a041(0x438)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x356)]),exports[_0x54a041(0x2ab)]=class extends he{constructor(_0x305799,_0x3e5547,_0x32c621,_0x344cc7,_0x137b5b,_0x4513e9=!0x1,_0x1d9136,_0x4914d9,_0x1b8b02,_0x516a88,_0x17c93e,_0x38add5,_0x1d74cd){var _0x28f20f=_0x54a041;super(_0x305799,_0x3e5547,_0x32c621,_0x344cc7,_0x137b5b,_0x4914d9,_0x1b8b02,_0x516a88,_0x1d74cd),P(this,_0x28f20f(0x335),_0x28f20f(0x363)),(this[_0x28f20f(0x284)]=_0x4513e9,this['_permissionService']=_0x1d9136,this['_localeService']=_0x17c93e,this[_0x28f20f(0x259)]=_0x38add5,this[_0x28f20f(0x262)]=_0x1d74cd,this['_showConflictNotification'](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x54a041(0x19b)](){return this;}[_0x54a041(0x403)](){return this;}[_0x54a041(0x146)](){return this;}[_0x54a041(0x42b)](){return this;}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){return this;}[_0x54a041(0x486)](){return this;}[_0x54a041(0x431)](){var _0x11da85=_0x54a041;throw new Error(_0x11da85(0x16c));}[_0x54a041(0x203)](){var _0x520516=_0x54a041,_0x5897b6;(_0x5897b6=this[_0x520516(0x18e)])==null||_0x5897b6[_0x520516(0x15d)](this[_0x520516(0x326)],this[_0x520516(0x15b)],null,[]);}[_0x54a041(0x342)](){var _0x382fc0=_0x54a041;this[_0x382fc0(0x284)]?this['_collaborationUIEventService']['emitEvent']({'id':Q[_0x382fc0(0x3e9)]}):this[_0x382fc0(0x259)][_0x382fc0(0x27b)]({'id':Q[_0x382fc0(0x35f)]});}['_disableEditing'](){var _0x444fab=_0x54a041;this['_permissionService'][_0x444fab(0x43c)](new Z[(_0x444fab(0x21f))](this['unitID'])['id'],!0x1);}},exports['ConflictState']=ce([w(0x6,a['Inject'](a[_0x54a041(0x1ab)])),w(0x7,a[_0x54a041(0x1ce)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a['Inject'](te)),w(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x2ab)]),exports[_0x54a041(0x18a)]=class extends he{constructor(_0x3d3c81,_0x1c0477,_0x20d394,_0x3a2b3d,_0x2c15f3,_0x3f45cf,_0x3436f2,_0x2aefcd,_0x4dcc43,_0x44d4c9){var _0x42ffa6=_0x54a041;super(_0x3d3c81,_0x1c0477,_0x20d394,_0x3a2b3d,_0x2c15f3,_0x2aefcd,_0x4dcc43,_0x3436f2,_0x44d4c9),P(this,'status',_0x42ffa6(0x1ba)),this[_0x42ffa6(0x411)]=_0x3f45cf;}[_0x54a041(0x19b)](_0x3f5ca7){var _0x3bee23=_0x54a041;return this[_0x3bee23(0x294)][_0x3bee23(0x473)](_0x3f5ca7),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x5cd0fe){var _0x490942=_0x54a041;throw new Error(_0x490942(0x1a7));}[_0x54a041(0x146)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x54a041(0x42b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x54a041(0x39c)](){return this;}[_0x54a041(0x439)](){return this;}[_0x54a041(0x486)](){var _0x4e8d1b=_0x54a041;const {_injector:_0x5e3d27,_pendingMutations:_0x265fb3,_awaitingChangeset:_0x558d3d,unitID:_0x7feec8,_handler:_0x5b30c8,type:_0x2e29bd}=this,_0x562869=Dt(_0x5e3d27,_0x7feec8,_0x2e29bd,_0x558d3d,_0x265fb3,_0x5b30c8);return _0x562869 instanceof exports[_0x4e8d1b(0x1a6)]?_0x562869[_0x4e8d1b(0x316)]():(_0x562869 instanceof exports[_0x4e8d1b(0x356)]||_0x562869 instanceof exports['AwaitingState'])&&_0x562869['resend'](),_0x562869;}['resend'](){var _0x4d9f49=_0x54a041;throw new Error(_0x4d9f49(0x2e4));}},exports[_0x54a041(0x18a)]=ce([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x7,a[_0x54a041(0x1ce)]),w(0x8,a[_0x54a041(0x249)]),w(0x9,a[_0x54a041(0x30b)](z))],exports['OfflineState']),exports[_0x54a041(0x477)]=class extends he{constructor(_0x5050a4,_0x30102b,_0x299ce3,_0x3c57ad,_0x19fcc0,_0x52fa62,_0x543c76,_0x16ec67,_0x28dac0,_0x2fbf07,_0x18f579,_0x21f201,_0x5b948b,_0x9af21b){var _0x1a62ce=_0x54a041;super(_0x5050a4,_0x30102b,_0x299ce3,_0x3c57ad,_0x543c76,_0x18f579,_0x21f201,_0x28dac0,_0x9af21b),P(this,_0x1a62ce(0x335),_0x1a62ce(0x2de)),(this[_0x1a62ce(0x3db)]=_0x19fcc0,this['_queuedRemoteChangesets']=_0x52fa62,this[_0x1a62ce(0x411)]=_0x16ec67,this['_logService']=_0x2fbf07,this[_0x1a62ce(0x430)]=_0x5b948b,this['localCacheService']=_0x9af21b);}[_0x54a041(0x370)](_0x1ec6ac){var _0x42757f=_0x54a041;try{const _0x3846ad=[..._0x1ec6ac,...this[_0x42757f(0x41c)]],_0x2ab81c=[this[_0x42757f(0x3ff)]||this[_0x42757f(0x3db)]][_0x42757f(0x27d)](_0x292e14=>!!_0x292e14);let _0x1e878a,_0x2015b8;if(_0x2ab81c[_0x42757f(0x389)]){const _0x271774=this['_transformService']['transformChangesets'](_0x3846ad,_0x2ab81c,!0x1);if(!g[_0x42757f(0x3a8)](_0x271774))throw _0x271774[_0x42757f(0x425)];_0x1e878a=_0x271774['c1Prime'],_0x2015b8=_0x271774['c2Prime'];}else _0x1e878a=_0x3846ad,_0x2015b8=[];let _0x295c0a=this[_0x42757f(0x294)];_0x1e878a[_0x42757f(0x176)](_0x3dfcf9=>{var _0x181b9f=_0x42757f;let _0x20923b;if(_0x295c0a[_0x181b9f(0x389)]){const _0x111165=this[_0x181b9f(0x430)][_0x181b9f(0x3f7)](_0x3dfcf9,_0x295c0a);if(!g[_0x181b9f(0x38a)](_0x111165))throw _0x111165['error'];_0x20923b=_0x111165[_0x181b9f(0x38d)],_0x295c0a=_0x111165[_0x181b9f(0x1d2)];}else _0x20923b=_0x3dfcf9;this[_0x181b9f(0x125)](_0x20923b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x42757f(0x1c9)](),this[_0x42757f(0x3ff)]&&_0x2015b8['length']&&(_0x2015b8[0x0]['baseRev']=this[_0x42757f(0x488)]());let _0x2457a4;if(this[_0x42757f(0x3ff)]&&_0x295c0a[_0x42757f(0x389)]!==0x0)_0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x356)],this['unitID'],this[_0x42757f(0x15b)],_0x2015b8[0x0],_0x295c0a,this[_0x42757f(0x434)],void 0x0);else{if(this['_awaitingChangeset']&&_0x295c0a['length']===0x0)_0x2015b8[0x0][_0x42757f(0x219)]=this[_0x42757f(0x488)](),_0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x122)],this['unitID'],this[_0x42757f(0x15b)],_0x2015b8[0x0],this[_0x42757f(0x434)]);else{if(_0x295c0a[_0x42757f(0x389)]!==0x0){const _0x2a468c=this[_0x42757f(0x411)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x42757f(0x15b)],_0x295c0a,this[_0x42757f(0x434)]);_0x2a468c[_0x42757f(0x316)](),_0x2457a4=_0x2a468c;}else _0x2457a4=this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x346)],this[_0x42757f(0x326)],this[_0x42757f(0x15b)],this[_0x42757f(0x434)]);}}return _0x2457a4[_0x42757f(0x1dd)](),_0x2457a4;}catch(_0x25edee){return this[_0x42757f(0x40c)][_0x42757f(0x425)](_0x42757f(0x457),'failed\x20to\x20apply\x20missed\x20changesets!',_0x25edee),this[_0x42757f(0x411)][_0x42757f(0x1a4)](exports[_0x42757f(0x2ab)],this[_0x42757f(0x326)],this[_0x42757f(0x15b)],this[_0x42757f(0x3ff)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x54a041(0x431)](){var _0x5a911b=_0x54a041;throw new Error(_0x5a911b(0x40e));}[_0x54a041(0x19b)](_0x26f5b6){var _0x467650=_0x54a041;return this[_0x467650(0x294)][_0x467650(0x473)](_0x26f5b6),this;}[_0x54a041(0x403)](_0x210ef6){var _0x552c04=_0x54a041;return this[_0x552c04(0x41c)][_0x552c04(0x473)](_0x210ef6),this;}[_0x54a041(0x146)](_0x45611e){var _0x81deef=_0x54a041;if(this[_0x81deef(0x3ff)])return this[_0x81deef(0x3db)]=this[_0x81deef(0x3ff)],this[_0x81deef(0x3ff)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x54a041(0x42b)](_0x4cad5f){var _0x13cbd7=_0x54a041;return this[_0x13cbd7(0x271)](!!(_0x4cad5f!=null&&_0x4cad5f[_0x13cbd7(0x2c4)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x37f312=_0x54a041;return this[_0x37f312(0x411)][_0x37f312(0x1a4)](exports[_0x37f312(0x18a)],this[_0x37f312(0x326)],this[_0x37f312(0x15b)],this[_0x37f312(0x3ff)],this[_0x37f312(0x294)],this[_0x37f312(0x434)]);}[_0x54a041(0x486)](){return this;}['_onConflict'](_0x231403){var _0x8c1fb0=_0x54a041;return this[_0x8c1fb0(0x411)][_0x8c1fb0(0x1a4)](exports[_0x8c1fb0(0x2ab)],this[_0x8c1fb0(0x326)],this[_0x8c1fb0(0x15b)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x8c1fb0(0x434)],_0x231403);}},exports[_0x54a041(0x477)]=ce([w(0x7,a['Inject'](a[_0x54a041(0x3d4)])),w(0x8,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),w(0x9,a[_0x54a041(0x388)]),w(0xa,a[_0x54a041(0x1ce)]),w(0xb,a['IUndoRedoService']),w(0xc,g[_0x54a041(0x438)]),w(0xd,a['Optional'](z))],exports[_0x54a041(0x477)]);function Dt(_0xbe8504,_0x3c5717,_0x2cdf88,_0x57b4d0,_0x81d486,_0xf98a){var _0x4e7b67=_0x54a041;return _0x57b4d0&&_0x81d486[_0x4e7b67(0x389)]?_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x356)],_0x3c5717,_0x2cdf88,_0x57b4d0,_0x81d486,_0xf98a,void 0x0):_0x57b4d0?_0xbe8504['createInstance'](exports['AwaitingState'],_0x3c5717,_0x2cdf88,_0x57b4d0,_0xf98a):_0x81d486[_0x4e7b67(0x389)]?_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x1a6)],_0x3c5717,_0x2cdf88,_0x81d486,_0xf98a):_0xbe8504[_0x4e7b67(0x1a4)](exports[_0x4e7b67(0x346)],_0x3c5717,_0x2cdf88,_0xf98a);}var Ci=Object[_0x54a041(0x2be)],Ge=(_0xd27664,_0x540538,_0x524635,_0x5aac61)=>{var _0x3be1fd=_0x54a041;for(var _0x32d7f5=_0x5aac61>0x1?void 0x0:_0x5aac61?Ci(_0x540538,_0x524635):_0x540538,_0x1daba4=_0xd27664[_0x3be1fd(0x389)]-0x1,_0x1b9039;_0x1daba4>=0x0;_0x1daba4--)(_0x1b9039=_0xd27664[_0x1daba4])&&(_0x32d7f5=_0x1b9039(_0x32d7f5)||_0x32d7f5);return _0x32d7f5;},$=(_0x4dff7b,_0x55e547)=>(_0x308196,_0x35a72c)=>_0x55e547(_0x308196,_0x35a72c,_0x4dff7b);exports[_0x54a041(0x41f)]=class extends a[_0x54a041(0x3d1)]{constructor(_0x3b049c,_0x205ca8,_0x283c80,_0x2e0fe6,_0x450afc,_0x6926f4,_0x5aed7c,_0x175795,_0x325b17,_0x424440,_0x5b4dd7,_0x5469b2,_0x575b62){var _0xdedb4c=_0x54a041;super(),P(this,_0xdedb4c(0x34a),new j[(_0xdedb4c(0x458))](null)),P(this,'state$',this[_0xdedb4c(0x34a)][_0xdedb4c(0x2df)]()),P(this,_0xdedb4c(0x1cb)),P(this,_0xdedb4c(0x151),!0x1),P(this,_0xdedb4c(0x41d),''),P(this,_0xdedb4c(0x2fc),0x0),P(this,'status$',this[_0xdedb4c(0x1c0)][_0xdedb4c(0x13f)](j[_0xdedb4c(0x332)](_0x1d2f5f=>_0x1d2f5f?_0x1d2f5f[_0xdedb4c(0x335)]:We[_0xdedb4c(0x1cc)]),j[_0xdedb4c(0x17d)](0x1))),P(this,_0xdedb4c(0x1b7),!0x1),P(this,'_remoteChangesetQueue',[]),(this[_0xdedb4c(0x326)]=_0x3b049c,this[_0xdedb4c(0x2e6)]=_0x205ca8,this[_0xdedb4c(0x2f4)]=_0x283c80,this['_injector']=_0x2e0fe6,this[_0xdedb4c(0x405)]=_0x450afc,this['_localeService']=_0x6926f4,this[_0xdedb4c(0x3c1)]=_0x5aed7c,this[_0xdedb4c(0x3f6)]=_0x175795,this['_logService']=_0x325b17,this[_0xdedb4c(0x172)]=_0x424440,this[_0xdedb4c(0x227)]=_0x5b4dd7,this[_0xdedb4c(0x183)]=_0x5469b2,this[_0xdedb4c(0x18e)]=_0x575b62);}get[_0x54a041(0x26a)](){var _0x4d7870=_0x54a041;return this[_0x4d7870(0x1cb)];}async['init'](){var _0x512e63=_0x54a041;if(this['state'])throw new Error(_0x512e63(0x3e8));await this['_init']();}['pauseCollaboration'](){var _0xed7c71=_0x54a041;return this[_0xed7c71(0x151)]=!0x0,a[_0xed7c71(0x256)](()=>{var _0x55f944=_0xed7c71;this[_0x55f944(0x151)]=!0x1,this[_0x55f944(0x330)]();});}[_0x54a041(0x237)](_0x6c3ca1){var _0x2c6f1f=_0x54a041;this[_0x2c6f1f(0x23d)](_0x6c3ca1);}['_updateState'](_0x4f37a1){var _0x45a663=_0x54a041;this[_0x45a663(0x1cb)]=_0x4f37a1,this['_state$'][_0x45a663(0x2db)](_0x4f37a1);}async[_0x54a041(0x45d)](){var _0x3adde2=_0x54a041,_0x10246a;this[_0x3adde2(0x400)](await this[_0x3adde2(0x157)]()),this[_0x3adde2(0x183)]&&((_0x10246a=this[_0x3adde2(0x183)])==null||_0x10246a[_0x3adde2(0x358)](this[_0x3adde2(0x326)]),this[_0x3adde2(0x182)](this[_0x3adde2(0x183)]['getUnitStatus$'](this[_0x3adde2(0x326)])[_0x3adde2(0x383)](_0x19c70a=>{var _0x4011f4=_0x3adde2;this[_0x4011f4(0x40c)][_0x4011f4(0x402)](_0x4011f4(0x35a),'editing\x20status\x20changed\x20to',_0x19c70a),_0x19c70a===Fe[_0x4011f4(0x3d7)]?(this['_eventService'][_0x4011f4(0x27b)]({'id':Q[_0x4011f4(0x232)]}),this[_0x4011f4(0x227)][_0x4011f4(0x43c)](new Z[(_0x4011f4(0x21f))](this['unitID'])['id'],!0x1),this[_0x4011f4(0x227)][_0x4011f4(0x416)](!0x1)):(this['_permissionService'][_0x4011f4(0x43c)](new Z[(_0x4011f4(0x21f))](this[_0x4011f4(0x326)])['id'],!0x0),this[_0x4011f4(0x227)][_0x4011f4(0x416)](!0x0));})));let _0xb96418=!0x1;return this[_0x3adde2(0x182)](this[_0x3adde2(0x2e6)][_0x3adde2(0x328)]['subscribe'](_0x2fe764=>{var _0x55bfc4=_0x3adde2;_0x2fe764===se[_0x55bfc4(0x2e5)]?this[_0x55bfc4(0x1b5)](_0xb96418):_0x2fe764===se['OFFLINE']&&(_0xb96418=!0x0,this[_0x55bfc4(0x1e3)]());})),this[_0x3adde2(0x182)](this[_0x3adde2(0x2e6)][_0x3adde2(0x247)][_0x3adde2(0x383)](_0x4d8577=>{var _0x7dda48=_0x3adde2;try{switch(_0x4d8577[_0x7dda48(0x392)]){case g[_0x7dda48(0x252)][_0x7dda48(0x1a5)]:{this[_0x7dda48(0x2f6)](g[_0x7dda48(0x231)](_0x4d8577[_0x7dda48(0x276)]));break;}case g[_0x7dda48(0x252)][_0x7dda48(0x311)]:{this[_0x7dda48(0x3b6)](_0x4d8577['data']);break;}case g[_0x7dda48(0x252)]['CHANGESET_REJ']:{this[_0x7dda48(0x3bb)]();break;}case g[_0x7dda48(0x252)]['CHANGESET_SHOULD_RETRY']:{this[_0x7dda48(0x2a5)](_0x4d8577['data']);break;}case g[_0x7dda48(0x252)][_0x7dda48(0x396)]:{this['_onFetchMissResult'](_0x4d8577[_0x7dda48(0x276)]['changesets']['map'](_0x2984a7=>g[_0x7dda48(0x231)](_0x2984a7)));break;}case g['CollaborationEvent'][_0x7dda48(0x303)]:{this[_0x7dda48(0x3bb)]({'isPermissionRej':!0x0});break;}case g[_0x7dda48(0x252)][_0x7dda48(0x337)]:break;}}catch(_0x68b94c){throw console[_0x7dda48(0x425)](_0x7dda48(0x3fb),_0x68b94c),_0x68b94c;}})),this['_state'];}[_0x54a041(0x3d6)](){var _0x38ef86=_0x54a041;this[_0x38ef86(0x1b7)]=!0x1;}[_0x54a041(0x2e9)](){var _0x12742b=_0x54a041;if(this[_0x12742b(0x1b7)])throw new Error(_0x12742b(0x285));this[_0x12742b(0x1b7)]=!0x0;}[_0x54a041(0x23d)](_0x2be3f6){var _0x20908e=_0x54a041;this[_0x20908e(0x2e9)](),this[_0x20908e(0x400)](this['_state'][_0x20908e(0x19b)](_0x2be3f6)),this[_0x20908e(0x3d6)]();}[_0x54a041(0x2f6)](_0x3b41c2){var _0x1d292e=_0x54a041;if(!(_0x3b41c2[_0x1d292e(0x2f8)]<=this[_0x1d292e(0x3c1)][_0x1d292e(0x217)](this[_0x1d292e(0x326)]))){if(this['_collaborationPaused']){this[_0x1d292e(0x1eb)][_0x1d292e(0x473)](_0x3b41c2);return;}this['_applyRemoteChangeset'](_0x3b41c2);}}['_exhaustRemoteChangesetQueue'](){var _0x37085c=_0x54a041;this[_0x37085c(0x1eb)]['forEach'](_0x2faab8=>this[_0x37085c(0x2c6)](_0x2faab8)),this[_0x37085c(0x1eb)]=[];}[_0x54a041(0x2c6)](_0x2a1181){var _0x53352d=_0x54a041;const _0x47ffad=this['_compressMutationService'][_0x53352d(0x409)]['fetchThroughInterceptors'](this[_0x53352d(0x405)]['interceptor']['getInterceptPoints']()[_0x53352d(0x245)])(_0x2a1181[_0x53352d(0x41b)],null)||_0x2a1181[_0x53352d(0x41b)],_0x1e0414={..._0x2a1181,'mutations':_0x47ffad};this[_0x53352d(0x2e9)](),this[_0x53352d(0x400)](this['_state']['onRemoteChangeset'](_0x1e0414)),this[_0x53352d(0x3d6)]();}[_0x54a041(0x3b6)](_0x182061){var _0x10108a=_0x54a041;this[_0x10108a(0x2e9)](),this[_0x10108a(0x400)](this[_0x10108a(0x1cb)][_0x10108a(0x146)](_0x182061)),this['_unlockTransition']();}[_0x54a041(0x3bb)](_0x1fe3e4){var _0x372354=_0x54a041;this['_lockTransition'](),this[_0x372354(0x400)](this[_0x372354(0x1cb)][_0x372354(0x42b)](_0x1fe3e4)),this['_unlockTransition']();}['_onRemoteRetry'](_0x192b91){var _0x54d8fa=_0x54a041;this[_0x54d8fa(0x2e9)](),this[_0x54d8fa(0x400)](this[_0x54d8fa(0x1cb)]['onRemoteRetry'](_0x192b91)),this[_0x54d8fa(0x3d6)]();}['_onFetchMissResult'](_0x908809){var _0x523614=_0x54a041;if(!(this['_state']instanceof exports[_0x523614(0x477)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x55ce4d=_0x908809['map'](_0x1f03b8=>{var _0x558373=_0x523614;const _0x2280fa=this['_compressMutationService'][_0x558373(0x409)][_0x558373(0x1c5)](this[_0x558373(0x405)][_0x558373(0x409)][_0x558373(0x180)]()[_0x558373(0x245)])(_0x1f03b8[_0x558373(0x41b)],null)||_0x1f03b8[_0x558373(0x41b)];return{..._0x1f03b8,'mutations':_0x2280fa};});this[_0x523614(0x2e9)](),this[_0x523614(0x400)](this[_0x523614(0x1cb)][_0x523614(0x370)](_0x55ce4d)),this[_0x523614(0x3d6)]();}[_0x54a041(0x1e3)](){var _0x282084=_0x54a041;this[_0x282084(0x2e9)](),this[_0x282084(0x400)](this[_0x282084(0x1cb)][_0x282084(0x439)]()),this[_0x282084(0x3d6)]();}[_0x54a041(0x1b5)](_0x2fee28=!0x1){var _0x22cfbb=_0x54a041;this[_0x22cfbb(0x2e9)](),this[_0x22cfbb(0x400)](this[_0x22cfbb(0x1cb)]['toggleOnline']()),this['_unlockTransition']();const _0xc216ac=this['_state'];_0x2fee28&&_0xc216ac instanceof exports['SyncedState']&&(this[_0x22cfbb(0x2e9)](),this[_0x22cfbb(0x400)](_0xc216ac[_0x22cfbb(0x2f2)]()),this['_unlockTransition']());}async[_0x54a041(0x157)](){return new Promise(_0x2e182a=>{var _0x3f1c6e=_0x741b;this[_0x3f1c6e(0x2e6)][_0x3f1c6e(0x328)][_0x3f1c6e(0x13f)](j['take'](0x1))[_0x3f1c6e(0x383)](async _0x1d7a16=>{var _0x157122=_0x3f1c6e;_0x2e182a(await this[_0x157122(0x2bc)](_0x1d7a16===se[_0x157122(0x2e5)]));});});}[_0x54a041(0x177)](){var _0x10c220=_0x54a041;const _0x43a0b1=this[_0x10c220(0x326)];return{'onStateChange':(_0x1078fc,_0xc3a81c)=>{var _0x35ce12=_0x10c220;if(_0x1078fc!==this[_0x35ce12(0x1cb)])throw new Error(_0x35ce12(0x40a)+_0x1078fc[_0x35ce12(0x335)]+_0x35ce12(0x1ff)+_0xc3a81c[_0x35ce12(0x335)]+_0x35ce12(0x3cc)+this[_0x35ce12(0x1cb)][_0x35ce12(0x335)]);this['_updateState'](_0xc3a81c);},'onSendChangeset':_0x48feff=>{var _0x563aa6=_0x10c220;_0x48feff['sid']||(_0x48feff['sid']=this[_0x563aa6(0x41d)],_0x48feff[_0x563aa6(0x306)]=++this['_changesetReqId']);const _0x4ede04={'eventID':g[_0x563aa6(0x252)][_0x563aa6(0x344)],'data':{'unitID':_0x48feff[_0x563aa6(0x326)],'unitType':this['_type'],'changeset':_0x48feff,'memberID':this[_0x563aa6(0x2e6)][_0x563aa6(0x437)]()}};this['session'][_0x563aa6(0x132)](_0x4ede04,this['unitID']);},'onMissingChangesets':({from:_0x3ac5dd,to:_0x119d7b})=>{var _0x488f85=_0x10c220;this['_logService']['debug'](_0x488f85(0x35a),_0x488f85(0x130)+_0x3ac5dd+'\x20to\x20'+_0x119d7b);const _0x35210c={'eventID':g[_0x488f85(0x252)][_0x488f85(0x395)],'data':{'unitID':_0x43a0b1,'unitType':this[_0x488f85(0x2f4)],'from':_0x3ac5dd,'to':_0x119d7b}};this[_0x488f85(0x2e6)][_0x488f85(0x132)](_0x35210c,this[_0x488f85(0x326)]);}};}async['_createInitialStateImpl'](_0x5ece8e){var _0x44e362=_0x54a041,_0x4688d3,_0x23b035,_0x36d754;const _0x21320a=await((_0x4688d3=this[_0x44e362(0x18e)])==null?void 0x0:_0x4688d3[_0x44e362(0x42c)](this[_0x44e362(0x326)])),_0x295ddc=(_0x23b035=_0x21320a==null?void 0x0:_0x21320a[_0x44e362(0x41b)])!=null?_0x23b035:[],_0xd3cc0=(_0x36d754=_0x21320a==null?void 0x0:_0x21320a[_0x44e362(0x11f)])!=null?_0x36d754:null,_0x225093=!!(_0xd3cc0!=null&&_0xd3cc0['sid'])&&!!(_0xd3cc0!=null&&_0xd3cc0[_0x44e362(0x306)]);this[_0x44e362(0x41d)]=_0x225093?_0xd3cc0[_0x44e362(0x31c)]:di(),this[_0x44e362(0x2fc)]=_0x225093?_0xd3cc0[_0x44e362(0x306)]:0x0;const _0xb449da=this['unitID'];try{this[_0x44e362(0x38f)](_0xd3cc0,_0x295ddc);}catch(_0x2a6969){this[_0x44e362(0x40c)][_0x44e362(0x425)](_0x2a6969);}const _0xaf4e0c=this[_0x44e362(0x177)]();if(_0x5ece8e){const _0x46fe76=Dt(this[_0x44e362(0x411)],_0xb449da,this['_type'],_0xd3cc0,_0x295ddc,_0xaf4e0c);return _0x46fe76 instanceof exports[_0x44e362(0x1a6)]?_0x46fe76[_0x44e362(0x316)]():(_0x46fe76 instanceof exports[_0x44e362(0x356)]||_0x46fe76 instanceof exports[_0x44e362(0x122)])&&_0x46fe76[_0x44e362(0x431)](),_0x46fe76;}return this[_0x44e362(0x411)][_0x44e362(0x1a4)](exports[_0x44e362(0x18a)],_0xb449da,this[_0x44e362(0x2f4)],_0xd3cc0,_0x295ddc,_0xaf4e0c);}[_0x54a041(0x38f)](_0x1debc8,_0x276558){var _0x4c990a=_0x54a041,_0x31ff2f,_0x45b50e;const _0x2d324b=this[_0x4c990a(0x405)][_0x4c990a(0x409)]['fetchThroughInterceptors'](this[_0x4c990a(0x405)][_0x4c990a(0x409)]['getInterceptPoints']()[_0x4c990a(0x245)]);(_0x31ff2f=_0x2d324b((_0x1debc8==null?void 0x0:_0x1debc8['mutations'])||[],null))==null||_0x31ff2f['forEach'](_0x25b955=>this[_0x4c990a(0x172)]['executeCommand'](_0x25b955['id'],_0x25b955[_0x4c990a(0x124)])),(_0x45b50e=_0x2d324b(_0x276558||[],null))==null||_0x45b50e[_0x4c990a(0x176)](_0x49cab9=>this[_0x4c990a(0x172)][_0x4c990a(0x19e)](_0x49cab9['id'],_0x49cab9[_0x4c990a(0x124)]));}},exports[_0x54a041(0x41f)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),$(0x4,a[_0x54a041(0x3fe)](g[_0x54a041(0x2b6)])),$(0x5,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)])),$(0x6,a[_0x54a041(0x3fe)](g['RevisionService'])),$(0x7,a['Inject'](te)),$(0x8,a[_0x54a041(0x388)]),$(0x9,a['ICommandService']),$(0xa,a[_0x54a041(0x1ab)]),$(0xb,a[_0x54a041(0x30b)](ve)),$(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x41f)]),exports[_0x54a041(0x45a)]=class extends exports[_0x54a041(0x41f)]{constructor(_0x7683cd,_0x1ad898,_0x56f1ec,_0x74ff3e,_0x1adf89,_0x7bbc8a,_0xbaccce,_0x565b35,_0x4f1767,_0x459546,_0x131ecb,_0x256cd6,_0x107032){var _0xca9bd6=_0x54a041;super(_0x7683cd,_0x56f1ec,_0x1ad898,_0x74ff3e,_0x1adf89,_0x7bbc8a,_0xbaccce,_0x565b35,_0x4f1767,_0x459546,_0x131ecb,_0x256cd6,_0x107032),P(this,_0xca9bd6(0x258),null),(this[_0xca9bd6(0x326)]=_0x7683cd,this['type']=_0x1ad898);}[_0x54a041(0x2c1)](_0x542fea){var _0x569d7d=_0x54a041;this[_0x569d7d(0x258)]=_0x542fea;}[_0x54a041(0x123)](){var _0x794709=_0x54a041;this['_handlerCallback']=null,super[_0x794709(0x123)]();}[_0x54a041(0x177)](){var _0x310d48=_0x54a041;const _0x554b94=super['_createHandler']();return _0x554b94[_0x310d48(0x12b)]=_0x25df05=>{var _0x592312=_0x310d48,_0x426301,_0x374fcd;return(_0x374fcd=(_0x426301=this[_0x592312(0x258)])==null?void 0x0:_0x426301[_0x592312(0x12b)])==null?void 0x0:_0x374fcd[_0x592312(0x1ae)](_0x426301,_0x25df05);},_0x554b94['onTransformState']=_0x5f4a1c=>{var _0x7b63ac=_0x310d48,_0x2760c9,_0x4266f0;return(_0x4266f0=(_0x2760c9=this['_handlerCallback'])==null?void 0x0:_0x2760c9[_0x7b63ac(0x37f)])==null?void 0x0:_0x4266f0[_0x7b63ac(0x1ae)](_0x2760c9,_0x5f4a1c);},_0x554b94[_0x310d48(0x1ad)]=_0x4c58fd=>{var _0x25d51f=_0x310d48,_0x4edb52,_0x267ec8;return(_0x267ec8=(_0x4edb52=this[_0x25d51f(0x258)])==null?void 0x0:_0x4edb52[_0x25d51f(0x1ad)])==null?void 0x0:_0x267ec8[_0x25d51f(0x1ae)](_0x4edb52,_0x4c58fd);},_0x554b94[_0x310d48(0x426)]=_0x5c4f70=>{var _0x2c2d8f=_0x310d48,_0x2a30ac,_0x5c9eda;return(_0x5c9eda=(_0x2a30ac=this[_0x2c2d8f(0x258)])==null?void 0x0:_0x2a30ac[_0x2c2d8f(0x426)])==null?void 0x0:_0x5c9eda[_0x2c2d8f(0x1ae)](_0x2a30ac,_0x5c4f70);},_0x554b94[_0x310d48(0x16a)]=_0x592cee=>{var _0x43665a=_0x310d48,_0x14c462,_0x3eee2a,_0xb16169;if(!((_0x14c462=this[_0x43665a(0x258)])!=null&&_0x14c462[_0x43665a(0x16a)]))throw new Error(_0x43665a(0x428));return(_0xb16169=(_0x3eee2a=this['_handlerCallback'])==null?void 0x0:_0x3eee2a[_0x43665a(0x16a)])==null?void 0x0:_0xb16169[_0x43665a(0x1ae)](_0x3eee2a,_0x592cee);},_0x554b94[_0x310d48(0x1db)]=_0x4034e6=>{var _0x37a2ef=_0x310d48,_0x578473,_0x5c86bf,_0xaeb76f;if(!((_0x578473=this[_0x37a2ef(0x258)])!=null&&_0x578473['onTransformRemoteChangesetByStateCache']))throw new Error(_0x37a2ef(0x2d5));return(_0xaeb76f=(_0x5c86bf=this[_0x37a2ef(0x258)])==null?void 0x0:_0x5c86bf['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xaeb76f['call'](_0x5c86bf,_0x4034e6);},_0x554b94;}async['_init'](){var _0x16a7d0=_0x54a041;const _0x368882=await super[_0x16a7d0(0x45d)]();return this['disposeWithMe'](this[_0x16a7d0(0x172)][_0x16a7d0(0x3ec)]((_0x544b37,_0x37f68d)=>{var _0x8db6c9=_0x16a7d0;if(_0x544b37['type']!==a['CommandType']['MUTATION']||_0x37f68d!=null&&_0x37f68d[_0x8db6c9(0x1a3)]||_0x37f68d!=null&&_0x37f68d[_0x8db6c9(0x32c)]||_0x544b37['id']===ut[_0x8db6c9(0x391)]['id'])return;const _0x462e66=_0x544b37[_0x8db6c9(0x124)];if((_0x462e66==null?void 0x0:_0x462e66[_0x8db6c9(0x382)])!==this['unitID'])return;const _0x4bfe7f=_0x544b37,_0x47e875=this[_0x8db6c9(0x405)][_0x8db6c9(0x409)][_0x8db6c9(0x1c5)](this[_0x8db6c9(0x405)][_0x8db6c9(0x409)][_0x8db6c9(0x180)]()['COMPRESS_MUTATION_SEND'])([_0x4bfe7f],null)||[_0x4bfe7f];this[_0x8db6c9(0x23d)](_0x47e875[0x0]);})),_0x368882;}},exports[_0x54a041(0x45a)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a['Injector'])),$(0x4,a['Inject'](g['CompressMutationService'])),$(0x5,a[_0x54a041(0x3fe)](a['LocaleService'])),$(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),$(0x7,a[_0x54a041(0x3fe)](te)),$(0x8,a[_0x54a041(0x388)]),$(0x9,a[_0x54a041(0x1ce)]),$(0xa,a['IPermissionService']),$(0xb,a[_0x54a041(0x30b)](ve)),$(0xc,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x45a)]),exports['SheetCollaborationEntity']=class extends exports[_0x54a041(0x41f)]{constructor(_0x289ace,_0x4186d9,_0x32f74d,_0x3c98a2,_0xa3f964,_0xffb393,_0x20736d,_0x51476c,_0x4989e,_0x19ef51,_0x574266,_0x185933,_0x241a59,_0x260178){var _0x1af840=_0x54a041;super(_0x289ace,_0x32f74d,_0x4186d9,_0x3c98a2,_0xa3f964,_0xffb393,_0x20736d,_0x4989e,_0x19ef51,_0x574266,_0x185933,_0x241a59,_0x260178),this['unitID']=_0x289ace,this['type']=_0x4186d9,this[_0x1af840(0x12a)]=_0x51476c;}[_0x54a041(0x177)](){var _0x582b6c=_0x54a041;const _0x23090d=super[_0x582b6c(0x177)]();return _0x23090d[_0x582b6c(0x1ad)]=_0x500731=>this[_0x582b6c(0x12a)][_0x582b6c(0x3ca)](_0x500731),_0x23090d;}async[_0x54a041(0x45d)](){var _0x9e230a=_0x54a041;const _0x13d33a=await super[_0x9e230a(0x45d)]();return this[_0x9e230a(0x182)](this[_0x9e230a(0x172)]['onCommandExecuted']((_0x5bf8bb,_0x2e5108)=>{var _0x5db7e2=_0x9e230a;if(_0x5bf8bb['type']!==a[_0x5db7e2(0x3a9)][_0x5db7e2(0x1b6)]||_0x2e5108!=null&&_0x2e5108['fromCollab']||_0x2e5108!=null&&_0x2e5108['onlyLocal'])return;const _0x263ebd=_0x5bf8bb[_0x5db7e2(0x124)];if((_0x263ebd==null?void 0x0:_0x263ebd[_0x5db7e2(0x382)])!==this[_0x5db7e2(0x326)])return;const _0x429bfd=_0x5bf8bb,_0x520a4f=this[_0x5db7e2(0x405)]['interceptor']['fetchThroughInterceptors'](this[_0x5db7e2(0x405)][_0x5db7e2(0x409)][_0x5db7e2(0x180)]()[_0x5db7e2(0x210)])([_0x429bfd],null)||[_0x429bfd];this['_onLocalMutation'](_0x520a4f[0x0]);})),_0x13d33a;}},exports[_0x54a041(0x155)]=Ge([$(0x3,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),$(0x4,a['Inject'](g[_0x54a041(0x2b6)])),$(0x5,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)])),$(0x6,a[_0x54a041(0x3fe)](g[_0x54a041(0x12f)])),$(0x7,a[_0x54a041(0x3fe)](exports['SheetTransformSelectionsService'])),$(0x8,a[_0x54a041(0x3fe)](te)),$(0x9,a['ILogService']),$(0xa,a[_0x54a041(0x1ce)]),$(0xb,a[_0x54a041(0x1ab)]),$(0xc,a[_0x54a041(0x30b)](ve)),$(0xd,a['Optional'](z))],exports[_0x54a041(0x155)]);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0xd0e944,_0x35324d,_0x22d7d4,_0x3e41b8)=>{var _0x2caee2=_0x54a041;for(var _0x5c6ef1=_0x3e41b8>0x1?void 0x0:_0x3e41b8?Ti(_0x35324d,_0x22d7d4):_0x35324d,_0x1126ba=_0xd0e944[_0x2caee2(0x389)]-0x1,_0x4347ad;_0x1126ba>=0x0;_0x1126ba--)(_0x4347ad=_0xd0e944[_0x1126ba])&&(_0x5c6ef1=_0x4347ad(_0x5c6ef1)||_0x5c6ef1);return _0x5c6ef1;},Ae=(_0x4343bc,_0xf80efa)=>(_0x15d2b4,_0x196ab7)=>_0xf80efa(_0x15d2b4,_0x196ab7,_0x4343bc);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x22aeaa,_0x22587f,_0x518ac4){var _0x1c73db=_0x54a041;super(),P(this,_0x1c73db(0x48a),new Map()),P(this,_0x1c73db(0x280),new j[(_0x1c73db(0x33b))]()),P(this,_0x1c73db(0x22b),this[_0x1c73db(0x280)]['asObservable']()),(this[_0x1c73db(0x411)]=_0x22aeaa,this[_0x1c73db(0x33d)]=_0x22587f,this[_0x1c73db(0x2a4)]=_0x518ac4,this[_0x1c73db(0x45d)]());}['dispose'](){var _0x184ae5=_0x54a041;super[_0x184ae5(0x123)](),this[_0x184ae5(0x48a)]['forEach'](_0x541af3=>_0x541af3[_0x184ae5(0x123)]()),this['_entities'][_0x184ae5(0x140)]();}[_0x54a041(0x3be)](_0x146ba0){var _0x1c41dc=_0x54a041,_0x431995;return(_0x431995=this[_0x1c41dc(0x48a)][_0x1c41dc(0x1f4)](_0x146ba0))!=null?_0x431995:null;}['getCollabEntity$'](_0x3e6901){var _0x2bc43c=_0x54a041;const _0xce7e10=this['getCollabEntity'](_0x3e6901);return _0xce7e10?j['of'](_0xce7e10):this[_0x2bc43c(0x280)][_0x2bc43c(0x13f)](W[_0x2bc43c(0x27d)](_0x43c539=>_0x43c539[_0x2bc43c(0x326)]===_0x3e6901));}[_0x54a041(0x17a)](_0x566604){var _0x1ab452=_0x54a041;return j[_0x1ab452(0x2f5)](this[_0x1ab452(0x2b8)](_0x566604)[_0x1ab452(0x13f)](W[_0x1ab452(0x332)](()=>{})));}[_0x54a041(0x45d)](){var _0x5cfdcc=_0x54a041;this[_0x5cfdcc(0x2a4)][_0x5cfdcc(0x3cf)](a['UniverInstanceType'][_0x5cfdcc(0x2cc)])[_0x5cfdcc(0x13f)](j[_0x5cfdcc(0x314)](this[_0x5cfdcc(0x29e)]),W['delay'](0x10))[_0x5cfdcc(0x383)](async _0x99689a=>{var _0x2030c6=_0x5cfdcc;const _0x2122a3=_0x99689a[_0x2030c6(0x3d8)](),_0x48c585=await this[_0x2030c6(0x2ff)](_0x2122a3,X[_0x2030c6(0x2cc)]);this['_entities'][_0x2030c6(0x164)](_0x2122a3,_0x48c585);}),this['_univerInstanceService'][_0x5cfdcc(0x3cf)](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x40f)])[_0x5cfdcc(0x13f)](j[_0x5cfdcc(0x314)](this[_0x5cfdcc(0x29e)]),W['delay'](0x10))[_0x5cfdcc(0x13f)](W['filter'](_0xd5e9a6=>!_0xd5e9a6[_0x5cfdcc(0x3d8)]()[_0x5cfdcc(0x448)]('__')))['subscribe'](async _0xddabbe=>{var _0x3e913f=_0x5cfdcc;const _0x22908d=_0xddabbe['getUnitId'](),_0x2a7009=await this[_0x3e913f(0x2ff)](_0x22908d,X[_0x3e913f(0x40f)]);this['_entities'][_0x3e913f(0x164)](_0x22908d,_0x2a7009);}),j[_0x5cfdcc(0x21b)](this[_0x5cfdcc(0x2a4)]['getTypeOfUnitDisposed$'](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x2cc)]),this[_0x5cfdcc(0x2a4)][_0x5cfdcc(0x204)](a[_0x5cfdcc(0x128)][_0x5cfdcc(0x40f)]))[_0x5cfdcc(0x13f)](j['takeUntil'](this['dispose$']))[_0x5cfdcc(0x383)](_0x24098b=>{var _0x41bab1=_0x5cfdcc;const _0x25bd75=_0x24098b[_0x41bab1(0x3d8)](),_0x55c28b=this[_0x41bab1(0x48a)][_0x41bab1(0x1f4)](_0x25bd75);_0x55c28b&&(_0x55c28b['dispose'](),this['_entities'][_0x41bab1(0x11e)](_0x25bd75));});}async[_0x54a041(0x2ff)](_0x5752ba,_0x155142){var _0x107c71=_0x54a041;const _0x18b62a=await this[_0x107c71(0x33d)][_0x107c71(0x3a1)](_0x5752ba),_0x330d8f=this[_0x107c71(0x411)][_0x107c71(0x1a4)](this[_0x107c71(0x2d9)](_0x155142),_0x5752ba,_0x155142,_0x18b62a);return await _0x330d8f[_0x107c71(0x459)](),this[_0x107c71(0x280)][_0x107c71(0x2db)](_0x330d8f),_0x330d8f;}[_0x54a041(0x2d9)](_0x4d0066){var _0x536ea5=_0x54a041;switch(_0x4d0066){case X[_0x536ea5(0x40f)]:return exports['DocCollaborationEntity'];case X[_0x536ea5(0x2cc)]:return exports[_0x536ea5(0x155)];default:throw new Error(_0x536ea5(0x312)+_0x4d0066);}}},exports['CollaborationController']=bi([Ae(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x3d4)])),Ae(0x1,a[_0x54a041(0x3fe)](exports['CollaborationSessionService'])),Ae(0x2,a[_0x54a041(0x30e)])],exports['CollaborationController']);var Ri=Object['getOwnPropertyDescriptor'],yi=(_0x3aebc8,_0x1ee5dd,_0x5464af,_0x58107b)=>{var _0x243d50=_0x54a041;for(var _0x4671b6=_0x58107b>0x1?void 0x0:_0x58107b?Ri(_0x1ee5dd,_0x5464af):_0x1ee5dd,_0x5d0190=_0x3aebc8[_0x243d50(0x389)]-0x1,_0x58b25c;_0x5d0190>=0x0;_0x5d0190--)(_0x58b25c=_0x3aebc8[_0x5d0190])&&(_0x4671b6=_0x58b25c(_0x4671b6)||_0x4671b6);return _0x4671b6;},Je=(_0x4a2f20,_0x111345)=>(_0x57a40e,_0x5d6982)=>_0x111345(_0x57a40e,_0x5d6982,_0x4a2f20);const Oi=_0x54a041(0x17f),Ni=_0x54a041(0x1bc);let He=class extends a[_0x54a041(0x1e8)]{constructor(_0x1d007a,_0x1b94c6){var _0x2bdb30=_0x54a041;super(),this['_univerInstanceService']=_0x1d007a,this[_0x2bdb30(0x221)]=_0x1b94c6,this['_init']();}[_0x54a041(0x45d)](){var _0xec838a=_0x54a041;this[_0xec838a(0x182)](this[_0xec838a(0x2a4)][_0xec838a(0x35c)][_0xec838a(0x383)](()=>{var _0x15d5ef=_0xec838a,_0x21f819;const _0x34620a=this[_0x15d5ef(0x2a4)]['getFocusedUnit']();let _0x31fb40=(_0x21f819=this[_0x15d5ef(0x221)][_0x15d5ef(0x33f)](Oi))!=null?_0x21f819:Ni;_0x34620a instanceof a[_0x15d5ef(0x21c)]&&(_0x31fb40=_0x34620a[_0x15d5ef(0x40b)]),document[_0x15d5ef(0x44d)]=_0x31fb40;}));}};He=yi([Je(0x0,a['IUniverInstanceService']),Je(0x1,a['IConfigService'])],He);var Di=Object[_0x54a041(0x2be)],Ui=(_0x21236e,_0x1b3a24,_0x497d44,_0x1fff23)=>{var _0x5117cf=_0x54a041;for(var _0x6ad03d=_0x1fff23>0x1?void 0x0:_0x1fff23?Di(_0x1b3a24,_0x497d44):_0x1b3a24,_0x41b872=_0x21236e[_0x5117cf(0x389)]-0x1,_0x309a45;_0x41b872>=0x0;_0x41b872--)(_0x309a45=_0x21236e[_0x41b872])&&(_0x6ad03d=_0x309a45(_0x6ad03d)||_0x6ad03d);return _0x6ad03d;},we=(_0x33382e,_0x1d63d2)=>(_0x32c44c,_0x293425)=>_0x1d63d2(_0x32c44c,_0x293425,_0x33382e);let Oe=class{constructor(_0x2bb1a0,_0x2b6947,_0x9c93e1){var _0x3a3f9f=_0x54a041;this[_0x3a3f9f(0x221)]=_0x2bb1a0,this['_httpService']=_0x2b6947,this[_0x3a3f9f(0x323)]=_0x9c93e1,this[_0x3a3f9f(0x459)]();}[_0x54a041(0x459)](){var _0x2fe20c=_0x54a041;this['_httpService'][_0x2fe20c(0x26b)]({'priority':0x1,'interceptor':(_0x335487,_0x12f24e)=>_0x12f24e(_0x335487)[_0x2fe20c(0x13f)](j['concatMap'](async _0x10700a=>{var _0x1b462a=_0x2fe20c;const _0xbbf363=_0x10700a;if(_0xbbf363[_0x1b462a(0x335)]===0x191){if(typeof window>'u')throw new Error(_0x1b462a(0x293));if(window[_0x1b462a(0x244)](this[_0x1b462a(0x323)]['t']('auth.needGotoLoginAlert'))){const _0x13b5e3=window['encodeURIComponent'](window['location'][_0x1b462a(0x41a)]);window[_0x1b462a(0x201)][_0x1b462a(0x41a)]=this['_getLoginPath']()+_0x1b462a(0x349)+_0x13b5e3;}}return _0xbbf363;}))});}['_getLoginPath'](){var _0x2bf95b=_0x54a041,_0x41f70b,_0x441da6;const _0x4f2b82=this[_0x2bf95b(0x221)][_0x2bf95b(0x33f)](Et),_0x4d5245=this['_configService'][_0x2bf95b(0x33f)](Y);return(_0x441da6=(_0x41f70b=_0x4d5245==null?void 0x0:_0x4d5245[_0x2bf95b(0x270)])!=null?_0x41f70b:_0x4f2b82)!=null?_0x441da6:Yt;}};Oe=Ui([we(0x0,a['IConfigService']),we(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),we(0x2,a[_0x54a041(0x3fe)](a[_0x54a041(0x433)]))],Oe);var Pi=Object[_0x54a041(0x2be)],Ai=(_0x49b332,_0x4ed205,_0x1d0858,_0x3ada4d)=>{var _0x3ec043=_0x54a041;for(var _0x39bbb7=_0x3ada4d>0x1?void 0x0:_0x3ada4d?Pi(_0x4ed205,_0x1d0858):_0x4ed205,_0x4e3d56=_0x49b332[_0x3ec043(0x389)]-0x1,_0xf93114;_0x4e3d56>=0x0;_0x4e3d56--)(_0xf93114=_0x49b332[_0x4e3d56])&&(_0x39bbb7=_0xf93114(_0x39bbb7)||_0x39bbb7);return _0x39bbb7;},Xe=(_0x4c0537,_0x2efe02)=>(_0x16e03c,_0xd7d565)=>_0x2efe02(_0x16e03c,_0xd7d565,_0x4c0537);const Ve='AUTHZ_URL_KEY',wi='/universer-api/authz';exports['AuthzIoHttpService']=class extends a[_0x54a041(0x1e8)]{constructor(_0x42cbe8,_0x1fa9d8){var _0xfcf813=_0x54a041;super(),this['_HTTPService']=_0x42cbe8,this[_0xfcf813(0x221)]=_0x1fa9d8,this[_0xfcf813(0x463)]();}[_0x54a041(0x463)](){var _0x776dbd=_0x54a041;const _0x1a3e99=this;this['disposeWithMe'](this[_0x776dbd(0x22c)][_0x776dbd(0x26b)]({'priority':0x3e7,'interceptor':q[_0x776dbd(0x1f0)]({'isMatch'(_0x30e97d){var _0x6531cf=_0x776dbd,_0x36e852;if(_0x30e97d[_0x6531cf(0x417)]===_0x6531cf(0x42a)&&((_0x36e852=_0x30e97d[_0x6531cf(0x422)])!=null&&_0x36e852['body'])){const {objectID:_0x294fdb,objectType:_0xe19f1c}=_0x30e97d[_0x6531cf(0x422)][_0x6531cf(0x3dd)]||{};if(!_0x294fdb||_0xe19f1c===void 0x0)return!0x1;const _0x5d2267=_0x1a3e99[_0x6531cf(0x1df)]()+'/'+_0xe19f1c+_0x6531cf(0x238)+_0x294fdb+_0x6531cf(0x361);if(_0x30e97d['url']===_0x5d2267)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x44d39a){var _0x4285e4=_0x776dbd,_0x6bad27;return(_0x6bad27=_0x44d39a[_0x4285e4(0x422)])==null?void 0x0:_0x6bad27[_0x4285e4(0x3dd)];},'mergeParamsToRequest'(_0x35160c,_0x26eeef){var _0x52c707=_0x776dbd;const _0x11da1d=_0x1a3e99[_0x52c707(0x1df)]()+_0x52c707(0x3b3),_0x125926=_0x35160c[_0x52c707(0x45b)]((_0x55978e,_0x1eecc0)=>{const {unitID:_0x201fce,objectID:_0x339648,objectType:_0x135628,actions:_0x5a2792}=_0x1eecc0;return _0x55978e[_0x201fce]||(_0x55978e[_0x201fce]={}),_0x55978e[_0x201fce][_0x339648]||(_0x55978e[_0x201fce][_0x339648]={'objectID':_0x339648,'objectType':_0x135628,'actions':[]}),_0x55978e[_0x201fce][_0x339648]['actions']['push'](..._0x5a2792),_0x55978e;},{}),_0x1c025c=[];for(const _0x1ffb23 in _0x125926)for(const _0x22fed4 in _0x125926[_0x1ffb23]){const {actions:_0x1cffab,objectType:_0x627feb}=_0x125926[_0x1ffb23][_0x22fed4],_0x4ad246=[...new Set(_0x1cffab)];_0x1c025c[_0x52c707(0x473)]({'unitID':_0x1ffb23,'objectID':_0x22fed4,'objectType':_0x627feb,'actions':_0x4ad246});}return new q[(_0x52c707(0x3de))](_0x52c707(0x42a),_0x11da1d,{'headers':_0x26eeef[_0x52c707(0x38e)],'withCredentials':_0x26eeef['withCredentials'],'responseType':_0x26eeef[_0x52c707(0x35d)],'body':{'requests':_0x1c025c}});}},{'distributeResult'(_0x33a3ac,_0x354692){const {objectActions:_0x279a72}=_0x33a3ac;return _0x354692['map'](_0x8b1b5e=>{var _0x5ec23c=_0x741b;const {unitID:_0x58cc86,objectID:_0x55efe2,actions:_0x2c123a}=_0x8b1b5e,_0x483205=_0x279a72[_0x5ec23c(0x2aa)](_0x3e58f5=>_0x3e58f5[_0x5ec23c(0x326)]===_0x58cc86&&_0x3e58f5[_0x5ec23c(0x410)]===_0x55efe2),_0x1a2e27=_0x2c123a[_0x5ec23c(0x332)](_0x45be90=>_0x483205==null?void 0x0:_0x483205[_0x5ec23c(0x133)][_0x5ec23c(0x2aa)](_0x5aded0=>_0x5aded0['action']===_0x45be90))[_0x5ec23c(0x27d)](_0x418108=>!!_0x418108);return{'config':_0x8b1b5e,'result':{'actions':_0x1a2e27,'error':_0x33a3ac['error']}};});}})}));}[_0x54a041(0x1df)](){var _0x5e00c0=_0x54a041,_0x2fdfcf,_0x42d6a7;const _0x4a8992=this[_0x5e00c0(0x221)]['getConfig'](Ve),_0x59c039=this[_0x5e00c0(0x221)][_0x5e00c0(0x33f)](Y);return(_0x42d6a7=(_0x2fdfcf=_0x59c039==null?void 0x0:_0x59c039[_0x5e00c0(0x379)])!=null?_0x2fdfcf:_0x4a8992)!=null?_0x42d6a7:wi;}async[_0x54a041(0x3e6)](_0x537d59){var _0x5b711f=_0x54a041;const _0x469d3d=this[_0x5b711f(0x1df)]()+'/'+_0x537d59[_0x5b711f(0x351)]+'/object';return(await this[_0x5b711f(0x22c)]['post'](_0x469d3d,{'body':_0x537d59}))[_0x5b711f(0x3dd)][_0x5b711f(0x410)]||'';}async[_0x54a041(0x3b4)](_0x31a133){var _0x5ae690=_0x54a041;const _0x2e4f5d=this[_0x5ae690(0x1df)]()+_0x5ae690(0x35e);return(await this[_0x5ae690(0x22c)][_0x5ae690(0x17c)](_0x2e4f5d,{'body':_0x31a133}))['body']['objects'];}async['update'](_0x49d8a5){var _0x89cf58=_0x54a041,_0x155b14,_0x32c713;const _0x3e3388=this[_0x89cf58(0x1df)]()+'/'+_0x49d8a5['objectType']+_0x89cf58(0x238)+_0x49d8a5[_0x89cf58(0x410)],_0x134d0f=await this[_0x89cf58(0x22c)]['put'](_0x3e3388,{'body':_0x49d8a5});if(((_0x32c713=(_0x155b14=_0x134d0f==null?void 0x0:_0x134d0f[_0x89cf58(0x3dd)])==null?void 0x0:_0x155b14[_0x89cf58(0x425)])==null?void 0x0:_0x32c713[_0x89cf58(0x1fb)])!==0x0)throw new Error(_0x89cf58(0x350));}async[_0x54a041(0x3dc)](_0x570410){var _0x67b0b0=_0x54a041;const _0x3aab67=this[_0x67b0b0(0x1df)]()+'/'+_0x570410[_0x67b0b0(0x351)]+'/object/'+_0x570410[_0x67b0b0(0x410)]+_0x67b0b0(0x361);return(await this['_HTTPService'][_0x67b0b0(0x17c)](_0x3aab67,{'body':_0x570410}))[_0x67b0b0(0x3dd)][_0x67b0b0(0x133)];}async[_0x54a041(0x43f)](_0x4eff46){var _0x429d95=_0x54a041;const _0x1fe5b7=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x429d95(0x22c)][_0x429d95(0x17c)](_0x1fe5b7,{'body':{'requests':_0x4eff46}}))['body'][_0x429d95(0x1c3)];}async['listRoles'](_0x39d373){var _0x27b8cd=_0x54a041;const _0x5eef22=this[_0x27b8cd(0x1df)]()+'/'+_0x39d373['objectType']+'/role',_0x3cef19=await this[_0x27b8cd(0x22c)][_0x27b8cd(0x17c)](_0x5eef22,{'body':_0x39d373});return{'roles':_0x3cef19[_0x27b8cd(0x3dd)][_0x27b8cd(0x263)],'actions':_0x3cef19['body'][_0x27b8cd(0x133)]};}async[_0x54a041(0x25e)](_0x445375){var _0x4c172d=_0x54a041;const _0x171693=this[_0x4c172d(0x1df)]()+_0x4c172d(0x348);await this[_0x4c172d(0x22c)][_0x4c172d(0x11e)](_0x171693,{'params':{'collaboratorID':_0x445375[_0x4c172d(0x44e)],'objectID':_0x445375[_0x4c172d(0x410)],'unitID':_0x445375[_0x4c172d(0x326)]}});}async['updateCollaborator'](_0x34d884){var _0x58ed45=_0x54a041;const _0x30f5f9=this[_0x58ed45(0x1df)]()+_0x58ed45(0x348);await this[_0x58ed45(0x22c)][_0x58ed45(0x321)](_0x30f5f9,{'body':_0x34d884});}async[_0x54a041(0x17b)](_0x22344e){var _0x4e99ad=_0x54a041;const _0x2ddd09=this['_getAPIPrefixPath']()+_0x4e99ad(0x348);await this[_0x4e99ad(0x22c)][_0x4e99ad(0x17c)](_0x2ddd09,{'body':_0x22344e});}async[_0x54a041(0x3a5)](_0x339724){var _0x391e7e=_0x54a041;const _0x2b2ff1=this[_0x391e7e(0x1df)]()+_0x391e7e(0x348);return(await this[_0x391e7e(0x22c)][_0x391e7e(0x1f4)](_0x2b2ff1,{'params':{'objectID':_0x339724[_0x391e7e(0x410)],'unitID':_0x339724[_0x391e7e(0x326)]}}))[_0x391e7e(0x3dd)][_0x391e7e(0x28f)];}async['putCollaborators'](_0xffa340){var _0x2e1547=_0x54a041;const _0x139e27=this[_0x2e1547(0x1df)]()+'/collaborator';await this[_0x2e1547(0x22c)][_0x2e1547(0x462)](_0x139e27,{'body':_0xffa340});}},exports['AuthzIoHttpService']=Ai([Xe(0x0,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),Xe(0x1,a['Inject'](a[_0x54a041(0x2ca)]))],exports[_0x54a041(0x1af)]);var Le=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function Se(_0x19aaa3){var _0x404eec=_0x54a041;return _0x19aaa3&&_0x19aaa3['__esModule']&&Object['prototype'][_0x404eec(0x2af)]['call'](_0x19aaa3,_0x404eec(0x1e2))?_0x19aaa3['default']:_0x19aaa3;}var fe={'exports':{}};function Li(_0x5c234e){var _0x2078ad=_0x54a041;throw new Error(_0x2078ad(0x1fc)+_0x5c234e+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},Mi=pe[_0x54a041(0x376)],Ze;function ee(){return Ze||(Ze=0x1,function(_0x197541,_0x13ab0c){(function(_0x2edf6c,_0x3085ff){var _0x284a53=_0x741b;_0x197541[_0x284a53(0x376)]=_0x3085ff();}(Mi,function(){var _0x117398=_0x117398||function(_0x1643e9,_0x5bce2d){var _0x448657=_0x741b,_0x65972b;if(typeof window<'u'&&window[_0x448657(0x1d4)]&&(_0x65972b=window[_0x448657(0x1d4)]),typeof self<'u'&&self[_0x448657(0x1d4)]&&(_0x65972b=self[_0x448657(0x1d4)]),typeof globalThis<'u'&&globalThis[_0x448657(0x1d4)]&&(_0x65972b=globalThis['crypto']),!_0x65972b&&typeof window<'u'&&window[_0x448657(0x272)]&&(_0x65972b=window[_0x448657(0x272)]),!_0x65972b&&typeof Le<'u'&&Le[_0x448657(0x1d4)]&&(_0x65972b=Le[_0x448657(0x1d4)]),!_0x65972b&&typeof Li=='function')try{_0x65972b=require('crypto');}catch{}var _0x5c451f=function(){var _0x2ae6a1=_0x448657;if(_0x65972b){if(typeof _0x65972b[_0x2ae6a1(0x1a8)]==_0x2ae6a1(0x3ed))try{return _0x65972b[_0x2ae6a1(0x1a8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x65972b[_0x2ae6a1(0x12d)]=='function')try{return _0x65972b[_0x2ae6a1(0x12d)](0x4)[_0x2ae6a1(0x2d7)]();}catch{}}throw new Error(_0x2ae6a1(0x407));},_0x4afff7=Object[_0x448657(0x3e6)]||(function(){function _0x17c4db(){}return function(_0x434860){var _0x2791d9=_0x741b,_0x2bd5f3;return _0x17c4db[_0x2791d9(0x2a9)]=_0x434860,_0x2bd5f3=new _0x17c4db(),_0x17c4db[_0x2791d9(0x2a9)]=null,_0x2bd5f3;};}()),_0x2189d9={},_0x4d1a8a=_0x2189d9[_0x448657(0x1b0)]={},_0x23857e=_0x4d1a8a['Base']=(function(){return{'extend':function(_0x46b02c){var _0x43ef5f=_0x741b,_0x5384bf=_0x4afff7(this);return _0x46b02c&&_0x5384bf[_0x43ef5f(0x3a6)](_0x46b02c),(!_0x5384bf['hasOwnProperty']('init')||this[_0x43ef5f(0x459)]===_0x5384bf[_0x43ef5f(0x459)])&&(_0x5384bf[_0x43ef5f(0x459)]=function(){var _0x42bae7=_0x43ef5f;_0x5384bf[_0x42bae7(0x304)][_0x42bae7(0x459)]['apply'](this,arguments);}),_0x5384bf['init'][_0x43ef5f(0x2a9)]=_0x5384bf,_0x5384bf[_0x43ef5f(0x304)]=this,_0x5384bf;},'create':function(){var _0x12d01d=_0x741b,_0x2bbd1f=this['extend']();return _0x2bbd1f[_0x12d01d(0x459)][_0x12d01d(0x21e)](_0x2bbd1f,arguments),_0x2bbd1f;},'init':function(){},'mixIn':function(_0x525df3){var _0x4d4843=_0x741b;for(var _0x4c0921 in _0x525df3)_0x525df3[_0x4d4843(0x2af)](_0x4c0921)&&(this[_0x4c0921]=_0x525df3[_0x4c0921]);_0x525df3['hasOwnProperty'](_0x4d4843(0x160))&&(this[_0x4d4843(0x160)]=_0x525df3[_0x4d4843(0x160)]);},'clone':function(){var _0x3801fb=_0x741b;return this[_0x3801fb(0x459)][_0x3801fb(0x2a9)][_0x3801fb(0x377)](this);}};}()),_0x2e6930=_0x4d1a8a[_0x448657(0x26c)]=_0x23857e[_0x448657(0x377)]({'init':function(_0x3ec6e8,_0x173fd6){var _0x5485fb=_0x448657;_0x3ec6e8=this[_0x5485fb(0x233)]=_0x3ec6e8||[],_0x173fd6!=_0x5bce2d?this[_0x5485fb(0x1da)]=_0x173fd6:this['sigBytes']=_0x3ec6e8[_0x5485fb(0x389)]*0x4;},'toString':function(_0x4dec60){return(_0x4dec60||_0x96519c)['stringify'](this);},'concat':function(_0x226dc7){var _0x4f87ed=_0x448657,_0x4e30a3=this[_0x4f87ed(0x233)],_0x393a17=_0x226dc7[_0x4f87ed(0x233)],_0x24ffc3=this[_0x4f87ed(0x1da)],_0x5760ac=_0x226dc7[_0x4f87ed(0x1da)];if(this[_0x4f87ed(0x1dc)](),_0x24ffc3%0x4)for(var _0x1055c1=0x0;_0x1055c1<_0x5760ac;_0x1055c1++){var _0x352c71=_0x393a17[_0x1055c1>>>0x2]>>>0x18-_0x1055c1%0x4*0x8&0xff;_0x4e30a3[_0x24ffc3+_0x1055c1>>>0x2]|=_0x352c71<<0x18-(_0x24ffc3+_0x1055c1)%0x4*0x8;}else{for(var _0x4558c1=0x0;_0x4558c1<_0x5760ac;_0x4558c1+=0x4)_0x4e30a3[_0x24ffc3+_0x4558c1>>>0x2]=_0x393a17[_0x4558c1>>>0x2];}return this[_0x4f87ed(0x1da)]+=_0x5760ac,this;},'clamp':function(){var _0x2e7713=_0x448657,_0x5e8bd1=this[_0x2e7713(0x233)],_0x40beab=this[_0x2e7713(0x1da)];_0x5e8bd1[_0x40beab>>>0x2]&=0xffffffff<<0x20-_0x40beab%0x4*0x8,_0x5e8bd1[_0x2e7713(0x389)]=_0x1643e9[_0x2e7713(0x2d3)](_0x40beab/0x4);},'clone':function(){var _0x4b4de6=_0x448657,_0x2ca85d=_0x23857e[_0x4b4de6(0x442)][_0x4b4de6(0x1ae)](this);return _0x2ca85d['words']=this[_0x4b4de6(0x233)]['slice'](0x0),_0x2ca85d;},'random':function(_0x23ffd4){var _0x48b5e1=_0x448657;for(var _0x2f2a1d=[],_0x17de8a=0x0;_0x17de8a<_0x23ffd4;_0x17de8a+=0x4)_0x2f2a1d[_0x48b5e1(0x473)](_0x5c451f());return new _0x2e6930[(_0x48b5e1(0x459))](_0x2f2a1d,_0x23ffd4);}}),_0xb0b9d9=_0x2189d9[_0x448657(0x45f)]={},_0x96519c=_0xb0b9d9[_0x448657(0x2d0)]={'stringify':function(_0x545a76){var _0x50449c=_0x448657;for(var _0x53b5ea=_0x545a76['words'],_0x49b521=_0x545a76[_0x50449c(0x1da)],_0x2d2e67=[],_0x38d560=0x0;_0x38d560<_0x49b521;_0x38d560++){var _0x29d5fb=_0x53b5ea[_0x38d560>>>0x2]>>>0x18-_0x38d560%0x4*0x8&0xff;_0x2d2e67[_0x50449c(0x473)]((_0x29d5fb>>>0x4)[_0x50449c(0x160)](0x10)),_0x2d2e67[_0x50449c(0x473)]((_0x29d5fb&0xf)[_0x50449c(0x160)](0x10));}return _0x2d2e67[_0x50449c(0x45e)]('');},'parse':function(_0x5746b8){var _0x22bf5f=_0x448657;for(var _0x4f87de=_0x5746b8[_0x22bf5f(0x389)],_0x367034=[],_0x5386c5=0x0;_0x5386c5<_0x4f87de;_0x5386c5+=0x2)_0x367034[_0x5386c5>>>0x3]|=parseInt(_0x5746b8[_0x22bf5f(0x2e0)](_0x5386c5,0x2),0x10)<<0x18-_0x5386c5%0x8*0x4;return new _0x2e6930[(_0x22bf5f(0x459))](_0x367034,_0x4f87de/0x2);}},_0x567e48=_0xb0b9d9[_0x448657(0x189)]={'stringify':function(_0x452371){var _0xc1b1c1=_0x448657;for(var _0xa5495f=_0x452371[_0xc1b1c1(0x233)],_0x29b477=_0x452371[_0xc1b1c1(0x1da)],_0x428290=[],_0x38ead2=0x0;_0x38ead2<_0x29b477;_0x38ead2++){var _0x50f3c5=_0xa5495f[_0x38ead2>>>0x2]>>>0x18-_0x38ead2%0x4*0x8&0xff;_0x428290[_0xc1b1c1(0x473)](String[_0xc1b1c1(0x18d)](_0x50f3c5));}return _0x428290['join']('');},'parse':function(_0x4bc57b){var _0x8effe0=_0x448657;for(var _0x46c6d2=_0x4bc57b[_0x8effe0(0x389)],_0x15b713=[],_0x115f78=0x0;_0x115f78<_0x46c6d2;_0x115f78++)_0x15b713[_0x115f78>>>0x2]|=(_0x4bc57b[_0x8effe0(0x419)](_0x115f78)&0xff)<<0x18-_0x115f78%0x4*0x8;return new _0x2e6930['init'](_0x15b713,_0x46c6d2);}},_0x35ad50=_0xb0b9d9['Utf8']={'stringify':function(_0x6582a6){var _0x8f583e=_0x448657;try{return decodeURIComponent(escape(_0x567e48[_0x8f583e(0x3d5)](_0x6582a6)));}catch{throw new Error(_0x8f583e(0x362));}},'parse':function(_0x1b699c){return _0x567e48['parse'](unescape(encodeURIComponent(_0x1b699c)));}},_0x107295=_0x4d1a8a['BufferedBlockAlgorithm']=_0x23857e['extend']({'reset':function(){var _0x43d2a6=_0x448657;this[_0x43d2a6(0x277)]=new _0x2e6930['init'](),this[_0x43d2a6(0x1b2)]=0x0;},'_append':function(_0x1c53ce){var _0x524c49=_0x448657;typeof _0x1c53ce=='string'&&(_0x1c53ce=_0x35ad50[_0x524c49(0x25f)](_0x1c53ce)),this['_data'][_0x524c49(0x3cd)](_0x1c53ce),this[_0x524c49(0x1b2)]+=_0x1c53ce[_0x524c49(0x1da)];},'_process':function(_0x2667bd){var _0x530e28=_0x448657,_0x575de4,_0x33efd9=this[_0x530e28(0x277)],_0xaf9520=_0x33efd9[_0x530e28(0x233)],_0x3f320e=_0x33efd9[_0x530e28(0x1da)],_0xd362a3=this[_0x530e28(0x22e)],_0x4f8e9a=_0xd362a3*0x4,_0x564075=_0x3f320e/_0x4f8e9a;_0x2667bd?_0x564075=_0x1643e9[_0x530e28(0x2d3)](_0x564075):_0x564075=_0x1643e9[_0x530e28(0x1d5)]((_0x564075|0x0)-this['_minBufferSize'],0x0);var _0x58375f=_0x564075*_0xd362a3,_0x4b4d69=_0x1643e9[_0x530e28(0x340)](_0x58375f*0x4,_0x3f320e);if(_0x58375f){for(var _0x277d3e=0x0;_0x277d3e<_0x58375f;_0x277d3e+=_0xd362a3)this[_0x530e28(0x36b)](_0xaf9520,_0x277d3e);_0x575de4=_0xaf9520[_0x530e28(0x374)](0x0,_0x58375f),_0x33efd9[_0x530e28(0x1da)]-=_0x4b4d69;}return new _0x2e6930['init'](_0x575de4,_0x4b4d69);},'clone':function(){var _0x58a282=_0x448657,_0x32ab2b=_0x23857e[_0x58a282(0x442)][_0x58a282(0x1ae)](this);return _0x32ab2b[_0x58a282(0x277)]=this[_0x58a282(0x277)][_0x58a282(0x442)](),_0x32ab2b;},'_minBufferSize':0x0});_0x4d1a8a[_0x448657(0x3f8)]=_0x107295['extend']({'cfg':_0x23857e[_0x448657(0x377)](),'init':function(_0x3a4abb){var _0x2d316=_0x448657;this[_0x2d316(0x230)]=this[_0x2d316(0x230)][_0x2d316(0x377)](_0x3a4abb),this[_0x2d316(0x3fa)]();},'reset':function(){var _0x16de62=_0x448657;_0x107295['reset'][_0x16de62(0x1ae)](this),this[_0x16de62(0x2c8)]();},'update':function(_0x525e18){var _0x365a63=_0x448657;return this[_0x365a63(0x1fa)](_0x525e18),this[_0x365a63(0x347)](),this;},'finalize':function(_0x1360bc){var _0x3ee2b7=_0x448657;_0x1360bc&&this[_0x3ee2b7(0x1fa)](_0x1360bc);var _0x4f5876=this['_doFinalize']();return _0x4f5876;},'blockSize':0x10,'_createHelper':function(_0x1c1f3b){return function(_0xc98ea1,_0x1caffa){var _0x318cc1=_0x741b;return new _0x1c1f3b[(_0x318cc1(0x459))](_0x1caffa)[_0x318cc1(0x3d3)](_0xc98ea1);};},'_createHmacHelper':function(_0x11af3a){return function(_0x360019,_0x35dbe4){var _0x1fc01f=_0x741b;return new _0x351895[(_0x1fc01f(0x21d))]['init'](_0x11af3a,_0x35dbe4)['finalize'](_0x360019);};}});var _0x351895=_0x2189d9[_0x448657(0x2d8)]={};return _0x2189d9;}(Math);return _0x117398;}));}(pe)),pe['exports'];}var ge={'exports':{}},xi=ge[_0x54a041(0x376)],Qe;function Ut(){var _0x3d8220=_0x54a041;return Qe||(Qe=0x1,function(_0x535a92,_0x569bdf){(function(_0x17d438,_0x3ee3ef){_0x535a92['exports']=_0x3ee3ef(ee());}(xi,function(_0x1a84c7){var _0x5b2147=_0x741b;return(function(){var _0xda510f=_0x741b,_0x2c508e=_0x1a84c7,_0x49f1c2=_0x2c508e[_0xda510f(0x1b0)],_0x2be21d=_0x49f1c2[_0xda510f(0x26c)],_0x180995=_0x2c508e[_0xda510f(0x45f)];_0x180995[_0xda510f(0x359)]={'stringify':function(_0xf4da86){var _0x1eb8c4=_0xda510f,_0x4cde7f=_0xf4da86['words'],_0x19b4a5=_0xf4da86[_0x1eb8c4(0x1da)],_0x436933=this['_map'];_0xf4da86[_0x1eb8c4(0x1dc)]();for(var _0x31f028=[],_0x5f1d4e=0x0;_0x5f1d4e<_0x19b4a5;_0x5f1d4e+=0x3)for(var _0x5d2791=_0x4cde7f[_0x5f1d4e>>>0x2]>>>0x18-_0x5f1d4e%0x4*0x8&0xff,_0x1fe499=_0x4cde7f[_0x5f1d4e+0x1>>>0x2]>>>0x18-(_0x5f1d4e+0x1)%0x4*0x8&0xff,_0xd122b2=_0x4cde7f[_0x5f1d4e+0x2>>>0x2]>>>0x18-(_0x5f1d4e+0x2)%0x4*0x8&0xff,_0x5eccf1=_0x5d2791<<0x10|_0x1fe499<<0x8|_0xd122b2,_0x48f8c9=0x0;_0x48f8c9<0x4&&_0x5f1d4e+_0x48f8c9*0.75<_0x19b4a5;_0x48f8c9++)_0x31f028[_0x1eb8c4(0x473)](_0x436933[_0x1eb8c4(0x42f)](_0x5eccf1>>>0x6*(0x3-_0x48f8c9)&0x3f));var _0x4ced08=_0x436933[_0x1eb8c4(0x42f)](0x40);if(_0x4ced08){for(;_0x31f028['length']%0x4;)_0x31f028[_0x1eb8c4(0x473)](_0x4ced08);}return _0x31f028[_0x1eb8c4(0x45e)]('');},'parse':function(_0x101bd8){var _0x332cf7=_0xda510f,_0x22af47=_0x101bd8[_0x332cf7(0x389)],_0x257110=this[_0x332cf7(0x43a)],_0x1e7e9=this['_reverseMap'];if(!_0x1e7e9){_0x1e7e9=this[_0x332cf7(0x308)]=[];for(var _0x1ebbf5=0x0;_0x1ebbf5<_0x257110[_0x332cf7(0x389)];_0x1ebbf5++)_0x1e7e9[_0x257110[_0x332cf7(0x419)](_0x1ebbf5)]=_0x1ebbf5;}var _0x16e769=_0x257110[_0x332cf7(0x42f)](0x40);if(_0x16e769){var _0x2c9321=_0x101bd8[_0x332cf7(0x1e7)](_0x16e769);_0x2c9321!==-0x1&&(_0x22af47=_0x2c9321);}return _0x356d2f(_0x101bd8,_0x22af47,_0x1e7e9);},'_map':_0xda510f(0x3a2)};function _0x356d2f(_0x1fc481,_0x6485b4,_0x3192e1){var _0x44f3b0=_0xda510f;for(var _0x2255fd=[],_0x11be4f=0x0,_0x25f564=0x0;_0x25f564<_0x6485b4;_0x25f564++)if(_0x25f564%0x4){var _0x3d8330=_0x3192e1[_0x1fc481[_0x44f3b0(0x419)](_0x25f564-0x1)]<<_0x25f564%0x4*0x2,_0x5ee1d5=_0x3192e1[_0x1fc481['charCodeAt'](_0x25f564)]>>>0x6-_0x25f564%0x4*0x2,_0x46b743=_0x3d8330|_0x5ee1d5;_0x2255fd[_0x11be4f>>>0x2]|=_0x46b743<<0x18-_0x11be4f%0x4*0x8,_0x11be4f++;}return _0x2be21d['create'](_0x2255fd,_0x11be4f);}}()),_0x1a84c7[_0x5b2147(0x45f)]['Base64'];}));}(ge)),ge[_0x3d8220(0x376)];}var me={'exports':{}},ki=me[_0x54a041(0x376)],et;function _0x5e18(){var _0x505612=['JOIN_ROOM_FAILED','reset','Error\x20on\x20receiving\x20event','[CollaborationState]:\x20apply\x20error!','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','Inject','_awaitingChangeset','_updateState','_DEC_XFORM_MODE','debug','onRemoteChangeset','uploadFileServerUrl','_compressMutationService','@univerjs/sheets','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_PROJECT','interceptor','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','name','_logService','HttpImport','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_DOC','objectID','_injector','_socket$','Cipher','OpenSSL','_nRounds','setShowComponents','method','encrypt','charCodeAt','href','mutations','_queuedRemoteChangesets','_changesetSessionId','_loadSheet','CollaborationEntity','UUID','_sender','requestParams','reject','APPLY_NON_SEQUENTIAL_REVISION','error','onSyncEditingCollabCursor','Encryptor','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','size','POST','onRemoteRej','loadOfflineData','_clearUndo','_hasher','charAt','_transformService','resend','_onConnectionFailed','LocaleService','_handler','ivSize','Utf8','getMemberID','ITransformService','toggleOffline','_map','AWAITING_WITH_PENDING','updatePermissionPoint','_telemetryService','pluginName','batchAllowed','NOT_COLLAB','[PendingState]:\x20received\x20acknowledgement.','clone','getActiveSheet','textRanges','Base','_transformIMECache','override','startsWith','removeMember','CollaborationSocketService','image/gif','UNKNOWN_CODE','title','collaboratorID','_httpService','_ENC_XFORM_MODE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','saveImage','_networkConditionService','unknown','resourceIDs','26914FNNpmZ','[FetchMissState]','BehaviorSubject','init','DocCollaborationEntity','reduce','encode','_init','join','enc','getWorkbookSelections','createEncryptor','put','_initMergeInterceptor','unitInfo$','CollaborationUIEventId','entries','csAckEvent','salt','SUBMIT_CHANGESET_TIMEOUT','_socketService','getSnapshotAPIPath','[PendingState]:\x20unhandled\x20univer\x20type:\x20','saveSnapshot','subject','_waitCount','APPLY_DUPLICATED','synced','_initUnitPermissionChange','push','Decryptor','roomInfos','/rev/','FetchingMissState','UPDATE_CURSOR','bind','1562457XqYklm','CollaborationImageIoService','BlockCipherMode','COLLAB_WEB_SOCKET_URL_KEY','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','73220KrBJLE','@univerjs/telemetry','@univerjs/core','_event$','selections','getLocalCacheKey','toggleOnline','[CollaborationUndoRedoService]','_getCurrentRevision','/universer-api/oidc/authpage','_entities','compose','delete','awaitingChangeset','_unitInfo$','SEND_CHANGESET_TIMEOUT','AwaitingState','dispose','params','_executeRemoteChangeset','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','capture','UniverInstanceType','UNIVER_UNKNOWN','_sheetTransformSelectionsService','onTransformIME','memberID','randomBytes','_invKeySchedule','RevisionService','fetching\x20missing\x20changesets\x20from\x20','/universer-api/stream/file/upload','send','actions','getUnitType','USERS_LEAVE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','rng','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','_getUploadFileURL','setConfig','OPTIONAL','SOCKET_FAILED','AWAITING','pipe','clear','/universer-api/snapshot/','_resendTimeout','_unitID','_keySchedule','_collaborationSessionService','onRemoteAck','IMentionIOService','onCommentUpdate','sequenceExecute','_startTelemetryCollaborationNewChangeset','_config','_stopTelemetryCollaborationNewChangeset','_transformRemoteChangesetByIMECache','readAsDataURL','UPDATE_PERMISSION_OBJ','IImageIoService','_collaborationPaused','kdf','EmptyMutation','awaiting_with_pending','SheetCollaborationEntity','catch','_createInitialState','MD5','UniverNetworkPlugin','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','type','1beRooL','updateOfflineData','UserManagerService','4417892YhyfbW','toString','_onCombEvent','fetchMissingChangesets','NOT_FOUND','set','slice','UnitEmbedded','_candidateSocket','session.room-cnt-exceeds','has','onTransformRemoteChangesetByIMECache','disableLocalCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentUpdate$','string','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ICollaborationSocketService','getMember','_commandService','_createHmacHelper','HmacMD5','ISocketService','forEach','_createHandler','getSheetBlock','transformChangesets','readyForCollab','createCollaborator','post','shareReplay','BlockCipher','DEFAULT_FILE_NAME','getInterceptPoints','range','disposeWithMe','_singleActiveUnitService','reconnect','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_retryConnectingTimer','AES','_undoRedoService','Latin1','OfflineState','_sendHeartbeat','change$','fromCharCode','_localCacheService','closeSession','_keyPriorReset','DependentOn','UniverCollaborationClientPlugin','_scheduleCollaborationTimeoutTimer','_resendTimer','[DataLoaderService]','LIVESHARE_REQUEST_HOST','LICENSE_IMPORT_SIZE_EXCEEDED','execute','_transformStateCache','ImageSourceType','appendMutation','byteLength','loadDoc','executeCommand','getImageSourceCache','[SyncedState]:\x20received\x20rejection.','CommentService','RETRY_CONNECTING_MAX_COUNT','fromCollab','createInstance','NEW_CHANGESETS','PendingState','[OfflineState]:\x20received\x20changeset.','getRandomValues','_clearCollaborationTimeoutTimer','deepClone','IPermissionService','getSheetId','onTransformSelections','call','AuthzIoHttpService','lib','_clearRedo','_nDataBytes','_clearScheduledTask','UNIVER_SLIDE','_toggleOnline','MUTATION','_transitionLocked','rev','JOIN_ROOM_NOT_EXISTS','offline','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Univer','ISnapshotServerService','getRoom','UNAUTHENTICATED','state$','_collaborationTimeoutTimer','_doCryptBlock','objectActions','_clearTimeoutTimer','fetchThroughInterceptors','LIVESHARE_FETCH_OPERATIONS','connection\x20error','hasher','_incrementRevisionNumber','HEARTBEAT_TIMEOUT_KEY','_state','OFFLINE','&to=','ICommandService','json','Pkcs7','snapshot','m2Prime','sessionStatus','crypto','max','getCurrentSelections','__creator','CLOSE_ROOM','_initRequestHeader','sigBytes','onTransformRemoteChangesetByStateCache','clamp','_updateLocalCache','serializeCombRequest','_getAPIPrefixPath','then','CONNECTOR_DATA_TOO_LARGE','default','_toggleOffline','_socketReady','save\x20fail\x20reason\x20is\x20','JOIN_ROOM_PERMISSION_DENIED','indexOf','Disposable','rxjs','COMMENT_UPDATE','_remoteChangesetQueue','Module','socket$','_doFinalize','JSONX','MergeInterceptorFactory','INetworkConditionService','Tools','_retryCount','get','_change$','HmacSHA1','_iv','close','sheets','_append','code','Could\x20not\x20dynamically\x20require\x20\x22','collaMsg','close$','\x0aAfter:\x20','LocalUndoRedoService','location','COLLAB_WEB_SOCKET_URL','_clearLocalCache','getTypeOfUnitDisposed$','_prevBlock','leaveEvent','YUUMI_UNABLE_LOAD_URL','_substituteRedoStack','deserializeToCombResponse','UNDEFINED','collaboration_new_changeset','getImage','UnitStatus','routeKey','getResourcesRequest','COMPRESS_MUTATION_SEND','_socket','liveShareOperation','NoPadding','cmd','shouldCloseConn','_sessionStatus$','getCurrentRevOfUnit','subUnitId','baseRev','[CollaborationSession]','merge','Workbook','HMAC','apply','WorkbookEditablePermission','LIVESHARE_TERMINATE','_configService','_joinRoom','LICENSE_EXPORT_SIZE_EXCEEDED','_undoStacks','_cipher','error$','_permissionService','GLOBAL_ROOMS_CNT_EXCEEDS','_createHelper','collaboration-client.config','entityInit$','_HTTPService','COLLAB_SUBMIT_CHANGESET_URL','blockSize','JOIN_ROOM_FULL','cfg','parseProtocolChangeset','OTHER_CLIENT_EDITING','words','resolve','\x20-\x20','_registerDependencies','onLocalMutation','/object/','LICENSE_MAX_UNITS_EXCEEDED','every','_xformMode','telemetry\x20info\x20is\x20not\x20initialized','_onLocalMutation','parseChangesetToProtocol','getUnit','_clearHeartbeatTimer','unpad','/new_changes','FAIL','confirm','COMPRESS_MUTATION_APPLY','includes','event$','_initDependencies','IUndoRedoService','key','LIVESHARE_OPERATION','now','mode','CBC','startTime','loadSheet','format','CollaborationEvent','abs','_replaceFileID','userID','toDisposable','snapshotServerUrl','_handlerCallback','_collaborationUIEventService','randomUUID','equals','image/png','processBlock','deleteCollaborator','parse','downloadEndpointUrl','MentionIoHttpService','localCacheService','roles','_fetchMissChangesets','_transformUndoredo','uniscriptRunEvent','toLowerCase','_doCreateSocket','CHANGESET_SHOULD_RETRY','state','registerHTTPInterceptor','WordArray','PY_RUNTIME_SCRIPT_ERROR','YUUMI_RATE_OVER_LIMIT','SheetsSelectionsService','loginUrlKey','_onConflict','msCrypto','_key','SheetTransformSelectionsService','csRejEvent','data','_data','_mode','random','COLLAB_SUBMIT_CHANGESET_URL_KEY','emitEvent','_resendWithTimeout','filter','2699472IfNBao','ImageUploadStatusType','_entityInit$','encryptBlock','JOIN','_imageSourceCache','_isPermissionRej','[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.','commentUpdateEvent','_onOffline','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','MemberService','_tryReconnect','liveShareNewHost','&assign=','getCurrentUser','onload','collaborators','/universer-api/authz','isArray','onSendChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_pendingMutations','stopTime','collabSubmitChangesetUrl','_getUndoStack','_telemetryInfo','padding','DEFAULT_COLLAB_WEB_SOCKET_URL','_getRedoStack','UNIVER_COLLABORATION_CLIENT_PLUGIN','/resources','dispose$','initWorkbookPermissionChange','unsubscribe','_loadDoc','_scheduleCompleteTimestamp','@univerjs-pro/collaboration','_univerInstanceService','_onRemoteRetry','/universer-api/file/{fileID}/sign-url','setCurrentUser','pad','prototype','find','ConflictState','CollaborationController','update','InsertSheetMutation','hasOwnProperty','sin','\x20in\x20_schedule.','MentionType','_sendingTimer','[CollaborationSessionService]','refreshPermission','CompressMutationService','iterations','getCollabEntity$','newCsEvent','_checkMissing','SheetPermissionInitController','_createInitialStateImpl','_roomMembers','getOwnPropertyDescriptor','HEARTBEAT_INTERVAL','add','addHandlerCallback','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','SerializableCipher','isPermissionRej','getGlobalObject','_applyRemoteChangeset','_oKey','_doReset','_substituteUndoStack','IConfigService','INTERNAL_ERROR','UNIVER_SHEET','take','Undefined','updateCursorEvent','Hex','PENDING','origin','ceil','CHANGESET_REJ','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EXCHANGE_SIGN_URL_SERVER_URL_KEY','readInt32LE','algo','_getCtorByUniverType','_emitMembers','next','SnapshotServerOverHTTPService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fetch_missing','asObservable','substr','CollaborationUIEventService','UNRECOGNIZED','_updateStatus','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ONLINE','session','/unit/','LOCAL_CACHE_INTERVAL','_lockTransition','INVALID_ARGUMENT','isTransformMutationsWithChangesetFailure','socketService','SOCKET_FAILED_RETRY','HELLO','_onUserLeave','NO_OTHER_CLIENTS_EDITING','[UniverCollaborationClientPlugin]','fetchMiss','_instanceService','_type','firstValueFrom','_onRemoteChangeset','ENSURE_SNAPSHOT_EXECUTION','revision','originalMeta','TOO_MANY_REQUESTS','textEncoder','_changesetReqId','defineProperty','SessionStatus','_startCollaboration','JOINING','_getSignURL','_onMessage','PERMISSION_REJ','$super','_submitChangeset','reqId','LIVESHARE_NEW_HOST','_reverseMap','APPLY_REVISION_CONFILICT','_socketMessageSubscription','Optional','SUCCUSS','_onJoinRoomEvent','IUniverInstanceService','not_collab','_userManagerService','CHANGESET_ACK','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/block/','takeUntil','joinRsp','_schedule','target','IAuthzIoService','buffer','CollaborationSessionService','_parse','sid','?size=','complete','HTTPService','[SyncedState]:\x20received\x20acknowledgement.','patch','_sendHeartbeatTimer','localeService','floor','_shouldReportTelemetry','unitID','SetSelectionsOperation','sessionStatus$','createSocket','touchDependencies','USERS_ENTER','onlyLocal','_transformRemoteChangesetByStateCache','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_hash','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','map','retryConnectingInterval','ws://127.0.0.1:8000/universer-api/comb/connect','status','commentUpdate$','UNISCRIPT_RUN','message$','HEARTBEAT_INTERVAL_KEY','ciphertext','Subject','enableAuthServer','_collabSessionService','values','getConfig','min','_initCloseConn','_showConflictNotification','_timeoutTimer','SUBMIT_CHANGESET','DataLoaderService','SyncedState','_process','/collaborator','?url=','_state$','getTime','MSG_FOR_ERROR','CollaborationSession','_decreaseWaiting','_localeService','Failed\x20to\x20update\x20permission\x20point','objectType','StreamCipher','_memberService','COMPLETION_FINISHED','_snapshotService','AwaitingWithPendingState','_roomCreated$','editingUnit','Base64','[CollaborationEntity]','_sessions','focused$','responseType','/-/object/list','CONFLICT','replace','/allowed','Malformed\x20UTF-8\x20data','conflict','getValue','formatter','session.join-failed','SNAPSHOT_SERVER_URL_KEY','joinEvent','SNAPSHOT_HAS_BEEN_REMOVED','createIdentifier','_doProcessBlock','_onRecvEvent','univer-pro.collaboration-client.network-condition.service','updateMember','_rescheduleHeartbeat','onMissedChangesetFetched','hostname','_createSocket','rxjs/operators','splice','generateRandomId','exports','extend','LEAVE','authzUrl','_tryEnsureSocket','113624ntrsZM','saveSheetBlock','EvpKDF','CollaborativeUndoRedoService','onTransformState','/universer-api/uniscript','__Key__','unitId','subscribe','PERSON','image/jpeg','_snapshotServerService','Rectangle','ILogService','length','isTransformMutationsWithChangesetSuccess','unitId\x20is\x20not\x20found','DEFAULT_WS_SESSION_TICKET_URL','c1Prime','headers','_replayCachedMutations','_transformStack','RichTextEditingMutation','eventID','collaboration-client.local-cache-service','/universer-api/user/session-ticket','FETCH_MISSING','PSEUDO_FETCH_MISSING_RESULT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onUserJoin','SNAPSHOT_INVALID_SNAPSHOT','mergeOverrideWithDependencies','_clearRetryConnectingTimer','onRemoteRetry','{fileID}','unit-cache-','incrementRevOfUnit','ALREADY_EXISTS','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getAllMembers','addImageSourceCache','listCollaborators','mixIn','keySize','isTransformChangesetsSuccess','CommandType','_syncEditingCollabCursor','INGEST','onMissingChangesets','_members','avatar','APPLY_PERMISSION_DENIED','repeat','_getSendChangesetTimeout','pending','/-/object/-/batch_allowed','list','ERROR_EXCEED_SIZE','_onRemoteACK','5569942jMcqij','SNAPSHOT_URL_KEY','SHA1','symbol','_onRemoteRejected','_iKey','ERROR_IMAGE','getCollabEntity','RECV','CollaborationStatus','_revisionService','UNKNOWN_CMD','_throwTelemetryCollaborationNewChangeset','_redoStacks','_removeRoom','/universer-api/snapshot','isInternalEditorID','from','_getDownloadEndpointURL','transformSelections','compute','\x0aCurrent:\x20','concat','findIndex','getTypeOfUnitAdded$','YUUMI_URL_COL_OUT_OF_RANGE','RxDisposable','@univerjs/docs','finalize','Injector','stringify','_unlockTransition','OTHER_CLIENTS_EDITING','getUnitId','_listenToNetworkCondition','@univerjs-pro/license','_acknowledgedAwaitingChangeset','allowed','body','HTTPRequest','waitForRoom$','_getAPIPrefix','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','collabWebSocketUrl','transformUndoRedo','_waitForHeartbeatResponse','b64DecodeUnicode','create','mapDocumentTypeToUniverType','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PERMISSION_DENIED','ThresholdInterceptorFactory','submit\x20changeset\x20error!','onCommandExecuted','function','IDLE','@univerjs/network','HEARTBEAT','transformStack\x20failed!','infoRsp','createDecryptor','open$','FileId','_eventService','transformMutationsWithChangeset','Hasher'];_0x5e18=function(){return _0x505612;};return _0x5e18();}function Hi(){var _0x4d3cfe=_0x54a041;return et||(et=0x1,function(_0x490aeb,_0x29e160){(function(_0x579876,_0x4bf66d){var _0x1522ec=_0x741b;_0x490aeb[_0x1522ec(0x376)]=_0x4bf66d(ee());}(ki,function(_0x14eae7){var _0x56fc3e=_0x741b;return function(_0x54d372){var _0x1d0d04=_0x741b,_0x478961=_0x14eae7,_0x14d93d=_0x478961[_0x1d0d04(0x1b0)],_0x11af02=_0x14d93d['WordArray'],_0x30fef9=_0x14d93d[_0x1d0d04(0x3f8)],_0x553d20=_0x478961['algo'],_0x2e277e=[];(function(){var _0x35f4de=_0x1d0d04;for(var _0x4cfdf4=0x0;_0x4cfdf4<0x40;_0x4cfdf4++)_0x2e277e[_0x4cfdf4]=_0x54d372[_0x35f4de(0x253)](_0x54d372[_0x35f4de(0x2b0)](_0x4cfdf4+0x1))*0x100000000|0x0;}());var _0x1e2c89=_0x553d20[_0x1d0d04(0x158)]=_0x30fef9[_0x1d0d04(0x377)]({'_doReset':function(){var _0x2bc5ba=_0x1d0d04;this[_0x2bc5ba(0x32f)]=new _0x11af02['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x88a45d,_0xa7c382){var _0x588869=_0x1d0d04;for(var _0x13aa80=0x0;_0x13aa80<0x10;_0x13aa80++){var _0x3bf915=_0xa7c382+_0x13aa80,_0x381605=_0x88a45d[_0x3bf915];_0x88a45d[_0x3bf915]=(_0x381605<<0x8|_0x381605>>>0x18)&0xff00ff|(_0x381605<<0x18|_0x381605>>>0x8)&0xff00ff00;}var _0x3330ab=this[_0x588869(0x32f)][_0x588869(0x233)],_0x534b8b=_0x88a45d[_0xa7c382+0x0],_0x26be2e=_0x88a45d[_0xa7c382+0x1],_0x3cfe8e=_0x88a45d[_0xa7c382+0x2],_0x29ed0e=_0x88a45d[_0xa7c382+0x3],_0x32358a=_0x88a45d[_0xa7c382+0x4],_0x12baa0=_0x88a45d[_0xa7c382+0x5],_0x1125d1=_0x88a45d[_0xa7c382+0x6],_0x18eedd=_0x88a45d[_0xa7c382+0x7],_0x309737=_0x88a45d[_0xa7c382+0x8],_0x37c086=_0x88a45d[_0xa7c382+0x9],_0x2f5855=_0x88a45d[_0xa7c382+0xa],_0x547009=_0x88a45d[_0xa7c382+0xb],_0x2dbf2a=_0x88a45d[_0xa7c382+0xc],_0x1ce89b=_0x88a45d[_0xa7c382+0xd],_0x1a6b69=_0x88a45d[_0xa7c382+0xe],_0x4c8ea6=_0x88a45d[_0xa7c382+0xf],_0x29020b=_0x3330ab[0x0],_0x556b21=_0x3330ab[0x1],_0x5c4a22=_0x3330ab[0x2],_0x2e1510=_0x3330ab[0x3];_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x534b8b,0x7,_0x2e277e[0x0]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x26be2e,0xc,_0x2e277e[0x1]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x3cfe8e,0x11,_0x2e277e[0x2]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x29ed0e,0x16,_0x2e277e[0x3]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x32358a,0x7,_0x2e277e[0x4]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x12baa0,0xc,_0x2e277e[0x5]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1125d1,0x11,_0x2e277e[0x6]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x18eedd,0x16,_0x2e277e[0x7]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x309737,0x7,_0x2e277e[0x8]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x37c086,0xc,_0x2e277e[0x9]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x2f5855,0x11,_0x2e277e[0xa]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x547009,0x16,_0x2e277e[0xb]),_0x29020b=_0x3f68b9(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x2dbf2a,0x7,_0x2e277e[0xc]),_0x2e1510=_0x3f68b9(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1ce89b,0xc,_0x2e277e[0xd]),_0x5c4a22=_0x3f68b9(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1a6b69,0x11,_0x2e277e[0xe]),_0x556b21=_0x3f68b9(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x4c8ea6,0x16,_0x2e277e[0xf]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x26be2e,0x5,_0x2e277e[0x10]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1125d1,0x9,_0x2e277e[0x11]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x547009,0xe,_0x2e277e[0x12]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x534b8b,0x14,_0x2e277e[0x13]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x12baa0,0x5,_0x2e277e[0x14]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x2f5855,0x9,_0x2e277e[0x15]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x4c8ea6,0xe,_0x2e277e[0x16]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x32358a,0x14,_0x2e277e[0x17]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x37c086,0x5,_0x2e277e[0x18]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x1a6b69,0x9,_0x2e277e[0x19]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x29ed0e,0xe,_0x2e277e[0x1a]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x309737,0x14,_0x2e277e[0x1b]),_0x29020b=_0x4f7021(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x1ce89b,0x5,_0x2e277e[0x1c]),_0x2e1510=_0x4f7021(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x3cfe8e,0x9,_0x2e277e[0x1d]),_0x5c4a22=_0x4f7021(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x18eedd,0xe,_0x2e277e[0x1e]),_0x556b21=_0x4f7021(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x2dbf2a,0x14,_0x2e277e[0x1f]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x12baa0,0x4,_0x2e277e[0x20]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x309737,0xb,_0x2e277e[0x21]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x547009,0x10,_0x2e277e[0x22]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1a6b69,0x17,_0x2e277e[0x23]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x26be2e,0x4,_0x2e277e[0x24]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x32358a,0xb,_0x2e277e[0x25]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x18eedd,0x10,_0x2e277e[0x26]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x2f5855,0x17,_0x2e277e[0x27]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x1ce89b,0x4,_0x2e277e[0x28]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x534b8b,0xb,_0x2e277e[0x29]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x29ed0e,0x10,_0x2e277e[0x2a]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1125d1,0x17,_0x2e277e[0x2b]),_0x29020b=_0x20fc57(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x37c086,0x4,_0x2e277e[0x2c]),_0x2e1510=_0x20fc57(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x2dbf2a,0xb,_0x2e277e[0x2d]),_0x5c4a22=_0x20fc57(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x4c8ea6,0x10,_0x2e277e[0x2e]),_0x556b21=_0x20fc57(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x3cfe8e,0x17,_0x2e277e[0x2f]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x534b8b,0x6,_0x2e277e[0x30]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x18eedd,0xa,_0x2e277e[0x31]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1a6b69,0xf,_0x2e277e[0x32]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x12baa0,0x15,_0x2e277e[0x33]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x2dbf2a,0x6,_0x2e277e[0x34]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x29ed0e,0xa,_0x2e277e[0x35]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x2f5855,0xf,_0x2e277e[0x36]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x26be2e,0x15,_0x2e277e[0x37]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x309737,0x6,_0x2e277e[0x38]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x4c8ea6,0xa,_0x2e277e[0x39]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x1125d1,0xf,_0x2e277e[0x3a]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x1ce89b,0x15,_0x2e277e[0x3b]),_0x29020b=_0x41a26d(_0x29020b,_0x556b21,_0x5c4a22,_0x2e1510,_0x32358a,0x6,_0x2e277e[0x3c]),_0x2e1510=_0x41a26d(_0x2e1510,_0x29020b,_0x556b21,_0x5c4a22,_0x547009,0xa,_0x2e277e[0x3d]),_0x5c4a22=_0x41a26d(_0x5c4a22,_0x2e1510,_0x29020b,_0x556b21,_0x3cfe8e,0xf,_0x2e277e[0x3e]),_0x556b21=_0x41a26d(_0x556b21,_0x5c4a22,_0x2e1510,_0x29020b,_0x37c086,0x15,_0x2e277e[0x3f]),_0x3330ab[0x0]=_0x3330ab[0x0]+_0x29020b|0x0,_0x3330ab[0x1]=_0x3330ab[0x1]+_0x556b21|0x0,_0x3330ab[0x2]=_0x3330ab[0x2]+_0x5c4a22|0x0,_0x3330ab[0x3]=_0x3330ab[0x3]+_0x2e1510|0x0;},'_doFinalize':function(){var _0x46f6bf=_0x1d0d04,_0x582b74=this[_0x46f6bf(0x277)],_0x4454b3=_0x582b74['words'],_0x33b420=this[_0x46f6bf(0x1b2)]*0x8,_0x2757aa=_0x582b74['sigBytes']*0x8;_0x4454b3[_0x2757aa>>>0x5]|=0x80<<0x18-_0x2757aa%0x20;var _0x1a5257=_0x54d372['floor'](_0x33b420/0x100000000),_0x2dcbcf=_0x33b420;_0x4454b3[(_0x2757aa+0x40>>>0x9<<0x4)+0xf]=(_0x1a5257<<0x8|_0x1a5257>>>0x18)&0xff00ff|(_0x1a5257<<0x18|_0x1a5257>>>0x8)&0xff00ff00,_0x4454b3[(_0x2757aa+0x40>>>0x9<<0x4)+0xe]=(_0x2dcbcf<<0x8|_0x2dcbcf>>>0x18)&0xff00ff|(_0x2dcbcf<<0x18|_0x2dcbcf>>>0x8)&0xff00ff00,_0x582b74['sigBytes']=(_0x4454b3[_0x46f6bf(0x389)]+0x1)*0x4,this[_0x46f6bf(0x347)]();for(var _0x3783e9=this[_0x46f6bf(0x32f)],_0xf6a8ff=_0x3783e9[_0x46f6bf(0x233)],_0x496860=0x0;_0x496860<0x4;_0x496860++){var _0x35ad09=_0xf6a8ff[_0x496860];_0xf6a8ff[_0x496860]=(_0x35ad09<<0x8|_0x35ad09>>>0x18)&0xff00ff|(_0x35ad09<<0x18|_0x35ad09>>>0x8)&0xff00ff00;}return _0x3783e9;},'clone':function(){var _0x41291c=_0x1d0d04,_0x40feaf=_0x30fef9[_0x41291c(0x442)][_0x41291c(0x1ae)](this);return _0x40feaf[_0x41291c(0x32f)]=this[_0x41291c(0x32f)][_0x41291c(0x442)](),_0x40feaf;}});function _0x3f68b9(_0x25bc15,_0x19be86,_0xf4e783,_0x4c7c26,_0x4fd878,_0x5f4602,_0x2b5ad6){var _0x5b236e=_0x25bc15+(_0x19be86&_0xf4e783|~_0x19be86&_0x4c7c26)+_0x4fd878+_0x2b5ad6;return(_0x5b236e<<_0x5f4602|_0x5b236e>>>0x20-_0x5f4602)+_0x19be86;}function _0x4f7021(_0x8aa67,_0x50d954,_0x6fccd4,_0x269753,_0x447561,_0x5d057a,_0x27a2d2){var _0x52b59c=_0x8aa67+(_0x50d954&_0x269753|_0x6fccd4&~_0x269753)+_0x447561+_0x27a2d2;return(_0x52b59c<<_0x5d057a|_0x52b59c>>>0x20-_0x5d057a)+_0x50d954;}function _0x20fc57(_0x454754,_0x79932b,_0xa864b4,_0x2a1c29,_0x3db4cb,_0x322971,_0xdaa1f1){var _0x80de95=_0x454754+(_0x79932b^_0xa864b4^_0x2a1c29)+_0x3db4cb+_0xdaa1f1;return(_0x80de95<<_0x322971|_0x80de95>>>0x20-_0x322971)+_0x79932b;}function _0x41a26d(_0x5f2d3f,_0x474a8b,_0x14542a,_0x2de4d5,_0x306f67,_0x380567,_0x1f9c61){var _0x114d41=_0x5f2d3f+(_0x14542a^(_0x474a8b|~_0x2de4d5))+_0x306f67+_0x1f9c61;return(_0x114d41<<_0x380567|_0x114d41>>>0x20-_0x380567)+_0x474a8b;}_0x478961[_0x1d0d04(0x158)]=_0x30fef9[_0x1d0d04(0x229)](_0x1e2c89),_0x478961[_0x1d0d04(0x174)]=_0x30fef9[_0x1d0d04(0x173)](_0x1e2c89);}(Math),_0x14eae7[_0x56fc3e(0x158)];}));}(me)),me[_0x4d3cfe(0x376)];}var Ie={'exports':{}},Ee={'exports':{}},ji=Ee[_0x54a041(0x376)],tt;function $i(){var _0x21be44=_0x54a041;return tt||(tt=0x1,function(_0x488952,_0x3cc435){(function(_0x1acf12,_0x57afc2){var _0x5bdccd=_0x741b;_0x488952[_0x5bdccd(0x376)]=_0x57afc2(ee());}(ji,function(_0x85820d){return(function(){var _0x18c59b=_0x741b,_0x21636e=_0x85820d,_0x1bd3e8=_0x21636e[_0x18c59b(0x1b0)],_0x2de1de=_0x1bd3e8[_0x18c59b(0x26c)],_0x3465b1=_0x1bd3e8[_0x18c59b(0x3f8)],_0x3c5eb1=_0x21636e['algo'],_0x2ec71e=[],_0x26558f=_0x3c5eb1[_0x18c59b(0x3b9)]=_0x3465b1[_0x18c59b(0x377)]({'_doReset':function(){var _0x1d107d=_0x18c59b;this['_hash']=new _0x2de1de[(_0x1d107d(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1a7c8a,_0x21d85f){var _0x3bbc01=_0x18c59b;for(var _0x1758a5=this[_0x3bbc01(0x32f)][_0x3bbc01(0x233)],_0x1cddf2=_0x1758a5[0x0],_0x2077a4=_0x1758a5[0x1],_0x390259=_0x1758a5[0x2],_0x3eed35=_0x1758a5[0x3],_0x42f942=_0x1758a5[0x4],_0x53050c=0x0;_0x53050c<0x50;_0x53050c++){if(_0x53050c<0x10)_0x2ec71e[_0x53050c]=_0x1a7c8a[_0x21d85f+_0x53050c]|0x0;else{var _0x4fa525=_0x2ec71e[_0x53050c-0x3]^_0x2ec71e[_0x53050c-0x8]^_0x2ec71e[_0x53050c-0xe]^_0x2ec71e[_0x53050c-0x10];_0x2ec71e[_0x53050c]=_0x4fa525<<0x1|_0x4fa525>>>0x1f;}var _0x1e2a4c=(_0x1cddf2<<0x5|_0x1cddf2>>>0x1b)+_0x42f942+_0x2ec71e[_0x53050c];_0x53050c<0x14?_0x1e2a4c+=(_0x2077a4&_0x390259|~_0x2077a4&_0x3eed35)+0x5a827999:_0x53050c<0x28?_0x1e2a4c+=(_0x2077a4^_0x390259^_0x3eed35)+0x6ed9eba1:_0x53050c<0x3c?_0x1e2a4c+=(_0x2077a4&_0x390259|_0x2077a4&_0x3eed35|_0x390259&_0x3eed35)-0x70e44324:_0x1e2a4c+=(_0x2077a4^_0x390259^_0x3eed35)-0x359d3e2a,_0x42f942=_0x3eed35,_0x3eed35=_0x390259,_0x390259=_0x2077a4<<0x1e|_0x2077a4>>>0x2,_0x2077a4=_0x1cddf2,_0x1cddf2=_0x1e2a4c;}_0x1758a5[0x0]=_0x1758a5[0x0]+_0x1cddf2|0x0,_0x1758a5[0x1]=_0x1758a5[0x1]+_0x2077a4|0x0,_0x1758a5[0x2]=_0x1758a5[0x2]+_0x390259|0x0,_0x1758a5[0x3]=_0x1758a5[0x3]+_0x3eed35|0x0,_0x1758a5[0x4]=_0x1758a5[0x4]+_0x42f942|0x0;},'_doFinalize':function(){var _0x28539a=_0x18c59b,_0x3259c4=this[_0x28539a(0x277)],_0xdc9c54=_0x3259c4[_0x28539a(0x233)],_0xb66520=this[_0x28539a(0x1b2)]*0x8,_0x56520=_0x3259c4[_0x28539a(0x1da)]*0x8;return _0xdc9c54[_0x56520>>>0x5]|=0x80<<0x18-_0x56520%0x20,_0xdc9c54[(_0x56520+0x40>>>0x9<<0x4)+0xe]=Math[_0x28539a(0x324)](_0xb66520/0x100000000),_0xdc9c54[(_0x56520+0x40>>>0x9<<0x4)+0xf]=_0xb66520,_0x3259c4[_0x28539a(0x1da)]=_0xdc9c54[_0x28539a(0x389)]*0x4,this[_0x28539a(0x347)](),this[_0x28539a(0x32f)];},'clone':function(){var _0x5bc046=_0x18c59b,_0x5ea666=_0x3465b1[_0x5bc046(0x442)][_0x5bc046(0x1ae)](this);return _0x5ea666[_0x5bc046(0x32f)]=this[_0x5bc046(0x32f)][_0x5bc046(0x442)](),_0x5ea666;}});_0x21636e[_0x18c59b(0x3b9)]=_0x3465b1['_createHelper'](_0x26558f),_0x21636e[_0x18c59b(0x1f6)]=_0x3465b1['_createHmacHelper'](_0x26558f);}()),_0x85820d['SHA1'];}));}(Ee)),Ee[_0x21be44(0x376)];}var Ce={'exports':{}},Bi=Ce[_0x54a041(0x376)],it;function Fi(){var _0x45c314=_0x54a041;return it||(it=0x1,function(_0x37b7bd,_0x1b5ec9){(function(_0x51033b,_0x2ba79a){var _0x402913=_0x741b;_0x37b7bd[_0x402913(0x376)]=_0x2ba79a(ee());}(Bi,function(_0x4fc867){(function(){var _0x252e77=_0x741b,_0x256d93=_0x4fc867,_0x44730e=_0x256d93[_0x252e77(0x1b0)],_0x4a3152=_0x44730e['Base'],_0x47dbcd=_0x256d93['enc'],_0x20cca0=_0x47dbcd['Utf8'],_0x2eec34=_0x256d93[_0x252e77(0x2d8)];_0x2eec34[_0x252e77(0x21d)]=_0x4a3152[_0x252e77(0x377)]({'init':function(_0x11b624,_0xd727a7){var _0x149cf3=_0x252e77;_0x11b624=this['_hasher']=new _0x11b624['init'](),typeof _0xd727a7=='string'&&(_0xd727a7=_0x20cca0['parse'](_0xd727a7));var _0x249ac0=_0x11b624[_0x149cf3(0x22e)],_0xefbb7f=_0x249ac0*0x4;_0xd727a7[_0x149cf3(0x1da)]>_0xefbb7f&&(_0xd727a7=_0x11b624[_0x149cf3(0x3d3)](_0xd727a7)),_0xd727a7[_0x149cf3(0x1dc)]();for(var _0x33ac39=this[_0x149cf3(0x2c7)]=_0xd727a7[_0x149cf3(0x442)](),_0x2b8c78=this[_0x149cf3(0x3bc)]=_0xd727a7['clone'](),_0x160e43=_0x33ac39['words'],_0x351ed0=_0x2b8c78[_0x149cf3(0x233)],_0x4bf3bd=0x0;_0x4bf3bd<_0x249ac0;_0x4bf3bd++)_0x160e43[_0x4bf3bd]^=0x5c5c5c5c,_0x351ed0[_0x4bf3bd]^=0x36363636;_0x33ac39[_0x149cf3(0x1da)]=_0x2b8c78['sigBytes']=_0xefbb7f,this['reset']();},'reset':function(){var _0x534ab2=_0x252e77,_0x58f301=this['_hasher'];_0x58f301['reset'](),_0x58f301['update'](this[_0x534ab2(0x3bc)]);},'update':function(_0x5aa761){var _0x42caaf=_0x252e77;return this[_0x42caaf(0x42e)]['update'](_0x5aa761),this;},'finalize':function(_0x3e7943){var _0x26b280=_0x252e77,_0x9f2546=this[_0x26b280(0x42e)],_0x4c97b4=_0x9f2546['finalize'](_0x3e7943);_0x9f2546[_0x26b280(0x3fa)]();var _0x10f0d0=_0x9f2546[_0x26b280(0x3d3)](this[_0x26b280(0x2c7)][_0x26b280(0x442)]()[_0x26b280(0x3cd)](_0x4c97b4));return _0x10f0d0;}});}());}));}(Ce)),Ce[_0x45c314(0x376)];}var Wi=Ie[_0x54a041(0x376)],nt;function Pt(){var _0x671eb0=_0x54a041;return nt||(nt=0x1,function(_0x2574d1,_0x2023c7){(function(_0x5a56bb,_0x38274e,_0x4c3cea){var _0x261cfb=_0x741b;_0x2574d1[_0x261cfb(0x376)]=_0x38274e(ee(),$i(),Fi());}(Wi,function(_0x304696){var _0x280440=_0x741b;return(function(){var _0x5226ef=_0x741b,_0x470981=_0x304696,_0x321820=_0x470981[_0x5226ef(0x1b0)],_0x395a0e=_0x321820[_0x5226ef(0x445)],_0x1b69e8=_0x321820[_0x5226ef(0x26c)],_0x4f24f1=_0x470981[_0x5226ef(0x2d8)],_0x13b418=_0x4f24f1[_0x5226ef(0x158)],_0x4bc08a=_0x4f24f1[_0x5226ef(0x37d)]=_0x395a0e[_0x5226ef(0x377)]({'cfg':_0x395a0e[_0x5226ef(0x377)]({'keySize':0x80/0x20,'hasher':_0x13b418,'iterations':0x1}),'init':function(_0x49667e){var _0x53d3a3=_0x5226ef;this[_0x53d3a3(0x230)]=this[_0x53d3a3(0x230)]['extend'](_0x49667e);},'compute':function(_0x2af084,_0x2055db){var _0x514b42=_0x5226ef;for(var _0xe8cb32,_0x191346=this[_0x514b42(0x230)],_0x9edb8a=_0x191346[_0x514b42(0x1c8)][_0x514b42(0x3e6)](),_0x263e92=_0x1b69e8[_0x514b42(0x3e6)](),_0xcaced0=_0x263e92[_0x514b42(0x233)],_0x32180a=_0x191346['keySize'],_0x256e57=_0x191346[_0x514b42(0x2b7)];_0xcaced0['length']<_0x32180a;){_0xe8cb32&&_0x9edb8a[_0x514b42(0x2ad)](_0xe8cb32),_0xe8cb32=_0x9edb8a[_0x514b42(0x2ad)](_0x2af084)[_0x514b42(0x3d3)](_0x2055db),_0x9edb8a[_0x514b42(0x3fa)]();for(var _0x46d8f0=0x1;_0x46d8f0<_0x256e57;_0x46d8f0++)_0xe8cb32=_0x9edb8a['finalize'](_0xe8cb32),_0x9edb8a[_0x514b42(0x3fa)]();_0x263e92['concat'](_0xe8cb32);}return _0x263e92['sigBytes']=_0x32180a*0x4,_0x263e92;}});_0x470981['EvpKDF']=function(_0x40ad3f,_0x22a202,_0x29ce28){var _0xe2b457=_0x5226ef;return _0x4bc08a[_0xe2b457(0x3e6)](_0x29ce28)[_0xe2b457(0x3cb)](_0x40ad3f,_0x22a202);};}()),_0x304696[_0x280440(0x37d)];}));}(Ie)),Ie[_0x671eb0(0x376)];}var Te={'exports':{}},Gi=Te[_0x54a041(0x376)],rt;function At(){var _0x2b47e6=_0x54a041;return rt||(rt=0x1,function(_0x21b562,_0x4e373f){(function(_0x55cb3c,_0x173826,_0x17b0b7){var _0x2b15d5=_0x741b;_0x21b562[_0x2b15d5(0x376)]=_0x173826(ee(),Pt());}(Gi,function(_0xb4485){var _0x1a8cb0=_0x741b;_0xb4485['lib'][_0x1a8cb0(0x413)]||function(_0x3386e0){var _0x502a46=_0x1a8cb0,_0x5f5cca=_0xb4485,_0x5aece7=_0x5f5cca[_0x502a46(0x1b0)],_0x1e4fba=_0x5aece7[_0x502a46(0x445)],_0x560152=_0x5aece7[_0x502a46(0x26c)],_0x3b2d34=_0x5aece7['BufferedBlockAlgorithm'],_0xddb75=_0x5f5cca[_0x502a46(0x45f)];_0xddb75['Utf8'];var _0x250339=_0xddb75[_0x502a46(0x359)],_0x58aac6=_0x5f5cca[_0x502a46(0x2d8)],_0x575b81=_0x58aac6[_0x502a46(0x37d)],_0x204132=_0x5aece7[_0x502a46(0x413)]=_0x3b2d34['extend']({'cfg':_0x1e4fba[_0x502a46(0x377)](),'createEncryptor':function(_0x2b0a43,_0x3f3739){var _0x18fb35=_0x502a46;return this['create'](this[_0x18fb35(0x450)],_0x2b0a43,_0x3f3739);},'createDecryptor':function(_0x16be65,_0x5d357e){var _0x30ae9e=_0x502a46;return this[_0x30ae9e(0x3e6)](this[_0x30ae9e(0x401)],_0x16be65,_0x5d357e);},'init':function(_0x15b79a,_0x35d421,_0x1d2453){var _0xc5f22f=_0x502a46;this[_0xc5f22f(0x230)]=this['cfg'][_0xc5f22f(0x377)](_0x1d2453),this['_xformMode']=_0x15b79a,this['_key']=_0x35d421,this[_0xc5f22f(0x3fa)]();},'reset':function(){var _0x47927b=_0x502a46;_0x3b2d34[_0x47927b(0x3fa)][_0x47927b(0x1ae)](this),this['_doReset']();},'process':function(_0x5451cc){var _0x25c7cf=_0x502a46;return this[_0x25c7cf(0x1fa)](_0x5451cc),this[_0x25c7cf(0x347)]();},'finalize':function(_0x496220){var _0x269dc7=_0x502a46;_0x496220&&this[_0x269dc7(0x1fa)](_0x496220);var _0x25be11=this[_0x269dc7(0x1ee)]();return _0x25be11;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5f0905(_0x29f1ce){var _0x2b80a4=_0x741b;return typeof _0x29f1ce==_0x2b80a4(0x16e)?_0x117079:_0x195352;}return function(_0x4f71a2){return{'encrypt':function(_0x53f6c8,_0x584bc5,_0x411f56){return _0x5f0905(_0x584bc5)['encrypt'](_0x4f71a2,_0x53f6c8,_0x584bc5,_0x411f56);},'decrypt':function(_0x581594,_0x1a8fc8,_0x4350fa){return _0x5f0905(_0x1a8fc8)['decrypt'](_0x4f71a2,_0x581594,_0x1a8fc8,_0x4350fa);}};};}())});_0x5aece7[_0x502a46(0x352)]=_0x204132[_0x502a46(0x377)]({'_doFinalize':function(){var _0xb893e7=_0x502a46,_0xbad8a1=this[_0xb893e7(0x347)](!0x0);return _0xbad8a1;},'blockSize':0x1});var _0xe8ccee=_0x5f5cca['mode']={},_0x543b47=_0x5aece7[_0x502a46(0x47c)]=_0x1e4fba[_0x502a46(0x377)]({'createEncryptor':function(_0x5c2074,_0x1823fc){var _0x1a01d0=_0x502a46;return this[_0x1a01d0(0x427)]['create'](_0x5c2074,_0x1823fc);},'createDecryptor':function(_0x44cdfa,_0x31db80){var _0x2268f3=_0x502a46;return this['Decryptor'][_0x2268f3(0x3e6)](_0x44cdfa,_0x31db80);},'init':function(_0x55c9b1,_0x1068a5){var _0x4d8d51=_0x502a46;this['_cipher']=_0x55c9b1,this[_0x4d8d51(0x1f7)]=_0x1068a5;}}),_0xe00a0f=_0xe8ccee[_0x502a46(0x24e)]=(function(){var _0x486c37=_0x502a46,_0x271779=_0x543b47[_0x486c37(0x377)]();_0x271779[_0x486c37(0x427)]=_0x271779[_0x486c37(0x377)]({'processBlock':function(_0x6346c1,_0x254bf9){var _0x2c454e=_0x486c37,_0x1513c9=this[_0x2c454e(0x225)],_0x25210a=_0x1513c9[_0x2c454e(0x22e)];_0x3c0ef8['call'](this,_0x6346c1,_0x254bf9,_0x25210a),_0x1513c9[_0x2c454e(0x281)](_0x6346c1,_0x254bf9),this[_0x2c454e(0x205)]=_0x6346c1[_0x2c454e(0x165)](_0x254bf9,_0x254bf9+_0x25210a);}}),_0x271779[_0x486c37(0x474)]=_0x271779[_0x486c37(0x377)]({'processBlock':function(_0x4b6efb,_0x153c73){var _0x4dd7b8=_0x486c37,_0x2585fe=this[_0x4dd7b8(0x225)],_0x33da2f=_0x2585fe[_0x4dd7b8(0x22e)],_0x1f041c=_0x4b6efb[_0x4dd7b8(0x165)](_0x153c73,_0x153c73+_0x33da2f);_0x2585fe['decryptBlock'](_0x4b6efb,_0x153c73),_0x3c0ef8[_0x4dd7b8(0x1ae)](this,_0x4b6efb,_0x153c73,_0x33da2f),this[_0x4dd7b8(0x205)]=_0x1f041c;}});function _0x3c0ef8(_0x1593aa,_0x52439c,_0x3ebfc2){var _0x185406=_0x486c37,_0x4a4ab3,_0x10c7f5=this[_0x185406(0x1f7)];_0x10c7f5?(_0x4a4ab3=_0x10c7f5,this['_iv']=_0x3386e0):_0x4a4ab3=this[_0x185406(0x205)];for(var _0x40635a=0x0;_0x40635a<_0x3ebfc2;_0x40635a++)_0x1593aa[_0x52439c+_0x40635a]^=_0x4a4ab3[_0x40635a];}return _0x271779;}()),_0x481047=_0x5f5cca[_0x502a46(0x2a8)]={},_0x53befd=_0x481047[_0x502a46(0x1d0)]={'pad':function(_0x2d3c2b,_0x66b10b){var _0x25aa5d=_0x502a46;for(var _0x50c116=_0x66b10b*0x4,_0x47a993=_0x50c116-_0x2d3c2b[_0x25aa5d(0x1da)]%_0x50c116,_0x574197=_0x47a993<<0x18|_0x47a993<<0x10|_0x47a993<<0x8|_0x47a993,_0x4e6c88=[],_0x4d8ca4=0x0;_0x4d8ca4<_0x47a993;_0x4d8ca4+=0x4)_0x4e6c88['push'](_0x574197);var _0x5c7805=_0x560152[_0x25aa5d(0x3e6)](_0x4e6c88,_0x47a993);_0x2d3c2b['concat'](_0x5c7805);},'unpad':function(_0xe3efb9){var _0x2fdaea=_0x502a46,_0x565f8d=_0xe3efb9[_0x2fdaea(0x233)][_0xe3efb9[_0x2fdaea(0x1da)]-0x1>>>0x2]&0xff;_0xe3efb9[_0x2fdaea(0x1da)]-=_0x565f8d;}};_0x5aece7[_0x502a46(0x17e)]=_0x204132['extend']({'cfg':_0x204132[_0x502a46(0x230)][_0x502a46(0x377)]({'mode':_0xe00a0f,'padding':_0x53befd}),'reset':function(){var _0x3fded1=_0x502a46,_0xb2ec81;_0x204132['reset'][_0x3fded1(0x1ae)](this);var _0x35ebdd=this[_0x3fded1(0x230)],_0x2e9cc4=_0x35ebdd['iv'],_0x521128=_0x35ebdd['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xb2ec81=_0x521128['createEncryptor']:(_0xb2ec81=_0x521128[_0x3fded1(0x3f3)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x3fded1(0x1d7)]==_0xb2ec81?this[_0x3fded1(0x278)]['init'](this,_0x2e9cc4&&_0x2e9cc4['words']):(this['_mode']=_0xb2ec81['call'](_0x521128,this,_0x2e9cc4&&_0x2e9cc4[_0x3fded1(0x233)]),this[_0x3fded1(0x278)][_0x3fded1(0x1d7)]=_0xb2ec81);},'_doProcessBlock':function(_0x1a7a41,_0x35271e){var _0x28a66e=_0x502a46;this[_0x28a66e(0x278)][_0x28a66e(0x25d)](_0x1a7a41,_0x35271e);},'_doFinalize':function(){var _0x24e206=_0x502a46,_0x2b4271,_0x1a1701=this[_0x24e206(0x230)][_0x24e206(0x299)];return this[_0x24e206(0x23b)]==this[_0x24e206(0x450)]?(_0x1a1701[_0x24e206(0x2a8)](this['_data'],this[_0x24e206(0x22e)]),_0x2b4271=this['_process'](!0x0)):(_0x2b4271=this[_0x24e206(0x347)](!0x0),_0x1a1701[_0x24e206(0x241)](_0x2b4271)),_0x2b4271;},'blockSize':0x80/0x20});var _0x401330=_0x5aece7['CipherParams']=_0x1e4fba[_0x502a46(0x377)]({'init':function(_0x59ef5a){this['mixIn'](_0x59ef5a);},'toString':function(_0x5a0886){var _0x50b8ab=_0x502a46;return(_0x5a0886||this[_0x50b8ab(0x365)])[_0x50b8ab(0x3d5)](this);}}),_0x459b7a=_0x5f5cca[_0x502a46(0x251)]={},_0x3c7bc2=_0x459b7a[_0x502a46(0x414)]={'stringify':function(_0x493b80){var _0x2e811b=_0x502a46,_0x15ed1e,_0x2610ba=_0x493b80['ciphertext'],_0x2987e9=_0x493b80[_0x2e811b(0x468)];return _0x2987e9?_0x15ed1e=_0x560152[_0x2e811b(0x3e6)]([0x53616c74,0x65645f5f])['concat'](_0x2987e9)[_0x2e811b(0x3cd)](_0x2610ba):_0x15ed1e=_0x2610ba,_0x15ed1e[_0x2e811b(0x160)](_0x250339);},'parse':function(_0x3d229e){var _0x4c7cc1=_0x502a46,_0xb8f8f3,_0x5cb057=_0x250339[_0x4c7cc1(0x25f)](_0x3d229e),_0x15ff33=_0x5cb057[_0x4c7cc1(0x233)];return _0x15ff33[0x0]==0x53616c74&&_0x15ff33[0x1]==0x65645f5f&&(_0xb8f8f3=_0x560152[_0x4c7cc1(0x3e6)](_0x15ff33['slice'](0x2,0x4)),_0x15ff33[_0x4c7cc1(0x374)](0x0,0x4),_0x5cb057[_0x4c7cc1(0x1da)]-=0x10),_0x401330[_0x4c7cc1(0x3e6)]({'ciphertext':_0x5cb057,'salt':_0xb8f8f3});}},_0x195352=_0x5aece7[_0x502a46(0x2c3)]=_0x1e4fba[_0x502a46(0x377)]({'cfg':_0x1e4fba[_0x502a46(0x377)]({'format':_0x3c7bc2}),'encrypt':function(_0x3aa980,_0x1783f3,_0x51fcc2,_0x132103){var _0x4b7227=_0x502a46;_0x132103=this[_0x4b7227(0x230)][_0x4b7227(0x377)](_0x132103);var _0x2763d8=_0x3aa980[_0x4b7227(0x461)](_0x51fcc2,_0x132103),_0x51aec8=_0x2763d8[_0x4b7227(0x3d3)](_0x1783f3),_0x43c033=_0x2763d8[_0x4b7227(0x230)];return _0x401330[_0x4b7227(0x3e6)]({'ciphertext':_0x51aec8,'key':_0x51fcc2,'iv':_0x43c033['iv'],'algorithm':_0x3aa980,'mode':_0x43c033[_0x4b7227(0x24d)],'padding':_0x43c033['padding'],'blockSize':_0x3aa980[_0x4b7227(0x22e)],'formatter':_0x132103[_0x4b7227(0x251)]});},'decrypt':function(_0x29129e,_0x25640d,_0x513153,_0x1a5ab1){var _0x2982ac=_0x502a46;_0x1a5ab1=this[_0x2982ac(0x230)][_0x2982ac(0x377)](_0x1a5ab1),_0x25640d=this[_0x2982ac(0x31b)](_0x25640d,_0x1a5ab1[_0x2982ac(0x251)]);var _0x1314d1=_0x29129e[_0x2982ac(0x3f3)](_0x513153,_0x1a5ab1)[_0x2982ac(0x3d3)](_0x25640d['ciphertext']);return _0x1314d1;},'_parse':function(_0x1589eb,_0x5c5661){var _0x54f6d5=_0x502a46;return typeof _0x1589eb==_0x54f6d5(0x16e)?_0x5c5661['parse'](_0x1589eb,this):_0x1589eb;}}),_0x4787bc=_0x5f5cca['kdf']={},_0xa6f056=_0x4787bc[_0x502a46(0x414)]={'execute':function(_0x182671,_0x331aa9,_0x5311bb,_0x43cd3d,_0x423646){var _0x192c07=_0x502a46;if(_0x43cd3d||(_0x43cd3d=_0x560152[_0x192c07(0x279)](0x40/0x8)),_0x423646)var _0x5c04a0=_0x575b81[_0x192c07(0x3e6)]({'keySize':_0x331aa9+_0x5311bb,'hasher':_0x423646})['compute'](_0x182671,_0x43cd3d);else var _0x5c04a0=_0x575b81[_0x192c07(0x3e6)]({'keySize':_0x331aa9+_0x5311bb})[_0x192c07(0x3cb)](_0x182671,_0x43cd3d);var _0x23f946=_0x560152['create'](_0x5c04a0[_0x192c07(0x233)]['slice'](_0x331aa9),_0x5311bb*0x4);return _0x5c04a0[_0x192c07(0x1da)]=_0x331aa9*0x4,_0x401330[_0x192c07(0x3e6)]({'key':_0x5c04a0,'iv':_0x23f946,'salt':_0x43cd3d});}},_0x117079=_0x5aece7['PasswordBasedCipher']=_0x195352[_0x502a46(0x377)]({'cfg':_0x195352[_0x502a46(0x230)]['extend']({'kdf':_0xa6f056}),'encrypt':function(_0x2996cb,_0x198be2,_0x3a2f20,_0x4c7a62){var _0x15f638=_0x502a46;_0x4c7a62=this[_0x15f638(0x230)][_0x15f638(0x377)](_0x4c7a62);var _0x30aa6c=_0x4c7a62[_0x15f638(0x152)][_0x15f638(0x198)](_0x3a2f20,_0x2996cb['keySize'],_0x2996cb[_0x15f638(0x435)],_0x4c7a62[_0x15f638(0x468)],_0x4c7a62[_0x15f638(0x1c8)]);_0x4c7a62['iv']=_0x30aa6c['iv'];var _0x4ffc54=_0x195352[_0x15f638(0x418)][_0x15f638(0x1ae)](this,_0x2996cb,_0x198be2,_0x30aa6c['key'],_0x4c7a62);return _0x4ffc54[_0x15f638(0x3a6)](_0x30aa6c),_0x4ffc54;},'decrypt':function(_0x355047,_0x228148,_0x21fdfd,_0x1c39d9){var _0x38c72a=_0x502a46;_0x1c39d9=this[_0x38c72a(0x230)]['extend'](_0x1c39d9),_0x228148=this[_0x38c72a(0x31b)](_0x228148,_0x1c39d9[_0x38c72a(0x251)]);var _0x7a6684=_0x1c39d9[_0x38c72a(0x152)]['execute'](_0x21fdfd,_0x355047[_0x38c72a(0x3a7)],_0x355047[_0x38c72a(0x435)],_0x228148['salt'],_0x1c39d9[_0x38c72a(0x1c8)]);_0x1c39d9['iv']=_0x7a6684['iv'];var _0x253654=_0x195352['decrypt'][_0x38c72a(0x1ae)](this,_0x355047,_0x228148,_0x7a6684[_0x38c72a(0x24a)],_0x1c39d9);return _0x253654;}});}();}));}(Te)),Te[_0x2b47e6(0x376)];}var Vi=fe[_0x54a041(0x376)],st;function Ki(){var _0x2725f1=_0x54a041;return st||(st=0x1,function(_0x2231fc,_0x3166af){(function(_0x3f6de9,_0x2edda4,_0x762463){_0x2231fc['exports']=_0x2edda4(ee(),Ut(),Hi(),Pt(),At());}(Vi,function(_0xc4363){var _0x420f51=_0x741b;return(function(){var _0x4a3017=_0x741b,_0x5eede1=_0xc4363,_0x45c36d=_0x5eede1[_0x4a3017(0x1b0)],_0x966cd2=_0x45c36d[_0x4a3017(0x17e)],_0x5bb37c=_0x5eede1['algo'],_0x184fd1=[],_0x38c32f=[],_0x1aec43=[],_0x5ec885=[],_0x2f6bf1=[],_0x197b2d=[],_0x5359af=[],_0x3d9e22=[],_0x4ae96b=[],_0x3de689=[];(function(){for(var _0x19e756=[],_0x16ded3=0x0;_0x16ded3<0x100;_0x16ded3++)_0x16ded3<0x80?_0x19e756[_0x16ded3]=_0x16ded3<<0x1:_0x19e756[_0x16ded3]=_0x16ded3<<0x1^0x11b;for(var _0x26ac9a=0x0,_0xeb6d43=0x0,_0x16ded3=0x0;_0x16ded3<0x100;_0x16ded3++){var _0x2b1111=_0xeb6d43^_0xeb6d43<<0x1^_0xeb6d43<<0x2^_0xeb6d43<<0x3^_0xeb6d43<<0x4;_0x2b1111=_0x2b1111>>>0x8^_0x2b1111&0xff^0x63,_0x184fd1[_0x26ac9a]=_0x2b1111,_0x38c32f[_0x2b1111]=_0x26ac9a;var _0x230b5b=_0x19e756[_0x26ac9a],_0x1862f6=_0x19e756[_0x230b5b],_0x509418=_0x19e756[_0x1862f6],_0x125c9c=_0x19e756[_0x2b1111]*0x101^_0x2b1111*0x1010100;_0x1aec43[_0x26ac9a]=_0x125c9c<<0x18|_0x125c9c>>>0x8,_0x5ec885[_0x26ac9a]=_0x125c9c<<0x10|_0x125c9c>>>0x10,_0x2f6bf1[_0x26ac9a]=_0x125c9c<<0x8|_0x125c9c>>>0x18,_0x197b2d[_0x26ac9a]=_0x125c9c;var _0x125c9c=_0x509418*0x1010101^_0x1862f6*0x10001^_0x230b5b*0x101^_0x26ac9a*0x1010100;_0x5359af[_0x2b1111]=_0x125c9c<<0x18|_0x125c9c>>>0x8,_0x3d9e22[_0x2b1111]=_0x125c9c<<0x10|_0x125c9c>>>0x10,_0x4ae96b[_0x2b1111]=_0x125c9c<<0x8|_0x125c9c>>>0x18,_0x3de689[_0x2b1111]=_0x125c9c,_0x26ac9a?(_0x26ac9a=_0x230b5b^_0x19e756[_0x19e756[_0x19e756[_0x509418^_0x230b5b]]],_0xeb6d43^=_0x19e756[_0x19e756[_0xeb6d43]]):_0x26ac9a=_0xeb6d43=0x1;}}());var _0xf114ca=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3c79d9=_0x5bb37c[_0x4a3017(0x187)]=_0x966cd2['extend']({'_doReset':function(){var _0x330223=_0x4a3017,_0xe2a995;if(!(this[_0x330223(0x415)]&&this[_0x330223(0x190)]===this['_key'])){for(var _0xc44acf=this[_0x330223(0x190)]=this[_0x330223(0x273)],_0x492dc7=_0xc44acf['words'],_0x537d94=_0xc44acf['sigBytes']/0x4,_0x32c603=this[_0x330223(0x415)]=_0x537d94+0x6,_0x2b2524=(_0x32c603+0x1)*0x4,_0x5e3472=this[_0x330223(0x144)]=[],_0xd643c3=0x0;_0xd643c3<_0x2b2524;_0xd643c3++)_0xd643c3<_0x537d94?_0x5e3472[_0xd643c3]=_0x492dc7[_0xd643c3]:(_0xe2a995=_0x5e3472[_0xd643c3-0x1],_0xd643c3%_0x537d94?_0x537d94>0x6&&_0xd643c3%_0x537d94==0x4&&(_0xe2a995=_0x184fd1[_0xe2a995>>>0x18]<<0x18|_0x184fd1[_0xe2a995>>>0x10&0xff]<<0x10|_0x184fd1[_0xe2a995>>>0x8&0xff]<<0x8|_0x184fd1[_0xe2a995&0xff]):(_0xe2a995=_0xe2a995<<0x8|_0xe2a995>>>0x18,_0xe2a995=_0x184fd1[_0xe2a995>>>0x18]<<0x18|_0x184fd1[_0xe2a995>>>0x10&0xff]<<0x10|_0x184fd1[_0xe2a995>>>0x8&0xff]<<0x8|_0x184fd1[_0xe2a995&0xff],_0xe2a995^=_0xf114ca[_0xd643c3/_0x537d94|0x0]<<0x18),_0x5e3472[_0xd643c3]=_0x5e3472[_0xd643c3-_0x537d94]^_0xe2a995);for(var _0x5bb915=this[_0x330223(0x12e)]=[],_0x1afcd4=0x0;_0x1afcd4<_0x2b2524;_0x1afcd4++){var _0xd643c3=_0x2b2524-_0x1afcd4;if(_0x1afcd4%0x4)var _0xe2a995=_0x5e3472[_0xd643c3];else var _0xe2a995=_0x5e3472[_0xd643c3-0x4];_0x1afcd4<0x4||_0xd643c3<=0x4?_0x5bb915[_0x1afcd4]=_0xe2a995:_0x5bb915[_0x1afcd4]=_0x5359af[_0x184fd1[_0xe2a995>>>0x18]]^_0x3d9e22[_0x184fd1[_0xe2a995>>>0x10&0xff]]^_0x4ae96b[_0x184fd1[_0xe2a995>>>0x8&0xff]]^_0x3de689[_0x184fd1[_0xe2a995&0xff]];}}},'encryptBlock':function(_0x115317,_0x2491da){var _0x2b13a3=_0x4a3017;this[_0x2b13a3(0x1c2)](_0x115317,_0x2491da,this['_keySchedule'],_0x1aec43,_0x5ec885,_0x2f6bf1,_0x197b2d,_0x184fd1);},'decryptBlock':function(_0xfafcd9,_0x579a32){var _0x554e7a=_0x4a3017,_0x366793=_0xfafcd9[_0x579a32+0x1];_0xfafcd9[_0x579a32+0x1]=_0xfafcd9[_0x579a32+0x3],_0xfafcd9[_0x579a32+0x3]=_0x366793,this[_0x554e7a(0x1c2)](_0xfafcd9,_0x579a32,this[_0x554e7a(0x12e)],_0x5359af,_0x3d9e22,_0x4ae96b,_0x3de689,_0x38c32f);var _0x366793=_0xfafcd9[_0x579a32+0x1];_0xfafcd9[_0x579a32+0x1]=_0xfafcd9[_0x579a32+0x3],_0xfafcd9[_0x579a32+0x3]=_0x366793;},'_doCryptBlock':function(_0x4d8b2d,_0x49e67a,_0x713db0,_0xee5590,_0x43c861,_0x5eb590,_0x2779c5,_0x43d294){var _0x40426f=_0x4a3017;for(var _0x37d172=this[_0x40426f(0x415)],_0x16de94=_0x4d8b2d[_0x49e67a]^_0x713db0[0x0],_0x4793cb=_0x4d8b2d[_0x49e67a+0x1]^_0x713db0[0x1],_0x1f9ca6=_0x4d8b2d[_0x49e67a+0x2]^_0x713db0[0x2],_0x28b500=_0x4d8b2d[_0x49e67a+0x3]^_0x713db0[0x3],_0x39d328=0x4,_0x286513=0x1;_0x286513<_0x37d172;_0x286513++){var _0x292283=_0xee5590[_0x16de94>>>0x18]^_0x43c861[_0x4793cb>>>0x10&0xff]^_0x5eb590[_0x1f9ca6>>>0x8&0xff]^_0x2779c5[_0x28b500&0xff]^_0x713db0[_0x39d328++],_0x594c9d=_0xee5590[_0x4793cb>>>0x18]^_0x43c861[_0x1f9ca6>>>0x10&0xff]^_0x5eb590[_0x28b500>>>0x8&0xff]^_0x2779c5[_0x16de94&0xff]^_0x713db0[_0x39d328++],_0x4ab355=_0xee5590[_0x1f9ca6>>>0x18]^_0x43c861[_0x28b500>>>0x10&0xff]^_0x5eb590[_0x16de94>>>0x8&0xff]^_0x2779c5[_0x4793cb&0xff]^_0x713db0[_0x39d328++],_0x2b3613=_0xee5590[_0x28b500>>>0x18]^_0x43c861[_0x16de94>>>0x10&0xff]^_0x5eb590[_0x4793cb>>>0x8&0xff]^_0x2779c5[_0x1f9ca6&0xff]^_0x713db0[_0x39d328++];_0x16de94=_0x292283,_0x4793cb=_0x594c9d,_0x1f9ca6=_0x4ab355,_0x28b500=_0x2b3613;}var _0x292283=(_0x43d294[_0x16de94>>>0x18]<<0x18|_0x43d294[_0x4793cb>>>0x10&0xff]<<0x10|_0x43d294[_0x1f9ca6>>>0x8&0xff]<<0x8|_0x43d294[_0x28b500&0xff])^_0x713db0[_0x39d328++],_0x594c9d=(_0x43d294[_0x4793cb>>>0x18]<<0x18|_0x43d294[_0x1f9ca6>>>0x10&0xff]<<0x10|_0x43d294[_0x28b500>>>0x8&0xff]<<0x8|_0x43d294[_0x16de94&0xff])^_0x713db0[_0x39d328++],_0x4ab355=(_0x43d294[_0x1f9ca6>>>0x18]<<0x18|_0x43d294[_0x28b500>>>0x10&0xff]<<0x10|_0x43d294[_0x16de94>>>0x8&0xff]<<0x8|_0x43d294[_0x4793cb&0xff])^_0x713db0[_0x39d328++],_0x2b3613=(_0x43d294[_0x28b500>>>0x18]<<0x18|_0x43d294[_0x16de94>>>0x10&0xff]<<0x10|_0x43d294[_0x4793cb>>>0x8&0xff]<<0x8|_0x43d294[_0x1f9ca6&0xff])^_0x713db0[_0x39d328++];_0x4d8b2d[_0x49e67a]=_0x292283,_0x4d8b2d[_0x49e67a+0x1]=_0x594c9d,_0x4d8b2d[_0x49e67a+0x2]=_0x4ab355,_0x4d8b2d[_0x49e67a+0x3]=_0x2b3613;},'keySize':0x100/0x20});_0x5eede1['AES']=_0x966cd2['_createHelper'](_0x3c79d9);}()),_0xc4363[_0x420f51(0x187)];}));}(fe)),fe[_0x2725f1(0x376)];}var Yi=Ki();const qi=Se(Yi);var zi=Ut();const ot=Se(zi);var be={'exports':{}},Ji=be[_0x54a041(0x376)],at;function Xi(){var _0x2d7a46=_0x54a041;return at||(at=0x1,function(_0x3c0b32,_0x24e818){(function(_0x4f1034,_0xbb3a95){var _0x4f40b6=_0x741b;_0x3c0b32[_0x4f40b6(0x376)]=_0xbb3a95(ee());}(Ji,function(_0x54e9f1){var _0x4298b6=_0x741b;return _0x54e9f1[_0x4298b6(0x45f)][_0x4298b6(0x436)];}));}(be)),be[_0x2d7a46(0x376)];}var Zi=Xi();const Qi=Se(Zi);var Re={'exports':{}},en=Re[_0x54a041(0x376)],ct;function _0x741b(_0x3cd879,_0x56c939){var _0x5e1806=_0x5e18();return _0x741b=function(_0x741b62,_0x34c7ba){_0x741b62=_0x741b62-0x11d;var _0x10fb99=_0x5e1806[_0x741b62];return _0x10fb99;},_0x741b(_0x3cd879,_0x56c939);}function tn(){var _0x5939d4=_0x54a041;return ct||(ct=0x1,function(_0x1f0c1f,_0x2c7f2d){(function(_0x6f62fc,_0x3e8387){var _0x515ce2=_0x741b;_0x1f0c1f[_0x515ce2(0x376)]=_0x3e8387(ee());}(en,function(_0x5c4eff){return(function(){var _0xc02eeb=_0x741b;if(typeof ArrayBuffer=='function'){var _0x302d6c=_0x5c4eff,_0x5c5492=_0x302d6c[_0xc02eeb(0x1b0)],_0x3f4782=_0x5c5492[_0xc02eeb(0x26c)],_0x40dc18=_0x3f4782[_0xc02eeb(0x459)],_0x59c489=_0x3f4782[_0xc02eeb(0x459)]=function(_0xf9e49b){var _0x24a535=_0xc02eeb;if(_0xf9e49b instanceof ArrayBuffer&&(_0xf9e49b=new Uint8Array(_0xf9e49b)),(_0xf9e49b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xf9e49b instanceof Uint8ClampedArray||_0xf9e49b instanceof Int16Array||_0xf9e49b instanceof Uint16Array||_0xf9e49b instanceof Int32Array||_0xf9e49b instanceof Uint32Array||_0xf9e49b instanceof Float32Array||_0xf9e49b instanceof Float64Array)&&(_0xf9e49b=new Uint8Array(_0xf9e49b[_0x24a535(0x319)],_0xf9e49b['byteOffset'],_0xf9e49b[_0x24a535(0x19c)])),_0xf9e49b instanceof Uint8Array){for(var _0x3bb442=_0xf9e49b[_0x24a535(0x19c)],_0x529d46=[],_0x3cca0b=0x0;_0x3cca0b<_0x3bb442;_0x3cca0b++)_0x529d46[_0x3cca0b>>>0x2]|=_0xf9e49b[_0x3cca0b]<<0x18-_0x3cca0b%0x4*0x8;_0x40dc18['call'](this,_0x529d46,_0x3bb442);}else _0x40dc18[_0x24a535(0x21e)](this,arguments);};_0x59c489['prototype']=_0x3f4782;}}()),_0x5c4eff['lib']['WordArray'];}));}(Re)),Re[_0x5939d4(0x376)];}var nn=tn();const rn=Se(nn);var ye={'exports':{}},sn=ye[_0x54a041(0x376)],ht;function on(){var _0xd53e2d=_0x54a041;return ht||(ht=0x1,function(_0x1ea1b7,_0x366100){(function(_0x5d133b,_0x26b941,_0x4dad4b){var _0x12eec1=_0x741b;_0x1ea1b7[_0x12eec1(0x376)]=_0x26b941(ee(),At());}(sn,function(_0x188cd6){var _0x25b01b=_0x741b;return _0x188cd6[_0x25b01b(0x2a8)][_0x25b01b(0x213)]={'pad':function(){},'unpad':function(){}},_0x188cd6[_0x25b01b(0x2a8)][_0x25b01b(0x213)];}));}(ye)),ye[_0xd53e2d(0x376)];}var an=on();const cn=Se(an);function hn(_0x2ac413,_0x35a72e){var _0x3bfa3c=_0x54a041;const _0x41bad8=_0x35a72e-_0x2ac413[_0x3bfa3c(0x389)]%_0x35a72e,_0xd75004=String['fromCharCode'](_0x41bad8)[_0x3bfa3c(0x3b0)](_0x41bad8);return _0x2ac413+_0xd75004;}function ln(_0x5cd7cb,_0x4455c5){var _0x5abe6c=_0x54a041;const _0x3643a4=rn[_0x5abe6c(0x279)](0x10),_0x10963a=hn(_0x5cd7cb,0x10),_0xdc72f9=qi[_0x5abe6c(0x418)](Qi[_0x5abe6c(0x25f)](_0x10963a),ot[_0x5abe6c(0x25f)](_0x4455c5),{'iv':_0x3643a4,'padding':cn});return _0x3643a4[_0x5abe6c(0x3cd)](_0xdc72f9[_0x5abe6c(0x33a)])['toString'](ot);}function _n(){var _0x5e47eb=_0x54a041;const _0x2a5d6e=xt[_0x5e47eb(0x2c5)]()[_0x5e47eb(0x381)];if(_0x2a5d6e){const _0x1b736d={'time':Math['floor'](Date[_0x5e47eb(0x24c)]()/0x3e8),'domain':location[_0x5e47eb(0x371)]};return ln(JSON[_0x5e47eb(0x3d5)](_0x1b736d),_0x2a5d6e);}}var un=Object['getOwnPropertyDescriptor'],dn=(_0x637adc,_0x567195,_0x384d6d,_0x49cce3)=>{var _0x4ee0b1=_0x54a041;for(var _0xddf99f=_0x49cce3>0x1?void 0x0:_0x49cce3?un(_0x567195,_0x384d6d):_0x567195,_0x26737e=_0x637adc[_0x4ee0b1(0x389)]-0x1,_0x53b5ad;_0x26737e>=0x0;_0x26737e--)(_0x53b5ad=_0x637adc[_0x26737e])&&(_0xddf99f=_0x53b5ad(_0xddf99f)||_0xddf99f);return _0xddf99f;},vn=(_0x23ce76,_0x203a03)=>(_0x1f8505,_0x94549c)=>_0x203a03(_0x1f8505,_0x94549c,_0x23ce76);let Ne=class{constructor(_0x5efd76){var _0x2b1132=_0x54a041;this[_0x2b1132(0x44f)]=_0x5efd76,this[_0x2b1132(0x1d9)]();}['_initRequestHeader'](){var _0x419417=_0x54a041;this[_0x419417(0x44f)][_0x419417(0x26b)]({'interceptor':(_0x55e1eb,_0x150a77)=>{const _0x1f7465=_0x55e1eb['headers'],_0x59db97=_n();return _0x59db97&&_0x1f7465['set']('x-univer-host',_0x59db97),_0x150a77(_0x55e1eb);}});}};Ne=dn([vn(0x0,a['Inject'](q[_0x54a041(0x31f)]))],Ne);var Sn=Object[_0x54a041(0x2be)],fn=(_0x440abb,_0x3b2cd1,_0x228d8c,_0x40c93e)=>{for(var _0x2d657d=_0x40c93e>0x1?void 0x0:_0x40c93e?Sn(_0x3b2cd1,_0x228d8c):_0x3b2cd1,_0x33851d=_0x440abb['length']-0x1,_0x9b8206;_0x33851d>=0x0;_0x33851d--)(_0x9b8206=_0x440abb[_0x33851d])&&(_0x2d657d=_0x9b8206(_0x2d657d)||_0x2d657d);return _0x2d657d;},Me=(_0x56acb8,_0x367f14)=>(_0x15b592,_0x89e83)=>_0x367f14(_0x15b592,_0x89e83,_0x56acb8);exports['DataLoaderService']=class extends a[_0x54a041(0x3d1)]{constructor(_0x2ff159,_0x28c81b,_0x497b6c){var _0x5c895c=_0x54a041;super(),P(this,_0x5c895c(0x120),new j[(_0x5c895c(0x458))](null)),P(this,_0x5c895c(0x464),this[_0x5c895c(0x120)][_0x5c895c(0x2df)]()),(this[_0x5c895c(0x40c)]=_0x2ff159,this[_0x5c895c(0x355)]=_0x28c81b,this[_0x5c895c(0x18e)]=_0x497b6c);}async['loadUnit'](_0x1c5ef3,_0xd6276d,_0x51c381){var _0x266084=_0x54a041;this[_0x266084(0x120)][_0x266084(0x2db)]({'unitId':_0x1c5ef3,'type':_0xd6276d,'subUnitId':_0x51c381});let _0x978703=null;switch(_0xd6276d){case X[_0x266084(0x2cc)]:{_0x978703=await this[_0x266084(0x41e)](_0x1c5ef3);break;}case X[_0x266084(0x40f)]:{_0x978703=await this[_0x266084(0x2a1)](_0x1c5ef3);break;}default:{this[_0x266084(0x40c)][_0x266084(0x425)](_0x266084(0x195),_0x266084(0x32e));break;}}return _0x978703;}async['_loadSheet'](_0x3a9caf){var _0x250cfa=_0x54a041,_0x5a7ceb;let _0x2a29d6=0x0;const _0x3000c7=await((_0x5a7ceb=this['_localCacheService'])==null?void 0x0:_0x5a7ceb[_0x250cfa(0x42c)](_0x3a9caf));return _0x3000c7&&(_0x3000c7['awaitingChangeset']||_0x3000c7['mutations'][_0x250cfa(0x389)]!==0x0)&&(_0x2a29d6=_0x3000c7[_0x250cfa(0x1b8)]),_0x2a29d6===0x0&&this[_0x250cfa(0x40c)][_0x250cfa(0x402)](_0x250cfa(0x195),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x250cfa(0x250)](_0x3a9caf,_0x2a29d6);}async[_0x54a041(0x2a1)](_0x297768){var _0x441642=_0x54a041,_0x4d5a10;let _0x51131b=0x0;const _0xc932e7=await((_0x4d5a10=this['_localCacheService'])==null?void 0x0:_0x4d5a10[_0x441642(0x42c)](_0x297768));return _0xc932e7&&(_0xc932e7[_0x441642(0x11f)]||_0xc932e7['mutations']['length']!==0x0)&&(_0x51131b=_0xc932e7[_0x441642(0x1b8)]),_0x51131b===0x0&&this[_0x441642(0x40c)][_0x441642(0x402)]('[DataLoaderService]',_0x441642(0x3fd)),this[_0x441642(0x355)][_0x441642(0x19d)](_0x297768,_0x51131b);}},exports[_0x54a041(0x345)]=fn([Me(0x0,a[_0x54a041(0x388)]),Me(0x1,a[_0x54a041(0x3fe)](g['SnapshotService'])),Me(0x2,a[_0x54a041(0x30b)](z))],exports[_0x54a041(0x345)]);var pn=Object[_0x54a041(0x2be)],gn=(_0x956452,_0x134b59,_0x4ff600,_0x3d401c)=>{var _0x3df872=_0x54a041;for(var _0x42f211=_0x3d401c>0x1?void 0x0:_0x3d401c?pn(_0x134b59,_0x4ff600):_0x134b59,_0x23c943=_0x956452[_0x3df872(0x389)]-0x1,_0x2f30d9;_0x23c943>=0x0;_0x23c943--)(_0x2f30d9=_0x956452[_0x23c943])&&(_0x42f211=_0x2f30d9(_0x42f211)||_0x42f211);return _0x42f211;},xe=(_0x364df8,_0x29dfe4)=>(_0x31313c,_0x2b25ed)=>_0x29dfe4(_0x31313c,_0x2b25ed,_0x364df8);const mn=[_0x54a041(0x25c),_0x54a041(0x385),'image/jpg',_0x54a041(0x44b),'image/bmp'],In=0x5*0x400*0x400,En='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Cn=_0x54a041(0x131),Tn=_0x54a041(0x2d6),bn=_0x54a041(0x2a6);exports[_0x54a041(0x47b)]=class{constructor(_0x2e0db3,_0x28baef,_0x307471){var _0x1ea8ef=_0x54a041;P(this,_0x1ea8ef(0x46f),0x0),P(this,_0x1ea8ef(0x1f5),new j[(_0x1ea8ef(0x33b))]()),P(this,_0x1ea8ef(0x18c),this[_0x1ea8ef(0x1f5)]),P(this,_0x1ea8ef(0x283),new Map()),(this[_0x1ea8ef(0x44f)]=_0x2e0db3,this[_0x1ea8ef(0x221)]=_0x28baef,this[_0x1ea8ef(0x2a4)]=_0x307471);}['setWaitCount'](_0x33d86f){var _0xa7baf8=_0x54a041;this[_0xa7baf8(0x46f)]=_0x33d86f,this[_0xa7baf8(0x1f5)][_0xa7baf8(0x2db)](_0x33d86f);}[_0x54a041(0x19f)](_0x5d9f4c,_0x2ddcb0){var _0x16bbf9=_0x54a041;if(_0x2ddcb0===J[_0x16bbf9(0x19a)]['BASE64']){const _0xe8ab7b=new Image();return _0xe8ab7b['src']=_0x5d9f4c,_0xe8ab7b;}return this['_imageSourceCache'][_0x16bbf9(0x1f4)](_0x5d9f4c);}[_0x54a041(0x3a4)](_0x5d4355,_0x3f088b,_0x19f04e){var _0x4c6f09=_0x54a041;_0x3f088b===J[_0x4c6f09(0x19a)]['BASE64']||_0x19f04e==null||this[_0x4c6f09(0x283)][_0x4c6f09(0x164)](_0x5d4355,_0x19f04e);}async[_0x54a041(0x20c)](_0x315a8a){var _0x2bff21=_0x54a041;try{const _0x3397a2=this[_0x2bff21(0x254)](this[_0x2bff21(0x301)](),''+_0x315a8a),_0x464986=(await this[_0x2bff21(0x44f)][_0x2bff21(0x1f4)](_0x3397a2))['body'];if(_0x464986[_0x2bff21(0x425)]&&_0x464986[_0x2bff21(0x425)][_0x2bff21(0x1fb)]===Ct['OK']){const _0x37cdc7=new URL(_0x464986['url'],this[_0x2bff21(0x3c9)]())[_0x2bff21(0x160)]();return Promise[_0x2bff21(0x234)](_0x37cdc7);}return Promise['reject'](_0x464986[_0x2bff21(0x425)]);}catch(_0x1b727a){return Promise['reject'](_0x1b727a);}}async[_0x54a041(0x452)](_0x91ce03){var _0x1f1a60=_0x54a041;let _0x52c0e8='';if(!mn[_0x1f1a60(0x246)](_0x91ce03[_0x1f1a60(0x15b)]))return this['_decreaseWaiting'](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)]['ERROR_IMAGE_TYPE']));if(_0x91ce03['size']>In)return this[_0x1f1a60(0x34e)](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3b5)]));try{const _0x2b692e=new FormData();_0x2b692e['append']('file',_0x91ce03);const _0x5cb8b9=this[_0x1f1a60(0x2a4)]['getFocusedUnit'](),_0x273760=_0x5cb8b9==null?void 0x0:_0x5cb8b9[_0x1f1a60(0x3d8)]();if(!_0x273760)throw new Error(_0x1f1a60(0x38b));const _0x558427=this['_getUploadFileURL']()+_0x1f1a60(0x31d)+_0x91ce03[_0x1f1a60(0x429)][_0x1f1a60(0x160)]()+'&source='+Tt[_0x1f1a60(0x166)]+_0x1f1a60(0x28c)+encodeURIComponent(_0x273760),_0x27e93a=await(await fetch(_0x558427,{'method':_0x1f1a60(0x42a),'body':_0x2b692e}))[_0x1f1a60(0x1cf)]();if(typeof _0x27e93a[_0x1f1a60(0x3f5)]!=_0x1f1a60(0x16e))return this['_decreaseWaiting'](),Promise['reject'](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3bd)]));_0x52c0e8=_0x27e93a[_0x1f1a60(0x3f5)];}catch{return this['_decreaseWaiting'](),Promise[_0x1f1a60(0x423)](new Error(J[_0x1f1a60(0x27f)][_0x1f1a60(0x3bd)]));}return new Promise((_0x8d0a18,_0x5121bf)=>{var _0x3000e5=_0x1f1a60;const _0x17f359=new FileReader();_0x17f359[_0x3000e5(0x14e)](_0x91ce03),_0x17f359[_0x3000e5(0x28e)]=_0x31647f=>{var _0x1cf21c=_0x3000e5,_0x289f7b;const _0x4d5795=(_0x289f7b=_0x31647f[_0x1cf21c(0x317)])==null?void 0x0:_0x289f7b['result'];if(_0x4d5795==null){this['_decreaseWaiting'](),_0x5121bf(new Error(J[_0x1cf21c(0x27f)][_0x1cf21c(0x3bd)]));return;}const _0x4b7569=a[_0x1cf21c(0x1f2)][_0x1cf21c(0x375)](0x6);_0x8d0a18({'imageId':_0x4b7569,'imageSourceType':J['ImageSourceType'][_0x1cf21c(0x420)],'source':_0x52c0e8,'base64Cache':_0x4d5795,'status':J[_0x1cf21c(0x27f)][_0x1cf21c(0x30c)]}),this[_0x1cf21c(0x34e)]();};});}[_0x54a041(0x13a)](){var _0x23fbf2=_0x54a041,_0x9310e4,_0x166f3b;const _0x445bc3=this[_0x23fbf2(0x221)][_0x23fbf2(0x33f)](En),_0x5df58c=this[_0x23fbf2(0x221)]['getConfig'](Y);return(_0x166f3b=(_0x9310e4=_0x5df58c==null?void 0x0:_0x5df58c[_0x23fbf2(0x404)])!=null?_0x9310e4:_0x445bc3)!=null?_0x166f3b:Cn;}['_getSignURL'](){var _0x6efe6d=_0x54a041,_0x14e1ea,_0xdd026b;const _0x4b2d31=this[_0x6efe6d(0x221)][_0x6efe6d(0x33f)](Tn),_0x2660f8=this[_0x6efe6d(0x221)]['getConfig'](Y);return(_0xdd026b=(_0x14e1ea=_0x2660f8==null?void 0x0:_0x2660f8['signUrlServerUrl'])!=null?_0x14e1ea:_0x4b2d31)!=null?_0xdd026b:bn;}[_0x54a041(0x3c9)](){var _0x425dbb=_0x54a041,_0x144bb4;const _0x5ec813=this[_0x425dbb(0x221)][_0x425dbb(0x33f)](Y);return(_0x144bb4=_0x5ec813==null?void 0x0:_0x5ec813[_0x425dbb(0x260)])!=null?_0x144bb4:location[_0x425dbb(0x2d2)];}[_0x54a041(0x254)](_0x9034db,_0x3310e8){var _0x231a43=_0x54a041;return _0x9034db[_0x231a43(0x360)](_0x231a43(0x39d),_0x3310e8);}[_0x54a041(0x34e)](){var _0x80eca8=_0x54a041;this[_0x80eca8(0x46f)]-=0x1,this[_0x80eca8(0x1f5)][_0x80eca8(0x2db)](this[_0x80eca8(0x46f)]);}},exports['CollaborationImageIoService']=gn([xe(0x0,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)])),xe(0x1,a[_0x54a041(0x2ca)]),xe(0x2,a[_0x54a041(0x3fe)](a[_0x54a041(0x30e)]))],exports['CollaborationImageIoService']);var Rn=Object[_0x54a041(0x2be)],yn=(_0x1f0085,_0x3ce13a,_0x59e9e1,_0x1355c9)=>{var _0x18a76d=_0x54a041;for(var _0x21918c=_0x1355c9>0x1?void 0x0:_0x1355c9?Rn(_0x3ce13a,_0x59e9e1):_0x3ce13a,_0x361424=_0x1f0085[_0x18a76d(0x389)]-0x1,_0x30ab47;_0x361424>=0x0;_0x361424--)(_0x30ab47=_0x1f0085[_0x361424])&&(_0x21918c=_0x30ab47(_0x21918c)||_0x21918c);return _0x21918c;},lt=(_0x303e57,_0x300141)=>(_0x4c973f,_0x3ec24d)=>_0x300141(_0x4c973f,_0x3ec24d,_0x303e57);const On=_0x54a041(0x290);exports[_0x54a041(0x261)]=class{constructor(_0xaf95d8,_0x1eabe3){var _0x58402d=_0x54a041;this['_configService']=_0xaf95d8,this[_0x58402d(0x22c)]=_0x1eabe3;}['_getAPIPrefixPath'](){var _0x2a46f4=_0x54a041,_0x5ee46e,_0x44cdb7;const _0xa85894=this['_configService'][_0x2a46f4(0x33f)](Ve),_0x2eed8b=this['_configService']['getConfig'](Y);return(_0x44cdb7=(_0x5ee46e=_0x2eed8b==null?void 0x0:_0x2eed8b[_0x2a46f4(0x379)])!=null?_0x5ee46e:_0xa85894)!=null?_0x44cdb7:On;}async[_0x54a041(0x3b4)](_0x143105){var _0x997f51=_0x54a041;const _0x544d4b=this[_0x997f51(0x1df)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x997f51(0x22c)][_0x997f51(0x1f4)](_0x544d4b,{'params':{'objectID':_0x143105[_0x997f51(0x382)],'unitID':_0x143105[_0x997f51(0x382)]}}))[_0x997f51(0x3dd)][_0x997f51(0x28f)][_0x997f51(0x332)](_0xd9133d=>({'objectId':_0xd9133d['id'],'name':_0xd9133d['subject'][_0x997f51(0x40b)],'metadata':{'icon':_0xd9133d[_0x997f51(0x46e)][_0x997f51(0x3ae)]},'label':_0xd9133d[_0x997f51(0x46e)][_0x997f51(0x40b)],'objectType':a[_0x997f51(0x2b2)][_0x997f51(0x384)]})),'metadata':{},'type':a[_0x997f51(0x2b2)][_0x997f51(0x384)]}]};}},exports[_0x54a041(0x261)]=yn([lt(0x0,a[_0x54a041(0x3fe)](a[_0x54a041(0x2ca)])),lt(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)]))],exports[_0x54a041(0x261)]);var Nn=Object['getOwnPropertyDescriptor'],Dn=(_0x1bc76c,_0x11e85a,_0x1074c7,_0x356007)=>{var _0x6c20e9=_0x54a041;for(var _0x22320b=_0x356007>0x1?void 0x0:_0x356007?Nn(_0x11e85a,_0x1074c7):_0x11e85a,_0x3cefa8=_0x1bc76c[_0x6c20e9(0x389)]-0x1,_0x37b063;_0x3cefa8>=0x0;_0x3cefa8--)(_0x37b063=_0x1bc76c[_0x3cefa8])&&(_0x22320b=_0x37b063(_0x22320b)||_0x22320b);return _0x22320b;},ue=(_0x58bfc6,_0x229593)=>(_0x24c129,_0x31c44a)=>_0x229593(_0x24c129,_0x31c44a,_0x58bfc6);let De=class extends a['RxDisposable']{constructor(_0x1d1cc8,_0x6145bd,_0x465eec,_0x4a9045,_0x427208){var _0x44b0f7=_0x54a041;super(),this[_0x44b0f7(0x411)]=_0x1d1cc8,this[_0x44b0f7(0x2a4)]=_0x6145bd,this['_permissionService']=_0x465eec,this[_0x44b0f7(0x145)]=_0x4a9045,this[_0x44b0f7(0x259)]=_0x427208,this[_0x44b0f7(0x472)](),this[_0x44b0f7(0x341)]();}[_0x54a041(0x341)](){var _0x30ae4b=_0x54a041;const _0x4246ae=async _0x14671c=>{var _0x4cc621=_0x741b;(await this[_0x4cc621(0x145)]['requireSession'](_0x14671c))['event$'][_0x4cc621(0x13f)](W[_0x4cc621(0x27d)](_0x2bd199=>_0x2bd199[_0x4cc621(0x392)]===g[_0x4cc621(0x252)][_0x4cc621(0x331)]),W['takeUntil'](this[_0x4cc621(0x29e)]))[_0x4cc621(0x383)](_0x543831=>{var _0x3b25ec=_0x4cc621;const _0x42256a=_0x543831,{reason:_0x3765e1}=_0x42256a[_0x3b25ec(0x276)];this[_0x3b25ec(0x259)][_0x3b25ec(0x27b)]({'id':Q['CLOSE_ROOM'],'data':_0x3765e1}),this[_0x3b25ec(0x227)][_0x3b25ec(0x43c)](new Z[(_0x3b25ec(0x21f))](_0x14671c)['id'],!0x1),this['_collaborationSessionService'][_0x3b25ec(0x18f)](_0x14671c);});};j[_0x30ae4b(0x21b)](this['_univerInstanceService'][_0x30ae4b(0x3cf)](a[_0x30ae4b(0x128)][_0x30ae4b(0x2cc)]),this[_0x30ae4b(0x2a4)][_0x30ae4b(0x3cf)](a[_0x30ae4b(0x128)][_0x30ae4b(0x40f)]))['pipe'](W[_0x30ae4b(0x332)](_0x4525a9=>_0x4525a9['getUnitId']()),W['filter'](_0x1a4ffd=>!a['isInternalEditorID'](_0x1a4ffd)),W[_0x30ae4b(0x314)](this['dispose$']))['subscribe'](_0x1b5d75=>{_0x4246ae(_0x1b5d75);});}[_0x54a041(0x472)](){var _0x388e91=_0x54a041;const _0x37483e=async _0x13e82a=>{var _0xe0f3e6=_0x741b;const _0x36e776=await this[_0xe0f3e6(0x145)]['requireSession'](_0x13e82a),_0x45a1c7=this['_injector'][_0xe0f3e6(0x1f4)](Z[_0xe0f3e6(0x2bb)]);_0x36e776[_0xe0f3e6(0x247)][_0xe0f3e6(0x13f)](W['filter'](_0x4eb90c=>_0x4eb90c['eventID']===g['CollaborationEvent'][_0xe0f3e6(0x14f)]),W[_0xe0f3e6(0x314)](this[_0xe0f3e6(0x29e)]))[_0xe0f3e6(0x383)](_0x50a85a=>{var _0x49564b=_0xe0f3e6;const _0x43f2b9=_0x50a85a,{objectId:_0x41a364}=_0x43f2b9[_0x49564b(0x276)];_0x41a364===_0x13e82a?_0x45a1c7[_0x49564b(0x29f)](_0x13e82a):_0x45a1c7[_0x49564b(0x2b5)](_0x13e82a,_0x41a364);});};j[_0x388e91(0x21b)](this[_0x388e91(0x2a4)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x388e91(0x2cc)]))[_0x388e91(0x13f)](W[_0x388e91(0x332)](_0x10e92a=>_0x10e92a[_0x388e91(0x3d8)]()),W[_0x388e91(0x27d)](_0x50934c=>!a[_0x388e91(0x3c7)](_0x50934c)),W['takeUntil'](this[_0x388e91(0x29e)]))[_0x388e91(0x383)](_0x144d01=>{_0x37483e(_0x144d01);});}};De=Dn([ue(0x0,a['Inject'](a[_0x54a041(0x3d4)])),ue(0x1,a[_0x54a041(0x30e)]),ue(0x2,a[_0x54a041(0x1ab)]),ue(0x3,a[_0x54a041(0x3fe)](exports[_0x54a041(0x31a)])),ue(0x4,a['Inject'](te))],De);var Un=Object[_0x54a041(0x2be)],Pn=(_0x14015f,_0x13f14f,_0x15529e,_0x221c3b)=>{for(var _0x5bfc5b=_0x221c3b>0x1?void 0x0:_0x221c3b?Un(_0x13f14f,_0x15529e):_0x13f14f,_0x94cf07=_0x14015f['length']-0x1,_0x3c826b;_0x94cf07>=0x0;_0x94cf07--)(_0x3c826b=_0x14015f[_0x94cf07])&&(_0x5bfc5b=_0x3c826b(_0x5bfc5b)||_0x5bfc5b);return _0x5bfc5b;},_t=(_0x408526,_0x3fad14)=>(_0x2a63b8,_0x231778)=>_0x3fad14(_0x2a63b8,_0x231778,_0x408526);exports[_0x54a041(0x2dc)]=class{constructor(_0x30dcbc,_0x34c5b0){var _0x5a214a=_0x54a041;this['_configService']=_0x30dcbc,this[_0x5a214a(0x44f)]=_0x34c5b0;}async['getUnitOnRev'](_0x148066,_0x5522e0){var _0x202898=_0x54a041,_0x263c78;const {unitID:_0x7afe8d,type:_0x2628a0,revision:_0x545741=0x0}=_0x5522e0,_0x100e7d=this[_0x202898(0x46b)]()+'/'+_0x2628a0+_0x202898(0x2e7)+_0x7afe8d+_0x202898(0x476)+_0x545741,_0x1b19ad=(await this[_0x202898(0x44f)]['get'](_0x100e7d))[_0x202898(0x3dd)],_0x5e2d01=(_0x263c78=_0x1b19ad[_0x202898(0x1d1)])==null?void 0x0:_0x263c78['workbook'];if(_0x5e2d01){const _0x475987=_0x5e2d01==null?void 0x0:_0x5e2d01[_0x202898(0x2f9)],_0x11ca2e=g[_0x202898(0x2fb)]['encode'](g[_0x202898(0x3e5)](_0x475987));_0x5e2d01[_0x202898(0x2f9)]=_0x11ca2e,Object[_0x202898(0x466)](_0x5e2d01[_0x202898(0x1f9)])[_0x202898(0x176)](([,_0x1afc29])=>{var _0x193b35=_0x202898;const _0x59545e=_0x1afc29[_0x193b35(0x2f9)],_0x1008e4=g[_0x193b35(0x2fb)][_0x193b35(0x45c)](g[_0x193b35(0x3e5)](_0x59545e));_0x1afc29[_0x193b35(0x2f9)]=_0x1008e4;});}return _0x1b19ad;}async[_0x54a041(0x178)](_0x3b01a0,_0x275696){var _0x207751=_0x54a041;const {unitID:_0x4def9b,type:_0x31a7e4,blockID:_0x365802}=_0x275696,_0x2b6db8=this[_0x207751(0x3e0)]()+'/'+_0x31a7e4+_0x207751(0x2e7)+_0x4def9b+'/block/'+_0x365802;return(await this['_httpService'][_0x207751(0x1f4)](_0x2b6db8))['body'];}async['getDeserializedSheetBlock'](_0x17d697,_0x4b6038){var _0x44d9fb=_0x54a041;const {unitID:_0x265320,type:_0x33e121,blockID:_0x2a969e}=_0x4b6038,_0x46330c=this[_0x44d9fb(0x3e0)]()+_0x44d9fb(0x313)+_0x33e121+'/unit/'+_0x265320+_0x44d9fb(0x313)+_0x2a969e;return(await this[_0x44d9fb(0x44f)]['get'](_0x46330c))['body'];}async[_0x54a041(0x162)](_0x53818f,_0x3dfef5){var _0x2d19cf=_0x54a041;const {unitID:_0x1f796,type:_0x57dda0,from:_0x1a6656,to:_0x115d11}=_0x3dfef5,_0x46d896=this[_0x2d19cf(0x3e0)]()+'/'+_0x57dda0+'/unit/'+_0x1f796+'/fetchmissing?from='+_0x1a6656+_0x2d19cf(0x1cd)+_0x115d11;return(await this['_httpService'][_0x2d19cf(0x1f4)](_0x46d896))[_0x2d19cf(0x3dd)];}[_0x54a041(0x46b)](){var _0x550eb3=_0x54a041,_0x1f71b4;return(_0x1f71b4=this[_0x550eb3(0x221)][_0x550eb3(0x33f)](vt))!=null?_0x1f71b4:this[_0x550eb3(0x3e0)]();}[_0x54a041(0x3e0)](){var _0x321344=_0x54a041,_0x2e3498,_0xeebdef;const _0x59cd58=this[_0x321344(0x221)][_0x321344(0x33f)](dt),_0x2c8355=this[_0x321344(0x221)]['getConfig'](Y);return(_0xeebdef=(_0x2e3498=_0x2c8355==null?void 0x0:_0x2c8355[_0x321344(0x257)])!=null?_0x2e3498:_0x59cd58)!=null?_0xeebdef:kt;}async[_0x54a041(0x20f)](_0x59bc97,_0x5c4ffc){var _0x72f099=_0x54a041;const _0x57d153=_0x72f099(0x141)+_0x5c4ffc[_0x72f099(0x15b)]+'/unit/'+_0x5c4ffc[_0x72f099(0x326)]+_0x72f099(0x29d);return(await this['_httpService'][_0x72f099(0x1f4)](_0x57d153,{'params':{'resourceId':JSON[_0x72f099(0x3d5)](_0x5c4ffc[_0x72f099(0x455)])}}))[_0x72f099(0x3dd)];}[_0x54a041(0x46d)](){var _0x164d32=_0x54a041;throw new Error(_0x164d32(0x2c2));}[_0x54a041(0x37c)](){var _0x5eaf09=_0x54a041;throw new Error(_0x5eaf09(0x2c2));}['saveChangeset'](){var _0x426a98=_0x54a041;throw new Error(_0x426a98(0x2c2));}['copyFileMeta'](){var _0x4ebf89=_0x54a041;throw new Error(_0x4ebf89(0x2c2));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x54a041(0x2dc)]=Pn([_t(0x0,a[_0x54a041(0x2ca)]),_t(0x1,a[_0x54a041(0x3fe)](q[_0x54a041(0x31f)]))],exports[_0x54a041(0x2dc)]);var An=Object[_0x54a041(0x2be)],wn=(_0x3505bc,_0x133c42,_0x443fed,_0xc677bb)=>{var _0x3c25eb=_0x54a041;for(var _0x248e8c=_0xc677bb>0x1?void 0x0:_0xc677bb?An(_0x133c42,_0x443fed):_0x133c42,_0x23970=_0x3505bc[_0x3c25eb(0x389)]-0x1,_0xd4993c;_0x23970>=0x0;_0x23970--)(_0xd4993c=_0x3505bc[_0x23970])&&(_0x248e8c=_0xd4993c(_0x248e8c)||_0x248e8c);return _0x248e8c;},de=(_0x367340,_0x3b70c0)=>(_0x1d6940,_0x5e224a)=>_0x3b70c0(_0x1d6940,_0x5e224a,_0x367340);exports[_0x54a041(0x37e)]=class extends a[_0x54a041(0x200)]{constructor(_0x31cac6,_0x5dad45,_0x41b2e6,_0x420eed,_0x1f92d6){var _0xd4fb37=_0x54a041;super(_0x31cac6,_0x5dad45,_0x41b2e6),this[_0xd4fb37(0x430)]=_0x420eed,this[_0xd4fb37(0x40c)]=_0x1f92d6;}[_0x54a041(0x3e3)](_0x4d275b,_0x5d66f2){var _0x159b03=_0x54a041;const _0x28d482=this[_0x159b03(0x297)](_0x4d275b);if(_0x28d482)try{const _0x58c743=this[_0x159b03(0x390)](_0x28d482,_0x5d66f2);this[_0x159b03(0x2c9)](_0x4d275b,_0x58c743);}catch(_0x2992a7){this['_logService']['error'](_0x159b03(0x487),_0x2992a7),this[_0x159b03(0x42d)](_0x4d275b);}const _0x2bd939=this[_0x159b03(0x29b)](_0x4d275b);if(_0x2bd939)try{const _0x14888f=this[_0x159b03(0x390)](_0x2bd939,_0x5d66f2);this[_0x159b03(0x208)](_0x4d275b,_0x14888f);}catch(_0xd97efd){this[_0x159b03(0x40c)][_0x159b03(0x425)](_0xd97efd),this[_0x159b03(0x1b1)](_0x4d275b);}}['_clearUndo'](_0x29f19e){var _0x42bc02=_0x54a041;const _0xad0ab6=this['_getUndoStack'](_0x29f19e);_0xad0ab6&&(_0xad0ab6[_0x42bc02(0x389)]=0x0,this[_0x42bc02(0x2e3)]());}[_0x54a041(0x1b1)](_0x2346a0){var _0x2f43e2=_0x54a041;const _0x2803f9=this[_0x2f43e2(0x29b)](_0x2346a0);_0x2803f9&&(_0x2803f9['length']=0x0,this['_updateStatus']());}[_0x54a041(0x2c9)](_0x35b34c,_0x1b6b07){var _0x3c4279=_0x54a041;this[_0x3c4279(0x224)]['set'](_0x35b34c,_0x1b6b07),this[_0x3c4279(0x2e3)]();}['_substituteRedoStack'](_0x2e79c1,_0x1b464d){var _0xaeebc5=_0x54a041;this[_0xaeebc5(0x3c4)]['set'](_0x2e79c1,_0x1b464d),this[_0xaeebc5(0x2e3)]();}[_0x54a041(0x390)](_0x34290f,_0x1a3786){var _0x4af0d2=_0x54a041;const _0x30772e=[];let _0x50680f=_0x1a3786,_0x4e2cf3=_0x1a3786;for(let _0x4eac2b=_0x34290f['length']-0x1;_0x4eac2b>=0x0;_0x4eac2b--){const {unitID:_0xd54456,undoMutations:_0x17f067,redoMutations:_0x5a2948}=_0x34290f[_0x4eac2b],_0x50ce6e=this[_0x4af0d2(0x430)][_0x4af0d2(0x3f7)](_0x50680f,_0x17f067),_0x54af8d=this['_transformService'][_0x4af0d2(0x3f7)](_0x4e2cf3,_0x5a2948);if(g[_0x4af0d2(0x2eb)](_0x50ce6e)||g[_0x4af0d2(0x2eb)](_0x54af8d)){this['_logService'][_0x4af0d2(0x425)](_0x4af0d2(0x487),_0x4af0d2(0x3f1),_0x50ce6e,_0x54af8d);break;}_0x50680f=_0x50ce6e[_0x4af0d2(0x38d)],_0x4e2cf3=_0x54af8d[_0x4af0d2(0x38d)],_0x30772e[_0x4af0d2(0x473)]({'unitID':_0xd54456,'undoMutations':_0x50ce6e['m2Prime'],'redoMutations':_0x54af8d[_0x4af0d2(0x1d2)]});}return _0x30772e['reverse']();}},exports[_0x54a041(0x37e)]=wn([de(0x0,a[_0x54a041(0x30e)]),de(0x1,a[_0x54a041(0x1ce)]),de(0x2,a['IContextService']),de(0x3,g[_0x54a041(0x438)]),de(0x4,a[_0x54a041(0x388)])],exports['CollaborativeUndoRedoService']);var Ln=Object[_0x54a041(0x2fd)],Mn=Object[_0x54a041(0x2be)],xn=(_0x5920a4,_0x55bc46,_0x2d25a0)=>_0x55bc46 in _0x5920a4?Ln(_0x5920a4,_0x55bc46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d25a0}):_0x5920a4[_0x55bc46]=_0x2d25a0,kn=(_0x256614,_0x52db8d,_0x290eb5,_0x3a9de1)=>{for(var _0x23aade=_0x3a9de1>0x1?void 0x0:_0x3a9de1?Mn(_0x52db8d,_0x290eb5):_0x52db8d,_0x588b19=_0x256614['length']-0x1,_0x565ec7;_0x588b19>=0x0;_0x588b19--)(_0x565ec7=_0x256614[_0x588b19])&&(_0x23aade=_0x565ec7(_0x23aade)||_0x23aade);return _0x23aade;},ke=(_0x30b28e,_0x237e9d)=>(_0x3994d6,_0x4b9748)=>_0x237e9d(_0x3994d6,_0x4b9748,_0x30b28e),Hn=(_0x7dbcfc,_0x55e7b5,_0x4efd59)=>xn(_0x7dbcfc,_0x55e7b5+'',_0x4efd59);const jn=_0x54a041(0x29c);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x5c1662,_0x3e73d5,_0x2de3f0,_0x54d8b7){var _0x4a2654=_0x54a041;super(),P(this,_0x4a2654(0x14b)),(this[_0x4a2654(0x40c)]=_0x3e73d5,this[_0x4a2654(0x411)]=_0x2de3f0,this[_0x4a2654(0x221)]=_0x54d8b7);const {..._0x3a89ca}=a[_0x4a2654(0x21b)]({},Jt,_0x5c1662);if(!_0x3a89ca[_0x4a2654(0x2ec)])throw new Error(_0x4a2654(0x1bb));this[_0x4a2654(0x14b)]=_0x3a89ca,this[_0x4a2654(0x221)][_0x4a2654(0x13b)](Y,_0x3a89ca);}['onStarting'](){var _0x358d61=_0x54a041;this[_0x358d61(0x236)](),this[_0x358d61(0x248)]();}[_0x54a041(0x236)](){var _0x5e8cbf=_0x54a041,_0x29fccc,_0x558439;this[_0x5e8cbf(0x411)][_0x5e8cbf(0x169)](a[_0x5e8cbf(0x249)])&&this[_0x5e8cbf(0x40c)]['error'](_0x5e8cbf(0x2f1),_0x5e8cbf(0x16f));const _0x4cab99=a[_0x5e8cbf(0x39a)]([[a[_0x5e8cbf(0x249)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x5e8cbf(0x274)]],[Oe],[Ne],[Be],[De],[te],[exports[_0x5e8cbf(0x345)]],[$e,{'useClass':this['_config'][_0x5e8cbf(0x2ec)]}],[g[_0x5e8cbf(0x1bd)],{'useClass':exports[_0x5e8cbf(0x2dc)]}],[a[_0x5e8cbf(0x318)],{'useClass':exports['AuthzIoHttpService']}],[J[_0x5e8cbf(0x150)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x5e8cbf(0x147)],{'useClass':exports[_0x5e8cbf(0x261)]}],[exports['CollaborationController']],[He]],(_0x29fccc=this[_0x5e8cbf(0x14b)])==null?void 0x0:_0x29fccc[_0x5e8cbf(0x447)]);if(!((_0x558439=this[_0x5e8cbf(0x14b)])!=null&&_0x558439['enableSingleActiveInstanceLock'])){const _0x30ce6d=_0x4cab99[_0x5e8cbf(0x3ce)](([_0x539b81])=>_0x539b81===ve);_0x30ce6d!==-0x1&&_0x4cab99['splice'](_0x30ce6d,0x1);}a['registerDependencies'](this[_0x5e8cbf(0x411)],_0x4cab99);}[_0x54a041(0x248)](){var _0xa2280a=_0x54a041,_0x329c33,_0x30805c,_0x3cf465;this[_0xa2280a(0x411)][_0xa2280a(0x1f4)](q[_0xa2280a(0x31f)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0xa2280a(0x3ea)]({'maxParallel':0x6})}),(_0x329c33=this[_0xa2280a(0x14b)])!=null&&_0x329c33['enableOfflineEditing']||(_0x30805c=this['_injector'][_0xa2280a(0x1f4)](z,a['Quantity'][_0xa2280a(0x13c)]))==null||_0x30805c[_0xa2280a(0x16b)](),(_0x3cf465=this[_0xa2280a(0x14b)])!=null&&_0x3cf465[_0xa2280a(0x33c)]&&a[_0xa2280a(0x32a)](this[_0xa2280a(0x411)],[[Oe]]),a[_0xa2280a(0x32a)](this[_0xa2280a(0x411)],[[Ne],[exports[_0xa2280a(0x2ac)]],[De]]);}},Hn(exports['UniverCollaborationClientPlugin'],_0x54a041(0x43e),jn),exports[_0x54a041(0x192)]=kn([a[_0x54a041(0x191)](g['UniverCollaborationPlugin'],q[_0x54a041(0x159)]),ke(0x1,a[_0x54a041(0x388)]),ke(0x2,a['Inject'](a[_0x54a041(0x3d4)])),ke(0x3,a[_0x54a041(0x2ca)])],exports['UniverCollaborationClientPlugin']),exports['AUTHZ_URL_KEY']=Ve,exports[_0x54a041(0x451)]=Y,exports[_0x54a041(0x27a)]=It,exports[_0x54a041(0x47d)]=St,exports[_0x54a041(0x3c0)]=We,exports[_0x54a041(0x465)]=Q,exports[_0x54a041(0x2e1)]=te,exports[_0x54a041(0x1a1)]=Be,exports[_0x54a041(0x29a)]=ft,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=zt,exports[_0x54a041(0x38c)]=$t,exports[_0x54a041(0x339)]=pt,exports[_0x54a041(0x1ca)]=je,exports[_0x54a041(0x170)]=$e,exports['ILocalCacheService']=z,exports[_0x54a041(0x1f1)]=bt,exports['ISingleActiveUnitService']=ve,exports['LOCAL_CACHE_INTERVAL']=Vt,exports['LOCAL_CACHE_INTERVAL_KEY']=Gt,exports['LOGIN_URL_KEY']=Et,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=qt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=mt,exports['SEND_CHANGESET_TIMEOUT_KEY']=Ht,exports[_0x54a041(0x367)]=dt,exports[_0x54a041(0x3b8)]=vt,exports[_0x54a041(0x2fe)]=se,exports[_0x54a041(0x20d)]=Fe,exports[_0x54a041(0x209)]=Rt,exports[_0x54a041(0x485)]=vi,exports[_0x54a041(0x1de)]=yt;
|