@univerjs-pro/collaboration-client 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506181607
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 _0x55ff74=_0x3571;(function(_0x21976c,_0x5b1392){var _0x1a7966=_0x3571,_0x37b4d2=_0x21976c();while(!![]){try{var _0x55a522=-parseInt(_0x1a7966(0x2cd))/0x1*(-parseInt(_0x1a7966(0x236))/0x2)+-parseInt(_0x1a7966(0x248))/0x3+parseInt(_0x1a7966(0x28b))/0x4+-parseInt(_0x1a7966(0x383))/0x5*(parseInt(_0x1a7966(0x46b))/0x6)+parseInt(_0x1a7966(0x23c))/0x7*(parseInt(_0x1a7966(0x2a7))/0x8)+parseInt(_0x1a7966(0x18e))/0x9*(parseInt(_0x1a7966(0x47f))/0xa)+parseInt(_0x1a7966(0x313))/0xb;if(_0x55a522===_0x5b1392)break;else _0x37b4d2['push'](_0x37b4d2['shift']());}catch(_0xe20b6b){_0x37b4d2['push'](_0x37b4d2['shift']());}}}(_0x12dd,0x884c2));var Dt=Object['defineProperty'],At=(_0x20aaed,_0x27087d,_0x5f59ac)=>_0x27087d in _0x20aaed?Dt(_0x20aaed,_0x27087d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f59ac}):_0x20aaed[_0x27087d]=_0x5f59ac,A=(_0x4e5b6e,_0x4d2b26,_0x35d25b)=>At(_0x4e5b6e,typeof _0x4d2b26!=_0x55ff74(0x3f0)?_0x4d2b26+'':_0x4d2b26,_0x35d25b);Object[_0x55ff74(0x1c9)](exports,Symbol[_0x55ff74(0x321)],{'value':'Module'});const a=require(_0x55ff74(0x3bf)),$=require(_0x55ff74(0x25f)),V=require(_0x55ff74(0x39c)),I=require(_0x55ff74(0x3ea)),Y=require('@univerjs/network'),Pt=require(_0x55ff74(0x168)),ht=require('@univerjs/docs'),X=require(_0x55ff74(0x1cb)),z=require('@univerjs/drawing'),wt=require(_0x55ff74(0x1d7)),_t=_0x55ff74(0x103),Lt=_0x55ff74(0x3f8),lt=_0x55ff74(0x1eb),Mt=_0x55ff74(0x3b4),xt=0x7d0,ut=_0x55ff74(0x1b5),dt=_0x55ff74(0x210),kt=_0x55ff74(0x298),vt=_0x55ff74(0x464),Ht=0x7530,ke=_0x55ff74(0x15e),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x55ff74(0x41e),Ft=0x3e8,pt=_0x55ff74(0x3fb),Vt=_0x55ff74(0x2ed),It='LOGIN_URL_KEY',Wt=_0x55ff74(0x184),Gt=_0x55ff74(0x1cd),Kt=_0x55ff74(0x405);var gt=(_0x30eb44=>(_0x30eb44[_0x30eb44[_0x55ff74(0x3d4)]=0x0]=_0x55ff74(0x3d4),_0x30eb44[_0x30eb44['OK']=0x1]='OK',_0x30eb44[_0x30eb44[_0x55ff74(0x312)]=0x2]='INTERNAL_ERROR',_0x30eb44[_0x30eb44[_0x55ff74(0x337)]=0x3]='PERMISSION_DENIED',_0x30eb44[_0x30eb44[_0x55ff74(0x282)]=0x4]=_0x55ff74(0x282),_0x30eb44[_0x30eb44[_0x55ff74(0x3c6)]=0x5]=_0x55ff74(0x3c6),_0x30eb44[_0x30eb44['ALREADY_EXISTS']=0x6]=_0x55ff74(0x129),_0x30eb44[_0x30eb44['INVALID_ARGUMENT']=0x7]=_0x55ff74(0x29d),_0x30eb44[_0x30eb44[_0x55ff74(0x410)]=0x8]=_0x55ff74(0x410),_0x30eb44[_0x30eb44['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x30eb44[_0x30eb44[_0x55ff74(0x2ac)]=0xa]=_0x55ff74(0x2ac),_0x30eb44[_0x30eb44[_0x55ff74(0x11c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x30eb44[_0x30eb44['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x55ff74(0x110),_0x30eb44[_0x30eb44['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x55ff74(0x351),_0x30eb44[_0x30eb44[_0x55ff74(0x3cc)]=0x1773]=_0x55ff74(0x3cc),_0x30eb44[_0x30eb44[_0x55ff74(0x2c3)]=0x1b59]=_0x55ff74(0x2c3),_0x30eb44[_0x30eb44[_0x55ff74(0x301)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30eb44[_0x30eb44[_0x55ff74(0x19e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x30eb44[_0x30eb44[_0x55ff74(0x21b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x30eb44[_0x30eb44[_0x55ff74(0x1f1)]=0x1b5d]=_0x55ff74(0x1f1),_0x30eb44[_0x30eb44[_0x55ff74(0x154)]=0x1f41]=_0x55ff74(0x154),_0x30eb44[_0x30eb44[_0x55ff74(0x304)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x30eb44[_0x30eb44[_0x55ff74(0x33b)]=0x232a]=_0x55ff74(0x33b),_0x30eb44[_0x30eb44[_0x55ff74(0x3af)]=0x232b]=_0x55ff74(0x3af),_0x30eb44[_0x30eb44[_0x55ff74(0x3cd)]=0x232c]=_0x55ff74(0x3cd),_0x30eb44[_0x30eb44[_0x55ff74(0x17b)]=0x232d]=_0x55ff74(0x17b),_0x30eb44[_0x30eb44['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x55ff74(0x278),_0x30eb44[_0x30eb44[_0x55ff74(0x415)]=0x2712]=_0x55ff74(0x415),_0x30eb44[_0x30eb44[_0x55ff74(0x203)]=0x2713]=_0x55ff74(0x203),_0x30eb44[_0x30eb44['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x55ff74(0x479),_0x30eb44[_0x30eb44['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x55ff74(0x237),_0x30eb44[_0x30eb44['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x55ff74(0x3b8),_0x30eb44[_0x30eb44[_0x55ff74(0x3c4)]=0x271c]=_0x55ff74(0x3c4),_0x30eb44[_0x30eb44[_0x55ff74(0x356)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x30eb44[_0x30eb44[_0x55ff74(0x10f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x30eb44[_0x30eb44[_0x55ff74(0x1db)]=0x271f]=_0x55ff74(0x1db),_0x30eb44[_0x30eb44[_0x55ff74(0x322)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x30eb44[_0x30eb44[_0x55ff74(0x3c0)]=0x2ee1]=_0x55ff74(0x3c0),_0x30eb44[_0x30eb44[_0x55ff74(0x431)]=0x2ee2]=_0x55ff74(0x431),_0x30eb44[_0x30eb44[_0x55ff74(0x13a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x30eb44[_0x30eb44[_0x55ff74(0x32b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x30eb44[_0x30eb44[_0x55ff74(0x2e3)]=0x2ee5]=_0x55ff74(0x2e3),_0x30eb44[_0x30eb44['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x55ff74(0x45e),_0x30eb44[_0x30eb44[_0x55ff74(0x397)]=0x32ca]=_0x55ff74(0x397),_0x30eb44[_0x30eb44[_0x55ff74(0x228)]=0x32cb]=_0x55ff74(0x228),_0x30eb44[_0x30eb44[_0x55ff74(0xf5)]=-0x1]=_0x55ff74(0xf5),_0x30eb44))(gt||{}),J=(_0x5527b1=>(_0x5527b1[_0x5527b1['UNIVER_UNKNOWN']=0x0]=_0x55ff74(0x30a),_0x5527b1[_0x5527b1['UNIVER_DOC']=0x1]=_0x55ff74(0x43e),_0x5527b1[_0x5527b1[_0x55ff74(0x209)]=0x2]=_0x55ff74(0x209),_0x5527b1[_0x5527b1[_0x55ff74(0x3b3)]=0x3]=_0x55ff74(0x3b3),_0x5527b1[_0x5527b1[_0x55ff74(0x125)]=0x4]=_0x55ff74(0x125),_0x5527b1[_0x5527b1[_0x55ff74(0xf5)]=-0x1]='UNRECOGNIZED',_0x5527b1))(J||{}),W=(_0xd85859=>(_0xd85859[_0xd85859[_0x55ff74(0x204)]=0x0]=_0x55ff74(0x204),_0xd85859[_0xd85859[_0x55ff74(0x426)]=0x1]='HELLO',_0xd85859[_0xd85859[_0x55ff74(0x3c3)]=0x2]=_0x55ff74(0x3c3),_0xd85859[_0xd85859['LEAVE']=0x3]=_0x55ff74(0x420),_0xd85859[_0xd85859[_0x55ff74(0x3e5)]=0x4]=_0x55ff74(0x3e5),_0xd85859[_0xd85859[_0x55ff74(0x102)]=0x5]=_0x55ff74(0x102),_0xd85859[_0xd85859[_0x55ff74(0x185)]=0x6]='RECV',_0xd85859[_0xd85859['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xd85859))(W||{}),oe=(_0x9ef1d8=>(_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x18d)]=0x0]=_0x55ff74(0x18d),_0x9ef1d8[_0x9ef1d8['OK']=0x1]='OK',_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x40b)]=0x2]=_0x55ff74(0x40b),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x36f)]=0x3e9]=_0x55ff74(0x36f),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x333)]=0x3ea]=_0x55ff74(0x333),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x143)]=0x3eb]=_0x55ff74(0x143),_0x9ef1d8[_0x9ef1d8[_0x55ff74(0x1df)]=0x3ec]=_0x55ff74(0x1df),_0x9ef1d8[_0x9ef1d8['UNRECOGNIZED']=-0x1]=_0x55ff74(0xf5),_0x9ef1d8))(oe||{}),Et=(_0xf27c92=>(_0xf27c92[_0xf27c92['Undefined']=0x0]=_0x55ff74(0x2d8),_0xf27c92[_0xf27c92[_0x55ff74(0x44a)]=0x1]=_0x55ff74(0x44a),_0xf27c92[_0xf27c92[_0x55ff74(0x3fe)]=0x2]='HttpExport',_0xf27c92[_0xf27c92[_0x55ff74(0x352)]=0x3]='UnitEmbedded',_0xf27c92[_0xf27c92[_0x55ff74(0x145)]=0x4]=_0x55ff74(0x145),_0xf27c92[_0xf27c92[_0x55ff74(0x1c6)]=0x5]=_0x55ff74(0x1c6),_0xf27c92[_0xf27c92[_0x55ff74(0xf5)]=-0x1]=_0x55ff74(0xf5),_0xf27c92))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x1a9611=>(_0x1a9611[_0x55ff74(0x1d1)]=_0x55ff74(0x1d1),_0x1a9611['PERMISSION_DENIED']=_0x55ff74(0x337),_0x1a9611[_0x55ff74(0x147)]=_0x55ff74(0x147),_0x1a9611[_0x55ff74(0x3c5)]='CLOSE_ROOM',_0x1a9611[_0x55ff74(0x288)]=_0x55ff74(0x288),_0x1a9611[_0x55ff74(0x214)]=_0x55ff74(0x214),_0x1a9611[_0x55ff74(0x20c)]=_0x55ff74(0x20c),_0x1a9611['SUBMIT_CHANGESET_TIMEOUT']=_0x55ff74(0x28d),_0x1a9611))(Z||{});class ee{constructor(){var _0x4e7e40=_0x55ff74;A(this,_0x4e7e40(0x37b),new $[(_0x4e7e40(0x16b))]()),A(this,_0x4e7e40(0x1f9),this[_0x4e7e40(0x37b)][_0x4e7e40(0x37f)]());}[_0x55ff74(0x25d)](_0x40891e){var _0x5d2df9=_0x55ff74;this[_0x5d2df9(0x37b)]['next'](_0x40891e);}}const mt=a['createIdentifier']('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2091f3){var _0x548ca7=_0x55ff74,_0x4360db,_0x4483ff,_0x7320a2,_0x46bbe8,_0x3d3061;const _0x342d38=_0x2091f3[_0x548ca7(0x13e)],_0x20fbb5=JSON[_0x548ca7(0x29b)](_0x342d38);switch(_0x20fbb5['cmd']){case W[_0x548ca7(0x102)]:case W[_0x548ca7(0x426)]:{const _0x3fdead=_0x20fbb5[_0x548ca7(0x3f6)];return{..._0x20fbb5,'data':_0x3fdead,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};}case W['JOIN']:{const _0x1688f4=_0x20fbb5['joinRsp'];return{..._0x20fbb5,'data':_0x1688f4,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};}case W[_0x548ca7(0x185)]:{const _0x482c3b=_0x20fbb5[_0x548ca7(0x3c9)];switch(_0x482c3b[_0x548ca7(0x46c)]){case I['CollaborationEvent'][_0x548ca7(0x345)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x4360db=_0x482c3b[_0x548ca7(0x47d)])==null?void 0x0:_0x4360db['cs']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)]['CHANGESET_ACK']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x4483ff=_0x482c3b[_0x548ca7(0x2db)])==null?void 0x0:_0x4483ff['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x279)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x7320a2=_0x482c3b['newCsEvent'])==null?void 0x0:_0x7320a2['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x17e)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x46bbe8=_0x482c3b[_0x548ca7(0x22d)])==null?void 0x0:_0x46bbe8['cs']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x3fc)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':(_0x3d3061=_0x482c3b[_0x548ca7(0x2fa)])==null?void 0x0:_0x3d3061['cs']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)][_0x548ca7(0x32d)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['updateCursorEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent']['USERS_ENTER']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x144)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)]['USERS_LEAVE']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x1c5)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x3b0)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x146)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x462)]:case I[_0x548ca7(0x208)]['LIVESHARE_OPERATION']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['liveShareOperation']},'cmd':_0x20fbb5['cmd']};case I[_0x548ca7(0x208)]['LIVESHARE_TERMINATE']:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x146)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x249)]:return{..._0x20fbb5,'data':_0x482c3b,'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x369)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['commentUpdateEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x22f)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x28f)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I[_0x548ca7(0x208)][_0x548ca7(0x389)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b[_0x548ca7(0x2ad)]},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};case I['CollaborationEvent'][_0x548ca7(0x219)]:return{..._0x20fbb5,'data':{..._0x482c3b,'data':_0x482c3b['uniscriptRunEvent']},'cmd':_0x20fbb5[_0x548ca7(0x1e2)]};default:return _0x20fbb5;}}default:return _0x20fbb5;}}function Tt(_0x2e172a){var _0x1655b9=_0x55ff74;switch(_0x2e172a[_0x1655b9(0x1e2)]){case W[_0x1655b9(0x102)]:case W[_0x1655b9(0x426)]:return JSON[_0x1655b9(0x2bc)]({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)]});case W[_0x1655b9(0x3e5)]:{let _0x38d7c0;switch(_0x2e172a[_0x1655b9(0x13e)]['eventID']){case I[_0x1655b9(0x208)][_0x1655b9(0x32d)]:{_0x38d7c0={'eventID':I['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x37a)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x37a)],'leaveEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I['CollaborationEvent'][_0x1655b9(0x1b6)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x1b6)],'joinEvent':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I['CollaborationEvent'][_0x1655b9(0x3b0)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x3b0)],'liveShareNewHost':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x36d)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x36d)],'liveShareOperation':_0x2e172a[_0x1655b9(0x13e)]['data']};break;}case I['CollaborationEvent'][_0x1655b9(0x3fa)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)][_0x1655b9(0x3fa)],'liveShareTerminate':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x2c4)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e172a['data'][_0x1655b9(0x13e)]};break;}case I[_0x1655b9(0x208)][_0x1655b9(0x462)]:{_0x38d7c0={'eventID':I[_0x1655b9(0x208)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x38d7c0={'eventID':_0x2e172a[_0x1655b9(0x13e)][_0x1655b9(0x46c)]};}return JSON['stringify']({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)],'collaMsg':_0x38d7c0});}case W[_0x1655b9(0x3c3)]:return JSON[_0x1655b9(0x2bc)]({'cmd':_0x2e172a['cmd'],'routeKey':_0x2e172a[_0x1655b9(0x238)],'joinReq':_0x2e172a[_0x1655b9(0x13e)]});case W[_0x1655b9(0x420)]:return JSON['stringify']({'cmd':_0x2e172a[_0x1655b9(0x1e2)],'routeKey':_0x2e172a[_0x1655b9(0x238)],'leaveReq':_0x2e172a[_0x1655b9(0x13e)]});default:throw new Error(_0x1655b9(0x432));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x32d896,_0x232ebc,_0x3f7370,_0x66305)=>{var _0x1ac11d=_0x55ff74;for(var _0x3d28f9=_0x66305>0x1?void 0x0:_0x66305?qt(_0x232ebc,_0x3f7370):_0x232ebc,_0x3f1594=_0x32d896[_0x1ac11d(0x305)]-0x1,_0x20a29e;_0x3f1594>=0x0;_0x3f1594--)(_0x20a29e=_0x32d896[_0x3f1594])&&(_0x3d28f9=_0x20a29e(_0x3d28f9)||_0x3d28f9);return _0x3d28f9;},_e=(_0x249e8f,_0x53ab6d)=>(_0x4a5c29,_0x5852a0)=>_0x53ab6d(_0x4a5c29,_0x5852a0,_0x249e8f);const He=a[_0x55ff74(0x23a)](_0x55ff74(0x297));function Jt(_0x4036f2,_0x427895,_0x283f42){var _0x42d487=_0x55ff74;return _0x4036f2+'/'+_0x427895+_0x42d487(0x26b)+_0x283f42+'/new_changes';}exports['CollaborationSocketService']=class extends a[_0x55ff74(0x2f0)]{constructor(_0x759068,_0xc026d4,_0x2f2dd6,_0x506429,_0x2ad403){var _0x5903d9=_0x55ff74;super(),this[_0x5903d9(0x423)]=_0x759068,this[_0x5903d9(0x1e7)]=_0xc026d4,this[_0x5903d9(0x26e)]=_0x2f2dd6,this[_0x5903d9(0x24d)]=_0x506429,this['_snapshotServerService']=_0x2ad403;}[_0x55ff74(0x2c8)](_0x3f9283){var _0xf5a9d2=_0x55ff74;const _0x295465=this[_0xf5a9d2(0x423)][_0xf5a9d2(0x128)](Y[_0xf5a9d2(0x382)]);if(!_0x295465)throw new Error(_0xf5a9d2(0x196));const _0x1c02d6=_0x295465['createSocket'](_0x3f9283);if(!_0x1c02d6)throw new Error(_0xf5a9d2(0x435));const _0x3278b7=new a[(_0xf5a9d2(0x211))](),_0x286271=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6[_0xf5a9d2(0x30e)][_0xf5a9d2(0x259)](_0x43573e=>_0x286271[_0xf5a9d2(0x1f3)](_0x43573e))),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x286271[_0xf5a9d2(0x191)]()));const _0x4d6fd4=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6['error$'][_0xf5a9d2(0x259)](_0x4a43b8=>_0x4d6fd4[_0xf5a9d2(0x1f3)](_0x4a43b8))),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x4d6fd4[_0xf5a9d2(0x191)]()));const _0x55a586=new $[(_0xf5a9d2(0x16b))]();_0x3278b7[_0xf5a9d2(0x16e)](_0x1c02d6[_0xf5a9d2(0x475)][_0xf5a9d2(0x259)](_0x302dec=>{var _0x493e00=_0xf5a9d2;const _0x37a31d=Ct(_0x302dec);_0x55a586[_0x493e00(0x1f3)](_0x37a31d);})),_0x3278b7['add'](a[_0xf5a9d2(0x287)](()=>_0x55a586['complete']()));let _0xd2037;const _0x3e1a9c=()=>{var _0x4886cf=_0xf5a9d2;_0x4d6fd4[_0x4886cf(0x1f3)](new Event('connection\x20error')),_0x286271[_0x4886cf(0x1f3)](new Event(_0x4886cf(0x2b4))),_0xd2037[_0x4886cf(0x3b2)]();};return _0xd2037={'memberID':'','close$':_0x286271[_0xf5a9d2(0x37f)](),'error$':_0x4d6fd4[_0xf5a9d2(0x37f)](),'open$':_0x1c02d6[_0xf5a9d2(0x408)],'message$':_0x55a586['asObservable'](),'send':_0x30697b=>{var _0x163ee5=_0xf5a9d2;if(_0x30697b[_0x163ee5(0x1e2)]===W[_0x163ee5(0x3e5)]){if(_0x30697b['data']['eventID']===I[_0x163ee5(0x208)]['SUBMIT_CHANGESET']){this[_0x163ee5(0x445)](_0xd2037,_0x30697b[_0x163ee5(0x13e)])[_0x163ee5(0x1ff)](_0x48604=>{var _0x3b9484=_0x163ee5;this[_0x3b9484(0x24d)]['error'](_0x48604),_0x3e1a9c();});return;}if(_0x30697b['data'][_0x163ee5(0x46c)]===I[_0x163ee5(0x208)]['FETCH_MISSING']){const _0x3a5cd6=_0x30697b[_0x163ee5(0x13e)];this[_0x163ee5(0x3b5)](_0x3a5cd6)['then'](_0x41036a=>{var _0x8b7da3=_0x163ee5;_0x55a586['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x3a5cd6[_0x8b7da3(0x13e)][_0x8b7da3(0x20f)],'routeType':'','data':{'eventID':I[_0x8b7da3(0x208)][_0x8b7da3(0x1af)],'data':{'changesets':_0x41036a}}});})[_0x163ee5(0x1ff)](_0x5c2b6e=>{var _0x1edb20=_0x163ee5;this[_0x1edb20(0x24d)][_0x1edb20(0x35e)](_0x5c2b6e),_0x3e1a9c();});return;}}_0x1c02d6[_0x163ee5(0x20b)](Tt(_0x30697b));},'close':()=>{var _0xecb2bb=_0xf5a9d2;_0x1c02d6['close'](),_0x3278b7[_0xecb2bb(0x174)]();}},_0xd2037;}async[_0x55ff74(0x445)](_0x10ce5d,_0x40a229){var _0x4fb8f7=_0x55ff74,_0x20499a,_0x422544;const {unitType:_0x4372d7,unitID:_0xa161c0,changeset:_0x1dcd1b}=_0x40a229['data'],_0x12c8e5={'unitID':_0xa161c0,'memberID':_0x10ce5d[_0x4fb8f7(0x1e3)],'type':_0x4372d7,'changeset':I[_0x4fb8f7(0x386)](_0x1dcd1b)},_0x478b54=this['_configService'][_0x4fb8f7(0x388)](pt),_0x5d51f4=this[_0x4fb8f7(0x26e)][_0x4fb8f7(0x388)](K),_0x2b0536=Jt((_0x422544=(_0x20499a=_0x5d51f4==null?void 0x0:_0x5d51f4['collabSubmitChangesetUrl'])!=null?_0x20499a:_0x478b54)!=null?_0x422544:Vt,_0x4372d7,_0xa161c0);try{await this['_httpService'][_0x4fb8f7(0x252)](_0x2b0536,{'body':_0x12c8e5});}catch(_0x42edcb){throw this[_0x4fb8f7(0x24d)][_0x4fb8f7(0x35e)](_0x4fb8f7(0x307),'submit\x20changeset\x20error!'),_0x42edcb;}}async[_0x55ff74(0x3b5)](_0x429590){var _0x1023e1=_0x55ff74;const {unitID:_0x1cc422,from:_0x32e337,to:_0x8ddef9,unitType:_0x39950e}=_0x429590[_0x1023e1(0x13e)];return(await this[_0x1023e1(0x47a)][_0x1023e1(0x280)]({'metadata':void 0x0},{'unitID':_0x1cc422,'type':_0x39950e,'from':_0x32e337,'to':_0x8ddef9}))['changesets'];}},exports['CollaborationSocketService']=zt([_e(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),_e(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)])),_e(0x2,a[_0x55ff74(0x133)]),_e(0x3,a[_0x55ff74(0x469)]),_e(0x4,I[_0x55ff74(0x38e)])],exports[_0x55ff74(0x253)]);const Xt=_0x55ff74(0x1a7);function Zt(_0x413197){var _0xc0e8f=_0x55ff74;return JSON[_0xc0e8f(0x2bc)](_0x413197)['length'];}class $e{constructor(){var _0x18cdd7=_0x55ff74;A(this,_0x18cdd7(0x160),new $[(_0x18cdd7(0x16b))]()),A(this,_0x18cdd7(0x42e),this[_0x18cdd7(0x160)]['asObservable']());}['onCommentUpdate'](_0x10abf9){var _0x583131=_0x55ff74;this['_commentUpdate$'][_0x583131(0x1f3)](_0x10abf9);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x1f898e,_0x87714c,_0x682a13,_0x33370b)=>{for(var _0xa68244=_0x33370b>0x1?void 0x0:_0x33370b?Qt(_0x87714c,_0x682a13):_0x87714c,_0x541185=_0x1f898e['length']-0x1,_0x2243f2;_0x541185>=0x0;_0x541185--)(_0x2243f2=_0x1f898e[_0x541185])&&(_0xa68244=_0x2243f2(_0xa68244)||_0xa68244);return _0xa68244;},We=(_0x472852,_0x5e65f0)=>(_0x20cb8d,_0x4032d4)=>_0x5e65f0(_0x20cb8d,_0x4032d4,_0x472852);exports[_0x55ff74(0x148)]=class extends a[_0x55ff74(0x2f0)]{constructor(_0x9e7a78,_0x4a7bc1){var _0x1eb16c=_0x55ff74;super(),A(this,_0x1eb16c(0x12e),new Map()),A(this,'_roomCreated$',new $[(_0x1eb16c(0x16b))]()),(this[_0x1eb16c(0x449)]=_0x9e7a78,this[_0x1eb16c(0x2e1)]=_0x4a7bc1,this[_0x1eb16c(0x2a4)]($[_0x1eb16c(0x1cc)](this['_univerInstanceService'][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)][_0x1eb16c(0x209)])['pipe'](V['map'](_0x5f3494=>_0x5f3494[_0x1eb16c(0x186)]())),this[_0x1eb16c(0x449)][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)][_0x1eb16c(0x43e)])[_0x1eb16c(0x33c)](V[_0x1eb16c(0x40e)](_0x1dce3c=>_0x1dce3c[_0x1eb16c(0x186)]())),this[_0x1eb16c(0x449)][_0x1eb16c(0x428)](a[_0x1eb16c(0x272)]['UNIVER_SLIDE'])[_0x1eb16c(0x33c)](V[_0x1eb16c(0x40e)](_0x281e19=>_0x281e19[_0x1eb16c(0x186)]())))[_0x1eb16c(0x259)](_0x49d39a=>this[_0x1eb16c(0x23b)](_0x49d39a))));}['waitForRoom$'](_0x186254){var _0x55ce3d=_0x55ff74;return this[_0x55ce3d(0x12e)][_0x55ce3d(0x14a)](_0x186254)?$['of'](this[_0x55ce3d(0x12e)][_0x55ce3d(0x128)](_0x186254)):this['_roomCreated$'][_0x55ce3d(0x33c)](V[_0x55ce3d(0x40e)](_0x5bfde6=>{var _0x314ca2=_0x55ce3d;if(_0x5bfde6===_0x186254)return this[_0x314ca2(0x12e)][_0x314ca2(0x128)](_0x5bfde6);}));}[_0x55ff74(0x447)](_0x14516d){var _0x50a3a7=_0x55ff74;this[_0x50a3a7(0x2e1)]['setCurrentUser'](_0x14516d);}[_0x55ff74(0x3f4)](){var _0x32b9cb=_0x55ff74;return this[_0x32b9cb(0x2e1)][_0x32b9cb(0x3f4)]();}['updateMember'](_0x2d90fb,_0x5194e9){var _0x172423=_0x55ff74;let _0x40f1c4=this[_0x172423(0x12e)]['get'](_0x2d90fb);_0x40f1c4||(_0x40f1c4=new ti(),this[_0x172423(0x12e)]['set'](_0x2d90fb,_0x40f1c4),this[_0x172423(0x398)][_0x172423(0x1f3)](_0x2d90fb)),_0x40f1c4[_0x172423(0x300)](_0x5194e9);}[_0x55ff74(0x478)](_0x57a5c7,_0x5a1efc){var _0x162738=_0x55ff74;const _0x2835ce=this[_0x162738(0x12e)]['get'](_0x57a5c7);_0x2835ce&&_0x2835ce[_0x162738(0x478)](_0x5a1efc);}[_0x55ff74(0x283)](_0x297634){var _0x5d67d9=_0x55ff74;return this[_0x5d67d9(0x12e)][_0x5d67d9(0x128)](_0x297634);}['getMember'](_0x4e510d,_0x4728d7){var _0x5ec8ff=_0x55ff74;const _0x2d6eb8=this[_0x5ec8ff(0x12e)]['get'](_0x4e510d);if(_0x2d6eb8)return _0x2d6eb8[_0x5ec8ff(0x2c9)](_0x4728d7);}[_0x55ff74(0x23b)](_0xdb8b10){var _0x3d466b=_0x55ff74;const _0x5f378f=this[_0x3d466b(0x12e)][_0x3d466b(0x128)](_0xdb8b10);_0x5f378f&&(_0x5f378f[_0x3d466b(0x174)](),this[_0x3d466b(0x12e)][_0x3d466b(0x413)](_0xdb8b10));}['dispose'](){var _0x5aa77a=_0x55ff74;this[_0x5aa77a(0x12e)][_0x5aa77a(0x41f)](_0x260901=>_0x260901[_0x5aa77a(0x174)]()),this['_roomMembers']['clear'](),this[_0x5aa77a(0x398)][_0x5aa77a(0x191)]();}},exports[_0x55ff74(0x148)]=ei([We(0x0,a[_0x55ff74(0x35a)]),We(0x1,a['Inject'](a['UserManagerService']))],exports[_0x55ff74(0x148)]);class ti extends a['Disposable']{constructor(){var _0x1b3c4a=_0x55ff74;super(...arguments),A(this,_0x1b3c4a(0x2c0),new Map()),A(this,_0x1b3c4a(0x2c7),new $['BehaviorSubject'](this[_0x1b3c4a(0x2c0)])),A(this,_0x1b3c4a(0x439),this[_0x1b3c4a(0x2c7)][_0x1b3c4a(0x37f)]());}[_0x55ff74(0x174)](){var _0x3a549b=_0x55ff74;this[_0x3a549b(0x2c0)][_0x3a549b(0x28a)]();}[_0x55ff74(0x300)](_0xcaba45){var _0x37fe9e=_0x55ff74;this[_0x37fe9e(0x2c0)][_0x37fe9e(0x41c)](_0xcaba45['memberID'],_0xcaba45),this[_0x37fe9e(0x3c2)]();}[_0x55ff74(0x478)](_0x2adc0a){var _0x7f3310=_0x55ff74;this[_0x7f3310(0x2c0)][_0x7f3310(0x413)](_0x2adc0a);}[_0x55ff74(0x2c9)](_0x2e4ea8){var _0x2bf601=_0x55ff74;return this[_0x2bf601(0x2c0)]['get'](_0x2e4ea8);}[_0x55ff74(0x124)](){var _0xc75820=_0x55ff74;return Array[_0xc75820(0x318)](this[_0xc75820(0x2c0)]['values']());}[_0x55ff74(0x3c2)](){var _0x14fc65=_0x55ff74;this[_0x14fc65(0x2c7)][_0x14fc65(0x1f3)](this[_0x14fc65(0x2c0)]);}}var ii=Object[_0x55ff74(0x224)],ni=(_0x5a8d6e,_0x3ea8cc,_0x5ee0a2,_0x3c8f39)=>{var _0x28bde9=_0x55ff74;for(var _0x52537b=_0x3c8f39>0x1?void 0x0:_0x3c8f39?ii(_0x3ea8cc,_0x5ee0a2):_0x3ea8cc,_0x4d89cf=_0x5a8d6e[_0x28bde9(0x305)]-0x1,_0x471fc2;_0x4d89cf>=0x0;_0x4d89cf--)(_0x471fc2=_0x5a8d6e[_0x4d89cf])&&(_0x52537b=_0x471fc2(_0x52537b)||_0x52537b);return _0x52537b;},se=(_0x98357e,_0x329fc3)=>(_0x10950d,_0x420208)=>_0x329fc3(_0x10950d,_0x420208,_0x98357e),re=(_0x47ad72=>(_0x47ad72[_0x47ad72['IDLE']=0x0]=_0x55ff74(0x35d),_0x47ad72[_0x47ad72[_0x55ff74(0x3f1)]=0x1]='JOINING',_0x47ad72[_0x47ad72[_0x55ff74(0x3d0)]=0x2]=_0x55ff74(0x3d0),_0x47ad72[_0x47ad72[_0x55ff74(0x115)]=0x3]=_0x55ff74(0x115),_0x47ad72))(re||{});const Ge={[oe[_0x55ff74(0x40b)]]:_0x55ff74(0x1a5),[oe[_0x55ff74(0x36f)]]:_0x55ff74(0x309),[oe[_0x55ff74(0x333)]]:_0x55ff74(0x257),[oe[_0x55ff74(0x143)]]:_0x55ff74(0x289),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0x55ff74(0x3d7)]=class extends a[_0x55ff74(0x139)]{constructor(_0x2c310a,_0x125396,_0x1c60ec,_0x263d9f,_0x2598e4,_0x5945dc,_0x1011c6,_0x35dce9,_0x544ac3){var _0x4b006f=_0x55ff74;super(),A(this,_0x4b006f(0x36a),new $[(_0x4b006f(0x265))](0x0)),A(this,_0x4b006f(0x326),this[_0x4b006f(0x36a)][_0x4b006f(0x37f)]()),A(this,_0x4b006f(0x37b),new $[(_0x4b006f(0x16b))]()),A(this,_0x4b006f(0x1f9),this['_event$']['asObservable']()),A(this,_0x4b006f(0x1b7)),A(this,_0x4b006f(0x261)),A(this,_0x4b006f(0x2da)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x4b006f(0x409),null),(this[_0x4b006f(0x205)]=_0x2c310a,this[_0x4b006f(0x24d)]=_0x1c60ec,this[_0x4b006f(0x26e)]=_0x263d9f,this[_0x4b006f(0x285)]=_0x2598e4,this['_memberService']=_0x5945dc,this['_commentService']=_0x1011c6,this[_0x4b006f(0x170)]=_0x35dce9,this[_0x4b006f(0x1c7)]=_0x544ac3,this[_0x4b006f(0xfe)]=!!this[_0x4b006f(0x1c7)],_0x125396[_0x4b006f(0x33c)]($[_0x4b006f(0x336)](this[_0x4b006f(0x1ca)]))[_0x4b006f(0x259)](_0x340323=>{var _0x2a669d=_0x4b006f,_0x5ca0d;typeof _0x340323>'u'||(this[_0x2a669d(0x1b7)]=_0x340323,_0x340323?(this[_0x2a669d(0x294)](_0x340323),this[_0x2a669d(0x261)]=_0x340323['message$'][_0x2a669d(0x259)](_0xa798bd=>{var _0x6900e6=_0x2a669d;_0xa798bd['routeKey']===this[_0x6900e6(0x205)]&&this[_0x6900e6(0x3b1)](_0xa798bd);})):(this[_0x2a669d(0x19c)](),this['_sessionStatus$'][_0x2a669d(0x1f3)](0x2),(_0x5ca0d=this[_0x2a669d(0x261)])==null||_0x5ca0d[_0x2a669d(0x3b7)](),this['_socketMessageSubscription']=null));}));}get[_0x55ff74(0x362)](){var _0x964f94=_0x55ff74;return this[_0x964f94(0x36a)][_0x964f94(0x2a8)]();}[_0x55ff74(0x26a)](){var _0x31abf0=_0x55ff74,_0x17b3b6,_0x4e66d8;return(_0x4e66d8=(_0x17b3b6=this[_0x31abf0(0x1b7)])==null?void 0x0:_0x17b3b6[_0x31abf0(0x1e3)])!=null?_0x4e66d8:null;}[_0x55ff74(0x174)](){var _0x4ed02a=_0x55ff74;super['dispose'](),this['dispose$'][_0x4ed02a(0x1f3)](),this['dispose$'][_0x4ed02a(0x191)]();}[_0x55ff74(0x3b2)](){var _0x2e05d2=_0x55ff74,_0x2fa17b,_0x8efccd;this[_0x2e05d2(0x19c)](),(_0x2fa17b=this['_socket'])==null||_0x2fa17b[_0x2e05d2(0x20b)]({'cmd':W[_0x2e05d2(0x420)],'data':{'roomID':this['_unitID']}}),(_0x8efccd=this['_socket'])==null||_0x8efccd[_0x2e05d2(0x3b2)](),this[_0x2e05d2(0x37b)][_0x2e05d2(0x191)](),this[_0x2e05d2(0x36a)][_0x2e05d2(0x191)](),this['dispose']();}[_0x55ff74(0x3b1)](_0x11da6b){var _0xfe8ebe=_0x55ff74;_0x11da6b[_0xfe8ebe(0x1e2)]===W['JOIN']?this[_0xfe8ebe(0x188)](_0x11da6b):_0x11da6b[_0xfe8ebe(0x1e2)]===W['RECV']&&this[_0xfe8ebe(0x391)](_0x11da6b);}[_0x55ff74(0x294)](_0x3e38cf){var _0x203e58=_0x55ff74;this['_sessionStatus$']['next'](0x1),_0x3e38cf[_0x203e58(0x20b)]({'cmd':W[_0x203e58(0x3c3)],'routeKey':this[_0x203e58(0x205)],'routeType':'','data':{'rooms':[{'roomID':this[_0x203e58(0x205)]}]}});}[_0x55ff74(0x188)](_0x43574d){var _0x3c0960=_0x55ff74,_0x15cb13;if(_0x43574d[_0x3c0960(0x433)]in Ge){this[_0x3c0960(0x170)][_0x3c0960(0x25d)]({'id':Z[_0x3c0960(0x288)],'data':Ge[_0x43574d[_0x3c0960(0x433)]]}),this[_0x3c0960(0x36a)][_0x3c0960(0x1f3)](0x2);return;}this[_0x3c0960(0x36a)][_0x3c0960(0x1f3)](0x3);const _0x45ab9d=(_0x15cb13=_0x43574d['data']['roomInfos'][this[_0x3c0960(0x205)]])==null?void 0x0:_0x15cb13[_0x3c0960(0x269)];_0x45ab9d&&_0x45ab9d[_0x3c0960(0x41f)](_0x1d1803=>this[_0x3c0960(0x134)][_0x3c0960(0x300)](this[_0x3c0960(0x205)],_0x1d1803));}['_onRecvEvent'](_0x40d5b9){var _0x1541fa=_0x55ff74;try{const _0x2576c9=_0x40d5b9[_0x1541fa(0x13e)];switch(_0x2576c9[_0x1541fa(0x46c)]){case I[_0x1541fa(0x208)]['USERS_ENTER']:this[_0x1541fa(0x11e)](_0x2576c9),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x37a)]:this[_0x1541fa(0xff)](_0x2576c9),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x2df)]:case I['CollaborationEvent'][_0x1541fa(0x3fc)]:this[_0x1541fa(0x135)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x249)]:this[_0x1541fa(0x24d)][_0x1541fa(0x35e)](_0x1541fa(0x276)+JSON[_0x1541fa(0x2bc)](_0x2576c9)),this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);break;case I[_0x1541fa(0x208)][_0x1541fa(0x369)]:this[_0x1541fa(0x240)]['onCommentUpdate'](_0x2576c9[_0x1541fa(0x13e)]),this[_0x1541fa(0x37b)]['next'](_0x2576c9);break;default:this[_0x1541fa(0x37b)][_0x1541fa(0x1f3)](_0x2576c9);}}catch(_0x20e9c1){this['_logService'][_0x1541fa(0x35e)](_0x20e9c1,_0x40d5b9);}}['_onUserJoin'](_0x9063dc){var _0xb64968=_0x55ff74;this[_0xb64968(0x134)][_0xb64968(0x300)](this[_0xb64968(0x205)],_0x9063dc[_0xb64968(0x13e)]);}[_0x55ff74(0xff)](_0x8ebdbd){var _0x325009=_0x55ff74;this['_memberService'][_0x325009(0x478)](this[_0x325009(0x205)],_0x8ebdbd['data'][_0x325009(0x1e3)]);}async['send'](_0x145588,_0x33d201){var _0x268656=_0x55ff74;if(this['sessionStatus']!==0x3||!this[_0x268656(0x1b7)])throw new Error(_0x268656(0x406));try{_0x145588['eventID']===I[_0x268656(0x208)][_0x268656(0x473)]&&(this[_0x268656(0x2e7)](),this[_0x268656(0x11d)](_0x145588)),this['_socket'][_0x268656(0x20b)]({'cmd':W[_0x268656(0x3e5)],'routeKey':_0x33d201,'routeType':'','data':_0x145588});}catch(_0x3e9059){this[_0x268656(0x24d)][_0x268656(0x35e)](_0x3e9059);}}[_0x55ff74(0x2e7)](){var _0x39c87d=_0x55ff74,_0x435cd7;this[_0x39c87d(0x2da)]=setTimeout(()=>{var _0x590a3d=_0x39c87d;this[_0x590a3d(0x2da)]=null,this[_0x590a3d(0x170)][_0x590a3d(0x25d)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x435cd7=this[_0x39c87d(0x26e)]['getConfig'](ke))!=null?_0x435cd7:St);}[_0x55ff74(0x2a6)](){var _0x1a2579=_0x55ff74;this[_0x1a2579(0x2da)]&&(clearTimeout(this[_0x1a2579(0x2da)]),this['_collaborationTimeoutTimer']=null);}[_0x55ff74(0x11d)](_0xa718a3){var _0x5b89ac=_0x55ff74;if(!this[_0x5b89ac(0xfe)])return;const {data:_0x16e025}=_0xa718a3,{unitID:_0x45d4d6,changeset:_0x5d0c4a}=_0x16e025,{mutations:_0x17f7ce,type:_0x35c328}=_0x5d0c4a;this[_0x5b89ac(0x409)]={'unitId':_0x45d4d6,'type':_0x35c328,'startTime':performance[_0x5b89ac(0x1e0)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x17f7ce)};}[_0x55ff74(0x135)](){var _0x142f14=_0x55ff74;if(this[_0x142f14(0xfe)]){if(!this['_telemetryInfo']){this[_0x142f14(0x24d)][_0x142f14(0x35e)](_0x142f14(0x307),_0x142f14(0x1ee));return;}this[_0x142f14(0x409)]['stopTime']=performance[_0x142f14(0x1e0)](),this[_0x142f14(0x409)]['duration']=this[_0x142f14(0x409)][_0x142f14(0x2b9)]-this[_0x142f14(0x409)][_0x142f14(0x14f)],this['_telemetryService']['capture'](Xt,this[_0x142f14(0x409)]),this[_0x142f14(0x409)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x210077=_0x55ff74;this[_0x210077(0x409)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x55ff74(0x469)]),se(0x3,a['IConfigService']),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x55ff74(0x221)](exports[_0x55ff74(0x148)])),se(0x6,a[_0x55ff74(0x221)]($e)),se(0x7,a[_0x55ff74(0x221)](ee)),se(0x8,a[_0x55ff74(0x299)](Pt[_0x55ff74(0x37e)]))],exports[_0x55ff74(0x3d7)]);var ri=Object[_0x55ff74(0x224)],si=(_0x4181f9,_0xd38396,_0xdd3b,_0x3a1131)=>{for(var _0x2a2bcb=_0x3a1131>0x1?void 0x0:_0x3a1131?ri(_0xd38396,_0xdd3b):_0xd38396,_0x57a858=_0x4181f9['length']-0x1,_0x36be71;_0x57a858>=0x0;_0x57a858--)(_0x36be71=_0x4181f9[_0x57a858])&&(_0x2a2bcb=_0x36be71(_0x2a2bcb)||_0x2a2bcb);return _0x2a2bcb;},he=(_0x568e03,_0xcb9b1d)=>(_0x3aa8a7,_0x862592)=>_0xcb9b1d(_0x3aa8a7,_0x862592,_0x568e03);exports[_0x55ff74(0x40d)]=class extends a[_0x55ff74(0x2f0)]{constructor(_0x27dcf8,_0x48d343,_0x5f2401,_0x3ac83c,_0xc8f967,_0x5ae618){var _0x3460e8=_0x55ff74;super(),A(this,_0x3460e8(0x1a6),new $[(_0x3460e8(0x265))](void 0x0)),A(this,'socket$',this['_socket$'][_0x3460e8(0x37f)]()),A(this,_0x3460e8(0x153),null),A(this,_0x3460e8(0x364),new Map()),A(this,_0x3460e8(0x169),new $[(_0x3460e8(0x265))](re[_0x3460e8(0x35d)])),A(this,_0x3460e8(0x311),this[_0x3460e8(0x169)]['asObservable']()),A(this,_0x3460e8(0x181),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x3460e8(0x3d9),0x0),A(this,_0x3460e8(0x459)),A(this,_0x3460e8(0x2a1)),(this[_0x3460e8(0x423)]=_0x27dcf8,this[_0x3460e8(0x24d)]=_0x48d343,this['_configService']=_0x5f2401,this[_0x3460e8(0x30b)]=_0x3ac83c,this['_collaborationUIEventService']=_0xc8f967,this['_networkConditionService']=_0x5ae618,this[_0x3460e8(0x100)]());}get[_0x55ff74(0x1b7)](){var _0x4308c0=_0x55ff74;return this[_0x4308c0(0x1a6)][_0x4308c0(0x2a8)]();}[_0x55ff74(0x100)](){var _0x21eeee=_0x55ff74;this[_0x21eeee(0x3a9)]&&this['disposeWithMe'](this['_networkConditionService'][_0x21eeee(0x2f7)][_0x21eeee(0x259)](_0x4b1af5=>{var _0x3d96c5=_0x21eeee;_0x4b1af5&&!this[_0x3d96c5(0x1b7)]&&this[_0x3d96c5(0x15f)](),_0x4b1af5||this[_0x3d96c5(0x195)]();}));}['dispose'](){var _0x4d495f=_0x55ff74;super[_0x4d495f(0x174)](),this[_0x4d495f(0x363)](),this['_clearTimeoutTimer'](),this[_0x4d495f(0x3bc)](),this[_0x4d495f(0x364)][_0x4d495f(0x41f)](_0x5631bb=>_0x5631bb[_0x4d495f(0x174)]()),this[_0x4d495f(0x364)][_0x4d495f(0x28a)](),this[_0x4d495f(0x169)][_0x4d495f(0x191)]();}async[_0x55ff74(0x239)](_0x4b39a4){var _0x4597c3=_0x55ff74;if(this['_sessions'][_0x4597c3(0x14a)](_0x4b39a4))return this[_0x4597c3(0x364)][_0x4597c3(0x128)](_0x4b39a4);this[_0x4597c3(0x14e)]();const _0x4551a4=this[_0x4597c3(0x423)]['createInstance'](exports['CollaborationSession'],_0x4b39a4,this[_0x4597c3(0x1a6)][_0x4597c3(0x37f)]());return this[_0x4597c3(0x364)]['set'](_0x4b39a4,_0x4551a4),_0x4551a4;}[_0x55ff74(0x430)](_0x52cc85){var _0x55746a=_0x55ff74,_0x5e44dc;const _0x48276a=this[_0x55746a(0x364)][_0x55746a(0x128)](_0x52cc85);_0x48276a&&(this[_0x55746a(0x364)]['delete'](_0x52cc85),_0x48276a[_0x55746a(0x3b2)]()),this[_0x55746a(0x364)]['size']||(_0x5e44dc=this[_0x55746a(0x1b7)])==null||_0x5e44dc[_0x55746a(0x3b2)]();}['reconnect'](){var _0x382812=_0x55ff74;this['_retryCount']=0x0,this[_0x382812(0x363)](),this[_0x382812(0x384)]();}[_0x55ff74(0x363)](){var _0x4a8c58=_0x55ff74;this[_0x4a8c58(0x371)]!=null&&(clearTimeout(this[_0x4a8c58(0x371)]),this[_0x4a8c58(0x371)]=null);}async[_0x55ff74(0x22e)](){var _0x54477d=_0x55ff74,_0x24ba07,_0xdd486e;const _0x4ac500=this[_0x54477d(0x26e)][_0x54477d(0x388)](ut),_0x3d2a0c=this[_0x54477d(0x26e)][_0x54477d(0x388)](K),_0x96c621=(_0xdd486e=(_0x24ba07=_0x3d2a0c==null?void 0x0:_0x3d2a0c[_0x54477d(0x335)])!=null?_0x24ba07:_0x4ac500)!=null?_0xdd486e:dt,_0x1a0a7e=await this[_0x54477d(0x30b)]['createSocket'](_0x96c621);return this[_0x54477d(0x153)]=_0x1a0a7e,_0x1a0a7e;}async[_0x55ff74(0x14e)](){var _0x15339a=_0x55ff74,_0x255af0,_0x52797a;try{const _0x1cbc4e=(_0x52797a=(_0x255af0=this[_0x15339a(0x1b7)])!=null?_0x255af0:this[_0x15339a(0x153)])!=null?_0x52797a:await this[_0x15339a(0x22e)]();if(_0x1cbc4e){const _0xef0321=_0x1cbc4e['send'];_0x1cbc4e[_0x15339a(0x20b)]=_0x39bff1=>(this[_0x15339a(0x3a1)](),_0xef0321[_0x15339a(0x2f1)](_0x1cbc4e,[_0x39bff1])),_0x1cbc4e[_0x15339a(0x475)]['subscribe'](_0x3ee04c=>this[_0x15339a(0x20d)](_0x1cbc4e,_0x3ee04c)),_0x1cbc4e[_0x15339a(0x354)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](_0x5143cd=>this[_0x15339a(0x24d)][_0x15339a(0x35e)](_0x15339a(0x1e9),_0x5143cd)),_0x1cbc4e[_0x15339a(0x408)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](()=>{var _0x14fbe8=_0x15339a;this[_0x14fbe8(0x2d0)](_0x1cbc4e);}),_0x1cbc4e[_0x15339a(0x30e)][_0x15339a(0x33c)](V[_0x15339a(0x418)](0x1))[_0x15339a(0x259)](_0x56bf65=>{var _0x1fde43=_0x15339a;this[_0x1fde43(0x24d)][_0x1fde43(0x2f8)](_0x1fde43(0x293),_0x1fde43(0xf9),_0x56bf65),this['_onConnectionFailed']();});}}catch(_0x318a05){this[_0x15339a(0x24d)]['error'](_0x318a05),this[_0x15339a(0x421)]();}}[_0x55ff74(0x2d0)](_0x1e6658){var _0x36d13c=_0x55ff74;this[_0x36d13c(0x24d)][_0x36d13c(0x2f8)](_0x36d13c(0x293),'socket\x20open.'),_0x1e6658[_0x36d13c(0x20b)]({'cmd':W[_0x36d13c(0x426)]}),this[_0x36d13c(0x3a1)]();}[_0x55ff74(0x195)](){var _0x2c7146=_0x55ff74;this['_socketReady']=!0x1,this[_0x2c7146(0x153)]=null,this['_status$'][_0x2c7146(0x1f3)](re[_0x2c7146(0x3d0)]),this[_0x2c7146(0x1a6)]['next'](null),this[_0x2c7146(0x26d)](),this['_clearHeartbeatTimer']();}[_0x55ff74(0x421)](){var _0x4b2338=_0x55ff74,_0x440dab;this[_0x4b2338(0x195)](),this[_0x4b2338(0x3d9)]<((_0x440dab=this[_0x4b2338(0x26e)][_0x4b2338(0x388)](ft))!=null?_0x440dab:jt)?(this[_0x4b2338(0x170)][_0x4b2338(0x25d)]({'id':Z[_0x4b2338(0x214)]}),this[_0x4b2338(0x384)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x4b2338(0x20c)]});}['_tryReconnect'](){var _0x4b6958=_0x55ff74,_0x3a08c2;const _0x5af377=this['_retryCount'],_0x2e8f62=this[_0x4b6958(0x26e)]['getConfig'](K),_0x18062f=_0x5af377===0x0?0x0:((_0x3a08c2=_0x2e8f62==null?void 0x0:_0x2e8f62[_0x4b6958(0x3be)])!=null?_0x3a08c2:$t)*0x2**_0x5af377;this[_0x4b6958(0x371)]=setTimeout(()=>{var _0x12361d=_0x4b6958;clearTimeout(this[_0x12361d(0x371)]),this[_0x12361d(0x371)]=null,this[_0x12361d(0x14e)]();},_0x18062f),this['_retryCount']+=0x1;}['_onMessage'](_0x1d0d85,_0x5b6b3e){var _0x599825=_0x55ff74;const {cmd:_0x1d5da4}=_0x5b6b3e;_0x1d5da4===W[_0x599825(0x426)]&&!this[_0x599825(0x181)]&&(_0x1d0d85[_0x599825(0x1e3)]=_0x5b6b3e[_0x599825(0x13e)]['memberID'],this['_socket$'][_0x599825(0x1f3)](_0x1d0d85),this[_0x599825(0x169)]['next'](re[_0x599825(0x115)]),this[_0x599825(0x181)]=!0x0,this[_0x599825(0x153)]=null),_0x1d5da4===W[_0x599825(0x102)]&&this[_0x599825(0x26d)](),this[_0x599825(0x3a1)]();}[_0x55ff74(0x3a1)](){var _0x184c72=_0x55ff74,_0x309e9a;this['_clearHeartbeatTimer'](),this[_0x184c72(0x459)]=setTimeout(()=>this[_0x184c72(0x368)](),(_0x309e9a=this[_0x184c72(0x26e)][_0x184c72(0x388)](vt))!=null?_0x309e9a:Ht);}['_sendHeartbeat'](){var _0x5e92b0=_0x55ff74;this[_0x5e92b0(0x1b7)][_0x5e92b0(0x20b)]({'cmd':W[_0x5e92b0(0x102)]}),this[_0x5e92b0(0x175)]();}[_0x55ff74(0x175)](){var _0x5ee66f=_0x55ff74,_0x2da745;this[_0x5ee66f(0x2a1)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2da745=this[_0x5ee66f(0x26e)]['getConfig'](ke))!=null?_0x2da745:St);}[_0x55ff74(0x3bc)](){var _0xed32cb=_0x55ff74;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0xed32cb(0x459)]),this[_0xed32cb(0x459)]=null);}[_0x55ff74(0x26d)](){var _0x43b52b=_0x55ff74;this[_0x43b52b(0x2a1)]!=null&&(clearTimeout(this[_0x43b52b(0x2a1)]),this['_timeoutTimer']=null);}},exports[_0x55ff74(0x40d)]=si([he(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),he(0x1,a[_0x55ff74(0x469)]),he(0x2,a[_0x55ff74(0x133)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x55ff74(0x299)](mt))],exports[_0x55ff74(0x40d)]);const q=a[_0x55ff74(0x23a)](_0x55ff74(0x399));function oi(_0x53f38a){var _0x2f4e63=_0x55ff74;return _0x2f4e63(0x13f)+_0x53f38a;}var ai=Object[_0x55ff74(0x224)],ci=(_0x127263,_0x1dbaea,_0x4724ab,_0x49862d)=>{var _0x5ed87d=_0x55ff74;for(var _0x564d46=_0x49862d>0x1?void 0x0:_0x49862d?ai(_0x1dbaea,_0x4724ab):_0x1dbaea,_0x57256b=_0x127263[_0x5ed87d(0x305)]-0x1,_0x50a0f2;_0x57256b>=0x0;_0x57256b--)(_0x50a0f2=_0x127263[_0x57256b])&&(_0x564d46=_0x50a0f2(_0x564d46)||_0x564d46);return _0x564d46;},De=(_0x3970f4,_0xdc4adc)=>(_0x4d5942,_0x3b12a4)=>_0xdc4adc(_0x4d5942,_0x3b12a4,_0x3970f4);function hi(_0x7d8e90){var _0x2738de=_0x55ff74;const {unitID:_0x28b4f8,mutations:_0x350053}=_0x7d8e90;return{'unitId':_0x28b4f8,'subUnitId':_0x350053[0x0]['params'][_0x2738de(0x424)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x136d21,_0xad2b2e,_0x26c5d5){var _0x48ab42=_0x55ff74;this[_0x48ab42(0x423)]=_0x136d21,this[_0x48ab42(0x402)]=_0xad2b2e,this[_0x48ab42(0x1bd)]=_0x26c5d5;}[_0x55ff74(0x314)](_0x283406){var _0x1aa236=_0x55ff74,_0x3bd586,_0x20cba0,_0x29d9b9,_0x1f1cbe;const _0x120f2f=this['_injector'][_0x1aa236(0x128)](X[_0x1aa236(0x151)]),{unitId:_0x14de19,subUnitId:_0x5b041d}=hi(_0x283406),_0x3ccdc6=_0x120f2f==null?void 0x0:_0x120f2f['getWorkbookSelections'](_0x14de19)['getCurrentSelections'](),_0x4c53f0=(_0x20cba0=(_0x3bd586=this['_instanceService'][_0x1aa236(0x1e6)](_0x14de19))==null?void 0x0:_0x3bd586[_0x1aa236(0x310)]())==null?void 0x0:_0x20cba0['getSheetId']();if(_0x3ccdc6[_0x1aa236(0x305)]===0x0||!_0x14de19||!_0x5b041d)return;const _0xbd9bad=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x14de19,'subUnitId':_0x4c53f0,'selections':a[_0x1aa236(0x3b9)]['deepClone'](_0x3ccdc6)}}],_0x51c34f=this[_0x1aa236(0x402)]['transformMutationsWithChangeset'](_0x283406,_0xbd9bad);if(!I[_0x1aa236(0x3e3)](_0x51c34f))throw _0x51c34f[_0x1aa236(0x35e)];const _0x401ab2=(_0x1f1cbe=(_0x29d9b9=_0x51c34f[_0x1aa236(0x295)][0x0])==null?void 0x0:_0x29d9b9['params'])==null?void 0x0:_0x1f1cbe[_0x1aa236(0x1b9)];if(Array['isArray'](_0x401ab2)&&_0x401ab2[_0x1aa236(0x305)]){if(_0x401ab2[_0x1aa236(0x305)]===_0xbd9bad[0x0][_0x1aa236(0x105)][_0x1aa236(0x1b9)]['length']&&_0x401ab2[_0x1aa236(0x1bf)]((_0x5a7504,_0x53fab6)=>a[_0x1aa236(0x268)][_0x1aa236(0x31f)](_0x5a7504[_0x1aa236(0x131)],_0xbd9bad[0x0][_0x1aa236(0x105)][_0x1aa236(0x1b9)][_0x53fab6][_0x1aa236(0x131)])))return;this[_0x1aa236(0x423)][_0x1aa236(0x128)](a[_0x1aa236(0x393)])['executeCommand'](X[_0x1aa236(0x2f5)]['id'],{'unitId':_0x14de19,'subUnitId':_0x4c53f0,'selections':_0x401ab2});}}},exports[_0x55ff74(0x3a2)]=ci([De(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),De(0x1,I[_0x55ff74(0x1fc)]),De(0x2,a[_0x55ff74(0x35a)])],exports[_0x55ff74(0x3a2)]);const de=a[_0x55ff74(0x23a)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x104cf5=>(_0x104cf5[_0x104cf5[_0x55ff74(0x3e8)]=0x0]=_0x55ff74(0x3e8),_0x104cf5[_0x104cf5[_0x55ff74(0x327)]=0x1]=_0x55ff74(0x327),_0x104cf5))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x5ba6bc,_0x512f56,_0x4edda0,_0x59d79c,_0x119a0b){var _0x560a0c=_0x55ff74,_0x49962e,_0x16c644,_0x3937f1,_0x35bc4d;const _0x377bc9=[];for(const _0x5b8e0b of _0x5ba6bc)if(_i[_0x560a0c(0x14a)](_0x5b8e0b['id'])){if(_0x377bc9[_0x560a0c(0x305)]>0x0)break;_0x377bc9[_0x560a0c(0x395)](_0x5b8e0b);break;}else _0x377bc9[_0x560a0c(0x395)](_0x5b8e0b);const _0x50f653=(_0x16c644=(_0x49962e=_0x119a0b[_0x560a0c(0x3f4)]())==null?void 0x0:_0x49962e[_0x560a0c(0x118)])!=null?_0x16c644:_0x560a0c(0x227),_0x4572df=(_0x35bc4d=(_0x3937f1=_0x119a0b['getCurrentUser']())==null?void 0x0:_0x3937f1['memberID'])!=null?_0x35bc4d:_0x560a0c(0x227);return{'changeset':{'unitID':_0x512f56,'type':I['mapDocumentTypeToUniverType'](_0x4edda0[_0x560a0c(0x106)](_0x512f56)),'baseRev':_0x59d79c[_0x560a0c(0x172)](_0x512f56),'revision':0x0,'userID':_0x50f653,'memberID':_0x4572df,'mutations':_0x377bc9},'pendingMutations':_0x5ba6bc['slice'](_0x377bc9[_0x560a0c(0x305)])};}function li(_0x173518,_0xa28790,_0x574fed,_0x5ee0f6,_0x1d93ea){var _0x29ee4b=_0x55ff74,_0x3927a1,_0x5a9c87,_0x1ca598,_0x17b886;const _0x1282af=[_0x173518[_0x29ee4b(0x11b)]((_0x3d008c,_0x5be68a)=>{var _0x5ef80e=_0x29ee4b,_0x3d88ee;const {id:_0x25561c}=_0x3d008c,{id:_0x862351,type:_0x14e6fd}=_0x5be68a,_0x11e07d=(_0x3d88ee=_0x3d008c['params'])!=null?_0x3d88ee:{'actions':null},_0x1a556e=_0x5be68a['params'];if(_0x25561c&&_0x25561c!==_0x862351)throw new Error(_0x5ef80e(0x42c)+_0x25561c+_0x5ef80e(0x18f)+_0x862351+'.');return{..._0x3d008c,'id':_0x862351,'type':_0x14e6fd,'params':{'unitId':_0x1a556e[_0x5ef80e(0x411)],'textRanges':_0x1a556e[_0x5ef80e(0x1b4)],'actions':a['JSONX'][_0x5ef80e(0x1a3)](_0x11e07d[_0x5ef80e(0x182)],_0x1a556e[_0x5ef80e(0x182)])}};},{})],_0x46f4dd=(_0x5a9c87=(_0x3927a1=_0x1d93ea[_0x29ee4b(0x3f4)]())==null?void 0x0:_0x3927a1[_0x29ee4b(0x118)])!=null?_0x5a9c87:_0x29ee4b(0x227),_0xc816dc=(_0x17b886=(_0x1ca598=_0x1d93ea['getCurrentUser']())==null?void 0x0:_0x1ca598[_0x29ee4b(0x1e3)])!=null?_0x17b886:_0x29ee4b(0x227);return{'changeset':{'unitID':_0xa28790,'type':I[_0x29ee4b(0x15c)](_0x574fed['getUnitType'](_0xa28790)),'baseRev':_0x5ee0f6[_0x29ee4b(0x172)](_0xa28790),'revision':0x0,'userID':_0x46f4dd,'memberID':_0xc816dc,'mutations':_0x1282af},'pendingMutations':[]};}function bt(_0x307ac9,_0x289d4e){var _0x37d3d0=_0x55ff74;const _0x5eb472=new $[(_0x37d3d0(0x42b))](0x1);return setTimeout(()=>_0x5eb472['next'](_0x289d4e),_0x307ac9),_0x5eb472[_0x37d3d0(0x37f)]()[_0x37d3d0(0x33c)]($[_0x37d3d0(0x418)](0x1));}const ui={'id':X[_0x55ff74(0xf7)]['id'],'type':a['CommandType'][_0x55ff74(0x31b)],'params':{}};var di=Object[_0x55ff74(0x224)],ae=(_0x3e2087,_0xd19f6f,_0x19bbf2,_0x75c356)=>{var _0x5ef8ac=_0x55ff74;for(var _0x4f114f=_0x75c356>0x1?void 0x0:_0x75c356?di(_0xd19f6f,_0x19bbf2):_0xd19f6f,_0x179e34=_0x3e2087[_0x5ef8ac(0x305)]-0x1,_0x5f1e65;_0x179e34>=0x0;_0x179e34--)(_0x5f1e65=_0x3e2087[_0x179e34])&&(_0x4f114f=_0x5f1e65(_0x4f114f)||_0x4f114f);return _0x4f114f;},w=(_0x4cc30d,_0x86a3a3)=>(_0x3fc2ba,_0x84e777)=>_0x86a3a3(_0x3fc2ba,_0x84e777,_0x4cc30d),Be=(_0x1473b1=>(_0x1473b1[_0x55ff74(0x39e)]=_0x55ff74(0x2f3),_0x1473b1[_0x55ff74(0x262)]=_0x55ff74(0x2f9),_0x1473b1[_0x55ff74(0x338)]=_0x55ff74(0x10a),_0x1473b1[_0x55ff74(0x34e)]='awaiting',_0x1473b1[_0x55ff74(0x2f4)]=_0x55ff74(0x442),_0x1473b1[_0x55ff74(0x2ea)]=_0x55ff74(0x37d),_0x1473b1[_0x55ff74(0x147)]='conflict',_0x1473b1[_0x55ff74(0x3d0)]=_0x55ff74(0x390),_0x1473b1))(Be||{});const Rt=0xea60;class ce{constructor(_0xdf95af,_0x267478,_0x3aa027,_0x2d2a38,_0x2e5cf5,_0x32fee5,_0x10cc96,_0x5551c3,_0x3c0972){var _0x532db6=_0x55ff74;A(this,'_awaitingChangeset',null),A(this,_0x532db6(0x290),[]),(this[_0x532db6(0x20f)]=_0xdf95af,this['type']=_0x267478,this['_handler']=_0x2e5cf5,this[_0x532db6(0x29c)]=_0x32fee5,this['_undoRedoService']=_0x10cc96,this['_revisionService']=_0x5551c3,this['_localCacheService']=_0x3c0972,this[_0x532db6(0x32e)]=_0x3aa027,this[_0x532db6(0x290)]=_0x2d2a38);}[_0x55ff74(0x1fd)](_0x91058){var _0x74ce3c=_0x55ff74;const _0x55fbf5=this[_0x74ce3c(0x3d6)][_0x74ce3c(0x172)](this[_0x74ce3c(0x20f)]);return _0x91058[_0x74ce3c(0x29f)]>_0x55fbf5+0x1?(this[_0x74ce3c(0x1d2)][_0x74ce3c(0x453)]({'from':_0x55fbf5,'to':_0x91058[_0x74ce3c(0x29f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5ad5c8){var _0x175fba=_0x55ff74;this[_0x175fba(0x2b3)][_0x175fba(0x247)](this['unitID'],_0x5ad5c8);}[_0x55ff74(0x41a)](_0x43c325){var _0x2b07a2=_0x55ff74,_0x4b596d,_0x1dff75;(_0x1dff75=(_0x4b596d=this[_0x2b07a2(0x1d2)])[_0x2b07a2(0x177)])==null||_0x1dff75[_0x2b07a2(0x12c)](_0x4b596d,_0x43c325);}[_0x55ff74(0x1a4)](_0x21e2b0){var _0x6cedca=_0x55ff74,_0x5698b4,_0x15b38e;return(_0x15b38e=(_0x5698b4=this[_0x6cedca(0x1d2)])[_0x6cedca(0x3ad)])==null?void 0x0:_0x15b38e[_0x6cedca(0x12c)](_0x5698b4,_0x21e2b0);}[_0x55ff74(0x3f7)](_0x3e80d3){var _0x14b343=_0x55ff74,_0x8bc772,_0x545f42;return(_0x545f42=(_0x8bc772=this[_0x14b343(0x1d2)])[_0x14b343(0x291)])==null?void 0x0:_0x545f42[_0x14b343(0x12c)](_0x8bc772,_0x3e80d3);}[_0x55ff74(0x1aa)](_0x1565fe){var _0x7a9f6c=_0x55ff74,_0x51ba00,_0x4a6ae5,_0x1c9e58;return(_0x1c9e58=(_0x4a6ae5=(_0x51ba00=this['_handler'])[_0x7a9f6c(0x43a)])==null?void 0x0:_0x4a6ae5[_0x7a9f6c(0x12c)](_0x51ba00,_0x1565fe))!=null?_0x1c9e58:_0x1565fe;}[_0x55ff74(0x38f)](_0x40cc5a){var _0x467afb=_0x55ff74,_0x263fd7,_0x4f7524,_0x20b66f;return(_0x20b66f=(_0x4f7524=(_0x263fd7=this['_handler'])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4f7524[_0x467afb(0x12c)](_0x263fd7,_0x40cc5a))!=null?_0x20b66f:_0x40cc5a;}['_syncEditingCollabCursor'](_0x160ce1){var _0x201f68=_0x55ff74,_0x4ae025,_0x39de38;if(this[_0x201f68(0x255)]===J[_0x201f68(0x43e)]){const {unitID:_0x3f260e,mutations:_0x45fecf,memberID:_0x55ef75}=_0x160ce1,_0x213f7a=_0x45fecf[0x0]['params'][_0x201f68(0x1b4)];Array[_0x201f68(0x11a)](_0x213f7a)&&_0x213f7a[_0x201f68(0x305)]>0x0&&((_0x39de38=(_0x4ae025=this[_0x201f68(0x1d2)])['onSyncEditingCollabCursor'])==null||_0x39de38[_0x201f68(0x12c)](_0x4ae025,{'unitID':_0x3f260e,'memberID':_0x55ef75,'textRanges':_0x213f7a}));}}[_0x55ff74(0x286)](){var _0x30b2b0=_0x55ff74,_0x38c100;(_0x38c100=this['_localCacheService'])==null||_0x38c100[_0x30b2b0(0x23d)](this[_0x30b2b0(0x20f)],this[_0x30b2b0(0x255)],this[_0x30b2b0(0x32e)],this[_0x30b2b0(0x290)]);}[_0x55ff74(0x267)](){var _0x51f1a0=_0x55ff74;return this[_0x51f1a0(0x3d6)][_0x51f1a0(0x172)](this['unitID']);}[_0x55ff74(0x429)](){var _0x2e4eaa=_0x55ff74;this['_revisionService'][_0x2e4eaa(0x325)](this[_0x2e4eaa(0x20f)]);}[_0x55ff74(0x2ca)](_0x1bdd83){var _0x592ace=_0x55ff74,_0x51141d;let _0x33d10c=this['_transformRemoteChangesetByIMECache'](_0x1bdd83);_0x33d10c=this[_0x592ace(0x38f)](_0x33d10c);const _0x312c51=a['sequenceExecute'](_0x33d10c[_0x592ace(0x47e)],this[_0x592ace(0x29c)],{'fromCollab':!0x0});if(!_0x312c51['result'])throw _0x312c51[_0x592ace(0x35e)]instanceof Error?_0x312c51[_0x592ace(0x35e)]:new Error((_0x51141d=_0x312c51[_0x592ace(0x35e)])!=null?_0x51141d:_0x592ace(0x130));this[_0x592ace(0x1a4)](_0x33d10c),this[_0x592ace(0x3f7)](_0x33d10c),this[_0x592ace(0x27c)](_0x1bdd83),this[_0x592ace(0x41a)](_0x33d10c),this[_0x592ace(0x36c)](_0x33d10c),this[_0x592ace(0x429)]();}}exports[_0x55ff74(0x39a)]=class extends ce{constructor(_0x3c9cf1,_0x2252ca,_0x54799e,_0x3d812d,_0xc276db,_0x22f212,_0x1082a3,_0x2eca2d,_0x43873f,_0x5bec98){var _0x296680=_0x55ff74;super(_0x3c9cf1,_0x2252ca,null,[],_0x54799e,_0x1082a3,_0x22f212,_0x3d812d,_0x5bec98),A(this,_0x296680(0x463),_0x296680(0x2f9)),(this[_0x296680(0x423)]=_0xc276db,this[_0x296680(0x24d)]=_0x2eca2d,this['_transformService']=_0x43873f,this[_0x296680(0x2e8)]=_0x5bec98);}[_0x55ff74(0x3f3)](_0x55617a){var _0x2e2c1f=_0x55ff74;const _0x38cd48=this['_injector'][_0x2e2c1f(0x380)](exports[_0x2e2c1f(0xfa)],this[_0x2e2c1f(0x20f)],this['type'],[_0x55617a],this[_0x2e2c1f(0x1d2)]);return _0x38cd48[_0x2e2c1f(0x15a)](),_0x38cd48[_0x2e2c1f(0x286)](),_0x38cd48;}[_0x55ff74(0x2ab)](_0x2a81eb){var _0x2f94c5=_0x55ff74;if(this[_0x2f94c5(0x1fd)](_0x2a81eb))return this[_0x2f94c5(0x423)][_0x2f94c5(0x380)](exports['FetchingMissState'],this[_0x2f94c5(0x20f)],this[_0x2f94c5(0x255)],null,[],null,[_0x2a81eb],this[_0x2f94c5(0x1d2)]);try{const _0xd79442=this[_0x2f94c5(0x402)][_0x2f94c5(0x1e8)](_0x2a81eb,[ui]);if(I[_0x2f94c5(0x3e3)](_0xd79442)){const {c1Prime:_0x266234}=_0xd79442;return this['_executeRemoteChangeset'](_0x266234),this;}throw _0xd79442[_0x2f94c5(0x35e)];}catch(_0x5db910){return this[_0x2f94c5(0x24d)]['error'](_0x5db910),this[_0x2f94c5(0x444)](!0x1);}}[_0x55ff74(0x444)](_0x3b84d6){var _0x21e8a6=_0x55ff74;return this[_0x21e8a6(0x423)]['createInstance'](exports[_0x21e8a6(0x1b2)],this[_0x21e8a6(0x20f)],this[_0x21e8a6(0x255)],null,[],this[_0x21e8a6(0x1d2)],_0x3b84d6);}[_0x55ff74(0x140)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x55ff74(0x2cc)](){var _0x3636e1=_0x55ff74;throw new Error(_0x3636e1(0x2d5));}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){var _0x50989a=_0x55ff74;return this['_injector'][_0x50989a(0x380)](exports[_0x50989a(0x2b0)],this[_0x50989a(0x20f)],this[_0x50989a(0x255)],null,[],this['_handler']);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x136238=_0x55ff74;throw new Error(_0x136238(0x2fc));}[_0x55ff74(0x22c)](){var _0x3db9de=_0x55ff74;const _0x24b21e=this[_0x3db9de(0x3d6)][_0x3db9de(0x172)](this[_0x3db9de(0x20f)]);return this[_0x3db9de(0x1d2)][_0x3db9de(0x453)]({'from':_0x24b21e,'to':0x0}),this[_0x3db9de(0x423)][_0x3db9de(0x380)](exports[_0x3db9de(0x437)],this[_0x3db9de(0x20f)],this['type'],null,[],null,[],this[_0x3db9de(0x1d2)]);}},exports[_0x55ff74(0x39a)]=ae([w(0x3,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x4,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x5,a[_0x55ff74(0x2fb)]),w(0x6,a[_0x55ff74(0x393)]),w(0x7,a[_0x55ff74(0x469)]),w(0x8,I[_0x55ff74(0x1fc)]),w(0x9,a['Optional'](q))],exports[_0x55ff74(0x39a)]),exports['PendingState']=class extends ce{constructor(_0x25ebbe,_0x3ae23d,_0x520556,_0x314616,_0x601dec,_0x9c277c,_0x4a978c,_0x1b61c2,_0x77d0b2,_0x40c4c3,_0x32dd09,_0x478c7a,_0x5df200,_0x1c39ba){var _0x37928b=_0x55ff74;super(_0x25ebbe,_0x3ae23d,null,_0x520556,_0x314616,_0x77d0b2,_0x5df200,_0x9c277c,_0x1c39ba),A(this,_0x37928b(0x463),_0x37928b(0x10a)),A(this,_0x37928b(0xfc),null),A(this,_0x37928b(0x1c4),null),(this[_0x37928b(0x423)]=_0x601dec,this['_memberService']=_0x4a978c,this[_0x37928b(0x24d)]=_0x1b61c2,this[_0x37928b(0x26e)]=_0x40c4c3,this[_0x37928b(0x402)]=_0x32dd09,this[_0x37928b(0x449)]=_0x478c7a);}['appendMutation'](_0x2d9079){var _0x50c61d=_0x55ff74;return this['_pendingMutations']['push'](_0x2d9079),this[_0x50c61d(0x286)](),this;}[_0x55ff74(0x2ab)](_0x28684e){var _0x38e161=_0x55ff74;if(this[_0x38e161(0x1fd)](_0x28684e))return this['_clearScheduledTask'](),this['_injector'][_0x38e161(0x380)](exports[_0x38e161(0x437)],this['unitID'],this['type'],null,this[_0x38e161(0x290)],null,[_0x28684e],this[_0x38e161(0x1d2)]);try{const _0x426198=this[_0x38e161(0x402)][_0x38e161(0x1e8)](_0x28684e,this[_0x38e161(0x290)]);if(I[_0x38e161(0x3e3)](_0x426198)){const {c1Prime:_0x430210,m2Prime:_0x48e679}=_0x426198;this[_0x38e161(0x2ca)](_0x430210);const _0x22df45=this[_0x38e161(0x423)][_0x38e161(0x380)](exports[_0x38e161(0xfa)],this[_0x38e161(0x20f)],this[_0x38e161(0x255)],_0x48e679,this[_0x38e161(0x1d2)]);this[_0x38e161(0x2e5)]();const _0x33f1d4=new Date()[_0x38e161(0x417)](),_0x19df10=this[_0x38e161(0xfc)]?Math['max'](this[_0x38e161(0xfc)]-_0x33f1d4,0x0):this[_0x38e161(0x2c5)]();return _0x22df45[_0x38e161(0x15a)](_0x19df10),_0x22df45;}throw _0x426198[_0x38e161(0x35e)];}catch(_0x4b75a2){return this[_0x38e161(0x24d)][_0x38e161(0x35e)](_0x4b75a2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x4c2866=_0x55ff74;throw new Error(_0x4c2866(0x2eb));}[_0x55ff74(0x2cc)](){var _0xba6906=_0x55ff74;throw new Error(_0xba6906(0x2cf));}[_0x55ff74(0x303)](){return this;}[_0x55ff74(0x448)](){var _0x32ed3d=_0x55ff74;return this[_0x32ed3d(0x2e5)](),this[_0x32ed3d(0x423)][_0x32ed3d(0x380)](exports['OfflineState'],this['unitID'],this[_0x32ed3d(0x255)],null,this[_0x32ed3d(0x290)],this[_0x32ed3d(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}['_schedule'](_0x596513){var _0x18a331=_0x55ff74;const _0x1d90dc=_0x596513!=null?_0x596513:this['_getSendChangesetTimeout']();this[_0x18a331(0xfc)]=new Date()[_0x18a331(0x417)]()+_0x1d90dc,this[_0x18a331(0x1c4)]=setTimeout(()=>{var _0x21a0e5=_0x18a331;this[_0x21a0e5(0x2e5)]();let _0x4161d9=null;switch(this['type']){case J[_0x21a0e5(0x209)]:{_0x4161d9=Ke(this[_0x21a0e5(0x290)],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x449)],this[_0x21a0e5(0x3d6)],this[_0x21a0e5(0x134)]);break;}case J['UNIVER_DOC']:{this[_0x21a0e5(0x290)]['every'](_0xca6667=>_0xca6667['id']===ht[_0x21a0e5(0x30d)]['id'])?_0x4161d9=li(this[_0x21a0e5(0x290)],this[_0x21a0e5(0x20f)],this['_univerInstanceService'],this[_0x21a0e5(0x3d6)],this['_memberService']):_0x4161d9=Ke(this['_pendingMutations'],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x449)],this['_revisionService'],this[_0x21a0e5(0x134)]);break;}default:throw new Error(_0x21a0e5(0x296)+this['type']+_0x21a0e5(0x16f));}const {changeset:_0x51ff54,pendingMutations:_0x131ad4}=_0x4161d9;this[_0x21a0e5(0x1d2)]['onSendChangeset'](_0x51ff54);const _0x13099f=_0x131ad4['length']?this[_0x21a0e5(0x423)][_0x21a0e5(0x380)](exports[_0x21a0e5(0x202)],this[_0x21a0e5(0x20f)],this[_0x21a0e5(0x255)],_0x51ff54,_0x131ad4,this['_handler'],void 0x0):this[_0x21a0e5(0x423)]['createInstance'](exports['AwaitingState'],this['unitID'],this['type'],_0x51ff54,this['_handler']);_0x13099f[_0x21a0e5(0x286)](),this[_0x21a0e5(0x1d2)][_0x21a0e5(0x1d0)](this,_0x13099f);},_0x1d90dc);}[_0x55ff74(0x2c5)](){var _0x1f4fe5=_0x55ff74,_0x411096;const _0x138b60=this[_0x1f4fe5(0x26e)][_0x1f4fe5(0x388)](K);return(_0x411096=_0x138b60==null?void 0x0:_0x138b60[_0x1f4fe5(0x3da)])!=null?_0x411096:xt;}['resend'](){var _0x26e41b=_0x55ff74;throw new Error(_0x26e41b(0x347));}[_0x55ff74(0x2e5)](){var _0x384e1c=_0x55ff74;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x384e1c(0x1c4)]=null);}[_0x55ff74(0x444)](_0x47dd65){var _0x437ec5=_0x55ff74;return this[_0x437ec5(0x2e5)](),this[_0x437ec5(0x423)][_0x437ec5(0x380)](exports['ConflictState'],this[_0x437ec5(0x20f)],this['type'],null,this[_0x437ec5(0x290)],this[_0x437ec5(0x1d2)],_0x47dd65);}},exports[_0x55ff74(0xfa)]=ae([w(0x4,a[_0x55ff74(0x221)](a['Injector'])),w(0x5,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x6,a['Inject'](exports[_0x55ff74(0x148)])),w(0x7,a['ILogService']),w(0x8,a[_0x55ff74(0x393)]),w(0x9,a['IConfigService']),w(0xa,I[_0x55ff74(0x1fc)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x55ff74(0x2fb)]),w(0xd,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0xfa)]),exports[_0x55ff74(0x256)]=class extends ce{constructor(_0x2c4fb0,_0x2ac6d1,_0x412eb6,_0x5b5aa6,_0x15c448,_0x9bfbee,_0xc5ca7d,_0x18b164,_0x3c491c,_0x1e91b5,_0x573dc6){var _0x40324b=_0x55ff74;super(_0x2c4fb0,_0x2ac6d1,_0x412eb6,[],_0x5b5aa6,_0xc5ca7d,_0x1e91b5,_0x9bfbee,_0x573dc6),A(this,_0x40324b(0x463),_0x40324b(0x1d9)),A(this,_0x40324b(0x157),0x0),A(this,_0x40324b(0x3db)),A(this,'_sender'),(this['_injector']=_0x15c448,this[_0x40324b(0x24d)]=_0x18b164,this['_transformService']=_0x3c491c);}[_0x55ff74(0x3f3)](_0x57ff55){var _0x186264=_0x55ff74;this[_0x186264(0x2e5)]();const _0x487108=this['_injector'][_0x186264(0x380)](exports[_0x186264(0x202)],this[_0x186264(0x20f)],this['type'],this[_0x186264(0x32e)],[_0x57ff55],this['_handler'],this[_0x186264(0x3db)]);return _0x487108[_0x186264(0x286)](),_0x487108;}[_0x55ff74(0x2ab)](_0x54903a){var _0x34c166=_0x55ff74;if(this[_0x34c166(0x1fd)](_0x54903a))return this[_0x34c166(0x2e5)](),this['_injector']['createInstance'](exports[_0x34c166(0x437)],this[_0x34c166(0x20f)],this[_0x34c166(0x255)],this[_0x34c166(0x32e)],[],null,[_0x54903a],this[_0x34c166(0x1d2)]);try{const _0x3dc27d=this['_transformService'][_0x34c166(0x378)]([_0x54903a],[this[_0x34c166(0x32e)]],!0x1);if(I['isTransformChangesetsSuccess'](_0x3dc27d)){const {c1Prime:_0x4c4cf2,c2Prime:_0x34510b}=_0x3dc27d;this[_0x34c166(0x2ca)](_0x4c4cf2[0x0]),_0x34510b[0x0][_0x34c166(0x3c7)]=this[_0x34c166(0x267)](),this[_0x34c166(0x2e5)]();const _0x529c48=this[_0x34c166(0x423)][_0x34c166(0x380)](exports['AwaitingState'],this[_0x34c166(0x20f)],this[_0x34c166(0x255)],_0x34510b[0x0],this[_0x34c166(0x1d2)]);return _0x529c48['_updateLocalCache'](),_0x529c48;}return this[_0x34c166(0x444)](!0x1);}catch(_0x416fbb){return this[_0x34c166(0x24d)][_0x34c166(0x35e)](_0x416fbb),this[_0x34c166(0x444)](!0x1);}}[_0x55ff74(0x140)](_0x13cac1){var _0x327e2d=_0x55ff74;this[_0x327e2d(0x2e5)]();const _0x3d3001=this['_revisionService'][_0x327e2d(0x172)](this[_0x327e2d(0x20f)]);if(_0x13cac1[_0x327e2d(0x29f)]<_0x3d3001-0x1)return this;if(this[_0x327e2d(0x1fd)](_0x13cac1))return this[_0x327e2d(0x423)][_0x327e2d(0x380)](exports['FetchingMissState'],this[_0x327e2d(0x20f)],this[_0x327e2d(0x255)],null,[],this[_0x327e2d(0x32e)],[],this['_handler']);this[_0x327e2d(0x429)]();const _0x475458=this['_injector'][_0x327e2d(0x380)](exports[_0x327e2d(0x39a)],this['unitID'],this[_0x327e2d(0x255)],this[_0x327e2d(0x1d2)]);return _0x475458[_0x327e2d(0x286)](),_0x475458;}[_0x55ff74(0x2cc)](_0x445b35){var _0x230aa1=_0x55ff74;return this[_0x230aa1(0x444)](!!(_0x445b35!=null&&_0x445b35[_0x230aa1(0x1ed)]));}['onRemoteRetry'](_0x3e926d){var _0x16d4a8=_0x55ff74;return this[_0x16d4a8(0x157)]>Rt?this[_0x16d4a8(0x448)]():(this['_resendTimer']=bt(this[_0x16d4a8(0x157)],{'timeout':this[_0x16d4a8(0x157)],'reqId':_0x3e926d['reqId']}),this['_sender']=this[_0x16d4a8(0x3db)][_0x16d4a8(0x259)](({reqId:_0x322d81,timeout:_0x2ac45d})=>{var _0x3d5511=_0x16d4a8;this[_0x3d5511(0x47c)](_0x322d81,_0x2ac45d);}),this);}['toggleOffline'](){var _0x16ebbc=_0x55ff74;return this[_0x16ebbc(0x2e5)](),this[_0x16ebbc(0x423)][_0x16ebbc(0x380)](exports[_0x16ebbc(0x2b0)],this[_0x16ebbc(0x20f)],this[_0x16ebbc(0x255)],this[_0x16ebbc(0x32e)],[],this[_0x16ebbc(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x4d128a=_0x55ff74;this[_0x4d128a(0x1d2)]['onSendChangeset'](this[_0x4d128a(0x32e)]);}[_0x55ff74(0x444)](_0x5c644e){var _0x3cb08d=_0x55ff74;return this['_clearScheduledTask'](),this[_0x3cb08d(0x423)][_0x3cb08d(0x380)](exports[_0x3cb08d(0x1b2)],this[_0x3cb08d(0x20f)],this[_0x3cb08d(0x255)],this[_0x3cb08d(0x32e)],[],this[_0x3cb08d(0x1d2)],_0x5c644e);}[_0x55ff74(0x47c)](_0x463b1c,_0x21b6e3){var _0x275baf=_0x55ff74,_0x130e82;_0x463b1c===((_0x130e82=this[_0x275baf(0x32e)])==null?void 0x0:_0x130e82[_0x275baf(0x1ae)])&&(this[_0x275baf(0x1dc)](),this['_resendTimeout']=_0x21b6e3===0x0?0x3e8:_0x21b6e3*0x2);}[_0x55ff74(0x2e5)](){var _0x11934a=_0x55ff74,_0xced343;(_0xced343=this[_0x11934a(0x201)])==null||_0xced343[_0x11934a(0x3b7)](),this[_0x11934a(0x157)]=0x0;}},exports['AwaitingState']=ae([w(0x4,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x5,a[_0x55ff74(0x221)](I['RevisionService'])),w(0x6,a[_0x55ff74(0x393)]),w(0x7,a['ILogService']),w(0x8,I[_0x55ff74(0x1fc)]),w(0x9,a[_0x55ff74(0x2fb)]),w(0xa,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x256)]),exports[_0x55ff74(0x202)]=class extends ce{constructor(_0x3daadf,_0x2e7cff,_0x1603f8,_0x39080a,_0x8ada34,_0x285170,_0x280f84,_0x5706df,_0xfccd29,_0x5139ca,_0x3f507e,_0x5c7ed9,_0x199da2){var _0x21357c=_0x55ff74;super(_0x3daadf,_0x2e7cff,_0x1603f8,_0x39080a,_0x8ada34,_0xfccd29,_0x5c7ed9,_0x5706df,_0x199da2),A(this,_0x21357c(0x463),_0x21357c(0x442)),A(this,_0x21357c(0x157),0x0),A(this,_0x21357c(0x3db)),A(this,_0x21357c(0x201)),(this[_0x21357c(0x423)]=_0x280f84,this[_0x21357c(0x24d)]=_0x5139ca,this[_0x21357c(0x402)]=_0x3f507e,this[_0x21357c(0x2e8)]=_0x199da2,_0x285170&&(this['_resendTimer']=_0x285170,this[_0x21357c(0x201)]=this['_resendTimer'][_0x21357c(0x259)](({reqId:_0x243dbe,timeout:_0x40a7f0})=>{var _0x11ec78=_0x21357c;this[_0x11ec78(0x47c)](_0x243dbe,_0x40a7f0);})));}['appendMutation'](_0x437d6e){var _0x765c1a=_0x55ff74;return this['_pendingMutations'][_0x765c1a(0x395)](_0x437d6e),this;}[_0x55ff74(0x2ab)](_0x2da76c){var _0x38c946=_0x55ff74;if(this[_0x38c946(0x1fd)](_0x2da76c))return this[_0x38c946(0x2e5)](),this[_0x38c946(0x423)][_0x38c946(0x380)](exports[_0x38c946(0x437)],this[_0x38c946(0x20f)],this[_0x38c946(0x255)],this['_awaitingChangeset'],this[_0x38c946(0x290)],null,[_0x2da76c],this[_0x38c946(0x1d2)]);try{const _0x3ac0ef=this[_0x38c946(0x402)][_0x38c946(0x378)]([_0x2da76c],[this[_0x38c946(0x32e)]],!0x1);if(I[_0x38c946(0x26f)](_0x3ac0ef)){const {c1Prime:_0xcd64b8,c2Prime:_0x1854f9}=_0x3ac0ef,_0x284320=this['_transformService'][_0x38c946(0x1e8)](_0xcd64b8[0x0],this[_0x38c946(0x290)]);if(I[_0x38c946(0x3e3)](_0x284320)){const {c1Prime:_0x15a096,m2Prime:_0x551e4a}=_0x284320;return this[_0x38c946(0x2ca)](_0x15a096),_0x1854f9[0x0][_0x38c946(0x3c7)]=this[_0x38c946(0x267)](),this[_0x38c946(0x2e5)](),this[_0x38c946(0x423)][_0x38c946(0x380)](exports[_0x38c946(0x202)],this['unitID'],this[_0x38c946(0x255)],_0x1854f9[0x0],_0x551e4a,this[_0x38c946(0x1d2)],void 0x0);}throw _0x284320[_0x38c946(0x35e)];}throw _0x3ac0ef[_0x38c946(0x35e)];}catch(_0x766f80){return this[_0x38c946(0x24d)][_0x38c946(0x35e)](_0x766f80),this[_0x38c946(0x444)](!0x1);}}['onRemoteAck'](_0x1a0d7d){var _0x26a0f0=_0x55ff74;if(this[_0x26a0f0(0x2e5)](),this[_0x26a0f0(0x1fd)](_0x1a0d7d))return this[_0x26a0f0(0x423)][_0x26a0f0(0x380)](exports[_0x26a0f0(0x437)],this[_0x26a0f0(0x20f)],this[_0x26a0f0(0x255)],null,this[_0x26a0f0(0x290)],this[_0x26a0f0(0x32e)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x940e88=this['_injector'][_0x26a0f0(0x380)](exports[_0x26a0f0(0xfa)],this['unitID'],this['type'],this['_pendingMutations'],this[_0x26a0f0(0x1d2)]);return _0x940e88['_schedule'](),_0x940e88[_0x26a0f0(0x286)](),_0x940e88;}['onRemoteRej'](_0x299386){return this['_onConflict'](!!(_0x299386!=null&&_0x299386['isPermissionRej']));}[_0x55ff74(0x303)](_0x5ade51){var _0x3fd7e3=_0x55ff74;return this['_resendTimeout']>Rt?this[_0x3fd7e3(0x448)]():(this[_0x3fd7e3(0x3db)]=bt(this['_resendTimeout'],{'timeout':this[_0x3fd7e3(0x157)],'reqId':_0x5ade51[_0x3fd7e3(0x1ae)]}),this[_0x3fd7e3(0x201)]=this['_resendTimer'][_0x3fd7e3(0x259)](({reqId:_0xfcb0a,timeout:_0x2dcaca})=>{var _0x1a373a=_0x3fd7e3;this[_0x1a373a(0x47c)](_0xfcb0a,_0x2dcaca);}),this);}[_0x55ff74(0x448)](){var _0x259183=_0x55ff74;return this[_0x259183(0x2e5)](),this[_0x259183(0x423)][_0x259183(0x380)](exports[_0x259183(0x2b0)],this[_0x259183(0x20f)],this[_0x259183(0x255)],this[_0x259183(0x32e)],this[_0x259183(0x290)],this[_0x259183(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}['resend'](){var _0x33f2c1=_0x55ff74;this[_0x33f2c1(0x1d2)][_0x33f2c1(0x242)](this['_awaitingChangeset']);}[_0x55ff74(0x444)](_0x4f0bd3){var _0x427652=_0x55ff74;return this[_0x427652(0x2e5)](),this['_injector']['createInstance'](exports[_0x427652(0x1b2)],this[_0x427652(0x20f)],this[_0x427652(0x255)],null,this['_pendingMutations'],this[_0x427652(0x1d2)],_0x4f0bd3);}[_0x55ff74(0x47c)](_0x4b2117,_0x59f4a3){var _0x49cd4f=_0x55ff74,_0x3fde18;_0x4b2117===((_0x3fde18=this[_0x49cd4f(0x32e)])==null?void 0x0:_0x3fde18[_0x49cd4f(0x1ae)])&&(this[_0x49cd4f(0x1dc)](),this['_resendTimeout']=_0x59f4a3===0x0?0x3e8:_0x59f4a3*0x2);}[_0x55ff74(0x2e5)](){var _0x583d13=_0x55ff74,_0x43fb77;(_0x43fb77=this['_sender'])==null||_0x43fb77[_0x583d13(0x3b7)](),this[_0x583d13(0x157)]=0x0;}},exports[_0x55ff74(0x202)]=ae([w(0x6,a['Inject'](a[_0x55ff74(0x19b)])),w(0x7,a[_0x55ff74(0x221)](I['RevisionService'])),w(0x8,a[_0x55ff74(0x393)]),w(0x9,a[_0x55ff74(0x469)]),w(0xa,I[_0x55ff74(0x1fc)]),w(0xb,a[_0x55ff74(0x2fb)]),w(0xc,a[_0x55ff74(0x299)](q))],exports['AwaitingWithPendingState']),exports[_0x55ff74(0x1b2)]=class extends ce{constructor(_0x58408c,_0x178cd6,_0x58f799,_0x463893,_0x644318,_0x4c87fb=!0x1,_0x21449b,_0x1207d7,_0x254ede,_0x357924,_0x37e015,_0x931e03,_0x15bae0){var _0x371cbb=_0x55ff74;super(_0x58408c,_0x178cd6,_0x58f799,_0x463893,_0x644318,_0x1207d7,_0x254ede,_0x357924,_0x15bae0),A(this,'status',_0x371cbb(0x21a)),(this[_0x371cbb(0x1d4)]=_0x4c87fb,this[_0x371cbb(0x178)]=_0x21449b,this[_0x371cbb(0x285)]=_0x37e015,this[_0x371cbb(0x170)]=_0x931e03,this[_0x371cbb(0x2e8)]=_0x15bae0,this[_0x371cbb(0x379)](),this[_0x371cbb(0x275)](),this[_0x371cbb(0x1be)]());}[_0x55ff74(0x3f3)](){return this;}[_0x55ff74(0x2ab)](){return this;}[_0x55ff74(0x140)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){return this;}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x1dc)](){var _0x6581ae=_0x55ff74;throw new Error(_0x6581ae(0x33f));}[_0x55ff74(0x275)](){var _0x309bda=_0x55ff74,_0x53232d;(_0x53232d=this[_0x309bda(0x1ec)])==null||_0x53232d[_0x309bda(0x23d)](this[_0x309bda(0x20f)],this['type'],null,[]);}[_0x55ff74(0x379)](){var _0x496736=_0x55ff74;this[_0x496736(0x1d4)]?this[_0x496736(0x170)]['emitEvent']({'id':Z['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x496736(0x25d)]({'id':Z[_0x496736(0x147)]});}[_0x55ff74(0x1be)](){var _0x3a840c=_0x55ff74;this[_0x3a840c(0x178)][_0x3a840c(0x251)](new X[(_0x3a840c(0x460))](this[_0x3a840c(0x20f)])['id'],!0x1);}},exports[_0x55ff74(0x1b2)]=ae([w(0x6,a[_0x55ff74(0x221)](a[_0x55ff74(0x3fd)])),w(0x7,a[_0x55ff74(0x393)]),w(0x8,a[_0x55ff74(0x2fb)]),w(0x9,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0xa,a['Inject'](a[_0x55ff74(0x164)])),w(0xb,a[_0x55ff74(0x221)](ee)),w(0xc,a['Optional'](q))],exports['ConflictState']),exports[_0x55ff74(0x2b0)]=class extends ce{constructor(_0x23b5c,_0x1ddbff,_0x189b13,_0x4f31cf,_0x11df04,_0x3f9c89,_0x1d7efa,_0x1c95b0,_0x245315,_0x5827c1){var _0x428a28=_0x55ff74;super(_0x23b5c,_0x1ddbff,_0x189b13,_0x4f31cf,_0x11df04,_0x1c95b0,_0x245315,_0x1d7efa,_0x5827c1),A(this,_0x428a28(0x463),_0x428a28(0x390)),this['_injector']=_0x3f9c89;}[_0x55ff74(0x3f3)](_0x10f0db){var _0x47d9b8=_0x55ff74;return this[_0x47d9b8(0x290)][_0x47d9b8(0x395)](_0x10f0db),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2b39e8){var _0x14dae0=_0x55ff74;throw new Error(_0x14dae0(0x113));}[_0x55ff74(0x140)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x55ff74(0x2cc)](){var _0x512b63=_0x55ff74;throw new Error(_0x512b63(0x1ba));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x55ff74(0x15d)](){var _0x2d9f10=_0x55ff74;const {_injector:_0x34fb67,_pendingMutations:_0x3b9544,_awaitingChangeset:_0x6353dc,unitID:_0x49c54c,_handler:_0x576966,type:_0xa95ee8}=this,_0x1d05e4=Ot(_0x34fb67,_0x49c54c,_0xa95ee8,_0x6353dc,_0x3b9544,_0x576966);return _0x1d05e4 instanceof exports['PendingState']?_0x1d05e4[_0x2d9f10(0x15a)]():(_0x1d05e4 instanceof exports[_0x2d9f10(0x202)]||_0x1d05e4 instanceof exports['AwaitingState'])&&_0x1d05e4[_0x2d9f10(0x1dc)](),_0x1d05e4;}['resend'](){var _0x4cbba8=_0x55ff74;throw new Error(_0x4cbba8(0x36b));}},exports['OfflineState']=ae([w(0x5,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),w(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x7,a[_0x55ff74(0x393)]),w(0x8,a[_0x55ff74(0x2fb)]),w(0x9,a['Optional'](q))],exports[_0x55ff74(0x2b0)]),exports[_0x55ff74(0x437)]=class extends ce{constructor(_0x2d3a20,_0x2e0a46,_0x65d155,_0x5324df,_0x83cd33,_0x18b9eb,_0x69cae8,_0x14026c,_0x168f2d,_0x15cbea,_0x36e053,_0x5de276,_0x2dac05,_0x257f2f){var _0x7882fd=_0x55ff74;super(_0x2d3a20,_0x2e0a46,_0x65d155,_0x5324df,_0x69cae8,_0x36e053,_0x5de276,_0x168f2d,_0x257f2f),A(this,'status',_0x7882fd(0x37d)),(this[_0x7882fd(0x339)]=_0x83cd33,this[_0x7882fd(0x2ef)]=_0x18b9eb,this[_0x7882fd(0x423)]=_0x14026c,this[_0x7882fd(0x24d)]=_0x15cbea,this[_0x7882fd(0x402)]=_0x2dac05,this[_0x7882fd(0x2e8)]=_0x257f2f);}[_0x55ff74(0x349)](_0x4a7238){var _0x1d996d=_0x55ff74;try{const _0x4d251b=[..._0x4a7238,...this[_0x1d996d(0x2ef)]],_0x51e016=[this[_0x1d996d(0x32e)]||this[_0x1d996d(0x339)]][_0x1d996d(0x187)](_0x55ccc3=>!!_0x55ccc3);let _0x56ef6f,_0x59c291;if(_0x51e016[_0x1d996d(0x305)]){const _0x360f2b=this['_transformService']['transformChangesets'](_0x4d251b,_0x51e016,!0x1);if(!I[_0x1d996d(0x26f)](_0x360f2b))throw _0x360f2b[_0x1d996d(0x35e)];_0x56ef6f=_0x360f2b[_0x1d996d(0x44f)],_0x59c291=_0x360f2b[_0x1d996d(0x141)];}else _0x56ef6f=_0x4d251b,_0x59c291=[];let _0x52c3fc=this[_0x1d996d(0x290)];_0x56ef6f[_0x1d996d(0x41f)](_0xfd8026=>{var _0x431fdc=_0x1d996d;let _0x4dc276;if(_0x52c3fc[_0x431fdc(0x305)]){const _0x2b1734=this[_0x431fdc(0x402)][_0x431fdc(0x1e8)](_0xfd8026,_0x52c3fc);if(!I['isTransformMutationsWithChangesetSuccess'](_0x2b1734))throw _0x2b1734[_0x431fdc(0x35e)];_0x4dc276=_0x2b1734[_0x431fdc(0x44f)],_0x52c3fc=_0x2b1734['m2Prime'];}else _0x4dc276=_0xfd8026;this['_executeRemoteChangeset'](_0x4dc276);}),this[_0x1d996d(0x339)]&&this[_0x1d996d(0x429)](),this['_awaitingChangeset']&&_0x59c291[_0x1d996d(0x305)]&&(_0x59c291[0x0][_0x1d996d(0x3c7)]=this[_0x1d996d(0x267)]());let _0x13b803;if(this['_awaitingChangeset']&&_0x52c3fc[_0x1d996d(0x305)]!==0x0)_0x13b803=this[_0x1d996d(0x423)][_0x1d996d(0x380)](exports[_0x1d996d(0x202)],this['unitID'],this[_0x1d996d(0x255)],_0x59c291[0x0],_0x52c3fc,this[_0x1d996d(0x1d2)],void 0x0);else{if(this[_0x1d996d(0x32e)]&&_0x52c3fc[_0x1d996d(0x305)]===0x0)_0x59c291[0x0]['baseRev']=this['_getCurrentRevision'](),_0x13b803=this[_0x1d996d(0x423)][_0x1d996d(0x380)](exports[_0x1d996d(0x256)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],_0x59c291[0x0],this[_0x1d996d(0x1d2)]);else{if(_0x52c3fc[_0x1d996d(0x305)]!==0x0){const _0x1f17ed=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x1d996d(0x255)],_0x52c3fc,this['_handler']);_0x1f17ed[_0x1d996d(0x15a)](),_0x13b803=_0x1f17ed;}else _0x13b803=this[_0x1d996d(0x423)]['createInstance'](exports[_0x1d996d(0x39a)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],this['_handler']);}}return _0x13b803[_0x1d996d(0x286)](),_0x13b803;}catch(_0x100d60){return this[_0x1d996d(0x24d)]['error'](_0x1d996d(0x127),_0x1d996d(0x348),_0x100d60),this['_injector'][_0x1d996d(0x380)](exports[_0x1d996d(0x1b2)],this[_0x1d996d(0x20f)],this[_0x1d996d(0x255)],this[_0x1d996d(0x32e)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x55ff74(0x1dc)](){var _0x3834ad=_0x55ff74;throw new Error(_0x3834ad(0x1a9));}[_0x55ff74(0x3f3)](_0x1d8ea8){var _0x28ef4e=_0x55ff74;return this[_0x28ef4e(0x290)][_0x28ef4e(0x395)](_0x1d8ea8),this;}[_0x55ff74(0x2ab)](_0x3a8df2){var _0xb4b779=_0x55ff74;return this[_0xb4b779(0x2ef)][_0xb4b779(0x395)](_0x3a8df2),this;}[_0x55ff74(0x140)](_0x580aec){var _0x2a6956=_0x55ff74;if(this[_0x2a6956(0x32e)])return this[_0x2a6956(0x339)]=this[_0x2a6956(0x32e)],this[_0x2a6956(0x32e)]=null,this;throw new Error(_0x2a6956(0x3a0));}['onRemoteRej'](_0x3e4587){var _0x43aae3=_0x55ff74;return this[_0x43aae3(0x444)](!!(_0x3e4587!=null&&_0x3e4587[_0x43aae3(0x1ed)]));}['onRemoteRetry'](){return this;}[_0x55ff74(0x448)](){var _0x73459b=_0x55ff74;return this[_0x73459b(0x423)]['createInstance'](exports['OfflineState'],this[_0x73459b(0x20f)],this[_0x73459b(0x255)],this['_awaitingChangeset'],this[_0x73459b(0x290)],this[_0x73459b(0x1d2)]);}[_0x55ff74(0x15d)](){return this;}[_0x55ff74(0x444)](_0x4597d7){var _0x312944=_0x55ff74;return this[_0x312944(0x423)]['createInstance'](exports['ConflictState'],this[_0x312944(0x20f)],this['type'],this[_0x312944(0x32e)],this[_0x312944(0x290)],this[_0x312944(0x1d2)],_0x4597d7);}},exports[_0x55ff74(0x437)]=ae([w(0x7,a['Inject'](a[_0x55ff74(0x19b)])),w(0x8,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),w(0x9,a[_0x55ff74(0x469)]),w(0xa,a[_0x55ff74(0x393)]),w(0xb,a[_0x55ff74(0x2fb)]),w(0xc,I[_0x55ff74(0x1fc)]),w(0xd,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x437)]);function Ot(_0x484abe,_0x51024b,_0x3f29ef,_0x55b1df,_0x2565c7,_0x34a15e){var _0x47bc53=_0x55ff74;return _0x55b1df&&_0x2565c7[_0x47bc53(0x305)]?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0x202)],_0x51024b,_0x3f29ef,_0x55b1df,_0x2565c7,_0x34a15e,void 0x0):_0x55b1df?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0x256)],_0x51024b,_0x3f29ef,_0x55b1df,_0x34a15e):_0x2565c7[_0x47bc53(0x305)]?_0x484abe[_0x47bc53(0x380)](exports[_0x47bc53(0xfa)],_0x51024b,_0x3f29ef,_0x2565c7,_0x34a15e):_0x484abe['createInstance'](exports[_0x47bc53(0x39a)],_0x51024b,_0x3f29ef,_0x34a15e);}var vi=Object[_0x55ff74(0x224)],Fe=(_0x3acb1a,_0x39674b,_0x166edf,_0x31ad87)=>{var _0x7a42e8=_0x55ff74;for(var _0x3c7c2f=_0x31ad87>0x1?void 0x0:_0x31ad87?vi(_0x39674b,_0x166edf):_0x39674b,_0x5b7f2e=_0x3acb1a[_0x7a42e8(0x305)]-0x1,_0xc49b19;_0x5b7f2e>=0x0;_0x5b7f2e--)(_0xc49b19=_0x3acb1a[_0x5b7f2e])&&(_0x3c7c2f=_0xc49b19(_0x3c7c2f)||_0x3c7c2f);return _0x3c7c2f;},j=(_0x231a85,_0x5e3b9c)=>(_0x34c60a,_0x58adc0)=>_0x5e3b9c(_0x34c60a,_0x58adc0,_0x231a85);exports['CollaborationEntity']=class extends a[_0x55ff74(0x139)]{constructor(_0x374cd7,_0x1e934d,_0xf43d7,_0xcdac3e,_0x211f6d,_0x108bc1,_0x8285bb,_0x1c4b84,_0x1b8e79,_0x2f2451,_0x1e244d,_0x3c308d,_0x539ec9){var _0x3799ac=_0x55ff74;super(),A(this,_0x3799ac(0x2ec),new $[(_0x3799ac(0x265))](null)),A(this,_0x3799ac(0x176),this['_state$'][_0x3799ac(0x37f)]()),A(this,_0x3799ac(0x123)),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,_0x3799ac(0x311),this[_0x3799ac(0x176)][_0x3799ac(0x33c)]($[_0x3799ac(0x40e)](_0xedf5d1=>_0xedf5d1?_0xedf5d1['status']:Be['OFFLINE']),$[_0x3799ac(0x46e)](0x1))),A(this,_0x3799ac(0x29e),!0x1),A(this,_0x3799ac(0x43f),[]),(this[_0x3799ac(0x20f)]=_0x374cd7,this[_0x3799ac(0x31d)]=_0x1e934d,this['_type']=_0xf43d7,this[_0x3799ac(0x423)]=_0xcdac3e,this[_0x3799ac(0x179)]=_0x211f6d,this[_0x3799ac(0x285)]=_0x108bc1,this[_0x3799ac(0x3d6)]=_0x8285bb,this[_0x3799ac(0x400)]=_0x1c4b84,this[_0x3799ac(0x24d)]=_0x1b8e79,this[_0x3799ac(0x29c)]=_0x2f2451,this[_0x3799ac(0x178)]=_0x1e244d,this['_singleActiveUnitService']=_0x3c308d,this['_localCacheService']=_0x539ec9);}get[_0x55ff74(0x3f2)](){return this['_state'];}async[_0x55ff74(0x17f)](){var _0x4bbd84=_0x55ff74;if(this[_0x4bbd84(0x3f2)])throw new Error(_0x4bbd84(0x101));await this[_0x4bbd84(0x223)]();}[_0x55ff74(0x1fe)](){var _0x5ce8c9=_0x55ff74;return this[_0x5ce8c9(0x2e9)]=!0x0,a[_0x5ce8c9(0x287)](()=>{var _0x225d7f=_0x5ce8c9;this['_collaborationPaused']=!0x1,this[_0x225d7f(0x1b0)]();});}[_0x55ff74(0x38a)](_0x4deca7){var _0xe01296=_0x55ff74;this[_0xe01296(0x183)](_0x4deca7);}[_0x55ff74(0x200)](_0x594645){var _0x52b542=_0x55ff74;this['_state']=_0x594645,this[_0x52b542(0x2ec)]['next'](_0x594645);}async[_0x55ff74(0x223)](){var _0x19f417=_0x55ff74,_0xf469dc;this['_updateState'](await this[_0x19f417(0x3ab)]()),this[_0x19f417(0x35b)]&&((_0xf469dc=this['_singleActiveUnitService'])==null||_0xf469dc[_0x19f417(0x375)](this[_0x19f417(0x20f)]),this['disposeWithMe'](this[_0x19f417(0x35b)]['getUnitStatus$'](this[_0x19f417(0x20f)])[_0x19f417(0x259)](_0x1fcd96=>{var _0x189f60=_0x19f417;this[_0x189f60(0x24d)][_0x189f60(0x2f8)](_0x189f60(0x25a),_0x189f60(0x121),_0x1fcd96),_0x1fcd96===je[_0x189f60(0x327)]?(this[_0x189f60(0x400)][_0x189f60(0x25d)]({'id':Z[_0x189f60(0x1d1)]}),this[_0x189f60(0x178)][_0x189f60(0x251)](new X[(_0x189f60(0x460))](this[_0x189f60(0x20f)])['id'],!0x1),this[_0x189f60(0x178)]['setShowComponents'](!0x1)):(this[_0x189f60(0x178)][_0x189f60(0x251)](new X[(_0x189f60(0x460))](this[_0x189f60(0x20f)])['id'],!0x0),this[_0x189f60(0x178)][_0x189f60(0x42d)](!0x0));})));let _0xbf9964=!0x1;return this['disposeWithMe'](this[_0x19f417(0x31d)][_0x19f417(0x326)][_0x19f417(0x259)](_0x176a67=>{var _0x11eacf=_0x19f417;_0x176a67===re[_0x11eacf(0x115)]?this[_0x11eacf(0x40f)](_0xbf9964):_0x176a67===re[_0x11eacf(0x3d0)]&&(_0xbf9964=!0x0,this['_toggleOffline']());})),this[_0x19f417(0x2a4)](this['session'][_0x19f417(0x1f9)][_0x19f417(0x259)](_0x16a26f=>{var _0x441aa4=_0x19f417;try{switch(_0x16a26f[_0x441aa4(0x46c)]){case I[_0x441aa4(0x208)][_0x441aa4(0x279)]:{this[_0x441aa4(0x2a5)](I[_0x441aa4(0x10b)](_0x16a26f[_0x441aa4(0x13e)]));break;}case I[_0x441aa4(0x208)][_0x441aa4(0x2df)]:{this[_0x441aa4(0x3c8)](_0x16a26f[_0x441aa4(0x13e)]);break;}case I[_0x441aa4(0x208)][_0x441aa4(0x17e)]:{this[_0x441aa4(0x19d)]();break;}case I[_0x441aa4(0x208)][_0x441aa4(0x3fc)]:{this[_0x441aa4(0x104)](_0x16a26f[_0x441aa4(0x13e)]);break;}case I[_0x441aa4(0x208)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x441aa4(0xf4)](_0x16a26f[_0x441aa4(0x13e)][_0x441aa4(0x3dc)]['map'](_0x4eb358=>I[_0x441aa4(0x10b)](_0x4eb358)));break;}case I[_0x441aa4(0x208)][_0x441aa4(0x345)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x441aa4(0x208)]['UNISCRIPT_RUN']:break;}}catch(_0x50fe98){throw console[_0x441aa4(0x35e)](_0x441aa4(0x457),_0x50fe98),_0x50fe98;}})),this[_0x19f417(0x123)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x55ff74(0x466)](){var _0x385ed0=_0x55ff74;if(this[_0x385ed0(0x29e)])throw new Error(_0x385ed0(0x14d));this[_0x385ed0(0x29e)]=!0x0;}['_onLocalMutation'](_0x54de7d){var _0x11fe77=_0x55ff74;this[_0x11fe77(0x466)](),this['_updateState'](this[_0x11fe77(0x123)][_0x11fe77(0x3f3)](_0x54de7d)),this['_unlockTransition']();}[_0x55ff74(0x2a5)](_0x20ffdb){var _0x20c00f=_0x55ff74;if(!(_0x20ffdb['revision']<=this[_0x20c00f(0x3d6)][_0x20c00f(0x172)](this[_0x20c00f(0x20f)]))){if(this[_0x20c00f(0x2e9)]){this[_0x20c00f(0x43f)]['push'](_0x20ffdb);return;}this[_0x20c00f(0x12d)](_0x20ffdb);}}[_0x55ff74(0x1b0)](){var _0x248d56=_0x55ff74;this[_0x248d56(0x43f)][_0x248d56(0x41f)](_0x293abf=>this[_0x248d56(0x12d)](_0x293abf)),this[_0x248d56(0x43f)]=[];}['_applyRemoteChangeset'](_0x426871){var _0x2d5f91=_0x55ff74;const _0x117e9d=this[_0x2d5f91(0x179)][_0x2d5f91(0x3ae)]['fetchThroughInterceptors'](this[_0x2d5f91(0x179)][_0x2d5f91(0x3ae)][_0x2d5f91(0x1bc)]()['COMPRESS_MUTATION_APPLY'])(_0x426871['mutations'],null)||_0x426871[_0x2d5f91(0x47e)],_0x2868ad={..._0x426871,'mutations':_0x117e9d};this['_lockTransition'](),this[_0x2d5f91(0x200)](this[_0x2d5f91(0x123)][_0x2d5f91(0x2ab)](_0x2868ad)),this[_0x2d5f91(0x21d)]();}[_0x55ff74(0x3c8)](_0xdc3f88){var _0x15a929=_0x55ff74;this['_lockTransition'](),this[_0x15a929(0x200)](this[_0x15a929(0x123)][_0x15a929(0x140)](_0xdc3f88)),this[_0x15a929(0x21d)]();}[_0x55ff74(0x19d)](_0x1a9d72){var _0xdb4d1f=_0x55ff74;this[_0xdb4d1f(0x466)](),this[_0xdb4d1f(0x200)](this[_0xdb4d1f(0x123)][_0xdb4d1f(0x2cc)](_0x1a9d72)),this[_0xdb4d1f(0x21d)]();}[_0x55ff74(0x104)](_0x47d412){var _0x1c52e6=_0x55ff74;this['_lockTransition'](),this['_updateState'](this['_state'][_0x1c52e6(0x303)](_0x47d412)),this[_0x1c52e6(0x21d)]();}['_onFetchMissResult'](_0x17c471){var _0x480056=_0x55ff74;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x480056(0x206));const _0x6f3c3a=_0x17c471[_0x480056(0x40e)](_0x5323da=>{var _0x221a21=_0x480056;const _0x290b30=this[_0x221a21(0x179)][_0x221a21(0x3ae)][_0x221a21(0x44b)](this[_0x221a21(0x179)][_0x221a21(0x3ae)][_0x221a21(0x1bc)]()[_0x221a21(0x39d)])(_0x5323da[_0x221a21(0x47e)],null)||_0x5323da[_0x221a21(0x47e)];return{..._0x5323da,'mutations':_0x290b30};});this[_0x480056(0x466)](),this[_0x480056(0x200)](this[_0x480056(0x123)][_0x480056(0x349)](_0x6f3c3a)),this[_0x480056(0x21d)]();}[_0x55ff74(0x342)](){var _0x3749e3=_0x55ff74;this[_0x3749e3(0x466)](),this['_updateState'](this['_state'][_0x3749e3(0x448)]()),this[_0x3749e3(0x21d)]();}['_toggleOnline'](_0x351ddb=!0x1){var _0x4785bc=_0x55ff74;this[_0x4785bc(0x466)](),this['_updateState'](this[_0x4785bc(0x123)]['toggleOnline']()),this[_0x4785bc(0x21d)]();const _0x3e07ef=this['_state'];_0x351ddb&&_0x3e07ef instanceof exports[_0x4785bc(0x39a)]&&(this[_0x4785bc(0x466)](),this[_0x4785bc(0x200)](_0x3e07ef[_0x4785bc(0x22c)]()),this[_0x4785bc(0x21d)]());}async[_0x55ff74(0x3ab)](){return new Promise(_0x50ea6d=>{var _0xfbb6a5=_0x3571;this[_0xfbb6a5(0x31d)][_0xfbb6a5(0x326)]['pipe']($[_0xfbb6a5(0x418)](0x1))[_0xfbb6a5(0x259)](async _0x5d85d9=>{var _0x46d864=_0xfbb6a5;_0x50ea6d(await this[_0x46d864(0x1f2)](_0x5d85d9===re[_0x46d864(0x115)]));});});}[_0x55ff74(0x377)](){var _0x4c0b1a=_0x55ff74;const _0x3d2fac=this[_0x4c0b1a(0x20f)];return{'onStateChange':(_0x3937cf,_0x3415f5)=>{var _0x4fc0ca=_0x4c0b1a;if(_0x3937cf!==this[_0x4fc0ca(0x123)])throw new Error(_0x4fc0ca(0x16c)+_0x3937cf[_0x4fc0ca(0x463)]+_0x4fc0ca(0x324)+_0x3415f5['status']+'\x0aCurrent:\x20'+this[_0x4fc0ca(0x123)][_0x4fc0ca(0x463)]);this['_updateState'](_0x3415f5);},'onSendChangeset':_0x3fabf2=>{var _0x2d33e8=_0x4c0b1a;_0x3fabf2[_0x2d33e8(0x1c8)]||(_0x3fabf2[_0x2d33e8(0x1c8)]=this['_changesetSessionId'],_0x3fabf2[_0x2d33e8(0x1ae)]=++this[_0x2d33e8(0x42f)]);const _0x5e51ff={'eventID':I[_0x2d33e8(0x208)][_0x2d33e8(0x473)],'data':{'unitID':_0x3fabf2[_0x2d33e8(0x20f)],'unitType':this[_0x2d33e8(0x231)],'changeset':_0x3fabf2,'memberID':this['session']['getMemberID']()}};this[_0x2d33e8(0x31d)][_0x2d33e8(0x20b)](_0x5e51ff,this[_0x2d33e8(0x20f)]);},'onMissingChangesets':({from:_0x3312e1,to:_0x274377})=>{var _0x2845cf=_0x4c0b1a;this[_0x2845cf(0x24d)][_0x2845cf(0x2f8)](_0x2845cf(0x25a),_0x2845cf(0x2d1)+_0x3312e1+_0x2845cf(0x2dc)+_0x274377);const _0x583461={'eventID':I[_0x2845cf(0x208)]['FETCH_MISSING'],'data':{'unitID':_0x3d2fac,'unitType':this[_0x2845cf(0x231)],'from':_0x3312e1,'to':_0x274377}};this[_0x2845cf(0x31d)][_0x2845cf(0x20b)](_0x583461,this[_0x2845cf(0x20f)]);}};}async[_0x55ff74(0x1f2)](_0x549056){var _0x1ed263=_0x55ff74,_0x21f06a,_0x22ac9f,_0xa200c1;const _0x57f98f=await((_0x21f06a=this[_0x1ed263(0x1ec)])==null?void 0x0:_0x21f06a[_0x1ed263(0x199)](this[_0x1ed263(0x20f)])),_0x35a6a4=(_0x22ac9f=_0x57f98f==null?void 0x0:_0x57f98f[_0x1ed263(0x47e)])!=null?_0x22ac9f:[],_0x3c76db=(_0xa200c1=_0x57f98f==null?void 0x0:_0x57f98f['awaitingChangeset'])!=null?_0xa200c1:null,_0x412cda=!!(_0x3c76db!=null&&_0x3c76db[_0x1ed263(0x1c8)])&&!!(_0x3c76db!=null&&_0x3c76db[_0x1ed263(0x1ae)]);this[_0x1ed263(0xf8)]=_0x412cda?_0x3c76db[_0x1ed263(0x1c8)]:I['uuidv4'](),this[_0x1ed263(0x42f)]=_0x412cda?_0x3c76db[_0x1ed263(0x1ae)]:0x0;const _0x44f113=this[_0x1ed263(0x20f)];try{this[_0x1ed263(0x292)](_0x3c76db,_0x35a6a4);}catch(_0x27fe77){this[_0x1ed263(0x24d)][_0x1ed263(0x35e)](_0x27fe77);}const _0xd7ce93=this[_0x1ed263(0x377)]();if(_0x549056){const _0x1d6915=Ot(this[_0x1ed263(0x423)],_0x44f113,this[_0x1ed263(0x231)],_0x3c76db,_0x35a6a4,_0xd7ce93);return _0x1d6915 instanceof exports[_0x1ed263(0xfa)]?_0x1d6915[_0x1ed263(0x15a)]():(_0x1d6915 instanceof exports[_0x1ed263(0x202)]||_0x1d6915 instanceof exports[_0x1ed263(0x256)])&&_0x1d6915[_0x1ed263(0x1dc)](),_0x1d6915;}return this['_injector'][_0x1ed263(0x380)](exports[_0x1ed263(0x2b0)],_0x44f113,this[_0x1ed263(0x231)],_0x3c76db,_0x35a6a4,_0xd7ce93);}[_0x55ff74(0x292)](_0x1e67de,_0x13f0f0){var _0x350c5c=_0x55ff74,_0xacc5d5,_0x41120b;const _0x10ee69=this['_compressMutationService'][_0x350c5c(0x3ae)][_0x350c5c(0x44b)](this[_0x350c5c(0x179)][_0x350c5c(0x3ae)][_0x350c5c(0x1bc)]()['COMPRESS_MUTATION_APPLY']);(_0xacc5d5=_0x10ee69((_0x1e67de==null?void 0x0:_0x1e67de[_0x350c5c(0x47e)])||[],null))==null||_0xacc5d5[_0x350c5c(0x41f)](_0x579da4=>this[_0x350c5c(0x29c)]['executeCommand'](_0x579da4['id'],_0x579da4[_0x350c5c(0x105)])),(_0x41120b=_0x10ee69(_0x13f0f0||[],null))==null||_0x41120b[_0x350c5c(0x41f)](_0x585bc6=>this[_0x350c5c(0x29c)][_0x350c5c(0x41b)](_0x585bc6['id'],_0x585bc6[_0x350c5c(0x105)]));}},exports[_0x55ff74(0x45a)]=Fe([j(0x3,a[_0x55ff74(0x221)](a['Injector'])),j(0x4,a[_0x55ff74(0x221)](I[_0x55ff74(0x443)])),j(0x5,a[_0x55ff74(0x221)](a['LocaleService'])),j(0x6,a['Inject'](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](ee)),j(0x8,a[_0x55ff74(0x469)]),j(0x9,a[_0x55ff74(0x393)]),j(0xa,a[_0x55ff74(0x3fd)]),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](q))],exports[_0x55ff74(0x45a)]),exports[_0x55ff74(0x10e)]=class extends exports['CollaborationEntity']{constructor(_0x143120,_0x36691d,_0x36f19b,_0x2efe20,_0x3c3b1e,_0x2f3062,_0x573553,_0x207412,_0x5a3729,_0xa0d7b0,_0x20b580,_0xaea5f5,_0x53115e){var _0x3705d0=_0x55ff74;super(_0x143120,_0x36f19b,_0x36691d,_0x2efe20,_0x3c3b1e,_0x2f3062,_0x573553,_0x207412,_0x5a3729,_0xa0d7b0,_0x20b580,_0xaea5f5,_0x53115e),A(this,_0x3705d0(0x161),null),(this[_0x3705d0(0x20f)]=_0x143120,this['type']=_0x36691d);}['addHandlerCallback'](_0x26310c){var _0x47b8fd=_0x55ff74;this[_0x47b8fd(0x161)]=_0x26310c;}[_0x55ff74(0x174)](){var _0x25cc58=_0x55ff74;this[_0x25cc58(0x161)]=null,super[_0x25cc58(0x174)]();}['_createHandler'](){var _0x4e3dba=_0x55ff74;const _0x42ac7e=super[_0x4e3dba(0x377)]();return _0x42ac7e[_0x4e3dba(0x3ad)]=_0x47a632=>{var _0x4b87c0=_0x4e3dba,_0x5234bb,_0xeedbdd;return(_0xeedbdd=(_0x5234bb=this[_0x4b87c0(0x161)])==null?void 0x0:_0x5234bb['onTransformIME'])==null?void 0x0:_0xeedbdd[_0x4b87c0(0x12c)](_0x5234bb,_0x47a632);},_0x42ac7e[_0x4e3dba(0x291)]=_0x407434=>{var _0x2a8ec2,_0x569812;return(_0x569812=(_0x2a8ec2=this['_handlerCallback'])==null?void 0x0:_0x2a8ec2['onTransformState'])==null?void 0x0:_0x569812['call'](_0x2a8ec2,_0x407434);},_0x42ac7e['onTransformSelections']=_0x50ac8c=>{var _0x5bb471=_0x4e3dba,_0x2d1a3b,_0x513eab;return(_0x513eab=(_0x2d1a3b=this[_0x5bb471(0x161)])==null?void 0x0:_0x2d1a3b['onTransformSelections'])==null?void 0x0:_0x513eab['call'](_0x2d1a3b,_0x50ac8c);},_0x42ac7e['onSyncEditingCollabCursor']=_0x70c43f=>{var _0x252487=_0x4e3dba,_0x541b43,_0x331252;return(_0x331252=(_0x541b43=this['_handlerCallback'])==null?void 0x0:_0x541b43[_0x252487(0x340)])==null?void 0x0:_0x331252[_0x252487(0x12c)](_0x541b43,_0x70c43f);},_0x42ac7e['onTransformRemoteChangesetByIMECache']=_0x642fbf=>{var _0x59b8ad=_0x4e3dba,_0x30ac50,_0x221059,_0x5f3656;if(!((_0x30ac50=this[_0x59b8ad(0x161)])!=null&&_0x30ac50['onTransformRemoteChangesetByIMECache']))throw new Error(_0x59b8ad(0x454));return(_0x5f3656=(_0x221059=this[_0x59b8ad(0x161)])==null?void 0x0:_0x221059['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5f3656[_0x59b8ad(0x12c)](_0x221059,_0x642fbf);},_0x42ac7e[_0x4e3dba(0x1fb)]=_0x5f4fc2=>{var _0x5e8aeb=_0x4e3dba,_0x4dbbd5,_0x38753b,_0x130676;if(!((_0x4dbbd5=this[_0x5e8aeb(0x161)])!=null&&_0x4dbbd5['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5e8aeb(0x341));return(_0x130676=(_0x38753b=this[_0x5e8aeb(0x161)])==null?void 0x0:_0x38753b[_0x5e8aeb(0x1fb)])==null?void 0x0:_0x130676[_0x5e8aeb(0x12c)](_0x38753b,_0x5f4fc2);},_0x42ac7e;}async[_0x55ff74(0x223)](){var _0xd51c6a=_0x55ff74;const _0x1c7ec4=await super[_0xd51c6a(0x223)]();return this['disposeWithMe'](this[_0xd51c6a(0x29c)][_0xd51c6a(0x3a3)]((_0x3fca7a,_0x452e93)=>{var _0x5207de=_0xd51c6a;if(_0x3fca7a['type']!==a[_0x5207de(0x1c1)][_0x5207de(0x31b)]||_0x452e93!=null&&_0x452e93[_0x5207de(0x158)]||_0x452e93!=null&&_0x452e93[_0x5207de(0x45c)]||_0x3fca7a['id']===ht['RichTextEditingMutation']['id'])return;const _0x257b2d=_0x3fca7a[_0x5207de(0x105)];if((_0x257b2d==null?void 0x0:_0x257b2d[_0x5207de(0x411)])!==this[_0x5207de(0x20f)])return;const _0x5bee3e=_0x3fca7a,_0x273fea=this[_0x5207de(0x179)][_0x5207de(0x3ae)][_0x5207de(0x44b)](this['_compressMutationService'][_0x5207de(0x3ae)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5bee3e],null)||[_0x5bee3e];this[_0x5207de(0x183)](_0x273fea[0x0]);})),_0x1c7ec4;}},exports[_0x55ff74(0x10e)]=Fe([j(0x3,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),j(0x4,a['Inject'](I[_0x55ff74(0x443)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](ee)),j(0x8,a[_0x55ff74(0x469)]),j(0x9,a[_0x55ff74(0x393)]),j(0xa,a[_0x55ff74(0x3fd)]),j(0xb,a[_0x55ff74(0x299)](de)),j(0xc,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x10e)]),exports[_0x55ff74(0x22a)]=class extends exports[_0x55ff74(0x45a)]{constructor(_0x595cf4,_0x36b16c,_0x2d3cc4,_0x1938c3,_0xe778dc,_0x21f59a,_0x99253,_0xd13f8d,_0x2d6b1c,_0x364247,_0xf645b5,_0x53040d,_0x40f18f,_0x35f81a){var _0x10b464=_0x55ff74;super(_0x595cf4,_0x2d3cc4,_0x36b16c,_0x1938c3,_0xe778dc,_0x21f59a,_0x99253,_0x2d6b1c,_0x364247,_0xf645b5,_0x53040d,_0x40f18f,_0x35f81a),this[_0x10b464(0x20f)]=_0x595cf4,this[_0x10b464(0x255)]=_0x36b16c,this[_0x10b464(0x392)]=_0xd13f8d;}[_0x55ff74(0x377)](){var _0x34aa98=_0x55ff74;const _0x4fe085=super[_0x34aa98(0x377)]();return _0x4fe085[_0x34aa98(0x177)]=_0x560e01=>this[_0x34aa98(0x392)][_0x34aa98(0x314)](_0x560e01),_0x4fe085;}async['_init'](){var _0x1f616e=_0x55ff74;const _0x342537=await super[_0x1f616e(0x223)]();return this[_0x1f616e(0x2a4)](this[_0x1f616e(0x29c)]['onCommandExecuted']((_0x44f366,_0x1b4f0f)=>{var _0x539b7e=_0x1f616e;if(_0x44f366[_0x539b7e(0x255)]!==a[_0x539b7e(0x1c1)][_0x539b7e(0x31b)]||_0x1b4f0f!=null&&_0x1b4f0f[_0x539b7e(0x158)]||_0x1b4f0f!=null&&_0x1b4f0f['onlyLocal'])return;const _0xaf84d8=_0x44f366[_0x539b7e(0x105)];if((_0xaf84d8==null?void 0x0:_0xaf84d8['unitId'])!==this[_0x539b7e(0x20f)])return;const _0x55d259=_0x44f366,_0x571f8e=this[_0x539b7e(0x179)][_0x539b7e(0x3ae)][_0x539b7e(0x44b)](this[_0x539b7e(0x179)][_0x539b7e(0x3ae)][_0x539b7e(0x1bc)]()[_0x539b7e(0x258)])([_0x55d259],null)||[_0x55d259];this[_0x539b7e(0x183)](_0x571f8e[0x0]);})),_0x342537;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a['Inject'](I[_0x55ff74(0x443)])),j(0x5,a[_0x55ff74(0x221)](a['LocaleService'])),j(0x6,a[_0x55ff74(0x221)](I[_0x55ff74(0x329)])),j(0x7,a[_0x55ff74(0x221)](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x55ff74(0x469)]),j(0xa,a[_0x55ff74(0x393)]),j(0xb,a[_0x55ff74(0x3fd)]),j(0xc,a[_0x55ff74(0x299)](de)),j(0xd,a['Optional'](q))],exports[_0x55ff74(0x22a)]);function _0x3571(_0x49c59e,_0x515686){var _0x12dd79=_0x12dd();return _0x3571=function(_0x35712f,_0x542a36){_0x35712f=_0x35712f-0xf4;var _0x2a63be=_0x12dd79[_0x35712f];return _0x2a63be;},_0x3571(_0x49c59e,_0x515686);}var Si=Object[_0x55ff74(0x224)],fi=(_0x274f9b,_0x36f974,_0x560b62,_0x2ed1ab)=>{var _0x47dc4f=_0x55ff74;for(var _0x3e810f=_0x2ed1ab>0x1?void 0x0:_0x2ed1ab?Si(_0x36f974,_0x560b62):_0x36f974,_0x831ab7=_0x274f9b[_0x47dc4f(0x305)]-0x1,_0x2cb328;_0x831ab7>=0x0;_0x831ab7--)(_0x2cb328=_0x274f9b[_0x831ab7])&&(_0x3e810f=_0x2cb328(_0x3e810f)||_0x3e810f);return _0x3e810f;},Se=(_0x1349f9,_0x2a3bd8)=>(_0x52018f,_0xade45e)=>_0x2a3bd8(_0x52018f,_0xade45e,_0x1349f9);exports[_0x55ff74(0x234)]=class extends a[_0x55ff74(0x139)]{constructor(_0xc6a94b,_0x37d989,_0x1a8a7d,_0x5dd8d1){var _0x3e2f0f=_0x55ff74,_0x5d5511;super(),A(this,_0x3e2f0f(0x1b3),new Map()),A(this,_0x3e2f0f(0x137),new $[(_0x3e2f0f(0x16b))]()),A(this,_0x3e2f0f(0x2b1),this['_entityInit$'][_0x3e2f0f(0x37f)]()),(this[_0x3e2f0f(0x423)]=_0xc6a94b,this[_0x3e2f0f(0x136)]=_0x37d989,this[_0x3e2f0f(0x26e)]=_0x1a8a7d,this[_0x3e2f0f(0x449)]=_0x5dd8d1,((_0x5d5511=this['_configService'][_0x3e2f0f(0x388)](K))==null?void 0x0:_0x5d5511[_0x3e2f0f(0x350)])!==!0x1&&this[_0x3e2f0f(0x223)]());}['dispose'](){var _0x51541a=_0x55ff74;super[_0x51541a(0x174)](),this[_0x51541a(0x1b3)]['forEach'](_0x55e01=>_0x55e01['dispose']()),this[_0x51541a(0x1b3)][_0x51541a(0x28a)]();}['getCollabEntity'](_0x4ac686){var _0x1ec7f6=_0x55ff74,_0x401cba;return(_0x401cba=this[_0x1ec7f6(0x1b3)][_0x1ec7f6(0x128)](_0x4ac686))!=null?_0x401cba:null;}['getCollabEntity$'](_0x88bd60){var _0x366035=_0x55ff74;const _0x20961b=this['getCollabEntity'](_0x88bd60);return _0x20961b?$['of'](_0x20961b):this['_entityInit$'][_0x366035(0x33c)](V['filter'](_0x154d87=>_0x154d87[_0x366035(0x20f)]===_0x88bd60));}['readyForCollab'](_0x3f9a5a){var _0x44bf97=_0x55ff74;return $[_0x44bf97(0x21c)](this['getCollabEntity$'](_0x3f9a5a)[_0x44bf97(0x33c)](V['map'](()=>{})));}[_0x55ff74(0x223)](){var _0x3b58c9=_0x55ff74;this[_0x3b58c9(0x449)][_0x3b58c9(0x12f)](a[_0x3b58c9(0x272)]['UNIVER_SHEET'])[_0x3b58c9(0x33c)]($['takeUntil'](this[_0x3b58c9(0x1ca)]),V[_0x3b58c9(0x370)](0x10))[_0x3b58c9(0x259)](async _0x495fcc=>{var _0x492477=_0x3b58c9;const _0x37f951=_0x495fcc['getUnitId'](),_0x44f936=await this[_0x492477(0x44c)](_0x37f951,J[_0x492477(0x209)]);this[_0x492477(0x1b3)][_0x492477(0x41c)](_0x37f951,_0x44f936);}),this[_0x3b58c9(0x449)]['getTypeOfUnitAdded$'](a[_0x3b58c9(0x272)][_0x3b58c9(0x43e)])[_0x3b58c9(0x33c)]($[_0x3b58c9(0x336)](this[_0x3b58c9(0x1ca)]),V['delay'](0x10))[_0x3b58c9(0x33c)](V['filter'](_0x2bc051=>!_0x2bc051['getUnitId']()[_0x3b58c9(0x18a)]('__')))[_0x3b58c9(0x259)](async _0x30a5b5=>{var _0x4573d3=_0x3b58c9;const _0x2ffe34=_0x30a5b5[_0x4573d3(0x186)](),_0x12834d=await this[_0x4573d3(0x44c)](_0x2ffe34,J[_0x4573d3(0x43e)]);this['_entities'][_0x4573d3(0x41c)](_0x2ffe34,_0x12834d);}),$[_0x3b58c9(0x1cc)](this[_0x3b58c9(0x449)]['getTypeOfUnitDisposed$'](a[_0x3b58c9(0x272)][_0x3b58c9(0x209)]),this[_0x3b58c9(0x449)][_0x3b58c9(0x428)](a[_0x3b58c9(0x272)][_0x3b58c9(0x43e)]))[_0x3b58c9(0x33c)]($[_0x3b58c9(0x336)](this[_0x3b58c9(0x1ca)]))[_0x3b58c9(0x259)](_0x301883=>{var _0x1ebf6b=_0x3b58c9;const _0xb3330f=_0x301883[_0x1ebf6b(0x186)](),_0x291d1c=this[_0x1ebf6b(0x1b3)]['get'](_0xb3330f);_0x291d1c&&(_0x291d1c[_0x1ebf6b(0x174)](),this[_0x1ebf6b(0x1b3)][_0x1ebf6b(0x413)](_0xb3330f));});}async['_startCollaboration'](_0x405f1b,_0xffaedf){var _0x84848b=_0x55ff74;const _0xa8d327=await this[_0x84848b(0x136)]['requireSession'](_0x405f1b),_0x10c36a=this[_0x84848b(0x423)][_0x84848b(0x380)](this['_getCtorByUniverType'](_0xffaedf),_0x405f1b,_0xffaedf,_0xa8d327);return await _0x10c36a['init'](),this['_entityInit$'][_0x84848b(0x1f3)](_0x10c36a),_0x10c36a;}[_0x55ff74(0x343)](_0x5b5d60){var _0x23163d=_0x55ff74;switch(_0x5b5d60){case J[_0x23163d(0x43e)]:return exports[_0x23163d(0x10e)];case J[_0x23163d(0x209)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x23163d(0x470)+_0x5b5d60);}}},exports['CollaborationController']=fi([Se(0x0,a['Inject'](a[_0x55ff74(0x19b)])),Se(0x1,a[_0x55ff74(0x221)](exports['CollaborationSessionService'])),Se(0x2,a[_0x55ff74(0x133)]),Se(0x3,a[_0x55ff74(0x35a)])],exports[_0x55ff74(0x234)]);var pi=Object[_0x55ff74(0x224)],Ii=(_0x47140f,_0x2a3b22,_0x37e7b6,_0xacd665)=>{var _0x2f450d=_0x55ff74;for(var _0x3fb688=_0xacd665>0x1?void 0x0:_0xacd665?pi(_0x2a3b22,_0x37e7b6):_0x2a3b22,_0x17a1e7=_0x47140f[_0x2f450d(0x305)]-0x1,_0x38640c;_0x17a1e7>=0x0;_0x17a1e7--)(_0x38640c=_0x47140f[_0x17a1e7])&&(_0x3fb688=_0x38640c(_0x3fb688)||_0x3fb688);return _0x3fb688;},Ye=(_0x506bc2,_0x16c3fb)=>(_0x52a4c0,_0x295203)=>_0x16c3fb(_0x52a4c0,_0x295203,_0x506bc2);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x55ff74(0x2f0)]{constructor(_0x348efa,_0x431bb8){var _0x3759e8=_0x55ff74;super(),this[_0x3759e8(0x449)]=_0x348efa,this[_0x3759e8(0x26e)]=_0x431bb8,this['_init']();}['_init'](){var _0x205401=_0x55ff74;this[_0x205401(0x2a4)](this[_0x205401(0x449)][_0x205401(0x33e)][_0x205401(0x259)](()=>{var _0xa7043=_0x205401,_0x59dccc;const _0x414c7e=this[_0xa7043(0x449)][_0xa7043(0x108)]();let _0x4ac74a=(_0x59dccc=this[_0xa7043(0x26e)][_0xa7043(0x388)](gi))!=null?_0x59dccc:Ei;_0x414c7e instanceof a[_0xa7043(0x254)]&&(_0x4ac74a=_0x414c7e[_0xa7043(0x218)]),document[_0xa7043(0x422)]=_0x4ac74a;}));}};xe=Ii([Ye(0x0,a[_0x55ff74(0x35a)]),Ye(0x1,a[_0x55ff74(0x133)])],xe);var mi=Object[_0x55ff74(0x224)],Ci=(_0x123f21,_0x5da65e,_0xbe7373,_0x2fcd3b)=>{var _0x44a47a=_0x55ff74;for(var _0x3399a0=_0x2fcd3b>0x1?void 0x0:_0x2fcd3b?mi(_0x5da65e,_0xbe7373):_0x5da65e,_0xbf3121=_0x123f21[_0x44a47a(0x305)]-0x1,_0x18a4ea;_0xbf3121>=0x0;_0xbf3121--)(_0x18a4ea=_0x123f21[_0xbf3121])&&(_0x3399a0=_0x18a4ea(_0x3399a0)||_0x3399a0);return _0x3399a0;},Ae=(_0x3568ba,_0x1be26c)=>(_0x1ed026,_0x30e492)=>_0x1be26c(_0x1ed026,_0x30e492,_0x3568ba);let ye=class{constructor(_0x5e8f10,_0x447971,_0x3e044e){var _0x12449a=_0x55ff74;this['_configService']=_0x5e8f10,this[_0x12449a(0x1e7)]=_0x447971,this[_0x12449a(0x1ad)]=_0x3e044e,this[_0x12449a(0x17f)]();}[_0x55ff74(0x17f)](){var _0x20fa21=_0x55ff74;this[_0x20fa21(0x1e7)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x7e07d3,_0x5e2527)=>_0x5e2527(_0x7e07d3)[_0x20fa21(0x33c)]($['concatMap'](async _0x2c68e4=>{var _0x175679=_0x20fa21;const _0x4280d0=_0x2c68e4;if(_0x4280d0['status']===0x191){if(typeof window>'u')throw new Error(_0x175679(0x40a));if(window[_0x175679(0x150)](this[_0x175679(0x1ad)]['t'](_0x175679(0x264)))){const _0x54907e=window['encodeURIComponent'](window[_0x175679(0x23f)]['href']);window[_0x175679(0x23f)][_0x175679(0x2b7)]=this[_0x175679(0x461)]()+_0x175679(0x1f8)+_0x54907e;}}return _0x4280d0;}))});}[_0x55ff74(0x461)](){var _0x292560=_0x55ff74,_0xbff059,_0x325e11;const _0x3209ca=this[_0x292560(0x26e)][_0x292560(0x388)](It),_0x23b2b8=this[_0x292560(0x26e)]['getConfig'](K);return(_0x325e11=(_0xbff059=_0x23b2b8==null?void 0x0:_0x23b2b8[_0x292560(0x427)])!=null?_0xbff059:_0x3209ca)!=null?_0x325e11:Wt;}};ye=Ci([Ae(0x0,a[_0x55ff74(0x133)]),Ae(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)])),Ae(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x164)]))],ye);var Ti=Object['getOwnPropertyDescriptor'],bi=(_0x18bca5,_0x3fb978,_0x59afe0,_0x2089d9)=>{var _0x1ee3e3=_0x55ff74;for(var _0x588ffb=_0x2089d9>0x1?void 0x0:_0x2089d9?Ti(_0x3fb978,_0x59afe0):_0x3fb978,_0x9fc6e0=_0x18bca5[_0x1ee3e3(0x305)]-0x1,_0x2aa668;_0x9fc6e0>=0x0;_0x9fc6e0--)(_0x2aa668=_0x18bca5[_0x9fc6e0])&&(_0x588ffb=_0x2aa668(_0x588ffb)||_0x588ffb);return _0x588ffb;},qe=(_0x1f1d72,_0x2e06a6)=>(_0x1a0f1e,_0x4916cf)=>_0x2e06a6(_0x1a0f1e,_0x4916cf,_0x1f1d72);const Ve='AUTHZ_URL_KEY',Ri=_0x55ff74(0x215);exports['AuthzIoHttpService']=class extends a[_0x55ff74(0x2f0)]{constructor(_0x4c7b3f,_0x14dcec){var _0xe1caed=_0x55ff74;super(),this[_0xe1caed(0x2dd)]=_0x4c7b3f,this['_configService']=_0x14dcec,this[_0xe1caed(0x2ff)]();}['_initMergeInterceptor'](){var _0x480911=_0x55ff74;const _0xa87e5e=this;this[_0x480911(0x2a4)](this[_0x480911(0x2dd)][_0x480911(0x357)]({'priority':0x3e7,'interceptor':Y[_0x480911(0x2b8)]({'isMatch'(_0x4f88ca){var _0x2a5c0b=_0x480911,_0x50d52e;if(_0x4f88ca[_0x2a5c0b(0x245)]===_0x2a5c0b(0x436)&&((_0x50d52e=_0x4f88ca[_0x2a5c0b(0x3e1)])!=null&&_0x50d52e[_0x2a5c0b(0x43b)])){const {objectID:_0x5affdb,objectType:_0x209a41}=_0x4f88ca['requestParams'][_0x2a5c0b(0x43b)]||{};if(!_0x5affdb||_0x209a41===void 0x0)return!0x1;const _0x31d522=_0xa87e5e[_0x2a5c0b(0x328)]()+'/'+_0x209a41+_0x2a5c0b(0x244)+_0x5affdb+'/allowed';if(_0x4f88ca[_0x2a5c0b(0x192)]===_0x31d522)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x64c4db){var _0x699b9f=_0x480911,_0xd93cca;return(_0xd93cca=_0x64c4db[_0x699b9f(0x3e1)])==null?void 0x0:_0xd93cca[_0x699b9f(0x43b)];},'mergeParamsToRequest'(_0x5966aa,_0x21ee5d){var _0x488d0a=_0x480911;const _0x32448c=_0xa87e5e['_getAPIPrefixPath']()+_0x488d0a(0x2e6),_0x11282a=_0x5966aa[_0x488d0a(0x11b)]((_0x3d0f85,_0x4c2c34)=>{var _0x464196=_0x488d0a;const {unitID:_0x46e51a,objectID:_0x29d565,objectType:_0x5cd5e6,actions:_0x2ebfd5}=_0x4c2c34;return _0x3d0f85[_0x46e51a]||(_0x3d0f85[_0x46e51a]={}),_0x3d0f85[_0x46e51a][_0x29d565]||(_0x3d0f85[_0x46e51a][_0x29d565]={'objectID':_0x29d565,'objectType':_0x5cd5e6,'actions':[]}),_0x3d0f85[_0x46e51a][_0x29d565]['actions'][_0x464196(0x395)](..._0x2ebfd5),_0x3d0f85;},{}),_0x1a794d=[];for(const _0x3f055b in _0x11282a)for(const _0x1b941e in _0x11282a[_0x3f055b]){const {actions:_0x38fcf4,objectType:_0x32c947}=_0x11282a[_0x3f055b][_0x1b941e],_0x5ad992=[...new Set(_0x38fcf4)];_0x1a794d['push']({'unitID':_0x3f055b,'objectID':_0x1b941e,'objectType':_0x32c947,'actions':_0x5ad992});}return new Y[(_0x488d0a(0x361))](_0x488d0a(0x436),_0x32448c,{'headers':_0x21ee5d[_0x488d0a(0x2fe)],'withCredentials':_0x21ee5d[_0x488d0a(0x1c2)],'responseType':_0x21ee5d[_0x488d0a(0x281)],'body':{'requests':_0x1a794d}});}},{'distributeResult'(_0x25c776,_0x310edd){var _0x362d93=_0x480911;const {objectActions:_0x12a345}=_0x25c776;return _0x310edd[_0x362d93(0x40e)](_0x54c1a0=>{var _0x3fb9c2=_0x362d93;const {unitID:_0x4ed8ea,objectID:_0x45dea0,actions:_0xdf6b87}=_0x54c1a0,_0x41df92=_0x12a345[_0x3fb9c2(0x1f0)](_0x201761=>_0x201761[_0x3fb9c2(0x20f)]===_0x4ed8ea&&_0x201761[_0x3fb9c2(0x45b)]===_0x45dea0),_0x120b5d=_0xdf6b87[_0x3fb9c2(0x40e)](_0x32b3fc=>_0x41df92==null?void 0x0:_0x41df92[_0x3fb9c2(0x182)]['find'](_0x693e34=>_0x693e34[_0x3fb9c2(0x1ce)]===_0x32b3fc))['filter'](_0x19d82b=>!!_0x19d82b);return{'config':_0x54c1a0,'result':{'actions':_0x120b5d,'error':_0x25c776[_0x3fb9c2(0x35e)]}};});}})}));}[_0x55ff74(0x328)](){var _0x1444d6=_0x55ff74,_0x5c3762,_0xfdae8f;const _0x2b2c87=this[_0x1444d6(0x26e)][_0x1444d6(0x388)](Ve),_0x3e60e6=this['_configService'][_0x1444d6(0x388)](K);return(_0xfdae8f=(_0x5c3762=_0x3e60e6==null?void 0x0:_0x3e60e6['authzUrl'])!=null?_0x5c3762:_0x2b2c87)!=null?_0xfdae8f:Ri;}async[_0x55ff74(0x274)](_0x38e23a){var _0x6e95dd=_0x55ff74;const _0x1eb6aa=this[_0x6e95dd(0x328)]()+'/'+_0x38e23a[_0x6e95dd(0x3ca)]+_0x6e95dd(0x229);return(await this[_0x6e95dd(0x2dd)][_0x6e95dd(0x252)](_0x1eb6aa,{'body':_0x38e23a}))['body']['objectID']||'';}async[_0x55ff74(0x44d)](_0xe76116){var _0x3e6209=_0x55ff74;const _0x39dd9f=this[_0x3e6209(0x328)]()+'/-/object/list';return(await this[_0x3e6209(0x2dd)][_0x3e6209(0x252)](_0x39dd9f,{'body':_0xe76116}))[_0x3e6209(0x43b)]['objects'];}async[_0x55ff74(0x2fd)](_0x1abc2b){var _0x5d691b=_0x55ff74,_0x2e4422,_0x2421f5;const _0x58a096=this[_0x5d691b(0x328)]()+'/'+_0x1abc2b[_0x5d691b(0x3ca)]+_0x5d691b(0x244)+_0x1abc2b[_0x5d691b(0x45b)],_0x16874d=await this['_HTTPService'][_0x5d691b(0x31c)](_0x58a096,{'body':_0x1abc2b});if(((_0x2421f5=(_0x2e4422=_0x16874d==null?void 0x0:_0x16874d[_0x5d691b(0x43b)])==null?void 0x0:_0x2e4422[_0x5d691b(0x35e)])==null?void 0x0:_0x2421f5[_0x5d691b(0x433)])!==0x1)throw new Error(_0x5d691b(0x3d2));}async[_0x55ff74(0x3c1)](_0xfdd49f){var _0x47fa53=_0x55ff74;const _0x85562b=this[_0x47fa53(0x328)]()+'/'+_0xfdd49f[_0x47fa53(0x3ca)]+'/object/'+_0xfdd49f[_0x47fa53(0x45b)]+_0x47fa53(0x465);return(await this['_HTTPService'][_0x47fa53(0x252)](_0x85562b,{'body':_0xfdd49f}))['body'][_0x47fa53(0x182)];}async[_0x55ff74(0x394)](_0x4ffcfe){var _0x38a0cb=_0x55ff74;const _0x180d38=this[_0x38a0cb(0x328)]()+'/-/object/-/batch_allowed';return(await this[_0x38a0cb(0x2dd)][_0x38a0cb(0x252)](_0x180d38,{'body':{'requests':_0x4ffcfe}}))[_0x38a0cb(0x43b)][_0x38a0cb(0x156)];}async[_0x55ff74(0x2cb)](_0x4716df){var _0x51b194=_0x55ff74;const _0xdab08d=this['_getAPIPrefixPath']()+'/'+_0x4716df[_0x51b194(0x3ca)]+_0x51b194(0x3e0),_0x2dc6fa=await this[_0x51b194(0x2dd)][_0x51b194(0x252)](_0xdab08d,{'body':_0x4716df});return{'roles':_0x2dc6fa[_0x51b194(0x43b)][_0x51b194(0x32a)],'actions':_0x2dc6fa[_0x51b194(0x43b)]['actions']};}async[_0x55ff74(0x270)](_0x13647f){var _0x331861=_0x55ff74;const _0x1f3d8d=this[_0x331861(0x328)]()+_0x331861(0x441);await this['_HTTPService'][_0x331861(0x413)](_0x1f3d8d,{'params':{'collaboratorID':_0x13647f[_0x331861(0x2aa)],'objectID':_0x13647f[_0x331861(0x45b)],'unitID':_0x13647f[_0x331861(0x20f)]}});}async[_0x55ff74(0x3df)](_0x283c33){var _0x3fdef0=_0x55ff74;const _0x53b6c3=this['_getAPIPrefixPath']()+_0x3fdef0(0x441);await this[_0x3fdef0(0x2dd)][_0x3fdef0(0x2d3)](_0x53b6c3,{'body':_0x283c33});}async[_0x55ff74(0x112)](_0x392af7){var _0x4708a8=_0x55ff74;const _0x586041=this[_0x4708a8(0x328)]()+_0x4708a8(0x441);await this[_0x4708a8(0x2dd)]['post'](_0x586041,{'body':_0x392af7});}async['listCollaborators'](_0x59c71b){var _0x35be1b=_0x55ff74;const _0x4ede37=this['_getAPIPrefixPath']()+_0x35be1b(0x441);return(await this[_0x35be1b(0x2dd)][_0x35be1b(0x128)](_0x4ede37,{'params':{'objectID':_0x59c71b['objectID'],'unitID':_0x59c71b[_0x35be1b(0x20f)]}}))['body'][_0x35be1b(0x3d8)];}async[_0x55ff74(0x3ba)](_0x5a1e5b){var _0x6aca30=_0x55ff74;const _0x2072a8=this[_0x6aca30(0x328)]()+'/collaborator';await this['_HTTPService'][_0x6aca30(0x31c)](_0x2072a8,{'body':_0x5a1e5b});}},exports[_0x55ff74(0x3a8)]=bi([qe(0x0,a['Inject'](Y['HTTPService'])),qe(0x1,a[_0x55ff74(0x221)](a[_0x55ff74(0x133)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x25b9c0){var _0x2bfc78=_0x55ff74;return _0x25b9c0&&_0x25b9c0[_0x2bfc78(0x474)]&&Object[_0x2bfc78(0x198)][_0x2bfc78(0xfb)][_0x2bfc78(0x12c)](_0x25b9c0,_0x2bfc78(0x2d6))?_0x25b9c0[_0x2bfc78(0x2d6)]:_0x25b9c0;}var fe={'exports':{}};function Oi(_0x456913){var _0x174a59=_0x55ff74;throw new Error(_0x174a59(0x1a8)+_0x456913+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var pe={'exports':{}},yi=pe[_0x55ff74(0x1c3)],ze;function Q(){var _0x2b13c0=_0x55ff74;return ze||(ze=0x1,function(_0x75345f,_0x1557d2){(function(_0x2b5004,_0x484929){var _0x50cf21=_0x3571;_0x75345f[_0x50cf21(0x1c3)]=_0x484929();}(yi,function(){var _0x1bbd77=_0x1bbd77||function(_0x305c6e,_0x15fc25){var _0x56493e=_0x3571,_0xc4996a;if(typeof window<'u'&&window[_0x56493e(0x246)]&&(_0xc4996a=window[_0x56493e(0x246)]),typeof self<'u'&&self[_0x56493e(0x246)]&&(_0xc4996a=self[_0x56493e(0x246)]),typeof globalThis<'u'&&globalThis[_0x56493e(0x246)]&&(_0xc4996a=globalThis[_0x56493e(0x246)]),!_0xc4996a&&typeof window<'u'&&window[_0x56493e(0x34f)]&&(_0xc4996a=window[_0x56493e(0x34f)]),!_0xc4996a&&typeof Pe<'u'&&Pe[_0x56493e(0x246)]&&(_0xc4996a=Pe[_0x56493e(0x246)]),!_0xc4996a&&typeof Oi==_0x56493e(0x2a0))try{_0xc4996a=require(_0x56493e(0x246));}catch{}var _0x1a1c84=function(){var _0x31e509=_0x56493e;if(_0xc4996a){if(typeof _0xc4996a[_0x31e509(0x27f)]==_0x31e509(0x2a0))try{return _0xc4996a[_0x31e509(0x27f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc4996a[_0x31e509(0x412)]==_0x31e509(0x2a0))try{return _0xc4996a[_0x31e509(0x412)](0x4)[_0x31e509(0x111)]();}catch{}}throw new Error(_0x31e509(0x117));},_0x259114=Object[_0x56493e(0x274)]||(function(){function _0x24e903(){}return function(_0x10f457){var _0x4cc4cb=_0x3571,_0x40d999;return _0x24e903[_0x4cc4cb(0x198)]=_0x10f457,_0x40d999=new _0x24e903(),_0x24e903[_0x4cc4cb(0x198)]=null,_0x40d999;};}()),_0x40e8a3={},_0x53d082=_0x40e8a3[_0x56493e(0x20a)]={},_0x27680e=_0x53d082['Base']=(function(){return{'extend':function(_0x4f1847){var _0x3e095c=_0x3571,_0x7fdc6c=_0x259114(this);return _0x4f1847&&_0x7fdc6c[_0x3e095c(0x163)](_0x4f1847),(!_0x7fdc6c['hasOwnProperty']('init')||this[_0x3e095c(0x17f)]===_0x7fdc6c['init'])&&(_0x7fdc6c[_0x3e095c(0x17f)]=function(){var _0x222df0=_0x3e095c;_0x7fdc6c['$super']['init'][_0x222df0(0x2f1)](this,arguments);}),_0x7fdc6c['init']['prototype']=_0x7fdc6c,_0x7fdc6c['$super']=this,_0x7fdc6c;},'create':function(){var _0x45c2f8=_0x3571,_0x487629=this[_0x45c2f8(0x2e4)]();return _0x487629[_0x45c2f8(0x17f)][_0x45c2f8(0x2f1)](_0x487629,arguments),_0x487629;},'init':function(){},'mixIn':function(_0x4737d2){var _0x142212=_0x3571;for(var _0x100614 in _0x4737d2)_0x4737d2['hasOwnProperty'](_0x100614)&&(this[_0x100614]=_0x4737d2[_0x100614]);_0x4737d2['hasOwnProperty'](_0x142212(0x17d))&&(this[_0x142212(0x17d)]=_0x4737d2[_0x142212(0x17d)]);},'clone':function(){var _0x200d86=_0x3571;return this['init'][_0x200d86(0x198)][_0x200d86(0x2e4)](this);}};}()),_0x3ee900=_0x53d082[_0x56493e(0x396)]=_0x27680e['extend']({'init':function(_0x573b3f,_0x28724a){var _0x58d530=_0x56493e;_0x573b3f=this['words']=_0x573b3f||[],_0x28724a!=_0x15fc25?this[_0x58d530(0x18c)]=_0x28724a:this[_0x58d530(0x18c)]=_0x573b3f[_0x58d530(0x305)]*0x4;},'toString':function(_0x34b026){return(_0x34b026||_0x5376de)['stringify'](this);},'concat':function(_0xba9bc5){var _0x2615e9=_0x56493e,_0x78d355=this[_0x2615e9(0x21e)],_0x37f60e=_0xba9bc5['words'],_0x37e702=this[_0x2615e9(0x18c)],_0x17ecb4=_0xba9bc5['sigBytes'];if(this[_0x2615e9(0x346)](),_0x37e702%0x4)for(var _0x113d18=0x0;_0x113d18<_0x17ecb4;_0x113d18++){var _0x5c4b48=_0x37f60e[_0x113d18>>>0x2]>>>0x18-_0x113d18%0x4*0x8&0xff;_0x78d355[_0x37e702+_0x113d18>>>0x2]|=_0x5c4b48<<0x18-(_0x37e702+_0x113d18)%0x4*0x8;}else{for(var _0x34c4da=0x0;_0x34c4da<_0x17ecb4;_0x34c4da+=0x4)_0x78d355[_0x37e702+_0x34c4da>>>0x2]=_0x37f60e[_0x34c4da>>>0x2];}return this[_0x2615e9(0x18c)]+=_0x17ecb4,this;},'clamp':function(){var _0xa287c6=_0x56493e,_0x498217=this[_0xa287c6(0x21e)],_0x2cbebe=this[_0xa287c6(0x18c)];_0x498217[_0x2cbebe>>>0x2]&=0xffffffff<<0x20-_0x2cbebe%0x4*0x8,_0x498217[_0xa287c6(0x305)]=_0x305c6e[_0xa287c6(0x446)](_0x2cbebe/0x4);},'clone':function(){var _0x23542c=_0x56493e,_0x5f4803=_0x27680e[_0x23542c(0x330)][_0x23542c(0x12c)](this);return _0x5f4803[_0x23542c(0x21e)]=this[_0x23542c(0x21e)][_0x23542c(0x472)](0x0),_0x5f4803;},'random':function(_0x1fb56e){for(var _0x432131=[],_0x450810=0x0;_0x450810<_0x1fb56e;_0x450810+=0x4)_0x432131['push'](_0x1a1c84());return new _0x3ee900['init'](_0x432131,_0x1fb56e);}}),_0x532733=_0x40e8a3[_0x56493e(0x19a)]={},_0x5376de=_0x532733[_0x56493e(0x3f5)]={'stringify':function(_0x1eb840){var _0x591991=_0x56493e;for(var _0x594ca9=_0x1eb840[_0x591991(0x21e)],_0x4ff791=_0x1eb840[_0x591991(0x18c)],_0x5ed5b4=[],_0x368923=0x0;_0x368923<_0x4ff791;_0x368923++){var _0x47bcf3=_0x594ca9[_0x368923>>>0x2]>>>0x18-_0x368923%0x4*0x8&0xff;_0x5ed5b4[_0x591991(0x395)]((_0x47bcf3>>>0x4)[_0x591991(0x17d)](0x10)),_0x5ed5b4[_0x591991(0x395)]((_0x47bcf3&0xf)[_0x591991(0x17d)](0x10));}return _0x5ed5b4[_0x591991(0x308)]('');},'parse':function(_0x5156e0){var _0x15501e=_0x56493e;for(var _0x72185d=_0x5156e0[_0x15501e(0x305)],_0x2caf11=[],_0x29f1c5=0x0;_0x29f1c5<_0x72185d;_0x29f1c5+=0x2)_0x2caf11[_0x29f1c5>>>0x3]|=parseInt(_0x5156e0[_0x15501e(0x142)](_0x29f1c5,0x2),0x10)<<0x18-_0x29f1c5%0x8*0x4;return new _0x3ee900['init'](_0x2caf11,_0x72185d/0x2);}},_0x54a9b4=_0x532733['Latin1']={'stringify':function(_0x223c9d){var _0x57ce07=_0x56493e;for(var _0xeacc61=_0x223c9d[_0x57ce07(0x21e)],_0x25eb55=_0x223c9d[_0x57ce07(0x18c)],_0x27bbf2=[],_0x52aa04=0x0;_0x52aa04<_0x25eb55;_0x52aa04++){var _0x1b2556=_0xeacc61[_0x52aa04>>>0x2]>>>0x18-_0x52aa04%0x4*0x8&0xff;_0x27bbf2[_0x57ce07(0x395)](String['fromCharCode'](_0x1b2556));}return _0x27bbf2[_0x57ce07(0x308)]('');},'parse':function(_0x3219ee){var _0x42b48c=_0x56493e;for(var _0x2e7650=_0x3219ee[_0x42b48c(0x305)],_0x4204bc=[],_0x8ce6e2=0x0;_0x8ce6e2<_0x2e7650;_0x8ce6e2++)_0x4204bc[_0x8ce6e2>>>0x2]|=(_0x3219ee[_0x42b48c(0x38b)](_0x8ce6e2)&0xff)<<0x18-_0x8ce6e2%0x4*0x8;return new _0x3ee900[(_0x42b48c(0x17f))](_0x4204bc,_0x2e7650);}},_0x4a117d=_0x532733['Utf8']={'stringify':function(_0x172070){var _0x443a6e=_0x56493e;try{return decodeURIComponent(escape(_0x54a9b4[_0x443a6e(0x2bc)](_0x172070)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x992ac9){var _0x34e42b=_0x56493e;return _0x54a9b4[_0x34e42b(0x29b)](unescape(encodeURIComponent(_0x992ac9)));}},_0x3a65c8=_0x53d082[_0x56493e(0x319)]=_0x27680e['extend']({'reset':function(){var _0x9b4912=_0x56493e;this[_0x9b4912(0x155)]=new _0x3ee900[(_0x9b4912(0x17f))](),this[_0x9b4912(0x230)]=0x0;},'_append':function(_0x1fcfbe){var _0x45c0aa=_0x56493e;typeof _0x1fcfbe==_0x45c0aa(0x10c)&&(_0x1fcfbe=_0x4a117d[_0x45c0aa(0x29b)](_0x1fcfbe)),this[_0x45c0aa(0x155)]['concat'](_0x1fcfbe),this[_0x45c0aa(0x230)]+=_0x1fcfbe[_0x45c0aa(0x18c)];},'_process':function(_0xf78b75){var _0x492d30=_0x56493e,_0x26e2b7,_0x5617e9=this[_0x492d30(0x155)],_0x1e35a2=_0x5617e9[_0x492d30(0x21e)],_0x15f5d8=_0x5617e9[_0x492d30(0x18c)],_0x20b1c2=this['blockSize'],_0x3ff7c3=_0x20b1c2*0x4,_0x4dc556=_0x15f5d8/_0x3ff7c3;_0xf78b75?_0x4dc556=_0x305c6e[_0x492d30(0x446)](_0x4dc556):_0x4dc556=_0x305c6e[_0x492d30(0x1e4)]((_0x4dc556|0x0)-this[_0x492d30(0x1f7)],0x0);var _0x5e58e0=_0x4dc556*_0x20b1c2,_0x3e593b=_0x305c6e['min'](_0x5e58e0*0x4,_0x15f5d8);if(_0x5e58e0){for(var _0x4c1d83=0x0;_0x4c1d83<_0x5e58e0;_0x4c1d83+=_0x20b1c2)this[_0x492d30(0x46f)](_0x1e35a2,_0x4c1d83);_0x26e2b7=_0x1e35a2[_0x492d30(0x2f6)](0x0,_0x5e58e0),_0x5617e9[_0x492d30(0x18c)]-=_0x3e593b;}return new _0x3ee900['init'](_0x26e2b7,_0x3e593b);},'clone':function(){var _0x4125ad=_0x56493e,_0xcb3fea=_0x27680e[_0x4125ad(0x330)][_0x4125ad(0x12c)](this);return _0xcb3fea['_data']=this['_data']['clone'](),_0xcb3fea;},'_minBufferSize':0x0});_0x53d082[_0x56493e(0x35f)]=_0x3a65c8[_0x56493e(0x2e4)]({'cfg':_0x27680e[_0x56493e(0x2e4)](),'init':function(_0x5b3c0a){var _0x3aafb2=_0x56493e;this[_0x3aafb2(0x20e)]=this[_0x3aafb2(0x20e)][_0x3aafb2(0x2e4)](_0x5b3c0a),this[_0x3aafb2(0x12b)]();},'reset':function(){var _0x3212fa=_0x56493e;_0x3a65c8['reset'][_0x3212fa(0x12c)](this),this['_doReset']();},'update':function(_0x343965){var _0x437858=_0x56493e;return this[_0x437858(0x365)](_0x343965),this[_0x437858(0x1c0)](),this;},'finalize':function(_0x2edd34){var _0x57ffe4=_0x56493e;_0x2edd34&&this[_0x57ffe4(0x365)](_0x2edd34);var _0x4d3509=this[_0x57ffe4(0x2af)]();return _0x4d3509;},'blockSize':0x10,'_createHelper':function(_0x5e844e){return function(_0xe61fd6,_0x49cb35){var _0x5e1342=_0x3571;return new _0x5e844e[(_0x5e1342(0x17f))](_0x49cb35)[_0x5e1342(0x17c)](_0xe61fd6);};},'_createHmacHelper':function(_0x4ce5ab){return function(_0x504aef,_0x29db72){var _0x20cad=_0x3571;return new _0x4021a4[(_0x20cad(0x1de))][(_0x20cad(0x17f))](_0x4ce5ab,_0x29db72)[_0x20cad(0x17c)](_0x504aef);};}});var _0x4021a4=_0x40e8a3[_0x56493e(0x10d)]={};return _0x40e8a3;}(Math);return _0x1bbd77;}));}(pe)),pe[_0x2b13c0(0x1c3)];}var Ie={'exports':{}},Ni=Ie[_0x55ff74(0x1c3)],Je;function yt(){return Je||(Je=0x1,function(_0x194f18,_0x3160d7){(function(_0x2e5c12,_0x14c2f5){var _0x13e1fd=_0x3571;_0x194f18[_0x13e1fd(0x1c3)]=_0x14c2f5(Q());}(Ni,function(_0x524bd7){var _0x4821d7=_0x3571;return(function(){var _0x219168=_0x3571,_0x37c8d0=_0x524bd7,_0x5e9257=_0x37c8d0['lib'],_0x17a8d8=_0x5e9257[_0x219168(0x396)],_0x1567e9=_0x37c8d0[_0x219168(0x19a)];_0x1567e9[_0x219168(0x360)]={'stringify':function(_0x48631b){var _0x5865bd=_0x219168,_0x771f1=_0x48631b['words'],_0xe26d2a=_0x48631b[_0x5865bd(0x18c)],_0x19d94e=this[_0x5865bd(0x24f)];_0x48631b['clamp']();for(var _0x4eb0ed=[],_0x72cde6=0x0;_0x72cde6<_0xe26d2a;_0x72cde6+=0x3)for(var _0x4ba91e=_0x771f1[_0x72cde6>>>0x2]>>>0x18-_0x72cde6%0x4*0x8&0xff,_0x2caf2c=_0x771f1[_0x72cde6+0x1>>>0x2]>>>0x18-(_0x72cde6+0x1)%0x4*0x8&0xff,_0x5b8fbc=_0x771f1[_0x72cde6+0x2>>>0x2]>>>0x18-(_0x72cde6+0x2)%0x4*0x8&0xff,_0xc0eb71=_0x4ba91e<<0x10|_0x2caf2c<<0x8|_0x5b8fbc,_0x29d2bd=0x0;_0x29d2bd<0x4&&_0x72cde6+_0x29d2bd*0.75<_0xe26d2a;_0x29d2bd++)_0x4eb0ed['push'](_0x19d94e[_0x5865bd(0x2c6)](_0xc0eb71>>>0x6*(0x3-_0x29d2bd)&0x3f));var _0x5059c7=_0x19d94e[_0x5865bd(0x2c6)](0x40);if(_0x5059c7){for(;_0x4eb0ed['length']%0x4;)_0x4eb0ed['push'](_0x5059c7);}return _0x4eb0ed['join']('');},'parse':function(_0x4f9c06){var _0x5a9376=_0x219168,_0x4c2c33=_0x4f9c06[_0x5a9376(0x305)],_0x2a4e10=this[_0x5a9376(0x24f)],_0x17397d=this[_0x5a9376(0x2d4)];if(!_0x17397d){_0x17397d=this[_0x5a9376(0x2d4)]=[];for(var _0x678824=0x0;_0x678824<_0x2a4e10[_0x5a9376(0x305)];_0x678824++)_0x17397d[_0x2a4e10[_0x5a9376(0x38b)](_0x678824)]=_0x678824;}var _0x275f47=_0x2a4e10[_0x5a9376(0x2c6)](0x40);if(_0x275f47){var _0x2a2210=_0x4f9c06[_0x5a9376(0x24b)](_0x275f47);_0x2a2210!==-0x1&&(_0x4c2c33=_0x2a2210);}return _0x4b97f0(_0x4f9c06,_0x4c2c33,_0x17397d);},'_map':_0x219168(0x11f)};function _0x4b97f0(_0x4e82e5,_0x50daa8,_0x1c8355){var _0x5451e7=_0x219168;for(var _0x41c379=[],_0xba8275=0x0,_0x166d26=0x0;_0x166d26<_0x50daa8;_0x166d26++)if(_0x166d26%0x4){var _0x475cb0=_0x1c8355[_0x4e82e5['charCodeAt'](_0x166d26-0x1)]<<_0x166d26%0x4*0x2,_0x3476ca=_0x1c8355[_0x4e82e5[_0x5451e7(0x38b)](_0x166d26)]>>>0x6-_0x166d26%0x4*0x2,_0xf25747=_0x475cb0|_0x3476ca;_0x41c379[_0xba8275>>>0x2]|=_0xf25747<<0x18-_0xba8275%0x4*0x8,_0xba8275++;}return _0x17a8d8[_0x5451e7(0x274)](_0x41c379,_0xba8275);}}()),_0x524bd7[_0x4821d7(0x19a)][_0x4821d7(0x360)];}));}(Ie)),Ie['exports'];}var ge={'exports':{}},Ui=ge[_0x55ff74(0x1c3)],Xe;function Di(){var _0x142db2=_0x55ff74;return Xe||(Xe=0x1,function(_0x1c6b06,_0x352ae3){(function(_0x42f366,_0x1cd5e5){_0x1c6b06['exports']=_0x1cd5e5(Q());}(Ui,function(_0xede1fe){return function(_0x51ba53){var _0x4ca7e5=_0x3571,_0x276b36=_0xede1fe,_0x32f7eb=_0x276b36[_0x4ca7e5(0x20a)],_0x167f08=_0x32f7eb['WordArray'],_0x42381c=_0x32f7eb[_0x4ca7e5(0x35f)],_0x3602aa=_0x276b36[_0x4ca7e5(0x10d)],_0x197f72=[];(function(){var _0x3a7e02=_0x4ca7e5;for(var _0x3a16b1=0x0;_0x3a16b1<0x40;_0x3a16b1++)_0x197f72[_0x3a16b1]=_0x51ba53[_0x3a7e02(0x180)](_0x51ba53['sin'](_0x3a16b1+0x1))*0x100000000|0x0;}());var _0x508745=_0x3602aa[_0x4ca7e5(0x2d7)]=_0x42381c['extend']({'_doReset':function(){var _0x3066a2=_0x4ca7e5;this[_0x3066a2(0x452)]=new _0x167f08['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5ea5f4,_0x173fee){var _0x369700=_0x4ca7e5;for(var _0x51589a=0x0;_0x51589a<0x10;_0x51589a++){var _0x221554=_0x173fee+_0x51589a,_0x3ee5ee=_0x5ea5f4[_0x221554];_0x5ea5f4[_0x221554]=(_0x3ee5ee<<0x8|_0x3ee5ee>>>0x18)&0xff00ff|(_0x3ee5ee<<0x18|_0x3ee5ee>>>0x8)&0xff00ff00;}var _0x12ae27=this[_0x369700(0x452)][_0x369700(0x21e)],_0x11433b=_0x5ea5f4[_0x173fee+0x0],_0x5ba404=_0x5ea5f4[_0x173fee+0x1],_0x1b1932=_0x5ea5f4[_0x173fee+0x2],_0x50c51f=_0x5ea5f4[_0x173fee+0x3],_0x188be7=_0x5ea5f4[_0x173fee+0x4],_0x41fc04=_0x5ea5f4[_0x173fee+0x5],_0x576171=_0x5ea5f4[_0x173fee+0x6],_0x17005d=_0x5ea5f4[_0x173fee+0x7],_0x4e8d0f=_0x5ea5f4[_0x173fee+0x8],_0x50f618=_0x5ea5f4[_0x173fee+0x9],_0x4bc7a7=_0x5ea5f4[_0x173fee+0xa],_0x44edbd=_0x5ea5f4[_0x173fee+0xb],_0x6ea662=_0x5ea5f4[_0x173fee+0xc],_0x36ac2f=_0x5ea5f4[_0x173fee+0xd],_0x2200af=_0x5ea5f4[_0x173fee+0xe],_0x38c7c2=_0x5ea5f4[_0x173fee+0xf],_0x3ad0cd=_0x12ae27[0x0],_0x223d08=_0x12ae27[0x1],_0x3b246f=_0x12ae27[0x2],_0x4942ca=_0x12ae27[0x3];_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x11433b,0x7,_0x197f72[0x0]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x5ba404,0xc,_0x197f72[0x1]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x1b1932,0x11,_0x197f72[0x2]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x50c51f,0x16,_0x197f72[0x3]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x188be7,0x7,_0x197f72[0x4]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x41fc04,0xc,_0x197f72[0x5]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x576171,0x11,_0x197f72[0x6]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x17005d,0x16,_0x197f72[0x7]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x4e8d0f,0x7,_0x197f72[0x8]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x50f618,0xc,_0x197f72[0x9]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x4bc7a7,0x11,_0x197f72[0xa]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x44edbd,0x16,_0x197f72[0xb]),_0x3ad0cd=_0x31993e(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x6ea662,0x7,_0x197f72[0xc]),_0x4942ca=_0x31993e(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x36ac2f,0xc,_0x197f72[0xd]),_0x3b246f=_0x31993e(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x2200af,0x11,_0x197f72[0xe]),_0x223d08=_0x31993e(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x38c7c2,0x16,_0x197f72[0xf]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x5ba404,0x5,_0x197f72[0x10]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x576171,0x9,_0x197f72[0x11]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x44edbd,0xe,_0x197f72[0x12]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x11433b,0x14,_0x197f72[0x13]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x41fc04,0x5,_0x197f72[0x14]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x4bc7a7,0x9,_0x197f72[0x15]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x38c7c2,0xe,_0x197f72[0x16]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x188be7,0x14,_0x197f72[0x17]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x50f618,0x5,_0x197f72[0x18]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x2200af,0x9,_0x197f72[0x19]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x50c51f,0xe,_0x197f72[0x1a]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x4e8d0f,0x14,_0x197f72[0x1b]),_0x3ad0cd=_0x5927e4(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x36ac2f,0x5,_0x197f72[0x1c]),_0x4942ca=_0x5927e4(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x1b1932,0x9,_0x197f72[0x1d]),_0x3b246f=_0x5927e4(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x17005d,0xe,_0x197f72[0x1e]),_0x223d08=_0x5927e4(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x6ea662,0x14,_0x197f72[0x1f]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x41fc04,0x4,_0x197f72[0x20]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x4e8d0f,0xb,_0x197f72[0x21]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x44edbd,0x10,_0x197f72[0x22]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x2200af,0x17,_0x197f72[0x23]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x5ba404,0x4,_0x197f72[0x24]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x188be7,0xb,_0x197f72[0x25]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x17005d,0x10,_0x197f72[0x26]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x4bc7a7,0x17,_0x197f72[0x27]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x36ac2f,0x4,_0x197f72[0x28]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x11433b,0xb,_0x197f72[0x29]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x50c51f,0x10,_0x197f72[0x2a]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x576171,0x17,_0x197f72[0x2b]),_0x3ad0cd=_0x37d02f(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x50f618,0x4,_0x197f72[0x2c]),_0x4942ca=_0x37d02f(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x6ea662,0xb,_0x197f72[0x2d]),_0x3b246f=_0x37d02f(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x38c7c2,0x10,_0x197f72[0x2e]),_0x223d08=_0x37d02f(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x1b1932,0x17,_0x197f72[0x2f]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x11433b,0x6,_0x197f72[0x30]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x17005d,0xa,_0x197f72[0x31]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x2200af,0xf,_0x197f72[0x32]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x41fc04,0x15,_0x197f72[0x33]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x6ea662,0x6,_0x197f72[0x34]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x50c51f,0xa,_0x197f72[0x35]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x4bc7a7,0xf,_0x197f72[0x36]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x5ba404,0x15,_0x197f72[0x37]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x4e8d0f,0x6,_0x197f72[0x38]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x38c7c2,0xa,_0x197f72[0x39]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x576171,0xf,_0x197f72[0x3a]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x36ac2f,0x15,_0x197f72[0x3b]),_0x3ad0cd=_0x5dc31a(_0x3ad0cd,_0x223d08,_0x3b246f,_0x4942ca,_0x188be7,0x6,_0x197f72[0x3c]),_0x4942ca=_0x5dc31a(_0x4942ca,_0x3ad0cd,_0x223d08,_0x3b246f,_0x44edbd,0xa,_0x197f72[0x3d]),_0x3b246f=_0x5dc31a(_0x3b246f,_0x4942ca,_0x3ad0cd,_0x223d08,_0x1b1932,0xf,_0x197f72[0x3e]),_0x223d08=_0x5dc31a(_0x223d08,_0x3b246f,_0x4942ca,_0x3ad0cd,_0x50f618,0x15,_0x197f72[0x3f]),_0x12ae27[0x0]=_0x12ae27[0x0]+_0x3ad0cd|0x0,_0x12ae27[0x1]=_0x12ae27[0x1]+_0x223d08|0x0,_0x12ae27[0x2]=_0x12ae27[0x2]+_0x3b246f|0x0,_0x12ae27[0x3]=_0x12ae27[0x3]+_0x4942ca|0x0;},'_doFinalize':function(){var _0x4326e6=_0x4ca7e5,_0x9d950a=this['_data'],_0x26a616=_0x9d950a['words'],_0x4283b0=this[_0x4326e6(0x230)]*0x8,_0x49a759=_0x9d950a['sigBytes']*0x8;_0x26a616[_0x49a759>>>0x5]|=0x80<<0x18-_0x49a759%0x20;var _0x3b4db2=_0x51ba53[_0x4326e6(0x2a3)](_0x4283b0/0x100000000),_0x528685=_0x4283b0;_0x26a616[(_0x49a759+0x40>>>0x9<<0x4)+0xf]=(_0x3b4db2<<0x8|_0x3b4db2>>>0x18)&0xff00ff|(_0x3b4db2<<0x18|_0x3b4db2>>>0x8)&0xff00ff00,_0x26a616[(_0x49a759+0x40>>>0x9<<0x4)+0xe]=(_0x528685<<0x8|_0x528685>>>0x18)&0xff00ff|(_0x528685<<0x18|_0x528685>>>0x8)&0xff00ff00,_0x9d950a['sigBytes']=(_0x26a616[_0x4326e6(0x305)]+0x1)*0x4,this[_0x4326e6(0x1c0)]();for(var _0x46c21c=this['_hash'],_0x10fb7f=_0x46c21c['words'],_0x18239e=0x0;_0x18239e<0x4;_0x18239e++){var _0x3b6792=_0x10fb7f[_0x18239e];_0x10fb7f[_0x18239e]=(_0x3b6792<<0x8|_0x3b6792>>>0x18)&0xff00ff|(_0x3b6792<<0x18|_0x3b6792>>>0x8)&0xff00ff00;}return _0x46c21c;},'clone':function(){var _0xc9850f=_0x4ca7e5,_0x200951=_0x42381c[_0xc9850f(0x330)]['call'](this);return _0x200951['_hash']=this[_0xc9850f(0x452)][_0xc9850f(0x330)](),_0x200951;}});function _0x31993e(_0x5adcd3,_0x1dbabf,_0x513ba5,_0x362714,_0x583014,_0x1242cc,_0x4d2d59){var _0x1ae7ff=_0x5adcd3+(_0x1dbabf&_0x513ba5|~_0x1dbabf&_0x362714)+_0x583014+_0x4d2d59;return(_0x1ae7ff<<_0x1242cc|_0x1ae7ff>>>0x20-_0x1242cc)+_0x1dbabf;}function _0x5927e4(_0x3fc373,_0x244a63,_0xdace2c,_0x40f116,_0x5672f1,_0x4baf78,_0x2f01e3){var _0x57f8d5=_0x3fc373+(_0x244a63&_0x40f116|_0xdace2c&~_0x40f116)+_0x5672f1+_0x2f01e3;return(_0x57f8d5<<_0x4baf78|_0x57f8d5>>>0x20-_0x4baf78)+_0x244a63;}function _0x37d02f(_0x3214ce,_0x2f99ea,_0x1f0057,_0x2d1d92,_0x110674,_0x333b70,_0x4c4098){var _0x27200f=_0x3214ce+(_0x2f99ea^_0x1f0057^_0x2d1d92)+_0x110674+_0x4c4098;return(_0x27200f<<_0x333b70|_0x27200f>>>0x20-_0x333b70)+_0x2f99ea;}function _0x5dc31a(_0xa1ea65,_0x1fb250,_0x2429eb,_0xc11b0d,_0xbd1e47,_0x27012b,_0x1e0104){var _0x3a9493=_0xa1ea65+(_0x2429eb^(_0x1fb250|~_0xc11b0d))+_0xbd1e47+_0x1e0104;return(_0x3a9493<<_0x27012b|_0x3a9493>>>0x20-_0x27012b)+_0x1fb250;}_0x276b36[_0x4ca7e5(0x2d7)]=_0x42381c[_0x4ca7e5(0x316)](_0x508745),_0x276b36[_0x4ca7e5(0x2ae)]=_0x42381c[_0x4ca7e5(0x226)](_0x508745);}(Math),_0xede1fe['MD5'];}));}(ge)),ge[_0x142db2(0x1c3)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x18b798=_0x55ff74;return Ze||(Ze=0x1,function(_0x2fa467,_0x4154f2){(function(_0x2882b4,_0x5b82f6){var _0x11dde7=_0x3571;_0x2fa467[_0x11dde7(0x1c3)]=_0x5b82f6(Q());}(Ai,function(_0x543ef1){var _0x155cea=_0x3571;return(function(){var _0x1d54ab=_0x3571,_0x4e776f=_0x543ef1,_0x462e02=_0x4e776f['lib'],_0x55c9be=_0x462e02[_0x1d54ab(0x396)],_0x4aa5=_0x462e02[_0x1d54ab(0x35f)],_0x1b02f8=_0x4e776f[_0x1d54ab(0x10d)],_0x40d549=[],_0x53bd35=_0x1b02f8[_0x1d54ab(0x207)]=_0x4aa5[_0x1d54ab(0x2e4)]({'_doReset':function(){var _0x1c03c6=_0x1d54ab;this[_0x1c03c6(0x452)]=new _0x55c9be[(_0x1c03c6(0x17f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x130a3b,_0xb5f745){var _0x3d7476=_0x1d54ab;for(var _0x5a5a58=this['_hash'][_0x3d7476(0x21e)],_0x305088=_0x5a5a58[0x0],_0x46e329=_0x5a5a58[0x1],_0x3d56ee=_0x5a5a58[0x2],_0xc77eb4=_0x5a5a58[0x3],_0x5ce69a=_0x5a5a58[0x4],_0x3cb87c=0x0;_0x3cb87c<0x50;_0x3cb87c++){if(_0x3cb87c<0x10)_0x40d549[_0x3cb87c]=_0x130a3b[_0xb5f745+_0x3cb87c]|0x0;else{var _0x9e6782=_0x40d549[_0x3cb87c-0x3]^_0x40d549[_0x3cb87c-0x8]^_0x40d549[_0x3cb87c-0xe]^_0x40d549[_0x3cb87c-0x10];_0x40d549[_0x3cb87c]=_0x9e6782<<0x1|_0x9e6782>>>0x1f;}var _0x3c4fec=(_0x305088<<0x5|_0x305088>>>0x1b)+_0x5ce69a+_0x40d549[_0x3cb87c];_0x3cb87c<0x14?_0x3c4fec+=(_0x46e329&_0x3d56ee|~_0x46e329&_0xc77eb4)+0x5a827999:_0x3cb87c<0x28?_0x3c4fec+=(_0x46e329^_0x3d56ee^_0xc77eb4)+0x6ed9eba1:_0x3cb87c<0x3c?_0x3c4fec+=(_0x46e329&_0x3d56ee|_0x46e329&_0xc77eb4|_0x3d56ee&_0xc77eb4)-0x70e44324:_0x3c4fec+=(_0x46e329^_0x3d56ee^_0xc77eb4)-0x359d3e2a,_0x5ce69a=_0xc77eb4,_0xc77eb4=_0x3d56ee,_0x3d56ee=_0x46e329<<0x1e|_0x46e329>>>0x2,_0x46e329=_0x305088,_0x305088=_0x3c4fec;}_0x5a5a58[0x0]=_0x5a5a58[0x0]+_0x305088|0x0,_0x5a5a58[0x1]=_0x5a5a58[0x1]+_0x46e329|0x0,_0x5a5a58[0x2]=_0x5a5a58[0x2]+_0x3d56ee|0x0,_0x5a5a58[0x3]=_0x5a5a58[0x3]+_0xc77eb4|0x0,_0x5a5a58[0x4]=_0x5a5a58[0x4]+_0x5ce69a|0x0;},'_doFinalize':function(){var _0x569ed5=_0x1d54ab,_0x4355cb=this[_0x569ed5(0x155)],_0x165058=_0x4355cb[_0x569ed5(0x21e)],_0x46fdae=this[_0x569ed5(0x230)]*0x8,_0x1d153c=_0x4355cb[_0x569ed5(0x18c)]*0x8;return _0x165058[_0x1d153c>>>0x5]|=0x80<<0x18-_0x1d153c%0x20,_0x165058[(_0x1d153c+0x40>>>0x9<<0x4)+0xe]=Math[_0x569ed5(0x2a3)](_0x46fdae/0x100000000),_0x165058[(_0x1d153c+0x40>>>0x9<<0x4)+0xf]=_0x46fdae,_0x4355cb[_0x569ed5(0x18c)]=_0x165058['length']*0x4,this['_process'](),this[_0x569ed5(0x452)];},'clone':function(){var _0xee81f1=_0x1d54ab,_0x56c492=_0x4aa5[_0xee81f1(0x330)]['call'](this);return _0x56c492[_0xee81f1(0x452)]=this['_hash'][_0xee81f1(0x330)](),_0x56c492;}});_0x4e776f[_0x1d54ab(0x207)]=_0x4aa5['_createHelper'](_0x53bd35),_0x4e776f[_0x1d54ab(0x373)]=_0x4aa5['_createHmacHelper'](_0x53bd35);}()),_0x543ef1[_0x155cea(0x207)];}));}(me)),me[_0x18b798(0x1c3)];}var Ce={'exports':{}},wi=Ce['exports'],Qe;function Li(){var _0x533e74=_0x55ff74;return Qe||(Qe=0x1,function(_0x4dce8c,_0x36120b){(function(_0x1d4a16,_0xc6fddf){var _0x56f3b5=_0x3571;_0x4dce8c[_0x56f3b5(0x1c3)]=_0xc6fddf(Q());}(wi,function(_0x1ffecf){(function(){var _0xa59814=_0x3571,_0x31a1dc=_0x1ffecf,_0x189b42=_0x31a1dc[_0xa59814(0x20a)],_0xc9a959=_0x189b42[_0xa59814(0x387)],_0x202e3e=_0x31a1dc[_0xa59814(0x19a)],_0x4ab9dc=_0x202e3e[_0xa59814(0x455)],_0x421719=_0x31a1dc[_0xa59814(0x10d)];_0x421719[_0xa59814(0x1de)]=_0xc9a959[_0xa59814(0x2e4)]({'init':function(_0x17c5dc,_0x301ef8){var _0x4fd815=_0xa59814;_0x17c5dc=this['_hasher']=new _0x17c5dc[(_0x4fd815(0x17f))](),typeof _0x301ef8==_0x4fd815(0x10c)&&(_0x301ef8=_0x4ab9dc[_0x4fd815(0x29b)](_0x301ef8));var _0x39f344=_0x17c5dc[_0x4fd815(0x1ac)],_0x177c42=_0x39f344*0x4;_0x301ef8[_0x4fd815(0x18c)]>_0x177c42&&(_0x301ef8=_0x17c5dc[_0x4fd815(0x17c)](_0x301ef8)),_0x301ef8[_0x4fd815(0x346)]();for(var _0x5f4b94=this[_0x4fd815(0x3e9)]=_0x301ef8['clone'](),_0x290e9e=this[_0x4fd815(0x42a)]=_0x301ef8[_0x4fd815(0x330)](),_0x2a3bdb=_0x5f4b94[_0x4fd815(0x21e)],_0x28a0ee=_0x290e9e[_0x4fd815(0x21e)],_0x9d6dbf=0x0;_0x9d6dbf<_0x39f344;_0x9d6dbf++)_0x2a3bdb[_0x9d6dbf]^=0x5c5c5c5c,_0x28a0ee[_0x9d6dbf]^=0x36363636;_0x5f4b94[_0x4fd815(0x18c)]=_0x290e9e[_0x4fd815(0x18c)]=_0x177c42,this['reset']();},'reset':function(){var _0x4f2df3=_0xa59814,_0x4ad4e3=this['_hasher'];_0x4ad4e3[_0x4f2df3(0x12b)](),_0x4ad4e3[_0x4f2df3(0x2fd)](this[_0x4f2df3(0x42a)]);},'update':function(_0x3e62e2){var _0x5b141e=_0xa59814;return this[_0x5b141e(0x38d)][_0x5b141e(0x2fd)](_0x3e62e2),this;},'finalize':function(_0x45ae00){var _0x5372c8=_0xa59814,_0x41ff56=this[_0x5372c8(0x38d)],_0x2d57c9=_0x41ff56[_0x5372c8(0x17c)](_0x45ae00);_0x41ff56[_0x5372c8(0x12b)]();var _0x5bedc6=_0x41ff56[_0x5372c8(0x17c)](this[_0x5372c8(0x3e9)]['clone']()['concat'](_0x2d57c9));return _0x5bedc6;}});}());}));}(Ce)),Ce[_0x533e74(0x1c3)];}var Mi=Ee['exports'],et;function Nt(){return et||(et=0x1,function(_0x1c0212,_0x1e4e31){(function(_0x1e087e,_0x4840a7,_0x154c03){var _0x468b52=_0x3571;_0x1c0212[_0x468b52(0x1c3)]=_0x4840a7(Q(),Pi(),Li());}(Mi,function(_0x2c41d7){var _0x3e42f6=_0x3571;return(function(){var _0x715387=_0x3571,_0x25b436=_0x2c41d7,_0x420c73=_0x25b436[_0x715387(0x20a)],_0x4df6c7=_0x420c73[_0x715387(0x387)],_0x15ef06=_0x420c73[_0x715387(0x396)],_0x4ba802=_0x25b436[_0x715387(0x10d)],_0x22f231=_0x4ba802[_0x715387(0x2d7)],_0x3c5eb6=_0x4ba802['EvpKDF']=_0x4df6c7['extend']({'cfg':_0x4df6c7[_0x715387(0x2e4)]({'keySize':0x80/0x20,'hasher':_0x22f231,'iterations':0x1}),'init':function(_0x425d05){var _0x56f094=_0x715387;this[_0x56f094(0x20e)]=this[_0x56f094(0x20e)]['extend'](_0x425d05);},'compute':function(_0x3cfa37,_0x55ac35){var _0x1f3bbe=_0x715387;for(var _0x59e345,_0xb52d8c=this[_0x1f3bbe(0x20e)],_0x4f6866=_0xb52d8c[_0x1f3bbe(0x3ee)][_0x1f3bbe(0x274)](),_0x4641ae=_0x15ef06[_0x1f3bbe(0x274)](),_0x615ed=_0x4641ae[_0x1f3bbe(0x21e)],_0x14717a=_0xb52d8c['keySize'],_0x5c8be6=_0xb52d8c[_0x1f3bbe(0x3d5)];_0x615ed['length']<_0x14717a;){_0x59e345&&_0x4f6866[_0x1f3bbe(0x2fd)](_0x59e345),_0x59e345=_0x4f6866[_0x1f3bbe(0x2fd)](_0x3cfa37)[_0x1f3bbe(0x17c)](_0x55ac35),_0x4f6866[_0x1f3bbe(0x12b)]();for(var _0x1b0c1a=0x1;_0x1b0c1a<_0x5c8be6;_0x1b0c1a++)_0x59e345=_0x4f6866['finalize'](_0x59e345),_0x4f6866['reset']();_0x4641ae[_0x1f3bbe(0x263)](_0x59e345);}return _0x4641ae['sigBytes']=_0x14717a*0x4,_0x4641ae;}});_0x25b436[_0x715387(0x260)]=function(_0x27a9f2,_0x4a637c,_0x50c6ca){var _0x2dd02b=_0x715387;return _0x3c5eb6[_0x2dd02b(0x274)](_0x50c6ca)[_0x2dd02b(0x17a)](_0x27a9f2,_0x4a637c);};}()),_0x2c41d7[_0x3e42f6(0x260)];}));}(Ee)),Ee['exports'];}function _0x12dd(){var _0x241630=['retryConnectingInterval','@univerjs/core','INVITE_CODE_HAS_BEEN_UES','allowed','_emitMembers','JOIN','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CLOSE_ROOM','UNAUTHENTICATED','baseRev','_onRemoteACK','collaMsg','objectType','image/jpg','ENSURE_SNAPSHOT_EXECUTION','LICENSE_EXPORT_SIZE_EXCEEDED','NoPadding','__Key__','OFFLINE','PERSON','Failed\x20to\x20update\x20permission\x20point','resolve','UNDEFINED','iterations','_revisionService','CollaborationSession','collaborators','_retryCount','sendChangesetTimeout','_resendTimer','changesets','Plugin','encryptBlock','updateCollaborator','/role','requestParams','encode','isTransformMutationsWithChangesetSuccess','decrypt','INGEST','&source=','PasswordBasedCipher','NO_OTHER_CLIENTS_EDITING','_oKey','@univerjs-pro/collaboration','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Decryptor','image/jpeg','hasher','?size=','symbol','JOINING','state','appendMutation','getCurrentUser','Hex','infoRsp','_transformStateCache','/universer-api/snapshot','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LIVESHARE_TERMINATE','COLLAB_SUBMIT_CHANGESET_URL','CHANGESET_SHOULD_RETRY','IPermissionService','HttpExport','getLatestCsReqIdBySid','_eventService','sheets','_transformService','ERROR_EXCEED_SIZE','_getUndoStack','/universer-api/uniscript','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','serializeCombRequest','open$','_telemetryInfo','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','FAIL','[DataLoaderService]','CollaborationSessionService','map','_toggleOnline','TOO_MANY_REQUESTS','unitId','randomBytes','delete','unpad','YUUMI_URL_COL_OUT_OF_RANGE','ivSize','getTime','take','_initUnitPermissionChange','_transformSelections','executeCommand','set','keySize','LOCAL_CACHE_INTERVAL','forEach','LEAVE','_onConnectionFailed','title','_injector','subUnitId','_getRedoStack','HELLO','loginUrlKey','getTypeOfUnitDisposed$','_incrementRevisionNumber','_iKey','ReplaySubject','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','setShowComponents','commentUpdate$','_changesetReqId','closeSession','INVALID_INVITE_CODE','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','code','UniverNetworkPlugin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','POST','FetchingMissState','INetworkConditionService','members$','onTransformRemoteChangesetByIMECache','body','image/gif','workbook','UNIVER_DOC','_remoteChangesetQueue','subject','/collaborator','awaiting_with_pending','CompressMutationService','_onConflict','_submitChangeset','ceil','setCurrentUser','toggleOffline','_univerInstanceService','HttpImport','fetchThroughInterceptors','_startCollaboration','list','append','c1Prime','getSnapshotAPIPath','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_hash','onMissingChangesets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Utf8','copyFileMeta','Error\x20on\x20receiving\x20event','_doReset','_sendHeartbeatTimer','CollaborationEntity','objectID','onlyLocal','_prevBlock','WECHAT_HAS_BEEN_BOUND','b64DecodeUnicode','WorkbookEditablePermission','_getLoginPath','LIVESHARE_FETCH_OPERATIONS','status','HEARTBEAT_INTERVAL','/allowed','_lockTransition','_nRounds','_substituteUndoStack','ILogService','_keySchedule','42DJDNvQ','eventID','ILocalCacheService','shareReplay','_doProcessBlock','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SUCCUSS','slice','SUBMIT_CHANGESET','__esModule','message$','{fileID}','reverse','removeMember','YUUMI_SUBSCRIPTION_NOT_FOUND','_snapshotServerService','CommentService','_resendWithTimeout','permissionRejEvent','mutations','40utTDCk','_onFetchMissResult','UNRECOGNIZED','processBlock','EmptyMutation','_changesetSessionId','socket\x20close','PendingState','hasOwnProperty','_scheduleCompleteTimestamp','_updateStatus','_shouldReportTelemetry','_onUserLeave','_listenToNetworkCondition','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HEARTBEAT','SNAPSHOT_SERVER_URL_KEY','_onRemoteRetry','params','getUnitType','_key','getFocusedUnit','DEFAULT_WS_SESSION_TICKET_URL','pending','parseProtocolChangeset','string','algo','DocCollaborationEntity','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','readInt32LE','createCollaborator','[OfflineState]:\x20received\x20changeset.','x-univer-host','ONLINE','_parse','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','userID','IImageIoService','isArray','reduce','CHANGESET_REVISION_CONFILICT','_startTelemetryCollaborationNewChangeset','_onUserJoin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','COLLAB_WEB_SOCKET_URL_KEY','editing\x20status\x20changed\x20to','_initRequestHeader','_state','getAllMembers','UNIVER_PROJECT','salt','[FetchMissState]','get','ALREADY_EXISTS','/universer-api/snapshot/','reset','call','_applyRemoteChangeset','_roomMembers','getTypeOfUnitAdded$','[CollaborationState]:\x20apply\x20error!','range','Cipher','IConfigService','_memberService','_stopTelemetryCollaborationNewChangeset','_collabSessionService','_entityInit$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RxDisposable','INVITE_CODE_REQUIRED','registerDependencies','format','reject','data','unit-cache-','onRemoteAck','c2Prime','substr','JOIN_ROOM_PERMISSION_DENIED','joinEvent','UnitSnapshot','liveShareNewHost','CONFLICT','MemberService','setConfig','has','snapshotServerUrl','result','[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.','_tryEnsureSocket','startTime','confirm','SheetsSelectionsService','DataLoaderService','_candidateSocket','CONNECTOR_DATA_TOO_LARGE','_data','objectActions','_resendTimeout','fromCollab','_keyPriorReset','_schedule','_replaceFileID','mapDocumentTypeToUniverType','toggleOnline','HEARTBEAT_TIMEOUT','reconnect','_commentUpdate$','_handlerCallback','HTTPService','mixIn','LocaleService','FileId','replace','[CollaborationUndoRedoService]','@univerjs/telemetry','_status$','createDecryptor','Subject','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','repeat','add','\x20in\x20_schedule.','_collaborationUIEventService','CollaborativeUndoRedoService','getCurrentRevOfUnit','_redoStacks','dispose','_waitForHeartbeatResponse','state$','onTransformSelections','_permissionService','_compressMutationService','compute','LICENSE_DISTRO_REJECTED','finalize','toString','CHANGESET_REJ','init','abs','_socketReady','actions','_onLocalMutation','/universer-api/oidc/authpage','RECV','getUnitId','filter','_onJoinRoomEvent','_getSignURL','startsWith','padding','sigBytes','UNKNOWN_CODE','101646VwagjU','\x20-\x20','_ENC_XFORM_MODE','complete','url','ERROR_IMAGE','_substituteRedoStack','_onOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UnitStatus','prototype','loadOfflineData','enc','Injector','_throwTelemetryCollaborationNewChangeset','_onRemoteRejected','APPLY_REVISION_CONFILICT','random','_config','Encryptor','image/png','compose','_transformIMECache','session.join-failed','_socket$','collaboration_new_changeset','Could\x20not\x20dynamically\x20require\x20\x22','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformRemoteChangesetByIMECache','rev','blockSize','localeService','reqId','PSEUDO_FETCH_MISSING_RESULT','_exhaustRemoteChangesetQueue','_getAPIPrefix','ConflictState','_entities','textRanges','COLLAB_WEB_SOCKET_URL','USERS_ENTER','_socket','IAuthzIoService','selections','[OfflineState]:\x20received\x20rejection.','ThresholdInterceptorFactory','getInterceptPoints','_instanceService','_disableEditing','every','_process','CommandType','withCredentials','exports','_sendingTimer','leaveEvent','UserProfileImg','_telemetryService','sid','defineProperty','dispose$','@univerjs/sheets','merge','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','action','AES','onStateChange','OTHER_CLIENT_EDITING','_handler','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_isPermissionRej','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','touchDependencies','@univerjs-pro/license','SessionStatus','awaiting','IMentionIOService','YUUMI_AI_RUN_FAILED','resend','CollaborationImageIoService','HMAC','GLOBAL_ROOMS_CNT_EXCEEDS','now','size','cmd','memberID','max','getImage','getUnit','_httpService','transformMutationsWithChangeset','[CollaborationSessionService]:\x20socket\x20error','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_URL_KEY','_localCacheService','isPermissionRej','telemetry\x20info\x20is\x20not\x20initialized','unitId\x20is\x20not\x20found','find','APPLY_DUPLICATED','_createInitialStateImpl','next','refreshPermission','deserializeToCombResponse','SerializableCipher','_minBufferSize','?url=','event$','_initCloseConn','onTransformRemoteChangesetByStateCache','ITransformService','_checkMissing','pauseCollaboration','catch','_updateState','_sender','AwaitingWithPendingState','YUUMI_RATE_OVER_LIMIT','UNKNOWN_CMD','_unitID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SHA1','CollaborationEvent','UNIVER_SHEET','lib','send','SOCKET_FAILED','_onMessage','cfg','unitID','ws://127.0.0.1:8000/universer-api/comb/connect','DisposableCollection','RETRY_CONNECTING_MAX_COUNT_KEY','CollaborationUIEventId','SOCKET_FAILED_RETRY','/universer-api/authz','isInternalEditorID','_doCryptBlock','name','UNISCRIPT_RUN','conflict','APPLY_PERMISSION_DENIED','firstValueFrom','_unlockTransition','words','originalMeta','signUrlServerUrl','Inject','saveImage','_init','getOwnPropertyDescriptor','loadDoc','_createHmacHelper','unknown','EMAIL_HAS_BEEN_BOUND','/object','SheetCollaborationEntity','CBC','fetchMiss','csRejEvent','_createSocket','UPDATE_PERMISSION_OBJ','_nDataBytes','_type','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ICollaborationSocketService','CollaborationController','People','275254warvsI','YUUMI_NO_CUBOID_FOR_QUESTION','routeKey','requireSession','createIdentifier','_removeRoom','97846NkUMhI','updateOfflineData','_DEC_XFORM_MODE','location','_commentService','ImageUploadStatusType','onSendChangeset','mode','/object/','method','crypto','transformUndoRedo','97986yNgeWA','MSG_FOR_ERROR','BASE64','indexOf','_clearUndo','_logService','SnapshotServerOverHTTPService','_map','mergeOverrideWithDependencies','updatePermissionPoint','post','CollaborationSocketService','Workbook','type','AwaitingState','session.room-not-exists','COMPRESS_MUTATION_SEND','subscribe','[CollaborationEntity]','_imageSourceCache','change$','emitEvent','LOGIN_URL_KEY','rxjs','EvpKDF','_socketMessageSubscription','SYNCED','concat','auth.needGotoLoginAlert','BehaviorSubject','CollaborationUIEventService','_getCurrentRevision','Rectangle','members','getMemberID','/unit/','transformStack\x20failed!','_clearTimeoutTimer','_configService','isTransformChangesetsSuccess','deleteCollaborator','/universer-api/file/{fileID}/sign-url','UniverInstanceType','_transformStack','create','_clearLocalCache','save\x20fail\x20reason\x20is\x20','setWaitCount','YUUMI_UNABLE_LOAD_URL','NEW_CHANGESETS','StreamCipher','enableAuthServer','_transformUndoredo','_clearRedo','ImageSourceType','getRandomValues','fetchMissingChangesets','responseType','NOT_FOUND','getRoom','_invKeySchedule','_localeService','_updateLocalCache','toDisposable','JOIN_ROOM_FAILED','session.room-permission-denied','clear','4005056BWADBs','_registerDependencies','SUBMIT_CHANGESET_TIMEOUT','getDeserializedSheetBlock','updatePermissionObjEvent','_pendingMutations','onTransformState','_replayCachedMutations','[CollaborationSessionService]','_joinRoom','m2Prime','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client-socket-service','/universer-api/user/session-ticket','Optional','saveSheetBlock','parse','_commandService','INVALID_ARGUMENT','_transitionLocked','revision','function','_timeoutTimer','includes','floor','disposeWithMe','_onRemoteChangeset','_clearCollaborationTimeoutTimer','16SliOsn','getValue','encrypt','collaboratorID','onRemoteChangeset','LOGIN_FAILED','shouldCloseConn','HmacMD5','_doFinalize','OfflineState','entityInit$','SnapshotService','_undoRedoService','connection\x20error','SEND_CHANGESET_TIMEOUT_KEY','override','href','MergeInterceptorFactory','stopTime','createEncryptor','CipherParams','stringify','MentionIoHttpService','ciphertext','enableOfflineEditing','_members','key','UniverCollaborationPlugin','APPLY_REJECT','LIVESHARE_REQUEST_HOST','_getSendChangesetTimeout','charAt','_members$','_doCreateSocket','getMember','_executeRemoteChangeset','listRoles','onRemoteRej','2YMFrIJ','_getUploadFileURL','[PendingState]:\x20received\x20rejection.','_onConnectionOpen','fetching\x20missing\x20changesets\x20from\x20','pad','patch','_reverseMap','[SyncedState]:\x20received\x20rejection.','default','MD5','Undefined','_collaborationSessionService','_collaborationTimeoutTimer','csAckEvent','\x20to\x20','_HTTPService','_mode','CHANGESET_ACK','_waitCount','_userManagerService','src','INVITE_CODE_ALREADY_BOUND','extend','_clearScheduledTask','/-/object/-/batch_allowed','_scheduleCollaborationTimeoutTimer','localCacheService','_collaborationPaused','FETCH_MISS','[PendingState]:\x20received\x20acknowledgement.','_state$','/universer-api/comb','getGlobalObject','_queuedRemoteChangesets','Disposable','apply','downloadEndpointUrl','not_collab','AWAITING_WITH_PENDING','SetSelectionsOperation','splice','online$','debug','synced','csShouldRetryEvent','IUndoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','update','headers','_initMergeInterceptor','updateMember','APPLY_NON_SEQUENTIAL_REVISION','avatar','onRemoteRetry','LICENSE_MAX_UNITS_EXCEEDED','length','Quantity','[CollaborationSession]','join','session.room-full','UNIVER_UNKNOWN','_socketService','getUnitOnRev','RichTextEditingMutation','close$','/block/','getActiveSheet','status$','INTERNAL_ERROR','2184897vbxGQm','transformSelections','uploadFileServerUrl','_createHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','from','BufferedBlockAlgorithm','UniverCollaborationClientPlugin','MUTATION','put','session','_cipher','equals','isTransformMutationsWithChangesetFailure','toStringTag','PY_RUNTIME_SCRIPT_ERROR','_initDependencies','\x0aAfter:\x20','incrementRevOfUnit','sessionStatus$','OTHER_CLIENTS_EDITING','_getAPIPrefixPath','RevisionService','roles','USER_NOT_INVITED_CODE','hostname','UPDATE_CURSOR','_awaitingChangeset','enableSingleActiveInstanceLock','clone','kdf','unitInfo$','JOIN_ROOM_NOT_EXISTS','fromCharCode','collabWebSocketUrl','takeUntil','PERMISSION_DENIED','PENDING','_acknowledgedAwaitingChangeset','_change$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pipe','target','focused$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','onSyncEditingCollabCursor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_toggleOffline','_getCtorByUniverType','/fetchmissing?from=','PERMISSION_REJ','clamp','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','failed\x20to\x20apply\x20missed\x20changesets!','onMissedChangesetFetched','awaitingChangeset','getResourcesRequest','socketService','origin','AWAITING','msCrypto','enableCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','UnitEmbedded','_unitInfo$','error$','MentionType','YUUMI_ALL_TABLES_IS_INVALID','registerHTTPInterceptor','pluginName','&to=','IUniverInstanceService','_singleActiveUnitService','execute','IDLE','error','Hasher','Base64','HTTPRequest','sessionStatus','_clearRetryConnectingTimer','_sessions','_append','_xformMode','buffer','_sendHeartbeat','COMMENT_UPDATE','_sessionStatus$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_syncEditingCollabCursor','LIVESHARE_OPERATION','_getDownloadEndpointURL','JOIN_ROOM_FULL','delay','_retryConnectingTimer','saveSnapshot','HmacSHA1','IContextService','editingUnit','updateSnapshot','_createHandler','transformChangesets','_showConflictNotification','USERS_LEAVE','_event$','Pkcs7','fetch_missing','ITelemetryService','asObservable','createInstance','initWorkbookPermissionChange','ISocketService','683815ANgkwK','_tryReconnect','AUTHZ_URL_KEY','parseChangesetToProtocol','Base','getConfig','SHOULD_CLOSE_CONN','onLocalMutation','charCodeAt','_iv','_hasher','ISnapshotServerService','_transformRemoteChangesetByStateCache','offline','_onRecvEvent','_sheetTransformSelectionsService','ICommandService','batchAllowed','push','WordArray','MOBILE_HAS_BEEN_BOUND','_roomCreated$','collaboration-client.local-cache-service','SyncedState','onStarting','rxjs/operators','COMPRESS_MUTATION_APPLY','NOT_COLLAB','textEncoder','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_rescheduleHeartbeat','SheetTransformSelectionsService','onCommandExecuted','_decreaseWaiting','_snapshotService','[UniverCollaborationClientPlugin]','generateRandomId','AuthzIoHttpService','_networkConditionService','ERROR_IMAGE_TYPE','_createInitialState','__creator','onTransformIME','interceptor','LICENSE_IMPORT_SIZE_EXCEEDED','LIVESHARE_NEW_HOST','_onCombEvent','close','UNIVER_SLIDE','SEND_CHANGESET_TIMEOUT','_fetchMissChangesets','decryptBlock','unsubscribe','YUUMI_ASYNCIO_CANCELLED','Tools','putCollaborators','getImageSourceCache','_clearHeartbeatTimer','OpenSSL'];_0x12dd=function(){return _0x241630;};return _0x12dd();}var Te={'exports':{}},xi=Te[_0x55ff74(0x1c3)],tt;function Ut(){var _0x1b7054=_0x55ff74;return tt||(tt=0x1,function(_0x195e21,_0x501721){(function(_0x25c7ff,_0x56baa5,_0x1f04c4){var _0x20094b=_0x3571;_0x195e21[_0x20094b(0x1c3)]=_0x56baa5(Q(),Nt());}(xi,function(_0x52fcdb){var _0x2d9687=_0x3571;_0x52fcdb[_0x2d9687(0x20a)][_0x2d9687(0x132)]||function(_0x18900c){var _0x213dcd=_0x2d9687,_0x32355b=_0x52fcdb,_0x1b5193=_0x32355b[_0x213dcd(0x20a)],_0x20f151=_0x1b5193[_0x213dcd(0x387)],_0x1222ad=_0x1b5193[_0x213dcd(0x396)],_0x5b7e25=_0x1b5193[_0x213dcd(0x319)],_0x39977c=_0x32355b[_0x213dcd(0x19a)];_0x39977c[_0x213dcd(0x455)];var _0x367484=_0x39977c[_0x213dcd(0x360)],_0x1b6ea8=_0x32355b[_0x213dcd(0x10d)],_0x4133cb=_0x1b6ea8[_0x213dcd(0x260)],_0x139f91=_0x1b5193['Cipher']=_0x5b7e25[_0x213dcd(0x2e4)]({'cfg':_0x20f151[_0x213dcd(0x2e4)](),'createEncryptor':function(_0x2d4572,_0x3f7041){var _0x4d9a11=_0x213dcd;return this['create'](this[_0x4d9a11(0x190)],_0x2d4572,_0x3f7041);},'createDecryptor':function(_0x17356f,_0x21963f){var _0x12b0a1=_0x213dcd;return this['create'](this[_0x12b0a1(0x23e)],_0x17356f,_0x21963f);},'init':function(_0x52b21e,_0x57bd77,_0x11208c){var _0x222e2a=_0x213dcd;this[_0x222e2a(0x20e)]=this[_0x222e2a(0x20e)][_0x222e2a(0x2e4)](_0x11208c),this[_0x222e2a(0x366)]=_0x52b21e,this['_key']=_0x57bd77,this[_0x222e2a(0x12b)]();},'reset':function(){var _0x30fbcf=_0x213dcd;_0x5b7e25[_0x30fbcf(0x12b)][_0x30fbcf(0x12c)](this),this[_0x30fbcf(0x458)]();},'process':function(_0xfe8ae1){var _0x5e6ee3=_0x213dcd;return this[_0x5e6ee3(0x365)](_0xfe8ae1),this[_0x5e6ee3(0x1c0)]();},'finalize':function(_0x40685e){var _0x3f9a78=_0x213dcd;_0x40685e&&this[_0x3f9a78(0x365)](_0x40685e);var _0x12a6d1=this['_doFinalize']();return _0x12a6d1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ffd9b(_0x1f6205){var _0x1b580e=_0x3571;return typeof _0x1f6205==_0x1b580e(0x10c)?_0x4dad1a:_0x19d47b;}return function(_0x55873e){return{'encrypt':function(_0x106c23,_0x4f0745,_0x2b570f){var _0x39ca05=_0x3571;return _0x2ffd9b(_0x4f0745)[_0x39ca05(0x2a9)](_0x55873e,_0x106c23,_0x4f0745,_0x2b570f);},'decrypt':function(_0x7138e7,_0x5a3482,_0x33b8e7){var _0xf2d533=_0x3571;return _0x2ffd9b(_0x5a3482)[_0xf2d533(0x3e4)](_0x55873e,_0x7138e7,_0x5a3482,_0x33b8e7);}};};}())});_0x1b5193[_0x213dcd(0x27a)]=_0x139f91['extend']({'_doFinalize':function(){var _0x2d623a=_0x213dcd,_0x203cb7=this[_0x2d623a(0x1c0)](!0x0);return _0x203cb7;},'blockSize':0x1});var _0x12b0b4=_0x32355b[_0x213dcd(0x243)]={},_0x152da1=_0x1b5193['BlockCipherMode']=_0x20f151[_0x213dcd(0x2e4)]({'createEncryptor':function(_0x951972,_0x1833c8){var _0x5e99d7=_0x213dcd;return this['Encryptor'][_0x5e99d7(0x274)](_0x951972,_0x1833c8);},'createDecryptor':function(_0x2a44fd,_0x28f15c){var _0x160cde=_0x213dcd;return this['Decryptor'][_0x160cde(0x274)](_0x2a44fd,_0x28f15c);},'init':function(_0x37192f,_0x49fadb){var _0x443339=_0x213dcd;this[_0x443339(0x31e)]=_0x37192f,this['_iv']=_0x49fadb;}}),_0x526969=_0x12b0b4[_0x213dcd(0x22b)]=(function(){var _0x2858e9=_0x213dcd,_0x2b796d=_0x152da1[_0x2858e9(0x2e4)]();_0x2b796d[_0x2858e9(0x1a1)]=_0x2b796d['extend']({'processBlock':function(_0x5cdd87,_0xa87621){var _0x1bb816=_0x2858e9,_0x129169=this[_0x1bb816(0x31e)],_0x1de35c=_0x129169[_0x1bb816(0x1ac)];_0x47081b['call'](this,_0x5cdd87,_0xa87621,_0x1de35c),_0x129169[_0x1bb816(0x3de)](_0x5cdd87,_0xa87621),this['_prevBlock']=_0x5cdd87[_0x1bb816(0x472)](_0xa87621,_0xa87621+_0x1de35c);}}),_0x2b796d[_0x2858e9(0x3ec)]=_0x2b796d[_0x2858e9(0x2e4)]({'processBlock':function(_0x43ab3a,_0x3be9cf){var _0x3a440f=_0x2858e9,_0x325c70=this[_0x3a440f(0x31e)],_0x514a06=_0x325c70[_0x3a440f(0x1ac)],_0x3cd222=_0x43ab3a[_0x3a440f(0x472)](_0x3be9cf,_0x3be9cf+_0x514a06);_0x325c70[_0x3a440f(0x3b6)](_0x43ab3a,_0x3be9cf),_0x47081b[_0x3a440f(0x12c)](this,_0x43ab3a,_0x3be9cf,_0x514a06),this[_0x3a440f(0x45d)]=_0x3cd222;}});function _0x47081b(_0x4574c2,_0x3ff15d,_0x3c1e93){var _0x4935e3=_0x2858e9,_0x4b6523,_0x1bed96=this['_iv'];_0x1bed96?(_0x4b6523=_0x1bed96,this[_0x4935e3(0x38c)]=_0x18900c):_0x4b6523=this[_0x4935e3(0x45d)];for(var _0x19728a=0x0;_0x19728a<_0x3c1e93;_0x19728a++)_0x4574c2[_0x3ff15d+_0x19728a]^=_0x4b6523[_0x19728a];}return _0x2b796d;}()),_0xe8a7dc=_0x32355b['pad']={},_0x1f7460=_0xe8a7dc[_0x213dcd(0x37c)]={'pad':function(_0x397d80,_0x10cc4f){var _0x340659=_0x213dcd;for(var _0x318f80=_0x10cc4f*0x4,_0x361498=_0x318f80-_0x397d80[_0x340659(0x18c)]%_0x318f80,_0x2bb931=_0x361498<<0x18|_0x361498<<0x10|_0x361498<<0x8|_0x361498,_0x2d3899=[],_0x2b6d2d=0x0;_0x2b6d2d<_0x361498;_0x2b6d2d+=0x4)_0x2d3899['push'](_0x2bb931);var _0x44f6bc=_0x1222ad[_0x340659(0x274)](_0x2d3899,_0x361498);_0x397d80[_0x340659(0x263)](_0x44f6bc);},'unpad':function(_0x1dc94b){var _0x87ec3e=_0x213dcd,_0x4b0a4a=_0x1dc94b[_0x87ec3e(0x21e)][_0x1dc94b[_0x87ec3e(0x18c)]-0x1>>>0x2]&0xff;_0x1dc94b[_0x87ec3e(0x18c)]-=_0x4b0a4a;}};_0x1b5193['BlockCipher']=_0x139f91[_0x213dcd(0x2e4)]({'cfg':_0x139f91[_0x213dcd(0x20e)]['extend']({'mode':_0x526969,'padding':_0x1f7460}),'reset':function(){var _0x1d0e88=_0x213dcd,_0x199306;_0x139f91['reset'][_0x1d0e88(0x12c)](this);var _0x2eec2b=this['cfg'],_0x331724=_0x2eec2b['iv'],_0x1e3823=_0x2eec2b[_0x1d0e88(0x243)];this['_xformMode']==this[_0x1d0e88(0x190)]?_0x199306=_0x1e3823[_0x1d0e88(0x2ba)]:(_0x199306=_0x1e3823['createDecryptor'],this[_0x1d0e88(0x1f7)]=0x1),this['_mode']&&this[_0x1d0e88(0x2de)][_0x1d0e88(0x3ac)]==_0x199306?this[_0x1d0e88(0x2de)][_0x1d0e88(0x17f)](this,_0x331724&&_0x331724[_0x1d0e88(0x21e)]):(this[_0x1d0e88(0x2de)]=_0x199306[_0x1d0e88(0x12c)](_0x1e3823,this,_0x331724&&_0x331724[_0x1d0e88(0x21e)]),this[_0x1d0e88(0x2de)]['__creator']=_0x199306);},'_doProcessBlock':function(_0x19fce1,_0xa24714){var _0x4e75f6=_0x213dcd;this[_0x4e75f6(0x2de)][_0x4e75f6(0xf6)](_0x19fce1,_0xa24714);},'_doFinalize':function(){var _0x48107d=_0x213dcd,_0x3be707,_0x4ef3c6=this['cfg'][_0x48107d(0x18b)];return this[_0x48107d(0x366)]==this[_0x48107d(0x190)]?(_0x4ef3c6[_0x48107d(0x2d2)](this[_0x48107d(0x155)],this['blockSize']),_0x3be707=this[_0x48107d(0x1c0)](!0x0)):(_0x3be707=this[_0x48107d(0x1c0)](!0x0),_0x4ef3c6[_0x48107d(0x414)](_0x3be707)),_0x3be707;},'blockSize':0x80/0x20});var _0x59709e=_0x1b5193[_0x213dcd(0x2bb)]=_0x20f151['extend']({'init':function(_0x51e4e5){var _0x5970df=_0x213dcd;this[_0x5970df(0x163)](_0x51e4e5);},'toString':function(_0x4f307b){var _0xa4dad3=_0x213dcd;return(_0x4f307b||this['formatter'])[_0xa4dad3(0x2bc)](this);}}),_0x42e402=_0x32355b[_0x213dcd(0x13c)]={},_0x344df3=_0x42e402[_0x213dcd(0x3bd)]={'stringify':function(_0x30e7fd){var _0x279739=_0x213dcd,_0x477843,_0x34f779=_0x30e7fd[_0x279739(0x2be)],_0x410e65=_0x30e7fd[_0x279739(0x126)];return _0x410e65?_0x477843=_0x1222ad[_0x279739(0x274)]([0x53616c74,0x65645f5f])['concat'](_0x410e65)['concat'](_0x34f779):_0x477843=_0x34f779,_0x477843[_0x279739(0x17d)](_0x367484);},'parse':function(_0x1bf0e6){var _0x236e65=_0x213dcd,_0x16a6ca,_0x46b380=_0x367484[_0x236e65(0x29b)](_0x1bf0e6),_0x14c7c7=_0x46b380[_0x236e65(0x21e)];return _0x14c7c7[0x0]==0x53616c74&&_0x14c7c7[0x1]==0x65645f5f&&(_0x16a6ca=_0x1222ad[_0x236e65(0x274)](_0x14c7c7[_0x236e65(0x472)](0x2,0x4)),_0x14c7c7[_0x236e65(0x2f6)](0x0,0x4),_0x46b380['sigBytes']-=0x10),_0x59709e[_0x236e65(0x274)]({'ciphertext':_0x46b380,'salt':_0x16a6ca});}},_0x19d47b=_0x1b5193[_0x213dcd(0x1f6)]=_0x20f151[_0x213dcd(0x2e4)]({'cfg':_0x20f151['extend']({'format':_0x344df3}),'encrypt':function(_0x32d65f,_0x383cc6,_0x5504b6,_0x224b56){var _0x5b7727=_0x213dcd;_0x224b56=this[_0x5b7727(0x20e)][_0x5b7727(0x2e4)](_0x224b56);var _0x8f11f9=_0x32d65f[_0x5b7727(0x2ba)](_0x5504b6,_0x224b56),_0x2b9f36=_0x8f11f9[_0x5b7727(0x17c)](_0x383cc6),_0x253527=_0x8f11f9[_0x5b7727(0x20e)];return _0x59709e[_0x5b7727(0x274)]({'ciphertext':_0x2b9f36,'key':_0x5504b6,'iv':_0x253527['iv'],'algorithm':_0x32d65f,'mode':_0x253527[_0x5b7727(0x243)],'padding':_0x253527[_0x5b7727(0x18b)],'blockSize':_0x32d65f[_0x5b7727(0x1ac)],'formatter':_0x224b56[_0x5b7727(0x13c)]});},'decrypt':function(_0x101664,_0x5e9fdd,_0x1006fa,_0x4621fc){var _0x48aea8=_0x213dcd;_0x4621fc=this['cfg'][_0x48aea8(0x2e4)](_0x4621fc),_0x5e9fdd=this[_0x48aea8(0x116)](_0x5e9fdd,_0x4621fc[_0x48aea8(0x13c)]);var _0x24ad1a=_0x101664[_0x48aea8(0x16a)](_0x1006fa,_0x4621fc)[_0x48aea8(0x17c)](_0x5e9fdd[_0x48aea8(0x2be)]);return _0x24ad1a;},'_parse':function(_0x4dcbc9,_0x5e7121){var _0x4903f8=_0x213dcd;return typeof _0x4dcbc9==_0x4903f8(0x10c)?_0x5e7121[_0x4903f8(0x29b)](_0x4dcbc9,this):_0x4dcbc9;}}),_0x587e51=_0x32355b[_0x213dcd(0x331)]={},_0x5e89b7=_0x587e51[_0x213dcd(0x3bd)]={'execute':function(_0x47838c,_0x41e1a5,_0x40b2d7,_0x2be1cf,_0x466c68){var _0x23209a=_0x213dcd;if(_0x2be1cf||(_0x2be1cf=_0x1222ad[_0x23209a(0x19f)](0x40/0x8)),_0x466c68)var _0x416744=_0x4133cb[_0x23209a(0x274)]({'keySize':_0x41e1a5+_0x40b2d7,'hasher':_0x466c68})[_0x23209a(0x17a)](_0x47838c,_0x2be1cf);else var _0x416744=_0x4133cb[_0x23209a(0x274)]({'keySize':_0x41e1a5+_0x40b2d7})[_0x23209a(0x17a)](_0x47838c,_0x2be1cf);var _0x3e5b16=_0x1222ad['create'](_0x416744[_0x23209a(0x21e)][_0x23209a(0x472)](_0x41e1a5),_0x40b2d7*0x4);return _0x416744[_0x23209a(0x18c)]=_0x41e1a5*0x4,_0x59709e['create']({'key':_0x416744,'iv':_0x3e5b16,'salt':_0x2be1cf});}},_0x4dad1a=_0x1b5193[_0x213dcd(0x3e7)]=_0x19d47b[_0x213dcd(0x2e4)]({'cfg':_0x19d47b[_0x213dcd(0x20e)][_0x213dcd(0x2e4)]({'kdf':_0x5e89b7}),'encrypt':function(_0x2eee4e,_0x28cc71,_0x1d7c5c,_0x37c3ee){var _0x54d2c6=_0x213dcd;_0x37c3ee=this[_0x54d2c6(0x20e)][_0x54d2c6(0x2e4)](_0x37c3ee);var _0x26f2ad=_0x37c3ee[_0x54d2c6(0x331)][_0x54d2c6(0x35c)](_0x1d7c5c,_0x2eee4e[_0x54d2c6(0x41d)],_0x2eee4e[_0x54d2c6(0x416)],_0x37c3ee['salt'],_0x37c3ee[_0x54d2c6(0x3ee)]);_0x37c3ee['iv']=_0x26f2ad['iv'];var _0x4e4aa4=_0x19d47b[_0x54d2c6(0x2a9)]['call'](this,_0x2eee4e,_0x28cc71,_0x26f2ad[_0x54d2c6(0x2c1)],_0x37c3ee);return _0x4e4aa4[_0x54d2c6(0x163)](_0x26f2ad),_0x4e4aa4;},'decrypt':function(_0x44360a,_0x25dd01,_0x58dc71,_0x1e9942){var _0x8fb35=_0x213dcd;_0x1e9942=this[_0x8fb35(0x20e)][_0x8fb35(0x2e4)](_0x1e9942),_0x25dd01=this[_0x8fb35(0x116)](_0x25dd01,_0x1e9942[_0x8fb35(0x13c)]);var _0x464736=_0x1e9942['kdf'][_0x8fb35(0x35c)](_0x58dc71,_0x44360a[_0x8fb35(0x41d)],_0x44360a[_0x8fb35(0x416)],_0x25dd01[_0x8fb35(0x126)],_0x1e9942['hasher']);_0x1e9942['iv']=_0x464736['iv'];var _0x2b686b=_0x19d47b[_0x8fb35(0x3e4)][_0x8fb35(0x12c)](this,_0x44360a,_0x25dd01,_0x464736[_0x8fb35(0x2c1)],_0x1e9942);return _0x2b686b;}});}();}));}(Te)),Te[_0x1b7054(0x1c3)];}var ki=fe[_0x55ff74(0x1c3)],it;function Hi(){var _0x16d0e7=_0x55ff74;return it||(it=0x1,function(_0x52e640,_0x285a32){(function(_0x10ced2,_0x3f0b8d,_0x5b7af6){_0x52e640['exports']=_0x3f0b8d(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x53265){var _0x3a92ba=_0x3571;return(function(){var _0x4e8682=_0x3571,_0xf1c505=_0x53265,_0x510bbb=_0xf1c505[_0x4e8682(0x20a)],_0x19a9b8=_0x510bbb['BlockCipher'],_0x20cfca=_0xf1c505[_0x4e8682(0x10d)],_0x3592d9=[],_0x605548=[],_0x44cac1=[],_0x2bc784=[],_0x3991bf=[],_0x1befcb=[],_0x3ab72f=[],_0x31e3a4=[],_0x19e4a3=[],_0x543303=[];(function(){for(var _0x1dcaea=[],_0x159d05=0x0;_0x159d05<0x100;_0x159d05++)_0x159d05<0x80?_0x1dcaea[_0x159d05]=_0x159d05<<0x1:_0x1dcaea[_0x159d05]=_0x159d05<<0x1^0x11b;for(var _0x1f5338=0x0,_0x3282cb=0x0,_0x159d05=0x0;_0x159d05<0x100;_0x159d05++){var _0x52d5df=_0x3282cb^_0x3282cb<<0x1^_0x3282cb<<0x2^_0x3282cb<<0x3^_0x3282cb<<0x4;_0x52d5df=_0x52d5df>>>0x8^_0x52d5df&0xff^0x63,_0x3592d9[_0x1f5338]=_0x52d5df,_0x605548[_0x52d5df]=_0x1f5338;var _0x2f1649=_0x1dcaea[_0x1f5338],_0x5e00df=_0x1dcaea[_0x2f1649],_0x1287c4=_0x1dcaea[_0x5e00df],_0x4eae40=_0x1dcaea[_0x52d5df]*0x101^_0x52d5df*0x1010100;_0x44cac1[_0x1f5338]=_0x4eae40<<0x18|_0x4eae40>>>0x8,_0x2bc784[_0x1f5338]=_0x4eae40<<0x10|_0x4eae40>>>0x10,_0x3991bf[_0x1f5338]=_0x4eae40<<0x8|_0x4eae40>>>0x18,_0x1befcb[_0x1f5338]=_0x4eae40;var _0x4eae40=_0x1287c4*0x1010101^_0x5e00df*0x10001^_0x2f1649*0x101^_0x1f5338*0x1010100;_0x3ab72f[_0x52d5df]=_0x4eae40<<0x18|_0x4eae40>>>0x8,_0x31e3a4[_0x52d5df]=_0x4eae40<<0x10|_0x4eae40>>>0x10,_0x19e4a3[_0x52d5df]=_0x4eae40<<0x8|_0x4eae40>>>0x18,_0x543303[_0x52d5df]=_0x4eae40,_0x1f5338?(_0x1f5338=_0x2f1649^_0x1dcaea[_0x1dcaea[_0x1dcaea[_0x1287c4^_0x2f1649]]],_0x3282cb^=_0x1dcaea[_0x1dcaea[_0x3282cb]]):_0x1f5338=_0x3282cb=0x1;}}());var _0x4dd73d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5aa67c=_0x20cfca[_0x4e8682(0x1cf)]=_0x19a9b8[_0x4e8682(0x2e4)]({'_doReset':function(){var _0x5a9db6=_0x4e8682,_0x42f886;if(!(this[_0x5a9db6(0x467)]&&this[_0x5a9db6(0x159)]===this[_0x5a9db6(0x107)])){for(var _0x5c75e9=this['_keyPriorReset']=this[_0x5a9db6(0x107)],_0x206d51=_0x5c75e9['words'],_0x20c2c8=_0x5c75e9['sigBytes']/0x4,_0x3490f3=this[_0x5a9db6(0x467)]=_0x20c2c8+0x6,_0x4e4f5c=(_0x3490f3+0x1)*0x4,_0x47cef2=this[_0x5a9db6(0x46a)]=[],_0x3cb472=0x0;_0x3cb472<_0x4e4f5c;_0x3cb472++)_0x3cb472<_0x20c2c8?_0x47cef2[_0x3cb472]=_0x206d51[_0x3cb472]:(_0x42f886=_0x47cef2[_0x3cb472-0x1],_0x3cb472%_0x20c2c8?_0x20c2c8>0x6&&_0x3cb472%_0x20c2c8==0x4&&(_0x42f886=_0x3592d9[_0x42f886>>>0x18]<<0x18|_0x3592d9[_0x42f886>>>0x10&0xff]<<0x10|_0x3592d9[_0x42f886>>>0x8&0xff]<<0x8|_0x3592d9[_0x42f886&0xff]):(_0x42f886=_0x42f886<<0x8|_0x42f886>>>0x18,_0x42f886=_0x3592d9[_0x42f886>>>0x18]<<0x18|_0x3592d9[_0x42f886>>>0x10&0xff]<<0x10|_0x3592d9[_0x42f886>>>0x8&0xff]<<0x8|_0x3592d9[_0x42f886&0xff],_0x42f886^=_0x4dd73d[_0x3cb472/_0x20c2c8|0x0]<<0x18),_0x47cef2[_0x3cb472]=_0x47cef2[_0x3cb472-_0x20c2c8]^_0x42f886);for(var _0x574d75=this[_0x5a9db6(0x284)]=[],_0x2fac8c=0x0;_0x2fac8c<_0x4e4f5c;_0x2fac8c++){var _0x3cb472=_0x4e4f5c-_0x2fac8c;if(_0x2fac8c%0x4)var _0x42f886=_0x47cef2[_0x3cb472];else var _0x42f886=_0x47cef2[_0x3cb472-0x4];_0x2fac8c<0x4||_0x3cb472<=0x4?_0x574d75[_0x2fac8c]=_0x42f886:_0x574d75[_0x2fac8c]=_0x3ab72f[_0x3592d9[_0x42f886>>>0x18]]^_0x31e3a4[_0x3592d9[_0x42f886>>>0x10&0xff]]^_0x19e4a3[_0x3592d9[_0x42f886>>>0x8&0xff]]^_0x543303[_0x3592d9[_0x42f886&0xff]];}}},'encryptBlock':function(_0x1b8011,_0x514093){var _0x2ff1c7=_0x4e8682;this[_0x2ff1c7(0x217)](_0x1b8011,_0x514093,this[_0x2ff1c7(0x46a)],_0x44cac1,_0x2bc784,_0x3991bf,_0x1befcb,_0x3592d9);},'decryptBlock':function(_0x8810db,_0x185759){var _0x28a0df=_0x8810db[_0x185759+0x1];_0x8810db[_0x185759+0x1]=_0x8810db[_0x185759+0x3],_0x8810db[_0x185759+0x3]=_0x28a0df,this['_doCryptBlock'](_0x8810db,_0x185759,this['_invKeySchedule'],_0x3ab72f,_0x31e3a4,_0x19e4a3,_0x543303,_0x605548);var _0x28a0df=_0x8810db[_0x185759+0x1];_0x8810db[_0x185759+0x1]=_0x8810db[_0x185759+0x3],_0x8810db[_0x185759+0x3]=_0x28a0df;},'_doCryptBlock':function(_0x38b858,_0x27a949,_0x25b874,_0xb1a20e,_0x5be870,_0x536df1,_0x156d29,_0x6b254){var _0x1bbeaa=_0x4e8682;for(var _0x569c39=this[_0x1bbeaa(0x467)],_0x295ec6=_0x38b858[_0x27a949]^_0x25b874[0x0],_0x2065bd=_0x38b858[_0x27a949+0x1]^_0x25b874[0x1],_0x71509c=_0x38b858[_0x27a949+0x2]^_0x25b874[0x2],_0x173933=_0x38b858[_0x27a949+0x3]^_0x25b874[0x3],_0x4e6da0=0x4,_0x1545cb=0x1;_0x1545cb<_0x569c39;_0x1545cb++){var _0x7bde05=_0xb1a20e[_0x295ec6>>>0x18]^_0x5be870[_0x2065bd>>>0x10&0xff]^_0x536df1[_0x71509c>>>0x8&0xff]^_0x156d29[_0x173933&0xff]^_0x25b874[_0x4e6da0++],_0x2afedc=_0xb1a20e[_0x2065bd>>>0x18]^_0x5be870[_0x71509c>>>0x10&0xff]^_0x536df1[_0x173933>>>0x8&0xff]^_0x156d29[_0x295ec6&0xff]^_0x25b874[_0x4e6da0++],_0x5a57cd=_0xb1a20e[_0x71509c>>>0x18]^_0x5be870[_0x173933>>>0x10&0xff]^_0x536df1[_0x295ec6>>>0x8&0xff]^_0x156d29[_0x2065bd&0xff]^_0x25b874[_0x4e6da0++],_0x243a0b=_0xb1a20e[_0x173933>>>0x18]^_0x5be870[_0x295ec6>>>0x10&0xff]^_0x536df1[_0x2065bd>>>0x8&0xff]^_0x156d29[_0x71509c&0xff]^_0x25b874[_0x4e6da0++];_0x295ec6=_0x7bde05,_0x2065bd=_0x2afedc,_0x71509c=_0x5a57cd,_0x173933=_0x243a0b;}var _0x7bde05=(_0x6b254[_0x295ec6>>>0x18]<<0x18|_0x6b254[_0x2065bd>>>0x10&0xff]<<0x10|_0x6b254[_0x71509c>>>0x8&0xff]<<0x8|_0x6b254[_0x173933&0xff])^_0x25b874[_0x4e6da0++],_0x2afedc=(_0x6b254[_0x2065bd>>>0x18]<<0x18|_0x6b254[_0x71509c>>>0x10&0xff]<<0x10|_0x6b254[_0x173933>>>0x8&0xff]<<0x8|_0x6b254[_0x295ec6&0xff])^_0x25b874[_0x4e6da0++],_0x5a57cd=(_0x6b254[_0x71509c>>>0x18]<<0x18|_0x6b254[_0x173933>>>0x10&0xff]<<0x10|_0x6b254[_0x295ec6>>>0x8&0xff]<<0x8|_0x6b254[_0x2065bd&0xff])^_0x25b874[_0x4e6da0++],_0x243a0b=(_0x6b254[_0x173933>>>0x18]<<0x18|_0x6b254[_0x295ec6>>>0x10&0xff]<<0x10|_0x6b254[_0x2065bd>>>0x8&0xff]<<0x8|_0x6b254[_0x71509c&0xff])^_0x25b874[_0x4e6da0++];_0x38b858[_0x27a949]=_0x7bde05,_0x38b858[_0x27a949+0x1]=_0x2afedc,_0x38b858[_0x27a949+0x2]=_0x5a57cd,_0x38b858[_0x27a949+0x3]=_0x243a0b;},'keySize':0x100/0x20});_0xf1c505['AES']=_0x19a9b8[_0x4e8682(0x316)](_0x5aa67c);}()),_0x53265[_0x3a92ba(0x1cf)];}));}(fe)),fe[_0x16d0e7(0x1c3)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x1fa170=_0x55ff74;return rt||(rt=0x1,function(_0x480bae,_0x540d37){(function(_0x43d5be,_0x34c0e7){var _0x5d1fa9=_0x3571;_0x480bae[_0x5d1fa9(0x1c3)]=_0x34c0e7(Q());}(Fi,function(_0x10355d){var _0x3c6797=_0x3571;return _0x10355d['enc'][_0x3c6797(0x455)];}));}(be)),be[_0x1fa170(0x1c3)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re['exports'],st;function Yi(){var _0x5a107d=_0x55ff74;return st||(st=0x1,function(_0x1cb449,_0x3adb46){(function(_0xfc9d49,_0x222c44){var _0x4facf0=_0x3571;_0x1cb449[_0x4facf0(0x1c3)]=_0x222c44(Q());}(Ki,function(_0x582cba){var _0x90a24b=_0x3571;return(function(){var _0x6cd2eb=_0x3571;if(typeof ArrayBuffer==_0x6cd2eb(0x2a0)){var _0x3842b2=_0x582cba,_0x1b84c7=_0x3842b2[_0x6cd2eb(0x20a)],_0x31a8b2=_0x1b84c7['WordArray'],_0x4433eb=_0x31a8b2[_0x6cd2eb(0x17f)],_0x552b9b=_0x31a8b2['init']=function(_0x547267){var _0x3e168c=_0x6cd2eb;if(_0x547267 instanceof ArrayBuffer&&(_0x547267=new Uint8Array(_0x547267)),(_0x547267 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x547267 instanceof Uint8ClampedArray||_0x547267 instanceof Int16Array||_0x547267 instanceof Uint16Array||_0x547267 instanceof Int32Array||_0x547267 instanceof Uint32Array||_0x547267 instanceof Float32Array||_0x547267 instanceof Float64Array)&&(_0x547267=new Uint8Array(_0x547267[_0x3e168c(0x367)],_0x547267['byteOffset'],_0x547267['byteLength'])),_0x547267 instanceof Uint8Array){for(var _0x50c2ad=_0x547267['byteLength'],_0x3e7f02=[],_0x1f9a3a=0x0;_0x1f9a3a<_0x50c2ad;_0x1f9a3a++)_0x3e7f02[_0x1f9a3a>>>0x2]|=_0x547267[_0x1f9a3a]<<0x18-_0x1f9a3a%0x4*0x8;_0x4433eb[_0x3e168c(0x12c)](this,_0x3e7f02,_0x50c2ad);}else _0x4433eb[_0x3e168c(0x2f1)](this,arguments);};_0x552b9b[_0x6cd2eb(0x198)]=_0x31a8b2;}}()),_0x582cba[_0x90a24b(0x20a)][_0x90a24b(0x396)];}));}(Re)),Re[_0x5a107d(0x1c3)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x55ff74(0x1c3)],ot;function Xi(){var _0x227c62=_0x55ff74;return ot||(ot=0x1,function(_0x4b54bf,_0x1d37fd){(function(_0xf92dae,_0x4c38b7,_0x33b12f){var _0x2f7ff8=_0x3571;_0x4b54bf[_0x2f7ff8(0x1c3)]=_0x4c38b7(Q(),Ut());}(Ji,function(_0x5b7948){var _0x5a11ec=_0x3571;return _0x5b7948[_0x5a11ec(0x2d2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5b7948[_0x5a11ec(0x2d2)][_0x5a11ec(0x3ce)];}));}(Oe)),Oe[_0x227c62(0x1c3)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x4e572d,_0x436bb8){var _0xeecf3f=_0x55ff74;const _0x2b2b7d=_0x436bb8-_0x4e572d[_0xeecf3f(0x305)]%_0x436bb8,_0x1a618c=String[_0xeecf3f(0x334)](_0x2b2b7d)[_0xeecf3f(0x16d)](_0x2b2b7d);return _0x4e572d+_0x1a618c;}function tn(_0x49b69e,_0x6f64bf){var _0xa532e0=_0x55ff74;const _0x4634e0=zi[_0xa532e0(0x19f)](0x10),_0x4defb0=en(_0x49b69e,0x10),_0x14bba1=ji[_0xa532e0(0x2a9)](Gi[_0xa532e0(0x29b)](_0x4defb0),nt['parse'](_0x6f64bf),{'iv':_0x4634e0,'padding':Qi});return _0x4634e0['concat'](_0x14bba1['ciphertext'])[_0xa532e0(0x17d)](nt);}function nn(){var _0x1052f5=_0x55ff74;const _0x38e0f0=wt[_0x1052f5(0x2ee)]()[_0x1052f5(0x3cf)];if(_0x38e0f0){const _0x4efd4c={'time':Math[_0x1052f5(0x2a3)](Date['now']()/0x3e8),'domain':location[_0x1052f5(0x32c)]};return tn(JSON[_0x1052f5(0x2bc)](_0x4efd4c),_0x38e0f0);}}var rn=Object[_0x55ff74(0x224)],sn=(_0x22d5c2,_0x1a004c,_0x37f691,_0x568430)=>{var _0x27ae9f=_0x55ff74;for(var _0x1519b6=_0x568430>0x1?void 0x0:_0x568430?rn(_0x1a004c,_0x37f691):_0x1a004c,_0x16b5f5=_0x22d5c2[_0x27ae9f(0x305)]-0x1,_0x4049fa;_0x16b5f5>=0x0;_0x16b5f5--)(_0x4049fa=_0x22d5c2[_0x16b5f5])&&(_0x1519b6=_0x4049fa(_0x1519b6)||_0x1519b6);return _0x1519b6;},on=(_0x7a0689,_0x513a18)=>(_0x40ca86,_0x591806)=>_0x513a18(_0x40ca86,_0x591806,_0x7a0689);let Ne=class{constructor(_0x22edd3){this['_httpService']=_0x22edd3,this['_initRequestHeader']();}[_0x55ff74(0x122)](){var _0x263d72=_0x55ff74;this[_0x263d72(0x1e7)]['registerHTTPInterceptor']({'interceptor':(_0x37ee1b,_0x366da1)=>{var _0x52e3f9=_0x263d72;const _0x26dbe6=_0x37ee1b[_0x52e3f9(0x2fe)],_0x40c867=nn();return _0x40c867&&_0x26dbe6[_0x52e3f9(0x41c)](_0x52e3f9(0x114),_0x40c867),_0x366da1(_0x37ee1b);}});}};Ne=sn([on(0x0,a[_0x55ff74(0x221)](Y['HTTPService']))],Ne);var an=Object[_0x55ff74(0x224)],cn=(_0x196d29,_0x2b192d,_0x46cfa6,_0x12f370)=>{var _0x555135=_0x55ff74;for(var _0x12b0a7=_0x12f370>0x1?void 0x0:_0x12f370?an(_0x2b192d,_0x46cfa6):_0x2b192d,_0x369093=_0x196d29[_0x555135(0x305)]-0x1,_0x49a8df;_0x369093>=0x0;_0x369093--)(_0x49a8df=_0x196d29[_0x369093])&&(_0x12b0a7=_0x49a8df(_0x12b0a7)||_0x12b0a7);return _0x12b0a7;},we=(_0x3bab8c,_0x5e6d24)=>(_0x2fd4b4,_0x5e737f)=>_0x5e6d24(_0x2fd4b4,_0x5e737f,_0x3bab8c);exports[_0x55ff74(0x152)]=class extends a['RxDisposable']{constructor(_0xc9bd66,_0x29c088,_0x3d1df7){var _0x13cc63=_0x55ff74;super(),A(this,_0x13cc63(0x353),new $['BehaviorSubject'](null)),A(this,_0x13cc63(0x332),this[_0x13cc63(0x353)]['asObservable']()),(this[_0x13cc63(0x24d)]=_0xc9bd66,this[_0x13cc63(0x3a5)]=_0x29c088,this['_localCacheService']=_0x3d1df7);}async['loadUnitOfRevision'](_0x4dc47d,_0x1ffea8,_0x4d4d09){var _0x47129f=_0x55ff74;this['_unitInfo$'][_0x47129f(0x1f3)]({'unitId':_0x4dc47d,'type':_0x1ffea8});let _0x1247bc=null;switch(_0x1ffea8){case J[_0x47129f(0x209)]:{_0x1247bc=await this['_snapshotService']['loadSheet'](_0x4dc47d,_0x4d4d09);break;}case J[_0x47129f(0x43e)]:{_0x1247bc=await this['_snapshotService'][_0x47129f(0x225)](_0x4dc47d,_0x4d4d09);break;}default:{this['_logService'][_0x47129f(0x35e)](_0x47129f(0x40c),_0x47129f(0x3f9));break;}}return _0x1247bc;}async['loadUnit'](_0x43fc3a,_0x1cd990,_0x526a37){var _0x5ad86e=_0x55ff74,_0x5d488a;this[_0x5ad86e(0x353)][_0x5ad86e(0x1f3)]({'unitId':_0x43fc3a,'type':_0x1cd990,'subUnitId':_0x526a37});let _0x9b0e39=0x0;const _0x3c88c5=await((_0x5d488a=this['_localCacheService'])==null?void 0x0:_0x5d488a['loadOfflineData'](_0x43fc3a));return _0x3c88c5&&(_0x3c88c5[_0x5ad86e(0x34a)]||_0x3c88c5[_0x5ad86e(0x47e)][_0x5ad86e(0x305)]!==0x0)&&(_0x9b0e39=_0x3c88c5[_0x5ad86e(0x1ab)]),_0x9b0e39===0x0&&this['_logService'][_0x5ad86e(0x2f8)](_0x5ad86e(0x40c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x43fc3a,_0x1cd990,_0x9b0e39);}},exports['DataLoaderService']=cn([we(0x0,a[_0x55ff74(0x469)]),we(0x1,a[_0x55ff74(0x221)](I[_0x55ff74(0x2b2)])),we(0x2,a[_0x55ff74(0x299)](q))],exports[_0x55ff74(0x152)]);var hn=Object[_0x55ff74(0x224)],_n=(_0x527ede,_0x28861c,_0x32dd4a,_0x661c34)=>{var _0x4bb06c=_0x55ff74;for(var _0x282d99=_0x661c34>0x1?void 0x0:_0x661c34?hn(_0x28861c,_0x32dd4a):_0x28861c,_0x3aee95=_0x527ede[_0x4bb06c(0x305)]-0x1,_0xbe3ccf;_0x3aee95>=0x0;_0x3aee95--)(_0xbe3ccf=_0x527ede[_0x3aee95])&&(_0x282d99=_0xbe3ccf(_0x282d99)||_0x282d99);return _0x282d99;},Le=(_0x8af5a5,_0xb9efdc)=>(_0x65c113,_0x59ff91)=>_0xb9efdc(_0x65c113,_0x59ff91,_0x8af5a5);const ln=[_0x55ff74(0x1a2),_0x55ff74(0x3ed),_0x55ff74(0x3cb),_0x55ff74(0x43c),'image/bmp'],un=0x5*0x400*0x400,dn=_0x55ff74(0x1d5),vn='/universer-api/stream/file/upload',Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x55ff74(0x271);exports[_0x55ff74(0x1dd)]=class{constructor(_0x10e777,_0x378c82,_0x2a7d97){var _0x257c20=_0x55ff74;A(this,_0x257c20(0x2e0),0x0),A(this,_0x257c20(0x33a),new $[(_0x257c20(0x16b))]()),A(this,_0x257c20(0x25c),this[_0x257c20(0x33a)]),A(this,_0x257c20(0x25b),new Map()),(this[_0x257c20(0x1e7)]=_0x10e777,this[_0x257c20(0x26e)]=_0x378c82,this[_0x257c20(0x449)]=_0x2a7d97);}[_0x55ff74(0x277)](_0x5a116d){var _0x595e2f=_0x55ff74;this['_waitCount']=_0x5a116d,this[_0x595e2f(0x33a)][_0x595e2f(0x1f3)](_0x5a116d);}[_0x55ff74(0x3bb)](_0x27fd02,_0x168609){var _0x469470=_0x55ff74;if(_0x168609===z[_0x469470(0x27e)][_0x469470(0x24a)]){const _0x5b49ac=new Image();return _0x5b49ac[_0x469470(0x2e2)]=_0x27fd02,_0x5b49ac;}return this[_0x469470(0x25b)][_0x469470(0x128)](_0x27fd02);}['addImageSourceCache'](_0x18218c,_0x504e52,_0x161d1d){var _0x40b3f7=_0x55ff74;_0x504e52===z[_0x40b3f7(0x27e)]['BASE64']||_0x161d1d==null||this[_0x40b3f7(0x25b)][_0x40b3f7(0x41c)](_0x18218c,_0x161d1d);}async[_0x55ff74(0x1e5)](_0x23c5f3){var _0x424b99=_0x55ff74;try{const _0xb2a345=this[_0x424b99(0x15b)](this[_0x424b99(0x189)](),''+_0x23c5f3),_0x4b488e=(await this['_httpService'][_0x424b99(0x128)](_0xb2a345))[_0x424b99(0x43b)];if(_0x4b488e['error']&&_0x4b488e[_0x424b99(0x35e)][_0x424b99(0x433)]===gt['OK']){const _0x5c46b5=new URL(_0x4b488e[_0x424b99(0x192)],this[_0x424b99(0x36e)]())[_0x424b99(0x17d)]();return Promise[_0x424b99(0x3d3)](_0x5c46b5);}return Promise[_0x424b99(0x13d)](_0x4b488e['error']);}catch(_0x4da059){return Promise[_0x424b99(0x13d)](_0x4da059);}}async[_0x55ff74(0x222)](_0x1ee1b2){var _0x22b6ab=_0x55ff74;let _0x19ec94='';if(!ln[_0x22b6ab(0x2a2)](_0x1ee1b2['type']))return this[_0x22b6ab(0x3a4)](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x3aa)]));if(_0x1ee1b2[_0x22b6ab(0x1e1)]>un)return this['_decreaseWaiting'](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x403)]));try{const _0x3cc8e9=new FormData();_0x3cc8e9[_0x22b6ab(0x44e)]('file',_0x1ee1b2);const _0xc1e868=this[_0x22b6ab(0x449)][_0x22b6ab(0x108)](),_0x46a5d1=_0xc1e868==null?void 0x0:_0xc1e868[_0x22b6ab(0x186)]();if(!_0x46a5d1)throw new Error(_0x22b6ab(0x1ef));const _0x2e4131=this[_0x22b6ab(0x2ce)]()+_0x22b6ab(0x3ef)+_0x1ee1b2[_0x22b6ab(0x1e1)][_0x22b6ab(0x17d)]()+_0x22b6ab(0x3e6)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x46a5d1),_0x41d4cb={'body':_0x3cc8e9},_0x1af12b=(await this['_httpService']['post'](_0x2e4131,_0x41d4cb))[_0x22b6ab(0x43b)];if(typeof _0x1af12b[_0x22b6ab(0x165)]!=_0x22b6ab(0x10c))return this[_0x22b6ab(0x3a4)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x22b6ab(0x193)]));_0x19ec94=_0x1af12b[_0x22b6ab(0x165)];}catch{return this[_0x22b6ab(0x3a4)](),Promise[_0x22b6ab(0x13d)](new Error(z[_0x22b6ab(0x241)][_0x22b6ab(0x193)]));}return new Promise((_0x285110,_0x1a7fcb)=>{const _0x228bea=new FileReader();_0x228bea['readAsDataURL'](_0x1ee1b2),_0x228bea['onload']=_0x20162b=>{var _0x573d4e=_0x3571,_0x4540b5;const _0x747577=(_0x4540b5=_0x20162b[_0x573d4e(0x33d)])==null?void 0x0:_0x4540b5[_0x573d4e(0x14c)];if(_0x747577==null){this[_0x573d4e(0x3a4)](),_0x1a7fcb(new Error(z[_0x573d4e(0x241)][_0x573d4e(0x193)]));return;}const _0x170197=a['Tools'][_0x573d4e(0x3a7)](0x6);_0x285110({'imageId':_0x170197,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x19ec94,'base64Cache':_0x747577,'status':z[_0x573d4e(0x241)][_0x573d4e(0x471)]}),this['_decreaseWaiting']();};});}[_0x55ff74(0x2ce)](){var _0x24cc80=_0x55ff74,_0x5bd52c,_0x1840b0;const _0x5e3ee3=this[_0x24cc80(0x26e)]['getConfig'](dn),_0x55aed3=this[_0x24cc80(0x26e)][_0x24cc80(0x388)](K);return(_0x1840b0=(_0x5bd52c=_0x55aed3==null?void 0x0:_0x55aed3[_0x24cc80(0x315)])!=null?_0x5bd52c:_0x5e3ee3)!=null?_0x1840b0:vn;}[_0x55ff74(0x189)](){var _0x35d540=_0x55ff74,_0x1582fa,_0x21ed42;const _0x473f56=this[_0x35d540(0x26e)][_0x35d540(0x388)](Sn),_0x2704d5=this[_0x35d540(0x26e)][_0x35d540(0x388)](K);return(_0x21ed42=(_0x1582fa=_0x2704d5==null?void 0x0:_0x2704d5[_0x35d540(0x220)])!=null?_0x1582fa:_0x473f56)!=null?_0x21ed42:fn;}['_getDownloadEndpointURL'](){var _0x202496=_0x55ff74,_0x34b336;const _0x4c5fe3=this[_0x202496(0x26e)][_0x202496(0x388)](K);return(_0x34b336=_0x4c5fe3==null?void 0x0:_0x4c5fe3[_0x202496(0x2f2)])!=null?_0x34b336:location[_0x202496(0x34d)];}['_replaceFileID'](_0x2c7e38,_0x1af29a){var _0x5886c6=_0x55ff74;return _0x2c7e38[_0x5886c6(0x166)](_0x5886c6(0x476),_0x1af29a);}[_0x55ff74(0x3a4)](){var _0x1332d5=_0x55ff74;this[_0x1332d5(0x2e0)]-=0x1,this[_0x1332d5(0x33a)][_0x1332d5(0x1f3)](this[_0x1332d5(0x2e0)]);}},exports[_0x55ff74(0x1dd)]=_n([Le(0x0,a['Inject'](Y[_0x55ff74(0x162)])),Le(0x1,a[_0x55ff74(0x133)]),Le(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x35a)]))],exports[_0x55ff74(0x1dd)]);var pn=Object[_0x55ff74(0x224)],In=(_0x108cc8,_0x2f994c,_0x30ffc2,_0x4c8984)=>{var _0x45145e=_0x55ff74;for(var _0x55836c=_0x4c8984>0x1?void 0x0:_0x4c8984?pn(_0x2f994c,_0x30ffc2):_0x2f994c,_0x95a056=_0x108cc8[_0x45145e(0x305)]-0x1,_0x6bf019;_0x95a056>=0x0;_0x95a056--)(_0x6bf019=_0x108cc8[_0x95a056])&&(_0x55836c=_0x6bf019(_0x55836c)||_0x55836c);return _0x55836c;},at=(_0x417f19,_0x2edc6a)=>(_0x1d267a,_0x14d795)=>_0x2edc6a(_0x1d267a,_0x14d795,_0x417f19);const gn=_0x55ff74(0x215);exports[_0x55ff74(0x2bd)]=class{constructor(_0x3427d0,_0x4e0a44){var _0x3ca854=_0x55ff74;this[_0x3ca854(0x26e)]=_0x3427d0,this['_HTTPService']=_0x4e0a44;}['_getAPIPrefixPath'](){var _0x4e8fa1=_0x55ff74,_0x3e1a05,_0x4296a4;const _0x3fc489=this[_0x4e8fa1(0x26e)][_0x4e8fa1(0x388)](Ve),_0x368605=this[_0x4e8fa1(0x26e)][_0x4e8fa1(0x388)](K);return(_0x4296a4=(_0x3e1a05=_0x368605==null?void 0x0:_0x368605['authzUrl'])!=null?_0x3e1a05:_0x3fc489)!=null?_0x4296a4:gn;}async[_0x55ff74(0x44d)](_0x5b0cdf){var _0x1c3190=_0x55ff74;const _0x15b48e=this['_getAPIPrefixPath']()+_0x1c3190(0x441);return{'list':[{'title':_0x1c3190(0x235),'mentions':(await this['_HTTPService']['get'](_0x15b48e,{'params':{'objectID':_0x5b0cdf[_0x1c3190(0x411)],'unitID':_0x5b0cdf['unitId']}}))['body'][_0x1c3190(0x3d8)][_0x1c3190(0x40e)](_0x3fc509=>({'objectId':_0x3fc509['id'],'name':_0x3fc509[_0x1c3190(0x440)][_0x1c3190(0x218)],'metadata':{'icon':_0x3fc509['subject'][_0x1c3190(0x302)]},'label':_0x3fc509[_0x1c3190(0x440)][_0x1c3190(0x218)],'objectType':a[_0x1c3190(0x355)][_0x1c3190(0x3d1)]})),'metadata':{},'type':a[_0x1c3190(0x355)]['PERSON']}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x55ff74(0x221)](a[_0x55ff74(0x133)])),at(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)]))],exports['MentionIoHttpService']);var En=Object[_0x55ff74(0x224)],mn=(_0x43a441,_0x375338,_0x1fdaab,_0x746afe)=>{var _0x1cb226=_0x55ff74;for(var _0x37fb76=_0x746afe>0x1?void 0x0:_0x746afe?En(_0x375338,_0x1fdaab):_0x375338,_0x807b4e=_0x43a441[_0x1cb226(0x305)]-0x1,_0x4a94fa;_0x807b4e>=0x0;_0x807b4e--)(_0x4a94fa=_0x43a441[_0x807b4e])&&(_0x37fb76=_0x4a94fa(_0x37fb76)||_0x37fb76);return _0x37fb76;},le=(_0x6ed4b5,_0x4c7245)=>(_0x428fcb,_0x5dcd27)=>_0x4c7245(_0x428fcb,_0x5dcd27,_0x6ed4b5);let Ue=class extends a['RxDisposable']{constructor(_0x47e2e3,_0x5a4c7d,_0x26f9fa,_0x4cbccc,_0x10c789){var _0x5bc716=_0x55ff74;super(),this['_injector']=_0x47e2e3,this[_0x5bc716(0x449)]=_0x5a4c7d,this['_permissionService']=_0x26f9fa,this['_collaborationSessionService']=_0x4cbccc,this['_collaborationUIEventService']=_0x10c789,this[_0x5bc716(0x419)](),this[_0x5bc716(0x1fa)]();}[_0x55ff74(0x1fa)](){var _0x5092cd=_0x55ff74;const _0x2c7b5f=async _0x25d85f=>{var _0x4e8bd1=_0x3571;(await this['_collaborationSessionService'][_0x4e8bd1(0x239)](_0x25d85f))[_0x4e8bd1(0x1f9)][_0x4e8bd1(0x33c)](V[_0x4e8bd1(0x187)](_0x33c23c=>_0x33c23c[_0x4e8bd1(0x46c)]===I[_0x4e8bd1(0x208)][_0x4e8bd1(0x389)]),V[_0x4e8bd1(0x336)](this['dispose$']))[_0x4e8bd1(0x259)](_0x3d7396=>{var _0x2b7a12=_0x4e8bd1;const _0x4a0fdb=_0x3d7396,{reason:_0x5bc416}=_0x4a0fdb['data'];this['_collaborationUIEventService'][_0x2b7a12(0x25d)]({'id':Z['CLOSE_ROOM'],'data':_0x5bc416}),this['_permissionService'][_0x2b7a12(0x251)](new X['WorkbookEditablePermission'](_0x25d85f)['id'],!0x1),this[_0x2b7a12(0x2d9)]['closeSession'](_0x25d85f);});};$[_0x5092cd(0x1cc)](this[_0x5092cd(0x449)][_0x5092cd(0x12f)](a[_0x5092cd(0x272)]['UNIVER_SHEET']),this[_0x5092cd(0x449)][_0x5092cd(0x12f)](a[_0x5092cd(0x272)][_0x5092cd(0x43e)]))[_0x5092cd(0x33c)](V[_0x5092cd(0x40e)](_0x1b4426=>_0x1b4426[_0x5092cd(0x186)]()),V[_0x5092cd(0x187)](_0x42bebf=>!a[_0x5092cd(0x216)](_0x42bebf)),V['takeUntil'](this[_0x5092cd(0x1ca)]))[_0x5092cd(0x259)](_0x136681=>{_0x2c7b5f(_0x136681);});}['_initUnitPermissionChange'](){var _0x486e60=_0x55ff74;const _0x38f5e1=async _0x5c6807=>{var _0x57100e=_0x3571;const _0x4e7ca7=await this[_0x57100e(0x2d9)][_0x57100e(0x239)](_0x5c6807),_0x51b363=this[_0x57100e(0x423)][_0x57100e(0x128)](X['SheetPermissionInitController']);_0x4e7ca7[_0x57100e(0x1f9)][_0x57100e(0x33c)](V['filter'](_0x5a51ba=>_0x5a51ba[_0x57100e(0x46c)]===I[_0x57100e(0x208)][_0x57100e(0x22f)]),V[_0x57100e(0x336)](this[_0x57100e(0x1ca)]))['subscribe'](_0x1a01c3=>{var _0x3b9381=_0x57100e;const _0x3b0eea=_0x1a01c3,{objectId:_0x337a86}=_0x3b0eea[_0x3b9381(0x13e)];_0x337a86===_0x5c6807?_0x51b363[_0x3b9381(0x381)](_0x5c6807):_0x51b363[_0x3b9381(0x1f4)](_0x5c6807,_0x337a86);});};$[_0x486e60(0x1cc)](this[_0x486e60(0x449)][_0x486e60(0x12f)](a['UniverInstanceType']['UNIVER_SHEET']))['pipe'](V[_0x486e60(0x40e)](_0x332acb=>_0x332acb[_0x486e60(0x186)]()),V['filter'](_0xa8f0f3=>!a['isInternalEditorID'](_0xa8f0f3)),V[_0x486e60(0x336)](this['dispose$']))[_0x486e60(0x259)](_0x57f8e5=>{_0x38f5e1(_0x57f8e5);});}};Ue=mn([le(0x0,a['Inject'](a[_0x55ff74(0x19b)])),le(0x1,a[_0x55ff74(0x35a)]),le(0x2,a['IPermissionService']),le(0x3,a[_0x55ff74(0x221)](exports['CollaborationSessionService'])),le(0x4,a[_0x55ff74(0x221)](ee))],Ue);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x4f2299,_0x51b7bf,_0x3fdf6c,_0x2d024b)=>{var _0x294124=_0x55ff74;for(var _0x1ffd6d=_0x2d024b>0x1?void 0x0:_0x2d024b?Cn(_0x51b7bf,_0x3fdf6c):_0x51b7bf,_0x529c55=_0x4f2299[_0x294124(0x305)]-0x1,_0x1627ac;_0x529c55>=0x0;_0x529c55--)(_0x1627ac=_0x4f2299[_0x529c55])&&(_0x1ffd6d=_0x1627ac(_0x1ffd6d)||_0x1ffd6d);return _0x1ffd6d;},ct=(_0x15040e,_0x2de723)=>(_0x7645cc,_0x52c6a5)=>_0x2de723(_0x7645cc,_0x52c6a5,_0x15040e);exports[_0x55ff74(0x24e)]=class{constructor(_0x575ab9,_0x1ab1e6){var _0x1cc3d0=_0x55ff74;this['_configService']=_0x575ab9,this[_0x1cc3d0(0x1e7)]=_0x1ab1e6;}async[_0x55ff74(0x30c)](_0x269ca9,_0x2911cc){var _0x4c65aa=_0x55ff74,_0x36dd44;const {unitID:_0x31607e,type:_0x152417,revision:_0x171124=0x0}=_0x2911cc,_0x1dd98a=this[_0x4c65aa(0x450)]()+'/'+_0x152417+'/unit/'+_0x31607e+'/rev/'+_0x171124,_0x59ceb9=(await this[_0x4c65aa(0x1e7)][_0x4c65aa(0x128)](_0x1dd98a))[_0x4c65aa(0x43b)],_0x2e1bc3=(_0x36dd44=_0x59ceb9['snapshot'])==null?void 0x0:_0x36dd44[_0x4c65aa(0x43d)];if(_0x2e1bc3){const _0x251222=_0x2e1bc3==null?void 0x0:_0x2e1bc3[_0x4c65aa(0x21f)],_0x20f660=I[_0x4c65aa(0x39f)][_0x4c65aa(0x3e2)](I[_0x4c65aa(0x45f)](_0x251222));_0x2e1bc3['originalMeta']=_0x20f660,Object['entries'](_0x2e1bc3[_0x4c65aa(0x401)])[_0x4c65aa(0x41f)](([,_0x3e55c5])=>{var _0x1487b6=_0x4c65aa;const _0x130b54=_0x3e55c5[_0x1487b6(0x21f)],_0x4914ce=I[_0x1487b6(0x39f)][_0x1487b6(0x3e2)](I[_0x1487b6(0x45f)](_0x130b54));_0x3e55c5[_0x1487b6(0x21f)]=_0x4914ce;});}return _0x59ceb9;}async['getSheetBlock'](_0xb2f248,_0x24b5be){var _0x53b3bc=_0x55ff74;const {unitID:_0x5cff52,type:_0x5b1077,blockID:_0x5001e1}=_0x24b5be,_0x3b56f6=this[_0x53b3bc(0x1b1)]()+'/'+_0x5b1077+_0x53b3bc(0x26b)+_0x5cff52+_0x53b3bc(0x30f)+_0x5001e1;return(await this[_0x53b3bc(0x1e7)][_0x53b3bc(0x128)](_0x3b56f6))[_0x53b3bc(0x43b)];}async[_0x55ff74(0x28e)](_0x153380,_0x20f388){var _0x512a08=_0x55ff74;const {unitID:_0x13399f,type:_0xd7c180,blockID:_0x4da468}=_0x20f388,_0xfa314=this[_0x512a08(0x1b1)]()+_0x512a08(0x30f)+_0xd7c180+'/unit/'+_0x13399f+'/block/'+_0x4da468;return(await this[_0x512a08(0x1e7)][_0x512a08(0x128)](_0xfa314))[_0x512a08(0x43b)];}async[_0x55ff74(0x280)](_0x932a2f,_0x362cf9){var _0x4cc9ea=_0x55ff74;const {unitID:_0x108af8,type:_0x41e536,from:_0x5db265,to:_0x4ed6e1}=_0x362cf9,_0x1cf5fd=this[_0x4cc9ea(0x1b1)]()+'/'+_0x41e536+_0x4cc9ea(0x26b)+_0x108af8+_0x4cc9ea(0x344)+_0x5db265+_0x4cc9ea(0x359)+_0x4ed6e1;return(await this[_0x4cc9ea(0x1e7)][_0x4cc9ea(0x128)](_0x1cf5fd))[_0x4cc9ea(0x43b)];}[_0x55ff74(0x450)](){var _0x10ffe9=_0x55ff74,_0x292f28;return(_0x292f28=this['_configService'][_0x10ffe9(0x388)](lt))!=null?_0x292f28:this['_getAPIPrefix']();}[_0x55ff74(0x1b1)](){var _0x4c20d1=_0x55ff74,_0x10fc07,_0x2cac7a;const _0x4f24f9=this[_0x4c20d1(0x26e)][_0x4c20d1(0x388)](_t),_0x28f0e6=this['_configService']['getConfig'](K);return(_0x2cac7a=(_0x10fc07=_0x28f0e6==null?void 0x0:_0x28f0e6[_0x4c20d1(0x14b)])!=null?_0x10fc07:_0x4f24f9)!=null?_0x2cac7a:Lt;}async[_0x55ff74(0x34b)](_0x5ecd1e,_0x2f3cf3){var _0x425a0c=_0x55ff74;const _0x399479=_0x425a0c(0x12a)+_0x2f3cf3[_0x425a0c(0x255)]+'/unit/'+_0x2f3cf3[_0x425a0c(0x20f)]+'/resources';return(await this[_0x425a0c(0x1e7)][_0x425a0c(0x128)](_0x399479,{'params':{'resourceId':JSON[_0x425a0c(0x2bc)](_0x2f3cf3['resourceIDs'])}}))[_0x425a0c(0x43b)];}[_0x55ff74(0x372)](){var _0x3c8093=_0x55ff74;throw new Error(_0x3c8093(0x451));}[_0x55ff74(0x376)](){var _0x2059d3=_0x55ff74;throw new Error(_0x2059d3(0x451));}[_0x55ff74(0x29a)](){var _0x103732=_0x55ff74;throw new Error(_0x103732(0x451));}['saveChangeset'](){var _0x2c2b22=_0x55ff74;throw new Error(_0x2c2b22(0x451));}[_0x55ff74(0x456)](){var _0x2741bd=_0x55ff74;throw new Error(_0x2741bd(0x451));}[_0x55ff74(0x3ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x55ff74(0x24e)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x55ff74(0x221)](Y[_0x55ff74(0x162)]))],exports[_0x55ff74(0x24e)]);var bn=Object[_0x55ff74(0x224)],Rn=(_0x22a706,_0x4ca3f3,_0x44815b,_0x4154da)=>{var _0x2724c2=_0x55ff74;for(var _0x490b09=_0x4154da>0x1?void 0x0:_0x4154da?bn(_0x4ca3f3,_0x44815b):_0x4ca3f3,_0x5bc81c=_0x22a706[_0x2724c2(0x305)]-0x1,_0x5f4f99;_0x5bc81c>=0x0;_0x5bc81c--)(_0x5f4f99=_0x22a706[_0x5bc81c])&&(_0x490b09=_0x5f4f99(_0x490b09)||_0x490b09);return _0x490b09;},ue=(_0x9a4949,_0x2d759f)=>(_0x14ec46,_0xae8dd3)=>_0x2d759f(_0x14ec46,_0xae8dd3,_0x9a4949);exports[_0x55ff74(0x171)]=class extends a['LocalUndoRedoService']{constructor(_0x4e8f78,_0x50f7ab,_0x560710,_0x312f93,_0x43a375){var _0x48c2ad=_0x55ff74;super(_0x4e8f78,_0x50f7ab,_0x560710),this[_0x48c2ad(0x402)]=_0x312f93,this[_0x48c2ad(0x24d)]=_0x43a375;}['transformUndoRedo'](_0x15abe2,_0x250aad){var _0x3aa279=_0x55ff74;const _0x3dedae=this[_0x3aa279(0x404)](_0x15abe2);if(_0x3dedae)try{const _0x2d23c5=this[_0x3aa279(0x273)](_0x3dedae,_0x250aad);this[_0x3aa279(0x468)](_0x15abe2,_0x2d23c5);}catch(_0x5c0a9e){this[_0x3aa279(0x24d)][_0x3aa279(0x35e)](_0x3aa279(0x167),_0x5c0a9e),this[_0x3aa279(0x24c)](_0x15abe2);}const _0x1c7c36=this[_0x3aa279(0x425)](_0x15abe2);if(_0x1c7c36)try{const _0x410678=this['_transformStack'](_0x1c7c36,_0x250aad);this[_0x3aa279(0x194)](_0x15abe2,_0x410678);}catch(_0x422d55){this[_0x3aa279(0x24d)]['error'](_0x422d55),this[_0x3aa279(0x27d)](_0x15abe2);}}[_0x55ff74(0x24c)](_0x113641){var _0x18c01f=_0x55ff74;const _0x4c67c1=this[_0x18c01f(0x404)](_0x113641);_0x4c67c1&&(_0x4c67c1['length']=0x0,this[_0x18c01f(0xfd)]());}[_0x55ff74(0x27d)](_0x39830e){var _0x5d6400=_0x55ff74;const _0x31db25=this['_getRedoStack'](_0x39830e);_0x31db25&&(_0x31db25['length']=0x0,this[_0x5d6400(0xfd)]());}[_0x55ff74(0x468)](_0x18377f,_0x555ccb){var _0x1d7e06=_0x55ff74;this['_undoStacks'][_0x1d7e06(0x41c)](_0x18377f,_0x555ccb),this[_0x1d7e06(0xfd)]();}[_0x55ff74(0x194)](_0x3251f6,_0x47f8ca){var _0xcefd17=_0x55ff74;this[_0xcefd17(0x173)][_0xcefd17(0x41c)](_0x3251f6,_0x47f8ca),this[_0xcefd17(0xfd)]();}[_0x55ff74(0x273)](_0x3d19b7,_0xa5944c){var _0x5e7e35=_0x55ff74;const _0x5bb763=[];let _0xa82f5b=_0xa5944c,_0x3cb8e3=_0xa5944c;for(let _0xf83cca=_0x3d19b7[_0x5e7e35(0x305)]-0x1;_0xf83cca>=0x0;_0xf83cca--){const {unitID:_0x334620,undoMutations:_0x7c2630,redoMutations:_0x54cc9a}=_0x3d19b7[_0xf83cca],_0x4da633=this['_transformService']['transformMutationsWithChangeset'](_0xa82f5b,_0x7c2630),_0x15a623=this[_0x5e7e35(0x402)][_0x5e7e35(0x1e8)](_0x3cb8e3,_0x54cc9a);if(I['isTransformMutationsWithChangesetFailure'](_0x4da633)||I[_0x5e7e35(0x320)](_0x15a623)){this[_0x5e7e35(0x24d)][_0x5e7e35(0x35e)](_0x5e7e35(0x167),_0x5e7e35(0x26c),_0x4da633,_0x15a623);break;}_0xa82f5b=_0x4da633[_0x5e7e35(0x44f)],_0x3cb8e3=_0x15a623[_0x5e7e35(0x44f)],_0x5bb763[_0x5e7e35(0x395)]({'unitID':_0x334620,'undoMutations':_0x4da633[_0x5e7e35(0x295)],'redoMutations':_0x15a623[_0x5e7e35(0x295)]});}return _0x5bb763[_0x5e7e35(0x477)]();}},exports[_0x55ff74(0x171)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x55ff74(0x393)]),ue(0x2,a[_0x55ff74(0x374)]),ue(0x3,I[_0x55ff74(0x1fc)]),ue(0x4,a[_0x55ff74(0x469)])],exports[_0x55ff74(0x171)]);var On=Object[_0x55ff74(0x1c9)],yn=Object[_0x55ff74(0x224)],Nn=(_0x380420,_0x330aba,_0x1becdd)=>_0x330aba in _0x380420?On(_0x380420,_0x330aba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1becdd}):_0x380420[_0x330aba]=_0x1becdd,Un=(_0x2d8fc1,_0x44051e,_0x345f46,_0x1d4d89)=>{var _0x1da245=_0x55ff74;for(var _0x4130dd=_0x1d4d89>0x1?void 0x0:_0x1d4d89?yn(_0x44051e,_0x345f46):_0x44051e,_0x3d4c9a=_0x2d8fc1[_0x1da245(0x305)]-0x1,_0x4caf25;_0x3d4c9a>=0x0;_0x3d4c9a--)(_0x4caf25=_0x2d8fc1[_0x3d4c9a])&&(_0x4130dd=_0x4caf25(_0x4130dd)||_0x4130dd);return _0x4130dd;},Me=(_0x3b1e5b,_0x484a07)=>(_0x410582,_0x2d6533)=>_0x484a07(_0x410582,_0x2d6533,_0x3b1e5b),Dn=(_0x4e26ca,_0x2a94b4,_0x327089)=>Nn(_0x4e26ca,_0x2a94b4+'',_0x327089);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x55ff74(0x31a)]=class extends a[_0x55ff74(0x3dd)]{constructor(_0x136596,_0x2ae1f6,_0x221996,_0x24f01b){var _0x2b88d2=_0x55ff74;super(),A(this,'_config'),(this[_0x2b88d2(0x24d)]=_0x2ae1f6,this[_0x2b88d2(0x423)]=_0x221996,this[_0x2b88d2(0x26e)]=_0x24f01b);const {..._0x48ecf5}=a[_0x2b88d2(0x1cc)]({},Yt,_0x136596);if(!_0x48ecf5['socketService'])throw new Error(_0x2b88d2(0x3eb));this[_0x2b88d2(0x1a0)]=_0x48ecf5,this[_0x2b88d2(0x26e)][_0x2b88d2(0x149)](K,_0x48ecf5);}[_0x55ff74(0x39b)](){var _0x4d7884=_0x55ff74;this[_0x4d7884(0x28c)](),this[_0x4d7884(0x323)]();}[_0x55ff74(0x28c)](){var _0x936729=_0x55ff74,_0xfab48a,_0x37b5a7;this['_injector'][_0x936729(0x14a)](a[_0x936729(0x2fb)])&&this[_0x936729(0x24d)]['error'](_0x936729(0x3a6),_0x936729(0x317));const _0x2d0fd3=a[_0x936729(0x250)]([[a['IUndoRedoService'],{'useClass':exports[_0x936729(0x171)]}],[exports[_0x936729(0x40d)]],[exports[_0x936729(0x148)]],[exports[_0x936729(0x3a2)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x936729(0x152)]],[He,{'useClass':this[_0x936729(0x1a0)][_0x936729(0x34c)]}],[I[_0x936729(0x38e)],{'useClass':exports[_0x936729(0x24e)]}],[a[_0x936729(0x1b8)],{'useClass':exports[_0x936729(0x3a8)]}],[z[_0x936729(0x119)],{'useClass':exports[_0x936729(0x1dd)]}],[a[_0x936729(0x1da)],{'useClass':exports[_0x936729(0x2bd)]}],[exports[_0x936729(0x234)]],[xe]],(_0xfab48a=this[_0x936729(0x1a0)])==null?void 0x0:_0xfab48a[_0x936729(0x2b6)]);if(!((_0x37b5a7=this[_0x936729(0x1a0)])!=null&&_0x37b5a7[_0x936729(0x32f)])){const _0x34ebcb=_0x2d0fd3['findIndex'](([_0x4ad411])=>_0x4ad411===de);_0x34ebcb!==-0x1&&_0x2d0fd3['splice'](_0x34ebcb,0x1);}a[_0x936729(0x13b)](this[_0x936729(0x423)],_0x2d0fd3);}[_0x55ff74(0x323)](){var _0x43f27b=_0x55ff74,_0x449020,_0x4b2738,_0x300dfb;this['_injector'][_0x43f27b(0x128)](Y[_0x43f27b(0x162)])[_0x43f27b(0x357)]({'priority':0x14,'interceptor':Y[_0x43f27b(0x1bb)]({'maxParallel':0x6})}),(_0x449020=this[_0x43f27b(0x1a0)])!=null&&_0x449020[_0x43f27b(0x2bf)]||(_0x4b2738=this['_injector']['get'](q,a[_0x43f27b(0x306)]['OPTIONAL']))==null||_0x4b2738['disableLocalCache'](),(_0x300dfb=this[_0x43f27b(0x1a0)])!=null&&_0x300dfb[_0x43f27b(0x27b)]&&a[_0x43f27b(0x1d6)](this[_0x43f27b(0x423)],[[ye]]),a[_0x43f27b(0x1d6)](this[_0x43f27b(0x423)],[[Ne],[exports[_0x43f27b(0x234)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],_0x55ff74(0x358),An),exports[_0x55ff74(0x31a)]=Un([a['DependentOn'](I[_0x55ff74(0x2c2)],Y[_0x55ff74(0x434)]),Me(0x1,a[_0x55ff74(0x469)]),Me(0x2,a[_0x55ff74(0x221)](a[_0x55ff74(0x19b)])),Me(0x3,a[_0x55ff74(0x133)])],exports[_0x55ff74(0x31a)]),exports[_0x55ff74(0x385)]=Ve,exports[_0x55ff74(0x138)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports[_0x55ff74(0x120)]=ut,exports['CollaborationStatus']=Be,exports[_0x55ff74(0x213)]=Z,exports[_0x55ff74(0x266)]=ee,exports[_0x55ff74(0x47b)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x55ff74(0x232)]=Kt,exports[_0x55ff74(0x109)]=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x55ff74(0x233)]=He,exports[_0x55ff74(0x46d)]=q,exports[_0x55ff74(0x438)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x55ff74(0x1ea)]=Bt,exports[_0x55ff74(0x25e)]=It,exports[_0x55ff74(0x1d3)]=Gt,exports[_0x55ff74(0x212)]=ft,exports[_0x55ff74(0x2b5)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x55ff74(0x1eb)]=lt,exports[_0x55ff74(0x1d8)]=re,exports[_0x55ff74(0x197)]=je,exports[_0x55ff74(0x1f5)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x55ff74(0x407)]=Tt;
|
1
|
+
'use strict';var _0x154c14=_0x1a03;(function(_0x5ece0a,_0x544560){var _0x3d49b9=_0x1a03,_0x596d07=_0x5ece0a();while(!![]){try{var _0x33e884=parseInt(_0x3d49b9(0x1d1))/0x1*(-parseInt(_0x3d49b9(0x184))/0x2)+parseInt(_0x3d49b9(0x402))/0x3*(-parseInt(_0x3d49b9(0x238))/0x4)+-parseInt(_0x3d49b9(0x2ec))/0x5+parseInt(_0x3d49b9(0x23b))/0x6+-parseInt(_0x3d49b9(0x265))/0x7+-parseInt(_0x3d49b9(0x376))/0x8*(parseInt(_0x3d49b9(0x47a))/0x9)+-parseInt(_0x3d49b9(0x18f))/0xa*(-parseInt(_0x3d49b9(0x257))/0xb);if(_0x33e884===_0x544560)break;else _0x596d07['push'](_0x596d07['shift']());}catch(_0x27722d){_0x596d07['push'](_0x596d07['shift']());}}}(_0x2d8a,0x5530a));var Dt=Object['defineProperty'],At=(_0x3b76b3,_0xa3afc2,_0x105099)=>_0xa3afc2 in _0x3b76b3?Dt(_0x3b76b3,_0xa3afc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x105099}):_0x3b76b3[_0xa3afc2]=_0x105099,A=(_0x1b1dd1,_0x43ac1a,_0x5845ca)=>At(_0x1b1dd1,typeof _0x43ac1a!=_0x154c14(0x3dc)?_0x43ac1a+'':_0x43ac1a,_0x5845ca);Object['defineProperty'](exports,Symbol[_0x154c14(0x31b)],{'value':_0x154c14(0x248)});const a=require('@univerjs/core'),$=require('rxjs'),V=require(_0x154c14(0x43b)),I=require(_0x154c14(0x39a)),Y=require(_0x154c14(0x1c5)),Pt=require(_0x154c14(0x223)),ht=require(_0x154c14(0x409)),X=require(_0x154c14(0x2d0)),z=require(_0x154c14(0x3f3)),wt=require(_0x154c14(0x221)),_t=_0x154c14(0x434),Lt=_0x154c14(0x49e),lt=_0x154c14(0x239),Mt=_0x154c14(0x3c8),xt=0x7d0,ut=_0x154c14(0x24f),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x154c14(0x419),vt=_0x154c14(0x311),Ht=0x7530,ke=_0x154c14(0x39c),St=0x4e20,$t=0x4e20,ft=_0x154c14(0x2f7),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt=_0x154c14(0x390),Vt=_0x154c14(0x24d),It=_0x154c14(0x408),Wt='/universer-api/oidc/authpage',Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0x154c14(0x387);var gt=(_0x5644d6=>(_0x5644d6[_0x5644d6[_0x154c14(0x461)]=0x0]='UNDEFINED',_0x5644d6[_0x5644d6['OK']=0x1]='OK',_0x5644d6[_0x5644d6[_0x154c14(0x350)]=0x2]=_0x154c14(0x350),_0x5644d6[_0x5644d6['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5644d6[_0x5644d6[_0x154c14(0x2c5)]=0x4]='NOT_FOUND',_0x5644d6[_0x5644d6['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5644d6[_0x5644d6[_0x154c14(0x34d)]=0x6]=_0x154c14(0x34d),_0x5644d6[_0x5644d6[_0x154c14(0x4d4)]=0x7]=_0x154c14(0x4d4),_0x5644d6[_0x5644d6[_0x154c14(0x219)]=0x8]=_0x154c14(0x219),_0x5644d6[_0x5644d6[_0x154c14(0x36c)]=0x9]=_0x154c14(0x36c),_0x5644d6[_0x5644d6[_0x154c14(0x1f9)]=0xa]=_0x154c14(0x1f9),_0x5644d6[_0x5644d6[_0x154c14(0x303)]=0x1389]=_0x154c14(0x303),_0x5644d6[_0x5644d6[_0x154c14(0x3d9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5644d6[_0x5644d6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x154c14(0x31a),_0x5644d6[_0x5644d6[_0x154c14(0x4d6)]=0x1773]=_0x154c14(0x4d6),_0x5644d6[_0x5644d6[_0x154c14(0x278)]=0x1b59]=_0x154c14(0x278),_0x5644d6[_0x5644d6[_0x154c14(0x482)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5644d6[_0x5644d6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x154c14(0x2a2),_0x5644d6[_0x5644d6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5644d6[_0x5644d6[_0x154c14(0x215)]=0x1b5d]=_0x154c14(0x215),_0x5644d6[_0x5644d6[_0x154c14(0x33e)]=0x1f41]=_0x154c14(0x33e),_0x5644d6[_0x5644d6[_0x154c14(0x1a7)]=0x2329]=_0x154c14(0x1a7),_0x5644d6[_0x5644d6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x154c14(0x318),_0x5644d6[_0x5644d6[_0x154c14(0x380)]=0x232b]=_0x154c14(0x380),_0x5644d6[_0x5644d6['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x154c14(0x233),_0x5644d6[_0x5644d6[_0x154c14(0x2d8)]=0x232d]=_0x154c14(0x2d8),_0x5644d6[_0x5644d6[_0x154c14(0x300)]=0x2711]=_0x154c14(0x300),_0x5644d6[_0x5644d6[_0x154c14(0x291)]=0x2712]=_0x154c14(0x291),_0x5644d6[_0x5644d6[_0x154c14(0x4d0)]=0x2713]=_0x154c14(0x4d0),_0x5644d6[_0x5644d6[_0x154c14(0x1e2)]=0x2714]=_0x154c14(0x1e2),_0x5644d6[_0x5644d6['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x154c14(0x4e8),_0x5644d6[_0x5644d6[_0x154c14(0x2e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5644d6[_0x5644d6['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x154c14(0x395),_0x5644d6[_0x5644d6['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5644d6[_0x5644d6[_0x154c14(0x398)]=0x271e]=_0x154c14(0x398),_0x5644d6[_0x5644d6[_0x154c14(0x3d4)]=0x271f]=_0x154c14(0x3d4),_0x5644d6[_0x5644d6[_0x154c14(0x4bf)]=0x2af9]=_0x154c14(0x4bf),_0x5644d6[_0x5644d6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x154c14(0x45b),_0x5644d6[_0x5644d6[_0x154c14(0x4a3)]=0x2ee2]=_0x154c14(0x4a3),_0x5644d6[_0x5644d6[_0x154c14(0x365)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5644d6[_0x5644d6[_0x154c14(0x3a4)]=0x2ee4]=_0x154c14(0x3a4),_0x5644d6[_0x5644d6[_0x154c14(0x201)]=0x2ee5]=_0x154c14(0x201),_0x5644d6[_0x5644d6[_0x154c14(0x34e)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5644d6[_0x5644d6[_0x154c14(0x298)]=0x32ca]=_0x154c14(0x298),_0x5644d6[_0x5644d6[_0x154c14(0x183)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5644d6[_0x5644d6[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x5644d6))(gt||{}),J=(_0x37ee19=>(_0x37ee19[_0x37ee19[_0x154c14(0x46f)]=0x0]=_0x154c14(0x46f),_0x37ee19[_0x37ee19[_0x154c14(0x49a)]=0x1]=_0x154c14(0x49a),_0x37ee19[_0x37ee19['UNIVER_SHEET']=0x2]=_0x154c14(0x378),_0x37ee19[_0x37ee19[_0x154c14(0x1a4)]=0x3]=_0x154c14(0x1a4),_0x37ee19[_0x37ee19[_0x154c14(0x465)]=0x4]=_0x154c14(0x465),_0x37ee19[_0x37ee19[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x37ee19))(J||{}),W=(_0x6ec250=>(_0x6ec250[_0x6ec250[_0x154c14(0x1dc)]=0x0]=_0x154c14(0x1dc),_0x6ec250[_0x6ec250[_0x154c14(0x205)]=0x1]=_0x154c14(0x205),_0x6ec250[_0x6ec250['JOIN']=0x2]=_0x154c14(0x2b2),_0x6ec250[_0x6ec250['LEAVE']=0x3]=_0x154c14(0x3cc),_0x6ec250[_0x6ec250[_0x154c14(0x2d1)]=0x4]=_0x154c14(0x2d1),_0x6ec250[_0x6ec250[_0x154c14(0x4fc)]=0x5]=_0x154c14(0x4fc),_0x6ec250[_0x6ec250['RECV']=0x6]=_0x154c14(0x1ff),_0x6ec250[_0x6ec250[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x6ec250))(W||{}),oe=(_0x2785fc=>(_0x2785fc[_0x2785fc[_0x154c14(0x423)]=0x0]=_0x154c14(0x423),_0x2785fc[_0x2785fc['OK']=0x1]='OK',_0x2785fc[_0x2785fc[_0x154c14(0x3ce)]=0x2]=_0x154c14(0x3ce),_0x2785fc[_0x2785fc[_0x154c14(0x2f5)]=0x3e9]=_0x154c14(0x2f5),_0x2785fc[_0x2785fc[_0x154c14(0x413)]=0x3ea]=_0x154c14(0x413),_0x2785fc[_0x2785fc[_0x154c14(0x3a1)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2785fc[_0x2785fc['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x154c14(0x405),_0x2785fc[_0x2785fc[_0x154c14(0x38c)]=-0x1]='UNRECOGNIZED',_0x2785fc))(oe||{}),Et=(_0x47e581=>(_0x47e581[_0x47e581[_0x154c14(0x440)]=0x0]=_0x154c14(0x440),_0x47e581[_0x47e581[_0x154c14(0x1a1)]=0x1]=_0x154c14(0x1a1),_0x47e581[_0x47e581['HttpExport']=0x2]=_0x154c14(0x3b6),_0x47e581[_0x47e581['UnitEmbedded']=0x3]=_0x154c14(0x1c3),_0x47e581[_0x47e581[_0x154c14(0x285)]=0x4]=_0x154c14(0x285),_0x47e581[_0x47e581[_0x154c14(0x1db)]=0x5]=_0x154c14(0x1db),_0x47e581[_0x47e581[_0x154c14(0x38c)]=-0x1]='UNRECOGNIZED',_0x47e581))(Et||{});const K=_0x154c14(0x208),Yt={};var Z=(_0x356845=>(_0x356845[_0x154c14(0x3f8)]=_0x154c14(0x3f8),_0x356845[_0x154c14(0x3eb)]='PERMISSION_DENIED',_0x356845[_0x154c14(0x393)]='CONFLICT',_0x356845[_0x154c14(0x2cd)]=_0x154c14(0x2cd),_0x356845[_0x154c14(0x204)]='JOIN_ROOM_FAILED',_0x356845[_0x154c14(0x2dd)]='SOCKET_FAILED_RETRY',_0x356845[_0x154c14(0x436)]=_0x154c14(0x436),_0x356845[_0x154c14(0x2b0)]=_0x154c14(0x2b0),_0x356845))(Z||{});class ee{constructor(){var _0x3e9a9d=_0x154c14;A(this,_0x3e9a9d(0x32e),new $[(_0x3e9a9d(0x21e))]()),A(this,_0x3e9a9d(0x35f),this[_0x3e9a9d(0x32e)][_0x3e9a9d(0x416)]());}[_0x154c14(0x1a3)](_0x532e48){var _0x2e572b=_0x154c14;this['_event$'][_0x2e572b(0x4e1)](_0x532e48);}}const mt=a[_0x154c14(0x4ea)](_0x154c14(0x2bd));function Ct(_0x31b970){var _0x10516e=_0x154c14,_0x5e510c,_0x40636d,_0x387d90,_0xe383b5,_0x5d7197;const _0x2f8eb2=_0x31b970[_0x10516e(0x4c1)],_0x3e649e=JSON[_0x10516e(0x1b3)](_0x2f8eb2);switch(_0x3e649e[_0x10516e(0x403)]){case W[_0x10516e(0x4fc)]:case W[_0x10516e(0x205)]:{const _0xfb765e=_0x3e649e[_0x10516e(0x224)];return{..._0x3e649e,'data':_0xfb765e,'cmd':_0x3e649e[_0x10516e(0x403)]};}case W[_0x10516e(0x2b2)]:{const _0x48655b=_0x3e649e['joinRsp'];return{..._0x3e649e,'data':_0x48655b,'cmd':_0x3e649e[_0x10516e(0x403)]};}case W[_0x10516e(0x1ff)]:{const _0x7c8bf0=_0x3e649e[_0x10516e(0x1b7)];switch(_0x7c8bf0[_0x10516e(0x192)]){case I[_0x10516e(0x48b)]['PERMISSION_REJ']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x5e510c=_0x7c8bf0['permissionRejEvent'])==null?void 0x0:_0x5e510c['cs']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)]['CHANGESET_ACK']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x40636d=_0x7c8bf0[_0x10516e(0x472)])==null?void 0x0:_0x40636d['cs']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)]['NEW_CHANGESETS']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x387d90=_0x7c8bf0[_0x10516e(0x4f9)])==null?void 0x0:_0x387d90['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3ad)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0xe383b5=_0x7c8bf0['csRejEvent'])==null?void 0x0:_0xe383b5['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x319)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x5d7197=_0x7c8bf0[_0x10516e(0x263)])==null?void 0x0:_0x5d7197['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3ee)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['updateCursorEvent']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x2d7)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['joinEvent']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x258)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x2d5)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3b1)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x196)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3b5)]:case I[_0x10516e(0x48b)][_0x10516e(0x2fe)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['liveShareOperation']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)][_0x10516e(0x1f7)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x196)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x2e3)]:return{..._0x3e649e,'data':_0x7c8bf0,'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['COMMENT_UPDATE']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x35a)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['UPDATE_PERMISSION_OBJ']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['updatePermissionObjEvent']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)][_0x10516e(0x1b6)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x42e)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['UNISCRIPT_RUN']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x2d3)]},'cmd':_0x3e649e[_0x10516e(0x403)]};default:return _0x3e649e;}}default:return _0x3e649e;}}function Tt(_0x25b690){var _0x2559dd=_0x154c14;switch(_0x25b690[_0x2559dd(0x403)]){case W['HEARTBEAT']:case W[_0x2559dd(0x205)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)]});case W['INGEST']:{let _0x2d8fad;switch(_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x192)]){case I[_0x2559dd(0x48b)][_0x2559dd(0x3ee)]:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x3ee)],'updateCursorEvent':_0x25b690['data'][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent']['USERS_LEAVE']:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)]['USERS_LEAVE'],'leaveEvent':_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x4c1)]};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x2d7)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x2d7)],'joinEvent':_0x25b690['data']['data']};break;}case I[_0x2559dd(0x48b)]['LIVESHARE_NEW_HOST']:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x3b1)],'liveShareNewHost':_0x25b690['data'][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent'][_0x2559dd(0x2fe)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x2fe)],'liveShareOperation':_0x25b690[_0x2559dd(0x4c1)]['data']};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x1f7)]:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x1f7)],'liveShareTerminate':_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent'][_0x2559dd(0x261)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x25b690[_0x2559dd(0x4c1)]['data']};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x3b5)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x3b5)]};break;}default:_0x2d8fad={'eventID':_0x25b690[_0x2559dd(0x4c1)]['eventID']};}return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)],'collaMsg':_0x2d8fad});}case W[_0x2559dd(0x2b2)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690['routeKey'],'joinReq':_0x25b690[_0x2559dd(0x4c1)]});case W[_0x2559dd(0x3cc)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)],'leaveReq':_0x25b690[_0x2559dd(0x4c1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x154c14(0x2bb)],zt=(_0x74b6be,_0x4b935d,_0x1447fc,_0x2ce794)=>{var _0x18fb3c=_0x154c14;for(var _0x469fe2=_0x2ce794>0x1?void 0x0:_0x2ce794?qt(_0x4b935d,_0x1447fc):_0x4b935d,_0x2101dd=_0x74b6be[_0x18fb3c(0x454)]-0x1,_0x1c50cf;_0x2101dd>=0x0;_0x2101dd--)(_0x1c50cf=_0x74b6be[_0x2101dd])&&(_0x469fe2=_0x1c50cf(_0x469fe2)||_0x469fe2);return _0x469fe2;},_e=(_0x4ce786,_0x2ff5a0)=>(_0xf7cecd,_0x4ba117)=>_0x2ff5a0(_0xf7cecd,_0x4ba117,_0x4ce786);const He=a[_0x154c14(0x4ea)]('univer-pro.collaboration-client-socket-service');function Jt(_0x2aa28b,_0x3d61d1,_0x9df79e){var _0x37e5c4=_0x154c14;return _0x2aa28b+'/'+_0x3d61d1+_0x37e5c4(0x1ba)+_0x9df79e+_0x37e5c4(0x3cb);}exports[_0x154c14(0x1b9)]=class extends a[_0x154c14(0x492)]{constructor(_0x10578a,_0xf5d1be,_0x348112,_0x4bd917,_0x2c7534){var _0x1bea5b=_0x154c14;super(),this[_0x1bea5b(0x42d)]=_0x10578a,this[_0x1bea5b(0x2b6)]=_0xf5d1be,this[_0x1bea5b(0x33c)]=_0x348112,this['_logService']=_0x4bd917,this[_0x1bea5b(0x194)]=_0x2c7534;}[_0x154c14(0x36f)](_0x468996){var _0x44b233=_0x154c14;const _0x2829c6=this['_injector'][_0x44b233(0x225)](Y[_0x44b233(0x43f)]);if(!_0x2829c6)throw new Error(_0x44b233(0x44c));const _0x4e4424=_0x2829c6[_0x44b233(0x254)](_0x468996);if(!_0x4e4424)throw new Error(_0x44b233(0x355));const _0x12ee2d=new a[(_0x44b233(0x447))](),_0x450494=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x33a)][_0x44b233(0x356)](_0x92ed64=>_0x450494['next'](_0x92ed64))),_0x12ee2d[_0x44b233(0x232)](a['toDisposable'](()=>_0x450494[_0x44b233(0x188)]()));const _0x5cb83d=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x18e)][_0x44b233(0x356)](_0x3d40e8=>_0x5cb83d['next'](_0x3d40e8))),_0x12ee2d['add'](a['toDisposable'](()=>_0x5cb83d['complete']()));const _0x1a0fd4=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x452)][_0x44b233(0x356)](_0x5d9418=>{var _0x106dbc=_0x44b233;const _0x15d095=Ct(_0x5d9418);_0x1a0fd4[_0x106dbc(0x4e1)](_0x15d095);})),_0x12ee2d[_0x44b233(0x232)](a[_0x44b233(0x432)](()=>_0x1a0fd4[_0x44b233(0x188)]()));let _0x51882a;const _0x4ee2fc=()=>{var _0x226bac=_0x44b233;_0x5cb83d['next'](new Event(_0x226bac(0x487))),_0x450494[_0x226bac(0x4e1)](new Event(_0x226bac(0x487))),_0x51882a[_0x226bac(0x360)]();};return _0x51882a={'memberID':'','close$':_0x450494[_0x44b233(0x416)](),'error$':_0x5cb83d[_0x44b233(0x416)](),'open$':_0x4e4424[_0x44b233(0x267)],'message$':_0x1a0fd4[_0x44b233(0x416)](),'send':_0x1c2bcd=>{var _0x1c8d54=_0x44b233;if(_0x1c2bcd[_0x1c8d54(0x403)]===W[_0x1c8d54(0x2d1)]){if(_0x1c2bcd['data'][_0x1c8d54(0x192)]===I[_0x1c8d54(0x48b)][_0x1c8d54(0x335)]){this[_0x1c8d54(0x1cd)](_0x51882a,_0x1c2bcd[_0x1c8d54(0x4c1)])[_0x1c8d54(0x33d)](_0x8906a4=>{var _0x366ec5=_0x1c8d54;this['_logService'][_0x366ec5(0x1da)](_0x8906a4),_0x4ee2fc();});return;}if(_0x1c2bcd[_0x1c8d54(0x4c1)][_0x1c8d54(0x192)]===I[_0x1c8d54(0x48b)][_0x1c8d54(0x4cd)]){const _0x54396e=_0x1c2bcd['data'];this['_fetchMissChangesets'](_0x54396e)[_0x1c8d54(0x4cb)](_0x2144ab=>{var _0x14dc0f=_0x1c8d54;_0x1a0fd4[_0x14dc0f(0x4e1)]({'cmd':W[_0x14dc0f(0x1ff)],'code':oe['OK'],'routeKey':_0x54396e['data'][_0x14dc0f(0x4b5)],'routeType':'','data':{'eventID':I[_0x14dc0f(0x48b)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2144ab}}});})[_0x1c8d54(0x33d)](_0x3a6a41=>{var _0x561ab5=_0x1c8d54;this[_0x561ab5(0x282)][_0x561ab5(0x1da)](_0x3a6a41),_0x4ee2fc();});return;}}_0x4e4424['send'](Tt(_0x1c2bcd));},'close':()=>{var _0xfdb92b=_0x44b233;_0x4e4424[_0xfdb92b(0x360)](),_0x12ee2d[_0xfdb92b(0x313)]();}},_0x51882a;}async[_0x154c14(0x1cd)](_0x42d28e,_0x467eab){var _0x40890b=_0x154c14,_0x3189a3,_0x455297;const {unitType:_0x3a37c0,unitID:_0x4f11fb,changeset:_0x56f927}=_0x467eab['data'],_0x206510={'unitID':_0x4f11fb,'memberID':_0x42d28e['memberID'],'type':_0x3a37c0,'changeset':I[_0x40890b(0x27d)](_0x56f927)},_0xfba1e=this['_configService']['getConfig'](pt),_0xc05df3=this[_0x40890b(0x33c)][_0x40890b(0x4db)](K),_0x3e4502=Jt((_0x455297=(_0x3189a3=_0xc05df3==null?void 0x0:_0xc05df3[_0x40890b(0x4b3)])!=null?_0x3189a3:_0xfba1e)!=null?_0x455297:Vt,_0x3a37c0,_0x4f11fb);try{await this[_0x40890b(0x2b6)][_0x40890b(0x437)](_0x3e4502,{'body':_0x206510});}catch(_0x3841de){throw this[_0x40890b(0x282)]['error'](_0x40890b(0x424),_0x40890b(0x3b8)),_0x3841de;}}async['_fetchMissChangesets'](_0x157759){var _0xd9d84c=_0x154c14;const {unitID:_0x5ea84d,from:_0x3302e5,to:_0x3afe08,unitType:_0x31e275}=_0x157759[_0xd9d84c(0x4c1)];return(await this[_0xd9d84c(0x194)][_0xd9d84c(0x4a6)]({'metadata':void 0x0},{'unitID':_0x5ea84d,'type':_0x31e275,'from':_0x3302e5,'to':_0x3afe08}))[_0xd9d84c(0x4bc)];}},exports[_0x154c14(0x1b9)]=zt([_e(0x0,a[_0x154c14(0x25b)](a['Injector'])),_e(0x1,a[_0x154c14(0x25b)](Y['HTTPService'])),_e(0x2,a[_0x154c14(0x307)]),_e(0x3,a[_0x154c14(0x36a)]),_e(0x4,I[_0x154c14(0x4de)])],exports[_0x154c14(0x1b9)]);const Xt=_0x154c14(0x4e6);function Zt(_0x213606){var _0x238857=_0x154c14;return JSON[_0x238857(0x276)](_0x213606)['length'];}class $e{constructor(){var _0x364b2f=_0x154c14;A(this,_0x364b2f(0x496),new $[(_0x364b2f(0x21e))]()),A(this,'commentUpdate$',this[_0x364b2f(0x496)][_0x364b2f(0x416)]());}[_0x154c14(0x1fe)](_0x163e27){var _0xe81d06=_0x154c14;this[_0xe81d06(0x496)][_0xe81d06(0x4e1)](_0x163e27);}}var Qt=Object[_0x154c14(0x2bb)],ei=(_0x2b848c,_0x20537c,_0x500010,_0x2d1c5c)=>{for(var _0x5e9255=_0x2d1c5c>0x1?void 0x0:_0x2d1c5c?Qt(_0x20537c,_0x500010):_0x20537c,_0x49bc52=_0x2b848c['length']-0x1,_0x3cf1c2;_0x49bc52>=0x0;_0x49bc52--)(_0x3cf1c2=_0x2b848c[_0x49bc52])&&(_0x5e9255=_0x3cf1c2(_0x5e9255)||_0x5e9255);return _0x5e9255;},We=(_0x5b053b,_0x3a4d50)=>(_0x23df7d,_0x342464)=>_0x3a4d50(_0x23df7d,_0x342464,_0x5b053b);exports['MemberService']=class extends a['Disposable']{constructor(_0x4c1c8c,_0x41eda2){var _0x495163=_0x154c14;super(),A(this,_0x495163(0x2a1),new Map()),A(this,'_roomCreated$',new $['Subject']()),(this[_0x495163(0x1c0)]=_0x4c1c8c,this['_userManagerService']=_0x41eda2,this[_0x495163(0x1b0)]($['merge'](this[_0x495163(0x1c0)]['getTypeOfUnitDisposed$'](a[_0x495163(0x377)][_0x495163(0x378)])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x46d5b4=>_0x46d5b4[_0x495163(0x2de)]())),this['_univerInstanceService'][_0x495163(0x25d)](a['UniverInstanceType'][_0x495163(0x49a)])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x56a0e6=>_0x56a0e6['getUnitId']())),this[_0x495163(0x1c0)][_0x495163(0x25d)](a[_0x495163(0x377)]['UNIVER_SLIDE'])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x105c37=>_0x105c37[_0x495163(0x2de)]())))[_0x495163(0x356)](_0x14a5df=>this[_0x495163(0x4b4)](_0x14a5df))));}['waitForRoom$'](_0x3b1db6){var _0x7c5567=_0x154c14;return this[_0x7c5567(0x2a1)][_0x7c5567(0x3a5)](_0x3b1db6)?$['of'](this[_0x7c5567(0x2a1)]['get'](_0x3b1db6)):this[_0x7c5567(0x43e)][_0x7c5567(0x37e)](V[_0x7c5567(0x3f5)](_0x307f16=>{var _0x3867a6=_0x7c5567;if(_0x307f16===_0x3b1db6)return this[_0x3867a6(0x2a1)][_0x3867a6(0x225)](_0x307f16);}));}['setCurrentUser'](_0x3085fe){var _0x216525=_0x154c14;this[_0x216525(0x241)][_0x216525(0x427)](_0x3085fe);}[_0x154c14(0x2c8)](){var _0x59955d=_0x154c14;return this[_0x59955d(0x241)]['getCurrentUser']();}['updateMember'](_0x2941e3,_0x13ab80){var _0x29484c=_0x154c14;let _0x453eed=this['_roomMembers'][_0x29484c(0x225)](_0x2941e3);_0x453eed||(_0x453eed=new ti(),this[_0x29484c(0x2a1)][_0x29484c(0x18c)](_0x2941e3,_0x453eed),this['_roomCreated$'][_0x29484c(0x4e1)](_0x2941e3)),_0x453eed[_0x29484c(0x367)](_0x13ab80);}[_0x154c14(0x1a8)](_0x2d926a,_0xe45b6){var _0x4d99e9=_0x154c14;const _0x311932=this[_0x4d99e9(0x2a1)]['get'](_0x2d926a);_0x311932&&_0x311932[_0x4d99e9(0x1a8)](_0xe45b6);}[_0x154c14(0x3b4)](_0x507950){var _0x20ba3a=_0x154c14;return this[_0x20ba3a(0x2a1)]['get'](_0x507950);}[_0x154c14(0x2ba)](_0x4e3ac6,_0x9e1348){var _0x4fb1b2=_0x154c14;const _0x2723d6=this[_0x4fb1b2(0x2a1)]['get'](_0x4e3ac6);if(_0x2723d6)return _0x2723d6['getMember'](_0x9e1348);}[_0x154c14(0x4b4)](_0x43c4e6){var _0x33f296=_0x154c14;const _0x25f9a1=this[_0x33f296(0x2a1)][_0x33f296(0x225)](_0x43c4e6);_0x25f9a1&&(_0x25f9a1[_0x33f296(0x313)](),this[_0x33f296(0x2a1)][_0x33f296(0x3cf)](_0x43c4e6));}['dispose'](){var _0x20eb52=_0x154c14;this[_0x20eb52(0x2a1)]['forEach'](_0x165dee=>_0x165dee[_0x20eb52(0x313)]()),this['_roomMembers'][_0x20eb52(0x4ee)](),this[_0x20eb52(0x43e)][_0x20eb52(0x188)]();}},exports[_0x154c14(0x245)]=ei([We(0x0,a[_0x154c14(0x22a)]),We(0x1,a[_0x154c14(0x25b)](a['UserManagerService']))],exports['MemberService']);class ti extends a['Disposable']{constructor(){var _0x418935=_0x154c14;super(...arguments),A(this,'_members',new Map()),A(this,_0x418935(0x41b),new $[(_0x418935(0x200))](this['_members'])),A(this,_0x418935(0x226),this[_0x418935(0x41b)][_0x418935(0x416)]());}[_0x154c14(0x313)](){var _0x385a86=_0x154c14;this[_0x385a86(0x337)]['clear']();}[_0x154c14(0x367)](_0x4bbf7f){var _0x54cb72=_0x154c14;this['_members']['set'](_0x4bbf7f['memberID'],_0x4bbf7f),this[_0x54cb72(0x34a)]();}[_0x154c14(0x1a8)](_0x2295a2){var _0x4574e3=_0x154c14;this[_0x4574e3(0x337)]['delete'](_0x2295a2);}[_0x154c14(0x2ba)](_0x205857){var _0x17bee3=_0x154c14;return this['_members'][_0x17bee3(0x225)](_0x205857);}[_0x154c14(0x25e)](){var _0x21b60a=_0x154c14;return Array[_0x21b60a(0x471)](this[_0x21b60a(0x337)][_0x21b60a(0x18d)]());}[_0x154c14(0x34a)](){var _0x41b297=_0x154c14;this[_0x41b297(0x41b)][_0x41b297(0x4e1)](this[_0x41b297(0x337)]);}}var ii=Object[_0x154c14(0x2bb)],ni=(_0x1fdc91,_0x30719a,_0x4fe0a9,_0x24ec5b)=>{for(var _0xb5190b=_0x24ec5b>0x1?void 0x0:_0x24ec5b?ii(_0x30719a,_0x4fe0a9):_0x30719a,_0x42e7a3=_0x1fdc91['length']-0x1,_0x6bb58f;_0x42e7a3>=0x0;_0x42e7a3--)(_0x6bb58f=_0x1fdc91[_0x42e7a3])&&(_0xb5190b=_0x6bb58f(_0xb5190b)||_0xb5190b);return _0xb5190b;},se=(_0x2b5854,_0x59063f)=>(_0x1570a7,_0xf429ed)=>_0x59063f(_0x1570a7,_0xf429ed,_0x2b5854),re=(_0x28401d=>(_0x28401d[_0x28401d[_0x154c14(0x333)]=0x0]=_0x154c14(0x333),_0x28401d[_0x28401d[_0x154c14(0x4b9)]=0x1]='JOINING',_0x28401d[_0x28401d[_0x154c14(0x1be)]=0x2]=_0x154c14(0x1be),_0x28401d[_0x28401d[_0x154c14(0x38b)]=0x3]=_0x154c14(0x38b),_0x28401d))(re||{});const Ge={[oe[_0x154c14(0x3ce)]]:_0x154c14(0x2c9),[oe[_0x154c14(0x2f5)]]:_0x154c14(0x348),[oe[_0x154c14(0x413)]]:_0x154c14(0x368),[oe[_0x154c14(0x3a1)]]:_0x154c14(0x3c7),[oe[_0x154c14(0x405)]]:_0x154c14(0x1e9)};exports[_0x154c14(0x244)]=class extends a['RxDisposable']{constructor(_0x2c981c,_0x5b09e8,_0x30a264,_0x3f6a00,_0x5dea7,_0x4b1ec8,_0xd4f4e2,_0x4afe07,_0x5343b4){var _0x5d08ab=_0x154c14;super(),A(this,'_sessionStatus$',new $[(_0x5d08ab(0x200))](0x0)),A(this,_0x5d08ab(0x235),this[_0x5d08ab(0x3d2)][_0x5d08ab(0x416)]()),A(this,'_event$',new $[(_0x5d08ab(0x21e))]()),A(this,_0x5d08ab(0x35f),this['_event$'][_0x5d08ab(0x416)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5d08ab(0x316)),A(this,_0x5d08ab(0x4e9),!0x1),A(this,_0x5d08ab(0x1b8),null),(this[_0x5d08ab(0x21d)]=_0x2c981c,this[_0x5d08ab(0x282)]=_0x30a264,this[_0x5d08ab(0x33c)]=_0x3f6a00,this[_0x5d08ab(0x422)]=_0x5dea7,this[_0x5d08ab(0x4ec)]=_0x4b1ec8,this[_0x5d08ab(0x1e0)]=_0xd4f4e2,this['_collaborationUIEventService']=_0x4afe07,this[_0x5d08ab(0x2e5)]=_0x5343b4,this['_shouldReportTelemetry']=!!this[_0x5d08ab(0x2e5)],_0x5b09e8[_0x5d08ab(0x37e)]($['takeUntil'](this[_0x5d08ab(0x491)]))['subscribe'](_0x3d7907=>{var _0x31d444=_0x5d08ab,_0x25f515;typeof _0x3d7907>'u'||(this[_0x31d444(0x1f2)]=_0x3d7907,_0x3d7907?(this[_0x31d444(0x19d)](_0x3d7907),this[_0x31d444(0x26c)]=_0x3d7907[_0x31d444(0x452)]['subscribe'](_0x5ef23c=>{var _0x14686e=_0x31d444;_0x5ef23c[_0x14686e(0x476)]===this[_0x14686e(0x21d)]&&this[_0x14686e(0x297)](_0x5ef23c);})):(this[_0x31d444(0x332)](),this['_sessionStatus$']['next'](0x2),(_0x25f515=this[_0x31d444(0x26c)])==null||_0x25f515[_0x31d444(0x4ab)](),this['_socketMessageSubscription']=null));}));}get[_0x154c14(0x1ad)](){var _0x51d690=_0x154c14;return this[_0x51d690(0x3d2)]['getValue']();}[_0x154c14(0x28c)](){var _0x416d4b=_0x154c14,_0x596181,_0xe38b80;return(_0xe38b80=(_0x596181=this[_0x416d4b(0x1f2)])==null?void 0x0:_0x596181[_0x416d4b(0x417)])!=null?_0xe38b80:null;}[_0x154c14(0x313)](){var _0x25b949=_0x154c14;super['dispose'](),this[_0x25b949(0x491)][_0x25b949(0x4e1)](),this[_0x25b949(0x491)][_0x25b949(0x188)]();}['close'](){var _0xa11f19=_0x154c14,_0x3fb8fd,_0x57c755;this[_0xa11f19(0x332)](),(_0x3fb8fd=this[_0xa11f19(0x1f2)])==null||_0x3fb8fd[_0xa11f19(0x3c9)]({'cmd':W[_0xa11f19(0x3cc)],'data':{'roomID':this[_0xa11f19(0x21d)]}}),(_0x57c755=this[_0xa11f19(0x1f2)])==null||_0x57c755[_0xa11f19(0x360)](),this[_0xa11f19(0x32e)][_0xa11f19(0x188)](),this[_0xa11f19(0x3d2)]['complete'](),this[_0xa11f19(0x313)]();}[_0x154c14(0x297)](_0x23d80c){var _0xca321e=_0x154c14;_0x23d80c[_0xca321e(0x403)]===W[_0xca321e(0x2b2)]?this[_0xca321e(0x271)](_0x23d80c):_0x23d80c[_0xca321e(0x403)]===W[_0xca321e(0x1ff)]&&this[_0xca321e(0x20f)](_0x23d80c);}['_joinRoom'](_0x35d27a){var _0x143b77=_0x154c14;this[_0x143b77(0x3d2)]['next'](0x1),_0x35d27a[_0x143b77(0x3c9)]({'cmd':W[_0x143b77(0x2b2)],'routeKey':this[_0x143b77(0x21d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x143b77(0x21d)]}]}});}[_0x154c14(0x271)](_0x53546c){var _0x350d4e=_0x154c14,_0x1c28c1;if(_0x53546c[_0x350d4e(0x4a1)]in Ge){this[_0x350d4e(0x305)][_0x350d4e(0x1a3)]({'id':Z[_0x350d4e(0x204)],'data':Ge[_0x53546c['code']]}),this[_0x350d4e(0x3d2)][_0x350d4e(0x4e1)](0x2);return;}this[_0x350d4e(0x3d2)][_0x350d4e(0x4e1)](0x3);const _0x31035b=(_0x1c28c1=_0x53546c['data']['roomInfos'][this[_0x350d4e(0x21d)]])==null?void 0x0:_0x1c28c1['members'];_0x31035b&&_0x31035b[_0x350d4e(0x396)](_0x3fbd07=>this[_0x350d4e(0x4ec)][_0x350d4e(0x367)](this['_unitID'],_0x3fbd07));}[_0x154c14(0x20f)](_0x3b26a6){var _0x19b8a0=_0x154c14;try{const _0xf9e594=_0x3b26a6['data'];switch(_0xf9e594[_0x19b8a0(0x192)]){case I[_0x19b8a0(0x48b)][_0x19b8a0(0x2d7)]:this[_0x19b8a0(0x2d6)](_0xf9e594),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I['CollaborationEvent'][_0x19b8a0(0x258)]:this[_0x19b8a0(0x1ab)](_0xf9e594),this['_event$'][_0x19b8a0(0x4e1)](_0xf9e594);break;case I[_0x19b8a0(0x48b)][_0x19b8a0(0x468)]:case I[_0x19b8a0(0x48b)][_0x19b8a0(0x319)]:this[_0x19b8a0(0x3be)](),this[_0x19b8a0(0x42c)](),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I['CollaborationEvent'][_0x19b8a0(0x2e3)]:this[_0x19b8a0(0x282)][_0x19b8a0(0x1da)](_0x19b8a0(0x2c6)+JSON['stringify'](_0xf9e594)),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I[_0x19b8a0(0x48b)][_0x19b8a0(0x479)]:this[_0x19b8a0(0x1e0)][_0x19b8a0(0x1fe)](_0xf9e594[_0x19b8a0(0x4c1)]),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;default:this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);}}catch(_0x5ac7c5){this[_0x19b8a0(0x282)]['error'](_0x5ac7c5,_0x3b26a6);}}[_0x154c14(0x2d6)](_0x3956be){var _0x4be58d=_0x154c14;this[_0x4be58d(0x4ec)][_0x4be58d(0x367)](this[_0x4be58d(0x21d)],_0x3956be['data']);}[_0x154c14(0x1ab)](_0x3e45bc){var _0x2d83df=_0x154c14;this[_0x2d83df(0x4ec)]['removeMember'](this['_unitID'],_0x3e45bc[_0x2d83df(0x4c1)][_0x2d83df(0x417)]);}async['send'](_0x2a833f,_0x1d7ef5){var _0x1cf59c=_0x154c14;if(this[_0x1cf59c(0x1ad)]!==0x3||!this[_0x1cf59c(0x1f2)])throw new Error(_0x1cf59c(0x349));try{_0x2a833f[_0x1cf59c(0x192)]===I[_0x1cf59c(0x48b)]['SUBMIT_CHANGESET']&&(this[_0x1cf59c(0x27a)](),this['_startTelemetryCollaborationNewChangeset'](_0x2a833f)),this[_0x1cf59c(0x1f2)][_0x1cf59c(0x3c9)]({'cmd':W['INGEST'],'routeKey':_0x1d7ef5,'routeType':'','data':_0x2a833f});}catch(_0x35d55e){this[_0x1cf59c(0x282)][_0x1cf59c(0x1da)](_0x35d55e);}}[_0x154c14(0x27a)](){var _0x2bdf04=_0x154c14,_0x9a5a71;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x583dfd=_0x1a03;this[_0x583dfd(0x316)]=null,this[_0x583dfd(0x305)]['emitEvent']({'id':Z[_0x583dfd(0x2b0)]});},(_0x9a5a71=this[_0x2bdf04(0x33c)]['getConfig'](ke))!=null?_0x9a5a71:St);}[_0x154c14(0x42c)](){var _0x4a9457=_0x154c14;this[_0x4a9457(0x316)]&&(clearTimeout(this[_0x4a9457(0x316)]),this['_collaborationTimeoutTimer']=null);}[_0x154c14(0x3ac)](_0xbe2c4e){var _0x1bf502=_0x154c14;if(!this[_0x1bf502(0x4e9)])return;const {data:_0x2c7c1c}=_0xbe2c4e,{unitID:_0x59a4f9,changeset:_0x11fad2}=_0x2c7c1c,{mutations:_0x3a181c,type:_0x1c75e4}=_0x11fad2;this[_0x1bf502(0x1b8)]={'unitId':_0x59a4f9,'type':_0x1c75e4,'startTime':performance[_0x1bf502(0x38d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3a181c)};}[_0x154c14(0x3be)](){var _0x14934f=_0x154c14;if(this[_0x14934f(0x4e9)]){if(!this[_0x14934f(0x1b8)]){this[_0x14934f(0x282)][_0x14934f(0x1da)](_0x14934f(0x424),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x14934f(0x1b8)][_0x14934f(0x475)]=performance[_0x14934f(0x38d)](),this['_telemetryInfo'][_0x14934f(0x3d1)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x14934f(0x3a8)],this[_0x14934f(0x2e5)][_0x14934f(0x345)](Xt,this[_0x14934f(0x1b8)]),this['_telemetryInfo']=null;}}[_0x154c14(0x332)](){var _0x2df0a9=_0x154c14;this[_0x2df0a9(0x1b8)]=null;}},exports['CollaborationSession']=ni([se(0x2,a['ILogService']),se(0x3,a[_0x154c14(0x307)]),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x154c14(0x25b)](exports[_0x154c14(0x245)])),se(0x6,a[_0x154c14(0x25b)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x154c14(0x46e)](Pt[_0x154c14(0x22d)]))],exports['CollaborationSession']);var ri=Object[_0x154c14(0x2bb)],si=(_0x4ebe45,_0x337bf1,_0x50ef0a,_0x39dc17)=>{for(var _0x126d0c=_0x39dc17>0x1?void 0x0:_0x39dc17?ri(_0x337bf1,_0x50ef0a):_0x337bf1,_0x2bf9c0=_0x4ebe45['length']-0x1,_0x5942b8;_0x2bf9c0>=0x0;_0x2bf9c0--)(_0x5942b8=_0x4ebe45[_0x2bf9c0])&&(_0x126d0c=_0x5942b8(_0x126d0c)||_0x126d0c);return _0x126d0c;},he=(_0x495c2e,_0x5a913e)=>(_0x567bc5,_0x1f7760)=>_0x5a913e(_0x567bc5,_0x1f7760,_0x495c2e);exports[_0x154c14(0x28a)]=class extends a[_0x154c14(0x492)]{constructor(_0x24f043,_0x3c0b41,_0x29499c,_0xb25a97,_0x49d9a8,_0x9ff27f){var _0x252e1a=_0x154c14;super(),A(this,_0x252e1a(0x4c9),new $[(_0x252e1a(0x200))](void 0x0)),A(this,'socket$',this['_socket$']['asObservable']()),A(this,_0x252e1a(0x29a),null),A(this,'_sessions',new Map()),A(this,_0x252e1a(0x2d9),new $['BehaviorSubject'](re['IDLE'])),A(this,_0x252e1a(0x41c),this[_0x252e1a(0x2d9)][_0x252e1a(0x416)]()),A(this,_0x252e1a(0x3a7),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x252e1a(0x23d),0x0),A(this,_0x252e1a(0x2c0)),A(this,'_timeoutTimer'),(this[_0x252e1a(0x42d)]=_0x24f043,this['_logService']=_0x3c0b41,this[_0x252e1a(0x33c)]=_0x29499c,this[_0x252e1a(0x1d6)]=_0xb25a97,this[_0x252e1a(0x305)]=_0x49d9a8,this[_0x252e1a(0x270)]=_0x9ff27f,this[_0x252e1a(0x34b)]());}get[_0x154c14(0x1f2)](){var _0x7d637d=_0x154c14;return this[_0x7d637d(0x4c9)][_0x7d637d(0x3ab)]();}['_listenToNetworkCondition'](){var _0x5ec4a2=_0x154c14;this[_0x5ec4a2(0x270)]&&this[_0x5ec4a2(0x1b0)](this[_0x5ec4a2(0x270)]['online$'][_0x5ec4a2(0x356)](_0x71eb18=>{var _0x39bc5a=_0x5ec4a2;_0x71eb18&&!this['_socket']&&this['reconnect'](),_0x71eb18||this[_0x39bc5a(0x1e8)]();}));}[_0x154c14(0x313)](){var _0x277dc5=_0x154c14;super[_0x277dc5(0x313)](),this[_0x277dc5(0x22e)](),this['_clearTimeoutTimer'](),this[_0x277dc5(0x3a0)](),this['_sessions'][_0x277dc5(0x396)](_0x36a60a=>_0x36a60a['dispose']()),this[_0x277dc5(0x3e7)]['clear'](),this[_0x277dc5(0x2d9)]['complete']();}async[_0x154c14(0x2fc)](_0x23937a){var _0xc67b46=_0x154c14;if(this['_sessions'][_0xc67b46(0x3a5)](_0x23937a))return this[_0xc67b46(0x3e7)][_0xc67b46(0x225)](_0x23937a);this[_0xc67b46(0x4a4)]();const _0x1f058b=this[_0xc67b46(0x42d)]['createInstance'](exports[_0xc67b46(0x244)],_0x23937a,this[_0xc67b46(0x4c9)][_0xc67b46(0x416)]());return this[_0xc67b46(0x3e7)][_0xc67b46(0x18c)](_0x23937a,_0x1f058b),_0x1f058b;}[_0x154c14(0x325)](_0x2b9457){var _0xe43791=_0x154c14,_0xaffca8;const _0x271e3a=this[_0xe43791(0x3e7)]['get'](_0x2b9457);_0x271e3a&&(this[_0xe43791(0x3e7)][_0xe43791(0x3cf)](_0x2b9457),_0x271e3a['close']()),this[_0xe43791(0x3e7)][_0xe43791(0x342)]||(_0xaffca8=this[_0xe43791(0x1f2)])==null||_0xaffca8[_0xe43791(0x360)]();}['reconnect'](){var _0x9138cf=_0x154c14;this[_0x9138cf(0x23d)]=0x0,this[_0x9138cf(0x22e)](),this[_0x9138cf(0x399)]();}[_0x154c14(0x22e)](){var _0x2db638=_0x154c14;this[_0x2db638(0x1ee)]!=null&&(clearTimeout(this[_0x2db638(0x1ee)]),this[_0x2db638(0x1ee)]=null);}async[_0x154c14(0x418)](){var _0xb99b31=_0x154c14,_0x33f236,_0x39695d;const _0x54783f=this['_configService'][_0xb99b31(0x4db)](ut),_0x131ce4=this[_0xb99b31(0x33c)][_0xb99b31(0x4db)](K),_0x54b1f2=(_0x39695d=(_0x33f236=_0x131ce4==null?void 0x0:_0x131ce4[_0xb99b31(0x3da)])!=null?_0x33f236:_0x54783f)!=null?_0x39695d:dt,_0x390adc=await this[_0xb99b31(0x1d6)][_0xb99b31(0x254)](_0x54b1f2);return this[_0xb99b31(0x29a)]=_0x390adc,_0x390adc;}async['_tryEnsureSocket'](){var _0x4dc3e4=_0x154c14,_0x378e57,_0x4a337b;try{const _0x1fb295=(_0x4a337b=(_0x378e57=this[_0x4dc3e4(0x1f2)])!=null?_0x378e57:this['_candidateSocket'])!=null?_0x4a337b:await this[_0x4dc3e4(0x418)]();if(_0x1fb295){const _0x5eb90f=_0x1fb295['send'];_0x1fb295[_0x4dc3e4(0x3c9)]=_0x401f31=>(this[_0x4dc3e4(0x1b1)](),_0x5eb90f[_0x4dc3e4(0x341)](_0x1fb295,[_0x401f31])),_0x1fb295['message$'][_0x4dc3e4(0x356)](_0x23cfca=>this[_0x4dc3e4(0x449)](_0x1fb295,_0x23cfca)),_0x1fb295[_0x4dc3e4(0x18e)][_0x4dc3e4(0x37e)](V['take'](0x1))[_0x4dc3e4(0x356)](_0x32dde0=>this[_0x4dc3e4(0x282)][_0x4dc3e4(0x1da)](_0x4dc3e4(0x2f2),_0x32dde0)),_0x1fb295[_0x4dc3e4(0x267)][_0x4dc3e4(0x37e)](V['take'](0x1))[_0x4dc3e4(0x356)](()=>{var _0x557ca4=_0x4dc3e4;this[_0x557ca4(0x47e)](_0x1fb295);}),_0x1fb295[_0x4dc3e4(0x33a)][_0x4dc3e4(0x37e)](V[_0x4dc3e4(0x274)](0x1))[_0x4dc3e4(0x356)](_0x5d4645=>{var _0x5a5f0c=_0x4dc3e4;this[_0x5a5f0c(0x282)]['debug']('[CollaborationSessionService]',_0x5a5f0c(0x3a9),_0x5d4645),this[_0x5a5f0c(0x20c)]();});}}catch(_0x384c6f){this[_0x4dc3e4(0x282)][_0x4dc3e4(0x1da)](_0x384c6f),this[_0x4dc3e4(0x20c)]();}}[_0x154c14(0x47e)](_0x339488){var _0x5e5774=_0x154c14;this['_logService']['debug'](_0x5e5774(0x38e),'socket\x20open.'),_0x339488[_0x5e5774(0x3c9)]({'cmd':W[_0x5e5774(0x205)]}),this[_0x5e5774(0x1b1)]();}['_onOffline'](){var _0x5c0e07=_0x154c14;this[_0x5c0e07(0x3a7)]=!0x1,this['_candidateSocket']=null,this[_0x5c0e07(0x2d9)][_0x5c0e07(0x4e1)](re[_0x5c0e07(0x1be)]),this[_0x5c0e07(0x4c9)][_0x5c0e07(0x4e1)](null),this[_0x5c0e07(0x27b)](),this[_0x5c0e07(0x3a0)]();}[_0x154c14(0x20c)](){var _0x53b756=_0x154c14,_0x113e7d;this[_0x53b756(0x1e8)](),this[_0x53b756(0x23d)]<((_0x113e7d=this[_0x53b756(0x33c)][_0x53b756(0x4db)](ft))!=null?_0x113e7d:jt)?(this[_0x53b756(0x305)]['emitEvent']({'id':Z[_0x53b756(0x2dd)]}),this[_0x53b756(0x399)]()):this['_collaborationUIEventService'][_0x53b756(0x1a3)]({'id':Z[_0x53b756(0x436)]});}['_tryReconnect'](){var _0x1c37f4=_0x154c14,_0x63b7;const _0x34263f=this['_retryCount'],_0x3dde2e=this[_0x1c37f4(0x33c)][_0x1c37f4(0x4db)](K),_0x4f523b=_0x34263f===0x0?0x0:((_0x63b7=_0x3dde2e==null?void 0x0:_0x3dde2e[_0x1c37f4(0x1ed)])!=null?_0x63b7:$t)*0x2**_0x34263f;this[_0x1c37f4(0x1ee)]=setTimeout(()=>{var _0x2a600b=_0x1c37f4;clearTimeout(this[_0x2a600b(0x1ee)]),this[_0x2a600b(0x1ee)]=null,this[_0x2a600b(0x4a4)]();},_0x4f523b),this[_0x1c37f4(0x23d)]+=0x1;}[_0x154c14(0x449)](_0x5af7de,_0x1ffa43){var _0x4f5a8a=_0x154c14;const {cmd:_0x5700ad}=_0x1ffa43;_0x5700ad===W['HELLO']&&!this[_0x4f5a8a(0x3a7)]&&(_0x5af7de['memberID']=_0x1ffa43[_0x4f5a8a(0x4c1)]['memberID'],this[_0x4f5a8a(0x4c9)][_0x4f5a8a(0x4e1)](_0x5af7de),this['_status$']['next'](re['ONLINE']),this['_socketReady']=!0x0,this[_0x4f5a8a(0x29a)]=null),_0x5700ad===W['HEARTBEAT']&&this[_0x4f5a8a(0x27b)](),this[_0x4f5a8a(0x1b1)]();}[_0x154c14(0x1b1)](){var _0x3ab403=_0x154c14,_0x1f3d3b;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3ab403(0x264)](),(_0x1f3d3b=this[_0x3ab403(0x33c)][_0x3ab403(0x4db)](vt))!=null?_0x1f3d3b:Ht);}[_0x154c14(0x264)](){var _0x1915df=_0x154c14;this[_0x1915df(0x1f2)]['send']({'cmd':W[_0x1915df(0x4fc)]}),this[_0x1915df(0x366)]();}[_0x154c14(0x366)](){var _0x439c63=_0x154c14,_0x71e4be;this[_0x439c63(0x334)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x71e4be=this[_0x439c63(0x33c)][_0x439c63(0x4db)](ke))!=null?_0x71e4be:St);}[_0x154c14(0x3a0)](){var _0x37cf80=_0x154c14;this[_0x37cf80(0x2c0)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x154c14(0x27b)](){var _0x2588c5=_0x154c14;this[_0x2588c5(0x334)]!=null&&(clearTimeout(this[_0x2588c5(0x334)]),this['_timeoutTimer']=null);}},exports[_0x154c14(0x28a)]=si([he(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),he(0x1,a[_0x154c14(0x36a)]),he(0x2,a[_0x154c14(0x307)]),he(0x3,He),he(0x4,a[_0x154c14(0x25b)](ee)),he(0x5,a[_0x154c14(0x46e)](mt))],exports['CollaborationSessionService']);const q=a[_0x154c14(0x4ea)]('collaboration-client.local-cache-service');function oi(_0x586f5d){return'unit-cache-'+_0x586f5d;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x376819,_0xfd5977,_0x567e63,_0x44815f)=>{var _0x14dc3e=_0x154c14;for(var _0x38c21c=_0x44815f>0x1?void 0x0:_0x44815f?ai(_0xfd5977,_0x567e63):_0xfd5977,_0x57eae2=_0x376819[_0x14dc3e(0x454)]-0x1,_0x2baf2e;_0x57eae2>=0x0;_0x57eae2--)(_0x2baf2e=_0x376819[_0x57eae2])&&(_0x38c21c=_0x2baf2e(_0x38c21c)||_0x38c21c);return _0x38c21c;},De=(_0xdcba78,_0x40592d)=>(_0x3f5248,_0xe6686b)=>_0x40592d(_0x3f5248,_0xe6686b,_0xdcba78);function hi(_0x448a54){var _0x4ca7aa=_0x154c14;const {unitID:_0xb80f37,mutations:_0x55fdc2}=_0x448a54;return{'unitId':_0xb80f37,'subUnitId':_0x55fdc2[0x0][_0x4ca7aa(0x45c)][_0x4ca7aa(0x41e)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x2eeeac,_0x1c3188,_0x26041b){var _0x3900f7=_0x154c14;this['_injector']=_0x2eeeac,this[_0x3900f7(0x2ee)]=_0x1c3188,this[_0x3900f7(0x2df)]=_0x26041b;}[_0x154c14(0x353)](_0xa707ec){var _0x1c1350=_0x154c14,_0x2514e7,_0x55c94e,_0x87b006,_0x459139;const _0x11dd9d=this[_0x1c1350(0x42d)][_0x1c1350(0x225)](X[_0x1c1350(0x3de)]),{unitId:_0x461738,subUnitId:_0x20a3b7}=hi(_0xa707ec),_0x282c32=_0x11dd9d==null?void 0x0:_0x11dd9d['getWorkbookSelections'](_0x461738)[_0x1c1350(0x18b)](),_0x58b103=(_0x55c94e=(_0x2514e7=this[_0x1c1350(0x2df)][_0x1c1350(0x21f)](_0x461738))==null?void 0x0:_0x2514e7['getActiveSheet']())==null?void 0x0:_0x55c94e[_0x1c1350(0x207)]();if(_0x282c32[_0x1c1350(0x454)]===0x0||!_0x461738||!_0x20a3b7)return;const _0xcc7bbe=[{'id':X[_0x1c1350(0x23c)]['id'],'params':{'unitId':_0x461738,'subUnitId':_0x58b103,'selections':a[_0x1c1350(0x2ae)]['deepClone'](_0x282c32)}}],_0x26f054=this[_0x1c1350(0x2ee)]['transformMutationsWithChangeset'](_0xa707ec,_0xcc7bbe);if(!I[_0x1c1350(0x41a)](_0x26f054))throw _0x26f054['error'];const _0x25aef6=(_0x459139=(_0x87b006=_0x26f054[_0x1c1350(0x442)][0x0])==null?void 0x0:_0x87b006[_0x1c1350(0x45c)])==null?void 0x0:_0x459139['selections'];if(Array[_0x1c1350(0x30c)](_0x25aef6)&&_0x25aef6['length']){if(_0x25aef6[_0x1c1350(0x454)]===_0xcc7bbe[0x0]['params'][_0x1c1350(0x20d)]['length']&&_0x25aef6['every']((_0x32f477,_0x18ff9d)=>a['Rectangle'][_0x1c1350(0x4be)](_0x32f477[_0x1c1350(0x1e1)],_0xcc7bbe[0x0][_0x1c1350(0x45c)][_0x1c1350(0x20d)][_0x18ff9d][_0x1c1350(0x1e1)])))return;this['_injector']['get'](a[_0x1c1350(0x4ba)])[_0x1c1350(0x3c1)](X[_0x1c1350(0x23c)]['id'],{'unitId':_0x461738,'subUnitId':_0x58b103,'selections':_0x25aef6});}}},exports[_0x154c14(0x3e2)]=ci([De(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),De(0x1,I[_0x154c14(0x1e4)]),De(0x2,a['IUniverInstanceService'])],exports[_0x154c14(0x3e2)]);const de=a[_0x154c14(0x4ea)](_0x154c14(0x3c0));var je=(_0x15e5ea=>(_0x15e5ea[_0x15e5ea[_0x154c14(0x2ca)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x15e5ea[_0x15e5ea['OTHER_CLIENTS_EDITING']=0x1]=_0x154c14(0x42a),_0x15e5ea))(je||{});const _i=new Set([X[_0x154c14(0x45d)]['id']]);function Ke(_0x3f76eb,_0x3f5498,_0x22b127,_0x5aa55e,_0x2a4e4a){var _0x2b4aa0=_0x154c14,_0x3de7f5,_0x226b8c,_0x1166b5,_0x302020;const _0x38f829=[];for(const _0x4de4dd of _0x3f76eb)if(_i[_0x2b4aa0(0x3a5)](_0x4de4dd['id'])){if(_0x38f829[_0x2b4aa0(0x454)]>0x0)break;_0x38f829[_0x2b4aa0(0x4af)](_0x4de4dd);break;}else _0x38f829[_0x2b4aa0(0x4af)](_0x4de4dd);const _0x44f87e=(_0x226b8c=(_0x3de7f5=_0x2a4e4a[_0x2b4aa0(0x2c8)]())==null?void 0x0:_0x3de7f5['userID'])!=null?_0x226b8c:_0x2b4aa0(0x213),_0x2796ba=(_0x302020=(_0x1166b5=_0x2a4e4a[_0x2b4aa0(0x2c8)]())==null?void 0x0:_0x1166b5[_0x2b4aa0(0x417)])!=null?_0x302020:_0x2b4aa0(0x213);return{'changeset':{'unitID':_0x3f5498,'type':I['mapDocumentTypeToUniverType'](_0x22b127[_0x2b4aa0(0x484)](_0x3f5498)),'baseRev':_0x5aa55e[_0x2b4aa0(0x490)](_0x3f5498),'revision':0x0,'userID':_0x44f87e,'memberID':_0x2796ba,'mutations':_0x38f829},'pendingMutations':_0x3f76eb[_0x2b4aa0(0x30f)](_0x38f829[_0x2b4aa0(0x454)])};}function li(_0x28c204,_0x6adc8e,_0x2eca08,_0x52a65d,_0xf8bfda){var _0x5a8374=_0x154c14,_0x2d8f04,_0x47d8b3,_0xe3660d,_0x5af025;const _0x2645fe=[_0x28c204['reduce']((_0x17b92f,_0x5b58ee)=>{var _0x272265=_0x1a03,_0x42a128;const {id:_0x17ad0a}=_0x17b92f,{id:_0x1ef37e,type:_0x3c2d46}=_0x5b58ee,_0x5909b9=(_0x42a128=_0x17b92f[_0x272265(0x45c)])!=null?_0x42a128:{'actions':null},_0x10db73=_0x5b58ee[_0x272265(0x45c)];if(_0x17ad0a&&_0x17ad0a!==_0x1ef37e)throw new Error(_0x272265(0x458)+_0x17ad0a+_0x272265(0x4cc)+_0x1ef37e+'.');return{..._0x17b92f,'id':_0x1ef37e,'type':_0x3c2d46,'params':{'unitId':_0x10db73[_0x272265(0x191)],'textRanges':_0x10db73[_0x272265(0x3bd)],'actions':a[_0x272265(0x485)][_0x272265(0x4f3)](_0x5909b9[_0x272265(0x240)],_0x10db73['actions'])}};},{})],_0x4f797f=(_0x47d8b3=(_0x2d8f04=_0xf8bfda[_0x5a8374(0x2c8)]())==null?void 0x0:_0x2d8f04[_0x5a8374(0x4b8)])!=null?_0x47d8b3:_0x5a8374(0x213),_0x51a86e=(_0x5af025=(_0xe3660d=_0xf8bfda[_0x5a8374(0x2c8)]())==null?void 0x0:_0xe3660d['memberID'])!=null?_0x5af025:_0x5a8374(0x213);return{'changeset':{'unitID':_0x6adc8e,'type':I[_0x5a8374(0x199)](_0x2eca08['getUnitType'](_0x6adc8e)),'baseRev':_0x52a65d[_0x5a8374(0x490)](_0x6adc8e),'revision':0x0,'userID':_0x4f797f,'memberID':_0x51a86e,'mutations':_0x2645fe},'pendingMutations':[]};}function bt(_0x5f2201,_0x35ca4e){var _0x3915d8=_0x154c14;const _0x4ffd91=new $[(_0x3915d8(0x421))](0x1);return setTimeout(()=>_0x4ffd91['next'](_0x35ca4e),_0x5f2201),_0x4ffd91[_0x3915d8(0x416)]()[_0x3915d8(0x37e)]($['take'](0x1));}const ui={'id':X[_0x154c14(0x2ed)]['id'],'type':a[_0x154c14(0x4c0)][_0x154c14(0x210)],'params':{}};var di=Object[_0x154c14(0x2bb)],ae=(_0xacdbdb,_0x89f31c,_0x4a3b68,_0x1727b4)=>{var _0x3d7ede=_0x154c14;for(var _0xa91594=_0x1727b4>0x1?void 0x0:_0x1727b4?di(_0x89f31c,_0x4a3b68):_0x89f31c,_0x44d5a7=_0xacdbdb[_0x3d7ede(0x454)]-0x1,_0x4dda9b;_0x44d5a7>=0x0;_0x44d5a7--)(_0x4dda9b=_0xacdbdb[_0x44d5a7])&&(_0xa91594=_0x4dda9b(_0xa91594)||_0xa91594);return _0xa91594;},w=(_0x59b171,_0x31b81f)=>(_0x205227,_0x188350)=>_0x31b81f(_0x205227,_0x188350,_0x59b171),Be=(_0x488d0c=>(_0x488d0c[_0x154c14(0x3ec)]=_0x154c14(0x220),_0x488d0c['SYNCED']='synced',_0x488d0c[_0x154c14(0x2fa)]='pending',_0x488d0c[_0x154c14(0x32b)]='awaiting',_0x488d0c[_0x154c14(0x358)]='awaiting_with_pending',_0x488d0c[_0x154c14(0x2e4)]=_0x154c14(0x3fe),_0x488d0c[_0x154c14(0x393)]=_0x154c14(0x4b1),_0x488d0c['OFFLINE']='offline',_0x488d0c))(Be||{});const Rt=0xea60;class ce{constructor(_0xe41d0,_0x97e086,_0x44b6a8,_0x212d1e,_0x2cc15b,_0x4e09ee,_0x2d34a6,_0x2f751f,_0x1888b8){var _0x1c470e=_0x154c14;A(this,_0x1c470e(0x346),null),A(this,_0x1c470e(0x320),[]),(this[_0x1c470e(0x4b5)]=_0xe41d0,this[_0x1c470e(0x493)]=_0x97e086,this['_handler']=_0x2cc15b,this[_0x1c470e(0x428)]=_0x4e09ee,this['_undoRedoService']=_0x2d34a6,this['_revisionService']=_0x2f751f,this['_localCacheService']=_0x1888b8,this['_awaitingChangeset']=_0x44b6a8,this[_0x1c470e(0x320)]=_0x212d1e);}[_0x154c14(0x24c)](_0x491bac){var _0x4da654=_0x154c14;const _0x869d15=this['_revisionService'][_0x4da654(0x490)](this[_0x4da654(0x4b5)]);return _0x491bac[_0x4da654(0x4f8)]>_0x869d15+0x1?(this[_0x4da654(0x37d)][_0x4da654(0x294)]({'from':_0x869d15,'to':_0x491bac[_0x4da654(0x4f8)]-0x1}),!0x0):!0x1;}[_0x154c14(0x324)](_0x268141){var _0xe40702=_0x154c14;this[_0xe40702(0x4cf)]['transformUndoRedo'](this[_0xe40702(0x4b5)],_0x268141);}[_0x154c14(0x327)](_0x1d3f68){var _0x3f7dd0=_0x154c14,_0x44982e,_0x18ab08;(_0x18ab08=(_0x44982e=this[_0x3f7dd0(0x37d)])[_0x3f7dd0(0x3d5)])==null||_0x18ab08[_0x3f7dd0(0x2eb)](_0x44982e,_0x1d3f68);}['_transformIMECache'](_0x16044f){var _0x3aa795=_0x154c14,_0x37b407,_0x4cc0b0;return(_0x4cc0b0=(_0x37b407=this[_0x3aa795(0x37d)])[_0x3aa795(0x2f4)])==null?void 0x0:_0x4cc0b0['call'](_0x37b407,_0x16044f);}[_0x154c14(0x37c)](_0x5017fe){var _0x3caaf5=_0x154c14,_0x3503ac,_0x3db267;return(_0x3db267=(_0x3503ac=this[_0x3caaf5(0x37d)])[_0x3caaf5(0x3e8)])==null?void 0x0:_0x3db267['call'](_0x3503ac,_0x5017fe);}['_transformRemoteChangesetByIMECache'](_0x103508){var _0x382cf6=_0x154c14,_0x1c6a66,_0xd19af7,_0x20142c;return(_0x20142c=(_0xd19af7=(_0x1c6a66=this[_0x382cf6(0x37d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xd19af7[_0x382cf6(0x2eb)](_0x1c6a66,_0x103508))!=null?_0x20142c:_0x103508;}[_0x154c14(0x29f)](_0x3885d1){var _0x6dbfec=_0x154c14,_0x45e575,_0x2532a8,_0x25a839;return(_0x25a839=(_0x2532a8=(_0x45e575=this[_0x6dbfec(0x37d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2532a8['call'](_0x45e575,_0x3885d1))!=null?_0x25a839:_0x3885d1;}[_0x154c14(0x2b1)](_0x256da2){var _0x3a800c=_0x154c14,_0x4cfb4e,_0x1886ae;if(this['type']===J[_0x3a800c(0x49a)]){const {unitID:_0x4c2e93,mutations:_0x571fb1,memberID:_0x39683c}=_0x256da2,_0x4e2686=_0x571fb1[0x0]['params'][_0x3a800c(0x3bd)];Array[_0x3a800c(0x30c)](_0x4e2686)&&_0x4e2686[_0x3a800c(0x454)]>0x0&&((_0x1886ae=(_0x4cfb4e=this[_0x3a800c(0x37d)])[_0x3a800c(0x4e3)])==null||_0x1886ae[_0x3a800c(0x2eb)](_0x4cfb4e,{'unitID':_0x4c2e93,'memberID':_0x39683c,'textRanges':_0x4e2686}));}}['_updateLocalCache'](){var _0x218804=_0x154c14,_0x25c92c;(_0x25c92c=this[_0x218804(0x3e0)])==null||_0x25c92c['updateOfflineData'](this[_0x218804(0x4b5)],this[_0x218804(0x493)],this[_0x218804(0x346)],this[_0x218804(0x320)]);}['_getCurrentRevision'](){var _0x5e18b8=_0x154c14;return this[_0x5e18b8(0x33f)][_0x5e18b8(0x490)](this[_0x5e18b8(0x4b5)]);}['_incrementRevisionNumber'](){var _0x11b99a=_0x154c14;this['_revisionService'][_0x11b99a(0x3b0)](this[_0x11b99a(0x4b5)]);}[_0x154c14(0x322)](_0x3b7b0c){var _0xdfbfce=_0x154c14,_0x4292e7;let _0x16f54b=this['_transformRemoteChangesetByIMECache'](_0x3b7b0c);_0x16f54b=this['_transformRemoteChangesetByStateCache'](_0x16f54b);const _0x56c0fe=a['sequenceExecute'](_0x16f54b['mutations'],this[_0xdfbfce(0x428)],{'fromCollab':!0x0});if(!_0x56c0fe['result'])throw _0x56c0fe[_0xdfbfce(0x1da)]instanceof Error?_0x56c0fe[_0xdfbfce(0x1da)]:new Error((_0x4292e7=_0x56c0fe[_0xdfbfce(0x1da)])!=null?_0x4292e7:_0xdfbfce(0x33b));this[_0xdfbfce(0x330)](_0x16f54b),this['_transformStateCache'](_0x16f54b),this['_transformUndoredo'](_0x3b7b0c),this[_0xdfbfce(0x327)](_0x16f54b),this[_0xdfbfce(0x2b1)](_0x16f54b),this[_0xdfbfce(0x410)]();}}exports[_0x154c14(0x2e7)]=class extends ce{constructor(_0xa10cc,_0x1b4aeb,_0x1ca712,_0x530072,_0x2ad2b2,_0x45f92a,_0x46f828,_0x5b4d87,_0x16f350,_0x586f9b){var _0x4c4d5e=_0x154c14;super(_0xa10cc,_0x1b4aeb,null,[],_0x1ca712,_0x46f828,_0x45f92a,_0x530072,_0x586f9b),A(this,_0x4c4d5e(0x4d2),'synced'),(this['_injector']=_0x2ad2b2,this[_0x4c4d5e(0x282)]=_0x5b4d87,this[_0x4c4d5e(0x2ee)]=_0x16f350,this['localCacheService']=_0x586f9b);}['appendMutation'](_0x102fb7){var _0x5f5c8f=_0x154c14;const _0x24e1f1=this['_injector'][_0x5f5c8f(0x26a)](exports[_0x5f5c8f(0x394)],this[_0x5f5c8f(0x4b5)],this[_0x5f5c8f(0x493)],[_0x102fb7],this[_0x5f5c8f(0x37d)]);return _0x24e1f1[_0x5f5c8f(0x3e5)](),_0x24e1f1[_0x5f5c8f(0x1bd)](),_0x24e1f1;}['onRemoteChangeset'](_0x27b0d8){var _0x15b33=_0x154c14;if(this[_0x15b33(0x24c)](_0x27b0d8))return this[_0x15b33(0x42d)][_0x15b33(0x26a)](exports[_0x15b33(0x34c)],this['unitID'],this[_0x15b33(0x493)],null,[],null,[_0x27b0d8],this['_handler']);try{const _0x13a054=this[_0x15b33(0x2ee)]['transformMutationsWithChangeset'](_0x27b0d8,[ui]);if(I[_0x15b33(0x41a)](_0x13a054)){const {c1Prime:_0x275ea9}=_0x13a054;return this[_0x15b33(0x322)](_0x275ea9),this;}throw _0x13a054[_0x15b33(0x1da)];}catch(_0x2aef78){return this[_0x15b33(0x282)][_0x15b33(0x1da)](_0x2aef78),this[_0x15b33(0x489)](!0x1);}}[_0x154c14(0x489)](_0x13eeff){var _0x1b311a=_0x154c14;return this['_injector'][_0x1b311a(0x26a)](exports[_0x1b311a(0x1c8)],this[_0x1b311a(0x4b5)],this[_0x1b311a(0x493)],null,[],this[_0x1b311a(0x37d)],_0x13eeff);}[_0x154c14(0x1d7)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x154c14(0x45f)](){var _0x137a06=_0x154c14;throw new Error(_0x137a06(0x3ff));}[_0x154c14(0x22b)](){return this;}[_0x154c14(0x230)](){var _0x27b343=_0x154c14;return this[_0x27b343(0x42d)][_0x27b343(0x26a)](exports['OfflineState'],this[_0x27b343(0x4b5)],this[_0x27b343(0x493)],null,[],this['_handler']);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x9863b=_0x154c14;throw new Error(_0x9863b(0x1ce));}[_0x154c14(0x370)](){var _0x38a892=_0x154c14;const _0x905da3=this[_0x38a892(0x33f)][_0x38a892(0x490)](this[_0x38a892(0x4b5)]);return this[_0x38a892(0x37d)][_0x38a892(0x294)]({'from':_0x905da3,'to':0x0}),this['_injector'][_0x38a892(0x26a)](exports['FetchingMissState'],this[_0x38a892(0x4b5)],this[_0x38a892(0x493)],null,[],null,[],this[_0x38a892(0x37d)]);}},exports[_0x154c14(0x2e7)]=ae([w(0x3,a[_0x154c14(0x25b)](I['RevisionService'])),w(0x4,a['Inject'](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x338)]),w(0x6,a[_0x154c14(0x4ba)]),w(0x7,a['ILogService']),w(0x8,I['ITransformService']),w(0x9,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x2e7)]),exports[_0x154c14(0x394)]=class extends ce{constructor(_0x4dcc64,_0x2d298e,_0x2716f8,_0x268e61,_0x565df3,_0x44c78b,_0x5eaaa9,_0x3ae440,_0x3d8505,_0x16008a,_0x3b6c7e,_0xe395f8,_0x3d61de,_0x4219db){var _0x5b6467=_0x154c14;super(_0x4dcc64,_0x2d298e,null,_0x2716f8,_0x268e61,_0x3d8505,_0x3d61de,_0x44c78b,_0x4219db),A(this,_0x5b6467(0x4d2),_0x5b6467(0x19f)),A(this,_0x5b6467(0x247),null),A(this,_0x5b6467(0x4ac),null),(this['_injector']=_0x565df3,this['_memberService']=_0x5eaaa9,this[_0x5b6467(0x282)]=_0x3ae440,this[_0x5b6467(0x33c)]=_0x16008a,this[_0x5b6467(0x2ee)]=_0x3b6c7e,this['_univerInstanceService']=_0xe395f8);}[_0x154c14(0x280)](_0x3a2746){var _0x565bc5=_0x154c14;return this['_pendingMutations'][_0x565bc5(0x4af)](_0x3a2746),this['_updateLocalCache'](),this;}[_0x154c14(0x25f)](_0x5edd16){var _0x312280=_0x154c14;if(this[_0x312280(0x24c)](_0x5edd16))return this[_0x312280(0x383)](),this[_0x312280(0x42d)][_0x312280(0x26a)](exports['FetchingMissState'],this[_0x312280(0x4b5)],this[_0x312280(0x493)],null,this[_0x312280(0x320)],null,[_0x5edd16],this[_0x312280(0x37d)]);try{const _0x3a4177=this['_transformService'][_0x312280(0x37b)](_0x5edd16,this[_0x312280(0x320)]);if(I[_0x312280(0x41a)](_0x3a4177)){const {c1Prime:_0x4eb423,m2Prime:_0x52e13c}=_0x3a4177;this[_0x312280(0x322)](_0x4eb423);const _0xb8f8c2=this[_0x312280(0x42d)][_0x312280(0x26a)](exports[_0x312280(0x394)],this[_0x312280(0x4b5)],this[_0x312280(0x493)],_0x52e13c,this[_0x312280(0x37d)]);this[_0x312280(0x383)]();const _0x49cd83=new Date()[_0x312280(0x2fb)](),_0x1b2c4f=this[_0x312280(0x247)]?Math[_0x312280(0x181)](this[_0x312280(0x247)]-_0x49cd83,0x0):this[_0x312280(0x21c)]();return _0xb8f8c2[_0x312280(0x3e5)](_0x1b2c4f),_0xb8f8c2;}throw _0x3a4177['error'];}catch(_0x32fc9c){return this[_0x312280(0x282)][_0x312280(0x1da)](_0x32fc9c),this[_0x312280(0x489)](!0x1);}}[_0x154c14(0x1d7)](){var _0x3859bb=_0x154c14;throw new Error(_0x3859bb(0x3f1));}[_0x154c14(0x45f)](){var _0x3b256c=_0x154c14;throw new Error(_0x3b256c(0x42b));}['onRemoteRetry'](){return this;}[_0x154c14(0x230)](){var _0x50d8fb=_0x154c14;return this[_0x50d8fb(0x383)](),this['_injector'][_0x50d8fb(0x26a)](exports[_0x50d8fb(0x329)],this[_0x50d8fb(0x4b5)],this[_0x50d8fb(0x493)],null,this['_pendingMutations'],this[_0x50d8fb(0x37d)]);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x3e5)](_0x1714e7){var _0x5d54c7=_0x154c14;const _0x6fe1cb=_0x1714e7!=null?_0x1714e7:this[_0x5d54c7(0x21c)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5d54c7(0x2fb)]()+_0x6fe1cb,this[_0x5d54c7(0x4ac)]=setTimeout(()=>{var _0x1913ad=_0x5d54c7;this['_clearScheduledTask']();let _0x2faf19=null;switch(this['type']){case J[_0x1913ad(0x378)]:{_0x2faf19=Ke(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this['_memberService']);break;}case J[_0x1913ad(0x49a)]:{this[_0x1913ad(0x320)][_0x1913ad(0x193)](_0x2468c6=>_0x2468c6['id']===ht[_0x1913ad(0x2c4)]['id'])?_0x2faf19=li(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this[_0x1913ad(0x4ec)]):_0x2faf19=Ke(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1913ad(0x493)]+_0x1913ad(0x24b));}const {changeset:_0x55c534,pendingMutations:_0x4e9286}=_0x2faf19;this['_handler'][_0x1913ad(0x4a2)](_0x55c534);const _0x57a46c=_0x4e9286[_0x1913ad(0x454)]?this[_0x1913ad(0x42d)][_0x1913ad(0x26a)](exports[_0x1913ad(0x351)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x493)],_0x55c534,_0x4e9286,this[_0x1913ad(0x37d)],void 0x0):this[_0x1913ad(0x42d)][_0x1913ad(0x26a)](exports['AwaitingState'],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x493)],_0x55c534,this['_handler']);_0x57a46c['_updateLocalCache'](),this[_0x1913ad(0x37d)]['onStateChange'](this,_0x57a46c);},_0x6fe1cb);}[_0x154c14(0x21c)](){var _0x3e672c=_0x154c14,_0x597d99;const _0x12d90c=this['_configService']['getConfig'](K);return(_0x597d99=_0x12d90c==null?void 0x0:_0x12d90c[_0x3e672c(0x1a6)])!=null?_0x597d99:xt;}['resend'](){var _0x11f3d6=_0x154c14;throw new Error(_0x11f3d6(0x462));}[_0x154c14(0x383)](){var _0x4bf0b4=_0x154c14;this[_0x4bf0b4(0x4ac)]!=null&&(clearTimeout(this[_0x4bf0b4(0x4ac)]),this[_0x4bf0b4(0x4ac)]=null);}[_0x154c14(0x489)](_0x3c91a0){var _0x293a50=_0x154c14;return this[_0x293a50(0x383)](),this[_0x293a50(0x42d)]['createInstance'](exports[_0x293a50(0x1c8)],this[_0x293a50(0x4b5)],this[_0x293a50(0x493)],null,this['_pendingMutations'],this[_0x293a50(0x37d)],_0x3c91a0);}},exports[_0x154c14(0x394)]=ae([w(0x4,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x6,a[_0x154c14(0x25b)](exports[_0x154c14(0x245)])),w(0x7,a['ILogService']),w(0x8,a[_0x154c14(0x4ba)]),w(0x9,a[_0x154c14(0x307)]),w(0xa,I[_0x154c14(0x1e4)]),w(0xb,a[_0x154c14(0x22a)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x394)]),exports[_0x154c14(0x37a)]=class extends ce{constructor(_0x5c5cd3,_0x4942b2,_0x23e08d,_0x1836db,_0x30662a,_0x340b30,_0x407dba,_0x41a46c,_0x2ba5e5,_0x4d5494,_0x327b91){var _0x11cd86=_0x154c14;super(_0x5c5cd3,_0x4942b2,_0x23e08d,[],_0x1836db,_0x407dba,_0x4d5494,_0x340b30,_0x327b91),A(this,_0x11cd86(0x4d2),'awaiting'),A(this,'_resendTimeout',0x0),A(this,_0x11cd86(0x3d3)),A(this,_0x11cd86(0x2ce)),(this[_0x11cd86(0x42d)]=_0x30662a,this['_logService']=_0x41a46c,this[_0x11cd86(0x2ee)]=_0x2ba5e5);}[_0x154c14(0x280)](_0x2c703e){var _0x425814=_0x154c14;this['_clearScheduledTask']();const _0x202ae3=this[_0x425814(0x42d)][_0x425814(0x26a)](exports[_0x425814(0x351)],this[_0x425814(0x4b5)],this[_0x425814(0x493)],this[_0x425814(0x346)],[_0x2c703e],this[_0x425814(0x37d)],this[_0x425814(0x3d3)]);return _0x202ae3['_updateLocalCache'](),_0x202ae3;}['onRemoteChangeset'](_0x5f03d5){var _0x54a261=_0x154c14;if(this['_checkMissing'](_0x5f03d5))return this['_clearScheduledTask'](),this[_0x54a261(0x42d)][_0x54a261(0x26a)](exports[_0x54a261(0x34c)],this[_0x54a261(0x4b5)],this['type'],this['_awaitingChangeset'],[],null,[_0x5f03d5],this[_0x54a261(0x37d)]);try{const _0x2bc680=this[_0x54a261(0x2ee)][_0x54a261(0x30d)]([_0x5f03d5],[this['_awaitingChangeset']],!0x1);if(I['isTransformChangesetsSuccess'](_0x2bc680)){const {c1Prime:_0x34b315,c2Prime:_0x1ff1bf}=_0x2bc680;this['_executeRemoteChangeset'](_0x34b315[0x0]),_0x1ff1bf[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x54a261(0x383)]();const _0x5d84b4=this[_0x54a261(0x42d)][_0x54a261(0x26a)](exports[_0x54a261(0x37a)],this[_0x54a261(0x4b5)],this['type'],_0x1ff1bf[0x0],this[_0x54a261(0x37d)]);return _0x5d84b4[_0x54a261(0x1bd)](),_0x5d84b4;}return this['_onConflict'](!0x1);}catch(_0x11acd2){return this['_logService'][_0x54a261(0x1da)](_0x11acd2),this['_onConflict'](!0x1);}}[_0x154c14(0x1d7)](_0x3706d9){var _0x28631a=_0x154c14;this[_0x28631a(0x383)]();const _0x1194a7=this['_revisionService']['getCurrentRevOfUnit'](this[_0x28631a(0x4b5)]);if(_0x3706d9[_0x28631a(0x4f8)]<_0x1194a7-0x1)return this;if(this['_checkMissing'](_0x3706d9))return this[_0x28631a(0x42d)]['createInstance'](exports['FetchingMissState'],this[_0x28631a(0x4b5)],this[_0x28631a(0x493)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x28631a(0x410)]();const _0x2dacf4=this['_injector']['createInstance'](exports['SyncedState'],this[_0x28631a(0x4b5)],this[_0x28631a(0x493)],this['_handler']);return _0x2dacf4[_0x28631a(0x1bd)](),_0x2dacf4;}[_0x154c14(0x45f)](_0x28e44d){return this['_onConflict'](!!(_0x28e44d!=null&&_0x28e44d['isPermissionRej']));}['onRemoteRetry'](_0xb0ee8a){var _0x2fb03d=_0x154c14;return this[_0x2fb03d(0x3ed)]>Rt?this[_0x2fb03d(0x230)]():(this[_0x2fb03d(0x3d3)]=bt(this[_0x2fb03d(0x3ed)],{'timeout':this[_0x2fb03d(0x3ed)],'reqId':_0xb0ee8a['reqId']}),this[_0x2fb03d(0x2ce)]=this[_0x2fb03d(0x3d3)]['subscribe'](({reqId:_0x4b2bb8,timeout:_0x384403})=>{var _0x58000e=_0x2fb03d;this[_0x58000e(0x279)](_0x4b2bb8,_0x384403);}),this);}[_0x154c14(0x230)](){var _0x23db7d=_0x154c14;return this[_0x23db7d(0x383)](),this['_injector'][_0x23db7d(0x26a)](exports[_0x23db7d(0x329)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x23db7d(0x37d)]);}[_0x154c14(0x314)](){return this;}['resend'](){var _0xab077a=_0x154c14;this[_0xab077a(0x37d)][_0xab077a(0x4a2)](this[_0xab077a(0x346)]);}[_0x154c14(0x489)](_0x216203){var _0x36d605=_0x154c14;return this[_0x36d605(0x383)](),this[_0x36d605(0x42d)][_0x36d605(0x26a)](exports[_0x36d605(0x1c8)],this[_0x36d605(0x4b5)],this[_0x36d605(0x493)],this[_0x36d605(0x346)],[],this[_0x36d605(0x37d)],_0x216203);}[_0x154c14(0x279)](_0x520f3c,_0x46a15c){var _0x324c78=_0x154c14,_0x39d31c;_0x520f3c===((_0x39d31c=this[_0x324c78(0x346)])==null?void 0x0:_0x39d31c[_0x324c78(0x4e7)])&&(this[_0x324c78(0x292)](),this[_0x324c78(0x3ed)]=_0x46a15c===0x0?0x3e8:_0x46a15c*0x2);}[_0x154c14(0x383)](){var _0x17f3ab=_0x154c14,_0x35661c;(_0x35661c=this[_0x17f3ab(0x2ce)])==null||_0x35661c[_0x17f3ab(0x4ab)](),this[_0x17f3ab(0x3ed)]=0x0;}},exports[_0x154c14(0x37a)]=ae([w(0x4,a['Inject'](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x6,a[_0x154c14(0x4ba)]),w(0x7,a[_0x154c14(0x36a)]),w(0x8,I[_0x154c14(0x1e4)]),w(0x9,a[_0x154c14(0x338)]),w(0xa,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x37a)]),exports[_0x154c14(0x351)]=class extends ce{constructor(_0x41622e,_0x12b117,_0x215f42,_0x2d0816,_0xfc1caa,_0x572a2c,_0x3b1c83,_0x5ec652,_0xb9eeac,_0x32bf70,_0x146cbd,_0x29c46c,_0x57cde1){var _0x50a275=_0x154c14;super(_0x41622e,_0x12b117,_0x215f42,_0x2d0816,_0xfc1caa,_0xb9eeac,_0x29c46c,_0x5ec652,_0x57cde1),A(this,'status','awaiting_with_pending'),A(this,_0x50a275(0x3ed),0x0),A(this,_0x50a275(0x3d3)),A(this,'_sender'),(this[_0x50a275(0x42d)]=_0x3b1c83,this[_0x50a275(0x282)]=_0x32bf70,this[_0x50a275(0x2ee)]=_0x146cbd,this[_0x50a275(0x1f1)]=_0x57cde1,_0x572a2c&&(this['_resendTimer']=_0x572a2c,this[_0x50a275(0x2ce)]=this['_resendTimer'][_0x50a275(0x356)](({reqId:_0x1c31c2,timeout:_0x2c62b4})=>{var _0x97d57d=_0x50a275;this[_0x97d57d(0x279)](_0x1c31c2,_0x2c62b4);})));}[_0x154c14(0x280)](_0x48abad){var _0x563c70=_0x154c14;return this[_0x563c70(0x320)][_0x563c70(0x4af)](_0x48abad),this;}[_0x154c14(0x25f)](_0x57d6a7){var _0x5039e3=_0x154c14;if(this[_0x5039e3(0x24c)](_0x57d6a7))return this[_0x5039e3(0x383)](),this['_injector'][_0x5039e3(0x26a)](exports[_0x5039e3(0x34c)],this['unitID'],this[_0x5039e3(0x493)],this[_0x5039e3(0x346)],this['_pendingMutations'],null,[_0x57d6a7],this[_0x5039e3(0x37d)]);try{const _0x4e9b9d=this[_0x5039e3(0x2ee)][_0x5039e3(0x30d)]([_0x57d6a7],[this[_0x5039e3(0x346)]],!0x1);if(I[_0x5039e3(0x3f9)](_0x4e9b9d)){const {c1Prime:_0x1a6db3,c2Prime:_0x26bd3c}=_0x4e9b9d,_0x5b32e0=this['_transformService'][_0x5039e3(0x37b)](_0x1a6db3[0x0],this[_0x5039e3(0x320)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x5b32e0)){const {c1Prime:_0x3ed4ae,m2Prime:_0x9fb831}=_0x5b32e0;return this[_0x5039e3(0x322)](_0x3ed4ae),_0x26bd3c[0x0]['baseRev']=this[_0x5039e3(0x2e9)](),this[_0x5039e3(0x383)](),this['_injector'][_0x5039e3(0x26a)](exports[_0x5039e3(0x351)],this[_0x5039e3(0x4b5)],this[_0x5039e3(0x493)],_0x26bd3c[0x0],_0x9fb831,this[_0x5039e3(0x37d)],void 0x0);}throw _0x5b32e0[_0x5039e3(0x1da)];}throw _0x4e9b9d[_0x5039e3(0x1da)];}catch(_0x59af70){return this[_0x5039e3(0x282)][_0x5039e3(0x1da)](_0x59af70),this[_0x5039e3(0x489)](!0x1);}}[_0x154c14(0x1d7)](_0x381a87){var _0x469527=_0x154c14;if(this['_clearScheduledTask'](),this[_0x469527(0x24c)](_0x381a87))return this['_injector'][_0x469527(0x26a)](exports['FetchingMissState'],this[_0x469527(0x4b5)],this[_0x469527(0x493)],null,this[_0x469527(0x320)],this[_0x469527(0x346)],[],this[_0x469527(0x37d)]);this[_0x469527(0x410)]();const _0x1749c9=this[_0x469527(0x42d)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x469527(0x493)],this[_0x469527(0x320)],this[_0x469527(0x37d)]);return _0x1749c9[_0x469527(0x3e5)](),_0x1749c9[_0x469527(0x1bd)](),_0x1749c9;}[_0x154c14(0x45f)](_0x800436){var _0x1f1b18=_0x154c14;return this[_0x1f1b18(0x489)](!!(_0x800436!=null&&_0x800436[_0x1f1b18(0x29c)]));}[_0x154c14(0x22b)](_0x1dd666){var _0x2954f8=_0x154c14;return this[_0x2954f8(0x3ed)]>Rt?this[_0x2954f8(0x230)]():(this[_0x2954f8(0x3d3)]=bt(this[_0x2954f8(0x3ed)],{'timeout':this[_0x2954f8(0x3ed)],'reqId':_0x1dd666[_0x2954f8(0x4e7)]}),this['_sender']=this[_0x2954f8(0x3d3)][_0x2954f8(0x356)](({reqId:_0x592b0d,timeout:_0x1de851})=>{var _0x46dd4a=_0x2954f8;this[_0x46dd4a(0x279)](_0x592b0d,_0x1de851);}),this);}[_0x154c14(0x230)](){var _0x4605d1=_0x154c14;return this[_0x4605d1(0x383)](),this[_0x4605d1(0x42d)][_0x4605d1(0x26a)](exports[_0x4605d1(0x329)],this[_0x4605d1(0x4b5)],this[_0x4605d1(0x493)],this[_0x4605d1(0x346)],this[_0x4605d1(0x320)],this[_0x4605d1(0x37d)]);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x1027fc=_0x154c14;this['_handler'][_0x1027fc(0x4a2)](this[_0x1027fc(0x346)]);}[_0x154c14(0x489)](_0x34a46a){var _0x41fb89=_0x154c14;return this[_0x41fb89(0x383)](),this[_0x41fb89(0x42d)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,this['_pendingMutations'],this['_handler'],_0x34a46a);}[_0x154c14(0x279)](_0x579e55,_0x249bbc){var _0x2591a4=_0x154c14,_0x376adc;_0x579e55===((_0x376adc=this['_awaitingChangeset'])==null?void 0x0:_0x376adc[_0x2591a4(0x4e7)])&&(this[_0x2591a4(0x292)](),this[_0x2591a4(0x3ed)]=_0x249bbc===0x0?0x3e8:_0x249bbc*0x2);}['_clearScheduledTask'](){var _0x42b62a=_0x154c14,_0x5cf495;(_0x5cf495=this[_0x42b62a(0x2ce)])==null||_0x5cf495[_0x42b62a(0x4ab)](),this['_resendTimeout']=0x0;}},exports[_0x154c14(0x351)]=ae([w(0x6,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x7,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x8,a[_0x154c14(0x4ba)]),w(0x9,a[_0x154c14(0x36a)]),w(0xa,I[_0x154c14(0x1e4)]),w(0xb,a[_0x154c14(0x338)]),w(0xc,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x351)]),exports[_0x154c14(0x1c8)]=class extends ce{constructor(_0x8e5245,_0x17c764,_0x32c39f,_0x281c05,_0x4ae863,_0x27695b=!0x1,_0x2ea6de,_0x101d73,_0x2cc3d4,_0x32d6c8,_0x5f4eee,_0x3cc6d9,_0x4f8b60){var _0x1f3f38=_0x154c14;super(_0x8e5245,_0x17c764,_0x32c39f,_0x281c05,_0x4ae863,_0x101d73,_0x2cc3d4,_0x32d6c8,_0x4f8b60),A(this,'status',_0x1f3f38(0x4b1)),(this[_0x1f3f38(0x3e4)]=_0x27695b,this[_0x1f3f38(0x249)]=_0x2ea6de,this['_localeService']=_0x5f4eee,this['_collaborationUIEventService']=_0x3cc6d9,this[_0x1f3f38(0x1f1)]=_0x4f8b60,this[_0x1f3f38(0x40d)](),this[_0x1f3f38(0x4c8)](),this[_0x1f3f38(0x414)]());}[_0x154c14(0x280)](){return this;}[_0x154c14(0x25f)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x154c14(0x22b)](){return this;}[_0x154c14(0x230)](){return this;}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x15df13=_0x154c14;throw new Error(_0x15df13(0x1f6));}[_0x154c14(0x4c8)](){var _0x24610f=_0x154c14,_0x4cd8d7;(_0x4cd8d7=this['_localCacheService'])==null||_0x4cd8d7[_0x24610f(0x3d6)](this[_0x24610f(0x4b5)],this[_0x24610f(0x493)],null,[]);}['_showConflictNotification'](){var _0x20306a=_0x154c14;this['_isPermissionRej']?this[_0x20306a(0x305)][_0x20306a(0x1a3)]({'id':Z[_0x20306a(0x3eb)]}):this['_collaborationUIEventService'][_0x20306a(0x1a3)]({'id':Z[_0x20306a(0x393)]});}[_0x154c14(0x414)](){var _0x4aeb6e=_0x154c14;this['_permissionService']['updatePermissionPoint'](new X['WorkbookEditablePermission'](this[_0x4aeb6e(0x4b5)])['id'],!0x1);}},exports[_0x154c14(0x1c8)]=ae([w(0x6,a['Inject'](a[_0x154c14(0x237)])),w(0x7,a[_0x154c14(0x4ba)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](I[_0x154c14(0x4ce)])),w(0xa,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)])),w(0xb,a[_0x154c14(0x25b)](ee)),w(0xc,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x1c8)]),exports[_0x154c14(0x329)]=class extends ce{constructor(_0x27f327,_0x37ae63,_0x39ccec,_0x3b3bcf,_0x1c7707,_0x459a3c,_0x533a9c,_0xfd7ecc,_0x2d2c16,_0x3e1d44){var _0x5617b8=_0x154c14;super(_0x27f327,_0x37ae63,_0x39ccec,_0x3b3bcf,_0x1c7707,_0xfd7ecc,_0x2d2c16,_0x533a9c,_0x3e1d44),A(this,_0x5617b8(0x4d2),_0x5617b8(0x255)),this[_0x5617b8(0x42d)]=_0x459a3c;}['appendMutation'](_0x599062){var _0x8cced7=_0x154c14;return this[_0x8cced7(0x320)][_0x8cced7(0x4af)](_0x599062),this[_0x8cced7(0x1bd)](),this;}[_0x154c14(0x25f)](_0x3d90d7){var _0xe4a4e7=_0x154c14;throw new Error(_0xe4a4e7(0x1a2));}[_0x154c14(0x1d7)](){var _0x4805fa=_0x154c14;throw new Error(_0x4805fa(0x218));}[_0x154c14(0x45f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x154c14(0x314)](){var _0x5b9c8a=_0x154c14;const {_injector:_0x2f3cf2,_pendingMutations:_0x2d3411,_awaitingChangeset:_0x10788f,unitID:_0x18560f,_handler:_0xc07393,type:_0x23e798}=this,_0x3f4edf=Ot(_0x2f3cf2,_0x18560f,_0x23e798,_0x10788f,_0x2d3411,_0xc07393);return _0x3f4edf instanceof exports['PendingState']?_0x3f4edf[_0x5b9c8a(0x3e5)]():(_0x3f4edf instanceof exports['AwaitingWithPendingState']||_0x3f4edf instanceof exports['AwaitingState'])&&_0x3f4edf[_0x5b9c8a(0x292)](),_0x3f4edf;}[_0x154c14(0x292)](){var _0x1fc6f6=_0x154c14;throw new Error(_0x1fc6f6(0x34f));}},exports['OfflineState']=ae([w(0x5,a[_0x154c14(0x25b)](a['Injector'])),w(0x6,a['Inject'](I[_0x154c14(0x4ce)])),w(0x7,a[_0x154c14(0x4ba)]),w(0x8,a[_0x154c14(0x338)]),w(0x9,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x329)]),exports[_0x154c14(0x34c)]=class extends ce{constructor(_0x5a28a4,_0x4511b9,_0x16ed51,_0xda8dd,_0x5b50e9,_0x495ecc,_0x3328c7,_0x1f561a,_0x524ab4,_0x49c0d9,_0x250f7e,_0x277272,_0x22769e,_0x6cdc00){var _0x342fc0=_0x154c14;super(_0x5a28a4,_0x4511b9,_0x16ed51,_0xda8dd,_0x3328c7,_0x250f7e,_0x277272,_0x524ab4,_0x6cdc00),A(this,_0x342fc0(0x4d2),'fetch_missing'),(this[_0x342fc0(0x3b9)]=_0x5b50e9,this[_0x342fc0(0x4e5)]=_0x495ecc,this[_0x342fc0(0x42d)]=_0x1f561a,this[_0x342fc0(0x282)]=_0x49c0d9,this['_transformService']=_0x22769e,this[_0x342fc0(0x1f1)]=_0x6cdc00);}[_0x154c14(0x44a)](_0x3c39dc){var _0xc774bd=_0x154c14;try{const _0x1646aa=[..._0x3c39dc,...this[_0xc774bd(0x4e5)]],_0x2903f9=[this[_0xc774bd(0x346)]||this[_0xc774bd(0x3b9)]][_0xc774bd(0x1fd)](_0x4b83b4=>!!_0x4b83b4);let _0x245f84,_0x3a4e5b;if(_0x2903f9[_0xc774bd(0x454)]){const _0x45f0c7=this[_0xc774bd(0x2ee)][_0xc774bd(0x30d)](_0x1646aa,_0x2903f9,!0x1);if(!I[_0xc774bd(0x3f9)](_0x45f0c7))throw _0x45f0c7[_0xc774bd(0x1da)];_0x245f84=_0x45f0c7['c1Prime'],_0x3a4e5b=_0x45f0c7[_0xc774bd(0x3c4)];}else _0x245f84=_0x1646aa,_0x3a4e5b=[];let _0x19a910=this['_pendingMutations'];_0x245f84[_0xc774bd(0x396)](_0x4017c6=>{var _0x8072e9=_0xc774bd;let _0x5ae048;if(_0x19a910[_0x8072e9(0x454)]){const _0x1cf94f=this[_0x8072e9(0x2ee)][_0x8072e9(0x37b)](_0x4017c6,_0x19a910);if(!I[_0x8072e9(0x41a)](_0x1cf94f))throw _0x1cf94f['error'];_0x5ae048=_0x1cf94f['c1Prime'],_0x19a910=_0x1cf94f[_0x8072e9(0x442)];}else _0x5ae048=_0x4017c6;this[_0x8072e9(0x322)](_0x5ae048);}),this[_0xc774bd(0x3b9)]&&this[_0xc774bd(0x410)](),this['_awaitingChangeset']&&_0x3a4e5b[_0xc774bd(0x454)]&&(_0x3a4e5b[0x0][_0xc774bd(0x4e4)]=this[_0xc774bd(0x2e9)]());let _0x2fc97c;if(this['_awaitingChangeset']&&_0x19a910['length']!==0x0)_0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x351)],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],_0x3a4e5b[0x0],_0x19a910,this[_0xc774bd(0x37d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x19a910[_0xc774bd(0x454)]===0x0)_0x3a4e5b[0x0][_0xc774bd(0x4e4)]=this[_0xc774bd(0x2e9)](),_0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x37a)],this['unitID'],this['type'],_0x3a4e5b[0x0],this[_0xc774bd(0x37d)]);else{if(_0x19a910[_0xc774bd(0x454)]!==0x0){const _0x2d415c=this['_injector'][_0xc774bd(0x26a)](exports['PendingState'],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],_0x19a910,this[_0xc774bd(0x37d)]);_0x2d415c[_0xc774bd(0x3e5)](),_0x2fc97c=_0x2d415c;}else _0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x2e7)],this['unitID'],this[_0xc774bd(0x493)],this[_0xc774bd(0x37d)]);}}return _0x2fc97c[_0xc774bd(0x1bd)](),_0x2fc97c;}catch(_0x209c71){return this[_0xc774bd(0x282)][_0xc774bd(0x1da)](_0xc774bd(0x2ac),_0xc774bd(0x27c),_0x209c71),this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x1c8)],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],this[_0xc774bd(0x346)],this[_0xc774bd(0x320)],this[_0xc774bd(0x37d)],!0x1);}}[_0x154c14(0x292)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x154c14(0x280)](_0x8d3278){var _0x295064=_0x154c14;return this[_0x295064(0x320)]['push'](_0x8d3278),this;}[_0x154c14(0x25f)](_0xa860e){var _0x273cb7=_0x154c14;return this[_0x273cb7(0x4e5)]['push'](_0xa860e),this;}[_0x154c14(0x1d7)](_0x5c90ca){var _0x4b9473=_0x154c14;if(this[_0x4b9473(0x346)])return this[_0x4b9473(0x3b9)]=this[_0x4b9473(0x346)],this['_awaitingChangeset']=null,this;throw new Error(_0x4b9473(0x289));}[_0x154c14(0x45f)](_0x88c07b){var _0x1de1a1=_0x154c14;return this[_0x1de1a1(0x489)](!!(_0x88c07b!=null&&_0x88c07b['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x154c14(0x230)](){var _0x3e710d=_0x154c14;return this['_injector'][_0x3e710d(0x26a)](exports[_0x3e710d(0x329)],this[_0x3e710d(0x4b5)],this[_0x3e710d(0x493)],this[_0x3e710d(0x346)],this[_0x3e710d(0x320)],this[_0x3e710d(0x37d)]);}['toggleOnline'](){return this;}[_0x154c14(0x489)](_0x61dfa4){var _0x39b96a=_0x154c14;return this[_0x39b96a(0x42d)]['createInstance'](exports[_0x39b96a(0x1c8)],this[_0x39b96a(0x4b5)],this[_0x39b96a(0x493)],this[_0x39b96a(0x346)],this[_0x39b96a(0x320)],this['_handler'],_0x61dfa4);}},exports[_0x154c14(0x34c)]=ae([w(0x7,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x8,a[_0x154c14(0x25b)](I['RevisionService'])),w(0x9,a[_0x154c14(0x36a)]),w(0xa,a[_0x154c14(0x4ba)]),w(0xb,a[_0x154c14(0x338)]),w(0xc,I[_0x154c14(0x1e4)]),w(0xd,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x34c)]);function Ot(_0x1e48d3,_0x451b68,_0x33e836,_0x2ace89,_0x1614bf,_0x288353){var _0x2bcc10=_0x154c14;return _0x2ace89&&_0x1614bf[_0x2bcc10(0x454)]?_0x1e48d3['createInstance'](exports[_0x2bcc10(0x351)],_0x451b68,_0x33e836,_0x2ace89,_0x1614bf,_0x288353,void 0x0):_0x2ace89?_0x1e48d3[_0x2bcc10(0x26a)](exports[_0x2bcc10(0x37a)],_0x451b68,_0x33e836,_0x2ace89,_0x288353):_0x1614bf[_0x2bcc10(0x454)]?_0x1e48d3['createInstance'](exports[_0x2bcc10(0x394)],_0x451b68,_0x33e836,_0x1614bf,_0x288353):_0x1e48d3['createInstance'](exports[_0x2bcc10(0x2e7)],_0x451b68,_0x33e836,_0x288353);}var vi=Object['getOwnPropertyDescriptor'],Fe=(_0x586d3a,_0x24c976,_0x9461d0,_0x317cee)=>{var _0x1896df=_0x154c14;for(var _0x5b5b31=_0x317cee>0x1?void 0x0:_0x317cee?vi(_0x24c976,_0x9461d0):_0x24c976,_0x17334d=_0x586d3a[_0x1896df(0x454)]-0x1,_0xfde1e;_0x17334d>=0x0;_0x17334d--)(_0xfde1e=_0x586d3a[_0x17334d])&&(_0x5b5b31=_0xfde1e(_0x5b5b31)||_0x5b5b31);return _0x5b5b31;},j=(_0xaaab09,_0x501743)=>(_0x7306b0,_0x406c66)=>_0x501743(_0x7306b0,_0x406c66,_0xaaab09);exports[_0x154c14(0x4c6)]=class extends a['RxDisposable']{constructor(_0x430361,_0x546ac9,_0x493122,_0x3aa1c2,_0x5e1387,_0x373f30,_0xea338d,_0x5737fc,_0x4533d3,_0x31bb43,_0x414cc1,_0x2171e4,_0x184420){var _0xce4be7=_0x154c14;super(),A(this,_0xce4be7(0x36b),new $[(_0xce4be7(0x200))](null)),A(this,_0xce4be7(0x425),this[_0xce4be7(0x36b)][_0xce4be7(0x416)]()),A(this,_0xce4be7(0x4fd)),A(this,'_collaborationPaused',!0x1),A(this,_0xce4be7(0x25c),''),A(this,_0xce4be7(0x4c5),0x0),A(this,'status$',this[_0xce4be7(0x425)][_0xce4be7(0x37e)]($[_0xce4be7(0x3f5)](_0x45e7db=>_0x45e7db?_0x45e7db[_0xce4be7(0x4d2)]:Be[_0xce4be7(0x1be)]),$[_0xce4be7(0x30b)](0x1))),A(this,_0xce4be7(0x3c6),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0xce4be7(0x4b5)]=_0x430361,this[_0xce4be7(0x45a)]=_0x546ac9,this[_0xce4be7(0x269)]=_0x493122,this[_0xce4be7(0x42d)]=_0x3aa1c2,this[_0xce4be7(0x272)]=_0x5e1387,this[_0xce4be7(0x422)]=_0x373f30,this[_0xce4be7(0x33f)]=_0xea338d,this[_0xce4be7(0x473)]=_0x5737fc,this[_0xce4be7(0x282)]=_0x4533d3,this[_0xce4be7(0x428)]=_0x31bb43,this[_0xce4be7(0x249)]=_0x414cc1,this[_0xce4be7(0x328)]=_0x2171e4,this[_0xce4be7(0x3e0)]=_0x184420);}get[_0x154c14(0x3b7)](){var _0x468812=_0x154c14;return this[_0x468812(0x4fd)];}async[_0x154c14(0x412)](){var _0x1d8497=_0x154c14;if(this[_0x1d8497(0x3b7)])throw new Error(_0x1d8497(0x347));await this['_init']();}[_0x154c14(0x3e1)](){var _0x4e811d=_0x154c14;return this['_collaborationPaused']=!0x0,a[_0x4e811d(0x432)](()=>{var _0x19a3c5=_0x4e811d;this[_0x19a3c5(0x40f)]=!0x1,this[_0x19a3c5(0x315)]();});}[_0x154c14(0x464)](_0x32c3e3){this['_onLocalMutation'](_0x32c3e3);}[_0x154c14(0x3af)](_0x4f2b80){var _0x48d110=_0x154c14;this[_0x48d110(0x4fd)]=_0x4f2b80,this[_0x48d110(0x36b)][_0x48d110(0x4e1)](_0x4f2b80);}async[_0x154c14(0x2c3)](){var _0x33f767=_0x154c14,_0x3d7e14;this['_updateState'](await this[_0x33f767(0x450)]()),this['_singleActiveUnitService']&&((_0x3d7e14=this[_0x33f767(0x328)])==null||_0x3d7e14[_0x33f767(0x4f5)](this[_0x33f767(0x4b5)]),this[_0x33f767(0x1b0)](this[_0x33f767(0x328)][_0x33f767(0x35b)](this[_0x33f767(0x4b5)])[_0x33f767(0x356)](_0x5f254b=>{var _0x99373c=_0x33f767;this['_logService'][_0x99373c(0x401)]('[CollaborationEntity]',_0x99373c(0x3bb),_0x5f254b),_0x5f254b===je[_0x99373c(0x42a)]?(this[_0x99373c(0x473)][_0x99373c(0x1a3)]({'id':Z[_0x99373c(0x3f8)]}),this[_0x99373c(0x249)][_0x99373c(0x1de)](new X['WorkbookEditablePermission'](this[_0x99373c(0x4b5)])['id'],!0x1),this[_0x99373c(0x249)][_0x99373c(0x1eb)](!0x1)):(this['_permissionService'][_0x99373c(0x1de)](new X[(_0x99373c(0x1bc))](this[_0x99373c(0x4b5)])['id'],!0x0),this[_0x99373c(0x249)][_0x99373c(0x1eb)](!0x0));})));let _0x3620d6=!0x1;return this[_0x33f767(0x1b0)](this[_0x33f767(0x45a)][_0x33f767(0x235)][_0x33f767(0x356)](_0x2d5bbc=>{var _0x3bdb0b=_0x33f767;_0x2d5bbc===re['ONLINE']?this[_0x3bdb0b(0x4fa)](_0x3620d6):_0x2d5bbc===re['OFFLINE']&&(_0x3620d6=!0x0,this[_0x3bdb0b(0x1ac)]());})),this[_0x33f767(0x1b0)](this[_0x33f767(0x45a)]['event$'][_0x33f767(0x356)](_0x5cf864=>{var _0x1cbdf6=_0x33f767;try{switch(_0x5cf864[_0x1cbdf6(0x192)]){case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x26f)]:{this['_onRemoteChangeset'](I[_0x1cbdf6(0x39b)](_0x5cf864['data']));break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x468)]:{this['_onRemoteACK'](_0x5cf864[_0x1cbdf6(0x4c1)]);break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x3ad)]:{this[_0x1cbdf6(0x310)]();break;}case I[_0x1cbdf6(0x48b)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5cf864[_0x1cbdf6(0x4c1)]);break;}case I['CollaborationEvent'][_0x1cbdf6(0x304)]:{this['_onFetchMissResult'](_0x5cf864[_0x1cbdf6(0x4c1)][_0x1cbdf6(0x4bc)][_0x1cbdf6(0x3f5)](_0x54925e=>I[_0x1cbdf6(0x39b)](_0x54925e)));break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x1a9)]:{this[_0x1cbdf6(0x310)]({'isPermissionRej':!0x0});break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x29e)]:break;}}catch(_0x4343e8){throw console[_0x1cbdf6(0x1da)]('Error\x20on\x20receiving\x20event',_0x4343e8),_0x4343e8;}})),this['_state'];}[_0x154c14(0x20b)](){var _0x3f004a=_0x154c14;this[_0x3f004a(0x3c6)]=!0x1;}[_0x154c14(0x467)](){var _0x54cf2a=_0x154c14;if(this[_0x54cf2a(0x3c6)])throw new Error(_0x54cf2a(0x189));this[_0x54cf2a(0x3c6)]=!0x0;}[_0x154c14(0x4c3)](_0x27dca6){var _0x397400=_0x154c14;this[_0x397400(0x467)](),this[_0x397400(0x3af)](this[_0x397400(0x4fd)][_0x397400(0x280)](_0x27dca6)),this[_0x397400(0x20b)]();}[_0x154c14(0x2f9)](_0x31ed4a){var _0xb0e76=_0x154c14;if(!(_0x31ed4a[_0xb0e76(0x4f8)]<=this[_0xb0e76(0x33f)][_0xb0e76(0x490)](this[_0xb0e76(0x4b5)]))){if(this[_0xb0e76(0x40f)]){this['_remoteChangesetQueue'][_0xb0e76(0x4af)](_0x31ed4a);return;}this['_applyRemoteChangeset'](_0x31ed4a);}}[_0x154c14(0x315)](){var _0x1a729b=_0x154c14;this[_0x1a729b(0x321)][_0x1a729b(0x396)](_0x47fb22=>this[_0x1a729b(0x2bf)](_0x47fb22)),this[_0x1a729b(0x321)]=[];}[_0x154c14(0x2bf)](_0x4bdcef){var _0x4fb89a=_0x154c14;const _0x139201=this[_0x4fb89a(0x272)][_0x4fb89a(0x47c)][_0x4fb89a(0x4b6)](this[_0x4fb89a(0x272)][_0x4fb89a(0x47c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4bdcef[_0x4fb89a(0x309)],null)||_0x4bdcef[_0x4fb89a(0x309)],_0x455f93={..._0x4bdcef,'mutations':_0x139201};this[_0x4fb89a(0x467)](),this[_0x4fb89a(0x3af)](this[_0x4fb89a(0x4fd)]['onRemoteChangeset'](_0x455f93)),this[_0x4fb89a(0x20b)]();}[_0x154c14(0x435)](_0x59a555){var _0x40472f=_0x154c14;this['_lockTransition'](),this['_updateState'](this[_0x40472f(0x4fd)]['onRemoteAck'](_0x59a555)),this[_0x40472f(0x20b)]();}[_0x154c14(0x310)](_0x102c1d){var _0xdafce7=_0x154c14;this[_0xdafce7(0x467)](),this['_updateState'](this[_0xdafce7(0x4fd)][_0xdafce7(0x45f)](_0x102c1d)),this[_0xdafce7(0x20b)]();}[_0x154c14(0x44b)](_0x5dbf83){var _0x40dc7e=_0x154c14;this[_0x40dc7e(0x467)](),this[_0x40dc7e(0x3af)](this[_0x40dc7e(0x4fd)][_0x40dc7e(0x22b)](_0x5dbf83)),this[_0x40dc7e(0x20b)]();}[_0x154c14(0x31d)](_0x486c2d){var _0x25d818=_0x154c14;if(!(this['_state']instanceof exports[_0x25d818(0x34c)]))throw new TypeError(_0x25d818(0x27e));const _0x4351ec=_0x486c2d['map'](_0x5f52c9=>{var _0x13383a=_0x25d818;const _0x150576=this[_0x13383a(0x272)][_0x13383a(0x47c)][_0x13383a(0x4b6)](this[_0x13383a(0x272)][_0x13383a(0x47c)][_0x13383a(0x2d2)]()['COMPRESS_MUTATION_APPLY'])(_0x5f52c9[_0x13383a(0x309)],null)||_0x5f52c9[_0x13383a(0x309)];return{..._0x5f52c9,'mutations':_0x150576};});this[_0x25d818(0x467)](),this[_0x25d818(0x3af)](this[_0x25d818(0x4fd)][_0x25d818(0x44a)](_0x4351ec)),this['_unlockTransition']();}[_0x154c14(0x1ac)](){var _0x544d4f=_0x154c14;this[_0x544d4f(0x467)](),this[_0x544d4f(0x3af)](this[_0x544d4f(0x4fd)][_0x544d4f(0x230)]()),this['_unlockTransition']();}[_0x154c14(0x4fa)](_0x32d2df=!0x1){var _0xcbc59b=_0x154c14;this[_0xcbc59b(0x467)](),this[_0xcbc59b(0x3af)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x413cf0=this[_0xcbc59b(0x4fd)];_0x32d2df&&_0x413cf0 instanceof exports[_0xcbc59b(0x2e7)]&&(this[_0xcbc59b(0x467)](),this[_0xcbc59b(0x3af)](_0x413cf0['fetchMiss']()),this[_0xcbc59b(0x20b)]());}async[_0x154c14(0x450)](){return new Promise(_0x27ca0d=>{var _0x1b27f4=_0x1a03;this[_0x1b27f4(0x45a)]['sessionStatus$']['pipe']($[_0x1b27f4(0x274)](0x1))['subscribe'](async _0x3cdfff=>{var _0x3842e3=_0x1b27f4;_0x27ca0d(await this[_0x3842e3(0x343)](_0x3cdfff===re['ONLINE']));});});}[_0x154c14(0x190)](){var _0x4a00fb=_0x154c14;const _0x261a4e=this[_0x4a00fb(0x4b5)];return{'onStateChange':(_0x11f81f,_0x172314)=>{var _0xf82cfe=_0x4a00fb;if(_0x11f81f!==this['_state'])throw new Error(_0xf82cfe(0x3dd)+_0x11f81f[_0xf82cfe(0x4d2)]+_0xf82cfe(0x4ca)+_0x172314[_0xf82cfe(0x4d2)]+_0xf82cfe(0x256)+this[_0xf82cfe(0x4fd)][_0xf82cfe(0x4d2)]);this[_0xf82cfe(0x3af)](_0x172314);},'onSendChangeset':_0x5bcf4e=>{var _0x5d0292=_0x4a00fb;_0x5bcf4e[_0x5d0292(0x3fc)]||(_0x5bcf4e[_0x5d0292(0x3fc)]=this[_0x5d0292(0x25c)],_0x5bcf4e[_0x5d0292(0x4e7)]=++this['_changesetReqId']);const _0x135767={'eventID':I[_0x5d0292(0x48b)][_0x5d0292(0x335)],'data':{'unitID':_0x5bcf4e[_0x5d0292(0x4b5)],'unitType':this[_0x5d0292(0x269)],'changeset':_0x5bcf4e,'memberID':this[_0x5d0292(0x45a)][_0x5d0292(0x28c)]()}};this['session'][_0x5d0292(0x3c9)](_0x135767,this['unitID']);},'onMissingChangesets':({from:_0x225d6d,to:_0xc424e1})=>{var _0x16cbe2=_0x4a00fb;this[_0x16cbe2(0x282)][_0x16cbe2(0x401)](_0x16cbe2(0x2f3),_0x16cbe2(0x295)+_0x225d6d+_0x16cbe2(0x2a7)+_0xc424e1);const _0x199b67={'eventID':I[_0x16cbe2(0x48b)]['FETCH_MISSING'],'data':{'unitID':_0x261a4e,'unitType':this[_0x16cbe2(0x269)],'from':_0x225d6d,'to':_0xc424e1}};this[_0x16cbe2(0x45a)][_0x16cbe2(0x3c9)](_0x199b67,this['unitID']);}};}async['_createInitialStateImpl'](_0x317021){var _0x21b346=_0x154c14,_0xa3e508,_0x5d3d24,_0x2b250b;const _0x22774d=await((_0xa3e508=this[_0x21b346(0x3e0)])==null?void 0x0:_0xa3e508['loadOfflineData'](this[_0x21b346(0x4b5)])),_0x140db4=(_0x5d3d24=_0x22774d==null?void 0x0:_0x22774d[_0x21b346(0x309)])!=null?_0x5d3d24:[],_0x8432b2=(_0x2b250b=_0x22774d==null?void 0x0:_0x22774d[_0x21b346(0x24a)])!=null?_0x2b250b:null,_0x2f033a=!!(_0x8432b2!=null&&_0x8432b2[_0x21b346(0x3fc)])&&!!(_0x8432b2!=null&&_0x8432b2['reqId']);this['_changesetSessionId']=_0x2f033a?_0x8432b2[_0x21b346(0x3fc)]:I[_0x21b346(0x301)](),this[_0x21b346(0x4c5)]=_0x2f033a?_0x8432b2[_0x21b346(0x4e7)]:0x0;const _0x326d7c=this['unitID'];try{this[_0x21b346(0x246)](_0x8432b2,_0x140db4);}catch(_0x1d78a3){this['_logService'][_0x21b346(0x1da)](_0x1d78a3);}const _0x37b348=this[_0x21b346(0x190)]();if(_0x317021){const _0x4f1b1e=Ot(this[_0x21b346(0x42d)],_0x326d7c,this['_type'],_0x8432b2,_0x140db4,_0x37b348);return _0x4f1b1e instanceof exports[_0x21b346(0x394)]?_0x4f1b1e[_0x21b346(0x3e5)]():(_0x4f1b1e instanceof exports['AwaitingWithPendingState']||_0x4f1b1e instanceof exports['AwaitingState'])&&_0x4f1b1e[_0x21b346(0x292)](),_0x4f1b1e;}return this[_0x21b346(0x42d)]['createInstance'](exports[_0x21b346(0x329)],_0x326d7c,this['_type'],_0x8432b2,_0x140db4,_0x37b348);}[_0x154c14(0x246)](_0x2eb0fa,_0x3001f2){var _0x50e392=_0x154c14,_0x3ff6fb,_0x445ff4;const _0x2b5edf=this[_0x50e392(0x272)]['interceptor']['fetchThroughInterceptors'](this[_0x50e392(0x272)][_0x50e392(0x47c)]['getInterceptPoints']()[_0x50e392(0x386)]);(_0x3ff6fb=_0x2b5edf((_0x2eb0fa==null?void 0x0:_0x2eb0fa['mutations'])||[],null))==null||_0x3ff6fb[_0x50e392(0x396)](_0xe8ca53=>this[_0x50e392(0x428)]['executeCommand'](_0xe8ca53['id'],_0xe8ca53[_0x50e392(0x45c)])),(_0x445ff4=_0x2b5edf(_0x3001f2||[],null))==null||_0x445ff4[_0x50e392(0x396)](_0x579521=>this[_0x50e392(0x428)][_0x50e392(0x3c1)](_0x579521['id'],_0x579521[_0x50e392(0x45c)]));}},exports[_0x154c14(0x4c6)]=Fe([j(0x3,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),j(0x4,a[_0x154c14(0x25b)](I['CompressMutationService'])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a['Inject'](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](ee)),j(0x8,a[_0x154c14(0x36a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x154c14(0x237)]),j(0xb,a[_0x154c14(0x46e)](de)),j(0xc,a['Optional'](q))],exports[_0x154c14(0x4c6)]),exports['DocCollaborationEntity']=class extends exports[_0x154c14(0x4c6)]{constructor(_0x5e1939,_0x4da039,_0x56489f,_0x65076d,_0x5763db,_0x26b883,_0x4f028a,_0x18e535,_0x41b7a0,_0x338d28,_0x3c152f,_0x148789,_0x590783){var _0x199a91=_0x154c14;super(_0x5e1939,_0x56489f,_0x4da039,_0x65076d,_0x5763db,_0x26b883,_0x4f028a,_0x18e535,_0x41b7a0,_0x338d28,_0x3c152f,_0x148789,_0x590783),A(this,_0x199a91(0x22f),null),(this['unitID']=_0x5e1939,this[_0x199a91(0x493)]=_0x4da039);}[_0x154c14(0x3f7)](_0x51f882){var _0x124013=_0x154c14;this[_0x124013(0x22f)]=_0x51f882;}['dispose'](){var _0x20eb1c=_0x154c14;this['_handlerCallback']=null,super[_0x20eb1c(0x313)]();}[_0x154c14(0x190)](){var _0x2c9db6=_0x154c14;const _0x208c53=super[_0x2c9db6(0x190)]();return _0x208c53['onTransformIME']=_0x47c18d=>{var _0x258756=_0x2c9db6,_0x3465a1,_0x2c331d;return(_0x2c331d=(_0x3465a1=this[_0x258756(0x22f)])==null?void 0x0:_0x3465a1[_0x258756(0x2f4)])==null?void 0x0:_0x2c331d['call'](_0x3465a1,_0x47c18d);},_0x208c53['onTransformState']=_0x31d741=>{var _0x38ab58=_0x2c9db6,_0x43643c,_0x1a2074;return(_0x1a2074=(_0x43643c=this['_handlerCallback'])==null?void 0x0:_0x43643c[_0x38ab58(0x3e8)])==null?void 0x0:_0x1a2074[_0x38ab58(0x2eb)](_0x43643c,_0x31d741);},_0x208c53['onTransformSelections']=_0x400646=>{var _0x3bb817=_0x2c9db6,_0x27ffca,_0x45880b;return(_0x45880b=(_0x27ffca=this[_0x3bb817(0x22f)])==null?void 0x0:_0x27ffca['onTransformSelections'])==null?void 0x0:_0x45880b[_0x3bb817(0x2eb)](_0x27ffca,_0x400646);},_0x208c53[_0x2c9db6(0x4e3)]=_0x2c9e2b=>{var _0xbf0ac6=_0x2c9db6,_0x4ec3cf,_0x300bc6;return(_0x300bc6=(_0x4ec3cf=this[_0xbf0ac6(0x22f)])==null?void 0x0:_0x4ec3cf['onSyncEditingCollabCursor'])==null?void 0x0:_0x300bc6['call'](_0x4ec3cf,_0x2c9e2b);},_0x208c53[_0x2c9db6(0x260)]=_0x1c5175=>{var _0x1aad7a=_0x2c9db6,_0xd09a36,_0x1f9a9a,_0x1478c8;if(!((_0xd09a36=this[_0x1aad7a(0x22f)])!=null&&_0xd09a36['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1478c8=(_0x1f9a9a=this[_0x1aad7a(0x22f)])==null?void 0x0:_0x1f9a9a[_0x1aad7a(0x260)])==null?void 0x0:_0x1478c8[_0x1aad7a(0x2eb)](_0x1f9a9a,_0x1c5175);},_0x208c53['onTransformRemoteChangesetByStateCache']=_0x102898=>{var _0x29d4b3=_0x2c9db6,_0x4b1f21,_0x213397,_0x1c0da3;if(!((_0x4b1f21=this[_0x29d4b3(0x22f)])!=null&&_0x4b1f21[_0x29d4b3(0x3fa)]))throw new Error(_0x29d4b3(0x469));return(_0x1c0da3=(_0x213397=this[_0x29d4b3(0x22f)])==null?void 0x0:_0x213397[_0x29d4b3(0x3fa)])==null?void 0x0:_0x1c0da3[_0x29d4b3(0x2eb)](_0x213397,_0x102898);},_0x208c53;}async[_0x154c14(0x2c3)](){var _0x16f92c=_0x154c14;const _0x55df7d=await super[_0x16f92c(0x2c3)]();return this[_0x16f92c(0x1b0)](this['_commandService'][_0x16f92c(0x3f0)]((_0x3058af,_0x4e49d4)=>{var _0x12c054=_0x16f92c;if(_0x3058af['type']!==a[_0x12c054(0x4c0)]['MUTATION']||_0x4e49d4!=null&&_0x4e49d4['fromCollab']||_0x4e49d4!=null&&_0x4e49d4[_0x12c054(0x441)]||_0x3058af['id']===ht[_0x12c054(0x2c4)]['id'])return;const _0x331353=_0x3058af[_0x12c054(0x45c)];if((_0x331353==null?void 0x0:_0x331353[_0x12c054(0x191)])!==this[_0x12c054(0x4b5)])return;const _0x130366=_0x3058af,_0xd21055=this[_0x12c054(0x272)][_0x12c054(0x47c)]['fetchThroughInterceptors'](this[_0x12c054(0x272)][_0x12c054(0x47c)][_0x12c054(0x2d2)]()[_0x12c054(0x4a5)])([_0x130366],null)||[_0x130366];this[_0x12c054(0x4c3)](_0xd21055[0x0]);})),_0x55df7d;}},exports[_0x154c14(0x38f)]=Fe([j(0x3,a[_0x154c14(0x25b)](a['Injector'])),j(0x4,a['Inject'](I[_0x154c14(0x2cb)])),j(0x5,a[_0x154c14(0x25b)](a['LocaleService'])),j(0x6,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](ee)),j(0x8,a[_0x154c14(0x36a)]),j(0x9,a[_0x154c14(0x4ba)]),j(0xa,a[_0x154c14(0x237)]),j(0xb,a[_0x154c14(0x46e)](de)),j(0xc,a['Optional'](q))],exports[_0x154c14(0x38f)]),exports['SheetCollaborationEntity']=class extends exports[_0x154c14(0x4c6)]{constructor(_0x68b389,_0x2f4c33,_0x24e800,_0x4e47e5,_0x31a516,_0x1379b3,_0x200964,_0x1ec4c0,_0x1b068d,_0x4a60da,_0x148843,_0x63d2cb,_0x4f03c7,_0xd6dc89){var _0x6d0d67=_0x154c14;super(_0x68b389,_0x24e800,_0x2f4c33,_0x4e47e5,_0x31a516,_0x1379b3,_0x200964,_0x1b068d,_0x4a60da,_0x148843,_0x63d2cb,_0x4f03c7,_0xd6dc89),this[_0x6d0d67(0x4b5)]=_0x68b389,this[_0x6d0d67(0x493)]=_0x2f4c33,this[_0x6d0d67(0x46c)]=_0x1ec4c0;}['_createHandler'](){var _0x4a0e32=_0x154c14;const _0x288b43=super[_0x4a0e32(0x190)]();return _0x288b43[_0x4a0e32(0x3d5)]=_0x14dc69=>this[_0x4a0e32(0x46c)][_0x4a0e32(0x353)](_0x14dc69),_0x288b43;}async['_init'](){var _0x2d1865=_0x154c14;const _0x48f459=await super[_0x2d1865(0x2c3)]();return this['disposeWithMe'](this[_0x2d1865(0x428)][_0x2d1865(0x3f0)]((_0x29afe1,_0x4320b2)=>{var _0x3d312b=_0x2d1865;if(_0x29afe1[_0x3d312b(0x493)]!==a[_0x3d312b(0x4c0)][_0x3d312b(0x210)]||_0x4320b2!=null&&_0x4320b2[_0x3d312b(0x2ef)]||_0x4320b2!=null&&_0x4320b2['onlyLocal'])return;const _0x1dfbb7=_0x29afe1[_0x3d312b(0x45c)];if((_0x1dfbb7==null?void 0x0:_0x1dfbb7['unitId'])!==this[_0x3d312b(0x4b5)])return;const _0x474cc5=_0x29afe1,_0x5c2873=this[_0x3d312b(0x272)][_0x3d312b(0x47c)][_0x3d312b(0x4b6)](this[_0x3d312b(0x272)][_0x3d312b(0x47c)]['getInterceptPoints']()[_0x3d312b(0x4a5)])([_0x474cc5],null)||[_0x474cc5];this[_0x3d312b(0x4c3)](_0x5c2873[0x0]);})),_0x48f459;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x154c14(0x25b)](a['Injector'])),j(0x4,a[_0x154c14(0x25b)](I[_0x154c14(0x2cb)])),j(0x5,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)])),j(0x6,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](exports[_0x154c14(0x3e2)])),j(0x8,a[_0x154c14(0x25b)](ee)),j(0x9,a[_0x154c14(0x36a)]),j(0xa,a[_0x154c14(0x4ba)]),j(0xb,a[_0x154c14(0x237)]),j(0xc,a[_0x154c14(0x46e)](de)),j(0xd,a['Optional'](q))],exports[_0x154c14(0x2cc)]);var Si=Object[_0x154c14(0x2bb)],fi=(_0x91748a,_0x39de23,_0x158dc3,_0x19cef9)=>{var _0x3dc00a=_0x154c14;for(var _0x19a914=_0x19cef9>0x1?void 0x0:_0x19cef9?Si(_0x39de23,_0x158dc3):_0x39de23,_0x4887ac=_0x91748a[_0x3dc00a(0x454)]-0x1,_0x4d2ad8;_0x4887ac>=0x0;_0x4887ac--)(_0x4d2ad8=_0x91748a[_0x4887ac])&&(_0x19a914=_0x4d2ad8(_0x19a914)||_0x19a914);return _0x19a914;},Se=(_0x42b755,_0x350f2b)=>(_0x44fa88,_0x477784)=>_0x350f2b(_0x44fa88,_0x477784,_0x42b755);exports[_0x154c14(0x288)]=class extends a['RxDisposable']{constructor(_0x2dd8d0,_0x4eaaa9,_0x5754f0,_0x5426bc){var _0x39c272=_0x154c14,_0x5b8aac;super(),A(this,_0x39c272(0x212),new Map()),A(this,_0x39c272(0x3bc),new $[(_0x39c272(0x21e))]()),A(this,_0x39c272(0x231),this[_0x39c272(0x3bc)][_0x39c272(0x416)]()),(this[_0x39c272(0x42d)]=_0x2dd8d0,this['_collabSessionService']=_0x4eaaa9,this[_0x39c272(0x33c)]=_0x5754f0,this[_0x39c272(0x1c0)]=_0x5426bc,((_0x5b8aac=this[_0x39c272(0x33c)][_0x39c272(0x4db)](K))==null?void 0x0:_0x5b8aac['enableCollaboration'])!==!0x1&&this[_0x39c272(0x2c3)]());}[_0x154c14(0x313)](){var _0x1d8b18=_0x154c14;super[_0x1d8b18(0x313)](),this[_0x1d8b18(0x212)][_0x1d8b18(0x396)](_0x5d8d0f=>_0x5d8d0f[_0x1d8b18(0x313)]()),this[_0x1d8b18(0x212)][_0x1d8b18(0x4ee)]();}[_0x154c14(0x4c7)](_0x4576e8){var _0x3adc32=_0x154c14,_0x4b0cfb;return(_0x4b0cfb=this[_0x3adc32(0x212)][_0x3adc32(0x225)](_0x4576e8))!=null?_0x4b0cfb:null;}[_0x154c14(0x40a)](_0x5e49bc){var _0x302bc0=_0x154c14;const _0x3fa7ff=this['getCollabEntity'](_0x5e49bc);return _0x3fa7ff?$['of'](_0x3fa7ff):this[_0x302bc0(0x3bc)]['pipe'](V[_0x302bc0(0x1fd)](_0x47f970=>_0x47f970[_0x302bc0(0x4b5)]===_0x5e49bc));}['readyForCollab'](_0x394704){var _0x188b08=_0x154c14;return $[_0x188b08(0x26b)](this[_0x188b08(0x40a)](_0x394704)[_0x188b08(0x37e)](V[_0x188b08(0x3f5)](()=>{})));}[_0x154c14(0x2c3)](){var _0x25f02e=_0x154c14;this[_0x25f02e(0x1c0)][_0x25f02e(0x4d9)](a['UniverInstanceType'][_0x25f02e(0x378)])[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this['dispose$']),V[_0x25f02e(0x2b3)](0x10))[_0x25f02e(0x356)](async _0x51fd4f=>{var _0x380715=_0x25f02e;const _0x4d009c=_0x51fd4f[_0x380715(0x2de)](),_0x791b3b=await this[_0x380715(0x439)](_0x4d009c,J[_0x380715(0x378)]);this['_entities'][_0x380715(0x18c)](_0x4d009c,_0x791b3b);}),this[_0x25f02e(0x1c0)]['getTypeOfUnitAdded$'](a[_0x25f02e(0x377)][_0x25f02e(0x49a)])[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this[_0x25f02e(0x491)]),V['delay'](0x10))[_0x25f02e(0x37e)](V[_0x25f02e(0x1fd)](_0x328f4e=>!_0x328f4e['getUnitId']()[_0x25f02e(0x1c7)]('__')))[_0x25f02e(0x356)](async _0x197e9b=>{var _0x2d97cc=_0x25f02e;const _0x759743=_0x197e9b[_0x2d97cc(0x2de)](),_0x5f0689=await this[_0x2d97cc(0x439)](_0x759743,J[_0x2d97cc(0x49a)]);this['_entities'][_0x2d97cc(0x18c)](_0x759743,_0x5f0689);}),$[_0x25f02e(0x17f)](this['_univerInstanceService'][_0x25f02e(0x25d)](a[_0x25f02e(0x377)][_0x25f02e(0x378)]),this[_0x25f02e(0x1c0)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this[_0x25f02e(0x491)]))[_0x25f02e(0x356)](_0x462540=>{var _0x2ff38f=_0x25f02e;const _0x413df3=_0x462540[_0x2ff38f(0x2de)](),_0x389ccd=this[_0x2ff38f(0x212)][_0x2ff38f(0x225)](_0x413df3);_0x389ccd&&(_0x389ccd[_0x2ff38f(0x313)](),this[_0x2ff38f(0x212)][_0x2ff38f(0x3cf)](_0x413df3));});}async[_0x154c14(0x439)](_0x120dd5,_0x60dd85){var _0x13eec9=_0x154c14;const _0x58752e=await this[_0x13eec9(0x1b2)][_0x13eec9(0x2fc)](_0x120dd5),_0x17ce76=this['_injector'][_0x13eec9(0x26a)](this['_getCtorByUniverType'](_0x60dd85),_0x120dd5,_0x60dd85,_0x58752e);return await _0x17ce76[_0x13eec9(0x412)](),this[_0x13eec9(0x3bc)]['next'](_0x17ce76),_0x17ce76;}['_getCtorByUniverType'](_0x3549a5){var _0x421848=_0x154c14;switch(_0x3549a5){case J[_0x421848(0x49a)]:return exports[_0x421848(0x38f)];case J[_0x421848(0x378)]:return exports[_0x421848(0x2cc)];default:throw new Error(_0x421848(0x2a5)+_0x3549a5);}}},exports[_0x154c14(0x288)]=fi([Se(0x0,a[_0x154c14(0x25b)](a['Injector'])),Se(0x1,a[_0x154c14(0x25b)](exports['CollaborationSessionService'])),Se(0x2,a[_0x154c14(0x307)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x154c14(0x288)]);var pi=Object[_0x154c14(0x2bb)],Ii=(_0xb887a9,_0x3a661b,_0x296166,_0x12bfda)=>{for(var _0x3a257f=_0x12bfda>0x1?void 0x0:_0x12bfda?pi(_0x3a661b,_0x296166):_0x3a661b,_0x5375a8=_0xb887a9['length']-0x1,_0x38fc08;_0x5375a8>=0x0;_0x5375a8--)(_0x38fc08=_0xb887a9[_0x5375a8])&&(_0x3a257f=_0x38fc08(_0x3a257f)||_0x3a257f);return _0x3a257f;},Ye=(_0x5b889c,_0x581156)=>(_0x4391bc,_0x5ca8d5)=>_0x581156(_0x4391bc,_0x5ca8d5,_0x5b889c);const gi=_0x154c14(0x202),Ei=_0x154c14(0x187);function _0x1a03(_0x101ed1,_0x3cd2aa){var _0x2d8a6e=_0x2d8a();return _0x1a03=function(_0x1a03bd,_0x1faead){_0x1a03bd=_0x1a03bd-0x17f;var _0x564d6f=_0x2d8a6e[_0x1a03bd];return _0x564d6f;},_0x1a03(_0x101ed1,_0x3cd2aa);}let xe=class extends a[_0x154c14(0x492)]{constructor(_0xf4c3de,_0x1f2e5){var _0x52df7d=_0x154c14;super(),this[_0x52df7d(0x1c0)]=_0xf4c3de,this[_0x52df7d(0x33c)]=_0x1f2e5,this['_init']();}[_0x154c14(0x2c3)](){var _0x4ea6e7=_0x154c14;this['disposeWithMe'](this[_0x4ea6e7(0x1c0)][_0x4ea6e7(0x43d)][_0x4ea6e7(0x356)](()=>{var _0x452bdb=_0x4ea6e7,_0xc15cde;const _0x11cc15=this[_0x452bdb(0x1c0)][_0x452bdb(0x470)]();let _0x31eb9d=(_0xc15cde=this[_0x452bdb(0x33c)][_0x452bdb(0x4db)](gi))!=null?_0xc15cde:Ei;_0x11cc15 instanceof a[_0x452bdb(0x3ba)]&&(_0x31eb9d=_0x11cc15['name']),document[_0x452bdb(0x4bb)]=_0x31eb9d;}));}};xe=Ii([Ye(0x0,a[_0x154c14(0x22a)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x154c14(0x2bb)],Ci=(_0x514568,_0x2238a1,_0x29f1d1,_0x593857)=>{var _0x4dbef3=_0x154c14;for(var _0x492f0d=_0x593857>0x1?void 0x0:_0x593857?mi(_0x2238a1,_0x29f1d1):_0x2238a1,_0x377937=_0x514568[_0x4dbef3(0x454)]-0x1,_0x761449;_0x377937>=0x0;_0x377937--)(_0x761449=_0x514568[_0x377937])&&(_0x492f0d=_0x761449(_0x492f0d)||_0x492f0d);return _0x492f0d;},Ae=(_0x51a10f,_0x175b66)=>(_0x5bf21b,_0x413341)=>_0x175b66(_0x5bf21b,_0x413341,_0x51a10f);let ye=class{constructor(_0x3bafdc,_0xf9d836,_0x461bbc){var _0x55685e=_0x154c14;this[_0x55685e(0x33c)]=_0x3bafdc,this[_0x55685e(0x2b6)]=_0xf9d836,this[_0x55685e(0x453)]=_0x461bbc,this[_0x55685e(0x412)]();}[_0x154c14(0x412)](){var _0x3b25d9=_0x154c14;this[_0x3b25d9(0x2b6)][_0x3b25d9(0x451)]({'priority':0x1,'interceptor':(_0xfa0309,_0x2f6824)=>_0x2f6824(_0xfa0309)[_0x3b25d9(0x37e)]($['concatMap'](async _0x2b2ef7=>{var _0xac13db=_0x3b25d9;const _0x477ce5=_0x2b2ef7;if(_0x477ce5['status']===0x191){if(typeof window>'u')throw new Error(_0xac13db(0x1cb));if(window[_0xac13db(0x391)](this[_0xac13db(0x453)]['t'](_0xac13db(0x197)))){const _0x4ae48b=window[_0xac13db(0x296)](window['location'][_0xac13db(0x286)]);window[_0xac13db(0x48f)][_0xac13db(0x286)]=this[_0xac13db(0x3ef)]()+_0xac13db(0x216)+_0x4ae48b;}}return _0x477ce5;}))});}['_getLoginPath'](){var _0x523dc7=_0x154c14,_0x364fd0,_0x585b8d;const _0x2bbd84=this[_0x523dc7(0x33c)][_0x523dc7(0x4db)](It),_0x3fb029=this[_0x523dc7(0x33c)][_0x523dc7(0x4db)](K);return(_0x585b8d=(_0x364fd0=_0x3fb029==null?void 0x0:_0x3fb029[_0x523dc7(0x37f)])!=null?_0x364fd0:_0x2bbd84)!=null?_0x585b8d:Wt;}};ye=Ci([Ae(0x0,a[_0x154c14(0x307)]),Ae(0x1,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)])),Ae(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)]))],ye);var Ti=Object[_0x154c14(0x2bb)],bi=(_0x450a34,_0x3bd137,_0x4c1c55,_0x1a2066)=>{var _0x35fca4=_0x154c14;for(var _0x5cdd10=_0x1a2066>0x1?void 0x0:_0x1a2066?Ti(_0x3bd137,_0x4c1c55):_0x3bd137,_0x3ca9bc=_0x450a34[_0x35fca4(0x454)]-0x1,_0x40d17a;_0x3ca9bc>=0x0;_0x3ca9bc--)(_0x40d17a=_0x450a34[_0x3ca9bc])&&(_0x5cdd10=_0x40d17a(_0x5cdd10)||_0x5cdd10);return _0x5cdd10;},qe=(_0x92bf2f,_0x260de1)=>(_0x1cf8ca,_0x36a95b)=>_0x260de1(_0x1cf8ca,_0x36a95b,_0x92bf2f);const Ve='AUTHZ_URL_KEY',Ri='/universer-api/authz';exports[_0x154c14(0x1d3)]=class extends a[_0x154c14(0x492)]{constructor(_0x3f0c72,_0x2ad0ea){var _0x3ae733=_0x154c14;super(),this['_HTTPService']=_0x3f0c72,this[_0x3ae733(0x33c)]=_0x2ad0ea,this[_0x3ae733(0x411)]();}[_0x154c14(0x411)](){var _0x17ef47=_0x154c14;const _0x21066d=this;this[_0x17ef47(0x1b0)](this[_0x17ef47(0x1f0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x45e82c){var _0x4b2565=_0x17ef47,_0xd41b4a;if(_0x45e82c['method']==='POST'&&((_0xd41b4a=_0x45e82c[_0x4b2565(0x1fc)])!=null&&_0xd41b4a[_0x4b2565(0x49d)])){const {objectID:_0x170f96,objectType:_0x1d2ff4}=_0x45e82c[_0x4b2565(0x1fc)][_0x4b2565(0x49d)]||{};if(!_0x170f96||_0x1d2ff4===void 0x0)return!0x1;const _0xdbf5fc=_0x21066d['_getAPIPrefixPath']()+'/'+_0x1d2ff4+_0x4b2565(0x3e9)+_0x170f96+_0x4b2565(0x1ef);if(_0x45e82c[_0x4b2565(0x2da)]===_0xdbf5fc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x450d1d){var _0x11d6ee=_0x17ef47,_0x48eee2;return(_0x48eee2=_0x450d1d[_0x11d6ee(0x1fc)])==null?void 0x0:_0x48eee2[_0x11d6ee(0x49d)];},'mergeParamsToRequest'(_0x2e494b,_0x449f3c){var _0x5b5001=_0x17ef47;const _0x24caac=_0x21066d[_0x5b5001(0x259)]()+'/-/object/-/batch_allowed',_0x4ee6df=_0x2e494b[_0x5b5001(0x4f4)]((_0x1d7f04,_0x5d521c)=>{const {unitID:_0x7e2ab4,objectID:_0x107437,objectType:_0x376dc4,actions:_0x3de68f}=_0x5d521c;return _0x1d7f04[_0x7e2ab4]||(_0x1d7f04[_0x7e2ab4]={}),_0x1d7f04[_0x7e2ab4][_0x107437]||(_0x1d7f04[_0x7e2ab4][_0x107437]={'objectID':_0x107437,'objectType':_0x376dc4,'actions':[]}),_0x1d7f04[_0x7e2ab4][_0x107437]['actions']['push'](..._0x3de68f),_0x1d7f04;},{}),_0x26a7ae=[];for(const _0x82f008 in _0x4ee6df)for(const _0x569a3e in _0x4ee6df[_0x82f008]){const {actions:_0x2abe20,objectType:_0xb2e79c}=_0x4ee6df[_0x82f008][_0x569a3e],_0x443119=[...new Set(_0x2abe20)];_0x26a7ae['push']({'unitID':_0x82f008,'objectID':_0x569a3e,'objectType':_0xb2e79c,'actions':_0x443119});}return new Y[(_0x5b5001(0x284))](_0x5b5001(0x20e),_0x24caac,{'headers':_0x449f3c[_0x5b5001(0x323)],'withCredentials':_0x449f3c[_0x5b5001(0x4ed)],'responseType':_0x449f3c[_0x5b5001(0x2e0)],'body':{'requests':_0x26a7ae}});}},{'distributeResult'(_0x4449db,_0x31b16b){var _0x1b63d7=_0x17ef47;const {objectActions:_0x995f03}=_0x4449db;return _0x31b16b[_0x1b63d7(0x3f5)](_0x7ba50f=>{var _0x5f3716=_0x1b63d7;const {unitID:_0x45b476,objectID:_0x2b8f87,actions:_0x52dc16}=_0x7ba50f,_0x21f037=_0x995f03['find'](_0x1c5e99=>_0x1c5e99[_0x5f3716(0x4b5)]===_0x45b476&&_0x1c5e99[_0x5f3716(0x3d0)]===_0x2b8f87),_0xbae652=_0x52dc16['map'](_0x178a65=>_0x21f037==null?void 0x0:_0x21f037[_0x5f3716(0x240)][_0x5f3716(0x4ae)](_0x1f19dc=>_0x1f19dc[_0x5f3716(0x415)]===_0x178a65))['filter'](_0x29b1a0=>!!_0x29b1a0);return{'config':_0x7ba50f,'result':{'actions':_0xbae652,'error':_0x4449db[_0x5f3716(0x1da)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18a1fc=_0x154c14,_0x4da9fc,_0x27b901;const _0x2d8674=this[_0x18a1fc(0x33c)][_0x18a1fc(0x4db)](Ve),_0x2d64ff=this[_0x18a1fc(0x33c)][_0x18a1fc(0x4db)](K);return(_0x27b901=(_0x4da9fc=_0x2d64ff==null?void 0x0:_0x2d64ff[_0x18a1fc(0x3df)])!=null?_0x4da9fc:_0x2d8674)!=null?_0x27b901:Ri;}async[_0x154c14(0x3db)](_0x4f0df7){var _0x480d35=_0x154c14;const _0x45d18a=this[_0x480d35(0x259)]()+'/'+_0x4f0df7['objectType']+'/object';return(await this[_0x480d35(0x1f0)]['post'](_0x45d18a,{'body':_0x4f0df7}))[_0x480d35(0x49d)][_0x480d35(0x3d0)]||'';}async['list'](_0x35f07c){var _0x448f48=_0x154c14;const _0x55db3f=this[_0x448f48(0x259)]()+_0x448f48(0x2c1);return(await this['_HTTPService'][_0x448f48(0x437)](_0x55db3f,{'body':_0x35f07c}))[_0x448f48(0x49d)][_0x448f48(0x2cf)];}async[_0x154c14(0x397)](_0xb50ebc){var _0x2b3cfd=_0x154c14,_0x54cde8,_0xa64c87;const _0x10c893=this[_0x2b3cfd(0x259)]()+'/'+_0xb50ebc[_0x2b3cfd(0x214)]+_0x2b3cfd(0x3e9)+_0xb50ebc[_0x2b3cfd(0x3d0)],_0x1e014b=await this['_HTTPService'][_0x2b3cfd(0x1c1)](_0x10c893,{'body':_0xb50ebc});if(((_0xa64c87=(_0x54cde8=_0x1e014b==null?void 0x0:_0x1e014b[_0x2b3cfd(0x49d)])==null?void 0x0:_0x54cde8['error'])==null?void 0x0:_0xa64c87['code'])!==0x1)throw new Error(_0x2b3cfd(0x1d4));}async[_0x154c14(0x49f)](_0x3300ca){var _0x21150a=_0x154c14;const _0x1fd812=this[_0x21150a(0x259)]()+'/'+_0x3300ca[_0x21150a(0x214)]+_0x21150a(0x3e9)+_0x3300ca[_0x21150a(0x3d0)]+_0x21150a(0x1ef);return(await this[_0x21150a(0x1f0)][_0x21150a(0x437)](_0x1fd812,{'body':_0x3300ca}))[_0x21150a(0x49d)][_0x21150a(0x240)];}async[_0x154c14(0x287)](_0x478199){var _0xc37e74=_0x154c14;const _0x2b7ce3=this[_0xc37e74(0x259)]()+_0xc37e74(0x384);return(await this[_0xc37e74(0x1f0)][_0xc37e74(0x437)](_0x2b7ce3,{'body':{'requests':_0x478199}}))[_0xc37e74(0x49d)][_0xc37e74(0x36e)];}async['listRoles'](_0x13769e){var _0x5ae4d5=_0x154c14;const _0x43f576=this['_getAPIPrefixPath']()+'/'+_0x13769e[_0x5ae4d5(0x214)]+_0x5ae4d5(0x392),_0x3de7c8=await this[_0x5ae4d5(0x1f0)][_0x5ae4d5(0x437)](_0x43f576,{'body':_0x13769e});return{'roles':_0x3de7c8['body']['roles'],'actions':_0x3de7c8[_0x5ae4d5(0x49d)][_0x5ae4d5(0x240)]};}async[_0x154c14(0x4f2)](_0x16fb39){var _0x57c3eb=_0x154c14;const _0x2d6c63=this[_0x57c3eb(0x259)]()+'/collaborator';await this[_0x57c3eb(0x1f0)][_0x57c3eb(0x3cf)](_0x2d6c63,{'params':{'collaboratorID':_0x16fb39['collaboratorID'],'objectID':_0x16fb39['objectID'],'unitID':_0x16fb39['unitID']}});}async[_0x154c14(0x43c)](_0x55724a){var _0x7c9342=_0x154c14;const _0x170748=this[_0x7c9342(0x259)]()+_0x7c9342(0x1d5);await this[_0x7c9342(0x1f0)][_0x7c9342(0x2b9)](_0x170748,{'body':_0x55724a});}async['createCollaborator'](_0x37c457){var _0x1aa1a6=_0x154c14;const _0x14aab5=this[_0x1aa1a6(0x259)]()+_0x1aa1a6(0x1d5);await this[_0x1aa1a6(0x1f0)][_0x1aa1a6(0x437)](_0x14aab5,{'body':_0x37c457});}async[_0x154c14(0x499)](_0x402700){var _0x354337=_0x154c14;const _0x316db9=this['_getAPIPrefixPath']()+_0x354337(0x1d5);return(await this[_0x354337(0x1f0)][_0x354337(0x225)](_0x316db9,{'params':{'objectID':_0x402700['objectID'],'unitID':_0x402700[_0x354337(0x4b5)]}}))[_0x354337(0x49d)]['collaborators'];}async[_0x154c14(0x404)](_0xd2970d){var _0x1b9790=_0x154c14;const _0x2c0732=this['_getAPIPrefixPath']()+_0x1b9790(0x1d5);await this['_HTTPService']['put'](_0x2c0732,{'body':_0xd2970d});}},exports[_0x154c14(0x1d3)]=bi([qe(0x0,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)])),qe(0x1,a[_0x154c14(0x25b)](a[_0x154c14(0x307)]))],exports[_0x154c14(0x1d3)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x42f326){var _0x2d8f8f=_0x154c14;return _0x42f326&&_0x42f326[_0x2d8f8f(0x474)]&&Object[_0x2d8f8f(0x4c4)]['hasOwnProperty'][_0x2d8f8f(0x2eb)](_0x42f326,'default')?_0x42f326[_0x2d8f8f(0x251)]:_0x42f326;}var fe={'exports':{}};function Oi(_0x38e2f4){var _0x2e48dc=_0x154c14;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x38e2f4+_0x2e48dc(0x498));}var pe={'exports':{}},yi=pe[_0x154c14(0x374)],ze;function Q(){var _0x5e2057=_0x154c14;return ze||(ze=0x1,function(_0x3255dd,_0x18b653){(function(_0x1f93b2,_0x3feedc){var _0x302645=_0x1a03;_0x3255dd[_0x302645(0x374)]=_0x3feedc();}(yi,function(){var _0x1480fb=_0x1480fb||function(_0xb221c4,_0x897bf6){var _0x184597=_0x1a03,_0xa00c8;if(typeof window<'u'&&window[_0x184597(0x283)]&&(_0xa00c8=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xa00c8=self[_0x184597(0x283)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xa00c8=globalThis[_0x184597(0x283)]),!_0xa00c8&&typeof window<'u'&&window[_0x184597(0x1bf)]&&(_0xa00c8=window['msCrypto']),!_0xa00c8&&typeof Pe<'u'&&Pe[_0x184597(0x283)]&&(_0xa00c8=Pe[_0x184597(0x283)]),!_0xa00c8&&typeof Oi==_0x184597(0x4a0))try{_0xa00c8=require(_0x184597(0x283));}catch{}var _0x11273a=function(){var _0x4c848f=_0x184597;if(_0xa00c8){if(typeof _0xa00c8[_0x4c848f(0x429)]==_0x4c848f(0x4a0))try{return _0xa00c8[_0x4c848f(0x429)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa00c8['randomBytes']==_0x4c848f(0x4a0))try{return _0xa00c8[_0x4c848f(0x3bf)](0x4)[_0x4c848f(0x2a6)]();}catch{}}throw new Error(_0x4c848f(0x1fa));},_0x832af7=Object[_0x184597(0x3db)]||(function(){function _0x376203(){}return function(_0xc22f32){var _0x410417=_0x1a03,_0xfc8bb5;return _0x376203[_0x410417(0x4c4)]=_0xc22f32,_0xfc8bb5=new _0x376203(),_0x376203[_0x410417(0x4c4)]=null,_0xfc8bb5;};}()),_0x5f1046={},_0x33a0fc=_0x5f1046[_0x184597(0x362)]={},_0x9c1387=_0x33a0fc[_0x184597(0x46b)]=(function(){return{'extend':function(_0x1148e4){var _0x5ca11e=_0x1a03,_0x3340f1=_0x832af7(this);return _0x1148e4&&_0x3340f1[_0x5ca11e(0x20a)](_0x1148e4),(!_0x3340f1[_0x5ca11e(0x195)](_0x5ca11e(0x412))||this[_0x5ca11e(0x412)]===_0x3340f1[_0x5ca11e(0x412)])&&(_0x3340f1[_0x5ca11e(0x412)]=function(){var _0x22c301=_0x5ca11e;_0x3340f1[_0x22c301(0x1c9)][_0x22c301(0x412)][_0x22c301(0x341)](this,arguments);}),_0x3340f1[_0x5ca11e(0x412)][_0x5ca11e(0x4c4)]=_0x3340f1,_0x3340f1[_0x5ca11e(0x1c9)]=this,_0x3340f1;},'create':function(){var _0x48444c=_0x1a03,_0x4ec667=this[_0x48444c(0x19a)]();return _0x4ec667[_0x48444c(0x412)]['apply'](_0x4ec667,arguments),_0x4ec667;},'init':function(){},'mixIn':function(_0x4205c2){var _0x566920=_0x1a03;for(var _0x4b2d8e in _0x4205c2)_0x4205c2[_0x566920(0x195)](_0x4b2d8e)&&(this[_0x4b2d8e]=_0x4205c2[_0x4b2d8e]);_0x4205c2[_0x566920(0x195)](_0x566920(0x185))&&(this[_0x566920(0x185)]=_0x4205c2[_0x566920(0x185)]);},'clone':function(){return this['init']['prototype']['extend'](this);}};}()),_0x14cfe7=_0x33a0fc[_0x184597(0x1a0)]=_0x9c1387[_0x184597(0x19a)]({'init':function(_0x425916,_0x2ba5e0){var _0x5c92a9=_0x184597;_0x425916=this['words']=_0x425916||[],_0x2ba5e0!=_0x897bf6?this['sigBytes']=_0x2ba5e0:this[_0x5c92a9(0x27f)]=_0x425916[_0x5c92a9(0x454)]*0x4;},'toString':function(_0x5772a9){var _0x511ba9=_0x184597;return(_0x5772a9||_0x18d854)[_0x511ba9(0x276)](this);},'concat':function(_0x495209){var _0x2e54bf=_0x184597,_0x53b60d=this[_0x2e54bf(0x373)],_0x42dc99=_0x495209['words'],_0x7d2182=this['sigBytes'],_0x2c8101=_0x495209['sigBytes'];if(this[_0x2e54bf(0x45e)](),_0x7d2182%0x4)for(var _0x23c6a8=0x0;_0x23c6a8<_0x2c8101;_0x23c6a8++){var _0x798c26=_0x42dc99[_0x23c6a8>>>0x2]>>>0x18-_0x23c6a8%0x4*0x8&0xff;_0x53b60d[_0x7d2182+_0x23c6a8>>>0x2]|=_0x798c26<<0x18-(_0x7d2182+_0x23c6a8)%0x4*0x8;}else{for(var _0x46bdd0=0x0;_0x46bdd0<_0x2c8101;_0x46bdd0+=0x4)_0x53b60d[_0x7d2182+_0x46bdd0>>>0x2]=_0x42dc99[_0x46bdd0>>>0x2];}return this['sigBytes']+=_0x2c8101,this;},'clamp':function(){var _0x1ed53f=_0x184597,_0xe3fc73=this[_0x1ed53f(0x373)],_0x2a54e7=this[_0x1ed53f(0x27f)];_0xe3fc73[_0x2a54e7>>>0x2]&=0xffffffff<<0x20-_0x2a54e7%0x4*0x8,_0xe3fc73['length']=_0xb221c4[_0x1ed53f(0x217)](_0x2a54e7/0x4);},'clone':function(){var _0x2c8aa6=_0x184597,_0x110b24=_0x9c1387['clone']['call'](this);return _0x110b24['words']=this[_0x2c8aa6(0x373)][_0x2c8aa6(0x30f)](0x0),_0x110b24;},'random':function(_0x4753cb){var _0x3ba205=_0x184597;for(var _0x707027=[],_0x5be7ed=0x0;_0x5be7ed<_0x4753cb;_0x5be7ed+=0x4)_0x707027[_0x3ba205(0x4af)](_0x11273a());return new _0x14cfe7[(_0x3ba205(0x412))](_0x707027,_0x4753cb);}}),_0x5f3562=_0x5f1046[_0x184597(0x30e)]={},_0x18d854=_0x5f3562[_0x184597(0x46d)]={'stringify':function(_0x38b3f6){var _0x87954b=_0x184597;for(var _0x2efd02=_0x38b3f6['words'],_0xf1532c=_0x38b3f6[_0x87954b(0x27f)],_0x207233=[],_0x14e8e5=0x0;_0x14e8e5<_0xf1532c;_0x14e8e5++){var _0x18f661=_0x2efd02[_0x14e8e5>>>0x2]>>>0x18-_0x14e8e5%0x4*0x8&0xff;_0x207233[_0x87954b(0x4af)]((_0x18f661>>>0x4)[_0x87954b(0x185)](0x10)),_0x207233['push']((_0x18f661&0xf)[_0x87954b(0x185)](0x10));}return _0x207233['join']('');},'parse':function(_0x3d8a00){var _0x4b7845=_0x184597;for(var _0x29d59d=_0x3d8a00[_0x4b7845(0x454)],_0x3001dc=[],_0x55174b=0x0;_0x55174b<_0x29d59d;_0x55174b+=0x2)_0x3001dc[_0x55174b>>>0x3]|=parseInt(_0x3d8a00[_0x4b7845(0x3c2)](_0x55174b,0x2),0x10)<<0x18-_0x55174b%0x8*0x4;return new _0x14cfe7[(_0x4b7845(0x412))](_0x3001dc,_0x29d59d/0x2);}},_0x137888=_0x5f3562[_0x184597(0x1ea)]={'stringify':function(_0xbc0c6e){var _0x296576=_0x184597;for(var _0x114ec2=_0xbc0c6e[_0x296576(0x373)],_0x189626=_0xbc0c6e[_0x296576(0x27f)],_0x263160=[],_0x4e9305=0x0;_0x4e9305<_0x189626;_0x4e9305++){var _0x3ae4e5=_0x114ec2[_0x4e9305>>>0x2]>>>0x18-_0x4e9305%0x4*0x8&0xff;_0x263160[_0x296576(0x4af)](String[_0x296576(0x2a8)](_0x3ae4e5));}return _0x263160[_0x296576(0x2c2)]('');},'parse':function(_0x126d89){var _0x28f69e=_0x184597;for(var _0x1ab624=_0x126d89['length'],_0xd455ec=[],_0x4746e3=0x0;_0x4746e3<_0x1ab624;_0x4746e3++)_0xd455ec[_0x4746e3>>>0x2]|=(_0x126d89[_0x28f69e(0x3e3)](_0x4746e3)&0xff)<<0x18-_0x4746e3%0x4*0x8;return new _0x14cfe7[(_0x28f69e(0x412))](_0xd455ec,_0x1ab624);}},_0x135ccd=_0x5f3562[_0x184597(0x23e)]={'stringify':function(_0x549d6f){try{return decodeURIComponent(escape(_0x137888['stringify'](_0x549d6f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x53790f){var _0x4c3a6e=_0x184597;return _0x137888[_0x4c3a6e(0x1b3)](unescape(encodeURIComponent(_0x53790f)));}},_0x2642b=_0x33a0fc['BufferedBlockAlgorithm']=_0x9c1387['extend']({'reset':function(){var _0x54e98d=_0x184597;this[_0x54e98d(0x2d4)]=new _0x14cfe7[(_0x54e98d(0x412))](),this['_nDataBytes']=0x0;},'_append':function(_0x176590){var _0x208d86=_0x184597;typeof _0x176590==_0x208d86(0x4a7)&&(_0x176590=_0x135ccd[_0x208d86(0x1b3)](_0x176590)),this[_0x208d86(0x2d4)]['concat'](_0x176590),this['_nDataBytes']+=_0x176590[_0x208d86(0x27f)];},'_process':function(_0x4d1f6c){var _0xf10845=_0x184597,_0x48a4a3,_0x585f3d=this[_0xf10845(0x2d4)],_0x19c200=_0x585f3d[_0xf10845(0x373)],_0x502446=_0x585f3d['sigBytes'],_0x329319=this[_0xf10845(0x4f0)],_0x2b673c=_0x329319*0x4,_0x3d97c0=_0x502446/_0x2b673c;_0x4d1f6c?_0x3d97c0=_0xb221c4[_0xf10845(0x217)](_0x3d97c0):_0x3d97c0=_0xb221c4[_0xf10845(0x181)]((_0x3d97c0|0x0)-this['_minBufferSize'],0x0);var _0x49a990=_0x3d97c0*_0x329319,_0x4af2ca=_0xb221c4['min'](_0x49a990*0x4,_0x502446);if(_0x49a990){for(var _0x124635=0x0;_0x124635<_0x49a990;_0x124635+=_0x329319)this['_doProcessBlock'](_0x19c200,_0x124635);_0x48a4a3=_0x19c200[_0xf10845(0x186)](0x0,_0x49a990),_0x585f3d['sigBytes']-=_0x4af2ca;}return new _0x14cfe7[(_0xf10845(0x412))](_0x48a4a3,_0x4af2ca);},'clone':function(){var _0x5e542b=_0x184597,_0x5b79b9=_0x9c1387['clone'][_0x5e542b(0x2eb)](this);return _0x5b79b9[_0x5e542b(0x2d4)]=this[_0x5e542b(0x2d4)][_0x5e542b(0x250)](),_0x5b79b9;},'_minBufferSize':0x0});_0x33a0fc['Hasher']=_0x2642b[_0x184597(0x19a)]({'cfg':_0x9c1387[_0x184597(0x19a)](),'init':function(_0x516411){var _0x1bd3a0=_0x184597;this[_0x1bd3a0(0x3d8)]=this[_0x1bd3a0(0x3d8)][_0x1bd3a0(0x19a)](_0x516411),this[_0x1bd3a0(0x3aa)]();},'reset':function(){var _0x22c833=_0x184597;_0x2642b[_0x22c833(0x3aa)][_0x22c833(0x2eb)](this),this[_0x22c833(0x2b5)]();},'update':function(_0x4e77f6){var _0x301683=_0x184597;return this[_0x301683(0x444)](_0x4e77f6),this[_0x301683(0x389)](),this;},'finalize':function(_0x2a8721){var _0x558bc2=_0x184597;_0x2a8721&&this[_0x558bc2(0x444)](_0x2a8721);var _0x3586e6=this[_0x558bc2(0x1d0)]();return _0x3586e6;},'blockSize':0x10,'_createHelper':function(_0x420c34){return function(_0x54562b,_0x306415){var _0x18ed88=_0x1a03;return new _0x420c34[(_0x18ed88(0x412))](_0x306415)[_0x18ed88(0x228)](_0x54562b);};},'_createHmacHelper':function(_0x261104){return function(_0xebb6c4,_0x556301){var _0x57d772=_0x1a03;return new _0x5e836e[(_0x57d772(0x3c5))][(_0x57d772(0x412))](_0x261104,_0x556301)[_0x57d772(0x228)](_0xebb6c4);};}});var _0x5e836e=_0x5f1046[_0x184597(0x460)]={};return _0x5f1046;}(Math);return _0x1480fb;}));}(pe)),pe[_0x5e2057(0x374)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x557cb3=_0x154c14;return Je||(Je=0x1,function(_0x2c29f4,_0x29bf28){(function(_0x2f2fe4,_0x45ec65){var _0x2cffdf=_0x1a03;_0x2c29f4[_0x2cffdf(0x374)]=_0x45ec65(Q());}(Ni,function(_0x5dfba4){var _0x1da595=_0x1a03;return(function(){var _0x4e6875=_0x1a03,_0x569519=_0x5dfba4,_0x515b8a=_0x569519[_0x4e6875(0x362)],_0x3cb422=_0x515b8a['WordArray'],_0x40f779=_0x569519['enc'];_0x40f779[_0x4e6875(0x3d7)]={'stringify':function(_0x59b7bb){var _0x15ab19=_0x4e6875,_0x417861=_0x59b7bb[_0x15ab19(0x373)],_0x5b18f1=_0x59b7bb['sigBytes'],_0x29726b=this[_0x15ab19(0x22c)];_0x59b7bb[_0x15ab19(0x45e)]();for(var _0x5a02fb=[],_0x506b95=0x0;_0x506b95<_0x5b18f1;_0x506b95+=0x3)for(var _0x24f640=_0x417861[_0x506b95>>>0x2]>>>0x18-_0x506b95%0x4*0x8&0xff,_0x314215=_0x417861[_0x506b95+0x1>>>0x2]>>>0x18-(_0x506b95+0x1)%0x4*0x8&0xff,_0x113ec7=_0x417861[_0x506b95+0x2>>>0x2]>>>0x18-(_0x506b95+0x2)%0x4*0x8&0xff,_0x1aac1d=_0x24f640<<0x10|_0x314215<<0x8|_0x113ec7,_0x605274=0x0;_0x605274<0x4&&_0x506b95+_0x605274*0.75<_0x5b18f1;_0x605274++)_0x5a02fb[_0x15ab19(0x4af)](_0x29726b[_0x15ab19(0x426)](_0x1aac1d>>>0x6*(0x3-_0x605274)&0x3f));var _0x2d5a69=_0x29726b[_0x15ab19(0x426)](0x40);if(_0x2d5a69){for(;_0x5a02fb['length']%0x4;)_0x5a02fb[_0x15ab19(0x4af)](_0x2d5a69);}return _0x5a02fb[_0x15ab19(0x2c2)]('');},'parse':function(_0x48ead6){var _0xedd8a3=_0x4e6875,_0x18713f=_0x48ead6[_0xedd8a3(0x454)],_0x3497a4=this[_0xedd8a3(0x22c)],_0x544371=this['_reverseMap'];if(!_0x544371){_0x544371=this[_0xedd8a3(0x388)]=[];for(var _0x4e5663=0x0;_0x4e5663<_0x3497a4['length'];_0x4e5663++)_0x544371[_0x3497a4[_0xedd8a3(0x3e3)](_0x4e5663)]=_0x4e5663;}var _0x30b5ff=_0x3497a4['charAt'](0x40);if(_0x30b5ff){var _0x3293b0=_0x48ead6[_0xedd8a3(0x18a)](_0x30b5ff);_0x3293b0!==-0x1&&(_0x18713f=_0x3293b0);}return _0x1eb056(_0x48ead6,_0x18713f,_0x544371);},'_map':_0x4e6875(0x2dc)};function _0x1eb056(_0x536cdc,_0x12e5bb,_0x4f84ac){var _0x374989=_0x4e6875;for(var _0x298f3e=[],_0x31a820=0x0,_0xeac4be=0x0;_0xeac4be<_0x12e5bb;_0xeac4be++)if(_0xeac4be%0x4){var _0x31a35c=_0x4f84ac[_0x536cdc[_0x374989(0x3e3)](_0xeac4be-0x1)]<<_0xeac4be%0x4*0x2,_0x814aa7=_0x4f84ac[_0x536cdc['charCodeAt'](_0xeac4be)]>>>0x6-_0xeac4be%0x4*0x2,_0x2175f4=_0x31a35c|_0x814aa7;_0x298f3e[_0x31a820>>>0x2]|=_0x2175f4<<0x18-_0x31a820%0x4*0x8,_0x31a820++;}return _0x3cb422[_0x374989(0x3db)](_0x298f3e,_0x31a820);}}()),_0x5dfba4['enc'][_0x1da595(0x3d7)];}));}(Ie)),Ie[_0x557cb3(0x374)];}var ge={'exports':{}},Ui=ge[_0x154c14(0x374)],Xe;function Di(){var _0x46721d=_0x154c14;return Xe||(Xe=0x1,function(_0x2992fd,_0x1ed89a){(function(_0x64e471,_0x39b1f3){var _0x40c7b8=_0x1a03;_0x2992fd[_0x40c7b8(0x374)]=_0x39b1f3(Q());}(Ui,function(_0x1ce4d5){var _0x6690bc=_0x1a03;return function(_0x2b0505){var _0x1d4039=_0x1a03,_0x5a6a7e=_0x1ce4d5,_0x23d84a=_0x5a6a7e[_0x1d4039(0x362)],_0x123bba=_0x23d84a[_0x1d4039(0x1a0)],_0x1965e2=_0x23d84a[_0x1d4039(0x433)],_0x476102=_0x5a6a7e[_0x1d4039(0x460)],_0x5a25c3=[];(function(){var _0x4942f5=_0x1d4039;for(var _0x284cb9=0x0;_0x284cb9<0x40;_0x284cb9++)_0x5a25c3[_0x284cb9]=_0x2b0505[_0x4942f5(0x302)](_0x2b0505['sin'](_0x284cb9+0x1))*0x100000000|0x0;}());var _0x44ebe0=_0x476102[_0x1d4039(0x2ab)]=_0x1965e2[_0x1d4039(0x19a)]({'_doReset':function(){var _0x562bd8=_0x1d4039;this[_0x562bd8(0x4f7)]=new _0x123bba[(_0x562bd8(0x412))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x48241e,_0x46057e){var _0x1426b1=_0x1d4039;for(var _0x2b35cc=0x0;_0x2b35cc<0x10;_0x2b35cc++){var _0x3f7331=_0x46057e+_0x2b35cc,_0x18e395=_0x48241e[_0x3f7331];_0x48241e[_0x3f7331]=(_0x18e395<<0x8|_0x18e395>>>0x18)&0xff00ff|(_0x18e395<<0x18|_0x18e395>>>0x8)&0xff00ff00;}var _0x4cd939=this[_0x1426b1(0x4f7)][_0x1426b1(0x373)],_0x49fe3f=_0x48241e[_0x46057e+0x0],_0x3fd8a9=_0x48241e[_0x46057e+0x1],_0x1ec219=_0x48241e[_0x46057e+0x2],_0x492bd7=_0x48241e[_0x46057e+0x3],_0x444cff=_0x48241e[_0x46057e+0x4],_0x177026=_0x48241e[_0x46057e+0x5],_0xcaf038=_0x48241e[_0x46057e+0x6],_0x43ab1f=_0x48241e[_0x46057e+0x7],_0x5342da=_0x48241e[_0x46057e+0x8],_0x133767=_0x48241e[_0x46057e+0x9],_0x5689a5=_0x48241e[_0x46057e+0xa],_0x1e8afa=_0x48241e[_0x46057e+0xb],_0x3d59b4=_0x48241e[_0x46057e+0xc],_0x258eee=_0x48241e[_0x46057e+0xd],_0x20d6a9=_0x48241e[_0x46057e+0xe],_0x42814e=_0x48241e[_0x46057e+0xf],_0x51a76c=_0x4cd939[0x0],_0x41af19=_0x4cd939[0x1],_0xaa0e1c=_0x4cd939[0x2],_0x61f007=_0x4cd939[0x3];_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x49fe3f,0x7,_0x5a25c3[0x0]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x3fd8a9,0xc,_0x5a25c3[0x1]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1ec219,0x11,_0x5a25c3[0x2]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x492bd7,0x16,_0x5a25c3[0x3]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x444cff,0x7,_0x5a25c3[0x4]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x177026,0xc,_0x5a25c3[0x5]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0xcaf038,0x11,_0x5a25c3[0x6]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x43ab1f,0x16,_0x5a25c3[0x7]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x5342da,0x7,_0x5a25c3[0x8]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x133767,0xc,_0x5a25c3[0x9]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x5689a5,0x11,_0x5a25c3[0xa]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x1e8afa,0x16,_0x5a25c3[0xb]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3d59b4,0x7,_0x5a25c3[0xc]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x258eee,0xc,_0x5a25c3[0xd]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x20d6a9,0x11,_0x5a25c3[0xe]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x42814e,0x16,_0x5a25c3[0xf]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3fd8a9,0x5,_0x5a25c3[0x10]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0xcaf038,0x9,_0x5a25c3[0x11]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1e8afa,0xe,_0x5a25c3[0x12]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x49fe3f,0x14,_0x5a25c3[0x13]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x177026,0x5,_0x5a25c3[0x14]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x5689a5,0x9,_0x5a25c3[0x15]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x42814e,0xe,_0x5a25c3[0x16]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x444cff,0x14,_0x5a25c3[0x17]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x133767,0x5,_0x5a25c3[0x18]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x20d6a9,0x9,_0x5a25c3[0x19]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x492bd7,0xe,_0x5a25c3[0x1a]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x5342da,0x14,_0x5a25c3[0x1b]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x258eee,0x5,_0x5a25c3[0x1c]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x1ec219,0x9,_0x5a25c3[0x1d]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x43ab1f,0xe,_0x5a25c3[0x1e]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x3d59b4,0x14,_0x5a25c3[0x1f]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x177026,0x4,_0x5a25c3[0x20]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x5342da,0xb,_0x5a25c3[0x21]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1e8afa,0x10,_0x5a25c3[0x22]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x20d6a9,0x17,_0x5a25c3[0x23]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3fd8a9,0x4,_0x5a25c3[0x24]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x444cff,0xb,_0x5a25c3[0x25]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x43ab1f,0x10,_0x5a25c3[0x26]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x5689a5,0x17,_0x5a25c3[0x27]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x258eee,0x4,_0x5a25c3[0x28]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x49fe3f,0xb,_0x5a25c3[0x29]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x492bd7,0x10,_0x5a25c3[0x2a]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0xcaf038,0x17,_0x5a25c3[0x2b]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x133767,0x4,_0x5a25c3[0x2c]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x3d59b4,0xb,_0x5a25c3[0x2d]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x42814e,0x10,_0x5a25c3[0x2e]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x1ec219,0x17,_0x5a25c3[0x2f]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x49fe3f,0x6,_0x5a25c3[0x30]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x43ab1f,0xa,_0x5a25c3[0x31]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x20d6a9,0xf,_0x5a25c3[0x32]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x177026,0x15,_0x5a25c3[0x33]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3d59b4,0x6,_0x5a25c3[0x34]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x492bd7,0xa,_0x5a25c3[0x35]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x5689a5,0xf,_0x5a25c3[0x36]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x3fd8a9,0x15,_0x5a25c3[0x37]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x5342da,0x6,_0x5a25c3[0x38]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x42814e,0xa,_0x5a25c3[0x39]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0xcaf038,0xf,_0x5a25c3[0x3a]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x258eee,0x15,_0x5a25c3[0x3b]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x444cff,0x6,_0x5a25c3[0x3c]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x1e8afa,0xa,_0x5a25c3[0x3d]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1ec219,0xf,_0x5a25c3[0x3e]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x133767,0x15,_0x5a25c3[0x3f]),_0x4cd939[0x0]=_0x4cd939[0x0]+_0x51a76c|0x0,_0x4cd939[0x1]=_0x4cd939[0x1]+_0x41af19|0x0,_0x4cd939[0x2]=_0x4cd939[0x2]+_0xaa0e1c|0x0,_0x4cd939[0x3]=_0x4cd939[0x3]+_0x61f007|0x0;},'_doFinalize':function(){var _0x247108=_0x1d4039,_0x259c67=this[_0x247108(0x2d4)],_0x6aceeb=_0x259c67['words'],_0x5db805=this[_0x247108(0x35e)]*0x8,_0x33a4c7=_0x259c67['sigBytes']*0x8;_0x6aceeb[_0x33a4c7>>>0x5]|=0x80<<0x18-_0x33a4c7%0x20;var _0x61eeac=_0x2b0505[_0x247108(0x2f0)](_0x5db805/0x100000000),_0x2a1fd4=_0x5db805;_0x6aceeb[(_0x33a4c7+0x40>>>0x9<<0x4)+0xf]=(_0x61eeac<<0x8|_0x61eeac>>>0x18)&0xff00ff|(_0x61eeac<<0x18|_0x61eeac>>>0x8)&0xff00ff00,_0x6aceeb[(_0x33a4c7+0x40>>>0x9<<0x4)+0xe]=(_0x2a1fd4<<0x8|_0x2a1fd4>>>0x18)&0xff00ff|(_0x2a1fd4<<0x18|_0x2a1fd4>>>0x8)&0xff00ff00,_0x259c67[_0x247108(0x27f)]=(_0x6aceeb[_0x247108(0x454)]+0x1)*0x4,this[_0x247108(0x389)]();for(var _0x3a5dcb=this['_hash'],_0x1f1917=_0x3a5dcb['words'],_0x2aefb1=0x0;_0x2aefb1<0x4;_0x2aefb1++){var _0x3215a0=_0x1f1917[_0x2aefb1];_0x1f1917[_0x2aefb1]=(_0x3215a0<<0x8|_0x3215a0>>>0x18)&0xff00ff|(_0x3215a0<<0x18|_0x3215a0>>>0x8)&0xff00ff00;}return _0x3a5dcb;},'clone':function(){var _0x49c3a3=_0x1d4039,_0x3792d4=_0x1965e2[_0x49c3a3(0x250)][_0x49c3a3(0x2eb)](this);return _0x3792d4[_0x49c3a3(0x4f7)]=this[_0x49c3a3(0x4f7)]['clone'](),_0x3792d4;}});function _0x2b4eb5(_0x20627b,_0x2b4832,_0x248b0a,_0x42f7a9,_0x53eb5e,_0x230498,_0x5586a9){var _0x18a014=_0x20627b+(_0x2b4832&_0x248b0a|~_0x2b4832&_0x42f7a9)+_0x53eb5e+_0x5586a9;return(_0x18a014<<_0x230498|_0x18a014>>>0x20-_0x230498)+_0x2b4832;}function _0x4cab65(_0x5cdfe8,_0x25f6ae,_0x1ef7f0,_0x2221af,_0x432111,_0x2fc45b,_0x49e0a7){var _0x152c16=_0x5cdfe8+(_0x25f6ae&_0x2221af|_0x1ef7f0&~_0x2221af)+_0x432111+_0x49e0a7;return(_0x152c16<<_0x2fc45b|_0x152c16>>>0x20-_0x2fc45b)+_0x25f6ae;}function _0x3e2547(_0x6f182b,_0x3f56af,_0x410674,_0x13ff9e,_0x15ece,_0x4938fe,_0x34abe6){var _0xeedaf0=_0x6f182b+(_0x3f56af^_0x410674^_0x13ff9e)+_0x15ece+_0x34abe6;return(_0xeedaf0<<_0x4938fe|_0xeedaf0>>>0x20-_0x4938fe)+_0x3f56af;}function _0x38c6c8(_0x51e78e,_0x42c4a6,_0x3b4146,_0x5155a3,_0x171e26,_0x14cfe5,_0x5145f4){var _0xc1317e=_0x51e78e+(_0x3b4146^(_0x42c4a6|~_0x5155a3))+_0x171e26+_0x5145f4;return(_0xc1317e<<_0x14cfe5|_0xc1317e>>>0x20-_0x14cfe5)+_0x42c4a6;}_0x5a6a7e[_0x1d4039(0x2ab)]=_0x1965e2[_0x1d4039(0x4d8)](_0x44ebe0),_0x5a6a7e[_0x1d4039(0x206)]=_0x1965e2[_0x1d4039(0x32d)](_0x44ebe0);}(Math),_0x1ce4d5[_0x6690bc(0x2ab)];}));}(ge)),ge[_0x46721d(0x374)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x154c14(0x374)],Ze;function Pi(){var _0x3d1cf1=_0x154c14;return Ze||(Ze=0x1,function(_0x4e002f,_0x15bbbe){(function(_0x1a62a4,_0x11bb3f){_0x4e002f['exports']=_0x11bb3f(Q());}(Ai,function(_0x4b8006){var _0x44c1a2=_0x1a03;return(function(){var _0x3deb25=_0x1a03,_0x891122=_0x4b8006,_0x5597e6=_0x891122[_0x3deb25(0x362)],_0x26a13b=_0x5597e6[_0x3deb25(0x1a0)],_0x4d281d=_0x5597e6[_0x3deb25(0x433)],_0x233555=_0x891122['algo'],_0x4b7555=[],_0x46a023=_0x233555[_0x3deb25(0x28b)]=_0x4d281d[_0x3deb25(0x19a)]({'_doReset':function(){var _0x1b92c4=_0x3deb25;this['_hash']=new _0x26a13b[(_0x1b92c4(0x412))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2686f5,_0x389e1f){var _0x44000b=_0x3deb25;for(var _0x429b11=this[_0x44000b(0x4f7)][_0x44000b(0x373)],_0x1470fc=_0x429b11[0x0],_0x54dad2=_0x429b11[0x1],_0x1a4376=_0x429b11[0x2],_0x4958d2=_0x429b11[0x3],_0x3e8e81=_0x429b11[0x4],_0x55bef=0x0;_0x55bef<0x50;_0x55bef++){if(_0x55bef<0x10)_0x4b7555[_0x55bef]=_0x2686f5[_0x389e1f+_0x55bef]|0x0;else{var _0xdbc011=_0x4b7555[_0x55bef-0x3]^_0x4b7555[_0x55bef-0x8]^_0x4b7555[_0x55bef-0xe]^_0x4b7555[_0x55bef-0x10];_0x4b7555[_0x55bef]=_0xdbc011<<0x1|_0xdbc011>>>0x1f;}var _0x21e490=(_0x1470fc<<0x5|_0x1470fc>>>0x1b)+_0x3e8e81+_0x4b7555[_0x55bef];_0x55bef<0x14?_0x21e490+=(_0x54dad2&_0x1a4376|~_0x54dad2&_0x4958d2)+0x5a827999:_0x55bef<0x28?_0x21e490+=(_0x54dad2^_0x1a4376^_0x4958d2)+0x6ed9eba1:_0x55bef<0x3c?_0x21e490+=(_0x54dad2&_0x1a4376|_0x54dad2&_0x4958d2|_0x1a4376&_0x4958d2)-0x70e44324:_0x21e490+=(_0x54dad2^_0x1a4376^_0x4958d2)-0x359d3e2a,_0x3e8e81=_0x4958d2,_0x4958d2=_0x1a4376,_0x1a4376=_0x54dad2<<0x1e|_0x54dad2>>>0x2,_0x54dad2=_0x1470fc,_0x1470fc=_0x21e490;}_0x429b11[0x0]=_0x429b11[0x0]+_0x1470fc|0x0,_0x429b11[0x1]=_0x429b11[0x1]+_0x54dad2|0x0,_0x429b11[0x2]=_0x429b11[0x2]+_0x1a4376|0x0,_0x429b11[0x3]=_0x429b11[0x3]+_0x4958d2|0x0,_0x429b11[0x4]=_0x429b11[0x4]+_0x3e8e81|0x0;},'_doFinalize':function(){var _0x4b3959=_0x3deb25,_0x30796e=this['_data'],_0xe4a3b5=_0x30796e[_0x4b3959(0x373)],_0x7ff0f1=this['_nDataBytes']*0x8,_0x4a5aa1=_0x30796e[_0x4b3959(0x27f)]*0x8;return _0xe4a3b5[_0x4a5aa1>>>0x5]|=0x80<<0x18-_0x4a5aa1%0x20,_0xe4a3b5[(_0x4a5aa1+0x40>>>0x9<<0x4)+0xe]=Math[_0x4b3959(0x2f0)](_0x7ff0f1/0x100000000),_0xe4a3b5[(_0x4a5aa1+0x40>>>0x9<<0x4)+0xf]=_0x7ff0f1,_0x30796e[_0x4b3959(0x27f)]=_0xe4a3b5[_0x4b3959(0x454)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5ccc28=_0x3deb25,_0x5b1099=_0x4d281d['clone']['call'](this);return _0x5b1099[_0x5ccc28(0x4f7)]=this[_0x5ccc28(0x4f7)][_0x5ccc28(0x250)](),_0x5b1099;}});_0x891122[_0x3deb25(0x28b)]=_0x4d281d[_0x3deb25(0x4d8)](_0x46a023),_0x891122[_0x3deb25(0x308)]=_0x4d281d[_0x3deb25(0x32d)](_0x46a023);}()),_0x4b8006[_0x44c1a2(0x28b)];}));}(me)),me[_0x3d1cf1(0x374)];}var Ce={'exports':{}},wi=Ce[_0x154c14(0x374)],Qe;function Li(){var _0x1f625f=_0x154c14;return Qe||(Qe=0x1,function(_0x38af84,_0x3a1cd5){(function(_0x2e411b,_0x431cd2){var _0xecf588=_0x1a03;_0x38af84[_0xecf588(0x374)]=_0x431cd2(Q());}(wi,function(_0x1a4722){(function(){var _0x431db0=_0x1a03,_0x39a1a7=_0x1a4722,_0x2fdbfc=_0x39a1a7['lib'],_0xce55e2=_0x2fdbfc[_0x431db0(0x46b)],_0x2c4378=_0x39a1a7[_0x431db0(0x30e)],_0x21b3d3=_0x2c4378[_0x431db0(0x23e)],_0x35da3d=_0x39a1a7[_0x431db0(0x460)];_0x35da3d['HMAC']=_0xce55e2[_0x431db0(0x19a)]({'init':function(_0x15aef7,_0x57154c){var _0x38b013=_0x431db0;_0x15aef7=this['_hasher']=new _0x15aef7[(_0x38b013(0x412))](),typeof _0x57154c==_0x38b013(0x4a7)&&(_0x57154c=_0x21b3d3['parse'](_0x57154c));var _0x1aeef4=_0x15aef7[_0x38b013(0x4f0)],_0x47383b=_0x1aeef4*0x4;_0x57154c['sigBytes']>_0x47383b&&(_0x57154c=_0x15aef7[_0x38b013(0x228)](_0x57154c)),_0x57154c['clamp']();for(var _0x1a7cdf=this[_0x38b013(0x420)]=_0x57154c[_0x38b013(0x250)](),_0x5d55ef=this['_iKey']=_0x57154c[_0x38b013(0x250)](),_0x2de417=_0x1a7cdf[_0x38b013(0x373)],_0x4fd50c=_0x5d55ef['words'],_0x55a245=0x0;_0x55a245<_0x1aeef4;_0x55a245++)_0x2de417[_0x55a245]^=0x5c5c5c5c,_0x4fd50c[_0x55a245]^=0x36363636;_0x1a7cdf[_0x38b013(0x27f)]=_0x5d55ef[_0x38b013(0x27f)]=_0x47383b,this[_0x38b013(0x3aa)]();},'reset':function(){var _0x48f592=_0x431db0,_0x6a0b70=this[_0x48f592(0x44f)];_0x6a0b70[_0x48f592(0x3aa)](),_0x6a0b70[_0x48f592(0x397)](this['_iKey']);},'update':function(_0x46e9ab){var _0x2143ba=_0x431db0;return this[_0x2143ba(0x44f)][_0x2143ba(0x397)](_0x46e9ab),this;},'finalize':function(_0x9040dc){var _0x32ed00=_0x431db0,_0xe1f89c=this['_hasher'],_0x1b2e26=_0xe1f89c['finalize'](_0x9040dc);_0xe1f89c[_0x32ed00(0x3aa)]();var _0x5e742b=_0xe1f89c[_0x32ed00(0x228)](this['_oKey']['clone']()[_0x32ed00(0x406)](_0x1b2e26));return _0x5e742b;}});}());}));}(Ce)),Ce[_0x1f625f(0x374)];}var Mi=Ee['exports'],et;function Nt(){var _0x1b8397=_0x154c14;return et||(et=0x1,function(_0x53c644,_0x41501a){(function(_0x48ed46,_0x1ad8a4,_0x1f2d82){var _0x27109b=_0x1a03;_0x53c644[_0x27109b(0x374)]=_0x1ad8a4(Q(),Pi(),Li());}(Mi,function(_0x3fbcce){return(function(){var _0x31af5f=_0x1a03,_0x67fdf1=_0x3fbcce,_0x5c3145=_0x67fdf1[_0x31af5f(0x362)],_0x24490a=_0x5c3145[_0x31af5f(0x46b)],_0x3532dd=_0x5c3145[_0x31af5f(0x1a0)],_0x1465fb=_0x67fdf1['algo'],_0x4e1127=_0x1465fb[_0x31af5f(0x2ab)],_0x3c744a=_0x1465fb['EvpKDF']=_0x24490a[_0x31af5f(0x19a)]({'cfg':_0x24490a[_0x31af5f(0x19a)]({'keySize':0x80/0x20,'hasher':_0x4e1127,'iterations':0x1}),'init':function(_0x1f9594){var _0x532f6a=_0x31af5f;this[_0x532f6a(0x3d8)]=this[_0x532f6a(0x3d8)][_0x532f6a(0x19a)](_0x1f9594);},'compute':function(_0x1f9464,_0x5c79ad){var _0xa0e0db=_0x31af5f;for(var _0x5a60dd,_0x890f5f=this[_0xa0e0db(0x3d8)],_0xe05e0c=_0x890f5f[_0xa0e0db(0x21b)][_0xa0e0db(0x3db)](),_0x386810=_0x3532dd[_0xa0e0db(0x3db)](),_0x8dab8e=_0x386810['words'],_0x2dc8b3=_0x890f5f[_0xa0e0db(0x1f5)],_0x29be94=_0x890f5f['iterations'];_0x8dab8e[_0xa0e0db(0x454)]<_0x2dc8b3;){_0x5a60dd&&_0xe05e0c[_0xa0e0db(0x397)](_0x5a60dd),_0x5a60dd=_0xe05e0c['update'](_0x1f9464)[_0xa0e0db(0x228)](_0x5c79ad),_0xe05e0c[_0xa0e0db(0x3aa)]();for(var _0x44fee5=0x1;_0x44fee5<_0x29be94;_0x44fee5++)_0x5a60dd=_0xe05e0c[_0xa0e0db(0x228)](_0x5a60dd),_0xe05e0c[_0xa0e0db(0x3aa)]();_0x386810[_0xa0e0db(0x406)](_0x5a60dd);}return _0x386810[_0xa0e0db(0x27f)]=_0x2dc8b3*0x4,_0x386810;}});_0x67fdf1[_0x31af5f(0x277)]=function(_0xe4c5ff,_0x22c7a2,_0x84d2ab){var _0x2db42a=_0x31af5f;return _0x3c744a[_0x2db42a(0x3db)](_0x84d2ab)[_0x2db42a(0x36d)](_0xe4c5ff,_0x22c7a2);};}()),_0x3fbcce['EvpKDF'];}));}(Ee)),Ee[_0x1b8397(0x374)];}var Te={'exports':{}},xi=Te[_0x154c14(0x374)],tt;function Ut(){var _0x11de39=_0x154c14;return tt||(tt=0x1,function(_0x244eb6,_0x2fa1e1){(function(_0x38a7fe,_0x537704,_0x54b87c){var _0x1de59b=_0x1a03;_0x244eb6[_0x1de59b(0x374)]=_0x537704(Q(),Nt());}(xi,function(_0x4c318b){var _0x4abaa1=_0x1a03;_0x4c318b[_0x4abaa1(0x362)][_0x4abaa1(0x400)]||function(_0x3488e3){var _0x805a6e=_0x4abaa1,_0x106368=_0x4c318b,_0x1e0dbd=_0x106368['lib'],_0x28469b=_0x1e0dbd['Base'],_0x5af35f=_0x1e0dbd[_0x805a6e(0x1a0)],_0x978aed=_0x1e0dbd[_0x805a6e(0x1d2)],_0x52034e=_0x106368[_0x805a6e(0x30e)];_0x52034e[_0x805a6e(0x23e)];var _0x19fd92=_0x52034e['Base64'],_0x5d854f=_0x106368['algo'],_0x27d3bc=_0x5d854f['EvpKDF'],_0x5e91ad=_0x1e0dbd['Cipher']=_0x978aed[_0x805a6e(0x19a)]({'cfg':_0x28469b[_0x805a6e(0x19a)](),'createEncryptor':function(_0x467596,_0x3afc38){var _0x2a4cf3=_0x805a6e;return this[_0x2a4cf3(0x3db)](this[_0x2a4cf3(0x2e2)],_0x467596,_0x3afc38);},'createDecryptor':function(_0x440ce0,_0x160c23){var _0x4ee940=_0x805a6e;return this[_0x4ee940(0x3db)](this['_DEC_XFORM_MODE'],_0x440ce0,_0x160c23);},'init':function(_0x593370,_0x255c09,_0x37524f){var _0x565074=_0x805a6e;this[_0x565074(0x3d8)]=this[_0x565074(0x3d8)][_0x565074(0x19a)](_0x37524f),this[_0x565074(0x3b3)]=_0x593370,this[_0x565074(0x31c)]=_0x255c09,this[_0x565074(0x3aa)]();},'reset':function(){var _0x3534bb=_0x805a6e;_0x978aed[_0x3534bb(0x3aa)][_0x3534bb(0x2eb)](this),this[_0x3534bb(0x2b5)]();},'process':function(_0x5c0c45){var _0x568608=_0x805a6e;return this['_append'](_0x5c0c45),this[_0x568608(0x389)]();},'finalize':function(_0x525457){var _0x45b719=_0x805a6e;_0x525457&&this['_append'](_0x525457);var _0x5131ce=this[_0x45b719(0x1d0)]();return _0x5131ce;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b69af(_0x1c089b){return typeof _0x1c089b=='string'?_0x2177ca:_0x14c2e0;}return function(_0x55d847){return{'encrypt':function(_0x25cac2,_0x7e64de,_0x4ad634){var _0x30b121=_0x1a03;return _0x4b69af(_0x7e64de)[_0x30b121(0x443)](_0x55d847,_0x25cac2,_0x7e64de,_0x4ad634);},'decrypt':function(_0x13d076,_0x564087,_0x2395db){var _0x27a534=_0x1a03;return _0x4b69af(_0x564087)[_0x27a534(0x234)](_0x55d847,_0x13d076,_0x564087,_0x2395db);}};};}())});_0x1e0dbd[_0x805a6e(0x2f1)]=_0x5e91ad['extend']({'_doFinalize':function(){var _0x36b428=_0x805a6e,_0x42c4f6=this[_0x36b428(0x389)](!0x0);return _0x42c4f6;},'blockSize':0x1});var _0x2dc3a2=_0x106368['mode']={},_0x382e2b=_0x1e0dbd[_0x805a6e(0x4fb)]=_0x28469b['extend']({'createEncryptor':function(_0x5f20ea,_0x495cbb){var _0x53412f=_0x805a6e;return this['Encryptor'][_0x53412f(0x3db)](_0x5f20ea,_0x495cbb);},'createDecryptor':function(_0x4ffffe,_0xb62ab5){return this['Decryptor']['create'](_0x4ffffe,_0xb62ab5);},'init':function(_0x4d5c04,_0x3981be){var _0x4ca7fe=_0x805a6e;this[_0x4ca7fe(0x3c3)]=_0x4d5c04,this[_0x4ca7fe(0x1b5)]=_0x3981be;}}),_0x5e5a03=_0x2dc3a2[_0x805a6e(0x1f4)]=(function(){var _0x20b449=_0x805a6e,_0x536caf=_0x382e2b[_0x20b449(0x19a)]();_0x536caf[_0x20b449(0x4ad)]=_0x536caf[_0x20b449(0x19a)]({'processBlock':function(_0x42b4b4,_0xec0f1f){var _0x1acd88=_0x20b449,_0x57cb0b=this[_0x1acd88(0x3c3)],_0x355c81=_0x57cb0b[_0x1acd88(0x4f0)];_0x37696c[_0x1acd88(0x2eb)](this,_0x42b4b4,_0xec0f1f,_0x355c81),_0x57cb0b[_0x1acd88(0x486)](_0x42b4b4,_0xec0f1f),this[_0x1acd88(0x2ad)]=_0x42b4b4[_0x1acd88(0x30f)](_0xec0f1f,_0xec0f1f+_0x355c81);}}),_0x536caf[_0x20b449(0x29b)]=_0x536caf[_0x20b449(0x19a)]({'processBlock':function(_0x1a9329,_0x5e2db4){var _0xcc5ef2=_0x20b449,_0x17f924=this['_cipher'],_0x2c15d7=_0x17f924[_0xcc5ef2(0x4f0)],_0x2277f1=_0x1a9329[_0xcc5ef2(0x30f)](_0x5e2db4,_0x5e2db4+_0x2c15d7);_0x17f924['decryptBlock'](_0x1a9329,_0x5e2db4),_0x37696c[_0xcc5ef2(0x2eb)](this,_0x1a9329,_0x5e2db4,_0x2c15d7),this['_prevBlock']=_0x2277f1;}});function _0x37696c(_0x3c71b3,_0x8b7329,_0x2636e0){var _0x318dcb=_0x20b449,_0x4c1339,_0x8e0298=this[_0x318dcb(0x1b5)];_0x8e0298?(_0x4c1339=_0x8e0298,this['_iv']=_0x3488e3):_0x4c1339=this[_0x318dcb(0x2ad)];for(var _0x4c0b4d=0x0;_0x4c0b4d<_0x2636e0;_0x4c0b4d++)_0x3c71b3[_0x8b7329+_0x4c0b4d]^=_0x4c1339[_0x4c0b4d];}return _0x536caf;}()),_0x45aeba=_0x106368[_0x805a6e(0x41d)]={},_0x448862=_0x45aeba['Pkcs7']={'pad':function(_0x4dfaf0,_0x2cd7a8){var _0x50f49f=_0x805a6e;for(var _0x270f68=_0x2cd7a8*0x4,_0x1065a0=_0x270f68-_0x4dfaf0[_0x50f49f(0x27f)]%_0x270f68,_0x54c594=_0x1065a0<<0x18|_0x1065a0<<0x10|_0x1065a0<<0x8|_0x1065a0,_0x26a3fc=[],_0x18da31=0x0;_0x18da31<_0x1065a0;_0x18da31+=0x4)_0x26a3fc[_0x50f49f(0x4af)](_0x54c594);var _0x3f8947=_0x5af35f['create'](_0x26a3fc,_0x1065a0);_0x4dfaf0[_0x50f49f(0x406)](_0x3f8947);},'unpad':function(_0x4234f5){var _0x21c550=_0x805a6e,_0x1c7f5c=_0x4234f5[_0x21c550(0x373)][_0x4234f5['sigBytes']-0x1>>>0x2]&0xff;_0x4234f5[_0x21c550(0x27f)]-=_0x1c7f5c;}};_0x1e0dbd[_0x805a6e(0x253)]=_0x5e91ad[_0x805a6e(0x19a)]({'cfg':_0x5e91ad[_0x805a6e(0x3d8)][_0x805a6e(0x19a)]({'mode':_0x5e5a03,'padding':_0x448862}),'reset':function(){var _0x49ac2b=_0x805a6e,_0x188397;_0x5e91ad[_0x49ac2b(0x3aa)][_0x49ac2b(0x2eb)](this);var _0x49c9ee=this['cfg'],_0x195c09=_0x49c9ee['iv'],_0x1bab6a=_0x49c9ee[_0x49ac2b(0x4eb)];this['_xformMode']==this[_0x49ac2b(0x2e2)]?_0x188397=_0x1bab6a[_0x49ac2b(0x2a0)]:(_0x188397=_0x1bab6a[_0x49ac2b(0x4d5)],this[_0x49ac2b(0x1ec)]=0x1),this[_0x49ac2b(0x21a)]&&this[_0x49ac2b(0x21a)][_0x49ac2b(0x48c)]==_0x188397?this[_0x49ac2b(0x21a)][_0x49ac2b(0x412)](this,_0x195c09&&_0x195c09['words']):(this['_mode']=_0x188397[_0x49ac2b(0x2eb)](_0x1bab6a,this,_0x195c09&&_0x195c09[_0x49ac2b(0x373)]),this['_mode']['__creator']=_0x188397);},'_doProcessBlock':function(_0x5edb5d,_0x12c0f2){var _0x469f8e=_0x805a6e;this[_0x469f8e(0x21a)]['processBlock'](_0x5edb5d,_0x12c0f2);},'_doFinalize':function(){var _0x4d245e=_0x805a6e,_0x10acbf,_0x129227=this['cfg'][_0x4d245e(0x317)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x129227[_0x4d245e(0x41d)](this[_0x4d245e(0x2d4)],this['blockSize']),_0x10acbf=this[_0x4d245e(0x389)](!0x0)):(_0x10acbf=this[_0x4d245e(0x389)](!0x0),_0x129227['unpad'](_0x10acbf)),_0x10acbf;},'blockSize':0x80/0x20});var _0xb8dd3f=_0x1e0dbd['CipherParams']=_0x28469b[_0x805a6e(0x19a)]({'init':function(_0x324983){var _0x196755=_0x805a6e;this[_0x196755(0x20a)](_0x324983);},'toString':function(_0x46de25){var _0x2456a4=_0x805a6e;return(_0x46de25||this[_0x2456a4(0x430)])[_0x2456a4(0x276)](this);}}),_0x5dba9c=_0x106368[_0x805a6e(0x407)]={},_0x118c1f=_0x5dba9c[_0x805a6e(0x35d)]={'stringify':function(_0x36d8ca){var _0x177533=_0x805a6e,_0x40805e,_0x550e33=_0x36d8ca[_0x177533(0x1a5)],_0x1cec4d=_0x36d8ca[_0x177533(0x1f8)];return _0x1cec4d?_0x40805e=_0x5af35f['create']([0x53616c74,0x65645f5f])[_0x177533(0x406)](_0x1cec4d)[_0x177533(0x406)](_0x550e33):_0x40805e=_0x550e33,_0x40805e[_0x177533(0x185)](_0x19fd92);},'parse':function(_0x2d1fe7){var _0x3b0ae7=_0x805a6e,_0x3a55b2,_0x29cf83=_0x19fd92[_0x3b0ae7(0x1b3)](_0x2d1fe7),_0x3b4bcb=_0x29cf83[_0x3b0ae7(0x373)];return _0x3b4bcb[0x0]==0x53616c74&&_0x3b4bcb[0x1]==0x65645f5f&&(_0x3a55b2=_0x5af35f[_0x3b0ae7(0x3db)](_0x3b4bcb['slice'](0x2,0x4)),_0x3b4bcb[_0x3b0ae7(0x186)](0x0,0x4),_0x29cf83[_0x3b0ae7(0x27f)]-=0x10),_0xb8dd3f[_0x3b0ae7(0x3db)]({'ciphertext':_0x29cf83,'salt':_0x3a55b2});}},_0x14c2e0=_0x1e0dbd[_0x805a6e(0x2f6)]=_0x28469b[_0x805a6e(0x19a)]({'cfg':_0x28469b[_0x805a6e(0x19a)]({'format':_0x118c1f}),'encrypt':function(_0x412f1f,_0x1757a5,_0x118439,_0x50ef53){var _0x386c02=_0x805a6e;_0x50ef53=this[_0x386c02(0x3d8)][_0x386c02(0x19a)](_0x50ef53);var _0xfa7b19=_0x412f1f[_0x386c02(0x2a0)](_0x118439,_0x50ef53),_0x1e0491=_0xfa7b19['finalize'](_0x1757a5),_0x3b4c2a=_0xfa7b19[_0x386c02(0x3d8)];return _0xb8dd3f[_0x386c02(0x3db)]({'ciphertext':_0x1e0491,'key':_0x118439,'iv':_0x3b4c2a['iv'],'algorithm':_0x412f1f,'mode':_0x3b4c2a[_0x386c02(0x4eb)],'padding':_0x3b4c2a[_0x386c02(0x317)],'blockSize':_0x412f1f[_0x386c02(0x4f0)],'formatter':_0x50ef53[_0x386c02(0x407)]});},'decrypt':function(_0x4ca3a4,_0x13696a,_0x216225,_0x5aba06){var _0x411e83=_0x805a6e;_0x5aba06=this[_0x411e83(0x3d8)][_0x411e83(0x19a)](_0x5aba06),_0x13696a=this[_0x411e83(0x381)](_0x13696a,_0x5aba06[_0x411e83(0x407)]);var _0x201328=_0x4ca3a4[_0x411e83(0x4d5)](_0x216225,_0x5aba06)[_0x411e83(0x228)](_0x13696a[_0x411e83(0x1a5)]);return _0x201328;},'_parse':function(_0x1728ac,_0x60ab2f){return typeof _0x1728ac=='string'?_0x60ab2f['parse'](_0x1728ac,this):_0x1728ac;}}),_0x5a8ce8=_0x106368[_0x805a6e(0x1ca)]={},_0x99d595=_0x5a8ce8['OpenSSL']={'execute':function(_0x3ab64f,_0x7c98e5,_0x32a2e0,_0x100a2c,_0x2a5076){var _0x4fb167=_0x805a6e;if(_0x100a2c||(_0x100a2c=_0x5af35f[_0x4fb167(0x481)](0x40/0x8)),_0x2a5076)var _0x407321=_0x27d3bc['create']({'keySize':_0x7c98e5+_0x32a2e0,'hasher':_0x2a5076})['compute'](_0x3ab64f,_0x100a2c);else var _0x407321=_0x27d3bc[_0x4fb167(0x3db)]({'keySize':_0x7c98e5+_0x32a2e0})['compute'](_0x3ab64f,_0x100a2c);var _0x31fd5d=_0x5af35f[_0x4fb167(0x3db)](_0x407321['words'][_0x4fb167(0x30f)](_0x7c98e5),_0x32a2e0*0x4);return _0x407321[_0x4fb167(0x27f)]=_0x7c98e5*0x4,_0xb8dd3f[_0x4fb167(0x3db)]({'key':_0x407321,'iv':_0x31fd5d,'salt':_0x100a2c});}},_0x2177ca=_0x1e0dbd[_0x805a6e(0x266)]=_0x14c2e0[_0x805a6e(0x19a)]({'cfg':_0x14c2e0['cfg'][_0x805a6e(0x19a)]({'kdf':_0x99d595}),'encrypt':function(_0xd19a2a,_0x478f82,_0x4fc744,_0x349fd8){var _0x1ea94a=_0x805a6e;_0x349fd8=this['cfg']['extend'](_0x349fd8);var _0x1d4b3e=_0x349fd8[_0x1ea94a(0x1ca)][_0x1ea94a(0x385)](_0x4fc744,_0xd19a2a[_0x1ea94a(0x1f5)],_0xd19a2a[_0x1ea94a(0x47d)],_0x349fd8['salt'],_0x349fd8[_0x1ea94a(0x21b)]);_0x349fd8['iv']=_0x1d4b3e['iv'];var _0x1feb6a=_0x14c2e0[_0x1ea94a(0x443)]['call'](this,_0xd19a2a,_0x478f82,_0x1d4b3e['key'],_0x349fd8);return _0x1feb6a[_0x1ea94a(0x20a)](_0x1d4b3e),_0x1feb6a;},'decrypt':function(_0x4256a7,_0x4fece1,_0x82c273,_0x2c1aaa){var _0x153c8e=_0x805a6e;_0x2c1aaa=this[_0x153c8e(0x3d8)][_0x153c8e(0x19a)](_0x2c1aaa),_0x4fece1=this['_parse'](_0x4fece1,_0x2c1aaa[_0x153c8e(0x407)]);var _0xae8221=_0x2c1aaa[_0x153c8e(0x1ca)]['execute'](_0x82c273,_0x4256a7[_0x153c8e(0x1f5)],_0x4256a7[_0x153c8e(0x47d)],_0x4fece1['salt'],_0x2c1aaa['hasher']);_0x2c1aaa['iv']=_0xae8221['iv'];var _0x59f7d7=_0x14c2e0['decrypt']['call'](this,_0x4256a7,_0x4fece1,_0xae8221['key'],_0x2c1aaa);return _0x59f7d7;}});}();}));}(Te)),Te[_0x11de39(0x374)];}var ki=fe['exports'],it;function Hi(){var _0x1bd8c2=_0x154c14;return it||(it=0x1,function(_0x1b0747,_0x28a3bf){(function(_0x1aebf5,_0x1299db,_0x2bd983){var _0x488bd2=_0x1a03;_0x1b0747[_0x488bd2(0x374)]=_0x1299db(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x135d8e){var _0x37c789=_0x1a03;return(function(){var _0x4d82db=_0x1a03,_0x574b57=_0x135d8e,_0x4ef114=_0x574b57[_0x4d82db(0x362)],_0x14b7ae=_0x4ef114[_0x4d82db(0x253)],_0x29400f=_0x574b57[_0x4d82db(0x460)],_0x3c126e=[],_0x4945f6=[],_0x52e3c9=[],_0x5a115e=[],_0x1a1d45=[],_0x405d24=[],_0xc5c82d=[],_0x4fddcb=[],_0x5a0461=[],_0x2267a7=[];(function(){for(var _0x5eee04=[],_0x1a8e4f=0x0;_0x1a8e4f<0x100;_0x1a8e4f++)_0x1a8e4f<0x80?_0x5eee04[_0x1a8e4f]=_0x1a8e4f<<0x1:_0x5eee04[_0x1a8e4f]=_0x1a8e4f<<0x1^0x11b;for(var _0x2183cf=0x0,_0x36b215=0x0,_0x1a8e4f=0x0;_0x1a8e4f<0x100;_0x1a8e4f++){var _0x1c7557=_0x36b215^_0x36b215<<0x1^_0x36b215<<0x2^_0x36b215<<0x3^_0x36b215<<0x4;_0x1c7557=_0x1c7557>>>0x8^_0x1c7557&0xff^0x63,_0x3c126e[_0x2183cf]=_0x1c7557,_0x4945f6[_0x1c7557]=_0x2183cf;var _0x237e8a=_0x5eee04[_0x2183cf],_0x7a1e00=_0x5eee04[_0x237e8a],_0x2f558b=_0x5eee04[_0x7a1e00],_0x246c25=_0x5eee04[_0x1c7557]*0x101^_0x1c7557*0x1010100;_0x52e3c9[_0x2183cf]=_0x246c25<<0x18|_0x246c25>>>0x8,_0x5a115e[_0x2183cf]=_0x246c25<<0x10|_0x246c25>>>0x10,_0x1a1d45[_0x2183cf]=_0x246c25<<0x8|_0x246c25>>>0x18,_0x405d24[_0x2183cf]=_0x246c25;var _0x246c25=_0x2f558b*0x1010101^_0x7a1e00*0x10001^_0x237e8a*0x101^_0x2183cf*0x1010100;_0xc5c82d[_0x1c7557]=_0x246c25<<0x18|_0x246c25>>>0x8,_0x4fddcb[_0x1c7557]=_0x246c25<<0x10|_0x246c25>>>0x10,_0x5a0461[_0x1c7557]=_0x246c25<<0x8|_0x246c25>>>0x18,_0x2267a7[_0x1c7557]=_0x246c25,_0x2183cf?(_0x2183cf=_0x237e8a^_0x5eee04[_0x5eee04[_0x5eee04[_0x2f558b^_0x237e8a]]],_0x36b215^=_0x5eee04[_0x5eee04[_0x36b215]]):_0x2183cf=_0x36b215=0x1;}}());var _0x4d2825=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x152413=_0x29400f[_0x4d82db(0x344)]=_0x14b7ae[_0x4d82db(0x19a)]({'_doReset':function(){var _0x2ff49d=_0x4d82db,_0x2ee430;if(!(this[_0x2ff49d(0x180)]&&this['_keyPriorReset']===this['_key'])){for(var _0x210894=this['_keyPriorReset']=this[_0x2ff49d(0x31c)],_0x34b58b=_0x210894[_0x2ff49d(0x373)],_0x5132ef=_0x210894[_0x2ff49d(0x27f)]/0x4,_0x32c637=this[_0x2ff49d(0x180)]=_0x5132ef+0x6,_0x646dce=(_0x32c637+0x1)*0x4,_0x2da200=this[_0x2ff49d(0x331)]=[],_0x2e3b21=0x0;_0x2e3b21<_0x646dce;_0x2e3b21++)_0x2e3b21<_0x5132ef?_0x2da200[_0x2e3b21]=_0x34b58b[_0x2e3b21]:(_0x2ee430=_0x2da200[_0x2e3b21-0x1],_0x2e3b21%_0x5132ef?_0x5132ef>0x6&&_0x2e3b21%_0x5132ef==0x4&&(_0x2ee430=_0x3c126e[_0x2ee430>>>0x18]<<0x18|_0x3c126e[_0x2ee430>>>0x10&0xff]<<0x10|_0x3c126e[_0x2ee430>>>0x8&0xff]<<0x8|_0x3c126e[_0x2ee430&0xff]):(_0x2ee430=_0x2ee430<<0x8|_0x2ee430>>>0x18,_0x2ee430=_0x3c126e[_0x2ee430>>>0x18]<<0x18|_0x3c126e[_0x2ee430>>>0x10&0xff]<<0x10|_0x3c126e[_0x2ee430>>>0x8&0xff]<<0x8|_0x3c126e[_0x2ee430&0xff],_0x2ee430^=_0x4d2825[_0x2e3b21/_0x5132ef|0x0]<<0x18),_0x2da200[_0x2e3b21]=_0x2da200[_0x2e3b21-_0x5132ef]^_0x2ee430);for(var _0x3ec2c6=this[_0x2ff49d(0x375)]=[],_0x4e4114=0x0;_0x4e4114<_0x646dce;_0x4e4114++){var _0x2e3b21=_0x646dce-_0x4e4114;if(_0x4e4114%0x4)var _0x2ee430=_0x2da200[_0x2e3b21];else var _0x2ee430=_0x2da200[_0x2e3b21-0x4];_0x4e4114<0x4||_0x2e3b21<=0x4?_0x3ec2c6[_0x4e4114]=_0x2ee430:_0x3ec2c6[_0x4e4114]=_0xc5c82d[_0x3c126e[_0x2ee430>>>0x18]]^_0x4fddcb[_0x3c126e[_0x2ee430>>>0x10&0xff]]^_0x5a0461[_0x3c126e[_0x2ee430>>>0x8&0xff]]^_0x2267a7[_0x3c126e[_0x2ee430&0xff]];}}},'encryptBlock':function(_0x3a68ea,_0x20e384){var _0xcac90e=_0x4d82db;this['_doCryptBlock'](_0x3a68ea,_0x20e384,this[_0xcac90e(0x331)],_0x52e3c9,_0x5a115e,_0x1a1d45,_0x405d24,_0x3c126e);},'decryptBlock':function(_0x4a35a7,_0x5d5a20){var _0xc89a05=_0x4d82db,_0x116384=_0x4a35a7[_0x5d5a20+0x1];_0x4a35a7[_0x5d5a20+0x1]=_0x4a35a7[_0x5d5a20+0x3],_0x4a35a7[_0x5d5a20+0x3]=_0x116384,this[_0xc89a05(0x4df)](_0x4a35a7,_0x5d5a20,this['_invKeySchedule'],_0xc5c82d,_0x4fddcb,_0x5a0461,_0x2267a7,_0x4945f6);var _0x116384=_0x4a35a7[_0x5d5a20+0x1];_0x4a35a7[_0x5d5a20+0x1]=_0x4a35a7[_0x5d5a20+0x3],_0x4a35a7[_0x5d5a20+0x3]=_0x116384;},'_doCryptBlock':function(_0x2903cd,_0x30fe27,_0xb71110,_0x20e12a,_0x3b0a09,_0x2979cb,_0x2ed6aa,_0x398366){var _0x5b3400=_0x4d82db;for(var _0x5695b0=this[_0x5b3400(0x180)],_0x35a26c=_0x2903cd[_0x30fe27]^_0xb71110[0x0],_0x49bc3d=_0x2903cd[_0x30fe27+0x1]^_0xb71110[0x1],_0x3747b8=_0x2903cd[_0x30fe27+0x2]^_0xb71110[0x2],_0x36b5d7=_0x2903cd[_0x30fe27+0x3]^_0xb71110[0x3],_0x169d2c=0x4,_0x450ae9=0x1;_0x450ae9<_0x5695b0;_0x450ae9++){var _0x4f8824=_0x20e12a[_0x35a26c>>>0x18]^_0x3b0a09[_0x49bc3d>>>0x10&0xff]^_0x2979cb[_0x3747b8>>>0x8&0xff]^_0x2ed6aa[_0x36b5d7&0xff]^_0xb71110[_0x169d2c++],_0x43fae7=_0x20e12a[_0x49bc3d>>>0x18]^_0x3b0a09[_0x3747b8>>>0x10&0xff]^_0x2979cb[_0x36b5d7>>>0x8&0xff]^_0x2ed6aa[_0x35a26c&0xff]^_0xb71110[_0x169d2c++],_0x30670b=_0x20e12a[_0x3747b8>>>0x18]^_0x3b0a09[_0x36b5d7>>>0x10&0xff]^_0x2979cb[_0x35a26c>>>0x8&0xff]^_0x2ed6aa[_0x49bc3d&0xff]^_0xb71110[_0x169d2c++],_0x10a7f0=_0x20e12a[_0x36b5d7>>>0x18]^_0x3b0a09[_0x35a26c>>>0x10&0xff]^_0x2979cb[_0x49bc3d>>>0x8&0xff]^_0x2ed6aa[_0x3747b8&0xff]^_0xb71110[_0x169d2c++];_0x35a26c=_0x4f8824,_0x49bc3d=_0x43fae7,_0x3747b8=_0x30670b,_0x36b5d7=_0x10a7f0;}var _0x4f8824=(_0x398366[_0x35a26c>>>0x18]<<0x18|_0x398366[_0x49bc3d>>>0x10&0xff]<<0x10|_0x398366[_0x3747b8>>>0x8&0xff]<<0x8|_0x398366[_0x36b5d7&0xff])^_0xb71110[_0x169d2c++],_0x43fae7=(_0x398366[_0x49bc3d>>>0x18]<<0x18|_0x398366[_0x3747b8>>>0x10&0xff]<<0x10|_0x398366[_0x36b5d7>>>0x8&0xff]<<0x8|_0x398366[_0x35a26c&0xff])^_0xb71110[_0x169d2c++],_0x30670b=(_0x398366[_0x3747b8>>>0x18]<<0x18|_0x398366[_0x36b5d7>>>0x10&0xff]<<0x10|_0x398366[_0x35a26c>>>0x8&0xff]<<0x8|_0x398366[_0x49bc3d&0xff])^_0xb71110[_0x169d2c++],_0x10a7f0=(_0x398366[_0x36b5d7>>>0x18]<<0x18|_0x398366[_0x35a26c>>>0x10&0xff]<<0x10|_0x398366[_0x49bc3d>>>0x8&0xff]<<0x8|_0x398366[_0x3747b8&0xff])^_0xb71110[_0x169d2c++];_0x2903cd[_0x30fe27]=_0x4f8824,_0x2903cd[_0x30fe27+0x1]=_0x43fae7,_0x2903cd[_0x30fe27+0x2]=_0x30670b,_0x2903cd[_0x30fe27+0x3]=_0x10a7f0;},'keySize':0x100/0x20});_0x574b57[_0x4d82db(0x344)]=_0x14b7ae['_createHelper'](_0x152413);}()),_0x135d8e[_0x37c789(0x344)];}));}(fe)),fe[_0x1bd8c2(0x374)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x154c14(0x374)],rt;function Vi(){return rt||(rt=0x1,function(_0x9ca9ff,_0x596c34){(function(_0x274932,_0x4ec770){var _0x459774=_0x1a03;_0x9ca9ff[_0x459774(0x374)]=_0x4ec770(Q());}(Fi,function(_0x5ed76d){var _0x4ed816=_0x1a03;return _0x5ed76d[_0x4ed816(0x30e)]['Utf8'];}));}(be)),be['exports'];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x154c14(0x374)],st;function Yi(){var _0x52428d=_0x154c14;return st||(st=0x1,function(_0x300212,_0xf60773){(function(_0x2411e0,_0x58c9c5){var _0x3b2f7b=_0x1a03;_0x300212[_0x3b2f7b(0x374)]=_0x58c9c5(Q());}(Ki,function(_0x53de1c){var _0x31d3f3=_0x1a03;return(function(){var _0x2d522c=_0x1a03;if(typeof ArrayBuffer==_0x2d522c(0x4a0)){var _0x3e989f=_0x53de1c,_0x31c724=_0x3e989f['lib'],_0x391b7e=_0x31c724[_0x2d522c(0x1a0)],_0x331b95=_0x391b7e[_0x2d522c(0x412)],_0x397554=_0x391b7e[_0x2d522c(0x412)]=function(_0xbbae8){var _0x180f35=_0x2d522c;if(_0xbbae8 instanceof ArrayBuffer&&(_0xbbae8=new Uint8Array(_0xbbae8)),(_0xbbae8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xbbae8 instanceof Uint8ClampedArray||_0xbbae8 instanceof Int16Array||_0xbbae8 instanceof Uint16Array||_0xbbae8 instanceof Int32Array||_0xbbae8 instanceof Uint32Array||_0xbbae8 instanceof Float32Array||_0xbbae8 instanceof Float64Array)&&(_0xbbae8=new Uint8Array(_0xbbae8['buffer'],_0xbbae8[_0x180f35(0x31e)],_0xbbae8['byteLength'])),_0xbbae8 instanceof Uint8Array){for(var _0x536f98=_0xbbae8[_0x180f35(0x4dc)],_0x500872=[],_0x1d4eeb=0x0;_0x1d4eeb<_0x536f98;_0x1d4eeb++)_0x500872[_0x1d4eeb>>>0x2]|=_0xbbae8[_0x1d4eeb]<<0x18-_0x1d4eeb%0x4*0x8;_0x331b95[_0x180f35(0x2eb)](this,_0x500872,_0x536f98);}else _0x331b95[_0x180f35(0x341)](this,arguments);};_0x397554[_0x2d522c(0x4c4)]=_0x391b7e;}}()),_0x53de1c[_0x31d3f3(0x362)][_0x31d3f3(0x1a0)];}));}(Re)),Re[_0x52428d(0x374)];}var qi=Yi();function _0x2d8a(){var _0x1d1b89=['compute','objectActions','_doCreateSocket','fetchMiss','/universer-api/file/{fileID}/sign-url','SessionStatus','words','exports','_invKeySchedule','496GIpRFD','UniverInstanceType','UNIVER_SHEET','saveImage','AwaitingState','transformMutationsWithChangeset','_transformStateCache','_handler','pipe','loginUrlKey','LICENSE_IMPORT_SIZE_EXCEEDED','_parse','_getSignURL','_clearScheduledTask','/-/object/-/batch_allowed','execute','COMPRESS_MUTATION_APPLY','/universer-api/uniscript','_reverseMap','_process','ILocalCacheService','ONLINE','UNRECOGNIZED','now','[CollaborationSessionService]','DocCollaborationEntity','COLLAB_SUBMIT_CHANGESET_URL','confirm','/role','CONFLICT','PendingState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','forEach','update','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_tryReconnect','@univerjs-pro/collaboration','parseProtocolChangeset','HEARTBEAT_TIMEOUT','_initCloseConn','SEND_CHANGESET_TIMEOUT_KEY','_updateStatus','_clearHeartbeatTimer','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot/','&source=','USER_NOT_INVITED_CODE','has','CollaborationUIEventService','_socketReady','startTime','socket\x20close','reset','getValue','_startTelemetryCollaborationNewChangeset','CHANGESET_REJ','getSheetBlock','_updateState','incrementRevOfUnit','LIVESHARE_NEW_HOST','append','_xformMode','getRoom','LIVESHARE_FETCH_OPERATIONS','HttpExport','state','submit\x20changeset\x20error!','_acknowledgedAwaitingChangeset','Workbook','editing\x20status\x20changed\x20to','_entityInit$','textRanges','_stopTelemetryCollaborationNewChangeset','randomBytes','univer-pro.collaboration-client.single-active-unit-service','executeCommand','substr','_cipher','c2Prime','HMAC','_transitionLocked','session.room-permission-denied','SEND_CHANGESET_TIMEOUT','send','LocaleService','/new_changes','LEAVE','saveChangeset','FAIL','delete','objectID','duration','_sessionStatus$','_resendTimer','YUUMI_AI_RUN_FAILED','onTransformSelections','updateOfflineData','Base64','cfg','SNAPSHOT_INVALID_SNAPSHOT','collabWebSocketUrl','create','symbol','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SheetsSelectionsService','authzUrl','_localCacheService','pauseCollaboration','SheetTransformSelectionsService','charCodeAt','_isPermissionRej','_schedule','setWaitCount','_sessions','onTransformState','/object/','FileId','PERMISSION_DENIED','NOT_COLLAB','_resendTimeout','UPDATE_CURSOR','_getLoginPath','onCommandExecuted','[PendingState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetFailure','@univerjs/drawing','NoPadding','map','uploadFileServerUrl','addHandlerCallback','OTHER_CLIENT_EDITING','isTransformChangesetsSuccess','onTransformRemoteChangesetByStateCache','repeat','sid','/block/','fetch_missing','[SyncedState]:\x20received\x20rejection.','Cipher','debug','3KDPahv','cmd','putCollaborators','GLOBAL_ROOMS_CNT_EXCEEDS','concat','format','LOGIN_URL_KEY','@univerjs/docs','getCollabEntity$','_initRequestHeader','findIndex','_showConflictNotification','&to=','_collaborationPaused','_incrementRevisionNumber','_initMergeInterceptor','init','JOIN_ROOM_NOT_EXISTS','_disableEditing','action','asObservable','memberID','_createSocket','/universer-api/user/session-ticket','isTransformMutationsWithChangesetSuccess','_members$','status$','pad','subUnitId','encode','_oKey','ReplaySubject','_localeService','UNKNOWN_CODE','[CollaborationSession]','state$','charAt','setCurrentUser','_commandService','getRandomValues','OTHER_CLIENTS_EDITING','[PendingState]:\x20received\x20rejection.','_clearCollaborationTimeoutTimer','_injector','shouldCloseConn','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','formatter','DEFAULT_WS_SESSION_TICKET_URL','toDisposable','Hasher','SNAPSHOT_SERVER_URL_KEY','_onRemoteACK','SOCKET_FAILED','post','_clearUndo','_startCollaboration','collaborators','rxjs/operators','updateCollaborator','focused$','_roomCreated$','ISocketService','Undefined','onlyLocal','m2Prime','encrypt','_append','IAuthzIoService','_initUnitPermissionChange','DisposableCollection','_waitCount','_onMessage','onMissedChangesetFetched','_onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[DataLoaderService]','_snapshotService','_hasher','_createInitialState','registerHTTPInterceptor','message$','localeService','length','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','downloadEndpointUrl','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UniverNetworkPlugin','session','INVITE_CODE_HAS_BEEN_UES','params','InsertSheetMutation','clamp','onRemoteRej','algo','UNDEFINED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','onLocalMutation','UNIVER_PROJECT','_replaceFileID','_lockTransition','CHANGESET_ACK','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Base','_sheetTransformSelectionsService','Hex','Optional','UNIVER_UNKNOWN','getFocusedUnit','from','csAckEvent','_eventService','__esModule','stopTime','routeKey','readAsDataURL','_substituteRedoStack','COMMENT_UPDATE','30852UjCLna','UNIVER_COLLABORATION_CLIENT_PLUGIN','interceptor','ivSize','_onConnectionOpen','snapshot','resourceIDs','random','APPLY_NON_SEQUENTIAL_REVISION','Quantity','getUnitType','JSONX','encryptBlock','connection\x20error','rev','_onConflict','_getUploadFileURL','CollaborationEvent','__creator','target','HEARTBEAT_INTERVAL_KEY','location','getCurrentRevOfUnit','dispose$','Disposable','type','[CollaborationUndoRedoService]','AUTHZ_URL_KEY','_commentUpdate$','HEARTBEAT_TIMEOUT_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','listCollaborators','UNIVER_DOC','mergeOverrideWithDependencies','ERROR_IMAGE_TYPE','body','/universer-api/snapshot','allowed','function','code','onSendChangeset','INVALID_INVITE_CODE','_tryEnsureSocket','COMPRESS_MUTATION_SEND','fetchMissingChangesets','string','image/jpg','CommentService','_imageSourceCache','unsubscribe','_sendingTimer','Encryptor','find','push','_initDependencies','conflict','OPTIONAL','collabSubmitChangesetUrl','_removeRoom','unitID','fetchThroughInterceptors','HTTPService','userID','JOINING','ICommandService','title','changesets','change$','equals','PY_RUNTIME_SCRIPT_ERROR','CommandType','data','PERSON','_onLocalMutation','prototype','_changesetReqId','CollaborationEntity','getCollabEntity','_clearLocalCache','_socket$','\x0aAfter:\x20','then','\x20-\x20','FETCH_MISSING','RevisionService','_undoRedoService','YUUMI_RATE_OVER_LIMIT','COLLAB_SUBMIT_CHANGESET_URL_KEY','status','registerDependencies','INVALID_ARGUMENT','createDecryptor','ENSURE_SNAPSHOT_EXECUTION','textEncoder','_createHelper','getTypeOfUnitAdded$','enableOfflineEditing','getConfig','byteLength','DataLoaderService','ISnapshotServerService','_doCryptBlock','/fetchmissing?from=','next','touchDependencies','onSyncEditingCollabCursor','baseRev','_queuedRemoteChangesets','collaboration_new_changeset','reqId','YUUMI_NO_CUBOID_FOR_QUESTION','_shouldReportTelemetry','createIdentifier','mode','_memberService','withCredentials','clear','BASE64','blockSize','onStarting','deleteCollaborator','compose','reduce','editingUnit','result','_hash','revision','newCsEvent','_toggleOnline','BlockCipherMode','HEARTBEAT','_state','originalMeta','merge','_nRounds','max','ImageSourceType','EMAIL_HAS_BEEN_BOUND','500LxsRfJ','toString','splice','Univer','complete','[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.','indexOf','getCurrentSelections','set','values','error$','15586370TKepap','_createHandler','unitId','eventID','every','_snapshotServerService','hasOwnProperty','liveShareNewHost','auth.needGotoLoginAlert','RxDisposable','mapDocumentTypeToUniverType','extend','reverse','loadSheet','_joinRoom','image/gif','pending','WordArray','HttpImport','[OfflineState]:\x20received\x20changeset.','emitEvent','UNIVER_SLIDE','ciphertext','sendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','removeMember','PERMISSION_REJ','image/bmp','_onUserLeave','_toggleOffline','sessionStatus','unitInfo$','origin','disposeWithMe','_rescheduleHeartbeat','_collabSessionService','parse','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_iv','SHOULD_CLOSE_CONN','collaMsg','_telemetryInfo','CollaborationSocketService','/unit/','_registerDependencies','WorkbookEditablePermission','_updateLocalCache','OFFLINE','msCrypto','_univerInstanceService','put','updateSnapshot','UnitEmbedded','_getUndoStack','@univerjs/network','_getRedoStack','startsWith','ConflictState','$super','kdf','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getLocalCacheKey','_submitChangeset','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationSessionService','_doFinalize','1134ibPIvP','BufferedBlockAlgorithm','AuthzIoHttpService','Failed\x20to\x20update\x20permission\x20point','/collaborator','_socketService','onRemoteAck','UPDATE_PERMISSION_OBJ','x-univer-host','error','UserProfileImg','UNKNOWN_CMD','unitId\x20is\x20not\x20found','updatePermissionPoint','CollaborativeUndoRedoService','_commentService','range','YUUMI_SUBSCRIPTION_NOT_FOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ITransformService','/universer-api/stream/file/upload','_substituteUndoStack','Injector','_onOffline','session.room-cnt-exceeds','Latin1','setShowComponents','_minBufferSize','retryConnectingInterval','_retryConnectingTimer','/allowed','_HTTPService','localCacheService','_socket','DEFAULT_COLLAB_WEB_SOCKET_URL','CBC','keySize','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','salt','LOGIN_FAILED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getImageSourceCache','requestParams','filter','onCommentUpdate','RECV','BehaviorSubject','INVITE_CODE_ALREADY_BOUND','DEFAULT_FILE_NAME','People','JOIN_ROOM_FAILED','HELLO','HmacMD5','getSheetId','collaboration-client.config','Plugin','mixIn','_unlockTransition','_onConnectionFailed','selections','POST','_onRecvEvent','MUTATION','_decreaseWaiting','_entities','unknown','objectType','APPLY_DUPLICATED','?url=','ceil','[OfflineState]:\x20received\x20acknowledgement.','TOO_MANY_REQUESTS','_mode','hasher','_getSendChangesetTimeout','_unitID','Subject','getUnit','not_collab','@univerjs-pro/license','image/jpeg','@univerjs/telemetry','infoRsp','get','members$','socketService','finalize','sheets','IUniverInstanceService','onRemoteRetry','_map','ITelemetryService','_clearRetryConnectingTimer','_handlerCallback','toggleOffline','entityInit$','add','LICENSE_EXPORT_SIZE_EXCEEDED','decrypt','sessionStatus$','[UniverCollaborationClientPlugin]','IPermissionService','1677504FCFTSO','SNAPSHOT_URL_KEY','getGlobalObject','632712wURkaR','SetSelectionsOperation','_retryCount','Utf8','&assign=','actions','_userManagerService','resolve','name','CollaborationSession','MemberService','_replayCachedMutations','_scheduleCompleteTimestamp','Module','_permissionService','awaitingChangeset','\x20in\x20_schedule.','_checkMissing','/universer-api/comb','takeUntil','COLLAB_WEB_SOCKET_URL','clone','default','pluginName','BlockCipher','createSocket','offline','\x0aCurrent:\x20','11RYwxRY','USERS_LEAVE','_getAPIPrefixPath','_change$','Inject','_changesetSessionId','getTypeOfUnitDisposed$','getAllMembers','onRemoteChangeset','onTransformRemoteChangesetByIMECache','LIVESHARE_REQUEST_HOST','IMentionIOService','csShouldRetryEvent','_sendHeartbeat','776230oawuyE','PasswordBasedCipher','open$','refreshPermission','_type','createInstance','firstValueFrom','_socketMessageSubscription','ERROR_IMAGE','loadDoc','NEW_CHANGESETS','_networkConditionService','_onJoinRoomEvent','_compressMutationService','saveSheetBlock','take','saveSnapshot','stringify','EvpKDF','APPLY_REJECT','_resendWithTimeout','_scheduleCollaborationTimeoutTimer','_clearTimeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sigBytes','appendMutation','b64DecodeUnicode','_logService','crypto','HTTPRequest','UnitSnapshot','href','batchAllowed','CollaborationController','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborationSessionService','SHA1','getMemberID','_transformStack','LOCAL_CACHE_INTERVAL','serializeCombRequest','avatar','YUUMI_URL_COL_OUT_OF_RANGE','resend','UnitStatus','onMissingChangesets','fetching\x20missing\x20changesets\x20from\x20','encodeURIComponent','_onCombEvent','MOBILE_HAS_BEEN_BOUND','c1Prime','_candidateSocket','Decryptor','isPermissionRej','list','UNISCRIPT_RUN','_transformRemoteChangesetByStateCache','createEncryptor','_roomMembers','APPLY_REVISION_CONFILICT','MentionIoHttpService','_undoStacks','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','readInt32LE','\x20to\x20','fromCharCode','_config','addImageSourceCache','MD5','[FetchMissState]','_prevBlock','Tools','reject','SUBMIT_CHANGESET_TIMEOUT','_syncEditingCollabCursor','JOIN','delay','setConfig','_doReset','_httpService','SnapshotServerOverHTTPService','_clearRedo','patch','getMember','getOwnPropertyDescriptor','signUrlServerUrl','univer-pro.collaboration-client.network-condition.service','ICollaborationSocketService','_applyRemoteChangeset','_sendHeartbeatTimer','/-/object/list','join','_init','RichTextEditingMutation','NOT_FOUND','save\x20fail\x20reason\x20is\x20','getSnapshotAPIPath','getCurrentUser','session.join-failed','NO_OTHER_CLIENTS_EDITING','CompressMutationService','SheetCollaborationEntity','CLOSE_ROOM','_sender','objects','@univerjs/sheets','INGEST','getInterceptPoints','uniscriptRunEvent','_data','leaveEvent','_onUserJoin','USERS_ENTER','LICENSE_DISTRO_REJECTED','_status$','url','snapshotServerUrl','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SOCKET_FAILED_RETRY','getUnitId','_instanceService','responseType','YUUMI_ASYNCIO_CANCELLED','_ENC_XFORM_MODE','MSG_FOR_ERROR','FETCH_MISS','_telemetryService','copyFileMeta','SyncedState','/universer-api/authz','_getCurrentRevision','UniverCollaborationClientPlugin','call','1444245LqRZlR','EmptyMutation','_transformService','fromCollab','floor','StreamCipher','[CollaborationSessionService]:\x20socket\x20error','[CollaborationEntity]','onTransformIME','JOIN_ROOM_FULL','SerializableCipher','RETRY_CONNECTING_MAX_COUNT','loadUnitOfRevision','_onRemoteChangeset','PENDING','getTime','requireSession','?size=','LIVESHARE_OPERATION','src','YUUMI_UNABLE_LOAD_URL','uuidv4','abs','CHANGESET_REVISION_CONFILICT','PSEUDO_FETCH_MISSING_RESULT','_collaborationUIEventService','UUID','IConfigService','HmacSHA1','mutations','/rev/','shareReplay','isArray','transformChangesets','enc','slice','_onRemoteRejected','HEARTBEAT_INTERVAL','DependentOn','dispose','toggleOnline','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','padding','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_SHOULD_RETRY','SNAPSHOT_HAS_BEEN_REMOVED','toStringTag','_key','_onFetchMissResult','byteOffset','ImageUploadStatusType','_pendingMutations','_remoteChangesetQueue','_executeRemoteChangeset','headers','_transformUndoredo','closeSession','INetworkConditionService','_transformSelections','_singleActiveUnitService','OfflineState','onload','AWAITING','CollaborationImageIoService','_createHmacHelper','_event$','subject','_transformIMECache','_keySchedule','_throwTelemetryCollaborationNewChangeset','IDLE','_timeoutTimer','SUBMIT_CHANGESET','_getDownloadEndpointURL','_members','IUndoRedoService','isInternalEditorID','close$','[CollaborationState]:\x20apply\x20error!','_configService','catch','CONNECTOR_DATA_TOO_LARGE','_revisionService','IImageIoService','apply','size','_createInitialStateImpl','AES','capture','_awaitingChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','session.room-full','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_emitMembers','_listenToNetworkCondition','FetchingMissState','ALREADY_EXISTS','WECHAT_HAS_BEEN_BOUND','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','AwaitingWithPendingState','ERROR_EXCEED_SIZE','transformSelections','MentionType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','subscribe','transformStack\x20failed!','AWAITING_WITH_PENDING','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdateEvent','getUnitStatus$','SUCCUSS','OpenSSL','_nDataBytes','event$','close','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','lib','UniverCollaborationPlugin','getResourcesRequest','INVITE_CODE_REQUIRED','_waitForHeartbeatResponse','updateMember','session.room-not-exists','_getAPIPrefix','ILogService','_state$','COMPLETION_FINISHED'];_0x2d8a=function(){return _0x1d1b89;};return _0x2d8a();}const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0xf2e2fb=_0x154c14;return ot||(ot=0x1,function(_0x34696b,_0x351b80){(function(_0x46dce6,_0x4425e4,_0x1e4201){var _0x52862f=_0x1a03;_0x34696b[_0x52862f(0x374)]=_0x4425e4(Q(),Ut());}(Ji,function(_0x376157){var _0x5c48de=_0x1a03;return _0x376157['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x376157[_0x5c48de(0x41d)][_0x5c48de(0x3f4)];}));}(Oe)),Oe[_0xf2e2fb(0x374)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5e6d2b,_0x10c100){var _0x5c46b4=_0x154c14;const _0x2e0999=_0x10c100-_0x5e6d2b[_0x5c46b4(0x454)]%_0x10c100,_0x139e21=String[_0x5c46b4(0x2a8)](_0x2e0999)[_0x5c46b4(0x3fb)](_0x2e0999);return _0x5e6d2b+_0x139e21;}function tn(_0x1a3f88,_0x1c0635){var _0x4c1bfc=_0x154c14;const _0x1354c5=zi[_0x4c1bfc(0x481)](0x10),_0x3d2da5=en(_0x1a3f88,0x10),_0x3d0b03=ji[_0x4c1bfc(0x443)](Gi['parse'](_0x3d2da5),nt[_0x4c1bfc(0x1b3)](_0x1c0635),{'iv':_0x1354c5,'padding':Qi});return _0x1354c5['concat'](_0x3d0b03[_0x4c1bfc(0x1a5)])['toString'](nt);}function nn(){var _0x3fa640=_0x154c14;const _0x54d042=wt[_0x3fa640(0x23a)]()['__Key__'];if(_0x54d042){const _0x28bfa2={'time':Math[_0x3fa640(0x2f0)](Date[_0x3fa640(0x38d)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x3fa640(0x276)](_0x28bfa2),_0x54d042);}}var rn=Object[_0x154c14(0x2bb)],sn=(_0x57c40c,_0x29160,_0x3f8f9e,_0x255b7e)=>{var _0x45a1de=_0x154c14;for(var _0x2d1e12=_0x255b7e>0x1?void 0x0:_0x255b7e?rn(_0x29160,_0x3f8f9e):_0x29160,_0x537fb1=_0x57c40c[_0x45a1de(0x454)]-0x1,_0x304ade;_0x537fb1>=0x0;_0x537fb1--)(_0x304ade=_0x57c40c[_0x537fb1])&&(_0x2d1e12=_0x304ade(_0x2d1e12)||_0x2d1e12);return _0x2d1e12;},on=(_0x28a86f,_0x91be91)=>(_0x394e1e,_0x18a2d0)=>_0x91be91(_0x394e1e,_0x18a2d0,_0x28a86f);let Ne=class{constructor(_0x4a5620){var _0x5cfe27=_0x154c14;this[_0x5cfe27(0x2b6)]=_0x4a5620,this[_0x5cfe27(0x40b)]();}[_0x154c14(0x40b)](){var _0xe95d33=_0x154c14;this[_0xe95d33(0x2b6)][_0xe95d33(0x451)]({'interceptor':(_0x510c7d,_0x249f1d)=>{var _0x377d80=_0xe95d33;const _0x285547=_0x510c7d[_0x377d80(0x323)],_0x2d6161=nn();return _0x2d6161&&_0x285547[_0x377d80(0x18c)](_0x377d80(0x1d9),_0x2d6161),_0x249f1d(_0x510c7d);}});}};Ne=sn([on(0x0,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)]))],Ne);var an=Object[_0x154c14(0x2bb)],cn=(_0x2a7270,_0x33b447,_0x298a86,_0x152800)=>{var _0x1b2cd0=_0x154c14;for(var _0x336c76=_0x152800>0x1?void 0x0:_0x152800?an(_0x33b447,_0x298a86):_0x33b447,_0x24ba96=_0x2a7270[_0x1b2cd0(0x454)]-0x1,_0x58b95e;_0x24ba96>=0x0;_0x24ba96--)(_0x58b95e=_0x2a7270[_0x24ba96])&&(_0x336c76=_0x58b95e(_0x336c76)||_0x336c76);return _0x336c76;},we=(_0x13d6a7,_0x23821c)=>(_0x559096,_0x5a0048)=>_0x23821c(_0x559096,_0x5a0048,_0x13d6a7);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x391407,_0xb05a44,_0x5a3f08){var _0x5682a1=_0x154c14;super(),A(this,'_unitInfo$',new $['BehaviorSubject'](null)),A(this,_0x5682a1(0x1ae),this[_0x5682a1(0x463)]['asObservable']()),(this[_0x5682a1(0x282)]=_0x391407,this[_0x5682a1(0x44e)]=_0xb05a44,this[_0x5682a1(0x3e0)]=_0x5a3f08);}async[_0x154c14(0x2f8)](_0x269555,_0x114ff3,_0x5f09df){var _0x22888f=_0x154c14;this[_0x22888f(0x463)][_0x22888f(0x4e1)]({'unitId':_0x269555,'type':_0x114ff3});let _0x376953=null;switch(_0x114ff3){case J[_0x22888f(0x378)]:{_0x376953=await this['_snapshotService'][_0x22888f(0x19c)](_0x269555,_0x5f09df);break;}case J[_0x22888f(0x49a)]:{_0x376953=await this['_snapshotService'][_0x22888f(0x26e)](_0x269555,_0x5f09df);break;}default:{this['_logService'][_0x22888f(0x1da)](_0x22888f(0x44d),_0x22888f(0x361));break;}}return _0x376953;}async['loadUnit'](_0x30f29e,_0x5cca02,_0x181ef5){var _0x2067b9=_0x154c14,_0x36e3c9;this[_0x2067b9(0x463)][_0x2067b9(0x4e1)]({'unitId':_0x30f29e,'type':_0x5cca02,'subUnitId':_0x181ef5});let _0x2c1f98=0x0;const _0x2563cd=await((_0x36e3c9=this[_0x2067b9(0x3e0)])==null?void 0x0:_0x36e3c9['loadOfflineData'](_0x30f29e));return _0x2563cd&&(_0x2563cd[_0x2067b9(0x24a)]||_0x2563cd[_0x2067b9(0x309)][_0x2067b9(0x454)]!==0x0)&&(_0x2c1f98=_0x2563cd[_0x2067b9(0x488)]),_0x2c1f98===0x0&&this[_0x2067b9(0x282)][_0x2067b9(0x401)](_0x2067b9(0x44d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2067b9(0x2f8)](_0x30f29e,_0x5cca02,_0x2c1f98);}},exports[_0x154c14(0x4dd)]=cn([we(0x0,a[_0x154c14(0x36a)]),we(0x1,a[_0x154c14(0x25b)](I['SnapshotService'])),we(0x2,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x4dd)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x554a49,_0x483c47,_0xf07a68,_0x1ffd0d)=>{var _0xf52807=_0x154c14;for(var _0x2fcbfb=_0x1ffd0d>0x1?void 0x0:_0x1ffd0d?hn(_0x483c47,_0xf07a68):_0x483c47,_0x4eb1c8=_0x554a49[_0xf52807(0x454)]-0x1,_0x5630d0;_0x4eb1c8>=0x0;_0x4eb1c8--)(_0x5630d0=_0x554a49[_0x4eb1c8])&&(_0x2fcbfb=_0x5630d0(_0x2fcbfb)||_0x2fcbfb);return _0x2fcbfb;},Le=(_0x4091f2,_0x31934c)=>(_0x48c96a,_0x4f7872)=>_0x31934c(_0x48c96a,_0x4f7872,_0x4091f2);const ln=['image/png',_0x154c14(0x222),_0x154c14(0x4a8),_0x154c14(0x19e),_0x154c14(0x1aa)],un=0x5*0x400*0x400,dn=_0x154c14(0x46a),vn=_0x154c14(0x1e5),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x154c14(0x371);exports[_0x154c14(0x32c)]=class{constructor(_0x19af8d,_0x152ff2,_0x21ee38){var _0x1e78c7=_0x154c14;A(this,'_waitCount',0x0),A(this,_0x1e78c7(0x25a),new $['Subject']()),A(this,_0x1e78c7(0x4bd),this[_0x1e78c7(0x25a)]),A(this,'_imageSourceCache',new Map()),(this[_0x1e78c7(0x2b6)]=_0x19af8d,this['_configService']=_0x152ff2,this[_0x1e78c7(0x1c0)]=_0x21ee38);}[_0x154c14(0x3e6)](_0x637121){var _0x1ba42b=_0x154c14;this['_waitCount']=_0x637121,this[_0x1ba42b(0x25a)][_0x1ba42b(0x4e1)](_0x637121);}[_0x154c14(0x1fb)](_0x453e8d,_0x3363b1){var _0x120775=_0x154c14;if(_0x3363b1===z[_0x120775(0x182)][_0x120775(0x4ef)]){const _0x9d9b6a=new Image();return _0x9d9b6a[_0x120775(0x2ff)]=_0x453e8d,_0x9d9b6a;}return this[_0x120775(0x4aa)]['get'](_0x453e8d);}[_0x154c14(0x2aa)](_0x588e51,_0x2536b5,_0x30cc75){var _0x40ee3d=_0x154c14;_0x2536b5===z[_0x40ee3d(0x182)]['BASE64']||_0x30cc75==null||this[_0x40ee3d(0x4aa)][_0x40ee3d(0x18c)](_0x588e51,_0x30cc75);}async['getImage'](_0x4bcb44){var _0x542ec1=_0x154c14;try{const _0xd6be2=this[_0x542ec1(0x466)](this[_0x542ec1(0x382)](),''+_0x4bcb44),_0x2f0867=(await this['_httpService'][_0x542ec1(0x225)](_0xd6be2))['body'];if(_0x2f0867[_0x542ec1(0x1da)]&&_0x2f0867[_0x542ec1(0x1da)][_0x542ec1(0x4a1)]===gt['OK']){const _0x228f83=new URL(_0x2f0867[_0x542ec1(0x2da)],this[_0x542ec1(0x336)]())[_0x542ec1(0x185)]();return Promise[_0x542ec1(0x242)](_0x228f83);}return Promise[_0x542ec1(0x2af)](_0x2f0867['error']);}catch(_0x45b3b5){return Promise[_0x542ec1(0x2af)](_0x45b3b5);}}async[_0x154c14(0x379)](_0x3b3a08){var _0x219b03=_0x154c14;let _0x3b57e6='';if(!ln['includes'](_0x3b3a08['type']))return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x49c)]));if(_0x3b3a08[_0x219b03(0x342)]>un)return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x352)]));try{const _0x12259a=new FormData();_0x12259a[_0x219b03(0x3b2)]('file',_0x3b3a08);const _0x1241d1=this[_0x219b03(0x1c0)][_0x219b03(0x470)](),_0x390ba3=_0x1241d1==null?void 0x0:_0x1241d1['getUnitId']();if(!_0x390ba3)throw new Error(_0x219b03(0x1dd));const _0x3e9e9b=this[_0x219b03(0x48a)]()+_0x219b03(0x2fd)+_0x3b3a08[_0x219b03(0x342)][_0x219b03(0x185)]()+_0x219b03(0x3a3)+Et['UnitEmbedded']+_0x219b03(0x23f)+encodeURIComponent(_0x390ba3),_0x4e3b59={'body':_0x12259a},_0x1e99d2=(await this[_0x219b03(0x2b6)][_0x219b03(0x437)](_0x3e9e9b,_0x4e3b59))[_0x219b03(0x49d)];if(typeof _0x1e99d2[_0x219b03(0x3ea)]!=_0x219b03(0x4a7))return this['_decreaseWaiting'](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x26d)]));_0x3b57e6=_0x1e99d2[_0x219b03(0x3ea)];}catch{return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x26d)]));}return new Promise((_0x3ff864,_0x598e4f)=>{var _0xc1e0c2=_0x219b03;const _0xb18a1a=new FileReader();_0xb18a1a[_0xc1e0c2(0x477)](_0x3b3a08),_0xb18a1a[_0xc1e0c2(0x32a)]=_0x27b88f=>{var _0x1a0198=_0xc1e0c2,_0x1d82dc;const _0x357ccf=(_0x1d82dc=_0x27b88f[_0x1a0198(0x48d)])==null?void 0x0:_0x1d82dc[_0x1a0198(0x4f6)];if(_0x357ccf==null){this[_0x1a0198(0x211)](),_0x598e4f(new Error(z[_0x1a0198(0x31f)][_0x1a0198(0x26d)]));return;}const _0x429052=a[_0x1a0198(0x2ae)]['generateRandomId'](0x6);_0x3ff864({'imageId':_0x429052,'imageSourceType':z[_0x1a0198(0x182)][_0x1a0198(0x306)],'source':_0x3b57e6,'base64Cache':_0x357ccf,'status':z['ImageUploadStatusType'][_0x1a0198(0x35c)]}),this['_decreaseWaiting']();};});}[_0x154c14(0x48a)](){var _0x40beab=_0x154c14,_0x534d55,_0x1bada6;const _0x26938b=this['_configService'][_0x40beab(0x4db)](dn),_0x48c104=this[_0x40beab(0x33c)][_0x40beab(0x4db)](K);return(_0x1bada6=(_0x534d55=_0x48c104==null?void 0x0:_0x48c104[_0x40beab(0x3f6)])!=null?_0x534d55:_0x26938b)!=null?_0x1bada6:vn;}[_0x154c14(0x382)](){var _0x15fce1=_0x154c14,_0x485b8a,_0x69d343;const _0x52306b=this['_configService'][_0x15fce1(0x4db)](Sn),_0x32b6=this[_0x15fce1(0x33c)][_0x15fce1(0x4db)](K);return(_0x69d343=(_0x485b8a=_0x32b6==null?void 0x0:_0x32b6[_0x15fce1(0x2bc)])!=null?_0x485b8a:_0x52306b)!=null?_0x69d343:fn;}['_getDownloadEndpointURL'](){var _0x5c5690=_0x154c14,_0x52791e;const _0x4fcaf0=this[_0x5c5690(0x33c)][_0x5c5690(0x4db)](K);return(_0x52791e=_0x4fcaf0==null?void 0x0:_0x4fcaf0[_0x5c5690(0x457)])!=null?_0x52791e:location[_0x5c5690(0x1af)];}[_0x154c14(0x466)](_0x5cddc9,_0x305f15){return _0x5cddc9['replace']('{fileID}',_0x305f15);}[_0x154c14(0x211)](){var _0x2abfd5=_0x154c14;this['_waitCount']-=0x1,this[_0x2abfd5(0x25a)][_0x2abfd5(0x4e1)](this[_0x2abfd5(0x448)]);}},exports[_0x154c14(0x32c)]=_n([Le(0x0,a['Inject'](Y[_0x154c14(0x4b7)])),Le(0x1,a[_0x154c14(0x307)]),Le(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x22a)]))],exports[_0x154c14(0x32c)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x4b876f,_0x1415ec,_0x2ef89f,_0x84ae85)=>{var _0x1f6991=_0x154c14;for(var _0x2526ff=_0x84ae85>0x1?void 0x0:_0x84ae85?pn(_0x1415ec,_0x2ef89f):_0x1415ec,_0x3a1d50=_0x4b876f[_0x1f6991(0x454)]-0x1,_0x4a069a;_0x3a1d50>=0x0;_0x3a1d50--)(_0x4a069a=_0x4b876f[_0x3a1d50])&&(_0x2526ff=_0x4a069a(_0x2526ff)||_0x2526ff);return _0x2526ff;},at=(_0x1636b3,_0x3c932c)=>(_0x3dc8f9,_0x2089b0)=>_0x3c932c(_0x3dc8f9,_0x2089b0,_0x1636b3);const gn=_0x154c14(0x2e8);exports['MentionIoHttpService']=class{constructor(_0x3394d0,_0x42cb40){var _0x116675=_0x154c14;this['_configService']=_0x3394d0,this[_0x116675(0x1f0)]=_0x42cb40;}[_0x154c14(0x259)](){var _0x8eb576=_0x154c14,_0x597f82,_0x5e1e3e;const _0x16e482=this[_0x8eb576(0x33c)][_0x8eb576(0x4db)](Ve),_0x2bc22a=this[_0x8eb576(0x33c)][_0x8eb576(0x4db)](K);return(_0x5e1e3e=(_0x597f82=_0x2bc22a==null?void 0x0:_0x2bc22a[_0x8eb576(0x3df)])!=null?_0x597f82:_0x16e482)!=null?_0x5e1e3e:gn;}async[_0x154c14(0x29d)](_0x4f1d79){var _0x55f0e2=_0x154c14;const _0x3f7e7e=this['_getAPIPrefixPath']()+_0x55f0e2(0x1d5);return{'list':[{'title':_0x55f0e2(0x203),'mentions':(await this[_0x55f0e2(0x1f0)]['get'](_0x3f7e7e,{'params':{'objectID':_0x4f1d79[_0x55f0e2(0x191)],'unitID':_0x4f1d79[_0x55f0e2(0x191)]}}))[_0x55f0e2(0x49d)][_0x55f0e2(0x43a)][_0x55f0e2(0x3f5)](_0xbd8773=>({'objectId':_0xbd8773['id'],'name':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x243)],'metadata':{'icon':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x290)]},'label':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x243)],'objectType':a['MentionType'][_0x55f0e2(0x4c2)]})),'metadata':{},'type':a[_0x55f0e2(0x354)]['PERSON']}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x154c14(0x25b)](a['IConfigService'])),at(0x1,a['Inject'](Y['HTTPService']))],exports[_0x154c14(0x2a3)]);var En=Object[_0x154c14(0x2bb)],mn=(_0x3ecd1b,_0x1611da,_0x346c14,_0xffffb2)=>{var _0x45bf40=_0x154c14;for(var _0x4e6811=_0xffffb2>0x1?void 0x0:_0xffffb2?En(_0x1611da,_0x346c14):_0x1611da,_0x330b76=_0x3ecd1b[_0x45bf40(0x454)]-0x1,_0x24037a;_0x330b76>=0x0;_0x330b76--)(_0x24037a=_0x3ecd1b[_0x330b76])&&(_0x4e6811=_0x24037a(_0x4e6811)||_0x4e6811);return _0x4e6811;},le=(_0x2db397,_0x6fd001)=>(_0x544c9b,_0x123a06)=>_0x6fd001(_0x544c9b,_0x123a06,_0x2db397);let Ue=class extends a[_0x154c14(0x198)]{constructor(_0x2e0e33,_0x5b2cbf,_0x14e057,_0x2b73a5,_0x9cbd51){var _0x2e9edf=_0x154c14;super(),this['_injector']=_0x2e0e33,this[_0x2e9edf(0x1c0)]=_0x5b2cbf,this[_0x2e9edf(0x249)]=_0x14e057,this[_0x2e9edf(0x1cf)]=_0x2b73a5,this[_0x2e9edf(0x305)]=_0x9cbd51,this[_0x2e9edf(0x446)](),this[_0x2e9edf(0x39d)]();}['_initCloseConn'](){var _0x29d6b9=_0x154c14;const _0x139a76=async _0x8b76ae=>{var _0xf2a683=_0x1a03;(await this[_0xf2a683(0x1cf)]['requireSession'](_0x8b76ae))[_0xf2a683(0x35f)][_0xf2a683(0x37e)](V[_0xf2a683(0x1fd)](_0x2c5324=>_0x2c5324[_0xf2a683(0x192)]===I[_0xf2a683(0x48b)]['SHOULD_CLOSE_CONN']),V[_0xf2a683(0x24e)](this[_0xf2a683(0x491)]))[_0xf2a683(0x356)](_0x5d443c=>{var _0x588f2c=_0xf2a683;const _0x4fbc4d=_0x5d443c,{reason:_0x284b54}=_0x4fbc4d[_0x588f2c(0x4c1)];this[_0x588f2c(0x305)][_0x588f2c(0x1a3)]({'id':Z[_0x588f2c(0x2cd)],'data':_0x284b54}),this[_0x588f2c(0x249)][_0x588f2c(0x1de)](new X[(_0x588f2c(0x1bc))](_0x8b76ae)['id'],!0x1),this['_collaborationSessionService'][_0x588f2c(0x325)](_0x8b76ae);});};$['merge'](this['_univerInstanceService'][_0x29d6b9(0x4d9)](a['UniverInstanceType'][_0x29d6b9(0x378)]),this[_0x29d6b9(0x1c0)][_0x29d6b9(0x4d9)](a[_0x29d6b9(0x377)][_0x29d6b9(0x49a)]))[_0x29d6b9(0x37e)](V[_0x29d6b9(0x3f5)](_0x1b89a3=>_0x1b89a3[_0x29d6b9(0x2de)]()),V[_0x29d6b9(0x1fd)](_0x5dc168=>!a[_0x29d6b9(0x339)](_0x5dc168)),V[_0x29d6b9(0x24e)](this[_0x29d6b9(0x491)]))[_0x29d6b9(0x356)](_0xa294fb=>{_0x139a76(_0xa294fb);});}[_0x154c14(0x446)](){var _0x45266f=_0x154c14;const _0x4c5ef5=async _0x1c6c08=>{var _0x4ace24=_0x1a03;const _0x42b145=await this[_0x4ace24(0x1cf)][_0x4ace24(0x2fc)](_0x1c6c08),_0x50cc48=this[_0x4ace24(0x42d)][_0x4ace24(0x225)](X['SheetPermissionInitController']);_0x42b145['event$'][_0x4ace24(0x37e)](V[_0x4ace24(0x1fd)](_0x5cb943=>_0x5cb943[_0x4ace24(0x192)]===I[_0x4ace24(0x48b)][_0x4ace24(0x1d8)]),V[_0x4ace24(0x24e)](this[_0x4ace24(0x491)]))[_0x4ace24(0x356)](_0x3650ed=>{var _0xa31042=_0x4ace24;const _0xa95150=_0x3650ed,{objectId:_0xf1d6dc}=_0xa95150['data'];_0xf1d6dc===_0x1c6c08?_0x50cc48['initWorkbookPermissionChange'](_0x1c6c08):_0x50cc48[_0xa31042(0x268)](_0x1c6c08,_0xf1d6dc);});};$[_0x45266f(0x17f)](this[_0x45266f(0x1c0)][_0x45266f(0x4d9)](a[_0x45266f(0x377)][_0x45266f(0x378)]))[_0x45266f(0x37e)](V['map'](_0x2f479a=>_0x2f479a[_0x45266f(0x2de)]()),V[_0x45266f(0x1fd)](_0x3b43ca=>!a['isInternalEditorID'](_0x3b43ca)),V[_0x45266f(0x24e)](this['dispose$']))[_0x45266f(0x356)](_0x2cc257=>{_0x4c5ef5(_0x2cc257);});}};Ue=mn([le(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),le(0x1,a[_0x154c14(0x22a)]),le(0x2,a[_0x154c14(0x237)]),le(0x3,a[_0x154c14(0x25b)](exports['CollaborationSessionService'])),le(0x4,a[_0x154c14(0x25b)](ee))],Ue);var Cn=Object[_0x154c14(0x2bb)],Tn=(_0x5676d9,_0x2f941a,_0x3d76bb,_0x12d955)=>{for(var _0x1a4d25=_0x12d955>0x1?void 0x0:_0x12d955?Cn(_0x2f941a,_0x3d76bb):_0x2f941a,_0x5afc54=_0x5676d9['length']-0x1,_0x111909;_0x5afc54>=0x0;_0x5afc54--)(_0x111909=_0x5676d9[_0x5afc54])&&(_0x1a4d25=_0x111909(_0x1a4d25)||_0x1a4d25);return _0x1a4d25;},ct=(_0x1e4b4a,_0x4fdce5)=>(_0x19fcb3,_0x40f5f8)=>_0x4fdce5(_0x19fcb3,_0x40f5f8,_0x1e4b4a);exports[_0x154c14(0x2b7)]=class{constructor(_0xcec710,_0x52fa63){var _0x3dcc05=_0x154c14;this['_configService']=_0xcec710,this[_0x3dcc05(0x2b6)]=_0x52fa63;}async['getUnitOnRev'](_0x750899,_0x5a8bf3){var _0x1d69fb=_0x154c14,_0x1c1fef;const {unitID:_0x1ca44e,type:_0x2f7f75,revision:_0x19c052=0x0}=_0x5a8bf3,_0x2819da=this['getSnapshotAPIPath']()+'/'+_0x2f7f75+_0x1d69fb(0x1ba)+_0x1ca44e+_0x1d69fb(0x30a)+_0x19c052,_0x3ceaf0=(await this[_0x1d69fb(0x2b6)]['get'](_0x2819da))[_0x1d69fb(0x49d)],_0x354c29=(_0x1c1fef=_0x3ceaf0[_0x1d69fb(0x47f)])==null?void 0x0:_0x1c1fef['workbook'];if(_0x354c29){const _0x4541a0=_0x354c29==null?void 0x0:_0x354c29[_0x1d69fb(0x4fe)],_0x5dca88=I[_0x1d69fb(0x4d7)]['encode'](I[_0x1d69fb(0x281)](_0x4541a0));_0x354c29[_0x1d69fb(0x4fe)]=_0x5dca88,Object['entries'](_0x354c29[_0x1d69fb(0x229)])[_0x1d69fb(0x396)](([,_0x1d038b])=>{var _0x3d0d17=_0x1d69fb;const _0x3e5a8e=_0x1d038b[_0x3d0d17(0x4fe)],_0x5e79e1=I[_0x3d0d17(0x4d7)][_0x3d0d17(0x41f)](I[_0x3d0d17(0x281)](_0x3e5a8e));_0x1d038b[_0x3d0d17(0x4fe)]=_0x5e79e1;});}return _0x3ceaf0;}async[_0x154c14(0x3ae)](_0x4d8da7,_0x40e042){var _0x3685b4=_0x154c14;const {unitID:_0x3a143b,type:_0x53aff7,blockID:_0x534f5a}=_0x40e042,_0x48e2d3=this[_0x3685b4(0x369)]()+'/'+_0x53aff7+_0x3685b4(0x1ba)+_0x3a143b+_0x3685b4(0x3fd)+_0x534f5a;return(await this[_0x3685b4(0x2b6)][_0x3685b4(0x225)](_0x48e2d3))['body'];}async['getDeserializedSheetBlock'](_0x13d6f0,_0x3847fd){var _0x4815ea=_0x154c14;const {unitID:_0x3f5a43,type:_0x15d5ec,blockID:_0x1c6bf6}=_0x3847fd,_0x49a01d=this[_0x4815ea(0x369)]()+'/block/'+_0x15d5ec+'/unit/'+_0x3f5a43+_0x4815ea(0x3fd)+_0x1c6bf6;return(await this[_0x4815ea(0x2b6)][_0x4815ea(0x225)](_0x49a01d))[_0x4815ea(0x49d)];}async[_0x154c14(0x4a6)](_0x19a546,_0x41cb13){var _0x28de8e=_0x154c14;const {unitID:_0x581c72,type:_0x425e19,from:_0x443b9d,to:_0x128927}=_0x41cb13,_0x41de54=this[_0x28de8e(0x369)]()+'/'+_0x425e19+'/unit/'+_0x581c72+_0x28de8e(0x4e0)+_0x443b9d+_0x28de8e(0x40e)+_0x128927;return(await this[_0x28de8e(0x2b6)][_0x28de8e(0x225)](_0x41de54))[_0x28de8e(0x49d)];}[_0x154c14(0x2c7)](){var _0x2cc4ef=_0x154c14,_0x3ff6af;return(_0x3ff6af=this[_0x2cc4ef(0x33c)][_0x2cc4ef(0x4db)](lt))!=null?_0x3ff6af:this[_0x2cc4ef(0x369)]();}['_getAPIPrefix'](){var _0x4fe6f6=_0x154c14,_0x5b6421,_0x46c9cc;const _0x118093=this[_0x4fe6f6(0x33c)][_0x4fe6f6(0x4db)](_t),_0x1f6216=this['_configService']['getConfig'](K);return(_0x46c9cc=(_0x5b6421=_0x1f6216==null?void 0x0:_0x1f6216[_0x4fe6f6(0x2db)])!=null?_0x5b6421:_0x118093)!=null?_0x46c9cc:Lt;}async[_0x154c14(0x364)](_0x46e300,_0xdc73a5){var _0x54d432=_0x154c14;const _0x5b657f=_0x54d432(0x3a2)+_0xdc73a5[_0x54d432(0x493)]+_0x54d432(0x1ba)+_0xdc73a5[_0x54d432(0x4b5)]+'/resources';return(await this[_0x54d432(0x2b6)][_0x54d432(0x225)](_0x5b657f,{'params':{'resourceId':JSON[_0x54d432(0x276)](_0xdc73a5[_0x54d432(0x480)])}}))[_0x54d432(0x49d)];}[_0x154c14(0x275)](){var _0x406207=_0x154c14;throw new Error(_0x406207(0x1e3));}[_0x154c14(0x1c2)](){var _0x69faf1=_0x154c14;throw new Error(_0x69faf1(0x1e3));}[_0x154c14(0x273)](){var _0x5814b8=_0x154c14;throw new Error(_0x5814b8(0x1e3));}[_0x154c14(0x3cd)](){var _0x17810a=_0x154c14;throw new Error(_0x17810a(0x1e3));}[_0x154c14(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x4f88ac=_0x154c14;throw new Error(_0x4f88ac(0x1e3));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0x154c14(0x307)]),ct(0x1,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)]))],exports[_0x154c14(0x2b7)]);var bn=Object[_0x154c14(0x2bb)],Rn=(_0x1e8136,_0x2b2368,_0x1f9076,_0x201f83)=>{var _0x5bc37a=_0x154c14;for(var _0x2bd0f1=_0x201f83>0x1?void 0x0:_0x201f83?bn(_0x2b2368,_0x1f9076):_0x2b2368,_0x2d0720=_0x1e8136[_0x5bc37a(0x454)]-0x1,_0x5f436f;_0x2d0720>=0x0;_0x2d0720--)(_0x5f436f=_0x1e8136[_0x2d0720])&&(_0x2bd0f1=_0x5f436f(_0x2bd0f1)||_0x2bd0f1);return _0x2bd0f1;},ue=(_0x2e514a,_0x158a01)=>(_0x43fbea,_0x549102)=>_0x158a01(_0x43fbea,_0x549102,_0x2e514a);exports[_0x154c14(0x1df)]=class extends a['LocalUndoRedoService']{constructor(_0x440a20,_0x3494a5,_0x3bd75b,_0x58cd6b,_0x17f1b5){var _0x240641=_0x154c14;super(_0x440a20,_0x3494a5,_0x3bd75b),this[_0x240641(0x2ee)]=_0x58cd6b,this[_0x240641(0x282)]=_0x17f1b5;}['transformUndoRedo'](_0x2dd902,_0x9e4909){var _0x330c9b=_0x154c14;const _0x2daec5=this[_0x330c9b(0x1c4)](_0x2dd902);if(_0x2daec5)try{const _0x5a6fe7=this[_0x330c9b(0x28d)](_0x2daec5,_0x9e4909);this['_substituteUndoStack'](_0x2dd902,_0x5a6fe7);}catch(_0x5c686a){this['_logService']['error'](_0x330c9b(0x494),_0x5c686a),this['_clearUndo'](_0x2dd902);}const _0x50893d=this['_getRedoStack'](_0x2dd902);if(_0x50893d)try{const _0x2aa1cf=this['_transformStack'](_0x50893d,_0x9e4909);this['_substituteRedoStack'](_0x2dd902,_0x2aa1cf);}catch(_0x1ccfd3){this[_0x330c9b(0x282)][_0x330c9b(0x1da)](_0x1ccfd3),this[_0x330c9b(0x2b8)](_0x2dd902);}}[_0x154c14(0x438)](_0x36730e){var _0x12d638=_0x154c14;const _0x32fbb8=this[_0x12d638(0x1c4)](_0x36730e);_0x32fbb8&&(_0x32fbb8[_0x12d638(0x454)]=0x0,this[_0x12d638(0x39f)]());}[_0x154c14(0x2b8)](_0x2f9502){var _0x3470fc=_0x154c14;const _0x36421c=this[_0x3470fc(0x1c6)](_0x2f9502);_0x36421c&&(_0x36421c['length']=0x0,this[_0x3470fc(0x39f)]());}[_0x154c14(0x1e6)](_0x233b7f,_0x2657d3){var _0x52de72=_0x154c14;this[_0x52de72(0x2a4)][_0x52de72(0x18c)](_0x233b7f,_0x2657d3),this[_0x52de72(0x39f)]();}[_0x154c14(0x478)](_0x1260eb,_0xd83781){var _0x16302f=_0x154c14;this['_redoStacks'][_0x16302f(0x18c)](_0x1260eb,_0xd83781),this[_0x16302f(0x39f)]();}[_0x154c14(0x28d)](_0x30666b,_0x300ea0){var _0x2b65f6=_0x154c14;const _0x84b212=[];let _0x2465ff=_0x300ea0,_0x74619e=_0x300ea0;for(let _0x34b1d5=_0x30666b[_0x2b65f6(0x454)]-0x1;_0x34b1d5>=0x0;_0x34b1d5--){const {unitID:_0x2d26e9,undoMutations:_0x9d7d9c,redoMutations:_0x29482c}=_0x30666b[_0x34b1d5],_0x170e8e=this[_0x2b65f6(0x2ee)]['transformMutationsWithChangeset'](_0x2465ff,_0x9d7d9c),_0x574450=this[_0x2b65f6(0x2ee)]['transformMutationsWithChangeset'](_0x74619e,_0x29482c);if(I[_0x2b65f6(0x3f2)](_0x170e8e)||I[_0x2b65f6(0x3f2)](_0x574450)){this[_0x2b65f6(0x282)]['error']('[CollaborationUndoRedoService]',_0x2b65f6(0x357),_0x170e8e,_0x574450);break;}_0x2465ff=_0x170e8e['c1Prime'],_0x74619e=_0x574450[_0x2b65f6(0x299)],_0x84b212['push']({'unitID':_0x2d26e9,'undoMutations':_0x170e8e['m2Prime'],'redoMutations':_0x574450[_0x2b65f6(0x442)]});}return _0x84b212[_0x2b65f6(0x19b)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x154c14(0x4ba)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x154c14(0x1e4)]),ue(0x4,a[_0x154c14(0x36a)])],exports[_0x154c14(0x1df)]);var On=Object['defineProperty'],yn=Object[_0x154c14(0x2bb)],Nn=(_0x1f0bd1,_0x2af495,_0x51de3d)=>_0x2af495 in _0x1f0bd1?On(_0x1f0bd1,_0x2af495,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51de3d}):_0x1f0bd1[_0x2af495]=_0x51de3d,Un=(_0x3ddbb2,_0x355199,_0x5e5196,_0x4c628c)=>{for(var _0x490144=_0x4c628c>0x1?void 0x0:_0x4c628c?yn(_0x355199,_0x5e5196):_0x355199,_0xf83fcb=_0x3ddbb2['length']-0x1,_0x30be78;_0xf83fcb>=0x0;_0xf83fcb--)(_0x30be78=_0x3ddbb2[_0xf83fcb])&&(_0x490144=_0x30be78(_0x490144)||_0x490144);return _0x490144;},Me=(_0x29aa27,_0xe493)=>(_0x3d1f2d,_0x303209)=>_0xe493(_0x3d1f2d,_0x303209,_0x29aa27),Dn=(_0x1bdc37,_0x87d597,_0x2e6da7)=>Nn(_0x1bdc37,_0x87d597+'',_0x2e6da7);const An=_0x154c14(0x47b);exports[_0x154c14(0x2ea)]=class extends a[_0x154c14(0x209)]{constructor(_0x3f9bce,_0x3361db,_0x1dcefe,_0x5cb1a8){var _0x565647=_0x154c14;super(),A(this,'_config'),(this[_0x565647(0x282)]=_0x3361db,this[_0x565647(0x42d)]=_0x1dcefe,this[_0x565647(0x33c)]=_0x5cb1a8);const {..._0x536a76}=a[_0x565647(0x17f)]({},Yt,_0x3f9bce);if(!_0x536a76[_0x565647(0x227)])throw new Error(_0x565647(0x359));this[_0x565647(0x2a9)]=_0x536a76,this['_configService'][_0x565647(0x2b4)](K,_0x536a76);}[_0x154c14(0x4f1)](){var _0x53c98d=_0x154c14;this[_0x53c98d(0x1bb)](),this[_0x53c98d(0x4b0)]();}[_0x154c14(0x1bb)](){var _0x41800d=_0x154c14,_0x3a5549,_0x5711da;this[_0x41800d(0x42d)][_0x41800d(0x3a5)](a[_0x41800d(0x338)])&&this[_0x41800d(0x282)][_0x41800d(0x1da)](_0x41800d(0x236),_0x41800d(0x455));const _0x5646bc=a[_0x41800d(0x49b)]([[a[_0x41800d(0x338)],{'useClass':exports[_0x41800d(0x1df)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x41800d(0x3e2)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x41800d(0x4dd)]],[He,{'useClass':this[_0x41800d(0x2a9)]['socketService']}],[I[_0x41800d(0x4de)],{'useClass':exports[_0x41800d(0x2b7)]}],[a[_0x41800d(0x445)],{'useClass':exports[_0x41800d(0x1d3)]}],[z[_0x41800d(0x340)],{'useClass':exports[_0x41800d(0x32c)]}],[a[_0x41800d(0x262)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x41800d(0x288)]],[xe]],(_0x3a5549=this['_config'])==null?void 0x0:_0x3a5549['override']);if(!((_0x5711da=this[_0x41800d(0x2a9)])!=null&&_0x5711da['enableSingleActiveInstanceLock'])){const _0x5c76dd=_0x5646bc[_0x41800d(0x40c)](([_0xfc3c45])=>_0xfc3c45===de);_0x5c76dd!==-0x1&&_0x5646bc[_0x41800d(0x186)](_0x5c76dd,0x1);}a[_0x41800d(0x4d3)](this[_0x41800d(0x42d)],_0x5646bc);}[_0x154c14(0x4b0)](){var _0x30b077=_0x154c14,_0x22bd8c,_0xf41f56,_0x20ba40;this[_0x30b077(0x42d)][_0x30b077(0x225)](Y[_0x30b077(0x4b7)])[_0x30b077(0x451)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x22bd8c=this['_config'])!=null&&_0x22bd8c[_0x30b077(0x4da)]||(_0xf41f56=this[_0x30b077(0x42d)]['get'](q,a[_0x30b077(0x483)][_0x30b077(0x4b2)]))==null||_0xf41f56['disableLocalCache'](),(_0x20ba40=this[_0x30b077(0x2a9)])!=null&&_0x20ba40['enableAuthServer']&&a[_0x30b077(0x4e2)](this[_0x30b077(0x42d)],[[ye]]),a[_0x30b077(0x4e2)](this[_0x30b077(0x42d)],[[Ne],[exports[_0x30b077(0x288)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],_0x154c14(0x252),An),exports[_0x154c14(0x2ea)]=Un([a[_0x154c14(0x312)](I[_0x154c14(0x363)],Y[_0x154c14(0x459)]),Me(0x1,a['ILogService']),Me(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),Me(0x3,a['IConfigService'])],exports[_0x154c14(0x2ea)]),exports[_0x154c14(0x495)]=Ve,exports[_0x154c14(0x42f)]=K,exports[_0x154c14(0x4d1)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports['CollaborationStatus']=Be,exports['CollaborationUIEventId']=Z,exports[_0x154c14(0x3a6)]=ee,exports[_0x154c14(0x4a9)]=$e,exports[_0x154c14(0x1f3)]=dt,exports[_0x154c14(0x1b4)]=Kt,exports[_0x154c14(0x431)]=kt,exports[_0x154c14(0x48e)]=vt,exports[_0x154c14(0x497)]=ke,exports[_0x154c14(0x2be)]=He,exports[_0x154c14(0x38a)]=q,exports[_0x154c14(0x326)]=mt,exports['ISingleActiveUnitService']=de,exports[_0x154c14(0x28e)]=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0x154c14(0x408)]=It,exports[_0x154c14(0x456)]=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x154c14(0x39e)]=Mt,exports[_0x154c14(0x434)]=_t,exports[_0x154c14(0x239)]=lt,exports[_0x154c14(0x372)]=re,exports[_0x154c14(0x293)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x154c14(0x1cc)]=oi,exports[_0x154c14(0x28f)]=Tt;
|