@univerjs-pro/collaboration-client 0.10.9-experimental.20250925-61b61a0 → 0.10.9-nightly.202509260614
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.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 _0x4adc58=_0x2018;(function(_0x4efd25,_0x5c910e){var _0x4b92f=_0x2018,_0x142beb=_0x4efd25();while(!![]){try{var _0x3e1c77=parseInt(_0x4b92f(0x1b9))/0x1+parseInt(_0x4b92f(0x209))/0x2*(parseInt(_0x4b92f(0x25c))/0x3)+-parseInt(_0x4b92f(0x2a5))/0x4+-parseInt(_0x4b92f(0x2f8))/0x5*(-parseInt(_0x4b92f(0x2a2))/0x6)+parseInt(_0x4b92f(0x333))/0x7*(-parseInt(_0x4b92f(0x23e))/0x8)+parseInt(_0x4b92f(0x331))/0x9*(parseInt(_0x4b92f(0x2c9))/0xa)+parseInt(_0x4b92f(0x3ba))/0xb;if(_0x3e1c77===_0x5c910e)break;else _0x142beb['push'](_0x142beb['shift']());}catch(_0x5ea965){_0x142beb['push'](_0x142beb['shift']());}}}(_0x250a,0x47438));var bt=Object['defineProperty'],Ot=(_0x2da7fa,_0x5007f3,_0x59f6ce)=>_0x5007f3 in _0x2da7fa?bt(_0x2da7fa,_0x5007f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x2da7fa[_0x5007f3]=_0x59f6ce,A=(_0x31711c,_0x415f4b,_0x57bc21)=>Ot(_0x31711c,typeof _0x415f4b!=_0x4adc58(0x486)?_0x415f4b+'':_0x415f4b,_0x57bc21);Object[_0x4adc58(0x300)](exports,Symbol[_0x4adc58(0x269)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x4adc58(0x208),Dt=_0x4adc58(0x49d),Ut=0x7d0,ht=_0x4adc58(0x1ca),At=_0x4adc58(0x259),_t=_0x4adc58(0x1b4),Pt=0x7530,ke=_0x4adc58(0x1ec),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x4adc58(0x3b7),xt=0x3e8,kt=_0x4adc58(0x3e9),$t=_0x4adc58(0x21f),Ht=_0x4adc58(0x1d8),jt=_0x4adc58(0x2f4);var dt=(_0x12b5cf=>(_0x12b5cf[_0x12b5cf['UNDEFINED']=0x0]=_0x4adc58(0x2a9),_0x12b5cf[_0x12b5cf['OK']=0x1]='OK',_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c7)]=0x2]=_0x4adc58(0x4c7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x263)]=0x3]='PERMISSION_DENIED',_0x12b5cf[_0x12b5cf[_0x4adc58(0x37f)]=0x4]=_0x4adc58(0x37f),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3aa)]=0x5]=_0x4adc58(0x3aa),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4ab)]=0x6]=_0x4adc58(0x4ab),_0x12b5cf[_0x12b5cf[_0x4adc58(0x404)]=0x7]=_0x4adc58(0x404),_0x12b5cf[_0x12b5cf[_0x4adc58(0x352)]=0x8]='TOO_MANY_REQUESTS',_0x12b5cf[_0x12b5cf['COMPLETION_FINISHED']=0x9]=_0x4adc58(0x36b),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3d3)]=0xa]=_0x4adc58(0x3d3),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2ab)]=0xb]=_0x4adc58(0x2ab),_0x12b5cf[_0x12b5cf[_0x4adc58(0x297)]=0xc]=_0x4adc58(0x297),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3c1)]=0xd]=_0x4adc58(0x3c1),_0x12b5cf[_0x12b5cf[_0x4adc58(0x37c)]=0xe]=_0x4adc58(0x37c),_0x12b5cf[_0x12b5cf[_0x4adc58(0x357)]=0x1389]=_0x4adc58(0x357),_0x12b5cf[_0x12b5cf[_0x4adc58(0x37a)]=0x1771]=_0x4adc58(0x37a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2a3)]=0x1772]=_0x4adc58(0x2a3),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2c7)]=0x1773]=_0x4adc58(0x2c7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x25d)]=0x1b59]=_0x4adc58(0x25d),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2f5)]=0x1b5a]=_0x4adc58(0x2f5),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1c2)]=0x1b5b]=_0x4adc58(0x1c2),_0x12b5cf[_0x12b5cf[_0x4adc58(0x386)]=0x1b5c]=_0x4adc58(0x386),_0x12b5cf[_0x12b5cf[_0x4adc58(0x431)]=0x1b5d]='APPLY_DUPLICATED',_0x12b5cf[_0x12b5cf[_0x4adc58(0x43d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x12b5cf[_0x12b5cf[_0x4adc58(0x358)]=0x2329]=_0x4adc58(0x358),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1b7)]=0x232a]=_0x4adc58(0x1b7),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3db)]=0x232b]=_0x4adc58(0x3db),_0x12b5cf[_0x12b5cf[_0x4adc58(0x369)]=0x232c]=_0x4adc58(0x369),_0x12b5cf[_0x12b5cf[_0x4adc58(0x279)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x12b5cf[_0x12b5cf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4adc58(0x394),_0x12b5cf[_0x12b5cf[_0x4adc58(0x2e9)]=0x2712]=_0x4adc58(0x2e9),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3f9)]=0x2713]=_0x4adc58(0x3f9),_0x12b5cf[_0x12b5cf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12b5cf[_0x12b5cf['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4adc58(0x278),_0x12b5cf[_0x12b5cf[_0x4adc58(0x44d)]=0x271b]=_0x4adc58(0x44d),_0x12b5cf[_0x12b5cf[_0x4adc58(0x382)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x12b5cf[_0x12b5cf[_0x4adc58(0x4b4)]=0x271d]=_0x4adc58(0x4b4),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4a6)]=0x271e]=_0x4adc58(0x4a6),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c5)]=0x271f]=_0x4adc58(0x4c5),_0x12b5cf[_0x12b5cf[_0x4adc58(0x255)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x12b5cf[_0x12b5cf['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4adc58(0x48f),_0x12b5cf[_0x12b5cf[_0x4adc58(0x4c8)]=0x2ee1]=_0x4adc58(0x4c8),_0x12b5cf[_0x12b5cf[_0x4adc58(0x3ab)]=0x2ee2]=_0x4adc58(0x3ab),_0x12b5cf[_0x12b5cf['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x12b5cf[_0x12b5cf['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4adc58(0x317),_0x12b5cf[_0x12b5cf[_0x4adc58(0x40a)]=0x2ee5]=_0x4adc58(0x40a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x1e1)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x12b5cf[_0x12b5cf[_0x4adc58(0x32a)]=0x32ca]=_0x4adc58(0x32a),_0x12b5cf[_0x12b5cf[_0x4adc58(0x294)]=0x32cb]=_0x4adc58(0x294),_0x12b5cf[_0x12b5cf[_0x4adc58(0x178)]=-0x1]=_0x4adc58(0x178),_0x12b5cf))(dt||{}),J=(_0x51ffcb=>(_0x51ffcb[_0x51ffcb[_0x4adc58(0x4ba)]=0x0]=_0x4adc58(0x4ba),_0x51ffcb[_0x51ffcb[_0x4adc58(0x3ae)]=0x1]=_0x4adc58(0x3ae),_0x51ffcb[_0x51ffcb[_0x4adc58(0x3fa)]=0x2]='UNIVER_SHEET',_0x51ffcb[_0x51ffcb[_0x4adc58(0x421)]=0x3]=_0x4adc58(0x421),_0x51ffcb[_0x51ffcb['UNIVER_PROJECT']=0x4]=_0x4adc58(0x406),_0x51ffcb[_0x51ffcb['UNRECOGNIZED']=-0x1]=_0x4adc58(0x178),_0x51ffcb))(J||{}),W=(_0x6808c8=>(_0x6808c8[_0x6808c8[_0x4adc58(0x42c)]=0x0]=_0x4adc58(0x42c),_0x6808c8[_0x6808c8['HELLO']=0x1]=_0x4adc58(0x475),_0x6808c8[_0x6808c8[_0x4adc58(0x170)]=0x2]='JOIN',_0x6808c8[_0x6808c8[_0x4adc58(0x1fd)]=0x3]='LEAVE',_0x6808c8[_0x6808c8[_0x4adc58(0x16a)]=0x4]=_0x4adc58(0x16a),_0x6808c8[_0x6808c8[_0x4adc58(0x221)]=0x5]=_0x4adc58(0x221),_0x6808c8[_0x6808c8[_0x4adc58(0x2a6)]=0x6]=_0x4adc58(0x2a6),_0x6808c8[_0x6808c8[_0x4adc58(0x178)]=-0x1]=_0x4adc58(0x178),_0x6808c8))(W||{}),se=(_0x3c3a22=>(_0x3c3a22[_0x3c3a22[_0x4adc58(0x2fa)]=0x0]=_0x4adc58(0x2fa),_0x3c3a22[_0x3c3a22['OK']=0x1]='OK',_0x3c3a22[_0x3c3a22['FAIL']=0x2]=_0x4adc58(0x177),_0x3c3a22[_0x3c3a22[_0x4adc58(0x3f7)]=0x3e9]=_0x4adc58(0x3f7),_0x3c3a22[_0x3c3a22[_0x4adc58(0x48d)]=0x3ea]=_0x4adc58(0x48d),_0x3c3a22[_0x3c3a22[_0x4adc58(0x16e)]=0x3eb]=_0x4adc58(0x16e),_0x3c3a22[_0x3c3a22[_0x4adc58(0x3e5)]=0x3ec]=_0x4adc58(0x3e5),_0x3c3a22[_0x3c3a22['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3c3a22))(se||{}),vt=(_0x277708=>(_0x277708[_0x277708[_0x4adc58(0x335)]=0x0]=_0x4adc58(0x335),_0x277708[_0x277708[_0x4adc58(0x33e)]=0x1]=_0x4adc58(0x33e),_0x277708[_0x277708[_0x4adc58(0x48c)]=0x2]='HttpExport',_0x277708[_0x277708[_0x4adc58(0x292)]=0x3]=_0x4adc58(0x292),_0x277708[_0x277708[_0x4adc58(0x241)]=0x4]=_0x4adc58(0x241),_0x277708[_0x277708['UserProfileImg']=0x5]=_0x4adc58(0x3f8),_0x277708[_0x277708['UNRECOGNIZED']=-0x1]=_0x4adc58(0x178),_0x277708))(vt||{});const Bt=_0x4adc58(0x2d0);function Ft(_0x31e731){var _0x2ead04=_0x4adc58;return JSON[_0x2ead04(0x247)](_0x31e731)[_0x2ead04(0x2ba)];}var Z=(_0xad43ae=>(_0xad43ae['OTHER_CLIENT_EDITING']=_0x4adc58(0x454),_0xad43ae[_0x4adc58(0x263)]=_0x4adc58(0x263),_0xad43ae[_0x4adc58(0x3fb)]=_0x4adc58(0x3fb),_0xad43ae[_0x4adc58(0x439)]=_0x4adc58(0x439),_0xad43ae['JOIN_ROOM_FAILED']=_0x4adc58(0x481),_0xad43ae['SOCKET_FAILED_RETRY']=_0x4adc58(0x20d),_0xad43ae[_0x4adc58(0x2c6)]=_0x4adc58(0x2c6),_0xad43ae[_0x4adc58(0x383)]='SUBMIT_CHANGESET_TIMEOUT',_0xad43ae))(Z||{});class ee{constructor(){var _0x11d3e1=_0x4adc58;A(this,'_event$',new H[(_0x11d3e1(0x2c5))]()),A(this,'event$',this[_0x11d3e1(0x29a)][_0x11d3e1(0x228)]());}[_0x4adc58(0x245)](_0x36cff7){var _0x5792d3=_0x4adc58;this[_0x5792d3(0x29a)]['next'](_0x36cff7);}}class $e{constructor(){var _0xfce324=_0x4adc58;A(this,_0xfce324(0x463),new H['Subject']()),A(this,'commentUpdate$',this[_0xfce324(0x463)]['asObservable']());}[_0x4adc58(0x2a7)](_0x3e9151){var _0x3fdb0a=_0x4adc58;this[_0x3fdb0a(0x463)][_0x3fdb0a(0x395)](_0x3e9151);}}var Vt=Object[_0x4adc58(0x3af)],Wt=(_0x15c841,_0x11770b,_0x3aeb58,_0x1efb17)=>{var _0x4c8f64=_0x4adc58;for(var _0x871244=_0x1efb17>0x1?void 0x0:_0x1efb17?Vt(_0x11770b,_0x3aeb58):_0x11770b,_0x5d4da0=_0x15c841[_0x4c8f64(0x2ba)]-0x1,_0x2c361a;_0x5d4da0>=0x0;_0x5d4da0--)(_0x2c361a=_0x15c841[_0x5d4da0])&&(_0x871244=_0x2c361a(_0x871244)||_0x871244);return _0x871244;},Ve=(_0x35c725,_0x547584)=>(_0xd50454,_0x5ea61d)=>_0x547584(_0xd50454,_0x5ea61d,_0x35c725);exports[_0x4adc58(0x2be)]=class extends a[_0x4adc58(0x2c8)]{constructor(_0x2dbb3a,_0x4b38b4){var _0x135803=_0x4adc58;super(),A(this,_0x135803(0x457),new Map()),A(this,_0x135803(0x2fc),new H[(_0x135803(0x2c5))]()),(this[_0x135803(0x2b6)]=_0x2dbb3a,this[_0x135803(0x3b5)]=_0x4b38b4,this[_0x135803(0x166)](H[_0x135803(0x244)](this[_0x135803(0x2b6)]['getTypeOfUnitDisposed$'](a[_0x135803(0x3f3)][_0x135803(0x3fa)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0x5c519b=>_0x5c519b[_0x135803(0x40c)]())),this[_0x135803(0x2b6)][_0x135803(0x1bc)](a[_0x135803(0x3f3)][_0x135803(0x3ae)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0xcc952a=>_0xcc952a[_0x135803(0x40c)]())),this[_0x135803(0x2b6)][_0x135803(0x1bc)](a[_0x135803(0x3f3)][_0x135803(0x421)])[_0x135803(0x2c3)](V[_0x135803(0x1ea)](_0xba6548=>_0xba6548['getUnitId']())))[_0x135803(0x1b8)](_0x5b4178=>this[_0x135803(0x4a5)](_0x5b4178))));}[_0x4adc58(0x2bb)](_0x13b11d){var _0x520a49=_0x4adc58;return this[_0x520a49(0x457)][_0x520a49(0x3e0)](_0x13b11d)?H['of'](this['_roomMembers'][_0x520a49(0x44b)](_0x13b11d)):this[_0x520a49(0x2fc)][_0x520a49(0x2c3)](V['map'](_0x58c975=>{var _0x320168=_0x520a49;if(_0x58c975===_0x13b11d)return this[_0x320168(0x457)][_0x320168(0x44b)](_0x58c975);}));}[_0x4adc58(0x16b)](_0x45b24d){var _0x1b0ca7=_0x4adc58;this[_0x1b0ca7(0x3b5)][_0x1b0ca7(0x16b)](_0x45b24d);}[_0x4adc58(0x471)](){var _0x1656bd=_0x4adc58;return this['_userManagerService'][_0x1656bd(0x471)]();}[_0x4adc58(0x3c0)](_0x387387,_0x244936){var _0x569c2b=_0x4adc58;let _0x27841f=this['_roomMembers'][_0x569c2b(0x44b)](_0x387387);_0x27841f||(_0x27841f=new Gt(),this[_0x569c2b(0x457)]['set'](_0x387387,_0x27841f),this[_0x569c2b(0x2fc)][_0x569c2b(0x395)](_0x387387)),_0x27841f[_0x569c2b(0x3c0)](_0x244936);}[_0x4adc58(0x3bf)](_0x7c55f2,_0x1c9333){var _0x3eb5a9=_0x4adc58;const _0x1c6190=this[_0x3eb5a9(0x457)]['get'](_0x7c55f2);_0x1c6190&&_0x1c6190[_0x3eb5a9(0x3bf)](_0x1c9333);}[_0x4adc58(0x200)](_0x21075c){var _0x156fe9=_0x4adc58;return this[_0x156fe9(0x457)][_0x156fe9(0x44b)](_0x21075c);}['getMember'](_0x3fa1b1,_0x2b35a6){var _0x101e43=_0x4adc58;const _0x1b8a0f=this['_roomMembers']['get'](_0x3fa1b1);if(_0x1b8a0f)return _0x1b8a0f[_0x101e43(0x3e6)](_0x2b35a6);}[_0x4adc58(0x4a5)](_0x19c59e){var _0x52cf55=_0x4adc58;const _0x23597e=this[_0x52cf55(0x457)][_0x52cf55(0x44b)](_0x19c59e);_0x23597e&&(_0x23597e['dispose'](),this[_0x52cf55(0x457)]['delete'](_0x19c59e));}[_0x4adc58(0x1d1)](){var _0x2206b=_0x4adc58;this[_0x2206b(0x457)][_0x2206b(0x37b)](_0x5b1bf3=>_0x5b1bf3[_0x2206b(0x1d1)]()),this[_0x2206b(0x457)][_0x2206b(0x1bd)](),this[_0x2206b(0x2fc)][_0x2206b(0x17f)]();}},exports[_0x4adc58(0x2be)]=Wt([Ve(0x0,a[_0x4adc58(0x46d)]),Ve(0x1,a[_0x4adc58(0x49e)](a[_0x4adc58(0x2ea)]))],exports['MemberService']);class Gt extends a[_0x4adc58(0x2c8)]{constructor(){var _0x316125=_0x4adc58;super(...arguments),A(this,_0x316125(0x3a8),new Map()),A(this,_0x316125(0x240),new H[(_0x316125(0x3b0))](this[_0x316125(0x3a8)])),A(this,_0x316125(0x181),this[_0x316125(0x240)]['asObservable']());}['dispose'](){var _0xf3f3ae=_0x4adc58;this[_0xf3f3ae(0x3a8)][_0xf3f3ae(0x1bd)]();}[_0x4adc58(0x3c0)](_0x587140){var _0x1651f5=_0x4adc58;this[_0x1651f5(0x3a8)][_0x1651f5(0x440)](_0x587140[_0x1651f5(0x4a0)],_0x587140),this['_emitMembers']();}[_0x4adc58(0x3bf)](_0x2b4cbd){var _0xd0f6f5=_0x4adc58;this[_0xd0f6f5(0x3a8)][_0xd0f6f5(0x47e)](_0x2b4cbd);}[_0x4adc58(0x3e6)](_0x33574b){var _0x2e6f8e=_0x4adc58;return this[_0x2e6f8e(0x3a8)][_0x2e6f8e(0x44b)](_0x33574b);}[_0x4adc58(0x3e8)](){var _0x2024ca=_0x4adc58;return Array[_0x2024ca(0x43e)](this['_members'][_0x2024ca(0x4a7)]());}[_0x4adc58(0x3e3)](){var _0x56e752=_0x4adc58;this['_members$'][_0x56e752(0x395)](this[_0x56e752(0x3a8)]);}}var Yt=Object[_0x4adc58(0x3af)],qt=(_0x4d9aa7,_0x5d0ad2,_0x1bf7f7,_0x211e82)=>{var _0x241607=_0x4adc58;for(var _0x5e648c=_0x211e82>0x1?void 0x0:_0x211e82?Yt(_0x5d0ad2,_0x1bf7f7):_0x5d0ad2,_0x343748=_0x4d9aa7[_0x241607(0x2ba)]-0x1,_0x4e3b09;_0x343748>=0x0;_0x343748--)(_0x4e3b09=_0x4d9aa7[_0x343748])&&(_0x5e648c=_0x4e3b09(_0x5e648c)||_0x5e648c);return _0x5e648c;},ce=(_0x54af4f,_0x220302)=>(_0x112ca3,_0x43a640)=>_0x220302(_0x112ca3,_0x43a640,_0x54af4f),re=(_0x1ac44e=>(_0x1ac44e[_0x1ac44e[_0x4adc58(0x2e3)]=0x0]=_0x4adc58(0x2e3),_0x1ac44e[_0x1ac44e[_0x4adc58(0x18a)]=0x1]=_0x4adc58(0x18a),_0x1ac44e[_0x1ac44e[_0x4adc58(0x43a)]=0x2]=_0x4adc58(0x43a),_0x1ac44e[_0x1ac44e['ONLINE']=0x3]='ONLINE',_0x1ac44e))(re||{});const We={[se[_0x4adc58(0x177)]]:_0x4adc58(0x190),[se[_0x4adc58(0x3f7)]]:_0x4adc58(0x2d3),[se[_0x4adc58(0x48d)]]:_0x4adc58(0x379),[se[_0x4adc58(0x16e)]]:_0x4adc58(0x42f),[se[_0x4adc58(0x3e5)]]:'session.room-cnt-exceeds'};exports[_0x4adc58(0x22e)]=class extends a['RxDisposable']{constructor(_0xbd83d8,_0x5ecabf,_0x1f7eec,_0x176f9c,_0x3f06d0,_0x22b4ae,_0x366ef8,_0x535c9a){var _0x55d404=_0x4adc58;super(),A(this,_0x55d404(0x40d),new H['BehaviorSubject'](0x0)),A(this,_0x55d404(0x38b),this[_0x55d404(0x40d)][_0x55d404(0x228)]()),A(this,_0x55d404(0x29a),new H[(_0x55d404(0x2c5))]()),A(this,_0x55d404(0x2c2),this[_0x55d404(0x29a)][_0x55d404(0x228)]()),A(this,'_socket'),A(this,_0x55d404(0x41d)),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x55d404(0x419),null),(this[_0x55d404(0x446)]=_0xbd83d8,this[_0x55d404(0x337)]=_0x1f7eec,this[_0x55d404(0x25b)]=_0x176f9c,this[_0x55d404(0x416)]=_0x3f06d0,this['_commentService']=_0x22b4ae,this[_0x55d404(0x496)]=_0x366ef8,this['_telemetryService']=_0x535c9a,this[_0x55d404(0x44c)]=!!this[_0x55d404(0x37d)],_0x5ecabf['pipe'](H[_0x55d404(0x2d1)](this['dispose$']))[_0x55d404(0x1b8)](_0x4759a0=>{var _0x22e0f9=_0x55d404,_0x514bd0;typeof _0x4759a0>'u'||(this[_0x22e0f9(0x3f2)]=_0x4759a0,_0x4759a0?(this[_0x22e0f9(0x346)](_0x4759a0),this['_socketMessageSubscription']=_0x4759a0[_0x22e0f9(0x15c)][_0x22e0f9(0x1b8)](_0x20b8c4=>{var _0x329af6=_0x22e0f9;_0x20b8c4[_0x329af6(0x274)]===this[_0x329af6(0x446)]&&this['_onCombEvent'](_0x20b8c4);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x22e0f9(0x40d)][_0x22e0f9(0x395)](0x2),(_0x514bd0=this['_socketMessageSubscription'])==null||_0x514bd0[_0x22e0f9(0x325)](),this['_socketMessageSubscription']=null));}));}get[_0x4adc58(0x2ff)](){var _0x946b41=_0x4adc58;return this[_0x946b41(0x40d)][_0x946b41(0x42a)]();}['getMemberID'](){var _0x59a82a=_0x4adc58,_0x6dca3f,_0x378b42;return(_0x378b42=(_0x6dca3f=this[_0x59a82a(0x3f2)])==null?void 0x0:_0x6dca3f[_0x59a82a(0x4a0)])!=null?_0x378b42:null;}[_0x4adc58(0x1d1)](){var _0x5a0d43=_0x4adc58;super[_0x5a0d43(0x1d1)](),this[_0x5a0d43(0x40f)]['next'](),this[_0x5a0d43(0x40f)][_0x5a0d43(0x17f)]();}[_0x4adc58(0x1d7)](){var _0x3ee21e=_0x4adc58,_0x286c0e,_0xb8f2e;this[_0x3ee21e(0x168)](),(_0x286c0e=this[_0x3ee21e(0x3f2)])==null||_0x286c0e[_0x3ee21e(0x1b1)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3ee21e(0x446)]}}),(_0xb8f2e=this[_0x3ee21e(0x3f2)])==null||_0xb8f2e[_0x3ee21e(0x1d7)](),this['_event$'][_0x3ee21e(0x17f)](),this[_0x3ee21e(0x40d)][_0x3ee21e(0x17f)](),this[_0x3ee21e(0x1d1)]();}[_0x4adc58(0x2d6)](_0x5625cd){var _0x1a2a0e=_0x4adc58;_0x5625cd[_0x1a2a0e(0x1c1)]===W[_0x1a2a0e(0x170)]?this[_0x1a2a0e(0x470)](_0x5625cd):_0x5625cd[_0x1a2a0e(0x1c1)]===W[_0x1a2a0e(0x2a6)]&&this['_onRecvEvent'](_0x5625cd);}[_0x4adc58(0x346)](_0x599047){var _0x2531a9=_0x4adc58;this['_sessionStatus$'][_0x2531a9(0x395)](0x1),_0x599047[_0x2531a9(0x1b1)]({'cmd':W[_0x2531a9(0x170)],'routeKey':this[_0x2531a9(0x446)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2ebcc3){var _0x123544=_0x4adc58,_0x15f31d;if(_0x2ebcc3[_0x123544(0x23f)]in We){this[_0x123544(0x496)][_0x123544(0x245)]({'id':Z[_0x123544(0x481)],'data':We[_0x2ebcc3['code']]}),this[_0x123544(0x40d)][_0x123544(0x395)](0x2);return;}this[_0x123544(0x40d)][_0x123544(0x395)](0x3);const _0x5db905=(_0x15f31d=_0x2ebcc3[_0x123544(0x46c)][_0x123544(0x2ce)][this[_0x123544(0x446)]])==null?void 0x0:_0x15f31d[_0x123544(0x2bd)];_0x5db905&&_0x5db905[_0x123544(0x37b)](_0x5adefc=>this[_0x123544(0x416)][_0x123544(0x3c0)](this[_0x123544(0x446)],_0x5adefc));}['_onRecvEvent'](_0x5e2439){var _0x28ebcd=_0x4adc58;try{const _0x3a4c73=_0x5e2439[_0x28ebcd(0x46c)];switch(_0x3a4c73[_0x28ebcd(0x162)]){case p[_0x28ebcd(0x232)][_0x28ebcd(0x262)]:this[_0x28ebcd(0x387)](_0x3a4c73),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x433)]:this['_onUserLeave'](_0x3a4c73),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x39c)]:case p[_0x28ebcd(0x232)][_0x28ebcd(0x3df)]:this[_0x28ebcd(0x194)](),this[_0x28ebcd(0x1dc)](),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x1ce)]:this[_0x28ebcd(0x337)][_0x28ebcd(0x2f2)](_0x28ebcd(0x425)+JSON[_0x28ebcd(0x247)](_0x3a4c73)),this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);break;case p[_0x28ebcd(0x232)][_0x28ebcd(0x3dd)]:this['_commentService'][_0x28ebcd(0x2a7)](_0x3a4c73[_0x28ebcd(0x46c)]),this[_0x28ebcd(0x29a)]['next'](_0x3a4c73);break;default:this[_0x28ebcd(0x29a)][_0x28ebcd(0x395)](_0x3a4c73);}}catch(_0x24abab){this[_0x28ebcd(0x337)][_0x28ebcd(0x2f2)](_0x24abab,_0x5e2439);}}[_0x4adc58(0x387)](_0x2feada){var _0x27c720=_0x4adc58;this['_memberService'][_0x27c720(0x3c0)](this['_unitID'],_0x2feada[_0x27c720(0x46c)]);}['_onUserLeave'](_0x23141c){var _0x301ba7=_0x4adc58;this[_0x301ba7(0x416)][_0x301ba7(0x3bf)](this[_0x301ba7(0x446)],_0x23141c['data']['memberID']);}async[_0x4adc58(0x1b1)](_0x218773,_0x3f2974){var _0x39df7e=_0x4adc58;if(this[_0x39df7e(0x2ff)]!==0x3||!this[_0x39df7e(0x3f2)])throw new Error(_0x39df7e(0x3c7));try{_0x218773['eventID']===p[_0x39df7e(0x232)][_0x39df7e(0x2b3)]&&(this[_0x39df7e(0x3a3)](),this[_0x39df7e(0x1c6)](_0x218773)),this[_0x39df7e(0x3f2)]['send']({'cmd':W[_0x39df7e(0x16a)],'routeKey':_0x3f2974,'routeType':'','data':_0x218773});}catch(_0x34a1b8){this[_0x39df7e(0x337)][_0x39df7e(0x2f2)](_0x34a1b8);}}[_0x4adc58(0x3a3)](){var _0x537f96=_0x4adc58,_0x4d3ec6;this[_0x537f96(0x3d5)]=setTimeout(()=>{var _0x2cde9f=_0x537f96;this[_0x2cde9f(0x3d5)]=null,this[_0x2cde9f(0x496)]['emitEvent']({'id':Z[_0x2cde9f(0x383)]});},(_0x4d3ec6=this[_0x537f96(0x25b)]['getConfig'](ke))!=null?_0x4d3ec6:lt);}[_0x4adc58(0x1dc)](){var _0xf5f20f=_0x4adc58;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xf5f20f(0x3d5)]),this[_0xf5f20f(0x3d5)]=null);}[_0x4adc58(0x1c6)](_0x32427f){var _0x3893be=_0x4adc58;if(!this[_0x3893be(0x44c)])return;const {data:_0x2f38a7}=_0x32427f,{unitID:_0x1039ed,changeset:_0x5aca95}=_0x2f38a7,{mutations:_0x240e50,type:_0x4b01ba}=_0x5aca95;this[_0x3893be(0x419)]={'unitId':_0x1039ed,'type':_0x4b01ba,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x240e50)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x25cec8=_0x4adc58;if(this[_0x25cec8(0x44c)]){if(!this[_0x25cec8(0x419)]){this[_0x25cec8(0x337)][_0x25cec8(0x2f2)](_0x25cec8(0x1e4),_0x25cec8(0x418));return;}this[_0x25cec8(0x419)][_0x25cec8(0x2e7)]=performance[_0x25cec8(0x478)](),this[_0x25cec8(0x419)][_0x25cec8(0x3d1)]=this[_0x25cec8(0x419)][_0x25cec8(0x2e7)]-this['_telemetryInfo'][_0x25cec8(0x328)],this['_telemetryService']['capture'](Bt,this[_0x25cec8(0x419)]),this['_telemetryInfo']=null;}}[_0x4adc58(0x168)](){var _0x49ea99=_0x4adc58;this[_0x49ea99(0x419)]=null;}},exports[_0x4adc58(0x22e)]=qt([ce(0x2,a[_0x4adc58(0x270)]),ce(0x3,a[_0x4adc58(0x3f1)]),ce(0x4,a['Inject'](exports[_0x4adc58(0x2be)])),ce(0x5,a[_0x4adc58(0x49e)]($e)),ce(0x6,a['Inject'](ee)),ce(0x7,a[_0x4adc58(0x287)](Rt[_0x4adc58(0x34c)]))],exports[_0x4adc58(0x22e)]);const K=a[_0x4adc58(0x359)]('collaboration-client.local-cache-service');function Kt(_0x5596b8){var _0x468e7f=_0x4adc58;return _0x468e7f(0x21b)+_0x5596b8;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x16d715,_0x4f7b2d,_0x34455e,_0x2fcdb3)=>{var _0x559f2a=_0x4adc58;for(var _0x21d9e2=_0x2fcdb3>0x1?void 0x0:_0x2fcdb3?zt(_0x4f7b2d,_0x34455e):_0x4f7b2d,_0x58387a=_0x16d715[_0x559f2a(0x2ba)]-0x1,_0xa91ee6;_0x58387a>=0x0;_0x58387a--)(_0xa91ee6=_0x16d715[_0x58387a])&&(_0x21d9e2=_0xa91ee6(_0x21d9e2)||_0x21d9e2);return _0x21d9e2;},Ue=(_0x31c4c2,_0xecbe3)=>(_0x477c91,_0x44a247)=>_0xecbe3(_0x477c91,_0x44a247,_0x31c4c2);function Xt(_0x3d0b86){var _0x485ec3=_0x4adc58;const {unitID:_0x3e8e64,mutations:_0x360a4c}=_0x3d0b86;return{'unitId':_0x3e8e64,'subUnitId':_0x360a4c[0x0][_0x485ec3(0x343)][_0x485ec3(0x362)]};}exports[_0x4adc58(0x18f)]=class{constructor(_0x4635ef,_0x4f5bcc,_0x5eed04){var _0x2efa87=_0x4adc58;this[_0x2efa87(0x20f)]=_0x4635ef,this['_transformService']=_0x4f5bcc,this[_0x2efa87(0x3e1)]=_0x5eed04;}[_0x4adc58(0x2bf)](_0x16b891){var _0x121ab6=_0x4adc58,_0x3ffcfa,_0x2f49b8,_0x4bba39,_0x3924c7;const _0x297c86=this['_injector'][_0x121ab6(0x44b)](X['SheetsSelectionsService']),{unitId:_0x1bf10a,subUnitId:_0x393924}=Xt(_0x16b891),_0x3aed7c=_0x297c86==null?void 0x0:_0x297c86[_0x121ab6(0x477)](_0x1bf10a)[_0x121ab6(0x3ed)](),_0x174270=(_0x2f49b8=(_0x3ffcfa=this['_instanceService']['getUnit'](_0x1bf10a))==null?void 0x0:_0x3ffcfa[_0x121ab6(0x1e7)]())==null?void 0x0:_0x2f49b8['getSheetId']();if(_0x3aed7c[_0x121ab6(0x2ba)]===0x0||!_0x1bf10a||!_0x393924)return;const _0x456bdc=[{'id':X[_0x121ab6(0x2a1)]['id'],'params':{'unitId':_0x1bf10a,'subUnitId':_0x174270,'selections':a[_0x121ab6(0x171)][_0x121ab6(0x19b)](_0x3aed7c)}}],_0x1c4cd4=this[_0x121ab6(0x28d)]['transformMutationsWithChangeset'](_0x16b891,_0x456bdc);if(!p['isTransformMutationsWithChangesetSuccess'](_0x1c4cd4))throw _0x1c4cd4[_0x121ab6(0x2f2)];const _0x1484e6=(_0x3924c7=(_0x4bba39=_0x1c4cd4[_0x121ab6(0x189)][0x0])==null?void 0x0:_0x4bba39['params'])==null?void 0x0:_0x3924c7[_0x121ab6(0x4b2)];if(Array[_0x121ab6(0x2fe)](_0x1484e6)&&_0x1484e6[_0x121ab6(0x2ba)]){if(_0x1484e6[_0x121ab6(0x2ba)]===_0x456bdc[0x0][_0x121ab6(0x343)][_0x121ab6(0x4b2)][_0x121ab6(0x2ba)]&&_0x1484e6['every']((_0x2e7eb0,_0x14d97d)=>a[_0x121ab6(0x498)][_0x121ab6(0x44a)](_0x2e7eb0[_0x121ab6(0x4c9)],_0x456bdc[0x0]['params']['selections'][_0x14d97d][_0x121ab6(0x4c9)])))return;this[_0x121ab6(0x20f)][_0x121ab6(0x44b)](a[_0x121ab6(0x31a)])[_0x121ab6(0x308)](X['SetSelectionsOperation']['id'],{'unitId':_0x1bf10a,'subUnitId':_0x174270,'selections':_0x1484e6});}}},exports[_0x4adc58(0x18f)]=Jt([Ue(0x0,a['Inject'](a[_0x4adc58(0x322)])),Ue(0x1,p[_0x4adc58(0x30f)]),Ue(0x2,a[_0x4adc58(0x46d)])],exports['SheetTransformSelectionsService']);const de=a[_0x4adc58(0x359)](_0x4adc58(0x293));var He=(_0x3c9576=>(_0x3c9576[_0x3c9576[_0x4adc58(0x41a)]=0x0]=_0x4adc58(0x41a),_0x3c9576[_0x3c9576[_0x4adc58(0x1df)]=0x1]='OTHER_CLIENTS_EDITING',_0x3c9576))(He||{});const Y=_0x4adc58(0x3be),Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x48d3b8,_0x223bce,_0x5a35e5,_0x24ff51,_0x4224af){var _0x251627=_0x4adc58,_0x4d4630,_0x4ec7aa,_0x51b42a,_0x2f6ee1;const _0x4a61e7=[];for(const _0x255976 of _0x48d3b8)if(Qt[_0x251627(0x3e0)](_0x255976['id'])){if(_0x4a61e7[_0x251627(0x2ba)]>0x0)break;_0x4a61e7[_0x251627(0x286)](_0x255976);break;}else _0x4a61e7[_0x251627(0x286)](_0x255976);const _0xe0450c=(_0x4ec7aa=(_0x4d4630=_0x4224af[_0x251627(0x471)]())==null?void 0x0:_0x4d4630[_0x251627(0x407)])!=null?_0x4ec7aa:'unknown',_0x2e6f4e=(_0x2f6ee1=(_0x51b42a=_0x4224af[_0x251627(0x471)]())==null?void 0x0:_0x51b42a[_0x251627(0x4a0)])!=null?_0x2f6ee1:_0x251627(0x38f);return{'changeset':{'unitID':_0x223bce,'type':p['mapDocumentTypeToUniverType'](_0x5a35e5[_0x251627(0x3b8)](_0x223bce)),'baseRev':_0x24ff51[_0x251627(0x273)](_0x223bce),'revision':0x0,'userID':_0xe0450c,'memberID':_0x2e6f4e,'mutations':_0x4a61e7},'pendingMutations':_0x48d3b8[_0x251627(0x380)](_0x4a61e7['length'])};}function ei(_0x1278ec,_0x47469b,_0x36c65f,_0x6c794d,_0x5ae981){var _0x179ad8=_0x4adc58,_0x413c60,_0x389e4c,_0x237348,_0x1cb571;const _0x125d44=[_0x1278ec['reduce']((_0x8a8cf6,_0x369688)=>{var _0x194de3=_0x2018,_0x5392b6;const {id:_0x194840}=_0x8a8cf6,{id:_0x3fb1e7,type:_0x9af6d5}=_0x369688,_0x5d3f53=(_0x5392b6=_0x8a8cf6[_0x194de3(0x343)])!=null?_0x5392b6:{'actions':null},_0x11f04f=_0x369688['params'];if(_0x194840&&_0x194840!==_0x3fb1e7)throw new Error(_0x194de3(0x311)+_0x194840+_0x194de3(0x233)+_0x3fb1e7+'.');return{..._0x8a8cf6,'id':_0x3fb1e7,'type':_0x9af6d5,'params':{'unitId':_0x11f04f[_0x194de3(0x1f4)],'textRanges':_0x11f04f[_0x194de3(0x16f)],'actions':a['JSONX']['compose'](_0x5d3f53[_0x194de3(0x342)],_0x11f04f[_0x194de3(0x342)])}};},{})],_0x59dd0b=(_0x389e4c=(_0x413c60=_0x5ae981[_0x179ad8(0x471)]())==null?void 0x0:_0x413c60[_0x179ad8(0x407)])!=null?_0x389e4c:_0x179ad8(0x38f),_0x248fd3=(_0x1cb571=(_0x237348=_0x5ae981[_0x179ad8(0x471)]())==null?void 0x0:_0x237348['memberID'])!=null?_0x1cb571:'unknown';return{'changeset':{'unitID':_0x47469b,'type':p['mapDocumentTypeToUniverType'](_0x36c65f[_0x179ad8(0x3b8)](_0x47469b)),'baseRev':_0x6c794d[_0x179ad8(0x273)](_0x47469b),'revision':0x0,'userID':_0x59dd0b,'memberID':_0x248fd3,'mutations':_0x125d44},'pendingMutations':[]};}function _0x2018(_0x47157c,_0x42c0b8){var _0x250a27=_0x250a();return _0x2018=function(_0x2018da,_0x259f9c){_0x2018da=_0x2018da-0x15b;var _0x450115=_0x250a27[_0x2018da];return _0x450115;},_0x2018(_0x47157c,_0x42c0b8);}function St(_0x2e5ed6,_0x123cea){var _0x45455e=_0x4adc58;const _0x2577c6=new H[(_0x45455e(0x253))](0x1);return setTimeout(()=>_0x2577c6[_0x45455e(0x395)](_0x123cea),_0x2e5ed6),_0x2577c6['asObservable']()[_0x45455e(0x2c3)](H[_0x45455e(0x2d5)](0x1));}const ti={'id':X[_0x4adc58(0x1ef)]['id'],'type':a[_0x4adc58(0x3c9)][_0x4adc58(0x276)],'params':{}};var ii=Object['getOwnPropertyDescriptor'],oe=(_0x499969,_0xb222b0,_0x51a35b,_0x17d056)=>{var _0x184cca=_0x4adc58;for(var _0x44c779=_0x17d056>0x1?void 0x0:_0x17d056?ii(_0xb222b0,_0x51a35b):_0xb222b0,_0x279e4b=_0x499969[_0x184cca(0x2ba)]-0x1,_0x30ccb6;_0x279e4b>=0x0;_0x279e4b--)(_0x30ccb6=_0x499969[_0x279e4b])&&(_0x44c779=_0x30ccb6(_0x44c779)||_0x44c779);return _0x44c779;},w=(_0x3232ee,_0x58524d)=>(_0x281a06,_0x219257)=>_0x58524d(_0x281a06,_0x219257,_0x3232ee),je=(_0x21fa96=>(_0x21fa96[_0x4adc58(0x31b)]=_0x4adc58(0x43c),_0x21fa96['SYNCED']='synced',_0x21fa96[_0x4adc58(0x2f3)]=_0x4adc58(0x38d),_0x21fa96['AWAITING']=_0x4adc58(0x361),_0x21fa96['AWAITING_WITH_PENDING']=_0x4adc58(0x1b0),_0x21fa96['FETCH_MISS']='fetch_missing',_0x21fa96['CONFLICT']=_0x4adc58(0x3ce),_0x21fa96['OFFLINE']='offline',_0x21fa96))(je||{});const ft=0xea60;class ae{constructor(_0x40fc55,_0x39cd57,_0xf10255,_0x1b61d2,_0x448146,_0x50dc53,_0x3b899c,_0x36b8fe,_0x363982){var _0x17b0d6=_0x4adc58;A(this,'_awaitingChangeset',null),A(this,_0x17b0d6(0x4b5),[]),(this['unitID']=_0x40fc55,this[_0x17b0d6(0x3b4)]=_0x39cd57,this[_0x17b0d6(0x427)]=_0x448146,this['_commandService']=_0x50dc53,this[_0x17b0d6(0x17e)]=_0x3b899c,this[_0x17b0d6(0x492)]=_0x36b8fe,this[_0x17b0d6(0x1f3)]=_0x363982,this[_0x17b0d6(0x33a)]=_0xf10255,this[_0x17b0d6(0x4b5)]=_0x1b61d2);}[_0x4adc58(0x405)](_0x221044){var _0x50fb6e=_0x4adc58;const _0xfbcf15=this[_0x50fb6e(0x492)][_0x50fb6e(0x273)](this[_0x50fb6e(0x1e3)]);return _0x221044[_0x50fb6e(0x29e)]>_0xfbcf15+0x1?(this[_0x50fb6e(0x427)][_0x50fb6e(0x3c6)]({'from':_0xfbcf15,'to':_0x221044[_0x50fb6e(0x29e)]-0x1}),!0x0):!0x1;}[_0x4adc58(0x2cd)](_0x5f1ac3){var _0x24fdd4=_0x4adc58;this['_undoRedoService'][_0x24fdd4(0x3cb)](this[_0x24fdd4(0x1e3)],_0x5f1ac3);}['_transformSelections'](_0x1f8abf){var _0x4b329e=_0x4adc58,_0x10089f,_0x351689;(_0x351689=(_0x10089f=this['_handler'])[_0x4b329e(0x1b3)])==null||_0x351689[_0x4b329e(0x160)](_0x10089f,_0x1f8abf);}[_0x4adc58(0x35a)](_0x4f5e87){var _0x3fc8fa=_0x4adc58,_0x2932bf,_0x1f750c;return(_0x1f750c=(_0x2932bf=this[_0x3fc8fa(0x427)])[_0x3fc8fa(0x401)])==null?void 0x0:_0x1f750c[_0x3fc8fa(0x160)](_0x2932bf,_0x4f5e87);}[_0x4adc58(0x30c)](_0x2f978a){var _0x2a816c=_0x4adc58,_0x27b87e,_0x53648e;return(_0x53648e=(_0x27b87e=this[_0x2a816c(0x427)])[_0x2a816c(0x2a8)])==null?void 0x0:_0x53648e[_0x2a816c(0x160)](_0x27b87e,_0x2f978a);}[_0x4adc58(0x2f9)](_0x2798a3){var _0x578c45=_0x4adc58,_0x402a34,_0x1d7f29,_0x11a97f;return(_0x11a97f=(_0x1d7f29=(_0x402a34=this[_0x578c45(0x427)])[_0x578c45(0x23b)])==null?void 0x0:_0x1d7f29[_0x578c45(0x160)](_0x402a34,_0x2798a3))!=null?_0x11a97f:_0x2798a3;}[_0x4adc58(0x23d)](_0x2fcb9e){var _0x4797a5=_0x4adc58,_0x2953f3,_0x5545d7,_0x45455b;return(_0x45455b=(_0x5545d7=(_0x2953f3=this[_0x4797a5(0x427)])[_0x4797a5(0x487)])==null?void 0x0:_0x5545d7['call'](_0x2953f3,_0x2fcb9e))!=null?_0x45455b:_0x2fcb9e;}[_0x4adc58(0x413)](_0x2a558e){var _0x47885a=_0x4adc58,_0x381693,_0x388320;if(this['type']===J[_0x47885a(0x3ae)]){const {unitID:_0x438ba2,mutations:_0x2d69df,memberID:_0x5365cf}=_0x2a558e,_0x29d0e1=_0x2d69df[0x0][_0x47885a(0x343)][_0x47885a(0x16f)];Array[_0x47885a(0x2fe)](_0x29d0e1)&&_0x29d0e1[_0x47885a(0x2ba)]>0x0&&((_0x388320=(_0x381693=this[_0x47885a(0x427)])['onSyncEditingCollabCursor'])==null||_0x388320[_0x47885a(0x160)](_0x381693,{'unitID':_0x438ba2,'memberID':_0x5365cf,'textRanges':_0x29d0e1}));}}[_0x4adc58(0x216)](){var _0x23d9d6=_0x4adc58,_0x5f04a3;(_0x5f04a3=this[_0x23d9d6(0x1f3)])==null||_0x5f04a3['updateOfflineData'](this[_0x23d9d6(0x1e3)],this['type'],this[_0x23d9d6(0x33a)],this[_0x23d9d6(0x4b5)]);}[_0x4adc58(0x186)](){var _0x28f1d3=_0x4adc58;return this[_0x28f1d3(0x492)][_0x28f1d3(0x273)](this[_0x28f1d3(0x1e3)]);}[_0x4adc58(0x246)](){var _0x2cc978=_0x4adc58;this[_0x2cc978(0x492)][_0x2cc978(0x314)](this[_0x2cc978(0x1e3)]);}[_0x4adc58(0x271)](_0x37f8ab){var _0x37cc64=_0x4adc58,_0x5eb710;let _0x518be7=this[_0x37cc64(0x2f9)](_0x37f8ab);_0x518be7=this[_0x37cc64(0x23d)](_0x518be7);const _0x31b0ff=a[_0x37cc64(0x374)](_0x518be7[_0x37cc64(0x20a)],this['_commandService'],{'fromCollab':!0x0});if(!_0x31b0ff['result'])throw _0x31b0ff[_0x37cc64(0x2f2)]instanceof Error?_0x31b0ff[_0x37cc64(0x2f2)]:new Error((_0x5eb710=_0x31b0ff['error'])!=null?_0x5eb710:'[CollaborationState]:\x20apply\x20error!');this[_0x37cc64(0x35a)](_0x518be7),this[_0x37cc64(0x30c)](_0x518be7),this[_0x37cc64(0x2cd)](_0x37f8ab),this['_transformSelections'](_0x518be7),this[_0x37cc64(0x413)](_0x518be7),this['_incrementRevisionNumber']();}}exports[_0x4adc58(0x4a4)]=class extends ae{constructor(_0x57d7fe,_0x2aeacf,_0x5ef35b,_0x143ee7,_0x420871,_0x117d38,_0x27897a,_0x14756c,_0xc88f27,_0x18f361){var _0x360c81=_0x4adc58;super(_0x57d7fe,_0x2aeacf,null,[],_0x5ef35b,_0x27897a,_0x117d38,_0x143ee7,_0x18f361),A(this,'status',_0x360c81(0x29d)),(this[_0x360c81(0x20f)]=_0x420871,this[_0x360c81(0x337)]=_0x14756c,this[_0x360c81(0x28d)]=_0xc88f27,this[_0x360c81(0x1c0)]=_0x18f361);}['appendMutation'](_0xcbbcbf){var _0x512e52=_0x4adc58;const _0xcb1776=this[_0x512e52(0x20f)][_0x512e52(0x349)](exports[_0x512e52(0x1ab)],this[_0x512e52(0x1e3)],this[_0x512e52(0x3b4)],[_0xcbbcbf],this[_0x512e52(0x427)]);return _0xcb1776[_0x512e52(0x19e)](),_0xcb1776[_0x512e52(0x216)](),_0xcb1776;}[_0x4adc58(0x2eb)](_0x2e3e6f){var _0x5112d8=_0x4adc58;if(this[_0x5112d8(0x405)](_0x2e3e6f))return this[_0x5112d8(0x20f)][_0x5112d8(0x349)](exports[_0x5112d8(0x1dd)],this[_0x5112d8(0x1e3)],this['type'],null,[],null,[_0x2e3e6f],this['_handler']);try{const _0x6ad39d=this[_0x5112d8(0x28d)][_0x5112d8(0x4aa)](_0x2e3e6f,[ti]);if(p[_0x5112d8(0x172)](_0x6ad39d)){const {c1Prime:_0x717a39}=_0x6ad39d;return this[_0x5112d8(0x271)](_0x717a39),this;}throw _0x6ad39d[_0x5112d8(0x2f2)];}catch(_0x2ef981){return this[_0x5112d8(0x337)]['error'](_0x2ef981),this[_0x5112d8(0x3fe)](!0x1);}}[_0x4adc58(0x3fe)](_0x17441d){var _0x321aa9=_0x4adc58;return this['_injector'][_0x321aa9(0x349)](exports['ConflictState'],this[_0x321aa9(0x1e3)],this['type'],null,[],this[_0x321aa9(0x427)],_0x17441d);}[_0x4adc58(0x199)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4adc58(0x1c4)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4adc58(0x41f)](){return this;}[_0x4adc58(0x1cc)](){var _0x4b091b=_0x4adc58;return this[_0x4b091b(0x20f)][_0x4b091b(0x349)](exports[_0x4b091b(0x17b)],this[_0x4b091b(0x1e3)],this[_0x4b091b(0x3b4)],null,[],this[_0x4b091b(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x59675a=_0x4adc58;throw new Error(_0x59675a(0x42e));}[_0x4adc58(0x290)](){var _0xccb5d5=_0x4adc58;const _0x5ae5a4=this[_0xccb5d5(0x492)][_0xccb5d5(0x273)](this[_0xccb5d5(0x1e3)]);return this['_handler'][_0xccb5d5(0x3c6)]({'from':_0x5ae5a4,'to':0x0}),this[_0xccb5d5(0x20f)][_0xccb5d5(0x349)](exports['FetchingMissState'],this[_0xccb5d5(0x1e3)],this[_0xccb5d5(0x3b4)],null,[],null,[],this['_handler']);}},exports[_0x4adc58(0x4a4)]=oe([w(0x3,a[_0x4adc58(0x49e)](p['RevisionService'])),w(0x4,a['Inject'](a[_0x4adc58(0x322)])),w(0x5,a[_0x4adc58(0x191)]),w(0x6,a['ICommandService']),w(0x7,a[_0x4adc58(0x270)]),w(0x8,p[_0x4adc58(0x30f)]),w(0x9,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x4a4)]),exports[_0x4adc58(0x1ab)]=class extends ae{constructor(_0x3e6b0c,_0x28db15,_0x1dc0b5,_0x114fdf,_0x3d27e2,_0x3dba59,_0x1676a9,_0x275103,_0x48cf54,_0x40feb4,_0x5783b3,_0x264763,_0x5d2be8,_0x5d7ffa){var _0x4d79cd=_0x4adc58;super(_0x3e6b0c,_0x28db15,null,_0x1dc0b5,_0x114fdf,_0x48cf54,_0x5d2be8,_0x3dba59,_0x5d7ffa),A(this,_0x4d79cd(0x28b),'pending'),A(this,_0x4d79cd(0x16d),null),A(this,'_sendingTimer',null),(this[_0x4d79cd(0x20f)]=_0x3d27e2,this['_memberService']=_0x1676a9,this[_0x4d79cd(0x337)]=_0x275103,this[_0x4d79cd(0x25b)]=_0x40feb4,this[_0x4d79cd(0x28d)]=_0x5783b3,this[_0x4d79cd(0x2b6)]=_0x264763);}[_0x4adc58(0x28e)](_0x1a4283){var _0x2427c7=_0x4adc58;return this[_0x2427c7(0x4b5)][_0x2427c7(0x286)](_0x1a4283),this[_0x2427c7(0x216)](),this;}['onRemoteChangeset'](_0xfcb222){var _0x52baf4=_0x4adc58;if(this[_0x52baf4(0x405)](_0xfcb222))return this['_clearScheduledTask'](),this[_0x52baf4(0x20f)][_0x52baf4(0x349)](exports[_0x52baf4(0x1dd)],this['unitID'],this[_0x52baf4(0x3b4)],null,this[_0x52baf4(0x4b5)],null,[_0xfcb222],this['_handler']);try{const _0x5be192=this[_0x52baf4(0x28d)]['transformMutationsWithChangeset'](_0xfcb222,this[_0x52baf4(0x4b5)]);if(p[_0x52baf4(0x172)](_0x5be192)){const {c1Prime:_0x89031e,m2Prime:_0xe6c883}=_0x5be192;this['_executeRemoteChangeset'](_0x89031e);const _0x161133=this[_0x52baf4(0x20f)][_0x52baf4(0x349)](exports[_0x52baf4(0x1ab)],this[_0x52baf4(0x1e3)],this['type'],_0xe6c883,this[_0x52baf4(0x427)]);this[_0x52baf4(0x23a)]();const _0xcd8e38=new Date()[_0x52baf4(0x462)](),_0x2bcfd2=this[_0x52baf4(0x16d)]?Math[_0x52baf4(0x3e4)](this[_0x52baf4(0x16d)]-_0xcd8e38,0x0):this[_0x52baf4(0x16c)]();return _0x161133[_0x52baf4(0x19e)](_0x2bcfd2),_0x161133;}throw _0x5be192[_0x52baf4(0x2f2)];}catch(_0x212dc4){return this['_logService'][_0x52baf4(0x2f2)](_0x212dc4),this[_0x52baf4(0x3fe)](!0x1);}}[_0x4adc58(0x199)](){var _0x204b70=_0x4adc58;throw new Error(_0x204b70(0x21e));}[_0x4adc58(0x1c4)](){var _0x1c16bd=_0x4adc58;throw new Error(_0x1c16bd(0x403));}['onRemoteRetry'](){return this;}[_0x4adc58(0x1cc)](){var _0x11eb5=_0x4adc58;return this[_0x11eb5(0x23a)](),this[_0x11eb5(0x20f)][_0x11eb5(0x349)](exports[_0x11eb5(0x17b)],this[_0x11eb5(0x1e3)],this[_0x11eb5(0x3b4)],null,this['_pendingMutations'],this[_0x11eb5(0x427)]);}[_0x4adc58(0x437)](){return this;}['_schedule'](_0x9506ca){var _0x173ee9=_0x4adc58;const _0x57e27b=_0x9506ca!=null?_0x9506ca:this[_0x173ee9(0x16c)]();this['_scheduleCompleteTimestamp']=new Date()[_0x173ee9(0x462)]()+_0x57e27b,this[_0x173ee9(0x49b)]=setTimeout(()=>{var _0xe8c2f4=_0x173ee9;this[_0xe8c2f4(0x23a)]();let _0x4e50d8=null;switch(this[_0xe8c2f4(0x3b4)]){case J['UNIVER_SHEET']:{_0x4e50d8=Ge(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this[_0xe8c2f4(0x416)]);break;}case J[_0xe8c2f4(0x3ae)]:{this[_0xe8c2f4(0x4b5)][_0xe8c2f4(0x30a)](_0x526dba=>_0x526dba['id']===ct[_0xe8c2f4(0x195)]['id'])?_0x4e50d8=ei(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this['_memberService']):_0x4e50d8=Ge(this[_0xe8c2f4(0x4b5)],this['unitID'],this[_0xe8c2f4(0x2b6)],this[_0xe8c2f4(0x492)],this[_0xe8c2f4(0x416)]);break;}default:throw new Error(_0xe8c2f4(0x4a9)+this[_0xe8c2f4(0x3b4)]+'\x20in\x20_schedule.');}const {changeset:_0x563197,pendingMutations:_0x5bf79d}=_0x4e50d8;this[_0xe8c2f4(0x427)][_0xe8c2f4(0x426)](_0x563197);const _0x3fcc67=_0x5bf79d['length']?this['_injector'][_0xe8c2f4(0x349)](exports['AwaitingWithPendingState'],this[_0xe8c2f4(0x1e3)],this['type'],_0x563197,_0x5bf79d,this['_handler'],void 0x0):this[_0xe8c2f4(0x20f)][_0xe8c2f4(0x349)](exports[_0xe8c2f4(0x27a)],this[_0xe8c2f4(0x1e3)],this[_0xe8c2f4(0x3b4)],_0x563197,this[_0xe8c2f4(0x427)]);_0x3fcc67[_0xe8c2f4(0x216)](),this[_0xe8c2f4(0x427)][_0xe8c2f4(0x388)](this,_0x3fcc67);},_0x57e27b);}[_0x4adc58(0x16c)](){var _0x18826e=_0x4adc58,_0x4f18d8;const _0x2f3f85=this['_configService'][_0x18826e(0x392)](Y);return(_0x4f18d8=_0x2f3f85==null?void 0x0:_0x2f3f85['sendChangesetTimeout'])!=null?_0x4f18d8:Ut;}[_0x4adc58(0x3d2)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4adc58(0x23a)](){var _0x212443=_0x4adc58;this[_0x212443(0x49b)]!=null&&(clearTimeout(this[_0x212443(0x49b)]),this[_0x212443(0x49b)]=null);}[_0x4adc58(0x3fe)](_0xb69ab4){var _0x4f7cf1=_0x4adc58;return this[_0x4f7cf1(0x23a)](),this[_0x4f7cf1(0x20f)][_0x4f7cf1(0x349)](exports[_0x4f7cf1(0x29c)],this['unitID'],this[_0x4f7cf1(0x3b4)],null,this[_0x4f7cf1(0x4b5)],this[_0x4f7cf1(0x427)],_0xb69ab4);}},exports[_0x4adc58(0x1ab)]=oe([w(0x4,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x5,a['Inject'](p[_0x4adc58(0x38a)])),w(0x6,a[_0x4adc58(0x49e)](exports[_0x4adc58(0x2be)])),w(0x7,a[_0x4adc58(0x270)]),w(0x8,a[_0x4adc58(0x31a)]),w(0x9,a[_0x4adc58(0x3f1)]),w(0xa,p[_0x4adc58(0x30f)]),w(0xb,a['IUniverInstanceService']),w(0xc,a[_0x4adc58(0x191)]),w(0xd,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x1ab)]),exports['AwaitingState']=class extends ae{constructor(_0x3815d8,_0x3c1029,_0x55e17d,_0x5940ea,_0xd3b1db,_0x241c90,_0xd0ab7a,_0x5b264c,_0x258b54,_0xe2c061,_0x144d76){var _0x5d265b=_0x4adc58;super(_0x3815d8,_0x3c1029,_0x55e17d,[],_0x5940ea,_0xd0ab7a,_0xe2c061,_0x241c90,_0x144d76),A(this,'status',_0x5d265b(0x361)),A(this,'_resendTimeout',0x0),A(this,_0x5d265b(0x167)),A(this,'_sender'),(this[_0x5d265b(0x20f)]=_0xd3b1db,this[_0x5d265b(0x337)]=_0x5b264c,this['_transformService']=_0x258b54);}[_0x4adc58(0x28e)](_0x2e0628){var _0x5f52c9=_0x4adc58;this[_0x5f52c9(0x23a)]();const _0x2d2f6b=this[_0x5f52c9(0x20f)][_0x5f52c9(0x349)](exports[_0x5f52c9(0x182)],this[_0x5f52c9(0x1e3)],this[_0x5f52c9(0x3b4)],this[_0x5f52c9(0x33a)],[_0x2e0628],this[_0x5f52c9(0x427)],this[_0x5f52c9(0x167)]);return _0x2d2f6b[_0x5f52c9(0x216)](),_0x2d2f6b;}[_0x4adc58(0x2eb)](_0x375552){var _0x69175c=_0x4adc58;if(this[_0x69175c(0x405)](_0x375552))return this['_clearScheduledTask'](),this[_0x69175c(0x20f)]['createInstance'](exports['FetchingMissState'],this[_0x69175c(0x1e3)],this[_0x69175c(0x3b4)],this[_0x69175c(0x33a)],[],null,[_0x375552],this[_0x69175c(0x427)]);try{const _0x10a7d8=this[_0x69175c(0x28d)]['transformChangesets']([_0x375552],[this[_0x69175c(0x33a)]],!0x1);if(p[_0x69175c(0x2ee)](_0x10a7d8)){const {c1Prime:_0x113f0f,c2Prime:_0x11b236}=_0x10a7d8;this[_0x69175c(0x271)](_0x113f0f[0x0]),_0x11b236[0x0][_0x69175c(0x165)]=this[_0x69175c(0x186)](),this[_0x69175c(0x23a)]();const _0x5d73e2=this[_0x69175c(0x20f)]['createInstance'](exports[_0x69175c(0x27a)],this[_0x69175c(0x1e3)],this[_0x69175c(0x3b4)],_0x11b236[0x0],this[_0x69175c(0x427)]);return _0x5d73e2[_0x69175c(0x216)](),_0x5d73e2;}return this['_onConflict'](!0x1);}catch(_0x4260d4){return this[_0x69175c(0x337)]['error'](_0x4260d4),this[_0x69175c(0x3fe)](!0x1);}}['onRemoteAck'](_0x19d5e1){var _0x4dc3e6=_0x4adc58;this[_0x4dc3e6(0x23a)]();const _0x55b294=this[_0x4dc3e6(0x492)][_0x4dc3e6(0x273)](this[_0x4dc3e6(0x1e3)]);if(_0x19d5e1['revision']<_0x55b294-0x1)return this;if(this[_0x4dc3e6(0x405)](_0x19d5e1))return this[_0x4dc3e6(0x20f)][_0x4dc3e6(0x349)](exports[_0x4dc3e6(0x1dd)],this['unitID'],this[_0x4dc3e6(0x3b4)],null,[],this[_0x4dc3e6(0x33a)],[],this[_0x4dc3e6(0x427)]);this[_0x4dc3e6(0x246)]();const _0x4b2a69=this['_injector'][_0x4dc3e6(0x349)](exports[_0x4dc3e6(0x4a4)],this['unitID'],this[_0x4dc3e6(0x3b4)],this[_0x4dc3e6(0x427)]);return _0x4b2a69['_updateLocalCache'](),_0x4b2a69;}[_0x4adc58(0x1c4)](_0x152748){var _0x579920=_0x4adc58;return this[_0x579920(0x3fe)](!!(_0x152748!=null&&_0x152748[_0x579920(0x321)]));}[_0x4adc58(0x41f)](_0x2e539e){var _0x46a0f4=_0x4adc58;return this[_0x46a0f4(0x231)]>ft?this[_0x46a0f4(0x1cc)]():(this['_resendTimer']=St(this[_0x46a0f4(0x231)],{'timeout':this[_0x46a0f4(0x231)],'reqId':_0x2e539e[_0x46a0f4(0x17c)]}),this[_0x46a0f4(0x24b)]=this['_resendTimer'][_0x46a0f4(0x1b8)](({reqId:_0x33171e,timeout:_0x8ef8c3})=>{this['_resendWithTimeout'](_0x33171e,_0x8ef8c3);}),this);}[_0x4adc58(0x1cc)](){var _0xd3508=_0x4adc58;return this[_0xd3508(0x23a)](),this[_0xd3508(0x20f)][_0xd3508(0x349)](exports['OfflineState'],this[_0xd3508(0x1e3)],this['type'],this[_0xd3508(0x33a)],[],this[_0xd3508(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x4adc58(0x3fe)](_0x49c5d8){var _0x367e24=_0x4adc58;return this[_0x367e24(0x23a)](),this[_0x367e24(0x20f)][_0x367e24(0x349)](exports[_0x367e24(0x29c)],this[_0x367e24(0x1e3)],this[_0x367e24(0x3b4)],this['_awaitingChangeset'],[],this['_handler'],_0x49c5d8);}['_resendWithTimeout'](_0x58529b,_0x2c4ac5){var _0x51b2ef=_0x4adc58,_0x47c34f;_0x58529b===((_0x47c34f=this[_0x51b2ef(0x33a)])==null?void 0x0:_0x47c34f['reqId'])&&(this[_0x51b2ef(0x3d2)](),this[_0x51b2ef(0x231)]=_0x2c4ac5===0x0?0x3e8:_0x2c4ac5*0x2);}[_0x4adc58(0x23a)](){var _0x4bbeb0=_0x4adc58,_0x31a6c0;(_0x31a6c0=this[_0x4bbeb0(0x24b)])==null||_0x31a6c0[_0x4bbeb0(0x325)](),this[_0x4bbeb0(0x231)]=0x0;}},exports[_0x4adc58(0x27a)]=oe([w(0x4,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x5,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x4adc58(0x30f)]),w(0x9,a[_0x4adc58(0x191)]),w(0xa,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x27a)]),exports[_0x4adc58(0x182)]=class extends ae{constructor(_0x235649,_0x390197,_0x38794d,_0x357e50,_0x1f9831,_0x2a8add,_0x3dc379,_0x466d75,_0x1d4f45,_0xe1b6dd,_0x33defc,_0x652ded,_0x57d320){var _0x3a8b6=_0x4adc58;super(_0x235649,_0x390197,_0x38794d,_0x357e50,_0x1f9831,_0x1d4f45,_0x652ded,_0x466d75,_0x57d320),A(this,'status',_0x3a8b6(0x1b0)),A(this,_0x3a8b6(0x231),0x0),A(this,'_resendTimer'),A(this,_0x3a8b6(0x24b)),(this[_0x3a8b6(0x20f)]=_0x3dc379,this[_0x3a8b6(0x337)]=_0xe1b6dd,this[_0x3a8b6(0x28d)]=_0x33defc,this[_0x3a8b6(0x1c0)]=_0x57d320,_0x2a8add&&(this[_0x3a8b6(0x167)]=_0x2a8add,this[_0x3a8b6(0x24b)]=this[_0x3a8b6(0x167)][_0x3a8b6(0x1b8)](({reqId:_0x232a97,timeout:_0x890230})=>{var _0x313bcd=_0x3a8b6;this[_0x313bcd(0x1bb)](_0x232a97,_0x890230);})));}[_0x4adc58(0x28e)](_0x58ce9e){var _0x4d9064=_0x4adc58;return this[_0x4d9064(0x4b5)][_0x4d9064(0x286)](_0x58ce9e),this;}[_0x4adc58(0x2eb)](_0x1b6f14){var _0x9fae53=_0x4adc58;if(this[_0x9fae53(0x405)](_0x1b6f14))return this[_0x9fae53(0x23a)](),this[_0x9fae53(0x20f)][_0x9fae53(0x349)](exports[_0x9fae53(0x1dd)],this[_0x9fae53(0x1e3)],this[_0x9fae53(0x3b4)],this[_0x9fae53(0x33a)],this[_0x9fae53(0x4b5)],null,[_0x1b6f14],this['_handler']);try{const _0x2d395e=this[_0x9fae53(0x28d)][_0x9fae53(0x483)]([_0x1b6f14],[this[_0x9fae53(0x33a)]],!0x1);if(p[_0x9fae53(0x2ee)](_0x2d395e)){const {c1Prime:_0x3e9405,c2Prime:_0x57f030}=_0x2d395e,_0x5cb845=this[_0x9fae53(0x28d)]['transformMutationsWithChangeset'](_0x3e9405[0x0],this[_0x9fae53(0x4b5)]);if(p[_0x9fae53(0x172)](_0x5cb845)){const {c1Prime:_0x42acfa,m2Prime:_0x4ef517}=_0x5cb845;return this['_executeRemoteChangeset'](_0x42acfa),_0x57f030[0x0][_0x9fae53(0x165)]=this['_getCurrentRevision'](),this[_0x9fae53(0x23a)](),this[_0x9fae53(0x20f)][_0x9fae53(0x349)](exports[_0x9fae53(0x182)],this[_0x9fae53(0x1e3)],this[_0x9fae53(0x3b4)],_0x57f030[0x0],_0x4ef517,this[_0x9fae53(0x427)],void 0x0);}throw _0x5cb845[_0x9fae53(0x2f2)];}throw _0x2d395e[_0x9fae53(0x2f2)];}catch(_0x3b3a2a){return this[_0x9fae53(0x337)][_0x9fae53(0x2f2)](_0x3b3a2a),this[_0x9fae53(0x3fe)](!0x1);}}[_0x4adc58(0x199)](_0xc35949){var _0x14eef8=_0x4adc58;if(this[_0x14eef8(0x23a)](),this[_0x14eef8(0x405)](_0xc35949))return this[_0x14eef8(0x20f)]['createInstance'](exports[_0x14eef8(0x1dd)],this['unitID'],this[_0x14eef8(0x3b4)],null,this[_0x14eef8(0x4b5)],this['_awaitingChangeset'],[],this[_0x14eef8(0x427)]);this[_0x14eef8(0x246)]();const _0x50baef=this[_0x14eef8(0x20f)]['createInstance'](exports[_0x14eef8(0x1ab)],this[_0x14eef8(0x1e3)],this[_0x14eef8(0x3b4)],this[_0x14eef8(0x4b5)],this[_0x14eef8(0x427)]);return _0x50baef['_schedule'](),_0x50baef['_updateLocalCache'](),_0x50baef;}['onRemoteRej'](_0xfabd6a){var _0x5ac9a0=_0x4adc58;return this[_0x5ac9a0(0x3fe)](!!(_0xfabd6a!=null&&_0xfabd6a[_0x5ac9a0(0x321)]));}['onRemoteRetry'](_0x5783f4){var _0x54f592=_0x4adc58;return this[_0x54f592(0x231)]>ft?this[_0x54f592(0x1cc)]():(this[_0x54f592(0x167)]=St(this[_0x54f592(0x231)],{'timeout':this[_0x54f592(0x231)],'reqId':_0x5783f4[_0x54f592(0x17c)]}),this[_0x54f592(0x24b)]=this[_0x54f592(0x167)][_0x54f592(0x1b8)](({reqId:_0x6df523,timeout:_0x3adbc4})=>{var _0x16e532=_0x54f592;this[_0x16e532(0x1bb)](_0x6df523,_0x3adbc4);}),this);}[_0x4adc58(0x1cc)](){var _0x486629=_0x4adc58;return this[_0x486629(0x23a)](),this[_0x486629(0x20f)][_0x486629(0x349)](exports[_0x486629(0x17b)],this[_0x486629(0x1e3)],this['type'],this[_0x486629(0x33a)],this[_0x486629(0x4b5)],this[_0x486629(0x427)]);}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x4449e4=_0x4adc58;this['_handler'][_0x4449e4(0x426)](this[_0x4449e4(0x33a)]);}[_0x4adc58(0x3fe)](_0x69dd7d){var _0x3e4cc4=_0x4adc58;return this['_clearScheduledTask'](),this[_0x3e4cc4(0x20f)][_0x3e4cc4(0x349)](exports[_0x3e4cc4(0x29c)],this[_0x3e4cc4(0x1e3)],this['type'],null,this[_0x3e4cc4(0x4b5)],this['_handler'],_0x69dd7d);}[_0x4adc58(0x1bb)](_0x2ce058,_0x4236a1){var _0xb9636=_0x4adc58,_0x24f6da;_0x2ce058===((_0x24f6da=this['_awaitingChangeset'])==null?void 0x0:_0x24f6da['reqId'])&&(this[_0xb9636(0x3d2)](),this['_resendTimeout']=_0x4236a1===0x0?0x3e8:_0x4236a1*0x2);}[_0x4adc58(0x23a)](){var _0x28ca3f=_0x4adc58,_0x4c611d;(_0x4c611d=this[_0x28ca3f(0x24b)])==null||_0x4c611d[_0x28ca3f(0x325)](),this[_0x28ca3f(0x231)]=0x0;}},exports[_0x4adc58(0x182)]=oe([w(0x6,a[_0x4adc58(0x49e)](a['Injector'])),w(0x7,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x8,a[_0x4adc58(0x31a)]),w(0x9,a['ILogService']),w(0xa,p[_0x4adc58(0x30f)]),w(0xb,a[_0x4adc58(0x191)]),w(0xc,a[_0x4adc58(0x287)](K))],exports['AwaitingWithPendingState']),exports['ConflictState']=class extends ae{constructor(_0x1d588f,_0x477842,_0x53d596,_0x1fdec1,_0x12633b,_0x3c91ac=!0x1,_0x14707f,_0x92ad13,_0x2d0fd4,_0x2831b8,_0x4b11ce,_0x1bbad9,_0x1bc78b){var _0xfc6454=_0x4adc58;super(_0x1d588f,_0x477842,_0x53d596,_0x1fdec1,_0x12633b,_0x92ad13,_0x2d0fd4,_0x2831b8,_0x1bc78b),A(this,_0xfc6454(0x28b),_0xfc6454(0x3ce)),(this[_0xfc6454(0x32e)]=_0x3c91ac,this['_permissionService']=_0x14707f,this[_0xfc6454(0x2f6)]=_0x4b11ce,this['_collaborationUIEventService']=_0x1bbad9,this['localCacheService']=_0x1bc78b,this['_showConflictNotification'](),this[_0xfc6454(0x365)](),this[_0xfc6454(0x2d2)]());}[_0x4adc58(0x28e)](){return this;}[_0x4adc58(0x2eb)](){return this;}[_0x4adc58(0x199)](){return this;}[_0x4adc58(0x1c4)](){return this;}[_0x4adc58(0x41f)](){return this;}[_0x4adc58(0x1cc)](){return this;}[_0x4adc58(0x437)](){return this;}[_0x4adc58(0x3d2)](){var _0x415c76=_0x4adc58;throw new Error(_0x415c76(0x2e6));}[_0x4adc58(0x365)](){var _0x52a45b=_0x4adc58,_0x238b8d;(_0x238b8d=this[_0x52a45b(0x1f3)])==null||_0x238b8d['updateOfflineData'](this[_0x52a45b(0x1e3)],this[_0x52a45b(0x3b4)],null,[]);}[_0x4adc58(0x415)](){var _0x2ae595=_0x4adc58;this[_0x2ae595(0x32e)]?this[_0x2ae595(0x496)][_0x2ae595(0x245)]({'id':Z[_0x2ae595(0x263)]}):this[_0x2ae595(0x496)][_0x2ae595(0x245)]({'id':Z[_0x2ae595(0x3fb)]});}[_0x4adc58(0x2d2)](){var _0x57dff5=_0x4adc58;this[_0x57dff5(0x15d)][_0x57dff5(0x230)](new X[(_0x57dff5(0x32f))](this[_0x57dff5(0x1e3)])['id'],!0x1);}},exports[_0x4adc58(0x29c)]=oe([w(0x6,a[_0x4adc58(0x49e)](a[_0x4adc58(0x3b3)])),w(0x7,a[_0x4adc58(0x31a)]),w(0x8,a[_0x4adc58(0x191)]),w(0x9,a[_0x4adc58(0x49e)](p['RevisionService'])),w(0xa,a[_0x4adc58(0x49e)](a['LocaleService'])),w(0xb,a[_0x4adc58(0x49e)](ee)),w(0xc,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x29c)]),exports[_0x4adc58(0x17b)]=class extends ae{constructor(_0x4fb037,_0x4a3ecf,_0x13ada8,_0x420d3d,_0x35b057,_0x37ded2,_0x29328a,_0xc05747,_0x53d1dd,_0x414c5b){var _0x2a8d8=_0x4adc58;super(_0x4fb037,_0x4a3ecf,_0x13ada8,_0x420d3d,_0x35b057,_0xc05747,_0x53d1dd,_0x29328a,_0x414c5b),A(this,_0x2a8d8(0x28b),_0x2a8d8(0x44f)),this[_0x2a8d8(0x20f)]=_0x37ded2;}[_0x4adc58(0x28e)](_0x1a08a1){var _0x241291=_0x4adc58;return this[_0x241291(0x4b5)][_0x241291(0x286)](_0x1a08a1),this[_0x241291(0x216)](),this;}[_0x4adc58(0x2eb)](_0x3b8451){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4adc58(0x199)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4adc58(0x41f)](){return this;}['toggleOffline'](){return this;}[_0x4adc58(0x437)](){var _0x3cdc6a=_0x4adc58;const {_injector:_0x4a03ed,_pendingMutations:_0x384b86,_awaitingChangeset:_0x5aec1e,unitID:_0x17985a,_handler:_0x276ce7,type:_0x5860c4}=this,_0x5d1114=It(_0x4a03ed,_0x17985a,_0x5860c4,_0x5aec1e,_0x384b86,_0x276ce7);return _0x5d1114 instanceof exports[_0x3cdc6a(0x1ab)]?_0x5d1114['_schedule']():(_0x5d1114 instanceof exports[_0x3cdc6a(0x182)]||_0x5d1114 instanceof exports[_0x3cdc6a(0x27a)])&&_0x5d1114['resend'](),_0x5d1114;}[_0x4adc58(0x3d2)](){var _0x3b2001=_0x4adc58;throw new Error(_0x3b2001(0x428));}},exports[_0x4adc58(0x17b)]=oe([w(0x5,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),w(0x7,a[_0x4adc58(0x31a)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Optional'](K))],exports[_0x4adc58(0x17b)]),exports[_0x4adc58(0x1dd)]=class extends ae{constructor(_0x5692c3,_0x52936b,_0x4bf64a,_0x305d79,_0x27f61a,_0x3150db,_0x812116,_0x56d216,_0x40d6ec,_0x4730fc,_0x577dc8,_0x46c997,_0x56ecf8,_0x35cc7d){var _0x34e647=_0x4adc58;super(_0x5692c3,_0x52936b,_0x4bf64a,_0x305d79,_0x812116,_0x577dc8,_0x46c997,_0x40d6ec,_0x35cc7d),A(this,_0x34e647(0x28b),_0x34e647(0x27e)),(this[_0x34e647(0x350)]=_0x27f61a,this[_0x34e647(0x1fb)]=_0x3150db,this['_injector']=_0x56d216,this[_0x34e647(0x337)]=_0x4730fc,this[_0x34e647(0x28d)]=_0x56ecf8,this[_0x34e647(0x1c0)]=_0x35cc7d);}[_0x4adc58(0x2fb)](_0x2e59d2){var _0xf4602f=_0x4adc58;try{const _0x41afe2=[..._0x2e59d2,...this['_queuedRemoteChangesets']],_0x4fe57a=[this[_0xf4602f(0x33a)]||this[_0xf4602f(0x350)]]['filter'](_0x57d3e6=>!!_0x57d3e6);let _0x198bf3,_0x1ef6ad;if(_0x4fe57a[_0xf4602f(0x2ba)]){const _0x564171=this['_transformService']['transformChangesets'](_0x41afe2,_0x4fe57a,!0x1);if(!p[_0xf4602f(0x2ee)](_0x564171))throw _0x564171[_0xf4602f(0x2f2)];_0x198bf3=_0x564171[_0xf4602f(0x46a)],_0x1ef6ad=_0x564171[_0xf4602f(0x211)];}else _0x198bf3=_0x41afe2,_0x1ef6ad=[];let _0x4ef3db=this[_0xf4602f(0x4b5)];_0x198bf3[_0xf4602f(0x37b)](_0x2eec32=>{var _0x53da97=_0xf4602f;let _0x51e105;if(_0x4ef3db[_0x53da97(0x2ba)]){const _0x428245=this[_0x53da97(0x28d)][_0x53da97(0x4aa)](_0x2eec32,_0x4ef3db);if(!p[_0x53da97(0x172)](_0x428245))throw _0x428245[_0x53da97(0x2f2)];_0x51e105=_0x428245[_0x53da97(0x46a)],_0x4ef3db=_0x428245[_0x53da97(0x189)];}else _0x51e105=_0x2eec32;this[_0x53da97(0x271)](_0x51e105);}),this[_0xf4602f(0x350)]&&this['_incrementRevisionNumber'](),this[_0xf4602f(0x33a)]&&_0x1ef6ad[_0xf4602f(0x2ba)]&&(_0x1ef6ad[0x0]['baseRev']=this[_0xf4602f(0x186)]());let _0x3895e4;if(this[_0xf4602f(0x33a)]&&_0x4ef3db['length']!==0x0)_0x3895e4=this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports['AwaitingWithPendingState'],this[_0xf4602f(0x1e3)],this['type'],_0x1ef6ad[0x0],_0x4ef3db,this[_0xf4602f(0x427)],void 0x0);else{if(this[_0xf4602f(0x33a)]&&_0x4ef3db[_0xf4602f(0x2ba)]===0x0)_0x1ef6ad[0x0][_0xf4602f(0x165)]=this[_0xf4602f(0x186)](),_0x3895e4=this['_injector'][_0xf4602f(0x349)](exports[_0xf4602f(0x27a)],this['unitID'],this['type'],_0x1ef6ad[0x0],this['_handler']);else{if(_0x4ef3db[_0xf4602f(0x2ba)]!==0x0){const _0x216619=this[_0xf4602f(0x20f)]['createInstance'](exports[_0xf4602f(0x1ab)],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],_0x4ef3db,this[_0xf4602f(0x427)]);_0x216619[_0xf4602f(0x19e)](),_0x3895e4=_0x216619;}else _0x3895e4=this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports[_0xf4602f(0x4a4)],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],this[_0xf4602f(0x427)]);}}return _0x3895e4['_updateLocalCache'](),_0x3895e4;}catch(_0x386403){return this[_0xf4602f(0x337)][_0xf4602f(0x2f2)](_0xf4602f(0x1ad),'failed\x20to\x20apply\x20missed\x20changesets!',_0x386403),this[_0xf4602f(0x20f)][_0xf4602f(0x349)](exports['ConflictState'],this[_0xf4602f(0x1e3)],this[_0xf4602f(0x3b4)],this[_0xf4602f(0x33a)],this['_pendingMutations'],this[_0xf4602f(0x427)],!0x1);}}['resend'](){var _0x343d91=_0x4adc58;throw new Error(_0x343d91(0x204));}[_0x4adc58(0x28e)](_0x145ac8){return this['_pendingMutations']['push'](_0x145ac8),this;}[_0x4adc58(0x2eb)](_0x31d550){var _0xdb8203=_0x4adc58;return this[_0xdb8203(0x1fb)][_0xdb8203(0x286)](_0x31d550),this;}[_0x4adc58(0x199)](_0x4ea77d){var _0x5ec5f8=_0x4adc58;if(this[_0x5ec5f8(0x33a)])return this[_0x5ec5f8(0x350)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x5ec5f8(0x323));}[_0x4adc58(0x1c4)](_0x468d4c){var _0x10ae3e=_0x4adc58;return this['_onConflict'](!!(_0x468d4c!=null&&_0x468d4c[_0x10ae3e(0x321)]));}[_0x4adc58(0x41f)](){return this;}['toggleOffline'](){var _0x11903d=_0x4adc58;return this[_0x11903d(0x20f)]['createInstance'](exports['OfflineState'],this[_0x11903d(0x1e3)],this[_0x11903d(0x3b4)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x11903d(0x427)]);}['toggleOnline'](){return this;}[_0x4adc58(0x3fe)](_0x1d2b01){var _0x3ecb5d=_0x4adc58;return this[_0x3ecb5d(0x20f)][_0x3ecb5d(0x349)](exports[_0x3ecb5d(0x29c)],this[_0x3ecb5d(0x1e3)],this[_0x3ecb5d(0x3b4)],this['_awaitingChangeset'],this[_0x3ecb5d(0x4b5)],this[_0x3ecb5d(0x427)],_0x1d2b01);}},exports[_0x4adc58(0x1dd)]=oe([w(0x7,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),w(0x8,a['Inject'](p[_0x4adc58(0x38a)])),w(0x9,a[_0x4adc58(0x270)]),w(0xa,a[_0x4adc58(0x31a)]),w(0xb,a[_0x4adc58(0x191)]),w(0xc,p['ITransformService']),w(0xd,a['Optional'](K))],exports['FetchingMissState']);function It(_0xcafa2d,_0x61f595,_0x1215e3,_0x76dab9,_0x3adb55,_0xae84cd){var _0x2ceed1=_0x4adc58;return _0x76dab9&&_0x3adb55[_0x2ceed1(0x2ba)]?_0xcafa2d[_0x2ceed1(0x349)](exports[_0x2ceed1(0x182)],_0x61f595,_0x1215e3,_0x76dab9,_0x3adb55,_0xae84cd,void 0x0):_0x76dab9?_0xcafa2d[_0x2ceed1(0x349)](exports['AwaitingState'],_0x61f595,_0x1215e3,_0x76dab9,_0xae84cd):_0x3adb55[_0x2ceed1(0x2ba)]?_0xcafa2d[_0x2ceed1(0x349)](exports['PendingState'],_0x61f595,_0x1215e3,_0x3adb55,_0xae84cd):_0xcafa2d[_0x2ceed1(0x349)](exports[_0x2ceed1(0x4a4)],_0x61f595,_0x1215e3,_0xae84cd);}var ni=Object[_0x4adc58(0x3af)],Be=(_0x44182c,_0x5d5a74,_0x2ac47c,_0x4d685c)=>{var _0x58f316=_0x4adc58;for(var _0x1a9f56=_0x4d685c>0x1?void 0x0:_0x4d685c?ni(_0x5d5a74,_0x2ac47c):_0x5d5a74,_0x4b525c=_0x44182c[_0x58f316(0x2ba)]-0x1,_0x139734;_0x4b525c>=0x0;_0x4b525c--)(_0x139734=_0x44182c[_0x4b525c])&&(_0x1a9f56=_0x139734(_0x1a9f56)||_0x1a9f56);return _0x1a9f56;},j=(_0x302590,_0xc6d372)=>(_0x2ddace,_0x4166e0)=>_0xc6d372(_0x2ddace,_0x4166e0,_0x302590);exports[_0x4adc58(0x3a0)]=class extends a[_0x4adc58(0x34a)]{constructor(_0x5b9fd1,_0x34c182,_0x44ceff,_0x150632,_0x223f61,_0x277971,_0x51e549,_0x1c389b,_0x2153df,_0x4b498f,_0x4ff411,_0x5e2b3d,_0x4d94c3){var _0x4b9130=_0x4adc58;super(),A(this,_0x4b9130(0x414),new H[(_0x4b9130(0x3b0))](null)),A(this,_0x4b9130(0x376),this[_0x4b9130(0x414)]['asObservable']()),A(this,_0x4b9130(0x202)),A(this,_0x4b9130(0x251),!0x1),A(this,_0x4b9130(0x474),''),A(this,_0x4b9130(0x3eb),0x0),A(this,_0x4b9130(0x33d),this[_0x4b9130(0x376)]['pipe'](H[_0x4b9130(0x1ea)](_0x3d8244=>_0x3d8244?_0x3d8244[_0x4b9130(0x28b)]:je[_0x4b9130(0x43a)]),H[_0x4b9130(0x1a2)](0x1))),A(this,_0x4b9130(0x20e),!0x1),A(this,_0x4b9130(0x456),[]),(this[_0x4b9130(0x1e3)]=_0x5b9fd1,this['session']=_0x34c182,this['_type']=_0x44ceff,this[_0x4b9130(0x20f)]=_0x150632,this['_compressMutationService']=_0x223f61,this[_0x4b9130(0x2f6)]=_0x277971,this[_0x4b9130(0x492)]=_0x51e549,this[_0x4b9130(0x183)]=_0x1c389b,this[_0x4b9130(0x337)]=_0x2153df,this[_0x4b9130(0x41c)]=_0x4b498f,this['_permissionService']=_0x4ff411,this[_0x4b9130(0x2ef)]=_0x5e2b3d,this[_0x4b9130(0x1f3)]=_0x4d94c3);}get[_0x4adc58(0x339)](){var _0x2ff6e3=_0x4adc58;return this[_0x2ff6e3(0x202)];}async[_0x4adc58(0x316)](){var _0x42fe62=_0x4adc58;if(this[_0x42fe62(0x339)])throw new Error(_0x42fe62(0x3fd));await this[_0x42fe62(0x18e)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,a['toDisposable'](()=>{var _0x30ef6b=_0x2018;this['_collaborationPaused']=!0x1,this[_0x30ef6b(0x2b4)]();});}['onLocalMutation'](_0xc567cc){var _0x273557=_0x4adc58;this[_0x273557(0x409)](_0xc567cc);}['_updateState'](_0x3df204){var _0x485cb2=_0x4adc58;this['_state']=_0x3df204,this[_0x485cb2(0x414)]['next'](_0x3df204);}async[_0x4adc58(0x18e)](){var _0x14323b=_0x4adc58,_0x397d41;this[_0x14323b(0x313)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x397d41=this[_0x14323b(0x2ef)])==null||_0x397d41[_0x14323b(0x39f)](this['unitID']),this[_0x14323b(0x166)](this[_0x14323b(0x2ef)][_0x14323b(0x3c5)](this[_0x14323b(0x1e3)])[_0x14323b(0x1b8)](_0x30f442=>{var _0x403378=_0x14323b;this[_0x403378(0x337)][_0x403378(0x3d9)](_0x403378(0x455),'editing\x20status\x20changed\x20to',_0x30f442),_0x30f442===He[_0x403378(0x1df)]?(this[_0x403378(0x183)][_0x403378(0x245)]({'id':Z[_0x403378(0x454)]}),this['_permissionService'][_0x403378(0x230)](new X[(_0x403378(0x32f))](this['unitID'])['id'],!0x1),this[_0x403378(0x15d)][_0x403378(0x2db)](!0x1)):(this['_permissionService'][_0x403378(0x230)](new X[(_0x403378(0x32f))](this[_0x403378(0x1e3)])['id'],!0x0),this[_0x403378(0x15d)]['setShowComponents'](!0x0));})));let _0x1455af=!0x1;return this['disposeWithMe'](this[_0x14323b(0x3f0)][_0x14323b(0x38b)][_0x14323b(0x1b8)](_0x4f59cf=>{var _0x1fc1c4=_0x14323b;_0x4f59cf===re[_0x1fc1c4(0x49a)]?this[_0x1fc1c4(0x197)](_0x1455af):_0x4f59cf===re[_0x1fc1c4(0x43a)]&&(_0x1455af=!0x0,this[_0x1fc1c4(0x179)]());})),this['disposeWithMe'](this[_0x14323b(0x3f0)][_0x14323b(0x2c2)][_0x14323b(0x1b8)](_0x7e82d6=>{var _0x3aac4b=_0x14323b;try{switch(_0x7e82d6[_0x3aac4b(0x162)]){case p[_0x3aac4b(0x232)]['NEW_CHANGESETS']:{this[_0x3aac4b(0x434)](p['parseProtocolChangeset'](_0x7e82d6[_0x3aac4b(0x46c)]));break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x39c)]:{this['_onRemoteACK'](_0x7e82d6[_0x3aac4b(0x46c)]);break;}case p['CollaborationEvent'][_0x3aac4b(0x381)]:{this['_onRemoteRejected']();break;}case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x7e82d6[_0x3aac4b(0x46c)]);break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x2b7)]:{this[_0x3aac4b(0x2b5)](_0x7e82d6[_0x3aac4b(0x46c)][_0x3aac4b(0x302)]['map'](_0x5e78a1=>p[_0x3aac4b(0x38e)](_0x5e78a1)));break;}case p[_0x3aac4b(0x232)]['PERMISSION_REJ']:{this[_0x3aac4b(0x27f)]({'isPermissionRej':!0x0});break;}case p[_0x3aac4b(0x232)][_0x3aac4b(0x367)]:break;}}catch(_0x1b2f00){throw console[_0x3aac4b(0x2f2)](_0x3aac4b(0x33b),_0x1b2f00),_0x1b2f00;}})),this[_0x14323b(0x202)];}[_0x4adc58(0x22c)](){var _0x51e4b1=_0x4adc58;this[_0x51e4b1(0x20e)]=!0x1;}[_0x4adc58(0x402)](){if(this['_transitionLocked'])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['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x23c0d7){var _0x35b125=_0x4adc58;this[_0x35b125(0x402)](),this[_0x35b125(0x313)](this[_0x35b125(0x202)][_0x35b125(0x28e)](_0x23c0d7)),this[_0x35b125(0x22c)]();}[_0x4adc58(0x434)](_0x24fca5){var _0xff213a=_0x4adc58;if(!(_0x24fca5['revision']<=this[_0xff213a(0x492)][_0xff213a(0x273)](this[_0xff213a(0x1e3)]))){if(this['_collaborationPaused']){this[_0xff213a(0x456)][_0xff213a(0x286)](_0x24fca5);return;}this[_0xff213a(0x391)](_0x24fca5);}}[_0x4adc58(0x2b4)](){var _0x346fea=_0x4adc58;this[_0x346fea(0x456)][_0x346fea(0x37b)](_0x25f1fa=>this[_0x346fea(0x391)](_0x25f1fa)),this[_0x346fea(0x456)]=[];}[_0x4adc58(0x391)](_0x5c8ebf){var _0x1bc45d=_0x4adc58;const _0x2b22c3=this[_0x1bc45d(0x1e2)][_0x1bc45d(0x371)][_0x1bc45d(0x2fd)](this[_0x1bc45d(0x1e2)][_0x1bc45d(0x371)][_0x1bc45d(0x193)]()[_0x1bc45d(0x1eb)])(_0x5c8ebf[_0x1bc45d(0x20a)],null)||_0x5c8ebf[_0x1bc45d(0x20a)],_0x3688f6={..._0x5c8ebf,'mutations':_0x2b22c3};this[_0x1bc45d(0x402)](),this[_0x1bc45d(0x313)](this[_0x1bc45d(0x202)][_0x1bc45d(0x2eb)](_0x3688f6)),this[_0x1bc45d(0x22c)]();}[_0x4adc58(0x469)](_0x495a35){var _0x13069b=_0x4adc58;this[_0x13069b(0x402)](),this[_0x13069b(0x313)](this[_0x13069b(0x202)][_0x13069b(0x199)](_0x495a35)),this[_0x13069b(0x22c)]();}[_0x4adc58(0x27f)](_0x1747dc){var _0x15e86d=_0x4adc58;this[_0x15e86d(0x402)](),this['_updateState'](this[_0x15e86d(0x202)][_0x15e86d(0x1c4)](_0x1747dc)),this[_0x15e86d(0x22c)]();}[_0x4adc58(0x334)](_0x51c160){var _0x3aedb2=_0x4adc58;this[_0x3aedb2(0x402)](),this['_updateState'](this['_state'][_0x3aedb2(0x41f)](_0x51c160)),this[_0x3aedb2(0x22c)]();}[_0x4adc58(0x2b5)](_0x9abc07){var _0x503030=_0x4adc58;if(!(this[_0x503030(0x202)]instanceof exports[_0x503030(0x1dd)]))throw new TypeError(_0x503030(0x332));const _0x1e4b8d=_0x9abc07[_0x503030(0x1ea)](_0x90f12d=>{var _0x34b972=_0x503030;const _0x545ed8=this[_0x34b972(0x1e2)][_0x34b972(0x371)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x34b972(0x371)]['getInterceptPoints']()[_0x34b972(0x1eb)])(_0x90f12d['mutations'],null)||_0x90f12d[_0x34b972(0x20a)];return{..._0x90f12d,'mutations':_0x545ed8};});this[_0x503030(0x402)](),this[_0x503030(0x313)](this[_0x503030(0x202)]['onMissedChangesetFetched'](_0x1e4b8d)),this[_0x503030(0x22c)]();}['_toggleOffline'](){var _0x4b1136=_0x4adc58;this[_0x4b1136(0x402)](),this[_0x4b1136(0x313)](this['_state'][_0x4b1136(0x1cc)]()),this[_0x4b1136(0x22c)]();}['_toggleOnline'](_0x1cdca1=!0x1){var _0x1755c1=_0x4adc58;this[_0x1755c1(0x402)](),this['_updateState'](this[_0x1755c1(0x202)][_0x1755c1(0x437)]()),this[_0x1755c1(0x22c)]();const _0x126502=this[_0x1755c1(0x202)];_0x1cdca1&&_0x126502 instanceof exports['SyncedState']&&(this['_lockTransition'](),this['_updateState'](_0x126502[_0x1755c1(0x290)]()),this['_unlockTransition']());}async[_0x4adc58(0x47d)](){return new Promise(_0x4217bc=>{var _0x296116=_0x2018;this[_0x296116(0x3f0)][_0x296116(0x38b)]['pipe'](H[_0x296116(0x2d5)](0x1))[_0x296116(0x1b8)](async _0x39e930=>{var _0x277914=_0x296116;_0x4217bc(await this[_0x277914(0x2cf)](_0x39e930===re['ONLINE']));});});}[_0x4adc58(0x447)](){const _0x2930d5=this['unitID'];return{'onStateChange':(_0x358c4c,_0x306131)=>{var _0x2e78dd=_0x2018;if(_0x358c4c!==this[_0x2e78dd(0x202)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x358c4c[_0x2e78dd(0x28b)]+_0x2e78dd(0x19f)+_0x306131[_0x2e78dd(0x28b)]+_0x2e78dd(0x389)+this[_0x2e78dd(0x202)][_0x2e78dd(0x28b)]);this[_0x2e78dd(0x313)](_0x306131);},'onSendChangeset':_0x295f4a=>{var _0x1d2976=_0x2018;_0x295f4a[_0x1d2976(0x345)]||(_0x295f4a[_0x1d2976(0x345)]=this[_0x1d2976(0x474)],_0x295f4a[_0x1d2976(0x17c)]=++this['_changesetReqId']);const _0x452b28={'eventID':p[_0x1d2976(0x232)][_0x1d2976(0x2b3)],'data':{'unitID':_0x295f4a[_0x1d2976(0x1e3)],'unitType':this['_type'],'changeset':_0x295f4a,'memberID':this[_0x1d2976(0x3f0)]['getMemberID']()}};this[_0x1d2976(0x3f0)][_0x1d2976(0x1b1)](_0x452b28,this[_0x1d2976(0x1e3)]);},'onMissingChangesets':({from:_0x27d80e,to:_0x4e500d})=>{var _0xc47978=_0x2018;this[_0xc47978(0x337)][_0xc47978(0x3d9)](_0xc47978(0x455),_0xc47978(0x2da)+_0x27d80e+_0xc47978(0x468)+_0x4e500d);const _0x5318da={'eventID':p[_0xc47978(0x232)]['FETCH_MISSING'],'data':{'unitID':_0x2930d5,'unitType':this['_type'],'from':_0x27d80e,'to':_0x4e500d}};this[_0xc47978(0x3f0)][_0xc47978(0x1b1)](_0x5318da,this[_0xc47978(0x1e3)]);}};}async['_createInitialStateImpl'](_0x15a333){var _0x174ff6=_0x4adc58,_0x20d990,_0x3060fa,_0x33947c;const _0x1ff43a=await((_0x20d990=this[_0x174ff6(0x1f3)])==null?void 0x0:_0x20d990[_0x174ff6(0x33c)](this[_0x174ff6(0x1e3)])),_0x3fc3d5=(_0x3060fa=_0x1ff43a==null?void 0x0:_0x1ff43a[_0x174ff6(0x20a)])!=null?_0x3060fa:[],_0x5312e7=(_0x33947c=_0x1ff43a==null?void 0x0:_0x1ff43a[_0x174ff6(0x180)])!=null?_0x33947c:null,_0x5ada44=!!(_0x5312e7!=null&&_0x5312e7[_0x174ff6(0x345)])&&!!(_0x5312e7!=null&&_0x5312e7['reqId']);this[_0x174ff6(0x474)]=_0x5ada44?_0x5312e7[_0x174ff6(0x345)]:p['uuidv4'](),this[_0x174ff6(0x3eb)]=_0x5ada44?_0x5312e7[_0x174ff6(0x17c)]:0x0;const _0x3bc2e4=this[_0x174ff6(0x1e3)];try{this['_replayCachedMutations'](_0x5312e7,_0x3fc3d5);}catch(_0x1c2c25){this[_0x174ff6(0x337)][_0x174ff6(0x2f2)](_0x1c2c25);}const _0x58a3f0=this['_createHandler']();if(_0x15a333){const _0x1110dc=It(this['_injector'],_0x3bc2e4,this['_type'],_0x5312e7,_0x3fc3d5,_0x58a3f0);return _0x1110dc instanceof exports[_0x174ff6(0x1ab)]?_0x1110dc[_0x174ff6(0x19e)]():(_0x1110dc instanceof exports[_0x174ff6(0x182)]||_0x1110dc instanceof exports[_0x174ff6(0x27a)])&&_0x1110dc[_0x174ff6(0x3d2)](),_0x1110dc;}return this[_0x174ff6(0x20f)]['createInstance'](exports['OfflineState'],_0x3bc2e4,this[_0x174ff6(0x35f)],_0x5312e7,_0x3fc3d5,_0x58a3f0);}[_0x4adc58(0x485)](_0x16c6c4,_0xc897b5){var _0x21733e=_0x4adc58,_0xf4a372,_0x1fe6fc;const _0x2a1086=this['_compressMutationService'][_0x21733e(0x371)][_0x21733e(0x2fd)](this[_0x21733e(0x1e2)][_0x21733e(0x371)]['getInterceptPoints']()[_0x21733e(0x1eb)]);(_0xf4a372=_0x2a1086((_0x16c6c4==null?void 0x0:_0x16c6c4[_0x21733e(0x20a)])||[],null))==null||_0xf4a372['forEach'](_0x371100=>this['_commandService'][_0x21733e(0x308)](_0x371100['id'],_0x371100[_0x21733e(0x343)])),(_0x1fe6fc=_0x2a1086(_0xc897b5||[],null))==null||_0x1fe6fc[_0x21733e(0x37b)](_0x352efc=>this[_0x21733e(0x41c)]['executeCommand'](_0x352efc['id'],_0x352efc[_0x21733e(0x343)]));}},exports[_0x4adc58(0x3a0)]=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a[_0x4adc58(0x49e)](p['CompressMutationService'])),j(0x5,a[_0x4adc58(0x49e)](a[_0x4adc58(0x1f9)])),j(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),j(0x7,a[_0x4adc58(0x49e)](ee)),j(0x8,a[_0x4adc58(0x270)]),j(0x9,a[_0x4adc58(0x31a)]),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x3a0)]),exports['DocCollaborationEntity']=class extends exports[_0x4adc58(0x3a0)]{constructor(_0x1ef423,_0x118d01,_0x2485dc,_0x5b2152,_0x523a30,_0x1f7142,_0x5440c3,_0x175382,_0x1c567e,_0x19cb60,_0x708f8f,_0x1dc49f,_0x402461){var _0x4c5935=_0x4adc58;super(_0x1ef423,_0x2485dc,_0x118d01,_0x5b2152,_0x523a30,_0x1f7142,_0x5440c3,_0x175382,_0x1c567e,_0x19cb60,_0x708f8f,_0x1dc49f,_0x402461),A(this,_0x4c5935(0x249),null),(this[_0x4c5935(0x1e3)]=_0x1ef423,this['type']=_0x118d01);}[_0x4adc58(0x19d)](_0xba50a2){var _0x14c86e=_0x4adc58;this[_0x14c86e(0x249)]=_0xba50a2;}[_0x4adc58(0x1d1)](){var _0x44f287=_0x4adc58;this['_handlerCallback']=null,super[_0x44f287(0x1d1)]();}[_0x4adc58(0x447)](){var _0x5dbda5=_0x4adc58;const _0x540ff2=super[_0x5dbda5(0x447)]();return _0x540ff2[_0x5dbda5(0x401)]=_0x2f946c=>{var _0x36b19b=_0x5dbda5,_0x101027,_0x48dd82;return(_0x48dd82=(_0x101027=this['_handlerCallback'])==null?void 0x0:_0x101027['onTransformIME'])==null?void 0x0:_0x48dd82[_0x36b19b(0x160)](_0x101027,_0x2f946c);},_0x540ff2[_0x5dbda5(0x2a8)]=_0x4c4cdc=>{var _0x10c71d=_0x5dbda5,_0x29c90f,_0x47c36b;return(_0x47c36b=(_0x29c90f=this[_0x10c71d(0x249)])==null?void 0x0:_0x29c90f[_0x10c71d(0x2a8)])==null?void 0x0:_0x47c36b[_0x10c71d(0x160)](_0x29c90f,_0x4c4cdc);},_0x540ff2[_0x5dbda5(0x1b3)]=_0x4d36ff=>{var _0x1008b5=_0x5dbda5,_0x44e69b,_0x58aa2c;return(_0x58aa2c=(_0x44e69b=this[_0x1008b5(0x249)])==null?void 0x0:_0x44e69b[_0x1008b5(0x1b3)])==null?void 0x0:_0x58aa2c[_0x1008b5(0x160)](_0x44e69b,_0x4d36ff);},_0x540ff2[_0x5dbda5(0x36a)]=_0x496468=>{var _0x25bc92=_0x5dbda5,_0x524060,_0x482648;return(_0x482648=(_0x524060=this[_0x25bc92(0x249)])==null?void 0x0:_0x524060[_0x25bc92(0x36a)])==null?void 0x0:_0x482648[_0x25bc92(0x160)](_0x524060,_0x496468);},_0x540ff2[_0x5dbda5(0x23b)]=_0x59c694=>{var _0x777453=_0x5dbda5,_0x5b8556,_0x488bac,_0x18e663;if(!((_0x5b8556=this[_0x777453(0x249)])!=null&&_0x5b8556[_0x777453(0x23b)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x18e663=(_0x488bac=this[_0x777453(0x249)])==null?void 0x0:_0x488bac[_0x777453(0x23b)])==null?void 0x0:_0x18e663[_0x777453(0x160)](_0x488bac,_0x59c694);},_0x540ff2['onTransformRemoteChangesetByStateCache']=_0x417679=>{var _0xdaa64e=_0x5dbda5,_0x48bccc,_0x3b870b,_0x4e43f5;if(!((_0x48bccc=this['_handlerCallback'])!=null&&_0x48bccc[_0xdaa64e(0x487)]))throw new Error(_0xdaa64e(0x32d));return(_0x4e43f5=(_0x3b870b=this['_handlerCallback'])==null?void 0x0:_0x3b870b[_0xdaa64e(0x487)])==null?void 0x0:_0x4e43f5[_0xdaa64e(0x160)](_0x3b870b,_0x417679);},_0x540ff2;}async[_0x4adc58(0x18e)](){var _0x3d1a55=_0x4adc58;const _0x4639c7=await super['_init']();return this[_0x3d1a55(0x166)](this[_0x3d1a55(0x41c)][_0x3d1a55(0x312)]((_0x3fcbbb,_0x3032e2)=>{var _0x26d1d7=_0x3d1a55;if(_0x3fcbbb[_0x26d1d7(0x3b4)]!==a[_0x26d1d7(0x3c9)][_0x26d1d7(0x276)]||_0x3032e2!=null&&_0x3032e2[_0x26d1d7(0x47a)]||_0x3032e2!=null&&_0x3032e2[_0x26d1d7(0x25a)]||_0x3fcbbb['id']===ct['RichTextEditingMutation']['id'])return;const _0x500603=_0x3fcbbb[_0x26d1d7(0x343)];if((_0x500603==null?void 0x0:_0x500603['unitId'])!==this[_0x26d1d7(0x1e3)])return;const _0x18db39=_0x3fcbbb,_0x539c39=this['_compressMutationService'][_0x26d1d7(0x371)][_0x26d1d7(0x2fd)](this[_0x26d1d7(0x1e2)][_0x26d1d7(0x371)][_0x26d1d7(0x193)]()['COMPRESS_MUTATION_SEND'])([_0x18db39],null)||[_0x18db39];this['_onLocalMutation'](_0x539c39[0x0]);})),_0x4639c7;}},exports['DocCollaborationEntity']=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a['Inject'](p[_0x4adc58(0x15e)])),j(0x5,a[_0x4adc58(0x49e)](a['LocaleService'])),j(0x6,a[_0x4adc58(0x49e)](p['RevisionService'])),j(0x7,a[_0x4adc58(0x49e)](ee)),j(0x8,a[_0x4adc58(0x270)]),j(0x9,a[_0x4adc58(0x31a)]),j(0xa,a[_0x4adc58(0x3b3)]),j(0xb,a[_0x4adc58(0x287)](de)),j(0xc,a['Optional'](K))],exports[_0x4adc58(0x2df)]),exports['SheetCollaborationEntity']=class extends exports[_0x4adc58(0x3a0)]{constructor(_0x3eb97a,_0x3695cb,_0x3b556b,_0x10c45f,_0x5e4c7f,_0x456834,_0xb1abd8,_0xc9d815,_0x152db0,_0x426bb0,_0x3232bb,_0x5ad9f0,_0x2a2521,_0xc6954){var _0x35e65a=_0x4adc58;super(_0x3eb97a,_0x3b556b,_0x3695cb,_0x10c45f,_0x5e4c7f,_0x456834,_0xb1abd8,_0x152db0,_0x426bb0,_0x3232bb,_0x5ad9f0,_0x2a2521,_0xc6954),this['unitID']=_0x3eb97a,this['type']=_0x3695cb,this[_0x35e65a(0x289)]=_0xc9d815;}[_0x4adc58(0x447)](){var _0x1fd0b3=_0x4adc58;const _0x59f7e8=super[_0x1fd0b3(0x447)]();return _0x59f7e8[_0x1fd0b3(0x1b3)]=_0x3b7f74=>this['_sheetTransformSelectionsService']['transformSelections'](_0x3b7f74),_0x59f7e8;}async['_init'](){var _0x296160=_0x4adc58;const _0x51a50b=await super['_init']();return this['disposeWithMe'](this[_0x296160(0x41c)][_0x296160(0x312)]((_0x5c3889,_0x31a44b)=>{var _0x560b83=_0x296160;if(_0x5c3889['type']!==a['CommandType'][_0x560b83(0x276)]||_0x31a44b!=null&&_0x31a44b['fromCollab']||_0x31a44b!=null&&_0x31a44b[_0x560b83(0x25a)])return;const _0x47ee30=_0x5c3889[_0x560b83(0x343)];if((_0x47ee30==null?void 0x0:_0x47ee30[_0x560b83(0x1f4)])!==this['unitID'])return;const _0x43d4f3=_0x5c3889,_0x236a26=this[_0x560b83(0x1e2)][_0x560b83(0x371)]['fetchThroughInterceptors'](this[_0x560b83(0x1e2)][_0x560b83(0x371)][_0x560b83(0x193)]()['COMPRESS_MUTATION_SEND'])([_0x43d4f3],null)||[_0x43d4f3];this[_0x560b83(0x409)](_0x236a26[0x0]);})),_0x51a50b;}},exports[_0x4adc58(0x2dc)]=Be([j(0x3,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),j(0x4,a[_0x4adc58(0x49e)](p[_0x4adc58(0x15e)])),j(0x5,a['Inject'](a[_0x4adc58(0x1f9)])),j(0x6,a[_0x4adc58(0x49e)](p[_0x4adc58(0x38a)])),j(0x7,a[_0x4adc58(0x49e)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x4adc58(0x49e)](ee)),j(0x9,a[_0x4adc58(0x270)]),j(0xa,a[_0x4adc58(0x31a)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x4adc58(0x287)](de)),j(0xd,a[_0x4adc58(0x287)](K))],exports[_0x4adc58(0x2dc)]);const pt=a[_0x4adc58(0x359)](_0x4adc58(0x484));function mt(_0x337297){var _0x1f2eea=_0x4adc58,_0x4e7788,_0x386ad4,_0x484124,_0x31e279,_0x488f56;const _0x6635dd=_0x337297[_0x1f2eea(0x46c)],_0x5d24ad=JSON['parse'](_0x6635dd);switch(_0x5d24ad[_0x1f2eea(0x1c1)]){case W['HEARTBEAT']:case W[_0x1f2eea(0x475)]:{const _0x3e9379=_0x5d24ad['infoRsp'];return{..._0x5d24ad,'data':_0x3e9379,'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};}case W[_0x1f2eea(0x170)]:{const _0x4aa1bf=_0x5d24ad[_0x1f2eea(0x479)];return{..._0x5d24ad,'data':_0x4aa1bf,'cmd':_0x5d24ad['cmd']};}case W[_0x1f2eea(0x2a6)]:{const _0x42d86d=_0x5d24ad[_0x1f2eea(0x472)];switch(_0x42d86d['eventID']){case p[_0x1f2eea(0x232)][_0x1f2eea(0x330)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x4e7788=_0x42d86d[_0x1f2eea(0x4c2)])==null?void 0x0:_0x4e7788['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x39c)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x386ad4=_0x42d86d[_0x1f2eea(0x18d)])==null?void 0x0:_0x386ad4['cs']},'cmd':_0x5d24ad['cmd']};case p[_0x1f2eea(0x232)]['NEW_CHANGESETS']:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x484124=_0x42d86d[_0x1f2eea(0x482)])==null?void 0x0:_0x484124['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x381)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x31e279=_0x42d86d[_0x1f2eea(0x18c)])==null?void 0x0:_0x31e279['cs']},'cmd':_0x5d24ad['cmd']};case p[_0x1f2eea(0x232)][_0x1f2eea(0x3df)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':(_0x488f56=_0x42d86d['csShouldRetryEvent'])==null?void 0x0:_0x488f56['cs']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x1af)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['updateCursorEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x262)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['joinEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x433)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x47f)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)]['LIVESHARE_NEW_HOST']:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['liveShareNewHost']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x436)]:case p['CollaborationEvent'][_0x1f2eea(0x1c9)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x42d)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x35e)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x46e)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x1ce)]:return{..._0x5d24ad,'data':_0x42d86d,'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x3dd)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['commentUpdateEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p['CollaborationEvent'][_0x1f2eea(0x453)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d['updatePermissionObjEvent']},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x45b)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x2cc)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};case p[_0x1f2eea(0x232)][_0x1f2eea(0x367)]:return{..._0x5d24ad,'data':{..._0x42d86d,'data':_0x42d86d[_0x1f2eea(0x450)]},'cmd':_0x5d24ad[_0x1f2eea(0x1c1)]};default:return _0x5d24ad;}}default:return _0x5d24ad;}}function gt(_0x40e8bc){var _0x1a951b=_0x4adc58;switch(_0x40e8bc['cmd']){case W[_0x1a951b(0x221)]:case W[_0x1a951b(0x475)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)]});case W[_0x1a951b(0x16a)]:{let _0x4fa5be;switch(_0x40e8bc[_0x1a951b(0x46c)]['eventID']){case p[_0x1a951b(0x232)]['UPDATE_CURSOR']:{_0x4fa5be={'eventID':p['CollaborationEvent'][_0x1a951b(0x1af)],'updateCursorEvent':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)]['USERS_LEAVE']:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x433)],'leaveEvent':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x262)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x262)],'joinEvent':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x2e8)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x1c9)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)][_0x1a951b(0x35e)]:{_0x4fa5be={'eventID':p['CollaborationEvent'][_0x1a951b(0x35e)],'liveShareTerminate':_0x40e8bc['data'][_0x1a951b(0x46c)]};break;}case p[_0x1a951b(0x232)]['LIVESHARE_REQUEST_HOST']:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)][_0x1a951b(0x320)],'liveShareRequestHost':_0x40e8bc[_0x1a951b(0x46c)]['data']};break;}case p['CollaborationEvent'][_0x1a951b(0x436)]:{_0x4fa5be={'eventID':p[_0x1a951b(0x232)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4fa5be={'eventID':_0x40e8bc[_0x1a951b(0x46c)][_0x1a951b(0x162)]};}return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)],'collaMsg':_0x4fa5be});}case W[_0x1a951b(0x170)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc['routeKey'],'joinReq':_0x40e8bc[_0x1a951b(0x46c)]});case W[_0x1a951b(0x1fd)]:return JSON[_0x1a951b(0x247)]({'cmd':_0x40e8bc[_0x1a951b(0x1c1)],'routeKey':_0x40e8bc[_0x1a951b(0x274)],'leaveReq':_0x40e8bc[_0x1a951b(0x46c)]});default:throw new Error(_0x1a951b(0x31d));}}var ri=Object[_0x4adc58(0x3af)],si=(_0x592ad0,_0x1749ba,_0x272742,_0x599725)=>{var _0x5a1bcd=_0x4adc58;for(var _0x572fdb=_0x599725>0x1?void 0x0:_0x599725?ri(_0x1749ba,_0x272742):_0x1749ba,_0x4340d8=_0x592ad0[_0x5a1bcd(0x2ba)]-0x1,_0x1cc798;_0x4340d8>=0x0;_0x4340d8--)(_0x1cc798=_0x592ad0[_0x4340d8])&&(_0x572fdb=_0x1cc798(_0x572fdb)||_0x572fdb);return _0x572fdb;},_e=(_0x3bd485,_0x369178)=>(_0x497e5e,_0x5e7941)=>_0x369178(_0x497e5e,_0x5e7941,_0x3bd485);const Fe=a[_0x4adc58(0x359)]('univer-pro.collaboration-client-socket-service');function oi(_0x3c42b7,_0x4f94c8,_0x52e33b){var _0x39b192=_0x4adc58;return _0x3c42b7+'/'+_0x4f94c8+_0x39b192(0x192)+_0x52e33b+'/new_changes';}exports[_0x4adc58(0x1fc)]=class extends a[_0x4adc58(0x2c8)]{constructor(_0x36daf,_0x362a00,_0x2d59f9,_0x26eb4e,_0x23802a){var _0x53d50d=_0x4adc58;super(),this[_0x53d50d(0x20f)]=_0x36daf,this[_0x53d50d(0x3a2)]=_0x362a00,this['_configService']=_0x2d59f9,this[_0x53d50d(0x337)]=_0x26eb4e,this[_0x53d50d(0x21c)]=_0x23802a;}['_doCreateSocket'](_0x560337){var _0x20a7e1=_0x4adc58;const _0x55434c=this[_0x20a7e1(0x20f)]['get'](q['ISocketService']);if(!_0x55434c)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x32e086=_0x55434c['createSocket'](_0x560337);if(!_0x32e086)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x82af38=new a['DisposableCollection'](),_0x2886d7=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086[_0x20a7e1(0x252)]['subscribe'](_0x28dcda=>_0x2886d7[_0x20a7e1(0x395)](_0x28dcda))),_0x82af38['add'](a[_0x20a7e1(0x224)](()=>_0x2886d7['complete']()));const _0x3dbf79=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086[_0x20a7e1(0x22b)]['subscribe'](_0x150034=>_0x3dbf79[_0x20a7e1(0x395)](_0x150034))),_0x82af38[_0x20a7e1(0x187)](a[_0x20a7e1(0x224)](()=>_0x3dbf79[_0x20a7e1(0x17f)]()));const _0x1edaa4=new H[(_0x20a7e1(0x2c5))]();_0x82af38[_0x20a7e1(0x187)](_0x32e086['message$'][_0x20a7e1(0x1b8)](_0x3e6e81=>{var _0x5780d3=_0x20a7e1;const _0x44e429=mt(_0x3e6e81);_0x1edaa4[_0x5780d3(0x395)](_0x44e429);})),_0x82af38['add'](a[_0x20a7e1(0x224)](()=>_0x1edaa4[_0x20a7e1(0x17f)]()));let _0x44ba12;const _0x422459=()=>{var _0x5e047c=_0x20a7e1;_0x3dbf79['next'](new Event(_0x5e047c(0x3f5))),_0x2886d7['next'](new Event(_0x5e047c(0x3f5))),_0x44ba12[_0x5e047c(0x1d7)]();};return _0x44ba12={'memberID':'','close$':_0x2886d7[_0x20a7e1(0x228)](),'error$':_0x3dbf79['asObservable'](),'open$':_0x32e086[_0x20a7e1(0x3d0)],'message$':_0x1edaa4[_0x20a7e1(0x228)](),'send':_0x3cc99d=>{var _0x488840=_0x20a7e1;if(_0x3cc99d['cmd']===W[_0x488840(0x16a)]){if(_0x3cc99d[_0x488840(0x46c)][_0x488840(0x162)]===p[_0x488840(0x232)][_0x488840(0x2b3)]){this['_submitChangeset'](_0x44ba12,_0x3cc99d[_0x488840(0x46c)])[_0x488840(0x4c3)](_0x45d78c=>{var _0xa7f056=_0x488840;this['_logService'][_0xa7f056(0x2f2)](_0x45d78c),_0x422459();});return;}if(_0x3cc99d[_0x488840(0x46c)][_0x488840(0x162)]===p[_0x488840(0x232)][_0x488840(0x34e)]){const _0x5c7327=_0x3cc99d[_0x488840(0x46c)];this[_0x488840(0x205)](_0x5c7327)[_0x488840(0x443)](_0x55c5a5=>{var _0xd3693a=_0x488840;_0x1edaa4[_0xd3693a(0x395)]({'cmd':W['RECV'],'code':se['OK'],'routeKey':_0x5c7327[_0xd3693a(0x46c)][_0xd3693a(0x1e3)],'routeType':'','data':{'eventID':p[_0xd3693a(0x232)][_0xd3693a(0x2b7)],'data':{'changesets':_0x55c5a5}}});})[_0x488840(0x4c3)](_0x43ac09=>{var _0x56b25d=_0x488840;this['_logService'][_0x56b25d(0x2f2)](_0x43ac09),_0x422459();});return;}}_0x32e086[_0x488840(0x1b1)](gt(_0x3cc99d));},'close':()=>{var _0x4f050a=_0x20a7e1;_0x32e086[_0x4f050a(0x1d7)](),_0x82af38[_0x4f050a(0x1d1)]();}},_0x44ba12;}async[_0x4adc58(0x2b2)](_0xd384f8,_0x25539c){var _0x18056e=_0x4adc58,_0x47bf74;const {unitType:_0x5005ed,unitID:_0x39e81a,changeset:_0x193f01}=_0x25539c[_0x18056e(0x46c)],_0x4661f3={'unitID':_0x39e81a,'memberID':_0xd384f8[_0x18056e(0x4a0)],'type':_0x5005ed,'changeset':p['parseChangesetToProtocol'](_0x193f01)},_0x51bf75=this[_0x18056e(0x25b)][_0x18056e(0x392)](Y),_0x1c7889=oi((_0x47bf74=_0x51bf75==null?void 0x0:_0x51bf75[_0x18056e(0x326)])!=null?_0x47bf74:kt,_0x5005ed,_0x39e81a);try{await this['_httpService'][_0x18056e(0x235)](_0x1c7889,{'body':_0x4661f3});}catch(_0x11ca49){throw this['_logService']['error'](_0x18056e(0x1e4),_0x18056e(0x3bd)),_0x11ca49;}}async[_0x4adc58(0x205)](_0xf4e14e){var _0x41056d=_0x4adc58;const {unitID:_0x3d167d,from:_0x1ebef8,to:_0x55032b,unitType:_0x4da282}=_0xf4e14e[_0x41056d(0x46c)];return(await this[_0x41056d(0x21c)][_0x41056d(0x336)]({'metadata':void 0x0},{'unitID':_0x3d167d,'type':_0x4da282,'from':_0x1ebef8,'to':_0x55032b}))[_0x41056d(0x302)];}},exports[_0x4adc58(0x1fc)]=si([_e(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),_e(0x1,a[_0x4adc58(0x49e)](q['HTTPService'])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x4adc58(0x270)]),_e(0x4,p[_0x4adc58(0x27b)])],exports[_0x4adc58(0x1fc)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3d1c3a,_0x536f89,_0x186910,_0x8bbdd6)=>{var _0x1fc7aa=_0x4adc58;for(var _0x4ce0f7=_0x8bbdd6>0x1?void 0x0:_0x8bbdd6?ai(_0x536f89,_0x186910):_0x536f89,_0x2dde5a=_0x3d1c3a[_0x1fc7aa(0x2ba)]-0x1,_0x1d61f9;_0x2dde5a>=0x0;_0x2dde5a--)(_0x1d61f9=_0x3d1c3a[_0x2dde5a])&&(_0x4ce0f7=_0x1d61f9(_0x4ce0f7)||_0x4ce0f7);return _0x4ce0f7;},he=(_0x3b83cd,_0x1419db)=>(_0x236930,_0x2a61de)=>_0x1419db(_0x236930,_0x2a61de,_0x3b83cd);function _0x250a(){var _0x37bd3e=['sequenceExecute','cfg','state$','BlockCipher','Quantity','session.room-not-exists','SNAPSHOT_INVALID_SNAPSHOT','forEach','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_telemetryService','decryptBlock','NOT_FOUND','slice','CHANGESET_REJ','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SUBMIT_CHANGESET_TIMEOUT','charCodeAt','formatter','APPLY_PERMISSION_DENIED','_onUserJoin','onStateChange','\x0aCurrent:\x20','RevisionService','sessionStatus$','Utf8','pending','parseProtocolChangeset','unknown','encode','_applyRemoteChangeset','getConfig','b64DecodeUnicode','YUUMI_UNABLE_LOAD_URL','next','_getUploadFileURL','/collaborator','CollaborativeUndoRedoService','updateSnapshot','sheets','Hasher','CHANGESET_ACK','startsWith','StreamCipher','editingUnit','CollaborationEntity','charAt','_httpService','_scheduleCollaborationTimeoutTimer','exports','socket\x20open.','HEARTBEAT_TIMEOUT_KEY','UniverCollaborationClientPlugin','_members','ISingleActiveUnitService','UNAUTHENTICATED','INVALID_INVITE_CODE','_clearHeartbeatTimer','patch','UNIVER_DOC','getOwnPropertyDescriptor','BehaviorSubject','lib','registerHTTPInterceptor','IPermissionService','type','_userManagerService','_parse','LOCAL_CACHE_INTERVAL','getUnitType','textEncoder','725439DCtinc','getGlobalObject','enableOfflineEditing','submit\x20changeset\x20error!','collaboration-client.config','removeMember','updateMember','EMAIL_VERIFY_CODE_MISMATCH','ImageUploadStatusType','random','_xformMode','getUnitStatus$','onMissingChangesets','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','loadSheet','CommandType','title','transformUndoRedo','fromCharCode','_prevBlock','conflict','Workbook','open$','duration','resend','LOGIN_FAILED','_initRequestHeader','_collaborationTimeoutTimer','authzUrl','People','/block/','debug','saveChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','firstValueFrom','COMMENT_UPDATE','snapshotServerUrl','CHANGESET_SHOULD_RETRY','has','_instanceService','concatMap','_emitMembers','max','GLOBAL_ROOMS_CNT_EXCEEDS','getMember','initWorkbookPermissionChange','getAllMembers','/universer-api/comb','apply','_changesetReqId','ciphertext','getCurrentSelections','_getAPIPrefix','_onConnectionOpen','session','IConfigService','_socket','UniverInstanceType','_hash','connection\x20error','_unitInfo$','JOIN_ROOM_FULL','UserProfileImg','YUUMI_RATE_OVER_LIMIT','UNIVER_SHEET','CONFLICT','_decreaseWaiting','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_onConflict','clamp','uploadFileServerUrl','onTransformIME','_lockTransition','[PendingState]:\x20received\x20rejection.','INVALID_ARGUMENT','_checkMissing','UNIVER_PROJECT','userID','headers','_onLocalMutation','INVITE_CODE_ALREADY_BOUND','_cipher','getUnitId','_sessionStatus$','/rev/','dispose$','/role','reject','_registerDependencies','_syncEditingCollabCursor','_state$','_showConflictNotification','_memberService','BASE64','telemetry\x20info\x20is\x20not\x20initialized','_telemetryInfo','NO_OTHER_CLIENTS_EDITING','reduce','_commandService','_socketMessageSubscription','_hasher','onRemoteRetry','createDecryptor','UNIVER_SLIDE','onStarting','includes','_onOffline','save\x20fail\x20reason\x20is\x20','onSendChangeset','_handler','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketReady','getValue','isInternalEditorID','UNKNOWN_CMD','liveShareOperation','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','touchDependencies','APPLY_DUPLICATED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_LEAVE','_onRemoteChangeset','function','LIVESHARE_FETCH_OPERATIONS','toggleOnline','putCollaborators','CLOSE_ROOM','OFFLINE','_replaceFileID','not_collab','CONNECTOR_DATA_TOO_LARGE','from','serializeCombRequest','set','&to=','create','then','ILocalCacheService','reset','_unitID','_createHandler','registerDependencies','_updateStatus','equals','get','_shouldReportTelemetry','YUUMI_ASYNCIO_CANCELLED','batchAllowed','offline','uniscriptRunEvent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','CollaborationUIEventId','UPDATE_PERMISSION_OBJ','OTHER_CLIENT_EDITING','[CollaborationEntity]','_remoteChangesetQueue','_roomMembers','_retryConnectingTimer','Hex','_clearUndo','SHOULD_CLOSE_CONN','name','DEFAULT_FILE_NAME','SheetPermissionInitController','ERROR_EXCEED_SIZE','encodeURIComponent','_doFinalize','getTime','_commentUpdate$','override','getCollabEntity$','[UniverCollaborationClientPlugin]','_status$','\x20to\x20','_onRemoteACK','c1Prime','deleteCollaborator','data','IUniverInstanceService','liveShareNewHost','prototype','_onJoinRoomEvent','getCurrentUser','collaMsg','DataLoaderService','_changesetSessionId','HELLO','MD5','getWorkbookSelections','now','joinRsp','fromCollab','__creator','_waitForHeartbeatResponse','_createInitialState','delete','leaveEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOIN_ROOM_FAILED','newCsEvent','transformChangesets','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','symbol','onTransformRemoteChangesetByStateCache','loadDoc','min','reconnect','{fileID}','HttpExport','JOIN_ROOM_NOT_EXISTS','ThresholdInterceptorFactory','PY_RUNTIME_SCRIPT_ERROR','setConfig','objectType','_revisionService','_data','HmacMD5','_createHmacHelper','_collaborationUIEventService','_tryEnsureSocket','Rectangle','_minBufferSize','ONLINE','_sendingTimer','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','SNAPSHOT_URL_KEY','Inject','Plugin','memberID','subject','Failed\x20to\x20update\x20permission\x20point','getFocusedUnit','SyncedState','_removeRoom','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','values','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[PendingState]:\x20unhandled\x20univer\x20type:\x20','transformMutationsWithChangeset','ALREADY_EXISTS','find','CollaborationImageIoService','padding','&source=','words','HTTPRequest','selections','findIndex','YUUMI_ALL_TABLES_IS_INVALID','_pendingMutations','MentionIoHttpService','_keySchedule','_reverseMap','addImageSourceCache','UNIVER_UNKNOWN','iterations','encryptBlock','copyFileMeta','?size=','WordArray','createSocket','_ENC_XFORM_MODE','permissionRejEvent','catch','hasOwnProperty','YUUMI_AI_RUN_FAILED','DependentOn','INTERNAL_ERROR','INVITE_CODE_HAS_BEEN_UES','range','requireSession','action','Decryptor','_undoStacks','message$','_permissionService','CompressMutationService','&assign=','call','collaboratorID','eventID','_nRounds','Encryptor','baseRev','disposeWithMe','_resendTimer','_throwTelemetryCollaborationNewChangeset','_invKeySchedule','INGEST','setCurrentUser','_getSendChangesetTimeout','_scheduleCompleteTimestamp','JOIN_ROOM_PERMISSION_DENIED','textRanges','JOIN','Tools','isTransformMutationsWithChangesetSuccess','floor','abs','SessionStatus','result','FAIL','UNRECOGNIZED','_toggleOffline','processBlock','OfflineState','reqId','getImage','_undoRedoService','complete','awaitingChangeset','members$','AwaitingWithPendingState','_eventService','[CollaborationSessionService]:\x20socket\x20error','Base64','_getCurrentRevision','add','image/png','m2Prime','JOINING','entityInit$','csRejEvent','csAckEvent','_init','SheetTransformSelectionsService','session.join-failed','IUndoRedoService','/unit/','getInterceptPoints','_stopTelemetryCollaborationNewChangeset','RichTextEditingMutation','CollaborationSessionService','_toggleOnline','randomBytes','onRemoteAck','update','deepClone','auth.needGotoLoginAlert','addHandlerCallback','_schedule','\x0aAfter:\x20','image/bmp','resourceIDs','shareReplay','url','_DEC_XFORM_MODE','getCollabEntity','IContextService','kdf','_getCtorByUniverType','mixIn','getRandomValues','PendingState','target','[FetchMissState]','getTypeOfUnitAdded$','UPDATE_CURSOR','awaiting_with_pending','send','objectID','onTransformSelections','HEARTBEAT_INTERVAL','Latin1','HTTPService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','373275zkUHhg','CBC','_resendWithTimeout','getTypeOfUnitDisposed$','clear','workbook','compute','localCacheService','cmd','APPLY_REVISION_CONFILICT','avatar','onRemoteRej','BufferedBlockAlgorithm','_startTelemetryCollaborationNewChangeset','delay','snapshot','LIVESHARE_OPERATION','ws://127.0.0.1:8000/universer-api/comb/connect','isTransformMutationsWithChangesetFailure','toggleOffline','CollaborationStatus','MSG_FOR_ERROR','RETRY_CONNECTING_MAX_COUNT_KEY','OpenSSL','dispose','AuthzIoHttpService','encrypt','_imageSourceCache','SnapshotServerOverHTTPService','/allowed','close','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','string','image/gif','_socketService','_clearCollaborationTimeoutTimer','FetchingMissState','/object/','OTHER_CLIENTS_EDITING','indexOf','WECHAT_HAS_BEEN_BOUND','_compressMutationService','unitID','[CollaborationSession]','byteLength','_append','getActiveSheet','IImageIoService','_key','map','COMPRESS_MUTATION_APPLY','HEARTBEAT_TIMEOUT','_clearRetryConnectingTimer','/universer-api/file/{fileID}/sign-url','EmptyMutation','POST','pluginName','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','unitId','withCredentials','SUCCUSS','SHA1','listCollaborators','LocaleService','MergeInterceptorFactory','_queuedRemoteChangesets','CollaborationSocketService','LEAVE','getImageSourceCache','_sendHeartbeat','getRoom','retryConnectingInterval','_state','splice','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_fetchMissChangesets','_collabSessionService','getSheetBlock','/universer-api/snapshot','1954yEhuLJ','mutations','getDeserializedSheetBlock','_tryReconnect','SOCKET_FAILED_RETRY','_transitionLocked','_injector','keySize','c2Prime','_waitCount','setWaitCount','getLocalCacheKey','method','_updateLocalCache','CollaborationUIEventService','_sessions','_initUnitPermissionChange','IMentionIOService','unit-cache-','_snapshotServerService','parse','[PendingState]:\x20received\x20acknowledgement.','/universer-api/oidc/authpage','change$','HEARTBEAT','SerializableCipher','_initCloseConn','toDisposable','put','mergeOverrideWithDependencies','_entityInit$','asObservable','_getSignURL','HEARTBEAT_INTERVAL_KEY','error$','_unlockTransition','IAuthzIoService','CollaborationSession','getResourcesRequest','updatePermissionPoint','_resendTimeout','CollaborationEvent','\x20-\x20','DEFAULT_COLLAB_WEB_SOCKET_URL','post','_process','size','extend','ICollaborationSocketService','_clearScheduledTask','onTransformRemoteChangesetByIMECache','getLatestCsReqIdBySid','_transformRemoteChangesetByStateCache','56UEKRyP','code','_members$','UnitSnapshot','SnapshotService','_initMergeInterceptor','merge','emitEvent','_incrementRevisionNumber','stringify','blockSize','_handlerCallback','_onConnectionFailed','_sender','_change$','unpad','_doProcessBlock','localeService','_transformStack','_collaborationPaused','close$','ReplaySubject','_oKey','YUUMI_CONNECTOR_URL_NOT_FOUND','OPTIONAL','_rescheduleHeartbeat','enc','/universer-api/user/session-ticket','onlyLocal','_configService','1437cthUHz','APPLY_REJECT','objects','[CollaborationSessionService]','[DataLoaderService]','saveSnapshot','USERS_ENTER','PERMISSION_DENIED','objectActions','loadUnitOfRevision','key','_candidateSocket','MentionType','toStringTag','_listenToNetworkCondition','sigBytes','_startCollaboration','sin','_snapshotService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ILogService','_executeRemoteChangeset','socketService','getCurrentRevOfUnit','routeKey','allowed','MUTATION','readInt32LE','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_DISTRO_REJECTED','AwaitingState','ISnapshotServerService','x-univer-host','_initDependencies','fetch_missing','_onRemoteRejected','ImageSourceType','format','?url=','_socket$','entries','repeat','push','Optional','unitInfo$','_sheetTransformSelectionsService','originalMeta','status','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformService','appendMutation','salt','fetchMiss','execute','UnitEmbedded','univer-pro.collaboration-client.single-active-unit-service','EMAIL_HAS_BEEN_BOUND','/universer-api/snapshot/','algo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_COLLABORATION_CLIENT_PLUGIN','_retryCount','_event$','default','ConflictState','synced','revision','ERROR_IMAGE','resolve','SetSelectionsOperation','6zUYIAv','SNAPSHOT_HAS_BEEN_REMOVED','/-/object/list','1695136WHzbMA','RECV','onCommentUpdate','onTransformState','UNDEFINED','collaborators','MOBILE_VERIFY_CODE_MISMATCH','CommentService','responseType','mode','refreshPermission','concat','_iKey','_submitChangeset','SUBMIT_CHANGESET','_exhaustRemoteChangesetQueue','_onFetchMissResult','_univerInstanceService','PSEUDO_FETCH_MISSING_RESULT','_nDataBytes','clone','length','waitForRoom$','BlockCipherMode','members','MemberService','transformSelections','collabWebSocketUrl','decrypt','event$','pipe','/universer-api/authz','Subject','SOCKET_FAILED','ENSURE_SNAPSHOT_EXECUTION','Disposable','130sRxFfp','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','EvpKDF','shouldCloseConn','_transformUndoredo','roomInfos','_createInitialStateImpl','collaboration_new_changeset','takeUntil','_disableEditing','session.room-full','image/jpeg','take','_onCombEvent','readyForCollab','_doReset','_iv','fetching\x20missing\x20changesets\x20from\x20','setShowComponents','SheetCollaborationEntity','transformStack\x20failed!','socket$','DocCollaborationEntity','src','_getDownloadEndpointURL','UniverCollaborationPlugin','IDLE','online$','downloadEndpointUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','stopTime','LIVESHARE_NEW_HOST','YUUMI_URL_COL_OUT_OF_RANGE','UserManagerService','onRemoteChangeset','_getAPIPrefixPath','origin','isTransformChangesetsSuccess','_singleActiveUnitService','/-/object/-/batch_allowed','_clearTimeoutTimer','error','PENDING','/universer-api/uniscript','APPLY_NON_SEQUENTIAL_REVISION','_localeService','_getUndoStack','887455JXGCVS','_transformRemoteChangesetByIMECache','UNKNOWN_CODE','onMissedChangesetFetched','_roomCreated$','fetchThroughInterceptors','isArray','sessionStatus','defineProperty','_substituteRedoStack','changesets','pad','_timeoutTimer','join','generateRandomId','filter','executeCommand','saveImage','every','list','_transformStateCache','rev','CipherParams','ITransformService','roles','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onCommandExecuted','_updateState','incrementRevOfUnit','_substituteUndoStack','init','USER_NOT_INVITED_CODE','__Key__','FileId','ICommandService','NOT_COLLAB','_keyPriorReset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CollaborationController','Base','LIVESHARE_REQUEST_HOST','isPermissionRej','Injector','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','enableSingleActiveInstanceLock','unsubscribe','collabSubmitChangesetUrl','_map','startTime','Cipher','MOBILE_HAS_BEEN_BOUND','_mode','href','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_isPermissionRej','WorkbookEditablePermission','PERMISSION_REJ','50328MqpDph','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','441714xEEpCc','_onRemoteRetry','Undefined','fetchMissingChangesets','_logService','_createSocket','state','_awaitingChangeset','Error\x20on\x20receiving\x20event','loadOfflineData','status$','HttpImport','AES','_collaborationSessionService','_config','actions','params','[CollaborationUndoRedoService]','sid','_joinRoom','_onMessage','ivSize','createInstance','RxDisposable','hostname','ITelemetryService','getSnapshotAPIPath','FETCH_MISSING','finalize','_acknowledgedAwaitingChangeset','location','TOO_MANY_REQUESTS','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onload','toString','_redoStacks','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','_transformIMECache','_getRedoStack','_HTTPService','_doCryptBlock','LIVESHARE_TERMINATE','_type','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','awaiting','subUnitId','_sendHeartbeatTimer','/object','_clearLocalCache','crypto','UNISCRIPT_RUN','_createHelper','LICENSE_EXPORT_SIZE_EXCEEDED','onSyncEditingCollabCursor','COMPLETION_FINISHED','body','unitId\x20is\x20not\x20found','_entities','loginUrlKey','requestParams','interceptor','_getLoginPath','ceil'];_0x250a=function(){return _0x37bd3e;};return _0x250a();}exports['CollaborationSessionService']=class extends a['Disposable']{constructor(_0x54c725,_0x303ab7,_0x28e512,_0x4ee3a6,_0x3393a7,_0x4cd4da){var _0x590a37=_0x4adc58;super(),A(this,_0x590a37(0x283),new H['BehaviorSubject'](void 0x0)),A(this,_0x590a37(0x2de),this[_0x590a37(0x283)]['asObservable']()),A(this,_0x590a37(0x267),null),A(this,_0x590a37(0x218),new Map()),A(this,'_status$',new H[(_0x590a37(0x3b0))](re[_0x590a37(0x2e3)])),A(this,_0x590a37(0x33d),this[_0x590a37(0x467)][_0x590a37(0x228)]()),A(this,'_socketReady',!0x1),A(this,_0x590a37(0x458)),A(this,_0x590a37(0x299),0x0),A(this,_0x590a37(0x363)),A(this,_0x590a37(0x304)),(this['_injector']=_0x54c725,this['_logService']=_0x303ab7,this[_0x590a37(0x25b)]=_0x28e512,this[_0x590a37(0x1db)]=_0x4ee3a6,this[_0x590a37(0x496)]=_0x3393a7,this['_networkConditionService']=_0x4cd4da,this['_listenToNetworkCondition']());}get[_0x4adc58(0x3f2)](){var _0x15c8bc=_0x4adc58;return this[_0x15c8bc(0x283)][_0x15c8bc(0x42a)]();}[_0x4adc58(0x26a)](){var _0x4fb683=_0x4adc58;this['_networkConditionService']&&this[_0x4fb683(0x166)](this['_networkConditionService'][_0x4fb683(0x2e4)]['subscribe'](_0x105ea9=>{var _0x5b743b=_0x4fb683;_0x105ea9&&!this[_0x5b743b(0x3f2)]&&this['reconnect'](),_0x105ea9||this[_0x5b743b(0x424)]();}));}[_0x4adc58(0x1d1)](){var _0x277ec9=_0x4adc58;super[_0x277ec9(0x1d1)](),this['_clearRetryConnectingTimer'](),this[_0x277ec9(0x2f1)](),this[_0x277ec9(0x3ac)](),this[_0x277ec9(0x218)][_0x277ec9(0x37b)](_0x423681=>_0x423681[_0x277ec9(0x1d1)]()),this[_0x277ec9(0x218)][_0x277ec9(0x1bd)](),this['_status$'][_0x277ec9(0x17f)]();}async[_0x4adc58(0x4ca)](_0x292205){var _0x28b5ea=_0x4adc58;if(this['_sessions'][_0x28b5ea(0x3e0)](_0x292205))return this['_sessions'][_0x28b5ea(0x44b)](_0x292205);this[_0x28b5ea(0x497)]();const _0x3f257d=this[_0x28b5ea(0x20f)][_0x28b5ea(0x349)](exports['CollaborationSession'],_0x292205,this['_socket$'][_0x28b5ea(0x228)]());return this[_0x28b5ea(0x218)][_0x28b5ea(0x440)](_0x292205,_0x3f257d),_0x3f257d;}['closeSession'](_0x54bd37){var _0x17d927=_0x4adc58,_0x588fbf;const _0xb9e76=this[_0x17d927(0x218)][_0x17d927(0x44b)](_0x54bd37);_0xb9e76&&(this[_0x17d927(0x218)][_0x17d927(0x47e)](_0x54bd37),_0xb9e76[_0x17d927(0x1d7)]()),this[_0x17d927(0x218)][_0x17d927(0x237)]||(_0x588fbf=this[_0x17d927(0x3f2)])==null||_0x588fbf[_0x17d927(0x1d7)]();}[_0x4adc58(0x48a)](){var _0x10669b=_0x4adc58;this[_0x10669b(0x299)]=0x0,this[_0x10669b(0x1ed)](),this[_0x10669b(0x20c)]();}[_0x4adc58(0x1ed)](){var _0x40deca=_0x4adc58;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x40deca(0x458)]=null);}async[_0x4adc58(0x338)](){var _0x2f0934=_0x4adc58,_0xb284dc;const _0x8e8cd2=this[_0x2f0934(0x25b)][_0x2f0934(0x392)](Y),_0x38bf3a=(_0xb284dc=_0x8e8cd2==null?void 0x0:_0x8e8cd2[_0x2f0934(0x2c0)])!=null?_0xb284dc:ht,_0x509736=await this[_0x2f0934(0x1db)][_0x2f0934(0x4c0)](_0x38bf3a);return this[_0x2f0934(0x267)]=_0x509736,_0x509736;}async[_0x4adc58(0x497)](){var _0x4c9a30=_0x4adc58,_0x32d6e1,_0x38b8aa;try{const _0x261632=(_0x38b8aa=(_0x32d6e1=this['_socket'])!=null?_0x32d6e1:this[_0x4c9a30(0x267)])!=null?_0x38b8aa:await this['_createSocket']();if(_0x261632){const _0x1906b1=_0x261632[_0x4c9a30(0x1b1)];_0x261632[_0x4c9a30(0x1b1)]=_0x5aa27d=>(this[_0x4c9a30(0x257)](),_0x1906b1['apply'](_0x261632,[_0x5aa27d])),_0x261632[_0x4c9a30(0x15c)][_0x4c9a30(0x1b8)](_0x668779=>this[_0x4c9a30(0x347)](_0x261632,_0x668779)),_0x261632[_0x4c9a30(0x22b)][_0x4c9a30(0x2c3)](V[_0x4c9a30(0x2d5)](0x1))[_0x4c9a30(0x1b8)](_0x440d1e=>this[_0x4c9a30(0x337)][_0x4c9a30(0x2f2)](_0x4c9a30(0x184),_0x440d1e)),_0x261632['open$'][_0x4c9a30(0x2c3)](V['take'](0x1))[_0x4c9a30(0x1b8)](()=>{var _0x24e0a3=_0x4c9a30;this[_0x24e0a3(0x3ef)](_0x261632);}),_0x261632['close$']['pipe'](V[_0x4c9a30(0x2d5)](0x1))[_0x4c9a30(0x1b8)](_0x4a4c2e=>{var _0x5d504e=_0x4c9a30;this[_0x5d504e(0x337)]['debug'](_0x5d504e(0x25f),'socket\x20close',_0x4a4c2e),this['_onConnectionFailed']();});}}catch(_0x1deaef){this[_0x4c9a30(0x337)][_0x4c9a30(0x2f2)](_0x1deaef),this[_0x4c9a30(0x24a)]();}}[_0x4adc58(0x3ef)](_0x57ed66){var _0x3859c4=_0x4adc58;this[_0x3859c4(0x337)][_0x3859c4(0x3d9)](_0x3859c4(0x25f),_0x3859c4(0x3a5)),_0x57ed66[_0x3859c4(0x1b1)]({'cmd':W[_0x3859c4(0x475)]}),this[_0x3859c4(0x257)]();}[_0x4adc58(0x424)](){var _0x4befb4=_0x4adc58;this[_0x4befb4(0x429)]=!0x1,this['_candidateSocket']=null,this[_0x4befb4(0x467)][_0x4befb4(0x395)](re[_0x4befb4(0x43a)]),this[_0x4befb4(0x283)][_0x4befb4(0x395)](null),this[_0x4befb4(0x2f1)](),this[_0x4befb4(0x3ac)]();}[_0x4adc58(0x24a)](){var _0x3f8a0a=_0x4adc58,_0x408cde;this[_0x3f8a0a(0x424)](),this[_0x3f8a0a(0x299)]<((_0x408cde=this['_configService'][_0x3f8a0a(0x392)](ut))!=null?_0x408cde:Mt)?(this[_0x3f8a0a(0x496)][_0x3f8a0a(0x245)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x3f8a0a(0x20c)]()):this[_0x3f8a0a(0x496)][_0x3f8a0a(0x245)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x1ba1bf=_0x4adc58,_0x138b7b;const _0x2d26de=this[_0x1ba1bf(0x299)],_0x7d0895=this[_0x1ba1bf(0x25b)][_0x1ba1bf(0x392)](Y),_0x25fa8e=_0x2d26de===0x0?0x0:((_0x138b7b=_0x7d0895==null?void 0x0:_0x7d0895[_0x1ba1bf(0x201)])!=null?_0x138b7b:wt)*0x2**_0x2d26de;this[_0x1ba1bf(0x458)]=setTimeout(()=>{var _0x56e123=_0x1ba1bf;clearTimeout(this[_0x56e123(0x458)]),this[_0x56e123(0x458)]=null,this[_0x56e123(0x497)]();},_0x25fa8e),this[_0x1ba1bf(0x299)]+=0x1;}[_0x4adc58(0x347)](_0x893440,_0x1c541b){var _0x4ba6ad=_0x4adc58;const {cmd:_0xdbf7e8}=_0x1c541b;_0xdbf7e8===W[_0x4ba6ad(0x475)]&&!this[_0x4ba6ad(0x429)]&&(_0x893440['memberID']=_0x1c541b[_0x4ba6ad(0x46c)][_0x4ba6ad(0x4a0)],this[_0x4ba6ad(0x283)][_0x4ba6ad(0x395)](_0x893440),this[_0x4ba6ad(0x467)][_0x4ba6ad(0x395)](re['ONLINE']),this[_0x4ba6ad(0x429)]=!0x0,this[_0x4ba6ad(0x267)]=null),_0xdbf7e8===W[_0x4ba6ad(0x221)]&&this[_0x4ba6ad(0x2f1)](),this[_0x4ba6ad(0x257)]();}[_0x4adc58(0x257)](){var _0x54f6a6=_0x4adc58,_0x2d5b1e;this[_0x54f6a6(0x3ac)](),this[_0x54f6a6(0x363)]=setTimeout(()=>this[_0x54f6a6(0x1ff)](),(_0x2d5b1e=this[_0x54f6a6(0x25b)][_0x54f6a6(0x392)](_t))!=null?_0x2d5b1e:Pt);}['_sendHeartbeat'](){var _0x4e28e4=_0x4adc58;this[_0x4e28e4(0x3f2)][_0x4e28e4(0x1b1)]({'cmd':W[_0x4e28e4(0x221)]}),this[_0x4e28e4(0x47c)]();}[_0x4adc58(0x47c)](){var _0x2549dd=_0x4adc58,_0x52dee2;this[_0x2549dd(0x304)]=setTimeout(()=>this[_0x2549dd(0x24a)](),(_0x52dee2=this[_0x2549dd(0x25b)]['getConfig'](ke))!=null?_0x52dee2:lt);}[_0x4adc58(0x3ac)](){var _0x3260f7=_0x4adc58;this[_0x3260f7(0x363)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x4adc58(0x2f1)](){var _0x3be31e=_0x4adc58;this[_0x3be31e(0x304)]!=null&&(clearTimeout(this[_0x3be31e(0x304)]),this[_0x3be31e(0x304)]=null);}},exports[_0x4adc58(0x196)]=ci([he(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),he(0x1,a[_0x4adc58(0x270)]),he(0x2,a[_0x4adc58(0x3f1)]),he(0x3,Fe),he(0x4,a[_0x4adc58(0x49e)](ee)),he(0x5,a[_0x4adc58(0x287)](pt))],exports['CollaborationSessionService']);var hi=Object[_0x4adc58(0x3af)],_i=(_0x3e0bd4,_0x374a39,_0x5dcc1f,_0x3c896a)=>{for(var _0x32731f=_0x3c896a>0x1?void 0x0:_0x3c896a?hi(_0x374a39,_0x5dcc1f):_0x374a39,_0x522ebc=_0x3e0bd4['length']-0x1,_0x103ff6;_0x522ebc>=0x0;_0x522ebc--)(_0x103ff6=_0x3e0bd4[_0x522ebc])&&(_0x32731f=_0x103ff6(_0x32731f)||_0x32731f);return _0x32731f;},Se=(_0x17d4ed,_0x53777d)=>(_0x4c5d76,_0x1c8776)=>_0x53777d(_0x4c5d76,_0x1c8776,_0x17d4ed);exports[_0x4adc58(0x31e)]=class extends a[_0x4adc58(0x34a)]{constructor(_0x163ff8,_0xe9bc0a,_0x1c4540,_0x5af33a){var _0xb932cd=_0x4adc58,_0xd9a3fa;super(),A(this,_0xb932cd(0x36e),new Map()),A(this,_0xb932cd(0x227),new H['Subject']()),A(this,_0xb932cd(0x18b),this[_0xb932cd(0x227)][_0xb932cd(0x228)]()),(this[_0xb932cd(0x20f)]=_0x163ff8,this[_0xb932cd(0x206)]=_0xe9bc0a,this['_configService']=_0x1c4540,this['_univerInstanceService']=_0x5af33a,((_0xd9a3fa=this['_configService'][_0xb932cd(0x392)](Y))==null?void 0x0:_0xd9a3fa['enableCollaboration'])!==!0x1&&this[_0xb932cd(0x18e)]());}['dispose'](){var _0x2b1796=_0x4adc58;super[_0x2b1796(0x1d1)](),this[_0x2b1796(0x36e)][_0x2b1796(0x37b)](_0x31acba=>_0x31acba[_0x2b1796(0x1d1)]()),this[_0x2b1796(0x36e)][_0x2b1796(0x1bd)]();}['getCollabEntity'](_0x5b63e5){var _0x541f51=_0x4adc58,_0x428b36;return(_0x428b36=this[_0x541f51(0x36e)]['get'](_0x5b63e5))!=null?_0x428b36:null;}['getCollabEntity$'](_0x53a4c4){var _0x3be5fe=_0x4adc58;const _0x4d66de=this[_0x3be5fe(0x1a5)](_0x53a4c4);return _0x4d66de?H['of'](_0x4d66de):this['_entityInit$'][_0x3be5fe(0x2c3)](V[_0x3be5fe(0x307)](_0x49a3f6=>_0x49a3f6[_0x3be5fe(0x1e3)]===_0x53a4c4));}[_0x4adc58(0x2d7)](_0x5ac1b1){var _0x191092=_0x4adc58;return H[_0x191092(0x3dc)](this[_0x191092(0x465)](_0x5ac1b1)[_0x191092(0x2c3)](V[_0x191092(0x1ea)](()=>{})));}['_init'](){var _0x541ff3=_0x4adc58;this[_0x541ff3(0x2b6)][_0x541ff3(0x1ae)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3fa)])[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this['dispose$']),V[_0x541ff3(0x1c7)](0x10))[_0x541ff3(0x1b8)](async _0x1c0501=>{var _0x2b224b=_0x541ff3;const _0x2730fd=_0x1c0501[_0x2b224b(0x40c)](),_0x182441=await this['_startCollaboration'](_0x2730fd,J[_0x2b224b(0x3fa)]);this[_0x2b224b(0x36e)][_0x2b224b(0x440)](_0x2730fd,_0x182441);}),this[_0x541ff3(0x2b6)][_0x541ff3(0x1ae)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3ae)])[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this[_0x541ff3(0x40f)]),V[_0x541ff3(0x1c7)](0x10))[_0x541ff3(0x2c3)](V[_0x541ff3(0x307)](_0x4f1a4f=>!_0x4f1a4f[_0x541ff3(0x40c)]()[_0x541ff3(0x39d)]('__')))['subscribe'](async _0x478a8b=>{var _0x83c61f=_0x541ff3;const _0x24ca32=_0x478a8b['getUnitId'](),_0x45d731=await this[_0x83c61f(0x26c)](_0x24ca32,J['UNIVER_DOC']);this[_0x83c61f(0x36e)][_0x83c61f(0x440)](_0x24ca32,_0x45d731);}),H['merge'](this[_0x541ff3(0x2b6)][_0x541ff3(0x1bc)](a[_0x541ff3(0x3f3)][_0x541ff3(0x3fa)]),this[_0x541ff3(0x2b6)][_0x541ff3(0x1bc)](a['UniverInstanceType'][_0x541ff3(0x3ae)]))[_0x541ff3(0x2c3)](H[_0x541ff3(0x2d1)](this[_0x541ff3(0x40f)]))['subscribe'](_0x11b242=>{var _0x9d0118=_0x541ff3;const _0x349377=_0x11b242[_0x9d0118(0x40c)](),_0x30edee=this[_0x9d0118(0x36e)][_0x9d0118(0x44b)](_0x349377);_0x30edee&&(_0x30edee[_0x9d0118(0x1d1)](),this[_0x9d0118(0x36e)]['delete'](_0x349377));});}async['_startCollaboration'](_0x8d1d03,_0x450463){var _0x56a410=_0x4adc58;const _0xc9d0a1=await this[_0x56a410(0x206)]['requireSession'](_0x8d1d03),_0x3e58c7=this[_0x56a410(0x20f)][_0x56a410(0x349)](this[_0x56a410(0x1a8)](_0x450463),_0x8d1d03,_0x450463,_0xc9d0a1);return await _0x3e58c7[_0x56a410(0x316)](),this[_0x56a410(0x227)][_0x56a410(0x395)](_0x3e58c7),_0x3e58c7;}['_getCtorByUniverType'](_0x518d65){var _0x4a0fc3=_0x4adc58;switch(_0x518d65){case J[_0x4a0fc3(0x3ae)]:return exports[_0x4a0fc3(0x2df)];case J[_0x4a0fc3(0x3fa)]:return exports[_0x4a0fc3(0x2dc)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x518d65);}}},exports[_0x4adc58(0x31e)]=_i([Se(0x0,a[_0x4adc58(0x49e)](a['Injector'])),Se(0x1,a[_0x4adc58(0x49e)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4adc58(0x3f1)]),Se(0x3,a[_0x4adc58(0x46d)])],exports['CollaborationController']);var li=Object['getOwnPropertyDescriptor'],ui=(_0x253538,_0x2d504d,_0x1cb59e,_0x4bf54e)=>{var _0x41bc73=_0x4adc58;for(var _0x28cd8a=_0x4bf54e>0x1?void 0x0:_0x4bf54e?li(_0x2d504d,_0x1cb59e):_0x2d504d,_0x1bec5d=_0x253538[_0x41bc73(0x2ba)]-0x1,_0x21e89e;_0x1bec5d>=0x0;_0x1bec5d--)(_0x21e89e=_0x253538[_0x1bec5d])&&(_0x28cd8a=_0x21e89e(_0x28cd8a)||_0x28cd8a);return _0x28cd8a;},Ye=(_0x193f74,_0x3044cb)=>(_0x3103aa,_0x543e22)=>_0x3044cb(_0x3103aa,_0x543e22,_0x193f74);const di=_0x4adc58(0x45d),vi='Univer';let xe=class extends a[_0x4adc58(0x2c8)]{constructor(_0x34ce7f,_0x2db24a){var _0xef970b=_0x4adc58;super(),this[_0xef970b(0x2b6)]=_0x34ce7f,this[_0xef970b(0x25b)]=_0x2db24a,this[_0xef970b(0x18e)]();}[_0x4adc58(0x18e)](){var _0x372ece=_0x4adc58;this[_0x372ece(0x166)](this[_0x372ece(0x2b6)]['focused$'][_0x372ece(0x1b8)](()=>{var _0x47f160=_0x372ece,_0x3291e9;const _0x1f3d9d=this[_0x47f160(0x2b6)][_0x47f160(0x4a3)]();let _0x11a61e=(_0x3291e9=this[_0x47f160(0x25b)][_0x47f160(0x392)](di))!=null?_0x3291e9:vi;_0x1f3d9d instanceof a[_0x47f160(0x3cf)]&&(_0x11a61e=_0x1f3d9d[_0x47f160(0x45c)]),document[_0x47f160(0x3ca)]=_0x11a61e;}));}};xe=ui([Ye(0x0,a[_0x4adc58(0x46d)]),Ye(0x1,a[_0x4adc58(0x3f1)])],xe);var Si=Object[_0x4adc58(0x3af)],fi=(_0x40e7d7,_0x143f8b,_0x23d044,_0x49ed60)=>{var _0x4b67b1=_0x4adc58;for(var _0x449c0a=_0x49ed60>0x1?void 0x0:_0x49ed60?Si(_0x143f8b,_0x23d044):_0x143f8b,_0x1849e6=_0x40e7d7[_0x4b67b1(0x2ba)]-0x1,_0x140e6e;_0x1849e6>=0x0;_0x1849e6--)(_0x140e6e=_0x40e7d7[_0x1849e6])&&(_0x449c0a=_0x140e6e(_0x449c0a)||_0x449c0a);return _0x449c0a;},Ae=(_0x17ffa8,_0x1f0ee1)=>(_0x3c107d,_0x43ba4d)=>_0x1f0ee1(_0x3c107d,_0x43ba4d,_0x17ffa8);let ye=class{constructor(_0x4bb8a8,_0x3c8924,_0x1f21bf){var _0x478054=_0x4adc58;this[_0x478054(0x25b)]=_0x4bb8a8,this[_0x478054(0x3a2)]=_0x3c8924,this[_0x478054(0x24f)]=_0x1f21bf,this[_0x478054(0x316)]();}[_0x4adc58(0x316)](){var _0xbece50=_0x4adc58;this[_0xbece50(0x3a2)][_0xbece50(0x3b2)]({'priority':0x1,'interceptor':(_0x5176ac,_0x4182f8)=>_0x4182f8(_0x5176ac)[_0xbece50(0x2c3)](H[_0xbece50(0x3e2)](async _0x27b1a2=>{var _0x526e94=_0xbece50;const _0x51c367=_0x27b1a2;if(_0x51c367[_0x526e94(0x28b)]===0x191){if(typeof window>'u')throw new Error(_0x526e94(0x49c));if(window['confirm'](this['localeService']['t'](_0x526e94(0x19c)))){const _0x4a8fb0=window[_0x526e94(0x460)](window[_0x526e94(0x351)]['href']);window[_0x526e94(0x351)][_0x526e94(0x32c)]=this[_0x526e94(0x372)]()+_0x526e94(0x282)+_0x4a8fb0;}}return _0x51c367;}))});}[_0x4adc58(0x372)](){var _0x10b6a6=_0x4adc58,_0x36c05b;const _0x4c6417=this['_configService'][_0x10b6a6(0x392)](Y);return(_0x36c05b=_0x4c6417==null?void 0x0:_0x4c6417[_0x10b6a6(0x36f)])!=null?_0x36c05b:$t;}};ye=fi([Ae(0x0,a[_0x4adc58(0x3f1)]),Ae(0x1,a[_0x4adc58(0x49e)](q['HTTPService'])),Ae(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x1f9)]))],ye);var Ii=Object[_0x4adc58(0x3af)],pi=(_0x4b7fec,_0x28331a,_0x1585df,_0x12db68)=>{var _0x4dfe3d=_0x4adc58;for(var _0x5eb8a3=_0x12db68>0x1?void 0x0:_0x12db68?Ii(_0x28331a,_0x1585df):_0x28331a,_0xdf0efb=_0x4b7fec[_0x4dfe3d(0x2ba)]-0x1,_0x35b6ad;_0xdf0efb>=0x0;_0xdf0efb--)(_0x35b6ad=_0x4b7fec[_0xdf0efb])&&(_0x5eb8a3=_0x35b6ad(_0x5eb8a3)||_0x5eb8a3);return _0x5eb8a3;},qe=(_0x33a422,_0x2ae6d4)=>(_0x205b10,_0x32cc09)=>_0x2ae6d4(_0x205b10,_0x32cc09,_0x33a422);const mi=_0x4adc58(0x2c4);exports['AuthzIoHttpService']=class extends a[_0x4adc58(0x2c8)]{constructor(_0x271f7b,_0x3abdf0){var _0x197c52=_0x4adc58;super(),this['_HTTPService']=_0x271f7b,this['_configService']=_0x3abdf0,this[_0x197c52(0x243)]();}['_initMergeInterceptor'](){var _0x45786c=_0x4adc58;const _0x59cb09=this;this[_0x45786c(0x166)](this[_0x45786c(0x35c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':q[_0x45786c(0x1fa)]({'isMatch'(_0x431c51){var _0x3ce034=_0x45786c,_0x2862e6;if(_0x431c51[_0x3ce034(0x215)]===_0x3ce034(0x1f0)&&((_0x2862e6=_0x431c51[_0x3ce034(0x370)])!=null&&_0x2862e6[_0x3ce034(0x36c)])){const {objectID:_0x30e9ab,objectType:_0x38dcc7}=_0x431c51[_0x3ce034(0x370)]['body']||{};if(!_0x30e9ab||_0x38dcc7===void 0x0)return!0x1;const _0x5a1ec5=_0x59cb09['_getAPIPrefixPath']()+'/'+_0x38dcc7+_0x3ce034(0x1de)+_0x30e9ab+'/allowed';if(_0x431c51[_0x3ce034(0x1a3)]===_0x5a1ec5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5a93c6){var _0xc89a54=_0x45786c,_0x1cb0a7;return(_0x1cb0a7=_0x5a93c6[_0xc89a54(0x370)])==null?void 0x0:_0x1cb0a7[_0xc89a54(0x36c)];},'mergeParamsToRequest'(_0xe40535,_0x58035b){var _0x594f2c=_0x45786c;const _0xf6bb8f=_0x59cb09[_0x594f2c(0x2ec)]()+_0x594f2c(0x2f0),_0x3c1a76=_0xe40535[_0x594f2c(0x41b)]((_0x356b14,_0x1f5081)=>{var _0x30860f=_0x594f2c;const {unitID:_0xc8d99b,objectID:_0x160866,objectType:_0xda9991,actions:_0x25c1ec}=_0x1f5081;return _0x356b14[_0xc8d99b]||(_0x356b14[_0xc8d99b]={}),_0x356b14[_0xc8d99b][_0x160866]||(_0x356b14[_0xc8d99b][_0x160866]={'objectID':_0x160866,'objectType':_0xda9991,'actions':[]}),_0x356b14[_0xc8d99b][_0x160866][_0x30860f(0x342)][_0x30860f(0x286)](..._0x25c1ec),_0x356b14;},{}),_0x3867e1=[];for(const _0x28178a in _0x3c1a76)for(const _0x36300b in _0x3c1a76[_0x28178a]){const {actions:_0x304e88,objectType:_0x2ea1e7}=_0x3c1a76[_0x28178a][_0x36300b],_0xc3937f=[...new Set(_0x304e88)];_0x3867e1[_0x594f2c(0x286)]({'unitID':_0x28178a,'objectID':_0x36300b,'objectType':_0x2ea1e7,'actions':_0xc3937f});}return new q[(_0x594f2c(0x4b1))](_0x594f2c(0x1f0),_0xf6bb8f,{'headers':_0x58035b[_0x594f2c(0x408)],'withCredentials':_0x58035b[_0x594f2c(0x1f5)],'responseType':_0x58035b[_0x594f2c(0x2ad)],'body':{'requests':_0x3867e1}});}},{'distributeResult'(_0x31644f,_0x4dbdd9){var _0x42cca1=_0x45786c;const {objectActions:_0x37d948}=_0x31644f;return _0x4dbdd9[_0x42cca1(0x1ea)](_0x312ac6=>{var _0x505b96=_0x42cca1;const {unitID:_0x5b187a,objectID:_0x44175d,actions:_0xa84f85}=_0x312ac6,_0x238fde=_0x37d948[_0x505b96(0x4ac)](_0x317236=>_0x317236[_0x505b96(0x1e3)]===_0x5b187a&&_0x317236[_0x505b96(0x1b2)]===_0x44175d),_0x3dfbf1=_0xa84f85['map'](_0x48e942=>_0x238fde==null?void 0x0:_0x238fde[_0x505b96(0x342)]['find'](_0xab506f=>_0xab506f[_0x505b96(0x4cb)]===_0x48e942))[_0x505b96(0x307)](_0xd03fac=>!!_0xd03fac);return{'config':_0x312ac6,'result':{'actions':_0x3dfbf1,'error':_0x31644f[_0x505b96(0x2f2)]}};});}})}));}[_0x4adc58(0x2ec)](){var _0x22cd36=_0x4adc58,_0x8c30ff;const _0x52ce97=this[_0x22cd36(0x25b)][_0x22cd36(0x392)](Y);return(_0x8c30ff=_0x52ce97==null?void 0x0:_0x52ce97[_0x22cd36(0x3d6)])!=null?_0x8c30ff:mi;}async[_0x4adc58(0x442)](_0x3ad5bb){var _0x1edd1c=_0x4adc58;const _0x51d32c=this[_0x1edd1c(0x2ec)]()+'/'+_0x3ad5bb[_0x1edd1c(0x491)]+_0x1edd1c(0x364);return(await this[_0x1edd1c(0x35c)]['post'](_0x51d32c,{'body':_0x3ad5bb}))['body']['objectID']||'';}async[_0x4adc58(0x30b)](_0x1f233c){var _0x1ebe20=_0x4adc58;const _0xa0a4b3=this[_0x1ebe20(0x2ec)]()+_0x1ebe20(0x2a4);return(await this[_0x1ebe20(0x35c)][_0x1ebe20(0x235)](_0xa0a4b3,{'body':_0x1f233c}))['body'][_0x1ebe20(0x25e)];}async[_0x4adc58(0x19a)](_0xffe894){var _0x24ffda=_0x4adc58,_0xf52347,_0x29fbca;const _0x4f46cb=this[_0x24ffda(0x2ec)]()+'/'+_0xffe894['objectType']+_0x24ffda(0x1de)+_0xffe894[_0x24ffda(0x1b2)],_0x5cb753=await this[_0x24ffda(0x35c)][_0x24ffda(0x225)](_0x4f46cb,{'body':_0xffe894});if(((_0x29fbca=(_0xf52347=_0x5cb753==null?void 0x0:_0x5cb753[_0x24ffda(0x36c)])==null?void 0x0:_0xf52347['error'])==null?void 0x0:_0x29fbca[_0x24ffda(0x23f)])!==0x1)throw new Error(_0x24ffda(0x4a2));}async[_0x4adc58(0x275)](_0x4a6277){var _0x22e501=_0x4adc58;const _0x2014c2=this['_getAPIPrefixPath']()+'/'+_0x4a6277[_0x22e501(0x491)]+_0x22e501(0x1de)+_0x4a6277[_0x22e501(0x1b2)]+_0x22e501(0x1d6);return(await this[_0x22e501(0x35c)][_0x22e501(0x235)](_0x2014c2,{'body':_0x4a6277}))[_0x22e501(0x36c)][_0x22e501(0x342)];}async[_0x4adc58(0x44e)](_0x2a642e){var _0x268bb9=_0x4adc58;const _0x52166d=this[_0x268bb9(0x2ec)]()+'/-/object/-/batch_allowed';return(await this[_0x268bb9(0x35c)][_0x268bb9(0x235)](_0x52166d,{'body':{'requests':_0x2a642e}}))[_0x268bb9(0x36c)][_0x268bb9(0x264)];}async['listRoles'](_0x29aa64){var _0x772368=_0x4adc58;const _0x1986f0=this['_getAPIPrefixPath']()+'/'+_0x29aa64[_0x772368(0x491)]+_0x772368(0x410),_0x4ceb72=await this[_0x772368(0x35c)][_0x772368(0x235)](_0x1986f0,{'body':_0x29aa64});return{'roles':_0x4ceb72[_0x772368(0x36c)][_0x772368(0x310)],'actions':_0x4ceb72[_0x772368(0x36c)][_0x772368(0x342)]};}async[_0x4adc58(0x46b)](_0x96ce9f){var _0x189a87=_0x4adc58;const _0x456b85=this[_0x189a87(0x2ec)]()+_0x189a87(0x397);await this[_0x189a87(0x35c)][_0x189a87(0x47e)](_0x456b85,{'params':{'collaboratorID':_0x96ce9f[_0x189a87(0x161)],'objectID':_0x96ce9f[_0x189a87(0x1b2)],'unitID':_0x96ce9f[_0x189a87(0x1e3)]}});}async['updateCollaborator'](_0x421d43){var _0x54e399=_0x4adc58;const _0x1e5583=this[_0x54e399(0x2ec)]()+_0x54e399(0x397);await this[_0x54e399(0x35c)][_0x54e399(0x3ad)](_0x1e5583,{'body':_0x421d43});}async['createCollaborator'](_0x2ebc83){var _0x55ff4b=_0x4adc58;const _0x234eea=this['_getAPIPrefixPath']()+_0x55ff4b(0x397);await this['_HTTPService'][_0x55ff4b(0x235)](_0x234eea,{'body':_0x2ebc83});}async[_0x4adc58(0x1f8)](_0x4c2733){var _0x92d900=_0x4adc58;const _0x4725a3=this[_0x92d900(0x2ec)]()+_0x92d900(0x397);return(await this[_0x92d900(0x35c)][_0x92d900(0x44b)](_0x4725a3,{'params':{'objectID':_0x4c2733[_0x92d900(0x1b2)],'unitID':_0x4c2733['unitID']}}))['body']['collaborators'];}async[_0x4adc58(0x438)](_0x5a8f23){var _0x134ee2=_0x4adc58;const _0x24c61f=this[_0x134ee2(0x2ec)]()+_0x134ee2(0x397);await this[_0x134ee2(0x35c)][_0x134ee2(0x225)](_0x24c61f,{'body':_0x5a8f23});}},exports[_0x4adc58(0x1d2)]=pi([qe(0x0,a['Inject'](q[_0x4adc58(0x1b6)])),qe(0x1,a['Inject'](a[_0x4adc58(0x3f1)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4004ef){var _0x1a6f78=_0x4adc58;return _0x4004ef&&_0x4004ef['__esModule']&&Object[_0x1a6f78(0x46f)][_0x1a6f78(0x4c4)][_0x1a6f78(0x160)](_0x4004ef,_0x1a6f78(0x29b))?_0x4004ef['default']:_0x4004ef;}var fe={'exports':{}};function gi(_0x24995f){var _0x14658=_0x4adc58;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x24995f+_0x14658(0x2ca));}var Ie={'exports':{}},Ei=Ie[_0x4adc58(0x3a4)],Ke;function Q(){var _0x3b9053=_0x4adc58;return Ke||(Ke=0x1,function(_0x2291d7,_0x2fe903){(function(_0x41b647,_0xa9a4b8){var _0x2303ff=_0x2018;_0x2291d7[_0x2303ff(0x3a4)]=_0xa9a4b8();}(Ei,function(){var _0x3f9463=_0x3f9463||function(_0x389a92,_0x5c368e){var _0x32011d=_0x2018,_0x471e62;if(typeof window<'u'&&window['crypto']&&(_0x471e62=window[_0x32011d(0x366)]),typeof self<'u'&&self[_0x32011d(0x366)]&&(_0x471e62=self[_0x32011d(0x366)]),typeof globalThis<'u'&&globalThis[_0x32011d(0x366)]&&(_0x471e62=globalThis[_0x32011d(0x366)]),!_0x471e62&&typeof window<'u'&&window['msCrypto']&&(_0x471e62=window['msCrypto']),!_0x471e62&&typeof Pe<'u'&&Pe[_0x32011d(0x366)]&&(_0x471e62=Pe[_0x32011d(0x366)]),!_0x471e62&&typeof gi==_0x32011d(0x435))try{_0x471e62=require('crypto');}catch{}var _0x16ffb9=function(){var _0x1f3ed8=_0x32011d;if(_0x471e62){if(typeof _0x471e62[_0x1f3ed8(0x1aa)]=='function')try{return _0x471e62[_0x1f3ed8(0x1aa)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x471e62[_0x1f3ed8(0x198)]=='function')try{return _0x471e62[_0x1f3ed8(0x198)](0x4)[_0x1f3ed8(0x277)]();}catch{}}throw new Error(_0x1f3ed8(0x480));},_0x4bdf93=Object[_0x32011d(0x442)]||(function(){function _0x35e5b7(){}return function(_0x1fb586){var _0x249f90;return _0x35e5b7['prototype']=_0x1fb586,_0x249f90=new _0x35e5b7(),_0x35e5b7['prototype']=null,_0x249f90;};}()),_0x2c1754={},_0x2aa89d=_0x2c1754[_0x32011d(0x3b1)]={},_0x16ebfd=_0x2aa89d[_0x32011d(0x31f)]=(function(){return{'extend':function(_0x3279dc){var _0x4ff41d=_0x2018,_0x54312b=_0x4bdf93(this);return _0x3279dc&&_0x54312b[_0x4ff41d(0x1a9)](_0x3279dc),(!_0x54312b[_0x4ff41d(0x4c4)](_0x4ff41d(0x316))||this[_0x4ff41d(0x316)]===_0x54312b[_0x4ff41d(0x316)])&&(_0x54312b['init']=function(){var _0x423e49=_0x4ff41d;_0x54312b['$super'][_0x423e49(0x316)][_0x423e49(0x3ea)](this,arguments);}),_0x54312b[_0x4ff41d(0x316)][_0x4ff41d(0x46f)]=_0x54312b,_0x54312b['$super']=this,_0x54312b;},'create':function(){var _0x3a1885=_0x2018,_0x396128=this[_0x3a1885(0x238)]();return _0x396128[_0x3a1885(0x316)][_0x3a1885(0x3ea)](_0x396128,arguments),_0x396128;},'init':function(){},'mixIn':function(_0x370799){var _0x320757=_0x2018;for(var _0x20f1eb in _0x370799)_0x370799['hasOwnProperty'](_0x20f1eb)&&(this[_0x20f1eb]=_0x370799[_0x20f1eb]);_0x370799[_0x320757(0x4c4)](_0x320757(0x355))&&(this['toString']=_0x370799['toString']);},'clone':function(){var _0x570f73=_0x2018;return this[_0x570f73(0x316)][_0x570f73(0x46f)]['extend'](this);}};}()),_0x300e2f=_0x2aa89d[_0x32011d(0x4bf)]=_0x16ebfd['extend']({'init':function(_0x2e921d,_0x3ccc5d){var _0x42a142=_0x32011d;_0x2e921d=this[_0x42a142(0x4b0)]=_0x2e921d||[],_0x3ccc5d!=_0x5c368e?this[_0x42a142(0x26b)]=_0x3ccc5d:this[_0x42a142(0x26b)]=_0x2e921d['length']*0x4;},'toString':function(_0xf61f96){var _0x202460=_0x32011d;return(_0xf61f96||_0x40d3cc)[_0x202460(0x247)](this);},'concat':function(_0x21bce6){var _0x250644=_0x32011d,_0x208040=this[_0x250644(0x4b0)],_0xbdd84d=_0x21bce6['words'],_0x429a81=this['sigBytes'],_0x2606e6=_0x21bce6['sigBytes'];if(this[_0x250644(0x3ff)](),_0x429a81%0x4)for(var _0x312d2a=0x0;_0x312d2a<_0x2606e6;_0x312d2a++){var _0x57fa30=_0xbdd84d[_0x312d2a>>>0x2]>>>0x18-_0x312d2a%0x4*0x8&0xff;_0x208040[_0x429a81+_0x312d2a>>>0x2]|=_0x57fa30<<0x18-(_0x429a81+_0x312d2a)%0x4*0x8;}else{for(var _0x50abe6=0x0;_0x50abe6<_0x2606e6;_0x50abe6+=0x4)_0x208040[_0x429a81+_0x50abe6>>>0x2]=_0xbdd84d[_0x50abe6>>>0x2];}return this['sigBytes']+=_0x2606e6,this;},'clamp':function(){var _0x210b4e=_0x32011d,_0x23fa3e=this[_0x210b4e(0x4b0)],_0x21ccb3=this[_0x210b4e(0x26b)];_0x23fa3e[_0x21ccb3>>>0x2]&=0xffffffff<<0x20-_0x21ccb3%0x4*0x8,_0x23fa3e[_0x210b4e(0x2ba)]=_0x389a92[_0x210b4e(0x373)](_0x21ccb3/0x4);},'clone':function(){var _0x2f3fc0=_0x32011d,_0x2eefa4=_0x16ebfd['clone'][_0x2f3fc0(0x160)](this);return _0x2eefa4[_0x2f3fc0(0x4b0)]=this['words'][_0x2f3fc0(0x380)](0x0),_0x2eefa4;},'random':function(_0x41d510){var _0x5290ce=_0x32011d;for(var _0x451d03=[],_0x4c4efa=0x0;_0x4c4efa<_0x41d510;_0x4c4efa+=0x4)_0x451d03[_0x5290ce(0x286)](_0x16ffb9());return new _0x300e2f['init'](_0x451d03,_0x41d510);}}),_0x3b1a37=_0x2c1754[_0x32011d(0x258)]={},_0x40d3cc=_0x3b1a37[_0x32011d(0x459)]={'stringify':function(_0x2b1cea){var _0x5f3232=_0x32011d;for(var _0x5de341=_0x2b1cea['words'],_0x344c6e=_0x2b1cea[_0x5f3232(0x26b)],_0x1849cd=[],_0x5665f9=0x0;_0x5665f9<_0x344c6e;_0x5665f9++){var _0x57eca2=_0x5de341[_0x5665f9>>>0x2]>>>0x18-_0x5665f9%0x4*0x8&0xff;_0x1849cd[_0x5f3232(0x286)]((_0x57eca2>>>0x4)[_0x5f3232(0x355)](0x10)),_0x1849cd['push']((_0x57eca2&0xf)[_0x5f3232(0x355)](0x10));}return _0x1849cd[_0x5f3232(0x305)]('');},'parse':function(_0x17c82c){var _0x7466d6=_0x32011d;for(var _0x25b88a=_0x17c82c['length'],_0x234ea3=[],_0x53cb5e=0x0;_0x53cb5e<_0x25b88a;_0x53cb5e+=0x2)_0x234ea3[_0x53cb5e>>>0x3]|=parseInt(_0x17c82c['substr'](_0x53cb5e,0x2),0x10)<<0x18-_0x53cb5e%0x8*0x4;return new _0x300e2f[(_0x7466d6(0x316))](_0x234ea3,_0x25b88a/0x2);}},_0x5ce81f=_0x3b1a37[_0x32011d(0x1b5)]={'stringify':function(_0x5198fa){var _0x198f4d=_0x32011d;for(var _0x56be3b=_0x5198fa[_0x198f4d(0x4b0)],_0x8c534f=_0x5198fa[_0x198f4d(0x26b)],_0x3fbabf=[],_0x3dce28=0x0;_0x3dce28<_0x8c534f;_0x3dce28++){var _0x47313c=_0x56be3b[_0x3dce28>>>0x2]>>>0x18-_0x3dce28%0x4*0x8&0xff;_0x3fbabf[_0x198f4d(0x286)](String[_0x198f4d(0x3cc)](_0x47313c));}return _0x3fbabf[_0x198f4d(0x305)]('');},'parse':function(_0x517426){var _0x2403f3=_0x32011d;for(var _0x4daca0=_0x517426[_0x2403f3(0x2ba)],_0xe2a6c7=[],_0x1c4a30=0x0;_0x1c4a30<_0x4daca0;_0x1c4a30++)_0xe2a6c7[_0x1c4a30>>>0x2]|=(_0x517426['charCodeAt'](_0x1c4a30)&0xff)<<0x18-_0x1c4a30%0x4*0x8;return new _0x300e2f[(_0x2403f3(0x316))](_0xe2a6c7,_0x4daca0);}},_0x31e86b=_0x3b1a37[_0x32011d(0x38c)]={'stringify':function(_0x233b13){var _0xec57e6=_0x32011d;try{return decodeURIComponent(escape(_0x5ce81f[_0xec57e6(0x247)](_0x233b13)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x1addd7){var _0x2e3e31=_0x32011d;return _0x5ce81f[_0x2e3e31(0x21d)](unescape(encodeURIComponent(_0x1addd7)));}},_0x5686f9=_0x2aa89d[_0x32011d(0x1c5)]=_0x16ebfd['extend']({'reset':function(){var _0x1512da=_0x32011d;this[_0x1512da(0x493)]=new _0x300e2f[(_0x1512da(0x316))](),this[_0x1512da(0x2b8)]=0x0;},'_append':function(_0x242f18){var _0x4591dc=_0x32011d;typeof _0x242f18==_0x4591dc(0x1d9)&&(_0x242f18=_0x31e86b[_0x4591dc(0x21d)](_0x242f18)),this[_0x4591dc(0x493)][_0x4591dc(0x2b0)](_0x242f18),this[_0x4591dc(0x2b8)]+=_0x242f18['sigBytes'];},'_process':function(_0x299c2f){var _0x1a5179=_0x32011d,_0x2caf4f,_0x3e46ed=this[_0x1a5179(0x493)],_0x2e98dc=_0x3e46ed['words'],_0x4ec96e=_0x3e46ed['sigBytes'],_0x57cc76=this[_0x1a5179(0x248)],_0x312663=_0x57cc76*0x4,_0x5aaf8e=_0x4ec96e/_0x312663;_0x299c2f?_0x5aaf8e=_0x389a92[_0x1a5179(0x373)](_0x5aaf8e):_0x5aaf8e=_0x389a92[_0x1a5179(0x3e4)]((_0x5aaf8e|0x0)-this[_0x1a5179(0x499)],0x0);var _0x1db0d8=_0x5aaf8e*_0x57cc76,_0x255455=_0x389a92[_0x1a5179(0x489)](_0x1db0d8*0x4,_0x4ec96e);if(_0x1db0d8){for(var _0x914f1c=0x0;_0x914f1c<_0x1db0d8;_0x914f1c+=_0x57cc76)this[_0x1a5179(0x24e)](_0x2e98dc,_0x914f1c);_0x2caf4f=_0x2e98dc['splice'](0x0,_0x1db0d8),_0x3e46ed['sigBytes']-=_0x255455;}return new _0x300e2f[(_0x1a5179(0x316))](_0x2caf4f,_0x255455);},'clone':function(){var _0x143b2e=_0x32011d,_0x2214ef=_0x16ebfd[_0x143b2e(0x2b9)][_0x143b2e(0x160)](this);return _0x2214ef['_data']=this['_data'][_0x143b2e(0x2b9)](),_0x2214ef;},'_minBufferSize':0x0});_0x2aa89d[_0x32011d(0x39b)]=_0x5686f9[_0x32011d(0x238)]({'cfg':_0x16ebfd[_0x32011d(0x238)](),'init':function(_0x4116dc){var _0x451f12=_0x32011d;this['cfg']=this[_0x451f12(0x375)]['extend'](_0x4116dc),this['reset']();},'reset':function(){var _0x192eb4=_0x32011d;_0x5686f9[_0x192eb4(0x445)]['call'](this),this[_0x192eb4(0x2d8)]();},'update':function(_0x13e2ed){var _0x51f918=_0x32011d;return this[_0x51f918(0x1e6)](_0x13e2ed),this[_0x51f918(0x236)](),this;},'finalize':function(_0x4d0912){var _0x469934=_0x32011d;_0x4d0912&&this['_append'](_0x4d0912);var _0x53d710=this[_0x469934(0x461)]();return _0x53d710;},'blockSize':0x10,'_createHelper':function(_0x5b91c3){return function(_0x4c1317,_0x5637d0){return new _0x5b91c3['init'](_0x5637d0)['finalize'](_0x4c1317);};},'_createHmacHelper':function(_0x3226cf){return function(_0x47579b,_0x33e04d){var _0x20b41b=_0x2018;return new _0x26b053['HMAC']['init'](_0x3226cf,_0x33e04d)[_0x20b41b(0x34f)](_0x47579b);};}});var _0x26b053=_0x2c1754['algo']={};return _0x2c1754;}(Math);return _0x3f9463;}));}(Ie)),Ie[_0x3b9053(0x3a4)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x3780ec=_0x4adc58;return ze||(ze=0x1,function(_0x43dbd2,_0x1b1c43){(function(_0x5ec28f,_0x12650b){var _0x556676=_0x2018;_0x43dbd2[_0x556676(0x3a4)]=_0x12650b(Q());}(Ci,function(_0x71d23c){var _0x4f3e32=_0x2018;return(function(){var _0x3c1af4=_0x2018,_0x490af3=_0x71d23c,_0x5bde53=_0x490af3['lib'],_0x2740f7=_0x5bde53[_0x3c1af4(0x4bf)],_0x5063c2=_0x490af3['enc'];_0x5063c2['Base64']={'stringify':function(_0x5a8c62){var _0x24fd53=_0x3c1af4,_0x28ebb2=_0x5a8c62[_0x24fd53(0x4b0)],_0x22dae4=_0x5a8c62['sigBytes'],_0x30921f=this[_0x24fd53(0x327)];_0x5a8c62[_0x24fd53(0x3ff)]();for(var _0x1faabc=[],_0x1ffe33=0x0;_0x1ffe33<_0x22dae4;_0x1ffe33+=0x3)for(var _0x15d626=_0x28ebb2[_0x1ffe33>>>0x2]>>>0x18-_0x1ffe33%0x4*0x8&0xff,_0x5c9ee5=_0x28ebb2[_0x1ffe33+0x1>>>0x2]>>>0x18-(_0x1ffe33+0x1)%0x4*0x8&0xff,_0x3d03a2=_0x28ebb2[_0x1ffe33+0x2>>>0x2]>>>0x18-(_0x1ffe33+0x2)%0x4*0x8&0xff,_0x46fc51=_0x15d626<<0x10|_0x5c9ee5<<0x8|_0x3d03a2,_0x32220f=0x0;_0x32220f<0x4&&_0x1ffe33+_0x32220f*0.75<_0x22dae4;_0x32220f++)_0x1faabc[_0x24fd53(0x286)](_0x30921f[_0x24fd53(0x3a1)](_0x46fc51>>>0x6*(0x3-_0x32220f)&0x3f));var _0x10167e=_0x30921f[_0x24fd53(0x3a1)](0x40);if(_0x10167e){for(;_0x1faabc[_0x24fd53(0x2ba)]%0x4;)_0x1faabc[_0x24fd53(0x286)](_0x10167e);}return _0x1faabc[_0x24fd53(0x305)]('');},'parse':function(_0x385c53){var _0x53b4ed=_0x3c1af4,_0x58b58f=_0x385c53[_0x53b4ed(0x2ba)],_0x2f0b80=this[_0x53b4ed(0x327)],_0x4450ad=this[_0x53b4ed(0x4b8)];if(!_0x4450ad){_0x4450ad=this['_reverseMap']=[];for(var _0x12017b=0x0;_0x12017b<_0x2f0b80[_0x53b4ed(0x2ba)];_0x12017b++)_0x4450ad[_0x2f0b80[_0x53b4ed(0x384)](_0x12017b)]=_0x12017b;}var _0x116631=_0x2f0b80[_0x53b4ed(0x3a1)](0x40);if(_0x116631){var _0x428f6b=_0x385c53[_0x53b4ed(0x1e0)](_0x116631);_0x428f6b!==-0x1&&(_0x58b58f=_0x428f6b);}return _0x222c2a(_0x385c53,_0x58b58f,_0x4450ad);},'_map':_0x3c1af4(0x28c)};function _0x222c2a(_0x4de606,_0x37b648,_0x2838ae){var _0x5e55da=_0x3c1af4;for(var _0x27bdf8=[],_0x31a85b=0x0,_0x175473=0x0;_0x175473<_0x37b648;_0x175473++)if(_0x175473%0x4){var _0x45f8c0=_0x2838ae[_0x4de606[_0x5e55da(0x384)](_0x175473-0x1)]<<_0x175473%0x4*0x2,_0x1f9204=_0x2838ae[_0x4de606[_0x5e55da(0x384)](_0x175473)]>>>0x6-_0x175473%0x4*0x2,_0x2176ce=_0x45f8c0|_0x1f9204;_0x27bdf8[_0x31a85b>>>0x2]|=_0x2176ce<<0x18-_0x31a85b%0x4*0x8,_0x31a85b++;}return _0x2740f7['create'](_0x27bdf8,_0x31a85b);}}()),_0x71d23c[_0x4f3e32(0x258)]['Base64'];}));}(pe)),pe[_0x3780ec(0x3a4)];}var me={'exports':{}},Ti=me[_0x4adc58(0x3a4)],Je;function bi(){var _0x38f72b=_0x4adc58;return Je||(Je=0x1,function(_0x3a7cc5,_0x4ae7b5){(function(_0x5be15e,_0x3f6aa8){var _0x11db4b=_0x2018;_0x3a7cc5[_0x11db4b(0x3a4)]=_0x3f6aa8(Q());}(Ti,function(_0x1d9660){return function(_0x5a92a3){var _0x284aa3=_0x2018,_0x467665=_0x1d9660,_0x5d6bd7=_0x467665[_0x284aa3(0x3b1)],_0x92e2a3=_0x5d6bd7[_0x284aa3(0x4bf)],_0x1365a2=_0x5d6bd7['Hasher'],_0x217ad9=_0x467665['algo'],_0x132882=[];(function(){var _0x3c9a3d=_0x284aa3;for(var _0x583a96=0x0;_0x583a96<0x40;_0x583a96++)_0x132882[_0x583a96]=_0x5a92a3[_0x3c9a3d(0x174)](_0x5a92a3[_0x3c9a3d(0x26d)](_0x583a96+0x1))*0x100000000|0x0;}());var _0x394bfa=_0x217ad9[_0x284aa3(0x476)]=_0x1365a2[_0x284aa3(0x238)]({'_doReset':function(){var _0x2b0608=_0x284aa3;this[_0x2b0608(0x3f4)]=new _0x92e2a3[(_0x2b0608(0x316))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4b399a,_0x315fae){var _0x2482b0=_0x284aa3;for(var _0x3d75af=0x0;_0x3d75af<0x10;_0x3d75af++){var _0x51260b=_0x315fae+_0x3d75af,_0x1bf2cf=_0x4b399a[_0x51260b];_0x4b399a[_0x51260b]=(_0x1bf2cf<<0x8|_0x1bf2cf>>>0x18)&0xff00ff|(_0x1bf2cf<<0x18|_0x1bf2cf>>>0x8)&0xff00ff00;}var _0x199587=this[_0x2482b0(0x3f4)][_0x2482b0(0x4b0)],_0x3eeb3a=_0x4b399a[_0x315fae+0x0],_0x3adc40=_0x4b399a[_0x315fae+0x1],_0x2277e9=_0x4b399a[_0x315fae+0x2],_0x255039=_0x4b399a[_0x315fae+0x3],_0x2078bd=_0x4b399a[_0x315fae+0x4],_0x5581bf=_0x4b399a[_0x315fae+0x5],_0x5cf233=_0x4b399a[_0x315fae+0x6],_0x1a1d36=_0x4b399a[_0x315fae+0x7],_0x442ae=_0x4b399a[_0x315fae+0x8],_0x47350a=_0x4b399a[_0x315fae+0x9],_0xd9981f=_0x4b399a[_0x315fae+0xa],_0x370654=_0x4b399a[_0x315fae+0xb],_0x4dace8=_0x4b399a[_0x315fae+0xc],_0x180cb6=_0x4b399a[_0x315fae+0xd],_0x5724d4=_0x4b399a[_0x315fae+0xe],_0x432998=_0x4b399a[_0x315fae+0xf],_0xb9b4d6=_0x199587[0x0],_0x4d8ef5=_0x199587[0x1],_0x3da61a=_0x199587[0x2],_0x55662b=_0x199587[0x3];_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3eeb3a,0x7,_0x132882[0x0]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x3adc40,0xc,_0x132882[0x1]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x2277e9,0x11,_0x132882[0x2]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x255039,0x16,_0x132882[0x3]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x2078bd,0x7,_0x132882[0x4]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5581bf,0xc,_0x132882[0x5]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5cf233,0x11,_0x132882[0x6]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x1a1d36,0x16,_0x132882[0x7]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x442ae,0x7,_0x132882[0x8]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x47350a,0xc,_0x132882[0x9]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0xd9981f,0x11,_0x132882[0xa]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x370654,0x16,_0x132882[0xb]),_0xb9b4d6=_0x18e180(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x4dace8,0x7,_0x132882[0xc]),_0x55662b=_0x18e180(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x180cb6,0xc,_0x132882[0xd]),_0x3da61a=_0x18e180(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5724d4,0x11,_0x132882[0xe]),_0x4d8ef5=_0x18e180(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x432998,0x16,_0x132882[0xf]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3adc40,0x5,_0x132882[0x10]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5cf233,0x9,_0x132882[0x11]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x370654,0xe,_0x132882[0x12]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x3eeb3a,0x14,_0x132882[0x13]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x5581bf,0x5,_0x132882[0x14]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0xd9981f,0x9,_0x132882[0x15]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x432998,0xe,_0x132882[0x16]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x2078bd,0x14,_0x132882[0x17]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x47350a,0x5,_0x132882[0x18]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x5724d4,0x9,_0x132882[0x19]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x255039,0xe,_0x132882[0x1a]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x442ae,0x14,_0x132882[0x1b]),_0xb9b4d6=_0x1bbca1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x180cb6,0x5,_0x132882[0x1c]),_0x55662b=_0x1bbca1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x2277e9,0x9,_0x132882[0x1d]),_0x3da61a=_0x1bbca1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x1a1d36,0xe,_0x132882[0x1e]),_0x4d8ef5=_0x1bbca1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x4dace8,0x14,_0x132882[0x1f]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x5581bf,0x4,_0x132882[0x20]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x442ae,0xb,_0x132882[0x21]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x370654,0x10,_0x132882[0x22]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5724d4,0x17,_0x132882[0x23]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3adc40,0x4,_0x132882[0x24]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x2078bd,0xb,_0x132882[0x25]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x1a1d36,0x10,_0x132882[0x26]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0xd9981f,0x17,_0x132882[0x27]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x180cb6,0x4,_0x132882[0x28]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x3eeb3a,0xb,_0x132882[0x29]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x255039,0x10,_0x132882[0x2a]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5cf233,0x17,_0x132882[0x2b]),_0xb9b4d6=_0x495fa1(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x47350a,0x4,_0x132882[0x2c]),_0x55662b=_0x495fa1(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x4dace8,0xb,_0x132882[0x2d]),_0x3da61a=_0x495fa1(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x432998,0x10,_0x132882[0x2e]),_0x4d8ef5=_0x495fa1(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x2277e9,0x17,_0x132882[0x2f]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x3eeb3a,0x6,_0x132882[0x30]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x1a1d36,0xa,_0x132882[0x31]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5724d4,0xf,_0x132882[0x32]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x5581bf,0x15,_0x132882[0x33]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x4dace8,0x6,_0x132882[0x34]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x255039,0xa,_0x132882[0x35]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0xd9981f,0xf,_0x132882[0x36]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x3adc40,0x15,_0x132882[0x37]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x442ae,0x6,_0x132882[0x38]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x432998,0xa,_0x132882[0x39]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x5cf233,0xf,_0x132882[0x3a]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x180cb6,0x15,_0x132882[0x3b]),_0xb9b4d6=_0x30150b(_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x55662b,_0x2078bd,0x6,_0x132882[0x3c]),_0x55662b=_0x30150b(_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x3da61a,_0x370654,0xa,_0x132882[0x3d]),_0x3da61a=_0x30150b(_0x3da61a,_0x55662b,_0xb9b4d6,_0x4d8ef5,_0x2277e9,0xf,_0x132882[0x3e]),_0x4d8ef5=_0x30150b(_0x4d8ef5,_0x3da61a,_0x55662b,_0xb9b4d6,_0x47350a,0x15,_0x132882[0x3f]),_0x199587[0x0]=_0x199587[0x0]+_0xb9b4d6|0x0,_0x199587[0x1]=_0x199587[0x1]+_0x4d8ef5|0x0,_0x199587[0x2]=_0x199587[0x2]+_0x3da61a|0x0,_0x199587[0x3]=_0x199587[0x3]+_0x55662b|0x0;},'_doFinalize':function(){var _0x4be4c0=_0x284aa3,_0x184c80=this[_0x4be4c0(0x493)],_0x243f16=_0x184c80[_0x4be4c0(0x4b0)],_0x15113e=this['_nDataBytes']*0x8,_0x5aea51=_0x184c80[_0x4be4c0(0x26b)]*0x8;_0x243f16[_0x5aea51>>>0x5]|=0x80<<0x18-_0x5aea51%0x20;var _0x28f86e=_0x5a92a3[_0x4be4c0(0x173)](_0x15113e/0x100000000),_0x4b5368=_0x15113e;_0x243f16[(_0x5aea51+0x40>>>0x9<<0x4)+0xf]=(_0x28f86e<<0x8|_0x28f86e>>>0x18)&0xff00ff|(_0x28f86e<<0x18|_0x28f86e>>>0x8)&0xff00ff00,_0x243f16[(_0x5aea51+0x40>>>0x9<<0x4)+0xe]=(_0x4b5368<<0x8|_0x4b5368>>>0x18)&0xff00ff|(_0x4b5368<<0x18|_0x4b5368>>>0x8)&0xff00ff00,_0x184c80['sigBytes']=(_0x243f16[_0x4be4c0(0x2ba)]+0x1)*0x4,this[_0x4be4c0(0x236)]();for(var _0x303da8=this[_0x4be4c0(0x3f4)],_0xef2cc5=_0x303da8['words'],_0x3a47dc=0x0;_0x3a47dc<0x4;_0x3a47dc++){var _0x151cb1=_0xef2cc5[_0x3a47dc];_0xef2cc5[_0x3a47dc]=(_0x151cb1<<0x8|_0x151cb1>>>0x18)&0xff00ff|(_0x151cb1<<0x18|_0x151cb1>>>0x8)&0xff00ff00;}return _0x303da8;},'clone':function(){var _0xad9af4=_0x284aa3,_0xc39d2c=_0x1365a2[_0xad9af4(0x2b9)][_0xad9af4(0x160)](this);return _0xc39d2c[_0xad9af4(0x3f4)]=this['_hash'][_0xad9af4(0x2b9)](),_0xc39d2c;}});function _0x18e180(_0x46f79f,_0x5eee57,_0x35e91e,_0x1867eb,_0x46f3d7,_0x4f3016,_0x488aeb){var _0xb4bd65=_0x46f79f+(_0x5eee57&_0x35e91e|~_0x5eee57&_0x1867eb)+_0x46f3d7+_0x488aeb;return(_0xb4bd65<<_0x4f3016|_0xb4bd65>>>0x20-_0x4f3016)+_0x5eee57;}function _0x1bbca1(_0x12d34e,_0x1657cc,_0x4380e9,_0x419600,_0x4e5080,_0x5f0530,_0x2f79ad){var _0x17c2c4=_0x12d34e+(_0x1657cc&_0x419600|_0x4380e9&~_0x419600)+_0x4e5080+_0x2f79ad;return(_0x17c2c4<<_0x5f0530|_0x17c2c4>>>0x20-_0x5f0530)+_0x1657cc;}function _0x495fa1(_0x593781,_0x90a1db,_0x4e20ee,_0x3ea9cd,_0x1c3566,_0x45f57e,_0x167f2b){var _0x494584=_0x593781+(_0x90a1db^_0x4e20ee^_0x3ea9cd)+_0x1c3566+_0x167f2b;return(_0x494584<<_0x45f57e|_0x494584>>>0x20-_0x45f57e)+_0x90a1db;}function _0x30150b(_0x28cf0f,_0x301f3c,_0x18e4a9,_0x3267d2,_0x2dab38,_0x37aa27,_0x160216){var _0x20e5b9=_0x28cf0f+(_0x18e4a9^(_0x301f3c|~_0x3267d2))+_0x2dab38+_0x160216;return(_0x20e5b9<<_0x37aa27|_0x20e5b9>>>0x20-_0x37aa27)+_0x301f3c;}_0x467665[_0x284aa3(0x476)]=_0x1365a2['_createHelper'](_0x394bfa),_0x467665[_0x284aa3(0x494)]=_0x1365a2[_0x284aa3(0x495)](_0x394bfa);}(Math),_0x1d9660['MD5'];}));}(me)),me[_0x38f72b(0x3a4)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x4adc58(0x3a4)],Xe;function Ri(){var _0x53fca9=_0x4adc58;return Xe||(Xe=0x1,function(_0x3dae7d,_0x5c80f0){(function(_0x40bc7e,_0x340b2f){var _0x1e836e=_0x2018;_0x3dae7d[_0x1e836e(0x3a4)]=_0x340b2f(Q());}(Oi,function(_0xa4bfb4){var _0x448055=_0x2018;return(function(){var _0xdb48ba=_0x2018,_0x5edbcf=_0xa4bfb4,_0xa4d311=_0x5edbcf[_0xdb48ba(0x3b1)],_0x13bb58=_0xa4d311[_0xdb48ba(0x4bf)],_0x504c6b=_0xa4d311[_0xdb48ba(0x39b)],_0x5bdd54=_0x5edbcf[_0xdb48ba(0x296)],_0x204804=[],_0x18927a=_0x5bdd54[_0xdb48ba(0x1f7)]=_0x504c6b['extend']({'_doReset':function(){var _0xa6fdcc=_0xdb48ba;this['_hash']=new _0x13bb58[(_0xa6fdcc(0x316))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a25d3,_0x311261){var _0x1e81fc=_0xdb48ba;for(var _0x4e9a95=this['_hash'][_0x1e81fc(0x4b0)],_0x2f6f85=_0x4e9a95[0x0],_0x22cbe7=_0x4e9a95[0x1],_0x52fbc3=_0x4e9a95[0x2],_0x37d875=_0x4e9a95[0x3],_0x45634d=_0x4e9a95[0x4],_0x5645a4=0x0;_0x5645a4<0x50;_0x5645a4++){if(_0x5645a4<0x10)_0x204804[_0x5645a4]=_0x2a25d3[_0x311261+_0x5645a4]|0x0;else{var _0x15e70c=_0x204804[_0x5645a4-0x3]^_0x204804[_0x5645a4-0x8]^_0x204804[_0x5645a4-0xe]^_0x204804[_0x5645a4-0x10];_0x204804[_0x5645a4]=_0x15e70c<<0x1|_0x15e70c>>>0x1f;}var _0x270f7a=(_0x2f6f85<<0x5|_0x2f6f85>>>0x1b)+_0x45634d+_0x204804[_0x5645a4];_0x5645a4<0x14?_0x270f7a+=(_0x22cbe7&_0x52fbc3|~_0x22cbe7&_0x37d875)+0x5a827999:_0x5645a4<0x28?_0x270f7a+=(_0x22cbe7^_0x52fbc3^_0x37d875)+0x6ed9eba1:_0x5645a4<0x3c?_0x270f7a+=(_0x22cbe7&_0x52fbc3|_0x22cbe7&_0x37d875|_0x52fbc3&_0x37d875)-0x70e44324:_0x270f7a+=(_0x22cbe7^_0x52fbc3^_0x37d875)-0x359d3e2a,_0x45634d=_0x37d875,_0x37d875=_0x52fbc3,_0x52fbc3=_0x22cbe7<<0x1e|_0x22cbe7>>>0x2,_0x22cbe7=_0x2f6f85,_0x2f6f85=_0x270f7a;}_0x4e9a95[0x0]=_0x4e9a95[0x0]+_0x2f6f85|0x0,_0x4e9a95[0x1]=_0x4e9a95[0x1]+_0x22cbe7|0x0,_0x4e9a95[0x2]=_0x4e9a95[0x2]+_0x52fbc3|0x0,_0x4e9a95[0x3]=_0x4e9a95[0x3]+_0x37d875|0x0,_0x4e9a95[0x4]=_0x4e9a95[0x4]+_0x45634d|0x0;},'_doFinalize':function(){var _0x282831=_0xdb48ba,_0x15e36b=this['_data'],_0x4ec913=_0x15e36b[_0x282831(0x4b0)],_0x56e582=this['_nDataBytes']*0x8,_0x2085a2=_0x15e36b[_0x282831(0x26b)]*0x8;return _0x4ec913[_0x2085a2>>>0x5]|=0x80<<0x18-_0x2085a2%0x20,_0x4ec913[(_0x2085a2+0x40>>>0x9<<0x4)+0xe]=Math[_0x282831(0x173)](_0x56e582/0x100000000),_0x4ec913[(_0x2085a2+0x40>>>0x9<<0x4)+0xf]=_0x56e582,_0x15e36b[_0x282831(0x26b)]=_0x4ec913[_0x282831(0x2ba)]*0x4,this[_0x282831(0x236)](),this[_0x282831(0x3f4)];},'clone':function(){var _0x4d27fe=_0xdb48ba,_0x4c6c8d=_0x504c6b[_0x4d27fe(0x2b9)][_0x4d27fe(0x160)](this);return _0x4c6c8d[_0x4d27fe(0x3f4)]=this['_hash']['clone'](),_0x4c6c8d;}});_0x5edbcf['SHA1']=_0x504c6b['_createHelper'](_0x18927a),_0x5edbcf['HmacSHA1']=_0x504c6b['_createHmacHelper'](_0x18927a);}()),_0xa4bfb4[_0x448055(0x1f7)];}));}(Ee)),Ee[_0x53fca9(0x3a4)];}var Ce={'exports':{}},yi=Ce[_0x4adc58(0x3a4)],Ze;function Ni(){var _0x3eb71a=_0x4adc58;return Ze||(Ze=0x1,function(_0x37cad4,_0x3427b2){(function(_0x3a12e3,_0x39fce6){_0x37cad4['exports']=_0x39fce6(Q());}(yi,function(_0x34c2ce){(function(){var _0x1d90fb=_0x2018,_0x1c8998=_0x34c2ce,_0x4dc757=_0x1c8998[_0x1d90fb(0x3b1)],_0x5ad004=_0x4dc757['Base'],_0x31c1ae=_0x1c8998['enc'],_0x4d40ca=_0x31c1ae['Utf8'],_0x40cf40=_0x1c8998[_0x1d90fb(0x296)];_0x40cf40['HMAC']=_0x5ad004[_0x1d90fb(0x238)]({'init':function(_0x4bf6af,_0x130383){var _0x52b69c=_0x1d90fb;_0x4bf6af=this[_0x52b69c(0x41e)]=new _0x4bf6af[(_0x52b69c(0x316))](),typeof _0x130383==_0x52b69c(0x1d9)&&(_0x130383=_0x4d40ca[_0x52b69c(0x21d)](_0x130383));var _0x4eb219=_0x4bf6af['blockSize'],_0x508c25=_0x4eb219*0x4;_0x130383[_0x52b69c(0x26b)]>_0x508c25&&(_0x130383=_0x4bf6af['finalize'](_0x130383)),_0x130383[_0x52b69c(0x3ff)]();for(var _0x36f430=this[_0x52b69c(0x254)]=_0x130383['clone'](),_0x154c89=this[_0x52b69c(0x2b1)]=_0x130383['clone'](),_0x3a8dcf=_0x36f430['words'],_0x43c619=_0x154c89['words'],_0x641c66=0x0;_0x641c66<_0x4eb219;_0x641c66++)_0x3a8dcf[_0x641c66]^=0x5c5c5c5c,_0x43c619[_0x641c66]^=0x36363636;_0x36f430[_0x52b69c(0x26b)]=_0x154c89[_0x52b69c(0x26b)]=_0x508c25,this['reset']();},'reset':function(){var _0x547946=_0x1d90fb,_0x57408a=this[_0x547946(0x41e)];_0x57408a[_0x547946(0x445)](),_0x57408a[_0x547946(0x19a)](this[_0x547946(0x2b1)]);},'update':function(_0xec5182){var _0x58be99=_0x1d90fb;return this[_0x58be99(0x41e)]['update'](_0xec5182),this;},'finalize':function(_0x5d2841){var _0x3a99ab=_0x1d90fb,_0x101a55=this[_0x3a99ab(0x41e)],_0x27eedc=_0x101a55[_0x3a99ab(0x34f)](_0x5d2841);_0x101a55['reset']();var _0x269c51=_0x101a55[_0x3a99ab(0x34f)](this[_0x3a99ab(0x254)]['clone']()[_0x3a99ab(0x2b0)](_0x27eedc));return _0x269c51;}});}());}));}(Ce)),Ce[_0x3eb71a(0x3a4)];}var Di=ge[_0x4adc58(0x3a4)],Qe;function Ct(){var _0x36b7ef=_0x4adc58;return Qe||(Qe=0x1,function(_0x35eb37,_0x620308){(function(_0x746b24,_0x25ebec,_0x5a9317){var _0x156e9d=_0x2018;_0x35eb37[_0x156e9d(0x3a4)]=_0x25ebec(Q(),Ri(),Ni());}(Di,function(_0x2ad2a3){return(function(){var _0x146104=_0x2018,_0x54d18b=_0x2ad2a3,_0x3171da=_0x54d18b[_0x146104(0x3b1)],_0x4dbab8=_0x3171da['Base'],_0x352b86=_0x3171da[_0x146104(0x4bf)],_0x63080d=_0x54d18b['algo'],_0x64b206=_0x63080d['MD5'],_0x592041=_0x63080d[_0x146104(0x2cb)]=_0x4dbab8[_0x146104(0x238)]({'cfg':_0x4dbab8[_0x146104(0x238)]({'keySize':0x80/0x20,'hasher':_0x64b206,'iterations':0x1}),'init':function(_0x495cf7){var _0x3b8e63=_0x146104;this[_0x3b8e63(0x375)]=this[_0x3b8e63(0x375)][_0x3b8e63(0x238)](_0x495cf7);},'compute':function(_0x308ad3,_0x3ca344){var _0x3d39ab=_0x146104;for(var _0x8e7659,_0x14bdef=this[_0x3d39ab(0x375)],_0x5120d5=_0x14bdef['hasher'][_0x3d39ab(0x442)](),_0x16e945=_0x352b86[_0x3d39ab(0x442)](),_0x10c736=_0x16e945[_0x3d39ab(0x4b0)],_0x736b84=_0x14bdef[_0x3d39ab(0x210)],_0x931dd6=_0x14bdef[_0x3d39ab(0x4bb)];_0x10c736[_0x3d39ab(0x2ba)]<_0x736b84;){_0x8e7659&&_0x5120d5[_0x3d39ab(0x19a)](_0x8e7659),_0x8e7659=_0x5120d5['update'](_0x308ad3)[_0x3d39ab(0x34f)](_0x3ca344),_0x5120d5[_0x3d39ab(0x445)]();for(var _0x1a2d62=0x1;_0x1a2d62<_0x931dd6;_0x1a2d62++)_0x8e7659=_0x5120d5[_0x3d39ab(0x34f)](_0x8e7659),_0x5120d5[_0x3d39ab(0x445)]();_0x16e945[_0x3d39ab(0x2b0)](_0x8e7659);}return _0x16e945[_0x3d39ab(0x26b)]=_0x736b84*0x4,_0x16e945;}});_0x54d18b[_0x146104(0x2cb)]=function(_0x55b45c,_0x404d25,_0xb57231){var _0x46160e=_0x146104;return _0x592041[_0x46160e(0x442)](_0xb57231)[_0x46160e(0x1bf)](_0x55b45c,_0x404d25);};}()),_0x2ad2a3['EvpKDF'];}));}(ge)),ge[_0x36b7ef(0x3a4)];}var Te={'exports':{}},Ui=Te[_0x4adc58(0x3a4)],et;function Tt(){var _0x2bbf7c=_0x4adc58;return et||(et=0x1,function(_0x10680b,_0x2987ba){(function(_0x3665ec,_0x15710b,_0x1bd4d8){var _0xaab080=_0x2018;_0x10680b[_0xaab080(0x3a4)]=_0x15710b(Q(),Ct());}(Ui,function(_0x450a30){var _0x416533=_0x2018;_0x450a30[_0x416533(0x3b1)][_0x416533(0x329)]||function(_0x458585){var _0x5e96ad=_0x416533,_0x300c10=_0x450a30,_0x1d8584=_0x300c10[_0x5e96ad(0x3b1)],_0x4cf1a3=_0x1d8584[_0x5e96ad(0x31f)],_0x2ec48b=_0x1d8584[_0x5e96ad(0x4bf)],_0x4d9dc2=_0x1d8584[_0x5e96ad(0x1c5)],_0x5efbbc=_0x300c10['enc'];_0x5efbbc[_0x5e96ad(0x38c)];var _0x558064=_0x5efbbc[_0x5e96ad(0x185)],_0x1298af=_0x300c10[_0x5e96ad(0x296)],_0x2d5ed0=_0x1298af[_0x5e96ad(0x2cb)],_0x20cf8f=_0x1d8584[_0x5e96ad(0x329)]=_0x4d9dc2[_0x5e96ad(0x238)]({'cfg':_0x4cf1a3[_0x5e96ad(0x238)](),'createEncryptor':function(_0x18193a,_0x498ccf){var _0x13c80f=_0x5e96ad;return this[_0x13c80f(0x442)](this[_0x13c80f(0x4c1)],_0x18193a,_0x498ccf);},'createDecryptor':function(_0x500288,_0x4b701f){var _0x1cfb67=_0x5e96ad;return this[_0x1cfb67(0x442)](this[_0x1cfb67(0x1a4)],_0x500288,_0x4b701f);},'init':function(_0x3ad8e,_0x3aaab0,_0x29df29){var _0x27ba48=_0x5e96ad;this[_0x27ba48(0x375)]=this[_0x27ba48(0x375)][_0x27ba48(0x238)](_0x29df29),this[_0x27ba48(0x3c4)]=_0x3ad8e,this[_0x27ba48(0x1e9)]=_0x3aaab0,this[_0x27ba48(0x445)]();},'reset':function(){var _0x4a7b9a=_0x5e96ad;_0x4d9dc2[_0x4a7b9a(0x445)]['call'](this),this[_0x4a7b9a(0x2d8)]();},'process':function(_0x3c8cd6){return this['_append'](_0x3c8cd6),this['_process']();},'finalize':function(_0x47509b){var _0x53701f=_0x5e96ad;_0x47509b&&this[_0x53701f(0x1e6)](_0x47509b);var _0x13b736=this[_0x53701f(0x461)]();return _0x13b736;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bc208(_0x19f063){var _0x5dc0e8=_0x2018;return typeof _0x19f063==_0x5dc0e8(0x1d9)?_0x5958c9:_0x40075c;}return function(_0xb08e02){return{'encrypt':function(_0x1af24f,_0x291d79,_0x396a59){var _0x253b68=_0x2018;return _0x4bc208(_0x291d79)[_0x253b68(0x1d3)](_0xb08e02,_0x1af24f,_0x291d79,_0x396a59);},'decrypt':function(_0x33f083,_0x5d4a85,_0x40e9fa){return _0x4bc208(_0x5d4a85)['decrypt'](_0xb08e02,_0x33f083,_0x5d4a85,_0x40e9fa);}};};}())});_0x1d8584[_0x5e96ad(0x39e)]=_0x20cf8f[_0x5e96ad(0x238)]({'_doFinalize':function(){var _0x5590b9=_0x5e96ad,_0x40af95=this[_0x5590b9(0x236)](!0x0);return _0x40af95;},'blockSize':0x1});var _0xab1397=_0x300c10[_0x5e96ad(0x2ae)]={},_0x80e208=_0x1d8584[_0x5e96ad(0x2bc)]=_0x4cf1a3[_0x5e96ad(0x238)]({'createEncryptor':function(_0x1219d3,_0x3cab5f){return this['Encryptor']['create'](_0x1219d3,_0x3cab5f);},'createDecryptor':function(_0x22e31a,_0x3f315c){var _0x225b5c=_0x5e96ad;return this[_0x225b5c(0x4cc)]['create'](_0x22e31a,_0x3f315c);},'init':function(_0x48cd73,_0x5a0c39){var _0x57a497=_0x5e96ad;this['_cipher']=_0x48cd73,this[_0x57a497(0x2d9)]=_0x5a0c39;}}),_0x31347c=_0xab1397[_0x5e96ad(0x1ba)]=(function(){var _0x194eeb=_0x5e96ad,_0xa8b95c=_0x80e208[_0x194eeb(0x238)]();_0xa8b95c[_0x194eeb(0x164)]=_0xa8b95c[_0x194eeb(0x238)]({'processBlock':function(_0x4373d5,_0x493b1b){var _0x1eee34=_0x194eeb,_0x571c61=this['_cipher'],_0x324710=_0x571c61[_0x1eee34(0x248)];_0x47dad9[_0x1eee34(0x160)](this,_0x4373d5,_0x493b1b,_0x324710),_0x571c61[_0x1eee34(0x4bc)](_0x4373d5,_0x493b1b),this[_0x1eee34(0x3cd)]=_0x4373d5[_0x1eee34(0x380)](_0x493b1b,_0x493b1b+_0x324710);}}),_0xa8b95c['Decryptor']=_0xa8b95c[_0x194eeb(0x238)]({'processBlock':function(_0x34988f,_0x45e190){var _0x13633c=_0x194eeb,_0x430f1c=this[_0x13633c(0x40b)],_0x3b4bc0=_0x430f1c[_0x13633c(0x248)],_0x664981=_0x34988f[_0x13633c(0x380)](_0x45e190,_0x45e190+_0x3b4bc0);_0x430f1c[_0x13633c(0x37e)](_0x34988f,_0x45e190),_0x47dad9[_0x13633c(0x160)](this,_0x34988f,_0x45e190,_0x3b4bc0),this[_0x13633c(0x3cd)]=_0x664981;}});function _0x47dad9(_0x4c99ce,_0x3243a7,_0x3389e4){var _0x33b5eb=_0x194eeb,_0xdc1a84,_0x45e096=this[_0x33b5eb(0x2d9)];_0x45e096?(_0xdc1a84=_0x45e096,this[_0x33b5eb(0x2d9)]=_0x458585):_0xdc1a84=this[_0x33b5eb(0x3cd)];for(var _0x1e249d=0x0;_0x1e249d<_0x3389e4;_0x1e249d++)_0x4c99ce[_0x3243a7+_0x1e249d]^=_0xdc1a84[_0x1e249d];}return _0xa8b95c;}()),_0x30e76a=_0x300c10[_0x5e96ad(0x303)]={},_0x2c18a2=_0x30e76a['Pkcs7']={'pad':function(_0x3fb28f,_0x4b2286){var _0x2a4910=_0x5e96ad;for(var _0x1bcc54=_0x4b2286*0x4,_0x3638f1=_0x1bcc54-_0x3fb28f[_0x2a4910(0x26b)]%_0x1bcc54,_0x2aac74=_0x3638f1<<0x18|_0x3638f1<<0x10|_0x3638f1<<0x8|_0x3638f1,_0x194cda=[],_0x176485=0x0;_0x176485<_0x3638f1;_0x176485+=0x4)_0x194cda[_0x2a4910(0x286)](_0x2aac74);var _0x5165b6=_0x2ec48b[_0x2a4910(0x442)](_0x194cda,_0x3638f1);_0x3fb28f['concat'](_0x5165b6);},'unpad':function(_0x314ba8){var _0x12596b=_0x5e96ad,_0x2fb837=_0x314ba8[_0x12596b(0x4b0)][_0x314ba8[_0x12596b(0x26b)]-0x1>>>0x2]&0xff;_0x314ba8['sigBytes']-=_0x2fb837;}};_0x1d8584[_0x5e96ad(0x377)]=_0x20cf8f[_0x5e96ad(0x238)]({'cfg':_0x20cf8f[_0x5e96ad(0x375)]['extend']({'mode':_0x31347c,'padding':_0x2c18a2}),'reset':function(){var _0x562747=_0x5e96ad,_0x365e87;_0x20cf8f['reset'][_0x562747(0x160)](this);var _0x3e96ba=this[_0x562747(0x375)],_0x336740=_0x3e96ba['iv'],_0x2bb45c=_0x3e96ba['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x365e87=_0x2bb45c['createEncryptor']:(_0x365e87=_0x2bb45c['createDecryptor'],this[_0x562747(0x499)]=0x1),this[_0x562747(0x32b)]&&this[_0x562747(0x32b)]['__creator']==_0x365e87?this[_0x562747(0x32b)][_0x562747(0x316)](this,_0x336740&&_0x336740['words']):(this[_0x562747(0x32b)]=_0x365e87[_0x562747(0x160)](_0x2bb45c,this,_0x336740&&_0x336740['words']),this['_mode'][_0x562747(0x47b)]=_0x365e87);},'_doProcessBlock':function(_0x332d97,_0x114a56){var _0x3b85f3=_0x5e96ad;this[_0x3b85f3(0x32b)][_0x3b85f3(0x17a)](_0x332d97,_0x114a56);},'_doFinalize':function(){var _0x30c1a6=_0x5e96ad,_0x20e33d,_0x26f81e=this[_0x30c1a6(0x375)][_0x30c1a6(0x4ae)];return this[_0x30c1a6(0x3c4)]==this[_0x30c1a6(0x4c1)]?(_0x26f81e[_0x30c1a6(0x303)](this[_0x30c1a6(0x493)],this[_0x30c1a6(0x248)]),_0x20e33d=this[_0x30c1a6(0x236)](!0x0)):(_0x20e33d=this['_process'](!0x0),_0x26f81e[_0x30c1a6(0x24d)](_0x20e33d)),_0x20e33d;},'blockSize':0x80/0x20});var _0x5f5867=_0x1d8584[_0x5e96ad(0x30e)]=_0x4cf1a3[_0x5e96ad(0x238)]({'init':function(_0x1d32aa){var _0x446d41=_0x5e96ad;this[_0x446d41(0x1a9)](_0x1d32aa);},'toString':function(_0x5e035b){var _0x1a7adf=_0x5e96ad;return(_0x5e035b||this[_0x1a7adf(0x385)])[_0x1a7adf(0x247)](this);}}),_0x27ca79=_0x300c10[_0x5e96ad(0x281)]={},_0x2cc183=_0x27ca79[_0x5e96ad(0x1d0)]={'stringify':function(_0x5fbd44){var _0x54ee91=_0x5e96ad,_0x2af4de,_0x55e68a=_0x5fbd44['ciphertext'],_0x2acdce=_0x5fbd44[_0x54ee91(0x28f)];return _0x2acdce?_0x2af4de=_0x2ec48b[_0x54ee91(0x442)]([0x53616c74,0x65645f5f])['concat'](_0x2acdce)['concat'](_0x55e68a):_0x2af4de=_0x55e68a,_0x2af4de['toString'](_0x558064);},'parse':function(_0x3f6c27){var _0x428a13=_0x5e96ad,_0x3a0b21,_0x21a16a=_0x558064[_0x428a13(0x21d)](_0x3f6c27),_0x365622=_0x21a16a[_0x428a13(0x4b0)];return _0x365622[0x0]==0x53616c74&&_0x365622[0x1]==0x65645f5f&&(_0x3a0b21=_0x2ec48b[_0x428a13(0x442)](_0x365622[_0x428a13(0x380)](0x2,0x4)),_0x365622[_0x428a13(0x203)](0x0,0x4),_0x21a16a[_0x428a13(0x26b)]-=0x10),_0x5f5867[_0x428a13(0x442)]({'ciphertext':_0x21a16a,'salt':_0x3a0b21});}},_0x40075c=_0x1d8584[_0x5e96ad(0x222)]=_0x4cf1a3['extend']({'cfg':_0x4cf1a3[_0x5e96ad(0x238)]({'format':_0x2cc183}),'encrypt':function(_0x4e46b4,_0x3dfc70,_0x1cf60b,_0x2a1542){var _0x239161=_0x5e96ad;_0x2a1542=this[_0x239161(0x375)]['extend'](_0x2a1542);var _0x1448d5=_0x4e46b4['createEncryptor'](_0x1cf60b,_0x2a1542),_0x13a7fb=_0x1448d5['finalize'](_0x3dfc70),_0xf168e8=_0x1448d5[_0x239161(0x375)];return _0x5f5867[_0x239161(0x442)]({'ciphertext':_0x13a7fb,'key':_0x1cf60b,'iv':_0xf168e8['iv'],'algorithm':_0x4e46b4,'mode':_0xf168e8['mode'],'padding':_0xf168e8[_0x239161(0x4ae)],'blockSize':_0x4e46b4['blockSize'],'formatter':_0x2a1542['format']});},'decrypt':function(_0x5d55b2,_0x2345b9,_0x5ec93e,_0x197fcc){var _0x973a61=_0x5e96ad;_0x197fcc=this['cfg'][_0x973a61(0x238)](_0x197fcc),_0x2345b9=this[_0x973a61(0x3b6)](_0x2345b9,_0x197fcc[_0x973a61(0x281)]);var _0x405b92=_0x5d55b2[_0x973a61(0x420)](_0x5ec93e,_0x197fcc)['finalize'](_0x2345b9[_0x973a61(0x3ec)]);return _0x405b92;},'_parse':function(_0x3a88d4,_0x148f09){var _0x459a92=_0x5e96ad;return typeof _0x3a88d4==_0x459a92(0x1d9)?_0x148f09[_0x459a92(0x21d)](_0x3a88d4,this):_0x3a88d4;}}),_0x5d4ff7=_0x300c10[_0x5e96ad(0x1a7)]={},_0x171e75=_0x5d4ff7[_0x5e96ad(0x1d0)]={'execute':function(_0x2eef3f,_0x85c0d,_0x46ac72,_0x25c134,_0xce833c){var _0x5645a0=_0x5e96ad;if(_0x25c134||(_0x25c134=_0x2ec48b[_0x5645a0(0x3c3)](0x40/0x8)),_0xce833c)var _0x38b108=_0x2d5ed0[_0x5645a0(0x442)]({'keySize':_0x85c0d+_0x46ac72,'hasher':_0xce833c})[_0x5645a0(0x1bf)](_0x2eef3f,_0x25c134);else var _0x38b108=_0x2d5ed0[_0x5645a0(0x442)]({'keySize':_0x85c0d+_0x46ac72})[_0x5645a0(0x1bf)](_0x2eef3f,_0x25c134);var _0x7a0116=_0x2ec48b['create'](_0x38b108[_0x5645a0(0x4b0)][_0x5645a0(0x380)](_0x85c0d),_0x46ac72*0x4);return _0x38b108[_0x5645a0(0x26b)]=_0x85c0d*0x4,_0x5f5867[_0x5645a0(0x442)]({'key':_0x38b108,'iv':_0x7a0116,'salt':_0x25c134});}},_0x5958c9=_0x1d8584['PasswordBasedCipher']=_0x40075c[_0x5e96ad(0x238)]({'cfg':_0x40075c['cfg']['extend']({'kdf':_0x171e75}),'encrypt':function(_0x5971fc,_0x56fe0a,_0x5cca9b,_0xe44896){var _0x1bc4d5=_0x5e96ad;_0xe44896=this[_0x1bc4d5(0x375)][_0x1bc4d5(0x238)](_0xe44896);var _0x240baf=_0xe44896[_0x1bc4d5(0x1a7)][_0x1bc4d5(0x291)](_0x5cca9b,_0x5971fc[_0x1bc4d5(0x210)],_0x5971fc['ivSize'],_0xe44896[_0x1bc4d5(0x28f)],_0xe44896['hasher']);_0xe44896['iv']=_0x240baf['iv'];var _0x23d37f=_0x40075c[_0x1bc4d5(0x1d3)]['call'](this,_0x5971fc,_0x56fe0a,_0x240baf[_0x1bc4d5(0x266)],_0xe44896);return _0x23d37f[_0x1bc4d5(0x1a9)](_0x240baf),_0x23d37f;},'decrypt':function(_0x129918,_0x49fcc4,_0x324de8,_0xb97428){var _0xd1b995=_0x5e96ad;_0xb97428=this[_0xd1b995(0x375)][_0xd1b995(0x238)](_0xb97428),_0x49fcc4=this[_0xd1b995(0x3b6)](_0x49fcc4,_0xb97428[_0xd1b995(0x281)]);var _0x11dcd0=_0xb97428[_0xd1b995(0x1a7)][_0xd1b995(0x291)](_0x324de8,_0x129918[_0xd1b995(0x210)],_0x129918[_0xd1b995(0x348)],_0x49fcc4[_0xd1b995(0x28f)],_0xb97428['hasher']);_0xb97428['iv']=_0x11dcd0['iv'];var _0x1451bd=_0x40075c[_0xd1b995(0x2c1)][_0xd1b995(0x160)](this,_0x129918,_0x49fcc4,_0x11dcd0[_0xd1b995(0x266)],_0xb97428);return _0x1451bd;}});}();}));}(Te)),Te[_0x2bbf7c(0x3a4)];}var Ai=fe[_0x4adc58(0x3a4)],tt;function Pi(){var _0x5d6bca=_0x4adc58;return tt||(tt=0x1,function(_0x1ee745,_0x552e44){(function(_0x14d39f,_0x54ad7a,_0x1c64a3){var _0x5a38c4=_0x2018;_0x1ee745[_0x5a38c4(0x3a4)]=_0x54ad7a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x2abba3){var _0x1e81dd=_0x2018;return(function(){var _0x4e8e09=_0x2018,_0x885b25=_0x2abba3,_0x2cc0b3=_0x885b25[_0x4e8e09(0x3b1)],_0x57b7d1=_0x2cc0b3['BlockCipher'],_0x36819e=_0x885b25[_0x4e8e09(0x296)],_0x57dcbc=[],_0x2b91a2=[],_0x39045f=[],_0x581dee=[],_0x4c29fa=[],_0x1ee809=[],_0x3c52c9=[],_0x5e397f=[],_0x1cc742=[],_0x34eb84=[];(function(){for(var _0x889b94=[],_0x3caca1=0x0;_0x3caca1<0x100;_0x3caca1++)_0x3caca1<0x80?_0x889b94[_0x3caca1]=_0x3caca1<<0x1:_0x889b94[_0x3caca1]=_0x3caca1<<0x1^0x11b;for(var _0x32e95d=0x0,_0x379dd7=0x0,_0x3caca1=0x0;_0x3caca1<0x100;_0x3caca1++){var _0x24cb6b=_0x379dd7^_0x379dd7<<0x1^_0x379dd7<<0x2^_0x379dd7<<0x3^_0x379dd7<<0x4;_0x24cb6b=_0x24cb6b>>>0x8^_0x24cb6b&0xff^0x63,_0x57dcbc[_0x32e95d]=_0x24cb6b,_0x2b91a2[_0x24cb6b]=_0x32e95d;var _0x1217be=_0x889b94[_0x32e95d],_0x58fe40=_0x889b94[_0x1217be],_0xeb0eef=_0x889b94[_0x58fe40],_0x540b23=_0x889b94[_0x24cb6b]*0x101^_0x24cb6b*0x1010100;_0x39045f[_0x32e95d]=_0x540b23<<0x18|_0x540b23>>>0x8,_0x581dee[_0x32e95d]=_0x540b23<<0x10|_0x540b23>>>0x10,_0x4c29fa[_0x32e95d]=_0x540b23<<0x8|_0x540b23>>>0x18,_0x1ee809[_0x32e95d]=_0x540b23;var _0x540b23=_0xeb0eef*0x1010101^_0x58fe40*0x10001^_0x1217be*0x101^_0x32e95d*0x1010100;_0x3c52c9[_0x24cb6b]=_0x540b23<<0x18|_0x540b23>>>0x8,_0x5e397f[_0x24cb6b]=_0x540b23<<0x10|_0x540b23>>>0x10,_0x1cc742[_0x24cb6b]=_0x540b23<<0x8|_0x540b23>>>0x18,_0x34eb84[_0x24cb6b]=_0x540b23,_0x32e95d?(_0x32e95d=_0x1217be^_0x889b94[_0x889b94[_0x889b94[_0xeb0eef^_0x1217be]]],_0x379dd7^=_0x889b94[_0x889b94[_0x379dd7]]):_0x32e95d=_0x379dd7=0x1;}}());var _0x2c2095=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3d9301=_0x36819e[_0x4e8e09(0x33f)]=_0x57b7d1['extend']({'_doReset':function(){var _0x2b01b0=_0x4e8e09,_0x79cbdc;if(!(this[_0x2b01b0(0x163)]&&this[_0x2b01b0(0x31c)]===this[_0x2b01b0(0x1e9)])){for(var _0x3a6547=this[_0x2b01b0(0x31c)]=this[_0x2b01b0(0x1e9)],_0x1cc91e=_0x3a6547[_0x2b01b0(0x4b0)],_0x1ae3ff=_0x3a6547[_0x2b01b0(0x26b)]/0x4,_0x2923d3=this[_0x2b01b0(0x163)]=_0x1ae3ff+0x6,_0x30566c=(_0x2923d3+0x1)*0x4,_0x4321e0=this[_0x2b01b0(0x4b7)]=[],_0x4db5c6=0x0;_0x4db5c6<_0x30566c;_0x4db5c6++)_0x4db5c6<_0x1ae3ff?_0x4321e0[_0x4db5c6]=_0x1cc91e[_0x4db5c6]:(_0x79cbdc=_0x4321e0[_0x4db5c6-0x1],_0x4db5c6%_0x1ae3ff?_0x1ae3ff>0x6&&_0x4db5c6%_0x1ae3ff==0x4&&(_0x79cbdc=_0x57dcbc[_0x79cbdc>>>0x18]<<0x18|_0x57dcbc[_0x79cbdc>>>0x10&0xff]<<0x10|_0x57dcbc[_0x79cbdc>>>0x8&0xff]<<0x8|_0x57dcbc[_0x79cbdc&0xff]):(_0x79cbdc=_0x79cbdc<<0x8|_0x79cbdc>>>0x18,_0x79cbdc=_0x57dcbc[_0x79cbdc>>>0x18]<<0x18|_0x57dcbc[_0x79cbdc>>>0x10&0xff]<<0x10|_0x57dcbc[_0x79cbdc>>>0x8&0xff]<<0x8|_0x57dcbc[_0x79cbdc&0xff],_0x79cbdc^=_0x2c2095[_0x4db5c6/_0x1ae3ff|0x0]<<0x18),_0x4321e0[_0x4db5c6]=_0x4321e0[_0x4db5c6-_0x1ae3ff]^_0x79cbdc);for(var _0x5f101c=this[_0x2b01b0(0x169)]=[],_0x674942=0x0;_0x674942<_0x30566c;_0x674942++){var _0x4db5c6=_0x30566c-_0x674942;if(_0x674942%0x4)var _0x79cbdc=_0x4321e0[_0x4db5c6];else var _0x79cbdc=_0x4321e0[_0x4db5c6-0x4];_0x674942<0x4||_0x4db5c6<=0x4?_0x5f101c[_0x674942]=_0x79cbdc:_0x5f101c[_0x674942]=_0x3c52c9[_0x57dcbc[_0x79cbdc>>>0x18]]^_0x5e397f[_0x57dcbc[_0x79cbdc>>>0x10&0xff]]^_0x1cc742[_0x57dcbc[_0x79cbdc>>>0x8&0xff]]^_0x34eb84[_0x57dcbc[_0x79cbdc&0xff]];}}},'encryptBlock':function(_0x3b53ee,_0x7b0199){var _0x321e27=_0x4e8e09;this[_0x321e27(0x35d)](_0x3b53ee,_0x7b0199,this[_0x321e27(0x4b7)],_0x39045f,_0x581dee,_0x4c29fa,_0x1ee809,_0x57dcbc);},'decryptBlock':function(_0x13bf11,_0x4e58d4){var _0x139fd7=_0x4e8e09,_0x1f77e8=_0x13bf11[_0x4e58d4+0x1];_0x13bf11[_0x4e58d4+0x1]=_0x13bf11[_0x4e58d4+0x3],_0x13bf11[_0x4e58d4+0x3]=_0x1f77e8,this[_0x139fd7(0x35d)](_0x13bf11,_0x4e58d4,this[_0x139fd7(0x169)],_0x3c52c9,_0x5e397f,_0x1cc742,_0x34eb84,_0x2b91a2);var _0x1f77e8=_0x13bf11[_0x4e58d4+0x1];_0x13bf11[_0x4e58d4+0x1]=_0x13bf11[_0x4e58d4+0x3],_0x13bf11[_0x4e58d4+0x3]=_0x1f77e8;},'_doCryptBlock':function(_0x153d08,_0x13fda3,_0x562206,_0x50fb20,_0x37bc15,_0x51d6ef,_0xe17154,_0x428098){for(var _0x2ef39e=this['_nRounds'],_0x555dc5=_0x153d08[_0x13fda3]^_0x562206[0x0],_0x18b731=_0x153d08[_0x13fda3+0x1]^_0x562206[0x1],_0x2bb5bd=_0x153d08[_0x13fda3+0x2]^_0x562206[0x2],_0x45292d=_0x153d08[_0x13fda3+0x3]^_0x562206[0x3],_0x4ec3d4=0x4,_0x418fb9=0x1;_0x418fb9<_0x2ef39e;_0x418fb9++){var _0x37b318=_0x50fb20[_0x555dc5>>>0x18]^_0x37bc15[_0x18b731>>>0x10&0xff]^_0x51d6ef[_0x2bb5bd>>>0x8&0xff]^_0xe17154[_0x45292d&0xff]^_0x562206[_0x4ec3d4++],_0x45409a=_0x50fb20[_0x18b731>>>0x18]^_0x37bc15[_0x2bb5bd>>>0x10&0xff]^_0x51d6ef[_0x45292d>>>0x8&0xff]^_0xe17154[_0x555dc5&0xff]^_0x562206[_0x4ec3d4++],_0xebe14c=_0x50fb20[_0x2bb5bd>>>0x18]^_0x37bc15[_0x45292d>>>0x10&0xff]^_0x51d6ef[_0x555dc5>>>0x8&0xff]^_0xe17154[_0x18b731&0xff]^_0x562206[_0x4ec3d4++],_0x372264=_0x50fb20[_0x45292d>>>0x18]^_0x37bc15[_0x555dc5>>>0x10&0xff]^_0x51d6ef[_0x18b731>>>0x8&0xff]^_0xe17154[_0x2bb5bd&0xff]^_0x562206[_0x4ec3d4++];_0x555dc5=_0x37b318,_0x18b731=_0x45409a,_0x2bb5bd=_0xebe14c,_0x45292d=_0x372264;}var _0x37b318=(_0x428098[_0x555dc5>>>0x18]<<0x18|_0x428098[_0x18b731>>>0x10&0xff]<<0x10|_0x428098[_0x2bb5bd>>>0x8&0xff]<<0x8|_0x428098[_0x45292d&0xff])^_0x562206[_0x4ec3d4++],_0x45409a=(_0x428098[_0x18b731>>>0x18]<<0x18|_0x428098[_0x2bb5bd>>>0x10&0xff]<<0x10|_0x428098[_0x45292d>>>0x8&0xff]<<0x8|_0x428098[_0x555dc5&0xff])^_0x562206[_0x4ec3d4++],_0xebe14c=(_0x428098[_0x2bb5bd>>>0x18]<<0x18|_0x428098[_0x45292d>>>0x10&0xff]<<0x10|_0x428098[_0x555dc5>>>0x8&0xff]<<0x8|_0x428098[_0x18b731&0xff])^_0x562206[_0x4ec3d4++],_0x372264=(_0x428098[_0x45292d>>>0x18]<<0x18|_0x428098[_0x555dc5>>>0x10&0xff]<<0x10|_0x428098[_0x18b731>>>0x8&0xff]<<0x8|_0x428098[_0x2bb5bd&0xff])^_0x562206[_0x4ec3d4++];_0x153d08[_0x13fda3]=_0x37b318,_0x153d08[_0x13fda3+0x1]=_0x45409a,_0x153d08[_0x13fda3+0x2]=_0xebe14c,_0x153d08[_0x13fda3+0x3]=_0x372264;},'keySize':0x100/0x20});_0x885b25[_0x4e8e09(0x33f)]=_0x57b7d1[_0x4e8e09(0x368)](_0x3d9301);}()),_0x2abba3[_0x1e81dd(0x33f)];}));}(fe)),fe[_0x5d6bca(0x3a4)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x4adc58(0x3a4)],nt;function ki(){var _0x580986=_0x4adc58;return nt||(nt=0x1,function(_0x486be7,_0x5605e9){(function(_0x3f956f,_0x2ffb45){var _0x62f0f1=_0x2018;_0x486be7[_0x62f0f1(0x3a4)]=_0x2ffb45(Q());}(xi,function(_0x3a3503){var _0xf2dc21=_0x2018;return _0x3a3503[_0xf2dc21(0x258)][_0xf2dc21(0x38c)];}));}(be)),be[_0x580986(0x3a4)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x4adc58(0x3a4)],rt;function Bi(){var _0x5e6185=_0x4adc58;return rt||(rt=0x1,function(_0x43ed1b,_0x1ef357){(function(_0x2f0bf0,_0x48e9e2){var _0x17ff93=_0x2018;_0x43ed1b[_0x17ff93(0x3a4)]=_0x48e9e2(Q());}(ji,function(_0x22c633){var _0x3bddf5=_0x2018;return(function(){var _0x45f9b5=_0x2018;if(typeof ArrayBuffer==_0x45f9b5(0x435)){var _0x46f271=_0x22c633,_0x50b626=_0x46f271[_0x45f9b5(0x3b1)],_0x412e09=_0x50b626[_0x45f9b5(0x4bf)],_0xa6eac4=_0x412e09[_0x45f9b5(0x316)],_0x4b0819=_0x412e09[_0x45f9b5(0x316)]=function(_0x179d0e){var _0x38b10a=_0x45f9b5;if(_0x179d0e instanceof ArrayBuffer&&(_0x179d0e=new Uint8Array(_0x179d0e)),(_0x179d0e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x179d0e instanceof Uint8ClampedArray||_0x179d0e instanceof Int16Array||_0x179d0e instanceof Uint16Array||_0x179d0e instanceof Int32Array||_0x179d0e instanceof Uint32Array||_0x179d0e instanceof Float32Array||_0x179d0e instanceof Float64Array)&&(_0x179d0e=new Uint8Array(_0x179d0e['buffer'],_0x179d0e['byteOffset'],_0x179d0e[_0x38b10a(0x1e5)])),_0x179d0e instanceof Uint8Array){for(var _0x3061d8=_0x179d0e['byteLength'],_0x5e4a39=[],_0x17ce6c=0x0;_0x17ce6c<_0x3061d8;_0x17ce6c++)_0x5e4a39[_0x17ce6c>>>0x2]|=_0x179d0e[_0x17ce6c]<<0x18-_0x17ce6c%0x4*0x8;_0xa6eac4['call'](this,_0x5e4a39,_0x3061d8);}else _0xa6eac4[_0x38b10a(0x3ea)](this,arguments);};_0x4b0819['prototype']=_0x412e09;}}()),_0x22c633[_0x3bddf5(0x3b1)][_0x3bddf5(0x4bf)];}));}(Oe)),Oe[_0x5e6185(0x3a4)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x4adc58(0x3a4)],st;function Gi(){var _0x3cc40e=_0x4adc58;return st||(st=0x1,function(_0x50354f,_0x52e0a8){(function(_0x193b3d,_0x551d00,_0x24f461){var _0x417f78=_0x2018;_0x50354f[_0x417f78(0x3a4)]=_0x551d00(Q(),Tt());}(Wi,function(_0x619325){var _0x3cc0c8=_0x2018;return _0x619325[_0x3cc0c8(0x303)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x619325[_0x3cc0c8(0x303)]['NoPadding'];}));}(Re)),Re[_0x3cc40e(0x3a4)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0xcb5f78,_0x268c41){var _0x89cee0=_0x4adc58;const _0x55f1fd=_0x268c41-_0xcb5f78[_0x89cee0(0x2ba)]%_0x268c41,_0x14555a=String[_0x89cee0(0x3cc)](_0x55f1fd)[_0x89cee0(0x285)](_0x55f1fd);return _0xcb5f78+_0x14555a;}function zi(_0x2e5959,_0x55d34c){var _0xeed329=_0x4adc58;const _0x89de07=Vi[_0xeed329(0x3c3)](0x10),_0x2d5b77=Ki(_0x2e5959,0x10),_0x1b6f5c=Mi['encrypt'](Hi[_0xeed329(0x21d)](_0x2d5b77),it['parse'](_0x55d34c),{'iv':_0x89de07,'padding':qi});return _0x89de07[_0xeed329(0x2b0)](_0x1b6f5c[_0xeed329(0x3ec)])[_0xeed329(0x355)](it);}function Ji(){var _0x164b5b=_0x4adc58;const _0x1325c5=yt[_0x164b5b(0x3bb)]()[_0x164b5b(0x318)];if(_0x1325c5){const _0x4495af={'time':Math[_0x164b5b(0x173)](Date['now']()/0x3e8),'domain':location[_0x164b5b(0x34b)]};return zi(JSON[_0x164b5b(0x247)](_0x4495af),_0x1325c5);}}var Xi=Object[_0x4adc58(0x3af)],Zi=(_0x4c2807,_0x213c95,_0x10895b,_0x44479c)=>{var _0x2c6502=_0x4adc58;for(var _0x487a2b=_0x44479c>0x1?void 0x0:_0x44479c?Xi(_0x213c95,_0x10895b):_0x213c95,_0x34ce5c=_0x4c2807[_0x2c6502(0x2ba)]-0x1,_0x2835ef;_0x34ce5c>=0x0;_0x34ce5c--)(_0x2835ef=_0x4c2807[_0x34ce5c])&&(_0x487a2b=_0x2835ef(_0x487a2b)||_0x487a2b);return _0x487a2b;},Qi=(_0x1e8969,_0x410f37)=>(_0x1b3dba,_0x433898)=>_0x410f37(_0x1b3dba,_0x433898,_0x1e8969);let Ne=class{constructor(_0x3bc7b7){var _0x3d9fdd=_0x4adc58;this[_0x3d9fdd(0x3a2)]=_0x3bc7b7,this[_0x3d9fdd(0x3d4)]();}[_0x4adc58(0x3d4)](){var _0x3ff1fe=_0x4adc58;this[_0x3ff1fe(0x3a2)][_0x3ff1fe(0x3b2)]({'interceptor':(_0x4f819d,_0x1b0261)=>{var _0x4070c1=_0x3ff1fe;const _0x1f901d=_0x4f819d[_0x4070c1(0x408)],_0x1eb550=Ji();return _0x1eb550&&_0x1f901d[_0x4070c1(0x440)](_0x4070c1(0x27c),_0x1eb550),_0x1b0261(_0x4f819d);}});}};Ne=Zi([Qi(0x0,a['Inject'](q['HTTPService']))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x22815d,_0x4f4d1c,_0x440e7f,_0x59a23c)=>{var _0x21b5da=_0x4adc58;for(var _0x4676ed=_0x59a23c>0x1?void 0x0:_0x59a23c?en(_0x4f4d1c,_0x440e7f):_0x4f4d1c,_0x53286c=_0x22815d[_0x21b5da(0x2ba)]-0x1,_0x1e1d0e;_0x53286c>=0x0;_0x53286c--)(_0x1e1d0e=_0x22815d[_0x53286c])&&(_0x4676ed=_0x1e1d0e(_0x4676ed)||_0x4676ed);return _0x4676ed;},we=(_0x1cf063,_0x1187f7)=>(_0x474572,_0x2573a3)=>_0x1187f7(_0x474572,_0x2573a3,_0x1cf063);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x1b6e8a,_0x44ff4c,_0x48dba2){var _0x5b6c5a=_0x4adc58;super(),A(this,_0x5b6c5a(0x3f6),new H[(_0x5b6c5a(0x3b0))](null)),A(this,_0x5b6c5a(0x288),this[_0x5b6c5a(0x3f6)][_0x5b6c5a(0x228)]()),(this[_0x5b6c5a(0x337)]=_0x1b6e8a,this[_0x5b6c5a(0x26e)]=_0x44ff4c,this[_0x5b6c5a(0x1f3)]=_0x48dba2);}async[_0x4adc58(0x265)](_0x51f087,_0x4a0e9a,_0x5de14e){var _0x54e2e9=_0x4adc58;this['_unitInfo$'][_0x54e2e9(0x395)]({'unitId':_0x51f087,'type':_0x4a0e9a});let _0x1cf2a0=null;switch(_0x4a0e9a){case J[_0x54e2e9(0x3fa)]:{_0x1cf2a0=await this[_0x54e2e9(0x26e)][_0x54e2e9(0x3c8)](_0x51f087,_0x5de14e);break;}case J[_0x54e2e9(0x3ae)]:{_0x1cf2a0=await this[_0x54e2e9(0x26e)][_0x54e2e9(0x488)](_0x51f087,_0x5de14e);break;}default:{this[_0x54e2e9(0x337)][_0x54e2e9(0x2f2)](_0x54e2e9(0x260),_0x54e2e9(0x432));break;}}return _0x1cf2a0;}async['loadUnit'](_0x1bb055,_0x24ee77,_0x38b3c7){var _0x4c7b5=_0x4adc58,_0x45e166;this[_0x4c7b5(0x3f6)][_0x4c7b5(0x395)]({'unitId':_0x1bb055,'type':_0x24ee77,'subUnitId':_0x38b3c7});let _0x1c2640=0x0;const _0x33434d=await((_0x45e166=this[_0x4c7b5(0x1f3)])==null?void 0x0:_0x45e166[_0x4c7b5(0x33c)](_0x1bb055));return _0x33434d&&(_0x33434d[_0x4c7b5(0x180)]||_0x33434d[_0x4c7b5(0x20a)]['length']!==0x0)&&(_0x1c2640=_0x33434d[_0x4c7b5(0x30d)]),_0x1c2640===0x0&&this[_0x4c7b5(0x337)][_0x4c7b5(0x3d9)](_0x4c7b5(0x260),_0x4c7b5(0x26f)),this['loadUnitOfRevision'](_0x1bb055,_0x24ee77,_0x1c2640);}},exports[_0x4adc58(0x473)]=tn([we(0x0,a[_0x4adc58(0x270)]),we(0x1,a[_0x4adc58(0x49e)](p[_0x4adc58(0x242)])),we(0x2,a[_0x4adc58(0x287)](K))],exports['DataLoaderService']);var nn=Object[_0x4adc58(0x3af)],rn=(_0x3ca509,_0x579238,_0x52b608,_0x871d05)=>{var _0x168a56=_0x4adc58;for(var _0x3d1a33=_0x871d05>0x1?void 0x0:_0x871d05?nn(_0x579238,_0x52b608):_0x579238,_0x4ba6b0=_0x3ca509[_0x168a56(0x2ba)]-0x1,_0x492138;_0x4ba6b0>=0x0;_0x4ba6b0--)(_0x492138=_0x3ca509[_0x4ba6b0])&&(_0x3d1a33=_0x492138(_0x3d1a33)||_0x3d1a33);return _0x3d1a33;},Me=(_0x32c4cd,_0x2c7c5c)=>(_0x42be63,_0xfdce31)=>_0x2c7c5c(_0x42be63,_0xfdce31,_0x32c4cd);const sn=[_0x4adc58(0x188),_0x4adc58(0x2d4),'image/jpg',_0x4adc58(0x1da),_0x4adc58(0x1a0)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x4adc58(0x1ee);exports['CollaborationImageIoService']=class{constructor(_0x42cb92,_0x15f45d,_0x540ad8){var _0x5a33b9=_0x4adc58;A(this,_0x5a33b9(0x212),0x0),A(this,'_change$',new H['Subject']()),A(this,_0x5a33b9(0x220),this[_0x5a33b9(0x24c)]),A(this,_0x5a33b9(0x1d4),new Map()),(this[_0x5a33b9(0x3a2)]=_0x42cb92,this[_0x5a33b9(0x25b)]=_0x15f45d,this[_0x5a33b9(0x2b6)]=_0x540ad8);}[_0x4adc58(0x213)](_0x27e83b){var _0x4b9568=_0x4adc58;this[_0x4b9568(0x212)]=_0x27e83b,this[_0x4b9568(0x24c)]['next'](_0x27e83b);}[_0x4adc58(0x1fe)](_0x3fbb0f,_0x556839){var _0xe8a5bf=_0x4adc58;if(_0x556839===z[_0xe8a5bf(0x280)]['BASE64']){const _0x571a87=new Image();return _0x571a87[_0xe8a5bf(0x2e0)]=_0x3fbb0f,_0x571a87;}return this['_imageSourceCache'][_0xe8a5bf(0x44b)](_0x3fbb0f);}[_0x4adc58(0x4b9)](_0x498ca4,_0x5947a6,_0xb3a97e){var _0x79113c=_0x4adc58;_0x5947a6===z['ImageSourceType'][_0x79113c(0x417)]||_0xb3a97e==null||this['_imageSourceCache'][_0x79113c(0x440)](_0x498ca4,_0xb3a97e);}async[_0x4adc58(0x17d)](_0x217283){var _0x1ccd17=_0x4adc58;try{const _0x4d2a7c=this[_0x1ccd17(0x43b)](this[_0x1ccd17(0x229)](),''+_0x217283),_0x4c7999=(await this[_0x1ccd17(0x3a2)][_0x1ccd17(0x44b)](_0x4d2a7c))['body'];if(_0x4c7999[_0x1ccd17(0x2f2)]&&_0x4c7999[_0x1ccd17(0x2f2)][_0x1ccd17(0x23f)]===dt['OK']){const _0x4a2efd=new URL(_0x4c7999[_0x1ccd17(0x1a3)],this[_0x1ccd17(0x2e1)]())[_0x1ccd17(0x355)]();return Promise[_0x1ccd17(0x2a0)](_0x4a2efd);}return Promise['reject'](_0x4c7999['error']);}catch(_0x1574d2){return Promise[_0x1ccd17(0x411)](_0x1574d2);}}async[_0x4adc58(0x309)](_0x4f32a8){var _0x5c1c12=_0x4adc58;let _0x14aea4='';if(!sn[_0x5c1c12(0x423)](_0x4f32a8[_0x5c1c12(0x3b4)]))return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z[_0x5c1c12(0x3c2)]['ERROR_IMAGE_TYPE']));if(_0x4f32a8[_0x5c1c12(0x237)]>on)return this['_decreaseWaiting'](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x45f)]));try{const _0x5cb715=new FormData();_0x5cb715['append']('file',_0x4f32a8);const _0x2dfb02=this[_0x5c1c12(0x2b6)][_0x5c1c12(0x4a3)](),_0x40294f=_0x2dfb02==null?void 0x0:_0x2dfb02[_0x5c1c12(0x40c)]();if(!_0x40294f)throw new Error(_0x5c1c12(0x36d));const _0x4b1f04=this['_getUploadFileURL']()+_0x5c1c12(0x4be)+_0x4f32a8[_0x5c1c12(0x237)]['toString']()+_0x5c1c12(0x4af)+vt[_0x5c1c12(0x292)]+_0x5c1c12(0x15f)+encodeURIComponent(_0x40294f),_0x48ddbd={'body':_0x5cb715},_0x465fce=(await this[_0x5c1c12(0x3a2)][_0x5c1c12(0x235)](_0x4b1f04,_0x48ddbd))[_0x5c1c12(0x36c)];if(typeof _0x465fce['FileId']!='string')return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x29f)]));_0x14aea4=_0x465fce[_0x5c1c12(0x319)];}catch{return this[_0x5c1c12(0x3fc)](),Promise[_0x5c1c12(0x411)](new Error(z['ImageUploadStatusType'][_0x5c1c12(0x29f)]));}return new Promise((_0x2fc1a1,_0x4178b4)=>{var _0x1818c7=_0x5c1c12;const _0x5496db=new FileReader();_0x5496db['readAsDataURL'](_0x4f32a8),_0x5496db[_0x1818c7(0x354)]=_0x2b4386=>{var _0x526364=_0x1818c7,_0x5afc3c;const _0x577f6d=(_0x5afc3c=_0x2b4386[_0x526364(0x1ac)])==null?void 0x0:_0x5afc3c[_0x526364(0x176)];if(_0x577f6d==null){this[_0x526364(0x3fc)](),_0x4178b4(new Error(z[_0x526364(0x3c2)]['ERROR_IMAGE']));return;}const _0x3a4acf=a[_0x526364(0x306)](0x6);_0x2fc1a1({'imageId':_0x3a4acf,'imageSourceType':z[_0x526364(0x280)]['UUID'],'source':_0x14aea4,'base64Cache':_0x577f6d,'status':z[_0x526364(0x3c2)][_0x526364(0x1f6)]}),this['_decreaseWaiting']();};});}[_0x4adc58(0x396)](){var _0x2175cc=_0x4adc58,_0x2a3b0b;const _0x43ff62=this['_configService'][_0x2175cc(0x392)](Y);return(_0x2a3b0b=_0x43ff62==null?void 0x0:_0x43ff62[_0x2175cc(0x400)])!=null?_0x2a3b0b:an;}[_0x4adc58(0x229)](){var _0x2e64c3=_0x4adc58,_0x383c48;const _0x47e0a=this[_0x2e64c3(0x25b)][_0x2e64c3(0x392)](Y);return(_0x383c48=_0x47e0a==null?void 0x0:_0x47e0a['signUrlServerUrl'])!=null?_0x383c48:cn;}[_0x4adc58(0x2e1)](){var _0x2eaaa7=_0x4adc58,_0x511f1b;const _0x425842=this[_0x2eaaa7(0x25b)]['getConfig'](Y);return(_0x511f1b=_0x425842==null?void 0x0:_0x425842[_0x2eaaa7(0x2e5)])!=null?_0x511f1b:location[_0x2eaaa7(0x2ed)];}['_replaceFileID'](_0x51267b,_0x2c5f62){var _0x4e8d2f=_0x4adc58;return _0x51267b['replace'](_0x4e8d2f(0x48b),_0x2c5f62);}[_0x4adc58(0x3fc)](){var _0x359013=_0x4adc58;this[_0x359013(0x212)]-=0x1,this['_change$']['next'](this['_waitCount']);}},exports[_0x4adc58(0x4ad)]=rn([Me(0x0,a[_0x4adc58(0x49e)](q[_0x4adc58(0x1b6)])),Me(0x1,a[_0x4adc58(0x3f1)]),Me(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x46d)]))],exports[_0x4adc58(0x4ad)]);var hn=Object[_0x4adc58(0x3af)],_n=(_0x54b56a,_0x3432d3,_0x236b9f,_0x4b057a)=>{var _0x2e2d32=_0x4adc58;for(var _0x48bffd=_0x4b057a>0x1?void 0x0:_0x4b057a?hn(_0x3432d3,_0x236b9f):_0x3432d3,_0x2eea86=_0x54b56a[_0x2e2d32(0x2ba)]-0x1,_0x5bf00c;_0x2eea86>=0x0;_0x2eea86--)(_0x5bf00c=_0x54b56a[_0x2eea86])&&(_0x48bffd=_0x5bf00c(_0x48bffd)||_0x48bffd);return _0x48bffd;},ot=(_0x942b83,_0x19cf60)=>(_0x1c6fec,_0x466cd2)=>_0x19cf60(_0x1c6fec,_0x466cd2,_0x942b83);const ln=_0x4adc58(0x2c4);exports[_0x4adc58(0x4b6)]=class{constructor(_0x2beecf,_0x5c9e94){var _0x5ad46b=_0x4adc58;this['_configService']=_0x2beecf,this[_0x5ad46b(0x35c)]=_0x5c9e94;}[_0x4adc58(0x2ec)](){var _0x130b89=_0x4adc58,_0x17b930;const _0xccea3c=this[_0x130b89(0x25b)]['getConfig'](Y);return(_0x17b930=_0xccea3c==null?void 0x0:_0xccea3c[_0x130b89(0x3d6)])!=null?_0x17b930:ln;}async[_0x4adc58(0x30b)](_0x26a970){var _0x1d9b9e=_0x4adc58;const _0x392edf=this[_0x1d9b9e(0x2ec)]()+'/collaborator';return{'list':[{'title':_0x1d9b9e(0x3d7),'mentions':(await this[_0x1d9b9e(0x35c)][_0x1d9b9e(0x44b)](_0x392edf,{'params':{'objectID':_0x26a970[_0x1d9b9e(0x1f4)],'unitID':_0x26a970[_0x1d9b9e(0x1f4)]}}))[_0x1d9b9e(0x36c)][_0x1d9b9e(0x2aa)][_0x1d9b9e(0x1ea)](_0x42e9b1=>({'objectId':_0x42e9b1['id'],'name':_0x42e9b1['subject']['name'],'metadata':{'icon':_0x42e9b1[_0x1d9b9e(0x4a1)][_0x1d9b9e(0x1c3)]},'label':_0x42e9b1[_0x1d9b9e(0x4a1)]['name'],'objectType':a[_0x1d9b9e(0x268)]['PERSON']})),'metadata':{},'type':a[_0x1d9b9e(0x268)]['PERSON']}]};}},exports[_0x4adc58(0x4b6)]=_n([ot(0x0,a['Inject'](a[_0x4adc58(0x3f1)])),ot(0x1,a['Inject'](q[_0x4adc58(0x1b6)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0x31a602,_0x5381e8,_0xd47b82,_0x489d6a)=>{var _0x4ea108=_0x4adc58;for(var _0x31d789=_0x489d6a>0x1?void 0x0:_0x489d6a?un(_0x5381e8,_0xd47b82):_0x5381e8,_0x2795e8=_0x31a602[_0x4ea108(0x2ba)]-0x1,_0xb35e53;_0x2795e8>=0x0;_0x2795e8--)(_0xb35e53=_0x31a602[_0x2795e8])&&(_0x31d789=_0xb35e53(_0x31d789)||_0x31d789);return _0x31d789;},le=(_0x3fb5bf,_0x2da508)=>(_0x37fa60,_0x4407cb)=>_0x2da508(_0x37fa60,_0x4407cb,_0x3fb5bf);let De=class extends a['RxDisposable']{constructor(_0xe9d19a,_0x3293eb,_0x49d629,_0x56910b,_0x21fe8d){var _0xb8936a=_0x4adc58;super(),this[_0xb8936a(0x20f)]=_0xe9d19a,this['_univerInstanceService']=_0x3293eb,this[_0xb8936a(0x15d)]=_0x49d629,this[_0xb8936a(0x340)]=_0x56910b,this['_collaborationUIEventService']=_0x21fe8d,this[_0xb8936a(0x219)](),this[_0xb8936a(0x223)]();}[_0x4adc58(0x223)](){var _0x53d82a=_0x4adc58;const _0x43c063=async _0x223dfa=>{var _0x28e0dc=_0x2018;(await this[_0x28e0dc(0x340)]['requireSession'](_0x223dfa))[_0x28e0dc(0x2c2)]['pipe'](V[_0x28e0dc(0x307)](_0x4bb301=>_0x4bb301[_0x28e0dc(0x162)]===p[_0x28e0dc(0x232)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x28e0dc(0x40f)]))[_0x28e0dc(0x1b8)](_0x5b940e=>{var _0x2a0b7a=_0x28e0dc;const _0x5fda07=_0x5b940e,{reason:_0xdfd4ed}=_0x5fda07[_0x2a0b7a(0x46c)];this[_0x2a0b7a(0x496)][_0x2a0b7a(0x245)]({'id':Z[_0x2a0b7a(0x439)],'data':_0xdfd4ed}),this[_0x2a0b7a(0x15d)]['updatePermissionPoint'](new X[(_0x2a0b7a(0x32f))](_0x223dfa)['id'],!0x1),this[_0x2a0b7a(0x340)]['closeSession'](_0x223dfa);});};H[_0x53d82a(0x244)](this[_0x53d82a(0x2b6)][_0x53d82a(0x1ae)](a[_0x53d82a(0x3f3)][_0x53d82a(0x3fa)]),this['_univerInstanceService'][_0x53d82a(0x1ae)](a[_0x53d82a(0x3f3)][_0x53d82a(0x3ae)]))[_0x53d82a(0x2c3)](V[_0x53d82a(0x1ea)](_0x2fc240=>_0x2fc240[_0x53d82a(0x40c)]()),V[_0x53d82a(0x307)](_0x1740c7=>!a[_0x53d82a(0x42b)](_0x1740c7)),V[_0x53d82a(0x2d1)](this[_0x53d82a(0x40f)]))['subscribe'](_0x261738=>{_0x43c063(_0x261738);});}[_0x4adc58(0x219)](){var _0x4ccb15=_0x4adc58;const _0x5b270d=async _0x474113=>{var _0x589180=_0x2018;const _0x467ae7=await this['_collaborationSessionService'][_0x589180(0x4ca)](_0x474113),_0x9495f3=this['_injector']['get'](X[_0x589180(0x45e)]);_0x467ae7[_0x589180(0x2c2)][_0x589180(0x2c3)](V[_0x589180(0x307)](_0x4be16d=>_0x4be16d['eventID']===p[_0x589180(0x232)][_0x589180(0x453)]),V[_0x589180(0x2d1)](this[_0x589180(0x40f)]))['subscribe'](_0xee2102=>{var _0x381051=_0x589180;const _0x36aa1f=_0xee2102,{objectId:_0x19ddc0}=_0x36aa1f[_0x381051(0x46c)];_0x19ddc0===_0x474113?_0x9495f3[_0x381051(0x3e7)](_0x474113):_0x9495f3[_0x381051(0x2af)](_0x474113,_0x19ddc0);});};H['merge'](this[_0x4ccb15(0x2b6)]['getTypeOfUnitAdded$'](a[_0x4ccb15(0x3f3)]['UNIVER_SHEET']))['pipe'](V[_0x4ccb15(0x1ea)](_0x3a0882=>_0x3a0882[_0x4ccb15(0x40c)]()),V[_0x4ccb15(0x307)](_0x3f9a9d=>!a[_0x4ccb15(0x42b)](_0x3f9a9d)),V['takeUntil'](this[_0x4ccb15(0x40f)]))['subscribe'](_0x1b4a35=>{_0x5b270d(_0x1b4a35);});}};De=dn([le(0x0,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),le(0x1,a[_0x4adc58(0x46d)]),le(0x2,a[_0x4adc58(0x3b3)]),le(0x3,a[_0x4adc58(0x49e)](exports[_0x4adc58(0x196)])),le(0x4,a[_0x4adc58(0x49e)](ee))],De);var vn=Object[_0x4adc58(0x3af)],Sn=(_0x2b7d6e,_0x1b0d85,_0x9f3fdb,_0x5406ff)=>{var _0x17baaf=_0x4adc58;for(var _0x19c4ab=_0x5406ff>0x1?void 0x0:_0x5406ff?vn(_0x1b0d85,_0x9f3fdb):_0x1b0d85,_0x253c7a=_0x2b7d6e[_0x17baaf(0x2ba)]-0x1,_0x153ea2;_0x253c7a>=0x0;_0x253c7a--)(_0x153ea2=_0x2b7d6e[_0x253c7a])&&(_0x19c4ab=_0x153ea2(_0x19c4ab)||_0x19c4ab);return _0x19c4ab;},at=(_0x3e99ac,_0x455686)=>(_0x2ed34e,_0xb30cac)=>_0x455686(_0x2ed34e,_0xb30cac,_0x3e99ac);exports[_0x4adc58(0x1d5)]=class{constructor(_0x3f6aa9,_0x640af6){var _0x59f7e7=_0x4adc58;this[_0x59f7e7(0x25b)]=_0x3f6aa9,this[_0x59f7e7(0x3a2)]=_0x640af6;}async['getUnitOnRev'](_0x4c5772,_0x3bb314){var _0x57f786=_0x4adc58,_0x273af9;const {unitID:_0x5d14d7,type:_0x3adc83,revision:_0x42522a=0x0}=_0x3bb314,_0x3ee502=this[_0x57f786(0x34d)]()+'/'+_0x3adc83+_0x57f786(0x192)+_0x5d14d7+_0x57f786(0x40e)+_0x42522a,_0x15d729=(await this[_0x57f786(0x3a2)][_0x57f786(0x44b)](_0x3ee502))[_0x57f786(0x36c)],_0x23c27b=(_0x273af9=_0x15d729[_0x57f786(0x1c8)])==null?void 0x0:_0x273af9[_0x57f786(0x1be)];if(_0x23c27b){const _0x384aa5=_0x23c27b==null?void 0x0:_0x23c27b[_0x57f786(0x28a)],_0x5b966b=p[_0x57f786(0x3b9)][_0x57f786(0x390)](p[_0x57f786(0x393)](_0x384aa5));_0x23c27b[_0x57f786(0x28a)]=_0x5b966b,Object[_0x57f786(0x284)](_0x23c27b[_0x57f786(0x39a)])['forEach'](([,_0x353932])=>{var _0x1447aa=_0x57f786;const _0x4aae15=_0x353932['originalMeta'],_0x294e62=p['textEncoder'][_0x1447aa(0x390)](p[_0x1447aa(0x393)](_0x4aae15));_0x353932[_0x1447aa(0x28a)]=_0x294e62;});}return _0x15d729;}async[_0x4adc58(0x207)](_0x470aec,_0x4645cf){var _0x148c9a=_0x4adc58;const {unitID:_0x3c4aff,type:_0x3500ed,blockID:_0x548d31}=_0x4645cf,_0x5b886c=this[_0x148c9a(0x3ee)]()+'/'+_0x3500ed+_0x148c9a(0x192)+_0x3c4aff+_0x148c9a(0x3d8)+_0x548d31;return(await this['_httpService'][_0x148c9a(0x44b)](_0x5b886c))[_0x148c9a(0x36c)];}async[_0x4adc58(0x20b)](_0x36f0ee,_0x47a194){var _0x34b036=_0x4adc58;const {unitID:_0x1c3c5a,type:_0x29bb31,blockID:_0x59fe52}=_0x47a194,_0x467eff=this[_0x34b036(0x3ee)]()+_0x34b036(0x3d8)+_0x29bb31+'/unit/'+_0x1c3c5a+_0x34b036(0x3d8)+_0x59fe52;return(await this['_httpService'][_0x34b036(0x44b)](_0x467eff))['body'];}async[_0x4adc58(0x336)](_0x49f763,_0x388b22){var _0x1b7ed8=_0x4adc58;const {unitID:_0x5d02f9,type:_0xa3a1e0,from:_0x52ce12,to:_0x544301}=_0x388b22,_0x318c69=this[_0x1b7ed8(0x3ee)]()+'/'+_0xa3a1e0+_0x1b7ed8(0x192)+_0x5d02f9+'/fetchmissing?from='+_0x52ce12+_0x1b7ed8(0x441)+_0x544301;return(await this[_0x1b7ed8(0x3a2)][_0x1b7ed8(0x44b)](_0x318c69))['body'];}[_0x4adc58(0x34d)](){var _0x15c320=_0x4adc58,_0x34a7a7;return(_0x34a7a7=this[_0x15c320(0x25b)]['getConfig'](Dt))!=null?_0x34a7a7:this[_0x15c320(0x3ee)]();}[_0x4adc58(0x3ee)](){var _0x19c417=_0x4adc58,_0x621519;const _0x429fd8=this[_0x19c417(0x25b)][_0x19c417(0x392)](Y);return(_0x621519=_0x429fd8==null?void 0x0:_0x429fd8[_0x19c417(0x3de)])!=null?_0x621519:Nt;}async[_0x4adc58(0x22f)](_0x215d53,_0x522ca4){var _0x3b7910=_0x4adc58;const _0x42cd20=_0x3b7910(0x295)+_0x522ca4['type']+_0x3b7910(0x192)+_0x522ca4[_0x3b7910(0x1e3)]+'/resources';return(await this[_0x3b7910(0x3a2)][_0x3b7910(0x44b)](_0x42cd20,{'params':{'resourceId':JSON['stringify'](_0x522ca4[_0x3b7910(0x1a1)])}}))[_0x3b7910(0x36c)];}[_0x4adc58(0x261)](){var _0x248ffd=_0x4adc58;throw new Error(_0x248ffd(0x451));}[_0x4adc58(0x399)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4adc58(0x3da)](){var _0x39a85b=_0x4adc58;throw new Error(_0x39a85b(0x451));}[_0x4adc58(0x4bd)](){var _0x2b89bc=_0x4adc58;throw new Error(_0x2b89bc(0x451));}[_0x4adc58(0x23c)](){var _0x2fe460=_0x4adc58;throw new Error(_0x2fe460(0x451));}},exports[_0x4adc58(0x1d5)]=Sn([at(0x0,a[_0x4adc58(0x3f1)]),at(0x1,a[_0x4adc58(0x49e)](q[_0x4adc58(0x1b6)]))],exports[_0x4adc58(0x1d5)]);var fn=Object[_0x4adc58(0x3af)],In=(_0x403894,_0x419c32,_0x556c52,_0x9157dc)=>{for(var _0x32d247=_0x9157dc>0x1?void 0x0:_0x9157dc?fn(_0x419c32,_0x556c52):_0x419c32,_0x556c0b=_0x403894['length']-0x1,_0x44788c;_0x556c0b>=0x0;_0x556c0b--)(_0x44788c=_0x403894[_0x556c0b])&&(_0x32d247=_0x44788c(_0x32d247)||_0x32d247);return _0x32d247;},ue=(_0x14ed93,_0x34c448)=>(_0x1eff29,_0x10c7ec)=>_0x34c448(_0x1eff29,_0x10c7ec,_0x14ed93);exports[_0x4adc58(0x398)]=class extends a['LocalUndoRedoService']{constructor(_0xde0844,_0x1957e4,_0x363225,_0x291db2,_0xd7d7bd){var _0x107417=_0x4adc58;super(_0xde0844,_0x1957e4,_0x363225),this[_0x107417(0x28d)]=_0x291db2,this[_0x107417(0x337)]=_0xd7d7bd;}[_0x4adc58(0x3cb)](_0x229c18,_0x428a4b){var _0x35240b=_0x4adc58;const _0x5de514=this[_0x35240b(0x2f7)](_0x229c18);if(_0x5de514)try{const _0x120e2c=this[_0x35240b(0x250)](_0x5de514,_0x428a4b);this[_0x35240b(0x315)](_0x229c18,_0x120e2c);}catch(_0xfa398){this[_0x35240b(0x337)][_0x35240b(0x2f2)]('[CollaborationUndoRedoService]',_0xfa398),this['_clearUndo'](_0x229c18);}const _0x461f13=this['_getRedoStack'](_0x229c18);if(_0x461f13)try{const _0x58b57d=this[_0x35240b(0x250)](_0x461f13,_0x428a4b);this['_substituteRedoStack'](_0x229c18,_0x58b57d);}catch(_0x1d8e87){this[_0x35240b(0x337)][_0x35240b(0x2f2)](_0x1d8e87),this['_clearRedo'](_0x229c18);}}[_0x4adc58(0x45a)](_0x1eb6ec){var _0x39bb53=_0x4adc58;const _0x5e118f=this[_0x39bb53(0x2f7)](_0x1eb6ec);_0x5e118f&&(_0x5e118f[_0x39bb53(0x2ba)]=0x0,this[_0x39bb53(0x449)]());}['_clearRedo'](_0x3b082c){var _0x3edcaf=_0x4adc58;const _0x3f4e0b=this[_0x3edcaf(0x35b)](_0x3b082c);_0x3f4e0b&&(_0x3f4e0b[_0x3edcaf(0x2ba)]=0x0,this['_updateStatus']());}[_0x4adc58(0x315)](_0x386ce3,_0x3007ac){var _0x29d483=_0x4adc58;this[_0x29d483(0x15b)][_0x29d483(0x440)](_0x386ce3,_0x3007ac),this[_0x29d483(0x449)]();}[_0x4adc58(0x301)](_0x569df9,_0x146448){var _0x1c5de1=_0x4adc58;this[_0x1c5de1(0x356)][_0x1c5de1(0x440)](_0x569df9,_0x146448),this[_0x1c5de1(0x449)]();}['_transformStack'](_0x20004c,_0x20e7b0){var _0x17b181=_0x4adc58;const _0x501f14=[];let _0x47f6d8=_0x20e7b0,_0x279712=_0x20e7b0;for(let _0x4cef6b=_0x20004c['length']-0x1;_0x4cef6b>=0x0;_0x4cef6b--){const {unitID:_0x561f07,undoMutations:_0x22de93,redoMutations:_0x51ef76}=_0x20004c[_0x4cef6b],_0x1c2146=this[_0x17b181(0x28d)][_0x17b181(0x4aa)](_0x47f6d8,_0x22de93),_0x36190c=this['_transformService']['transformMutationsWithChangeset'](_0x279712,_0x51ef76);if(p['isTransformMutationsWithChangesetFailure'](_0x1c2146)||p[_0x17b181(0x1cb)](_0x36190c)){this['_logService']['error'](_0x17b181(0x344),_0x17b181(0x2dd),_0x1c2146,_0x36190c);break;}_0x47f6d8=_0x1c2146[_0x17b181(0x46a)],_0x279712=_0x36190c[_0x17b181(0x46a)],_0x501f14[_0x17b181(0x286)]({'unitID':_0x561f07,'undoMutations':_0x1c2146[_0x17b181(0x189)],'redoMutations':_0x36190c[_0x17b181(0x189)]});}return _0x501f14['reverse']();}},exports[_0x4adc58(0x398)]=In([ue(0x0,a[_0x4adc58(0x46d)]),ue(0x1,a[_0x4adc58(0x31a)]),ue(0x2,a[_0x4adc58(0x1a6)]),ue(0x3,p[_0x4adc58(0x30f)]),ue(0x4,a[_0x4adc58(0x270)])],exports[_0x4adc58(0x398)]);var pn=Object[_0x4adc58(0x300)],mn=Object[_0x4adc58(0x3af)],gn=(_0x613307,_0x305654,_0x11963d)=>_0x305654 in _0x613307?pn(_0x613307,_0x305654,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11963d}):_0x613307[_0x305654]=_0x11963d,En=(_0x170b75,_0x52df98,_0x3b22b6,_0x2794af)=>{var _0x291626=_0x4adc58;for(var _0x451b53=_0x2794af>0x1?void 0x0:_0x2794af?mn(_0x52df98,_0x3b22b6):_0x52df98,_0x5a3e82=_0x170b75[_0x291626(0x2ba)]-0x1,_0xe2e676;_0x5a3e82>=0x0;_0x5a3e82--)(_0xe2e676=_0x170b75[_0x5a3e82])&&(_0x451b53=_0xe2e676(_0x451b53)||_0x451b53);return _0x451b53;},Le=(_0x32410b,_0x4a0ff8)=>(_0x25f3d2,_0x66dcc9)=>_0x4a0ff8(_0x25f3d2,_0x66dcc9,_0x32410b),Cn=(_0x5284f0,_0x43c2be,_0x9d85fc)=>gn(_0x5284f0,_0x43c2be+'',_0x9d85fc);const Tn=_0x4adc58(0x298);exports[_0x4adc58(0x3a7)]=class extends a[_0x4adc58(0x49f)]{constructor(_0x160a3c,_0x2dc2d2,_0x9b6e6,_0x545998){var _0x57fdab=_0x4adc58;super(),A(this,_0x57fdab(0x341)),(this[_0x57fdab(0x337)]=_0x2dc2d2,this['_injector']=_0x9b6e6,this['_configService']=_0x545998);const {..._0x5783be}=a[_0x57fdab(0x244)]({},Zt,_0x160a3c);if(!_0x5783be[_0x57fdab(0x272)])throw new Error(_0x57fdab(0x353));this[_0x57fdab(0x341)]=_0x5783be,this['_configService'][_0x57fdab(0x490)](Y,_0x5783be);}[_0x4adc58(0x422)](){var _0x280e88=_0x4adc58;this['_registerDependencies'](),this[_0x280e88(0x27d)]();}[_0x4adc58(0x412)](){var _0x51ade7=_0x4adc58,_0x3d02cb,_0x59bd74;this[_0x51ade7(0x20f)][_0x51ade7(0x3e0)](a[_0x51ade7(0x191)])&&this['_logService'][_0x51ade7(0x2f2)](_0x51ade7(0x466),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2ab311=a[_0x51ade7(0x226)]([[a[_0x51ade7(0x191)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x51ade7(0x196)]],[exports[_0x51ade7(0x2be)]],[exports[_0x51ade7(0x18f)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x51ade7(0x473)]],[Fe,{'useClass':this[_0x51ade7(0x341)]['socketService']}],[p[_0x51ade7(0x27b)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x51ade7(0x22d)],{'useClass':exports[_0x51ade7(0x1d2)]}],[z[_0x51ade7(0x1e8)],{'useClass':exports[_0x51ade7(0x4ad)]}],[a[_0x51ade7(0x21a)],{'useClass':exports['MentionIoHttpService']}],[exports['CollaborationController']],[xe]],(_0x3d02cb=this[_0x51ade7(0x341)])==null?void 0x0:_0x3d02cb[_0x51ade7(0x464)]);if(!((_0x59bd74=this['_config'])!=null&&_0x59bd74[_0x51ade7(0x324)])){const _0x2c6d4c=_0x2ab311[_0x51ade7(0x4b3)](([_0x5cb1fc])=>_0x5cb1fc===de);_0x2c6d4c!==-0x1&&_0x2ab311[_0x51ade7(0x203)](_0x2c6d4c,0x1);}a[_0x51ade7(0x448)](this['_injector'],_0x2ab311);}[_0x4adc58(0x27d)](){var _0x260939=_0x4adc58,_0x2f1ffa,_0x1bdb9e,_0x93da2;this[_0x260939(0x20f)][_0x260939(0x44b)](q[_0x260939(0x1b6)])[_0x260939(0x3b2)]({'priority':0x14,'interceptor':q[_0x260939(0x48e)]({'maxParallel':0x6})}),(_0x2f1ffa=this[_0x260939(0x341)])!=null&&_0x2f1ffa[_0x260939(0x3bc)]||(_0x1bdb9e=this[_0x260939(0x20f)]['get'](K,a[_0x260939(0x378)][_0x260939(0x256)]))==null||_0x1bdb9e['disableLocalCache'](),(_0x93da2=this[_0x260939(0x341)])!=null&&_0x93da2['enableAuthServer']&&a['touchDependencies'](this[_0x260939(0x20f)],[[ye]]),a[_0x260939(0x430)](this[_0x260939(0x20f)],[[Ne],[exports[_0x260939(0x31e)]],[De]]);}},Cn(exports[_0x4adc58(0x3a7)],_0x4adc58(0x1f1),Tn),exports[_0x4adc58(0x3a7)]=En([a[_0x4adc58(0x4c6)](p[_0x4adc58(0x2e2)],q['UniverNetworkPlugin']),Le(0x1,a[_0x4adc58(0x270)]),Le(0x2,a[_0x4adc58(0x49e)](a[_0x4adc58(0x322)])),Le(0x3,a['IConfigService'])],exports[_0x4adc58(0x3a7)]),exports[_0x4adc58(0x4a8)]=Y,exports[_0x4adc58(0x1cd)]=je,exports[_0x4adc58(0x452)]=Z,exports[_0x4adc58(0x217)]=ee,exports[_0x4adc58(0x2ac)]=$e,exports[_0x4adc58(0x234)]=ht,exports[_0x4adc58(0x360)]=jt,exports[_0x4adc58(0x1f2)]=At,exports[_0x4adc58(0x22a)]=_t,exports[_0x4adc58(0x3a6)]=ke,exports[_0x4adc58(0x239)]=Fe,exports[_0x4adc58(0x444)]=K,exports['INetworkConditionService']=pt,exports[_0x4adc58(0x3a9)]=de,exports[_0x4adc58(0x3b7)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=Lt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Ht,exports[_0x4adc58(0x1cf)]=ut,exports[_0x4adc58(0x175)]=re,exports['UnitStatus']=He,exports['deserializeToCombResponse']=mt,exports[_0x4adc58(0x214)]=Kt,exports[_0x4adc58(0x43f)]=gt;
|
|
1
|
+
'use strict';var _0x1640f8=_0x3549;(function(_0x41d0cb,_0x1d330d){var _0x434bc6=_0x3549,_0x55a8bb=_0x41d0cb();while(!![]){try{var _0xbd4e76=-parseInt(_0x434bc6(0x39c))/0x1*(parseInt(_0x434bc6(0x236))/0x2)+parseInt(_0x434bc6(0x299))/0x3+-parseInt(_0x434bc6(0x28e))/0x4+-parseInt(_0x434bc6(0x39d))/0x5*(-parseInt(_0x434bc6(0x23b))/0x6)+-parseInt(_0x434bc6(0x2ad))/0x7+-parseInt(_0x434bc6(0x193))/0x8*(parseInt(_0x434bc6(0x2dc))/0x9)+parseInt(_0x434bc6(0x134))/0xa*(parseInt(_0x434bc6(0x152))/0xb);if(_0xbd4e76===_0x1d330d)break;else _0x55a8bb['push'](_0x55a8bb['shift']());}catch(_0x3263aa){_0x55a8bb['push'](_0x55a8bb['shift']());}}}(_0x459c,0x5834e));var bt=Object[_0x1640f8(0x450)],Ot=(_0x1ca0be,_0x1cf13f,_0x5cba78)=>_0x1cf13f in _0x1ca0be?bt(_0x1ca0be,_0x1cf13f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cba78}):_0x1ca0be[_0x1cf13f]=_0x5cba78,A=(_0x41069a,_0x4ef26c,_0x53b9fb)=>Ot(_0x41069a,typeof _0x4ef26c!=_0x1640f8(0x368)?_0x4ef26c+'':_0x4ef26c,_0x53b9fb);Object[_0x1640f8(0x450)](exports,Symbol['toStringTag'],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt='/universer-api/snapshot',Dt=_0x1640f8(0x339),Ut=0x7d0,ht=_0x1640f8(0x269),At='/universer-api/user/session-ticket',_t=_0x1640f8(0x389),Pt=0x7530,ke=_0x1640f8(0x283),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x1640f8(0x1ad),xt=0x3e8,kt='/universer-api/comb',$t=_0x1640f8(0x48b),Ht='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',jt=_0x1640f8(0x2b5);var dt=(_0x3af209=>(_0x3af209[_0x3af209['UNDEFINED']=0x0]='UNDEFINED',_0x3af209[_0x3af209['OK']=0x1]='OK',_0x3af209[_0x3af209['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x3af209[_0x3af209[_0x1640f8(0x32e)]=0x3]=_0x1640f8(0x32e),_0x3af209[_0x3af209[_0x1640f8(0x455)]=0x4]=_0x1640f8(0x455),_0x3af209[_0x3af209[_0x1640f8(0x465)]=0x5]=_0x1640f8(0x465),_0x3af209[_0x3af209[_0x1640f8(0x284)]=0x6]=_0x1640f8(0x284),_0x3af209[_0x3af209[_0x1640f8(0x2de)]=0x7]=_0x1640f8(0x2de),_0x3af209[_0x3af209[_0x1640f8(0x1ec)]=0x8]=_0x1640f8(0x1ec),_0x3af209[_0x3af209[_0x1640f8(0x3c1)]=0x9]=_0x1640f8(0x3c1),_0x3af209[_0x3af209[_0x1640f8(0x39a)]=0xa]=_0x1640f8(0x39a),_0x3af209[_0x3af209[_0x1640f8(0x396)]=0xb]=_0x1640f8(0x396),_0x3af209[_0x3af209[_0x1640f8(0x13e)]=0xc]=_0x1640f8(0x13e),_0x3af209[_0x3af209[_0x1640f8(0x21f)]=0xd]=_0x1640f8(0x21f),_0x3af209[_0x3af209[_0x1640f8(0x274)]=0xe]=_0x1640f8(0x274),_0x3af209[_0x3af209[_0x1640f8(0x15c)]=0x1389]=_0x1640f8(0x15c),_0x3af209[_0x3af209['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1640f8(0x307),_0x3af209[_0x3af209[_0x1640f8(0x2e4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3af209[_0x3af209[_0x1640f8(0x19a)]=0x1773]=_0x1640f8(0x19a),_0x3af209[_0x3af209[_0x1640f8(0x338)]=0x1b59]='APPLY_REJECT',_0x3af209[_0x3af209['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1640f8(0x44a),_0x3af209[_0x3af209[_0x1640f8(0x183)]=0x1b5b]=_0x1640f8(0x183),_0x3af209[_0x3af209['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1640f8(0x349),_0x3af209[_0x3af209[_0x1640f8(0x2ea)]=0x1b5d]='APPLY_DUPLICATED',_0x3af209[_0x3af209[_0x1640f8(0x1c5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3af209[_0x3af209[_0x1640f8(0x33b)]=0x2329]=_0x1640f8(0x33b),_0x3af209[_0x3af209['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1640f8(0x416),_0x3af209[_0x3af209['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1640f8(0x1d0),_0x3af209[_0x3af209[_0x1640f8(0x252)]=0x232c]=_0x1640f8(0x252),_0x3af209[_0x3af209['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1640f8(0x2e9),_0x3af209[_0x3af209[_0x1640f8(0x1d4)]=0x2711]=_0x1640f8(0x1d4),_0x3af209[_0x3af209['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1640f8(0x481),_0x3af209[_0x3af209[_0x1640f8(0x253)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3af209[_0x3af209[_0x1640f8(0x16c)]=0x2714]=_0x1640f8(0x16c),_0x3af209[_0x3af209[_0x1640f8(0x270)]=0x271a]=_0x1640f8(0x270),_0x3af209[_0x3af209[_0x1640f8(0x3f1)]=0x271b]=_0x1640f8(0x3f1),_0x3af209[_0x3af209[_0x1640f8(0x33d)]=0x271c]=_0x1640f8(0x33d),_0x3af209[_0x3af209[_0x1640f8(0x3e4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3af209[_0x3af209[_0x1640f8(0x3fc)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3af209[_0x3af209[_0x1640f8(0x2cf)]=0x271f]=_0x1640f8(0x2cf),_0x3af209[_0x3af209['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1640f8(0x2d8),_0x3af209[_0x3af209['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3af209[_0x3af209['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3af209[_0x3af209[_0x1640f8(0x3a5)]=0x2ee2]=_0x1640f8(0x3a5),_0x3af209[_0x3af209[_0x1640f8(0x290)]=0x2ee3]=_0x1640f8(0x290),_0x3af209[_0x3af209[_0x1640f8(0x2a9)]=0x2ee4]=_0x1640f8(0x2a9),_0x3af209[_0x3af209[_0x1640f8(0x471)]=0x2ee5]=_0x1640f8(0x471),_0x3af209[_0x3af209[_0x1640f8(0x3a4)]=0x32c9]=_0x1640f8(0x3a4),_0x3af209[_0x3af209[_0x1640f8(0x324)]=0x32ca]=_0x1640f8(0x324),_0x3af209[_0x3af209[_0x1640f8(0x265)]=0x32cb]=_0x1640f8(0x265),_0x3af209[_0x3af209[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x3af209))(dt||{}),J=(_0x271fa2=>(_0x271fa2[_0x271fa2[_0x1640f8(0x2f5)]=0x0]='UNIVER_UNKNOWN',_0x271fa2[_0x271fa2[_0x1640f8(0x15e)]=0x1]=_0x1640f8(0x15e),_0x271fa2[_0x271fa2[_0x1640f8(0x435)]=0x2]=_0x1640f8(0x435),_0x271fa2[_0x271fa2['UNIVER_SLIDE']=0x3]=_0x1640f8(0x259),_0x271fa2[_0x271fa2[_0x1640f8(0x241)]=0x4]=_0x1640f8(0x241),_0x271fa2[_0x271fa2['UNRECOGNIZED']=-0x1]=_0x1640f8(0x487),_0x271fa2))(J||{}),W=(_0x27661d=>(_0x27661d[_0x27661d[_0x1640f8(0x3bd)]=0x0]='UNKNOWN_CMD',_0x27661d[_0x27661d['HELLO']=0x1]='HELLO',_0x27661d[_0x27661d[_0x1640f8(0x2a5)]=0x2]=_0x1640f8(0x2a5),_0x27661d[_0x27661d[_0x1640f8(0x266)]=0x3]=_0x1640f8(0x266),_0x27661d[_0x27661d[_0x1640f8(0x474)]=0x4]=_0x1640f8(0x474),_0x27661d[_0x27661d[_0x1640f8(0x43f)]=0x5]=_0x1640f8(0x43f),_0x27661d[_0x27661d['RECV']=0x6]=_0x1640f8(0x333),_0x27661d[_0x27661d[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x27661d))(W||{}),se=(_0x5db05c=>(_0x5db05c[_0x5db05c[_0x1640f8(0x1c4)]=0x0]=_0x1640f8(0x1c4),_0x5db05c[_0x5db05c['OK']=0x1]='OK',_0x5db05c[_0x5db05c['FAIL']=0x2]=_0x1640f8(0x20e),_0x5db05c[_0x5db05c['JOIN_ROOM_FULL']=0x3e9]=_0x1640f8(0x173),_0x5db05c[_0x5db05c[_0x1640f8(0x246)]=0x3ea]=_0x1640f8(0x246),_0x5db05c[_0x5db05c[_0x1640f8(0x1f0)]=0x3eb]=_0x1640f8(0x1f0),_0x5db05c[_0x5db05c[_0x1640f8(0x385)]=0x3ec]=_0x1640f8(0x385),_0x5db05c[_0x5db05c[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x5db05c))(se||{}),vt=(_0x31efd4=>(_0x31efd4[_0x31efd4[_0x1640f8(0x3ae)]=0x0]=_0x1640f8(0x3ae),_0x31efd4[_0x31efd4['HttpImport']=0x1]=_0x1640f8(0x37e),_0x31efd4[_0x31efd4[_0x1640f8(0x250)]=0x2]='HttpExport',_0x31efd4[_0x31efd4[_0x1640f8(0x1f6)]=0x3]=_0x1640f8(0x1f6),_0x31efd4[_0x31efd4[_0x1640f8(0x16b)]=0x4]=_0x1640f8(0x16b),_0x31efd4[_0x31efd4[_0x1640f8(0x298)]=0x5]=_0x1640f8(0x298),_0x31efd4[_0x31efd4[_0x1640f8(0x487)]=-0x1]=_0x1640f8(0x487),_0x31efd4))(vt||{});const Bt=_0x1640f8(0x1e7);function Ft(_0xde8985){return JSON['stringify'](_0xde8985)['length'];}var Z=(_0x585e05=>(_0x585e05[_0x1640f8(0x255)]='OTHER_CLIENT_EDITING',_0x585e05[_0x1640f8(0x32e)]=_0x1640f8(0x32e),_0x585e05[_0x1640f8(0x2e2)]=_0x1640f8(0x2e2),_0x585e05[_0x1640f8(0x182)]=_0x1640f8(0x182),_0x585e05[_0x1640f8(0x225)]=_0x1640f8(0x225),_0x585e05[_0x1640f8(0x326)]='SOCKET_FAILED_RETRY',_0x585e05[_0x1640f8(0x1a8)]=_0x1640f8(0x1a8),_0x585e05[_0x1640f8(0x486)]=_0x1640f8(0x486),_0x585e05))(Z||{});class ee{constructor(){var _0x8b3545=_0x1640f8;A(this,_0x8b3545(0x2bd),new H[(_0x8b3545(0x375))]()),A(this,'event$',this[_0x8b3545(0x2bd)][_0x8b3545(0x1ed)]());}['emitEvent'](_0x392c40){var _0xab25c5=_0x1640f8;this[_0xab25c5(0x2bd)][_0xab25c5(0x3f8)](_0x392c40);}}class $e{constructor(){var _0x19a330=_0x1640f8;A(this,_0x19a330(0x3a8),new H[(_0x19a330(0x375))]()),A(this,_0x19a330(0x15b),this['_commentUpdate$'][_0x19a330(0x1ed)]());}[_0x1640f8(0x352)](_0x3c8543){var _0x1b5dbb=_0x1640f8;this[_0x1b5dbb(0x3a8)][_0x1b5dbb(0x3f8)](_0x3c8543);}}var Vt=Object[_0x1640f8(0x2d7)],Wt=(_0x23a240,_0x44eb5b,_0xaae657,_0x323397)=>{var _0x15a598=_0x1640f8;for(var _0xd0ed7d=_0x323397>0x1?void 0x0:_0x323397?Vt(_0x44eb5b,_0xaae657):_0x44eb5b,_0x1b3abe=_0x23a240[_0x15a598(0x388)]-0x1,_0x43518b;_0x1b3abe>=0x0;_0x1b3abe--)(_0x43518b=_0x23a240[_0x1b3abe])&&(_0xd0ed7d=_0x43518b(_0xd0ed7d)||_0xd0ed7d);return _0xd0ed7d;},Ve=(_0x2daca6,_0x41bd95)=>(_0x3bca66,_0x409771)=>_0x41bd95(_0x3bca66,_0x409771,_0x2daca6);exports[_0x1640f8(0x398)]=class extends a[_0x1640f8(0x380)]{constructor(_0x378fa2,_0x534d04){var _0x554c18=_0x1640f8;super(),A(this,'_roomMembers',new Map()),A(this,_0x554c18(0x32a),new H[(_0x554c18(0x375))]()),(this[_0x554c18(0x2f3)]=_0x378fa2,this[_0x554c18(0x351)]=_0x534d04,this[_0x554c18(0x30c)](H[_0x554c18(0x22a)](this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SHEET'])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x5f13ef=>_0x5f13ef[_0x554c18(0x2e1)]())),this['_univerInstanceService'][_0x554c18(0x2fe)](a['UniverInstanceType'][_0x554c18(0x15e)])[_0x554c18(0x297)](V[_0x554c18(0x3d2)](_0x476193=>_0x476193[_0x554c18(0x2e1)]())),this[_0x554c18(0x2f3)][_0x554c18(0x2fe)](a[_0x554c18(0x1cb)]['UNIVER_SLIDE'])[_0x554c18(0x297)](V['map'](_0x22aca2=>_0x22aca2[_0x554c18(0x2e1)]())))[_0x554c18(0x217)](_0x5e1f3c=>this[_0x554c18(0x171)](_0x5e1f3c))));}[_0x1640f8(0x443)](_0x2b3936){var _0x16df03=_0x1640f8;return this[_0x16df03(0x23d)][_0x16df03(0x3fb)](_0x2b3936)?H['of'](this[_0x16df03(0x23d)][_0x16df03(0x3ee)](_0x2b3936)):this[_0x16df03(0x32a)][_0x16df03(0x297)](V[_0x16df03(0x3d2)](_0x5bc9f8=>{if(_0x5bc9f8===_0x2b3936)return this['_roomMembers']['get'](_0x5bc9f8);}));}['setCurrentUser'](_0x21cd89){var _0x2f5494=_0x1640f8;this['_userManagerService'][_0x2f5494(0x1bc)](_0x21cd89);}[_0x1640f8(0x2b9)](){var _0x593320=_0x1640f8;return this[_0x593320(0x351)][_0x593320(0x2b9)]();}['updateMember'](_0x24de50,_0x155877){var _0x2ba8f9=_0x1640f8;let _0x24101c=this['_roomMembers'][_0x2ba8f9(0x3ee)](_0x24de50);_0x24101c||(_0x24101c=new Gt(),this[_0x2ba8f9(0x23d)]['set'](_0x24de50,_0x24101c),this['_roomCreated$'][_0x2ba8f9(0x3f8)](_0x24de50)),_0x24101c[_0x2ba8f9(0x2c1)](_0x155877);}[_0x1640f8(0x19b)](_0x21ab29,_0x564522){var _0x355947=_0x1640f8;const _0x56f024=this[_0x355947(0x23d)][_0x355947(0x3ee)](_0x21ab29);_0x56f024&&_0x56f024[_0x355947(0x19b)](_0x564522);}[_0x1640f8(0x221)](_0x398bc2){var _0x10e252=_0x1640f8;return this[_0x10e252(0x23d)][_0x10e252(0x3ee)](_0x398bc2);}[_0x1640f8(0x3f4)](_0x405eac,_0x56bb0e){var _0x15eefe=_0x1640f8;const _0x56776f=this[_0x15eefe(0x23d)][_0x15eefe(0x3ee)](_0x405eac);if(_0x56776f)return _0x56776f[_0x15eefe(0x3f4)](_0x56bb0e);}['_removeRoom'](_0x140f08){var _0x88f927=_0x1640f8;const _0x318f5c=this[_0x88f927(0x23d)][_0x88f927(0x3ee)](_0x140f08);_0x318f5c&&(_0x318f5c[_0x88f927(0x244)](),this[_0x88f927(0x23d)][_0x88f927(0x24b)](_0x140f08));}['dispose'](){var _0xf25adc=_0x1640f8;this[_0xf25adc(0x23d)][_0xf25adc(0x1ff)](_0x262fb4=>_0x262fb4[_0xf25adc(0x244)]()),this[_0xf25adc(0x23d)][_0xf25adc(0x21c)](),this[_0xf25adc(0x32a)][_0xf25adc(0x256)]();}},exports['MemberService']=Wt([Ve(0x0,a[_0x1640f8(0x49a)]),Ve(0x1,a['Inject'](a[_0x1640f8(0x445)]))],exports[_0x1640f8(0x398)]);class Gt extends a['Disposable']{constructor(){var _0x8686c=_0x1640f8;super(...arguments),A(this,_0x8686c(0x381),new Map()),A(this,'_members$',new H[(_0x8686c(0x453))](this[_0x8686c(0x381)])),A(this,_0x8686c(0x2f9),this['_members$'][_0x8686c(0x1ed)]());}[_0x1640f8(0x244)](){var _0x1863f1=_0x1640f8;this[_0x1863f1(0x381)][_0x1863f1(0x21c)]();}['updateMember'](_0x47c98e){this['_members']['set'](_0x47c98e['memberID'],_0x47c98e),this['_emitMembers']();}[_0x1640f8(0x19b)](_0x2a0c37){this['_members']['delete'](_0x2a0c37);}[_0x1640f8(0x3f4)](_0x2a04a7){var _0x160188=_0x1640f8;return this[_0x160188(0x381)][_0x160188(0x3ee)](_0x2a04a7);}[_0x1640f8(0x21b)](){var _0x48550d=_0x1640f8;return Array[_0x48550d(0x41d)](this[_0x48550d(0x381)][_0x48550d(0x43c)]());}['_emitMembers'](){var _0x5312e4=_0x1640f8;this[_0x5312e4(0x140)]['next'](this[_0x5312e4(0x381)]);}}var Yt=Object[_0x1640f8(0x2d7)],qt=(_0x33d020,_0x233166,_0x301daa,_0x9a98ce)=>{var _0x4dadb3=_0x1640f8;for(var _0x452729=_0x9a98ce>0x1?void 0x0:_0x9a98ce?Yt(_0x233166,_0x301daa):_0x233166,_0x49233a=_0x33d020[_0x4dadb3(0x388)]-0x1,_0x1383b0;_0x49233a>=0x0;_0x49233a--)(_0x1383b0=_0x33d020[_0x49233a])&&(_0x452729=_0x1383b0(_0x452729)||_0x452729);return _0x452729;},ce=(_0x34a1b8,_0x4b86ca)=>(_0x8146e7,_0x5ce27e)=>_0x4b86ca(_0x8146e7,_0x5ce27e,_0x34a1b8),re=(_0x4d7adc=>(_0x4d7adc[_0x4d7adc[_0x1640f8(0x390)]=0x0]='IDLE',_0x4d7adc[_0x4d7adc[_0x1640f8(0x45b)]=0x1]='JOINING',_0x4d7adc[_0x4d7adc[_0x1640f8(0x2bb)]=0x2]=_0x1640f8(0x2bb),_0x4d7adc[_0x4d7adc[_0x1640f8(0x314)]=0x3]=_0x1640f8(0x314),_0x4d7adc))(re||{});const We={[se[_0x1640f8(0x20e)]]:_0x1640f8(0x3f7),[se[_0x1640f8(0x173)]]:_0x1640f8(0x278),[se[_0x1640f8(0x246)]]:'session.room-not-exists',[se[_0x1640f8(0x1f0)]]:'session.room-permission-denied',[se[_0x1640f8(0x385)]]:_0x1640f8(0x459)};exports[_0x1640f8(0x1b7)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x567e28,_0x581851,_0xbde09b,_0x1622a0,_0x50fd0b,_0x1542e4,_0x1a257b,_0x3b7826){var _0x4061f2=_0x1640f8;super(),A(this,'_sessionStatus$',new H[(_0x4061f2(0x453))](0x0)),A(this,_0x4061f2(0x478),this['_sessionStatus$'][_0x4061f2(0x1ed)]()),A(this,_0x4061f2(0x2bd),new H['Subject']()),A(this,_0x4061f2(0x2be),this[_0x4061f2(0x2bd)]['asObservable']()),A(this,_0x4061f2(0x36b)),A(this,_0x4061f2(0x3fa)),A(this,_0x4061f2(0x479)),A(this,_0x4061f2(0x3ca),!0x1),A(this,'_telemetryInfo',null),(this[_0x4061f2(0x408)]=_0x567e28,this[_0x4061f2(0x3aa)]=_0xbde09b,this['_configService']=_0x1622a0,this[_0x4061f2(0x25f)]=_0x50fd0b,this[_0x4061f2(0x3b2)]=_0x1542e4,this['_collaborationUIEventService']=_0x1a257b,this[_0x4061f2(0x19c)]=_0x3b7826,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x581851[_0x4061f2(0x297)](H['takeUntil'](this[_0x4061f2(0x247)]))[_0x4061f2(0x217)](_0x1619be=>{var _0x59e3f0=_0x4061f2,_0x2c8857;typeof _0x1619be>'u'||(this[_0x59e3f0(0x36b)]=_0x1619be,_0x1619be?(this[_0x59e3f0(0x337)](_0x1619be),this[_0x59e3f0(0x3fa)]=_0x1619be[_0x59e3f0(0x151)][_0x59e3f0(0x217)](_0x34dd49=>{var _0x6dab1f=_0x59e3f0;_0x34dd49[_0x6dab1f(0x149)]===this['_unitID']&&this['_onCombEvent'](_0x34dd49);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x59e3f0(0x27f)]['next'](0x2),(_0x2c8857=this['_socketMessageSubscription'])==null||_0x2c8857[_0x59e3f0(0x209)](),this[_0x59e3f0(0x3fa)]=null));}));}get['sessionStatus'](){var _0x544337=_0x1640f8;return this[_0x544337(0x27f)][_0x544337(0x46c)]();}[_0x1640f8(0x238)](){var _0x18c7ac=_0x1640f8,_0xb42c81,_0x2dfc28;return(_0x2dfc28=(_0xb42c81=this['_socket'])==null?void 0x0:_0xb42c81[_0x18c7ac(0x433)])!=null?_0x2dfc28:null;}[_0x1640f8(0x244)](){var _0x5f1c9b=_0x1640f8;super['dispose'](),this[_0x5f1c9b(0x247)][_0x5f1c9b(0x3f8)](),this['dispose$']['complete']();}[_0x1640f8(0x3f5)](){var _0x212139=_0x1640f8,_0x15cc28,_0x43b183;this[_0x212139(0x322)](),(_0x15cc28=this['_socket'])==null||_0x15cc28['send']({'cmd':W[_0x212139(0x266)],'data':{'roomID':this[_0x212139(0x408)]}}),(_0x43b183=this[_0x212139(0x36b)])==null||_0x43b183[_0x212139(0x3f5)](),this['_event$']['complete'](),this[_0x212139(0x27f)][_0x212139(0x256)](),this[_0x212139(0x244)]();}[_0x1640f8(0x3c2)](_0x13d933){var _0x51fd15=_0x1640f8;_0x13d933[_0x51fd15(0x21d)]===W[_0x51fd15(0x2a5)]?this[_0x51fd15(0x25b)](_0x13d933):_0x13d933['cmd']===W[_0x51fd15(0x333)]&&this['_onRecvEvent'](_0x13d933);}[_0x1640f8(0x337)](_0x3b5880){var _0x68366f=_0x1640f8;this['_sessionStatus$'][_0x68366f(0x3f8)](0x1),_0x3b5880[_0x68366f(0x407)]({'cmd':W[_0x68366f(0x2a5)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x68366f(0x408)]}]}});}[_0x1640f8(0x25b)](_0x4aebaa){var _0xbf55c7=_0x1640f8,_0xdcbe01;if(_0x4aebaa[_0xbf55c7(0x141)]in We){this[_0xbf55c7(0x468)]['emitEvent']({'id':Z[_0xbf55c7(0x225)],'data':We[_0x4aebaa[_0xbf55c7(0x141)]]}),this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x2);return;}this[_0xbf55c7(0x27f)][_0xbf55c7(0x3f8)](0x3);const _0x14b4a=(_0xdcbe01=_0x4aebaa['data'][_0xbf55c7(0x26f)][this['_unitID']])==null?void 0x0:_0xdcbe01[_0xbf55c7(0x1fb)];_0x14b4a&&_0x14b4a[_0xbf55c7(0x1ff)](_0x2bd569=>this[_0xbf55c7(0x25f)]['updateMember'](this['_unitID'],_0x2bd569));}['_onRecvEvent'](_0x4dc70e){var _0x7d7837=_0x1640f8;try{const _0x340caf=_0x4dc70e[_0x7d7837(0x19d)];switch(_0x340caf[_0x7d7837(0x47b)]){case p[_0x7d7837(0x1e8)][_0x7d7837(0x430)]:this['_onUserJoin'](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x22e)]:this[_0x7d7837(0x311)](_0x340caf),this['_event$'][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x136)]:case p[_0x7d7837(0x1e8)]['CHANGESET_SHOULD_RETRY']:this[_0x7d7837(0x370)](),this[_0x7d7837(0x306)](),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)][_0x7d7837(0x43a)]:this[_0x7d7837(0x3aa)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x7d7837(0x288)](_0x340caf)),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;case p[_0x7d7837(0x1e8)]['COMMENT_UPDATE']:this[_0x7d7837(0x3b2)]['onCommentUpdate'](_0x340caf[_0x7d7837(0x19d)]),this[_0x7d7837(0x2bd)][_0x7d7837(0x3f8)](_0x340caf);break;default:this['_event$'][_0x7d7837(0x3f8)](_0x340caf);}}catch(_0x579fed){this[_0x7d7837(0x3aa)][_0x7d7837(0x15a)](_0x579fed,_0x4dc70e);}}[_0x1640f8(0x301)](_0x360498){var _0x3f1e8f=_0x1640f8;this[_0x3f1e8f(0x25f)][_0x3f1e8f(0x2c1)](this[_0x3f1e8f(0x408)],_0x360498[_0x3f1e8f(0x19d)]);}[_0x1640f8(0x311)](_0x400086){var _0x24a124=_0x1640f8;this[_0x24a124(0x25f)][_0x24a124(0x19b)](this[_0x24a124(0x408)],_0x400086[_0x24a124(0x19d)][_0x24a124(0x433)]);}async[_0x1640f8(0x407)](_0x2e1e29,_0x324450){var _0x28a973=_0x1640f8;if(this[_0x28a973(0x2e6)]!==0x3||!this[_0x28a973(0x36b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2e1e29['eventID']===p[_0x28a973(0x1e8)][_0x28a973(0x3b9)]&&(this[_0x28a973(0x2a3)](),this[_0x28a973(0x181)](_0x2e1e29)),this['_socket'][_0x28a973(0x407)]({'cmd':W[_0x28a973(0x474)],'routeKey':_0x324450,'routeType':'','data':_0x2e1e29});}catch(_0x20aaf3){this['_logService']['error'](_0x20aaf3);}}['_scheduleCollaborationTimeoutTimer'](){var _0xc854d6=_0x1640f8,_0x19f21e;this[_0xc854d6(0x479)]=setTimeout(()=>{var _0x5ed9a4=_0xc854d6;this[_0x5ed9a4(0x479)]=null,this[_0x5ed9a4(0x468)][_0x5ed9a4(0x1b6)]({'id':Z[_0x5ed9a4(0x486)]});},(_0x19f21e=this['_configService'][_0xc854d6(0x254)](ke))!=null?_0x19f21e:lt);}[_0x1640f8(0x306)](){var _0x173d9d=_0x1640f8;this[_0x173d9d(0x479)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x173d9d(0x479)]=null);}[_0x1640f8(0x181)](_0x1a6ebb){var _0x57dd7a=_0x1640f8;if(!this[_0x57dd7a(0x3ca)])return;const {data:_0x57bab6}=_0x1a6ebb,{unitID:_0x15402c,changeset:_0x5c3b40}=_0x57bab6,{mutations:_0x149d53,type:_0x4952cd}=_0x5c3b40;this[_0x57dd7a(0x303)]={'unitId':_0x15402c,'type':_0x4952cd,'startTime':performance[_0x57dd7a(0x20f)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x149d53)};}[_0x1640f8(0x370)](){var _0x3ab40a=_0x1640f8;if(this[_0x3ab40a(0x3ca)]){if(!this[_0x3ab40a(0x303)]){this['_logService']['error'](_0x3ab40a(0x342),_0x3ab40a(0x267));return;}this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]=performance[_0x3ab40a(0x20f)](),this[_0x3ab40a(0x303)][_0x3ab40a(0x3c9)]=this[_0x3ab40a(0x303)][_0x3ab40a(0x316)]-this[_0x3ab40a(0x303)][_0x3ab40a(0x146)],this[_0x3ab40a(0x19c)][_0x3ab40a(0x1f5)](Bt,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x1640f8(0x322)](){this['_telemetryInfo']=null;}},exports[_0x1640f8(0x1b7)]=qt([ce(0x2,a[_0x1640f8(0x226)]),ce(0x3,a[_0x1640f8(0x30d)]),ce(0x4,a[_0x1640f8(0x207)](exports[_0x1640f8(0x398)])),ce(0x5,a['Inject']($e)),ce(0x6,a[_0x1640f8(0x207)](ee)),ce(0x7,a[_0x1640f8(0x1d3)](Rt[_0x1640f8(0x2a6)]))],exports[_0x1640f8(0x1b7)]);const K=a[_0x1640f8(0x363)]('collaboration-client.local-cache-service');function Kt(_0xa221e0){var _0x2e4aa8=_0x1640f8;return _0x2e4aa8(0x271)+_0xa221e0;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0xa9684d,_0xfd6b2f,_0x489703,_0x5dc739)=>{var _0x28b94e=_0x1640f8;for(var _0x26d415=_0x5dc739>0x1?void 0x0:_0x5dc739?zt(_0xfd6b2f,_0x489703):_0xfd6b2f,_0x38c253=_0xa9684d[_0x28b94e(0x388)]-0x1,_0x23b817;_0x38c253>=0x0;_0x38c253--)(_0x23b817=_0xa9684d[_0x38c253])&&(_0x26d415=_0x23b817(_0x26d415)||_0x26d415);return _0x26d415;},Ue=(_0x1accbd,_0x83ee24)=>(_0x4e8874,_0x6052ba)=>_0x83ee24(_0x4e8874,_0x6052ba,_0x1accbd);function Xt(_0x36d193){var _0x48a801=_0x1640f8;const {unitID:_0x191b5d,mutations:_0x460710}=_0x36d193;return{'unitId':_0x191b5d,'subUnitId':_0x460710[0x0]['params'][_0x48a801(0x37a)]};}exports[_0x1640f8(0x392)]=class{constructor(_0x8bad59,_0xbdd832,_0x2a0b19){var _0x23834e=_0x1640f8;this[_0x23834e(0x331)]=_0x8bad59,this['_transformService']=_0xbdd832,this[_0x23834e(0x233)]=_0x2a0b19;}[_0x1640f8(0x162)](_0x3e7892){var _0x27c349=_0x1640f8,_0x3b1377,_0x35c2f6,_0x1e96ad,_0x329df1;const _0x5c9b9=this[_0x27c349(0x331)][_0x27c349(0x3ee)](X[_0x27c349(0x360)]),{unitId:_0x65dcb,subUnitId:_0x2389ce}=Xt(_0x3e7892),_0x4b37a6=_0x5c9b9==null?void 0x0:_0x5c9b9[_0x27c349(0x279)](_0x65dcb)[_0x27c349(0x3cc)](),_0x541f8e=(_0x35c2f6=(_0x3b1377=this[_0x27c349(0x233)][_0x27c349(0x178)](_0x65dcb))==null?void 0x0:_0x3b1377[_0x27c349(0x413)]())==null?void 0x0:_0x35c2f6[_0x27c349(0x28d)]();if(_0x4b37a6[_0x27c349(0x388)]===0x0||!_0x65dcb||!_0x2389ce)return;const _0x2b5473=[{'id':X[_0x27c349(0x25e)]['id'],'params':{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':a['Tools'][_0x27c349(0x3ed)](_0x4b37a6)}}],_0x27aad7=this[_0x27c349(0x424)][_0x27c349(0x201)](_0x3e7892,_0x2b5473);if(!p['isTransformMutationsWithChangesetSuccess'](_0x27aad7))throw _0x27aad7[_0x27c349(0x15a)];const _0x257eb9=(_0x329df1=(_0x1e96ad=_0x27aad7[_0x27c349(0x47a)][0x0])==null?void 0x0:_0x1e96ad[_0x27c349(0x43d)])==null?void 0x0:_0x329df1[_0x27c349(0x374)];if(Array['isArray'](_0x257eb9)&&_0x257eb9['length']){if(_0x257eb9[_0x27c349(0x388)]===_0x2b5473[0x0][_0x27c349(0x43d)][_0x27c349(0x374)][_0x27c349(0x388)]&&_0x257eb9[_0x27c349(0x249)]((_0x3e9bd9,_0x98fd5a)=>a['Rectangle'][_0x27c349(0x18e)](_0x3e9bd9['range'],_0x2b5473[0x0]['params'][_0x27c349(0x374)][_0x98fd5a][_0x27c349(0x223)])))return;this[_0x27c349(0x331)]['get'](a[_0x27c349(0x3a9)])[_0x27c349(0x409)](X[_0x27c349(0x25e)]['id'],{'unitId':_0x65dcb,'subUnitId':_0x541f8e,'selections':_0x257eb9});}}},exports[_0x1640f8(0x392)]=Jt([Ue(0x0,a[_0x1640f8(0x207)](a['Injector'])),Ue(0x1,p[_0x1640f8(0x1f4)]),Ue(0x2,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x392)]);const de=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x2c4cb9=>(_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x328)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2c4cb9[_0x2c4cb9[_0x1640f8(0x176)]=0x1]=_0x1640f8(0x176),_0x2c4cb9))(He||{});const Y=_0x1640f8(0x436),Zt={},Qt=new Set([X[_0x1640f8(0x2d2)]['id']]);function Ge(_0x26d3b5,_0x526a0c,_0x2f1944,_0x212033,_0x56abee){var _0x276f8a=_0x1640f8,_0x185977,_0x1532bf,_0x4bdf9f,_0x6398d0;const _0x52ec7d=[];for(const _0x48209c of _0x26d3b5)if(Qt[_0x276f8a(0x3fb)](_0x48209c['id'])){if(_0x52ec7d[_0x276f8a(0x388)]>0x0)break;_0x52ec7d[_0x276f8a(0x33f)](_0x48209c);break;}else _0x52ec7d['push'](_0x48209c);const _0x83e37d=(_0x1532bf=(_0x185977=_0x56abee['getCurrentUser']())==null?void 0x0:_0x185977[_0x276f8a(0x2c6)])!=null?_0x1532bf:_0x276f8a(0x1e2),_0x54da06=(_0x6398d0=(_0x4bdf9f=_0x56abee[_0x276f8a(0x2b9)]())==null?void 0x0:_0x4bdf9f['memberID'])!=null?_0x6398d0:_0x276f8a(0x1e2);return{'changeset':{'unitID':_0x526a0c,'type':p['mapDocumentTypeToUniverType'](_0x2f1944[_0x276f8a(0x1eb)](_0x526a0c)),'baseRev':_0x212033[_0x276f8a(0x378)](_0x526a0c),'revision':0x0,'userID':_0x83e37d,'memberID':_0x54da06,'mutations':_0x52ec7d},'pendingMutations':_0x26d3b5[_0x276f8a(0x21e)](_0x52ec7d['length'])};}function ei(_0xae94da,_0x1615b4,_0x3c37b1,_0x34b165,_0x195279){var _0x215042=_0x1640f8,_0x49c101,_0x1f8171,_0x331261,_0x26fb65;const _0x429d8b=[_0xae94da[_0x215042(0x2ed)]((_0x5d7aac,_0x34c71f)=>{var _0x2dd665=_0x215042,_0x1650e2;const {id:_0x16a450}=_0x5d7aac,{id:_0x5be099,type:_0x31ae08}=_0x34c71f,_0x230e28=(_0x1650e2=_0x5d7aac[_0x2dd665(0x43d)])!=null?_0x1650e2:{'actions':null},_0x352d7e=_0x34c71f[_0x2dd665(0x43d)];if(_0x16a450&&_0x16a450!==_0x5be099)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x16a450+_0x2dd665(0x13d)+_0x5be099+'.');return{..._0x5d7aac,'id':_0x5be099,'type':_0x31ae08,'params':{'unitId':_0x352d7e[_0x2dd665(0x372)],'textRanges':_0x352d7e[_0x2dd665(0x1ee)],'actions':a[_0x2dd665(0x477)][_0x2dd665(0x203)](_0x230e28['actions'],_0x352d7e[_0x2dd665(0x403)])}};},{})],_0x6fe9d2=(_0x1f8171=(_0x49c101=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x49c101[_0x215042(0x2c6)])!=null?_0x1f8171:_0x215042(0x1e2),_0x2c3c78=(_0x26fb65=(_0x331261=_0x195279[_0x215042(0x2b9)]())==null?void 0x0:_0x331261['memberID'])!=null?_0x26fb65:_0x215042(0x1e2);return{'changeset':{'unitID':_0x1615b4,'type':p[_0x215042(0x1af)](_0x3c37b1['getUnitType'](_0x1615b4)),'baseRev':_0x34b165[_0x215042(0x378)](_0x1615b4),'revision':0x0,'userID':_0x6fe9d2,'memberID':_0x2c3c78,'mutations':_0x429d8b},'pendingMutations':[]};}function St(_0x117350,_0x123518){var _0x289261=_0x1640f8;const _0x38e87e=new H[(_0x289261(0x415))](0x1);return setTimeout(()=>_0x38e87e['next'](_0x123518),_0x117350),_0x38e87e['asObservable']()[_0x289261(0x297)](H[_0x289261(0x153)](0x1));}const ti={'id':X[_0x1640f8(0x1ea)]['id'],'type':a[_0x1640f8(0x484)]['MUTATION'],'params':{}};var ii=Object[_0x1640f8(0x2d7)],oe=(_0x4a90f5,_0x465792,_0x9ef169,_0x380fe4)=>{var _0x574d35=_0x1640f8;for(var _0x447bab=_0x380fe4>0x1?void 0x0:_0x380fe4?ii(_0x465792,_0x9ef169):_0x465792,_0x523660=_0x4a90f5[_0x574d35(0x388)]-0x1,_0x44fe1f;_0x523660>=0x0;_0x523660--)(_0x44fe1f=_0x4a90f5[_0x523660])&&(_0x447bab=_0x44fe1f(_0x447bab)||_0x447bab);return _0x447bab;},w=(_0xec74cb,_0x44368e)=>(_0x3a33d8,_0x403c8b)=>_0x44368e(_0x3a33d8,_0x403c8b,_0xec74cb),je=(_0x41aa7f=>(_0x41aa7f['NOT_COLLAB']=_0x1640f8(0x3cd),_0x41aa7f[_0x1640f8(0x2d4)]='synced',_0x41aa7f[_0x1640f8(0x212)]=_0x1640f8(0x492),_0x41aa7f[_0x1640f8(0x31d)]='awaiting',_0x41aa7f[_0x1640f8(0x428)]='awaiting_with_pending',_0x41aa7f['FETCH_MISS']=_0x1640f8(0x464),_0x41aa7f['CONFLICT']=_0x1640f8(0x179),_0x41aa7f[_0x1640f8(0x2bb)]='offline',_0x41aa7f))(je||{});const ft=0xea60;function _0x459c(){var _0x765bd9=['stopTime','add','MD5','permissionRejEvent','updatePermissionObjEvent','open$','fetchMissingChangesets','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','clone','liveShareNewHost','then','_throwTelemetryCollaborationNewChangeset','charCodeAt','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursor','SOCKET_FAILED_RETRY','collabSubmitChangesetUrl','NO_OTHER_CLIENTS_EDITING','_networkConditionService','_roomCreated$','hasher','MentionType','enableAuthServer','PERMISSION_DENIED','decrypt','OPTIONAL','_injector','[OfflineState]:\x20received\x20changeset.','RECV','appendMutation','_doCreateSocket','_retryCount','_joinRoom','APPLY_REJECT','SNAPSHOT_URL_KEY','resend','LICENSE_MAX_UNITS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Cipher','push','_hash','onRemoteRej','[CollaborationSession]','_transitionLocked','AwaitingWithPendingState','getSheetBlock','close$','LIVESHARE_REQUEST_HOST','SHA1','APPLY_PERMISSION_DENIED','onRemoteAck','authzUrl','_snapshotService','append','DEFAULT_COLLAB_WEB_SOCKET_URL','ImageSourceType','call','_userManagerService','onCommentUpdate','AuthzIoHttpService','reset','substr','_getCurrentRevision','status$','_replayCachedMutations','transformChangesets','submit\x20changeset\x20error!','filter','ERROR_IMAGE','Utf8','_isPermissionRej','NEW_CHANGESETS','SheetsSelectionsService','encode','CipherParams','createIdentifier','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','crypto','_hasher','RichTextEditingMutation','symbol','_transformIMECache','_keySchedule','_socket','image/png','action','CollaborationImageIoService','saveSheetBlock','_stopTelemetryCollaborationNewChangeset','&assign=','unitId','_resendWithTimeout','selections','Subject','onLocalMutation','_onConflict','getCurrentRevOfUnit','__esModule','subUnitId','SnapshotServerOverHTTPService','HmacSHA1','readAsDataURL','HttpImport','max','Disposable','_members','extend','isArray','_doProcessBlock','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','ILocalCacheService','length','HEARTBEAT_INTERVAL','PendingState','OpenSSL','IPermissionService','ceil','status','_entities','IDLE','join','SheetTransformSelectionsService','ciphertext','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getSignURL','MOBILE_VERIFY_CODE_MISMATCH','takeUntil','MemberService','OfflineState','LOGIN_FAILED','pad','8887ffrWVT','5sWbugA','_onFetchMissResult','transformStack\x20failed!','_httpService','_ENC_XFORM_MODE','floor','_onLocalMutation','WECHAT_HAS_BEEN_BOUND','INVALID_INVITE_CODE','baseRev','url','_commentUpdate$','ICommandService','_logService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','online$','Failed\x20to\x20update\x20permission\x20point','Undefined','_append','onStateChange','ImageUploadStatusType','_commentService','resolve','mixIn','_key','_clearLocalCache','default','isInternalEditorID','SUBMIT_CHANGESET','_substituteUndoStack','includes','updateOfflineData','UNKNOWN_CMD','_toggleOnline','exports','getTime','COMPLETION_FINISHED','_onCombEvent','_onMessage','file','uniscriptRunEvent','PSEUDO_FETCH_MISSING_RESULT','fromCharCode','state$','duration','_shouldReportTelemetry','create','getCurrentSelections','not_collab','_changesetReqId','_doFinalize','_onRemoteRejected','refreshPermission','map','_initMergeInterceptor','_substituteRedoStack','_getCtorByUniverType','[SyncedState]:\x20received\x20acknowledgement.','_type','_clearScheduledTask','_applyRemoteChangeset','CollaborationEntity','_updateStatus','disableLocalCache','objectID','setWaitCount','{fileID}','onTransformIME','getInterceptPoints','deleteCollaborator','body','YUUMI_ALL_TABLES_IS_INVALID','_commandService','clamp','Pkcs7','onMissedChangesetFetched','_HTTPService','key','_socketService','RETRY_CONNECTING_MAX_COUNT_KEY','deepClone','get','getSnapshotAPIPath','socket$','YUUMI_ASYNCIO_CANCELLED','_acknowledgedAwaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getMember','close','requestParams','session.join-failed','next','_rescheduleHeartbeat','_socketMessageSubscription','has','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addImageSourceCache','[OfflineState]:\x20received\x20acknowledgement.','fetchMiss','loadUnitOfRevision','_tryEnsureSocket','unitInfo$','actions','words','DocCollaborationEntity','_unitInfo$','send','_unitID','executeCommand','_redoStacks','ThresholdInterceptorFactory','[CollaborationSessionService]:\x20socket\x20error','/-/object/list','enableOfflineEditing','UnitStatus','[CollaborationSessionService]','sendChangesetTimeout','toggleOffline','getActiveSheet','getLatestCsReqIdBySid','ReplaySubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','csRejEvent','COMPRESS_MUTATION_SEND','auth.needGotoLoginAlert','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getUnitStatus$','?size=','from','_getLoginPath','_remoteChangesetQueue','awaiting_with_pending','CollaborationStatus','localCacheService','IMentionIOService','_transformService','byteLength','_xformMode','_singleActiveUnitService','AWAITING_WITH_PENDING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','post','toString','confirm','HEARTBEAT_TIMEOUT_KEY','_checkMissing','_retryConnectingTimer','USERS_ENTER','onStarting','_transformRemoteChangesetByIMECache','memberID','_unlockTransition','UNIVER_SHEET','collaboration-client.config','\x20in\x20_schedule.','listCollaborators','entityInit$','MSG_FOR_ERROR','_submitChangeset','values','params','_doReset','HEARTBEAT','SessionStatus','_createInitialStateImpl','_localCacheService','waitForRoom$','synced','UserManagerService','collaborators','requireSession','charAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_NON_SEQUENTIAL_REVISION','Hasher','_transformStack','_schedule','BlockCipher','_data','defineProperty','getDeserializedSheetBlock','mutations','BehaviorSubject','generateRandomId','NOT_FOUND','roles','reject','formatter','session.room-cnt-exceeds','HTTPRequest','JOINING','isTransformMutationsWithChangesetSuccess','setShowComponents','_updateLocalCache','isTransformMutationsWithChangesetFailure','COMPRESS_MUTATION_APPLY','DependentOn','_nDataBytes','MUTATION','fetch_missing','UNAUTHENTICATED','Univer','finalize','_collaborationUIEventService','_createHmacHelper','_lockTransition','_createHandler','getValue','_iv','_handlerCallback','_process','function','INVITE_CODE_ALREADY_BOUND','batchAllowed','PERMISSION_REJ','INGEST','algo','_waitCount','JSONX','sessionStatus$','_collaborationTimeoutTimer','m2Prime','eventID','onSyncEditingCollabCursor','objectType','IUndoRedoService','entries','patch','YUUMI_URL_COL_OUT_OF_RANGE','loadDoc','ISnapshotServerService','CommandType','_status$','SUBMIT_CHANGESET_TIMEOUT','UNRECOGNIZED','_getAPIPrefix','PasswordBasedCipher','_clearRedo','/universer-api/oidc/authpage','location','name','_cipher','_localeService','HELLO','findIndex','pending','parse','objectActions','LIVESHARE_FETCH_OPERATIONS','incrementRevOfUnit','/-/object/-/batch_allowed','Plugin','headers','IUniverInstanceService','reqId','937820qLHdPG','ivSize','CHANGESET_ACK','onRemoteRetry','socketService','delay','createInstance','&to=','subject','\x20-\x20','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetCollaborationEntity','_members$','code','Base64','WordArray','registerHTTPInterceptor','msCrypto','startTime','ISingleActiveUnitService','loadOfflineData','routeKey','_resendTimer','[CollaborationEntity]','reconnect','_imageSourceCache','sheets','onSendChangeset','DEFAULT_FILE_NAME','message$','209ENZREr','take','[UniverCollaborationClientPlugin]','list','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[DataLoaderService]','error','commentUpdate$','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_DOC','image/gif','_showConflictNotification','createEncryptor','transformSelections','UniverNetworkPlugin','randomBytes','onRemoteChangeset','leaveEvent','CHANGESET_SHOULD_RETRY','startsWith','CollaborationSessionService','?url=','UnitSnapshot','YUUMI_SUBSCRIPTION_NOT_FOUND','EvpKDF','replace','/block/','image/jpeg','_removeRoom','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_FULL','/rev/','isPermissionRej','OTHER_CLIENTS_EDITING','UniverCollaborationPlugin','getUnit','conflict','CommentService','UUID','_onRemoteRetry','_timeoutTimer','LIVESHARE_NEW_HOST','salt','mode','_startTelemetryCollaborationNewChangeset','CLOSE_ROOM','APPLY_REVISION_CONFILICT','revision','_config','copyFileMeta','_pendingMutations','_onConnectionOpen','abs','_tryReconnect','_toggleOffline','_initDependencies','_onRemoteACK','equals','CollaborationController','awaitingChangeset','image/bmp','_getSendChangesetTimeout','1265136EQqxxl','_oKey','[OfflineState]:\x20received\x20rejection.','_map','iterations','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UPDATE_CURSOR','ENSURE_SNAPSHOT_EXECUTION','removeMember','_telemetryService','data','onlyLocal','workbook','ERROR_EXCEED_SIZE','objects','_collaborationSessionService','__creator','CollaborationUIEventId','sigBytes','_resendTimeout','sequenceExecute','SOCKET_FAILED','Hex','_getAPIPrefixPath','BufferedBlockAlgorithm','_init','LOCAL_CACHE_INTERVAL','_nRounds','mapDocumentTypeToUniverType','FETCH_MISSING','csAckEvent','RevisionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_socket$','_getUploadFileURL','emitEvent','CollaborationSession','RxDisposable','_undoRedoService','HTTPService','AwaitingState','setCurrentUser','_clearUndo','parseProtocolChangeset','state','/role','Injector','offline','/object/','UNKNOWN_CODE','CONNECTOR_DATA_TOO_LARGE','localeService','textEncoder','_transformUndoredo','x-univer-host','_iKey','UniverInstanceType','format','override','UPDATE_PERMISSION_OBJ','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','LICENSE_IMPORT_SIZE_EXCEEDED','HmacMD5','_replaceFileID','Optional','YUUMI_UNABLE_LOAD_URL','LIVESHARE_TERMINATE','downloadEndpointUrl','awaiting','addHandlerCallback','_minBufferSize','newCsEvent','getGlobalObject','BlockCipherMode','onTransformSelections','_queuedRemoteChangesets','_revisionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createDecryptor','unknown','collabWebSocketUrl','FetchingMissState','CompressMutationService','_onOffline','collaboration_new_changeset','CollaborationEvent','_compressMutationService','EmptyMutation','getUnitType','TOO_MANY_REQUESTS','asObservable','textRanges','IContextService','JOIN_ROOM_PERMISSION_DENIED','_clearRetryConnectingTimer','touchDependencies','_clearHeartbeatTimer','ITransformService','capture','UnitEmbedded','createSocket','LIVESHARE_OPERATION','UNISCRIPT_RUN','_parse','members','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_collaborationPaused','_getUndoStack','forEach','_executeRemoteChangeset','transformMutationsWithChangeset','onTransformRemoteChangesetByIMECache','compose','splice','keySize','collaboratorID','Inject','_undoStacks','unsubscribe','cfg','_createHelper','BASE64','enableCollaboration','FAIL','now','\x0aCurrent:\x20','_fetchMissChangesets','PENDING','origin','MentionIoHttpService','_DEC_XFORM_MODE','update','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','apply','_collabSessionService','getAllMembers','clear','cmd','slice','EMAIL_VERIFY_CODE_MISMATCH','/unit/','getRoom','_invKeySchedule','range','getCollabEntity','JOIN_ROOM_FAILED','ILogService','PERSON','decryptBlock','liveShareOperation','merge','_entityInit$','DEFAULT_WS_SESSION_TICKET_URL','repeat','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','_state$','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','session','_instanceService','IAuthzIoService','SnapshotService','102GJWJcL','getTypeOfUnitAdded$','getMemberID','DataLoaderService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','4143558AZOcgx','_sendingTimer','_roomMembers','getRandomValues','_mode','_awaitingChangeset','UNIVER_PROJECT','onload','responseType','dispose','_changesetSessionId','JOIN_ROOM_NOT_EXISTS','dispose$','_state','every','onTransformState','delete','encryptBlock','/collaborator','focused$','csShouldRetryEvent','HttpExport','ICollaborationSocketService','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_RATE_OVER_LIMIT','getConfig','OTHER_CLIENT_EDITING','complete','SUCCUSS','SyncedState','UNIVER_SLIDE','_handler','_onJoinRoomEvent','CollaborationSocketService','execute','SetSelectionsOperation','_memberService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_sendHeartbeat','href','_socketReady','find','EMAIL_HAS_BEEN_BOUND','LEAVE','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_COLLABORATION_CLIENT_PLUGIN','ws://127.0.0.1:8000/universer-api/comb/connect','_sender','prototype','hasOwnProperty','target','originalMeta','roomInfos','YUUMI_NO_CUBOID_FOR_QUESTION','unit-cache-','Quantity','sid','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_sendHeartbeatTimer','fromCollab','transformUndoRedo','session.room-full','getWorkbookSelections','saveSnapshot','[PendingState]:\x20received\x20rejection.','Decryptor','WorkbookEditablePermission','init','_sessionStatus$','_onConnectionFailed','unitID','updateSnapshot','HEARTBEAT_TIMEOUT','ALREADY_EXISTS','__Key__','rev','/universer-api/stream/file/upload','stringify','_createInitialState','closeSession','_disableEditing','_registerDependencies','getSheetId','2427464jzsqGj','CollaborativeUndoRedoService','INVITE_CODE_REQUIRED','change$','put','_exhaustRemoteChangesetQueue','uuidv4','fetching\x20missing\x20changesets\x20from\x20','pauseCollaboration','pipe','UserProfileImg','131553TaKZeU','FileId','_keyPriorReset','Base','[FetchMissState]','random','\x0aAfter:\x20','Error\x20on\x20receiving\x20event','[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.','updateCollaborator','_scheduleCollaborationTimeoutTimer','$super','JOIN','ITelemetryService','LocaleService','_permissionService','USER_NOT_INVITED_CODE','withCredentials','LocalUndoRedoService','_candidateSocket','4343353Lofkze','_reverseMap','setConfig','loadSheet','_configService','COMMENT_UPDATE','UniverCollaborationClientPlugin','_initRequestHeader','/universer-api/uniscript','_getRedoStack','type','size','getCurrentUser','kdf','OFFLINE','_onRemoteChangeset','_event$','event$','_waitForHeartbeatResponse','method','updateMember','/object','_doCryptBlock','onCommandExecuted','catch','userID','/new_changes','ConflictState','_change$','[CollaborationState]:\x20apply\x20error!','_scheduleCompleteTimestamp','debug','enc','Workbook','YUUMI_AI_RUN_FAILED','string','fetchThroughInterceptors','InsertSheetMutation','CHANGESET_REJ','SYNCED','error$','b64DecodeUnicode','getOwnPropertyDescriptor','YUUMI_CONNECTOR_URL_NOT_FOUND','toggleOnline','/universer-api/authz','editingUnit','27JVfCnI','blockSize','INVALID_ARGUMENT','parseChangesetToProtocol','[CollaborationUndoRedoService]','getUnitId','CONFLICT','compute','SNAPSHOT_HAS_BEEN_REMOVED','firstValueFrom','sessionStatus','onTransformRemoteChangesetByStateCache','&source=','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','c1Prime','_decreaseWaiting','reduce','_clearTimeoutTimer','_transformRemoteChangesetByStateCache','loadUnit','_initCloseConn','onMissingChangesets','_univerInstanceService','getFocusedUnit','UNIVER_UNKNOWN','_prevBlock','lib','_getDownloadEndpointURL','members$','_startCollaboration','_transformSelections','registerDependencies','AES','getTypeOfUnitDisposed$','isTransformChangesetsSuccess','toDisposable','_onUserJoin','readyForCollab','_telemetryInfo','CollaborationUIEventService','reverse','_clearCollaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','encrypt','NoPadding','_transformStateCache','_incrementRevisionNumber','disposeWithMe','IConfigService','concat','result','_updateState','_onUserLeave','interceptor','updatePermissionPoint','ONLINE','set'];_0x459c=function(){return _0x765bd9;};return _0x459c();}class ae{constructor(_0x4ae8e8,_0x63776c,_0x5d5757,_0x3a97a8,_0x412584,_0x2aa3b0,_0x12c1b3,_0x5d06f9,_0x1ae3de){var _0x759e74=_0x1640f8;A(this,_0x759e74(0x240),null),A(this,_0x759e74(0x187),[]),(this[_0x759e74(0x281)]=_0x4ae8e8,this[_0x759e74(0x2b7)]=_0x63776c,this[_0x759e74(0x25a)]=_0x412584,this[_0x759e74(0x3e5)]=_0x2aa3b0,this[_0x759e74(0x1b9)]=_0x12c1b3,this[_0x759e74(0x1df)]=_0x5d06f9,this[_0x759e74(0x442)]=_0x1ae3de,this[_0x759e74(0x240)]=_0x5d5757,this['_pendingMutations']=_0x3a97a8);}[_0x1640f8(0x42e)](_0x2df4f2){var _0x295269=_0x1640f8;const _0x1418b2=this[_0x295269(0x1df)][_0x295269(0x378)](this[_0x295269(0x281)]);return _0x2df4f2['revision']>_0x1418b2+0x1?(this[_0x295269(0x25a)]['onMissingChangesets']({'from':_0x1418b2,'to':_0x2df4f2[_0x295269(0x184)]-0x1}),!0x0):!0x1;}[_0x1640f8(0x1c8)](_0x51e56f){var _0x39ae07=_0x1640f8;this[_0x39ae07(0x1b9)][_0x39ae07(0x277)](this['unitID'],_0x51e56f);}[_0x1640f8(0x2fb)](_0x3d2f9b){var _0x2a69b8=_0x1640f8,_0x37277f,_0x2c7ac5;(_0x2c7ac5=(_0x37277f=this[_0x2a69b8(0x25a)])[_0x2a69b8(0x1dd)])==null||_0x2c7ac5[_0x2a69b8(0x350)](_0x37277f,_0x3d2f9b);}[_0x1640f8(0x369)](_0xbda413){var _0x385fce=_0x1640f8,_0x16ec03,_0x44b260;return(_0x44b260=(_0x16ec03=this[_0x385fce(0x25a)])['onTransformIME'])==null?void 0x0:_0x44b260[_0x385fce(0x350)](_0x16ec03,_0xbda413);}[_0x1640f8(0x30a)](_0x552c4f){var _0x187e1f=_0x1640f8,_0xf47970,_0x57c851;return(_0x57c851=(_0xf47970=this[_0x187e1f(0x25a)])['onTransformState'])==null?void 0x0:_0x57c851[_0x187e1f(0x350)](_0xf47970,_0x552c4f);}[_0x1640f8(0x432)](_0x26f267){var _0x23274e=_0x1640f8,_0x5c4a04,_0x5abf90,_0x148e10;return(_0x148e10=(_0x5abf90=(_0x5c4a04=this[_0x23274e(0x25a)])[_0x23274e(0x202)])==null?void 0x0:_0x5abf90['call'](_0x5c4a04,_0x26f267))!=null?_0x148e10:_0x26f267;}[_0x1640f8(0x2ef)](_0x109c69){var _0x6ba14c=_0x1640f8,_0x4b0268,_0x30a3be,_0x2bd3e3;return(_0x2bd3e3=(_0x30a3be=(_0x4b0268=this['_handler'])[_0x6ba14c(0x2e7)])==null?void 0x0:_0x30a3be[_0x6ba14c(0x350)](_0x4b0268,_0x109c69))!=null?_0x2bd3e3:_0x109c69;}[_0x1640f8(0x325)](_0x3566c2){var _0x471b81=_0x1640f8,_0x77f24,_0x4b7a2d;if(this['type']===J[_0x471b81(0x15e)]){const {unitID:_0xb53914,mutations:_0x142d73,memberID:_0x31fd47}=_0x3566c2,_0x52a1a5=_0x142d73[0x0]['params'][_0x471b81(0x1ee)];Array[_0x471b81(0x383)](_0x52a1a5)&&_0x52a1a5['length']>0x0&&((_0x4b7a2d=(_0x77f24=this['_handler'])[_0x471b81(0x47c)])==null||_0x4b7a2d[_0x471b81(0x350)](_0x77f24,{'unitID':_0xb53914,'memberID':_0x31fd47,'textRanges':_0x52a1a5}));}}[_0x1640f8(0x45e)](){var _0xe36730=_0x1640f8,_0x1c8200;(_0x1c8200=this[_0xe36730(0x442)])==null||_0x1c8200[_0xe36730(0x3bc)](this[_0xe36730(0x281)],this[_0xe36730(0x2b7)],this[_0xe36730(0x240)],this['_pendingMutations']);}[_0x1640f8(0x356)](){var _0x2ba0a9=_0x1640f8;return this[_0x2ba0a9(0x1df)]['getCurrentRevOfUnit'](this[_0x2ba0a9(0x281)]);}[_0x1640f8(0x30b)](){var _0x3c0b0a=_0x1640f8;this[_0x3c0b0a(0x1df)][_0x3c0b0a(0x496)](this[_0x3c0b0a(0x281)]);}['_executeRemoteChangeset'](_0x45d29d){var _0x3ff716=_0x1640f8,_0x583786;let _0x17ea47=this[_0x3ff716(0x432)](_0x45d29d);_0x17ea47=this[_0x3ff716(0x2ef)](_0x17ea47);const _0x5a251a=a[_0x3ff716(0x1a7)](_0x17ea47[_0x3ff716(0x452)],this[_0x3ff716(0x3e5)],{'fromCollab':!0x0});if(!_0x5a251a[_0x3ff716(0x30f)])throw _0x5a251a['error']instanceof Error?_0x5a251a[_0x3ff716(0x15a)]:new Error((_0x583786=_0x5a251a[_0x3ff716(0x15a)])!=null?_0x583786:_0x3ff716(0x2ca));this[_0x3ff716(0x369)](_0x17ea47),this[_0x3ff716(0x30a)](_0x17ea47),this[_0x3ff716(0x1c8)](_0x45d29d),this[_0x3ff716(0x2fb)](_0x17ea47),this[_0x3ff716(0x325)](_0x17ea47),this['_incrementRevisionNumber']();}}exports['SyncedState']=class extends ae{constructor(_0x546aaf,_0x29bdd8,_0x147ed7,_0x1a42b3,_0x1ab268,_0x558135,_0x1e9708,_0x106ddc,_0x4ac580,_0x429964){var _0x26c95c=_0x1640f8;super(_0x546aaf,_0x29bdd8,null,[],_0x147ed7,_0x1e9708,_0x558135,_0x1a42b3,_0x429964),A(this,_0x26c95c(0x38e),_0x26c95c(0x444)),(this[_0x26c95c(0x331)]=_0x1ab268,this['_logService']=_0x106ddc,this['_transformService']=_0x4ac580,this[_0x26c95c(0x422)]=_0x429964);}[_0x1640f8(0x334)](_0x84bba){var _0x573681=_0x1640f8;const _0x7ac36b=this[_0x573681(0x331)][_0x573681(0x13a)](exports[_0x573681(0x38a)],this[_0x573681(0x281)],this[_0x573681(0x2b7)],[_0x84bba],this['_handler']);return _0x7ac36b[_0x573681(0x44d)](),_0x7ac36b[_0x573681(0x45e)](),_0x7ac36b;}[_0x1640f8(0x165)](_0x5e5f64){var _0x55d0e7=_0x1640f8;if(this[_0x55d0e7(0x42e)](_0x5e5f64))return this['_injector']['createInstance'](exports[_0x55d0e7(0x1e4)],this[_0x55d0e7(0x281)],this['type'],null,[],null,[_0x5e5f64],this[_0x55d0e7(0x25a)]);try{const _0x54160a=this[_0x55d0e7(0x424)][_0x55d0e7(0x201)](_0x5e5f64,[ti]);if(p[_0x55d0e7(0x45c)](_0x54160a)){const {c1Prime:_0x3fd0e7}=_0x54160a;return this[_0x55d0e7(0x200)](_0x3fd0e7),this;}throw _0x54160a[_0x55d0e7(0x15a)];}catch(_0xac51b2){return this[_0x55d0e7(0x3aa)][_0x55d0e7(0x15a)](_0xac51b2),this[_0x55d0e7(0x377)](!0x1);}}['_onConflict'](_0x5862e7){var _0x42ee3e=_0x1640f8;return this['_injector'][_0x42ee3e(0x13a)](exports[_0x42ee3e(0x2c8)],this[_0x42ee3e(0x281)],this['type'],null,[],this[_0x42ee3e(0x25a)],_0x5862e7);}[_0x1640f8(0x34a)](){var _0x86956=_0x1640f8;throw new Error(_0x86956(0x3d6));}[_0x1640f8(0x341)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x3c64f9=_0x1640f8;return this['_injector'][_0x3c64f9(0x13a)](exports[_0x3c64f9(0x399)],this[_0x3c64f9(0x281)],this[_0x3c64f9(0x2b7)],null,[],this[_0x3c64f9(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3ff)](){var _0x40f758=_0x1640f8;const _0x568283=this[_0x40f758(0x1df)][_0x40f758(0x378)](this['unitID']);return this['_handler'][_0x40f758(0x2f2)]({'from':_0x568283,'to':0x0}),this[_0x40f758(0x331)][_0x40f758(0x13a)](exports[_0x40f758(0x1e4)],this[_0x40f758(0x281)],this['type'],null,[],null,[],this['_handler']);}},exports['SyncedState']=oe([w(0x3,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x4,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x47e)]),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a['ILogService']),w(0x8,p['ITransformService']),w(0x9,a[_0x1640f8(0x1d3)](K))],exports['SyncedState']),exports[_0x1640f8(0x38a)]=class extends ae{constructor(_0x34edb3,_0x2ea04c,_0x273673,_0x20a471,_0x48ad67,_0x1ada5d,_0x73ca8a,_0x4682c0,_0x2d390e,_0x1388e2,_0x37d7a1,_0x59e7d0,_0x52f5ee,_0x337790){var _0x40e4a0=_0x1640f8;super(_0x34edb3,_0x2ea04c,null,_0x273673,_0x20a471,_0x2d390e,_0x52f5ee,_0x1ada5d,_0x337790),A(this,_0x40e4a0(0x38e),'pending'),A(this,_0x40e4a0(0x2cb),null),A(this,_0x40e4a0(0x23c),null),(this[_0x40e4a0(0x331)]=_0x48ad67,this[_0x40e4a0(0x25f)]=_0x73ca8a,this[_0x40e4a0(0x3aa)]=_0x4682c0,this['_configService']=_0x1388e2,this[_0x40e4a0(0x424)]=_0x37d7a1,this['_univerInstanceService']=_0x59e7d0);}[_0x1640f8(0x334)](_0x3f801b){var _0x8fcd74=_0x1640f8;return this[_0x8fcd74(0x187)][_0x8fcd74(0x33f)](_0x3f801b),this[_0x8fcd74(0x45e)](),this;}['onRemoteChangeset'](_0x3c9195){var _0x567d1a=_0x1640f8;if(this[_0x567d1a(0x42e)](_0x3c9195))return this[_0x567d1a(0x3d8)](),this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x1e4)],this[_0x567d1a(0x281)],this[_0x567d1a(0x2b7)],null,this['_pendingMutations'],null,[_0x3c9195],this[_0x567d1a(0x25a)]);try{const _0x548944=this['_transformService'][_0x567d1a(0x201)](_0x3c9195,this['_pendingMutations']);if(p[_0x567d1a(0x45c)](_0x548944)){const {c1Prime:_0x4c5165,m2Prime:_0x5f1d8c}=_0x548944;this['_executeRemoteChangeset'](_0x4c5165);const _0x42d8b7=this[_0x567d1a(0x331)][_0x567d1a(0x13a)](exports[_0x567d1a(0x38a)],this['unitID'],this[_0x567d1a(0x2b7)],_0x5f1d8c,this[_0x567d1a(0x25a)]);this[_0x567d1a(0x3d8)]();const _0x3bf24f=new Date()['getTime'](),_0x7fbb43=this[_0x567d1a(0x2cb)]?Math[_0x567d1a(0x37f)](this['_scheduleCompleteTimestamp']-_0x3bf24f,0x0):this[_0x567d1a(0x192)]();return _0x42d8b7['_schedule'](_0x7fbb43),_0x42d8b7;}throw _0x548944[_0x567d1a(0x15a)];}catch(_0x1be4ea){return this[_0x567d1a(0x3aa)][_0x567d1a(0x15a)](_0x1be4ea),this[_0x567d1a(0x377)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1640f8(0x341)](){var _0x373761=_0x1640f8;throw new Error(_0x373761(0x27b));}[_0x1640f8(0x137)](){return this;}[_0x1640f8(0x412)](){var _0x573ec7=_0x1640f8;return this['_clearScheduledTask'](),this[_0x573ec7(0x331)][_0x573ec7(0x13a)](exports[_0x573ec7(0x399)],this['unitID'],this[_0x573ec7(0x2b7)],null,this[_0x573ec7(0x187)],this[_0x573ec7(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x44d)](_0x147c00){var _0x1606fb=_0x1640f8;const _0x3bbd15=_0x147c00!=null?_0x147c00:this[_0x1606fb(0x192)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1606fb(0x3c0)]()+_0x3bbd15,this[_0x1606fb(0x23c)]=setTimeout(()=>{var _0x56fdf6=_0x1606fb;this[_0x56fdf6(0x3d8)]();let _0x36bb24=null;switch(this[_0x56fdf6(0x2b7)]){case J[_0x56fdf6(0x435)]:{_0x36bb24=Ge(this[_0x56fdf6(0x187)],this['unitID'],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}case J[_0x56fdf6(0x15e)]:{this[_0x56fdf6(0x187)][_0x56fdf6(0x249)](_0x4507cd=>_0x4507cd['id']===ct[_0x56fdf6(0x367)]['id'])?_0x36bb24=ei(this[_0x56fdf6(0x187)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]):_0x36bb24=Ge(this['_pendingMutations'],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2f3)],this[_0x56fdf6(0x1df)],this[_0x56fdf6(0x25f)]);break;}default:throw new Error(_0x56fdf6(0x31e)+this[_0x56fdf6(0x2b7)]+_0x56fdf6(0x437));}const {changeset:_0xd6a81b,pendingMutations:_0x5abd52}=_0x36bb24;this[_0x56fdf6(0x25a)][_0x56fdf6(0x14f)](_0xd6a81b);const _0x2e3b91=_0x5abd52[_0x56fdf6(0x388)]?this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x344)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,_0x5abd52,this['_handler'],void 0x0):this[_0x56fdf6(0x331)][_0x56fdf6(0x13a)](exports[_0x56fdf6(0x1bb)],this[_0x56fdf6(0x281)],this[_0x56fdf6(0x2b7)],_0xd6a81b,this[_0x56fdf6(0x25a)]);_0x2e3b91[_0x56fdf6(0x45e)](),this[_0x56fdf6(0x25a)][_0x56fdf6(0x3b0)](this,_0x2e3b91);},_0x3bbd15);}[_0x1640f8(0x192)](){var _0xd18888=_0x1640f8,_0x119e4b;const _0x363135=this[_0xd18888(0x2b1)][_0xd18888(0x254)](Y);return(_0x119e4b=_0x363135==null?void 0x0:_0x363135[_0xd18888(0x411)])!=null?_0x119e4b:Ut;}['resend'](){var _0x4a6ef7=_0x1640f8;throw new Error(_0x4a6ef7(0x3ab));}[_0x1640f8(0x3d8)](){var _0x471f6e=_0x1640f8;this[_0x471f6e(0x23c)]!=null&&(clearTimeout(this[_0x471f6e(0x23c)]),this['_sendingTimer']=null);}['_onConflict'](_0x21f6dd){var _0x5f1f50=_0x1640f8;return this[_0x5f1f50(0x3d8)](),this[_0x5f1f50(0x331)][_0x5f1f50(0x13a)](exports[_0x5f1f50(0x2c8)],this['unitID'],this[_0x5f1f50(0x2b7)],null,this[_0x5f1f50(0x187)],this[_0x5f1f50(0x25a)],_0x21f6dd);}},exports[_0x1640f8(0x38a)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x6,a['Inject'](exports['MemberService'])),w(0x7,a[_0x1640f8(0x226)]),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x30d)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x49a)]),w(0xc,a[_0x1640f8(0x47e)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x38a)]),exports[_0x1640f8(0x1bb)]=class extends ae{constructor(_0x510bec,_0x27f605,_0x7ab12e,_0x3972d5,_0x3a414a,_0x1b8489,_0x5f1278,_0x5259b3,_0x32502f,_0x5d5af0,_0x1e0f49){var _0x5a5e1e=_0x1640f8;super(_0x510bec,_0x27f605,_0x7ab12e,[],_0x3972d5,_0x5f1278,_0x5d5af0,_0x1b8489,_0x1e0f49),A(this,'status',_0x5a5e1e(0x1d7)),A(this,_0x5a5e1e(0x1a6),0x0),A(this,_0x5a5e1e(0x14a)),A(this,'_sender'),(this['_injector']=_0x3a414a,this[_0x5a5e1e(0x3aa)]=_0x5259b3,this['_transformService']=_0x32502f);}[_0x1640f8(0x334)](_0x4cb03e){var _0x4c433c=_0x1640f8;this[_0x4c433c(0x3d8)]();const _0x1bda8c=this[_0x4c433c(0x331)][_0x4c433c(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x4c433c(0x2b7)],this['_awaitingChangeset'],[_0x4cb03e],this[_0x4c433c(0x25a)],this[_0x4c433c(0x14a)]);return _0x1bda8c['_updateLocalCache'](),_0x1bda8c;}[_0x1640f8(0x165)](_0x40e2f4){var _0x4dd5c1=_0x1640f8;if(this[_0x4dd5c1(0x42e)](_0x40e2f4))return this['_clearScheduledTask'](),this[_0x4dd5c1(0x331)]['createInstance'](exports[_0x4dd5c1(0x1e4)],this['unitID'],this[_0x4dd5c1(0x2b7)],this[_0x4dd5c1(0x240)],[],null,[_0x40e2f4],this['_handler']);try{const _0x349099=this['_transformService'][_0x4dd5c1(0x359)]([_0x40e2f4],[this[_0x4dd5c1(0x240)]],!0x1);if(p[_0x4dd5c1(0x2ff)](_0x349099)){const {c1Prime:_0x4c8bf3,c2Prime:_0x58cf75}=_0x349099;this[_0x4dd5c1(0x200)](_0x4c8bf3[0x0]),_0x58cf75[0x0][_0x4dd5c1(0x3a6)]=this[_0x4dd5c1(0x356)](),this[_0x4dd5c1(0x3d8)]();const _0x593477=this['_injector'][_0x4dd5c1(0x13a)](exports['AwaitingState'],this[_0x4dd5c1(0x281)],this['type'],_0x58cf75[0x0],this[_0x4dd5c1(0x25a)]);return _0x593477['_updateLocalCache'](),_0x593477;}return this[_0x4dd5c1(0x377)](!0x1);}catch(_0x5e1050){return this[_0x4dd5c1(0x3aa)][_0x4dd5c1(0x15a)](_0x5e1050),this[_0x4dd5c1(0x377)](!0x1);}}[_0x1640f8(0x34a)](_0x1f0e60){var _0x76d6eb=_0x1640f8;this[_0x76d6eb(0x3d8)]();const _0x33427e=this['_revisionService'][_0x76d6eb(0x378)](this[_0x76d6eb(0x281)]);if(_0x1f0e60[_0x76d6eb(0x184)]<_0x33427e-0x1)return this;if(this[_0x76d6eb(0x42e)](_0x1f0e60))return this[_0x76d6eb(0x331)][_0x76d6eb(0x13a)](exports['FetchingMissState'],this[_0x76d6eb(0x281)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x76d6eb(0x25a)]);this[_0x76d6eb(0x30b)]();const _0x934e34=this['_injector'][_0x76d6eb(0x13a)](exports[_0x76d6eb(0x258)],this[_0x76d6eb(0x281)],this[_0x76d6eb(0x2b7)],this[_0x76d6eb(0x25a)]);return _0x934e34[_0x76d6eb(0x45e)](),_0x934e34;}['onRemoteRej'](_0x3faa0c){var _0x7f6236=_0x1640f8;return this[_0x7f6236(0x377)](!!(_0x3faa0c!=null&&_0x3faa0c[_0x7f6236(0x175)]));}[_0x1640f8(0x137)](_0x3019d2){var _0x1028c8=_0x1640f8;return this['_resendTimeout']>ft?this[_0x1028c8(0x412)]():(this[_0x1028c8(0x14a)]=St(this[_0x1028c8(0x1a6)],{'timeout':this[_0x1028c8(0x1a6)],'reqId':_0x3019d2['reqId']}),this[_0x1028c8(0x26a)]=this['_resendTimer'][_0x1028c8(0x217)](({reqId:_0x2718f6,timeout:_0x218ef9})=>{var _0x119521=_0x1028c8;this[_0x119521(0x373)](_0x2718f6,_0x218ef9);}),this);}[_0x1640f8(0x412)](){var _0x4208d9=_0x1640f8;return this['_clearScheduledTask'](),this[_0x4208d9(0x331)][_0x4208d9(0x13a)](exports[_0x4208d9(0x399)],this['unitID'],this['type'],this[_0x4208d9(0x240)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x1640f8(0x33a)](){var _0x14e22b=_0x1640f8;this['_handler'][_0x14e22b(0x14f)](this[_0x14e22b(0x240)]);}[_0x1640f8(0x377)](_0x5e48a0){var _0x262b4e=_0x1640f8;return this[_0x262b4e(0x3d8)](),this['_injector'][_0x262b4e(0x13a)](exports[_0x262b4e(0x2c8)],this[_0x262b4e(0x281)],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x5e48a0);}[_0x1640f8(0x373)](_0x524d5a,_0x36b782){var _0x5081e6=_0x1640f8,_0x1bc3e1;_0x524d5a===((_0x1bc3e1=this[_0x5081e6(0x240)])==null?void 0x0:_0x1bc3e1[_0x5081e6(0x133)])&&(this[_0x5081e6(0x33a)](),this[_0x5081e6(0x1a6)]=_0x36b782===0x0?0x3e8:_0x36b782*0x2);}[_0x1640f8(0x3d8)](){var _0x3b7964=_0x1640f8,_0xe33f9e;(_0xe33f9e=this[_0x3b7964(0x26a)])==null||_0xe33f9e[_0x3b7964(0x209)](),this[_0x3b7964(0x1a6)]=0x0;}},exports[_0x1640f8(0x1bb)]=oe([w(0x4,a['Inject'](a[_0x1640f8(0x1c1)])),w(0x5,a[_0x1640f8(0x207)](p['RevisionService'])),w(0x6,a[_0x1640f8(0x3a9)]),w(0x7,a[_0x1640f8(0x226)]),w(0x8,p[_0x1640f8(0x1f4)]),w(0x9,a[_0x1640f8(0x47e)]),w(0xa,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1bb)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x3b9a2d,_0xe5728a,_0x3fc61d,_0x29808f,_0xe4173c,_0x30d9cd,_0x3adfae,_0x179fc5){var _0x3bef78=_0x1640f8;super(_0x5f0afa,_0x3daec4,_0x4acc89,_0x1650fd,_0x792b21,_0x29808f,_0x3adfae,_0x3fc61d,_0x179fc5),A(this,_0x3bef78(0x38e),_0x3bef78(0x420)),A(this,'_resendTimeout',0x0),A(this,'_resendTimer'),A(this,_0x3bef78(0x26a)),(this[_0x3bef78(0x331)]=_0xe5728a,this['_logService']=_0xe4173c,this['_transformService']=_0x30d9cd,this['localCacheService']=_0x179fc5,_0x3b9a2d&&(this[_0x3bef78(0x14a)]=_0x3b9a2d,this['_sender']=this['_resendTimer'][_0x3bef78(0x217)](({reqId:_0x43c515,timeout:_0x3fd30d})=>{this['_resendWithTimeout'](_0x43c515,_0x3fd30d);})));}[_0x1640f8(0x334)](_0x4bbdd0){var _0xf83749=_0x1640f8;return this['_pendingMutations'][_0xf83749(0x33f)](_0x4bbdd0),this;}[_0x1640f8(0x165)](_0x10608b){var _0x5221ed=_0x1640f8;if(this[_0x5221ed(0x42e)](_0x10608b))return this[_0x5221ed(0x3d8)](),this['_injector'][_0x5221ed(0x13a)](exports['FetchingMissState'],this[_0x5221ed(0x281)],this[_0x5221ed(0x2b7)],this[_0x5221ed(0x240)],this[_0x5221ed(0x187)],null,[_0x10608b],this['_handler']);try{const _0x5f2da7=this['_transformService'][_0x5221ed(0x359)]([_0x10608b],[this[_0x5221ed(0x240)]],!0x1);if(p[_0x5221ed(0x2ff)](_0x5f2da7)){const {c1Prime:_0x42bd6a,c2Prime:_0x2c8f07}=_0x5f2da7,_0x1adba9=this[_0x5221ed(0x424)]['transformMutationsWithChangeset'](_0x42bd6a[0x0],this[_0x5221ed(0x187)]);if(p[_0x5221ed(0x45c)](_0x1adba9)){const {c1Prime:_0xa67949,m2Prime:_0x437ff9}=_0x1adba9;return this[_0x5221ed(0x200)](_0xa67949),_0x2c8f07[0x0][_0x5221ed(0x3a6)]=this[_0x5221ed(0x356)](),this[_0x5221ed(0x3d8)](),this[_0x5221ed(0x331)][_0x5221ed(0x13a)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x5221ed(0x2b7)],_0x2c8f07[0x0],_0x437ff9,this[_0x5221ed(0x25a)],void 0x0);}throw _0x1adba9[_0x5221ed(0x15a)];}throw _0x5f2da7[_0x5221ed(0x15a)];}catch(_0x4d3ccf){return this[_0x5221ed(0x3aa)][_0x5221ed(0x15a)](_0x4d3ccf),this['_onConflict'](!0x1);}}[_0x1640f8(0x34a)](_0x31e391){var _0x1ebcf8=_0x1640f8;if(this['_clearScheduledTask'](),this[_0x1ebcf8(0x42e)](_0x31e391))return this[_0x1ebcf8(0x331)][_0x1ebcf8(0x13a)](exports[_0x1ebcf8(0x1e4)],this['unitID'],this[_0x1ebcf8(0x2b7)],null,this['_pendingMutations'],this[_0x1ebcf8(0x240)],[],this[_0x1ebcf8(0x25a)]);this[_0x1ebcf8(0x30b)]();const _0x2db1e7=this[_0x1ebcf8(0x331)]['createInstance'](exports['PendingState'],this['unitID'],this['type'],this[_0x1ebcf8(0x187)],this['_handler']);return _0x2db1e7[_0x1ebcf8(0x44d)](),_0x2db1e7[_0x1ebcf8(0x45e)](),_0x2db1e7;}['onRemoteRej'](_0x494ca9){var _0x7a99fa=_0x1640f8;return this[_0x7a99fa(0x377)](!!(_0x494ca9!=null&&_0x494ca9[_0x7a99fa(0x175)]));}['onRemoteRetry'](_0x4bd389){var _0x4dbee3=_0x1640f8;return this[_0x4dbee3(0x1a6)]>ft?this[_0x4dbee3(0x412)]():(this['_resendTimer']=St(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4bd389[_0x4dbee3(0x133)]}),this[_0x4dbee3(0x26a)]=this[_0x4dbee3(0x14a)][_0x4dbee3(0x217)](({reqId:_0x5f0426,timeout:_0x47d3ab})=>{var _0x1e1bd7=_0x4dbee3;this[_0x1e1bd7(0x373)](_0x5f0426,_0x47d3ab);}),this);}['toggleOffline'](){var _0x4b8ade=_0x1640f8;return this[_0x4b8ade(0x3d8)](),this[_0x4b8ade(0x331)][_0x4b8ade(0x13a)](exports[_0x4b8ade(0x399)],this[_0x4b8ade(0x281)],this[_0x4b8ade(0x2b7)],this[_0x4b8ade(0x240)],this[_0x4b8ade(0x187)],this[_0x4b8ade(0x25a)]);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x33a)](){var _0x861ade=_0x1640f8;this[_0x861ade(0x25a)][_0x861ade(0x14f)](this['_awaitingChangeset']);}[_0x1640f8(0x377)](_0x3e6614){var _0x5d0d9e=_0x1640f8;return this['_clearScheduledTask'](),this[_0x5d0d9e(0x331)]['createInstance'](exports[_0x5d0d9e(0x2c8)],this[_0x5d0d9e(0x281)],this[_0x5d0d9e(0x2b7)],null,this[_0x5d0d9e(0x187)],this['_handler'],_0x3e6614);}['_resendWithTimeout'](_0xe16e7d,_0x59e11d){var _0x78b50b=_0x1640f8,_0x492a9d;_0xe16e7d===((_0x492a9d=this[_0x78b50b(0x240)])==null?void 0x0:_0x492a9d[_0x78b50b(0x133)])&&(this['resend'](),this[_0x78b50b(0x1a6)]=_0x59e11d===0x0?0x3e8:_0x59e11d*0x2);}[_0x1640f8(0x3d8)](){var _0x539c6a=_0x1640f8,_0x43efc3;(_0x43efc3=this[_0x539c6a(0x26a)])==null||_0x43efc3['unsubscribe'](),this[_0x539c6a(0x1a6)]=0x0;}},exports[_0x1640f8(0x344)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x7,a['Inject'](p[_0x1640f8(0x1b2)])),w(0x8,a[_0x1640f8(0x3a9)]),w(0x9,a[_0x1640f8(0x226)]),w(0xa,p[_0x1640f8(0x1f4)]),w(0xb,a[_0x1640f8(0x47e)]),w(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x344)]),exports[_0x1640f8(0x2c8)]=class extends ae{constructor(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x55eebb=!0x1,_0x4acab2,_0x276e18,_0x1e789b,_0x4e4a51,_0x5428be,_0x4679d7,_0x5400f4){var _0x558a71=_0x1640f8;super(_0x338198,_0x53a4e0,_0x55f34a,_0x4473cc,_0x1cd308,_0x276e18,_0x1e789b,_0x4e4a51,_0x5400f4),A(this,'status','conflict'),(this[_0x558a71(0x35e)]=_0x55eebb,this[_0x558a71(0x2a8)]=_0x4acab2,this[_0x558a71(0x48f)]=_0x5428be,this['_collaborationUIEventService']=_0x4679d7,this[_0x558a71(0x422)]=_0x5400f4,this[_0x558a71(0x160)](),this[_0x558a71(0x3b6)](),this[_0x558a71(0x28b)]());}['appendMutation'](){return this;}[_0x1640f8(0x165)](){return this;}[_0x1640f8(0x34a)](){return this;}[_0x1640f8(0x341)](){return this;}['onRemoteRetry'](){return this;}[_0x1640f8(0x412)](){return this;}[_0x1640f8(0x2d9)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1640f8(0x3b6)](){var _0x8f3305=_0x1640f8,_0x2e5c34;(_0x2e5c34=this[_0x8f3305(0x442)])==null||_0x2e5c34[_0x8f3305(0x3bc)](this[_0x8f3305(0x281)],this[_0x8f3305(0x2b7)],null,[]);}[_0x1640f8(0x160)](){var _0x6da4f5=_0x1640f8;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x6da4f5(0x1b6)]({'id':Z['PERMISSION_DENIED']}):this[_0x6da4f5(0x468)][_0x6da4f5(0x1b6)]({'id':Z[_0x6da4f5(0x2e2)]});}[_0x1640f8(0x28b)](){var _0x3e9b53=_0x1640f8;this[_0x3e9b53(0x2a8)]['updatePermissionPoint'](new X[(_0x3e9b53(0x27d))](this[_0x3e9b53(0x281)])['id'],!0x1);}},exports[_0x1640f8(0x2c8)]=oe([w(0x6,a[_0x1640f8(0x207)](a[_0x1640f8(0x38c)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a['Inject'](p[_0x1640f8(0x1b2)])),w(0xa,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),w(0xb,a[_0x1640f8(0x207)](ee)),w(0xc,a['Optional'](K))],exports[_0x1640f8(0x2c8)]),exports[_0x1640f8(0x399)]=class extends ae{constructor(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3fb56f,_0x575c46,_0x3df864,_0x4de130,_0x4ea351){var _0x12332e=_0x1640f8;super(_0x299e9c,_0x30d6f5,_0x1f74e6,_0x3368f6,_0x232105,_0x3df864,_0x4de130,_0x575c46,_0x4ea351),A(this,_0x12332e(0x38e),_0x12332e(0x1c2)),this['_injector']=_0x3fb56f;}[_0x1640f8(0x334)](_0x408130){var _0x2a720e=_0x1640f8;return this[_0x2a720e(0x187)][_0x2a720e(0x33f)](_0x408130),this['_updateLocalCache'](),this;}[_0x1640f8(0x165)](_0x5f053c){var _0x2f6508=_0x1640f8;throw new Error(_0x2f6508(0x332));}[_0x1640f8(0x34a)](){var _0x4a80db=_0x1640f8;throw new Error(_0x4a80db(0x3fe));}['onRemoteRej'](){var _0x37b78e=_0x1640f8;throw new Error(_0x37b78e(0x195));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x5c4d0c=_0x1640f8;const {_injector:_0x4a38fb,_pendingMutations:_0x2ba1a1,_awaitingChangeset:_0x4c2c06,unitID:_0x7c540c,_handler:_0x1f7658,type:_0x144200}=this,_0x193fc1=It(_0x4a38fb,_0x7c540c,_0x144200,_0x4c2c06,_0x2ba1a1,_0x1f7658);return _0x193fc1 instanceof exports[_0x5c4d0c(0x38a)]?_0x193fc1[_0x5c4d0c(0x44d)]():(_0x193fc1 instanceof exports[_0x5c4d0c(0x344)]||_0x193fc1 instanceof exports[_0x5c4d0c(0x1bb)])&&_0x193fc1[_0x5c4d0c(0x33a)](),_0x193fc1;}['resend'](){var _0x46fa89=_0x1640f8;throw new Error(_0x46fa89(0x172));}},exports['OfflineState']=oe([w(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),w(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x7,a['ICommandService']),w(0x8,a[_0x1640f8(0x47e)]),w(0x9,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x399)]),exports[_0x1640f8(0x1e4)]=class extends ae{constructor(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x122b89,_0x52a3fe,_0x54637c,_0x180f1c,_0x5110f2,_0x6ef230,_0x35fc44,_0x307878,_0x3a6830,_0x3ffb64){var _0x1af899=_0x1640f8;super(_0x5b9f8e,_0x1df09c,_0x54b61c,_0x2bd137,_0x54637c,_0x35fc44,_0x307878,_0x5110f2,_0x3ffb64),A(this,'status',_0x1af899(0x464)),(this[_0x1af899(0x3f2)]=_0x122b89,this[_0x1af899(0x1de)]=_0x52a3fe,this[_0x1af899(0x331)]=_0x180f1c,this[_0x1af899(0x3aa)]=_0x6ef230,this['_transformService']=_0x3a6830,this[_0x1af899(0x422)]=_0x3ffb64);}['onMissedChangesetFetched'](_0x49163a){var _0x1a00c5=_0x1640f8;try{const _0x7ea303=[..._0x49163a,...this[_0x1a00c5(0x1de)]],_0x319b1d=[this[_0x1a00c5(0x240)]||this[_0x1a00c5(0x3f2)]][_0x1a00c5(0x35b)](_0xf2c14a=>!!_0xf2c14a);let _0x3b3ec4,_0x443bbd;if(_0x319b1d['length']){const _0xd000c0=this[_0x1a00c5(0x424)]['transformChangesets'](_0x7ea303,_0x319b1d,!0x1);if(!p[_0x1a00c5(0x2ff)](_0xd000c0))throw _0xd000c0[_0x1a00c5(0x15a)];_0x3b3ec4=_0xd000c0['c1Prime'],_0x443bbd=_0xd000c0['c2Prime'];}else _0x3b3ec4=_0x7ea303,_0x443bbd=[];let _0xcf9abd=this[_0x1a00c5(0x187)];_0x3b3ec4['forEach'](_0x3190a4=>{var _0x1f83ae=_0x1a00c5;let _0x4764af;if(_0xcf9abd[_0x1f83ae(0x388)]){const _0x425897=this[_0x1f83ae(0x424)][_0x1f83ae(0x201)](_0x3190a4,_0xcf9abd);if(!p[_0x1f83ae(0x45c)](_0x425897))throw _0x425897[_0x1f83ae(0x15a)];_0x4764af=_0x425897[_0x1f83ae(0x2eb)],_0xcf9abd=_0x425897['m2Prime'];}else _0x4764af=_0x3190a4;this['_executeRemoteChangeset'](_0x4764af);}),this[_0x1a00c5(0x3f2)]&&this[_0x1a00c5(0x30b)](),this[_0x1a00c5(0x240)]&&_0x443bbd[_0x1a00c5(0x388)]&&(_0x443bbd[0x0]['baseRev']=this['_getCurrentRevision']());let _0x25a7f6;if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]!==0x0)_0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x344)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],_0xcf9abd,this[_0x1a00c5(0x25a)],void 0x0);else{if(this[_0x1a00c5(0x240)]&&_0xcf9abd[_0x1a00c5(0x388)]===0x0)_0x443bbd[0x0][_0x1a00c5(0x3a6)]=this['_getCurrentRevision'](),_0x25a7f6=this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x1bb)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0x443bbd[0x0],this['_handler']);else{if(_0xcf9abd[_0x1a00c5(0x388)]!==0x0){const _0x4222b7=this[_0x1a00c5(0x331)]['createInstance'](exports['PendingState'],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],_0xcf9abd,this[_0x1a00c5(0x25a)]);_0x4222b7['_schedule'](),_0x25a7f6=_0x4222b7;}else _0x25a7f6=this['_injector'][_0x1a00c5(0x13a)](exports[_0x1a00c5(0x258)],this[_0x1a00c5(0x281)],this[_0x1a00c5(0x2b7)],this['_handler']);}}return _0x25a7f6[_0x1a00c5(0x45e)](),_0x25a7f6;}catch(_0xeb9cf3){return this[_0x1a00c5(0x3aa)][_0x1a00c5(0x15a)](_0x1a00c5(0x29d),'failed\x20to\x20apply\x20missed\x20changesets!',_0xeb9cf3),this[_0x1a00c5(0x331)][_0x1a00c5(0x13a)](exports['ConflictState'],this[_0x1a00c5(0x281)],this['type'],this['_awaitingChangeset'],this[_0x1a00c5(0x187)],this[_0x1a00c5(0x25a)],!0x1);}}[_0x1640f8(0x33a)](){var _0x34eb45=_0x1640f8;throw new Error(_0x34eb45(0x41a));}[_0x1640f8(0x334)](_0x2f14fa){var _0x1a91d2=_0x1640f8;return this[_0x1a91d2(0x187)][_0x1a91d2(0x33f)](_0x2f14fa),this;}['onRemoteChangeset'](_0x53f0fc){var _0x35ea32=_0x1640f8;return this[_0x35ea32(0x1de)][_0x35ea32(0x33f)](_0x53f0fc),this;}['onRemoteAck'](_0x2c4bcc){var _0x43e0ac=_0x1640f8;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x43e0ac(0x240)],this[_0x43e0ac(0x240)]=null,this;throw new Error(_0x43e0ac(0x198));}[_0x1640f8(0x341)](_0x29c1fc){var _0x191a78=_0x1640f8;return this['_onConflict'](!!(_0x29c1fc!=null&&_0x29c1fc[_0x191a78(0x175)]));}[_0x1640f8(0x137)](){return this;}['toggleOffline'](){var _0x2fb6aa=_0x1640f8;return this['_injector']['createInstance'](exports[_0x2fb6aa(0x399)],this[_0x2fb6aa(0x281)],this[_0x2fb6aa(0x2b7)],this['_awaitingChangeset'],this[_0x2fb6aa(0x187)],this['_handler']);}[_0x1640f8(0x2d9)](){return this;}[_0x1640f8(0x377)](_0x3ec80d){var _0x375843=_0x1640f8;return this[_0x375843(0x331)][_0x375843(0x13a)](exports[_0x375843(0x2c8)],this[_0x375843(0x281)],this[_0x375843(0x2b7)],this[_0x375843(0x240)],this[_0x375843(0x187)],this[_0x375843(0x25a)],_0x3ec80d);}},exports[_0x1640f8(0x1e4)]=oe([w(0x7,a['Inject'](a['Injector'])),w(0x8,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),w(0x9,a['ILogService']),w(0xa,a[_0x1640f8(0x3a9)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x1640f8(0x1f4)]),w(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x1e4)]);function It(_0x471534,_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879){var _0x12ead1=_0x1640f8;return _0x99cb56&&_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports['AwaitingWithPendingState'],_0x37fce8,_0x36e4eb,_0x99cb56,_0x1a77f2,_0x32f879,void 0x0):_0x99cb56?_0x471534['createInstance'](exports[_0x12ead1(0x1bb)],_0x37fce8,_0x36e4eb,_0x99cb56,_0x32f879):_0x1a77f2[_0x12ead1(0x388)]?_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x38a)],_0x37fce8,_0x36e4eb,_0x1a77f2,_0x32f879):_0x471534[_0x12ead1(0x13a)](exports[_0x12ead1(0x258)],_0x37fce8,_0x36e4eb,_0x32f879);}var ni=Object[_0x1640f8(0x2d7)],Be=(_0x520fff,_0x10f92b,_0x443dea,_0x454af2)=>{var _0x50bf20=_0x1640f8;for(var _0x3a3c3d=_0x454af2>0x1?void 0x0:_0x454af2?ni(_0x10f92b,_0x443dea):_0x10f92b,_0x534dbb=_0x520fff[_0x50bf20(0x388)]-0x1,_0x41a71f;_0x534dbb>=0x0;_0x534dbb--)(_0x41a71f=_0x520fff[_0x534dbb])&&(_0x3a3c3d=_0x41a71f(_0x3a3c3d)||_0x3a3c3d);return _0x3a3c3d;},j=(_0x2ef317,_0x289e79)=>(_0x4ec535,_0x57b967)=>_0x289e79(_0x4ec535,_0x57b967,_0x2ef317);exports[_0x1640f8(0x3da)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x47b4bc,_0x49bacc,_0x56747d,_0x57e3c0,_0x463640,_0x2e18bb,_0x3e3ac3,_0x498dd5,_0x446c23,_0x4deb8f,_0x1517c7,_0x341bb3,_0x343b5a){var _0x3787c6=_0x1640f8;super(),A(this,'_state$',new H[(_0x3787c6(0x453))](null)),A(this,_0x3787c6(0x3c8),this[_0x3787c6(0x230)]['asObservable']()),A(this,_0x3787c6(0x248)),A(this,'_collaborationPaused',!0x1),A(this,_0x3787c6(0x245),''),A(this,_0x3787c6(0x3ce),0x0),A(this,_0x3787c6(0x357),this['state$']['pipe'](H['map'](_0x1bb14d=>_0x1bb14d?_0x1bb14d[_0x3787c6(0x38e)]:je['OFFLINE']),H['shareReplay'](0x1))),A(this,_0x3787c6(0x343),!0x1),A(this,_0x3787c6(0x41f),[]),(this['unitID']=_0x47b4bc,this[_0x3787c6(0x232)]=_0x49bacc,this['_type']=_0x56747d,this['_injector']=_0x57e3c0,this[_0x3787c6(0x1e9)]=_0x463640,this[_0x3787c6(0x48f)]=_0x2e18bb,this[_0x3787c6(0x1df)]=_0x3e3ac3,this['_eventService']=_0x498dd5,this[_0x3787c6(0x3aa)]=_0x446c23,this[_0x3787c6(0x3e5)]=_0x4deb8f,this[_0x3787c6(0x2a8)]=_0x1517c7,this[_0x3787c6(0x427)]=_0x341bb3,this[_0x3787c6(0x442)]=_0x343b5a);}get['state'](){var _0x9c1170=_0x1640f8;return this[_0x9c1170(0x248)];}async[_0x1640f8(0x27e)](){var _0x57c061=_0x1640f8;if(this[_0x57c061(0x1bf)])throw new Error(_0x57c061(0x1cf));await this['_init']();}[_0x1640f8(0x296)](){var _0x9c4225=_0x1640f8;return this[_0x9c4225(0x1fd)]=!0x0,a[_0x9c4225(0x300)](()=>{var _0xa8b835=_0x9c4225;this[_0xa8b835(0x1fd)]=!0x1,this[_0xa8b835(0x293)]();});}[_0x1640f8(0x376)](_0x3350a2){var _0x22e9a7=_0x1640f8;this[_0x22e9a7(0x3a3)](_0x3350a2);}[_0x1640f8(0x310)](_0x151283){var _0x41471e=_0x1640f8;this[_0x41471e(0x248)]=_0x151283,this[_0x41471e(0x230)][_0x41471e(0x3f8)](_0x151283);}async[_0x1640f8(0x1ac)](){var _0x1197b7=_0x1640f8,_0x2a98e6;this[_0x1197b7(0x310)](await this[_0x1197b7(0x289)]()),this[_0x1197b7(0x427)]&&((_0x2a98e6=this[_0x1197b7(0x427)])==null||_0x2a98e6[_0x1197b7(0x2db)](this[_0x1197b7(0x281)]),this[_0x1197b7(0x30c)](this[_0x1197b7(0x427)][_0x1197b7(0x41b)](this[_0x1197b7(0x281)])['subscribe'](_0x55ccbe=>{var _0x4a3651=_0x1197b7;this[_0x4a3651(0x3aa)]['debug'](_0x4a3651(0x14b),'editing\x20status\x20changed\x20to',_0x55ccbe),_0x55ccbe===He[_0x4a3651(0x176)]?(this['_eventService'][_0x4a3651(0x1b6)]({'id':Z[_0x4a3651(0x255)]}),this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X[(_0x4a3651(0x27d))](this[_0x4a3651(0x281)])['id'],!0x1),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x1)):(this[_0x4a3651(0x2a8)][_0x4a3651(0x313)](new X['WorkbookEditablePermission'](this[_0x4a3651(0x281)])['id'],!0x0),this[_0x4a3651(0x2a8)][_0x4a3651(0x45d)](!0x0));})));let _0x7f22b6=!0x1;return this[_0x1197b7(0x30c)](this[_0x1197b7(0x232)][_0x1197b7(0x478)]['subscribe'](_0x48727a=>{var _0x1f1c58=_0x1197b7;_0x48727a===re['ONLINE']?this[_0x1f1c58(0x3be)](_0x7f22b6):_0x48727a===re[_0x1f1c58(0x2bb)]&&(_0x7f22b6=!0x0,this[_0x1f1c58(0x18b)]());})),this[_0x1197b7(0x30c)](this['session'][_0x1197b7(0x2be)]['subscribe'](_0x293fcd=>{var _0x10adb5=_0x1197b7;try{switch(_0x293fcd[_0x10adb5(0x47b)]){case p[_0x10adb5(0x1e8)][_0x10adb5(0x35f)]:{this[_0x10adb5(0x2bc)](p['parseProtocolChangeset'](_0x293fcd[_0x10adb5(0x19d)]));break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x136)]:{this[_0x10adb5(0x18d)](_0x293fcd['data']);break;}case p['CollaborationEvent'][_0x10adb5(0x2d3)]:{this[_0x10adb5(0x3d0)]();break;}case p[_0x10adb5(0x1e8)]['CHANGESET_SHOULD_RETRY']:{this[_0x10adb5(0x17c)](_0x293fcd['data']);break;}case p[_0x10adb5(0x1e8)][_0x10adb5(0x3c6)]:{this[_0x10adb5(0x39e)](_0x293fcd['data']['changesets'][_0x10adb5(0x3d2)](_0x1b4c0e=>p[_0x10adb5(0x1be)](_0x1b4c0e)));break;}case p[_0x10adb5(0x1e8)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x41bdd4){throw console[_0x10adb5(0x15a)](_0x10adb5(0x2a0),_0x41bdd4),_0x41bdd4;}})),this[_0x1197b7(0x248)];}[_0x1640f8(0x434)](){var _0x46f6ae=_0x1640f8;this[_0x46f6ae(0x343)]=!0x1;}[_0x1640f8(0x46a)](){var _0x62d0fe=_0x1640f8;if(this[_0x62d0fe(0x343)])throw new Error(_0x62d0fe(0x2a1));this['_transitionLocked']=!0x0;}[_0x1640f8(0x3a3)](_0x281bbb){var _0xa5d467=_0x1640f8;this[_0xa5d467(0x46a)](),this[_0xa5d467(0x310)](this[_0xa5d467(0x248)][_0xa5d467(0x334)](_0x281bbb)),this[_0xa5d467(0x434)]();}['_onRemoteChangeset'](_0x5c4abe){var _0x443582=_0x1640f8;if(!(_0x5c4abe['revision']<=this[_0x443582(0x1df)][_0x443582(0x378)](this[_0x443582(0x281)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5c4abe);return;}this[_0x443582(0x3d9)](_0x5c4abe);}}[_0x1640f8(0x293)](){var _0x172ff4=_0x1640f8;this[_0x172ff4(0x41f)][_0x172ff4(0x1ff)](_0x265205=>this[_0x172ff4(0x3d9)](_0x265205)),this[_0x172ff4(0x41f)]=[];}[_0x1640f8(0x3d9)](_0x194138){var _0x51df86=_0x1640f8;const _0x47bbb0=this[_0x51df86(0x1e9)][_0x51df86(0x312)][_0x51df86(0x2d1)](this[_0x51df86(0x1e9)][_0x51df86(0x312)]['getInterceptPoints']()[_0x51df86(0x460)])(_0x194138['mutations'],null)||_0x194138[_0x51df86(0x452)],_0x2f1ac4={..._0x194138,'mutations':_0x47bbb0};this['_lockTransition'](),this['_updateState'](this[_0x51df86(0x248)][_0x51df86(0x165)](_0x2f1ac4)),this[_0x51df86(0x434)]();}[_0x1640f8(0x18d)](_0xfc51b1){var _0x36d3d9=_0x1640f8;this[_0x36d3d9(0x46a)](),this[_0x36d3d9(0x310)](this[_0x36d3d9(0x248)]['onRemoteAck'](_0xfc51b1)),this[_0x36d3d9(0x434)]();}['_onRemoteRejected'](_0xa6db2f){var _0x77c4c=_0x1640f8;this[_0x77c4c(0x46a)](),this[_0x77c4c(0x310)](this[_0x77c4c(0x248)][_0x77c4c(0x341)](_0xa6db2f)),this[_0x77c4c(0x434)]();}[_0x1640f8(0x17c)](_0x2b1f22){var _0x53c18e=_0x1640f8;this['_lockTransition'](),this[_0x53c18e(0x310)](this['_state']['onRemoteRetry'](_0x2b1f22)),this['_unlockTransition']();}['_onFetchMissResult'](_0x43edf1){var _0x2a9b5a=_0x1640f8;if(!(this[_0x2a9b5a(0x248)]instanceof exports[_0x2a9b5a(0x1e4)]))throw new TypeError(_0x2a9b5a(0x156));const _0x342d11=_0x43edf1[_0x2a9b5a(0x3d2)](_0x40cd45=>{var _0x3f1639=_0x2a9b5a;const _0x4a9f19=this[_0x3f1639(0x1e9)][_0x3f1639(0x312)][_0x3f1639(0x2d1)](this[_0x3f1639(0x1e9)]['interceptor'][_0x3f1639(0x3e1)]()[_0x3f1639(0x460)])(_0x40cd45[_0x3f1639(0x452)],null)||_0x40cd45[_0x3f1639(0x452)];return{..._0x40cd45,'mutations':_0x4a9f19};});this[_0x2a9b5a(0x46a)](),this['_updateState'](this[_0x2a9b5a(0x248)][_0x2a9b5a(0x3e8)](_0x342d11)),this[_0x2a9b5a(0x434)]();}['_toggleOffline'](){var _0x42f109=_0x1640f8;this[_0x42f109(0x46a)](),this[_0x42f109(0x310)](this[_0x42f109(0x248)][_0x42f109(0x412)]()),this[_0x42f109(0x434)]();}[_0x1640f8(0x3be)](_0x591eca=!0x1){var _0x1b4667=_0x1640f8;this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](this[_0x1b4667(0x248)]['toggleOnline']()),this['_unlockTransition']();const _0x557006=this[_0x1b4667(0x248)];_0x591eca&&_0x557006 instanceof exports[_0x1b4667(0x258)]&&(this[_0x1b4667(0x46a)](),this[_0x1b4667(0x310)](_0x557006['fetchMiss']()),this[_0x1b4667(0x434)]());}async[_0x1640f8(0x289)](){return new Promise(_0x415d44=>{var _0x54d977=_0x3549;this['session'][_0x54d977(0x478)][_0x54d977(0x297)](H[_0x54d977(0x153)](0x1))[_0x54d977(0x217)](async _0x3f690a=>{var _0x2c8995=_0x54d977;_0x415d44(await this[_0x2c8995(0x441)](_0x3f690a===re[_0x2c8995(0x314)]));});});}[_0x1640f8(0x46b)](){const _0x4c2932=this['unitID'];return{'onStateChange':(_0x1e3283,_0x4e831a)=>{var _0x2dc24e=_0x3549;if(_0x1e3283!==this[_0x2dc24e(0x248)])throw new Error(_0x2dc24e(0x449)+_0x1e3283[_0x2dc24e(0x38e)]+_0x2dc24e(0x29f)+_0x4e831a[_0x2dc24e(0x38e)]+_0x2dc24e(0x210)+this['_state'][_0x2dc24e(0x38e)]);this['_updateState'](_0x4e831a);},'onSendChangeset':_0x1544b7=>{var _0x3537a2=_0x3549;_0x1544b7[_0x3537a2(0x273)]||(_0x1544b7[_0x3537a2(0x273)]=this[_0x3537a2(0x245)],_0x1544b7['reqId']=++this[_0x3537a2(0x3ce)]);const _0x293f54={'eventID':p[_0x3537a2(0x1e8)][_0x3537a2(0x3b9)],'data':{'unitID':_0x1544b7[_0x3537a2(0x281)],'unitType':this[_0x3537a2(0x3d7)],'changeset':_0x1544b7,'memberID':this['session'][_0x3537a2(0x238)]()}};this['session'][_0x3537a2(0x407)](_0x293f54,this[_0x3537a2(0x281)]);},'onMissingChangesets':({from:_0x207f4d,to:_0x49036a})=>{var _0x428ae9=_0x3549;this[_0x428ae9(0x3aa)][_0x428ae9(0x2cc)](_0x428ae9(0x14b),_0x428ae9(0x295)+_0x207f4d+'\x20to\x20'+_0x49036a);const _0xb0bc23={'eventID':p['CollaborationEvent'][_0x428ae9(0x1b0)],'data':{'unitID':_0x4c2932,'unitType':this[_0x428ae9(0x3d7)],'from':_0x207f4d,'to':_0x49036a}};this[_0x428ae9(0x232)][_0x428ae9(0x407)](_0xb0bc23,this[_0x428ae9(0x281)]);}};}async[_0x1640f8(0x441)](_0x16d070){var _0x2b9d66=_0x1640f8,_0x17770d,_0x5eb7aa,_0x3aa77b;const _0x530ff7=await((_0x17770d=this['_localCacheService'])==null?void 0x0:_0x17770d[_0x2b9d66(0x148)](this['unitID'])),_0x4442cc=(_0x5eb7aa=_0x530ff7==null?void 0x0:_0x530ff7['mutations'])!=null?_0x5eb7aa:[],_0x1992ee=(_0x3aa77b=_0x530ff7==null?void 0x0:_0x530ff7['awaitingChangeset'])!=null?_0x3aa77b:null,_0x527722=!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x273)])&&!!(_0x1992ee!=null&&_0x1992ee[_0x2b9d66(0x133)]);this[_0x2b9d66(0x245)]=_0x527722?_0x1992ee[_0x2b9d66(0x273)]:p[_0x2b9d66(0x294)](),this['_changesetReqId']=_0x527722?_0x1992ee[_0x2b9d66(0x133)]:0x0;const _0x62bd4f=this[_0x2b9d66(0x281)];try{this[_0x2b9d66(0x358)](_0x1992ee,_0x4442cc);}catch(_0x58d4ef){this[_0x2b9d66(0x3aa)]['error'](_0x58d4ef);}const _0x2b8afb=this[_0x2b9d66(0x46b)]();if(_0x16d070){const _0x23fbbd=It(this['_injector'],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);return _0x23fbbd instanceof exports[_0x2b9d66(0x38a)]?_0x23fbbd[_0x2b9d66(0x44d)]():(_0x23fbbd instanceof exports['AwaitingWithPendingState']||_0x23fbbd instanceof exports[_0x2b9d66(0x1bb)])&&_0x23fbbd[_0x2b9d66(0x33a)](),_0x23fbbd;}return this[_0x2b9d66(0x331)]['createInstance'](exports[_0x2b9d66(0x399)],_0x62bd4f,this[_0x2b9d66(0x3d7)],_0x1992ee,_0x4442cc,_0x2b8afb);}[_0x1640f8(0x358)](_0x9ddb48,_0x841733){var _0x17e8f5=_0x1640f8,_0x4d2ee0,_0x44726e;const _0x246599=this[_0x17e8f5(0x1e9)]['interceptor'][_0x17e8f5(0x2d1)](this['_compressMutationService']['interceptor'][_0x17e8f5(0x3e1)]()[_0x17e8f5(0x460)]);(_0x4d2ee0=_0x246599((_0x9ddb48==null?void 0x0:_0x9ddb48[_0x17e8f5(0x452)])||[],null))==null||_0x4d2ee0[_0x17e8f5(0x1ff)](_0x2c67b1=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x2c67b1['id'],_0x2c67b1[_0x17e8f5(0x43d)])),(_0x44726e=_0x246599(_0x841733||[],null))==null||_0x44726e[_0x17e8f5(0x1ff)](_0x3b9139=>this[_0x17e8f5(0x3e5)][_0x17e8f5(0x409)](_0x3b9139['id'],_0x3b9139[_0x17e8f5(0x43d)]));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x1640f8(0x3a9)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x1640f8(0x1d3)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x1640f8(0x405)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x12f364,_0x25704a,_0x314f4e,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe){var _0x479104=_0x1640f8;super(_0x12f364,_0x314f4e,_0x25704a,_0x30f36e,_0x2c6bdc,_0x187e80,_0x299d37,_0x4844d0,_0x39e124,_0x4bf1f0,_0x352233,_0x57f4c8,_0x2a2afe),A(this,_0x479104(0x46e),null),(this[_0x479104(0x281)]=_0x12f364,this[_0x479104(0x2b7)]=_0x25704a);}[_0x1640f8(0x1d8)](_0x114920){this['_handlerCallback']=_0x114920;}[_0x1640f8(0x244)](){var _0x3762a7=_0x1640f8;this[_0x3762a7(0x46e)]=null,super[_0x3762a7(0x244)]();}[_0x1640f8(0x46b)](){var _0x4446f4=_0x1640f8;const _0x2bd4bd=super[_0x4446f4(0x46b)]();return _0x2bd4bd[_0x4446f4(0x3e0)]=_0x5e2f2e=>{var _0x301f33=_0x4446f4,_0x3b1928,_0x420719;return(_0x420719=(_0x3b1928=this[_0x301f33(0x46e)])==null?void 0x0:_0x3b1928[_0x301f33(0x3e0)])==null?void 0x0:_0x420719[_0x301f33(0x350)](_0x3b1928,_0x5e2f2e);},_0x2bd4bd[_0x4446f4(0x24a)]=_0x2dd57b=>{var _0x3171c5=_0x4446f4,_0x2f1641,_0x10f732;return(_0x10f732=(_0x2f1641=this[_0x3171c5(0x46e)])==null?void 0x0:_0x2f1641[_0x3171c5(0x24a)])==null?void 0x0:_0x10f732[_0x3171c5(0x350)](_0x2f1641,_0x2dd57b);},_0x2bd4bd[_0x4446f4(0x1dd)]=_0x3b1b8d=>{var _0x3a8dec=_0x4446f4,_0x575f05,_0x3ca87e;return(_0x3ca87e=(_0x575f05=this[_0x3a8dec(0x46e)])==null?void 0x0:_0x575f05['onTransformSelections'])==null?void 0x0:_0x3ca87e[_0x3a8dec(0x350)](_0x575f05,_0x3b1b8d);},_0x2bd4bd[_0x4446f4(0x47c)]=_0x39f638=>{var _0x5caf54=_0x4446f4,_0x25494b,_0x183533;return(_0x183533=(_0x25494b=this[_0x5caf54(0x46e)])==null?void 0x0:_0x25494b[_0x5caf54(0x47c)])==null?void 0x0:_0x183533['call'](_0x25494b,_0x39f638);},_0x2bd4bd[_0x4446f4(0x202)]=_0x1a4f0c=>{var _0x4a58f1=_0x4446f4,_0x403880,_0x1beaa9,_0xfa2c4e;if(!((_0x403880=this[_0x4a58f1(0x46e)])!=null&&_0x403880[_0x4a58f1(0x202)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xfa2c4e=(_0x1beaa9=this[_0x4a58f1(0x46e)])==null?void 0x0:_0x1beaa9[_0x4a58f1(0x202)])==null?void 0x0:_0xfa2c4e[_0x4a58f1(0x350)](_0x1beaa9,_0x1a4f0c);},_0x2bd4bd['onTransformRemoteChangesetByStateCache']=_0x2f1382=>{var _0x382c96=_0x4446f4,_0x5e6c43,_0x424ef7,_0x7c338d;if(!((_0x5e6c43=this[_0x382c96(0x46e)])!=null&&_0x5e6c43[_0x382c96(0x2e7)]))throw new Error(_0x382c96(0x231));return(_0x7c338d=(_0x424ef7=this[_0x382c96(0x46e)])==null?void 0x0:_0x424ef7['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x7c338d[_0x382c96(0x350)](_0x424ef7,_0x2f1382);},_0x2bd4bd;}async[_0x1640f8(0x1ac)](){var _0x75789c=_0x1640f8;const _0x33e81d=await super[_0x75789c(0x1ac)]();return this[_0x75789c(0x30c)](this['_commandService'][_0x75789c(0x2c4)]((_0x285af1,_0x4b6337)=>{var _0x4c65d0=_0x75789c;if(_0x285af1[_0x4c65d0(0x2b7)]!==a[_0x4c65d0(0x484)][_0x4c65d0(0x463)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x276)]||_0x4b6337!=null&&_0x4b6337[_0x4c65d0(0x19e)]||_0x285af1['id']===ct[_0x4c65d0(0x367)]['id'])return;const _0x25659c=_0x285af1[_0x4c65d0(0x43d)];if((_0x25659c==null?void 0x0:_0x25659c[_0x4c65d0(0x372)])!==this[_0x4c65d0(0x281)])return;const _0x4cef0b=_0x285af1,_0x2a26dd=this[_0x4c65d0(0x1e9)][_0x4c65d0(0x312)][_0x4c65d0(0x2d1)](this['_compressMutationService'][_0x4c65d0(0x312)][_0x4c65d0(0x3e1)]()['COMPRESS_MUTATION_SEND'])([_0x4cef0b],null)||[_0x4cef0b];this[_0x4c65d0(0x3a3)](_0x2a26dd[0x0]);})),_0x33e81d;}},exports[_0x1640f8(0x405)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p['CompressMutationService'])),j(0x5,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)])),j(0x6,a['Inject'](p[_0x1640f8(0x1b2)])),j(0x7,a[_0x1640f8(0x207)](ee)),j(0x8,a[_0x1640f8(0x226)]),j(0x9,a['ICommandService']),j(0xa,a[_0x1640f8(0x38c)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x405)]),exports[_0x1640f8(0x13f)]=class extends exports[_0x1640f8(0x3da)]{constructor(_0x352a9e,_0xbc04bd,_0xa106c6,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x5a8caa,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204){var _0x55282b=_0x1640f8;super(_0x352a9e,_0xa106c6,_0xbc04bd,_0x57a76c,_0x110716,_0x18f872,_0x2eee7b,_0x112a63,_0x38ad1f,_0x13eb93,_0x41407f,_0xe3d88a,_0x155204),this['unitID']=_0x352a9e,this[_0x55282b(0x2b7)]=_0xbc04bd,this['_sheetTransformSelectionsService']=_0x5a8caa;}['_createHandler'](){var _0x3967c9=_0x1640f8;const _0x3e3f1a=super[_0x3967c9(0x46b)]();return _0x3e3f1a[_0x3967c9(0x1dd)]=_0xdb5a32=>this['_sheetTransformSelectionsService']['transformSelections'](_0xdb5a32),_0x3e3f1a;}async['_init'](){var _0xbc5f40=_0x1640f8;const _0x3a6bce=await super['_init']();return this[_0xbc5f40(0x30c)](this[_0xbc5f40(0x3e5)][_0xbc5f40(0x2c4)]((_0x15f5af,_0x12d133)=>{var _0x442387=_0xbc5f40;if(_0x15f5af[_0x442387(0x2b7)]!==a[_0x442387(0x484)][_0x442387(0x463)]||_0x12d133!=null&&_0x12d133[_0x442387(0x276)]||_0x12d133!=null&&_0x12d133[_0x442387(0x19e)])return;const _0x4f0b11=_0x15f5af[_0x442387(0x43d)];if((_0x4f0b11==null?void 0x0:_0x4f0b11[_0x442387(0x372)])!==this[_0x442387(0x281)])return;const _0x1b6925=_0x15f5af,_0x42a889=this[_0x442387(0x1e9)]['interceptor']['fetchThroughInterceptors'](this[_0x442387(0x1e9)][_0x442387(0x312)][_0x442387(0x3e1)]()[_0x442387(0x418)])([_0x1b6925],null)||[_0x1b6925];this['_onLocalMutation'](_0x42a889[0x0]);})),_0x3a6bce;}},exports[_0x1640f8(0x13f)]=Be([j(0x3,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),j(0x4,a[_0x1640f8(0x207)](p[_0x1640f8(0x1e5)])),j(0x5,a[_0x1640f8(0x207)](a['LocaleService'])),j(0x6,a[_0x1640f8(0x207)](p[_0x1640f8(0x1b2)])),j(0x7,a['Inject'](exports[_0x1640f8(0x392)])),j(0x8,a[_0x1640f8(0x207)](ee)),j(0x9,a[_0x1640f8(0x226)]),j(0xa,a[_0x1640f8(0x3a9)]),j(0xb,a[_0x1640f8(0x38c)]),j(0xc,a[_0x1640f8(0x1d3)](de)),j(0xd,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x13f)]);const pt=a[_0x1640f8(0x363)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x938f31){var _0xdf9a4c=_0x1640f8,_0x322434,_0x449597,_0x210772,_0x30bab9,_0x3222b9;const _0x5b0675=_0x938f31[_0xdf9a4c(0x19d)],_0x5b3ef1=JSON[_0xdf9a4c(0x493)](_0x5b0675);switch(_0x5b3ef1[_0xdf9a4c(0x21d)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x3de353=_0x5b3ef1['infoRsp'];return{..._0x5b3ef1,'data':_0x3de353,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};}case W[_0xdf9a4c(0x2a5)]:{const _0x28bf7d=_0x5b3ef1['joinRsp'];return{..._0x5b3ef1,'data':_0x28bf7d,'cmd':_0x5b3ef1['cmd']};}case W[_0xdf9a4c(0x333)]:{const _0x4b68e5=_0x5b3ef1['collaMsg'];switch(_0x4b68e5['eventID']){case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x473)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x322434=_0x4b68e5[_0xdf9a4c(0x319)])==null?void 0x0:_0x322434['cs']},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)]['CHANGESET_ACK']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x449597=_0x4b68e5[_0xdf9a4c(0x1b1)])==null?void 0x0:_0x449597['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x35f)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x210772=_0x4b68e5[_0xdf9a4c(0x1da)])==null?void 0x0:_0x210772['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)]['CHANGESET_REJ']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x30bab9=_0x4b68e5[_0xdf9a4c(0x417)])==null?void 0x0:_0x30bab9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x167)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':(_0x3222b9=_0x4b68e5[_0xdf9a4c(0x24f)])==null?void 0x0:_0x3222b9['cs']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['updateCursorEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x430)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['joinEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x22e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x166)]},'cmd':_0x5b3ef1['cmd']};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x17e)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x495)]:case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1f8)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x229)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x1d5)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x320)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p[_0xdf9a4c(0x1e8)][_0xdf9a4c(0x43a)]:return{..._0x5b3ef1,'data':_0x4b68e5,'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x2b2)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['commentUpdateEvent']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1ce)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x31a)]},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5['shouldCloseConn']},'cmd':_0x5b3ef1[_0xdf9a4c(0x21d)]};case p['CollaborationEvent'][_0xdf9a4c(0x1f9)]:return{..._0x5b3ef1,'data':{..._0x4b68e5,'data':_0x4b68e5[_0xdf9a4c(0x3c5)]},'cmd':_0x5b3ef1['cmd']};default:return _0x5b3ef1;}}default:return _0x5b3ef1;}}function gt(_0x509e1b){var _0x268e80=_0x1640f8;switch(_0x509e1b[_0x268e80(0x21d)]){case W[_0x268e80(0x43f)]:case W[_0x268e80(0x490)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b['cmd'],'routeKey':_0x509e1b[_0x268e80(0x149)]});case W[_0x268e80(0x474)]:{let _0x532c55;switch(_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x47b)]){case p[_0x268e80(0x1e8)][_0x268e80(0x199)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x199)],'updateCursorEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_LEAVE']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['USERS_LEAVE'],'leaveEvent':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['USERS_ENTER']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x430)],'joinEvent':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x17e)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_OPERATION']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1f8)],'liveShareOperation':_0x509e1b['data'][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_TERMINATE']:{_0x532c55={'eventID':p['CollaborationEvent'][_0x268e80(0x1d5)],'liveShareTerminate':_0x509e1b[_0x268e80(0x19d)][_0x268e80(0x19d)]};break;}case p[_0x268e80(0x1e8)][_0x268e80(0x347)]:{_0x532c55={'eventID':p[_0x268e80(0x1e8)][_0x268e80(0x347)],'liveShareRequestHost':_0x509e1b[_0x268e80(0x19d)]['data']};break;}case p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']:{_0x532c55={'eventID':p[_0x268e80(0x1e8)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x532c55={'eventID':_0x509e1b[_0x268e80(0x19d)]['eventID']};}return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'collaMsg':_0x532c55});}case W[_0x268e80(0x2a5)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b[_0x268e80(0x149)],'joinReq':_0x509e1b[_0x268e80(0x19d)]});case W[_0x268e80(0x266)]:return JSON[_0x268e80(0x288)]({'cmd':_0x509e1b[_0x268e80(0x21d)],'routeKey':_0x509e1b['routeKey'],'leaveReq':_0x509e1b['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object[_0x1640f8(0x2d7)],si=(_0x1c790a,_0xf0cb0e,_0x2ef008,_0x415a9e)=>{var _0x199331=_0x1640f8;for(var _0x1c8191=_0x415a9e>0x1?void 0x0:_0x415a9e?ri(_0xf0cb0e,_0x2ef008):_0xf0cb0e,_0x393ecf=_0x1c790a[_0x199331(0x388)]-0x1,_0x1974a7;_0x393ecf>=0x0;_0x393ecf--)(_0x1974a7=_0x1c790a[_0x393ecf])&&(_0x1c8191=_0x1974a7(_0x1c8191)||_0x1c8191);return _0x1c8191;},_e=(_0x30f0c0,_0x51f6ac)=>(_0x5831c9,_0x2901fe)=>_0x51f6ac(_0x5831c9,_0x2901fe,_0x30f0c0);const Fe=a['createIdentifier']('univer-pro.collaboration-client-socket-service');function oi(_0x514b16,_0x37c516,_0x2fdde9){var _0x568863=_0x1640f8;return _0x514b16+'/'+_0x37c516+_0x568863(0x220)+_0x2fdde9+_0x568863(0x2c7);}exports[_0x1640f8(0x25c)]=class extends a['Disposable']{constructor(_0x5ece91,_0x4aaea8,_0x168564,_0x32b84f,_0x283b6a){var _0x3bdb9c=_0x1640f8;super(),this['_injector']=_0x5ece91,this['_httpService']=_0x4aaea8,this[_0x3bdb9c(0x2b1)]=_0x168564,this[_0x3bdb9c(0x3aa)]=_0x32b84f,this['_snapshotServerService']=_0x283b6a;}[_0x1640f8(0x335)](_0x5552e0){var _0x5c7d32=_0x1640f8;const _0x21ab83=this['_injector'][_0x5c7d32(0x3ee)](q['ISocketService']);if(!_0x21ab83)throw new Error(_0x5c7d32(0x3f3));const _0xed52c9=_0x21ab83[_0x5c7d32(0x1f7)](_0x5552e0);if(!_0xed52c9)throw new Error(_0x5c7d32(0x15d));const _0x4e6918=new a['DisposableCollection'](),_0x2d3384=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x346)][_0x5c7d32(0x217)](_0x4956fc=>_0x2d3384[_0x5c7d32(0x3f8)](_0x4956fc))),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2d3384[_0x5c7d32(0x256)]()));const _0x494f70=new H[(_0x5c7d32(0x375))]();_0x4e6918['add'](_0xed52c9[_0x5c7d32(0x2d5)]['subscribe'](_0x38d48c=>_0x494f70[_0x5c7d32(0x3f8)](_0x38d48c))),_0x4e6918['add'](a[_0x5c7d32(0x300)](()=>_0x494f70['complete']()));const _0x2da3d2=new H[(_0x5c7d32(0x375))]();_0x4e6918[_0x5c7d32(0x317)](_0xed52c9[_0x5c7d32(0x151)][_0x5c7d32(0x217)](_0x37792c=>{var _0x1cf87b=_0x5c7d32;const _0x5cb49a=mt(_0x37792c);_0x2da3d2[_0x1cf87b(0x3f8)](_0x5cb49a);})),_0x4e6918[_0x5c7d32(0x317)](a[_0x5c7d32(0x300)](()=>_0x2da3d2[_0x5c7d32(0x256)]()));let _0x222700;const _0x2d0b24=()=>{var _0x59d786=_0x5c7d32;_0x494f70['next'](new Event('connection\x20error')),_0x2d3384[_0x59d786(0x3f8)](new Event('connection\x20error')),_0x222700['close']();};return _0x222700={'memberID':'','close$':_0x2d3384['asObservable'](),'error$':_0x494f70[_0x5c7d32(0x1ed)](),'open$':_0xed52c9[_0x5c7d32(0x31b)],'message$':_0x2da3d2[_0x5c7d32(0x1ed)](),'send':_0x207598=>{var _0x171496=_0x5c7d32;if(_0x207598[_0x171496(0x21d)]===W['INGEST']){if(_0x207598[_0x171496(0x19d)][_0x171496(0x47b)]===p['CollaborationEvent'][_0x171496(0x3b9)]){this[_0x171496(0x43b)](_0x222700,_0x207598[_0x171496(0x19d)])['catch'](_0x51f059=>{var _0x3a4818=_0x171496;this[_0x3a4818(0x3aa)][_0x3a4818(0x15a)](_0x51f059),_0x2d0b24();});return;}if(_0x207598['data'][_0x171496(0x47b)]===p[_0x171496(0x1e8)][_0x171496(0x1b0)]){const _0x38cf60=_0x207598[_0x171496(0x19d)];this[_0x171496(0x211)](_0x38cf60)[_0x171496(0x321)](_0x5e5497=>{var _0x931a6f=_0x171496;_0x2da3d2[_0x931a6f(0x3f8)]({'cmd':W[_0x931a6f(0x333)],'code':se['OK'],'routeKey':_0x38cf60['data'][_0x931a6f(0x281)],'routeType':'','data':{'eventID':p['CollaborationEvent'][_0x931a6f(0x3c6)],'data':{'changesets':_0x5e5497}}});})[_0x171496(0x2c5)](_0x5b6c77=>{var _0x2527ef=_0x171496;this[_0x2527ef(0x3aa)]['error'](_0x5b6c77),_0x2d0b24();});return;}}_0xed52c9[_0x171496(0x407)](gt(_0x207598));},'close':()=>{var _0x21394d=_0x5c7d32;_0xed52c9[_0x21394d(0x3f5)](),_0x4e6918[_0x21394d(0x244)]();}},_0x222700;}async[_0x1640f8(0x43b)](_0x265a92,_0x12af7d){var _0x3aae30=_0x1640f8,_0x524629;const {unitType:_0x1eb130,unitID:_0x288ba6,changeset:_0x3d97c4}=_0x12af7d[_0x3aae30(0x19d)],_0x597262={'unitID':_0x288ba6,'memberID':_0x265a92[_0x3aae30(0x433)],'type':_0x1eb130,'changeset':p[_0x3aae30(0x2df)](_0x3d97c4)},_0x35a46c=this[_0x3aae30(0x2b1)][_0x3aae30(0x254)](Y),_0x1073ab=oi((_0x524629=_0x35a46c==null?void 0x0:_0x35a46c[_0x3aae30(0x327)])!=null?_0x524629:kt,_0x1eb130,_0x288ba6);try{await this[_0x3aae30(0x3a0)][_0x3aae30(0x42a)](_0x1073ab,{'body':_0x597262});}catch(_0x23e700){throw this[_0x3aae30(0x3aa)][_0x3aae30(0x15a)](_0x3aae30(0x342),_0x3aae30(0x35a)),_0x23e700;}}async['_fetchMissChangesets'](_0x14fdc1){var _0x83ad2f=_0x1640f8;const {unitID:_0x285ffb,from:_0x3f9b85,to:_0x5670ca,unitType:_0x2252c0}=_0x14fdc1[_0x83ad2f(0x19d)];return(await this['_snapshotServerService'][_0x83ad2f(0x31c)]({'metadata':void 0x0},{'unitID':_0x285ffb,'type':_0x2252c0,'from':_0x3f9b85,'to':_0x5670ca}))['changesets'];}},exports[_0x1640f8(0x25c)]=si([_e(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),_e(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),_e(0x2,a[_0x1640f8(0x30d)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x1640f8(0x483)])],exports['CollaborationSocketService']);var ai=Object[_0x1640f8(0x2d7)],ci=(_0x1690d2,_0x314689,_0x58267b,_0x54e505)=>{var _0x40b42b=_0x1640f8;for(var _0x436123=_0x54e505>0x1?void 0x0:_0x54e505?ai(_0x314689,_0x58267b):_0x314689,_0x411b96=_0x1690d2[_0x40b42b(0x388)]-0x1,_0x522c0a;_0x411b96>=0x0;_0x411b96--)(_0x522c0a=_0x1690d2[_0x411b96])&&(_0x436123=_0x522c0a(_0x436123)||_0x436123);return _0x436123;},he=(_0x2d18a0,_0x481fc2)=>(_0x55b839,_0x197bce)=>_0x481fc2(_0x55b839,_0x197bce,_0x2d18a0);exports['CollaborationSessionService']=class extends a[_0x1640f8(0x380)]{constructor(_0x5b42d9,_0x522b6e,_0x93c01c,_0x223077,_0x45e01e,_0x592c9b){var _0x4a7cda=_0x1640f8;super(),A(this,_0x4a7cda(0x1b4),new H['BehaviorSubject'](void 0x0)),A(this,_0x4a7cda(0x3f0),this[_0x4a7cda(0x1b4)][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x2ac),null),A(this,'_sessions',new Map()),A(this,_0x4a7cda(0x485),new H['BehaviorSubject'](re[_0x4a7cda(0x390)])),A(this,_0x4a7cda(0x357),this['_status$'][_0x4a7cda(0x1ed)]()),A(this,_0x4a7cda(0x263),!0x1),A(this,_0x4a7cda(0x42f)),A(this,_0x4a7cda(0x336),0x0),A(this,_0x4a7cda(0x275)),A(this,_0x4a7cda(0x17d)),(this[_0x4a7cda(0x331)]=_0x5b42d9,this['_logService']=_0x522b6e,this[_0x4a7cda(0x2b1)]=_0x93c01c,this[_0x4a7cda(0x3eb)]=_0x223077,this[_0x4a7cda(0x468)]=_0x45e01e,this[_0x4a7cda(0x329)]=_0x592c9b,this['_listenToNetworkCondition']());}get[_0x1640f8(0x36b)](){var _0x39cbc1=_0x1640f8;return this[_0x39cbc1(0x1b4)][_0x39cbc1(0x46c)]();}['_listenToNetworkCondition'](){var _0x270e6b=_0x1640f8;this['_networkConditionService']&&this['disposeWithMe'](this[_0x270e6b(0x329)][_0x270e6b(0x3ac)][_0x270e6b(0x217)](_0x5a9e28=>{var _0x4966a0=_0x270e6b;_0x5a9e28&&!this[_0x4966a0(0x36b)]&&this[_0x4966a0(0x14c)](),_0x5a9e28||this['_onOffline']();}));}['dispose'](){var _0x1be333=_0x1640f8;super[_0x1be333(0x244)](),this['_clearRetryConnectingTimer'](),this[_0x1be333(0x2ee)](),this[_0x1be333(0x1f3)](),this[_0x1be333(0x386)][_0x1be333(0x1ff)](_0x5eefa9=>_0x5eefa9[_0x1be333(0x244)]()),this[_0x1be333(0x386)][_0x1be333(0x21c)](),this[_0x1be333(0x485)][_0x1be333(0x256)]();}async['requireSession'](_0x56be23){var _0x5ad739=_0x1640f8;if(this['_sessions'][_0x5ad739(0x3fb)](_0x56be23))return this['_sessions'][_0x5ad739(0x3ee)](_0x56be23);this[_0x5ad739(0x401)]();const _0x4abbf9=this[_0x5ad739(0x331)][_0x5ad739(0x13a)](exports[_0x5ad739(0x1b7)],_0x56be23,this['_socket$'][_0x5ad739(0x1ed)]());return this['_sessions'][_0x5ad739(0x315)](_0x56be23,_0x4abbf9),_0x4abbf9;}[_0x1640f8(0x28a)](_0x5b55c4){var _0x4e6115=_0x1640f8,_0x4a58f5;const _0x3fb50b=this['_sessions'][_0x4e6115(0x3ee)](_0x5b55c4);_0x3fb50b&&(this[_0x4e6115(0x386)][_0x4e6115(0x24b)](_0x5b55c4),_0x3fb50b['close']()),this[_0x4e6115(0x386)][_0x4e6115(0x2b8)]||(_0x4a58f5=this[_0x4e6115(0x36b)])==null||_0x4a58f5[_0x4e6115(0x3f5)]();}[_0x1640f8(0x14c)](){var _0x4d811d=_0x1640f8;this[_0x4d811d(0x336)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x4d811d(0x18a)]();}[_0x1640f8(0x1f1)](){var _0x4813ed=_0x1640f8;this[_0x4813ed(0x42f)]!=null&&(clearTimeout(this[_0x4813ed(0x42f)]),this[_0x4813ed(0x42f)]=null);}async[_0x1640f8(0x157)](){var _0x2dc4b1=_0x1640f8,_0x74bb65;const _0x2aa8d5=this[_0x2dc4b1(0x2b1)][_0x2dc4b1(0x254)](Y),_0x5985bb=(_0x74bb65=_0x2aa8d5==null?void 0x0:_0x2aa8d5[_0x2dc4b1(0x1e3)])!=null?_0x74bb65:ht,_0x23e540=await this[_0x2dc4b1(0x3eb)][_0x2dc4b1(0x1f7)](_0x5985bb);return this[_0x2dc4b1(0x2ac)]=_0x23e540,_0x23e540;}async[_0x1640f8(0x401)](){var _0x545eac=_0x1640f8,_0x5332a9,_0x4364fd;try{const _0x6e71c9=(_0x4364fd=(_0x5332a9=this[_0x545eac(0x36b)])!=null?_0x5332a9:this[_0x545eac(0x2ac)])!=null?_0x4364fd:await this[_0x545eac(0x157)]();if(_0x6e71c9){const _0x575754=_0x6e71c9[_0x545eac(0x407)];_0x6e71c9[_0x545eac(0x407)]=_0x16793f=>(this[_0x545eac(0x3f9)](),_0x575754[_0x545eac(0x219)](_0x6e71c9,[_0x16793f])),_0x6e71c9[_0x545eac(0x151)][_0x545eac(0x217)](_0x5b564b=>this[_0x545eac(0x3c3)](_0x6e71c9,_0x5b564b)),_0x6e71c9[_0x545eac(0x2d5)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x4a07bb=>this['_logService']['error'](_0x545eac(0x40c),_0x4a07bb)),_0x6e71c9[_0x545eac(0x31b)]['pipe'](V[_0x545eac(0x153)](0x1))['subscribe'](()=>{var _0x15ff20=_0x545eac;this[_0x15ff20(0x188)](_0x6e71c9);}),_0x6e71c9[_0x545eac(0x346)][_0x545eac(0x297)](V[_0x545eac(0x153)](0x1))[_0x545eac(0x217)](_0x229c5f=>{var _0x3a8236=_0x545eac;this[_0x3a8236(0x3aa)][_0x3a8236(0x2cc)]('[CollaborationSessionService]','socket\x20close',_0x229c5f),this[_0x3a8236(0x280)]();});}}catch(_0x5b7609){this[_0x545eac(0x3aa)][_0x545eac(0x15a)](_0x5b7609),this['_onConnectionFailed']();}}[_0x1640f8(0x188)](_0x10e4e9){var _0x1465e1=_0x1640f8;this[_0x1465e1(0x3aa)][_0x1465e1(0x2cc)](_0x1465e1(0x410),'socket\x20open.'),_0x10e4e9[_0x1465e1(0x407)]({'cmd':W[_0x1465e1(0x490)]}),this[_0x1465e1(0x3f9)]();}[_0x1640f8(0x1e6)](){var _0x29edf4=_0x1640f8;this[_0x29edf4(0x263)]=!0x1,this[_0x29edf4(0x2ac)]=null,this[_0x29edf4(0x485)][_0x29edf4(0x3f8)](re[_0x29edf4(0x2bb)]),this[_0x29edf4(0x1b4)][_0x29edf4(0x3f8)](null),this[_0x29edf4(0x2ee)](),this[_0x29edf4(0x1f3)]();}['_onConnectionFailed'](){var _0xcc9f86=_0x1640f8,_0x39c3a1;this['_onOffline'](),this[_0xcc9f86(0x336)]<((_0x39c3a1=this[_0xcc9f86(0x2b1)][_0xcc9f86(0x254)](ut))!=null?_0x39c3a1:Mt)?(this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z[_0xcc9f86(0x326)]}),this[_0xcc9f86(0x18a)]()):this[_0xcc9f86(0x468)][_0xcc9f86(0x1b6)]({'id':Z['SOCKET_FAILED']});}[_0x1640f8(0x18a)](){var _0x50ac6a=_0x1640f8,_0x5e1eb2;const _0x173d53=this[_0x50ac6a(0x336)],_0x4b7d4e=this[_0x50ac6a(0x2b1)][_0x50ac6a(0x254)](Y),_0x4df02e=_0x173d53===0x0?0x0:((_0x5e1eb2=_0x4b7d4e==null?void 0x0:_0x4b7d4e['retryConnectingInterval'])!=null?_0x5e1eb2:wt)*0x2**_0x173d53;this[_0x50ac6a(0x42f)]=setTimeout(()=>{var _0x34982a=_0x50ac6a;clearTimeout(this[_0x34982a(0x42f)]),this[_0x34982a(0x42f)]=null,this['_tryEnsureSocket']();},_0x4df02e),this[_0x50ac6a(0x336)]+=0x1;}[_0x1640f8(0x3c3)](_0x36016b,_0x51a6b7){var _0x364394=_0x1640f8;const {cmd:_0x2a0733}=_0x51a6b7;_0x2a0733===W[_0x364394(0x490)]&&!this['_socketReady']&&(_0x36016b[_0x364394(0x433)]=_0x51a6b7['data'][_0x364394(0x433)],this['_socket$'][_0x364394(0x3f8)](_0x36016b),this[_0x364394(0x485)][_0x364394(0x3f8)](re[_0x364394(0x314)]),this[_0x364394(0x263)]=!0x0,this[_0x364394(0x2ac)]=null),_0x2a0733===W[_0x364394(0x43f)]&&this['_clearTimeoutTimer'](),this[_0x364394(0x3f9)]();}[_0x1640f8(0x3f9)](){var _0x3d6ff3=_0x1640f8,_0x4d3199;this[_0x3d6ff3(0x1f3)](),this[_0x3d6ff3(0x275)]=setTimeout(()=>this[_0x3d6ff3(0x261)](),(_0x4d3199=this['_configService']['getConfig'](_t))!=null?_0x4d3199:Pt);}[_0x1640f8(0x261)](){var _0x5c0ad2=_0x1640f8;this[_0x5c0ad2(0x36b)][_0x5c0ad2(0x407)]({'cmd':W[_0x5c0ad2(0x43f)]}),this[_0x5c0ad2(0x2bf)]();}['_waitForHeartbeatResponse'](){var _0x37818b=_0x1640f8,_0xa029d3;this[_0x37818b(0x17d)]=setTimeout(()=>this[_0x37818b(0x280)](),(_0xa029d3=this[_0x37818b(0x2b1)][_0x37818b(0x254)](ke))!=null?_0xa029d3:lt);}['_clearHeartbeatTimer'](){var _0x3b0757=_0x1640f8;this[_0x3b0757(0x275)]!=null&&(clearTimeout(this[_0x3b0757(0x275)]),this[_0x3b0757(0x275)]=null);}[_0x1640f8(0x2ee)](){var _0x43f7f7=_0x1640f8;this[_0x43f7f7(0x17d)]!=null&&(clearTimeout(this[_0x43f7f7(0x17d)]),this[_0x43f7f7(0x17d)]=null);}},exports[_0x1640f8(0x169)]=ci([he(0x0,a['Inject'](a[_0x1640f8(0x1c1)])),he(0x1,a[_0x1640f8(0x226)]),he(0x2,a[_0x1640f8(0x30d)]),he(0x3,Fe),he(0x4,a[_0x1640f8(0x207)](ee)),he(0x5,a[_0x1640f8(0x1d3)](pt))],exports[_0x1640f8(0x169)]);var hi=Object[_0x1640f8(0x2d7)],_i=(_0xb75fdb,_0xe76528,_0x2790d0,_0x3be2c8)=>{var _0x94301e=_0x1640f8;for(var _0x428126=_0x3be2c8>0x1?void 0x0:_0x3be2c8?hi(_0xe76528,_0x2790d0):_0xe76528,_0x3f996a=_0xb75fdb[_0x94301e(0x388)]-0x1,_0x1f843f;_0x3f996a>=0x0;_0x3f996a--)(_0x1f843f=_0xb75fdb[_0x3f996a])&&(_0x428126=_0x1f843f(_0x428126)||_0x428126);return _0x428126;},Se=(_0x13a122,_0x1fb2e5)=>(_0x40348c,_0x489c03)=>_0x1fb2e5(_0x40348c,_0x489c03,_0x13a122);exports[_0x1640f8(0x18f)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x1a3ce4,_0x402451,_0xf1155,_0x11d589){var _0x2135cb=_0x1640f8,_0x26832e;super(),A(this,'_entities',new Map()),A(this,_0x2135cb(0x22b),new H[(_0x2135cb(0x375))]()),A(this,_0x2135cb(0x439),this[_0x2135cb(0x22b)][_0x2135cb(0x1ed)]()),(this[_0x2135cb(0x331)]=_0x1a3ce4,this[_0x2135cb(0x21a)]=_0x402451,this['_configService']=_0xf1155,this[_0x2135cb(0x2f3)]=_0x11d589,((_0x26832e=this[_0x2135cb(0x2b1)]['getConfig'](Y))==null?void 0x0:_0x26832e[_0x2135cb(0x20d)])!==!0x1&&this[_0x2135cb(0x1ac)]());}[_0x1640f8(0x244)](){var _0x83bc84=_0x1640f8;super[_0x83bc84(0x244)](),this[_0x83bc84(0x38f)][_0x83bc84(0x1ff)](_0x3659e6=>_0x3659e6[_0x83bc84(0x244)]()),this['_entities'][_0x83bc84(0x21c)]();}[_0x1640f8(0x224)](_0x582d0c){var _0x125f7b=_0x1640f8,_0x2534ff;return(_0x2534ff=this[_0x125f7b(0x38f)][_0x125f7b(0x3ee)](_0x582d0c))!=null?_0x2534ff:null;}['getCollabEntity$'](_0x55cb5d){var _0x5d7c4d=_0x1640f8;const _0x3b8ec9=this['getCollabEntity'](_0x55cb5d);return _0x3b8ec9?H['of'](_0x3b8ec9):this[_0x5d7c4d(0x22b)]['pipe'](V[_0x5d7c4d(0x35b)](_0x214a5b=>_0x214a5b[_0x5d7c4d(0x281)]===_0x55cb5d));}[_0x1640f8(0x302)](_0x2b5e14){var _0x132ace=_0x1640f8;return H[_0x132ace(0x2e5)](this['getCollabEntity$'](_0x2b5e14)[_0x132ace(0x297)](V[_0x132ace(0x3d2)](()=>{})));}[_0x1640f8(0x1ac)](){var _0x158e9e=_0x1640f8;this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a[_0x158e9e(0x1cb)][_0x158e9e(0x435)])['pipe'](H[_0x158e9e(0x397)](this[_0x158e9e(0x247)]),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x217)](async _0x50b8f2=>{var _0x46e39c=_0x158e9e;const _0x1e626b=_0x50b8f2[_0x46e39c(0x2e1)](),_0x43de32=await this[_0x46e39c(0x2fa)](_0x1e626b,J[_0x46e39c(0x435)]);this[_0x46e39c(0x38f)][_0x46e39c(0x315)](_0x1e626b,_0x43de32);}),this[_0x158e9e(0x2f3)][_0x158e9e(0x237)](a['UniverInstanceType'][_0x158e9e(0x15e)])[_0x158e9e(0x297)](H[_0x158e9e(0x397)](this['dispose$']),V[_0x158e9e(0x139)](0x10))[_0x158e9e(0x297)](V[_0x158e9e(0x35b)](_0x324f86=>!_0x324f86['getUnitId']()[_0x158e9e(0x168)]('__')))['subscribe'](async _0x2cc2b9=>{var _0x4bc4ea=_0x158e9e;const _0x2acb63=_0x2cc2b9[_0x4bc4ea(0x2e1)](),_0x66b266=await this[_0x4bc4ea(0x2fa)](_0x2acb63,J['UNIVER_DOC']);this[_0x4bc4ea(0x38f)][_0x4bc4ea(0x315)](_0x2acb63,_0x66b266);}),H[_0x158e9e(0x22a)](this[_0x158e9e(0x2f3)][_0x158e9e(0x2fe)](a[_0x158e9e(0x1cb)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x158e9e(0x2fe)](a['UniverInstanceType']['UNIVER_DOC']))['pipe'](H[_0x158e9e(0x397)](this['dispose$']))[_0x158e9e(0x217)](_0x3cf94b=>{var _0x5aed06=_0x158e9e;const _0x25a918=_0x3cf94b['getUnitId'](),_0x563fab=this[_0x5aed06(0x38f)][_0x5aed06(0x3ee)](_0x25a918);_0x563fab&&(_0x563fab[_0x5aed06(0x244)](),this[_0x5aed06(0x38f)][_0x5aed06(0x24b)](_0x25a918));});}async['_startCollaboration'](_0x4f4bf4,_0x5504de){var _0x30d65a=_0x1640f8;const _0x163d88=await this[_0x30d65a(0x21a)][_0x30d65a(0x447)](_0x4f4bf4),_0x4ef11a=this[_0x30d65a(0x331)][_0x30d65a(0x13a)](this[_0x30d65a(0x3d5)](_0x5504de),_0x4f4bf4,_0x5504de,_0x163d88);return await _0x4ef11a[_0x30d65a(0x27e)](),this['_entityInit$'][_0x30d65a(0x3f8)](_0x4ef11a),_0x4ef11a;}['_getCtorByUniverType'](_0x2f5344){var _0x2a9109=_0x1640f8;switch(_0x2f5344){case J[_0x2a9109(0x15e)]:return exports[_0x2a9109(0x405)];case J['UNIVER_SHEET']:return exports[_0x2a9109(0x13f)];default:throw new Error(_0x2a9109(0x394)+_0x2f5344);}}},exports['CollaborationController']=_i([Se(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),Se(0x1,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),Se(0x2,a[_0x1640f8(0x30d)]),Se(0x3,a[_0x1640f8(0x49a)])],exports[_0x1640f8(0x18f)]);var li=Object[_0x1640f8(0x2d7)],ui=(_0x5b4ff9,_0x13a924,_0x53d4dd,_0x3c410c)=>{for(var _0x4c6a2a=_0x3c410c>0x1?void 0x0:_0x3c410c?li(_0x13a924,_0x53d4dd):_0x13a924,_0xd88557=_0x5b4ff9['length']-0x1,_0x391332;_0xd88557>=0x0;_0xd88557--)(_0x391332=_0x5b4ff9[_0xd88557])&&(_0x4c6a2a=_0x391332(_0x4c6a2a)||_0x4c6a2a);return _0x4c6a2a;},Ye=(_0x5e1f9d,_0x3a2700)=>(_0x23df77,_0x3c777b)=>_0x3a2700(_0x23df77,_0x3c777b,_0x5e1f9d);const di=_0x1640f8(0x150),vi=_0x1640f8(0x466);let xe=class extends a['Disposable']{constructor(_0x197d67,_0x5d4df7){var _0x5206fa=_0x1640f8;super(),this[_0x5206fa(0x2f3)]=_0x197d67,this[_0x5206fa(0x2b1)]=_0x5d4df7,this['_init']();}['_init'](){var _0x1fe603=_0x1640f8;this[_0x1fe603(0x30c)](this['_univerInstanceService'][_0x1fe603(0x24e)]['subscribe'](()=>{var _0x25ba88=_0x1fe603,_0x20de3c;const _0x32d1c3=this['_univerInstanceService']['getFocusedUnit']();let _0x1514b3=(_0x20de3c=this[_0x25ba88(0x2b1)]['getConfig'](di))!=null?_0x20de3c:vi;_0x32d1c3 instanceof a[_0x25ba88(0x2ce)]&&(_0x1514b3=_0x32d1c3[_0x25ba88(0x48d)]),document['title']=_0x1514b3;}));}};xe=ui([Ye(0x0,a[_0x1640f8(0x49a)]),Ye(0x1,a[_0x1640f8(0x30d)])],xe);var Si=Object[_0x1640f8(0x2d7)],fi=(_0x49734d,_0x4f3315,_0x9e214e,_0x42033e)=>{var _0x47d910=_0x1640f8;for(var _0x1f4376=_0x42033e>0x1?void 0x0:_0x42033e?Si(_0x4f3315,_0x9e214e):_0x4f3315,_0x1736b8=_0x49734d[_0x47d910(0x388)]-0x1,_0x3e729c;_0x1736b8>=0x0;_0x1736b8--)(_0x3e729c=_0x49734d[_0x1736b8])&&(_0x1f4376=_0x3e729c(_0x1f4376)||_0x1f4376);return _0x1f4376;},Ae=(_0x106c9e,_0x1bf73c)=>(_0x3a9887,_0x277554)=>_0x1bf73c(_0x3a9887,_0x277554,_0x106c9e);let ye=class{constructor(_0x3106f8,_0x3a249b,_0x1356a2){var _0x4e47bc=_0x1640f8;this[_0x4e47bc(0x2b1)]=_0x3106f8,this['_httpService']=_0x3a249b,this[_0x4e47bc(0x1c6)]=_0x1356a2,this[_0x4e47bc(0x27e)]();}['init'](){var _0x39376e=_0x1640f8;this[_0x39376e(0x3a0)][_0x39376e(0x144)]({'priority':0x1,'interceptor':(_0x1e4a86,_0x33bf35)=>_0x33bf35(_0x1e4a86)['pipe'](H['concatMap'](async _0x6e6d4c=>{var _0x5ce368=_0x39376e;const _0x505c80=_0x6e6d4c;if(_0x505c80['status']===0x191){if(typeof window>'u')throw new Error(_0x5ce368(0x23a));if(window[_0x5ce368(0x42c)](this['localeService']['t'](_0x5ce368(0x419)))){const _0x5b6a02=window['encodeURIComponent'](window[_0x5ce368(0x48c)][_0x5ce368(0x262)]);window['location'][_0x5ce368(0x262)]=this['_getLoginPath']()+_0x5ce368(0x16a)+_0x5b6a02;}}return _0x505c80;}))});}[_0x1640f8(0x41e)](){var _0x3838ab=_0x1640f8,_0xc57152;const _0x5a618d=this[_0x3838ab(0x2b1)][_0x3838ab(0x254)](Y);return(_0xc57152=_0x5a618d==null?void 0x0:_0x5a618d['loginUrlKey'])!=null?_0xc57152:$t;}};ye=fi([Ae(0x0,a[_0x1640f8(0x30d)]),Ae(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Ae(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x2a7)]))],ye);var Ii=Object[_0x1640f8(0x2d7)],pi=(_0x13f7dc,_0x1b4b7c,_0x4324b2,_0x2d8a32)=>{var _0xddc3c5=_0x1640f8;for(var _0x1f6dca=_0x2d8a32>0x1?void 0x0:_0x2d8a32?Ii(_0x1b4b7c,_0x4324b2):_0x1b4b7c,_0x3ce99a=_0x13f7dc[_0xddc3c5(0x388)]-0x1,_0x4b4937;_0x3ce99a>=0x0;_0x3ce99a--)(_0x4b4937=_0x13f7dc[_0x3ce99a])&&(_0x1f6dca=_0x4b4937(_0x1f6dca)||_0x1f6dca);return _0x1f6dca;},qe=(_0x3f8084,_0x30fe44)=>(_0x3bb9b7,_0xf8c118)=>_0x30fe44(_0x3bb9b7,_0xf8c118,_0x3f8084);const mi=_0x1640f8(0x2da);exports[_0x1640f8(0x353)]=class extends a[_0x1640f8(0x380)]{constructor(_0x1ba2b2,_0x4aef08){var _0xd90936=_0x1640f8;super(),this['_HTTPService']=_0x1ba2b2,this[_0xd90936(0x2b1)]=_0x4aef08,this[_0xd90936(0x3d3)]();}[_0x1640f8(0x3d3)](){var _0x489e92=_0x1640f8;const _0xd647e=this;this[_0x489e92(0x30c)](this['_HTTPService'][_0x489e92(0x144)]({'priority':0x3e7,'interceptor':q['MergeInterceptorFactory']({'isMatch'(_0x101df9){var _0x436c28=_0x489e92,_0x4fdc6a;if(_0x101df9[_0x436c28(0x2c0)]==='POST'&&((_0x4fdc6a=_0x101df9[_0x436c28(0x3f6)])!=null&&_0x4fdc6a['body'])){const {objectID:_0xfb8691,objectType:_0x1e9558}=_0x101df9[_0x436c28(0x3f6)][_0x436c28(0x3e3)]||{};if(!_0xfb8691||_0x1e9558===void 0x0)return!0x1;const _0x5bfd47=_0xd647e[_0x436c28(0x1aa)]()+'/'+_0x1e9558+_0x436c28(0x1c3)+_0xfb8691+'/allowed';if(_0x101df9[_0x436c28(0x3a7)]===_0x5bfd47)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1ecb7d){var _0x2d4e61=_0x489e92,_0xe3ff5f;return(_0xe3ff5f=_0x1ecb7d['requestParams'])==null?void 0x0:_0xe3ff5f[_0x2d4e61(0x3e3)];},'mergeParamsToRequest'(_0x388add,_0x3aad10){var _0x576b38=_0x489e92;const _0x1e06d6=_0xd647e[_0x576b38(0x1aa)]()+_0x576b38(0x497),_0x13dbcc=_0x388add['reduce']((_0x55a38b,_0x578ba7)=>{var _0x26e997=_0x576b38;const {unitID:_0xd3d013,objectID:_0x31fc4c,objectType:_0x5cfc70,actions:_0x3fdad0}=_0x578ba7;return _0x55a38b[_0xd3d013]||(_0x55a38b[_0xd3d013]={}),_0x55a38b[_0xd3d013][_0x31fc4c]||(_0x55a38b[_0xd3d013][_0x31fc4c]={'objectID':_0x31fc4c,'objectType':_0x5cfc70,'actions':[]}),_0x55a38b[_0xd3d013][_0x31fc4c][_0x26e997(0x403)][_0x26e997(0x33f)](..._0x3fdad0),_0x55a38b;},{}),_0x257c5a=[];for(const _0x15ece2 in _0x13dbcc)for(const _0x447986 in _0x13dbcc[_0x15ece2]){const {actions:_0x4ae783,objectType:_0xe6241}=_0x13dbcc[_0x15ece2][_0x447986],_0x226b0d=[...new Set(_0x4ae783)];_0x257c5a['push']({'unitID':_0x15ece2,'objectID':_0x447986,'objectType':_0xe6241,'actions':_0x226b0d});}return new q[(_0x576b38(0x45a))]('POST',_0x1e06d6,{'headers':_0x3aad10['headers'],'withCredentials':_0x3aad10[_0x576b38(0x2aa)],'responseType':_0x3aad10[_0x576b38(0x243)],'body':{'requests':_0x257c5a}});}},{'distributeResult'(_0x591572,_0x4b6c4c){var _0x20e809=_0x489e92;const {objectActions:_0x5146f9}=_0x591572;return _0x4b6c4c[_0x20e809(0x3d2)](_0x35ee1e=>{var _0x23cba4=_0x20e809;const {unitID:_0x23322b,objectID:_0x3e2625,actions:_0x328069}=_0x35ee1e,_0x5a3984=_0x5146f9['find'](_0x269625=>_0x269625[_0x23cba4(0x281)]===_0x23322b&&_0x269625[_0x23cba4(0x3dd)]===_0x3e2625),_0x696057=_0x328069['map'](_0x42318d=>_0x5a3984==null?void 0x0:_0x5a3984['actions'][_0x23cba4(0x264)](_0x58157e=>_0x58157e[_0x23cba4(0x36d)]===_0x42318d))[_0x23cba4(0x35b)](_0x225768=>!!_0x225768);return{'config':_0x35ee1e,'result':{'actions':_0x696057,'error':_0x591572[_0x23cba4(0x15a)]}};});}})}));}[_0x1640f8(0x1aa)](){var _0x1d9b21=_0x1640f8,_0xd30cb;const _0x45e276=this[_0x1d9b21(0x2b1)][_0x1d9b21(0x254)](Y);return(_0xd30cb=_0x45e276==null?void 0x0:_0x45e276[_0x1d9b21(0x34b)])!=null?_0xd30cb:mi;}async[_0x1640f8(0x3cb)](_0x3c2452){var _0x520eb1=_0x1640f8;const _0x41fd1e=this[_0x520eb1(0x1aa)]()+'/'+_0x3c2452[_0x520eb1(0x47d)]+_0x520eb1(0x2c2);return(await this[_0x520eb1(0x3e9)][_0x520eb1(0x42a)](_0x41fd1e,{'body':_0x3c2452}))[_0x520eb1(0x3e3)][_0x520eb1(0x3dd)]||'';}async[_0x1640f8(0x155)](_0x26c72c){var _0x1884c6=_0x1640f8;const _0x3fccdf=this['_getAPIPrefixPath']()+_0x1884c6(0x40d);return(await this[_0x1884c6(0x3e9)][_0x1884c6(0x42a)](_0x3fccdf,{'body':_0x26c72c}))['body'][_0x1884c6(0x1a1)];}async[_0x1640f8(0x216)](_0xb86087){var _0x2ff49e=_0x1640f8,_0x59b0fa,_0x1e7286;const _0x3c8d45=this[_0x2ff49e(0x1aa)]()+'/'+_0xb86087[_0x2ff49e(0x47d)]+_0x2ff49e(0x1c3)+_0xb86087[_0x2ff49e(0x3dd)],_0x4eff51=await this[_0x2ff49e(0x3e9)][_0x2ff49e(0x292)](_0x3c8d45,{'body':_0xb86087});if(((_0x1e7286=(_0x59b0fa=_0x4eff51==null?void 0x0:_0x4eff51[_0x2ff49e(0x3e3)])==null?void 0x0:_0x59b0fa[_0x2ff49e(0x15a)])==null?void 0x0:_0x1e7286[_0x2ff49e(0x141)])!==0x1)throw new Error(_0x2ff49e(0x3ad));}async['allowed'](_0x12c6dd){var _0x352688=_0x1640f8;const _0xbfae17=this['_getAPIPrefixPath']()+'/'+_0x12c6dd[_0x352688(0x47d)]+_0x352688(0x1c3)+_0x12c6dd[_0x352688(0x3dd)]+'/allowed';return(await this[_0x352688(0x3e9)][_0x352688(0x42a)](_0xbfae17,{'body':_0x12c6dd}))[_0x352688(0x3e3)][_0x352688(0x403)];}async[_0x1640f8(0x472)](_0x2eb2f6){var _0x197636=_0x1640f8;const _0x469333=this['_getAPIPrefixPath']()+_0x197636(0x497);return(await this['_HTTPService'][_0x197636(0x42a)](_0x469333,{'body':{'requests':_0x2eb2f6}}))['body'][_0x197636(0x494)];}async['listRoles'](_0x4bd552){var _0x440f1e=_0x1640f8;const _0x272d73=this[_0x440f1e(0x1aa)]()+'/'+_0x4bd552[_0x440f1e(0x47d)]+_0x440f1e(0x1c0),_0x462a54=await this[_0x440f1e(0x3e9)]['post'](_0x272d73,{'body':_0x4bd552});return{'roles':_0x462a54[_0x440f1e(0x3e3)][_0x440f1e(0x456)],'actions':_0x462a54['body'][_0x440f1e(0x403)]};}async[_0x1640f8(0x3e2)](_0x18a679){var _0x7f12b1=_0x1640f8;const _0x1ff916=this['_getAPIPrefixPath']()+_0x7f12b1(0x24d);await this['_HTTPService'][_0x7f12b1(0x24b)](_0x1ff916,{'params':{'collaboratorID':_0x18a679[_0x7f12b1(0x206)],'objectID':_0x18a679[_0x7f12b1(0x3dd)],'unitID':_0x18a679[_0x7f12b1(0x281)]}});}async[_0x1640f8(0x2a2)](_0x40e4f5){var _0x31f432=_0x1640f8;const _0x2501c3=this[_0x31f432(0x1aa)]()+'/collaborator';await this[_0x31f432(0x3e9)][_0x31f432(0x480)](_0x2501c3,{'body':_0x40e4f5});}async['createCollaborator'](_0x1b9c60){var _0x3c5763=_0x1640f8;const _0x245f29=this['_getAPIPrefixPath']()+_0x3c5763(0x24d);await this[_0x3c5763(0x3e9)][_0x3c5763(0x42a)](_0x245f29,{'body':_0x1b9c60});}async[_0x1640f8(0x438)](_0x16aae5){var _0x4ef59a=_0x1640f8;const _0x1d3d67=this[_0x4ef59a(0x1aa)]()+_0x4ef59a(0x24d);return(await this[_0x4ef59a(0x3e9)][_0x4ef59a(0x3ee)](_0x1d3d67,{'params':{'objectID':_0x16aae5['objectID'],'unitID':_0x16aae5[_0x4ef59a(0x281)]}}))[_0x4ef59a(0x3e3)][_0x4ef59a(0x446)];}async['putCollaborators'](_0x260744){var _0x3e0a09=_0x1640f8;const _0xad0f69=this[_0x3e0a09(0x1aa)]()+_0x3e0a09(0x24d);await this[_0x3e0a09(0x3e9)][_0x3e0a09(0x292)](_0xad0f69,{'body':_0x260744});}},exports[_0x1640f8(0x353)]=pi([qe(0x0,a['Inject'](q[_0x1640f8(0x1ba)])),qe(0x1,a[_0x1640f8(0x207)](a['IConfigService']))],exports[_0x1640f8(0x353)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4066df){var _0xe9ed1=_0x1640f8;return _0x4066df&&_0x4066df[_0xe9ed1(0x379)]&&Object['prototype'][_0xe9ed1(0x26c)]['call'](_0x4066df,_0xe9ed1(0x3b7))?_0x4066df[_0xe9ed1(0x3b7)]:_0x4066df;}var fe={'exports':{}};function gi(_0x555273){var _0xa0075c=_0x1640f8;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x555273+_0xa0075c(0x158));}var Ie={'exports':{}},Ei=Ie[_0x1640f8(0x3bf)],Ke;function Q(){var _0x3865c4=_0x1640f8;return Ke||(Ke=0x1,function(_0x10a3b3,_0x3b4b95){(function(_0x2d4881,_0x231ee9){var _0x43fb87=_0x3549;_0x10a3b3[_0x43fb87(0x3bf)]=_0x231ee9();}(Ei,function(){var _0x193e20=_0x193e20||function(_0x2bd23e,_0xc7eb74){var _0x59bed8=_0x3549,_0x2b5803;if(typeof window<'u'&&window[_0x59bed8(0x365)]&&(_0x2b5803=window[_0x59bed8(0x365)]),typeof self<'u'&&self[_0x59bed8(0x365)]&&(_0x2b5803=self[_0x59bed8(0x365)]),typeof globalThis<'u'&&globalThis[_0x59bed8(0x365)]&&(_0x2b5803=globalThis[_0x59bed8(0x365)]),!_0x2b5803&&typeof window<'u'&&window[_0x59bed8(0x145)]&&(_0x2b5803=window[_0x59bed8(0x145)]),!_0x2b5803&&typeof Pe<'u'&&Pe[_0x59bed8(0x365)]&&(_0x2b5803=Pe[_0x59bed8(0x365)]),!_0x2b5803&&typeof gi==_0x59bed8(0x470))try{_0x2b5803=require('crypto');}catch{}var _0x11ca86=function(){var _0x5e5322=_0x59bed8;if(_0x2b5803){if(typeof _0x2b5803[_0x5e5322(0x23e)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x23e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2b5803[_0x5e5322(0x164)]==_0x5e5322(0x470))try{return _0x2b5803[_0x5e5322(0x164)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xc66dd4=Object['create']||(function(){function _0x24fb0d(){}return function(_0x1d5214){var _0x4ce8be=_0x3549,_0x25b473;return _0x24fb0d['prototype']=_0x1d5214,_0x25b473=new _0x24fb0d(),_0x24fb0d[_0x4ce8be(0x26b)]=null,_0x25b473;};}()),_0x4cc220={},_0x4d43f3=_0x4cc220[_0x59bed8(0x2f7)]={},_0xad277d=_0x4d43f3[_0x59bed8(0x29c)]=(function(){return{'extend':function(_0x4ba7a4){var _0x381601=_0x3549,_0x19e8f9=_0xc66dd4(this);return _0x4ba7a4&&_0x19e8f9[_0x381601(0x3b4)](_0x4ba7a4),(!_0x19e8f9[_0x381601(0x26c)](_0x381601(0x27e))||this['init']===_0x19e8f9[_0x381601(0x27e)])&&(_0x19e8f9[_0x381601(0x27e)]=function(){var _0x415f77=_0x381601;_0x19e8f9[_0x415f77(0x2a4)][_0x415f77(0x27e)][_0x415f77(0x219)](this,arguments);}),_0x19e8f9[_0x381601(0x27e)][_0x381601(0x26b)]=_0x19e8f9,_0x19e8f9[_0x381601(0x2a4)]=this,_0x19e8f9;},'create':function(){var _0x517a9c=_0x3549,_0x3e06eb=this[_0x517a9c(0x382)]();return _0x3e06eb[_0x517a9c(0x27e)]['apply'](_0x3e06eb,arguments),_0x3e06eb;},'init':function(){},'mixIn':function(_0x5432ff){var _0x152b89=_0x3549;for(var _0x334744 in _0x5432ff)_0x5432ff[_0x152b89(0x26c)](_0x334744)&&(this[_0x334744]=_0x5432ff[_0x334744]);_0x5432ff['hasOwnProperty'](_0x152b89(0x42b))&&(this[_0x152b89(0x42b)]=_0x5432ff[_0x152b89(0x42b)]);},'clone':function(){var _0x1cefb7=_0x3549;return this[_0x1cefb7(0x27e)][_0x1cefb7(0x26b)][_0x1cefb7(0x382)](this);}};}()),_0x3311a1=_0x4d43f3[_0x59bed8(0x143)]=_0xad277d['extend']({'init':function(_0x5ea35f,_0x39b875){var _0x32df8d=_0x59bed8;_0x5ea35f=this[_0x32df8d(0x404)]=_0x5ea35f||[],_0x39b875!=_0xc7eb74?this['sigBytes']=_0x39b875:this[_0x32df8d(0x1a5)]=_0x5ea35f['length']*0x4;},'toString':function(_0x47d0da){return(_0x47d0da||_0x1de5f8)['stringify'](this);},'concat':function(_0x5d7e3b){var _0x174166=_0x59bed8,_0x2fe1bd=this['words'],_0x221ac8=_0x5d7e3b['words'],_0x39d7e6=this['sigBytes'],_0x761ca6=_0x5d7e3b[_0x174166(0x1a5)];if(this[_0x174166(0x3e6)](),_0x39d7e6%0x4)for(var _0x2f7a22=0x0;_0x2f7a22<_0x761ca6;_0x2f7a22++){var _0x54c2c6=_0x221ac8[_0x2f7a22>>>0x2]>>>0x18-_0x2f7a22%0x4*0x8&0xff;_0x2fe1bd[_0x39d7e6+_0x2f7a22>>>0x2]|=_0x54c2c6<<0x18-(_0x39d7e6+_0x2f7a22)%0x4*0x8;}else{for(var _0x19fb44=0x0;_0x19fb44<_0x761ca6;_0x19fb44+=0x4)_0x2fe1bd[_0x39d7e6+_0x19fb44>>>0x2]=_0x221ac8[_0x19fb44>>>0x2];}return this[_0x174166(0x1a5)]+=_0x761ca6,this;},'clamp':function(){var _0x3c27bf=_0x59bed8,_0x410039=this[_0x3c27bf(0x404)],_0x35e21d=this[_0x3c27bf(0x1a5)];_0x410039[_0x35e21d>>>0x2]&=0xffffffff<<0x20-_0x35e21d%0x4*0x8,_0x410039[_0x3c27bf(0x388)]=_0x2bd23e[_0x3c27bf(0x38d)](_0x35e21d/0x4);},'clone':function(){var _0x267267=_0x59bed8,_0x1eaf48=_0xad277d['clone']['call'](this);return _0x1eaf48['words']=this[_0x267267(0x404)]['slice'](0x0),_0x1eaf48;},'random':function(_0x2a45d3){var _0x357df2=_0x59bed8;for(var _0x4adfa0=[],_0x446f88=0x0;_0x446f88<_0x2a45d3;_0x446f88+=0x4)_0x4adfa0[_0x357df2(0x33f)](_0x11ca86());return new _0x3311a1[(_0x357df2(0x27e))](_0x4adfa0,_0x2a45d3);}}),_0x833695=_0x4cc220['enc']={},_0x1de5f8=_0x833695[_0x59bed8(0x1a9)]={'stringify':function(_0x53adda){var _0x398930=_0x59bed8;for(var _0x570f9e=_0x53adda[_0x398930(0x404)],_0x4b1c91=_0x53adda[_0x398930(0x1a5)],_0x50f24f=[],_0x2666d2=0x0;_0x2666d2<_0x4b1c91;_0x2666d2++){var _0x2e3816=_0x570f9e[_0x2666d2>>>0x2]>>>0x18-_0x2666d2%0x4*0x8&0xff;_0x50f24f[_0x398930(0x33f)]((_0x2e3816>>>0x4)['toString'](0x10)),_0x50f24f['push']((_0x2e3816&0xf)[_0x398930(0x42b)](0x10));}return _0x50f24f[_0x398930(0x391)]('');},'parse':function(_0x33d6fd){var _0x157bcb=_0x59bed8;for(var _0x23f7ff=_0x33d6fd[_0x157bcb(0x388)],_0x4ef5bf=[],_0x5beb70=0x0;_0x5beb70<_0x23f7ff;_0x5beb70+=0x2)_0x4ef5bf[_0x5beb70>>>0x3]|=parseInt(_0x33d6fd[_0x157bcb(0x355)](_0x5beb70,0x2),0x10)<<0x18-_0x5beb70%0x8*0x4;return new _0x3311a1[(_0x157bcb(0x27e))](_0x4ef5bf,_0x23f7ff/0x2);}},_0x5b9fcb=_0x833695['Latin1']={'stringify':function(_0x46b677){var _0x4da14f=_0x59bed8;for(var _0xf00380=_0x46b677[_0x4da14f(0x404)],_0x329f41=_0x46b677[_0x4da14f(0x1a5)],_0x15e2c9=[],_0x205bd1=0x0;_0x205bd1<_0x329f41;_0x205bd1++){var _0x4bdafe=_0xf00380[_0x205bd1>>>0x2]>>>0x18-_0x205bd1%0x4*0x8&0xff;_0x15e2c9[_0x4da14f(0x33f)](String[_0x4da14f(0x3c7)](_0x4bdafe));}return _0x15e2c9[_0x4da14f(0x391)]('');},'parse':function(_0x161f41){var _0x266136=_0x59bed8;for(var _0x10b77c=_0x161f41['length'],_0x22c8a9=[],_0x25a081=0x0;_0x25a081<_0x10b77c;_0x25a081++)_0x22c8a9[_0x25a081>>>0x2]|=(_0x161f41[_0x266136(0x323)](_0x25a081)&0xff)<<0x18-_0x25a081%0x4*0x8;return new _0x3311a1[(_0x266136(0x27e))](_0x22c8a9,_0x10b77c);}},_0x366fea=_0x833695['Utf8']={'stringify':function(_0x38d488){var _0x1bafcd=_0x59bed8;try{return decodeURIComponent(escape(_0x5b9fcb[_0x1bafcd(0x288)](_0x38d488)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x24000d){var _0x351486=_0x59bed8;return _0x5b9fcb[_0x351486(0x493)](unescape(encodeURIComponent(_0x24000d)));}},_0x10ce08=_0x4d43f3[_0x59bed8(0x1ab)]=_0xad277d['extend']({'reset':function(){var _0x5c0f53=_0x59bed8;this['_data']=new _0x3311a1[(_0x5c0f53(0x27e))](),this['_nDataBytes']=0x0;},'_append':function(_0x2f6b7a){var _0x5ea644=_0x59bed8;typeof _0x2f6b7a==_0x5ea644(0x2d0)&&(_0x2f6b7a=_0x366fea['parse'](_0x2f6b7a)),this[_0x5ea644(0x44f)][_0x5ea644(0x30e)](_0x2f6b7a),this[_0x5ea644(0x462)]+=_0x2f6b7a[_0x5ea644(0x1a5)];},'_process':function(_0x221c1d){var _0x123fca=_0x59bed8,_0x2482ab,_0x35e76f=this[_0x123fca(0x44f)],_0x321610=_0x35e76f['words'],_0x5d2151=_0x35e76f[_0x123fca(0x1a5)],_0x147a1e=this[_0x123fca(0x2dd)],_0x383388=_0x147a1e*0x4,_0x21c324=_0x5d2151/_0x383388;_0x221c1d?_0x21c324=_0x2bd23e[_0x123fca(0x38d)](_0x21c324):_0x21c324=_0x2bd23e[_0x123fca(0x37f)]((_0x21c324|0x0)-this[_0x123fca(0x1d9)],0x0);var _0x3cbce0=_0x21c324*_0x147a1e,_0x3c1951=_0x2bd23e['min'](_0x3cbce0*0x4,_0x5d2151);if(_0x3cbce0){for(var _0x38c7bf=0x0;_0x38c7bf<_0x3cbce0;_0x38c7bf+=_0x147a1e)this[_0x123fca(0x384)](_0x321610,_0x38c7bf);_0x2482ab=_0x321610[_0x123fca(0x204)](0x0,_0x3cbce0),_0x35e76f['sigBytes']-=_0x3c1951;}return new _0x3311a1[(_0x123fca(0x27e))](_0x2482ab,_0x3c1951);},'clone':function(){var _0x5f4062=_0x59bed8,_0x504c38=_0xad277d[_0x5f4062(0x31f)][_0x5f4062(0x350)](this);return _0x504c38[_0x5f4062(0x44f)]=this[_0x5f4062(0x44f)]['clone'](),_0x504c38;},'_minBufferSize':0x0});_0x4d43f3[_0x59bed8(0x44b)]=_0x10ce08['extend']({'cfg':_0xad277d[_0x59bed8(0x382)](),'init':function(_0x26d8ab){var _0xc1dd86=_0x59bed8;this['cfg']=this[_0xc1dd86(0x20a)][_0xc1dd86(0x382)](_0x26d8ab),this[_0xc1dd86(0x354)]();},'reset':function(){var _0x222928=_0x59bed8;_0x10ce08[_0x222928(0x354)][_0x222928(0x350)](this),this[_0x222928(0x43e)]();},'update':function(_0x183ce6){var _0x4d70de=_0x59bed8;return this['_append'](_0x183ce6),this[_0x4d70de(0x46f)](),this;},'finalize':function(_0x3229e1){var _0x616d88=_0x59bed8;_0x3229e1&&this[_0x616d88(0x3af)](_0x3229e1);var _0x467a70=this[_0x616d88(0x3cf)]();return _0x467a70;},'blockSize':0x10,'_createHelper':function(_0x1b4946){return function(_0x6846d9,_0x39b1ee){var _0x14b837=_0x3549;return new _0x1b4946[(_0x14b837(0x27e))](_0x39b1ee)[_0x14b837(0x467)](_0x6846d9);};},'_createHmacHelper':function(_0x343d54){return function(_0x4e6ad8,_0x23687e){var _0x3d5475=_0x3549;return new _0x695ba0['HMAC'][(_0x3d5475(0x27e))](_0x343d54,_0x23687e)[_0x3d5475(0x467)](_0x4e6ad8);};}});var _0x695ba0=_0x4cc220['algo']={};return _0x4cc220;}(Math);return _0x193e20;}));}(Ie)),Ie[_0x3865c4(0x3bf)];}var pe={'exports':{}},Ci=pe[_0x1640f8(0x3bf)],ze;function Et(){var _0x100b3e=_0x1640f8;return ze||(ze=0x1,function(_0x48a2d5,_0x1e0ca2){(function(_0x3dcc80,_0x28cab3){var _0x3f1c08=_0x3549;_0x48a2d5[_0x3f1c08(0x3bf)]=_0x28cab3(Q());}(Ci,function(_0x5f42c6){var _0x4a7557=_0x3549;return(function(){var _0x5d89b4=_0x3549,_0x5e329c=_0x5f42c6,_0x255af3=_0x5e329c[_0x5d89b4(0x2f7)],_0x4c07da=_0x255af3[_0x5d89b4(0x143)],_0x4c24d4=_0x5e329c['enc'];_0x4c24d4[_0x5d89b4(0x142)]={'stringify':function(_0x21ef43){var _0x98f097=_0x5d89b4,_0x352abd=_0x21ef43[_0x98f097(0x404)],_0x5b78cb=_0x21ef43[_0x98f097(0x1a5)],_0x309cef=this['_map'];_0x21ef43[_0x98f097(0x3e6)]();for(var _0x3d4de5=[],_0x3305be=0x0;_0x3305be<_0x5b78cb;_0x3305be+=0x3)for(var _0x4b6027=_0x352abd[_0x3305be>>>0x2]>>>0x18-_0x3305be%0x4*0x8&0xff,_0x4782ae=_0x352abd[_0x3305be+0x1>>>0x2]>>>0x18-(_0x3305be+0x1)%0x4*0x8&0xff,_0x5cb18b=_0x352abd[_0x3305be+0x2>>>0x2]>>>0x18-(_0x3305be+0x2)%0x4*0x8&0xff,_0x42c8d5=_0x4b6027<<0x10|_0x4782ae<<0x8|_0x5cb18b,_0x4d8641=0x0;_0x4d8641<0x4&&_0x3305be+_0x4d8641*0.75<_0x5b78cb;_0x4d8641++)_0x3d4de5['push'](_0x309cef[_0x98f097(0x448)](_0x42c8d5>>>0x6*(0x3-_0x4d8641)&0x3f));var _0xf90cde=_0x309cef[_0x98f097(0x448)](0x40);if(_0xf90cde){for(;_0x3d4de5[_0x98f097(0x388)]%0x4;)_0x3d4de5[_0x98f097(0x33f)](_0xf90cde);}return _0x3d4de5[_0x98f097(0x391)]('');},'parse':function(_0x56742f){var _0x192976=_0x5d89b4,_0x269b55=_0x56742f['length'],_0x53c488=this[_0x192976(0x196)],_0x566e2e=this[_0x192976(0x2ae)];if(!_0x566e2e){_0x566e2e=this[_0x192976(0x2ae)]=[];for(var _0x300b50=0x0;_0x300b50<_0x53c488[_0x192976(0x388)];_0x300b50++)_0x566e2e[_0x53c488[_0x192976(0x323)](_0x300b50)]=_0x300b50;}var _0x539c9d=_0x53c488[_0x192976(0x448)](0x40);if(_0x539c9d){var _0x1266bf=_0x56742f['indexOf'](_0x539c9d);_0x1266bf!==-0x1&&(_0x269b55=_0x1266bf);}return _0x57b3ef(_0x56742f,_0x269b55,_0x566e2e);},'_map':_0x5d89b4(0x429)};function _0x57b3ef(_0x5d410f,_0x3e7c55,_0x384ffb){var _0x28ec42=_0x5d89b4;for(var _0x4bf6e3=[],_0x419f32=0x0,_0x6e75fc=0x0;_0x6e75fc<_0x3e7c55;_0x6e75fc++)if(_0x6e75fc%0x4){var _0x1606b0=_0x384ffb[_0x5d410f['charCodeAt'](_0x6e75fc-0x1)]<<_0x6e75fc%0x4*0x2,_0x45cb33=_0x384ffb[_0x5d410f[_0x28ec42(0x323)](_0x6e75fc)]>>>0x6-_0x6e75fc%0x4*0x2,_0x319631=_0x1606b0|_0x45cb33;_0x4bf6e3[_0x419f32>>>0x2]|=_0x319631<<0x18-_0x419f32%0x4*0x8,_0x419f32++;}return _0x4c07da[_0x28ec42(0x3cb)](_0x4bf6e3,_0x419f32);}}()),_0x5f42c6[_0x4a7557(0x2cd)][_0x4a7557(0x142)];}));}(pe)),pe[_0x100b3e(0x3bf)];}var me={'exports':{}},Ti=me[_0x1640f8(0x3bf)],Je;function bi(){var _0x59aab0=_0x1640f8;return Je||(Je=0x1,function(_0x3b793c,_0x15134d){(function(_0x308345,_0x123a8b){var _0x56451a=_0x3549;_0x3b793c[_0x56451a(0x3bf)]=_0x123a8b(Q());}(Ti,function(_0xa4a4b0){var _0x128e23=_0x3549;return function(_0x2e8957){var _0x44d056=_0x3549,_0x588e07=_0xa4a4b0,_0x54ba2b=_0x588e07[_0x44d056(0x2f7)],_0x652b74=_0x54ba2b[_0x44d056(0x143)],_0x11bc33=_0x54ba2b['Hasher'],_0x5890b2=_0x588e07[_0x44d056(0x475)],_0x42a335=[];(function(){var _0x4a2379=_0x44d056;for(var _0x19fef5=0x0;_0x19fef5<0x40;_0x19fef5++)_0x42a335[_0x19fef5]=_0x2e8957[_0x4a2379(0x189)](_0x2e8957['sin'](_0x19fef5+0x1))*0x100000000|0x0;}());var _0x55c7ff=_0x5890b2[_0x44d056(0x318)]=_0x11bc33[_0x44d056(0x382)]({'_doReset':function(){var _0x3fa228=_0x44d056;this[_0x3fa228(0x340)]=new _0x652b74[(_0x3fa228(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x248ff8,_0x32fcfa){var _0x212071=_0x44d056;for(var _0x14f953=0x0;_0x14f953<0x10;_0x14f953++){var _0x303a26=_0x32fcfa+_0x14f953,_0x4965b9=_0x248ff8[_0x303a26];_0x248ff8[_0x303a26]=(_0x4965b9<<0x8|_0x4965b9>>>0x18)&0xff00ff|(_0x4965b9<<0x18|_0x4965b9>>>0x8)&0xff00ff00;}var _0x217e2b=this[_0x212071(0x340)]['words'],_0x3e6796=_0x248ff8[_0x32fcfa+0x0],_0x42e582=_0x248ff8[_0x32fcfa+0x1],_0x2a9f09=_0x248ff8[_0x32fcfa+0x2],_0x3b7d25=_0x248ff8[_0x32fcfa+0x3],_0x381297=_0x248ff8[_0x32fcfa+0x4],_0xe2d345=_0x248ff8[_0x32fcfa+0x5],_0x1bb298=_0x248ff8[_0x32fcfa+0x6],_0x38fc49=_0x248ff8[_0x32fcfa+0x7],_0x112430=_0x248ff8[_0x32fcfa+0x8],_0x4cc2d1=_0x248ff8[_0x32fcfa+0x9],_0x7c7caa=_0x248ff8[_0x32fcfa+0xa],_0x47dd0a=_0x248ff8[_0x32fcfa+0xb],_0x4ad436=_0x248ff8[_0x32fcfa+0xc],_0x5b1379=_0x248ff8[_0x32fcfa+0xd],_0x4a6e18=_0x248ff8[_0x32fcfa+0xe],_0x17c286=_0x248ff8[_0x32fcfa+0xf],_0x59b6de=_0x217e2b[0x0],_0x4d0612=_0x217e2b[0x1],_0x26b9a7=_0x217e2b[0x2],_0x2f0c1d=_0x217e2b[0x3];_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x7,_0x42a335[0x0]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x42e582,0xc,_0x42a335[0x1]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0x11,_0x42a335[0x2]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3b7d25,0x16,_0x42a335[0x3]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x7,_0x42a335[0x4]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0xe2d345,0xc,_0x42a335[0x5]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0x11,_0x42a335[0x6]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x38fc49,0x16,_0x42a335[0x7]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x7,_0x42a335[0x8]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4cc2d1,0xc,_0x42a335[0x9]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0x11,_0x42a335[0xa]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x47dd0a,0x16,_0x42a335[0xb]),_0x59b6de=_0x5006a8(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x7,_0x42a335[0xc]),_0x2f0c1d=_0x5006a8(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x5b1379,0xc,_0x42a335[0xd]),_0x26b9a7=_0x5006a8(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0x11,_0x42a335[0xe]),_0x4d0612=_0x5006a8(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x17c286,0x16,_0x42a335[0xf]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x5,_0x42a335[0x10]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x1bb298,0x9,_0x42a335[0x11]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0xe,_0x42a335[0x12]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x3e6796,0x14,_0x42a335[0x13]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x5,_0x42a335[0x14]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x7c7caa,0x9,_0x42a335[0x15]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0xe,_0x42a335[0x16]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x381297,0x14,_0x42a335[0x17]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x5,_0x42a335[0x18]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4a6e18,0x9,_0x42a335[0x19]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0xe,_0x42a335[0x1a]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x112430,0x14,_0x42a335[0x1b]),_0x59b6de=_0x1fabc9(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x5,_0x42a335[0x1c]),_0x2f0c1d=_0x1fabc9(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x2a9f09,0x9,_0x42a335[0x1d]),_0x26b9a7=_0x1fabc9(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0xe,_0x42a335[0x1e]),_0x4d0612=_0x1fabc9(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4ad436,0x14,_0x42a335[0x1f]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0xe2d345,0x4,_0x42a335[0x20]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x112430,0xb,_0x42a335[0x21]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x47dd0a,0x10,_0x42a335[0x22]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4a6e18,0x17,_0x42a335[0x23]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x42e582,0x4,_0x42a335[0x24]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x381297,0xb,_0x42a335[0x25]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x38fc49,0x10,_0x42a335[0x26]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x7c7caa,0x17,_0x42a335[0x27]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x5b1379,0x4,_0x42a335[0x28]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3e6796,0xb,_0x42a335[0x29]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x3b7d25,0x10,_0x42a335[0x2a]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x1bb298,0x17,_0x42a335[0x2b]),_0x59b6de=_0x1dd97e(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4cc2d1,0x4,_0x42a335[0x2c]),_0x2f0c1d=_0x1dd97e(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x4ad436,0xb,_0x42a335[0x2d]),_0x26b9a7=_0x1dd97e(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x17c286,0x10,_0x42a335[0x2e]),_0x4d0612=_0x1dd97e(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x2a9f09,0x17,_0x42a335[0x2f]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x3e6796,0x6,_0x42a335[0x30]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x38fc49,0xa,_0x42a335[0x31]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x4a6e18,0xf,_0x42a335[0x32]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0xe2d345,0x15,_0x42a335[0x33]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x4ad436,0x6,_0x42a335[0x34]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x3b7d25,0xa,_0x42a335[0x35]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x7c7caa,0xf,_0x42a335[0x36]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x42e582,0x15,_0x42a335[0x37]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x112430,0x6,_0x42a335[0x38]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x17c286,0xa,_0x42a335[0x39]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x1bb298,0xf,_0x42a335[0x3a]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x5b1379,0x15,_0x42a335[0x3b]),_0x59b6de=_0x52e56a(_0x59b6de,_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x381297,0x6,_0x42a335[0x3c]),_0x2f0c1d=_0x52e56a(_0x2f0c1d,_0x59b6de,_0x4d0612,_0x26b9a7,_0x47dd0a,0xa,_0x42a335[0x3d]),_0x26b9a7=_0x52e56a(_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4d0612,_0x2a9f09,0xf,_0x42a335[0x3e]),_0x4d0612=_0x52e56a(_0x4d0612,_0x26b9a7,_0x2f0c1d,_0x59b6de,_0x4cc2d1,0x15,_0x42a335[0x3f]),_0x217e2b[0x0]=_0x217e2b[0x0]+_0x59b6de|0x0,_0x217e2b[0x1]=_0x217e2b[0x1]+_0x4d0612|0x0,_0x217e2b[0x2]=_0x217e2b[0x2]+_0x26b9a7|0x0,_0x217e2b[0x3]=_0x217e2b[0x3]+_0x2f0c1d|0x0;},'_doFinalize':function(){var _0xf82d2d=_0x44d056,_0x281970=this['_data'],_0x5345d1=_0x281970[_0xf82d2d(0x404)],_0x480954=this[_0xf82d2d(0x462)]*0x8,_0x3e748f=_0x281970[_0xf82d2d(0x1a5)]*0x8;_0x5345d1[_0x3e748f>>>0x5]|=0x80<<0x18-_0x3e748f%0x20;var _0x1b96d5=_0x2e8957[_0xf82d2d(0x3a2)](_0x480954/0x100000000),_0x3de54f=_0x480954;_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xf]=(_0x1b96d5<<0x8|_0x1b96d5>>>0x18)&0xff00ff|(_0x1b96d5<<0x18|_0x1b96d5>>>0x8)&0xff00ff00,_0x5345d1[(_0x3e748f+0x40>>>0x9<<0x4)+0xe]=(_0x3de54f<<0x8|_0x3de54f>>>0x18)&0xff00ff|(_0x3de54f<<0x18|_0x3de54f>>>0x8)&0xff00ff00,_0x281970[_0xf82d2d(0x1a5)]=(_0x5345d1[_0xf82d2d(0x388)]+0x1)*0x4,this['_process']();for(var _0xb8380d=this['_hash'],_0x4cf7eb=_0xb8380d[_0xf82d2d(0x404)],_0x528478=0x0;_0x528478<0x4;_0x528478++){var _0x51e66a=_0x4cf7eb[_0x528478];_0x4cf7eb[_0x528478]=(_0x51e66a<<0x8|_0x51e66a>>>0x18)&0xff00ff|(_0x51e66a<<0x18|_0x51e66a>>>0x8)&0xff00ff00;}return _0xb8380d;},'clone':function(){var _0x5d0b59=_0x44d056,_0x1cd292=_0x11bc33['clone'][_0x5d0b59(0x350)](this);return _0x1cd292[_0x5d0b59(0x340)]=this[_0x5d0b59(0x340)][_0x5d0b59(0x31f)](),_0x1cd292;}});function _0x5006a8(_0x59f36b,_0x1e571b,_0x4bca11,_0x315681,_0x229250,_0x846f70,_0x5a2a06){var _0xf43f2d=_0x59f36b+(_0x1e571b&_0x4bca11|~_0x1e571b&_0x315681)+_0x229250+_0x5a2a06;return(_0xf43f2d<<_0x846f70|_0xf43f2d>>>0x20-_0x846f70)+_0x1e571b;}function _0x1fabc9(_0x280404,_0x500677,_0x23ec46,_0x3fee06,_0x164395,_0x256307,_0x9bc589){var _0x54ced5=_0x280404+(_0x500677&_0x3fee06|_0x23ec46&~_0x3fee06)+_0x164395+_0x9bc589;return(_0x54ced5<<_0x256307|_0x54ced5>>>0x20-_0x256307)+_0x500677;}function _0x1dd97e(_0xad5d84,_0x55755f,_0x14ea18,_0x34686e,_0x507018,_0x298a54,_0x28cd6f){var _0x39ab61=_0xad5d84+(_0x55755f^_0x14ea18^_0x34686e)+_0x507018+_0x28cd6f;return(_0x39ab61<<_0x298a54|_0x39ab61>>>0x20-_0x298a54)+_0x55755f;}function _0x52e56a(_0x60f5ab,_0x2d3d9a,_0x2fb90a,_0x189eba,_0x2d69db,_0x547cb2,_0x2574ac){var _0x2a9402=_0x60f5ab+(_0x2fb90a^(_0x2d3d9a|~_0x189eba))+_0x2d69db+_0x2574ac;return(_0x2a9402<<_0x547cb2|_0x2a9402>>>0x20-_0x547cb2)+_0x2d3d9a;}_0x588e07['MD5']=_0x11bc33[_0x44d056(0x20b)](_0x55c7ff),_0x588e07[_0x44d056(0x1d1)]=_0x11bc33[_0x44d056(0x469)](_0x55c7ff);}(Math),_0xa4a4b0[_0x128e23(0x318)];}));}(me)),me[_0x59aab0(0x3bf)];}function _0x3549(_0x36e88a,_0x366d0c){var _0x459c3f=_0x459c();return _0x3549=function(_0x3549df,_0x3e1dfe){_0x3549df=_0x3549df-0x133;var _0x5e50a3=_0x459c3f[_0x3549df];return _0x5e50a3;},_0x3549(_0x36e88a,_0x366d0c);}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x1640f8(0x3bf)],Xe;function Ri(){var _0x20ad50=_0x1640f8;return Xe||(Xe=0x1,function(_0x3165a7,_0x3d8755){(function(_0x1c7299,_0x13d400){var _0x38074b=_0x3549;_0x3165a7[_0x38074b(0x3bf)]=_0x13d400(Q());}(Oi,function(_0x653283){var _0xf52b7=_0x3549;return(function(){var _0x5351cc=_0x3549,_0x3b4199=_0x653283,_0xe1c5d7=_0x3b4199[_0x5351cc(0x2f7)],_0x3d71f1=_0xe1c5d7[_0x5351cc(0x143)],_0x5d71b6=_0xe1c5d7['Hasher'],_0x364e7f=_0x3b4199[_0x5351cc(0x475)],_0x3fd3f8=[],_0x28d67b=_0x364e7f[_0x5351cc(0x348)]=_0x5d71b6[_0x5351cc(0x382)]({'_doReset':function(){var _0x4b0c8d=_0x5351cc;this[_0x4b0c8d(0x340)]=new _0x3d71f1[(_0x4b0c8d(0x27e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xf3c64e,_0xa2384a){var _0x1b0ae1=_0x5351cc;for(var _0x48cda0=this['_hash'][_0x1b0ae1(0x404)],_0xad30b6=_0x48cda0[0x0],_0x212455=_0x48cda0[0x1],_0x295f0b=_0x48cda0[0x2],_0x1b8f92=_0x48cda0[0x3],_0x31a7df=_0x48cda0[0x4],_0x67a5c9=0x0;_0x67a5c9<0x50;_0x67a5c9++){if(_0x67a5c9<0x10)_0x3fd3f8[_0x67a5c9]=_0xf3c64e[_0xa2384a+_0x67a5c9]|0x0;else{var _0x3d5d4f=_0x3fd3f8[_0x67a5c9-0x3]^_0x3fd3f8[_0x67a5c9-0x8]^_0x3fd3f8[_0x67a5c9-0xe]^_0x3fd3f8[_0x67a5c9-0x10];_0x3fd3f8[_0x67a5c9]=_0x3d5d4f<<0x1|_0x3d5d4f>>>0x1f;}var _0x185bba=(_0xad30b6<<0x5|_0xad30b6>>>0x1b)+_0x31a7df+_0x3fd3f8[_0x67a5c9];_0x67a5c9<0x14?_0x185bba+=(_0x212455&_0x295f0b|~_0x212455&_0x1b8f92)+0x5a827999:_0x67a5c9<0x28?_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)+0x6ed9eba1:_0x67a5c9<0x3c?_0x185bba+=(_0x212455&_0x295f0b|_0x212455&_0x1b8f92|_0x295f0b&_0x1b8f92)-0x70e44324:_0x185bba+=(_0x212455^_0x295f0b^_0x1b8f92)-0x359d3e2a,_0x31a7df=_0x1b8f92,_0x1b8f92=_0x295f0b,_0x295f0b=_0x212455<<0x1e|_0x212455>>>0x2,_0x212455=_0xad30b6,_0xad30b6=_0x185bba;}_0x48cda0[0x0]=_0x48cda0[0x0]+_0xad30b6|0x0,_0x48cda0[0x1]=_0x48cda0[0x1]+_0x212455|0x0,_0x48cda0[0x2]=_0x48cda0[0x2]+_0x295f0b|0x0,_0x48cda0[0x3]=_0x48cda0[0x3]+_0x1b8f92|0x0,_0x48cda0[0x4]=_0x48cda0[0x4]+_0x31a7df|0x0;},'_doFinalize':function(){var _0x50513d=_0x5351cc,_0x138697=this['_data'],_0x4f3e30=_0x138697[_0x50513d(0x404)],_0x364cd7=this[_0x50513d(0x462)]*0x8,_0x229a3f=_0x138697['sigBytes']*0x8;return _0x4f3e30[_0x229a3f>>>0x5]|=0x80<<0x18-_0x229a3f%0x20,_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xe]=Math[_0x50513d(0x3a2)](_0x364cd7/0x100000000),_0x4f3e30[(_0x229a3f+0x40>>>0x9<<0x4)+0xf]=_0x364cd7,_0x138697[_0x50513d(0x1a5)]=_0x4f3e30[_0x50513d(0x388)]*0x4,this[_0x50513d(0x46f)](),this[_0x50513d(0x340)];},'clone':function(){var _0x3f46bd=_0x5351cc,_0x4022f2=_0x5d71b6['clone'][_0x3f46bd(0x350)](this);return _0x4022f2[_0x3f46bd(0x340)]=this['_hash'][_0x3f46bd(0x31f)](),_0x4022f2;}});_0x3b4199[_0x5351cc(0x348)]=_0x5d71b6['_createHelper'](_0x28d67b),_0x3b4199[_0x5351cc(0x37c)]=_0x5d71b6[_0x5351cc(0x469)](_0x28d67b);}()),_0x653283[_0xf52b7(0x348)];}));}(Ee)),Ee[_0x20ad50(0x3bf)];}var Ce={'exports':{}},yi=Ce[_0x1640f8(0x3bf)],Ze;function Ni(){var _0x50335d=_0x1640f8;return Ze||(Ze=0x1,function(_0x44af9a,_0x4d7fed){(function(_0x4ade51,_0x58132a){var _0x2178f6=_0x3549;_0x44af9a[_0x2178f6(0x3bf)]=_0x58132a(Q());}(yi,function(_0x435c6f){(function(){var _0x2f7f00=_0x3549,_0x261bad=_0x435c6f,_0x38264c=_0x261bad[_0x2f7f00(0x2f7)],_0x1f9a7d=_0x38264c['Base'],_0x1b7f9b=_0x261bad[_0x2f7f00(0x2cd)],_0x21f14f=_0x1b7f9b['Utf8'],_0x2cd923=_0x261bad[_0x2f7f00(0x475)];_0x2cd923['HMAC']=_0x1f9a7d['extend']({'init':function(_0x4edf49,_0x3be49a){var _0x526421=_0x2f7f00;_0x4edf49=this[_0x526421(0x366)]=new _0x4edf49[(_0x526421(0x27e))](),typeof _0x3be49a==_0x526421(0x2d0)&&(_0x3be49a=_0x21f14f[_0x526421(0x493)](_0x3be49a));var _0x903f64=_0x4edf49[_0x526421(0x2dd)],_0x38e32a=_0x903f64*0x4;_0x3be49a[_0x526421(0x1a5)]>_0x38e32a&&(_0x3be49a=_0x4edf49['finalize'](_0x3be49a)),_0x3be49a[_0x526421(0x3e6)]();for(var _0x51b947=this[_0x526421(0x194)]=_0x3be49a['clone'](),_0x49dc09=this[_0x526421(0x1ca)]=_0x3be49a[_0x526421(0x31f)](),_0x2dd3a4=_0x51b947['words'],_0x397ffd=_0x49dc09[_0x526421(0x404)],_0x54cd13=0x0;_0x54cd13<_0x903f64;_0x54cd13++)_0x2dd3a4[_0x54cd13]^=0x5c5c5c5c,_0x397ffd[_0x54cd13]^=0x36363636;_0x51b947[_0x526421(0x1a5)]=_0x49dc09[_0x526421(0x1a5)]=_0x38e32a,this[_0x526421(0x354)]();},'reset':function(){var _0x46be55=_0x2f7f00,_0x507cab=this[_0x46be55(0x366)];_0x507cab[_0x46be55(0x354)](),_0x507cab['update'](this[_0x46be55(0x1ca)]);},'update':function(_0x2c73f3){var _0x2b5349=_0x2f7f00;return this[_0x2b5349(0x366)]['update'](_0x2c73f3),this;},'finalize':function(_0x2fb89a){var _0x2cd1ad=_0x2f7f00,_0x4d2ec5=this['_hasher'],_0x57f051=_0x4d2ec5[_0x2cd1ad(0x467)](_0x2fb89a);_0x4d2ec5['reset']();var _0x4cd115=_0x4d2ec5[_0x2cd1ad(0x467)](this[_0x2cd1ad(0x194)][_0x2cd1ad(0x31f)]()[_0x2cd1ad(0x30e)](_0x57f051));return _0x4cd115;}});}());}));}(Ce)),Ce[_0x50335d(0x3bf)];}var Di=ge[_0x1640f8(0x3bf)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x523dfd,_0xf33801){(function(_0x3d82e2,_0x425c2b,_0x55311a){var _0x26e2f4=_0x3549;_0x523dfd[_0x26e2f4(0x3bf)]=_0x425c2b(Q(),Ri(),Ni());}(Di,function(_0x766521){var _0x3c1972=_0x3549;return(function(){var _0x1f2c72=_0x3549,_0x50c1e3=_0x766521,_0x422933=_0x50c1e3[_0x1f2c72(0x2f7)],_0x4db674=_0x422933[_0x1f2c72(0x29c)],_0x3f1c5e=_0x422933[_0x1f2c72(0x143)],_0x1f285b=_0x50c1e3[_0x1f2c72(0x475)],_0x2e5d37=_0x1f285b[_0x1f2c72(0x318)],_0x4f3c89=_0x1f285b[_0x1f2c72(0x16d)]=_0x4db674[_0x1f2c72(0x382)]({'cfg':_0x4db674[_0x1f2c72(0x382)]({'keySize':0x80/0x20,'hasher':_0x2e5d37,'iterations':0x1}),'init':function(_0xa602ce){var _0x14a6c6=_0x1f2c72;this['cfg']=this[_0x14a6c6(0x20a)][_0x14a6c6(0x382)](_0xa602ce);},'compute':function(_0x16bbeb,_0x3d8c6e){var _0x95dfd=_0x1f2c72;for(var _0x40baa5,_0x5653ce=this[_0x95dfd(0x20a)],_0x1ec0e1=_0x5653ce[_0x95dfd(0x32b)][_0x95dfd(0x3cb)](),_0x59e965=_0x3f1c5e[_0x95dfd(0x3cb)](),_0x1a278e=_0x59e965['words'],_0xa6ebc4=_0x5653ce[_0x95dfd(0x205)],_0x1debed=_0x5653ce[_0x95dfd(0x197)];_0x1a278e[_0x95dfd(0x388)]<_0xa6ebc4;){_0x40baa5&&_0x1ec0e1['update'](_0x40baa5),_0x40baa5=_0x1ec0e1['update'](_0x16bbeb)[_0x95dfd(0x467)](_0x3d8c6e),_0x1ec0e1[_0x95dfd(0x354)]();for(var _0x5cd519=0x1;_0x5cd519<_0x1debed;_0x5cd519++)_0x40baa5=_0x1ec0e1[_0x95dfd(0x467)](_0x40baa5),_0x1ec0e1['reset']();_0x59e965[_0x95dfd(0x30e)](_0x40baa5);}return _0x59e965[_0x95dfd(0x1a5)]=_0xa6ebc4*0x4,_0x59e965;}});_0x50c1e3[_0x1f2c72(0x16d)]=function(_0x20da9d,_0x32dbf8,_0x1af606){var _0x1ae476=_0x1f2c72;return _0x4f3c89[_0x1ae476(0x3cb)](_0x1af606)['compute'](_0x20da9d,_0x32dbf8);};}()),_0x766521[_0x3c1972(0x16d)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){return et||(et=0x1,function(_0x31a5ca,_0x38ad76){(function(_0x3a53eb,_0x437ec9,_0x2c3975){var _0x1eec27=_0x3549;_0x31a5ca[_0x1eec27(0x3bf)]=_0x437ec9(Q(),Ct());}(Ui,function(_0xa57351){var _0xfa278f=_0x3549;_0xa57351[_0xfa278f(0x2f7)]['Cipher']||function(_0x51ae09){var _0x3e29e7=_0xfa278f,_0x1c148b=_0xa57351,_0x19af61=_0x1c148b[_0x3e29e7(0x2f7)],_0x498c7b=_0x19af61['Base'],_0x5cfa59=_0x19af61[_0x3e29e7(0x143)],_0x520cf7=_0x19af61['BufferedBlockAlgorithm'],_0x35311a=_0x1c148b[_0x3e29e7(0x2cd)];_0x35311a[_0x3e29e7(0x35d)];var _0x286b52=_0x35311a['Base64'],_0x1aea73=_0x1c148b[_0x3e29e7(0x475)],_0x205631=_0x1aea73['EvpKDF'],_0x1aa858=_0x19af61[_0x3e29e7(0x33e)]=_0x520cf7[_0x3e29e7(0x382)]({'cfg':_0x498c7b[_0x3e29e7(0x382)](),'createEncryptor':function(_0x229faa,_0x516bf4){var _0x25453b=_0x3e29e7;return this[_0x25453b(0x3cb)](this[_0x25453b(0x3a1)],_0x229faa,_0x516bf4);},'createDecryptor':function(_0x28acb2,_0x377f95){var _0xa26441=_0x3e29e7;return this[_0xa26441(0x3cb)](this[_0xa26441(0x215)],_0x28acb2,_0x377f95);},'init':function(_0x5472d3,_0x21a903,_0x44b862){var _0x51c13c=_0x3e29e7;this['cfg']=this[_0x51c13c(0x20a)][_0x51c13c(0x382)](_0x44b862),this[_0x51c13c(0x426)]=_0x5472d3,this[_0x51c13c(0x3b5)]=_0x21a903,this[_0x51c13c(0x354)]();},'reset':function(){var _0x4c00da=_0x3e29e7;_0x520cf7[_0x4c00da(0x354)][_0x4c00da(0x350)](this),this[_0x4c00da(0x43e)]();},'process':function(_0x6b69c8){var _0x14e766=_0x3e29e7;return this['_append'](_0x6b69c8),this[_0x14e766(0x46f)]();},'finalize':function(_0x1569e7){var _0xfae6e=_0x3e29e7;_0x1569e7&&this['_append'](_0x1569e7);var _0x327723=this[_0xfae6e(0x3cf)]();return _0x327723;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1105f(_0x1162f3){var _0x3a9b10=_0x3549;return typeof _0x1162f3==_0x3a9b10(0x2d0)?_0x266cef:_0x376369;}return function(_0x2478c8){return{'encrypt':function(_0x1f0e41,_0x3d617d,_0x4c883d){var _0x229fe0=_0x3549;return _0x1105f(_0x3d617d)[_0x229fe0(0x308)](_0x2478c8,_0x1f0e41,_0x3d617d,_0x4c883d);},'decrypt':function(_0xfa2ad8,_0xc2d3f6,_0x59e905){var _0x10ac9c=_0x3549;return _0x1105f(_0xc2d3f6)[_0x10ac9c(0x32f)](_0x2478c8,_0xfa2ad8,_0xc2d3f6,_0x59e905);}};};}())});_0x19af61['StreamCipher']=_0x1aa858[_0x3e29e7(0x382)]({'_doFinalize':function(){var _0x243f5f=_0x3e29e7,_0x52d026=this[_0x243f5f(0x46f)](!0x0);return _0x52d026;},'blockSize':0x1});var _0xd5e4af=_0x1c148b[_0x3e29e7(0x180)]={},_0x372e71=_0x19af61[_0x3e29e7(0x1dc)]=_0x498c7b['extend']({'createEncryptor':function(_0x1d17e7,_0x226d51){return this['Encryptor']['create'](_0x1d17e7,_0x226d51);},'createDecryptor':function(_0x358d5d,_0x28c5ab){var _0x571a1c=_0x3e29e7;return this['Decryptor'][_0x571a1c(0x3cb)](_0x358d5d,_0x28c5ab);},'init':function(_0x543a31,_0x368b27){var _0x16ec57=_0x3e29e7;this[_0x16ec57(0x48e)]=_0x543a31,this[_0x16ec57(0x46d)]=_0x368b27;}}),_0x446040=_0xd5e4af['CBC']=(function(){var _0xaa85a9=_0x3e29e7,_0x3ca351=_0x372e71[_0xaa85a9(0x382)]();_0x3ca351['Encryptor']=_0x3ca351['extend']({'processBlock':function(_0x21a610,_0x16475c){var _0x485d35=_0xaa85a9,_0x2c3b5c=this[_0x485d35(0x48e)],_0xe928ef=_0x2c3b5c[_0x485d35(0x2dd)];_0x472bea[_0x485d35(0x350)](this,_0x21a610,_0x16475c,_0xe928ef),_0x2c3b5c[_0x485d35(0x24c)](_0x21a610,_0x16475c),this[_0x485d35(0x2f6)]=_0x21a610[_0x485d35(0x21e)](_0x16475c,_0x16475c+_0xe928ef);}}),_0x3ca351[_0xaa85a9(0x27c)]=_0x3ca351[_0xaa85a9(0x382)]({'processBlock':function(_0x1d0e9f,_0x1bd86c){var _0x102c72=_0xaa85a9,_0x4b9ff2=this[_0x102c72(0x48e)],_0x2d9444=_0x4b9ff2[_0x102c72(0x2dd)],_0x1f7d7c=_0x1d0e9f[_0x102c72(0x21e)](_0x1bd86c,_0x1bd86c+_0x2d9444);_0x4b9ff2[_0x102c72(0x228)](_0x1d0e9f,_0x1bd86c),_0x472bea[_0x102c72(0x350)](this,_0x1d0e9f,_0x1bd86c,_0x2d9444),this['_prevBlock']=_0x1f7d7c;}});function _0x472bea(_0x3ed4fc,_0x10b991,_0x199aa0){var _0x21bbb2=_0xaa85a9,_0x42afbc,_0x328663=this[_0x21bbb2(0x46d)];_0x328663?(_0x42afbc=_0x328663,this[_0x21bbb2(0x46d)]=_0x51ae09):_0x42afbc=this['_prevBlock'];for(var _0x5635a4=0x0;_0x5635a4<_0x199aa0;_0x5635a4++)_0x3ed4fc[_0x10b991+_0x5635a4]^=_0x42afbc[_0x5635a4];}return _0x3ca351;}()),_0x13bfcd=_0x1c148b[_0x3e29e7(0x39b)]={},_0x239b77=_0x13bfcd[_0x3e29e7(0x3e7)]={'pad':function(_0x240395,_0x3e6975){var _0x265260=_0x3e29e7;for(var _0x4c5ce2=_0x3e6975*0x4,_0x35f3dd=_0x4c5ce2-_0x240395[_0x265260(0x1a5)]%_0x4c5ce2,_0x43a429=_0x35f3dd<<0x18|_0x35f3dd<<0x10|_0x35f3dd<<0x8|_0x35f3dd,_0x1a6f56=[],_0xd1a1f=0x0;_0xd1a1f<_0x35f3dd;_0xd1a1f+=0x4)_0x1a6f56['push'](_0x43a429);var _0x3086cb=_0x5cfa59[_0x265260(0x3cb)](_0x1a6f56,_0x35f3dd);_0x240395[_0x265260(0x30e)](_0x3086cb);},'unpad':function(_0x5e3af7){var _0x562b99=_0x3e29e7,_0x4cca21=_0x5e3af7['words'][_0x5e3af7[_0x562b99(0x1a5)]-0x1>>>0x2]&0xff;_0x5e3af7[_0x562b99(0x1a5)]-=_0x4cca21;}};_0x19af61[_0x3e29e7(0x44e)]=_0x1aa858[_0x3e29e7(0x382)]({'cfg':_0x1aa858['cfg']['extend']({'mode':_0x446040,'padding':_0x239b77}),'reset':function(){var _0x4c3962=_0x3e29e7,_0x3ffd82;_0x1aa858[_0x4c3962(0x354)][_0x4c3962(0x350)](this);var _0x23853b=this[_0x4c3962(0x20a)],_0x4f707c=_0x23853b['iv'],_0x53780e=_0x23853b[_0x4c3962(0x180)];this[_0x4c3962(0x426)]==this['_ENC_XFORM_MODE']?_0x3ffd82=_0x53780e[_0x4c3962(0x161)]:(_0x3ffd82=_0x53780e[_0x4c3962(0x1e1)],this[_0x4c3962(0x1d9)]=0x1),this[_0x4c3962(0x23f)]&&this['_mode'][_0x4c3962(0x1a3)]==_0x3ffd82?this[_0x4c3962(0x23f)][_0x4c3962(0x27e)](this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]):(this[_0x4c3962(0x23f)]=_0x3ffd82[_0x4c3962(0x350)](_0x53780e,this,_0x4f707c&&_0x4f707c[_0x4c3962(0x404)]),this['_mode'][_0x4c3962(0x1a3)]=_0x3ffd82);},'_doProcessBlock':function(_0x530cbb,_0x4125f0){this['_mode']['processBlock'](_0x530cbb,_0x4125f0);},'_doFinalize':function(){var _0x494bd8=_0x3e29e7,_0x31673c,_0xda88b=this[_0x494bd8(0x20a)]['padding'];return this['_xformMode']==this[_0x494bd8(0x3a1)]?(_0xda88b[_0x494bd8(0x39b)](this[_0x494bd8(0x44f)],this[_0x494bd8(0x2dd)]),_0x31673c=this[_0x494bd8(0x46f)](!0x0)):(_0x31673c=this[_0x494bd8(0x46f)](!0x0),_0xda88b['unpad'](_0x31673c)),_0x31673c;},'blockSize':0x80/0x20});var _0x2a9a69=_0x19af61[_0x3e29e7(0x362)]=_0x498c7b['extend']({'init':function(_0x1639f6){var _0x55920b=_0x3e29e7;this[_0x55920b(0x3b4)](_0x1639f6);},'toString':function(_0x33f32b){var _0x24450f=_0x3e29e7;return(_0x33f32b||this[_0x24450f(0x458)])['stringify'](this);}}),_0x23b0cd=_0x1c148b[_0x3e29e7(0x1cc)]={},_0x2b6695=_0x23b0cd[_0x3e29e7(0x38b)]={'stringify':function(_0x135f92){var _0x12aaa1=_0x3e29e7,_0x21607c,_0x82b8e6=_0x135f92['ciphertext'],_0x24ceb9=_0x135f92[_0x12aaa1(0x17f)];return _0x24ceb9?_0x21607c=_0x5cfa59[_0x12aaa1(0x3cb)]([0x53616c74,0x65645f5f])['concat'](_0x24ceb9)[_0x12aaa1(0x30e)](_0x82b8e6):_0x21607c=_0x82b8e6,_0x21607c[_0x12aaa1(0x42b)](_0x286b52);},'parse':function(_0x518707){var _0xc20c35=_0x3e29e7,_0x2d3a62,_0xff8ae0=_0x286b52[_0xc20c35(0x493)](_0x518707),_0xbb83b5=_0xff8ae0['words'];return _0xbb83b5[0x0]==0x53616c74&&_0xbb83b5[0x1]==0x65645f5f&&(_0x2d3a62=_0x5cfa59[_0xc20c35(0x3cb)](_0xbb83b5[_0xc20c35(0x21e)](0x2,0x4)),_0xbb83b5[_0xc20c35(0x204)](0x0,0x4),_0xff8ae0[_0xc20c35(0x1a5)]-=0x10),_0x2a9a69['create']({'ciphertext':_0xff8ae0,'salt':_0x2d3a62});}},_0x376369=_0x19af61['SerializableCipher']=_0x498c7b[_0x3e29e7(0x382)]({'cfg':_0x498c7b['extend']({'format':_0x2b6695}),'encrypt':function(_0xa1bb77,_0xb37b47,_0x23e38a,_0xec4f31){var _0x34a19d=_0x3e29e7;_0xec4f31=this['cfg'][_0x34a19d(0x382)](_0xec4f31);var _0xb0384f=_0xa1bb77['createEncryptor'](_0x23e38a,_0xec4f31),_0x1f5c59=_0xb0384f[_0x34a19d(0x467)](_0xb37b47),_0x53a98e=_0xb0384f[_0x34a19d(0x20a)];return _0x2a9a69['create']({'ciphertext':_0x1f5c59,'key':_0x23e38a,'iv':_0x53a98e['iv'],'algorithm':_0xa1bb77,'mode':_0x53a98e[_0x34a19d(0x180)],'padding':_0x53a98e['padding'],'blockSize':_0xa1bb77[_0x34a19d(0x2dd)],'formatter':_0xec4f31[_0x34a19d(0x1cc)]});},'decrypt':function(_0x33e624,_0x18f0ac,_0x40bd28,_0x5f27a0){var _0x469e28=_0x3e29e7;_0x5f27a0=this[_0x469e28(0x20a)][_0x469e28(0x382)](_0x5f27a0),_0x18f0ac=this[_0x469e28(0x1fa)](_0x18f0ac,_0x5f27a0['format']);var _0x3e618f=_0x33e624[_0x469e28(0x1e1)](_0x40bd28,_0x5f27a0)[_0x469e28(0x467)](_0x18f0ac[_0x469e28(0x393)]);return _0x3e618f;},'_parse':function(_0x3f246c,_0x57ed6f){return typeof _0x3f246c=='string'?_0x57ed6f['parse'](_0x3f246c,this):_0x3f246c;}}),_0x5ec97b=_0x1c148b[_0x3e29e7(0x2ba)]={},_0x589b5b=_0x5ec97b[_0x3e29e7(0x38b)]={'execute':function(_0x36a09f,_0x55ba95,_0x102dfa,_0x39ab2e,_0x17a69d){var _0x19db78=_0x3e29e7;if(_0x39ab2e||(_0x39ab2e=_0x5cfa59['random'](0x40/0x8)),_0x17a69d)var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa,'hasher':_0x17a69d})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);else var _0x1684ed=_0x205631[_0x19db78(0x3cb)]({'keySize':_0x55ba95+_0x102dfa})[_0x19db78(0x2e3)](_0x36a09f,_0x39ab2e);var _0x16e42=_0x5cfa59['create'](_0x1684ed[_0x19db78(0x404)][_0x19db78(0x21e)](_0x55ba95),_0x102dfa*0x4);return _0x1684ed['sigBytes']=_0x55ba95*0x4,_0x2a9a69[_0x19db78(0x3cb)]({'key':_0x1684ed,'iv':_0x16e42,'salt':_0x39ab2e});}},_0x266cef=_0x19af61[_0x3e29e7(0x489)]=_0x376369[_0x3e29e7(0x382)]({'cfg':_0x376369['cfg'][_0x3e29e7(0x382)]({'kdf':_0x589b5b}),'encrypt':function(_0x4d0301,_0x258bf8,_0x2f800f,_0x55752c){var _0x38bde0=_0x3e29e7;_0x55752c=this[_0x38bde0(0x20a)]['extend'](_0x55752c);var _0x108dc9=_0x55752c[_0x38bde0(0x2ba)][_0x38bde0(0x25d)](_0x2f800f,_0x4d0301[_0x38bde0(0x205)],_0x4d0301[_0x38bde0(0x135)],_0x55752c[_0x38bde0(0x17f)],_0x55752c['hasher']);_0x55752c['iv']=_0x108dc9['iv'];var _0x2c7919=_0x376369[_0x38bde0(0x308)][_0x38bde0(0x350)](this,_0x4d0301,_0x258bf8,_0x108dc9[_0x38bde0(0x3ea)],_0x55752c);return _0x2c7919[_0x38bde0(0x3b4)](_0x108dc9),_0x2c7919;},'decrypt':function(_0xde3082,_0x20a018,_0x5c1c18,_0x350bc3){var _0x5e4333=_0x3e29e7;_0x350bc3=this[_0x5e4333(0x20a)][_0x5e4333(0x382)](_0x350bc3),_0x20a018=this['_parse'](_0x20a018,_0x350bc3[_0x5e4333(0x1cc)]);var _0x382ef7=_0x350bc3['kdf'][_0x5e4333(0x25d)](_0x5c1c18,_0xde3082[_0x5e4333(0x205)],_0xde3082[_0x5e4333(0x135)],_0x20a018[_0x5e4333(0x17f)],_0x350bc3[_0x5e4333(0x32b)]);_0x350bc3['iv']=_0x382ef7['iv'];var _0x1c7ac8=_0x376369[_0x5e4333(0x32f)][_0x5e4333(0x350)](this,_0xde3082,_0x20a018,_0x382ef7[_0x5e4333(0x3ea)],_0x350bc3);return _0x1c7ac8;}});}();}));}(Te)),Te['exports'];}var Ai=fe[_0x1640f8(0x3bf)],tt;function Pi(){return tt||(tt=0x1,function(_0x35692f,_0x1156f2){(function(_0x35f8ff,_0x4cdac9,_0x556459){var _0x1b00e3=_0x3549;_0x35692f[_0x1b00e3(0x3bf)]=_0x4cdac9(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0xa05d37){var _0xa93d8c=_0x3549;return(function(){var _0x492ecc=_0x3549,_0x53abd7=_0xa05d37,_0x117e99=_0x53abd7[_0x492ecc(0x2f7)],_0x17d1bf=_0x117e99['BlockCipher'],_0x2b6fa1=_0x53abd7['algo'],_0x4e3b4e=[],_0x12a371=[],_0x32b352=[],_0xbd995b=[],_0xbeaee4=[],_0x4d7d28=[],_0x4096a5=[],_0x40fd9c=[],_0x1560f0=[],_0x114384=[];(function(){for(var _0x19a491=[],_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++)_0x2fd739<0x80?_0x19a491[_0x2fd739]=_0x2fd739<<0x1:_0x19a491[_0x2fd739]=_0x2fd739<<0x1^0x11b;for(var _0x278936=0x0,_0x5d95d5=0x0,_0x2fd739=0x0;_0x2fd739<0x100;_0x2fd739++){var _0x274285=_0x5d95d5^_0x5d95d5<<0x1^_0x5d95d5<<0x2^_0x5d95d5<<0x3^_0x5d95d5<<0x4;_0x274285=_0x274285>>>0x8^_0x274285&0xff^0x63,_0x4e3b4e[_0x278936]=_0x274285,_0x12a371[_0x274285]=_0x278936;var _0x891d6a=_0x19a491[_0x278936],_0x2cf629=_0x19a491[_0x891d6a],_0x4d6beb=_0x19a491[_0x2cf629],_0x2ddef4=_0x19a491[_0x274285]*0x101^_0x274285*0x1010100;_0x32b352[_0x278936]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0xbd995b[_0x278936]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0xbeaee4[_0x278936]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x4d7d28[_0x278936]=_0x2ddef4;var _0x2ddef4=_0x4d6beb*0x1010101^_0x2cf629*0x10001^_0x891d6a*0x101^_0x278936*0x1010100;_0x4096a5[_0x274285]=_0x2ddef4<<0x18|_0x2ddef4>>>0x8,_0x40fd9c[_0x274285]=_0x2ddef4<<0x10|_0x2ddef4>>>0x10,_0x1560f0[_0x274285]=_0x2ddef4<<0x8|_0x2ddef4>>>0x18,_0x114384[_0x274285]=_0x2ddef4,_0x278936?(_0x278936=_0x891d6a^_0x19a491[_0x19a491[_0x19a491[_0x4d6beb^_0x891d6a]]],_0x5d95d5^=_0x19a491[_0x19a491[_0x5d95d5]]):_0x278936=_0x5d95d5=0x1;}}());var _0x295498=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x119a51=_0x2b6fa1['AES']=_0x17d1bf['extend']({'_doReset':function(){var _0x55105e=_0x492ecc,_0x33ffb1;if(!(this[_0x55105e(0x1ae)]&&this[_0x55105e(0x29b)]===this[_0x55105e(0x3b5)])){for(var _0x1e99f7=this[_0x55105e(0x29b)]=this[_0x55105e(0x3b5)],_0x403b06=_0x1e99f7['words'],_0x47da30=_0x1e99f7['sigBytes']/0x4,_0x347ef3=this['_nRounds']=_0x47da30+0x6,_0x36ffdd=(_0x347ef3+0x1)*0x4,_0x3a335c=this[_0x55105e(0x36a)]=[],_0x5abcc3=0x0;_0x5abcc3<_0x36ffdd;_0x5abcc3++)_0x5abcc3<_0x47da30?_0x3a335c[_0x5abcc3]=_0x403b06[_0x5abcc3]:(_0x33ffb1=_0x3a335c[_0x5abcc3-0x1],_0x5abcc3%_0x47da30?_0x47da30>0x6&&_0x5abcc3%_0x47da30==0x4&&(_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff]):(_0x33ffb1=_0x33ffb1<<0x8|_0x33ffb1>>>0x18,_0x33ffb1=_0x4e3b4e[_0x33ffb1>>>0x18]<<0x18|_0x4e3b4e[_0x33ffb1>>>0x10&0xff]<<0x10|_0x4e3b4e[_0x33ffb1>>>0x8&0xff]<<0x8|_0x4e3b4e[_0x33ffb1&0xff],_0x33ffb1^=_0x295498[_0x5abcc3/_0x47da30|0x0]<<0x18),_0x3a335c[_0x5abcc3]=_0x3a335c[_0x5abcc3-_0x47da30]^_0x33ffb1);for(var _0x46c47c=this['_invKeySchedule']=[],_0x203b26=0x0;_0x203b26<_0x36ffdd;_0x203b26++){var _0x5abcc3=_0x36ffdd-_0x203b26;if(_0x203b26%0x4)var _0x33ffb1=_0x3a335c[_0x5abcc3];else var _0x33ffb1=_0x3a335c[_0x5abcc3-0x4];_0x203b26<0x4||_0x5abcc3<=0x4?_0x46c47c[_0x203b26]=_0x33ffb1:_0x46c47c[_0x203b26]=_0x4096a5[_0x4e3b4e[_0x33ffb1>>>0x18]]^_0x40fd9c[_0x4e3b4e[_0x33ffb1>>>0x10&0xff]]^_0x1560f0[_0x4e3b4e[_0x33ffb1>>>0x8&0xff]]^_0x114384[_0x4e3b4e[_0x33ffb1&0xff]];}}},'encryptBlock':function(_0x42485c,_0x1cc8d3){this['_doCryptBlock'](_0x42485c,_0x1cc8d3,this['_keySchedule'],_0x32b352,_0xbd995b,_0xbeaee4,_0x4d7d28,_0x4e3b4e);},'decryptBlock':function(_0x117489,_0x57797a){var _0x251461=_0x492ecc,_0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd,this[_0x251461(0x2c3)](_0x117489,_0x57797a,this[_0x251461(0x222)],_0x4096a5,_0x40fd9c,_0x1560f0,_0x114384,_0x12a371);var _0x58d7fd=_0x117489[_0x57797a+0x1];_0x117489[_0x57797a+0x1]=_0x117489[_0x57797a+0x3],_0x117489[_0x57797a+0x3]=_0x58d7fd;},'_doCryptBlock':function(_0xe05aef,_0x3d2859,_0x5479aa,_0x58188b,_0x4b1406,_0x49f78e,_0x2b0d4d,_0x4ba273){for(var _0x4f4ff0=this['_nRounds'],_0x5d42cf=_0xe05aef[_0x3d2859]^_0x5479aa[0x0],_0x20d324=_0xe05aef[_0x3d2859+0x1]^_0x5479aa[0x1],_0x549e03=_0xe05aef[_0x3d2859+0x2]^_0x5479aa[0x2],_0x22ee75=_0xe05aef[_0x3d2859+0x3]^_0x5479aa[0x3],_0x31666=0x4,_0x4d50db=0x1;_0x4d50db<_0x4f4ff0;_0x4d50db++){var _0x11691a=_0x58188b[_0x5d42cf>>>0x18]^_0x4b1406[_0x20d324>>>0x10&0xff]^_0x49f78e[_0x549e03>>>0x8&0xff]^_0x2b0d4d[_0x22ee75&0xff]^_0x5479aa[_0x31666++],_0x4b60f0=_0x58188b[_0x20d324>>>0x18]^_0x4b1406[_0x549e03>>>0x10&0xff]^_0x49f78e[_0x22ee75>>>0x8&0xff]^_0x2b0d4d[_0x5d42cf&0xff]^_0x5479aa[_0x31666++],_0x408b0e=_0x58188b[_0x549e03>>>0x18]^_0x4b1406[_0x22ee75>>>0x10&0xff]^_0x49f78e[_0x5d42cf>>>0x8&0xff]^_0x2b0d4d[_0x20d324&0xff]^_0x5479aa[_0x31666++],_0x21324e=_0x58188b[_0x22ee75>>>0x18]^_0x4b1406[_0x5d42cf>>>0x10&0xff]^_0x49f78e[_0x20d324>>>0x8&0xff]^_0x2b0d4d[_0x549e03&0xff]^_0x5479aa[_0x31666++];_0x5d42cf=_0x11691a,_0x20d324=_0x4b60f0,_0x549e03=_0x408b0e,_0x22ee75=_0x21324e;}var _0x11691a=(_0x4ba273[_0x5d42cf>>>0x18]<<0x18|_0x4ba273[_0x20d324>>>0x10&0xff]<<0x10|_0x4ba273[_0x549e03>>>0x8&0xff]<<0x8|_0x4ba273[_0x22ee75&0xff])^_0x5479aa[_0x31666++],_0x4b60f0=(_0x4ba273[_0x20d324>>>0x18]<<0x18|_0x4ba273[_0x549e03>>>0x10&0xff]<<0x10|_0x4ba273[_0x22ee75>>>0x8&0xff]<<0x8|_0x4ba273[_0x5d42cf&0xff])^_0x5479aa[_0x31666++],_0x408b0e=(_0x4ba273[_0x549e03>>>0x18]<<0x18|_0x4ba273[_0x22ee75>>>0x10&0xff]<<0x10|_0x4ba273[_0x5d42cf>>>0x8&0xff]<<0x8|_0x4ba273[_0x20d324&0xff])^_0x5479aa[_0x31666++],_0x21324e=(_0x4ba273[_0x22ee75>>>0x18]<<0x18|_0x4ba273[_0x5d42cf>>>0x10&0xff]<<0x10|_0x4ba273[_0x20d324>>>0x8&0xff]<<0x8|_0x4ba273[_0x549e03&0xff])^_0x5479aa[_0x31666++];_0xe05aef[_0x3d2859]=_0x11691a,_0xe05aef[_0x3d2859+0x1]=_0x4b60f0,_0xe05aef[_0x3d2859+0x2]=_0x408b0e,_0xe05aef[_0x3d2859+0x3]=_0x21324e;},'keySize':0x100/0x20});_0x53abd7[_0x492ecc(0x2fd)]=_0x17d1bf['_createHelper'](_0x119a51);}()),_0xa05d37[_0xa93d8c(0x2fd)];}));}(fe)),fe['exports'];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x1640f8(0x3bf)],nt;function ki(){var _0x4c3190=_0x1640f8;return nt||(nt=0x1,function(_0x1f87e6,_0x38249c){(function(_0x35b952,_0x46bf40){_0x1f87e6['exports']=_0x46bf40(Q());}(xi,function(_0x553855){var _0x11d2b5=_0x3549;return _0x553855[_0x11d2b5(0x2cd)][_0x11d2b5(0x35d)];}));}(be)),be[_0x4c3190(0x3bf)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x1640f8(0x3bf)],rt;function Bi(){var _0x53a5b8=_0x1640f8;return rt||(rt=0x1,function(_0x1dfe5d,_0x2c7e5f){(function(_0x37694e,_0x2c7118){var _0x54bf80=_0x3549;_0x1dfe5d[_0x54bf80(0x3bf)]=_0x2c7118(Q());}(ji,function(_0x4bc05d){var _0x5f3ac2=_0x3549;return(function(){var _0x789e72=_0x3549;if(typeof ArrayBuffer=='function'){var _0x8b105f=_0x4bc05d,_0x14f8ac=_0x8b105f['lib'],_0x41ad71=_0x14f8ac[_0x789e72(0x143)],_0xe23863=_0x41ad71[_0x789e72(0x27e)],_0x59f6de=_0x41ad71[_0x789e72(0x27e)]=function(_0x673ecb){var _0x4aac0f=_0x789e72;if(_0x673ecb instanceof ArrayBuffer&&(_0x673ecb=new Uint8Array(_0x673ecb)),(_0x673ecb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x673ecb instanceof Uint8ClampedArray||_0x673ecb instanceof Int16Array||_0x673ecb instanceof Uint16Array||_0x673ecb instanceof Int32Array||_0x673ecb instanceof Uint32Array||_0x673ecb instanceof Float32Array||_0x673ecb instanceof Float64Array)&&(_0x673ecb=new Uint8Array(_0x673ecb['buffer'],_0x673ecb['byteOffset'],_0x673ecb[_0x4aac0f(0x425)])),_0x673ecb instanceof Uint8Array){for(var _0x11f459=_0x673ecb['byteLength'],_0x4e4977=[],_0x578ba5=0x0;_0x578ba5<_0x11f459;_0x578ba5++)_0x4e4977[_0x578ba5>>>0x2]|=_0x673ecb[_0x578ba5]<<0x18-_0x578ba5%0x4*0x8;_0xe23863['call'](this,_0x4e4977,_0x11f459);}else _0xe23863[_0x4aac0f(0x219)](this,arguments);};_0x59f6de['prototype']=_0x41ad71;}}()),_0x4bc05d[_0x5f3ac2(0x2f7)][_0x5f3ac2(0x143)];}));}(Oe)),Oe[_0x53a5b8(0x3bf)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x1640f8(0x3bf)],st;function Gi(){var _0xb66527=_0x1640f8;return st||(st=0x1,function(_0x2bb600,_0x2f26e5){(function(_0x5b988a,_0xb72659,_0x27f336){var _0x286dcf=_0x3549;_0x2bb600[_0x286dcf(0x3bf)]=_0xb72659(Q(),Tt());}(Wi,function(_0x18071b){var _0xc0f516=_0x3549;return _0x18071b['pad'][_0xc0f516(0x309)]={'pad':function(){},'unpad':function(){}},_0x18071b[_0xc0f516(0x39b)]['NoPadding'];}));}(Re)),Re[_0xb66527(0x3bf)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x4afa80,_0x46e86a){var _0x51a832=_0x1640f8;const _0x6ac028=_0x46e86a-_0x4afa80['length']%_0x46e86a,_0x108553=String['fromCharCode'](_0x6ac028)[_0x51a832(0x22d)](_0x6ac028);return _0x4afa80+_0x108553;}function zi(_0x4c1391,_0x4c69a0){var _0x15cbf8=_0x1640f8;const _0x251533=Vi[_0x15cbf8(0x29e)](0x10),_0x46118b=Ki(_0x4c1391,0x10),_0x3acca3=Mi[_0x15cbf8(0x308)](Hi[_0x15cbf8(0x493)](_0x46118b),it['parse'](_0x4c69a0),{'iv':_0x251533,'padding':qi});return _0x251533[_0x15cbf8(0x30e)](_0x3acca3[_0x15cbf8(0x393)])['toString'](it);}function Ji(){var _0x5218bb=_0x1640f8;const _0x288783=yt[_0x5218bb(0x1db)]()[_0x5218bb(0x285)];if(_0x288783){const _0x396260={'time':Math[_0x5218bb(0x3a2)](Date[_0x5218bb(0x20f)]()/0x3e8),'domain':location['hostname']};return zi(JSON[_0x5218bb(0x288)](_0x396260),_0x288783);}}var Xi=Object[_0x1640f8(0x2d7)],Zi=(_0x3b694c,_0x4a7287,_0x124bf8,_0x167bee)=>{var _0x577df0=_0x1640f8;for(var _0x597c7e=_0x167bee>0x1?void 0x0:_0x167bee?Xi(_0x4a7287,_0x124bf8):_0x4a7287,_0x5b9b23=_0x3b694c[_0x577df0(0x388)]-0x1,_0x4e6cda;_0x5b9b23>=0x0;_0x5b9b23--)(_0x4e6cda=_0x3b694c[_0x5b9b23])&&(_0x597c7e=_0x4e6cda(_0x597c7e)||_0x597c7e);return _0x597c7e;},Qi=(_0x18e9e3,_0x3fe033)=>(_0x21242b,_0x422609)=>_0x3fe033(_0x21242b,_0x422609,_0x18e9e3);let Ne=class{constructor(_0x9730d2){var _0x299bc8=_0x1640f8;this['_httpService']=_0x9730d2,this[_0x299bc8(0x2b4)]();}[_0x1640f8(0x2b4)](){var _0x114c96=_0x1640f8;this['_httpService'][_0x114c96(0x144)]({'interceptor':(_0x345c0b,_0x17e570)=>{var _0x59d593=_0x114c96;const _0x409a83=_0x345c0b[_0x59d593(0x499)],_0x1e9f8f=Ji();return _0x1e9f8f&&_0x409a83[_0x59d593(0x315)](_0x59d593(0x1c9),_0x1e9f8f),_0x17e570(_0x345c0b);}});}};Ne=Zi([Qi(0x0,a[_0x1640f8(0x207)](q['HTTPService']))],Ne);var en=Object['getOwnPropertyDescriptor'],tn=(_0x3e6a09,_0x592025,_0x483c59,_0x4c2bc4)=>{var _0x69e227=_0x1640f8;for(var _0x231645=_0x4c2bc4>0x1?void 0x0:_0x4c2bc4?en(_0x592025,_0x483c59):_0x592025,_0x2a3279=_0x3e6a09[_0x69e227(0x388)]-0x1,_0x44e504;_0x2a3279>=0x0;_0x2a3279--)(_0x44e504=_0x3e6a09[_0x2a3279])&&(_0x231645=_0x44e504(_0x231645)||_0x231645);return _0x231645;},we=(_0x3d6fe8,_0x4001ac)=>(_0xc25408,_0x2af66e)=>_0x4001ac(_0xc25408,_0x2af66e,_0x3d6fe8);exports[_0x1640f8(0x239)]=class extends a[_0x1640f8(0x1b8)]{constructor(_0x62e53f,_0x16b4ac,_0x3e4ebb){var _0x4eb31e=_0x1640f8;super(),A(this,'_unitInfo$',new H[(_0x4eb31e(0x453))](null)),A(this,_0x4eb31e(0x402),this[_0x4eb31e(0x406)]['asObservable']()),(this[_0x4eb31e(0x3aa)]=_0x62e53f,this[_0x4eb31e(0x34c)]=_0x16b4ac,this[_0x4eb31e(0x442)]=_0x3e4ebb);}async[_0x1640f8(0x400)](_0x2193ef,_0x49aa01,_0x5e0f83){var _0xf8be6f=_0x1640f8;this[_0xf8be6f(0x406)]['next']({'unitId':_0x2193ef,'type':_0x49aa01});let _0x589ddb=null;switch(_0x49aa01){case J['UNIVER_SHEET']:{_0x589ddb=await this[_0xf8be6f(0x34c)][_0xf8be6f(0x2b0)](_0x2193ef,_0x5e0f83);break;}case J[_0xf8be6f(0x15e)]:{_0x589ddb=await this['_snapshotService'][_0xf8be6f(0x482)](_0x2193ef,_0x5e0f83);break;}default:{this[_0xf8be6f(0x3aa)][_0xf8be6f(0x15a)](_0xf8be6f(0x159),_0xf8be6f(0x364));break;}}return _0x589ddb;}async[_0x1640f8(0x2f0)](_0x12fce9,_0x43205f,_0x1a0a42){var _0x5ca2c4=_0x1640f8,_0x4594a7;this[_0x5ca2c4(0x406)]['next']({'unitId':_0x12fce9,'type':_0x43205f,'subUnitId':_0x1a0a42});let _0x2cb174=0x0;const _0x509d4f=await((_0x4594a7=this['_localCacheService'])==null?void 0x0:_0x4594a7[_0x5ca2c4(0x148)](_0x12fce9));return _0x509d4f&&(_0x509d4f[_0x5ca2c4(0x190)]||_0x509d4f[_0x5ca2c4(0x452)][_0x5ca2c4(0x388)]!==0x0)&&(_0x2cb174=_0x509d4f[_0x5ca2c4(0x286)]),_0x2cb174===0x0&&this[_0x5ca2c4(0x3aa)][_0x5ca2c4(0x2cc)](_0x5ca2c4(0x159),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5ca2c4(0x400)](_0x12fce9,_0x43205f,_0x2cb174);}},exports[_0x1640f8(0x239)]=tn([we(0x0,a[_0x1640f8(0x226)]),we(0x1,a[_0x1640f8(0x207)](p[_0x1640f8(0x235)])),we(0x2,a[_0x1640f8(0x1d3)](K))],exports[_0x1640f8(0x239)]);var nn=Object[_0x1640f8(0x2d7)],rn=(_0xe7de80,_0x5bc747,_0xf515d5,_0x11dc74)=>{var _0x142e63=_0x1640f8;for(var _0x4e1177=_0x11dc74>0x1?void 0x0:_0x11dc74?nn(_0x5bc747,_0xf515d5):_0x5bc747,_0x43bb4d=_0xe7de80[_0x142e63(0x388)]-0x1,_0xa8ae46;_0x43bb4d>=0x0;_0x43bb4d--)(_0xa8ae46=_0xe7de80[_0x43bb4d])&&(_0x4e1177=_0xa8ae46(_0x4e1177)||_0x4e1177);return _0x4e1177;},Me=(_0x310bc9,_0x2abe54)=>(_0x5cd4d5,_0x1caab1)=>_0x2abe54(_0x5cd4d5,_0x1caab1,_0x310bc9);const sn=[_0x1640f8(0x36c),_0x1640f8(0x170),'image/jpg',_0x1640f8(0x15f),_0x1640f8(0x191)],on=0x5*0x400*0x400,an=_0x1640f8(0x287),cn='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x590418,_0x4865db,_0x3f0bb5){var _0x75e88=_0x1640f8;A(this,_0x75e88(0x476),0x0),A(this,'_change$',new H[(_0x75e88(0x375))]()),A(this,_0x75e88(0x291),this[_0x75e88(0x2c9)]),A(this,_0x75e88(0x14d),new Map()),(this[_0x75e88(0x3a0)]=_0x590418,this[_0x75e88(0x2b1)]=_0x4865db,this[_0x75e88(0x2f3)]=_0x3f0bb5);}[_0x1640f8(0x3de)](_0xfaeb9a){var _0x2f861e=_0x1640f8;this[_0x2f861e(0x476)]=_0xfaeb9a,this[_0x2f861e(0x2c9)]['next'](_0xfaeb9a);}['getImageSourceCache'](_0x674a8,_0x25a0c0){var _0x2fae6d=_0x1640f8;if(_0x25a0c0===z[_0x2fae6d(0x34f)]['BASE64']){const _0xc3f319=new Image();return _0xc3f319['src']=_0x674a8,_0xc3f319;}return this[_0x2fae6d(0x14d)][_0x2fae6d(0x3ee)](_0x674a8);}[_0x1640f8(0x3fd)](_0x50893a,_0x17fe97,_0x27ed2a){var _0x5246b7=_0x1640f8;_0x17fe97===z[_0x5246b7(0x34f)][_0x5246b7(0x20c)]||_0x27ed2a==null||this['_imageSourceCache'][_0x5246b7(0x315)](_0x50893a,_0x27ed2a);}async['getImage'](_0x58bb94){var _0x5da812=_0x1640f8;try{const _0xcb0be=this[_0x5da812(0x1d2)](this[_0x5da812(0x395)](),''+_0x58bb94),_0x15f903=(await this[_0x5da812(0x3a0)][_0x5da812(0x3ee)](_0xcb0be))[_0x5da812(0x3e3)];if(_0x15f903[_0x5da812(0x15a)]&&_0x15f903[_0x5da812(0x15a)][_0x5da812(0x141)]===dt['OK']){const _0x35814f=new URL(_0x15f903[_0x5da812(0x3a7)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5da812(0x3b3)](_0x35814f);}return Promise[_0x5da812(0x457)](_0x15f903[_0x5da812(0x15a)]);}catch(_0x159e0a){return Promise[_0x5da812(0x457)](_0x159e0a);}}async['saveImage'](_0x3609e9){var _0x45f504=_0x1640f8;let _0x30f8e1='';if(!sn[_0x45f504(0x3bb)](_0x3609e9['type']))return this[_0x45f504(0x2ec)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x3609e9[_0x45f504(0x2b8)]>on)return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x1a0)]));try{const _0x2d5eae=new FormData();_0x2d5eae[_0x45f504(0x34d)](_0x45f504(0x3c4),_0x3609e9);const _0x403109=this[_0x45f504(0x2f3)][_0x45f504(0x2f4)](),_0x150e0a=_0x403109==null?void 0x0:_0x403109[_0x45f504(0x2e1)]();if(!_0x150e0a)throw new Error('unitId\x20is\x20not\x20found');const _0x1ff160=this[_0x45f504(0x1b5)]()+_0x45f504(0x41c)+_0x3609e9[_0x45f504(0x2b8)][_0x45f504(0x42b)]()+_0x45f504(0x2e8)+vt[_0x45f504(0x1f6)]+_0x45f504(0x371)+encodeURIComponent(_0x150e0a),_0x1b0b24={'body':_0x2d5eae},_0x217af2=(await this['_httpService']['post'](_0x1ff160,_0x1b0b24))['body'];if(typeof _0x217af2[_0x45f504(0x29a)]!='string')return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));_0x30f8e1=_0x217af2['FileId'];}catch{return this[_0x45f504(0x2ec)](),Promise[_0x45f504(0x457)](new Error(z[_0x45f504(0x3b1)][_0x45f504(0x35c)]));}return new Promise((_0x107a3d,_0x147257)=>{var _0x4eb281=_0x45f504;const _0x55ff02=new FileReader();_0x55ff02[_0x4eb281(0x37d)](_0x3609e9),_0x55ff02[_0x4eb281(0x242)]=_0x2d4a55=>{var _0x5df1dc=_0x4eb281,_0x4636af;const _0x33a17c=(_0x4636af=_0x2d4a55[_0x5df1dc(0x26d)])==null?void 0x0:_0x4636af[_0x5df1dc(0x30f)];if(_0x33a17c==null){this['_decreaseWaiting'](),_0x147257(new Error(z[_0x5df1dc(0x3b1)][_0x5df1dc(0x35c)]));return;}const _0x13c088=a[_0x5df1dc(0x454)](0x6);_0x107a3d({'imageId':_0x13c088,'imageSourceType':z[_0x5df1dc(0x34f)][_0x5df1dc(0x17b)],'source':_0x30f8e1,'base64Cache':_0x33a17c,'status':z[_0x5df1dc(0x3b1)][_0x5df1dc(0x257)]}),this['_decreaseWaiting']();};});}[_0x1640f8(0x1b5)](){var _0x258c0f=_0x1640f8,_0x21a531;const _0x220152=this[_0x258c0f(0x2b1)][_0x258c0f(0x254)](Y);return(_0x21a531=_0x220152==null?void 0x0:_0x220152['uploadFileServerUrl'])!=null?_0x21a531:an;}[_0x1640f8(0x395)](){var _0x5b8dfa=_0x1640f8,_0x20da10;const _0x2b2bd5=this[_0x5b8dfa(0x2b1)][_0x5b8dfa(0x254)](Y);return(_0x20da10=_0x2b2bd5==null?void 0x0:_0x2b2bd5['signUrlServerUrl'])!=null?_0x20da10:cn;}[_0x1640f8(0x2f8)](){var _0x186d2b=_0x1640f8,_0x103a7b;const _0x122be5=this[_0x186d2b(0x2b1)]['getConfig'](Y);return(_0x103a7b=_0x122be5==null?void 0x0:_0x122be5[_0x186d2b(0x1d6)])!=null?_0x103a7b:location[_0x186d2b(0x213)];}[_0x1640f8(0x1d2)](_0x5e1b88,_0x425340){var _0x340647=_0x1640f8;return _0x5e1b88[_0x340647(0x16e)](_0x340647(0x3df),_0x425340);}['_decreaseWaiting'](){var _0x2c103f=_0x1640f8;this['_waitCount']-=0x1,this['_change$'][_0x2c103f(0x3f8)](this[_0x2c103f(0x476)]);}},exports[_0x1640f8(0x36e)]=rn([Me(0x0,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)])),Me(0x1,a[_0x1640f8(0x30d)]),Me(0x2,a[_0x1640f8(0x207)](a[_0x1640f8(0x49a)]))],exports[_0x1640f8(0x36e)]);var hn=Object[_0x1640f8(0x2d7)],_n=(_0x2b37a8,_0x124f21,_0x57ea5e,_0x3c01e7)=>{var _0xdee5ed=_0x1640f8;for(var _0x1bfb84=_0x3c01e7>0x1?void 0x0:_0x3c01e7?hn(_0x124f21,_0x57ea5e):_0x124f21,_0x3b614b=_0x2b37a8[_0xdee5ed(0x388)]-0x1,_0x462be7;_0x3b614b>=0x0;_0x3b614b--)(_0x462be7=_0x2b37a8[_0x3b614b])&&(_0x1bfb84=_0x462be7(_0x1bfb84)||_0x1bfb84);return _0x1bfb84;},ot=(_0x517d41,_0x30f6b0)=>(_0x46ac35,_0x3c1cd2)=>_0x30f6b0(_0x46ac35,_0x3c1cd2,_0x517d41);const ln='/universer-api/authz';exports[_0x1640f8(0x214)]=class{constructor(_0x40b938,_0x3554a8){var _0x51f517=_0x1640f8;this[_0x51f517(0x2b1)]=_0x40b938,this[_0x51f517(0x3e9)]=_0x3554a8;}[_0x1640f8(0x1aa)](){var _0x11705f=_0x1640f8,_0x21256b;const _0x221e9b=this[_0x11705f(0x2b1)]['getConfig'](Y);return(_0x21256b=_0x221e9b==null?void 0x0:_0x221e9b[_0x11705f(0x34b)])!=null?_0x21256b:ln;}async[_0x1640f8(0x155)](_0x39229c){var _0x36dfb0=_0x1640f8;const _0x455000=this[_0x36dfb0(0x1aa)]()+_0x36dfb0(0x24d);return{'list':[{'title':'People','mentions':(await this[_0x36dfb0(0x3e9)][_0x36dfb0(0x3ee)](_0x455000,{'params':{'objectID':_0x39229c[_0x36dfb0(0x372)],'unitID':_0x39229c[_0x36dfb0(0x372)]}}))[_0x36dfb0(0x3e3)]['collaborators']['map'](_0x2032c7=>({'objectId':_0x2032c7['id'],'name':_0x2032c7[_0x36dfb0(0x13c)][_0x36dfb0(0x48d)],'metadata':{'icon':_0x2032c7['subject']['avatar']},'label':_0x2032c7[_0x36dfb0(0x13c)]['name'],'objectType':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]})),'metadata':{},'type':a[_0x36dfb0(0x32c)][_0x36dfb0(0x227)]}]};}},exports[_0x1640f8(0x214)]=_n([ot(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x30d)])),ot(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0xa4cbe4,_0x36c666,_0x2dcfea,_0x2af7a6)=>{for(var _0x4843b0=_0x2af7a6>0x1?void 0x0:_0x2af7a6?un(_0x36c666,_0x2dcfea):_0x36c666,_0x5c19f9=_0xa4cbe4['length']-0x1,_0x3fa831;_0x5c19f9>=0x0;_0x5c19f9--)(_0x3fa831=_0xa4cbe4[_0x5c19f9])&&(_0x4843b0=_0x3fa831(_0x4843b0)||_0x4843b0);return _0x4843b0;},le=(_0x263862,_0x48cd80)=>(_0x1f3660,_0x404655)=>_0x48cd80(_0x1f3660,_0x404655,_0x263862);let De=class extends a['RxDisposable']{constructor(_0x363fe4,_0x5d3d48,_0x219f38,_0x5772b4,_0x2f941b){var _0x18cbb4=_0x1640f8;super(),this[_0x18cbb4(0x331)]=_0x363fe4,this[_0x18cbb4(0x2f3)]=_0x5d3d48,this[_0x18cbb4(0x2a8)]=_0x219f38,this[_0x18cbb4(0x1a2)]=_0x5772b4,this[_0x18cbb4(0x468)]=_0x2f941b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x1640f8(0x2f1)](){var _0x138657=_0x1640f8;const _0x719eff=async _0x564e8f=>{var _0x4a9792=_0x3549;(await this[_0x4a9792(0x1a2)][_0x4a9792(0x447)](_0x564e8f))['event$'][_0x4a9792(0x297)](V[_0x4a9792(0x35b)](_0x56b9d4=>_0x56b9d4[_0x4a9792(0x47b)]===p[_0x4a9792(0x1e8)]['SHOULD_CLOSE_CONN']),V[_0x4a9792(0x397)](this[_0x4a9792(0x247)]))[_0x4a9792(0x217)](_0x3e0dd6=>{var _0x23e349=_0x4a9792;const _0x18872a=_0x3e0dd6,{reason:_0x463684}=_0x18872a['data'];this[_0x23e349(0x468)]['emitEvent']({'id':Z[_0x23e349(0x182)],'data':_0x463684}),this['_permissionService'][_0x23e349(0x313)](new X[(_0x23e349(0x27d))](_0x564e8f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x564e8f);});};H[_0x138657(0x22a)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x138657(0x1cb)][_0x138657(0x435)]),this[_0x138657(0x2f3)][_0x138657(0x237)](a[_0x138657(0x1cb)][_0x138657(0x15e)]))[_0x138657(0x297)](V[_0x138657(0x3d2)](_0x3c1c67=>_0x3c1c67[_0x138657(0x2e1)]()),V['filter'](_0x4e5793=>!a[_0x138657(0x3b8)](_0x4e5793)),V['takeUntil'](this[_0x138657(0x247)]))[_0x138657(0x217)](_0x17e968=>{_0x719eff(_0x17e968);});}['_initUnitPermissionChange'](){var _0x55e001=_0x1640f8;const _0x3ed05d=async _0x63ba4a=>{var _0x17e671=_0x3549;const _0x587742=await this['_collaborationSessionService'][_0x17e671(0x447)](_0x63ba4a),_0x2a7078=this[_0x17e671(0x331)][_0x17e671(0x3ee)](X['SheetPermissionInitController']);_0x587742['event$']['pipe'](V[_0x17e671(0x35b)](_0x519df0=>_0x519df0[_0x17e671(0x47b)]===p[_0x17e671(0x1e8)][_0x17e671(0x1ce)]),V[_0x17e671(0x397)](this['dispose$']))['subscribe'](_0x3b4e36=>{var _0x55d181=_0x17e671;const _0x31e83b=_0x3b4e36,{objectId:_0x58c727}=_0x31e83b[_0x55d181(0x19d)];_0x58c727===_0x63ba4a?_0x2a7078['initWorkbookPermissionChange'](_0x63ba4a):_0x2a7078[_0x55d181(0x3d1)](_0x63ba4a,_0x58c727);});};H[_0x55e001(0x22a)](this['_univerInstanceService'][_0x55e001(0x237)](a[_0x55e001(0x1cb)][_0x55e001(0x435)]))[_0x55e001(0x297)](V[_0x55e001(0x3d2)](_0x293193=>_0x293193['getUnitId']()),V[_0x55e001(0x35b)](_0x55a87e=>!a[_0x55e001(0x3b8)](_0x55a87e)),V[_0x55e001(0x397)](this[_0x55e001(0x247)]))[_0x55e001(0x217)](_0x5c7cda=>{_0x3ed05d(_0x5c7cda);});}};De=dn([le(0x0,a[_0x1640f8(0x207)](a[_0x1640f8(0x1c1)])),le(0x1,a[_0x1640f8(0x49a)]),le(0x2,a[_0x1640f8(0x38c)]),le(0x3,a[_0x1640f8(0x207)](exports[_0x1640f8(0x169)])),le(0x4,a[_0x1640f8(0x207)](ee))],De);var vn=Object[_0x1640f8(0x2d7)],Sn=(_0x387e37,_0x215625,_0x5ee5de,_0x1664a6)=>{for(var _0x5ad46b=_0x1664a6>0x1?void 0x0:_0x1664a6?vn(_0x215625,_0x5ee5de):_0x215625,_0x392d57=_0x387e37['length']-0x1,_0x2e8054;_0x392d57>=0x0;_0x392d57--)(_0x2e8054=_0x387e37[_0x392d57])&&(_0x5ad46b=_0x2e8054(_0x5ad46b)||_0x5ad46b);return _0x5ad46b;},at=(_0x28494a,_0x281de7)=>(_0x8173df,_0x5b2518)=>_0x281de7(_0x8173df,_0x5b2518,_0x28494a);exports[_0x1640f8(0x37b)]=class{constructor(_0x5be2ac,_0x581e34){var _0x21a26f=_0x1640f8;this[_0x21a26f(0x2b1)]=_0x5be2ac,this[_0x21a26f(0x3a0)]=_0x581e34;}async['getUnitOnRev'](_0x156085,_0xc8b6c3){var _0x545086=_0x1640f8,_0x3a4048;const {unitID:_0x114ffe,type:_0x3a026c,revision:_0x5ab3ba=0x0}=_0xc8b6c3,_0x281b8d=this[_0x545086(0x3ef)]()+'/'+_0x3a026c+_0x545086(0x220)+_0x114ffe+_0x545086(0x174)+_0x5ab3ba,_0x471957=(await this['_httpService'][_0x545086(0x3ee)](_0x281b8d))[_0x545086(0x3e3)],_0x340b90=(_0x3a4048=_0x471957['snapshot'])==null?void 0x0:_0x3a4048[_0x545086(0x19f)];if(_0x340b90){const _0x5c8a27=_0x340b90==null?void 0x0:_0x340b90[_0x545086(0x26e)],_0x30bbcf=p[_0x545086(0x1c7)]['encode'](p[_0x545086(0x2d6)](_0x5c8a27));_0x340b90[_0x545086(0x26e)]=_0x30bbcf,Object[_0x545086(0x47f)](_0x340b90[_0x545086(0x14e)])[_0x545086(0x1ff)](([,_0x2c960b])=>{var _0x23d23d=_0x545086;const _0x313ba7=_0x2c960b[_0x23d23d(0x26e)],_0x3a1af7=p[_0x23d23d(0x1c7)][_0x23d23d(0x361)](p[_0x23d23d(0x2d6)](_0x313ba7));_0x2c960b[_0x23d23d(0x26e)]=_0x3a1af7;});}return _0x471957;}async[_0x1640f8(0x345)](_0x10361c,_0x354713){var _0x511882=_0x1640f8;const {unitID:_0x1b6dac,type:_0x5837ad,blockID:_0x3ba52c}=_0x354713,_0x27b91c=this[_0x511882(0x488)]()+'/'+_0x5837ad+'/unit/'+_0x1b6dac+_0x511882(0x16f)+_0x3ba52c;return(await this[_0x511882(0x3a0)][_0x511882(0x3ee)](_0x27b91c))[_0x511882(0x3e3)];}async[_0x1640f8(0x451)](_0x254fc3,_0x4f4240){var _0x2e86ba=_0x1640f8;const {unitID:_0x3cb8ee,type:_0x5d35e7,blockID:_0x5a7a78}=_0x4f4240,_0x234f9b=this[_0x2e86ba(0x488)]()+_0x2e86ba(0x16f)+_0x5d35e7+_0x2e86ba(0x220)+_0x3cb8ee+_0x2e86ba(0x16f)+_0x5a7a78;return(await this[_0x2e86ba(0x3a0)][_0x2e86ba(0x3ee)](_0x234f9b))[_0x2e86ba(0x3e3)];}async[_0x1640f8(0x31c)](_0x233c11,_0x2fcbe7){var _0x3a8e95=_0x1640f8;const {unitID:_0x529454,type:_0x1bea08,from:_0x65cee0,to:_0x4ece25}=_0x2fcbe7,_0xe59714=this[_0x3a8e95(0x488)]()+'/'+_0x1bea08+_0x3a8e95(0x220)+_0x529454+'/fetchmissing?from='+_0x65cee0+_0x3a8e95(0x13b)+_0x4ece25;return(await this[_0x3a8e95(0x3a0)][_0x3a8e95(0x3ee)](_0xe59714))[_0x3a8e95(0x3e3)];}[_0x1640f8(0x3ef)](){var _0xac657d=_0x1640f8,_0x34c84e;return(_0x34c84e=this[_0xac657d(0x2b1)][_0xac657d(0x254)](Dt))!=null?_0x34c84e:this[_0xac657d(0x488)]();}[_0x1640f8(0x488)](){var _0x26b495=_0x1640f8,_0x3b7c7a;const _0x34bfdc=this[_0x26b495(0x2b1)][_0x26b495(0x254)](Y);return(_0x3b7c7a=_0x34bfdc==null?void 0x0:_0x34bfdc['snapshotServerUrl'])!=null?_0x3b7c7a:Nt;}async['getResourcesRequest'](_0x3815c0,_0xfe12e7){var _0x5f4d9a=_0x1640f8;const _0x538a40='/universer-api/snapshot/'+_0xfe12e7[_0x5f4d9a(0x2b7)]+_0x5f4d9a(0x220)+_0xfe12e7['unitID']+'/resources';return(await this[_0x5f4d9a(0x3a0)][_0x5f4d9a(0x3ee)](_0x538a40,{'params':{'resourceId':JSON[_0x5f4d9a(0x288)](_0xfe12e7['resourceIDs'])}}))[_0x5f4d9a(0x3e3)];}[_0x1640f8(0x27a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x282)](){var _0x256482=_0x1640f8;throw new Error(_0x256482(0x1b3));}[_0x1640f8(0x36f)](){var _0x4aeb0a=_0x1640f8;throw new Error(_0x4aeb0a(0x1b3));}['saveChangeset'](){var _0x3ee813=_0x1640f8;throw new Error(_0x3ee813(0x1b3));}[_0x1640f8(0x186)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1640f8(0x414)](){var _0x2e2302=_0x1640f8;throw new Error(_0x2e2302(0x1b3));}},exports['SnapshotServerOverHTTPService']=Sn([at(0x0,a[_0x1640f8(0x30d)]),at(0x1,a[_0x1640f8(0x207)](q[_0x1640f8(0x1ba)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x1640f8(0x2d7)],In=(_0x460553,_0x3c1382,_0x452692,_0x2cb153)=>{var _0x9d4b9d=_0x1640f8;for(var _0x14a875=_0x2cb153>0x1?void 0x0:_0x2cb153?fn(_0x3c1382,_0x452692):_0x3c1382,_0x370053=_0x460553[_0x9d4b9d(0x388)]-0x1,_0x2f044a;_0x370053>=0x0;_0x370053--)(_0x2f044a=_0x460553[_0x370053])&&(_0x14a875=_0x2f044a(_0x14a875)||_0x14a875);return _0x14a875;},ue=(_0x5d799b,_0x538b74)=>(_0x442291,_0x5261a6)=>_0x538b74(_0x442291,_0x5261a6,_0x5d799b);exports[_0x1640f8(0x28f)]=class extends a[_0x1640f8(0x2ab)]{constructor(_0x32022b,_0x125347,_0xf79d59,_0x2e744,_0x4fcf70){var _0x4de9b9=_0x1640f8;super(_0x32022b,_0x125347,_0xf79d59),this[_0x4de9b9(0x424)]=_0x2e744,this[_0x4de9b9(0x3aa)]=_0x4fcf70;}['transformUndoRedo'](_0x50c7ad,_0x1e6d93){var _0x3cb356=_0x1640f8;const _0x3f379b=this[_0x3cb356(0x1fe)](_0x50c7ad);if(_0x3f379b)try{const _0x47a6b3=this[_0x3cb356(0x44c)](_0x3f379b,_0x1e6d93);this[_0x3cb356(0x3ba)](_0x50c7ad,_0x47a6b3);}catch(_0x1921ed){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x3cb356(0x2e0),_0x1921ed),this[_0x3cb356(0x1bd)](_0x50c7ad);}const _0x5d9de8=this['_getRedoStack'](_0x50c7ad);if(_0x5d9de8)try{const _0x74a3c4=this[_0x3cb356(0x44c)](_0x5d9de8,_0x1e6d93);this[_0x3cb356(0x3d4)](_0x50c7ad,_0x74a3c4);}catch(_0x4575ba){this[_0x3cb356(0x3aa)][_0x3cb356(0x15a)](_0x4575ba),this['_clearRedo'](_0x50c7ad);}}[_0x1640f8(0x1bd)](_0x10c43f){var _0x5c2b4a=_0x1640f8;const _0x5c6331=this[_0x5c2b4a(0x1fe)](_0x10c43f);_0x5c6331&&(_0x5c6331['length']=0x0,this[_0x5c2b4a(0x3db)]());}[_0x1640f8(0x48a)](_0x50366d){var _0xacd3fd=_0x1640f8;const _0x4f85b1=this[_0xacd3fd(0x2b6)](_0x50366d);_0x4f85b1&&(_0x4f85b1[_0xacd3fd(0x388)]=0x0,this[_0xacd3fd(0x3db)]());}[_0x1640f8(0x3ba)](_0x1a2314,_0x350048){var _0x22cb69=_0x1640f8;this[_0x22cb69(0x208)][_0x22cb69(0x315)](_0x1a2314,_0x350048),this[_0x22cb69(0x3db)]();}['_substituteRedoStack'](_0x5a1d31,_0x11ed73){var _0x111324=_0x1640f8;this[_0x111324(0x40a)][_0x111324(0x315)](_0x5a1d31,_0x11ed73),this['_updateStatus']();}[_0x1640f8(0x44c)](_0x1d543e,_0x43ca8c){var _0x3823f0=_0x1640f8;const _0xa3eb30=[];let _0x41e20a=_0x43ca8c,_0x220e61=_0x43ca8c;for(let _0x537f2a=_0x1d543e[_0x3823f0(0x388)]-0x1;_0x537f2a>=0x0;_0x537f2a--){const {unitID:_0x40cfea,undoMutations:_0x4a4100,redoMutations:_0x32efa9}=_0x1d543e[_0x537f2a],_0x3771b3=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x41e20a,_0x4a4100),_0x215f8e=this[_0x3823f0(0x424)]['transformMutationsWithChangeset'](_0x220e61,_0x32efa9);if(p[_0x3823f0(0x45f)](_0x3771b3)||p[_0x3823f0(0x45f)](_0x215f8e)){this[_0x3823f0(0x3aa)][_0x3823f0(0x15a)](_0x3823f0(0x2e0),_0x3823f0(0x39f),_0x3771b3,_0x215f8e);break;}_0x41e20a=_0x3771b3[_0x3823f0(0x2eb)],_0x220e61=_0x215f8e['c1Prime'],_0xa3eb30[_0x3823f0(0x33f)]({'unitID':_0x40cfea,'undoMutations':_0x3771b3[_0x3823f0(0x47a)],'redoMutations':_0x215f8e[_0x3823f0(0x47a)]});}return _0xa3eb30[_0x3823f0(0x305)]();}},exports[_0x1640f8(0x28f)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x1640f8(0x1ef)]),ue(0x3,p[_0x1640f8(0x1f4)]),ue(0x4,a[_0x1640f8(0x226)])],exports[_0x1640f8(0x28f)]);var pn=Object[_0x1640f8(0x450)],mn=Object[_0x1640f8(0x2d7)],gn=(_0x3754cb,_0x78de34,_0x3993eb)=>_0x78de34 in _0x3754cb?pn(_0x3754cb,_0x78de34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3993eb}):_0x3754cb[_0x78de34]=_0x3993eb,En=(_0x4ae962,_0x5976d9,_0x4e89af,_0x571f97)=>{var _0x7e9f03=_0x1640f8;for(var _0x45b87b=_0x571f97>0x1?void 0x0:_0x571f97?mn(_0x5976d9,_0x4e89af):_0x5976d9,_0x12a26e=_0x4ae962[_0x7e9f03(0x388)]-0x1,_0x20eea3;_0x12a26e>=0x0;_0x12a26e--)(_0x20eea3=_0x4ae962[_0x12a26e])&&(_0x45b87b=_0x20eea3(_0x45b87b)||_0x45b87b);return _0x45b87b;},Le=(_0x1d6766,_0x595061)=>(_0x542ea5,_0x241720)=>_0x595061(_0x542ea5,_0x241720,_0x1d6766),Cn=(_0x312b2c,_0x558eef,_0x1ed2c6)=>gn(_0x312b2c,_0x558eef+'',_0x1ed2c6);const Tn=_0x1640f8(0x268);exports[_0x1640f8(0x2b3)]=class extends a[_0x1640f8(0x498)]{constructor(_0x146d4f,_0xfbbce8,_0x1a5405,_0x292c2b){var _0x4de6a8=_0x1640f8;super(),A(this,_0x4de6a8(0x185)),(this[_0x4de6a8(0x3aa)]=_0xfbbce8,this['_injector']=_0x1a5405,this[_0x4de6a8(0x2b1)]=_0x292c2b);const {..._0x4ab3f9}=a[_0x4de6a8(0x22a)]({},Zt,_0x146d4f);if(!_0x4ab3f9[_0x4de6a8(0x138)])throw new Error(_0x4de6a8(0x1fc));this[_0x4de6a8(0x185)]=_0x4ab3f9,this[_0x4de6a8(0x2b1)][_0x4de6a8(0x2af)](Y,_0x4ab3f9);}[_0x1640f8(0x431)](){var _0x7d6aef=_0x1640f8;this[_0x7d6aef(0x28c)](),this[_0x7d6aef(0x18c)]();}[_0x1640f8(0x28c)](){var _0x47a49c=_0x1640f8,_0x13acd4,_0x4f16c3;this[_0x47a49c(0x331)][_0x47a49c(0x3fb)](a['IUndoRedoService'])&&this[_0x47a49c(0x3aa)][_0x47a49c(0x15a)](_0x47a49c(0x154),_0x47a49c(0x260));const _0x3467f5=a['mergeOverrideWithDependencies']([[a[_0x47a49c(0x47e)],{'useClass':exports[_0x47a49c(0x28f)]}],[exports[_0x47a49c(0x169)]],[exports[_0x47a49c(0x398)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x47a49c(0x239)]],[Fe,{'useClass':this[_0x47a49c(0x185)]['socketService']}],[p['ISnapshotServerService'],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x47a49c(0x234)],{'useClass':exports[_0x47a49c(0x353)]}],[z['IImageIoService'],{'useClass':exports['CollaborationImageIoService']}],[a[_0x47a49c(0x423)],{'useClass':exports[_0x47a49c(0x214)]}],[exports[_0x47a49c(0x18f)]],[xe]],(_0x13acd4=this[_0x47a49c(0x185)])==null?void 0x0:_0x13acd4[_0x47a49c(0x1cd)]);if(!((_0x4f16c3=this[_0x47a49c(0x185)])!=null&&_0x4f16c3['enableSingleActiveInstanceLock'])){const _0x5c4c30=_0x3467f5[_0x47a49c(0x491)](([_0x5d182a])=>_0x5d182a===de);_0x5c4c30!==-0x1&&_0x3467f5[_0x47a49c(0x204)](_0x5c4c30,0x1);}a[_0x47a49c(0x2fc)](this[_0x47a49c(0x331)],_0x3467f5);}[_0x1640f8(0x18c)](){var _0x1c2e9f=_0x1640f8,_0x3e52cc,_0x25e6c1,_0x353b27;this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](q[_0x1c2e9f(0x1ba)])[_0x1c2e9f(0x144)]({'priority':0x14,'interceptor':q[_0x1c2e9f(0x40b)]({'maxParallel':0x6})}),(_0x3e52cc=this['_config'])!=null&&_0x3e52cc[_0x1c2e9f(0x40e)]||(_0x25e6c1=this[_0x1c2e9f(0x331)][_0x1c2e9f(0x3ee)](K,a[_0x1c2e9f(0x272)][_0x1c2e9f(0x330)]))==null||_0x25e6c1[_0x1c2e9f(0x3dc)](),(_0x353b27=this[_0x1c2e9f(0x185)])!=null&&_0x353b27[_0x1c2e9f(0x32d)]&&a[_0x1c2e9f(0x1f2)](this[_0x1c2e9f(0x331)],[[ye]]),a[_0x1c2e9f(0x1f2)](this['_injector'],[[Ne],[exports['CollaborationController']],[De]]);}},Cn(exports[_0x1640f8(0x2b3)],'pluginName',Tn),exports[_0x1640f8(0x2b3)]=En([a[_0x1640f8(0x461)](p[_0x1640f8(0x177)],q[_0x1640f8(0x163)]),Le(0x1,a[_0x1640f8(0x226)]),Le(0x2,a['Inject'](a['Injector'])),Le(0x3,a[_0x1640f8(0x30d)])],exports['UniverCollaborationClientPlugin']),exports[_0x1640f8(0x33c)]=Y,exports[_0x1640f8(0x421)]=je,exports[_0x1640f8(0x1a4)]=Z,exports[_0x1640f8(0x304)]=ee,exports[_0x1640f8(0x17a)]=$e,exports[_0x1640f8(0x34e)]=ht,exports[_0x1640f8(0x218)]=jt,exports[_0x1640f8(0x22c)]=At,exports['HEARTBEAT_INTERVAL_KEY']=_t,exports[_0x1640f8(0x42d)]=ke,exports[_0x1640f8(0x251)]=Fe,exports[_0x1640f8(0x387)]=K,exports['INetworkConditionService']=pt,exports[_0x1640f8(0x147)]=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x1640f8(0x22f)]=Lt,exports[_0x1640f8(0x1e0)]=Ht,exports[_0x1640f8(0x3ec)]=ut,exports[_0x1640f8(0x440)]=re,exports[_0x1640f8(0x40f)]=He,exports['deserializeToCombResponse']=mt,exports['getLocalCacheKey']=Kt,exports['serializeCombRequest']=gt;
|