@univerjs-pro/collaboration-client 0.9.1 → 0.9.2-nightly.202507121606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/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/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/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/en-US.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/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 _0x38cf52=_0x20ff;(function(_0x13ed2b,_0xb582af){var _0x526e66=_0x20ff,_0x3d6deb=_0x13ed2b();while(!![]){try{var _0x1b1c45=parseInt(_0x526e66(0x414))/0x1+-parseInt(_0x526e66(0x51d))/0x2*(parseInt(_0x526e66(0x319))/0x3)+-parseInt(_0x526e66(0x2e7))/0x4*(-parseInt(_0x526e66(0x345))/0x5)+parseInt(_0x526e66(0x321))/0x6*(-parseInt(_0x526e66(0x41e))/0x7)+parseInt(_0x526e66(0x4c5))/0x8+-parseInt(_0x526e66(0x49f))/0x9+parseInt(_0x526e66(0x275))/0xa*(parseInt(_0x526e66(0x4fe))/0xb);if(_0x1b1c45===_0xb582af)break;else _0x3d6deb['push'](_0x3d6deb['shift']());}catch(_0x323a73){_0x3d6deb['push'](_0x3d6deb['shift']());}}}(_0x37e5,0x3c78f));var Ut=Object[_0x38cf52(0x296)],At=(_0x10f1ef,_0x59add4,_0x15500b)=>_0x59add4 in _0x10f1ef?Ut(_0x10f1ef,_0x59add4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15500b}):_0x10f1ef[_0x59add4]=_0x15500b,A=(_0x2d0304,_0x58778d,_0x388440)=>At(_0x2d0304,typeof _0x58778d!=_0x38cf52(0x3d4)?_0x58778d+'':_0x58778d,_0x388440);Object[_0x38cf52(0x296)](exports,Symbol['toStringTag'],{'value':_0x38cf52(0x2ec)});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x38cf52(0x563),wt=_0x38cf52(0x386),lt=_0x38cf52(0x235),Mt=_0x38cf52(0x24a),xt=0x7d0,ut='COLLAB_WEB_SOCKET_URL',dt=_0x38cf52(0x3fe),kt=_0x38cf52(0x491),vt=_0x38cf52(0x201),Ht=0x7530,ke=_0x38cf52(0x3cf),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x38cf52(0x46f),Ft=0x3e8,It=_0x38cf52(0x20e),Vt=_0x38cf52(0x3b6),pt=_0x38cf52(0x575),Wt=_0x38cf52(0x1fa),Yt=_0x38cf52(0x331),Gt='/universer-api/uniscript';var gt=(_0x403734=>(_0x403734[_0x403734[_0x38cf52(0x43b)]=0x0]=_0x38cf52(0x43b),_0x403734[_0x403734['OK']=0x1]='OK',_0x403734[_0x403734['INTERNAL_ERROR']=0x2]=_0x38cf52(0x229),_0x403734[_0x403734[_0x38cf52(0x462)]=0x3]=_0x38cf52(0x462),_0x403734[_0x403734[_0x38cf52(0x294)]=0x4]=_0x38cf52(0x294),_0x403734[_0x403734['UNAUTHENTICATED']=0x5]=_0x38cf52(0x2b8),_0x403734[_0x403734[_0x38cf52(0x448)]=0x6]=_0x38cf52(0x448),_0x403734[_0x403734['INVALID_ARGUMENT']=0x7]=_0x38cf52(0x2cc),_0x403734[_0x403734[_0x38cf52(0x44f)]=0x8]=_0x38cf52(0x44f),_0x403734[_0x403734[_0x38cf52(0x56d)]=0x9]=_0x38cf52(0x56d),_0x403734[_0x403734[_0x38cf52(0x382)]=0xa]=_0x38cf52(0x382),_0x403734[_0x403734[_0x38cf52(0x42a)]=0xb]=_0x38cf52(0x42a),_0x403734[_0x403734[_0x38cf52(0x51c)]=0xc]=_0x38cf52(0x51c),_0x403734[_0x403734[_0x38cf52(0x395)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x403734[_0x403734[_0x38cf52(0x54d)]=0xe]=_0x38cf52(0x54d),_0x403734[_0x403734['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x38cf52(0x322),_0x403734[_0x403734[_0x38cf52(0x2ea)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x403734[_0x403734[_0x38cf52(0x2f6)]=0x1772]=_0x38cf52(0x2f6),_0x403734[_0x403734['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x38cf52(0x49b),_0x403734[_0x403734[_0x38cf52(0x26e)]=0x1b59]=_0x38cf52(0x26e),_0x403734[_0x403734[_0x38cf52(0x41c)]=0x1b5a]=_0x38cf52(0x41c),_0x403734[_0x403734['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x38cf52(0x238),_0x403734[_0x403734[_0x38cf52(0x40d)]=0x1b5c]=_0x38cf52(0x40d),_0x403734[_0x403734[_0x38cf52(0x208)]=0x1b5d]=_0x38cf52(0x208),_0x403734[_0x403734[_0x38cf52(0x3d1)]=0x1f41]=_0x38cf52(0x3d1),_0x403734[_0x403734[_0x38cf52(0x56a)]=0x2329]=_0x38cf52(0x56a),_0x403734[_0x403734['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x38cf52(0x393),_0x403734[_0x403734[_0x38cf52(0x468)]=0x232b]=_0x38cf52(0x468),_0x403734[_0x403734['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x38cf52(0x227),_0x403734[_0x403734['LICENSE_DISTRO_REJECTED']=0x232d]=_0x38cf52(0x4bd),_0x403734[_0x403734[_0x38cf52(0x32e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x403734[_0x403734['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x403734[_0x403734[_0x38cf52(0x3fb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x403734[_0x403734[_0x38cf52(0x2d5)]=0x2714]=_0x38cf52(0x2d5),_0x403734[_0x403734[_0x38cf52(0x377)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x403734[_0x403734[_0x38cf52(0x292)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x403734[_0x403734[_0x38cf52(0x4b6)]=0x271c]=_0x38cf52(0x4b6),_0x403734[_0x403734[_0x38cf52(0x222)]=0x271d]=_0x38cf52(0x222),_0x403734[_0x403734[_0x38cf52(0x2bc)]=0x271e]=_0x38cf52(0x2bc),_0x403734[_0x403734[_0x38cf52(0x29d)]=0x271f]=_0x38cf52(0x29d),_0x403734[_0x403734[_0x38cf52(0x422)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x403734[_0x403734[_0x38cf52(0x3c2)]=0x2af9]=_0x38cf52(0x3c2),_0x403734[_0x403734[_0x38cf52(0x290)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x403734[_0x403734['INVALID_INVITE_CODE']=0x2ee2]=_0x38cf52(0x34c),_0x403734[_0x403734[_0x38cf52(0x3a4)]=0x2ee3]=_0x38cf52(0x3a4),_0x403734[_0x403734[_0x38cf52(0x540)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x403734[_0x403734['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x403734[_0x403734[_0x38cf52(0x20d)]=0x32c9]=_0x38cf52(0x20d),_0x403734[_0x403734[_0x38cf52(0x218)]=0x32ca]=_0x38cf52(0x218),_0x403734[_0x403734['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x38cf52(0x473),_0x403734[_0x403734['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x403734))(gt||{}),J=(_0x2c5992=>(_0x2c5992[_0x2c5992[_0x38cf52(0x313)]=0x0]=_0x38cf52(0x313),_0x2c5992[_0x2c5992[_0x38cf52(0x2d7)]=0x1]=_0x38cf52(0x2d7),_0x2c5992[_0x2c5992['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2c5992[_0x2c5992[_0x38cf52(0x2ef)]=0x3]=_0x38cf52(0x2ef),_0x2c5992[_0x2c5992[_0x38cf52(0x558)]=0x4]=_0x38cf52(0x558),_0x2c5992[_0x2c5992[_0x38cf52(0x569)]=-0x1]='UNRECOGNIZED',_0x2c5992))(J||{}),W=(_0xf530ed=>(_0xf530ed[_0xf530ed[_0x38cf52(0x269)]=0x0]='UNKNOWN_CMD',_0xf530ed[_0xf530ed[_0x38cf52(0x412)]=0x1]=_0x38cf52(0x412),_0xf530ed[_0xf530ed['JOIN']=0x2]=_0x38cf52(0x476),_0xf530ed[_0xf530ed[_0x38cf52(0x399)]=0x3]='LEAVE',_0xf530ed[_0xf530ed['INGEST']=0x4]=_0x38cf52(0x35f),_0xf530ed[_0xf530ed['HEARTBEAT']=0x5]='HEARTBEAT',_0xf530ed[_0xf530ed[_0x38cf52(0x349)]=0x6]='RECV',_0xf530ed[_0xf530ed['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf530ed))(W||{}),oe=(_0x1c41df=>(_0x1c41df[_0x1c41df[_0x38cf52(0x38d)]=0x0]='UNKNOWN_CODE',_0x1c41df[_0x1c41df['OK']=0x1]='OK',_0x1c41df[_0x1c41df[_0x38cf52(0x53d)]=0x2]=_0x38cf52(0x53d),_0x1c41df[_0x1c41df['JOIN_ROOM_FULL']=0x3e9]=_0x38cf52(0x22e),_0x1c41df[_0x1c41df[_0x38cf52(0x48f)]=0x3ea]=_0x38cf52(0x48f),_0x1c41df[_0x1c41df[_0x38cf52(0x351)]=0x3eb]=_0x38cf52(0x351),_0x1c41df[_0x1c41df[_0x38cf52(0x33d)]=0x3ec]=_0x38cf52(0x33d),_0x1c41df[_0x1c41df[_0x38cf52(0x569)]=-0x1]='UNRECOGNIZED',_0x1c41df))(oe||{}),Et=(_0x5b5ee8=>(_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x444)]=0x0]=_0x38cf52(0x444),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x380)]=0x1]=_0x38cf52(0x380),_0x5b5ee8[_0x5b5ee8['HttpExport']=0x2]=_0x38cf52(0x2c4),_0x5b5ee8[_0x5b5ee8['UnitEmbedded']=0x3]='UnitEmbedded',_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x4e8)]=0x4]=_0x38cf52(0x4e8),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x397)]=0x5]=_0x38cf52(0x397),_0x5b5ee8[_0x5b5ee8[_0x38cf52(0x569)]=-0x1]=_0x38cf52(0x569),_0x5b5ee8))(Et||{});const G=_0x38cf52(0x3f4),Kt={};var Z=(_0x33a242=>(_0x33a242['OTHER_CLIENT_EDITING']=_0x38cf52(0x25c),_0x33a242['PERMISSION_DENIED']=_0x38cf52(0x462),_0x33a242['CONFLICT']=_0x38cf52(0x300),_0x33a242[_0x38cf52(0x45d)]=_0x38cf52(0x45d),_0x33a242[_0x38cf52(0x50f)]=_0x38cf52(0x50f),_0x33a242[_0x38cf52(0x3de)]='SOCKET_FAILED_RETRY',_0x33a242[_0x38cf52(0x200)]=_0x38cf52(0x200),_0x33a242[_0x38cf52(0x48a)]=_0x38cf52(0x48a),_0x33a242))(Z||{});class ee{constructor(){var _0x226c15=_0x38cf52;A(this,_0x226c15(0x482),new $[(_0x226c15(0x3ef))]()),A(this,_0x226c15(0x311),this[_0x226c15(0x482)]['asObservable']());}['emitEvent'](_0x1eaf92){var _0x5a8451=_0x38cf52;this[_0x5a8451(0x482)][_0x5a8451(0x546)](_0x1eaf92);}}const mt=a['createIdentifier'](_0x38cf52(0x4c4));function Ct(_0xb0c201){var _0x4bbf3a=_0x38cf52,_0x3e0282,_0x1cee5f,_0x9411d4,_0x56aa41,_0x35e90a;const _0x53af09=_0xb0c201[_0x4bbf3a(0x3bc)],_0x491ae5=JSON['parse'](_0x53af09);switch(_0x491ae5[_0x4bbf3a(0x467)]){case W[_0x4bbf3a(0x432)]:case W[_0x4bbf3a(0x412)]:{const _0x5e9661=_0x491ae5[_0x4bbf3a(0x445)];return{..._0x491ae5,'data':_0x5e9661,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};}case W[_0x4bbf3a(0x476)]:{const _0x4b77d8=_0x491ae5['joinRsp'];return{..._0x491ae5,'data':_0x4b77d8,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};}case W[_0x4bbf3a(0x349)]:{const _0x56b44c=_0x491ae5[_0x4bbf3a(0x46a)];switch(_0x56b44c[_0x4bbf3a(0x39c)]){case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x504)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x3e0282=_0x56b44c['permissionRejEvent'])==null?void 0x0:_0x3e0282['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['CHANGESET_ACK']:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x1cee5f=_0x56b44c['csAckEvent'])==null?void 0x0:_0x1cee5f['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x220)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x9411d4=_0x56b44c[_0x4bbf3a(0x247)])==null?void 0x0:_0x9411d4['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x56aa41=_0x56b44c[_0x4bbf3a(0x466)])==null?void 0x0:_0x56aa41['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x36d)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':(_0x35e90a=_0x56b44c[_0x4bbf3a(0x454)])==null?void 0x0:_0x35e90a['cs']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['UPDATE_CURSOR']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x2c3)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x51f)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x554)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x2d9)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x3f8)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent'][_0x4bbf3a(0x529)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x4da)]},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p['CollaborationEvent'][_0x4bbf3a(0x438)]:case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x434)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['liveShareOperation']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['LIVESHARE_TERMINATE']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['liveShareNewHost']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x479)]:return{..._0x491ae5,'data':_0x56b44c,'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)]['COMMENT_UPDATE']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c['commentUpdateEvent']},'cmd':_0x491ae5[_0x4bbf3a(0x467)]};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x244)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x4f0)]},'cmd':_0x491ae5['cmd']};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x22a)]},'cmd':_0x491ae5['cmd']};case p[_0x4bbf3a(0x401)][_0x4bbf3a(0x3f6)]:return{..._0x491ae5,'data':{..._0x56b44c,'data':_0x56b44c[_0x4bbf3a(0x3f9)]},'cmd':_0x491ae5['cmd']};default:return _0x491ae5;}}default:return _0x491ae5;}}function Tt(_0x180c7f){var _0x529e18=_0x38cf52;switch(_0x180c7f[_0x529e18(0x467)]){case W['HEARTBEAT']:case W[_0x529e18(0x412)]:return JSON['stringify']({'cmd':_0x180c7f[_0x529e18(0x467)],'routeKey':_0x180c7f[_0x529e18(0x40c)]});case W[_0x529e18(0x35f)]:{let _0x369b6f;switch(_0x180c7f['data'][_0x529e18(0x39c)]){case p[_0x529e18(0x401)][_0x529e18(0x305)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x305)],'updateCursorEvent':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)][_0x529e18(0x2d9)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x2d9)],'leaveEvent':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p[_0x529e18(0x401)]['USERS_ENTER']:{_0x369b6f={'eventID':p[_0x529e18(0x401)][_0x529e18(0x51f)],'joinEvent':_0x180c7f['data'][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)][_0x529e18(0x529)]:{_0x369b6f={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p[_0x529e18(0x401)]['LIVESHARE_OPERATION']:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x434)],'liveShareOperation':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x3bc)]};break;}case p['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x369b6f={'eventID':p[_0x529e18(0x401)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p['CollaborationEvent'][_0x529e18(0x4b5)]:{_0x369b6f={'eventID':p[_0x529e18(0x401)][_0x529e18(0x4b5)],'liveShareRequestHost':_0x180c7f[_0x529e18(0x3bc)]['data']};break;}case p[_0x529e18(0x401)][_0x529e18(0x438)]:{_0x369b6f={'eventID':p['CollaborationEvent'][_0x529e18(0x438)]};break;}default:_0x369b6f={'eventID':_0x180c7f[_0x529e18(0x3bc)][_0x529e18(0x39c)]};}return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f['cmd'],'routeKey':_0x180c7f[_0x529e18(0x40c)],'collaMsg':_0x369b6f});}case W[_0x529e18(0x476)]:return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f[_0x529e18(0x467)],'routeKey':_0x180c7f[_0x529e18(0x40c)],'joinReq':_0x180c7f[_0x529e18(0x3bc)]});case W[_0x529e18(0x399)]:return JSON[_0x529e18(0x4a5)]({'cmd':_0x180c7f['cmd'],'routeKey':_0x180c7f[_0x529e18(0x40c)],'leaveReq':_0x180c7f[_0x529e18(0x3bc)]});default:throw new Error(_0x529e18(0x425));}}var qt=Object[_0x38cf52(0x28a)],zt=(_0x15e273,_0x59c05d,_0x3d5403,_0xc5d24c)=>{for(var _0x3a7373=_0xc5d24c>0x1?void 0x0:_0xc5d24c?qt(_0x59c05d,_0x3d5403):_0x59c05d,_0x4b6777=_0x15e273['length']-0x1,_0x246011;_0x4b6777>=0x0;_0x4b6777--)(_0x246011=_0x15e273[_0x4b6777])&&(_0x3a7373=_0x246011(_0x3a7373)||_0x3a7373);return _0x3a7373;},_e=(_0x5cc971,_0x31d357)=>(_0x4ec72a,_0x25d81f)=>_0x31d357(_0x4ec72a,_0x25d81f,_0x5cc971);const He=a[_0x38cf52(0x493)](_0x38cf52(0x4cb));function Jt(_0x21710c,_0xd318a4,_0x4571d3){var _0x5ee276=_0x38cf52;return _0x21710c+'/'+_0xd318a4+_0x5ee276(0x4fd)+_0x4571d3+_0x5ee276(0x3c5);}exports[_0x38cf52(0x441)]=class extends a[_0x38cf52(0x519)]{constructor(_0x50726c,_0x2d61ab,_0x4e97a4,_0x6d5853,_0x42f036){var _0x2ce72e=_0x38cf52;super(),this[_0x2ce72e(0x45a)]=_0x50726c,this['_httpService']=_0x2d61ab,this[_0x2ce72e(0x515)]=_0x4e97a4,this[_0x2ce72e(0x346)]=_0x6d5853,this[_0x2ce72e(0x54e)]=_0x42f036;}[_0x38cf52(0x354)](_0x460e7e){var _0x38edd5=_0x38cf52;const _0x46e766=this['_injector'][_0x38edd5(0x47a)](K['ISocketService']);if(!_0x46e766)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1bc33a=_0x46e766[_0x38edd5(0x455)](_0x460e7e);if(!_0x1bc33a)throw new Error(_0x38edd5(0x2b2));const _0x1d5b3f=new a[(_0x38edd5(0x1f0))](),_0x59f769=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f['add'](_0x1bc33a['close$'][_0x38edd5(0x36f)](_0x268bfd=>_0x59f769['next'](_0x268bfd))),_0x1d5b3f['add'](a[_0x38edd5(0x27a)](()=>_0x59f769['complete']()));const _0x58b1e2=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f['add'](_0x1bc33a[_0x38edd5(0x4a9)][_0x38edd5(0x36f)](_0x171c03=>_0x58b1e2['next'](_0x171c03))),_0x1d5b3f[_0x38edd5(0x3b7)](a['toDisposable'](()=>_0x58b1e2[_0x38edd5(0x43e)]()));const _0x297ed0=new $[(_0x38edd5(0x3ef))]();_0x1d5b3f[_0x38edd5(0x3b7)](_0x1bc33a[_0x38edd5(0x3a1)][_0x38edd5(0x36f)](_0xd3aba0=>{const _0x21053d=Ct(_0xd3aba0);_0x297ed0['next'](_0x21053d);})),_0x1d5b3f[_0x38edd5(0x3b7)](a[_0x38edd5(0x27a)](()=>_0x297ed0['complete']()));let _0x395b0c;const _0x144d89=()=>{var _0x3dd0a7=_0x38edd5;_0x58b1e2['next'](new Event(_0x3dd0a7(0x39d))),_0x59f769[_0x3dd0a7(0x546)](new Event('connection\x20error')),_0x395b0c[_0x3dd0a7(0x3dc)]();};return _0x395b0c={'memberID':'','close$':_0x59f769[_0x38edd5(0x2ed)](),'error$':_0x58b1e2['asObservable'](),'open$':_0x1bc33a['open$'],'message$':_0x297ed0['asObservable'](),'send':_0x295f7e=>{var _0x3024a5=_0x38edd5;if(_0x295f7e[_0x3024a5(0x467)]===W['INGEST']){if(_0x295f7e[_0x3024a5(0x3bc)][_0x3024a5(0x39c)]===p['CollaborationEvent'][_0x3024a5(0x318)]){this['_submitChangeset'](_0x395b0c,_0x295f7e[_0x3024a5(0x3bc)])[_0x3024a5(0x254)](_0x493695=>{var _0x15d254=_0x3024a5;this[_0x15d254(0x346)][_0x15d254(0x373)](_0x493695),_0x144d89();});return;}if(_0x295f7e[_0x3024a5(0x3bc)][_0x3024a5(0x39c)]===p[_0x3024a5(0x401)][_0x3024a5(0x337)]){const _0x5ae3b2=_0x295f7e['data'];this[_0x3024a5(0x2c1)](_0x5ae3b2)[_0x3024a5(0x402)](_0x329b6f=>{var _0x28599e=_0x3024a5;_0x297ed0['next']({'cmd':W[_0x28599e(0x349)],'code':oe['OK'],'routeKey':_0x5ae3b2[_0x28599e(0x3bc)][_0x28599e(0x270)],'routeType':'','data':{'eventID':p[_0x28599e(0x401)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x329b6f}}});})[_0x3024a5(0x254)](_0x317b26=>{var _0x107622=_0x3024a5;this['_logService'][_0x107622(0x373)](_0x317b26),_0x144d89();});return;}}_0x1bc33a[_0x3024a5(0x261)](Tt(_0x295f7e));},'close':()=>{var _0x31adbd=_0x38edd5;_0x1bc33a[_0x31adbd(0x3dc)](),_0x1d5b3f['dispose']();}},_0x395b0c;}async[_0x38cf52(0x1fb)](_0x464c4c,_0x4b6faf){var _0x585a72=_0x38cf52,_0x514a5e,_0x23a9c7;const {unitType:_0x4a9e7b,unitID:_0x5ee66e,changeset:_0x17adcc}=_0x4b6faf[_0x585a72(0x3bc)],_0x236e26={'unitID':_0x5ee66e,'memberID':_0x464c4c[_0x585a72(0x2eb)],'type':_0x4a9e7b,'changeset':p[_0x585a72(0x2e5)](_0x17adcc)},_0xc43e00=this[_0x585a72(0x515)][_0x585a72(0x2be)](It),_0x5c9729=this[_0x585a72(0x515)][_0x585a72(0x2be)](G),_0x15df7a=Jt((_0x23a9c7=(_0x514a5e=_0x5c9729==null?void 0x0:_0x5c9729[_0x585a72(0x28f)])!=null?_0x514a5e:_0xc43e00)!=null?_0x23a9c7:Vt,_0x4a9e7b,_0x5ee66e);try{await this[_0x585a72(0x4df)][_0x585a72(0x49e)](_0x15df7a,{'body':_0x236e26});}catch(_0x41306b){throw this[_0x585a72(0x346)][_0x585a72(0x373)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x41306b;}}async[_0x38cf52(0x2c1)](_0x515551){var _0x1f98f5=_0x38cf52;const {unitID:_0x4c7f8f,from:_0x2883d3,to:_0x59af84,unitType:_0x11f35f}=_0x515551[_0x1f98f5(0x3bc)];return(await this[_0x1f98f5(0x54e)][_0x1f98f5(0x2ac)]({'metadata':void 0x0},{'unitID':_0x4c7f8f,'type':_0x11f35f,'from':_0x2883d3,'to':_0x59af84}))['changesets'];}},exports['CollaborationSocketService']=zt([_e(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),_e(0x1,a['Inject'](K['HTTPService'])),_e(0x2,a[_0x38cf52(0x230)]),_e(0x3,a[_0x38cf52(0x20c)]),_e(0x4,p[_0x38cf52(0x308)])],exports[_0x38cf52(0x441)]);const Xt=_0x38cf52(0x487);function Zt(_0x3bdb87){var _0x2d9648=_0x38cf52;return JSON[_0x2d9648(0x4a5)](_0x3bdb87)[_0x2d9648(0x4ea)];}class $e{constructor(){var _0x452b1f=_0x38cf52;A(this,_0x452b1f(0x2b5),new $[(_0x452b1f(0x3ef))]()),A(this,_0x452b1f(0x435),this[_0x452b1f(0x2b5)][_0x452b1f(0x2ed)]());}[_0x38cf52(0x4b9)](_0x1d6d83){var _0x638d79=_0x38cf52;this[_0x638d79(0x2b5)]['next'](_0x1d6d83);}}var Qt=Object[_0x38cf52(0x28a)],ei=(_0x3ee787,_0x1aef7f,_0xb3f4b4,_0x5ae2bc)=>{var _0x2193a6=_0x38cf52;for(var _0x14ae47=_0x5ae2bc>0x1?void 0x0:_0x5ae2bc?Qt(_0x1aef7f,_0xb3f4b4):_0x1aef7f,_0x12f5c0=_0x3ee787[_0x2193a6(0x4ea)]-0x1,_0x3ea8dd;_0x12f5c0>=0x0;_0x12f5c0--)(_0x3ea8dd=_0x3ee787[_0x12f5c0])&&(_0x14ae47=_0x3ea8dd(_0x14ae47)||_0x14ae47);return _0x14ae47;},We=(_0x51f634,_0x222945)=>(_0x108b4c,_0x33b349)=>_0x222945(_0x108b4c,_0x33b349,_0x51f634);exports['MemberService']=class extends a[_0x38cf52(0x519)]{constructor(_0x44772f,_0x4e573d){var _0x264fa3=_0x38cf52;super(),A(this,_0x264fa3(0x3ed),new Map()),A(this,_0x264fa3(0x437),new $[(_0x264fa3(0x3ef))]()),(this[_0x264fa3(0x4fb)]=_0x44772f,this[_0x264fa3(0x50a)]=_0x4e573d,this[_0x264fa3(0x54c)]($['merge'](this[_0x264fa3(0x4fb)][_0x264fa3(0x35e)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x264fa3(0x516)](V['map'](_0x6bb8c0=>_0x6bb8c0[_0x264fa3(0x32d)]())),this[_0x264fa3(0x4fb)]['getTypeOfUnitDisposed$'](a[_0x264fa3(0x42e)][_0x264fa3(0x2d7)])[_0x264fa3(0x516)](V['map'](_0x4e1b2a=>_0x4e1b2a[_0x264fa3(0x32d)]())),this[_0x264fa3(0x4fb)][_0x264fa3(0x35e)](a[_0x264fa3(0x42e)]['UNIVER_SLIDE'])[_0x264fa3(0x516)](V[_0x264fa3(0x475)](_0x2e6e2e=>_0x2e6e2e[_0x264fa3(0x32d)]())))[_0x264fa3(0x36f)](_0x25a83f=>this[_0x264fa3(0x211)](_0x25a83f))));}[_0x38cf52(0x453)](_0x9eb1f3){var _0xc1eb61=_0x38cf52;return this[_0xc1eb61(0x3ed)][_0xc1eb61(0x4a6)](_0x9eb1f3)?$['of'](this[_0xc1eb61(0x3ed)][_0xc1eb61(0x47a)](_0x9eb1f3)):this['_roomCreated$'][_0xc1eb61(0x516)](V[_0xc1eb61(0x475)](_0x565f69=>{var _0x54527f=_0xc1eb61;if(_0x565f69===_0x9eb1f3)return this[_0x54527f(0x3ed)][_0x54527f(0x47a)](_0x565f69);}));}[_0x38cf52(0x30d)](_0x178d33){var _0x273912=_0x38cf52;this['_userManagerService'][_0x273912(0x30d)](_0x178d33);}['getCurrentUser'](){var _0x278a6c=_0x38cf52;return this['_userManagerService'][_0x278a6c(0x54f)]();}[_0x38cf52(0x213)](_0x50283c,_0x17110e){var _0x17df2d=_0x38cf52;let _0x5f0b2=this[_0x17df2d(0x3ed)][_0x17df2d(0x47a)](_0x50283c);_0x5f0b2||(_0x5f0b2=new ti(),this[_0x17df2d(0x3ed)][_0x17df2d(0x31c)](_0x50283c,_0x5f0b2),this[_0x17df2d(0x437)]['next'](_0x50283c)),_0x5f0b2[_0x17df2d(0x213)](_0x17110e);}[_0x38cf52(0x514)](_0x4aead4,_0x365055){var _0x45e221=_0x38cf52;const _0x2fbc06=this[_0x45e221(0x3ed)][_0x45e221(0x47a)](_0x4aead4);_0x2fbc06&&_0x2fbc06[_0x45e221(0x514)](_0x365055);}[_0x38cf52(0x48c)](_0x5c3eef){var _0x3abbbd=_0x38cf52;return this[_0x3abbbd(0x3ed)][_0x3abbbd(0x47a)](_0x5c3eef);}[_0x38cf52(0x2a8)](_0x2e930e,_0x4ca8f2){var _0x1434e1=_0x38cf52;const _0x84ce73=this['_roomMembers'][_0x1434e1(0x47a)](_0x2e930e);if(_0x84ce73)return _0x84ce73[_0x1434e1(0x2a8)](_0x4ca8f2);}[_0x38cf52(0x211)](_0x2a219c){var _0xd6a299=_0x38cf52;const _0x80891f=this[_0xd6a299(0x3ed)][_0xd6a299(0x47a)](_0x2a219c);_0x80891f&&(_0x80891f[_0xd6a299(0x52d)](),this[_0xd6a299(0x3ed)][_0xd6a299(0x484)](_0x2a219c));}[_0x38cf52(0x52d)](){var _0x30a77a=_0x38cf52;this[_0x30a77a(0x3ed)][_0x30a77a(0x49c)](_0x1cb8d1=>_0x1cb8d1[_0x30a77a(0x52d)]()),this[_0x30a77a(0x3ed)][_0x30a77a(0x533)](),this[_0x30a77a(0x437)][_0x30a77a(0x43e)]();}},exports[_0x38cf52(0x442)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a['Inject'](a[_0x38cf52(0x38f)]))],exports[_0x38cf52(0x442)]);class ti extends a['Disposable']{constructor(){var _0x51c8ea=_0x38cf52;super(...arguments),A(this,_0x51c8ea(0x231),new Map()),A(this,_0x51c8ea(0x31e),new $[(_0x51c8ea(0x21e))](this['_members'])),A(this,_0x51c8ea(0x573),this[_0x51c8ea(0x31e)][_0x51c8ea(0x2ed)]());}[_0x38cf52(0x52d)](){var _0x2c9adb=_0x38cf52;this[_0x2c9adb(0x231)][_0x2c9adb(0x533)]();}[_0x38cf52(0x213)](_0x70c26b){var _0x42fc80=_0x38cf52;this['_members'][_0x42fc80(0x31c)](_0x70c26b[_0x42fc80(0x2eb)],_0x70c26b),this[_0x42fc80(0x485)]();}[_0x38cf52(0x514)](_0x3d70d7){var _0x1a1f71=_0x38cf52;this[_0x1a1f71(0x231)][_0x1a1f71(0x484)](_0x3d70d7);}['getMember'](_0xe25deb){var _0x133138=_0x38cf52;return this[_0x133138(0x231)]['get'](_0xe25deb);}[_0x38cf52(0x28d)](){var _0x2dae21=_0x38cf52;return Array[_0x2dae21(0x388)](this[_0x2dae21(0x231)][_0x2dae21(0x4b0)]());}[_0x38cf52(0x485)](){var _0x28ab19=_0x38cf52;this[_0x28ab19(0x31e)][_0x28ab19(0x546)](this[_0x28ab19(0x231)]);}}var ii=Object[_0x38cf52(0x28a)],ni=(_0x2c3b4c,_0x543a3c,_0x1e64fc,_0x54818f)=>{var _0x11b5ba=_0x38cf52;for(var _0x2b6697=_0x54818f>0x1?void 0x0:_0x54818f?ii(_0x543a3c,_0x1e64fc):_0x543a3c,_0x103e34=_0x2c3b4c[_0x11b5ba(0x4ea)]-0x1,_0x5b7879;_0x103e34>=0x0;_0x103e34--)(_0x5b7879=_0x2c3b4c[_0x103e34])&&(_0x2b6697=_0x5b7879(_0x2b6697)||_0x2b6697);return _0x2b6697;},se=(_0x202aea,_0x3b238c)=>(_0x48dffb,_0x496a23)=>_0x3b238c(_0x48dffb,_0x496a23,_0x202aea),re=(_0x21f4f2=>(_0x21f4f2[_0x21f4f2[_0x38cf52(0x497)]=0x0]=_0x38cf52(0x497),_0x21f4f2[_0x21f4f2[_0x38cf52(0x4ec)]=0x1]=_0x38cf52(0x4ec),_0x21f4f2[_0x21f4f2[_0x38cf52(0x55e)]=0x2]=_0x38cf52(0x55e),_0x21f4f2[_0x21f4f2[_0x38cf52(0x464)]=0x3]=_0x38cf52(0x464),_0x21f4f2))(re||{});const Ye={[oe[_0x38cf52(0x53d)]]:_0x38cf52(0x3b4),[oe[_0x38cf52(0x22e)]]:_0x38cf52(0x4c0),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x38cf52(0x278),[oe[_0x38cf52(0x351)]]:_0x38cf52(0x4fc),[oe[_0x38cf52(0x33d)]]:_0x38cf52(0x4c6)};exports[_0x38cf52(0x3eb)]=class extends a[_0x38cf52(0x374)]{constructor(_0x2439cf,_0xa5ba65,_0x322821,_0x394a1b,_0x3ec4d2,_0x3ca3cd,_0x19dc38,_0xa679ae,_0x586c58){var _0x329a49=_0x38cf52;super(),A(this,_0x329a49(0x4f9),new $[(_0x329a49(0x21e))](0x0)),A(this,_0x329a49(0x312),this[_0x329a49(0x4f9)][_0x329a49(0x2ed)]()),A(this,'_event$',new $[(_0x329a49(0x3ef))]()),A(this,'event$',this[_0x329a49(0x482)][_0x329a49(0x2ed)]()),A(this,_0x329a49(0x428)),A(this,'_socketMessageSubscription'),A(this,_0x329a49(0x2e2)),A(this,_0x329a49(0x241),!0x1),A(this,_0x329a49(0x392),null),(this[_0x329a49(0x559)]=_0x2439cf,this[_0x329a49(0x346)]=_0x322821,this['_configService']=_0x394a1b,this[_0x329a49(0x263)]=_0x3ec4d2,this[_0x329a49(0x2e8)]=_0x3ca3cd,this[_0x329a49(0x41f)]=_0x19dc38,this[_0x329a49(0x446)]=_0xa679ae,this[_0x329a49(0x51e)]=_0x586c58,this[_0x329a49(0x241)]=!!this[_0x329a49(0x51e)],_0xa5ba65[_0x329a49(0x516)]($[_0x329a49(0x3fc)](this[_0x329a49(0x326)]))['subscribe'](_0x205026=>{var _0x4705f0=_0x329a49,_0x439ba0;typeof _0x205026>'u'||(this[_0x4705f0(0x428)]=_0x205026,_0x205026?(this[_0x4705f0(0x2df)](_0x205026),this[_0x4705f0(0x3e8)]=_0x205026[_0x4705f0(0x3a1)][_0x4705f0(0x36f)](_0x2d5ca0=>{var _0x3e3fa6=_0x4705f0;_0x2d5ca0[_0x3e3fa6(0x40c)]===this[_0x3e3fa6(0x559)]&&this[_0x3e3fa6(0x281)](_0x2d5ca0);})):(this[_0x4705f0(0x48b)](),this[_0x4705f0(0x4f9)][_0x4705f0(0x546)](0x2),(_0x439ba0=this[_0x4705f0(0x3e8)])==null||_0x439ba0[_0x4705f0(0x362)](),this[_0x4705f0(0x3e8)]=null));}));}get[_0x38cf52(0x3a5)](){var _0x344ae3=_0x38cf52;return this['_sessionStatus$'][_0x344ae3(0x250)]();}['getMemberID'](){var _0x4db35c=_0x38cf52,_0x9fd557,_0x2b5f80;return(_0x2b5f80=(_0x9fd557=this['_socket'])==null?void 0x0:_0x9fd557[_0x4db35c(0x2eb)])!=null?_0x2b5f80:null;}[_0x38cf52(0x52d)](){var _0x52872b=_0x38cf52;super[_0x52872b(0x52d)](),this['dispose$'][_0x52872b(0x546)](),this['dispose$'][_0x52872b(0x43e)]();}[_0x38cf52(0x3dc)](){var _0xe30446=_0x38cf52,_0x130375,_0x1de576;this['_throwTelemetryCollaborationNewChangeset'](),(_0x130375=this[_0xe30446(0x428)])==null||_0x130375['send']({'cmd':W[_0xe30446(0x399)],'data':{'roomID':this[_0xe30446(0x559)]}}),(_0x1de576=this['_socket'])==null||_0x1de576[_0xe30446(0x3dc)](),this['_event$'][_0xe30446(0x43e)](),this[_0xe30446(0x4f9)][_0xe30446(0x43e)](),this[_0xe30446(0x52d)]();}[_0x38cf52(0x281)](_0x43725e){var _0xd1e736=_0x38cf52;_0x43725e['cmd']===W[_0xd1e736(0x476)]?this[_0xd1e736(0x38e)](_0x43725e):_0x43725e[_0xd1e736(0x467)]===W[_0xd1e736(0x349)]&&this[_0xd1e736(0x3c4)](_0x43725e);}[_0x38cf52(0x2df)](_0x226733){var _0x287fc3=_0x38cf52;this[_0x287fc3(0x4f9)][_0x287fc3(0x546)](0x1),_0x226733[_0x287fc3(0x261)]({'cmd':W[_0x287fc3(0x476)],'routeKey':this[_0x287fc3(0x559)],'routeType':'','data':{'rooms':[{'roomID':this[_0x287fc3(0x559)]}]}});}['_onJoinRoomEvent'](_0x2941e7){var _0x151525=_0x38cf52,_0x1c964e;if(_0x2941e7['code']in Ye){this[_0x151525(0x446)][_0x151525(0x427)]({'id':Z[_0x151525(0x50f)],'data':Ye[_0x2941e7[_0x151525(0x4f8)]]}),this[_0x151525(0x4f9)][_0x151525(0x546)](0x2);return;}this[_0x151525(0x4f9)]['next'](0x3);const _0x21e409=(_0x1c964e=_0x2941e7[_0x151525(0x3bc)][_0x151525(0x4e6)][this[_0x151525(0x559)]])==null?void 0x0:_0x1c964e[_0x151525(0x3dd)];_0x21e409&&_0x21e409['forEach'](_0x385caa=>this['_memberService'][_0x151525(0x213)](this[_0x151525(0x559)],_0x385caa));}[_0x38cf52(0x3c4)](_0x40a48c){var _0x2de51c=_0x38cf52;try{const _0x358979=_0x40a48c['data'];switch(_0x358979[_0x2de51c(0x39c)]){case p['CollaborationEvent'][_0x2de51c(0x51f)]:this[_0x2de51c(0x3e0)](_0x358979),this[_0x2de51c(0x482)][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x2d9)]:this['_onUserLeave'](_0x358979),this['_event$'][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x303)]:case p[_0x2de51c(0x401)][_0x2de51c(0x36d)]:this[_0x2de51c(0x500)](),this[_0x2de51c(0x44e)](),this[_0x2de51c(0x482)][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)][_0x2de51c(0x479)]:this['_logService'][_0x2de51c(0x373)](_0x2de51c(0x534)+JSON[_0x2de51c(0x4a5)](_0x358979)),this['_event$'][_0x2de51c(0x546)](_0x358979);break;case p[_0x2de51c(0x401)]['COMMENT_UPDATE']:this[_0x2de51c(0x41f)]['onCommentUpdate'](_0x358979[_0x2de51c(0x3bc)]),this['_event$'][_0x2de51c(0x546)](_0x358979);break;default:this['_event$'][_0x2de51c(0x546)](_0x358979);}}catch(_0x13281f){this[_0x2de51c(0x346)][_0x2de51c(0x373)](_0x13281f,_0x40a48c);}}['_onUserJoin'](_0x54d076){var _0x24a72c=_0x38cf52;this['_memberService'][_0x24a72c(0x213)](this[_0x24a72c(0x559)],_0x54d076[_0x24a72c(0x3bc)]);}[_0x38cf52(0x2e0)](_0xf1f874){var _0xe9ff18=_0x38cf52;this['_memberService']['removeMember'](this[_0xe9ff18(0x559)],_0xf1f874[_0xe9ff18(0x3bc)][_0xe9ff18(0x2eb)]);}async[_0x38cf52(0x261)](_0xbba530,_0x23a6b2){var _0x14b469=_0x38cf52;if(this[_0x14b469(0x3a5)]!==0x3||!this[_0x14b469(0x428)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xbba530['eventID']===p[_0x14b469(0x401)]['SUBMIT_CHANGESET']&&(this[_0x14b469(0x2f1)](),this[_0x14b469(0x4b4)](_0xbba530)),this[_0x14b469(0x428)]['send']({'cmd':W[_0x14b469(0x35f)],'routeKey':_0x23a6b2,'routeType':'','data':_0xbba530});}catch(_0x5dfb72){this[_0x14b469(0x346)]['error'](_0x5dfb72);}}[_0x38cf52(0x2f1)](){var _0x414bae=_0x38cf52,_0x8923c0;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x54cbe4=_0x20ff;this[_0x54cbe4(0x2e2)]=null,this[_0x54cbe4(0x446)][_0x54cbe4(0x427)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x8923c0=this[_0x414bae(0x515)]['getConfig'](ke))!=null?_0x8923c0:St);}[_0x38cf52(0x44e)](){var _0x256eff=_0x38cf52;this[_0x256eff(0x2e2)]&&(clearTimeout(this[_0x256eff(0x2e2)]),this[_0x256eff(0x2e2)]=null);}[_0x38cf52(0x4b4)](_0x5cdee7){var _0x1abc72=_0x38cf52;if(!this[_0x1abc72(0x241)])return;const {data:_0x513d63}=_0x5cdee7,{unitID:_0x4a0852,changeset:_0x180ff1}=_0x513d63,{mutations:_0x41ef9c,type:_0x4b2d79}=_0x180ff1;this[_0x1abc72(0x392)]={'unitId':_0x4a0852,'type':_0x4b2d79,'startTime':performance[_0x1abc72(0x551)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x41ef9c)};}[_0x38cf52(0x500)](){var _0x1543fd=_0x38cf52;if(this['_shouldReportTelemetry']){if(!this[_0x1543fd(0x392)]){this[_0x1543fd(0x346)][_0x1543fd(0x373)](_0x1543fd(0x27f),_0x1543fd(0x343));return;}this[_0x1543fd(0x392)][_0x1543fd(0x323)]=performance[_0x1543fd(0x551)](),this[_0x1543fd(0x392)][_0x1543fd(0x505)]=this['_telemetryInfo'][_0x1543fd(0x323)]-this[_0x1543fd(0x392)][_0x1543fd(0x26b)],this[_0x1543fd(0x51e)][_0x1543fd(0x4bf)](Xt,this[_0x1543fd(0x392)]),this[_0x1543fd(0x392)]=null;}}[_0x38cf52(0x48b)](){var _0x2181fd=_0x38cf52;this[_0x2181fd(0x392)]=null;}},exports[_0x38cf52(0x3eb)]=ni([se(0x2,a[_0x38cf52(0x20c)]),se(0x3,a['IConfigService']),se(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),se(0x5,a[_0x38cf52(0x54a)](exports[_0x38cf52(0x442)])),se(0x6,a['Inject']($e)),se(0x7,a[_0x38cf52(0x54a)](ee)),se(0x8,a['Optional'](Pt[_0x38cf52(0x2b9)]))],exports[_0x38cf52(0x3eb)]);var ri=Object[_0x38cf52(0x28a)],si=(_0xa6b7d,_0x1b167a,_0x3e700e,_0xd60c92)=>{var _0x4fc1cd=_0x38cf52;for(var _0x1df0f9=_0xd60c92>0x1?void 0x0:_0xd60c92?ri(_0x1b167a,_0x3e700e):_0x1b167a,_0x168b1a=_0xa6b7d[_0x4fc1cd(0x4ea)]-0x1,_0x1f8245;_0x168b1a>=0x0;_0x168b1a--)(_0x1f8245=_0xa6b7d[_0x168b1a])&&(_0x1df0f9=_0x1f8245(_0x1df0f9)||_0x1df0f9);return _0x1df0f9;},he=(_0x376f07,_0x55f78d)=>(_0x517417,_0xda48c0)=>_0x55f78d(_0x517417,_0xda48c0,_0x376f07);exports[_0x38cf52(0x55a)]=class extends a['Disposable']{constructor(_0x38fdb8,_0x20170b,_0x1e5d51,_0x28b52a,_0x41abf0,_0x1b1e40){var _0xb47f35=_0x38cf52;super(),A(this,'_socket$',new $[(_0xb47f35(0x21e))](void 0x0)),A(this,_0xb47f35(0x24b),this[_0xb47f35(0x37a)]['asObservable']()),A(this,'_candidateSocket',null),A(this,_0xb47f35(0x284),new Map()),A(this,_0xb47f35(0x457),new $[(_0xb47f35(0x21e))](re[_0xb47f35(0x497)])),A(this,'status$',this[_0xb47f35(0x457)][_0xb47f35(0x2ed)]()),A(this,'_socketReady',!0x1),A(this,_0xb47f35(0x48d)),A(this,_0xb47f35(0x3c7),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0xb47f35(0x33a)),(this[_0xb47f35(0x45a)]=_0x38fdb8,this[_0xb47f35(0x346)]=_0x20170b,this['_configService']=_0x1e5d51,this[_0xb47f35(0x212)]=_0x28b52a,this[_0xb47f35(0x446)]=_0x41abf0,this[_0xb47f35(0x39f)]=_0x1b1e40,this[_0xb47f35(0x550)]());}get[_0x38cf52(0x428)](){var _0x271f57=_0x38cf52;return this[_0x271f57(0x37a)][_0x271f57(0x250)]();}[_0x38cf52(0x550)](){var _0x5ad13f=_0x38cf52;this[_0x5ad13f(0x39f)]&&this[_0x5ad13f(0x54c)](this[_0x5ad13f(0x39f)][_0x5ad13f(0x4eb)][_0x5ad13f(0x36f)](_0x4535a2=>{var _0x30044a=_0x5ad13f;_0x4535a2&&!this[_0x30044a(0x428)]&&this[_0x30044a(0x2f9)](),_0x4535a2||this[_0x30044a(0x3d9)]();}));}[_0x38cf52(0x52d)](){var _0x35931b=_0x38cf52;super[_0x35931b(0x52d)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x35931b(0x28c)](),this[_0x35931b(0x284)][_0x35931b(0x49c)](_0x140070=>_0x140070[_0x35931b(0x52d)]()),this[_0x35931b(0x284)]['clear'](),this[_0x35931b(0x457)]['complete']();}async[_0x38cf52(0x4aa)](_0x4c56ab){var _0x569485=_0x38cf52;if(this[_0x569485(0x284)]['has'](_0x4c56ab))return this[_0x569485(0x284)]['get'](_0x4c56ab);this['_tryEnsureSocket']();const _0x235bfd=this[_0x569485(0x45a)]['createInstance'](exports[_0x569485(0x3eb)],_0x4c56ab,this['_socket$'][_0x569485(0x2ed)]());return this[_0x569485(0x284)]['set'](_0x4c56ab,_0x235bfd),_0x235bfd;}[_0x38cf52(0x495)](_0x4a0a47){var _0x7b9710=_0x38cf52,_0x1ba8fe;const _0x10c01c=this['_sessions'][_0x7b9710(0x47a)](_0x4a0a47);_0x10c01c&&(this['_sessions']['delete'](_0x4a0a47),_0x10c01c['close']()),this['_sessions'][_0x7b9710(0x42b)]||(_0x1ba8fe=this[_0x7b9710(0x428)])==null||_0x1ba8fe[_0x7b9710(0x3dc)]();}[_0x38cf52(0x2f9)](){var _0x532602=_0x38cf52;this[_0x532602(0x3c7)]=0x0,this[_0x532602(0x53c)](),this[_0x532602(0x37e)]();}['_clearRetryConnectingTimer'](){var _0x7e5f02=_0x38cf52;this[_0x7e5f02(0x48d)]!=null&&(clearTimeout(this[_0x7e5f02(0x48d)]),this['_retryConnectingTimer']=null);}async[_0x38cf52(0x206)](){var _0x5e046d=_0x38cf52,_0xa6c474,_0x5be71d;const _0x4c1603=this['_configService'][_0x5e046d(0x2be)](ut),_0x2955ca=this['_configService'][_0x5e046d(0x2be)](G),_0x520ec1=(_0x5be71d=(_0xa6c474=_0x2955ca==null?void 0x0:_0x2955ca[_0x5e046d(0x4c9)])!=null?_0xa6c474:_0x4c1603)!=null?_0x5be71d:dt,_0x5b6894=await this[_0x5e046d(0x212)][_0x5e046d(0x455)](_0x520ec1);return this[_0x5e046d(0x339)]=_0x5b6894,_0x5b6894;}async[_0x38cf52(0x202)](){var _0x15bf18=_0x38cf52,_0x1b3005,_0x42ffdc;try{const _0x1c74d4=(_0x42ffdc=(_0x1b3005=this[_0x15bf18(0x428)])!=null?_0x1b3005:this['_candidateSocket'])!=null?_0x42ffdc:await this[_0x15bf18(0x206)]();if(_0x1c74d4){const _0x2ea93e=_0x1c74d4[_0x15bf18(0x261)];_0x1c74d4['send']=_0x2d080b=>(this[_0x15bf18(0x45b)](),_0x2ea93e[_0x15bf18(0x30c)](_0x1c74d4,[_0x2d080b])),_0x1c74d4[_0x15bf18(0x3a1)][_0x15bf18(0x36f)](_0x1ca8cd=>this['_onMessage'](_0x1c74d4,_0x1ca8cd)),_0x1c74d4[_0x15bf18(0x4a9)]['pipe'](V[_0x15bf18(0x2db)](0x1))[_0x15bf18(0x36f)](_0x2ca82b=>this[_0x15bf18(0x346)][_0x15bf18(0x373)](_0x15bf18(0x30a),_0x2ca82b)),_0x1c74d4[_0x15bf18(0x2b1)][_0x15bf18(0x516)](V['take'](0x1))['subscribe'](()=>{var _0x444536=_0x15bf18;this[_0x444536(0x42c)](_0x1c74d4);}),_0x1c74d4['close$'][_0x15bf18(0x516)](V[_0x15bf18(0x2db)](0x1))[_0x15bf18(0x36f)](_0x106d3b=>{var _0x4ec226=_0x15bf18;this[_0x4ec226(0x346)]['debug'](_0x4ec226(0x34d),_0x4ec226(0x3a2),_0x106d3b),this[_0x4ec226(0x353)]();});}}catch(_0x18c7b4){this[_0x15bf18(0x346)]['error'](_0x18c7b4),this[_0x15bf18(0x353)]();}}['_onConnectionOpen'](_0x1d5f2e){var _0x3c484e=_0x38cf52;this['_logService']['debug'](_0x3c484e(0x34d),_0x3c484e(0x488)),_0x1d5f2e[_0x3c484e(0x261)]({'cmd':W['HELLO']}),this[_0x3c484e(0x45b)]();}['_onOffline'](){var _0x582efe=_0x38cf52;this[_0x582efe(0x4c8)]=!0x1,this[_0x582efe(0x339)]=null,this[_0x582efe(0x457)]['next'](re[_0x582efe(0x55e)]),this['_socket$'][_0x582efe(0x546)](null),this[_0x582efe(0x37b)](),this[_0x582efe(0x28c)]();}['_onConnectionFailed'](){var _0x4515b7=_0x38cf52,_0x2f7840;this['_onOffline'](),this[_0x4515b7(0x3c7)]<((_0x2f7840=this[_0x4515b7(0x515)][_0x4515b7(0x2be)](ft))!=null?_0x2f7840:jt)?(this[_0x4515b7(0x446)]['emitEvent']({'id':Z[_0x4515b7(0x3de)]}),this[_0x4515b7(0x37e)]()):this[_0x4515b7(0x446)][_0x4515b7(0x427)]({'id':Z[_0x4515b7(0x200)]});}['_tryReconnect'](){var _0x552a9d=_0x38cf52,_0x4ac84d;const _0xa7b717=this[_0x552a9d(0x3c7)],_0x4a7293=this[_0x552a9d(0x515)][_0x552a9d(0x2be)](G),_0x347bc7=_0xa7b717===0x0?0x0:((_0x4ac84d=_0x4a7293==null?void 0x0:_0x4a7293[_0x552a9d(0x375)])!=null?_0x4ac84d:$t)*0x2**_0xa7b717;this['_retryConnectingTimer']=setTimeout(()=>{var _0x50bcaa=_0x552a9d;clearTimeout(this[_0x50bcaa(0x48d)]),this[_0x50bcaa(0x48d)]=null,this['_tryEnsureSocket']();},_0x347bc7),this[_0x552a9d(0x3c7)]+=0x1;}[_0x38cf52(0x4a0)](_0x570d32,_0x2d6ed2){var _0x5861d9=_0x38cf52;const {cmd:_0x24d7ff}=_0x2d6ed2;_0x24d7ff===W[_0x5861d9(0x412)]&&!this['_socketReady']&&(_0x570d32[_0x5861d9(0x2eb)]=_0x2d6ed2[_0x5861d9(0x3bc)][_0x5861d9(0x2eb)],this[_0x5861d9(0x37a)][_0x5861d9(0x546)](_0x570d32),this['_status$'][_0x5861d9(0x546)](re['ONLINE']),this[_0x5861d9(0x4c8)]=!0x0,this[_0x5861d9(0x339)]=null),_0x24d7ff===W['HEARTBEAT']&&this[_0x5861d9(0x37b)](),this['_rescheduleHeartbeat']();}[_0x38cf52(0x45b)](){var _0x5304ba=_0x38cf52,_0x9348fe;this['_clearHeartbeatTimer'](),this[_0x5304ba(0x3d8)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x9348fe=this[_0x5304ba(0x515)][_0x5304ba(0x2be)](vt))!=null?_0x9348fe:Ht);}[_0x38cf52(0x3a3)](){var _0x1a2cc1=_0x38cf52;this['_socket']['send']({'cmd':W['HEARTBEAT']}),this[_0x1a2cc1(0x334)]();}[_0x38cf52(0x334)](){var _0x45ab92=_0x38cf52,_0x45d3c2;this[_0x45ab92(0x33a)]=setTimeout(()=>this[_0x45ab92(0x353)](),(_0x45d3c2=this[_0x45ab92(0x515)][_0x45ab92(0x2be)](ke))!=null?_0x45d3c2:St);}['_clearHeartbeatTimer'](){var _0x5048a1=_0x38cf52;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5048a1(0x3d8)]=null);}[_0x38cf52(0x37b)](){var _0x465564=_0x38cf52;this[_0x465564(0x33a)]!=null&&(clearTimeout(this[_0x465564(0x33a)]),this[_0x465564(0x33a)]=null);}},exports[_0x38cf52(0x55a)]=si([he(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),he(0x1,a[_0x38cf52(0x20c)]),he(0x2,a[_0x38cf52(0x230)]),he(0x3,He),he(0x4,a[_0x38cf52(0x54a)](ee)),he(0x5,a['Optional'](mt))],exports[_0x38cf52(0x55a)]);const q=a['createIdentifier'](_0x38cf52(0x41b));function oi(_0x5ee109){var _0x11226c=_0x38cf52;return _0x11226c(0x257)+_0x5ee109;}var ai=Object[_0x38cf52(0x28a)],ci=(_0x5edb7f,_0x18df13,_0x45ec82,_0x590e04)=>{var _0x5099f0=_0x38cf52;for(var _0x23fd9d=_0x590e04>0x1?void 0x0:_0x590e04?ai(_0x18df13,_0x45ec82):_0x18df13,_0x12e6ec=_0x5edb7f[_0x5099f0(0x4ea)]-0x1,_0x244efb;_0x12e6ec>=0x0;_0x12e6ec--)(_0x244efb=_0x5edb7f[_0x12e6ec])&&(_0x23fd9d=_0x244efb(_0x23fd9d)||_0x23fd9d);return _0x23fd9d;},Ue=(_0x411bad,_0x2125a4)=>(_0x56ad91,_0xaf2c2d)=>_0x2125a4(_0x56ad91,_0xaf2c2d,_0x411bad);function hi(_0x5de1b2){var _0x1f7c00=_0x38cf52;const {unitID:_0x26c9d0,mutations:_0x3ce07f}=_0x5de1b2;return{'unitId':_0x26c9d0,'subUnitId':_0x3ce07f[0x0][_0x1f7c00(0x501)][_0x1f7c00(0x266)]};}exports[_0x38cf52(0x372)]=class{constructor(_0x113e9a,_0x809eab,_0x3e87a1){var _0x36936b=_0x38cf52;this[_0x36936b(0x45a)]=_0x113e9a,this[_0x36936b(0x471)]=_0x809eab,this[_0x36936b(0x545)]=_0x3e87a1;}['transformSelections'](_0x581c8c){var _0x2512b9=_0x38cf52,_0x3d4f5d,_0x50906a,_0x6d1f78,_0x4c208a;const _0x581e07=this[_0x2512b9(0x45a)][_0x2512b9(0x47a)](X['SheetsSelectionsService']),{unitId:_0x458029,subUnitId:_0x521dc7}=hi(_0x581c8c),_0x4be37b=_0x581e07==null?void 0x0:_0x581e07[_0x2512b9(0x20b)](_0x458029)[_0x2512b9(0x2fe)](),_0x524bc6=(_0x50906a=(_0x3d4f5d=this[_0x2512b9(0x545)]['getUnit'](_0x458029))==null?void 0x0:_0x3d4f5d[_0x2512b9(0x3b0)]())==null?void 0x0:_0x50906a[_0x2512b9(0x406)]();if(_0x4be37b[_0x2512b9(0x4ea)]===0x0||!_0x458029||!_0x521dc7)return;const _0x17928c=[{'id':X[_0x2512b9(0x3cc)]['id'],'params':{'unitId':_0x458029,'subUnitId':_0x524bc6,'selections':a[_0x2512b9(0x531)]['deepClone'](_0x4be37b)}}],_0x43c9b1=this[_0x2512b9(0x471)][_0x2512b9(0x232)](_0x581c8c,_0x17928c);if(!p[_0x2512b9(0x3e1)](_0x43c9b1))throw _0x43c9b1[_0x2512b9(0x373)];const _0x5cf01e=(_0x4c208a=(_0x6d1f78=_0x43c9b1[_0x2512b9(0x29a)][0x0])==null?void 0x0:_0x6d1f78[_0x2512b9(0x501)])==null?void 0x0:_0x4c208a[_0x2512b9(0x4f4)];if(Array[_0x2512b9(0x332)](_0x5cf01e)&&_0x5cf01e['length']){if(_0x5cf01e[_0x2512b9(0x4ea)]===_0x17928c[0x0]['params']['selections']['length']&&_0x5cf01e[_0x2512b9(0x366)]((_0x1acc04,_0x425b79)=>a[_0x2512b9(0x1f9)][_0x2512b9(0x367)](_0x1acc04[_0x2512b9(0x46b)],_0x17928c[0x0]['params'][_0x2512b9(0x4f4)][_0x425b79][_0x2512b9(0x46b)])))return;this[_0x2512b9(0x45a)][_0x2512b9(0x47a)](a[_0x2512b9(0x273)])['executeCommand'](X[_0x2512b9(0x3cc)]['id'],{'unitId':_0x458029,'subUnitId':_0x524bc6,'selections':_0x5cf01e});}}},exports['SheetTransformSelectionsService']=ci([Ue(0x0,a['Inject'](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a['IUniverInstanceService'])],exports[_0x38cf52(0x372)]);const de=a[_0x38cf52(0x493)](_0x38cf52(0x52e));var je=(_0x48eb82=>(_0x48eb82[_0x48eb82['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x38cf52(0x4b1),_0x48eb82[_0x48eb82[_0x38cf52(0x2f2)]=0x1]=_0x38cf52(0x2f2),_0x48eb82))(je||{});const _i=new Set([X[_0x38cf52(0x39e)]['id']]);function Ge(_0x4fd1ad,_0x34c91f,_0x11f9fd,_0x34ae5d,_0x3eda4e){var _0x4944c7=_0x38cf52,_0x1660a9,_0x1460ca,_0x2d7ae1,_0x2c20d0;const _0x229f70=[];for(const _0x3e8c26 of _0x4fd1ad)if(_i[_0x4944c7(0x4a6)](_0x3e8c26['id'])){if(_0x229f70[_0x4944c7(0x4ea)]>0x0)break;_0x229f70[_0x4944c7(0x398)](_0x3e8c26);break;}else _0x229f70[_0x4944c7(0x398)](_0x3e8c26);const _0x50f24a=(_0x1460ca=(_0x1660a9=_0x3eda4e[_0x4944c7(0x54f)]())==null?void 0x0:_0x1660a9[_0x4944c7(0x204)])!=null?_0x1460ca:_0x4944c7(0x391),_0x3f4e4d=(_0x2c20d0=(_0x2d7ae1=_0x3eda4e[_0x4944c7(0x54f)]())==null?void 0x0:_0x2d7ae1[_0x4944c7(0x2eb)])!=null?_0x2c20d0:_0x4944c7(0x391);return{'changeset':{'unitID':_0x34c91f,'type':p['mapDocumentTypeToUniverType'](_0x11f9fd[_0x4944c7(0x538)](_0x34c91f)),'baseRev':_0x34ae5d[_0x4944c7(0x2c0)](_0x34c91f),'revision':0x0,'userID':_0x50f24a,'memberID':_0x3f4e4d,'mutations':_0x229f70},'pendingMutations':_0x4fd1ad[_0x4944c7(0x342)](_0x229f70['length'])};}function li(_0x376a8a,_0x2f4f36,_0x58e2e3,_0x2a93fa,_0x11770f){var _0x26dc3d=_0x38cf52,_0x3c474b,_0x351566,_0x6825ab,_0x2bd734;const _0x3a5f00=[_0x376a8a[_0x26dc3d(0x47c)]((_0xcc167b,_0x3702d0)=>{var _0x2c079d=_0x26dc3d,_0x34872a;const {id:_0x5dabf6}=_0xcc167b,{id:_0x27dade,type:_0x230c2c}=_0x3702d0,_0x1cdc57=(_0x34872a=_0xcc167b[_0x2c079d(0x501)])!=null?_0x34872a:{'actions':null},_0x1891a0=_0x3702d0[_0x2c079d(0x501)];if(_0x5dabf6&&_0x5dabf6!==_0x27dade)throw new Error(_0x2c079d(0x3f0)+_0x5dabf6+'\x20-\x20'+_0x27dade+'.');return{..._0xcc167b,'id':_0x27dade,'type':_0x230c2c,'params':{'unitId':_0x1891a0['unitId'],'textRanges':_0x1891a0['textRanges'],'actions':a[_0x2c079d(0x37c)][_0x2c079d(0x3fd)](_0x1cdc57[_0x2c079d(0x431)],_0x1891a0[_0x2c079d(0x431)])}};},{})],_0x2f1c50=(_0x351566=(_0x3c474b=_0x11770f[_0x26dc3d(0x54f)]())==null?void 0x0:_0x3c474b[_0x26dc3d(0x204)])!=null?_0x351566:_0x26dc3d(0x391),_0x5842c7=(_0x2bd734=(_0x6825ab=_0x11770f[_0x26dc3d(0x54f)]())==null?void 0x0:_0x6825ab['memberID'])!=null?_0x2bd734:_0x26dc3d(0x391);return{'changeset':{'unitID':_0x2f4f36,'type':p[_0x26dc3d(0x423)](_0x58e2e3['getUnitType'](_0x2f4f36)),'baseRev':_0x2a93fa['getCurrentRevOfUnit'](_0x2f4f36),'revision':0x0,'userID':_0x2f1c50,'memberID':_0x5842c7,'mutations':_0x3a5f00},'pendingMutations':[]};}function bt(_0x2c50a4,_0x457aa0){var _0x1fad11=_0x38cf52;const _0x1bacc8=new $[(_0x1fad11(0x3af))](0x1);return setTimeout(()=>_0x1bacc8[_0x1fad11(0x546)](_0x457aa0),_0x2c50a4),_0x1bacc8[_0x1fad11(0x2ed)]()[_0x1fad11(0x516)]($[_0x1fad11(0x2db)](0x1));}const ui={'id':X[_0x38cf52(0x3c3)]['id'],'type':a[_0x38cf52(0x4c1)][_0x38cf52(0x4ad)],'params':{}};var di=Object[_0x38cf52(0x28a)],ae=(_0x925334,_0x4f4ba5,_0x5472eb,_0xaa407e)=>{for(var _0xdf3d7e=_0xaa407e>0x1?void 0x0:_0xaa407e?di(_0x4f4ba5,_0x5472eb):_0x4f4ba5,_0x1d8b5c=_0x925334['length']-0x1,_0x6645d7;_0x1d8b5c>=0x0;_0x1d8b5c--)(_0x6645d7=_0x925334[_0x1d8b5c])&&(_0xdf3d7e=_0x6645d7(_0xdf3d7e)||_0xdf3d7e);return _0xdf3d7e;},L=(_0x5a3b1f,_0x225ff2)=>(_0x538e5f,_0x5ac94c)=>_0x225ff2(_0x538e5f,_0x5ac94c,_0x5a3b1f),Be=(_0x267979=>(_0x267979['NOT_COLLAB']=_0x38cf52(0x413),_0x267979[_0x38cf52(0x2bf)]='synced',_0x267979[_0x38cf52(0x279)]=_0x38cf52(0x4f6),_0x267979[_0x38cf52(0x3f3)]=_0x38cf52(0x4a3),_0x267979['AWAITING_WITH_PENDING']=_0x38cf52(0x510),_0x267979[_0x38cf52(0x328)]=_0x38cf52(0x3f2),_0x267979[_0x38cf52(0x300)]=_0x38cf52(0x4b2),_0x267979[_0x38cf52(0x55e)]=_0x38cf52(0x3cb),_0x267979))(Be||{});const Rt=0xea60;class ce{constructor(_0x533bd1,_0x378427,_0x261b5a,_0x2c0077,_0x1b2700,_0x5050a6,_0x3ec692,_0x48501b,_0x5408e4){var _0x54bf25=_0x38cf52;A(this,_0x54bf25(0x46c),null),A(this,_0x54bf25(0x25b),[]),(this['unitID']=_0x533bd1,this['type']=_0x378427,this[_0x54bf25(0x379)]=_0x1b2700,this[_0x54bf25(0x46e)]=_0x5050a6,this[_0x54bf25(0x4dc)]=_0x3ec692,this[_0x54bf25(0x4e1)]=_0x48501b,this['_localCacheService']=_0x5408e4,this[_0x54bf25(0x46c)]=_0x261b5a,this[_0x54bf25(0x25b)]=_0x2c0077);}[_0x38cf52(0x34e)](_0xff8abe){var _0x1fc73b=_0x38cf52;const _0x4cd73f=this[_0x1fc73b(0x4e1)][_0x1fc73b(0x2c0)](this[_0x1fc73b(0x270)]);return _0xff8abe[_0x1fc73b(0x301)]>_0x4cd73f+0x1?(this[_0x1fc73b(0x379)][_0x1fc73b(0x2fd)]({'from':_0x4cd73f,'to':_0xff8abe[_0x1fc73b(0x301)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x554f52){var _0x444673=_0x38cf52;this[_0x444673(0x4dc)][_0x444673(0x4ae)](this[_0x444673(0x270)],_0x554f52);}['_transformSelections'](_0x57999b){var _0xa979b=_0x38cf52,_0x11fb5b,_0x3d85e6;(_0x3d85e6=(_0x11fb5b=this[_0xa979b(0x379)])[_0xa979b(0x2e9)])==null||_0x3d85e6[_0xa979b(0x508)](_0x11fb5b,_0x57999b);}['_transformIMECache'](_0xb24179){var _0x33ac9e=_0x38cf52,_0x368e8d,_0x3d9a75;return(_0x3d9a75=(_0x368e8d=this['_handler'])[_0x33ac9e(0x47d)])==null?void 0x0:_0x3d9a75[_0x33ac9e(0x508)](_0x368e8d,_0xb24179);}[_0x38cf52(0x2c5)](_0x19a1eb){var _0x12f865=_0x38cf52,_0x13e3f2,_0x38421c;return(_0x38421c=(_0x13e3f2=this[_0x12f865(0x379)])['onTransformState'])==null?void 0x0:_0x38421c['call'](_0x13e3f2,_0x19a1eb);}['_transformRemoteChangesetByIMECache'](_0x59090b){var _0x2a3a23=_0x38cf52,_0x3a2620,_0x4a4a97,_0x12359e;return(_0x12359e=(_0x4a4a97=(_0x3a2620=this[_0x2a3a23(0x379)])[_0x2a3a23(0x53e)])==null?void 0x0:_0x4a4a97[_0x2a3a23(0x508)](_0x3a2620,_0x59090b))!=null?_0x12359e:_0x59090b;}['_transformRemoteChangesetByStateCache'](_0x302281){var _0x59d5d4=_0x38cf52,_0x4c81f7,_0x2600ac,_0x5a1fdf;return(_0x5a1fdf=(_0x2600ac=(_0x4c81f7=this[_0x59d5d4(0x379)])[_0x59d5d4(0x240)])==null?void 0x0:_0x2600ac[_0x59d5d4(0x508)](_0x4c81f7,_0x302281))!=null?_0x5a1fdf:_0x302281;}['_syncEditingCollabCursor'](_0x412a9d){var _0xd9f117=_0x38cf52,_0xb27d35,_0xa1564f;if(this[_0xd9f117(0x1f5)]===J[_0xd9f117(0x2d7)]){const {unitID:_0x407ce0,mutations:_0x155d66,memberID:_0x1be479}=_0x412a9d,_0x5b001e=_0x155d66[0x0][_0xd9f117(0x501)][_0xd9f117(0x205)];Array[_0xd9f117(0x332)](_0x5b001e)&&_0x5b001e['length']>0x0&&((_0xa1564f=(_0xb27d35=this[_0xd9f117(0x379)])[_0xd9f117(0x359)])==null||_0xa1564f[_0xd9f117(0x508)](_0xb27d35,{'unitID':_0x407ce0,'memberID':_0x1be479,'textRanges':_0x5b001e}));}}[_0x38cf52(0x3d7)](){var _0x216887=_0x38cf52,_0x5db640;(_0x5db640=this[_0x216887(0x4ed)])==null||_0x5db640[_0x216887(0x483)](this[_0x216887(0x270)],this[_0x216887(0x1f5)],this[_0x216887(0x46c)],this[_0x216887(0x25b)]);}[_0x38cf52(0x45e)](){var _0x13045c=_0x38cf52;return this['_revisionService'][_0x13045c(0x2c0)](this[_0x13045c(0x270)]);}['_incrementRevisionNumber'](){var _0x33e205=_0x38cf52;this[_0x33e205(0x4e1)]['incrementRevOfUnit'](this[_0x33e205(0x270)]);}['_executeRemoteChangeset'](_0x1b0cfb){var _0xafbf7=_0x38cf52,_0xf1dd2b;let _0x3093c2=this[_0xafbf7(0x35a)](_0x1b0cfb);_0x3093c2=this['_transformRemoteChangesetByStateCache'](_0x3093c2);const _0x5c7079=a[_0xafbf7(0x22d)](_0x3093c2[_0xafbf7(0x233)],this['_commandService'],{'fromCollab':!0x0});if(!_0x5c7079['result'])throw _0x5c7079[_0xafbf7(0x373)]instanceof Error?_0x5c7079[_0xafbf7(0x373)]:new Error((_0xf1dd2b=_0x5c7079[_0xafbf7(0x373)])!=null?_0xf1dd2b:_0xafbf7(0x3ba));this[_0xafbf7(0x56c)](_0x3093c2),this[_0xafbf7(0x2c5)](_0x3093c2),this[_0xafbf7(0x55d)](_0x1b0cfb),this[_0xafbf7(0x55b)](_0x3093c2),this[_0xafbf7(0x544)](_0x3093c2),this[_0xafbf7(0x4f3)]();}}exports[_0x38cf52(0x49d)]=class extends ce{constructor(_0x4154b2,_0x2e3fe4,_0x3a7b70,_0x2e70da,_0x465bc2,_0x18c220,_0x43aa35,_0x1a7131,_0x47adc1,_0x391ee4){var _0x2c7ddc=_0x38cf52;super(_0x4154b2,_0x2e3fe4,null,[],_0x3a7b70,_0x43aa35,_0x18c220,_0x2e70da,_0x391ee4),A(this,_0x2c7ddc(0x381),_0x2c7ddc(0x1f6)),(this[_0x2c7ddc(0x45a)]=_0x465bc2,this['_logService']=_0x1a7131,this['_transformService']=_0x47adc1,this['localCacheService']=_0x391ee4);}[_0x38cf52(0x458)](_0x5b171d){var _0x26ff80=_0x38cf52;const _0x294c69=this[_0x26ff80(0x45a)][_0x26ff80(0x21f)](exports['PendingState'],this['unitID'],this['type'],[_0x5b171d],this[_0x26ff80(0x379)]);return _0x294c69[_0x26ff80(0x486)](),_0x294c69[_0x26ff80(0x3d7)](),_0x294c69;}[_0x38cf52(0x477)](_0x2a5b42){var _0x2be593=_0x38cf52;if(this[_0x2be593(0x34e)](_0x2a5b42))return this['_injector'][_0x2be593(0x21f)](exports['FetchingMissState'],this[_0x2be593(0x270)],this[_0x2be593(0x1f5)],null,[],null,[_0x2a5b42],this[_0x2be593(0x379)]);try{const _0x2066dc=this[_0x2be593(0x471)][_0x2be593(0x232)](_0x2a5b42,[ui]);if(p[_0x2be593(0x3e1)](_0x2066dc)){const {c1Prime:_0x190bcf}=_0x2066dc;return this['_executeRemoteChangeset'](_0x190bcf),this;}throw _0x2066dc[_0x2be593(0x373)];}catch(_0x559ae1){return this[_0x2be593(0x346)][_0x2be593(0x373)](_0x559ae1),this[_0x2be593(0x3f5)](!0x1);}}[_0x38cf52(0x3f5)](_0x4e86d3){var _0x27986b=_0x38cf52;return this[_0x27986b(0x45a)][_0x27986b(0x21f)](exports[_0x27986b(0x38b)],this['unitID'],this[_0x27986b(0x1f5)],null,[],this[_0x27986b(0x379)],_0x4e86d3);}[_0x38cf52(0x3b9)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x56b5fe=_0x38cf52;throw new Error(_0x56b5fe(0x209));}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){var _0x19bb92=_0x38cf52;return this[_0x19bb92(0x45a)][_0x19bb92(0x21f)](exports['OfflineState'],this[_0x19bb92(0x270)],this['type'],null,[],this['_handler']);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x1b7d77=_0x38cf52;throw new Error(_0x1b7d77(0x243));}[_0x38cf52(0x451)](){var _0x3a4d7e=_0x38cf52;const _0x489c70=this[_0x3a4d7e(0x4e1)][_0x3a4d7e(0x2c0)](this['unitID']);return this['_handler'][_0x3a4d7e(0x2fd)]({'from':_0x489c70,'to':0x0}),this[_0x3a4d7e(0x45a)][_0x3a4d7e(0x21f)](exports[_0x3a4d7e(0x260)],this[_0x3a4d7e(0x270)],this[_0x3a4d7e(0x1f5)],null,[],null,[],this['_handler']);}},exports[_0x38cf52(0x49d)]=ae([L(0x3,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x430)]),L(0x6,a['ICommandService']),L(0x7,a['ILogService']),L(0x8,p[_0x38cf52(0x293)]),L(0x9,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x49d)]),exports[_0x38cf52(0x248)]=class extends ce{constructor(_0x5b2d1b,_0x27f3d2,_0x1054e0,_0x1daa14,_0x57979f,_0x365f3c,_0x5de80b,_0x1a08db,_0x37386f,_0x11dba7,_0x135ea7,_0x19bf62,_0x1adcc6,_0x136918){var _0x39b99d=_0x38cf52;super(_0x5b2d1b,_0x27f3d2,null,_0x1054e0,_0x1daa14,_0x37386f,_0x1adcc6,_0x365f3c,_0x136918),A(this,_0x39b99d(0x381),_0x39b99d(0x4f6)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x39b99d(0x57b),null),(this[_0x39b99d(0x45a)]=_0x57979f,this[_0x39b99d(0x2e8)]=_0x5de80b,this[_0x39b99d(0x346)]=_0x1a08db,this[_0x39b99d(0x515)]=_0x11dba7,this['_transformService']=_0x135ea7,this['_univerInstanceService']=_0x19bf62);}['appendMutation'](_0x74c556){var _0x15cdde=_0x38cf52;return this[_0x15cdde(0x25b)]['push'](_0x74c556),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4d6510){var _0x53cc59=_0x38cf52;if(this[_0x53cc59(0x34e)](_0x4d6510))return this[_0x53cc59(0x36b)](),this['_injector']['createInstance'](exports[_0x53cc59(0x260)],this[_0x53cc59(0x270)],this[_0x53cc59(0x1f5)],null,this[_0x53cc59(0x25b)],null,[_0x4d6510],this['_handler']);try{const _0x4fccbb=this[_0x53cc59(0x471)][_0x53cc59(0x232)](_0x4d6510,this['_pendingMutations']);if(p[_0x53cc59(0x3e1)](_0x4fccbb)){const {c1Prime:_0x5a9e1e,m2Prime:_0x141e6d}=_0x4fccbb;this[_0x53cc59(0x561)](_0x5a9e1e);const _0x225883=this['_injector'][_0x53cc59(0x21f)](exports[_0x53cc59(0x248)],this[_0x53cc59(0x270)],this[_0x53cc59(0x1f5)],_0x141e6d,this[_0x53cc59(0x379)]);this[_0x53cc59(0x36b)]();const _0x1a1e27=new Date()[_0x53cc59(0x3cd)](),_0x216550=this[_0x53cc59(0x523)]?Math[_0x53cc59(0x289)](this[_0x53cc59(0x523)]-_0x1a1e27,0x0):this[_0x53cc59(0x24c)]();return _0x225883[_0x53cc59(0x486)](_0x216550),_0x225883;}throw _0x4fccbb[_0x53cc59(0x373)];}catch(_0x10cfd9){return this[_0x53cc59(0x346)]['error'](_0x10cfd9),this[_0x53cc59(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5806a6=_0x38cf52;throw new Error(_0x5806a6(0x249));}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){var _0x263396=_0x38cf52;return this[_0x263396(0x36b)](),this[_0x263396(0x45a)][_0x263396(0x21f)](exports[_0x263396(0x327)],this['unitID'],this['type'],null,this[_0x263396(0x25b)],this[_0x263396(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x486)](_0x3bc551){var _0x1fd495=_0x38cf52;const _0x3c2c84=_0x3bc551!=null?_0x3bc551:this[_0x1fd495(0x24c)]();this[_0x1fd495(0x523)]=new Date()[_0x1fd495(0x3cd)]()+_0x3c2c84,this[_0x1fd495(0x57b)]=setTimeout(()=>{var _0x342018=_0x1fd495;this['_clearScheduledTask']();let _0x1bf4dc=null;switch(this[_0x342018(0x1f5)]){case J['UNIVER_SHEET']:{_0x1bf4dc=Ge(this[_0x342018(0x25b)],this[_0x342018(0x270)],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this['_memberService']);break;}case J[_0x342018(0x2d7)]:{this['_pendingMutations'][_0x342018(0x366)](_0x1a4c12=>_0x1a4c12['id']===ht[_0x342018(0x1fd)]['id'])?_0x1bf4dc=li(this[_0x342018(0x25b)],this[_0x342018(0x270)],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this[_0x342018(0x2e8)]):_0x1bf4dc=Ge(this[_0x342018(0x25b)],this['unitID'],this[_0x342018(0x4fb)],this[_0x342018(0x4e1)],this[_0x342018(0x2e8)]);break;}default:throw new Error(_0x342018(0x421)+this[_0x342018(0x1f5)]+'\x20in\x20_schedule.');}const {changeset:_0x25564a,pendingMutations:_0x1509dd}=_0x1bf4dc;this[_0x342018(0x379)][_0x342018(0x4c2)](_0x25564a);const _0x2fb24c=_0x1509dd['length']?this[_0x342018(0x45a)]['createInstance'](exports[_0x342018(0x3ad)],this[_0x342018(0x270)],this[_0x342018(0x1f5)],_0x25564a,_0x1509dd,this[_0x342018(0x379)],void 0x0):this[_0x342018(0x45a)][_0x342018(0x21f)](exports[_0x342018(0x2fb)],this[_0x342018(0x270)],this['type'],_0x25564a,this[_0x342018(0x379)]);_0x2fb24c['_updateLocalCache'](),this['_handler'][_0x342018(0x361)](this,_0x2fb24c);},_0x3c2c84);}[_0x38cf52(0x24c)](){var _0x59a3e6=_0x38cf52,_0x32bb74;const _0x1d3685=this[_0x59a3e6(0x515)][_0x59a3e6(0x2be)](G);return(_0x32bb74=_0x1d3685==null?void 0x0:_0x1d3685[_0x59a3e6(0x3be)])!=null?_0x32bb74:xt;}['resend'](){var _0x4c9a47=_0x38cf52;throw new Error(_0x4c9a47(0x576));}['_clearScheduledTask'](){var _0x3f3eeb=_0x38cf52;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3f3eeb(0x57b)]),this[_0x3f3eeb(0x57b)]=null);}[_0x38cf52(0x3f5)](_0x467d91){var _0xaba282=_0x38cf52;return this[_0xaba282(0x36b)](),this[_0xaba282(0x45a)][_0xaba282(0x21f)](exports[_0xaba282(0x38b)],this[_0xaba282(0x270)],this[_0xaba282(0x1f5)],null,this['_pendingMutations'],this['_handler'],_0x467d91);}},exports[_0x38cf52(0x248)]=ae([L(0x4,a['Inject'](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x54a)](p['RevisionService'])),L(0x6,a['Inject'](exports[_0x38cf52(0x442)])),L(0x7,a[_0x38cf52(0x20c)]),L(0x8,a['ICommandService']),L(0x9,a[_0x38cf52(0x230)]),L(0xa,p[_0x38cf52(0x293)]),L(0xb,a[_0x38cf52(0x23f)]),L(0xc,a['IUndoRedoService']),L(0xd,a['Optional'](q))],exports[_0x38cf52(0x248)]),exports[_0x38cf52(0x2fb)]=class extends ce{constructor(_0x5ca47b,_0x13b5c4,_0x5e02f4,_0x56e1ec,_0x5ebb8c,_0x298564,_0x1109e4,_0x13602f,_0x235203,_0x51f317,_0x56bcf9){var _0x1739e9=_0x38cf52;super(_0x5ca47b,_0x13b5c4,_0x5e02f4,[],_0x56e1ec,_0x1109e4,_0x51f317,_0x298564,_0x56bcf9),A(this,_0x1739e9(0x381),_0x1739e9(0x4a3)),A(this,_0x1739e9(0x528),0x0),A(this,_0x1739e9(0x1fc)),A(this,_0x1739e9(0x2cf)),(this[_0x1739e9(0x45a)]=_0x5ebb8c,this[_0x1739e9(0x346)]=_0x13602f,this[_0x1739e9(0x471)]=_0x235203);}['appendMutation'](_0x48d8b2){var _0x3762fd=_0x38cf52;this['_clearScheduledTask']();const _0x2a2609=this['_injector'][_0x3762fd(0x21f)](exports['AwaitingWithPendingState'],this[_0x3762fd(0x270)],this['type'],this['_awaitingChangeset'],[_0x48d8b2],this[_0x3762fd(0x379)],this[_0x3762fd(0x1fc)]);return _0x2a2609[_0x3762fd(0x3d7)](),_0x2a2609;}['onRemoteChangeset'](_0xdab7d6){var _0x54186b=_0x38cf52;if(this[_0x54186b(0x34e)](_0xdab7d6))return this[_0x54186b(0x36b)](),this['_injector'][_0x54186b(0x21f)](exports[_0x54186b(0x260)],this[_0x54186b(0x270)],this[_0x54186b(0x1f5)],this[_0x54186b(0x46c)],[],null,[_0xdab7d6],this[_0x54186b(0x379)]);try{const _0x17d7b2=this[_0x54186b(0x471)][_0x54186b(0x385)]([_0xdab7d6],[this[_0x54186b(0x46c)]],!0x1);if(p[_0x54186b(0x2c8)](_0x17d7b2)){const {c1Prime:_0x59e8cf,c2Prime:_0x1c9ee6}=_0x17d7b2;this[_0x54186b(0x561)](_0x59e8cf[0x0]),_0x1c9ee6[0x0][_0x54186b(0x267)]=this[_0x54186b(0x45e)](),this[_0x54186b(0x36b)]();const _0x374457=this['_injector'][_0x54186b(0x21f)](exports[_0x54186b(0x2fb)],this[_0x54186b(0x270)],this[_0x54186b(0x1f5)],_0x1c9ee6[0x0],this[_0x54186b(0x379)]);return _0x374457[_0x54186b(0x3d7)](),_0x374457;}return this[_0x54186b(0x3f5)](!0x1);}catch(_0x33fdfa){return this['_logService'][_0x54186b(0x373)](_0x33fdfa),this[_0x54186b(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](_0x2b9aac){var _0xd443b6=_0x38cf52;this['_clearScheduledTask']();const _0x51b447=this[_0xd443b6(0x4e1)][_0xd443b6(0x2c0)](this[_0xd443b6(0x270)]);if(_0x2b9aac[_0xd443b6(0x301)]<_0x51b447-0x1)return this;if(this['_checkMissing'](_0x2b9aac))return this[_0xd443b6(0x45a)][_0xd443b6(0x21f)](exports[_0xd443b6(0x260)],this[_0xd443b6(0x270)],this[_0xd443b6(0x1f5)],null,[],this[_0xd443b6(0x46c)],[],this[_0xd443b6(0x379)]);this[_0xd443b6(0x4f3)]();const _0x271b4f=this[_0xd443b6(0x45a)][_0xd443b6(0x21f)](exports[_0xd443b6(0x49d)],this['unitID'],this[_0xd443b6(0x1f5)],this[_0xd443b6(0x379)]);return _0x271b4f[_0xd443b6(0x3d7)](),_0x271b4f;}['onRemoteRej'](_0x29882a){var _0x555001=_0x38cf52;return this[_0x555001(0x3f5)](!!(_0x29882a!=null&&_0x29882a[_0x555001(0x43a)]));}[_0x38cf52(0x3bd)](_0x15ba04){var _0x1bf543=_0x38cf52;return this[_0x1bf543(0x528)]>Rt?this[_0x1bf543(0x315)]():(this[_0x1bf543(0x1fc)]=bt(this[_0x1bf543(0x528)],{'timeout':this[_0x1bf543(0x528)],'reqId':_0x15ba04[_0x1bf543(0x470)]}),this[_0x1bf543(0x2cf)]=this[_0x1bf543(0x1fc)][_0x1bf543(0x36f)](({reqId:_0x297a1a,timeout:_0x59e84b})=>{var _0x2e6a87=_0x1bf543;this[_0x2e6a87(0x572)](_0x297a1a,_0x59e84b);}),this);}['toggleOffline'](){var _0x19b850=_0x38cf52;return this[_0x19b850(0x36b)](),this[_0x19b850(0x45a)][_0x19b850(0x21f)](exports[_0x19b850(0x327)],this['unitID'],this['type'],this[_0x19b850(0x46c)],[],this[_0x19b850(0x379)]);}['toggleOnline'](){return this;}[_0x38cf52(0x30b)](){var _0x4c6182=_0x38cf52;this[_0x4c6182(0x379)][_0x4c6182(0x4c2)](this[_0x4c6182(0x46c)]);}[_0x38cf52(0x3f5)](_0x4232db){var _0xb6656c=_0x38cf52;return this[_0xb6656c(0x36b)](),this[_0xb6656c(0x45a)]['createInstance'](exports['ConflictState'],this[_0xb6656c(0x270)],this[_0xb6656c(0x1f5)],this['_awaitingChangeset'],[],this[_0xb6656c(0x379)],_0x4232db);}[_0x38cf52(0x572)](_0x51e614,_0x1f6bb3){var _0x191315=_0x38cf52,_0x13beb7;_0x51e614===((_0x13beb7=this[_0x191315(0x46c)])==null?void 0x0:_0x13beb7[_0x191315(0x470)])&&(this[_0x191315(0x30b)](),this[_0x191315(0x528)]=_0x1f6bb3===0x0?0x3e8:_0x1f6bb3*0x2);}['_clearScheduledTask'](){var _0x48b1a8=_0x38cf52,_0x59d477;(_0x59d477=this['_sender'])==null||_0x59d477[_0x48b1a8(0x362)](),this[_0x48b1a8(0x528)]=0x0;}},exports[_0x38cf52(0x2fb)]=ae([L(0x4,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x5,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x6,a['ICommandService']),L(0x7,a[_0x38cf52(0x20c)]),L(0x8,p['ITransformService']),L(0x9,a[_0x38cf52(0x430)]),L(0xa,a['Optional'](q))],exports[_0x38cf52(0x2fb)]),exports[_0x38cf52(0x3ad)]=class extends ce{constructor(_0x3e8a60,_0x398ded,_0x395653,_0x5ce922,_0x29a4b9,_0x180d70,_0x127947,_0x558deb,_0x5f2b6b,_0x7b9c47,_0x5150f8,_0x57c3e7,_0x32e282){var _0x590299=_0x38cf52;super(_0x3e8a60,_0x398ded,_0x395653,_0x5ce922,_0x29a4b9,_0x5f2b6b,_0x57c3e7,_0x558deb,_0x32e282),A(this,_0x590299(0x381),_0x590299(0x510)),A(this,_0x590299(0x528),0x0),A(this,'_resendTimer'),A(this,_0x590299(0x2cf)),(this[_0x590299(0x45a)]=_0x127947,this[_0x590299(0x346)]=_0x7b9c47,this['_transformService']=_0x5150f8,this['localCacheService']=_0x32e282,_0x180d70&&(this[_0x590299(0x1fc)]=_0x180d70,this[_0x590299(0x2cf)]=this[_0x590299(0x1fc)][_0x590299(0x36f)](({reqId:_0x39918d,timeout:_0x4b235d})=>{var _0x5709e7=_0x590299;this[_0x5709e7(0x572)](_0x39918d,_0x4b235d);})));}['appendMutation'](_0x25fb54){return this['_pendingMutations']['push'](_0x25fb54),this;}[_0x38cf52(0x477)](_0x55c9fb){var _0x438279=_0x38cf52;if(this[_0x438279(0x34e)](_0x55c9fb))return this[_0x438279(0x36b)](),this['_injector']['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x438279(0x1f5)],this['_awaitingChangeset'],this[_0x438279(0x25b)],null,[_0x55c9fb],this[_0x438279(0x379)]);try{const _0x514ab6=this[_0x438279(0x471)]['transformChangesets']([_0x55c9fb],[this[_0x438279(0x46c)]],!0x1);if(p[_0x438279(0x2c8)](_0x514ab6)){const {c1Prime:_0x24b4a5,c2Prime:_0x227ddf}=_0x514ab6,_0x5785f2=this[_0x438279(0x471)][_0x438279(0x232)](_0x24b4a5[0x0],this[_0x438279(0x25b)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x5785f2)){const {c1Prime:_0x1238ef,m2Prime:_0xa26fb0}=_0x5785f2;return this[_0x438279(0x561)](_0x1238ef),_0x227ddf[0x0][_0x438279(0x267)]=this[_0x438279(0x45e)](),this['_clearScheduledTask'](),this[_0x438279(0x45a)][_0x438279(0x21f)](exports[_0x438279(0x3ad)],this[_0x438279(0x270)],this['type'],_0x227ddf[0x0],_0xa26fb0,this['_handler'],void 0x0);}throw _0x5785f2['error'];}throw _0x514ab6['error'];}catch(_0x326de8){return this[_0x438279(0x346)]['error'](_0x326de8),this[_0x438279(0x3f5)](!0x1);}}[_0x38cf52(0x3b9)](_0x3bd7db){var _0x5dca93=_0x38cf52;if(this[_0x5dca93(0x36b)](),this[_0x5dca93(0x34e)](_0x3bd7db))return this[_0x5dca93(0x45a)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x5dca93(0x1f5)],null,this[_0x5dca93(0x25b)],this[_0x5dca93(0x46c)],[],this[_0x5dca93(0x379)]);this[_0x5dca93(0x4f3)]();const _0x2ab7cc=this['_injector'][_0x5dca93(0x21f)](exports[_0x5dca93(0x248)],this[_0x5dca93(0x270)],this[_0x5dca93(0x1f5)],this[_0x5dca93(0x25b)],this[_0x5dca93(0x379)]);return _0x2ab7cc['_schedule'](),_0x2ab7cc['_updateLocalCache'](),_0x2ab7cc;}[_0x38cf52(0x29e)](_0x2d5df7){var _0x281e4b=_0x38cf52;return this[_0x281e4b(0x3f5)](!!(_0x2d5df7!=null&&_0x2d5df7[_0x281e4b(0x43a)]));}['onRemoteRetry'](_0x1b9729){var _0x820441=_0x38cf52;return this[_0x820441(0x528)]>Rt?this['toggleOffline']():(this[_0x820441(0x1fc)]=bt(this['_resendTimeout'],{'timeout':this[_0x820441(0x528)],'reqId':_0x1b9729['reqId']}),this[_0x820441(0x2cf)]=this[_0x820441(0x1fc)]['subscribe'](({reqId:_0x52c55d,timeout:_0xc3040e})=>{this['_resendWithTimeout'](_0x52c55d,_0xc3040e);}),this);}[_0x38cf52(0x315)](){var _0x20c7e1=_0x38cf52;return this[_0x20c7e1(0x36b)](),this[_0x20c7e1(0x45a)][_0x20c7e1(0x21f)](exports[_0x20c7e1(0x327)],this['unitID'],this[_0x20c7e1(0x1f5)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x20c7e1(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x52fd2f=_0x38cf52;this['_handler'][_0x52fd2f(0x4c2)](this['_awaitingChangeset']);}['_onConflict'](_0x1b5175){var _0x427b3c=_0x38cf52;return this[_0x427b3c(0x36b)](),this['_injector'][_0x427b3c(0x21f)](exports[_0x427b3c(0x38b)],this['unitID'],this['type'],null,this[_0x427b3c(0x25b)],this[_0x427b3c(0x379)],_0x1b5175);}[_0x38cf52(0x572)](_0x26e888,_0x3887cf){var _0x377a1f=_0x38cf52,_0x2a2b91;_0x26e888===((_0x2a2b91=this[_0x377a1f(0x46c)])==null?void 0x0:_0x2a2b91['reqId'])&&(this[_0x377a1f(0x30b)](),this[_0x377a1f(0x528)]=_0x3887cf===0x0?0x3e8:_0x3887cf*0x2);}[_0x38cf52(0x36b)](){var _0x3144b9=_0x38cf52,_0x1a3438;(_0x1a3438=this[_0x3144b9(0x2cf)])==null||_0x1a3438[_0x3144b9(0x362)](),this[_0x3144b9(0x528)]=0x0;}},exports[_0x38cf52(0x3ad)]=ae([L(0x6,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x7,a['Inject'](p['RevisionService'])),L(0x8,a['ICommandService']),L(0x9,a['ILogService']),L(0xa,p[_0x38cf52(0x293)]),L(0xb,a['IUndoRedoService']),L(0xc,a[_0x38cf52(0x383)](q))],exports['AwaitingWithPendingState']),exports[_0x38cf52(0x38b)]=class extends ce{constructor(_0x399c18,_0x56655e,_0x1b1f6e,_0x26b352,_0xfad310,_0x1aff5a=!0x1,_0x504d4b,_0x465673,_0x3fe5f5,_0x2e650e,_0xa4e1ce,_0x21a3c1,_0x3a27e8){var _0x4ecfb8=_0x38cf52;super(_0x399c18,_0x56655e,_0x1b1f6e,_0x26b352,_0xfad310,_0x465673,_0x3fe5f5,_0x2e650e,_0x3a27e8),A(this,_0x4ecfb8(0x381),'conflict'),(this['_isPermissionRej']=_0x1aff5a,this[_0x4ecfb8(0x530)]=_0x504d4b,this[_0x4ecfb8(0x263)]=_0xa4e1ce,this['_collaborationUIEventService']=_0x21a3c1,this[_0x4ecfb8(0x20f)]=_0x3a27e8,this[_0x4ecfb8(0x403)](),this[_0x4ecfb8(0x251)](),this[_0x4ecfb8(0x216)]());}['appendMutation'](){return this;}[_0x38cf52(0x477)](){return this;}['onRemoteAck'](){return this;}[_0x38cf52(0x29e)](){return this;}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){return this;}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x30b)](){var _0x1aeab1=_0x38cf52;throw new Error(_0x1aeab1(0x280));}['_clearLocalCache'](){var _0x3d9920=_0x38cf52,_0x598fa6;(_0x598fa6=this[_0x3d9920(0x4ed)])==null||_0x598fa6['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x38cf52(0x403)](){var _0x533a65=_0x38cf52;this[_0x533a65(0x478)]?this[_0x533a65(0x446)][_0x533a65(0x427)]({'id':Z[_0x533a65(0x462)]}):this[_0x533a65(0x446)][_0x533a65(0x427)]({'id':Z['CONFLICT']});}[_0x38cf52(0x216)](){var _0x357c2c=_0x38cf52;this[_0x357c2c(0x530)][_0x357c2c(0x21c)](new X[(_0x357c2c(0x44a))](this[_0x357c2c(0x270)])['id'],!0x1);}},exports[_0x38cf52(0x38b)]=ae([L(0x6,a[_0x38cf52(0x54a)](a['IPermissionService'])),L(0x7,a[_0x38cf52(0x273)]),L(0x8,a[_0x38cf52(0x430)]),L(0x9,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0xa,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),L(0xb,a['Inject'](ee)),L(0xc,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x38b)]),exports[_0x38cf52(0x327)]=class extends ce{constructor(_0x15ff30,_0x528997,_0x4b9b04,_0x1a57db,_0x25f589,_0x311d4c,_0x47e08a,_0x3e2a7d,_0x3db460,_0x55e234){var _0x3c32b7=_0x38cf52;super(_0x15ff30,_0x528997,_0x4b9b04,_0x1a57db,_0x25f589,_0x3e2a7d,_0x3db460,_0x47e08a,_0x55e234),A(this,_0x3c32b7(0x381),_0x3c32b7(0x3cb)),this[_0x3c32b7(0x45a)]=_0x311d4c;}['appendMutation'](_0x1b6271){var _0x4e7cfe=_0x38cf52;return this[_0x4e7cfe(0x25b)]['push'](_0x1b6271),this[_0x4e7cfe(0x3d7)](),this;}[_0x38cf52(0x477)](_0x215dbc){var _0x4fee7f=_0x38cf52;throw new Error(_0x4fee7f(0x258));}[_0x38cf52(0x3b9)](){var _0x440173=_0x38cf52;throw new Error(_0x440173(0x55c));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x38cf52(0x3bd)](){return this;}[_0x38cf52(0x315)](){return this;}[_0x38cf52(0x271)](){var _0x1075f0=_0x38cf52;const {_injector:_0x3e99f6,_pendingMutations:_0x5189f2,_awaitingChangeset:_0x161531,unitID:_0x1827a,_handler:_0x582b53,type:_0x1eb1d0}=this,_0x36e018=Ot(_0x3e99f6,_0x1827a,_0x1eb1d0,_0x161531,_0x5189f2,_0x582b53);return _0x36e018 instanceof exports['PendingState']?_0x36e018[_0x1075f0(0x486)]():(_0x36e018 instanceof exports[_0x1075f0(0x3ad)]||_0x36e018 instanceof exports[_0x1075f0(0x2fb)])&&_0x36e018[_0x1075f0(0x30b)](),_0x36e018;}[_0x38cf52(0x30b)](){var _0x26d52d=_0x38cf52;throw new Error(_0x26d52d(0x35c));}},exports[_0x38cf52(0x327)]=ae([L(0x5,a['Inject'](a[_0x38cf52(0x23e)])),L(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x7,a['ICommandService']),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x327)]),exports[_0x38cf52(0x260)]=class extends ce{constructor(_0x550cf3,_0x176619,_0x2af9e6,_0xfa6903,_0x2ef5c0,_0x1b0e1d,_0x2d1c34,_0x2df7dd,_0xfc13e9,_0x4ffcd9,_0x2b3d79,_0x3e7743,_0x3d5bb3,_0x4567ec){var _0x27afb9=_0x38cf52;super(_0x550cf3,_0x176619,_0x2af9e6,_0xfa6903,_0x2d1c34,_0x2b3d79,_0x3e7743,_0xfc13e9,_0x4567ec),A(this,_0x27afb9(0x381),_0x27afb9(0x3f2)),(this[_0x27afb9(0x50b)]=_0x2ef5c0,this[_0x27afb9(0x404)]=_0x1b0e1d,this[_0x27afb9(0x45a)]=_0x2df7dd,this[_0x27afb9(0x346)]=_0x4ffcd9,this[_0x27afb9(0x471)]=_0x3d5bb3,this[_0x27afb9(0x20f)]=_0x4567ec);}[_0x38cf52(0x272)](_0x42e332){var _0x3e6cb3=_0x38cf52;try{const _0xff4b00=[..._0x42e332,...this[_0x3e6cb3(0x404)]],_0x1f421b=[this[_0x3e6cb3(0x46c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x4cf57d=>!!_0x4cf57d);let _0xe359b2,_0x3e8c18;if(_0x1f421b[_0x3e6cb3(0x4ea)]){const _0x27bc4c=this[_0x3e6cb3(0x471)][_0x3e6cb3(0x385)](_0xff4b00,_0x1f421b,!0x1);if(!p[_0x3e6cb3(0x2c8)](_0x27bc4c))throw _0x27bc4c[_0x3e6cb3(0x373)];_0xe359b2=_0x27bc4c[_0x3e6cb3(0x389)],_0x3e8c18=_0x27bc4c['c2Prime'];}else _0xe359b2=_0xff4b00,_0x3e8c18=[];let _0x3b1cbd=this[_0x3e6cb3(0x25b)];_0xe359b2[_0x3e6cb3(0x49c)](_0x16c109=>{var _0xd96cc5=_0x3e6cb3;let _0x3e8637;if(_0x3b1cbd[_0xd96cc5(0x4ea)]){const _0x52b533=this[_0xd96cc5(0x471)][_0xd96cc5(0x232)](_0x16c109,_0x3b1cbd);if(!p[_0xd96cc5(0x3e1)](_0x52b533))throw _0x52b533[_0xd96cc5(0x373)];_0x3e8637=_0x52b533[_0xd96cc5(0x389)],_0x3b1cbd=_0x52b533[_0xd96cc5(0x29a)];}else _0x3e8637=_0x16c109;this[_0xd96cc5(0x561)](_0x3e8637);}),this[_0x3e6cb3(0x50b)]&&this[_0x3e6cb3(0x4f3)](),this[_0x3e6cb3(0x46c)]&&_0x3e8c18[_0x3e6cb3(0x4ea)]&&(_0x3e8c18[0x0][_0x3e6cb3(0x267)]=this[_0x3e6cb3(0x45e)]());let _0x22e45c;if(this['_awaitingChangeset']&&_0x3b1cbd[_0x3e6cb3(0x4ea)]!==0x0)_0x22e45c=this[_0x3e6cb3(0x45a)]['createInstance'](exports['AwaitingWithPendingState'],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3e8c18[0x0],_0x3b1cbd,this['_handler'],void 0x0);else{if(this[_0x3e6cb3(0x46c)]&&_0x3b1cbd['length']===0x0)_0x3e8c18[0x0][_0x3e6cb3(0x267)]=this[_0x3e6cb3(0x45e)](),_0x22e45c=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x2fb)],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3e8c18[0x0],this[_0x3e6cb3(0x379)]);else{if(_0x3b1cbd[_0x3e6cb3(0x4ea)]!==0x0){const _0x2e5ff2=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x248)],this[_0x3e6cb3(0x270)],this[_0x3e6cb3(0x1f5)],_0x3b1cbd,this['_handler']);_0x2e5ff2['_schedule'](),_0x22e45c=_0x2e5ff2;}else _0x22e45c=this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x49d)],this['unitID'],this[_0x3e6cb3(0x1f5)],this[_0x3e6cb3(0x379)]);}}return _0x22e45c[_0x3e6cb3(0x3d7)](),_0x22e45c;}catch(_0x4778b6){return this[_0x3e6cb3(0x346)]['error'](_0x3e6cb3(0x4e9),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4778b6),this[_0x3e6cb3(0x45a)][_0x3e6cb3(0x21f)](exports[_0x3e6cb3(0x38b)],this['unitID'],this['type'],this[_0x3e6cb3(0x46c)],this[_0x3e6cb3(0x25b)],this[_0x3e6cb3(0x379)],!0x1);}}[_0x38cf52(0x30b)](){var _0x17e790=_0x38cf52;throw new Error(_0x17e790(0x536));}[_0x38cf52(0x458)](_0x494c2d){var _0x2db629=_0x38cf52;return this[_0x2db629(0x25b)][_0x2db629(0x398)](_0x494c2d),this;}['onRemoteChangeset'](_0x134a2b){var _0x23ca7a=_0x38cf52;return this[_0x23ca7a(0x404)][_0x23ca7a(0x398)](_0x134a2b),this;}[_0x38cf52(0x3b9)](_0x513f83){var _0x190d53=_0x38cf52;if(this[_0x190d53(0x46c)])return this['_acknowledgedAwaitingChangeset']=this[_0x190d53(0x46c)],this[_0x190d53(0x46c)]=null,this;throw new Error(_0x190d53(0x3ab));}[_0x38cf52(0x29e)](_0x7691dd){var _0x919816=_0x38cf52;return this[_0x919816(0x3f5)](!!(_0x7691dd!=null&&_0x7691dd['isPermissionRej']));}[_0x38cf52(0x3bd)](){return this;}['toggleOffline'](){var _0x1a590a=_0x38cf52;return this['_injector'][_0x1a590a(0x21f)](exports[_0x1a590a(0x327)],this['unitID'],this[_0x1a590a(0x1f5)],this[_0x1a590a(0x46c)],this[_0x1a590a(0x25b)],this[_0x1a590a(0x379)]);}[_0x38cf52(0x271)](){return this;}[_0x38cf52(0x3f5)](_0x1ee577){var _0x49da5e=_0x38cf52;return this[_0x49da5e(0x45a)]['createInstance'](exports[_0x49da5e(0x38b)],this[_0x49da5e(0x270)],this[_0x49da5e(0x1f5)],this[_0x49da5e(0x46c)],this[_0x49da5e(0x25b)],this['_handler'],_0x1ee577);}},exports[_0x38cf52(0x260)]=ae([L(0x7,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),L(0x8,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),L(0x9,a[_0x38cf52(0x20c)]),L(0xa,a[_0x38cf52(0x273)]),L(0xb,a[_0x38cf52(0x430)]),L(0xc,p[_0x38cf52(0x293)]),L(0xd,a[_0x38cf52(0x383)](q))],exports['FetchingMissState']);function Ot(_0x43a6e2,_0x306873,_0x33a050,_0x415b3b,_0x13c456,_0x2b00a2){var _0x135e90=_0x38cf52;return _0x415b3b&&_0x13c456[_0x135e90(0x4ea)]?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x3ad)],_0x306873,_0x33a050,_0x415b3b,_0x13c456,_0x2b00a2,void 0x0):_0x415b3b?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x2fb)],_0x306873,_0x33a050,_0x415b3b,_0x2b00a2):_0x13c456[_0x135e90(0x4ea)]?_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x248)],_0x306873,_0x33a050,_0x13c456,_0x2b00a2):_0x43a6e2[_0x135e90(0x21f)](exports[_0x135e90(0x49d)],_0x306873,_0x33a050,_0x2b00a2);}var vi=Object[_0x38cf52(0x28a)],Fe=(_0x619787,_0x696be1,_0x348460,_0x3da69e)=>{var _0x1160f8=_0x38cf52;for(var _0x48144e=_0x3da69e>0x1?void 0x0:_0x3da69e?vi(_0x696be1,_0x348460):_0x696be1,_0x4b7326=_0x619787[_0x1160f8(0x4ea)]-0x1,_0x21359d;_0x4b7326>=0x0;_0x4b7326--)(_0x21359d=_0x619787[_0x4b7326])&&(_0x48144e=_0x21359d(_0x48144e)||_0x48144e);return _0x48144e;},j=(_0x54d65b,_0x5d6d1d)=>(_0x52e65a,_0x2c6dbb)=>_0x5d6d1d(_0x52e65a,_0x2c6dbb,_0x54d65b);exports[_0x38cf52(0x21a)]=class extends a[_0x38cf52(0x374)]{constructor(_0x2f9ab2,_0xa04c5e,_0x2625d4,_0x50e653,_0x4b5e79,_0x15b2b7,_0x191085,_0x2e47af,_0x3eaf16,_0x5f2bf0,_0x532281,_0x507ea3,_0x26525c){var _0x557072=_0x38cf52;super(),A(this,_0x557072(0x2dc),new $[(_0x557072(0x21e))](null)),A(this,_0x557072(0x28e),this[_0x557072(0x2dc)]['asObservable']()),A(this,_0x557072(0x480)),A(this,_0x557072(0x370),!0x1),A(this,_0x557072(0x3a0),''),A(this,_0x557072(0x304),0x0),A(this,_0x557072(0x3c9),this['state$'][_0x557072(0x516)]($['map'](_0x485bdd=>_0x485bdd?_0x485bdd['status']:Be[_0x557072(0x55e)]),$[_0x557072(0x4d7)](0x1))),A(this,_0x557072(0x3a6),!0x1),A(this,_0x557072(0x4f1),[]),(this['unitID']=_0x2f9ab2,this[_0x557072(0x4d4)]=_0xa04c5e,this[_0x557072(0x407)]=_0x2625d4,this[_0x557072(0x45a)]=_0x50e653,this['_compressMutationService']=_0x4b5e79,this['_localeService']=_0x15b2b7,this['_revisionService']=_0x191085,this[_0x557072(0x45c)]=_0x2e47af,this[_0x557072(0x346)]=_0x3eaf16,this[_0x557072(0x46e)]=_0x5f2bf0,this['_permissionService']=_0x532281,this['_singleActiveUnitService']=_0x507ea3,this[_0x557072(0x4ed)]=_0x26525c);}get[_0x38cf52(0x291)](){return this['_state'];}async[_0x38cf52(0x2b6)](){var _0x96b7e4=_0x38cf52;if(this['state'])throw new Error(_0x96b7e4(0x4b7));await this[_0x96b7e4(0x24e)]();}[_0x38cf52(0x50c)](){var _0x33e817=_0x38cf52;return this[_0x33e817(0x370)]=!0x0,a[_0x33e817(0x27a)](()=>{var _0x157633=_0x33e817;this[_0x157633(0x370)]=!0x1,this[_0x157633(0x224)]();});}[_0x38cf52(0x4cf)](_0x1c77ee){this['_onLocalMutation'](_0x1c77ee);}[_0x38cf52(0x274)](_0x394423){var _0x36ea4a=_0x38cf52;this[_0x36ea4a(0x480)]=_0x394423,this[_0x36ea4a(0x2dc)]['next'](_0x394423);}async[_0x38cf52(0x24e)](){var _0x3b4a4f=_0x38cf52,_0x1698f8;this[_0x3b4a4f(0x274)](await this['_createInitialState']()),this[_0x3b4a4f(0x245)]&&((_0x1698f8=this['_singleActiveUnitService'])==null||_0x1698f8[_0x3b4a4f(0x27e)](this[_0x3b4a4f(0x270)]),this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x245)]['getUnitStatus$'](this[_0x3b4a4f(0x270)])[_0x3b4a4f(0x36f)](_0x22f693=>{var _0x242ea6=_0x3b4a4f;this[_0x242ea6(0x346)][_0x242ea6(0x2de)](_0x242ea6(0x1f7),'editing\x20status\x20changed\x20to',_0x22f693),_0x22f693===je[_0x242ea6(0x2f2)]?(this[_0x242ea6(0x45c)][_0x242ea6(0x427)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x242ea6(0x530)][_0x242ea6(0x21c)](new X[(_0x242ea6(0x44a))](this[_0x242ea6(0x270)])['id'],!0x1),this[_0x242ea6(0x530)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x242ea6(0x21c)](new X[(_0x242ea6(0x44a))](this[_0x242ea6(0x270)])['id'],!0x0),this[_0x242ea6(0x530)][_0x242ea6(0x49a)](!0x0));})));let _0x1af1c7=!0x1;return this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x4d4)][_0x3b4a4f(0x312)][_0x3b4a4f(0x36f)](_0x3f15a8=>{var _0x15fddd=_0x3b4a4f;_0x3f15a8===re['ONLINE']?this[_0x15fddd(0x307)](_0x1af1c7):_0x3f15a8===re[_0x15fddd(0x55e)]&&(_0x1af1c7=!0x0,this[_0x15fddd(0x4be)]());})),this[_0x3b4a4f(0x54c)](this[_0x3b4a4f(0x4d4)][_0x3b4a4f(0x311)][_0x3b4a4f(0x36f)](_0x4ceb46=>{var _0x1db6fd=_0x3b4a4f;try{switch(_0x4ceb46[_0x1db6fd(0x39c)]){case p[_0x1db6fd(0x401)][_0x1db6fd(0x220)]:{this[_0x1db6fd(0x4d6)](p['parseProtocolChangeset'](_0x4ceb46[_0x1db6fd(0x3bc)]));break;}case p['CollaborationEvent'][_0x1db6fd(0x303)]:{this['_onRemoteACK'](_0x4ceb46[_0x1db6fd(0x3bc)]);break;}case p['CollaborationEvent'][_0x1db6fd(0x221)]:{this[_0x1db6fd(0x25e)]();break;}case p[_0x1db6fd(0x401)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4ceb46[_0x1db6fd(0x3bc)]);break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x228)]:{this[_0x1db6fd(0x4dd)](_0x4ceb46[_0x1db6fd(0x3bc)][_0x1db6fd(0x4f2)][_0x1db6fd(0x475)](_0x1bc1c9=>p[_0x1db6fd(0x33c)](_0x1bc1c9)));break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x504)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x1db6fd(0x401)][_0x1db6fd(0x3f6)]:break;}}catch(_0x1eca8e){throw console[_0x1db6fd(0x373)](_0x1db6fd(0x410),_0x1eca8e),_0x1eca8e;}})),this['_state'];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x38cf52(0x219)](){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;}[_0x38cf52(0x4e0)](_0x4c45e1){var _0x1477bf=_0x38cf52;this[_0x1477bf(0x219)](),this[_0x1477bf(0x274)](this[_0x1477bf(0x480)][_0x1477bf(0x458)](_0x4c45e1)),this[_0x1477bf(0x31b)]();}['_onRemoteChangeset'](_0xa08ca9){var _0x37f2e9=_0x38cf52;if(!(_0xa08ca9['revision']<=this['_revisionService'][_0x37f2e9(0x2c0)](this['unitID']))){if(this[_0x37f2e9(0x370)]){this[_0x37f2e9(0x4f1)][_0x37f2e9(0x398)](_0xa08ca9);return;}this[_0x37f2e9(0x35d)](_0xa08ca9);}}[_0x38cf52(0x224)](){var _0x2ffb62=_0x38cf52;this['_remoteChangesetQueue'][_0x2ffb62(0x49c)](_0x1ef55f=>this[_0x2ffb62(0x35d)](_0x1ef55f)),this[_0x2ffb62(0x4f1)]=[];}['_applyRemoteChangeset'](_0x306121){var _0x341f54=_0x38cf52;const _0x5dd3ec=this[_0x341f54(0x335)]['interceptor'][_0x341f54(0x419)](this[_0x341f54(0x335)][_0x341f54(0x29f)][_0x341f54(0x4b3)]()[_0x341f54(0x549)])(_0x306121['mutations'],null)||_0x306121['mutations'],_0x5b7299={..._0x306121,'mutations':_0x5dd3ec};this[_0x341f54(0x219)](),this[_0x341f54(0x274)](this[_0x341f54(0x480)][_0x341f54(0x477)](_0x5b7299)),this[_0x341f54(0x31b)]();}[_0x38cf52(0x4d8)](_0x30b2d9){var _0x3a9606=_0x38cf52;this[_0x3a9606(0x219)](),this[_0x3a9606(0x274)](this[_0x3a9606(0x480)][_0x3a9606(0x3b9)](_0x30b2d9)),this['_unlockTransition']();}[_0x38cf52(0x25e)](_0x264acb){var _0x25ac58=_0x38cf52;this[_0x25ac58(0x219)](),this[_0x25ac58(0x274)](this[_0x25ac58(0x480)]['onRemoteRej'](_0x264acb)),this[_0x25ac58(0x31b)]();}[_0x38cf52(0x2ba)](_0x24b6e2){var _0x460eca=_0x38cf52;this[_0x460eca(0x219)](),this[_0x460eca(0x274)](this['_state']['onRemoteRetry'](_0x24b6e2)),this[_0x460eca(0x31b)]();}['_onFetchMissResult'](_0x4046be){var _0x21b4af=_0x38cf52;if(!(this[_0x21b4af(0x480)]instanceof exports[_0x21b4af(0x260)]))throw new TypeError(_0x21b4af(0x4a4));const _0x254bae=_0x4046be[_0x21b4af(0x475)](_0x13a063=>{var _0x243c97=_0x21b4af;const _0x2ad5dc=this[_0x243c97(0x335)][_0x243c97(0x29f)][_0x243c97(0x419)](this[_0x243c97(0x335)][_0x243c97(0x29f)][_0x243c97(0x4b3)]()[_0x243c97(0x549)])(_0x13a063[_0x243c97(0x233)],null)||_0x13a063[_0x243c97(0x233)];return{..._0x13a063,'mutations':_0x2ad5dc};});this[_0x21b4af(0x219)](),this[_0x21b4af(0x274)](this[_0x21b4af(0x480)][_0x21b4af(0x272)](_0x254bae)),this[_0x21b4af(0x31b)]();}['_toggleOffline'](){var _0x375b39=_0x38cf52;this['_lockTransition'](),this['_updateState'](this[_0x375b39(0x480)][_0x375b39(0x315)]()),this[_0x375b39(0x31b)]();}[_0x38cf52(0x307)](_0x3f73ad=!0x1){var _0x3d814b=_0x38cf52;this['_lockTransition'](),this[_0x3d814b(0x274)](this[_0x3d814b(0x480)][_0x3d814b(0x271)]()),this['_unlockTransition']();const _0x43f654=this['_state'];_0x3f73ad&&_0x43f654 instanceof exports[_0x3d814b(0x49d)]&&(this[_0x3d814b(0x219)](),this[_0x3d814b(0x274)](_0x43f654[_0x3d814b(0x451)]()),this[_0x3d814b(0x31b)]());}async[_0x38cf52(0x2f4)](){return new Promise(_0x1928ee=>{var _0x4d29f9=_0x20ff;this[_0x4d29f9(0x4d4)][_0x4d29f9(0x312)]['pipe']($[_0x4d29f9(0x2db)](0x1))[_0x4d29f9(0x36f)](async _0x1f1f95=>{var _0xc01c61=_0x4d29f9;_0x1928ee(await this[_0xc01c61(0x565)](_0x1f1f95===re[_0xc01c61(0x464)]));});});}[_0x38cf52(0x1ff)](){var _0x5f2d11=_0x38cf52;const _0x3e452b=this[_0x5f2d11(0x270)];return{'onStateChange':(_0xfbbcce,_0x103b0f)=>{var _0x4ebc17=_0x5f2d11;if(_0xfbbcce!==this['_state'])throw new Error(_0x4ebc17(0x408)+_0xfbbcce[_0x4ebc17(0x381)]+_0x4ebc17(0x38c)+_0x103b0f['status']+_0x4ebc17(0x2a0)+this[_0x4ebc17(0x480)]['status']);this['_updateState'](_0x103b0f);},'onSendChangeset':_0x24b101=>{var _0x59a008=_0x5f2d11;_0x24b101[_0x59a008(0x47e)]||(_0x24b101[_0x59a008(0x47e)]=this[_0x59a008(0x3a0)],_0x24b101[_0x59a008(0x470)]=++this[_0x59a008(0x304)]);const _0x481869={'eventID':p[_0x59a008(0x401)][_0x59a008(0x318)],'data':{'unitID':_0x24b101[_0x59a008(0x270)],'unitType':this[_0x59a008(0x407)],'changeset':_0x24b101,'memberID':this[_0x59a008(0x4d4)][_0x59a008(0x1fe)]()}};this['session'][_0x59a008(0x261)](_0x481869,this[_0x59a008(0x270)]);},'onMissingChangesets':({from:_0x362700,to:_0x137ae3})=>{var _0x249eeb=_0x5f2d11;this[_0x249eeb(0x346)][_0x249eeb(0x2de)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x362700+_0x249eeb(0x283)+_0x137ae3);const _0x3f12c3={'eventID':p[_0x249eeb(0x401)][_0x249eeb(0x337)],'data':{'unitID':_0x3e452b,'unitType':this[_0x249eeb(0x407)],'from':_0x362700,'to':_0x137ae3}};this['session']['send'](_0x3f12c3,this[_0x249eeb(0x270)]);}};}async[_0x38cf52(0x565)](_0x31b46f){var _0x2abf71=_0x38cf52,_0x40a0fb,_0x273404,_0x5dc854;const _0x35c549=await((_0x40a0fb=this[_0x2abf71(0x4ed)])==null?void 0x0:_0x40a0fb[_0x2abf71(0x259)](this[_0x2abf71(0x270)])),_0x769f91=(_0x273404=_0x35c549==null?void 0x0:_0x35c549[_0x2abf71(0x233)])!=null?_0x273404:[],_0x2bdce9=(_0x5dc854=_0x35c549==null?void 0x0:_0x35c549[_0x2abf71(0x564)])!=null?_0x5dc854:null,_0x1da179=!!(_0x2bdce9!=null&&_0x2bdce9[_0x2abf71(0x47e)])&&!!(_0x2bdce9!=null&&_0x2bdce9[_0x2abf71(0x470)]);this['_changesetSessionId']=_0x1da179?_0x2bdce9[_0x2abf71(0x47e)]:p[_0x2abf71(0x299)](),this[_0x2abf71(0x304)]=_0x1da179?_0x2bdce9[_0x2abf71(0x470)]:0x0;const _0x32669e=this['unitID'];try{this[_0x2abf71(0x40b)](_0x2bdce9,_0x769f91);}catch(_0x1488cc){this[_0x2abf71(0x346)]['error'](_0x1488cc);}const _0x6602a=this[_0x2abf71(0x1ff)]();if(_0x31b46f){const _0x4c5ff2=Ot(this['_injector'],_0x32669e,this['_type'],_0x2bdce9,_0x769f91,_0x6602a);return _0x4c5ff2 instanceof exports[_0x2abf71(0x248)]?_0x4c5ff2[_0x2abf71(0x486)]():(_0x4c5ff2 instanceof exports['AwaitingWithPendingState']||_0x4c5ff2 instanceof exports[_0x2abf71(0x2fb)])&&_0x4c5ff2['resend'](),_0x4c5ff2;}return this[_0x2abf71(0x45a)][_0x2abf71(0x21f)](exports['OfflineState'],_0x32669e,this[_0x2abf71(0x407)],_0x2bdce9,_0x769f91,_0x6602a);}[_0x38cf52(0x40b)](_0x36706a,_0x323135){var _0xd0622c=_0x38cf52,_0x2dc7e5,_0x10a6c3;const _0x123351=this[_0xd0622c(0x335)][_0xd0622c(0x29f)][_0xd0622c(0x419)](this['_compressMutationService']['interceptor'][_0xd0622c(0x4b3)]()[_0xd0622c(0x549)]);(_0x2dc7e5=_0x123351((_0x36706a==null?void 0x0:_0x36706a[_0xd0622c(0x233)])||[],null))==null||_0x2dc7e5['forEach'](_0x208c2b=>this[_0xd0622c(0x46e)][_0xd0622c(0x418)](_0x208c2b['id'],_0x208c2b[_0xd0622c(0x501)])),(_0x10a6c3=_0x123351(_0x323135||[],null))==null||_0x10a6c3[_0xd0622c(0x49c)](_0x47704b=>this[_0xd0622c(0x46e)][_0xd0622c(0x418)](_0x47704b['id'],_0x47704b['params']));}},exports[_0x38cf52(0x21a)]=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p['CompressMutationService'])),j(0x5,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](ee)),j(0x8,a[_0x38cf52(0x20c)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a[_0x38cf52(0x383)](de)),j(0xc,a['Optional'](q))],exports[_0x38cf52(0x21a)]),exports['DocCollaborationEntity']=class extends exports[_0x38cf52(0x21a)]{constructor(_0xf5fe22,_0x3f7b7f,_0x4545a8,_0x469eac,_0x3eac05,_0x581e6e,_0x16726b,_0x2df6cd,_0x1a4f63,_0x49f190,_0x99f41,_0x566e21,_0x849d44){var _0x314e79=_0x38cf52;super(_0xf5fe22,_0x4545a8,_0x3f7b7f,_0x469eac,_0x3eac05,_0x581e6e,_0x16726b,_0x2df6cd,_0x1a4f63,_0x49f190,_0x99f41,_0x566e21,_0x849d44),A(this,'_handlerCallback',null),(this['unitID']=_0xf5fe22,this[_0x314e79(0x1f5)]=_0x3f7b7f);}['addHandlerCallback'](_0x170054){var _0x36621f=_0x38cf52;this[_0x36621f(0x4a7)]=_0x170054;}[_0x38cf52(0x52d)](){var _0x59200b=_0x38cf52;this['_handlerCallback']=null,super[_0x59200b(0x52d)]();}['_createHandler'](){var _0x9b1886=_0x38cf52;const _0x440107=super[_0x9b1886(0x1ff)]();return _0x440107[_0x9b1886(0x47d)]=_0x126e27=>{var _0x1881bd=_0x9b1886,_0x2b06bf,_0x57da75;return(_0x57da75=(_0x2b06bf=this[_0x1881bd(0x4a7)])==null?void 0x0:_0x2b06bf[_0x1881bd(0x47d)])==null?void 0x0:_0x57da75['call'](_0x2b06bf,_0x126e27);},_0x440107[_0x9b1886(0x461)]=_0x426fcc=>{var _0xb8b38d=_0x9b1886,_0x6c4591,_0xe7fc77;return(_0xe7fc77=(_0x6c4591=this[_0xb8b38d(0x4a7)])==null?void 0x0:_0x6c4591['onTransformState'])==null?void 0x0:_0xe7fc77[_0xb8b38d(0x508)](_0x6c4591,_0x426fcc);},_0x440107[_0x9b1886(0x2e9)]=_0x4c753e=>{var _0x374ff0=_0x9b1886,_0x58f185,_0x35af92;return(_0x35af92=(_0x58f185=this[_0x374ff0(0x4a7)])==null?void 0x0:_0x58f185[_0x374ff0(0x2e9)])==null?void 0x0:_0x35af92[_0x374ff0(0x508)](_0x58f185,_0x4c753e);},_0x440107[_0x9b1886(0x359)]=_0x596d88=>{var _0x29036c=_0x9b1886,_0x1e4e98,_0x4147e4;return(_0x4147e4=(_0x1e4e98=this[_0x29036c(0x4a7)])==null?void 0x0:_0x1e4e98[_0x29036c(0x359)])==null?void 0x0:_0x4147e4[_0x29036c(0x508)](_0x1e4e98,_0x596d88);},_0x440107['onTransformRemoteChangesetByIMECache']=_0x38968d=>{var _0x5ad9cd=_0x9b1886,_0x54db32,_0x24c00e,_0x4d288b;if(!((_0x54db32=this[_0x5ad9cd(0x4a7)])!=null&&_0x54db32[_0x5ad9cd(0x53e)]))throw new Error(_0x5ad9cd(0x4c7));return(_0x4d288b=(_0x24c00e=this['_handlerCallback'])==null?void 0x0:_0x24c00e[_0x5ad9cd(0x53e)])==null?void 0x0:_0x4d288b[_0x5ad9cd(0x508)](_0x24c00e,_0x38968d);},_0x440107['onTransformRemoteChangesetByStateCache']=_0xf47966=>{var _0x44d3a8=_0x9b1886,_0x4c9e66,_0x1c3ec0,_0x3d05bf;if(!((_0x4c9e66=this[_0x44d3a8(0x4a7)])!=null&&_0x4c9e66[_0x44d3a8(0x240)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3d05bf=(_0x1c3ec0=this['_handlerCallback'])==null?void 0x0:_0x1c3ec0[_0x44d3a8(0x240)])==null?void 0x0:_0x3d05bf[_0x44d3a8(0x508)](_0x1c3ec0,_0xf47966);},_0x440107;}async[_0x38cf52(0x24e)](){var _0xfe5e87=_0x38cf52;const _0x4cd7b2=await super[_0xfe5e87(0x24e)]();return this['disposeWithMe'](this[_0xfe5e87(0x46e)]['onCommandExecuted']((_0x4be5eb,_0x2eb904)=>{var _0x213d01=_0xfe5e87;if(_0x4be5eb[_0x213d01(0x1f5)]!==a[_0x213d01(0x4c1)]['MUTATION']||_0x2eb904!=null&&_0x2eb904[_0x213d01(0x492)]||_0x2eb904!=null&&_0x2eb904['onlyLocal']||_0x4be5eb['id']===ht[_0x213d01(0x1fd)]['id'])return;const _0x2e13f2=_0x4be5eb[_0x213d01(0x501)];if((_0x2e13f2==null?void 0x0:_0x2e13f2['unitId'])!==this[_0x213d01(0x270)])return;const _0x2991c0=_0x4be5eb,_0x33c152=this[_0x213d01(0x335)][_0x213d01(0x29f)][_0x213d01(0x419)](this[_0x213d01(0x335)][_0x213d01(0x29f)][_0x213d01(0x4b3)]()[_0x213d01(0x579)])([_0x2991c0],null)||[_0x2991c0];this[_0x213d01(0x4e0)](_0x33c152[0x0]);})),_0x4cd7b2;}},exports[_0x38cf52(0x3b1)]=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p[_0x38cf52(0x4f5)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](ee)),j(0x8,a[_0x38cf52(0x20c)]),j(0x9,a[_0x38cf52(0x273)]),j(0xa,a[_0x38cf52(0x324)]),j(0xb,a[_0x38cf52(0x383)](de)),j(0xc,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x3b1)]),exports[_0x38cf52(0x50d)]=class extends exports[_0x38cf52(0x21a)]{constructor(_0x4f7ca3,_0xb68d32,_0x2829b2,_0x15f21e,_0x367ae5,_0x3247c5,_0x2312e4,_0x1bce94,_0x5c3ad7,_0xe6c12f,_0x16cc02,_0x5e397b,_0x2d79d3,_0x5f3d4e){var _0x1a8808=_0x38cf52;super(_0x4f7ca3,_0x2829b2,_0xb68d32,_0x15f21e,_0x367ae5,_0x3247c5,_0x2312e4,_0x5c3ad7,_0xe6c12f,_0x16cc02,_0x5e397b,_0x2d79d3,_0x5f3d4e),this[_0x1a8808(0x270)]=_0x4f7ca3,this['type']=_0xb68d32,this[_0x1a8808(0x3d6)]=_0x1bce94;}[_0x38cf52(0x1ff)](){var _0x39525c=_0x38cf52;const _0x4496a3=super[_0x39525c(0x1ff)]();return _0x4496a3[_0x39525c(0x2e9)]=_0x6cc5f7=>this[_0x39525c(0x3d6)][_0x39525c(0x3e7)](_0x6cc5f7),_0x4496a3;}async[_0x38cf52(0x24e)](){var _0x245978=_0x38cf52;const _0x40f16e=await super[_0x245978(0x24e)]();return this['disposeWithMe'](this['_commandService'][_0x245978(0x21d)]((_0x3f2f35,_0x8b2816)=>{var _0x175e4a=_0x245978;if(_0x3f2f35[_0x175e4a(0x1f5)]!==a[_0x175e4a(0x4c1)][_0x175e4a(0x4ad)]||_0x8b2816!=null&&_0x8b2816['fromCollab']||_0x8b2816!=null&&_0x8b2816[_0x175e4a(0x3e2)])return;const _0x1bd5e5=_0x3f2f35[_0x175e4a(0x501)];if((_0x1bd5e5==null?void 0x0:_0x1bd5e5[_0x175e4a(0x24f)])!==this[_0x175e4a(0x270)])return;const _0x32d33e=_0x3f2f35,_0x49460d=this[_0x175e4a(0x335)][_0x175e4a(0x29f)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x175e4a(0x29f)][_0x175e4a(0x4b3)]()[_0x175e4a(0x579)])([_0x32d33e],null)||[_0x32d33e];this[_0x175e4a(0x4e0)](_0x49460d[0x0]);})),_0x40f16e;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),j(0x4,a[_0x38cf52(0x54a)](p[_0x38cf52(0x4f5)])),j(0x5,a[_0x38cf52(0x54a)](a['LocaleService'])),j(0x6,a[_0x38cf52(0x54a)](p[_0x38cf52(0x3aa)])),j(0x7,a[_0x38cf52(0x54a)](exports[_0x38cf52(0x372)])),j(0x8,a[_0x38cf52(0x54a)](ee)),j(0x9,a[_0x38cf52(0x20c)]),j(0xa,a[_0x38cf52(0x273)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x38cf52(0x383)](q))],exports[_0x38cf52(0x50d)]);var Si=Object[_0x38cf52(0x28a)],fi=(_0x17b104,_0x4b637c,_0x48c7f8,_0x469955)=>{var _0x4a4e5e=_0x38cf52;for(var _0x5983e5=_0x469955>0x1?void 0x0:_0x469955?Si(_0x4b637c,_0x48c7f8):_0x4b637c,_0x2dae52=_0x17b104[_0x4a4e5e(0x4ea)]-0x1,_0x2666a0;_0x2dae52>=0x0;_0x2dae52--)(_0x2666a0=_0x17b104[_0x2dae52])&&(_0x5983e5=_0x2666a0(_0x5983e5)||_0x5983e5);return _0x5983e5;},Se=(_0x2bea4c,_0x56dd93)=>(_0x206fe7,_0x249d86)=>_0x56dd93(_0x206fe7,_0x249d86,_0x2bea4c);exports[_0x38cf52(0x2a9)]=class extends a[_0x38cf52(0x374)]{constructor(_0xbd51a1,_0x3f8bbf,_0x4f83d0,_0x32547e){var _0x352a7a=_0x38cf52,_0x5d6520;super(),A(this,_0x352a7a(0x511),new Map()),A(this,_0x352a7a(0x3c8),new $[(_0x352a7a(0x3ef))]()),A(this,_0x352a7a(0x369),this[_0x352a7a(0x3c8)]['asObservable']()),(this[_0x352a7a(0x45a)]=_0xbd51a1,this[_0x352a7a(0x378)]=_0x3f8bbf,this[_0x352a7a(0x515)]=_0x4f83d0,this['_univerInstanceService']=_0x32547e,((_0x5d6520=this['_configService'][_0x352a7a(0x2be)](G))==null?void 0x0:_0x5d6520[_0x352a7a(0x4d1)])!==!0x1&&this[_0x352a7a(0x24e)]());}[_0x38cf52(0x52d)](){var _0x14f65a=_0x38cf52;super[_0x14f65a(0x52d)](),this[_0x14f65a(0x511)][_0x14f65a(0x49c)](_0x4e0535=>_0x4e0535[_0x14f65a(0x52d)]()),this[_0x14f65a(0x511)][_0x14f65a(0x533)]();}[_0x38cf52(0x41a)](_0x150815){var _0x339fdb=_0x38cf52,_0x2f2e46;return(_0x2f2e46=this['_entities'][_0x339fdb(0x47a)](_0x150815))!=null?_0x2f2e46:null;}[_0x38cf52(0x456)](_0x334a79){var _0x24e888=_0x38cf52;const _0x142957=this[_0x24e888(0x41a)](_0x334a79);return _0x142957?$['of'](_0x142957):this[_0x24e888(0x3c8)][_0x24e888(0x516)](V['filter'](_0x4b9c66=>_0x4b9c66[_0x24e888(0x270)]===_0x334a79));}['readyForCollab'](_0x3f9843){var _0x3398c6=_0x38cf52;return $[_0x3398c6(0x3a8)](this[_0x3398c6(0x456)](_0x3f9843)[_0x3398c6(0x516)](V[_0x3398c6(0x475)](()=>{})));}[_0x38cf52(0x24e)](){var _0x240808=_0x38cf52;this[_0x240808(0x4fb)][_0x240808(0x460)](a[_0x240808(0x42e)][_0x240808(0x3ec)])[_0x240808(0x516)]($[_0x240808(0x3fc)](this['dispose$']),V[_0x240808(0x2d3)](0x10))[_0x240808(0x36f)](async _0x2a74d9=>{var _0x334700=_0x240808;const _0x3294d8=_0x2a74d9[_0x334700(0x32d)](),_0x30ef74=await this['_startCollaboration'](_0x3294d8,J[_0x334700(0x3ec)]);this[_0x334700(0x511)][_0x334700(0x31c)](_0x3294d8,_0x30ef74);}),this[_0x240808(0x4fb)]['getTypeOfUnitAdded$'](a[_0x240808(0x42e)][_0x240808(0x2d7)])[_0x240808(0x516)]($['takeUntil'](this[_0x240808(0x326)]),V['delay'](0x10))['pipe'](V[_0x240808(0x242)](_0x4e0902=>!_0x4e0902[_0x240808(0x32d)]()[_0x240808(0x236)]('__')))[_0x240808(0x36f)](async _0x304a7d=>{var _0x3e6b51=_0x240808;const _0x7c2743=_0x304a7d['getUnitId'](),_0x33b231=await this[_0x3e6b51(0x3d2)](_0x7c2743,J[_0x3e6b51(0x2d7)]);this[_0x3e6b51(0x511)]['set'](_0x7c2743,_0x33b231);}),$[_0x240808(0x429)](this[_0x240808(0x4fb)][_0x240808(0x35e)](a[_0x240808(0x42e)]['UNIVER_SHEET']),this[_0x240808(0x4fb)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))['pipe']($[_0x240808(0x3fc)](this[_0x240808(0x326)]))[_0x240808(0x36f)](_0x169a60=>{var _0x2978cc=_0x240808;const _0xc0542c=_0x169a60[_0x2978cc(0x32d)](),_0x23fce4=this[_0x2978cc(0x511)][_0x2978cc(0x47a)](_0xc0542c);_0x23fce4&&(_0x23fce4[_0x2978cc(0x52d)](),this[_0x2978cc(0x511)][_0x2978cc(0x484)](_0xc0542c));});}async[_0x38cf52(0x3d2)](_0xf6b10d,_0x24cfae){var _0x44fc06=_0x38cf52;const _0x55c397=await this[_0x44fc06(0x378)][_0x44fc06(0x4aa)](_0xf6b10d),_0x5a1cab=this[_0x44fc06(0x45a)][_0x44fc06(0x21f)](this[_0x44fc06(0x44b)](_0x24cfae),_0xf6b10d,_0x24cfae,_0x55c397);return await _0x5a1cab[_0x44fc06(0x2b6)](),this['_entityInit$'][_0x44fc06(0x546)](_0x5a1cab),_0x5a1cab;}[_0x38cf52(0x44b)](_0x11e7f2){var _0x1937ee=_0x38cf52;switch(_0x11e7f2){case J[_0x1937ee(0x2d7)]:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports['SheetCollaborationEntity'];default:throw new Error(_0x1937ee(0x2ae)+_0x11e7f2);}}},exports[_0x38cf52(0x2a9)]=fi([Se(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),Se(0x1,a[_0x38cf52(0x54a)](exports['CollaborationSessionService'])),Se(0x2,a[_0x38cf52(0x230)]),Se(0x3,a[_0x38cf52(0x23f)])],exports['CollaborationController']);var Ii=Object[_0x38cf52(0x28a)],pi=(_0xe471a2,_0x385255,_0x2b6709,_0xdaa5)=>{var _0x50c502=_0x38cf52;for(var _0x1b8338=_0xdaa5>0x1?void 0x0:_0xdaa5?Ii(_0x385255,_0x2b6709):_0x385255,_0x5ed2e4=_0xe471a2[_0x50c502(0x4ea)]-0x1,_0x22ffb0;_0x5ed2e4>=0x0;_0x5ed2e4--)(_0x22ffb0=_0xe471a2[_0x5ed2e4])&&(_0x1b8338=_0x22ffb0(_0x1b8338)||_0x1b8338);return _0x1b8338;},Ke=(_0x33e82d,_0x1b61b3)=>(_0x213074,_0x109423)=>_0x1b61b3(_0x213074,_0x109423,_0x33e82d);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0x38cf52(0x519)]{constructor(_0x572f7e,_0x2b2e38){var _0x269105=_0x38cf52;super(),this[_0x269105(0x4fb)]=_0x572f7e,this[_0x269105(0x515)]=_0x2b2e38,this['_init']();}['_init'](){var _0x399fbc=_0x38cf52;this[_0x399fbc(0x54c)](this[_0x399fbc(0x4fb)]['focused$'][_0x399fbc(0x36f)](()=>{var _0xcc2290=_0x399fbc,_0xc176d0;const _0xfc6166=this['_univerInstanceService'][_0xcc2290(0x4a8)]();let _0x55f6a4=(_0xc176d0=this[_0xcc2290(0x515)][_0xcc2290(0x2be)](gi))!=null?_0xc176d0:Ei;_0xfc6166 instanceof a[_0xcc2290(0x2cb)]&&(_0x55f6a4=_0xfc6166[_0xcc2290(0x42d)]),document['title']=_0x55f6a4;}));}};xe=pi([Ke(0x0,a[_0x38cf52(0x23f)]),Ke(0x1,a[_0x38cf52(0x230)])],xe);var mi=Object[_0x38cf52(0x28a)],Ci=(_0x4281fc,_0x44a84f,_0x272ad,_0x3a5822)=>{for(var _0x4450c4=_0x3a5822>0x1?void 0x0:_0x3a5822?mi(_0x44a84f,_0x272ad):_0x44a84f,_0x37cd38=_0x4281fc['length']-0x1,_0x515594;_0x37cd38>=0x0;_0x37cd38--)(_0x515594=_0x4281fc[_0x37cd38])&&(_0x4450c4=_0x515594(_0x4450c4)||_0x4450c4);return _0x4450c4;},Ae=(_0x21fcf2,_0x5a0d60)=>(_0x15ba54,_0x511510)=>_0x5a0d60(_0x15ba54,_0x511510,_0x21fcf2);let ye=class{constructor(_0xb9331e,_0x473e0a,_0x4d1494){var _0x306800=_0x38cf52;this[_0x306800(0x515)]=_0xb9331e,this[_0x306800(0x4df)]=_0x473e0a,this[_0x306800(0x2a4)]=_0x4d1494,this['init']();}[_0x38cf52(0x2b6)](){var _0x53b582=_0x38cf52;this[_0x53b582(0x4df)][_0x53b582(0x4cc)]({'priority':0x1,'interceptor':(_0x4bcf25,_0x27eb5b)=>_0x27eb5b(_0x4bcf25)['pipe']($[_0x53b582(0x56e)](async _0x3a9fe3=>{var _0x1e68d3=_0x53b582;const _0x134ad8=_0x3a9fe3;if(_0x134ad8[_0x1e68d3(0x381)]===0x191){if(typeof window>'u')throw new Error(_0x1e68d3(0x23b));if(window[_0x1e68d3(0x2a2)](this['localeService']['t'](_0x1e68d3(0x376)))){const _0x346140=window[_0x1e68d3(0x517)](window[_0x1e68d3(0x469)][_0x1e68d3(0x542)]);window[_0x1e68d3(0x469)][_0x1e68d3(0x542)]=this[_0x1e68d3(0x20a)]()+_0x1e68d3(0x3f7)+_0x346140;}}return _0x134ad8;}))});}[_0x38cf52(0x20a)](){var _0x6e11b5=_0x38cf52,_0x58b5b8,_0x3e46c6;const _0x2615e9=this[_0x6e11b5(0x515)][_0x6e11b5(0x2be)](pt),_0x5d9c71=this[_0x6e11b5(0x515)]['getConfig'](G);return(_0x3e46c6=(_0x58b5b8=_0x5d9c71==null?void 0x0:_0x5d9c71['loginUrlKey'])!=null?_0x58b5b8:_0x2615e9)!=null?_0x3e46c6:Wt;}};ye=Ci([Ae(0x0,a[_0x38cf52(0x230)]),Ae(0x1,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),Ae(0x2,a[_0x38cf52(0x54a)](a[_0x38cf52(0x4ce)]))],ye);var Ti=Object[_0x38cf52(0x28a)],bi=(_0x2a9658,_0x515c77,_0x594d57,_0x5902af)=>{var _0x500de1=_0x38cf52;for(var _0x5a71b6=_0x5902af>0x1?void 0x0:_0x5902af?Ti(_0x515c77,_0x594d57):_0x515c77,_0x287f07=_0x2a9658[_0x500de1(0x4ea)]-0x1,_0x986fb9;_0x287f07>=0x0;_0x287f07--)(_0x986fb9=_0x2a9658[_0x287f07])&&(_0x5a71b6=_0x986fb9(_0x5a71b6)||_0x5a71b6);return _0x5a71b6;},qe=(_0x2ab2d7,_0x50f6c7)=>(_0xb9a904,_0x17b241)=>_0x50f6c7(_0xb9a904,_0x17b241,_0x2ab2d7);const Ve=_0x38cf52(0x2b4),Ri='/universer-api/authz';exports['AuthzIoHttpService']=class extends a['Disposable']{constructor(_0x129fff,_0x364416){var _0x52237e=_0x38cf52;super(),this[_0x52237e(0x364)]=_0x129fff,this[_0x52237e(0x515)]=_0x364416,this[_0x52237e(0x557)]();}['_initMergeInterceptor'](){var _0x5d6c5f=_0x38cf52;const _0xc4feb1=this;this[_0x5d6c5f(0x54c)](this[_0x5d6c5f(0x364)][_0x5d6c5f(0x4cc)]({'priority':0x3e7,'interceptor':K[_0x5d6c5f(0x2bd)]({'isMatch'(_0x36d131){var _0x289fd4=_0x5d6c5f,_0x4083ad;if(_0x36d131[_0x289fd4(0x3b3)]===_0x289fd4(0x577)&&((_0x4083ad=_0x36d131['requestParams'])!=null&&_0x4083ad['body'])){const {objectID:_0x29e906,objectType:_0x279865}=_0x36d131['requestParams']['body']||{};if(!_0x29e906||_0x279865===void 0x0)return!0x1;const _0x1a294e=_0xc4feb1[_0x289fd4(0x31d)]()+'/'+_0x279865+_0x289fd4(0x52a)+_0x29e906+_0x289fd4(0x2a7);if(_0x36d131[_0x289fd4(0x2ab)]===_0x1a294e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x363f4f){var _0x198008=_0x5d6c5f,_0x371b7a;return(_0x371b7a=_0x363f4f[_0x198008(0x341)])==null?void 0x0:_0x371b7a[_0x198008(0x3a9)];},'mergeParamsToRequest'(_0x4c1da1,_0x1b8dd2){var _0x2e4bee=_0x5d6c5f;const _0x21c7cf=_0xc4feb1[_0x2e4bee(0x31d)]()+_0x2e4bee(0x276),_0x45ed32=_0x4c1da1[_0x2e4bee(0x47c)]((_0x57ba64,_0x410818)=>{var _0x1e83cb=_0x2e4bee;const {unitID:_0x1253d6,objectID:_0x39fc09,objectType:_0x3353d5,actions:_0x5d31f0}=_0x410818;return _0x57ba64[_0x1253d6]||(_0x57ba64[_0x1253d6]={}),_0x57ba64[_0x1253d6][_0x39fc09]||(_0x57ba64[_0x1253d6][_0x39fc09]={'objectID':_0x39fc09,'objectType':_0x3353d5,'actions':[]}),_0x57ba64[_0x1253d6][_0x39fc09][_0x1e83cb(0x431)][_0x1e83cb(0x398)](..._0x5d31f0),_0x57ba64;},{}),_0x3f2cba=[];for(const _0x493de2 in _0x45ed32)for(const _0x3a216e in _0x45ed32[_0x493de2]){const {actions:_0x2fa801,objectType:_0x453274}=_0x45ed32[_0x493de2][_0x3a216e],_0x33307f=[...new Set(_0x2fa801)];_0x3f2cba['push']({'unitID':_0x493de2,'objectID':_0x3a216e,'objectType':_0x453274,'actions':_0x33307f});}return new K[(_0x2e4bee(0x33b))](_0x2e4bee(0x577),_0x21c7cf,{'headers':_0x1b8dd2[_0x2e4bee(0x566)],'withCredentials':_0x1b8dd2[_0x2e4bee(0x3f1)],'responseType':_0x1b8dd2[_0x2e4bee(0x2cd)],'body':{'requests':_0x3f2cba}});}},{'distributeResult'(_0x29c7f9,_0x375609){const {objectActions:_0x1315d9}=_0x29c7f9;return _0x375609['map'](_0x2ba2c9=>{var _0x541655=_0x20ff;const {unitID:_0x369b27,objectID:_0x5d6829,actions:_0x752fdb}=_0x2ba2c9,_0x48531c=_0x1315d9['find'](_0x38f746=>_0x38f746['unitID']===_0x369b27&&_0x38f746[_0x541655(0x45f)]===_0x5d6829),_0x4cbc16=_0x752fdb['map'](_0x3844f4=>_0x48531c==null?void 0x0:_0x48531c[_0x541655(0x431)][_0x541655(0x3ae)](_0x54ce9=>_0x54ce9['action']===_0x3844f4))[_0x541655(0x242)](_0x531248=>!!_0x531248);return{'config':_0x2ba2c9,'result':{'actions':_0x4cbc16,'error':_0x29c7f9[_0x541655(0x373)]}};});}})}));}['_getAPIPrefixPath'](){var _0x3b192f=_0x38cf52,_0x1f006b,_0x7850bc;const _0x259720=this[_0x3b192f(0x515)][_0x3b192f(0x2be)](Ve),_0x3ef11c=this['_configService'][_0x3b192f(0x2be)](G);return(_0x7850bc=(_0x1f006b=_0x3ef11c==null?void 0x0:_0x3ef11c[_0x3b192f(0x387)])!=null?_0x1f006b:_0x259720)!=null?_0x7850bc:Ri;}async['create'](_0x5a394f){var _0x43517c=_0x38cf52;const _0x77a890=this[_0x43517c(0x31d)]()+'/'+_0x5a394f[_0x43517c(0x265)]+_0x43517c(0x415);return(await this[_0x43517c(0x364)][_0x43517c(0x49e)](_0x77a890,{'body':_0x5a394f}))[_0x43517c(0x3a9)]['objectID']||'';}async[_0x38cf52(0x452)](_0x5cbd0c){var _0x53f2ac=_0x38cf52;const _0x538aea=this[_0x53f2ac(0x31d)]()+_0x53f2ac(0x32c);return(await this[_0x53f2ac(0x364)][_0x53f2ac(0x49e)](_0x538aea,{'body':_0x5cbd0c}))[_0x53f2ac(0x3a9)][_0x53f2ac(0x325)];}async[_0x38cf52(0x4db)](_0xddf2ed){var _0x26f130=_0x38cf52,_0x4106bc,_0xb72893;const _0x5c6c3d=this['_getAPIPrefixPath']()+'/'+_0xddf2ed['objectType']+_0x26f130(0x52a)+_0xddf2ed[_0x26f130(0x45f)],_0x40d20c=await this[_0x26f130(0x364)][_0x26f130(0x2e4)](_0x5c6c3d,{'body':_0xddf2ed});if(((_0xb72893=(_0x4106bc=_0x40d20c==null?void 0x0:_0x40d20c[_0x26f130(0x3a9)])==null?void 0x0:_0x4106bc[_0x26f130(0x373)])==null?void 0x0:_0xb72893[_0x26f130(0x4f8)])!==0x1)throw new Error(_0x26f130(0x2e3));}async[_0x38cf52(0x400)](_0x4447f5){var _0x3c264d=_0x38cf52;const _0x436e6c=this[_0x3c264d(0x31d)]()+'/'+_0x4447f5[_0x3c264d(0x265)]+_0x3c264d(0x52a)+_0x4447f5['objectID']+'/allowed';return(await this[_0x3c264d(0x364)][_0x3c264d(0x49e)](_0x436e6c,{'body':_0x4447f5}))['body']['actions'];}async[_0x38cf52(0x43f)](_0x8c9ee6){var _0x116640=_0x38cf52;const _0x3e0fdb=this['_getAPIPrefixPath']()+_0x116640(0x276);return(await this[_0x116640(0x364)][_0x116640(0x49e)](_0x3e0fdb,{'body':{'requests':_0x8c9ee6}}))[_0x116640(0x3a9)]['objectActions'];}async[_0x38cf52(0x578)](_0x42f4d9){var _0x42e1ab=_0x38cf52;const _0x3fc9f0=this[_0x42e1ab(0x31d)]()+'/'+_0x42f4d9[_0x42e1ab(0x265)]+'/role',_0xd6ec67=await this['_HTTPService']['post'](_0x3fc9f0,{'body':_0x42f4d9});return{'roles':_0xd6ec67[_0x42e1ab(0x3a9)][_0x42e1ab(0x3a7)],'actions':_0xd6ec67['body'][_0x42e1ab(0x431)]};}async[_0x38cf52(0x56b)](_0x34ae24){var _0x238ba8=_0x38cf52;const _0x4a81d6=this[_0x238ba8(0x31d)]()+_0x238ba8(0x494);await this[_0x238ba8(0x364)]['delete'](_0x4a81d6,{'params':{'collaboratorID':_0x34ae24[_0x238ba8(0x2bb)],'objectID':_0x34ae24['objectID'],'unitID':_0x34ae24[_0x238ba8(0x270)]}});}async[_0x38cf52(0x513)](_0x45928c){var _0x506964=_0x38cf52;const _0x5affc6=this[_0x506964(0x31d)]()+'/collaborator';await this[_0x506964(0x364)]['patch'](_0x5affc6,{'body':_0x45928c});}async['createCollaborator'](_0x5be075){var _0x419261=_0x38cf52;const _0x72f212=this[_0x419261(0x31d)]()+_0x419261(0x494);await this[_0x419261(0x364)][_0x419261(0x49e)](_0x72f212,{'body':_0x5be075});}async['listCollaborators'](_0xe7ee3a){var _0x239243=_0x38cf52;const _0x52bc69=this[_0x239243(0x31d)]()+_0x239243(0x494);return(await this[_0x239243(0x364)]['get'](_0x52bc69,{'params':{'objectID':_0xe7ee3a[_0x239243(0x45f)],'unitID':_0xe7ee3a[_0x239243(0x270)]}}))[_0x239243(0x3a9)][_0x239243(0x2d0)];}async[_0x38cf52(0x43d)](_0x2fc7ce){var _0x4c733d=_0x38cf52;const _0x570236=this[_0x4c733d(0x31d)]()+_0x4c733d(0x494);await this[_0x4c733d(0x364)][_0x4c733d(0x2e4)](_0x570236,{'body':_0x2fc7ce});}},exports[_0x38cf52(0x348)]=bi([qe(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),qe(0x1,a[_0x38cf52(0x54a)](a[_0x38cf52(0x230)]))],exports[_0x38cf52(0x348)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x2e9452){var _0x5128ff=_0x38cf52;return _0x2e9452&&_0x2e9452[_0x5128ff(0x384)]&&Object['prototype'][_0x5128ff(0x239)][_0x5128ff(0x508)](_0x2e9452,'default')?_0x2e9452['default']:_0x2e9452;}var fe={'exports':{}};function Oi(_0x5b4901){var _0x11cd34=_0x38cf52;throw new Error(_0x11cd34(0x1f4)+_0x5b4901+_0x11cd34(0x409));}var Ie={'exports':{}},yi=Ie[_0x38cf52(0x2aa)],ze;function Q(){var _0x5d9b46=_0x38cf52;return ze||(ze=0x1,function(_0x2e6eba,_0x49f841){(function(_0x3f4d83,_0x1cf2f2){var _0x34a419=_0x20ff;_0x2e6eba[_0x34a419(0x2aa)]=_0x1cf2f2();}(yi,function(){var _0x3cc87c=_0x3cc87c||function(_0xb397c0,_0x2a70e2){var _0x34ad45=_0x20ff,_0x5c3d03;if(typeof window<'u'&&window[_0x34ad45(0x358)]&&(_0x5c3d03=window[_0x34ad45(0x358)]),typeof self<'u'&&self['crypto']&&(_0x5c3d03=self[_0x34ad45(0x358)]),typeof globalThis<'u'&&globalThis[_0x34ad45(0x358)]&&(_0x5c3d03=globalThis[_0x34ad45(0x358)]),!_0x5c3d03&&typeof window<'u'&&window['msCrypto']&&(_0x5c3d03=window[_0x34ad45(0x390)]),!_0x5c3d03&&typeof Pe<'u'&&Pe[_0x34ad45(0x358)]&&(_0x5c3d03=Pe[_0x34ad45(0x358)]),!_0x5c3d03&&typeof Oi==_0x34ad45(0x553))try{_0x5c3d03=require('crypto');}catch{}var _0x4c69ad=function(){var _0x12b635=_0x34ad45;if(_0x5c3d03){if(typeof _0x5c3d03[_0x12b635(0x3c6)]=='function')try{return _0x5c3d03[_0x12b635(0x3c6)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5c3d03[_0x12b635(0x4c3)]==_0x12b635(0x553))try{return _0x5c3d03[_0x12b635(0x4c3)](0x4)[_0x12b635(0x433)]();}catch{}}throw new Error(_0x12b635(0x520));},_0x34a20b=Object[_0x34ad45(0x330)]||(function(){function _0x4f1c4f(){}return function(_0x4a733a){var _0x7eab86=_0x20ff,_0x3d7b27;return _0x4f1c4f['prototype']=_0x4a733a,_0x3d7b27=new _0x4f1c4f(),_0x4f1c4f[_0x7eab86(0x4fa)]=null,_0x3d7b27;};}()),_0x2d218e={},_0x157705=_0x2d218e[_0x34ad45(0x47b)]={},_0x15a8c2=_0x157705[_0x34ad45(0x4d0)]=(function(){return{'extend':function(_0x2fd948){var _0x885983=_0x20ff,_0x2f0dde=_0x34a20b(this);return _0x2fd948&&_0x2f0dde[_0x885983(0x502)](_0x2fd948),(!_0x2f0dde[_0x885983(0x239)](_0x885983(0x2b6))||this[_0x885983(0x2b6)]===_0x2f0dde[_0x885983(0x2b6)])&&(_0x2f0dde[_0x885983(0x2b6)]=function(){var _0x452851=_0x885983;_0x2f0dde[_0x452851(0x22b)][_0x452851(0x2b6)][_0x452851(0x30c)](this,arguments);}),_0x2f0dde['init'][_0x885983(0x4fa)]=_0x2f0dde,_0x2f0dde[_0x885983(0x22b)]=this,_0x2f0dde;},'create':function(){var _0x109e5c=_0x20ff,_0x305c96=this[_0x109e5c(0x2ad)]();return _0x305c96[_0x109e5c(0x2b6)][_0x109e5c(0x30c)](_0x305c96,arguments),_0x305c96;},'init':function(){},'mixIn':function(_0x5ab0ef){var _0x1d7d1f=_0x20ff;for(var _0x5dfe9 in _0x5ab0ef)_0x5ab0ef[_0x1d7d1f(0x239)](_0x5dfe9)&&(this[_0x5dfe9]=_0x5ab0ef[_0x5dfe9]);_0x5ab0ef[_0x1d7d1f(0x239)](_0x1d7d1f(0x2da))&&(this['toString']=_0x5ab0ef['toString']);},'clone':function(){var _0x53fbec=_0x20ff;return this[_0x53fbec(0x2b6)][_0x53fbec(0x4fa)][_0x53fbec(0x2ad)](this);}};}()),_0x4abcfe=_0x157705[_0x34ad45(0x285)]=_0x15a8c2['extend']({'init':function(_0x293cf5,_0x3962b5){var _0x1e6d76=_0x34ad45;_0x293cf5=this[_0x1e6d76(0x24d)]=_0x293cf5||[],_0x3962b5!=_0x2a70e2?this[_0x1e6d76(0x526)]=_0x3962b5:this[_0x1e6d76(0x526)]=_0x293cf5[_0x1e6d76(0x4ea)]*0x4;},'toString':function(_0x4062f0){var _0xa43e86=_0x34ad45;return(_0x4062f0||_0x484b95)[_0xa43e86(0x4a5)](this);},'concat':function(_0x27196d){var _0x5df191=_0x34ad45,_0x152f18=this[_0x5df191(0x24d)],_0x565603=_0x27196d[_0x5df191(0x24d)],_0x180ba5=this[_0x5df191(0x526)],_0x272eba=_0x27196d[_0x5df191(0x526)];if(this['clamp'](),_0x180ba5%0x4)for(var _0x1ec77d=0x0;_0x1ec77d<_0x272eba;_0x1ec77d++){var _0x4717c3=_0x565603[_0x1ec77d>>>0x2]>>>0x18-_0x1ec77d%0x4*0x8&0xff;_0x152f18[_0x180ba5+_0x1ec77d>>>0x2]|=_0x4717c3<<0x18-(_0x180ba5+_0x1ec77d)%0x4*0x8;}else{for(var _0x45d1cf=0x0;_0x45d1cf<_0x272eba;_0x45d1cf+=0x4)_0x152f18[_0x180ba5+_0x45d1cf>>>0x2]=_0x565603[_0x45d1cf>>>0x2];}return this[_0x5df191(0x526)]+=_0x272eba,this;},'clamp':function(){var _0x5d7742=_0x34ad45,_0x2266ce=this[_0x5d7742(0x24d)],_0x48162a=this[_0x5d7742(0x526)];_0x2266ce[_0x48162a>>>0x2]&=0xffffffff<<0x20-_0x48162a%0x4*0x8,_0x2266ce[_0x5d7742(0x4ea)]=_0xb397c0[_0x5d7742(0x44d)](_0x48162a/0x4);},'clone':function(){var _0x339821=_0x34ad45,_0x1c73bd=_0x15a8c2[_0x339821(0x4ab)][_0x339821(0x508)](this);return _0x1c73bd[_0x339821(0x24d)]=this['words'][_0x339821(0x342)](0x0),_0x1c73bd;},'random':function(_0x1d598f){var _0x2385ed=_0x34ad45;for(var _0x43a891=[],_0x178157=0x0;_0x178157<_0x1d598f;_0x178157+=0x4)_0x43a891[_0x2385ed(0x398)](_0x4c69ad());return new _0x4abcfe[(_0x2385ed(0x2b6))](_0x43a891,_0x1d598f);}}),_0x1db2c0=_0x2d218e['enc']={},_0x484b95=_0x1db2c0[_0x34ad45(0x3ea)]={'stringify':function(_0x5403ff){var _0x3d185e=_0x34ad45;for(var _0x2b50fd=_0x5403ff[_0x3d185e(0x24d)],_0x54dbd2=_0x5403ff[_0x3d185e(0x526)],_0x34b173=[],_0x8462b1=0x0;_0x8462b1<_0x54dbd2;_0x8462b1++){var _0x329014=_0x2b50fd[_0x8462b1>>>0x2]>>>0x18-_0x8462b1%0x4*0x8&0xff;_0x34b173[_0x3d185e(0x398)]((_0x329014>>>0x4)[_0x3d185e(0x2da)](0x10)),_0x34b173[_0x3d185e(0x398)]((_0x329014&0xf)[_0x3d185e(0x2da)](0x10));}return _0x34b173['join']('');},'parse':function(_0x1c0432){var _0x5cc27c=_0x34ad45;for(var _0x203a67=_0x1c0432[_0x5cc27c(0x4ea)],_0x1a3f52=[],_0x3c68ab=0x0;_0x3c68ab<_0x203a67;_0x3c68ab+=0x2)_0x1a3f52[_0x3c68ab>>>0x3]|=parseInt(_0x1c0432['substr'](_0x3c68ab,0x2),0x10)<<0x18-_0x3c68ab%0x8*0x4;return new _0x4abcfe['init'](_0x1a3f52,_0x203a67/0x2);}},_0x46b1e2=_0x1db2c0['Latin1']={'stringify':function(_0x513bb5){var _0x28ab69=_0x34ad45;for(var _0x199e51=_0x513bb5[_0x28ab69(0x24d)],_0xb702d6=_0x513bb5[_0x28ab69(0x526)],_0x2f0042=[],_0x496e93=0x0;_0x496e93<_0xb702d6;_0x496e93++){var _0xdf6ccf=_0x199e51[_0x496e93>>>0x2]>>>0x18-_0x496e93%0x4*0x8&0xff;_0x2f0042[_0x28ab69(0x398)](String[_0x28ab69(0x53f)](_0xdf6ccf));}return _0x2f0042[_0x28ab69(0x2d8)]('');},'parse':function(_0x4ba946){var _0x92dfd=_0x34ad45;for(var _0x37ccd8=_0x4ba946['length'],_0x24e103=[],_0x31c103=0x0;_0x31c103<_0x37ccd8;_0x31c103++)_0x24e103[_0x31c103>>>0x2]|=(_0x4ba946['charCodeAt'](_0x31c103)&0xff)<<0x18-_0x31c103%0x4*0x8;return new _0x4abcfe[(_0x92dfd(0x2b6))](_0x24e103,_0x37ccd8);}},_0x152667=_0x1db2c0[_0x34ad45(0x4af)]={'stringify':function(_0x1ede7e){var _0x349895=_0x34ad45;try{return decodeURIComponent(escape(_0x46b1e2[_0x349895(0x4a5)](_0x1ede7e)));}catch{throw new Error(_0x349895(0x2fc));}},'parse':function(_0x56b679){var _0x592bf7=_0x34ad45;return _0x46b1e2[_0x592bf7(0x447)](unescape(encodeURIComponent(_0x56b679)));}},_0x5148ee=_0x157705['BufferedBlockAlgorithm']=_0x15a8c2['extend']({'reset':function(){var _0x483cf9=_0x34ad45;this[_0x483cf9(0x35b)]=new _0x4abcfe['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x3ed28c){var _0x5ea540=_0x34ad45;typeof _0x3ed28c==_0x5ea540(0x31a)&&(_0x3ed28c=_0x152667[_0x5ea540(0x447)](_0x3ed28c)),this['_data']['concat'](_0x3ed28c),this[_0x5ea540(0x215)]+=_0x3ed28c[_0x5ea540(0x526)];},'_process':function(_0x355046){var _0x4750de=_0x34ad45,_0x5d92d7,_0x4f67e3=this[_0x4750de(0x35b)],_0x3a920d=_0x4f67e3[_0x4750de(0x24d)],_0x1b7383=_0x4f67e3[_0x4750de(0x526)],_0x15529b=this[_0x4750de(0x357)],_0x221a09=_0x15529b*0x4,_0x2b7cb8=_0x1b7383/_0x221a09;_0x355046?_0x2b7cb8=_0xb397c0[_0x4750de(0x44d)](_0x2b7cb8):_0x2b7cb8=_0xb397c0[_0x4750de(0x289)]((_0x2b7cb8|0x0)-this['_minBufferSize'],0x0);var _0x3896bc=_0x2b7cb8*_0x15529b,_0x13d30e=_0xb397c0[_0x4750de(0x3db)](_0x3896bc*0x4,_0x1b7383);if(_0x3896bc){for(var _0xc42c46=0x0;_0xc42c46<_0x3896bc;_0xc42c46+=_0x15529b)this['_doProcessBlock'](_0x3a920d,_0xc42c46);_0x5d92d7=_0x3a920d['splice'](0x0,_0x3896bc),_0x4f67e3[_0x4750de(0x526)]-=_0x13d30e;}return new _0x4abcfe[(_0x4750de(0x2b6))](_0x5d92d7,_0x13d30e);},'clone':function(){var _0x55d2ce=_0x34ad45,_0x653e32=_0x15a8c2['clone']['call'](this);return _0x653e32[_0x55d2ce(0x35b)]=this[_0x55d2ce(0x35b)]['clone'](),_0x653e32;},'_minBufferSize':0x0});_0x157705[_0x34ad45(0x512)]=_0x5148ee[_0x34ad45(0x2ad)]({'cfg':_0x15a8c2[_0x34ad45(0x2ad)](),'init':function(_0x1ddc84){var _0x320e51=_0x34ad45;this[_0x320e51(0x53b)]=this[_0x320e51(0x53b)][_0x320e51(0x2ad)](_0x1ddc84),this[_0x320e51(0x32f)]();},'reset':function(){var _0x3cecd7=_0x34ad45;_0x5148ee[_0x3cecd7(0x32f)]['call'](this),this['_doReset']();},'update':function(_0x55485a){var _0x5a0897=_0x34ad45;return this[_0x5a0897(0x4d3)](_0x55485a),this[_0x5a0897(0x264)](),this;},'finalize':function(_0x359a17){var _0x3829ee=_0x34ad45;_0x359a17&&this[_0x3829ee(0x4d3)](_0x359a17);var _0x21bb6b=this[_0x3829ee(0x22f)]();return _0x21bb6b;},'blockSize':0x10,'_createHelper':function(_0x2337d7){return function(_0x195328,_0x23c188){var _0x562cd0=_0x20ff;return new _0x2337d7[(_0x562cd0(0x2b6))](_0x23c188)[_0x562cd0(0x56f)](_0x195328);};},'_createHmacHelper':function(_0x1e2aae){return function(_0x1f986e,_0x382cdb){var _0x3ad0d6=_0x20ff;return new _0x41b93f[(_0x3ad0d6(0x443))][(_0x3ad0d6(0x2b6))](_0x1e2aae,_0x382cdb)['finalize'](_0x1f986e);};}});var _0x41b93f=_0x2d218e[_0x34ad45(0x3c1)]={};return _0x2d218e;}(Math);return _0x3cc87c;}));}(Ie)),Ie[_0x5d9b46(0x2aa)];}var pe={'exports':{}},Ni=pe[_0x38cf52(0x2aa)],Je;function yt(){var _0x47c7e5=_0x38cf52;return Je||(Je=0x1,function(_0x482176,_0x1b459c){(function(_0x1aa9f2,_0x9570ad){var _0x5add71=_0x20ff;_0x482176[_0x5add71(0x2aa)]=_0x9570ad(Q());}(Ni,function(_0x26556d){var _0x251ce2=_0x20ff;return(function(){var _0x122f70=_0x20ff,_0x1c9aec=_0x26556d,_0x490ca6=_0x1c9aec[_0x122f70(0x47b)],_0x30e492=_0x490ca6[_0x122f70(0x285)],_0x218f3c=_0x1c9aec[_0x122f70(0x570)];_0x218f3c['Base64']={'stringify':function(_0x9bb19c){var _0x4c5403=_0x122f70,_0x54b427=_0x9bb19c[_0x4c5403(0x24d)],_0x58a14c=_0x9bb19c[_0x4c5403(0x526)],_0x329a84=this[_0x4c5403(0x465)];_0x9bb19c[_0x4c5403(0x416)]();for(var _0x17168e=[],_0x3e197b=0x0;_0x3e197b<_0x58a14c;_0x3e197b+=0x3)for(var _0x2c3a62=_0x54b427[_0x3e197b>>>0x2]>>>0x18-_0x3e197b%0x4*0x8&0xff,_0x180d39=_0x54b427[_0x3e197b+0x1>>>0x2]>>>0x18-(_0x3e197b+0x1)%0x4*0x8&0xff,_0x3670fe=_0x54b427[_0x3e197b+0x2>>>0x2]>>>0x18-(_0x3e197b+0x2)%0x4*0x8&0xff,_0x5aebdf=_0x2c3a62<<0x10|_0x180d39<<0x8|_0x3670fe,_0x2c7f35=0x0;_0x2c7f35<0x4&&_0x3e197b+_0x2c7f35*0.75<_0x58a14c;_0x2c7f35++)_0x17168e['push'](_0x329a84['charAt'](_0x5aebdf>>>0x6*(0x3-_0x2c7f35)&0x3f));var _0x575247=_0x329a84[_0x4c5403(0x543)](0x40);if(_0x575247){for(;_0x17168e[_0x4c5403(0x4ea)]%0x4;)_0x17168e[_0x4c5403(0x398)](_0x575247);}return _0x17168e['join']('');},'parse':function(_0x2e3d71){var _0x529768=_0x122f70,_0x4a03a7=_0x2e3d71[_0x529768(0x4ea)],_0x15e4a3=this['_map'],_0x3ad95b=this[_0x529768(0x4e2)];if(!_0x3ad95b){_0x3ad95b=this[_0x529768(0x4e2)]=[];for(var _0x54b5cc=0x0;_0x54b5cc<_0x15e4a3[_0x529768(0x4ea)];_0x54b5cc++)_0x3ad95b[_0x15e4a3[_0x529768(0x1f3)](_0x54b5cc)]=_0x54b5cc;}var _0xe81e8=_0x15e4a3[_0x529768(0x543)](0x40);if(_0xe81e8){var _0x57a36f=_0x2e3d71[_0x529768(0x31f)](_0xe81e8);_0x57a36f!==-0x1&&(_0x4a03a7=_0x57a36f);}return _0x242bf4(_0x2e3d71,_0x4a03a7,_0x3ad95b);},'_map':_0x122f70(0x26c)};function _0x242bf4(_0x1d66b4,_0x52e313,_0x2a26e2){var _0x121d98=_0x122f70;for(var _0x58b293=[],_0x14271b=0x0,_0x3c4eb1=0x0;_0x3c4eb1<_0x52e313;_0x3c4eb1++)if(_0x3c4eb1%0x4){var _0x2e0306=_0x2a26e2[_0x1d66b4[_0x121d98(0x1f3)](_0x3c4eb1-0x1)]<<_0x3c4eb1%0x4*0x2,_0x58fcca=_0x2a26e2[_0x1d66b4['charCodeAt'](_0x3c4eb1)]>>>0x6-_0x3c4eb1%0x4*0x2,_0x3a27e7=_0x2e0306|_0x58fcca;_0x58b293[_0x14271b>>>0x2]|=_0x3a27e7<<0x18-_0x14271b%0x4*0x8,_0x14271b++;}return _0x30e492[_0x121d98(0x330)](_0x58b293,_0x14271b);}}()),_0x26556d[_0x251ce2(0x570)][_0x251ce2(0x394)];}));}(pe)),pe[_0x47c7e5(0x2aa)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){return Xe||(Xe=0x1,function(_0x578ccd,_0x230365){(function(_0x574cec,_0x4cd950){_0x578ccd['exports']=_0x4cd950(Q());}(Di,function(_0x223a8f){return function(_0xfe6f77){var _0x11fd1d=_0x20ff,_0x2d60b1=_0x223a8f,_0x4334d7=_0x2d60b1[_0x11fd1d(0x47b)],_0x56023d=_0x4334d7['WordArray'],_0x40378c=_0x4334d7[_0x11fd1d(0x512)],_0x243cc0=_0x2d60b1[_0x11fd1d(0x3c1)],_0x2b84d3=[];(function(){var _0x26541d=_0x11fd1d;for(var _0x14da08=0x0;_0x14da08<0x40;_0x14da08++)_0x2b84d3[_0x14da08]=_0xfe6f77[_0x26541d(0x217)](_0xfe6f77[_0x26541d(0x356)](_0x14da08+0x1))*0x100000000|0x0;}());var _0x4c8630=_0x243cc0[_0x11fd1d(0x507)]=_0x40378c[_0x11fd1d(0x2ad)]({'_doReset':function(){var _0x5e0224=_0x11fd1d;this['_hash']=new _0x56023d[(_0x5e0224(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58bcd3,_0xdba188){var _0x564ea5=_0x11fd1d;for(var _0x13b6c1=0x0;_0x13b6c1<0x10;_0x13b6c1++){var _0x523efc=_0xdba188+_0x13b6c1,_0x594dca=_0x58bcd3[_0x523efc];_0x58bcd3[_0x523efc]=(_0x594dca<<0x8|_0x594dca>>>0x18)&0xff00ff|(_0x594dca<<0x18|_0x594dca>>>0x8)&0xff00ff00;}var _0x41d5f8=this[_0x564ea5(0x4ee)][_0x564ea5(0x24d)],_0x550ad0=_0x58bcd3[_0xdba188+0x0],_0x449285=_0x58bcd3[_0xdba188+0x1],_0x4fd2bd=_0x58bcd3[_0xdba188+0x2],_0x55a78e=_0x58bcd3[_0xdba188+0x3],_0x17fa51=_0x58bcd3[_0xdba188+0x4],_0x403a94=_0x58bcd3[_0xdba188+0x5],_0x3974e5=_0x58bcd3[_0xdba188+0x6],_0x1e6990=_0x58bcd3[_0xdba188+0x7],_0x319280=_0x58bcd3[_0xdba188+0x8],_0x34aada=_0x58bcd3[_0xdba188+0x9],_0x107d2b=_0x58bcd3[_0xdba188+0xa],_0x45f6e4=_0x58bcd3[_0xdba188+0xb],_0x938058=_0x58bcd3[_0xdba188+0xc],_0x1ef13d=_0x58bcd3[_0xdba188+0xd],_0xda4b05=_0x58bcd3[_0xdba188+0xe],_0x46e6c9=_0x58bcd3[_0xdba188+0xf],_0x2b154a=_0x41d5f8[0x0],_0x2fc6a7=_0x41d5f8[0x1],_0x199a26=_0x41d5f8[0x2],_0x307812=_0x41d5f8[0x3];_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x550ad0,0x7,_0x2b84d3[0x0]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x449285,0xc,_0x2b84d3[0x1]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x4fd2bd,0x11,_0x2b84d3[0x2]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x55a78e,0x16,_0x2b84d3[0x3]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x17fa51,0x7,_0x2b84d3[0x4]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x403a94,0xc,_0x2b84d3[0x5]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x3974e5,0x11,_0x2b84d3[0x6]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x1e6990,0x16,_0x2b84d3[0x7]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x319280,0x7,_0x2b84d3[0x8]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x34aada,0xc,_0x2b84d3[0x9]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x107d2b,0x11,_0x2b84d3[0xa]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x45f6e4,0x16,_0x2b84d3[0xb]),_0x2b154a=_0x5c1829(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x938058,0x7,_0x2b84d3[0xc]),_0x307812=_0x5c1829(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x1ef13d,0xc,_0x2b84d3[0xd]),_0x199a26=_0x5c1829(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0xda4b05,0x11,_0x2b84d3[0xe]),_0x2fc6a7=_0x5c1829(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x46e6c9,0x16,_0x2b84d3[0xf]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x449285,0x5,_0x2b84d3[0x10]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x3974e5,0x9,_0x2b84d3[0x11]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x45f6e4,0xe,_0x2b84d3[0x12]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x550ad0,0x14,_0x2b84d3[0x13]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x403a94,0x5,_0x2b84d3[0x14]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x107d2b,0x9,_0x2b84d3[0x15]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x46e6c9,0xe,_0x2b84d3[0x16]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x17fa51,0x14,_0x2b84d3[0x17]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x34aada,0x5,_0x2b84d3[0x18]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0xda4b05,0x9,_0x2b84d3[0x19]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x55a78e,0xe,_0x2b84d3[0x1a]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x319280,0x14,_0x2b84d3[0x1b]),_0x2b154a=_0x17ef8d(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x1ef13d,0x5,_0x2b84d3[0x1c]),_0x307812=_0x17ef8d(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x4fd2bd,0x9,_0x2b84d3[0x1d]),_0x199a26=_0x17ef8d(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x1e6990,0xe,_0x2b84d3[0x1e]),_0x2fc6a7=_0x17ef8d(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x938058,0x14,_0x2b84d3[0x1f]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x403a94,0x4,_0x2b84d3[0x20]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x319280,0xb,_0x2b84d3[0x21]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x45f6e4,0x10,_0x2b84d3[0x22]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0xda4b05,0x17,_0x2b84d3[0x23]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x449285,0x4,_0x2b84d3[0x24]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x17fa51,0xb,_0x2b84d3[0x25]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x1e6990,0x10,_0x2b84d3[0x26]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x107d2b,0x17,_0x2b84d3[0x27]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x1ef13d,0x4,_0x2b84d3[0x28]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x550ad0,0xb,_0x2b84d3[0x29]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x55a78e,0x10,_0x2b84d3[0x2a]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x3974e5,0x17,_0x2b84d3[0x2b]),_0x2b154a=_0x44dfad(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x34aada,0x4,_0x2b84d3[0x2c]),_0x307812=_0x44dfad(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x938058,0xb,_0x2b84d3[0x2d]),_0x199a26=_0x44dfad(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x46e6c9,0x10,_0x2b84d3[0x2e]),_0x2fc6a7=_0x44dfad(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x4fd2bd,0x17,_0x2b84d3[0x2f]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x550ad0,0x6,_0x2b84d3[0x30]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x1e6990,0xa,_0x2b84d3[0x31]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0xda4b05,0xf,_0x2b84d3[0x32]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x403a94,0x15,_0x2b84d3[0x33]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x938058,0x6,_0x2b84d3[0x34]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x55a78e,0xa,_0x2b84d3[0x35]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x107d2b,0xf,_0x2b84d3[0x36]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x449285,0x15,_0x2b84d3[0x37]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x319280,0x6,_0x2b84d3[0x38]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x46e6c9,0xa,_0x2b84d3[0x39]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x3974e5,0xf,_0x2b84d3[0x3a]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x1ef13d,0x15,_0x2b84d3[0x3b]),_0x2b154a=_0x2bf3b7(_0x2b154a,_0x2fc6a7,_0x199a26,_0x307812,_0x17fa51,0x6,_0x2b84d3[0x3c]),_0x307812=_0x2bf3b7(_0x307812,_0x2b154a,_0x2fc6a7,_0x199a26,_0x45f6e4,0xa,_0x2b84d3[0x3d]),_0x199a26=_0x2bf3b7(_0x199a26,_0x307812,_0x2b154a,_0x2fc6a7,_0x4fd2bd,0xf,_0x2b84d3[0x3e]),_0x2fc6a7=_0x2bf3b7(_0x2fc6a7,_0x199a26,_0x307812,_0x2b154a,_0x34aada,0x15,_0x2b84d3[0x3f]),_0x41d5f8[0x0]=_0x41d5f8[0x0]+_0x2b154a|0x0,_0x41d5f8[0x1]=_0x41d5f8[0x1]+_0x2fc6a7|0x0,_0x41d5f8[0x2]=_0x41d5f8[0x2]+_0x199a26|0x0,_0x41d5f8[0x3]=_0x41d5f8[0x3]+_0x307812|0x0;},'_doFinalize':function(){var _0x543019=_0x11fd1d,_0x286be2=this[_0x543019(0x35b)],_0x224fbd=_0x286be2[_0x543019(0x24d)],_0xb6ffc0=this[_0x543019(0x215)]*0x8,_0x459e63=_0x286be2['sigBytes']*0x8;_0x224fbd[_0x459e63>>>0x5]|=0x80<<0x18-_0x459e63%0x20;var _0x56d1a1=_0xfe6f77[_0x543019(0x3bf)](_0xb6ffc0/0x100000000),_0x2e19be=_0xb6ffc0;_0x224fbd[(_0x459e63+0x40>>>0x9<<0x4)+0xf]=(_0x56d1a1<<0x8|_0x56d1a1>>>0x18)&0xff00ff|(_0x56d1a1<<0x18|_0x56d1a1>>>0x8)&0xff00ff00,_0x224fbd[(_0x459e63+0x40>>>0x9<<0x4)+0xe]=(_0x2e19be<<0x8|_0x2e19be>>>0x18)&0xff00ff|(_0x2e19be<<0x18|_0x2e19be>>>0x8)&0xff00ff00,_0x286be2[_0x543019(0x526)]=(_0x224fbd[_0x543019(0x4ea)]+0x1)*0x4,this[_0x543019(0x264)]();for(var _0x325141=this[_0x543019(0x4ee)],_0x10d5b0=_0x325141[_0x543019(0x24d)],_0xd72c86=0x0;_0xd72c86<0x4;_0xd72c86++){var _0x1e8311=_0x10d5b0[_0xd72c86];_0x10d5b0[_0xd72c86]=(_0x1e8311<<0x8|_0x1e8311>>>0x18)&0xff00ff|(_0x1e8311<<0x18|_0x1e8311>>>0x8)&0xff00ff00;}return _0x325141;},'clone':function(){var _0x225b4e=_0x11fd1d,_0x4df6a5=_0x40378c[_0x225b4e(0x4ab)][_0x225b4e(0x508)](this);return _0x4df6a5[_0x225b4e(0x4ee)]=this[_0x225b4e(0x4ee)][_0x225b4e(0x4ab)](),_0x4df6a5;}});function _0x5c1829(_0x3e3f5d,_0x2f5b77,_0x3073bb,_0x5c1fc2,_0xa9e4df,_0x418d9d,_0x489956){var _0x220541=_0x3e3f5d+(_0x2f5b77&_0x3073bb|~_0x2f5b77&_0x5c1fc2)+_0xa9e4df+_0x489956;return(_0x220541<<_0x418d9d|_0x220541>>>0x20-_0x418d9d)+_0x2f5b77;}function _0x17ef8d(_0x3977c8,_0x21af71,_0x302cdb,_0x53d302,_0x17af39,_0x3eb6c0,_0x3ccae1){var _0x2da495=_0x3977c8+(_0x21af71&_0x53d302|_0x302cdb&~_0x53d302)+_0x17af39+_0x3ccae1;return(_0x2da495<<_0x3eb6c0|_0x2da495>>>0x20-_0x3eb6c0)+_0x21af71;}function _0x44dfad(_0x28b9da,_0x49043a,_0x2675c,_0x4956dd,_0x5ebf7a,_0x83db1b,_0xd2a2c4){var _0x1ba9fe=_0x28b9da+(_0x49043a^_0x2675c^_0x4956dd)+_0x5ebf7a+_0xd2a2c4;return(_0x1ba9fe<<_0x83db1b|_0x1ba9fe>>>0x20-_0x83db1b)+_0x49043a;}function _0x2bf3b7(_0x13cd72,_0x575590,_0x318b03,_0x17a51d,_0x36b6a6,_0x393aec,_0x101bc2){var _0x373bb2=_0x13cd72+(_0x318b03^(_0x575590|~_0x17a51d))+_0x36b6a6+_0x101bc2;return(_0x373bb2<<_0x393aec|_0x373bb2>>>0x20-_0x393aec)+_0x575590;}_0x2d60b1[_0x11fd1d(0x507)]=_0x40378c[_0x11fd1d(0x562)](_0x4c8630),_0x2d60b1[_0x11fd1d(0x2f3)]=_0x40378c[_0x11fd1d(0x40a)](_0x4c8630);}(Math),_0x223a8f['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x38cf52(0x2aa)],Ze;function Pi(){var _0x5976f8=_0x38cf52;return Ze||(Ze=0x1,function(_0x6f295c,_0x4d35f5){(function(_0x22848e,_0x4c3619){var _0x442bf7=_0x20ff;_0x6f295c[_0x442bf7(0x2aa)]=_0x4c3619(Q());}(Ai,function(_0x24fa62){var _0x5805c6=_0x20ff;return(function(){var _0x154506=_0x20ff,_0x57089d=_0x24fa62,_0x55389b=_0x57089d[_0x154506(0x47b)],_0x20ebc3=_0x55389b['WordArray'],_0xfabddc=_0x55389b['Hasher'],_0x383639=_0x57089d['algo'],_0x53b98c=[],_0x1b3597=_0x383639[_0x154506(0x329)]=_0xfabddc[_0x154506(0x2ad)]({'_doReset':function(){var _0x275663=_0x154506;this[_0x275663(0x4ee)]=new _0x20ebc3[(_0x275663(0x2b6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x234b8a,_0x8066){var _0x1b7462=_0x154506;for(var _0x515dc7=this[_0x1b7462(0x4ee)]['words'],_0x434b96=_0x515dc7[0x0],_0x6b462f=_0x515dc7[0x1],_0x31d130=_0x515dc7[0x2],_0x2d1b04=_0x515dc7[0x3],_0x357c91=_0x515dc7[0x4],_0x558dfa=0x0;_0x558dfa<0x50;_0x558dfa++){if(_0x558dfa<0x10)_0x53b98c[_0x558dfa]=_0x234b8a[_0x8066+_0x558dfa]|0x0;else{var _0x5d1acb=_0x53b98c[_0x558dfa-0x3]^_0x53b98c[_0x558dfa-0x8]^_0x53b98c[_0x558dfa-0xe]^_0x53b98c[_0x558dfa-0x10];_0x53b98c[_0x558dfa]=_0x5d1acb<<0x1|_0x5d1acb>>>0x1f;}var _0x3b7a32=(_0x434b96<<0x5|_0x434b96>>>0x1b)+_0x357c91+_0x53b98c[_0x558dfa];_0x558dfa<0x14?_0x3b7a32+=(_0x6b462f&_0x31d130|~_0x6b462f&_0x2d1b04)+0x5a827999:_0x558dfa<0x28?_0x3b7a32+=(_0x6b462f^_0x31d130^_0x2d1b04)+0x6ed9eba1:_0x558dfa<0x3c?_0x3b7a32+=(_0x6b462f&_0x31d130|_0x6b462f&_0x2d1b04|_0x31d130&_0x2d1b04)-0x70e44324:_0x3b7a32+=(_0x6b462f^_0x31d130^_0x2d1b04)-0x359d3e2a,_0x357c91=_0x2d1b04,_0x2d1b04=_0x31d130,_0x31d130=_0x6b462f<<0x1e|_0x6b462f>>>0x2,_0x6b462f=_0x434b96,_0x434b96=_0x3b7a32;}_0x515dc7[0x0]=_0x515dc7[0x0]+_0x434b96|0x0,_0x515dc7[0x1]=_0x515dc7[0x1]+_0x6b462f|0x0,_0x515dc7[0x2]=_0x515dc7[0x2]+_0x31d130|0x0,_0x515dc7[0x3]=_0x515dc7[0x3]+_0x2d1b04|0x0,_0x515dc7[0x4]=_0x515dc7[0x4]+_0x357c91|0x0;},'_doFinalize':function(){var _0x1c49b9=_0x154506,_0x2b201a=this[_0x1c49b9(0x35b)],_0x421c5c=_0x2b201a[_0x1c49b9(0x24d)],_0x46c043=this[_0x1c49b9(0x215)]*0x8,_0x3809b7=_0x2b201a[_0x1c49b9(0x526)]*0x8;return _0x421c5c[_0x3809b7>>>0x5]|=0x80<<0x18-_0x3809b7%0x20,_0x421c5c[(_0x3809b7+0x40>>>0x9<<0x4)+0xe]=Math[_0x1c49b9(0x3bf)](_0x46c043/0x100000000),_0x421c5c[(_0x3809b7+0x40>>>0x9<<0x4)+0xf]=_0x46c043,_0x2b201a[_0x1c49b9(0x526)]=_0x421c5c[_0x1c49b9(0x4ea)]*0x4,this['_process'](),this[_0x1c49b9(0x4ee)];},'clone':function(){var _0x172d09=_0x154506,_0x3844d4=_0xfabddc['clone']['call'](this);return _0x3844d4[_0x172d09(0x4ee)]=this[_0x172d09(0x4ee)][_0x172d09(0x4ab)](),_0x3844d4;}});_0x57089d[_0x154506(0x329)]=_0xfabddc[_0x154506(0x562)](_0x1b3597),_0x57089d[_0x154506(0x2a6)]=_0xfabddc[_0x154506(0x40a)](_0x1b3597);}()),_0x24fa62[_0x5805c6(0x329)];}));}(me)),me[_0x5976f8(0x2aa)];}var Ce={'exports':{}},Li=Ce[_0x38cf52(0x2aa)],Qe;function wi(){var _0x5567cd=_0x38cf52;return Qe||(Qe=0x1,function(_0x300664,_0x1666e1){(function(_0x13ec2c,_0x49eb47){var _0x1313ec=_0x20ff;_0x300664[_0x1313ec(0x2aa)]=_0x49eb47(Q());}(Li,function(_0x167b64){(function(){var _0x311259=_0x20ff,_0x11da3f=_0x167b64,_0x58fdf9=_0x11da3f[_0x311259(0x47b)],_0x40ad7e=_0x58fdf9[_0x311259(0x4d0)],_0x450d78=_0x11da3f['enc'],_0x3aa48d=_0x450d78[_0x311259(0x4af)],_0x17fb89=_0x11da3f[_0x311259(0x3c1)];_0x17fb89[_0x311259(0x443)]=_0x40ad7e[_0x311259(0x2ad)]({'init':function(_0x11e45e,_0x5de9b7){var _0x289ba2=_0x311259;_0x11e45e=this['_hasher']=new _0x11e45e['init'](),typeof _0x5de9b7=='string'&&(_0x5de9b7=_0x3aa48d['parse'](_0x5de9b7));var _0x489389=_0x11e45e[_0x289ba2(0x357)],_0x1f4f15=_0x489389*0x4;_0x5de9b7[_0x289ba2(0x526)]>_0x1f4f15&&(_0x5de9b7=_0x11e45e[_0x289ba2(0x56f)](_0x5de9b7)),_0x5de9b7['clamp']();for(var _0x23fd21=this[_0x289ba2(0x3d3)]=_0x5de9b7[_0x289ba2(0x4ab)](),_0x2bb6bf=this[_0x289ba2(0x539)]=_0x5de9b7[_0x289ba2(0x4ab)](),_0x3d07d5=_0x23fd21[_0x289ba2(0x24d)],_0xb150b8=_0x2bb6bf[_0x289ba2(0x24d)],_0x5be050=0x0;_0x5be050<_0x489389;_0x5be050++)_0x3d07d5[_0x5be050]^=0x5c5c5c5c,_0xb150b8[_0x5be050]^=0x36363636;_0x23fd21[_0x289ba2(0x526)]=_0x2bb6bf[_0x289ba2(0x526)]=_0x1f4f15,this[_0x289ba2(0x32f)]();},'reset':function(){var _0x464f1f=_0x311259,_0x190154=this['_hasher'];_0x190154['reset'](),_0x190154[_0x464f1f(0x4db)](this[_0x464f1f(0x539)]);},'update':function(_0x223372){var _0x2d4618=_0x311259;return this[_0x2d4618(0x33e)]['update'](_0x223372),this;},'finalize':function(_0x404f94){var _0x4d5744=_0x311259,_0x2a7f5d=this[_0x4d5744(0x33e)],_0x2fe976=_0x2a7f5d['finalize'](_0x404f94);_0x2a7f5d['reset']();var _0x184cf3=_0x2a7f5d['finalize'](this[_0x4d5744(0x3d3)]['clone']()[_0x4d5744(0x34b)](_0x2fe976));return _0x184cf3;}});}());}));}(Ce)),Ce[_0x5567cd(0x2aa)];}var Mi=Ee[_0x38cf52(0x2aa)],et;function Nt(){var _0x2b8eb5=_0x38cf52;return et||(et=0x1,function(_0xeeb67e,_0x102b97){(function(_0x50e5f6,_0xf4d603,_0x552a44){var _0x3a177d=_0x20ff;_0xeeb67e[_0x3a177d(0x2aa)]=_0xf4d603(Q(),Pi(),wi());}(Mi,function(_0x435026){var _0x1dd769=_0x20ff;return(function(){var _0xf56194=_0x20ff,_0x342299=_0x435026,_0x322a59=_0x342299['lib'],_0x554182=_0x322a59['Base'],_0x581979=_0x322a59[_0xf56194(0x285)],_0x427197=_0x342299['algo'],_0x4acdcc=_0x427197[_0xf56194(0x507)],_0x313760=_0x427197['EvpKDF']=_0x554182[_0xf56194(0x2ad)]({'cfg':_0x554182[_0xf56194(0x2ad)]({'keySize':0x80/0x20,'hasher':_0x4acdcc,'iterations':0x1}),'init':function(_0x529c9e){var _0x462780=_0xf56194;this[_0x462780(0x53b)]=this[_0x462780(0x53b)]['extend'](_0x529c9e);},'compute':function(_0x560999,_0x48dcb8){var _0x1ddf13=_0xf56194;for(var _0x4a1631,_0x59bcfa=this[_0x1ddf13(0x53b)],_0x427127=_0x59bcfa[_0x1ddf13(0x2f8)][_0x1ddf13(0x330)](),_0x36aa27=_0x581979['create'](),_0x37ba83=_0x36aa27['words'],_0x502692=_0x59bcfa[_0x1ddf13(0x309)],_0x4256d6=_0x59bcfa[_0x1ddf13(0x22c)];_0x37ba83[_0x1ddf13(0x4ea)]<_0x502692;){_0x4a1631&&_0x427127['update'](_0x4a1631),_0x4a1631=_0x427127[_0x1ddf13(0x4db)](_0x560999)[_0x1ddf13(0x56f)](_0x48dcb8),_0x427127['reset']();for(var _0x4eabae=0x1;_0x4eabae<_0x4256d6;_0x4eabae++)_0x4a1631=_0x427127[_0x1ddf13(0x56f)](_0x4a1631),_0x427127[_0x1ddf13(0x32f)]();_0x36aa27[_0x1ddf13(0x34b)](_0x4a1631);}return _0x36aa27['sigBytes']=_0x502692*0x4,_0x36aa27;}});_0x342299[_0xf56194(0x214)]=function(_0x324b80,_0x49dcc0,_0x4e7abf){var _0x5b6678=_0xf56194;return _0x313760[_0x5b6678(0x330)](_0x4e7abf)[_0x5b6678(0x481)](_0x324b80,_0x49dcc0);};}()),_0x435026[_0x1dd769(0x214)];}));}(Ee)),Ee[_0x2b8eb5(0x2aa)];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){var _0x1ffd94=_0x38cf52;return tt||(tt=0x1,function(_0x1a9c8e,_0x55acfc){(function(_0x449469,_0x4df8f3,_0x795be1){_0x1a9c8e['exports']=_0x4df8f3(Q(),Nt());}(xi,function(_0x16a4a3){var _0x4b6fe9=_0x20ff;_0x16a4a3[_0x4b6fe9(0x47b)][_0x4b6fe9(0x3ee)]||function(_0x13f750){var _0x2a162e=_0x4b6fe9,_0x965ef2=_0x16a4a3,_0x4cbfaa=_0x965ef2['lib'],_0x129a13=_0x4cbfaa[_0x2a162e(0x4d0)],_0x9a73b4=_0x4cbfaa['WordArray'],_0x5ad705=_0x4cbfaa[_0x2a162e(0x3ca)],_0xc93e84=_0x965ef2['enc'];_0xc93e84[_0x2a162e(0x4af)];var _0x3638d0=_0xc93e84[_0x2a162e(0x394)],_0x7b81ff=_0x965ef2['algo'],_0x3b72ff=_0x7b81ff[_0x2a162e(0x214)],_0x54aba9=_0x4cbfaa[_0x2a162e(0x3ee)]=_0x5ad705[_0x2a162e(0x2ad)]({'cfg':_0x129a13['extend'](),'createEncryptor':function(_0x292d96,_0x1d4b32){var _0x3161c6=_0x2a162e;return this[_0x3161c6(0x330)](this[_0x3161c6(0x295)],_0x292d96,_0x1d4b32);},'createDecryptor':function(_0x243b6c,_0x516ed3){var _0xfd4344=_0x2a162e;return this[_0xfd4344(0x330)](this[_0xfd4344(0x347)],_0x243b6c,_0x516ed3);},'init':function(_0x529e56,_0x5e6737,_0x3fcc88){var _0x3829ac=_0x2a162e;this[_0x3829ac(0x53b)]=this[_0x3829ac(0x53b)][_0x3829ac(0x2ad)](_0x3fcc88),this[_0x3829ac(0x4e7)]=_0x529e56,this[_0x3829ac(0x527)]=_0x5e6737,this[_0x3829ac(0x32f)]();},'reset':function(){var _0x2ccca5=_0x2a162e;_0x5ad705['reset'][_0x2ccca5(0x508)](this),this[_0x2ccca5(0x420)]();},'process':function(_0x4108e){var _0x3cf598=_0x2a162e;return this[_0x3cf598(0x4d3)](_0x4108e),this[_0x3cf598(0x264)]();},'finalize':function(_0x53564f){var _0x50fe95=_0x2a162e;_0x53564f&&this[_0x50fe95(0x4d3)](_0x53564f);var _0x17d9fc=this['_doFinalize']();return _0x17d9fc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x512fe2(_0x5de226){var _0x162a1a=_0x20ff;return typeof _0x5de226==_0x162a1a(0x31a)?_0x3d25a1:_0x57a545;}return function(_0x357493){return{'encrypt':function(_0x119ed4,_0x25a31e,_0xea575){var _0x1378e3=_0x20ff;return _0x512fe2(_0x25a31e)[_0x1378e3(0x2b3)](_0x357493,_0x119ed4,_0x25a31e,_0xea575);},'decrypt':function(_0x406d9b,_0xeee60f,_0x98aa96){var _0x29e075=_0x20ff;return _0x512fe2(_0xeee60f)[_0x29e075(0x26d)](_0x357493,_0x406d9b,_0xeee60f,_0x98aa96);}};};}())});_0x4cbfaa[_0x2a162e(0x3e9)]=_0x54aba9[_0x2a162e(0x2ad)]({'_doFinalize':function(){var _0x324e6d=this['_process'](!0x0);return _0x324e6d;},'blockSize':0x1});var _0x54a809=_0x965ef2[_0x2a162e(0x25d)]={},_0x1abac8=_0x4cbfaa[_0x2a162e(0x25a)]=_0x129a13[_0x2a162e(0x2ad)]({'createEncryptor':function(_0x23375f,_0x1962ff){var _0xe75b5b=_0x2a162e;return this[_0xe75b5b(0x2ff)]['create'](_0x23375f,_0x1962ff);},'createDecryptor':function(_0x4e7da7,_0x4a1e7c){var _0x7ff637=_0x2a162e;return this[_0x7ff637(0x340)][_0x7ff637(0x330)](_0x4e7da7,_0x4a1e7c);},'init':function(_0x57c464,_0x2fda8c){var _0x2ca793=_0x2a162e;this[_0x2ca793(0x2c7)]=_0x57c464,this[_0x2ca793(0x4ca)]=_0x2fda8c;}}),_0x4e5b66=_0x54a809[_0x2a162e(0x472)]=(function(){var _0x4a2434=_0x2a162e,_0x4b3987=_0x1abac8[_0x4a2434(0x2ad)]();_0x4b3987[_0x4a2434(0x2ff)]=_0x4b3987[_0x4a2434(0x2ad)]({'processBlock':function(_0x2b67d0,_0x290dcb){var _0x322a23=_0x4a2434,_0x441716=this[_0x322a23(0x2c7)],_0x348b53=_0x441716[_0x322a23(0x357)];_0x466d24['call'](this,_0x2b67d0,_0x290dcb,_0x348b53),_0x441716[_0x322a23(0x298)](_0x2b67d0,_0x290dcb),this[_0x322a23(0x352)]=_0x2b67d0[_0x322a23(0x342)](_0x290dcb,_0x290dcb+_0x348b53);}}),_0x4b3987['Decryptor']=_0x4b3987['extend']({'processBlock':function(_0x161aa5,_0x2471f6){var _0x51d875=_0x4a2434,_0x33e77b=this[_0x51d875(0x2c7)],_0x47a663=_0x33e77b['blockSize'],_0x3f3946=_0x161aa5[_0x51d875(0x342)](_0x2471f6,_0x2471f6+_0x47a663);_0x33e77b[_0x51d875(0x39a)](_0x161aa5,_0x2471f6),_0x466d24['call'](this,_0x161aa5,_0x2471f6,_0x47a663),this[_0x51d875(0x352)]=_0x3f3946;}});function _0x466d24(_0x388661,_0x335609,_0x2fa8e5){var _0x2dd429=_0x4a2434,_0x4d4c45,_0x1d35d9=this[_0x2dd429(0x4ca)];_0x1d35d9?(_0x4d4c45=_0x1d35d9,this[_0x2dd429(0x4ca)]=_0x13f750):_0x4d4c45=this[_0x2dd429(0x352)];for(var _0x188a93=0x0;_0x188a93<_0x2fa8e5;_0x188a93++)_0x388661[_0x335609+_0x188a93]^=_0x4d4c45[_0x188a93];}return _0x4b3987;}()),_0x2f7e02=_0x965ef2[_0x2a162e(0x4f7)]={},_0x51d796=_0x2f7e02[_0x2a162e(0x2e1)]={'pad':function(_0x573116,_0x4df92a){var _0x52791f=_0x2a162e;for(var _0x2fc9de=_0x4df92a*0x4,_0x45b2a1=_0x2fc9de-_0x573116[_0x52791f(0x526)]%_0x2fc9de,_0x184125=_0x45b2a1<<0x18|_0x45b2a1<<0x10|_0x45b2a1<<0x8|_0x45b2a1,_0x36f1e7=[],_0x231b2a=0x0;_0x231b2a<_0x45b2a1;_0x231b2a+=0x4)_0x36f1e7[_0x52791f(0x398)](_0x184125);var _0x5a932c=_0x9a73b4[_0x52791f(0x330)](_0x36f1e7,_0x45b2a1);_0x573116[_0x52791f(0x34b)](_0x5a932c);},'unpad':function(_0x26c9dd){var _0x305563=_0x2a162e,_0x2309ce=_0x26c9dd[_0x305563(0x24d)][_0x26c9dd[_0x305563(0x526)]-0x1>>>0x2]&0xff;_0x26c9dd[_0x305563(0x526)]-=_0x2309ce;}};_0x4cbfaa[_0x2a162e(0x518)]=_0x54aba9[_0x2a162e(0x2ad)]({'cfg':_0x54aba9[_0x2a162e(0x53b)][_0x2a162e(0x2ad)]({'mode':_0x4e5b66,'padding':_0x51d796}),'reset':function(){var _0x5e9c76=_0x2a162e,_0x4d758a;_0x54aba9[_0x5e9c76(0x32f)][_0x5e9c76(0x508)](this);var _0x478f7f=this['cfg'],_0x4e38e9=_0x478f7f['iv'],_0x1f1562=_0x478f7f[_0x5e9c76(0x25d)];this[_0x5e9c76(0x4e7)]==this[_0x5e9c76(0x295)]?_0x4d758a=_0x1f1562[_0x5e9c76(0x4ba)]:(_0x4d758a=_0x1f1562[_0x5e9c76(0x4cd)],this[_0x5e9c76(0x336)]=0x1),this[_0x5e9c76(0x2af)]&&this['_mode'][_0x5e9c76(0x3d5)]==_0x4d758a?this['_mode'][_0x5e9c76(0x2b6)](this,_0x4e38e9&&_0x4e38e9[_0x5e9c76(0x24d)]):(this[_0x5e9c76(0x2af)]=_0x4d758a[_0x5e9c76(0x508)](_0x1f1562,this,_0x4e38e9&&_0x4e38e9['words']),this['_mode'][_0x5e9c76(0x3d5)]=_0x4d758a);},'_doProcessBlock':function(_0x75aab5,_0x2aabac){var _0x14b8ca=_0x2a162e;this[_0x14b8ca(0x2af)][_0x14b8ca(0x36a)](_0x75aab5,_0x2aabac);},'_doFinalize':function(){var _0x266943=_0x2a162e,_0x4da89e,_0xa2a9b3=this[_0x266943(0x53b)][_0x266943(0x537)];return this[_0x266943(0x4e7)]==this['_ENC_XFORM_MODE']?(_0xa2a9b3[_0x266943(0x4f7)](this['_data'],this[_0x266943(0x357)]),_0x4da89e=this['_process'](!0x0)):(_0x4da89e=this['_process'](!0x0),_0xa2a9b3[_0x266943(0x226)](_0x4da89e)),_0x4da89e;},'blockSize':0x80/0x20});var _0x5b10c2=_0x4cbfaa[_0x2a162e(0x203)]=_0x129a13[_0x2a162e(0x2ad)]({'init':function(_0x4df187){var _0x52756c=_0x2a162e;this[_0x52756c(0x502)](_0x4df187);},'toString':function(_0x54c504){var _0x55fc59=_0x2a162e;return(_0x54c504||this[_0x55fc59(0x25f)])['stringify'](this);}}),_0x3261f3=_0x965ef2[_0x2a162e(0x252)]={},_0x47fc9f=_0x3261f3[_0x2a162e(0x3df)]={'stringify':function(_0x404be0){var _0x32c3f=_0x2a162e,_0x2c1512,_0x30e7ba=_0x404be0[_0x32c3f(0x360)],_0x31d465=_0x404be0[_0x32c3f(0x37f)];return _0x31d465?_0x2c1512=_0x9a73b4[_0x32c3f(0x330)]([0x53616c74,0x65645f5f])['concat'](_0x31d465)[_0x32c3f(0x34b)](_0x30e7ba):_0x2c1512=_0x30e7ba,_0x2c1512[_0x32c3f(0x2da)](_0x3638d0);},'parse':function(_0x44f3c5){var _0x3184c0=_0x2a162e,_0x593e52,_0x2b97ca=_0x3638d0[_0x3184c0(0x447)](_0x44f3c5),_0x41ca65=_0x2b97ca[_0x3184c0(0x24d)];return _0x41ca65[0x0]==0x53616c74&&_0x41ca65[0x1]==0x65645f5f&&(_0x593e52=_0x9a73b4[_0x3184c0(0x330)](_0x41ca65[_0x3184c0(0x342)](0x2,0x4)),_0x41ca65['splice'](0x0,0x4),_0x2b97ca[_0x3184c0(0x526)]-=0x10),_0x5b10c2['create']({'ciphertext':_0x2b97ca,'salt':_0x593e52});}},_0x57a545=_0x4cbfaa[_0x2a162e(0x256)]=_0x129a13['extend']({'cfg':_0x129a13[_0x2a162e(0x2ad)]({'format':_0x47fc9f}),'encrypt':function(_0x41e0c3,_0x5b210a,_0x1476b3,_0x341890){var _0x5eb2f4=_0x2a162e;_0x341890=this[_0x5eb2f4(0x53b)][_0x5eb2f4(0x2ad)](_0x341890);var _0x130885=_0x41e0c3['createEncryptor'](_0x1476b3,_0x341890),_0x43b9fa=_0x130885[_0x5eb2f4(0x56f)](_0x5b210a),_0xd32344=_0x130885[_0x5eb2f4(0x53b)];return _0x5b10c2[_0x5eb2f4(0x330)]({'ciphertext':_0x43b9fa,'key':_0x1476b3,'iv':_0xd32344['iv'],'algorithm':_0x41e0c3,'mode':_0xd32344[_0x5eb2f4(0x25d)],'padding':_0xd32344[_0x5eb2f4(0x537)],'blockSize':_0x41e0c3[_0x5eb2f4(0x357)],'formatter':_0x341890[_0x5eb2f4(0x252)]});},'decrypt':function(_0x38a0a2,_0x342a9a,_0x77f0ec,_0x3b618a){var _0x148ca2=_0x2a162e;_0x3b618a=this['cfg'][_0x148ca2(0x2ad)](_0x3b618a),_0x342a9a=this[_0x148ca2(0x2f5)](_0x342a9a,_0x3b618a[_0x148ca2(0x252)]);var _0x5e0480=_0x38a0a2[_0x148ca2(0x4cd)](_0x77f0ec,_0x3b618a)[_0x148ca2(0x56f)](_0x342a9a[_0x148ca2(0x360)]);return _0x5e0480;},'_parse':function(_0x46a11a,_0x5ef473){var _0x3928fa=_0x2a162e;return typeof _0x46a11a==_0x3928fa(0x31a)?_0x5ef473[_0x3928fa(0x447)](_0x46a11a,this):_0x46a11a;}}),_0x1e7322=_0x965ef2[_0x2a162e(0x4d2)]={},_0x4d014b=_0x1e7322['OpenSSL']={'execute':function(_0x4583b3,_0x419596,_0x1e920f,_0x395870,_0x2000fb){var _0x23f1f4=_0x2a162e;if(_0x395870||(_0x395870=_0x9a73b4[_0x23f1f4(0x567)](0x40/0x8)),_0x2000fb)var _0x38d3e5=_0x3b72ff[_0x23f1f4(0x330)]({'keySize':_0x419596+_0x1e920f,'hasher':_0x2000fb})['compute'](_0x4583b3,_0x395870);else var _0x38d3e5=_0x3b72ff[_0x23f1f4(0x330)]({'keySize':_0x419596+_0x1e920f})[_0x23f1f4(0x481)](_0x4583b3,_0x395870);var _0x469301=_0x9a73b4['create'](_0x38d3e5['words'][_0x23f1f4(0x342)](_0x419596),_0x1e920f*0x4);return _0x38d3e5[_0x23f1f4(0x526)]=_0x419596*0x4,_0x5b10c2[_0x23f1f4(0x330)]({'key':_0x38d3e5,'iv':_0x469301,'salt':_0x395870});}},_0x3d25a1=_0x4cbfaa[_0x2a162e(0x282)]=_0x57a545['extend']({'cfg':_0x57a545[_0x2a162e(0x53b)][_0x2a162e(0x2ad)]({'kdf':_0x4d014b}),'encrypt':function(_0x21be22,_0x115c20,_0x11b71f,_0x3b77a2){var _0x1f3f46=_0x2a162e;_0x3b77a2=this[_0x1f3f46(0x53b)][_0x1f3f46(0x2ad)](_0x3b77a2);var _0x118884=_0x3b77a2[_0x1f3f46(0x4d2)][_0x1f3f46(0x288)](_0x11b71f,_0x21be22[_0x1f3f46(0x309)],_0x21be22[_0x1f3f46(0x2c2)],_0x3b77a2[_0x1f3f46(0x37f)],_0x3b77a2[_0x1f3f46(0x2f8)]);_0x3b77a2['iv']=_0x118884['iv'];var _0x37e965=_0x57a545[_0x1f3f46(0x2b3)]['call'](this,_0x21be22,_0x115c20,_0x118884[_0x1f3f46(0x1f2)],_0x3b77a2);return _0x37e965[_0x1f3f46(0x502)](_0x118884),_0x37e965;},'decrypt':function(_0x1950eb,_0x1130d0,_0x33565f,_0x3e4a1b){var _0x1c9c4d=_0x2a162e;_0x3e4a1b=this['cfg'][_0x1c9c4d(0x2ad)](_0x3e4a1b),_0x1130d0=this[_0x1c9c4d(0x2f5)](_0x1130d0,_0x3e4a1b[_0x1c9c4d(0x252)]);var _0x3061a6=_0x3e4a1b[_0x1c9c4d(0x4d2)][_0x1c9c4d(0x288)](_0x33565f,_0x1950eb[_0x1c9c4d(0x309)],_0x1950eb[_0x1c9c4d(0x2c2)],_0x1130d0['salt'],_0x3e4a1b[_0x1c9c4d(0x2f8)]);_0x3e4a1b['iv']=_0x3061a6['iv'];var _0x337f23=_0x57a545[_0x1c9c4d(0x26d)][_0x1c9c4d(0x508)](this,_0x1950eb,_0x1130d0,_0x3061a6[_0x1c9c4d(0x1f2)],_0x3e4a1b);return _0x337f23;}});}();}));}(Te)),Te[_0x1ffd94(0x2aa)];}var ki=fe[_0x38cf52(0x2aa)],it;function Hi(){var _0x28463b=_0x38cf52;return it||(it=0x1,function(_0x2a3509,_0x1572e9){(function(_0x2e7a4f,_0x2bf941,_0x42607f){var _0x409e7b=_0x20ff;_0x2a3509[_0x409e7b(0x2aa)]=_0x2bf941(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x35b849){var _0xe02a22=_0x20ff;return(function(){var _0x4a1855=_0x20ff,_0x27d911=_0x35b849,_0x5013c6=_0x27d911[_0x4a1855(0x47b)],_0x4dc0a6=_0x5013c6[_0x4a1855(0x518)],_0x355ddf=_0x27d911[_0x4a1855(0x3c1)],_0x398ffc=[],_0x323dee=[],_0x3a0f87=[],_0x4322d1=[],_0x10ffdf=[],_0x732f9c=[],_0x11cf66=[],_0x43edca=[],_0xdb80eb=[],_0x4f38ff=[];(function(){for(var _0xd1e0b5=[],_0x2d638f=0x0;_0x2d638f<0x100;_0x2d638f++)_0x2d638f<0x80?_0xd1e0b5[_0x2d638f]=_0x2d638f<<0x1:_0xd1e0b5[_0x2d638f]=_0x2d638f<<0x1^0x11b;for(var _0x1a28c5=0x0,_0x2895e6=0x0,_0x2d638f=0x0;_0x2d638f<0x100;_0x2d638f++){var _0x3c557d=_0x2895e6^_0x2895e6<<0x1^_0x2895e6<<0x2^_0x2895e6<<0x3^_0x2895e6<<0x4;_0x3c557d=_0x3c557d>>>0x8^_0x3c557d&0xff^0x63,_0x398ffc[_0x1a28c5]=_0x3c557d,_0x323dee[_0x3c557d]=_0x1a28c5;var _0x5ec838=_0xd1e0b5[_0x1a28c5],_0x2d03f7=_0xd1e0b5[_0x5ec838],_0x37abd9=_0xd1e0b5[_0x2d03f7],_0x43dd5c=_0xd1e0b5[_0x3c557d]*0x101^_0x3c557d*0x1010100;_0x3a0f87[_0x1a28c5]=_0x43dd5c<<0x18|_0x43dd5c>>>0x8,_0x4322d1[_0x1a28c5]=_0x43dd5c<<0x10|_0x43dd5c>>>0x10,_0x10ffdf[_0x1a28c5]=_0x43dd5c<<0x8|_0x43dd5c>>>0x18,_0x732f9c[_0x1a28c5]=_0x43dd5c;var _0x43dd5c=_0x37abd9*0x1010101^_0x2d03f7*0x10001^_0x5ec838*0x101^_0x1a28c5*0x1010100;_0x11cf66[_0x3c557d]=_0x43dd5c<<0x18|_0x43dd5c>>>0x8,_0x43edca[_0x3c557d]=_0x43dd5c<<0x10|_0x43dd5c>>>0x10,_0xdb80eb[_0x3c557d]=_0x43dd5c<<0x8|_0x43dd5c>>>0x18,_0x4f38ff[_0x3c557d]=_0x43dd5c,_0x1a28c5?(_0x1a28c5=_0x5ec838^_0xd1e0b5[_0xd1e0b5[_0xd1e0b5[_0x37abd9^_0x5ec838]]],_0x2895e6^=_0xd1e0b5[_0xd1e0b5[_0x2895e6]]):_0x1a28c5=_0x2895e6=0x1;}}());var _0x1ae601=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x17c884=_0x355ddf[_0x4a1855(0x306)]=_0x4dc0a6[_0x4a1855(0x2ad)]({'_doReset':function(){var _0x5d6721=_0x4a1855,_0x4b6dc6;if(!(this[_0x5d6721(0x3d0)]&&this[_0x5d6721(0x499)]===this['_key'])){for(var _0x150e61=this[_0x5d6721(0x499)]=this[_0x5d6721(0x527)],_0x54b100=_0x150e61[_0x5d6721(0x24d)],_0x237048=_0x150e61[_0x5d6721(0x526)]/0x4,_0x396430=this[_0x5d6721(0x3d0)]=_0x237048+0x6,_0x548a6b=(_0x396430+0x1)*0x4,_0x7678fb=this[_0x5d6721(0x29c)]=[],_0x5cd7be=0x0;_0x5cd7be<_0x548a6b;_0x5cd7be++)_0x5cd7be<_0x237048?_0x7678fb[_0x5cd7be]=_0x54b100[_0x5cd7be]:(_0x4b6dc6=_0x7678fb[_0x5cd7be-0x1],_0x5cd7be%_0x237048?_0x237048>0x6&&_0x5cd7be%_0x237048==0x4&&(_0x4b6dc6=_0x398ffc[_0x4b6dc6>>>0x18]<<0x18|_0x398ffc[_0x4b6dc6>>>0x10&0xff]<<0x10|_0x398ffc[_0x4b6dc6>>>0x8&0xff]<<0x8|_0x398ffc[_0x4b6dc6&0xff]):(_0x4b6dc6=_0x4b6dc6<<0x8|_0x4b6dc6>>>0x18,_0x4b6dc6=_0x398ffc[_0x4b6dc6>>>0x18]<<0x18|_0x398ffc[_0x4b6dc6>>>0x10&0xff]<<0x10|_0x398ffc[_0x4b6dc6>>>0x8&0xff]<<0x8|_0x398ffc[_0x4b6dc6&0xff],_0x4b6dc6^=_0x1ae601[_0x5cd7be/_0x237048|0x0]<<0x18),_0x7678fb[_0x5cd7be]=_0x7678fb[_0x5cd7be-_0x237048]^_0x4b6dc6);for(var _0x50cfd5=this[_0x5d6721(0x2b0)]=[],_0x3fa768=0x0;_0x3fa768<_0x548a6b;_0x3fa768++){var _0x5cd7be=_0x548a6b-_0x3fa768;if(_0x3fa768%0x4)var _0x4b6dc6=_0x7678fb[_0x5cd7be];else var _0x4b6dc6=_0x7678fb[_0x5cd7be-0x4];_0x3fa768<0x4||_0x5cd7be<=0x4?_0x50cfd5[_0x3fa768]=_0x4b6dc6:_0x50cfd5[_0x3fa768]=_0x11cf66[_0x398ffc[_0x4b6dc6>>>0x18]]^_0x43edca[_0x398ffc[_0x4b6dc6>>>0x10&0xff]]^_0xdb80eb[_0x398ffc[_0x4b6dc6>>>0x8&0xff]]^_0x4f38ff[_0x398ffc[_0x4b6dc6&0xff]];}}},'encryptBlock':function(_0x4be667,_0x39fe6e){var _0x24fbd4=_0x4a1855;this['_doCryptBlock'](_0x4be667,_0x39fe6e,this[_0x24fbd4(0x29c)],_0x3a0f87,_0x4322d1,_0x10ffdf,_0x732f9c,_0x398ffc);},'decryptBlock':function(_0x40186d,_0x283e64){var _0x27d0a3=_0x4a1855,_0x9764aa=_0x40186d[_0x283e64+0x1];_0x40186d[_0x283e64+0x1]=_0x40186d[_0x283e64+0x3],_0x40186d[_0x283e64+0x3]=_0x9764aa,this[_0x27d0a3(0x26f)](_0x40186d,_0x283e64,this['_invKeySchedule'],_0x11cf66,_0x43edca,_0xdb80eb,_0x4f38ff,_0x323dee);var _0x9764aa=_0x40186d[_0x283e64+0x1];_0x40186d[_0x283e64+0x1]=_0x40186d[_0x283e64+0x3],_0x40186d[_0x283e64+0x3]=_0x9764aa;},'_doCryptBlock':function(_0x4e269e,_0x52a485,_0x20947d,_0xabd700,_0x49df3e,_0x2aab21,_0x4c647a,_0x4edf08){var _0x3475e0=_0x4a1855;for(var _0x563bba=this[_0x3475e0(0x3d0)],_0x83a482=_0x4e269e[_0x52a485]^_0x20947d[0x0],_0x490c1c=_0x4e269e[_0x52a485+0x1]^_0x20947d[0x1],_0x3ffe98=_0x4e269e[_0x52a485+0x2]^_0x20947d[0x2],_0x5f9ea8=_0x4e269e[_0x52a485+0x3]^_0x20947d[0x3],_0x4514d8=0x4,_0x537352=0x1;_0x537352<_0x563bba;_0x537352++){var _0x3be854=_0xabd700[_0x83a482>>>0x18]^_0x49df3e[_0x490c1c>>>0x10&0xff]^_0x2aab21[_0x3ffe98>>>0x8&0xff]^_0x4c647a[_0x5f9ea8&0xff]^_0x20947d[_0x4514d8++],_0x4fec52=_0xabd700[_0x490c1c>>>0x18]^_0x49df3e[_0x3ffe98>>>0x10&0xff]^_0x2aab21[_0x5f9ea8>>>0x8&0xff]^_0x4c647a[_0x83a482&0xff]^_0x20947d[_0x4514d8++],_0x1f32da=_0xabd700[_0x3ffe98>>>0x18]^_0x49df3e[_0x5f9ea8>>>0x10&0xff]^_0x2aab21[_0x83a482>>>0x8&0xff]^_0x4c647a[_0x490c1c&0xff]^_0x20947d[_0x4514d8++],_0x160512=_0xabd700[_0x5f9ea8>>>0x18]^_0x49df3e[_0x83a482>>>0x10&0xff]^_0x2aab21[_0x490c1c>>>0x8&0xff]^_0x4c647a[_0x3ffe98&0xff]^_0x20947d[_0x4514d8++];_0x83a482=_0x3be854,_0x490c1c=_0x4fec52,_0x3ffe98=_0x1f32da,_0x5f9ea8=_0x160512;}var _0x3be854=(_0x4edf08[_0x83a482>>>0x18]<<0x18|_0x4edf08[_0x490c1c>>>0x10&0xff]<<0x10|_0x4edf08[_0x3ffe98>>>0x8&0xff]<<0x8|_0x4edf08[_0x5f9ea8&0xff])^_0x20947d[_0x4514d8++],_0x4fec52=(_0x4edf08[_0x490c1c>>>0x18]<<0x18|_0x4edf08[_0x3ffe98>>>0x10&0xff]<<0x10|_0x4edf08[_0x5f9ea8>>>0x8&0xff]<<0x8|_0x4edf08[_0x83a482&0xff])^_0x20947d[_0x4514d8++],_0x1f32da=(_0x4edf08[_0x3ffe98>>>0x18]<<0x18|_0x4edf08[_0x5f9ea8>>>0x10&0xff]<<0x10|_0x4edf08[_0x83a482>>>0x8&0xff]<<0x8|_0x4edf08[_0x490c1c&0xff])^_0x20947d[_0x4514d8++],_0x160512=(_0x4edf08[_0x5f9ea8>>>0x18]<<0x18|_0x4edf08[_0x83a482>>>0x10&0xff]<<0x10|_0x4edf08[_0x490c1c>>>0x8&0xff]<<0x8|_0x4edf08[_0x3ffe98&0xff])^_0x20947d[_0x4514d8++];_0x4e269e[_0x52a485]=_0x3be854,_0x4e269e[_0x52a485+0x1]=_0x4fec52,_0x4e269e[_0x52a485+0x2]=_0x1f32da,_0x4e269e[_0x52a485+0x3]=_0x160512;},'keySize':0x100/0x20});_0x27d911[_0x4a1855(0x306)]=_0x4dc0a6[_0x4a1855(0x562)](_0x17c884);}()),_0x35b849[_0xe02a22(0x306)];}));}(fe)),fe[_0x28463b(0x2aa)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x3b59ab=_0x38cf52;return rt||(rt=0x1,function(_0x37320a,_0x1a197d){(function(_0x4c75dc,_0x5cbd80){var _0x4709c6=_0x20ff;_0x37320a[_0x4709c6(0x2aa)]=_0x5cbd80(Q());}(Fi,function(_0x4d408a){var _0xdbdb2e=_0x20ff;return _0x4d408a[_0xdbdb2e(0x570)][_0xdbdb2e(0x4af)];}));}(be)),be[_0x3b59ab(0x2aa)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x38cf52(0x2aa)],st;function Ki(){var _0x107adf=_0x38cf52;return st||(st=0x1,function(_0x9e1cb6,_0x4c51b8){(function(_0x21af32,_0x336659){var _0x312974=_0x20ff;_0x9e1cb6[_0x312974(0x2aa)]=_0x336659(Q());}(Gi,function(_0x2cc270){return(function(){var _0x558a99=_0x20ff;if(typeof ArrayBuffer=='function'){var _0x156d7b=_0x2cc270,_0x2549e4=_0x156d7b['lib'],_0x25408d=_0x2549e4['WordArray'],_0x594779=_0x25408d['init'],_0x299b2e=_0x25408d[_0x558a99(0x2b6)]=function(_0x550ee8){var _0x6515a8=_0x558a99;if(_0x550ee8 instanceof ArrayBuffer&&(_0x550ee8=new Uint8Array(_0x550ee8)),(_0x550ee8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x550ee8 instanceof Uint8ClampedArray||_0x550ee8 instanceof Int16Array||_0x550ee8 instanceof Uint16Array||_0x550ee8 instanceof Int32Array||_0x550ee8 instanceof Uint32Array||_0x550ee8 instanceof Float32Array||_0x550ee8 instanceof Float64Array)&&(_0x550ee8=new Uint8Array(_0x550ee8['buffer'],_0x550ee8[_0x6515a8(0x4ac)],_0x550ee8[_0x6515a8(0x440)])),_0x550ee8 instanceof Uint8Array){for(var _0x4f9141=_0x550ee8[_0x6515a8(0x440)],_0x458c4f=[],_0x3f12cc=0x0;_0x3f12cc<_0x4f9141;_0x3f12cc++)_0x458c4f[_0x3f12cc>>>0x2]|=_0x550ee8[_0x3f12cc]<<0x18-_0x3f12cc%0x4*0x8;_0x594779[_0x6515a8(0x508)](this,_0x458c4f,_0x4f9141);}else _0x594779[_0x6515a8(0x30c)](this,arguments);};_0x299b2e['prototype']=_0x25408d;}}()),_0x2cc270['lib']['WordArray'];}));}(Re)),Re[_0x107adf(0x2aa)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x38cf52(0x2aa)],ot;function Xi(){var _0x4bc43e=_0x38cf52;return ot||(ot=0x1,function(_0x38d0af,_0x134dee){(function(_0x23af5c,_0x4b4aa8,_0x13426c){var _0x245b56=_0x20ff;_0x38d0af[_0x245b56(0x2aa)]=_0x4b4aa8(Q(),Dt());}(Ji,function(_0xb3c06e){var _0x202836=_0x20ff;return _0xb3c06e['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0xb3c06e[_0x202836(0x4f7)][_0x202836(0x223)];}));}(Oe)),Oe[_0x4bc43e(0x2aa)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x414332,_0x264211){var _0x34a681=_0x38cf52;const _0x324626=_0x264211-_0x414332[_0x34a681(0x4ea)]%_0x264211,_0x410a65=String['fromCharCode'](_0x324626)[_0x34a681(0x547)](_0x324626);return _0x414332+_0x410a65;}function tn(_0x5e430d,_0x4177bb){var _0x28d79c=_0x38cf52;const _0xf6415a=zi[_0x28d79c(0x567)](0x10),_0x2bdf42=en(_0x5e430d,0x10),_0x2d110c=ji[_0x28d79c(0x2b3)](Yi['parse'](_0x2bdf42),nt[_0x28d79c(0x447)](_0x4177bb),{'iv':_0xf6415a,'padding':Qi});return _0xf6415a[_0x28d79c(0x34b)](_0x2d110c[_0x28d79c(0x360)])['toString'](nt);}function _0x20ff(_0x2df4af,_0x5cce62){var _0x37e52b=_0x37e5();return _0x20ff=function(_0x20ff97,_0x5387e5){_0x20ff97=_0x20ff97-0x1ee;var _0x265930=_0x37e52b[_0x20ff97];return _0x265930;},_0x20ff(_0x2df4af,_0x5cce62);}function nn(){var _0x33b16f=_0x38cf52;const _0x16b449=Lt['getGlobalObject']()[_0x33b16f(0x52c)];if(_0x16b449){const _0x473ca9={'time':Math['floor'](Date[_0x33b16f(0x551)]()/0x3e8),'domain':location[_0x33b16f(0x50e)]};return tn(JSON[_0x33b16f(0x4a5)](_0x473ca9),_0x16b449);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x39d1c7,_0x2262fd,_0x33881a,_0x12c719)=>{for(var _0x1ebd42=_0x12c719>0x1?void 0x0:_0x12c719?rn(_0x2262fd,_0x33881a):_0x2262fd,_0x45a230=_0x39d1c7['length']-0x1,_0x52694a;_0x45a230>=0x0;_0x45a230--)(_0x52694a=_0x39d1c7[_0x45a230])&&(_0x1ebd42=_0x52694a(_0x1ebd42)||_0x1ebd42);return _0x1ebd42;},on=(_0x20161f,_0x287edc)=>(_0x1218b9,_0x5196bb)=>_0x287edc(_0x1218b9,_0x5196bb,_0x20161f);let Ne=class{constructor(_0x5dada1){var _0x16d8aa=_0x38cf52;this[_0x16d8aa(0x4df)]=_0x5dada1,this[_0x16d8aa(0x38a)]();}[_0x38cf52(0x38a)](){var _0x5dca83=_0x38cf52;this[_0x5dca83(0x4df)][_0x5dca83(0x4cc)]({'interceptor':(_0x3564b1,_0x2c7f34)=>{var _0x4c9d8d=_0x5dca83;const _0x13485d=_0x3564b1[_0x4c9d8d(0x566)],_0x483fe7=nn();return _0x483fe7&&_0x13485d['set'](_0x4c9d8d(0x560),_0x483fe7),_0x2c7f34(_0x3564b1);}});}};Ne=sn([on(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)]))],Ne);var an=Object[_0x38cf52(0x28a)],cn=(_0xbc9b80,_0x5b95c5,_0x4d576f,_0x23e64a)=>{for(var _0x4e6e78=_0x23e64a>0x1?void 0x0:_0x23e64a?an(_0x5b95c5,_0x4d576f):_0x5b95c5,_0x1d161f=_0xbc9b80['length']-0x1,_0x33e2f5;_0x1d161f>=0x0;_0x1d161f--)(_0x33e2f5=_0xbc9b80[_0x1d161f])&&(_0x4e6e78=_0x33e2f5(_0x4e6e78)||_0x4e6e78);return _0x4e6e78;},Le=(_0x1b9c18,_0x21c209)=>(_0x468865,_0x274740)=>_0x21c209(_0x468865,_0x274740,_0x1b9c18);exports[_0x38cf52(0x2a5)]=class extends a[_0x38cf52(0x374)]{constructor(_0x13b712,_0x3b1a8b,_0xdd1140){var _0x307067=_0x38cf52;super(),A(this,'_unitInfo$',new $[(_0x307067(0x21e))](null)),A(this,_0x307067(0x439),this['_unitInfo$'][_0x307067(0x2ed)]()),(this[_0x307067(0x346)]=_0x13b712,this[_0x307067(0x40e)]=_0x3b1a8b,this[_0x307067(0x4ed)]=_0xdd1140);}async['loadUnitOfRevision'](_0x96817b,_0x5d1ba0,_0x5ebda2){var _0x1818f3=_0x38cf52;this['_unitInfo$'][_0x1818f3(0x546)]({'unitId':_0x96817b,'type':_0x5d1ba0});let _0x3c6030=null;switch(_0x5d1ba0){case J[_0x1818f3(0x3ec)]:{_0x3c6030=await this[_0x1818f3(0x40e)][_0x1818f3(0x541)](_0x96817b,_0x5ebda2);break;}case J['UNIVER_DOC']:{_0x3c6030=await this[_0x1818f3(0x40e)][_0x1818f3(0x3e4)](_0x96817b,_0x5ebda2);break;}default:{this[_0x1818f3(0x346)][_0x1818f3(0x373)]('[DataLoaderService]',_0x1818f3(0x521));break;}}return _0x3c6030;}async[_0x38cf52(0x37d)](_0xa82ff8,_0x556843,_0x4cf979){var _0x10b7fa=_0x38cf52,_0x2a595d;this[_0x10b7fa(0x4e5)][_0x10b7fa(0x546)]({'unitId':_0xa82ff8,'type':_0x556843,'subUnitId':_0x4cf979});let _0x696ce1=0x0;const _0x5587e3=await((_0x2a595d=this[_0x10b7fa(0x4ed)])==null?void 0x0:_0x2a595d['loadOfflineData'](_0xa82ff8));return _0x5587e3&&(_0x5587e3['awaitingChangeset']||_0x5587e3[_0x10b7fa(0x233)][_0x10b7fa(0x4ea)]!==0x0)&&(_0x696ce1=_0x5587e3[_0x10b7fa(0x368)]),_0x696ce1===0x0&&this[_0x10b7fa(0x346)][_0x10b7fa(0x2de)](_0x10b7fa(0x2d6),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x10b7fa(0x463)](_0xa82ff8,_0x556843,_0x696ce1);}},exports[_0x38cf52(0x2a5)]=cn([Le(0x0,a[_0x38cf52(0x20c)]),Le(0x1,a[_0x38cf52(0x54a)](p['SnapshotService'])),Le(0x2,a[_0x38cf52(0x383)](q))],exports['DataLoaderService']);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x5030a7,_0x3f2908,_0x35ef0c,_0x56a5fb)=>{for(var _0x536610=_0x56a5fb>0x1?void 0x0:_0x56a5fb?hn(_0x3f2908,_0x35ef0c):_0x3f2908,_0x934ddc=_0x5030a7['length']-0x1,_0x54d3fe;_0x934ddc>=0x0;_0x934ddc--)(_0x54d3fe=_0x5030a7[_0x934ddc])&&(_0x536610=_0x54d3fe(_0x536610)||_0x536610);return _0x536610;},we=(_0x3c48a4,_0x320f6c)=>(_0x13369c,_0x33a50f)=>_0x320f6c(_0x13369c,_0x33a50f,_0x3c48a4);const ln=[_0x38cf52(0x57a),_0x38cf52(0x3b5),'image/jpg','image/gif',_0x38cf52(0x51a)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x38cf52(0x490),Sn=_0x38cf52(0x548),fn=_0x38cf52(0x27c);exports[_0x38cf52(0x333)]=class{constructor(_0x25f6d0,_0x5b9b2b,_0x423960){var _0x138f41=_0x38cf52;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x138f41(0x3ef))]()),A(this,_0x138f41(0x3b8),this[_0x138f41(0x207)]),A(this,_0x138f41(0x2dd),new Map()),(this['_httpService']=_0x25f6d0,this[_0x138f41(0x515)]=_0x5b9b2b,this[_0x138f41(0x4fb)]=_0x423960);}[_0x38cf52(0x535)](_0x48159a){var _0x22e968=_0x38cf52;this[_0x22e968(0x46d)]=_0x48159a,this[_0x22e968(0x207)][_0x22e968(0x546)](_0x48159a);}[_0x38cf52(0x36c)](_0x147ce2,_0x122585){var _0x417750=_0x38cf52;if(_0x122585===z[_0x417750(0x39b)][_0x417750(0x320)]){const _0x32423c=new Image();return _0x32423c['src']=_0x147ce2,_0x32423c;}return this[_0x417750(0x2dd)][_0x417750(0x47a)](_0x147ce2);}[_0x38cf52(0x2a1)](_0x29b309,_0xab6967,_0x4d60f9){var _0xcef372=_0x38cf52;_0xab6967===z[_0xcef372(0x39b)][_0xcef372(0x320)]||_0x4d60f9==null||this['_imageSourceCache'][_0xcef372(0x31c)](_0x29b309,_0x4d60f9);}async['getImage'](_0x54ad23){var _0x51a519=_0x38cf52;try{const _0x2a73bf=this[_0x51a519(0x2a3)](this[_0x51a519(0x496)](),''+_0x54ad23),_0x3f68a5=(await this[_0x51a519(0x4df)][_0x51a519(0x47a)](_0x2a73bf))[_0x51a519(0x3a9)];if(_0x3f68a5[_0x51a519(0x373)]&&_0x3f68a5[_0x51a519(0x373)][_0x51a519(0x4f8)]===gt['OK']){const _0x507157=new URL(_0x3f68a5[_0x51a519(0x2ab)],this[_0x51a519(0x27b)]())['toString']();return Promise[_0x51a519(0x30e)](_0x507157);}return Promise[_0x51a519(0x3fa)](_0x3f68a5[_0x51a519(0x373)]);}catch(_0x344ebb){return Promise[_0x51a519(0x3fa)](_0x344ebb);}}async[_0x38cf52(0x21b)](_0x562e48){var _0x290cd9=_0x38cf52;let _0x11ba92='';if(!ln[_0x290cd9(0x2f0)](_0x562e48[_0x290cd9(0x1f5)]))return this[_0x290cd9(0x459)](),Promise['reject'](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x23d)]));if(_0x562e48['size']>un)return this[_0x290cd9(0x459)](),Promise[_0x290cd9(0x3fa)](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x23a)]));try{const _0x209d40=new FormData();_0x209d40['append'](_0x290cd9(0x411),_0x562e48);const _0x5059d4=this['_univerInstanceService'][_0x290cd9(0x4a8)](),_0x39c506=_0x5059d4==null?void 0x0:_0x5059d4['getUnitId']();if(!_0x39c506)throw new Error(_0x290cd9(0x405));const _0x5245c9=this[_0x290cd9(0x498)]()+_0x290cd9(0x23c)+_0x562e48[_0x290cd9(0x42b)][_0x290cd9(0x2da)]()+_0x290cd9(0x40f)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x39c506),_0x4eab76={'body':_0x209d40},_0x50d048=(await this[_0x290cd9(0x4df)][_0x290cd9(0x49e)](_0x5245c9,_0x4eab76))['body'];if(typeof _0x50d048[_0x290cd9(0x344)]!=_0x290cd9(0x31a))return this['_decreaseWaiting'](),Promise[_0x290cd9(0x3fa)](new Error(z[_0x290cd9(0x34f)]['ERROR_IMAGE']));_0x11ba92=_0x50d048[_0x290cd9(0x344)];}catch{return this[_0x290cd9(0x459)](),Promise['reject'](new Error(z[_0x290cd9(0x34f)][_0x290cd9(0x417)]));}return new Promise((_0x49b373,_0x400216)=>{var _0x10a971=_0x290cd9;const _0x4392e1=new FileReader();_0x4392e1[_0x10a971(0x2fa)](_0x562e48),_0x4392e1[_0x10a971(0x302)]=_0x438b6a=>{var _0x3972e3=_0x10a971,_0x3f2032;const _0x167683=(_0x3f2032=_0x438b6a['target'])==null?void 0x0:_0x3f2032['result'];if(_0x167683==null){this[_0x3972e3(0x459)](),_0x400216(new Error(z['ImageUploadStatusType'][_0x3972e3(0x417)]));return;}const _0x35260a=a[_0x3972e3(0x531)][_0x3972e3(0x3ac)](0x6);_0x49b373({'imageId':_0x35260a,'imageSourceType':z['ImageSourceType'][_0x3972e3(0x55f)],'source':_0x11ba92,'base64Cache':_0x167683,'status':z[_0x3972e3(0x34f)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x38cf52(0x498)](){var _0x12297f=_0x38cf52,_0x486f66,_0x2bbf63;const _0x3bc28d=this[_0x12297f(0x515)][_0x12297f(0x2be)](dn),_0x407250=this['_configService'][_0x12297f(0x2be)](G);return(_0x2bbf63=(_0x486f66=_0x407250==null?void 0x0:_0x407250[_0x12297f(0x524)])!=null?_0x486f66:_0x3bc28d)!=null?_0x2bbf63:vn;}[_0x38cf52(0x496)](){var _0x55ffb7=_0x38cf52,_0x37d4f4,_0x1b86b5;const _0x505d97=this[_0x55ffb7(0x515)][_0x55ffb7(0x2be)](Sn),_0x290f32=this[_0x55ffb7(0x515)][_0x55ffb7(0x2be)](G);return(_0x1b86b5=(_0x37d4f4=_0x290f32==null?void 0x0:_0x290f32[_0x55ffb7(0x3da)])!=null?_0x37d4f4:_0x505d97)!=null?_0x1b86b5:fn;}['_getDownloadEndpointURL'](){var _0x137bce=_0x38cf52,_0x9e762e;const _0x76d9ef=this[_0x137bce(0x515)]['getConfig'](G);return(_0x9e762e=_0x76d9ef==null?void 0x0:_0x76d9ef[_0x137bce(0x503)])!=null?_0x9e762e:location[_0x137bce(0x3e5)];}['_replaceFileID'](_0x13690d,_0x3f60ff){var _0x30f6a6=_0x38cf52;return _0x13690d[_0x30f6a6(0x552)](_0x30f6a6(0x509),_0x3f60ff);}['_decreaseWaiting'](){var _0x10d617=_0x38cf52;this[_0x10d617(0x46d)]-=0x1,this[_0x10d617(0x207)][_0x10d617(0x546)](this[_0x10d617(0x46d)]);}},exports[_0x38cf52(0x333)]=_n([we(0x0,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)])),we(0x1,a['IConfigService']),we(0x2,a[_0x38cf52(0x54a)](a['IUniverInstanceService']))],exports[_0x38cf52(0x333)]);function _0x37e5(){var _0x211b4d=['[UniverCollaborationClientPlugin]','_roomCreated$','LIVESHARE_FETCH_OPERATIONS','unitInfo$','isPermissionRej','UNDEFINED','DependentOn','putCollaborators','complete','batchAllowed','byteLength','CollaborationSocketService','MemberService','HMAC','Undefined','infoRsp','_collaborationUIEventService','parse','ALREADY_EXISTS','_config','WorkbookEditablePermission','_getCtorByUniverType','UNIVER_COLLABORATION_CLIENT_PLUGIN','ceil','_clearCollaborationTimeoutTimer','TOO_MANY_REQUESTS','UniverCollaborationPlugin','fetchMiss','list','waitForRoom$','csShouldRetryEvent','createSocket','getCollabEntity$','_status$','appendMutation','_decreaseWaiting','_injector','_rescheduleHeartbeat','_eventService','CLOSE_ROOM','_getCurrentRevision','objectID','getTypeOfUnitAdded$','onTransformState','PERMISSION_DENIED','loadUnitOfRevision','ONLINE','_map','csRejEvent','cmd','LICENSE_IMPORT_SIZE_EXCEEDED','location','collaMsg','range','_awaitingChangeset','_waitCount','_commandService','LOCAL_CACHE_INTERVAL','reqId','_transformService','CBC','EMAIL_HAS_BEEN_BOUND','_collaborationSessionService','map','JOIN','onRemoteChangeset','_isPermissionRej','MSG_FOR_ERROR','get','lib','reduce','onTransformIME','sid','_clearUndo','_state','compute','_event$','updateOfflineData','delete','_emitMembers','_schedule','collaboration_new_changeset','socket\x20open.','UnitStatus','SUBMIT_CHANGESET_TIMEOUT','_throwTelemetryCollaborationNewChangeset','getRoom','_retryConnectingTimer','pluginName','JOIN_ROOM_NOT_EXISTS','/universer-api/stream/file/upload','/universer-api/user/session-ticket','fromCollab','createIdentifier','/collaborator','closeSession','_getSignURL','IDLE','_getUploadFileURL','_keyPriorReset','setShowComponents','ENSURE_SNAPSHOT_EXECUTION','forEach','SyncedState','post','3984903LRhKZx','_onMessage','enableSingleActiveInstanceLock','LOCAL_CACHE_INTERVAL_KEY','awaiting','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','stringify','has','_handlerCallback','getFocusedUnit','error$','requireSession','clone','byteOffset','MUTATION','transformUndoRedo','Utf8','values','NO_OTHER_CLIENTS_EDITING','conflict','getInterceptPoints','_startTelemetryCollaborationNewChangeset','LIVESHARE_REQUEST_HOST','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','OPTIONAL','onCommentUpdate','createEncryptor','LocalUndoRedoService','_initDependencies','LICENSE_DISTRO_REJECTED','_toggleOffline','capture','session.room-full','CommandType','onSendChangeset','randomBytes','univer-pro.collaboration-client.network-condition.service','2584792NCVOYb','session.room-cnt-exceeds','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_socketReady','collabWebSocketUrl','_iv','univer-pro.collaboration-client-socket-service','registerHTTPInterceptor','createDecryptor','LocaleService','onLocalMutation','Base','enableCollaboration','kdf','_append','session','_clearRedo','_onRemoteChangeset','shareReplay','_onRemoteACK','Plugin','liveShareNewHost','update','_undoRedoService','_onFetchMissResult','CommentService','_httpService','_onLocalMutation','_revisionService','_reverseMap','touchDependencies','textEncoder','_unitInfo$','roomInfos','_xformMode','UnitSnapshot','[FetchMissState]','length','online$','JOINING','_localCacheService','_hash','_transformStack','updatePermissionObjEvent','_remoteChangesetQueue','changesets','_incrementRevisionNumber','selections','CompressMutationService','pending','pad','code','_sessionStatus$','prototype','_univerInstanceService','session.room-permission-denied','/unit/','11HQUCyV','getUnitOnRev','_stopTelemetryCollaborationNewChangeset','params','mixIn','downloadEndpointUrl','PERMISSION_REJ','duration','snapshot','MD5','call','{fileID}','_userManagerService','_acknowledgedAwaitingChangeset','pauseCollaboration','SheetCollaborationEntity','hostname','JOIN_ROOM_FAILED','awaiting_with_pending','_entities','Hasher','updateCollaborator','removeMember','_configService','pipe','encodeURIComponent','BlockCipher','Disposable','image/bmp','isTransformMutationsWithChangesetFailure','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','14SUpnjS','_telemetryService','USERS_ENTER','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ILocalCacheService','_scheduleCompleteTimestamp','uploadFileServerUrl','_getUndoStack','sigBytes','_key','_resendTimeout','LIVESHARE_NEW_HOST','/object/','override','__Key__','dispose','univer-pro.collaboration-client.single-active-unit-service','entries','_permissionService','Tools','COLLAB_WEB_SOCKET_URL_KEY','clear','save\x20fail\x20reason\x20is\x20','setWaitCount','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','padding','getUnitType','_iKey','_substituteUndoStack','cfg','_clearRetryConnectingTimer','FAIL','onTransformRemoteChangesetByIMECache','fromCharCode','USER_NOT_INVITED_CODE','loadSheet','href','charAt','_syncEditingCollabCursor','_instanceService','next','repeat','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','Inject','ThresholdInterceptorFactory','disposeWithMe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_snapshotServerService','getCurrentUser','_listenToNetworkCondition','now','replace','function','joinEvent','socketService','enableAuthServer','_initMergeInterceptor','UNIVER_PROJECT','_unitID','CollaborationSessionService','_transformSelections','[OfflineState]:\x20received\x20acknowledgement.','_transformUndoredo','OFFLINE','UUID','x-univer-host','_executeRemoteChangeset','_createHelper','SNAPSHOT_SERVER_URL_KEY','awaitingChangeset','_createInitialStateImpl','headers','random','CollaborationUIEventId','UNRECOGNIZED','LICENSE_MAX_UNITS_EXCEEDED','deleteCollaborator','_transformIMECache','COMPLETION_FINISHED','concatMap','finalize','enc','HEARTBEAT_INTERVAL_KEY','_resendWithTimeout','members$','b64DecodeUnicode','LOGIN_URL_KEY','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','POST','listRoles','COMPRESS_MUTATION_SEND','image/png','_sendingTimer','updateSnapshot','PERSON','DisposableCollection','IMentionIOService','key','charCodeAt','Could\x20not\x20dynamically\x20require\x20\x22','type','synced','[CollaborationEntity]','onStarting','Rectangle','/universer-api/oidc/authpage','_submitChangeset','_resendTimer','RichTextEditingMutation','getMemberID','_createHandler','SOCKET_FAILED','HEARTBEAT_INTERVAL','_tryEnsureSocket','CipherParams','userID','textRanges','_createSocket','_change$','APPLY_DUPLICATED','[SyncedState]:\x20received\x20rejection.','_getLoginPath','getWorkbookSelections','ILogService','WECHAT_HAS_BEEN_BOUND','COLLAB_SUBMIT_CHANGESET_URL','localCacheService','initWorkbookPermissionChange','_removeRoom','_socketService','updateMember','EvpKDF','_nDataBytes','_disableEditing','abs','MOBILE_HAS_BEEN_BOUND','_lockTransition','CollaborationEntity','saveImage','updatePermissionPoint','onCommandExecuted','BehaviorSubject','createInstance','NEW_CHANGESETS','CHANGESET_REJ','YUUMI_ALL_TABLES_IS_INVALID','NoPadding','_exhaustRemoteChangesetQueue','_initUnitPermissionChange','unpad','LICENSE_EXPORT_SIZE_EXCEEDED','PSEUDO_FETCH_MISSING_RESULT','INTERNAL_ERROR','shouldCloseConn','$super','iterations','sequenceExecute','JOIN_ROOM_FULL','_doFinalize','IConfigService','_members','transformMutationsWithChangeset','mutations','isInternalEditorID','SNAPSHOT_URL_KEY','startsWith','/rev/','APPLY_REVISION_CONFILICT','hasOwnProperty','ERROR_EXCEED_SIZE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','?size=','ERROR_IMAGE_TYPE','Injector','IUniverInstanceService','onTransformRemoteChangesetByStateCache','_shouldReportTelemetry','filter','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UPDATE_PERMISSION_OBJ','_singleActiveUnitService','People','newCsEvent','PendingState','[PendingState]:\x20received\x20rejection.','SEND_CHANGESET_TIMEOUT','socket$','_getSendChangesetTimeout','words','_init','unitId','getValue','_clearLocalCache','format','snapshotServerUrl','catch','MentionIoHttpService','SerializableCipher','unit-cache-','[OfflineState]:\x20received\x20changeset.','loadOfflineData','BlockCipherMode','_pendingMutations','OTHER_CLIENT_EDITING','mode','_onRemoteRejected','formatter','FetchingMissState','send','_redoStacks','_localeService','_process','objectType','subUnitId','baseRev','ICollaborationSocketService','UNKNOWN_CMD','CollaborationUIEventService','startTime','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decrypt','APPLY_REJECT','_doCryptBlock','unitID','toggleOnline','onMissedChangesetFetched','ICommandService','_updateState','5753650uIHrqO','/-/object/-/batch_allowed','getDeserializedSheetBlock','session.room-not-exists','PENDING','toDisposable','_getDownloadEndpointURL','/universer-api/file/{fileID}/sign-url','disableLocalCache','editingUnit','[CollaborationSession]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onCombEvent','PasswordBasedCipher','\x20to\x20','_sessions','WordArray','_registerDependencies','CollaborativeUndoRedoService','execute','max','getOwnPropertyDescriptor','/resources','_clearHeartbeatTimer','getAllMembers','state$','collabSubmitChangesetUrl','INVITE_CODE_HAS_BEEN_UES','state','YUUMI_ASYNCIO_CANCELLED','ITransformService','NOT_FOUND','_ENC_XFORM_MODE','defineProperty','refreshPermission','encryptBlock','uuidv4','m2Prime','_getRedoStack','_keySchedule','YUUMI_AI_RUN_FAILED','onRemoteRej','interceptor','\x0aCurrent:\x20','addImageSourceCache','confirm','_replaceFileID','localeService','DataLoaderService','HmacSHA1','/allowed','getMember','CollaborationController','exports','url','fetchMissingChangesets','extend','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_mode','_invKeySchedule','open$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','encrypt','AUTHZ_URL_KEY','_commentUpdate$','init','originalMeta','UNAUTHENTICATED','ITelemetryService','_onRemoteRetry','collaboratorID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MergeInterceptorFactory','getConfig','SYNCED','getCurrentRevOfUnit','_fetchMissChangesets','ivSize','updateCursorEvent','HttpExport','_transformStateCache','copyFileMeta','_cipher','isTransformChangesetsSuccess','transformStack\x20failed!','sheets','Workbook','INVALID_ARGUMENT','responseType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_sender','collaborators','getLocalCacheKey','getSnapshotAPIPath','delay','[CollaborationUndoRedoService]','YUUMI_SUBSCRIPTION_NOT_FOUND','[DataLoaderService]','UNIVER_DOC','join','USERS_LEAVE','toString','take','_state$','_imageSourceCache','debug','_joinRoom','_onUserLeave','Pkcs7','_collaborationTimeoutTimer','Failed\x20to\x20update\x20permission\x20point','put','parseChangesetToProtocol','SnapshotServerOverHTTPService','587420PPyMGQ','_memberService','onTransformSelections','SNAPSHOT_INVALID_SNAPSHOT','memberID','Module','asObservable','findIndex','UNIVER_SLIDE','includes','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','HmacMD5','_createInitialState','_parse','SNAPSHOT_HAS_BEEN_REMOVED','saveSheetBlock','hasher','reconnect','readAsDataURL','AwaitingState','Malformed\x20UTF-8\x20data','onMissingChangesets','getCurrentSelections','Encryptor','CONFLICT','revision','onload','CHANGESET_ACK','_changesetReqId','UPDATE_CURSOR','AES','_toggleOnline','ISnapshotServerService','keySize','[CollaborationSessionService]:\x20socket\x20error','resend','apply','setCurrentUser','resolve','IContextService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','event$','sessionStatus$','UNIVER_UNKNOWN','UniverCollaborationClientPlugin','toggleOffline','SheetPermissionInitController','HEARTBEAT_TIMEOUT_KEY','SUBMIT_CHANGESET','139863yqqRbV','string','_unlockTransition','set','_getAPIPrefixPath','_members$','indexOf','BASE64','3084tndSnh','CHANGESET_REVISION_CONFILICT','stopTime','IPermissionService','objects','dispose$','OfflineState','FETCH_MISS','SHA1','MentionType','UniverNetworkPlugin','/-/object/list','getUnitId','YUUMI_UNABLE_LOAD_URL','reset','create','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isArray','CollaborationImageIoService','_waitForHeartbeatResponse','_compressMutationService','_minBufferSize','FETCH_MISSING','deserializeToCombResponse','_candidateSocket','_timeoutTimer','HTTPRequest','parseProtocolChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','_hasher','/universer-api/snapshot/','Decryptor','requestParams','slice','telemetry\x20info\x20is\x20not\x20initialized','FileId','5QRbdQM','_logService','_DEC_XFORM_MODE','AuthzIoHttpService','RECV','INetworkConditionService','concat','INVALID_INVITE_CODE','[CollaborationSessionService]','_checkMissing','ImageUploadStatusType','_updateStatus','JOIN_ROOM_PERMISSION_DENIED','_prevBlock','_onConnectionFailed','_doCreateSocket','workbook','sin','blockSize','crypto','onSyncEditingCollabCursor','_transformRemoteChangesetByIMECache','_data','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_applyRemoteChangeset','getTypeOfUnitDisposed$','INGEST','ciphertext','onStateChange','unsubscribe','saveSnapshot','_HTTPService','IAuthzIoService','every','equals','rev','entityInit$','processBlock','_clearScheduledTask','getImageSourceCache','CHANGESET_SHOULD_RETRY','_getAPIPrefix','subscribe','_collaborationPaused','splice','SheetTransformSelectionsService','error','RxDisposable','retryConnectingInterval','auth.needGotoLoginAlert','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','_handler','_socket$','_clearTimeoutTimer','JSONX','loadUnit','_tryReconnect','salt','HttpImport','status','LOGIN_FAILED','Optional','__esModule','transformChangesets','/universer-api/snapshot','authzUrl','from','c1Prime','_initRequestHeader','ConflictState','\x0aAfter:\x20','UNKNOWN_CODE','_onJoinRoomEvent','UserManagerService','msCrypto','unknown','_telemetryInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Base64','EMAIL_VERIFY_CODE_MISMATCH','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UserProfileImg','push','LEAVE','decryptBlock','ImageSourceType','eventID','connection\x20error','InsertSheetMutation','_networkConditionService','_changesetSessionId','message$','socket\x20close','_sendHeartbeat','INVITE_CODE_REQUIRED','sessionStatus','_transitionLocked','roles','firstValueFrom','body','RevisionService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','generateRandomId','AwaitingWithPendingState','find','ReplaySubject','getActiveSheet','DocCollaborationEntity','HTTPService','method','session.join-failed','image/jpeg','/universer-api/comb','add','change$','onRemoteAck','[CollaborationState]:\x20apply\x20error!','COLLAB_SUBMIT_CHANGESET_URL_KEY','data','onRemoteRetry','sendChangesetTimeout','floor','getSheetBlock','algo','PY_RUNTIME_SCRIPT_ERROR','EmptyMutation','_onRecvEvent','/new_changes','getRandomValues','_retryCount','_entityInit$','status$','BufferedBlockAlgorithm','offline','SetSelectionsOperation','getTime','mergeOverrideWithDependencies','HEARTBEAT_TIMEOUT','_nRounds','CONNECTOR_DATA_TOO_LARGE','_startCollaboration','_oKey','symbol','__creator','_sheetTransformSelectionsService','_updateLocalCache','_sendHeartbeatTimer','_onOffline','signUrlServerUrl','min','close','members','SOCKET_FAILED_RETRY','OpenSSL','_onUserJoin','isTransformMutationsWithChangesetSuccess','onlyLocal','setConfig','loadDoc','origin','_substituteRedoStack','transformSelections','_socketMessageSubscription','StreamCipher','Hex','CollaborationSession','UNIVER_SHEET','_roomMembers','Cipher','Subject','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','withCredentials','fetch_missing','AWAITING','collaboration-client.config','_onConflict','UNISCRIPT_RUN','?url=','leaveEvent','uniscriptRunEvent','reject','YUUMI_RATE_OVER_LIMIT','takeUntil','compose','ws://127.0.0.1:8000/universer-api/comb/connect','SessionStatus','allowed','CollaborationEvent','then','_showConflictNotification','_queuedRemoteChangesets','unitId\x20is\x20not\x20found','getSheetId','_type','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_createHmacHelper','_replayCachedMutations','routeKey','APPLY_PERMISSION_DENIED','_snapshotService','&source=','Error\x20on\x20receiving\x20event','file','HELLO','not_collab','216154zhReGg','/object','clamp','ERROR_IMAGE','executeCommand','fetchThroughInterceptors','getCollabEntity','collaboration-client.local-cache-service','APPLY_NON_SEQUENTIAL_REVISION','subject','3332LiJmsO','_commentService','_doReset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','YUUMI_CONNECTOR_URL_NOT_FOUND','mapDocumentTypeToUniverType','saveChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CollaborationStatus','emitEvent','_socket','merge','MOBILE_VERIFY_CODE_MISMATCH','size','_onConnectionOpen','name','UniverInstanceType','/block/','IUndoRedoService','actions','HEARTBEAT','readInt32LE','LIVESHARE_OPERATION','commentUpdate$'];_0x37e5=function(){return _0x211b4d;};return _0x37e5();}var In=Object[_0x38cf52(0x28a)],pn=(_0x3904b6,_0x218eae,_0x4b9f7d,_0x573680)=>{var _0x2b206a=_0x38cf52;for(var _0x241c45=_0x573680>0x1?void 0x0:_0x573680?In(_0x218eae,_0x4b9f7d):_0x218eae,_0x5498b4=_0x3904b6[_0x2b206a(0x4ea)]-0x1,_0x1a37ab;_0x5498b4>=0x0;_0x5498b4--)(_0x1a37ab=_0x3904b6[_0x5498b4])&&(_0x241c45=_0x1a37ab(_0x241c45)||_0x241c45);return _0x241c45;},at=(_0x13a66c,_0x5d8832)=>(_0x4d1013,_0x21d9e6)=>_0x5d8832(_0x4d1013,_0x21d9e6,_0x13a66c);const gn='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x175ea0,_0x4db646){var _0x1266e1=_0x38cf52;this[_0x1266e1(0x515)]=_0x175ea0,this[_0x1266e1(0x364)]=_0x4db646;}[_0x38cf52(0x31d)](){var _0x220cb7=_0x38cf52,_0x4cdf40,_0x306f6f;const _0x2074a9=this[_0x220cb7(0x515)][_0x220cb7(0x2be)](Ve),_0x124c24=this[_0x220cb7(0x515)][_0x220cb7(0x2be)](G);return(_0x306f6f=(_0x4cdf40=_0x124c24==null?void 0x0:_0x124c24[_0x220cb7(0x387)])!=null?_0x4cdf40:_0x2074a9)!=null?_0x306f6f:gn;}async['list'](_0x4f8d43){var _0x2752c4=_0x38cf52;const _0x4f0ea5=this['_getAPIPrefixPath']()+_0x2752c4(0x494);return{'list':[{'title':_0x2752c4(0x246),'mentions':(await this[_0x2752c4(0x364)][_0x2752c4(0x47a)](_0x4f0ea5,{'params':{'objectID':_0x4f8d43['unitId'],'unitID':_0x4f8d43[_0x2752c4(0x24f)]}}))[_0x2752c4(0x3a9)][_0x2752c4(0x2d0)]['map'](_0x15c691=>({'objectId':_0x15c691['id'],'name':_0x15c691[_0x2752c4(0x41d)][_0x2752c4(0x42d)],'metadata':{'icon':_0x15c691['subject']['avatar']},'label':_0x15c691['subject']['name'],'objectType':a['MentionType'][_0x2752c4(0x1ef)]})),'metadata':{},'type':a[_0x2752c4(0x32a)][_0x2752c4(0x1ef)]}]};}},exports['MentionIoHttpService']=pn([at(0x0,a['Inject'](a[_0x38cf52(0x230)])),at(0x1,a['Inject'](K['HTTPService']))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x5158bd,_0x4ac957,_0x48bc04,_0x189115)=>{var _0x32f2d4=_0x38cf52;for(var _0x39b320=_0x189115>0x1?void 0x0:_0x189115?En(_0x4ac957,_0x48bc04):_0x4ac957,_0x40bc9e=_0x5158bd[_0x32f2d4(0x4ea)]-0x1,_0x2e2107;_0x40bc9e>=0x0;_0x40bc9e--)(_0x2e2107=_0x5158bd[_0x40bc9e])&&(_0x39b320=_0x2e2107(_0x39b320)||_0x39b320);return _0x39b320;},le=(_0x907264,_0x275220)=>(_0x55c430,_0x9eb36c)=>_0x275220(_0x55c430,_0x9eb36c,_0x907264);let De=class extends a[_0x38cf52(0x374)]{constructor(_0x629bf8,_0x2f1152,_0x93400f,_0x54c836,_0x3df2bb){var _0xe20499=_0x38cf52;super(),this['_injector']=_0x629bf8,this['_univerInstanceService']=_0x2f1152,this['_permissionService']=_0x93400f,this[_0xe20499(0x474)]=_0x54c836,this[_0xe20499(0x446)]=_0x3df2bb,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x5ad40b=_0x38cf52;const _0x17f919=async _0x455f4e=>{var _0x379a8c=_0x20ff;(await this[_0x379a8c(0x474)][_0x379a8c(0x4aa)](_0x455f4e))[_0x379a8c(0x311)][_0x379a8c(0x516)](V[_0x379a8c(0x242)](_0x1d1670=>_0x1d1670['eventID']===p[_0x379a8c(0x401)]['SHOULD_CLOSE_CONN']),V['takeUntil'](this[_0x379a8c(0x326)]))[_0x379a8c(0x36f)](_0x1c7cc2=>{var _0x3f9671=_0x379a8c;const _0x5f58fe=_0x1c7cc2,{reason:_0x1367c7}=_0x5f58fe[_0x3f9671(0x3bc)];this[_0x3f9671(0x446)][_0x3f9671(0x427)]({'id':Z[_0x3f9671(0x45d)],'data':_0x1367c7}),this[_0x3f9671(0x530)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](_0x455f4e)['id'],!0x1),this[_0x3f9671(0x474)]['closeSession'](_0x455f4e);});};$[_0x5ad40b(0x429)](this[_0x5ad40b(0x4fb)]['getTypeOfUnitAdded$'](a[_0x5ad40b(0x42e)][_0x5ad40b(0x3ec)]),this[_0x5ad40b(0x4fb)][_0x5ad40b(0x460)](a[_0x5ad40b(0x42e)]['UNIVER_DOC']))['pipe'](V[_0x5ad40b(0x475)](_0x5ce955=>_0x5ce955[_0x5ad40b(0x32d)]()),V['filter'](_0x1f6bfe=>!a[_0x5ad40b(0x234)](_0x1f6bfe)),V[_0x5ad40b(0x3fc)](this[_0x5ad40b(0x326)]))['subscribe'](_0x2db982=>{_0x17f919(_0x2db982);});}[_0x38cf52(0x225)](){var _0x150b44=_0x38cf52;const _0x44db68=async _0x5b852a=>{var _0x445c4c=_0x20ff;const _0x41a058=await this[_0x445c4c(0x474)][_0x445c4c(0x4aa)](_0x5b852a),_0x1fe736=this['_injector'][_0x445c4c(0x47a)](X[_0x445c4c(0x316)]);_0x41a058[_0x445c4c(0x311)][_0x445c4c(0x516)](V[_0x445c4c(0x242)](_0x2aeaa1=>_0x2aeaa1[_0x445c4c(0x39c)]===p['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),V[_0x445c4c(0x3fc)](this[_0x445c4c(0x326)]))['subscribe'](_0xda8f66=>{var _0x71a1cf=_0x445c4c;const _0x441582=_0xda8f66,{objectId:_0x14c418}=_0x441582['data'];_0x14c418===_0x5b852a?_0x1fe736[_0x71a1cf(0x210)](_0x5b852a):_0x1fe736[_0x71a1cf(0x297)](_0x5b852a,_0x14c418);});};$['merge'](this[_0x150b44(0x4fb)]['getTypeOfUnitAdded$'](a[_0x150b44(0x42e)][_0x150b44(0x3ec)]))[_0x150b44(0x516)](V[_0x150b44(0x475)](_0xdc299d=>_0xdc299d[_0x150b44(0x32d)]()),V['filter'](_0x5d9eab=>!a[_0x150b44(0x234)](_0x5d9eab)),V['takeUntil'](this[_0x150b44(0x326)]))[_0x150b44(0x36f)](_0x4b9f9c=>{_0x44db68(_0x4b9f9c);});}};De=mn([le(0x0,a[_0x38cf52(0x54a)](a[_0x38cf52(0x23e)])),le(0x1,a[_0x38cf52(0x23f)]),le(0x2,a[_0x38cf52(0x324)]),le(0x3,a['Inject'](exports[_0x38cf52(0x55a)])),le(0x4,a[_0x38cf52(0x54a)](ee))],De);var Cn=Object[_0x38cf52(0x28a)],Tn=(_0x940b28,_0x5b0279,_0x5a2b1d,_0x39f318)=>{for(var _0x42e4d9=_0x39f318>0x1?void 0x0:_0x39f318?Cn(_0x5b0279,_0x5a2b1d):_0x5b0279,_0x3e31cc=_0x940b28['length']-0x1,_0x2b5d5c;_0x3e31cc>=0x0;_0x3e31cc--)(_0x2b5d5c=_0x940b28[_0x3e31cc])&&(_0x42e4d9=_0x2b5d5c(_0x42e4d9)||_0x42e4d9);return _0x42e4d9;},ct=(_0x211ac3,_0x1280c4)=>(_0x4a554b,_0x445705)=>_0x1280c4(_0x4a554b,_0x445705,_0x211ac3);exports[_0x38cf52(0x2e6)]=class{constructor(_0x352c3a,_0x199653){this['_configService']=_0x352c3a,this['_httpService']=_0x199653;}async[_0x38cf52(0x4ff)](_0x5d0657,_0x3b72c5){var _0x5bbfa8=_0x38cf52,_0x439c42;const {unitID:_0x2596a9,type:_0x53206d,revision:_0x10ee8a=0x0}=_0x3b72c5,_0x1f5b1e=this[_0x5bbfa8(0x2d2)]()+'/'+_0x53206d+_0x5bbfa8(0x4fd)+_0x2596a9+_0x5bbfa8(0x237)+_0x10ee8a,_0x5d62ed=(await this['_httpService'][_0x5bbfa8(0x47a)](_0x1f5b1e))['body'],_0x4e3d8d=(_0x439c42=_0x5d62ed[_0x5bbfa8(0x506)])==null?void 0x0:_0x439c42[_0x5bbfa8(0x355)];if(_0x4e3d8d){const _0x11f483=_0x4e3d8d==null?void 0x0:_0x4e3d8d[_0x5bbfa8(0x2b7)],_0x3f21dc=p[_0x5bbfa8(0x4e4)]['encode'](p['b64DecodeUnicode'](_0x11f483));_0x4e3d8d[_0x5bbfa8(0x2b7)]=_0x3f21dc,Object[_0x5bbfa8(0x52f)](_0x4e3d8d[_0x5bbfa8(0x2ca)])[_0x5bbfa8(0x49c)](([,_0x2019bf])=>{var _0x111511=_0x5bbfa8;const _0x1e8fc0=_0x2019bf[_0x111511(0x2b7)],_0x24b653=p[_0x111511(0x4e4)]['encode'](p[_0x111511(0x574)](_0x1e8fc0));_0x2019bf[_0x111511(0x2b7)]=_0x24b653;});}return _0x5d62ed;}async[_0x38cf52(0x3c0)](_0x258c36,_0x585b5d){var _0x5c6b3f=_0x38cf52;const {unitID:_0x3085df,type:_0x2a33e8,blockID:_0x1931e7}=_0x585b5d,_0x18de47=this['_getAPIPrefix']()+'/'+_0x2a33e8+_0x5c6b3f(0x4fd)+_0x3085df+_0x5c6b3f(0x42f)+_0x1931e7;return(await this[_0x5c6b3f(0x4df)][_0x5c6b3f(0x47a)](_0x18de47))[_0x5c6b3f(0x3a9)];}async[_0x38cf52(0x277)](_0x4ab748,_0xf8045a){var _0x36f814=_0x38cf52;const {unitID:_0x493676,type:_0x383d7b,blockID:_0x326931}=_0xf8045a,_0xd96c3a=this[_0x36f814(0x36e)]()+_0x36f814(0x42f)+_0x383d7b+_0x36f814(0x4fd)+_0x493676+'/block/'+_0x326931;return(await this['_httpService'][_0x36f814(0x47a)](_0xd96c3a))[_0x36f814(0x3a9)];}async[_0x38cf52(0x2ac)](_0x49291d,_0x11d7cb){var _0xdadda4=_0x38cf52;const {unitID:_0x8e40c7,type:_0x495762,from:_0x5a2f43,to:_0x5d759f}=_0x11d7cb,_0x127463=this[_0xdadda4(0x36e)]()+'/'+_0x495762+_0xdadda4(0x4fd)+_0x8e40c7+'/fetchmissing?from='+_0x5a2f43+'&to='+_0x5d759f;return(await this[_0xdadda4(0x4df)][_0xdadda4(0x47a)](_0x127463))[_0xdadda4(0x3a9)];}[_0x38cf52(0x2d2)](){var _0x1c19d6=_0x38cf52,_0x468880;return(_0x468880=this[_0x1c19d6(0x515)][_0x1c19d6(0x2be)](lt))!=null?_0x468880:this['_getAPIPrefix']();}[_0x38cf52(0x36e)](){var _0x4789eb=_0x38cf52,_0x10d2cb,_0x42a66d;const _0x337a8e=this[_0x4789eb(0x515)][_0x4789eb(0x2be)](_t),_0x410828=this['_configService'][_0x4789eb(0x2be)](G);return(_0x42a66d=(_0x10d2cb=_0x410828==null?void 0x0:_0x410828[_0x4789eb(0x253)])!=null?_0x10d2cb:_0x337a8e)!=null?_0x42a66d:wt;}async['getResourcesRequest'](_0x52edd6,_0x3a6966){var _0x3a97d7=_0x38cf52;const _0x2f9e8e=_0x3a97d7(0x33f)+_0x3a6966[_0x3a97d7(0x1f5)]+_0x3a97d7(0x4fd)+_0x3a6966[_0x3a97d7(0x270)]+_0x3a97d7(0x28b);return(await this[_0x3a97d7(0x4df)]['get'](_0x2f9e8e,{'params':{'resourceId':JSON['stringify'](_0x3a6966['resourceIDs'])}}))[_0x3a97d7(0x3a9)];}[_0x38cf52(0x363)](){var _0x4fcec9=_0x38cf52;throw new Error(_0x4fcec9(0x310));}[_0x38cf52(0x1ee)](){var _0x410171=_0x38cf52;throw new Error(_0x410171(0x310));}[_0x38cf52(0x2f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x38cf52(0x424)](){var _0x4d6076=_0x38cf52;throw new Error(_0x4d6076(0x310));}[_0x38cf52(0x2c6)](){var _0x293136=_0x38cf52;throw new Error(_0x293136(0x310));}['getLatestCsReqIdBySid'](){var _0x49ee03=_0x38cf52;throw new Error(_0x49ee03(0x310));}},exports[_0x38cf52(0x2e6)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x38cf52(0x54a)](K[_0x38cf52(0x3b2)]))],exports[_0x38cf52(0x2e6)]);var bn=Object[_0x38cf52(0x28a)],Rn=(_0x40f4e4,_0x395541,_0x16aae1,_0x743222)=>{var _0x50c3c2=_0x38cf52;for(var _0x37168c=_0x743222>0x1?void 0x0:_0x743222?bn(_0x395541,_0x16aae1):_0x395541,_0x902e2=_0x40f4e4[_0x50c3c2(0x4ea)]-0x1,_0x1f63c2;_0x902e2>=0x0;_0x902e2--)(_0x1f63c2=_0x40f4e4[_0x902e2])&&(_0x37168c=_0x1f63c2(_0x37168c)||_0x37168c);return _0x37168c;},ue=(_0x448a93,_0x144fea)=>(_0x2c5135,_0x1ed81a)=>_0x144fea(_0x2c5135,_0x1ed81a,_0x448a93);exports[_0x38cf52(0x287)]=class extends a[_0x38cf52(0x4bb)]{constructor(_0x3d781e,_0x1e4a14,_0x2be716,_0xd1e6b6,_0x4d80ae){var _0x132413=_0x38cf52;super(_0x3d781e,_0x1e4a14,_0x2be716),this[_0x132413(0x471)]=_0xd1e6b6,this[_0x132413(0x346)]=_0x4d80ae;}[_0x38cf52(0x4ae)](_0x2bad82,_0x141757){var _0x4c716f=_0x38cf52;const _0x599108=this[_0x4c716f(0x525)](_0x2bad82);if(_0x599108)try{const _0x453bc2=this[_0x4c716f(0x4ef)](_0x599108,_0x141757);this[_0x4c716f(0x53a)](_0x2bad82,_0x453bc2);}catch(_0x1d638e){this['_logService']['error'](_0x4c716f(0x2d4),_0x1d638e),this[_0x4c716f(0x47f)](_0x2bad82);}const _0x111195=this[_0x4c716f(0x29b)](_0x2bad82);if(_0x111195)try{const _0x460a77=this[_0x4c716f(0x4ef)](_0x111195,_0x141757);this[_0x4c716f(0x3e6)](_0x2bad82,_0x460a77);}catch(_0x108aa){this['_logService'][_0x4c716f(0x373)](_0x108aa),this['_clearRedo'](_0x2bad82);}}[_0x38cf52(0x47f)](_0x53692b){var _0x1f6ec0=_0x38cf52;const _0x50038f=this[_0x1f6ec0(0x525)](_0x53692b);_0x50038f&&(_0x50038f['length']=0x0,this['_updateStatus']());}[_0x38cf52(0x4d5)](_0x58d560){var _0x36c1ca=_0x38cf52;const _0x11e817=this['_getRedoStack'](_0x58d560);_0x11e817&&(_0x11e817[_0x36c1ca(0x4ea)]=0x0,this[_0x36c1ca(0x350)]());}['_substituteUndoStack'](_0x590685,_0xbbf907){var _0x406c52=_0x38cf52;this['_undoStacks'][_0x406c52(0x31c)](_0x590685,_0xbbf907),this[_0x406c52(0x350)]();}['_substituteRedoStack'](_0x23cce9,_0x1c6166){var _0xe2c84d=_0x38cf52;this[_0xe2c84d(0x262)][_0xe2c84d(0x31c)](_0x23cce9,_0x1c6166),this[_0xe2c84d(0x350)]();}[_0x38cf52(0x4ef)](_0x9658cd,_0x314713){var _0x2a67c5=_0x38cf52;const _0x2e747b=[];let _0x4a0cc8=_0x314713,_0x322733=_0x314713;for(let _0x1c21e8=_0x9658cd[_0x2a67c5(0x4ea)]-0x1;_0x1c21e8>=0x0;_0x1c21e8--){const {unitID:_0x2454fb,undoMutations:_0xa174d6,redoMutations:_0x4b8bc7}=_0x9658cd[_0x1c21e8],_0x208a0d=this['_transformService'][_0x2a67c5(0x232)](_0x4a0cc8,_0xa174d6),_0x29d679=this[_0x2a67c5(0x471)][_0x2a67c5(0x232)](_0x322733,_0x4b8bc7);if(p[_0x2a67c5(0x51b)](_0x208a0d)||p[_0x2a67c5(0x51b)](_0x29d679)){this[_0x2a67c5(0x346)][_0x2a67c5(0x373)](_0x2a67c5(0x2d4),_0x2a67c5(0x2c9),_0x208a0d,_0x29d679);break;}_0x4a0cc8=_0x208a0d['c1Prime'],_0x322733=_0x29d679[_0x2a67c5(0x389)],_0x2e747b[_0x2a67c5(0x398)]({'unitID':_0x2454fb,'undoMutations':_0x208a0d[_0x2a67c5(0x29a)],'redoMutations':_0x29d679[_0x2a67c5(0x29a)]});}return _0x2e747b['reverse']();}},exports[_0x38cf52(0x287)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a['ICommandService']),ue(0x2,a[_0x38cf52(0x30f)]),ue(0x3,p[_0x38cf52(0x293)]),ue(0x4,a[_0x38cf52(0x20c)])],exports[_0x38cf52(0x287)]);var On=Object[_0x38cf52(0x296)],yn=Object[_0x38cf52(0x28a)],Nn=(_0xf4e58b,_0x8a64aa,_0x13a00b)=>_0x8a64aa in _0xf4e58b?On(_0xf4e58b,_0x8a64aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13a00b}):_0xf4e58b[_0x8a64aa]=_0x13a00b,Dn=(_0x2cbbe2,_0x1efbf1,_0x31031c,_0x4f8ee0)=>{var _0x4d067f=_0x38cf52;for(var _0x14ed24=_0x4f8ee0>0x1?void 0x0:_0x4f8ee0?yn(_0x1efbf1,_0x31031c):_0x1efbf1,_0xede24a=_0x2cbbe2[_0x4d067f(0x4ea)]-0x1,_0x77ae2d;_0xede24a>=0x0;_0xede24a--)(_0x77ae2d=_0x2cbbe2[_0xede24a])&&(_0x14ed24=_0x77ae2d(_0x14ed24)||_0x14ed24);return _0x14ed24;},Me=(_0x2625df,_0x318e7e)=>(_0x3fc490,_0xbc0fab)=>_0x318e7e(_0x3fc490,_0xbc0fab,_0x2625df),Un=(_0x36d61e,_0xb719d9,_0x510583)=>Nn(_0x36d61e,_0xb719d9+'',_0x510583);const An=_0x38cf52(0x44c);exports[_0x38cf52(0x314)]=class extends a[_0x38cf52(0x4d9)]{constructor(_0x1dbcdb,_0x274e43,_0x54b981,_0x1e9695){var _0x2468e9=_0x38cf52;super(),A(this,_0x2468e9(0x449)),(this['_logService']=_0x274e43,this[_0x2468e9(0x45a)]=_0x54b981,this[_0x2468e9(0x515)]=_0x1e9695);const {..._0x505e2e}=a[_0x2468e9(0x429)]({},Kt,_0x1dbcdb);if(!_0x505e2e[_0x2468e9(0x555)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2468e9(0x449)]=_0x505e2e,this['_configService'][_0x2468e9(0x3e3)](G,_0x505e2e);}[_0x38cf52(0x1f8)](){var _0x4410b8=_0x38cf52;this[_0x4410b8(0x286)](),this[_0x4410b8(0x4bc)]();}['_registerDependencies'](){var _0x4028d8=_0x38cf52,_0x2c182a,_0x564f40;this['_injector'][_0x4028d8(0x4a6)](a[_0x4028d8(0x430)])&&this[_0x4028d8(0x346)][_0x4028d8(0x373)](_0x4028d8(0x436),_0x4028d8(0x396));const _0x564ef7=a[_0x4028d8(0x3ce)]([[a[_0x4028d8(0x430)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4028d8(0x372)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x4028d8(0x2a5)]],[He,{'useClass':this[_0x4028d8(0x449)][_0x4028d8(0x555)]}],[p[_0x4028d8(0x308)],{'useClass':exports[_0x4028d8(0x2e6)]}],[a[_0x4028d8(0x365)],{'useClass':exports[_0x4028d8(0x348)]}],[z['IImageIoService'],{'useClass':exports[_0x4028d8(0x333)]}],[a[_0x4028d8(0x1f1)],{'useClass':exports[_0x4028d8(0x255)]}],[exports[_0x4028d8(0x2a9)]],[xe]],(_0x2c182a=this[_0x4028d8(0x449)])==null?void 0x0:_0x2c182a[_0x4028d8(0x52b)]);if(!((_0x564f40=this['_config'])!=null&&_0x564f40[_0x4028d8(0x4a1)])){const _0x2404f9=_0x564ef7[_0x4028d8(0x2ee)](([_0x37779a])=>_0x37779a===de);_0x2404f9!==-0x1&&_0x564ef7[_0x4028d8(0x371)](_0x2404f9,0x1);}a['registerDependencies'](this[_0x4028d8(0x45a)],_0x564ef7);}[_0x38cf52(0x4bc)](){var _0x30257b=_0x38cf52,_0x14baf6,_0x29ffa0,_0xc0d5a8;this['_injector'][_0x30257b(0x47a)](K['HTTPService'])[_0x30257b(0x4cc)]({'priority':0x14,'interceptor':K[_0x30257b(0x54b)]({'maxParallel':0x6})}),(_0x14baf6=this[_0x30257b(0x449)])!=null&&_0x14baf6['enableOfflineEditing']||(_0x29ffa0=this['_injector']['get'](q,a['Quantity'][_0x30257b(0x4b8)]))==null||_0x29ffa0[_0x30257b(0x27d)](),(_0xc0d5a8=this['_config'])!=null&&_0xc0d5a8[_0x30257b(0x556)]&&a[_0x30257b(0x4e3)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x30257b(0x45a)],[[Ne],[exports[_0x30257b(0x2a9)]],[De]]);}},Un(exports['UniverCollaborationClientPlugin'],_0x38cf52(0x48e),An),exports['UniverCollaborationClientPlugin']=Dn([a[_0x38cf52(0x43c)](p[_0x38cf52(0x450)],K[_0x38cf52(0x32b)]),Me(0x1,a[_0x38cf52(0x20c)]),Me(0x2,a['Inject'](a[_0x38cf52(0x23e)])),Me(0x3,a['IConfigService'])],exports[_0x38cf52(0x314)]),exports[_0x38cf52(0x2b4)]=Ve,exports[_0x38cf52(0x2ce)]=G,exports[_0x38cf52(0x3bb)]=It,exports[_0x38cf52(0x532)]=ut,exports[_0x38cf52(0x426)]=Be,exports[_0x38cf52(0x568)]=Z,exports[_0x38cf52(0x26a)]=ee,exports[_0x38cf52(0x4de)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports[_0x38cf52(0x571)]=vt,exports[_0x38cf52(0x317)]=ke,exports[_0x38cf52(0x268)]=He,exports[_0x38cf52(0x522)]=q,exports[_0x38cf52(0x34a)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x38cf52(0x4a2)]=Bt,exports['LOGIN_URL_KEY']=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x38cf52(0x563)]=_t,exports[_0x38cf52(0x235)]=lt,exports[_0x38cf52(0x3ff)]=re,exports[_0x38cf52(0x489)]=je,exports[_0x38cf52(0x338)]=Ct,exports[_0x38cf52(0x2d1)]=oi,exports['serializeCombRequest']=Tt;
|
1
|
+
'use strict';var _0x4611e8=_0x4139;(function(_0x377c44,_0x41d5f3){var _0xcec722=_0x4139,_0x22c2de=_0x377c44();while(!![]){try{var _0x255ba6=parseInt(_0xcec722(0x19f))/0x1+parseInt(_0xcec722(0x1d1))/0x2+-parseInt(_0xcec722(0x289))/0x3+-parseInt(_0xcec722(0x30f))/0x4+-parseInt(_0xcec722(0x15f))/0x5*(-parseInt(_0xcec722(0x1a6))/0x6)+-parseInt(_0xcec722(0x298))/0x7+parseInt(_0xcec722(0x1d9))/0x8;if(_0x255ba6===_0x41d5f3)break;else _0x22c2de['push'](_0x22c2de['shift']());}catch(_0x297e12){_0x22c2de['push'](_0x22c2de['shift']());}}}(_0xcb18,0x9e73e));var Ut=Object['defineProperty'],At=(_0x3f1a56,_0x5748ec,_0x4554ab)=>_0x5748ec in _0x3f1a56?Ut(_0x3f1a56,_0x5748ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4554ab}):_0x3f1a56[_0x5748ec]=_0x4554ab,A=(_0x5b8052,_0x9bc2d1,_0x40b8dd)=>At(_0x5b8052,typeof _0x9bc2d1!=_0x4611e8(0x455)?_0x9bc2d1+'':_0x9bc2d1,_0x40b8dd);Object['defineProperty'](exports,Symbol[_0x4611e8(0x326)],{'value':'Module'});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x4611e8(0x1ad),wt=_0x4611e8(0x337),lt=_0x4611e8(0x1a2),Mt='SEND_CHANGESET_TIMEOUT',xt=0x7d0,ut=_0x4611e8(0x24f),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x4611e8(0x26c),vt=_0x4611e8(0x2fb),Ht=0x7530,ke=_0x4611e8(0x1f3),St=0x4e20,$t=0x4e20,ft=_0x4611e8(0x385),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,It=_0x4611e8(0x3ab),Vt=_0x4611e8(0x2c0),pt=_0x4611e8(0x21a),Wt=_0x4611e8(0x377),Yt=_0x4611e8(0x1fe),Gt=_0x4611e8(0x294);var gt=(_0x2f5393=>(_0x2f5393[_0x2f5393[_0x4611e8(0x393)]=0x0]=_0x4611e8(0x393),_0x2f5393[_0x2f5393['OK']=0x1]='OK',_0x2f5393[_0x2f5393[_0x4611e8(0x3a7)]=0x2]=_0x4611e8(0x3a7),_0x2f5393[_0x2f5393[_0x4611e8(0x152)]=0x3]=_0x4611e8(0x152),_0x2f5393[_0x2f5393['NOT_FOUND']=0x4]='NOT_FOUND',_0x2f5393[_0x2f5393[_0x4611e8(0x19a)]=0x5]=_0x4611e8(0x19a),_0x2f5393[_0x2f5393[_0x4611e8(0x124)]=0x6]=_0x4611e8(0x124),_0x2f5393[_0x2f5393[_0x4611e8(0x478)]=0x7]=_0x4611e8(0x478),_0x2f5393[_0x2f5393[_0x4611e8(0x3cd)]=0x8]=_0x4611e8(0x3cd),_0x2f5393[_0x2f5393['COMPLETION_FINISHED']=0x9]=_0x4611e8(0x432),_0x2f5393[_0x2f5393[_0x4611e8(0x2be)]=0xa]=_0x4611e8(0x2be),_0x2f5393[_0x2f5393[_0x4611e8(0x29e)]=0xb]=_0x4611e8(0x29e),_0x2f5393[_0x2f5393['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x4611e8(0x1c7),_0x2f5393[_0x2f5393[_0x4611e8(0x196)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f5393[_0x2f5393[_0x4611e8(0x42a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2f5393[_0x2f5393['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4611e8(0x1de),_0x2f5393[_0x2f5393['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4611e8(0x3a2),_0x2f5393[_0x2f5393[_0x4611e8(0x149)]=0x1772]=_0x4611e8(0x149),_0x2f5393[_0x2f5393[_0x4611e8(0x41c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f5393[_0x2f5393[_0x4611e8(0x3bf)]=0x1b59]='APPLY_REJECT',_0x2f5393[_0x2f5393[_0x4611e8(0x2c7)]=0x1b5a]=_0x4611e8(0x2c7),_0x2f5393[_0x2f5393[_0x4611e8(0x34a)]=0x1b5b]=_0x4611e8(0x34a),_0x2f5393[_0x2f5393[_0x4611e8(0x45a)]=0x1b5c]=_0x4611e8(0x45a),_0x2f5393[_0x2f5393[_0x4611e8(0x43e)]=0x1b5d]=_0x4611e8(0x43e),_0x2f5393[_0x2f5393[_0x4611e8(0x22c)]=0x1f41]=_0x4611e8(0x22c),_0x2f5393[_0x2f5393[_0x4611e8(0x42b)]=0x2329]=_0x4611e8(0x42b),_0x2f5393[_0x2f5393[_0x4611e8(0x25e)]=0x232a]=_0x4611e8(0x25e),_0x2f5393[_0x2f5393['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f5393[_0x2f5393['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4611e8(0x246),_0x2f5393[_0x2f5393[_0x4611e8(0x348)]=0x232d]=_0x4611e8(0x348),_0x2f5393[_0x2f5393[_0x4611e8(0x271)]=0x2711]=_0x4611e8(0x271),_0x2f5393[_0x2f5393[_0x4611e8(0x34f)]=0x2712]=_0x4611e8(0x34f),_0x2f5393[_0x2f5393[_0x4611e8(0x453)]=0x2713]=_0x4611e8(0x453),_0x2f5393[_0x2f5393['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4611e8(0x217),_0x2f5393[_0x2f5393[_0x4611e8(0x430)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2f5393[_0x2f5393['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4611e8(0x32a),_0x2f5393[_0x2f5393['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4611e8(0x2e3),_0x2f5393[_0x2f5393[_0x4611e8(0x32f)]=0x271d]=_0x4611e8(0x32f),_0x2f5393[_0x2f5393[_0x4611e8(0x472)]=0x271e]=_0x4611e8(0x472),_0x2f5393[_0x2f5393['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4611e8(0x274),_0x2f5393[_0x2f5393[_0x4611e8(0x3b5)]=0x2720]=_0x4611e8(0x3b5),_0x2f5393[_0x2f5393[_0x4611e8(0x2ce)]=0x2af9]=_0x4611e8(0x2ce),_0x2f5393[_0x2f5393[_0x4611e8(0x405)]=0x2ee1]=_0x4611e8(0x405),_0x2f5393[_0x2f5393[_0x4611e8(0x29d)]=0x2ee2]=_0x4611e8(0x29d),_0x2f5393[_0x2f5393['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4611e8(0x328),_0x2f5393[_0x2f5393[_0x4611e8(0x145)]=0x2ee4]=_0x4611e8(0x145),_0x2f5393[_0x2f5393['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4611e8(0x2ba),_0x2f5393[_0x2f5393[_0x4611e8(0x356)]=0x32c9]=_0x4611e8(0x356),_0x2f5393[_0x2f5393['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4611e8(0x32e),_0x2f5393[_0x2f5393[_0x4611e8(0x379)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f5393[_0x2f5393[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x2f5393))(gt||{}),J=(_0x7a0e30=>(_0x7a0e30[_0x7a0e30[_0x4611e8(0x167)]=0x0]='UNIVER_UNKNOWN',_0x7a0e30[_0x7a0e30[_0x4611e8(0x2c8)]=0x1]=_0x4611e8(0x2c8),_0x7a0e30[_0x7a0e30[_0x4611e8(0x1c8)]=0x2]='UNIVER_SHEET',_0x7a0e30[_0x7a0e30[_0x4611e8(0x17a)]=0x3]='UNIVER_SLIDE',_0x7a0e30[_0x7a0e30[_0x4611e8(0x153)]=0x4]=_0x4611e8(0x153),_0x7a0e30[_0x7a0e30['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x7a0e30))(J||{}),W=(_0x15c0cb=>(_0x15c0cb[_0x15c0cb[_0x4611e8(0x285)]=0x0]=_0x4611e8(0x285),_0x15c0cb[_0x15c0cb[_0x4611e8(0x3df)]=0x1]=_0x4611e8(0x3df),_0x15c0cb[_0x15c0cb['JOIN']=0x2]=_0x4611e8(0x36b),_0x15c0cb[_0x15c0cb[_0x4611e8(0x13c)]=0x3]=_0x4611e8(0x13c),_0x15c0cb[_0x15c0cb[_0x4611e8(0x134)]=0x4]=_0x4611e8(0x134),_0x15c0cb[_0x15c0cb[_0x4611e8(0x1ee)]=0x5]=_0x4611e8(0x1ee),_0x15c0cb[_0x15c0cb[_0x4611e8(0x1f1)]=0x6]='RECV',_0x15c0cb[_0x15c0cb['UNRECOGNIZED']=-0x1]=_0x4611e8(0x37a),_0x15c0cb))(W||{}),oe=(_0x1aaa9e=>(_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x3fb)]=0x0]='UNKNOWN_CODE',_0x1aaa9e[_0x1aaa9e['OK']=0x1]='OK',_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x13e)]=0x2]=_0x4611e8(0x13e),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x23f)]=0x3e9]='JOIN_ROOM_FULL',_0x1aaa9e[_0x1aaa9e['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x38b)]=0x3eb]=_0x4611e8(0x38b),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x363)]=0x3ec]=_0x4611e8(0x363),_0x1aaa9e[_0x1aaa9e[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x1aaa9e))(oe||{}),Et=(_0x7e40b0=>(_0x7e40b0[_0x7e40b0[_0x4611e8(0x2dd)]=0x0]=_0x4611e8(0x2dd),_0x7e40b0[_0x7e40b0[_0x4611e8(0x3f7)]=0x1]=_0x4611e8(0x3f7),_0x7e40b0[_0x7e40b0[_0x4611e8(0x3d0)]=0x2]=_0x4611e8(0x3d0),_0x7e40b0[_0x7e40b0[_0x4611e8(0x2b2)]=0x3]=_0x4611e8(0x2b2),_0x7e40b0[_0x7e40b0[_0x4611e8(0x481)]=0x4]=_0x4611e8(0x481),_0x7e40b0[_0x7e40b0[_0x4611e8(0x2ed)]=0x5]=_0x4611e8(0x2ed),_0x7e40b0[_0x7e40b0[_0x4611e8(0x37a)]=-0x1]=_0x4611e8(0x37a),_0x7e40b0))(Et||{});const G=_0x4611e8(0x117),Kt={};var Z=(_0x2ba459=>(_0x2ba459['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x2ba459['PERMISSION_DENIED']=_0x4611e8(0x152),_0x2ba459[_0x4611e8(0x36d)]='CONFLICT',_0x2ba459[_0x4611e8(0x38d)]=_0x4611e8(0x38d),_0x2ba459[_0x4611e8(0x221)]=_0x4611e8(0x221),_0x2ba459[_0x4611e8(0x41a)]='SOCKET_FAILED_RETRY',_0x2ba459[_0x4611e8(0x418)]=_0x4611e8(0x418),_0x2ba459[_0x4611e8(0x417)]=_0x4611e8(0x417),_0x2ba459))(Z||{});class ee{constructor(){var _0x45665a=_0x4611e8;A(this,_0x45665a(0x1f7),new $[(_0x45665a(0x419))]()),A(this,_0x45665a(0x1fc),this[_0x45665a(0x1f7)][_0x45665a(0x2fd)]());}[_0x4611e8(0x14e)](_0x15c0a6){var _0x4a30ec=_0x4611e8;this[_0x4a30ec(0x1f7)][_0x4a30ec(0x244)](_0x15c0a6);}}const mt=a[_0x4611e8(0x12d)]('univer-pro.collaboration-client.network-condition.service');function Ct(_0x1a52eb){var _0x18e67a=_0x4611e8,_0x914de1,_0x43052a,_0x2ada14,_0x5a7057,_0x4eebf0;const _0x49d29b=_0x1a52eb['data'],_0x41304d=JSON[_0x18e67a(0x14c)](_0x49d29b);switch(_0x41304d['cmd']){case W[_0x18e67a(0x1ee)]:case W[_0x18e67a(0x3df)]:{const _0xe9a7ba=_0x41304d['infoRsp'];return{..._0x41304d,'data':_0xe9a7ba,'cmd':_0x41304d['cmd']};}case W[_0x18e67a(0x36b)]:{const _0x317b07=_0x41304d[_0x18e67a(0x22a)];return{..._0x41304d,'data':_0x317b07,'cmd':_0x41304d['cmd']};}case W[_0x18e67a(0x1f1)]:{const _0x260676=_0x41304d['collaMsg'];switch(_0x260676[_0x18e67a(0x126)]){case p[_0x18e67a(0x399)][_0x18e67a(0x382)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x914de1=_0x260676[_0x18e67a(0x43a)])==null?void 0x0:_0x914de1['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x427)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x43052a=_0x260676['csAckEvent'])==null?void 0x0:_0x43052a['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x35b)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x2ada14=_0x260676[_0x18e67a(0x2f4)])==null?void 0x0:_0x2ada14['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x28b)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x5a7057=_0x260676[_0x18e67a(0x3fc)])==null?void 0x0:_0x5a7057['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p['CollaborationEvent'][_0x18e67a(0x410)]:return{..._0x41304d,'data':{..._0x260676,'data':(_0x4eebf0=_0x260676['csShouldRetryEvent'])==null?void 0x0:_0x4eebf0['cs']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x1b1)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x235)]},'cmd':_0x41304d['cmd']};case p['CollaborationEvent'][_0x18e67a(0x194)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x191)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['USERS_LEAVE']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['leaveEvent']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x3c7)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x371)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['LIVESHARE_FETCH_OPERATIONS']:case p[_0x18e67a(0x399)]['LIVESHARE_OPERATION']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['liveShareOperation']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x130)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['liveShareNewHost']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x3ad)]:return{..._0x41304d,'data':_0x260676,'cmd':_0x41304d['cmd']};case p[_0x18e67a(0x399)][_0x18e67a(0x35e)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x1cb)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)]['UPDATE_PERMISSION_OBJ']:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['updatePermissionObjEvent']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x2c5)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676['shouldCloseConn']},'cmd':_0x41304d[_0x18e67a(0x3f8)]};case p[_0x18e67a(0x399)][_0x18e67a(0x13d)]:return{..._0x41304d,'data':{..._0x260676,'data':_0x260676[_0x18e67a(0x3eb)]},'cmd':_0x41304d[_0x18e67a(0x3f8)]};default:return _0x41304d;}}default:return _0x41304d;}}function Tt(_0x431ea6){var _0x36d83d=_0x4611e8;switch(_0x431ea6[_0x36d83d(0x3f8)]){case W[_0x36d83d(0x1ee)]:case W[_0x36d83d(0x3df)]:return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6[_0x36d83d(0x3f8)],'routeKey':_0x431ea6[_0x36d83d(0x2b6)]});case W[_0x36d83d(0x134)]:{let _0x5ce0f3;switch(_0x431ea6[_0x36d83d(0x33e)]['eventID']){case p[_0x36d83d(0x399)][_0x36d83d(0x1b1)]:{_0x5ce0f3={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x408)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x408)],'leaveEvent':_0x431ea6[_0x36d83d(0x33e)]['data']};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x194)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x194)],'joinEvent':_0x431ea6['data'][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x3c7)]:{_0x5ce0f3={'eventID':p['CollaborationEvent'][_0x36d83d(0x3c7)],'liveShareNewHost':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x476)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x130)]:{_0x5ce0f3={'eventID':p['CollaborationEvent'][_0x36d83d(0x130)],'liveShareTerminate':_0x431ea6[_0x36d83d(0x33e)]['data']};break;}case p[_0x36d83d(0x399)][_0x36d83d(0x207)]:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x207)],'liveShareRequestHost':_0x431ea6[_0x36d83d(0x33e)][_0x36d83d(0x33e)]};break;}case p[_0x36d83d(0x399)]['LIVESHARE_FETCH_OPERATIONS']:{_0x5ce0f3={'eventID':p[_0x36d83d(0x399)][_0x36d83d(0x2aa)]};break;}default:_0x5ce0f3={'eventID':_0x431ea6[_0x36d83d(0x33e)]['eventID']};}return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6['cmd'],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'collaMsg':_0x5ce0f3});}case W[_0x36d83d(0x36b)]:return JSON[_0x36d83d(0x37b)]({'cmd':_0x431ea6[_0x36d83d(0x3f8)],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'joinReq':_0x431ea6[_0x36d83d(0x33e)]});case W[_0x36d83d(0x13c)]:return JSON['stringify']({'cmd':_0x431ea6['cmd'],'routeKey':_0x431ea6[_0x36d83d(0x2b6)],'leaveReq':_0x431ea6['data']});default:throw new Error(_0x36d83d(0x127));}}var qt=Object[_0x4611e8(0x1b5)],zt=(_0x751335,_0x1a54a1,_0x5143de,_0x444eeb)=>{for(var _0x26507e=_0x444eeb>0x1?void 0x0:_0x444eeb?qt(_0x1a54a1,_0x5143de):_0x1a54a1,_0x235049=_0x751335['length']-0x1,_0x387036;_0x235049>=0x0;_0x235049--)(_0x387036=_0x751335[_0x235049])&&(_0x26507e=_0x387036(_0x26507e)||_0x26507e);return _0x26507e;},_e=(_0x18b4e9,_0x5e5f53)=>(_0x3e6d07,_0x41befc)=>_0x5e5f53(_0x3e6d07,_0x41befc,_0x18b4e9);const He=a[_0x4611e8(0x12d)](_0x4611e8(0x260));function Jt(_0x4717d7,_0x13a429,_0x214939){var _0x1bc231=_0x4611e8;return _0x4717d7+'/'+_0x13a429+_0x1bc231(0x38c)+_0x214939+_0x1bc231(0x302);}exports[_0x4611e8(0x2f9)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x301fe9,_0x425561,_0x40bdba,_0x2db8ef,_0x9e43dc){var _0x41ce4d=_0x4611e8;super(),this[_0x41ce4d(0x390)]=_0x301fe9,this[_0x41ce4d(0x48d)]=_0x425561,this[_0x41ce4d(0x290)]=_0x40bdba,this[_0x41ce4d(0x47b)]=_0x2db8ef,this[_0x41ce4d(0x164)]=_0x9e43dc;}[_0x4611e8(0x2a7)](_0x27418e){var _0x54dd3f=_0x4611e8;const _0x1bc2e1=this[_0x54dd3f(0x390)][_0x54dd3f(0x306)](K['ISocketService']);if(!_0x1bc2e1)throw new Error(_0x54dd3f(0x190));const _0x59b5bf=_0x1bc2e1[_0x54dd3f(0x26d)](_0x27418e);if(!_0x59b5bf)throw new Error(_0x54dd3f(0x330));const _0x29e4a1=new a['DisposableCollection'](),_0xc4f4e7=new $['Subject']();_0x29e4a1['add'](_0x59b5bf[_0x54dd3f(0x386)][_0x54dd3f(0x46a)](_0x3ea43b=>_0xc4f4e7[_0x54dd3f(0x244)](_0x3ea43b))),_0x29e4a1['add'](a[_0x54dd3f(0x2f7)](()=>_0xc4f4e7[_0x54dd3f(0x305)]()));const _0x3bdd90=new $['Subject']();_0x29e4a1[_0x54dd3f(0x2d2)](_0x59b5bf[_0x54dd3f(0x424)]['subscribe'](_0x303a07=>_0x3bdd90['next'](_0x303a07))),_0x29e4a1[_0x54dd3f(0x2d2)](a[_0x54dd3f(0x2f7)](()=>_0x3bdd90[_0x54dd3f(0x305)]()));const _0x4f18ec=new $[(_0x54dd3f(0x419))]();_0x29e4a1[_0x54dd3f(0x2d2)](_0x59b5bf['message$']['subscribe'](_0x17b8cd=>{const _0x3b38a7=Ct(_0x17b8cd);_0x4f18ec['next'](_0x3b38a7);})),_0x29e4a1[_0x54dd3f(0x2d2)](a[_0x54dd3f(0x2f7)](()=>_0x4f18ec[_0x54dd3f(0x305)]()));let _0x13cd43;const _0x49f7cb=()=>{var _0x1a91d0=_0x54dd3f;_0x3bdd90[_0x1a91d0(0x244)](new Event(_0x1a91d0(0x378))),_0xc4f4e7[_0x1a91d0(0x244)](new Event('connection\x20error')),_0x13cd43['close']();};return _0x13cd43={'memberID':'','close$':_0xc4f4e7[_0x54dd3f(0x2fd)](),'error$':_0x3bdd90[_0x54dd3f(0x2fd)](),'open$':_0x59b5bf[_0x54dd3f(0x1fb)],'message$':_0x4f18ec[_0x54dd3f(0x2fd)](),'send':_0x41c49=>{var _0x5125ba=_0x54dd3f;if(_0x41c49[_0x5125ba(0x3f8)]===W[_0x5125ba(0x134)]){if(_0x41c49[_0x5125ba(0x33e)][_0x5125ba(0x126)]===p[_0x5125ba(0x399)][_0x5125ba(0x407)]){this[_0x5125ba(0x466)](_0x13cd43,_0x41c49['data'])[_0x5125ba(0x343)](_0x3436bb=>{var _0x47b7b4=_0x5125ba;this['_logService'][_0x47b7b4(0x2b8)](_0x3436bb),_0x49f7cb();});return;}if(_0x41c49[_0x5125ba(0x33e)][_0x5125ba(0x126)]===p['CollaborationEvent'][_0x5125ba(0x42f)]){const _0x3c57a4=_0x41c49['data'];this[_0x5125ba(0x3f3)](_0x3c57a4)['then'](_0x6b4b3e=>{var _0x1cf627=_0x5125ba;_0x4f18ec['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x3c57a4[_0x1cf627(0x33e)][_0x1cf627(0x39e)],'routeType':'','data':{'eventID':p[_0x1cf627(0x399)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x6b4b3e}}});})['catch'](_0x562971=>{var _0x10836b=_0x5125ba;this[_0x10836b(0x47b)][_0x10836b(0x2b8)](_0x562971),_0x49f7cb();});return;}}_0x59b5bf[_0x5125ba(0x269)](Tt(_0x41c49));},'close':()=>{var _0x4e7fc7=_0x54dd3f;_0x59b5bf[_0x4e7fc7(0x336)](),_0x29e4a1[_0x4e7fc7(0x48c)]();}},_0x13cd43;}async[_0x4611e8(0x466)](_0x5157bc,_0x1134f6){var _0x179eb4=_0x4611e8,_0x529a57,_0x5e354a;const {unitType:_0x41d7e8,unitID:_0x1181ee,changeset:_0x3542f1}=_0x1134f6['data'],_0x3bbc99={'unitID':_0x1181ee,'memberID':_0x5157bc['memberID'],'type':_0x41d7e8,'changeset':p[_0x179eb4(0x403)](_0x3542f1)},_0x183d20=this[_0x179eb4(0x290)]['getConfig'](It),_0x26230a=this[_0x179eb4(0x290)]['getConfig'](G),_0x28c7ae=Jt((_0x5e354a=(_0x529a57=_0x26230a==null?void 0x0:_0x26230a[_0x179eb4(0x2c2)])!=null?_0x529a57:_0x183d20)!=null?_0x5e354a:Vt,_0x41d7e8,_0x1181ee);try{await this[_0x179eb4(0x48d)][_0x179eb4(0x12a)](_0x28c7ae,{'body':_0x3bbc99});}catch(_0x1390b1){throw this[_0x179eb4(0x47b)][_0x179eb4(0x2b8)](_0x179eb4(0x334),_0x179eb4(0x128)),_0x1390b1;}}async[_0x4611e8(0x3f3)](_0x45d0b9){var _0x43d432=_0x4611e8;const {unitID:_0x3939ab,from:_0x42abce,to:_0x444a2b,unitType:_0x534758}=_0x45d0b9[_0x43d432(0x33e)];return(await this[_0x43d432(0x164)][_0x43d432(0x36a)]({'metadata':void 0x0},{'unitID':_0x3939ab,'type':_0x534758,'from':_0x42abce,'to':_0x444a2b}))[_0x43d432(0x1d0)];}},exports[_0x4611e8(0x2f9)]=zt([_e(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),_e(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)])),_e(0x2,a[_0x4611e8(0x335)]),_e(0x3,a[_0x4611e8(0x2a6)]),_e(0x4,p[_0x4611e8(0x413)])],exports[_0x4611e8(0x2f9)]);const Xt=_0x4611e8(0x237);function Zt(_0xac0e7a){var _0x1294b4=_0x4611e8;return JSON[_0x1294b4(0x37b)](_0xac0e7a)[_0x1294b4(0x479)];}class $e{constructor(){var _0x396720=_0x4611e8;A(this,_0x396720(0x19c),new $['Subject']()),A(this,_0x396720(0x1ec),this[_0x396720(0x19c)]['asObservable']());}[_0x4611e8(0x181)](_0x51a246){var _0x35ed6a=_0x4611e8;this[_0x35ed6a(0x19c)][_0x35ed6a(0x244)](_0x51a246);}}var Qt=Object[_0x4611e8(0x1b5)],ei=(_0x4185e5,_0x53dae5,_0x4f3f6c,_0x233ce9)=>{var _0x1c8782=_0x4611e8;for(var _0x53dced=_0x233ce9>0x1?void 0x0:_0x233ce9?Qt(_0x53dae5,_0x4f3f6c):_0x53dae5,_0x213ced=_0x4185e5[_0x1c8782(0x479)]-0x1,_0x39132a;_0x213ced>=0x0;_0x213ced--)(_0x39132a=_0x4185e5[_0x213ced])&&(_0x53dced=_0x39132a(_0x53dced)||_0x53dced);return _0x53dced;},We=(_0x3a5e8b,_0x35d359)=>(_0x39efd5,_0xcbd487)=>_0x35d359(_0x39efd5,_0xcbd487,_0x3a5e8b);exports[_0x4611e8(0x1bd)]=class extends a['Disposable']{constructor(_0x1493f3,_0x3df8a2){var _0x29fcdb=_0x4611e8;super(),A(this,_0x29fcdb(0x3b1),new Map()),A(this,_0x29fcdb(0x162),new $[(_0x29fcdb(0x419))]()),(this[_0x29fcdb(0x322)]=_0x1493f3,this[_0x29fcdb(0x3b6)]=_0x3df8a2,this[_0x29fcdb(0x1b8)]($['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x29fcdb(0x31f)][_0x29fcdb(0x1c8)])[_0x29fcdb(0x121)](V['map'](_0x2a693d=>_0x2a693d['getUnitId']())),this[_0x29fcdb(0x322)][_0x29fcdb(0x41f)](a['UniverInstanceType'][_0x29fcdb(0x2c8)])[_0x29fcdb(0x121)](V[_0x29fcdb(0x353)](_0x2cef99=>_0x2cef99[_0x29fcdb(0x13b)]())),this[_0x29fcdb(0x322)][_0x29fcdb(0x41f)](a[_0x29fcdb(0x31f)][_0x29fcdb(0x17a)])[_0x29fcdb(0x121)](V[_0x29fcdb(0x353)](_0x285b34=>_0x285b34[_0x29fcdb(0x13b)]())))[_0x29fcdb(0x46a)](_0x4b9bfb=>this['_removeRoom'](_0x4b9bfb))));}[_0x4611e8(0x15d)](_0x15d38f){var _0x2f8d0e=_0x4611e8;return this[_0x2f8d0e(0x3b1)][_0x2f8d0e(0x384)](_0x15d38f)?$['of'](this[_0x2f8d0e(0x3b1)][_0x2f8d0e(0x306)](_0x15d38f)):this[_0x2f8d0e(0x162)]['pipe'](V[_0x2f8d0e(0x353)](_0x5a0ceb=>{var _0x37960a=_0x2f8d0e;if(_0x5a0ceb===_0x15d38f)return this[_0x37960a(0x3b1)][_0x37960a(0x306)](_0x5a0ceb);}));}['setCurrentUser'](_0x288ac2){var _0x44f105=_0x4611e8;this['_userManagerService'][_0x44f105(0x339)](_0x288ac2);}[_0x4611e8(0x45e)](){return this['_userManagerService']['getCurrentUser']();}[_0x4611e8(0x31c)](_0x400f6b,_0x3804a4){var _0x1c0e46=_0x4611e8;let _0x4c4d55=this[_0x1c0e46(0x3b1)][_0x1c0e46(0x306)](_0x400f6b);_0x4c4d55||(_0x4c4d55=new ti(),this[_0x1c0e46(0x3b1)]['set'](_0x400f6b,_0x4c4d55),this['_roomCreated$']['next'](_0x400f6b)),_0x4c4d55[_0x1c0e46(0x31c)](_0x3804a4);}[_0x4611e8(0x1d5)](_0xfc65a6,_0x453592){var _0xd02e6a=_0x4611e8;const _0x23596a=this[_0xd02e6a(0x3b1)]['get'](_0xfc65a6);_0x23596a&&_0x23596a['removeMember'](_0x453592);}[_0x4611e8(0x176)](_0x401f5e){var _0x2cb539=_0x4611e8;return this[_0x2cb539(0x3b1)][_0x2cb539(0x306)](_0x401f5e);}[_0x4611e8(0x14d)](_0x17f504,_0x3b0ae8){const _0x5983b0=this['_roomMembers']['get'](_0x17f504);if(_0x5983b0)return _0x5983b0['getMember'](_0x3b0ae8);}[_0x4611e8(0x367)](_0x150d54){var _0x13ebda=_0x4611e8;const _0x233487=this[_0x13ebda(0x3b1)][_0x13ebda(0x306)](_0x150d54);_0x233487&&(_0x233487[_0x13ebda(0x48c)](),this[_0x13ebda(0x3b1)]['delete'](_0x150d54));}[_0x4611e8(0x48c)](){var _0x26e002=_0x4611e8;this['_roomMembers'][_0x26e002(0x333)](_0x380539=>_0x380539[_0x26e002(0x48c)]()),this[_0x26e002(0x3b1)][_0x26e002(0x139)](),this[_0x26e002(0x162)][_0x26e002(0x305)]();}},exports[_0x4611e8(0x1bd)]=ei([We(0x0,a[_0x4611e8(0x227)]),We(0x1,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x123)]))],exports[_0x4611e8(0x1bd)]);class ti extends a['Disposable']{constructor(){var _0x4045de=_0x4611e8;super(...arguments),A(this,_0x4045de(0x449),new Map()),A(this,'_members$',new $[(_0x4045de(0x3c0))](this['_members'])),A(this,_0x4045de(0x20c),this[_0x4045de(0x44c)][_0x4045de(0x2fd)]());}[_0x4611e8(0x48c)](){var _0x29dfb2=_0x4611e8;this['_members'][_0x29dfb2(0x139)]();}[_0x4611e8(0x31c)](_0x2b3001){var _0x39817b=_0x4611e8;this['_members'][_0x39817b(0x175)](_0x2b3001[_0x39817b(0x372)],_0x2b3001),this[_0x39817b(0x3ac)]();}[_0x4611e8(0x1d5)](_0x45a6c8){var _0x17050f=_0x4611e8;this[_0x17050f(0x449)]['delete'](_0x45a6c8);}[_0x4611e8(0x14d)](_0x50cba5){var _0x404f85=_0x4611e8;return this[_0x404f85(0x449)][_0x404f85(0x306)](_0x50cba5);}[_0x4611e8(0x406)](){var _0x161fe4=_0x4611e8;return Array[_0x161fe4(0x465)](this['_members']['values']());}[_0x4611e8(0x3ac)](){var _0x46a89a=_0x4611e8;this['_members$'][_0x46a89a(0x244)](this['_members']);}}var ii=Object[_0x4611e8(0x1b5)],ni=(_0x260775,_0x3bf982,_0x33efdd,_0x53cf66)=>{var _0x466338=_0x4611e8;for(var _0x55d31e=_0x53cf66>0x1?void 0x0:_0x53cf66?ii(_0x3bf982,_0x33efdd):_0x3bf982,_0x3a5221=_0x260775[_0x466338(0x479)]-0x1,_0x54c734;_0x3a5221>=0x0;_0x3a5221--)(_0x54c734=_0x260775[_0x3a5221])&&(_0x55d31e=_0x54c734(_0x55d31e)||_0x55d31e);return _0x55d31e;},se=(_0x4629d4,_0x3cd187)=>(_0x45a3ca,_0x46bb0d)=>_0x3cd187(_0x45a3ca,_0x46bb0d,_0x4629d4),re=(_0x3ec76d=>(_0x3ec76d[_0x3ec76d[_0x4611e8(0x12b)]=0x0]=_0x4611e8(0x12b),_0x3ec76d[_0x3ec76d['JOINING']=0x1]=_0x4611e8(0x3cc),_0x3ec76d[_0x3ec76d['OFFLINE']=0x2]=_0x4611e8(0x284),_0x3ec76d[_0x3ec76d[_0x4611e8(0x3d8)]=0x3]=_0x4611e8(0x3d8),_0x3ec76d))(re||{});const Ye={[oe[_0x4611e8(0x13e)]]:'session.join-failed',[oe[_0x4611e8(0x23f)]]:_0x4611e8(0x2e4),[oe[_0x4611e8(0x3c9)]]:_0x4611e8(0x33d),[oe[_0x4611e8(0x38b)]]:'session.room-permission-denied',[oe[_0x4611e8(0x363)]]:_0x4611e8(0x177)};exports[_0x4611e8(0x3d7)]=class extends a['RxDisposable']{constructor(_0x1c3920,_0x3d9916,_0x52e14e,_0xf69f57,_0x4b055a,_0x42a854,_0x3ce717,_0x3dc41e,_0x342ecd){var _0x20398b=_0x4611e8;super(),A(this,_0x20398b(0x2b7),new $[(_0x20398b(0x3c0))](0x0)),A(this,'sessionStatus$',this[_0x20398b(0x2b7)][_0x20398b(0x2fd)]()),A(this,_0x20398b(0x1f7),new $['Subject']()),A(this,_0x20398b(0x1fc),this[_0x20398b(0x1f7)][_0x20398b(0x2fd)]()),A(this,_0x20398b(0x295)),A(this,_0x20398b(0x41e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x20398b(0x125),!0x1),A(this,_0x20398b(0x136),null),(this[_0x20398b(0x2f0)]=_0x1c3920,this[_0x20398b(0x47b)]=_0x52e14e,this[_0x20398b(0x290)]=_0xf69f57,this[_0x20398b(0x286)]=_0x4b055a,this[_0x20398b(0x36c)]=_0x42a854,this[_0x20398b(0x219)]=_0x3ce717,this[_0x20398b(0x31d)]=_0x3dc41e,this[_0x20398b(0x24a)]=_0x342ecd,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x3d9916[_0x20398b(0x121)]($[_0x20398b(0x11d)](this[_0x20398b(0x1f9)]))[_0x20398b(0x46a)](_0x13affa=>{var _0x2606a6=_0x20398b,_0x3c7e86;typeof _0x13affa>'u'||(this[_0x2606a6(0x295)]=_0x13affa,_0x13affa?(this['_joinRoom'](_0x13affa),this['_socketMessageSubscription']=_0x13affa[_0x2606a6(0x2c1)][_0x2606a6(0x46a)](_0x3cf451=>{var _0x165684=_0x2606a6;_0x3cf451[_0x165684(0x2b6)]===this[_0x165684(0x2f0)]&&this[_0x165684(0x450)](_0x3cf451);})):(this[_0x2606a6(0x20e)](),this['_sessionStatus$'][_0x2606a6(0x244)](0x2),(_0x3c7e86=this[_0x2606a6(0x41e)])==null||_0x3c7e86['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x35d361=_0x4611e8;return this['_sessionStatus$'][_0x35d361(0x1a3)]();}[_0x4611e8(0x24e)](){var _0x46f38c=_0x4611e8,_0xcba822,_0x1f2584;return(_0x1f2584=(_0xcba822=this[_0x46f38c(0x295)])==null?void 0x0:_0xcba822['memberID'])!=null?_0x1f2584:null;}[_0x4611e8(0x48c)](){var _0x53ab14=_0x4611e8;super[_0x53ab14(0x48c)](),this[_0x53ab14(0x1f9)]['next'](),this[_0x53ab14(0x1f9)][_0x53ab14(0x305)]();}[_0x4611e8(0x336)](){var _0x303b18=_0x4611e8,_0x61e77c,_0x310b54;this['_throwTelemetryCollaborationNewChangeset'](),(_0x61e77c=this[_0x303b18(0x295)])==null||_0x61e77c[_0x303b18(0x269)]({'cmd':W[_0x303b18(0x13c)],'data':{'roomID':this[_0x303b18(0x2f0)]}}),(_0x310b54=this[_0x303b18(0x295)])==null||_0x310b54['close'](),this[_0x303b18(0x1f7)]['complete'](),this[_0x303b18(0x2b7)][_0x303b18(0x305)](),this[_0x303b18(0x48c)]();}['_onCombEvent'](_0x2fdec2){var _0x4afc10=_0x4611e8;_0x2fdec2[_0x4afc10(0x3f8)]===W['JOIN']?this[_0x4afc10(0x3e4)](_0x2fdec2):_0x2fdec2[_0x4afc10(0x3f8)]===W[_0x4afc10(0x1f1)]&&this[_0x4afc10(0x21c)](_0x2fdec2);}['_joinRoom'](_0x3b9b3a){var _0x166648=_0x4611e8;this['_sessionStatus$'][_0x166648(0x244)](0x1),_0x3b9b3a[_0x166648(0x269)]({'cmd':W[_0x166648(0x36b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x166648(0x2f0)]}]}});}['_onJoinRoomEvent'](_0x8b7260){var _0x48794b=_0x4611e8,_0x4f00ad;if(_0x8b7260[_0x48794b(0x220)]in Ye){this['_collaborationUIEventService'][_0x48794b(0x14e)]({'id':Z[_0x48794b(0x221)],'data':Ye[_0x8b7260[_0x48794b(0x220)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x3b24e7=(_0x4f00ad=_0x8b7260[_0x48794b(0x33e)]['roomInfos'][this[_0x48794b(0x2f0)]])==null?void 0x0:_0x4f00ad[_0x48794b(0x459)];_0x3b24e7&&_0x3b24e7['forEach'](_0x33e22e=>this[_0x48794b(0x36c)][_0x48794b(0x31c)](this[_0x48794b(0x2f0)],_0x33e22e));}['_onRecvEvent'](_0x182fc2){var _0x399dc5=_0x4611e8;try{const _0x506da9=_0x182fc2[_0x399dc5(0x33e)];switch(_0x506da9['eventID']){case p[_0x399dc5(0x399)]['USERS_ENTER']:this[_0x399dc5(0x1a5)](_0x506da9),this['_event$']['next'](_0x506da9);break;case p[_0x399dc5(0x399)][_0x399dc5(0x408)]:this['_onUserLeave'](_0x506da9),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;case p['CollaborationEvent'][_0x399dc5(0x427)]:case p[_0x399dc5(0x399)]['CHANGESET_SHOULD_RETRY']:this[_0x399dc5(0x23b)](),this['_clearCollaborationTimeoutTimer'](),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;case p[_0x399dc5(0x399)][_0x399dc5(0x3ad)]:this['_logService'][_0x399dc5(0x2b8)](_0x399dc5(0x1d6)+JSON[_0x399dc5(0x37b)](_0x506da9)),this['_event$'][_0x399dc5(0x244)](_0x506da9);break;case p['CollaborationEvent'][_0x399dc5(0x35e)]:this[_0x399dc5(0x219)]['onCommentUpdate'](_0x506da9['data']),this[_0x399dc5(0x1f7)][_0x399dc5(0x244)](_0x506da9);break;default:this['_event$'][_0x399dc5(0x244)](_0x506da9);}}catch(_0x24936f){this['_logService']['error'](_0x24936f,_0x182fc2);}}[_0x4611e8(0x1a5)](_0x40d439){var _0x25a998=_0x4611e8;this[_0x25a998(0x36c)][_0x25a998(0x31c)](this[_0x25a998(0x2f0)],_0x40d439['data']);}[_0x4611e8(0x1df)](_0x4b2226){var _0x19e38d=_0x4611e8;this['_memberService'][_0x19e38d(0x1d5)](this[_0x19e38d(0x2f0)],_0x4b2226[_0x19e38d(0x33e)][_0x19e38d(0x372)]);}async[_0x4611e8(0x269)](_0x511408,_0x35dd05){var _0xd15c5=_0x4611e8;if(this[_0xd15c5(0x354)]!==0x3||!this[_0xd15c5(0x295)])throw new Error(_0xd15c5(0x46d));try{_0x511408[_0xd15c5(0x126)]===p[_0xd15c5(0x399)][_0xd15c5(0x407)]&&(this[_0xd15c5(0x13f)](),this[_0xd15c5(0x18e)](_0x511408)),this['_socket'][_0xd15c5(0x269)]({'cmd':W[_0xd15c5(0x134)],'routeKey':_0x35dd05,'routeType':'','data':_0x511408});}catch(_0x9ae55e){this[_0xd15c5(0x47b)][_0xd15c5(0x2b8)](_0x9ae55e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x35764c=_0x4611e8,_0x4f6fcb;this[_0x35764c(0x280)]=setTimeout(()=>{var _0x5da356=_0x35764c;this['_collaborationTimeoutTimer']=null,this[_0x5da356(0x31d)][_0x5da356(0x14e)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4f6fcb=this[_0x35764c(0x290)][_0x35764c(0x2a9)](ke))!=null?_0x4f6fcb:St);}[_0x4611e8(0x228)](){var _0x3d1085=_0x4611e8;this[_0x3d1085(0x280)]&&(clearTimeout(this[_0x3d1085(0x280)]),this[_0x3d1085(0x280)]=null);}[_0x4611e8(0x18e)](_0x3a916e){var _0x3f69cc=_0x4611e8;if(!this[_0x3f69cc(0x125)])return;const {data:_0x4e92ac}=_0x3a916e,{unitID:_0x32c02a,changeset:_0x408915}=_0x4e92ac,{mutations:_0x12ff26,type:_0x3aedcd}=_0x408915;this[_0x3f69cc(0x136)]={'unitId':_0x32c02a,'type':_0x3aedcd,'startTime':performance[_0x3f69cc(0x42d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x12ff26)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x132c33=_0x4611e8;if(this[_0x132c33(0x125)]){if(!this['_telemetryInfo']){this[_0x132c33(0x47b)][_0x132c33(0x2b8)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x132c33(0x35f)]=performance[_0x132c33(0x42d)](),this[_0x132c33(0x136)]['duration']=this[_0x132c33(0x136)]['stopTime']-this[_0x132c33(0x136)][_0x132c33(0x3f4)],this[_0x132c33(0x24a)][_0x132c33(0x34e)](Xt,this[_0x132c33(0x136)]),this['_telemetryInfo']=null;}}[_0x4611e8(0x20e)](){var _0x2b948a=_0x4611e8;this[_0x2b948a(0x136)]=null;}},exports[_0x4611e8(0x3d7)]=ni([se(0x2,a[_0x4611e8(0x2a6)]),se(0x3,a[_0x4611e8(0x335)]),se(0x4,a[_0x4611e8(0x1dd)](a['LocaleService'])),se(0x5,a['Inject'](exports[_0x4611e8(0x1bd)])),se(0x6,a[_0x4611e8(0x1dd)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x4611e8(0x3e3)](Pt[_0x4611e8(0x214)]))],exports[_0x4611e8(0x3d7)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x26a978,_0x37ba8d,_0x3c4cdc,_0x3db506)=>{var _0x4fdf3e=_0x4611e8;for(var _0x4967cd=_0x3db506>0x1?void 0x0:_0x3db506?ri(_0x37ba8d,_0x3c4cdc):_0x37ba8d,_0x4344a9=_0x26a978[_0x4fdf3e(0x479)]-0x1,_0x1bd055;_0x4344a9>=0x0;_0x4344a9--)(_0x1bd055=_0x26a978[_0x4344a9])&&(_0x4967cd=_0x1bd055(_0x4967cd)||_0x4967cd);return _0x4967cd;},he=(_0x4ecb22,_0x3a1311)=>(_0x4d98c0,_0x5f2d67)=>_0x3a1311(_0x4d98c0,_0x5f2d67,_0x4ecb22);exports[_0x4611e8(0x1f8)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x2f09e6,_0x4f0793,_0x51bdde,_0x5a632e,_0xba0869,_0x3673d4){var _0x394845=_0x4611e8;super(),A(this,_0x394845(0x27a),new $[(_0x394845(0x3c0))](void 0x0)),A(this,_0x394845(0x16f),this[_0x394845(0x27a)][_0x394845(0x2fd)]()),A(this,_0x394845(0x37f),null),A(this,_0x394845(0x248),new Map()),A(this,_0x394845(0x1ef),new $[(_0x394845(0x3c0))](re[_0x394845(0x12b)])),A(this,_0x394845(0x276),this[_0x394845(0x1ef)][_0x394845(0x2fd)]()),A(this,_0x394845(0x296),!0x1),A(this,_0x394845(0x1f5)),A(this,_0x394845(0x39d),0x0),A(this,_0x394845(0x36f)),A(this,_0x394845(0x32b)),(this[_0x394845(0x390)]=_0x2f09e6,this[_0x394845(0x47b)]=_0x4f0793,this[_0x394845(0x290)]=_0x51bdde,this['_socketService']=_0x5a632e,this[_0x394845(0x31d)]=_0xba0869,this[_0x394845(0x208)]=_0x3673d4,this[_0x394845(0x355)]());}get[_0x4611e8(0x295)](){var _0x59faff=_0x4611e8;return this[_0x59faff(0x27a)]['getValue']();}[_0x4611e8(0x355)](){var _0xd8a31f=_0x4611e8;this['_networkConditionService']&&this[_0xd8a31f(0x1b8)](this[_0xd8a31f(0x208)]['online$'][_0xd8a31f(0x46a)](_0x321b91=>{var _0x1df4b7=_0xd8a31f;_0x321b91&&!this['_socket']&&this[_0x1df4b7(0x1d7)](),_0x321b91||this[_0x1df4b7(0x429)]();}));}[_0x4611e8(0x48c)](){var _0x2af4f4=_0x4611e8;super[_0x2af4f4(0x48c)](),this[_0x2af4f4(0x1c3)](),this[_0x2af4f4(0x287)](),this[_0x2af4f4(0x184)](),this[_0x2af4f4(0x248)][_0x2af4f4(0x333)](_0x5cbc6d=>_0x5cbc6d['dispose']()),this[_0x2af4f4(0x248)][_0x2af4f4(0x139)](),this['_status$'][_0x2af4f4(0x305)]();}async['requireSession'](_0x169920){var _0x4d2299=_0x4611e8;if(this['_sessions']['has'](_0x169920))return this[_0x4d2299(0x248)]['get'](_0x169920);this[_0x4d2299(0x2ea)]();const _0x749cf3=this['_injector'][_0x4d2299(0x46b)](exports[_0x4d2299(0x3d7)],_0x169920,this[_0x4d2299(0x27a)][_0x4d2299(0x2fd)]());return this[_0x4d2299(0x248)][_0x4d2299(0x175)](_0x169920,_0x749cf3),_0x749cf3;}[_0x4611e8(0x18b)](_0x2220c0){var _0x19f05d=_0x4611e8,_0x48bc8f;const _0x5613e4=this[_0x19f05d(0x248)][_0x19f05d(0x306)](_0x2220c0);_0x5613e4&&(this[_0x19f05d(0x248)][_0x19f05d(0x44f)](_0x2220c0),_0x5613e4[_0x19f05d(0x336)]()),this[_0x19f05d(0x248)][_0x19f05d(0x226)]||(_0x48bc8f=this[_0x19f05d(0x295)])==null||_0x48bc8f['close']();}[_0x4611e8(0x1d7)](){var _0x1850e4=_0x4611e8;this[_0x1850e4(0x39d)]=0x0,this[_0x1850e4(0x1c3)](),this[_0x1850e4(0x189)]();}['_clearRetryConnectingTimer'](){var _0x5e96dc=_0x4611e8;this[_0x5e96dc(0x1f5)]!=null&&(clearTimeout(this[_0x5e96dc(0x1f5)]),this[_0x5e96dc(0x1f5)]=null);}async['_createSocket'](){var _0x459ecb=_0x4611e8,_0x283a48,_0xbf5c22;const _0x876f58=this[_0x459ecb(0x290)][_0x459ecb(0x2a9)](ut),_0x3a008e=this['_configService'][_0x459ecb(0x2a9)](G),_0xc413c5=(_0xbf5c22=(_0x283a48=_0x3a008e==null?void 0x0:_0x3a008e[_0x459ecb(0x441)])!=null?_0x283a48:_0x876f58)!=null?_0xbf5c22:dt,_0x50977d=await this[_0x459ecb(0x46f)][_0x459ecb(0x26d)](_0xc413c5);return this[_0x459ecb(0x37f)]=_0x50977d,_0x50977d;}async[_0x4611e8(0x2ea)](){var _0x592130=_0x4611e8,_0x5ece64,_0x4507a6;try{const _0x1d96bf=(_0x4507a6=(_0x5ece64=this[_0x592130(0x295)])!=null?_0x5ece64:this[_0x592130(0x37f)])!=null?_0x4507a6:await this['_createSocket']();if(_0x1d96bf){const _0x4cfc22=_0x1d96bf['send'];_0x1d96bf['send']=_0x5b40f6=>(this[_0x592130(0x150)](),_0x4cfc22[_0x592130(0x297)](_0x1d96bf,[_0x5b40f6])),_0x1d96bf[_0x592130(0x2c1)][_0x592130(0x46a)](_0x143570=>this[_0x592130(0x41d)](_0x1d96bf,_0x143570)),_0x1d96bf[_0x592130(0x424)][_0x592130(0x121)](V[_0x592130(0x26b)](0x1))[_0x592130(0x46a)](_0x3eb3f6=>this['_logService'][_0x592130(0x2b8)](_0x592130(0x2eb),_0x3eb3f6)),_0x1d96bf[_0x592130(0x1fb)][_0x592130(0x121)](V[_0x592130(0x26b)](0x1))[_0x592130(0x46a)](()=>{var _0x2ae69b=_0x592130;this[_0x2ae69b(0x2b9)](_0x1d96bf);}),_0x1d96bf['close$'][_0x592130(0x121)](V['take'](0x1))[_0x592130(0x46a)](_0x5d47bc=>{var _0x12f9aa=_0x592130;this[_0x12f9aa(0x47b)]['debug'](_0x12f9aa(0x3ee),'socket\x20close',_0x5d47bc),this[_0x12f9aa(0x268)]();});}}catch(_0x5362b7){this[_0x592130(0x47b)]['error'](_0x5362b7),this[_0x592130(0x268)]();}}[_0x4611e8(0x2b9)](_0x19864f){var _0x58ce89=_0x4611e8;this[_0x58ce89(0x47b)][_0x58ce89(0x20b)](_0x58ce89(0x3ee),_0x58ce89(0x138)),_0x19864f[_0x58ce89(0x269)]({'cmd':W['HELLO']}),this[_0x58ce89(0x150)]();}[_0x4611e8(0x429)](){var _0x16a44c=_0x4611e8;this[_0x16a44c(0x296)]=!0x1,this[_0x16a44c(0x37f)]=null,this['_status$']['next'](re[_0x16a44c(0x284)]),this[_0x16a44c(0x27a)][_0x16a44c(0x244)](null),this['_clearTimeoutTimer'](),this[_0x16a44c(0x184)]();}[_0x4611e8(0x268)](){var _0x299b8f=_0x4611e8,_0x16e54e;this[_0x299b8f(0x429)](),this[_0x299b8f(0x39d)]<((_0x16e54e=this[_0x299b8f(0x290)][_0x299b8f(0x2a9)](ft))!=null?_0x16e54e:jt)?(this[_0x299b8f(0x31d)][_0x299b8f(0x14e)]({'id':Z[_0x299b8f(0x41a)]}),this[_0x299b8f(0x189)]()):this[_0x299b8f(0x31d)][_0x299b8f(0x14e)]({'id':Z[_0x299b8f(0x418)]});}[_0x4611e8(0x189)](){var _0x4e53e1=_0x4611e8,_0x33d383;const _0x344316=this[_0x4e53e1(0x39d)],_0x25735f=this[_0x4e53e1(0x290)][_0x4e53e1(0x2a9)](G),_0x3d1179=_0x344316===0x0?0x0:((_0x33d383=_0x25735f==null?void 0x0:_0x25735f[_0x4e53e1(0x241)])!=null?_0x33d383:$t)*0x2**_0x344316;this[_0x4e53e1(0x1f5)]=setTimeout(()=>{var _0x5ecd74=_0x4e53e1;clearTimeout(this[_0x5ecd74(0x1f5)]),this[_0x5ecd74(0x1f5)]=null,this[_0x5ecd74(0x2ea)]();},_0x3d1179),this['_retryCount']+=0x1;}[_0x4611e8(0x41d)](_0x156bcf,_0x432b29){var _0x358af0=_0x4611e8;const {cmd:_0x4025a4}=_0x432b29;_0x4025a4===W[_0x358af0(0x3df)]&&!this[_0x358af0(0x296)]&&(_0x156bcf[_0x358af0(0x372)]=_0x432b29[_0x358af0(0x33e)][_0x358af0(0x372)],this[_0x358af0(0x27a)][_0x358af0(0x244)](_0x156bcf),this[_0x358af0(0x1ef)][_0x358af0(0x244)](re[_0x358af0(0x3d8)]),this[_0x358af0(0x296)]=!0x0,this[_0x358af0(0x37f)]=null),_0x4025a4===W['HEARTBEAT']&&this[_0x358af0(0x287)](),this[_0x358af0(0x150)]();}[_0x4611e8(0x150)](){var _0x4300e7=_0x4611e8,_0x46be0e;this[_0x4300e7(0x184)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4300e7(0x29f)](),(_0x46be0e=this[_0x4300e7(0x290)][_0x4300e7(0x2a9)](vt))!=null?_0x46be0e:Ht);}[_0x4611e8(0x29f)](){var _0x350aa=_0x4611e8;this[_0x350aa(0x295)][_0x350aa(0x269)]({'cmd':W[_0x350aa(0x1ee)]}),this[_0x350aa(0x467)]();}['_waitForHeartbeatResponse'](){var _0x4472bf=_0x4611e8,_0x539b94;this[_0x4472bf(0x32b)]=setTimeout(()=>this[_0x4472bf(0x268)](),(_0x539b94=this['_configService'][_0x4472bf(0x2a9)](ke))!=null?_0x539b94:St);}['_clearHeartbeatTimer'](){var _0x46b875=_0x4611e8;this[_0x46b875(0x36f)]!=null&&(clearTimeout(this[_0x46b875(0x36f)]),this[_0x46b875(0x36f)]=null);}[_0x4611e8(0x287)](){var _0x5f5afc=_0x4611e8;this[_0x5f5afc(0x32b)]!=null&&(clearTimeout(this[_0x5f5afc(0x32b)]),this['_timeoutTimer']=null);}},exports[_0x4611e8(0x1f8)]=si([he(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),he(0x1,a[_0x4611e8(0x2a6)]),he(0x2,a[_0x4611e8(0x335)]),he(0x3,He),he(0x4,a[_0x4611e8(0x1dd)](ee)),he(0x5,a[_0x4611e8(0x3e3)](mt))],exports[_0x4611e8(0x1f8)]);const q=a[_0x4611e8(0x12d)]('collaboration-client.local-cache-service');function oi(_0x172ed9){return'unit-cache-'+_0x172ed9;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x3777e4,_0x29e36a,_0x35496f,_0x53a3e7)=>{var _0xbd45db=_0x4611e8;for(var _0x3a7871=_0x53a3e7>0x1?void 0x0:_0x53a3e7?ai(_0x29e36a,_0x35496f):_0x29e36a,_0x12224a=_0x3777e4[_0xbd45db(0x479)]-0x1,_0x17296c;_0x12224a>=0x0;_0x12224a--)(_0x17296c=_0x3777e4[_0x12224a])&&(_0x3a7871=_0x17296c(_0x3a7871)||_0x3a7871);return _0x3a7871;},Ue=(_0x20da61,_0x370dd1)=>(_0x3edfc3,_0x3187c4)=>_0x370dd1(_0x3edfc3,_0x3187c4,_0x20da61);function hi(_0x497796){var _0x38dbfa=_0x4611e8;const {unitID:_0xc0adc7,mutations:_0x1e6077}=_0x497796;return{'unitId':_0xc0adc7,'subUnitId':_0x1e6077[0x0][_0x38dbfa(0x3b8)]['subUnitId']};}exports[_0x4611e8(0x422)]=class{constructor(_0x58ea22,_0x5ad44f,_0x27362f){var _0x37ba53=_0x4611e8;this[_0x37ba53(0x390)]=_0x58ea22,this[_0x37ba53(0x2da)]=_0x5ad44f,this['_instanceService']=_0x27362f;}['transformSelections'](_0x5cc3cc){var _0x3a670b=_0x4611e8,_0x34aad0,_0x3e94dd,_0x35984b,_0x2986c8;const _0x2c7722=this[_0x3a670b(0x390)]['get'](X[_0x3a670b(0x1d2)]),{unitId:_0xc356d7,subUnitId:_0x494e02}=hi(_0x5cc3cc),_0x313015=_0x2c7722==null?void 0x0:_0x2c7722[_0x3a670b(0x3e0)](_0xc356d7)['getCurrentSelections'](),_0x31bda5=(_0x3e94dd=(_0x34aad0=this[_0x3a670b(0x492)][_0x3a670b(0x17d)](_0xc356d7))==null?void 0x0:_0x34aad0[_0x3a670b(0x1b2)]())==null?void 0x0:_0x3e94dd[_0x3a670b(0x3d3)]();if(_0x313015[_0x3a670b(0x479)]===0x0||!_0xc356d7||!_0x494e02)return;const _0x548dab=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xc356d7,'subUnitId':_0x31bda5,'selections':a['Tools'][_0x3a670b(0x347)](_0x313015)}}],_0x3ba481=this[_0x3a670b(0x2da)][_0x3a670b(0x16c)](_0x5cc3cc,_0x548dab);if(!p[_0x3a670b(0x1dc)](_0x3ba481))throw _0x3ba481[_0x3a670b(0x2b8)];const _0x3a99e5=(_0x2986c8=(_0x35984b=_0x3ba481[_0x3a670b(0x428)][0x0])==null?void 0x0:_0x35984b['params'])==null?void 0x0:_0x2986c8[_0x3a670b(0x247)];if(Array['isArray'](_0x3a99e5)&&_0x3a99e5[_0x3a670b(0x479)]){if(_0x3a99e5[_0x3a670b(0x479)]===_0x548dab[0x0][_0x3a670b(0x3b8)][_0x3a670b(0x247)][_0x3a670b(0x479)]&&_0x3a99e5[_0x3a670b(0x396)]((_0x3443fe,_0x431a7c)=>a[_0x3a670b(0x485)][_0x3a670b(0x197)](_0x3443fe['range'],_0x548dab[0x0][_0x3a670b(0x3b8)]['selections'][_0x431a7c]['range'])))return;this[_0x3a670b(0x390)][_0x3a670b(0x306)](a[_0x3a670b(0x359)])[_0x3a670b(0x147)](X[_0x3a670b(0x19d)]['id'],{'unitId':_0xc356d7,'subUnitId':_0x31bda5,'selections':_0x3a99e5});}}},exports[_0x4611e8(0x422)]=ci([Ue(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x4611e8(0x227)])],exports[_0x4611e8(0x422)]);const de=a[_0x4611e8(0x12d)](_0x4611e8(0x252));var je=(_0x504bee=>(_0x504bee[_0x504bee[_0x4611e8(0x483)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x504bee[_0x504bee[_0x4611e8(0x11f)]=0x1]='OTHER_CLIENTS_EDITING',_0x504bee))(je||{});const _i=new Set([X[_0x4611e8(0x223)]['id']]);function Ge(_0x26b9d0,_0x3e48ff,_0x599572,_0x411f03,_0x39a6b6){var _0x260bfb=_0x4611e8,_0x5e3889,_0x4a7d20,_0x3897e1,_0x41b80e;const _0x4f04d2=[];for(const _0x2145b3 of _0x26b9d0)if(_i['has'](_0x2145b3['id'])){if(_0x4f04d2[_0x260bfb(0x479)]>0x0)break;_0x4f04d2[_0x260bfb(0x475)](_0x2145b3);break;}else _0x4f04d2['push'](_0x2145b3);const _0x46f7fe=(_0x4a7d20=(_0x5e3889=_0x39a6b6[_0x260bfb(0x45e)]())==null?void 0x0:_0x5e3889[_0x260bfb(0x23a)])!=null?_0x4a7d20:_0x260bfb(0x484),_0x10efdc=(_0x41b80e=(_0x3897e1=_0x39a6b6[_0x260bfb(0x45e)]())==null?void 0x0:_0x3897e1[_0x260bfb(0x372)])!=null?_0x41b80e:_0x260bfb(0x484);return{'changeset':{'unitID':_0x3e48ff,'type':p[_0x260bfb(0x436)](_0x599572[_0x260bfb(0x369)](_0x3e48ff)),'baseRev':_0x411f03[_0x260bfb(0x1b0)](_0x3e48ff),'revision':0x0,'userID':_0x46f7fe,'memberID':_0x10efdc,'mutations':_0x4f04d2},'pendingMutations':_0x26b9d0[_0x260bfb(0x3bc)](_0x4f04d2[_0x260bfb(0x479)])};}function li(_0x5eb585,_0xcb5fac,_0x2a219a,_0x456762,_0x5a5066){var _0x1171d8=_0x4611e8,_0x280235,_0x20d413,_0x414a36,_0x1333cc;const _0x1d2984=[_0x5eb585[_0x1171d8(0x242)]((_0x19187d,_0x14fafa)=>{var _0x269127=_0x1171d8,_0x313986;const {id:_0x8934dc}=_0x19187d,{id:_0x454995,type:_0xb1df3e}=_0x14fafa,_0x244da0=(_0x313986=_0x19187d['params'])!=null?_0x313986:{'actions':null},_0x402e7d=_0x14fafa[_0x269127(0x3b8)];if(_0x8934dc&&_0x8934dc!==_0x454995)throw new Error(_0x269127(0x239)+_0x8934dc+_0x269127(0x312)+_0x454995+'.');return{..._0x19187d,'id':_0x454995,'type':_0xb1df3e,'params':{'unitId':_0x402e7d[_0x269127(0x218)],'textRanges':_0x402e7d[_0x269127(0x15a)],'actions':a[_0x269127(0x1e5)][_0x269127(0x279)](_0x244da0[_0x269127(0x179)],_0x402e7d['actions'])}};},{})],_0x2d7f10=(_0x20d413=(_0x280235=_0x5a5066['getCurrentUser']())==null?void 0x0:_0x280235[_0x1171d8(0x23a)])!=null?_0x20d413:_0x1171d8(0x484),_0x55c96f=(_0x1333cc=(_0x414a36=_0x5a5066[_0x1171d8(0x45e)]())==null?void 0x0:_0x414a36[_0x1171d8(0x372)])!=null?_0x1333cc:_0x1171d8(0x484);return{'changeset':{'unitID':_0xcb5fac,'type':p[_0x1171d8(0x436)](_0x2a219a[_0x1171d8(0x369)](_0xcb5fac)),'baseRev':_0x456762[_0x1171d8(0x1b0)](_0xcb5fac),'revision':0x0,'userID':_0x2d7f10,'memberID':_0x55c96f,'mutations':_0x1d2984},'pendingMutations':[]};}function bt(_0x5572f0,_0x267838){var _0x5b085b=_0x4611e8;const _0x118438=new $[(_0x5b085b(0x3bb))](0x1);return setTimeout(()=>_0x118438['next'](_0x267838),_0x5572f0),_0x118438['asObservable']()[_0x5b085b(0x121)]($['take'](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a['CommandType'][_0x4611e8(0x3a3)],'params':{}};var di=Object[_0x4611e8(0x1b5)],ae=(_0x4014df,_0x3e690e,_0x29f1e1,_0x55b400)=>{for(var _0x42cf87=_0x55b400>0x1?void 0x0:_0x55b400?di(_0x3e690e,_0x29f1e1):_0x3e690e,_0x3b1257=_0x4014df['length']-0x1,_0x2cab06;_0x3b1257>=0x0;_0x3b1257--)(_0x2cab06=_0x4014df[_0x3b1257])&&(_0x42cf87=_0x2cab06(_0x42cf87)||_0x42cf87);return _0x42cf87;},L=(_0x36bf9f,_0x3f0ab0)=>(_0x12f326,_0x35c242)=>_0x3f0ab0(_0x12f326,_0x35c242,_0x36bf9f),Be=(_0x32e45f=>(_0x32e45f[_0x4611e8(0x3c1)]=_0x4611e8(0x156),_0x32e45f[_0x4611e8(0x41b)]=_0x4611e8(0x33a),_0x32e45f[_0x4611e8(0x2e2)]=_0x4611e8(0x2ac),_0x32e45f['AWAITING']=_0x4611e8(0x3e9),_0x32e45f[_0x4611e8(0x144)]=_0x4611e8(0x3be),_0x32e45f[_0x4611e8(0x17c)]=_0x4611e8(0x2e8),_0x32e45f[_0x4611e8(0x36d)]=_0x4611e8(0x482),_0x32e45f[_0x4611e8(0x284)]='offline',_0x32e45f))(Be||{});const Rt=0xea60;class ce{constructor(_0x4bac7b,_0x1e93af,_0xb936cf,_0x41185d,_0x24decc,_0x579313,_0x2dc048,_0x5bf4f7,_0xa99dc4){var _0x483006=_0x4611e8;A(this,_0x483006(0x211),null),A(this,_0x483006(0x2d4),[]),(this['unitID']=_0x4bac7b,this[_0x483006(0x442)]=_0x1e93af,this['_handler']=_0x24decc,this[_0x483006(0x1b4)]=_0x579313,this[_0x483006(0x456)]=_0x2dc048,this[_0x483006(0x206)]=_0x5bf4f7,this['_localCacheService']=_0xa99dc4,this[_0x483006(0x211)]=_0xb936cf,this[_0x483006(0x2d4)]=_0x41185d);}[_0x4611e8(0x331)](_0x5e5290){var _0x2f6d16=_0x4611e8;const _0x24ffb8=this['_revisionService'][_0x2f6d16(0x1b0)](this[_0x2f6d16(0x39e)]);return _0x5e5290['revision']>_0x24ffb8+0x1?(this[_0x2f6d16(0x256)][_0x2f6d16(0x47e)]({'from':_0x24ffb8,'to':_0x5e5290[_0x2f6d16(0x40d)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1f8600){var _0x5eefb8=_0x4611e8;this[_0x5eefb8(0x456)][_0x5eefb8(0x1c1)](this[_0x5eefb8(0x39e)],_0x1f8600);}[_0x4611e8(0x40a)](_0x590b1d){var _0x37535f=_0x4611e8,_0x2378c4,_0x3b2a11;(_0x3b2a11=(_0x2378c4=this[_0x37535f(0x256)])['onTransformSelections'])==null||_0x3b2a11[_0x37535f(0x415)](_0x2378c4,_0x590b1d);}['_transformIMECache'](_0x26937c){var _0x1a8d99=_0x4611e8,_0x173ee6,_0x3d3960;return(_0x3d3960=(_0x173ee6=this[_0x1a8d99(0x256)])['onTransformIME'])==null?void 0x0:_0x3d3960['call'](_0x173ee6,_0x26937c);}[_0x4611e8(0x132)](_0x5675c6){var _0xc686a4=_0x4611e8,_0x1831d5,_0x202a5d;return(_0x202a5d=(_0x1831d5=this[_0xc686a4(0x256)])['onTransformState'])==null?void 0x0:_0x202a5d[_0xc686a4(0x415)](_0x1831d5,_0x5675c6);}[_0x4611e8(0x35a)](_0x421005){var _0x85966f=_0x4611e8,_0x55bec2,_0x1e8cf4,_0x1f5c79;return(_0x1f5c79=(_0x1e8cf4=(_0x55bec2=this['_handler'])[_0x85966f(0x3ae)])==null?void 0x0:_0x1e8cf4[_0x85966f(0x415)](_0x55bec2,_0x421005))!=null?_0x1f5c79:_0x421005;}[_0x4611e8(0x2d5)](_0x531bb9){var _0x3739e4=_0x4611e8,_0x4b5b20,_0x10c704,_0x7a97cb;return(_0x7a97cb=(_0x10c704=(_0x4b5b20=this[_0x3739e4(0x256)])[_0x3739e4(0x423)])==null?void 0x0:_0x10c704[_0x3739e4(0x415)](_0x4b5b20,_0x531bb9))!=null?_0x7a97cb:_0x531bb9;}[_0x4611e8(0x30e)](_0x4f0b9f){var _0x46d190=_0x4611e8,_0x2530d7,_0x3a355c;if(this[_0x46d190(0x442)]===J['UNIVER_DOC']){const {unitID:_0x3ceed0,mutations:_0x41a688,memberID:_0x4749eb}=_0x4f0b9f,_0x5b63e7=_0x41a688[0x0]['params'][_0x46d190(0x15a)];Array[_0x46d190(0x28f)](_0x5b63e7)&&_0x5b63e7[_0x46d190(0x479)]>0x0&&((_0x3a355c=(_0x2530d7=this[_0x46d190(0x256)])[_0x46d190(0x2bf)])==null||_0x3a355c[_0x46d190(0x415)](_0x2530d7,{'unitID':_0x3ceed0,'memberID':_0x4749eb,'textRanges':_0x5b63e7}));}}[_0x4611e8(0x263)](){var _0x2cc20d=_0x4611e8,_0x2513e5;(_0x2513e5=this[_0x2cc20d(0x1d4)])==null||_0x2513e5[_0x2cc20d(0x3d5)](this[_0x2cc20d(0x39e)],this['type'],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x4611e8(0x1a7)](){var _0x45a364=_0x4611e8;return this[_0x45a364(0x206)][_0x45a364(0x1b0)](this['unitID']);}['_incrementRevisionNumber'](){var _0x1bc87d=_0x4611e8;this[_0x1bc87d(0x206)][_0x1bc87d(0x267)](this['unitID']);}[_0x4611e8(0x1aa)](_0x48526b){var _0x992022=_0x4611e8,_0x5d61ce;let _0x10938=this[_0x992022(0x35a)](_0x48526b);_0x10938=this['_transformRemoteChangesetByStateCache'](_0x10938);const _0x3043f6=a[_0x992022(0x2c3)](_0x10938[_0x992022(0x438)],this[_0x992022(0x1b4)],{'fromCollab':!0x0});if(!_0x3043f6['result'])throw _0x3043f6[_0x992022(0x2b8)]instanceof Error?_0x3043f6[_0x992022(0x2b8)]:new Error((_0x5d61ce=_0x3043f6[_0x992022(0x2b8)])!=null?_0x5d61ce:_0x992022(0x142));this[_0x992022(0x201)](_0x10938),this[_0x992022(0x132)](_0x10938),this[_0x992022(0x171)](_0x48526b),this[_0x992022(0x40a)](_0x10938),this[_0x992022(0x30e)](_0x10938),this['_incrementRevisionNumber']();}}exports[_0x4611e8(0x324)]=class extends ce{constructor(_0x2cd293,_0x40b527,_0x546535,_0x184185,_0x163a18,_0x486cf1,_0x4ec8b9,_0x123e87,_0x1f932b,_0x9a40e0){var _0x14d707=_0x4611e8;super(_0x2cd293,_0x40b527,null,[],_0x546535,_0x4ec8b9,_0x486cf1,_0x184185,_0x9a40e0),A(this,_0x14d707(0x187),_0x14d707(0x33a)),(this['_injector']=_0x163a18,this[_0x14d707(0x47b)]=_0x123e87,this[_0x14d707(0x2da)]=_0x1f932b,this['localCacheService']=_0x9a40e0);}[_0x4611e8(0x362)](_0x286955){var _0x33e586=_0x4611e8;const _0x50031f=this[_0x33e586(0x390)][_0x33e586(0x46b)](exports[_0x33e586(0x186)],this[_0x33e586(0x39e)],this[_0x33e586(0x442)],[_0x286955],this['_handler']);return _0x50031f[_0x33e586(0x3fd)](),_0x50031f[_0x33e586(0x263)](),_0x50031f;}[_0x4611e8(0x20f)](_0x8e93ac){var _0x5b595c=_0x4611e8;if(this['_checkMissing'](_0x8e93ac))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x5b595c(0x39e)],this[_0x5b595c(0x442)],null,[],null,[_0x8e93ac],this[_0x5b595c(0x256)]);try{const _0x5b579a=this[_0x5b595c(0x2da)][_0x5b595c(0x16c)](_0x8e93ac,[ui]);if(p[_0x5b595c(0x1dc)](_0x5b579a)){const {c1Prime:_0x23a8c2}=_0x5b579a;return this[_0x5b595c(0x1aa)](_0x23a8c2),this;}throw _0x5b579a[_0x5b595c(0x2b8)];}catch(_0x408854){return this['_logService']['error'](_0x408854),this[_0x5b595c(0x278)](!0x1);}}[_0x4611e8(0x278)](_0x2394a3){var _0x34d825=_0x4611e8;return this[_0x34d825(0x390)]['createInstance'](exports['ConflictState'],this['unitID'],this[_0x34d825(0x442)],null,[],this['_handler'],_0x2394a3);}[_0x4611e8(0x3ed)](){var _0x34f9d4=_0x4611e8;throw new Error(_0x34f9d4(0x33f));}[_0x4611e8(0x1e8)](){var _0x471812=_0x4611e8;throw new Error(_0x471812(0x1ab));}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){var _0x24db03=_0x4611e8;return this[_0x24db03(0x390)][_0x24db03(0x46b)](exports['OfflineState'],this[_0x24db03(0x39e)],this[_0x24db03(0x442)],null,[],this[_0x24db03(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x76e8a0=_0x4611e8;throw new Error(_0x76e8a0(0x3f6));}[_0x4611e8(0x3b9)](){var _0x1a8931=_0x4611e8;const _0x31e118=this[_0x1a8931(0x206)][_0x1a8931(0x1b0)](this[_0x1a8931(0x39e)]);return this[_0x1a8931(0x256)][_0x1a8931(0x47e)]({'from':_0x31e118,'to':0x0}),this[_0x1a8931(0x390)][_0x1a8931(0x46b)](exports['FetchingMissState'],this[_0x1a8931(0x39e)],this[_0x1a8931(0x442)],null,[],null,[],this[_0x1a8931(0x256)]);}},exports['SyncedState']=ae([L(0x3,a[_0x4611e8(0x1dd)](p['RevisionService'])),L(0x4,a['Inject'](a[_0x4611e8(0x425)])),L(0x5,a['IUndoRedoService']),L(0x6,a['ICommandService']),L(0x7,a['ILogService']),L(0x8,p['ITransformService']),L(0x9,a['Optional'](q))],exports['SyncedState']),exports[_0x4611e8(0x186)]=class extends ce{constructor(_0x27af0b,_0x1199dc,_0x457731,_0x2ba087,_0x20ca98,_0x14b6ec,_0x3ea30f,_0x322763,_0x33d159,_0x39b404,_0x521844,_0x3cd2c2,_0x1c90f7,_0xbfbdaf){var _0x4eca96=_0x4611e8;super(_0x27af0b,_0x1199dc,null,_0x457731,_0x2ba087,_0x33d159,_0x1c90f7,_0x14b6ec,_0xbfbdaf),A(this,'status','pending'),A(this,_0x4eca96(0x259),null),A(this,'_sendingTimer',null),(this[_0x4eca96(0x390)]=_0x20ca98,this[_0x4eca96(0x36c)]=_0x3ea30f,this[_0x4eca96(0x47b)]=_0x322763,this[_0x4eca96(0x290)]=_0x39b404,this[_0x4eca96(0x2da)]=_0x521844,this[_0x4eca96(0x322)]=_0x3cd2c2);}[_0x4611e8(0x362)](_0x13f227){var _0x401465=_0x4611e8;return this[_0x401465(0x2d4)][_0x401465(0x475)](_0x13f227),this[_0x401465(0x263)](),this;}['onRemoteChangeset'](_0x16799b){var _0x59e53d=_0x4611e8;if(this[_0x59e53d(0x331)](_0x16799b))return this[_0x59e53d(0x309)](),this[_0x59e53d(0x390)][_0x59e53d(0x46b)](exports[_0x59e53d(0x34d)],this['unitID'],this['type'],null,this[_0x59e53d(0x2d4)],null,[_0x16799b],this[_0x59e53d(0x256)]);try{const _0x543510=this[_0x59e53d(0x2da)][_0x59e53d(0x16c)](_0x16799b,this[_0x59e53d(0x2d4)]);if(p[_0x59e53d(0x1dc)](_0x543510)){const {c1Prime:_0x19bf43,m2Prime:_0x447eb6}=_0x543510;this['_executeRemoteChangeset'](_0x19bf43);const _0x636fe5=this[_0x59e53d(0x390)]['createInstance'](exports[_0x59e53d(0x186)],this[_0x59e53d(0x39e)],this[_0x59e53d(0x442)],_0x447eb6,this['_handler']);this[_0x59e53d(0x309)]();const _0x3eca96=new Date()[_0x59e53d(0x2b1)](),_0x5a7315=this['_scheduleCompleteTimestamp']?Math[_0x59e53d(0x2d8)](this[_0x59e53d(0x259)]-_0x3eca96,0x0):this[_0x59e53d(0x346)]();return _0x636fe5[_0x59e53d(0x3fd)](_0x5a7315),_0x636fe5;}throw _0x543510[_0x59e53d(0x2b8)];}catch(_0x282770){return this[_0x59e53d(0x47b)]['error'](_0x282770),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x4611e8(0x1e8)](){var _0x272618=_0x4611e8;throw new Error(_0x272618(0x122));}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){var _0x1f6833=_0x4611e8;return this['_clearScheduledTask'](),this[_0x1f6833(0x390)][_0x1f6833(0x46b)](exports[_0x1f6833(0x311)],this[_0x1f6833(0x39e)],this['type'],null,this[_0x1f6833(0x2d4)],this[_0x1f6833(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x3fd)](_0x134adb){var _0x5850a3=_0x4611e8;const _0xe15a7b=_0x134adb!=null?_0x134adb:this['_getSendChangesetTimeout']();this[_0x5850a3(0x259)]=new Date()[_0x5850a3(0x2b1)]()+_0xe15a7b,this['_sendingTimer']=setTimeout(()=>{var _0x232116=_0x5850a3;this[_0x232116(0x309)]();let _0x160abf=null;switch(this[_0x232116(0x442)]){case J[_0x232116(0x1c8)]:{_0x160abf=Ge(this[_0x232116(0x2d4)],this[_0x232116(0x39e)],this[_0x232116(0x322)],this['_revisionService'],this[_0x232116(0x36c)]);break;}case J['UNIVER_DOC']:{this['_pendingMutations'][_0x232116(0x396)](_0x1a55a0=>_0x1a55a0['id']===ht[_0x232116(0x39a)]['id'])?_0x160abf=li(this[_0x232116(0x2d4)],this['unitID'],this['_univerInstanceService'],this[_0x232116(0x206)],this[_0x232116(0x36c)]):_0x160abf=Ge(this[_0x232116(0x2d4)],this[_0x232116(0x39e)],this[_0x232116(0x322)],this['_revisionService'],this[_0x232116(0x36c)]);break;}default:throw new Error(_0x232116(0x161)+this[_0x232116(0x442)]+_0x232116(0x2a3));}const {changeset:_0x45b5cd,pendingMutations:_0x108cdd}=_0x160abf;this['_handler'][_0x232116(0x3e7)](_0x45b5cd);const _0x2cbce9=_0x108cdd[_0x232116(0x479)]?this['_injector'][_0x232116(0x46b)](exports['AwaitingWithPendingState'],this[_0x232116(0x39e)],this[_0x232116(0x442)],_0x45b5cd,_0x108cdd,this[_0x232116(0x256)],void 0x0):this[_0x232116(0x390)][_0x232116(0x46b)](exports[_0x232116(0x30b)],this[_0x232116(0x39e)],this[_0x232116(0x442)],_0x45b5cd,this[_0x232116(0x256)]);_0x2cbce9[_0x232116(0x263)](),this['_handler']['onStateChange'](this,_0x2cbce9);},_0xe15a7b);}[_0x4611e8(0x346)](){var _0x573cf1=_0x4611e8,_0x2d8938;const _0x485c77=this[_0x573cf1(0x290)][_0x573cf1(0x2a9)](G);return(_0x2d8938=_0x485c77==null?void 0x0:_0x485c77[_0x573cf1(0x33c)])!=null?_0x2d8938:xt;}[_0x4611e8(0x148)](){var _0x4681f4=_0x4611e8;throw new Error(_0x4681f4(0x3dc));}[_0x4611e8(0x309)](){var _0x408b5b=_0x4611e8;this['_sendingTimer']!=null&&(clearTimeout(this[_0x408b5b(0x200)]),this['_sendingTimer']=null);}[_0x4611e8(0x278)](_0x4314e5){var _0x78278e=_0x4611e8;return this[_0x78278e(0x309)](),this[_0x78278e(0x390)][_0x78278e(0x46b)](exports[_0x78278e(0x360)],this[_0x78278e(0x39e)],this['type'],null,this['_pendingMutations'],this[_0x78278e(0x256)],_0x4314e5);}},exports[_0x4611e8(0x186)]=ae([L(0x4,a[_0x4611e8(0x1dd)](a['Injector'])),L(0x5,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x6,a[_0x4611e8(0x1dd)](exports[_0x4611e8(0x1bd)])),L(0x7,a[_0x4611e8(0x2a6)]),L(0x8,a[_0x4611e8(0x359)]),L(0x9,a[_0x4611e8(0x335)]),L(0xa,p[_0x4611e8(0x44a)]),L(0xb,a[_0x4611e8(0x227)]),L(0xc,a[_0x4611e8(0x20d)]),L(0xd,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x186)]),exports[_0x4611e8(0x30b)]=class extends ce{constructor(_0x4d41d6,_0x5dcd5a,_0x1c2f88,_0x34f7b6,_0x5ea2c4,_0x211ffd,_0x2cf281,_0x363405,_0x4b51d4,_0x51b9b9,_0x1b87d2){var _0x792f24=_0x4611e8;super(_0x4d41d6,_0x5dcd5a,_0x1c2f88,[],_0x34f7b6,_0x2cf281,_0x51b9b9,_0x211ffd,_0x1b87d2),A(this,'status',_0x792f24(0x3e9)),A(this,_0x792f24(0x477),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x792f24(0x390)]=_0x5ea2c4,this[_0x792f24(0x47b)]=_0x363405,this['_transformService']=_0x4b51d4);}['appendMutation'](_0x339db8){var _0x351c0d=_0x4611e8;this[_0x351c0d(0x309)]();const _0x2ff64d=this[_0x351c0d(0x390)][_0x351c0d(0x46b)](exports[_0x351c0d(0x357)],this[_0x351c0d(0x39e)],this[_0x351c0d(0x442)],this['_awaitingChangeset'],[_0x339db8],this['_handler'],this[_0x351c0d(0x178)]);return _0x2ff64d[_0x351c0d(0x263)](),_0x2ff64d;}[_0x4611e8(0x20f)](_0x12897a){var _0x113a8c=_0x4611e8;if(this[_0x113a8c(0x331)](_0x12897a))return this['_clearScheduledTask'](),this['_injector'][_0x113a8c(0x46b)](exports[_0x113a8c(0x34d)],this[_0x113a8c(0x39e)],this[_0x113a8c(0x442)],this[_0x113a8c(0x211)],[],null,[_0x12897a],this[_0x113a8c(0x256)]);try{const _0xe1a2cc=this[_0x113a8c(0x2da)]['transformChangesets']([_0x12897a],[this[_0x113a8c(0x211)]],!0x1);if(p[_0x113a8c(0x350)](_0xe1a2cc)){const {c1Prime:_0x1c175c,c2Prime:_0x521a16}=_0xe1a2cc;this[_0x113a8c(0x1aa)](_0x1c175c[0x0]),_0x521a16[0x0][_0x113a8c(0x32c)]=this[_0x113a8c(0x1a7)](),this[_0x113a8c(0x309)]();const _0x552e41=this['_injector'][_0x113a8c(0x46b)](exports[_0x113a8c(0x30b)],this[_0x113a8c(0x39e)],this['type'],_0x521a16[0x0],this[_0x113a8c(0x256)]);return _0x552e41[_0x113a8c(0x263)](),_0x552e41;}return this[_0x113a8c(0x278)](!0x1);}catch(_0x19f7b0){return this[_0x113a8c(0x47b)][_0x113a8c(0x2b8)](_0x19f7b0),this[_0x113a8c(0x278)](!0x1);}}[_0x4611e8(0x3ed)](_0x46671d){var _0x189a2d=_0x4611e8;this['_clearScheduledTask']();const _0x5dd0ad=this[_0x189a2d(0x206)]['getCurrentRevOfUnit'](this[_0x189a2d(0x39e)]);if(_0x46671d[_0x189a2d(0x40d)]<_0x5dd0ad-0x1)return this;if(this['_checkMissing'](_0x46671d))return this['_injector'][_0x189a2d(0x46b)](exports[_0x189a2d(0x34d)],this['unitID'],this[_0x189a2d(0x442)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x189a2d(0x1ff)]();const _0x4a8db3=this[_0x189a2d(0x390)][_0x189a2d(0x46b)](exports['SyncedState'],this[_0x189a2d(0x39e)],this[_0x189a2d(0x442)],this[_0x189a2d(0x256)]);return _0x4a8db3['_updateLocalCache'](),_0x4a8db3;}[_0x4611e8(0x1e8)](_0x36081f){var _0x26c8c2=_0x4611e8;return this[_0x26c8c2(0x278)](!!(_0x36081f!=null&&_0x36081f[_0x26c8c2(0x21b)]));}['onRemoteRetry'](_0x4ff8a6){var _0x4c41bc=_0x4611e8;return this[_0x4c41bc(0x477)]>Rt?this['toggleOffline']():(this[_0x4c41bc(0x178)]=bt(this[_0x4c41bc(0x477)],{'timeout':this[_0x4c41bc(0x477)],'reqId':_0x4ff8a6[_0x4c41bc(0x38a)]}),this['_sender']=this['_resendTimer'][_0x4c41bc(0x46a)](({reqId:_0x2cfde0,timeout:_0x19122e})=>{var _0x5eaeb2=_0x4c41bc;this[_0x5eaeb2(0x22e)](_0x2cfde0,_0x19122e);}),this);}['toggleOffline'](){var _0x1bea16=_0x4611e8;return this[_0x1bea16(0x309)](),this[_0x1bea16(0x390)][_0x1bea16(0x46b)](exports[_0x1bea16(0x311)],this[_0x1bea16(0x39e)],this[_0x1bea16(0x442)],this['_awaitingChangeset'],[],this[_0x1bea16(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x3c8ae3=_0x4611e8;this[_0x3c8ae3(0x256)]['onSendChangeset'](this[_0x3c8ae3(0x211)]);}[_0x4611e8(0x278)](_0x4698b3){var _0x192af5=_0x4611e8;return this[_0x192af5(0x309)](),this[_0x192af5(0x390)][_0x192af5(0x46b)](exports['ConflictState'],this[_0x192af5(0x39e)],this[_0x192af5(0x442)],this[_0x192af5(0x211)],[],this['_handler'],_0x4698b3);}[_0x4611e8(0x22e)](_0x172e51,_0x28b2ed){var _0x11ffea=_0x4611e8,_0x4c651e;_0x172e51===((_0x4c651e=this[_0x11ffea(0x211)])==null?void 0x0:_0x4c651e[_0x11ffea(0x38a)])&&(this[_0x11ffea(0x148)](),this[_0x11ffea(0x477)]=_0x28b2ed===0x0?0x3e8:_0x28b2ed*0x2);}[_0x4611e8(0x309)](){var _0x42507d=_0x4611e8,_0x54ebfb;(_0x54ebfb=this[_0x42507d(0x3c6)])==null||_0x54ebfb['unsubscribe'](),this[_0x42507d(0x477)]=0x0;}},exports[_0x4611e8(0x30b)]=ae([L(0x4,a['Inject'](a[_0x4611e8(0x425)])),L(0x5,a['Inject'](p['RevisionService'])),L(0x6,a[_0x4611e8(0x359)]),L(0x7,a[_0x4611e8(0x2a6)]),L(0x8,p[_0x4611e8(0x44a)]),L(0x9,a[_0x4611e8(0x20d)]),L(0xa,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x30b)]),exports[_0x4611e8(0x357)]=class extends ce{constructor(_0x49ecd9,_0x363d3d,_0x65fdcd,_0x55a1ec,_0x3f57db,_0x44e1ac,_0x2bcff2,_0x2ab484,_0x57e140,_0x1538d1,_0x5b0d30,_0x2be682,_0x7a45cf){var _0x1474eb=_0x4611e8;super(_0x49ecd9,_0x363d3d,_0x65fdcd,_0x55a1ec,_0x3f57db,_0x57e140,_0x2be682,_0x2ab484,_0x7a45cf),A(this,_0x1474eb(0x187),_0x1474eb(0x3be)),A(this,_0x1474eb(0x477),0x0),A(this,_0x1474eb(0x178)),A(this,_0x1474eb(0x3c6)),(this[_0x1474eb(0x390)]=_0x2bcff2,this[_0x1474eb(0x47b)]=_0x1538d1,this[_0x1474eb(0x2da)]=_0x5b0d30,this[_0x1474eb(0x25d)]=_0x7a45cf,_0x44e1ac&&(this['_resendTimer']=_0x44e1ac,this['_sender']=this[_0x1474eb(0x178)][_0x1474eb(0x46a)](({reqId:_0x9b939d,timeout:_0x349f78})=>{var _0x7d0799=_0x1474eb;this[_0x7d0799(0x22e)](_0x9b939d,_0x349f78);})));}[_0x4611e8(0x362)](_0xbf4678){var _0x24f88b=_0x4611e8;return this[_0x24f88b(0x2d4)][_0x24f88b(0x475)](_0xbf4678),this;}['onRemoteChangeset'](_0x53678a){var _0x27f58c=_0x4611e8;if(this[_0x27f58c(0x331)](_0x53678a))return this[_0x27f58c(0x309)](),this[_0x27f58c(0x390)][_0x27f58c(0x46b)](exports['FetchingMissState'],this[_0x27f58c(0x39e)],this['type'],this[_0x27f58c(0x211)],this[_0x27f58c(0x2d4)],null,[_0x53678a],this[_0x27f58c(0x256)]);try{const _0x5b58e9=this[_0x27f58c(0x2da)][_0x27f58c(0x133)]([_0x53678a],[this['_awaitingChangeset']],!0x1);if(p[_0x27f58c(0x350)](_0x5b58e9)){const {c1Prime:_0x126054,c2Prime:_0x245fa2}=_0x5b58e9,_0x1f6634=this[_0x27f58c(0x2da)][_0x27f58c(0x16c)](_0x126054[0x0],this[_0x27f58c(0x2d4)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1f6634)){const {c1Prime:_0x36cfa3,m2Prime:_0x1fb384}=_0x1f6634;return this[_0x27f58c(0x1aa)](_0x36cfa3),_0x245fa2[0x0][_0x27f58c(0x32c)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x27f58c(0x390)][_0x27f58c(0x46b)](exports[_0x27f58c(0x357)],this[_0x27f58c(0x39e)],this[_0x27f58c(0x442)],_0x245fa2[0x0],_0x1fb384,this[_0x27f58c(0x256)],void 0x0);}throw _0x1f6634['error'];}throw _0x5b58e9[_0x27f58c(0x2b8)];}catch(_0x13199c){return this[_0x27f58c(0x47b)][_0x27f58c(0x2b8)](_0x13199c),this[_0x27f58c(0x278)](!0x1);}}['onRemoteAck'](_0x3ed6f1){var _0x1796cf=_0x4611e8;if(this[_0x1796cf(0x309)](),this[_0x1796cf(0x331)](_0x3ed6f1))return this[_0x1796cf(0x390)][_0x1796cf(0x46b)](exports['FetchingMissState'],this[_0x1796cf(0x39e)],this[_0x1796cf(0x442)],null,this[_0x1796cf(0x2d4)],this[_0x1796cf(0x211)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3b021a=this[_0x1796cf(0x390)][_0x1796cf(0x46b)](exports[_0x1796cf(0x186)],this[_0x1796cf(0x39e)],this['type'],this['_pendingMutations'],this[_0x1796cf(0x256)]);return _0x3b021a[_0x1796cf(0x3fd)](),_0x3b021a['_updateLocalCache'](),_0x3b021a;}['onRemoteRej'](_0x175cb7){var _0x38fc0a=_0x4611e8;return this[_0x38fc0a(0x278)](!!(_0x175cb7!=null&&_0x175cb7['isPermissionRej']));}[_0x4611e8(0x383)](_0x27e4ea){var _0x131ee2=_0x4611e8;return this[_0x131ee2(0x477)]>Rt?this[_0x131ee2(0x29b)]():(this[_0x131ee2(0x178)]=bt(this[_0x131ee2(0x477)],{'timeout':this[_0x131ee2(0x477)],'reqId':_0x27e4ea[_0x131ee2(0x38a)]}),this['_sender']=this[_0x131ee2(0x178)][_0x131ee2(0x46a)](({reqId:_0x2fda1b,timeout:_0x4aa3d2})=>{var _0x122bde=_0x131ee2;this[_0x122bde(0x22e)](_0x2fda1b,_0x4aa3d2);}),this);}['toggleOffline'](){var _0x393389=_0x4611e8;return this[_0x393389(0x309)](),this[_0x393389(0x390)][_0x393389(0x46b)](exports[_0x393389(0x311)],this['unitID'],this[_0x393389(0x442)],this['_awaitingChangeset'],this[_0x393389(0x2d4)],this[_0x393389(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x148)](){var _0x321e87=_0x4611e8;this[_0x321e87(0x256)][_0x321e87(0x3e7)](this[_0x321e87(0x211)]);}[_0x4611e8(0x278)](_0x2c4b2f){var _0x357cbc=_0x4611e8;return this[_0x357cbc(0x309)](),this[_0x357cbc(0x390)][_0x357cbc(0x46b)](exports[_0x357cbc(0x360)],this[_0x357cbc(0x39e)],this[_0x357cbc(0x442)],null,this[_0x357cbc(0x2d4)],this['_handler'],_0x2c4b2f);}[_0x4611e8(0x22e)](_0x395fd0,_0x25a7b4){var _0x1fcd3a=_0x4611e8,_0x100654;_0x395fd0===((_0x100654=this['_awaitingChangeset'])==null?void 0x0:_0x100654[_0x1fcd3a(0x38a)])&&(this[_0x1fcd3a(0x148)](),this['_resendTimeout']=_0x25a7b4===0x0?0x3e8:_0x25a7b4*0x2);}[_0x4611e8(0x309)](){var _0xcfb2ba=_0x4611e8,_0x52ae83;(_0x52ae83=this[_0xcfb2ba(0x3c6)])==null||_0x52ae83[_0xcfb2ba(0x12c)](),this[_0xcfb2ba(0x477)]=0x0;}},exports[_0x4611e8(0x357)]=ae([L(0x6,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x7,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x8,a[_0x4611e8(0x359)]),L(0x9,a[_0x4611e8(0x2a6)]),L(0xa,p[_0x4611e8(0x44a)]),L(0xb,a[_0x4611e8(0x20d)]),L(0xc,a['Optional'](q))],exports[_0x4611e8(0x357)]),exports['ConflictState']=class extends ce{constructor(_0x1fb4f8,_0x579608,_0x55f351,_0x5540c4,_0x3ce032,_0x405cdc=!0x1,_0x136dba,_0x12268e,_0x3cf662,_0x1cc287,_0x578043,_0x194593,_0x4ec57a){var _0x5e7cb7=_0x4611e8;super(_0x1fb4f8,_0x579608,_0x55f351,_0x5540c4,_0x3ce032,_0x12268e,_0x3cf662,_0x1cc287,_0x4ec57a),A(this,_0x5e7cb7(0x187),_0x5e7cb7(0x482)),(this[_0x5e7cb7(0x185)]=_0x405cdc,this['_permissionService']=_0x136dba,this[_0x5e7cb7(0x286)]=_0x578043,this[_0x5e7cb7(0x31d)]=_0x194593,this[_0x5e7cb7(0x25d)]=_0x4ec57a,this[_0x5e7cb7(0x414)](),this['_clearLocalCache'](),this[_0x5e7cb7(0x3de)]());}[_0x4611e8(0x362)](){return this;}[_0x4611e8(0x20f)](){return this;}[_0x4611e8(0x3ed)](){return this;}['onRemoteRej'](){return this;}[_0x4611e8(0x383)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x4611e8(0x148)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4611e8(0x2b3)](){var _0x415a63=_0x4611e8,_0x476a24;(_0x476a24=this[_0x415a63(0x1d4)])==null||_0x476a24[_0x415a63(0x3d5)](this[_0x415a63(0x39e)],this[_0x415a63(0x442)],null,[]);}[_0x4611e8(0x414)](){var _0x1ef5c5=_0x4611e8;this[_0x1ef5c5(0x185)]?this[_0x1ef5c5(0x31d)][_0x1ef5c5(0x14e)]({'id':Z[_0x1ef5c5(0x152)]}):this[_0x1ef5c5(0x31d)][_0x1ef5c5(0x14e)]({'id':Z[_0x1ef5c5(0x36d)]});}[_0x4611e8(0x3de)](){var _0x3e6ef4=_0x4611e8;this[_0x3e6ef4(0x2f6)][_0x3e6ef4(0x1bf)](new X[(_0x3e6ef4(0x473))](this['unitID'])['id'],!0x1);}},exports[_0x4611e8(0x360)]=ae([L(0x6,a['Inject'](a['IPermissionService'])),L(0x7,a[_0x4611e8(0x359)]),L(0x8,a[_0x4611e8(0x20d)]),L(0x9,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0xa,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),L(0xb,a[_0x4611e8(0x1dd)](ee)),L(0xc,a['Optional'](q))],exports[_0x4611e8(0x360)]),exports[_0x4611e8(0x311)]=class extends ce{constructor(_0x1112aa,_0x2e0591,_0x4fb0f,_0x52dad6,_0x2ff38f,_0x515c1a,_0x324bba,_0x4797d2,_0x59fb8c,_0xa02307){var _0xe4215b=_0x4611e8;super(_0x1112aa,_0x2e0591,_0x4fb0f,_0x52dad6,_0x2ff38f,_0x4797d2,_0x59fb8c,_0x324bba,_0xa02307),A(this,'status',_0xe4215b(0x349)),this[_0xe4215b(0x390)]=_0x515c1a;}[_0x4611e8(0x362)](_0x315130){var _0x50d5ad=_0x4611e8;return this[_0x50d5ad(0x2d4)][_0x50d5ad(0x475)](_0x315130),this[_0x50d5ad(0x263)](),this;}[_0x4611e8(0x20f)](_0x5f20e1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x4611e8(0x3ed)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x4611e8(0x1e8)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x4611e8(0x222)](){var _0xe4e611=_0x4611e8;const {_injector:_0x422657,_pendingMutations:_0x1c8a80,_awaitingChangeset:_0x3c7a96,unitID:_0x52945f,_handler:_0x67b41d,type:_0x3f8154}=this,_0x1bc76e=Ot(_0x422657,_0x52945f,_0x3f8154,_0x3c7a96,_0x1c8a80,_0x67b41d);return _0x1bc76e instanceof exports[_0xe4e611(0x186)]?_0x1bc76e[_0xe4e611(0x3fd)]():(_0x1bc76e instanceof exports[_0xe4e611(0x357)]||_0x1bc76e instanceof exports[_0xe4e611(0x30b)])&&_0x1bc76e[_0xe4e611(0x148)](),_0x1bc76e;}[_0x4611e8(0x148)](){var _0x1d73ff=_0x4611e8;throw new Error(_0x1d73ff(0x1ba));}},exports['OfflineState']=ae([L(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x7,a['ICommandService']),L(0x8,a[_0x4611e8(0x20d)]),L(0x9,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x311)]),exports[_0x4611e8(0x34d)]=class extends ce{constructor(_0x4c5663,_0x54b638,_0x2a5e5f,_0x3e9284,_0x446bf0,_0x5acbad,_0x47f2f0,_0x1d7753,_0x3a991f,_0x2a0250,_0x475915,_0x43711c,_0x481b72,_0x1c429b){var _0x41aaa7=_0x4611e8;super(_0x4c5663,_0x54b638,_0x2a5e5f,_0x3e9284,_0x47f2f0,_0x475915,_0x43711c,_0x3a991f,_0x1c429b),A(this,_0x41aaa7(0x187),_0x41aaa7(0x2e8)),(this[_0x41aaa7(0x20a)]=_0x446bf0,this['_queuedRemoteChangesets']=_0x5acbad,this['_injector']=_0x1d7753,this['_logService']=_0x2a0250,this[_0x41aaa7(0x2da)]=_0x481b72,this[_0x41aaa7(0x25d)]=_0x1c429b);}[_0x4611e8(0x1a9)](_0x207044){var _0x1989fa=_0x4611e8;try{const _0x281c24=[..._0x207044,...this['_queuedRemoteChangesets']],_0x3c7656=[this[_0x1989fa(0x211)]||this[_0x1989fa(0x20a)]][_0x1989fa(0x266)](_0x4bd6c2=>!!_0x4bd6c2);let _0x3c9c6c,_0x251694;if(_0x3c7656[_0x1989fa(0x479)]){const _0x20318d=this['_transformService']['transformChangesets'](_0x281c24,_0x3c7656,!0x1);if(!p[_0x1989fa(0x350)](_0x20318d))throw _0x20318d['error'];_0x3c9c6c=_0x20318d['c1Prime'],_0x251694=_0x20318d[_0x1989fa(0x446)];}else _0x3c9c6c=_0x281c24,_0x251694=[];let _0x3fe489=this[_0x1989fa(0x2d4)];_0x3c9c6c['forEach'](_0x1dc187=>{var _0x2616ab=_0x1989fa;let _0x2b4b0a;if(_0x3fe489[_0x2616ab(0x479)]){const _0x5713c7=this[_0x2616ab(0x2da)][_0x2616ab(0x16c)](_0x1dc187,_0x3fe489);if(!p[_0x2616ab(0x1dc)](_0x5713c7))throw _0x5713c7[_0x2616ab(0x2b8)];_0x2b4b0a=_0x5713c7[_0x2616ab(0x2de)],_0x3fe489=_0x5713c7['m2Prime'];}else _0x2b4b0a=_0x1dc187;this[_0x2616ab(0x1aa)](_0x2b4b0a);}),this[_0x1989fa(0x20a)]&&this[_0x1989fa(0x1ff)](),this[_0x1989fa(0x211)]&&_0x251694[_0x1989fa(0x479)]&&(_0x251694[0x0][_0x1989fa(0x32c)]=this['_getCurrentRevision']());let _0x5800af;if(this[_0x1989fa(0x211)]&&_0x3fe489[_0x1989fa(0x479)]!==0x0)_0x5800af=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports[_0x1989fa(0x357)],this['unitID'],this['type'],_0x251694[0x0],_0x3fe489,this[_0x1989fa(0x256)],void 0x0);else{if(this[_0x1989fa(0x211)]&&_0x3fe489[_0x1989fa(0x479)]===0x0)_0x251694[0x0]['baseRev']=this['_getCurrentRevision'](),_0x5800af=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports[_0x1989fa(0x30b)],this['unitID'],this[_0x1989fa(0x442)],_0x251694[0x0],this['_handler']);else{if(_0x3fe489['length']!==0x0){const _0x1f0abc=this[_0x1989fa(0x390)][_0x1989fa(0x46b)](exports['PendingState'],this['unitID'],this['type'],_0x3fe489,this[_0x1989fa(0x256)]);_0x1f0abc[_0x1989fa(0x3fd)](),_0x5800af=_0x1f0abc;}else _0x5800af=this[_0x1989fa(0x390)]['createInstance'](exports['SyncedState'],this[_0x1989fa(0x39e)],this['type'],this['_handler']);}}return _0x5800af[_0x1989fa(0x263)](),_0x5800af;}catch(_0x14b589){return this[_0x1989fa(0x47b)]['error'](_0x1989fa(0x23c),_0x1989fa(0x388),_0x14b589),this['_injector'][_0x1989fa(0x46b)](exports[_0x1989fa(0x360)],this[_0x1989fa(0x39e)],this[_0x1989fa(0x442)],this[_0x1989fa(0x211)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x4611e8(0x148)](){var _0x3e9257=_0x4611e8;throw new Error(_0x3e9257(0x3f1));}['appendMutation'](_0x48857d){var _0xbeed18=_0x4611e8;return this['_pendingMutations'][_0xbeed18(0x475)](_0x48857d),this;}['onRemoteChangeset'](_0x1fd491){var _0x29303d=_0x4611e8;return this[_0x29303d(0x358)][_0x29303d(0x475)](_0x1fd491),this;}['onRemoteAck'](_0x3935a1){var _0x5e57ac=_0x4611e8;if(this[_0x5e57ac(0x211)])return this[_0x5e57ac(0x20a)]=this[_0x5e57ac(0x211)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x4611e8(0x1e8)](_0x4d446c){var _0x30f0d2=_0x4611e8;return this[_0x30f0d2(0x278)](!!(_0x4d446c!=null&&_0x4d446c['isPermissionRej']));}[_0x4611e8(0x383)](){return this;}[_0x4611e8(0x29b)](){var _0x3967cf=_0x4611e8;return this['_injector'][_0x3967cf(0x46b)](exports['OfflineState'],this['unitID'],this[_0x3967cf(0x442)],this[_0x3967cf(0x211)],this[_0x3967cf(0x2d4)],this[_0x3967cf(0x256)]);}[_0x4611e8(0x222)](){return this;}[_0x4611e8(0x278)](_0x3c3cc2){var _0xdc3186=_0x4611e8;return this[_0xdc3186(0x390)][_0xdc3186(0x46b)](exports[_0xdc3186(0x360)],this[_0xdc3186(0x39e)],this['type'],this[_0xdc3186(0x211)],this[_0xdc3186(0x2d4)],this[_0xdc3186(0x256)],_0x3c3cc2);}},exports[_0x4611e8(0x34d)]=ae([L(0x7,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),L(0x8,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),L(0x9,a[_0x4611e8(0x2a6)]),L(0xa,a[_0x4611e8(0x359)]),L(0xb,a[_0x4611e8(0x20d)]),L(0xc,p['ITransformService']),L(0xd,a[_0x4611e8(0x3e3)](q))],exports['FetchingMissState']);function Ot(_0x471d60,_0x421da6,_0x263013,_0x30b928,_0x246444,_0x377459){var _0x465174=_0x4611e8;return _0x30b928&&_0x246444[_0x465174(0x479)]?_0x471d60[_0x465174(0x46b)](exports['AwaitingWithPendingState'],_0x421da6,_0x263013,_0x30b928,_0x246444,_0x377459,void 0x0):_0x30b928?_0x471d60[_0x465174(0x46b)](exports[_0x465174(0x30b)],_0x421da6,_0x263013,_0x30b928,_0x377459):_0x246444[_0x465174(0x479)]?_0x471d60[_0x465174(0x46b)](exports[_0x465174(0x186)],_0x421da6,_0x263013,_0x246444,_0x377459):_0x471d60['createInstance'](exports[_0x465174(0x324)],_0x421da6,_0x263013,_0x377459);}var vi=Object[_0x4611e8(0x1b5)],Fe=(_0x2f78e7,_0x4ebb78,_0x5ce340,_0x15c936)=>{var _0x5801b1=_0x4611e8;for(var _0x11b36f=_0x15c936>0x1?void 0x0:_0x15c936?vi(_0x4ebb78,_0x5ce340):_0x4ebb78,_0x3588b2=_0x2f78e7[_0x5801b1(0x479)]-0x1,_0x25cd28;_0x3588b2>=0x0;_0x3588b2--)(_0x25cd28=_0x2f78e7[_0x3588b2])&&(_0x11b36f=_0x25cd28(_0x11b36f)||_0x11b36f);return _0x11b36f;},j=(_0x50ecd8,_0x585023)=>(_0x46c605,_0x194bb6)=>_0x585023(_0x46c605,_0x194bb6,_0x50ecd8);exports[_0x4611e8(0x3aa)]=class extends a[_0x4611e8(0x135)]{constructor(_0x4ad8a7,_0x2eac7a,_0x1f100b,_0x43f28e,_0x383657,_0x403dc7,_0x5ea803,_0x7fa026,_0x333406,_0x4fd031,_0x30ae85,_0x378ee0,_0x3f5c26){var _0x214493=_0x4611e8;super(),A(this,'_state$',new $[(_0x214493(0x3c0))](null)),A(this,'state$',this[_0x214493(0x3a5)][_0x214493(0x2fd)]()),A(this,'_state'),A(this,_0x214493(0x2e0),!0x1),A(this,'_changesetSessionId',''),A(this,_0x214493(0x3db),0x0),A(this,_0x214493(0x276),this['state$'][_0x214493(0x121)]($[_0x214493(0x353)](_0x22de7f=>_0x22de7f?_0x22de7f[_0x214493(0x187)]:Be[_0x214493(0x284)]),$[_0x214493(0x39c)](0x1))),A(this,_0x214493(0x3ce),!0x1),A(this,_0x214493(0x291),[]),(this[_0x214493(0x39e)]=_0x4ad8a7,this[_0x214493(0x1e9)]=_0x2eac7a,this[_0x214493(0x2ad)]=_0x1f100b,this[_0x214493(0x390)]=_0x43f28e,this[_0x214493(0x3fe)]=_0x383657,this['_localeService']=_0x403dc7,this[_0x214493(0x206)]=_0x5ea803,this[_0x214493(0x166)]=_0x7fa026,this[_0x214493(0x47b)]=_0x333406,this[_0x214493(0x1b4)]=_0x4fd031,this[_0x214493(0x2f6)]=_0x30ae85,this[_0x214493(0x143)]=_0x378ee0,this['_localCacheService']=_0x3f5c26);}get['state'](){var _0x596496=_0x4611e8;return this[_0x596496(0x338)];}async[_0x4611e8(0x1b7)](){var _0x26ac74=_0x4611e8;if(this[_0x26ac74(0x34c)])throw new Error(_0x26ac74(0x157));await this[_0x26ac74(0x387)]();}['pauseCollaboration'](){var _0x30ee3e=_0x4611e8;return this[_0x30ee3e(0x2e0)]=!0x0,a[_0x30ee3e(0x2f7)](()=>{var _0x24a3f4=_0x30ee3e;this[_0x24a3f4(0x2e0)]=!0x1,this[_0x24a3f4(0x1ea)]();});}[_0x4611e8(0x490)](_0x35bd01){var _0x5ba9d4=_0x4611e8;this[_0x5ba9d4(0x46e)](_0x35bd01);}[_0x4611e8(0x180)](_0x46c2e3){var _0x9fda69=_0x4611e8;this[_0x9fda69(0x338)]=_0x46c2e3,this['_state$'][_0x9fda69(0x244)](_0x46c2e3);}async[_0x4611e8(0x387)](){var _0xec93a3=_0x4611e8,_0x2bb576;this[_0xec93a3(0x180)](await this['_createInitialState']()),this[_0xec93a3(0x143)]&&((_0x2bb576=this[_0xec93a3(0x143)])==null||_0x2bb576[_0xec93a3(0x376)](this[_0xec93a3(0x39e)]),this[_0xec93a3(0x1b8)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0xec93a3(0x39e)])['subscribe'](_0x495b9d=>{var _0x215a35=_0xec93a3;this['_logService'][_0x215a35(0x20b)](_0x215a35(0x48f),_0x215a35(0x243),_0x495b9d),_0x495b9d===je[_0x215a35(0x11f)]?(this[_0x215a35(0x166)][_0x215a35(0x14e)]({'id':Z[_0x215a35(0x230)]}),this[_0x215a35(0x2f6)]['updatePermissionPoint'](new X[(_0x215a35(0x473))](this[_0x215a35(0x39e)])['id'],!0x1),this[_0x215a35(0x2f6)][_0x215a35(0x3f9)](!0x1)):(this[_0x215a35(0x2f6)][_0x215a35(0x1bf)](new X[(_0x215a35(0x473))](this[_0x215a35(0x39e)])['id'],!0x0),this[_0x215a35(0x2f6)][_0x215a35(0x3f9)](!0x0));})));let _0x2c36c3=!0x1;return this[_0xec93a3(0x1b8)](this[_0xec93a3(0x1e9)]['sessionStatus$']['subscribe'](_0x15aa7b=>{var _0x1135bb=_0xec93a3;_0x15aa7b===re['ONLINE']?this[_0x1135bb(0x344)](_0x2c36c3):_0x15aa7b===re['OFFLINE']&&(_0x2c36c3=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0xec93a3(0x1e9)][_0xec93a3(0x1fc)][_0xec93a3(0x46a)](_0x2a720f=>{var _0x94e99a=_0xec93a3;try{switch(_0x2a720f['eventID']){case p[_0x94e99a(0x399)][_0x94e99a(0x35b)]:{this[_0x94e99a(0x433)](p[_0x94e99a(0x463)](_0x2a720f['data']));break;}case p['CollaborationEvent']['CHANGESET_ACK']:{this[_0x94e99a(0x163)](_0x2a720f[_0x94e99a(0x33e)]);break;}case p['CollaborationEvent'][_0x94e99a(0x28b)]:{this[_0x94e99a(0x1af)]();break;}case p[_0x94e99a(0x399)][_0x94e99a(0x410)]:{this[_0x94e99a(0x224)](_0x2a720f[_0x94e99a(0x33e)]);break;}case p[_0x94e99a(0x399)][_0x94e99a(0x254)]:{this[_0x94e99a(0x3ba)](_0x2a720f[_0x94e99a(0x33e)][_0x94e99a(0x1d0)]['map'](_0x103b08=>p[_0x94e99a(0x463)](_0x103b08)));break;}case p[_0x94e99a(0x399)][_0x94e99a(0x382)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x94e99a(0x399)]['UNISCRIPT_RUN']:break;}}catch(_0x4f5578){throw console[_0x94e99a(0x2b8)](_0x94e99a(0x44e),_0x4f5578),_0x4f5578;}})),this[_0xec93a3(0x338)];}[_0x4611e8(0x2f2)](){var _0x1fe2e7=_0x4611e8;this[_0x1fe2e7(0x3ce)]=!0x1;}[_0x4611e8(0x3d2)](){var _0x3c61d6=_0x4611e8;if(this[_0x3c61d6(0x3ce)])throw new Error(_0x3c61d6(0x416));this[_0x3c61d6(0x3ce)]=!0x0;}[_0x4611e8(0x46e)](_0x355584){var _0x742ebf=_0x4611e8;this['_lockTransition'](),this[_0x742ebf(0x180)](this[_0x742ebf(0x338)][_0x742ebf(0x362)](_0x355584)),this[_0x742ebf(0x2f2)]();}[_0x4611e8(0x433)](_0x11d0c){var _0x1a686b=_0x4611e8;if(!(_0x11d0c['revision']<=this[_0x1a686b(0x206)][_0x1a686b(0x1b0)](this[_0x1a686b(0x39e)]))){if(this['_collaborationPaused']){this[_0x1a686b(0x291)]['push'](_0x11d0c);return;}this[_0x1a686b(0x29a)](_0x11d0c);}}[_0x4611e8(0x1ea)](){var _0x1075d0=_0x4611e8;this['_remoteChangesetQueue']['forEach'](_0x37e288=>this[_0x1075d0(0x29a)](_0x37e288)),this['_remoteChangesetQueue']=[];}[_0x4611e8(0x29a)](_0x12d89a){var _0x4c4940=_0x4611e8;const _0xdb98a7=this[_0x4c4940(0x3fe)][_0x4c4940(0x46c)]['fetchThroughInterceptors'](this[_0x4c4940(0x3fe)][_0x4c4940(0x46c)][_0x4c4940(0x3d1)]()[_0x4c4940(0x151)])(_0x12d89a[_0x4c4940(0x438)],null)||_0x12d89a[_0x4c4940(0x438)],_0x4aacde={..._0x12d89a,'mutations':_0xdb98a7};this[_0x4c4940(0x3d2)](),this[_0x4c4940(0x180)](this[_0x4c4940(0x338)][_0x4c4940(0x20f)](_0x4aacde)),this[_0x4c4940(0x2f2)]();}[_0x4611e8(0x163)](_0x3f363b){var _0x2fb73e=_0x4611e8;this['_lockTransition'](),this[_0x2fb73e(0x180)](this[_0x2fb73e(0x338)]['onRemoteAck'](_0x3f363b)),this[_0x2fb73e(0x2f2)]();}['_onRemoteRejected'](_0x2199d5){var _0x94cbc5=_0x4611e8;this[_0x94cbc5(0x3d2)](),this[_0x94cbc5(0x180)](this[_0x94cbc5(0x338)]['onRemoteRej'](_0x2199d5)),this[_0x94cbc5(0x2f2)]();}['_onRemoteRetry'](_0x3c71d3){var _0x1dd0a1=_0x4611e8;this['_lockTransition'](),this['_updateState'](this[_0x1dd0a1(0x338)][_0x1dd0a1(0x383)](_0x3c71d3)),this[_0x1dd0a1(0x2f2)]();}['_onFetchMissResult'](_0x454f40){var _0x6f836b=_0x4611e8;if(!(this[_0x6f836b(0x338)]instanceof exports['FetchingMissState']))throw new TypeError(_0x6f836b(0x3ca));const _0x45f857=_0x454f40[_0x6f836b(0x353)](_0xb6d875=>{var _0x586f19=_0x6f836b;const _0x14d215=this[_0x586f19(0x3fe)][_0x586f19(0x46c)][_0x586f19(0x14b)](this[_0x586f19(0x3fe)][_0x586f19(0x46c)][_0x586f19(0x3d1)]()[_0x586f19(0x151)])(_0xb6d875[_0x586f19(0x438)],null)||_0xb6d875['mutations'];return{..._0xb6d875,'mutations':_0x14d215};});this[_0x6f836b(0x3d2)](),this['_updateState'](this[_0x6f836b(0x338)]['onMissedChangesetFetched'](_0x45f857)),this[_0x6f836b(0x2f2)]();}[_0x4611e8(0x431)](){var _0x155ce0=_0x4611e8;this[_0x155ce0(0x3d2)](),this[_0x155ce0(0x180)](this[_0x155ce0(0x338)][_0x155ce0(0x29b)]()),this[_0x155ce0(0x2f2)]();}[_0x4611e8(0x344)](_0x2aa2f5=!0x1){var _0x5573fa=_0x4611e8;this[_0x5573fa(0x3d2)](),this[_0x5573fa(0x180)](this[_0x5573fa(0x338)][_0x5573fa(0x222)]()),this['_unlockTransition']();const _0x35aa49=this[_0x5573fa(0x338)];_0x2aa2f5&&_0x35aa49 instanceof exports['SyncedState']&&(this['_lockTransition'](),this['_updateState'](_0x35aa49[_0x5573fa(0x3b9)]()),this[_0x5573fa(0x2f2)]());}async[_0x4611e8(0x14f)](){return new Promise(_0x48e1cc=>{var _0x4f7dd0=_0x4139;this['session'][_0x4f7dd0(0x3a6)][_0x4f7dd0(0x121)]($[_0x4f7dd0(0x26b)](0x1))[_0x4f7dd0(0x46a)](async _0x1938f7=>{var _0x3b1c80=_0x4f7dd0;_0x48e1cc(await this[_0x3b1c80(0x462)](_0x1938f7===re['ONLINE']));});});}['_createHandler'](){const _0x527700=this['unitID'];return{'onStateChange':(_0x12b2b5,_0x5466e1)=>{var _0x2f4149=_0x4139;if(_0x12b2b5!==this[_0x2f4149(0x338)])throw new Error(_0x2f4149(0x22d)+_0x12b2b5[_0x2f4149(0x187)]+_0x2f4149(0x437)+_0x5466e1['status']+_0x2f4149(0x35d)+this['_state'][_0x2f4149(0x187)]);this[_0x2f4149(0x180)](_0x5466e1);},'onSendChangeset':_0x1283fa=>{var _0x1c1dad=_0x4139;_0x1283fa['sid']||(_0x1283fa[_0x1c1dad(0x361)]=this[_0x1c1dad(0x253)],_0x1283fa[_0x1c1dad(0x38a)]=++this[_0x1c1dad(0x3db)]);const _0x1acd6f={'eventID':p[_0x1c1dad(0x399)][_0x1c1dad(0x407)],'data':{'unitID':_0x1283fa[_0x1c1dad(0x39e)],'unitType':this[_0x1c1dad(0x2ad)],'changeset':_0x1283fa,'memberID':this[_0x1c1dad(0x1e9)][_0x1c1dad(0x24e)]()}};this[_0x1c1dad(0x1e9)][_0x1c1dad(0x269)](_0x1acd6f,this['unitID']);},'onMissingChangesets':({from:_0x24c3d4,to:_0x1f8fbd})=>{var _0x530cb6=_0x4139;this['_logService'][_0x530cb6(0x20b)](_0x530cb6(0x48f),'fetching\x20missing\x20changesets\x20from\x20'+_0x24c3d4+_0x530cb6(0x48b)+_0x1f8fbd);const _0x17f5ef={'eventID':p[_0x530cb6(0x399)][_0x530cb6(0x42f)],'data':{'unitID':_0x527700,'unitType':this[_0x530cb6(0x2ad)],'from':_0x24c3d4,'to':_0x1f8fbd}};this[_0x530cb6(0x1e9)][_0x530cb6(0x269)](_0x17f5ef,this['unitID']);}};}async[_0x4611e8(0x462)](_0x20db78){var _0x5575f3=_0x4611e8,_0x619bc3,_0x14df5e,_0x1ef6be;const _0x459e8b=await((_0x619bc3=this['_localCacheService'])==null?void 0x0:_0x619bc3[_0x5575f3(0x345)](this['unitID'])),_0x4bf031=(_0x14df5e=_0x459e8b==null?void 0x0:_0x459e8b['mutations'])!=null?_0x14df5e:[],_0x30a071=(_0x1ef6be=_0x459e8b==null?void 0x0:_0x459e8b[_0x5575f3(0x3ec)])!=null?_0x1ef6be:null,_0x1b9f0d=!!(_0x30a071!=null&&_0x30a071[_0x5575f3(0x361)])&&!!(_0x30a071!=null&&_0x30a071[_0x5575f3(0x38a)]);this['_changesetSessionId']=_0x1b9f0d?_0x30a071[_0x5575f3(0x361)]:p['uuidv4'](),this['_changesetReqId']=_0x1b9f0d?_0x30a071[_0x5575f3(0x38a)]:0x0;const _0xc3fb90=this['unitID'];try{this['_replayCachedMutations'](_0x30a071,_0x4bf031);}catch(_0x15fdf2){this[_0x5575f3(0x47b)]['error'](_0x15fdf2);}const _0x3336a4=this[_0x5575f3(0x380)]();if(_0x20db78){const _0x152703=Ot(this[_0x5575f3(0x390)],_0xc3fb90,this['_type'],_0x30a071,_0x4bf031,_0x3336a4);return _0x152703 instanceof exports['PendingState']?_0x152703['_schedule']():(_0x152703 instanceof exports[_0x5575f3(0x357)]||_0x152703 instanceof exports[_0x5575f3(0x30b)])&&_0x152703[_0x5575f3(0x148)](),_0x152703;}return this[_0x5575f3(0x390)][_0x5575f3(0x46b)](exports['OfflineState'],_0xc3fb90,this[_0x5575f3(0x2ad)],_0x30a071,_0x4bf031,_0x3336a4);}[_0x4611e8(0x240)](_0x36dcd0,_0x413c3a){var _0x53eb53=_0x4611e8,_0xbacf2d,_0x309920;const _0x70c840=this[_0x53eb53(0x3fe)]['interceptor']['fetchThroughInterceptors'](this[_0x53eb53(0x3fe)][_0x53eb53(0x46c)][_0x53eb53(0x3d1)]()['COMPRESS_MUTATION_APPLY']);(_0xbacf2d=_0x70c840((_0x36dcd0==null?void 0x0:_0x36dcd0['mutations'])||[],null))==null||_0xbacf2d['forEach'](_0x311c17=>this[_0x53eb53(0x1b4)][_0x53eb53(0x147)](_0x311c17['id'],_0x311c17[_0x53eb53(0x3b8)])),(_0x309920=_0x70c840(_0x413c3a||[],null))==null||_0x309920[_0x53eb53(0x333)](_0x34e501=>this[_0x53eb53(0x1b4)][_0x53eb53(0x147)](_0x34e501['id'],_0x34e501[_0x53eb53(0x3b8)]));}},exports[_0x4611e8(0x3aa)]=Fe([j(0x3,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),j(0x4,a['Inject'](p[_0x4611e8(0x3c5)])),j(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x4611e8(0x1dd)](ee)),j(0x8,a[_0x4611e8(0x2a6)]),j(0x9,a[_0x4611e8(0x359)]),j(0xa,a[_0x4611e8(0x37e)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x3aa)]),exports[_0x4611e8(0x1a4)]=class extends exports[_0x4611e8(0x3aa)]{constructor(_0x203fe9,_0x32c452,_0xcbbcd4,_0x4a3492,_0x2fb07a,_0x2f7be4,_0x2f0c95,_0x4861c9,_0x489342,_0x2c8dad,_0x586725,_0x340edb,_0x173326){var _0x234bda=_0x4611e8;super(_0x203fe9,_0xcbbcd4,_0x32c452,_0x4a3492,_0x2fb07a,_0x2f7be4,_0x2f0c95,_0x4861c9,_0x489342,_0x2c8dad,_0x586725,_0x340edb,_0x173326),A(this,_0x234bda(0x24b),null),(this[_0x234bda(0x39e)]=_0x203fe9,this[_0x234bda(0x442)]=_0x32c452);}[_0x4611e8(0x2c9)](_0x290399){var _0x2ffbfb=_0x4611e8;this[_0x2ffbfb(0x24b)]=_0x290399;}[_0x4611e8(0x48c)](){var _0x502c20=_0x4611e8;this[_0x502c20(0x24b)]=null,super['dispose']();}['_createHandler'](){var _0x8a917f=_0x4611e8;const _0x1dbba6=super['_createHandler']();return _0x1dbba6[_0x8a917f(0x370)]=_0x578413=>{var _0x448501=_0x8a917f,_0x2f2e45,_0x4734ef;return(_0x4734ef=(_0x2f2e45=this['_handlerCallback'])==null?void 0x0:_0x2f2e45[_0x448501(0x370)])==null?void 0x0:_0x4734ef[_0x448501(0x415)](_0x2f2e45,_0x578413);},_0x1dbba6[_0x8a917f(0x397)]=_0xb4c161=>{var _0x32330d=_0x8a917f,_0x1dfe55,_0x24565f;return(_0x24565f=(_0x1dfe55=this[_0x32330d(0x24b)])==null?void 0x0:_0x1dfe55[_0x32330d(0x397)])==null?void 0x0:_0x24565f[_0x32330d(0x415)](_0x1dfe55,_0xb4c161);},_0x1dbba6[_0x8a917f(0x3d9)]=_0x3e933d=>{var _0x11655d=_0x8a917f,_0x318ce9,_0x34e515;return(_0x34e515=(_0x318ce9=this[_0x11655d(0x24b)])==null?void 0x0:_0x318ce9[_0x11655d(0x3d9)])==null?void 0x0:_0x34e515[_0x11655d(0x415)](_0x318ce9,_0x3e933d);},_0x1dbba6[_0x8a917f(0x2bf)]=_0x2f8dd9=>{var _0x9f038b=_0x8a917f,_0x14a232,_0x3bff97;return(_0x3bff97=(_0x14a232=this[_0x9f038b(0x24b)])==null?void 0x0:_0x14a232[_0x9f038b(0x2bf)])==null?void 0x0:_0x3bff97[_0x9f038b(0x415)](_0x14a232,_0x2f8dd9);},_0x1dbba6[_0x8a917f(0x3ae)]=_0x460f7c=>{var _0x5ef4f6=_0x8a917f,_0x4df05a,_0x447929,_0xc579e5;if(!((_0x4df05a=this[_0x5ef4f6(0x24b)])!=null&&_0x4df05a[_0x5ef4f6(0x3ae)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc579e5=(_0x447929=this[_0x5ef4f6(0x24b)])==null?void 0x0:_0x447929[_0x5ef4f6(0x3ae)])==null?void 0x0:_0xc579e5['call'](_0x447929,_0x460f7c);},_0x1dbba6['onTransformRemoteChangesetByStateCache']=_0x5615db=>{var _0x30a389=_0x8a917f,_0x26ce03,_0x29cbca,_0x19c75c;if(!((_0x26ce03=this[_0x30a389(0x24b)])!=null&&_0x26ce03[_0x30a389(0x423)]))throw new Error(_0x30a389(0x255));return(_0x19c75c=(_0x29cbca=this['_handlerCallback'])==null?void 0x0:_0x29cbca[_0x30a389(0x423)])==null?void 0x0:_0x19c75c['call'](_0x29cbca,_0x5615db);},_0x1dbba6;}async[_0x4611e8(0x387)](){var _0x27ab96=_0x4611e8;const _0xd99ec1=await super[_0x27ab96(0x387)]();return this[_0x27ab96(0x1b8)](this[_0x27ab96(0x1b4)][_0x27ab96(0x198)]((_0x3e38f4,_0x3c1a2a)=>{var _0x28cebc=_0x27ab96;if(_0x3e38f4[_0x28cebc(0x442)]!==a[_0x28cebc(0x392)][_0x28cebc(0x3a3)]||_0x3c1a2a!=null&&_0x3c1a2a[_0x28cebc(0x2c6)]||_0x3c1a2a!=null&&_0x3c1a2a[_0x28cebc(0x2a5)]||_0x3e38f4['id']===ht[_0x28cebc(0x39a)]['id'])return;const _0x5e4c24=_0x3e38f4['params'];if((_0x5e4c24==null?void 0x0:_0x5e4c24[_0x28cebc(0x218)])!==this[_0x28cebc(0x39e)])return;const _0x1d1c7e=_0x3e38f4,_0x177d0f=this[_0x28cebc(0x3fe)][_0x28cebc(0x46c)]['fetchThroughInterceptors'](this[_0x28cebc(0x3fe)][_0x28cebc(0x46c)][_0x28cebc(0x3d1)]()['COMPRESS_MUTATION_SEND'])([_0x1d1c7e],null)||[_0x1d1c7e];this['_onLocalMutation'](_0x177d0f[0x0]);})),_0xd99ec1;}},exports['DocCollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x4611e8(0x425)])),j(0x4,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x3c5)])),j(0x5,a['Inject'](a[_0x4611e8(0x319)])),j(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),j(0x7,a[_0x4611e8(0x1dd)](ee)),j(0x8,a[_0x4611e8(0x2a6)]),j(0x9,a['ICommandService']),j(0xa,a[_0x4611e8(0x37e)]),j(0xb,a[_0x4611e8(0x3e3)](de)),j(0xc,a['Optional'](q))],exports[_0x4611e8(0x1a4)]),exports['SheetCollaborationEntity']=class extends exports[_0x4611e8(0x3aa)]{constructor(_0x3166d7,_0x40c8d5,_0x65d408,_0x9db354,_0x3df220,_0x1d0d37,_0x5e6dbd,_0x4d72cc,_0x42bbf1,_0x5e0898,_0x28920e,_0x236f26,_0x5520d9,_0x8f3fbf){var _0x3398b7=_0x4611e8;super(_0x3166d7,_0x65d408,_0x40c8d5,_0x9db354,_0x3df220,_0x1d0d37,_0x5e6dbd,_0x42bbf1,_0x5e0898,_0x28920e,_0x236f26,_0x5520d9,_0x8f3fbf),this['unitID']=_0x3166d7,this['type']=_0x40c8d5,this[_0x3398b7(0x11a)]=_0x4d72cc;}[_0x4611e8(0x380)](){var _0x5ebf0a=_0x4611e8;const _0x40c12d=super[_0x5ebf0a(0x380)]();return _0x40c12d['onTransformSelections']=_0x586ca9=>this[_0x5ebf0a(0x11a)][_0x5ebf0a(0x11e)](_0x586ca9),_0x40c12d;}async[_0x4611e8(0x387)](){var _0x101f7c=_0x4611e8;const _0x3d80a5=await super[_0x101f7c(0x387)]();return this[_0x101f7c(0x1b8)](this[_0x101f7c(0x1b4)][_0x101f7c(0x198)]((_0x3119e9,_0x2cbe5c)=>{var _0x96282e=_0x101f7c;if(_0x3119e9[_0x96282e(0x442)]!==a[_0x96282e(0x392)][_0x96282e(0x3a3)]||_0x2cbe5c!=null&&_0x2cbe5c[_0x96282e(0x2c6)]||_0x2cbe5c!=null&&_0x2cbe5c[_0x96282e(0x2a5)])return;const _0x4d6d5e=_0x3119e9['params'];if((_0x4d6d5e==null?void 0x0:_0x4d6d5e[_0x96282e(0x218)])!==this[_0x96282e(0x39e)])return;const _0x198680=_0x3119e9,_0x4ce1e4=this['_compressMutationService'][_0x96282e(0x46c)][_0x96282e(0x14b)](this[_0x96282e(0x3fe)][_0x96282e(0x46c)]['getInterceptPoints']()[_0x96282e(0x3ff)])([_0x198680],null)||[_0x198680];this[_0x96282e(0x46e)](_0x4ce1e4[0x0]);})),_0x3d80a5;}},exports[_0x4611e8(0x261)]=Fe([j(0x3,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),j(0x4,a['Inject'](p[_0x4611e8(0x3c5)])),j(0x5,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x319)])),j(0x6,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x199)])),j(0x7,a[_0x4611e8(0x1dd)](exports['SheetTransformSelectionsService'])),j(0x8,a['Inject'](ee)),j(0x9,a['ILogService']),j(0xa,a['ICommandService']),j(0xb,a[_0x4611e8(0x37e)]),j(0xc,a[_0x4611e8(0x3e3)](de)),j(0xd,a[_0x4611e8(0x3e3)](q))],exports[_0x4611e8(0x261)]);var Si=Object[_0x4611e8(0x1b5)],fi=(_0x397be8,_0x18570a,_0x35bd1e,_0x524ad2)=>{var _0x579bf3=_0x4611e8;for(var _0x231f31=_0x524ad2>0x1?void 0x0:_0x524ad2?Si(_0x18570a,_0x35bd1e):_0x18570a,_0x5dc400=_0x397be8[_0x579bf3(0x479)]-0x1,_0x56c787;_0x5dc400>=0x0;_0x5dc400--)(_0x56c787=_0x397be8[_0x5dc400])&&(_0x231f31=_0x56c787(_0x231f31)||_0x231f31);return _0x231f31;},Se=(_0x14bf82,_0x31bf1f)=>(_0x58c38f,_0xb21f16)=>_0x31bf1f(_0x58c38f,_0xb21f16,_0x14bf82);exports[_0x4611e8(0x2d0)]=class extends a[_0x4611e8(0x135)]{constructor(_0x20cf61,_0x426834,_0x381d76,_0xd38b1a){var _0x13d17a=_0x4611e8,_0x2ba67c;super(),A(this,_0x13d17a(0x318),new Map()),A(this,_0x13d17a(0x2ca),new $[(_0x13d17a(0x419))]()),A(this,_0x13d17a(0x488),this[_0x13d17a(0x2ca)][_0x13d17a(0x2fd)]()),(this[_0x13d17a(0x390)]=_0x20cf61,this[_0x13d17a(0x2d9)]=_0x426834,this[_0x13d17a(0x290)]=_0x381d76,this[_0x13d17a(0x322)]=_0xd38b1a,((_0x2ba67c=this['_configService'][_0x13d17a(0x2a9)](G))==null?void 0x0:_0x2ba67c['enableCollaboration'])!==!0x1&&this[_0x13d17a(0x387)]());}[_0x4611e8(0x48c)](){var _0x1476bf=_0x4611e8;super[_0x1476bf(0x48c)](),this['_entities']['forEach'](_0x2439e1=>_0x2439e1['dispose']()),this[_0x1476bf(0x318)][_0x1476bf(0x139)]();}[_0x4611e8(0x3b4)](_0x27ca3b){var _0x5a35df;return(_0x5a35df=this['_entities']['get'](_0x27ca3b))!=null?_0x5a35df:null;}[_0x4611e8(0x262)](_0x384f5a){var _0x2945d8=_0x4611e8;const _0x49118b=this[_0x2945d8(0x3b4)](_0x384f5a);return _0x49118b?$['of'](_0x49118b):this[_0x2945d8(0x2ca)][_0x2945d8(0x121)](V[_0x2945d8(0x266)](_0x5444fe=>_0x5444fe[_0x2945d8(0x39e)]===_0x384f5a));}[_0x4611e8(0x332)](_0x2a31f5){var _0x57a0dd=_0x4611e8;return $[_0x57a0dd(0x154)](this[_0x57a0dd(0x262)](_0x2a31f5)[_0x57a0dd(0x121)](V['map'](()=>{})));}[_0x4611e8(0x387)](){var _0x19df98=_0x4611e8;this[_0x19df98(0x322)][_0x19df98(0x32d)](a[_0x19df98(0x31f)][_0x19df98(0x1c8)])[_0x19df98(0x121)]($[_0x19df98(0x11d)](this[_0x19df98(0x1f9)]),V[_0x19df98(0x3b2)](0x10))[_0x19df98(0x46a)](async _0x12e9cb=>{var _0x1fc18f=_0x19df98;const _0x2df95c=_0x12e9cb['getUnitId'](),_0x1fe23b=await this[_0x1fc18f(0x1f6)](_0x2df95c,J[_0x1fc18f(0x1c8)]);this[_0x1fc18f(0x318)][_0x1fc18f(0x175)](_0x2df95c,_0x1fe23b);}),this[_0x19df98(0x322)][_0x19df98(0x32d)](a[_0x19df98(0x31f)]['UNIVER_DOC'])['pipe']($['takeUntil'](this[_0x19df98(0x1f9)]),V[_0x19df98(0x3b2)](0x10))[_0x19df98(0x121)](V[_0x19df98(0x266)](_0x4c2035=>!_0x4c2035['getUnitId']()['startsWith']('__')))[_0x19df98(0x46a)](async _0x4afcd1=>{var _0x3b1e00=_0x19df98;const _0x34890b=_0x4afcd1[_0x3b1e00(0x13b)](),_0x5c6873=await this[_0x3b1e00(0x1f6)](_0x34890b,J[_0x3b1e00(0x2c8)]);this[_0x3b1e00(0x318)][_0x3b1e00(0x175)](_0x34890b,_0x5c6873);}),$[_0x19df98(0x2fe)](this[_0x19df98(0x322)][_0x19df98(0x41f)](a[_0x19df98(0x31f)][_0x19df98(0x1c8)]),this['_univerInstanceService'][_0x19df98(0x41f)](a['UniverInstanceType'][_0x19df98(0x2c8)]))[_0x19df98(0x121)]($[_0x19df98(0x11d)](this[_0x19df98(0x1f9)]))[_0x19df98(0x46a)](_0xd82e1c=>{var _0x204295=_0x19df98;const _0x44c09a=_0xd82e1c[_0x204295(0x13b)](),_0x12b4ea=this['_entities'][_0x204295(0x306)](_0x44c09a);_0x12b4ea&&(_0x12b4ea[_0x204295(0x48c)](),this[_0x204295(0x318)][_0x204295(0x44f)](_0x44c09a));});}async[_0x4611e8(0x1f6)](_0x229be6,_0x336b61){var _0x1465df=_0x4611e8;const _0x5a8e2b=await this['_collabSessionService'][_0x1465df(0x27d)](_0x229be6),_0x591d85=this[_0x1465df(0x390)][_0x1465df(0x46b)](this[_0x1465df(0x1cc)](_0x336b61),_0x229be6,_0x336b61,_0x5a8e2b);return await _0x591d85[_0x1465df(0x1b7)](),this[_0x1465df(0x2ca)]['next'](_0x591d85),_0x591d85;}['_getCtorByUniverType'](_0x1019b5){var _0x1081ac=_0x4611e8;switch(_0x1019b5){case J[_0x1081ac(0x2c8)]:return exports[_0x1081ac(0x1a4)];case J['UNIVER_SHEET']:return exports[_0x1081ac(0x261)];default:throw new Error(_0x1081ac(0x16e)+_0x1019b5);}}},exports[_0x4611e8(0x2d0)]=fi([Se(0x0,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x425)])),Se(0x1,a[_0x4611e8(0x1dd)](exports['CollaborationSessionService'])),Se(0x2,a[_0x4611e8(0x335)]),Se(0x3,a[_0x4611e8(0x227)])],exports[_0x4611e8(0x2d0)]);var Ii=Object[_0x4611e8(0x1b5)],pi=(_0x496047,_0x3d92c3,_0x3a580f,_0x1fb0d0)=>{for(var _0x44f5c9=_0x1fb0d0>0x1?void 0x0:_0x1fb0d0?Ii(_0x3d92c3,_0x3a580f):_0x3d92c3,_0x3e2488=_0x496047['length']-0x1,_0x53ec17;_0x3e2488>=0x0;_0x3e2488--)(_0x53ec17=_0x496047[_0x3e2488])&&(_0x44f5c9=_0x53ec17(_0x44f5c9)||_0x44f5c9);return _0x44f5c9;},Ke=(_0x3c7506,_0x4d38e8)=>(_0x1987b4,_0x5ae3fe)=>_0x4d38e8(_0x1987b4,_0x5ae3fe,_0x3c7506);const gi=_0x4611e8(0x140),Ei=_0x4611e8(0x461);let xe=class extends a[_0x4611e8(0x1e4)]{constructor(_0x317dbf,_0x405dc8){var _0x438137=_0x4611e8;super(),this[_0x438137(0x322)]=_0x317dbf,this[_0x438137(0x290)]=_0x405dc8,this[_0x438137(0x387)]();}['_init'](){var _0x4c76c9=_0x4611e8;this[_0x4c76c9(0x1b8)](this['_univerInstanceService'][_0x4c76c9(0x45f)]['subscribe'](()=>{var _0x3a532c=_0x4c76c9,_0x1fab40;const _0x3e7e71=this[_0x3a532c(0x322)][_0x3a532c(0x275)]();let _0x8934be=(_0x1fab40=this[_0x3a532c(0x290)]['getConfig'](gi))!=null?_0x1fab40:Ei;_0x3e7e71 instanceof a[_0x3a532c(0x1c2)]&&(_0x8934be=_0x3e7e71['name']),document[_0x3a532c(0x165)]=_0x8934be;}));}};xe=pi([Ke(0x0,a[_0x4611e8(0x227)]),Ke(0x1,a[_0x4611e8(0x335)])],xe);var mi=Object[_0x4611e8(0x1b5)],Ci=(_0x5361ba,_0x536d48,_0x256b4f,_0x4c1ff9)=>{var _0x536991=_0x4611e8;for(var _0x4dcdc2=_0x4c1ff9>0x1?void 0x0:_0x4c1ff9?mi(_0x536d48,_0x256b4f):_0x536d48,_0x1e4df7=_0x5361ba[_0x536991(0x479)]-0x1,_0x29fa2e;_0x1e4df7>=0x0;_0x1e4df7--)(_0x29fa2e=_0x5361ba[_0x1e4df7])&&(_0x4dcdc2=_0x29fa2e(_0x4dcdc2)||_0x4dcdc2);return _0x4dcdc2;},Ae=(_0x5e6eeb,_0x193b9c)=>(_0x3775e9,_0x526789)=>_0x193b9c(_0x3775e9,_0x526789,_0x5e6eeb);function _0xcb18(){var _0x28c6ab=['JOIN','_memberService','CONFLICT','execute','_sendHeartbeatTimer','onTransformIME','liveShareNewHost','memberID','_clearUndo','Hasher','disableLocalCache','editingUnit','/universer-api/oidc/authpage','connection\x20error','EMAIL_HAS_BEEN_BOUND','UNRECOGNIZED','stringify','_HTTPService','putCollaborators','IPermissionService','_candidateSocket','_createHandler','put','PERMISSION_REJ','onRemoteRetry','has','RETRY_CONNECTING_MAX_COUNT','close$','_init','failed\x20to\x20apply\x20missed\x20changesets!','method','reqId','JOIN_ROOM_PERMISSION_DENIED','/unit/','CLOSE_ROOM','cfg','_imageSourceCache','_injector','mixIn','CommandType','UNDEFINED','_key','resourceIDs','every','onTransformState','_hasher','CollaborationEvent','RichTextEditingMutation','saveImage','shareReplay','_retryCount','unitID','ERROR_IMAGE','/fetchmissing?from=','objectID','SNAPSHOT_INVALID_SNAPSHOT','MUTATION','image/png','_state$','sessionStatus$','INTERNAL_ERROR','create','AUTHZ_URL_KEY','CollaborationEntity','COLLAB_SUBMIT_CHANGESET_URL','_emitMembers','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','isInternalEditorID','UPDATE_PERMISSION_OBJ','_roomMembers','delay','sigBytes','getCollabEntity','YUUMI_CONNECTOR_URL_NOT_FOUND','_userManagerService','getLatestCsReqIdBySid','params','fetchMiss','_onFetchMissResult','ReplaySubject','slice','reset','awaiting_with_pending','APPLY_REJECT','BehaviorSubject','NOT_COLLAB','_map','workbook','b64DecodeUnicode','CompressMutationService','_sender','LIVESHARE_NEW_HOST','_initCloseConn','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UniverCollaborationPlugin','JOINING','TOO_MANY_REQUESTS','_transitionLocked','padding','HttpExport','getInterceptPoints','_lockTransition','getSheetId','_substituteRedoStack','updateOfflineData','generateRandomId','CollaborationSession','ONLINE','onTransformSelections','INetworkConditionService','_changesetReqId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','keySize','_disableEditing','HELLO','getWorkbookSelections','POST','/object/','Optional','_onJoinRoomEvent','COLLAB_SUBMIT_CHANGESET_URL_KEY','avatar','onSendChangeset','ICollaborationSocketService','awaiting','splice','uniscriptRunEvent','awaitingChangeset','onRemoteAck','[CollaborationSessionService]','_getRedoStack','unitInfo$','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','iterations','_fetchMissChangesets','startTime','charAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','cmd','setShowComponents','_getDownloadEndpointURL','UNKNOWN_CODE','csRejEvent','_schedule','_compressMutationService','COMPRESS_MUTATION_SEND','snapshot','COLLAB_WEB_SOCKET_URL_KEY','_initUnitPermissionChange','parseChangesetToProtocol','mergeOverrideWithDependencies','INVITE_CODE_HAS_BEEN_UES','getAllMembers','SUBMIT_CHANGESET','USERS_LEAVE','pad','_transformSelections','ImageUploadStatusType','confirm','revision','socketService','$super','CHANGESET_SHOULD_RETRY','buffer','mode','ISnapshotServerService','_showConflictNotification','call','[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.','SUBMIT_CHANGESET_TIMEOUT','SOCKET_FAILED','Subject','SOCKET_FAILED_RETRY','SYNCED','ENSURE_SNAPSHOT_EXECUTION','_onMessage','_socketMessageSubscription','getTypeOfUnitDisposed$','?url=','image/jpeg','SheetTransformSelectionsService','onTransformRemoteChangesetByStateCache','error$','Injector','ciphertext','CHANGESET_ACK','m2Prime','_onOffline','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_MAX_UNITS_EXCEEDED','getRandomValues','now','?size=','FETCH_MISSING','YUUMI_NO_CUBOID_FOR_QUESTION','_toggleOffline','COMPLETION_FINISHED','_onRemoteChangeset','_createHelper','registerDependencies','mapDocumentTypeToUniverType','\x0aAfter:\x20','mutations','enc','permissionRejEvent','randomBytes','CBC','/rev/','APPLY_DUPLICATED','defineProperty','replace','collabWebSocketUrl','type','name','HTTPService','LocalUndoRedoService','c2Prime','_registerDependencies','requestParams','_members','ITransformService','listCollaborators','_members$','createEncryptor','Error\x20on\x20receiving\x20event','delete','_onCombEvent','objectType','_updateStatus','YUUMI_RATE_OVER_LIMIT','ILocalCacheService','symbol','_undoRedoService','onStarting','_prevBlock','members','APPLY_PERMISSION_DENIED','join','/universer-api/file/{fileID}/sign-url','SnapshotService','getCurrentUser','focused$','x-univer-host','Univer','_createInitialStateImpl','parseProtocolChangeset','_doProcessBlock','from','_submitChangeset','_waitForHeartbeatResponse','collaborators','objectActions','subscribe','createInstance','interceptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_onLocalMutation','_socketService','auth.needGotoLoginAlert','roles','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WorkbookEditablePermission','SnapshotServerOverHTTPService','push','LIVESHARE_OPERATION','_resendTimeout','INVALID_ARGUMENT','length','_append','_logService','localeService','DependentOn','onMissingChangesets','_cipher','Decryptor','UnitSnapshot','conflict','NO_OTHER_CLIENTS_EDITING','unknown','Rectangle','[UniverCollaborationClientPlugin]','unpad','entityInit$','registerHTTPInterceptor','concatMap','\x20to\x20','dispose','_httpService','_ENC_XFORM_MODE','[CollaborationEntity]','onLocalMutation','NoPadding','_instanceService','_initDependencies','reject','collaboration-client.config','{fileID}','encode','_sheetTransformSelectionsService','BASE64','hasher','takeUntil','transformSelections','OTHER_CLIENTS_EDITING','allowed','pipe','[PendingState]:\x20received\x20rejection.','UserManagerService','ALREADY_EXISTS','_shouldReportTelemetry','eventID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','submit\x20changeset\x20error!','FileId','post','IDLE','unsubscribe','createIdentifier','compute','BlockCipherMode','LIVESHARE_TERMINATE','_xformMode','_transformStateCache','transformChangesets','INGEST','RxDisposable','_telemetryInfo','_clearRedo','socket\x20open.','clear','patch','getUnitId','LEAVE','UNISCRIPT_RUN','FAIL','_scheduleCollaborationTimeoutTimer','DEFAULT_FILE_NAME','getDeserializedSheetBlock','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','AWAITING_WITH_PENDING','USER_NOT_INVITED_CODE','_doFinalize','executeCommand','resend','SNAPSHOT_HAS_BEEN_REMOVED','HEARTBEAT_TIMEOUT_KEY','fetchThroughInterceptors','parse','getMember','emitEvent','_createInitialState','_rescheduleHeartbeat','COMPRESS_MUTATION_APPLY','PERMISSION_DENIED','UNIVER_PROJECT','firstValueFrom','_DEC_XFORM_MODE','not_collab','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','action','_keySchedule','textRanges','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getSnapshotAPIPath','waitForRoom$','getImageSourceCache','3347885eUcQtP','ERROR_IMAGE_TYPE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_roomCreated$','_onRemoteACK','_snapshotServerService','title','_eventService','UNIVER_UNKNOWN','includes','BufferedBlockAlgorithm','Encryptor','serializeCombRequest','transformMutationsWithChangeset','result','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','socket$','PERSON','_transformUndoredo','SessionStatus','clamp','Base64','set','getRoom','session.room-cnt-exceeds','_resendTimer','actions','UNIVER_SLIDE','clone','FETCH_MISS','getUnit','ceil','__Key__','_updateState','onCommentUpdate','/-/object/list','src','_clearHeartbeatTimer','_isPermissionRej','PendingState','status','collaboratorID','_tryReconnect','HTTPRequest','closeSession','EXCHANGE_SIGN_URL_SERVER_URL_KEY','saveSnapshot','_startTelemetryCollaborationNewChangeset','Tools','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','joinEvent','OPTIONAL','encrypt','USERS_ENTER','format','EMAIL_VERIFY_CODE_MISMATCH','equals','onCommandExecuted','RevisionService','UNAUTHENTICATED','CollaborationUIEventService','_commentUpdate$','SetSelectionsOperation','_decreaseWaiting','374223dWlVrB','addImageSourceCache','IContextService','SNAPSHOT_URL_KEY','getValue','DocCollaborationEntity','_onUserJoin','6EVzyoq','_getCurrentRevision','isTransformMutationsWithChangesetFailure','onMissedChangesetFetched','_executeRemoteChangeset','[SyncedState]:\x20received\x20rejection.','__esModule','SNAPSHOT_SERVER_URL_KEY','function','_onRemoteRejected','getCurrentRevOfUnit','UPDATE_CURSOR','getActiveSheet','_mode','_commandService','getOwnPropertyDescriptor','createDecryptor','init','disposeWithMe','byteOffset','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitStatus','subject','MemberService','_collaborationSessionService','updatePermissionPoint','objects','transformUndoRedo','Workbook','_clearRetryConnectingTimer','snapshotServerUrl','_config','Hex','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SHEET','CollaborationImageIoService','hasOwnProperty','commentUpdateEvent','_getCtorByUniverType','CommentService','fromCharCode','CollaborativeUndoRedoService','changesets','1067330NaCNCM','SheetsSelectionsService','_snapshotService','_localCacheService','removeMember','save\x20fail\x20reason\x20is\x20','reconnect','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','3969688mDmQWo','/collaborator','Quantity','isTransformMutationsWithChangesetSuccess','Inject','CHANGESET_REVISION_CONFILICT','_onUserLeave','find','_doReset','AuthzIoHttpService','algo','Disposable','JSONX','/block/','random','onRemoteRej','session','_exhaustRemoteChangesetQueue','Latin1','commentUpdate$','_getLoginPath','HEARTBEAT','_status$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RECV','getUnitOnRev','HEARTBEAT_TIMEOUT','loadDoc','_retryConnectingTimer','_startCollaboration','_event$','CollaborationSessionService','dispose$','CipherParams','open$','event$','CollaborationStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_incrementRevisionNumber','_sendingTimer','_transformIMECache','/-/object/-/batch_allowed','string','Cipher','Pkcs7','_revisionService','LIVESHARE_REQUEST_HOST','_networkConditionService','/allowed','_acknowledgedAwaitingChangeset','debug','members$','IUndoRedoService','_throwTelemetryCollaborationNewChangeset','onRemoteChangeset','_createHmacHelper','_awaitingChangeset','Base','MD5','ITelemetryService','lib','UniverCollaborationClientPlugin','YUUMI_SUBSCRIPTION_NOT_FOUND','unitId','_commentService','LOGIN_URL_KEY','isPermissionRej','_onRecvEvent','toString','decrypt','_getAPIPrefixPath','code','JOIN_ROOM_FAILED','toggleOnline','InsertSheetMutation','_onRemoteRetry','[CollaborationUndoRedoService]','size','IUniverInstanceService','_clearCollaborationTimeoutTimer','originalMeta','joinRsp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CONNECTOR_DATA_TOO_LARGE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_resendWithTimeout','href','OTHER_CLIENT_EDITING','_replaceFileID','repeat','ThresholdInterceptorFactory','getResourcesRequest','updateCursorEvent','salt','collaboration_new_changeset','_invKeySchedule','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','userID','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','uploadFileServerUrl','words','JOIN_ROOM_FULL','_replayCachedMutations','retryConnectingInterval','reduce','editing\x20status\x20changed\x20to','next','Could\x20not\x20dynamically\x20require\x20\x22','LICENSE_EXPORT_SIZE_EXCEEDED','selections','_sessions','AES','_telemetryService','_handlerCallback','enableOfflineEditing','__creator','getMemberID','COLLAB_WEB_SOCKET_URL','prototype','entries','univer-pro.collaboration-client.single-active-unit-service','_changesetSessionId','PSEUDO_FETCH_MISSING_RESULT','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_handler','list','abs','_scheduleCompleteTimestamp','/resources','blockSize','image/bmp','localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','body','univer-pro.collaboration-client-socket-service','SheetCollaborationEntity','getCollabEntity$','_updateLocalCache','target','_change$','filter','incrementRevOfUnit','_onConnectionFailed','send','IImageIoService','take','/universer-api/user/session-ticket','createSocket','LOCAL_CACHE_INTERVAL_KEY','_getUndoStack','_nRounds','YUUMI_UNABLE_LOAD_URL','_data','OpenSSL','YUUMI_AI_RUN_FAILED','getFocusedUnit','status$','ivSize','_onConflict','compose','_socket$','HEARTBEAT_INTERVAL_KEY','exports','requireSession','_waitCount','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationTimeoutTimer','_transformStack','_oKey','file','OFFLINE','UNKNOWN_CMD','_localeService','_clearTimeoutTimer','rev','1237899Ysgzqt','RETRY_CONNECTING_MAX_COUNT_KEY','CHANGESET_REJ','key','kdf','_getAPIPrefix','isArray','_configService','_remoteChangesetQueue','responseType','&source=','/universer-api/uniscript','_socket','_socketReady','apply','2356249llGqlN','signUrlServerUrl','_applyRemoteChangeset','toggleOffline','_initRequestHeader','INVALID_INVITE_CODE','MOBILE_VERIFY_CODE_MISMATCH','_sendHeartbeat','initWorkbookPermissionChange','loadUnit','finalize','\x20in\x20_schedule.','location','onlyLocal','ILogService','_doCreateSocket','_parse','getConfig','LIVESHARE_FETCH_OPERATIONS','concat','pending','_type','_process','People','_initMergeInterceptor','getTime','UnitEmbedded','_clearLocalCache','BlockCipher','DataLoaderService','routeKey','_sessionStatus$','error','_onConnectionOpen','INVITE_CODE_ALREADY_BOUND','authzUrl','_minBufferSize','/role','LOGIN_FAILED','onSyncEditingCollabCursor','/universer-api/comb','message$','collabSubmitChangesetUrl','sequenceExecute','_doCryptBlock','SHOULD_CLOSE_CONN','fromCollab','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_DOC','addHandlerCallback','_entityInit$','Utf8','min','createCollaborator','PY_RUNTIME_SCRIPT_ERROR','headers','CollaborationController','_substituteUndoStack','add','default','_pendingMutations','_transformRemoteChangesetByStateCache','batchAllowed','saveSheetBlock','max','_collabSessionService','_transformService','floor','/universer-api/authz','Undefined','c1Prime','_getUploadFileURL','_collaborationPaused','change$','PENDING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','session.room-full','substr','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','extend','fetch_missing','ImageSourceType','_tryEnsureSocket','[CollaborationSessionService]:\x20socket\x20error','loadUnitOfRevision','UserProfileImg','findIndex','IAuthzIoService','_unitID','HmacSHA1','_unlockTransition','updateCollaborator','newCsEvent','[DataLoaderService]','_permissionService','toDisposable','SHA1','CollaborationSocketService','Plugin','HEARTBEAT_INTERVAL','resolve','asObservable','merge','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','hostname','_keyPriorReset','/new_changes','textEncoder','WordArray','complete','get','processBlock','setConfig','_clearScheduledTask','downloadEndpointUrl','AwaitingState','url','getLocalCacheKey','_syncEditingCollabCursor','2701656IEqMAp','HMAC','OfflineState','\x20-\x20','readInt32LE','SheetPermissionInitController','_iKey','copyFileMeta','_reverseMap','_entities','LocaleService','HmacMD5','refreshPermission','updateMember','_collaborationUIEventService','CollaborationUIEventId','UniverInstanceType','/object','charCodeAt','_univerInstanceService','EvpKDF','SyncedState','touchDependencies','toStringTag','_nDataBytes','INVITE_CODE_REQUIRED','_iv','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','baseRev','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_checkMissing','readyForCollab','forEach','[CollaborationSession]','IConfigService','close','/universer-api/snapshot','_state','setCurrentUser','synced','crypto','sendChangesetTimeout','session.room-not-exists','data','[SyncedState]:\x20received\x20acknowledgement.','update','MentionIoHttpService','DEFAULT_WS_SESSION_TICKET_URL','catch','_toggleOnline','loadOfflineData','_getSendChangesetTimeout','deepClone','LICENSE_DISTRO_REJECTED','offline','APPLY_REVISION_CONFILICT','getImage','state','FetchingMissState','capture','YUUMI_URL_COL_OUT_OF_RANGE','isTransformChangesetsSuccess','append','_getSignURL','map','sessionStatus','_listenToNetworkCondition','WECHAT_HAS_BEEN_BOUND','AwaitingWithPendingState','_queuedRemoteChangesets','ICommandService','_transformRemoteChangesetByIMECache','NEW_CHANGESETS','_redoStacks','\x0aCurrent:\x20','COMMENT_UPDATE','stopTime','ConflictState','sid','appendMutation','GLOBAL_ROOMS_CNT_EXCEEDS','_unitInfo$','origin','encodeURIComponent','_removeRoom','_hash','getUnitType','fetchMissingChangesets'];_0xcb18=function(){return _0x28c6ab;};return _0xcb18();}let ye=class{constructor(_0x38511f,_0x5ce659,_0x4bd944){var _0x1ae312=_0x4611e8;this['_configService']=_0x38511f,this[_0x1ae312(0x48d)]=_0x5ce659,this[_0x1ae312(0x47c)]=_0x4bd944,this[_0x1ae312(0x1b7)]();}[_0x4611e8(0x1b7)](){var _0x4d0971=_0x4611e8;this[_0x4d0971(0x48d)][_0x4d0971(0x489)]({'priority':0x1,'interceptor':(_0x3d4111,_0x245bea)=>_0x245bea(_0x3d4111)[_0x4d0971(0x121)]($[_0x4d0971(0x48a)](async _0x5f190b=>{var _0x16354c=_0x4d0971;const _0x4cc3ff=_0x5f190b;if(_0x4cc3ff[_0x16354c(0x187)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x16354c(0x40c)](this[_0x16354c(0x47c)]['t'](_0x16354c(0x470)))){const _0x161325=window[_0x16354c(0x366)](window[_0x16354c(0x2a4)][_0x16354c(0x22f)]);window[_0x16354c(0x2a4)][_0x16354c(0x22f)]=this[_0x16354c(0x1ed)]()+_0x16354c(0x420)+_0x161325;}}return _0x4cc3ff;}))});}[_0x4611e8(0x1ed)](){var _0x2618bb=_0x4611e8,_0x45cbd5,_0x245155;const _0x3c21ed=this['_configService']['getConfig'](pt),_0x7bb3b3=this[_0x2618bb(0x290)][_0x2618bb(0x2a9)](G);return(_0x245155=(_0x45cbd5=_0x7bb3b3==null?void 0x0:_0x7bb3b3['loginUrlKey'])!=null?_0x45cbd5:_0x3c21ed)!=null?_0x245155:Wt;}};ye=Ci([Ae(0x0,a[_0x4611e8(0x335)]),Ae(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)])),Ae(0x2,a[_0x4611e8(0x1dd)](a['LocaleService']))],ye);var Ti=Object[_0x4611e8(0x1b5)],bi=(_0x3e1aa3,_0x12996e,_0x4beb49,_0xab9178)=>{for(var _0x5863ed=_0xab9178>0x1?void 0x0:_0xab9178?Ti(_0x12996e,_0x4beb49):_0x12996e,_0x2c9a33=_0x3e1aa3['length']-0x1,_0x3f71ac;_0x2c9a33>=0x0;_0x2c9a33--)(_0x3f71ac=_0x3e1aa3[_0x2c9a33])&&(_0x5863ed=_0x3f71ac(_0x5863ed)||_0x5863ed);return _0x5863ed;},qe=(_0x269ebd,_0x5af809)=>(_0x37273e,_0xd3acb2)=>_0x5af809(_0x37273e,_0xd3acb2,_0x269ebd);const Ve=_0x4611e8(0x3a9),Ri=_0x4611e8(0x2dc);exports[_0x4611e8(0x1e2)]=class extends a[_0x4611e8(0x1e4)]{constructor(_0x569bed,_0x6f735f){var _0x3c3562=_0x4611e8;super(),this['_HTTPService']=_0x569bed,this[_0x3c3562(0x290)]=_0x6f735f,this[_0x3c3562(0x2b0)]();}['_initMergeInterceptor'](){const _0x1a5b71=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x58c99a){var _0x14d073=_0x4139,_0x129a8a;if(_0x58c99a[_0x14d073(0x389)]===_0x14d073(0x3e1)&&((_0x129a8a=_0x58c99a[_0x14d073(0x448)])!=null&&_0x129a8a[_0x14d073(0x25f)])){const {objectID:_0x2f8d30,objectType:_0x1d4e81}=_0x58c99a['requestParams']['body']||{};if(!_0x2f8d30||_0x1d4e81===void 0x0)return!0x1;const _0x521317=_0x1a5b71[_0x14d073(0x21f)]()+'/'+_0x1d4e81+'/object/'+_0x2f8d30+_0x14d073(0x209);if(_0x58c99a['url']===_0x521317)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xf23989){var _0x1a1933=_0x4139,_0x14c3ac;return(_0x14c3ac=_0xf23989[_0x1a1933(0x448)])==null?void 0x0:_0x14c3ac['body'];},'mergeParamsToRequest'(_0x21ddcf,_0xfd33db){var _0x17f745=_0x4139;const _0x1f4207=_0x1a5b71[_0x17f745(0x21f)]()+_0x17f745(0x202),_0x3c8d02=_0x21ddcf['reduce']((_0x1d986c,_0x278022)=>{var _0x490dbd=_0x17f745;const {unitID:_0x1d74d1,objectID:_0x1c2bb4,objectType:_0x24bb21,actions:_0x1a5ee9}=_0x278022;return _0x1d986c[_0x1d74d1]||(_0x1d986c[_0x1d74d1]={}),_0x1d986c[_0x1d74d1][_0x1c2bb4]||(_0x1d986c[_0x1d74d1][_0x1c2bb4]={'objectID':_0x1c2bb4,'objectType':_0x24bb21,'actions':[]}),_0x1d986c[_0x1d74d1][_0x1c2bb4][_0x490dbd(0x179)][_0x490dbd(0x475)](..._0x1a5ee9),_0x1d986c;},{}),_0x5014b4=[];for(const _0x18c468 in _0x3c8d02)for(const _0x5e7f0d in _0x3c8d02[_0x18c468]){const {actions:_0x70bd40,objectType:_0x466b00}=_0x3c8d02[_0x18c468][_0x5e7f0d],_0x29b8eb=[...new Set(_0x70bd40)];_0x5014b4[_0x17f745(0x475)]({'unitID':_0x18c468,'objectID':_0x5e7f0d,'objectType':_0x466b00,'actions':_0x29b8eb});}return new K[(_0x17f745(0x18a))](_0x17f745(0x3e1),_0x1f4207,{'headers':_0xfd33db[_0x17f745(0x2cf)],'withCredentials':_0xfd33db['withCredentials'],'responseType':_0xfd33db[_0x17f745(0x292)],'body':{'requests':_0x5014b4}});}},{'distributeResult'(_0x46f507,_0x15ec4e){var _0x261fc5=_0x4139;const {objectActions:_0xc265f0}=_0x46f507;return _0x15ec4e[_0x261fc5(0x353)](_0x49b27a=>{var _0x33efd4=_0x261fc5;const {unitID:_0x3a0ba3,objectID:_0xeb0e1b,actions:_0x1f7175}=_0x49b27a,_0x5f2bf4=_0xc265f0['find'](_0x170ea1=>_0x170ea1['unitID']===_0x3a0ba3&&_0x170ea1[_0x33efd4(0x3a1)]===_0xeb0e1b),_0x540d33=_0x1f7175[_0x33efd4(0x353)](_0x5f5763=>_0x5f2bf4==null?void 0x0:_0x5f2bf4[_0x33efd4(0x179)][_0x33efd4(0x1e0)](_0x33d7c5=>_0x33d7c5[_0x33efd4(0x158)]===_0x5f5763))[_0x33efd4(0x266)](_0x35a580=>!!_0x35a580);return{'config':_0x49b27a,'result':{'actions':_0x540d33,'error':_0x46f507[_0x33efd4(0x2b8)]}};});}})}));}['_getAPIPrefixPath'](){var _0x19a230=_0x4611e8,_0x358943,_0x50c561;const _0x3bfb5b=this[_0x19a230(0x290)]['getConfig'](Ve),_0x426d69=this[_0x19a230(0x290)][_0x19a230(0x2a9)](G);return(_0x50c561=(_0x358943=_0x426d69==null?void 0x0:_0x426d69[_0x19a230(0x2bb)])!=null?_0x358943:_0x3bfb5b)!=null?_0x50c561:Ri;}async[_0x4611e8(0x3a8)](_0x3390a4){var _0x37348b=_0x4611e8;const _0x5926d4=this[_0x37348b(0x21f)]()+'/'+_0x3390a4[_0x37348b(0x451)]+_0x37348b(0x320);return(await this[_0x37348b(0x37c)]['post'](_0x5926d4,{'body':_0x3390a4}))[_0x37348b(0x25f)]['objectID']||'';}async[_0x4611e8(0x257)](_0xa907d4){var _0x980c31=_0x4611e8;const _0xefa4aa=this[_0x980c31(0x21f)]()+_0x980c31(0x182);return(await this[_0x980c31(0x37c)][_0x980c31(0x12a)](_0xefa4aa,{'body':_0xa907d4}))[_0x980c31(0x25f)][_0x980c31(0x1c0)];}async[_0x4611e8(0x340)](_0x72a432){var _0x563777=_0x4611e8,_0x84070b,_0x3b5f1b;const _0x33a07=this[_0x563777(0x21f)]()+'/'+_0x72a432['objectType']+_0x563777(0x3e2)+_0x72a432[_0x563777(0x3a1)],_0x2df5d7=await this[_0x563777(0x37c)][_0x563777(0x381)](_0x33a07,{'body':_0x72a432});if(((_0x3b5f1b=(_0x84070b=_0x2df5d7==null?void 0x0:_0x2df5d7[_0x563777(0x25f)])==null?void 0x0:_0x84070b['error'])==null?void 0x0:_0x3b5f1b[_0x563777(0x220)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x4611e8(0x120)](_0xbbb576){var _0x1f3674=_0x4611e8;const _0x74ca0e=this[_0x1f3674(0x21f)]()+'/'+_0xbbb576[_0x1f3674(0x451)]+_0x1f3674(0x3e2)+_0xbbb576[_0x1f3674(0x3a1)]+_0x1f3674(0x209);return(await this['_HTTPService'][_0x1f3674(0x12a)](_0x74ca0e,{'body':_0xbbb576}))['body'][_0x1f3674(0x179)];}async[_0x4611e8(0x2d6)](_0x188a9c){var _0x350ea8=_0x4611e8;const _0x84d7ff=this[_0x350ea8(0x21f)]()+'/-/object/-/batch_allowed';return(await this[_0x350ea8(0x37c)]['post'](_0x84d7ff,{'body':{'requests':_0x188a9c}}))[_0x350ea8(0x25f)][_0x350ea8(0x469)];}async['listRoles'](_0x3f6435){var _0x5a248a=_0x4611e8;const _0x66f990=this[_0x5a248a(0x21f)]()+'/'+_0x3f6435[_0x5a248a(0x451)]+_0x5a248a(0x2bd),_0x4359cc=await this['_HTTPService'][_0x5a248a(0x12a)](_0x66f990,{'body':_0x3f6435});return{'roles':_0x4359cc[_0x5a248a(0x25f)][_0x5a248a(0x471)],'actions':_0x4359cc[_0x5a248a(0x25f)][_0x5a248a(0x179)]};}async['deleteCollaborator'](_0x54ab79){var _0x17031b=_0x4611e8;const _0x36d21c=this[_0x17031b(0x21f)]()+_0x17031b(0x1da);await this[_0x17031b(0x37c)][_0x17031b(0x44f)](_0x36d21c,{'params':{'collaboratorID':_0x54ab79[_0x17031b(0x188)],'objectID':_0x54ab79[_0x17031b(0x3a1)],'unitID':_0x54ab79['unitID']}});}async[_0x4611e8(0x2f3)](_0x35bf16){var _0x3ddab3=_0x4611e8;const _0x3c46bd=this['_getAPIPrefixPath']()+_0x3ddab3(0x1da);await this[_0x3ddab3(0x37c)][_0x3ddab3(0x13a)](_0x3c46bd,{'body':_0x35bf16});}async[_0x4611e8(0x2cd)](_0x3d776e){var _0x34f5c4=_0x4611e8;const _0x483f61=this[_0x34f5c4(0x21f)]()+_0x34f5c4(0x1da);await this[_0x34f5c4(0x37c)][_0x34f5c4(0x12a)](_0x483f61,{'body':_0x3d776e});}async[_0x4611e8(0x44b)](_0x2cf827){var _0x1b0441=_0x4611e8;const _0x561586=this[_0x1b0441(0x21f)]()+_0x1b0441(0x1da);return(await this[_0x1b0441(0x37c)][_0x1b0441(0x306)](_0x561586,{'params':{'objectID':_0x2cf827[_0x1b0441(0x3a1)],'unitID':_0x2cf827[_0x1b0441(0x39e)]}}))[_0x1b0441(0x25f)][_0x1b0441(0x468)];}async[_0x4611e8(0x37d)](_0x1b86a2){var _0x27da1e=_0x4611e8;const _0x4d1741=this[_0x27da1e(0x21f)]()+_0x27da1e(0x1da);await this[_0x27da1e(0x37c)][_0x27da1e(0x381)](_0x4d1741,{'body':_0x1b86a2});}},exports[_0x4611e8(0x1e2)]=bi([qe(0x0,a[_0x4611e8(0x1dd)](K['HTTPService'])),qe(0x1,a['Inject'](a[_0x4611e8(0x335)]))],exports[_0x4611e8(0x1e2)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x204b0c){var _0xbd8573=_0x4611e8;return _0x204b0c&&_0x204b0c[_0xbd8573(0x1ac)]&&Object[_0xbd8573(0x250)][_0xbd8573(0x1ca)][_0xbd8573(0x415)](_0x204b0c,_0xbd8573(0x2d3))?_0x204b0c[_0xbd8573(0x2d3)]:_0x204b0c;}var fe={'exports':{}};function Oi(_0x44c3a6){var _0x4e37c0=_0x4611e8;throw new Error(_0x4e37c0(0x245)+_0x44c3a6+_0x4e37c0(0x27f));}var Ie={'exports':{}},yi=Ie[_0x4611e8(0x27c)],ze;function Q(){var _0x4f0766=_0x4611e8;return ze||(ze=0x1,function(_0x4314cc,_0x255c27){(function(_0x2e03a8,_0xa9d54f){_0x4314cc['exports']=_0xa9d54f();}(yi,function(){var _0x58d27a=_0x58d27a||function(_0x48de78,_0x10ab74){var _0x4905b8=_0x4139,_0x42ecaf;if(typeof window<'u'&&window[_0x4905b8(0x33b)]&&(_0x42ecaf=window['crypto']),typeof self<'u'&&self[_0x4905b8(0x33b)]&&(_0x42ecaf=self[_0x4905b8(0x33b)]),typeof globalThis<'u'&&globalThis[_0x4905b8(0x33b)]&&(_0x42ecaf=globalThis['crypto']),!_0x42ecaf&&typeof window<'u'&&window['msCrypto']&&(_0x42ecaf=window['msCrypto']),!_0x42ecaf&&typeof Pe<'u'&&Pe[_0x4905b8(0x33b)]&&(_0x42ecaf=Pe['crypto']),!_0x42ecaf&&typeof Oi==_0x4905b8(0x1ae))try{_0x42ecaf=require('crypto');}catch{}var _0x37d496=function(){var _0x45503c=_0x4905b8;if(_0x42ecaf){if(typeof _0x42ecaf[_0x45503c(0x42c)]=='function')try{return _0x42ecaf[_0x45503c(0x42c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42ecaf[_0x45503c(0x43b)]=='function')try{return _0x42ecaf[_0x45503c(0x43b)](0x4)[_0x45503c(0x313)]();}catch{}}throw new Error(_0x45503c(0x2e6));},_0x238c9d=Object[_0x4905b8(0x3a8)]||(function(){function _0x398536(){}return function(_0xdef271){var _0x5d32e5=_0x4139,_0xf07ea4;return _0x398536[_0x5d32e5(0x250)]=_0xdef271,_0xf07ea4=new _0x398536(),_0x398536[_0x5d32e5(0x250)]=null,_0xf07ea4;};}()),_0x10d4cd={},_0x24e761=_0x10d4cd[_0x4905b8(0x215)]={},_0x2d558c=_0x24e761[_0x4905b8(0x212)]=(function(){return{'extend':function(_0x2fbff3){var _0x3383a3=_0x4139,_0xe90a3=_0x238c9d(this);return _0x2fbff3&&_0xe90a3[_0x3383a3(0x391)](_0x2fbff3),(!_0xe90a3[_0x3383a3(0x1ca)]('init')||this[_0x3383a3(0x1b7)]===_0xe90a3[_0x3383a3(0x1b7)])&&(_0xe90a3[_0x3383a3(0x1b7)]=function(){var _0xe0b142=_0x3383a3;_0xe90a3[_0xe0b142(0x40f)][_0xe0b142(0x1b7)][_0xe0b142(0x297)](this,arguments);}),_0xe90a3[_0x3383a3(0x1b7)][_0x3383a3(0x250)]=_0xe90a3,_0xe90a3[_0x3383a3(0x40f)]=this,_0xe90a3;},'create':function(){var _0x20ede0=_0x4139,_0x4c5983=this[_0x20ede0(0x2e7)]();return _0x4c5983[_0x20ede0(0x1b7)][_0x20ede0(0x297)](_0x4c5983,arguments),_0x4c5983;},'init':function(){},'mixIn':function(_0x1ed521){var _0x802322=_0x4139;for(var _0x5e91c6 in _0x1ed521)_0x1ed521[_0x802322(0x1ca)](_0x5e91c6)&&(this[_0x5e91c6]=_0x1ed521[_0x5e91c6]);_0x1ed521['hasOwnProperty']('toString')&&(this[_0x802322(0x21d)]=_0x1ed521['toString']);},'clone':function(){var _0x400c24=_0x4139;return this[_0x400c24(0x1b7)][_0x400c24(0x250)][_0x400c24(0x2e7)](this);}};}()),_0x324f68=_0x24e761[_0x4905b8(0x304)]=_0x2d558c[_0x4905b8(0x2e7)]({'init':function(_0x4ab5bb,_0x4c49fb){var _0x551699=_0x4905b8;_0x4ab5bb=this[_0x551699(0x23e)]=_0x4ab5bb||[],_0x4c49fb!=_0x10ab74?this[_0x551699(0x3b3)]=_0x4c49fb:this['sigBytes']=_0x4ab5bb[_0x551699(0x479)]*0x4;},'toString':function(_0x42a56a){var _0x3be839=_0x4905b8;return(_0x42a56a||_0x322bc6)[_0x3be839(0x37b)](this);},'concat':function(_0x57cdd9){var _0x497a42=_0x4905b8,_0x3463c0=this['words'],_0x12b07e=_0x57cdd9[_0x497a42(0x23e)],_0x3d93f7=this[_0x497a42(0x3b3)],_0x3881a4=_0x57cdd9[_0x497a42(0x3b3)];if(this[_0x497a42(0x173)](),_0x3d93f7%0x4)for(var _0x328e69=0x0;_0x328e69<_0x3881a4;_0x328e69++){var _0x46e773=_0x12b07e[_0x328e69>>>0x2]>>>0x18-_0x328e69%0x4*0x8&0xff;_0x3463c0[_0x3d93f7+_0x328e69>>>0x2]|=_0x46e773<<0x18-(_0x3d93f7+_0x328e69)%0x4*0x8;}else{for(var _0x3ee988=0x0;_0x3ee988<_0x3881a4;_0x3ee988+=0x4)_0x3463c0[_0x3d93f7+_0x3ee988>>>0x2]=_0x12b07e[_0x3ee988>>>0x2];}return this[_0x497a42(0x3b3)]+=_0x3881a4,this;},'clamp':function(){var _0x1a8751=_0x4905b8,_0x3e867a=this[_0x1a8751(0x23e)],_0x57e248=this[_0x1a8751(0x3b3)];_0x3e867a[_0x57e248>>>0x2]&=0xffffffff<<0x20-_0x57e248%0x4*0x8,_0x3e867a['length']=_0x48de78[_0x1a8751(0x17e)](_0x57e248/0x4);},'clone':function(){var _0x5488f1=_0x4905b8,_0x4b80a6=_0x2d558c[_0x5488f1(0x17b)][_0x5488f1(0x415)](this);return _0x4b80a6['words']=this[_0x5488f1(0x23e)][_0x5488f1(0x3bc)](0x0),_0x4b80a6;},'random':function(_0x2df347){var _0x513506=_0x4905b8;for(var _0x459b78=[],_0x54ab07=0x0;_0x54ab07<_0x2df347;_0x54ab07+=0x4)_0x459b78[_0x513506(0x475)](_0x37d496());return new _0x324f68[(_0x513506(0x1b7))](_0x459b78,_0x2df347);}}),_0x2b8d73=_0x10d4cd[_0x4905b8(0x439)]={},_0x322bc6=_0x2b8d73[_0x4905b8(0x1c6)]={'stringify':function(_0x2a678b){var _0x29d07d=_0x4905b8;for(var _0x33979c=_0x2a678b[_0x29d07d(0x23e)],_0x206ec6=_0x2a678b['sigBytes'],_0x2f2ad8=[],_0xacd2a8=0x0;_0xacd2a8<_0x206ec6;_0xacd2a8++){var _0x5d358b=_0x33979c[_0xacd2a8>>>0x2]>>>0x18-_0xacd2a8%0x4*0x8&0xff;_0x2f2ad8[_0x29d07d(0x475)]((_0x5d358b>>>0x4)[_0x29d07d(0x21d)](0x10)),_0x2f2ad8[_0x29d07d(0x475)]((_0x5d358b&0xf)[_0x29d07d(0x21d)](0x10));}return _0x2f2ad8[_0x29d07d(0x45b)]('');},'parse':function(_0x1bb35c){var _0x3450d0=_0x4905b8;for(var _0x15e60b=_0x1bb35c[_0x3450d0(0x479)],_0x17e186=[],_0x8a36fa=0x0;_0x8a36fa<_0x15e60b;_0x8a36fa+=0x2)_0x17e186[_0x8a36fa>>>0x3]|=parseInt(_0x1bb35c[_0x3450d0(0x2e5)](_0x8a36fa,0x2),0x10)<<0x18-_0x8a36fa%0x8*0x4;return new _0x324f68[(_0x3450d0(0x1b7))](_0x17e186,_0x15e60b/0x2);}},_0x298917=_0x2b8d73[_0x4905b8(0x1eb)]={'stringify':function(_0x3591d2){var _0xbf8591=_0x4905b8;for(var _0x1053aa=_0x3591d2['words'],_0x507ec0=_0x3591d2['sigBytes'],_0x45c090=[],_0x5128f4=0x0;_0x5128f4<_0x507ec0;_0x5128f4++){var _0x13efa0=_0x1053aa[_0x5128f4>>>0x2]>>>0x18-_0x5128f4%0x4*0x8&0xff;_0x45c090[_0xbf8591(0x475)](String[_0xbf8591(0x1ce)](_0x13efa0));}return _0x45c090[_0xbf8591(0x45b)]('');},'parse':function(_0xba7279){var _0x31e8ee=_0x4905b8;for(var _0x1e5e34=_0xba7279[_0x31e8ee(0x479)],_0x54690c=[],_0x27be69=0x0;_0x27be69<_0x1e5e34;_0x27be69++)_0x54690c[_0x27be69>>>0x2]|=(_0xba7279['charCodeAt'](_0x27be69)&0xff)<<0x18-_0x27be69%0x4*0x8;return new _0x324f68['init'](_0x54690c,_0x1e5e34);}},_0x648567=_0x2b8d73['Utf8']={'stringify':function(_0x3159ac){try{return decodeURIComponent(escape(_0x298917['stringify'](_0x3159ac)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x494876){return _0x298917['parse'](unescape(encodeURIComponent(_0x494876)));}},_0xeda43f=_0x24e761[_0x4905b8(0x169)]=_0x2d558c[_0x4905b8(0x2e7)]({'reset':function(){var _0x5b6f79=_0x4905b8;this[_0x5b6f79(0x272)]=new _0x324f68[(_0x5b6f79(0x1b7))](),this[_0x5b6f79(0x327)]=0x0;},'_append':function(_0x459d09){var _0x1bf43a=_0x4905b8;typeof _0x459d09==_0x1bf43a(0x203)&&(_0x459d09=_0x648567[_0x1bf43a(0x14c)](_0x459d09)),this[_0x1bf43a(0x272)]['concat'](_0x459d09),this['_nDataBytes']+=_0x459d09['sigBytes'];},'_process':function(_0x2b5b2c){var _0x3cc70f=_0x4905b8,_0x17118a,_0x252bfd=this[_0x3cc70f(0x272)],_0x37daf3=_0x252bfd[_0x3cc70f(0x23e)],_0x18f8fd=_0x252bfd[_0x3cc70f(0x3b3)],_0x514905=this[_0x3cc70f(0x25b)],_0x446610=_0x514905*0x4,_0x5e506f=_0x18f8fd/_0x446610;_0x2b5b2c?_0x5e506f=_0x48de78['ceil'](_0x5e506f):_0x5e506f=_0x48de78[_0x3cc70f(0x2d8)]((_0x5e506f|0x0)-this[_0x3cc70f(0x2bc)],0x0);var _0x9f14eb=_0x5e506f*_0x514905,_0x4701d4=_0x48de78[_0x3cc70f(0x2cc)](_0x9f14eb*0x4,_0x18f8fd);if(_0x9f14eb){for(var _0x226805=0x0;_0x226805<_0x9f14eb;_0x226805+=_0x514905)this[_0x3cc70f(0x464)](_0x37daf3,_0x226805);_0x17118a=_0x37daf3['splice'](0x0,_0x9f14eb),_0x252bfd['sigBytes']-=_0x4701d4;}return new _0x324f68['init'](_0x17118a,_0x4701d4);},'clone':function(){var _0xc601f4=_0x4905b8,_0x48c9d5=_0x2d558c[_0xc601f4(0x17b)][_0xc601f4(0x415)](this);return _0x48c9d5[_0xc601f4(0x272)]=this[_0xc601f4(0x272)][_0xc601f4(0x17b)](),_0x48c9d5;},'_minBufferSize':0x0});_0x24e761['Hasher']=_0xeda43f[_0x4905b8(0x2e7)]({'cfg':_0x2d558c[_0x4905b8(0x2e7)](),'init':function(_0x889a70){var _0x2084c0=_0x4905b8;this[_0x2084c0(0x38e)]=this[_0x2084c0(0x38e)]['extend'](_0x889a70),this[_0x2084c0(0x3bd)]();},'reset':function(){var _0x23e5e4=_0x4905b8;_0xeda43f[_0x23e5e4(0x3bd)][_0x23e5e4(0x415)](this),this[_0x23e5e4(0x1e1)]();},'update':function(_0x50f97b){return this['_append'](_0x50f97b),this['_process'](),this;},'finalize':function(_0x4a1285){var _0x11c236=_0x4905b8;_0x4a1285&&this[_0x11c236(0x47a)](_0x4a1285);var _0x5265fd=this[_0x11c236(0x146)]();return _0x5265fd;},'blockSize':0x10,'_createHelper':function(_0x2f0e6a){return function(_0x153e5f,_0x56e3da){var _0x43c2ca=_0x4139;return new _0x2f0e6a['init'](_0x56e3da)[_0x43c2ca(0x2a2)](_0x153e5f);};},'_createHmacHelper':function(_0x33ce03){return function(_0x309d12,_0x3a7ed9){var _0x3a965c=_0x4139;return new _0x4c4eab['HMAC'][(_0x3a965c(0x1b7))](_0x33ce03,_0x3a7ed9)[_0x3a965c(0x2a2)](_0x309d12);};}});var _0x4c4eab=_0x10d4cd[_0x4905b8(0x1e3)]={};return _0x10d4cd;}(Math);return _0x58d27a;}));}(Ie)),Ie[_0x4f0766(0x27c)];}var pe={'exports':{}},Ni=pe[_0x4611e8(0x27c)],Je;function yt(){var _0x1b673d=_0x4611e8;return Je||(Je=0x1,function(_0x5c51d3,_0x33cdc9){(function(_0x26d5c7,_0x1cd1c8){var _0x22c9b7=_0x4139;_0x5c51d3[_0x22c9b7(0x27c)]=_0x1cd1c8(Q());}(Ni,function(_0x27c7d0){var _0xafd804=_0x4139;return(function(){var _0x24935d=_0x4139,_0x30df4d=_0x27c7d0,_0x207b4c=_0x30df4d[_0x24935d(0x215)],_0xc0ae5d=_0x207b4c[_0x24935d(0x304)],_0x2aba87=_0x30df4d[_0x24935d(0x439)];_0x2aba87[_0x24935d(0x174)]={'stringify':function(_0x47d7c6){var _0x4411c7=_0x24935d,_0x174eaf=_0x47d7c6['words'],_0x56e88e=_0x47d7c6[_0x4411c7(0x3b3)],_0x4ba2fe=this[_0x4411c7(0x3c2)];_0x47d7c6[_0x4411c7(0x173)]();for(var _0x48bb68=[],_0xbe59f=0x0;_0xbe59f<_0x56e88e;_0xbe59f+=0x3)for(var _0x57f3fe=_0x174eaf[_0xbe59f>>>0x2]>>>0x18-_0xbe59f%0x4*0x8&0xff,_0x50bf26=_0x174eaf[_0xbe59f+0x1>>>0x2]>>>0x18-(_0xbe59f+0x1)%0x4*0x8&0xff,_0x2a3961=_0x174eaf[_0xbe59f+0x2>>>0x2]>>>0x18-(_0xbe59f+0x2)%0x4*0x8&0xff,_0x2f3560=_0x57f3fe<<0x10|_0x50bf26<<0x8|_0x2a3961,_0x4b972b=0x0;_0x4b972b<0x4&&_0xbe59f+_0x4b972b*0.75<_0x56e88e;_0x4b972b++)_0x48bb68[_0x4411c7(0x475)](_0x4ba2fe[_0x4411c7(0x3f5)](_0x2f3560>>>0x6*(0x3-_0x4b972b)&0x3f));var _0x56d42e=_0x4ba2fe['charAt'](0x40);if(_0x56d42e){for(;_0x48bb68['length']%0x4;)_0x48bb68[_0x4411c7(0x475)](_0x56d42e);}return _0x48bb68[_0x4411c7(0x45b)]('');},'parse':function(_0x12aac2){var _0x45ede1=_0x24935d,_0x19946d=_0x12aac2[_0x45ede1(0x479)],_0xa65f32=this[_0x45ede1(0x3c2)],_0x277350=this[_0x45ede1(0x317)];if(!_0x277350){_0x277350=this[_0x45ede1(0x317)]=[];for(var _0x359c67=0x0;_0x359c67<_0xa65f32[_0x45ede1(0x479)];_0x359c67++)_0x277350[_0xa65f32[_0x45ede1(0x321)](_0x359c67)]=_0x359c67;}var _0x1c56c7=_0xa65f32[_0x45ede1(0x3f5)](0x40);if(_0x1c56c7){var _0x5a52d4=_0x12aac2['indexOf'](_0x1c56c7);_0x5a52d4!==-0x1&&(_0x19946d=_0x5a52d4);}return _0x3f362b(_0x12aac2,_0x19946d,_0x277350);},'_map':_0x24935d(0x2ff)};function _0x3f362b(_0x3502f6,_0x198ff8,_0x450b58){var _0x1fef10=_0x24935d;for(var _0x1109b9=[],_0x2d4504=0x0,_0x430ac8=0x0;_0x430ac8<_0x198ff8;_0x430ac8++)if(_0x430ac8%0x4){var _0x404c0c=_0x450b58[_0x3502f6[_0x1fef10(0x321)](_0x430ac8-0x1)]<<_0x430ac8%0x4*0x2,_0x9c3f5a=_0x450b58[_0x3502f6[_0x1fef10(0x321)](_0x430ac8)]>>>0x6-_0x430ac8%0x4*0x2,_0x4be904=_0x404c0c|_0x9c3f5a;_0x1109b9[_0x2d4504>>>0x2]|=_0x4be904<<0x18-_0x2d4504%0x4*0x8,_0x2d4504++;}return _0xc0ae5d['create'](_0x1109b9,_0x2d4504);}}()),_0x27c7d0[_0xafd804(0x439)][_0xafd804(0x174)];}));}(pe)),pe[_0x1b673d(0x27c)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){return Xe||(Xe=0x1,function(_0x3e563f,_0xfeb98a){(function(_0x2ef06d,_0xd77ae){var _0x511f63=_0x4139;_0x3e563f[_0x511f63(0x27c)]=_0xd77ae(Q());}(Di,function(_0x3433b6){return function(_0x53da4f){var _0x75749a=_0x4139,_0x489dcf=_0x3433b6,_0x1bbfe6=_0x489dcf['lib'],_0x42ff87=_0x1bbfe6[_0x75749a(0x304)],_0x53478a=_0x1bbfe6[_0x75749a(0x374)],_0x18c09d=_0x489dcf[_0x75749a(0x1e3)],_0x3f8da9=[];(function(){var _0x26f521=_0x75749a;for(var _0x1ea95d=0x0;_0x1ea95d<0x40;_0x1ea95d++)_0x3f8da9[_0x1ea95d]=_0x53da4f[_0x26f521(0x258)](_0x53da4f['sin'](_0x1ea95d+0x1))*0x100000000|0x0;}());var _0x3de1c9=_0x18c09d[_0x75749a(0x213)]=_0x53478a['extend']({'_doReset':function(){var _0x2f2f0d=_0x75749a;this[_0x2f2f0d(0x368)]=new _0x42ff87[(_0x2f2f0d(0x1b7))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xa6eaf1,_0x4bc278){var _0xef8aed=_0x75749a;for(var _0x33a8e3=0x0;_0x33a8e3<0x10;_0x33a8e3++){var _0x34997b=_0x4bc278+_0x33a8e3,_0x2c0dfe=_0xa6eaf1[_0x34997b];_0xa6eaf1[_0x34997b]=(_0x2c0dfe<<0x8|_0x2c0dfe>>>0x18)&0xff00ff|(_0x2c0dfe<<0x18|_0x2c0dfe>>>0x8)&0xff00ff00;}var _0x1d07ac=this[_0xef8aed(0x368)][_0xef8aed(0x23e)],_0x50dd59=_0xa6eaf1[_0x4bc278+0x0],_0x31983f=_0xa6eaf1[_0x4bc278+0x1],_0x46b29e=_0xa6eaf1[_0x4bc278+0x2],_0x16270c=_0xa6eaf1[_0x4bc278+0x3],_0x286e17=_0xa6eaf1[_0x4bc278+0x4],_0x4a1176=_0xa6eaf1[_0x4bc278+0x5],_0x296974=_0xa6eaf1[_0x4bc278+0x6],_0x2e68d1=_0xa6eaf1[_0x4bc278+0x7],_0x16ec98=_0xa6eaf1[_0x4bc278+0x8],_0x153976=_0xa6eaf1[_0x4bc278+0x9],_0x47d959=_0xa6eaf1[_0x4bc278+0xa],_0x5185f6=_0xa6eaf1[_0x4bc278+0xb],_0x3f4ea9=_0xa6eaf1[_0x4bc278+0xc],_0xbec072=_0xa6eaf1[_0x4bc278+0xd],_0xd0cb89=_0xa6eaf1[_0x4bc278+0xe],_0x27198b=_0xa6eaf1[_0x4bc278+0xf],_0x206324=_0x1d07ac[0x0],_0x15926d=_0x1d07ac[0x1],_0x1b6927=_0x1d07ac[0x2],_0x342039=_0x1d07ac[0x3];_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x50dd59,0x7,_0x3f8da9[0x0]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x31983f,0xc,_0x3f8da9[0x1]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x46b29e,0x11,_0x3f8da9[0x2]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x16270c,0x16,_0x3f8da9[0x3]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x286e17,0x7,_0x3f8da9[0x4]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x4a1176,0xc,_0x3f8da9[0x5]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x296974,0x11,_0x3f8da9[0x6]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x2e68d1,0x16,_0x3f8da9[0x7]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x16ec98,0x7,_0x3f8da9[0x8]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x153976,0xc,_0x3f8da9[0x9]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x47d959,0x11,_0x3f8da9[0xa]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x5185f6,0x16,_0x3f8da9[0xb]),_0x206324=_0x3631ee(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x3f4ea9,0x7,_0x3f8da9[0xc]),_0x342039=_0x3631ee(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0xbec072,0xc,_0x3f8da9[0xd]),_0x1b6927=_0x3631ee(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0xd0cb89,0x11,_0x3f8da9[0xe]),_0x15926d=_0x3631ee(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x27198b,0x16,_0x3f8da9[0xf]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x31983f,0x5,_0x3f8da9[0x10]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x296974,0x9,_0x3f8da9[0x11]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x5185f6,0xe,_0x3f8da9[0x12]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x50dd59,0x14,_0x3f8da9[0x13]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x4a1176,0x5,_0x3f8da9[0x14]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x47d959,0x9,_0x3f8da9[0x15]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x27198b,0xe,_0x3f8da9[0x16]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x286e17,0x14,_0x3f8da9[0x17]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x153976,0x5,_0x3f8da9[0x18]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0xd0cb89,0x9,_0x3f8da9[0x19]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x16270c,0xe,_0x3f8da9[0x1a]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x16ec98,0x14,_0x3f8da9[0x1b]),_0x206324=_0xcc8d88(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0xbec072,0x5,_0x3f8da9[0x1c]),_0x342039=_0xcc8d88(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x46b29e,0x9,_0x3f8da9[0x1d]),_0x1b6927=_0xcc8d88(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x2e68d1,0xe,_0x3f8da9[0x1e]),_0x15926d=_0xcc8d88(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x3f4ea9,0x14,_0x3f8da9[0x1f]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x4a1176,0x4,_0x3f8da9[0x20]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x16ec98,0xb,_0x3f8da9[0x21]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x5185f6,0x10,_0x3f8da9[0x22]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0xd0cb89,0x17,_0x3f8da9[0x23]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x31983f,0x4,_0x3f8da9[0x24]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x286e17,0xb,_0x3f8da9[0x25]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x2e68d1,0x10,_0x3f8da9[0x26]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x47d959,0x17,_0x3f8da9[0x27]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0xbec072,0x4,_0x3f8da9[0x28]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x50dd59,0xb,_0x3f8da9[0x29]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x16270c,0x10,_0x3f8da9[0x2a]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x296974,0x17,_0x3f8da9[0x2b]),_0x206324=_0x2e3443(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x153976,0x4,_0x3f8da9[0x2c]),_0x342039=_0x2e3443(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x3f4ea9,0xb,_0x3f8da9[0x2d]),_0x1b6927=_0x2e3443(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x27198b,0x10,_0x3f8da9[0x2e]),_0x15926d=_0x2e3443(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x46b29e,0x17,_0x3f8da9[0x2f]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x50dd59,0x6,_0x3f8da9[0x30]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x2e68d1,0xa,_0x3f8da9[0x31]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0xd0cb89,0xf,_0x3f8da9[0x32]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x4a1176,0x15,_0x3f8da9[0x33]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x3f4ea9,0x6,_0x3f8da9[0x34]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x16270c,0xa,_0x3f8da9[0x35]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x47d959,0xf,_0x3f8da9[0x36]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x31983f,0x15,_0x3f8da9[0x37]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x16ec98,0x6,_0x3f8da9[0x38]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x27198b,0xa,_0x3f8da9[0x39]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x296974,0xf,_0x3f8da9[0x3a]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0xbec072,0x15,_0x3f8da9[0x3b]),_0x206324=_0x147b17(_0x206324,_0x15926d,_0x1b6927,_0x342039,_0x286e17,0x6,_0x3f8da9[0x3c]),_0x342039=_0x147b17(_0x342039,_0x206324,_0x15926d,_0x1b6927,_0x5185f6,0xa,_0x3f8da9[0x3d]),_0x1b6927=_0x147b17(_0x1b6927,_0x342039,_0x206324,_0x15926d,_0x46b29e,0xf,_0x3f8da9[0x3e]),_0x15926d=_0x147b17(_0x15926d,_0x1b6927,_0x342039,_0x206324,_0x153976,0x15,_0x3f8da9[0x3f]),_0x1d07ac[0x0]=_0x1d07ac[0x0]+_0x206324|0x0,_0x1d07ac[0x1]=_0x1d07ac[0x1]+_0x15926d|0x0,_0x1d07ac[0x2]=_0x1d07ac[0x2]+_0x1b6927|0x0,_0x1d07ac[0x3]=_0x1d07ac[0x3]+_0x342039|0x0;},'_doFinalize':function(){var _0x552058=_0x75749a,_0x1f8f34=this[_0x552058(0x272)],_0x21101e=_0x1f8f34[_0x552058(0x23e)],_0x173a48=this[_0x552058(0x327)]*0x8,_0x4442af=_0x1f8f34['sigBytes']*0x8;_0x21101e[_0x4442af>>>0x5]|=0x80<<0x18-_0x4442af%0x20;var _0xdb1739=_0x53da4f[_0x552058(0x2db)](_0x173a48/0x100000000),_0xc45c29=_0x173a48;_0x21101e[(_0x4442af+0x40>>>0x9<<0x4)+0xf]=(_0xdb1739<<0x8|_0xdb1739>>>0x18)&0xff00ff|(_0xdb1739<<0x18|_0xdb1739>>>0x8)&0xff00ff00,_0x21101e[(_0x4442af+0x40>>>0x9<<0x4)+0xe]=(_0xc45c29<<0x8|_0xc45c29>>>0x18)&0xff00ff|(_0xc45c29<<0x18|_0xc45c29>>>0x8)&0xff00ff00,_0x1f8f34['sigBytes']=(_0x21101e['length']+0x1)*0x4,this[_0x552058(0x2ae)]();for(var _0x50f655=this['_hash'],_0x5a7cd0=_0x50f655[_0x552058(0x23e)],_0x37afc0=0x0;_0x37afc0<0x4;_0x37afc0++){var _0xfed118=_0x5a7cd0[_0x37afc0];_0x5a7cd0[_0x37afc0]=(_0xfed118<<0x8|_0xfed118>>>0x18)&0xff00ff|(_0xfed118<<0x18|_0xfed118>>>0x8)&0xff00ff00;}return _0x50f655;},'clone':function(){var _0x48e257=_0x75749a,_0x5786cb=_0x53478a[_0x48e257(0x17b)][_0x48e257(0x415)](this);return _0x5786cb['_hash']=this[_0x48e257(0x368)][_0x48e257(0x17b)](),_0x5786cb;}});function _0x3631ee(_0x575b77,_0xb5f97e,_0x44cee7,_0x2e0025,_0x2b9e65,_0x2722d7,_0x3ac00f){var _0x356987=_0x575b77+(_0xb5f97e&_0x44cee7|~_0xb5f97e&_0x2e0025)+_0x2b9e65+_0x3ac00f;return(_0x356987<<_0x2722d7|_0x356987>>>0x20-_0x2722d7)+_0xb5f97e;}function _0xcc8d88(_0xa0e1f3,_0x54bf17,_0x24568a,_0x5c72d0,_0x46dd72,_0x441e0d,_0xe68089){var _0x51bfdf=_0xa0e1f3+(_0x54bf17&_0x5c72d0|_0x24568a&~_0x5c72d0)+_0x46dd72+_0xe68089;return(_0x51bfdf<<_0x441e0d|_0x51bfdf>>>0x20-_0x441e0d)+_0x54bf17;}function _0x2e3443(_0x2c096a,_0x5d8d42,_0x4cc993,_0x3e23c3,_0x3a6725,_0x3c8902,_0x2f098b){var _0x124803=_0x2c096a+(_0x5d8d42^_0x4cc993^_0x3e23c3)+_0x3a6725+_0x2f098b;return(_0x124803<<_0x3c8902|_0x124803>>>0x20-_0x3c8902)+_0x5d8d42;}function _0x147b17(_0x534b27,_0x2642d8,_0x43aea8,_0x423092,_0x32feea,_0x29ec67,_0x56efe0){var _0x2c94fd=_0x534b27+(_0x43aea8^(_0x2642d8|~_0x423092))+_0x32feea+_0x56efe0;return(_0x2c94fd<<_0x29ec67|_0x2c94fd>>>0x20-_0x29ec67)+_0x2642d8;}_0x489dcf[_0x75749a(0x213)]=_0x53478a['_createHelper'](_0x3de1c9),_0x489dcf[_0x75749a(0x31a)]=_0x53478a[_0x75749a(0x210)](_0x3de1c9);}(Math),_0x3433b6['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me['exports'],Ze;function Pi(){var _0xe39f59=_0x4611e8;return Ze||(Ze=0x1,function(_0x5b69e0,_0x1e8125){(function(_0x32f408,_0x15c9ba){_0x5b69e0['exports']=_0x15c9ba(Q());}(Ai,function(_0x45a004){var _0x1b1ef7=_0x4139;return(function(){var _0x5bd65e=_0x4139,_0x1d0e48=_0x45a004,_0x6a8951=_0x1d0e48[_0x5bd65e(0x215)],_0x403c58=_0x6a8951['WordArray'],_0x2f69cb=_0x6a8951[_0x5bd65e(0x374)],_0x214a6b=_0x1d0e48[_0x5bd65e(0x1e3)],_0x163524=[],_0x5880bc=_0x214a6b[_0x5bd65e(0x2f8)]=_0x2f69cb[_0x5bd65e(0x2e7)]({'_doReset':function(){var _0x194056=_0x5bd65e;this[_0x194056(0x368)]=new _0x403c58['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x100f85,_0x5d29e7){var _0x3a44a4=_0x5bd65e;for(var _0x3a4721=this[_0x3a44a4(0x368)][_0x3a44a4(0x23e)],_0x4233db=_0x3a4721[0x0],_0x8ee1d8=_0x3a4721[0x1],_0x5e79eb=_0x3a4721[0x2],_0x281ce7=_0x3a4721[0x3],_0x401927=_0x3a4721[0x4],_0x78a564=0x0;_0x78a564<0x50;_0x78a564++){if(_0x78a564<0x10)_0x163524[_0x78a564]=_0x100f85[_0x5d29e7+_0x78a564]|0x0;else{var _0x1492fc=_0x163524[_0x78a564-0x3]^_0x163524[_0x78a564-0x8]^_0x163524[_0x78a564-0xe]^_0x163524[_0x78a564-0x10];_0x163524[_0x78a564]=_0x1492fc<<0x1|_0x1492fc>>>0x1f;}var _0x4c96e5=(_0x4233db<<0x5|_0x4233db>>>0x1b)+_0x401927+_0x163524[_0x78a564];_0x78a564<0x14?_0x4c96e5+=(_0x8ee1d8&_0x5e79eb|~_0x8ee1d8&_0x281ce7)+0x5a827999:_0x78a564<0x28?_0x4c96e5+=(_0x8ee1d8^_0x5e79eb^_0x281ce7)+0x6ed9eba1:_0x78a564<0x3c?_0x4c96e5+=(_0x8ee1d8&_0x5e79eb|_0x8ee1d8&_0x281ce7|_0x5e79eb&_0x281ce7)-0x70e44324:_0x4c96e5+=(_0x8ee1d8^_0x5e79eb^_0x281ce7)-0x359d3e2a,_0x401927=_0x281ce7,_0x281ce7=_0x5e79eb,_0x5e79eb=_0x8ee1d8<<0x1e|_0x8ee1d8>>>0x2,_0x8ee1d8=_0x4233db,_0x4233db=_0x4c96e5;}_0x3a4721[0x0]=_0x3a4721[0x0]+_0x4233db|0x0,_0x3a4721[0x1]=_0x3a4721[0x1]+_0x8ee1d8|0x0,_0x3a4721[0x2]=_0x3a4721[0x2]+_0x5e79eb|0x0,_0x3a4721[0x3]=_0x3a4721[0x3]+_0x281ce7|0x0,_0x3a4721[0x4]=_0x3a4721[0x4]+_0x401927|0x0;},'_doFinalize':function(){var _0x17e9f3=_0x5bd65e,_0x3d83f1=this['_data'],_0x483175=_0x3d83f1[_0x17e9f3(0x23e)],_0x9b976c=this[_0x17e9f3(0x327)]*0x8,_0x3a3981=_0x3d83f1[_0x17e9f3(0x3b3)]*0x8;return _0x483175[_0x3a3981>>>0x5]|=0x80<<0x18-_0x3a3981%0x20,_0x483175[(_0x3a3981+0x40>>>0x9<<0x4)+0xe]=Math[_0x17e9f3(0x2db)](_0x9b976c/0x100000000),_0x483175[(_0x3a3981+0x40>>>0x9<<0x4)+0xf]=_0x9b976c,_0x3d83f1[_0x17e9f3(0x3b3)]=_0x483175[_0x17e9f3(0x479)]*0x4,this[_0x17e9f3(0x2ae)](),this[_0x17e9f3(0x368)];},'clone':function(){var _0x3ea3f7=_0x5bd65e,_0x44bfff=_0x2f69cb['clone'][_0x3ea3f7(0x415)](this);return _0x44bfff['_hash']=this[_0x3ea3f7(0x368)][_0x3ea3f7(0x17b)](),_0x44bfff;}});_0x1d0e48[_0x5bd65e(0x2f8)]=_0x2f69cb[_0x5bd65e(0x434)](_0x5880bc),_0x1d0e48[_0x5bd65e(0x2f1)]=_0x2f69cb[_0x5bd65e(0x210)](_0x5880bc);}()),_0x45a004[_0x1b1ef7(0x2f8)];}));}(me)),me[_0xe39f59(0x27c)];}var Ce={'exports':{}},Li=Ce['exports'],Qe;function wi(){var _0x34cb9a=_0x4611e8;return Qe||(Qe=0x1,function(_0x5da24c,_0x2e9db5){(function(_0x56e2e1,_0x5502f3){var _0x57a83a=_0x4139;_0x5da24c[_0x57a83a(0x27c)]=_0x5502f3(Q());}(Li,function(_0x339fd5){(function(){var _0x43d4f5=_0x4139,_0x379878=_0x339fd5,_0x38397f=_0x379878['lib'],_0x2929ce=_0x38397f['Base'],_0x1720ce=_0x379878[_0x43d4f5(0x439)],_0x33cb68=_0x1720ce[_0x43d4f5(0x2cb)],_0x724334=_0x379878['algo'];_0x724334[_0x43d4f5(0x310)]=_0x2929ce['extend']({'init':function(_0x555a9f,_0x45f8f7){var _0x36b77d=_0x43d4f5;_0x555a9f=this[_0x36b77d(0x398)]=new _0x555a9f['init'](),typeof _0x45f8f7==_0x36b77d(0x203)&&(_0x45f8f7=_0x33cb68[_0x36b77d(0x14c)](_0x45f8f7));var _0x5996c7=_0x555a9f[_0x36b77d(0x25b)],_0xd195f7=_0x5996c7*0x4;_0x45f8f7[_0x36b77d(0x3b3)]>_0xd195f7&&(_0x45f8f7=_0x555a9f[_0x36b77d(0x2a2)](_0x45f8f7)),_0x45f8f7['clamp']();for(var _0x2a75aa=this[_0x36b77d(0x282)]=_0x45f8f7[_0x36b77d(0x17b)](),_0x1a2b7f=this[_0x36b77d(0x315)]=_0x45f8f7['clone'](),_0x56eb59=_0x2a75aa[_0x36b77d(0x23e)],_0x2156dd=_0x1a2b7f[_0x36b77d(0x23e)],_0x598fc6=0x0;_0x598fc6<_0x5996c7;_0x598fc6++)_0x56eb59[_0x598fc6]^=0x5c5c5c5c,_0x2156dd[_0x598fc6]^=0x36363636;_0x2a75aa[_0x36b77d(0x3b3)]=_0x1a2b7f[_0x36b77d(0x3b3)]=_0xd195f7,this['reset']();},'reset':function(){var _0x4b13f6=_0x43d4f5,_0x24058e=this[_0x4b13f6(0x398)];_0x24058e[_0x4b13f6(0x3bd)](),_0x24058e[_0x4b13f6(0x340)](this[_0x4b13f6(0x315)]);},'update':function(_0x471086){var _0x41c1e2=_0x43d4f5;return this[_0x41c1e2(0x398)][_0x41c1e2(0x340)](_0x471086),this;},'finalize':function(_0x4f23e1){var _0x131c91=_0x43d4f5,_0x2010dc=this[_0x131c91(0x398)],_0x11829c=_0x2010dc['finalize'](_0x4f23e1);_0x2010dc['reset']();var _0x2b7bbc=_0x2010dc[_0x131c91(0x2a2)](this[_0x131c91(0x282)][_0x131c91(0x17b)]()['concat'](_0x11829c));return _0x2b7bbc;}});}());}));}(Ce)),Ce[_0x34cb9a(0x27c)];}var Mi=Ee[_0x4611e8(0x27c)],et;function Nt(){var _0x6f35b0=_0x4611e8;return et||(et=0x1,function(_0x2441a9,_0xd85812){(function(_0x871144,_0x38740,_0x273470){var _0x5f3dc5=_0x4139;_0x2441a9[_0x5f3dc5(0x27c)]=_0x38740(Q(),Pi(),wi());}(Mi,function(_0x41893a){var _0x5d245d=_0x4139;return(function(){var _0x40ff3f=_0x4139,_0x4f9b93=_0x41893a,_0xc6550d=_0x4f9b93[_0x40ff3f(0x215)],_0x2bfe9c=_0xc6550d[_0x40ff3f(0x212)],_0xdbaa7e=_0xc6550d['WordArray'],_0x137c71=_0x4f9b93[_0x40ff3f(0x1e3)],_0x311d25=_0x137c71[_0x40ff3f(0x213)],_0x30da12=_0x137c71[_0x40ff3f(0x323)]=_0x2bfe9c[_0x40ff3f(0x2e7)]({'cfg':_0x2bfe9c['extend']({'keySize':0x80/0x20,'hasher':_0x311d25,'iterations':0x1}),'init':function(_0x54fec6){var _0x203a18=_0x40ff3f;this[_0x203a18(0x38e)]=this[_0x203a18(0x38e)]['extend'](_0x54fec6);},'compute':function(_0x4dc050,_0x359a55){var _0x5ee90a=_0x40ff3f;for(var _0x5a0330,_0x58bfef=this['cfg'],_0x42288=_0x58bfef['hasher'][_0x5ee90a(0x3a8)](),_0x2f2f5c=_0xdbaa7e['create'](),_0x24662d=_0x2f2f5c[_0x5ee90a(0x23e)],_0x50327d=_0x58bfef[_0x5ee90a(0x3dd)],_0xe8255b=_0x58bfef[_0x5ee90a(0x3f2)];_0x24662d[_0x5ee90a(0x479)]<_0x50327d;){_0x5a0330&&_0x42288[_0x5ee90a(0x340)](_0x5a0330),_0x5a0330=_0x42288[_0x5ee90a(0x340)](_0x4dc050)[_0x5ee90a(0x2a2)](_0x359a55),_0x42288['reset']();for(var _0x4e0f43=0x1;_0x4e0f43<_0xe8255b;_0x4e0f43++)_0x5a0330=_0x42288[_0x5ee90a(0x2a2)](_0x5a0330),_0x42288[_0x5ee90a(0x3bd)]();_0x2f2f5c['concat'](_0x5a0330);}return _0x2f2f5c[_0x5ee90a(0x3b3)]=_0x50327d*0x4,_0x2f2f5c;}});_0x4f9b93['EvpKDF']=function(_0xa20337,_0x37a536,_0x31f214){var _0x192571=_0x40ff3f;return _0x30da12[_0x192571(0x3a8)](_0x31f214)[_0x192571(0x12e)](_0xa20337,_0x37a536);};}()),_0x41893a[_0x5d245d(0x323)];}));}(Ee)),Ee[_0x6f35b0(0x27c)];}var Te={'exports':{}},xi=Te[_0x4611e8(0x27c)],tt;function Dt(){var _0x94f730=_0x4611e8;return tt||(tt=0x1,function(_0x4edd7a,_0x1bb123){(function(_0x2c8f7b,_0x47cbc4,_0x4d2089){var _0x25f317=_0x4139;_0x4edd7a[_0x25f317(0x27c)]=_0x47cbc4(Q(),Nt());}(xi,function(_0x505de9){var _0x47b865=_0x4139;_0x505de9[_0x47b865(0x215)][_0x47b865(0x204)]||function(_0xf57cdd){var _0x59d0b1=_0x47b865,_0x3189d0=_0x505de9,_0x543e8a=_0x3189d0[_0x59d0b1(0x215)],_0x25e948=_0x543e8a[_0x59d0b1(0x212)],_0x1b3c0f=_0x543e8a[_0x59d0b1(0x304)],_0x364df7=_0x543e8a[_0x59d0b1(0x169)],_0x4855ef=_0x3189d0[_0x59d0b1(0x439)];_0x4855ef['Utf8'];var _0x1c8d39=_0x4855ef[_0x59d0b1(0x174)],_0x22e3a3=_0x3189d0[_0x59d0b1(0x1e3)],_0x14721e=_0x22e3a3[_0x59d0b1(0x323)],_0x484585=_0x543e8a[_0x59d0b1(0x204)]=_0x364df7[_0x59d0b1(0x2e7)]({'cfg':_0x25e948[_0x59d0b1(0x2e7)](),'createEncryptor':function(_0x1e0916,_0x1a8f5b){var _0x5c9545=_0x59d0b1;return this[_0x5c9545(0x3a8)](this[_0x5c9545(0x48e)],_0x1e0916,_0x1a8f5b);},'createDecryptor':function(_0x4ff7aa,_0x46f9d4){var _0x5b0695=_0x59d0b1;return this[_0x5b0695(0x3a8)](this[_0x5b0695(0x155)],_0x4ff7aa,_0x46f9d4);},'init':function(_0x46d815,_0x3942f0,_0x126dfd){var _0x1d348e=_0x59d0b1;this['cfg']=this[_0x1d348e(0x38e)][_0x1d348e(0x2e7)](_0x126dfd),this[_0x1d348e(0x131)]=_0x46d815,this[_0x1d348e(0x394)]=_0x3942f0,this[_0x1d348e(0x3bd)]();},'reset':function(){var _0x2085db=_0x59d0b1;_0x364df7[_0x2085db(0x3bd)][_0x2085db(0x415)](this),this[_0x2085db(0x1e1)]();},'process':function(_0x446366){var _0x1943fa=_0x59d0b1;return this[_0x1943fa(0x47a)](_0x446366),this[_0x1943fa(0x2ae)]();},'finalize':function(_0x55e50a){var _0xe3d4ce=_0x59d0b1;_0x55e50a&&this[_0xe3d4ce(0x47a)](_0x55e50a);var _0x43e17d=this[_0xe3d4ce(0x146)]();return _0x43e17d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3eed0a(_0x57b7b7){return typeof _0x57b7b7=='string'?_0x36ce98:_0x43511e;}return function(_0x47ac48){return{'encrypt':function(_0x3b046,_0x5baabc,_0x3ad7c6){var _0x302c22=_0x4139;return _0x3eed0a(_0x5baabc)[_0x302c22(0x193)](_0x47ac48,_0x3b046,_0x5baabc,_0x3ad7c6);},'decrypt':function(_0x3e7331,_0x2cd69a,_0x3c80f0){var _0x48940e=_0x4139;return _0x3eed0a(_0x2cd69a)[_0x48940e(0x21e)](_0x47ac48,_0x3e7331,_0x2cd69a,_0x3c80f0);}};};}())});_0x543e8a['StreamCipher']=_0x484585[_0x59d0b1(0x2e7)]({'_doFinalize':function(){var _0xd49055=this['_process'](!0x0);return _0xd49055;},'blockSize':0x1});var _0x558814=_0x3189d0['mode']={},_0x337cef=_0x543e8a[_0x59d0b1(0x12f)]=_0x25e948[_0x59d0b1(0x2e7)]({'createEncryptor':function(_0x2ba47b,_0x53e413){var _0x2e3017=_0x59d0b1;return this[_0x2e3017(0x16a)]['create'](_0x2ba47b,_0x53e413);},'createDecryptor':function(_0x9cb275,_0x12c30f){var _0x124db8=_0x59d0b1;return this[_0x124db8(0x480)]['create'](_0x9cb275,_0x12c30f);},'init':function(_0x35d413,_0x5912a9){var _0x2e290e=_0x59d0b1;this[_0x2e290e(0x47f)]=_0x35d413,this[_0x2e290e(0x329)]=_0x5912a9;}}),_0x29c5df=_0x558814[_0x59d0b1(0x43c)]=(function(){var _0xab2bb7=_0x59d0b1,_0x4fa4ef=_0x337cef['extend']();_0x4fa4ef[_0xab2bb7(0x16a)]=_0x4fa4ef['extend']({'processBlock':function(_0x2f0edf,_0x474bd0){var _0x2a9e2d=_0xab2bb7,_0x13a382=this[_0x2a9e2d(0x47f)],_0x585acc=_0x13a382[_0x2a9e2d(0x25b)];_0x1ea091[_0x2a9e2d(0x415)](this,_0x2f0edf,_0x474bd0,_0x585acc),_0x13a382['encryptBlock'](_0x2f0edf,_0x474bd0),this['_prevBlock']=_0x2f0edf[_0x2a9e2d(0x3bc)](_0x474bd0,_0x474bd0+_0x585acc);}}),_0x4fa4ef[_0xab2bb7(0x480)]=_0x4fa4ef[_0xab2bb7(0x2e7)]({'processBlock':function(_0xcd1b0c,_0x58eeb8){var _0xe1afef=_0xab2bb7,_0x3674d6=this[_0xe1afef(0x47f)],_0x1caac6=_0x3674d6['blockSize'],_0x3c75ab=_0xcd1b0c[_0xe1afef(0x3bc)](_0x58eeb8,_0x58eeb8+_0x1caac6);_0x3674d6['decryptBlock'](_0xcd1b0c,_0x58eeb8),_0x1ea091[_0xe1afef(0x415)](this,_0xcd1b0c,_0x58eeb8,_0x1caac6),this[_0xe1afef(0x458)]=_0x3c75ab;}});function _0x1ea091(_0x39e7d8,_0x544906,_0x13a653){var _0x528fe4=_0xab2bb7,_0x44eae5,_0x623a53=this[_0x528fe4(0x329)];_0x623a53?(_0x44eae5=_0x623a53,this[_0x528fe4(0x329)]=_0xf57cdd):_0x44eae5=this[_0x528fe4(0x458)];for(var _0x53f6b5=0x0;_0x53f6b5<_0x13a653;_0x53f6b5++)_0x39e7d8[_0x544906+_0x53f6b5]^=_0x44eae5[_0x53f6b5];}return _0x4fa4ef;}()),_0x1d71ef=_0x3189d0[_0x59d0b1(0x409)]={},_0x4445e1=_0x1d71ef[_0x59d0b1(0x205)]={'pad':function(_0x1ffc69,_0x1a6c12){var _0x14daaa=_0x59d0b1;for(var _0x459c48=_0x1a6c12*0x4,_0x20d1a7=_0x459c48-_0x1ffc69[_0x14daaa(0x3b3)]%_0x459c48,_0x18efcb=_0x20d1a7<<0x18|_0x20d1a7<<0x10|_0x20d1a7<<0x8|_0x20d1a7,_0x4797e8=[],_0x55c9c3=0x0;_0x55c9c3<_0x20d1a7;_0x55c9c3+=0x4)_0x4797e8[_0x14daaa(0x475)](_0x18efcb);var _0x168897=_0x1b3c0f['create'](_0x4797e8,_0x20d1a7);_0x1ffc69['concat'](_0x168897);},'unpad':function(_0x497343){var _0x473232=_0x59d0b1,_0x11c7ca=_0x497343[_0x473232(0x23e)][_0x497343[_0x473232(0x3b3)]-0x1>>>0x2]&0xff;_0x497343[_0x473232(0x3b3)]-=_0x11c7ca;}};_0x543e8a['BlockCipher']=_0x484585[_0x59d0b1(0x2e7)]({'cfg':_0x484585[_0x59d0b1(0x38e)][_0x59d0b1(0x2e7)]({'mode':_0x29c5df,'padding':_0x4445e1}),'reset':function(){var _0x230120=_0x59d0b1,_0x2c727a;_0x484585[_0x230120(0x3bd)][_0x230120(0x415)](this);var _0x1c816b=this['cfg'],_0x11fb9e=_0x1c816b['iv'],_0x4fb9f9=_0x1c816b[_0x230120(0x412)];this[_0x230120(0x131)]==this[_0x230120(0x48e)]?_0x2c727a=_0x4fb9f9[_0x230120(0x44d)]:(_0x2c727a=_0x4fb9f9[_0x230120(0x1b6)],this[_0x230120(0x2bc)]=0x1),this[_0x230120(0x1b3)]&&this[_0x230120(0x1b3)][_0x230120(0x24d)]==_0x2c727a?this[_0x230120(0x1b3)][_0x230120(0x1b7)](this,_0x11fb9e&&_0x11fb9e[_0x230120(0x23e)]):(this[_0x230120(0x1b3)]=_0x2c727a[_0x230120(0x415)](_0x4fb9f9,this,_0x11fb9e&&_0x11fb9e[_0x230120(0x23e)]),this[_0x230120(0x1b3)][_0x230120(0x24d)]=_0x2c727a);},'_doProcessBlock':function(_0x6f6104,_0x140a9b){var _0x467511=_0x59d0b1;this[_0x467511(0x1b3)][_0x467511(0x307)](_0x6f6104,_0x140a9b);},'_doFinalize':function(){var _0x3bd320=_0x59d0b1,_0x50c1fd,_0x43833c=this['cfg'][_0x3bd320(0x3cf)];return this[_0x3bd320(0x131)]==this[_0x3bd320(0x48e)]?(_0x43833c[_0x3bd320(0x409)](this[_0x3bd320(0x272)],this[_0x3bd320(0x25b)]),_0x50c1fd=this[_0x3bd320(0x2ae)](!0x0)):(_0x50c1fd=this[_0x3bd320(0x2ae)](!0x0),_0x43833c[_0x3bd320(0x487)](_0x50c1fd)),_0x50c1fd;},'blockSize':0x80/0x20});var _0x1ce603=_0x543e8a[_0x59d0b1(0x1fa)]=_0x25e948[_0x59d0b1(0x2e7)]({'init':function(_0x2f1b68){var _0x2341f9=_0x59d0b1;this[_0x2341f9(0x391)](_0x2f1b68);},'toString':function(_0x112905){var _0x2cbb97=_0x59d0b1;return(_0x112905||this['formatter'])[_0x2cbb97(0x37b)](this);}}),_0x56c1d3=_0x3189d0['format']={},_0x15842e=_0x56c1d3['OpenSSL']={'stringify':function(_0x5a1d8c){var _0x467a48=_0x59d0b1,_0x455d0b,_0x27ebda=_0x5a1d8c[_0x467a48(0x426)],_0x52a9d8=_0x5a1d8c['salt'];return _0x52a9d8?_0x455d0b=_0x1b3c0f[_0x467a48(0x3a8)]([0x53616c74,0x65645f5f])[_0x467a48(0x2ab)](_0x52a9d8)[_0x467a48(0x2ab)](_0x27ebda):_0x455d0b=_0x27ebda,_0x455d0b['toString'](_0x1c8d39);},'parse':function(_0x222be1){var _0x4b0425=_0x59d0b1,_0x5bc0b4,_0x45ac33=_0x1c8d39['parse'](_0x222be1),_0x4bb0e2=_0x45ac33['words'];return _0x4bb0e2[0x0]==0x53616c74&&_0x4bb0e2[0x1]==0x65645f5f&&(_0x5bc0b4=_0x1b3c0f[_0x4b0425(0x3a8)](_0x4bb0e2[_0x4b0425(0x3bc)](0x2,0x4)),_0x4bb0e2[_0x4b0425(0x3ea)](0x0,0x4),_0x45ac33[_0x4b0425(0x3b3)]-=0x10),_0x1ce603[_0x4b0425(0x3a8)]({'ciphertext':_0x45ac33,'salt':_0x5bc0b4});}},_0x43511e=_0x543e8a['SerializableCipher']=_0x25e948[_0x59d0b1(0x2e7)]({'cfg':_0x25e948[_0x59d0b1(0x2e7)]({'format':_0x15842e}),'encrypt':function(_0x31daf6,_0x364890,_0x264646,_0x168b3c){var _0x1d1986=_0x59d0b1;_0x168b3c=this['cfg'][_0x1d1986(0x2e7)](_0x168b3c);var _0x4e4c7a=_0x31daf6[_0x1d1986(0x44d)](_0x264646,_0x168b3c),_0x302e1e=_0x4e4c7a[_0x1d1986(0x2a2)](_0x364890),_0x14724a=_0x4e4c7a['cfg'];return _0x1ce603[_0x1d1986(0x3a8)]({'ciphertext':_0x302e1e,'key':_0x264646,'iv':_0x14724a['iv'],'algorithm':_0x31daf6,'mode':_0x14724a[_0x1d1986(0x412)],'padding':_0x14724a[_0x1d1986(0x3cf)],'blockSize':_0x31daf6['blockSize'],'formatter':_0x168b3c[_0x1d1986(0x195)]});},'decrypt':function(_0x5957f6,_0x42588a,_0x6c661f,_0x517966){var _0x215425=_0x59d0b1;_0x517966=this[_0x215425(0x38e)][_0x215425(0x2e7)](_0x517966),_0x42588a=this['_parse'](_0x42588a,_0x517966[_0x215425(0x195)]);var _0x5d72b8=_0x5957f6[_0x215425(0x1b6)](_0x6c661f,_0x517966)[_0x215425(0x2a2)](_0x42588a[_0x215425(0x426)]);return _0x5d72b8;},'_parse':function(_0x2d7026,_0x5387b4){var _0x5c5ccb=_0x59d0b1;return typeof _0x2d7026==_0x5c5ccb(0x203)?_0x5387b4[_0x5c5ccb(0x14c)](_0x2d7026,this):_0x2d7026;}}),_0xecd257=_0x3189d0[_0x59d0b1(0x28d)]={},_0x486592=_0xecd257[_0x59d0b1(0x273)]={'execute':function(_0x1c3513,_0x48159f,_0x1e8959,_0xfd01ed,_0x1d09fa){var _0x5b6543=_0x59d0b1;if(_0xfd01ed||(_0xfd01ed=_0x1b3c0f[_0x5b6543(0x1e7)](0x40/0x8)),_0x1d09fa)var _0x5a76f1=_0x14721e[_0x5b6543(0x3a8)]({'keySize':_0x48159f+_0x1e8959,'hasher':_0x1d09fa})['compute'](_0x1c3513,_0xfd01ed);else var _0x5a76f1=_0x14721e['create']({'keySize':_0x48159f+_0x1e8959})[_0x5b6543(0x12e)](_0x1c3513,_0xfd01ed);var _0x4f3d1d=_0x1b3c0f[_0x5b6543(0x3a8)](_0x5a76f1[_0x5b6543(0x23e)][_0x5b6543(0x3bc)](_0x48159f),_0x1e8959*0x4);return _0x5a76f1['sigBytes']=_0x48159f*0x4,_0x1ce603['create']({'key':_0x5a76f1,'iv':_0x4f3d1d,'salt':_0xfd01ed});}},_0x36ce98=_0x543e8a['PasswordBasedCipher']=_0x43511e[_0x59d0b1(0x2e7)]({'cfg':_0x43511e[_0x59d0b1(0x38e)][_0x59d0b1(0x2e7)]({'kdf':_0x486592}),'encrypt':function(_0x36b0db,_0x2e94fe,_0x211a3f,_0x4ca1ad){var _0x2b70b0=_0x59d0b1;_0x4ca1ad=this[_0x2b70b0(0x38e)][_0x2b70b0(0x2e7)](_0x4ca1ad);var _0x3ec5cd=_0x4ca1ad[_0x2b70b0(0x28d)][_0x2b70b0(0x36e)](_0x211a3f,_0x36b0db[_0x2b70b0(0x3dd)],_0x36b0db[_0x2b70b0(0x277)],_0x4ca1ad[_0x2b70b0(0x236)],_0x4ca1ad['hasher']);_0x4ca1ad['iv']=_0x3ec5cd['iv'];var _0x2db39a=_0x43511e[_0x2b70b0(0x193)][_0x2b70b0(0x415)](this,_0x36b0db,_0x2e94fe,_0x3ec5cd['key'],_0x4ca1ad);return _0x2db39a[_0x2b70b0(0x391)](_0x3ec5cd),_0x2db39a;},'decrypt':function(_0x186c40,_0x22df6a,_0x44c704,_0x327947){var _0x3a1846=_0x59d0b1;_0x327947=this['cfg'][_0x3a1846(0x2e7)](_0x327947),_0x22df6a=this[_0x3a1846(0x2a8)](_0x22df6a,_0x327947[_0x3a1846(0x195)]);var _0x37329a=_0x327947[_0x3a1846(0x28d)][_0x3a1846(0x36e)](_0x44c704,_0x186c40[_0x3a1846(0x3dd)],_0x186c40[_0x3a1846(0x277)],_0x22df6a[_0x3a1846(0x236)],_0x327947[_0x3a1846(0x11c)]);_0x327947['iv']=_0x37329a['iv'];var _0x27b2a1=_0x43511e[_0x3a1846(0x21e)][_0x3a1846(0x415)](this,_0x186c40,_0x22df6a,_0x37329a[_0x3a1846(0x28c)],_0x327947);return _0x27b2a1;}});}();}));}(Te)),Te[_0x94f730(0x27c)];}var ki=fe[_0x4611e8(0x27c)],it;function Hi(){var _0xd7e4f4=_0x4611e8;return it||(it=0x1,function(_0x29a006,_0x38bea0){(function(_0x4693d5,_0xe1ae81,_0x4abe45){var _0x5a5ecd=_0x4139;_0x29a006[_0x5a5ecd(0x27c)]=_0xe1ae81(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x2ec66b){var _0xaf8a55=_0x4139;return(function(){var _0x1064d4=_0x4139,_0x716d12=_0x2ec66b,_0x2915d5=_0x716d12['lib'],_0x161993=_0x2915d5[_0x1064d4(0x2b4)],_0x21f489=_0x716d12[_0x1064d4(0x1e3)],_0x3317c6=[],_0x456697=[],_0xcdaa3f=[],_0x5389b9=[],_0x47b05e=[],_0x35b29b=[],_0x5e7b38=[],_0xb7e5d4=[],_0x63b837=[],_0x1d9de8=[];(function(){for(var _0x308ace=[],_0x5dfd67=0x0;_0x5dfd67<0x100;_0x5dfd67++)_0x5dfd67<0x80?_0x308ace[_0x5dfd67]=_0x5dfd67<<0x1:_0x308ace[_0x5dfd67]=_0x5dfd67<<0x1^0x11b;for(var _0x18648c=0x0,_0x4e8a31=0x0,_0x5dfd67=0x0;_0x5dfd67<0x100;_0x5dfd67++){var _0x26d041=_0x4e8a31^_0x4e8a31<<0x1^_0x4e8a31<<0x2^_0x4e8a31<<0x3^_0x4e8a31<<0x4;_0x26d041=_0x26d041>>>0x8^_0x26d041&0xff^0x63,_0x3317c6[_0x18648c]=_0x26d041,_0x456697[_0x26d041]=_0x18648c;var _0x40698c=_0x308ace[_0x18648c],_0x534d99=_0x308ace[_0x40698c],_0x3ec60d=_0x308ace[_0x534d99],_0x416e68=_0x308ace[_0x26d041]*0x101^_0x26d041*0x1010100;_0xcdaa3f[_0x18648c]=_0x416e68<<0x18|_0x416e68>>>0x8,_0x5389b9[_0x18648c]=_0x416e68<<0x10|_0x416e68>>>0x10,_0x47b05e[_0x18648c]=_0x416e68<<0x8|_0x416e68>>>0x18,_0x35b29b[_0x18648c]=_0x416e68;var _0x416e68=_0x3ec60d*0x1010101^_0x534d99*0x10001^_0x40698c*0x101^_0x18648c*0x1010100;_0x5e7b38[_0x26d041]=_0x416e68<<0x18|_0x416e68>>>0x8,_0xb7e5d4[_0x26d041]=_0x416e68<<0x10|_0x416e68>>>0x10,_0x63b837[_0x26d041]=_0x416e68<<0x8|_0x416e68>>>0x18,_0x1d9de8[_0x26d041]=_0x416e68,_0x18648c?(_0x18648c=_0x40698c^_0x308ace[_0x308ace[_0x308ace[_0x3ec60d^_0x40698c]]],_0x4e8a31^=_0x308ace[_0x308ace[_0x4e8a31]]):_0x18648c=_0x4e8a31=0x1;}}());var _0x33d638=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2e6276=_0x21f489[_0x1064d4(0x249)]=_0x161993[_0x1064d4(0x2e7)]({'_doReset':function(){var _0x479bcb=_0x1064d4,_0xd99fc3;if(!(this[_0x479bcb(0x270)]&&this[_0x479bcb(0x301)]===this['_key'])){for(var _0x10fde0=this[_0x479bcb(0x301)]=this[_0x479bcb(0x394)],_0x68b46d=_0x10fde0[_0x479bcb(0x23e)],_0x364ae1=_0x10fde0[_0x479bcb(0x3b3)]/0x4,_0x226828=this[_0x479bcb(0x270)]=_0x364ae1+0x6,_0x14717a=(_0x226828+0x1)*0x4,_0x53ca7c=this[_0x479bcb(0x159)]=[],_0x37a57a=0x0;_0x37a57a<_0x14717a;_0x37a57a++)_0x37a57a<_0x364ae1?_0x53ca7c[_0x37a57a]=_0x68b46d[_0x37a57a]:(_0xd99fc3=_0x53ca7c[_0x37a57a-0x1],_0x37a57a%_0x364ae1?_0x364ae1>0x6&&_0x37a57a%_0x364ae1==0x4&&(_0xd99fc3=_0x3317c6[_0xd99fc3>>>0x18]<<0x18|_0x3317c6[_0xd99fc3>>>0x10&0xff]<<0x10|_0x3317c6[_0xd99fc3>>>0x8&0xff]<<0x8|_0x3317c6[_0xd99fc3&0xff]):(_0xd99fc3=_0xd99fc3<<0x8|_0xd99fc3>>>0x18,_0xd99fc3=_0x3317c6[_0xd99fc3>>>0x18]<<0x18|_0x3317c6[_0xd99fc3>>>0x10&0xff]<<0x10|_0x3317c6[_0xd99fc3>>>0x8&0xff]<<0x8|_0x3317c6[_0xd99fc3&0xff],_0xd99fc3^=_0x33d638[_0x37a57a/_0x364ae1|0x0]<<0x18),_0x53ca7c[_0x37a57a]=_0x53ca7c[_0x37a57a-_0x364ae1]^_0xd99fc3);for(var _0x1c424e=this[_0x479bcb(0x238)]=[],_0xf6fe04=0x0;_0xf6fe04<_0x14717a;_0xf6fe04++){var _0x37a57a=_0x14717a-_0xf6fe04;if(_0xf6fe04%0x4)var _0xd99fc3=_0x53ca7c[_0x37a57a];else var _0xd99fc3=_0x53ca7c[_0x37a57a-0x4];_0xf6fe04<0x4||_0x37a57a<=0x4?_0x1c424e[_0xf6fe04]=_0xd99fc3:_0x1c424e[_0xf6fe04]=_0x5e7b38[_0x3317c6[_0xd99fc3>>>0x18]]^_0xb7e5d4[_0x3317c6[_0xd99fc3>>>0x10&0xff]]^_0x63b837[_0x3317c6[_0xd99fc3>>>0x8&0xff]]^_0x1d9de8[_0x3317c6[_0xd99fc3&0xff]];}}},'encryptBlock':function(_0x239488,_0x1a991c){var _0x4b088a=_0x1064d4;this['_doCryptBlock'](_0x239488,_0x1a991c,this[_0x4b088a(0x159)],_0xcdaa3f,_0x5389b9,_0x47b05e,_0x35b29b,_0x3317c6);},'decryptBlock':function(_0x2cc460,_0x327b17){var _0x3718d5=_0x1064d4,_0x3d5348=_0x2cc460[_0x327b17+0x1];_0x2cc460[_0x327b17+0x1]=_0x2cc460[_0x327b17+0x3],_0x2cc460[_0x327b17+0x3]=_0x3d5348,this[_0x3718d5(0x2c4)](_0x2cc460,_0x327b17,this[_0x3718d5(0x238)],_0x5e7b38,_0xb7e5d4,_0x63b837,_0x1d9de8,_0x456697);var _0x3d5348=_0x2cc460[_0x327b17+0x1];_0x2cc460[_0x327b17+0x1]=_0x2cc460[_0x327b17+0x3],_0x2cc460[_0x327b17+0x3]=_0x3d5348;},'_doCryptBlock':function(_0x2a3e43,_0x547970,_0x47d5f7,_0x42ef10,_0x40a262,_0x3e7921,_0x48bccb,_0x265fa5){for(var _0x58f779=this['_nRounds'],_0x191ad0=_0x2a3e43[_0x547970]^_0x47d5f7[0x0],_0x47e576=_0x2a3e43[_0x547970+0x1]^_0x47d5f7[0x1],_0x5dd5be=_0x2a3e43[_0x547970+0x2]^_0x47d5f7[0x2],_0x3aaef6=_0x2a3e43[_0x547970+0x3]^_0x47d5f7[0x3],_0x2756c3=0x4,_0x1e700f=0x1;_0x1e700f<_0x58f779;_0x1e700f++){var _0x36c4dc=_0x42ef10[_0x191ad0>>>0x18]^_0x40a262[_0x47e576>>>0x10&0xff]^_0x3e7921[_0x5dd5be>>>0x8&0xff]^_0x48bccb[_0x3aaef6&0xff]^_0x47d5f7[_0x2756c3++],_0x49209f=_0x42ef10[_0x47e576>>>0x18]^_0x40a262[_0x5dd5be>>>0x10&0xff]^_0x3e7921[_0x3aaef6>>>0x8&0xff]^_0x48bccb[_0x191ad0&0xff]^_0x47d5f7[_0x2756c3++],_0x4240c8=_0x42ef10[_0x5dd5be>>>0x18]^_0x40a262[_0x3aaef6>>>0x10&0xff]^_0x3e7921[_0x191ad0>>>0x8&0xff]^_0x48bccb[_0x47e576&0xff]^_0x47d5f7[_0x2756c3++],_0x3a5d59=_0x42ef10[_0x3aaef6>>>0x18]^_0x40a262[_0x191ad0>>>0x10&0xff]^_0x3e7921[_0x47e576>>>0x8&0xff]^_0x48bccb[_0x5dd5be&0xff]^_0x47d5f7[_0x2756c3++];_0x191ad0=_0x36c4dc,_0x47e576=_0x49209f,_0x5dd5be=_0x4240c8,_0x3aaef6=_0x3a5d59;}var _0x36c4dc=(_0x265fa5[_0x191ad0>>>0x18]<<0x18|_0x265fa5[_0x47e576>>>0x10&0xff]<<0x10|_0x265fa5[_0x5dd5be>>>0x8&0xff]<<0x8|_0x265fa5[_0x3aaef6&0xff])^_0x47d5f7[_0x2756c3++],_0x49209f=(_0x265fa5[_0x47e576>>>0x18]<<0x18|_0x265fa5[_0x5dd5be>>>0x10&0xff]<<0x10|_0x265fa5[_0x3aaef6>>>0x8&0xff]<<0x8|_0x265fa5[_0x191ad0&0xff])^_0x47d5f7[_0x2756c3++],_0x4240c8=(_0x265fa5[_0x5dd5be>>>0x18]<<0x18|_0x265fa5[_0x3aaef6>>>0x10&0xff]<<0x10|_0x265fa5[_0x191ad0>>>0x8&0xff]<<0x8|_0x265fa5[_0x47e576&0xff])^_0x47d5f7[_0x2756c3++],_0x3a5d59=(_0x265fa5[_0x3aaef6>>>0x18]<<0x18|_0x265fa5[_0x191ad0>>>0x10&0xff]<<0x10|_0x265fa5[_0x47e576>>>0x8&0xff]<<0x8|_0x265fa5[_0x5dd5be&0xff])^_0x47d5f7[_0x2756c3++];_0x2a3e43[_0x547970]=_0x36c4dc,_0x2a3e43[_0x547970+0x1]=_0x49209f,_0x2a3e43[_0x547970+0x2]=_0x4240c8,_0x2a3e43[_0x547970+0x3]=_0x3a5d59;},'keySize':0x100/0x20});_0x716d12['AES']=_0x161993[_0x1064d4(0x434)](_0x2e6276);}()),_0x2ec66b[_0xaf8a55(0x249)];}));}(fe)),fe[_0xd7e4f4(0x27c)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x4611e8(0x27c)],rt;function Vi(){var _0x1ff8bf=_0x4611e8;return rt||(rt=0x1,function(_0x40d1e2,_0x3621ae){(function(_0x33bc93,_0x26f80c){var _0x3cd80e=_0x4139;_0x40d1e2[_0x3cd80e(0x27c)]=_0x26f80c(Q());}(Fi,function(_0x34db0c){return _0x34db0c['enc']['Utf8'];}));}(be)),be[_0x1ff8bf(0x27c)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re['exports'],st;function Ki(){var _0x40611c=_0x4611e8;return st||(st=0x1,function(_0x9388d3,_0x97f891){(function(_0x55b242,_0x7face8){_0x9388d3['exports']=_0x7face8(Q());}(Gi,function(_0x44b4df){var _0x5efd7f=_0x4139;return(function(){var _0x4dea15=_0x4139;if(typeof ArrayBuffer=='function'){var _0x5cef01=_0x44b4df,_0x468867=_0x5cef01['lib'],_0x379582=_0x468867[_0x4dea15(0x304)],_0x543cbc=_0x379582[_0x4dea15(0x1b7)],_0x455a02=_0x379582[_0x4dea15(0x1b7)]=function(_0x203b0b){var _0x2bd0aa=_0x4dea15;if(_0x203b0b instanceof ArrayBuffer&&(_0x203b0b=new Uint8Array(_0x203b0b)),(_0x203b0b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x203b0b instanceof Uint8ClampedArray||_0x203b0b instanceof Int16Array||_0x203b0b instanceof Uint16Array||_0x203b0b instanceof Int32Array||_0x203b0b instanceof Uint32Array||_0x203b0b instanceof Float32Array||_0x203b0b instanceof Float64Array)&&(_0x203b0b=new Uint8Array(_0x203b0b[_0x2bd0aa(0x411)],_0x203b0b[_0x2bd0aa(0x1b9)],_0x203b0b['byteLength'])),_0x203b0b instanceof Uint8Array){for(var _0x3895b5=_0x203b0b['byteLength'],_0x9e5234=[],_0x19920d=0x0;_0x19920d<_0x3895b5;_0x19920d++)_0x9e5234[_0x19920d>>>0x2]|=_0x203b0b[_0x19920d]<<0x18-_0x19920d%0x4*0x8;_0x543cbc[_0x2bd0aa(0x415)](this,_0x9e5234,_0x3895b5);}else _0x543cbc[_0x2bd0aa(0x297)](this,arguments);};_0x455a02['prototype']=_0x379582;}}()),_0x44b4df[_0x5efd7f(0x215)][_0x5efd7f(0x304)];}));}(Re)),Re[_0x40611c(0x27c)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x4611e8(0x27c)],ot;function Xi(){var _0x287dc0=_0x4611e8;return ot||(ot=0x1,function(_0x488b26,_0x12d554){(function(_0x44cd84,_0x115715,_0x41e57){var _0x8e2d9d=_0x4139;_0x488b26[_0x8e2d9d(0x27c)]=_0x115715(Q(),Dt());}(Ji,function(_0x261017){var _0x400d88=_0x4139;return _0x261017['pad'][_0x400d88(0x491)]={'pad':function(){},'unpad':function(){}},_0x261017[_0x400d88(0x409)]['NoPadding'];}));}(Oe)),Oe[_0x287dc0(0x27c)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x27d1a1,_0xe9e565){var _0x1a6af9=_0x4611e8;const _0x5b4662=_0xe9e565-_0x27d1a1[_0x1a6af9(0x479)]%_0xe9e565,_0x458391=String[_0x1a6af9(0x1ce)](_0x5b4662)[_0x1a6af9(0x232)](_0x5b4662);return _0x27d1a1+_0x458391;}function tn(_0x4c94e9,_0x260627){var _0x166f7f=_0x4611e8;const _0x4c78d4=zi[_0x166f7f(0x1e7)](0x10),_0x3ddb35=en(_0x4c94e9,0x10),_0x39c6a1=ji[_0x166f7f(0x193)](Yi[_0x166f7f(0x14c)](_0x3ddb35),nt[_0x166f7f(0x14c)](_0x260627),{'iv':_0x4c78d4,'padding':Qi});return _0x4c78d4['concat'](_0x39c6a1['ciphertext'])[_0x166f7f(0x21d)](nt);}function nn(){var _0x374407=_0x4611e8;const _0x2552e0=Lt['getGlobalObject']()[_0x374407(0x17f)];if(_0x2552e0){const _0x45788f={'time':Math[_0x374407(0x2db)](Date[_0x374407(0x42d)]()/0x3e8),'domain':location[_0x374407(0x300)]};return tn(JSON[_0x374407(0x37b)](_0x45788f),_0x2552e0);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x2339ac,_0x64d604,_0x8315ae,_0x4529e3)=>{var _0x136aed=_0x4611e8;for(var _0x17901a=_0x4529e3>0x1?void 0x0:_0x4529e3?rn(_0x64d604,_0x8315ae):_0x64d604,_0x4fb402=_0x2339ac[_0x136aed(0x479)]-0x1,_0x4778c4;_0x4fb402>=0x0;_0x4fb402--)(_0x4778c4=_0x2339ac[_0x4fb402])&&(_0x17901a=_0x4778c4(_0x17901a)||_0x17901a);return _0x17901a;},on=(_0x4e97ee,_0x1a8155)=>(_0x1e393e,_0x1831e5)=>_0x1a8155(_0x1e393e,_0x1831e5,_0x4e97ee);let Ne=class{constructor(_0x348602){var _0x5db8c5=_0x4611e8;this[_0x5db8c5(0x48d)]=_0x348602,this['_initRequestHeader']();}[_0x4611e8(0x29c)](){var _0x4dd95e=_0x4611e8;this[_0x4dd95e(0x48d)][_0x4dd95e(0x489)]({'interceptor':(_0x188342,_0x10a16c)=>{var _0x2e9f2e=_0x4dd95e;const _0x164d49=_0x188342['headers'],_0x2926b7=nn();return _0x2926b7&&_0x164d49['set'](_0x2e9f2e(0x460),_0x2926b7),_0x10a16c(_0x188342);}});}};Ne=sn([on(0x0,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0xf0ced5,_0xceb297,_0x498cc5,_0x442e50)=>{var _0x53b126=_0x4611e8;for(var _0x1860c8=_0x442e50>0x1?void 0x0:_0x442e50?an(_0xceb297,_0x498cc5):_0xceb297,_0x43fd8c=_0xf0ced5[_0x53b126(0x479)]-0x1,_0x5dcea9;_0x43fd8c>=0x0;_0x43fd8c--)(_0x5dcea9=_0xf0ced5[_0x43fd8c])&&(_0x1860c8=_0x5dcea9(_0x1860c8)||_0x1860c8);return _0x1860c8;},Le=(_0xfd1a5e,_0xafd777)=>(_0x1d1cee,_0x59406b)=>_0xafd777(_0x1d1cee,_0x59406b,_0xfd1a5e);exports['DataLoaderService']=class extends a[_0x4611e8(0x135)]{constructor(_0xa6f609,_0x1926bb,_0x327cf1){var _0x4c5d84=_0x4611e8;super(),A(this,'_unitInfo$',new $[(_0x4c5d84(0x3c0))](null)),A(this,_0x4c5d84(0x3f0),this[_0x4c5d84(0x364)][_0x4c5d84(0x2fd)]()),(this[_0x4c5d84(0x47b)]=_0xa6f609,this[_0x4c5d84(0x1d3)]=_0x1926bb,this[_0x4c5d84(0x1d4)]=_0x327cf1);}async[_0x4611e8(0x2ec)](_0x988719,_0x3995fa,_0x125640){var _0x52c3d8=_0x4611e8;this['_unitInfo$'][_0x52c3d8(0x244)]({'unitId':_0x988719,'type':_0x3995fa});let _0x19274b=null;switch(_0x3995fa){case J[_0x52c3d8(0x1c8)]:{_0x19274b=await this[_0x52c3d8(0x1d3)]['loadSheet'](_0x988719,_0x125640);break;}case J[_0x52c3d8(0x2c8)]:{_0x19274b=await this[_0x52c3d8(0x1d3)][_0x52c3d8(0x1f4)](_0x988719,_0x125640);break;}default:{this[_0x52c3d8(0x47b)]['error'](_0x52c3d8(0x2f5),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x19274b;}async[_0x4611e8(0x2a1)](_0x49d661,_0x5ba91f,_0x290955){var _0x211a6c=_0x4611e8,_0x338023;this[_0x211a6c(0x364)][_0x211a6c(0x244)]({'unitId':_0x49d661,'type':_0x5ba91f,'subUnitId':_0x290955});let _0x300ea6=0x0;const _0x1720e3=await((_0x338023=this[_0x211a6c(0x1d4)])==null?void 0x0:_0x338023[_0x211a6c(0x345)](_0x49d661));return _0x1720e3&&(_0x1720e3[_0x211a6c(0x3ec)]||_0x1720e3['mutations'][_0x211a6c(0x479)]!==0x0)&&(_0x300ea6=_0x1720e3[_0x211a6c(0x288)]),_0x300ea6===0x0&&this[_0x211a6c(0x47b)]['debug'](_0x211a6c(0x2f5),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x49d661,_0x5ba91f,_0x300ea6);}},exports[_0x4611e8(0x2b5)]=cn([Le(0x0,a[_0x4611e8(0x2a6)]),Le(0x1,a[_0x4611e8(0x1dd)](p[_0x4611e8(0x45d)])),Le(0x2,a[_0x4611e8(0x3e3)](q))],exports['DataLoaderService']);var hn=Object[_0x4611e8(0x1b5)],_n=(_0x128756,_0x4cdd03,_0x240373,_0x319740)=>{var _0x356883=_0x4611e8;for(var _0x1cce39=_0x319740>0x1?void 0x0:_0x319740?hn(_0x4cdd03,_0x240373):_0x4cdd03,_0x1eeff8=_0x128756[_0x356883(0x479)]-0x1,_0x5cd7fc;_0x1eeff8>=0x0;_0x1eeff8--)(_0x5cd7fc=_0x128756[_0x1eeff8])&&(_0x1cce39=_0x5cd7fc(_0x1cce39)||_0x1cce39);return _0x1cce39;},we=(_0x2d4a37,_0x4270c2)=>(_0x5247b8,_0x243046)=>_0x4270c2(_0x5247b8,_0x243046,_0x2d4a37);const ln=[_0x4611e8(0x3a4),_0x4611e8(0x421),'image/jpg','image/gif',_0x4611e8(0x25c)],un=0x5*0x400*0x400,dn=_0x4611e8(0x22b),vn='/universer-api/stream/file/upload',Sn=_0x4611e8(0x18c),fn=_0x4611e8(0x45c);function _0x4139(_0x31c8c4,_0x21028e){var _0xcb1874=_0xcb18();return _0x4139=function(_0x413971,_0x39b9b8){_0x413971=_0x413971-0x117;var _0x2e4ad=_0xcb1874[_0x413971];return _0x2e4ad;},_0x4139(_0x31c8c4,_0x21028e);}exports['CollaborationImageIoService']=class{constructor(_0x552de2,_0x183b3b,_0x28cbd2){var _0x17b519=_0x4611e8;A(this,'_waitCount',0x0),A(this,'_change$',new $[(_0x17b519(0x419))]()),A(this,_0x17b519(0x2e1),this[_0x17b519(0x265)]),A(this,'_imageSourceCache',new Map()),(this[_0x17b519(0x48d)]=_0x552de2,this[_0x17b519(0x290)]=_0x183b3b,this[_0x17b519(0x322)]=_0x28cbd2);}['setWaitCount'](_0x12756f){var _0x32d0e0=_0x4611e8;this['_waitCount']=_0x12756f,this[_0x32d0e0(0x265)][_0x32d0e0(0x244)](_0x12756f);}[_0x4611e8(0x15e)](_0x4ca7b9,_0x41eaf3){var _0x3d245e=_0x4611e8;if(_0x41eaf3===z[_0x3d245e(0x2e9)][_0x3d245e(0x11b)]){const _0x303602=new Image();return _0x303602[_0x3d245e(0x183)]=_0x4ca7b9,_0x303602;}return this[_0x3d245e(0x38f)][_0x3d245e(0x306)](_0x4ca7b9);}[_0x4611e8(0x1a0)](_0x12a255,_0x35f5a3,_0x567d48){var _0x332e91=_0x4611e8;_0x35f5a3===z['ImageSourceType'][_0x332e91(0x11b)]||_0x567d48==null||this[_0x332e91(0x38f)][_0x332e91(0x175)](_0x12a255,_0x567d48);}async[_0x4611e8(0x34b)](_0x1d38b9){var _0x16de11=_0x4611e8;try{const _0x2bc858=this['_replaceFileID'](this[_0x16de11(0x352)](),''+_0x1d38b9),_0x54e63c=(await this[_0x16de11(0x48d)][_0x16de11(0x306)](_0x2bc858))[_0x16de11(0x25f)];if(_0x54e63c[_0x16de11(0x2b8)]&&_0x54e63c[_0x16de11(0x2b8)][_0x16de11(0x220)]===gt['OK']){const _0x2bcb66=new URL(_0x54e63c[_0x16de11(0x30c)],this[_0x16de11(0x3fa)]())[_0x16de11(0x21d)]();return Promise[_0x16de11(0x2fc)](_0x2bcb66);}return Promise[_0x16de11(0x494)](_0x54e63c[_0x16de11(0x2b8)]);}catch(_0x1c35b8){return Promise[_0x16de11(0x494)](_0x1c35b8);}}async[_0x4611e8(0x39b)](_0x2fcbd9){var _0x362620=_0x4611e8;let _0x172b27='';if(!ln[_0x362620(0x168)](_0x2fcbd9['type']))return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)][_0x362620(0x160)]));if(_0x2fcbd9[_0x362620(0x226)]>un)return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x587865=new FormData();_0x587865[_0x362620(0x351)](_0x362620(0x283),_0x2fcbd9);const _0x382a5a=this[_0x362620(0x322)][_0x362620(0x275)](),_0xedcf67=_0x382a5a==null?void 0x0:_0x382a5a['getUnitId']();if(!_0xedcf67)throw new Error('unitId\x20is\x20not\x20found');const _0x3bfccc=this[_0x362620(0x2df)]()+_0x362620(0x42e)+_0x2fcbd9[_0x362620(0x226)][_0x362620(0x21d)]()+_0x362620(0x293)+Et[_0x362620(0x2b2)]+'&assign='+encodeURIComponent(_0xedcf67),_0x79da58={'body':_0x587865},_0x18b210=(await this[_0x362620(0x48d)][_0x362620(0x12a)](_0x3bfccc,_0x79da58))[_0x362620(0x25f)];if(typeof _0x18b210[_0x362620(0x129)]!=_0x362620(0x203))return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)][_0x362620(0x39f)]));_0x172b27=_0x18b210[_0x362620(0x129)];}catch{return this[_0x362620(0x19e)](),Promise[_0x362620(0x494)](new Error(z[_0x362620(0x40b)]['ERROR_IMAGE']));}return new Promise((_0x30c89b,_0x3a1528)=>{const _0x3c2b5d=new FileReader();_0x3c2b5d['readAsDataURL'](_0x2fcbd9),_0x3c2b5d['onload']=_0x142327=>{var _0x5e834e=_0x4139,_0x130df0;const _0x1661b9=(_0x130df0=_0x142327[_0x5e834e(0x264)])==null?void 0x0:_0x130df0[_0x5e834e(0x16d)];if(_0x1661b9==null){this['_decreaseWaiting'](),_0x3a1528(new Error(z[_0x5e834e(0x40b)]['ERROR_IMAGE']));return;}const _0x8b61ae=a[_0x5e834e(0x18f)][_0x5e834e(0x3d6)](0x6);_0x30c89b({'imageId':_0x8b61ae,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x172b27,'base64Cache':_0x1661b9,'status':z[_0x5e834e(0x40b)]['SUCCUSS']}),this[_0x5e834e(0x19e)]();};});}['_getUploadFileURL'](){var _0x3e8a11=_0x4611e8,_0x22fde2,_0x1c38aa;const _0x418a37=this['_configService'][_0x3e8a11(0x2a9)](dn),_0x5071ef=this[_0x3e8a11(0x290)][_0x3e8a11(0x2a9)](G);return(_0x1c38aa=(_0x22fde2=_0x5071ef==null?void 0x0:_0x5071ef[_0x3e8a11(0x23d)])!=null?_0x22fde2:_0x418a37)!=null?_0x1c38aa:vn;}[_0x4611e8(0x352)](){var _0x59452b=_0x4611e8,_0x4f86c5,_0xddf5a7;const _0x4c5d60=this['_configService'][_0x59452b(0x2a9)](Sn),_0x8c754c=this[_0x59452b(0x290)]['getConfig'](G);return(_0xddf5a7=(_0x4f86c5=_0x8c754c==null?void 0x0:_0x8c754c[_0x59452b(0x299)])!=null?_0x4f86c5:_0x4c5d60)!=null?_0xddf5a7:fn;}[_0x4611e8(0x3fa)](){var _0x3fdd5c=_0x4611e8,_0x454cca;const _0x3e9163=this[_0x3fdd5c(0x290)][_0x3fdd5c(0x2a9)](G);return(_0x454cca=_0x3e9163==null?void 0x0:_0x3e9163[_0x3fdd5c(0x30a)])!=null?_0x454cca:location[_0x3fdd5c(0x365)];}[_0x4611e8(0x231)](_0x49d57d,_0x24ccc1){var _0x41abe1=_0x4611e8;return _0x49d57d[_0x41abe1(0x440)](_0x41abe1(0x118),_0x24ccc1);}[_0x4611e8(0x19e)](){var _0x49fe25=_0x4611e8;this[_0x49fe25(0x27e)]-=0x1,this[_0x49fe25(0x265)][_0x49fe25(0x244)](this[_0x49fe25(0x27e)]);}},exports[_0x4611e8(0x1c9)]=_n([we(0x0,a['Inject'](K[_0x4611e8(0x444)])),we(0x1,a['IConfigService']),we(0x2,a[_0x4611e8(0x1dd)](a[_0x4611e8(0x227)]))],exports[_0x4611e8(0x1c9)]);var In=Object[_0x4611e8(0x1b5)],pn=(_0x112e03,_0x1f6b33,_0x1286f2,_0x5eff80)=>{var _0x4a3018=_0x4611e8;for(var _0x455b4b=_0x5eff80>0x1?void 0x0:_0x5eff80?In(_0x1f6b33,_0x1286f2):_0x1f6b33,_0x2f9dac=_0x112e03[_0x4a3018(0x479)]-0x1,_0x4e94b7;_0x2f9dac>=0x0;_0x2f9dac--)(_0x4e94b7=_0x112e03[_0x2f9dac])&&(_0x455b4b=_0x4e94b7(_0x455b4b)||_0x455b4b);return _0x455b4b;},at=(_0x4f5c63,_0x38d234)=>(_0x551e74,_0x98f3ee)=>_0x38d234(_0x551e74,_0x98f3ee,_0x4f5c63);const gn='/universer-api/authz';exports[_0x4611e8(0x341)]=class{constructor(_0x2c7b6c,_0x5399a4){var _0x3d3eab=_0x4611e8;this[_0x3d3eab(0x290)]=_0x2c7b6c,this[_0x3d3eab(0x37c)]=_0x5399a4;}['_getAPIPrefixPath'](){var _0x3c16f9=_0x4611e8,_0x35d464,_0x1a7568;const _0x13e5e6=this[_0x3c16f9(0x290)]['getConfig'](Ve),_0x12f30a=this['_configService']['getConfig'](G);return(_0x1a7568=(_0x35d464=_0x12f30a==null?void 0x0:_0x12f30a['authzUrl'])!=null?_0x35d464:_0x13e5e6)!=null?_0x1a7568:gn;}async[_0x4611e8(0x257)](_0x469270){var _0x17b5a6=_0x4611e8;const _0x46950f=this['_getAPIPrefixPath']()+_0x17b5a6(0x1da);return{'list':[{'title':_0x17b5a6(0x2af),'mentions':(await this[_0x17b5a6(0x37c)][_0x17b5a6(0x306)](_0x46950f,{'params':{'objectID':_0x469270[_0x17b5a6(0x218)],'unitID':_0x469270[_0x17b5a6(0x218)]}}))[_0x17b5a6(0x25f)][_0x17b5a6(0x468)][_0x17b5a6(0x353)](_0x4fb563=>({'objectId':_0x4fb563['id'],'name':_0x4fb563[_0x17b5a6(0x1bc)]['name'],'metadata':{'icon':_0x4fb563[_0x17b5a6(0x1bc)][_0x17b5a6(0x3e6)]},'label':_0x4fb563[_0x17b5a6(0x1bc)][_0x17b5a6(0x443)],'objectType':a['MentionType'][_0x17b5a6(0x170)]})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x4611e8(0x341)]=pn([at(0x0,a['Inject'](a[_0x4611e8(0x335)])),at(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x403e7a,_0x52799f,_0x32a120,_0x2f6b4a)=>{for(var _0x2bf5e9=_0x2f6b4a>0x1?void 0x0:_0x2f6b4a?En(_0x52799f,_0x32a120):_0x52799f,_0x4378ce=_0x403e7a['length']-0x1,_0x435151;_0x4378ce>=0x0;_0x4378ce--)(_0x435151=_0x403e7a[_0x4378ce])&&(_0x2bf5e9=_0x435151(_0x2bf5e9)||_0x2bf5e9);return _0x2bf5e9;},le=(_0x5f39dc,_0x1a25eb)=>(_0xf612a8,_0x38e96b)=>_0x1a25eb(_0xf612a8,_0x38e96b,_0x5f39dc);let De=class extends a[_0x4611e8(0x135)]{constructor(_0x3e0188,_0x407101,_0xba22dc,_0x4bfbbc,_0x349d29){var _0x5c7d49=_0x4611e8;super(),this[_0x5c7d49(0x390)]=_0x3e0188,this['_univerInstanceService']=_0x407101,this[_0x5c7d49(0x2f6)]=_0xba22dc,this[_0x5c7d49(0x1be)]=_0x4bfbbc,this[_0x5c7d49(0x31d)]=_0x349d29,this[_0x5c7d49(0x402)](),this['_initCloseConn']();}[_0x4611e8(0x3c8)](){var _0x571958=_0x4611e8;const _0x3e2974=async _0x4092b6=>{var _0x8f9cc2=_0x4139;(await this[_0x8f9cc2(0x1be)][_0x8f9cc2(0x27d)](_0x4092b6))[_0x8f9cc2(0x1fc)][_0x8f9cc2(0x121)](V[_0x8f9cc2(0x266)](_0x1ca439=>_0x1ca439[_0x8f9cc2(0x126)]===p['CollaborationEvent'][_0x8f9cc2(0x2c5)]),V[_0x8f9cc2(0x11d)](this[_0x8f9cc2(0x1f9)]))[_0x8f9cc2(0x46a)](_0xac8511=>{var _0x548536=_0x8f9cc2;const _0x49e6b1=_0xac8511,{reason:_0x908b34}=_0x49e6b1[_0x548536(0x33e)];this['_collaborationUIEventService'][_0x548536(0x14e)]({'id':Z[_0x548536(0x38d)],'data':_0x908b34}),this[_0x548536(0x2f6)]['updatePermissionPoint'](new X[(_0x548536(0x473))](_0x4092b6)['id'],!0x1),this[_0x548536(0x1be)]['closeSession'](_0x4092b6);});};$['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x571958(0x31f)]['UNIVER_SHEET']),this[_0x571958(0x322)][_0x571958(0x32d)](a[_0x571958(0x31f)]['UNIVER_DOC']))['pipe'](V[_0x571958(0x353)](_0x3a8700=>_0x3a8700[_0x571958(0x13b)]()),V['filter'](_0x32e7d7=>!a[_0x571958(0x3af)](_0x32e7d7)),V[_0x571958(0x11d)](this[_0x571958(0x1f9)]))['subscribe'](_0x3b22ee=>{_0x3e2974(_0x3b22ee);});}[_0x4611e8(0x402)](){var _0x5bdff9=_0x4611e8;const _0x1672cd=async _0x4467ea=>{var _0x5110f2=_0x4139;const _0x5cda06=await this[_0x5110f2(0x1be)][_0x5110f2(0x27d)](_0x4467ea),_0x1c43cc=this[_0x5110f2(0x390)][_0x5110f2(0x306)](X[_0x5110f2(0x314)]);_0x5cda06[_0x5110f2(0x1fc)][_0x5110f2(0x121)](V[_0x5110f2(0x266)](_0x11680e=>_0x11680e[_0x5110f2(0x126)]===p['CollaborationEvent'][_0x5110f2(0x3b0)]),V[_0x5110f2(0x11d)](this[_0x5110f2(0x1f9)]))[_0x5110f2(0x46a)](_0x21dadc=>{var _0x35cc8e=_0x5110f2;const _0x1819a3=_0x21dadc,{objectId:_0x23635}=_0x1819a3[_0x35cc8e(0x33e)];_0x23635===_0x4467ea?_0x1c43cc[_0x35cc8e(0x2a0)](_0x4467ea):_0x1c43cc[_0x35cc8e(0x31b)](_0x4467ea,_0x23635);});};$[_0x5bdff9(0x2fe)](this[_0x5bdff9(0x322)][_0x5bdff9(0x32d)](a['UniverInstanceType'][_0x5bdff9(0x1c8)]))[_0x5bdff9(0x121)](V[_0x5bdff9(0x353)](_0x11d0c5=>_0x11d0c5[_0x5bdff9(0x13b)]()),V['filter'](_0x2c5ee5=>!a[_0x5bdff9(0x3af)](_0x2c5ee5)),V[_0x5bdff9(0x11d)](this[_0x5bdff9(0x1f9)]))[_0x5bdff9(0x46a)](_0x341379=>{_0x1672cd(_0x341379);});}};De=mn([le(0x0,a[_0x4611e8(0x1dd)](a['Injector'])),le(0x1,a['IUniverInstanceService']),le(0x2,a[_0x4611e8(0x37e)]),le(0x3,a[_0x4611e8(0x1dd)](exports[_0x4611e8(0x1f8)])),le(0x4,a[_0x4611e8(0x1dd)](ee))],De);var Cn=Object[_0x4611e8(0x1b5)],Tn=(_0x36c40c,_0x46f6c8,_0x3ef639,_0x5da7b8)=>{for(var _0x192939=_0x5da7b8>0x1?void 0x0:_0x5da7b8?Cn(_0x46f6c8,_0x3ef639):_0x46f6c8,_0x1e5fd5=_0x36c40c['length']-0x1,_0x360a2a;_0x1e5fd5>=0x0;_0x1e5fd5--)(_0x360a2a=_0x36c40c[_0x1e5fd5])&&(_0x192939=_0x360a2a(_0x192939)||_0x192939);return _0x192939;},ct=(_0x33a7c1,_0x49efb6)=>(_0x762e21,_0x1b6a54)=>_0x49efb6(_0x762e21,_0x1b6a54,_0x33a7c1);exports['SnapshotServerOverHTTPService']=class{constructor(_0x55d008,_0x3f91b9){var _0x59cfff=_0x4611e8;this[_0x59cfff(0x290)]=_0x55d008,this[_0x59cfff(0x48d)]=_0x3f91b9;}async[_0x4611e8(0x1f2)](_0x335131,_0x24b8d8){var _0x302c19=_0x4611e8,_0x589237;const {unitID:_0x4f0cce,type:_0x2db472,revision:_0x5edbf3=0x0}=_0x24b8d8,_0x43294b=this[_0x302c19(0x15c)]()+'/'+_0x2db472+_0x302c19(0x38c)+_0x4f0cce+_0x302c19(0x43d)+_0x5edbf3,_0x445819=(await this[_0x302c19(0x48d)][_0x302c19(0x306)](_0x43294b))[_0x302c19(0x25f)],_0x4f14fa=(_0x589237=_0x445819[_0x302c19(0x400)])==null?void 0x0:_0x589237[_0x302c19(0x3c3)];if(_0x4f14fa){const _0x40fd05=_0x4f14fa==null?void 0x0:_0x4f14fa[_0x302c19(0x229)],_0x2387f9=p['textEncoder'][_0x302c19(0x119)](p[_0x302c19(0x3c4)](_0x40fd05));_0x4f14fa[_0x302c19(0x229)]=_0x2387f9,Object[_0x302c19(0x251)](_0x4f14fa['sheets'])[_0x302c19(0x333)](([,_0x1e39e7])=>{var _0x4f1d77=_0x302c19;const _0x2f8fec=_0x1e39e7[_0x4f1d77(0x229)],_0x521ae5=p[_0x4f1d77(0x303)][_0x4f1d77(0x119)](p[_0x4f1d77(0x3c4)](_0x2f8fec));_0x1e39e7[_0x4f1d77(0x229)]=_0x521ae5;});}return _0x445819;}async['getSheetBlock'](_0x186bf7,_0x93d3e9){var _0x2b5c91=_0x4611e8;const {unitID:_0x14a2ef,type:_0x3acbfb,blockID:_0x4f813b}=_0x93d3e9,_0x438795=this[_0x2b5c91(0x28e)]()+'/'+_0x3acbfb+_0x2b5c91(0x38c)+_0x14a2ef+_0x2b5c91(0x1e6)+_0x4f813b;return(await this[_0x2b5c91(0x48d)][_0x2b5c91(0x306)](_0x438795))['body'];}async[_0x4611e8(0x141)](_0x1a3e81,_0x28307d){var _0xa049db=_0x4611e8;const {unitID:_0x3817b3,type:_0x5f7adc,blockID:_0x14438b}=_0x28307d,_0x133646=this[_0xa049db(0x28e)]()+_0xa049db(0x1e6)+_0x5f7adc+_0xa049db(0x38c)+_0x3817b3+_0xa049db(0x1e6)+_0x14438b;return(await this[_0xa049db(0x48d)][_0xa049db(0x306)](_0x133646))[_0xa049db(0x25f)];}async[_0x4611e8(0x36a)](_0xe0e74f,_0x4437b9){var _0x3b9405=_0x4611e8;const {unitID:_0x56c4f0,type:_0x3f8a73,from:_0x31caf5,to:_0x1cf13e}=_0x4437b9,_0x337147=this[_0x3b9405(0x28e)]()+'/'+_0x3f8a73+'/unit/'+_0x56c4f0+_0x3b9405(0x3a0)+_0x31caf5+'&to='+_0x1cf13e;return(await this[_0x3b9405(0x48d)][_0x3b9405(0x306)](_0x337147))[_0x3b9405(0x25f)];}['getSnapshotAPIPath'](){var _0x4d8089=_0x4611e8,_0x24d227;return(_0x24d227=this[_0x4d8089(0x290)][_0x4d8089(0x2a9)](lt))!=null?_0x24d227:this[_0x4d8089(0x28e)]();}[_0x4611e8(0x28e)](){var _0x2aae58=_0x4611e8,_0x37215c,_0x9ba294;const _0x14509f=this[_0x2aae58(0x290)][_0x2aae58(0x2a9)](_t),_0x3a0b63=this[_0x2aae58(0x290)]['getConfig'](G);return(_0x9ba294=(_0x37215c=_0x3a0b63==null?void 0x0:_0x3a0b63[_0x2aae58(0x1c4)])!=null?_0x37215c:_0x14509f)!=null?_0x9ba294:wt;}async[_0x4611e8(0x234)](_0x58555c,_0x25d168){var _0x1cfa2a=_0x4611e8;const _0x46730e='/universer-api/snapshot/'+_0x25d168[_0x1cfa2a(0x442)]+_0x1cfa2a(0x38c)+_0x25d168[_0x1cfa2a(0x39e)]+_0x1cfa2a(0x25a);return(await this['_httpService'][_0x1cfa2a(0x306)](_0x46730e,{'params':{'resourceId':JSON[_0x1cfa2a(0x37b)](_0x25d168[_0x1cfa2a(0x395)])}}))[_0x1cfa2a(0x25f)];}[_0x4611e8(0x18d)](){var _0x1a78f9=_0x4611e8;throw new Error(_0x1a78f9(0x15b));}['updateSnapshot'](){var _0x216589=_0x4611e8;throw new Error(_0x216589(0x15b));}[_0x4611e8(0x2d7)](){var _0x4b9e38=_0x4611e8;throw new Error(_0x4b9e38(0x15b));}['saveChangeset'](){var _0x1657a2=_0x4611e8;throw new Error(_0x1657a2(0x15b));}[_0x4611e8(0x316)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4611e8(0x3b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x4611e8(0x474)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x4611e8(0x1dd)](K[_0x4611e8(0x444)]))],exports[_0x4611e8(0x474)]);var bn=Object[_0x4611e8(0x1b5)],Rn=(_0x17860d,_0x117e8d,_0x2b4b0d,_0x3a841d)=>{var _0x4db5c6=_0x4611e8;for(var _0x21a808=_0x3a841d>0x1?void 0x0:_0x3a841d?bn(_0x117e8d,_0x2b4b0d):_0x117e8d,_0x1fe521=_0x17860d[_0x4db5c6(0x479)]-0x1,_0x53da13;_0x1fe521>=0x0;_0x1fe521--)(_0x53da13=_0x17860d[_0x1fe521])&&(_0x21a808=_0x53da13(_0x21a808)||_0x21a808);return _0x21a808;},ue=(_0x320ac9,_0x45e497)=>(_0x5a8fcc,_0x1dc938)=>_0x45e497(_0x5a8fcc,_0x1dc938,_0x320ac9);exports[_0x4611e8(0x1cf)]=class extends a[_0x4611e8(0x445)]{constructor(_0x25dec3,_0x281f82,_0x329bce,_0x42d048,_0x963659){var _0x12cb4c=_0x4611e8;super(_0x25dec3,_0x281f82,_0x329bce),this[_0x12cb4c(0x2da)]=_0x42d048,this[_0x12cb4c(0x47b)]=_0x963659;}[_0x4611e8(0x1c1)](_0x2666b4,_0x32e5d4){var _0x33dfd8=_0x4611e8;const _0x20e4fe=this[_0x33dfd8(0x26f)](_0x2666b4);if(_0x20e4fe)try{const _0x57cb29=this['_transformStack'](_0x20e4fe,_0x32e5d4);this[_0x33dfd8(0x2d1)](_0x2666b4,_0x57cb29);}catch(_0x25dfd2){this[_0x33dfd8(0x47b)][_0x33dfd8(0x2b8)](_0x33dfd8(0x225),_0x25dfd2),this[_0x33dfd8(0x373)](_0x2666b4);}const _0x467d57=this[_0x33dfd8(0x3ef)](_0x2666b4);if(_0x467d57)try{const _0x165c14=this[_0x33dfd8(0x281)](_0x467d57,_0x32e5d4);this[_0x33dfd8(0x3d4)](_0x2666b4,_0x165c14);}catch(_0x72c04c){this[_0x33dfd8(0x47b)][_0x33dfd8(0x2b8)](_0x72c04c),this[_0x33dfd8(0x137)](_0x2666b4);}}[_0x4611e8(0x373)](_0x4248e4){var _0x17b42e=_0x4611e8;const _0x344b4f=this[_0x17b42e(0x26f)](_0x4248e4);_0x344b4f&&(_0x344b4f[_0x17b42e(0x479)]=0x0,this[_0x17b42e(0x452)]());}[_0x4611e8(0x137)](_0x45bf99){var _0x1fb177=_0x4611e8;const _0x511b7c=this[_0x1fb177(0x3ef)](_0x45bf99);_0x511b7c&&(_0x511b7c[_0x1fb177(0x479)]=0x0,this[_0x1fb177(0x452)]());}[_0x4611e8(0x2d1)](_0x49c098,_0x3012aa){var _0xf37de1=_0x4611e8;this['_undoStacks'][_0xf37de1(0x175)](_0x49c098,_0x3012aa),this[_0xf37de1(0x452)]();}[_0x4611e8(0x3d4)](_0x45a8c4,_0x3d589e){var _0xce7ad9=_0x4611e8;this[_0xce7ad9(0x35c)][_0xce7ad9(0x175)](_0x45a8c4,_0x3d589e),this['_updateStatus']();}['_transformStack'](_0x1bb829,_0x49f069){var _0x15e36f=_0x4611e8;const _0x379cb1=[];let _0x45ccfd=_0x49f069,_0x4a3500=_0x49f069;for(let _0xeb961e=_0x1bb829[_0x15e36f(0x479)]-0x1;_0xeb961e>=0x0;_0xeb961e--){const {unitID:_0x55fb84,undoMutations:_0x37038b,redoMutations:_0x49230e}=_0x1bb829[_0xeb961e],_0x586bb1=this[_0x15e36f(0x2da)][_0x15e36f(0x16c)](_0x45ccfd,_0x37038b),_0x57abb6=this[_0x15e36f(0x2da)][_0x15e36f(0x16c)](_0x4a3500,_0x49230e);if(p[_0x15e36f(0x1a8)](_0x586bb1)||p[_0x15e36f(0x1a8)](_0x57abb6)){this[_0x15e36f(0x47b)][_0x15e36f(0x2b8)]('[CollaborationUndoRedoService]','transformStack\x20failed!',_0x586bb1,_0x57abb6);break;}_0x45ccfd=_0x586bb1[_0x15e36f(0x2de)],_0x4a3500=_0x57abb6['c1Prime'],_0x379cb1[_0x15e36f(0x475)]({'unitID':_0x55fb84,'undoMutations':_0x586bb1[_0x15e36f(0x428)],'redoMutations':_0x57abb6[_0x15e36f(0x428)]});}return _0x379cb1['reverse']();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x4611e8(0x227)]),ue(0x1,a[_0x4611e8(0x359)]),ue(0x2,a[_0x4611e8(0x1a1)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports[_0x4611e8(0x1cf)]);var On=Object[_0x4611e8(0x43f)],yn=Object[_0x4611e8(0x1b5)],Nn=(_0x18f762,_0x394411,_0x40e936)=>_0x394411 in _0x18f762?On(_0x18f762,_0x394411,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40e936}):_0x18f762[_0x394411]=_0x40e936,Dn=(_0x34d00e,_0x1734fe,_0x52e265,_0x277465)=>{var _0x4e898a=_0x4611e8;for(var _0x5f31d5=_0x277465>0x1?void 0x0:_0x277465?yn(_0x1734fe,_0x52e265):_0x1734fe,_0x2e8198=_0x34d00e[_0x4e898a(0x479)]-0x1,_0x273a04;_0x2e8198>=0x0;_0x2e8198--)(_0x273a04=_0x34d00e[_0x2e8198])&&(_0x5f31d5=_0x273a04(_0x5f31d5)||_0x5f31d5);return _0x5f31d5;},Me=(_0x116b20,_0x43ed33)=>(_0x4d0045,_0x14775f)=>_0x43ed33(_0x4d0045,_0x14775f,_0x116b20),Un=(_0x28c906,_0xa72d02,_0x31eaf0)=>Nn(_0x28c906,_0xa72d02+'',_0x31eaf0);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x4611e8(0x216)]=class extends a[_0x4611e8(0x2fa)]{constructor(_0x5f1740,_0x220902,_0x1ac6cf,_0x4520d8){var _0x567238=_0x4611e8;super(),A(this,_0x567238(0x1c5)),(this['_logService']=_0x220902,this[_0x567238(0x390)]=_0x1ac6cf,this[_0x567238(0x290)]=_0x4520d8);const {..._0x2baef1}=a['merge']({},Kt,_0x5f1740);if(!_0x2baef1[_0x567238(0x40e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x567238(0x1c5)]=_0x2baef1,this[_0x567238(0x290)][_0x567238(0x308)](G,_0x2baef1);}[_0x4611e8(0x457)](){var _0x50c02c=_0x4611e8;this[_0x50c02c(0x447)](),this[_0x50c02c(0x493)]();}[_0x4611e8(0x447)](){var _0x1adad3=_0x4611e8,_0x1067ed,_0xdd312c;this['_injector'][_0x1adad3(0x384)](a[_0x1adad3(0x20d)])&&this['_logService']['error'](_0x1adad3(0x486),_0x1adad3(0x1d8));const _0x2b8169=a[_0x1adad3(0x404)]([[a['IUndoRedoService'],{'useClass':exports[_0x1adad3(0x1cf)]}],[exports[_0x1adad3(0x1f8)]],[exports['MemberService']],[exports[_0x1adad3(0x422)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x1adad3(0x1c5)]['socketService']}],[p[_0x1adad3(0x413)],{'useClass':exports[_0x1adad3(0x474)]}],[a[_0x1adad3(0x2ef)],{'useClass':exports[_0x1adad3(0x1e2)]}],[z[_0x1adad3(0x26a)],{'useClass':exports['CollaborationImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x1adad3(0x341)]}],[exports['CollaborationController']],[xe]],(_0x1067ed=this[_0x1adad3(0x1c5)])==null?void 0x0:_0x1067ed['override']);if(!((_0xdd312c=this['_config'])!=null&&_0xdd312c['enableSingleActiveInstanceLock'])){const _0x2522f9=_0x2b8169[_0x1adad3(0x2ee)](([_0x19ff7c])=>_0x19ff7c===de);_0x2522f9!==-0x1&&_0x2b8169[_0x1adad3(0x3ea)](_0x2522f9,0x1);}a[_0x1adad3(0x435)](this[_0x1adad3(0x390)],_0x2b8169);}[_0x4611e8(0x493)](){var _0x1a9ba6=_0x4611e8,_0x19a007,_0x47cdf4,_0x20078a;this[_0x1a9ba6(0x390)][_0x1a9ba6(0x306)](K[_0x1a9ba6(0x444)])[_0x1a9ba6(0x489)]({'priority':0x14,'interceptor':K[_0x1a9ba6(0x233)]({'maxParallel':0x6})}),(_0x19a007=this[_0x1a9ba6(0x1c5)])!=null&&_0x19a007[_0x1a9ba6(0x24c)]||(_0x47cdf4=this[_0x1a9ba6(0x390)][_0x1a9ba6(0x306)](q,a[_0x1a9ba6(0x1db)][_0x1a9ba6(0x192)]))==null||_0x47cdf4[_0x1a9ba6(0x375)](),(_0x20078a=this[_0x1a9ba6(0x1c5)])!=null&&_0x20078a['enableAuthServer']&&a[_0x1a9ba6(0x325)](this['_injector'],[[ye]]),a['touchDependencies'](this[_0x1a9ba6(0x390)],[[Ne],[exports[_0x1a9ba6(0x2d0)]],[De]]);}},Un(exports[_0x4611e8(0x216)],'pluginName',An),exports[_0x4611e8(0x216)]=Dn([a[_0x4611e8(0x47d)](p[_0x4611e8(0x3cb)],K['UniverNetworkPlugin']),Me(0x1,a[_0x4611e8(0x2a6)]),Me(0x2,a['Inject'](a[_0x4611e8(0x425)])),Me(0x3,a[_0x4611e8(0x335)])],exports[_0x4611e8(0x216)]),exports[_0x4611e8(0x3a9)]=Ve,exports[_0x4611e8(0x1f0)]=G,exports[_0x4611e8(0x3e5)]=It,exports[_0x4611e8(0x401)]=ut,exports[_0x4611e8(0x1fd)]=Be,exports[_0x4611e8(0x31e)]=Z,exports[_0x4611e8(0x19b)]=ee,exports[_0x4611e8(0x1cd)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Gt,exports[_0x4611e8(0x342)]=kt,exports[_0x4611e8(0x27b)]=vt,exports[_0x4611e8(0x14a)]=ke,exports[_0x4611e8(0x3e8)]=He,exports[_0x4611e8(0x454)]=q,exports[_0x4611e8(0x3da)]=mt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=Ft,exports[_0x4611e8(0x26e)]=Bt,exports['LOGIN_URL_KEY']=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports[_0x4611e8(0x28a)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x4611e8(0x1ad)]=_t,exports[_0x4611e8(0x1a2)]=lt,exports[_0x4611e8(0x172)]=re,exports[_0x4611e8(0x1bb)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x4611e8(0x30d)]=oi,exports[_0x4611e8(0x16b)]=Tt;
|