@univerjs-pro/collaboration-client 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505291607
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 +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x199ec4=_0x3c30;(function(_0x217036,_0x524124){var _0x10ba56=_0x3c30,_0x3ffad0=_0x217036();while(!![]){try{var _0x4854fb=-parseInt(_0x10ba56(0x339))/0x1*(-parseInt(_0x10ba56(0x4b2))/0x2)+parseInt(_0x10ba56(0x1fd))/0x3+-parseInt(_0x10ba56(0x1ca))/0x4+-parseInt(_0x10ba56(0x464))/0x5+-parseInt(_0x10ba56(0x427))/0x6+parseInt(_0x10ba56(0x387))/0x7*(parseInt(_0x10ba56(0x36a))/0x8)+parseInt(_0x10ba56(0x23b))/0x9;if(_0x4854fb===_0x524124)break;else _0x3ffad0['push'](_0x3ffad0['shift']());}catch(_0x599d7f){_0x3ffad0['push'](_0x3ffad0['shift']());}}}(_0x3d52,0x45efc));var Dt=Object[_0x199ec4(0x3ab)],At=(_0x86749e,_0xc20054,_0x214774)=>_0xc20054 in _0x86749e?Dt(_0x86749e,_0xc20054,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x214774}):_0x86749e[_0xc20054]=_0x214774,A=(_0x1b3684,_0x470121,_0x3f556e)=>At(_0x1b3684,typeof _0x470121!=_0x199ec4(0x47b)?_0x470121+'':_0x470121,_0x3f556e);Object[_0x199ec4(0x3ab)](exports,Symbol['toStringTag'],{'value':_0x199ec4(0x1db)});const a=require(_0x199ec4(0x283)),$=require(_0x199ec4(0x1cc)),V=require('rxjs/operators'),I=require('@univerjs-pro/collaboration'),Y=require(_0x199ec4(0x2c3)),Pt=require(_0x199ec4(0x2d4)),ht=require(_0x199ec4(0x447)),X=require(_0x199ec4(0x3f1)),z=require(_0x199ec4(0x47e)),wt=require(_0x199ec4(0x2d0)),_t=_0x199ec4(0x3a4),Lt='/universer-api/snapshot',lt=_0x199ec4(0x307),Mt=_0x199ec4(0x2c1),xt=0x7d0,ut=_0x199ec4(0x3de),dt=_0x199ec4(0x422),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x199ec4(0x1d4),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt=_0x199ec4(0x28f),Vt=_0x199ec4(0x268),It=_0x199ec4(0x31b),Wt=_0x199ec4(0x1de),Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt='/universer-api/uniscript';var gt=(_0x25b070=>(_0x25b070[_0x25b070['UNDEFINED']=0x0]=_0x199ec4(0x3c3),_0x25b070[_0x25b070['OK']=0x1]='OK',_0x25b070[_0x25b070['INTERNAL_ERROR']=0x2]=_0x199ec4(0x4d6),_0x25b070[_0x25b070[_0x199ec4(0x256)]=0x3]=_0x199ec4(0x256),_0x25b070[_0x25b070[_0x199ec4(0x38e)]=0x4]=_0x199ec4(0x38e),_0x25b070[_0x25b070['UNAUTHENTICATED']=0x5]=_0x199ec4(0x267),_0x25b070[_0x25b070[_0x199ec4(0x459)]=0x6]=_0x199ec4(0x459),_0x25b070[_0x25b070[_0x199ec4(0x1fc)]=0x7]=_0x199ec4(0x1fc),_0x25b070[_0x25b070[_0x199ec4(0x1a2)]=0x8]=_0x199ec4(0x1a2),_0x25b070[_0x25b070[_0x199ec4(0x20e)]=0x9]='COMPLETION_FINISHED',_0x25b070[_0x25b070[_0x199ec4(0x3c1)]=0xa]=_0x199ec4(0x3c1),_0x25b070[_0x25b070[_0x199ec4(0x405)]=0x1389]=_0x199ec4(0x405),_0x25b070[_0x25b070[_0x199ec4(0x1e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x25b070[_0x25b070[_0x199ec4(0x1f2)]=0x1772]=_0x199ec4(0x1f2),_0x25b070[_0x25b070['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x25b070[_0x25b070[_0x199ec4(0x2d3)]=0x1b59]='APPLY_REJECT',_0x25b070[_0x25b070[_0x199ec4(0x4e6)]=0x1b5a]=_0x199ec4(0x4e6),_0x25b070[_0x25b070[_0x199ec4(0x24f)]=0x1b5b]=_0x199ec4(0x24f),_0x25b070[_0x25b070[_0x199ec4(0x18c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x25b070[_0x25b070[_0x199ec4(0x352)]=0x1b5d]=_0x199ec4(0x352),_0x25b070[_0x25b070[_0x199ec4(0x2b4)]=0x1f41]=_0x199ec4(0x2b4),_0x25b070[_0x25b070[_0x199ec4(0x1f8)]=0x2329]=_0x199ec4(0x1f8),_0x25b070[_0x25b070[_0x199ec4(0x43c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x2e4)]=0x232b]=_0x199ec4(0x2e4),_0x25b070[_0x25b070['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x17d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x25b070[_0x25b070[_0x199ec4(0x358)]=0x2711]=_0x199ec4(0x358),_0x25b070[_0x25b070['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x199ec4(0x3ef),_0x25b070[_0x25b070[_0x199ec4(0x4e5)]=0x2713]=_0x199ec4(0x4e5),_0x25b070[_0x25b070[_0x199ec4(0x4a4)]=0x2714]=_0x199ec4(0x4a4),_0x25b070[_0x25b070['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x25b070[_0x25b070[_0x199ec4(0x49c)]=0x271b]=_0x199ec4(0x49c),_0x25b070[_0x25b070[_0x199ec4(0x2b3)]=0x271c]=_0x199ec4(0x2b3),_0x25b070[_0x25b070[_0x199ec4(0x1be)]=0x271d]=_0x199ec4(0x1be),_0x25b070[_0x25b070['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x25b070[_0x25b070[_0x199ec4(0x2f4)]=0x271f]=_0x199ec4(0x2f4),_0x25b070[_0x25b070[_0x199ec4(0x376)]=0x2af9]=_0x199ec4(0x376),_0x25b070[_0x25b070[_0x199ec4(0x178)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x25b070[_0x25b070[_0x199ec4(0x305)]=0x2ee2]=_0x199ec4(0x305),_0x25b070[_0x25b070[_0x199ec4(0x23e)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x25b070[_0x25b070[_0x199ec4(0x2a6)]=0x2ee4]=_0x199ec4(0x2a6),_0x25b070[_0x25b070[_0x199ec4(0x329)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x25b070[_0x25b070[_0x199ec4(0x413)]=0x32c9]=_0x199ec4(0x413),_0x25b070[_0x25b070[_0x199ec4(0x40b)]=0x32ca]=_0x199ec4(0x40b),_0x25b070[_0x25b070[_0x199ec4(0x372)]=0x32cb]=_0x199ec4(0x372),_0x25b070[_0x25b070[_0x199ec4(0x335)]=-0x1]='UNRECOGNIZED',_0x25b070))(gt||{}),J=(_0xdc2af6=>(_0xdc2af6[_0xdc2af6[_0x199ec4(0x183)]=0x0]=_0x199ec4(0x183),_0xdc2af6[_0xdc2af6['UNIVER_DOC']=0x1]=_0x199ec4(0x3fc),_0xdc2af6[_0xdc2af6[_0x199ec4(0x31a)]=0x2]=_0x199ec4(0x31a),_0xdc2af6[_0xdc2af6['UNIVER_SLIDE']=0x3]=_0x199ec4(0x1a8),_0xdc2af6[_0xdc2af6['UNIVER_PROJECT']=0x4]=_0x199ec4(0x43a),_0xdc2af6[_0xdc2af6[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0xdc2af6))(J||{}),W=(_0x5739d7=>(_0x5739d7[_0x5739d7[_0x199ec4(0x331)]=0x0]=_0x199ec4(0x331),_0x5739d7[_0x5739d7[_0x199ec4(0x42e)]=0x1]=_0x199ec4(0x42e),_0x5739d7[_0x5739d7[_0x199ec4(0x232)]=0x2]='JOIN',_0x5739d7[_0x5739d7[_0x199ec4(0x220)]=0x3]='LEAVE',_0x5739d7[_0x5739d7[_0x199ec4(0x426)]=0x4]=_0x199ec4(0x426),_0x5739d7[_0x5739d7['HEARTBEAT']=0x5]='HEARTBEAT',_0x5739d7[_0x5739d7['RECV']=0x6]=_0x199ec4(0x492),_0x5739d7[_0x5739d7['UNRECOGNIZED']=-0x1]=_0x199ec4(0x335),_0x5739d7))(W||{}),oe=(_0x333064=>(_0x333064[_0x333064[_0x199ec4(0x2ec)]=0x0]=_0x199ec4(0x2ec),_0x333064[_0x333064['OK']=0x1]='OK',_0x333064[_0x333064[_0x199ec4(0x469)]=0x2]=_0x199ec4(0x469),_0x333064[_0x333064[_0x199ec4(0x2e1)]=0x3e9]=_0x199ec4(0x2e1),_0x333064[_0x333064[_0x199ec4(0x48a)]=0x3ea]=_0x199ec4(0x48a),_0x333064[_0x333064[_0x199ec4(0x252)]=0x3eb]=_0x199ec4(0x252),_0x333064[_0x333064[_0x199ec4(0x378)]=0x3ec]=_0x199ec4(0x378),_0x333064[_0x333064[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0x333064))(oe||{}),Et=(_0x36f982=>(_0x36f982[_0x36f982[_0x199ec4(0x384)]=0x0]=_0x199ec4(0x384),_0x36f982[_0x36f982[_0x199ec4(0x48d)]=0x1]=_0x199ec4(0x48d),_0x36f982[_0x36f982[_0x199ec4(0x48c)]=0x2]=_0x199ec4(0x48c),_0x36f982[_0x36f982['UnitEmbedded']=0x3]=_0x199ec4(0x30a),_0x36f982[_0x36f982[_0x199ec4(0x1ef)]=0x4]=_0x199ec4(0x1ef),_0x36f982[_0x36f982[_0x199ec4(0x4eb)]=0x5]=_0x199ec4(0x4eb),_0x36f982[_0x36f982[_0x199ec4(0x335)]=-0x1]=_0x199ec4(0x335),_0x36f982))(Et||{});const K=_0x199ec4(0x46f),Yt={};var Z=(_0x56874f=>(_0x56874f['OTHER_CLIENT_EDITING']=_0x199ec4(0x1e7),_0x56874f[_0x199ec4(0x256)]='PERMISSION_DENIED',_0x56874f[_0x199ec4(0x365)]=_0x199ec4(0x365),_0x56874f[_0x199ec4(0x39f)]=_0x199ec4(0x39f),_0x56874f[_0x199ec4(0x24e)]=_0x199ec4(0x24e),_0x56874f['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x56874f[_0x199ec4(0x1a4)]='SOCKET_FAILED',_0x56874f[_0x199ec4(0x4ef)]='SUBMIT_CHANGESET_TIMEOUT',_0x56874f))(Z||{});class ee{constructor(){var _0x2e8b7=_0x199ec4;A(this,'_event$',new $['Subject']()),A(this,'event$',this[_0x2e8b7(0x3f9)][_0x2e8b7(0x206)]());}['emitEvent'](_0x266ece){this['_event$']['next'](_0x266ece);}}const mt=a[_0x199ec4(0x200)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x2f8005){var _0x272ca9=_0x199ec4,_0x524f44,_0x13fcbc,_0x4affe1,_0x287a2b,_0x3c8316;const _0x12e8c5=_0x2f8005[_0x272ca9(0x280)],_0x3a2d7a=JSON[_0x272ca9(0x494)](_0x12e8c5);switch(_0x3a2d7a['cmd']){case W[_0x272ca9(0x18b)]:case W[_0x272ca9(0x42e)]:{const _0x3d0425=_0x3a2d7a[_0x272ca9(0x3c9)];return{..._0x3a2d7a,'data':_0x3d0425,'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};}case W[_0x272ca9(0x232)]:{const _0x93749b=_0x3a2d7a['joinRsp'];return{..._0x3a2d7a,'data':_0x93749b,'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};}case W[_0x272ca9(0x492)]:{const _0x2c23da=_0x3a2d7a[_0x272ca9(0x1c7)];switch(_0x2c23da['eventID']){case I[_0x272ca9(0x4a0)][_0x272ca9(0x1d9)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x524f44=_0x2c23da[_0x272ca9(0x2bb)])==null?void 0x0:_0x524f44['cs']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x2a2)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x13fcbc=_0x2c23da[_0x272ca9(0x3d8)])==null?void 0x0:_0x13fcbc['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent'][_0x272ca9(0x4cb)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x4affe1=_0x2c23da[_0x272ca9(0x2ba)])==null?void 0x0:_0x4affe1['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3bd)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x287a2b=_0x2c23da[_0x272ca9(0x2bd)])==null?void 0x0:_0x287a2b['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x1bb)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':(_0x3c8316=_0x2c23da[_0x272ca9(0x24d)])==null?void 0x0:_0x3c8316['cs']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x4f1)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x2bc)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x255)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x3f3)]},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)]['USERS_LEAVE']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['leaveEvent']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3d7)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['liveShareNewHost']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x417)]:case I[_0x272ca9(0x4a0)][_0x272ca9(0x4a1)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x176)]},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x23c)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['liveShareNewHost']},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I[_0x272ca9(0x4a0)][_0x272ca9(0x3c6)]:return{..._0x3a2d7a,'data':_0x2c23da,'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)]['COMMENT_UPDATE']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x430)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da['updatePermissionObjEvent']},'cmd':_0x3a2d7a['cmd']};case I[_0x272ca9(0x4a0)][_0x272ca9(0x401)]:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x482)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};case I['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x3a2d7a,'data':{..._0x2c23da,'data':_0x2c23da[_0x272ca9(0x28a)]},'cmd':_0x3a2d7a[_0x272ca9(0x27b)]};default:return _0x3a2d7a;}}default:return _0x3a2d7a;}}function Tt(_0x13ac9e){var _0x3e10f9=_0x199ec4;switch(_0x13ac9e['cmd']){case W[_0x3e10f9(0x18b)]:case W[_0x3e10f9(0x42e)]:return JSON['stringify']({'cmd':_0x13ac9e[_0x3e10f9(0x27b)],'routeKey':_0x13ac9e[_0x3e10f9(0x184)]});case W[_0x3e10f9(0x426)]:{let _0x498020;switch(_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x4f2)]){case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x4f1)]:{_0x498020={'eventID':I['CollaborationEvent'][_0x3e10f9(0x4f1)],'updateCursorEvent':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3a9)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3a9)],'leaveEvent':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x255)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x255)],'joinEvent':_0x13ac9e['data'][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3d7)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x3d7)],'liveShareNewHost':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I['CollaborationEvent'][_0x3e10f9(0x4a1)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x4a1)],'liveShareOperation':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x23c)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x13ac9e[_0x3e10f9(0x280)][_0x3e10f9(0x280)]};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x310)]:{_0x498020={'eventID':I[_0x3e10f9(0x4a0)][_0x3e10f9(0x310)],'liveShareRequestHost':_0x13ac9e[_0x3e10f9(0x280)]['data']};break;}case I[_0x3e10f9(0x4a0)][_0x3e10f9(0x417)]:{_0x498020={'eventID':I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x498020={'eventID':_0x13ac9e[_0x3e10f9(0x280)]['eventID']};}return JSON[_0x3e10f9(0x3b7)]({'cmd':_0x13ac9e[_0x3e10f9(0x27b)],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'collaMsg':_0x498020});}case W[_0x3e10f9(0x232)]:return JSON[_0x3e10f9(0x3b7)]({'cmd':_0x13ac9e['cmd'],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'joinReq':_0x13ac9e[_0x3e10f9(0x280)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x13ac9e['cmd'],'routeKey':_0x13ac9e[_0x3e10f9(0x184)],'leaveReq':_0x13ac9e['data']});default:throw new Error(_0x3e10f9(0x1eb));}}var qt=Object[_0x199ec4(0x244)],zt=(_0x34d931,_0x3d48ac,_0x7a9897,_0x1a7ce6)=>{var _0x4dd8bf=_0x199ec4;for(var _0x503fbb=_0x1a7ce6>0x1?void 0x0:_0x1a7ce6?qt(_0x3d48ac,_0x7a9897):_0x3d48ac,_0x55383e=_0x34d931[_0x4dd8bf(0x418)]-0x1,_0x4e4e9b;_0x55383e>=0x0;_0x55383e--)(_0x4e4e9b=_0x34d931[_0x55383e])&&(_0x503fbb=_0x4e4e9b(_0x503fbb)||_0x503fbb);return _0x503fbb;},_e=(_0x3999e0,_0x316194)=>(_0x510fbc,_0x35b67c)=>_0x316194(_0x510fbc,_0x35b67c,_0x3999e0);const He=a['createIdentifier'](_0x199ec4(0x2a0));function Jt(_0x5d45b1,_0x2f2460,_0x8d8b39){var _0x40e732=_0x199ec4;return _0x5d45b1+'/'+_0x2f2460+_0x40e732(0x26e)+_0x8d8b39+'/new_changes';}exports[_0x199ec4(0x34e)]=class extends a[_0x199ec4(0x455)]{constructor(_0x3abb18,_0x588e60,_0x4f2180,_0x4ffa8d,_0x309856){var _0x441482=_0x199ec4;super(),this[_0x441482(0x2ed)]=_0x3abb18,this[_0x441482(0x44a)]=_0x588e60,this[_0x441482(0x44e)]=_0x4f2180,this[_0x441482(0x309)]=_0x4ffa8d,this[_0x441482(0x189)]=_0x309856;}['_doCreateSocket'](_0x3d47d5){var _0x8200b3=_0x199ec4;const _0x166220=this[_0x8200b3(0x2ed)][_0x8200b3(0x25b)](Y[_0x8200b3(0x337)]);if(!_0x166220)throw new Error(_0x8200b3(0x17e));const _0x1bcf70=_0x166220[_0x8200b3(0x273)](_0x3d47d5);if(!_0x1bcf70)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x31fc30=new a['DisposableCollection'](),_0xca5f8c=new $[(_0x8200b3(0x215))]();_0x31fc30[_0x8200b3(0x4ea)](_0x1bcf70[_0x8200b3(0x1d7)]['subscribe'](_0x2b900a=>_0xca5f8c[_0x8200b3(0x1b3)](_0x2b900a))),_0x31fc30['add'](a[_0x8200b3(0x468)](()=>_0xca5f8c[_0x8200b3(0x1cd)]()));const _0x39548e=new $[(_0x8200b3(0x215))]();_0x31fc30[_0x8200b3(0x4ea)](_0x1bcf70[_0x8200b3(0x22b)][_0x8200b3(0x483)](_0x608399=>_0x39548e['next'](_0x608399))),_0x31fc30[_0x8200b3(0x4ea)](a['toDisposable'](()=>_0x39548e[_0x8200b3(0x1cd)]()));const _0x2b6dfd=new $['Subject']();_0x31fc30['add'](_0x1bcf70['message$'][_0x8200b3(0x483)](_0x1fe64f=>{var _0x2897ca=_0x8200b3;const _0x2932a1=Ct(_0x1fe64f);_0x2b6dfd[_0x2897ca(0x1b3)](_0x2932a1);})),_0x31fc30[_0x8200b3(0x4ea)](a[_0x8200b3(0x468)](()=>_0x2b6dfd[_0x8200b3(0x1cd)]()));let _0x2b30d6;const _0x24468c=()=>{var _0x26a3e1=_0x8200b3;_0x39548e['next'](new Event(_0x26a3e1(0x226))),_0xca5f8c['next'](new Event(_0x26a3e1(0x226))),_0x2b30d6[_0x26a3e1(0x49b)]();};return _0x2b30d6={'memberID':'','close$':_0xca5f8c[_0x8200b3(0x206)](),'error$':_0x39548e[_0x8200b3(0x206)](),'open$':_0x1bcf70[_0x8200b3(0x33b)],'message$':_0x2b6dfd[_0x8200b3(0x206)](),'send':_0x37e7d4=>{var _0x64ad88=_0x8200b3;if(_0x37e7d4[_0x64ad88(0x27b)]===W['INGEST']){if(_0x37e7d4[_0x64ad88(0x280)][_0x64ad88(0x4f2)]===I['CollaborationEvent'][_0x64ad88(0x487)]){this[_0x64ad88(0x47f)](_0x2b30d6,_0x37e7d4[_0x64ad88(0x280)])[_0x64ad88(0x231)](_0x1f9fee=>{var _0x1ecb64=_0x64ad88;this[_0x1ecb64(0x309)][_0x1ecb64(0x4af)](_0x1f9fee),_0x24468c();});return;}if(_0x37e7d4['data'][_0x64ad88(0x4f2)]===I[_0x64ad88(0x4a0)][_0x64ad88(0x4c8)]){const _0x1c462b=_0x37e7d4['data'];this[_0x64ad88(0x1cf)](_0x1c462b)[_0x64ad88(0x272)](_0x8ec391=>{var _0x1ca9d0=_0x64ad88;_0x2b6dfd[_0x1ca9d0(0x1b3)]({'cmd':W[_0x1ca9d0(0x492)],'code':oe['OK'],'routeKey':_0x1c462b[_0x1ca9d0(0x280)][_0x1ca9d0(0x2df)],'routeType':'','data':{'eventID':I[_0x1ca9d0(0x4a0)][_0x1ca9d0(0x1c0)],'data':{'changesets':_0x8ec391}}});})[_0x64ad88(0x231)](_0x54f56f=>{this['_logService']['error'](_0x54f56f),_0x24468c();});return;}}_0x1bcf70['send'](Tt(_0x37e7d4));},'close':()=>{var _0x219c6a=_0x8200b3;_0x1bcf70[_0x219c6a(0x49b)](),_0x31fc30[_0x219c6a(0x2ff)]();}},_0x2b30d6;}async[_0x199ec4(0x47f)](_0x28ab90,_0x3a7a07){var _0x509ccf=_0x199ec4,_0x2268ed,_0x24b1b6;const {unitType:_0x3d43ba,unitID:_0x1fcda3,changeset:_0x2cd928}=_0x3a7a07[_0x509ccf(0x280)],_0x113d90={'unitID':_0x1fcda3,'memberID':_0x28ab90[_0x509ccf(0x1c8)],'type':_0x3d43ba,'changeset':I['parseChangesetToProtocol'](_0x2cd928)},_0x4a1ef0=this[_0x509ccf(0x44e)][_0x509ccf(0x2d8)](pt),_0x3f782c=this[_0x509ccf(0x44e)][_0x509ccf(0x2d8)](K),_0x4c346a=Jt((_0x24b1b6=(_0x2268ed=_0x3f782c==null?void 0x0:_0x3f782c[_0x509ccf(0x28b)])!=null?_0x2268ed:_0x4a1ef0)!=null?_0x24b1b6:Vt,_0x3d43ba,_0x1fcda3);try{await this[_0x509ccf(0x44a)][_0x509ccf(0x30e)](_0x4c346a,{'body':_0x113d90});}catch(_0x2dbe7f){throw this[_0x509ccf(0x309)][_0x509ccf(0x4af)](_0x509ccf(0x4de),_0x509ccf(0x191)),_0x2dbe7f;}}async['_fetchMissChangesets'](_0x23308a){var _0x584663=_0x199ec4;const {unitID:_0x1b60ce,from:_0x564bf9,to:_0x120d52,unitType:_0x345a47}=_0x23308a['data'];return(await this[_0x584663(0x189)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1b60ce,'type':_0x345a47,'from':_0x564bf9,'to':_0x120d52}))[_0x584663(0x17a)];}},exports[_0x199ec4(0x34e)]=zt([_e(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),_e(0x1,a['Inject'](Y['HTTPService'])),_e(0x2,a[_0x199ec4(0x3e7)]),_e(0x3,a[_0x199ec4(0x37e)]),_e(0x4,I[_0x199ec4(0x4a2)])],exports[_0x199ec4(0x34e)]);const Xt='collaboration_new_changeset';function Zt(_0x4a955c){var _0x19c9fa=_0x199ec4;return JSON[_0x19c9fa(0x3b7)](_0x4a955c)[_0x19c9fa(0x418)];}class $e{constructor(){var _0x1046ba=_0x199ec4;A(this,'_commentUpdate$',new $[(_0x1046ba(0x215))]()),A(this,_0x1046ba(0x1ce),this[_0x1046ba(0x32f)][_0x1046ba(0x206)]());}[_0x199ec4(0x3ea)](_0x589467){var _0xcef7ea=_0x199ec4;this[_0xcef7ea(0x32f)][_0xcef7ea(0x1b3)](_0x589467);}}var Qt=Object[_0x199ec4(0x244)],ei=(_0x20c4e6,_0x2ded48,_0xda2ab9,_0x6ffb3d)=>{for(var _0x4ec6e4=_0x6ffb3d>0x1?void 0x0:_0x6ffb3d?Qt(_0x2ded48,_0xda2ab9):_0x2ded48,_0x27964c=_0x20c4e6['length']-0x1,_0x317bed;_0x27964c>=0x0;_0x27964c--)(_0x317bed=_0x20c4e6[_0x27964c])&&(_0x4ec6e4=_0x317bed(_0x4ec6e4)||_0x4ec6e4);return _0x4ec6e4;},We=(_0xfbd5b4,_0x2528ad)=>(_0x55b21c,_0x4f3733)=>_0x2528ad(_0x55b21c,_0x4f3733,_0xfbd5b4);exports['MemberService']=class extends a[_0x199ec4(0x455)]{constructor(_0x5d43c3,_0x350170){var _0x5890e8=_0x199ec4;super(),A(this,_0x5890e8(0x2fa),new Map()),A(this,_0x5890e8(0x453),new $['Subject']()),(this[_0x5890e8(0x385)]=_0x5d43c3,this['_userManagerService']=_0x350170,this[_0x5890e8(0x3dd)]($[_0x5890e8(0x45e)](this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a[_0x5890e8(0x223)][_0x5890e8(0x31a)])[_0x5890e8(0x4ae)](V[_0x5890e8(0x369)](_0x141dd3=>_0x141dd3[_0x5890e8(0x424)]())),this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a['UniverInstanceType']['UNIVER_DOC'])[_0x5890e8(0x4ae)](V['map'](_0x337715=>_0x337715[_0x5890e8(0x424)]())),this[_0x5890e8(0x385)][_0x5890e8(0x21d)](a[_0x5890e8(0x223)][_0x5890e8(0x1a8)])[_0x5890e8(0x4ae)](V[_0x5890e8(0x369)](_0x3c5574=>_0x3c5574[_0x5890e8(0x424)]())))[_0x5890e8(0x483)](_0x258cba=>this[_0x5890e8(0x2c4)](_0x258cba))));}[_0x199ec4(0x446)](_0x668a40){var _0x48e0aa=_0x199ec4;return this[_0x48e0aa(0x2fa)][_0x48e0aa(0x1d5)](_0x668a40)?$['of'](this[_0x48e0aa(0x2fa)][_0x48e0aa(0x25b)](_0x668a40)):this[_0x48e0aa(0x453)][_0x48e0aa(0x4ae)](V[_0x48e0aa(0x369)](_0x295ac4=>{var _0x3a8da8=_0x48e0aa;if(_0x295ac4===_0x668a40)return this[_0x3a8da8(0x2fa)][_0x3a8da8(0x25b)](_0x295ac4);}));}['setCurrentUser'](_0x10e6a7){var _0x1b3a40=_0x199ec4;this[_0x1b3a40(0x203)][_0x1b3a40(0x1f6)](_0x10e6a7);}['getCurrentUser'](){var _0x350875=_0x199ec4;return this[_0x350875(0x203)][_0x350875(0x1ae)]();}[_0x199ec4(0x371)](_0x11e5ba,_0x481ee1){var _0x1c495f=_0x199ec4;let _0x4578e9=this[_0x1c495f(0x2fa)][_0x1c495f(0x25b)](_0x11e5ba);_0x4578e9||(_0x4578e9=new ti(),this[_0x1c495f(0x2fa)][_0x1c495f(0x3ac)](_0x11e5ba,_0x4578e9),this[_0x1c495f(0x453)][_0x1c495f(0x1b3)](_0x11e5ba)),_0x4578e9['updateMember'](_0x481ee1);}[_0x199ec4(0x470)](_0x43f0bf,_0x1070dc){var _0x94f49c=_0x199ec4;const _0x13d9cd=this[_0x94f49c(0x2fa)][_0x94f49c(0x25b)](_0x43f0bf);_0x13d9cd&&_0x13d9cd[_0x94f49c(0x470)](_0x1070dc);}[_0x199ec4(0x478)](_0x362903){var _0x371980=_0x199ec4;return this[_0x371980(0x2fa)][_0x371980(0x25b)](_0x362903);}[_0x199ec4(0x40a)](_0x576df5,_0x3b7eec){var _0x3bac5d=_0x199ec4;const _0x5344fc=this['_roomMembers'][_0x3bac5d(0x25b)](_0x576df5);if(_0x5344fc)return _0x5344fc['getMember'](_0x3b7eec);}[_0x199ec4(0x2c4)](_0x2e4bff){var _0x121d95=_0x199ec4;const _0x3df6b5=this[_0x121d95(0x2fa)]['get'](_0x2e4bff);_0x3df6b5&&(_0x3df6b5[_0x121d95(0x2ff)](),this[_0x121d95(0x2fa)][_0x121d95(0x239)](_0x2e4bff));}['dispose'](){var _0x5b168b=_0x199ec4;this[_0x5b168b(0x2fa)][_0x5b168b(0x4db)](_0x341dff=>_0x341dff[_0x5b168b(0x2ff)]()),this[_0x5b168b(0x2fa)][_0x5b168b(0x181)](),this['_roomCreated$'][_0x5b168b(0x1cd)]();}},exports[_0x199ec4(0x235)]=ei([We(0x0,a[_0x199ec4(0x1ec)]),We(0x1,a[_0x199ec4(0x2b7)](a['UserManagerService']))],exports[_0x199ec4(0x235)]);class ti extends a[_0x199ec4(0x455)]{constructor(){var _0x51e6ec=_0x199ec4;super(...arguments),A(this,'_members',new Map()),A(this,_0x51e6ec(0x3fb),new $[(_0x51e6ec(0x195))](this[_0x51e6ec(0x2ca)])),A(this,_0x51e6ec(0x353),this[_0x51e6ec(0x3fb)][_0x51e6ec(0x206)]());}[_0x199ec4(0x2ff)](){var _0x1e713d=_0x199ec4;this[_0x1e713d(0x2ca)]['clear']();}[_0x199ec4(0x371)](_0x4ef26b){var _0x67b7ce=_0x199ec4;this['_members'][_0x67b7ce(0x3ac)](_0x4ef26b[_0x67b7ce(0x1c8)],_0x4ef26b),this[_0x67b7ce(0x1f0)]();}[_0x199ec4(0x470)](_0x24f8bf){var _0x4f8d13=_0x199ec4;this[_0x4f8d13(0x2ca)][_0x4f8d13(0x239)](_0x24f8bf);}[_0x199ec4(0x40a)](_0xdfb671){var _0x52fc4b=_0x199ec4;return this['_members'][_0x52fc4b(0x25b)](_0xdfb671);}['getAllMembers'](){var _0x548a60=_0x199ec4;return Array[_0x548a60(0x214)](this[_0x548a60(0x2ca)][_0x548a60(0x208)]());}['_emitMembers'](){var _0x1dae0b=_0x199ec4;this[_0x1dae0b(0x3fb)][_0x1dae0b(0x1b3)](this[_0x1dae0b(0x2ca)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0xeea4ed,_0x3fbf58,_0x3d4db3,_0x4eb06d)=>{for(var _0x19972f=_0x4eb06d>0x1?void 0x0:_0x4eb06d?ii(_0x3fbf58,_0x3d4db3):_0x3fbf58,_0x5384d5=_0xeea4ed['length']-0x1,_0x3e09d6;_0x5384d5>=0x0;_0x5384d5--)(_0x3e09d6=_0xeea4ed[_0x5384d5])&&(_0x19972f=_0x3e09d6(_0x19972f)||_0x19972f);return _0x19972f;},se=(_0x4433b7,_0x5a3029)=>(_0x16e29d,_0x26ffcc)=>_0x5a3029(_0x16e29d,_0x26ffcc,_0x4433b7),re=(_0x391f3b=>(_0x391f3b[_0x391f3b[_0x199ec4(0x2f3)]=0x0]=_0x199ec4(0x2f3),_0x391f3b[_0x391f3b[_0x199ec4(0x1ac)]=0x1]=_0x199ec4(0x1ac),_0x391f3b[_0x391f3b['OFFLINE']=0x2]=_0x199ec4(0x3b8),_0x391f3b[_0x391f3b[_0x199ec4(0x18a)]=0x3]=_0x199ec4(0x18a),_0x391f3b))(re||{});const Ge={[oe[_0x199ec4(0x469)]]:'session.join-failed',[oe['JOIN_ROOM_FULL']]:_0x199ec4(0x35d),[oe[_0x199ec4(0x48a)]]:_0x199ec4(0x402),[oe[_0x199ec4(0x252)]]:_0x199ec4(0x182),[oe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x199ec4(0x392)};exports[_0x199ec4(0x325)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x4bea3a,_0x535ab9,_0x69546b,_0x587919,_0x17860a,_0xf7f27,_0x60b3e8,_0x5411f4,_0x16267d){var _0x5809ab=_0x199ec4;super(),A(this,_0x5809ab(0x4a3),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x5809ab(0x4a3)][_0x5809ab(0x206)]()),A(this,_0x5809ab(0x3f9),new $['Subject']()),A(this,_0x5809ab(0x20f),this[_0x5809ab(0x3f9)][_0x5809ab(0x206)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5809ab(0x39a)),A(this,_0x5809ab(0x39c),!0x1),A(this,'_telemetryInfo',null),(this['_unitID']=_0x4bea3a,this['_logService']=_0x69546b,this['_configService']=_0x587919,this[_0x5809ab(0x2e0)]=_0x17860a,this[_0x5809ab(0x2f2)]=_0xf7f27,this[_0x5809ab(0x370)]=_0x60b3e8,this[_0x5809ab(0x4d2)]=_0x5411f4,this[_0x5809ab(0x1dc)]=_0x16267d,this['_shouldReportTelemetry']=!!this[_0x5809ab(0x1dc)],_0x535ab9[_0x5809ab(0x4ae)]($[_0x5809ab(0x38a)](this['dispose$']))['subscribe'](_0x29edbd=>{var _0x5e959c=_0x5809ab,_0x33ac5e;typeof _0x29edbd>'u'||(this[_0x5e959c(0x2d1)]=_0x29edbd,_0x29edbd?(this['_joinRoom'](_0x29edbd),this[_0x5e959c(0x3e9)]=_0x29edbd[_0x5e959c(0x19f)][_0x5e959c(0x483)](_0x3fbe43=>{var _0x3d0a31=_0x5e959c;_0x3fbe43[_0x3d0a31(0x184)]===this['_unitID']&&this['_onCombEvent'](_0x3fbe43);})):(this[_0x5e959c(0x3db)](),this[_0x5e959c(0x4a3)][_0x5e959c(0x1b3)](0x2),(_0x33ac5e=this[_0x5e959c(0x3e9)])==null||_0x33ac5e[_0x5e959c(0x177)](),this[_0x5e959c(0x3e9)]=null));}));}get[_0x199ec4(0x45f)](){var _0x582bb6=_0x199ec4;return this[_0x582bb6(0x4a3)]['getValue']();}[_0x199ec4(0x45d)](){var _0xf5276c=_0x199ec4,_0x2f5ffa,_0x1aa1ea;return(_0x1aa1ea=(_0x2f5ffa=this['_socket'])==null?void 0x0:_0x2f5ffa[_0xf5276c(0x1c8)])!=null?_0x1aa1ea:null;}[_0x199ec4(0x2ff)](){var _0x801124=_0x199ec4;super[_0x801124(0x2ff)](),this[_0x801124(0x194)][_0x801124(0x1b3)](),this[_0x801124(0x194)]['complete']();}[_0x199ec4(0x49b)](){var _0x16e56a=_0x199ec4,_0x50ed3b,_0x28cdcb;this[_0x16e56a(0x3db)](),(_0x50ed3b=this[_0x16e56a(0x2d1)])==null||_0x50ed3b[_0x16e56a(0x474)]({'cmd':W[_0x16e56a(0x220)],'data':{'roomID':this[_0x16e56a(0x303)]}}),(_0x28cdcb=this[_0x16e56a(0x2d1)])==null||_0x28cdcb[_0x16e56a(0x49b)](),this[_0x16e56a(0x3f9)][_0x16e56a(0x1cd)](),this[_0x16e56a(0x4a3)][_0x16e56a(0x1cd)](),this[_0x16e56a(0x2ff)]();}['_onCombEvent'](_0x17ac59){var _0x524472=_0x199ec4;_0x17ac59[_0x524472(0x27b)]===W[_0x524472(0x232)]?this['_onJoinRoomEvent'](_0x17ac59):_0x17ac59[_0x524472(0x27b)]===W['RECV']&&this[_0x524472(0x26d)](_0x17ac59);}[_0x199ec4(0x304)](_0x2e54d0){var _0x56faea=_0x199ec4;this[_0x56faea(0x4a3)][_0x56faea(0x1b3)](0x1),_0x2e54d0[_0x56faea(0x474)]({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x199ec4(0x221)](_0x40c406){var _0x4dc7c0=_0x199ec4,_0x1b7c9b;if(_0x40c406['code']in Ge){this[_0x4dc7c0(0x4d2)][_0x4dc7c0(0x35f)]({'id':Z[_0x4dc7c0(0x24e)],'data':Ge[_0x40c406[_0x4dc7c0(0x3e4)]]}),this[_0x4dc7c0(0x4a3)]['next'](0x2);return;}this[_0x4dc7c0(0x4a3)][_0x4dc7c0(0x1b3)](0x3);const _0x54506d=(_0x1b7c9b=_0x40c406[_0x4dc7c0(0x280)][_0x4dc7c0(0x322)][this[_0x4dc7c0(0x303)]])==null?void 0x0:_0x1b7c9b[_0x4dc7c0(0x188)];_0x54506d&&_0x54506d[_0x4dc7c0(0x4db)](_0x5074a9=>this[_0x4dc7c0(0x2f2)][_0x4dc7c0(0x371)](this['_unitID'],_0x5074a9));}[_0x199ec4(0x26d)](_0x211d29){var _0x59e8c5=_0x199ec4;try{const _0xd6deab=_0x211d29['data'];switch(_0xd6deab[_0x59e8c5(0x4f2)]){case I[_0x59e8c5(0x4a0)][_0x59e8c5(0x255)]:this[_0x59e8c5(0x423)](_0xd6deab),this[_0x59e8c5(0x3f9)][_0x59e8c5(0x1b3)](_0xd6deab);break;case I[_0x59e8c5(0x4a0)][_0x59e8c5(0x3a9)]:this['_onUserLeave'](_0xd6deab),this[_0x59e8c5(0x3f9)]['next'](_0xd6deab);break;case I['CollaborationEvent'][_0x59e8c5(0x2a2)]:case I['CollaborationEvent'][_0x59e8c5(0x1bb)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x59e8c5(0x1b3)](_0xd6deab);break;case I['CollaborationEvent'][_0x59e8c5(0x3c6)]:this['_logService'][_0x59e8c5(0x4af)](_0x59e8c5(0x465)+JSON[_0x59e8c5(0x3b7)](_0xd6deab)),this[_0x59e8c5(0x3f9)][_0x59e8c5(0x1b3)](_0xd6deab);break;case I['CollaborationEvent']['COMMENT_UPDATE']:this[_0x59e8c5(0x370)][_0x59e8c5(0x3ea)](_0xd6deab[_0x59e8c5(0x280)]),this['_event$']['next'](_0xd6deab);break;default:this['_event$'][_0x59e8c5(0x1b3)](_0xd6deab);}}catch(_0x54de0c){this[_0x59e8c5(0x309)][_0x59e8c5(0x4af)](_0x54de0c,_0x211d29);}}['_onUserJoin'](_0x2bd7bd){var _0x515238=_0x199ec4;this[_0x515238(0x2f2)]['updateMember'](this[_0x515238(0x303)],_0x2bd7bd[_0x515238(0x280)]);}[_0x199ec4(0x434)](_0x4077e5){var _0x13fffd=_0x199ec4;this[_0x13fffd(0x2f2)][_0x13fffd(0x470)](this['_unitID'],_0x4077e5[_0x13fffd(0x280)]['memberID']);}async[_0x199ec4(0x474)](_0x1483ff,_0xfc574){var _0x563435=_0x199ec4;if(this['sessionStatus']!==0x3||!this[_0x563435(0x2d1)])throw new Error(_0x563435(0x21e));try{_0x1483ff['eventID']===I[_0x563435(0x4a0)][_0x563435(0x487)]&&(this[_0x563435(0x3ec)](),this[_0x563435(0x1f9)](_0x1483ff)),this[_0x563435(0x2d1)][_0x563435(0x474)]({'cmd':W[_0x563435(0x426)],'routeKey':_0xfc574,'routeType':'','data':_0x1483ff});}catch(_0x33adaa){this[_0x563435(0x309)]['error'](_0x33adaa);}}['_scheduleCollaborationTimeoutTimer'](){var _0x13afc1=_0x199ec4,_0x35312b;this[_0x13afc1(0x39a)]=setTimeout(()=>{var _0x35effa=_0x13afc1;this[_0x35effa(0x39a)]=null,this[_0x35effa(0x4d2)][_0x35effa(0x35f)]({'id':Z[_0x35effa(0x4ef)]});},(_0x35312b=this[_0x13afc1(0x44e)][_0x13afc1(0x2d8)](ke))!=null?_0x35312b:St);}[_0x199ec4(0x1da)](){var _0x40db68=_0x199ec4;this[_0x40db68(0x39a)]&&(clearTimeout(this[_0x40db68(0x39a)]),this[_0x40db68(0x39a)]=null);}[_0x199ec4(0x1f9)](_0x325a24){var _0x39f6c0=_0x199ec4;if(!this[_0x39f6c0(0x39c)])return;const {data:_0x45089f}=_0x325a24,{unitID:_0x151f16,changeset:_0x508dcb}=_0x45089f,{mutations:_0x3025a8,type:_0x36a98a}=_0x508dcb;this['_telemetryInfo']={'unitId':_0x151f16,'type':_0x36a98a,'startTime':performance[_0x39f6c0(0x4c3)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3025a8)};}[_0x199ec4(0x47c)](){var _0x12d9d8=_0x199ec4;if(this[_0x12d9d8(0x39c)]){if(!this[_0x12d9d8(0x2de)]){this[_0x12d9d8(0x309)]['error'](_0x12d9d8(0x4de),_0x12d9d8(0x373));return;}this['_telemetryInfo'][_0x12d9d8(0x46a)]=performance[_0x12d9d8(0x4c3)](),this[_0x12d9d8(0x2de)][_0x12d9d8(0x243)]=this[_0x12d9d8(0x2de)][_0x12d9d8(0x46a)]-this[_0x12d9d8(0x2de)]['startTime'],this[_0x12d9d8(0x1dc)][_0x12d9d8(0x260)](Xt,this[_0x12d9d8(0x2de)]),this['_telemetryInfo']=null;}}[_0x199ec4(0x3db)](){var _0x31d52d=_0x199ec4;this[_0x31d52d(0x2de)]=null;}},exports[_0x199ec4(0x325)]=ni([se(0x2,a['ILogService']),se(0x3,a['IConfigService']),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x199ec4(0x2b7)](exports[_0x199ec4(0x235)])),se(0x6,a[_0x199ec4(0x2b7)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x199ec4(0x341)](Pt[_0x199ec4(0x4c5)]))],exports[_0x199ec4(0x325)]);var ri=Object[_0x199ec4(0x244)],si=(_0x5685a9,_0x29eb92,_0x54092d,_0x74fb35)=>{var _0x5b5e3c=_0x199ec4;for(var _0x1d5ced=_0x74fb35>0x1?void 0x0:_0x74fb35?ri(_0x29eb92,_0x54092d):_0x29eb92,_0x2756d1=_0x5685a9[_0x5b5e3c(0x418)]-0x1,_0x4787bb;_0x2756d1>=0x0;_0x2756d1--)(_0x4787bb=_0x5685a9[_0x2756d1])&&(_0x1d5ced=_0x4787bb(_0x1d5ced)||_0x1d5ced);return _0x1d5ced;},he=(_0x1bdd54,_0x3551b9)=>(_0x5a9809,_0x3698f8)=>_0x3551b9(_0x5a9809,_0x3698f8,_0x1bdd54);exports[_0x199ec4(0x2f5)]=class extends a['Disposable']{constructor(_0xf630f6,_0x2af17e,_0x361bd6,_0x18dfd6,_0x1ab150,_0x4af709){var _0x4cfcb9=_0x199ec4;super(),A(this,_0x4cfcb9(0x3dc),new $['BehaviorSubject'](void 0x0)),A(this,_0x4cfcb9(0x32a),this[_0x4cfcb9(0x3dc)][_0x4cfcb9(0x206)]()),A(this,'_candidateSocket',null),A(this,'_sessions',new Map()),A(this,'_status$',new $['BehaviorSubject'](re[_0x4cfcb9(0x2f3)])),A(this,_0x4cfcb9(0x290),this['_status$']['asObservable']()),A(this,_0x4cfcb9(0x2e3),!0x1),A(this,_0x4cfcb9(0x28c)),A(this,_0x4cfcb9(0x227),0x0),A(this,_0x4cfcb9(0x264)),A(this,_0x4cfcb9(0x308)),(this[_0x4cfcb9(0x2ed)]=_0xf630f6,this[_0x4cfcb9(0x309)]=_0x2af17e,this[_0x4cfcb9(0x44e)]=_0x361bd6,this[_0x4cfcb9(0x4cd)]=_0x18dfd6,this[_0x4cfcb9(0x4d2)]=_0x1ab150,this['_networkConditionService']=_0x4af709,this[_0x4cfcb9(0x336)]());}get[_0x199ec4(0x2d1)](){var _0x174450=_0x199ec4;return this[_0x174450(0x3dc)][_0x174450(0x2cd)]();}[_0x199ec4(0x336)](){var _0xe0cec8=_0x199ec4;this[_0xe0cec8(0x3d0)]&&this[_0xe0cec8(0x3dd)](this[_0xe0cec8(0x3d0)]['online$'][_0xe0cec8(0x483)](_0x470cf0=>{var _0x46f209=_0xe0cec8;_0x470cf0&&!this['_socket']&&this[_0x46f209(0x4ed)](),_0x470cf0||this['_onOffline']();}));}[_0x199ec4(0x2ff)](){var _0x196414=_0x199ec4;super[_0x196414(0x2ff)](),this[_0x196414(0x1a1)](),this[_0x196414(0x298)](),this['_clearHeartbeatTimer'](),this[_0x196414(0x263)][_0x196414(0x4db)](_0x23d222=>_0x23d222[_0x196414(0x2ff)]()),this[_0x196414(0x263)]['clear'](),this[_0x196414(0x25c)][_0x196414(0x1cd)]();}async['requireSession'](_0x1ad8c8){var _0x22c376=_0x199ec4;if(this[_0x22c376(0x263)][_0x22c376(0x1d5)](_0x1ad8c8))return this[_0x22c376(0x263)][_0x22c376(0x25b)](_0x1ad8c8);this[_0x22c376(0x3be)]();const _0x5d807d=this[_0x22c376(0x2ed)]['createInstance'](exports[_0x22c376(0x325)],_0x1ad8c8,this[_0x22c376(0x3dc)][_0x22c376(0x206)]());return this['_sessions'][_0x22c376(0x3ac)](_0x1ad8c8,_0x5d807d),_0x5d807d;}['closeSession'](_0x3bf06e){var _0x575b78=_0x199ec4,_0x5d0202;const _0x3fbaa5=this['_sessions']['get'](_0x3bf06e);_0x3fbaa5&&(this['_sessions'][_0x575b78(0x239)](_0x3bf06e),_0x3fbaa5[_0x575b78(0x49b)]()),this['_sessions'][_0x575b78(0x1e8)]||(_0x5d0202=this[_0x575b78(0x2d1)])==null||_0x5d0202[_0x575b78(0x49b)]();}[_0x199ec4(0x4ed)](){var _0x4bf45f=_0x199ec4;this['_retryCount']=0x0,this[_0x4bf45f(0x1a1)](),this[_0x4bf45f(0x1fb)]();}[_0x199ec4(0x1a1)](){var _0x121e0f=_0x199ec4;this[_0x121e0f(0x28c)]!=null&&(clearTimeout(this[_0x121e0f(0x28c)]),this['_retryConnectingTimer']=null);}async[_0x199ec4(0x3ed)](){var _0x231cec=_0x199ec4,_0x220c4d,_0x54fe19;const _0x14535d=this[_0x231cec(0x44e)][_0x231cec(0x2d8)](ut),_0x54b29f=this[_0x231cec(0x44e)]['getConfig'](K),_0x4c6634=(_0x54fe19=(_0x220c4d=_0x54b29f==null?void 0x0:_0x54b29f['collabWebSocketUrl'])!=null?_0x220c4d:_0x14535d)!=null?_0x54fe19:dt,_0x511ab3=await this[_0x231cec(0x4cd)]['createSocket'](_0x4c6634);return this['_candidateSocket']=_0x511ab3,_0x511ab3;}async['_tryEnsureSocket'](){var _0x1b0a8a=_0x199ec4,_0x30beda,_0x2418b6;try{const _0x3f0433=(_0x2418b6=(_0x30beda=this['_socket'])!=null?_0x30beda:this['_candidateSocket'])!=null?_0x2418b6:await this[_0x1b0a8a(0x3ed)]();if(_0x3f0433){const _0xe63ab8=_0x3f0433[_0x1b0a8a(0x474)];_0x3f0433[_0x1b0a8a(0x474)]=_0x44349b=>(this[_0x1b0a8a(0x277)](),_0xe63ab8['apply'](_0x3f0433,[_0x44349b])),_0x3f0433[_0x1b0a8a(0x19f)][_0x1b0a8a(0x483)](_0x241096=>this['_onMessage'](_0x3f0433,_0x241096)),_0x3f0433[_0x1b0a8a(0x22b)]['pipe'](V[_0x1b0a8a(0x4b3)](0x1))[_0x1b0a8a(0x483)](_0x20e8e4=>this['_logService'][_0x1b0a8a(0x4af)](_0x1b0a8a(0x295),_0x20e8e4)),_0x3f0433[_0x1b0a8a(0x33b)]['pipe'](V[_0x1b0a8a(0x4b3)](0x1))[_0x1b0a8a(0x483)](()=>{var _0x2c2684=_0x1b0a8a;this[_0x2c2684(0x313)](_0x3f0433);}),_0x3f0433[_0x1b0a8a(0x1d7)][_0x1b0a8a(0x4ae)](V['take'](0x1))['subscribe'](_0x10bf89=>{var _0x16beb6=_0x1b0a8a;this[_0x16beb6(0x309)][_0x16beb6(0x1d1)](_0x16beb6(0x400),'socket\x20close',_0x10bf89),this[_0x16beb6(0x2c7)]();});}}catch(_0x3f2043){this[_0x1b0a8a(0x309)][_0x1b0a8a(0x4af)](_0x3f2043),this[_0x1b0a8a(0x2c7)]();}}[_0x199ec4(0x313)](_0x4343f6){var _0x71dbae=_0x199ec4;this['_logService'][_0x71dbae(0x1d1)](_0x71dbae(0x400),_0x71dbae(0x3da)),_0x4343f6['send']({'cmd':W[_0x71dbae(0x42e)]}),this[_0x71dbae(0x277)]();}[_0x199ec4(0x438)](){var _0x54e43c=_0x199ec4;this[_0x54e43c(0x2e3)]=!0x1,this[_0x54e43c(0x2cf)]=null,this[_0x54e43c(0x25c)][_0x54e43c(0x1b3)](re[_0x54e43c(0x3b8)]),this[_0x54e43c(0x3dc)][_0x54e43c(0x1b3)](null),this[_0x54e43c(0x298)](),this[_0x54e43c(0x1bf)]();}[_0x199ec4(0x2c7)](){var _0x21ffce=_0x199ec4,_0x4304df;this['_onOffline'](),this['_retryCount']<((_0x4304df=this['_configService'][_0x21ffce(0x2d8)](ft))!=null?_0x4304df:jt)?(this[_0x21ffce(0x4d2)][_0x21ffce(0x35f)]({'id':Z[_0x21ffce(0x1af)]}),this['_tryReconnect']()):this[_0x21ffce(0x4d2)][_0x21ffce(0x35f)]({'id':Z[_0x21ffce(0x1a4)]});}['_tryReconnect'](){var _0x358f1b=_0x199ec4,_0x3d9ac8;const _0x34196c=this[_0x358f1b(0x227)],_0x193ae0=this['_configService'][_0x358f1b(0x2d8)](K),_0xc7b3a5=_0x34196c===0x0?0x0:((_0x3d9ac8=_0x193ae0==null?void 0x0:_0x193ae0[_0x358f1b(0x2eb)])!=null?_0x3d9ac8:$t)*0x2**_0x34196c;this[_0x358f1b(0x28c)]=setTimeout(()=>{var _0x619fd9=_0x358f1b;clearTimeout(this[_0x619fd9(0x28c)]),this[_0x619fd9(0x28c)]=null,this[_0x619fd9(0x3be)]();},_0xc7b3a5),this['_retryCount']+=0x1;}[_0x199ec4(0x318)](_0xb8bbdf,_0x8cc63a){var _0x1664ef=_0x199ec4;const {cmd:_0x473cba}=_0x8cc63a;_0x473cba===W['HELLO']&&!this[_0x1664ef(0x2e3)]&&(_0xb8bbdf['memberID']=_0x8cc63a[_0x1664ef(0x280)][_0x1664ef(0x1c8)],this[_0x1664ef(0x3dc)][_0x1664ef(0x1b3)](_0xb8bbdf),this[_0x1664ef(0x25c)][_0x1664ef(0x1b3)](re[_0x1664ef(0x18a)]),this[_0x1664ef(0x2e3)]=!0x0,this['_candidateSocket']=null),_0x473cba===W[_0x1664ef(0x18b)]&&this['_clearTimeoutTimer'](),this[_0x1664ef(0x277)]();}['_rescheduleHeartbeat'](){var _0x224484=_0x199ec4,_0xd8232b;this[_0x224484(0x1bf)](),this[_0x224484(0x264)]=setTimeout(()=>this[_0x224484(0x2bf)](),(_0xd8232b=this[_0x224484(0x44e)]['getConfig'](vt))!=null?_0xd8232b:Ht);}[_0x199ec4(0x2bf)](){var _0x595b96=_0x199ec4;this[_0x595b96(0x2d1)]['send']({'cmd':W[_0x595b96(0x18b)]}),this[_0x595b96(0x2ad)]();}[_0x199ec4(0x2ad)](){var _0xd36950=_0x199ec4,_0x5eeb76;this[_0xd36950(0x308)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5eeb76=this['_configService'][_0xd36950(0x2d8)](ke))!=null?_0x5eeb76:St);}['_clearHeartbeatTimer'](){var _0x1d1035=_0x199ec4;this[_0x1d1035(0x264)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x199ec4(0x298)](){var _0x390a34=_0x199ec4;this[_0x390a34(0x308)]!=null&&(clearTimeout(this[_0x390a34(0x308)]),this[_0x390a34(0x308)]=null);}},exports[_0x199ec4(0x2f5)]=si([he(0x0,a[_0x199ec4(0x2b7)](a['Injector'])),he(0x1,a['ILogService']),he(0x2,a[_0x199ec4(0x3e7)]),he(0x3,He),he(0x4,a['Inject'](ee)),he(0x5,a[_0x199ec4(0x341)](mt))],exports[_0x199ec4(0x2f5)]);const q=a[_0x199ec4(0x200)](_0x199ec4(0x3e5));function oi(_0x76c5a0){return'unit-cache-'+_0x76c5a0;}var ai=Object[_0x199ec4(0x244)],ci=(_0x4ba7d4,_0x42bd13,_0x5602ee,_0x35e7f9)=>{for(var _0x8441e9=_0x35e7f9>0x1?void 0x0:_0x35e7f9?ai(_0x42bd13,_0x5602ee):_0x42bd13,_0x294d32=_0x4ba7d4['length']-0x1,_0x15a4d2;_0x294d32>=0x0;_0x294d32--)(_0x15a4d2=_0x4ba7d4[_0x294d32])&&(_0x8441e9=_0x15a4d2(_0x8441e9)||_0x8441e9);return _0x8441e9;},De=(_0x374e65,_0x3e8d14)=>(_0x3fe886,_0x4228f3)=>_0x3e8d14(_0x3fe886,_0x4228f3,_0x374e65);function _0x3c30(_0x3f310d,_0x4202a3){var _0x3d520c=_0x3d52();return _0x3c30=function(_0x3c3064,_0x3fa183){_0x3c3064=_0x3c3064-0x174;var _0x23dbe4=_0x3d520c[_0x3c3064];return _0x23dbe4;},_0x3c30(_0x3f310d,_0x4202a3);}function hi(_0x4cde55){var _0x11f4c0=_0x199ec4;const {unitID:_0x4642e9,mutations:_0x48fcff}=_0x4cde55;return{'unitId':_0x4642e9,'subUnitId':_0x48fcff[0x0][_0x11f4c0(0x3b0)]['subUnitId']};}exports[_0x199ec4(0x3f0)]=class{constructor(_0x31bc49,_0x34a8f8,_0x247a51){var _0x350abc=_0x199ec4;this[_0x350abc(0x2ed)]=_0x31bc49,this[_0x350abc(0x324)]=_0x34a8f8,this[_0x350abc(0x448)]=_0x247a51;}[_0x199ec4(0x445)](_0x2ddc28){var _0x162c6d=_0x199ec4,_0x1d79ed,_0x23ada6,_0x1c1556,_0x36f3e0;const _0x1f1d1a=this['_injector'][_0x162c6d(0x25b)](X['SheetsSelectionsService']),{unitId:_0x23b2e0,subUnitId:_0x55747a}=hi(_0x2ddc28),_0x2811d8=_0x1f1d1a==null?void 0x0:_0x1f1d1a['getWorkbookSelections'](_0x23b2e0)[_0x162c6d(0x43e)](),_0x5a3fe9=(_0x23ada6=(_0x1d79ed=this[_0x162c6d(0x448)][_0x162c6d(0x488)](_0x23b2e0))==null?void 0x0:_0x1d79ed[_0x162c6d(0x42d)]())==null?void 0x0:_0x23ada6[_0x162c6d(0x4b7)]();if(_0x2811d8[_0x162c6d(0x418)]===0x0||!_0x23b2e0||!_0x55747a)return;const _0x3662ae=[{'id':X[_0x162c6d(0x394)]['id'],'params':{'unitId':_0x23b2e0,'subUnitId':_0x5a3fe9,'selections':a['Tools']['deepClone'](_0x2811d8)}}],_0x1091a4=this[_0x162c6d(0x324)]['transformMutationsWithChangeset'](_0x2ddc28,_0x3662ae);if(!I[_0x162c6d(0x22d)](_0x1091a4))throw _0x1091a4[_0x162c6d(0x4af)];const _0x5ba036=(_0x36f3e0=(_0x1c1556=_0x1091a4[_0x162c6d(0x361)][0x0])==null?void 0x0:_0x1c1556[_0x162c6d(0x3b0)])==null?void 0x0:_0x36f3e0[_0x162c6d(0x23d)];if(Array[_0x162c6d(0x490)](_0x5ba036)&&_0x5ba036[_0x162c6d(0x418)]){if(_0x5ba036[_0x162c6d(0x418)]===_0x3662ae[0x0][_0x162c6d(0x3b0)][_0x162c6d(0x23d)][_0x162c6d(0x418)]&&_0x5ba036[_0x162c6d(0x284)]((_0x449765,_0x1e135f)=>a['Rectangle'][_0x162c6d(0x4e4)](_0x449765['range'],_0x3662ae[0x0]['params'][_0x162c6d(0x23d)][_0x1e135f][_0x162c6d(0x3c5)])))return;this[_0x162c6d(0x2ed)][_0x162c6d(0x25b)](a[_0x162c6d(0x296)])[_0x162c6d(0x4e0)](X['SetSelectionsOperation']['id'],{'unitId':_0x23b2e0,'subUnitId':_0x5a3fe9,'selections':_0x5ba036});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a['Inject'](a[_0x199ec4(0x236)])),De(0x1,I['ITransformService']),De(0x2,a[_0x199ec4(0x1ec)])],exports[_0x199ec4(0x3f0)]);const de=a[_0x199ec4(0x200)](_0x199ec4(0x234));var je=(_0x402185=>(_0x402185[_0x402185[_0x199ec4(0x360)]=0x0]=_0x199ec4(0x360),_0x402185[_0x402185[_0x199ec4(0x240)]=0x1]=_0x199ec4(0x240),_0x402185))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x154f8a,_0x5b89f6,_0x2f55de,_0x342fac,_0x481dec){var _0x21c695=_0x199ec4,_0x29aab6,_0x25edff,_0x66f556,_0x2e3336;const _0x17bacb=[];for(const _0xe67c00 of _0x154f8a)if(_i[_0x21c695(0x1d5)](_0xe67c00['id'])){if(_0x17bacb[_0x21c695(0x418)]>0x0)break;_0x17bacb['push'](_0xe67c00);break;}else _0x17bacb[_0x21c695(0x4cf)](_0xe67c00);const _0x576902=(_0x25edff=(_0x29aab6=_0x481dec[_0x21c695(0x1ae)]())==null?void 0x0:_0x29aab6[_0x21c695(0x416)])!=null?_0x25edff:_0x21c695(0x19c),_0x34d5ec=(_0x2e3336=(_0x66f556=_0x481dec[_0x21c695(0x1ae)]())==null?void 0x0:_0x66f556['memberID'])!=null?_0x2e3336:_0x21c695(0x19c);return{'changeset':{'unitID':_0x5b89f6,'type':I[_0x21c695(0x3b6)](_0x2f55de[_0x21c695(0x412)](_0x5b89f6)),'baseRev':_0x342fac['getCurrentRevOfUnit'](_0x5b89f6),'revision':0x0,'userID':_0x576902,'memberID':_0x34d5ec,'mutations':_0x17bacb},'pendingMutations':_0x154f8a['slice'](_0x17bacb[_0x21c695(0x418)])};}function li(_0x117a49,_0x340036,_0x37523e,_0x3bac4e,_0x267b7b){var _0x585aa2=_0x199ec4,_0x297714,_0x2ec625,_0x575cf4,_0x8bf30;const _0x3a7a99=[_0x117a49['reduce']((_0x58f035,_0x394858)=>{var _0x1025a0=_0x3c30,_0x17e8a8;const {id:_0x5db51e}=_0x58f035,{id:_0x2145bb,type:_0x4ec630}=_0x394858,_0x3ef53b=(_0x17e8a8=_0x58f035['params'])!=null?_0x17e8a8:{'actions':null},_0x4bc758=_0x394858['params'];if(_0x5db51e&&_0x5db51e!==_0x2145bb)throw new Error(_0x1025a0(0x40f)+_0x5db51e+_0x1025a0(0x317)+_0x2145bb+'.');return{..._0x58f035,'id':_0x2145bb,'type':_0x4ec630,'params':{'unitId':_0x4bc758[_0x1025a0(0x207)],'textRanges':_0x4bc758[_0x1025a0(0x421)],'actions':a[_0x1025a0(0x3ce)][_0x1025a0(0x300)](_0x3ef53b[_0x1025a0(0x349)],_0x4bc758[_0x1025a0(0x349)])}};},{})],_0x4b4f96=(_0x2ec625=(_0x297714=_0x267b7b[_0x585aa2(0x1ae)]())==null?void 0x0:_0x297714[_0x585aa2(0x416)])!=null?_0x2ec625:_0x585aa2(0x19c),_0x53631d=(_0x8bf30=(_0x575cf4=_0x267b7b[_0x585aa2(0x1ae)]())==null?void 0x0:_0x575cf4['memberID'])!=null?_0x8bf30:'unknown';return{'changeset':{'unitID':_0x340036,'type':I[_0x585aa2(0x3b6)](_0x37523e[_0x585aa2(0x412)](_0x340036)),'baseRev':_0x3bac4e[_0x585aa2(0x440)](_0x340036),'revision':0x0,'userID':_0x4b4f96,'memberID':_0x53631d,'mutations':_0x3a7a99},'pendingMutations':[]};}function bt(_0x2af3a5,_0x5cd184){var _0xfc9953=_0x199ec4;const _0x2e543f=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x2e543f[_0xfc9953(0x1b3)](_0x5cd184),_0x2af3a5),_0x2e543f[_0xfc9953(0x206)]()[_0xfc9953(0x4ae)]($[_0xfc9953(0x4b3)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x199ec4(0x4e3)][_0x199ec4(0x275)],'params':{}};var di=Object[_0x199ec4(0x244)],ae=(_0x9e8abd,_0x33ec28,_0x462fc5,_0x467be7)=>{var _0x56a2ba=_0x199ec4;for(var _0x206392=_0x467be7>0x1?void 0x0:_0x467be7?di(_0x33ec28,_0x462fc5):_0x33ec28,_0x10d064=_0x9e8abd[_0x56a2ba(0x418)]-0x1,_0x4ade1c;_0x10d064>=0x0;_0x10d064--)(_0x4ade1c=_0x9e8abd[_0x10d064])&&(_0x206392=_0x4ade1c(_0x206392)||_0x206392);return _0x206392;},w=(_0x129ced,_0x4cd146)=>(_0x753b45,_0x316d46)=>_0x4cd146(_0x753b45,_0x316d46,_0x129ced),Be=(_0x1a3f1a=>(_0x1a3f1a[_0x199ec4(0x30c)]=_0x199ec4(0x44d),_0x1a3f1a[_0x199ec4(0x2e7)]=_0x199ec4(0x26b),_0x1a3f1a[_0x199ec4(0x316)]=_0x199ec4(0x398),_0x1a3f1a['AWAITING']=_0x199ec4(0x1ab),_0x1a3f1a['AWAITING_WITH_PENDING']=_0x199ec4(0x25a),_0x1a3f1a[_0x199ec4(0x439)]=_0x199ec4(0x1c4),_0x1a3f1a['CONFLICT']=_0x199ec4(0x34f),_0x1a3f1a['OFFLINE']=_0x199ec4(0x4c1),_0x1a3f1a))(Be||{});const Rt=0xea60;class ce{constructor(_0x1d9e5e,_0x126e44,_0x375fd8,_0x28734f,_0x5f5939,_0x4b2b98,_0x1532d3,_0x33cdc2,_0x512a3f){var _0x565f32=_0x199ec4;A(this,_0x565f32(0x4b9),null),A(this,_0x565f32(0x31f),[]),(this[_0x565f32(0x2df)]=_0x1d9e5e,this[_0x565f32(0x4c6)]=_0x126e44,this['_handler']=_0x5f5939,this[_0x565f32(0x433)]=_0x4b2b98,this[_0x565f32(0x2c2)]=_0x1532d3,this['_revisionService']=_0x33cdc2,this[_0x565f32(0x33c)]=_0x512a3f,this[_0x565f32(0x4b9)]=_0x375fd8,this['_pendingMutations']=_0x28734f);}[_0x199ec4(0x4e9)](_0x3ccb90){var _0x7c7f2a=_0x199ec4;const _0x48a405=this[_0x7c7f2a(0x367)][_0x7c7f2a(0x440)](this[_0x7c7f2a(0x2df)]);return _0x3ccb90['revision']>_0x48a405+0x1?(this[_0x7c7f2a(0x36b)][_0x7c7f2a(0x380)]({'from':_0x48a405,'to':_0x3ccb90[_0x7c7f2a(0x3e8)]-0x1}),!0x0):!0x1;}[_0x199ec4(0x274)](_0x333d03){var _0x1fcbd8=_0x199ec4;this['_undoRedoService']['transformUndoRedo'](this[_0x1fcbd8(0x2df)],_0x333d03);}[_0x199ec4(0x1fe)](_0x33f1fb){var _0x1de46b=_0x199ec4,_0x3ba457,_0x5a55ad;(_0x5a55ad=(_0x3ba457=this[_0x1de46b(0x36b)])[_0x1de46b(0x41a)])==null||_0x5a55ad[_0x1de46b(0x1cb)](_0x3ba457,_0x33f1fb);}['_transformIMECache'](_0x416a07){var _0xeeb25c=_0x199ec4,_0x5e9c7e,_0x2f16ab;return(_0x2f16ab=(_0x5e9c7e=this['_handler'])[_0xeeb25c(0x33d)])==null?void 0x0:_0x2f16ab[_0xeeb25c(0x1cb)](_0x5e9c7e,_0x416a07);}['_transformStateCache'](_0x39922d){var _0x4e3880=_0x199ec4,_0x363150,_0x29eb83;return(_0x29eb83=(_0x363150=this['_handler'])[_0x4e3880(0x403)])==null?void 0x0:_0x29eb83[_0x4e3880(0x1cb)](_0x363150,_0x39922d);}[_0x199ec4(0x186)](_0x1126f3){var _0x3fb646=_0x199ec4,_0x486f59,_0x5dc162,_0x15f1bf;return(_0x15f1bf=(_0x5dc162=(_0x486f59=this['_handler'])[_0x3fb646(0x2fe)])==null?void 0x0:_0x5dc162[_0x3fb646(0x1cb)](_0x486f59,_0x1126f3))!=null?_0x15f1bf:_0x1126f3;}[_0x199ec4(0x2b1)](_0x4d2254){var _0x28dfa3=_0x199ec4,_0x277e4f,_0x504465,_0x30c87b;return(_0x30c87b=(_0x504465=(_0x277e4f=this[_0x28dfa3(0x36b)])[_0x28dfa3(0x3eb)])==null?void 0x0:_0x504465[_0x28dfa3(0x1cb)](_0x277e4f,_0x4d2254))!=null?_0x30c87b:_0x4d2254;}[_0x199ec4(0x36e)](_0x1d3b3f){var _0x12d3e4=_0x199ec4,_0xef5bb6,_0xa441aa;if(this[_0x12d3e4(0x4c6)]===J['UNIVER_DOC']){const {unitID:_0x34446a,mutations:_0x3cc57f,memberID:_0x1d6ce1}=_0x1d3b3f,_0x192253=_0x3cc57f[0x0]['params'][_0x12d3e4(0x421)];Array[_0x12d3e4(0x490)](_0x192253)&&_0x192253[_0x12d3e4(0x418)]>0x0&&((_0xa441aa=(_0xef5bb6=this[_0x12d3e4(0x36b)])[_0x12d3e4(0x1ad)])==null||_0xa441aa[_0x12d3e4(0x1cb)](_0xef5bb6,{'unitID':_0x34446a,'memberID':_0x1d6ce1,'textRanges':_0x192253}));}}[_0x199ec4(0x1d8)](){var _0x52cce4=_0x199ec4,_0x20c1f1;(_0x20c1f1=this['_localCacheService'])==null||_0x20c1f1['updateOfflineData'](this[_0x52cce4(0x2df)],this[_0x52cce4(0x4c6)],this['_awaitingChangeset'],this[_0x52cce4(0x31f)]);}[_0x199ec4(0x393)](){var _0x49a406=_0x199ec4;return this[_0x49a406(0x367)]['getCurrentRevOfUnit'](this[_0x49a406(0x2df)]);}['_incrementRevisionNumber'](){var _0x321128=_0x199ec4;this['_revisionService'][_0x321128(0x282)](this['unitID']);}['_executeRemoteChangeset'](_0x29ff30){var _0x278d89=_0x199ec4,_0x4b319e;let _0x470817=this[_0x278d89(0x186)](_0x29ff30);_0x470817=this[_0x278d89(0x2b1)](_0x470817);const _0x3dcb39=a[_0x278d89(0x2ce)](_0x470817[_0x278d89(0x36c)],this[_0x278d89(0x433)],{'fromCollab':!0x0});if(!_0x3dcb39[_0x278d89(0x20b)])throw _0x3dcb39['error']instanceof Error?_0x3dcb39[_0x278d89(0x4af)]:new Error((_0x4b319e=_0x3dcb39[_0x278d89(0x4af)])!=null?_0x4b319e:'[CollaborationState]:\x20apply\x20error!');this[_0x278d89(0x450)](_0x470817),this[_0x278d89(0x312)](_0x470817),this[_0x278d89(0x274)](_0x29ff30),this['_transformSelections'](_0x470817),this[_0x278d89(0x36e)](_0x470817),this[_0x278d89(0x301)]();}}exports[_0x199ec4(0x49d)]=class extends ce{constructor(_0x168ace,_0x3b613c,_0x3f1757,_0x138b78,_0x27c1a5,_0x201be1,_0x2ab37e,_0x3201f5,_0x4f063b,_0x194e28){var _0x20effb=_0x199ec4;super(_0x168ace,_0x3b613c,null,[],_0x3f1757,_0x2ab37e,_0x201be1,_0x138b78,_0x194e28),A(this,_0x20effb(0x386),_0x20effb(0x26b)),(this[_0x20effb(0x2ed)]=_0x27c1a5,this[_0x20effb(0x309)]=_0x3201f5,this[_0x20effb(0x324)]=_0x4f063b,this[_0x20effb(0x43f)]=_0x194e28);}[_0x199ec4(0x3ba)](_0x39ce95){var _0x1c7498=_0x199ec4;const _0x4b192a=this[_0x1c7498(0x2ed)][_0x1c7498(0x3a7)](exports['PendingState'],this[_0x1c7498(0x2df)],this[_0x1c7498(0x4c6)],[_0x39ce95],this[_0x1c7498(0x36b)]);return _0x4b192a[_0x1c7498(0x458)](),_0x4b192a[_0x1c7498(0x1d8)](),_0x4b192a;}[_0x199ec4(0x1ff)](_0xc407f3){var _0x3b4d06=_0x199ec4;if(this[_0x3b4d06(0x4e9)](_0xc407f3))return this[_0x3b4d06(0x2ed)][_0x3b4d06(0x3a7)](exports[_0x3b4d06(0x3fa)],this['unitID'],this[_0x3b4d06(0x4c6)],null,[],null,[_0xc407f3],this[_0x3b4d06(0x36b)]);try{const _0x51d402=this[_0x3b4d06(0x324)][_0x3b4d06(0x202)](_0xc407f3,[ui]);if(I[_0x3b4d06(0x22d)](_0x51d402)){const {c1Prime:_0x29a1fc}=_0x51d402;return this['_executeRemoteChangeset'](_0x29a1fc),this;}throw _0x51d402[_0x3b4d06(0x4af)];}catch(_0x226e95){return this[_0x3b4d06(0x309)][_0x3b4d06(0x4af)](_0x226e95),this['_onConflict'](!0x1);}}[_0x199ec4(0x1b1)](_0x42aa75){var _0x5a5d54=_0x199ec4;return this[_0x5a5d54(0x2ed)][_0x5a5d54(0x3a7)](exports[_0x5a5d54(0x33e)],this['unitID'],this['type'],null,[],this[_0x5a5d54(0x36b)],_0x42aa75);}['onRemoteAck'](){var _0x147741=_0x199ec4;throw new Error(_0x147741(0x2b5));}[_0x199ec4(0x320)](){var _0x5afb4c=_0x199ec4;throw new Error(_0x5afb4c(0x190));}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){var _0xdc2bda=_0x199ec4;return this[_0xdc2bda(0x2ed)][_0xdc2bda(0x3a7)](exports[_0xdc2bda(0x2db)],this[_0xdc2bda(0x2df)],this[_0xdc2bda(0x4c6)],null,[],this[_0xdc2bda(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x2c5)](){var _0x9f2ff3=_0x199ec4;throw new Error(_0x9f2ff3(0x362));}[_0x199ec4(0x1c9)](){var _0x4e7908=_0x199ec4;const _0xedfb08=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4e7908(0x36b)][_0x4e7908(0x380)]({'from':_0xedfb08,'to':0x0}),this[_0x4e7908(0x2ed)][_0x4e7908(0x3a7)](exports[_0x4e7908(0x3fa)],this[_0x4e7908(0x2df)],this[_0x4e7908(0x4c6)],null,[],null,[],this[_0x4e7908(0x36b)]);}},exports[_0x199ec4(0x49d)]=ae([w(0x3,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x4,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x199ec4(0x296)]),w(0x7,a[_0x199ec4(0x37e)]),w(0x8,I[_0x199ec4(0x4a9)]),w(0x9,a['Optional'](q))],exports[_0x199ec4(0x49d)]),exports[_0x199ec4(0x246)]=class extends ce{constructor(_0x1543e0,_0x4d34e6,_0x6c2a15,_0x4290a8,_0x1b9070,_0xb27efb,_0x4ce8c9,_0x3f6d5a,_0x5418f9,_0x56c4bc,_0x2f4579,_0x529735,_0x4cdd9e,_0x570208){var _0x3e031a=_0x199ec4;super(_0x1543e0,_0x4d34e6,null,_0x6c2a15,_0x4290a8,_0x5418f9,_0x4cdd9e,_0xb27efb,_0x570208),A(this,_0x3e031a(0x386),_0x3e031a(0x398)),A(this,_0x3e031a(0x237),null),A(this,_0x3e031a(0x21b),null),(this[_0x3e031a(0x2ed)]=_0x1b9070,this[_0x3e031a(0x2f2)]=_0x4ce8c9,this[_0x3e031a(0x309)]=_0x3f6d5a,this[_0x3e031a(0x44e)]=_0x56c4bc,this[_0x3e031a(0x324)]=_0x2f4579,this['_univerInstanceService']=_0x529735);}[_0x199ec4(0x3ba)](_0xadb14){var _0x5dd357=_0x199ec4;return this[_0x5dd357(0x31f)]['push'](_0xadb14),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0xb8d0e4){var _0x3fc866=_0x199ec4;if(this[_0x3fc866(0x4e9)](_0xb8d0e4))return this[_0x3fc866(0x4c4)](),this[_0x3fc866(0x2ed)][_0x3fc866(0x3a7)](exports['FetchingMissState'],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0xb8d0e4],this[_0x3fc866(0x36b)]);try{const _0x5abce8=this[_0x3fc866(0x324)][_0x3fc866(0x202)](_0xb8d0e4,this['_pendingMutations']);if(I[_0x3fc866(0x22d)](_0x5abce8)){const {c1Prime:_0x55ad77,m2Prime:_0x22226b}=_0x5abce8;this[_0x3fc866(0x28d)](_0x55ad77);const _0x36e758=this[_0x3fc866(0x2ed)][_0x3fc866(0x3a7)](exports['PendingState'],this[_0x3fc866(0x2df)],this[_0x3fc866(0x4c6)],_0x22226b,this['_handler']);this[_0x3fc866(0x4c4)]();const _0x4a9d7c=new Date()['getTime'](),_0x2bdf56=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x3fc866(0x237)]-_0x4a9d7c,0x0):this[_0x3fc866(0x3d5)]();return _0x36e758['_schedule'](_0x2bdf56),_0x36e758;}throw _0x5abce8['error'];}catch(_0x581d6b){return this[_0x3fc866(0x309)][_0x3fc866(0x4af)](_0x581d6b),this['_onConflict'](!0x1);}}[_0x199ec4(0x484)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x199ec4(0x320)](){var _0x1f4896=_0x199ec4;throw new Error(_0x1f4896(0x2cb));}[_0x199ec4(0x2b8)](){return this;}[_0x199ec4(0x2d7)](){var _0x53843d=_0x199ec4;return this['_clearScheduledTask'](),this['_injector']['createInstance'](exports[_0x53843d(0x2db)],this[_0x53843d(0x2df)],this['type'],null,this['_pendingMutations'],this[_0x53843d(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x458)](_0xd960b6){var _0x190f7e=_0x199ec4;const _0x3a68dd=_0xd960b6!=null?_0xd960b6:this[_0x190f7e(0x3d5)]();this[_0x190f7e(0x237)]=new Date()[_0x190f7e(0x270)]()+_0x3a68dd,this[_0x190f7e(0x21b)]=setTimeout(()=>{var _0x8ce7e2=_0x190f7e;this[_0x8ce7e2(0x4c4)]();let _0x3153b5=null;switch(this['type']){case J[_0x8ce7e2(0x31a)]:{_0x3153b5=Ke(this['_pendingMutations'],this['unitID'],this[_0x8ce7e2(0x385)],this['_revisionService'],this[_0x8ce7e2(0x2f2)]);break;}case J[_0x8ce7e2(0x3fc)]:{this[_0x8ce7e2(0x31f)]['every'](_0x1565f2=>_0x1565f2['id']===ht[_0x8ce7e2(0x4b8)]['id'])?_0x3153b5=li(this['_pendingMutations'],this[_0x8ce7e2(0x2df)],this['_univerInstanceService'],this[_0x8ce7e2(0x367)],this[_0x8ce7e2(0x2f2)]):_0x3153b5=Ke(this['_pendingMutations'],this[_0x8ce7e2(0x2df)],this[_0x8ce7e2(0x385)],this[_0x8ce7e2(0x367)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x1e83d4,pendingMutations:_0x370d6c}=_0x3153b5;this[_0x8ce7e2(0x36b)][_0x8ce7e2(0x2f7)](_0x1e83d4);const _0x382b39=_0x370d6c[_0x8ce7e2(0x418)]?this[_0x8ce7e2(0x2ed)]['createInstance'](exports[_0x8ce7e2(0x351)],this[_0x8ce7e2(0x2df)],this[_0x8ce7e2(0x4c6)],_0x1e83d4,_0x370d6c,this[_0x8ce7e2(0x36b)],void 0x0):this['_injector'][_0x8ce7e2(0x3a7)](exports[_0x8ce7e2(0x40c)],this['unitID'],this[_0x8ce7e2(0x4c6)],_0x1e83d4,this['_handler']);_0x382b39[_0x8ce7e2(0x1d8)](),this[_0x8ce7e2(0x36b)][_0x8ce7e2(0x3cb)](this,_0x382b39);},_0x3a68dd);}[_0x199ec4(0x3d5)](){var _0x249a14=_0x199ec4,_0x906ca2;const _0x3460ef=this[_0x249a14(0x44e)]['getConfig'](K);return(_0x906ca2=_0x3460ef==null?void 0x0:_0x3460ef[_0x249a14(0x247)])!=null?_0x906ca2:xt;}[_0x199ec4(0x2c5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x199ec4(0x4c4)](){var _0x1d7787=_0x199ec4;this[_0x1d7787(0x21b)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x199ec4(0x1b1)](_0x144143){var _0x3e20a3=_0x199ec4;return this['_clearScheduledTask'](),this['_injector'][_0x3e20a3(0x3a7)](exports[_0x3e20a3(0x33e)],this[_0x3e20a3(0x2df)],this[_0x3e20a3(0x4c6)],null,this[_0x3e20a3(0x31f)],this[_0x3e20a3(0x36b)],_0x144143);}},exports['PendingState']=ae([w(0x4,a['Inject'](a[_0x199ec4(0x236)])),w(0x5,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x6,a[_0x199ec4(0x2b7)](exports['MemberService'])),w(0x7,a[_0x199ec4(0x37e)]),w(0x8,a[_0x199ec4(0x296)]),w(0x9,a[_0x199ec4(0x3e7)]),w(0xa,I[_0x199ec4(0x4a9)]),w(0xb,a[_0x199ec4(0x1ec)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x199ec4(0x341)](q))],exports['PendingState']),exports['AwaitingState']=class extends ce{constructor(_0x28cca2,_0x31f868,_0x296de0,_0x49db41,_0x1270dc,_0x5b6d7a,_0x2acafd,_0x424655,_0x237893,_0x4601fb,_0x3bbc72){var _0x3620cf=_0x199ec4;super(_0x28cca2,_0x31f868,_0x296de0,[],_0x49db41,_0x2acafd,_0x4601fb,_0x5b6d7a,_0x3bbc72),A(this,_0x3620cf(0x386),_0x3620cf(0x1ab)),A(this,'_resendTimeout',0x0),A(this,_0x3620cf(0x2fb)),A(this,_0x3620cf(0x26c)),(this[_0x3620cf(0x2ed)]=_0x1270dc,this['_logService']=_0x424655,this[_0x3620cf(0x324)]=_0x237893);}[_0x199ec4(0x3ba)](_0x44b9eb){var _0x194e49=_0x199ec4;this['_clearScheduledTask']();const _0x1ca8f4=this['_injector'][_0x194e49(0x3a7)](exports[_0x194e49(0x351)],this[_0x194e49(0x2df)],this[_0x194e49(0x4c6)],this[_0x194e49(0x4b9)],[_0x44b9eb],this[_0x194e49(0x36b)],this[_0x194e49(0x2fb)]);return _0x1ca8f4[_0x194e49(0x1d8)](),_0x1ca8f4;}[_0x199ec4(0x1ff)](_0x48014b){var _0x3ee8d7=_0x199ec4;if(this[_0x3ee8d7(0x4e9)](_0x48014b))return this[_0x3ee8d7(0x4c4)](),this['_injector'][_0x3ee8d7(0x3a7)](exports[_0x3ee8d7(0x3fa)],this['unitID'],this[_0x3ee8d7(0x4c6)],this[_0x3ee8d7(0x4b9)],[],null,[_0x48014b],this['_handler']);try{const _0x107611=this['_transformService'][_0x3ee8d7(0x22e)]([_0x48014b],[this[_0x3ee8d7(0x4b9)]],!0x1);if(I[_0x3ee8d7(0x251)](_0x107611)){const {c1Prime:_0x548b4e,c2Prime:_0xc6f99e}=_0x107611;this['_executeRemoteChangeset'](_0x548b4e[0x0]),_0xc6f99e[0x0][_0x3ee8d7(0x238)]=this['_getCurrentRevision'](),this[_0x3ee8d7(0x4c4)]();const _0x1f0f49=this[_0x3ee8d7(0x2ed)][_0x3ee8d7(0x3a7)](exports['AwaitingState'],this[_0x3ee8d7(0x2df)],this[_0x3ee8d7(0x4c6)],_0xc6f99e[0x0],this['_handler']);return _0x1f0f49['_updateLocalCache'](),_0x1f0f49;}return this[_0x3ee8d7(0x1b1)](!0x1);}catch(_0x6e47d1){return this['_logService'][_0x3ee8d7(0x4af)](_0x6e47d1),this[_0x3ee8d7(0x1b1)](!0x1);}}[_0x199ec4(0x484)](_0x28f725){var _0x257a9c=_0x199ec4;this[_0x257a9c(0x4c4)]();const _0x5b2d07=this[_0x257a9c(0x367)][_0x257a9c(0x440)](this[_0x257a9c(0x2df)]);if(_0x28f725[_0x257a9c(0x3e8)]<_0x5b2d07-0x1)return this;if(this[_0x257a9c(0x4e9)](_0x28f725))return this[_0x257a9c(0x2ed)][_0x257a9c(0x3a7)](exports['FetchingMissState'],this[_0x257a9c(0x2df)],this['type'],null,[],this[_0x257a9c(0x4b9)],[],this[_0x257a9c(0x36b)]);this[_0x257a9c(0x301)]();const _0x46b422=this[_0x257a9c(0x2ed)]['createInstance'](exports[_0x257a9c(0x49d)],this[_0x257a9c(0x2df)],this['type'],this[_0x257a9c(0x36b)]);return _0x46b422[_0x257a9c(0x1d8)](),_0x46b422;}[_0x199ec4(0x320)](_0x2eaef1){var _0x4939c5=_0x199ec4;return this[_0x4939c5(0x1b1)](!!(_0x2eaef1!=null&&_0x2eaef1[_0x4939c5(0x198)]));}[_0x199ec4(0x2b8)](_0x2d74b0){var _0x20e699=_0x199ec4;return this[_0x20e699(0x2b6)]>Rt?this[_0x20e699(0x2d7)]():(this[_0x20e699(0x2fb)]=bt(this[_0x20e699(0x2b6)],{'timeout':this[_0x20e699(0x2b6)],'reqId':_0x2d74b0[_0x20e699(0x1ee)]}),this[_0x20e699(0x26c)]=this[_0x20e699(0x2fb)]['subscribe'](({reqId:_0x60273f,timeout:_0x5240ab})=>{var _0x1e4436=_0x20e699;this[_0x1e4436(0x3c7)](_0x60273f,_0x5240ab);}),this);}[_0x199ec4(0x2d7)](){var _0x279002=_0x199ec4;return this[_0x279002(0x4c4)](),this[_0x279002(0x2ed)]['createInstance'](exports[_0x279002(0x2db)],this[_0x279002(0x2df)],this[_0x279002(0x4c6)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x199ec4(0x2c5)](){var _0x51ef3=_0x199ec4;this[_0x51ef3(0x36b)]['onSendChangeset'](this[_0x51ef3(0x4b9)]);}[_0x199ec4(0x1b1)](_0x4b83fd){var _0x19b050=_0x199ec4;return this[_0x19b050(0x4c4)](),this['_injector'][_0x19b050(0x3a7)](exports[_0x19b050(0x33e)],this[_0x19b050(0x2df)],this[_0x19b050(0x4c6)],this[_0x19b050(0x4b9)],[],this['_handler'],_0x4b83fd);}[_0x199ec4(0x3c7)](_0x531228,_0x13e959){var _0x1a0819=_0x199ec4,_0xced85b;_0x531228===((_0xced85b=this[_0x1a0819(0x4b9)])==null?void 0x0:_0xced85b[_0x1a0819(0x1ee)])&&(this['resend'](),this[_0x1a0819(0x2b6)]=_0x13e959===0x0?0x3e8:_0x13e959*0x2);}[_0x199ec4(0x4c4)](){var _0x4aa006=_0x199ec4,_0x1782b7;(_0x1782b7=this[_0x4aa006(0x26c)])==null||_0x1782b7[_0x4aa006(0x177)](),this[_0x4aa006(0x2b6)]=0x0;}},exports[_0x199ec4(0x40c)]=ae([w(0x4,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a[_0x199ec4(0x296)]),w(0x7,a['ILogService']),w(0x8,I[_0x199ec4(0x4a9)]),w(0x9,a[_0x199ec4(0x463)]),w(0xa,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x40c)]),exports[_0x199ec4(0x351)]=class extends ce{constructor(_0x425803,_0x41ac4f,_0x5ad918,_0x223683,_0x465685,_0x4ba4de,_0x1e8057,_0x275715,_0x3fcf18,_0x466559,_0x26cdb8,_0xce7e17,_0x3b6eca){var _0x550859=_0x199ec4;super(_0x425803,_0x41ac4f,_0x5ad918,_0x223683,_0x465685,_0x3fcf18,_0xce7e17,_0x275715,_0x3b6eca),A(this,'status',_0x550859(0x25a)),A(this,_0x550859(0x2b6),0x0),A(this,_0x550859(0x2fb)),A(this,'_sender'),(this[_0x550859(0x2ed)]=_0x1e8057,this[_0x550859(0x309)]=_0x466559,this[_0x550859(0x324)]=_0x26cdb8,this[_0x550859(0x43f)]=_0x3b6eca,_0x4ba4de&&(this['_resendTimer']=_0x4ba4de,this[_0x550859(0x26c)]=this[_0x550859(0x2fb)][_0x550859(0x483)](({reqId:_0x1b6018,timeout:_0x466d0a})=>{this['_resendWithTimeout'](_0x1b6018,_0x466d0a);})));}['appendMutation'](_0x57ef44){var _0x5b6b40=_0x199ec4;return this['_pendingMutations'][_0x5b6b40(0x4cf)](_0x57ef44),this;}[_0x199ec4(0x1ff)](_0x431dbf){var _0x38f9e9=_0x199ec4;if(this[_0x38f9e9(0x4e9)](_0x431dbf))return this[_0x38f9e9(0x4c4)](),this['_injector'][_0x38f9e9(0x3a7)](exports[_0x38f9e9(0x3fa)],this[_0x38f9e9(0x2df)],this['type'],this[_0x38f9e9(0x4b9)],this[_0x38f9e9(0x31f)],null,[_0x431dbf],this[_0x38f9e9(0x36b)]);try{const _0x54eec2=this[_0x38f9e9(0x324)][_0x38f9e9(0x22e)]([_0x431dbf],[this[_0x38f9e9(0x4b9)]],!0x1);if(I[_0x38f9e9(0x251)](_0x54eec2)){const {c1Prime:_0x5103c9,c2Prime:_0x27e6bb}=_0x54eec2,_0xff29d0=this[_0x38f9e9(0x324)][_0x38f9e9(0x202)](_0x5103c9[0x0],this[_0x38f9e9(0x31f)]);if(I[_0x38f9e9(0x22d)](_0xff29d0)){const {c1Prime:_0x4b3f58,m2Prime:_0x34add5}=_0xff29d0;return this[_0x38f9e9(0x28d)](_0x4b3f58),_0x27e6bb[0x0][_0x38f9e9(0x238)]=this[_0x38f9e9(0x393)](),this['_clearScheduledTask'](),this[_0x38f9e9(0x2ed)]['createInstance'](exports[_0x38f9e9(0x351)],this[_0x38f9e9(0x2df)],this['type'],_0x27e6bb[0x0],_0x34add5,this[_0x38f9e9(0x36b)],void 0x0);}throw _0xff29d0[_0x38f9e9(0x4af)];}throw _0x54eec2[_0x38f9e9(0x4af)];}catch(_0x5c4515){return this[_0x38f9e9(0x309)][_0x38f9e9(0x4af)](_0x5c4515),this[_0x38f9e9(0x1b1)](!0x1);}}[_0x199ec4(0x484)](_0x574d90){var _0x39d61d=_0x199ec4;if(this[_0x39d61d(0x4c4)](),this['_checkMissing'](_0x574d90))return this['_injector']['createInstance'](exports[_0x39d61d(0x3fa)],this[_0x39d61d(0x2df)],this[_0x39d61d(0x4c6)],null,this[_0x39d61d(0x31f)],this[_0x39d61d(0x4b9)],[],this[_0x39d61d(0x36b)]);this['_incrementRevisionNumber']();const _0x25757e=this['_injector'][_0x39d61d(0x3a7)](exports[_0x39d61d(0x246)],this[_0x39d61d(0x2df)],this[_0x39d61d(0x4c6)],this[_0x39d61d(0x31f)],this[_0x39d61d(0x36b)]);return _0x25757e['_schedule'](),_0x25757e[_0x39d61d(0x1d8)](),_0x25757e;}[_0x199ec4(0x320)](_0xe33568){var _0x300c08=_0x199ec4;return this[_0x300c08(0x1b1)](!!(_0xe33568!=null&&_0xe33568[_0x300c08(0x198)]));}['onRemoteRetry'](_0x2f41a9){var _0x4975f7=_0x199ec4;return this[_0x4975f7(0x2b6)]>Rt?this[_0x4975f7(0x2d7)]():(this[_0x4975f7(0x2fb)]=bt(this[_0x4975f7(0x2b6)],{'timeout':this[_0x4975f7(0x2b6)],'reqId':_0x2f41a9['reqId']}),this['_sender']=this[_0x4975f7(0x2fb)]['subscribe'](({reqId:_0x559851,timeout:_0x321a46})=>{var _0x106aab=_0x4975f7;this[_0x106aab(0x3c7)](_0x559851,_0x321a46);}),this);}[_0x199ec4(0x2d7)](){var _0x37a485=_0x199ec4;return this[_0x37a485(0x4c4)](),this[_0x37a485(0x2ed)][_0x37a485(0x3a7)](exports['OfflineState'],this[_0x37a485(0x2df)],this[_0x37a485(0x4c6)],this[_0x37a485(0x4b9)],this[_0x37a485(0x31f)],this[_0x37a485(0x36b)]);}[_0x199ec4(0x180)](){return this;}['resend'](){var _0x1b8f80=_0x199ec4;this['_handler'][_0x1b8f80(0x2f7)](this[_0x1b8f80(0x4b9)]);}[_0x199ec4(0x1b1)](_0x3a5347){var _0x15275d=_0x199ec4;return this[_0x15275d(0x4c4)](),this[_0x15275d(0x2ed)][_0x15275d(0x3a7)](exports['ConflictState'],this[_0x15275d(0x2df)],this[_0x15275d(0x4c6)],null,this[_0x15275d(0x31f)],this[_0x15275d(0x36b)],_0x3a5347);}[_0x199ec4(0x3c7)](_0x217f8a,_0x60fe02){var _0x24f0cb=_0x199ec4,_0x153b59;_0x217f8a===((_0x153b59=this[_0x24f0cb(0x4b9)])==null?void 0x0:_0x153b59[_0x24f0cb(0x1ee)])&&(this[_0x24f0cb(0x2c5)](),this[_0x24f0cb(0x2b6)]=_0x60fe02===0x0?0x3e8:_0x60fe02*0x2);}['_clearScheduledTask'](){var _0x4377e6=_0x199ec4,_0x405c85;(_0x405c85=this['_sender'])==null||_0x405c85[_0x4377e6(0x177)](),this['_resendTimeout']=0x0;}},exports['AwaitingWithPendingState']=ae([w(0x6,a['Inject'](a[_0x199ec4(0x236)])),w(0x7,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x8,a[_0x199ec4(0x296)]),w(0x9,a[_0x199ec4(0x37e)]),w(0xa,I[_0x199ec4(0x4a9)]),w(0xb,a[_0x199ec4(0x463)]),w(0xc,a[_0x199ec4(0x341)](q))],exports['AwaitingWithPendingState']),exports[_0x199ec4(0x33e)]=class extends ce{constructor(_0x170bb1,_0x345562,_0x26d30d,_0x47fd61,_0x2db69a,_0x580d70=!0x1,_0x4c9ff8,_0x17b7c0,_0x56a773,_0x416463,_0x3440e5,_0x2ea923,_0x2af088){var _0x18c2fc=_0x199ec4;super(_0x170bb1,_0x345562,_0x26d30d,_0x47fd61,_0x2db69a,_0x17b7c0,_0x56a773,_0x416463,_0x2af088),A(this,'status',_0x18c2fc(0x34f)),(this['_isPermissionRej']=_0x580d70,this[_0x18c2fc(0x476)]=_0x4c9ff8,this['_localeService']=_0x3440e5,this['_collaborationUIEventService']=_0x2ea923,this[_0x18c2fc(0x43f)]=_0x2af088,this[_0x18c2fc(0x297)](),this[_0x18c2fc(0x3a2)](),this[_0x18c2fc(0x3ae)]());}[_0x199ec4(0x3ba)](){return this;}[_0x199ec4(0x1ff)](){return this;}[_0x199ec4(0x484)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){return this;}['toggleOnline'](){return this;}[_0x199ec4(0x2c5)](){var _0x142193=_0x199ec4;throw new Error(_0x142193(0x4b0));}[_0x199ec4(0x3a2)](){var _0x11f823=_0x199ec4,_0x39647e;(_0x39647e=this[_0x11f823(0x33c)])==null||_0x39647e[_0x11f823(0x399)](this[_0x11f823(0x2df)],this[_0x11f823(0x4c6)],null,[]);}['_showConflictNotification'](){var _0x4c893e=_0x199ec4;this[_0x4c893e(0x1f3)]?this[_0x4c893e(0x4d2)][_0x4c893e(0x35f)]({'id':Z[_0x4c893e(0x256)]}):this[_0x4c893e(0x4d2)][_0x4c893e(0x35f)]({'id':Z[_0x4c893e(0x365)]});}[_0x199ec4(0x3ae)](){var _0x2a1b86=_0x199ec4;this[_0x2a1b86(0x476)][_0x2a1b86(0x185)](new X[(_0x2a1b86(0x332))](this[_0x2a1b86(0x2df)])['id'],!0x1);}},exports['ConflictState']=ae([w(0x6,a['Inject'](a[_0x199ec4(0x1d0)])),w(0x7,a[_0x199ec4(0x296)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0xa,a[_0x199ec4(0x2b7)](a['LocaleService'])),w(0xb,a[_0x199ec4(0x2b7)](ee)),w(0xc,a[_0x199ec4(0x341)](q))],exports['ConflictState']),exports[_0x199ec4(0x2db)]=class extends ce{constructor(_0x16941b,_0x28fb5a,_0x1dbf7c,_0x3c6c81,_0x11769f,_0x36ee28,_0x4f7750,_0x55e7d2,_0x3f77ad,_0x11bd46){var _0x4ef256=_0x199ec4;super(_0x16941b,_0x28fb5a,_0x1dbf7c,_0x3c6c81,_0x11769f,_0x55e7d2,_0x3f77ad,_0x4f7750,_0x11bd46),A(this,_0x4ef256(0x386),_0x4ef256(0x4c1)),this[_0x4ef256(0x2ed)]=_0x36ee28;}[_0x199ec4(0x3ba)](_0x33f807){var _0x83bc7a=_0x199ec4;return this[_0x83bc7a(0x31f)]['push'](_0x33f807),this[_0x83bc7a(0x1d8)](),this;}[_0x199ec4(0x1ff)](_0x1c3229){var _0x531df5=_0x199ec4;throw new Error(_0x531df5(0x408));}['onRemoteAck'](){var _0x499729=_0x199ec4;throw new Error(_0x499729(0x2e8));}[_0x199ec4(0x320)](){var _0x53b67d=_0x199ec4;throw new Error(_0x53b67d(0x216));}['onRemoteRetry'](){return this;}[_0x199ec4(0x2d7)](){return this;}[_0x199ec4(0x180)](){var _0xea16dc=_0x199ec4;const {_injector:_0x3231a2,_pendingMutations:_0x294980,_awaitingChangeset:_0x5debf3,unitID:_0x483a02,_handler:_0x11e467,type:_0x590123}=this,_0x3633cf=Ot(_0x3231a2,_0x483a02,_0x590123,_0x5debf3,_0x294980,_0x11e467);return _0x3633cf instanceof exports['PendingState']?_0x3633cf[_0xea16dc(0x458)]():(_0x3633cf instanceof exports[_0xea16dc(0x351)]||_0x3633cf instanceof exports[_0xea16dc(0x40c)])&&_0x3633cf['resend'](),_0x3633cf;}[_0x199ec4(0x2c5)](){var _0x80a63a=_0x199ec4;throw new Error(_0x80a63a(0x344));}},exports[_0x199ec4(0x2db)]=ae([w(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),w(0x7,a[_0x199ec4(0x296)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x199ec4(0x341)](q))],exports['OfflineState']),exports[_0x199ec4(0x3fa)]=class extends ce{constructor(_0x4e935c,_0x2de183,_0x13fef0,_0x4cb393,_0x4a6dc5,_0x1b86a3,_0x104845,_0x1bfe1b,_0x378a59,_0x3767f5,_0x2901b0,_0x34615c,_0x38a79a,_0x1f9776){var _0xce72c6=_0x199ec4;super(_0x4e935c,_0x2de183,_0x13fef0,_0x4cb393,_0x104845,_0x2901b0,_0x34615c,_0x378a59,_0x1f9776),A(this,_0xce72c6(0x386),_0xce72c6(0x1c4)),(this[_0xce72c6(0x253)]=_0x4a6dc5,this[_0xce72c6(0x456)]=_0x1b86a3,this[_0xce72c6(0x2ed)]=_0x1bfe1b,this[_0xce72c6(0x309)]=_0x3767f5,this[_0xce72c6(0x324)]=_0x38a79a,this[_0xce72c6(0x43f)]=_0x1f9776);}['onMissedChangesetFetched'](_0x1cc1ed){var _0x5622e5=_0x199ec4;try{const _0x380bf1=[..._0x1cc1ed,...this['_queuedRemoteChangesets']],_0xbd486c=[this[_0x5622e5(0x4b9)]||this[_0x5622e5(0x253)]]['filter'](_0xeab94b=>!!_0xeab94b);let _0xc5360b,_0x5cde20;if(_0xbd486c[_0x5622e5(0x418)]){const _0x31ee60=this[_0x5622e5(0x324)][_0x5622e5(0x22e)](_0x380bf1,_0xbd486c,!0x1);if(!I[_0x5622e5(0x251)](_0x31ee60))throw _0x31ee60['error'];_0xc5360b=_0x31ee60[_0x5622e5(0x419)],_0x5cde20=_0x31ee60[_0x5622e5(0x4ac)];}else _0xc5360b=_0x380bf1,_0x5cde20=[];let _0x41a266=this['_pendingMutations'];_0xc5360b[_0x5622e5(0x4db)](_0x222851=>{var _0x37724e=_0x5622e5;let _0x38c222;if(_0x41a266[_0x37724e(0x418)]){const _0x1497cb=this['_transformService']['transformMutationsWithChangeset'](_0x222851,_0x41a266);if(!I['isTransformMutationsWithChangesetSuccess'](_0x1497cb))throw _0x1497cb[_0x37724e(0x4af)];_0x38c222=_0x1497cb[_0x37724e(0x419)],_0x41a266=_0x1497cb[_0x37724e(0x361)];}else _0x38c222=_0x222851;this['_executeRemoteChangeset'](_0x38c222);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5622e5(0x301)](),this[_0x5622e5(0x4b9)]&&_0x5cde20[_0x5622e5(0x418)]&&(_0x5cde20[0x0][_0x5622e5(0x238)]=this['_getCurrentRevision']());let _0x50ca7f;if(this['_awaitingChangeset']&&_0x41a266[_0x5622e5(0x418)]!==0x0)_0x50ca7f=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports['AwaitingWithPendingState'],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],_0x5cde20[0x0],_0x41a266,this[_0x5622e5(0x36b)],void 0x0);else{if(this[_0x5622e5(0x4b9)]&&_0x41a266[_0x5622e5(0x418)]===0x0)_0x5cde20[0x0][_0x5622e5(0x238)]=this['_getCurrentRevision'](),_0x50ca7f=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports['AwaitingState'],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],_0x5cde20[0x0],this['_handler']);else{if(_0x41a266[_0x5622e5(0x418)]!==0x0){const _0x138f29=this[_0x5622e5(0x2ed)][_0x5622e5(0x3a7)](exports[_0x5622e5(0x246)],this[_0x5622e5(0x2df)],this['type'],_0x41a266,this[_0x5622e5(0x36b)]);_0x138f29['_schedule'](),_0x50ca7f=_0x138f29;}else _0x50ca7f=this['_injector']['createInstance'](exports['SyncedState'],this['unitID'],this['type'],this[_0x5622e5(0x36b)]);}}return _0x50ca7f[_0x5622e5(0x1d8)](),_0x50ca7f;}catch(_0x34d6e7){return this[_0x5622e5(0x309)][_0x5622e5(0x4af)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x34d6e7),this['_injector'][_0x5622e5(0x3a7)](exports[_0x5622e5(0x33e)],this[_0x5622e5(0x2df)],this[_0x5622e5(0x4c6)],this[_0x5622e5(0x4b9)],this[_0x5622e5(0x31f)],this[_0x5622e5(0x36b)],!0x1);}}['resend'](){var _0x45cd4c=_0x199ec4;throw new Error(_0x45cd4c(0x3b2));}[_0x199ec4(0x3ba)](_0x1441ae){var _0x8b2ff1=_0x199ec4;return this['_pendingMutations'][_0x8b2ff1(0x4cf)](_0x1441ae),this;}[_0x199ec4(0x1ff)](_0x3890f){var _0x2d2571=_0x199ec4;return this['_queuedRemoteChangesets'][_0x2d2571(0x4cf)](_0x3890f),this;}[_0x199ec4(0x484)](_0x3ccf87){var _0x47bc6a=_0x199ec4;if(this[_0x47bc6a(0x4b9)])return this['_acknowledgedAwaitingChangeset']=this[_0x47bc6a(0x4b9)],this[_0x47bc6a(0x4b9)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x199ec4(0x320)](_0x2c18aa){var _0x88ac5d=_0x199ec4;return this[_0x88ac5d(0x1b1)](!!(_0x2c18aa!=null&&_0x2c18aa[_0x88ac5d(0x198)]));}[_0x199ec4(0x2b8)](){return this;}['toggleOffline'](){var _0x37fc4f=_0x199ec4;return this[_0x37fc4f(0x2ed)][_0x37fc4f(0x3a7)](exports['OfflineState'],this[_0x37fc4f(0x2df)],this[_0x37fc4f(0x4c6)],this[_0x37fc4f(0x4b9)],this[_0x37fc4f(0x31f)],this[_0x37fc4f(0x36b)]);}[_0x199ec4(0x180)](){return this;}[_0x199ec4(0x1b1)](_0x257dbc){var _0x33d9b9=_0x199ec4;return this['_injector'][_0x33d9b9(0x3a7)](exports['ConflictState'],this[_0x33d9b9(0x2df)],this['type'],this[_0x33d9b9(0x4b9)],this[_0x33d9b9(0x31f)],this[_0x33d9b9(0x36b)],_0x257dbc);}},exports['FetchingMissState']=ae([w(0x7,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),w(0x8,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),w(0x9,a[_0x199ec4(0x37e)]),w(0xa,a[_0x199ec4(0x296)]),w(0xb,a[_0x199ec4(0x463)]),w(0xc,I[_0x199ec4(0x4a9)]),w(0xd,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x3fa)]);function Ot(_0x468f80,_0x406b63,_0x28b746,_0x5b6f1c,_0x4887b1,_0x2602cc){var _0x29356d=_0x199ec4;return _0x5b6f1c&&_0x4887b1['length']?_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x351)],_0x406b63,_0x28b746,_0x5b6f1c,_0x4887b1,_0x2602cc,void 0x0):_0x5b6f1c?_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x40c)],_0x406b63,_0x28b746,_0x5b6f1c,_0x2602cc):_0x4887b1[_0x29356d(0x418)]?_0x468f80[_0x29356d(0x3a7)](exports['PendingState'],_0x406b63,_0x28b746,_0x4887b1,_0x2602cc):_0x468f80[_0x29356d(0x3a7)](exports[_0x29356d(0x49d)],_0x406b63,_0x28b746,_0x2602cc);}var vi=Object[_0x199ec4(0x244)],Fe=(_0x8fe47c,_0x46570a,_0x109009,_0x585d67)=>{for(var _0x196fe5=_0x585d67>0x1?void 0x0:_0x585d67?vi(_0x46570a,_0x109009):_0x46570a,_0xd94b43=_0x8fe47c['length']-0x1,_0x1d3feb;_0xd94b43>=0x0;_0xd94b43--)(_0x1d3feb=_0x8fe47c[_0xd94b43])&&(_0x196fe5=_0x1d3feb(_0x196fe5)||_0x196fe5);return _0x196fe5;},j=(_0x277230,_0x499544)=>(_0x55e266,_0x3b7e5d)=>_0x499544(_0x55e266,_0x3b7e5d,_0x277230);exports[_0x199ec4(0x395)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x3e529f,_0x3c4131,_0x802660,_0x4c2167,_0x5273ec,_0x291afe,_0x3aca13,_0x2f4cd6,_0x4c654a,_0x18782e,_0x2409f5,_0x28dfc2,_0x17fd3f){var _0x36241d=_0x199ec4;super(),A(this,'_state$',new $[(_0x36241d(0x195))](null)),A(this,_0x36241d(0x2a8),this[_0x36241d(0x306)][_0x36241d(0x206)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x36241d(0x2a8)]['pipe']($[_0x36241d(0x369)](_0xb605c3=>_0xb605c3?_0xb605c3['status']:Be['OFFLINE']),$['shareReplay'](0x1))),A(this,_0x36241d(0x49f),!0x1),A(this,_0x36241d(0x21c),[]),(this['unitID']=_0x3e529f,this[_0x36241d(0x42f)]=_0x3c4131,this[_0x36241d(0x323)]=_0x802660,this['_injector']=_0x4c2167,this[_0x36241d(0x38f)]=_0x5273ec,this[_0x36241d(0x2e0)]=_0x291afe,this[_0x36241d(0x367)]=_0x3aca13,this[_0x36241d(0x2a3)]=_0x2f4cd6,this[_0x36241d(0x309)]=_0x4c654a,this[_0x36241d(0x433)]=_0x18782e,this[_0x36241d(0x476)]=_0x2409f5,this[_0x36241d(0x27f)]=_0x28dfc2,this[_0x36241d(0x33c)]=_0x17fd3f);}get['state'](){var _0x25b299=_0x199ec4;return this[_0x25b299(0x328)];}async[_0x199ec4(0x3a6)](){var _0x1b4a6b=_0x199ec4;if(this[_0x1b4a6b(0x20d)])throw new Error(_0x1b4a6b(0x2f1));await this[_0x1b4a6b(0x37a)]();}[_0x199ec4(0x47a)](){var _0x503831=_0x199ec4;return this[_0x503831(0x4be)]=!0x0,a['toDisposable'](()=>{var _0x1d9dd9=_0x503831;this[_0x1d9dd9(0x4be)]=!0x1,this[_0x1d9dd9(0x2f6)]();});}['onLocalMutation'](_0xa67ac9){var _0x17cd69=_0x199ec4;this[_0x17cd69(0x334)](_0xa67ac9);}[_0x199ec4(0x409)](_0xcab7d){var _0xfb7cf2=_0x199ec4;this['_state']=_0xcab7d,this[_0xfb7cf2(0x306)]['next'](_0xcab7d);}async['_init'](){var _0x78ee99=_0x199ec4,_0x30d085;this[_0x78ee99(0x409)](await this['_createInitialState']()),this[_0x78ee99(0x27f)]&&((_0x30d085=this[_0x78ee99(0x27f)])==null||_0x30d085['editingUnit'](this[_0x78ee99(0x2df)]),this[_0x78ee99(0x3dd)](this[_0x78ee99(0x27f)][_0x78ee99(0x271)](this[_0x78ee99(0x2df)])['subscribe'](_0x191e15=>{var _0x4cdd18=_0x78ee99;this[_0x4cdd18(0x309)]['debug'](_0x4cdd18(0x4e7),_0x4cdd18(0x414),_0x191e15),_0x191e15===je[_0x4cdd18(0x240)]?(this[_0x4cdd18(0x2a3)][_0x4cdd18(0x35f)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x4cdd18(0x476)]['updatePermissionPoint'](new X[(_0x4cdd18(0x332))](this[_0x4cdd18(0x2df)])['id'],!0x1),this[_0x4cdd18(0x476)][_0x4cdd18(0x425)](!0x1)):(this[_0x4cdd18(0x476)][_0x4cdd18(0x185)](new X[(_0x4cdd18(0x332))](this['unitID'])['id'],!0x0),this[_0x4cdd18(0x476)][_0x4cdd18(0x425)](!0x0));})));let _0x29dc70=!0x1;return this['disposeWithMe'](this['session'][_0x78ee99(0x29a)][_0x78ee99(0x483)](_0x562654=>{var _0x1a0313=_0x78ee99;_0x562654===re[_0x1a0313(0x18a)]?this[_0x1a0313(0x2f0)](_0x29dc70):_0x562654===re[_0x1a0313(0x3b8)]&&(_0x29dc70=!0x0,this['_toggleOffline']());})),this[_0x78ee99(0x3dd)](this[_0x78ee99(0x42f)][_0x78ee99(0x20f)][_0x78ee99(0x483)](_0x238124=>{var _0x4250bd=_0x78ee99;try{switch(_0x238124['eventID']){case I['CollaborationEvent'][_0x4250bd(0x4cb)]:{this[_0x4250bd(0x35e)](I[_0x4250bd(0x3e1)](_0x238124[_0x4250bd(0x280)]));break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x2a2)]:{this['_onRemoteACK'](_0x238124[_0x4250bd(0x280)]);break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x3bd)]:{this[_0x4250bd(0x21a)]();break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x1bb)]:{this[_0x4250bd(0x36d)](_0x238124[_0x4250bd(0x280)]);break;}case I[_0x4250bd(0x4a0)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x238124[_0x4250bd(0x280)]['changesets']['map'](_0x34e816=>I[_0x4250bd(0x3e1)](_0x34e816)));break;}case I[_0x4250bd(0x4a0)][_0x4250bd(0x1d9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x4250bd(0x4a0)]['UNISCRIPT_RUN']:break;}}catch(_0x37a839){throw console[_0x4250bd(0x4af)](_0x4250bd(0x2ee),_0x37a839),_0x37a839;}})),this['_state'];}[_0x199ec4(0x38b)](){var _0x561916=_0x199ec4;this[_0x561916(0x49f)]=!0x1;}[_0x199ec4(0x278)](){var _0x1cdf10=_0x199ec4;if(this['_transitionLocked'])throw new Error(_0x1cdf10(0x3df));this[_0x1cdf10(0x49f)]=!0x0;}[_0x199ec4(0x334)](_0x33347f){var _0x596de2=_0x199ec4;this['_lockTransition'](),this[_0x596de2(0x409)](this[_0x596de2(0x328)][_0x596de2(0x3ba)](_0x33347f)),this[_0x596de2(0x38b)]();}[_0x199ec4(0x35e)](_0xbb9562){var _0x288676=_0x199ec4;if(!(_0xbb9562[_0x288676(0x3e8)]<=this[_0x288676(0x367)]['getCurrentRevOfUnit'](this[_0x288676(0x2df)]))){if(this['_collaborationPaused']){this[_0x288676(0x21c)][_0x288676(0x4cf)](_0xbb9562);return;}this[_0x288676(0x201)](_0xbb9562);}}[_0x199ec4(0x2f6)](){var _0x144b33=_0x199ec4;this[_0x144b33(0x21c)]['forEach'](_0x4ef036=>this[_0x144b33(0x201)](_0x4ef036)),this[_0x144b33(0x21c)]=[];}[_0x199ec4(0x201)](_0x568ecc){var _0x50ed5e=_0x199ec4;const _0x3216df=this[_0x50ed5e(0x38f)]['interceptor'][_0x50ed5e(0x388)](this[_0x50ed5e(0x38f)][_0x50ed5e(0x2dc)]['getInterceptPoints']()[_0x50ed5e(0x23f)])(_0x568ecc[_0x50ed5e(0x36c)],null)||_0x568ecc[_0x50ed5e(0x36c)],_0x5b1db5={..._0x568ecc,'mutations':_0x3216df};this['_lockTransition'](),this[_0x50ed5e(0x409)](this[_0x50ed5e(0x328)][_0x50ed5e(0x1ff)](_0x5b1db5)),this[_0x50ed5e(0x38b)]();}[_0x199ec4(0x485)](_0xe35cdb){var _0x4b5b79=_0x199ec4;this[_0x4b5b79(0x278)](),this['_updateState'](this[_0x4b5b79(0x328)][_0x4b5b79(0x484)](_0xe35cdb)),this[_0x4b5b79(0x38b)]();}[_0x199ec4(0x21a)](_0x5182b3){var _0x1f0bb=_0x199ec4;this[_0x1f0bb(0x278)](),this[_0x1f0bb(0x409)](this[_0x1f0bb(0x328)][_0x1f0bb(0x320)](_0x5182b3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x21d513){var _0x2ccf81=_0x199ec4;this[_0x2ccf81(0x278)](),this['_updateState'](this[_0x2ccf81(0x328)][_0x2ccf81(0x2b8)](_0x21d513)),this[_0x2ccf81(0x38b)]();}[_0x199ec4(0x27e)](_0x3e98a2){var _0x5c81ef=_0x199ec4;if(!(this[_0x5c81ef(0x328)]instanceof exports[_0x5c81ef(0x3fa)]))throw new TypeError(_0x5c81ef(0x187));const _0x57c793=_0x3e98a2['map'](_0x1fb048=>{var _0x3a9df0=_0x5c81ef;const _0x1d7191=this[_0x3a9df0(0x38f)][_0x3a9df0(0x2dc)]['fetchThroughInterceptors'](this[_0x3a9df0(0x38f)]['interceptor'][_0x3a9df0(0x281)]()[_0x3a9df0(0x23f)])(_0x1fb048[_0x3a9df0(0x36c)],null)||_0x1fb048[_0x3a9df0(0x36c)];return{..._0x1fb048,'mutations':_0x1d7191};});this['_lockTransition'](),this[_0x5c81ef(0x409)](this[_0x5c81ef(0x328)][_0x5c81ef(0x217)](_0x57c793)),this[_0x5c81ef(0x38b)]();}[_0x199ec4(0x47d)](){var _0x4521c7=_0x199ec4;this[_0x4521c7(0x278)](),this[_0x4521c7(0x409)](this[_0x4521c7(0x328)][_0x4521c7(0x2d7)]()),this['_unlockTransition']();}[_0x199ec4(0x2f0)](_0xc9e5e=!0x1){var _0x3fc20c=_0x199ec4;this['_lockTransition'](),this[_0x3fc20c(0x409)](this[_0x3fc20c(0x328)][_0x3fc20c(0x180)]()),this[_0x3fc20c(0x38b)]();const _0x50c5ab=this[_0x3fc20c(0x328)];_0xc9e5e&&_0x50c5ab instanceof exports[_0x3fc20c(0x49d)]&&(this['_lockTransition'](),this['_updateState'](_0x50c5ab[_0x3fc20c(0x1c9)]()),this[_0x3fc20c(0x38b)]());}async[_0x199ec4(0x3d3)](){return new Promise(_0x5c2601=>{var _0x49a298=_0x3c30;this['session'][_0x49a298(0x29a)][_0x49a298(0x4ae)]($[_0x49a298(0x4b3)](0x1))[_0x49a298(0x483)](async _0x147e13=>{var _0x46ee89=_0x49a298;_0x5c2601(await this[_0x46ee89(0x4e8)](_0x147e13===re[_0x46ee89(0x18a)]));});});}[_0x199ec4(0x3f4)](){var _0x127417=_0x199ec4;const _0x8096e7=this[_0x127417(0x2df)];return{'onStateChange':(_0x20677a,_0x4c83f4)=>{var _0x1f34f2=_0x127417;if(_0x20677a!==this[_0x1f34f2(0x328)])throw new Error(_0x1f34f2(0x44f)+_0x20677a['status']+'\x0aAfter:\x20'+_0x4c83f4[_0x1f34f2(0x386)]+_0x1f34f2(0x218)+this[_0x1f34f2(0x328)]['status']);this[_0x1f34f2(0x409)](_0x4c83f4);},'onSendChangeset':_0x4e8a64=>{var _0x4280b8=_0x127417;_0x4e8a64[_0x4280b8(0x22c)]||(_0x4e8a64['sid']=this[_0x4280b8(0x41d)],_0x4e8a64[_0x4280b8(0x1ee)]=++this[_0x4280b8(0x45a)]);const _0x4daadc={'eventID':I['CollaborationEvent'][_0x4280b8(0x487)],'data':{'unitID':_0x4e8a64['unitID'],'unitType':this[_0x4280b8(0x323)],'changeset':_0x4e8a64,'memberID':this['session'][_0x4280b8(0x45d)]()}};this[_0x4280b8(0x42f)]['send'](_0x4daadc,this[_0x4280b8(0x2df)]);},'onMissingChangesets':({from:_0x2a411e,to:_0x30990e})=>{var _0x2115c7=_0x127417;this[_0x2115c7(0x309)][_0x2115c7(0x1d1)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x2a411e+'\x20to\x20'+_0x30990e);const _0x566a9e={'eventID':I[_0x2115c7(0x4a0)]['FETCH_MISSING'],'data':{'unitID':_0x8096e7,'unitType':this['_type'],'from':_0x2a411e,'to':_0x30990e}};this[_0x2115c7(0x42f)]['send'](_0x566a9e,this['unitID']);}};}async[_0x199ec4(0x4e8)](_0x18cd96){var _0x17b796=_0x199ec4,_0x17ea2e,_0x1763f3,_0x2b10f2;const _0x222260=await((_0x17ea2e=this[_0x17b796(0x33c)])==null?void 0x0:_0x17ea2e[_0x17b796(0x27a)](this[_0x17b796(0x2df)])),_0x3a210d=(_0x1763f3=_0x222260==null?void 0x0:_0x222260[_0x17b796(0x36c)])!=null?_0x1763f3:[],_0x1c90b3=(_0x2b10f2=_0x222260==null?void 0x0:_0x222260[_0x17b796(0x209)])!=null?_0x2b10f2:null,_0x42c697=!!(_0x1c90b3!=null&&_0x1c90b3['sid'])&&!!(_0x1c90b3!=null&&_0x1c90b3['reqId']);this[_0x17b796(0x41d)]=_0x42c697?_0x1c90b3['sid']:I[_0x17b796(0x2a1)](),this['_changesetReqId']=_0x42c697?_0x1c90b3[_0x17b796(0x1ee)]:0x0;const _0x308cc5=this[_0x17b796(0x2df)];try{this[_0x17b796(0x286)](_0x1c90b3,_0x3a210d);}catch(_0x1ae98f){this['_logService']['error'](_0x1ae98f);}const _0x4188a6=this[_0x17b796(0x3f4)]();if(_0x18cd96){const _0x23975f=Ot(this[_0x17b796(0x2ed)],_0x308cc5,this[_0x17b796(0x323)],_0x1c90b3,_0x3a210d,_0x4188a6);return _0x23975f instanceof exports[_0x17b796(0x246)]?_0x23975f[_0x17b796(0x458)]():(_0x23975f instanceof exports[_0x17b796(0x351)]||_0x23975f instanceof exports['AwaitingState'])&&_0x23975f[_0x17b796(0x2c5)](),_0x23975f;}return this[_0x17b796(0x2ed)][_0x17b796(0x3a7)](exports[_0x17b796(0x2db)],_0x308cc5,this[_0x17b796(0x323)],_0x1c90b3,_0x3a210d,_0x4188a6);}[_0x199ec4(0x286)](_0x514a80,_0x4be250){var _0x5f220f=_0x199ec4,_0x5075e5,_0xba8dc1;const _0xfeaf20=this[_0x5f220f(0x38f)]['interceptor'][_0x5f220f(0x388)](this[_0x5f220f(0x38f)][_0x5f220f(0x2dc)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5075e5=_0xfeaf20((_0x514a80==null?void 0x0:_0x514a80[_0x5f220f(0x36c)])||[],null))==null||_0x5075e5['forEach'](_0x4554b4=>this[_0x5f220f(0x433)][_0x5f220f(0x4e0)](_0x4554b4['id'],_0x4554b4[_0x5f220f(0x3b0)])),(_0xba8dc1=_0xfeaf20(_0x4be250||[],null))==null||_0xba8dc1[_0x5f220f(0x4db)](_0xcb1262=>this[_0x5f220f(0x433)]['executeCommand'](_0xcb1262['id'],_0xcb1262[_0x5f220f(0x3b0)]));}},exports[_0x199ec4(0x395)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a['Injector'])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),j(0x7,a[_0x199ec4(0x2b7)](ee)),j(0x8,a[_0x199ec4(0x37e)]),j(0x9,a[_0x199ec4(0x296)]),j(0xa,a[_0x199ec4(0x1d0)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x395)]),exports[_0x199ec4(0x2ea)]=class extends exports['CollaborationEntity']{constructor(_0x42e3b8,_0x3e24e9,_0x43f167,_0xc60a31,_0x3a1963,_0x557aa9,_0x57824f,_0x5ba802,_0x57bc3f,_0x5244de,_0x5f5a62,_0x47343b,_0xd9d2fe){var _0x3f6f1b=_0x199ec4;super(_0x42e3b8,_0x43f167,_0x3e24e9,_0xc60a31,_0x3a1963,_0x557aa9,_0x57824f,_0x5ba802,_0x57bc3f,_0x5244de,_0x5f5a62,_0x47343b,_0xd9d2fe),A(this,_0x3f6f1b(0x4c7),null),(this[_0x3f6f1b(0x2df)]=_0x42e3b8,this['type']=_0x3e24e9);}[_0x199ec4(0x1ba)](_0x215269){this['_handlerCallback']=_0x215269;}[_0x199ec4(0x2ff)](){var _0x19cf4d=_0x199ec4;this[_0x19cf4d(0x4c7)]=null,super[_0x19cf4d(0x2ff)]();}['_createHandler'](){var _0x43b9b4=_0x199ec4;const _0x5a4ecc=super['_createHandler']();return _0x5a4ecc[_0x43b9b4(0x33d)]=_0x1864de=>{var _0x5af80b=_0x43b9b4,_0x59494d,_0x3e5d44;return(_0x3e5d44=(_0x59494d=this[_0x5af80b(0x4c7)])==null?void 0x0:_0x59494d[_0x5af80b(0x33d)])==null?void 0x0:_0x3e5d44[_0x5af80b(0x1cb)](_0x59494d,_0x1864de);},_0x5a4ecc['onTransformState']=_0x1a1479=>{var _0x3b8cfe=_0x43b9b4,_0x371384,_0x3a55de;return(_0x3a55de=(_0x371384=this['_handlerCallback'])==null?void 0x0:_0x371384[_0x3b8cfe(0x403)])==null?void 0x0:_0x3a55de['call'](_0x371384,_0x1a1479);},_0x5a4ecc[_0x43b9b4(0x41a)]=_0x20a287=>{var _0x2a67d7=_0x43b9b4,_0x5d2b86,_0x59cf43;return(_0x59cf43=(_0x5d2b86=this[_0x2a67d7(0x4c7)])==null?void 0x0:_0x5d2b86[_0x2a67d7(0x41a)])==null?void 0x0:_0x59cf43[_0x2a67d7(0x1cb)](_0x5d2b86,_0x20a287);},_0x5a4ecc[_0x43b9b4(0x1ad)]=_0x2170f2=>{var _0x78f970=_0x43b9b4,_0x2ebac6,_0x34624a;return(_0x34624a=(_0x2ebac6=this[_0x78f970(0x4c7)])==null?void 0x0:_0x2ebac6[_0x78f970(0x1ad)])==null?void 0x0:_0x34624a[_0x78f970(0x1cb)](_0x2ebac6,_0x2170f2);},_0x5a4ecc[_0x43b9b4(0x2fe)]=_0x14b83d=>{var _0x39b731=_0x43b9b4,_0x45d46c,_0x122d3a,_0x534c7a;if(!((_0x45d46c=this[_0x39b731(0x4c7)])!=null&&_0x45d46c[_0x39b731(0x2fe)]))throw new Error(_0x39b731(0x4ba));return(_0x534c7a=(_0x122d3a=this['_handlerCallback'])==null?void 0x0:_0x122d3a[_0x39b731(0x2fe)])==null?void 0x0:_0x534c7a['call'](_0x122d3a,_0x14b83d);},_0x5a4ecc[_0x43b9b4(0x3eb)]=_0x4d1860=>{var _0x532399=_0x43b9b4,_0x384394,_0x971caf,_0x254368;if(!((_0x384394=this[_0x532399(0x4c7)])!=null&&_0x384394[_0x532399(0x3eb)]))throw new Error(_0x532399(0x1f1));return(_0x254368=(_0x971caf=this[_0x532399(0x4c7)])==null?void 0x0:_0x971caf[_0x532399(0x3eb)])==null?void 0x0:_0x254368[_0x532399(0x1cb)](_0x971caf,_0x4d1860);},_0x5a4ecc;}async[_0x199ec4(0x37a)](){var _0x16e281=_0x199ec4;const _0x584683=await super[_0x16e281(0x37a)]();return this[_0x16e281(0x3dd)](this[_0x16e281(0x433)][_0x16e281(0x1e4)]((_0x5b517b,_0x27c35b)=>{var _0x4f3c6e=_0x16e281;if(_0x5b517b['type']!==a[_0x4f3c6e(0x4e3)][_0x4f3c6e(0x275)]||_0x27c35b!=null&&_0x27c35b['fromCollab']||_0x27c35b!=null&&_0x27c35b[_0x4f3c6e(0x1b5)]||_0x5b517b['id']===ht[_0x4f3c6e(0x4b8)]['id'])return;const _0x2c4691=_0x5b517b[_0x4f3c6e(0x3b0)];if((_0x2c4691==null?void 0x0:_0x2c4691[_0x4f3c6e(0x207)])!==this[_0x4f3c6e(0x2df)])return;const _0x626e9a=_0x5b517b,_0x39890e=this[_0x4f3c6e(0x38f)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4f3c6e(0x2dc)][_0x4f3c6e(0x281)]()['COMPRESS_MUTATION_SEND'])([_0x626e9a],null)||[_0x626e9a];this[_0x4f3c6e(0x334)](_0x39890e[0x0]);})),_0x584683;}},exports[_0x199ec4(0x2ea)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x396)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x199ec4(0x37e)]),j(0x9,a[_0x199ec4(0x296)]),j(0xa,a[_0x199ec4(0x1d0)]),j(0xb,a[_0x199ec4(0x341)](de)),j(0xc,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x2ea)]),exports[_0x199ec4(0x1e1)]=class extends exports[_0x199ec4(0x395)]{constructor(_0x3639e2,_0x395d49,_0x497f39,_0x233213,_0xcebc05,_0x40dad0,_0x18c29f,_0x42466a,_0x1df376,_0x176a8c,_0x2c2838,_0x177148,_0x30524a,_0x4420c0){var _0x21f448=_0x199ec4;super(_0x3639e2,_0x497f39,_0x395d49,_0x233213,_0xcebc05,_0x40dad0,_0x18c29f,_0x1df376,_0x176a8c,_0x2c2838,_0x177148,_0x30524a,_0x4420c0),this[_0x21f448(0x2df)]=_0x3639e2,this[_0x21f448(0x4c6)]=_0x395d49,this[_0x21f448(0x4d5)]=_0x42466a;}[_0x199ec4(0x3f4)](){var _0x51cb6e=_0x199ec4;const _0x14c66f=super['_createHandler']();return _0x14c66f['onTransformSelections']=_0x51cbf4=>this['_sheetTransformSelectionsService'][_0x51cb6e(0x445)](_0x51cbf4),_0x14c66f;}async[_0x199ec4(0x37a)](){var _0x310081=_0x199ec4;const _0x32dd2e=await super['_init']();return this[_0x310081(0x3dd)](this[_0x310081(0x433)][_0x310081(0x1e4)]((_0x443cf8,_0x5e3c18)=>{var _0x2a9746=_0x310081;if(_0x443cf8[_0x2a9746(0x4c6)]!==a['CommandType'][_0x2a9746(0x275)]||_0x5e3c18!=null&&_0x5e3c18[_0x2a9746(0x1e0)]||_0x5e3c18!=null&&_0x5e3c18[_0x2a9746(0x1b5)])return;const _0x57022f=_0x443cf8['params'];if((_0x57022f==null?void 0x0:_0x57022f[_0x2a9746(0x207)])!==this[_0x2a9746(0x2df)])return;const _0x249fb9=_0x443cf8,_0x12a80e=this[_0x2a9746(0x38f)][_0x2a9746(0x2dc)][_0x2a9746(0x388)](this[_0x2a9746(0x38f)]['interceptor'][_0x2a9746(0x281)]()[_0x2a9746(0x1d6)])([_0x249fb9],null)||[_0x249fb9];this[_0x2a9746(0x334)](_0x12a80e[0x0]);})),_0x32dd2e;}},exports[_0x199ec4(0x1e1)]=Fe([j(0x3,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),j(0x4,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x3b4)])),j(0x5,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x204)])),j(0x6,a[_0x199ec4(0x2b7)](I['RevisionService'])),j(0x7,a['Inject'](exports[_0x199ec4(0x3f0)])),j(0x8,a[_0x199ec4(0x2b7)](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x199ec4(0x296)]),j(0xb,a[_0x199ec4(0x1d0)]),j(0xc,a[_0x199ec4(0x341)](de)),j(0xd,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x1e1)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x1ec4ce,_0x56b717,_0x3301a4,_0x5eaac3)=>{var _0x4cf7ee=_0x199ec4;for(var _0x28d624=_0x5eaac3>0x1?void 0x0:_0x5eaac3?Si(_0x56b717,_0x3301a4):_0x56b717,_0x210b0=_0x1ec4ce[_0x4cf7ee(0x418)]-0x1,_0x101524;_0x210b0>=0x0;_0x210b0--)(_0x101524=_0x1ec4ce[_0x210b0])&&(_0x28d624=_0x101524(_0x28d624)||_0x28d624);return _0x28d624;},Se=(_0x4271b7,_0x2fd1d9)=>(_0x40258c,_0x3cc9db)=>_0x2fd1d9(_0x40258c,_0x3cc9db,_0x4271b7);exports[_0x199ec4(0x4d0)]=class extends a[_0x199ec4(0x4c2)]{constructor(_0x25a488,_0x1e61e0,_0x85a5f7,_0x31e3cd){var _0x5dae52=_0x199ec4,_0x2c076d;super(),A(this,_0x5dae52(0x2a5),new Map()),A(this,'_entityInit$',new $[(_0x5dae52(0x215))]()),A(this,_0x5dae52(0x343),this['_entityInit$'][_0x5dae52(0x206)]()),(this['_injector']=_0x25a488,this['_collabSessionService']=_0x1e61e0,this[_0x5dae52(0x44e)]=_0x85a5f7,this['_univerInstanceService']=_0x31e3cd,((_0x2c076d=this[_0x5dae52(0x44e)][_0x5dae52(0x2d8)](K))==null?void 0x0:_0x2c076d[_0x5dae52(0x3d6)])!==!0x1&&this['_init']());}['dispose'](){var _0x2cc164=_0x199ec4;super[_0x2cc164(0x2ff)](),this[_0x2cc164(0x2a5)][_0x2cc164(0x4db)](_0x36403c=>_0x36403c[_0x2cc164(0x2ff)]()),this[_0x2cc164(0x2a5)][_0x2cc164(0x181)]();}['getCollabEntity'](_0x4c93db){var _0x203ea7=_0x199ec4,_0xf25f4d;return(_0xf25f4d=this[_0x203ea7(0x2a5)]['get'](_0x4c93db))!=null?_0xf25f4d:null;}['getCollabEntity$'](_0x1c3c7c){var _0x580607=_0x199ec4;const _0x530d64=this[_0x580607(0x1e3)](_0x1c3c7c);return _0x530d64?$['of'](_0x530d64):this[_0x580607(0x2d5)][_0x580607(0x4ae)](V['filter'](_0x26d80c=>_0x26d80c[_0x580607(0x2df)]===_0x1c3c7c));}[_0x199ec4(0x354)](_0x17494a){var _0x50b551=_0x199ec4;return $[_0x50b551(0x2e9)](this[_0x50b551(0x3b5)](_0x17494a)[_0x50b551(0x4ae)](V['map'](()=>{})));}[_0x199ec4(0x37a)](){var _0x377473=_0x199ec4;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x377473(0x223)][_0x377473(0x31a)])[_0x377473(0x4ae)]($['takeUntil'](this[_0x377473(0x194)]),V[_0x377473(0x461)](0x10))[_0x377473(0x483)](async _0x4518c7=>{var _0x26dd0c=_0x377473;const _0x1692bb=_0x4518c7[_0x26dd0c(0x424)](),_0x55a683=await this[_0x26dd0c(0x3c2)](_0x1692bb,J[_0x26dd0c(0x31a)]);this[_0x26dd0c(0x2a5)][_0x26dd0c(0x3ac)](_0x1692bb,_0x55a683);}),this[_0x377473(0x385)][_0x377473(0x2a7)](a[_0x377473(0x223)][_0x377473(0x3fc)])[_0x377473(0x4ae)]($[_0x377473(0x38a)](this[_0x377473(0x194)]),V[_0x377473(0x461)](0x10))['pipe'](V['filter'](_0x29bb24=>!_0x29bb24[_0x377473(0x424)]()[_0x377473(0x46b)]('__')))[_0x377473(0x483)](async _0x1d55ef=>{var _0x8db479=_0x377473;const _0x38db58=_0x1d55ef[_0x8db479(0x424)](),_0x59b36d=await this[_0x8db479(0x3c2)](_0x38db58,J[_0x8db479(0x3fc)]);this['_entities'][_0x8db479(0x3ac)](_0x38db58,_0x59b36d);}),$['merge'](this[_0x377473(0x385)][_0x377473(0x21d)](a[_0x377473(0x223)][_0x377473(0x31a)]),this[_0x377473(0x385)][_0x377473(0x21d)](a['UniverInstanceType']['UNIVER_DOC']))[_0x377473(0x4ae)]($[_0x377473(0x38a)](this['dispose$']))['subscribe'](_0x37388f=>{var _0x3e724e=_0x377473;const _0x4893c7=_0x37388f[_0x3e724e(0x424)](),_0x52036b=this[_0x3e724e(0x2a5)][_0x3e724e(0x25b)](_0x4893c7);_0x52036b&&(_0x52036b[_0x3e724e(0x2ff)](),this[_0x3e724e(0x2a5)][_0x3e724e(0x239)](_0x4893c7));});}async[_0x199ec4(0x3c2)](_0x5dfd75,_0x3ffa82){var _0x22f465=_0x199ec4;const _0x4262c2=await this[_0x22f465(0x4d7)][_0x22f465(0x3f6)](_0x5dfd75),_0x3a5d31=this[_0x22f465(0x2ed)][_0x22f465(0x3a7)](this[_0x22f465(0x489)](_0x3ffa82),_0x5dfd75,_0x3ffa82,_0x4262c2);return await _0x3a5d31[_0x22f465(0x3a6)](),this[_0x22f465(0x2d5)][_0x22f465(0x1b3)](_0x3a5d31),_0x3a5d31;}[_0x199ec4(0x489)](_0x402160){var _0x22ec7e=_0x199ec4;switch(_0x402160){case J[_0x22ec7e(0x3fc)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x22ec7e(0x1e1)];default:throw new Error(_0x22ec7e(0x4b1)+_0x402160);}}},exports[_0x199ec4(0x4d0)]=fi([Se(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),Se(0x1,a['Inject'](exports[_0x199ec4(0x2f5)])),Se(0x2,a[_0x199ec4(0x3e7)]),Se(0x3,a[_0x199ec4(0x1ec)])],exports['CollaborationController']);var pi=Object[_0x199ec4(0x244)],Ii=(_0xdb421c,_0x7cd51c,_0x1dbfb1,_0x21c1ce)=>{var _0x1053cb=_0x199ec4;for(var _0x1d6681=_0x21c1ce>0x1?void 0x0:_0x21c1ce?pi(_0x7cd51c,_0x1dbfb1):_0x7cd51c,_0x59f4d1=_0xdb421c[_0x1053cb(0x418)]-0x1,_0x127067;_0x59f4d1>=0x0;_0x59f4d1--)(_0x127067=_0xdb421c[_0x59f4d1])&&(_0x1d6681=_0x127067(_0x1d6681)||_0x1d6681);return _0x1d6681;},Ye=(_0x54aac9,_0x237cab)=>(_0x519adf,_0x366e31)=>_0x237cab(_0x519adf,_0x366e31,_0x54aac9);const gi=_0x199ec4(0x1ea),Ei=_0x199ec4(0x3a5);let xe=class extends a['Disposable']{constructor(_0xadb789,_0x477526){var _0x5db1a4=_0x199ec4;super(),this['_univerInstanceService']=_0xadb789,this[_0x5db1a4(0x44e)]=_0x477526,this['_init']();}[_0x199ec4(0x37a)](){var _0x3ac333=_0x199ec4;this[_0x3ac333(0x3dd)](this['_univerInstanceService'][_0x3ac333(0x20c)][_0x3ac333(0x483)](()=>{var _0x12003d=_0x3ac333,_0x590e8a;const _0x2a0c06=this[_0x12003d(0x385)][_0x12003d(0x3d9)]();let _0x45fd1d=(_0x590e8a=this[_0x12003d(0x44e)][_0x12003d(0x2d8)](gi))!=null?_0x590e8a:Ei;_0x2a0c06 instanceof a[_0x12003d(0x497)]&&(_0x45fd1d=_0x2a0c06['name']),document[_0x12003d(0x1fa)]=_0x45fd1d;}));}};xe=Ii([Ye(0x0,a[_0x199ec4(0x1ec)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x199ec4(0x244)],Ci=(_0xe810bb,_0x4628f6,_0x47267e,_0x2a064d)=>{for(var _0x26b310=_0x2a064d>0x1?void 0x0:_0x2a064d?mi(_0x4628f6,_0x47267e):_0x4628f6,_0x2382ac=_0xe810bb['length']-0x1,_0x562cce;_0x2382ac>=0x0;_0x2382ac--)(_0x562cce=_0xe810bb[_0x2382ac])&&(_0x26b310=_0x562cce(_0x26b310)||_0x26b310);return _0x26b310;},Ae=(_0xf10f77,_0x2c48e1)=>(_0x332d86,_0x49a971)=>_0x2c48e1(_0x332d86,_0x49a971,_0xf10f77);let ye=class{constructor(_0x11be38,_0x3313cf,_0xe9287){var _0x18240f=_0x199ec4;this[_0x18240f(0x44e)]=_0x11be38,this[_0x18240f(0x44a)]=_0x3313cf,this[_0x18240f(0x1a7)]=_0xe9287,this[_0x18240f(0x3a6)]();}[_0x199ec4(0x3a6)](){var _0x9fe05=_0x199ec4;this[_0x9fe05(0x44a)][_0x9fe05(0x449)]({'priority':0x1,'interceptor':(_0x5a3e11,_0x2c8d03)=>_0x2c8d03(_0x5a3e11)[_0x9fe05(0x4ae)]($[_0x9fe05(0x406)](async _0x28227a=>{var _0x4b0e1a=_0x9fe05;const _0x1a12d9=_0x28227a;if(_0x1a12d9[_0x4b0e1a(0x386)]===0x191){if(typeof window>'u')throw new Error(_0x4b0e1a(0x26a));if(window[_0x4b0e1a(0x193)](this[_0x4b0e1a(0x1a7)]['t'](_0x4b0e1a(0x364)))){const _0x5bd61e=window[_0x4b0e1a(0x4f0)](window[_0x4b0e1a(0x420)][_0x4b0e1a(0x45c)]);window['location'][_0x4b0e1a(0x45c)]=this[_0x4b0e1a(0x39d)]()+_0x4b0e1a(0x2e6)+_0x5bd61e;}}return _0x1a12d9;}))});}['_getLoginPath'](){var _0xc9014b=_0x199ec4,_0x6fc691,_0xe3b27a;const _0x1a867a=this[_0xc9014b(0x44e)][_0xc9014b(0x2d8)](It),_0x51ed12=this[_0xc9014b(0x44e)][_0xc9014b(0x2d8)](K);return(_0xe3b27a=(_0x6fc691=_0x51ed12==null?void 0x0:_0x51ed12[_0xc9014b(0x30b)])!=null?_0x6fc691:_0x1a867a)!=null?_0xe3b27a:Wt;}};ye=Ci([Ae(0x0,a[_0x199ec4(0x3e7)]),Ae(0x1,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),Ae(0x2,a[_0x199ec4(0x2b7)](a['LocaleService']))],ye);var Ti=Object[_0x199ec4(0x244)],bi=(_0x1a9bcd,_0x266551,_0x50e142,_0x16bce6)=>{for(var _0x52d332=_0x16bce6>0x1?void 0x0:_0x16bce6?Ti(_0x266551,_0x50e142):_0x266551,_0x1d2652=_0x1a9bcd['length']-0x1,_0x3468e2;_0x1d2652>=0x0;_0x1d2652--)(_0x3468e2=_0x1a9bcd[_0x1d2652])&&(_0x52d332=_0x3468e2(_0x52d332)||_0x52d332);return _0x52d332;},qe=(_0x2c8fe8,_0x35be7e)=>(_0x484e18,_0x13a12d)=>_0x35be7e(_0x484e18,_0x13a12d,_0x2c8fe8);const Ve=_0x199ec4(0x457),Ri=_0x199ec4(0x321);exports[_0x199ec4(0x26f)]=class extends a[_0x199ec4(0x455)]{constructor(_0x24ecb9,_0x1e3c66){var _0x5a9971=_0x199ec4;super(),this['_HTTPService']=_0x24ecb9,this[_0x5a9971(0x44e)]=_0x1e3c66,this[_0x5a9971(0x382)]();}['_initMergeInterceptor'](){var _0x191199=_0x199ec4;const _0x1948b9=this;this[_0x191199(0x3dd)](this[_0x191199(0x25f)][_0x191199(0x449)]({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x41df6f){var _0x351045=_0x191199,_0x35566a;if(_0x41df6f[_0x351045(0x33f)]===_0x351045(0x17b)&&((_0x35566a=_0x41df6f[_0x351045(0x42a)])!=null&&_0x35566a['body'])){const {objectID:_0x18dff1,objectType:_0x464d28}=_0x41df6f[_0x351045(0x42a)][_0x351045(0x174)]||{};if(!_0x18dff1||_0x464d28===void 0x0)return!0x1;const _0xb1761e=_0x1948b9[_0x351045(0x3e3)]()+'/'+_0x464d28+_0x351045(0x472)+_0x18dff1+_0x351045(0x18e);if(_0x41df6f[_0x351045(0x41f)]===_0xb1761e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x143467){var _0x16e4e1=_0x191199,_0x57b2d2;return(_0x57b2d2=_0x143467[_0x16e4e1(0x42a)])==null?void 0x0:_0x57b2d2[_0x16e4e1(0x174)];},'mergeParamsToRequest'(_0x4606a2,_0x4a0f3e){var _0xffc824=_0x191199;const _0x284a29=_0x1948b9['_getAPIPrefixPath']()+_0xffc824(0x411),_0x4ed5d7=_0x4606a2[_0xffc824(0x377)]((_0x1c3eb1,_0xc53369)=>{var _0x2c0a58=_0xffc824;const {unitID:_0x5c74e1,objectID:_0x4837c6,objectType:_0x1d1760,actions:_0x21d57f}=_0xc53369;return _0x1c3eb1[_0x5c74e1]||(_0x1c3eb1[_0x5c74e1]={}),_0x1c3eb1[_0x5c74e1][_0x4837c6]||(_0x1c3eb1[_0x5c74e1][_0x4837c6]={'objectID':_0x4837c6,'objectType':_0x1d1760,'actions':[]}),_0x1c3eb1[_0x5c74e1][_0x4837c6][_0x2c0a58(0x349)][_0x2c0a58(0x4cf)](..._0x21d57f),_0x1c3eb1;},{}),_0xa64bd9=[];for(const _0x4811a4 in _0x4ed5d7)for(const _0x3799b0 in _0x4ed5d7[_0x4811a4]){const {actions:_0x5c3cbf,objectType:_0x597226}=_0x4ed5d7[_0x4811a4][_0x3799b0],_0x3be1f0=[...new Set(_0x5c3cbf)];_0xa64bd9[_0xffc824(0x4cf)]({'unitID':_0x4811a4,'objectID':_0x3799b0,'objectType':_0x597226,'actions':_0x3be1f0});}return new Y[(_0xffc824(0x23a))](_0xffc824(0x17b),_0x284a29,{'headers':_0x4a0f3e[_0xffc824(0x29d)],'withCredentials':_0x4a0f3e[_0xffc824(0x3cd)],'responseType':_0x4a0f3e[_0xffc824(0x241)],'body':{'requests':_0xa64bd9}});}},{'distributeResult'(_0x50679c,_0x26f690){var _0x4b2b4a=_0x191199;const {objectActions:_0xfca642}=_0x50679c;return _0x26f690[_0x4b2b4a(0x369)](_0xedcc77=>{var _0x3ba030=_0x4b2b4a;const {unitID:_0x2b3504,objectID:_0x178974,actions:_0x38d0a4}=_0xedcc77,_0x42abc8=_0xfca642['find'](_0x3a975b=>_0x3a975b[_0x3ba030(0x2df)]===_0x2b3504&&_0x3a975b[_0x3ba030(0x18d)]===_0x178974),_0x31d619=_0x38d0a4[_0x3ba030(0x369)](_0x384e07=>_0x42abc8==null?void 0x0:_0x42abc8['actions'][_0x3ba030(0x2ae)](_0x32a4f6=>_0x32a4f6[_0x3ba030(0x4df)]===_0x384e07))[_0x3ba030(0x389)](_0x2e8c11=>!!_0x2e8c11);return{'config':_0xedcc77,'result':{'actions':_0x31d619,'error':_0x50679c[_0x3ba030(0x4af)]}};});}})}));}[_0x199ec4(0x3e3)](){var _0x4dd323=_0x199ec4,_0x524c2d,_0x4bd638;const _0x5c9d45=this['_configService'][_0x4dd323(0x2d8)](Ve),_0x5969a5=this[_0x4dd323(0x44e)][_0x4dd323(0x2d8)](K);return(_0x4bd638=(_0x524c2d=_0x5969a5==null?void 0x0:_0x5969a5[_0x4dd323(0x3a0)])!=null?_0x524c2d:_0x5c9d45)!=null?_0x4bd638:Ri;}async[_0x199ec4(0x4dc)](_0x45628c){var _0x4f2193=_0x199ec4;const _0x2b3f40=this[_0x4f2193(0x3e3)]()+'/'+_0x45628c['objectType']+_0x4f2193(0x436);return(await this['_HTTPService'][_0x4f2193(0x30e)](_0x2b3f40,{'body':_0x45628c}))[_0x4f2193(0x174)][_0x4f2193(0x18d)]||'';}async[_0x199ec4(0x3ca)](_0x3c9ba0){var _0x2af82e=_0x199ec4;const _0x18cca2=this[_0x2af82e(0x3e3)]()+_0x2af82e(0x17c);return(await this[_0x2af82e(0x25f)][_0x2af82e(0x30e)](_0x18cca2,{'body':_0x3c9ba0}))[_0x2af82e(0x174)]['objects'];}async[_0x199ec4(0x299)](_0x38194f){var _0x114349=_0x199ec4,_0x2ab97d,_0x3a296b;const _0x28ca05=this[_0x114349(0x3e3)]()+'/'+_0x38194f[_0x114349(0x3e0)]+_0x114349(0x472)+_0x38194f['objectID'],_0x5d387c=await this[_0x114349(0x25f)][_0x114349(0x2f9)](_0x28ca05,{'body':_0x38194f});if(((_0x3a296b=(_0x2ab97d=_0x5d387c==null?void 0x0:_0x5d387c[_0x114349(0x174)])==null?void 0x0:_0x2ab97d[_0x114349(0x4af)])==null?void 0x0:_0x3a296b[_0x114349(0x3e4)])!==0x1)throw new Error(_0x114349(0x224));}async[_0x199ec4(0x466)](_0x293723){var _0x4e7bb5=_0x199ec4;const _0x25327e=this[_0x4e7bb5(0x3e3)]()+'/'+_0x293723[_0x4e7bb5(0x3e0)]+_0x4e7bb5(0x472)+_0x293723[_0x4e7bb5(0x18d)]+_0x4e7bb5(0x18e);return(await this[_0x4e7bb5(0x25f)][_0x4e7bb5(0x30e)](_0x25327e,{'body':_0x293723}))[_0x4e7bb5(0x174)][_0x4e7bb5(0x349)];}async['batchAllowed'](_0x4c0469){var _0x2e88e3=_0x199ec4;const _0xeb8cab=this[_0x2e88e3(0x3e3)]()+_0x2e88e3(0x411);return(await this[_0x2e88e3(0x25f)][_0x2e88e3(0x30e)](_0xeb8cab,{'body':{'requests':_0x4c0469}}))[_0x2e88e3(0x174)][_0x2e88e3(0x379)];}async[_0x199ec4(0x4d3)](_0x405811){var _0x34d030=_0x199ec4;const _0x5c83f4=this[_0x34d030(0x3e3)]()+'/'+_0x405811[_0x34d030(0x3e0)]+'/role',_0x11dfe9=await this[_0x34d030(0x25f)][_0x34d030(0x30e)](_0x5c83f4,{'body':_0x405811});return{'roles':_0x11dfe9[_0x34d030(0x174)][_0x34d030(0x442)],'actions':_0x11dfe9[_0x34d030(0x174)][_0x34d030(0x349)]};}async[_0x199ec4(0x2d9)](_0x10925f){var _0x366895=_0x199ec4;const _0x3b81c1=this[_0x366895(0x3e3)]()+_0x366895(0x287);await this['_HTTPService'][_0x366895(0x239)](_0x3b81c1,{'params':{'collaboratorID':_0x10925f['collaboratorID'],'objectID':_0x10925f[_0x366895(0x18d)],'unitID':_0x10925f[_0x366895(0x2df)]}});}async[_0x199ec4(0x1ed)](_0xb7c992){var _0x2e8521=_0x199ec4;const _0x45ad0e=this[_0x2e8521(0x3e3)]()+'/collaborator';await this[_0x2e8521(0x25f)]['patch'](_0x45ad0e,{'body':_0xb7c992});}async['createCollaborator'](_0xa1608){var _0x4cc18e=_0x199ec4;const _0x3c747c=this[_0x4cc18e(0x3e3)]()+_0x4cc18e(0x287);await this['_HTTPService'][_0x4cc18e(0x30e)](_0x3c747c,{'body':_0xa1608});}async[_0x199ec4(0x2c8)](_0x3f8a45){var _0x5b0c16=_0x199ec4;const _0x1d97b0=this['_getAPIPrefixPath']()+_0x5b0c16(0x287);return(await this['_HTTPService']['get'](_0x1d97b0,{'params':{'objectID':_0x3f8a45[_0x5b0c16(0x18d)],'unitID':_0x3f8a45[_0x5b0c16(0x2df)]}}))[_0x5b0c16(0x174)][_0x5b0c16(0x2a9)];}async[_0x199ec4(0x452)](_0x2edc49){var _0x4530de=_0x199ec4;const _0x2a0c6a=this[_0x4530de(0x3e3)]()+_0x4530de(0x287);await this[_0x4530de(0x25f)][_0x4530de(0x2f9)](_0x2a0c6a,{'body':_0x2edc49});}},exports[_0x199ec4(0x26f)]=bi([qe(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),qe(0x1,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x3e7)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x13e64f){var _0x3cf80d=_0x199ec4;return _0x13e64f&&_0x13e64f[_0x3cf80d(0x319)]&&Object[_0x3cf80d(0x3b3)][_0x3cf80d(0x4a5)][_0x3cf80d(0x1cb)](_0x13e64f,_0x3cf80d(0x366))?_0x13e64f[_0x3cf80d(0x366)]:_0x13e64f;}var fe={'exports':{}};function Oi(_0x1a8841){var _0x5c731d=_0x199ec4;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1a8841+_0x5c731d(0x2b9));}var pe={'exports':{}},yi=pe[_0x199ec4(0x4ce)],ze;function Q(){var _0x17db13=_0x199ec4;return ze||(ze=0x1,function(_0x5cefa4,_0x6acd39){(function(_0x226bff,_0x314d4c){var _0x231cd9=_0x3c30;_0x5cefa4[_0x231cd9(0x4ce)]=_0x314d4c();}(yi,function(){var _0x376239=_0x376239||function(_0x3f5f5e,_0x2196dd){var _0x197e26=_0x3c30,_0x5c5152;if(typeof window<'u'&&window['crypto']&&(_0x5c5152=window[_0x197e26(0x262)]),typeof self<'u'&&self[_0x197e26(0x262)]&&(_0x5c5152=self['crypto']),typeof globalThis<'u'&&globalThis[_0x197e26(0x262)]&&(_0x5c5152=globalThis[_0x197e26(0x262)]),!_0x5c5152&&typeof window<'u'&&window[_0x197e26(0x34d)]&&(_0x5c5152=window['msCrypto']),!_0x5c5152&&typeof Pe<'u'&&Pe[_0x197e26(0x262)]&&(_0x5c5152=Pe[_0x197e26(0x262)]),!_0x5c5152&&typeof Oi==_0x197e26(0x291))try{_0x5c5152=require('crypto');}catch{}var _0x1d3893=function(){var _0x5e7462=_0x197e26;if(_0x5c5152){if(typeof _0x5c5152['getRandomValues']=='function')try{return _0x5c5152['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c5152[_0x5e7462(0x3f2)]==_0x5e7462(0x291))try{return _0x5c5152[_0x5e7462(0x3f2)](0x4)[_0x5e7462(0x21f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xeb067b=Object[_0x197e26(0x4dc)]||(function(){function _0x5d27bf(){}return function(_0x32aa22){var _0x1a38e4=_0x3c30,_0x18b580;return _0x5d27bf[_0x1a38e4(0x3b3)]=_0x32aa22,_0x18b580=new _0x5d27bf(),_0x5d27bf['prototype']=null,_0x18b580;};}()),_0x2a6e60={},_0x412e9a=_0x2a6e60[_0x197e26(0x3d4)]={},_0x436205=_0x412e9a[_0x197e26(0x1b0)]=(function(){return{'extend':function(_0x22cf09){var _0x176373=_0x3c30,_0x35c92d=_0xeb067b(this);return _0x22cf09&&_0x35c92d['mixIn'](_0x22cf09),(!_0x35c92d[_0x176373(0x4a5)]('init')||this['init']===_0x35c92d[_0x176373(0x3a6)])&&(_0x35c92d[_0x176373(0x3a6)]=function(){var _0x5bd9a1=_0x176373;_0x35c92d[_0x5bd9a1(0x266)][_0x5bd9a1(0x3a6)][_0x5bd9a1(0x32d)](this,arguments);}),_0x35c92d[_0x176373(0x3a6)][_0x176373(0x3b3)]=_0x35c92d,_0x35c92d[_0x176373(0x266)]=this,_0x35c92d;},'create':function(){var _0x55379f=_0x3c30,_0x530bbe=this[_0x55379f(0x2fc)]();return _0x530bbe[_0x55379f(0x3a6)][_0x55379f(0x32d)](_0x530bbe,arguments),_0x530bbe;},'init':function(){},'mixIn':function(_0x555388){var _0xb4859=_0x3c30;for(var _0xd8a42a in _0x555388)_0x555388[_0xb4859(0x4a5)](_0xd8a42a)&&(this[_0xd8a42a]=_0x555388[_0xd8a42a]);_0x555388[_0xb4859(0x4a5)](_0xb4859(0x471))&&(this['toString']=_0x555388[_0xb4859(0x471)]);},'clone':function(){var _0x51f22a=_0x3c30;return this[_0x51f22a(0x3a6)][_0x51f22a(0x3b3)]['extend'](this);}};}()),_0x1e0417=_0x412e9a[_0x197e26(0x31e)]=_0x436205[_0x197e26(0x2fc)]({'init':function(_0x51a095,_0x4bb8ae){var _0x5404d5=_0x197e26;_0x51a095=this[_0x5404d5(0x1b8)]=_0x51a095||[],_0x4bb8ae!=_0x2196dd?this[_0x5404d5(0x432)]=_0x4bb8ae:this[_0x5404d5(0x432)]=_0x51a095['length']*0x4;},'toString':function(_0x5b5f35){var _0x254616=_0x197e26;return(_0x5b5f35||_0x43ef30)[_0x254616(0x3b7)](this);},'concat':function(_0x5d382a){var _0x553fd3=_0x197e26,_0x2c6d5f=this['words'],_0x5946bd=_0x5d382a[_0x553fd3(0x1b8)],_0x1e4cf8=this['sigBytes'],_0x4d6344=_0x5d382a[_0x553fd3(0x432)];if(this[_0x553fd3(0x48b)](),_0x1e4cf8%0x4)for(var _0x1c72d0=0x0;_0x1c72d0<_0x4d6344;_0x1c72d0++){var _0x47a02f=_0x5946bd[_0x1c72d0>>>0x2]>>>0x18-_0x1c72d0%0x4*0x8&0xff;_0x2c6d5f[_0x1e4cf8+_0x1c72d0>>>0x2]|=_0x47a02f<<0x18-(_0x1e4cf8+_0x1c72d0)%0x4*0x8;}else{for(var _0x27745f=0x0;_0x27745f<_0x4d6344;_0x27745f+=0x4)_0x2c6d5f[_0x1e4cf8+_0x27745f>>>0x2]=_0x5946bd[_0x27745f>>>0x2];}return this[_0x553fd3(0x432)]+=_0x4d6344,this;},'clamp':function(){var _0x2281d9=_0x197e26,_0x339168=this[_0x2281d9(0x1b8)],_0x4440bd=this[_0x2281d9(0x432)];_0x339168[_0x4440bd>>>0x2]&=0xffffffff<<0x20-_0x4440bd%0x4*0x8,_0x339168[_0x2281d9(0x418)]=_0x3f5f5e[_0x2281d9(0x30d)](_0x4440bd/0x4);},'clone':function(){var _0x4429a0=_0x197e26,_0x5d761e=_0x436205['clone'][_0x4429a0(0x1cb)](this);return _0x5d761e['words']=this[_0x4429a0(0x1b8)][_0x4429a0(0x4bc)](0x0),_0x5d761e;},'random':function(_0x2d77a4){var _0x3db35d=_0x197e26;for(var _0x1acbbf=[],_0x462021=0x0;_0x462021<_0x2d77a4;_0x462021+=0x4)_0x1acbbf[_0x3db35d(0x4cf)](_0x1d3893());return new _0x1e0417[(_0x3db35d(0x3a6))](_0x1acbbf,_0x2d77a4);}}),_0x4b6888=_0x2a6e60[_0x197e26(0x210)]={},_0x43ef30=_0x4b6888[_0x197e26(0x17f)]={'stringify':function(_0x3929c7){var _0x4516bd=_0x197e26;for(var _0xca3414=_0x3929c7[_0x4516bd(0x1b8)],_0x1d67a5=_0x3929c7[_0x4516bd(0x432)],_0x52b97b=[],_0x50db7a=0x0;_0x50db7a<_0x1d67a5;_0x50db7a++){var _0x2677d9=_0xca3414[_0x50db7a>>>0x2]>>>0x18-_0x50db7a%0x4*0x8&0xff;_0x52b97b[_0x4516bd(0x4cf)]((_0x2677d9>>>0x4)[_0x4516bd(0x471)](0x10)),_0x52b97b['push']((_0x2677d9&0xf)['toString'](0x10));}return _0x52b97b[_0x4516bd(0x451)]('');},'parse':function(_0x3e794b){var _0x4cf69d=_0x197e26;for(var _0x6d008a=_0x3e794b[_0x4cf69d(0x418)],_0x56d396=[],_0x2f76c6=0x0;_0x2f76c6<_0x6d008a;_0x2f76c6+=0x2)_0x56d396[_0x2f76c6>>>0x3]|=parseInt(_0x3e794b[_0x4cf69d(0x479)](_0x2f76c6,0x2),0x10)<<0x18-_0x2f76c6%0x8*0x4;return new _0x1e0417[(_0x4cf69d(0x3a6))](_0x56d396,_0x6d008a/0x2);}},_0x9e0956=_0x4b6888[_0x197e26(0x443)]={'stringify':function(_0x71ee37){var _0x25aeaf=_0x197e26;for(var _0x339b34=_0x71ee37[_0x25aeaf(0x1b8)],_0x380ee2=_0x71ee37[_0x25aeaf(0x432)],_0x581576=[],_0x2c4c33=0x0;_0x2c4c33<_0x380ee2;_0x2c4c33++){var _0xea6195=_0x339b34[_0x2c4c33>>>0x2]>>>0x18-_0x2c4c33%0x4*0x8&0xff;_0x581576[_0x25aeaf(0x4cf)](String[_0x25aeaf(0x20a)](_0xea6195));}return _0x581576[_0x25aeaf(0x451)]('');},'parse':function(_0x25629d){var _0x5e9757=_0x197e26;for(var _0x4dd75d=_0x25629d[_0x5e9757(0x418)],_0x1a84ae=[],_0x532bc7=0x0;_0x532bc7<_0x4dd75d;_0x532bc7++)_0x1a84ae[_0x532bc7>>>0x2]|=(_0x25629d[_0x5e9757(0x4bb)](_0x532bc7)&0xff)<<0x18-_0x532bc7%0x4*0x8;return new _0x1e0417[(_0x5e9757(0x3a6))](_0x1a84ae,_0x4dd75d);}},_0x22ccaa=_0x4b6888[_0x197e26(0x381)]={'stringify':function(_0x5aa7f2){var _0x2b2cad=_0x197e26;try{return decodeURIComponent(escape(_0x9e0956[_0x2b2cad(0x3b7)](_0x5aa7f2)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4664a8){return _0x9e0956['parse'](unescape(encodeURIComponent(_0x4664a8)));}},_0x13e856=_0x412e9a[_0x197e26(0x250)]=_0x436205['extend']({'reset':function(){var _0x344db9=_0x197e26;this[_0x344db9(0x46d)]=new _0x1e0417[(_0x344db9(0x3a6))](),this[_0x344db9(0x330)]=0x0;},'_append':function(_0xca6871){var _0x1406a2=_0x197e26;typeof _0xca6871=='string'&&(_0xca6871=_0x22ccaa['parse'](_0xca6871)),this[_0x1406a2(0x46d)][_0x1406a2(0x18f)](_0xca6871),this[_0x1406a2(0x330)]+=_0xca6871[_0x1406a2(0x432)];},'_process':function(_0x44215c){var _0x2c8ea3=_0x197e26,_0x3e9b26,_0x3012cc=this['_data'],_0x48b63d=_0x3012cc[_0x2c8ea3(0x1b8)],_0x26d3fd=_0x3012cc['sigBytes'],_0x38c506=this[_0x2c8ea3(0x38c)],_0x52d672=_0x38c506*0x4,_0x20e007=_0x26d3fd/_0x52d672;_0x44215c?_0x20e007=_0x3f5f5e['ceil'](_0x20e007):_0x20e007=_0x3f5f5e[_0x2c8ea3(0x3aa)]((_0x20e007|0x0)-this[_0x2c8ea3(0x1f4)],0x0);var _0x26dc54=_0x20e007*_0x38c506,_0x4b1c4a=_0x3f5f5e[_0x2c8ea3(0x36f)](_0x26dc54*0x4,_0x26d3fd);if(_0x26dc54){for(var _0x381d1d=0x0;_0x381d1d<_0x26dc54;_0x381d1d+=_0x38c506)this[_0x2c8ea3(0x4aa)](_0x48b63d,_0x381d1d);_0x3e9b26=_0x48b63d[_0x2c8ea3(0x3fe)](0x0,_0x26dc54),_0x3012cc[_0x2c8ea3(0x432)]-=_0x4b1c4a;}return new _0x1e0417['init'](_0x3e9b26,_0x4b1c4a);},'clone':function(){var _0x31b752=_0x197e26,_0x3d7ee4=_0x436205[_0x31b752(0x3ee)][_0x31b752(0x1cb)](this);return _0x3d7ee4[_0x31b752(0x46d)]=this[_0x31b752(0x46d)][_0x31b752(0x3ee)](),_0x3d7ee4;},'_minBufferSize':0x0});_0x412e9a[_0x197e26(0x39e)]=_0x13e856[_0x197e26(0x2fc)]({'cfg':_0x436205[_0x197e26(0x2fc)](),'init':function(_0x33c48d){var _0x39b9d8=_0x197e26;this[_0x39b9d8(0x258)]=this[_0x39b9d8(0x258)][_0x39b9d8(0x2fc)](_0x33c48d),this[_0x39b9d8(0x3bf)]();},'reset':function(){var _0x1fd803=_0x197e26;_0x13e856[_0x1fd803(0x3bf)][_0x1fd803(0x1cb)](this),this[_0x1fd803(0x2d2)]();},'update':function(_0x3be1b6){var _0x18c1e4=_0x197e26;return this[_0x18c1e4(0x4e2)](_0x3be1b6),this[_0x18c1e4(0x37c)](),this;},'finalize':function(_0x1e470e){var _0x16766c=_0x197e26;_0x1e470e&&this['_append'](_0x1e470e);var _0xdd183a=this[_0x16766c(0x3b1)]();return _0xdd183a;},'blockSize':0x10,'_createHelper':function(_0x2e0c79){return function(_0xb4824b,_0x1ca707){var _0x5c4c5d=_0x3c30;return new _0x2e0c79['init'](_0x1ca707)[_0x5c4c5d(0x25e)](_0xb4824b);};},'_createHmacHelper':function(_0x1c93b2){return function(_0xffea6e,_0x33c4a2){var _0x261f32=_0x3c30;return new _0x1e223b['HMAC'][(_0x261f32(0x3a6))](_0x1c93b2,_0x33c4a2)[_0x261f32(0x25e)](_0xffea6e);};}});var _0x1e223b=_0x2a6e60[_0x197e26(0x285)]={};return _0x2a6e60;}(Math);return _0x376239;}));}(pe)),pe[_0x17db13(0x4ce)];}var Ie={'exports':{}},Ni=Ie[_0x199ec4(0x4ce)],Je;function yt(){var _0x2a2ff0=_0x199ec4;return Je||(Je=0x1,function(_0x180ed3,_0x4345c1){(function(_0x8b1cd3,_0x43b59f){var _0x174b7e=_0x3c30;_0x180ed3[_0x174b7e(0x4ce)]=_0x43b59f(Q());}(Ni,function(_0x54a661){var _0x37021e=_0x3c30;return(function(){var _0x42c334=_0x3c30,_0x27e514=_0x54a661,_0x12b577=_0x27e514[_0x42c334(0x3d4)],_0x384126=_0x12b577[_0x42c334(0x31e)],_0x1109a5=_0x27e514[_0x42c334(0x210)];_0x1109a5['Base64']={'stringify':function(_0x2904b1){var _0x4afbbb=_0x42c334,_0x7399d0=_0x2904b1[_0x4afbbb(0x1b8)],_0x18f9de=_0x2904b1[_0x4afbbb(0x432)],_0x48251b=this[_0x4afbbb(0x348)];_0x2904b1['clamp']();for(var _0x30b0ec=[],_0xc17741=0x0;_0xc17741<_0x18f9de;_0xc17741+=0x3)for(var _0x2983bf=_0x7399d0[_0xc17741>>>0x2]>>>0x18-_0xc17741%0x4*0x8&0xff,_0x113f85=_0x7399d0[_0xc17741+0x1>>>0x2]>>>0x18-(_0xc17741+0x1)%0x4*0x8&0xff,_0x2174c2=_0x7399d0[_0xc17741+0x2>>>0x2]>>>0x18-(_0xc17741+0x2)%0x4*0x8&0xff,_0x5563ae=_0x2983bf<<0x10|_0x113f85<<0x8|_0x2174c2,_0x58d811=0x0;_0x58d811<0x4&&_0xc17741+_0x58d811*0.75<_0x18f9de;_0x58d811++)_0x30b0ec[_0x4afbbb(0x4cf)](_0x48251b[_0x4afbbb(0x42c)](_0x5563ae>>>0x6*(0x3-_0x58d811)&0x3f));var _0x3da9a3=_0x48251b['charAt'](0x40);if(_0x3da9a3){for(;_0x30b0ec[_0x4afbbb(0x418)]%0x4;)_0x30b0ec[_0x4afbbb(0x4cf)](_0x3da9a3);}return _0x30b0ec[_0x4afbbb(0x451)]('');},'parse':function(_0x2da1d7){var _0x4006ed=_0x42c334,_0x42be0b=_0x2da1d7['length'],_0x10ba62=this[_0x4006ed(0x348)],_0x2887f9=this[_0x4006ed(0x345)];if(!_0x2887f9){_0x2887f9=this[_0x4006ed(0x345)]=[];for(var _0x5d3e4c=0x0;_0x5d3e4c<_0x10ba62[_0x4006ed(0x418)];_0x5d3e4c++)_0x2887f9[_0x10ba62[_0x4006ed(0x4bb)](_0x5d3e4c)]=_0x5d3e4c;}var _0x2e1344=_0x10ba62[_0x4006ed(0x42c)](0x40);if(_0x2e1344){var _0x2dcfc5=_0x2da1d7[_0x4006ed(0x4d4)](_0x2e1344);_0x2dcfc5!==-0x1&&(_0x42be0b=_0x2dcfc5);}return _0x181a6b(_0x2da1d7,_0x42be0b,_0x2887f9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x181a6b(_0x5de2c0,_0x74e14d,_0x14395c){var _0x1842ba=_0x42c334;for(var _0x33ec20=[],_0x94a2cf=0x0,_0x2aee94=0x0;_0x2aee94<_0x74e14d;_0x2aee94++)if(_0x2aee94%0x4){var _0x5cc64f=_0x14395c[_0x5de2c0[_0x1842ba(0x4bb)](_0x2aee94-0x1)]<<_0x2aee94%0x4*0x2,_0x11eb18=_0x14395c[_0x5de2c0['charCodeAt'](_0x2aee94)]>>>0x6-_0x2aee94%0x4*0x2,_0x4eeba9=_0x5cc64f|_0x11eb18;_0x33ec20[_0x94a2cf>>>0x2]|=_0x4eeba9<<0x18-_0x94a2cf%0x4*0x8,_0x94a2cf++;}return _0x384126[_0x1842ba(0x4dc)](_0x33ec20,_0x94a2cf);}}()),_0x54a661[_0x37021e(0x210)][_0x37021e(0x499)];}));}(Ie)),Ie[_0x2a2ff0(0x4ce)];}var ge={'exports':{}},Ui=ge[_0x199ec4(0x4ce)],Xe;function Di(){var _0x1bb926=_0x199ec4;return Xe||(Xe=0x1,function(_0x4172e8,_0x2a093c){(function(_0x5145cf,_0x3abad9){var _0x3af0cd=_0x3c30;_0x4172e8[_0x3af0cd(0x4ce)]=_0x3abad9(Q());}(Ui,function(_0x1027a3){return function(_0x866324){var _0x1a8143=_0x3c30,_0x47c21d=_0x1027a3,_0x21e4c8=_0x47c21d['lib'],_0x599948=_0x21e4c8['WordArray'],_0x570475=_0x21e4c8[_0x1a8143(0x39e)],_0x3b8a80=_0x47c21d[_0x1a8143(0x285)],_0x5ebfc3=[];(function(){var _0x36bab0=_0x1a8143;for(var _0x31eba9=0x0;_0x31eba9<0x40;_0x31eba9++)_0x5ebfc3[_0x31eba9]=_0x866324[_0x36bab0(0x4b4)](_0x866324[_0x36bab0(0x1b7)](_0x31eba9+0x1))*0x100000000|0x0;}());var _0x9fc69f=_0x3b8a80[_0x1a8143(0x311)]=_0x570475[_0x1a8143(0x2fc)]({'_doReset':function(){var _0x57afa4=_0x1a8143;this[_0x57afa4(0x491)]=new _0x599948[(_0x57afa4(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2a151e,_0x75dbec){var _0x17a90b=_0x1a8143;for(var _0x2c310d=0x0;_0x2c310d<0x10;_0x2c310d++){var _0x29406b=_0x75dbec+_0x2c310d,_0x1f19a6=_0x2a151e[_0x29406b];_0x2a151e[_0x29406b]=(_0x1f19a6<<0x8|_0x1f19a6>>>0x18)&0xff00ff|(_0x1f19a6<<0x18|_0x1f19a6>>>0x8)&0xff00ff00;}var _0x1690e6=this[_0x17a90b(0x491)][_0x17a90b(0x1b8)],_0x1b368c=_0x2a151e[_0x75dbec+0x0],_0x350d9b=_0x2a151e[_0x75dbec+0x1],_0x1970a2=_0x2a151e[_0x75dbec+0x2],_0x515b78=_0x2a151e[_0x75dbec+0x3],_0x53d387=_0x2a151e[_0x75dbec+0x4],_0x2022a1=_0x2a151e[_0x75dbec+0x5],_0x173cc5=_0x2a151e[_0x75dbec+0x6],_0x517e75=_0x2a151e[_0x75dbec+0x7],_0x2417be=_0x2a151e[_0x75dbec+0x8],_0x3e150e=_0x2a151e[_0x75dbec+0x9],_0x514f77=_0x2a151e[_0x75dbec+0xa],_0x235458=_0x2a151e[_0x75dbec+0xb],_0x44901b=_0x2a151e[_0x75dbec+0xc],_0x20dab4=_0x2a151e[_0x75dbec+0xd],_0x191699=_0x2a151e[_0x75dbec+0xe],_0x309397=_0x2a151e[_0x75dbec+0xf],_0x35eb22=_0x1690e6[0x0],_0x56bbfa=_0x1690e6[0x1],_0x1566c2=_0x1690e6[0x2],_0x466c50=_0x1690e6[0x3];_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x1b368c,0x7,_0x5ebfc3[0x0]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x350d9b,0xc,_0x5ebfc3[0x1]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x1970a2,0x11,_0x5ebfc3[0x2]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x515b78,0x16,_0x5ebfc3[0x3]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x53d387,0x7,_0x5ebfc3[0x4]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x2022a1,0xc,_0x5ebfc3[0x5]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x173cc5,0x11,_0x5ebfc3[0x6]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x517e75,0x16,_0x5ebfc3[0x7]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2417be,0x7,_0x5ebfc3[0x8]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x3e150e,0xc,_0x5ebfc3[0x9]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x514f77,0x11,_0x5ebfc3[0xa]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x235458,0x16,_0x5ebfc3[0xb]),_0x35eb22=_0x313fda(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x44901b,0x7,_0x5ebfc3[0xc]),_0x466c50=_0x313fda(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x20dab4,0xc,_0x5ebfc3[0xd]),_0x1566c2=_0x313fda(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x191699,0x11,_0x5ebfc3[0xe]),_0x56bbfa=_0x313fda(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x309397,0x16,_0x5ebfc3[0xf]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x350d9b,0x5,_0x5ebfc3[0x10]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x173cc5,0x9,_0x5ebfc3[0x11]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x235458,0xe,_0x5ebfc3[0x12]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x1b368c,0x14,_0x5ebfc3[0x13]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2022a1,0x5,_0x5ebfc3[0x14]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x514f77,0x9,_0x5ebfc3[0x15]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x309397,0xe,_0x5ebfc3[0x16]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x53d387,0x14,_0x5ebfc3[0x17]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x3e150e,0x5,_0x5ebfc3[0x18]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x191699,0x9,_0x5ebfc3[0x19]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x515b78,0xe,_0x5ebfc3[0x1a]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x2417be,0x14,_0x5ebfc3[0x1b]),_0x35eb22=_0x51e055(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x20dab4,0x5,_0x5ebfc3[0x1c]),_0x466c50=_0x51e055(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x1970a2,0x9,_0x5ebfc3[0x1d]),_0x1566c2=_0x51e055(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x517e75,0xe,_0x5ebfc3[0x1e]),_0x56bbfa=_0x51e055(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x44901b,0x14,_0x5ebfc3[0x1f]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2022a1,0x4,_0x5ebfc3[0x20]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x2417be,0xb,_0x5ebfc3[0x21]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x235458,0x10,_0x5ebfc3[0x22]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x191699,0x17,_0x5ebfc3[0x23]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x350d9b,0x4,_0x5ebfc3[0x24]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x53d387,0xb,_0x5ebfc3[0x25]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x517e75,0x10,_0x5ebfc3[0x26]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x514f77,0x17,_0x5ebfc3[0x27]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x20dab4,0x4,_0x5ebfc3[0x28]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x1b368c,0xb,_0x5ebfc3[0x29]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x515b78,0x10,_0x5ebfc3[0x2a]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x173cc5,0x17,_0x5ebfc3[0x2b]),_0x35eb22=_0x139424(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x3e150e,0x4,_0x5ebfc3[0x2c]),_0x466c50=_0x139424(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x44901b,0xb,_0x5ebfc3[0x2d]),_0x1566c2=_0x139424(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x309397,0x10,_0x5ebfc3[0x2e]),_0x56bbfa=_0x139424(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x1970a2,0x17,_0x5ebfc3[0x2f]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x1b368c,0x6,_0x5ebfc3[0x30]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x517e75,0xa,_0x5ebfc3[0x31]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x191699,0xf,_0x5ebfc3[0x32]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x2022a1,0x15,_0x5ebfc3[0x33]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x44901b,0x6,_0x5ebfc3[0x34]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x515b78,0xa,_0x5ebfc3[0x35]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x514f77,0xf,_0x5ebfc3[0x36]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x350d9b,0x15,_0x5ebfc3[0x37]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x2417be,0x6,_0x5ebfc3[0x38]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x309397,0xa,_0x5ebfc3[0x39]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x173cc5,0xf,_0x5ebfc3[0x3a]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x20dab4,0x15,_0x5ebfc3[0x3b]),_0x35eb22=_0xea6ac5(_0x35eb22,_0x56bbfa,_0x1566c2,_0x466c50,_0x53d387,0x6,_0x5ebfc3[0x3c]),_0x466c50=_0xea6ac5(_0x466c50,_0x35eb22,_0x56bbfa,_0x1566c2,_0x235458,0xa,_0x5ebfc3[0x3d]),_0x1566c2=_0xea6ac5(_0x1566c2,_0x466c50,_0x35eb22,_0x56bbfa,_0x1970a2,0xf,_0x5ebfc3[0x3e]),_0x56bbfa=_0xea6ac5(_0x56bbfa,_0x1566c2,_0x466c50,_0x35eb22,_0x3e150e,0x15,_0x5ebfc3[0x3f]),_0x1690e6[0x0]=_0x1690e6[0x0]+_0x35eb22|0x0,_0x1690e6[0x1]=_0x1690e6[0x1]+_0x56bbfa|0x0,_0x1690e6[0x2]=_0x1690e6[0x2]+_0x1566c2|0x0,_0x1690e6[0x3]=_0x1690e6[0x3]+_0x466c50|0x0;},'_doFinalize':function(){var _0x25b187=_0x1a8143,_0xb14e9a=this['_data'],_0x22e3bb=_0xb14e9a[_0x25b187(0x1b8)],_0x10d9b4=this[_0x25b187(0x330)]*0x8,_0x311cc2=_0xb14e9a[_0x25b187(0x432)]*0x8;_0x22e3bb[_0x311cc2>>>0x5]|=0x80<<0x18-_0x311cc2%0x20;var _0x545546=_0x866324[_0x25b187(0x2af)](_0x10d9b4/0x100000000),_0x49e1f5=_0x10d9b4;_0x22e3bb[(_0x311cc2+0x40>>>0x9<<0x4)+0xf]=(_0x545546<<0x8|_0x545546>>>0x18)&0xff00ff|(_0x545546<<0x18|_0x545546>>>0x8)&0xff00ff00,_0x22e3bb[(_0x311cc2+0x40>>>0x9<<0x4)+0xe]=(_0x49e1f5<<0x8|_0x49e1f5>>>0x18)&0xff00ff|(_0x49e1f5<<0x18|_0x49e1f5>>>0x8)&0xff00ff00,_0xb14e9a[_0x25b187(0x432)]=(_0x22e3bb['length']+0x1)*0x4,this[_0x25b187(0x37c)]();for(var _0x528810=this['_hash'],_0x2d1552=_0x528810[_0x25b187(0x1b8)],_0x180f2f=0x0;_0x180f2f<0x4;_0x180f2f++){var _0x1e1c90=_0x2d1552[_0x180f2f];_0x2d1552[_0x180f2f]=(_0x1e1c90<<0x8|_0x1e1c90>>>0x18)&0xff00ff|(_0x1e1c90<<0x18|_0x1e1c90>>>0x8)&0xff00ff00;}return _0x528810;},'clone':function(){var _0x413016=_0x1a8143,_0x1adf95=_0x570475[_0x413016(0x3ee)]['call'](this);return _0x1adf95['_hash']=this[_0x413016(0x491)][_0x413016(0x3ee)](),_0x1adf95;}});function _0x313fda(_0x1c8578,_0x4d47a6,_0x23b0a2,_0x31c566,_0x107cd6,_0x153c1a,_0x3efedf){var _0x12eb2f=_0x1c8578+(_0x4d47a6&_0x23b0a2|~_0x4d47a6&_0x31c566)+_0x107cd6+_0x3efedf;return(_0x12eb2f<<_0x153c1a|_0x12eb2f>>>0x20-_0x153c1a)+_0x4d47a6;}function _0x51e055(_0xd8e0ee,_0x41ea1b,_0x19fa1,_0x5a189a,_0x4b6f14,_0x1e9cd8,_0x55d01e){var _0x513696=_0xd8e0ee+(_0x41ea1b&_0x5a189a|_0x19fa1&~_0x5a189a)+_0x4b6f14+_0x55d01e;return(_0x513696<<_0x1e9cd8|_0x513696>>>0x20-_0x1e9cd8)+_0x41ea1b;}function _0x139424(_0x25337f,_0x5b25ad,_0x2cda54,_0x17e1a1,_0x3bde01,_0x29332d,_0x1c1bba){var _0x2901e9=_0x25337f+(_0x5b25ad^_0x2cda54^_0x17e1a1)+_0x3bde01+_0x1c1bba;return(_0x2901e9<<_0x29332d|_0x2901e9>>>0x20-_0x29332d)+_0x5b25ad;}function _0xea6ac5(_0x47c86a,_0x3e8085,_0x2f0f18,_0x503dfe,_0x5cfb68,_0x2a0887,_0x2dd656){var _0x304472=_0x47c86a+(_0x2f0f18^(_0x3e8085|~_0x503dfe))+_0x5cfb68+_0x2dd656;return(_0x304472<<_0x2a0887|_0x304472>>>0x20-_0x2a0887)+_0x3e8085;}_0x47c21d[_0x1a8143(0x311)]=_0x570475[_0x1a8143(0x4d1)](_0x9fc69f),_0x47c21d[_0x1a8143(0x43b)]=_0x570475[_0x1a8143(0x467)](_0x9fc69f);}(Math),_0x1027a3['MD5'];}));}(ge)),ge[_0x1bb926(0x4ce)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){return Ze||(Ze=0x1,function(_0x3fe9c9,_0x528402){(function(_0x2065b5,_0x53a5e0){var _0x32e688=_0x3c30;_0x3fe9c9[_0x32e688(0x4ce)]=_0x53a5e0(Q());}(Ai,function(_0x50263c){return(function(){var _0x5adb29=_0x3c30,_0x14baae=_0x50263c,_0x477b24=_0x14baae[_0x5adb29(0x3d4)],_0x36066f=_0x477b24[_0x5adb29(0x31e)],_0x1fd723=_0x477b24[_0x5adb29(0x39e)],_0x202e1f=_0x14baae[_0x5adb29(0x285)],_0x3a26fb=[],_0x6722b7=_0x202e1f['SHA1']=_0x1fd723['extend']({'_doReset':function(){var _0x1bf2bb=_0x5adb29;this[_0x1bf2bb(0x491)]=new _0x36066f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x58ef77,_0x47396c){var _0x199073=_0x5adb29;for(var _0x1bc0b0=this['_hash'][_0x199073(0x1b8)],_0x260c1a=_0x1bc0b0[0x0],_0x108666=_0x1bc0b0[0x1],_0xae0381=_0x1bc0b0[0x2],_0x40e487=_0x1bc0b0[0x3],_0x2fb362=_0x1bc0b0[0x4],_0x42f16b=0x0;_0x42f16b<0x50;_0x42f16b++){if(_0x42f16b<0x10)_0x3a26fb[_0x42f16b]=_0x58ef77[_0x47396c+_0x42f16b]|0x0;else{var _0x519d57=_0x3a26fb[_0x42f16b-0x3]^_0x3a26fb[_0x42f16b-0x8]^_0x3a26fb[_0x42f16b-0xe]^_0x3a26fb[_0x42f16b-0x10];_0x3a26fb[_0x42f16b]=_0x519d57<<0x1|_0x519d57>>>0x1f;}var _0x2a991f=(_0x260c1a<<0x5|_0x260c1a>>>0x1b)+_0x2fb362+_0x3a26fb[_0x42f16b];_0x42f16b<0x14?_0x2a991f+=(_0x108666&_0xae0381|~_0x108666&_0x40e487)+0x5a827999:_0x42f16b<0x28?_0x2a991f+=(_0x108666^_0xae0381^_0x40e487)+0x6ed9eba1:_0x42f16b<0x3c?_0x2a991f+=(_0x108666&_0xae0381|_0x108666&_0x40e487|_0xae0381&_0x40e487)-0x70e44324:_0x2a991f+=(_0x108666^_0xae0381^_0x40e487)-0x359d3e2a,_0x2fb362=_0x40e487,_0x40e487=_0xae0381,_0xae0381=_0x108666<<0x1e|_0x108666>>>0x2,_0x108666=_0x260c1a,_0x260c1a=_0x2a991f;}_0x1bc0b0[0x0]=_0x1bc0b0[0x0]+_0x260c1a|0x0,_0x1bc0b0[0x1]=_0x1bc0b0[0x1]+_0x108666|0x0,_0x1bc0b0[0x2]=_0x1bc0b0[0x2]+_0xae0381|0x0,_0x1bc0b0[0x3]=_0x1bc0b0[0x3]+_0x40e487|0x0,_0x1bc0b0[0x4]=_0x1bc0b0[0x4]+_0x2fb362|0x0;},'_doFinalize':function(){var _0x432c98=_0x5adb29,_0x41d288=this['_data'],_0x495326=_0x41d288[_0x432c98(0x1b8)],_0x12718d=this[_0x432c98(0x330)]*0x8,_0x2073fe=_0x41d288[_0x432c98(0x432)]*0x8;return _0x495326[_0x2073fe>>>0x5]|=0x80<<0x18-_0x2073fe%0x20,_0x495326[(_0x2073fe+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x12718d/0x100000000),_0x495326[(_0x2073fe+0x40>>>0x9<<0x4)+0xf]=_0x12718d,_0x41d288['sigBytes']=_0x495326[_0x432c98(0x418)]*0x4,this[_0x432c98(0x37c)](),this['_hash'];},'clone':function(){var _0x2c0d50=_0x5adb29,_0x3d3b92=_0x1fd723[_0x2c0d50(0x3ee)][_0x2c0d50(0x1cb)](this);return _0x3d3b92[_0x2c0d50(0x491)]=this[_0x2c0d50(0x491)]['clone'](),_0x3d3b92;}});_0x14baae[_0x5adb29(0x2c6)]=_0x1fd723[_0x5adb29(0x4d1)](_0x6722b7),_0x14baae[_0x5adb29(0x4ab)]=_0x1fd723[_0x5adb29(0x467)](_0x6722b7);}()),_0x50263c['SHA1'];}));}(me)),me['exports'];}var Ce={'exports':{}},wi=Ce[_0x199ec4(0x4ce)],Qe;function Li(){var _0x145fd2=_0x199ec4;return Qe||(Qe=0x1,function(_0x57211b,_0x2591c7){(function(_0x8ed6eb,_0x55352d){var _0x557c01=_0x3c30;_0x57211b[_0x557c01(0x4ce)]=_0x55352d(Q());}(wi,function(_0x1b1af9){(function(){var _0x15c9a3=_0x3c30,_0x2b5fcb=_0x1b1af9,_0x2be6d4=_0x2b5fcb['lib'],_0x1b0944=_0x2be6d4[_0x15c9a3(0x1b0)],_0x50849d=_0x2b5fcb[_0x15c9a3(0x210)],_0x55b27c=_0x50849d[_0x15c9a3(0x381)],_0x2d8bcf=_0x2b5fcb[_0x15c9a3(0x285)];_0x2d8bcf[_0x15c9a3(0x3a3)]=_0x1b0944[_0x15c9a3(0x2fc)]({'init':function(_0x24ca48,_0x2bcf6b){var _0x57c24c=_0x15c9a3;_0x24ca48=this[_0x57c24c(0x29c)]=new _0x24ca48[(_0x57c24c(0x3a6))](),typeof _0x2bcf6b=='string'&&(_0x2bcf6b=_0x55b27c['parse'](_0x2bcf6b));var _0x47718a=_0x24ca48[_0x57c24c(0x38c)],_0x2592e1=_0x47718a*0x4;_0x2bcf6b[_0x57c24c(0x432)]>_0x2592e1&&(_0x2bcf6b=_0x24ca48[_0x57c24c(0x25e)](_0x2bcf6b)),_0x2bcf6b[_0x57c24c(0x48b)]();for(var _0x5c8c17=this[_0x57c24c(0x48f)]=_0x2bcf6b['clone'](),_0x99170a=this[_0x57c24c(0x288)]=_0x2bcf6b['clone'](),_0x178876=_0x5c8c17[_0x57c24c(0x1b8)],_0x16c975=_0x99170a[_0x57c24c(0x1b8)],_0x562585=0x0;_0x562585<_0x47718a;_0x562585++)_0x178876[_0x562585]^=0x5c5c5c5c,_0x16c975[_0x562585]^=0x36363636;_0x5c8c17[_0x57c24c(0x432)]=_0x99170a['sigBytes']=_0x2592e1,this[_0x57c24c(0x3bf)]();},'reset':function(){var _0x169b0d=_0x15c9a3,_0x36434a=this['_hasher'];_0x36434a[_0x169b0d(0x3bf)](),_0x36434a[_0x169b0d(0x299)](this[_0x169b0d(0x288)]);},'update':function(_0x40fd17){var _0x2a24f7=_0x15c9a3;return this[_0x2a24f7(0x29c)][_0x2a24f7(0x299)](_0x40fd17),this;},'finalize':function(_0x19faee){var _0x355578=_0x15c9a3,_0x16a839=this['_hasher'],_0x178c5f=_0x16a839['finalize'](_0x19faee);_0x16a839[_0x355578(0x3bf)]();var _0x142ad9=_0x16a839[_0x355578(0x25e)](this[_0x355578(0x48f)][_0x355578(0x3ee)]()[_0x355578(0x18f)](_0x178c5f));return _0x142ad9;}});}());}));}(Ce)),Ce[_0x145fd2(0x4ce)];}var Mi=Ee[_0x199ec4(0x4ce)],et;function Nt(){var _0x59bbf6=_0x199ec4;return et||(et=0x1,function(_0x10116c,_0x392d7f){(function(_0x2c705d,_0x2971e5,_0x120d7e){_0x10116c['exports']=_0x2971e5(Q(),Pi(),Li());}(Mi,function(_0x275bb2){var _0x3d3561=_0x3c30;return(function(){var _0x12cfdc=_0x3c30,_0x36cd85=_0x275bb2,_0x57cfee=_0x36cd85[_0x12cfdc(0x3d4)],_0xc125de=_0x57cfee[_0x12cfdc(0x1b0)],_0x3c7a00=_0x57cfee['WordArray'],_0x291418=_0x36cd85[_0x12cfdc(0x285)],_0x3d4ffd=_0x291418['MD5'],_0x24fb7f=_0x291418[_0x12cfdc(0x4cc)]=_0xc125de[_0x12cfdc(0x2fc)]({'cfg':_0xc125de['extend']({'keySize':0x80/0x20,'hasher':_0x3d4ffd,'iterations':0x1}),'init':function(_0x2f37b0){var _0x2464f1=_0x12cfdc;this[_0x2464f1(0x258)]=this[_0x2464f1(0x258)]['extend'](_0x2f37b0);},'compute':function(_0x572943,_0x209041){var _0x413034=_0x12cfdc;for(var _0x5b9168,_0x54d197=this[_0x413034(0x258)],_0xb277e5=_0x54d197[_0x413034(0x4c0)][_0x413034(0x4dc)](),_0xc6424=_0x3c7a00[_0x413034(0x4dc)](),_0x3491a4=_0xc6424[_0x413034(0x1b8)],_0x38c236=_0x54d197[_0x413034(0x1b2)],_0xecbf71=_0x54d197[_0x413034(0x1a9)];_0x3491a4[_0x413034(0x418)]<_0x38c236;){_0x5b9168&&_0xb277e5[_0x413034(0x299)](_0x5b9168),_0x5b9168=_0xb277e5[_0x413034(0x299)](_0x572943)[_0x413034(0x25e)](_0x209041),_0xb277e5['reset']();for(var _0x4a961b=0x1;_0x4a961b<_0xecbf71;_0x4a961b++)_0x5b9168=_0xb277e5['finalize'](_0x5b9168),_0xb277e5[_0x413034(0x3bf)]();_0xc6424[_0x413034(0x18f)](_0x5b9168);}return _0xc6424[_0x413034(0x432)]=_0x38c236*0x4,_0xc6424;}});_0x36cd85[_0x12cfdc(0x4cc)]=function(_0x520ed5,_0x19d40e,_0x24277a){var _0x33dc86=_0x12cfdc;return _0x24fb7f[_0x33dc86(0x4dc)](_0x24277a)[_0x33dc86(0x19d)](_0x520ed5,_0x19d40e);};}()),_0x275bb2[_0x3d3561(0x4cc)];}));}(Ee)),Ee[_0x59bbf6(0x4ce)];}var Te={'exports':{}},xi=Te[_0x199ec4(0x4ce)],tt;function Ut(){var _0x305ac7=_0x199ec4;return tt||(tt=0x1,function(_0x4970e2,_0x5d58cd){(function(_0x4856f8,_0x1b88a3,_0xad80bc){var _0x106e1d=_0x3c30;_0x4970e2[_0x106e1d(0x4ce)]=_0x1b88a3(Q(),Nt());}(xi,function(_0x3d7ffd){var _0x300976=_0x3c30;_0x3d7ffd[_0x300976(0x3d4)]['Cipher']||function(_0x23ab5c){var _0x23cca6=_0x300976,_0x215f37=_0x3d7ffd,_0x326870=_0x215f37[_0x23cca6(0x3d4)],_0x460f6a=_0x326870[_0x23cca6(0x1b0)],_0x1920c0=_0x326870[_0x23cca6(0x31e)],_0x2e635b=_0x326870['BufferedBlockAlgorithm'],_0x3d4fab=_0x215f37[_0x23cca6(0x210)];_0x3d4fab['Utf8'];var _0x5608db=_0x3d4fab[_0x23cca6(0x499)],_0x4a60da=_0x215f37[_0x23cca6(0x285)],_0x10ea22=_0x4a60da['EvpKDF'],_0x49b3e1=_0x326870[_0x23cca6(0x435)]=_0x2e635b[_0x23cca6(0x2fc)]({'cfg':_0x460f6a[_0x23cca6(0x2fc)](),'createEncryptor':function(_0xc07602,_0x46077b){var _0x1130e9=_0x23cca6;return this[_0x1130e9(0x4dc)](this[_0x1130e9(0x3af)],_0xc07602,_0x46077b);},'createDecryptor':function(_0x437fff,_0x347926){var _0x50278b=_0x23cca6;return this[_0x50278b(0x4dc)](this[_0x50278b(0x3cc)],_0x437fff,_0x347926);},'init':function(_0x18ff24,_0x22bdfc,_0x4fe636){var _0x3e6243=_0x23cca6;this[_0x3e6243(0x258)]=this['cfg'][_0x3e6243(0x2fc)](_0x4fe636),this[_0x3e6243(0x2c9)]=_0x18ff24,this[_0x3e6243(0x179)]=_0x22bdfc,this[_0x3e6243(0x3bf)]();},'reset':function(){var _0x39e7fb=_0x23cca6;_0x2e635b[_0x39e7fb(0x3bf)]['call'](this),this[_0x39e7fb(0x2d2)]();},'process':function(_0x496acf){var _0x5608e6=_0x23cca6;return this[_0x5608e6(0x4e2)](_0x496acf),this[_0x5608e6(0x37c)]();},'finalize':function(_0x4675b3){var _0x33f992=_0x23cca6;_0x4675b3&&this['_append'](_0x4675b3);var _0x1bc143=this[_0x33f992(0x3b1)]();return _0x1bc143;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x132564(_0x420677){var _0x417961=_0x3c30;return typeof _0x420677==_0x417961(0x25d)?_0x40b318:_0x986e49;}return function(_0x58ae11){return{'encrypt':function(_0x3103b9,_0x105123,_0xa4e273){var _0x3c9c61=_0x3c30;return _0x132564(_0x105123)[_0x3c9c61(0x3c8)](_0x58ae11,_0x3103b9,_0x105123,_0xa4e273);},'decrypt':function(_0x310012,_0x1e73be,_0xf62aab){var _0x4ad8c2=_0x3c30;return _0x132564(_0x1e73be)[_0x4ad8c2(0x276)](_0x58ae11,_0x310012,_0x1e73be,_0xf62aab);}};};}())});_0x326870['StreamCipher']=_0x49b3e1[_0x23cca6(0x2fc)]({'_doFinalize':function(){var _0x3c24e1=this['_process'](!0x0);return _0x3c24e1;},'blockSize':0x1});var _0x3cc938=_0x215f37['mode']={},_0x1973cc=_0x326870[_0x23cca6(0x27d)]=_0x460f6a['extend']({'createEncryptor':function(_0x5451c0,_0x5735da){var _0x27ca0f=_0x23cca6;return this[_0x27ca0f(0x35b)][_0x27ca0f(0x4dc)](_0x5451c0,_0x5735da);},'createDecryptor':function(_0x1b4e31,_0x411d19){var _0x57eed2=_0x23cca6;return this[_0x57eed2(0x410)]['create'](_0x1b4e31,_0x411d19);},'init':function(_0x5b9a5a,_0x74f1b5){var _0x3c9887=_0x23cca6;this[_0x3c9887(0x33a)]=_0x5b9a5a,this[_0x3c9887(0x294)]=_0x74f1b5;}}),_0x30f89e=_0x3cc938[_0x23cca6(0x4b5)]=(function(){var _0x2d7326=_0x23cca6,_0x160761=_0x1973cc[_0x2d7326(0x2fc)]();_0x160761['Encryptor']=_0x160761['extend']({'processBlock':function(_0x371f5b,_0x4d0b91){var _0x66408b=_0x2d7326,_0x4386d6=this[_0x66408b(0x33a)],_0xa9872a=_0x4386d6[_0x66408b(0x38c)];_0x537f83[_0x66408b(0x1cb)](this,_0x371f5b,_0x4d0b91,_0xa9872a),_0x4386d6[_0x66408b(0x39b)](_0x371f5b,_0x4d0b91),this['_prevBlock']=_0x371f5b[_0x66408b(0x4bc)](_0x4d0b91,_0x4d0b91+_0xa9872a);}}),_0x160761[_0x2d7326(0x410)]=_0x160761[_0x2d7326(0x2fc)]({'processBlock':function(_0x268c80,_0x5ce4d0){var _0x598f91=_0x2d7326,_0x19669b=this[_0x598f91(0x33a)],_0x3678a3=_0x19669b[_0x598f91(0x38c)],_0x53d0ac=_0x268c80[_0x598f91(0x4bc)](_0x5ce4d0,_0x5ce4d0+_0x3678a3);_0x19669b['decryptBlock'](_0x268c80,_0x5ce4d0),_0x537f83[_0x598f91(0x1cb)](this,_0x268c80,_0x5ce4d0,_0x3678a3),this[_0x598f91(0x462)]=_0x53d0ac;}});function _0x537f83(_0x3fc6b5,_0xeb77db,_0x5729af){var _0x5029b0=_0x2d7326,_0x59106d,_0x1722cf=this[_0x5029b0(0x294)];_0x1722cf?(_0x59106d=_0x1722cf,this[_0x5029b0(0x294)]=_0x23ab5c):_0x59106d=this[_0x5029b0(0x462)];for(var _0x1894be=0x0;_0x1894be<_0x5729af;_0x1894be++)_0x3fc6b5[_0xeb77db+_0x1894be]^=_0x59106d[_0x1894be];}return _0x160761;}()),_0x5dcf61=_0x215f37[_0x23cca6(0x2dd)]={},_0x5e5704=_0x5dcf61[_0x23cca6(0x43d)]={'pad':function(_0x394513,_0x28ceaa){var _0x31c156=_0x23cca6;for(var _0x7415f7=_0x28ceaa*0x4,_0x709679=_0x7415f7-_0x394513[_0x31c156(0x432)]%_0x7415f7,_0x41db8a=_0x709679<<0x18|_0x709679<<0x10|_0x709679<<0x8|_0x709679,_0x5eeef7=[],_0x11e29f=0x0;_0x11e29f<_0x709679;_0x11e29f+=0x4)_0x5eeef7['push'](_0x41db8a);var _0x521c0b=_0x1920c0[_0x31c156(0x4dc)](_0x5eeef7,_0x709679);_0x394513['concat'](_0x521c0b);},'unpad':function(_0x124e9b){var _0x40b30a=_0x23cca6,_0x10c71a=_0x124e9b[_0x40b30a(0x1b8)][_0x124e9b[_0x40b30a(0x432)]-0x1>>>0x2]&0xff;_0x124e9b[_0x40b30a(0x432)]-=_0x10c71a;}};_0x326870[_0x23cca6(0x1df)]=_0x49b3e1[_0x23cca6(0x2fc)]({'cfg':_0x49b3e1[_0x23cca6(0x258)]['extend']({'mode':_0x30f89e,'padding':_0x5e5704}),'reset':function(){var _0x537133=_0x23cca6,_0x271c88;_0x49b3e1[_0x537133(0x3bf)][_0x537133(0x1cb)](this);var _0xc39693=this[_0x537133(0x258)],_0x442ebd=_0xc39693['iv'],_0x296c47=_0xc39693['mode'];this[_0x537133(0x2c9)]==this['_ENC_XFORM_MODE']?_0x271c88=_0x296c47['createEncryptor']:(_0x271c88=_0x296c47[_0x537133(0x35a)],this[_0x537133(0x1f4)]=0x1),this[_0x537133(0x383)]&&this[_0x537133(0x383)][_0x537133(0x2fd)]==_0x271c88?this[_0x537133(0x383)][_0x537133(0x3a6)](this,_0x442ebd&&_0x442ebd[_0x537133(0x1b8)]):(this[_0x537133(0x383)]=_0x271c88[_0x537133(0x1cb)](_0x296c47,this,_0x442ebd&&_0x442ebd[_0x537133(0x1b8)]),this[_0x537133(0x383)][_0x537133(0x2fd)]=_0x271c88);},'_doProcessBlock':function(_0x5b16d,_0x19b09f){this['_mode']['processBlock'](_0x5b16d,_0x19b09f);},'_doFinalize':function(){var _0x5b29a7=_0x23cca6,_0xad5a42,_0x2db725=this[_0x5b29a7(0x258)]['padding'];return this[_0x5b29a7(0x2c9)]==this[_0x5b29a7(0x3af)]?(_0x2db725[_0x5b29a7(0x2dd)](this['_data'],this[_0x5b29a7(0x38c)]),_0xad5a42=this['_process'](!0x0)):(_0xad5a42=this[_0x5b29a7(0x37c)](!0x0),_0x2db725[_0x5b29a7(0x1b6)](_0xad5a42)),_0xad5a42;},'blockSize':0x80/0x20});var _0xadb77e=_0x326870[_0x23cca6(0x2d6)]=_0x460f6a[_0x23cca6(0x2fc)]({'init':function(_0x179e8c){this['mixIn'](_0x179e8c);},'toString':function(_0x1f051f){var _0x23c88f=_0x23cca6;return(_0x1f051f||this[_0x23c88f(0x31d)])[_0x23c88f(0x3b7)](this);}}),_0x5c26ab=_0x215f37[_0x23cca6(0x248)]={},_0x2ec1c0=_0x5c26ab[_0x23cca6(0x1aa)]={'stringify':function(_0x3a3c41){var _0x38ad37=_0x23cca6,_0x36bd4a,_0x5a5914=_0x3a3c41[_0x38ad37(0x19b)],_0x395015=_0x3a3c41[_0x38ad37(0x481)];return _0x395015?_0x36bd4a=_0x1920c0[_0x38ad37(0x4dc)]([0x53616c74,0x65645f5f])['concat'](_0x395015)[_0x38ad37(0x18f)](_0x5a5914):_0x36bd4a=_0x5a5914,_0x36bd4a[_0x38ad37(0x471)](_0x5608db);},'parse':function(_0x30432b){var _0x4ada40=_0x23cca6,_0x195ac8,_0x1da9ed=_0x5608db[_0x4ada40(0x494)](_0x30432b),_0x318b6f=_0x1da9ed[_0x4ada40(0x1b8)];return _0x318b6f[0x0]==0x53616c74&&_0x318b6f[0x1]==0x65645f5f&&(_0x195ac8=_0x1920c0[_0x4ada40(0x4dc)](_0x318b6f[_0x4ada40(0x4bc)](0x2,0x4)),_0x318b6f[_0x4ada40(0x3fe)](0x0,0x4),_0x1da9ed[_0x4ada40(0x432)]-=0x10),_0xadb77e[_0x4ada40(0x4dc)]({'ciphertext':_0x1da9ed,'salt':_0x195ac8});}},_0x986e49=_0x326870[_0x23cca6(0x429)]=_0x460f6a[_0x23cca6(0x2fc)]({'cfg':_0x460f6a[_0x23cca6(0x2fc)]({'format':_0x2ec1c0}),'encrypt':function(_0x54baf8,_0x13dd4f,_0x390e18,_0x131ec6){var _0x1b0ad4=_0x23cca6;_0x131ec6=this['cfg']['extend'](_0x131ec6);var _0x2597c2=_0x54baf8[_0x1b0ad4(0x265)](_0x390e18,_0x131ec6),_0x47d4cb=_0x2597c2['finalize'](_0x13dd4f),_0x1ef6cd=_0x2597c2[_0x1b0ad4(0x258)];return _0xadb77e[_0x1b0ad4(0x4dc)]({'ciphertext':_0x47d4cb,'key':_0x390e18,'iv':_0x1ef6cd['iv'],'algorithm':_0x54baf8,'mode':_0x1ef6cd[_0x1b0ad4(0x34a)],'padding':_0x1ef6cd[_0x1b0ad4(0x493)],'blockSize':_0x54baf8[_0x1b0ad4(0x38c)],'formatter':_0x131ec6['format']});},'decrypt':function(_0x41372d,_0x42bdee,_0x20df5d,_0x55fff4){var _0x1526bd=_0x23cca6;_0x55fff4=this['cfg']['extend'](_0x55fff4),_0x42bdee=this[_0x1526bd(0x46c)](_0x42bdee,_0x55fff4[_0x1526bd(0x248)]);var _0x36c497=_0x41372d[_0x1526bd(0x35a)](_0x20df5d,_0x55fff4)[_0x1526bd(0x25e)](_0x42bdee[_0x1526bd(0x19b)]);return _0x36c497;},'_parse':function(_0xb1eb90,_0x15144a){var _0x33f497=_0x23cca6;return typeof _0xb1eb90==_0x33f497(0x25d)?_0x15144a[_0x33f497(0x494)](_0xb1eb90,this):_0xb1eb90;}}),_0x1abd45=_0x215f37[_0x23cca6(0x279)]={},_0x250f2e=_0x1abd45['OpenSSL']={'execute':function(_0x282a14,_0x352752,_0x583b8f,_0xb55a07,_0x577fa5){var _0x3c2a63=_0x23cca6;if(_0xb55a07||(_0xb55a07=_0x1920c0[_0x3c2a63(0x350)](0x40/0x8)),_0x577fa5)var _0x2460d4=_0x10ea22[_0x3c2a63(0x4dc)]({'keySize':_0x352752+_0x583b8f,'hasher':_0x577fa5})[_0x3c2a63(0x19d)](_0x282a14,_0xb55a07);else var _0x2460d4=_0x10ea22[_0x3c2a63(0x4dc)]({'keySize':_0x352752+_0x583b8f})[_0x3c2a63(0x19d)](_0x282a14,_0xb55a07);var _0x334363=_0x1920c0[_0x3c2a63(0x4dc)](_0x2460d4[_0x3c2a63(0x1b8)][_0x3c2a63(0x4bc)](_0x352752),_0x583b8f*0x4);return _0x2460d4[_0x3c2a63(0x432)]=_0x352752*0x4,_0xadb77e['create']({'key':_0x2460d4,'iv':_0x334363,'salt':_0xb55a07});}},_0x40b318=_0x326870[_0x23cca6(0x4ca)]=_0x986e49[_0x23cca6(0x2fc)]({'cfg':_0x986e49[_0x23cca6(0x258)]['extend']({'kdf':_0x250f2e}),'encrypt':function(_0x3ce356,_0x58c12c,_0x357208,_0x39a1b1){var _0x54138b=_0x23cca6;_0x39a1b1=this[_0x54138b(0x258)][_0x54138b(0x2fc)](_0x39a1b1);var _0x54b5ff=_0x39a1b1[_0x54138b(0x279)][_0x54138b(0x37d)](_0x357208,_0x3ce356[_0x54138b(0x1b2)],_0x3ce356[_0x54138b(0x259)],_0x39a1b1[_0x54138b(0x481)],_0x39a1b1['hasher']);_0x39a1b1['iv']=_0x54b5ff['iv'];var _0x4abb3a=_0x986e49[_0x54138b(0x3c8)]['call'](this,_0x3ce356,_0x58c12c,_0x54b5ff[_0x54138b(0x34c)],_0x39a1b1);return _0x4abb3a[_0x54138b(0x431)](_0x54b5ff),_0x4abb3a;},'decrypt':function(_0x2011de,_0x540961,_0x372198,_0x4df831){var _0x561de9=_0x23cca6;_0x4df831=this[_0x561de9(0x258)][_0x561de9(0x2fc)](_0x4df831),_0x540961=this[_0x561de9(0x46c)](_0x540961,_0x4df831[_0x561de9(0x248)]);var _0x2f7a4d=_0x4df831[_0x561de9(0x279)][_0x561de9(0x37d)](_0x372198,_0x2011de[_0x561de9(0x1b2)],_0x2011de[_0x561de9(0x259)],_0x540961['salt'],_0x4df831[_0x561de9(0x4c0)]);_0x4df831['iv']=_0x2f7a4d['iv'];var _0x2eea5a=_0x986e49[_0x561de9(0x276)]['call'](this,_0x2011de,_0x540961,_0x2f7a4d[_0x561de9(0x34c)],_0x4df831);return _0x2eea5a;}});}();}));}(Te)),Te[_0x305ac7(0x4ce)];}var ki=fe[_0x199ec4(0x4ce)],it;function Hi(){return it||(it=0x1,function(_0x13faec,_0x13f5bb){(function(_0x511e9e,_0x4829a5,_0x399b14){_0x13faec['exports']=_0x4829a5(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x253c8f){var _0x1c964f=_0x3c30;return(function(){var _0x1dc617=_0x3c30,_0x2ed395=_0x253c8f,_0x47a0f9=_0x2ed395[_0x1dc617(0x3d4)],_0x318b9f=_0x47a0f9[_0x1dc617(0x1df)],_0x426a97=_0x2ed395[_0x1dc617(0x285)],_0x40ccab=[],_0x5e0533=[],_0xdddbe1=[],_0x434158=[],_0xaca828=[],_0x34335a=[],_0x8c20e4=[],_0x2aac48=[],_0x4715f3=[],_0x27d9af=[];(function(){for(var _0x46faf5=[],_0x4881ef=0x0;_0x4881ef<0x100;_0x4881ef++)_0x4881ef<0x80?_0x46faf5[_0x4881ef]=_0x4881ef<<0x1:_0x46faf5[_0x4881ef]=_0x4881ef<<0x1^0x11b;for(var _0x54e0c0=0x0,_0x353eed=0x0,_0x4881ef=0x0;_0x4881ef<0x100;_0x4881ef++){var _0x39d972=_0x353eed^_0x353eed<<0x1^_0x353eed<<0x2^_0x353eed<<0x3^_0x353eed<<0x4;_0x39d972=_0x39d972>>>0x8^_0x39d972&0xff^0x63,_0x40ccab[_0x54e0c0]=_0x39d972,_0x5e0533[_0x39d972]=_0x54e0c0;var _0x5d2612=_0x46faf5[_0x54e0c0],_0x451534=_0x46faf5[_0x5d2612],_0x4db527=_0x46faf5[_0x451534],_0x57c501=_0x46faf5[_0x39d972]*0x101^_0x39d972*0x1010100;_0xdddbe1[_0x54e0c0]=_0x57c501<<0x18|_0x57c501>>>0x8,_0x434158[_0x54e0c0]=_0x57c501<<0x10|_0x57c501>>>0x10,_0xaca828[_0x54e0c0]=_0x57c501<<0x8|_0x57c501>>>0x18,_0x34335a[_0x54e0c0]=_0x57c501;var _0x57c501=_0x4db527*0x1010101^_0x451534*0x10001^_0x5d2612*0x101^_0x54e0c0*0x1010100;_0x8c20e4[_0x39d972]=_0x57c501<<0x18|_0x57c501>>>0x8,_0x2aac48[_0x39d972]=_0x57c501<<0x10|_0x57c501>>>0x10,_0x4715f3[_0x39d972]=_0x57c501<<0x8|_0x57c501>>>0x18,_0x27d9af[_0x39d972]=_0x57c501,_0x54e0c0?(_0x54e0c0=_0x5d2612^_0x46faf5[_0x46faf5[_0x46faf5[_0x4db527^_0x5d2612]]],_0x353eed^=_0x46faf5[_0x46faf5[_0x353eed]]):_0x54e0c0=_0x353eed=0x1;}}());var _0x9c9cef=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xc19c23=_0x426a97[_0x1dc617(0x1e9)]=_0x318b9f[_0x1dc617(0x2fc)]({'_doReset':function(){var _0x1f87df=_0x1dc617,_0x20e4c8;if(!(this['_nRounds']&&this[_0x1f87df(0x48e)]===this[_0x1f87df(0x179)])){for(var _0x116e77=this[_0x1f87df(0x48e)]=this[_0x1f87df(0x179)],_0xbee133=_0x116e77[_0x1f87df(0x1b8)],_0x50ff67=_0x116e77[_0x1f87df(0x432)]/0x4,_0x517a10=this[_0x1f87df(0x3d2)]=_0x50ff67+0x6,_0x2a9164=(_0x517a10+0x1)*0x4,_0x50c705=this['_keySchedule']=[],_0xe97c88=0x0;_0xe97c88<_0x2a9164;_0xe97c88++)_0xe97c88<_0x50ff67?_0x50c705[_0xe97c88]=_0xbee133[_0xe97c88]:(_0x20e4c8=_0x50c705[_0xe97c88-0x1],_0xe97c88%_0x50ff67?_0x50ff67>0x6&&_0xe97c88%_0x50ff67==0x4&&(_0x20e4c8=_0x40ccab[_0x20e4c8>>>0x18]<<0x18|_0x40ccab[_0x20e4c8>>>0x10&0xff]<<0x10|_0x40ccab[_0x20e4c8>>>0x8&0xff]<<0x8|_0x40ccab[_0x20e4c8&0xff]):(_0x20e4c8=_0x20e4c8<<0x8|_0x20e4c8>>>0x18,_0x20e4c8=_0x40ccab[_0x20e4c8>>>0x18]<<0x18|_0x40ccab[_0x20e4c8>>>0x10&0xff]<<0x10|_0x40ccab[_0x20e4c8>>>0x8&0xff]<<0x8|_0x40ccab[_0x20e4c8&0xff],_0x20e4c8^=_0x9c9cef[_0xe97c88/_0x50ff67|0x0]<<0x18),_0x50c705[_0xe97c88]=_0x50c705[_0xe97c88-_0x50ff67]^_0x20e4c8);for(var _0x4b3945=this['_invKeySchedule']=[],_0x8d0d77=0x0;_0x8d0d77<_0x2a9164;_0x8d0d77++){var _0xe97c88=_0x2a9164-_0x8d0d77;if(_0x8d0d77%0x4)var _0x20e4c8=_0x50c705[_0xe97c88];else var _0x20e4c8=_0x50c705[_0xe97c88-0x4];_0x8d0d77<0x4||_0xe97c88<=0x4?_0x4b3945[_0x8d0d77]=_0x20e4c8:_0x4b3945[_0x8d0d77]=_0x8c20e4[_0x40ccab[_0x20e4c8>>>0x18]]^_0x2aac48[_0x40ccab[_0x20e4c8>>>0x10&0xff]]^_0x4715f3[_0x40ccab[_0x20e4c8>>>0x8&0xff]]^_0x27d9af[_0x40ccab[_0x20e4c8&0xff]];}}},'encryptBlock':function(_0x3ac6c0,_0x57a2e2){var _0xdfc7f2=_0x1dc617;this[_0xdfc7f2(0x29f)](_0x3ac6c0,_0x57a2e2,this[_0xdfc7f2(0x4da)],_0xdddbe1,_0x434158,_0xaca828,_0x34335a,_0x40ccab);},'decryptBlock':function(_0x5a5c54,_0x38c57a){var _0x5a8b5a=_0x1dc617,_0x2bfa97=_0x5a5c54[_0x38c57a+0x1];_0x5a5c54[_0x38c57a+0x1]=_0x5a5c54[_0x38c57a+0x3],_0x5a5c54[_0x38c57a+0x3]=_0x2bfa97,this[_0x5a8b5a(0x29f)](_0x5a5c54,_0x38c57a,this['_invKeySchedule'],_0x8c20e4,_0x2aac48,_0x4715f3,_0x27d9af,_0x5e0533);var _0x2bfa97=_0x5a5c54[_0x38c57a+0x1];_0x5a5c54[_0x38c57a+0x1]=_0x5a5c54[_0x38c57a+0x3],_0x5a5c54[_0x38c57a+0x3]=_0x2bfa97;},'_doCryptBlock':function(_0x356e25,_0x2542db,_0x37f9af,_0x356ba1,_0x371a06,_0x51a5d2,_0x30e594,_0x4d0371){for(var _0x15d3a9=this['_nRounds'],_0x355f40=_0x356e25[_0x2542db]^_0x37f9af[0x0],_0x1910ea=_0x356e25[_0x2542db+0x1]^_0x37f9af[0x1],_0x3d4c5b=_0x356e25[_0x2542db+0x2]^_0x37f9af[0x2],_0xfc954c=_0x356e25[_0x2542db+0x3]^_0x37f9af[0x3],_0x1529d1=0x4,_0x4d52cb=0x1;_0x4d52cb<_0x15d3a9;_0x4d52cb++){var _0x3f0894=_0x356ba1[_0x355f40>>>0x18]^_0x371a06[_0x1910ea>>>0x10&0xff]^_0x51a5d2[_0x3d4c5b>>>0x8&0xff]^_0x30e594[_0xfc954c&0xff]^_0x37f9af[_0x1529d1++],_0x4d5e8f=_0x356ba1[_0x1910ea>>>0x18]^_0x371a06[_0x3d4c5b>>>0x10&0xff]^_0x51a5d2[_0xfc954c>>>0x8&0xff]^_0x30e594[_0x355f40&0xff]^_0x37f9af[_0x1529d1++],_0x5ed287=_0x356ba1[_0x3d4c5b>>>0x18]^_0x371a06[_0xfc954c>>>0x10&0xff]^_0x51a5d2[_0x355f40>>>0x8&0xff]^_0x30e594[_0x1910ea&0xff]^_0x37f9af[_0x1529d1++],_0x5bd0c4=_0x356ba1[_0xfc954c>>>0x18]^_0x371a06[_0x355f40>>>0x10&0xff]^_0x51a5d2[_0x1910ea>>>0x8&0xff]^_0x30e594[_0x3d4c5b&0xff]^_0x37f9af[_0x1529d1++];_0x355f40=_0x3f0894,_0x1910ea=_0x4d5e8f,_0x3d4c5b=_0x5ed287,_0xfc954c=_0x5bd0c4;}var _0x3f0894=(_0x4d0371[_0x355f40>>>0x18]<<0x18|_0x4d0371[_0x1910ea>>>0x10&0xff]<<0x10|_0x4d0371[_0x3d4c5b>>>0x8&0xff]<<0x8|_0x4d0371[_0xfc954c&0xff])^_0x37f9af[_0x1529d1++],_0x4d5e8f=(_0x4d0371[_0x1910ea>>>0x18]<<0x18|_0x4d0371[_0x3d4c5b>>>0x10&0xff]<<0x10|_0x4d0371[_0xfc954c>>>0x8&0xff]<<0x8|_0x4d0371[_0x355f40&0xff])^_0x37f9af[_0x1529d1++],_0x5ed287=(_0x4d0371[_0x3d4c5b>>>0x18]<<0x18|_0x4d0371[_0xfc954c>>>0x10&0xff]<<0x10|_0x4d0371[_0x355f40>>>0x8&0xff]<<0x8|_0x4d0371[_0x1910ea&0xff])^_0x37f9af[_0x1529d1++],_0x5bd0c4=(_0x4d0371[_0xfc954c>>>0x18]<<0x18|_0x4d0371[_0x355f40>>>0x10&0xff]<<0x10|_0x4d0371[_0x1910ea>>>0x8&0xff]<<0x8|_0x4d0371[_0x3d4c5b&0xff])^_0x37f9af[_0x1529d1++];_0x356e25[_0x2542db]=_0x3f0894,_0x356e25[_0x2542db+0x1]=_0x4d5e8f,_0x356e25[_0x2542db+0x2]=_0x5ed287,_0x356e25[_0x2542db+0x3]=_0x5bd0c4;},'keySize':0x100/0x20});_0x2ed395[_0x1dc617(0x1e9)]=_0x318b9f[_0x1dc617(0x4d1)](_0xc19c23);}()),_0x253c8f[_0x1c964f(0x1e9)];}));}(fe)),fe['exports'];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x199ec4(0x4ce)],rt;function Vi(){var _0x158000=_0x199ec4;return rt||(rt=0x1,function(_0xfa2d59,_0x5c41ef){(function(_0x7f7321,_0x4fd1fd){var _0x21a3a7=_0x3c30;_0xfa2d59[_0x21a3a7(0x4ce)]=_0x4fd1fd(Q());}(Fi,function(_0x292188){var _0x5bff6c=_0x3c30;return _0x292188[_0x5bff6c(0x210)][_0x5bff6c(0x381)];}));}(be)),be[_0x158000(0x4ce)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x199ec4(0x4ce)],st;function Yi(){return st||(st=0x1,function(_0x2c0dbb,_0x4017bb){(function(_0xbd9653,_0x4c9b73){var _0x5681c1=_0x3c30;_0x2c0dbb[_0x5681c1(0x4ce)]=_0x4c9b73(Q());}(Ki,function(_0x6e0b69){var _0x5cfcfb=_0x3c30;return(function(){var _0x34455a=_0x3c30;if(typeof ArrayBuffer==_0x34455a(0x291)){var _0x39ad11=_0x6e0b69,_0x114a8b=_0x39ad11[_0x34455a(0x3d4)],_0x25e498=_0x114a8b['WordArray'],_0x4dc41e=_0x25e498[_0x34455a(0x3a6)],_0x3c3b73=_0x25e498[_0x34455a(0x3a6)]=function(_0x4df3fd){var _0x181357=_0x34455a;if(_0x4df3fd instanceof ArrayBuffer&&(_0x4df3fd=new Uint8Array(_0x4df3fd)),(_0x4df3fd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4df3fd instanceof Uint8ClampedArray||_0x4df3fd instanceof Int16Array||_0x4df3fd instanceof Uint16Array||_0x4df3fd instanceof Int32Array||_0x4df3fd instanceof Uint32Array||_0x4df3fd instanceof Float32Array||_0x4df3fd instanceof Float64Array)&&(_0x4df3fd=new Uint8Array(_0x4df3fd[_0x181357(0x1e6)],_0x4df3fd[_0x181357(0x1f7)],_0x4df3fd[_0x181357(0x441)])),_0x4df3fd instanceof Uint8Array){for(var _0x2bd4e0=_0x4df3fd[_0x181357(0x441)],_0x30ca77=[],_0x3497ea=0x0;_0x3497ea<_0x2bd4e0;_0x3497ea++)_0x30ca77[_0x3497ea>>>0x2]|=_0x4df3fd[_0x3497ea]<<0x18-_0x3497ea%0x4*0x8;_0x4dc41e['call'](this,_0x30ca77,_0x2bd4e0);}else _0x4dc41e[_0x181357(0x32d)](this,arguments);};_0x3c3b73[_0x34455a(0x3b3)]=_0x25e498;}}()),_0x6e0b69['lib'][_0x5cfcfb(0x31e)];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0xab123=_0x199ec4;return ot||(ot=0x1,function(_0x5675a9,_0x5468bf){(function(_0x4310c5,_0x4fe5f3,_0xc0d39){var _0x3d6adf=_0x3c30;_0x5675a9[_0x3d6adf(0x4ce)]=_0x4fe5f3(Q(),Ut());}(Ji,function(_0x43dd95){var _0x534763=_0x3c30;return _0x43dd95[_0x534763(0x2dd)][_0x534763(0x404)]={'pad':function(){},'unpad':function(){}},_0x43dd95[_0x534763(0x2dd)][_0x534763(0x404)];}));}(Oe)),Oe[_0xab123(0x4ce)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x2875d4,_0x3a7822){var _0xbe404b=_0x199ec4;const _0x445076=_0x3a7822-_0x2875d4['length']%_0x3a7822,_0xb71bd0=String['fromCharCode'](_0x445076)[_0xbe404b(0x49a)](_0x445076);return _0x2875d4+_0xb71bd0;}function tn(_0xb0a698,_0x358b4c){var _0x3c8621=_0x199ec4;const _0x389a89=zi['random'](0x10),_0x39f20e=en(_0xb0a698,0x10),_0x3923a9=ji[_0x3c8621(0x3c8)](Gi['parse'](_0x39f20e),nt['parse'](_0x358b4c),{'iv':_0x389a89,'padding':Qi});return _0x389a89[_0x3c8621(0x18f)](_0x3923a9[_0x3c8621(0x19b)])[_0x3c8621(0x471)](nt);}function nn(){var _0x3985dc=_0x199ec4;const _0x5c0567=wt['getGlobalObject']()[_0x3985dc(0x37b)];if(_0x5c0567){const _0x493469={'time':Math['floor'](Date[_0x3985dc(0x4c3)]()/0x3e8),'domain':location[_0x3985dc(0x3fd)]};return tn(JSON[_0x3985dc(0x3b7)](_0x493469),_0x5c0567);}}var rn=Object[_0x199ec4(0x244)],sn=(_0x1c7cf7,_0x45e070,_0x402f8e,_0x4cb0b1)=>{var _0x573442=_0x199ec4;for(var _0x3bb2f1=_0x4cb0b1>0x1?void 0x0:_0x4cb0b1?rn(_0x45e070,_0x402f8e):_0x45e070,_0x4fe0fa=_0x1c7cf7[_0x573442(0x418)]-0x1,_0x25c360;_0x4fe0fa>=0x0;_0x4fe0fa--)(_0x25c360=_0x1c7cf7[_0x4fe0fa])&&(_0x3bb2f1=_0x25c360(_0x3bb2f1)||_0x3bb2f1);return _0x3bb2f1;},on=(_0x5cef3e,_0x2ccd32)=>(_0x4f87cf,_0x1b0dfd)=>_0x2ccd32(_0x4f87cf,_0x1b0dfd,_0x5cef3e);let Ne=class{constructor(_0x10441d){var _0x62f180=_0x199ec4;this[_0x62f180(0x44a)]=_0x10441d,this['_initRequestHeader']();}[_0x199ec4(0x315)](){var _0xd31ec7=_0x199ec4;this[_0xd31ec7(0x44a)][_0xd31ec7(0x449)]({'interceptor':(_0x3af058,_0x2dc810)=>{var _0x1ea148=_0xd31ec7;const _0x278eea=_0x3af058['headers'],_0x1ddaa7=nn();return _0x1ddaa7&&_0x278eea[_0x1ea148(0x3ac)](_0x1ea148(0x340),_0x1ddaa7),_0x2dc810(_0x3af058);}});}};Ne=sn([on(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x80da48,_0x309cac,_0x40b32b,_0x31fb5b)=>{var _0x3b8251=_0x199ec4;for(var _0x35770a=_0x31fb5b>0x1?void 0x0:_0x31fb5b?an(_0x309cac,_0x40b32b):_0x309cac,_0x3da152=_0x80da48[_0x3b8251(0x418)]-0x1,_0x1936ae;_0x3da152>=0x0;_0x3da152--)(_0x1936ae=_0x80da48[_0x3da152])&&(_0x35770a=_0x1936ae(_0x35770a)||_0x35770a);return _0x35770a;},we=(_0x1d9dae,_0x534f3f)=>(_0x77a2bc,_0x19e192)=>_0x534f3f(_0x77a2bc,_0x19e192,_0x1d9dae);exports[_0x199ec4(0x486)]=class extends a['RxDisposable']{constructor(_0x5bc84e,_0x565cc0,_0x122a06){var _0x58cb56=_0x199ec4;super(),A(this,'_unitInfo$',new $['BehaviorSubject'](null)),A(this,_0x58cb56(0x41c),this[_0x58cb56(0x257)]['asObservable']()),(this[_0x58cb56(0x309)]=_0x5bc84e,this[_0x58cb56(0x24a)]=_0x565cc0,this['_localCacheService']=_0x122a06);}async[_0x199ec4(0x355)](_0x314509,_0x22db20,_0x43eb0d){var _0x2bcc0d=_0x199ec4;this['_unitInfo$'][_0x2bcc0d(0x1b3)]({'unitId':_0x314509,'type':_0x22db20});let _0xe9261=null;switch(_0x22db20){case J[_0x2bcc0d(0x31a)]:{_0xe9261=await this['_snapshotService']['loadSheet'](_0x314509,_0x43eb0d);break;}case J[_0x2bcc0d(0x3fc)]:{_0xe9261=await this[_0x2bcc0d(0x24a)][_0x2bcc0d(0x228)](_0x314509,_0x43eb0d);break;}default:{this[_0x2bcc0d(0x309)]['error'](_0x2bcc0d(0x3b9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xe9261;}async[_0x199ec4(0x390)](_0x552b23,_0x460264,_0x35c214){var _0x568c2d=_0x199ec4,_0x438226;this[_0x568c2d(0x257)]['next']({'unitId':_0x552b23,'type':_0x460264,'subUnitId':_0x35c214});let _0x1826e9=0x0;const _0x1d2943=await((_0x438226=this[_0x568c2d(0x33c)])==null?void 0x0:_0x438226[_0x568c2d(0x27a)](_0x552b23));return _0x1d2943&&(_0x1d2943[_0x568c2d(0x209)]||_0x1d2943[_0x568c2d(0x36c)]['length']!==0x0)&&(_0x1826e9=_0x1d2943[_0x568c2d(0x1dd)]),_0x1826e9===0x0&&this['_logService'][_0x568c2d(0x1d1)](_0x568c2d(0x3b9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x568c2d(0x355)](_0x552b23,_0x460264,_0x1826e9);}},exports[_0x199ec4(0x486)]=cn([we(0x0,a[_0x199ec4(0x37e)]),we(0x1,a[_0x199ec4(0x2b7)](I[_0x199ec4(0x480)])),we(0x2,a[_0x199ec4(0x341)](q))],exports[_0x199ec4(0x486)]);var hn=Object[_0x199ec4(0x244)],_n=(_0x1df529,_0x3412ea,_0x26c1dc,_0xaa944b)=>{var _0x3f9a58=_0x199ec4;for(var _0x36d4d5=_0xaa944b>0x1?void 0x0:_0xaa944b?hn(_0x3412ea,_0x26c1dc):_0x3412ea,_0x361f08=_0x1df529[_0x3f9a58(0x418)]-0x1,_0x39fa45;_0x361f08>=0x0;_0x361f08--)(_0x39fa45=_0x1df529[_0x361f08])&&(_0x36d4d5=_0x39fa45(_0x36d4d5)||_0x36d4d5);return _0x36d4d5;},Le=(_0x4b1e00,_0x59b4a5)=>(_0x8db971,_0x4effdb)=>_0x59b4a5(_0x8db971,_0x4effdb,_0x4b1e00);const ln=[_0x199ec4(0x4bf),_0x199ec4(0x225),_0x199ec4(0x460),_0x199ec4(0x28e),_0x199ec4(0x245)],un=0x5*0x400*0x400,dn=_0x199ec4(0x2b2),vn=_0x199ec4(0x1e5),Sn=_0x199ec4(0x192),fn=_0x199ec4(0x359);exports[_0x199ec4(0x333)]=class{constructor(_0x551002,_0x3a5dae,_0x292bd8){var _0x2d585b=_0x199ec4;A(this,_0x2d585b(0x347),0x0),A(this,_0x2d585b(0x29b),new $[(_0x2d585b(0x215))]()),A(this,'change$',this[_0x2d585b(0x29b)]),A(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x551002,this['_configService']=_0x3a5dae,this['_univerInstanceService']=_0x292bd8);}[_0x199ec4(0x205)](_0x29eda2){var _0x32ae9b=_0x199ec4;this['_waitCount']=_0x29eda2,this[_0x32ae9b(0x29b)][_0x32ae9b(0x1b3)](_0x29eda2);}[_0x199ec4(0x495)](_0x145f63,_0xc4a4a9){var _0x4472e9=_0x199ec4;if(_0xc4a4a9===z[_0x4472e9(0x38d)][_0x4472e9(0x4d9)]){const _0x1f696e=new Image();return _0x1f696e[_0x4472e9(0x428)]=_0x145f63,_0x1f696e;}return this[_0x4472e9(0x2ab)]['get'](_0x145f63);}['addImageSourceCache'](_0x5b1541,_0x427a84,_0x4cca00){var _0x3ca7fa=_0x199ec4;_0x427a84===z['ImageSourceType'][_0x3ca7fa(0x4d9)]||_0x4cca00==null||this[_0x3ca7fa(0x2ab)]['set'](_0x5b1541,_0x4cca00);}async['getImage'](_0xc16431){var _0x5c24b6=_0x199ec4;try{const _0x32f1a9=this[_0x5c24b6(0x4a7)](this[_0x5c24b6(0x4ee)](),''+_0xc16431),_0xf97c8=(await this[_0x5c24b6(0x44a)][_0x5c24b6(0x25b)](_0x32f1a9))[_0x5c24b6(0x174)];if(_0xf97c8['error']&&_0xf97c8['error'][_0x5c24b6(0x3e4)]===gt['OK']){const _0x3f1b77=new URL(_0xf97c8['url'],this[_0x5c24b6(0x3bb)]())[_0x5c24b6(0x471)]();return Promise[_0x5c24b6(0x1f5)](_0x3f1b77);}return Promise[_0x5c24b6(0x4bd)](_0xf97c8['error']);}catch(_0xa91cb5){return Promise[_0x5c24b6(0x4bd)](_0xa91cb5);}}async[_0x199ec4(0x2b0)](_0x21d71a){var _0x5de76d=_0x199ec4;let _0x4f7e7c='';if(!ln[_0x5de76d(0x2f8)](_0x21d71a[_0x5de76d(0x4c6)]))return this['_decreaseWaiting'](),Promise[_0x5de76d(0x4bd)](new Error(z[_0x5de76d(0x30f)]['ERROR_IMAGE_TYPE']));if(_0x21d71a[_0x5de76d(0x1e8)]>un)return this[_0x5de76d(0x34b)](),Promise['reject'](new Error(z[_0x5de76d(0x30f)]['ERROR_EXCEED_SIZE']));try{const _0x3f76aa=new FormData();_0x3f76aa[_0x5de76d(0x4ec)](_0x5de76d(0x4dd),_0x21d71a);const _0x43589d=this[_0x5de76d(0x385)][_0x5de76d(0x3d9)](),_0x5b9584=_0x43589d==null?void 0x0:_0x43589d[_0x5de76d(0x424)]();if(!_0x5b9584)throw new Error(_0x5de76d(0x1bd));const _0x2986c1=this[_0x5de76d(0x1c6)]()+_0x5de76d(0x32e)+_0x21d71a[_0x5de76d(0x1e8)][_0x5de76d(0x471)]()+'&source='+Et[_0x5de76d(0x30a)]+_0x5de76d(0x1d2)+encodeURIComponent(_0x5b9584),_0x5aafea={'body':_0x3f76aa},_0x545994=(await this[_0x5de76d(0x44a)][_0x5de76d(0x30e)](_0x2986c1,_0x5aafea))[_0x5de76d(0x174)];if(typeof _0x545994[_0x5de76d(0x41e)]!=_0x5de76d(0x25d))return this['_decreaseWaiting'](),Promise[_0x5de76d(0x4bd)](new Error(z[_0x5de76d(0x30f)][_0x5de76d(0x4a8)]));_0x4f7e7c=_0x545994[_0x5de76d(0x41e)];}catch{return this[_0x5de76d(0x34b)](),Promise['reject'](new Error(z[_0x5de76d(0x30f)][_0x5de76d(0x4a8)]));}return new Promise((_0x2687e2,_0x549da4)=>{var _0x197681=_0x5de76d;const _0x4bfb70=new FileReader();_0x4bfb70['readAsDataURL'](_0x21d71a),_0x4bfb70[_0x197681(0x3f8)]=_0x54a9c8=>{var _0x4b981b=_0x197681,_0x4e0284;const _0x140b7c=(_0x4e0284=_0x54a9c8[_0x4b981b(0x1c1)])==null?void 0x0:_0x4e0284[_0x4b981b(0x20b)];if(_0x140b7c==null){this['_decreaseWaiting'](),_0x549da4(new Error(z[_0x4b981b(0x30f)][_0x4b981b(0x4a8)]));return;}const _0x2a3b05=a[_0x4b981b(0x4b6)][_0x4b981b(0x289)](0x6);_0x2687e2({'imageId':_0x2a3b05,'imageSourceType':z[_0x4b981b(0x38d)][_0x4b981b(0x175)],'source':_0x4f7e7c,'base64Cache':_0x140b7c,'status':z[_0x4b981b(0x30f)]['SUCCUSS']}),this[_0x4b981b(0x34b)]();};});}[_0x199ec4(0x1c6)](){var _0x1a9a4e=_0x199ec4,_0x247ac6,_0x4051b0;const _0x2dc841=this[_0x1a9a4e(0x44e)]['getConfig'](dn),_0x320d80=this[_0x1a9a4e(0x44e)][_0x1a9a4e(0x2d8)](K);return(_0x4051b0=(_0x247ac6=_0x320d80==null?void 0x0:_0x320d80[_0x1a9a4e(0x1c2)])!=null?_0x247ac6:_0x2dc841)!=null?_0x4051b0:vn;}[_0x199ec4(0x4ee)](){var _0x55c2f8=_0x199ec4,_0x1976e3,_0xc63aa;const _0x1b4bda=this[_0x55c2f8(0x44e)][_0x55c2f8(0x2d8)](Sn),_0x2e18b3=this['_configService'][_0x55c2f8(0x2d8)](K);return(_0xc63aa=(_0x1976e3=_0x2e18b3==null?void 0x0:_0x2e18b3[_0x55c2f8(0x2a4)])!=null?_0x1976e3:_0x1b4bda)!=null?_0xc63aa:fn;}[_0x199ec4(0x3bb)](){var _0x3e61fe=_0x199ec4,_0x168a4d;const _0x2918bc=this[_0x3e61fe(0x44e)][_0x3e61fe(0x2d8)](K);return(_0x168a4d=_0x2918bc==null?void 0x0:_0x2918bc[_0x3e61fe(0x1a3)])!=null?_0x168a4d:location[_0x3e61fe(0x29e)];}[_0x199ec4(0x4a7)](_0x3bee91,_0x519fce){var _0x4cc84a=_0x199ec4;return _0x3bee91[_0x4cc84a(0x4e1)](_0x4cc84a(0x346),_0x519fce);}[_0x199ec4(0x34b)](){var _0x41059d=_0x199ec4;this[_0x41059d(0x347)]-=0x1,this[_0x41059d(0x29b)]['next'](this[_0x41059d(0x347)]);}},exports['CollaborationImageIoService']=_n([Le(0x0,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)])),Le(0x1,a[_0x199ec4(0x3e7)]),Le(0x2,a['Inject'](a[_0x199ec4(0x1ec)]))],exports[_0x199ec4(0x333)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0xe797e5,_0x36ea02,_0x3a3484,_0x462cd8)=>{for(var _0x2067cd=_0x462cd8>0x1?void 0x0:_0x462cd8?pn(_0x36ea02,_0x3a3484):_0x36ea02,_0x34bc92=_0xe797e5['length']-0x1,_0x80c3e;_0x34bc92>=0x0;_0x34bc92--)(_0x80c3e=_0xe797e5[_0x34bc92])&&(_0x2067cd=_0x80c3e(_0x2067cd)||_0x2067cd);return _0x2067cd;},at=(_0x49c6ac,_0x2bef48)=>(_0x14828c,_0x1adeaa)=>_0x2bef48(_0x14828c,_0x1adeaa,_0x49c6ac);const gn=_0x199ec4(0x321);exports[_0x199ec4(0x368)]=class{constructor(_0x2b6e15,_0x4c6d74){this['_configService']=_0x2b6e15,this['_HTTPService']=_0x4c6d74;}[_0x199ec4(0x3e3)](){var _0x398a74=_0x199ec4,_0xa3735f,_0x1df723;const _0x21b4fa=this[_0x398a74(0x44e)]['getConfig'](Ve),_0x15c676=this[_0x398a74(0x44e)][_0x398a74(0x2d8)](K);return(_0x1df723=(_0xa3735f=_0x15c676==null?void 0x0:_0x15c676['authzUrl'])!=null?_0xa3735f:_0x21b4fa)!=null?_0x1df723:gn;}async[_0x199ec4(0x3ca)](_0x25b106){var _0x10add5=_0x199ec4;const _0x5b67d2=this[_0x10add5(0x3e3)]()+'/collaborator';return{'list':[{'title':_0x10add5(0x31c),'mentions':(await this[_0x10add5(0x25f)][_0x10add5(0x25b)](_0x5b67d2,{'params':{'objectID':_0x25b106[_0x10add5(0x207)],'unitID':_0x25b106[_0x10add5(0x207)]}}))[_0x10add5(0x174)][_0x10add5(0x2a9)][_0x10add5(0x369)](_0x1a5404=>({'objectId':_0x1a5404['id'],'name':_0x1a5404['subject'][_0x10add5(0x357)],'metadata':{'icon':_0x1a5404[_0x10add5(0x473)]['avatar']},'label':_0x1a5404[_0x10add5(0x473)][_0x10add5(0x357)],'objectType':a[_0x10add5(0x1b9)][_0x10add5(0x3e6)]})),'metadata':{},'type':a[_0x10add5(0x1b9)][_0x10add5(0x3e6)]}]};}},exports[_0x199ec4(0x368)]=In([at(0x0,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x3e7)])),at(0x1,a[_0x199ec4(0x2b7)](Y[_0x199ec4(0x375)]))],exports['MentionIoHttpService']);var En=Object[_0x199ec4(0x244)],mn=(_0x4f31cb,_0x2ee666,_0x2fcdc3,_0x5b7861)=>{var _0x27bfcc=_0x199ec4;for(var _0x44cd99=_0x5b7861>0x1?void 0x0:_0x5b7861?En(_0x2ee666,_0x2fcdc3):_0x2ee666,_0x66ec4a=_0x4f31cb[_0x27bfcc(0x418)]-0x1,_0x28e291;_0x66ec4a>=0x0;_0x66ec4a--)(_0x28e291=_0x4f31cb[_0x66ec4a])&&(_0x44cd99=_0x28e291(_0x44cd99)||_0x44cd99);return _0x44cd99;},le=(_0x197b9b,_0x2b6c45)=>(_0x55f889,_0x33cbeb)=>_0x2b6c45(_0x55f889,_0x33cbeb,_0x197b9b);let Ue=class extends a[_0x199ec4(0x4c2)]{constructor(_0x16d916,_0x3000a1,_0x1e44bf,_0x54e06b,_0x1c7e2e){var _0x2c7898=_0x199ec4;super(),this['_injector']=_0x16d916,this[_0x2c7898(0x385)]=_0x3000a1,this[_0x2c7898(0x476)]=_0x1e44bf,this[_0x2c7898(0x498)]=_0x54e06b,this[_0x2c7898(0x4d2)]=_0x1c7e2e,this[_0x2c7898(0x4c9)](),this['_initCloseConn']();}[_0x199ec4(0x254)](){var _0x1037ef=_0x199ec4;const _0x50a1f0=async _0x4a3b86=>{var _0xefe35a=_0x3c30;(await this[_0xefe35a(0x498)][_0xefe35a(0x3f6)](_0x4a3b86))[_0xefe35a(0x20f)][_0xefe35a(0x4ae)](V[_0xefe35a(0x389)](_0x4d3b88=>_0x4d3b88[_0xefe35a(0x4f2)]===I['CollaborationEvent'][_0xefe35a(0x401)]),V[_0xefe35a(0x38a)](this['dispose$']))[_0xefe35a(0x483)](_0x3def1b=>{var _0xfea380=_0xefe35a;const _0x1f74e7=_0x3def1b,{reason:_0x4da71a}=_0x1f74e7[_0xfea380(0x280)];this[_0xfea380(0x4d2)][_0xfea380(0x35f)]({'id':Z[_0xfea380(0x39f)],'data':_0x4da71a}),this[_0xfea380(0x476)][_0xfea380(0x185)](new X[(_0xfea380(0x332))](_0x4a3b86)['id'],!0x1),this[_0xfea380(0x498)]['closeSession'](_0x4a3b86);});};$['merge'](this[_0x1037ef(0x385)][_0x1037ef(0x2a7)](a[_0x1037ef(0x223)][_0x1037ef(0x31a)]),this[_0x1037ef(0x385)][_0x1037ef(0x2a7)](a[_0x1037ef(0x223)]['UNIVER_DOC']))[_0x1037ef(0x4ae)](V[_0x1037ef(0x369)](_0x4dc227=>_0x4dc227[_0x1037ef(0x424)]()),V['filter'](_0x437683=>!a[_0x1037ef(0x4ad)](_0x437683)),V[_0x1037ef(0x38a)](this[_0x1037ef(0x194)]))[_0x1037ef(0x483)](_0x52cc99=>{_0x50a1f0(_0x52cc99);});}[_0x199ec4(0x4c9)](){var _0x15e6b5=_0x199ec4;const _0x271516=async _0x47f2d4=>{var _0x2766fa=_0x3c30;const _0x5667c7=await this[_0x2766fa(0x498)][_0x2766fa(0x3f6)](_0x47f2d4),_0xcff8c3=this['_injector'][_0x2766fa(0x25b)](X[_0x2766fa(0x3f5)]);_0x5667c7[_0x2766fa(0x20f)]['pipe'](V[_0x2766fa(0x389)](_0x4e9c16=>_0x4e9c16[_0x2766fa(0x4f2)]===I['CollaborationEvent'][_0x2766fa(0x397)]),V['takeUntil'](this[_0x2766fa(0x194)]))['subscribe'](_0x58968e=>{var _0x45d288=_0x2766fa;const _0x525442=_0x58968e,{objectId:_0x5846ef}=_0x525442[_0x45d288(0x280)];_0x5846ef===_0x47f2d4?_0xcff8c3[_0x45d288(0x32b)](_0x47f2d4):_0xcff8c3[_0x45d288(0x3cf)](_0x47f2d4,_0x5846ef);});};$[_0x15e6b5(0x45e)](this[_0x15e6b5(0x385)]['getTypeOfUnitAdded$'](a[_0x15e6b5(0x223)][_0x15e6b5(0x31a)]))[_0x15e6b5(0x4ae)](V[_0x15e6b5(0x369)](_0x308d8f=>_0x308d8f[_0x15e6b5(0x424)]()),V[_0x15e6b5(0x389)](_0x203fc1=>!a[_0x15e6b5(0x4ad)](_0x203fc1)),V[_0x15e6b5(0x38a)](this[_0x15e6b5(0x194)]))[_0x15e6b5(0x483)](_0x30747b=>{_0x271516(_0x30747b);});}};function _0x3d52(){var _0x59499e=['/universer-api/snapshot/','not_collab','_configService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_transformIMECache','join','putCollaborators','_roomCreated$','_clearRedo','Disposable','_queuedRemoteChangesets','AUTHZ_URL_KEY','_schedule','ALREADY_EXISTS','_changesetReqId','snapshot','href','getMemberID','merge','sessionStatus','image/jpg','delay','_prevBlock','IUndoRedoService','1056765IxvAYh','save\x20fail\x20reason\x20is\x20','allowed','_createHmacHelper','toDisposable','FAIL','stopTime','startsWith','_parse','_data','SessionStatus','collaboration-client.config','removeMember','toString','/object/','subject','send','originalMeta','_permissionService','encode','getRoom','substr','pauseCollaboration','symbol','_stopTelemetryCollaborationNewChangeset','_toggleOffline','@univerjs/drawing','_submitChangeset','SnapshotService','salt','shouldCloseConn','subscribe','onRemoteAck','_onRemoteACK','DataLoaderService','SUBMIT_CHANGESET','getUnit','_getCtorByUniverType','JOIN_ROOM_NOT_EXISTS','clamp','HttpExport','HttpImport','_keyPriorReset','_oKey','isArray','_hash','RECV','padding','parse','getImageSourceCache','ILocalCacheService','Workbook','_collaborationSessionService','Base64','repeat','close','YUUMI_ASYNCIO_CANCELLED','SyncedState','CommentService','_transitionLocked','CollaborationEvent','LIVESHARE_OPERATION','ISnapshotServerService','_sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','hasOwnProperty','UniverCollaborationPlugin','_replaceFileID','ERROR_IMAGE','ITransformService','_doProcessBlock','HmacSHA1','c2Prime','isInternalEditorID','pipe','error','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','2734eajSRR','take','abs','CBC','Tools','getSheetId','RichTextEditingMutation','_awaitingChangeset','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','charCodeAt','slice','reject','_collaborationPaused','image/png','hasher','offline','RxDisposable','now','_clearScheduledTask','ITelemetryService','type','_handlerCallback','FETCH_MISSING','_initUnitPermissionChange','PasswordBasedCipher','NEW_CHANGESETS','EvpKDF','_socketService','exports','push','CollaborationController','_createHelper','_collaborationUIEventService','listRoles','indexOf','_sheetTransformSelectionsService','INTERNAL_ERROR','_collabSessionService','LocalUndoRedoService','BASE64','_keySchedule','forEach','create','file','[CollaborationSession]','action','executeCommand','replace','_append','CommandType','equals','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationEntity]','_createInitialStateImpl','_checkMissing','add','UserProfileImg','append','reconnect','_getSignURL','SUBMIT_CHANGESET_TIMEOUT','encodeURIComponent','UPDATE_CURSOR','eventID','body','UUID','liveShareOperation','unsubscribe','INVITE_CODE_HAS_BEEN_UES','_key','changesets','POST','/-/object/list','LICENSE_DISTRO_REJECTED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','Hex','toggleOnline','clear','session.room-permission-denied','UNIVER_UNKNOWN','routeKey','updatePermissionPoint','_transformRemoteChangesetByIMECache','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','members','_snapshotServerService','ONLINE','HEARTBEAT','APPLY_PERMISSION_DENIED','objectID','/allowed','concat','[SyncedState]:\x20received\x20rejection.','submit\x20changeset\x20error!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','confirm','dispose$','BehaviorSubject','updateSnapshot','deserializeToCombResponse','isPermissionRej','b64DecodeUnicode','getSheetBlock','ciphertext','unknown','compute','CollaborativeUndoRedoService','message$','touchDependencies','_clearRetryConnectingTimer','TOO_MANY_REQUESTS','downloadEndpointUrl','SOCKET_FAILED','CollaborationUIEventId','registerDependencies','localeService','UNIVER_SLIDE','iterations','OpenSSL','awaiting','JOINING','onSyncEditingCollabCursor','getCurrentUser','SOCKET_FAILED_RETRY','Base','_onConflict','keySize','next','mergeOverrideWithDependencies','onlyLocal','unpad','sin','words','MentionType','addHandlerCallback','CHANGESET_SHOULD_RETRY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId\x20is\x20not\x20found','YUUMI_ALL_TABLES_IS_INVALID','_clearHeartbeatTimer','PSEUDO_FETCH_MISSING_RESULT','target','uploadFileServerUrl','/block/','fetch_missing','CollaborationStatus','_getUploadFileURL','collaMsg','memberID','fetchMiss','731800NimVFn','call','rxjs','complete','commentUpdate$','_fetchMissChangesets','IPermissionService','debug','&assign=','[UniverCollaborationClientPlugin]','HEARTBEAT_TIMEOUT','has','COMPRESS_MUTATION_SEND','close$','_updateLocalCache','PERMISSION_REJ','_clearCollaborationTimeoutTimer','Module','_telemetryService','rev','/universer-api/oidc/authpage','BlockCipher','fromCollab','SheetCollaborationEntity','SNAPSHOT_INVALID_SNAPSHOT','getCollabEntity','onCommandExecuted','/universer-api/stream/file/upload','buffer','OTHER_CLIENT_EDITING','size','AES','DEFAULT_FILE_NAME','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','IUniverInstanceService','updateCollaborator','reqId','UnitSnapshot','_emitMembers','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SNAPSHOT_HAS_BEEN_REMOVED','_isPermissionRej','_minBufferSize','resolve','setCurrentUser','byteOffset','LICENSE_MAX_UNITS_EXCEEDED','_startTelemetryCollaborationNewChangeset','title','_tryReconnect','INVALID_ARGUMENT','1558299bQZjEO','_transformSelections','onRemoteChangeset','createIdentifier','_applyRemoteChangeset','transformMutationsWithChangeset','_userManagerService','LocaleService','setWaitCount','asObservable','unitId','values','awaitingChangeset','fromCharCode','result','focused$','state','COMPLETION_FINISHED','event$','enc','ThresholdInterceptorFactory','COLLAB_WEB_SOCKET_URL_KEY','enableOfflineEditing','from','Subject','[OfflineState]:\x20received\x20rejection.','onMissedChangesetFetched','\x0aCurrent:\x20','_getUndoStack','_onRemoteRejected','_sendingTimer','_remoteChangesetQueue','getTypeOfUnitDisposed$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','readInt32LE','LEAVE','_onJoinRoomEvent','/resources','UniverInstanceType','Failed\x20to\x20update\x20permission\x20point','image/jpeg','connection\x20error','_retryCount','loadDoc','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getUnitOnRev','error$','sid','isTransformMutationsWithChangesetSuccess','transformChangesets','IImageIoService','workbook','catch','JOIN','isTransformMutationsWithChangesetFailure','univer-pro.collaboration-client.single-active-unit-service','MemberService','Injector','_scheduleCompleteTimestamp','baseRev','delete','HTTPRequest','2400453KxXNpX','LIVESHARE_TERMINATE','selections','INVITE_CODE_REQUIRED','COMPRESS_MUTATION_APPLY','OTHER_CLIENTS_EDITING','responseType','ISingleActiveUnitService','duration','getOwnPropertyDescriptor','image/bmp','PendingState','sendChangesetTimeout','format','HEARTBEAT_TIMEOUT_KEY','_snapshotService','CollaborationUIEventService','getSnapshotAPIPath','csShouldRetryEvent','JOIN_ROOM_FAILED','APPLY_REVISION_CONFILICT','BufferedBlockAlgorithm','isTransformChangesetsSuccess','JOIN_ROOM_PERMISSION_DENIED','_acknowledgedAwaitingChangeset','_initCloseConn','USERS_ENTER','PERMISSION_DENIED','_unitInfo$','cfg','ivSize','awaiting_with_pending','get','_status$','string','finalize','_HTTPService','capture','IContextService','crypto','_sessions','_sendHeartbeatTimer','createEncryptor','$super','UNAUTHENTICATED','/universer-api/comb','UNIVER_COLLABORATION_CLIENT_PLUGIN','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','synced','_sender','_onRecvEvent','/unit/','AuthzIoHttpService','getTime','getUnitStatus$','then','createSocket','_transformUndoredo','MUTATION','decrypt','_rescheduleHeartbeat','_lockTransition','kdf','loadOfflineData','cmd','_substituteRedoStack','BlockCipherMode','_onFetchMissResult','_singleActiveUnitService','data','getInterceptPoints','incrementRevOfUnit','@univerjs/core','every','algo','_replayCachedMutations','/collaborator','_iKey','generateRandomId','uniscriptRunEvent','collabSubmitChangesetUrl','_retryConnectingTimer','_executeRemoteChangeset','image/gif','COLLAB_SUBMIT_CHANGESET_URL','status$','function','DEFAULT_WS_SESSION_TICKET_URL','DEFAULT_COLLAB_WEB_SOCKET_URL','_iv','[CollaborationSessionService]:\x20socket\x20error','ICommandService','_showConflictNotification','_clearTimeoutTimer','update','sessionStatus$','_change$','_hasher','headers','origin','_doCryptBlock','univer-pro.collaboration-client-socket-service','uuidv4','CHANGESET_ACK','_eventService','signUrlServerUrl','_entities','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','state$','collaborators','setConfig','_imageSourceCache','_config','_waitForHeartbeatResponse','find','floor','saveImage','_transformRemoteChangesetByStateCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20acknowledgement.','_resendTimeout','Inject','onRemoteRetry','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','newCsEvent','permissionRejEvent','updateCursorEvent','csRejEvent','enableSingleActiveInstanceLock','_sendHeartbeat','SnapshotServerOverHTTPService','SEND_CHANGESET_TIMEOUT','_undoRedoService','@univerjs/network','_removeRoom','resend','SHA1','_onConnectionFailed','listCollaborators','_xformMode','_members','[PendingState]:\x20received\x20rejection.','_clearUndo','getValue','sequenceExecute','_candidateSocket','@univerjs-pro/license','_socket','_doReset','APPLY_REJECT','@univerjs/telemetry','_entityInit$','CipherParams','toggleOffline','getConfig','deleteCollaborator','getLocalCacheKey','OfflineState','interceptor','pad','_telemetryInfo','unitID','_localeService','JOIN_ROOM_FULL','override','_socketReady','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationUndoRedoService]','?url=','SYNCED','[OfflineState]:\x20received\x20acknowledgement.','firstValueFrom','DocCollaborationEntity','retryConnectingInterval','UNKNOWN_CODE','_injector','Error\x20on\x20receiving\x20event','_updateStatus','_toggleOnline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_memberService','IDLE','YUUMI_AI_RUN_FAILED','CollaborationSessionService','_exhaustRemoteChangesetQueue','onSendChangeset','includes','put','_roomMembers','_resendTimer','extend','__creator','onTransformRemoteChangesetByIMECache','dispose','compose','_incrementRevisionNumber','serializeCombRequest','_unitID','_joinRoom','INVALID_INVITE_CODE','_state$','SNAPSHOT_URL_KEY','_timeoutTimer','_logService','UnitEmbedded','loginUrlKey','NOT_COLLAB','ceil','post','ImageUploadStatusType','LIVESHARE_REQUEST_HOST','MD5','_transformStateCache','_onConnectionOpen','COLLAB_SUBMIT_CHANGESET_URL_KEY','_initRequestHeader','PENDING','\x20-\x20','_onMessage','__esModule','UNIVER_SHEET','LOGIN_URL_KEY','People','formatter','WordArray','_pendingMutations','onRemoteRej','/universer-api/authz','roomInfos','_type','_transformService','CollaborationSession','UniverCollaborationClientPlugin','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_state','INVITE_CODE_ALREADY_BOUND','socket$','initWorkbookPermissionChange','entries','apply','?size=','_commentUpdate$','_nDataBytes','UNKNOWN_CMD','WorkbookEditablePermission','CollaborationImageIoService','_onLocalMutation','UNRECOGNIZED','_listenToNetworkCondition','ISocketService','copyFileMeta','79lcIytD','_cipher','open$','_localCacheService','onTransformIME','ConflictState','method','x-univer-host','Optional','_undoStacks','entityInit$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','{fileID}','_waitCount','_map','actions','mode','_decreaseWaiting','key','msCrypto','CollaborationSocketService','conflict','random','AwaitingWithPendingState','APPLY_DUPLICATED','members$','readyForCollab','loadUnitOfRevision','_getAPIPrefix','name','YUUMI_UNABLE_LOAD_URL','/universer-api/file/{fileID}/sign-url','createDecryptor','Encryptor','IAuthzIoService','session.room-full','_onRemoteChangeset','emitEvent','NO_OTHER_CLIENTS_EDITING','m2Prime','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','textEncoder','auth.needGotoLoginAlert','CONFLICT','default','_revisionService','MentionIoHttpService','map','73952mVzwas','_handler','mutations','_onRemoteRetry','_syncEditingCollabCursor','min','_commentService','updateMember','EMAIL_HAS_BEEN_BOUND','telemetry\x20info\x20is\x20not\x20initialized','LOCAL_CACHE_INTERVAL_KEY','HTTPService','PY_RUNTIME_SCRIPT_ERROR','reduce','GLOBAL_ROOMS_CNT_EXCEEDS','objectActions','_init','__Key__','_process','execute','ILogService','_substituteUndoStack','onMissingChangesets','Utf8','_initMergeInterceptor','_mode','Undefined','_univerInstanceService','status','182rlnueM','fetchThroughInterceptors','filter','takeUntil','_unlockTransition','blockSize','ImageSourceType','NOT_FOUND','_compressMutationService','loadUnit','fetchMissingChangesets','session.room-cnt-exceeds','_getCurrentRevision','SetSelectionsOperation','CollaborationEntity','RevisionService','UPDATE_PERMISSION_OBJ','pending','updateOfflineData','_collaborationTimeoutTimer','encryptBlock','_shouldReportTelemetry','_getLoginPath','Hasher','CLOSE_ROOM','authzUrl','saveChangeset','_clearLocalCache','HMAC','SNAPSHOT_SERVER_URL_KEY','Univer','init','createInstance','RETRY_CONNECTING_MAX_COUNT_KEY','USERS_LEAVE','max','defineProperty','set','socketService','_disableEditing','_ENC_XFORM_MODE','params','_doFinalize','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','prototype','CompressMutationService','getCollabEntity$','mapDocumentTypeToUniverType','stringify','OFFLINE','[DataLoaderService]','appendMutation','_getDownloadEndpointURL','reverse','CHANGESET_REJ','_tryEnsureSocket','reset','getDeserializedSheetBlock','LOGIN_FAILED','_startCollaboration','UNDEFINED','_registerDependencies','range','MSG_FOR_ERROR','_resendWithTimeout','encrypt','infoRsp','list','onStateChange','_DEC_XFORM_MODE','withCredentials','JSONX','refreshPermission','_networkConditionService','_transformStack','_nRounds','_createInitialState','lib','_getSendChangesetTimeout','enableCollaboration','LIVESHARE_NEW_HOST','csAckEvent','getFocusedUnit','socket\x20open.','_throwTelemetryCollaborationNewChangeset','_socket$','disposeWithMe','COLLAB_WEB_SOCKET_URL','[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.','objectType','parseProtocolChangeset','resourceIDs','_getAPIPrefixPath','code','collaboration-client.local-cache-service','PERSON','IConfigService','revision','_socketMessageSubscription','onCommentUpdate','onTransformRemoteChangesetByStateCache','_scheduleCollaborationTimeoutTimer','_createSocket','clone','YUUMI_URL_COL_OUT_OF_RANGE','SheetTransformSelectionsService','@univerjs/sheets','randomBytes','joinEvent','_createHandler','SheetPermissionInitController','requireSession','getLatestCsReqIdBySid','onload','_event$','FetchingMissState','_members$','UNIVER_DOC','hostname','splice','saveSheetBlock','[CollaborationSessionService]','SHOULD_CLOSE_CONN','session.room-not-exists','onTransformState','NoPadding','CHANGESET_REVISION_CONFILICT','concatMap','Plugin','[OfflineState]:\x20received\x20changeset.','_updateState','getMember','MOBILE_HAS_BEEN_BOUND','AwaitingState','IMentionIOService','_initDependencies','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Decryptor','/-/object/-/batch_allowed','getUnitType','WECHAT_HAS_BEEN_BOUND','editing\x20status\x20changed\x20to','_getRedoStack','userID','LIVESHARE_FETCH_OPERATIONS','length','c1Prime','onTransformSelections','enableAuthServer','unitInfo$','_changesetSessionId','FileId','url','location','textRanges','ws://127.0.0.1:8000/universer-api/comb/connect','_onUserJoin','getUnitId','setShowComponents','INGEST','2722344OqkfWr','src','SerializableCipher','requestParams','_redoStacks','charAt','getActiveSheet','HELLO','session','commentUpdateEvent','mixIn','sigBytes','_commandService','_onUserLeave','Cipher','/object','LOCAL_CACHE_INTERVAL','_onOffline','FETCH_MISS','UNIVER_PROJECT','HmacMD5','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Pkcs7','getCurrentSelections','localCacheService','getCurrentRevOfUnit','byteLength','roles','Latin1','/rev/','transformSelections','waitForRoom$','@univerjs/docs','_instanceService','registerHTTPInterceptor','_httpService','HEARTBEAT_INTERVAL_KEY'];_0x3d52=function(){return _0x59499e;};return _0x3d52();}Ue=mn([le(0x0,a['Inject'](a[_0x199ec4(0x236)])),le(0x1,a[_0x199ec4(0x1ec)]),le(0x2,a[_0x199ec4(0x1d0)]),le(0x3,a[_0x199ec4(0x2b7)](exports[_0x199ec4(0x2f5)])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x199ec4(0x244)],Tn=(_0x3536ba,_0xb49ac0,_0x40020e,_0x51eb90)=>{for(var _0x4c4d95=_0x51eb90>0x1?void 0x0:_0x51eb90?Cn(_0xb49ac0,_0x40020e):_0xb49ac0,_0x2c1e87=_0x3536ba['length']-0x1,_0x5565e7;_0x2c1e87>=0x0;_0x2c1e87--)(_0x5565e7=_0x3536ba[_0x2c1e87])&&(_0x4c4d95=_0x5565e7(_0x4c4d95)||_0x4c4d95);return _0x4c4d95;},ct=(_0x48223e,_0x239225)=>(_0x2beb46,_0x2e3826)=>_0x239225(_0x2beb46,_0x2e3826,_0x48223e);exports[_0x199ec4(0x2c0)]=class{constructor(_0x3d1e8b,_0x2d8414){var _0x454b0a=_0x199ec4;this[_0x454b0a(0x44e)]=_0x3d1e8b,this[_0x454b0a(0x44a)]=_0x2d8414;}async[_0x199ec4(0x22a)](_0x296ffe,_0x18ee42){var _0x2912ce=_0x199ec4,_0x4ca8b3;const {unitID:_0x3fe7b9,type:_0x442146,revision:_0x8ffa58=0x0}=_0x18ee42,_0x571484=this[_0x2912ce(0x24c)]()+'/'+_0x442146+_0x2912ce(0x26e)+_0x3fe7b9+_0x2912ce(0x444)+_0x8ffa58,_0x280997=(await this['_httpService'][_0x2912ce(0x25b)](_0x571484))[_0x2912ce(0x174)],_0x551212=(_0x4ca8b3=_0x280997[_0x2912ce(0x45b)])==null?void 0x0:_0x4ca8b3[_0x2912ce(0x230)];if(_0x551212){const _0x51779e=_0x551212==null?void 0x0:_0x551212[_0x2912ce(0x475)],_0x575d47=I['textEncoder']['encode'](I[_0x2912ce(0x199)](_0x51779e));_0x551212['originalMeta']=_0x575d47,Object[_0x2912ce(0x32c)](_0x551212['sheets'])[_0x2912ce(0x4db)](([,_0x4aea93])=>{var _0x45445b=_0x2912ce;const _0x3362fb=_0x4aea93[_0x45445b(0x475)],_0x4b2bc6=I[_0x45445b(0x363)][_0x45445b(0x477)](I['b64DecodeUnicode'](_0x3362fb));_0x4aea93[_0x45445b(0x475)]=_0x4b2bc6;});}return _0x280997;}async[_0x199ec4(0x19a)](_0x41047c,_0x52e7b8){var _0x3ea6e6=_0x199ec4;const {unitID:_0x529d7b,type:_0x324fb3,blockID:_0x1eea04}=_0x52e7b8,_0x1997a2=this[_0x3ea6e6(0x356)]()+'/'+_0x324fb3+_0x3ea6e6(0x26e)+_0x529d7b+_0x3ea6e6(0x1c3)+_0x1eea04;return(await this[_0x3ea6e6(0x44a)][_0x3ea6e6(0x25b)](_0x1997a2))[_0x3ea6e6(0x174)];}async[_0x199ec4(0x3c0)](_0xc9e0f0,_0x4be851){var _0x4f9331=_0x199ec4;const {unitID:_0x3b3fe8,type:_0x3e38da,blockID:_0x8928b6}=_0x4be851,_0x2d236e=this['_getAPIPrefix']()+_0x4f9331(0x1c3)+_0x3e38da+_0x4f9331(0x26e)+_0x3b3fe8+_0x4f9331(0x1c3)+_0x8928b6;return(await this[_0x4f9331(0x44a)][_0x4f9331(0x25b)](_0x2d236e))[_0x4f9331(0x174)];}async[_0x199ec4(0x391)](_0xd487eb,_0x134125){var _0x28f698=_0x199ec4;const {unitID:_0x3e0b66,type:_0x4e9186,from:_0x2989ea,to:_0xf70e}=_0x134125,_0x2bfa1d=this['_getAPIPrefix']()+'/'+_0x4e9186+_0x28f698(0x26e)+_0x3e0b66+'/fetchmissing?from='+_0x2989ea+'&to='+_0xf70e;return(await this[_0x28f698(0x44a)][_0x28f698(0x25b)](_0x2bfa1d))[_0x28f698(0x174)];}['getSnapshotAPIPath'](){var _0x4736f3=_0x199ec4,_0x119ff4;return(_0x119ff4=this[_0x4736f3(0x44e)][_0x4736f3(0x2d8)](lt))!=null?_0x119ff4:this[_0x4736f3(0x356)]();}[_0x199ec4(0x356)](){var _0x38e6fd=_0x199ec4,_0x9d48bb,_0x47e58a;const _0x26b1d1=this['_configService'][_0x38e6fd(0x2d8)](_t),_0x79be4d=this[_0x38e6fd(0x44e)]['getConfig'](K);return(_0x47e58a=(_0x9d48bb=_0x79be4d==null?void 0x0:_0x79be4d['snapshotServerUrl'])!=null?_0x9d48bb:_0x26b1d1)!=null?_0x47e58a:Lt;}async['getResourcesRequest'](_0x1ce5da,_0x3c944a){var _0x44be0e=_0x199ec4;const _0x46c67d=_0x44be0e(0x44c)+_0x3c944a['type']+_0x44be0e(0x26e)+_0x3c944a['unitID']+_0x44be0e(0x222);return(await this['_httpService'][_0x44be0e(0x25b)](_0x46c67d,{'params':{'resourceId':JSON[_0x44be0e(0x3b7)](_0x3c944a[_0x44be0e(0x3e2)])}}))[_0x44be0e(0x174)];}['saveSnapshot'](){var _0x469350=_0x199ec4;throw new Error(_0x469350(0x327));}[_0x199ec4(0x196)](){var _0x39c7ae=_0x199ec4;throw new Error(_0x39c7ae(0x327));}[_0x199ec4(0x3ff)](){var _0x192d6f=_0x199ec4;throw new Error(_0x192d6f(0x327));}[_0x199ec4(0x3a1)](){var _0x356dab=_0x199ec4;throw new Error(_0x356dab(0x327));}[_0x199ec4(0x338)](){var _0x5e118b=_0x199ec4;throw new Error(_0x5e118b(0x327));}[_0x199ec4(0x3f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x199ec4(0x2c0)]=Tn([ct(0x0,a[_0x199ec4(0x3e7)]),ct(0x1,a[_0x199ec4(0x2b7)](Y['HTTPService']))],exports[_0x199ec4(0x2c0)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x5a9753,_0x45587e,_0x5f518b,_0x446e5b)=>{var _0x3df219=_0x199ec4;for(var _0x39579c=_0x446e5b>0x1?void 0x0:_0x446e5b?bn(_0x45587e,_0x5f518b):_0x45587e,_0x50f532=_0x5a9753[_0x3df219(0x418)]-0x1,_0x359a11;_0x50f532>=0x0;_0x50f532--)(_0x359a11=_0x5a9753[_0x50f532])&&(_0x39579c=_0x359a11(_0x39579c)||_0x39579c);return _0x39579c;},ue=(_0x485d4b,_0x2f6d72)=>(_0x29c58a,_0x473338)=>_0x2f6d72(_0x29c58a,_0x473338,_0x485d4b);exports['CollaborativeUndoRedoService']=class extends a[_0x199ec4(0x4d8)]{constructor(_0xb59407,_0x31c567,_0x5c63f3,_0x85e185,_0x162d9d){super(_0xb59407,_0x31c567,_0x5c63f3),this['_transformService']=_0x85e185,this['_logService']=_0x162d9d;}['transformUndoRedo'](_0x16e407,_0x2d871c){var _0x4698a5=_0x199ec4;const _0x338df1=this[_0x4698a5(0x219)](_0x16e407);if(_0x338df1)try{const _0x2e09cf=this[_0x4698a5(0x3d1)](_0x338df1,_0x2d871c);this[_0x4698a5(0x37f)](_0x16e407,_0x2e09cf);}catch(_0x2a7300){this[_0x4698a5(0x309)][_0x4698a5(0x4af)](_0x4698a5(0x2e5),_0x2a7300),this[_0x4698a5(0x2cc)](_0x16e407);}const _0x427833=this['_getRedoStack'](_0x16e407);if(_0x427833)try{const _0x4aae12=this[_0x4698a5(0x3d1)](_0x427833,_0x2d871c);this['_substituteRedoStack'](_0x16e407,_0x4aae12);}catch(_0x27a4e3){this[_0x4698a5(0x309)][_0x4698a5(0x4af)](_0x27a4e3),this[_0x4698a5(0x454)](_0x16e407);}}['_clearUndo'](_0x38f807){var _0x3e236d=_0x199ec4;const _0x59d7b1=this[_0x3e236d(0x219)](_0x38f807);_0x59d7b1&&(_0x59d7b1['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x49fa89){var _0x3b588d=_0x199ec4;const _0x26c9e6=this[_0x3b588d(0x415)](_0x49fa89);_0x26c9e6&&(_0x26c9e6[_0x3b588d(0x418)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x516347,_0x33e59b){var _0x4a902c=_0x199ec4;this[_0x4a902c(0x342)][_0x4a902c(0x3ac)](_0x516347,_0x33e59b),this['_updateStatus']();}[_0x199ec4(0x27c)](_0x4abc4d,_0x585429){var _0x1ad71b=_0x199ec4;this[_0x1ad71b(0x42b)][_0x1ad71b(0x3ac)](_0x4abc4d,_0x585429),this[_0x1ad71b(0x2ef)]();}['_transformStack'](_0x597393,_0x5b8b65){var _0x396dd5=_0x199ec4;const _0xf98348=[];let _0x5a93e3=_0x5b8b65,_0x26b3da=_0x5b8b65;for(let _0x2bf83a=_0x597393[_0x396dd5(0x418)]-0x1;_0x2bf83a>=0x0;_0x2bf83a--){const {unitID:_0x4d46e6,undoMutations:_0x32f123,redoMutations:_0x2e7791}=_0x597393[_0x2bf83a],_0x316689=this[_0x396dd5(0x324)]['transformMutationsWithChangeset'](_0x5a93e3,_0x32f123),_0x243558=this[_0x396dd5(0x324)][_0x396dd5(0x202)](_0x26b3da,_0x2e7791);if(I[_0x396dd5(0x233)](_0x316689)||I['isTransformMutationsWithChangesetFailure'](_0x243558)){this[_0x396dd5(0x309)][_0x396dd5(0x4af)](_0x396dd5(0x2e5),'transformStack\x20failed!',_0x316689,_0x243558);break;}_0x5a93e3=_0x316689[_0x396dd5(0x419)],_0x26b3da=_0x243558[_0x396dd5(0x419)],_0xf98348[_0x396dd5(0x4cf)]({'unitID':_0x4d46e6,'undoMutations':_0x316689[_0x396dd5(0x361)],'redoMutations':_0x243558[_0x396dd5(0x361)]});}return _0xf98348[_0x396dd5(0x3bc)]();}},exports[_0x199ec4(0x19e)]=Rn([ue(0x0,a[_0x199ec4(0x1ec)]),ue(0x1,a[_0x199ec4(0x296)]),ue(0x2,a[_0x199ec4(0x261)]),ue(0x3,I['ITransformService']),ue(0x4,a[_0x199ec4(0x37e)])],exports[_0x199ec4(0x19e)]);var On=Object[_0x199ec4(0x3ab)],yn=Object[_0x199ec4(0x244)],Nn=(_0x12ca65,_0x4043dc,_0x4389b2)=>_0x4043dc in _0x12ca65?On(_0x12ca65,_0x4043dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4389b2}):_0x12ca65[_0x4043dc]=_0x4389b2,Un=(_0x455eaf,_0x5d137a,_0x2fa3cc,_0x1bf0d6)=>{var _0x5598c8=_0x199ec4;for(var _0x73d5e5=_0x1bf0d6>0x1?void 0x0:_0x1bf0d6?yn(_0x5d137a,_0x2fa3cc):_0x5d137a,_0x1189e9=_0x455eaf[_0x5598c8(0x418)]-0x1,_0x3185fe;_0x1189e9>=0x0;_0x1189e9--)(_0x3185fe=_0x455eaf[_0x1189e9])&&(_0x73d5e5=_0x3185fe(_0x73d5e5)||_0x73d5e5);return _0x73d5e5;},Me=(_0x5a764f,_0x4f78fc)=>(_0xcb5c32,_0x8ab1be)=>_0x4f78fc(_0xcb5c32,_0x8ab1be,_0x5a764f),Dn=(_0x4a75de,_0x41e650,_0x23f2be)=>Nn(_0x4a75de,_0x41e650+'',_0x23f2be);const An=_0x199ec4(0x269);exports['UniverCollaborationClientPlugin']=class extends a[_0x199ec4(0x407)]{constructor(_0x372228,_0x540810,_0x7cc0ab,_0x97e177){var _0x47181c=_0x199ec4;super(),A(this,_0x47181c(0x2ac)),(this[_0x47181c(0x309)]=_0x540810,this['_injector']=_0x7cc0ab,this[_0x47181c(0x44e)]=_0x97e177);const {..._0x449497}=a[_0x47181c(0x45e)]({},Yt,_0x372228);if(!_0x449497[_0x47181c(0x3ad)])throw new Error(_0x47181c(0x1bc));this[_0x47181c(0x2ac)]=_0x449497,this[_0x47181c(0x44e)][_0x47181c(0x2aa)](K,_0x449497);}['onStarting'](){var _0x2484cb=_0x199ec4;this['_registerDependencies'](),this[_0x2484cb(0x40e)]();}[_0x199ec4(0x3c4)](){var _0x3a291b=_0x199ec4,_0x1ee3f6,_0x3e57e8;this[_0x3a291b(0x2ed)][_0x3a291b(0x1d5)](a[_0x3a291b(0x463)])&&this['_logService'][_0x3a291b(0x4af)](_0x3a291b(0x1d3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1f399d=a[_0x3a291b(0x1b4)]([[a[_0x3a291b(0x463)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x3a291b(0x486)]],[He,{'useClass':this[_0x3a291b(0x2ac)][_0x3a291b(0x3ad)]}],[I[_0x3a291b(0x4a2)],{'useClass':exports[_0x3a291b(0x2c0)]}],[a[_0x3a291b(0x35c)],{'useClass':exports[_0x3a291b(0x26f)]}],[z[_0x3a291b(0x22f)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x3a291b(0x40d)],{'useClass':exports[_0x3a291b(0x368)]}],[exports[_0x3a291b(0x4d0)]],[xe]],(_0x1ee3f6=this[_0x3a291b(0x2ac)])==null?void 0x0:_0x1ee3f6[_0x3a291b(0x2e2)]);if(!((_0x3e57e8=this[_0x3a291b(0x2ac)])!=null&&_0x3e57e8[_0x3a291b(0x2be)])){const _0x59c487=_0x1f399d['findIndex'](([_0x46304f])=>_0x46304f===de);_0x59c487!==-0x1&&_0x1f399d['splice'](_0x59c487,0x1);}a[_0x3a291b(0x1a6)](this['_injector'],_0x1f399d);}[_0x199ec4(0x40e)](){var _0x155bdb=_0x199ec4,_0x23e991,_0x3cd761,_0x8c3fca;this[_0x155bdb(0x2ed)]['get'](Y[_0x155bdb(0x375)])[_0x155bdb(0x449)]({'priority':0x14,'interceptor':Y[_0x155bdb(0x211)]({'maxParallel':0x6})}),(_0x23e991=this[_0x155bdb(0x2ac)])!=null&&_0x23e991[_0x155bdb(0x213)]||(_0x3cd761=this[_0x155bdb(0x2ed)][_0x155bdb(0x25b)](q,a['Quantity']['OPTIONAL']))==null||_0x3cd761['disableLocalCache'](),(_0x8c3fca=this[_0x155bdb(0x2ac)])!=null&&_0x8c3fca[_0x155bdb(0x41b)]&&a['touchDependencies'](this['_injector'],[[ye]]),a[_0x155bdb(0x1a0)](this[_0x155bdb(0x2ed)],[[Ne],[exports[_0x155bdb(0x4d0)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],'pluginName',An),exports[_0x199ec4(0x326)]=Un([a['DependentOn'](I[_0x199ec4(0x4a6)],Y['UniverNetworkPlugin']),Me(0x1,a[_0x199ec4(0x37e)]),Me(0x2,a[_0x199ec4(0x2b7)](a[_0x199ec4(0x236)])),Me(0x3,a[_0x199ec4(0x3e7)])],exports[_0x199ec4(0x326)]),exports[_0x199ec4(0x457)]=Ve,exports[_0x199ec4(0x229)]=K,exports[_0x199ec4(0x314)]=pt,exports[_0x199ec4(0x212)]=ut,exports[_0x199ec4(0x1c5)]=Be,exports[_0x199ec4(0x1a5)]=Z,exports[_0x199ec4(0x24b)]=ee,exports[_0x199ec4(0x49e)]=$e,exports[_0x199ec4(0x293)]=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Kt,exports[_0x199ec4(0x292)]=kt,exports[_0x199ec4(0x44b)]=vt,exports[_0x199ec4(0x249)]=ke,exports['ICollaborationSocketService']=He,exports[_0x199ec4(0x496)]=q,exports['INetworkConditionService']=mt,exports[_0x199ec4(0x242)]=de,exports[_0x199ec4(0x437)]=Ft,exports[_0x199ec4(0x374)]=Bt,exports['LOGIN_URL_KEY']=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports[_0x199ec4(0x3a8)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x199ec4(0x3a4)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0x199ec4(0x46e)]=re,exports['UnitStatus']=je,exports[_0x199ec4(0x197)]=Ct,exports[_0x199ec4(0x2da)]=oi,exports[_0x199ec4(0x302)]=Tt;
|
1
|
+
'use strict';var _0x274a5e=_0x3799;(function(_0xe4b58f,_0x502647){var _0x49ee42=_0x3799,_0x4736f4=_0xe4b58f();while(!![]){try{var _0x20b5ae=-parseInt(_0x49ee42(0x43c))/0x1*(-parseInt(_0x49ee42(0x252))/0x2)+-parseInt(_0x49ee42(0x424))/0x3*(-parseInt(_0x49ee42(0x1d5))/0x4)+-parseInt(_0x49ee42(0x18e))/0x5*(parseInt(_0x49ee42(0x1d3))/0x6)+-parseInt(_0x49ee42(0x2a9))/0x7*(-parseInt(_0x49ee42(0x1ec))/0x8)+-parseInt(_0x49ee42(0x29a))/0x9+parseInt(_0x49ee42(0x3ef))/0xa*(parseInt(_0x49ee42(0x187))/0xb)+parseInt(_0x49ee42(0x3a4))/0xc*(-parseInt(_0x49ee42(0x3a6))/0xd);if(_0x20b5ae===_0x502647)break;else _0x4736f4['push'](_0x4736f4['shift']());}catch(_0x33b415){_0x4736f4['push'](_0x4736f4['shift']());}}}(_0x2eae,0x5cce5));var Dt=Object['defineProperty'],At=(_0x16099b,_0x221415,_0x13cf2e)=>_0x221415 in _0x16099b?Dt(_0x16099b,_0x221415,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13cf2e}):_0x16099b[_0x221415]=_0x13cf2e,A=(_0x20bebf,_0x4d0670,_0x5c4e15)=>At(_0x20bebf,typeof _0x4d0670!=_0x274a5e(0x3f7)?_0x4d0670+'':_0x4d0670,_0x5c4e15);Object[_0x274a5e(0x13e)](exports,Symbol[_0x274a5e(0x332)],{'value':'Module'});const a=require(_0x274a5e(0x46e)),$=require(_0x274a5e(0x421)),V=require(_0x274a5e(0x3f1)),I=require(_0x274a5e(0x2a0)),Y=require(_0x274a5e(0x407)),Pt=require(_0x274a5e(0x360)),ht=require(_0x274a5e(0x410)),X=require(_0x274a5e(0x3a5)),z=require(_0x274a5e(0x2a8)),wt=require(_0x274a5e(0x20f)),_t=_0x274a5e(0x379),Lt=_0x274a5e(0x1c4),lt=_0x274a5e(0x1aa),Mt=_0x274a5e(0x154),xt=0x7d0,ut=_0x274a5e(0x458),dt=_0x274a5e(0x322),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x274a5e(0x13a),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x274a5e(0x26b),Ft=0x3e8,pt=_0x274a5e(0x219),Vt=_0x274a5e(0x2b2),It=_0x274a5e(0x139),Wt=_0x274a5e(0x2be),Gt=_0x274a5e(0x1b5),Kt=_0x274a5e(0x286);var gt=(_0x4bcc0e=>(_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x21c)]=0x0]=_0x274a5e(0x21c),_0x4bcc0e[_0x4bcc0e['OK']=0x1]='OK',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x36f)]=0x2]=_0x274a5e(0x36f),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x336)]=0x3]='PERMISSION_DENIED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x42a)]=0x4]=_0x274a5e(0x42a),_0x4bcc0e[_0x4bcc0e['UNAUTHENTICATED']=0x5]=_0x274a5e(0x1a3),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x397)]=0x6]=_0x274a5e(0x397),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x302)]=0x7]=_0x274a5e(0x302),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x1fd)]=0x8]='TOO_MANY_REQUESTS',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x31d)]=0x9]='COMPLETION_FINISHED',_0x4bcc0e[_0x4bcc0e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x118)]=0x1389]=_0x274a5e(0x118),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x431)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2ce)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4bcc0e[_0x4bcc0e['APPLY_REJECT']=0x1b59]=_0x274a5e(0x2cc),_0x4bcc0e[_0x4bcc0e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x274a5e(0x2e7),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x391)]=0x1b5b]=_0x274a5e(0x391),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x1bf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x276)]=0x1b5d]=_0x274a5e(0x276),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x417)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4bcc0e[_0x4bcc0e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x274a5e(0x42d),_0x4bcc0e[_0x4bcc0e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4bcc0e[_0x4bcc0e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x274a5e(0x2c4),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x233)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x455)]=0x232d]=_0x274a5e(0x455),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2e2)]=0x2711]=_0x274a5e(0x2e2),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x125)]=0x2712]=_0x274a5e(0x125),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x416)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x3af)]=0x2714]=_0x274a5e(0x3af),_0x4bcc0e[_0x4bcc0e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x274a5e(0x16f),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x327)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x25e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x14c)]=0x271d]=_0x274a5e(0x14c),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x279)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2fa)]=0x271f]=_0x274a5e(0x2fa),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x25d)]=0x2af9]=_0x274a5e(0x25d),_0x4bcc0e[_0x4bcc0e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x274a5e(0x21e),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x388)]=0x2ee2]=_0x274a5e(0x388),_0x4bcc0e[_0x4bcc0e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x274a5e(0x173),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x435)]=0x2ee4]=_0x274a5e(0x435),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x308)]=0x2ee5]=_0x274a5e(0x308),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x467)]=0x32c9]=_0x274a5e(0x467),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x114)]=0x32ca]=_0x274a5e(0x114),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x3d2)]=0x32cb]=_0x274a5e(0x3d2),_0x4bcc0e[_0x4bcc0e[_0x274a5e(0x2ee)]=-0x1]=_0x274a5e(0x2ee),_0x4bcc0e))(gt||{}),J=(_0x1e32c1=>(_0x1e32c1[_0x1e32c1[_0x274a5e(0x249)]=0x0]=_0x274a5e(0x249),_0x1e32c1[_0x1e32c1['UNIVER_DOC']=0x1]=_0x274a5e(0x339),_0x1e32c1[_0x1e32c1[_0x274a5e(0x2ad)]=0x2]=_0x274a5e(0x2ad),_0x1e32c1[_0x1e32c1[_0x274a5e(0x47d)]=0x3]=_0x274a5e(0x47d),_0x1e32c1[_0x1e32c1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x1e32c1[_0x1e32c1[_0x274a5e(0x2ee)]=-0x1]=_0x274a5e(0x2ee),_0x1e32c1))(J||{}),W=(_0x2b9218=>(_0x2b9218[_0x2b9218[_0x274a5e(0x345)]=0x0]=_0x274a5e(0x345),_0x2b9218[_0x2b9218[_0x274a5e(0x23a)]=0x1]=_0x274a5e(0x23a),_0x2b9218[_0x2b9218['JOIN']=0x2]=_0x274a5e(0x15a),_0x2b9218[_0x2b9218[_0x274a5e(0x1bc)]=0x3]=_0x274a5e(0x1bc),_0x2b9218[_0x2b9218[_0x274a5e(0x47f)]=0x4]=_0x274a5e(0x47f),_0x2b9218[_0x2b9218[_0x274a5e(0x3f8)]=0x5]=_0x274a5e(0x3f8),_0x2b9218[_0x2b9218['RECV']=0x6]=_0x274a5e(0x3d0),_0x2b9218[_0x2b9218['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2b9218))(W||{}),oe=(_0x10fc4b=>(_0x10fc4b[_0x10fc4b['UNKNOWN_CODE']=0x0]=_0x274a5e(0x44f),_0x10fc4b[_0x10fc4b['OK']=0x1]='OK',_0x10fc4b[_0x10fc4b[_0x274a5e(0x346)]=0x2]=_0x274a5e(0x346),_0x10fc4b[_0x10fc4b[_0x274a5e(0x411)]=0x3e9]=_0x274a5e(0x411),_0x10fc4b[_0x10fc4b['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x274a5e(0x34d),_0x10fc4b[_0x10fc4b[_0x274a5e(0x301)]=0x3eb]=_0x274a5e(0x301),_0x10fc4b[_0x10fc4b[_0x274a5e(0x3e9)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x10fc4b[_0x10fc4b[_0x274a5e(0x2ee)]=-0x1]='UNRECOGNIZED',_0x10fc4b))(oe||{}),Et=(_0x104960=>(_0x104960[_0x104960['Undefined']=0x0]=_0x274a5e(0x312),_0x104960[_0x104960[_0x274a5e(0x37b)]=0x1]=_0x274a5e(0x37b),_0x104960[_0x104960[_0x274a5e(0x10d)]=0x2]=_0x274a5e(0x10d),_0x104960[_0x104960['UnitEmbedded']=0x3]=_0x274a5e(0x256),_0x104960[_0x104960[_0x274a5e(0x216)]=0x4]=_0x274a5e(0x216),_0x104960[_0x104960[_0x274a5e(0x147)]=0x5]=_0x274a5e(0x147),_0x104960[_0x104960[_0x274a5e(0x2ee)]=-0x1]='UNRECOGNIZED',_0x104960))(Et||{});const K=_0x274a5e(0x476),Yt={};var Z=(_0x27fee2=>(_0x27fee2['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x27fee2['PERMISSION_DENIED']=_0x274a5e(0x336),_0x27fee2[_0x274a5e(0x246)]=_0x274a5e(0x246),_0x27fee2[_0x274a5e(0x47e)]=_0x274a5e(0x47e),_0x27fee2[_0x274a5e(0x189)]=_0x274a5e(0x189),_0x27fee2[_0x274a5e(0x12b)]=_0x274a5e(0x12b),_0x27fee2[_0x274a5e(0x348)]=_0x274a5e(0x348),_0x27fee2[_0x274a5e(0x444)]='SUBMIT_CHANGESET_TIMEOUT',_0x27fee2))(Z||{});class ee{constructor(){var _0x247f55=_0x274a5e;A(this,_0x247f55(0x119),new $['Subject']()),A(this,_0x247f55(0x11a),this[_0x247f55(0x119)][_0x247f55(0x21d)]());}[_0x274a5e(0x34b)](_0x2a44a2){var _0x14b2d0=_0x274a5e;this['_event$'][_0x14b2d0(0x226)](_0x2a44a2);}}const mt=a[_0x274a5e(0x38f)](_0x274a5e(0x3a3));function Ct(_0x4d498a){var _0x4b5f14=_0x274a5e,_0x193871,_0x11117a,_0x254b07,_0x363b52,_0x6cddea;const _0x1973d9=_0x4d498a[_0x4b5f14(0x24b)],_0x5d0824=JSON[_0x4b5f14(0x437)](_0x1973d9);switch(_0x5d0824[_0x4b5f14(0x18d)]){case W[_0x4b5f14(0x3f8)]:case W[_0x4b5f14(0x23a)]:{const _0x4e262a=_0x5d0824[_0x4b5f14(0x415)];return{..._0x5d0824,'data':_0x4e262a,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};}case W[_0x4b5f14(0x15a)]:{const _0x3bcbe5=_0x5d0824[_0x4b5f14(0x2d8)];return{..._0x5d0824,'data':_0x3bcbe5,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};}case W[_0x4b5f14(0x3d0)]:{const _0x584ba3=_0x5d0824[_0x4b5f14(0x142)];switch(_0x584ba3[_0x4b5f14(0x273)]){case I[_0x4b5f14(0x197)][_0x4b5f14(0x2f5)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x193871=_0x584ba3[_0x4b5f14(0x31c)])==null?void 0x0:_0x193871['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x3d3)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x11117a=_0x584ba3['csAckEvent'])==null?void 0x0:_0x11117a['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['NEW_CHANGESETS']:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x254b07=_0x584ba3[_0x4b5f14(0x40d)])==null?void 0x0:_0x254b07['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x296)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x363b52=_0x584ba3[_0x4b5f14(0x430)])==null?void 0x0:_0x363b52['cs']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x5d0824,'data':{..._0x584ba3,'data':(_0x6cddea=_0x584ba3[_0x4b5f14(0x12f)])==null?void 0x0:_0x6cddea['cs']},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x179)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x289)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x367)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x1c2)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x423)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x1e8)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)]['LIVESHARE_NEW_HOST']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x2da)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I['CollaborationEvent'][_0x4b5f14(0x375)]:case I['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x43e)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x3d6)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3['liveShareNewHost']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['MSG_FOR_ERROR']:return{..._0x5d0824,'data':_0x584ba3,'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x305)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x33c)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)]['UPDATE_PERMISSION_OBJ']:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3['updatePermissionObjEvent']},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};case I[_0x4b5f14(0x197)][_0x4b5f14(0x2e0)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x448)]},'cmd':_0x5d0824['cmd']};case I[_0x4b5f14(0x197)][_0x4b5f14(0x373)]:return{..._0x5d0824,'data':{..._0x584ba3,'data':_0x584ba3[_0x4b5f14(0x314)]},'cmd':_0x5d0824[_0x4b5f14(0x18d)]};default:return _0x5d0824;}}default:return _0x5d0824;}}function _0x3799(_0x90b711,_0x353da8){var _0x2eae76=_0x2eae();return _0x3799=function(_0x3799a2,_0x6a0528){_0x3799a2=_0x3799a2-0x10d;var _0x1c6ccc=_0x2eae76[_0x3799a2];return _0x1c6ccc;},_0x3799(_0x90b711,_0x353da8);}function Tt(_0x43e01d){var _0x4feba7=_0x274a5e;switch(_0x43e01d[_0x4feba7(0x18d)]){case W[_0x4feba7(0x3f8)]:case W[_0x4feba7(0x23a)]:return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d[_0x4feba7(0x18d)],'routeKey':_0x43e01d[_0x4feba7(0x29b)]});case W[_0x4feba7(0x47f)]:{let _0xa55017;switch(_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x273)]){case I[_0x4feba7(0x197)][_0x4feba7(0x179)]:{_0xa55017={'eventID':I['CollaborationEvent'][_0x4feba7(0x179)],'updateCursorEvent':_0x43e01d['data'][_0x4feba7(0x24b)]};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x423)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x423)],'leaveEvent':_0x43e01d[_0x4feba7(0x24b)]['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x367)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x367)],'joinEvent':_0x43e01d['data']['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x116)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x43e01d['data'][_0x4feba7(0x24b)]};break;}case I['CollaborationEvent']['LIVESHARE_OPERATION']:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x3b4)],'liveShareOperation':_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x24b)]};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x3d6)]:{_0xa55017={'eventID':I['CollaborationEvent'][_0x4feba7(0x3d6)],'liveShareTerminate':_0x43e01d['data']['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x352)]:{_0xa55017={'eventID':I['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x43e01d[_0x4feba7(0x24b)]['data']};break;}case I[_0x4feba7(0x197)][_0x4feba7(0x375)]:{_0xa55017={'eventID':I[_0x4feba7(0x197)][_0x4feba7(0x375)]};break;}default:_0xa55017={'eventID':_0x43e01d[_0x4feba7(0x24b)][_0x4feba7(0x273)]};}return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d['cmd'],'routeKey':_0x43e01d[_0x4feba7(0x29b)],'collaMsg':_0xa55017});}case W['JOIN']:return JSON['stringify']({'cmd':_0x43e01d['cmd'],'routeKey':_0x43e01d[_0x4feba7(0x29b)],'joinReq':_0x43e01d[_0x4feba7(0x24b)]});case W[_0x4feba7(0x1bc)]:return JSON[_0x4feba7(0x13b)]({'cmd':_0x43e01d[_0x4feba7(0x18d)],'routeKey':_0x43e01d['routeKey'],'leaveReq':_0x43e01d[_0x4feba7(0x24b)]});default:throw new Error(_0x4feba7(0x3e3));}}var qt=Object[_0x274a5e(0x171)],zt=(_0x2fc10e,_0x35703a,_0x416024,_0x14f4c6)=>{var _0x1a1f3d=_0x274a5e;for(var _0x368015=_0x14f4c6>0x1?void 0x0:_0x14f4c6?qt(_0x35703a,_0x416024):_0x35703a,_0x2a874e=_0x2fc10e[_0x1a1f3d(0x2d6)]-0x1,_0x1085a4;_0x2a874e>=0x0;_0x2a874e--)(_0x1085a4=_0x2fc10e[_0x2a874e])&&(_0x368015=_0x1085a4(_0x368015)||_0x368015);return _0x368015;},_e=(_0x268fcc,_0x451571)=>(_0x190346,_0x2f24b8)=>_0x451571(_0x190346,_0x2f24b8,_0x268fcc);const He=a[_0x274a5e(0x38f)](_0x274a5e(0x356));function Jt(_0x11ad39,_0x5c588c,_0x332f3a){var _0x51c944=_0x274a5e;return _0x11ad39+'/'+_0x5c588c+'/unit/'+_0x332f3a+_0x51c944(0x358);}exports[_0x274a5e(0x32d)]=class extends a[_0x274a5e(0x333)]{constructor(_0x421dc8,_0x1711df,_0x56da61,_0x23bb44,_0x48c4c3){var _0x3adce2=_0x274a5e;super(),this[_0x3adce2(0x267)]=_0x421dc8,this[_0x3adce2(0x15c)]=_0x1711df,this[_0x3adce2(0x317)]=_0x56da61,this['_logService']=_0x23bb44,this['_snapshotServerService']=_0x48c4c3;}['_doCreateSocket'](_0x33b4f3){var _0x3f3d32=_0x274a5e;const _0x3e3294=this[_0x3f3d32(0x267)][_0x3f3d32(0x319)](Y[_0x3f3d32(0x2fe)]);if(!_0x3e3294)throw new Error(_0x3f3d32(0x23d));const _0xc7422=_0x3e3294[_0x3f3d32(0x258)](_0x33b4f3);if(!_0xc7422)throw new Error(_0x3f3d32(0x483));const _0x158dee=new a[(_0x3f3d32(0x349))](),_0x1d6081=new $[(_0x3f3d32(0x42c))]();_0x158dee[_0x3f3d32(0x3bb)](_0xc7422[_0x3f3d32(0x40a)][_0x3f3d32(0x21b)](_0x2306f1=>_0x1d6081[_0x3f3d32(0x226)](_0x2306f1))),_0x158dee['add'](a[_0x3f3d32(0x1ba)](()=>_0x1d6081[_0x3f3d32(0x3a2)]()));const _0x5af73c=new $[(_0x3f3d32(0x42c))]();_0x158dee['add'](_0xc7422[_0x3f3d32(0x2d0)][_0x3f3d32(0x21b)](_0x3ef683=>_0x5af73c[_0x3f3d32(0x226)](_0x3ef683))),_0x158dee['add'](a[_0x3f3d32(0x1ba)](()=>_0x5af73c[_0x3f3d32(0x3a2)]()));const _0x5dcff9=new $[(_0x3f3d32(0x42c))]();_0x158dee['add'](_0xc7422[_0x3f3d32(0x443)][_0x3f3d32(0x21b)](_0x2b426e=>{var _0x5261bf=_0x3f3d32;const _0xdb6091=Ct(_0x2b426e);_0x5dcff9[_0x5261bf(0x226)](_0xdb6091);})),_0x158dee['add'](a['toDisposable'](()=>_0x5dcff9[_0x3f3d32(0x3a2)]()));let _0x4b9f6b;const _0x39d3fa=()=>{var _0x5e508=_0x3f3d32;_0x5af73c['next'](new Event(_0x5e508(0x200))),_0x1d6081[_0x5e508(0x226)](new Event(_0x5e508(0x200))),_0x4b9f6b[_0x5e508(0x28e)]();};return _0x4b9f6b={'memberID':'','close$':_0x1d6081['asObservable'](),'error$':_0x5af73c['asObservable'](),'open$':_0xc7422[_0x3f3d32(0x412)],'message$':_0x5dcff9[_0x3f3d32(0x21d)](),'send':_0x25a280=>{var _0x34474f=_0x3f3d32;if(_0x25a280[_0x34474f(0x18d)]===W[_0x34474f(0x47f)]){if(_0x25a280[_0x34474f(0x24b)][_0x34474f(0x273)]===I[_0x34474f(0x197)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4b9f6b,_0x25a280[_0x34474f(0x24b)])['catch'](_0x5ea840=>{var _0xa5b981=_0x34474f;this[_0xa5b981(0x2e3)][_0xa5b981(0x3c7)](_0x5ea840),_0x39d3fa();});return;}if(_0x25a280['data']['eventID']===I[_0x34474f(0x197)]['FETCH_MISSING']){const _0x5cf5dc=_0x25a280[_0x34474f(0x24b)];this[_0x34474f(0x128)](_0x5cf5dc)[_0x34474f(0x377)](_0x13c266=>{var _0x57cd9a=_0x34474f;_0x5dcff9[_0x57cd9a(0x226)]({'cmd':W[_0x57cd9a(0x3d0)],'code':oe['OK'],'routeKey':_0x5cf5dc[_0x57cd9a(0x24b)][_0x57cd9a(0x3d4)],'routeType':'','data':{'eventID':I[_0x57cd9a(0x197)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x13c266}}});})[_0x34474f(0x3e5)](_0x236146=>{var _0x38f480=_0x34474f;this[_0x38f480(0x2e3)]['error'](_0x236146),_0x39d3fa();});return;}}_0xc7422[_0x34474f(0x1ef)](Tt(_0x25a280));},'close':()=>{var _0x136ef1=_0x3f3d32;_0xc7422['close'](),_0x158dee[_0x136ef1(0x393)]();}},_0x4b9f6b;}async['_submitChangeset'](_0x1399af,_0x57d750){var _0x1226c7=_0x274a5e,_0x1c148d,_0x5790df;const {unitType:_0x4f06bb,unitID:_0x35ccef,changeset:_0xffe94b}=_0x57d750[_0x1226c7(0x24b)],_0x188df9={'unitID':_0x35ccef,'memberID':_0x1399af[_0x1226c7(0x244)],'type':_0x4f06bb,'changeset':I[_0x1226c7(0x2df)](_0xffe94b)},_0x5b9cea=this[_0x1226c7(0x317)][_0x1226c7(0x16d)](pt),_0x3aebdb=this[_0x1226c7(0x317)][_0x1226c7(0x16d)](K),_0x37359d=Jt((_0x5790df=(_0x1c148d=_0x3aebdb==null?void 0x0:_0x3aebdb[_0x1226c7(0x292)])!=null?_0x1c148d:_0x5b9cea)!=null?_0x5790df:Vt,_0x4f06bb,_0x35ccef);try{await this[_0x1226c7(0x15c)][_0x1226c7(0x469)](_0x37359d,{'body':_0x188df9});}catch(_0x4fa6d2){throw this[_0x1226c7(0x2e3)][_0x1226c7(0x3c7)]('[CollaborationSession]',_0x1226c7(0x11f)),_0x4fa6d2;}}async['_fetchMissChangesets'](_0x3ad4f1){var _0x3c5a2b=_0x274a5e;const {unitID:_0xcc9108,from:_0x2ea23e,to:_0x3380e8,unitType:_0x383e71}=_0x3ad4f1[_0x3c5a2b(0x24b)];return(await this['_snapshotServerService'][_0x3c5a2b(0x47c)]({'metadata':void 0x0},{'unitID':_0xcc9108,'type':_0x383e71,'from':_0x2ea23e,'to':_0x3380e8}))[_0x3c5a2b(0x28a)];}},exports[_0x274a5e(0x32d)]=zt([_e(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),_e(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),_e(0x2,a[_0x274a5e(0x120)]),_e(0x3,a[_0x274a5e(0x45a)]),_e(0x4,I['ISnapshotServerService'])],exports[_0x274a5e(0x32d)]);const Xt=_0x274a5e(0x1e5);function Zt(_0x825db5){var _0x1681c6=_0x274a5e;return JSON['stringify'](_0x825db5)[_0x1681c6(0x2d6)];}class $e{constructor(){var _0x4a613c=_0x274a5e;A(this,_0x4a613c(0x3c9),new $['Subject']()),A(this,_0x4a613c(0x2c7),this[_0x4a613c(0x3c9)][_0x4a613c(0x21d)]());}[_0x274a5e(0x3c0)](_0x2f44ea){var _0x5c0542=_0x274a5e;this[_0x5c0542(0x3c9)][_0x5c0542(0x226)](_0x2f44ea);}}var Qt=Object[_0x274a5e(0x171)],ei=(_0x4f8394,_0x2b6c97,_0x580f78,_0x4c1291)=>{var _0x5a452a=_0x274a5e;for(var _0x2ae2de=_0x4c1291>0x1?void 0x0:_0x4c1291?Qt(_0x2b6c97,_0x580f78):_0x2b6c97,_0x4a5f82=_0x4f8394[_0x5a452a(0x2d6)]-0x1,_0x3394a7;_0x4a5f82>=0x0;_0x4a5f82--)(_0x3394a7=_0x4f8394[_0x4a5f82])&&(_0x2ae2de=_0x3394a7(_0x2ae2de)||_0x2ae2de);return _0x2ae2de;},We=(_0x36f1f5,_0x284f64)=>(_0x450520,_0x172544)=>_0x284f64(_0x450520,_0x172544,_0x36f1f5);exports[_0x274a5e(0x436)]=class extends a['Disposable']{constructor(_0x368560,_0x16f997){var _0x5dff3e=_0x274a5e;super(),A(this,_0x5dff3e(0x466),new Map()),A(this,_0x5dff3e(0x3e1),new $[(_0x5dff3e(0x42c))]()),(this[_0x5dff3e(0x3eb)]=_0x368560,this[_0x5dff3e(0x341)]=_0x16f997,this[_0x5dff3e(0x36d)]($[_0x5dff3e(0x344)](this[_0x5dff3e(0x3eb)]['getTypeOfUnitDisposed$'](a[_0x5dff3e(0x2a7)][_0x5dff3e(0x2ad)])['pipe'](V['map'](_0x2077fa=>_0x2077fa['getUnitId']())),this['_univerInstanceService'][_0x5dff3e(0x117)](a[_0x5dff3e(0x2a7)]['UNIVER_DOC'])[_0x5dff3e(0x2c6)](V[_0x5dff3e(0x1e6)](_0x468061=>_0x468061[_0x5dff3e(0x398)]())),this[_0x5dff3e(0x3eb)][_0x5dff3e(0x117)](a[_0x5dff3e(0x2a7)]['UNIVER_SLIDE'])['pipe'](V['map'](_0x4c31d8=>_0x4c31d8[_0x5dff3e(0x398)]())))[_0x5dff3e(0x21b)](_0x505226=>this[_0x5dff3e(0x231)](_0x505226))));}[_0x274a5e(0x280)](_0x389c89){var _0x2e8bcf=_0x274a5e;return this[_0x2e8bcf(0x466)][_0x2e8bcf(0x2b0)](_0x389c89)?$['of'](this[_0x2e8bcf(0x466)][_0x2e8bcf(0x319)](_0x389c89)):this['_roomCreated$'][_0x2e8bcf(0x2c6)](V[_0x2e8bcf(0x1e6)](_0x4c75c4=>{var _0x40dddc=_0x2e8bcf;if(_0x4c75c4===_0x389c89)return this['_roomMembers'][_0x40dddc(0x319)](_0x4c75c4);}));}[_0x274a5e(0x406)](_0x33fda1){var _0x359f78=_0x274a5e;this[_0x359f78(0x341)]['setCurrentUser'](_0x33fda1);}[_0x274a5e(0x33f)](){var _0x3ae6a1=_0x274a5e;return this[_0x3ae6a1(0x341)][_0x3ae6a1(0x33f)]();}[_0x274a5e(0x371)](_0x19f9a6,_0x2931d7){var _0x4172ea=_0x274a5e;let _0x534192=this[_0x4172ea(0x466)][_0x4172ea(0x319)](_0x19f9a6);_0x534192||(_0x534192=new ti(),this[_0x4172ea(0x466)][_0x4172ea(0x404)](_0x19f9a6,_0x534192),this[_0x4172ea(0x3e1)][_0x4172ea(0x226)](_0x19f9a6)),_0x534192['updateMember'](_0x2931d7);}[_0x274a5e(0x225)](_0x2335c0,_0x30736d){var _0x89939e=_0x274a5e;const _0x2588f0=this[_0x89939e(0x466)][_0x89939e(0x319)](_0x2335c0);_0x2588f0&&_0x2588f0[_0x89939e(0x225)](_0x30736d);}['getRoom'](_0x2b1c04){var _0x498e15=_0x274a5e;return this[_0x498e15(0x466)][_0x498e15(0x319)](_0x2b1c04);}[_0x274a5e(0x320)](_0xfa0885,_0x2004a5){var _0x2b31f6=_0x274a5e;const _0x29f0a7=this[_0x2b31f6(0x466)][_0x2b31f6(0x319)](_0xfa0885);if(_0x29f0a7)return _0x29f0a7['getMember'](_0x2004a5);}['_removeRoom'](_0x69b8ca){var _0x42258f=_0x274a5e;const _0x344d29=this[_0x42258f(0x466)][_0x42258f(0x319)](_0x69b8ca);_0x344d29&&(_0x344d29[_0x42258f(0x393)](),this[_0x42258f(0x466)][_0x42258f(0x47b)](_0x69b8ca));}[_0x274a5e(0x393)](){var _0x339b1c=_0x274a5e;this[_0x339b1c(0x466)][_0x339b1c(0x442)](_0x3acfee=>_0x3acfee[_0x339b1c(0x393)]()),this[_0x339b1c(0x466)][_0x339b1c(0x293)](),this[_0x339b1c(0x3e1)][_0x339b1c(0x3a2)]();}},exports['MemberService']=ei([We(0x0,a[_0x274a5e(0x3cf)]),We(0x1,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x12a)]))],exports[_0x274a5e(0x436)]);class ti extends a[_0x274a5e(0x333)]{constructor(){var _0x1c8787=_0x274a5e;super(...arguments),A(this,_0x1c8787(0x342),new Map()),A(this,'_members$',new $['BehaviorSubject'](this['_members'])),A(this,_0x1c8787(0x261),this[_0x1c8787(0x141)]['asObservable']());}[_0x274a5e(0x393)](){var _0x362a9e=_0x274a5e;this['_members'][_0x362a9e(0x293)]();}[_0x274a5e(0x371)](_0x1e1292){var _0x211080=_0x274a5e;this[_0x211080(0x342)][_0x211080(0x404)](_0x1e1292[_0x211080(0x244)],_0x1e1292),this['_emitMembers']();}[_0x274a5e(0x225)](_0x26bf42){var _0x3dff8c=_0x274a5e;this[_0x3dff8c(0x342)][_0x3dff8c(0x47b)](_0x26bf42);}[_0x274a5e(0x320)](_0x31a55e){var _0x10a237=_0x274a5e;return this[_0x10a237(0x342)][_0x10a237(0x319)](_0x31a55e);}[_0x274a5e(0x270)](){var _0x14aa61=_0x274a5e;return Array[_0x14aa61(0x1b9)](this[_0x14aa61(0x342)]['values']());}[_0x274a5e(0x178)](){var _0x2044ad=_0x274a5e;this[_0x2044ad(0x141)][_0x2044ad(0x226)](this['_members']);}}var ii=Object[_0x274a5e(0x171)],ni=(_0x3a103d,_0x993627,_0x332510,_0x30f7c4)=>{var _0x282f60=_0x274a5e;for(var _0x3891bd=_0x30f7c4>0x1?void 0x0:_0x30f7c4?ii(_0x993627,_0x332510):_0x993627,_0x242e82=_0x3a103d[_0x282f60(0x2d6)]-0x1,_0x155ab8;_0x242e82>=0x0;_0x242e82--)(_0x155ab8=_0x3a103d[_0x242e82])&&(_0x3891bd=_0x155ab8(_0x3891bd)||_0x3891bd);return _0x3891bd;},se=(_0x2024e1,_0x1cbe51)=>(_0x5c85b4,_0x55723c)=>_0x1cbe51(_0x5c85b4,_0x55723c,_0x2024e1),re=(_0x302915=>(_0x302915[_0x302915[_0x274a5e(0x3e7)]=0x0]=_0x274a5e(0x3e7),_0x302915[_0x302915['JOINING']=0x1]=_0x274a5e(0x202),_0x302915[_0x302915[_0x274a5e(0x275)]=0x2]=_0x274a5e(0x275),_0x302915[_0x302915[_0x274a5e(0x127)]=0x3]=_0x274a5e(0x127),_0x302915))(re||{});const Ge={[oe[_0x274a5e(0x346)]]:'session.join-failed',[oe[_0x274a5e(0x411)]]:_0x274a5e(0x15b),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x274a5e(0x473),[oe[_0x274a5e(0x301)]]:_0x274a5e(0x248),[oe[_0x274a5e(0x3e9)]]:_0x274a5e(0x113)};exports[_0x274a5e(0x445)]=class extends a[_0x274a5e(0x162)]{constructor(_0x1c615f,_0xf46c5,_0xfd3845,_0x5e2f03,_0x56c977,_0x5f4edf,_0xf2cf06,_0x1e0d16,_0x5b02ff){var _0xecf2e1=_0x274a5e;super(),A(this,_0xecf2e1(0x3bf),new $[(_0xecf2e1(0x1f3))](0x0)),A(this,'sessionStatus$',this[_0xecf2e1(0x3bf)]['asObservable']()),A(this,_0xecf2e1(0x119),new $[(_0xecf2e1(0x42c))]()),A(this,_0xecf2e1(0x11a),this['_event$'][_0xecf2e1(0x21d)]()),A(this,'_socket'),A(this,_0xecf2e1(0x35a)),A(this,_0xecf2e1(0x255)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0xecf2e1(0x32b),null),(this[_0xecf2e1(0x463)]=_0x1c615f,this['_logService']=_0xfd3845,this[_0xecf2e1(0x317)]=_0x5e2f03,this['_localeService']=_0x56c977,this[_0xecf2e1(0x41f)]=_0x5f4edf,this[_0xecf2e1(0x414)]=_0xf2cf06,this['_collaborationUIEventService']=_0x1e0d16,this[_0xecf2e1(0x3f2)]=_0x5b02ff,this[_0xecf2e1(0x362)]=!!this[_0xecf2e1(0x3f2)],_0xf46c5[_0xecf2e1(0x2c6)]($[_0xecf2e1(0x482)](this[_0xecf2e1(0x149)]))[_0xecf2e1(0x21b)](_0x577ee3=>{var _0x212fd5=_0xecf2e1,_0x3252a1;typeof _0x577ee3>'u'||(this[_0x212fd5(0x18a)]=_0x577ee3,_0x577ee3?(this[_0x212fd5(0x1fa)](_0x577ee3),this[_0x212fd5(0x35a)]=_0x577ee3[_0x212fd5(0x443)][_0x212fd5(0x21b)](_0x267cfe=>{var _0x17e7ba=_0x212fd5;_0x267cfe['routeKey']===this[_0x17e7ba(0x463)]&&this['_onCombEvent'](_0x267cfe);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x212fd5(0x3bf)][_0x212fd5(0x226)](0x2),(_0x3252a1=this[_0x212fd5(0x35a)])==null||_0x3252a1[_0x212fd5(0x150)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x4c5322=_0x274a5e;return this['_sessionStatus$'][_0x4c5322(0x272)]();}[_0x274a5e(0x1da)](){var _0x3667d4=_0x274a5e,_0x28717f,_0x4efb08;return(_0x4efb08=(_0x28717f=this[_0x3667d4(0x18a)])==null?void 0x0:_0x28717f['memberID'])!=null?_0x4efb08:null;}[_0x274a5e(0x393)](){var _0xebd038=_0x274a5e;super[_0xebd038(0x393)](),this[_0xebd038(0x149)][_0xebd038(0x226)](),this[_0xebd038(0x149)][_0xebd038(0x3a2)]();}[_0x274a5e(0x28e)](){var _0x5842de=_0x274a5e,_0x49a49d,_0x444bf6;this[_0x5842de(0x2b3)](),(_0x49a49d=this[_0x5842de(0x18a)])==null||_0x49a49d[_0x5842de(0x1ef)]({'cmd':W[_0x5842de(0x1bc)],'data':{'roomID':this[_0x5842de(0x463)]}}),(_0x444bf6=this[_0x5842de(0x18a)])==null||_0x444bf6[_0x5842de(0x28e)](),this[_0x5842de(0x119)][_0x5842de(0x3a2)](),this[_0x5842de(0x3bf)][_0x5842de(0x3a2)](),this[_0x5842de(0x393)]();}[_0x274a5e(0x3d9)](_0x3c4ed8){var _0x31dd4d=_0x274a5e;_0x3c4ed8[_0x31dd4d(0x18d)]===W[_0x31dd4d(0x15a)]?this[_0x31dd4d(0x27d)](_0x3c4ed8):_0x3c4ed8[_0x31dd4d(0x18d)]===W[_0x31dd4d(0x3d0)]&&this[_0x31dd4d(0x32e)](_0x3c4ed8);}[_0x274a5e(0x1fa)](_0x23678a){var _0x14f766=_0x274a5e;this[_0x14f766(0x3bf)][_0x14f766(0x226)](0x1),_0x23678a['send']({'cmd':W[_0x14f766(0x15a)],'routeKey':this[_0x14f766(0x463)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14f766(0x463)]}]}});}['_onJoinRoomEvent'](_0x37c065){var _0x45bdb6=_0x274a5e,_0xd67fb4;if(_0x37c065[_0x45bdb6(0x1a8)]in Ge){this[_0x45bdb6(0x1f4)][_0x45bdb6(0x34b)]({'id':Z[_0x45bdb6(0x189)],'data':Ge[_0x37c065['code']]}),this[_0x45bdb6(0x3bf)][_0x45bdb6(0x226)](0x2);return;}this[_0x45bdb6(0x3bf)]['next'](0x3);const _0x1fd9da=(_0xd67fb4=_0x37c065[_0x45bdb6(0x24b)][_0x45bdb6(0x1d7)][this[_0x45bdb6(0x463)]])==null?void 0x0:_0xd67fb4[_0x45bdb6(0x26a)];_0x1fd9da&&_0x1fd9da[_0x45bdb6(0x442)](_0x31485d=>this[_0x45bdb6(0x41f)][_0x45bdb6(0x371)](this[_0x45bdb6(0x463)],_0x31485d));}[_0x274a5e(0x32e)](_0x5d4a74){var _0x34a331=_0x274a5e;try{const _0xc9c279=_0x5d4a74['data'];switch(_0xc9c279[_0x34a331(0x273)]){case I[_0x34a331(0x197)][_0x34a331(0x367)]:this['_onUserJoin'](_0xc9c279),this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)][_0x34a331(0x423)]:this[_0x34a331(0x383)](_0xc9c279),this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)]['CHANGESET_ACK']:case I['CollaborationEvent'][_0x34a331(0x236)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x34a331(0x226)](_0xc9c279);break;case I[_0x34a331(0x197)][_0x34a331(0x203)]:this['_logService'][_0x34a331(0x3c7)](_0x34a331(0x2b7)+JSON['stringify'](_0xc9c279)),this[_0x34a331(0x119)]['next'](_0xc9c279);break;case I['CollaborationEvent'][_0x34a331(0x305)]:this['_commentService'][_0x34a331(0x3c0)](_0xc9c279[_0x34a331(0x24b)]),this['_event$'][_0x34a331(0x226)](_0xc9c279);break;default:this[_0x34a331(0x119)][_0x34a331(0x226)](_0xc9c279);}}catch(_0x5031b5){this[_0x34a331(0x2e3)]['error'](_0x5031b5,_0x5d4a74);}}[_0x274a5e(0x2bd)](_0x5b2187){var _0x34decd=_0x274a5e;this[_0x34decd(0x41f)]['updateMember'](this[_0x34decd(0x463)],_0x5b2187[_0x34decd(0x24b)]);}[_0x274a5e(0x383)](_0x20ce22){var _0x597f63=_0x274a5e;this['_memberService'][_0x597f63(0x225)](this['_unitID'],_0x20ce22[_0x597f63(0x24b)][_0x597f63(0x244)]);}async[_0x274a5e(0x1ef)](_0x271dfb,_0x4af8bb){var _0x4a5b3e=_0x274a5e;if(this[_0x4a5b3e(0x1ca)]!==0x3||!this['_socket'])throw new Error(_0x4a5b3e(0x18b));try{_0x271dfb[_0x4a5b3e(0x273)]===I['CollaborationEvent'][_0x4a5b3e(0x1fc)]&&(this[_0x4a5b3e(0x170)](),this[_0x4a5b3e(0x489)](_0x271dfb)),this[_0x4a5b3e(0x18a)]['send']({'cmd':W[_0x4a5b3e(0x47f)],'routeKey':_0x4af8bb,'routeType':'','data':_0x271dfb});}catch(_0x5318d5){this[_0x4a5b3e(0x2e3)]['error'](_0x5318d5);}}['_scheduleCollaborationTimeoutTimer'](){var _0x42df7c=_0x274a5e,_0x345e37;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x28b7bc=_0x3799;this[_0x28b7bc(0x255)]=null,this[_0x28b7bc(0x1f4)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x345e37=this[_0x42df7c(0x317)]['getConfig'](ke))!=null?_0x345e37:St);}['_clearCollaborationTimeoutTimer'](){var _0x1167ac=_0x274a5e;this[_0x1167ac(0x255)]&&(clearTimeout(this[_0x1167ac(0x255)]),this[_0x1167ac(0x255)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5a26dc){var _0x52ca00=_0x274a5e;if(!this['_shouldReportTelemetry'])return;const {data:_0x7b7f2f}=_0x5a26dc,{unitID:_0xab318a,changeset:_0x588db2}=_0x7b7f2f,{mutations:_0x4e05a3,type:_0x39c1b9}=_0x588db2;this['_telemetryInfo']={'unitId':_0xab318a,'type':_0x39c1b9,'startTime':performance[_0x52ca00(0x300)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x4e05a3)};}[_0x274a5e(0x16c)](){var _0x3771ec=_0x274a5e;if(this['_shouldReportTelemetry']){if(!this[_0x3771ec(0x32b)]){this[_0x3771ec(0x2e3)]['error'](_0x3771ec(0x168),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3771ec(0x32b)]['stopTime']=performance[_0x3771ec(0x300)](),this[_0x3771ec(0x32b)][_0x3771ec(0x41d)]=this[_0x3771ec(0x32b)][_0x3771ec(0x3c5)]-this['_telemetryInfo']['startTime'],this[_0x3771ec(0x3f2)]['capture'](Xt,this[_0x3771ec(0x32b)]),this[_0x3771ec(0x32b)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4773da=_0x274a5e;this[_0x4773da(0x32b)]=null;}},exports[_0x274a5e(0x445)]=ni([se(0x2,a[_0x274a5e(0x45a)]),se(0x3,a[_0x274a5e(0x120)]),se(0x4,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),se(0x5,a[_0x274a5e(0x2bc)](exports['MemberService'])),se(0x6,a[_0x274a5e(0x2bc)]($e)),se(0x7,a[_0x274a5e(0x2bc)](ee)),se(0x8,a[_0x274a5e(0x43b)](Pt[_0x274a5e(0x3fe)]))],exports['CollaborationSession']);var ri=Object['getOwnPropertyDescriptor'],si=(_0x30f87a,_0x1b02cd,_0x1c33d5,_0x27a2e1)=>{var _0x34be09=_0x274a5e;for(var _0x3f27d=_0x27a2e1>0x1?void 0x0:_0x27a2e1?ri(_0x1b02cd,_0x1c33d5):_0x1b02cd,_0x2fcc59=_0x30f87a[_0x34be09(0x2d6)]-0x1,_0x1cb63a;_0x2fcc59>=0x0;_0x2fcc59--)(_0x1cb63a=_0x30f87a[_0x2fcc59])&&(_0x3f27d=_0x1cb63a(_0x3f27d)||_0x3f27d);return _0x3f27d;},he=(_0x5bcbaf,_0x23c1a5)=>(_0x41d774,_0x3f2871)=>_0x23c1a5(_0x41d774,_0x3f2871,_0x5bcbaf);exports['CollaborationSessionService']=class extends a[_0x274a5e(0x333)]{constructor(_0xd643d5,_0x2ca093,_0x43a925,_0x10df8,_0x265bdb,_0x49d075){var _0x33578c=_0x274a5e;super(),A(this,_0x33578c(0x122),new $[(_0x33578c(0x1f3))](void 0x0)),A(this,'socket$',this[_0x33578c(0x122)][_0x33578c(0x21d)]()),A(this,_0x33578c(0x2de),null),A(this,_0x33578c(0x408),new Map()),A(this,'_status$',new $['BehaviorSubject'](re[_0x33578c(0x3e7)])),A(this,_0x33578c(0x30b),this[_0x33578c(0x3c6)]['asObservable']()),A(this,'_socketReady',!0x1),A(this,_0x33578c(0x30e)),A(this,_0x33578c(0x480),0x0),A(this,_0x33578c(0x36c)),A(this,'_timeoutTimer'),(this[_0x33578c(0x267)]=_0xd643d5,this[_0x33578c(0x2e3)]=_0x2ca093,this['_configService']=_0x43a925,this['_socketService']=_0x10df8,this['_collaborationUIEventService']=_0x265bdb,this[_0x33578c(0x1be)]=_0x49d075,this['_listenToNetworkCondition']());}get['_socket'](){var _0x5550ca=_0x274a5e;return this[_0x5550ca(0x122)][_0x5550ca(0x272)]();}[_0x274a5e(0x298)](){var _0x2b4fa0=_0x274a5e;this[_0x2b4fa0(0x1be)]&&this[_0x2b4fa0(0x36d)](this['_networkConditionService'][_0x2b4fa0(0x287)][_0x2b4fa0(0x21b)](_0x3f8569=>{var _0x27ceb6=_0x2b4fa0;_0x3f8569&&!this[_0x27ceb6(0x18a)]&&this[_0x27ceb6(0x457)](),_0x3f8569||this[_0x27ceb6(0x2e6)]();}));}[_0x274a5e(0x393)](){var _0x55beaa=_0x274a5e;super[_0x55beaa(0x393)](),this['_clearRetryConnectingTimer'](),this[_0x55beaa(0x15d)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x55beaa(0x442)](_0x1f6499=>_0x1f6499['dispose']()),this[_0x55beaa(0x408)][_0x55beaa(0x293)](),this[_0x55beaa(0x3c6)][_0x55beaa(0x3a2)]();}async[_0x274a5e(0x1f8)](_0x52ccdf){var _0x27491c=_0x274a5e;if(this[_0x27491c(0x408)]['has'](_0x52ccdf))return this[_0x27491c(0x408)][_0x27491c(0x319)](_0x52ccdf);this[_0x27491c(0x387)]();const _0x3067bf=this[_0x27491c(0x267)][_0x27491c(0x485)](exports[_0x27491c(0x445)],_0x52ccdf,this[_0x27491c(0x122)][_0x27491c(0x21d)]());return this[_0x27491c(0x408)]['set'](_0x52ccdf,_0x3067bf),_0x3067bf;}['closeSession'](_0x533f54){var _0x2d8b0e=_0x274a5e,_0x3fdfef;const _0x8a9aec=this[_0x2d8b0e(0x408)]['get'](_0x533f54);_0x8a9aec&&(this['_sessions'][_0x2d8b0e(0x47b)](_0x533f54),_0x8a9aec['close']()),this[_0x2d8b0e(0x408)][_0x2d8b0e(0x479)]||(_0x3fdfef=this[_0x2d8b0e(0x18a)])==null||_0x3fdfef[_0x2d8b0e(0x28e)]();}[_0x274a5e(0x457)](){var _0x3d06d3=_0x274a5e;this[_0x3d06d3(0x480)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x274a5e(0x31f)](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x274a5e(0x25b)](){var _0x2a2c4d=_0x274a5e,_0x20eb5c,_0x266504;const _0x4e3e8c=this['_configService'][_0x2a2c4d(0x16d)](ut),_0x212931=this['_configService'][_0x2a2c4d(0x16d)](K),_0x267e3d=(_0x266504=(_0x20eb5c=_0x212931==null?void 0x0:_0x212931[_0x2a2c4d(0x2b5)])!=null?_0x20eb5c:_0x4e3e8c)!=null?_0x266504:dt,_0x32286b=await this[_0x2a2c4d(0x1e3)][_0x2a2c4d(0x258)](_0x267e3d);return this[_0x2a2c4d(0x2de)]=_0x32286b,_0x32286b;}async[_0x274a5e(0x387)](){var _0x401805=_0x274a5e,_0x1b5a3a,_0x47701f;try{const _0x2205da=(_0x47701f=(_0x1b5a3a=this[_0x401805(0x18a)])!=null?_0x1b5a3a:this[_0x401805(0x2de)])!=null?_0x47701f:await this['_createSocket']();if(_0x2205da){const _0x3720db=_0x2205da['send'];_0x2205da[_0x401805(0x1ef)]=_0x6b9b4d=>(this[_0x401805(0x38d)](),_0x3720db[_0x401805(0x175)](_0x2205da,[_0x6b9b4d])),_0x2205da[_0x401805(0x443)][_0x401805(0x21b)](_0x220640=>this['_onMessage'](_0x2205da,_0x220640)),_0x2205da['error$']['pipe'](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](_0xd90672=>this[_0x401805(0x2e3)]['error'](_0x401805(0x1de),_0xd90672)),_0x2205da[_0x401805(0x412)][_0x401805(0x2c6)](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](()=>{var _0x2ea99d=_0x401805;this[_0x2ea99d(0x461)](_0x2205da);}),_0x2205da[_0x401805(0x40a)]['pipe'](V[_0x401805(0x34a)](0x1))[_0x401805(0x21b)](_0x3cc4c1=>{var _0x4048a7=_0x401805;this[_0x4048a7(0x2e3)][_0x4048a7(0x429)]('[CollaborationSessionService]',_0x4048a7(0x35f),_0x3cc4c1),this[_0x4048a7(0x350)]();});}}catch(_0x1b3008){this['_logService']['error'](_0x1b3008),this[_0x401805(0x350)]();}}[_0x274a5e(0x461)](_0x359159){var _0x15ef6b=_0x274a5e;this['_logService'][_0x15ef6b(0x429)](_0x15ef6b(0x165),'socket\x20open.'),_0x359159['send']({'cmd':W['HELLO']}),this[_0x15ef6b(0x38d)]();}['_onOffline'](){var _0x40af9c=_0x274a5e;this[_0x40af9c(0x184)]=!0x1,this[_0x40af9c(0x2de)]=null,this['_status$'][_0x40af9c(0x226)](re[_0x40af9c(0x275)]),this[_0x40af9c(0x122)][_0x40af9c(0x226)](null),this['_clearTimeoutTimer'](),this[_0x40af9c(0x22d)]();}['_onConnectionFailed'](){var _0x1660e2=_0x274a5e,_0x9a94a7;this[_0x1660e2(0x2e6)](),this[_0x1660e2(0x480)]<((_0x9a94a7=this[_0x1660e2(0x317)][_0x1660e2(0x16d)](ft))!=null?_0x9a94a7:jt)?(this[_0x1660e2(0x1f4)]['emitEvent']({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x1660e2(0x186)]()):this[_0x1660e2(0x1f4)][_0x1660e2(0x34b)]({'id':Z[_0x1660e2(0x348)]});}[_0x274a5e(0x186)](){var _0x1e5427=_0x274a5e,_0x2306d5;const _0xcbb86=this[_0x1e5427(0x480)],_0x5dc974=this[_0x1e5427(0x317)]['getConfig'](K),_0x7abe6e=_0xcbb86===0x0?0x0:((_0x2306d5=_0x5dc974==null?void 0x0:_0x5dc974[_0x1e5427(0x220)])!=null?_0x2306d5:$t)*0x2**_0xcbb86;this[_0x1e5427(0x30e)]=setTimeout(()=>{var _0x8963d6=_0x1e5427;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x8963d6(0x387)]();},_0x7abe6e),this[_0x1e5427(0x480)]+=0x1;}[_0x274a5e(0x303)](_0x5e2c1f,_0x21fc8b){var _0x32f07c=_0x274a5e;const {cmd:_0x830cb1}=_0x21fc8b;_0x830cb1===W[_0x32f07c(0x23a)]&&!this[_0x32f07c(0x184)]&&(_0x5e2c1f[_0x32f07c(0x244)]=_0x21fc8b[_0x32f07c(0x24b)][_0x32f07c(0x244)],this[_0x32f07c(0x122)][_0x32f07c(0x226)](_0x5e2c1f),this[_0x32f07c(0x3c6)][_0x32f07c(0x226)](re[_0x32f07c(0x127)]),this['_socketReady']=!0x0,this[_0x32f07c(0x2de)]=null),_0x830cb1===W['HEARTBEAT']&&this[_0x32f07c(0x15d)](),this['_rescheduleHeartbeat']();}[_0x274a5e(0x38d)](){var _0x116864=_0x274a5e,_0x1bcf10;this['_clearHeartbeatTimer'](),this[_0x116864(0x36c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1bcf10=this[_0x116864(0x317)][_0x116864(0x16d)](vt))!=null?_0x1bcf10:Ht);}['_sendHeartbeat'](){var _0x44e3be=_0x274a5e;this['_socket'][_0x44e3be(0x1ef)]({'cmd':W[_0x44e3be(0x3f8)]}),this['_waitForHeartbeatResponse']();}[_0x274a5e(0x2ef)](){var _0x1e6a73=_0x274a5e,_0x17b695;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x17b695=this[_0x1e6a73(0x317)]['getConfig'](ke))!=null?_0x17b695:St);}[_0x274a5e(0x22d)](){var _0x5ab72a=_0x274a5e;this[_0x5ab72a(0x36c)]!=null&&(clearTimeout(this[_0x5ab72a(0x36c)]),this[_0x5ab72a(0x36c)]=null);}[_0x274a5e(0x15d)](){var _0xd71089=_0x274a5e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xd71089(0x420)]),this[_0xd71089(0x420)]=null);}},exports[_0x274a5e(0x334)]=si([he(0x0,a['Inject'](a[_0x274a5e(0x166)])),he(0x1,a[_0x274a5e(0x45a)]),he(0x2,a[_0x274a5e(0x120)]),he(0x3,He),he(0x4,a[_0x274a5e(0x2bc)](ee)),he(0x5,a[_0x274a5e(0x43b)](mt))],exports[_0x274a5e(0x334)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x1a7d04){var _0x398afb=_0x274a5e;return _0x398afb(0x14b)+_0x1a7d04;}var ai=Object[_0x274a5e(0x171)],ci=(_0x3d469f,_0x20d57f,_0x287582,_0x306251)=>{var _0x2f86e0=_0x274a5e;for(var _0x286576=_0x306251>0x1?void 0x0:_0x306251?ai(_0x20d57f,_0x287582):_0x20d57f,_0x753802=_0x3d469f[_0x2f86e0(0x2d6)]-0x1,_0x5bfadb;_0x753802>=0x0;_0x753802--)(_0x5bfadb=_0x3d469f[_0x753802])&&(_0x286576=_0x5bfadb(_0x286576)||_0x286576);return _0x286576;},De=(_0x39fd4b,_0x24d90e)=>(_0x5973c8,_0x44476f)=>_0x24d90e(_0x5973c8,_0x44476f,_0x39fd4b);function hi(_0x562454){var _0x3248a6=_0x274a5e;const {unitID:_0xcb685,mutations:_0x1659e4}=_0x562454;return{'unitId':_0xcb685,'subUnitId':_0x1659e4[0x0]['params'][_0x3248a6(0x192)]};}exports[_0x274a5e(0x390)]=class{constructor(_0x5c9bac,_0x1c9093,_0x23c80e){var _0x318505=_0x274a5e;this[_0x318505(0x267)]=_0x5c9bac,this[_0x318505(0x39c)]=_0x1c9093,this[_0x318505(0x3b0)]=_0x23c80e;}[_0x274a5e(0x16e)](_0x5847ac){var _0x43cf4c=_0x274a5e,_0x450813,_0x2fc7c0,_0x1b03dc,_0x5928d2;const _0x866d70=this[_0x43cf4c(0x267)]['get'](X[_0x43cf4c(0x304)]),{unitId:_0x58ca9a,subUnitId:_0x48844d}=hi(_0x5847ac),_0x5131ce=_0x866d70==null?void 0x0:_0x866d70['getWorkbookSelections'](_0x58ca9a)['getCurrentSelections'](),_0x59b8e7=(_0x2fc7c0=(_0x450813=this[_0x43cf4c(0x3b0)][_0x43cf4c(0x3ce)](_0x58ca9a))==null?void 0x0:_0x450813[_0x43cf4c(0x3a8)]())==null?void 0x0:_0x2fc7c0[_0x43cf4c(0x425)]();if(_0x5131ce[_0x43cf4c(0x2d6)]===0x0||!_0x58ca9a||!_0x48844d)return;const _0x37cf90=[{'id':X[_0x43cf4c(0x3e6)]['id'],'params':{'unitId':_0x58ca9a,'subUnitId':_0x59b8e7,'selections':a[_0x43cf4c(0x136)]['deepClone'](_0x5131ce)}}],_0x4ed0ea=this['_transformService'][_0x43cf4c(0x46a)](_0x5847ac,_0x37cf90);if(!I[_0x43cf4c(0x22c)](_0x4ed0ea))throw _0x4ed0ea['error'];const _0x1d09e0=(_0x5928d2=(_0x1b03dc=_0x4ed0ea[_0x43cf4c(0x354)][0x0])==null?void 0x0:_0x1b03dc[_0x43cf4c(0x328)])==null?void 0x0:_0x5928d2['selections'];if(Array[_0x43cf4c(0x19a)](_0x1d09e0)&&_0x1d09e0[_0x43cf4c(0x2d6)]){if(_0x1d09e0[_0x43cf4c(0x2d6)]===_0x37cf90[0x0][_0x43cf4c(0x328)][_0x43cf4c(0x3bc)][_0x43cf4c(0x2d6)]&&_0x1d09e0[_0x43cf4c(0x399)]((_0x5a247e,_0x393e93)=>a[_0x43cf4c(0x12e)]['equals'](_0x5a247e[_0x43cf4c(0x313)],_0x37cf90[0x0][_0x43cf4c(0x328)][_0x43cf4c(0x3bc)][_0x393e93]['range'])))return;this[_0x43cf4c(0x267)]['get'](a[_0x43cf4c(0x449)])[_0x43cf4c(0x3ec)](X[_0x43cf4c(0x3e6)]['id'],{'unitId':_0x58ca9a,'subUnitId':_0x59b8e7,'selections':_0x1d09e0});}}},exports[_0x274a5e(0x390)]=ci([De(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),De(0x1,I[_0x274a5e(0x30c)]),De(0x2,a[_0x274a5e(0x3cf)])],exports[_0x274a5e(0x390)]);const de=a['createIdentifier'](_0x274a5e(0x47a));var je=(_0x2084e6=>(_0x2084e6[_0x2084e6[_0x274a5e(0x315)]=0x0]=_0x274a5e(0x315),_0x2084e6[_0x2084e6[_0x274a5e(0x19b)]=0x1]=_0x274a5e(0x19b),_0x2084e6))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ke(_0x2b7223,_0x29124d,_0x306f06,_0x418e14,_0xc35268){var _0x2a18ab=_0x274a5e,_0x4ec3fc,_0x1376a5,_0xb483e6,_0x578a06;const _0x5f3ca1=[];for(const _0x30cb10 of _0x2b7223)if(_i[_0x2a18ab(0x2b0)](_0x30cb10['id'])){if(_0x5f3ca1[_0x2a18ab(0x2d6)]>0x0)break;_0x5f3ca1[_0x2a18ab(0x427)](_0x30cb10);break;}else _0x5f3ca1[_0x2a18ab(0x427)](_0x30cb10);const _0x1ffe28=(_0x1376a5=(_0x4ec3fc=_0xc35268['getCurrentUser']())==null?void 0x0:_0x4ec3fc[_0x2a18ab(0x351)])!=null?_0x1376a5:'unknown',_0x1f9d13=(_0x578a06=(_0xb483e6=_0xc35268[_0x2a18ab(0x33f)]())==null?void 0x0:_0xb483e6[_0x2a18ab(0x244)])!=null?_0x578a06:_0x2a18ab(0x3ee);return{'changeset':{'unitID':_0x29124d,'type':I[_0x2a18ab(0x39a)](_0x306f06[_0x2a18ab(0x2e1)](_0x29124d)),'baseRev':_0x418e14[_0x2a18ab(0x389)](_0x29124d),'revision':0x0,'userID':_0x1ffe28,'memberID':_0x1f9d13,'mutations':_0x5f3ca1},'pendingMutations':_0x2b7223['slice'](_0x5f3ca1[_0x2a18ab(0x2d6)])};}function li(_0x2fb8b0,_0xeb5133,_0x3dac78,_0x5263fe,_0x400299){var _0x2b7eac=_0x274a5e,_0x5355a7,_0x23e0b1,_0x205b56,_0x2aae00;const _0x1e0dc7=[_0x2fb8b0[_0x2b7eac(0x2e4)]((_0x2d0f16,_0x256f09)=>{var _0x5246ce=_0x2b7eac,_0x1f7ee6;const {id:_0x3f1299}=_0x2d0f16,{id:_0x448f7b,type:_0x2b1e55}=_0x256f09,_0x75aee9=(_0x1f7ee6=_0x2d0f16['params'])!=null?_0x1f7ee6:{'actions':null},_0x195045=_0x256f09[_0x5246ce(0x328)];if(_0x3f1299&&_0x3f1299!==_0x448f7b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3f1299+_0x5246ce(0x183)+_0x448f7b+'.');return{..._0x2d0f16,'id':_0x448f7b,'type':_0x2b1e55,'params':{'unitId':_0x195045[_0x5246ce(0x475)],'textRanges':_0x195045[_0x5246ce(0x1b7)],'actions':a[_0x5246ce(0x223)][_0x5246ce(0x28b)](_0x75aee9[_0x5246ce(0x1cd)],_0x195045['actions'])}};},{})],_0x31591e=(_0x23e0b1=(_0x5355a7=_0x400299[_0x2b7eac(0x33f)]())==null?void 0x0:_0x5355a7['userID'])!=null?_0x23e0b1:_0x2b7eac(0x3ee),_0x408c61=(_0x2aae00=(_0x205b56=_0x400299['getCurrentUser']())==null?void 0x0:_0x205b56['memberID'])!=null?_0x2aae00:_0x2b7eac(0x3ee);return{'changeset':{'unitID':_0xeb5133,'type':I[_0x2b7eac(0x39a)](_0x3dac78[_0x2b7eac(0x2e1)](_0xeb5133)),'baseRev':_0x5263fe[_0x2b7eac(0x389)](_0xeb5133),'revision':0x0,'userID':_0x31591e,'memberID':_0x408c61,'mutations':_0x1e0dc7},'pendingMutations':[]};}function bt(_0x5dc14f,_0x419100){var _0xce57e2=_0x274a5e;const _0x5183de=new $[(_0xce57e2(0x176))](0x1);return setTimeout(()=>_0x5183de[_0xce57e2(0x226)](_0x419100),_0x5dc14f),_0x5183de[_0xce57e2(0x21d)]()['pipe']($[_0xce57e2(0x34a)](0x1));}const ui={'id':X[_0x274a5e(0x2c2)]['id'],'type':a[_0x274a5e(0x169)][_0x274a5e(0x2b1)],'params':{}};var di=Object[_0x274a5e(0x171)],ae=(_0xc26a3c,_0x3768c4,_0x26eddd,_0x586395)=>{var _0x271f57=_0x274a5e;for(var _0x19844f=_0x586395>0x1?void 0x0:_0x586395?di(_0x3768c4,_0x26eddd):_0x3768c4,_0xb76992=_0xc26a3c[_0x271f57(0x2d6)]-0x1,_0x2dda05;_0xb76992>=0x0;_0xb76992--)(_0x2dda05=_0xc26a3c[_0xb76992])&&(_0x19844f=_0x2dda05(_0x19844f)||_0x19844f);return _0x19844f;},w=(_0x8a2b36,_0x23f6ba)=>(_0x105b26,_0x47e1ce)=>_0x23f6ba(_0x105b26,_0x47e1ce,_0x8a2b36),Be=(_0x12e605=>(_0x12e605[_0x274a5e(0x152)]=_0x274a5e(0x266),_0x12e605['SYNCED']=_0x274a5e(0x1b4),_0x12e605['PENDING']='pending',_0x12e605['AWAITING']=_0x274a5e(0x2e8),_0x12e605[_0x274a5e(0x268)]=_0x274a5e(0x43f),_0x12e605['FETCH_MISS']='fetch_missing',_0x12e605[_0x274a5e(0x246)]='conflict',_0x12e605['OFFLINE']=_0x274a5e(0x1a5),_0x12e605))(Be||{});const Rt=0xea60;class ce{constructor(_0x1b066e,_0x28cf7c,_0x3b98e4,_0x45482d,_0x256a9b,_0x4d9e32,_0x4ed09f,_0x10de5d,_0x4e5787){var _0x5a3a1f=_0x274a5e;A(this,_0x5a3a1f(0x385),null),A(this,'_pendingMutations',[]),(this[_0x5a3a1f(0x3d4)]=_0x1b066e,this[_0x5a3a1f(0x432)]=_0x28cf7c,this[_0x5a3a1f(0x3f3)]=_0x256a9b,this['_commandService']=_0x4d9e32,this[_0x5a3a1f(0x44e)]=_0x4ed09f,this[_0x5a3a1f(0x27e)]=_0x10de5d,this['_localCacheService']=_0x4e5787,this[_0x5a3a1f(0x385)]=_0x3b98e4,this['_pendingMutations']=_0x45482d);}[_0x274a5e(0x26f)](_0x38c198){var _0x4e3234=_0x274a5e;const _0x1a2d32=this[_0x4e3234(0x27e)][_0x4e3234(0x389)](this[_0x4e3234(0x3d4)]);return _0x38c198['revision']>_0x1a2d32+0x1?(this[_0x4e3234(0x3f3)]['onMissingChangesets']({'from':_0x1a2d32,'to':_0x38c198[_0x4e3234(0x24c)]-0x1}),!0x0):!0x1;}[_0x274a5e(0x218)](_0x52fbc0){var _0x37e43c=_0x274a5e;this['_undoRedoService'][_0x37e43c(0x34f)](this['unitID'],_0x52fbc0);}['_transformSelections'](_0x38093b){var _0x2fc6c3=_0x274a5e,_0x400605,_0x3ddc06;(_0x3ddc06=(_0x400605=this[_0x2fc6c3(0x3f3)])[_0x2fc6c3(0x294)])==null||_0x3ddc06[_0x2fc6c3(0x369)](_0x400605,_0x38093b);}[_0x274a5e(0x462)](_0x545dfd){var _0xec7f73=_0x274a5e,_0x111510,_0x3f6e74;return(_0x3f6e74=(_0x111510=this[_0xec7f73(0x3f3)])[_0xec7f73(0x441)])==null?void 0x0:_0x3f6e74['call'](_0x111510,_0x545dfd);}[_0x274a5e(0x395)](_0x176449){var _0x32d43e=_0x274a5e,_0x4d96be,_0x59c6ed;return(_0x59c6ed=(_0x4d96be=this[_0x32d43e(0x3f3)])[_0x32d43e(0x18f)])==null?void 0x0:_0x59c6ed['call'](_0x4d96be,_0x176449);}['_transformRemoteChangesetByIMECache'](_0x445605){var _0x5003ff=_0x274a5e,_0x590dc6,_0x3a2eb0,_0x5298bb;return(_0x5298bb=(_0x3a2eb0=(_0x590dc6=this['_handler'])[_0x5003ff(0x174)])==null?void 0x0:_0x3a2eb0['call'](_0x590dc6,_0x445605))!=null?_0x5298bb:_0x445605;}['_transformRemoteChangesetByStateCache'](_0x35dc38){var _0x187bc5=_0x274a5e,_0x26f4f2,_0x258d06,_0x52dc2a;return(_0x52dc2a=(_0x258d06=(_0x26f4f2=this[_0x187bc5(0x3f3)])[_0x187bc5(0x250)])==null?void 0x0:_0x258d06[_0x187bc5(0x369)](_0x26f4f2,_0x35dc38))!=null?_0x52dc2a:_0x35dc38;}[_0x274a5e(0x2f8)](_0x4e714a){var _0x355edd=_0x274a5e,_0x7872f1,_0x48edef;if(this[_0x355edd(0x432)]===J[_0x355edd(0x339)]){const {unitID:_0x2cf3de,mutations:_0x5ac1f7,memberID:_0x186b4c}=_0x4e714a,_0x34b60a=_0x5ac1f7[0x0][_0x355edd(0x328)][_0x355edd(0x1b7)];Array[_0x355edd(0x19a)](_0x34b60a)&&_0x34b60a[_0x355edd(0x2d6)]>0x0&&((_0x48edef=(_0x7872f1=this[_0x355edd(0x3f3)])['onSyncEditingCollabCursor'])==null||_0x48edef[_0x355edd(0x369)](_0x7872f1,{'unitID':_0x2cf3de,'memberID':_0x186b4c,'textRanges':_0x34b60a}));}}[_0x274a5e(0x454)](){var _0xf0e465=_0x274a5e,_0x4e9d1b;(_0x4e9d1b=this[_0xf0e465(0x38a)])==null||_0x4e9d1b[_0xf0e465(0x3ae)](this[_0xf0e465(0x3d4)],this[_0xf0e465(0x432)],this[_0xf0e465(0x385)],this[_0xf0e465(0x138)]);}[_0x274a5e(0x1c7)](){var _0x1e53a1=_0x274a5e;return this[_0x1e53a1(0x27e)][_0x1e53a1(0x389)](this[_0x1e53a1(0x3d4)]);}[_0x274a5e(0x1d0)](){var _0x12114e=_0x274a5e;this[_0x12114e(0x27e)][_0x12114e(0x207)](this[_0x12114e(0x3d4)]);}[_0x274a5e(0x265)](_0x15a4bd){var _0x1654b1=_0x274a5e,_0x2826a9;let _0x1255b9=this[_0x1654b1(0x37a)](_0x15a4bd);_0x1255b9=this[_0x1654b1(0x190)](_0x1255b9);const _0x1121b6=a[_0x1654b1(0x1ea)](_0x1255b9['mutations'],this[_0x1654b1(0x24d)],{'fromCollab':!0x0});if(!_0x1121b6[_0x1654b1(0x259)])throw _0x1121b6[_0x1654b1(0x3c7)]instanceof Error?_0x1121b6[_0x1654b1(0x3c7)]:new Error((_0x2826a9=_0x1121b6['error'])!=null?_0x2826a9:'[CollaborationState]:\x20apply\x20error!');this[_0x1654b1(0x462)](_0x1255b9),this['_transformStateCache'](_0x1255b9),this[_0x1654b1(0x218)](_0x15a4bd),this['_transformSelections'](_0x1255b9),this[_0x1654b1(0x2f8)](_0x1255b9),this[_0x1654b1(0x1d0)]();}}exports[_0x274a5e(0x1b1)]=class extends ce{constructor(_0x145d63,_0x2a0a38,_0x3d123c,_0x2409dd,_0xae82b1,_0x2e4247,_0x3fd69f,_0x344e72,_0x7f2d7c,_0x5bd2a8){var _0x2b965d=_0x274a5e;super(_0x145d63,_0x2a0a38,null,[],_0x3d123c,_0x3fd69f,_0x2e4247,_0x2409dd,_0x5bd2a8),A(this,_0x2b965d(0x2fb),'synced'),(this['_injector']=_0xae82b1,this[_0x2b965d(0x2e3)]=_0x344e72,this[_0x2b965d(0x39c)]=_0x7f2d7c,this[_0x2b965d(0x145)]=_0x5bd2a8);}[_0x274a5e(0x271)](_0x4971f7){var _0x5c9389=_0x274a5e;const _0x52b9a9=this[_0x5c9389(0x267)]['createInstance'](exports[_0x5c9389(0x2c5)],this[_0x5c9389(0x3d4)],this[_0x5c9389(0x432)],[_0x4971f7],this['_handler']);return _0x52b9a9[_0x5c9389(0x25f)](),_0x52b9a9[_0x5c9389(0x454)](),_0x52b9a9;}[_0x274a5e(0x288)](_0x20bdff){var _0x5ea580=_0x274a5e;if(this[_0x5ea580(0x26f)](_0x20bdff))return this[_0x5ea580(0x267)][_0x5ea580(0x485)](exports[_0x5ea580(0x299)],this[_0x5ea580(0x3d4)],this[_0x5ea580(0x432)],null,[],null,[_0x20bdff],this[_0x5ea580(0x3f3)]);try{const _0x8ec200=this[_0x5ea580(0x39c)]['transformMutationsWithChangeset'](_0x20bdff,[ui]);if(I[_0x5ea580(0x22c)](_0x8ec200)){const {c1Prime:_0xaf1e29}=_0x8ec200;return this[_0x5ea580(0x265)](_0xaf1e29),this;}throw _0x8ec200[_0x5ea580(0x3c7)];}catch(_0x579385){return this[_0x5ea580(0x2e3)][_0x5ea580(0x3c7)](_0x579385),this[_0x5ea580(0x13c)](!0x1);}}[_0x274a5e(0x13c)](_0xda6dbf){var _0x1dde64=_0x274a5e;return this[_0x1dde64(0x267)][_0x1dde64(0x485)](exports[_0x1dde64(0x39d)],this[_0x1dde64(0x3d4)],this[_0x1dde64(0x432)],null,[],this['_handler'],_0xda6dbf);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x274a5e(0x241)](){var _0x14fe74=_0x274a5e;throw new Error(_0x14fe74(0x3b7));}['onRemoteRetry'](){return this;}[_0x274a5e(0x465)](){var _0x5ab7c2=_0x274a5e;return this[_0x5ab7c2(0x267)][_0x5ab7c2(0x485)](exports[_0x5ab7c2(0x15e)],this[_0x5ab7c2(0x3d4)],this[_0x5ab7c2(0x432)],null,[],this[_0x5ab7c2(0x3f3)]);}[_0x274a5e(0x381)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x274a5e(0x199)](){var _0x332c61=_0x274a5e;const _0x25133b=this[_0x332c61(0x27e)][_0x332c61(0x389)](this[_0x332c61(0x3d4)]);return this[_0x332c61(0x3f3)][_0x332c61(0x157)]({'from':_0x25133b,'to':0x0}),this['_injector'][_0x332c61(0x485)](exports[_0x332c61(0x299)],this[_0x332c61(0x3d4)],this[_0x332c61(0x432)],null,[],null,[],this[_0x332c61(0x3f3)]);}},exports['SyncedState']=ae([w(0x3,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),w(0x4,a['Inject'](a[_0x274a5e(0x166)])),w(0x5,a[_0x274a5e(0x384)]),w(0x6,a[_0x274a5e(0x449)]),w(0x7,a['ILogService']),w(0x8,I[_0x274a5e(0x30c)]),w(0x9,a['Optional'](q))],exports[_0x274a5e(0x1b1)]),exports[_0x274a5e(0x2c5)]=class extends ce{constructor(_0x5cc4ed,_0x2a2d3a,_0xd90fc7,_0x474843,_0x331520,_0xac1950,_0x44235d,_0x536704,_0x7cbe99,_0x44ffe2,_0x15c2dc,_0x12e40,_0x1086bc,_0x19732d){var _0x1b51ec=_0x274a5e;super(_0x5cc4ed,_0x2a2d3a,null,_0xd90fc7,_0x474843,_0x7cbe99,_0x1086bc,_0xac1950,_0x19732d),A(this,'status','pending'),A(this,_0x1b51ec(0x3b2),null),A(this,_0x1b51ec(0x3e0),null),(this['_injector']=_0x331520,this[_0x1b51ec(0x41f)]=_0x44235d,this[_0x1b51ec(0x2e3)]=_0x536704,this[_0x1b51ec(0x317)]=_0x44ffe2,this['_transformService']=_0x15c2dc,this[_0x1b51ec(0x3eb)]=_0x12e40);}['appendMutation'](_0x24cab2){var _0x401894=_0x274a5e;return this[_0x401894(0x138)][_0x401894(0x427)](_0x24cab2),this[_0x401894(0x454)](),this;}[_0x274a5e(0x288)](_0x4a1877){var _0x327d1f=_0x274a5e;if(this['_checkMissing'](_0x4a1877))return this[_0x327d1f(0x3db)](),this[_0x327d1f(0x267)][_0x327d1f(0x485)](exports['FetchingMissState'],this[_0x327d1f(0x3d4)],this['type'],null,this[_0x327d1f(0x138)],null,[_0x4a1877],this['_handler']);try{const _0x2e5296=this[_0x327d1f(0x39c)][_0x327d1f(0x46a)](_0x4a1877,this[_0x327d1f(0x138)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x2e5296)){const {c1Prime:_0x351296,m2Prime:_0xbcc3d9}=_0x2e5296;this[_0x327d1f(0x265)](_0x351296);const _0x393e72=this[_0x327d1f(0x267)][_0x327d1f(0x485)](exports['PendingState'],this[_0x327d1f(0x3d4)],this[_0x327d1f(0x432)],_0xbcc3d9,this[_0x327d1f(0x3f3)]);this['_clearScheduledTask']();const _0xefe5d1=new Date()['getTime'](),_0x4ec169=this[_0x327d1f(0x3b2)]?Math[_0x327d1f(0x204)](this['_scheduleCompleteTimestamp']-_0xefe5d1,0x0):this[_0x327d1f(0x2d4)]();return _0x393e72[_0x327d1f(0x25f)](_0x4ec169),_0x393e72;}throw _0x2e5296[_0x327d1f(0x3c7)];}catch(_0x432f13){return this[_0x327d1f(0x2e3)][_0x327d1f(0x3c7)](_0x432f13),this[_0x327d1f(0x13c)](!0x1);}}[_0x274a5e(0x2fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x274a5e(0x241)](){var _0x5b0a9c=_0x274a5e;throw new Error(_0x5b0a9c(0x211));}[_0x274a5e(0x1c5)](){return this;}[_0x274a5e(0x465)](){var _0x15a9fb=_0x274a5e;return this['_clearScheduledTask'](),this[_0x15a9fb(0x267)][_0x15a9fb(0x485)](exports[_0x15a9fb(0x15e)],this[_0x15a9fb(0x3d4)],this[_0x15a9fb(0x432)],null,this['_pendingMutations'],this[_0x15a9fb(0x3f3)]);}[_0x274a5e(0x381)](){return this;}['_schedule'](_0x415384){var _0x421b56=_0x274a5e;const _0x3b273c=_0x415384!=null?_0x415384:this['_getSendChangesetTimeout']();this[_0x421b56(0x3b2)]=new Date()['getTime']()+_0x3b273c,this[_0x421b56(0x3e0)]=setTimeout(()=>{var _0x552e58=_0x421b56;this[_0x552e58(0x3db)]();let _0x169b3c=null;switch(this[_0x552e58(0x432)]){case J[_0x552e58(0x2ad)]:{_0x169b3c=Ke(this[_0x552e58(0x138)],this[_0x552e58(0x3d4)],this[_0x552e58(0x3eb)],this[_0x552e58(0x27e)],this[_0x552e58(0x41f)]);break;}case J[_0x552e58(0x339)]:{this[_0x552e58(0x138)][_0x552e58(0x399)](_0x493820=>_0x493820['id']===ht['RichTextEditingMutation']['id'])?_0x169b3c=li(this[_0x552e58(0x138)],this[_0x552e58(0x3d4)],this['_univerInstanceService'],this[_0x552e58(0x27e)],this['_memberService']):_0x169b3c=Ke(this['_pendingMutations'],this['unitID'],this[_0x552e58(0x3eb)],this[_0x552e58(0x27e)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x552e58(0x432)]+_0x552e58(0x40c));}const {changeset:_0x40c1a4,pendingMutations:_0x2008b7}=_0x169b3c;this[_0x552e58(0x3f3)]['onSendChangeset'](_0x40c1a4);const _0x5a7948=_0x2008b7[_0x552e58(0x2d6)]?this[_0x552e58(0x267)][_0x552e58(0x485)](exports[_0x552e58(0x2af)],this[_0x552e58(0x3d4)],this['type'],_0x40c1a4,_0x2008b7,this[_0x552e58(0x3f3)],void 0x0):this[_0x552e58(0x267)][_0x552e58(0x485)](exports['AwaitingState'],this['unitID'],this['type'],_0x40c1a4,this[_0x552e58(0x3f3)]);_0x5a7948[_0x552e58(0x454)](),this['_handler']['onStateChange'](this,_0x5a7948);},_0x3b273c);}[_0x274a5e(0x2d4)](){var _0x638a86=_0x274a5e,_0x55334f;const _0x32dc0c=this['_configService'][_0x638a86(0x16d)](K);return(_0x55334f=_0x32dc0c==null?void 0x0:_0x32dc0c[_0x638a86(0x1dd)])!=null?_0x55334f:xt;}[_0x274a5e(0x3c3)](){var _0x296b60=_0x274a5e;throw new Error(_0x296b60(0x17b));}['_clearScheduledTask'](){var _0x541998=_0x274a5e;this['_sendingTimer']!=null&&(clearTimeout(this[_0x541998(0x3e0)]),this[_0x541998(0x3e0)]=null);}[_0x274a5e(0x13c)](_0x24a9ba){var _0x194503=_0x274a5e;return this[_0x194503(0x3db)](),this[_0x194503(0x267)][_0x194503(0x485)](exports['ConflictState'],this['unitID'],this[_0x194503(0x432)],null,this[_0x194503(0x138)],this[_0x194503(0x3f3)],_0x24a9ba);}},exports[_0x274a5e(0x2c5)]=ae([w(0x4,a[_0x274a5e(0x2bc)](a['Injector'])),w(0x5,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),w(0x6,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x436)])),w(0x7,a[_0x274a5e(0x45a)]),w(0x8,a[_0x274a5e(0x449)]),w(0x9,a['IConfigService']),w(0xa,I[_0x274a5e(0x30c)]),w(0xb,a[_0x274a5e(0x3cf)]),w(0xc,a[_0x274a5e(0x384)]),w(0xd,a[_0x274a5e(0x43b)](q))],exports['PendingState']),exports[_0x274a5e(0x30d)]=class extends ce{constructor(_0x4ccbdb,_0x370364,_0x57e7b1,_0x3736dc,_0x2d99ff,_0x1a3770,_0x3add57,_0x1d8df9,_0x1ed2b0,_0x3d2280,_0x4c65e5){var _0x1a0a2f=_0x274a5e;super(_0x4ccbdb,_0x370364,_0x57e7b1,[],_0x3736dc,_0x3add57,_0x3d2280,_0x1a3770,_0x4c65e5),A(this,_0x1a0a2f(0x2fb),_0x1a0a2f(0x2e8)),A(this,_0x1a0a2f(0x2f4),0x0),A(this,_0x1a0a2f(0x1bd)),A(this,_0x1a0a2f(0x486)),(this['_injector']=_0x2d99ff,this[_0x1a0a2f(0x2e3)]=_0x1d8df9,this[_0x1a0a2f(0x39c)]=_0x1ed2b0);}[_0x274a5e(0x271)](_0x13efcd){var _0x1c22e1=_0x274a5e;this[_0x1c22e1(0x3db)]();const _0x2b64f5=this[_0x1c22e1(0x267)][_0x1c22e1(0x485)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x1c22e1(0x432)],this['_awaitingChangeset'],[_0x13efcd],this[_0x1c22e1(0x3f3)],this['_resendTimer']);return _0x2b64f5[_0x1c22e1(0x454)](),_0x2b64f5;}[_0x274a5e(0x288)](_0x43dbe8){var _0x765879=_0x274a5e;if(this[_0x765879(0x26f)](_0x43dbe8))return this[_0x765879(0x3db)](),this[_0x765879(0x267)][_0x765879(0x485)](exports[_0x765879(0x299)],this[_0x765879(0x3d4)],this['type'],this['_awaitingChangeset'],[],null,[_0x43dbe8],this[_0x765879(0x3f3)]);try{const _0x33992e=this[_0x765879(0x39c)]['transformChangesets']([_0x43dbe8],[this['_awaitingChangeset']],!0x1);if(I[_0x765879(0x2a3)](_0x33992e)){const {c1Prime:_0x221e7a,c2Prime:_0x685634}=_0x33992e;this['_executeRemoteChangeset'](_0x221e7a[0x0]),_0x685634[0x0][_0x765879(0x402)]=this[_0x765879(0x1c7)](),this[_0x765879(0x3db)]();const _0x217ef5=this[_0x765879(0x267)]['createInstance'](exports[_0x765879(0x30d)],this[_0x765879(0x3d4)],this[_0x765879(0x432)],_0x685634[0x0],this['_handler']);return _0x217ef5[_0x765879(0x454)](),_0x217ef5;}return this[_0x765879(0x13c)](!0x1);}catch(_0x12171c){return this[_0x765879(0x2e3)][_0x765879(0x3c7)](_0x12171c),this[_0x765879(0x13c)](!0x1);}}[_0x274a5e(0x2fc)](_0x10ec14){var _0xaec11=_0x274a5e;this[_0xaec11(0x3db)]();const _0x17091c=this[_0xaec11(0x27e)][_0xaec11(0x389)](this['unitID']);if(_0x10ec14[_0xaec11(0x24c)]<_0x17091c-0x1)return this;if(this['_checkMissing'](_0x10ec14))return this['_injector'][_0xaec11(0x485)](exports[_0xaec11(0x299)],this[_0xaec11(0x3d4)],this[_0xaec11(0x432)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1d08c0=this[_0xaec11(0x267)][_0xaec11(0x485)](exports['SyncedState'],this['unitID'],this['type'],this[_0xaec11(0x3f3)]);return _0x1d08c0[_0xaec11(0x454)](),_0x1d08c0;}[_0x274a5e(0x241)](_0x5dcc57){var _0x4dfea7=_0x274a5e;return this[_0x4dfea7(0x13c)](!!(_0x5dcc57!=null&&_0x5dcc57[_0x4dfea7(0x1ed)]));}['onRemoteRetry'](_0x2bdbad){var _0x2bbcd9=_0x274a5e;return this[_0x2bbcd9(0x2f4)]>Rt?this[_0x2bbcd9(0x465)]():(this[_0x2bbcd9(0x1bd)]=bt(this[_0x2bbcd9(0x2f4)],{'timeout':this[_0x2bbcd9(0x2f4)],'reqId':_0x2bdbad['reqId']}),this[_0x2bbcd9(0x486)]=this['_resendTimer'][_0x2bbcd9(0x21b)](({reqId:_0x310c93,timeout:_0x27ea6e})=>{var _0x21c928=_0x2bbcd9;this[_0x21c928(0x1d8)](_0x310c93,_0x27ea6e);}),this);}['toggleOffline'](){var _0x30054a=_0x274a5e;return this['_clearScheduledTask'](),this[_0x30054a(0x267)]['createInstance'](exports[_0x30054a(0x15e)],this[_0x30054a(0x3d4)],this[_0x30054a(0x432)],this[_0x30054a(0x385)],[],this[_0x30054a(0x3f3)]);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x3c3)](){var _0x1d1da3=_0x274a5e;this[_0x1d1da3(0x3f3)][_0x1d1da3(0x185)](this[_0x1d1da3(0x385)]);}['_onConflict'](_0x12f32b){var _0xcce436=_0x274a5e;return this[_0xcce436(0x3db)](),this[_0xcce436(0x267)]['createInstance'](exports[_0xcce436(0x39d)],this[_0xcce436(0x3d4)],this[_0xcce436(0x432)],this[_0xcce436(0x385)],[],this[_0xcce436(0x3f3)],_0x12f32b);}[_0x274a5e(0x1d8)](_0x5111e1,_0x4e44fb){var _0x42dc6b=_0x274a5e,_0x31899a;_0x5111e1===((_0x31899a=this[_0x42dc6b(0x385)])==null?void 0x0:_0x31899a[_0x42dc6b(0x144)])&&(this[_0x42dc6b(0x3c3)](),this['_resendTimeout']=_0x4e44fb===0x0?0x3e8:_0x4e44fb*0x2);}[_0x274a5e(0x3db)](){var _0x402d24=_0x274a5e,_0x19867f;(_0x19867f=this[_0x402d24(0x486)])==null||_0x19867f['unsubscribe'](),this[_0x402d24(0x2f4)]=0x0;}},exports[_0x274a5e(0x30d)]=ae([w(0x4,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x5,a[_0x274a5e(0x2bc)](I['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a[_0x274a5e(0x45a)]),w(0x8,I[_0x274a5e(0x30c)]),w(0x9,a[_0x274a5e(0x384)]),w(0xa,a['Optional'](q))],exports[_0x274a5e(0x30d)]),exports[_0x274a5e(0x2af)]=class extends ce{constructor(_0xfb51c,_0x2f39fc,_0x2a0b58,_0x499921,_0x418dd0,_0x2a2440,_0x2c6994,_0x325e55,_0xaaa786,_0x21b2e2,_0x6e9ba4,_0x14b638,_0xcffecb){var _0x1aafed=_0x274a5e;super(_0xfb51c,_0x2f39fc,_0x2a0b58,_0x499921,_0x418dd0,_0xaaa786,_0x14b638,_0x325e55,_0xcffecb),A(this,_0x1aafed(0x2fb),_0x1aafed(0x43f)),A(this,_0x1aafed(0x2f4),0x0),A(this,'_resendTimer'),A(this,_0x1aafed(0x486)),(this[_0x1aafed(0x267)]=_0x2c6994,this[_0x1aafed(0x2e3)]=_0x21b2e2,this[_0x1aafed(0x39c)]=_0x6e9ba4,this[_0x1aafed(0x145)]=_0xcffecb,_0x2a2440&&(this[_0x1aafed(0x1bd)]=_0x2a2440,this[_0x1aafed(0x486)]=this['_resendTimer'][_0x1aafed(0x21b)](({reqId:_0x4a8c39,timeout:_0xb270ae})=>{var _0x1f62b9=_0x1aafed;this[_0x1f62b9(0x1d8)](_0x4a8c39,_0xb270ae);})));}['appendMutation'](_0x3b1237){var _0x21bea4=_0x274a5e;return this[_0x21bea4(0x138)][_0x21bea4(0x427)](_0x3b1237),this;}[_0x274a5e(0x288)](_0x485f3e){var _0x245fa6=_0x274a5e;if(this[_0x245fa6(0x26f)](_0x485f3e))return this['_clearScheduledTask'](),this[_0x245fa6(0x267)][_0x245fa6(0x485)](exports['FetchingMissState'],this[_0x245fa6(0x3d4)],this[_0x245fa6(0x432)],this[_0x245fa6(0x385)],this[_0x245fa6(0x138)],null,[_0x485f3e],this['_handler']);try{const _0x4febd3=this[_0x245fa6(0x39c)][_0x245fa6(0x1ee)]([_0x485f3e],[this[_0x245fa6(0x385)]],!0x1);if(I[_0x245fa6(0x2a3)](_0x4febd3)){const {c1Prime:_0x1c5835,c2Prime:_0x12db6f}=_0x4febd3,_0x4d9d1e=this[_0x245fa6(0x39c)][_0x245fa6(0x46a)](_0x1c5835[0x0],this['_pendingMutations']);if(I[_0x245fa6(0x22c)](_0x4d9d1e)){const {c1Prime:_0x386a1f,m2Prime:_0x5e3a89}=_0x4d9d1e;return this[_0x245fa6(0x265)](_0x386a1f),_0x12db6f[0x0][_0x245fa6(0x402)]=this[_0x245fa6(0x1c7)](),this['_clearScheduledTask'](),this[_0x245fa6(0x267)][_0x245fa6(0x485)](exports['AwaitingWithPendingState'],this[_0x245fa6(0x3d4)],this[_0x245fa6(0x432)],_0x12db6f[0x0],_0x5e3a89,this[_0x245fa6(0x3f3)],void 0x0);}throw _0x4d9d1e[_0x245fa6(0x3c7)];}throw _0x4febd3[_0x245fa6(0x3c7)];}catch(_0x3187f4){return this[_0x245fa6(0x2e3)][_0x245fa6(0x3c7)](_0x3187f4),this['_onConflict'](!0x1);}}[_0x274a5e(0x2fc)](_0x4212d4){var _0x5e1fcb=_0x274a5e;if(this[_0x5e1fcb(0x3db)](),this[_0x5e1fcb(0x26f)](_0x4212d4))return this[_0x5e1fcb(0x267)][_0x5e1fcb(0x485)](exports[_0x5e1fcb(0x299)],this['unitID'],this[_0x5e1fcb(0x432)],null,this[_0x5e1fcb(0x138)],this['_awaitingChangeset'],[],this[_0x5e1fcb(0x3f3)]);this[_0x5e1fcb(0x1d0)]();const _0x2fb324=this[_0x5e1fcb(0x267)][_0x5e1fcb(0x485)](exports[_0x5e1fcb(0x2c5)],this['unitID'],this[_0x5e1fcb(0x432)],this[_0x5e1fcb(0x138)],this['_handler']);return _0x2fb324['_schedule'](),_0x2fb324[_0x5e1fcb(0x454)](),_0x2fb324;}[_0x274a5e(0x241)](_0x4f44a9){var _0xe7319=_0x274a5e;return this[_0xe7319(0x13c)](!!(_0x4f44a9!=null&&_0x4f44a9['isPermissionRej']));}['onRemoteRetry'](_0x5c928f){var _0x489f9c=_0x274a5e;return this[_0x489f9c(0x2f4)]>Rt?this[_0x489f9c(0x465)]():(this[_0x489f9c(0x1bd)]=bt(this[_0x489f9c(0x2f4)],{'timeout':this[_0x489f9c(0x2f4)],'reqId':_0x5c928f[_0x489f9c(0x144)]}),this['_sender']=this[_0x489f9c(0x1bd)][_0x489f9c(0x21b)](({reqId:_0x1fcc52,timeout:_0x500ed8})=>{var _0x50d324=_0x489f9c;this[_0x50d324(0x1d8)](_0x1fcc52,_0x500ed8);}),this);}[_0x274a5e(0x465)](){var _0x46d73c=_0x274a5e;return this[_0x46d73c(0x3db)](),this[_0x46d73c(0x267)][_0x46d73c(0x485)](exports['OfflineState'],this[_0x46d73c(0x3d4)],this['type'],this[_0x46d73c(0x385)],this[_0x46d73c(0x138)],this['_handler']);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x3c3)](){var _0x45925a=_0x274a5e;this[_0x45925a(0x3f3)][_0x45925a(0x185)](this[_0x45925a(0x385)]);}['_onConflict'](_0xd19242){var _0x469ab6=_0x274a5e;return this[_0x469ab6(0x3db)](),this[_0x469ab6(0x267)][_0x469ab6(0x485)](exports[_0x469ab6(0x39d)],this[_0x469ab6(0x3d4)],this[_0x469ab6(0x432)],null,this['_pendingMutations'],this[_0x469ab6(0x3f3)],_0xd19242);}['_resendWithTimeout'](_0x539dc2,_0x28cd06){var _0x2c7929=_0x274a5e,_0x5632d8;_0x539dc2===((_0x5632d8=this[_0x2c7929(0x385)])==null?void 0x0:_0x5632d8['reqId'])&&(this['resend'](),this[_0x2c7929(0x2f4)]=_0x28cd06===0x0?0x3e8:_0x28cd06*0x2);}[_0x274a5e(0x3db)](){var _0x255d67=_0x274a5e,_0x40ddde;(_0x40ddde=this[_0x255d67(0x486)])==null||_0x40ddde[_0x255d67(0x150)](),this[_0x255d67(0x2f4)]=0x0;}},exports[_0x274a5e(0x2af)]=ae([w(0x6,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x7,a['Inject'](I['RevisionService'])),w(0x8,a[_0x274a5e(0x449)]),w(0x9,a[_0x274a5e(0x45a)]),w(0xa,I[_0x274a5e(0x30c)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x2af)]),exports['ConflictState']=class extends ce{constructor(_0x56da50,_0x4bc30c,_0x46d654,_0x5d959c,_0x5d1759,_0x3a6740=!0x1,_0x558dd9,_0x57e613,_0x201896,_0x49c214,_0x572a33,_0x2eefce,_0x28edc9){var _0x145d1a=_0x274a5e;super(_0x56da50,_0x4bc30c,_0x46d654,_0x5d959c,_0x5d1759,_0x57e613,_0x201896,_0x49c214,_0x28edc9),A(this,'status',_0x145d1a(0x1dc)),(this[_0x145d1a(0x3e2)]=_0x3a6740,this[_0x145d1a(0x131)]=_0x558dd9,this[_0x145d1a(0x37d)]=_0x572a33,this[_0x145d1a(0x1f4)]=_0x2eefce,this[_0x145d1a(0x145)]=_0x28edc9,this['_showConflictNotification'](),this[_0x145d1a(0x3ac)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x274a5e(0x288)](){return this;}[_0x274a5e(0x2fc)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x274a5e(0x465)](){return this;}['toggleOnline'](){return this;}[_0x274a5e(0x3c3)](){var _0x567201=_0x274a5e;throw new Error(_0x567201(0x1a0));}[_0x274a5e(0x3ac)](){var _0x54f668=_0x274a5e,_0x1b10cf;(_0x1b10cf=this[_0x54f668(0x38a)])==null||_0x1b10cf['updateOfflineData'](this[_0x54f668(0x3d4)],this[_0x54f668(0x432)],null,[]);}[_0x274a5e(0x337)](){var _0x56c96a=_0x274a5e;this['_isPermissionRej']?this[_0x56c96a(0x1f4)][_0x56c96a(0x34b)]({'id':Z[_0x56c96a(0x336)]}):this[_0x56c96a(0x1f4)][_0x56c96a(0x34b)]({'id':Z['CONFLICT']});}[_0x274a5e(0x2dd)](){var _0x18a546=_0x274a5e;this['_permissionService'][_0x18a546(0x153)](new X[(_0x18a546(0x3c4))](this[_0x18a546(0x3d4)])['id'],!0x1);}},exports[_0x274a5e(0x39d)]=ae([w(0x6,a['Inject'](a[_0x274a5e(0x32f)])),w(0x7,a['ICommandService']),w(0x8,a[_0x274a5e(0x384)]),w(0x9,a['Inject'](I[_0x274a5e(0x374)])),w(0xa,a[_0x274a5e(0x2bc)](a['LocaleService'])),w(0xb,a[_0x274a5e(0x2bc)](ee)),w(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x39d)]),exports['OfflineState']=class extends ce{constructor(_0x5be2ce,_0x3f49f3,_0x58e88c,_0x4988db,_0x554cb8,_0x6d6270,_0x47fd99,_0x3ecea0,_0x98919,_0x52c7c3){var _0x4231b5=_0x274a5e;super(_0x5be2ce,_0x3f49f3,_0x58e88c,_0x4988db,_0x554cb8,_0x3ecea0,_0x98919,_0x47fd99,_0x52c7c3),A(this,_0x4231b5(0x2fb),_0x4231b5(0x1a5)),this[_0x4231b5(0x267)]=_0x6d6270;}[_0x274a5e(0x271)](_0x1741e6){var _0x5cd4bf=_0x274a5e;return this[_0x5cd4bf(0x138)][_0x5cd4bf(0x427)](_0x1741e6),this['_updateLocalCache'](),this;}[_0x274a5e(0x288)](_0x34173f){var _0x2846d6=_0x274a5e;throw new Error(_0x2846d6(0x229));}['onRemoteAck'](){var _0x463b2d=_0x274a5e;throw new Error(_0x463b2d(0x115));}[_0x274a5e(0x241)](){var _0x174892=_0x274a5e;throw new Error(_0x174892(0x1f7));}[_0x274a5e(0x1c5)](){return this;}[_0x274a5e(0x465)](){return this;}[_0x274a5e(0x381)](){var _0x5cee10=_0x274a5e;const {_injector:_0x58ff89,_pendingMutations:_0x5e5053,_awaitingChangeset:_0x4808c7,unitID:_0x48a063,_handler:_0x4d8d9f,type:_0x4057cf}=this,_0x40bbf8=Ot(_0x58ff89,_0x48a063,_0x4057cf,_0x4808c7,_0x5e5053,_0x4d8d9f);return _0x40bbf8 instanceof exports[_0x5cee10(0x2c5)]?_0x40bbf8[_0x5cee10(0x25f)]():(_0x40bbf8 instanceof exports['AwaitingWithPendingState']||_0x40bbf8 instanceof exports['AwaitingState'])&&_0x40bbf8['resend'](),_0x40bbf8;}['resend'](){var _0x2efc81=_0x274a5e;throw new Error(_0x2efc81(0x263));}},exports['OfflineState']=ae([w(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),w(0x6,a['Inject'](I['RevisionService'])),w(0x7,a[_0x274a5e(0x449)]),w(0x8,a[_0x274a5e(0x384)]),w(0x9,a[_0x274a5e(0x43b)](q))],exports['OfflineState']),exports[_0x274a5e(0x299)]=class extends ce{constructor(_0x2368fb,_0x128648,_0x3c9c58,_0x2a741f,_0x48bc1a,_0x11e497,_0x905251,_0x51b628,_0x9591bd,_0x38384c,_0x2c855f,_0x44173e,_0x3a297c,_0x227b98){var _0x1e993d=_0x274a5e;super(_0x2368fb,_0x128648,_0x3c9c58,_0x2a741f,_0x905251,_0x2c855f,_0x44173e,_0x9591bd,_0x227b98),A(this,_0x1e993d(0x2fb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x48bc1a,this[_0x1e993d(0x36a)]=_0x11e497,this[_0x1e993d(0x267)]=_0x51b628,this[_0x1e993d(0x2e3)]=_0x38384c,this[_0x1e993d(0x39c)]=_0x3a297c,this[_0x1e993d(0x145)]=_0x227b98);}[_0x274a5e(0x21f)](_0xaf1dbc){var _0x387075=_0x274a5e;try{const _0x33febc=[..._0xaf1dbc,...this[_0x387075(0x36a)]],_0x12df03=[this[_0x387075(0x385)]||this[_0x387075(0x129)]][_0x387075(0x329)](_0x3e1e1b=>!!_0x3e1e1b);let _0x4cca25,_0x119c59;if(_0x12df03[_0x387075(0x2d6)]){const _0x18b0da=this['_transformService'][_0x387075(0x1ee)](_0x33febc,_0x12df03,!0x1);if(!I[_0x387075(0x2a3)](_0x18b0da))throw _0x18b0da[_0x387075(0x3c7)];_0x4cca25=_0x18b0da[_0x387075(0x121)],_0x119c59=_0x18b0da[_0x387075(0x180)];}else _0x4cca25=_0x33febc,_0x119c59=[];let _0x310639=this['_pendingMutations'];_0x4cca25[_0x387075(0x442)](_0x14ad1e=>{var _0x182d54=_0x387075;let _0x369f1a;if(_0x310639[_0x182d54(0x2d6)]){const _0x3fb70e=this['_transformService'][_0x182d54(0x46a)](_0x14ad1e,_0x310639);if(!I[_0x182d54(0x22c)](_0x3fb70e))throw _0x3fb70e[_0x182d54(0x3c7)];_0x369f1a=_0x3fb70e[_0x182d54(0x121)],_0x310639=_0x3fb70e[_0x182d54(0x354)];}else _0x369f1a=_0x14ad1e;this[_0x182d54(0x265)](_0x369f1a);}),this[_0x387075(0x129)]&&this[_0x387075(0x1d0)](),this[_0x387075(0x385)]&&_0x119c59[_0x387075(0x2d6)]&&(_0x119c59[0x0][_0x387075(0x402)]=this[_0x387075(0x1c7)]());let _0x26c3fe;if(this[_0x387075(0x385)]&&_0x310639[_0x387075(0x2d6)]!==0x0)_0x26c3fe=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x2af)],this[_0x387075(0x3d4)],this[_0x387075(0x432)],_0x119c59[0x0],_0x310639,this[_0x387075(0x3f3)],void 0x0);else{if(this[_0x387075(0x385)]&&_0x310639[_0x387075(0x2d6)]===0x0)_0x119c59[0x0][_0x387075(0x402)]=this[_0x387075(0x1c7)](),_0x26c3fe=this[_0x387075(0x267)]['createInstance'](exports[_0x387075(0x30d)],this[_0x387075(0x3d4)],this['type'],_0x119c59[0x0],this[_0x387075(0x3f3)]);else{if(_0x310639['length']!==0x0){const _0x1ad62e=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x2c5)],this[_0x387075(0x3d4)],this[_0x387075(0x432)],_0x310639,this[_0x387075(0x3f3)]);_0x1ad62e[_0x387075(0x25f)](),_0x26c3fe=_0x1ad62e;}else _0x26c3fe=this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x1b1)],this['unitID'],this[_0x387075(0x432)],this[_0x387075(0x3f3)]);}}return _0x26c3fe[_0x387075(0x454)](),_0x26c3fe;}catch(_0xa8ed0c){return this[_0x387075(0x2e3)]['error'](_0x387075(0x1eb),_0x387075(0x2c1),_0xa8ed0c),this[_0x387075(0x267)][_0x387075(0x485)](exports[_0x387075(0x39d)],this['unitID'],this['type'],this[_0x387075(0x385)],this[_0x387075(0x138)],this['_handler'],!0x1);}}[_0x274a5e(0x3c3)](){var _0x3a4a02=_0x274a5e;throw new Error(_0x3a4a02(0x2a4));}['appendMutation'](_0x1354e8){var _0x4dfe71=_0x274a5e;return this[_0x4dfe71(0x138)][_0x4dfe71(0x427)](_0x1354e8),this;}['onRemoteChangeset'](_0xfd10e9){var _0x1785b7=_0x274a5e;return this[_0x1785b7(0x36a)][_0x1785b7(0x427)](_0xfd10e9),this;}[_0x274a5e(0x2fc)](_0x4f98f6){var _0x3f5938=_0x274a5e;if(this[_0x3f5938(0x385)])return this[_0x3f5938(0x129)]=this[_0x3f5938(0x385)],this[_0x3f5938(0x385)]=null,this;throw new Error(_0x3f5938(0x269));}[_0x274a5e(0x241)](_0x164aae){var _0x1fa2da=_0x274a5e;return this[_0x1fa2da(0x13c)](!!(_0x164aae!=null&&_0x164aae[_0x1fa2da(0x1ed)]));}[_0x274a5e(0x1c5)](){return this;}['toggleOffline'](){var _0x24b687=_0x274a5e;return this[_0x24b687(0x267)][_0x24b687(0x485)](exports['OfflineState'],this[_0x24b687(0x3d4)],this[_0x24b687(0x432)],this[_0x24b687(0x385)],this[_0x24b687(0x138)],this['_handler']);}[_0x274a5e(0x381)](){return this;}[_0x274a5e(0x13c)](_0x399897){var _0x4e5a5f=_0x274a5e;return this[_0x4e5a5f(0x267)][_0x4e5a5f(0x485)](exports[_0x4e5a5f(0x39d)],this['unitID'],this['type'],this[_0x4e5a5f(0x385)],this[_0x4e5a5f(0x138)],this[_0x4e5a5f(0x3f3)],_0x399897);}},exports['FetchingMissState']=ae([w(0x7,a[_0x274a5e(0x2bc)](a['Injector'])),w(0x8,a[_0x274a5e(0x2bc)](I['RevisionService'])),w(0x9,a[_0x274a5e(0x45a)]),w(0xa,a['ICommandService']),w(0xb,a[_0x274a5e(0x384)]),w(0xc,I[_0x274a5e(0x30c)]),w(0xd,a[_0x274a5e(0x43b)](q))],exports['FetchingMissState']);function Ot(_0x52222c,_0xdc261a,_0x949a56,_0x554ad9,_0x925e29,_0x58b7c1){var _0x318210=_0x274a5e;return _0x554ad9&&_0x925e29[_0x318210(0x2d6)]?_0x52222c['createInstance'](exports[_0x318210(0x2af)],_0xdc261a,_0x949a56,_0x554ad9,_0x925e29,_0x58b7c1,void 0x0):_0x554ad9?_0x52222c[_0x318210(0x485)](exports[_0x318210(0x30d)],_0xdc261a,_0x949a56,_0x554ad9,_0x58b7c1):_0x925e29['length']?_0x52222c[_0x318210(0x485)](exports[_0x318210(0x2c5)],_0xdc261a,_0x949a56,_0x925e29,_0x58b7c1):_0x52222c[_0x318210(0x485)](exports[_0x318210(0x1b1)],_0xdc261a,_0x949a56,_0x58b7c1);}var vi=Object[_0x274a5e(0x171)],Fe=(_0x3d56ed,_0x423652,_0x339b96,_0x58bb5b)=>{var _0x59ee88=_0x274a5e;for(var _0x19c4c8=_0x58bb5b>0x1?void 0x0:_0x58bb5b?vi(_0x423652,_0x339b96):_0x423652,_0x524eed=_0x3d56ed[_0x59ee88(0x2d6)]-0x1,_0x4ccfe6;_0x524eed>=0x0;_0x524eed--)(_0x4ccfe6=_0x3d56ed[_0x524eed])&&(_0x19c4c8=_0x4ccfe6(_0x19c4c8)||_0x19c4c8);return _0x19c4c8;},j=(_0x5f2e2b,_0xc43ddd)=>(_0x1b4b8c,_0x2df6a4)=>_0xc43ddd(_0x1b4b8c,_0x2df6a4,_0x5f2e2b);exports['CollaborationEntity']=class extends a[_0x274a5e(0x162)]{constructor(_0x4bb7a0,_0x18dad0,_0x3d12c7,_0x473d54,_0x12e14b,_0xf85a79,_0x3655b0,_0x14cfde,_0x1a478d,_0x8e4738,_0x52fcd7,_0x1862e1,_0x5b8743){var _0x45eb13=_0x274a5e;super(),A(this,_0x45eb13(0x159),new $[(_0x45eb13(0x1f3))](null)),A(this,'state$',this[_0x45eb13(0x159)][_0x45eb13(0x21d)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x45eb13(0x28c),''),A(this,_0x45eb13(0x39f),0x0),A(this,_0x45eb13(0x30b),this[_0x45eb13(0x38e)][_0x45eb13(0x2c6)]($['map'](_0x922b0=>_0x922b0?_0x922b0[_0x45eb13(0x2fb)]:Be[_0x45eb13(0x275)]),$['shareReplay'](0x1))),A(this,_0x45eb13(0x3cb),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x45eb13(0x3d4)]=_0x4bb7a0,this[_0x45eb13(0x45f)]=_0x18dad0,this['_type']=_0x3d12c7,this['_injector']=_0x473d54,this['_compressMutationService']=_0x12e14b,this[_0x45eb13(0x37d)]=_0xf85a79,this[_0x45eb13(0x27e)]=_0x3655b0,this['_eventService']=_0x14cfde,this['_logService']=_0x1a478d,this[_0x45eb13(0x24d)]=_0x8e4738,this[_0x45eb13(0x131)]=_0x52fcd7,this['_singleActiveUnitService']=_0x1862e1,this['_localCacheService']=_0x5b8743);}get['state'](){return this['_state'];}async[_0x274a5e(0x29e)](){var _0x46a1c7=_0x274a5e;if(this['state'])throw new Error(_0x46a1c7(0x3e8));await this[_0x46a1c7(0x3b3)]();}['pauseCollaboration'](){var _0x35439d=_0x274a5e;return this[_0x35439d(0x2e5)]=!0x0,a[_0x35439d(0x1ba)](()=>{var _0xf938d6=_0x35439d;this[_0xf938d6(0x2e5)]=!0x1,this[_0xf938d6(0x396)]();});}['onLocalMutation'](_0x82f642){var _0x505359=_0x274a5e;this[_0x505359(0x1fb)](_0x82f642);}[_0x274a5e(0x254)](_0x3176a9){var _0x3a6103=_0x274a5e;this[_0x3a6103(0x37f)]=_0x3176a9,this['_state$']['next'](_0x3176a9);}async[_0x274a5e(0x3b3)](){var _0x2dce6a=_0x274a5e,_0x44c4da;this[_0x2dce6a(0x254)](await this[_0x2dce6a(0x330)]()),this[_0x2dce6a(0x1b0)]&&((_0x44c4da=this[_0x2dce6a(0x1b0)])==null||_0x44c4da[_0x2dce6a(0x15f)](this[_0x2dce6a(0x3d4)]),this[_0x2dce6a(0x36d)](this[_0x2dce6a(0x1b0)][_0x2dce6a(0x409)](this[_0x2dce6a(0x3d4)])['subscribe'](_0xe0c129=>{var _0x253e82=_0x2dce6a;this[_0x253e82(0x2e3)][_0x253e82(0x429)]('[CollaborationEntity]',_0x253e82(0x1f5),_0xe0c129),_0xe0c129===je[_0x253e82(0x19b)]?(this[_0x253e82(0x438)][_0x253e82(0x34b)]({'id':Z[_0x253e82(0x3c2)]}),this['_permissionService']['updatePermissionPoint'](new X[(_0x253e82(0x3c4))](this['unitID'])['id'],!0x1),this['_permissionService'][_0x253e82(0x1b3)](!0x1)):(this[_0x253e82(0x131)][_0x253e82(0x153)](new X[(_0x253e82(0x3c4))](this[_0x253e82(0x3d4)])['id'],!0x0),this[_0x253e82(0x131)][_0x253e82(0x1b3)](!0x0));})));let _0xe464ed=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$']['subscribe'](_0x1d9fb2=>{var _0x43bb21=_0x2dce6a;_0x1d9fb2===re[_0x43bb21(0x127)]?this['_toggleOnline'](_0xe464ed):_0x1d9fb2===re[_0x43bb21(0x275)]&&(_0xe464ed=!0x0,this[_0x43bb21(0x1e4)]());})),this[_0x2dce6a(0x36d)](this[_0x2dce6a(0x45f)]['event$'][_0x2dce6a(0x21b)](_0x4dc383=>{var _0x3a35c3=_0x2dce6a;try{switch(_0x4dc383[_0x3a35c3(0x273)]){case I[_0x3a35c3(0x197)][_0x3a35c3(0x30a)]:{this[_0x3a35c3(0x247)](I['parseProtocolChangeset'](_0x4dc383[_0x3a35c3(0x24b)]));break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x3d3)]:{this[_0x3a35c3(0x26d)](_0x4dc383['data']);break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x296)]:{this[_0x3a35c3(0x311)]();break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x236)]:{this['_onRemoteRetry'](_0x4dc383[_0x3a35c3(0x24b)]);break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x1e7)]:{this[_0x3a35c3(0x146)](_0x4dc383[_0x3a35c3(0x24b)][_0x3a35c3(0x28a)][_0x3a35c3(0x1e6)](_0x43db4c=>I[_0x3a35c3(0x1d2)](_0x43db4c)));break;}case I['CollaborationEvent'][_0x3a35c3(0x2f5)]:{this[_0x3a35c3(0x311)]({'isPermissionRej':!0x0});break;}case I[_0x3a35c3(0x197)][_0x3a35c3(0x373)]:break;}}catch(_0x48edae){throw console[_0x3a35c3(0x3c7)](_0x3a35c3(0x468),_0x48edae),_0x48edae;}})),this[_0x2dce6a(0x37f)];}[_0x274a5e(0x1a9)](){var _0x358741=_0x274a5e;this[_0x358741(0x3cb)]=!0x1;}['_lockTransition'](){var _0x580356=_0x274a5e;if(this[_0x580356(0x3cb)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x580356(0x3cb)]=!0x0;}['_onLocalMutation'](_0x4c91dd){var _0x45eca8=_0x274a5e;this['_lockTransition'](),this[_0x45eca8(0x254)](this[_0x45eca8(0x37f)]['appendMutation'](_0x4c91dd)),this['_unlockTransition']();}[_0x274a5e(0x247)](_0x8172d1){var _0x418217=_0x274a5e;if(!(_0x8172d1[_0x418217(0x24c)]<=this[_0x418217(0x27e)][_0x418217(0x389)](this[_0x418217(0x3d4)]))){if(this[_0x418217(0x2e5)]){this[_0x418217(0x27c)][_0x418217(0x427)](_0x8172d1);return;}this[_0x418217(0x19c)](_0x8172d1);}}[_0x274a5e(0x396)](){var _0x2461e3=_0x274a5e;this[_0x2461e3(0x27c)][_0x2461e3(0x442)](_0x298f7c=>this['_applyRemoteChangeset'](_0x298f7c)),this[_0x2461e3(0x27c)]=[];}[_0x274a5e(0x19c)](_0x50c17c){var _0x13778d=_0x274a5e;const _0x2adf37=this[_0x13778d(0x306)][_0x13778d(0x488)][_0x13778d(0x27a)](this['_compressMutationService'][_0x13778d(0x488)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x50c17c[_0x13778d(0x36e)],null)||_0x50c17c[_0x13778d(0x36e)],_0xcfe93d={..._0x50c17c,'mutations':_0x2adf37};this['_lockTransition'](),this[_0x13778d(0x254)](this[_0x13778d(0x37f)][_0x13778d(0x288)](_0xcfe93d)),this[_0x13778d(0x1a9)]();}[_0x274a5e(0x26d)](_0x552475){var _0x5b3a9a=_0x274a5e;this[_0x5b3a9a(0x24e)](),this[_0x5b3a9a(0x254)](this[_0x5b3a9a(0x37f)]['onRemoteAck'](_0x552475)),this['_unlockTransition']();}[_0x274a5e(0x311)](_0x590137){var _0x25b979=_0x274a5e;this[_0x25b979(0x24e)](),this[_0x25b979(0x254)](this['_state'][_0x25b979(0x241)](_0x590137)),this[_0x25b979(0x1a9)]();}['_onRemoteRetry'](_0x2cc479){var _0x41260b=_0x274a5e;this['_lockTransition'](),this['_updateState'](this[_0x41260b(0x37f)][_0x41260b(0x1c5)](_0x2cc479)),this[_0x41260b(0x1a9)]();}['_onFetchMissResult'](_0x30ce7){var _0x2aec60=_0x274a5e;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x2aec60(0x487));const _0x1c0478=_0x30ce7[_0x2aec60(0x1e6)](_0x2108c3=>{var _0x5997f8=_0x2aec60;const _0x27677c=this[_0x5997f8(0x306)][_0x5997f8(0x488)][_0x5997f8(0x27a)](this['_compressMutationService'][_0x5997f8(0x488)]['getInterceptPoints']()[_0x5997f8(0x3f6)])(_0x2108c3['mutations'],null)||_0x2108c3[_0x5997f8(0x36e)];return{..._0x2108c3,'mutations':_0x27677c};});this[_0x2aec60(0x24e)](),this[_0x2aec60(0x254)](this['_state'][_0x2aec60(0x21f)](_0x1c0478)),this[_0x2aec60(0x1a9)]();}['_toggleOffline'](){var _0x4d4b62=_0x274a5e;this['_lockTransition'](),this[_0x4d4b62(0x254)](this[_0x4d4b62(0x37f)][_0x4d4b62(0x465)]()),this[_0x4d4b62(0x1a9)]();}[_0x274a5e(0x1d4)](_0x95c0dc=!0x1){var _0x2a8b6a=_0x274a5e;this[_0x2a8b6a(0x24e)](),this[_0x2a8b6a(0x254)](this['_state']['toggleOnline']()),this[_0x2a8b6a(0x1a9)]();const _0x1990cb=this['_state'];_0x95c0dc&&_0x1990cb instanceof exports[_0x2a8b6a(0x1b1)]&&(this[_0x2a8b6a(0x24e)](),this[_0x2a8b6a(0x254)](_0x1990cb[_0x2a8b6a(0x199)]()),this[_0x2a8b6a(0x1a9)]());}async[_0x274a5e(0x330)](){return new Promise(_0x52a1e9=>{var _0x5d227d=_0x3799;this[_0x5d227d(0x45f)][_0x5d227d(0x134)]['pipe']($[_0x5d227d(0x34a)](0x1))[_0x5d227d(0x21b)](async _0x250c8c=>{var _0x1a688e=_0x5d227d;_0x52a1e9(await this[_0x1a688e(0x23b)](_0x250c8c===re['ONLINE']));});});}[_0x274a5e(0x240)](){var _0xc258c6=_0x274a5e;const _0x56bbd7=this[_0xc258c6(0x3d4)];return{'onStateChange':(_0x4101af,_0x65acc2)=>{var _0x2f446a=_0xc258c6;if(_0x4101af!==this['_state'])throw new Error(_0x2f446a(0x3f5)+_0x4101af[_0x2f446a(0x2fb)]+_0x2f446a(0x277)+_0x65acc2[_0x2f446a(0x2fb)]+_0x2f446a(0x44b)+this[_0x2f446a(0x37f)]['status']);this[_0x2f446a(0x254)](_0x65acc2);},'onSendChangeset':_0x4c96fc=>{var _0x19b180=_0xc258c6;_0x4c96fc[_0x19b180(0x12c)]||(_0x4c96fc[_0x19b180(0x12c)]=this[_0x19b180(0x28c)],_0x4c96fc[_0x19b180(0x144)]=++this['_changesetReqId']);const _0x25b3d7={'eventID':I[_0x19b180(0x197)][_0x19b180(0x1fc)],'data':{'unitID':_0x4c96fc[_0x19b180(0x3d4)],'unitType':this[_0x19b180(0x321)],'changeset':_0x4c96fc,'memberID':this[_0x19b180(0x45f)][_0x19b180(0x1da)]()}};this[_0x19b180(0x45f)][_0x19b180(0x1ef)](_0x25b3d7,this[_0x19b180(0x3d4)]);},'onMissingChangesets':({from:_0x16c7c7,to:_0x11849e})=>{var _0x29d19b=_0xc258c6;this['_logService'][_0x29d19b(0x429)]('[CollaborationEntity]',_0x29d19b(0x21a)+_0x16c7c7+'\x20to\x20'+_0x11849e);const _0x1c9b2b={'eventID':I[_0x29d19b(0x197)]['FETCH_MISSING'],'data':{'unitID':_0x56bbd7,'unitType':this['_type'],'from':_0x16c7c7,'to':_0x11849e}};this[_0x29d19b(0x45f)]['send'](_0x1c9b2b,this['unitID']);}};}async[_0x274a5e(0x23b)](_0x316a77){var _0x342e98=_0x274a5e,_0x2b5e8b,_0xc06f33,_0x58e255;const _0x308fe3=await((_0x2b5e8b=this[_0x342e98(0x38a)])==null?void 0x0:_0x2b5e8b['loadOfflineData'](this[_0x342e98(0x3d4)])),_0x9fbc30=(_0xc06f33=_0x308fe3==null?void 0x0:_0x308fe3[_0x342e98(0x36e)])!=null?_0xc06f33:[],_0x1a7b56=(_0x58e255=_0x308fe3==null?void 0x0:_0x308fe3[_0x342e98(0x20c)])!=null?_0x58e255:null,_0x4a8a74=!!(_0x1a7b56!=null&&_0x1a7b56[_0x342e98(0x12c)])&&!!(_0x1a7b56!=null&&_0x1a7b56[_0x342e98(0x144)]);this[_0x342e98(0x28c)]=_0x4a8a74?_0x1a7b56['sid']:I[_0x342e98(0x251)](),this[_0x342e98(0x39f)]=_0x4a8a74?_0x1a7b56[_0x342e98(0x144)]:0x0;const _0x1c6c4b=this[_0x342e98(0x3d4)];try{this[_0x342e98(0x32a)](_0x1a7b56,_0x9fbc30);}catch(_0x59baf8){this[_0x342e98(0x2e3)][_0x342e98(0x3c7)](_0x59baf8);}const _0x284b30=this[_0x342e98(0x240)]();if(_0x316a77){const _0x38726a=Ot(this['_injector'],_0x1c6c4b,this[_0x342e98(0x321)],_0x1a7b56,_0x9fbc30,_0x284b30);return _0x38726a instanceof exports[_0x342e98(0x2c5)]?_0x38726a['_schedule']():(_0x38726a instanceof exports[_0x342e98(0x2af)]||_0x38726a instanceof exports['AwaitingState'])&&_0x38726a[_0x342e98(0x3c3)](),_0x38726a;}return this['_injector'][_0x342e98(0x485)](exports[_0x342e98(0x15e)],_0x1c6c4b,this['_type'],_0x1a7b56,_0x9fbc30,_0x284b30);}[_0x274a5e(0x32a)](_0x217ad2,_0x165cbc){var _0xd8c72f=_0x274a5e,_0x5c6f12,_0xb16577;const _0x32431e=this['_compressMutationService'][_0xd8c72f(0x488)][_0xd8c72f(0x27a)](this[_0xd8c72f(0x306)][_0xd8c72f(0x488)][_0xd8c72f(0x364)]()[_0xd8c72f(0x3f6)]);(_0x5c6f12=_0x32431e((_0x217ad2==null?void 0x0:_0x217ad2[_0xd8c72f(0x36e)])||[],null))==null||_0x5c6f12[_0xd8c72f(0x442)](_0x417a2d=>this[_0xd8c72f(0x24d)][_0xd8c72f(0x3ec)](_0x417a2d['id'],_0x417a2d[_0xd8c72f(0x328)])),(_0xb16577=_0x32431e(_0x165cbc||[],null))==null||_0xb16577[_0xd8c72f(0x442)](_0x2bd0d6=>this[_0xd8c72f(0x24d)][_0xd8c72f(0x3ec)](_0x2bd0d6['id'],_0x2bd0d6['params']));}},exports[_0x274a5e(0x1f6)]=Fe([j(0x3,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),j(0x4,a['Inject'](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0x274a5e(0x45a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x274a5e(0x32f)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x274a5e(0x43b)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x274a5e(0x1f6)]{constructor(_0x4c20c6,_0x3959ea,_0x19faf9,_0x7424fa,_0x1c8ac9,_0xa32e5,_0x2f2520,_0x5d114e,_0x1bcc16,_0x20c1e6,_0x1dbcff,_0xe1a25f,_0x36acdc){var _0x18895e=_0x274a5e;super(_0x4c20c6,_0x19faf9,_0x3959ea,_0x7424fa,_0x1c8ac9,_0xa32e5,_0x2f2520,_0x5d114e,_0x1bcc16,_0x20c1e6,_0x1dbcff,_0xe1a25f,_0x36acdc),A(this,_0x18895e(0x194),null),(this[_0x18895e(0x3d4)]=_0x4c20c6,this[_0x18895e(0x432)]=_0x3959ea);}[_0x274a5e(0x151)](_0x1cbd28){var _0x33c3c0=_0x274a5e;this[_0x33c3c0(0x194)]=_0x1cbd28;}[_0x274a5e(0x393)](){var _0x5939f2=_0x274a5e;this[_0x5939f2(0x194)]=null,super[_0x5939f2(0x393)]();}[_0x274a5e(0x240)](){var _0x5431d6=_0x274a5e;const _0x524b36=super[_0x5431d6(0x240)]();return _0x524b36['onTransformIME']=_0x3eadcb=>{var _0x27b9b0=_0x5431d6,_0x4d4ec3,_0x30885d;return(_0x30885d=(_0x4d4ec3=this['_handlerCallback'])==null?void 0x0:_0x4d4ec3['onTransformIME'])==null?void 0x0:_0x30885d[_0x27b9b0(0x369)](_0x4d4ec3,_0x3eadcb);},_0x524b36['onTransformState']=_0x21b602=>{var _0xa6d517=_0x5431d6,_0x353d46,_0x3bc267;return(_0x3bc267=(_0x353d46=this[_0xa6d517(0x194)])==null?void 0x0:_0x353d46[_0xa6d517(0x18f)])==null?void 0x0:_0x3bc267[_0xa6d517(0x369)](_0x353d46,_0x21b602);},_0x524b36[_0x5431d6(0x294)]=_0x363d62=>{var _0x12cd56=_0x5431d6,_0x5a02d6,_0x41f1a5;return(_0x41f1a5=(_0x5a02d6=this[_0x12cd56(0x194)])==null?void 0x0:_0x5a02d6[_0x12cd56(0x294)])==null?void 0x0:_0x41f1a5[_0x12cd56(0x369)](_0x5a02d6,_0x363d62);},_0x524b36[_0x5431d6(0x33d)]=_0x228958=>{var _0xbf3da=_0x5431d6,_0x545481,_0x39ee80;return(_0x39ee80=(_0x545481=this[_0xbf3da(0x194)])==null?void 0x0:_0x545481['onSyncEditingCollabCursor'])==null?void 0x0:_0x39ee80['call'](_0x545481,_0x228958);},_0x524b36['onTransformRemoteChangesetByIMECache']=_0x9c8b8e=>{var _0x35659e=_0x5431d6,_0x304dc9,_0x4ec7e6,_0x3be1b3;if(!((_0x304dc9=this[_0x35659e(0x194)])!=null&&_0x304dc9[_0x35659e(0x174)]))throw new Error(_0x35659e(0x167));return(_0x3be1b3=(_0x4ec7e6=this[_0x35659e(0x194)])==null?void 0x0:_0x4ec7e6[_0x35659e(0x174)])==null?void 0x0:_0x3be1b3['call'](_0x4ec7e6,_0x9c8b8e);},_0x524b36[_0x5431d6(0x250)]=_0x3d48b2=>{var _0x4e27b9=_0x5431d6,_0x16558b,_0x3b785f,_0x6fe6c9;if(!((_0x16558b=this['_handlerCallback'])!=null&&_0x16558b['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x6fe6c9=(_0x3b785f=this['_handlerCallback'])==null?void 0x0:_0x3b785f[_0x4e27b9(0x250)])==null?void 0x0:_0x6fe6c9[_0x4e27b9(0x369)](_0x3b785f,_0x3d48b2);},_0x524b36;}async[_0x274a5e(0x3b3)](){var _0x46a531=_0x274a5e;const _0x44c3f3=await super[_0x46a531(0x3b3)]();return this[_0x46a531(0x36d)](this['_commandService']['onCommandExecuted']((_0x4e4134,_0x1921c4)=>{var _0x2aa4a7=_0x46a531;if(_0x4e4134[_0x2aa4a7(0x432)]!==a[_0x2aa4a7(0x169)]['MUTATION']||_0x1921c4!=null&&_0x1921c4[_0x2aa4a7(0x213)]||_0x1921c4!=null&&_0x1921c4[_0x2aa4a7(0x456)]||_0x4e4134['id']===ht[_0x2aa4a7(0x40f)]['id'])return;const _0x31b005=_0x4e4134[_0x2aa4a7(0x328)];if((_0x31b005==null?void 0x0:_0x31b005['unitId'])!==this[_0x2aa4a7(0x3d4)])return;const _0x2ffb2b=_0x4e4134,_0x2863c4=this[_0x2aa4a7(0x306)][_0x2aa4a7(0x488)][_0x2aa4a7(0x27a)](this[_0x2aa4a7(0x306)][_0x2aa4a7(0x488)][_0x2aa4a7(0x364)]()[_0x2aa4a7(0x361)])([_0x2ffb2b],null)||[_0x2ffb2b];this[_0x2aa4a7(0x1fb)](_0x2863c4[0x0]);})),_0x44c3f3;}},exports[_0x274a5e(0x17c)]=Fe([j(0x3,a[_0x274a5e(0x2bc)](a['Injector'])),j(0x4,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x374)])),j(0x7,a[_0x274a5e(0x2bc)](ee)),j(0x8,a[_0x274a5e(0x45a)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x274a5e(0x43b)](de)),j(0xc,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x17c)]),exports['SheetCollaborationEntity']=class extends exports[_0x274a5e(0x1f6)]{constructor(_0x19d7e9,_0x268fcb,_0x31d969,_0x386f98,_0xf54e7a,_0x1b1cc1,_0xc496f8,_0x56e530,_0x580ec9,_0x40525d,_0x1a1695,_0x877ea2,_0x30b547,_0x4021c0){var _0x2ab400=_0x274a5e;super(_0x19d7e9,_0x31d969,_0x268fcb,_0x386f98,_0xf54e7a,_0x1b1cc1,_0xc496f8,_0x580ec9,_0x40525d,_0x1a1695,_0x877ea2,_0x30b547,_0x4021c0),this[_0x2ab400(0x3d4)]=_0x19d7e9,this[_0x2ab400(0x432)]=_0x268fcb,this['_sheetTransformSelectionsService']=_0x56e530;}[_0x274a5e(0x240)](){var _0x1d96ad=_0x274a5e;const _0x155aa4=super[_0x1d96ad(0x240)]();return _0x155aa4[_0x1d96ad(0x294)]=_0x89159f=>this['_sheetTransformSelectionsService'][_0x1d96ad(0x16e)](_0x89159f),_0x155aa4;}async[_0x274a5e(0x3b3)](){var _0x159450=_0x274a5e;const _0x9977b4=await super[_0x159450(0x3b3)]();return this['disposeWithMe'](this[_0x159450(0x24d)]['onCommandExecuted']((_0x14a138,_0x3a5e65)=>{var _0x19e833=_0x159450;if(_0x14a138[_0x19e833(0x432)]!==a[_0x19e833(0x169)][_0x19e833(0x2b1)]||_0x3a5e65!=null&&_0x3a5e65[_0x19e833(0x213)]||_0x3a5e65!=null&&_0x3a5e65[_0x19e833(0x456)])return;const _0x29ed1e=_0x14a138[_0x19e833(0x328)];if((_0x29ed1e==null?void 0x0:_0x29ed1e[_0x19e833(0x475)])!==this[_0x19e833(0x3d4)])return;const _0x46c37d=_0x14a138,_0x496863=this['_compressMutationService'][_0x19e833(0x488)]['fetchThroughInterceptors'](this[_0x19e833(0x306)][_0x19e833(0x488)][_0x19e833(0x364)]()[_0x19e833(0x361)])([_0x46c37d],null)||[_0x46c37d];this[_0x19e833(0x1fb)](_0x496863[0x0]);})),_0x9977b4;}},exports[_0x274a5e(0x27b)]=Fe([j(0x3,a['Inject'](a[_0x274a5e(0x166)])),j(0x4,a['Inject'](I[_0x274a5e(0x2c9)])),j(0x5,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)])),j(0x6,a['Inject'](I[_0x274a5e(0x374)])),j(0x7,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x390)])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x274a5e(0x449)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a['Optional'](q))],exports[_0x274a5e(0x27b)]);var Si=Object[_0x274a5e(0x171)],fi=(_0x3104ec,_0x30cd05,_0x3e287b,_0x2db090)=>{for(var _0x41c329=_0x2db090>0x1?void 0x0:_0x2db090?Si(_0x30cd05,_0x3e287b):_0x30cd05,_0x3bc430=_0x3104ec['length']-0x1,_0x48502f;_0x3bc430>=0x0;_0x3bc430--)(_0x48502f=_0x3104ec[_0x3bc430])&&(_0x41c329=_0x48502f(_0x41c329)||_0x41c329);return _0x41c329;},Se=(_0x3e10da,_0x14a956)=>(_0x449b49,_0x57b754)=>_0x14a956(_0x449b49,_0x57b754,_0x3e10da);exports[_0x274a5e(0x285)]=class extends a[_0x274a5e(0x162)]{constructor(_0x351097,_0x5025c9,_0x2fdaf0,_0x3a2e0e){var _0x55b4e7=_0x274a5e,_0x195960;super(),A(this,_0x55b4e7(0x17f),new Map()),A(this,_0x55b4e7(0x1a7),new $[(_0x55b4e7(0x42c))]()),A(this,_0x55b4e7(0x338),this[_0x55b4e7(0x1a7)][_0x55b4e7(0x21d)]()),(this[_0x55b4e7(0x267)]=_0x351097,this[_0x55b4e7(0x46d)]=_0x5025c9,this['_configService']=_0x2fdaf0,this[_0x55b4e7(0x3eb)]=_0x3a2e0e,((_0x195960=this[_0x55b4e7(0x317)]['getConfig'](K))==null?void 0x0:_0x195960[_0x55b4e7(0x25c)])!==!0x1&&this[_0x55b4e7(0x3b3)]());}['dispose'](){var _0x1ae645=_0x274a5e;super[_0x1ae645(0x393)](),this[_0x1ae645(0x17f)][_0x1ae645(0x442)](_0x776085=>_0x776085[_0x1ae645(0x393)]()),this[_0x1ae645(0x17f)][_0x1ae645(0x293)]();}['getCollabEntity'](_0x134f7a){var _0x278e67=_0x274a5e,_0x15dd97;return(_0x15dd97=this[_0x278e67(0x17f)][_0x278e67(0x319)](_0x134f7a))!=null?_0x15dd97:null;}[_0x274a5e(0x2d3)](_0x2271df){var _0x34800f=_0x274a5e;const _0x4e354b=this['getCollabEntity'](_0x2271df);return _0x4e354b?$['of'](_0x4e354b):this[_0x34800f(0x1a7)]['pipe'](V[_0x34800f(0x329)](_0x40c694=>_0x40c694[_0x34800f(0x3d4)]===_0x2271df));}[_0x274a5e(0x29d)](_0x4123e2){var _0x19e4b0=_0x274a5e;return $[_0x19e4b0(0x1c1)](this[_0x19e4b0(0x2d3)](_0x4123e2)[_0x19e4b0(0x2c6)](V[_0x19e4b0(0x1e6)](()=>{})));}[_0x274a5e(0x3b3)](){var _0x511804=_0x274a5e;this[_0x511804(0x3eb)][_0x511804(0x3c8)](a['UniverInstanceType'][_0x511804(0x2ad)])['pipe']($[_0x511804(0x482)](this[_0x511804(0x149)]),V['delay'](0x10))[_0x511804(0x21b)](async _0x25b8ac=>{var _0xa611cb=_0x511804;const _0x5964a2=_0x25b8ac['getUnitId'](),_0xd85fb0=await this[_0xa611cb(0x297)](_0x5964a2,J[_0xa611cb(0x2ad)]);this[_0xa611cb(0x17f)][_0xa611cb(0x404)](_0x5964a2,_0xd85fb0);}),this[_0x511804(0x3eb)][_0x511804(0x3c8)](a[_0x511804(0x2a7)][_0x511804(0x339)])[_0x511804(0x2c6)]($[_0x511804(0x482)](this[_0x511804(0x149)]),V[_0x511804(0x201)](0x10))[_0x511804(0x2c6)](V[_0x511804(0x329)](_0x2d798f=>!_0x2d798f['getUnitId']()[_0x511804(0x477)]('__')))[_0x511804(0x21b)](async _0x4a17f8=>{var _0x2936ad=_0x511804;const _0x91cfa7=_0x4a17f8[_0x2936ad(0x398)](),_0x92ad67=await this['_startCollaboration'](_0x91cfa7,J[_0x2936ad(0x339)]);this[_0x2936ad(0x17f)][_0x2936ad(0x404)](_0x91cfa7,_0x92ad67);}),$[_0x511804(0x344)](this[_0x511804(0x3eb)][_0x511804(0x117)](a[_0x511804(0x2a7)][_0x511804(0x2ad)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x511804(0x339)]))['pipe']($[_0x511804(0x482)](this[_0x511804(0x149)]))[_0x511804(0x21b)](_0x4c9434=>{var _0x42c996=_0x511804;const _0x1de26a=_0x4c9434['getUnitId'](),_0x176fc6=this[_0x42c996(0x17f)][_0x42c996(0x319)](_0x1de26a);_0x176fc6&&(_0x176fc6[_0x42c996(0x393)](),this['_entities'][_0x42c996(0x47b)](_0x1de26a));});}async[_0x274a5e(0x297)](_0x1837c3,_0x4ea69e){var _0x3f66b8=_0x274a5e;const _0x47d524=await this[_0x3f66b8(0x46d)][_0x3f66b8(0x1f8)](_0x1837c3),_0x1880ed=this[_0x3f66b8(0x267)][_0x3f66b8(0x485)](this[_0x3f66b8(0x34e)](_0x4ea69e),_0x1837c3,_0x4ea69e,_0x47d524);return await _0x1880ed[_0x3f66b8(0x29e)](),this['_entityInit$'][_0x3f66b8(0x226)](_0x1880ed),_0x1880ed;}[_0x274a5e(0x34e)](_0x3d7fe1){var _0x496ebb=_0x274a5e;switch(_0x3d7fe1){case J['UNIVER_DOC']:return exports[_0x496ebb(0x17c)];case J[_0x496ebb(0x2ad)]:return exports[_0x496ebb(0x27b)];default:throw new Error(_0x496ebb(0x46b)+_0x3d7fe1);}}},exports[_0x274a5e(0x285)]=fi([Se(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),Se(0x1,a['Inject'](exports[_0x274a5e(0x334)])),Se(0x2,a[_0x274a5e(0x120)]),Se(0x3,a['IUniverInstanceService'])],exports['CollaborationController']);var pi=Object['getOwnPropertyDescriptor'],Ii=(_0x5999be,_0x1c6d85,_0x20e8b7,_0x48ba9d)=>{var _0x46862b=_0x274a5e;for(var _0x34ea64=_0x48ba9d>0x1?void 0x0:_0x48ba9d?pi(_0x1c6d85,_0x20e8b7):_0x1c6d85,_0x48ef46=_0x5999be[_0x46862b(0x2d6)]-0x1,_0x2e3198;_0x48ef46>=0x0;_0x48ef46--)(_0x2e3198=_0x5999be[_0x48ef46])&&(_0x34ea64=_0x2e3198(_0x34ea64)||_0x34ea64);return _0x34ea64;},Ye=(_0x595eaf,_0x1c7fc0)=>(_0x5be069,_0x9ee411)=>_0x1c7fc0(_0x5be069,_0x9ee411,_0x595eaf);const gi='DEFAULT_FILE_NAME',Ei=_0x274a5e(0x372);let xe=class extends a[_0x274a5e(0x333)]{constructor(_0x3b305f,_0x542150){var _0x4bb388=_0x274a5e;super(),this[_0x4bb388(0x3eb)]=_0x3b305f,this['_configService']=_0x542150,this['_init']();}[_0x274a5e(0x3b3)](){var _0x5e3f46=_0x274a5e;this[_0x5e3f46(0x36d)](this['_univerInstanceService']['focused$'][_0x5e3f46(0x21b)](()=>{var _0x5eeed5=_0x5e3f46,_0x4de74e;const _0x3e6684=this['_univerInstanceService']['getFocusedUnit']();let _0x1394a0=(_0x4de74e=this[_0x5eeed5(0x317)]['getConfig'](gi))!=null?_0x4de74e:Ei;_0x3e6684 instanceof a[_0x5eeed5(0x3dd)]&&(_0x1394a0=_0x3e6684[_0x5eeed5(0x32c)]),document[_0x5eeed5(0x143)]=_0x1394a0;}));}};xe=Ii([Ye(0x0,a[_0x274a5e(0x3cf)]),Ye(0x1,a[_0x274a5e(0x120)])],xe);var mi=Object[_0x274a5e(0x171)],Ci=(_0x3f38e5,_0x240935,_0x34ec2a,_0x582ed5)=>{for(var _0x12ba4c=_0x582ed5>0x1?void 0x0:_0x582ed5?mi(_0x240935,_0x34ec2a):_0x240935,_0x3c53f4=_0x3f38e5['length']-0x1,_0x10d9c2;_0x3c53f4>=0x0;_0x3c53f4--)(_0x10d9c2=_0x3f38e5[_0x3c53f4])&&(_0x12ba4c=_0x10d9c2(_0x12ba4c)||_0x12ba4c);return _0x12ba4c;},Ae=(_0x47d9a7,_0x35baf6)=>(_0x446182,_0x218e2e)=>_0x35baf6(_0x446182,_0x218e2e,_0x47d9a7);let ye=class{constructor(_0x5931e9,_0x4cc2f3,_0x4eb575){var _0x4440fd=_0x274a5e;this[_0x4440fd(0x317)]=_0x5931e9,this[_0x4440fd(0x15c)]=_0x4cc2f3,this[_0x4440fd(0x29f)]=_0x4eb575,this[_0x4440fd(0x29e)]();}[_0x274a5e(0x29e)](){var _0x39e92d=_0x274a5e;this[_0x39e92d(0x15c)][_0x39e92d(0x447)]({'priority':0x1,'interceptor':(_0x29c89c,_0x1dd896)=>_0x1dd896(_0x29c89c)['pipe']($[_0x39e92d(0x44c)](async _0x121518=>{var _0x3c8444=_0x39e92d;const _0x2c8e6d=_0x121518;if(_0x2c8e6d[_0x3c8444(0x2fb)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x3c8444(0x2d5)](this[_0x3c8444(0x29f)]['t'](_0x3c8444(0x1d6)))){const _0x54dff1=window['encodeURIComponent'](window[_0x3c8444(0x19f)][_0x3c8444(0x3ca)]);window[_0x3c8444(0x19f)][_0x3c8444(0x3ca)]=this['_getLoginPath']()+_0x3c8444(0x2a5)+_0x54dff1;}}return _0x2c8e6d;}))});}['_getLoginPath'](){var _0x135fda=_0x274a5e,_0x43c1ac,_0x2338d6;const _0x18c28c=this['_configService']['getConfig'](It),_0x361b1f=this[_0x135fda(0x317)][_0x135fda(0x16d)](K);return(_0x2338d6=(_0x43c1ac=_0x361b1f==null?void 0x0:_0x361b1f['loginUrlKey'])!=null?_0x43c1ac:_0x18c28c)!=null?_0x2338d6:Wt;}};function _0x2eae(){var _0x278925=['_telemetryService','_handler','PERSON','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','COMPRESS_MUTATION_APPLY','symbol','HEARTBEAT','_map','initWorkbookPermissionChange','readAsDataURL','words','floor','ITelemetryService','/universer-api/stream/file/upload','HMAC','objects','baseRev','_nRounds','set','/-/object/-/batch_allowed','setCurrentUser','@univerjs/network','_sessions','getUnitStatus$','close$','keySize','\x20in\x20_schedule.','newCsEvent','_cipher','RichTextEditingMutation','@univerjs/docs','JOIN_ROOM_FULL','open$','_clearUndo','_commentService','infoRsp','YUUMI_RATE_OVER_LIMIT','CONNECTOR_DATA_TOO_LARGE','&source=','getGlobalObject','_doFinalize','createCollaborator','create','duration','Could\x20not\x20dynamically\x20require\x20\x22','_memberService','_timeoutTimer','rxjs','_registerDependencies','USERS_LEAVE','237ABeDMP','getSheetId','_doReset','push','find','debug','NOT_FOUND','_process','Subject','LICENSE_MAX_UNITS_EXCEEDED','registerDependencies','OPTIONAL','csRejEvent','SNAPSHOT_INVALID_SNAPSHOT','type','execute','image/bmp','USER_NOT_INVITED_CODE','MemberService','parse','_eventService','Quantity','_updateStatus','Optional','3FzZjZv','buffer','liveShareOperation','awaiting_with_pending','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onTransformIME','forEach','message$','SUBMIT_CHANGESET_TIMEOUT','CollaborationSession','put','registerHTTPInterceptor','shouldCloseConn','ICommandService','Failed\x20to\x20update\x20permission\x20point','\x0aCurrent:\x20','concatMap','_collaborationSessionService','_undoRedoService','UNKNOWN_CODE','createDecryptor','__Key__','originalMeta','HmacSHA1','_updateLocalCache','LICENSE_DISTRO_REJECTED','onlyLocal','reconnect','COLLAB_WEB_SOCKET_URL','CollaborativeUndoRedoService','ILogService','_mode','abs','objectType','image/png','session','key','_onConnectionOpen','_transformIMECache','_unitID','default','toggleOffline','_roomMembers','WECHAT_HAS_BEEN_BOUND','Error\x20on\x20receiving\x20event','post','transformMutationsWithChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','byteOffset','_collabSessionService','@univerjs/core','getSnapshotAPIPath','/collaborator','image/jpg','resourceIDs','session.room-not-exists','authzUrl','unitId','collaboration-client.config','startsWith','_prevBlock','size','univer-pro.collaboration-client.single-active-unit-service','delete','fetchMissingChangesets','UNIVER_SLIDE','CLOSE_ROOM','INGEST','_retryCount','/role','takeUntil','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_unitInfo$','createInstance','_sender','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','interceptor','_startTelemetryCollaborationNewChangeset','HttpExport','headers','/-/object/list','_iKey','OpenSSL','getImageSourceCache','session.room-cnt-exceeds','MOBILE_HAS_BEEN_BOUND','[OfflineState]:\x20received\x20acknowledgement.','LIVESHARE_NEW_HOST','getTypeOfUnitDisposed$','CHANGESET_REVISION_CONFILICT','_event$','event$','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initDependencies','lib','submit\x20changeset\x20error!','IConfigService','c1Prime','_socket$','clamp','transformStack\x20failed!','YUUMI_URL_COL_OUT_OF_RANGE','random','ONLINE','_fetchMissChangesets','_acknowledgedAwaitingChangeset','UserManagerService','SOCKET_FAILED_RETRY','sid','ISnapshotServerService','Rectangle','csShouldRetryEvent','LocaleService','_permissionService','_getAPIPrefixPath','readInt32LE','sessionStatus$','_getDownloadEndpointURL','Tools','Utf8','_pendingMutations','LOGIN_URL_KEY','HEARTBEAT_TIMEOUT','stringify','_onConflict','salt','defineProperty','HTTPService','Hasher','_members$','collaMsg','title','reqId','localCacheService','_onFetchMissResult','UserProfileImg','ivSize','dispose$','listCollaborators','unit-cache-','YUUMI_ALL_TABLES_IS_INVALID','_getAPIPrefix','exports','_hasher','unsubscribe','addHandlerCallback','NOT_COLLAB','updatePermissionPoint','SEND_CHANGESET_TIMEOUT','Decryptor','mixIn','onMissingChangesets','repeat','_state$','JOIN','session.room-full','_httpService','_clearTimeoutTimer','OfflineState','editingUnit','AUTHZ_URL_KEY','string','RxDisposable','entries','byteLength','[CollaborationSessionService]','Injector','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationSession]','CommandType','concat','uploadFileServerUrl','_stopTelemetryCollaborationNewChangeset','getConfig','transformSelections','YUUMI_NO_CUBOID_FOR_QUESTION','_scheduleCollaborationTimeoutTimer','getOwnPropertyDescriptor','_transformStack','INVITE_CODE_REQUIRED','onTransformRemoteChangesetByIMECache','apply','ReplaySubject','getLatestCsReqIdBySid','_emitMembers','UPDATE_CURSOR','encrypt','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','DocCollaborationEntity','getLocalCacheKey','_snapshotService','_entities','c2Prime','indexOf','x-univer-host','\x20-\x20','_socketReady','onSendChangeset','_tryReconnect','6514376ZjwdPT','cfg','JOIN_ROOM_FAILED','_socket','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','refreshPermission','cmd','427410JjKKAK','onTransformState','_transformRemoteChangesetByStateCache','DependentOn','subUnitId','HmacMD5','_handlerCallback','_getRedoStack','ImageSourceType','CollaborationEvent','BlockCipherMode','fetchMiss','isArray','OTHER_CLIENTS_EDITING','_applyRemoteChangeset','CipherParams','file','location','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','putCollaborators','BASE64','UNAUTHENTICATED','function','offline','patch','_entityInit$','code','_unlockTransition','SNAPSHOT_URL_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','listRoles','CollaborationStatus','AuthzIoHttpService','origin','_singleActiveUnitService','SyncedState','/allowed','setShowComponents','synced','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_nDataBytes','textRanges','BufferedBlockAlgorithm','from','toDisposable','collaboratorID','LEAVE','_resendTimer','_networkConditionService','APPLY_PERMISSION_DENIED','encode','firstValueFrom','joinEvent','hasOwnProperty','/universer-api/snapshot','onRemoteRetry','randomBytes','_getCurrentRevision','SheetPermissionInitController','objectActions','sessionStatus','_oKey','FileId','actions','algo','_waitCount','_incrementRevisionNumber','extend','parseProtocolChangeset','30lxsjTV','_toggleOnline','20912hUytPO','auth.needGotoLoginAlert','roomInfos','_resendWithTimeout','SessionStatus','getMemberID','getUnitOnRev','conflict','sendChangesetTimeout','[CollaborationSessionService]:\x20socket\x20error','_doProcessBlock','onStarting','UnitStatus','Pkcs7','_socketService','_toggleOffline','collaboration_new_changeset','map','PSEUDO_FETCH_MISSING_RESULT','leaveEvent','msCrypto','sequenceExecute','[FetchMissState]','152jDHvMz','isPermissionRej','transformChangesets','send','MentionIoHttpService','signUrlServerUrl','list','BehaviorSubject','_collaborationUIEventService','editing\x20status\x20changed\x20to','CollaborationEntity','[OfflineState]:\x20received\x20rejection.','requireSession','saveSheetBlock','_joinRoom','_onLocalMutation','SUBMIT_CHANGESET','TOO_MANY_REQUESTS','SUCCUSS','isInternalEditorID','connection\x20error','delay','JOINING','MSG_FOR_ERROR','max','_append','SnapshotServerOverHTTPService','incrementRevOfUnit','ERROR_IMAGE_TYPE','_initRequestHeader','_invKeySchedule','ISingleActiveUnitService','awaitingChangeset','CollaborationUIEventService','getDeserializedSheetBlock','@univerjs-pro/license','withCredentials','[PendingState]:\x20received\x20rejection.','_replaceFileID','fromCollab','deserializeToCombResponse','getResourcesRequest','UnitSnapshot','DataLoaderService','_transformUndoredo','COLLAB_SUBMIT_CHANGESET_URL','fetching\x20missing\x20changesets\x20from\x20','subscribe','UNDEFINED','asObservable','INVITE_CODE_HAS_BEEN_UES','onMissedChangesetFetched','retryConnectingInterval','kdf','fromCharCode','JSONX','processBlock','removeMember','next','_hash','_ENC_XFORM_MODE','[OfflineState]:\x20received\x20changeset.','Cipher','update','isTransformMutationsWithChangesetSuccess','_clearHeartbeatTimer','slice','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/object/','_removeRoom','Base','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBlock','url','CHANGESET_SHOULD_RETRY','__creator','touchDependencies','UniverCollaborationPlugin','HELLO','_createInitialStateImpl','min','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_xformMode','UniverNetworkPlugin','_createHandler','onRemoteRej','UUID','MD5','memberID','_decreaseWaiting','CONFLICT','_onRemoteChangeset','session.room-permission-denied','UNIVER_UNKNOWN','EvpKDF','data','revision','_commandService','_lockTransition','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformRemoteChangesetByStateCache','uuidv4','373326zfeOHL','Base64','_updateState','_collaborationTimeoutTimer','UnitEmbedded','getRandomValues','createSocket','result','ThresholdInterceptorFactory','_createSocket','enableCollaboration','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_schedule','{fileID}','members$','resolve','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','responseType','_executeRemoteChangeset','not_collab','_injector','AWAITING_WITH_PENDING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','members','LOCAL_CACHE_INTERVAL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRemoteACK','_getSignURL','_checkMissing','getAllMembers','appendMutation','getValue','eventID','_undoStacks','OFFLINE','APPLY_DUPLICATED','\x0aAfter:\x20','clone','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fetchThroughInterceptors','SheetCollaborationEntity','_remoteChangesetQueue','_onJoinRoomEvent','_revisionService','/block/','waitForRoom$','target','CollaborationImageIoService','?size=','charAt','CollaborationController','/universer-api/uniscript','online$','onRemoteChangeset','updateCursorEvent','changesets','compose','_changesetSessionId','reset','close','setWaitCount','hasher','loadUnit','collabSubmitChangesetUrl','clear','onTransformSelections','_initMergeInterceptor','CHANGESET_REJ','_startCollaboration','_listenToNetworkCondition','FetchingMissState','2079324bSPMiR','routeKey','_reverseMap','readyForCollab','init','localeService','@univerjs-pro/collaboration','[CollaborationUndoRedoService]','IImageIoService','isTransformChangesetsSuccess','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','?url=','sin','UniverInstanceType','@univerjs/drawing','188608MSbpIk','finalize','b64DecodeUnicode','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNIVER_SHEET','loadDoc','AwaitingWithPendingState','has','MUTATION','/universer-api/comb','_throwTelemetryCollaborationNewChangeset','[UniverCollaborationClientPlugin]','collabWebSocketUrl','decrypt','save\x20fail\x20reason\x20is\x20','socketService','encryptBlock','HEARTBEAT_TIMEOUT_KEY','getImage','Inject','_onUserJoin','/universer-api/oidc/authpage','blockSize','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','EmptyMutation','MergeInterceptorFactory','LICENSE_IMPORT_SIZE_EXCEEDED','PendingState','pipe','commentUpdate$','generateRandomId','CompressMutationService','AES','_key','APPLY_REJECT','NoPadding','ENSURE_SNAPSHOT_EXECUTION','getFocusedUnit','error$','Plugin','/universer-api/file/{fileID}/sign-url','getCollabEntity$','_getSendChangesetTimeout','confirm','length','_initUnitPermissionChange','joinRsp','__esModule','liveShareNewHost','/fetchmissing?from=','objectID','_disableEditing','_candidateSocket','parseChangesetToProtocol','SHOULD_CLOSE_CONN','getUnitType','YUUMI_UNABLE_LOAD_URL','_logService','reduce','_collaborationPaused','_onOffline','APPLY_NON_SEQUENTIAL_REVISION','awaiting','SHA1','join','RETRY_CONNECTING_MAX_COUNT_KEY','roles','PasswordBasedCipher','UNRECOGNIZED','_waitForHeartbeatResponse','ImageUploadStatusType','sheets','_iv','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_resendTimeout','PERMISSION_REJ','LOCAL_CACHE_INTERVAL_KEY','pad','_syncEditingCollabCursor','method','YUUMI_AI_RUN_FAILED','status','onRemoteAck','WordArray','ISocketService','Encryptor','now','JOIN_ROOM_PERMISSION_DENIED','INVALID_ARGUMENT','_onMessage','SheetsSelectionsService','COMMENT_UPDATE','_compressMutationService','_doCryptBlock','INVITE_CODE_ALREADY_BOUND','_config','NEW_CHANGESETS','status$','ITransformService','AwaitingState','_retryConnectingTimer','updateSnapshot','ceil','_onRemoteRejected','Undefined','range','uniscriptRunEvent','NO_OTHER_CLIENTS_EDITING','mode','_configService','loadUnitOfRevision','get','_createHmacHelper','avatar','permissionRejEvent','COMPLETION_FINISHED','format','_clearRetryConnectingTimer','getMember','_type','ws://127.0.0.1:8000/universer-api/comb/connect','/rev/','allowed','_change$','deleteCollaborator','YUUMI_ASYNCIO_CANCELLED','params','filter','_replayCachedMutations','_telemetryInfo','name','CollaborationSocketService','_onRecvEvent','IPermissionService','_createInitialState','CBC','toStringTag','Disposable','CollaborationSessionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PERMISSION_DENIED','_showConflictNotification','entityInit$','UNIVER_DOC','isTransformMutationsWithChangesetFailure','_createHelper','commentUpdateEvent','onSyncEditingCollabCursor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCurrentUser','_substituteRedoStack','_userManagerService','_members','reject','merge','UNKNOWN_CMD','FAIL','_HTTPService','SOCKET_FAILED','DisposableCollection','take','emitEvent','_imageSourceCache','JOIN_ROOM_NOT_EXISTS','_getCtorByUniverType','transformUndoRedo','_onConnectionFailed','userID','LIVESHARE_REQUEST_HOST','includes','m2Prime','_clearRedo','univer-pro.collaboration-client-socket-service','loadSheet','/new_changes','sigBytes','_socketMessageSubscription','substr','requestParams','SEND_CHANGESET_TIMEOUT_KEY','_substituteUndoStack','socket\x20close','@univerjs/telemetry','COMPRESS_MUTATION_SEND','_shouldReportTelemetry','prototype','getInterceptPoints','saveImage','People','USERS_ENTER','/universer-api/authz','call','_queuedRemoteChangesets','_minBufferSize','_sendHeartbeatTimer','disposeWithMe','mutations','INTERNAL_ERROR','SnapshotService','updateMember','Univer','UNISCRIPT_RUN','RevisionService','LIVESHARE_FETCH_OPERATIONS','SerializableCipher','then','_parse','SNAPSHOT_SERVER_URL_KEY','_transformRemoteChangesetByIMECache','HttpImport','rev','_localeService','INetworkConditionService','_state','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','toggleOnline','UniverCollaborationClientPlugin','_onUserLeave','IUndoRedoService','_awaitingChangeset','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_tryEnsureSocket','INVALID_INVITE_CODE','getCurrentRevOfUnit','_localCacheService','unitInfo$','LocalUndoRedoService','_rescheduleHeartbeat','state$','createIdentifier','SheetTransformSelectionsService','APPLY_REVISION_CONFILICT','$super','dispose','compute','_transformStateCache','_exhaustRemoteChangesetQueue','ALREADY_EXISTS','getUnitId','every','mapDocumentTypeToUniverType','collaborators','_transformService','ConflictState','body','_changesetReqId','_redoStacks','crypto','complete','univer-pro.collaboration-client.network-condition.service','6231444PtkgHG','@univerjs/sheets','26BJvrAo','splice','getActiveSheet','_keySchedule','saveSnapshot','mergeOverrideWithDependencies','_clearLocalCache','reverse','updateOfflineData','YUUMI_SUBSCRIPTION_NOT_FOUND','_instanceService','POST','_scheduleCompleteTimestamp','_init','LIVESHARE_OPERATION','unpad','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[SyncedState]:\x20received\x20rejection.','enc','_initCloseConn','IContextService','add','selections','replace','padding','_sessionStatus$','onCommentUpdate','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','OTHER_CLIENT_EDITING','resend','WorkbookEditablePermission','stopTime','_status$','error','getTypeOfUnitAdded$','_commentUpdate$','href','_transitionLocked','findIndex','&assign=','getUnit','IUniverInstanceService','RECV','MentionType','EMAIL_HAS_BEEN_BOUND','CHANGESET_ACK','unitID','_getUndoStack','LIVESHARE_TERMINATE','toString','textEncoder','_onCombEvent','ciphertext','_clearScheduledTask','BlockCipher','Workbook','createEncryptor','[DataLoaderService]','_sendingTimer','_roomCreated$','_isPermissionRej','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ERROR_IMAGE','catch','SetSelectionsOperation','IDLE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','GLOBAL_ROOMS_CNT_EXCEEDS','_data','_univerInstanceService','executeCommand','ILocalCacheService','unknown','10GxCAIS','IAuthzIoService','rxjs/operators'];_0x2eae=function(){return _0x278925;};return _0x2eae();}ye=Ci([Ae(0x0,a[_0x274a5e(0x120)]),Ae(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),Ae(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x130)]))],ye);var Ti=Object[_0x274a5e(0x171)],bi=(_0x5d547e,_0x2880c1,_0x219e4f,_0x25fd3d)=>{var _0x1ae4f5=_0x274a5e;for(var _0x390528=_0x25fd3d>0x1?void 0x0:_0x25fd3d?Ti(_0x2880c1,_0x219e4f):_0x2880c1,_0x3daba7=_0x5d547e[_0x1ae4f5(0x2d6)]-0x1,_0x59687c;_0x3daba7>=0x0;_0x3daba7--)(_0x59687c=_0x5d547e[_0x3daba7])&&(_0x390528=_0x59687c(_0x390528)||_0x390528);return _0x390528;},qe=(_0x3c42ab,_0x50f393)=>(_0x1fecd1,_0x2c4b4d)=>_0x50f393(_0x1fecd1,_0x2c4b4d,_0x3c42ab);const Ve=_0x274a5e(0x160),Ri=_0x274a5e(0x368);exports[_0x274a5e(0x1ae)]=class extends a[_0x274a5e(0x333)]{constructor(_0x85dfa4,_0xed6f29){var _0x24b573=_0x274a5e;super(),this[_0x24b573(0x347)]=_0x85dfa4,this[_0x24b573(0x317)]=_0xed6f29,this['_initMergeInterceptor']();}[_0x274a5e(0x295)](){var _0x284c86=_0x274a5e;const _0x39c777=this;this['disposeWithMe'](this[_0x284c86(0x347)][_0x284c86(0x447)]({'priority':0x3e7,'interceptor':Y[_0x284c86(0x2c3)]({'isMatch'(_0x43614a){var _0x2cfa91=_0x284c86,_0x2f6a41;if(_0x43614a[_0x2cfa91(0x2f9)]==='POST'&&((_0x2f6a41=_0x43614a[_0x2cfa91(0x35c)])!=null&&_0x2f6a41['body'])){const {objectID:_0x1b5b7e,objectType:_0x40d569}=_0x43614a[_0x2cfa91(0x35c)][_0x2cfa91(0x39e)]||{};if(!_0x1b5b7e||_0x40d569===void 0x0)return!0x1;const _0x2bed2c=_0x39c777[_0x2cfa91(0x132)]()+'/'+_0x40d569+_0x2cfa91(0x230)+_0x1b5b7e+_0x2cfa91(0x1b2);if(_0x43614a[_0x2cfa91(0x235)]===_0x2bed2c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3af64a){var _0x3eb10e=_0x284c86,_0x20677c;return(_0x20677c=_0x3af64a[_0x3eb10e(0x35c)])==null?void 0x0:_0x20677c[_0x3eb10e(0x39e)];},'mergeParamsToRequest'(_0x5cbbfc,_0x4ddd86){var _0x2c03a0=_0x284c86;const _0x29d130=_0x39c777[_0x2c03a0(0x132)]()+'/-/object/-/batch_allowed',_0x1341ca=_0x5cbbfc['reduce']((_0x517b19,_0x41dcc1)=>{const {unitID:_0x385227,objectID:_0x4ff73d,objectType:_0x441e74,actions:_0x3376fb}=_0x41dcc1;return _0x517b19[_0x385227]||(_0x517b19[_0x385227]={}),_0x517b19[_0x385227][_0x4ff73d]||(_0x517b19[_0x385227][_0x4ff73d]={'objectID':_0x4ff73d,'objectType':_0x441e74,'actions':[]}),_0x517b19[_0x385227][_0x4ff73d]['actions']['push'](..._0x3376fb),_0x517b19;},{}),_0x181430=[];for(const _0x44cdc9 in _0x1341ca)for(const _0x13ee35 in _0x1341ca[_0x44cdc9]){const {actions:_0x547209,objectType:_0x30ddaf}=_0x1341ca[_0x44cdc9][_0x13ee35],_0x15a243=[...new Set(_0x547209)];_0x181430[_0x2c03a0(0x427)]({'unitID':_0x44cdc9,'objectID':_0x13ee35,'objectType':_0x30ddaf,'actions':_0x15a243});}return new Y['HTTPRequest'](_0x2c03a0(0x3b1),_0x29d130,{'headers':_0x4ddd86[_0x2c03a0(0x10e)],'withCredentials':_0x4ddd86[_0x2c03a0(0x210)],'responseType':_0x4ddd86[_0x2c03a0(0x264)],'body':{'requests':_0x181430}});}},{'distributeResult'(_0x5243c0,_0x3312c9){const {objectActions:_0x6192b2}=_0x5243c0;return _0x3312c9['map'](_0x45ffee=>{var _0x38c4bf=_0x3799;const {unitID:_0x2f160f,objectID:_0x3d009a,actions:_0x3f17bf}=_0x45ffee,_0x28093c=_0x6192b2[_0x38c4bf(0x428)](_0x40375c=>_0x40375c['unitID']===_0x2f160f&&_0x40375c[_0x38c4bf(0x2dc)]===_0x3d009a),_0x7bac97=_0x3f17bf[_0x38c4bf(0x1e6)](_0x2b65df=>_0x28093c==null?void 0x0:_0x28093c['actions'][_0x38c4bf(0x428)](_0x8ae737=>_0x8ae737['action']===_0x2b65df))['filter'](_0x5ba052=>!!_0x5ba052);return{'config':_0x45ffee,'result':{'actions':_0x7bac97,'error':_0x5243c0[_0x38c4bf(0x3c7)]}};});}})}));}[_0x274a5e(0x132)](){var _0x805f36=_0x274a5e,_0x3727f9,_0x548e26;const _0x4749d2=this[_0x805f36(0x317)][_0x805f36(0x16d)](Ve),_0x1d9a93=this[_0x805f36(0x317)][_0x805f36(0x16d)](K);return(_0x548e26=(_0x3727f9=_0x1d9a93==null?void 0x0:_0x1d9a93['authzUrl'])!=null?_0x3727f9:_0x4749d2)!=null?_0x548e26:Ri;}async[_0x274a5e(0x41c)](_0x3e29da){var _0x4e1761=_0x274a5e;const _0x5234ea=this[_0x4e1761(0x132)]()+'/'+_0x3e29da[_0x4e1761(0x45d)]+'/object';return(await this[_0x4e1761(0x347)][_0x4e1761(0x469)](_0x5234ea,{'body':_0x3e29da}))[_0x4e1761(0x39e)][_0x4e1761(0x2dc)]||'';}async[_0x274a5e(0x1f2)](_0x4d8dfb){var _0x24b366=_0x274a5e;const _0x4723dc=this['_getAPIPrefixPath']()+_0x24b366(0x10f);return(await this[_0x24b366(0x347)][_0x24b366(0x469)](_0x4723dc,{'body':_0x4d8dfb}))['body'][_0x24b366(0x401)];}async['update'](_0x2e10cf){var _0x9b15e=_0x274a5e,_0xb28960,_0x2057d9;const _0x10c7cc=this[_0x9b15e(0x132)]()+'/'+_0x2e10cf['objectType']+'/object/'+_0x2e10cf[_0x9b15e(0x2dc)],_0xf60ab2=await this['_HTTPService'][_0x9b15e(0x446)](_0x10c7cc,{'body':_0x2e10cf});if(((_0x2057d9=(_0xb28960=_0xf60ab2==null?void 0x0:_0xf60ab2[_0x9b15e(0x39e)])==null?void 0x0:_0xb28960['error'])==null?void 0x0:_0x2057d9['code'])!==0x1)throw new Error(_0x9b15e(0x44a));}async[_0x274a5e(0x324)](_0x210394){var _0x4c628f=_0x274a5e;const _0x67fbf9=this['_getAPIPrefixPath']()+'/'+_0x210394[_0x4c628f(0x45d)]+_0x4c628f(0x230)+_0x210394[_0x4c628f(0x2dc)]+_0x4c628f(0x1b2);return(await this[_0x4c628f(0x347)][_0x4c628f(0x469)](_0x67fbf9,{'body':_0x210394}))[_0x4c628f(0x39e)][_0x4c628f(0x1cd)];}async['batchAllowed'](_0xb1b6d8){var _0x5ef2f5=_0x274a5e;const _0x13f8f9=this[_0x5ef2f5(0x132)]()+_0x5ef2f5(0x405);return(await this['_HTTPService'][_0x5ef2f5(0x469)](_0x13f8f9,{'body':{'requests':_0xb1b6d8}}))[_0x5ef2f5(0x39e)][_0x5ef2f5(0x1c9)];}async[_0x274a5e(0x1ac)](_0x457230){var _0x50356d=_0x274a5e;const _0x1940be=this[_0x50356d(0x132)]()+'/'+_0x457230[_0x50356d(0x45d)]+_0x50356d(0x481),_0x4998ff=await this[_0x50356d(0x347)]['post'](_0x1940be,{'body':_0x457230});return{'roles':_0x4998ff['body'][_0x50356d(0x2ec)],'actions':_0x4998ff[_0x50356d(0x39e)][_0x50356d(0x1cd)]};}async[_0x274a5e(0x326)](_0x16d046){var _0x3c1745=_0x274a5e;const _0x45008b=this[_0x3c1745(0x132)]()+'/collaborator';await this[_0x3c1745(0x347)][_0x3c1745(0x47b)](_0x45008b,{'params':{'collaboratorID':_0x16d046[_0x3c1745(0x1bb)],'objectID':_0x16d046[_0x3c1745(0x2dc)],'unitID':_0x16d046['unitID']}});}async['updateCollaborator'](_0x9fba9e){var _0x53b5b0=_0x274a5e;const _0x700a50=this[_0x53b5b0(0x132)]()+_0x53b5b0(0x470);await this[_0x53b5b0(0x347)][_0x53b5b0(0x1a6)](_0x700a50,{'body':_0x9fba9e});}async[_0x274a5e(0x41b)](_0x397a8b){var _0x1cb30f=_0x274a5e;const _0x2c51bf=this[_0x1cb30f(0x132)]()+_0x1cb30f(0x470);await this[_0x1cb30f(0x347)][_0x1cb30f(0x469)](_0x2c51bf,{'body':_0x397a8b});}async[_0x274a5e(0x14a)](_0x245636){var _0x33c083=_0x274a5e;const _0x430897=this[_0x33c083(0x132)]()+_0x33c083(0x470);return(await this[_0x33c083(0x347)][_0x33c083(0x319)](_0x430897,{'params':{'objectID':_0x245636['objectID'],'unitID':_0x245636[_0x33c083(0x3d4)]}}))['body'][_0x33c083(0x39b)];}async[_0x274a5e(0x1a1)](_0x1dd8b9){var _0x2e1a84=_0x274a5e;const _0x12f8ef=this[_0x2e1a84(0x132)]()+_0x2e1a84(0x470);await this[_0x2e1a84(0x347)]['put'](_0x12f8ef,{'body':_0x1dd8b9});}},exports['AuthzIoHttpService']=bi([qe(0x0,a['Inject'](Y[_0x274a5e(0x13f)])),qe(0x1,a['Inject'](a[_0x274a5e(0x120)]))],exports[_0x274a5e(0x1ae)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x399f33){var _0x4c007f=_0x274a5e;return _0x399f33&&_0x399f33[_0x4c007f(0x2d9)]&&Object[_0x4c007f(0x363)][_0x4c007f(0x1c3)]['call'](_0x399f33,_0x4c007f(0x464))?_0x399f33[_0x4c007f(0x464)]:_0x399f33;}var fe={'exports':{}};function Oi(_0x1fc4d1){var _0x2872c6=_0x274a5e;throw new Error(_0x2872c6(0x41e)+_0x1fc4d1+_0x2872c6(0x2ac));}var pe={'exports':{}},yi=pe['exports'],ze;function Q(){var _0x4d010d=_0x274a5e;return ze||(ze=0x1,function(_0x441436,_0x4af8c9){(function(_0x48706b,_0x2cb802){var _0xe73a1e=_0x3799;_0x441436[_0xe73a1e(0x14e)]=_0x2cb802();}(yi,function(){var _0x5b09e3=_0x5b09e3||function(_0x2d3fde,_0x47ea33){var _0x4cb9bc=_0x3799,_0x3f9529;if(typeof window<'u'&&window[_0x4cb9bc(0x3a1)]&&(_0x3f9529=window[_0x4cb9bc(0x3a1)]),typeof self<'u'&&self[_0x4cb9bc(0x3a1)]&&(_0x3f9529=self[_0x4cb9bc(0x3a1)]),typeof globalThis<'u'&&globalThis[_0x4cb9bc(0x3a1)]&&(_0x3f9529=globalThis[_0x4cb9bc(0x3a1)]),!_0x3f9529&&typeof window<'u'&&window['msCrypto']&&(_0x3f9529=window[_0x4cb9bc(0x1e9)]),!_0x3f9529&&typeof Pe<'u'&&Pe[_0x4cb9bc(0x3a1)]&&(_0x3f9529=Pe[_0x4cb9bc(0x3a1)]),!_0x3f9529&&typeof Oi==_0x4cb9bc(0x1a4))try{_0x3f9529=require(_0x4cb9bc(0x3a1));}catch{}var _0x35ab46=function(){var _0x1bd961=_0x4cb9bc;if(_0x3f9529){if(typeof _0x3f9529['getRandomValues']=='function')try{return _0x3f9529[_0x1bd961(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3f9529[_0x1bd961(0x1c6)]==_0x1bd961(0x1a4))try{return _0x3f9529[_0x1bd961(0x1c6)](0x4)[_0x1bd961(0x133)]();}catch{}}throw new Error(_0x1bd961(0x3c1));},_0x237b1a=Object['create']||(function(){function _0x5267c5(){}return function(_0x26b712){var _0x50a77a=_0x3799,_0x204c75;return _0x5267c5[_0x50a77a(0x363)]=_0x26b712,_0x204c75=new _0x5267c5(),_0x5267c5['prototype']=null,_0x204c75;};}()),_0x2a0a6e={},_0x3ceb83=_0x2a0a6e[_0x4cb9bc(0x11e)]={},_0x19d81e=_0x3ceb83[_0x4cb9bc(0x232)]=(function(){return{'extend':function(_0x3de071){var _0x506d03=_0x3799,_0x17c3b2=_0x237b1a(this);return _0x3de071&&_0x17c3b2[_0x506d03(0x156)](_0x3de071),(!_0x17c3b2[_0x506d03(0x1c3)](_0x506d03(0x29e))||this[_0x506d03(0x29e)]===_0x17c3b2['init'])&&(_0x17c3b2[_0x506d03(0x29e)]=function(){var _0x2d7f7c=_0x506d03;_0x17c3b2[_0x2d7f7c(0x392)][_0x2d7f7c(0x29e)][_0x2d7f7c(0x175)](this,arguments);}),_0x17c3b2['init'][_0x506d03(0x363)]=_0x17c3b2,_0x17c3b2['$super']=this,_0x17c3b2;},'create':function(){var _0x24f0d4=_0x3799,_0x2b3f99=this[_0x24f0d4(0x1d1)]();return _0x2b3f99['init'][_0x24f0d4(0x175)](_0x2b3f99,arguments),_0x2b3f99;},'init':function(){},'mixIn':function(_0x10a17f){var _0x271922=_0x3799;for(var _0x369fcf in _0x10a17f)_0x10a17f[_0x271922(0x1c3)](_0x369fcf)&&(this[_0x369fcf]=_0x10a17f[_0x369fcf]);_0x10a17f[_0x271922(0x1c3)]('toString')&&(this[_0x271922(0x3d7)]=_0x10a17f[_0x271922(0x3d7)]);},'clone':function(){var _0x50004d=_0x3799;return this['init'][_0x50004d(0x363)][_0x50004d(0x1d1)](this);}};}()),_0x1a2f0b=_0x3ceb83[_0x4cb9bc(0x2fd)]=_0x19d81e[_0x4cb9bc(0x1d1)]({'init':function(_0x52923f,_0x26be63){var _0x3e6f70=_0x4cb9bc;_0x52923f=this['words']=_0x52923f||[],_0x26be63!=_0x47ea33?this['sigBytes']=_0x26be63:this[_0x3e6f70(0x359)]=_0x52923f[_0x3e6f70(0x2d6)]*0x4;},'toString':function(_0x263a0b){return(_0x263a0b||_0x508b9c)['stringify'](this);},'concat':function(_0xf9012e){var _0x21a9be=_0x4cb9bc,_0xa1b061=this['words'],_0x598533=_0xf9012e['words'],_0x394e98=this[_0x21a9be(0x359)],_0x50fc69=_0xf9012e[_0x21a9be(0x359)];if(this['clamp'](),_0x394e98%0x4)for(var _0x4b6f43=0x0;_0x4b6f43<_0x50fc69;_0x4b6f43++){var _0x3c7408=_0x598533[_0x4b6f43>>>0x2]>>>0x18-_0x4b6f43%0x4*0x8&0xff;_0xa1b061[_0x394e98+_0x4b6f43>>>0x2]|=_0x3c7408<<0x18-(_0x394e98+_0x4b6f43)%0x4*0x8;}else{for(var _0xcfa79=0x0;_0xcfa79<_0x50fc69;_0xcfa79+=0x4)_0xa1b061[_0x394e98+_0xcfa79>>>0x2]=_0x598533[_0xcfa79>>>0x2];}return this['sigBytes']+=_0x50fc69,this;},'clamp':function(){var _0xa65e3f=_0x4cb9bc,_0x44fb96=this[_0xa65e3f(0x3fc)],_0x338162=this[_0xa65e3f(0x359)];_0x44fb96[_0x338162>>>0x2]&=0xffffffff<<0x20-_0x338162%0x4*0x8,_0x44fb96['length']=_0x2d3fde[_0xa65e3f(0x310)](_0x338162/0x4);},'clone':function(){var _0x148c33=_0x4cb9bc,_0x5eed8d=_0x19d81e[_0x148c33(0x278)]['call'](this);return _0x5eed8d[_0x148c33(0x3fc)]=this[_0x148c33(0x3fc)]['slice'](0x0),_0x5eed8d;},'random':function(_0x34d524){var _0x353322=_0x4cb9bc;for(var _0xacd1f9=[],_0x3ac710=0x0;_0x3ac710<_0x34d524;_0x3ac710+=0x4)_0xacd1f9['push'](_0x35ab46());return new _0x1a2f0b[(_0x353322(0x29e))](_0xacd1f9,_0x34d524);}}),_0x87c3c1=_0x2a0a6e[_0x4cb9bc(0x3b8)]={},_0x508b9c=_0x87c3c1['Hex']={'stringify':function(_0x3d75f1){var _0x5c8d7a=_0x4cb9bc;for(var _0x12846c=_0x3d75f1['words'],_0x18e50e=_0x3d75f1[_0x5c8d7a(0x359)],_0x3f145d=[],_0x26edb9=0x0;_0x26edb9<_0x18e50e;_0x26edb9++){var _0x1d594d=_0x12846c[_0x26edb9>>>0x2]>>>0x18-_0x26edb9%0x4*0x8&0xff;_0x3f145d[_0x5c8d7a(0x427)]((_0x1d594d>>>0x4)['toString'](0x10)),_0x3f145d[_0x5c8d7a(0x427)]((_0x1d594d&0xf)[_0x5c8d7a(0x3d7)](0x10));}return _0x3f145d[_0x5c8d7a(0x2ea)]('');},'parse':function(_0x40ca9e){var _0x286fd5=_0x4cb9bc;for(var _0x43461d=_0x40ca9e[_0x286fd5(0x2d6)],_0x60b3c0=[],_0x413a9d=0x0;_0x413a9d<_0x43461d;_0x413a9d+=0x2)_0x60b3c0[_0x413a9d>>>0x3]|=parseInt(_0x40ca9e[_0x286fd5(0x35b)](_0x413a9d,0x2),0x10)<<0x18-_0x413a9d%0x8*0x4;return new _0x1a2f0b[(_0x286fd5(0x29e))](_0x60b3c0,_0x43461d/0x2);}},_0xc3bd13=_0x87c3c1['Latin1']={'stringify':function(_0x7f689b){var _0x44fa3b=_0x4cb9bc;for(var _0x41b2e9=_0x7f689b['words'],_0xe4581c=_0x7f689b[_0x44fa3b(0x359)],_0x12efe9=[],_0x56e7a3=0x0;_0x56e7a3<_0xe4581c;_0x56e7a3++){var _0x105402=_0x41b2e9[_0x56e7a3>>>0x2]>>>0x18-_0x56e7a3%0x4*0x8&0xff;_0x12efe9['push'](String[_0x44fa3b(0x222)](_0x105402));}return _0x12efe9[_0x44fa3b(0x2ea)]('');},'parse':function(_0x274f6f){var _0x344fe2=_0x4cb9bc;for(var _0x354373=_0x274f6f[_0x344fe2(0x2d6)],_0x1eba5b=[],_0x53ad0e=0x0;_0x53ad0e<_0x354373;_0x53ad0e++)_0x1eba5b[_0x53ad0e>>>0x2]|=(_0x274f6f[_0x344fe2(0x2c0)](_0x53ad0e)&0xff)<<0x18-_0x53ad0e%0x4*0x8;return new _0x1a2f0b[(_0x344fe2(0x29e))](_0x1eba5b,_0x354373);}},_0x5aab39=_0x87c3c1[_0x4cb9bc(0x137)]={'stringify':function(_0xa56ac6){var _0x371631=_0x4cb9bc;try{return decodeURIComponent(escape(_0xc3bd13[_0x371631(0x13b)](_0xa56ac6)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x569658){var _0x1c1b70=_0x4cb9bc;return _0xc3bd13[_0x1c1b70(0x437)](unescape(encodeURIComponent(_0x569658)));}},_0x399b93=_0x3ceb83[_0x4cb9bc(0x1b8)]=_0x19d81e[_0x4cb9bc(0x1d1)]({'reset':function(){var _0xa8d546=_0x4cb9bc;this[_0xa8d546(0x3ea)]=new _0x1a2f0b[(_0xa8d546(0x29e))](),this[_0xa8d546(0x1b6)]=0x0;},'_append':function(_0x391dd7){var _0x692cdb=_0x4cb9bc;typeof _0x391dd7==_0x692cdb(0x161)&&(_0x391dd7=_0x5aab39[_0x692cdb(0x437)](_0x391dd7)),this[_0x692cdb(0x3ea)][_0x692cdb(0x16a)](_0x391dd7),this[_0x692cdb(0x1b6)]+=_0x391dd7[_0x692cdb(0x359)];},'_process':function(_0x43938c){var _0x540a91=_0x4cb9bc,_0x30a56b,_0x10bd1d=this['_data'],_0x491722=_0x10bd1d[_0x540a91(0x3fc)],_0x31839e=_0x10bd1d['sigBytes'],_0x4a301c=this[_0x540a91(0x2bf)],_0x367dec=_0x4a301c*0x4,_0x4034e3=_0x31839e/_0x367dec;_0x43938c?_0x4034e3=_0x2d3fde['ceil'](_0x4034e3):_0x4034e3=_0x2d3fde[_0x540a91(0x204)]((_0x4034e3|0x0)-this[_0x540a91(0x36b)],0x0);var _0x4e0332=_0x4034e3*_0x4a301c,_0x341c91=_0x2d3fde[_0x540a91(0x23c)](_0x4e0332*0x4,_0x31839e);if(_0x4e0332){for(var _0x2aebfb=0x0;_0x2aebfb<_0x4e0332;_0x2aebfb+=_0x4a301c)this[_0x540a91(0x1df)](_0x491722,_0x2aebfb);_0x30a56b=_0x491722[_0x540a91(0x3a7)](0x0,_0x4e0332),_0x10bd1d[_0x540a91(0x359)]-=_0x341c91;}return new _0x1a2f0b[(_0x540a91(0x29e))](_0x30a56b,_0x341c91);},'clone':function(){var _0x1ad214=_0x4cb9bc,_0x394ed5=_0x19d81e['clone'][_0x1ad214(0x369)](this);return _0x394ed5[_0x1ad214(0x3ea)]=this['_data']['clone'](),_0x394ed5;},'_minBufferSize':0x0});_0x3ceb83[_0x4cb9bc(0x140)]=_0x399b93[_0x4cb9bc(0x1d1)]({'cfg':_0x19d81e[_0x4cb9bc(0x1d1)](),'init':function(_0x41a736){var _0x5486b2=_0x4cb9bc;this[_0x5486b2(0x188)]=this[_0x5486b2(0x188)][_0x5486b2(0x1d1)](_0x41a736),this['reset']();},'reset':function(){var _0x4eec89=_0x4cb9bc;_0x399b93[_0x4eec89(0x28d)]['call'](this),this[_0x4eec89(0x426)]();},'update':function(_0x28b1a9){var _0x38babb=_0x4cb9bc;return this[_0x38babb(0x205)](_0x28b1a9),this[_0x38babb(0x42b)](),this;},'finalize':function(_0x17849f){var _0x399a93=_0x4cb9bc;_0x17849f&&this['_append'](_0x17849f);var _0x4ccdb0=this[_0x399a93(0x41a)]();return _0x4ccdb0;},'blockSize':0x10,'_createHelper':function(_0x50855c){return function(_0x268403,_0x5dc259){var _0x389838=_0x3799;return new _0x50855c[(_0x389838(0x29e))](_0x5dc259)[_0x389838(0x2aa)](_0x268403);};},'_createHmacHelper':function(_0x432ea3){return function(_0x2a3c4a,_0x11ee17){var _0x434b7b=_0x3799;return new _0x37550d[(_0x434b7b(0x400))][(_0x434b7b(0x29e))](_0x432ea3,_0x11ee17)[_0x434b7b(0x2aa)](_0x2a3c4a);};}});var _0x37550d=_0x2a0a6e[_0x4cb9bc(0x1ce)]={};return _0x2a0a6e;}(Math);return _0x5b09e3;}));}(pe)),pe[_0x4d010d(0x14e)];}var Ie={'exports':{}},Ni=Ie[_0x274a5e(0x14e)],Je;function yt(){var _0x283b93=_0x274a5e;return Je||(Je=0x1,function(_0x41e718,_0x54c0df){(function(_0x1ccedb,_0x43b473){var _0x5c6591=_0x3799;_0x41e718[_0x5c6591(0x14e)]=_0x43b473(Q());}(Ni,function(_0x2f4b07){var _0x10986a=_0x3799;return(function(){var _0x3ea65a=_0x3799,_0x411666=_0x2f4b07,_0x10f3d9=_0x411666[_0x3ea65a(0x11e)],_0x271ddd=_0x10f3d9[_0x3ea65a(0x2fd)],_0x6c3321=_0x411666[_0x3ea65a(0x3b8)];_0x6c3321[_0x3ea65a(0x253)]={'stringify':function(_0x3c4409){var _0x13d85e=_0x3ea65a,_0x47b89f=_0x3c4409['words'],_0x542fa4=_0x3c4409['sigBytes'],_0x410572=this[_0x13d85e(0x3f9)];_0x3c4409[_0x13d85e(0x123)]();for(var _0x43397f=[],_0x562f88=0x0;_0x562f88<_0x542fa4;_0x562f88+=0x3)for(var _0x362d50=_0x47b89f[_0x562f88>>>0x2]>>>0x18-_0x562f88%0x4*0x8&0xff,_0x5f14f2=_0x47b89f[_0x562f88+0x1>>>0x2]>>>0x18-(_0x562f88+0x1)%0x4*0x8&0xff,_0x9a6464=_0x47b89f[_0x562f88+0x2>>>0x2]>>>0x18-(_0x562f88+0x2)%0x4*0x8&0xff,_0x4a2120=_0x362d50<<0x10|_0x5f14f2<<0x8|_0x9a6464,_0x3da0f4=0x0;_0x3da0f4<0x4&&_0x562f88+_0x3da0f4*0.75<_0x542fa4;_0x3da0f4++)_0x43397f[_0x13d85e(0x427)](_0x410572[_0x13d85e(0x284)](_0x4a2120>>>0x6*(0x3-_0x3da0f4)&0x3f));var _0x4120bd=_0x410572[_0x13d85e(0x284)](0x40);if(_0x4120bd){for(;_0x43397f[_0x13d85e(0x2d6)]%0x4;)_0x43397f[_0x13d85e(0x427)](_0x4120bd);}return _0x43397f[_0x13d85e(0x2ea)]('');},'parse':function(_0x1993e6){var _0x422993=_0x3ea65a,_0x5acb46=_0x1993e6[_0x422993(0x2d6)],_0x1283b7=this[_0x422993(0x3f9)],_0x46e3f9=this[_0x422993(0x29c)];if(!_0x46e3f9){_0x46e3f9=this[_0x422993(0x29c)]=[];for(var _0x335b07=0x0;_0x335b07<_0x1283b7[_0x422993(0x2d6)];_0x335b07++)_0x46e3f9[_0x1283b7[_0x422993(0x2c0)](_0x335b07)]=_0x335b07;}var _0x78bd98=_0x1283b7[_0x422993(0x284)](0x40);if(_0x78bd98){var _0x4f4630=_0x1993e6[_0x422993(0x181)](_0x78bd98);_0x4f4630!==-0x1&&(_0x5acb46=_0x4f4630);}return _0x832b45(_0x1993e6,_0x5acb46,_0x46e3f9);},'_map':_0x3ea65a(0x380)};function _0x832b45(_0x190a06,_0x5b72fc,_0x1790ee){var _0x5a676b=_0x3ea65a;for(var _0x2ea8e6=[],_0xcba718=0x0,_0x451243=0x0;_0x451243<_0x5b72fc;_0x451243++)if(_0x451243%0x4){var _0x18cd5f=_0x1790ee[_0x190a06[_0x5a676b(0x2c0)](_0x451243-0x1)]<<_0x451243%0x4*0x2,_0x92387c=_0x1790ee[_0x190a06[_0x5a676b(0x2c0)](_0x451243)]>>>0x6-_0x451243%0x4*0x2,_0xabf9db=_0x18cd5f|_0x92387c;_0x2ea8e6[_0xcba718>>>0x2]|=_0xabf9db<<0x18-_0xcba718%0x4*0x8,_0xcba718++;}return _0x271ddd[_0x5a676b(0x41c)](_0x2ea8e6,_0xcba718);}}()),_0x2f4b07['enc'][_0x10986a(0x253)];}));}(Ie)),Ie[_0x283b93(0x14e)];}var ge={'exports':{}},Ui=ge[_0x274a5e(0x14e)],Xe;function Di(){var _0x474e50=_0x274a5e;return Xe||(Xe=0x1,function(_0x3db1f0,_0x17ad05){(function(_0x4ad4b0,_0x3ba9df){_0x3db1f0['exports']=_0x3ba9df(Q());}(Ui,function(_0x5cbd5c){var _0x4d2554=_0x3799;return function(_0x2afa9d){var _0x1043a2=_0x3799,_0x230110=_0x5cbd5c,_0x199d39=_0x230110[_0x1043a2(0x11e)],_0x28d5ee=_0x199d39[_0x1043a2(0x2fd)],_0x2c8358=_0x199d39[_0x1043a2(0x140)],_0x18f627=_0x230110[_0x1043a2(0x1ce)],_0x36aa83=[];(function(){var _0x3724fa=_0x1043a2;for(var _0xfe7bcb=0x0;_0xfe7bcb<0x40;_0xfe7bcb++)_0x36aa83[_0xfe7bcb]=_0x2afa9d[_0x3724fa(0x45c)](_0x2afa9d[_0x3724fa(0x2a6)](_0xfe7bcb+0x1))*0x100000000|0x0;}());var _0x489e35=_0x18f627[_0x1043a2(0x243)]=_0x2c8358[_0x1043a2(0x1d1)]({'_doReset':function(){var _0x4a7916=_0x1043a2;this[_0x4a7916(0x227)]=new _0x28d5ee[(_0x4a7916(0x29e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x13b3d6,_0xd8766a){var _0x4e3da3=_0x1043a2;for(var _0xcffe16=0x0;_0xcffe16<0x10;_0xcffe16++){var _0x383219=_0xd8766a+_0xcffe16,_0x4fafdb=_0x13b3d6[_0x383219];_0x13b3d6[_0x383219]=(_0x4fafdb<<0x8|_0x4fafdb>>>0x18)&0xff00ff|(_0x4fafdb<<0x18|_0x4fafdb>>>0x8)&0xff00ff00;}var _0xc152cf=this['_hash'][_0x4e3da3(0x3fc)],_0x5742e1=_0x13b3d6[_0xd8766a+0x0],_0xbefb9e=_0x13b3d6[_0xd8766a+0x1],_0xb584bc=_0x13b3d6[_0xd8766a+0x2],_0x390ca5=_0x13b3d6[_0xd8766a+0x3],_0x5453be=_0x13b3d6[_0xd8766a+0x4],_0x21e249=_0x13b3d6[_0xd8766a+0x5],_0x3689b0=_0x13b3d6[_0xd8766a+0x6],_0x778a90=_0x13b3d6[_0xd8766a+0x7],_0x1d1dc5=_0x13b3d6[_0xd8766a+0x8],_0x5c6269=_0x13b3d6[_0xd8766a+0x9],_0x1d591f=_0x13b3d6[_0xd8766a+0xa],_0x58c7ce=_0x13b3d6[_0xd8766a+0xb],_0x2a6482=_0x13b3d6[_0xd8766a+0xc],_0x17bf8b=_0x13b3d6[_0xd8766a+0xd],_0x36c0e1=_0x13b3d6[_0xd8766a+0xe],_0x5e2920=_0x13b3d6[_0xd8766a+0xf],_0x38d842=_0xc152cf[0x0],_0x4a7cf5=_0xc152cf[0x1],_0x3a1f68=_0xc152cf[0x2],_0x376555=_0xc152cf[0x3];_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5742e1,0x7,_0x36aa83[0x0]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0xbefb9e,0xc,_0x36aa83[0x1]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0xb584bc,0x11,_0x36aa83[0x2]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x390ca5,0x16,_0x36aa83[0x3]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5453be,0x7,_0x36aa83[0x4]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x21e249,0xc,_0x36aa83[0x5]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x3689b0,0x11,_0x36aa83[0x6]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x778a90,0x16,_0x36aa83[0x7]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x1d1dc5,0x7,_0x36aa83[0x8]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5c6269,0xc,_0x36aa83[0x9]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x1d591f,0x11,_0x36aa83[0xa]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x58c7ce,0x16,_0x36aa83[0xb]),_0x38d842=_0x279d08(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x2a6482,0x7,_0x36aa83[0xc]),_0x376555=_0x279d08(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x17bf8b,0xc,_0x36aa83[0xd]),_0x3a1f68=_0x279d08(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x36c0e1,0x11,_0x36aa83[0xe]),_0x4a7cf5=_0x279d08(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5e2920,0x16,_0x36aa83[0xf]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0xbefb9e,0x5,_0x36aa83[0x10]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x3689b0,0x9,_0x36aa83[0x11]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x58c7ce,0xe,_0x36aa83[0x12]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5742e1,0x14,_0x36aa83[0x13]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x21e249,0x5,_0x36aa83[0x14]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x1d591f,0x9,_0x36aa83[0x15]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x5e2920,0xe,_0x36aa83[0x16]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5453be,0x14,_0x36aa83[0x17]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5c6269,0x5,_0x36aa83[0x18]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x36c0e1,0x9,_0x36aa83[0x19]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x390ca5,0xe,_0x36aa83[0x1a]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x1d1dc5,0x14,_0x36aa83[0x1b]),_0x38d842=_0x5a8ef5(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x17bf8b,0x5,_0x36aa83[0x1c]),_0x376555=_0x5a8ef5(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0xb584bc,0x9,_0x36aa83[0x1d]),_0x3a1f68=_0x5a8ef5(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x778a90,0xe,_0x36aa83[0x1e]),_0x4a7cf5=_0x5a8ef5(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x2a6482,0x14,_0x36aa83[0x1f]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x21e249,0x4,_0x36aa83[0x20]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x1d1dc5,0xb,_0x36aa83[0x21]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x58c7ce,0x10,_0x36aa83[0x22]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x36c0e1,0x17,_0x36aa83[0x23]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0xbefb9e,0x4,_0x36aa83[0x24]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5453be,0xb,_0x36aa83[0x25]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x778a90,0x10,_0x36aa83[0x26]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x1d591f,0x17,_0x36aa83[0x27]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x17bf8b,0x4,_0x36aa83[0x28]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5742e1,0xb,_0x36aa83[0x29]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x390ca5,0x10,_0x36aa83[0x2a]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x3689b0,0x17,_0x36aa83[0x2b]),_0x38d842=_0x187077(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5c6269,0x4,_0x36aa83[0x2c]),_0x376555=_0x187077(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x2a6482,0xb,_0x36aa83[0x2d]),_0x3a1f68=_0x187077(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x5e2920,0x10,_0x36aa83[0x2e]),_0x4a7cf5=_0x187077(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0xb584bc,0x17,_0x36aa83[0x2f]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5742e1,0x6,_0x36aa83[0x30]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x778a90,0xa,_0x36aa83[0x31]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x36c0e1,0xf,_0x36aa83[0x32]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x21e249,0x15,_0x36aa83[0x33]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x2a6482,0x6,_0x36aa83[0x34]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x390ca5,0xa,_0x36aa83[0x35]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x1d591f,0xf,_0x36aa83[0x36]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0xbefb9e,0x15,_0x36aa83[0x37]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x1d1dc5,0x6,_0x36aa83[0x38]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x5e2920,0xa,_0x36aa83[0x39]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0x3689b0,0xf,_0x36aa83[0x3a]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x17bf8b,0x15,_0x36aa83[0x3b]),_0x38d842=_0x1d4e21(_0x38d842,_0x4a7cf5,_0x3a1f68,_0x376555,_0x5453be,0x6,_0x36aa83[0x3c]),_0x376555=_0x1d4e21(_0x376555,_0x38d842,_0x4a7cf5,_0x3a1f68,_0x58c7ce,0xa,_0x36aa83[0x3d]),_0x3a1f68=_0x1d4e21(_0x3a1f68,_0x376555,_0x38d842,_0x4a7cf5,_0xb584bc,0xf,_0x36aa83[0x3e]),_0x4a7cf5=_0x1d4e21(_0x4a7cf5,_0x3a1f68,_0x376555,_0x38d842,_0x5c6269,0x15,_0x36aa83[0x3f]),_0xc152cf[0x0]=_0xc152cf[0x0]+_0x38d842|0x0,_0xc152cf[0x1]=_0xc152cf[0x1]+_0x4a7cf5|0x0,_0xc152cf[0x2]=_0xc152cf[0x2]+_0x3a1f68|0x0,_0xc152cf[0x3]=_0xc152cf[0x3]+_0x376555|0x0;},'_doFinalize':function(){var _0x58d62b=_0x1043a2,_0x42e29a=this['_data'],_0x49ce49=_0x42e29a[_0x58d62b(0x3fc)],_0x4b1f74=this[_0x58d62b(0x1b6)]*0x8,_0xf8af53=_0x42e29a[_0x58d62b(0x359)]*0x8;_0x49ce49[_0xf8af53>>>0x5]|=0x80<<0x18-_0xf8af53%0x20;var _0x45fe08=_0x2afa9d[_0x58d62b(0x3fd)](_0x4b1f74/0x100000000),_0x148e4d=_0x4b1f74;_0x49ce49[(_0xf8af53+0x40>>>0x9<<0x4)+0xf]=(_0x45fe08<<0x8|_0x45fe08>>>0x18)&0xff00ff|(_0x45fe08<<0x18|_0x45fe08>>>0x8)&0xff00ff00,_0x49ce49[(_0xf8af53+0x40>>>0x9<<0x4)+0xe]=(_0x148e4d<<0x8|_0x148e4d>>>0x18)&0xff00ff|(_0x148e4d<<0x18|_0x148e4d>>>0x8)&0xff00ff00,_0x42e29a[_0x58d62b(0x359)]=(_0x49ce49[_0x58d62b(0x2d6)]+0x1)*0x4,this[_0x58d62b(0x42b)]();for(var _0xa06b9a=this[_0x58d62b(0x227)],_0x25aaa0=_0xa06b9a[_0x58d62b(0x3fc)],_0x3e7951=0x0;_0x3e7951<0x4;_0x3e7951++){var _0x513857=_0x25aaa0[_0x3e7951];_0x25aaa0[_0x3e7951]=(_0x513857<<0x8|_0x513857>>>0x18)&0xff00ff|(_0x513857<<0x18|_0x513857>>>0x8)&0xff00ff00;}return _0xa06b9a;},'clone':function(){var _0x149cbf=_0x1043a2,_0x54d68a=_0x2c8358[_0x149cbf(0x278)]['call'](this);return _0x54d68a[_0x149cbf(0x227)]=this[_0x149cbf(0x227)][_0x149cbf(0x278)](),_0x54d68a;}});function _0x279d08(_0x2a711a,_0x804de2,_0x3e5331,_0x5ec620,_0x488a45,_0x37894f,_0x3cce64){var _0x336bd5=_0x2a711a+(_0x804de2&_0x3e5331|~_0x804de2&_0x5ec620)+_0x488a45+_0x3cce64;return(_0x336bd5<<_0x37894f|_0x336bd5>>>0x20-_0x37894f)+_0x804de2;}function _0x5a8ef5(_0x37fc8f,_0xe9df91,_0x2c9d30,_0x112840,_0x3d9fde,_0x2b95af,_0x1e9d7b){var _0x4dadc1=_0x37fc8f+(_0xe9df91&_0x112840|_0x2c9d30&~_0x112840)+_0x3d9fde+_0x1e9d7b;return(_0x4dadc1<<_0x2b95af|_0x4dadc1>>>0x20-_0x2b95af)+_0xe9df91;}function _0x187077(_0x238e55,_0x42d199,_0x20bb63,_0x2100b3,_0x43af19,_0x3de43a,_0x25427b){var _0x466b81=_0x238e55+(_0x42d199^_0x20bb63^_0x2100b3)+_0x43af19+_0x25427b;return(_0x466b81<<_0x3de43a|_0x466b81>>>0x20-_0x3de43a)+_0x42d199;}function _0x1d4e21(_0x17d562,_0x496ef9,_0x5155b0,_0x4831a8,_0x177603,_0x18e1c3,_0x37471d){var _0xf66023=_0x17d562+(_0x5155b0^(_0x496ef9|~_0x4831a8))+_0x177603+_0x37471d;return(_0xf66023<<_0x18e1c3|_0xf66023>>>0x20-_0x18e1c3)+_0x496ef9;}_0x230110[_0x1043a2(0x243)]=_0x2c8358['_createHelper'](_0x489e35),_0x230110[_0x1043a2(0x193)]=_0x2c8358[_0x1043a2(0x31a)](_0x489e35);}(Math),_0x5cbd5c[_0x4d2554(0x243)];}));}(ge)),ge[_0x474e50(0x14e)];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0x3190da=_0x274a5e;return Ze||(Ze=0x1,function(_0x2a4e45,_0x178e8d){(function(_0x501bd5,_0x5739ce){var _0x2da2e5=_0x3799;_0x2a4e45[_0x2da2e5(0x14e)]=_0x5739ce(Q());}(Ai,function(_0x5dec2f){var _0x22b13f=_0x3799;return(function(){var _0x2e1527=_0x3799,_0x32bb9e=_0x5dec2f,_0x22d99e=_0x32bb9e[_0x2e1527(0x11e)],_0x38ecb5=_0x22d99e[_0x2e1527(0x2fd)],_0x3eaebe=_0x22d99e[_0x2e1527(0x140)],_0x458f94=_0x32bb9e[_0x2e1527(0x1ce)],_0x221ab4=[],_0x48e33a=_0x458f94['SHA1']=_0x3eaebe['extend']({'_doReset':function(){var _0x749d9b=_0x2e1527;this[_0x749d9b(0x227)]=new _0x38ecb5[(_0x749d9b(0x29e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2878de,_0x13dd6b){for(var _0x546ffb=this['_hash']['words'],_0x50107b=_0x546ffb[0x0],_0x1c05ca=_0x546ffb[0x1],_0x139090=_0x546ffb[0x2],_0x2cf181=_0x546ffb[0x3],_0x46631c=_0x546ffb[0x4],_0x33204b=0x0;_0x33204b<0x50;_0x33204b++){if(_0x33204b<0x10)_0x221ab4[_0x33204b]=_0x2878de[_0x13dd6b+_0x33204b]|0x0;else{var _0x4d0080=_0x221ab4[_0x33204b-0x3]^_0x221ab4[_0x33204b-0x8]^_0x221ab4[_0x33204b-0xe]^_0x221ab4[_0x33204b-0x10];_0x221ab4[_0x33204b]=_0x4d0080<<0x1|_0x4d0080>>>0x1f;}var _0x157caf=(_0x50107b<<0x5|_0x50107b>>>0x1b)+_0x46631c+_0x221ab4[_0x33204b];_0x33204b<0x14?_0x157caf+=(_0x1c05ca&_0x139090|~_0x1c05ca&_0x2cf181)+0x5a827999:_0x33204b<0x28?_0x157caf+=(_0x1c05ca^_0x139090^_0x2cf181)+0x6ed9eba1:_0x33204b<0x3c?_0x157caf+=(_0x1c05ca&_0x139090|_0x1c05ca&_0x2cf181|_0x139090&_0x2cf181)-0x70e44324:_0x157caf+=(_0x1c05ca^_0x139090^_0x2cf181)-0x359d3e2a,_0x46631c=_0x2cf181,_0x2cf181=_0x139090,_0x139090=_0x1c05ca<<0x1e|_0x1c05ca>>>0x2,_0x1c05ca=_0x50107b,_0x50107b=_0x157caf;}_0x546ffb[0x0]=_0x546ffb[0x0]+_0x50107b|0x0,_0x546ffb[0x1]=_0x546ffb[0x1]+_0x1c05ca|0x0,_0x546ffb[0x2]=_0x546ffb[0x2]+_0x139090|0x0,_0x546ffb[0x3]=_0x546ffb[0x3]+_0x2cf181|0x0,_0x546ffb[0x4]=_0x546ffb[0x4]+_0x46631c|0x0;},'_doFinalize':function(){var _0x1b1c4f=_0x2e1527,_0x13a5c5=this['_data'],_0x5186fb=_0x13a5c5[_0x1b1c4f(0x3fc)],_0x5cfa0e=this[_0x1b1c4f(0x1b6)]*0x8,_0x197b1c=_0x13a5c5[_0x1b1c4f(0x359)]*0x8;return _0x5186fb[_0x197b1c>>>0x5]|=0x80<<0x18-_0x197b1c%0x20,_0x5186fb[(_0x197b1c+0x40>>>0x9<<0x4)+0xe]=Math[_0x1b1c4f(0x3fd)](_0x5cfa0e/0x100000000),_0x5186fb[(_0x197b1c+0x40>>>0x9<<0x4)+0xf]=_0x5cfa0e,_0x13a5c5[_0x1b1c4f(0x359)]=_0x5186fb[_0x1b1c4f(0x2d6)]*0x4,this[_0x1b1c4f(0x42b)](),this['_hash'];},'clone':function(){var _0x443560=_0x2e1527,_0x7e435=_0x3eaebe[_0x443560(0x278)]['call'](this);return _0x7e435['_hash']=this[_0x443560(0x227)][_0x443560(0x278)](),_0x7e435;}});_0x32bb9e['SHA1']=_0x3eaebe[_0x2e1527(0x33b)](_0x48e33a),_0x32bb9e[_0x2e1527(0x453)]=_0x3eaebe[_0x2e1527(0x31a)](_0x48e33a);}()),_0x5dec2f[_0x22b13f(0x2e9)];}));}(me)),me[_0x3190da(0x14e)];}var Ce={'exports':{}},wi=Ce['exports'],Qe;function Li(){var _0x3dd52c=_0x274a5e;return Qe||(Qe=0x1,function(_0x2c9756,_0x3f99a4){(function(_0x4d9e17,_0x19a17a){var _0x3f406c=_0x3799;_0x2c9756[_0x3f406c(0x14e)]=_0x19a17a(Q());}(wi,function(_0x12f75d){(function(){var _0x45c74e=_0x3799,_0x278049=_0x12f75d,_0x23230a=_0x278049[_0x45c74e(0x11e)],_0x2b9ec0=_0x23230a[_0x45c74e(0x232)],_0x266556=_0x278049['enc'],_0x178f5f=_0x266556[_0x45c74e(0x137)],_0x37c7a8=_0x278049['algo'];_0x37c7a8['HMAC']=_0x2b9ec0[_0x45c74e(0x1d1)]({'init':function(_0x31e238,_0x3ccbf6){var _0x3de53a=_0x45c74e;_0x31e238=this[_0x3de53a(0x14f)]=new _0x31e238[(_0x3de53a(0x29e))](),typeof _0x3ccbf6==_0x3de53a(0x161)&&(_0x3ccbf6=_0x178f5f[_0x3de53a(0x437)](_0x3ccbf6));var _0x1a26ad=_0x31e238['blockSize'],_0x1032e4=_0x1a26ad*0x4;_0x3ccbf6[_0x3de53a(0x359)]>_0x1032e4&&(_0x3ccbf6=_0x31e238[_0x3de53a(0x2aa)](_0x3ccbf6)),_0x3ccbf6[_0x3de53a(0x123)]();for(var _0x3c5ba9=this[_0x3de53a(0x1cb)]=_0x3ccbf6['clone'](),_0x9217f9=this[_0x3de53a(0x110)]=_0x3ccbf6[_0x3de53a(0x278)](),_0x4fd29e=_0x3c5ba9[_0x3de53a(0x3fc)],_0xc583df=_0x9217f9[_0x3de53a(0x3fc)],_0x400f28=0x0;_0x400f28<_0x1a26ad;_0x400f28++)_0x4fd29e[_0x400f28]^=0x5c5c5c5c,_0xc583df[_0x400f28]^=0x36363636;_0x3c5ba9['sigBytes']=_0x9217f9['sigBytes']=_0x1032e4,this[_0x3de53a(0x28d)]();},'reset':function(){var _0x23f412=_0x45c74e,_0x39a65a=this[_0x23f412(0x14f)];_0x39a65a[_0x23f412(0x28d)](),_0x39a65a[_0x23f412(0x22b)](this['_iKey']);},'update':function(_0x36136b){var _0x4e8e79=_0x45c74e;return this[_0x4e8e79(0x14f)]['update'](_0x36136b),this;},'finalize':function(_0x1d1633){var _0x117c92=_0x45c74e,_0x77327e=this['_hasher'],_0x20a1eb=_0x77327e[_0x117c92(0x2aa)](_0x1d1633);_0x77327e[_0x117c92(0x28d)]();var _0x5eb5d0=_0x77327e[_0x117c92(0x2aa)](this[_0x117c92(0x1cb)][_0x117c92(0x278)]()[_0x117c92(0x16a)](_0x20a1eb));return _0x5eb5d0;}});}());}));}(Ce)),Ce[_0x3dd52c(0x14e)];}var Mi=Ee[_0x274a5e(0x14e)],et;function Nt(){var _0x1d740d=_0x274a5e;return et||(et=0x1,function(_0x4db662,_0x4380a0){(function(_0x1d256f,_0x11e544,_0x3d0755){var _0x61dd15=_0x3799;_0x4db662[_0x61dd15(0x14e)]=_0x11e544(Q(),Pi(),Li());}(Mi,function(_0x5b74db){return(function(){var _0x1e0241=_0x3799,_0x2210be=_0x5b74db,_0x4e4292=_0x2210be[_0x1e0241(0x11e)],_0x2f2c1a=_0x4e4292[_0x1e0241(0x232)],_0x3785c1=_0x4e4292[_0x1e0241(0x2fd)],_0x3e5a35=_0x2210be[_0x1e0241(0x1ce)],_0xc85559=_0x3e5a35[_0x1e0241(0x243)],_0xb6a100=_0x3e5a35[_0x1e0241(0x24a)]=_0x2f2c1a[_0x1e0241(0x1d1)]({'cfg':_0x2f2c1a[_0x1e0241(0x1d1)]({'keySize':0x80/0x20,'hasher':_0xc85559,'iterations':0x1}),'init':function(_0x4ccc93){var _0x3cbab8=_0x1e0241;this['cfg']=this[_0x3cbab8(0x188)][_0x3cbab8(0x1d1)](_0x4ccc93);},'compute':function(_0x1d0af8,_0x4c185d){var _0x14d4d4=_0x1e0241;for(var _0x4edfef,_0x3fff30=this[_0x14d4d4(0x188)],_0xfef18d=_0x3fff30['hasher'][_0x14d4d4(0x41c)](),_0x6d2f3b=_0x3785c1['create'](),_0x19ec64=_0x6d2f3b['words'],_0x5aeb92=_0x3fff30[_0x14d4d4(0x40b)],_0x3c959a=_0x3fff30['iterations'];_0x19ec64[_0x14d4d4(0x2d6)]<_0x5aeb92;){_0x4edfef&&_0xfef18d[_0x14d4d4(0x22b)](_0x4edfef),_0x4edfef=_0xfef18d[_0x14d4d4(0x22b)](_0x1d0af8)[_0x14d4d4(0x2aa)](_0x4c185d),_0xfef18d[_0x14d4d4(0x28d)]();for(var _0x10d29e=0x1;_0x10d29e<_0x3c959a;_0x10d29e++)_0x4edfef=_0xfef18d[_0x14d4d4(0x2aa)](_0x4edfef),_0xfef18d[_0x14d4d4(0x28d)]();_0x6d2f3b['concat'](_0x4edfef);}return _0x6d2f3b[_0x14d4d4(0x359)]=_0x5aeb92*0x4,_0x6d2f3b;}});_0x2210be[_0x1e0241(0x24a)]=function(_0x1da80e,_0x43de6e,_0x40a44e){var _0x2e4d77=_0x1e0241;return _0xb6a100['create'](_0x40a44e)[_0x2e4d77(0x394)](_0x1da80e,_0x43de6e);};}()),_0x5b74db['EvpKDF'];}));}(Ee)),Ee[_0x1d740d(0x14e)];}var Te={'exports':{}},xi=Te[_0x274a5e(0x14e)],tt;function Ut(){var _0x5d46bb=_0x274a5e;return tt||(tt=0x1,function(_0x5e5020,_0x16ec13){(function(_0x29f181,_0x4f49c0,_0x26d4bb){var _0x3d9903=_0x3799;_0x5e5020[_0x3d9903(0x14e)]=_0x4f49c0(Q(),Nt());}(xi,function(_0x21a432){var _0x47ab89=_0x3799;_0x21a432[_0x47ab89(0x11e)][_0x47ab89(0x22a)]||function(_0xbe50c2){var _0x3067cb=_0x47ab89,_0x3f7187=_0x21a432,_0x36eb52=_0x3f7187[_0x3067cb(0x11e)],_0x3db940=_0x36eb52['Base'],_0x201eab=_0x36eb52['WordArray'],_0x2b6b29=_0x36eb52['BufferedBlockAlgorithm'],_0x4ad360=_0x3f7187[_0x3067cb(0x3b8)];_0x4ad360[_0x3067cb(0x137)];var _0x33b5f5=_0x4ad360[_0x3067cb(0x253)],_0x44d99e=_0x3f7187[_0x3067cb(0x1ce)],_0x774c02=_0x44d99e['EvpKDF'],_0xd59a65=_0x36eb52[_0x3067cb(0x22a)]=_0x2b6b29[_0x3067cb(0x1d1)]({'cfg':_0x3db940[_0x3067cb(0x1d1)](),'createEncryptor':function(_0x3f6416,_0x503f2a){var _0x350ffa=_0x3067cb;return this['create'](this[_0x350ffa(0x228)],_0x3f6416,_0x503f2a);},'createDecryptor':function(_0x52c5bd,_0x282e72){var _0x4598a2=_0x3067cb;return this[_0x4598a2(0x41c)](this['_DEC_XFORM_MODE'],_0x52c5bd,_0x282e72);},'init':function(_0x28804b,_0xa30768,_0x1f6034){var _0x7aab2a=_0x3067cb;this[_0x7aab2a(0x188)]=this[_0x7aab2a(0x188)]['extend'](_0x1f6034),this[_0x7aab2a(0x23e)]=_0x28804b,this[_0x7aab2a(0x2cb)]=_0xa30768,this['reset']();},'reset':function(){var _0x174625=_0x3067cb;_0x2b6b29['reset'][_0x174625(0x369)](this),this['_doReset']();},'process':function(_0x4a7cb5){var _0x2a183c=_0x3067cb;return this[_0x2a183c(0x205)](_0x4a7cb5),this[_0x2a183c(0x42b)]();},'finalize':function(_0x5ad490){var _0x76df9a=_0x3067cb;_0x5ad490&&this[_0x76df9a(0x205)](_0x5ad490);var _0x496e02=this[_0x76df9a(0x41a)]();return _0x496e02;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x319d13(_0xfd772f){var _0x56e413=_0x3799;return typeof _0xfd772f==_0x56e413(0x161)?_0x6de7fe:_0x343169;}return function(_0x541b24){return{'encrypt':function(_0x20df36,_0x1e17bf,_0x5dba51){return _0x319d13(_0x1e17bf)['encrypt'](_0x541b24,_0x20df36,_0x1e17bf,_0x5dba51);},'decrypt':function(_0x384d57,_0xa92d80,_0x2e7b0b){return _0x319d13(_0xa92d80)['decrypt'](_0x541b24,_0x384d57,_0xa92d80,_0x2e7b0b);}};};}())});_0x36eb52['StreamCipher']=_0xd59a65[_0x3067cb(0x1d1)]({'_doFinalize':function(){var _0x4dd7b3=_0x3067cb,_0x5647fa=this[_0x4dd7b3(0x42b)](!0x0);return _0x5647fa;},'blockSize':0x1});var _0x1518f0=_0x3f7187[_0x3067cb(0x316)]={},_0x512537=_0x36eb52[_0x3067cb(0x198)]=_0x3db940['extend']({'createEncryptor':function(_0x311d36,_0x5909fa){var _0x4358fe=_0x3067cb;return this[_0x4358fe(0x2ff)]['create'](_0x311d36,_0x5909fa);},'createDecryptor':function(_0x41225f,_0x55513c){var _0x56db33=_0x3067cb;return this['Decryptor'][_0x56db33(0x41c)](_0x41225f,_0x55513c);},'init':function(_0x2d5647,_0x12246c){var _0x1efbda=_0x3067cb;this['_cipher']=_0x2d5647,this[_0x1efbda(0x2f2)]=_0x12246c;}}),_0x13ac21=_0x1518f0[_0x3067cb(0x331)]=(function(){var _0x4a7535=_0x3067cb,_0x47ca39=_0x512537[_0x4a7535(0x1d1)]();_0x47ca39[_0x4a7535(0x2ff)]=_0x47ca39['extend']({'processBlock':function(_0x416e47,_0x157f9a){var _0x3b8b84=_0x4a7535,_0x4cb7e6=this[_0x3b8b84(0x40e)],_0x175f37=_0x4cb7e6[_0x3b8b84(0x2bf)];_0x421254[_0x3b8b84(0x369)](this,_0x416e47,_0x157f9a,_0x175f37),_0x4cb7e6[_0x3b8b84(0x2b9)](_0x416e47,_0x157f9a),this[_0x3b8b84(0x478)]=_0x416e47[_0x3b8b84(0x22e)](_0x157f9a,_0x157f9a+_0x175f37);}}),_0x47ca39[_0x4a7535(0x155)]=_0x47ca39[_0x4a7535(0x1d1)]({'processBlock':function(_0x44c35b,_0x1fd18c){var _0x41e384=_0x4a7535,_0x58b36a=this[_0x41e384(0x40e)],_0x23fbb7=_0x58b36a[_0x41e384(0x2bf)],_0x126214=_0x44c35b[_0x41e384(0x22e)](_0x1fd18c,_0x1fd18c+_0x23fbb7);_0x58b36a['decryptBlock'](_0x44c35b,_0x1fd18c),_0x421254[_0x41e384(0x369)](this,_0x44c35b,_0x1fd18c,_0x23fbb7),this[_0x41e384(0x478)]=_0x126214;}});function _0x421254(_0x49ea51,_0x3d45c2,_0x4ab15f){var _0x379a8b=_0x4a7535,_0x5a7592,_0x2d4e2c=this['_iv'];_0x2d4e2c?(_0x5a7592=_0x2d4e2c,this[_0x379a8b(0x2f2)]=_0xbe50c2):_0x5a7592=this[_0x379a8b(0x478)];for(var _0x420bbe=0x0;_0x420bbe<_0x4ab15f;_0x420bbe++)_0x49ea51[_0x3d45c2+_0x420bbe]^=_0x5a7592[_0x420bbe];}return _0x47ca39;}()),_0x30bb1b=_0x3f7187[_0x3067cb(0x2f7)]={},_0x2247bf=_0x30bb1b[_0x3067cb(0x1e2)]={'pad':function(_0x274946,_0xa54cf2){var _0x441c4e=_0x3067cb;for(var _0x29386d=_0xa54cf2*0x4,_0x2c9be2=_0x29386d-_0x274946['sigBytes']%_0x29386d,_0x339022=_0x2c9be2<<0x18|_0x2c9be2<<0x10|_0x2c9be2<<0x8|_0x2c9be2,_0x46ebc6=[],_0x890df9=0x0;_0x890df9<_0x2c9be2;_0x890df9+=0x4)_0x46ebc6[_0x441c4e(0x427)](_0x339022);var _0x3dcb9e=_0x201eab['create'](_0x46ebc6,_0x2c9be2);_0x274946[_0x441c4e(0x16a)](_0x3dcb9e);},'unpad':function(_0xf23aea){var _0x1f6a43=_0x3067cb,_0x548228=_0xf23aea['words'][_0xf23aea[_0x1f6a43(0x359)]-0x1>>>0x2]&0xff;_0xf23aea[_0x1f6a43(0x359)]-=_0x548228;}};_0x36eb52[_0x3067cb(0x3dc)]=_0xd59a65['extend']({'cfg':_0xd59a65[_0x3067cb(0x188)][_0x3067cb(0x1d1)]({'mode':_0x13ac21,'padding':_0x2247bf}),'reset':function(){var _0x4d6f3d=_0x3067cb,_0x1b67c0;_0xd59a65[_0x4d6f3d(0x28d)][_0x4d6f3d(0x369)](this);var _0x40dac6=this[_0x4d6f3d(0x188)],_0x3c3976=_0x40dac6['iv'],_0x32105f=_0x40dac6[_0x4d6f3d(0x316)];this[_0x4d6f3d(0x23e)]==this[_0x4d6f3d(0x228)]?_0x1b67c0=_0x32105f[_0x4d6f3d(0x3de)]:(_0x1b67c0=_0x32105f[_0x4d6f3d(0x450)],this['_minBufferSize']=0x1),this[_0x4d6f3d(0x45b)]&&this['_mode']['__creator']==_0x1b67c0?this[_0x4d6f3d(0x45b)][_0x4d6f3d(0x29e)](this,_0x3c3976&&_0x3c3976['words']):(this[_0x4d6f3d(0x45b)]=_0x1b67c0[_0x4d6f3d(0x369)](_0x32105f,this,_0x3c3976&&_0x3c3976[_0x4d6f3d(0x3fc)]),this[_0x4d6f3d(0x45b)][_0x4d6f3d(0x237)]=_0x1b67c0);},'_doProcessBlock':function(_0x4b054d,_0x18cf72){var _0x448d2e=_0x3067cb;this[_0x448d2e(0x45b)][_0x448d2e(0x224)](_0x4b054d,_0x18cf72);},'_doFinalize':function(){var _0x528ad1=_0x3067cb,_0x5bd47c,_0x4335bb=this[_0x528ad1(0x188)][_0x528ad1(0x3be)];return this[_0x528ad1(0x23e)]==this[_0x528ad1(0x228)]?(_0x4335bb[_0x528ad1(0x2f7)](this['_data'],this['blockSize']),_0x5bd47c=this[_0x528ad1(0x42b)](!0x0)):(_0x5bd47c=this[_0x528ad1(0x42b)](!0x0),_0x4335bb[_0x528ad1(0x3b5)](_0x5bd47c)),_0x5bd47c;},'blockSize':0x80/0x20});var _0x88c68f=_0x36eb52[_0x3067cb(0x19d)]=_0x3db940[_0x3067cb(0x1d1)]({'init':function(_0x1e9a24){this['mixIn'](_0x1e9a24);},'toString':function(_0x41f073){var _0x4521eb=_0x3067cb;return(_0x41f073||this['formatter'])[_0x4521eb(0x13b)](this);}}),_0x5eaa3a=_0x3f7187[_0x3067cb(0x31e)]={},_0x3ebbd8=_0x5eaa3a[_0x3067cb(0x111)]={'stringify':function(_0x244f03){var _0x1a45d7=_0x3067cb,_0x208460,_0xa25b78=_0x244f03[_0x1a45d7(0x3da)],_0x455358=_0x244f03['salt'];return _0x455358?_0x208460=_0x201eab[_0x1a45d7(0x41c)]([0x53616c74,0x65645f5f])[_0x1a45d7(0x16a)](_0x455358)[_0x1a45d7(0x16a)](_0xa25b78):_0x208460=_0xa25b78,_0x208460[_0x1a45d7(0x3d7)](_0x33b5f5);},'parse':function(_0x17a2f5){var _0x397f81=_0x3067cb,_0x3a5445,_0x52a1ff=_0x33b5f5[_0x397f81(0x437)](_0x17a2f5),_0x644aea=_0x52a1ff[_0x397f81(0x3fc)];return _0x644aea[0x0]==0x53616c74&&_0x644aea[0x1]==0x65645f5f&&(_0x3a5445=_0x201eab[_0x397f81(0x41c)](_0x644aea[_0x397f81(0x22e)](0x2,0x4)),_0x644aea[_0x397f81(0x3a7)](0x0,0x4),_0x52a1ff[_0x397f81(0x359)]-=0x10),_0x88c68f[_0x397f81(0x41c)]({'ciphertext':_0x52a1ff,'salt':_0x3a5445});}},_0x343169=_0x36eb52[_0x3067cb(0x376)]=_0x3db940[_0x3067cb(0x1d1)]({'cfg':_0x3db940[_0x3067cb(0x1d1)]({'format':_0x3ebbd8}),'encrypt':function(_0x567648,_0x5bdc51,_0x473263,_0x10abc6){var _0x4d00ad=_0x3067cb;_0x10abc6=this[_0x4d00ad(0x188)][_0x4d00ad(0x1d1)](_0x10abc6);var _0x136ea1=_0x567648['createEncryptor'](_0x473263,_0x10abc6),_0x4f76ad=_0x136ea1['finalize'](_0x5bdc51),_0x2e7561=_0x136ea1[_0x4d00ad(0x188)];return _0x88c68f['create']({'ciphertext':_0x4f76ad,'key':_0x473263,'iv':_0x2e7561['iv'],'algorithm':_0x567648,'mode':_0x2e7561[_0x4d00ad(0x316)],'padding':_0x2e7561[_0x4d00ad(0x3be)],'blockSize':_0x567648[_0x4d00ad(0x2bf)],'formatter':_0x10abc6['format']});},'decrypt':function(_0x4f9456,_0x373d12,_0x57c87d,_0x1543a3){var _0x13777e=_0x3067cb;_0x1543a3=this[_0x13777e(0x188)][_0x13777e(0x1d1)](_0x1543a3),_0x373d12=this['_parse'](_0x373d12,_0x1543a3['format']);var _0x2fa918=_0x4f9456[_0x13777e(0x450)](_0x57c87d,_0x1543a3)[_0x13777e(0x2aa)](_0x373d12[_0x13777e(0x3da)]);return _0x2fa918;},'_parse':function(_0x280699,_0x409ac1){var _0x155481=_0x3067cb;return typeof _0x280699==_0x155481(0x161)?_0x409ac1[_0x155481(0x437)](_0x280699,this):_0x280699;}}),_0x3a20d4=_0x3f7187[_0x3067cb(0x221)]={},_0x14cad0=_0x3a20d4[_0x3067cb(0x111)]={'execute':function(_0x3ed257,_0x5504c5,_0x5c4ad5,_0x3c8aa2,_0x3b874e){var _0x53a665=_0x3067cb;if(_0x3c8aa2||(_0x3c8aa2=_0x201eab[_0x53a665(0x126)](0x40/0x8)),_0x3b874e)var _0xf9e274=_0x774c02[_0x53a665(0x41c)]({'keySize':_0x5504c5+_0x5c4ad5,'hasher':_0x3b874e})['compute'](_0x3ed257,_0x3c8aa2);else var _0xf9e274=_0x774c02[_0x53a665(0x41c)]({'keySize':_0x5504c5+_0x5c4ad5})[_0x53a665(0x394)](_0x3ed257,_0x3c8aa2);var _0x248f08=_0x201eab['create'](_0xf9e274[_0x53a665(0x3fc)][_0x53a665(0x22e)](_0x5504c5),_0x5c4ad5*0x4);return _0xf9e274[_0x53a665(0x359)]=_0x5504c5*0x4,_0x88c68f[_0x53a665(0x41c)]({'key':_0xf9e274,'iv':_0x248f08,'salt':_0x3c8aa2});}},_0x6de7fe=_0x36eb52[_0x3067cb(0x2ed)]=_0x343169[_0x3067cb(0x1d1)]({'cfg':_0x343169[_0x3067cb(0x188)]['extend']({'kdf':_0x14cad0}),'encrypt':function(_0x28138d,_0x48ce8b,_0x501e48,_0x417754){var _0x48855e=_0x3067cb;_0x417754=this[_0x48855e(0x188)][_0x48855e(0x1d1)](_0x417754);var _0x17a338=_0x417754[_0x48855e(0x221)]['execute'](_0x501e48,_0x28138d['keySize'],_0x28138d[_0x48855e(0x148)],_0x417754[_0x48855e(0x13d)],_0x417754[_0x48855e(0x290)]);_0x417754['iv']=_0x17a338['iv'];var _0x55f23f=_0x343169['encrypt'][_0x48855e(0x369)](this,_0x28138d,_0x48ce8b,_0x17a338[_0x48855e(0x460)],_0x417754);return _0x55f23f[_0x48855e(0x156)](_0x17a338),_0x55f23f;},'decrypt':function(_0x518329,_0x1d1891,_0x2aede4,_0x49d660){var _0x2dc1a9=_0x3067cb;_0x49d660=this[_0x2dc1a9(0x188)][_0x2dc1a9(0x1d1)](_0x49d660),_0x1d1891=this[_0x2dc1a9(0x378)](_0x1d1891,_0x49d660[_0x2dc1a9(0x31e)]);var _0x558381=_0x49d660[_0x2dc1a9(0x221)][_0x2dc1a9(0x433)](_0x2aede4,_0x518329[_0x2dc1a9(0x40b)],_0x518329['ivSize'],_0x1d1891['salt'],_0x49d660['hasher']);_0x49d660['iv']=_0x558381['iv'];var _0x41b1c9=_0x343169[_0x2dc1a9(0x2b6)]['call'](this,_0x518329,_0x1d1891,_0x558381[_0x2dc1a9(0x460)],_0x49d660);return _0x41b1c9;}});}();}));}(Te)),Te[_0x5d46bb(0x14e)];}var ki=fe['exports'],it;function Hi(){var _0x275063=_0x274a5e;return it||(it=0x1,function(_0x4934ec,_0x4a3dbb){(function(_0xbcd598,_0x276947,_0x1a0e23){var _0x10dd59=_0x3799;_0x4934ec[_0x10dd59(0x14e)]=_0x276947(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x27e282){return(function(){var _0x57d579=_0x3799,_0x5305ea=_0x27e282,_0x388298=_0x5305ea['lib'],_0x312bcd=_0x388298[_0x57d579(0x3dc)],_0x28c498=_0x5305ea[_0x57d579(0x1ce)],_0xf45139=[],_0x54ba17=[],_0x2aca07=[],_0x3119df=[],_0x41b9f0=[],_0x37d159=[],_0x1381e1=[],_0x5a4366=[],_0x351424=[],_0x35bf39=[];(function(){for(var _0x446470=[],_0x40808a=0x0;_0x40808a<0x100;_0x40808a++)_0x40808a<0x80?_0x446470[_0x40808a]=_0x40808a<<0x1:_0x446470[_0x40808a]=_0x40808a<<0x1^0x11b;for(var _0x389e87=0x0,_0x148bae=0x0,_0x40808a=0x0;_0x40808a<0x100;_0x40808a++){var _0x1b0948=_0x148bae^_0x148bae<<0x1^_0x148bae<<0x2^_0x148bae<<0x3^_0x148bae<<0x4;_0x1b0948=_0x1b0948>>>0x8^_0x1b0948&0xff^0x63,_0xf45139[_0x389e87]=_0x1b0948,_0x54ba17[_0x1b0948]=_0x389e87;var _0x4ed0e2=_0x446470[_0x389e87],_0x45a5a5=_0x446470[_0x4ed0e2],_0x34d263=_0x446470[_0x45a5a5],_0x3eea57=_0x446470[_0x1b0948]*0x101^_0x1b0948*0x1010100;_0x2aca07[_0x389e87]=_0x3eea57<<0x18|_0x3eea57>>>0x8,_0x3119df[_0x389e87]=_0x3eea57<<0x10|_0x3eea57>>>0x10,_0x41b9f0[_0x389e87]=_0x3eea57<<0x8|_0x3eea57>>>0x18,_0x37d159[_0x389e87]=_0x3eea57;var _0x3eea57=_0x34d263*0x1010101^_0x45a5a5*0x10001^_0x4ed0e2*0x101^_0x389e87*0x1010100;_0x1381e1[_0x1b0948]=_0x3eea57<<0x18|_0x3eea57>>>0x8,_0x5a4366[_0x1b0948]=_0x3eea57<<0x10|_0x3eea57>>>0x10,_0x351424[_0x1b0948]=_0x3eea57<<0x8|_0x3eea57>>>0x18,_0x35bf39[_0x1b0948]=_0x3eea57,_0x389e87?(_0x389e87=_0x4ed0e2^_0x446470[_0x446470[_0x446470[_0x34d263^_0x4ed0e2]]],_0x148bae^=_0x446470[_0x446470[_0x148bae]]):_0x389e87=_0x148bae=0x1;}}());var _0x2c9d5e=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45f3ce=_0x28c498[_0x57d579(0x2ca)]=_0x312bcd['extend']({'_doReset':function(){var _0x5296d1=_0x57d579,_0x4748e7;if(!(this[_0x5296d1(0x403)]&&this['_keyPriorReset']===this['_key'])){for(var _0x2fa989=this['_keyPriorReset']=this[_0x5296d1(0x2cb)],_0x1f09cb=_0x2fa989[_0x5296d1(0x3fc)],_0x209689=_0x2fa989[_0x5296d1(0x359)]/0x4,_0x4ba560=this['_nRounds']=_0x209689+0x6,_0x4f10f6=(_0x4ba560+0x1)*0x4,_0x21159d=this['_keySchedule']=[],_0x2f2f0c=0x0;_0x2f2f0c<_0x4f10f6;_0x2f2f0c++)_0x2f2f0c<_0x209689?_0x21159d[_0x2f2f0c]=_0x1f09cb[_0x2f2f0c]:(_0x4748e7=_0x21159d[_0x2f2f0c-0x1],_0x2f2f0c%_0x209689?_0x209689>0x6&&_0x2f2f0c%_0x209689==0x4&&(_0x4748e7=_0xf45139[_0x4748e7>>>0x18]<<0x18|_0xf45139[_0x4748e7>>>0x10&0xff]<<0x10|_0xf45139[_0x4748e7>>>0x8&0xff]<<0x8|_0xf45139[_0x4748e7&0xff]):(_0x4748e7=_0x4748e7<<0x8|_0x4748e7>>>0x18,_0x4748e7=_0xf45139[_0x4748e7>>>0x18]<<0x18|_0xf45139[_0x4748e7>>>0x10&0xff]<<0x10|_0xf45139[_0x4748e7>>>0x8&0xff]<<0x8|_0xf45139[_0x4748e7&0xff],_0x4748e7^=_0x2c9d5e[_0x2f2f0c/_0x209689|0x0]<<0x18),_0x21159d[_0x2f2f0c]=_0x21159d[_0x2f2f0c-_0x209689]^_0x4748e7);for(var _0x3e48dd=this[_0x5296d1(0x20a)]=[],_0x4fa168=0x0;_0x4fa168<_0x4f10f6;_0x4fa168++){var _0x2f2f0c=_0x4f10f6-_0x4fa168;if(_0x4fa168%0x4)var _0x4748e7=_0x21159d[_0x2f2f0c];else var _0x4748e7=_0x21159d[_0x2f2f0c-0x4];_0x4fa168<0x4||_0x2f2f0c<=0x4?_0x3e48dd[_0x4fa168]=_0x4748e7:_0x3e48dd[_0x4fa168]=_0x1381e1[_0xf45139[_0x4748e7>>>0x18]]^_0x5a4366[_0xf45139[_0x4748e7>>>0x10&0xff]]^_0x351424[_0xf45139[_0x4748e7>>>0x8&0xff]]^_0x35bf39[_0xf45139[_0x4748e7&0xff]];}}},'encryptBlock':function(_0x122960,_0xc767d7){var _0xbb7c13=_0x57d579;this[_0xbb7c13(0x307)](_0x122960,_0xc767d7,this[_0xbb7c13(0x3a9)],_0x2aca07,_0x3119df,_0x41b9f0,_0x37d159,_0xf45139);},'decryptBlock':function(_0x1c95ab,_0x53a1f0){var _0x24ec12=_0x57d579,_0x2aa176=_0x1c95ab[_0x53a1f0+0x1];_0x1c95ab[_0x53a1f0+0x1]=_0x1c95ab[_0x53a1f0+0x3],_0x1c95ab[_0x53a1f0+0x3]=_0x2aa176,this[_0x24ec12(0x307)](_0x1c95ab,_0x53a1f0,this[_0x24ec12(0x20a)],_0x1381e1,_0x5a4366,_0x351424,_0x35bf39,_0x54ba17);var _0x2aa176=_0x1c95ab[_0x53a1f0+0x1];_0x1c95ab[_0x53a1f0+0x1]=_0x1c95ab[_0x53a1f0+0x3],_0x1c95ab[_0x53a1f0+0x3]=_0x2aa176;},'_doCryptBlock':function(_0x54a5d8,_0x37f4d5,_0x2a7edc,_0x331389,_0x5e57dc,_0x33fd15,_0x1d6d3d,_0x47e10d){var _0x29b853=_0x57d579;for(var _0x3dcbfb=this[_0x29b853(0x403)],_0x75c032=_0x54a5d8[_0x37f4d5]^_0x2a7edc[0x0],_0x394be2=_0x54a5d8[_0x37f4d5+0x1]^_0x2a7edc[0x1],_0x41d3f9=_0x54a5d8[_0x37f4d5+0x2]^_0x2a7edc[0x2],_0x383acb=_0x54a5d8[_0x37f4d5+0x3]^_0x2a7edc[0x3],_0xab159c=0x4,_0x59545a=0x1;_0x59545a<_0x3dcbfb;_0x59545a++){var _0x241a0f=_0x331389[_0x75c032>>>0x18]^_0x5e57dc[_0x394be2>>>0x10&0xff]^_0x33fd15[_0x41d3f9>>>0x8&0xff]^_0x1d6d3d[_0x383acb&0xff]^_0x2a7edc[_0xab159c++],_0x144810=_0x331389[_0x394be2>>>0x18]^_0x5e57dc[_0x41d3f9>>>0x10&0xff]^_0x33fd15[_0x383acb>>>0x8&0xff]^_0x1d6d3d[_0x75c032&0xff]^_0x2a7edc[_0xab159c++],_0x33dfd8=_0x331389[_0x41d3f9>>>0x18]^_0x5e57dc[_0x383acb>>>0x10&0xff]^_0x33fd15[_0x75c032>>>0x8&0xff]^_0x1d6d3d[_0x394be2&0xff]^_0x2a7edc[_0xab159c++],_0x442d6b=_0x331389[_0x383acb>>>0x18]^_0x5e57dc[_0x75c032>>>0x10&0xff]^_0x33fd15[_0x394be2>>>0x8&0xff]^_0x1d6d3d[_0x41d3f9&0xff]^_0x2a7edc[_0xab159c++];_0x75c032=_0x241a0f,_0x394be2=_0x144810,_0x41d3f9=_0x33dfd8,_0x383acb=_0x442d6b;}var _0x241a0f=(_0x47e10d[_0x75c032>>>0x18]<<0x18|_0x47e10d[_0x394be2>>>0x10&0xff]<<0x10|_0x47e10d[_0x41d3f9>>>0x8&0xff]<<0x8|_0x47e10d[_0x383acb&0xff])^_0x2a7edc[_0xab159c++],_0x144810=(_0x47e10d[_0x394be2>>>0x18]<<0x18|_0x47e10d[_0x41d3f9>>>0x10&0xff]<<0x10|_0x47e10d[_0x383acb>>>0x8&0xff]<<0x8|_0x47e10d[_0x75c032&0xff])^_0x2a7edc[_0xab159c++],_0x33dfd8=(_0x47e10d[_0x41d3f9>>>0x18]<<0x18|_0x47e10d[_0x383acb>>>0x10&0xff]<<0x10|_0x47e10d[_0x75c032>>>0x8&0xff]<<0x8|_0x47e10d[_0x394be2&0xff])^_0x2a7edc[_0xab159c++],_0x442d6b=(_0x47e10d[_0x383acb>>>0x18]<<0x18|_0x47e10d[_0x75c032>>>0x10&0xff]<<0x10|_0x47e10d[_0x394be2>>>0x8&0xff]<<0x8|_0x47e10d[_0x41d3f9&0xff])^_0x2a7edc[_0xab159c++];_0x54a5d8[_0x37f4d5]=_0x241a0f,_0x54a5d8[_0x37f4d5+0x1]=_0x144810,_0x54a5d8[_0x37f4d5+0x2]=_0x33dfd8,_0x54a5d8[_0x37f4d5+0x3]=_0x442d6b;},'keySize':0x100/0x20});_0x5305ea[_0x57d579(0x2ca)]=_0x312bcd[_0x57d579(0x33b)](_0x45f3ce);}()),_0x27e282['AES'];}));}(fe)),fe[_0x275063(0x14e)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x274a5e(0x14e)],rt;function Vi(){var _0x59ee73=_0x274a5e;return rt||(rt=0x1,function(_0x3281e9,_0x1e6e65){(function(_0x1b4d1e,_0x46ad53){var _0x23c6ac=_0x3799;_0x3281e9[_0x23c6ac(0x14e)]=_0x46ad53(Q());}(Fi,function(_0x5bf81b){var _0x5a25d4=_0x3799;return _0x5bf81b[_0x5a25d4(0x3b8)][_0x5a25d4(0x137)];}));}(be)),be[_0x59ee73(0x14e)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x274a5e(0x14e)],st;function Yi(){var _0xa5e946=_0x274a5e;return st||(st=0x1,function(_0x19b3b5,_0x8ca3c2){(function(_0x46e0c1,_0x2f88f5){var _0x1ea6cd=_0x3799;_0x19b3b5[_0x1ea6cd(0x14e)]=_0x2f88f5(Q());}(Ki,function(_0x2fc8e6){var _0x19bfdd=_0x3799;return(function(){var _0x28a077=_0x3799;if(typeof ArrayBuffer==_0x28a077(0x1a4)){var _0x26bfaf=_0x2fc8e6,_0x1e4f56=_0x26bfaf[_0x28a077(0x11e)],_0x32cf70=_0x1e4f56[_0x28a077(0x2fd)],_0x3516b5=_0x32cf70[_0x28a077(0x29e)],_0x4d4397=_0x32cf70['init']=function(_0x58d827){var _0x5711a5=_0x28a077;if(_0x58d827 instanceof ArrayBuffer&&(_0x58d827=new Uint8Array(_0x58d827)),(_0x58d827 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58d827 instanceof Uint8ClampedArray||_0x58d827 instanceof Int16Array||_0x58d827 instanceof Uint16Array||_0x58d827 instanceof Int32Array||_0x58d827 instanceof Uint32Array||_0x58d827 instanceof Float32Array||_0x58d827 instanceof Float64Array)&&(_0x58d827=new Uint8Array(_0x58d827[_0x5711a5(0x43d)],_0x58d827[_0x5711a5(0x46c)],_0x58d827[_0x5711a5(0x164)])),_0x58d827 instanceof Uint8Array){for(var _0x5623d6=_0x58d827[_0x5711a5(0x164)],_0x1e8919=[],_0xc0122c=0x0;_0xc0122c<_0x5623d6;_0xc0122c++)_0x1e8919[_0xc0122c>>>0x2]|=_0x58d827[_0xc0122c]<<0x18-_0xc0122c%0x4*0x8;_0x3516b5[_0x5711a5(0x369)](this,_0x1e8919,_0x5623d6);}else _0x3516b5[_0x5711a5(0x175)](this,arguments);};_0x4d4397['prototype']=_0x32cf70;}}()),_0x2fc8e6[_0x19bfdd(0x11e)][_0x19bfdd(0x2fd)];}));}(Re)),Re[_0xa5e946(0x14e)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x274a5e(0x14e)],ot;function Xi(){var _0xf5171d=_0x274a5e;return ot||(ot=0x1,function(_0x2c4f4c,_0x163dcd){(function(_0x27486b,_0x17f519,_0x26c1ef){var _0x5b0e2b=_0x3799;_0x2c4f4c[_0x5b0e2b(0x14e)]=_0x17f519(Q(),Ut());}(Ji,function(_0x86fb3b){var _0x26f127=_0x3799;return _0x86fb3b['pad'][_0x26f127(0x2cd)]={'pad':function(){},'unpad':function(){}},_0x86fb3b[_0x26f127(0x2f7)][_0x26f127(0x2cd)];}));}(Oe)),Oe[_0xf5171d(0x14e)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5b517f,_0x8b0183){var _0x4605d5=_0x274a5e;const _0x1712f3=_0x8b0183-_0x5b517f[_0x4605d5(0x2d6)]%_0x8b0183,_0x12e117=String['fromCharCode'](_0x1712f3)[_0x4605d5(0x158)](_0x1712f3);return _0x5b517f+_0x12e117;}function tn(_0x128e30,_0x50a347){var _0x347507=_0x274a5e;const _0xd31e1b=zi['random'](0x10),_0x5c0151=en(_0x128e30,0x10),_0x3d260c=ji[_0x347507(0x17a)](Gi['parse'](_0x5c0151),nt[_0x347507(0x437)](_0x50a347),{'iv':_0xd31e1b,'padding':Qi});return _0xd31e1b[_0x347507(0x16a)](_0x3d260c[_0x347507(0x3da)])[_0x347507(0x3d7)](nt);}function nn(){var _0x36e912=_0x274a5e;const _0x48445f=wt[_0x36e912(0x419)]()[_0x36e912(0x451)];if(_0x48445f){const _0x829a26={'time':Math[_0x36e912(0x3fd)](Date[_0x36e912(0x300)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x36e912(0x13b)](_0x829a26),_0x48445f);}}var rn=Object[_0x274a5e(0x171)],sn=(_0x1ac8a6,_0x4640ff,_0x1fcc7a,_0x161571)=>{for(var _0x5de4fc=_0x161571>0x1?void 0x0:_0x161571?rn(_0x4640ff,_0x1fcc7a):_0x4640ff,_0x3d7d58=_0x1ac8a6['length']-0x1,_0xe530e2;_0x3d7d58>=0x0;_0x3d7d58--)(_0xe530e2=_0x1ac8a6[_0x3d7d58])&&(_0x5de4fc=_0xe530e2(_0x5de4fc)||_0x5de4fc);return _0x5de4fc;},on=(_0x3b4956,_0x56cf11)=>(_0x485f17,_0xd3e357)=>_0x56cf11(_0x485f17,_0xd3e357,_0x3b4956);let Ne=class{constructor(_0x1f7de5){var _0x15218f=_0x274a5e;this[_0x15218f(0x15c)]=_0x1f7de5,this[_0x15218f(0x209)]();}['_initRequestHeader'](){var _0x108b92=_0x274a5e;this[_0x108b92(0x15c)]['registerHTTPInterceptor']({'interceptor':(_0x457b19,_0x5abef0)=>{var _0x3007e1=_0x108b92;const _0x46f170=_0x457b19['headers'],_0x45c5b5=nn();return _0x45c5b5&&_0x46f170[_0x3007e1(0x404)](_0x3007e1(0x182),_0x45c5b5),_0x5abef0(_0x457b19);}});}};Ne=sn([on(0x0,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],Ne);var an=Object[_0x274a5e(0x171)],cn=(_0x23305a,_0x179793,_0x3e538f,_0x2dbfd5)=>{var _0x2d122a=_0x274a5e;for(var _0x351bdf=_0x2dbfd5>0x1?void 0x0:_0x2dbfd5?an(_0x179793,_0x3e538f):_0x179793,_0x10641e=_0x23305a[_0x2d122a(0x2d6)]-0x1,_0x4f698c;_0x10641e>=0x0;_0x10641e--)(_0x4f698c=_0x23305a[_0x10641e])&&(_0x351bdf=_0x4f698c(_0x351bdf)||_0x351bdf);return _0x351bdf;},we=(_0xc2d5c5,_0x50c60f)=>(_0x2475cb,_0x1894fd)=>_0x50c60f(_0x2475cb,_0x1894fd,_0xc2d5c5);exports['DataLoaderService']=class extends a[_0x274a5e(0x162)]{constructor(_0x2d0939,_0x27fd41,_0x3b8d94){var _0x4fa726=_0x274a5e;super(),A(this,'_unitInfo$',new $[(_0x4fa726(0x1f3))](null)),A(this,_0x4fa726(0x38b),this[_0x4fa726(0x484)][_0x4fa726(0x21d)]()),(this['_logService']=_0x2d0939,this[_0x4fa726(0x17e)]=_0x27fd41,this[_0x4fa726(0x38a)]=_0x3b8d94);}async[_0x274a5e(0x318)](_0x108953,_0x4b04c6,_0x406ee7){var _0x440c42=_0x274a5e;this[_0x440c42(0x484)]['next']({'unitId':_0x108953,'type':_0x4b04c6});let _0x4a65d7=null;switch(_0x4b04c6){case J[_0x440c42(0x2ad)]:{_0x4a65d7=await this[_0x440c42(0x17e)][_0x440c42(0x357)](_0x108953,_0x406ee7);break;}case J[_0x440c42(0x339)]:{_0x4a65d7=await this[_0x440c42(0x17e)][_0x440c42(0x2ae)](_0x108953,_0x406ee7);break;}default:{this[_0x440c42(0x2e3)][_0x440c42(0x3c7)]('[DataLoaderService]',_0x440c42(0x22f));break;}}return _0x4a65d7;}async[_0x274a5e(0x291)](_0x29b98a,_0x11459f,_0x2e7d3f){var _0x48119f=_0x274a5e,_0x55c336;this[_0x48119f(0x484)][_0x48119f(0x226)]({'unitId':_0x29b98a,'type':_0x11459f,'subUnitId':_0x2e7d3f});let _0x391676=0x0;const _0x57e62b=await((_0x55c336=this[_0x48119f(0x38a)])==null?void 0x0:_0x55c336['loadOfflineData'](_0x29b98a));return _0x57e62b&&(_0x57e62b['awaitingChangeset']||_0x57e62b[_0x48119f(0x36e)][_0x48119f(0x2d6)]!==0x0)&&(_0x391676=_0x57e62b[_0x48119f(0x37c)]),_0x391676===0x0&&this[_0x48119f(0x2e3)][_0x48119f(0x429)](_0x48119f(0x3df),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x48119f(0x318)](_0x29b98a,_0x11459f,_0x391676);}},exports[_0x274a5e(0x217)]=cn([we(0x0,a[_0x274a5e(0x45a)]),we(0x1,a[_0x274a5e(0x2bc)](I[_0x274a5e(0x370)])),we(0x2,a[_0x274a5e(0x43b)](q))],exports[_0x274a5e(0x217)]);var hn=Object[_0x274a5e(0x171)],_n=(_0x28e3d2,_0x5631a4,_0x27677d,_0x1fbfe0)=>{var _0x55b30f=_0x274a5e;for(var _0x456041=_0x1fbfe0>0x1?void 0x0:_0x1fbfe0?hn(_0x5631a4,_0x27677d):_0x5631a4,_0x5890fa=_0x28e3d2[_0x55b30f(0x2d6)]-0x1,_0x458510;_0x5890fa>=0x0;_0x5890fa--)(_0x458510=_0x28e3d2[_0x5890fa])&&(_0x456041=_0x458510(_0x456041)||_0x456041);return _0x456041;},Le=(_0x366982,_0x44ea26)=>(_0x55e3ed,_0x54bd26)=>_0x44ea26(_0x55e3ed,_0x54bd26,_0x366982);const ln=[_0x274a5e(0x45e),'image/jpeg',_0x274a5e(0x471),'image/gif',_0x274a5e(0x434)],un=0x5*0x400*0x400,dn=_0x274a5e(0x2f3),vn=_0x274a5e(0x3ff),Sn=_0x274a5e(0x3b6),fn=_0x274a5e(0x2d2);exports['CollaborationImageIoService']=class{constructor(_0x239978,_0x16491b,_0x24a726){var _0x1e27d1=_0x274a5e;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x1e27d1(0x42c))]()),A(this,'change$',this[_0x1e27d1(0x325)]),A(this,_0x1e27d1(0x34c),new Map()),(this[_0x1e27d1(0x15c)]=_0x239978,this[_0x1e27d1(0x317)]=_0x16491b,this['_univerInstanceService']=_0x24a726);}[_0x274a5e(0x28f)](_0x456a5e){var _0x35ca4f=_0x274a5e;this[_0x35ca4f(0x1cf)]=_0x456a5e,this['_change$'][_0x35ca4f(0x226)](_0x456a5e);}[_0x274a5e(0x112)](_0x176bfa,_0x4b6ad2){var _0x5c2d66=_0x274a5e;if(_0x4b6ad2===z['ImageSourceType']['BASE64']){const _0xf7eb02=new Image();return _0xf7eb02['src']=_0x176bfa,_0xf7eb02;}return this['_imageSourceCache'][_0x5c2d66(0x319)](_0x176bfa);}['addImageSourceCache'](_0x446433,_0x5bf486,_0x159b42){var _0x29dd96=_0x274a5e;_0x5bf486===z['ImageSourceType'][_0x29dd96(0x1a2)]||_0x159b42==null||this['_imageSourceCache']['set'](_0x446433,_0x159b42);}async[_0x274a5e(0x2bb)](_0x546628){var _0x2dac4e=_0x274a5e;try{const _0x3f7edd=this[_0x2dac4e(0x212)](this[_0x2dac4e(0x26e)](),''+_0x546628),_0x3087ac=(await this[_0x2dac4e(0x15c)]['get'](_0x3f7edd))[_0x2dac4e(0x39e)];if(_0x3087ac[_0x2dac4e(0x3c7)]&&_0x3087ac['error'][_0x2dac4e(0x1a8)]===gt['OK']){const _0x17705b=new URL(_0x3087ac[_0x2dac4e(0x235)],this[_0x2dac4e(0x135)]())['toString']();return Promise[_0x2dac4e(0x262)](_0x17705b);}return Promise[_0x2dac4e(0x343)](_0x3087ac['error']);}catch(_0x55b94c){return Promise[_0x2dac4e(0x343)](_0x55b94c);}}async[_0x274a5e(0x365)](_0x45e1d9){var _0x359670=_0x274a5e;let _0x6deb1f='';if(!ln[_0x359670(0x353)](_0x45e1d9['type']))return this[_0x359670(0x245)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x359670(0x208)]));if(_0x45e1d9['size']>un)return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)]['ERROR_EXCEED_SIZE']));try{const _0x2dd8ee=new FormData();_0x2dd8ee['append'](_0x359670(0x19e),_0x45e1d9);const _0x4ee68a=this[_0x359670(0x3eb)][_0x359670(0x2cf)](),_0x187d3c=_0x4ee68a==null?void 0x0:_0x4ee68a[_0x359670(0x398)]();if(!_0x187d3c)throw new Error('unitId\x20is\x20not\x20found');const _0x361cf2=this['_getUploadFileURL']()+_0x359670(0x283)+_0x45e1d9[_0x359670(0x479)][_0x359670(0x3d7)]()+_0x359670(0x418)+Et[_0x359670(0x256)]+_0x359670(0x3cd)+encodeURIComponent(_0x187d3c),_0x132f5f={'body':_0x2dd8ee},_0x1fed72=(await this[_0x359670(0x15c)][_0x359670(0x469)](_0x361cf2,_0x132f5f))[_0x359670(0x39e)];if(typeof _0x1fed72['FileId']!=_0x359670(0x161))return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)][_0x359670(0x3e4)]));_0x6deb1f=_0x1fed72[_0x359670(0x1cc)];}catch{return this[_0x359670(0x245)](),Promise[_0x359670(0x343)](new Error(z[_0x359670(0x2f0)]['ERROR_IMAGE']));}return new Promise((_0x4ef211,_0x5a1c19)=>{var _0x1e0acf=_0x359670;const _0x15cedf=new FileReader();_0x15cedf[_0x1e0acf(0x3fb)](_0x45e1d9),_0x15cedf['onload']=_0xf5e6b7=>{var _0x2c051f=_0x1e0acf,_0x57448f;const _0x2c29c3=(_0x57448f=_0xf5e6b7[_0x2c051f(0x281)])==null?void 0x0:_0x57448f[_0x2c051f(0x259)];if(_0x2c29c3==null){this[_0x2c051f(0x245)](),_0x5a1c19(new Error(z[_0x2c051f(0x2f0)][_0x2c051f(0x3e4)]));return;}const _0x5c7337=a[_0x2c051f(0x136)][_0x2c051f(0x2c8)](0x6);_0x4ef211({'imageId':_0x5c7337,'imageSourceType':z[_0x2c051f(0x196)][_0x2c051f(0x242)],'source':_0x6deb1f,'base64Cache':_0x2c29c3,'status':z[_0x2c051f(0x2f0)][_0x2c051f(0x1fe)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x33eb9b=_0x274a5e,_0x4557f7,_0x3fb96d;const _0x375557=this['_configService'][_0x33eb9b(0x16d)](dn),_0x29521a=this[_0x33eb9b(0x317)][_0x33eb9b(0x16d)](K);return(_0x3fb96d=(_0x4557f7=_0x29521a==null?void 0x0:_0x29521a[_0x33eb9b(0x16b)])!=null?_0x4557f7:_0x375557)!=null?_0x3fb96d:vn;}[_0x274a5e(0x26e)](){var _0x573975=_0x274a5e,_0x3eba08,_0x4e433b;const _0x3b9ac6=this[_0x573975(0x317)]['getConfig'](Sn),_0x58a900=this[_0x573975(0x317)][_0x573975(0x16d)](K);return(_0x4e433b=(_0x3eba08=_0x58a900==null?void 0x0:_0x58a900[_0x573975(0x1f1)])!=null?_0x3eba08:_0x3b9ac6)!=null?_0x4e433b:fn;}[_0x274a5e(0x135)](){var _0x4a7a98=_0x274a5e,_0x1df69b;const _0x2a269b=this[_0x4a7a98(0x317)]['getConfig'](K);return(_0x1df69b=_0x2a269b==null?void 0x0:_0x2a269b['downloadEndpointUrl'])!=null?_0x1df69b:location[_0x4a7a98(0x1af)];}[_0x274a5e(0x212)](_0x430d2a,_0xfeba4e){var _0x2a358b=_0x274a5e;return _0x430d2a[_0x2a358b(0x3bd)](_0x2a358b(0x260),_0xfeba4e);}[_0x274a5e(0x245)](){var _0x426efa=_0x274a5e;this[_0x426efa(0x1cf)]-=0x1,this['_change$'][_0x426efa(0x226)](this[_0x426efa(0x1cf)]);}},exports[_0x274a5e(0x282)]=_n([Le(0x0,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)])),Le(0x1,a[_0x274a5e(0x120)]),Le(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x3cf)]))],exports[_0x274a5e(0x282)]);var pn=Object[_0x274a5e(0x171)],In=(_0x3d842e,_0x57bf9d,_0x259c12,_0xbb079f)=>{var _0x384aee=_0x274a5e;for(var _0x328f78=_0xbb079f>0x1?void 0x0:_0xbb079f?pn(_0x57bf9d,_0x259c12):_0x57bf9d,_0x52e5bd=_0x3d842e[_0x384aee(0x2d6)]-0x1,_0x15625a;_0x52e5bd>=0x0;_0x52e5bd--)(_0x15625a=_0x3d842e[_0x52e5bd])&&(_0x328f78=_0x15625a(_0x328f78)||_0x328f78);return _0x328f78;},at=(_0x37a5b3,_0x1d2f07)=>(_0x2b720e,_0x3132a1)=>_0x1d2f07(_0x2b720e,_0x3132a1,_0x37a5b3);const gn=_0x274a5e(0x368);exports[_0x274a5e(0x1f0)]=class{constructor(_0x385554,_0xbfb1be){var _0x596c80=_0x274a5e;this['_configService']=_0x385554,this[_0x596c80(0x347)]=_0xbfb1be;}[_0x274a5e(0x132)](){var _0x56fb53=_0x274a5e,_0x5ce99e,_0x4347cc;const _0x1b1b30=this['_configService'][_0x56fb53(0x16d)](Ve),_0x12d05c=this['_configService'][_0x56fb53(0x16d)](K);return(_0x4347cc=(_0x5ce99e=_0x12d05c==null?void 0x0:_0x12d05c[_0x56fb53(0x474)])!=null?_0x5ce99e:_0x1b1b30)!=null?_0x4347cc:gn;}async[_0x274a5e(0x1f2)](_0x1b28d9){var _0x1a8ad4=_0x274a5e;const _0x2d6700=this[_0x1a8ad4(0x132)]()+_0x1a8ad4(0x470);return{'list':[{'title':_0x1a8ad4(0x366),'mentions':(await this[_0x1a8ad4(0x347)]['get'](_0x2d6700,{'params':{'objectID':_0x1b28d9[_0x1a8ad4(0x475)],'unitID':_0x1b28d9[_0x1a8ad4(0x475)]}}))[_0x1a8ad4(0x39e)][_0x1a8ad4(0x39b)][_0x1a8ad4(0x1e6)](_0x378d09=>({'objectId':_0x378d09['id'],'name':_0x378d09['subject'][_0x1a8ad4(0x32c)],'metadata':{'icon':_0x378d09['subject'][_0x1a8ad4(0x31b)]},'label':_0x378d09['subject'][_0x1a8ad4(0x32c)],'objectType':a[_0x1a8ad4(0x3d1)]['PERSON']})),'metadata':{},'type':a[_0x1a8ad4(0x3d1)][_0x1a8ad4(0x3f4)]}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x274a5e(0x2bc)](a['IConfigService'])),at(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],exports['MentionIoHttpService']);var En=Object[_0x274a5e(0x171)],mn=(_0x129b65,_0x1dd39c,_0x2fbd2e,_0x43e6c9)=>{var _0x268749=_0x274a5e;for(var _0x515daf=_0x43e6c9>0x1?void 0x0:_0x43e6c9?En(_0x1dd39c,_0x2fbd2e):_0x1dd39c,_0x2d2a92=_0x129b65[_0x268749(0x2d6)]-0x1,_0x49aa7b;_0x2d2a92>=0x0;_0x2d2a92--)(_0x49aa7b=_0x129b65[_0x2d2a92])&&(_0x515daf=_0x49aa7b(_0x515daf)||_0x515daf);return _0x515daf;},le=(_0x350311,_0x1dfbc7)=>(_0x50f18b,_0x141737)=>_0x1dfbc7(_0x50f18b,_0x141737,_0x350311);let Ue=class extends a[_0x274a5e(0x162)]{constructor(_0x5aa68a,_0x42e535,_0x1cf029,_0x37338b,_0x34dd52){var _0x4d3475=_0x274a5e;super(),this[_0x4d3475(0x267)]=_0x5aa68a,this['_univerInstanceService']=_0x42e535,this[_0x4d3475(0x131)]=_0x1cf029,this['_collaborationSessionService']=_0x37338b,this[_0x4d3475(0x1f4)]=_0x34dd52,this[_0x4d3475(0x2d7)](),this[_0x4d3475(0x3b9)]();}[_0x274a5e(0x3b9)](){var _0x4504e4=_0x274a5e;const _0x4268b8=async _0x8ed8da=>{var _0x5b8f9f=_0x3799;(await this[_0x5b8f9f(0x44d)]['requireSession'](_0x8ed8da))[_0x5b8f9f(0x11a)]['pipe'](V[_0x5b8f9f(0x329)](_0x69e3b8=>_0x69e3b8['eventID']===I[_0x5b8f9f(0x197)][_0x5b8f9f(0x2e0)]),V[_0x5b8f9f(0x482)](this[_0x5b8f9f(0x149)]))['subscribe'](_0xae8648=>{var _0x359cb3=_0x5b8f9f;const _0x4e4d48=_0xae8648,{reason:_0x7b1b5e}=_0x4e4d48[_0x359cb3(0x24b)];this[_0x359cb3(0x1f4)]['emitEvent']({'id':Z[_0x359cb3(0x47e)],'data':_0x7b1b5e}),this[_0x359cb3(0x131)][_0x359cb3(0x153)](new X[(_0x359cb3(0x3c4))](_0x8ed8da)['id'],!0x1),this[_0x359cb3(0x44d)]['closeSession'](_0x8ed8da);});};$[_0x4504e4(0x344)](this[_0x4504e4(0x3eb)][_0x4504e4(0x3c8)](a[_0x4504e4(0x2a7)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x4504e4(0x3c8)](a[_0x4504e4(0x2a7)]['UNIVER_DOC']))[_0x4504e4(0x2c6)](V['map'](_0x369a95=>_0x369a95[_0x4504e4(0x398)]()),V[_0x4504e4(0x329)](_0x1f38ac=>!a[_0x4504e4(0x1ff)](_0x1f38ac)),V[_0x4504e4(0x482)](this['dispose$']))[_0x4504e4(0x21b)](_0x143268=>{_0x4268b8(_0x143268);});}[_0x274a5e(0x2d7)](){var _0x2e3ceb=_0x274a5e;const _0x5df8d2=async _0x2acf09=>{var _0x3428cb=_0x3799;const _0x586b87=await this[_0x3428cb(0x44d)][_0x3428cb(0x1f8)](_0x2acf09),_0x4cab12=this[_0x3428cb(0x267)][_0x3428cb(0x319)](X[_0x3428cb(0x1c8)]);_0x586b87[_0x3428cb(0x11a)][_0x3428cb(0x2c6)](V[_0x3428cb(0x329)](_0x1e4438=>_0x1e4438[_0x3428cb(0x273)]===I[_0x3428cb(0x197)]['UPDATE_PERMISSION_OBJ']),V[_0x3428cb(0x482)](this['dispose$']))[_0x3428cb(0x21b)](_0x1fe05d=>{var _0x238186=_0x3428cb;const _0x55ee84=_0x1fe05d,{objectId:_0x54cb05}=_0x55ee84[_0x238186(0x24b)];_0x54cb05===_0x2acf09?_0x4cab12[_0x238186(0x3fa)](_0x2acf09):_0x4cab12[_0x238186(0x18c)](_0x2acf09,_0x54cb05);});};$[_0x2e3ceb(0x344)](this['_univerInstanceService'][_0x2e3ceb(0x3c8)](a[_0x2e3ceb(0x2a7)][_0x2e3ceb(0x2ad)]))[_0x2e3ceb(0x2c6)](V[_0x2e3ceb(0x1e6)](_0x1d8e07=>_0x1d8e07[_0x2e3ceb(0x398)]()),V['filter'](_0x4799a7=>!a[_0x2e3ceb(0x1ff)](_0x4799a7)),V[_0x2e3ceb(0x482)](this[_0x2e3ceb(0x149)]))['subscribe'](_0x1f1e6a=>{_0x5df8d2(_0x1f1e6a);});}};Ue=mn([le(0x0,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),le(0x1,a[_0x274a5e(0x3cf)]),le(0x2,a[_0x274a5e(0x32f)]),le(0x3,a[_0x274a5e(0x2bc)](exports[_0x274a5e(0x334)])),le(0x4,a[_0x274a5e(0x2bc)](ee))],Ue);var Cn=Object[_0x274a5e(0x171)],Tn=(_0x2541e4,_0x43d260,_0x301826,_0x7a2d7d)=>{var _0x5b4e2e=_0x274a5e;for(var _0x531243=_0x7a2d7d>0x1?void 0x0:_0x7a2d7d?Cn(_0x43d260,_0x301826):_0x43d260,_0x4878f2=_0x2541e4[_0x5b4e2e(0x2d6)]-0x1,_0x229f92;_0x4878f2>=0x0;_0x4878f2--)(_0x229f92=_0x2541e4[_0x4878f2])&&(_0x531243=_0x229f92(_0x531243)||_0x531243);return _0x531243;},ct=(_0x5c980c,_0x558ca2)=>(_0x5c9f6a,_0x3a983a)=>_0x558ca2(_0x5c9f6a,_0x3a983a,_0x5c980c);exports[_0x274a5e(0x206)]=class{constructor(_0x23d15d,_0x59ffb6){var _0x47a8b0=_0x274a5e;this[_0x47a8b0(0x317)]=_0x23d15d,this[_0x47a8b0(0x15c)]=_0x59ffb6;}async[_0x274a5e(0x1db)](_0x5d21f2,_0x2ab2f7){var _0x331a52=_0x274a5e,_0x737803;const {unitID:_0x171046,type:_0x32b940,revision:_0x569c4e=0x0}=_0x2ab2f7,_0x3b41dc=this[_0x331a52(0x46f)]()+'/'+_0x32b940+'/unit/'+_0x171046+_0x331a52(0x323)+_0x569c4e,_0x1a96f0=(await this[_0x331a52(0x15c)][_0x331a52(0x319)](_0x3b41dc))[_0x331a52(0x39e)],_0x2f4d4b=(_0x737803=_0x1a96f0['snapshot'])==null?void 0x0:_0x737803['workbook'];if(_0x2f4d4b){const _0x6a5bdf=_0x2f4d4b==null?void 0x0:_0x2f4d4b['originalMeta'],_0x4af8da=I[_0x331a52(0x3d8)][_0x331a52(0x1c0)](I['b64DecodeUnicode'](_0x6a5bdf));_0x2f4d4b[_0x331a52(0x452)]=_0x4af8da,Object[_0x331a52(0x163)](_0x2f4d4b[_0x331a52(0x2f1)])[_0x331a52(0x442)](([,_0x120330])=>{var _0x495fae=_0x331a52;const _0x4554e7=_0x120330[_0x495fae(0x452)],_0x507fd3=I[_0x495fae(0x3d8)]['encode'](I[_0x495fae(0x2ab)](_0x4554e7));_0x120330[_0x495fae(0x452)]=_0x507fd3;});}return _0x1a96f0;}async[_0x274a5e(0x234)](_0x2d477f,_0x361669){var _0x3c7632=_0x274a5e;const {unitID:_0x517c32,type:_0x559579,blockID:_0xc551b6}=_0x361669,_0x370db1=this['_getAPIPrefix']()+'/'+_0x559579+'/unit/'+_0x517c32+_0x3c7632(0x27f)+_0xc551b6;return(await this[_0x3c7632(0x15c)][_0x3c7632(0x319)](_0x370db1))['body'];}async[_0x274a5e(0x20e)](_0x21a2fb,_0x3fb789){var _0x6211b7=_0x274a5e;const {unitID:_0x246fa0,type:_0x608b7a,blockID:_0x110c88}=_0x3fb789,_0x37923c=this['_getAPIPrefix']()+_0x6211b7(0x27f)+_0x608b7a+'/unit/'+_0x246fa0+_0x6211b7(0x27f)+_0x110c88;return(await this[_0x6211b7(0x15c)]['get'](_0x37923c))['body'];}async[_0x274a5e(0x47c)](_0x16a459,_0x382f87){var _0x4174b5=_0x274a5e;const {unitID:_0x161f2b,type:_0x89ba27,from:_0x33049c,to:_0x1dd226}=_0x382f87,_0x4d9cdd=this[_0x4174b5(0x14d)]()+'/'+_0x89ba27+'/unit/'+_0x161f2b+_0x4174b5(0x2db)+_0x33049c+'&to='+_0x1dd226;return(await this[_0x4174b5(0x15c)][_0x4174b5(0x319)](_0x4d9cdd))[_0x4174b5(0x39e)];}[_0x274a5e(0x46f)](){var _0x456988=_0x274a5e,_0x4dacf3;return(_0x4dacf3=this['_configService'][_0x456988(0x16d)](lt))!=null?_0x4dacf3:this[_0x456988(0x14d)]();}[_0x274a5e(0x14d)](){var _0x203bc0=_0x274a5e,_0x4f4f08,_0x569d32;const _0x8c8d6e=this[_0x203bc0(0x317)][_0x203bc0(0x16d)](_t),_0x2004fd=this[_0x203bc0(0x317)][_0x203bc0(0x16d)](K);return(_0x569d32=(_0x4f4f08=_0x2004fd==null?void 0x0:_0x2004fd['snapshotServerUrl'])!=null?_0x4f4f08:_0x8c8d6e)!=null?_0x569d32:Lt;}async[_0x274a5e(0x215)](_0x500631,_0x46e58f){var _0x5ede1b=_0x274a5e;const _0xf04c57='/universer-api/snapshot/'+_0x46e58f['type']+'/unit/'+_0x46e58f[_0x5ede1b(0x3d4)]+'/resources';return(await this['_httpService']['get'](_0xf04c57,{'params':{'resourceId':JSON['stringify'](_0x46e58f[_0x5ede1b(0x472)])}}))[_0x5ede1b(0x39e)];}[_0x274a5e(0x3aa)](){var _0x1fb9db=_0x274a5e;throw new Error(_0x1fb9db(0x33e));}[_0x274a5e(0x30f)](){var _0x2f97e8=_0x274a5e;throw new Error(_0x2f97e8(0x33e));}[_0x274a5e(0x1f9)](){var _0x2b88cd=_0x274a5e;throw new Error(_0x2b88cd(0x33e));}['saveChangeset'](){var _0x2067bd=_0x274a5e;throw new Error(_0x2067bd(0x33e));}['copyFileMeta'](){var _0x7f2c9f=_0x274a5e;throw new Error(_0x7f2c9f(0x33e));}[_0x274a5e(0x177)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x274a5e(0x206)]=Tn([ct(0x0,a[_0x274a5e(0x120)]),ct(0x1,a[_0x274a5e(0x2bc)](Y[_0x274a5e(0x13f)]))],exports['SnapshotServerOverHTTPService']);var bn=Object[_0x274a5e(0x171)],Rn=(_0x47734b,_0x274e92,_0x337f36,_0x3e463a)=>{var _0x2054c5=_0x274a5e;for(var _0x3ae844=_0x3e463a>0x1?void 0x0:_0x3e463a?bn(_0x274e92,_0x337f36):_0x274e92,_0x4adc59=_0x47734b[_0x2054c5(0x2d6)]-0x1,_0x216f47;_0x4adc59>=0x0;_0x4adc59--)(_0x216f47=_0x47734b[_0x4adc59])&&(_0x3ae844=_0x216f47(_0x3ae844)||_0x3ae844);return _0x3ae844;},ue=(_0x101502,_0x5ba364)=>(_0x5902e5,_0x2fe3a1)=>_0x5ba364(_0x5902e5,_0x2fe3a1,_0x101502);exports[_0x274a5e(0x459)]=class extends a[_0x274a5e(0x38c)]{constructor(_0x11aee3,_0x183f9a,_0x275152,_0x1abcc0,_0xd06787){var _0x146cf5=_0x274a5e;super(_0x11aee3,_0x183f9a,_0x275152),this[_0x146cf5(0x39c)]=_0x1abcc0,this[_0x146cf5(0x2e3)]=_0xd06787;}[_0x274a5e(0x34f)](_0x4ae460,_0x382cb8){var _0x3d7073=_0x274a5e;const _0x1534f3=this[_0x3d7073(0x3d5)](_0x4ae460);if(_0x1534f3)try{const _0x186d93=this[_0x3d7073(0x172)](_0x1534f3,_0x382cb8);this[_0x3d7073(0x35e)](_0x4ae460,_0x186d93);}catch(_0x2013f4){this['_logService']['error']('[CollaborationUndoRedoService]',_0x2013f4),this[_0x3d7073(0x413)](_0x4ae460);}const _0x2b3640=this[_0x3d7073(0x195)](_0x4ae460);if(_0x2b3640)try{const _0x9683fc=this[_0x3d7073(0x172)](_0x2b3640,_0x382cb8);this[_0x3d7073(0x340)](_0x4ae460,_0x9683fc);}catch(_0x4d3332){this[_0x3d7073(0x2e3)][_0x3d7073(0x3c7)](_0x4d3332),this[_0x3d7073(0x355)](_0x4ae460);}}['_clearUndo'](_0x10fc33){var _0x461c35=_0x274a5e;const _0x20bcde=this[_0x461c35(0x3d5)](_0x10fc33);_0x20bcde&&(_0x20bcde[_0x461c35(0x2d6)]=0x0,this[_0x461c35(0x43a)]());}[_0x274a5e(0x355)](_0x296c8c){var _0x222d5c=_0x274a5e;const _0xb9932e=this[_0x222d5c(0x195)](_0x296c8c);_0xb9932e&&(_0xb9932e['length']=0x0,this[_0x222d5c(0x43a)]());}[_0x274a5e(0x35e)](_0x5dd1c5,_0x1f9e6a){var _0x173cfc=_0x274a5e;this[_0x173cfc(0x274)][_0x173cfc(0x404)](_0x5dd1c5,_0x1f9e6a),this['_updateStatus']();}['_substituteRedoStack'](_0x482f33,_0x3a13b4){var _0x3a098d=_0x274a5e;this[_0x3a098d(0x3a0)][_0x3a098d(0x404)](_0x482f33,_0x3a13b4),this[_0x3a098d(0x43a)]();}[_0x274a5e(0x172)](_0x487046,_0x3c5ed0){var _0x23f54f=_0x274a5e;const _0x47b74a=[];let _0x3e3861=_0x3c5ed0,_0x584661=_0x3c5ed0;for(let _0x519020=_0x487046['length']-0x1;_0x519020>=0x0;_0x519020--){const {unitID:_0x59ad3a,undoMutations:_0xc1ca94,redoMutations:_0x4fa078}=_0x487046[_0x519020],_0x137c2f=this[_0x23f54f(0x39c)]['transformMutationsWithChangeset'](_0x3e3861,_0xc1ca94),_0x5dd846=this[_0x23f54f(0x39c)][_0x23f54f(0x46a)](_0x584661,_0x4fa078);if(I[_0x23f54f(0x33a)](_0x137c2f)||I[_0x23f54f(0x33a)](_0x5dd846)){this[_0x23f54f(0x2e3)][_0x23f54f(0x3c7)](_0x23f54f(0x2a1),_0x23f54f(0x124),_0x137c2f,_0x5dd846);break;}_0x3e3861=_0x137c2f[_0x23f54f(0x121)],_0x584661=_0x5dd846['c1Prime'],_0x47b74a[_0x23f54f(0x427)]({'unitID':_0x59ad3a,'undoMutations':_0x137c2f['m2Prime'],'redoMutations':_0x5dd846[_0x23f54f(0x354)]});}return _0x47b74a[_0x23f54f(0x3ad)]();}},exports[_0x274a5e(0x459)]=Rn([ue(0x0,a[_0x274a5e(0x3cf)]),ue(0x1,a[_0x274a5e(0x449)]),ue(0x2,a[_0x274a5e(0x3ba)]),ue(0x3,I['ITransformService']),ue(0x4,a[_0x274a5e(0x45a)])],exports[_0x274a5e(0x459)]);var On=Object[_0x274a5e(0x13e)],yn=Object[_0x274a5e(0x171)],Nn=(_0x575862,_0x7d23c4,_0x51a2ee)=>_0x7d23c4 in _0x575862?On(_0x575862,_0x7d23c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51a2ee}):_0x575862[_0x7d23c4]=_0x51a2ee,Un=(_0x496f09,_0x3e8181,_0x17f286,_0x3573ac)=>{var _0x2cf252=_0x274a5e;for(var _0x36f75a=_0x3573ac>0x1?void 0x0:_0x3573ac?yn(_0x3e8181,_0x17f286):_0x3e8181,_0x32b8d8=_0x496f09[_0x2cf252(0x2d6)]-0x1,_0x246105;_0x32b8d8>=0x0;_0x32b8d8--)(_0x246105=_0x496f09[_0x32b8d8])&&(_0x36f75a=_0x246105(_0x36f75a)||_0x36f75a);return _0x36f75a;},Me=(_0x3ec7a2,_0x3c4477)=>(_0xfc07c9,_0x5e38c)=>_0x3c4477(_0xfc07c9,_0x5e38c,_0x3ec7a2),Dn=(_0x3276b9,_0x52dc75,_0x336cb8)=>Nn(_0x3276b9,_0x52dc75+'',_0x336cb8);const An=_0x274a5e(0x1ab);exports['UniverCollaborationClientPlugin']=class extends a[_0x274a5e(0x2d1)]{constructor(_0x2d7eb5,_0x14972b,_0x29b73b,_0x161c41){var _0x149901=_0x274a5e;super(),A(this,_0x149901(0x309)),(this['_logService']=_0x14972b,this[_0x149901(0x267)]=_0x29b73b,this['_configService']=_0x161c41);const {..._0x4a279c}=a[_0x149901(0x344)]({},Yt,_0x2d7eb5);if(!_0x4a279c[_0x149901(0x2b8)])throw new Error(_0x149901(0x386));this['_config']=_0x4a279c,this[_0x149901(0x317)]['setConfig'](K,_0x4a279c);}[_0x274a5e(0x1e0)](){var _0x44e571=_0x274a5e;this[_0x44e571(0x422)](),this[_0x44e571(0x11d)]();}[_0x274a5e(0x422)](){var _0x3a04ce=_0x274a5e,_0x59ec28,_0x219a0d;this[_0x3a04ce(0x267)][_0x3a04ce(0x2b0)](a[_0x3a04ce(0x384)])&&this[_0x3a04ce(0x2e3)]['error'](_0x3a04ce(0x2b4),_0x3a04ce(0x26c));const _0x547de0=a[_0x3a04ce(0x3ab)]([[a['IUndoRedoService'],{'useClass':exports[_0x3a04ce(0x459)]}],[exports[_0x3a04ce(0x334)]],[exports[_0x3a04ce(0x436)]],[exports[_0x3a04ce(0x390)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x3a04ce(0x217)]],[He,{'useClass':this[_0x3a04ce(0x309)][_0x3a04ce(0x2b8)]}],[I[_0x3a04ce(0x12d)],{'useClass':exports[_0x3a04ce(0x206)]}],[a[_0x3a04ce(0x3f0)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x3a04ce(0x2a2)],{'useClass':exports[_0x3a04ce(0x282)]}],[a['IMentionIOService'],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[xe]],(_0x59ec28=this[_0x3a04ce(0x309)])==null?void 0x0:_0x59ec28['override']);if(!((_0x219a0d=this[_0x3a04ce(0x309)])!=null&&_0x219a0d['enableSingleActiveInstanceLock'])){const _0x4e7667=_0x547de0[_0x3a04ce(0x3cc)](([_0x5ee2db])=>_0x5ee2db===de);_0x4e7667!==-0x1&&_0x547de0[_0x3a04ce(0x3a7)](_0x4e7667,0x1);}a[_0x3a04ce(0x42e)](this['_injector'],_0x547de0);}[_0x274a5e(0x11d)](){var _0x1907cd=_0x274a5e,_0x3e4b7a,_0xb35903,_0x3dc266;this[_0x1907cd(0x267)]['get'](Y[_0x1907cd(0x13f)])[_0x1907cd(0x447)]({'priority':0x14,'interceptor':Y[_0x1907cd(0x25a)]({'maxParallel':0x6})}),(_0x3e4b7a=this['_config'])!=null&&_0x3e4b7a['enableOfflineEditing']||(_0xb35903=this[_0x1907cd(0x267)][_0x1907cd(0x319)](q,a[_0x1907cd(0x439)][_0x1907cd(0x42f)]))==null||_0xb35903['disableLocalCache'](),(_0x3dc266=this[_0x1907cd(0x309)])!=null&&_0x3dc266['enableAuthServer']&&a['touchDependencies'](this[_0x1907cd(0x267)],[[ye]]),a[_0x1907cd(0x238)](this[_0x1907cd(0x267)],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x274a5e(0x382)],'pluginName',An),exports[_0x274a5e(0x382)]=Un([a[_0x274a5e(0x191)](I[_0x274a5e(0x239)],Y[_0x274a5e(0x23f)]),Me(0x1,a[_0x274a5e(0x45a)]),Me(0x2,a[_0x274a5e(0x2bc)](a[_0x274a5e(0x166)])),Me(0x3,a[_0x274a5e(0x120)])],exports[_0x274a5e(0x382)]),exports[_0x274a5e(0x160)]=Ve,exports[_0x274a5e(0x440)]=K,exports[_0x274a5e(0x24f)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x274a5e(0x1ad)]=Be,exports['CollaborationUIEventId']=Z,exports[_0x274a5e(0x20d)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x274a5e(0x11c)]=Kt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports['HEARTBEAT_INTERVAL_KEY']=vt,exports[_0x274a5e(0x2ba)]=ke,exports['ICollaborationSocketService']=He,exports[_0x274a5e(0x3ed)]=q,exports[_0x274a5e(0x37e)]=mt,exports[_0x274a5e(0x20b)]=de,exports[_0x274a5e(0x26b)]=Ft,exports[_0x274a5e(0x2f6)]=Bt,exports[_0x274a5e(0x139)]=It,exports[_0x274a5e(0x335)]=Gt,exports[_0x274a5e(0x2eb)]=ft,exports[_0x274a5e(0x35d)]=Mt,exports[_0x274a5e(0x379)]=_t,exports[_0x274a5e(0x1aa)]=lt,exports[_0x274a5e(0x1d9)]=re,exports[_0x274a5e(0x1e1)]=je,exports[_0x274a5e(0x214)]=Ct,exports[_0x274a5e(0x17d)]=oi,exports['serializeCombRequest']=Tt;
|