@univerjs-pro/collaboration-client 0.2.7 → 0.2.9
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/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +0 -1
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +0 -1
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -1
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +0 -1
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +0 -1
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +0 -1
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +0 -1
- package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -1
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -1
- package/lib/types/controllers/file-name/file-name.controller.d.ts +0 -1
- package/lib/types/locale/en-US.d.ts +0 -1
- package/lib/types/locale/ru-RU.d.ts +0 -1
- package/lib/types/locale/vi-VN.d.ts +0 -1
- package/lib/types/locale/zh-TW.d.ts +0 -1
- package/lib/types/models/cursor.d.ts +0 -1
- package/lib/types/plugin.d.ts +1 -2
- package/lib/types/services/auth-server/auth-server.service.d.ts +0 -1
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +0 -1
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +0 -1
- package/lib/types/services/color-assign/color-assign.service.d.ts +0 -1
- package/lib/types/services/comment/comment.service.d.ts +0 -1
- package/lib/types/services/image-remote/image-io.service.d.ts +3 -3
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +0 -1
- package/lib/types/services/local-cache/local-cache.service.d.ts +0 -1
- package/lib/types/services/member/member.service.d.ts +0 -1
- package/lib/types/services/permission/permission.service.d.ts +0 -1
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +0 -1
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +0 -1
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +0 -1
- package/lib/types/services/socket/collaboration-socket.service.d.ts +0 -1
- package/lib/types/services/socket/serialize.d.ts +0 -1
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +0 -1
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +0 -1
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +0 -1
- package/lib/types/services/url/url.service.d.ts +0 -1
- package/lib/types/services/url/web-url.service.d.ts +0 -1
- package/lib/types/views/components/CollabStatus.d.ts +0 -1
- package/lib/types/views/components/CollabStatus.stories.d.ts +0 -1
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +0 -1
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +0 -1
- package/lib/types/views/shapes/text-bubble.shape.d.ts +0 -1
- package/lib/umd/index.js +1 -1
- package/package.json +27 -27
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(_0x3c1c4b,_0x2930ab){const _0x4eaeb1=_0x2d55,_0x4ed189=_0x3c1c4b();while(!![]){try{const _0x4ef36b=parseInt(_0x4eaeb1(0x2a6))/0x1*(-parseInt(_0x4eaeb1(0x133))/0x2)+parseInt(_0x4eaeb1(0x356))/0x3*(parseInt(_0x4eaeb1(0x333))/0x4)+parseInt(_0x4eaeb1(0x28a))/0x5+-parseInt(_0x4eaeb1(0x1b3))/0x6*(-parseInt(_0x4eaeb1(0x3c7))/0x7)+parseInt(_0x4eaeb1(0x2d8))/0x8*(-parseInt(_0x4eaeb1(0x2b0))/0x9)+parseInt(_0x4eaeb1(0x28b))/0xa*(parseInt(_0x4eaeb1(0x213))/0xb)+-parseInt(_0x4eaeb1(0x361))/0xc*(parseInt(_0x4eaeb1(0x3e9))/0xd);if(_0x4ef36b===_0x2930ab)break;else _0x4ed189['push'](_0x4ed189['shift']());}catch(_0x3f9ea5){_0x4ed189['push'](_0x4ed189['shift']());}}}(_0x30bb,0x88bb8),function(_0x3d41ab,_0x3d5678){const _0x13c57c=_0x2d55;typeof exports=='object'&&typeof module<'u'?_0x3d5678(exports,require('@univerjs/core'),require(_0x13c57c(0x43c)),require(_0x13c57c(0x24b)),require(_0x13c57c(0x44a)),require(_0x13c57c(0x1fd)),require(_0x13c57c(0x22e)),require(_0x13c57c(0x1a4)),require(_0x13c57c(0x16f)),require('@univerjs/network'),require(_0x13c57c(0x3d7)),require('@univerjs/engine-render'),require('@univerjs/engine-formula'),require(_0x13c57c(0x276)),require(_0x13c57c(0x1fb)),require(_0x13c57c(0x3ea)),require(_0x13c57c(0x3db)),require(_0x13c57c(0x350))):typeof define=='function'&&define[_0x13c57c(0x2c4)]?define([_0x13c57c(0x2c9),_0x13c57c(0x2a5),_0x13c57c(0x43c),_0x13c57c(0x24b),'@univerjs/ui','@univerjs-pro/collaboration',_0x13c57c(0x22e),_0x13c57c(0x1a4),_0x13c57c(0x16f),_0x13c57c(0x3fb),_0x13c57c(0x3d7),_0x13c57c(0xef),_0x13c57c(0x129),_0x13c57c(0x276),_0x13c57c(0x1fb),_0x13c57c(0x3ea),_0x13c57c(0x3db),_0x13c57c(0x350)],_0x3d5678):(_0x3d41ab=typeof globalThis<'u'?globalThis:_0x3d41ab||self,_0x3d5678(_0x3d41ab[_0x13c57c(0x1b8)]={},_0x3d41ab[_0x13c57c(0x1e7)],_0x3d41ab[_0x13c57c(0xb3)],_0x3d41ab[_0x13c57c(0x121)],_0x3d41ab['UniverUi'],_0x3d41ab[_0x13c57c(0x3e4)],_0x3d41ab[_0x13c57c(0x22e)],_0x3d41ab['rxjs'][_0x13c57c(0x254)],_0x3d41ab['UniverDocs'],_0x3d41ab[_0x13c57c(0x28f)],_0x3d41ab['UniverDrawing'],_0x3d41ab[_0x13c57c(0x406)],_0x3d41ab[_0x13c57c(0x12e)],_0x3d41ab[_0x13c57c(0x2f8)][_0x13c57c(0x1e3)],_0x3d41ab[_0x13c57c(0x200)],_0x3d41ab['React'],_0x3d41ab[_0x13c57c(0x3db)],_0x3d41ab[_0x13c57c(0x41d)]));}(this,function(_0x48d167,_0x132eb9,_0x21d024,_0x59ab28,_0x202279,_0x1524d,_0x3639ee,_0x5d8ab5,_0x4b287a,_0x5e809e,_0x46aaec,_0x24af47,_0x57f53f,_0x45c518,_0x12bc0e,_0x58a26a,_0x3a1d76,_0x4ab2ac){'use strict';const _0x474fca=_0x2d55;var _0xa7d035=Object[_0x474fca(0x109)],_0x13bd14=(_0x55037b,_0xfbe0e4,_0x4ec122)=>_0xfbe0e4 in _0x55037b?_0xa7d035(_0x55037b,_0xfbe0e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec122}):_0x55037b[_0xfbe0e4]=_0x4ec122,_0x3b7d06=(_0x436790,_0x5cfce5,_0x2b3e60)=>_0x13bd14(_0x436790,typeof _0x5cfce5!=_0x474fca(0x250)?_0x5cfce5+'':_0x5cfce5,_0x2b3e60);const _0x474f5b=_0x474fca(0xc8),_0x152042=_0x474fca(0x1eb),_0x5e8172=_0x474fca(0x16c),_0x5036b1=_0x474fca(0x2b6),_0x5058a4=_0x474fca(0xab),_0x485035=_0x474fca(0x20e),_0x5a327e='HEARTBEAT_INTERVAL',_0x240518=_0x474fca(0x2e5),_0x32b076=_0x474fca(0x2ab),_0x3d7c60='RETRY_CONNECTING_MAX_COUNT',_0x2c2734='LOCAL_CACHE_INTERVAL',_0x22e134=_0x474fca(0x106),_0x6ef45d=_0x474fca(0x9b),_0x596ca2=_0x474fca(0x1f6),_0x2bbb39='/universer-api/oidc/authpage';var _0x3b4d51=(_0x2a12a3=>(_0x2a12a3[_0x2a12a3[_0x474fca(0x16d)]=0x0]=_0x474fca(0x16d),_0x2a12a3[_0x2a12a3['OK']=0x1]='OK',_0x2a12a3[_0x2a12a3['INTERNAL_ERROR']=0x2]=_0x474fca(0x23c),_0x2a12a3[_0x2a12a3[_0x474fca(0xa7)]=0x3]='PERMISSION_DENIED',_0x2a12a3[_0x2a12a3[_0x474fca(0x1b9)]=0x4]=_0x474fca(0x1b9),_0x2a12a3[_0x2a12a3['UNAUTHENTICATED']=0x5]=_0x474fca(0x22c),_0x2a12a3[_0x2a12a3['ALREADY_EXISTS']=0x6]=_0x474fca(0x118),_0x2a12a3[_0x2a12a3[_0x474fca(0x416)]=0x7]=_0x474fca(0x416),_0x2a12a3[_0x2a12a3[_0x474fca(0x3f8)]=0x8]=_0x474fca(0x3f8),_0x2a12a3[_0x2a12a3[_0x474fca(0x345)]=0x9]=_0x474fca(0x345),_0x2a12a3[_0x2a12a3[_0x474fca(0x33e)]=0x1389]=_0x474fca(0x33e),_0x2a12a3[_0x2a12a3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x474fca(0x157),_0x2a12a3[_0x2a12a3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x474fca(0x429),_0x2a12a3[_0x2a12a3[_0x474fca(0x456)]=0x1b59]='APPLY_REJECT',_0x2a12a3[_0x2a12a3[_0x474fca(0x449)]=0x1b5a]=_0x474fca(0x449),_0x2a12a3[_0x2a12a3[_0x474fca(0x337)]=0x1b5b]=_0x474fca(0x337),_0x2a12a3[_0x2a12a3[_0x474fca(0x255)]=0x1b5c]=_0x474fca(0x255),_0x2a12a3[_0x2a12a3[_0x474fca(0x17b)]=0x1f41]=_0x474fca(0x17b),_0x2a12a3[_0x2a12a3[_0x474fca(0x1a9)]=0x2329]=_0x474fca(0x1a9),_0x2a12a3[_0x2a12a3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a12a3[_0x2a12a3[_0x474fca(0x2fe)]=0x232b]=_0x474fca(0x2fe),_0x2a12a3[_0x2a12a3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2a12a3[_0x2a12a3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x474fca(0x3f1),_0x2a12a3[_0x2a12a3[_0x474fca(0x97)]=0x2711]=_0x474fca(0x97),_0x2a12a3[_0x2a12a3[_0x474fca(0x420)]=0x2712]=_0x474fca(0x420),_0x2a12a3[_0x2a12a3['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a12a3[_0x2a12a3[_0x474fca(0x117)]=0x2714]=_0x474fca(0x117),_0x2a12a3[_0x2a12a3[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x2a12a3))(_0x3b4d51||{}),_0x2f5f8c=(_0x415840=>(_0x415840[_0x415840[_0x474fca(0x170)]=0x0]=_0x474fca(0x170),_0x415840[_0x415840['UNIVER_DOC']=0x1]=_0x474fca(0x14d),_0x415840[_0x415840[_0x474fca(0x1a0)]=0x2]=_0x474fca(0x1a0),_0x415840[_0x415840[_0x474fca(0x2a8)]=0x3]=_0x474fca(0x2a8),_0x415840[_0x415840[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x415840))(_0x2f5f8c||{}),_0x45623e=(_0x16d353=>(_0x16d353[_0x16d353[_0x474fca(0xfd)]=0x0]=_0x474fca(0xfd),_0x16d353[_0x16d353[_0x474fca(0x47d)]=0x1]=_0x474fca(0x47d),_0x16d353[_0x16d353[_0x474fca(0x120)]=0x2]=_0x474fca(0x120),_0x16d353[_0x16d353[_0x474fca(0x462)]=0x3]=_0x474fca(0x462),_0x16d353[_0x16d353[_0x474fca(0x2c5)]=0x4]='INGEST',_0x16d353[_0x16d353['HEARTBEAT']=0x5]=_0x474fca(0x476),_0x16d353[_0x16d353[_0x474fca(0x236)]=0x6]='RECV',_0x16d353[_0x16d353[_0x474fca(0x12d)]=-0x1]=_0x474fca(0x12d),_0x16d353))(_0x45623e||{}),_0x1add38=(_0x2b57ca=>(_0x2b57ca[_0x2b57ca['UNKNOWN_CODE']=0x0]=_0x474fca(0x1c3),_0x2b57ca[_0x2b57ca['OK']=0x1]='OK',_0x2b57ca[_0x2b57ca['FAIL']=0x2]=_0x474fca(0x3a5),_0x2b57ca[_0x2b57ca[_0x474fca(0x12d)]=-0x1]='UNRECOGNIZED',_0x2b57ca))(_0x1add38||{}),_0x1ca454=Object['defineProperty'],_0x19f0a2=Object[_0x474fca(0xcc)],_0x286351=(_0x312161,_0x170d42,_0x327c7b,_0x8a376c)=>{for(var _0x22af96=_0x8a376c>0x1?void 0x0:_0x8a376c?_0x19f0a2(_0x170d42,_0x327c7b):_0x170d42,_0xafc5=_0x312161['length']-0x1,_0x1331d4;_0xafc5>=0x0;_0xafc5--)(_0x1331d4=_0x312161[_0xafc5])&&(_0x22af96=(_0x8a376c?_0x1331d4(_0x170d42,_0x327c7b,_0x22af96):_0x1331d4(_0x22af96))||_0x22af96);return _0x8a376c&&_0x22af96&&_0x1ca454(_0x170d42,_0x327c7b,_0x22af96),_0x22af96;},_0x13c063=(_0x95bdd4,_0x7dd20f)=>(_0x404a5e,_0x470960)=>_0x7dd20f(_0x404a5e,_0x470960,_0x95bdd4);let _0x191a69=class extends _0x132eb9['Disposable']{constructor(_0x34da32,_0x5aa470){const _0x2587a8=_0x474fca;super(),_0x3b7d06(this,_0x2587a8(0x112),new Map()),(this[_0x2587a8(0x1bd)]=_0x34da32,this['_userManagerService']=_0x5aa470,this[_0x2587a8(0x26e)](_0x132eb9[_0x2587a8(0x2c0)](_0x3639ee['merge'](this['_univerInstanceService'][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x1a0)])[_0x2587a8(0x195)](_0x5d8ab5['map'](_0x256623=>_0x256623[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x14d)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x1ed7d9=>_0x1ed7d9[_0x2587a8(0x225)]())),this[_0x2587a8(0x1bd)][_0x2587a8(0x2b7)](_0x132eb9[_0x2587a8(0x44e)][_0x2587a8(0x2a8)])[_0x2587a8(0x195)](_0x5d8ab5[_0x2587a8(0x18f)](_0x560d57=>_0x560d57[_0x2587a8(0x225)]())))[_0x2587a8(0x2e1)](_0x39e90e=>this[_0x2587a8(0x204)](_0x39e90e)))));}[_0x474fca(0x1de)](_0x171af8){const _0x6929fb=_0x474fca;this['_userManagerService'][_0x6929fb(0x1de)](_0x171af8);}['getCurrentUser'](){const _0x2209b5=_0x474fca;return this['_userManagerService'][_0x2209b5(0x42d)]();}['updateMember'](_0x231809,_0x3c4d32){const _0x1bcbb4=_0x474fca;let _0x428a5f=this['_roomMembers'][_0x1bcbb4(0x261)](_0x231809);_0x428a5f||(_0x428a5f=new _0x46af49(),this[_0x1bcbb4(0x112)][_0x1bcbb4(0xbe)](_0x231809,_0x428a5f)),_0x428a5f[_0x1bcbb4(0x30e)](_0x3c4d32);}['removeMember'](_0x4b9538,_0x2c712e){const _0x4152ca=_0x474fca,_0x17c72d=this['_roomMembers'][_0x4152ca(0x261)](_0x4b9538);_0x17c72d&&_0x17c72d[_0x4152ca(0x11c)](_0x2c712e);}[_0x474fca(0x45a)](_0x2a8b3a){return this['_roomMembers']['get'](_0x2a8b3a);}[_0x474fca(0x3ca)](_0x260605,_0x1dc95d){const _0x24f987=_0x474fca,_0x43d638=this[_0x24f987(0x112)][_0x24f987(0x261)](_0x260605);if(_0x43d638)return _0x43d638[_0x24f987(0x3ca)](_0x1dc95d);}['_removeRoom'](_0x3ab376){const _0x4ae50d=_0x474fca,_0x9fa9e2=this[_0x4ae50d(0x112)][_0x4ae50d(0x261)](_0x3ab376);_0x9fa9e2&&(_0x9fa9e2[_0x4ae50d(0x19a)](),this['_roomMembers'][_0x4ae50d(0x224)](_0x3ab376));}['dispose'](){const _0x15ec62=_0x474fca;this[_0x15ec62(0x112)][_0x15ec62(0x173)](_0x42d9ac=>_0x42d9ac[_0x15ec62(0x19a)]()),this[_0x15ec62(0x112)]['clear']();}};_0x191a69=_0x286351([_0x13c063(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x13c063(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x437)]))],_0x191a69);class _0x46af49 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x1e8d92=_0x474fca;super(...arguments),_0x3b7d06(this,_0x1e8d92(0x42f),new Map());}[_0x474fca(0x19a)](){const _0x15668a=_0x474fca;this[_0x15668a(0x42f)]['clear']();}[_0x474fca(0x30e)](_0x475b25){const _0x4ae7d5=_0x474fca;this[_0x4ae7d5(0x42f)][_0x4ae7d5(0xbe)](_0x475b25[_0x4ae7d5(0x26a)],_0x475b25);}[_0x474fca(0x11c)](_0x30388b){this['_members']['delete'](_0x30388b);}[_0x474fca(0x3ca)](_0x55b972){const _0xd6f261=_0x474fca;return this[_0xd6f261(0x42f)][_0xd6f261(0x261)](_0x55b972);}}function _0x156469(_0x1f9501){const _0x4615a4=_0x474fca;var _0x4ca906,_0x50b6cf,_0x564137,_0xff0a94;const _0x1e59c7=_0x1f9501['data'],_0x33e1ee=JSON['parse'](_0x1e59c7);switch(_0x33e1ee[_0x4615a4(0x45f)]){case _0x45623e[_0x4615a4(0x476)]:case _0x45623e['HELLO']:{const _0x1c811f=_0x33e1ee[_0x4615a4(0x1a3)];return{..._0x33e1ee,'data':_0x1c811f,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x120)]:{const _0x1cddef=_0x33e1ee[_0x4615a4(0x29d)];return{..._0x33e1ee,'data':_0x1cddef,'cmd':_0x33e1ee[_0x4615a4(0x45f)]};}case _0x45623e[_0x4615a4(0x236)]:{const _0x2cf79a=_0x33e1ee[_0x4615a4(0xc9)];switch(_0x2cf79a[_0x4615a4(0x31f)]){case _0x1524d['CollaborationEvent'][_0x4615a4(0x22b)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x4ca906=_0x2cf79a[_0x4615a4(0x209)])==null?void 0x0:_0x4ca906['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['CHANGESET_ACK']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x50b6cf=_0x2cf79a[_0x4615a4(0x33a)])==null?void 0x0:_0x50b6cf['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x288)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0x564137=_0x2cf79a[_0x4615a4(0x3d1)])==null?void 0x0:_0x564137['cs']},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x455)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':(_0xff0a94=_0x2cf79a[_0x4615a4(0x413)])==null?void 0x0:_0xff0a94['cs']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2f5)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2d4)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x2e4)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x330)]},'cmd':_0x33e1ee['cmd']};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x458)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2dd)]},'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareNewHost']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d['CollaborationEvent'][_0x4615a4(0x160)]:case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x407)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['liveShareOperation']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['LIVESHARE_TERMINATE']:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a[_0x4615a4(0x2fd)]},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)]['MSG_FOR_ERROR']:return{..._0x33e1ee,'data':_0x2cf79a,'cmd':_0x33e1ee['cmd']};case _0x1524d['CollaborationEvent'][_0x4615a4(0x305)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['commentUpdateEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x23a)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['updatePermissionObjEvent']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};case _0x1524d[_0x4615a4(0x2b2)][_0x4615a4(0x46d)]:return{..._0x33e1ee,'data':{..._0x2cf79a,'data':_0x2cf79a['shouldCloseConn']},'cmd':_0x33e1ee[_0x4615a4(0x45f)]};default:return _0x33e1ee;}}default:return _0x33e1ee;}}function _0x41be5a(_0x2e713c){const _0x2f8c3b=_0x474fca;switch(_0x2e713c[_0x2f8c3b(0x45f)]){case _0x45623e[_0x2f8c3b(0x476)]:case _0x45623e['HELLO']:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey']});case _0x45623e[_0x2f8c3b(0x2c5)]:{let _0x3e17cf;switch(_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]){case _0x1524d[_0x2f8c3b(0x2b2)]['UPDATE_CURSOR']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x2f5)],'updateCursorEvent':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x458)],'leaveEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x2e4)]:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)]['USERS_ENTER'],'joinEvent':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_NEW_HOST']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent'][_0x2f8c3b(0x3e3)],'liveShareNewHost':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_OPERATION']:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_TERMINATE']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x3a8)],'liveShareTerminate':_0x2e713c['data'][_0x2f8c3b(0xe5)]};break;}case _0x1524d['CollaborationEvent'][_0x2f8c3b(0x3c2)]:{_0x3e17cf={'eventID':_0x1524d['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2e713c[_0x2f8c3b(0xe5)]['data']};break;}case _0x1524d[_0x2f8c3b(0x2b2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x3e17cf={'eventID':_0x1524d[_0x2f8c3b(0x2b2)][_0x2f8c3b(0x160)]};break;}default:_0x3e17cf={'eventID':_0x2e713c[_0x2f8c3b(0xe5)][_0x2f8c3b(0x31f)]};}return JSON['stringify']({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'collaMsg':_0x3e17cf});}case _0x45623e[_0x2f8c3b(0x120)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c[_0x2f8c3b(0x35e)],'joinReq':_0x2e713c[_0x2f8c3b(0xe5)]});case _0x45623e[_0x2f8c3b(0x462)]:return JSON[_0x2f8c3b(0x233)]({'cmd':_0x2e713c[_0x2f8c3b(0x45f)],'routeKey':_0x2e713c['routeKey'],'leaveReq':_0x2e713c[_0x2f8c3b(0xe5)]});default:throw new Error(_0x2f8c3b(0x24e));}}var _0x18ce91=Object[_0x474fca(0x109)],_0x31b8f=Object['getOwnPropertyDescriptor'],_0x7e147e=(_0x5183e8,_0x3b6f52,_0xaea770,_0x47d552)=>{const _0x4b6624=_0x474fca;for(var _0x4822eb=_0x47d552>0x1?void 0x0:_0x47d552?_0x31b8f(_0x3b6f52,_0xaea770):_0x3b6f52,_0xfcb2b2=_0x5183e8[_0x4b6624(0x2b9)]-0x1,_0xb01c99;_0xfcb2b2>=0x0;_0xfcb2b2--)(_0xb01c99=_0x5183e8[_0xfcb2b2])&&(_0x4822eb=(_0x47d552?_0xb01c99(_0x3b6f52,_0xaea770,_0x4822eb):_0xb01c99(_0x4822eb))||_0x4822eb);return _0x47d552&&_0x4822eb&&_0x18ce91(_0x3b6f52,_0xaea770,_0x4822eb),_0x4822eb;},_0x3b9d6b=(_0xf562a,_0x238536)=>(_0x4f08a2,_0x2f2565)=>_0x238536(_0x4f08a2,_0x2f2565,_0xf562a);const _0x2b67b3=_0x132eb9[_0x474fca(0x447)]('univer-pro.collaboration-client-socket-service');function _0x32093b(_0x10c4f0,_0xd92657,_0x2553bc){const _0x8f7bfe=_0x474fca;return _0x10c4f0+'/'+_0xd92657+'/unit/'+_0x2553bc+_0x8f7bfe(0x470);}_0x48d167[_0x474fca(0x262)]=class{constructor(_0x58632d,_0x37c804,_0x4fa86a,_0x46c766,_0x97f7da){const _0x31730c=_0x474fca;this['_http']=_0x58632d,this[_0x31730c(0x2ef)]=_0x37c804,this[_0x31730c(0x26f)]=_0x4fa86a,this['_logService']=_0x46c766,this['_snapshotServerService']=_0x97f7da;}[_0x474fca(0x39c)](_0x6dbd57){const _0x455078=_0x474fca,_0x4752ca=this['_ws'][_0x455078(0x39c)](_0x6dbd57);if(!_0x4752ca)throw new Error(_0x455078(0x1b7));const _0x577682=new _0x132eb9[(_0x455078(0x132))](),_0x14a909=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9['toDisposable'](_0x4752ca['close$'][_0x455078(0x2e1)](_0x5a3cf0=>_0x14a909[_0x455078(0x452)](_0x5a3cf0)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x14a909['complete']()));const _0x45816c=new _0x3639ee[(_0x455078(0x1cb))]();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x20c)]['subscribe'](_0x5a90ca=>_0x45816c[_0x455078(0x452)](_0x5a90ca)))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x45816c[_0x455078(0x25f)]()));const _0x55f43a=new _0x3639ee['Subject']();_0x577682[_0x455078(0x41b)](_0x132eb9[_0x455078(0x2c0)](_0x4752ca[_0x455078(0x32c)][_0x455078(0x2e1)](_0x32c022=>{const _0x4fbb04=_0x455078,_0x31c099=_0x156469(_0x32c022);_0x55f43a[_0x4fbb04(0x452)](_0x31c099);}))),_0x577682['add'](_0x132eb9[_0x455078(0x2c0)](()=>_0x55f43a[_0x455078(0x25f)]()));const _0x134bde=()=>{const _0x49ccff=_0x455078;_0x45816c['next'](new Event('connection\x20error')),_0x14a909[_0x49ccff(0x452)](new CloseEvent(_0x49ccff(0x419))),_0x2120b7[_0x49ccff(0x33d)]();},_0x2120b7={'memberID':'','close$':_0x14a909['asObservable'](),'error$':_0x45816c[_0x455078(0x39b)](),'open$':_0x4752ca[_0x455078(0x35d)],'message$':_0x55f43a[_0x455078(0x39b)](),'send':_0x4a4239=>{const _0x26c62c=_0x455078;if(_0x4a4239[_0x26c62c(0x45f)]===_0x45623e['INGEST']){if(_0x4a4239[_0x26c62c(0xe5)]['eventID']===_0x1524d[_0x26c62c(0x2b2)][_0x26c62c(0x3c3)]){this[_0x26c62c(0x354)](_0x2120b7,_0x4a4239['data'])['catch'](_0x31ff4e=>{const _0x553e46=_0x26c62c;this[_0x553e46(0x1ac)]['error'](_0x31ff4e),_0x134bde();});return;}if(_0x4a4239[_0x26c62c(0xe5)][_0x26c62c(0x31f)]===_0x1524d[_0x26c62c(0x2b2)]['FETCH_MISSING']){const _0x56ed0d=_0x4a4239[_0x26c62c(0xe5)];this[_0x26c62c(0x435)](_0x56ed0d)[_0x26c62c(0x321)](_0x5d378d=>{const _0x2b086a=_0x26c62c;_0x55f43a[_0x2b086a(0x452)]({'cmd':_0x45623e['RECV'],'code':_0x1add38['OK'],'routeKey':_0x56ed0d[_0x2b086a(0xe5)]['unitID'],'routeType':'','data':{'eventID':_0x1524d[_0x2b086a(0x2b2)][_0x2b086a(0x464)],'data':{'changesets':_0x5d378d}}});})[_0x26c62c(0x16a)](_0xc95095=>{const _0x20d30b=_0x26c62c;this[_0x20d30b(0x1ac)][_0x20d30b(0xf5)](_0xc95095),_0x134bde();});return;}}_0x4752ca['send'](_0x41be5a(_0x4a4239));},'close':()=>{const _0x3a4191=_0x455078;_0x4752ca[_0x3a4191(0x33d)](),_0x577682[_0x3a4191(0x19a)]();}};return _0x2120b7;}async[_0x474fca(0x354)](_0x59ca12,_0x29a17d){const _0x1a21b0=_0x474fca;var _0x4dcfc3;const {unitType:_0x3b748f,unitID:_0x5d3644,changeset:_0x324c79}=_0x29a17d[_0x1a21b0(0xe5)],_0x31d052={'unitID':_0x5d3644,'memberID':_0x59ca12[_0x1a21b0(0x26a)],'type':_0x3b748f,'changeset':_0x1524d['parseChangesetToProtocol'](_0x324c79)},_0x3b7a3b=_0x32093b((_0x4dcfc3=this[_0x1a21b0(0x26f)][_0x1a21b0(0x3a2)](_0x22e134))!=null?_0x4dcfc3:_0x6ef45d,_0x3b748f,_0x5d3644);try{await this[_0x1a21b0(0x25d)][_0x1a21b0(0x128)](_0x3b7a3b,{'body':_0x31d052});}catch(_0x46e043){throw this[_0x1a21b0(0x1ac)][_0x1a21b0(0xf5)](_0x1a21b0(0x1c1),_0x1a21b0(0x135)),_0x46e043;}}async['_fetchMissChangesets'](_0x2fc45f){const _0x5996a2=_0x474fca,{unitID:_0x35271f,from:_0x32eddd,to:_0x3ff313,unitType:_0x2daf67}=_0x2fc45f[_0x5996a2(0xe5)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x35271f,'type':_0x2daf67,'from':_0x32eddd,'to':_0x3ff313}))['changesets'];}},_0x48d167[_0x474fca(0x262)]=_0x7e147e([_0x3b9d6b(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3b9d6b(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0x2ed)])),_0x3b9d6b(0x2,_0x132eb9[_0x474fca(0x46a)]),_0x3b9d6b(0x3,_0x132eb9[_0x474fca(0xad)]),_0x3b9d6b(0x4,_0x132eb9['ISnapshotServerService'])],_0x48d167[_0x474fca(0x262)]);class _0x333a83{constructor(){const _0x49ded4=_0x474fca;_0x3b7d06(this,'_commentUpdate$',new _0x3639ee['Subject']()),_0x3b7d06(this,_0x49ded4(0x28e),this[_0x49ded4(0x207)][_0x49ded4(0x39b)]());}['onCommentUpdate'](_0x483802){const _0x3e23a5=_0x474fca;this[_0x3e23a5(0x207)]['next'](_0x483802);}}var _0x14d841=Object[_0x474fca(0x109)],_0x75bc6=Object[_0x474fca(0xcc)],_0x5cfe64=(_0x2ee031,_0x27ac95,_0x258b4d,_0x407276)=>{const _0x13b05a=_0x474fca;for(var _0x51264f=_0x407276>0x1?void 0x0:_0x407276?_0x75bc6(_0x27ac95,_0x258b4d):_0x27ac95,_0x461690=_0x2ee031[_0x13b05a(0x2b9)]-0x1,_0x3cb3bf;_0x461690>=0x0;_0x461690--)(_0x3cb3bf=_0x2ee031[_0x461690])&&(_0x51264f=(_0x407276?_0x3cb3bf(_0x27ac95,_0x258b4d,_0x51264f):_0x3cb3bf(_0x51264f))||_0x51264f);return _0x407276&&_0x51264f&&_0x14d841(_0x27ac95,_0x258b4d,_0x51264f),_0x51264f;},_0x1c9a43=(_0x1e0321,_0x3ce931)=>(_0xb98fcd,_0x5a3e4d)=>_0x3ce931(_0xb98fcd,_0x5a3e4d,_0x1e0321),_0x139854=(_0x4a6c2e=>(_0x4a6c2e[_0x4a6c2e[_0x474fca(0x2db)]=0x0]=_0x474fca(0x2db),_0x4a6c2e[_0x4a6c2e['JOINING']=0x1]=_0x474fca(0x329),_0x4a6c2e[_0x4a6c2e[_0x474fca(0x35a)]=0x2]=_0x474fca(0x35a),_0x4a6c2e[_0x4a6c2e['ONLINE']=0x3]=_0x474fca(0x31c),_0x4a6c2e))(_0x139854||{});_0x48d167[_0x474fca(0x29a)]=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x40e3ab,_0x2224bd,_0x424b7e,_0x21ff62,_0x3758c1,_0x4f106d,_0x3fd5b4,_0x4dd9cf,_0x1beb0f){const _0x4db77a=_0x474fca;super(),_0x3b7d06(this,_0x4db77a(0x432),new _0x3639ee[(_0x4db77a(0x2a0))](0x0)),_0x3b7d06(this,_0x4db77a(0x326),this[_0x4db77a(0x432)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x380),new _0x3639ee[(_0x4db77a(0x1cb))]()),_0x3b7d06(this,_0x4db77a(0x428),this[_0x4db77a(0x380)]['asObservable']()),_0x3b7d06(this,_0x4db77a(0x474)),_0x3b7d06(this,_0x4db77a(0x270)),_0x3b7d06(this,_0x4db77a(0x3ab)),(this['_unitID']=_0x40e3ab,this[_0x4db77a(0x1ac)]=_0x424b7e,this[_0x4db77a(0x394)]=_0x21ff62,this[_0x4db77a(0x1af)]=_0x3758c1,this[_0x4db77a(0x26f)]=_0x4f106d,this[_0x4db77a(0x1fc)]=_0x3fd5b4,this[_0x4db77a(0x205)]=_0x4dd9cf,this[_0x4db77a(0x13c)]=_0x1beb0f,_0x2224bd[_0x4db77a(0x195)](_0x5d8ab5[_0x4db77a(0x37a)](this[_0x4db77a(0x2b5)]))[_0x4db77a(0x2e1)](_0x53181f=>{const _0x1094ac=_0x4db77a;var _0x38ce1e;typeof _0x53181f>'u'||(this[_0x1094ac(0x474)]=_0x53181f,_0x53181f?(this[_0x1094ac(0x3bc)](_0x53181f),this[_0x1094ac(0x270)]=this['_socket'][_0x1094ac(0x32c)][_0x1094ac(0x2e1)](_0x54d1c2=>{const _0xfc7e34=_0x1094ac;_0x54d1c2[_0xfc7e34(0x35e)]===this[_0xfc7e34(0x310)]&&this[_0xfc7e34(0x459)](_0x54d1c2);})):(this[_0x1094ac(0x432)]['next'](0x2),(_0x38ce1e=this[_0x1094ac(0x270)])==null||_0x38ce1e[_0x1094ac(0xde)](),this[_0x1094ac(0x270)]=null));}),this[_0x4db77a(0x26e)](this[_0x4db77a(0x394)]['registerOnClose'](()=>{const _0x282619=_0x4db77a;var _0x393cba;(_0x393cba=this['_socket'])==null||_0x393cba['send']({'cmd':_0x45623e[_0x282619(0x462)],'data':{'roomID':this[_0x282619(0x310)]}});})));}get[_0x474fca(0x1c4)](){return this['_sessionStatus$']['getValue']();}[_0x474fca(0xda)](){const _0x35e82f=_0x474fca;var _0x26d61b,_0x3a94d9;return(_0x3a94d9=(_0x26d61b=this[_0x35e82f(0x474)])==null?void 0x0:_0x26d61b['memberID'])!=null?_0x3a94d9:null;}[_0x474fca(0x19a)](){const _0x3c7828=_0x474fca;super[_0x3c7828(0x19a)](),this['dispose$'][_0x3c7828(0x452)](),this[_0x3c7828(0x2b5)]['complete']();}[_0x474fca(0x33d)](){const _0x3b65a0=_0x474fca;var _0xa27e8f,_0x3bcb41;(_0xa27e8f=this[_0x3b65a0(0x474)])==null||_0xa27e8f[_0x3b65a0(0x31a)]({'cmd':_0x45623e['LEAVE'],'data':{'roomID':this['_unitID']}}),this[_0x3b65a0(0x380)][_0x3b65a0(0x25f)](),this[_0x3b65a0(0x432)]['complete'](),(_0x3bcb41=this['_socket'])==null||_0x3bcb41[_0x3b65a0(0x33d)](),this[_0x3b65a0(0x19a)]();}['_onCombEvent'](_0x25d33f){const _0x2c6d8=_0x474fca;_0x25d33f[_0x2c6d8(0x45f)]===_0x45623e[_0x2c6d8(0x120)]?this[_0x2c6d8(0x43d)](_0x25d33f):_0x25d33f['cmd']===_0x45623e['RECV']&&this[_0x2c6d8(0x453)](_0x25d33f);}['_joinRoom'](_0x415a45){const _0x4dd956=_0x474fca;this[_0x4dd956(0x432)]['next'](0x1),_0x415a45[_0x4dd956(0x31a)]({'cmd':_0x45623e[_0x4dd956(0x120)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x4dd956(0x310)]}]}});}['_onJoinRoomEvent'](_0x5d2715){const _0x4930af=_0x474fca;var _0x3616e6;if(_0x5d2715[_0x4930af(0x360)]===_0x1add38[_0x4930af(0x3a5)]){this['_messageService']['show']({'type':_0x59ab28['MessageType'][_0x4930af(0x19f)],'content':this[_0x4930af(0x1fc)]['t'](_0x4930af(0x11e))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x4930af(0x432)]['next'](0x3);const _0x456f0b=(_0x3616e6=_0x5d2715[_0x4930af(0xe5)][_0x4930af(0x2d2)][this[_0x4930af(0x310)]])==null?void 0x0:_0x3616e6[_0x4930af(0x27c)];_0x456f0b&&_0x456f0b['forEach'](_0x65205e=>this[_0x4930af(0x205)][_0x4930af(0x30e)](this[_0x4930af(0x310)],_0x65205e));}[_0x474fca(0x453)](_0x3475a3){const _0x4ccc70=_0x474fca;try{const _0x5aa422=_0x3475a3[_0x4ccc70(0xe5)];switch(_0x5aa422[_0x4ccc70(0x31f)]){case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2e4)]:this[_0x4ccc70(0x1aa)](_0x5aa422),this[_0x4ccc70(0x380)]['next'](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)]['USERS_LEAVE']:this['_onUserLeave'](_0x5aa422),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x2d3)]:this[_0x4ccc70(0xdd)](),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d[_0x4ccc70(0x2b2)][_0x4ccc70(0x292)]:this[_0x4ccc70(0x1ac)]['error'](_0x4ccc70(0x1ae)+JSON[_0x4ccc70(0x233)](_0x5aa422)),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;case _0x1524d['CollaborationEvent'][_0x4ccc70(0x305)]:this[_0x4ccc70(0x13c)][_0x4ccc70(0x189)](_0x5aa422[_0x4ccc70(0xe5)]),this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);break;default:this[_0x4ccc70(0x380)][_0x4ccc70(0x452)](_0x5aa422);}}catch(_0x4ef600){this[_0x4ccc70(0x1ac)][_0x4ccc70(0xf5)](_0x4ef600,_0x3475a3);}}['_onUserJoin'](_0xa706aa){const _0x1f6e7a=_0x474fca;this[_0x1f6e7a(0x205)]['updateMember'](this[_0x1f6e7a(0x310)],_0xa706aa['data']);}[_0x474fca(0x365)](_0x2d0653){const _0x1aaa48=_0x474fca;this[_0x1aaa48(0x205)][_0x1aaa48(0x11c)](this[_0x1aaa48(0x310)],_0x2d0653[_0x1aaa48(0xe5)][_0x1aaa48(0x26a)]);}async[_0x474fca(0x31a)](_0x45354a,_0x42b8af){const _0x428b47=_0x474fca;if(this[_0x428b47(0x1c4)]!==0x3||!this[_0x428b47(0x474)])throw new Error(_0x428b47(0x442));try{_0x45354a[_0x428b47(0x31f)]===_0x1524d['CollaborationEvent'][_0x428b47(0x288)]&&this[_0x428b47(0x274)](),this['_socket'][_0x428b47(0x31a)]({'cmd':_0x45623e[_0x428b47(0x2c5)],'routeKey':_0x42b8af,'routeType':'','data':_0x45354a});}catch(_0x3a3b34){this[_0x428b47(0x1ac)][_0x428b47(0xf5)](_0x3a3b34);}}['_scheduleCollaborationTimeoutTimer'](){const _0x3ef914=_0x474fca;var _0x12492f;this[_0x3ef914(0x3ab)]=window['setTimeout'](()=>{const _0x4770bf=_0x3ef914;this[_0x4770bf(0x3ab)]=null,this[_0x4770bf(0x1af)]['show']({'type':_0x59ab28['MessageType']['Error'],'content':this[_0x4770bf(0x1fc)]['t']('session.collaboration-timeout')});},(_0x12492f=this[_0x3ef914(0x26f)][_0x3ef914(0x3a2)](_0x240518))!=null?_0x12492f:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x1db50a=_0x474fca;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x1db50a(0x3ab)]),this[_0x1db50a(0x3ab)]=null);}},_0x48d167[_0x474fca(0x29a)]=_0x5cfe64([_0x1c9a43(0x2,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x3,_0x202279[_0x474fca(0x147)]),_0x1c9a43(0x4,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x5,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x1c9a43(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x333a83))],_0x48d167['CollaborationSession']),_0x48d167[_0x474fca(0xc6)]=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x46c61e,_0x2ad5d0,_0x5bc388,_0x47c985,_0x203e40,_0x4d82ff){const _0x41b118=_0x474fca;super(),_0x3b7d06(this,_0x41b118(0x35f),new _0x3639ee[(_0x41b118(0x2a0))](void 0x0)),_0x3b7d06(this,_0x41b118(0x181),new Map()),_0x3b7d06(this,_0x41b118(0x2d7),new _0x3639ee[(_0x41b118(0x2a0))](0x0)),_0x3b7d06(this,'status$',this[_0x41b118(0x2d7)][_0x41b118(0x39b)]()),_0x3b7d06(this,_0x41b118(0x349),!0x1),_0x3b7d06(this,_0x41b118(0x301)),_0x3b7d06(this,_0x41b118(0xc3)),_0x3b7d06(this,_0x41b118(0x241)),_0x3b7d06(this,_0x41b118(0x1d4),0x0),(this[_0x41b118(0x306)]=_0x46c61e,this[_0x41b118(0x1fc)]=_0x2ad5d0,this[_0x41b118(0x1af)]=_0x5bc388,this['_logService']=_0x47c985,this[_0x41b118(0x26f)]=_0x203e40,this[_0x41b118(0x107)]=_0x4d82ff);}get[_0x474fca(0x474)](){const _0x2fcd59=_0x474fca;return this[_0x2fcd59(0x35f)][_0x2fcd59(0x2ff)]();}[_0x474fca(0x19a)](){const _0xfb6af6=_0x474fca;super[_0xfb6af6(0x19a)](),this[_0xfb6af6(0x181)][_0xfb6af6(0x173)](_0x43cae9=>_0x43cae9['dispose']()),this[_0xfb6af6(0x181)]['clear'](),this[_0xfb6af6(0x2d7)][_0xfb6af6(0x25f)]();}async[_0x474fca(0x21a)](_0x2fc079){const _0x1348e7=_0x474fca;if(this['_sessions'][_0x1348e7(0x400)](_0x2fc079))return this[_0x1348e7(0x181)]['get'](_0x2fc079);this[_0x1348e7(0x381)]();const _0xa0ca3a=this[_0x1348e7(0x306)][_0x1348e7(0x192)](_0x48d167['CollaborationSession'],_0x2fc079,this[_0x1348e7(0x35f)][_0x1348e7(0x39b)]());return this[_0x1348e7(0x181)][_0x1348e7(0xbe)](_0x2fc079,_0xa0ca3a),_0xa0ca3a;}['closeSession'](_0x157e56){const _0x334bbb=_0x474fca;var _0x1973da;const _0x54dd15=this[_0x334bbb(0x181)][_0x334bbb(0x261)](_0x157e56);_0x54dd15&&(this['_sessions']['delete'](_0x157e56),_0x54dd15[_0x334bbb(0x33d)]()),this[_0x334bbb(0x181)][_0x334bbb(0xb8)]||(_0x1973da=this[_0x334bbb(0x474)])==null||_0x1973da[_0x334bbb(0x33d)]();}[_0x474fca(0x3f6)](){const _0x3d70a4=_0x474fca;var _0x1bfaa6;const _0x1d80dc=(_0x1bfaa6=this[_0x3d70a4(0x26f)][_0x3d70a4(0x3a2)](_0x5058a4))!=null?_0x1bfaa6:_0x485035;return this[_0x3d70a4(0x107)][_0x3d70a4(0x39c)](_0x1d80dc);}['_tryEnsureSocket'](){const _0x27fea2=_0x474fca;try{const _0x3e6d35=this[_0x27fea2(0x3f6)]();if(_0x3e6d35){const _0x174470=_0x3e6d35['send'];_0x3e6d35[_0x27fea2(0x31a)]=_0x150aec=>(this[_0x27fea2(0x108)](),_0x174470[_0x27fea2(0x38c)](_0x3e6d35,[_0x150aec])),_0x3e6d35[_0x27fea2(0x32c)]['subscribe'](_0x27fc17=>this[_0x27fea2(0x271)](_0x3e6d35,_0x27fc17)),_0x3e6d35[_0x27fea2(0x20c)][_0x27fea2(0x195)](_0x5d8ab5[_0x27fea2(0x3a3)](0x1))['subscribe'](_0x5a3a59=>this['_logService'][_0x27fea2(0xf5)](_0x27fea2(0x36e),_0x5a3a59)),_0x3e6d35['open$'][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](()=>{this['_onConnectionOpen'](_0x3e6d35);}),_0x3e6d35[_0x27fea2(0x1be)][_0x27fea2(0x195)](_0x5d8ab5['take'](0x1))[_0x27fea2(0x2e1)](_0x467be9=>{const _0x2263de=_0x27fea2;this['_logService']['debug'](_0x2263de(0xa8),_0x2263de(0xe0),_0x467be9),this[_0x2263de(0x3b0)]();});}}catch(_0x20edf9){this[_0x27fea2(0x1ac)][_0x27fea2(0xf5)](_0x20edf9),this[_0x27fea2(0x3b0)]();}}[_0x474fca(0x339)](_0x1d0e25){const _0x20fa37=_0x474fca;this[_0x20fa37(0x1ac)][_0x20fa37(0x19c)](_0x20fa37(0xa8),_0x20fa37(0x2f2)),_0x1d0e25[_0x20fa37(0x31a)]({'cmd':_0x45623e[_0x20fa37(0x47d)]}),this[_0x20fa37(0x108)]();}[_0x474fca(0x3b0)](){const _0x4884f3=_0x474fca;var _0x3eb120;this[_0x4884f3(0x2d7)][_0x4884f3(0x452)](0x2),this['_socket$'][_0x4884f3(0x452)](null),this[_0x4884f3(0xfa)](),this['_clearHeartbeatTimer'](),this[_0x4884f3(0x349)]=!0x1,this['_retryCount']<((_0x3eb120=this[_0x4884f3(0x26f)][_0x4884f3(0x3a2)](_0x3d7c60))!=null?_0x3eb120:0x3)?(this[_0x4884f3(0x454)](this[_0x4884f3(0x1d4)]),this[_0x4884f3(0x1d4)]+=0x1):this[_0x4884f3(0x1af)][_0x4884f3(0xac)]({'type':_0x59ab28[_0x4884f3(0x336)][_0x4884f3(0x1ea)],'content':this['_localeService']['t'](_0x4884f3(0x1e2))});}[_0x474fca(0x454)](_0x1638a5){const _0x208082=_0x474fca;var _0x52deb2;const _0x1d8191=((_0x52deb2=this[_0x208082(0x26f)][_0x208082(0x3a2)](_0x32b076))!=null?_0x52deb2:0x4e20)*0x2**_0x1638a5;this[_0x208082(0x1af)][_0x208082(0xac)]({'type':_0x59ab28[_0x208082(0x336)][_0x208082(0x19f)],'content':this[_0x208082(0x1fc)]['t'](_0x208082(0x183))}),this[_0x208082(0x241)]=setTimeout(()=>{const _0x3affa5=_0x208082;this[_0x3affa5(0x381)](),clearTimeout(this['_retryConnectingTimer']),this[_0x3affa5(0x241)]=null;},_0x1d8191);}[_0x474fca(0x108)](){const _0x53dfe3=_0x474fca;var _0x181af2;this[_0x53dfe3(0x15f)](),this[_0x53dfe3(0x301)]=setTimeout(()=>this[_0x53dfe3(0x2aa)](),(_0x181af2=this['_configService'][_0x53dfe3(0x3a2)](_0x5a327e))!=null?_0x181af2:0x7530);}[_0x474fca(0x2aa)](){const _0x52bfde=_0x474fca;this[_0x52bfde(0x474)][_0x52bfde(0x31a)]({'cmd':_0x45623e[_0x52bfde(0x476)]}),this['_waitForHeartbeatResponse']();}[_0x474fca(0x3eb)](){const _0x11e81a=_0x474fca;var _0x285186;this[_0x11e81a(0xc3)]=setTimeout(()=>this[_0x11e81a(0x3b0)](),(_0x285186=this[_0x11e81a(0x26f)][_0x11e81a(0x3a2)](_0x240518))!=null?_0x285186:0x2710);}['_onMessage'](_0x22c748,_0x2a4b88){const _0x2df6c9=_0x474fca,{cmd:_0x53c23a}=_0x2a4b88;_0x53c23a===_0x45623e[_0x2df6c9(0x47d)]&&!this[_0x2df6c9(0x349)]&&(_0x22c748[_0x2df6c9(0x26a)]=_0x2a4b88[_0x2df6c9(0xe5)][_0x2df6c9(0x26a)],this[_0x2df6c9(0x35f)][_0x2df6c9(0x452)](_0x22c748),this[_0x2df6c9(0x2d7)]['next'](0x3),this['_socketReady']=!0x0),_0x53c23a===_0x45623e[_0x2df6c9(0x476)]&&this[_0x2df6c9(0xfa)](),this[_0x2df6c9(0x108)]();}['_clearHeartbeatTimer'](){const _0x705b23=_0x474fca;this[_0x705b23(0x301)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x705b23(0x301)]=null);}[_0x474fca(0xfa)](){const _0x51f1f7=_0x474fca;this[_0x51f1f7(0xc3)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x51f1f7(0xc3)]=null);}},_0x48d167['CollaborationSessionService']=_0x5cfe64([_0x1c9a43(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x1c9a43(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x1c9a43(0x2,_0x202279[_0x474fca(0x123)]),_0x1c9a43(0x3,_0x132eb9[_0x474fca(0xad)]),_0x1c9a43(0x4,_0x132eb9[_0x474fca(0x46a)]),_0x1c9a43(0x5,_0x2b67b3)],_0x48d167[_0x474fca(0xc6)]);var _0x2d476b=Object[_0x474fca(0x109)],_0x1db2e7=Object[_0x474fca(0xcc)],_0x47ab7f=(_0x423b79,_0x264ebf,_0x4dfdf4,_0x1d1ea7)=>{for(var _0x14640c=_0x1d1ea7>0x1?void 0x0:_0x1d1ea7?_0x1db2e7(_0x264ebf,_0x4dfdf4):_0x264ebf,_0x4290fe=_0x423b79['length']-0x1,_0xa9f091;_0x4290fe>=0x0;_0x4290fe--)(_0xa9f091=_0x423b79[_0x4290fe])&&(_0x14640c=(_0x1d1ea7?_0xa9f091(_0x264ebf,_0x4dfdf4,_0x14640c):_0xa9f091(_0x14640c))||_0x14640c);return _0x1d1ea7&&_0x14640c&&_0x2d476b(_0x264ebf,_0x4dfdf4,_0x14640c),_0x14640c;},_0x27b4b5=(_0x2eab91,_0x1d5aa7)=>(_0x2fae4c,_0x21cee0)=>_0x1d5aa7(_0x2fae4c,_0x21cee0,_0x2eab91);_0x48d167[_0x474fca(0x27d)]=class extends _0x132eb9['Disposable']{constructor(_0xaa04e9,_0xad5f3b,_0x4b3740,_0xdf62e2,_0x2f419a){const _0x1102e2=_0x474fca;super(),_0x3b7d06(this,_0x1102e2(0x1d9),new Map()),_0x3b7d06(this,'_saveTaskMap',new Map()),_0x3b7d06(this,_0x1102e2(0x1e1),!0x1),(this[_0x1102e2(0x26f)]=_0xaa04e9,this[_0x1102e2(0x223)]=_0xad5f3b,this[_0x1102e2(0x394)]=_0x4b3740,this['_localeService']=_0xdf62e2,this[_0x1102e2(0x257)]=_0x2f419a,this[_0x1102e2(0xa1)]());}['disableLocalCache'](){const _0x4b59a5=_0x474fca;this[_0x4b59a5(0x1e1)]=!0x0;}[_0x474fca(0x3c6)](){this['_disabled']=!0x1;}[_0x474fca(0x19a)](){const _0x3844cf=_0x474fca;this['exhaustSavingTask']()['then'](()=>super[_0x3844cf(0x19a)]());}async[_0x474fca(0xee)](_0x40fa4e){const _0x52b6b1=_0x474fca;return this['_disabled']?null:this[_0x52b6b1(0x223)][_0x52b6b1(0x273)](_0x2c212b(_0x40fa4e));}async[_0x474fca(0x423)](_0xe766fd,_0x385753){const _0x2e796e=_0x474fca;return!!this[_0x2e796e(0x223)][_0x2e796e(0x151)](_0xe766fd,_0x385753);}['updateOfflineData'](_0x16202d,_0x976ff9,_0x11f802,_0x3a83fb){const _0x3f4651=_0x474fca,_0x2eccb2=this[_0x3f4651(0x257)][_0x3f4651(0x3c8)](_0x16202d);this[_0x3f4651(0x1d9)][_0x3f4651(0xbe)](_0x16202d,{'unitID':_0x16202d,'type':_0x976ff9,'awaitingChangeset':_0x11f802,'mutations':_0x3a83fb,'rev':_0x2eccb2}),this['_saveTaskMap'][_0x3f4651(0x400)](_0x16202d)||this[_0x3f4651(0xb4)](_0x16202d);}[_0x474fca(0xb4)](_0x123c17){const _0x461882=_0x474fca,_0xf70539=this[_0x461882(0x2c6)]();_0xf70539===0x0?this[_0x461882(0x440)](_0x123c17):this[_0x461882(0x3f5)][_0x461882(0xbe)](_0x123c17,setTimeout(()=>this[_0x461882(0x440)](_0x123c17),_0xf70539));}['_getSaveTimeout'](){const _0x1d9712=_0x474fca;var _0x3e5c22;return(_0x3e5c22=this[_0x1d9712(0x26f)]['getConfig'](_0x2c2734))!=null?_0x3e5c22:0x3e8;}[_0x474fca(0x440)](_0x377295){const _0x1be728=_0x474fca,_0x3f8bcc=this[_0x1be728(0x3f5)]['get'](_0x377295);return _0x3f8bcc!==void 0x0&&window[_0x1be728(0x293)](_0x3f8bcc),this['_localStorageService']['setItem'](_0x2c212b(_0x377295),this[_0x1be728(0x1d9)][_0x1be728(0x261)](_0x377295))[_0x1be728(0x321)](()=>this['_saveTaskMap']['delete'](_0x377295));}async['exhaustSavingTask'](){const _0xdb2e5=_0x474fca,_0x274bd9=[];this['_saveTaskMap']['forEach']((_0x8044ed,_0x1dd930)=>{const _0xc7a34e=_0x2d55;window[_0xc7a34e(0x293)](_0x8044ed),_0x274bd9[_0xc7a34e(0x277)](this[_0xc7a34e(0x440)](_0x1dd930)[_0xc7a34e(0x321)](()=>{const _0x5e170=_0xc7a34e;this[_0x5e170(0x3f5)][_0x5e170(0x224)](_0x1dd930);}));}),await Promise[_0xdb2e5(0x3b7)](_0x274bd9);}[_0x474fca(0xa1)](){const _0x48bf1f=_0x474fca;this[_0x48bf1f(0x26e)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1573e7=_0x48bf1f;if(this[_0x1573e7(0x3f5)][_0x1573e7(0xb8)])return this[_0x1573e7(0x1fc)]['t'](_0x1573e7(0x193));}));}},_0x48d167[_0x474fca(0x27d)]=_0x47ab7f([_0x27b4b5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x27b4b5(0x1,_0x132eb9[_0x474fca(0xdc)]),_0x27b4b5(0x2,_0x202279[_0x474fca(0x147)]),_0x27b4b5(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x27b4b5(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)]))],_0x48d167[_0x474fca(0x27d)]);function _0x2c212b(_0x573a1e){const _0x430598=_0x474fca;return _0x430598(0x331)+_0x573a1e;}const _0x54135c=_0x132eb9['createIdentifier'](_0x474fca(0x38d));var _0x261697=(_0x3e39de=>(_0x3e39de[_0x3e39de[_0x474fca(0x217)]=0x0]=_0x474fca(0x217),_0x3e39de[_0x3e39de['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x3e39de))(_0x261697||{});const _0x4601b7=0x7530,_0x475fe4=_0x474fca(0x357);class _0x5204d1 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x549fd8=_0x474fca;super(),_0x3b7d06(this,_0x549fd8(0x239),_0x132eb9['Tools'][_0x549fd8(0x2de)]()),_0x3b7d06(this,'_selfUnitIDs',new Set()),_0x3b7d06(this,'_unitOnClients',new Map()),_0x3b7d06(this,_0x549fd8(0x23d),null),_0x3b7d06(this,_0x549fd8(0x42b),new Map()),_0x3b7d06(this,_0x549fd8(0x1ab),new Map()),this[_0x549fd8(0x1d5)]();}['dispose'](){const _0x2df9f3=_0x474fca;super[_0x2df9f3(0x19a)](),this[_0x2df9f3(0x42b)][_0x2df9f3(0x173)]((_0x5bb25f,_0x550c90)=>this[_0x2df9f3(0xa6)](_0x550c90)),this[_0x2df9f3(0x23d)]&&window['clearInterval'](this[_0x2df9f3(0x23d)]);}[_0x474fca(0x3e8)](_0x5f8a61){const _0x5a3580=_0x474fca;return this[_0x5a3580(0x3b6)](_0x5f8a61)['pipe'](_0x3639ee[_0x5a3580(0x34b)]());}[_0x474fca(0x40f)](_0x5df85f){const _0x4e020c=_0x474fca;this[_0x4e020c(0x3c9)][_0x4e020c(0xb8)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e020c(0x3c9)][_0x4e020c(0x41b)](_0x5df85f),this[_0x4e020c(0xbd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df85f],'isForwarded':!0x1});}['disposeUnit'](_0x137a4e){const _0x134c93=_0x474fca;this[_0x134c93(0x3c9)][_0x134c93(0x224)](_0x137a4e),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x134c93(0x418)](this['_heartbeatTimer']);}[_0x474fca(0x1d5)](){const _0x42aa3b=_0x474fca;this[_0x42aa3b(0x26e)](_0x132eb9[_0x42aa3b(0x2c0)](_0x3639ee['fromEvent'](window,_0x42aa3b(0x130))[_0x42aa3b(0x2e1)](_0x44e30d=>{const _0x15e6e5=_0x42aa3b;if(_0x44e30d['key']!==_0x475fe4||!_0x44e30d[_0x15e6e5(0x148)])return;const _0x2145a7=JSON[_0x15e6e5(0x2bd)](_0x44e30d[_0x15e6e5(0x148)]);this[_0x15e6e5(0x2fc)](_0x2145a7);}))),window[_0x42aa3b(0x3d3)](_0x42aa3b(0x174),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x42aa3b(0x222)](this[_0x42aa3b(0x3c9)])}));}[_0x474fca(0x2fc)](_0x3bcd2a){const _0xb12d30=_0x474fca;switch(_0x3bcd2a[_0xb12d30(0x11a)]){case 0x0:this[_0xb12d30(0x244)](_0x3bcd2a);break;case 0x1:this[_0xb12d30(0x235)](_0x3bcd2a);break;case 0x2:this[_0xb12d30(0x3e0)](_0x3bcd2a);break;}}[_0x474fca(0x244)](_0x1fc6d3){const _0x3991bb=_0x474fca,{unitIDs:_0x388922,memberID:_0x2e8254,isForwarded:_0x3f5e23}=_0x1fc6d3;_0x388922[_0x3991bb(0x173)](_0x13041a=>{const _0x9f90e5=_0x3991bb;if(!_0x3f5e23&&this[_0x9f90e5(0x3b1)][_0x9f90e5(0x400)](_0x13041a)&&this['_ensureSubject'](_0x13041a)[_0x9f90e5(0x452)](0x1),!this['_unitOnClients'][_0x9f90e5(0x400)](_0x13041a)||!this[_0x9f90e5(0x3b1)]['get'](_0x13041a)[_0x9f90e5(0x400)](_0x2e8254)){const _0x64a591=this[_0x9f90e5(0x3b1)][_0x9f90e5(0x261)](_0x13041a)||new Set();_0x64a591[_0x9f90e5(0x41b)](_0x2e8254),this[_0x9f90e5(0x3b1)]['set'](_0x13041a,_0x64a591),this['_scheduleClearOtherTimer'](_0x2e8254);}}),_0x3f5e23||this[_0x3991bb(0xbd)]({'type':0x0,'memberID':this[_0x3991bb(0x239)],'unitIDs':[...this[_0x3991bb(0x3c9)]],'isForwarded':!0x0});}[_0x474fca(0x393)](_0xe97691){const _0x1e5fbf=_0x474fca;this['_removeClearOtherTimer'](_0xe97691);const _0x15f7b6=window[_0x1e5fbf(0x10e)](()=>{const _0x2700a6=_0x1e5fbf;this['_unitOnClients'][_0x2700a6(0x173)](_0x1e77a0=>{const _0x396e2=_0x2700a6;_0x1e77a0[_0x396e2(0x224)](_0xe97691);});},_0x4601b7*0x2);this[_0x1e5fbf(0x42b)][_0x1e5fbf(0xbe)](_0xe97691,_0x15f7b6);}['_removeClearOtherTimer'](_0x313d76){const _0x267395=_0x474fca;if(this['_clearOtherTimers'][_0x267395(0x400)](_0x313d76)){const _0x13de4c=this[_0x267395(0x42b)]['get'](_0x313d76);_0x13de4c&&window['clearTimeout'](_0x13de4c),this[_0x267395(0x42b)][_0x267395(0xbe)](_0x313d76,null);}}['_handleLeaveEvent'](_0x287769){const _0x34b533=_0x474fca,{memberID:_0x2e68a5,unitIDs:_0x34d65c}=_0x287769;_0x34d65c[_0x34b533(0x173)](_0x41bde3=>{const _0x52e713=_0x34b533;var _0x641e6d;const _0x557829=this[_0x52e713(0x3b1)][_0x52e713(0x261)](_0x41bde3);_0x557829&&(_0x557829[_0x52e713(0x224)](_0x2e68a5),(_0x641e6d=this['_ensureSubject'](_0x41bde3))==null||_0x641e6d[_0x52e713(0x452)](_0x557829[_0x52e713(0xb8)]===0x0?0x0:0x1));}),this[_0x34b533(0xa6)](_0x2e68a5);}[_0x474fca(0x3e0)](_0x2aa51d){const _0x154619=_0x474fca;this[_0x154619(0x393)](_0x2aa51d['memberID']);}[_0x474fca(0xbd)](_0xb89691){const _0x55ce17=_0x474fca;localStorage['setItem'](_0x475fe4,JSON[_0x55ce17(0x233)](_0xb89691));}['_scheduleHeartbeat'](){const _0x3a8237=_0x474fca;this[_0x3a8237(0x23d)]=window['setInterval'](()=>{const _0x8cf7fc=_0x3a8237;this[_0x8cf7fc(0xbd)]({'type':0x2,'memberID':this['_id']});},_0x4601b7);}[_0x474fca(0x3b6)](_0x2f1399){const _0x5310ad=_0x474fca;return this['_unitStatus']['has'](_0x2f1399)||this[_0x5310ad(0x1ab)][_0x5310ad(0xbe)](_0x2f1399,new _0x3639ee[(_0x5310ad(0x2a0))](0x0)),this[_0x5310ad(0x1ab)]['get'](_0x2f1399);}}var _0x3ada99=Object['defineProperty'],_0x5f0df5=Object[_0x474fca(0xcc)],_0x14ffb1=(_0x2a00a3,_0x278cbb,_0x326548,_0x30fbda)=>{const _0x142422=_0x474fca;for(var _0xd6046a=_0x30fbda>0x1?void 0x0:_0x30fbda?_0x5f0df5(_0x278cbb,_0x326548):_0x278cbb,_0x1fb5fe=_0x2a00a3[_0x142422(0x2b9)]-0x1,_0x271f53;_0x1fb5fe>=0x0;_0x1fb5fe--)(_0x271f53=_0x2a00a3[_0x1fb5fe])&&(_0xd6046a=(_0x30fbda?_0x271f53(_0x278cbb,_0x326548,_0xd6046a):_0x271f53(_0xd6046a))||_0xd6046a);return _0x30fbda&&_0xd6046a&&_0x3ada99(_0x278cbb,_0x326548,_0xd6046a),_0xd6046a;},_0x3e41c4=(_0x5609ff,_0x4670b7)=>(_0x4add3f,_0x140f1c)=>_0x4670b7(_0x4add3f,_0x140f1c,_0x5609ff);let _0x5e5e64=class{constructor(_0xd998b,_0x5b3462){const _0x6010ba=_0x474fca;this[_0x6010ba(0x306)]=_0xd998b,this['_transformService']=_0x5b3462;}[_0x474fca(0x347)](_0x1c1771){const _0x1b2088=_0x474fca;this[_0x1b2088(0x162)](_0x1c1771),this[_0x1b2088(0xbb)](_0x1c1771);}[_0x474fca(0x396)](_0x5024cb){const _0x2fc24e=_0x474fca,_0x29f2f5=this[_0x2fc24e(0x306)][_0x2fc24e(0x261)](_0x4b287a[_0x2fc24e(0x234)]),{redoCache:_0x4d8616}=_0x29f2f5[_0x2fc24e(0x2f7)]();if(_0x4d8616['length']===0x0)return _0x5024cb;let _0x298b22=_0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb[_0x2fc24e(0x256)][0x0]);for(let _0x4b7bf7=0x0;_0x4b7bf7<_0x4d8616[_0x2fc24e(0x2b9)];_0x4b7bf7++){const _0x15b7c1={'id':'doc.mutation.rich-text-editing','params':{..._0x4d8616[_0x4b7bf7]}},_0xe7014c=this[_0x2fc24e(0x190)][_0x2fc24e(0x35b)](_0x298b22,_0x15b7c1,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xe7014c))throw _0xe7014c[_0x2fc24e(0xf5)];_0x298b22=_0xe7014c[_0x2fc24e(0x11d)];}return{..._0x132eb9[_0x2fc24e(0x44f)][_0x2fc24e(0x414)](_0x5024cb),'mutations':[_0x298b22]};}[_0x474fca(0x162)](_0xfb2f3b){const _0x5dfdea=_0x474fca,_0x40be2f=this[_0x5dfdea(0x306)][_0x5dfdea(0x261)](_0x4b287a[_0x5dfdea(0x234)]),{undoCache:_0xd65d25,redoCache:_0x4e225f}=_0x40be2f[_0x5dfdea(0x2f7)]();if(_0xd65d25[_0x5dfdea(0x2b9)]===0x0||_0x4e225f['length']===0x0)return;const _0x263e72=[],_0xa90d8f=[];let _0x59dadd=_0x132eb9[_0x5dfdea(0x44f)]['deepClone'](_0xfb2f3b['mutations'][0x0]),_0x5fd8a7=_0x132eb9['Tools'][_0x5dfdea(0x414)](_0xfb2f3b[_0x5dfdea(0x256)][0x0]);for(let _0xe2135c=_0xd65d25[_0x5dfdea(0x2b9)]-0x1;_0xe2135c>=0x0;_0xe2135c--){const _0x2b9abb={'id':_0x5dfdea(0x21b),'params':{..._0xd65d25[_0xe2135c]}},_0x2d872c={'id':_0x5dfdea(0x21b),'params':{..._0x4e225f[_0xe2135c]}},_0x2dbceb=this[_0x5dfdea(0x190)][_0x5dfdea(0x35b)](_0x59dadd,_0x2b9abb,!0x1),_0x38d005=this[_0x5dfdea(0x190)]['transformMutation'](_0x5fd8a7,_0x2d872c,!0x1);if(_0x1524d[_0x5dfdea(0x40c)](_0x2dbceb))throw _0x2dbceb['error'];if(_0x1524d[_0x5dfdea(0x40c)](_0x38d005))throw _0x38d005[_0x5dfdea(0xf5)];_0x263e72[_0x5dfdea(0x3f2)](_0x2dbceb[_0x5dfdea(0x43b)][_0x5dfdea(0xe6)]),_0xa90d8f[_0x5dfdea(0x3f2)](_0x38d005[_0x5dfdea(0x43b)]['params']),_0x59dadd=_0x2dbceb['m1Prime'],_0x5fd8a7=_0x38d005[_0x5dfdea(0x11d)];}_0x40be2f[_0x5dfdea(0x252)]({'undoCache':_0x263e72,'redoCache':_0xa90d8f});}[_0x474fca(0xbb)](_0xa0b13){const _0x65af6a=_0x474fca,_0x145384=this[_0x65af6a(0x306)][_0x65af6a(0x261)](_0x4b287a[_0x65af6a(0x234)]),_0x3726f6=_0x145384[_0x65af6a(0x324)]();if(_0x3726f6==null)return;const _0x2856bf=[{'id':_0x65af6a(0x21b),'params':{'unitId':_0xa0b13['unitID'],'actions':null,'textRanges':[_0x3726f6]}}],_0x2e9268=this[_0x65af6a(0x190)][_0x65af6a(0x1a1)](_0xa0b13,_0x2856bf);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x2e9268))throw _0x2e9268[_0x65af6a(0xf5)];const _0x30e3b8=_0x2e9268[_0x65af6a(0x43b)][0x0][_0x65af6a(0xe6)][_0x65af6a(0x34e)];Array['isArray'](_0x30e3b8)&&_0x30e3b8[_0x65af6a(0x2b9)]&&_0x145384[_0x65af6a(0x446)](_0x30e3b8[0x0]);}};_0x5e5e64=_0x14ffb1([_0x3e41c4(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x3e41c4(0x1,_0x1524d[_0x474fca(0x439)])],_0x5e5e64);var _0x14b01e=Object['defineProperty'],_0x1aec1a=Object[_0x474fca(0xcc)],_0x1d3064=(_0x5822b6,_0x599bb3,_0x58ecd1,_0x30b75d)=>{const _0x405860=_0x474fca;for(var _0x30c83f=_0x30b75d>0x1?void 0x0:_0x30b75d?_0x1aec1a(_0x599bb3,_0x58ecd1):_0x599bb3,_0x3cf804=_0x5822b6[_0x405860(0x2b9)]-0x1,_0x5063af;_0x3cf804>=0x0;_0x3cf804--)(_0x5063af=_0x5822b6[_0x3cf804])&&(_0x30c83f=(_0x30b75d?_0x5063af(_0x599bb3,_0x58ecd1,_0x30c83f):_0x5063af(_0x30c83f))||_0x30c83f);return _0x30b75d&&_0x30c83f&&_0x14b01e(_0x599bb3,_0x58ecd1,_0x30c83f),_0x30c83f;},_0x95102e=(_0x42c056,_0x1ddb93)=>(_0x2dc6e5,_0x56f1e)=>_0x1ddb93(_0x2dc6e5,_0x56f1e,_0x42c056);let _0x49cc76=class{constructor(_0x58fe76,_0x1280ec){const _0x12fd62=_0x474fca;this[_0x12fd62(0x306)]=_0x58fe76,this[_0x12fd62(0x190)]=_0x1280ec;}[_0x474fca(0x31d)](_0x4c754c){const _0x1533c6=_0x474fca;var _0x11e81e;const _0x4d6081=this[_0x1533c6(0x306)][_0x1533c6(0x261)](_0x4b287a[_0x1533c6(0x41a)]),_0x53e679=(_0x11e81e=_0x4d6081[_0x1533c6(0x196)]())!=null?_0x11e81e:[],_0x27f735=_0x53e679==null?void 0x0:_0x53e679[_0x1533c6(0x18f)](_0x4b287a[_0x1533c6(0x40e)]);if(_0x27f735[_0x1533c6(0x2b9)]===0x0)return;const _0x44f781=[{'id':_0x1533c6(0x21b),'params':{'unitId':_0x4c754c['unitID'],'actions':null,'textRanges':_0x27f735}}],_0x514a17=this[_0x1533c6(0x190)]['transformMutationsWithChangeset'](_0x4c754c,_0x44f781);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x514a17))throw _0x514a17[_0x1533c6(0xf5)];const _0x569e9a=_0x514a17[_0x1533c6(0x43b)][0x0][_0x1533c6(0xe6)]['textRanges'];Array[_0x1533c6(0x2c8)](_0x569e9a)&&_0x569e9a[_0x1533c6(0x2b9)]&&_0x4d6081[_0x1533c6(0x42e)](_0x569e9a,!0x1);}};_0x49cc76=_0x1d3064([_0x95102e(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x95102e(0x1,_0x1524d[_0x474fca(0x439)])],_0x49cc76);function _0x234122(_0x55ae99){const _0x20310a=_0x474fca;let _0x53c336='';for(const _0x51ae70 of _0x55ae99){const {startOffset:_0x509182,endOffset:_0x2000b8,isActive:_0x2c2e2a}=_0x51ae70;_0x53c336[_0x20310a(0x2b9)]&&(_0x53c336+=','),_0x53c336+=_0x509182+':'+_0x2000b8+':'+(_0x2c2e2a?'1':'0');}return _0x53c336;}function _0x20f365(_0x307163){const _0x159254=_0x474fca,_0x1ea399=_0x307163['split'](','),_0xcea04d=[];for(const _0x4be379 of _0x1ea399){const [_0x3c3196,_0x4e5476,_0x142c06]=_0x4be379[_0x159254(0x14e)](':');_0xcea04d[_0x159254(0x277)]({'startOffset':Number(_0x3c3196),'endOffset':Number(_0x4e5476),'collapsed':_0x3c3196===_0x4e5476,'isActive':_0x142c06==='1'});}return _0xcea04d[_0x159254(0x2f4)](_0x1ee79a=>_0x1ee79a[_0x159254(0x2d1)])||(_0xcea04d[0x0][_0x159254(0x2d1)]=!0x0),_0xcea04d;}class _0x17ef3e extends _0x132eb9['RxDisposable']{constructor(){const _0x256868=_0x474fca;super(...arguments),_0x3b7d06(this,_0x256868(0x2ca),new _0x3639ee[(_0x256868(0x2a0))](null)),_0x3b7d06(this,_0x256868(0xe2),this[_0x256868(0x2ca)]['asObservable']());}[_0x474fca(0x3d0)](_0x314573){const _0xa895e9=_0x474fca,{unitID:_0x41fe89,memberID:_0x5a8a55,textRanges:_0x269fe8}=_0x314573,_0xd38896=_0x234122(_0x269fe8),_0x4ce8d7={'unitID':_0x41fe89,'memberID':_0x5a8a55,'selection':_0xd38896};this[_0xa895e9(0x2ca)][_0xa895e9(0x452)](_0x4ce8d7);}}var _0xbbd442=Object[_0x474fca(0x109)],_0x5ee501=Object[_0x474fca(0xcc)],_0x4bcdf9=(_0x8fafec,_0x5a5866,_0x560b34,_0xff501b)=>{const _0x4e952a=_0x474fca;for(var _0x5423d7=_0xff501b>0x1?void 0x0:_0xff501b?_0x5ee501(_0x5a5866,_0x560b34):_0x5a5866,_0x45ebfb=_0x8fafec[_0x4e952a(0x2b9)]-0x1,_0x4d8776;_0x45ebfb>=0x0;_0x45ebfb--)(_0x4d8776=_0x8fafec[_0x45ebfb])&&(_0x5423d7=(_0xff501b?_0x4d8776(_0x5a5866,_0x560b34,_0x5423d7):_0x4d8776(_0x5423d7))||_0x5423d7);return _0xff501b&&_0x5423d7&&_0xbbd442(_0x5a5866,_0x560b34,_0x5423d7),_0x5423d7;},_0x46533d=(_0x1016e9,_0x1a6f7c)=>(_0x20860c,_0x4df265)=>_0x1a6f7c(_0x20860c,_0x4df265,_0x1016e9);function _0x22d4b2(_0x1d6fea){const _0x5855d3=_0x474fca,{unitID:_0x3a279e,mutations:_0x23d0e0}=_0x1d6fea;return{'unitId':_0x3a279e,'subUnitId':_0x23d0e0[0x0][_0x5855d3(0xe6)][_0x5855d3(0x2ac)]};}let _0x40081e=class{constructor(_0x5bc561,_0x2a7b9f){const _0x2112e3=_0x474fca;this[_0x2112e3(0x306)]=_0x5bc561,this['_transformService']=_0x2a7b9f;}[_0x474fca(0x31d)](_0x3c0228){const _0x47fcec=_0x474fca;var _0x20cc48,_0x2449cc,_0x487ff1;const _0x4f48bd=this[_0x47fcec(0x306)]['get'](_0x21d024[_0x47fcec(0x3d9)]),{unitId:_0x454a09,subUnitId:_0x140109}=_0x22d4b2(_0x3c0228),_0x4fa2a1=_0x4f48bd[_0x47fcec(0x18e)](_0x454a09)['getCurrentSelections']();if(_0x4fa2a1['length']===0x0||!_0x454a09||!_0x140109)return;const _0x45fa31=[{'id':_0x21d024[_0x47fcec(0x303)]['id'],'params':{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x132eb9[_0x47fcec(0x44f)][_0x47fcec(0x414)](_0x4fa2a1)}}],_0x4b7849=this[_0x47fcec(0x190)][_0x47fcec(0x1a1)](_0x3c0228,_0x45fa31);if(!_0x1524d[_0x47fcec(0x286)](_0x4b7849))throw _0x4b7849[_0x47fcec(0xf5)];const _0x590d55=(_0x487ff1=(_0x2449cc=(_0x20cc48=_0x4b7849[_0x47fcec(0x43b)][0x0])==null?void 0x0:_0x20cc48[_0x47fcec(0xe6)])==null?void 0x0:_0x2449cc[_0x47fcec(0x1a5)])!=null?_0x487ff1:_0x4fa2a1;Array[_0x47fcec(0x2c8)](_0x590d55)&&_0x590d55[_0x47fcec(0x2b9)]&&this[_0x47fcec(0x306)][_0x47fcec(0x261)](_0x132eb9[_0x47fcec(0x1f1)])[_0x47fcec(0x15b)](_0x21d024[_0x47fcec(0x303)]['id'],{'unitId':_0x454a09,'subUnitId':_0x140109,'selections':_0x590d55});}};_0x40081e=_0x4bcdf9([_0x46533d(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x46533d(0x1,_0x1524d[_0x474fca(0x439)])],_0x40081e);const _0x137594=new Set([_0x21d024[_0x474fca(0x1e5)]['id']]);function _0x5b005e(_0x11f0fa,_0x349d05,_0xb0d2f7,_0x59d751,_0x41cdcc){const _0x18db3a=_0x474fca;var _0x2d3e41,_0x65a80c,_0xae6617,_0x4efbdf;const _0x3db955=[];for(const _0x2c757a of _0x11f0fa)if(_0x137594[_0x18db3a(0x400)](_0x2c757a['id'])){if(_0x3db955['length']>0x0)break;_0x3db955[_0x18db3a(0x277)](_0x2c757a);break;}else _0x3db955[_0x18db3a(0x277)](_0x2c757a);const _0x3bc700=(_0x65a80c=(_0x2d3e41=_0x41cdcc[_0x18db3a(0x42d)]())==null?void 0x0:_0x2d3e41[_0x18db3a(0x1c6)])!=null?_0x65a80c:_0x18db3a(0x391),_0x167195=(_0x4efbdf=(_0xae6617=_0x41cdcc['getCurrentUser']())==null?void 0x0:_0xae6617[_0x18db3a(0x26a)])!=null?_0x4efbdf:'unknown';return{'changeset':{'unitID':_0x349d05,'type':_0x1524d['mapDocumentTypeToUniverType'](_0xb0d2f7[_0x18db3a(0x2b8)](_0x349d05)),'baseRev':_0x59d751[_0x18db3a(0x3c8)](_0x349d05),'revision':0x0,'userID':_0x3bc700,'memberID':_0x167195,'mutations':_0x3db955},'pendingMutations':_0x11f0fa[_0x18db3a(0x417)](_0x3db955[_0x18db3a(0x2b9)])};}function _0x2e6053(_0x1db28e,_0x11c8cf,_0x2e5519,_0x1bf6e6,_0x16912f){const _0x24f785=_0x474fca;var _0x27d385,_0xf0f473,_0x2feadf,_0x2c2eb6;const _0x5877f4=[_0x1db28e[_0x24f785(0xea)]((_0x280f53,_0x45c97e)=>{const _0x3bd287=_0x24f785;var _0x555282;const {id:_0x437e17}=_0x280f53,{id:_0x1796c2,type:_0x45507a}=_0x45c97e,_0x38a325=(_0x555282=_0x280f53['params'])!=null?_0x555282:{'actions':null},_0x30605f=_0x45c97e['params'];if(_0x437e17&&_0x437e17!==_0x1796c2)throw new Error(_0x3bd287(0x11f)+_0x437e17+'\x20-\x20'+_0x1796c2+'.');return{..._0x280f53,'id':_0x1796c2,'type':_0x45507a,'params':{'unitId':_0x30605f[_0x3bd287(0xa5)],'textRanges':_0x30605f[_0x3bd287(0x34e)],'actions':_0x132eb9['JSONX'][_0x3bd287(0x2cf)](_0x38a325[_0x3bd287(0xaf)],_0x30605f['actions'])}};},{})],_0x61af2d=(_0xf0f473=(_0x27d385=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x27d385[_0x24f785(0x1c6)])!=null?_0xf0f473:_0x24f785(0x391),_0x30a569=(_0x2c2eb6=(_0x2feadf=_0x16912f[_0x24f785(0x42d)]())==null?void 0x0:_0x2feadf[_0x24f785(0x26a)])!=null?_0x2c2eb6:'unknown';return{'changeset':{'unitID':_0x11c8cf,'type':_0x1524d[_0x24f785(0x2ae)](_0x2e5519[_0x24f785(0x2b8)](_0x11c8cf)),'baseRev':_0x1bf6e6[_0x24f785(0x3c8)](_0x11c8cf),'revision':0x0,'userID':_0x61af2d,'memberID':_0x30a569,'mutations':_0x5877f4},'pendingMutations':[]};}const _0x5f2cd2={'id':_0x21d024['EmptyMutation']['id'],'type':_0x132eb9['CommandType'][_0x474fca(0x14f)],'params':{}};var _0x3e8df9=Object[_0x474fca(0x109)],_0x1acbe1=Object[_0x474fca(0xcc)],_0x5bbf9a=(_0x5edd12,_0x266578,_0x223452,_0x21fd93)=>{for(var _0x5f4eac=_0x21fd93>0x1?void 0x0:_0x21fd93?_0x1acbe1(_0x266578,_0x223452):_0x266578,_0x4b567f=_0x5edd12['length']-0x1,_0x1ca9db;_0x4b567f>=0x0;_0x4b567f--)(_0x1ca9db=_0x5edd12[_0x4b567f])&&(_0x5f4eac=(_0x21fd93?_0x1ca9db(_0x266578,_0x223452,_0x5f4eac):_0x1ca9db(_0x5f4eac))||_0x5f4eac);return _0x21fd93&&_0x5f4eac&&_0x3e8df9(_0x266578,_0x223452,_0x5f4eac),_0x5f4eac;},_0x5c3c15=(_0x5e1cf7,_0x1eb150)=>(_0x5caca1,_0x434198)=>_0x1eb150(_0x5caca1,_0x434198,_0x5e1cf7),_0x3e6ce=(_0x35410c=>(_0x35410c[_0x474fca(0x283)]=_0x474fca(0x137),_0x35410c['SYNCED']=_0x474fca(0xd5),_0x35410c['PENDING']=_0x474fca(0x39e),_0x35410c[_0x474fca(0x3be)]=_0x474fca(0x152),_0x35410c[_0x474fca(0x198)]='awaiting_with_pending',_0x35410c['FETCH_MISS']='fetch_missing',_0x35410c[_0x474fca(0xc5)]=_0x474fca(0xca),_0x35410c[_0x474fca(0x35a)]=_0x474fca(0x2b3),_0x35410c))(_0x3e6ce||{});class _0x13eb33{constructor(_0x37192b,_0x2eb42d,_0x105855,_0x43d92d,_0x11772d,_0x4fbeaf,_0x70b21,_0x220e51,_0x2997a9){const _0x3c013d=_0x474fca;_0x3b7d06(this,'_awaitingChangeset',null),_0x3b7d06(this,'_pendingMutations',[]),(this['unitID']=_0x37192b,this['type']=_0x2eb42d,this[_0x3c013d(0x3f7)]=_0x11772d,this[_0x3c013d(0x1c9)]=_0x4fbeaf,this[_0x3c013d(0x386)]=_0x70b21,this[_0x3c013d(0x257)]=_0x220e51,this[_0x3c013d(0x40b)]=_0x2997a9,this['_awaitingChangeset']=_0x105855,this['_pendingMutations']=_0x43d92d);}[_0x474fca(0x275)](_0x9cfedb){const _0x4d4615=_0x474fca,_0x3e7d32=this[_0x4d4615(0x257)][_0x4d4615(0x3c8)](this[_0x4d4615(0x176)]);return _0x9cfedb[_0x4d4615(0x158)]>_0x3e7d32+0x1?(this[_0x4d4615(0x3f7)][_0x4d4615(0x14a)]({'from':_0x3e7d32,'to':_0x9cfedb[_0x4d4615(0x158)]-0x1}),!0x0):!0x1;}[_0x474fca(0x15d)](_0x3cea2f){const _0x3f73b6=_0x474fca;this[_0x3f73b6(0x386)][_0x3f73b6(0x32a)](this[_0x3f73b6(0x176)],_0x3cea2f);}['_transformSelections'](_0x5d4f93){const _0x927c26=_0x474fca;var _0xe502d9,_0x4fc856;(_0x4fc856=(_0xe502d9=this[_0x927c26(0x3f7)])[_0x927c26(0x2f1)])==null||_0x4fc856[_0x927c26(0x1c7)](_0xe502d9,_0x5d4f93);}['_transformIMECache'](_0x5501f5){const _0x2a2c56=_0x474fca;var _0x408924,_0x479cab;return(_0x479cab=(_0x408924=this[_0x2a2c56(0x3f7)])['onTransformIME'])==null?void 0x0:_0x479cab[_0x2a2c56(0x1c7)](_0x408924,_0x5501f5);}[_0x474fca(0x12c)](_0x417c99){const _0x246dad=_0x474fca;var _0x3e996a,_0x5e3c44,_0x42278e;return(_0x42278e=(_0x5e3c44=(_0x3e996a=this['_handler'])[_0x246dad(0x313)])==null?void 0x0:_0x5e3c44[_0x246dad(0x1c7)](_0x3e996a,_0x417c99))!=null?_0x42278e:_0x417c99;}[_0x474fca(0x444)](_0x586c5f){const _0x395f4c=_0x474fca;var _0xd8a386,_0x2e3808;if(this['type']===_0x2f5f8c[_0x395f4c(0x14d)]){const {unitID:_0x20c347,mutations:_0x738cc2,memberID:_0x3bfb61}=_0x586c5f,_0xaaa7bd=_0x738cc2[0x0]['params']['textRanges'];Array['isArray'](_0xaaa7bd)&&_0xaaa7bd[_0x395f4c(0x2b9)]>0x0&&((_0x2e3808=(_0xd8a386=this[_0x395f4c(0x3f7)])['onSyncEditingCollabCursor'])==null||_0x2e3808[_0x395f4c(0x1c7)](_0xd8a386,{'unitID':_0x20c347,'memberID':_0x3bfb61,'textRanges':_0xaaa7bd}));}}['_updateLocalCache'](){const _0x5c4544=_0x474fca;this[_0x5c4544(0x40b)]['updateOfflineData'](this[_0x5c4544(0x176)],this[_0x5c4544(0x11a)],this[_0x5c4544(0x2dc)],this['_pendingMutations']);}[_0x474fca(0x1d6)](){const _0x59e47f=_0x474fca;return this['_revisionService'][_0x59e47f(0x3c8)](this['unitID']);}[_0x474fca(0x127)](){const _0x32cf0c=_0x474fca;this['_revisionService'][_0x32cf0c(0x2cc)](this[_0x32cf0c(0x176)]);}[_0x474fca(0xf1)](_0x46319a){const _0x52867e=_0x474fca;var _0x24ddb5;const _0x592c9f=this['_transformRemoteChangesetByIMECache'](_0x46319a),_0x39c008=_0x132eb9[_0x52867e(0x2e0)](_0x592c9f[_0x52867e(0x256)],this[_0x52867e(0x1c9)],{'fromCollab':!0x0});if(!_0x39c008[_0x52867e(0x243)])throw _0x39c008[_0x52867e(0xf5)]instanceof Error?_0x39c008[_0x52867e(0xf5)]:new Error((_0x24ddb5=_0x39c008[_0x52867e(0xf5)])!=null?_0x24ddb5:_0x52867e(0x38e));this['_transformIMECache'](_0x592c9f),this[_0x52867e(0x15d)](_0x46319a),this['_transformSelections'](_0x592c9f),this[_0x52867e(0x444)](_0x592c9f),this[_0x52867e(0x127)]();}}let _0x35b41b=class extends _0x13eb33{constructor(_0x884a7e,_0x59c432,_0x3b0f85,_0x4e27ee,_0x19fc33,_0x28c34b,_0x2a76de,_0xfa6b4f,_0x42c37a,_0x4076b0){const _0x5e2523=_0x474fca;super(_0x884a7e,_0x59c432,null,[],_0x3b0f85,_0xfa6b4f,_0x2a76de,_0x4e27ee,_0x19fc33),_0x3b7d06(this,_0x5e2523(0x332),_0x5e2523(0xd5)),(this['_injector']=_0x28c34b,this[_0x5e2523(0x1ac)]=_0x42c37a,this[_0x5e2523(0x190)]=_0x4076b0);}[_0x474fca(0x1c2)](_0x36c556){const _0x4943c4=_0x474fca,_0x4a3db9=this[_0x4943c4(0x306)][_0x4943c4(0x192)](_0x4aa012,this['unitID'],this['type'],[_0x36c556],this[_0x4943c4(0x3f7)]);return _0x4a3db9['_schedule'](),_0x4a3db9[_0x4943c4(0x237)](),_0x4a3db9;}[_0x474fca(0x124)](_0x2d7931){const _0x6bd58f=_0x474fca;if(this[_0x6bd58f(0x275)](_0x2d7931))return this['_injector'][_0x6bd58f(0x192)](_0x3dbf10,this[_0x6bd58f(0x176)],this[_0x6bd58f(0x11a)],null,[],null,[_0x2d7931],this[_0x6bd58f(0x3f7)]);try{const _0x341e02=this[_0x6bd58f(0x190)]['transformMutationsWithChangeset'](_0x2d7931,[_0x5f2cd2]);if(_0x1524d[_0x6bd58f(0x286)](_0x341e02)){const {c1Prime:_0x168383}=_0x341e02;return this[_0x6bd58f(0xf1)](_0x168383),this;}throw _0x341e02[_0x6bd58f(0xf5)];}catch(_0x317654){return this[_0x6bd58f(0x1ac)][_0x6bd58f(0xf5)](_0x317654),this[_0x6bd58f(0x1f3)](!0x1);}}[_0x474fca(0x1f3)](_0x587de0){const _0x5903b4=_0x474fca;return this[_0x5903b4(0x306)][_0x5903b4(0x192)](_0xdece6c,this[_0x5903b4(0x176)],this[_0x5903b4(0x11a)],null,[],this[_0x5903b4(0x3f7)],_0x587de0);}[_0x474fca(0x2c1)](){const _0x49d1f3=_0x474fca;throw new Error(_0x49d1f3(0x221));}['onRemoteRej'](){const _0x4313d0=_0x474fca;throw new Error(_0x4313d0(0x1c5));}[_0x474fca(0x12b)](){const _0x2c0f31=_0x474fca;return this[_0x2c0f31(0x306)][_0x2c0f31(0x192)](_0x2939d6,this[_0x2c0f31(0x176)],this['type'],null,[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x3b3e7c=_0x474fca;throw new Error(_0x3b3e7c(0x105));}};_0x35b41b=_0x5bbf9a([_0x5c3c15(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x1524d['RevisionService'])),_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)])],_0x35b41b);let _0x4aa012=class extends _0x13eb33{constructor(_0x572693,_0x257aeb,_0x25b670,_0x6fb24b,_0x1ae69a,_0xba16cd,_0xb5652b,_0x5905af,_0x29d314,_0x1b58a2,_0x5c7a03,_0x39281c,_0x3113de,_0x290cf4){const _0x48207a=_0x474fca;super(_0x572693,_0x257aeb,null,_0x25b670,_0x6fb24b,_0x1b58a2,_0x290cf4,_0xba16cd,_0xb5652b),_0x3b7d06(this,_0x48207a(0x332),_0x48207a(0x39e)),_0x3b7d06(this,_0x48207a(0x3d2),null),_0x3b7d06(this,_0x48207a(0x338),null),(this[_0x48207a(0x306)]=_0x1ae69a,this[_0x48207a(0x205)]=_0x5905af,this[_0x48207a(0x1ac)]=_0x29d314,this['_configService']=_0x5c7a03,this[_0x48207a(0x190)]=_0x39281c,this[_0x48207a(0x1bd)]=_0x3113de);}[_0x474fca(0x1c2)](_0x3f430c){const _0x1614e8=_0x474fca;return this['_pendingMutations'][_0x1614e8(0x277)](_0x3f430c),this['_updateLocalCache'](),this;}[_0x474fca(0x124)](_0x33082d){const _0x5d4a6b=_0x474fca;if(this[_0x5d4a6b(0x275)](_0x33082d))return this[_0x5d4a6b(0x285)](),this[_0x5d4a6b(0x306)]['createInstance'](_0x3dbf10,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],null,this['_pendingMutations'],null,[_0x33082d],this[_0x5d4a6b(0x3f7)]);try{const _0x5ae36c=this[_0x5d4a6b(0x190)]['transformMutationsWithChangeset'](_0x33082d,this['_pendingMutations']);if(_0x1524d[_0x5d4a6b(0x286)](_0x5ae36c)){const {c1Prime:_0x591e8d,m2Prime:_0x26c5ab}=_0x5ae36c;this[_0x5d4a6b(0xf1)](_0x591e8d);const _0x6b16f0=this['_injector'][_0x5d4a6b(0x192)](_0x4aa012,this[_0x5d4a6b(0x176)],this[_0x5d4a6b(0x11a)],_0x26c5ab,this[_0x5d4a6b(0x3f7)]);return this[_0x5d4a6b(0x285)](),_0x6b16f0[_0x5d4a6b(0x307)](this[_0x5d4a6b(0x3d2)]?Math[_0x5d4a6b(0xfc)](0x0,new Date()[_0x5d4a6b(0x126)]()-this[_0x5d4a6b(0x3d2)]):this['_getSendChangesetTimeout']()),_0x6b16f0;}throw _0x5ae36c[_0x5d4a6b(0xf5)];}catch(_0x1dad9f){return this[_0x5d4a6b(0x1ac)]['error'](_0x1dad9f),this[_0x5d4a6b(0x1f3)](!0x1);}}['onRemoteAck'](){const _0x310fea=_0x474fca;throw new Error(_0x310fea(0x12f));}['onRemoteRej'](){const _0x124a6b=_0x474fca;throw new Error(_0x124a6b(0x2ba));}[_0x474fca(0x12b)](){const _0x4d44b8=_0x474fca;return this['_clearScheduledTask'](),this[_0x4d44b8(0x306)][_0x4d44b8(0x192)](_0x2939d6,this[_0x4d44b8(0x176)],this[_0x4d44b8(0x11a)],null,this[_0x4d44b8(0x44b)],this[_0x4d44b8(0x3f7)]);}['toggleOnline'](){return this;}[_0x474fca(0x307)](_0x1e58d9){const _0x35a08c=_0x474fca;_0x1e58d9=_0x1e58d9!=null?_0x1e58d9:this['_getSendChangesetTimeout'](),this[_0x35a08c(0x3d2)]=new Date()[_0x35a08c(0x126)](),this[_0x35a08c(0x338)]=setTimeout(()=>{const _0x298dbf=_0x35a08c;this[_0x298dbf(0x285)]();let _0x52a842=null;switch(this[_0x298dbf(0x11a)]){case _0x2f5f8c[_0x298dbf(0x1a0)]:{_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]);break;}case _0x2f5f8c['UNIVER_DOC']:{this[_0x298dbf(0x44b)][_0x298dbf(0xf3)](_0x2847d9=>_0x2847d9['id']===_0x4b287a['RichTextEditingMutation']['id'])?_0x52a842=_0x2e6053(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this[_0x298dbf(0x205)]):_0x52a842=_0x5b005e(this[_0x298dbf(0x44b)],this[_0x298dbf(0x176)],this[_0x298dbf(0x1bd)],this[_0x298dbf(0x257)],this['_memberService']);break;}default:throw new Error(_0x298dbf(0x272)+this[_0x298dbf(0x11a)]+_0x298dbf(0x264));}const {changeset:_0x58018c,pendingMutations:_0x3a2829}=_0x52a842;this[_0x298dbf(0x3f7)][_0x298dbf(0x249)](_0x58018c);const _0x2ab5d7=_0x3a2829[_0x298dbf(0x2b9)]?this[_0x298dbf(0x306)][_0x298dbf(0x192)](_0xb8f612,this['unitID'],this[_0x298dbf(0x11a)],_0x58018c,_0x3a2829,this[_0x298dbf(0x3f7)]):this[_0x298dbf(0x306)]['createInstance'](_0x13cd54,this['unitID'],this['type'],_0x58018c,this[_0x298dbf(0x3f7)]);_0x2ab5d7[_0x298dbf(0x237)](),this[_0x298dbf(0x3f7)][_0x298dbf(0x2ea)](this,_0x2ab5d7);},_0x1e58d9);}[_0x474fca(0x368)](){const _0x35bd21=_0x474fca;var _0x37ba98;return(_0x37ba98=this[_0x35bd21(0x26f)]['getConfig'](_0x5036b1))!=null?_0x37ba98:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x834181=_0x474fca;this[_0x834181(0x338)]!=null&&(clearTimeout(this[_0x834181(0x338)]),this[_0x834181(0x338)]=null);}[_0x474fca(0x1f3)](_0x7fb77d){const _0x59388b=_0x474fca;return this['_clearScheduledTask'](),this[_0x59388b(0x306)]['createInstance'](_0xdece6c,this[_0x59388b(0x176)],this[_0x59388b(0x11a)],null,this['_pendingMutations'],this['_handler'],_0x7fb77d);}};_0x4aa012=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9['Inject'](_0x191a69)),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x46a)]),_0x5c3c15(0xb,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x22d)]),_0x5c3c15(0xd,_0x132eb9[_0x474fca(0x1e4)])],_0x4aa012);let _0x13cd54=class extends _0x13eb33{constructor(_0x1ac84b,_0x4df3d3,_0x3b6aef,_0x2ee23d,_0x6193ef,_0x418ec5,_0x1f452f,_0x2339bb,_0x536453,_0x33e8e4,_0x9b3da2){const _0x3784c1=_0x474fca;super(_0x1ac84b,_0x4df3d3,_0x3b6aef,[],_0x2ee23d,_0x2339bb,_0x9b3da2,_0x418ec5,_0x1f452f),_0x3b7d06(this,_0x3784c1(0x332),'awaiting'),(this[_0x3784c1(0x306)]=_0x6193ef,this[_0x3784c1(0x1ac)]=_0x536453,this['_transformService']=_0x33e8e4);}['appendMutation'](_0x11f580){const _0x3cc144=_0x474fca,_0x5eaeea=this[_0x3cc144(0x306)][_0x3cc144(0x192)](_0xb8f612,this[_0x3cc144(0x176)],this[_0x3cc144(0x11a)],this['_awaitingChangeset'],[_0x11f580],this[_0x3cc144(0x3f7)]);return _0x5eaeea[_0x3cc144(0x237)](),_0x5eaeea;}['onRemoteChangeset'](_0x208fb6){const _0x4f8b0f=_0x474fca;if(this['_checkMissing'](_0x208fb6))return this['_injector'][_0x4f8b0f(0x192)](_0x3dbf10,this['unitID'],this[_0x4f8b0f(0x11a)],this[_0x4f8b0f(0x2dc)],[],null,[_0x208fb6],this[_0x4f8b0f(0x3f7)]);try{const _0x56c570=this[_0x4f8b0f(0x190)][_0x4f8b0f(0x355)]([_0x208fb6],[this[_0x4f8b0f(0x2dc)]],!0x1);if(_0x1524d[_0x4f8b0f(0x467)](_0x56c570)){const {c1Prime:_0x5cf385,c2Prime:_0x18893b}=_0x56c570;this[_0x4f8b0f(0xf1)](_0x5cf385[0x0]),_0x18893b[0x0][_0x4f8b0f(0x100)]=this['_getCurrentRevision']();const _0x3b8a21=this[_0x4f8b0f(0x306)]['createInstance'](_0x13cd54,this[_0x4f8b0f(0x176)],this[_0x4f8b0f(0x11a)],_0x18893b[0x0],this[_0x4f8b0f(0x3f7)]);return _0x3b8a21[_0x4f8b0f(0x237)](),_0x3b8a21;}return this['_onConflict'](!0x1);}catch(_0x24c7e4){return this[_0x4f8b0f(0x1ac)]['error'](_0x24c7e4),this[_0x4f8b0f(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x13ba25){const _0x54bf2c=_0x474fca,_0x4cc623=this['_revisionService'][_0x54bf2c(0x3c8)](this[_0x54bf2c(0x176)]);if(_0x13ba25[_0x54bf2c(0x158)]<_0x4cc623-0x1)return this;if(this[_0x54bf2c(0x275)](_0x13ba25))return this[_0x54bf2c(0x306)]['createInstance'](_0x3dbf10,this['unitID'],this['type'],null,[],this[_0x54bf2c(0x2dc)],[],this[_0x54bf2c(0x3f7)]);this[_0x54bf2c(0x127)]();const _0x326129=this[_0x54bf2c(0x306)][_0x54bf2c(0x192)](_0x35b41b,this[_0x54bf2c(0x176)],this[_0x54bf2c(0x11a)],this[_0x54bf2c(0x3f7)]);return _0x326129[_0x54bf2c(0x237)](),_0x326129;}[_0x474fca(0x246)](_0x71564e){const _0x14d73f=_0x474fca;return this[_0x14d73f(0x1f3)](!!(_0x71564e!=null&&_0x71564e['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x34f7db=_0x474fca;return this[_0x34f7db(0x306)][_0x34f7db(0x192)](_0x2939d6,this['unitID'],this[_0x34f7db(0x11a)],this[_0x34f7db(0x2dc)],[],this['_handler']);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x5a0da6=_0x474fca;this[_0x5a0da6(0x3f7)]['onSendChangeset'](this[_0x5a0da6(0x2dc)]);}[_0x474fca(0x1f3)](_0x2e19ee){const _0x4a7653=_0x474fca;return this[_0x4a7653(0x306)][_0x4a7653(0x192)](_0xdece6c,this[_0x4a7653(0x176)],this['type'],this[_0x4a7653(0x2dc)],[],this['_handler'],_0x2e19ee);}};_0x13cd54=_0x5bbf9a([_0x5c3c15(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0x9,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1e4)])],_0x13cd54);let _0xb8f612=class extends _0x13eb33{constructor(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x3fb904,_0xe248c6,_0x2b9ed9,_0x469dd3,_0x1372be,_0x5c2609,_0x38a0ca){const _0x2dd55a=_0x474fca;super(_0x350aa7,_0x23518c,_0x185a66,_0x5f35a3,_0x471c98,_0x469dd3,_0x38a0ca,_0xe248c6,_0x2b9ed9),_0x3b7d06(this,'status',_0x2dd55a(0x47a)),(this[_0x2dd55a(0x306)]=_0x3fb904,this[_0x2dd55a(0x1ac)]=_0x1372be,this[_0x2dd55a(0x190)]=_0x5c2609);}[_0x474fca(0x1c2)](_0x137dfe){const _0x85af50=_0x474fca;return this[_0x85af50(0x44b)][_0x85af50(0x277)](_0x137dfe),this;}[_0x474fca(0x124)](_0x111aaf){const _0x768fe3=_0x474fca;if(this[_0x768fe3(0x275)](_0x111aaf))return this['_injector'][_0x768fe3(0x192)](_0x3dbf10,this[_0x768fe3(0x176)],this[_0x768fe3(0x11a)],this[_0x768fe3(0x2dc)],this['_pendingMutations'],null,[_0x111aaf],this['_handler']);try{const _0x1ccabe=this[_0x768fe3(0x190)][_0x768fe3(0x355)]([_0x111aaf],[this[_0x768fe3(0x2dc)]],!0x1);if(_0x1524d[_0x768fe3(0x467)](_0x1ccabe)){const {c1Prime:_0x58e555,c2Prime:_0x4d3dbe}=_0x1ccabe,_0x1b0d8a=this['_transformService']['transformMutationsWithChangeset'](_0x58e555[0x0],this[_0x768fe3(0x44b)]);if(_0x1524d[_0x768fe3(0x286)](_0x1b0d8a)){const {c1Prime:_0x5db8e8,m2Prime:_0x1e78b5}=_0x1b0d8a;return this[_0x768fe3(0xf1)](_0x5db8e8),_0x4d3dbe[0x0]['baseRev']=this[_0x768fe3(0x1d6)](),this[_0x768fe3(0x306)][_0x768fe3(0x192)](_0xb8f612,this['unitID'],this['type'],_0x4d3dbe[0x0],_0x1e78b5,this[_0x768fe3(0x3f7)]);}throw _0x1b0d8a[_0x768fe3(0xf5)];}throw _0x1ccabe['error'];}catch(_0x5e239b){return this[_0x768fe3(0x1ac)]['error'](_0x5e239b),this[_0x768fe3(0x1f3)](!0x1);}}[_0x474fca(0x2c1)](_0x4b31fc){const _0x171b61=_0x474fca;if(this[_0x171b61(0x275)](_0x4b31fc))return this[_0x171b61(0x306)][_0x171b61(0x192)](_0x3dbf10,this[_0x171b61(0x176)],this[_0x171b61(0x11a)],null,this[_0x171b61(0x44b)],this[_0x171b61(0x2dc)],[],this[_0x171b61(0x3f7)]);this[_0x171b61(0x127)]();const _0x1d79ab=this['_injector'][_0x171b61(0x192)](_0x4aa012,this['unitID'],this['type'],this[_0x171b61(0x44b)],this['_handler']);return _0x1d79ab[_0x171b61(0x307)](),_0x1d79ab[_0x171b61(0x237)](),_0x1d79ab;}[_0x474fca(0x246)](_0x405daf){const _0x17d9ce=_0x474fca;return this[_0x17d9ce(0x1f3)](!!(_0x405daf!=null&&_0x405daf['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x5dc24b=_0x474fca;return this[_0x5dc24b(0x306)]['createInstance'](_0x2939d6,this[_0x5dc24b(0x176)],this[_0x5dc24b(0x11a)],this['_awaitingChangeset'],this[_0x5dc24b(0x44b)],this[_0x5dc24b(0x3f7)]);}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0x456e37=_0x474fca;this[_0x456e37(0x3f7)][_0x456e37(0x249)](this[_0x456e37(0x2dc)]);}[_0x474fca(0x1f3)](_0x486c0a){const _0x5d8ec2=_0x474fca;return this['_injector'][_0x5d8ec2(0x192)](_0xdece6c,this[_0x5d8ec2(0x176)],this[_0x5d8ec2(0x11a)],null,this[_0x5d8ec2(0x44b)],this['_handler'],_0x486c0a);}};_0xb8f612=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xa,_0x1524d[_0x474fca(0x439)]),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1e4)])],_0xb8f612);let _0xdece6c=class extends _0x13eb33{constructor(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x1044f2=!0x1,_0x4b8220,_0x18c5e4,_0x329832,_0x4780e8,_0x53e438,_0x1d5d12,_0x4ce071){const _0x26be22=_0x474fca;super(_0x47656d,_0x4895c5,_0x413161,_0x5f02b6,_0x373409,_0x18c5e4,_0x329832,_0x53e438,_0x4780e8),_0x3b7d06(this,_0x26be22(0x332),_0x26be22(0xca)),(this['_isPermissionRej']=_0x1044f2,this[_0x26be22(0x28c)]=_0x4b8220,this[_0x26be22(0x1fc)]=_0x1d5d12,this[_0x26be22(0x21d)]=_0x4ce071,this['_showConflictNotification'](),this[_0x26be22(0xd4)](),this[_0x26be22(0x18d)]());}[_0x474fca(0x1c2)](){return this;}[_0x474fca(0x124)](){return this;}[_0x474fca(0x2c1)](){return this;}[_0x474fca(0x246)](){return this;}[_0x474fca(0x12b)](){return this;}[_0x474fca(0x25a)](){return this;}[_0x474fca(0x167)](){const _0xe535d1=_0x474fca;throw new Error(_0xe535d1(0x1ba));}[_0x474fca(0xd4)](){const _0x585a1c=_0x474fca;this[_0x585a1c(0x40b)][_0x585a1c(0x422)](this['unitID'],this[_0x585a1c(0x11a)],null,[]);}[_0x474fca(0xce)](){const _0xcb0f2b=_0x474fca;this['_isPermissionRej']?this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x228)),'content':this[_0xcb0f2b(0x1fc)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0xcb0f2b(0xac)]({'title':this[_0xcb0f2b(0x1fc)]['t'](_0xcb0f2b(0x1b2)),'content':this['_localeService']['t'](_0xcb0f2b(0x398)),'type':_0xcb0f2b(0xf5),'duration':0x0});}['_disableEditing'](){const _0x2e5b9e=_0x474fca;this['_permissionService'][_0x2e5b9e(0x485)](new _0x21d024[(_0x2e5b9e(0x33c))](this['unitID'])['id'],!0x1);}};_0xdece6c=_0x5bbf9a([_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x3de)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0x9,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x5c3c15(0xc,_0x202279['INotificationService'])],_0xdece6c);let _0x2939d6=class extends _0x13eb33{constructor(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x296e3c,_0x1de77e,_0xca1546,_0x4dbab6,_0x7d11fa){const _0x4884ae=_0x474fca;super(_0x39a46b,_0x46c90f,_0x30cfa8,_0x4c4d10,_0x162bcc,_0x4dbab6,_0x7d11fa,_0x1de77e,_0xca1546),_0x3b7d06(this,_0x4884ae(0x332),_0x4884ae(0x2b3)),this['_injector']=_0x296e3c;}[_0x474fca(0x1c2)](_0x38ef69){const _0x3e722e=_0x474fca;return this['_pendingMutations']['push'](_0x38ef69),this[_0x3e722e(0x237)](),this;}[_0x474fca(0x124)](_0x2207ef){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x474fca(0x2c1)](){const _0x53bcbb=_0x474fca;throw new Error(_0x53bcbb(0x377));}[_0x474fca(0x246)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x474fca(0x12b)](){return this;}['toggleOnline'](){const _0x5ffd1f=_0x474fca,{_injector:_0x28b28d,_pendingMutations:_0x5763d4,_awaitingChangeset:_0x3beeb9,unitID:_0x5ade85,_handler:_0x14d2db,type:_0x3e92ef}=this,_0x9b7478=_0x2ad01d(_0x28b28d,_0x5ade85,_0x3e92ef,_0x3beeb9,_0x5763d4,_0x14d2db);return _0x9b7478 instanceof _0x4aa012?_0x9b7478[_0x5ffd1f(0x307)]():(_0x9b7478 instanceof _0xb8f612||_0x9b7478 instanceof _0x13cd54)&&_0x9b7478[_0x5ffd1f(0x167)](),_0x9b7478;}['resend'](){const _0x470499=_0x474fca;throw new Error(_0x470499(0x104));}};_0x2939d6=_0x5bbf9a([_0x5c3c15(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1f1)]),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1e4)])],_0x2939d6);let _0x3dbf10=class extends _0x13eb33{constructor(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0xe56378,_0x178375,_0x568962,_0x5031be,_0x578f8b,_0x3c7788,_0x18a885,_0x339129,_0x1f924f,_0x22f54f){const _0x73bc81=_0x474fca;super(_0x4a8399,_0x5e5cba,_0x537516,_0x11ea42,_0x568962,_0x339129,_0x1f924f,_0x578f8b,_0x3c7788),_0x3b7d06(this,_0x73bc81(0x332),_0x73bc81(0xec)),(this[_0x73bc81(0x364)]=_0xe56378,this[_0x73bc81(0x218)]=_0x178375,this[_0x73bc81(0x306)]=_0x5031be,this[_0x73bc81(0x1ac)]=_0x18a885,this[_0x73bc81(0x190)]=_0x22f54f);}['onMissedChangesetFetched'](_0x390f9b){const _0x3a9209=_0x474fca;try{const _0x4acd00=[..._0x390f9b,...this['_queuedRemoteChangesets']],_0x18fc15=[this[_0x3a9209(0x2dc)]||this[_0x3a9209(0x364)]][_0x3a9209(0x1cd)](_0x145148=>!!_0x145148);let _0x12f17d,_0x5da7bc;if(_0x18fc15[_0x3a9209(0x2b9)]){const _0x5438be=this[_0x3a9209(0x190)][_0x3a9209(0x355)](_0x4acd00,_0x18fc15,!0x1);if(!_0x1524d[_0x3a9209(0x467)](_0x5438be))throw _0x5438be[_0x3a9209(0xf5)];_0x12f17d=_0x5438be[_0x3a9209(0x1f5)],_0x5da7bc=_0x5438be[_0x3a9209(0x14c)];}else _0x12f17d=_0x4acd00,_0x5da7bc=[];let _0x1a9191=this[_0x3a9209(0x44b)];_0x12f17d[_0x3a9209(0x173)](_0x301e83=>{const _0x50569c=_0x3a9209;let _0x6b8a18;if(_0x1a9191[_0x50569c(0x2b9)]){const _0x137a7f=this[_0x50569c(0x190)]['transformMutationsWithChangeset'](_0x301e83,_0x1a9191);if(!_0x1524d['isTransformMutationsWithChangesetSuccess'](_0x137a7f))throw _0x137a7f[_0x50569c(0xf5)];_0x6b8a18=_0x137a7f[_0x50569c(0x1f5)],_0x1a9191=_0x137a7f[_0x50569c(0x43b)];}else _0x6b8a18=_0x301e83;this[_0x50569c(0xf1)](_0x6b8a18);}),this[_0x3a9209(0x364)]&&this[_0x3a9209(0x127)](),this[_0x3a9209(0x2dc)]&&_0x5da7bc[_0x3a9209(0x2b9)]&&(_0x5da7bc[0x0]['baseRev']=this[_0x3a9209(0x1d6)]());let _0x2ebd88;if(this[_0x3a9209(0x2dc)]&&_0x1a9191[_0x3a9209(0x2b9)]!==0x0)_0x2ebd88=this[_0x3a9209(0x306)]['createInstance'](_0xb8f612,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],_0x1a9191,this[_0x3a9209(0x3f7)]);else{if(this['_awaitingChangeset']&&_0x1a9191[_0x3a9209(0x2b9)]===0x0)_0x5da7bc[0x0][_0x3a9209(0x100)]=this['_getCurrentRevision'](),_0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x13cd54,this[_0x3a9209(0x176)],this[_0x3a9209(0x11a)],_0x5da7bc[0x0],this[_0x3a9209(0x3f7)]);else{if(_0x1a9191[_0x3a9209(0x2b9)]!==0x0){const _0x37a2fb=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x4aa012,this[_0x3a9209(0x176)],this['type'],_0x1a9191,this[_0x3a9209(0x3f7)]);_0x37a2fb[_0x3a9209(0x307)](),_0x2ebd88=_0x37a2fb;}else _0x2ebd88=this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0x35b41b,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x3f7)]);}}return _0x2ebd88['_updateLocalCache'](),_0x2ebd88;}catch(_0xe038c){return this['_logService'][_0x3a9209(0xf5)](_0x3a9209(0x410),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe038c),this[_0x3a9209(0x306)][_0x3a9209(0x192)](_0xdece6c,this['unitID'],this[_0x3a9209(0x11a)],this[_0x3a9209(0x2dc)],this[_0x3a9209(0x44b)],this[_0x3a9209(0x3f7)],!0x1);}}[_0x474fca(0x167)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x474fca(0x1c2)](_0x316644){const _0xda899f=_0x474fca;return this[_0xda899f(0x44b)][_0xda899f(0x277)](_0x316644),this;}['onRemoteChangeset'](_0x46cf80){const _0x376eae=_0x474fca;return this[_0x376eae(0x218)][_0x376eae(0x277)](_0x46cf80),this;}[_0x474fca(0x2c1)](_0x259097){const _0x1e870b=_0x474fca;if(this[_0x1e870b(0x2dc)])return this[_0x1e870b(0x364)]=this[_0x1e870b(0x2dc)],this[_0x1e870b(0x2dc)]=null,this;throw new Error(_0x1e870b(0xe4));}[_0x474fca(0x246)](_0x457d37){const _0x592f0e=_0x474fca;return this[_0x592f0e(0x1f3)](!!(_0x457d37!=null&&_0x457d37['isPermissionRej']));}[_0x474fca(0x12b)](){const _0x4f3f2c=_0x474fca;return this[_0x4f3f2c(0x306)][_0x4f3f2c(0x192)](_0x2939d6,this[_0x4f3f2c(0x176)],this[_0x4f3f2c(0x11a)],this[_0x4f3f2c(0x2dc)],this[_0x4f3f2c(0x44b)],this[_0x4f3f2c(0x3f7)]);}[_0x474fca(0x25a)](){return this;}['_onConflict'](_0xd63299){const _0x26e0bf=_0x474fca;return this[_0x26e0bf(0x306)][_0x26e0bf(0x192)](_0xdece6c,this[_0x26e0bf(0x176)],this[_0x26e0bf(0x11a)],this[_0x26e0bf(0x2dc)],this[_0x26e0bf(0x44b)],this[_0x26e0bf(0x3f7)],_0xd63299);}};_0x3dbf10=_0x5bbf9a([_0x5c3c15(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x5c3c15(0x8,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x5c3c15(0x9,_0x132eb9[_0x474fca(0x1a8)](_0x48d167['LocalCacheService'])),_0x5c3c15(0xa,_0x132eb9[_0x474fca(0xad)]),_0x5c3c15(0xb,_0x132eb9['ICommandService']),_0x5c3c15(0xc,_0x132eb9[_0x474fca(0x1e4)]),_0x5c3c15(0xd,_0x1524d[_0x474fca(0x439)])],_0x3dbf10);function _0x2ad01d(_0x5c1524,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748){const _0x567b37=_0x474fca;return _0x199c40&&_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0xb8f612,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdf2e62,_0xdb9748):_0x199c40?_0x5c1524['createInstance'](_0x13cd54,_0x5c51aa,_0x7c7ce4,_0x199c40,_0xdb9748):_0xdf2e62[_0x567b37(0x2b9)]?_0x5c1524[_0x567b37(0x192)](_0x4aa012,_0x5c51aa,_0x7c7ce4,_0xdf2e62,_0xdb9748):_0x5c1524[_0x567b37(0x192)](_0x35b41b,_0x5c51aa,_0x7c7ce4,_0xdb9748);}var _0x5abdea=Object[_0x474fca(0x109)],_0x5cc821=Object[_0x474fca(0xcc)],_0x12d55b=(_0x358546,_0x20dba2,_0x588078,_0x462060)=>{const _0x31d75d=_0x474fca;for(var _0x425133=_0x462060>0x1?void 0x0:_0x462060?_0x5cc821(_0x20dba2,_0x588078):_0x20dba2,_0x4be74f=_0x358546[_0x31d75d(0x2b9)]-0x1,_0x5d0378;_0x4be74f>=0x0;_0x4be74f--)(_0x5d0378=_0x358546[_0x4be74f])&&(_0x425133=(_0x462060?_0x5d0378(_0x20dba2,_0x588078,_0x425133):_0x5d0378(_0x425133))||_0x425133);return _0x462060&&_0x425133&&_0x5abdea(_0x20dba2,_0x588078,_0x425133),_0x425133;},_0x4ddf7c=(_0x121eb2,_0x3cf409)=>(_0x19b82c,_0x522853)=>_0x3cf409(_0x19b82c,_0x522853,_0x121eb2);_0x48d167[_0x474fca(0x251)]=class extends _0x132eb9['RxDisposable']{constructor(_0x34a929,_0x5791f7,_0x3f2591){const _0x268893=_0x474fca;super(),_0x3b7d06(this,_0x268893(0xeb),new Map()),_0x3b7d06(this,_0x268893(0x44d),new _0x3639ee[(_0x268893(0x1cb))]()),(this[_0x268893(0x306)]=_0x34a929,this[_0x268893(0x32f)]=_0x5791f7,this[_0x268893(0x1bd)]=_0x3f2591,this[_0x268893(0x1d5)]());}['dispose'](){const _0x2d8124=_0x474fca;super[_0x2d8124(0x19a)](),this['_entities'][_0x2d8124(0x173)](_0x30e94f=>_0x30e94f[_0x2d8124(0x19a)]()),this['_entities'][_0x2d8124(0x412)]();}[_0x474fca(0x468)](_0x38f885){const _0x58682f=_0x474fca;var _0x429993;return(_0x429993=this['_entities'][_0x58682f(0x261)](_0x38f885))!=null?_0x429993:null;}[_0x474fca(0x1c8)](_0x513a52){const _0x55c8e4=_0x474fca,_0x33867d=this[_0x55c8e4(0x468)](_0x513a52);return _0x33867d?_0x3639ee['of'](_0x33867d):this[_0x55c8e4(0x44d)][_0x55c8e4(0x195)](_0x5d8ab5[_0x55c8e4(0x1cd)](_0x381ac5=>_0x381ac5[_0x55c8e4(0x176)]===_0x513a52));}['_init'](){const _0x1dc355=_0x474fca;this[_0x1dc355(0x1bd)][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x1a0)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x2e1)](async _0x1a275f=>{const _0x250395=_0x1dc355,_0x1db809=_0x1a275f[_0x250395(0x225)](),_0xcdb38d=await this[_0x250395(0x3ad)](_0x1db809,_0x2f5f8c['UNIVER_SHEET']);this[_0x250395(0xeb)][_0x250395(0xbe)](_0x1db809,_0xcdb38d);}),this['_univerInstanceService'][_0x1dc355(0x25b)](_0x132eb9[_0x1dc355(0x44e)][_0x1dc355(0x14d)])['pipe'](_0x3639ee[_0x1dc355(0x37a)](this['dispose$']),_0x5d8ab5[_0x1dc355(0x370)](0x10))[_0x1dc355(0x195)](_0x5d8ab5[_0x1dc355(0x1cd)](_0x2938ba=>!_0x2938ba[_0x1dc355(0x225)]()['startsWith']('__')))[_0x1dc355(0x2e1)](async _0x4aac91=>{const _0x2b8cad=_0x1dc355,_0x44889a=_0x4aac91[_0x2b8cad(0x225)](),_0xfd7d12=await this[_0x2b8cad(0x3ad)](_0x44889a,_0x2f5f8c[_0x2b8cad(0x14d)]);this[_0x2b8cad(0xeb)][_0x2b8cad(0xbe)](_0x44889a,_0xfd7d12);}),_0x3639ee['merge'](this[_0x1dc355(0x1bd)]['getTypeOfUnitDisposed$'](_0x132eb9['UniverInstanceType']['UNIVER_SHEET']),this[_0x1dc355(0x1bd)][_0x1dc355(0x2b7)](_0x132eb9[_0x1dc355(0x44e)]['UNIVER_DOC']))[_0x1dc355(0x195)](_0x3639ee[_0x1dc355(0x37a)](this[_0x1dc355(0x2b5)]))[_0x1dc355(0x2e1)](_0x240efe=>{const _0x339559=_0x1dc355,_0x57faef=_0x240efe[_0x339559(0x225)](),_0xf5359d=this[_0x339559(0xeb)][_0x339559(0x261)](_0x57faef);_0xf5359d&&(_0xf5359d['dispose'](),this['_entities'][_0x339559(0x224)](_0x57faef));});}async[_0x474fca(0x3ad)](_0x3e1f78,_0x478e86){const _0x1fa046=_0x474fca,_0x42285f=await this[_0x1fa046(0x32f)][_0x1fa046(0x21a)](_0x3e1f78),_0x345b19=this[_0x1fa046(0x306)]['createInstance'](this['_getCtorByUniverType'](_0x478e86),_0x3e1f78,_0x478e86,_0x42285f);return await _0x345b19[_0x1fa046(0x1ed)](),this[_0x1fa046(0x44d)]['next'](_0x345b19),_0x345b19;}[_0x474fca(0x161)](_0x14031e){const _0x3e5182=_0x474fca;switch(_0x14031e){case _0x2f5f8c[_0x3e5182(0x14d)]:return _0x333751;case _0x2f5f8c[_0x3e5182(0x1a0)]:return _0x48d167[_0x3e5182(0x281)];default:throw new Error(_0x3e5182(0xf9)+_0x14031e);}}},_0x48d167['CollaborationController']=_0x12d55b([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x251)]),_0x4ddf7c(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x4ddf7c(0x2,_0x132eb9[_0x474fca(0x22d)])],_0x48d167['CollaborationController']);let _0x13bd7a=class extends _0x132eb9['RxDisposable']{constructor(_0xc9867d,_0x2ea5a2,_0x270ca0,_0x43f322,_0x45a445,_0x48d1eb,_0x17d260,_0x4256aa,_0x3bcab7,_0x46a792,_0x1631f1,_0x22d767,_0x58b552){const _0x9e307=_0x474fca;super(),_0x3b7d06(this,_0x9e307(0x138),new _0x3639ee[(_0x9e307(0x2a0))](null)),_0x3b7d06(this,_0x9e307(0x38a),this[_0x9e307(0x138)][_0x9e307(0x39b)]()),_0x3b7d06(this,_0x9e307(0x282)),_0x3b7d06(this,_0x9e307(0x13b),!0x1),_0x3b7d06(this,_0x9e307(0x382),this['state$']['pipe'](_0x5d8ab5['map'](_0xb7b6f7=>_0xb7b6f7?_0xb7b6f7[_0x9e307(0x332)]:_0x3e6ce[_0x9e307(0x35a)]),_0x5d8ab5[_0x9e307(0x426)](0x1))),_0x3b7d06(this,_0x9e307(0x1bc),!0x1),_0x3b7d06(this,'_remoteChangesetQueue',[]),(this[_0x9e307(0x176)]=_0xc9867d,this['_type']=_0x2ea5a2,this[_0x9e307(0x1b5)]=_0x270ca0,this[_0x9e307(0x306)]=_0x43f322,this[_0x9e307(0x40b)]=_0x45a445,this[_0x9e307(0x3bb)]=_0x48d1eb,this['_localeService']=_0x17d260,this[_0x9e307(0x257)]=_0x4256aa,this[_0x9e307(0x1ac)]=_0x3bcab7,this['_commandService']=_0x46a792,this[_0x9e307(0x1af)]=_0x1631f1,this[_0x9e307(0x28c)]=_0x22d767,this[_0x9e307(0x10a)]=_0x58b552);}get[_0x474fca(0x311)](){return this['_state'];}async['init'](){const _0x5c9260=_0x474fca;if(this[_0x5c9260(0x311)])throw new Error(_0x5c9260(0x448));await this[_0x5c9260(0x1d5)]();}['pauseCollaboration'](){const _0x13139c=_0x474fca;return this['_collaborationPaused']=!0x0,_0x132eb9[_0x13139c(0x2c0)](()=>{const _0x53bfc9=_0x13139c;this[_0x53bfc9(0x13b)]=!0x1,this[_0x53bfc9(0x172)]();});}[_0x474fca(0x269)](_0xe5c1ce){const _0x516c32=_0x474fca;this[_0x516c32(0x282)]=_0xe5c1ce,this['_state$'][_0x516c32(0x452)](_0xe5c1ce);}async[_0x474fca(0x1d5)](){const _0x573289=_0x474fca;var _0x418132;return this[_0x573289(0x269)](await this['_createInitialState']()),this[_0x573289(0x10a)]&&((_0x418132=this['_singleActiveUnitService'])==null||_0x418132[_0x573289(0x40f)](this[_0x573289(0x176)]),this['disposeWithMe'](_0x132eb9[_0x573289(0x2c0)](this[_0x573289(0x10a)][_0x573289(0x3e8)](this[_0x573289(0x176)])['subscribe'](_0x5973af=>{const _0x7b4b62=_0x573289;this[_0x7b4b62(0x1ac)][_0x7b4b62(0x19c)](_0x7b4b62(0x39d),_0x7b4b62(0x143),_0x5973af),_0x5973af===_0x261697[_0x7b4b62(0x47b)]?(this[_0x7b4b62(0x1af)]['show']({'content':this['_localeService']['t'](_0x7b4b62(0x171)),'type':_0x59ab28[_0x7b4b62(0x336)][_0x7b4b62(0x19f)]}),this['_permissionService'][_0x7b4b62(0x485)](new _0x21d024[(_0x7b4b62(0x33c))](this['unitID'])['id'],!0x1)):this['_permissionService']['updatePermissionPoint'](new _0x21d024['WorkbookEditablePermission'](this[_0x7b4b62(0x176)])['id'],!0x0);})))),this[_0x573289(0x26e)](_0x132eb9[_0x573289(0x2c0)](this['_session'][_0x573289(0x326)][_0x573289(0x2e1)](_0x3dbee2=>{const _0x9c82c2=_0x573289;_0x3dbee2===_0x139854[_0x9c82c2(0x31c)]?this[_0x9c82c2(0x197)]():_0x3dbee2===_0x139854[_0x9c82c2(0x35a)]&&this[_0x9c82c2(0x24a)]();}))),this['disposeWithMe'](_0x132eb9['toDisposable'](this[_0x573289(0x1b5)][_0x573289(0x428)][_0x573289(0x2e1)](_0x609814=>{const _0xd952b8=_0x573289;try{switch(_0x609814[_0xd952b8(0x31f)]){case _0x1524d[_0xd952b8(0x2b2)]['NEW_CHANGESETS']:{this[_0xd952b8(0x309)](_0x1524d[_0xd952b8(0x38f)](_0x609814[_0xd952b8(0xe5)]));break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x2d3)]:{this['_onRemoteACK'](_0x609814[_0xd952b8(0xe5)]);break;}case _0x1524d[_0xd952b8(0x2b2)][_0xd952b8(0x455)]:{this[_0xd952b8(0x36a)]();break;}case _0x1524d['CollaborationEvent'][_0xd952b8(0x464)]:{this['_onFetchMissResult'](_0x609814[_0xd952b8(0xe5)][_0xd952b8(0x341)][_0xd952b8(0x18f)](_0x3c3972=>_0x1524d['parseProtocolChangeset'](_0x3c3972)));break;}case _0x1524d['CollaborationEvent']['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x242abe){throw console['error'](_0xd952b8(0x427),_0x242abe),_0x242abe;}}))),this['_state'];}[_0x474fca(0x1f8)](){const _0x2e2d31=_0x474fca;this[_0x2e2d31(0x1bc)]=!0x1;}[_0x474fca(0x2fb)](){const _0x25038f=_0x474fca;if(this['_transitionLocked'])throw new Error(_0x25038f(0x3d8));this[_0x25038f(0x1bc)]=!0x0;}[_0x474fca(0x373)](_0x516eeb){const _0x44b684=_0x474fca;this['_lockTransition'](),this[_0x44b684(0x269)](this[_0x44b684(0x282)][_0x44b684(0x1c2)](_0x516eeb)),this[_0x44b684(0x1f8)]();}[_0x474fca(0x309)](_0x59fc79){const _0xd0e4ef=_0x474fca;if(!(_0x59fc79['revision']<=this['_revisionService'][_0xd0e4ef(0x3c8)](this[_0xd0e4ef(0x176)]))){if(this['_collaborationPaused']){this[_0xd0e4ef(0x14b)][_0xd0e4ef(0x277)](_0x59fc79);return;}this[_0xd0e4ef(0x245)](_0x59fc79);}}['_exhaustRemoteChangesetQueue'](){const _0x2e3583=_0x474fca;this[_0x2e3583(0x14b)][_0x2e3583(0x173)](_0x3649d1=>this[_0x2e3583(0x245)](_0x3649d1)),this[_0x2e3583(0x14b)]=[];}[_0x474fca(0x245)](_0x46eba9){const _0x2a5f93=_0x474fca,_0x43bfae=this[_0x2a5f93(0x3bb)]['interceptor'][_0x2a5f93(0x431)](this[_0x2a5f93(0x3bb)][_0x2a5f93(0x163)][_0x2a5f93(0x265)]()[_0x2a5f93(0x39f)])(_0x46eba9[_0x2a5f93(0x256)],null)||_0x46eba9[_0x2a5f93(0x256)],_0x475fea={..._0x46eba9,'mutations':_0x43bfae};this['_lockTransition'](),this['_updateState'](this['_state'][_0x2a5f93(0x124)](_0x475fea)),this[_0x2a5f93(0x1f8)]();}[_0x474fca(0x1ca)](_0x3787e8){const _0x121536=_0x474fca;this[_0x121536(0x2fb)](),this[_0x121536(0x269)](this['_state'][_0x121536(0x2c1)](_0x3787e8)),this['_unlockTransition']();}['_onRemoteRejected'](_0x377207){const _0x226632=_0x474fca;this[_0x226632(0x2fb)](),this['_updateState'](this[_0x226632(0x282)][_0x226632(0x246)](_0x377207)),this['_unlockTransition']();}['_onFetchMissResult'](_0x7ab478){const _0x522a3a=_0x474fca;if(!(this['_state']instanceof _0x3dbf10))throw new TypeError(_0x522a3a(0x33b));const _0x574ebc=_0x7ab478[_0x522a3a(0x18f)](_0x539efd=>{const _0x21cecd=_0x522a3a,_0x45c7d1=this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x431)](this[_0x21cecd(0x3bb)][_0x21cecd(0x163)][_0x21cecd(0x265)]()[_0x21cecd(0x39f)])(_0x539efd['mutations'],null)||_0x539efd[_0x21cecd(0x256)];return{..._0x539efd,'mutations':_0x45c7d1};});this['_lockTransition'](),this[_0x522a3a(0x269)](this[_0x522a3a(0x282)][_0x522a3a(0x9d)](_0x574ebc)),this[_0x522a3a(0x1f8)]();}['_toggleOffline'](){const _0xe880c4=_0x474fca;this[_0xe880c4(0x2fb)](),this['_updateState'](this[_0xe880c4(0x282)][_0xe880c4(0x12b)]()),this[_0xe880c4(0x1f8)]();}[_0x474fca(0x197)](){const _0x25189d=_0x474fca;this[_0x25189d(0x2fb)](),this['_updateState'](this[_0x25189d(0x282)][_0x25189d(0x25a)]()),this['_unlockTransition']();}async['_createInitialState'](){return new Promise(_0x27cfdc=>{const _0x16bd62=_0x2d55;this[_0x16bd62(0x1b5)]['sessionStatus$'][_0x16bd62(0x195)](_0x5d8ab5[_0x16bd62(0x3a3)](0x1))[_0x16bd62(0x2e1)](async _0x2d78e4=>{const _0x1de45c=_0x16bd62;_0x27cfdc(await this[_0x1de45c(0x304)](_0x2d78e4===_0x139854[_0x1de45c(0x31c)]));});});}['_createHandler'](){const _0x3eb925=this['unitID'];return{'onStateChange':(_0x5e83cb,_0x59be63)=>{const _0x4306b7=_0x2d55;if(_0x5e83cb!==this['_state'])throw new Error(_0x4306b7(0x434)+_0x5e83cb[_0x4306b7(0x332)]+_0x4306b7(0x99)+_0x59be63['status']+_0x4306b7(0x348)+this[_0x4306b7(0x282)]['status']);this['_updateState'](_0x59be63);},'onSendChangeset':_0x1317d7=>{const _0x3cf0a2=_0x2d55,_0x1ee12a={'eventID':_0x1524d[_0x3cf0a2(0x2b2)][_0x3cf0a2(0x3c3)],'data':{'unitID':_0x1317d7[_0x3cf0a2(0x176)],'unitType':this['_type'],'changeset':_0x1317d7,'memberID':this[_0x3cf0a2(0x1b5)][_0x3cf0a2(0xda)]()}};this['_session']['send'](_0x1ee12a,this[_0x3cf0a2(0x176)]);},'onMissingChangesets':({from:_0x19c987,to:_0x20cf47})=>{const _0x198435=_0x2d55;this['_logService'][_0x198435(0x19c)]('[CollaborationEntity]',_0x198435(0x13f)+_0x19c987+_0x198435(0x2a9)+_0x20cf47);const _0x49e1f3={'eventID':_0x1524d[_0x198435(0x2b2)]['FETCH_MISSING'],'data':{'unitID':_0x3eb925,'unitType':this['_type'],'from':_0x19c987,'to':_0x20cf47}};this[_0x198435(0x1b5)][_0x198435(0x31a)](_0x49e1f3,this[_0x198435(0x176)]);}};}async['_createInitialStateImpl'](_0xb5847d){const _0x25d071=_0x474fca;var _0x5d7f99,_0x56d04c;const _0x4e8997=await this[_0x25d071(0x40b)][_0x25d071(0xee)](this['unitID']),_0x24679f=(_0x5d7f99=_0x4e8997==null?void 0x0:_0x4e8997[_0x25d071(0x256)])!=null?_0x5d7f99:[],_0x197f3f=(_0x56d04c=_0x4e8997==null?void 0x0:_0x4e8997['awaitingChangeset'])!=null?_0x56d04c:null,_0x1e8ffa=this['unitID'];try{this[_0x25d071(0x114)](_0x197f3f,_0x24679f);}catch(_0xed843){this['_logService']['error'](_0xed843);}const _0x3ca2a2=this[_0x25d071(0x320)]();if(_0xb5847d){const _0x52594e=_0x2ad01d(this[_0x25d071(0x306)],_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);return _0x52594e instanceof _0x4aa012?_0x52594e[_0x25d071(0x307)]():(_0x52594e instanceof _0xb8f612||_0x52594e instanceof _0x13cd54)&&_0x52594e[_0x25d071(0x167)](),_0x52594e;}return this['_injector'][_0x25d071(0x192)](_0x2939d6,_0x1e8ffa,this[_0x25d071(0x1a2)],_0x197f3f,_0x24679f,_0x3ca2a2);}[_0x474fca(0x114)](_0x5abb38,_0x522aa2){const _0x3422a0=_0x474fca;var _0x1b9205,_0x434bc8;const _0x13d8ba=this[_0x3422a0(0x3bb)][_0x3422a0(0x163)][_0x3422a0(0x431)](this['_compressMutationService'][_0x3422a0(0x163)][_0x3422a0(0x265)]()[_0x3422a0(0x39f)]);(_0x1b9205=_0x13d8ba((_0x5abb38==null?void 0x0:_0x5abb38['mutations'])||[],null))==null||_0x1b9205[_0x3422a0(0x173)](_0x5a1c8f=>this['_commandService'][_0x3422a0(0x15b)](_0x5a1c8f['id'],_0x5a1c8f[_0x3422a0(0xe6)])),(_0x434bc8=_0x13d8ba(_0x522aa2||[],null))==null||_0x434bc8['forEach'](_0x151195=>this[_0x3422a0(0x1c9)][_0x3422a0(0x15b)](_0x151195['id'],_0x151195[_0x3422a0(0xe6)]));}};_0x13bd7a=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector'])),_0x4ddf7c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d['RevisionService'])),_0x4ddf7c(0x8,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0x9,_0x132eb9['ICommandService']),_0x4ddf7c(0xa,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xc,_0x132eb9['Optional'](_0x54135c))],_0x13bd7a);let _0x333751=class extends _0x13bd7a{constructor(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x4b449f,_0x38621e,_0x4d7e3c,_0x36b437,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4){const _0x58f61b=_0x474fca;super(_0x1e1cac,_0x4c7ce6,_0xd013ef,_0x48f69b,_0x211159,_0x1ac837,_0x9a042d,_0x521834,_0x58d2ba,_0x11160b,_0x4d1ac4,_0xf03f13,_0xdab3d4),this[_0x58f61b(0x176)]=_0x1e1cac,this[_0x58f61b(0x11a)]=_0x4c7ce6,this[_0x58f61b(0x169)]=_0xd013ef,this[_0x58f61b(0x2ee)]=_0x4b449f,this[_0x58f61b(0x134)]=_0x38621e,this[_0x58f61b(0x41e)]=_0x4d7e3c,this[_0x58f61b(0x43f)]=_0x36b437;}[_0x474fca(0x320)](){const _0x7f317c=_0x474fca,_0x26e800=super[_0x7f317c(0x320)]();return _0x26e800[_0x7f317c(0x477)]=_0x152b3d=>this[_0x7f317c(0x134)][_0x7f317c(0x347)](_0x152b3d),_0x26e800[_0x7f317c(0x2f1)]=_0x55ef00=>this[_0x7f317c(0x41e)][_0x7f317c(0x31d)](_0x55ef00),_0x26e800['onSyncEditingCollabCursor']=_0x30019d=>this['_docSyncEditingCollabCursorService'][_0x7f317c(0x3d0)](_0x30019d),_0x26e800[_0x7f317c(0x313)]=_0x4ee9cf=>this['_docTransformIMECacheService'][_0x7f317c(0x396)](_0x4ee9cf),_0x26e800;}async[_0x474fca(0x1d5)](){const _0x1a79db=_0x474fca,_0x2af204=await super[_0x1a79db(0x1d5)]();return this[_0x1a79db(0x26e)](this[_0x1a79db(0x1c9)][_0x1a79db(0x344)]((_0x4ea122,_0xf4d34e)=>{const _0x4d80ab=_0x1a79db;if(_0x4ea122['type']!==_0x132eb9['CommandType'][_0x4d80ab(0x14f)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x38b)]||_0xf4d34e!=null&&_0xf4d34e[_0x4d80ab(0x227)])return;const _0x322d15=_0x4ea122[_0x4d80ab(0xe6)];if((_0x322d15==null?void 0x0:_0x322d15[_0x4d80ab(0xa5)])!==this[_0x4d80ab(0x176)])return;let _0x16ea42=_0x4ea122;if(_0x16ea42['id']===_0x4b287a[_0x4d80ab(0x346)]['id']){const _0x574c00=_0x16ea42[_0x4d80ab(0xe6)];_0x16ea42={'id':_0x4b287a[_0x4d80ab(0x346)]['id'],'type':_0x132eb9[_0x4d80ab(0x103)][_0x4d80ab(0x14f)],'params':{'unitId':_0x574c00[_0x4d80ab(0xa5)],'actions':_0x574c00[_0x4d80ab(0xaf)],'textRanges':null}};}const _0x4a82ac=this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)]['fetchThroughInterceptors'](this[_0x4d80ab(0x3bb)][_0x4d80ab(0x163)][_0x4d80ab(0x265)]()[_0x4d80ab(0x469)])([_0x16ea42],null)||[_0x16ea42];this[_0x4d80ab(0x373)](_0x4a82ac[0x0]);})),_0x2af204;}};_0x333751=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167[_0x474fca(0x27d)])),_0x4ddf7c(0x5,_0x132eb9['Inject'](_0x1524d['CompressMutationService'])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)])),_0x4ddf7c(0x7,_0x132eb9['Inject'](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x4b287a['DocStateChangeManagerService'])),_0x4ddf7c(0x9,_0x132eb9['Inject'](_0x5e5e64)),_0x4ddf7c(0xa,_0x132eb9['Inject'](_0x49cc76)),_0x4ddf7c(0xb,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xe,_0x202279[_0x474fca(0x123)]),_0x4ddf7c(0xf,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0x10,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x333751),_0x48d167[_0x474fca(0x281)]=class extends _0x13bd7a{constructor(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x51cc2a,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce){const _0x3f2841=_0x474fca;super(_0x42f344,_0x5997f3,_0x285d59,_0x3a52a9,_0x1349ff,_0x2535e7,_0x1d28ea,_0x5d0fbd,_0x4882e9,_0x24b456,_0x5978c9,_0x59c2dc,_0x3a34ce),this[_0x3f2841(0x176)]=_0x42f344,this[_0x3f2841(0x11a)]=_0x5997f3,this[_0x3f2841(0x169)]=_0x285d59,this[_0x3f2841(0x42a)]=_0x51cc2a;}[_0x474fca(0x320)](){const _0x45e8dd=_0x474fca,_0x289f32=super[_0x45e8dd(0x320)]();return _0x289f32[_0x45e8dd(0x2f1)]=_0x1053fb=>this['_sheetTransformSelectionsService'][_0x45e8dd(0x31d)](_0x1053fb),_0x289f32;}async[_0x474fca(0x1d5)](){const _0x3762dd=_0x474fca,_0x24a6e8=await super[_0x3762dd(0x1d5)]();return this[_0x3762dd(0x26e)](this[_0x3762dd(0x1c9)][_0x3762dd(0x344)]((_0x3b7154,_0x4bd166)=>{const _0x3799c4=_0x3762dd;if(_0x3b7154[_0x3799c4(0x11a)]!==_0x132eb9['CommandType'][_0x3799c4(0x14f)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x38b)]||_0x4bd166!=null&&_0x4bd166[_0x3799c4(0x227)])return;const _0x530213=_0x3b7154[_0x3799c4(0xe6)];if((_0x530213==null?void 0x0:_0x530213[_0x3799c4(0xa5)])!==this[_0x3799c4(0x176)])return;const _0x5932a5=_0x3b7154,_0x51295d=this[_0x3799c4(0x3bb)]['interceptor'][_0x3799c4(0x431)](this[_0x3799c4(0x3bb)][_0x3799c4(0x163)][_0x3799c4(0x265)]()[_0x3799c4(0x469)])([_0x5932a5],null)||[_0x5932a5];this[_0x3799c4(0x373)](_0x51295d[0x0]);})),_0x24a6e8;}},_0x48d167[_0x474fca(0x281)]=_0x12d55b([_0x4ddf7c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x4ddf7c(0x4,_0x132eb9['Inject'](_0x48d167['LocalCacheService'])),_0x4ddf7c(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x366)])),_0x4ddf7c(0x6,_0x132eb9['Inject'](_0x132eb9['LocaleService'])),_0x4ddf7c(0x7,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x327)])),_0x4ddf7c(0x8,_0x132eb9['Inject'](_0x40081e)),_0x4ddf7c(0x9,_0x132eb9[_0x474fca(0xad)]),_0x4ddf7c(0xa,_0x132eb9[_0x474fca(0x1f1)]),_0x4ddf7c(0xb,_0x202279['IMessageService']),_0x4ddf7c(0xc,_0x132eb9[_0x474fca(0x3de)]),_0x4ddf7c(0xd,_0x132eb9[_0x474fca(0x199)](_0x54135c))],_0x48d167[_0x474fca(0x281)]);const _0x600859=[_0x474fca(0x290),_0x474fca(0x32d),_0x474fca(0x3ac),'red300',_0x474fca(0x2eb),_0x474fca(0x102)];class _0x35bdf6 extends _0x132eb9[_0x474fca(0x177)]{constructor(){const _0x491b88=_0x474fca;super(...arguments),_0x3b7d06(this,'_assignedColors',new Map()),_0x3b7d06(this,_0x491b88(0x483),0x0);}['assignAColorForMemberID'](_0x4e2718){const _0x5bd2af=_0x474fca;if(this[_0x5bd2af(0x2b4)][_0x5bd2af(0x400)](_0x4e2718))return this['_assignedColors']['get'](_0x4e2718);const _0x3ffa1b=_0x600859[this['_colorIndex']];return this[_0x5bd2af(0x483)]=(this['_colorIndex']+0x1)%_0x600859[_0x5bd2af(0x2b9)],this[_0x5bd2af(0x2b4)]['set'](_0x4e2718,_0x3ffa1b),_0x3ffa1b;}}var _0xff3f98=Object[_0x474fca(0x109)],_0x4eb774=Object[_0x474fca(0xcc)],_0x3d7b04=(_0x479827,_0x4bff20,_0x41f277,_0x344cd0)=>{const _0x4bb534=_0x474fca;for(var _0x15fef4=_0x344cd0>0x1?void 0x0:_0x344cd0?_0x4eb774(_0x4bff20,_0x41f277):_0x4bff20,_0x2127c3=_0x479827[_0x4bb534(0x2b9)]-0x1,_0x57cdc4;_0x2127c3>=0x0;_0x2127c3--)(_0x57cdc4=_0x479827[_0x2127c3])&&(_0x15fef4=(_0x344cd0?_0x57cdc4(_0x4bff20,_0x41f277,_0x15fef4):_0x57cdc4(_0x15fef4))||_0x15fef4);return _0x344cd0&&_0x15fef4&&_0xff3f98(_0x4bff20,_0x41f277,_0x15fef4),_0x15fef4;},_0x42ea88=(_0x5abae4,_0x2b61bb)=>(_0x4b52a8,_0x1133b0)=>_0x2b61bb(_0x4b52a8,_0x1133b0,_0x5abae4);const _0x3bb534=0x12c,_0x499fde=0x64,_0x483a14=()=>{let _0x4ebb4c=[],_0x200388=!0x1;return _0x21a443=>{const _0x18036d=_0x2d55;_0x4ebb4c[_0x18036d(0x277)](_0x21a443),_0x200388||(_0x200388=!0x0,setTimeout(()=>{const _0x4166c8=_0x18036d;_0x4ebb4c[_0x4166c8(0x173)](_0x40eaa7=>_0x40eaa7()),_0x4ebb4c=[],_0x200388=!0x1;}));};};let _0x3ff04d=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x5a53c3,_0x2a0891,_0x42e6dc,_0x3b393c,_0x3b3589,_0x3e7359,_0x3857a5,_0x376b99){const _0xff2515=_0x474fca;super(),_0x3b7d06(this,_0xff2515(0x13e),!0x1),_0x3b7d06(this,_0xff2515(0x1d5),!0x1),_0x3b7d06(this,_0xff2515(0x19b),new _0x3639ee[(_0xff2515(0x2a0))](new Map())),_0x3b7d06(this,_0xff2515(0x1f9),this[_0xff2515(0x19b)][_0xff2515(0x39b)]()),_0x3b7d06(this,_0xff2515(0x2bf),new _0x3639ee[(_0xff2515(0x2a0))]([])),_0x3b7d06(this,_0xff2515(0x2cb),this['_roomMembers$']['pipe'](_0x3639ee['debounceTime'](_0x3bb534))),_0x3b7d06(this,'_updateLocalCursor',_0x45c518((_0x1fdc9c,_0x55bc56)=>{const _0x239b61=_0xff2515,_0x699529={'eventID':_0x1524d[_0x239b61(0x2b2)][_0x239b61(0x2f5)],'data':{'unitID':this[_0x239b61(0x176)],'memberID':this['_session'][_0x239b61(0xda)](),'selection':_0x57f53f['serializeRangeWithSheet'](_0x1fdc9c,_0x55bc56['range'])}};this[_0x239b61(0x1b5)][_0x239b61(0x31a)](_0x699529,this[_0x239b61(0x176)]);},_0x499fde)),(this[_0xff2515(0x176)]=_0x5a53c3,this[_0xff2515(0x1b5)]=_0x2a0891,this['_injector']=_0x42e6dc,this['_colorAssignService']=_0x3b393c,this['_memberService']=_0x3b3589,this[_0xff2515(0x1bd)]=_0x3e7359,this[_0xff2515(0x1c9)]=_0x3857a5,this[_0xff2515(0x395)]=_0x376b99);}get[_0x474fca(0x24c)](){const _0x1e0514=_0x474fca;return this[_0x1e0514(0x19b)][_0x1e0514(0x2ff)]();}get[_0x474fca(0x372)](){return this['_roomMembers$']['getValue']();}[_0x474fca(0x19a)](){const _0x4fe87b=_0x474fca;super[_0x4fe87b(0x19a)](),this[_0x4fe87b(0x19b)]['next'](new Map()),this[_0x4fe87b(0x19b)][_0x4fe87b(0x25f)](),this['_roomMembers$'][_0x4fe87b(0x452)]([]),this['_roomMembers$']['complete']();}[_0x474fca(0x1ed)](){const _0x2d7faa=_0x474fca;this[_0x2d7faa(0x1d5)]||(this[_0x2d7faa(0x1d5)]=!0x0,this['_session'][_0x2d7faa(0x326)][_0x2d7faa(0x195)](_0x3639ee[_0x2d7faa(0x37a)](this[_0x2d7faa(0x2b5)]))[_0x2d7faa(0x2e1)](_0x1ea42b=>{const _0x1480ec=_0x2d7faa;_0x1ea42b===_0x139854[_0x1480ec(0x31c)]?this[_0x1480ec(0x197)]():this[_0x1480ec(0x24a)]();}),this[_0x2d7faa(0x1b5)]['event$']['pipe'](_0x3639ee[_0x2d7faa(0x37a)](this['dispose$']))[_0x2d7faa(0x2e1)](_0x29d0e1=>{const _0x1c544a=_0x2d7faa,_0xdfbfe6=_0x29d0e1[_0x1c544a(0x31f)];_0xdfbfe6===_0x1524d[_0x1c544a(0x2b2)][_0x1c544a(0x2f5)]&&this[_0x1c544a(0x11b)](_0x29d0e1),_0xdfbfe6===_0x1524d['CollaborationEvent'][_0x1c544a(0x458)]&&this[_0x1c544a(0x37d)](_0x29d0e1);}),this['_onRefRangeChange'](),this[_0x2d7faa(0x26e)](this[_0x2d7faa(0x1c9)][_0x2d7faa(0x344)](_0x4679cf=>{const _0x48d526=_0x2d7faa;if(this[_0x48d526(0x13e)]&&_0x4679cf['id']===_0x21d024[_0x48d526(0x303)]['id']&&_0x4679cf[_0x48d526(0xe6)][_0x48d526(0xa5)]===this[_0x48d526(0x176)]){const _0x48737f=_0x4679cf['params'];this['_updateLocalCursor'](_0x48737f[_0x48d526(0x2ac)],_0x48737f[_0x48d526(0x1a5)][0x0]);}})));}['_onCursorUpdate'](_0x474b81){const _0xe26c3c=_0x474fca;var _0x2fa04a,_0x7c216f;const {memberID:_0x395ec8,selection:_0x572b45}=_0x474b81['data'],{sheetName:_0x43f10c,range:_0x50d728}=_0x57f53f[_0xe26c3c(0xa0)](_0x572b45),_0x33afeb={'name':(_0x7c216f=(_0x2fa04a=this[_0xe26c3c(0x205)]['getMember'](this['unitID'],_0x395ec8))==null?void 0x0:_0x2fa04a[_0xe26c3c(0x26d)])!=null?_0x7c216f:_0xe26c3c(0x1df),'range':this[_0xe26c3c(0x362)](_0x43f10c,_0x50d728),'sheetID':_0x43f10c,'color':this['_colorAssignService'][_0xe26c3c(0x18c)](_0x395ec8),'selection':_0x572b45},_0xc3df2a=this[_0xe26c3c(0x24c)];_0xc3df2a[_0xe26c3c(0xbe)](_0x395ec8,_0x33afeb),this[_0xe26c3c(0x19b)][_0xe26c3c(0x452)](_0xc3df2a);}['_onCursorDelete'](_0x3591a2){const _0x58f5c1=_0x474fca,{memberID:_0x36c205}=_0x3591a2[_0x58f5c1(0xe5)],_0x3e9578=this[_0x58f5c1(0x24c)];_0x3e9578[_0x58f5c1(0x224)](_0x36c205),this[_0x58f5c1(0x19b)][_0x58f5c1(0x452)](_0x3e9578);}['_getMergeRange'](_0x3f67b9,_0x430ca0){const _0x3a6b20=_0x474fca;var _0x2e2204,_0x11b3e8;const _0x151343=(_0x11b3e8=(_0x2e2204=this[_0x3a6b20(0x1bd)]['getUniverSheetInstance'](this[_0x3a6b20(0x176)]))==null?void 0x0:_0x2e2204[_0x3a6b20(0x2f9)](_0x3f67b9))==null?void 0x0:_0x11b3e8[_0x3a6b20(0x122)]();return(_0x151343==null?void 0x0:_0x151343[_0x3a6b20(0x375)](_0x2a045e=>_0x132eb9[_0x3a6b20(0x359)][_0x3a6b20(0x392)](_0x2a045e,_0x430ca0)))||_0x430ca0;}['_onRefRangeChange'](){const _0x2966b5=_0x474fca,_0x3f745c=new _0x132eb9[(_0x2966b5(0x132))](),_0x47adcb=_0x483a14(),_0x30b931=()=>{_0x3f745c['dispose']();const _0x11dfea=(_0x6989ea,_0xcf9617,_0x45cade,_0x8b88a3)=>{const _0x2e41ed=_0x2d55;let _0xd1ad30=[];switch(_0x6989ea['id']){case _0x21d024[_0x2e41ed(0x465)]['DeleteRangeMoveLeftCommandId']:{_0xd1ad30=_0x21d024['handleDeleteRangeMoveLeft'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x116)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x266)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['InsertColCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0x40d)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x415)]:{_0xd1ad30=_0x21d024['handleInsertRangeMoveDown'](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x30b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0xe8)](_0x6989ea,_0x8b88a3);break;}case _0x21d024['EffectRefRangId'][_0x2e41ed(0x46e)]:{_0xd1ad30=_0x21d024['handleInsertRow'](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)]['MoveRangeCommandId']:{_0xd1ad30=_0x21d024[_0x2e41ed(0xa9)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x10b)]:{_0xd1ad30=_0x21d024[_0x2e41ed(0x47e)](_0x6989ea,_0x8b88a3);break;}case _0x21d024[_0x2e41ed(0x465)][_0x2e41ed(0x287)]:{_0xd1ad30=_0x21d024['handleIRemoveRow'](_0x6989ea,_0x8b88a3);break;}}const _0x59c168=_0x21d024[_0x2e41ed(0xf2)](_0xd1ad30,_0x8b88a3),_0x1290e0=this[_0x2e41ed(0x24c)]['get'](_0xcf9617);if(_0x1290e0&&_0x59c168){const _0x12534a={..._0x1290e0,'range':_0x59c168};this['cursorInfo'][_0x2e41ed(0xbe)](_0xcf9617,_0x12534a),_0x47adcb(()=>{const _0x5e360b=_0x2e41ed,_0x4c8ea9=this[_0x5e360b(0x395)]['registerRefRange'](_0x59c168,_0x2e182c=>(_0x4c8ea9['dispose'](),_0x11dfea(_0x2e182c,_0xcf9617,_0x45cade,_0x59c168)));_0x3f745c['add'](_0x4c8ea9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4d8471,_0x4780b0)=>{const _0x4a36ae=_0x2d55,{range:_0x599d8b,sheetID:_0x3d6939}=_0x4d8471,_0x3269eb=this[_0x4a36ae(0x395)][_0x4a36ae(0x2c2)](_0x599d8b,_0x42b14f=>(_0x3269eb[_0x4a36ae(0x19a)](),_0x11dfea(_0x42b14f,_0x4780b0,_0x3d6939,_0x599d8b)));_0x3f745c['add'](_0x3269eb);});};this[_0x2966b5(0x26e)](_0x132eb9['toDisposable'](this[_0x2966b5(0x19b)][_0x2966b5(0x2e1)](()=>{_0x30b931();})));}['_toggleOnline'](){const _0xa850ec=_0x474fca;var _0x130093,_0x24a556;if(this[_0xa850ec(0x13e)]=!0x0,((_0x130093=this['_univerInstanceService'][_0xa850ec(0x461)]())==null?void 0x0:_0x130093[_0xa850ec(0x225)]())!==this[_0xa850ec(0x176)])return;const _0xf772ae=(_0x24a556=this[_0xa850ec(0x306)][_0xa850ec(0x261)](_0x21d024['SheetsSelectionsService'])[_0xa850ec(0x1e9)]())==null?void 0x0:_0x24a556[0x0],_0x29ae47=this[_0xa850ec(0x1bd)][_0xa850ec(0x178)](_0x132eb9[_0xa850ec(0x44e)][_0xa850ec(0x1a0)])[_0xa850ec(0xba)]();_0xf772ae&&_0x29ae47&&this[_0xa850ec(0x166)](_0x29ae47[_0xa850ec(0x136)](),_0xf772ae);}[_0x474fca(0x24a)](){const _0x1648c6=_0x474fca;this[_0x1648c6(0x13e)]=!0x1;}};_0x3ff04d=_0x3d7b04([_0x42ea88(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x42ea88(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x42ea88(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x42ea88(0x5,_0x132eb9[_0x474fca(0x22d)]),_0x42ea88(0x6,_0x132eb9[_0x474fca(0x1f1)]),_0x42ea88(0x7,_0x132eb9['Inject'](_0x21d024[_0x474fca(0x397)]))],_0x3ff04d);var _0x19450e=Object['defineProperty'],_0x2eb5c0=Object[_0x474fca(0xcc)],_0x1c628d=(_0x4443a6,_0x1248bf,_0x3a4cce,_0x203de7)=>{const _0x2d6dab=_0x474fca;for(var _0x4e2e03=_0x203de7>0x1?void 0x0:_0x203de7?_0x2eb5c0(_0x1248bf,_0x3a4cce):_0x1248bf,_0x57293d=_0x4443a6[_0x2d6dab(0x2b9)]-0x1,_0x294caa;_0x57293d>=0x0;_0x57293d--)(_0x294caa=_0x4443a6[_0x57293d])&&(_0x4e2e03=(_0x203de7?_0x294caa(_0x1248bf,_0x3a4cce,_0x4e2e03):_0x294caa(_0x4e2e03))||_0x4e2e03);return _0x203de7&&_0x4e2e03&&_0x19450e(_0x1248bf,_0x3a4cce,_0x4e2e03),_0x4e2e03;},_0x5732fb=(_0x2be26e,_0x2643d3)=>(_0x1098bf,_0x508a92)=>_0x2643d3(_0x1098bf,_0x508a92,_0x2be26e);const _0x10fda4=0x12c,_0x4dcf0f=0x64;let _0xeb5f0e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x291a2e,_0x2bf38e,_0xe41727,_0x24ff5a,_0x16c045,_0x3f7933,_0x2ff82b,_0x85cd34,_0x2a4b7f){const _0x3ede96=_0x474fca;super(),_0x3b7d06(this,_0x3ede96(0x13e),!0x1),_0x3b7d06(this,'_init',!0x1),_0x3b7d06(this,_0x3ede96(0x19b),new _0x3639ee[(_0x3ede96(0x2a0))](new Map())),_0x3b7d06(this,_0x3ede96(0x1f9),this[_0x3ede96(0x19b)][_0x3ede96(0x39b)]()),_0x3b7d06(this,'_roomMembers$',new _0x3639ee[(_0x3ede96(0x2a0))]([])),_0x3b7d06(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x3639ee[_0x3ede96(0x258)](_0x10fda4))),_0x3b7d06(this,_0x3ede96(0x166),_0x45c518(_0x38ac93=>{const _0xd68c64=_0x3ede96,_0x1e5b3c={'eventID':_0x1524d[_0xd68c64(0x2b2)][_0xd68c64(0x2f5)],'data':{'unitID':this[_0xd68c64(0x176)],'memberID':this[_0xd68c64(0x1b5)][_0xd68c64(0xda)](),'selection':_0x234122(_0x38ac93)}};this[_0xd68c64(0x1b5)][_0xd68c64(0x31a)](_0x1e5b3c,this[_0xd68c64(0x176)]);},_0x4dcf0f)),(this[_0x3ede96(0x176)]=_0x291a2e,this[_0x3ede96(0x1b5)]=_0x2bf38e,this['_injector']=_0xe41727,this[_0x3ede96(0x1a6)]=_0x24ff5a,this[_0x3ede96(0x205)]=_0x16c045,this[_0x3ede96(0x131)]=_0x3f7933,this['_transformService']=_0x2ff82b,this[_0x3ede96(0x1bd)]=_0x85cd34,this[_0x3ede96(0x1c9)]=_0x2a4b7f);}get[_0x474fca(0x24c)](){const _0x3c55de=_0x474fca;return this[_0x3c55de(0x19b)][_0x3c55de(0x2ff)]();}get[_0x474fca(0x372)](){const _0x4d9efc=_0x474fca;return this[_0x4d9efc(0x2bf)]['getValue']();}['dispose'](){const _0xb2e96a=_0x474fca;super[_0xb2e96a(0x19a)](),this[_0xb2e96a(0x19b)][_0xb2e96a(0x452)](new Map()),this[_0xb2e96a(0x19b)][_0xb2e96a(0x25f)](),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x452)]([]),this[_0xb2e96a(0x2bf)][_0xb2e96a(0x25f)]();}[_0x474fca(0x1ed)](){const _0x10e2f1=_0x474fca;this[_0x10e2f1(0x1d5)]||(this[_0x10e2f1(0x1d5)]=!0x0,this[_0x10e2f1(0x1b5)][_0x10e2f1(0x326)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))[_0x10e2f1(0x2e1)](_0x28fbed=>{const _0x48a14a=_0x10e2f1;_0x28fbed===_0x139854[_0x48a14a(0x31c)]?this[_0x48a14a(0x197)]():this['_toggleOffline']();}),this[_0x10e2f1(0x1b5)][_0x10e2f1(0x428)][_0x10e2f1(0x195)](_0x3639ee[_0x10e2f1(0x37a)](this['dispose$']))[_0x10e2f1(0x2e1)](_0x58b651=>{const _0x460dd8=_0x10e2f1,_0x48b271=_0x58b651[_0x460dd8(0x31f)];_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x2f5)]&&this['_onCursorUpdate'](_0x58b651),_0x48b271===_0x1524d['CollaborationEvent'][_0x460dd8(0x458)]&&this[_0x460dd8(0x37d)](_0x58b651);}),this[_0x10e2f1(0x26e)](this[_0x10e2f1(0x1c9)][_0x10e2f1(0x344)](_0x5ef5e9=>{const _0xa28813=_0x10e2f1,_0x35fd8b=_0x5ef5e9['params'];_0x35fd8b!=null&&this[_0xa28813(0x13e)]&&_0x5ef5e9['id']===_0x4b287a[_0xa28813(0x1ff)]['id']&&_0x35fd8b[_0xa28813(0xa5)]===this['unitID']&&_0x35fd8b[_0xa28813(0x260)]===!0x1&&this[_0xa28813(0x166)](_0x35fd8b[_0xa28813(0x441)]);})),this['_syncEditingCollabCursorService'][_0x10e2f1(0xe2)][_0x10e2f1(0x195)](_0x3639ee['takeUntil'](this[_0x10e2f1(0x2b5)]))['subscribe'](_0x413847=>{const _0x508c91=_0x10e2f1;if((_0x413847==null?void 0x0:_0x413847['unitID'])!==this[_0x508c91(0x176)])return;const _0x50fe72={'eventID':_0x1524d[_0x508c91(0x2b2)]['UPDATE_CURSOR'],'data':_0x413847};this[_0x508c91(0x11b)](_0x50fe72);}),this['disposeWithMe'](this['_commandService'][_0x10e2f1(0x344)](_0x166689=>{const _0x26bed7=_0x10e2f1;if(_0x166689[_0x26bed7(0xe6)]==null)return;const _0x9a872a=_0x166689['params'];if(_0x166689['id']!==_0x4b287a[_0x26bed7(0x346)]['id']||_0x9a872a['unitId']!==this[_0x26bed7(0x176)])return;const _0x5a073e={'id':_0x26bed7(0x21b),'params':_0x9a872a},_0x1c2815=this[_0x26bed7(0x24c)];for(const [_0xa8ca5d,_0x378523]of _0x1c2815){const _0x19e229={'id':_0x26bed7(0x21b),'params':{'unitId':this[_0x26bed7(0x176)],'actions':null,'textRanges':_0x378523[_0x26bed7(0x441)]}},_0xdd37fc=this['_transformService']['transformMutation'](_0x5a073e,_0x19e229,!0x1);if(_0x1524d['isTransformMutationFailure'](_0xdd37fc))throw _0xdd37fc[_0x26bed7(0xf5)];_0x1c2815[_0x26bed7(0xbe)](_0xa8ca5d,{..._0x378523,'ranges':_0xdd37fc[_0x26bed7(0x43b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x537231=_0x26bed7;this[_0x537231(0x19b)][_0x537231(0x452)](_0x1c2815);});})));}[_0x474fca(0x11b)](_0x42e1b3){const _0x138d12=_0x474fca;var _0x3a6ba4,_0x33bb11;const {memberID:_0x19804f,selection:_0x10b761}=_0x42e1b3[_0x138d12(0xe5)],_0x18f0b1=_0x20f365(_0x10b761),_0x1da464=(_0x33bb11=(_0x3a6ba4=this['_memberService'][_0x138d12(0x3ca)](this[_0x138d12(0x176)],_0x19804f))==null?void 0x0:_0x3a6ba4[_0x138d12(0x26d)])!=null?_0x33bb11:_0x138d12(0x1df),_0x400659={'color':this['_colorAssignService'][_0x138d12(0x18c)](_0x19804f),'name':_0x1da464,'ranges':_0x18f0b1},_0x378530=this[_0x138d12(0x24c)];_0x378530['set'](_0x19804f,_0x400659),this[_0x138d12(0x19b)]['next'](_0x378530);}[_0x474fca(0x37d)](_0x1160ff){const _0x314168=_0x474fca,{memberID:_0x326c8c}=_0x1160ff[_0x314168(0xe5)],_0x5ec6=this[_0x314168(0x24c)];_0x5ec6[_0x314168(0x224)](_0x326c8c),this['_cursorInfo$']['next'](_0x5ec6);}[_0x474fca(0x197)](){const _0x5a162d=_0x474fca;var _0x45bbaa;if(this['_online']=!0x0,((_0x45bbaa=this[_0x5a162d(0x1bd)]['getFocusedUnit']())==null?void 0x0:_0x45bbaa[_0x5a162d(0x225)]())!==this[_0x5a162d(0x176)])return;const _0x55727d=this[_0x5a162d(0x306)][_0x5a162d(0x261)](_0x4b287a[_0x5a162d(0x41a)])[_0x5a162d(0x196)](),_0x2bfe3e=_0x55727d==null?void 0x0:_0x55727d[_0x5a162d(0x18f)](_0x4b287a[_0x5a162d(0x40e)]);Array[_0x5a162d(0x2c8)](_0x2bfe3e)&&_0x2bfe3e['length']>0x0&&this[_0x5a162d(0x166)](_0x2bfe3e);}[_0x474fca(0x24a)](){this['_online']=!0x1;}};_0xeb5f0e=_0x1c628d([_0x5732fb(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x5732fb(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x35bdf6)),_0x5732fb(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x191a69)),_0x5732fb(0x5,_0x132eb9[_0x474fca(0x1a8)](_0x17ef3e)),_0x5732fb(0x6,_0x1524d[_0x474fca(0x439)]),_0x5732fb(0x7,_0x132eb9[_0x474fca(0x22d)]),_0x5732fb(0x8,_0x132eb9['ICommandService'])],_0xeb5f0e);var _0x48672b=Object[_0x474fca(0x109)],_0x2761f6=Object[_0x474fca(0xcc)],_0x3f4c15=(_0x225989,_0x51d21f,_0x8581f8,_0x4ffa25)=>{const _0x125774=_0x474fca;for(var _0x55cfa2=_0x4ffa25>0x1?void 0x0:_0x4ffa25?_0x2761f6(_0x51d21f,_0x8581f8):_0x51d21f,_0x4c1fdf=_0x225989[_0x125774(0x2b9)]-0x1,_0xe38e7b;_0x4c1fdf>=0x0;_0x4c1fdf--)(_0xe38e7b=_0x225989[_0x4c1fdf])&&(_0x55cfa2=(_0x4ffa25?_0xe38e7b(_0x51d21f,_0x8581f8,_0x55cfa2):_0xe38e7b(_0x55cfa2))||_0x55cfa2);return _0x4ffa25&&_0x55cfa2&&_0x48672b(_0x51d21f,_0x8581f8,_0x55cfa2),_0x55cfa2;},_0x356666=(_0x11f39b,_0xc491e0)=>(_0x4ef798,_0x4d1ec8)=>_0xc491e0(_0x4ef798,_0x4d1ec8,_0x11f39b);let _0x4073a6=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x54d54b,_0x4dbafb,_0x34e9b5){const _0x1f0f70=_0x474fca;super(),_0x3b7d06(this,_0x1f0f70(0xeb),new Map()),_0x3b7d06(this,'_entityInit$',new _0x3639ee[(_0x1f0f70(0x1cb))]()),(this['_univerInstanceService']=_0x54d54b,this[_0x1f0f70(0x306)]=_0x4dbafb,this[_0x1f0f70(0x32f)]=_0x34e9b5,this['_init']());}['dispose'](){const _0x28479b=_0x474fca;super['dispose'](),this[_0x28479b(0x44d)][_0x28479b(0x25f)](),this[_0x28479b(0xeb)][_0x28479b(0x173)](_0x269a44=>_0x269a44[_0x28479b(0x19a)]());}[_0x474fca(0x188)](_0xcb4a9b){const _0x380a40=_0x474fca;return this['_entities'][_0x380a40(0x400)](_0xcb4a9b)?this[_0x380a40(0xeb)][_0x380a40(0x261)](_0xcb4a9b)[_0x380a40(0x1f9)]:this[_0x380a40(0x44d)]['pipe'](_0x3639ee[_0x380a40(0x1cd)](_0x1b8b27=>_0x1b8b27['unitID']===_0xcb4a9b),_0x3639ee[_0x380a40(0x1b1)](_0x1ded80=>_0x1ded80['cursorInfo$']));}[_0x474fca(0x1d5)](){const _0x262ac1=_0x474fca;this[_0x262ac1(0x1bd)][_0x262ac1(0x25b)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))[_0x262ac1(0x2e1)](async _0x5a47cd=>{const _0xa10041=_0x262ac1,_0x54afb1=_0x5a47cd[_0xa10041(0x225)](),_0x4b6761=await this['_startSheetCollabCursor'](_0x54afb1);this[_0xa10041(0x44d)]['next'](_0x4b6761),this[_0xa10041(0xeb)][_0xa10041(0xbe)](_0x54afb1,_0x4b6761);}),this[_0x262ac1(0x1bd)]['getTypeOfUnitAdded$'](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)])[_0x262ac1(0x195)](_0x3639ee['takeUntil'](this[_0x262ac1(0x2b5)]))['pipe'](_0x3639ee[_0x262ac1(0x1cd)](_0x16af0e=>!_0x16af0e[_0x262ac1(0x225)]()[_0x262ac1(0xd9)]('__')))[_0x262ac1(0x2e1)](async _0x4aaf66=>{const _0x2c7e68=_0x262ac1,_0x2fa1ff=_0x4aaf66[_0x2c7e68(0x225)](),_0x501ede=await this[_0x2c7e68(0x1ee)](_0x2fa1ff);this[_0x2c7e68(0x44d)][_0x2c7e68(0x452)](_0x501ede),this[_0x2c7e68(0xeb)][_0x2c7e68(0xbe)](_0x2fa1ff,_0x501ede);}),_0x3639ee[_0x262ac1(0xb5)](this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x14d)]),this[_0x262ac1(0x1bd)][_0x262ac1(0x2b7)](_0x132eb9[_0x262ac1(0x44e)][_0x262ac1(0x1a0)]))[_0x262ac1(0x195)](_0x3639ee[_0x262ac1(0x37a)](this[_0x262ac1(0x2b5)]))['subscribe'](_0x4b887a=>{const _0x6b2cd9=_0x262ac1,_0x2f789e=_0x4b887a[_0x6b2cd9(0x225)](),_0xc762c1=this['_entities'][_0x6b2cd9(0x261)](_0x2f789e);_0xc762c1&&(_0xc762c1[_0x6b2cd9(0x19a)](),this[_0x6b2cd9(0xeb)][_0x6b2cd9(0x224)](_0x2f789e));});}async[_0x474fca(0x3fe)](_0x323186){const _0x5bb249=_0x474fca,_0x2e05ff=await this[_0x5bb249(0x32f)][_0x5bb249(0x21a)](_0x323186),_0x2a15c9=this[_0x5bb249(0x306)][_0x5bb249(0x192)](_0x3ff04d,_0x323186,_0x2e05ff);return _0x2a15c9[_0x5bb249(0x1ed)](),_0x2a15c9;}async[_0x474fca(0x1ee)](_0x4fa3d4){const _0x5747dd=_0x474fca,_0x2e8c01=await this[_0x5747dd(0x32f)][_0x5747dd(0x21a)](_0x4fa3d4),_0x462424=this[_0x5747dd(0x306)][_0x5747dd(0x192)](_0xeb5f0e,_0x4fa3d4,_0x2e8c01);return _0x462424['init'](),_0x462424;}};_0x4073a6=_0x3f4c15([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)]['Starting'],_0x4073a6),_0x356666(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x356666(0x1,_0x132eb9['Inject'](_0x132eb9['Injector'])),_0x356666(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)]))],_0x4073a6);const _0x2f3f31=0x14,_0x3237b5=0xc8,_0x9443c7=0x4,_0x2b099c=0x5;function _0x4a4535(_0x1c1d6a,_0xec32ac){const _0x28e253=_0x474fca;let {radius:_0xb74281,width:_0x8ace2f,height:_0x58a9a9}=_0xec32ac;_0xb74281=_0xb74281!=null?_0xb74281:0x0,_0x8ace2f=_0x8ace2f!=null?_0x8ace2f:0x1e,_0x58a9a9=_0x58a9a9!=null?_0x58a9a9:0x1e;let _0x48a5de=0x0,_0x10de1a=0x0,_0x10a1a1=0x0;_0x48a5de=_0x10de1a=_0x10a1a1=Math['min'](_0xb74281,_0x8ace2f/0x2,_0x58a9a9/0x2),_0x1c1d6a['beginPath'](),_0x1c1d6a[_0x28e253(0x17d)](_0x48a5de,0x0),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f-_0x10de1a,0x0),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10de1a,_0x10de1a,_0x10de1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c1d6a[_0x28e253(0x438)](_0x8ace2f,_0x58a9a9-_0x10a1a1),_0x1c1d6a[_0x28e253(0x214)](_0x8ace2f-_0x10a1a1,_0x58a9a9-_0x10a1a1,_0x10a1a1,0x0,Math['PI']/0x2,!0x1),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x58a9a9),_0x1c1d6a[_0x28e253(0x438)](0x0,_0x48a5de),_0x1c1d6a[_0x28e253(0x214)](_0x48a5de,_0x48a5de,_0x48a5de,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c1d6a['closePath'](),_0xec32ac[_0x28e253(0x32e)]&&(_0x1c1d6a[_0x28e253(0x30d)](),_0x1c1d6a[_0x28e253(0x31e)]=_0xec32ac[_0x28e253(0x32e)],_0xec32ac['fillRule']===_0x28e253(0x28d)?_0x1c1d6a['fill'](_0x28e253(0x28d)):_0x1c1d6a['fill'](),_0x1c1d6a[_0x28e253(0x253)]());}class _0x1313fc extends _0x24af47[_0x474fca(0x202)]{constructor(_0x4a81fc,_0x2ded20){const _0x5c88de=_0x474fca;super(_0x4a81fc,_0x2ded20),_0x3b7d06(this,_0x5c88de(0xfe)),_0x3b7d06(this,_0x5c88de(0x2af)),(this['color']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0xfe)],this['text']=_0x2ded20==null?void 0x0:_0x2ded20[_0x5c88de(0x2af)]);}static[_0x474fca(0x405)](_0x41f80d,_0x3fc33c){const _0x27d61a=_0x474fca,{text:_0x3d37ac,color:_0xe4bca7}=_0x3fc33c;_0x41f80d[_0x27d61a(0x30d)](),_0x41f80d[_0x27d61a(0x3a7)]=_0x27d61a(0x2fa);const _0x31c1c1=_0x41f80d[_0x27d61a(0x175)](_0x3d37ac)[_0x27d61a(0x299)],_0x24a54f=Math[_0x27d61a(0x24f)](_0x31c1c1+0x2*_0x9443c7,_0x3237b5);_0x4a4535(_0x41f80d,{'height':_0x2f3f31,'radius':0x4,'width':_0x24a54f,'fill':_0xe4bca7,'evented':!0x1}),_0x41f80d['fillStyle']=_0x27d61a(0xc2);const _0x42da39=_0x9443c7,_0x21b330=_0x2f3f31-_0x2b099c,_0x2e4076=_0x3237b5-0x2*_0x9443c7;if(_0x31c1c1>_0x2e4076){let _0x35228d='',_0x3e7655=0x0;for(const _0x4e3599 of _0x3d37ac){const _0x3ea0d3=_0x41f80d[_0x27d61a(0x175)](_0x4e3599)[_0x27d61a(0x299)];if(_0x3e7655+_0x3ea0d3<=_0x2e4076-_0x41f80d[_0x27d61a(0x175)](_0x27d61a(0xaa))[_0x27d61a(0x299)])_0x35228d+=_0x4e3599,_0x3e7655+=_0x3ea0d3;else{_0x35228d+=_0x27d61a(0xaa);break;}}_0x41f80d['fillText'](_0x35228d,_0x42da39,_0x21b330);}else _0x41f80d[_0x27d61a(0x352)](_0x3d37ac,_0x42da39,_0x21b330);_0x41f80d[_0x27d61a(0x253)]();}[_0x474fca(0x1ad)](_0x5a47e1){const _0x59e405=_0x474fca;_0x1313fc[_0x59e405(0x405)](_0x5a47e1,this);}}const _0x1feba6=0x1,_0x106809=1.5;class _0x57dbff extends _0x24af47[_0x474fca(0x202)]{constructor(_0x2192ed,_0x5ee5b0){const _0x3bdab7=_0x474fca;super(_0x2192ed,_0x5ee5b0),_0x3b7d06(this,'_color'),_0x3b7d06(this,_0x3bdab7(0x115),!0x1),_0x3b7d06(this,_0x3bdab7(0x15c)),_0x3b7d06(this,'_name',''),_0x3b7d06(this,'_labelPosition',_0x3bdab7(0x425)),_0x3b7d06(this,'_backgroundColor'),(_0x5ee5b0&&this[_0x3bdab7(0x378)](_0x5ee5b0),this[_0x3bdab7(0xb6)][_0x3bdab7(0xb7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3bdab7(0x46c)][_0x3bdab7(0xb7)](()=>this[_0x3bdab7(0x378)]({'hovered':!0x1})));}[_0x474fca(0x378)](_0x2f8655){const _0x3c1ee2=_0x474fca;var _0x6ba636,_0x2e768d,_0x3df2a2,_0x2245f5,_0x3867d7,_0x341471;this[_0x3c1ee2(0x34c)]=(_0x6ba636=_0x2f8655[_0x3c1ee2(0xfe)])!=null?_0x6ba636:this[_0x3c1ee2(0x34c)],this[_0x3c1ee2(0x115)]=(_0x2e768d=_0x2f8655[_0x3c1ee2(0x32b)])!=null?_0x2e768d:this[_0x3c1ee2(0x115)],this[_0x3c1ee2(0x15c)]=(_0x3df2a2=_0x2f8655[_0x3c1ee2(0x153)])!=null?_0x3df2a2:this[_0x3c1ee2(0x15c)],this[_0x3c1ee2(0x3a9)]=(_0x2245f5=_0x2f8655[_0x3c1ee2(0x26d)])!=null?_0x2245f5:this['_name'],this[_0x3c1ee2(0x34d)]=(_0x3867d7=_0x2f8655[_0x3c1ee2(0x334)])!=null?_0x3867d7:this[_0x3c1ee2(0x34d)],this[_0x3c1ee2(0x3ae)]=(_0x341471=_0x2f8655[_0x3c1ee2(0x20a)])!=null?_0x341471:this[_0x3c1ee2(0x3ae)],this[_0x3c1ee2(0x3aa)]({'width':_0x2f8655['width'],'height':_0x2f8655[_0x3c1ee2(0x3f4)]});}['onMouseMove'](_0xf92cad){const _0x7684b=_0x474fca,{row:_0x22a4d5,column:_0x173ccd}=_0xf92cad;if(_0x22a4d5>=this[_0x7684b(0x15c)][_0x7684b(0x1d0)]&&_0x22a4d5<=this[_0x7684b(0x15c)][_0x7684b(0xd1)]&&_0x173ccd>=this[_0x7684b(0x15c)][_0x7684b(0x2ce)]&&_0x173ccd<=this[_0x7684b(0x15c)][_0x7684b(0x191)]){this[_0x7684b(0x378)]({'hovered':!0x0});return;}this[_0x7684b(0x378)]({'hovered':!0x1});}[_0x474fca(0x325)](_0x2ba2c9){return!0x1;}['_draw'](_0x346ed1){const _0x31a9fa=_0x474fca;_0x24af47[_0x31a9fa(0x411)][_0x31a9fa(0x405)](_0x346ed1,{'width':this[_0x31a9fa(0x299)],'height':this['height'],'strokeWidth':_0x106809,'stroke':this[_0x31a9fa(0x34c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31a9fa(0x115)]&&(_0x346ed1['save'](),_0x346ed1[_0x31a9fa(0x206)](0x1,0x0,0x0,0x1,this[_0x31a9fa(0x299)],this['_labelPosition']===_0x31a9fa(0x155)?0x0:-_0x2f3f31),_0x1313fc[_0x31a9fa(0x405)](_0x346ed1,{'text':this[_0x31a9fa(0x3a9)],'color':this[_0x31a9fa(0x34c)]}),_0x346ed1[_0x31a9fa(0x253)]());}}var _0x1d4d01=Object[_0x474fca(0x109)],_0x4c5650=Object[_0x474fca(0xcc)],_0x32374c=(_0x5a1d3e,_0x3ee782,_0x4698d4,_0x50ae17)=>{const _0x132239=_0x474fca;for(var _0x4c2bb1=_0x50ae17>0x1?void 0x0:_0x50ae17?_0x4c5650(_0x3ee782,_0x4698d4):_0x3ee782,_0x4fa270=_0x5a1d3e[_0x132239(0x2b9)]-0x1,_0x5ca9b4;_0x4fa270>=0x0;_0x4fa270--)(_0x5ca9b4=_0x5a1d3e[_0x4fa270])&&(_0x4c2bb1=(_0x50ae17?_0x5ca9b4(_0x3ee782,_0x4698d4,_0x4c2bb1):_0x5ca9b4(_0x4c2bb1))||_0x4c2bb1);return _0x50ae17&&_0x4c2bb1&&_0x1d4d01(_0x3ee782,_0x4698d4,_0x4c2bb1),_0x4c2bb1;},_0x26eb38=(_0x4eb750,_0x114191)=>(_0x151f29,_0x29a730)=>_0x114191(_0x151f29,_0x29a730,_0x4eb750);const _0x1e90e7=0x1389;let _0x57fff8=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x557200,_0x29af90,_0x2b4370,_0x266d3e){const _0x33078c=_0x474fca;super(),_0x3b7d06(this,_0x33078c(0x29f),new Set()),_0x3b7d06(this,_0x33078c(0x404),null),(this[_0x33078c(0x3b9)]=_0x557200,this[_0x33078c(0x268)]=_0x29af90,this[_0x33078c(0x1f0)]=_0x2b4370,this[_0x33078c(0x45b)]=_0x266d3e,this['_init']());}['_init'](){const _0x4ebbb1=_0x474fca;this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x195)](_0x5d8ab5[_0x4ebbb1(0x37a)](this[_0x4ebbb1(0x2b5)]),_0x5d8ab5['switchMap'](_0x47333c=>{const _0x24c094=_0x4ebbb1;if(_0x47333c){const _0x266de9=_0x47333c[_0x24c094(0x149)];return _0x3639ee[_0x24c094(0x300)](this['_collabCursorController'][_0x24c094(0x188)](this[_0x24c094(0x3b9)][_0x24c094(0xa5)]),this[_0x24c094(0x45b)][_0x24c094(0x43a)])[_0x24c094(0x195)](_0x5d8ab5[_0x24c094(0x18f)](([_0x314564,_0x431369])=>{const _0x4b4a07=new Map();return _0x314564['forEach']((_0x9a9fd3,_0x35afda)=>{const _0x4045c2=_0x2d55;if(_0x9a9fd3[_0x4045c2(0x27b)]===_0x266de9){const _0x3ed01a={..._0x9a9fd3};_0x3ed01a['color']=_0x431369[_0x9a9fd3['color']],_0x4b4a07[_0x4045c2(0xbe)](_0x35afda,_0x3ed01a);}}),{'skeleton':_0x47333c,'cursors':_0x4b4a07};}));}return _0x3639ee['of']({'skeleton':null,'cursors':new Map()});}))[_0x4ebbb1(0x2e1)](({skeleton:_0x334152,cursors:_0x5057f8})=>{this['_removeCollabCursors'](),_0x334152&&this['_updateCollabCursors'](_0x334152,_0x5057f8);}),this[_0x4ebbb1(0x268)][_0x4ebbb1(0x1fe)][_0x4ebbb1(0x2e1)](_0x10ccca=>{const _0x226fc0=_0x4ebbb1;if(_0x10ccca==null)return;const {skeleton:_0x41c85d}=_0x10ccca,{scene:_0x585305}=this['_context'];_0x585305[_0x226fc0(0x36d)][_0x226fc0(0xb7)](_0x45c518(_0x47f584=>{const _0x5826ba=_0x226fc0;var _0x37de7c,_0x24d5c9;const {offsetX:_0x44c275,offsetY:_0x6f2b08}=_0x47f584,{x:_0x450bf3,y:_0x464b28}=_0x585305[_0x5826ba(0x3e7)](_0x24af47[_0x5826ba(0x47f)][_0x5826ba(0x1dd)]([_0x44c275,_0x6f2b08])),{scaleX:_0x4871ba,scaleY:_0x490b42}=_0x585305['getAncestorScale'](),_0x7acf86=_0x585305[_0x5826ba(0x44c)](_0x12bc0e[_0x5826ba(0x3f3)]['VIEW_MAIN']),_0x1c5160=_0x585305['getVpScrollXYInfoByPosToVp'](_0x24af47[_0x5826ba(0x47f)]['FromArray']([_0x450bf3,_0x464b28]),_0x7acf86),_0x188b92=_0x41c85d[_0x5826ba(0x150)](_0x44c275,_0x6f2b08,_0x4871ba,_0x490b42,_0x1c5160);((_0x37de7c=this[_0x5826ba(0x404)])==null?void 0x0:_0x37de7c['column'])===_0x188b92[_0x5826ba(0x3cd)]&&((_0x24d5c9=this[_0x5826ba(0x404)])==null?void 0x0:_0x24d5c9[_0x5826ba(0x3b5)])===_0x188b92[_0x5826ba(0x3b5)]||this[_0x5826ba(0x29f)][_0x5826ba(0x173)](_0x2cb82b=>{const _0x2e0dc5=_0x5826ba;_0x2cb82b[_0x2e0dc5(0x139)](_0x188b92);});},0x64));});}[_0x474fca(0x479)](_0x10af8a,_0x57c38e){const _0x275fe6=_0x474fca;var _0x57e411;const _0x3af384=(_0x57e411=this['_sheetSkeletonManagerService'][_0x275fe6(0x3d4)]())==null?void 0x0:_0x57e411[_0x275fe6(0x1bb)];if(!_0x3af384)return;const _0x52fbe5=this[_0x275fe6(0x3b8)]();if(!_0x52fbe5)return;this[_0x275fe6(0x29f)][_0x275fe6(0x173)](_0x5c00a3=>{const _0x16239e=_0x275fe6;_0x5c00a3[_0x16239e(0x316)]();});const {scene:_0x3c0e68}=_0x52fbe5,_0x20ebbb=_0x210472(Array[_0x275fe6(0x222)](_0x57c38e['values']()))[_0x275fe6(0x18f)](_0x5d5538=>{const _0x119363=_0x275fe6,{color:_0x271dbf,range:_0x31a3b3,name:_0x352d9b,selection:_0x1bc13a,sheetID:_0x46b1d8}=_0x5d5538,{startColumn:_0x121e83,startRow:_0x2ebc0c,endColumn:_0x4a0599,endRow:_0xcb3c82}=_0x31a3b3,_0x2560f9=_0x12bc0e['getCoordByCell'](_0x2ebc0c,_0x121e83,_0x3c0e68,_0x3af384),_0xebd39a=_0x12bc0e[_0x119363(0x2e6)](_0xcb3c82,_0x4a0599,_0x3c0e68,_0x3af384),{columnHeaderHeightAndMarginTop:_0x4adb61}=_0x3af384,{startX:_0x56c16a,startY:_0x4949ae}=_0x2560f9,{endX:_0x189706,endY:_0x197f4b}=_0xebd39a,_0xb1e0bd=_0x189706-_0x56c16a,_0x5c8a47=_0x197f4b-_0x4949ae,_0x33c426={'labelPosition':_0x4949ae-_0x4adb61>=_0x2f3f31?_0x119363(0x425):_0x119363(0x155),'sheetID':_0x46b1d8,'range':_0x31a3b3,'color':_0x271dbf,'name':_0x352d9b,'selection':_0x1bc13a,'left':_0x56c16a,'top':_0x4949ae,'width':_0xb1e0bd,'height':_0x5c8a47,'evented':!0x1,'zIndex':_0x1e90e7};return new _0x57dbff(_0x352d9b,_0x33c426);});_0x3c0e68[_0x275fe6(0x328)](_0x20ebbb,_0x1feba6),this[_0x275fe6(0x29f)]=new Set(_0x20ebbb);}[_0x474fca(0xd2)](){const _0x551107=_0x474fca;var _0x784584;(_0x784584=this[_0x551107(0x29f)])==null||_0x784584[_0x551107(0x173)](_0x335ed7=>_0x335ed7[_0x551107(0x19a)]());}['_getSheetObject'](){const _0x140df1=_0x474fca;return _0x12bc0e['getSheetObject'](this[_0x140df1(0x3b9)][_0x140df1(0x323)],this[_0x140df1(0x3b9)]);}};_0x57fff8=_0x32374c([_0x26eb38(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x12bc0e[_0x474fca(0x388)])),_0x26eb38(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x26eb38(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x369)]))],_0x57fff8);function _0x210472(_0x298fa1){const _0x23555f=_0x474fca,_0x2c135e=new Map();return _0x298fa1[_0x23555f(0x173)](_0x16b235=>{const _0x56ec3b=_0x23555f;if(_0x2c135e[_0x56ec3b(0x400)](_0x16b235[_0x56ec3b(0x1f4)])){const _0x195441=_0x2c135e[_0x56ec3b(0x261)](_0x16b235[_0x56ec3b(0x1f4)]);_0x195441['name']+=',\x20'+_0x16b235['name'];}else _0x2c135e[_0x56ec3b(0xbe)](_0x16b235[_0x56ec3b(0x1f4)],_0x16b235);}),Array['from'](_0x2c135e[_0x23555f(0x42c)]());}var _0x1b7fd1=function(){return _0x1b7fd1=Object['assign']||function(_0x2b6e8a){const _0x21a88c=_0x2d55;for(var _0x51abe9,_0x2073aa=0x1,_0x3ff668=arguments[_0x21a88c(0x2b9)];_0x2073aa<_0x3ff668;_0x2073aa++){_0x51abe9=arguments[_0x2073aa];for(var _0x127d27 in _0x51abe9)Object['prototype'][_0x21a88c(0x1d3)]['call'](_0x51abe9,_0x127d27)&&(_0x2b6e8a[_0x127d27]=_0x51abe9[_0x127d27]);}return _0x2b6e8a;},_0x1b7fd1['apply'](this,arguments);},_0x2a037c=function(_0x4b912f,_0x4228){const _0x30c422=_0x474fca;var _0xfa0707={};for(var _0x41c64a in _0x4b912f)Object[_0x30c422(0x2be)]['hasOwnProperty'][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a)&&_0x4228['indexOf'](_0x41c64a)<0x0&&(_0xfa0707[_0x41c64a]=_0x4b912f[_0x41c64a]);if(_0x4b912f!=null&&typeof Object[_0x30c422(0xc1)]==_0x30c422(0x36c)){for(var _0x5a19d2=0x0,_0x41c64a=Object[_0x30c422(0xc1)](_0x4b912f);_0x5a19d2<_0x41c64a[_0x30c422(0x2b9)];_0x5a19d2++)_0x4228[_0x30c422(0x36b)](_0x41c64a[_0x5a19d2])<0x0&&Object['prototype'][_0x30c422(0xf4)][_0x30c422(0x1c7)](_0x4b912f,_0x41c64a[_0x5a19d2])&&(_0xfa0707[_0x41c64a[_0x5a19d2]]=_0x4b912f[_0x41c64a[_0x5a19d2]]);}return _0xfa0707;},_0x4bd657=_0x58a26a[_0x474fca(0x291)](function(_0x565742,_0x32cc35){const _0x38bcf3=_0x474fca;var _0x18c57f=_0x565742['icon'],_0x397d8a=_0x565742['id'],_0x33fb5b=_0x565742['className'],_0x3613c8=_0x565742[_0x38bcf3(0x110)],_0x40347b=_0x2a037c(_0x565742,[_0x38bcf3(0x111),'id',_0x38bcf3(0x3df),_0x38bcf3(0x110)]),_0x4db4f3='univerjs-icon\x20univerjs-icon-'[_0x38bcf3(0x141)](_0x397d8a,'\x20')[_0x38bcf3(0x141)](_0x33fb5b||'')[_0x38bcf3(0x3b4)](),_0x395e18=_0x58a26a[_0x38bcf3(0x3dd)]('_'[_0x38bcf3(0x141)](_0x1f7d3a()));return _0x372787(_0x18c57f,''[_0x38bcf3(0x141)](_0x397d8a),{'defIds':_0x18c57f[_0x38bcf3(0x3bf)],'idSuffix':_0x395e18['current']},_0x1b7fd1({'ref':_0x32cc35,'className':_0x4db4f3},_0x40347b),_0x3613c8);});function _0x372787(_0x4a0756,_0x5a59b5,_0x5e3b66,_0x520ba5,_0xc9b45){const _0x9c1937=_0x474fca;return _0x58a26a[_0x9c1937(0x2a4)](_0x4a0756[_0x9c1937(0x168)],_0x1b7fd1(_0x1b7fd1({'key':_0x5a59b5},_0x3e3951(_0x4a0756,_0x5e3b66,_0xc9b45)),_0x520ba5),(_0x407c17(_0x4a0756,_0x5e3b66)['children']||[])[_0x9c1937(0x18f)](function(_0x2ab57,_0x8a484f){const _0x3dfa50=_0x9c1937;return _0x372787(_0x2ab57,''['concat'](_0x5a59b5,'-')['concat'](_0x4a0756[_0x3dfa50(0x168)],'-')['concat'](_0x8a484f),_0x5e3b66,void 0x0,_0xc9b45);}));}function _0x3e3951(_0x576782,_0x5c41fe,_0x333a6d){const _0x5022ef=_0x474fca;var _0x11fed5=_0x1b7fd1({},_0x576782['attrs']);_0x333a6d!=null&&_0x333a6d['colorChannel1']&&_0x11fed5[_0x5022ef(0x32e)]===_0x5022ef(0x284)&&(_0x11fed5[_0x5022ef(0x32e)]=_0x333a6d[_0x5022ef(0x284)]);var _0x36e23f=_0x5c41fe[_0x5022ef(0x3bf)];return!_0x36e23f||_0x36e23f[_0x5022ef(0x2b9)]===0x0||(_0x576782[_0x5022ef(0x168)]===_0x5022ef(0x3ed)&&_0x11fed5['xlink:href']&&(_0x11fed5['xlink:href']=_0x11fed5[_0x5022ef(0x1cf)]+_0x5c41fe[_0x5022ef(0x43e)]),Object[_0x5022ef(0x402)](_0x11fed5)[_0x5022ef(0x173)](function(_0x3e408a){const _0x3ccf98=_0x5022ef;var _0x1fffaa=_0x3e408a[0x0],_0xb5e0c1=_0x3e408a[0x1];typeof _0xb5e0c1=='string'&&(_0x11fed5[_0x1fffaa]=_0xb5e0c1[_0x3ccf98(0x15a)](/url\(#(.*)\)/,_0x3ccf98(0xb9)['concat'](_0x5c41fe[_0x3ccf98(0x43e)],')')));})),_0x11fed5;}function _0x407c17(_0x54c0a7,_0x3b338f){const _0x3a34f1=_0x474fca;var _0x5ab161,_0x210a3b=_0x3b338f[_0x3a34f1(0x3bf)];return!_0x210a3b||_0x210a3b[_0x3a34f1(0x2b9)]===0x0?_0x54c0a7:_0x54c0a7[_0x3a34f1(0x168)]===_0x3a34f1(0x219)&&(!((_0x5ab161=_0x54c0a7[_0x3a34f1(0x159)])===null||_0x5ab161===void 0x0)&&_0x5ab161[_0x3a34f1(0x2b9)])?_0x1b7fd1(_0x1b7fd1({},_0x54c0a7),{'children':_0x54c0a7[_0x3a34f1(0x159)]['map'](function(_0x2ad4c9){const _0xc3ed1f=_0x3a34f1;return typeof _0x2ad4c9[_0xc3ed1f(0x1e0)]['id']==_0xc3ed1f(0x20d)&&_0x210a3b&&_0x210a3b['indexOf'](_0x2ad4c9[_0xc3ed1f(0x1e0)]['id'])>-0x1?_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9),{'attrs':_0x1b7fd1(_0x1b7fd1({},_0x2ad4c9[_0xc3ed1f(0x1e0)]),{'id':_0x2ad4c9['attrs']['id']+_0x3b338f[_0xc3ed1f(0x43e)]})}):_0x2ad4c9;})}):_0x54c0a7;}function _0x1f7d3a(){const _0x55a760=_0x474fca;return Math[_0x55a760(0x319)]()[_0x55a760(0xa2)](0x24)[_0x55a760(0x13d)](0x2,0x8);}_0x4bd657['displayName']='UniverIcon';var _0xfb323e={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2016\x2016','width':_0x474fca(0x1ef),'height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x2e9),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':_0x474fca(0x3ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1)}}]}]}],'defIds':[_0x474fca(0x194)]},_0x58f827=_0x58a26a[_0x474fca(0x291)](function(_0x18f8bf,_0x44ed30){const _0x550b7e=_0x474fca;return _0x58a26a['createElement'](_0x4bd657,Object[_0x550b7e(0x433)]({},_0x18f8bf,{'id':'off-line-single','ref':_0x44ed30,'icon':_0xfb323e}));});_0x58f827[_0x474fca(0x3a1)]=_0x474fca(0x125);var _0x3f2c1b={'tag':_0x474fca(0x9a),'attrs':{'fill':_0x474fca(0x376),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x474fca(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x474fca(0x247)},'children':[{'tag':_0x474fca(0x242),'attrs':{'stroke':_0x474fca(0x22f),'d':_0x474fca(0x142),'strokeLinecap':_0x474fca(0x3ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x474fca(0x219),'attrs':{},'children':[{'tag':_0x474fca(0xc7),'attrs':{'id':_0x474fca(0x26c)},'children':[{'tag':_0x474fca(0x242),'attrs':{'fill':_0x474fca(0xc4),'d':_0x474fca(0x1d1),'transform':'translate(.97)'}}]}]}],'defIds':[_0x474fca(0x26c)]},_0x2c2e2d=_0x58a26a[_0x474fca(0x291)](function(_0x2609fa,_0x58999b){const _0x1d090d=_0x474fca;return _0x58a26a[_0x1d090d(0x2a4)](_0x4bd657,Object['assign']({},_0x2609fa,{'id':'on-line-single','ref':_0x58999b,'icon':_0x3f2c1b}));});_0x2c2e2d[_0x474fca(0x3a1)]=_0x474fca(0x1b6);const _0x24640e={'onlineStatusIcon':_0x474fca(0xcd),'onlineStatusTitle':_0x474fca(0x296),'onlineStatus':'univer-online-status','online':_0x474fca(0x383),'offline':_0x474fca(0x384)};function _0x4e1526(_0x23b1b3){const _0x2e0165=_0x474fca;switch(_0x23b1b3){case _0x3e6ce[_0x2e0165(0x35a)]:return _0x2e0165(0xbf);case _0x3e6ce['CONFLICT']:return _0x2e0165(0x2c3);case _0x3e6ce[_0x2e0165(0x2a7)]:return _0x2e0165(0x3b3);case _0x3e6ce['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3e6ce[_0x2e0165(0x408)]:case _0x3e6ce[_0x2e0165(0x3be)]:case _0x3e6ce['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3e6ce[_0x2e0165(0xd8)]:return _0x2e0165(0xed);}}function _0x26ba18(_0x831f82){const _0x403a01=_0x474fca,{status$:_0x35baed}=_0x831f82,_0x27bb04=_0x202279['useObservable'](_0x35baed,_0x3e6ce[_0x403a01(0x283)]),_0x5e46bd=_0x132eb9[_0x403a01(0x1e8)](_0x132eb9[_0x403a01(0x318)]),_0xd3fae9=_0x27bb04!==_0x3e6ce['OFFLINE'],_0x54ea7e=_0x5e46bd['t'](_0x4e1526(_0x27bb04)),_0x583816=_0x3a1d76(_0x24640e[_0x403a01(0x445)],{[_0x24640e[_0x403a01(0x342)]]:_0xd3fae9,[_0x24640e[_0x403a01(0x2b3)]]:!_0xd3fae9}),_0x152d29=_0xd3fae9?_0x58a26a[_0x403a01(0x2a4)](_0x2c2e2d,null):_0x58a26a[_0x403a01(0x2a4)](_0x58f827,null);return _0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x583816},_0x58a26a['createElement'](_0x403a01(0x279),{'className':_0x24640e[_0x403a01(0x187)]},_0x152d29),_0x58a26a[_0x403a01(0x2a4)](_0x403a01(0x279),{'className':_0x24640e['onlineStatusTitle']},_0x54ea7e));}var _0x24ba1c=Object[_0x474fca(0x109)],_0x147542=Object[_0x474fca(0xcc)],_0x16e74c=(_0x319621,_0x4eb905,_0x1cdf05,_0x24a8b8)=>{const _0x543402=_0x474fca;for(var _0x25c92d=_0x24a8b8>0x1?void 0x0:_0x24a8b8?_0x147542(_0x4eb905,_0x1cdf05):_0x4eb905,_0x196d71=_0x319621[_0x543402(0x2b9)]-0x1,_0x24629b;_0x196d71>=0x0;_0x196d71--)(_0x24629b=_0x319621[_0x196d71])&&(_0x25c92d=(_0x24a8b8?_0x24629b(_0x4eb905,_0x1cdf05,_0x25c92d):_0x24629b(_0x25c92d))||_0x25c92d);return _0x24a8b8&&_0x25c92d&&_0x24ba1c(_0x4eb905,_0x1cdf05,_0x25c92d),_0x25c92d;},_0x2430f9=(_0x540ecb,_0x2b29d3)=>(_0x3d4abf,_0x100956)=>_0x2b29d3(_0x3d4abf,_0x100956,_0x540ecb);_0x48d167['DesktopCollaborationStatusDisplayController']=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x54ea97,_0x224acf,_0x55905d,_0x3a9d0a){const _0x3ef03f=_0x474fca;super(),_0x3b7d06(this,_0x3ef03f(0x2d7),new _0x3639ee[(_0x3ef03f(0x2a0))](_0x3e6ce['NOT_COLLAB'])),(this['_univerInstanceService']=_0x54ea97,this['_uiPartsService']=_0x224acf,this['_injector']=_0x55905d,this['_collaborationController']=_0x3a9d0a,this[_0x3ef03f(0x363)](),this[_0x3ef03f(0x3cf)]());}[_0x474fca(0x363)](){const _0x24963f=_0x474fca;this[_0x24963f(0x26e)](this[_0x24963f(0x41f)]['registerComponent'](_0x202279[_0x24963f(0x295)][_0x24963f(0x3e5)],()=>_0x132eb9['connectInjector'](_0x59c220({'status$':this[_0x24963f(0x2d7)]['asObservable']()}),this['_injector'])));}['_initStatusListener'](){const _0x488a8b=_0x474fca;this['disposeWithMe'](_0x132eb9[_0x488a8b(0x2c0)](this[_0x488a8b(0x1bd)][_0x488a8b(0x401)][_0x488a8b(0x195)](_0x3639ee['switchMap'](()=>{const _0x542d30=_0x488a8b,_0x1313c8=this[_0x542d30(0x1bd)][_0x542d30(0x461)]();return _0x1313c8?this['_collaborationController'][_0x542d30(0x1c8)](_0x1313c8[_0x542d30(0x225)]()):_0x3639ee['of'](null);}),_0x3639ee['switchMap'](_0x54edd7=>_0x54edd7?_0x54edd7[_0x488a8b(0x382)]:_0x3639ee['of'](_0x3e6ce['NOT_COLLAB'])))[_0x488a8b(0x2e1)](_0x2c59f7=>{const _0x1ee471=_0x488a8b;this[_0x1ee471(0x2d7)][_0x1ee471(0x452)](_0x2c59f7);})));}},_0x48d167[_0x474fca(0x3dc)]=_0x16e74c([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9['LifecycleStages']['Starting'],_0x48d167[_0x474fca(0x3dc)]),_0x2430f9(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x2430f9(0x1,_0x202279[_0x474fca(0x45e)]),_0x2430f9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x2430f9(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x251)]))],_0x48d167[_0x474fca(0x3dc)]);function _0x59c220(_0x105480){const {status$:_0x24c866}=_0x105480;return function(){const _0x4c8e2a=_0x2d55;return _0x58a26a[_0x4c8e2a(0x2a4)](_0x26ba18,{'status$':_0x24c866});};}const _0x454085=_0x132eb9['createIdentifier'](_0x474fca(0x46b));var _0x231f8f=Object[_0x474fca(0x109)],_0x5b8202=Object['getOwnPropertyDescriptor'],_0x3bfa67=(_0x142fa8,_0x2e509e,_0x1e0713,_0x2124aa)=>{const _0x2ee086=_0x474fca;for(var _0x2c7536=_0x2124aa>0x1?void 0x0:_0x2124aa?_0x5b8202(_0x2e509e,_0x1e0713):_0x2e509e,_0x5a683c=_0x142fa8[_0x2ee086(0x2b9)]-0x1,_0x581dab;_0x5a683c>=0x0;_0x5a683c--)(_0x581dab=_0x142fa8[_0x5a683c])&&(_0x2c7536=(_0x2124aa?_0x581dab(_0x2e509e,_0x1e0713,_0x2c7536):_0x581dab(_0x2c7536))||_0x2c7536);return _0x2124aa&&_0x2c7536&&_0x231f8f(_0x2e509e,_0x1e0713,_0x2c7536),_0x2c7536;},_0x4f1e6c=(_0x5d4c5f,_0x5a2aff)=>(_0x4db2c3,_0x959b38)=>_0x5a2aff(_0x4db2c3,_0x959b38,_0x5d4c5f);_0x48d167['DataLoaderController']=class extends _0x132eb9['RxDisposable']{constructor(_0x290157,_0x512cee,_0x43d93f,_0x51ced9,_0x1c72ba,_0x253719){const _0x43fa5c=_0x474fca;super(),this[_0x43fa5c(0x371)]=_0x290157,this[_0x43fa5c(0x1ac)]=_0x512cee,this[_0x43fa5c(0x1c9)]=_0x43d93f,this[_0x43fa5c(0x40b)]=_0x51ced9,this[_0x43fa5c(0x16b)]=_0x1c72ba,_0x253719?_0x253719==null||_0x253719[_0x43fa5c(0x9c)]()[_0x43fa5c(0x321)](()=>this[_0x43fa5c(0x1d5)]()):(this['_logService'][_0x43fa5c(0x19c)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x43fa5c(0x1d5)]());}async[_0x474fca(0x1d5)](){const _0x30d842=_0x474fca,_0x456b6a=this[_0x30d842(0x371)][_0x30d842(0x30c)]('unit'),_0x1084ef=this[_0x30d842(0x371)]['getParam'](_0x30d842(0x11a));if(!_0x456b6a||!_0x1084ef){this[_0x30d842(0x1ac)][_0x30d842(0x19c)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x1084ef)){case _0x2f5f8c[_0x30d842(0x1a0)]:{const _0x39f4a8=await this[_0x30d842(0x387)](_0x456b6a);this[_0x30d842(0x3cc)](_0x39f4a8);break;}case _0x2f5f8c['UNIVER_DOC']:{await this[_0x30d842(0x15e)](_0x456b6a);break;}default:{this[_0x30d842(0x1ac)][_0x30d842(0xf5)](_0x30d842(0x1b0),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x474fca(0x3cc)](_0x503ff2){const _0x42d8fa=_0x474fca;await this[_0x42d8fa(0xae)](_0x503ff2),_0x503ff2['activeSheet$'][_0x42d8fa(0x195)](_0x3639ee['takeUntil'](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](_0x4a320c=>{const _0x35f900=_0x42d8fa;_0x4a320c&&this[_0x35f900(0xa4)](_0x4a320c);}),this[_0x42d8fa(0x371)]['urlChange$'][_0x42d8fa(0x195)](_0x3639ee[_0x42d8fa(0x37a)](this[_0x42d8fa(0x2b5)]))[_0x42d8fa(0x2e1)](()=>this[_0x42d8fa(0xae)](_0x503ff2));}[_0x474fca(0xa4)](_0x2e0adb,_0x2b58cf=!0x1){const _0x241bdb=_0x474fca,_0x2ccdc5=this['_urlService'][_0x241bdb(0x30c)](_0x241bdb(0xe9));_0x2e0adb[_0x241bdb(0x136)]()!==_0x2ccdc5&&this['_urlService'][_0x241bdb(0x3f9)]('subunit',_0x2e0adb[_0x241bdb(0x136)](),_0x2b58cf);}async[_0x474fca(0xae)](_0x4f6940){const _0x3e2b7e=_0x474fca;var _0x4c7550;const _0x263701=this['_urlService']['getParam'](_0x3e2b7e(0xe9));if(!_0x263701||!_0x4f6940[_0x3e2b7e(0x2f9)](_0x263701)){const _0x13e737=_0x4f6940[_0x3e2b7e(0x390)]()[0x0],_0x1b73ea=_0x4f6940[_0x3e2b7e(0x2f9)](_0x13e737);if(!_0x1b73ea)return;this['_updateURLWithCurrentState'](_0x1b73ea,!0x0),await this[_0x3e2b7e(0x1c9)]['executeCommand'](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940['getUnitId'](),'subUnitId':_0x13e737});return;}((_0x4c7550=_0x4f6940[_0x3e2b7e(0xba)]())==null?void 0x0:_0x4c7550[_0x3e2b7e(0x136)]())!==_0x263701&&await this['_commandService'][_0x3e2b7e(0x15b)](_0x21d024[_0x3e2b7e(0xf0)]['id'],{'unitId':_0x4f6940[_0x3e2b7e(0x225)](),'subUnitId':_0x263701});}async[_0x474fca(0x387)](_0x40ccb6){const _0x314859=_0x474fca;let _0x2d6c6b=0x0;const _0x34c2ad=await this['_localCacheService'][_0x314859(0xee)](_0x40ccb6);return _0x34c2ad&&(_0x34c2ad['awaitingChangeset']||_0x34c2ad[_0x314859(0x256)]['length']!==0x0)&&(_0x2d6c6b=_0x34c2ad[_0x314859(0x3cb)]),_0x2d6c6b===0x0&&this['_logService']['debug'](_0x314859(0x1b0),_0x314859(0x2bc)),this[_0x314859(0x16b)][_0x314859(0x24d)](_0x40ccb6,_0x2d6c6b);}async[_0x474fca(0x15e)](_0x464263){const _0x1cb28c=_0x474fca;let _0x168888=0x0;const _0x38557c=await this['_localCacheService'][_0x1cb28c(0xee)](_0x464263);return _0x38557c&&(_0x38557c[_0x1cb28c(0x335)]||_0x38557c[_0x1cb28c(0x256)][_0x1cb28c(0x2b9)]!==0x0)&&(_0x168888=_0x38557c['rev']),_0x168888===0x0&&this[_0x1cb28c(0x1ac)][_0x1cb28c(0x19c)]('[DataLoaderController]',_0x1cb28c(0x2bc)),this[_0x1cb28c(0x16b)][_0x1cb28c(0x1db)](_0x464263,_0x168888);}},_0x48d167['DataLoaderController']=_0x3bfa67([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x48d167[_0x474fca(0x98)]),_0x4f1e6c(0x0,_0x454085),_0x4f1e6c(0x1,_0x132eb9['ILogService']),_0x4f1e6c(0x2,_0x132eb9[_0x474fca(0x1f1)]),_0x4f1e6c(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0x27d)])),_0x4f1e6c(0x4,_0x132eb9[_0x474fca(0x1a8)](_0x1524d[_0x474fca(0x1e6)])),_0x4f1e6c(0x5,_0x132eb9[_0x474fca(0x199)](_0x4ab2ac[_0x474fca(0x3ef)]))],_0x48d167[_0x474fca(0x98)]);var _0x285be5=Object[_0x474fca(0x109)],_0x465810=Object[_0x474fca(0xcc)],_0x1e71fc=(_0x2f705c,_0x2142a3,_0x34f20a,_0x551ea7)=>{const _0x20fba8=_0x474fca;for(var _0x344329=_0x551ea7>0x1?void 0x0:_0x551ea7?_0x465810(_0x2142a3,_0x34f20a):_0x2142a3,_0x38e85d=_0x2f705c[_0x20fba8(0x2b9)]-0x1,_0x3140b7;_0x38e85d>=0x0;_0x38e85d--)(_0x3140b7=_0x2f705c[_0x38e85d])&&(_0x344329=(_0x551ea7?_0x3140b7(_0x2142a3,_0x34f20a,_0x344329):_0x3140b7(_0x344329))||_0x344329);return _0x551ea7&&_0x344329&&_0x285be5(_0x2142a3,_0x34f20a,_0x344329),_0x344329;},_0x459559=(_0x35f205,_0x2b26a0)=>(_0x398775,_0x5b5549)=>_0x2b26a0(_0x398775,_0x5b5549,_0x35f205);const _0x1b18a0=_0x474fca(0x96),_0x4234bd='Univer';let _0x345dbc=class extends _0x132eb9[_0x474fca(0x177)]{constructor(_0x2a870a,_0x33d0d6){const _0x4b64c5=_0x474fca;super(),this[_0x4b64c5(0x1bd)]=_0x2a870a,this[_0x4b64c5(0x26f)]=_0x33d0d6,this[_0x4b64c5(0x1d5)]();}[_0x474fca(0x1d5)](){const _0x57b311=_0x474fca;this[_0x57b311(0x26e)](_0x132eb9[_0x57b311(0x2c0)](this[_0x57b311(0x1bd)][_0x57b311(0x401)][_0x57b311(0x2e1)](()=>{const _0x38cb06=_0x57b311;var _0x2a6c33;const _0x4850b9=this[_0x38cb06(0x1bd)][_0x38cb06(0x461)]();let _0x3fffc4=(_0x2a6c33=this[_0x38cb06(0x26f)][_0x38cb06(0x3a2)](_0x1b18a0))!=null?_0x2a6c33:_0x4234bd;_0x4850b9 instanceof _0x132eb9[_0x38cb06(0x20b)]&&(_0x3fffc4=_0x4850b9[_0x38cb06(0x26d)]),document['title']=_0x3fffc4;})));}};_0x345dbc=_0x1e71fc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x450)],_0x345dbc),_0x459559(0x0,_0x132eb9[_0x474fca(0x22d)]),_0x459559(0x1,_0x132eb9[_0x474fca(0x46a)])],_0x345dbc);var _0x539da0=Object['defineProperty'],_0x3d2a70=Object[_0x474fca(0xcc)],_0x2c9795=(_0xbac8a5,_0x1fd7da,_0x13def7,_0x522f03)=>{const _0x1c3f98=_0x474fca;for(var _0x4e1fc7=_0x522f03>0x1?void 0x0:_0x522f03?_0x3d2a70(_0x1fd7da,_0x13def7):_0x1fd7da,_0x3237bf=_0xbac8a5[_0x1c3f98(0x2b9)]-0x1,_0x37d976;_0x3237bf>=0x0;_0x3237bf--)(_0x37d976=_0xbac8a5[_0x3237bf])&&(_0x4e1fc7=(_0x522f03?_0x37d976(_0x1fd7da,_0x13def7,_0x4e1fc7):_0x37d976(_0x4e1fc7))||_0x4e1fc7);return _0x522f03&&_0x4e1fc7&&_0x539da0(_0x1fd7da,_0x13def7,_0x4e1fc7),_0x4e1fc7;},_0x5d84a0=(_0x20fb46,_0x424d9b)=>(_0xac6b1f,_0x4b3f15)=>_0x424d9b(_0xac6b1f,_0x4b3f15,_0x20fb46);_0x48d167[_0x474fca(0x231)]=class{constructor(_0x4a3d3a,_0x2bf769){const _0x12a1e5=_0x474fca;this[_0x12a1e5(0x26f)]=_0x4a3d3a,this[_0x12a1e5(0x3da)]=_0x2bf769;}async[_0x474fca(0x1a7)](_0x52c341,_0x2f1007){const _0x353e6e=_0x474fca;var _0x1f7c79;const {unitID:_0x1ce7d3,type:_0x4c3e29,revision:_0x11afd0=0x0}=_0x2f1007,_0x273758=this[_0x353e6e(0x3f0)]()+'/'+_0x4c3e29+_0x353e6e(0x27f)+_0x1ce7d3+'/rev/'+_0x11afd0,_0x3ee086=(await this['_httpService'][_0x353e6e(0x261)](_0x273758))['body'],_0x407e86=(_0x1f7c79=_0x3ee086['snapshot'])==null?void 0x0:_0x1f7c79['workbook'];if(_0x407e86){const _0x365e4a=_0x407e86==null?void 0x0:_0x407e86[_0x353e6e(0x315)],_0x48607d=_0x132eb9[_0x353e6e(0x29e)][_0x353e6e(0x9e)](_0x132eb9[_0x353e6e(0x436)](_0x365e4a));_0x407e86[_0x353e6e(0x315)]=_0x48607d,Object[_0x353e6e(0x402)](_0x407e86[_0x353e6e(0x13a)])[_0x353e6e(0x173)](([,_0x56b05b])=>{const _0x2e9114=_0x353e6e,_0x398bc2=_0x56b05b['originalMeta'],_0x3af074=_0x132eb9[_0x2e9114(0x29e)][_0x2e9114(0x9e)](_0x132eb9[_0x2e9114(0x436)](_0x398bc2));_0x56b05b[_0x2e9114(0x315)]=_0x3af074;});}return _0x3ee086;}async[_0x474fca(0x1ec)](_0x15946d,_0x44c6b1){const _0x7bcaa2=_0x474fca,{unitID:_0x55d3cd,type:_0x2692f2,blockID:_0xf9d1e6}=_0x44c6b1,_0x13552d=this[_0x7bcaa2(0x45c)]()+'/'+_0x2692f2+_0x7bcaa2(0x27f)+_0x55d3cd+_0x7bcaa2(0x263)+_0xf9d1e6;return(await this['_httpService'][_0x7bcaa2(0x261)](_0x13552d))[_0x7bcaa2(0x472)];}async[_0x474fca(0xc0)](_0x4a51a1,_0x391eeb){const _0x1d39d7=_0x474fca,{unitID:_0x486a4d,type:_0x45a162,from:_0x173aa7,to:_0x26855f}=_0x391eeb,_0x3b5b07=this[_0x1d39d7(0x45c)]()+'/'+_0x45a162+_0x1d39d7(0x27f)+_0x486a4d+'/fetchmissing?from='+_0x173aa7+_0x1d39d7(0x367)+_0x26855f;return(await this['_httpService'][_0x1d39d7(0x261)](_0x3b5b07))[_0x1d39d7(0x472)];}[_0x474fca(0x3f0)](){const _0x1f662d=_0x474fca;var _0x18b93c;return(_0x18b93c=this[_0x1f662d(0x26f)][_0x1f662d(0x3a2)](_0x5e8172))!=null?_0x18b93c:this[_0x1f662d(0x45c)]();}[_0x474fca(0x45c)](){const _0x5f2654=_0x474fca;var _0x1dd85c;return(_0x1dd85c=this[_0x5f2654(0x26f)]['getConfig'](_0x474f5b))!=null?_0x1dd85c:_0x152042;}async[_0x474fca(0x457)](_0x8bdea7,_0x2e3dd5){const _0x31d68f=_0x474fca,_0x549550=_0x31d68f(0xd7)+_0x2e3dd5[_0x31d68f(0x11a)]+_0x31d68f(0x27f)+_0x2e3dd5[_0x31d68f(0x176)]+'/resources';return(await this[_0x31d68f(0x3da)][_0x31d68f(0x261)](_0x549550,{'params':{'resourceId':JSON['stringify'](_0x2e3dd5['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x474fca(0x1bf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x48d167[_0x474fca(0x231)]=_0x2c9795([_0x5d84a0(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x5d84a0(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)]))],_0x48d167['SnapshotServerOverHTTPService']);var _0x32c88c=Object[_0x474fca(0x109)],_0x45d65f=Object[_0x474fca(0xcc)],_0x4606b2=(_0x3b0ee9,_0x44e1a5,_0x5019f3,_0x4f4ffe)=>{for(var _0x1f6825=_0x4f4ffe>0x1?void 0x0:_0x4f4ffe?_0x45d65f(_0x44e1a5,_0x5019f3):_0x44e1a5,_0x598fb7=_0x3b0ee9['length']-0x1,_0x539107;_0x598fb7>=0x0;_0x598fb7--)(_0x539107=_0x3b0ee9[_0x598fb7])&&(_0x1f6825=(_0x4f4ffe?_0x539107(_0x44e1a5,_0x5019f3,_0x1f6825):_0x539107(_0x1f6825))||_0x1f6825);return _0x4f4ffe&&_0x1f6825&&_0x32c88c(_0x44e1a5,_0x5019f3,_0x1f6825),_0x1f6825;},_0x3084fa=(_0x13fe14,_0x3b9dbc)=>(_0x31cb43,_0x22c36c)=>_0x3b9dbc(_0x31cb43,_0x22c36c,_0x13fe14);let _0x4f58da=class extends _0x132eb9[_0x474fca(0x2d5)]{constructor(_0x596a0f,_0x3c083b,_0xeb7106,_0x5abb7f,_0x2b0d81){const _0x1fcb40=_0x474fca;super(_0x596a0f,_0x3c083b,_0xeb7106),this['_transformService']=_0x5abb7f,this[_0x1fcb40(0x1ac)]=_0x2b0d81;}[_0x474fca(0x32a)](_0x440304,_0x95b189){const _0x591261=_0x474fca,_0x12cdd3=this[_0x591261(0x399)](_0x440304);if(_0x12cdd3)try{const _0x269c8e=this['_transformStack'](_0x12cdd3,_0x95b189);this[_0x591261(0x21e)](_0x440304,_0x269c8e);}catch(_0x16fb09){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x591261(0x17c),_0x16fb09),this['_clearUndo'](_0x440304);}const _0x5ba200=this[_0x591261(0x389)](_0x440304);if(_0x5ba200)try{const _0x1f92ab=this['_transformStack'](_0x5ba200,_0x95b189);this[_0x591261(0xcb)](_0x440304,_0x1f92ab);}catch(_0x4a8db4){this[_0x591261(0x1ac)][_0x591261(0xf5)](_0x4a8db4),this[_0x591261(0x3fd)](_0x440304);}}[_0x474fca(0x238)](_0x24bf99){const _0x93a443=_0x474fca,_0x2e68ae=this[_0x93a443(0x399)](_0x24bf99);_0x2e68ae&&(_0x2e68ae[_0x93a443(0x2b9)]=0x0,this[_0x93a443(0x1ce)]());}[_0x474fca(0x3fd)](_0x1061d2){const _0x4657fa=_0x474fca,_0x49aec3=this['_getRedoStack'](_0x1061d2);_0x49aec3&&(_0x49aec3['length']=0x0,this[_0x4657fa(0x1ce)]());}[_0x474fca(0x21e)](_0x4dcdbb,_0x49fce9){const _0xf77eb0=_0x474fca;this[_0xf77eb0(0x12a)]['set'](_0x4dcdbb,_0x49fce9),this[_0xf77eb0(0x1ce)]();}[_0x474fca(0xcb)](_0x26b4ef,_0x2f6e13){const _0x16c851=_0x474fca;this[_0x16c851(0x289)]['set'](_0x26b4ef,_0x2f6e13),this['_updateStatus']();}[_0x474fca(0x208)](_0x3ad1d1,_0x4c184f){const _0x15f2ad=_0x474fca,_0x3da61a=[];let _0xf653bd=_0x4c184f,_0x33e136=_0x4c184f;for(let _0x230ba7=_0x3ad1d1[_0x15f2ad(0x2b9)]-0x1;_0x230ba7>=0x0;_0x230ba7--){const {unitID:_0x16f261,undoMutations:_0x1a31c9,redoMutations:_0x22c9a4}=_0x3ad1d1[_0x230ba7],_0x16c3b5=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0xf653bd,_0x1a31c9),_0x2becdb=this[_0x15f2ad(0x190)]['transformMutationsWithChangeset'](_0x33e136,_0x22c9a4);if(_0x1524d['isTransformMutationsWithChangesetFailure'](_0x16c3b5)||_0x1524d[_0x15f2ad(0x21c)](_0x2becdb)){this[_0x15f2ad(0x1ac)][_0x15f2ad(0xf5)](_0x15f2ad(0x17c),_0x15f2ad(0x2cd),_0x16c3b5,_0x2becdb);break;}_0xf653bd=_0x16c3b5['c1Prime'],_0x33e136=_0x2becdb[_0x15f2ad(0x1f5)],_0x3da61a[_0x15f2ad(0x277)]({'unitID':_0x16f261,'undoMutations':_0x16c3b5[_0x15f2ad(0x43b)],'redoMutations':_0x2becdb['m2Prime']});}return _0x3da61a[_0x15f2ad(0x37f)]();}};_0x4f58da=_0x4606b2([_0x3084fa(0x0,_0x132eb9['IUniverInstanceService']),_0x3084fa(0x1,_0x132eb9['ICommandService']),_0x3084fa(0x2,_0x132eb9[_0x474fca(0x2bb)]),_0x3084fa(0x3,_0x1524d[_0x474fca(0x439)]),_0x3084fa(0x4,_0x132eb9[_0x474fca(0xad)])],_0x4f58da);class _0x56db24 extends _0x132eb9['RxDisposable']{constructor(){const _0xc483c5=_0x474fca;super(),_0x3b7d06(this,_0xc483c5(0x298)),this[_0xc483c5(0x298)]=_0x3639ee['fromEvent'](window,_0xc483c5(0x144))['pipe'](_0x3639ee[_0xc483c5(0x37a)](this['dispose$']),_0x3639ee[_0xc483c5(0x426)](0x1),_0x3639ee[_0xc483c5(0x443)](void 0x0));}[_0x474fca(0x3f9)](_0x5e7eb5,_0x192330,_0x138884=!0x1){const _0x45402c=_0x474fca,_0x469f96=new URL(window[_0x45402c(0x36f)]['href']);_0x469f96[_0x45402c(0xf6)][_0x45402c(0xbe)](_0x5e7eb5,_0x192330),_0x138884?window[_0x45402c(0x185)][_0x45402c(0x21f)]('','',_0x469f96[_0x45402c(0xa2)]()):window[_0x45402c(0x185)][_0x45402c(0x3a0)]('','',_0x469f96['toString']());}[_0x474fca(0x2e2)](_0x14b23b,_0xb28cf3=!0x1){const _0x6fd48=_0x474fca,_0x4fc658=new URL(window['location'][_0x6fd48(0x3c1)]);_0x4fc658['searchParams'][_0x6fd48(0x224)](_0x14b23b),_0xb28cf3?window[_0x6fd48(0x185)][_0x6fd48(0x21f)]('','',_0x4fc658['toString']()):window[_0x6fd48(0x185)]['pushState']('','',_0x4fc658['toString']());}['getParam'](_0x44535e){const _0x17c63c=_0x474fca;var _0x3fcdac;return(_0x3fcdac=new URL(window[_0x17c63c(0x36f)]['href'])[_0x17c63c(0xf6)][_0x17c63c(0x261)](_0x44535e))!=null?_0x3fcdac:void 0x0;}}const _0x1f1791='collab-text-anchor-',_0x190996=_0x474fca(0x1fa),_0x44d369='collab-rect-range-',_0x1099f8=0x6,_0x43ede2=1.5,_0x125c51=0x4,_0xb0b81d=1.5,_0x22b5ef='rgba(255,\x20255,\x20255,\x200.01)';class _0x471da0{constructor(_0x150c89,_0x2f3a33,_0x1397ce,_0x2b2006){const _0x6dbc0d=_0x474fca;_0x3b7d06(this,_0x6dbc0d(0x34a),[]),_0x3b7d06(this,_0x6dbc0d(0x267),null),_0x3b7d06(this,'_textBubble',null),_0x3b7d06(this,_0x6dbc0d(0x154),null),_0x3b7d06(this,_0x6dbc0d(0x3c0),null),_0x3b7d06(this,_0x6dbc0d(0x16e),null),(this[_0x6dbc0d(0x451)]=_0x150c89,this[_0x6dbc0d(0x482)]=_0x2f3a33,this[_0x6dbc0d(0x3e1)]=_0x1397ce,this[_0x6dbc0d(0x403)]=_0x2b2006,this[_0x6dbc0d(0x19e)]());}set[_0x474fca(0x29c)](_0x193b22){const _0x506b80=_0x474fca;_0x193b22?(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0x180)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0xac)]()):(this[_0x506b80(0x154)]&&this[_0x506b80(0x154)][_0x506b80(0xac)](),this[_0x506b80(0x46f)]&&this['_textBubble'][_0x506b80(0x180)]());}[_0x474fca(0x19a)](){const _0x2c7f2f=_0x474fca;for(const _0x7c5501 of this[_0x2c7f2f(0x34a)])_0x7c5501[_0x2c7f2f(0x19a)]();this[_0x2c7f2f(0x46f)]&&this[_0x2c7f2f(0x46f)]['dispose'](),this[_0x2c7f2f(0x154)]&&this[_0x2c7f2f(0x154)]['dispose'](),this[_0x2c7f2f(0x267)]&&this['_anchor'][_0x2c7f2f(0x19a)](),this[_0x2c7f2f(0x16e)]&&this['_eventUnsubscribe']();}[_0x474fca(0x19e)](){const _0x4cfa7c=_0x474fca;var _0xcb6d87;const {_docSkeleton:_0x873924,_document:_0x21be01}=this,{color:_0x3a695c,name:_0x2316b5,ranges:_0x3b8c07}=this['_cursor'],_0x1dfccb=_0x21be01[_0x4cfa7c(0xfb)](),{docsLeft:_0x1c2577,docsTop:_0x173f9a}=_0x1dfccb,_0x388f71=new _0x24af47[(_0x4cfa7c(0x297))](_0x1dfccb,_0x873924);for(const {startOffset:_0x3ff2cd,endOffset:_0x3aca74,collapsed:_0x157a84,isActive:_0xc42258}of _0x3b8c07){const _0x2c1f51=_0x873924['findNodePositionByCharIndex'](_0x3ff2cd),_0x57dcde=_0x873924[_0x4cfa7c(0x9f)](_0x3aca74);if(_0xc42258){const {contentBoxPointGroup:_0x24c873}=_0x388f71[_0x4cfa7c(0x17a)](_0x57dcde,_0x57dcde);if(_0x24c873['length']===0x0)continue;this[_0x4cfa7c(0xd0)](_0x3a695c,_0x24c873,_0x1c2577,_0x173f9a,_0x2316b5),this['_eventUnsubscribe']=this[_0x4cfa7c(0x40a)]();}if(!_0x157a84&&_0x2c1f51&&_0x57dcde){if(_0x24af47[_0x4cfa7c(0x3ff)](_0x2c1f51,_0x57dcde)){const _0x440ebc=new _0x24af47[(_0x4cfa7c(0x179))](_0x1dfccb,_0x873924),{pointGroup:_0x5e2036}=(_0xcb6d87=_0x440ebc['getRangePointData'](_0x2c1f51,_0x57dcde))!=null?_0xcb6d87:{};if(_0x5e2036==null||_0x5e2036[_0x4cfa7c(0x2b9)]===0x0)continue;this[_0x4cfa7c(0x145)](_0x3a695c,_0x5e2036,_0x1c2577,_0x173f9a);}else{const {contentBoxPointGroup:_0x1e9aa9}=_0x388f71[_0x4cfa7c(0x17a)](_0x2c1f51,_0x57dcde);if(_0x1e9aa9['length']===0x0)continue;this[_0x4cfa7c(0x278)](_0x3a695c,_0x1e9aa9,_0x1c2577,_0x173f9a);}}}}[_0x474fca(0xd0)](_0x3d01c4,_0x27696a,_0x442135,_0x49fe2e,_0x4c40ec){const _0x2a6d21=_0x474fca,_0xa2f875=this[_0x2a6d21(0x220)](_0x27696a),{left:_0x1f18f5,top:_0x1af252,height:_0x3f4904}=_0xa2f875,_0x4e330a=this['_getScale'](),_0x1aad8e=_0xb0b81d/_0x4e330a,_0x4ef458=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e,'height':_0x3f4904,'width':_0x43ede2,'fill':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':_0x1aad8e,'stroke':_0x22b5ef,'evented':!0x0});this[_0x2a6d21(0x267)]=_0x4ef458,this[_0x2a6d21(0x482)]['addObject'](_0x4ef458,_0x24af47[_0x2a6d21(0x25c)]);const _0x524dd1=new _0x24af47[(_0x2a6d21(0x411))](_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)]['generateRandomId'](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x125c51/0x2,'height':_0x125c51,'width':_0x125c51,'fill':_0x3d01c4||_0x24af47['getColor'](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'strokeWidth':0x0,'stroke':_0x3d01c4||_0x24af47[_0x2a6d21(0x480)](_0x132eb9[_0x2a6d21(0xd3)][_0x2a6d21(0x146)],0x0),'evented':!0x1});this['_anchorDot']=_0x524dd1,this[_0x2a6d21(0x482)]['addObject'](_0x524dd1,_0x24af47[_0x2a6d21(0x25c)]);const _0x358e9d=new _0x1313fc(_0x1f1791+_0x132eb9[_0x2a6d21(0x44f)][_0x2a6d21(0x2de)](_0x1099f8),{'left':_0x1f18f5+_0x442135-_0x1aad8e,'top':_0x1af252+_0x49fe2e-_0x2f3f31,'text':_0x4c40ec,'color':_0x3d01c4});this[_0x2a6d21(0x46f)]=_0x358e9d,this['_scene'][_0x2a6d21(0x1da)](_0x358e9d,_0x24af47[_0x2a6d21(0x25c)]),this[_0x2a6d21(0x29c)]=!0x1;}[_0x474fca(0x40a)](){const _0x3dc9c2=_0x474fca,_0x45ef4f=this[_0x3dc9c2(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{const _0xd724d=_0x3dc9c2;this[_0xd724d(0x29c)]=!0x0;}),_0x40056b=this['_anchor'][_0x3dc9c2(0x46c)][_0x3dc9c2(0xb7)](()=>{const _0x28b5bb=_0x3dc9c2;this[_0x28b5bb(0x3c0)]&&clearTimeout(this[_0x28b5bb(0x3c0)]),this[_0x28b5bb(0x3c0)]=setTimeout(()=>{const _0x9993c6=_0x28b5bb;this[_0x9993c6(0x29c)]=!0x1;},0x7d0);});return()=>{const _0x43f982=_0x3dc9c2;_0x45ef4f['unsubscribe'](),_0x40056b[_0x43f982(0xde)]();};}[_0x474fca(0x278)](_0x2e81a4,_0x56bca4,_0x19fa44,_0x26f7b1){const _0x58ccf8=_0x474fca,_0x29349a=new _0x132eb9[(_0x58ccf8(0x215))](_0x2e81a4)[_0x58ccf8(0xbc)](0.2)[_0x58ccf8(0x312)](),_0x3aea7f=new _0x24af47[(_0x58ccf8(0x1d8))](_0x190996+_0x132eb9['Tools']['generateRandomId'](_0x1099f8),{'pointsGroup':_0x56bca4,'fill':_0x29349a||_0x24af47['getColor'](_0x132eb9[_0x58ccf8(0xd3)]['black'],0.2),'left':_0x19fa44,'top':_0x26f7b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58ccf8(0x34a)][_0x58ccf8(0x277)](_0x3aea7f),this[_0x58ccf8(0x482)][_0x58ccf8(0x1da)](_0x3aea7f,_0x24af47[_0x58ccf8(0x25c)]);}['_drawRectRange'](_0x55e254,_0x236349,_0x505460,_0x244cf3){const _0x434c49=_0x474fca,_0x48368a=new _0x132eb9['ColorKit'](_0x55e254)['setAlpha'](0.2)[_0x434c49(0x312)](),_0x533dc4=new _0x24af47[(_0x434c49(0x1d8))](_0x44d369+_0x132eb9[_0x434c49(0x44f)][_0x434c49(0x2de)](_0x1099f8),{'pointsGroup':_0x236349,'fill':_0x48368a||_0x24af47[_0x434c49(0x480)](_0x132eb9[_0x434c49(0xd3)][_0x434c49(0x146)],0.2),'left':_0x505460,'top':_0x244cf3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x434c49(0x34a)]['push'](_0x533dc4),this[_0x434c49(0x482)]['addObject'](_0x533dc4,_0x24af47[_0x434c49(0x25c)]);}[_0x474fca(0x220)](_0x4fb255){const _0x1c0a9c=_0x4fb255[0x0],_0x4214cb=_0x1c0a9c[0x0],_0x4cbc9b=_0x1c0a9c[0x2],{x:_0x21c2ca,y:_0x30a968}=_0x4214cb,{x:_0x179cfc,y:_0x1c38bd}=_0x4cbc9b;return{'left':_0x21c2ca,'top':_0x30a968,'width':_0x179cfc-_0x21c2ca,'height':_0x1c38bd-_0x30a968};}[_0x474fca(0x41c)](){const _0x7b1ba0=_0x474fca,{scaleX:_0x35f2b3,scaleY:_0x30b358}=this['_scene'][_0x7b1ba0(0x19d)]();return Math[_0x7b1ba0(0xfc)](_0x35f2b3,_0x30b358);}}var _0x17495a=Object[_0x474fca(0x109)],_0x41907b=Object[_0x474fca(0xcc)],_0x764e48=(_0x4574ee,_0x451987,_0x24ac56,_0x4cfa6a)=>{const _0x2d0bc0=_0x474fca;for(var _0xcddcb6=_0x4cfa6a>0x1?void 0x0:_0x4cfa6a?_0x41907b(_0x451987,_0x24ac56):_0x451987,_0x545ffe=_0x4574ee[_0x2d0bc0(0x2b9)]-0x1,_0x18a4c1;_0x545ffe>=0x0;_0x545ffe--)(_0x18a4c1=_0x4574ee[_0x545ffe])&&(_0xcddcb6=(_0x4cfa6a?_0x18a4c1(_0x451987,_0x24ac56,_0xcddcb6):_0x18a4c1(_0xcddcb6))||_0xcddcb6);return _0x4cfa6a&&_0xcddcb6&&_0x17495a(_0x451987,_0x24ac56,_0xcddcb6),_0xcddcb6;},_0x5bbcf9=(_0x5662ca,_0x1ed246)=>(_0x262a44,_0x21ac09)=>_0x1ed246(_0x262a44,_0x21ac09,_0x5662ca);let _0x1c9143=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x37b3eb,_0x465383,_0x3a26a4,_0x2df029,_0x2a9b70){const _0x15ee10=_0x474fca;super(),_0x3b7d06(this,_0x15ee10(0x17e),[]),_0x3b7d06(this,_0x15ee10(0x29f),[]),(this[_0x15ee10(0x3b9)]=_0x37b3eb,this['_docSkeletonManagerService']=_0x465383,this[_0x15ee10(0x1f0)]=_0x3a26a4,this[_0x15ee10(0x1c9)]=_0x2df029,this[_0x15ee10(0x45b)]=_0x2a9b70,this[_0x15ee10(0x1d5)]());}['_init'](){const _0x4e4e4e=_0x474fca,_0x4a4ff2=this[_0x4e4e4e(0x3b9)][_0x4e4e4e(0xa5)],_0x25b466=this[_0x4e4e4e(0x340)];this['disposeWithMe'](_0x3639ee[_0x4e4e4e(0x300)]([this[_0x4e4e4e(0x1f0)][_0x4e4e4e(0x188)](_0x4a4ff2),this[_0x4e4e4e(0x45b)]['currentTheme$']])[_0x4e4e4e(0x195)](_0x5d8ab5[_0x4e4e4e(0x18f)](([_0x2f5502,_0x5e508a])=>({'skeleton':_0x25b466[_0x4e4e4e(0x119)](),'cursors':[..._0x2f5502[_0x4e4e4e(0x42c)]()][_0x4e4e4e(0x424)](_0x10a43a=>({..._0x10a43a,'color':_0x5e508a[_0x10a43a[_0x4e4e4e(0xfe)]]}))})))['subscribe'](_0xc4b3c6=>{const _0x4e6305=_0x4e4e4e;if(this[_0x4e6305(0xd2)](),_0xc4b3c6){const {skeleton:_0x3985ed,cursors:_0x336532}=_0xc4b3c6;this[_0x4e6305(0x479)](_0x3985ed,_0x336532);}})),this[_0x4e4e4e(0x353)](),this['_initCommandExecutedListener']();}[_0x474fca(0x479)](_0x5cacdc,_0x245b7d){const _0x1f3e12=_0x474fca,{scene:_0x274ce4,mainComponent:_0x2aaa53}=this['_context'],_0x4d844a=_0x245b7d[_0x1f3e12(0x18f)](_0x13cb88=>new _0x471da0(_0x13cb88,_0x274ce4,_0x5cacdc,_0x2aaa53));this[_0x1f3e12(0x17e)]=_0x4d844a,this[_0x1f3e12(0x29f)]=_0x245b7d;}['_refreshCollabCursors'](){const _0x66adea=_0x474fca;this[_0x66adea(0xd2)]();const {scene:_0x2b6445,mainComponent:_0x184cf0}=this['_context'],_0x5e8800=this[_0x66adea(0x340)]['getSkeleton'](),_0x56c479=this[_0x66adea(0x29f)]['map'](_0x1266ba=>new _0x471da0(_0x1266ba,_0x2b6445,_0x5e8800,_0x184cf0));this[_0x66adea(0x17e)]=_0x56c479;}[_0x474fca(0xd2)](){const _0x32b381=_0x474fca;this[_0x32b381(0x17e)][_0x32b381(0x173)](_0x5e5e14=>_0x5e5e14[_0x32b381(0x19a)]()),this['_cursorShapes']=[];}[_0x474fca(0xcf)](){const _0x69df8c=_0x474fca,_0x11a2b6=[_0x4b287a[_0x69df8c(0x240)]['id']];this[_0x69df8c(0x26e)](this[_0x69df8c(0x1c9)][_0x69df8c(0x344)](_0x4697d2=>{const _0x3baac6=_0x69df8c;_0x11a2b6[_0x3baac6(0x317)](_0x4697d2['id'])&&_0x4697d2[_0x3baac6(0xe6)][_0x3baac6(0xa5)]===this['_context'][_0x3baac6(0xa5)]&&this[_0x3baac6(0x45d)]();}));}[_0x474fca(0x353)](){const _0x310cfb=_0x474fca;this[_0x310cfb(0x26e)](_0x132eb9['fromEventSubject'](this[_0x310cfb(0x3b9)]['engine'][_0x310cfb(0x2e8)])[_0x310cfb(0x195)](_0x5d8ab5[_0x310cfb(0x1cd)](_0x2701a3=>_0x2701a3[_0x310cfb(0x11a)]===_0x24af47[_0x310cfb(0x47c)]['resize']),_0x5d8ab5['throttleTime'](0x10))[_0x310cfb(0x2e1)](()=>{const _0x37ba2a=_0x310cfb;this[_0x37ba2a(0x45d)]();}));}};_0x1c9143=_0x764e48([_0x132eb9['OnLifecycle'](_0x132eb9[_0x474fca(0x232)]['Steady'],_0x1c9143),_0x5bbcf9(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x4b287a[_0x474fca(0x1f7)])),_0x5bbcf9(0x2,_0x132eb9[_0x474fca(0x1a8)](_0x4073a6)),_0x5bbcf9(0x3,_0x132eb9['ICommandService']),_0x5bbcf9(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x369)]))],_0x1c9143);var _0x4f01c6=Object[_0x474fca(0x109)],_0x358418=Object['getOwnPropertyDescriptor'],_0x23f800=(_0x3dc72b,_0x5efee5,_0x24b3da,_0x39852e)=>{const _0x3c3d89=_0x474fca;for(var _0x37ee2a=_0x39852e>0x1?void 0x0:_0x39852e?_0x358418(_0x5efee5,_0x24b3da):_0x5efee5,_0x4cd0a3=_0x3dc72b[_0x3c3d89(0x2b9)]-0x1,_0x104278;_0x4cd0a3>=0x0;_0x4cd0a3--)(_0x104278=_0x3dc72b[_0x4cd0a3])&&(_0x37ee2a=(_0x39852e?_0x104278(_0x5efee5,_0x24b3da,_0x37ee2a):_0x104278(_0x37ee2a))||_0x37ee2a);return _0x39852e&&_0x37ee2a&&_0x4f01c6(_0x5efee5,_0x24b3da,_0x37ee2a),_0x37ee2a;},_0x53cfc5=(_0x3f4e77,_0x35ebbb)=>(_0x4c1a4e,_0xec186e)=>_0x35ebbb(_0x4c1a4e,_0xec186e,_0x3f4e77);let _0xb1bc0c=class{constructor(_0x46a650,_0x86f5d6,_0x57825b){const _0x56c6ee=_0x474fca;this[_0x56c6ee(0x26f)]=_0x46a650,this['_httpService']=_0x86f5d6,this[_0x56c6ee(0x211)]=_0x57825b,this['init']();}[_0x474fca(0x1ed)](){const _0x44ae33=_0x474fca;this[_0x44ae33(0x3da)][_0x44ae33(0x3a4)]({'priority':0x1,'interceptor':(_0x1b7148,_0x469584)=>_0x469584(_0x1b7148)['pipe'](_0x3639ee['concatMap'](async _0x46ac45=>{const _0x13cb97=_0x44ae33,_0x28787c=_0x46ac45;if(_0x28787c[_0x13cb97(0x332)]===0x191&&window[_0x13cb97(0x3c5)](this[_0x13cb97(0x211)]['t'](_0x13cb97(0x113)))){const _0x49f39e=window[_0x13cb97(0x3d5)](window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]);window[_0x13cb97(0x36f)][_0x13cb97(0x3c1)]=this[_0x13cb97(0x2f3)]()+_0x13cb97(0x10c)+_0x49f39e;}return _0x28787c;}))});}['_getLoginPath'](){const _0x2b357d=_0x474fca;var _0x26a77a;return(_0x26a77a=this[_0x2b357d(0x26f)][_0x2b357d(0x3a2)](_0x596ca2))!=null?_0x26a77a:_0x2bbb39;}};_0xb1bc0c=_0x23f800([_0x53cfc5(0x0,_0x132eb9[_0x474fca(0x46a)]),_0x53cfc5(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x53cfc5(0x2,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0xb1bc0c);var _0x454b0a=Object[_0x474fca(0x109)],_0xb3dedc=Object['getOwnPropertyDescriptor'],_0x2add22=(_0x118e6d,_0x207a67,_0x2c1aa7,_0x4c6b84)=>{for(var _0x2d5ae8=_0x4c6b84>0x1?void 0x0:_0x4c6b84?_0xb3dedc(_0x207a67,_0x2c1aa7):_0x207a67,_0x274a33=_0x118e6d['length']-0x1,_0x196014;_0x274a33>=0x0;_0x274a33--)(_0x196014=_0x118e6d[_0x274a33])&&(_0x2d5ae8=(_0x4c6b84?_0x196014(_0x207a67,_0x2c1aa7,_0x2d5ae8):_0x196014(_0x2d5ae8))||_0x2d5ae8);return _0x4c6b84&&_0x2d5ae8&&_0x454b0a(_0x207a67,_0x2c1aa7,_0x2d5ae8),_0x2d5ae8;},_0x2b2581=(_0x41d9a3,_0x7a0046)=>(_0x3aeaa1,_0x1dd7cf)=>_0x7a0046(_0x3aeaa1,_0x1dd7cf,_0x41d9a3);const _0x3dabc0=_0x474fca(0x164),_0x16aae6='/universer-api/authz';_0x48d167[_0x474fca(0x31b)]=class extends _0x132eb9['Disposable']{constructor(_0xc7aeaa,_0x1f007b){const _0x55a178=_0x474fca;super(),this[_0x55a178(0x3ce)]=_0xc7aeaa,this[_0x55a178(0x26f)]=_0x1f007b,this[_0x55a178(0x430)]();}[_0x474fca(0x430)](){const _0x1f98de=_0x474fca,_0x5b9ece=this;this[_0x1f98de(0x26e)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x5e809e['MergeInterceptorFactory']({'isMatch'(_0x47874b){const _0x415dfe=_0x1f98de;var _0x5747b3;if(_0x47874b[_0x415dfe(0x351)]==='POST'&&((_0x5747b3=_0x47874b['requestParams'])!=null&&_0x5747b3[_0x415dfe(0x472)])){const {objectID:_0x3474d1,objectType:_0x21f3b1}=_0x47874b[_0x415dfe(0x3b2)]['body']||{};if(!_0x3474d1||_0x21f3b1===void 0x0)return!0x1;const _0x531ead=_0x5b9ece[_0x415dfe(0x1f2)]()+'/'+_0x21f3b1+_0x415dfe(0x17f)+_0x3474d1+_0x415dfe(0xe3);if(_0x47874b[_0x415dfe(0x229)]===_0x531ead)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x189d5e){const _0x38fad7=_0x1f98de;var _0x372ad0;return(_0x372ad0=_0x189d5e[_0x38fad7(0x3b2)])==null?void 0x0:_0x372ad0[_0x38fad7(0x472)];},'mergeParamsToRequest'(_0x5a6c09,_0x16f8b9){const _0x3920a3=_0x1f98de,_0x44afda=_0x5b9ece[_0x3920a3(0x1f2)]()+_0x3920a3(0x3c4),_0x276b4e=_0x5a6c09[_0x3920a3(0xea)]((_0x226052,_0x52ec45)=>{const _0x48322d=_0x3920a3,{unitID:_0x2693f2,objectID:_0x39a425,objectType:_0x3a0acf,actions:_0x31c9f4}=_0x52ec45;return _0x226052[_0x2693f2]||(_0x226052[_0x2693f2]={}),_0x226052[_0x2693f2][_0x39a425]||(_0x226052[_0x2693f2][_0x39a425]={'objectID':_0x39a425,'objectType':_0x3a0acf,'actions':[]}),_0x226052[_0x2693f2][_0x39a425][_0x48322d(0xaf)][_0x48322d(0x277)](..._0x31c9f4),_0x226052;},{}),_0x93a4d6=[];for(const _0x605b8e in _0x276b4e)for(const _0x2017f7 in _0x276b4e[_0x605b8e]){const {actions:_0x566ecd,objectType:_0x4612f5}=_0x276b4e[_0x605b8e][_0x2017f7],_0x378117=[...new Set(_0x566ecd)];_0x93a4d6[_0x3920a3(0x277)]({'unitID':_0x605b8e,'objectID':_0x2017f7,'objectType':_0x4612f5,'actions':_0x378117});}return new _0x5e809e[(_0x3920a3(0x26b))](_0x3920a3(0x473),_0x44afda,{'headers':_0x16f8b9[_0x3920a3(0x23b)],'withCredentials':_0x16f8b9[_0x3920a3(0x2e3)],'responseType':_0x16f8b9['responseType'],'body':{'requests':_0x93a4d6}});}},{'distributeResult'(_0xce1ee8,_0x23a6e6){const _0xeadd56=_0x1f98de,{objectActions:_0x589716}=_0xce1ee8;return _0x23a6e6[_0xeadd56(0x18f)](_0x2ca0b0=>{const _0x4d6e84=_0xeadd56,{unitID:_0x293e7c,objectID:_0x2523b5,actions:_0x1925ad}=_0x2ca0b0,_0x36ee7c=_0x589716[_0x4d6e84(0x375)](_0x31c5a9=>_0x31c5a9[_0x4d6e84(0x176)]===_0x293e7c&&_0x31c5a9[_0x4d6e84(0x186)]===_0x2523b5),_0x11cec5=_0x1925ad[_0x4d6e84(0x18f)](_0x1e04eb=>_0x36ee7c==null?void 0x0:_0x36ee7c['actions']['find'](_0x35aa7f=>_0x35aa7f['action']===_0x1e04eb))[_0x4d6e84(0x1cd)](_0x254f3f=>!!_0x254f3f);return{'config':_0x2ca0b0,'result':{'actions':_0x11cec5,'error':_0xce1ee8[_0x4d6e84(0xf5)]}};});}})}));}['_getAPIPrefixPath'](){const _0x57b5f9=_0x474fca;var _0x1c4d4f;return(_0x1c4d4f=this[_0x57b5f9(0x26f)]['getConfig'](_0x3dabc0))!=null?_0x1c4d4f:_0x16aae6;}async[_0x474fca(0x140)](_0xdd2ee3){const _0x22c018=_0x474fca,_0x5e99ea=this[_0x22c018(0x1f2)]()+'/'+_0xdd2ee3[_0x22c018(0x184)]+_0x22c018(0xa3);return(await this[_0x22c018(0x3ce)]['post'](_0x5e99ea,{'body':_0xdd2ee3}))[_0x22c018(0x472)][_0x22c018(0x186)]||'';}async[_0x474fca(0x23f)](_0x3dd778){const _0x51c909=_0x474fca,_0x1ed034=this[_0x51c909(0x1f2)]()+'/-/object/list';return(await this[_0x51c909(0x3ce)][_0x51c909(0x128)](_0x1ed034,{'body':_0x3dd778}))[_0x51c909(0x472)]['objects'];}async[_0x474fca(0x37e)](_0xfd19bc){const _0x24b1a9=_0x474fca,_0x17dae1=this[_0x24b1a9(0x1f2)]()+'/'+_0xfd19bc[_0x24b1a9(0x184)]+_0x24b1a9(0x17f)+_0xfd19bc['objectID'];await this[_0x24b1a9(0x3ce)][_0x24b1a9(0x475)](_0x17dae1,{'body':_0xfd19bc});}async[_0x474fca(0x463)](_0x2da04e){const _0x5bba08=_0x474fca,_0x5ef12d=this['_getAPIPrefixPath']()+'/'+_0x2da04e['objectType']+_0x5bba08(0x17f)+_0x2da04e[_0x5bba08(0x186)]+_0x5bba08(0xe3);return(await this['_HTTPService']['post'](_0x5ef12d,{'body':_0x2da04e}))['body'][_0x5bba08(0xaf)];}async['batchAllowed'](_0x521a97){const _0x13cb2d=_0x474fca,_0x291653=this['_getAPIPrefixPath']()+_0x13cb2d(0x3c4);return(await this['_HTTPService'][_0x13cb2d(0x128)](_0x291653,{'body':{'requests':_0x521a97}}))['body'][_0x13cb2d(0x226)];}async[_0x474fca(0xb1)](_0x647019){const _0x1da938=_0x474fca,_0x3486da=this['_getAPIPrefixPath']()+'/'+_0x647019['objectType']+_0x1da938(0x34f),_0x23d6ab=await this['_HTTPService'][_0x1da938(0x128)](_0x3486da,{'body':_0x647019});return{'roles':_0x23d6ab[_0x1da938(0x472)]['roles'],'actions':_0x23d6ab[_0x1da938(0x472)][_0x1da938(0xaf)]};}async[_0x474fca(0x230)](_0x5d5113){const _0x49dab7=_0x474fca,_0x274fee=this[_0x49dab7(0x1f2)]()+_0x49dab7(0xb2);await this[_0x49dab7(0x3ce)][_0x49dab7(0x224)](_0x274fee,{'params':{'collaboratorID':_0x5d5113['collaboratorID'],'objectID':_0x5d5113[_0x49dab7(0x186)],'unitID':_0x5d5113['unitID']}});}async['updateCollaborator'](_0x1a7f09){const _0x10ae61=_0x474fca,_0x5e3367=this[_0x10ae61(0x1f2)]()+'/collaborator';await this[_0x10ae61(0x3ce)][_0x10ae61(0x37b)](_0x5e3367,{'body':_0x1a7f09});}async['createCollaborator'](_0x26676f){const _0x5e7322=_0x474fca,_0xd610c1=this[_0x5e7322(0x1f2)]()+'/collaborator';await this[_0x5e7322(0x3ce)]['post'](_0xd610c1,{'body':_0x26676f});}async['listCollaborators'](_0x54ca11){const _0x45f07e=_0x474fca,_0x5d8721=this[_0x45f07e(0x1f2)]()+_0x45f07e(0xb2);return(await this[_0x45f07e(0x3ce)][_0x45f07e(0x261)](_0x5d8721,{'params':{'objectID':_0x54ca11[_0x45f07e(0x186)],'unitID':_0x54ca11[_0x45f07e(0x176)]}}))['body'][_0x45f07e(0x210)];}async['putCollaborators'](_0x3fc081){const _0x440651=_0x474fca,_0x523270=this['_getAPIPrefixPath']()+_0x440651(0xb2);await this[_0x440651(0x3ce)]['put'](_0x523270,{'body':_0x3fc081});}},_0x48d167['AuthzIoHttpService']=_0x2add22([_0x2b2581(0x0,_0x132eb9['Inject'](_0x5e809e[_0x474fca(0xe7)])),_0x2b2581(0x1,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x46a)]))],_0x48d167[_0x474fca(0x31b)]);var _0x14f531=Object[_0x474fca(0x109)],_0x45901e=Object[_0x474fca(0xcc)],_0x226d69=(_0x51a3fc,_0xd0d0b2,_0x1ea0f0,_0x303121)=>{const _0x4752da=_0x474fca;for(var _0x4962d7=_0x303121>0x1?void 0x0:_0x303121?_0x45901e(_0xd0d0b2,_0x1ea0f0):_0xd0d0b2,_0xc06c5e=_0x51a3fc[_0x4752da(0x2b9)]-0x1,_0x363d23;_0xc06c5e>=0x0;_0xc06c5e--)(_0x363d23=_0x51a3fc[_0xc06c5e])&&(_0x4962d7=(_0x303121?_0x363d23(_0xd0d0b2,_0x1ea0f0,_0x4962d7):_0x363d23(_0x4962d7))||_0x4962d7);return _0x303121&&_0x4962d7&&_0x14f531(_0xd0d0b2,_0x1ea0f0,_0x4962d7),_0x4962d7;},_0x3d23d3=(_0x399b2f,_0x2d48a5)=>(_0x1296a6,_0x32f229)=>_0x2d48a5(_0x1296a6,_0x32f229,_0x399b2f);const _0x19018e=[_0x474fca(0x27a),'image/jpeg',_0x474fca(0x2a2),_0x474fca(0x27e),'image/bmp'],_0x124abc=0x5*0x400*0x400,_0x3b43e3=_0x474fca(0xdf),_0x528367=_0x474fca(0x280),_0x3d07e9=_0x474fca(0x484),_0x2658f9='/universer-api/file/{fileID}/sign-url';_0x48d167[_0x474fca(0x385)]=class{constructor(_0x55f566,_0x120f0a){const _0x53ef0d=_0x474fca;_0x3b7d06(this,_0x53ef0d(0x203),0x0),_0x3b7d06(this,_0x53ef0d(0x3fa),new _0x3639ee[(_0x53ef0d(0x1cb))]()),_0x3b7d06(this,'change$',this[_0x53ef0d(0x3fa)]),_0x3b7d06(this,'_imageSourceCache',new Map()),(this[_0x53ef0d(0x3da)]=_0x55f566,this['_configService']=_0x120f0a);}[_0x474fca(0x1c0)](_0x26e8a5){const _0x2a78f7=_0x474fca;this[_0x2a78f7(0x203)]=_0x26e8a5,this[_0x2a78f7(0x3fa)][_0x2a78f7(0x452)](_0x26e8a5);}[_0x474fca(0x302)](_0x2f37c2,_0x56128f){const _0x541bad=_0x474fca;if(_0x56128f===_0x46aaec[_0x541bad(0x2ec)][_0x541bad(0x3a6)]){const _0x1a95d2=new Image();return _0x1a95d2['src']=_0x2f37c2,_0x1a95d2;}return this['_imageSourceCache'][_0x541bad(0x261)](_0x2f37c2);}[_0x474fca(0x101)](_0x24c851,_0x3882ea,_0x5adfb9){const _0x1f5887=_0x474fca;_0x3882ea===_0x46aaec['ImageSourceType'][_0x1f5887(0x3a6)]||_0x5adfb9==null||this[_0x1f5887(0x1d7)][_0x1f5887(0xbe)](_0x24c851,_0x5adfb9);}async[_0x474fca(0x3ec)](_0x3913d2){const _0x5e1602=_0x474fca;try{const _0x5c9965=this[_0x5e1602(0x2d0)](this[_0x5e1602(0x2a1)](),''+_0x3913d2),_0x497f77=(await this[_0x5e1602(0x3da)][_0x5e1602(0x261)](_0x5c9965))[_0x5e1602(0x472)];return _0x497f77[_0x5e1602(0xf5)]&&_0x497f77[_0x5e1602(0xf5)][_0x5e1602(0x360)]===_0x3b4d51['OK']?Promise[_0x5e1602(0x156)](_0x497f77[_0x5e1602(0x229)]):Promise[_0x5e1602(0x471)](_0x497f77['error']);}catch(_0x2e0a94){return Promise['reject'](_0x2e0a94);}}async[_0x474fca(0x343)](_0x39cbec){const _0x43cb43=_0x474fca;let _0x1bbb9b='';if(!_0x19018e[_0x43cb43(0x317)](_0x39cbec['type']))return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0x421)]));if(_0x39cbec[_0x43cb43(0xb8)]>_0x124abc)return this[_0x43cb43(0x18b)](),Promise['reject'](new Error(_0x46aaec['ImageUploadStatusType'][_0x43cb43(0x2e7)]));try{const _0x50b5d0=new FormData();_0x50b5d0['append'](_0x43cb43(0x2f6),_0x39cbec);const _0x398438=this['_getUploadFileURL']()+_0x43cb43(0xf8)+_0x39cbec[_0x43cb43(0xb8)]['toString'](),_0x370e01=await(await fetch(_0x398438,{'method':'POST','body':_0x50b5d0}))[_0x43cb43(0x216)]();if(typeof _0x370e01[_0x43cb43(0x1dc)]!=_0x43cb43(0x20d))return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec['ImageUploadStatusType']['ERROR_IMAGE']));_0x1bbb9b=_0x370e01[_0x43cb43(0x1dc)];}catch{return this[_0x43cb43(0x18b)](),Promise[_0x43cb43(0x471)](new Error(_0x46aaec[_0x43cb43(0x182)][_0x43cb43(0xf7)]));}return new Promise((_0x3af095,_0x5ce2c5)=>{const _0x24b942=_0x43cb43,_0x43bab0=new FileReader();_0x43bab0[_0x24b942(0x3e2)](_0x39cbec),_0x43bab0[_0x24b942(0x29b)]=_0xbd05cf=>{const _0x54af33=_0x24b942;var _0x1e7d8c;const _0x496658=(_0x1e7d8c=_0xbd05cf['target'])==null?void 0x0:_0x1e7d8c['result'];if(_0x496658==null){this[_0x54af33(0x18b)](),_0x5ce2c5(new Error(_0x46aaec['ImageUploadStatusType'][_0x54af33(0xf7)]));return;}const _0x4f7fa2=_0x132eb9[_0x54af33(0x44f)][_0x54af33(0x2de)](0x6);_0x3af095({'imageId':_0x4f7fa2,'imageSourceType':_0x46aaec[_0x54af33(0x2ec)]['UUID'],'source':_0x1bbb9b,'base64Cache':_0x496658,'status':_0x46aaec[_0x54af33(0x182)][_0x54af33(0x35c)]}),this[_0x54af33(0x18b)]();};});}['_getUploadFileURL'](){const _0x1fe396=_0x474fca;var _0x275f32;return(_0x275f32=this[_0x1fe396(0x26f)][_0x1fe396(0x3a2)](_0x3b43e3))!=null?_0x275f32:_0x528367;}['_getSignURL'](){const _0x58e254=_0x474fca;var _0xbaf1f2;return(_0xbaf1f2=this[_0x58e254(0x26f)][_0x58e254(0x3a2)](_0x3d07e9))!=null?_0xbaf1f2:_0x2658f9;}[_0x474fca(0x2d0)](_0x3d3102,_0x575b46){const _0x2b0340=_0x474fca;return _0x3d3102[_0x2b0340(0x15a)](_0x2b0340(0x308),_0x575b46);}[_0x474fca(0x18b)](){const _0xd9ae29=_0x474fca;this['_waitCount']-=0x1,this['_change$']['next'](this[_0xd9ae29(0x203)]);}},_0x48d167[_0x474fca(0x385)]=_0x226d69([_0x3d23d3(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x5e809e[_0x474fca(0xe7)])),_0x3d23d3(0x1,_0x132eb9['IConfigService'])],_0x48d167[_0x474fca(0x385)]);var _0x3ed8f5=Object[_0x474fca(0x109)],_0x42c9f3=Object[_0x474fca(0xcc)],_0x2d99bc=(_0x23d408,_0x52a4d8,_0x29d0f2,_0x3e1511)=>{const _0x2ce9ca=_0x474fca;for(var _0x5ece54=_0x3e1511>0x1?void 0x0:_0x3e1511?_0x42c9f3(_0x52a4d8,_0x29d0f2):_0x52a4d8,_0x23fe05=_0x23d408[_0x2ce9ca(0x2b9)]-0x1,_0x44fd2b;_0x23fe05>=0x0;_0x23fe05--)(_0x44fd2b=_0x23d408[_0x23fe05])&&(_0x5ece54=(_0x3e1511?_0x44fd2b(_0x52a4d8,_0x29d0f2,_0x5ece54):_0x44fd2b(_0x5ece54))||_0x5ece54);return _0x3e1511&&_0x5ece54&&_0x3ed8f5(_0x52a4d8,_0x29d0f2,_0x5ece54),_0x5ece54;},_0x3f7f8a=(_0xf36180,_0x5cce19)=>(_0x35d936,_0x85cd3a)=>_0x5cce19(_0x35d936,_0x85cd3a,_0xf36180);let _0x4dfd7e=class extends _0x132eb9[_0x474fca(0x3bd)]{constructor(_0x4152be,_0x5b0c89,_0x37a727,_0x12ca77,_0x4562d7){const _0x1cbac4=_0x474fca;super(),this['_injector']=_0x4152be,this[_0x1cbac4(0x1bd)]=_0x5b0c89,this[_0x1cbac4(0x28c)]=_0x37a727,this[_0x1cbac4(0x3e6)]=_0x12ca77,this[_0x1cbac4(0x1fc)]=_0x4562d7,this[_0x1cbac4(0x3af)](),this[_0x1cbac4(0x294)]();}[_0x474fca(0x294)](){const _0x4570db=_0x474fca,_0x4fa7f3=async _0x77d4a4=>{const _0x223c0d=_0x2d55;(await this[_0x223c0d(0x3e6)][_0x223c0d(0x21a)](_0x77d4a4))['event$'][_0x223c0d(0x195)](_0x5d8ab5['filter'](_0x8ec477=>_0x8ec477[_0x223c0d(0x31f)]===_0x1524d[_0x223c0d(0x2b2)]['SHOULD_CLOSE_CONN']),_0x5d8ab5[_0x223c0d(0x37a)](this[_0x223c0d(0x2b5)]))[_0x223c0d(0x2e1)](_0x506941=>{const _0x181bdc=_0x223c0d,_0x5345e5=_0x506941,{reason:_0x8db6f3}=_0x5345e5[_0x181bdc(0xe5)];this[_0x181bdc(0x306)][_0x181bdc(0x261)](_0x202279[_0x181bdc(0x123)])[_0x181bdc(0xac)]({'type':_0x59ab28[_0x181bdc(0x336)]['Error'],'content':this[_0x181bdc(0x1fc)]['t'](_0x181bdc(0x20f))+'('+_0x8db6f3+')'}),this[_0x181bdc(0x28c)][_0x181bdc(0x485)](new _0x21d024[(_0x181bdc(0x33c))](_0x77d4a4)['id'],!0x1),this[_0x181bdc(0x3e6)][_0x181bdc(0x39a)](_0x77d4a4);});};_0x3639ee['merge'](this[_0x4570db(0x1bd)][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x1a0)]),this['_univerInstanceService'][_0x4570db(0x25b)](_0x132eb9[_0x4570db(0x44e)][_0x4570db(0x14d)]))['pipe'](_0x5d8ab5[_0x4570db(0x18f)](_0x239834=>_0x239834[_0x4570db(0x225)]()),_0x5d8ab5['filter'](_0x318015=>!_0x132eb9[_0x4570db(0xdb)](_0x318015)),_0x5d8ab5['takeUntil'](this[_0x4570db(0x2b5)]))['subscribe'](_0x4934b9=>{_0x4fa7f3(_0x4934b9);});}[_0x474fca(0x3af)](){const _0x257bf7=_0x474fca,_0x506e60=async _0x580b21=>{const _0x52ef01=_0x2d55;(await this['_collaborationSessionService'][_0x52ef01(0x21a)](_0x580b21))['event$'][_0x52ef01(0x195)](_0x5d8ab5[_0x52ef01(0x1cd)](_0xf929ec=>_0xf929ec[_0x52ef01(0x31f)]===_0x1524d[_0x52ef01(0x2b2)]['UPDATE_PERMISSION_OBJ']),_0x5d8ab5['takeUntil'](this[_0x52ef01(0x2b5)]))[_0x52ef01(0x2e1)](_0x5b95b0=>{const _0xcd7790=_0x52ef01,_0x13575b=_0x5b95b0,{objectId:_0x3668ec}=_0x13575b[_0xcd7790(0xe5)];_0x3668ec===_0x580b21&&this[_0xcd7790(0x306)][_0xcd7790(0x261)](_0x12bc0e['SheetPermissionInitController'])['initWorkbookPermissionChange'](_0x580b21);});};_0x3639ee[_0x257bf7(0xb5)](this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9[_0x257bf7(0x44e)][_0x257bf7(0x1a0)]),this['_univerInstanceService'][_0x257bf7(0x25b)](_0x132eb9['UniverInstanceType']['UNIVER_DOC']))[_0x257bf7(0x195)](_0x5d8ab5[_0x257bf7(0x18f)](_0xf72db0=>_0xf72db0[_0x257bf7(0x225)]()),_0x5d8ab5['filter'](_0x86dcdb=>!_0x132eb9[_0x257bf7(0xdb)](_0x86dcdb)),_0x5d8ab5[_0x257bf7(0x37a)](this[_0x257bf7(0x2b5)]))[_0x257bf7(0x2e1)](_0x45f144=>{_0x506e60(_0x45f144);});}};_0x4dfd7e=_0x2d99bc([_0x132eb9[_0x474fca(0x1b4)](_0x132eb9[_0x474fca(0x232)][_0x474fca(0x314)],_0x4dfd7e),_0x3f7f8a(0x0,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9[_0x474fca(0x2a3)])),_0x3f7f8a(0x1,_0x132eb9[_0x474fca(0x22d)]),_0x3f7f8a(0x2,_0x132eb9['IPermissionService']),_0x3f7f8a(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x48d167[_0x474fca(0xc6)])),_0x3f7f8a(0x4,_0x132eb9['Inject'](_0x132eb9[_0x474fca(0x318)]))],_0x4dfd7e);var _0x597d12=Object['defineProperty'],_0x3db6ed=Object[_0x474fca(0xcc)],_0x2a2fd1=(_0x646c58,_0x5886f6,_0x353530)=>_0x5886f6 in _0x646c58?_0x597d12(_0x646c58,_0x5886f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x353530}):_0x646c58[_0x5886f6]=_0x353530,_0x3411ff=(_0x522b37,_0x1fb621,_0x12430d,_0x3beafb)=>{const _0x4fcf28=_0x474fca;for(var _0x17e1da=_0x3beafb>0x1?void 0x0:_0x3beafb?_0x3db6ed(_0x1fb621,_0x12430d):_0x1fb621,_0x32f62c=_0x522b37[_0x4fcf28(0x2b9)]-0x1,_0x1e2af6;_0x32f62c>=0x0;_0x32f62c--)(_0x1e2af6=_0x522b37[_0x32f62c])&&(_0x17e1da=(_0x3beafb?_0x1e2af6(_0x1fb621,_0x12430d,_0x17e1da):_0x1e2af6(_0x17e1da))||_0x17e1da);return _0x3beafb&&_0x17e1da&&_0x597d12(_0x1fb621,_0x12430d,_0x17e1da),_0x17e1da;},_0x1761d7=(_0x3f6b9f,_0x34eeba)=>(_0x1543ed,_0x259c0d)=>_0x34eeba(_0x1543ed,_0x259c0d,_0x3f6b9f),_0x227745=(_0x41e986,_0x280eb5,_0x2edde1)=>_0x2a2fd1(_0x41e986,_0x280eb5+'',_0x2edde1);const _0x47ef42=_0x474fca(0x33f);_0x48d167[_0x474fca(0xb0)]=class extends _0x132eb9[_0x474fca(0x478)]{constructor(_0x5b7ce0,_0x49bcb4,_0x561fe6,_0x81f0c){const _0x2b6232=_0x474fca;super(),this[_0x2b6232(0x2c7)]=_0x5b7ce0,this[_0x2b6232(0x1ac)]=_0x49bcb4,this['_renderManagerService']=_0x561fe6,this[_0x2b6232(0x306)]=_0x81f0c;}[_0x474fca(0x2d6)](_0x1f5e52){const _0x4f5a43=_0x474fca;this[_0x4f5a43(0x358)](_0x1f5e52);}[_0x474fca(0x22a)](){const _0x370a4b=_0x474fca;this[_0x370a4b(0x1d2)]();}[_0x474fca(0x358)](_0x14a804){const _0x12785a=_0x474fca;var _0x2f832e,_0x4cf403,_0x4678ba,_0x22e2b4;_0x14a804[_0x12785a(0x400)](_0x132eb9[_0x12785a(0x1e4)])&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x12785a(0x201));let _0x3cc521=[[_0x132eb9[_0x12785a(0x1e4)],{'useClass':_0x4f58da}],[_0x48d167[_0x12785a(0xc6)]],[_0x35bdf6],[_0x5e809e[_0x12785a(0xe7)]],[_0x454085,{'useClass':_0x56db24}],[_0x191a69],[_0x48d167[_0x12785a(0x27d)]],[_0x5e809e[_0x12785a(0x2ed)]],[_0x40081e],[_0x49cc76],[_0x5e5e64],[_0x17ef3e],[_0xb1bc0c],[_0x333a83],[_0x4dfd7e],[_0x2b67b3,{'useClass':(_0x4cf403=(_0x2f832e=this[_0x12785a(0x2c7)])==null?void 0x0:_0x2f832e[_0x12785a(0x481)])!=null?_0x4cf403:_0x48d167[_0x12785a(0x262)]}],[_0x5e809e[_0x12785a(0x374)],{'useClass':_0x5e809e[_0x12785a(0x2ad)]}],[_0x132eb9[_0x12785a(0x322)],{'useClass':_0x48d167[_0x12785a(0x231)]}],[_0x132eb9['IAuthzIoService'],{'useClass':_0x48d167['AuthzIoHttpService']}],[_0x46aaec['IImageIoService'],{'useClass':_0x48d167[_0x12785a(0x385)]}],[_0x48d167[_0x12785a(0x251)]],[_0x48d167[_0x12785a(0x98)]],[_0x48d167[_0x12785a(0x3dc)]],[_0x345dbc],[_0x4073a6]];(_0x4678ba=this[_0x12785a(0x2c7)])!=null&&_0x4678ba[_0x12785a(0x3d6)]&&_0x3cc521[_0x12785a(0x277)]([_0x54135c,{'useClass':_0x5204d1}]),_0x3cc521=_0x132eb9[_0x12785a(0x30a)](_0x3cc521,(_0x22e2b4=this[_0x12785a(0x2c7)])==null?void 0x0:_0x22e2b4[_0x12785a(0x23e)]),_0x3cc521['forEach'](_0x2bd595=>_0x14a804[_0x12785a(0x41b)](_0x2bd595)),this[_0x12785a(0x18a)]();}[_0x474fca(0x1d2)](){const _0x3a0213=_0x474fca;this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)]['registerRenderModule'](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_DOC'],[_0x1c9143])),this[_0x3a0213(0x26e)](this[_0x3a0213(0x409)][_0x3a0213(0x165)](_0x132eb9[_0x3a0213(0x44e)]['UNIVER_SHEET'],[_0x57fff8]));}[_0x474fca(0x18a)](){const _0xc42797=_0x474fca;var _0x2e237e,_0x306ac4;this[_0xc42797(0x306)][_0xc42797(0x261)](_0x5e809e[_0xc42797(0xe7)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5e809e[_0xc42797(0x460)]({'maxParallel':0x6})}),(_0x2e237e=this[_0xc42797(0x2c7)])!=null&&_0x2e237e[_0xc42797(0x379)]||this[_0xc42797(0x306)][_0xc42797(0x261)](_0x48d167[_0xc42797(0x27d)])[_0xc42797(0x248)](),(_0x306ac4=this['_config'])!=null&&_0x306ac4[_0xc42797(0x259)]&&this[_0xc42797(0x306)][_0xc42797(0x261)](_0xb1bc0c);}},_0x227745(_0x48d167[_0x474fca(0xb0)],_0x474fca(0xe1),_0x47ef42),_0x48d167['UniverCollaborationClientPlugin']=_0x3411ff([_0x132eb9[_0x474fca(0x3fc)](_0x1524d[_0x474fca(0x466)]),_0x1761d7(0x1,_0x132eb9['ILogService']),_0x1761d7(0x2,_0x24af47[_0x474fca(0x2f0)]),_0x1761d7(0x3,_0x132eb9[_0x474fca(0x1a8)](_0x132eb9['Injector']))],_0x48d167[_0x474fca(0xb0)]),_0x48d167[_0x474fca(0x164)]=_0x3dabc0,_0x48d167[_0x474fca(0x10d)]=_0x22e134,_0x48d167['COLLAB_WEB_SOCKET_URL_KEY']=_0x5058a4,_0x48d167[_0x474fca(0x37c)]=_0x3e6ce,_0x48d167[_0x474fca(0xd6)]=_0x26ba18,_0x48d167['CommentService']=_0x333a83,_0x48d167[_0x474fca(0x2b1)]=_0x5a327e,_0x48d167[_0x474fca(0x2df)]=_0x240518,_0x48d167[_0x474fca(0x2d9)]=_0x2b67b3,_0x48d167[_0x474fca(0xff)]=_0x454085,_0x48d167[_0x474fca(0x30f)]=_0x2c2734,_0x48d167[_0x474fca(0x1f6)]=_0x596ca2,_0x48d167[_0x474fca(0x1cc)]=_0x5036b1,_0x48d167[_0x474fca(0xc8)]=_0x474f5b,_0x48d167[_0x474fca(0x16c)]=_0x5e8172,_0x48d167[_0x474fca(0x3ee)]=_0x139854,_0x48d167['SheetCollabCursorShape']=_0x57dbff,_0x48d167[_0x474fca(0x212)]=_0x56db24,_0x48d167[_0x474fca(0x25e)]=_0x156469,_0x48d167['serializeCombRequest']=_0x41be5a,Object[_0x474fca(0x109)](_0x48d167,Symbol[_0x474fca(0x2da)],{'value':_0x474fca(0x10f)});}));function _0x2d55(_0xfbea46,_0x24e174){const _0x30bb76=_0x30bb();return _0x2d55=function(_0x2d5524,_0x2d0bba){_0x2d5524=_0x2d5524-0x96;let _0x3e0f28=_0x30bb76[_0x2d5524];return _0x3e0f28;},_0x2d55(_0xfbea46,_0x24e174);}function _0x30bb(){const _0x48005f=['socket\x20open.','_getLoginPath','some','UPDATE_CURSOR','file','getUndoRedoMutationParamsCache','lodash','getSheetBySheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_lockTransition','_handleEvent','liveShareNewHost','LICENSE_IMPORT_SIZE_EXCEEDED','getValue','combineLatest','_sendHeartbeatTimer','getImageSourceCache','SetSelectionsOperation','_createInitialStateImpl','COMMENT_UPDATE','_injector','_schedule','{fileID}','_onRemoteChangeset','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','getParam','save','updateMember','LOCAL_CACHE_INTERVAL_KEY','_unitID','state','toRgbString','onTransformRemoteChangesetByIMECache','Starting','originalMeta','makeDirty','includes','LocaleService','random','send','AuthzIoHttpService','ONLINE','transformSelections','fillStyle','eventID','_createHandler','then','ISnapshotServerService','unit','getActiveRange','triggerDblclick','sessionStatus$','RevisionService','addObjects','JOINING','transformUndoRedo','hovered','message$','jiqing500','fill','_collabSessionService','joinEvent','unit-cache-','status','1720868nsTUKt','labelPosition','awaitingChangeset','MessageType','APPLY_REVISION_CONFILICT','_sendingTimer','_onConnectionOpen','csAckEvent','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WorkbookEditablePermission','close','CHANGESET_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docSkeletonManagerService','changesets','online','saveImage','onCommandExecuted','COMPLETION_FINISHED','RichTextEditingMutation','transformIMECache','\x0aCurrent:\x20','_socketReady','_shapes','distinctUntilChanged','_color','_labelPosition','textRanges','/role','@univerjs/rpc','method','fillText','_initResize','_submitChangeset','transformChangesets','3dKOPcu','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','Rectangle','OFFLINE','transformMutation','SUCCUSS','open$','routeKey','_socket$','code','72SRisjl','_getMergeRange','_initStatusComponent','_acknowledgedAwaitingChangeset','_onUserLeave','CompressMutationService','&to=','_getSendChangesetTimeout','ThemeService','_onRemoteRejected','indexOf','function','onPointerMove$','[CollaborationSessionService]:\x20socket\x20error','location','delay','_urlService','roomMembers','_onLocalMutation','IHTTPImplementation','find','none','[OfflineState]:\x20received\x20acknowledgement.','setShapeProps','enableOfflineEditing','takeUntil','patch','CollaborationStatus','_onCursorDelete','update','reverse','_event$','_tryEnsureSocket','status$','univer-online','univer-offline','ImageIoService','_undoRedoService','_loadSheet','SheetSkeletonManagerService','_getRedoStack','state$','fromCollab','apply','univer-pro.collaboration-client.single-active-unit-service','[CollaborationState]:\x20apply\x20error!','parseProtocolChangeset','getUnhiddenWorksheets','unknown','contains','_scheduleClearOtherTimer','_beforeCloseService','_refRangeService','transformRemoteChangeset','RefRangeService','conflict.content','_getUndoStack','closeSession','asObservable','createSocket','[CollaborationEntity]','pending','COMPRESS_MUTATION_APPLY','pushState','displayName','getConfig','take','registerHTTPInterceptor','FAIL','BASE64','font','LIVESHARE_TERMINATE','_name','transformByState','_collaborationTimeoutTimer','verdancy600','_startCollaboration','_backgroundColor','_initUnitPermissionChange','_onConnectionFailed','_unitOnClients','requestParams','collabStatus.fetchMiss','trim','row','_ensureSubject','all','_getSheetObject','_context','round','_compressMutationService','_joinRoom','RxDisposable','AWAITING','defIds','_hideTimer','href','LIVESHARE_REQUEST_HOST','SUBMIT_CHANGESET','/-/object/-/batch_allowed','confirm','enableLocalCache','56dJxxtY','getCurrentRevForDocument','_selfUnitIDs','getMember','rev','_setupSubUnitSync','column','_HTTPService','_initStatusListener','syncEditingCollabCursor','newCsEvent','_scheduleTimestamp','addEventListener','getCurrent','encodeURIComponent','enableSingleActiveInstanceLock','@univerjs/drawing','[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.','SheetsSelectionsService','_httpService','clsx','DesktopCollaborationStatusDisplayController','useRef','IPermissionService','className','_handleHeartbeatEvent','_docSkeleton','readAsDataURL','LIVESHARE_NEW_HOST','UniverCollaboration','HEADER_MENU','_collaborationSessionService','getRelativeToViewportCoord','getUnitStatus$','1078909bBQayn','react','_waitForHeartbeatResponse','getImage','use','SessionStatus','IRemoteInstanceService','_getSnapshotAPIPrefix','LICENSE_DISTRO_REJECTED','unshift','VIEWPORT_KEY','height','_saveTaskMap','_createSocket','_handler','TOO_MANY_REQUESTS','setParam','_change$','@univerjs/network','DependentOn','_clearRedo','_startSheetCollabCursor','isValidRectRange','has','focused$','entries','_document','_lastPointer','drawWith','UniverEngineRender','LIVESHARE_OPERATION','PENDING','_renderManagerService','_handleHover','_localCacheService','isTransformMutationFailure','handleInsertCol','serializeDocRange','editingUnit','[FetchMissState]','Rect','clear','csRejEvent','deepClone','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','slice','clearInterval','connection\x20error','TextSelectionManagerService','add','_getScale','UniverRpc','_docTransformSelectionsService','_uiPartsService','YUUMI_URL_COL_OUT_OF_RANGE','ERROR_IMAGE_TYPE','updateOfflineData','saveOfflineData','flatMap','top','shareReplay','Error\x20on\x20receiving\x20event','event$','SNAPSHOT_HAS_BEEN_REMOVED','_sheetTransformSelectionsService','_clearOtherTimers','values','getCurrentUser','replaceTextRanges','_members','_initMergeInterceptor','fetchThroughInterceptors','_sessionStatus$','assign','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_fetchMissChangesets','b64DecodeUnicode','UserManagerService','lineTo','ITransformService','currentTheme$','m2Prime','@univerjs/sheets','_onJoinRoomEvent','idSuffix','_docSyncEditingCollabCursorService','_saveCache','ranges','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','mapTo','_syncEditingCollabCursor','onlineStatus','setActiveRange','createIdentifier','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/ui','_pendingMutations','getViewport','_entityInit$','UniverInstanceType','Tools','Ready','_cursor','next','_onRecvEvent','_scheduleReconnection','CHANGESET_REJ','APPLY_REJECT','getResourcesRequest','USERS_LEAVE','_onCombEvent','getRoom','_themeService','_getAPIPrefix','_refreshCollabCursors','IUIPartsService','cmd','ThresholdInterceptorFactory','getFocusedUnit','LEAVE','allowed','PSEUDO_FETCH_MISSING_RESULT','EffectRefRangId','UniverCollaborationPlugin','isTransformChangesetsSuccess','getCollabEntity','COMPRESS_MUTATION_SEND','IConfigService','uni.network.url-service','onPointerLeave$','SHOULD_CLOSE_CONN','InsertRowCommandId','_textBubble','/new_changes','reject','body','POST','_socket','put','HEARTBEAT','onTransformIME','Plugin','_updateCollabCursors','awaiting_with_pending','OTHER_CLIENTS_EDITING','TRANSFORM_CHANGE_OBSERVABLE_TYPE','HELLO','handleIRemoveCol','Vector2','getColor','socketService','_scene','_colorIndex','EXCHANGE_SIGN_URL_SERVER_URL_KEY','updatePermissionPoint','DEFAULT_FILE_NAME','YUUMI_UNABLE_LOAD_URL','DataLoaderController','\x0aAfter:\x20','svg','/universer-api/comb','whenReady','onMissedChangesetFetched','encode','findNodePositionByCharIndex','deserializeRangeWithSheet','_setupBeforeClosingHandler','toString','/object','_updateURLWithCurrentState','unitId','_removeClearOtherTimer','PERMISSION_DENIED','[CollaborationSessionService]','handleMoveRange','...','COLLAB_WEB_SOCKET_URL','show','ILogService','_updateSubUnitFromURLParams','actions','UniverCollaborationClientPlugin','listRoles','/collaborator','UniverSheets','_scheduleSaving','merge','onPointerEnter$','subscribeEvent','size','url(#$1','getActiveSheet','_transformPreviousActiveRange','setAlpha','_send','set','collabStatus.offline','fetchMissingChangesets','getOwnPropertySymbols','#FFF','_timeoutTimer','#fff','CONFLICT','CollaborationSessionService','clipPath','SNAPSHOT_SERVER_URL_KEY','collaMsg','conflict','_substituteRedoStack','getOwnPropertyDescriptor','univer-online-status-icon','_showConflictNotification','_initCommandExecutedListener','_drawAnchor','endRow','_removeCollabCursors','COLORS','_clearLocalCache','synced','CollaborationStatusDisplay','/universer-api/snapshot/','SYNCED','startsWith','getMemberID','isInternalEditorID','ILocalStorageService','_clearCollaborationTimeoutTimer','unsubscribe','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','socket\x20close','pluginName','collabCursorState$','/allowed','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','data','params','HTTPService','handleInsertRangeMoveRight','subunit','reduce','_entities','fetch_missing','collabStatus.synced','loadOfflineData','@univerjs/engine-render','SetWorksheetActivateCommand','_executeRemoteChangeset','runRefRangeMutations','every','propertyIsEnumerable','error','searchParams','ERROR_IMAGE','?size=','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_clearTimeoutTimer','getOffsetConfig','max','UNKNOWN_CMD','color','IURLService','baseRev','addImageSourceCache','gold400','CommandType','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','COLLAB_SUBMIT_CHANGESET_URL','_socketService','_rescheduleHeartbeatEvent','defineProperty','_singleActiveUnitService','RemoveColCommandId','?url=','COLLAB_SUBMIT_CHANGESET_URL_KEY','setTimeout','Module','extend','icon','_roomMembers','auth.needGotoLoginAlert','_replayCachedMutations','_hovered','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','ALREADY_EXISTS','getSkeleton','type','_onCursorUpdate','removeMember','m1Prime','session.room-full','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','JOIN','UniverDesign','getMergeData','IMessageService','onRemoteChangeset','OffLineSingle','getTime','_incrementRevisionNumber','post','@univerjs/engine-formula','_undoStacks','toggleOffline','_transformRemoteChangesetByIMECache','UNRECOGNIZED','UniverEngineFormula','[PendingState]:\x20received\x20acknowledgement.','storage','_syncEditingCollabCursorService','DisposableCollection','992QZvNDn','_docTransformIMECacheService','submit\x20changeset\x20error!','getSheetId','not_collab','_state$','onMouseMove','sheets','_collaborationPaused','_commentService','substring','_online','fetching\x20missing\x20changesets\x20from\x20','create','concat','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','editing\x20status\x20changed\x20to','popstate','_drawRectRange','black','IBeforeCloseService','newValue','sheetId','onMissingChangesets','_remoteChangesetQueue','c2Prime','UNIVER_DOC','split','MUTATION','getCellPositionByOffset','setItem','awaiting','range','_anchorDot','bottom','resolve','SNAPSHOT_INVALID_SNAPSHOT','revision','children','replace','executeCommand','_range','_transformUndoredo','_loadDoc','_clearHeartbeatTimer','LIVESHARE_FETCH_OPERATIONS','_getCtorByUniverType','_transformUndoRedoStack','interceptor','AUTHZ_URL_KEY','registerRenderModule','_updateLocalCursor','resend','tag','session','catch','_snapshotService','SNAPSHOT_URL_KEY','UNDEFINED','_eventUnsubscribe','@univerjs/docs','UNIVER_UNKNOWN','collaboration.single-unit.warning','_exhaustRemoteChangesetQueue','forEach','unload','measureText','unitID','Disposable','getCurrentUnitForType','NodePositionConvertToRectRange','getRangePointData','CONNECTOR_DATA_TOO_LARGE','[CollaborationUndoRedoService]','moveTo','_cursorShapes','/object/','hide','_sessions','ImageUploadStatusType','session.will-retry','objectType','history','objectID','onlineStatusIcon','getCollabCursors$','onCommentUpdate','_initModules','_decreaseWaiting','assignAColorForMemberID','_disableEditing','getWorkbookSelections','map','_transformService','endColumn','createInstance','collaboration-client.offline-data-not-saved','off-line-single_clip0_910_343','pipe','getDocRanges','_toggleOnline','AWAITING_WITH_PENDING','Optional','dispose','_cursorInfo$','debug','getAncestorScale','_render','Warning','UNIVER_SHEET','transformMutationsWithChangeset','_type','infoRsp','rxjs/operators','selections','_colorAssignService','getUnitOnRev','Inject','LICENSE_MAX_UNITS_EXCEEDED','_onUserJoin','_unitStatus','_logService','_draw','save\x20fail\x20reason\x20is\x20','_messageService','[DataLoaderController]','switchMap','conflict.title','569940cbCbPu','OnLifecycle','_session','OnLineSingle','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UniverCollaborationClient','NOT_FOUND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','skeleton','_transitionLocked','_univerInstanceService','close$','saveSheetBlock','setWaitCount','[CollaborationSession]','appendMutation','UNKNOWN_CODE','sessionStatus','[SyncedState]:\x20received\x20rejection.','userID','call','getCollabEntity$','_commandService','_onRemoteACK','Subject','SEND_CHANGESET_TIMEOUT_KEY','filter','_updateStatus','xlink:href','startRow','M0\x200H16V16H0z','_registerRenderDependencies','hasOwnProperty','_retryCount','_init','_getCurrentRevision','_imageSourceCache','RegularPolygon','_cachedData','addObject','loadDoc','FileId','FromArray','setCurrentUser','Unknown\x20user','attrs','_disabled','session.connection-failed','debounce','IUndoRedoService','InsertSheetMutation','SnapshotService','UniverCore','useDependency','getCurrentSelections','Error','/universer-api/snapshot','getSheetBlock','init','_startDocCollabCursor','1em','_collabCursorController','ICommandService','_getAPIPrefixPath','_onConflict','selection','c1Prime','LOGIN_URL_KEY','DocSkeletonManagerService','_unlockTransition','cursorInfo$','collab-text-range-','@univerjs/sheets-ui','_localeService','@univerjs-pro/collaboration','currentSkeleton$','SetTextSelectionsOperation','UniverSheetsUi','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Shape','_waitCount','_removeRoom','_memberService','transform','_commentUpdate$','_transformStack','permissionRejEvent','backgroundColor','Workbook','error$','string','ws://127.0.0.1:8000/universer-api/comb/connect','collaboration.closeRoom','collaborators','localeService','WebURLService','11pZjpMy','arc','ColorKit','json','NO_OTHER_CLIENTS_EDITING','_queuedRemoteChangesets','defs','requireSession','doc.mutation.rich-text-editing','isTransformMutationsWithChangesetFailure','_notificationService','_substituteUndoStack','replaceState','_getAnchorBounding','[SyncedState]:\x20received\x20acknowledgement.','from','_localStorageService','delete','getUnitId','objectActions','onlyLocal','permission.title','url','onRendered','PERMISSION_REJ','UNAUTHENTICATED','IUniverInstanceService','rxjs','currentColor','deleteCollaborator','SnapshotServerOverHTTPService','LifecycleStages','stringify','IMEInputManagerService','_handleLeaveEvent','RECV','_updateLocalCache','_clearUndo','_id','UPDATE_PERMISSION_OBJ','headers','INTERNAL_ERROR','_heartbeatTimer','override','list','SetDocZoomRatioOperation','_retryConnectingTimer','path','result','_handleJoinEvent','_applyRemoteChangeset','onRemoteRej','url(#on-line-single_clip0_910_349)','disableLocalCache','onSendChangeset','_toggleOffline','@univerjs/design','cursorInfo','loadSheet','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','min','symbol','CollaborationController','setUndoRedoMutationParamsCache','restore','operators','APPLY_PERMISSION_DENIED','mutations','_revisionService','debounceTime','enableAuthServer','toggleOnline','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_http','deserializeToCombResponse','complete','isEditing','get','CollaborationSocketService','/block/','\x20in\x20_schedule.','getInterceptPoints','handleDeleteRangeMoveUp','_anchor','_sheetSkeletonManagerService','_updateState','memberID','HTTPRequest','on-line-single_clip0_910_349','name','disposeWithMe','_configService','_socketMessageSubscription','_onMessage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getItem','_scheduleCollaborationTimeoutTimer','_checkMissing','lodash/debounce','push','_drawTextRange','div','image/png','sheetID','members','LocalCacheService','image/gif','/unit/','/universer-api/stream/file/upload','SheetCollaborationEntity','_state','NOT_COLLAB','colorChannel1','_clearScheduledTask','isTransformMutationsWithChangesetSuccess','RemoveRowCommandId','NEW_CHANGESETS','_redoStacks','2229570QTyzOR','6214870uzPMFy','_permissionService','evenodd','commentUpdate$','UniverNetwork','purple300','forwardRef','MSG_FOR_ERROR','clearTimeout','_initCloseConn','BuiltInUIPart','univer-online-status-title','NodePositionConvertToCursor','urlChange$','width','CollaborationSession','onload','_hover','joinRsp','textEncoder','_cursors','BehaviorSubject','_getSignURL','image/jpg','Injector','createElement','@univerjs/core','2218xkbHtm','FETCH_MISS','UNIVER_SLIDE','\x20to\x20','_sendHeartbeat','RETRY_CONNECTING_INTERVAL','subUnitId','XHRHTTPImplementation','mapDocumentTypeToUniverType','text','99ceNDyx','HEARTBEAT_INTERVAL_KEY','CollaborationEvent','offline','_assignedColors','dispose$','SEND_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','getUnitType','length','[PendingState]:\x20received\x20rejection.','IContextService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','parse','prototype','_roomMembers$','toDisposable','onRemoteAck','registerRefRange','collabStatus.conflict','amd','INGEST','_getSaveTimeout','_config','isArray','exports','_collabCursorState$','roomMembers$','incrementRevForDocument','transformStack\x20failed!','startColumn','compose','_replaceFileID','isActive','roomInfos','CHANGESET_ACK','updateCursorEvent','LocalUndoRedoService','onStarting','_status$','72288encnKI','ICollaborationSocketService','toStringTag','IDLE','_awaitingChangeset','leaveEvent','generateRandomId','HEARTBEAT_TIMEOUT_KEY','sequenceExecute','subscribe','removeParam','withCredentials','USERS_ENTER','HEARTBEAT_TIMEOUT','getCoordByCell','ERROR_EXCEED_SIZE','onTransformChange$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','onStateChange','blue400','ImageSourceType','WebSocketService','_docStateChangeManagerService','_ws','IRenderManagerService','onTransformSelections'];_0x30bb=function(){return _0x48005f;};return _0x30bb();}
|
1
|
+
(function(_0x2ba193,_0x5c5614){const _0x41da0=_0x3d0e,_0x46f166=_0x2ba193();while(!![]){try{const _0x59f4e7=-parseInt(_0x41da0(0x18c))/0x1*(-parseInt(_0x41da0(0x217))/0x2)+parseInt(_0x41da0(0x222))/0x3*(-parseInt(_0x41da0(0x1f0))/0x4)+-parseInt(_0x41da0(0x23b))/0x5*(parseInt(_0x41da0(0x33d))/0x6)+parseInt(_0x41da0(0x2d2))/0x7+-parseInt(_0x41da0(0x335))/0x8*(parseInt(_0x41da0(0x341))/0x9)+parseInt(_0x41da0(0x550))/0xa*(parseInt(_0x41da0(0x3fc))/0xb)+parseInt(_0x41da0(0x2b5))/0xc*(parseInt(_0x41da0(0x582))/0xd);if(_0x59f4e7===_0x5c5614)break;else _0x46f166['push'](_0x46f166['shift']());}catch(_0xa6d127){_0x46f166['push'](_0x46f166['shift']());}}}(_0x7461,0xd854b),function(_0x2c6cbc,_0x34d8f2){const _0x4db6e7=_0x3d0e;typeof exports==_0x4db6e7(0x50c)&&typeof module<'u'?_0x34d8f2(exports,require(_0x4db6e7(0x253)),require('@univerjs/sheets'),require(_0x4db6e7(0x1b3)),require(_0x4db6e7(0x192)),require('@univerjs-pro/collaboration'),require(_0x4db6e7(0x427)),require('rxjs/operators'),require(_0x4db6e7(0x2b0)),require(_0x4db6e7(0x52e)),require(_0x4db6e7(0x43c)),require('@univerjs/engine-render'),require(_0x4db6e7(0x2e3)),require(_0x4db6e7(0x52b)),require(_0x4db6e7(0x433)),require('react'),require(_0x4db6e7(0x493)),require('@univerjs/rpc')):typeof define==_0x4db6e7(0x1b6)&&define['amd']?define([_0x4db6e7(0x2cb),'@univerjs/core',_0x4db6e7(0x30f),'@univerjs/design','@univerjs/ui',_0x4db6e7(0x383),'rxjs',_0x4db6e7(0x382),'@univerjs/docs',_0x4db6e7(0x52e),'@univerjs/drawing',_0x4db6e7(0x517),_0x4db6e7(0x2e3),_0x4db6e7(0x52b),_0x4db6e7(0x433),'react','clsx',_0x4db6e7(0x4b9)],_0x34d8f2):(_0x2c6cbc=typeof globalThis<'u'?globalThis:_0x2c6cbc||self,_0x34d8f2(_0x2c6cbc['UniverCollaborationClient']={},_0x2c6cbc[_0x4db6e7(0x38f)],_0x2c6cbc[_0x4db6e7(0x419)],_0x2c6cbc[_0x4db6e7(0x467)],_0x2c6cbc[_0x4db6e7(0x236)],_0x2c6cbc[_0x4db6e7(0x326)],_0x2c6cbc[_0x4db6e7(0x427)],_0x2c6cbc[_0x4db6e7(0x427)]['operators'],_0x2c6cbc[_0x4db6e7(0x41d)],_0x2c6cbc['UniverNetwork'],_0x2c6cbc['UniverDrawing'],_0x2c6cbc[_0x4db6e7(0x4ca)],_0x2c6cbc['UniverEngineFormula'],_0x2c6cbc[_0x4db6e7(0x296)][_0x4db6e7(0x246)],_0x2c6cbc[_0x4db6e7(0x3ac)],_0x2c6cbc[_0x4db6e7(0x265)],_0x2c6cbc[_0x4db6e7(0x493)],_0x2c6cbc[_0x4db6e7(0x35b)]));}(this,function(_0x4c54a0,_0x3aaa00,_0x459c9c,_0x564857,_0x2b4c8d,_0x4d4d9d,_0x5cbc6e,_0x267050,_0x593e90,_0x3e5de5,_0x297e96,_0x3b10b4,_0x55b16b,_0x58296f,_0xf60f4c,_0x349b95,_0x3adb83,_0x2a45ef){'use strict';const _0x18d6ba=_0x3d0e;var _0x5b3c04=Object[_0x18d6ba(0x272)],_0x298c5c=(_0x3e5f9f,_0x59486e,_0xa9370d)=>_0x59486e in _0x3e5f9f?_0x5b3c04(_0x3e5f9f,_0x59486e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa9370d}):_0x3e5f9f[_0x59486e]=_0xa9370d,_0x2c46b8=(_0x23ff2d,_0x2f657a,_0x228fbf)=>_0x298c5c(_0x23ff2d,typeof _0x2f657a!=_0x18d6ba(0x54b)?_0x2f657a+'':_0x2f657a,_0x228fbf);const _0x4bec73='SNAPSHOT_SERVER_URL_KEY',_0x4e3762='/universer-api/snapshot',_0x37c740=_0x18d6ba(0x315),_0x3867e3=_0x18d6ba(0x578),_0xdc44de=_0x18d6ba(0x4cf),_0x5c44f0=_0x18d6ba(0x465),_0x1d14f0=_0x18d6ba(0x58e),_0x2689b9='HEARTBEAT_TIMEOUT',_0x3a9285=_0x18d6ba(0x1e6),_0x1651af=_0x18d6ba(0x4c9),_0x6e910a=_0x18d6ba(0x3a1),_0x9f6d65=_0x18d6ba(0x360),_0x699dc8='/universer-api/comb',_0xbbcc2f=_0x18d6ba(0x46e),_0x3a7a02='/universer-api/oidc/authpage';var _0x5c79e0=(_0xc8344=>(_0xc8344[_0xc8344[_0x18d6ba(0x2ca)]=0x0]=_0x18d6ba(0x2ca),_0xc8344[_0xc8344['OK']=0x1]='OK',_0xc8344[_0xc8344[_0x18d6ba(0x449)]=0x2]=_0x18d6ba(0x449),_0xc8344[_0xc8344[_0x18d6ba(0x2b6)]=0x3]='PERMISSION_DENIED',_0xc8344[_0xc8344[_0x18d6ba(0x2cc)]=0x4]=_0x18d6ba(0x2cc),_0xc8344[_0xc8344[_0x18d6ba(0x4b1)]=0x5]='UNAUTHENTICATED',_0xc8344[_0xc8344['ALREADY_EXISTS']=0x6]=_0x18d6ba(0x361),_0xc8344[_0xc8344[_0x18d6ba(0x3c0)]=0x7]=_0x18d6ba(0x3c0),_0xc8344[_0xc8344[_0x18d6ba(0x28b)]=0x8]='TOO_MANY_REQUESTS',_0xc8344[_0xc8344['COMPLETION_FINISHED']=0x9]=_0x18d6ba(0x49e),_0xc8344[_0xc8344[_0x18d6ba(0x1fe)]=0x1389]=_0x18d6ba(0x1fe),_0xc8344[_0xc8344[_0x18d6ba(0x2e0)]=0x1771]=_0x18d6ba(0x2e0),_0xc8344[_0xc8344[_0x18d6ba(0x544)]=0x1772]=_0x18d6ba(0x544),_0xc8344[_0xc8344[_0x18d6ba(0x43d)]=0x1b59]='APPLY_REJECT',_0xc8344[_0xc8344[_0x18d6ba(0x2cf)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc8344[_0xc8344['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x18d6ba(0x58c),_0xc8344[_0xc8344[_0x18d6ba(0x4eb)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc8344[_0xc8344[_0x18d6ba(0x4f4)]=0x1f41]=_0x18d6ba(0x4f4),_0xc8344[_0xc8344[_0x18d6ba(0x2a8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xc8344[_0xc8344['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x18d6ba(0x30b),_0xc8344[_0xc8344['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x18d6ba(0x327),_0xc8344[_0xc8344[_0x18d6ba(0x1e0)]=0x232c]=_0x18d6ba(0x1e0),_0xc8344[_0xc8344[_0x18d6ba(0x514)]=0x232d]=_0x18d6ba(0x514),_0xc8344[_0xc8344[_0x18d6ba(0x31b)]=0x2711]=_0x18d6ba(0x31b),_0xc8344[_0xc8344[_0x18d6ba(0x4fb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xc8344[_0xc8344['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc8344[_0xc8344[_0x18d6ba(0x429)]=0x2714]=_0x18d6ba(0x429),_0xc8344[_0xc8344[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0xc8344))(_0x5c79e0||{}),_0x3a110c=(_0x3e1a64=>(_0x3e1a64[_0x3e1a64['UNIVER_UNKNOWN']=0x0]=_0x18d6ba(0x359),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x4c1)]=0x1]='UNIVER_DOC',_0x3e1a64[_0x3e1a64[_0x18d6ba(0x18a)]=0x2]=_0x18d6ba(0x18a),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x4c3)]=0x3]=_0x18d6ba(0x4c3),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x48a)]=0x4]=_0x18d6ba(0x48a),_0x3e1a64[_0x3e1a64[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0x3e1a64))(_0x3a110c||{}),_0x34149a=(_0x1420f0=>(_0x1420f0[_0x1420f0[_0x18d6ba(0x4a6)]=0x0]=_0x18d6ba(0x4a6),_0x1420f0[_0x1420f0[_0x18d6ba(0x2ff)]=0x1]=_0x18d6ba(0x2ff),_0x1420f0[_0x1420f0[_0x18d6ba(0x4a8)]=0x2]=_0x18d6ba(0x4a8),_0x1420f0[_0x1420f0[_0x18d6ba(0x1c3)]=0x3]=_0x18d6ba(0x1c3),_0x1420f0[_0x1420f0[_0x18d6ba(0x365)]=0x4]='INGEST',_0x1420f0[_0x1420f0[_0x18d6ba(0x31e)]=0x5]=_0x18d6ba(0x31e),_0x1420f0[_0x1420f0[_0x18d6ba(0x4c7)]=0x6]=_0x18d6ba(0x4c7),_0x1420f0[_0x1420f0[_0x18d6ba(0x412)]=-0x1]=_0x18d6ba(0x412),_0x1420f0))(_0x34149a||{}),_0x3833d2=(_0xec896c=>(_0xec896c[_0xec896c[_0x18d6ba(0x2ad)]=0x0]='UNKNOWN_CODE',_0xec896c[_0xec896c['OK']=0x1]='OK',_0xec896c[_0xec896c[_0x18d6ba(0x302)]=0x2]=_0x18d6ba(0x302),_0xec896c[_0xec896c[_0x18d6ba(0x412)]=-0x1]='UNRECOGNIZED',_0xec896c))(_0x3833d2||{}),_0x306c39=(_0x1a2ab6=>(_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x22e)]=0x0]=_0x18d6ba(0x22e),_0x1a2ab6[_0x1a2ab6['HttpImport']=0x1]='HttpImport',_0x1a2ab6[_0x1a2ab6['HttpExport']=0x2]=_0x18d6ba(0x2ba),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x37b)]=0x3]=_0x18d6ba(0x37b),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x456)]=0x4]=_0x18d6ba(0x456),_0x1a2ab6[_0x1a2ab6[_0x18d6ba(0x412)]=-0x1]='UNRECOGNIZED',_0x1a2ab6))(_0x306c39||{}),_0x320cdc=Object[_0x18d6ba(0x272)],_0x40dcda=Object[_0x18d6ba(0x3fd)],_0x29e7e2=(_0x4988cc,_0x5acb35,_0x22753a,_0x2b0890)=>{const _0x51f2cb=_0x18d6ba;for(var _0x356e4f=_0x2b0890>0x1?void 0x0:_0x2b0890?_0x40dcda(_0x5acb35,_0x22753a):_0x5acb35,_0x28a291=_0x4988cc[_0x51f2cb(0x574)]-0x1,_0x3ba90e;_0x28a291>=0x0;_0x28a291--)(_0x3ba90e=_0x4988cc[_0x28a291])&&(_0x356e4f=(_0x2b0890?_0x3ba90e(_0x5acb35,_0x22753a,_0x356e4f):_0x3ba90e(_0x356e4f))||_0x356e4f);return _0x2b0890&&_0x356e4f&&_0x320cdc(_0x5acb35,_0x22753a,_0x356e4f),_0x356e4f;},_0x3f3e0e=(_0x44f51d,_0x40982f)=>(_0x174c5d,_0x530424)=>_0x40982f(_0x174c5d,_0x530424,_0x44f51d);let _0x107a5c=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x43d365,_0x19008f){const _0x56e9e0=_0x18d6ba;super(),_0x2c46b8(this,_0x56e9e0(0x34c),new Map()),(this[_0x56e9e0(0x318)]=_0x43d365,this['_userManagerService']=_0x19008f,this[_0x56e9e0(0x43a)](_0x3aaa00[_0x56e9e0(0x1cd)](_0x5cbc6e[_0x56e9e0(0x424)](this[_0x56e9e0(0x318)][_0x56e9e0(0x551)](_0x3aaa00[_0x56e9e0(0x434)]['UNIVER_SHEET'])[_0x56e9e0(0x32f)](_0x267050['map'](_0x9cab21=>_0x9cab21[_0x56e9e0(0x4b6)]())),this['_univerInstanceService'][_0x56e9e0(0x551)](_0x3aaa00[_0x56e9e0(0x434)][_0x56e9e0(0x4c1)])[_0x56e9e0(0x32f)](_0x267050['map'](_0x29d958=>_0x29d958['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3aaa00[_0x56e9e0(0x434)]['UNIVER_SLIDE'])[_0x56e9e0(0x32f)](_0x267050[_0x56e9e0(0x343)](_0x409b54=>_0x409b54['getUnitId']())))['subscribe'](_0x1d2699=>this[_0x56e9e0(0x1ce)](_0x1d2699)))));}[_0x18d6ba(0x55f)](_0x2eef17){const _0x76de18=_0x18d6ba;this[_0x76de18(0x452)][_0x76de18(0x55f)](_0x2eef17);}[_0x18d6ba(0x331)](){const _0x5e926e=_0x18d6ba;return this[_0x5e926e(0x452)][_0x5e926e(0x331)]();}[_0x18d6ba(0x4ba)](_0x4e1808,_0x2f3da6){const _0x46c5a7=_0x18d6ba;let _0x27d3fd=this[_0x46c5a7(0x34c)]['get'](_0x4e1808);_0x27d3fd||(_0x27d3fd=new _0x41ddb6(),this[_0x46c5a7(0x34c)][_0x46c5a7(0x2a6)](_0x4e1808,_0x27d3fd)),_0x27d3fd['updateMember'](_0x2f3da6);}[_0x18d6ba(0x458)](_0x12cfee,_0x178c27){const _0x30a288=_0x18d6ba,_0xee8eac=this[_0x30a288(0x34c)][_0x30a288(0x3e4)](_0x12cfee);_0xee8eac&&_0xee8eac[_0x30a288(0x458)](_0x178c27);}[_0x18d6ba(0x201)](_0x23e892){const _0x49f188=_0x18d6ba;return this[_0x49f188(0x34c)]['get'](_0x23e892);}['getMember'](_0x10a524,_0x44e57a){const _0x3aca63=_0x18d6ba,_0x3764c6=this[_0x3aca63(0x34c)]['get'](_0x10a524);if(_0x3764c6)return _0x3764c6[_0x3aca63(0x2c1)](_0x44e57a);}['_removeRoom'](_0x57fd1f){const _0x2a3d91=_0x18d6ba,_0x3d1815=this['_roomMembers'][_0x2a3d91(0x3e4)](_0x57fd1f);_0x3d1815&&(_0x3d1815['dispose'](),this[_0x2a3d91(0x34c)]['delete'](_0x57fd1f));}['dispose'](){const _0x76d38f=_0x18d6ba;this[_0x76d38f(0x34c)][_0x76d38f(0x387)](_0x246b79=>_0x246b79[_0x76d38f(0x338)]()),this[_0x76d38f(0x34c)][_0x76d38f(0x580)]();}};_0x107a5c=_0x29e7e2([_0x3f3e0e(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x3f3e0e(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x1c8)]))],_0x107a5c);class _0x41ddb6 extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(){const _0x376005=_0x18d6ba;super(...arguments),_0x2c46b8(this,_0x376005(0x538),new Map());}['dispose'](){const _0x2bb029=_0x18d6ba;this[_0x2bb029(0x538)]['clear']();}['updateMember'](_0x85e7a8){const _0x10639c=_0x18d6ba;this[_0x10639c(0x538)][_0x10639c(0x2a6)](_0x85e7a8[_0x10639c(0x229)],_0x85e7a8);}[_0x18d6ba(0x458)](_0x4b564c){this['_members']['delete'](_0x4b564c);}['getMember'](_0x2405c1){const _0x17ea5b=_0x18d6ba;return this[_0x17ea5b(0x538)][_0x17ea5b(0x3e4)](_0x2405c1);}}function _0x28e9a6(_0xaf0df6){const _0x1d0e7c=_0x18d6ba;var _0x3488f,_0x117ce5,_0x91aee2,_0x498b41;const _0x4e60d7=_0xaf0df6[_0x1d0e7c(0x44f)],_0x3e32c9=JSON['parse'](_0x4e60d7);switch(_0x3e32c9[_0x1d0e7c(0x196)]){case _0x34149a[_0x1d0e7c(0x31e)]:case _0x34149a['HELLO']:{const _0x3a53f3=_0x3e32c9[_0x1d0e7c(0x34a)];return{..._0x3e32c9,'data':_0x3a53f3,'cmd':_0x3e32c9['cmd']};}case _0x34149a[_0x1d0e7c(0x4a8)]:{const _0x2ff1ef=_0x3e32c9[_0x1d0e7c(0x473)];return{..._0x3e32c9,'data':_0x2ff1ef,'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};}case _0x34149a[_0x1d0e7c(0x4c7)]:{const _0x2d09b5=_0x3e32c9[_0x1d0e7c(0x414)];switch(_0x2d09b5[_0x1d0e7c(0x539)]){case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x31a)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x3488f=_0x2d09b5[_0x1d0e7c(0x252)])==null?void 0x0:_0x3488f['cs']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x4e1)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x117ce5=_0x2d09b5[_0x1d0e7c(0x26e)])==null?void 0x0:_0x117ce5['cs']},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x27c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x91aee2=_0x2d09b5[_0x1d0e7c(0x529)])==null?void 0x0:_0x91aee2['cs']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x3fb)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':(_0x498b41=_0x2d09b5[_0x1d0e7c(0x2a7)])==null?void 0x0:_0x498b41['cs']},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x33e)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x461)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x30c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x346)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x4af)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x435)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x425)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x41a)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4d4d9d['CollaborationEvent'][_0x1d0e7c(0x21c)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5['liveShareOperation']},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x512)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x41a)]},'cmd':_0x3e32c9['cmd']};case _0x4d4d9d['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x3e32c9,'data':_0x2d09b5,'cmd':_0x3e32c9['cmd']};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['COMMENT_UPDATE']:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x4fd)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)]['UPDATE_PERMISSION_OBJ']:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x3bb)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};case _0x4d4d9d[_0x1d0e7c(0x2ae)][_0x1d0e7c(0x2d7)]:return{..._0x3e32c9,'data':{..._0x2d09b5,'data':_0x2d09b5[_0x1d0e7c(0x32e)]},'cmd':_0x3e32c9[_0x1d0e7c(0x196)]};default:return _0x3e32c9;}}default:return _0x3e32c9;}}function _0x488e2c(_0x469fdd){const _0x41ea82=_0x18d6ba;switch(_0x469fdd['cmd']){case _0x34149a[_0x41ea82(0x31e)]:case _0x34149a[_0x41ea82(0x2ff)]:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd['routeKey']});case _0x34149a[_0x41ea82(0x365)]:{let _0x667e68;switch(_0x469fdd[_0x41ea82(0x44f)]['eventID']){case _0x4d4d9d[_0x41ea82(0x2ae)]['UPDATE_CURSOR']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x33e)],'updateCursorEvent':_0x469fdd[_0x41ea82(0x44f)]['data']};break;}case _0x4d4d9d[_0x41ea82(0x2ae)]['USERS_LEAVE']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x4af)],'leaveEvent':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x30c)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x30c)],'joinEvent':_0x469fdd[_0x41ea82(0x44f)]['data']};break;}case _0x4d4d9d[_0x41ea82(0x2ae)]['LIVESHARE_NEW_HOST']:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x425)],'liveShareNewHost':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x21c)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x21c)],'liveShareOperation':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x512)]:{_0x667e68={'eventID':_0x4d4d9d['CollaborationEvent'][_0x41ea82(0x512)],'liveShareTerminate':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x3f4)]:{_0x667e68={'eventID':_0x4d4d9d['CollaborationEvent'][_0x41ea82(0x3f4)],'liveShareRequestHost':_0x469fdd[_0x41ea82(0x44f)][_0x41ea82(0x44f)]};break;}case _0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x20a)]:{_0x667e68={'eventID':_0x4d4d9d[_0x41ea82(0x2ae)][_0x41ea82(0x20a)]};break;}default:_0x667e68={'eventID':_0x469fdd[_0x41ea82(0x44f)]['eventID']};}return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'collaMsg':_0x667e68});}case _0x34149a[_0x41ea82(0x4a8)]:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd['cmd'],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'joinReq':_0x469fdd[_0x41ea82(0x44f)]});case _0x34149a['LEAVE']:return JSON[_0x41ea82(0x1f1)]({'cmd':_0x469fdd[_0x41ea82(0x196)],'routeKey':_0x469fdd[_0x41ea82(0x29d)],'leaveReq':_0x469fdd['data']});default:throw new Error(_0x41ea82(0x1eb));}}var _0x4b30f2=Object[_0x18d6ba(0x272)],_0x1cc324=Object[_0x18d6ba(0x3fd)],_0xd0b376=(_0x397f8f,_0x1e0f3a,_0x552e83,_0x6d2b8d)=>{const _0x4e48d1=_0x18d6ba;for(var _0x437d0e=_0x6d2b8d>0x1?void 0x0:_0x6d2b8d?_0x1cc324(_0x1e0f3a,_0x552e83):_0x1e0f3a,_0x55bc3c=_0x397f8f[_0x4e48d1(0x574)]-0x1,_0x499c21;_0x55bc3c>=0x0;_0x55bc3c--)(_0x499c21=_0x397f8f[_0x55bc3c])&&(_0x437d0e=(_0x6d2b8d?_0x499c21(_0x1e0f3a,_0x552e83,_0x437d0e):_0x499c21(_0x437d0e))||_0x437d0e);return _0x6d2b8d&&_0x437d0e&&_0x4b30f2(_0x1e0f3a,_0x552e83,_0x437d0e),_0x437d0e;},_0x304bc5=(_0x146c1f,_0x2f596a)=>(_0x1aec84,_0x209533)=>_0x2f596a(_0x1aec84,_0x209533,_0x146c1f);const _0x41bd32=_0x3aaa00[_0x18d6ba(0x3be)](_0x18d6ba(0x1d1));function _0x102c8e(_0x4cdaa1,_0x1a542b,_0x4fac88){const _0x5d0d4c=_0x18d6ba;return _0x4cdaa1+'/'+_0x1a542b+_0x5d0d4c(0x37c)+_0x4fac88+_0x5d0d4c(0x416);}_0x4c54a0[_0x18d6ba(0x438)]=class{constructor(_0x1ebbf9,_0x1ab90b,_0x52f8b4,_0x5ae9ef,_0x2af592){const _0x589e00=_0x18d6ba;this[_0x589e00(0x472)]=_0x1ebbf9,this[_0x589e00(0x3de)]=_0x1ab90b,this['_configService']=_0x52f8b4,this['_logService']=_0x5ae9ef,this[_0x589e00(0x261)]=_0x2af592;}[_0x18d6ba(0x1f5)](_0x4db635){const _0x322cc1=_0x18d6ba,_0x84ab9=this[_0x322cc1(0x3de)][_0x322cc1(0x1f5)](_0x4db635);if(!_0x84ab9)throw new Error(_0x322cc1(0x3f9));const _0x598ea2=new _0x3aaa00[(_0x322cc1(0x53b))](),_0x611445=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00['toDisposable'](_0x84ab9[_0x322cc1(0x490)][_0x322cc1(0x559)](_0x10cf7c=>_0x611445[_0x322cc1(0x1c5)](_0x10cf7c)))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x611445[_0x322cc1(0x581)]()));const _0x4f00ab=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](_0x84ab9[_0x322cc1(0x27d)][_0x322cc1(0x559)](_0x52a5c8=>_0x4f00ab[_0x322cc1(0x1c5)](_0x52a5c8)))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x4f00ab[_0x322cc1(0x581)]()));const _0x30b721=new _0x5cbc6e[(_0x322cc1(0x328))]();_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](_0x84ab9['message$']['subscribe'](_0x533fdd=>{const _0x4e9ccd=_0x322cc1,_0x59606e=_0x28e9a6(_0x533fdd);_0x30b721[_0x4e9ccd(0x1c5)](_0x59606e);}))),_0x598ea2[_0x322cc1(0x22f)](_0x3aaa00[_0x322cc1(0x1cd)](()=>_0x30b721[_0x322cc1(0x581)]()));const _0x1435f3=()=>{const _0x401768=_0x322cc1;_0x4f00ab['next'](new Event('connection\x20error')),_0x611445['next'](new CloseEvent(_0x401768(0x3e6))),_0x59f1d4['close']();},_0x59f1d4={'memberID':'','close$':_0x611445[_0x322cc1(0x28c)](),'error$':_0x4f00ab[_0x322cc1(0x28c)](),'open$':_0x84ab9[_0x322cc1(0x54a)],'message$':_0x30b721['asObservable'](),'send':_0x287355=>{const _0x4a85e1=_0x322cc1;if(_0x287355[_0x4a85e1(0x196)]===_0x34149a['INGEST']){if(_0x287355[_0x4a85e1(0x44f)][_0x4a85e1(0x539)]===_0x4d4d9d[_0x4a85e1(0x2ae)][_0x4a85e1(0x1fd)]){this[_0x4a85e1(0x2fe)](_0x59f1d4,_0x287355['data'])['catch'](_0x19bace=>{const _0x5e9d53=_0x4a85e1;this['_logService'][_0x5e9d53(0x4ae)](_0x19bace),_0x1435f3();});return;}if(_0x287355[_0x4a85e1(0x44f)][_0x4a85e1(0x539)]===_0x4d4d9d['CollaborationEvent']['FETCH_MISSING']){const _0x2803a2=_0x287355[_0x4a85e1(0x44f)];this[_0x4a85e1(0x26b)](_0x2803a2)[_0x4a85e1(0x56a)](_0x9f055f=>{const _0x347124=_0x4a85e1;_0x30b721['next']({'cmd':_0x34149a['RECV'],'code':_0x3833d2['OK'],'routeKey':_0x2803a2[_0x347124(0x44f)][_0x347124(0x4bb)],'routeType':'','data':{'eventID':_0x4d4d9d[_0x347124(0x2ae)][_0x347124(0x52c)],'data':{'changesets':_0x9f055f}}});})['catch'](_0x52b3d4=>{const _0x749154=_0x4a85e1;this[_0x749154(0x36e)]['error'](_0x52b3d4),_0x1435f3();});return;}}_0x84ab9['send'](_0x488e2c(_0x287355));},'close':()=>{const _0x5246b9=_0x322cc1;_0x84ab9[_0x5246b9(0x501)](),_0x598ea2[_0x5246b9(0x338)]();}};return _0x59f1d4;}async[_0x18d6ba(0x2fe)](_0x5bc937,_0x6df92e){const _0x348e8d=_0x18d6ba;var _0x9f6a06;const {unitType:_0x4194e8,unitID:_0x59528a,changeset:_0x349129}=_0x6df92e[_0x348e8d(0x44f)],_0x5bf592={'unitID':_0x59528a,'memberID':_0x5bc937[_0x348e8d(0x229)],'type':_0x4194e8,'changeset':_0x4d4d9d[_0x348e8d(0x1d9)](_0x349129)},_0x23b1c1=_0x102c8e((_0x9f6a06=this[_0x348e8d(0x394)][_0x348e8d(0x499)](_0x9f6d65))!=null?_0x9f6a06:_0x699dc8,_0x4194e8,_0x59528a);try{await this['_http']['post'](_0x23b1c1,{'body':_0x5bf592});}catch(_0x3e47d8){throw this[_0x348e8d(0x36e)][_0x348e8d(0x4ae)](_0x348e8d(0x2d0),_0x348e8d(0x259)),_0x3e47d8;}}async[_0x18d6ba(0x26b)](_0x42e083){const _0x4ff4b9=_0x18d6ba,{unitID:_0x1a28d8,from:_0x556dd1,to:_0x1d7666,unitType:_0x51064b}=_0x42e083[_0x4ff4b9(0x44f)];return(await this['_snapshotServerService'][_0x4ff4b9(0x4e5)]({'metadata':void 0x0},{'unitID':_0x1a28d8,'type':_0x51064b,'from':_0x556dd1,'to':_0x1d7666}))[_0x4ff4b9(0x589)];}},_0x4c54a0[_0x18d6ba(0x438)]=_0xd0b376([_0x304bc5(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x304bc5(0x1,_0x3aaa00['Inject'](_0x3e5de5[_0x18d6ba(0x400)])),_0x304bc5(0x2,_0x3aaa00[_0x18d6ba(0x195)]),_0x304bc5(0x3,_0x3aaa00['ILogService']),_0x304bc5(0x4,_0x3aaa00['ISnapshotServerService'])],_0x4c54a0['CollaborationSocketService']);class _0x285dfb{constructor(){const _0x11e599=_0x18d6ba;_0x2c46b8(this,_0x11e599(0x202),new _0x5cbc6e['Subject']()),_0x2c46b8(this,_0x11e599(0x368),this[_0x11e599(0x202)][_0x11e599(0x28c)]());}[_0x18d6ba(0x3ba)](_0x2b641b){const _0x310bde=_0x18d6ba;this[_0x310bde(0x202)][_0x310bde(0x1c5)](_0x2b641b);}}var _0x4d28ea=Object['defineProperty'],_0x5b65b5=Object[_0x18d6ba(0x3fd)],_0x34e60d=(_0x2db369,_0xbf364b,_0x7efdfc,_0x1f70e6)=>{const _0x12c47e=_0x18d6ba;for(var _0x1883f6=_0x1f70e6>0x1?void 0x0:_0x1f70e6?_0x5b65b5(_0xbf364b,_0x7efdfc):_0xbf364b,_0x200344=_0x2db369[_0x12c47e(0x574)]-0x1,_0x130abc;_0x200344>=0x0;_0x200344--)(_0x130abc=_0x2db369[_0x200344])&&(_0x1883f6=(_0x1f70e6?_0x130abc(_0xbf364b,_0x7efdfc,_0x1883f6):_0x130abc(_0x1883f6))||_0x1883f6);return _0x1f70e6&&_0x1883f6&&_0x4d28ea(_0xbf364b,_0x7efdfc,_0x1883f6),_0x1883f6;},_0x438172=(_0x1730f3,_0x1c639a)=>(_0x2d51c6,_0x359224)=>_0x1c639a(_0x2d51c6,_0x359224,_0x1730f3),_0x2cd85f=(_0x503267=>(_0x503267[_0x503267[_0x18d6ba(0x3c5)]=0x0]=_0x18d6ba(0x3c5),_0x503267[_0x503267[_0x18d6ba(0x40a)]=0x1]=_0x18d6ba(0x40a),_0x503267[_0x503267[_0x18d6ba(0x1f8)]=0x2]=_0x18d6ba(0x1f8),_0x503267[_0x503267[_0x18d6ba(0x219)]=0x3]=_0x18d6ba(0x219),_0x503267))(_0x2cd85f||{});_0x4c54a0[_0x18d6ba(0x49c)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x2390c3,_0x75d256,_0x1d3b42,_0x28e142,_0x2bd9a1,_0x12f495,_0x3973d2,_0x204a67,_0x1da015){const _0x17eb91=_0x18d6ba;super(),_0x2c46b8(this,_0x17eb91(0x492),new _0x5cbc6e[(_0x17eb91(0x1ec))](0x0)),_0x2c46b8(this,_0x17eb91(0x462),this[_0x17eb91(0x492)]['asObservable']()),_0x2c46b8(this,_0x17eb91(0x4bd),new _0x5cbc6e[(_0x17eb91(0x328))]()),_0x2c46b8(this,_0x17eb91(0x2f0),this['_event$'][_0x17eb91(0x28c)]()),_0x2c46b8(this,_0x17eb91(0x276)),_0x2c46b8(this,'_socketMessageSubscription'),_0x2c46b8(this,_0x17eb91(0x508)),(this[_0x17eb91(0x2c3)]=_0x2390c3,this[_0x17eb91(0x36e)]=_0x1d3b42,this['_beforeCloseService']=_0x28e142,this[_0x17eb91(0x21a)]=_0x2bd9a1,this[_0x17eb91(0x394)]=_0x12f495,this['_localeService']=_0x3973d2,this[_0x17eb91(0x241)]=_0x204a67,this[_0x17eb91(0x4e2)]=_0x1da015,_0x75d256[_0x17eb91(0x32f)](_0x267050[_0x17eb91(0x40b)](this[_0x17eb91(0x505)]))[_0x17eb91(0x559)](_0x1d576c=>{const _0x100fc2=_0x17eb91;var _0x1b0fa3;typeof _0x1d576c>'u'||(this[_0x100fc2(0x276)]=_0x1d576c,_0x1d576c?(this[_0x100fc2(0x570)](_0x1d576c),this[_0x100fc2(0x268)]=this[_0x100fc2(0x276)][_0x100fc2(0x1e1)][_0x100fc2(0x559)](_0x3a1c65=>{const _0x249f88=_0x100fc2;_0x3a1c65[_0x249f88(0x29d)]===this[_0x249f88(0x2c3)]&&this[_0x249f88(0x2e4)](_0x3a1c65);})):(this['_sessionStatus$'][_0x100fc2(0x1c5)](0x2),(_0x1b0fa3=this['_socketMessageSubscription'])==null||_0x1b0fa3[_0x100fc2(0x19c)](),this[_0x100fc2(0x268)]=null));}),this[_0x17eb91(0x43a)](this[_0x17eb91(0x23c)]['registerOnClose'](()=>{const _0x40e145=_0x17eb91;var _0x40d104;(_0x40d104=this[_0x40e145(0x276)])==null||_0x40d104[_0x40e145(0x393)]({'cmd':_0x34149a[_0x40e145(0x1c3)],'data':{'roomID':this[_0x40e145(0x2c3)]}});})));}get[_0x18d6ba(0x3b7)](){const _0x230a3a=_0x18d6ba;return this['_sessionStatus$'][_0x230a3a(0x453)]();}['getMemberID'](){var _0x587368,_0x53c63d;return(_0x53c63d=(_0x587368=this['_socket'])==null?void 0x0:_0x587368['memberID'])!=null?_0x53c63d:null;}[_0x18d6ba(0x338)](){const _0x123435=_0x18d6ba;super[_0x123435(0x338)](),this[_0x123435(0x505)][_0x123435(0x1c5)](),this[_0x123435(0x505)]['complete']();}[_0x18d6ba(0x501)](){const _0x4afcaf=_0x18d6ba;var _0x314bd2,_0x4a240a;(_0x314bd2=this[_0x4afcaf(0x276)])==null||_0x314bd2[_0x4afcaf(0x393)]({'cmd':_0x34149a[_0x4afcaf(0x1c3)],'data':{'roomID':this[_0x4afcaf(0x2c3)]}}),this['_event$'][_0x4afcaf(0x581)](),this[_0x4afcaf(0x492)][_0x4afcaf(0x581)](),(_0x4a240a=this[_0x4afcaf(0x276)])==null||_0x4a240a['close'](),this[_0x4afcaf(0x338)]();}[_0x18d6ba(0x2e4)](_0x587e56){const _0x23735d=_0x18d6ba;_0x587e56[_0x23735d(0x196)]===_0x34149a[_0x23735d(0x4a8)]?this[_0x23735d(0x552)](_0x587e56):_0x587e56['cmd']===_0x34149a[_0x23735d(0x4c7)]&&this[_0x23735d(0x37a)](_0x587e56);}[_0x18d6ba(0x570)](_0x2f86e0){const _0x307462=_0x18d6ba;this['_sessionStatus$'][_0x307462(0x1c5)](0x1),_0x2f86e0[_0x307462(0x393)]({'cmd':_0x34149a[_0x307462(0x4a8)],'routeKey':this[_0x307462(0x2c3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x307462(0x2c3)]}]}});}['_onJoinRoomEvent'](_0x56aadc){const _0x3f648d=_0x18d6ba;var _0x49c3e4;if(_0x56aadc['code']===_0x3833d2[_0x3f648d(0x302)]){this['_messageService']['show']({'type':_0x564857[_0x3f648d(0x260)][_0x3f648d(0x40f)],'content':this[_0x3f648d(0x43e)]['t'](_0x3f648d(0x2e2))}),this[_0x3f648d(0x492)]['next'](0x2);return;}this[_0x3f648d(0x492)][_0x3f648d(0x1c5)](0x3);const _0x4ee69c=(_0x49c3e4=_0x56aadc[_0x3f648d(0x44f)][_0x3f648d(0x3e7)][this[_0x3f648d(0x2c3)]])==null?void 0x0:_0x49c3e4[_0x3f648d(0x47f)];_0x4ee69c&&_0x4ee69c[_0x3f648d(0x387)](_0x372fa6=>this['_memberService']['updateMember'](this['_unitID'],_0x372fa6));}[_0x18d6ba(0x37a)](_0x2f3a5c){const _0x8b8d3f=_0x18d6ba;try{const _0x1c6a6e=_0x2f3a5c[_0x8b8d3f(0x44f)];switch(_0x1c6a6e[_0x8b8d3f(0x539)]){case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x30c)]:this[_0x8b8d3f(0x25a)](_0x1c6a6e),this['_event$'][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x4af)]:this[_0x8b8d3f(0x3e9)](_0x1c6a6e),this[_0x8b8d3f(0x4bd)]['next'](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x4e1)]:this[_0x8b8d3f(0x197)](),this[_0x8b8d3f(0x4bd)][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x50f)]:this['_logService'][_0x8b8d3f(0x4ae)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x8b8d3f(0x1f1)](_0x1c6a6e)),this['_event$'][_0x8b8d3f(0x1c5)](_0x1c6a6e);break;case _0x4d4d9d[_0x8b8d3f(0x2ae)][_0x8b8d3f(0x22a)]:this[_0x8b8d3f(0x4e2)][_0x8b8d3f(0x3ba)](_0x1c6a6e[_0x8b8d3f(0x44f)]),this['_event$']['next'](_0x1c6a6e);break;default:this[_0x8b8d3f(0x4bd)][_0x8b8d3f(0x1c5)](_0x1c6a6e);}}catch(_0x204b1f){this['_logService'][_0x8b8d3f(0x4ae)](_0x204b1f,_0x2f3a5c);}}[_0x18d6ba(0x25a)](_0x5e5fdd){const _0x416f96=_0x18d6ba;this[_0x416f96(0x241)][_0x416f96(0x4ba)](this[_0x416f96(0x2c3)],_0x5e5fdd['data']);}[_0x18d6ba(0x3e9)](_0x145098){const _0xc4fff=_0x18d6ba;this[_0xc4fff(0x241)]['removeMember'](this[_0xc4fff(0x2c3)],_0x145098[_0xc4fff(0x44f)][_0xc4fff(0x229)]);}async['send'](_0x3541da,_0x5f3da5){const _0x48d636=_0x18d6ba;if(this[_0x48d636(0x3b7)]!==0x3||!this[_0x48d636(0x276)])throw new Error(_0x48d636(0x440));try{_0x3541da[_0x48d636(0x539)]===_0x4d4d9d[_0x48d636(0x2ae)][_0x48d636(0x27c)]&&this['_scheduleCollaborationTimeoutTimer'](),this[_0x48d636(0x276)][_0x48d636(0x393)]({'cmd':_0x34149a[_0x48d636(0x365)],'routeKey':_0x5f3da5,'routeType':'','data':_0x3541da});}catch(_0x337bd9){this['_logService'][_0x48d636(0x4ae)](_0x337bd9);}}[_0x18d6ba(0x3a6)](){const _0x59bd17=_0x18d6ba;var _0x552466;this['_collaborationTimeoutTimer']=window[_0x59bd17(0x3f1)](()=>{const _0x1abc33=_0x59bd17;this[_0x1abc33(0x508)]=null,this[_0x1abc33(0x21a)][_0x1abc33(0x3f8)]({'type':_0x564857[_0x1abc33(0x260)][_0x1abc33(0x40e)],'content':this[_0x1abc33(0x43e)]['t'](_0x1abc33(0x4a7))});},(_0x552466=this[_0x59bd17(0x394)]['getConfig'](_0x2689b9))!=null?_0x552466:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x175bf2=_0x18d6ba;this[_0x175bf2(0x508)]&&(clearTimeout(this[_0x175bf2(0x508)]),this[_0x175bf2(0x508)]=null);}},_0x4c54a0[_0x18d6ba(0x49c)]=_0x34e60d([_0x438172(0x2,_0x3aaa00[_0x18d6ba(0x42a)]),_0x438172(0x3,_0x2b4c8d[_0x18d6ba(0x28f)]),_0x438172(0x4,_0x2b4c8d['IMessageService']),_0x438172(0x5,_0x3aaa00[_0x18d6ba(0x195)]),_0x438172(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['LocaleService'])),_0x438172(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x438172(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x285dfb))],_0x4c54a0[_0x18d6ba(0x49c)]),_0x4c54a0[_0x18d6ba(0x22b)]=class extends _0x3aaa00['Disposable']{constructor(_0xc030af,_0x9e31c0,_0x307618,_0x2b38b0,_0x45fdb9,_0x3dc267){const _0x3feaa5=_0x18d6ba;super(),_0x2c46b8(this,_0x3feaa5(0x263),new _0x5cbc6e[(_0x3feaa5(0x1ec))](void 0x0)),_0x2c46b8(this,_0x3feaa5(0x587),new Map()),_0x2c46b8(this,'_status$',new _0x5cbc6e[(_0x3feaa5(0x1ec))](0x0)),_0x2c46b8(this,_0x3feaa5(0x503),this['_status$'][_0x3feaa5(0x28c)]()),_0x2c46b8(this,'_socketReady',!0x1),_0x2c46b8(this,'_sendHeartbeatTimer'),_0x2c46b8(this,_0x3feaa5(0x48d)),_0x2c46b8(this,_0x3feaa5(0x242)),_0x2c46b8(this,'_retryCount',0x0),(this['_injector']=_0xc030af,this[_0x3feaa5(0x43e)]=_0x9e31c0,this[_0x3feaa5(0x21a)]=_0x307618,this[_0x3feaa5(0x36e)]=_0x2b38b0,this[_0x3feaa5(0x394)]=_0x45fdb9,this[_0x3feaa5(0x593)]=_0x3dc267);}get[_0x18d6ba(0x276)](){const _0x32550c=_0x18d6ba;return this[_0x32550c(0x263)][_0x32550c(0x453)]();}[_0x18d6ba(0x338)](){const _0x2c151a=_0x18d6ba;super[_0x2c151a(0x338)](),this['_sessions'][_0x2c151a(0x387)](_0x4897d4=>_0x4897d4[_0x2c151a(0x338)]()),this['_sessions'][_0x2c151a(0x580)](),this[_0x2c151a(0x225)]['complete']();}async[_0x18d6ba(0x3a3)](_0x3a3201){const _0x5eb5dd=_0x18d6ba;if(this[_0x5eb5dd(0x587)][_0x5eb5dd(0x443)](_0x3a3201))return this['_sessions'][_0x5eb5dd(0x3e4)](_0x3a3201);this['_tryEnsureSocket']();const _0xac9e0e=this[_0x5eb5dd(0x42c)][_0x5eb5dd(0x491)](_0x4c54a0[_0x5eb5dd(0x49c)],_0x3a3201,this[_0x5eb5dd(0x263)][_0x5eb5dd(0x28c)]());return this[_0x5eb5dd(0x587)]['set'](_0x3a3201,_0xac9e0e),_0xac9e0e;}[_0x18d6ba(0x592)](_0x158f74){const _0x56f933=_0x18d6ba;var _0x4116f5;const _0x592a6b=this[_0x56f933(0x587)]['get'](_0x158f74);_0x592a6b&&(this[_0x56f933(0x587)][_0x56f933(0x466)](_0x158f74),_0x592a6b[_0x56f933(0x501)]()),this[_0x56f933(0x587)][_0x56f933(0x378)]||(_0x4116f5=this[_0x56f933(0x276)])==null||_0x4116f5[_0x56f933(0x501)]();}['_createSocket'](){const _0x55f92d=_0x18d6ba;var _0x299459;const _0x17d5cc=(_0x299459=this['_configService'][_0x55f92d(0x499)](_0xdc44de))!=null?_0x299459:_0x5c44f0;return this[_0x55f92d(0x593)][_0x55f92d(0x1f5)](_0x17d5cc);}[_0x18d6ba(0x4a3)](){const _0x2d4174=_0x18d6ba;try{const _0x31a6db=this[_0x2d4174(0x334)]();if(_0x31a6db){const _0x5594f0=_0x31a6db[_0x2d4174(0x393)];_0x31a6db[_0x2d4174(0x393)]=_0x26054f=>(this[_0x2d4174(0x30d)](),_0x5594f0['apply'](_0x31a6db,[_0x26054f])),_0x31a6db['message$']['subscribe'](_0x4d186b=>this['_onMessage'](_0x31a6db,_0x4d186b)),_0x31a6db[_0x2d4174(0x27d)][_0x2d4174(0x32f)](_0x267050[_0x2d4174(0x240)](0x1))[_0x2d4174(0x559)](_0x21b2a6=>this[_0x2d4174(0x36e)][_0x2d4174(0x4ae)]('[CollaborationSessionService]:\x20socket\x20error',_0x21b2a6)),_0x31a6db[_0x2d4174(0x54a)]['pipe'](_0x267050[_0x2d4174(0x240)](0x1))[_0x2d4174(0x559)](()=>{const _0x5d9faf=_0x2d4174;this[_0x5d9faf(0x423)](_0x31a6db);}),_0x31a6db['close$']['pipe'](_0x267050['take'](0x1))[_0x2d4174(0x559)](_0x9e78fa=>{const _0x6e0035=_0x2d4174;this[_0x6e0035(0x36e)]['debug'](_0x6e0035(0x2d8),_0x6e0035(0x273),_0x9e78fa),this[_0x6e0035(0x528)]();});}}catch(_0x51055f){this[_0x2d4174(0x36e)][_0x2d4174(0x4ae)](_0x51055f),this[_0x2d4174(0x528)]();}}[_0x18d6ba(0x423)](_0x1477c0){const _0x53a4a5=_0x18d6ba;this[_0x53a4a5(0x36e)][_0x53a4a5(0x3bd)](_0x53a4a5(0x2d8),_0x53a4a5(0x227)),_0x1477c0[_0x53a4a5(0x393)]({'cmd':_0x34149a[_0x53a4a5(0x2ff)]}),this[_0x53a4a5(0x30d)]();}['_onConnectionFailed'](){const _0x269b5d=_0x18d6ba;var _0x12b05e;this['_status$'][_0x269b5d(0x1c5)](0x2),this[_0x269b5d(0x263)][_0x269b5d(0x1c5)](null),this[_0x269b5d(0x37f)](),this[_0x269b5d(0x2b3)](),this[_0x269b5d(0x4f7)]=!0x1,this['_retryCount']<((_0x12b05e=this[_0x269b5d(0x394)][_0x269b5d(0x499)](_0x1651af))!=null?_0x12b05e:0x3)?(this['_scheduleReconnection'](this[_0x269b5d(0x32a)]),this[_0x269b5d(0x32a)]+=0x1):this['_messageService'][_0x269b5d(0x3f8)]({'type':_0x564857[_0x269b5d(0x260)][_0x269b5d(0x40e)],'content':this[_0x269b5d(0x43e)]['t'](_0x269b5d(0x277))});}[_0x18d6ba(0x282)](_0x4205fa){const _0x25e924=_0x18d6ba;var _0x127be0;const _0x23b473=((_0x127be0=this[_0x25e924(0x394)][_0x25e924(0x499)](_0x3a9285))!=null?_0x127be0:0x4e20)*0x2**_0x4205fa;this[_0x25e924(0x21a)][_0x25e924(0x3f8)]({'type':_0x564857[_0x25e924(0x260)][_0x25e924(0x40f)],'content':this[_0x25e924(0x43e)]['t'](_0x25e924(0x3d2))}),this[_0x25e924(0x242)]=setTimeout(()=>{const _0xed5bc7=_0x25e924;this[_0xed5bc7(0x4a3)](),clearTimeout(this[_0xed5bc7(0x242)]),this[_0xed5bc7(0x242)]=null;},_0x23b473);}[_0x18d6ba(0x30d)](){const _0x4e8de5=_0x18d6ba;var _0x218cf9;this[_0x4e8de5(0x2b3)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x218cf9=this[_0x4e8de5(0x394)][_0x4e8de5(0x499)](_0x1d14f0))!=null?_0x218cf9:0x7530);}[_0x18d6ba(0x2b9)](){const _0x2b3695=_0x18d6ba;this[_0x2b3695(0x276)][_0x2b3695(0x393)]({'cmd':_0x34149a['HEARTBEAT']}),this[_0x2b3695(0x35e)]();}[_0x18d6ba(0x35e)](){const _0x39bc3e=_0x18d6ba;var _0x5cdd2a;this[_0x39bc3e(0x48d)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5cdd2a=this[_0x39bc3e(0x394)][_0x39bc3e(0x499)](_0x2689b9))!=null?_0x5cdd2a:0x2710);}[_0x18d6ba(0x54e)](_0x1e58d0,_0x53be61){const _0x5a414a=_0x18d6ba,{cmd:_0x2b3a5c}=_0x53be61;_0x2b3a5c===_0x34149a[_0x5a414a(0x2ff)]&&!this['_socketReady']&&(_0x1e58d0[_0x5a414a(0x229)]=_0x53be61[_0x5a414a(0x44f)][_0x5a414a(0x229)],this[_0x5a414a(0x263)]['next'](_0x1e58d0),this['_status$'][_0x5a414a(0x1c5)](0x3),this[_0x5a414a(0x4f7)]=!0x0),_0x2b3a5c===_0x34149a[_0x5a414a(0x31e)]&&this['_clearTimeoutTimer'](),this[_0x5a414a(0x30d)]();}[_0x18d6ba(0x2b3)](){const _0x57f1c7=_0x18d6ba;this[_0x57f1c7(0x3ec)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x57f1c7(0x3ec)]=null);}[_0x18d6ba(0x37f)](){const _0x144587=_0x18d6ba;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x144587(0x48d)]),this[_0x144587(0x48d)]=null);}},_0x4c54a0[_0x18d6ba(0x22b)]=_0x34e60d([_0x438172(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x438172(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x438172(0x2,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x438172(0x3,_0x3aaa00[_0x18d6ba(0x42a)]),_0x438172(0x4,_0x3aaa00[_0x18d6ba(0x195)]),_0x438172(0x5,_0x41bd32)],_0x4c54a0['CollaborationSessionService']);var _0x1855ae=Object['defineProperty'],_0x85085d=Object[_0x18d6ba(0x3fd)],_0x46fd49=(_0x584ecc,_0x26321b,_0x54ea08,_0x362cb0)=>{const _0x53b6c3=_0x18d6ba;for(var _0x2f1b56=_0x362cb0>0x1?void 0x0:_0x362cb0?_0x85085d(_0x26321b,_0x54ea08):_0x26321b,_0x442171=_0x584ecc[_0x53b6c3(0x574)]-0x1,_0x131104;_0x442171>=0x0;_0x442171--)(_0x131104=_0x584ecc[_0x442171])&&(_0x2f1b56=(_0x362cb0?_0x131104(_0x26321b,_0x54ea08,_0x2f1b56):_0x131104(_0x2f1b56))||_0x2f1b56);return _0x362cb0&&_0x2f1b56&&_0x1855ae(_0x26321b,_0x54ea08,_0x2f1b56),_0x2f1b56;},_0x30ca76=(_0x489b31,_0x233bd7)=>(_0x227547,_0x4153e8)=>_0x233bd7(_0x227547,_0x4153e8,_0x489b31);_0x4c54a0['LocalCacheService']=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x2384b0,_0x2c629e,_0x5168c9,_0x5e6c5b,_0x20d415){const _0xb556bb=_0x18d6ba;super(),_0x2c46b8(this,_0xb556bb(0x267),new Map()),_0x2c46b8(this,_0xb556bb(0x3d7),new Map()),_0x2c46b8(this,_0xb556bb(0x233),!0x1),(this[_0xb556bb(0x394)]=_0x2384b0,this['_localStorageService']=_0x2c629e,this['_beforeCloseService']=_0x5168c9,this[_0xb556bb(0x43e)]=_0x5e6c5b,this['_revisionService']=_0x20d415,this['_setupBeforeClosingHandler']());}[_0x18d6ba(0x330)](){const _0x5f1bd4=_0x18d6ba;this[_0x5f1bd4(0x233)]=!0x0;}[_0x18d6ba(0x4b4)](){const _0x520104=_0x18d6ba;this[_0x520104(0x233)]=!0x1;}['dispose'](){const _0x5ca2c9=_0x18d6ba;this[_0x5ca2c9(0x390)]()[_0x5ca2c9(0x56a)](()=>super[_0x5ca2c9(0x338)]());}async[_0x18d6ba(0x1ee)](_0x55fcfc){const _0xb888f=_0x18d6ba;return this[_0xb888f(0x233)]?null:this[_0xb888f(0x212)][_0xb888f(0x2fa)](_0x1d7967(_0x55fcfc));}async[_0x18d6ba(0x3a8)](_0x437b1e,_0x104504){const _0x26ae08=_0x18d6ba;return!!this[_0x26ae08(0x212)]['setItem'](_0x437b1e,_0x104504);}['updateOfflineData'](_0x208551,_0x5ee27c,_0x2a0078,_0xcc6195){const _0x11c42e=_0x18d6ba,_0x1aafea=this['_revisionService'][_0x11c42e(0x477)](_0x208551);this[_0x11c42e(0x267)]['set'](_0x208551,{'unitID':_0x208551,'type':_0x5ee27c,'awaitingChangeset':_0x2a0078,'mutations':_0xcc6195,'rev':_0x1aafea}),this[_0x11c42e(0x3d7)][_0x11c42e(0x443)](_0x208551)||this[_0x11c42e(0x560)](_0x208551);}[_0x18d6ba(0x560)](_0x194ead){const _0x241767=_0x18d6ba,_0x36710c=this['_getSaveTimeout']();_0x36710c===0x0?this[_0x241767(0x1b0)](_0x194ead):this['_saveTaskMap'][_0x241767(0x2a6)](_0x194ead,setTimeout(()=>this[_0x241767(0x1b0)](_0x194ead),_0x36710c));}[_0x18d6ba(0x4ce)](){const _0x5c1958=_0x18d6ba;var _0x9904a8;return(_0x9904a8=this[_0x5c1958(0x394)][_0x5c1958(0x499)](_0x6e910a))!=null?_0x9904a8:0x3e8;}[_0x18d6ba(0x1b0)](_0x159d0e){const _0x4463e8=_0x18d6ba,_0x3e09d6=this[_0x4463e8(0x3d7)][_0x4463e8(0x3e4)](_0x159d0e);return _0x3e09d6!==void 0x0&&window[_0x4463e8(0x33f)](_0x3e09d6),this['_localStorageService']['setItem'](_0x1d7967(_0x159d0e),this[_0x4463e8(0x267)][_0x4463e8(0x3e4)](_0x159d0e))['then'](()=>this[_0x4463e8(0x3d7)][_0x4463e8(0x466)](_0x159d0e));}async['exhaustSavingTask'](){const _0x11122c=_0x18d6ba,_0x4a86dd=[];this[_0x11122c(0x3d7)][_0x11122c(0x387)]((_0x32465c,_0x4c82dc)=>{const _0x543bc2=_0x11122c;window[_0x543bc2(0x33f)](_0x32465c),_0x4a86dd[_0x543bc2(0x239)](this[_0x543bc2(0x1b0)](_0x4c82dc)[_0x543bc2(0x56a)](()=>{const _0x74760f=_0x543bc2;this[_0x74760f(0x3d7)][_0x74760f(0x466)](_0x4c82dc);}));}),await Promise[_0x11122c(0x4d3)](_0x4a86dd);}['_setupBeforeClosingHandler'](){const _0x4c0298=_0x18d6ba;this['disposeWithMe'](this[_0x4c0298(0x23c)][_0x4c0298(0x4b2)](()=>{const _0x3f3750=_0x4c0298;if(this[_0x3f3750(0x3d7)]['size'])return this[_0x3f3750(0x43e)]['t'](_0x3f3750(0x363));}));}},_0x4c54a0[_0x18d6ba(0x362)]=_0x46fd49([_0x30ca76(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x30ca76(0x1,_0x3aaa00[_0x18d6ba(0x1a6)]),_0x30ca76(0x2,_0x2b4c8d[_0x18d6ba(0x28f)]),_0x30ca76(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x30ca76(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)]))],_0x4c54a0[_0x18d6ba(0x362)]);function _0x1d7967(_0x28cebe){return'unit-cache-'+_0x28cebe;}const _0x3a8c8d=_0x3aaa00[_0x18d6ba(0x3be)](_0x18d6ba(0x311));var _0x3fa2a7=(_0x2fc2ef=>(_0x2fc2ef[_0x2fc2ef['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x18d6ba(0x498),_0x2fc2ef[_0x2fc2ef['OTHER_CLIENTS_EDITING']=0x1]=_0x18d6ba(0x46b),_0x2fc2ef))(_0x3fa2a7||{});const _0x3f2a61=0x7530,_0x537eba=_0x18d6ba(0x4dc);class _0x12cc97 extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(){const _0x95df34=_0x18d6ba;super(),_0x2c46b8(this,_0x95df34(0x4b0),_0x3aaa00['Tools']['generateRandomId']()),_0x2c46b8(this,'_selfUnitIDs',new Set()),_0x2c46b8(this,_0x95df34(0x200),new Map()),_0x2c46b8(this,'_heartbeatTimer',null),_0x2c46b8(this,_0x95df34(0x45f),new Map()),_0x2c46b8(this,'_unitStatus',new Map()),this['_init']();}[_0x18d6ba(0x338)](){const _0x3e85e6=_0x18d6ba;super[_0x3e85e6(0x338)](),this[_0x3e85e6(0x45f)][_0x3e85e6(0x387)]((_0x14758a,_0x4e9056)=>this['_removeClearOtherTimer'](_0x4e9056)),this[_0x3e85e6(0x564)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18d6ba(0x2bd)](_0x1bacb3){const _0x12ea25=_0x18d6ba;return this[_0x12ea25(0x31d)](_0x1bacb3)[_0x12ea25(0x32f)](_0x5cbc6e[_0x12ea25(0x345)]());}[_0x18d6ba(0x39d)](_0x17a6c0){const _0x51d6f2=_0x18d6ba;this[_0x51d6f2(0x4e8)][_0x51d6f2(0x378)]===0x0&&this[_0x51d6f2(0x3c2)](),this[_0x51d6f2(0x4e8)][_0x51d6f2(0x22f)](_0x17a6c0),this[_0x51d6f2(0x270)]({'type':0x0,'memberID':this[_0x51d6f2(0x4b0)],'unitIDs':[_0x17a6c0],'isForwarded':!0x1});}[_0x18d6ba(0x4ed)](_0x1ca044){const _0x4eba6a=_0x18d6ba;this[_0x4eba6a(0x4e8)][_0x4eba6a(0x466)](_0x1ca044),this['_selfUnitIDs'][_0x4eba6a(0x378)]===0x0&&this['_heartbeatTimer']&&window[_0x4eba6a(0x471)](this['_heartbeatTimer']);}['_init'](){const _0x39ef17=_0x18d6ba;this[_0x39ef17(0x43a)](_0x3aaa00[_0x39ef17(0x1cd)](_0x5cbc6e[_0x39ef17(0x3a4)](window,'storage')[_0x39ef17(0x559)](_0x325b04=>{const _0x36aed2=_0x39ef17;if(_0x325b04[_0x36aed2(0x26a)]!==_0x537eba||!_0x325b04[_0x36aed2(0x329)])return;const _0x5c8227=JSON[_0x36aed2(0x3db)](_0x325b04[_0x36aed2(0x329)]);this[_0x36aed2(0x3e2)](_0x5c8227);}))),window[_0x39ef17(0x208)](_0x39ef17(0x2f3),()=>this['_send']({'type':0x1,'memberID':this[_0x39ef17(0x4b0)],'unitIDs':Array[_0x39ef17(0x44e)](this[_0x39ef17(0x4e8)])}));}[_0x18d6ba(0x3e2)](_0x5582d4){const _0x5f1fb3=_0x18d6ba;switch(_0x5582d4[_0x5f1fb3(0x543)]){case 0x0:this[_0x5f1fb3(0x294)](_0x5582d4);break;case 0x1:this['_handleLeaveEvent'](_0x5582d4);break;case 0x2:this[_0x5f1fb3(0x573)](_0x5582d4);break;}}[_0x18d6ba(0x294)](_0x427931){const _0x50dc88=_0x18d6ba,{unitIDs:_0x39a037,memberID:_0x288fb6,isForwarded:_0x21ed40}=_0x427931;_0x39a037['forEach'](_0x1b97b2=>{const _0xa92e88=_0x3d0e;if(!_0x21ed40&&this['_unitOnClients'][_0xa92e88(0x443)](_0x1b97b2)&&this['_ensureSubject'](_0x1b97b2)['next'](0x1),!this[_0xa92e88(0x200)][_0xa92e88(0x443)](_0x1b97b2)||!this[_0xa92e88(0x200)][_0xa92e88(0x3e4)](_0x1b97b2)[_0xa92e88(0x443)](_0x288fb6)){const _0x3c055c=this['_unitOnClients'][_0xa92e88(0x3e4)](_0x1b97b2)||new Set();_0x3c055c[_0xa92e88(0x22f)](_0x288fb6),this[_0xa92e88(0x200)][_0xa92e88(0x2a6)](_0x1b97b2,_0x3c055c),this[_0xa92e88(0x2c2)](_0x288fb6);}}),_0x21ed40||this[_0x50dc88(0x270)]({'type':0x0,'memberID':this[_0x50dc88(0x4b0)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x18d6ba(0x2c2)](_0x170cd4){const _0xbb24a=_0x18d6ba;this[_0xbb24a(0x4e9)](_0x170cd4);const _0x4581d3=window[_0xbb24a(0x3f1)](()=>{const _0x3b3081=_0xbb24a;this[_0x3b3081(0x200)][_0x3b3081(0x387)](_0x30b600=>{const _0x411b69=_0x3b3081;_0x30b600[_0x411b69(0x466)](_0x170cd4);});},_0x3f2a61*0x2);this[_0xbb24a(0x45f)][_0xbb24a(0x2a6)](_0x170cd4,_0x4581d3);}[_0x18d6ba(0x4e9)](_0x2ebf4e){const _0x26812e=_0x18d6ba;if(this[_0x26812e(0x45f)][_0x26812e(0x443)](_0x2ebf4e)){const _0x2b2557=this['_clearOtherTimers'][_0x26812e(0x3e4)](_0x2ebf4e);_0x2b2557&&window[_0x26812e(0x33f)](_0x2b2557),this[_0x26812e(0x45f)]['set'](_0x2ebf4e,null);}}[_0x18d6ba(0x3ea)](_0xa8fac6){const {memberID:_0x222147,unitIDs:_0x3d8202}=_0xa8fac6;_0x3d8202['forEach'](_0x3dce61=>{const _0x23e33c=_0x3d0e;var _0x42e724;const _0x11be75=this[_0x23e33c(0x200)][_0x23e33c(0x3e4)](_0x3dce61);_0x11be75&&(_0x11be75[_0x23e33c(0x466)](_0x222147),(_0x42e724=this['_ensureSubject'](_0x3dce61))==null||_0x42e724[_0x23e33c(0x1c5)](_0x11be75[_0x23e33c(0x378)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x222147);}[_0x18d6ba(0x573)](_0x4cca8e){const _0x4a651a=_0x18d6ba;this[_0x4a651a(0x2c2)](_0x4cca8e['memberID']);}['_send'](_0x5a5308){const _0x181b39=_0x18d6ba;localStorage[_0x181b39(0x4d7)](_0x537eba,JSON[_0x181b39(0x1f1)](_0x5a5308));}['_scheduleHeartbeat'](){const _0x497325=_0x18d6ba;this[_0x497325(0x564)]=window['setInterval'](()=>{const _0x37a070=_0x497325;this[_0x37a070(0x270)]({'type':0x2,'memberID':this[_0x37a070(0x4b0)]});},_0x3f2a61);}[_0x18d6ba(0x31d)](_0xfd5b79){const _0x474975=_0x18d6ba;return this['_unitStatus'][_0x474975(0x443)](_0xfd5b79)||this[_0x474975(0x4ad)][_0x474975(0x2a6)](_0xfd5b79,new _0x5cbc6e['BehaviorSubject'](0x0)),this[_0x474975(0x4ad)][_0x474975(0x3e4)](_0xfd5b79);}}var _0x2e2be8=Object['defineProperty'],_0x465843=Object['getOwnPropertyDescriptor'],_0x221ac3=(_0x28d6ff,_0x3bb15c,_0x57c76d,_0x29f65f)=>{const _0x196614=_0x18d6ba;for(var _0x53ff4c=_0x29f65f>0x1?void 0x0:_0x29f65f?_0x465843(_0x3bb15c,_0x57c76d):_0x3bb15c,_0x3f4322=_0x28d6ff[_0x196614(0x574)]-0x1,_0x995fbf;_0x3f4322>=0x0;_0x3f4322--)(_0x995fbf=_0x28d6ff[_0x3f4322])&&(_0x53ff4c=(_0x29f65f?_0x995fbf(_0x3bb15c,_0x57c76d,_0x53ff4c):_0x995fbf(_0x53ff4c))||_0x53ff4c);return _0x29f65f&&_0x53ff4c&&_0x2e2be8(_0x3bb15c,_0x57c76d,_0x53ff4c),_0x53ff4c;},_0x218481=(_0x3dd63f,_0x504996)=>(_0x1df337,_0x149d3f)=>_0x504996(_0x1df337,_0x149d3f,_0x3dd63f);let _0x5f1add=class{constructor(_0x1edd5e,_0x182b01){const _0x1e8310=_0x18d6ba;this['_injector']=_0x1edd5e,this[_0x1e8310(0x45d)]=_0x182b01;}['transformIMECache'](_0x43cb11){const _0x1b1750=_0x18d6ba;this[_0x1b1750(0x1b8)](_0x43cb11),this[_0x1b1750(0x2ef)](_0x43cb11);}[_0x18d6ba(0x485)](_0x264993){const _0x447e72=_0x18d6ba,_0x1893b1=this[_0x447e72(0x42c)][_0x447e72(0x3e4)](_0x593e90['IMEInputManagerService']),{redoCache:_0x10a4cf}=_0x1893b1['getUndoRedoMutationParamsCache']();if(_0x10a4cf[_0x447e72(0x574)]===0x0)return _0x264993;let _0x2f11fc=_0x3aaa00[_0x447e72(0x2dd)][_0x447e72(0x475)](_0x264993[_0x447e72(0x2fb)][0x0]);for(let _0x1f22a1=0x0;_0x1f22a1<_0x10a4cf['length'];_0x1f22a1++){const _0x5ab01b={'id':'doc.mutation.rich-text-editing','params':{..._0x10a4cf[_0x1f22a1]}},_0xac9267=this[_0x447e72(0x45d)][_0x447e72(0x1db)](_0x2f11fc,_0x5ab01b,!0x1);if(_0x4d4d9d[_0x447e72(0x522)](_0xac9267))throw _0xac9267['error'];_0x2f11fc=_0xac9267[_0x447e72(0x396)];}return{..._0x3aaa00['Tools'][_0x447e72(0x475)](_0x264993),'mutations':[_0x2f11fc]};}['_transformUndoRedoStack'](_0x5aa1d7){const _0x529158=_0x18d6ba,_0x4977aa=this['_injector'][_0x529158(0x3e4)](_0x593e90[_0x529158(0x506)]),{undoCache:_0x4abda6,redoCache:_0x1c51f9}=_0x4977aa[_0x529158(0x1e7)]();if(_0x4abda6[_0x529158(0x574)]===0x0||_0x1c51f9[_0x529158(0x574)]===0x0)return;const _0x114ab3=[],_0x345db7=[];let _0x2c29a6=_0x3aaa00['Tools']['deepClone'](_0x5aa1d7['mutations'][0x0]),_0x51d723=_0x3aaa00[_0x529158(0x2dd)]['deepClone'](_0x5aa1d7['mutations'][0x0]);for(let _0x1d0ecf=_0x4abda6[_0x529158(0x574)]-0x1;_0x1d0ecf>=0x0;_0x1d0ecf--){const _0x4386ae={'id':_0x529158(0x558),'params':{..._0x4abda6[_0x1d0ecf]}},_0x244d12={'id':_0x529158(0x558),'params':{..._0x1c51f9[_0x1d0ecf]}},_0xeabe30=this[_0x529158(0x45d)][_0x529158(0x1db)](_0x2c29a6,_0x4386ae,!0x1),_0x238f2c=this[_0x529158(0x45d)][_0x529158(0x1db)](_0x51d723,_0x244d12,!0x1);if(_0x4d4d9d[_0x529158(0x522)](_0xeabe30))throw _0xeabe30[_0x529158(0x4ae)];if(_0x4d4d9d[_0x529158(0x522)](_0x238f2c))throw _0x238f2c[_0x529158(0x4ae)];_0x114ab3[_0x529158(0x3f0)](_0xeabe30['m2Prime'][_0x529158(0x561)]),_0x345db7[_0x529158(0x3f0)](_0x238f2c['m2Prime'][_0x529158(0x561)]),_0x2c29a6=_0xeabe30[_0x529158(0x396)],_0x51d723=_0x238f2c[_0x529158(0x396)];}_0x4977aa['setUndoRedoMutationParamsCache']({'undoCache':_0x114ab3,'redoCache':_0x345db7});}[_0x18d6ba(0x2ef)](_0x18e857){const _0x9ecd19=_0x18d6ba,_0x370f38=this['_injector'][_0x9ecd19(0x3e4)](_0x593e90[_0x9ecd19(0x506)]),_0x502437=_0x370f38['getActiveRange']();if(_0x502437==null)return;const _0xf3fb48=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18e857['unitID'],'actions':null,'textRanges':[_0x502437]}}],_0xbe3ab2=this['_transformService'][_0x9ecd19(0x588)](_0x18e857,_0xf3fb48);if(!_0x4d4d9d[_0x9ecd19(0x2be)](_0xbe3ab2))throw _0xbe3ab2[_0x9ecd19(0x4ae)];const _0x4832e4=_0xbe3ab2['m2Prime'][0x0]['params'][_0x9ecd19(0x2f5)];Array[_0x9ecd19(0x342)](_0x4832e4)&&_0x4832e4[_0x9ecd19(0x574)]&&_0x370f38[_0x9ecd19(0x266)](_0x4832e4[0x0]);}};_0x5f1add=_0x221ac3([_0x218481(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x218481(0x1,_0x4d4d9d['ITransformService'])],_0x5f1add);var _0x2a80c9=Object['defineProperty'],_0x16df64=Object[_0x18d6ba(0x3fd)],_0x44caa1=(_0x21bd1a,_0x2e07d2,_0x3d0fe3,_0x3ff5cc)=>{const _0x37f669=_0x18d6ba;for(var _0x3db179=_0x3ff5cc>0x1?void 0x0:_0x3ff5cc?_0x16df64(_0x2e07d2,_0x3d0fe3):_0x2e07d2,_0x4bc77a=_0x21bd1a[_0x37f669(0x574)]-0x1,_0x1151cd;_0x4bc77a>=0x0;_0x4bc77a--)(_0x1151cd=_0x21bd1a[_0x4bc77a])&&(_0x3db179=(_0x3ff5cc?_0x1151cd(_0x2e07d2,_0x3d0fe3,_0x3db179):_0x1151cd(_0x3db179))||_0x3db179);return _0x3ff5cc&&_0x3db179&&_0x2a80c9(_0x2e07d2,_0x3d0fe3,_0x3db179),_0x3db179;},_0x26b30d=(_0x3d6235,_0x5a550f)=>(_0x9658c0,_0x2453e9)=>_0x5a550f(_0x9658c0,_0x2453e9,_0x3d6235);let _0x49b741=class{constructor(_0x568a44,_0x5f0cff){this['_injector']=_0x568a44,this['_transformService']=_0x5f0cff;}[_0x18d6ba(0x3dc)](_0x5adb99){const _0x217ff6=_0x18d6ba;var _0x451f83;const _0x4e0371=this[_0x217ff6(0x42c)]['get'](_0x593e90['TextSelectionManagerService']),_0x51a943=(_0x451f83=_0x4e0371[_0x217ff6(0x42f)]())!=null?_0x451f83:[],_0x138f76=_0x51a943==null?void 0x0:_0x51a943[_0x217ff6(0x343)](_0x593e90[_0x217ff6(0x3b5)]);if(_0x138f76['length']===0x0)return;const _0x378c0b=[{'id':_0x217ff6(0x558),'params':{'unitId':_0x5adb99[_0x217ff6(0x4bb)],'actions':null,'textRanges':_0x138f76}}],_0x4475b6=this['_transformService'][_0x217ff6(0x588)](_0x5adb99,_0x378c0b);if(!_0x4d4d9d['isTransformMutationsWithChangesetSuccess'](_0x4475b6))throw _0x4475b6[_0x217ff6(0x4ae)];const _0x49aa6d=_0x4475b6[_0x217ff6(0x1d2)][0x0][_0x217ff6(0x561)]['textRanges'];Array['isArray'](_0x49aa6d)&&_0x49aa6d[_0x217ff6(0x574)]&&_0x4e0371['replaceTextRanges'](_0x49aa6d,!0x1);}};_0x49b741=_0x44caa1([_0x26b30d(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x26b30d(0x1,_0x4d4d9d[_0x18d6ba(0x417)])],_0x49b741);function _0x4c1645(_0x37b717){const _0x35ab6a=_0x18d6ba;let _0x59ad37='';for(const _0x145785 of _0x37b717){const {startOffset:_0x4b934b,endOffset:_0x4f2305,isActive:_0x29d9a7}=_0x145785;_0x59ad37[_0x35ab6a(0x574)]&&(_0x59ad37+=','),_0x59ad37+=_0x4b934b+':'+_0x4f2305+':'+(_0x29d9a7?'1':'0');}return _0x59ad37;}function _0x40c874(_0x2359f2){const _0x5aea94=_0x18d6ba,_0x17c863=_0x2359f2[_0x5aea94(0x47a)](','),_0x47235e=[];for(const _0x57c4a3 of _0x17c863){const [_0x2037aa,_0x11095c,_0x35a289]=_0x57c4a3[_0x5aea94(0x47a)](':');_0x47235e[_0x5aea94(0x239)]({'startOffset':Number(_0x2037aa),'endOffset':Number(_0x11095c),'collapsed':_0x2037aa===_0x11095c,'isActive':_0x35a289==='1'});}return _0x47235e[_0x5aea94(0x2ce)](_0x4070d6=>_0x4070d6[_0x5aea94(0x381)])||(_0x47235e[0x0][_0x5aea94(0x381)]=!0x0),_0x47235e;}class _0x301e57 extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(){const _0x2ea510=_0x18d6ba;super(...arguments),_0x2c46b8(this,'_collabCursorState$',new _0x5cbc6e['BehaviorSubject'](null)),_0x2c46b8(this,_0x2ea510(0x30a),this[_0x2ea510(0x39b)][_0x2ea510(0x28c)]());}['syncEditingCollabCursor'](_0x175ba9){const _0x4aa28b=_0x18d6ba,{unitID:_0x3688ac,memberID:_0x15693a,textRanges:_0x30be37}=_0x175ba9,_0x2cd1fb=_0x4c1645(_0x30be37),_0x1cb06d={'unitID':_0x3688ac,'memberID':_0x15693a,'selection':_0x2cd1fb};this[_0x4aa28b(0x39b)]['next'](_0x1cb06d);}}var _0x1886f4=Object[_0x18d6ba(0x272)],_0xd32a40=Object['getOwnPropertyDescriptor'],_0x373c02=(_0x56e062,_0x214b36,_0x52f2fa,_0x47d74b)=>{for(var _0x33ebbc=_0x47d74b>0x1?void 0x0:_0x47d74b?_0xd32a40(_0x214b36,_0x52f2fa):_0x214b36,_0x5160af=_0x56e062['length']-0x1,_0xb0a732;_0x5160af>=0x0;_0x5160af--)(_0xb0a732=_0x56e062[_0x5160af])&&(_0x33ebbc=(_0x47d74b?_0xb0a732(_0x214b36,_0x52f2fa,_0x33ebbc):_0xb0a732(_0x33ebbc))||_0x33ebbc);return _0x47d74b&&_0x33ebbc&&_0x1886f4(_0x214b36,_0x52f2fa,_0x33ebbc),_0x33ebbc;},_0x16bc29=(_0xe2000d,_0x558211)=>(_0x2d1d9e,_0x4fffb0)=>_0x558211(_0x2d1d9e,_0x4fffb0,_0xe2000d);function _0x320062(_0x42ba25){const {unitID:_0x126159,mutations:_0x5bfb99}=_0x42ba25;return{'unitId':_0x126159,'subUnitId':_0x5bfb99[0x0]['params']['subUnitId']};}let _0x13a645=class{constructor(_0x5815b5,_0x3911a6){this['_injector']=_0x5815b5,this['_transformService']=_0x3911a6;}[_0x18d6ba(0x3dc)](_0x597349){const _0x18e657=_0x18d6ba;var _0xd76efd,_0x281a8a,_0x253691;const _0x5a9713=this[_0x18e657(0x42c)][_0x18e657(0x3e4)](_0x459c9c[_0x18e657(0x28d)]),{unitId:_0x5b113b,subUnitId:_0x17790d}=_0x320062(_0x597349),_0x1eb10c=_0x5a9713[_0x18e657(0x2d4)](_0x5b113b)[_0x18e657(0x57d)]();if(_0x1eb10c[_0x18e657(0x574)]===0x0||!_0x5b113b||!_0x17790d)return;const _0x419c5e=[{'id':_0x459c9c['SetSelectionsOperation']['id'],'params':{'unitId':_0x5b113b,'subUnitId':_0x17790d,'selections':_0x3aaa00[_0x18e657(0x2dd)][_0x18e657(0x475)](_0x1eb10c)}}],_0x1a9b16=this[_0x18e657(0x45d)][_0x18e657(0x588)](_0x597349,_0x419c5e);if(!_0x4d4d9d['isTransformMutationsWithChangesetSuccess'](_0x1a9b16))throw _0x1a9b16['error'];const _0x1bc78b=(_0x253691=(_0x281a8a=(_0xd76efd=_0x1a9b16['m2Prime'][0x0])==null?void 0x0:_0xd76efd[_0x18e657(0x561)])==null?void 0x0:_0x281a8a['selections'])!=null?_0x253691:_0x1eb10c;Array['isArray'](_0x1bc78b)&&_0x1bc78b[_0x18e657(0x574)]&&this[_0x18e657(0x42c)][_0x18e657(0x3e4)](_0x3aaa00['ICommandService'])[_0x18e657(0x2e9)](_0x459c9c['SetSelectionsOperation']['id'],{'unitId':_0x5b113b,'subUnitId':_0x17790d,'selections':_0x1bc78b});}};_0x13a645=_0x373c02([_0x16bc29(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x16bc29(0x1,_0x4d4d9d[_0x18d6ba(0x417)])],_0x13a645);const _0x2a61d2=new Set([_0x459c9c[_0x18d6ba(0x51c)]['id']]);function _0x37359c(_0x1558b0,_0xceb1ae,_0x3ed6c4,_0x2995fd,_0x4b56f6){const _0x229256=_0x18d6ba;var _0x34cfc3,_0x48cf1f,_0x3ecd33,_0x4a9d1a;const _0x5c6d1d=[];for(const _0x4a3970 of _0x1558b0)if(_0x2a61d2[_0x229256(0x443)](_0x4a3970['id'])){if(_0x5c6d1d[_0x229256(0x574)]>0x0)break;_0x5c6d1d[_0x229256(0x239)](_0x4a3970);break;}else _0x5c6d1d['push'](_0x4a3970);const _0xa8f00a=(_0x48cf1f=(_0x34cfc3=_0x4b56f6[_0x229256(0x331)]())==null?void 0x0:_0x34cfc3['userID'])!=null?_0x48cf1f:'unknown',_0x4d0c67=(_0x4a9d1a=(_0x3ecd33=_0x4b56f6['getCurrentUser']())==null?void 0x0:_0x3ecd33[_0x229256(0x229)])!=null?_0x4a9d1a:_0x229256(0x3a9);return{'changeset':{'unitID':_0xceb1ae,'type':_0x4d4d9d['mapDocumentTypeToUniverType'](_0x3ed6c4['getUnitType'](_0xceb1ae)),'baseRev':_0x2995fd[_0x229256(0x477)](_0xceb1ae),'revision':0x0,'userID':_0xa8f00a,'memberID':_0x4d0c67,'mutations':_0x5c6d1d},'pendingMutations':_0x1558b0['slice'](_0x5c6d1d['length'])};}function _0x539e1e(_0x13cdaa,_0x4d42e0,_0x386cd5,_0x3a850c,_0xcfe89b){const _0x565800=_0x18d6ba;var _0x3ae7bf,_0x2c345b,_0xed013,_0x2fb8f9;const _0x35adce=[_0x13cdaa[_0x565800(0x58d)]((_0x9e759,_0x48abee)=>{const _0x75479e=_0x565800;var _0x91a62e;const {id:_0x448adf}=_0x9e759,{id:_0x3e46aa,type:_0x21efe6}=_0x48abee,_0x387d2b=(_0x91a62e=_0x9e759['params'])!=null?_0x91a62e:{'actions':null},_0x9592f7=_0x48abee[_0x75479e(0x561)];if(_0x448adf&&_0x448adf!==_0x3e46aa)throw new Error(_0x75479e(0x310)+_0x448adf+_0x75479e(0x283)+_0x3e46aa+'.');return{..._0x9e759,'id':_0x3e46aa,'type':_0x21efe6,'params':{'unitId':_0x9592f7[_0x75479e(0x189)],'textRanges':_0x9592f7[_0x75479e(0x2f5)],'actions':_0x3aaa00[_0x75479e(0x386)]['compose'](_0x387d2b[_0x75479e(0x51f)],_0x9592f7[_0x75479e(0x51f)])}};},{})],_0x1cd925=(_0x2c345b=(_0x3ae7bf=_0xcfe89b[_0x565800(0x331)]())==null?void 0x0:_0x3ae7bf[_0x565800(0x1a4)])!=null?_0x2c345b:'unknown',_0x4149b2=(_0x2fb8f9=(_0xed013=_0xcfe89b[_0x565800(0x331)]())==null?void 0x0:_0xed013[_0x565800(0x229)])!=null?_0x2fb8f9:_0x565800(0x3a9);return{'changeset':{'unitID':_0x4d42e0,'type':_0x4d4d9d[_0x565800(0x37e)](_0x386cd5[_0x565800(0x247)](_0x4d42e0)),'baseRev':_0x3a850c[_0x565800(0x477)](_0x4d42e0),'revision':0x0,'userID':_0x1cd925,'memberID':_0x4149b2,'mutations':_0x35adce},'pendingMutations':[]};}const _0x499360={'id':_0x459c9c[_0x18d6ba(0x2b2)]['id'],'type':_0x3aaa00[_0x18d6ba(0x44a)]['MUTATION'],'params':{}};var _0x204b03=Object[_0x18d6ba(0x272)],_0x38b9e9=Object[_0x18d6ba(0x3fd)],_0x1a94a6=(_0x223a6d,_0xa6965,_0x5647eb,_0x252ca6)=>{for(var _0x6c3757=_0x252ca6>0x1?void 0x0:_0x252ca6?_0x38b9e9(_0xa6965,_0x5647eb):_0xa6965,_0x1fb909=_0x223a6d['length']-0x1,_0x50f8e0;_0x1fb909>=0x0;_0x1fb909--)(_0x50f8e0=_0x223a6d[_0x1fb909])&&(_0x6c3757=(_0x252ca6?_0x50f8e0(_0xa6965,_0x5647eb,_0x6c3757):_0x50f8e0(_0x6c3757))||_0x6c3757);return _0x252ca6&&_0x6c3757&&_0x204b03(_0xa6965,_0x5647eb,_0x6c3757),_0x6c3757;},_0x3cf1c3=(_0x32f48e,_0x16336a)=>(_0xfecd90,_0x12b2d5)=>_0x16336a(_0xfecd90,_0x12b2d5,_0x32f48e),_0x2232ef=(_0x1fcdcb=>(_0x1fcdcb[_0x18d6ba(0x1e5)]='not_collab',_0x1fcdcb[_0x18d6ba(0x274)]=_0x18d6ba(0x380),_0x1fcdcb[_0x18d6ba(0x1ed)]='pending',_0x1fcdcb[_0x18d6ba(0x2db)]='awaiting',_0x1fcdcb[_0x18d6ba(0x55e)]=_0x18d6ba(0x3b9),_0x1fcdcb['FETCH_MISS']=_0x18d6ba(0x28e),_0x1fcdcb['CONFLICT']=_0x18d6ba(0x24f),_0x1fcdcb['OFFLINE']='offline',_0x1fcdcb))(_0x2232ef||{});class _0x6955e5{constructor(_0x6b7e03,_0x16d8b1,_0xef4ea6,_0xc6a50f,_0x4b40f6,_0x36a627,_0x1d0299,_0x46adde,_0x3cb04c){const _0x4bfaf2=_0x18d6ba;_0x2c46b8(this,'_awaitingChangeset',null),_0x2c46b8(this,_0x4bfaf2(0x32d),[]),(this[_0x4bfaf2(0x4bb)]=_0x6b7e03,this[_0x4bfaf2(0x543)]=_0x16d8b1,this[_0x4bfaf2(0x2c7)]=_0x4b40f6,this[_0x4bfaf2(0x513)]=_0x36a627,this[_0x4bfaf2(0x496)]=_0x1d0299,this[_0x4bfaf2(0x2b4)]=_0x46adde,this[_0x4bfaf2(0x4bf)]=_0x3cb04c,this[_0x4bfaf2(0x53d)]=_0xef4ea6,this[_0x4bfaf2(0x32d)]=_0xc6a50f);}['_checkMissing'](_0x36c0a5){const _0x4cfe48=_0x18d6ba,_0x270187=this['_revisionService']['getCurrentRevForDocument'](this[_0x4cfe48(0x4bb)]);return _0x36c0a5[_0x4cfe48(0x292)]>_0x270187+0x1?(this[_0x4cfe48(0x2c7)][_0x4cfe48(0x38c)]({'from':_0x270187,'to':_0x36c0a5[_0x4cfe48(0x292)]-0x1}),!0x0):!0x1;}[_0x18d6ba(0x476)](_0x259986){const _0xc07737=_0x18d6ba;this[_0xc07737(0x496)]['transformUndoRedo'](this[_0xc07737(0x4bb)],_0x259986);}[_0x18d6ba(0x4f0)](_0x638e94){var _0xcc105c,_0x55d471;(_0x55d471=(_0xcc105c=this['_handler'])['onTransformSelections'])==null||_0x55d471['call'](_0xcc105c,_0x638e94);}[_0x18d6ba(0x525)](_0x36580a){const _0x2c50f0=_0x18d6ba;var _0x5393c6,_0x4c59f3;return(_0x4c59f3=(_0x5393c6=this[_0x2c50f0(0x2c7)])[_0x2c50f0(0x349)])==null?void 0x0:_0x4c59f3[_0x2c50f0(0x2f7)](_0x5393c6,_0x36580a);}['_transformRemoteChangesetByIMECache'](_0x46c3f8){const _0xd0764=_0x18d6ba;var _0x54855a,_0x487934,_0x3ff1fc;return(_0x3ff1fc=(_0x487934=(_0x54855a=this[_0xd0764(0x2c7)])[_0xd0764(0x305)])==null?void 0x0:_0x487934[_0xd0764(0x2f7)](_0x54855a,_0x46c3f8))!=null?_0x3ff1fc:_0x46c3f8;}[_0x18d6ba(0x194)](_0x85f7a8){const _0x243520=_0x18d6ba;var _0xc8ee21,_0x382ced;if(this[_0x243520(0x543)]===_0x3a110c[_0x243520(0x4c1)]){const {unitID:_0x1b61fd,mutations:_0x4ad630,memberID:_0x4d1850}=_0x85f7a8,_0x36323f=_0x4ad630[0x0][_0x243520(0x561)][_0x243520(0x2f5)];Array[_0x243520(0x342)](_0x36323f)&&_0x36323f[_0x243520(0x574)]>0x0&&((_0x382ced=(_0xc8ee21=this[_0x243520(0x2c7)])['onSyncEditingCollabCursor'])==null||_0x382ced[_0x243520(0x2f7)](_0xc8ee21,{'unitID':_0x1b61fd,'memberID':_0x4d1850,'textRanges':_0x36323f}));}}[_0x18d6ba(0x548)](){const _0x2234a9=_0x18d6ba;this[_0x2234a9(0x4bf)][_0x2234a9(0x339)](this[_0x2234a9(0x4bb)],this[_0x2234a9(0x543)],this[_0x2234a9(0x53d)],this[_0x2234a9(0x32d)]);}[_0x18d6ba(0x303)](){const _0xc9c5eb=_0x18d6ba;return this[_0xc9c5eb(0x2b4)][_0xc9c5eb(0x477)](this[_0xc9c5eb(0x4bb)]);}[_0x18d6ba(0x4e7)](){const _0x36191e=_0x18d6ba;this[_0x36191e(0x2b4)][_0x36191e(0x366)](this[_0x36191e(0x4bb)]);}[_0x18d6ba(0x243)](_0x3a458e){const _0xd3c9f1=_0x18d6ba;var _0x5ae6f4;const _0x26ca41=this[_0xd3c9f1(0x20b)](_0x3a458e),_0x48a44e=_0x3aaa00[_0xd3c9f1(0x3b2)](_0x26ca41['mutations'],this[_0xd3c9f1(0x513)],{'fromCollab':!0x0});if(!_0x48a44e[_0xd3c9f1(0x442)])throw _0x48a44e[_0xd3c9f1(0x4ae)]instanceof Error?_0x48a44e[_0xd3c9f1(0x4ae)]:new Error((_0x5ae6f4=_0x48a44e[_0xd3c9f1(0x4ae)])!=null?_0x5ae6f4:_0xd3c9f1(0x22c));this['_transformIMECache'](_0x26ca41),this[_0xd3c9f1(0x476)](_0x3a458e),this[_0xd3c9f1(0x4f0)](_0x26ca41),this[_0xd3c9f1(0x194)](_0x26ca41),this[_0xd3c9f1(0x4e7)]();}}let _0x26b02d=class extends _0x6955e5{constructor(_0x49dad4,_0x3370cb,_0x2f9bc6,_0x5eb409,_0x43e26f,_0x93d956,_0x3f6bc5,_0x1ada2a,_0xd4c71b,_0x57e442){const _0x168e75=_0x18d6ba;super(_0x49dad4,_0x3370cb,null,[],_0x2f9bc6,_0x1ada2a,_0x3f6bc5,_0x5eb409,_0x43e26f),_0x2c46b8(this,'status',_0x168e75(0x380)),(this[_0x168e75(0x42c)]=_0x93d956,this[_0x168e75(0x36e)]=_0xd4c71b,this[_0x168e75(0x45d)]=_0x57e442);}[_0x18d6ba(0x554)](_0x5762ab){const _0x3e8733=_0x18d6ba,_0x17a00b=this['_injector'][_0x3e8733(0x491)](_0x29d649,this[_0x3e8733(0x4bb)],this['type'],[_0x5762ab],this['_handler']);return _0x17a00b[_0x3e8733(0x4a9)](),_0x17a00b[_0x3e8733(0x548)](),_0x17a00b;}['onRemoteChangeset'](_0x56721a){const _0x38bf02=_0x18d6ba;if(this['_checkMissing'](_0x56721a))return this[_0x38bf02(0x42c)][_0x38bf02(0x491)](_0x386fc4,this[_0x38bf02(0x4bb)],this[_0x38bf02(0x543)],null,[],null,[_0x56721a],this[_0x38bf02(0x2c7)]);try{const _0x4f73b8=this[_0x38bf02(0x45d)][_0x38bf02(0x588)](_0x56721a,[_0x499360]);if(_0x4d4d9d[_0x38bf02(0x2be)](_0x4f73b8)){const {c1Prime:_0x2e21ad}=_0x4f73b8;return this[_0x38bf02(0x243)](_0x2e21ad),this;}throw _0x4f73b8[_0x38bf02(0x4ae)];}catch(_0x325c24){return this['_logService'][_0x38bf02(0x4ae)](_0x325c24),this[_0x38bf02(0x355)](!0x1);}}[_0x18d6ba(0x355)](_0x13141d){const _0x2b6cce=_0x18d6ba;return this['_injector'][_0x2b6cce(0x491)](_0x45cea0,this['unitID'],this['type'],null,[],this[_0x2b6cce(0x2c7)],_0x13141d);}[_0x18d6ba(0x1fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x18d6ba(0x1e9)](){const _0x1b16da=_0x18d6ba;return this[_0x1b16da(0x42c)]['createInstance'](_0x451e23,this[_0x1b16da(0x4bb)],this[_0x1b16da(0x543)],null,[],this[_0x1b16da(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}['resend'](){const _0x2b9c7a=_0x18d6ba;throw new Error(_0x2b9c7a(0x32c));}};_0x26b02d=_0x1a94a6([_0x3cf1c3(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x4,_0x3aaa00['Inject'](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x256)]),_0x3cf1c3(0x7,_0x3aaa00['ICommandService']),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0x9,_0x4d4d9d[_0x18d6ba(0x417)])],_0x26b02d);let _0x29d649=class extends _0x6955e5{constructor(_0x5e0bf3,_0x4f7fde,_0x3ad07,_0x35642a,_0x54f1c1,_0x489db5,_0x309ed4,_0x4b5650,_0x5c6464,_0x5b3692,_0x2fcede,_0x1411ea,_0x2414d1,_0x337d3b){const _0x364411=_0x18d6ba;super(_0x5e0bf3,_0x4f7fde,null,_0x3ad07,_0x35642a,_0x5b3692,_0x337d3b,_0x489db5,_0x309ed4),_0x2c46b8(this,'status',_0x364411(0x223)),_0x2c46b8(this,'_scheduleTimestamp',null),_0x2c46b8(this,_0x364411(0x316),null),(this[_0x364411(0x42c)]=_0x54f1c1,this[_0x364411(0x241)]=_0x4b5650,this[_0x364411(0x36e)]=_0x5c6464,this['_configService']=_0x2fcede,this[_0x364411(0x45d)]=_0x1411ea,this['_univerInstanceService']=_0x2414d1);}[_0x18d6ba(0x554)](_0x3959e3){const _0x287792=_0x18d6ba;return this['_pendingMutations']['push'](_0x3959e3),this[_0x287792(0x548)](),this;}[_0x18d6ba(0x1b4)](_0x46b806){const _0x10a65b=_0x18d6ba;if(this[_0x10a65b(0x348)](_0x46b806))return this[_0x10a65b(0x576)](),this[_0x10a65b(0x42c)][_0x10a65b(0x491)](_0x386fc4,this[_0x10a65b(0x4bb)],this[_0x10a65b(0x543)],null,this['_pendingMutations'],null,[_0x46b806],this['_handler']);try{const _0x4c2972=this[_0x10a65b(0x45d)]['transformMutationsWithChangeset'](_0x46b806,this[_0x10a65b(0x32d)]);if(_0x4d4d9d[_0x10a65b(0x2be)](_0x4c2972)){const {c1Prime:_0x370114,m2Prime:_0xafb775}=_0x4c2972;this[_0x10a65b(0x243)](_0x370114);const _0x36287a=this['_injector'][_0x10a65b(0x491)](_0x29d649,this[_0x10a65b(0x4bb)],this[_0x10a65b(0x543)],_0xafb775,this[_0x10a65b(0x2c7)]);return this[_0x10a65b(0x576)](),_0x36287a['_schedule'](this[_0x10a65b(0x35f)]?Math[_0x10a65b(0x285)](0x0,new Date()['getTime']()-this[_0x10a65b(0x35f)]):this[_0x10a65b(0x57a)]()),_0x36287a;}throw _0x4c2972['error'];}catch(_0x2b6459){return this[_0x10a65b(0x36e)]['error'](_0x2b6459),this[_0x10a65b(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](){const _0x1faa3f=_0x18d6ba;throw new Error(_0x1faa3f(0x3f2));}[_0x18d6ba(0x53a)](){const _0x28c1c2=_0x18d6ba;throw new Error(_0x28c1c2(0x487));}[_0x18d6ba(0x1e9)](){const _0x15455c=_0x18d6ba;return this[_0x15455c(0x576)](),this[_0x15455c(0x42c)][_0x15455c(0x491)](_0x451e23,this[_0x15455c(0x4bb)],this['type'],null,this[_0x15455c(0x32d)],this[_0x15455c(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x4a9)](_0x210fef){const _0x3f877a=_0x18d6ba;_0x210fef=_0x210fef!=null?_0x210fef:this['_getSendChangesetTimeout'](),this[_0x3f877a(0x35f)]=new Date()[_0x3f877a(0x1b5)](),this[_0x3f877a(0x316)]=setTimeout(()=>{const _0x10cce5=_0x3f877a;this['_clearScheduledTask']();let _0x26db6f=null;switch(this[_0x10cce5(0x543)]){case _0x3a110c[_0x10cce5(0x18a)]:{_0x26db6f=_0x37359c(this['_pendingMutations'],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this['_memberService']);break;}case _0x3a110c['UNIVER_DOC']:{this[_0x10cce5(0x32d)][_0x10cce5(0x23a)](_0x1f11d8=>_0x1f11d8['id']===_0x593e90[_0x10cce5(0x34e)]['id'])?_0x26db6f=_0x539e1e(this[_0x10cce5(0x32d)],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this['_memberService']):_0x26db6f=_0x37359c(this[_0x10cce5(0x32d)],this[_0x10cce5(0x4bb)],this[_0x10cce5(0x318)],this[_0x10cce5(0x2b4)],this[_0x10cce5(0x241)]);break;}default:throw new Error(_0x10cce5(0x340)+this[_0x10cce5(0x543)]+_0x10cce5(0x38e));}const {changeset:_0x2782ce,pendingMutations:_0x2a226b}=_0x26db6f;this[_0x10cce5(0x2c7)][_0x10cce5(0x2bb)](_0x2782ce);const _0x1bfe9e=_0x2a226b['length']?this[_0x10cce5(0x42c)]['createInstance'](_0x468b55,this[_0x10cce5(0x4bb)],this[_0x10cce5(0x543)],_0x2782ce,_0x2a226b,this[_0x10cce5(0x2c7)]):this[_0x10cce5(0x42c)][_0x10cce5(0x491)](_0x10c700,this[_0x10cce5(0x4bb)],this[_0x10cce5(0x543)],_0x2782ce,this[_0x10cce5(0x2c7)]);_0x1bfe9e['_updateLocalCache'](),this['_handler'][_0x10cce5(0x537)](this,_0x1bfe9e);},_0x210fef);}[_0x18d6ba(0x57a)](){const _0x1ae3a2=_0x18d6ba;var _0x145830;return(_0x145830=this['_configService'][_0x1ae3a2(0x499)](_0x3867e3))!=null?_0x145830:0x7d0;}['resend'](){const _0x58e8f5=_0x18d6ba;throw new Error(_0x58e8f5(0x4fe));}[_0x18d6ba(0x576)](){const _0x178356=_0x18d6ba;this[_0x178356(0x316)]!=null&&(clearTimeout(this[_0x178356(0x316)]),this[_0x178356(0x316)]=null);}[_0x18d6ba(0x355)](_0x99031){const _0x2e731b=_0x18d6ba;return this['_clearScheduledTask'](),this[_0x2e731b(0x42c)][_0x2e731b(0x491)](_0x45cea0,this[_0x2e731b(0x4bb)],this[_0x2e731b(0x543)],null,this[_0x2e731b(0x32d)],this[_0x2e731b(0x2c7)],_0x99031);}};_0x29d649=_0x1a94a6([_0x3cf1c3(0x4,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x195)]),_0x3cf1c3(0xb,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xc,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x3cf1c3(0xd,_0x3aaa00[_0x18d6ba(0x256)])],_0x29d649);let _0x10c700=class extends _0x6955e5{constructor(_0x5b87ee,_0x48ef04,_0x1f7593,_0x2f9641,_0x3c563e,_0xcc26ca,_0x5f4068,_0x26039c,_0xf4a07a,_0xd2f271,_0x3174b2){const _0x2cd134=_0x18d6ba;super(_0x5b87ee,_0x48ef04,_0x1f7593,[],_0x2f9641,_0x26039c,_0x3174b2,_0xcc26ca,_0x5f4068),_0x2c46b8(this,_0x2cd134(0x322),_0x2cd134(0x19a)),(this[_0x2cd134(0x42c)]=_0x3c563e,this[_0x2cd134(0x36e)]=_0xf4a07a,this[_0x2cd134(0x45d)]=_0xd2f271);}[_0x18d6ba(0x554)](_0x240697){const _0x4b91d0=_0x18d6ba,_0x49325b=this['_injector'][_0x4b91d0(0x491)](_0x468b55,this[_0x4b91d0(0x4bb)],this[_0x4b91d0(0x543)],this['_awaitingChangeset'],[_0x240697],this['_handler']);return _0x49325b[_0x4b91d0(0x548)](),_0x49325b;}['onRemoteChangeset'](_0x3d3afd){const _0x55f7bf=_0x18d6ba;if(this[_0x55f7bf(0x348)](_0x3d3afd))return this[_0x55f7bf(0x42c)][_0x55f7bf(0x491)](_0x386fc4,this[_0x55f7bf(0x4bb)],this[_0x55f7bf(0x543)],this['_awaitingChangeset'],[],null,[_0x3d3afd],this[_0x55f7bf(0x2c7)]);try{const _0x2366f5=this['_transformService'][_0x55f7bf(0x2fd)]([_0x3d3afd],[this[_0x55f7bf(0x53d)]],!0x1);if(_0x4d4d9d[_0x55f7bf(0x49f)](_0x2366f5)){const {c1Prime:_0x54b871,c2Prime:_0x3e5aa1}=_0x2366f5;this[_0x55f7bf(0x243)](_0x54b871[0x0]),_0x3e5aa1[0x0]['baseRev']=this['_getCurrentRevision']();const _0x2b8d08=this[_0x55f7bf(0x42c)]['createInstance'](_0x10c700,this[_0x55f7bf(0x4bb)],this['type'],_0x3e5aa1[0x0],this[_0x55f7bf(0x2c7)]);return _0x2b8d08[_0x55f7bf(0x548)](),_0x2b8d08;}return this[_0x55f7bf(0x355)](!0x1);}catch(_0x5c96df){return this[_0x55f7bf(0x36e)][_0x55f7bf(0x4ae)](_0x5c96df),this[_0x55f7bf(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](_0x15c95e){const _0x5dea5f=_0x18d6ba,_0xc02632=this[_0x5dea5f(0x2b4)]['getCurrentRevForDocument'](this[_0x5dea5f(0x4bb)]);if(_0x15c95e[_0x5dea5f(0x292)]<_0xc02632-0x1)return this;if(this[_0x5dea5f(0x348)](_0x15c95e))return this['_injector'][_0x5dea5f(0x491)](_0x386fc4,this[_0x5dea5f(0x4bb)],this[_0x5dea5f(0x543)],null,[],this['_awaitingChangeset'],[],this[_0x5dea5f(0x2c7)]);this[_0x5dea5f(0x4e7)]();const _0x34e2c0=this[_0x5dea5f(0x42c)][_0x5dea5f(0x491)](_0x26b02d,this[_0x5dea5f(0x4bb)],this[_0x5dea5f(0x543)],this['_handler']);return _0x34e2c0['_updateLocalCache'](),_0x34e2c0;}[_0x18d6ba(0x53a)](_0x412d70){const _0x250c2b=_0x18d6ba;return this[_0x250c2b(0x355)](!!(_0x412d70!=null&&_0x412d70[_0x250c2b(0x545)]));}['toggleOffline'](){const _0x2e6051=_0x18d6ba;return this[_0x2e6051(0x42c)][_0x2e6051(0x491)](_0x451e23,this[_0x2e6051(0x4bb)],this[_0x2e6051(0x543)],this[_0x2e6051(0x53d)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x18d6ba(0x46f)](){const _0x334a4f=_0x18d6ba;this[_0x334a4f(0x2c7)][_0x334a4f(0x2bb)](this[_0x334a4f(0x53d)]);}[_0x18d6ba(0x355)](_0x5daf06){const _0x556f71=_0x18d6ba;return this[_0x556f71(0x42c)][_0x556f71(0x491)](_0x45cea0,this[_0x556f71(0x4bb)],this[_0x556f71(0x543)],this[_0x556f71(0x53d)],[],this[_0x556f71(0x2c7)],_0x5daf06);}};_0x10c700=_0x1a94a6([_0x3cf1c3(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x6,_0x3aaa00['Inject'](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x8,_0x3aaa00['ILogService']),_0x3cf1c3(0x9,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x256)])],_0x10c700);let _0x468b55=class extends _0x6955e5{constructor(_0x12de45,_0x3cff41,_0x13decb,_0x4dc888,_0xabbd0f,_0x54162b,_0xa68d0e,_0x3bcc93,_0x63a85c,_0x5aacb2,_0x1b7264,_0x24ca78){const _0x4ee9c1=_0x18d6ba;super(_0x12de45,_0x3cff41,_0x13decb,_0x4dc888,_0xabbd0f,_0x63a85c,_0x24ca78,_0xa68d0e,_0x3bcc93),_0x2c46b8(this,'status',_0x4ee9c1(0x3b9)),(this[_0x4ee9c1(0x42c)]=_0x54162b,this[_0x4ee9c1(0x36e)]=_0x5aacb2,this[_0x4ee9c1(0x45d)]=_0x1b7264);}[_0x18d6ba(0x554)](_0x68781e){const _0x3cc288=_0x18d6ba;return this[_0x3cc288(0x32d)][_0x3cc288(0x239)](_0x68781e),this;}[_0x18d6ba(0x1b4)](_0x556036){const _0x4a7405=_0x18d6ba;if(this['_checkMissing'](_0x556036))return this[_0x4a7405(0x42c)]['createInstance'](_0x386fc4,this[_0x4a7405(0x4bb)],this['type'],this[_0x4a7405(0x53d)],this[_0x4a7405(0x32d)],null,[_0x556036],this[_0x4a7405(0x2c7)]);try{const _0xf2ac02=this[_0x4a7405(0x45d)][_0x4a7405(0x2fd)]([_0x556036],[this[_0x4a7405(0x53d)]],!0x1);if(_0x4d4d9d['isTransformChangesetsSuccess'](_0xf2ac02)){const {c1Prime:_0x521580,c2Prime:_0x1499b9}=_0xf2ac02,_0xabb37=this['_transformService'][_0x4a7405(0x588)](_0x521580[0x0],this[_0x4a7405(0x32d)]);if(_0x4d4d9d[_0x4a7405(0x2be)](_0xabb37)){const {c1Prime:_0x2eddac,m2Prime:_0x57cfa3}=_0xabb37;return this[_0x4a7405(0x243)](_0x2eddac),_0x1499b9[0x0]['baseRev']=this[_0x4a7405(0x303)](),this['_injector']['createInstance'](_0x468b55,this[_0x4a7405(0x4bb)],this[_0x4a7405(0x543)],_0x1499b9[0x0],_0x57cfa3,this[_0x4a7405(0x2c7)]);}throw _0xabb37[_0x4a7405(0x4ae)];}throw _0xf2ac02['error'];}catch(_0x4c6b85){return this[_0x4a7405(0x36e)]['error'](_0x4c6b85),this[_0x4a7405(0x355)](!0x1);}}[_0x18d6ba(0x1fc)](_0x24a8fa){const _0x365077=_0x18d6ba;if(this[_0x365077(0x348)](_0x24a8fa))return this[_0x365077(0x42c)][_0x365077(0x491)](_0x386fc4,this[_0x365077(0x4bb)],this[_0x365077(0x543)],null,this[_0x365077(0x32d)],this[_0x365077(0x53d)],[],this[_0x365077(0x2c7)]);this['_incrementRevisionNumber']();const _0x59a373=this['_injector'][_0x365077(0x491)](_0x29d649,this[_0x365077(0x4bb)],this['type'],this[_0x365077(0x32d)],this[_0x365077(0x2c7)]);return _0x59a373['_schedule'](),_0x59a373['_updateLocalCache'](),_0x59a373;}[_0x18d6ba(0x53a)](_0x4e9e20){const _0x480404=_0x18d6ba;return this[_0x480404(0x355)](!!(_0x4e9e20!=null&&_0x4e9e20[_0x480404(0x545)]));}['toggleOffline'](){const _0x4c2e07=_0x18d6ba;return this[_0x4c2e07(0x42c)][_0x4c2e07(0x491)](_0x451e23,this[_0x4c2e07(0x4bb)],this[_0x4c2e07(0x543)],this[_0x4c2e07(0x53d)],this[_0x4c2e07(0x32d)],this['_handler']);}[_0x18d6ba(0x58f)](){return this;}['resend'](){const _0x250d78=_0x18d6ba;this[_0x250d78(0x2c7)]['onSendChangeset'](this[_0x250d78(0x53d)]);}[_0x18d6ba(0x355)](_0x52698c){const _0xce2da6=_0x18d6ba;return this['_injector']['createInstance'](_0x45cea0,this[_0xce2da6(0x4bb)],this['type'],null,this['_pendingMutations'],this[_0xce2da6(0x2c7)],_0x52698c);}};_0x468b55=_0x1a94a6([_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['LocalCacheService'])),_0x3cf1c3(0x8,_0x3aaa00['ICommandService']),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0xa,_0x4d4d9d[_0x18d6ba(0x417)]),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x256)])],_0x468b55);let _0x45cea0=class extends _0x6955e5{constructor(_0x58efb0,_0xb00d16,_0xfbcbec,_0x57104d,_0x412d27,_0x2c3fde=!0x1,_0x9aedd2,_0xed465,_0x405588,_0x9f3f45,_0x2bda58,_0x5185eb,_0x25a8bf){const _0x42389b=_0x18d6ba;super(_0x58efb0,_0xb00d16,_0xfbcbec,_0x57104d,_0x412d27,_0xed465,_0x405588,_0x2bda58,_0x9f3f45),_0x2c46b8(this,_0x42389b(0x322),_0x42389b(0x24f)),(this[_0x42389b(0x2ea)]=_0x2c3fde,this[_0x42389b(0x55a)]=_0x9aedd2,this[_0x42389b(0x43e)]=_0x5185eb,this[_0x42389b(0x206)]=_0x25a8bf,this[_0x42389b(0x2ab)](),this[_0x42389b(0x47c)](),this[_0x42389b(0x3d1)]());}['appendMutation'](){return this;}[_0x18d6ba(0x1b4)](){return this;}['onRemoteAck'](){return this;}[_0x18d6ba(0x53a)](){return this;}[_0x18d6ba(0x1e9)](){return this;}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x46f)](){const _0x22927d=_0x18d6ba;throw new Error(_0x22927d(0x3c8));}[_0x18d6ba(0x47c)](){const _0x239ba8=_0x18d6ba;this[_0x239ba8(0x4bf)]['updateOfflineData'](this[_0x239ba8(0x4bb)],this['type'],null,[]);}[_0x18d6ba(0x2ab)](){const _0x44e5d5=_0x18d6ba;this[_0x44e5d5(0x2ea)]?this[_0x44e5d5(0x206)][_0x44e5d5(0x3f8)]({'title':this[_0x44e5d5(0x43e)]['t'](_0x44e5d5(0x553)),'content':this[_0x44e5d5(0x43e)]['t']('permission.content'),'type':_0x44e5d5(0x4ae),'duration':0x0}):this[_0x44e5d5(0x206)][_0x44e5d5(0x3f8)]({'title':this[_0x44e5d5(0x43e)]['t']('conflict.title'),'content':this[_0x44e5d5(0x43e)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x18d6ba(0x3d1)](){const _0xe64fe7=_0x18d6ba;this[_0xe64fe7(0x55a)][_0xe64fe7(0x198)](new _0x459c9c['WorkbookEditablePermission'](this[_0xe64fe7(0x4bb)])['id'],!0x1);}};_0x45cea0=_0x1a94a6([_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x23f)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x8,_0x3aaa00['IUndoRedoService']),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d['RevisionService'])),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x3cf1c3(0xc,_0x2b4c8d[_0x18d6ba(0x237)])],_0x45cea0);let _0x451e23=class extends _0x6955e5{constructor(_0x15fff2,_0x5bbea6,_0x628435,_0x37e1c3,_0x2f9f6e,_0x2149da,_0x12fd72,_0x24dca5,_0x186176,_0x4a9884){const _0x3f568b=_0x18d6ba;super(_0x15fff2,_0x5bbea6,_0x628435,_0x37e1c3,_0x2f9f6e,_0x186176,_0x4a9884,_0x12fd72,_0x24dca5),_0x2c46b8(this,_0x3f568b(0x322),_0x3f568b(0x323)),this[_0x3f568b(0x42c)]=_0x2149da;}['appendMutation'](_0x173e88){const _0x4681f0=_0x18d6ba;return this['_pendingMutations'][_0x4681f0(0x239)](_0x173e88),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x1bda2f){const _0x152caf=_0x18d6ba;throw new Error(_0x152caf(0x536));}[_0x18d6ba(0x1fc)](){const _0x58d9a1=_0x18d6ba;throw new Error(_0x58d9a1(0x530));}[_0x18d6ba(0x53a)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x18d6ba(0x1e9)](){return this;}[_0x18d6ba(0x58f)](){const _0x5807fc=_0x18d6ba,{_injector:_0x4efc4b,_pendingMutations:_0xaa8f73,_awaitingChangeset:_0x2ab016,unitID:_0x187f68,_handler:_0x503fe4,type:_0x3da9db}=this,_0x115319=_0x5c3cd0(_0x4efc4b,_0x187f68,_0x3da9db,_0x2ab016,_0xaa8f73,_0x503fe4);return _0x115319 instanceof _0x29d649?_0x115319[_0x5807fc(0x4a9)]():(_0x115319 instanceof _0x468b55||_0x115319 instanceof _0x10c700)&&_0x115319[_0x5807fc(0x46f)](),_0x115319;}['resend'](){const _0x517a85=_0x18d6ba;throw new Error(_0x517a85(0x2a1));}};_0x451e23=_0x1a94a6([_0x3cf1c3(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector'])),_0x3cf1c3(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x3cf1c3(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x256)])],_0x451e23);let _0x386fc4=class extends _0x6955e5{constructor(_0x41fdf7,_0x271c96,_0x317034,_0x58886f,_0x483b88,_0x41bc3a,_0x1a9da1,_0x2910a3,_0x203647,_0x431962,_0x2ce923,_0x405cde,_0x5095e5,_0x202257){const _0xf126b3=_0x18d6ba;super(_0x41fdf7,_0x271c96,_0x317034,_0x58886f,_0x1a9da1,_0x405cde,_0x5095e5,_0x203647,_0x431962),_0x2c46b8(this,_0xf126b3(0x322),_0xf126b3(0x28e)),(this[_0xf126b3(0x57e)]=_0x483b88,this['_queuedRemoteChangesets']=_0x41bc3a,this[_0xf126b3(0x42c)]=_0x2910a3,this['_logService']=_0x2ce923,this[_0xf126b3(0x45d)]=_0x202257);}['onMissedChangesetFetched'](_0x550312){const _0x1c68e1=_0x18d6ba;try{const _0x58d3f4=[..._0x550312,...this[_0x1c68e1(0x20f)]],_0x2d1aa2=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x562b14=>!!_0x562b14);let _0x25ecaf,_0x237465;if(_0x2d1aa2[_0x1c68e1(0x574)]){const _0x3b504c=this[_0x1c68e1(0x45d)][_0x1c68e1(0x2fd)](_0x58d3f4,_0x2d1aa2,!0x1);if(!_0x4d4d9d[_0x1c68e1(0x49f)](_0x3b504c))throw _0x3b504c[_0x1c68e1(0x4ae)];_0x25ecaf=_0x3b504c[_0x1c68e1(0x486)],_0x237465=_0x3b504c[_0x1c68e1(0x314)];}else _0x25ecaf=_0x58d3f4,_0x237465=[];let _0x1cf98f=this[_0x1c68e1(0x32d)];_0x25ecaf[_0x1c68e1(0x387)](_0x36afed=>{const _0x33216f=_0x1c68e1;let _0x2fdc7f;if(_0x1cf98f[_0x33216f(0x574)]){const _0x43dfe9=this[_0x33216f(0x45d)]['transformMutationsWithChangeset'](_0x36afed,_0x1cf98f);if(!_0x4d4d9d[_0x33216f(0x2be)](_0x43dfe9))throw _0x43dfe9[_0x33216f(0x4ae)];_0x2fdc7f=_0x43dfe9[_0x33216f(0x486)],_0x1cf98f=_0x43dfe9[_0x33216f(0x1d2)];}else _0x2fdc7f=_0x36afed;this['_executeRemoteChangeset'](_0x2fdc7f);}),this[_0x1c68e1(0x57e)]&&this[_0x1c68e1(0x4e7)](),this[_0x1c68e1(0x53d)]&&_0x237465[_0x1c68e1(0x574)]&&(_0x237465[0x0]['baseRev']=this['_getCurrentRevision']());let _0x946a3e;if(this[_0x1c68e1(0x53d)]&&_0x1cf98f[_0x1c68e1(0x574)]!==0x0)_0x946a3e=this['_injector']['createInstance'](_0x468b55,this[_0x1c68e1(0x4bb)],this[_0x1c68e1(0x543)],_0x237465[0x0],_0x1cf98f,this[_0x1c68e1(0x2c7)]);else{if(this[_0x1c68e1(0x53d)]&&_0x1cf98f[_0x1c68e1(0x574)]===0x0)_0x237465[0x0][_0x1c68e1(0x3f3)]=this['_getCurrentRevision'](),_0x946a3e=this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x10c700,this[_0x1c68e1(0x4bb)],this['type'],_0x237465[0x0],this[_0x1c68e1(0x2c7)]);else{if(_0x1cf98f[_0x1c68e1(0x574)]!==0x0){const _0x2b90da=this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x29d649,this[_0x1c68e1(0x4bb)],this[_0x1c68e1(0x543)],_0x1cf98f,this[_0x1c68e1(0x2c7)]);_0x2b90da[_0x1c68e1(0x4a9)](),_0x946a3e=_0x2b90da;}else _0x946a3e=this[_0x1c68e1(0x42c)]['createInstance'](_0x26b02d,this['unitID'],this[_0x1c68e1(0x543)],this['_handler']);}}return _0x946a3e[_0x1c68e1(0x548)](),_0x946a3e;}catch(_0x250239){return this[_0x1c68e1(0x36e)][_0x1c68e1(0x4ae)](_0x1c68e1(0x21d),_0x1c68e1(0x52f),_0x250239),this[_0x1c68e1(0x42c)][_0x1c68e1(0x491)](_0x45cea0,this['unitID'],this[_0x1c68e1(0x543)],this[_0x1c68e1(0x53d)],this[_0x1c68e1(0x32d)],this[_0x1c68e1(0x2c7)],!0x1);}}[_0x18d6ba(0x46f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x18d6ba(0x554)](_0x39e4ae){const _0x5246cb=_0x18d6ba;return this[_0x5246cb(0x32d)][_0x5246cb(0x239)](_0x39e4ae),this;}[_0x18d6ba(0x1b4)](_0x3f677a){const _0x27ca58=_0x18d6ba;return this[_0x27ca58(0x20f)][_0x27ca58(0x239)](_0x3f677a),this;}[_0x18d6ba(0x1fc)](_0x498128){const _0x40e94b=_0x18d6ba;if(this[_0x40e94b(0x53d)])return this[_0x40e94b(0x57e)]=this['_awaitingChangeset'],this[_0x40e94b(0x53d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x18d6ba(0x53a)](_0x2011b9){const _0x46652b=_0x18d6ba;return this[_0x46652b(0x355)](!!(_0x2011b9!=null&&_0x2011b9['isPermissionRej']));}[_0x18d6ba(0x1e9)](){const _0x862924=_0x18d6ba;return this['_injector'][_0x862924(0x491)](_0x451e23,this['unitID'],this['type'],this[_0x862924(0x53d)],this[_0x862924(0x32d)],this[_0x862924(0x2c7)]);}[_0x18d6ba(0x58f)](){return this;}[_0x18d6ba(0x355)](_0x48a8dd){const _0x3e8819=_0x18d6ba;return this['_injector'][_0x3e8819(0x491)](_0x45cea0,this[_0x3e8819(0x4bb)],this['type'],this[_0x3e8819(0x53d)],this[_0x3e8819(0x32d)],this[_0x3e8819(0x2c7)],_0x48a8dd);}};_0x386fc4=_0x1a94a6([_0x3cf1c3(0x7,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x3cf1c3(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d['RevisionService'])),_0x3cf1c3(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x3cf1c3(0xa,_0x3aaa00[_0x18d6ba(0x42a)]),_0x3cf1c3(0xb,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x3cf1c3(0xc,_0x3aaa00['IUndoRedoService']),_0x3cf1c3(0xd,_0x4d4d9d[_0x18d6ba(0x417)])],_0x386fc4);function _0x5c3cd0(_0xf8fb20,_0x56b7e7,_0x29f371,_0x16ba9c,_0x521375,_0x38b588){const _0x48a029=_0x18d6ba;return _0x16ba9c&&_0x521375[_0x48a029(0x574)]?_0xf8fb20['createInstance'](_0x468b55,_0x56b7e7,_0x29f371,_0x16ba9c,_0x521375,_0x38b588):_0x16ba9c?_0xf8fb20[_0x48a029(0x491)](_0x10c700,_0x56b7e7,_0x29f371,_0x16ba9c,_0x38b588):_0x521375[_0x48a029(0x574)]?_0xf8fb20[_0x48a029(0x491)](_0x29d649,_0x56b7e7,_0x29f371,_0x521375,_0x38b588):_0xf8fb20[_0x48a029(0x491)](_0x26b02d,_0x56b7e7,_0x29f371,_0x38b588);}var _0x2db266=Object[_0x18d6ba(0x272)],_0x5bbbca=Object[_0x18d6ba(0x3fd)],_0x3c73bd=(_0xeff471,_0x5fc685,_0x48cfd0,_0x443995)=>{const _0x3c0abb=_0x18d6ba;for(var _0x4a62a9=_0x443995>0x1?void 0x0:_0x443995?_0x5bbbca(_0x5fc685,_0x48cfd0):_0x5fc685,_0x978ba6=_0xeff471[_0x3c0abb(0x574)]-0x1,_0x5813cb;_0x978ba6>=0x0;_0x978ba6--)(_0x5813cb=_0xeff471[_0x978ba6])&&(_0x4a62a9=(_0x443995?_0x5813cb(_0x5fc685,_0x48cfd0,_0x4a62a9):_0x5813cb(_0x4a62a9))||_0x4a62a9);return _0x443995&&_0x4a62a9&&_0x2db266(_0x5fc685,_0x48cfd0,_0x4a62a9),_0x4a62a9;},_0x573f10=(_0x452b58,_0x159307)=>(_0x2dc5fb,_0x5ee228)=>_0x159307(_0x2dc5fb,_0x5ee228,_0x452b58);_0x4c54a0[_0x18d6ba(0x2c0)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1c378d,_0x9666aa,_0x851236){const _0x3e79ae=_0x18d6ba;super(),_0x2c46b8(this,_0x3e79ae(0x56b),new Map()),_0x2c46b8(this,_0x3e79ae(0x309),new _0x5cbc6e[(_0x3e79ae(0x328))]()),(this[_0x3e79ae(0x42c)]=_0x1c378d,this[_0x3e79ae(0x48b)]=_0x9666aa,this[_0x3e79ae(0x318)]=_0x851236,this[_0x3e79ae(0x286)]());}[_0x18d6ba(0x338)](){const _0x11987f=_0x18d6ba;super[_0x11987f(0x338)](),this[_0x11987f(0x56b)][_0x11987f(0x387)](_0x4fdc75=>_0x4fdc75[_0x11987f(0x338)]()),this['_entities'][_0x11987f(0x580)]();}[_0x18d6ba(0x41f)](_0x475987){const _0x5ad600=_0x18d6ba;var _0x1d0933;return(_0x1d0933=this[_0x5ad600(0x56b)][_0x5ad600(0x3e4)](_0x475987))!=null?_0x1d0933:null;}[_0x18d6ba(0x45b)](_0x20e8b3){const _0x2f7b39=_0x18d6ba,_0x5abb2a=this[_0x2f7b39(0x41f)](_0x20e8b3);return _0x5abb2a?_0x5cbc6e['of'](_0x5abb2a):this[_0x2f7b39(0x309)][_0x2f7b39(0x32f)](_0x267050[_0x2f7b39(0x46d)](_0x4fa09f=>_0x4fa09f['unitID']===_0x20e8b3));}['_init'](){const _0x2dc36e=_0x18d6ba;this[_0x2dc36e(0x318)][_0x2dc36e(0x2e8)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x18a)])[_0x2dc36e(0x32f)](_0x5cbc6e[_0x2dc36e(0x40b)](this[_0x2dc36e(0x505)]),_0x267050[_0x2dc36e(0x40c)](0x10))[_0x2dc36e(0x559)](async _0x39af48=>{const _0x587641=_0x2dc36e,_0x1f77d2=_0x39af48['getUnitId'](),_0x4f3fcc=await this['_startCollaboration'](_0x1f77d2,_0x3a110c[_0x587641(0x18a)]);this[_0x587641(0x56b)][_0x587641(0x2a6)](_0x1f77d2,_0x4f3fcc);}),this[_0x2dc36e(0x318)][_0x2dc36e(0x2e8)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x4c1)])['pipe'](_0x5cbc6e[_0x2dc36e(0x40b)](this['dispose$']),_0x267050[_0x2dc36e(0x40c)](0x10))['pipe'](_0x267050['filter'](_0x3ddb46=>!_0x3ddb46[_0x2dc36e(0x4b6)]()[_0x2dc36e(0x352)]('__')))[_0x2dc36e(0x559)](async _0x29a5b9=>{const _0x2588fd=_0x2dc36e,_0x133e3c=_0x29a5b9[_0x2588fd(0x4b6)](),_0x5e1c78=await this[_0x2588fd(0x248)](_0x133e3c,_0x3a110c[_0x2588fd(0x4c1)]);this[_0x2588fd(0x56b)][_0x2588fd(0x2a6)](_0x133e3c,_0x5e1c78);}),_0x5cbc6e['merge'](this[_0x2dc36e(0x318)][_0x2dc36e(0x551)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x18a)]),this[_0x2dc36e(0x318)][_0x2dc36e(0x551)](_0x3aaa00[_0x2dc36e(0x434)][_0x2dc36e(0x4c1)]))[_0x2dc36e(0x32f)](_0x5cbc6e[_0x2dc36e(0x40b)](this[_0x2dc36e(0x505)]))[_0x2dc36e(0x559)](_0x9117df=>{const _0x161070=_0x2dc36e,_0x59305f=_0x9117df['getUnitId'](),_0x831a45=this[_0x161070(0x56b)][_0x161070(0x3e4)](_0x59305f);_0x831a45&&(_0x831a45[_0x161070(0x338)](),this[_0x161070(0x56b)][_0x161070(0x466)](_0x59305f));});}async[_0x18d6ba(0x248)](_0x1b802d,_0x341244){const _0x661c5b=_0x18d6ba,_0x525686=await this[_0x661c5b(0x48b)]['requireSession'](_0x1b802d),_0x292906=this['_injector'][_0x661c5b(0x491)](this[_0x661c5b(0x4e4)](_0x341244),_0x1b802d,_0x341244,_0x525686);return await _0x292906[_0x661c5b(0x367)](),this['_entityInit$'][_0x661c5b(0x1c5)](_0x292906),_0x292906;}[_0x18d6ba(0x4e4)](_0x3af3d8){const _0x26cd69=_0x18d6ba;switch(_0x3af3d8){case _0x3a110c['UNIVER_DOC']:return _0x823487;case _0x3a110c[_0x26cd69(0x18a)]:return _0x4c54a0[_0x26cd69(0x26d)];default:throw new Error(_0x26cd69(0x1a1)+_0x3af3d8);}}},_0x4c54a0[_0x18d6ba(0x2c0)]=_0x3c73bd([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x4c54a0['CollaborationController']),_0x573f10(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationSessionService'])),_0x573f10(0x2,_0x3aaa00['IUniverInstanceService'])],_0x4c54a0[_0x18d6ba(0x2c0)]);let _0x3f4594=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x31421a,_0x4fedeb,_0x5b3586,_0x345be3,_0x20405a,_0x1bd5cc,_0x11413f,_0x34690f,_0x2a7601,_0x9d04ae,_0x590951,_0x32e524,_0x43d2e9){const _0x5c503e=_0x18d6ba;super(),_0x2c46b8(this,'_state$',new _0x5cbc6e[(_0x5c503e(0x1ec))](null)),_0x2c46b8(this,_0x5c503e(0x207),this['_state$'][_0x5c503e(0x28c)]()),_0x2c46b8(this,_0x5c503e(0x509)),_0x2c46b8(this,_0x5c503e(0x1bf),!0x1),_0x2c46b8(this,_0x5c503e(0x503),this[_0x5c503e(0x207)][_0x5c503e(0x32f)](_0x267050[_0x5c503e(0x343)](_0x28f9ac=>_0x28f9ac?_0x28f9ac[_0x5c503e(0x322)]:_0x2232ef[_0x5c503e(0x1f8)]),_0x267050[_0x5c503e(0x27e)](0x1))),_0x2c46b8(this,'_transitionLocked',!0x1),_0x2c46b8(this,_0x5c503e(0x293),[]),(this[_0x5c503e(0x4bb)]=_0x31421a,this[_0x5c503e(0x2f8)]=_0x4fedeb,this[_0x5c503e(0x1a3)]=_0x5b3586,this[_0x5c503e(0x42c)]=_0x345be3,this['_localCacheService']=_0x20405a,this[_0x5c503e(0x249)]=_0x1bd5cc,this[_0x5c503e(0x43e)]=_0x11413f,this[_0x5c503e(0x2b4)]=_0x34690f,this['_logService']=_0x2a7601,this[_0x5c503e(0x513)]=_0x9d04ae,this[_0x5c503e(0x21a)]=_0x590951,this[_0x5c503e(0x55a)]=_0x32e524,this['_singleActiveUnitService']=_0x43d2e9);}get[_0x18d6ba(0x1f7)](){const _0x53c588=_0x18d6ba;return this[_0x53c588(0x509)];}async[_0x18d6ba(0x367)](){const _0x5cabe1=_0x18d6ba;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x5cabe1(0x286)]();}[_0x18d6ba(0x54c)](){const _0x433cf6=_0x18d6ba;return this[_0x433cf6(0x1bf)]=!0x0,_0x3aaa00[_0x433cf6(0x1cd)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x18d6ba(0x24b)](_0x3708a6){const _0x42ef92=_0x18d6ba;this['_state']=_0x3708a6,this[_0x42ef92(0x3d9)][_0x42ef92(0x1c5)](_0x3708a6);}async['_init'](){const _0x3936c0=_0x18d6ba;var _0x1bdeda;return this[_0x3936c0(0x24b)](await this[_0x3936c0(0x516)]()),this['_singleActiveUnitService']&&((_0x1bdeda=this['_singleActiveUnitService'])==null||_0x1bdeda[_0x3936c0(0x39d)](this[_0x3936c0(0x4bb)]),this[_0x3936c0(0x43a)](_0x3aaa00[_0x3936c0(0x1cd)](this['_singleActiveUnitService'][_0x3936c0(0x2bd)](this[_0x3936c0(0x4bb)])[_0x3936c0(0x559)](_0x90029f=>{const _0x19e8b8=_0x3936c0;this['_logService'][_0x19e8b8(0x3bd)](_0x19e8b8(0x2da),_0x19e8b8(0x4b7),_0x90029f),_0x90029f===_0x3fa2a7[_0x19e8b8(0x46b)]?(this[_0x19e8b8(0x21a)][_0x19e8b8(0x3f8)]({'content':this[_0x19e8b8(0x43e)]['t'](_0x19e8b8(0x53f)),'type':_0x564857[_0x19e8b8(0x260)][_0x19e8b8(0x40f)]}),this[_0x19e8b8(0x55a)][_0x19e8b8(0x198)](new _0x459c9c[(_0x19e8b8(0x2a3))](this[_0x19e8b8(0x4bb)])['id'],!0x1)):this[_0x19e8b8(0x55a)][_0x19e8b8(0x198)](new _0x459c9c['WorkbookEditablePermission'](this[_0x19e8b8(0x4bb)])['id'],!0x0);})))),this['disposeWithMe'](_0x3aaa00[_0x3936c0(0x1cd)](this[_0x3936c0(0x1a3)][_0x3936c0(0x462)][_0x3936c0(0x559)](_0x50079a=>{const _0x4e19ff=_0x3936c0;_0x50079a===_0x2cd85f['ONLINE']?this[_0x4e19ff(0x4de)]():_0x50079a===_0x2cd85f['OFFLINE']&&this['_toggleOffline']();}))),this[_0x3936c0(0x43a)](_0x3aaa00[_0x3936c0(0x1cd)](this[_0x3936c0(0x1a3)][_0x3936c0(0x2f0)]['subscribe'](_0x460567=>{const _0x3abc9c=_0x3936c0;try{switch(_0x460567[_0x3abc9c(0x539)]){case _0x4d4d9d[_0x3abc9c(0x2ae)]['NEW_CHANGESETS']:{this[_0x3abc9c(0x43b)](_0x4d4d9d[_0x3abc9c(0x4cd)](_0x460567[_0x3abc9c(0x44f)]));break;}case _0x4d4d9d['CollaborationEvent'][_0x3abc9c(0x4e1)]:{this[_0x3abc9c(0x1f4)](_0x460567[_0x3abc9c(0x44f)]);break;}case _0x4d4d9d['CollaborationEvent'][_0x3abc9c(0x3fb)]:{this['_onRemoteRejected']();break;}case _0x4d4d9d[_0x3abc9c(0x2ae)][_0x3abc9c(0x52c)]:{this[_0x3abc9c(0x1e3)](_0x460567['data'][_0x3abc9c(0x589)][_0x3abc9c(0x343)](_0x4bff2d=>_0x4d4d9d[_0x3abc9c(0x4cd)](_0x4bff2d)));break;}case _0x4d4d9d[_0x3abc9c(0x2ae)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x226b7c){throw console['error'](_0x3abc9c(0x549),_0x226b7c),_0x226b7c;}}))),this[_0x3936c0(0x509)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x135908=_0x18d6ba;if(this[_0x135908(0x25d)])throw new Error(_0x135908(0x3c4));this['_transitionLocked']=!0x0;}[_0x18d6ba(0x1d0)](_0xa90241){const _0x13c153=_0x18d6ba;this[_0x13c153(0x451)](),this['_updateState'](this[_0x13c153(0x509)]['appendMutation'](_0xa90241)),this[_0x13c153(0x21b)]();}[_0x18d6ba(0x43b)](_0x1b721b){const _0x18bec1=_0x18d6ba;if(!(_0x1b721b['revision']<=this[_0x18bec1(0x2b4)]['getCurrentRevForDocument'](this[_0x18bec1(0x4bb)]))){if(this[_0x18bec1(0x1bf)]){this[_0x18bec1(0x293)][_0x18bec1(0x239)](_0x1b721b);return;}this[_0x18bec1(0x542)](_0x1b721b);}}['_exhaustRemoteChangesetQueue'](){const _0x11e713=_0x18d6ba;this[_0x11e713(0x293)][_0x11e713(0x387)](_0x249b53=>this[_0x11e713(0x542)](_0x249b53)),this[_0x11e713(0x293)]=[];}[_0x18d6ba(0x542)](_0xb57ca5){const _0x23a27c=_0x18d6ba,_0x3966bf=this[_0x23a27c(0x249)][_0x23a27c(0x413)]['fetchThroughInterceptors'](this[_0x23a27c(0x249)]['interceptor'][_0x23a27c(0x2e1)]()[_0x23a27c(0x437)])(_0xb57ca5[_0x23a27c(0x2fb)],null)||_0xb57ca5[_0x23a27c(0x2fb)],_0x1ea2e5={..._0xb57ca5,'mutations':_0x3966bf};this['_lockTransition'](),this[_0x23a27c(0x24b)](this['_state'][_0x23a27c(0x1b4)](_0x1ea2e5)),this[_0x23a27c(0x21b)]();}['_onRemoteACK'](_0x16b6ba){const _0x15a122=_0x18d6ba;this[_0x15a122(0x451)](),this[_0x15a122(0x24b)](this['_state'][_0x15a122(0x1fc)](_0x16b6ba)),this[_0x15a122(0x21b)]();}[_0x18d6ba(0x234)](_0x313461){const _0x480807=_0x18d6ba;this[_0x480807(0x451)](),this[_0x480807(0x24b)](this[_0x480807(0x509)][_0x480807(0x53a)](_0x313461)),this[_0x480807(0x21b)]();}[_0x18d6ba(0x1e3)](_0x1bca35){const _0x4f0337=_0x18d6ba;if(!(this[_0x4f0337(0x509)]instanceof _0x386fc4))throw new TypeError(_0x4f0337(0x372));const _0x22dfcb=_0x1bca35[_0x4f0337(0x343)](_0x4f86b0=>{const _0x1f13b6=_0x4f0337,_0x54438c=this[_0x1f13b6(0x249)][_0x1f13b6(0x413)]['fetchThroughInterceptors'](this[_0x1f13b6(0x249)][_0x1f13b6(0x413)][_0x1f13b6(0x2e1)]()[_0x1f13b6(0x437)])(_0x4f86b0['mutations'],null)||_0x4f86b0[_0x1f13b6(0x2fb)];return{..._0x4f86b0,'mutations':_0x54438c};});this[_0x4f0337(0x451)](),this[_0x4f0337(0x24b)](this[_0x4f0337(0x509)][_0x4f0337(0x4b5)](_0x22dfcb)),this['_unlockTransition']();}['_toggleOffline'](){const _0x56f862=_0x18d6ba;this[_0x56f862(0x451)](),this['_updateState'](this[_0x56f862(0x509)][_0x56f862(0x1e9)]()),this['_unlockTransition']();}[_0x18d6ba(0x4de)](){const _0x3d1a88=_0x18d6ba;this[_0x3d1a88(0x451)](),this[_0x3d1a88(0x24b)](this[_0x3d1a88(0x509)][_0x3d1a88(0x58f)]()),this[_0x3d1a88(0x21b)]();}async[_0x18d6ba(0x516)](){return new Promise(_0xfe64b8=>{const _0x2b1c00=_0x3d0e;this['_session'][_0x2b1c00(0x462)][_0x2b1c00(0x32f)](_0x267050[_0x2b1c00(0x240)](0x1))[_0x2b1c00(0x559)](async _0xfd624c=>{const _0x2aca59=_0x2b1c00;_0xfe64b8(await this['_createInitialStateImpl'](_0xfd624c===_0x2cd85f[_0x2aca59(0x219)]));});});}[_0x18d6ba(0x1a5)](){const _0x5754ad=_0x18d6ba,_0xd0f152=this[_0x5754ad(0x4bb)];return{'onStateChange':(_0x315ca1,_0x4df737)=>{const _0x507583=_0x5754ad;if(_0x315ca1!==this[_0x507583(0x509)])throw new Error(_0x507583(0x489)+_0x315ca1[_0x507583(0x322)]+_0x507583(0x287)+_0x4df737['status']+_0x507583(0x1bb)+this[_0x507583(0x509)][_0x507583(0x322)]);this[_0x507583(0x24b)](_0x4df737);},'onSendChangeset':_0x513186=>{const _0x133780=_0x5754ad,_0x4de1c8={'eventID':_0x4d4d9d['CollaborationEvent'][_0x133780(0x1fd)],'data':{'unitID':_0x513186[_0x133780(0x4bb)],'unitType':this['_type'],'changeset':_0x513186,'memberID':this[_0x133780(0x1a3)][_0x133780(0x1c6)]()}};this['_session'][_0x133780(0x393)](_0x4de1c8,this['unitID']);},'onMissingChangesets':({from:_0x333681,to:_0x4b3f5f})=>{const _0x580a26=_0x5754ad;this[_0x580a26(0x36e)][_0x580a26(0x3bd)](_0x580a26(0x2da),_0x580a26(0x567)+_0x333681+_0x580a26(0x210)+_0x4b3f5f);const _0xab8400={'eventID':_0x4d4d9d['CollaborationEvent'][_0x580a26(0x2d3)],'data':{'unitID':_0xd0f152,'unitType':this[_0x580a26(0x2f8)],'from':_0x333681,'to':_0x4b3f5f}};this['_session'][_0x580a26(0x393)](_0xab8400,this[_0x580a26(0x4bb)]);}};}async[_0x18d6ba(0x3d0)](_0x537271){const _0x546cf8=_0x18d6ba;var _0x25dd14,_0x42835d;const _0x746030=await this[_0x546cf8(0x4bf)][_0x546cf8(0x1ee)](this['unitID']),_0x161065=(_0x25dd14=_0x746030==null?void 0x0:_0x746030['mutations'])!=null?_0x25dd14:[],_0x45dfa1=(_0x42835d=_0x746030==null?void 0x0:_0x746030['awaitingChangeset'])!=null?_0x42835d:null,_0x1ddfc9=this[_0x546cf8(0x4bb)];try{this[_0x546cf8(0x457)](_0x45dfa1,_0x161065);}catch(_0x195db1){this['_logService']['error'](_0x195db1);}const _0x31dd06=this['_createHandler']();if(_0x537271){const _0x343d2d=_0x5c3cd0(this['_injector'],_0x1ddfc9,this[_0x546cf8(0x2f8)],_0x45dfa1,_0x161065,_0x31dd06);return _0x343d2d instanceof _0x29d649?_0x343d2d['_schedule']():(_0x343d2d instanceof _0x468b55||_0x343d2d instanceof _0x10c700)&&_0x343d2d[_0x546cf8(0x46f)](),_0x343d2d;}return this[_0x546cf8(0x42c)][_0x546cf8(0x491)](_0x451e23,_0x1ddfc9,this[_0x546cf8(0x2f8)],_0x45dfa1,_0x161065,_0x31dd06);}[_0x18d6ba(0x457)](_0x4d1374,_0x42a9d0){const _0xa2f73d=_0x18d6ba;var _0x253ecb,_0x363d5d;const _0x18b650=this[_0xa2f73d(0x249)][_0xa2f73d(0x413)][_0xa2f73d(0x304)](this['_compressMutationService'][_0xa2f73d(0x413)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x253ecb=_0x18b650((_0x4d1374==null?void 0x0:_0x4d1374[_0xa2f73d(0x2fb)])||[],null))==null||_0x253ecb[_0xa2f73d(0x387)](_0xa0821a=>this[_0xa2f73d(0x513)][_0xa2f73d(0x2e9)](_0xa0821a['id'],_0xa0821a['params'])),(_0x363d5d=_0x18b650(_0x42a9d0||[],null))==null||_0x363d5d[_0xa2f73d(0x387)](_0x1a95f8=>this[_0xa2f73d(0x513)][_0xa2f73d(0x2e9)](_0x1a95f8['id'],_0x1a95f8[_0xa2f73d(0x561)]));}};_0x3f4594=_0x3c73bd([_0x573f10(0x3,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x573f10(0x8,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xa,_0x2b4c8d['IMessageService']),_0x573f10(0xb,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x409)](_0x3a8c8d))],_0x3f4594);let _0x823487=class extends _0x3f4594{constructor(_0x1c5256,_0x29c226,_0x1d0f08,_0x3ad9f5,_0xe263a3,_0x29dddd,_0x12d8b2,_0x536f04,_0xcd1654,_0x158012,_0xf6127c,_0x293ebe,_0x3fba0d,_0x30671e,_0x589f7f,_0x542172,_0x44c1aa){const _0x2ce87f=_0x18d6ba;super(_0x1c5256,_0x29c226,_0x1d0f08,_0x3ad9f5,_0xe263a3,_0x29dddd,_0x12d8b2,_0x536f04,_0x3fba0d,_0x30671e,_0x589f7f,_0x542172,_0x44c1aa),this['unitID']=_0x1c5256,this['type']=_0x29c226,this[_0x2ce87f(0x454)]=_0x1d0f08,this[_0x2ce87f(0x1ab)]=_0xcd1654,this['_docTransformIMECacheService']=_0x158012,this[_0x2ce87f(0x4b8)]=_0xf6127c,this[_0x2ce87f(0x3ad)]=_0x293ebe;}[_0x18d6ba(0x1a5)](){const _0x2ae822=_0x18d6ba,_0x25cbda=super[_0x2ae822(0x1a5)]();return _0x25cbda[_0x2ae822(0x349)]=_0x357e64=>this[_0x2ae822(0x520)][_0x2ae822(0x19d)](_0x357e64),_0x25cbda[_0x2ae822(0x2aa)]=_0xf4855b=>this[_0x2ae822(0x4b8)][_0x2ae822(0x3dc)](_0xf4855b),_0x25cbda[_0x2ae822(0x45e)]=_0x337756=>this[_0x2ae822(0x3ad)][_0x2ae822(0x431)](_0x337756),_0x25cbda[_0x2ae822(0x305)]=_0x502513=>this['_docTransformIMECacheService'][_0x2ae822(0x485)](_0x502513),_0x25cbda;}async[_0x18d6ba(0x286)](){const _0x4fdb85=_0x18d6ba,_0x42bdfc=await super[_0x4fdb85(0x286)]();return this['disposeWithMe'](this['_commandService'][_0x4fdb85(0x1c1)]((_0x54c062,_0xbff1da)=>{const _0x4e1bd6=_0x4fdb85;if(_0x54c062[_0x4e1bd6(0x543)]!==_0x3aaa00['CommandType'][_0x4e1bd6(0x510)]||_0xbff1da!=null&&_0xbff1da['fromCollab']||_0xbff1da!=null&&_0xbff1da[_0x4e1bd6(0x56c)])return;const _0x3467fa=_0x54c062[_0x4e1bd6(0x561)];if((_0x3467fa==null?void 0x0:_0x3467fa[_0x4e1bd6(0x189)])!==this['unitID'])return;let _0x21ed69=_0x54c062;if(_0x21ed69['id']===_0x593e90['RichTextEditingMutation']['id']){const _0x1d8709=_0x21ed69[_0x4e1bd6(0x561)];_0x21ed69={'id':_0x593e90[_0x4e1bd6(0x34e)]['id'],'type':_0x3aaa00['CommandType']['MUTATION'],'params':{'unitId':_0x1d8709[_0x4e1bd6(0x189)],'actions':_0x1d8709[_0x4e1bd6(0x51f)],'textRanges':null}};}const _0x2937e1=this['_compressMutationService']['interceptor'][_0x4e1bd6(0x304)](this[_0x4e1bd6(0x249)][_0x4e1bd6(0x413)]['getInterceptPoints']()[_0x4e1bd6(0x215)])([_0x21ed69],null)||[_0x21ed69];this['_onLocalMutation'](_0x2937e1[0x0]);})),_0x42bdfc;}};_0x823487=_0x3c73bd([_0x573f10(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x35d)])),_0x573f10(0x8,_0x3aaa00[_0x18d6ba(0x1de)](_0x593e90[_0x18d6ba(0x244)])),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x1de)](_0x5f1add)),_0x573f10(0xa,_0x3aaa00[_0x18d6ba(0x1de)](_0x49b741)),_0x573f10(0xb,_0x3aaa00[_0x18d6ba(0x1de)](_0x301e57)),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0xd,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xe,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x573f10(0xf,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0x10,_0x3aaa00[_0x18d6ba(0x409)](_0x3a8c8d))],_0x823487),_0x4c54a0['SheetCollaborationEntity']=class extends _0x3f4594{constructor(_0x639392,_0x50c8dc,_0x51f8e9,_0x1c9d49,_0x59c552,_0x5d3f63,_0x415c8d,_0x508829,_0x34e384,_0x5d051d,_0x3cbf63,_0x3bdbf8,_0x2cfae3,_0x1b66a7){const _0x8f95eb=_0x18d6ba;super(_0x639392,_0x50c8dc,_0x51f8e9,_0x1c9d49,_0x59c552,_0x5d3f63,_0x415c8d,_0x508829,_0x5d051d,_0x3cbf63,_0x3bdbf8,_0x2cfae3,_0x1b66a7),this['unitID']=_0x639392,this[_0x8f95eb(0x543)]=_0x50c8dc,this[_0x8f95eb(0x454)]=_0x51f8e9,this[_0x8f95eb(0x29f)]=_0x34e384;}[_0x18d6ba(0x1a5)](){const _0x54b5ab=_0x18d6ba,_0x4b3787=super[_0x54b5ab(0x1a5)]();return _0x4b3787[_0x54b5ab(0x2aa)]=_0x5a6f3f=>this['_sheetTransformSelectionsService'][_0x54b5ab(0x3dc)](_0x5a6f3f),_0x4b3787;}async[_0x18d6ba(0x286)](){const _0x12c0f5=_0x18d6ba,_0x5a3392=await super['_init']();return this[_0x12c0f5(0x43a)](this['_commandService']['onCommandExecuted']((_0x5db6ca,_0x2b38cf)=>{const _0x547564=_0x12c0f5;if(_0x5db6ca['type']!==_0x3aaa00[_0x547564(0x44a)][_0x547564(0x510)]||_0x2b38cf!=null&&_0x2b38cf[_0x547564(0x312)]||_0x2b38cf!=null&&_0x2b38cf[_0x547564(0x56c)])return;const _0x578474=_0x5db6ca['params'];if((_0x578474==null?void 0x0:_0x578474[_0x547564(0x189)])!==this[_0x547564(0x4bb)])return;const _0x57cdad=_0x5db6ca,_0x2393a7=this[_0x547564(0x249)][_0x547564(0x413)]['fetchThroughInterceptors'](this[_0x547564(0x249)][_0x547564(0x413)][_0x547564(0x2e1)]()[_0x547564(0x215)])([_0x57cdad],null)||[_0x57cdad];this['_onLocalMutation'](_0x2393a7[0x0]);})),_0x5a3392;}},_0x4c54a0['SheetCollaborationEntity']=_0x3c73bd([_0x573f10(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x573f10(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['LocalCacheService'])),_0x573f10(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x28a)])),_0x573f10(0x6,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)])),_0x573f10(0x7,_0x3aaa00['Inject'](_0x4d4d9d['RevisionService'])),_0x573f10(0x8,_0x3aaa00['Inject'](_0x13a645)),_0x573f10(0x9,_0x3aaa00[_0x18d6ba(0x42a)]),_0x573f10(0xa,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x573f10(0xb,_0x2b4c8d[_0x18d6ba(0x57b)]),_0x573f10(0xc,_0x3aaa00[_0x18d6ba(0x23f)]),_0x573f10(0xd,_0x3aaa00['Optional'](_0x3a8c8d))],_0x4c54a0[_0x18d6ba(0x26d)]);const _0x1acd68=[_0x18d6ba(0x19f),'jiqing500',_0x18d6ba(0x531),'red300',_0x18d6ba(0x1c7),_0x18d6ba(0x42b)];class _0x195451 extends _0x3aaa00['Disposable']{constructor(){const _0x552d87=_0x18d6ba;super(...arguments),_0x2c46b8(this,_0x552d87(0x4ab),new Map()),_0x2c46b8(this,_0x552d87(0x3d3),0x0);}['assignAColorForMemberID'](_0x54e8a3){const _0x846acd=_0x18d6ba;if(this[_0x846acd(0x4ab)][_0x846acd(0x443)](_0x54e8a3))return this[_0x846acd(0x4ab)]['get'](_0x54e8a3);const _0x2212f5=_0x1acd68[this[_0x846acd(0x3d3)]];return this[_0x846acd(0x3d3)]=(this[_0x846acd(0x3d3)]+0x1)%_0x1acd68[_0x846acd(0x574)],this[_0x846acd(0x4ab)][_0x846acd(0x2a6)](_0x54e8a3,_0x2212f5),_0x2212f5;}}var _0x5dbbe4=Object[_0x18d6ba(0x272)],_0x316825=Object[_0x18d6ba(0x3fd)],_0x496c3e=(_0x2dea9f,_0x1b0cb8,_0xeebd4,_0x159af4)=>{const _0x28212c=_0x18d6ba;for(var _0x19d7b7=_0x159af4>0x1?void 0x0:_0x159af4?_0x316825(_0x1b0cb8,_0xeebd4):_0x1b0cb8,_0x4df876=_0x2dea9f[_0x28212c(0x574)]-0x1,_0xf08e2f;_0x4df876>=0x0;_0x4df876--)(_0xf08e2f=_0x2dea9f[_0x4df876])&&(_0x19d7b7=(_0x159af4?_0xf08e2f(_0x1b0cb8,_0xeebd4,_0x19d7b7):_0xf08e2f(_0x19d7b7))||_0x19d7b7);return _0x159af4&&_0x19d7b7&&_0x5dbbe4(_0x1b0cb8,_0xeebd4,_0x19d7b7),_0x19d7b7;},_0x398206=(_0x3f4c8f,_0x25a421)=>(_0x5bb179,_0x535928)=>_0x25a421(_0x5bb179,_0x535928,_0x3f4c8f);const _0xf24c65=0x12c,_0x2d40b7=0x64,_0x22d870=()=>{let _0x246205=[],_0x467a38=!0x1;return _0x53bea6=>{const _0x3bf24f=_0x3d0e;_0x246205[_0x3bf24f(0x239)](_0x53bea6),_0x467a38||(_0x467a38=!0x0,setTimeout(()=>{_0x246205['forEach'](_0x4a77e4=>_0x4a77e4()),_0x246205=[],_0x467a38=!0x1;}));};};let _0x388ee8=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x6f82e6,_0x192937,_0x5c7628,_0x1b00d8,_0x2d256f,_0x2243a3,_0x3af9f9,_0x33f115){const _0x1d0a90=_0x18d6ba;super(),_0x2c46b8(this,_0x1d0a90(0x2a2),!0x1),_0x2c46b8(this,_0x1d0a90(0x286),!0x1),_0x2c46b8(this,_0x1d0a90(0x500),new _0x5cbc6e[(_0x1d0a90(0x1ec))](new Map())),_0x2c46b8(this,_0x1d0a90(0x4ef),this[_0x1d0a90(0x500)][_0x1d0a90(0x28c)]()),_0x2c46b8(this,_0x1d0a90(0x541),new _0x5cbc6e[(_0x1d0a90(0x1ec))]([])),_0x2c46b8(this,_0x1d0a90(0x395),this[_0x1d0a90(0x541)][_0x1d0a90(0x32f)](_0x5cbc6e[_0x1d0a90(0x556)](_0xf24c65))),_0x2c46b8(this,_0x1d0a90(0x3c6),_0x58296f((_0xd4103d,_0x355447)=>{const _0x2d1b6d=_0x1d0a90,_0x190a51={'eventID':_0x4d4d9d[_0x2d1b6d(0x2ae)][_0x2d1b6d(0x33e)],'data':{'unitID':this[_0x2d1b6d(0x4bb)],'memberID':this[_0x2d1b6d(0x1a3)]['getMemberID'](),'selection':_0x55b16b['serializeRangeWithSheet'](_0xd4103d,_0x355447[_0x2d1b6d(0x278)])}};this['_session'][_0x2d1b6d(0x393)](_0x190a51,this['unitID']);},_0x2d40b7)),(this['unitID']=_0x6f82e6,this['_session']=_0x192937,this[_0x1d0a90(0x42c)]=_0x5c7628,this[_0x1d0a90(0x2a9)]=_0x1b00d8,this[_0x1d0a90(0x241)]=_0x2d256f,this['_univerInstanceService']=_0x2243a3,this['_commandService']=_0x3af9f9,this[_0x1d0a90(0x374)]=_0x33f115);}get[_0x18d6ba(0x2f4)](){const _0x38c3a5=_0x18d6ba;return this[_0x38c3a5(0x500)][_0x38c3a5(0x453)]();}get[_0x18d6ba(0x337)](){const _0x3e6d58=_0x18d6ba;return this[_0x3e6d58(0x541)]['getValue']();}[_0x18d6ba(0x338)](){const _0x3e2798=_0x18d6ba;super[_0x3e2798(0x338)](),this[_0x3e2798(0x500)]['next'](new Map()),this[_0x3e2798(0x500)][_0x3e2798(0x581)](),this['_roomMembers$']['next']([]),this[_0x3e2798(0x541)]['complete']();}[_0x18d6ba(0x367)](){const _0x3c9f69=_0x18d6ba;this[_0x3c9f69(0x286)]||(this[_0x3c9f69(0x286)]=!0x0,this['_session'][_0x3c9f69(0x462)]['pipe'](_0x5cbc6e['takeUntil'](this[_0x3c9f69(0x505)]))[_0x3c9f69(0x559)](_0x17be2a=>{const _0x3e80c7=_0x3c9f69;_0x17be2a===_0x2cd85f[_0x3e80c7(0x219)]?this['_toggleOnline']():this[_0x3e80c7(0x420)]();}),this[_0x3c9f69(0x1a3)][_0x3c9f69(0x2f0)][_0x3c9f69(0x32f)](_0x5cbc6e[_0x3c9f69(0x40b)](this[_0x3c9f69(0x505)]))[_0x3c9f69(0x559)](_0x59bf38=>{const _0x19db74=_0x3c9f69,_0x4a5eaf=_0x59bf38['eventID'];_0x4a5eaf===_0x4d4d9d['CollaborationEvent'][_0x19db74(0x33e)]&&this[_0x19db74(0x25b)](_0x59bf38),_0x4a5eaf===_0x4d4d9d[_0x19db74(0x2ae)][_0x19db74(0x4af)]&&this[_0x19db74(0x521)](_0x59bf38);}),this[_0x3c9f69(0x3c1)](),this[_0x3c9f69(0x43a)](this[_0x3c9f69(0x513)][_0x3c9f69(0x1c1)](_0x3dd41b=>{const _0x17653f=_0x3c9f69;if(this['_online']&&_0x3dd41b['id']===_0x459c9c['SetSelectionsOperation']['id']&&_0x3dd41b[_0x17653f(0x561)][_0x17653f(0x189)]===this[_0x17653f(0x4bb)]){const _0x2aa3d2=_0x3dd41b['params'];this[_0x17653f(0x3c6)](_0x2aa3d2['subUnitId'],_0x2aa3d2[_0x17653f(0x2c8)][0x0]);}})));}[_0x18d6ba(0x25b)](_0x82d82f){const _0x3b6d14=_0x18d6ba;var _0x474ad5,_0x194c61;const {memberID:_0x23db9a,selection:_0x5d37d9}=_0x82d82f['data'],{sheetName:_0x2937b5,range:_0x543a67}=_0x55b16b[_0x3b6d14(0x27f)](_0x5d37d9),_0x459f0={'name':(_0x194c61=(_0x474ad5=this[_0x3b6d14(0x241)][_0x3b6d14(0x2c1)](this[_0x3b6d14(0x4bb)],_0x23db9a))==null?void 0x0:_0x474ad5[_0x3b6d14(0x4a1)])!=null?_0x194c61:_0x3b6d14(0x47b),'range':this[_0x3b6d14(0x48f)](_0x2937b5,_0x543a67),'sheetID':_0x2937b5,'color':this['_colorAssignService'][_0x3b6d14(0x39f)](_0x23db9a),'selection':_0x5d37d9},_0x5e9b75=this['cursorInfo'];_0x5e9b75[_0x3b6d14(0x2a6)](_0x23db9a,_0x459f0),this[_0x3b6d14(0x500)][_0x3b6d14(0x1c5)](_0x5e9b75);}[_0x18d6ba(0x521)](_0x541443){const _0x1b5fac=_0x18d6ba,{memberID:_0x22602a}=_0x541443[_0x1b5fac(0x44f)],_0xea5731=this[_0x1b5fac(0x2f4)];_0xea5731[_0x1b5fac(0x466)](_0x22602a),this[_0x1b5fac(0x500)][_0x1b5fac(0x1c5)](_0xea5731);}[_0x18d6ba(0x48f)](_0x45611d,_0xbf308a){const _0x356146=_0x18d6ba;var _0x355a93,_0xb853ff;const _0x15b224=(_0xb853ff=(_0x355a93=this[_0x356146(0x318)][_0x356146(0x1d8)](this['unitID']))==null?void 0x0:_0x355a93[_0x356146(0x3f6)](_0x45611d))==null?void 0x0:_0xb853ff['getMergeData']();return(_0x15b224==null?void 0x0:_0x15b224[_0x356146(0x568)](_0x45310b=>_0x3aaa00[_0x356146(0x2f2)]['contains'](_0x45310b,_0xbf308a)))||_0xbf308a;}[_0x18d6ba(0x3c1)](){const _0xd4ae40=_0x18d6ba,_0x43f782=new _0x3aaa00[(_0xd4ae40(0x53b))](),_0x36aa32=_0x22d870(),_0x15a90c=()=>{const _0x5183a7=_0xd4ae40;_0x43f782['dispose']();const _0x5700f4=(_0x432330,_0x11f7af,_0xfccebe,_0x2b5326)=>{const _0x5493ae=_0x3d0e;let _0x59d934=[];switch(_0x432330['id']){case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x2a0)]:{_0x59d934=_0x459c9c[_0x5493ae(0x1ad)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x56e)]:{_0x59d934=_0x459c9c[_0x5493ae(0x572)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)]['InsertColCommandId']:{_0x59d934=_0x459c9c[_0x5493ae(0x2e5)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x44d)]:{_0x59d934=_0x459c9c[_0x5493ae(0x421)](_0x432330,_0x2b5326);break;}case _0x459c9c['EffectRefRangId'][_0x5493ae(0x540)]:{_0x59d934=_0x459c9c[_0x5493ae(0x1ef)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x2e6)]:{_0x59d934=_0x459c9c['handleInsertRow'](_0x432330,_0x2b5326);break;}case _0x459c9c['EffectRefRangId'][_0x5493ae(0x2fc)]:{_0x59d934=_0x459c9c[_0x5493ae(0x4a5)](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x1df)]:{_0x59d934=_0x459c9c['handleIRemoveCol'](_0x432330,_0x2b5326);break;}case _0x459c9c[_0x5493ae(0x4ee)][_0x5493ae(0x250)]:{_0x59d934=_0x459c9c[_0x5493ae(0x376)](_0x432330,_0x2b5326);break;}}const _0x2d912b=_0x459c9c[_0x5493ae(0x502)](_0x59d934,_0x2b5326),_0x75f52c=this[_0x5493ae(0x2f4)][_0x5493ae(0x3e4)](_0x11f7af);if(_0x75f52c&&_0x2d912b){const _0x1110bb={..._0x75f52c,'range':_0x2d912b};this[_0x5493ae(0x2f4)][_0x5493ae(0x2a6)](_0x11f7af,_0x1110bb),_0x36aa32(()=>{const _0x4b370d=_0x5493ae,_0x2d8773=this[_0x4b370d(0x374)]['registerRefRange'](_0x2d912b,_0x32fc86=>(_0x2d8773[_0x4b370d(0x338)](),_0x5700f4(_0x32fc86,_0x11f7af,_0xfccebe,_0x2d912b)));_0x43f782[_0x4b370d(0x22f)](_0x2d8773);});}return{'redos':[],'undos':[]};};this[_0x5183a7(0x2f4)][_0x5183a7(0x387)]((_0x23382f,_0x12cd7d)=>{const _0x2791aa=_0x5183a7,{range:_0x2b394d,sheetID:_0x180b9f}=_0x23382f,_0x5a57fd=this['_refRangeService'][_0x2791aa(0x2d6)](_0x2b394d,_0x1d1470=>(_0x5a57fd['dispose'](),_0x5700f4(_0x1d1470,_0x12cd7d,_0x180b9f,_0x2b394d)));_0x43f782[_0x2791aa(0x22f)](_0x5a57fd);});};this[_0xd4ae40(0x43a)](_0x3aaa00[_0xd4ae40(0x1cd)](this['_cursorInfo$'][_0xd4ae40(0x559)](()=>{_0x15a90c();})));}['_toggleOnline'](){const _0x290f1f=_0x18d6ba;var _0x428c24,_0x1d9e5c;if(this[_0x290f1f(0x2a2)]=!0x0,((_0x428c24=this['_univerInstanceService'][_0x290f1f(0x33c)]())==null?void 0x0:_0x428c24['getUnitId']())!==this[_0x290f1f(0x4bb)])return;const _0x5c4692=(_0x1d9e5c=this[_0x290f1f(0x42c)][_0x290f1f(0x3e4)](_0x459c9c[_0x290f1f(0x28d)])[_0x290f1f(0x57d)]())==null?void 0x0:_0x1d9e5c[0x0],_0x3341a5=this[_0x290f1f(0x318)][_0x290f1f(0x585)](_0x3aaa00[_0x290f1f(0x434)][_0x290f1f(0x18a)])[_0x290f1f(0x2ac)]();_0x5c4692&&_0x3341a5&&this[_0x290f1f(0x3c6)](_0x3341a5[_0x290f1f(0x1fa)](),_0x5c4692);}[_0x18d6ba(0x420)](){const _0x2d23a8=_0x18d6ba;this[_0x2d23a8(0x2a2)]=!0x1;}};_0x388ee8=_0x496c3e([_0x398206(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x398206(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x195451)),_0x398206(0x4,_0x3aaa00['Inject'](_0x107a5c)),_0x398206(0x5,_0x3aaa00['IUniverInstanceService']),_0x398206(0x6,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x398206(0x7,_0x3aaa00[_0x18d6ba(0x1de)](_0x459c9c[_0x18d6ba(0x356)]))],_0x388ee8);var _0x4573f1=Object[_0x18d6ba(0x272)],_0x276243=Object[_0x18d6ba(0x3fd)],_0x58dab7=(_0x5d9ad6,_0x1c35aa,_0xb51c39,_0x67ff7b)=>{const _0x4dceb2=_0x18d6ba;for(var _0x3b20cf=_0x67ff7b>0x1?void 0x0:_0x67ff7b?_0x276243(_0x1c35aa,_0xb51c39):_0x1c35aa,_0x43c0ef=_0x5d9ad6[_0x4dceb2(0x574)]-0x1,_0x59fcda;_0x43c0ef>=0x0;_0x43c0ef--)(_0x59fcda=_0x5d9ad6[_0x43c0ef])&&(_0x3b20cf=(_0x67ff7b?_0x59fcda(_0x1c35aa,_0xb51c39,_0x3b20cf):_0x59fcda(_0x3b20cf))||_0x3b20cf);return _0x67ff7b&&_0x3b20cf&&_0x4573f1(_0x1c35aa,_0xb51c39,_0x3b20cf),_0x3b20cf;},_0x5d27be=(_0x408ab3,_0x34ff7c)=>(_0x49fd83,_0x4afbf9)=>_0x34ff7c(_0x49fd83,_0x4afbf9,_0x408ab3);const _0x55f145=0x12c,_0x229bdf=0x64;let _0x1bab42=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1cbda7,_0x32258b,_0x485442,_0x503a7b,_0x540d19,_0x29a4e9,_0x42db11,_0x10daf0,_0x1d056f){const _0x45fd02=_0x18d6ba;super(),_0x2c46b8(this,_0x45fd02(0x2a2),!0x1),_0x2c46b8(this,'_init',!0x1),_0x2c46b8(this,_0x45fd02(0x500),new _0x5cbc6e[(_0x45fd02(0x1ec))](new Map())),_0x2c46b8(this,'cursorInfo$',this[_0x45fd02(0x500)]['asObservable']()),_0x2c46b8(this,_0x45fd02(0x541),new _0x5cbc6e['BehaviorSubject']([])),_0x2c46b8(this,_0x45fd02(0x395),this[_0x45fd02(0x541)][_0x45fd02(0x32f)](_0x5cbc6e[_0x45fd02(0x556)](_0x55f145))),_0x2c46b8(this,_0x45fd02(0x3c6),_0x58296f(_0x3851d7=>{const _0x3e262c=_0x45fd02,_0x4ef35a={'eventID':_0x4d4d9d[_0x3e262c(0x2ae)][_0x3e262c(0x33e)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3e262c(0x1c6)](),'selection':_0x4c1645(_0x3851d7)}};this['_session']['send'](_0x4ef35a,this['unitID']);},_0x229bdf)),(this[_0x45fd02(0x4bb)]=_0x1cbda7,this[_0x45fd02(0x1a3)]=_0x32258b,this['_injector']=_0x485442,this[_0x45fd02(0x2a9)]=_0x503a7b,this[_0x45fd02(0x241)]=_0x540d19,this[_0x45fd02(0x232)]=_0x29a4e9,this[_0x45fd02(0x45d)]=_0x42db11,this[_0x45fd02(0x318)]=_0x10daf0,this[_0x45fd02(0x513)]=_0x1d056f);}get[_0x18d6ba(0x2f4)](){const _0x1a2e8b=_0x18d6ba;return this[_0x1a2e8b(0x500)]['getValue']();}get[_0x18d6ba(0x337)](){const _0x3e96b2=_0x18d6ba;return this[_0x3e96b2(0x541)][_0x3e96b2(0x453)]();}[_0x18d6ba(0x338)](){const _0x372dce=_0x18d6ba;super['dispose'](),this[_0x372dce(0x500)][_0x372dce(0x1c5)](new Map()),this[_0x372dce(0x500)]['complete'](),this[_0x372dce(0x541)][_0x372dce(0x1c5)]([]),this[_0x372dce(0x541)][_0x372dce(0x581)]();}[_0x18d6ba(0x367)](){const _0x5c0e4a=_0x18d6ba;this['_init']||(this['_init']=!0x0,this[_0x5c0e4a(0x1a3)][_0x5c0e4a(0x462)]['pipe'](_0x5cbc6e[_0x5c0e4a(0x40b)](this['dispose$']))[_0x5c0e4a(0x559)](_0x47f731=>{const _0x1e9776=_0x5c0e4a;_0x47f731===_0x2cd85f[_0x1e9776(0x219)]?this['_toggleOnline']():this[_0x1e9776(0x420)]();}),this['_session']['event$'][_0x5c0e4a(0x32f)](_0x5cbc6e['takeUntil'](this['dispose$']))[_0x5c0e4a(0x559)](_0x20141b=>{const _0x4e4e8a=_0x5c0e4a,_0x2ff413=_0x20141b[_0x4e4e8a(0x539)];_0x2ff413===_0x4d4d9d[_0x4e4e8a(0x2ae)][_0x4e4e8a(0x33e)]&&this[_0x4e4e8a(0x25b)](_0x20141b),_0x2ff413===_0x4d4d9d[_0x4e4e8a(0x2ae)]['USERS_LEAVE']&&this[_0x4e4e8a(0x521)](_0x20141b);}),this[_0x5c0e4a(0x43a)](this['_commandService'][_0x5c0e4a(0x1c1)](_0x458fcb=>{const _0x48f25d=_0x5c0e4a,_0x296b06=_0x458fcb[_0x48f25d(0x561)];_0x296b06!=null&&this[_0x48f25d(0x2a2)]&&_0x458fcb['id']===_0x593e90[_0x48f25d(0x371)]['id']&&_0x296b06['unitId']===this[_0x48f25d(0x4bb)]&&_0x296b06[_0x48f25d(0x4f2)]===!0x1&&this[_0x48f25d(0x3c6)](_0x296b06[_0x48f25d(0x388)]);})),this[_0x5c0e4a(0x232)]['collabCursorState$'][_0x5c0e4a(0x32f)](_0x5cbc6e[_0x5c0e4a(0x40b)](this[_0x5c0e4a(0x505)]))['subscribe'](_0xad0720=>{const _0x27593b=_0x5c0e4a;if((_0xad0720==null?void 0x0:_0xad0720[_0x27593b(0x4bb)])!==this[_0x27593b(0x4bb)])return;const _0x3f4148={'eventID':_0x4d4d9d['CollaborationEvent']['UPDATE_CURSOR'],'data':_0xad0720};this['_onCursorUpdate'](_0x3f4148);}),this[_0x5c0e4a(0x43a)](this[_0x5c0e4a(0x513)][_0x5c0e4a(0x1c1)](_0xcb7408=>{const _0x26eb87=_0x5c0e4a;if(_0xcb7408[_0x26eb87(0x561)]==null)return;const _0x71f5a1=_0xcb7408[_0x26eb87(0x561)];if(_0xcb7408['id']!==_0x593e90['RichTextEditingMutation']['id']||_0x71f5a1[_0x26eb87(0x189)]!==this[_0x26eb87(0x4bb)])return;const _0x49cbb1={'id':'doc.mutation.rich-text-editing','params':_0x71f5a1},_0x5c2cac=this['cursorInfo'];for(const [_0x148977,_0x379b2c]of _0x5c2cac){const _0x65411f={'id':_0x26eb87(0x558),'params':{'unitId':this[_0x26eb87(0x4bb)],'actions':null,'textRanges':_0x379b2c[_0x26eb87(0x388)]}},_0x2bac39=this[_0x26eb87(0x45d)][_0x26eb87(0x1db)](_0x49cbb1,_0x65411f,!0x1);if(_0x4d4d9d['isTransformMutationFailure'](_0x2bac39))throw _0x2bac39[_0x26eb87(0x4ae)];_0x5c2cac[_0x26eb87(0x2a6)](_0x148977,{..._0x379b2c,'ranges':_0x2bac39[_0x26eb87(0x1d2)][_0x26eb87(0x561)][_0x26eb87(0x2f5)]});}queueMicrotask(()=>{const _0x178c07=_0x26eb87;this[_0x178c07(0x500)]['next'](_0x5c2cac);});})));}[_0x18d6ba(0x25b)](_0x1d4439){const _0x3f79ec=_0x18d6ba;var _0x232774,_0x2ad55e;const {memberID:_0x4bb67d,selection:_0x3f338e}=_0x1d4439[_0x3f79ec(0x44f)],_0x56cb9c=_0x40c874(_0x3f338e),_0x281559=(_0x2ad55e=(_0x232774=this[_0x3f79ec(0x241)][_0x3f79ec(0x2c1)](this[_0x3f79ec(0x4bb)],_0x4bb67d))==null?void 0x0:_0x232774['name'])!=null?_0x2ad55e:'Unknown\x20user',_0x5f1dc7={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4bb67d),'name':_0x281559,'ranges':_0x56cb9c},_0x466f39=this[_0x3f79ec(0x2f4)];_0x466f39['set'](_0x4bb67d,_0x5f1dc7),this[_0x3f79ec(0x500)]['next'](_0x466f39);}[_0x18d6ba(0x521)](_0x4db648){const _0x8ca940=_0x18d6ba,{memberID:_0x24f27e}=_0x4db648[_0x8ca940(0x44f)],_0x98493=this[_0x8ca940(0x2f4)];_0x98493['delete'](_0x24f27e),this[_0x8ca940(0x500)][_0x8ca940(0x1c5)](_0x98493);}[_0x18d6ba(0x4de)](){const _0x76dc81=_0x18d6ba;var _0x3756e5;if(this[_0x76dc81(0x2a2)]=!0x0,((_0x3756e5=this[_0x76dc81(0x318)]['getFocusedUnit']())==null?void 0x0:_0x3756e5['getUnitId']())!==this[_0x76dc81(0x4bb)])return;const _0xd86cd=this[_0x76dc81(0x42c)][_0x76dc81(0x3e4)](_0x593e90[_0x76dc81(0x4fa)])['getDocRanges'](),_0x220da5=_0xd86cd==null?void 0x0:_0xd86cd[_0x76dc81(0x343)](_0x593e90[_0x76dc81(0x3b5)]);Array[_0x76dc81(0x342)](_0x220da5)&&_0x220da5[_0x76dc81(0x574)]>0x0&&this['_updateLocalCursor'](_0x220da5);}['_toggleOffline'](){const _0x39b734=_0x18d6ba;this[_0x39b734(0x2a2)]=!0x1;}};_0x1bab42=_0x58dab7([_0x5d27be(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x56f)])),_0x5d27be(0x3,_0x3aaa00['Inject'](_0x195451)),_0x5d27be(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x107a5c)),_0x5d27be(0x5,_0x3aaa00[_0x18d6ba(0x1de)](_0x301e57)),_0x5d27be(0x6,_0x4d4d9d['ITransformService']),_0x5d27be(0x7,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x5d27be(0x8,_0x3aaa00[_0x18d6ba(0x2d1)])],_0x1bab42);var _0xe595eb=Object[_0x18d6ba(0x272)],_0x15f005=Object[_0x18d6ba(0x3fd)],_0x27cf4f=(_0x18cd70,_0x159ae6,_0x2cda89,_0xd18bbd)=>{for(var _0x2049bf=_0xd18bbd>0x1?void 0x0:_0xd18bbd?_0x15f005(_0x159ae6,_0x2cda89):_0x159ae6,_0xe4b84d=_0x18cd70['length']-0x1,_0x44849b;_0xe4b84d>=0x0;_0xe4b84d--)(_0x44849b=_0x18cd70[_0xe4b84d])&&(_0x2049bf=(_0xd18bbd?_0x44849b(_0x159ae6,_0x2cda89,_0x2049bf):_0x44849b(_0x2049bf))||_0x2049bf);return _0xd18bbd&&_0x2049bf&&_0xe595eb(_0x159ae6,_0x2cda89,_0x2049bf),_0x2049bf;},_0x5ed6f1=(_0x280488,_0x5a5499)=>(_0x202eb9,_0x554d68)=>_0x5a5499(_0x202eb9,_0x554d68,_0x280488);let _0x1fa692=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x1e6a83,_0x2d9384,_0x3d9b59){const _0x32d051=_0x18d6ba;super(),_0x2c46b8(this,_0x32d051(0x56b),new Map()),_0x2c46b8(this,_0x32d051(0x309),new _0x5cbc6e[(_0x32d051(0x328))]()),(this[_0x32d051(0x318)]=_0x1e6a83,this[_0x32d051(0x42c)]=_0x2d9384,this[_0x32d051(0x48b)]=_0x3d9b59,this[_0x32d051(0x286)]());}['dispose'](){const _0x905f29=_0x18d6ba;super[_0x905f29(0x338)](),this[_0x905f29(0x309)][_0x905f29(0x581)](),this[_0x905f29(0x56b)][_0x905f29(0x387)](_0x27748b=>_0x27748b[_0x905f29(0x338)]());}[_0x18d6ba(0x21e)](_0x516f2b){const _0x9266f1=_0x18d6ba;return this[_0x9266f1(0x56b)][_0x9266f1(0x443)](_0x516f2b)?this['_entities']['get'](_0x516f2b)[_0x9266f1(0x4ef)]:this[_0x9266f1(0x309)][_0x9266f1(0x32f)](_0x5cbc6e[_0x9266f1(0x46d)](_0x227977=>_0x227977['unitID']===_0x516f2b),_0x5cbc6e['switchMap'](_0x28ec5f=>_0x28ec5f['cursorInfo$']));}[_0x18d6ba(0x286)](){const _0x1ceff2=_0x18d6ba;this[_0x1ceff2(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00[_0x1ceff2(0x434)][_0x1ceff2(0x18a)])[_0x1ceff2(0x32f)](_0x5cbc6e['takeUntil'](this[_0x1ceff2(0x505)]))['subscribe'](async _0x2b6f52=>{const _0x22cdd8=_0x1ceff2,_0x5141d4=_0x2b6f52[_0x22cdd8(0x4b6)](),_0xb928e7=await this['_startSheetCollabCursor'](_0x5141d4);this[_0x22cdd8(0x309)]['next'](_0xb928e7),this[_0x22cdd8(0x56b)]['set'](_0x5141d4,_0xb928e7);}),this[_0x1ceff2(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x5cbc6e[_0x1ceff2(0x40b)](this[_0x1ceff2(0x505)]))[_0x1ceff2(0x32f)](_0x5cbc6e[_0x1ceff2(0x46d)](_0x2358e7=>!_0x2358e7[_0x1ceff2(0x4b6)]()[_0x1ceff2(0x352)]('__')))[_0x1ceff2(0x559)](async _0x1cd019=>{const _0x461dd1=_0x1ceff2,_0x4ddf16=_0x1cd019[_0x461dd1(0x4b6)](),_0x4fe3d6=await this[_0x461dd1(0x45a)](_0x4ddf16);this[_0x461dd1(0x309)]['next'](_0x4fe3d6),this[_0x461dd1(0x56b)][_0x461dd1(0x2a6)](_0x4ddf16,_0x4fe3d6);}),_0x5cbc6e['merge'](this[_0x1ceff2(0x318)][_0x1ceff2(0x551)](_0x3aaa00['UniverInstanceType']['UNIVER_DOC']),this['_univerInstanceService'][_0x1ceff2(0x551)](_0x3aaa00[_0x1ceff2(0x434)][_0x1ceff2(0x18a)]))[_0x1ceff2(0x32f)](_0x5cbc6e['takeUntil'](this['dispose$']))['subscribe'](_0x1529b0=>{const _0x3ba67c=_0x1ceff2,_0x1a9638=_0x1529b0[_0x3ba67c(0x4b6)](),_0x88fa57=this[_0x3ba67c(0x56b)][_0x3ba67c(0x3e4)](_0x1a9638);_0x88fa57&&(_0x88fa57[_0x3ba67c(0x338)](),this[_0x3ba67c(0x56b)]['delete'](_0x1a9638));});}async['_startSheetCollabCursor'](_0x2f88eb){const _0x59018b=_0x18d6ba,_0x362806=await this[_0x59018b(0x48b)][_0x59018b(0x3a3)](_0x2f88eb),_0x120373=this['_injector'][_0x59018b(0x491)](_0x388ee8,_0x2f88eb,_0x362806);return _0x120373[_0x59018b(0x367)](),_0x120373;}async[_0x18d6ba(0x45a)](_0x1b89c2){const _0x186769=_0x18d6ba,_0x3a82e3=await this['_collabSessionService'][_0x186769(0x3a3)](_0x1b89c2),_0x168142=this['_injector']['createInstance'](_0x1bab42,_0x1b89c2,_0x3a82e3);return _0x168142[_0x186769(0x367)](),_0x168142;}};_0x1fa692=_0x27cf4f([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x1fa692),_0x5ed6f1(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x5ed6f1(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x5ed6f1(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x22b)]))],_0x1fa692);const _0x3ba8ec=0x14,_0x5903b8=0xc8,_0x509079=0x4,_0x202daa=0x5;function _0x1b3a91(_0x966163,_0x2c219a){const _0x5d2d3b=_0x18d6ba;let {radius:_0x37b477,width:_0x4fbb70,height:_0x1a2e0e}=_0x2c219a;_0x37b477=_0x37b477!=null?_0x37b477:0x0,_0x4fbb70=_0x4fbb70!=null?_0x4fbb70:0x1e,_0x1a2e0e=_0x1a2e0e!=null?_0x1a2e0e:0x1e;let _0x2de638=0x0,_0x136ebb=0x0,_0x11deb2=0x0;_0x2de638=_0x136ebb=_0x11deb2=Math[_0x5d2d3b(0x51d)](_0x37b477,_0x4fbb70/0x2,_0x1a2e0e/0x2),_0x966163[_0x5d2d3b(0x401)](),_0x966163['moveTo'](_0x2de638,0x0),_0x966163[_0x5d2d3b(0x288)](_0x4fbb70-_0x136ebb,0x0),_0x966163[_0x5d2d3b(0x2c4)](_0x4fbb70-_0x136ebb,_0x136ebb,_0x136ebb,Math['PI']*0x3/0x2,0x0,!0x1),_0x966163[_0x5d2d3b(0x288)](_0x4fbb70,_0x1a2e0e-_0x11deb2),_0x966163[_0x5d2d3b(0x2c4)](_0x4fbb70-_0x11deb2,_0x1a2e0e-_0x11deb2,_0x11deb2,0x0,Math['PI']/0x2,!0x1),_0x966163[_0x5d2d3b(0x288)](0x0,_0x1a2e0e),_0x966163[_0x5d2d3b(0x288)](0x0,_0x2de638),_0x966163[_0x5d2d3b(0x2c4)](_0x2de638,_0x2de638,_0x2de638,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x966163[_0x5d2d3b(0x38d)](),_0x2c219a[_0x5d2d3b(0x1a0)]&&(_0x966163['save'](),_0x966163['fillStyle']=_0x2c219a[_0x5d2d3b(0x1a0)],_0x2c219a[_0x5d2d3b(0x281)]===_0x5d2d3b(0x3da)?_0x966163['fill'](_0x5d2d3b(0x3da)):_0x966163[_0x5d2d3b(0x1a0)](),_0x966163[_0x5d2d3b(0x44c)]());}class _0x609363 extends _0x3b10b4[_0x18d6ba(0x37d)]{constructor(_0x221ecb,_0x2b9b0b){const _0x400f55=_0x18d6ba;super(_0x221ecb,_0x2b9b0b),_0x2c46b8(this,_0x400f55(0x3ee)),_0x2c46b8(this,'text'),(this[_0x400f55(0x3ee)]=_0x2b9b0b==null?void 0x0:_0x2b9b0b['color'],this[_0x400f55(0x1ac)]=_0x2b9b0b==null?void 0x0:_0x2b9b0b[_0x400f55(0x1ac)]);}static['drawWith'](_0x420d6a,_0x48907d){const _0x13ff06=_0x18d6ba,{text:_0x58d0e9,color:_0xa043f9}=_0x48907d;_0x420d6a[_0x13ff06(0x271)](),_0x420d6a['font']=_0x13ff06(0x481);const _0x504d86=_0x420d6a[_0x13ff06(0x35a)](_0x58d0e9)[_0x13ff06(0x460)],_0x47a0d2=Math['min'](_0x504d86+0x2*_0x509079,_0x5903b8);_0x1b3a91(_0x420d6a,{'height':_0x3ba8ec,'radius':0x4,'width':_0x47a0d2,'fill':_0xa043f9,'evented':!0x1}),_0x420d6a[_0x13ff06(0x308)]=_0x13ff06(0x228);const _0x20e8fb=_0x509079,_0x222623=_0x3ba8ec-_0x202daa,_0x31ab31=_0x5903b8-0x2*_0x509079;if(_0x504d86>_0x31ab31){let _0x34bc58='',_0x4e651d=0x0;for(const _0x250538 of _0x58d0e9){const _0x4ba0e8=_0x420d6a[_0x13ff06(0x35a)](_0x250538)[_0x13ff06(0x460)];if(_0x4e651d+_0x4ba0e8<=_0x31ab31-_0x420d6a[_0x13ff06(0x35a)](_0x13ff06(0x291))[_0x13ff06(0x460)])_0x34bc58+=_0x250538,_0x4e651d+=_0x4ba0e8;else{_0x34bc58+=_0x13ff06(0x291);break;}}_0x420d6a[_0x13ff06(0x4b3)](_0x34bc58,_0x20e8fb,_0x222623);}else _0x420d6a[_0x13ff06(0x4b3)](_0x58d0e9,_0x20e8fb,_0x222623);_0x420d6a[_0x13ff06(0x44c)]();}[_0x18d6ba(0x4c6)](_0x4edddf){const _0xca3011=_0x18d6ba;_0x609363[_0xca3011(0x3c7)](_0x4edddf,this);}}const _0x268a41=0x1,_0x71257=1.5;class _0xa0f57e extends _0x3b10b4[_0x18d6ba(0x37d)]{constructor(_0x3aa424,_0x502e46){const _0x43b591=_0x18d6ba;super(_0x3aa424,_0x502e46),_0x2c46b8(this,'_color'),_0x2c46b8(this,_0x43b591(0x26c),!0x1),_0x2c46b8(this,_0x43b591(0x216)),_0x2c46b8(this,_0x43b591(0x221),''),_0x2c46b8(this,_0x43b591(0x18f),'top'),_0x2c46b8(this,'_backgroundColor'),(_0x502e46&&this[_0x43b591(0x436)](_0x502e46),this[_0x43b591(0x19e)][_0x43b591(0x209)](()=>this[_0x43b591(0x436)]({'hovered':!0x0})),this[_0x43b591(0x3d6)][_0x43b591(0x209)](()=>this[_0x43b591(0x436)]({'hovered':!0x1})));}[_0x18d6ba(0x436)](_0x1b4717){const _0x5f5036=_0x18d6ba;var _0x4ea7c5,_0x119a17,_0x3d18f1,_0xaa67d0,_0x38ae60,_0x3af28b;this[_0x5f5036(0x488)]=(_0x4ea7c5=_0x1b4717[_0x5f5036(0x3ee)])!=null?_0x4ea7c5:this['_color'],this[_0x5f5036(0x26c)]=(_0x119a17=_0x1b4717[_0x5f5036(0x57f)])!=null?_0x119a17:this[_0x5f5036(0x26c)],this[_0x5f5036(0x216)]=(_0x3d18f1=_0x1b4717['range'])!=null?_0x3d18f1:this[_0x5f5036(0x216)],this[_0x5f5036(0x221)]=(_0xaa67d0=_0x1b4717[_0x5f5036(0x4a1)])!=null?_0xaa67d0:this[_0x5f5036(0x221)],this[_0x5f5036(0x18f)]=(_0x38ae60=_0x1b4717[_0x5f5036(0x48c)])!=null?_0x38ae60:this[_0x5f5036(0x18f)],this[_0x5f5036(0x483)]=(_0x3af28b=_0x1b4717[_0x5f5036(0x47e)])!=null?_0x3af28b:this[_0x5f5036(0x483)],this[_0x5f5036(0x410)]({'width':_0x1b4717[_0x5f5036(0x460)],'height':_0x1b4717['height']});}[_0x18d6ba(0x29b)](_0x11444d){const _0x5c4c33=_0x18d6ba,{row:_0xcf856c,column:_0x38c1b4}=_0x11444d;if(_0xcf856c>=this[_0x5c4c33(0x216)][_0x5c4c33(0x1bc)]&&_0xcf856c<=this[_0x5c4c33(0x216)]['endRow']&&_0x38c1b4>=this['_range'][_0x5c4c33(0x474)]&&_0x38c1b4<=this[_0x5c4c33(0x216)][_0x5c4c33(0x586)]){this[_0x5c4c33(0x436)]({'hovered':!0x0});return;}this[_0x5c4c33(0x436)]({'hovered':!0x1});}[_0x18d6ba(0x4e3)](_0x546005){return!0x1;}[_0x18d6ba(0x4c6)](_0x4cb981){const _0x168b73=_0x18d6ba;_0x3b10b4[_0x168b73(0x3cd)][_0x168b73(0x3c7)](_0x4cb981,{'width':this[_0x168b73(0x460)],'height':this[_0x168b73(0x4c4)],'strokeWidth':_0x71257,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x168b73(0x483)]}),this[_0x168b73(0x26c)]&&(_0x4cb981[_0x168b73(0x271)](),_0x4cb981[_0x168b73(0x1a2)](0x1,0x0,0x0,0x1,this[_0x168b73(0x460)],this['_labelPosition']===_0x168b73(0x519)?0x0:-_0x3ba8ec),_0x609363[_0x168b73(0x3c7)](_0x4cb981,{'text':this[_0x168b73(0x221)],'color':this[_0x168b73(0x488)]}),_0x4cb981[_0x168b73(0x44c)]());}}var _0x45f256=Object[_0x18d6ba(0x272)],_0x3ad4ca=Object[_0x18d6ba(0x3fd)],_0x22cb99=(_0x36b81b,_0x4699ae,_0x3213b2,_0xa5e3c6)=>{const _0x5259c1=_0x18d6ba;for(var _0x5e2722=_0xa5e3c6>0x1?void 0x0:_0xa5e3c6?_0x3ad4ca(_0x4699ae,_0x3213b2):_0x4699ae,_0x1af556=_0x36b81b[_0x5259c1(0x574)]-0x1,_0x5409eb;_0x1af556>=0x0;_0x1af556--)(_0x5409eb=_0x36b81b[_0x1af556])&&(_0x5e2722=(_0xa5e3c6?_0x5409eb(_0x4699ae,_0x3213b2,_0x5e2722):_0x5409eb(_0x5e2722))||_0x5e2722);return _0xa5e3c6&&_0x5e2722&&_0x45f256(_0x4699ae,_0x3213b2,_0x5e2722),_0x5e2722;},_0x4f4b4b=(_0x278177,_0x3b97b5)=>(_0x3551ed,_0x4dc3f3)=>_0x3b97b5(_0x3551ed,_0x4dc3f3,_0x278177);const _0x4f0a15=0x1389;let _0x20a294=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x569c84,_0x421dd0,_0x98dd78,_0x45826a){const _0x55cee3=_0x18d6ba;super(),_0x2c46b8(this,_0x55cee3(0x577),new Set()),_0x2c46b8(this,_0x55cee3(0x30e),null),(this[_0x55cee3(0x430)]=_0x569c84,this['_sheetSkeletonManagerService']=_0x421dd0,this[_0x55cee3(0x527)]=_0x98dd78,this[_0x55cee3(0x313)]=_0x45826a,this[_0x55cee3(0x286)]());}[_0x18d6ba(0x286)](){const _0x492f6b=_0x18d6ba;this[_0x492f6b(0x470)][_0x492f6b(0x459)]['pipe'](_0x267050[_0x492f6b(0x40b)](this[_0x492f6b(0x505)]),_0x267050['switchMap'](_0x3ec787=>{const _0x55bd30=_0x492f6b;if(_0x3ec787){const _0x5b3abf=_0x3ec787[_0x55bd30(0x2dc)];return _0x5cbc6e[_0x55bd30(0x193)](this[_0x55bd30(0x527)]['getCollabCursors$'](this[_0x55bd30(0x430)][_0x55bd30(0x189)]),this[_0x55bd30(0x313)][_0x55bd30(0x3bc)])[_0x55bd30(0x32f)](_0x267050[_0x55bd30(0x343)](([_0x2f12ea,_0x35d791])=>{const _0x5037ef=_0x55bd30,_0x23e2cd=new Map();return _0x2f12ea[_0x5037ef(0x387)]((_0x263aee,_0x4d6042)=>{const _0x448048=_0x5037ef;if(_0x263aee[_0x448048(0x52d)]===_0x5b3abf){const _0x3482c2={..._0x263aee};_0x3482c2[_0x448048(0x3ee)]=_0x35d791[_0x263aee[_0x448048(0x3ee)]],_0x23e2cd[_0x448048(0x2a6)](_0x4d6042,_0x3482c2);}}),{'skeleton':_0x3ec787,'cursors':_0x23e2cd};}));}return _0x5cbc6e['of']({'skeleton':null,'cursors':new Map()});}))[_0x492f6b(0x559)](({skeleton:_0x3d5959,cursors:_0x5bedf9})=>{const _0x577a96=_0x492f6b;this[_0x577a96(0x1d7)](),_0x3d5959&&this['_updateCollabCursors'](_0x3d5959,_0x5bedf9);}),this[_0x492f6b(0x470)][_0x492f6b(0x459)][_0x492f6b(0x559)](_0x83bc04=>{const _0x1e8c6e=_0x492f6b;if(_0x83bc04==null)return;const {skeleton:_0x3a38a9}=_0x83bc04,{scene:_0x154187}=this[_0x1e8c6e(0x430)];_0x154187['onPointerMove$'][_0x1e8c6e(0x209)](_0x58296f(_0x241de5=>{const _0x68282b=_0x1e8c6e;var _0x36f4f7,_0x5bcb97;const {offsetX:_0x592f41,offsetY:_0x3f6016}=_0x241de5,{x:_0x21bac5,y:_0x5d31cd}=_0x154187[_0x68282b(0x226)](_0x3b10b4['Vector2']['FromArray']([_0x592f41,_0x3f6016])),{scaleX:_0x2971d4,scaleY:_0x13d3f2}=_0x154187[_0x68282b(0x1c9)](),_0x178ca4=_0x154187[_0x68282b(0x3a7)](_0xf60f4c['VIEWPORT_KEY'][_0x68282b(0x450)]),_0x2d8467=_0x154187[_0x68282b(0x50e)](_0x3b10b4[_0x68282b(0x36d)][_0x68282b(0x3ce)]([_0x21bac5,_0x5d31cd]),_0x178ca4),_0x3861b1=_0x3a38a9[_0x68282b(0x2cd)](_0x592f41,_0x3f6016,_0x2971d4,_0x13d3f2,_0x2d8467);((_0x36f4f7=this[_0x68282b(0x30e)])==null?void 0x0:_0x36f4f7[_0x68282b(0x48e)])===_0x3861b1[_0x68282b(0x48e)]&&((_0x5bcb97=this[_0x68282b(0x30e)])==null?void 0x0:_0x5bcb97[_0x68282b(0x3a5)])===_0x3861b1[_0x68282b(0x3a5)]||this[_0x68282b(0x577)][_0x68282b(0x387)](_0x579bcc=>{_0x579bcc['onMouseMove'](_0x3861b1);});},0x64));});}['_updateCollabCursors'](_0x15337b,_0x3c7b15){const _0x3d5e09=_0x18d6ba;var _0x3e30b4;const _0x31122b=(_0x3e30b4=this[_0x3d5e09(0x470)][_0x3d5e09(0x4f9)]())==null?void 0x0:_0x3e30b4[_0x3d5e09(0x407)];if(!_0x31122b)return;const _0x529d5e=this[_0x3d5e09(0x3b8)]();if(!_0x529d5e)return;this[_0x3d5e09(0x577)][_0x3d5e09(0x387)](_0x298d08=>{const _0x231155=_0x3d5e09;_0x298d08[_0x231155(0x325)]();});const {scene:_0x1ec809}=_0x529d5e,_0x5973ea=_0xd9d5af(Array[_0x3d5e09(0x44e)](_0x3c7b15[_0x3d5e09(0x2af)]()))[_0x3d5e09(0x343)](_0x549b97=>{const _0x5bccdf=_0x3d5e09,{color:_0x5d8aeb,range:_0x3f6a72,name:_0x2dcfff,selection:_0x32d77d,sheetID:_0x55ec15}=_0x549b97,{startColumn:_0x5601f5,startRow:_0x1aff34,endColumn:_0x51717e,endRow:_0x139de5}=_0x3f6a72,_0x39acbd=_0xf60f4c[_0x5bccdf(0x404)](_0x1aff34,_0x5601f5,_0x1ec809,_0x31122b),_0x3e48f2=_0xf60f4c[_0x5bccdf(0x404)](_0x139de5,_0x51717e,_0x1ec809,_0x31122b),{columnHeaderHeightAndMarginTop:_0x599993}=_0x31122b,{startX:_0x27f09c,startY:_0x26347d}=_0x39acbd,{endX:_0x44f260,endY:_0x294e7c}=_0x3e48f2,_0x44b983=_0x44f260-_0x27f09c,_0x559661=_0x294e7c-_0x26347d,_0x4b9c40={'labelPosition':_0x26347d-_0x599993>=_0x3ba8ec?_0x5bccdf(0x321):_0x5bccdf(0x519),'sheetID':_0x55ec15,'range':_0x3f6a72,'color':_0x5d8aeb,'name':_0x2dcfff,'selection':_0x32d77d,'left':_0x27f09c,'top':_0x26347d,'width':_0x44b983,'height':_0x559661,'evented':!0x1,'zIndex':_0x4f0a15};return new _0xa0f57e(_0x2dcfff,_0x4b9c40);});_0x1ec809[_0x3d5e09(0x494)](_0x5973ea,_0x268a41),this[_0x3d5e09(0x577)]=new Set(_0x5973ea);}[_0x18d6ba(0x1d7)](){const _0x564c18=_0x18d6ba;var _0x13aeb1;(_0x13aeb1=this[_0x564c18(0x577)])==null||_0x13aeb1[_0x564c18(0x387)](_0x4a36e5=>_0x4a36e5['dispose']());}[_0x18d6ba(0x3b8)](){const _0x92dde5=_0x18d6ba;return _0xf60f4c[_0x92dde5(0x2eb)](this['_context'][_0x92dde5(0x1b2)],this[_0x92dde5(0x430)]);}};_0x20a294=_0x22cb99([_0x4f4b4b(0x1,_0x3aaa00['Inject'](_0xf60f4c[_0x18d6ba(0x1b9)])),_0x4f4b4b(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x1fa692)),_0x4f4b4b(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['ThemeService']))],_0x20a294);function _0xd9d5af(_0x44ccff){const _0x218aa6=_0x18d6ba,_0x279259=new Map();return _0x44ccff['forEach'](_0x3b23ff=>{const _0x1f55b9=_0x3d0e;if(_0x279259[_0x1f55b9(0x443)](_0x3b23ff[_0x1f55b9(0x3f5)])){const _0xff9bb=_0x279259[_0x1f55b9(0x3e4)](_0x3b23ff['selection']);_0xff9bb[_0x1f55b9(0x4a1)]+=',\x20'+_0x3b23ff['name'];}else _0x279259['set'](_0x3b23ff[_0x1f55b9(0x3f5)],_0x3b23ff);}),Array[_0x218aa6(0x44e)](_0x279259['values']());}var _0x49b39b=function(){const _0x2c62a5=_0x18d6ba;return _0x49b39b=Object[_0x2c62a5(0x2df)]||function(_0x45cc6f){const _0x46d348=_0x2c62a5;for(var _0x47b331,_0x19190a=0x1,_0x3660e0=arguments[_0x46d348(0x574)];_0x19190a<_0x3660e0;_0x19190a++){_0x47b331=arguments[_0x19190a];for(var _0x3aa2ea in _0x47b331)Object['prototype'][_0x46d348(0x3c3)]['call'](_0x47b331,_0x3aa2ea)&&(_0x45cc6f[_0x3aa2ea]=_0x47b331[_0x3aa2ea]);}return _0x45cc6f;},_0x49b39b['apply'](this,arguments);},_0x168ebb=function(_0x418c52,_0x9356f2){const _0x4a502a=_0x18d6ba;var _0x46fc32={};for(var _0x93e3a in _0x418c52)Object[_0x4a502a(0x58b)]['hasOwnProperty'][_0x4a502a(0x2f7)](_0x418c52,_0x93e3a)&&_0x9356f2['indexOf'](_0x93e3a)<0x0&&(_0x46fc32[_0x93e3a]=_0x418c52[_0x93e3a]);if(_0x418c52!=null&&typeof Object['getOwnPropertySymbols']==_0x4a502a(0x1b6)){for(var _0x8a8164=0x0,_0x93e3a=Object[_0x4a502a(0x284)](_0x418c52);_0x8a8164<_0x93e3a[_0x4a502a(0x574)];_0x8a8164++)_0x9356f2[_0x4a502a(0x251)](_0x93e3a[_0x8a8164])<0x0&&Object[_0x4a502a(0x58b)][_0x4a502a(0x469)][_0x4a502a(0x2f7)](_0x418c52,_0x93e3a[_0x8a8164])&&(_0x46fc32[_0x93e3a[_0x8a8164]]=_0x418c52[_0x93e3a[_0x8a8164]]);}return _0x46fc32;},_0x29b411=_0x349b95[_0x18d6ba(0x257)](function(_0xdd8128,_0x108bde){const _0x1504c3=_0x18d6ba;var _0x246ec2=_0xdd8128[_0x1504c3(0x2d9)],_0x1eb697=_0xdd8128['id'],_0x2932bd=_0xdd8128['className'],_0x3c1c16=_0xdd8128[_0x1504c3(0x2b7)],_0x55a496=_0x168ebb(_0xdd8128,[_0x1504c3(0x2d9),'id','className',_0x1504c3(0x2b7)]),_0x5f4405=_0x1504c3(0x245)[_0x1504c3(0x515)](_0x1eb697,'\x20')['concat'](_0x2932bd||'')['trim'](),_0x57bb9d=_0x349b95[_0x1504c3(0x4bc)]('_'['concat'](_0x94eb3d()));return _0x57f963(_0x246ec2,''['concat'](_0x1eb697),{'defIds':_0x246ec2[_0x1504c3(0x2f9)],'idSuffix':_0x57bb9d['current']},_0x49b39b({'ref':_0x108bde,'className':_0x5f4405},_0x55a496),_0x3c1c16);});function _0x57f963(_0x472f04,_0x5416e0,_0x922b1c,_0x3c6e2a,_0x5ca0d2){const _0x110463=_0x18d6ba;return _0x349b95[_0x110463(0x4e0)](_0x472f04[_0x110463(0x448)],_0x49b39b(_0x49b39b({'key':_0x5416e0},_0x4cab26(_0x472f04,_0x922b1c,_0x5ca0d2)),_0x3c6e2a),(_0x1902ff(_0x472f04,_0x922b1c)[_0x110463(0x211)]||[])[_0x110463(0x343)](function(_0xad16c1,_0xc8b8b4){const _0x560659=_0x110463;return _0x57f963(_0xad16c1,''[_0x560659(0x515)](_0x5416e0,'-')[_0x560659(0x515)](_0x472f04['tag'],'-')[_0x560659(0x515)](_0xc8b8b4),_0x922b1c,void 0x0,_0x5ca0d2);}));}function _0x4cab26(_0x589fad,_0x210f15,_0x1734a1){const _0x2f7caa=_0x18d6ba;var _0x52623d=_0x49b39b({},_0x589fad[_0x2f7caa(0x354)]);_0x1734a1!=null&&_0x1734a1[_0x2f7caa(0x373)]&&_0x52623d['fill']===_0x2f7caa(0x373)&&(_0x52623d[_0x2f7caa(0x1a0)]=_0x1734a1['colorChannel1']);var _0x14827f=_0x210f15[_0x2f7caa(0x2f9)];return!_0x14827f||_0x14827f[_0x2f7caa(0x574)]===0x0||(_0x589fad[_0x2f7caa(0x448)]===_0x2f7caa(0x1b1)&&_0x52623d['xlink:href']&&(_0x52623d[_0x2f7caa(0x4a4)]=_0x52623d['xlink:href']+_0x210f15[_0x2f7caa(0x218)]),Object['entries'](_0x52623d)[_0x2f7caa(0x387)](function(_0x349637){const _0x438977=_0x2f7caa;var _0xcc23fb=_0x349637[0x0],_0x400012=_0x349637[0x1];typeof _0x400012==_0x438977(0x1be)&&(_0x52623d[_0xcc23fb]=_0x400012['replace'](/url\(#(.*)\)/,_0x438977(0x2ee)[_0x438977(0x515)](_0x210f15[_0x438977(0x218)],')')));})),_0x52623d;}function _0x1902ff(_0x340d9c,_0x257862){const _0x4775e2=_0x18d6ba;var _0x56fd04,_0x4e4e17=_0x257862[_0x4775e2(0x2f9)];return!_0x4e4e17||_0x4e4e17['length']===0x0?_0x340d9c:_0x340d9c[_0x4775e2(0x448)]==='defs'&&(!((_0x56fd04=_0x340d9c[_0x4775e2(0x211)])===null||_0x56fd04===void 0x0)&&_0x56fd04[_0x4775e2(0x574)])?_0x49b39b(_0x49b39b({},_0x340d9c),{'children':_0x340d9c[_0x4775e2(0x211)]['map'](function(_0x235495){const _0x84125d=_0x4775e2;return typeof _0x235495[_0x84125d(0x354)]['id']==_0x84125d(0x1be)&&_0x4e4e17&&_0x4e4e17[_0x84125d(0x251)](_0x235495[_0x84125d(0x354)]['id'])>-0x1?_0x49b39b(_0x49b39b({},_0x235495),{'attrs':_0x49b39b(_0x49b39b({},_0x235495[_0x84125d(0x354)]),{'id':_0x235495[_0x84125d(0x354)]['id']+_0x257862[_0x84125d(0x218)]})}):_0x235495;})}):_0x340d9c;}function _0x94eb3d(){const _0x468abd=_0x18d6ba;return Math[_0x468abd(0x468)]()[_0x468abd(0x1fb)](0x24)[_0x468abd(0x1ba)](0x2,0x8);}_0x29b411[_0x18d6ba(0x319)]=_0x18d6ba(0x4c2);var _0xb4579a={'tag':'svg','attrs':{'fill':'none','viewBox':_0x18d6ba(0x36b),'width':'1em','height':_0x18d6ba(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'stroke':_0x18d6ba(0x4c8),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x18d6ba(0x584),'strokeLinejoin':_0x18d6ba(0x584),'strokeWidth':1.2}}]},{'tag':_0x18d6ba(0x46c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18d6ba(0x21f)},'children':[{'tag':'path','attrs':{'fill':_0x18d6ba(0x2e7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18d6ba(0x21f)]},_0x3bb149=_0x349b95[_0x18d6ba(0x257)](function(_0x2b97a4,_0x1d88f9){const _0x415ff4=_0x18d6ba;return _0x349b95[_0x415ff4(0x4e0)](_0x29b411,Object[_0x415ff4(0x2df)]({},_0x2b97a4,{'id':'off-line-single','ref':_0x1d88f9,'icon':_0xb4579a}));});_0x3bb149[_0x18d6ba(0x319)]=_0x18d6ba(0x1dd);var _0x31c5e0={'tag':_0x18d6ba(0x4f1),'attrs':{'fill':_0x18d6ba(0x4db),'viewBox':'0\x200\x2017\x2016','width':_0x18d6ba(0x1f9),'height':_0x18d6ba(0x1f9)},'children':[{'tag':'g','attrs':{'clipPath':_0x18d6ba(0x1c0)},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'stroke':_0x18d6ba(0x4c8),'d':_0x18d6ba(0x52a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18d6ba(0x46c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18d6ba(0x1e4)},'children':[{'tag':_0x18d6ba(0x364),'attrs':{'fill':_0x18d6ba(0x2e7),'d':_0x18d6ba(0x511),'transform':_0x18d6ba(0x29c)}}]}]}],'defIds':[_0x18d6ba(0x1e4)]},_0x5b5bb6=_0x349b95[_0x18d6ba(0x257)](function(_0xe36e97,_0x35f9ce){const _0x341c14=_0x18d6ba;return _0x349b95['createElement'](_0x29b411,Object[_0x341c14(0x2df)]({},_0xe36e97,{'id':_0x341c14(0x4f5),'ref':_0x35f9ce,'icon':_0x31c5e0}));});_0x5b5bb6[_0x18d6ba(0x319)]=_0x18d6ba(0x41b);const _0x3eee85={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x18d6ba(0x4cc),'onlineStatus':_0x18d6ba(0x357),'online':_0x18d6ba(0x24c),'offline':_0x18d6ba(0x24a)};function _0x215982(_0x1a59c6){const _0x13ce70=_0x18d6ba;switch(_0x1a59c6){case _0x2232ef[_0x13ce70(0x1f8)]:return _0x13ce70(0x418);case _0x2232ef[_0x13ce70(0x566)]:return _0x13ce70(0x547);case _0x2232ef[_0x13ce70(0x447)]:return _0x13ce70(0x4d9);case _0x2232ef['NOT_COLLAB']:return'collabStatus.notCollab';case _0x2232ef[_0x13ce70(0x1ed)]:case _0x2232ef['AWAITING']:case _0x2232ef[_0x13ce70(0x55e)]:return _0x13ce70(0x402);case _0x2232ef[_0x13ce70(0x274)]:return _0x13ce70(0x49a);}}function _0x89a6f8(_0x55f049){const _0x4b104b=_0x18d6ba,{status$:_0x32c388}=_0x55f049,_0x27c032=_0x2b4c8d['useObservable'](_0x32c388,_0x2232ef[_0x4b104b(0x1e5)]),_0x58f668=_0x3aaa00[_0x4b104b(0x258)](_0x3aaa00[_0x4b104b(0x591)]),_0x5405cc=_0x27c032!==_0x2232ef['OFFLINE'],_0x833f78=_0x58f668['t'](_0x215982(_0x27c032)),_0x1493de=_0x3adb83(_0x3eee85['onlineStatus'],{[_0x3eee85[_0x4b104b(0x1cf)]]:_0x5405cc,[_0x3eee85['offline']]:!_0x5405cc}),_0x486fdf=_0x5405cc?_0x349b95[_0x4b104b(0x4e0)](_0x5b5bb6,null):_0x349b95['createElement'](_0x3bb149,null);return _0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x1493de},_0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x3eee85[_0x4b104b(0x41c)]},_0x486fdf),_0x349b95[_0x4b104b(0x4e0)](_0x4b104b(0x1f2),{'className':_0x3eee85[_0x4b104b(0x590)]},_0x833f78));}var _0x5c78f9=Object[_0x18d6ba(0x272)],_0x5e6573=Object[_0x18d6ba(0x3fd)],_0x157234=(_0x1e00f5,_0x27e2f5,_0x3b99e0,_0x38cb25)=>{for(var _0x3b5c3f=_0x38cb25>0x1?void 0x0:_0x38cb25?_0x5e6573(_0x27e2f5,_0x3b99e0):_0x27e2f5,_0x4ef620=_0x1e00f5['length']-0x1,_0x4c8b46;_0x4ef620>=0x0;_0x4ef620--)(_0x4c8b46=_0x1e00f5[_0x4ef620])&&(_0x3b5c3f=(_0x38cb25?_0x4c8b46(_0x27e2f5,_0x3b99e0,_0x3b5c3f):_0x4c8b46(_0x3b5c3f))||_0x3b5c3f);return _0x38cb25&&_0x3b5c3f&&_0x5c78f9(_0x27e2f5,_0x3b99e0,_0x3b5c3f),_0x3b5c3f;},_0x158d1e=(_0x1ac5b3,_0xe51c39)=>(_0x426b1b,_0x4a1624)=>_0xe51c39(_0x426b1b,_0x4a1624,_0x1ac5b3);_0x4c54a0['DesktopCollaborationStatusDisplayController']=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x5e9060,_0x15ebc0,_0x880139,_0x2bd51e){const _0x3b722a=_0x18d6ba;super(),_0x2c46b8(this,'_status$',new _0x5cbc6e['BehaviorSubject'](_0x2232ef[_0x3b722a(0x1e5)])),(this[_0x3b722a(0x318)]=_0x5e9060,this[_0x3b722a(0x4da)]=_0x15ebc0,this['_injector']=_0x880139,this[_0x3b722a(0x524)]=_0x2bd51e,this['_initStatusComponent'](),this[_0x3b722a(0x238)]());}[_0x18d6ba(0x428)](){const _0x8ab593=_0x18d6ba;this[_0x8ab593(0x43a)](this['_uiPartsService']['registerComponent'](_0x2b4c8d[_0x8ab593(0x3bf)]['HEADER_MENU'],()=>_0x3aaa00[_0x8ab593(0x4a2)](_0x157b44({'status$':this['_status$'][_0x8ab593(0x28c)]()}),this['_injector'])));}[_0x18d6ba(0x238)](){const _0x32af6e=_0x18d6ba;this[_0x32af6e(0x43a)](_0x3aaa00[_0x32af6e(0x1cd)](this[_0x32af6e(0x318)][_0x32af6e(0x204)][_0x32af6e(0x32f)](_0x5cbc6e[_0x32af6e(0x546)](()=>{const _0x473a8c=_0x32af6e,_0x1a05d0=this[_0x473a8c(0x318)]['getFocusedUnit']();return _0x1a05d0?this['_collaborationController'][_0x473a8c(0x45b)](_0x1a05d0[_0x473a8c(0x4b6)]()):_0x5cbc6e['of'](null);}),_0x5cbc6e['switchMap'](_0x4ec44b=>_0x4ec44b?_0x4ec44b[_0x32af6e(0x503)]:_0x5cbc6e['of'](_0x2232ef['NOT_COLLAB'])))['subscribe'](_0x52b81d=>{const _0x3074e5=_0x32af6e;this[_0x3074e5(0x225)]['next'](_0x52b81d);})));}},_0x4c54a0[_0x18d6ba(0x235)]=_0x157234([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x4c54a0[_0x18d6ba(0x235)]),_0x158d1e(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x158d1e(0x1,_0x2b4c8d[_0x18d6ba(0x3dd)]),_0x158d1e(0x2,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x158d1e(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationController']))],_0x4c54a0[_0x18d6ba(0x235)]);function _0x157b44(_0x3b7c63){const {status$:_0x365848}=_0x3b7c63;return function(){return _0x349b95['createElement'](_0x89a6f8,{'status$':_0x365848});};}const _0x44b27e=_0x3aaa00[_0x18d6ba(0x3be)]('uni.network.url-service');var _0x188697=Object['defineProperty'],_0x1894d9=Object[_0x18d6ba(0x3fd)],_0x2d9aab=(_0x2f0099,_0x3a53ca,_0x156b1b,_0x59dd45)=>{for(var _0x26b0b3=_0x59dd45>0x1?void 0x0:_0x59dd45?_0x1894d9(_0x3a53ca,_0x156b1b):_0x3a53ca,_0x2405c3=_0x2f0099['length']-0x1,_0xa9637a;_0x2405c3>=0x0;_0x2405c3--)(_0xa9637a=_0x2f0099[_0x2405c3])&&(_0x26b0b3=(_0x59dd45?_0xa9637a(_0x3a53ca,_0x156b1b,_0x26b0b3):_0xa9637a(_0x26b0b3))||_0x26b0b3);return _0x59dd45&&_0x26b0b3&&_0x188697(_0x3a53ca,_0x156b1b,_0x26b0b3),_0x26b0b3;},_0x54d5fb=(_0x518f69,_0x17e205)=>(_0xb096ac,_0x13c84e)=>_0x17e205(_0xb096ac,_0x13c84e,_0x518f69);_0x4c54a0[_0x18d6ba(0x24d)]=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x33072c,_0x1fcad1,_0xd4cfcd,_0x204453,_0xfd181d,_0x1a29f2){const _0x2dbc7d=_0x18d6ba;super(),this['_urlService']=_0x33072c,this[_0x2dbc7d(0x36e)]=_0x1fcad1,this[_0x2dbc7d(0x513)]=_0xd4cfcd,this[_0x2dbc7d(0x4bf)]=_0x204453,this[_0x2dbc7d(0x51a)]=_0xfd181d,_0x1a29f2?_0x1a29f2==null||_0x1a29f2[_0x2dbc7d(0x3a2)]()['then'](()=>this[_0x2dbc7d(0x286)]()):(this[_0x2dbc7d(0x36e)]['debug'](_0x2dbc7d(0x3b6),_0x2dbc7d(0x40d)),this[_0x2dbc7d(0x286)]());}async[_0x18d6ba(0x286)](){const _0x1ef4fb=_0x18d6ba,_0x3bd779=this[_0x1ef4fb(0x569)][_0x1ef4fb(0x2f6)](_0x1ef4fb(0x1b2)),_0x475037=this[_0x1ef4fb(0x569)][_0x1ef4fb(0x2f6)](_0x1ef4fb(0x543));if(!_0x3bd779||!_0x475037){this['_logService'][_0x1ef4fb(0x3bd)](_0x1ef4fb(0x3b6),_0x1ef4fb(0x389));return;}switch(Number(_0x475037)){case _0x3a110c[_0x1ef4fb(0x18a)]:{const _0x36eb14=await this['_loadSheet'](_0x3bd779);this[_0x1ef4fb(0x375)](_0x36eb14);break;}case _0x3a110c[_0x1ef4fb(0x4c1)]:{await this[_0x1ef4fb(0x31c)](_0x3bd779);break;}default:{this[_0x1ef4fb(0x36e)][_0x1ef4fb(0x4ae)](_0x1ef4fb(0x3b6),_0x1ef4fb(0x47d));break;}}}async[_0x18d6ba(0x375)](_0x1f0984){const _0x139240=_0x18d6ba;await this['_updateSubUnitFromURLParams'](_0x1f0984),_0x1f0984[_0x139240(0x4f6)][_0x139240(0x32f)](_0x5cbc6e[_0x139240(0x40b)](this[_0x139240(0x505)]))[_0x139240(0x559)](_0x18d97f=>{_0x18d97f&&this['_updateURLWithCurrentState'](_0x18d97f);}),this['_urlService']['urlChange$'][_0x139240(0x32f)](_0x5cbc6e[_0x139240(0x40b)](this['dispose$']))[_0x139240(0x559)](()=>this['_updateSubUnitFromURLParams'](_0x1f0984));}[_0x18d6ba(0x1ca)](_0x50060f,_0x3e69be=!0x1){const _0x26d95b=_0x18d6ba,_0x217a99=this[_0x26d95b(0x569)][_0x26d95b(0x2f6)](_0x26d95b(0x27b));_0x50060f['getSheetId']()!==_0x217a99&&this[_0x26d95b(0x569)][_0x26d95b(0x1c2)]('subunit',_0x50060f[_0x26d95b(0x1fa)](),_0x3e69be);}async[_0x18d6ba(0x231)](_0x5ef10b){const _0x47dc5c=_0x18d6ba;var _0x5a026a;const _0x5ded11=this[_0x47dc5c(0x569)][_0x47dc5c(0x2f6)]('subunit');if(!_0x5ded11||!_0x5ef10b[_0x47dc5c(0x3f6)](_0x5ded11)){const _0x22e6cc=_0x5ef10b['getUnhiddenWorksheets']()[0x0],_0x3d8b2e=_0x5ef10b[_0x47dc5c(0x3f6)](_0x22e6cc);if(!_0x3d8b2e)return;this[_0x47dc5c(0x1ca)](_0x3d8b2e,!0x0),await this['_commandService']['executeCommand'](_0x459c9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x5ef10b[_0x47dc5c(0x4b6)](),'subUnitId':_0x22e6cc});return;}((_0x5a026a=_0x5ef10b[_0x47dc5c(0x2ac)]())==null?void 0x0:_0x5a026a['getSheetId']())!==_0x5ded11&&await this[_0x47dc5c(0x513)][_0x47dc5c(0x2e9)](_0x459c9c[_0x47dc5c(0x518)]['id'],{'unitId':_0x5ef10b['getUnitId'](),'subUnitId':_0x5ded11});}async['_loadSheet'](_0x11a9d2){const _0x4fd956=_0x18d6ba;let _0x443049=0x0;const _0x2d2309=await this[_0x4fd956(0x4bf)][_0x4fd956(0x1ee)](_0x11a9d2);return _0x2d2309&&(_0x2d2309['awaitingChangeset']||_0x2d2309[_0x4fd956(0x2fb)][_0x4fd956(0x574)]!==0x0)&&(_0x443049=_0x2d2309[_0x4fd956(0x39c)]),_0x443049===0x0&&this[_0x4fd956(0x36e)][_0x4fd956(0x3bd)](_0x4fd956(0x3b6),_0x4fd956(0x3e8)),this[_0x4fd956(0x51a)][_0x4fd956(0x2bc)](_0x11a9d2,_0x443049);}async['_loadDoc'](_0xce2779){const _0x1a48d9=_0x18d6ba;let _0x1b8411=0x0;const _0xfb34bc=await this[_0x1a48d9(0x4bf)][_0x1a48d9(0x1ee)](_0xce2779);return _0xfb34bc&&(_0xfb34bc[_0x1a48d9(0x264)]||_0xfb34bc[_0x1a48d9(0x2fb)][_0x1a48d9(0x574)]!==0x0)&&(_0x1b8411=_0xfb34bc[_0x1a48d9(0x39c)]),_0x1b8411===0x0&&this[_0x1a48d9(0x36e)][_0x1a48d9(0x3bd)]('[DataLoaderController]',_0x1a48d9(0x3e8)),this[_0x1a48d9(0x51a)][_0x1a48d9(0x526)](_0xce2779,_0x1b8411);}},_0x4c54a0['DataLoaderController']=_0x2d9aab([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)]['Starting'],_0x4c54a0[_0x18d6ba(0x24d)]),_0x54d5fb(0x0,_0x44b27e),_0x54d5fb(0x1,_0x3aaa00[_0x18d6ba(0x42a)]),_0x54d5fb(0x2,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x54d5fb(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0[_0x18d6ba(0x362)])),_0x54d5fb(0x4,_0x3aaa00[_0x18d6ba(0x1de)](_0x4d4d9d[_0x18d6ba(0x3ab)])),_0x54d5fb(0x5,_0x3aaa00[_0x18d6ba(0x409)](_0x2a45ef[_0x18d6ba(0x344)]))],_0x4c54a0[_0x18d6ba(0x24d)]);var _0x5b60dd=Object[_0x18d6ba(0x272)],_0x547ef0=Object[_0x18d6ba(0x3fd)],_0x37faad=(_0x42fd68,_0x4a4dac,_0x5b6e22,_0x109673)=>{const _0x1570ff=_0x18d6ba;for(var _0x4b998c=_0x109673>0x1?void 0x0:_0x109673?_0x547ef0(_0x4a4dac,_0x5b6e22):_0x4a4dac,_0x3117c2=_0x42fd68[_0x1570ff(0x574)]-0x1,_0xb5fb23;_0x3117c2>=0x0;_0x3117c2--)(_0xb5fb23=_0x42fd68[_0x3117c2])&&(_0x4b998c=(_0x109673?_0xb5fb23(_0x4a4dac,_0x5b6e22,_0x4b998c):_0xb5fb23(_0x4b998c))||_0x4b998c);return _0x109673&&_0x4b998c&&_0x5b60dd(_0x4a4dac,_0x5b6e22,_0x4b998c),_0x4b998c;},_0x2d70cb=(_0x39b5ad,_0x37ea42)=>(_0x1cfa88,_0x30a121)=>_0x37ea42(_0x1cfa88,_0x30a121,_0x39b5ad);const _0x3a025c=_0x18d6ba(0x38b),_0x58b20a=_0x18d6ba(0x408);let _0x22268e=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x1177cc,_0x46afc1){const _0x1a8fea=_0x18d6ba;super(),this[_0x1a8fea(0x318)]=_0x1177cc,this['_configService']=_0x46afc1,this['_init']();}[_0x18d6ba(0x286)](){const _0x2edb20=_0x18d6ba;this['disposeWithMe'](_0x3aaa00[_0x2edb20(0x1cd)](this[_0x2edb20(0x318)][_0x2edb20(0x204)][_0x2edb20(0x559)](()=>{const _0x5f3c8b=_0x2edb20;var _0xfefd7a;const _0x3ec078=this[_0x5f3c8b(0x318)]['getFocusedUnit']();let _0x539d4c=(_0xfefd7a=this[_0x5f3c8b(0x394)]['getConfig'](_0x3a025c))!=null?_0xfefd7a:_0x58b20a;_0x3ec078 instanceof _0x3aaa00[_0x5f3c8b(0x2c9)]&&(_0x539d4c=_0x3ec078[_0x5f3c8b(0x4a1)]),document[_0x5f3c8b(0x3f7)]=_0x539d4c;})));}};_0x22268e=_0x37faad([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x480)],_0x22268e),_0x2d70cb(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x2d70cb(0x1,_0x3aaa00[_0x18d6ba(0x195)])],_0x22268e);var _0x3c0ae4=Object[_0x18d6ba(0x272)],_0x4be4bc=Object[_0x18d6ba(0x3fd)],_0x1b019f=(_0x12d521,_0x42eb87,_0x51a2e2,_0x50a76d)=>{const _0x36750c=_0x18d6ba;for(var _0x55f5df=_0x50a76d>0x1?void 0x0:_0x50a76d?_0x4be4bc(_0x42eb87,_0x51a2e2):_0x42eb87,_0x287e1f=_0x12d521[_0x36750c(0x574)]-0x1,_0x4b9215;_0x287e1f>=0x0;_0x287e1f--)(_0x4b9215=_0x12d521[_0x287e1f])&&(_0x55f5df=(_0x50a76d?_0x4b9215(_0x42eb87,_0x51a2e2,_0x55f5df):_0x4b9215(_0x55f5df))||_0x55f5df);return _0x50a76d&&_0x55f5df&&_0x3c0ae4(_0x42eb87,_0x51a2e2,_0x55f5df),_0x55f5df;},_0x1bee37=(_0x46aff3,_0x4e1c51)=>(_0x3f3bbf,_0x244f39)=>_0x4e1c51(_0x3f3bbf,_0x244f39,_0x46aff3);_0x4c54a0[_0x18d6ba(0x214)]=class{constructor(_0x193ab1,_0x221568){const _0xee6bb=_0x18d6ba;this[_0xee6bb(0x394)]=_0x193ab1,this[_0xee6bb(0x479)]=_0x221568;}async[_0x18d6ba(0x3fa)](_0x57056a,_0x340ea3){const _0x30ed11=_0x18d6ba;var _0x4a1767;const {unitID:_0x1d48cf,type:_0x19c255,revision:_0x21bde7=0x0}=_0x340ea3,_0xf0abfc=this[_0x30ed11(0x369)]()+'/'+_0x19c255+'/unit/'+_0x1d48cf+_0x30ed11(0x445)+_0x21bde7,_0x31c488=(await this[_0x30ed11(0x479)][_0x30ed11(0x3e4)](_0xf0abfc))['body'],_0x3b24bc=(_0x4a1767=_0x31c488['snapshot'])==null?void 0x0:_0x4a1767[_0x30ed11(0x34f)];if(_0x3b24bc){const _0xf6e430=_0x3b24bc==null?void 0x0:_0x3b24bc[_0x30ed11(0x1cb)],_0xd873af=_0x3aaa00[_0x30ed11(0x571)][_0x30ed11(0x262)](_0x3aaa00['b64DecodeUnicode'](_0xf6e430));_0x3b24bc[_0x30ed11(0x1cb)]=_0xd873af,Object[_0x30ed11(0x1aa)](_0x3b24bc['sheets'])['forEach'](([,_0x4e3880])=>{const _0x3771d3=_0x30ed11,_0x1735c3=_0x4e3880[_0x3771d3(0x1cb)],_0x44face=_0x3aaa00[_0x3771d3(0x571)]['encode'](_0x3aaa00[_0x3771d3(0x36c)](_0x1735c3));_0x4e3880['originalMeta']=_0x44face;});}return _0x31c488;}async[_0x18d6ba(0x4d5)](_0x18de2c,_0x2af26b){const _0x50e7c5=_0x18d6ba,{unitID:_0xe8c413,type:_0x1f8133,blockID:_0x2b6b20}=_0x2af26b,_0x8abdaa=this[_0x50e7c5(0x49d)]()+'/'+_0x1f8133+_0x50e7c5(0x37c)+_0xe8c413+_0x50e7c5(0x280)+_0x2b6b20;return(await this[_0x50e7c5(0x479)]['get'](_0x8abdaa))['body'];}async['fetchMissingChangesets'](_0x130aca,_0x1dd9b1){const _0xb8a1=_0x18d6ba,{unitID:_0x42996a,type:_0x156532,from:_0x41279b,to:_0x4e7023}=_0x1dd9b1,_0x31e296=this[_0xb8a1(0x49d)]()+'/'+_0x156532+_0xb8a1(0x37c)+_0x42996a+_0xb8a1(0x2f1)+_0x41279b+_0xb8a1(0x205)+_0x4e7023;return(await this[_0xb8a1(0x479)][_0xb8a1(0x3e4)](_0x31e296))[_0xb8a1(0x411)];}[_0x18d6ba(0x369)](){const _0x5371a6=_0x18d6ba;var _0xf88878;return(_0xf88878=this[_0x5371a6(0x394)][_0x5371a6(0x499)](_0x37c740))!=null?_0xf88878:this[_0x5371a6(0x49d)]();}['_getAPIPrefix'](){const _0x33ec5c=_0x18d6ba;var _0x2f898f;return(_0x2f898f=this[_0x33ec5c(0x394)]['getConfig'](_0x4bec73))!=null?_0x2f898f:_0x4e3762;}async['getResourcesRequest'](_0x54104d,_0x2858f3){const _0x2f4e02=_0x18d6ba,_0x282064='/universer-api/snapshot/'+_0x2858f3[_0x2f4e02(0x543)]+_0x2f4e02(0x37c)+_0x2858f3[_0x2f4e02(0x4bb)]+_0x2f4e02(0x2b1);return(await this[_0x2f4e02(0x479)][_0x2f4e02(0x3e4)](_0x282064,{'params':{'resourceId':JSON['stringify'](_0x2858f3[_0x2f4e02(0x579)])}}))['body'];}[_0x18d6ba(0x24e)](){const _0x228214=_0x18d6ba;throw new Error(_0x228214(0x377));}[_0x18d6ba(0x1d4)](){const _0x42f930=_0x18d6ba;throw new Error(_0x42f930(0x377));}[_0x18d6ba(0x1da)](){const _0x501563=_0x18d6ba;throw new Error(_0x501563(0x377));}},_0x4c54a0[_0x18d6ba(0x214)]=_0x1b019f([_0x1bee37(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x1bee37(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)]))],_0x4c54a0[_0x18d6ba(0x214)]);var _0x2deaad=Object['defineProperty'],_0x4f2f88=Object[_0x18d6ba(0x3fd)],_0x441435=(_0x19855e,_0x5af1ea,_0x1026ae,_0x5092a9)=>{const _0x15fd47=_0x18d6ba;for(var _0x5e2f07=_0x5092a9>0x1?void 0x0:_0x5092a9?_0x4f2f88(_0x5af1ea,_0x1026ae):_0x5af1ea,_0x13d092=_0x19855e[_0x15fd47(0x574)]-0x1,_0x52b117;_0x13d092>=0x0;_0x13d092--)(_0x52b117=_0x19855e[_0x13d092])&&(_0x5e2f07=(_0x5092a9?_0x52b117(_0x5af1ea,_0x1026ae,_0x5e2f07):_0x52b117(_0x5e2f07))||_0x5e2f07);return _0x5092a9&&_0x5e2f07&&_0x2deaad(_0x5af1ea,_0x1026ae,_0x5e2f07),_0x5e2f07;},_0x542ef3=(_0x32733e,_0x36f6e8)=>(_0x12aa75,_0x3e25b0)=>_0x36f6e8(_0x12aa75,_0x3e25b0,_0x32733e);let _0x3ff707=class extends _0x3aaa00[_0x18d6ba(0x4f3)]{constructor(_0x2cbe07,_0x565e94,_0xb36090,_0x5741bf,_0x525680){const _0xb3a74e=_0x18d6ba;super(_0x2cbe07,_0x565e94,_0xb36090),this[_0xb3a74e(0x45d)]=_0x5741bf,this[_0xb3a74e(0x36e)]=_0x525680;}[_0x18d6ba(0x4e6)](_0x85859,_0x4336a0){const _0x147a55=_0x18d6ba,_0x2226e2=this[_0x147a55(0x478)](_0x85859);if(_0x2226e2)try{const _0x5a1b83=this[_0x147a55(0x4d0)](_0x2226e2,_0x4336a0);this[_0x147a55(0x269)](_0x85859,_0x5a1b83);}catch(_0x5ac90d){this[_0x147a55(0x36e)][_0x147a55(0x4ae)](_0x147a55(0x1a8),_0x5ac90d),this[_0x147a55(0x555)](_0x85859);}const _0x103f74=this[_0x147a55(0x3e5)](_0x85859);if(_0x103f74)try{const _0x3dab45=this[_0x147a55(0x4d0)](_0x103f74,_0x4336a0);this[_0x147a55(0x46a)](_0x85859,_0x3dab45);}catch(_0xe4169d){this[_0x147a55(0x36e)][_0x147a55(0x4ae)](_0xe4169d),this[_0x147a55(0x563)](_0x85859);}}['_clearUndo'](_0x4e26d2){const _0x45e121=_0x18d6ba,_0x39c336=this[_0x45e121(0x478)](_0x4e26d2);_0x39c336&&(_0x39c336[_0x45e121(0x574)]=0x0,this[_0x45e121(0x230)]());}[_0x18d6ba(0x563)](_0x3db3e5){const _0x1aa28e=_0x18d6ba,_0x47293a=this[_0x1aa28e(0x3e5)](_0x3db3e5);_0x47293a&&(_0x47293a[_0x1aa28e(0x574)]=0x0,this[_0x1aa28e(0x230)]());}['_substituteUndoStack'](_0x413118,_0xb5636b){const _0x5bbb6b=_0x18d6ba;this['_undoStacks']['set'](_0x413118,_0xb5636b),this[_0x5bbb6b(0x230)]();}[_0x18d6ba(0x46a)](_0x8989cf,_0x47b0b7){const _0x1c5ae8=_0x18d6ba;this['_redoStacks'][_0x1c5ae8(0x2a6)](_0x8989cf,_0x47b0b7),this[_0x1c5ae8(0x230)]();}[_0x18d6ba(0x4d0)](_0x250975,_0x364885){const _0x571b18=_0x18d6ba,_0x10f61a=[];let _0x71bef1=_0x364885,_0x57e231=_0x364885;for(let _0x34e95f=_0x250975[_0x571b18(0x574)]-0x1;_0x34e95f>=0x0;_0x34e95f--){const {unitID:_0x224dc3,undoMutations:_0x298a99,redoMutations:_0x341c8b}=_0x250975[_0x34e95f],_0x2e97ba=this[_0x571b18(0x45d)][_0x571b18(0x588)](_0x71bef1,_0x298a99),_0x3b589f=this[_0x571b18(0x45d)]['transformMutationsWithChangeset'](_0x57e231,_0x341c8b);if(_0x4d4d9d[_0x571b18(0x336)](_0x2e97ba)||_0x4d4d9d[_0x571b18(0x336)](_0x3b589f)){this['_logService'][_0x571b18(0x4ae)](_0x571b18(0x1a8),'transformStack\x20failed!',_0x2e97ba,_0x3b589f);break;}_0x71bef1=_0x2e97ba[_0x571b18(0x486)],_0x57e231=_0x3b589f[_0x571b18(0x486)],_0x10f61a[_0x571b18(0x239)]({'unitID':_0x224dc3,'undoMutations':_0x2e97ba['m2Prime'],'redoMutations':_0x3b589f['m2Prime']});}return _0x10f61a[_0x571b18(0x439)]();}};_0x3ff707=_0x441435([_0x542ef3(0x0,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x542ef3(0x1,_0x3aaa00['ICommandService']),_0x542ef3(0x2,_0x3aaa00['IContextService']),_0x542ef3(0x3,_0x4d4d9d['ITransformService']),_0x542ef3(0x4,_0x3aaa00[_0x18d6ba(0x42a)])],_0x3ff707);class _0x39bc2e extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(){const _0x2d1d82=_0x18d6ba;super(),_0x2c46b8(this,_0x2d1d82(0x533)),this['urlChange$']=_0x5cbc6e[_0x2d1d82(0x3a4)](window,'popstate')[_0x2d1d82(0x32f)](_0x5cbc6e[_0x2d1d82(0x40b)](this[_0x2d1d82(0x505)]),_0x5cbc6e[_0x2d1d82(0x27e)](0x1),_0x5cbc6e[_0x2d1d82(0x57c)](void 0x0));}['setParam'](_0x55158c,_0x39416f,_0x48b05a=!0x1){const _0x546d81=_0x18d6ba,_0x30c530=new URL(window[_0x546d81(0x54d)][_0x546d81(0x53c)]);_0x30c530['searchParams']['set'](_0x55158c,_0x39416f),_0x48b05a?window['history'][_0x546d81(0x58a)]('','',_0x30c530[_0x546d81(0x1fb)]()):window[_0x546d81(0x275)][_0x546d81(0x3df)]('','',_0x30c530[_0x546d81(0x1fb)]());}[_0x18d6ba(0x495)](_0x20bc46,_0x52df33=!0x1){const _0xf9c516=_0x18d6ba,_0x32146a=new URL(window[_0xf9c516(0x54d)][_0xf9c516(0x53c)]);_0x32146a[_0xf9c516(0x455)][_0xf9c516(0x466)](_0x20bc46),_0x52df33?window['history'][_0xf9c516(0x58a)]('','',_0x32146a[_0xf9c516(0x1fb)]()):window[_0xf9c516(0x275)][_0xf9c516(0x3df)]('','',_0x32146a[_0xf9c516(0x1fb)]());}[_0x18d6ba(0x2f6)](_0x46895a){const _0x4bbcf8=_0x18d6ba;var _0x5c3322;return(_0x5c3322=new URL(window['location'][_0x4bbcf8(0x53c)])[_0x4bbcf8(0x455)][_0x4bbcf8(0x3e4)](_0x46895a))!=null?_0x5c3322:void 0x0;}}const _0xfed174=_0x18d6ba(0x307),_0x194794=_0x18d6ba(0x1c4),_0xa287d8=_0x18d6ba(0x289),_0x954839=0x6,_0x5e311c=1.5,_0x42d031=0x4,_0x444bb3=1.5,_0x1cee77=_0x18d6ba(0x3aa);class _0x2c09ce{constructor(_0x4001dd,_0x53aee9,_0x142d66,_0x143379){const _0x3bfda9=_0x18d6ba;_0x2c46b8(this,'_shapes',[]),_0x2c46b8(this,_0x3bfda9(0x23d),null),_0x2c46b8(this,_0x3bfda9(0x3ae),null),_0x2c46b8(this,_0x3bfda9(0x441),null),_0x2c46b8(this,'_hideTimer',null),_0x2c46b8(this,_0x3bfda9(0x347),null),(this[_0x3bfda9(0x2ed)]=_0x4001dd,this[_0x3bfda9(0x444)]=_0x53aee9,this[_0x3bfda9(0x29e)]=_0x142d66,this['_document']=_0x143379,this['_render']());}set[_0x18d6ba(0x224)](_0x2c3a95){const _0x1f4105=_0x18d6ba;_0x2c3a95?(this[_0x1f4105(0x441)]&&this[_0x1f4105(0x441)][_0x1f4105(0x55b)](),this[_0x1f4105(0x3ae)]&&this[_0x1f4105(0x3ae)][_0x1f4105(0x3f8)]()):(this[_0x1f4105(0x441)]&&this['_anchorDot'][_0x1f4105(0x3f8)](),this[_0x1f4105(0x3ae)]&&this[_0x1f4105(0x3ae)][_0x1f4105(0x55b)]());}[_0x18d6ba(0x338)](){const _0x5756fe=_0x18d6ba;for(const _0x1b496a of this[_0x5756fe(0x43f)])_0x1b496a[_0x5756fe(0x338)]();this[_0x5756fe(0x3ae)]&&this[_0x5756fe(0x3ae)][_0x5756fe(0x338)](),this[_0x5756fe(0x441)]&&this[_0x5756fe(0x441)][_0x5756fe(0x338)](),this[_0x5756fe(0x23d)]&&this[_0x5756fe(0x23d)][_0x5756fe(0x338)](),this[_0x5756fe(0x347)]&&this[_0x5756fe(0x347)]();}[_0x18d6ba(0x497)](){const _0x4b1d81=_0x18d6ba;var _0x31d866;const {_docSkeleton:_0x50bf42,_document:_0x38dc70}=this,{color:_0x160509,name:_0x14afd9,ranges:_0x43e737}=this['_cursor'],_0x4cead9=_0x38dc70['getOffsetConfig'](),{docsLeft:_0x267585,docsTop:_0x150114}=_0x4cead9,_0x583202=new _0x3b10b4[(_0x4b1d81(0x203))](_0x4cead9,_0x50bf42);for(const {startOffset:_0x5c7a63,endOffset:_0x425c5f,collapsed:_0x2b7737,isActive:_0x104b46}of _0x43e737){const _0x19c236=_0x50bf42[_0x4b1d81(0x1ff)](_0x5c7a63),_0x15af24=_0x50bf42[_0x4b1d81(0x1ff)](_0x425c5f);if(_0x104b46){const {contentBoxPointGroup:_0x2f7c7f}=_0x583202[_0x4b1d81(0x3a0)](_0x15af24,_0x15af24);if(_0x2f7c7f['length']===0x0)continue;this['_drawAnchor'](_0x160509,_0x2f7c7f,_0x267585,_0x150114,_0x14afd9),this['_eventUnsubscribe']=this[_0x4b1d81(0x3b0)]();}if(!_0x2b7737&&_0x19c236&&_0x15af24){if(_0x3b10b4[_0x4b1d81(0x50b)](_0x19c236,_0x15af24)){const _0x54d5f9=new _0x3b10b4[(_0x4b1d81(0x557))](_0x4cead9,_0x50bf42),{pointGroup:_0x5bed9e}=(_0x31d866=_0x54d5f9['getRangePointData'](_0x19c236,_0x15af24))!=null?_0x31d866:{};if(_0x5bed9e==null||_0x5bed9e[_0x4b1d81(0x574)]===0x0)continue;this[_0x4b1d81(0x23e)](_0x160509,_0x5bed9e,_0x267585,_0x150114);}else{const {contentBoxPointGroup:_0x3b6b96}=_0x583202[_0x4b1d81(0x3a0)](_0x19c236,_0x15af24);if(_0x3b6b96[_0x4b1d81(0x574)]===0x0)continue;this[_0x4b1d81(0x39e)](_0x160509,_0x3b6b96,_0x267585,_0x150114);}}}}[_0x18d6ba(0x39a)](_0x349404,_0x4d5c0f,_0x100fe7,_0x269e7b,_0x453b0f){const _0x105e71=_0x18d6ba,_0x11fbd5=this[_0x105e71(0x3eb)](_0x4d5c0f),{left:_0x206dd1,top:_0x1aae78,height:_0x1351bc}=_0x11fbd5,_0x2c71a5=this['_getScale'](),_0x5cf8aa=_0x444bb3/_0x2c71a5,_0xdf5868=new _0x3b10b4[(_0x105e71(0x3cd))](_0xfed174+_0x3aaa00[_0x105e71(0x2dd)][_0x105e71(0x55d)](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b,'height':_0x1351bc,'width':_0x5e311c,'fill':_0x349404||_0x3b10b4[_0x105e71(0x31f)](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'strokeWidth':_0x5cf8aa,'stroke':_0x1cee77,'evented':!0x0});this[_0x105e71(0x23d)]=_0xdf5868,this[_0x105e71(0x444)][_0x105e71(0x22d)](_0xdf5868,_0x3b10b4[_0x105e71(0x1f3)]);const _0x421111=new _0x3b10b4[(_0x105e71(0x3cd))](_0xfed174+_0x3aaa00[_0x105e71(0x2dd)]['generateRandomId'](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b-_0x42d031/0x2,'height':_0x42d031,'width':_0x42d031,'fill':_0x349404||_0x3b10b4[_0x105e71(0x31f)](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x349404||_0x3b10b4['getColor'](_0x3aaa00[_0x105e71(0x482)][_0x105e71(0x1af)],0x0),'evented':!0x1});this[_0x105e71(0x441)]=_0x421111,this[_0x105e71(0x444)][_0x105e71(0x22d)](_0x421111,_0x3b10b4[_0x105e71(0x1f3)]);const _0x2c888f=new _0x609363(_0xfed174+_0x3aaa00[_0x105e71(0x2dd)][_0x105e71(0x55d)](_0x954839),{'left':_0x206dd1+_0x100fe7-_0x5cf8aa,'top':_0x1aae78+_0x269e7b-_0x3ba8ec,'text':_0x453b0f,'color':_0x349404});this[_0x105e71(0x3ae)]=_0x2c888f,this[_0x105e71(0x444)]['addObject'](_0x2c888f,_0x3b10b4[_0x105e71(0x1f3)]),this['_hover']=!0x1;}[_0x18d6ba(0x3b0)](){const _0x5d6f72=_0x18d6ba,_0x3cd816=this[_0x5d6f72(0x23d)][_0x5d6f72(0x19e)]['subscribeEvent'](()=>{const _0x3e18d0=_0x5d6f72;this[_0x3e18d0(0x224)]=!0x0;}),_0x542268=this[_0x5d6f72(0x23d)][_0x5d6f72(0x3d6)]['subscribeEvent'](()=>{const _0x5039de=_0x5d6f72;this['_hideTimer']&&clearTimeout(this[_0x5039de(0x426)]),this[_0x5039de(0x426)]=setTimeout(()=>{const _0x4dea95=_0x5039de;this[_0x4dea95(0x224)]=!0x1;},0x7d0);});return()=>{const _0x38ddfc=_0x5d6f72;_0x3cd816[_0x38ddfc(0x19c)](),_0x542268['unsubscribe']();};}['_drawTextRange'](_0x1860d1,_0x214c8a,_0x1b0eb1,_0x2751eb){const _0x30218c=_0x18d6ba,_0x3c4493=new _0x3aaa00[(_0x30218c(0x19b))](_0x1860d1)[_0x30218c(0x1f6)](0.2)[_0x30218c(0x33b)](),_0x5d6c38=new _0x3b10b4[(_0x30218c(0x4ec))](_0x194794+_0x3aaa00[_0x30218c(0x2dd)][_0x30218c(0x55d)](_0x954839),{'pointsGroup':_0x214c8a,'fill':_0x3c4493||_0x3b10b4[_0x30218c(0x31f)](_0x3aaa00[_0x30218c(0x482)][_0x30218c(0x1af)],0.2),'left':_0x1b0eb1,'top':_0x2751eb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30218c(0x43f)][_0x30218c(0x239)](_0x5d6c38),this['_scene'][_0x30218c(0x22d)](_0x5d6c38,_0x3b10b4[_0x30218c(0x1f3)]);}[_0x18d6ba(0x23e)](_0x5447a7,_0x26d1c0,_0x4737de,_0x27d876){const _0x2f2f0c=_0x18d6ba,_0x24aa73=new _0x3aaa00[(_0x2f2f0c(0x19b))](_0x5447a7)[_0x2f2f0c(0x1f6)](0.2)[_0x2f2f0c(0x33b)](),_0x53cc3b=new _0x3b10b4[(_0x2f2f0c(0x4ec))](_0xa287d8+_0x3aaa00[_0x2f2f0c(0x2dd)]['generateRandomId'](_0x954839),{'pointsGroup':_0x26d1c0,'fill':_0x24aa73||_0x3b10b4[_0x2f2f0c(0x31f)](_0x3aaa00['COLORS']['black'],0.2),'left':_0x4737de,'top':_0x27d876,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f2f0c(0x43f)][_0x2f2f0c(0x239)](_0x53cc3b),this[_0x2f2f0c(0x444)][_0x2f2f0c(0x22d)](_0x53cc3b,_0x3b10b4['TEXT_RANGE_LAYER_INDEX']);}[_0x18d6ba(0x3eb)](_0x35ea03){const _0x132864=_0x35ea03[0x0],_0x2ae635=_0x132864[0x0],_0x20c59e=_0x132864[0x2],{x:_0x1bb4ba,y:_0x327114}=_0x2ae635,{x:_0x5e6862,y:_0x542677}=_0x20c59e;return{'left':_0x1bb4ba,'top':_0x327114,'width':_0x5e6862-_0x1bb4ba,'height':_0x542677-_0x327114};}['_getScale'](){const _0x3a1f03=_0x18d6ba,{scaleX:_0xc5e6f4,scaleY:_0x57682a}=this['_scene'][_0x3a1f03(0x1c9)]();return Math[_0x3a1f03(0x285)](_0xc5e6f4,_0x57682a);}}var _0x2e2401=Object[_0x18d6ba(0x272)],_0x19ad78=Object[_0x18d6ba(0x3fd)],_0x2bf4cd=(_0x5e642e,_0x412a47,_0x237f74,_0x45389c)=>{const _0x29a9dd=_0x18d6ba;for(var _0x1f6e82=_0x45389c>0x1?void 0x0:_0x45389c?_0x19ad78(_0x412a47,_0x237f74):_0x412a47,_0x411a2d=_0x5e642e[_0x29a9dd(0x574)]-0x1,_0x46ed78;_0x411a2d>=0x0;_0x411a2d--)(_0x46ed78=_0x5e642e[_0x411a2d])&&(_0x1f6e82=(_0x45389c?_0x46ed78(_0x412a47,_0x237f74,_0x1f6e82):_0x46ed78(_0x1f6e82))||_0x1f6e82);return _0x45389c&&_0x1f6e82&&_0x2e2401(_0x412a47,_0x237f74,_0x1f6e82),_0x1f6e82;},_0x9184c2=(_0x1a5531,_0x44fb65)=>(_0x3a93c9,_0x3f6094)=>_0x44fb65(_0x3a93c9,_0x3f6094,_0x1a5531);let _0x34400b=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0xf2864a,_0x117f6e,_0x5a584c,_0x43db60,_0x166dfd){const _0x299289=_0x18d6ba;super(),_0x2c46b8(this,_0x299289(0x523),[]),_0x2c46b8(this,_0x299289(0x577),[]),(this[_0x299289(0x430)]=_0xf2864a,this[_0x299289(0x463)]=_0x117f6e,this[_0x299289(0x527)]=_0x5a584c,this[_0x299289(0x513)]=_0x43db60,this[_0x299289(0x313)]=_0x166dfd,this[_0x299289(0x286)]());}[_0x18d6ba(0x286)](){const _0x2ad06d=_0x18d6ba,_0x55f466=this[_0x2ad06d(0x430)][_0x2ad06d(0x189)],_0x40f655=this[_0x2ad06d(0x463)];this[_0x2ad06d(0x43a)](_0x5cbc6e[_0x2ad06d(0x193)]([this[_0x2ad06d(0x527)][_0x2ad06d(0x21e)](_0x55f466),this[_0x2ad06d(0x313)]['currentTheme$']])['pipe'](_0x267050[_0x2ad06d(0x343)](([_0x486c71,_0x694f16])=>({'skeleton':_0x40f655[_0x2ad06d(0x532)](),'cursors':[..._0x486c71[_0x2ad06d(0x2af)]()][_0x2ad06d(0x4a0)](_0x165167=>({..._0x165167,'color':_0x694f16[_0x165167[_0x2ad06d(0x3ee)]]}))})))[_0x2ad06d(0x559)](_0x1feb47=>{const _0x4dbe60=_0x2ad06d;if(this['_removeCollabCursors'](),_0x1feb47){const {skeleton:_0x3eb48c,cursors:_0x2bf012}=_0x1feb47;this[_0x4dbe60(0x1d6)](_0x3eb48c,_0x2bf012);}})),this[_0x2ad06d(0x415)](),this[_0x2ad06d(0x3ef)]();}[_0x18d6ba(0x1d6)](_0x133b48,_0x3cac7c){const _0x4080d3=_0x18d6ba,{scene:_0x108ffc,mainComponent:_0x4fc65f}=this[_0x4080d3(0x430)],_0x569a28=_0x3cac7c['map'](_0x495e6c=>new _0x2c09ce(_0x495e6c,_0x108ffc,_0x133b48,_0x4fc65f));this[_0x4080d3(0x523)]=_0x569a28,this[_0x4080d3(0x577)]=_0x3cac7c;}['_refreshCollabCursors'](){const _0x1b6cde=_0x18d6ba;this[_0x1b6cde(0x1d7)]();const {scene:_0x1c892e,mainComponent:_0x40ddb9}=this[_0x1b6cde(0x430)],_0x3085ba=this[_0x1b6cde(0x463)][_0x1b6cde(0x532)](),_0x53df44=this[_0x1b6cde(0x577)][_0x1b6cde(0x343)](_0x294a39=>new _0x2c09ce(_0x294a39,_0x1c892e,_0x3085ba,_0x40ddb9));this[_0x1b6cde(0x523)]=_0x53df44;}[_0x18d6ba(0x1d7)](){const _0x2299f4=_0x18d6ba;this[_0x2299f4(0x523)][_0x2299f4(0x387)](_0x40a3ab=>_0x40a3ab['dispose']()),this[_0x2299f4(0x523)]=[];}[_0x18d6ba(0x3ef)](){const _0x34add3=_0x18d6ba,_0x1c94c5=[_0x593e90[_0x34add3(0x29a)]['id']];this[_0x34add3(0x43a)](this['_commandService'][_0x34add3(0x1c1)](_0x48bc50=>{const _0x16c4e6=_0x34add3;_0x1c94c5[_0x16c4e6(0x300)](_0x48bc50['id'])&&_0x48bc50[_0x16c4e6(0x561)][_0x16c4e6(0x189)]===this[_0x16c4e6(0x430)][_0x16c4e6(0x189)]&&this[_0x16c4e6(0x379)]();}));}[_0x18d6ba(0x415)](){const _0x20f1c5=_0x18d6ba;this['disposeWithMe'](_0x3aaa00['fromEventSubject'](this[_0x20f1c5(0x430)][_0x20f1c5(0x370)][_0x20f1c5(0x446)])[_0x20f1c5(0x32f)](_0x267050['filter'](_0x22dbf2=>_0x22dbf2[_0x20f1c5(0x543)]===_0x3b10b4[_0x20f1c5(0x42e)][_0x20f1c5(0x1e2)]),_0x267050['throttleTime'](0x10))[_0x20f1c5(0x559)](()=>{const _0x189fcc=_0x20f1c5;this[_0x189fcc(0x379)]();}));}};_0x34400b=_0x2bf4cd([_0x3aaa00[_0x18d6ba(0x279)](_0x3aaa00[_0x18d6ba(0x4ff)]['Steady'],_0x34400b),_0x9184c2(0x1,_0x3aaa00['Inject'](_0x593e90[_0x18d6ba(0x391)])),_0x9184c2(0x2,_0x3aaa00['Inject'](_0x1fa692)),_0x9184c2(0x3,_0x3aaa00[_0x18d6ba(0x2d1)]),_0x9184c2(0x4,_0x3aaa00['Inject'](_0x3aaa00['ThemeService']))],_0x34400b);var _0x1479ed=Object[_0x18d6ba(0x272)],_0x452e09=Object[_0x18d6ba(0x3fd)],_0x66ff29=(_0x3192c,_0x59d446,_0x59a805,_0x58807e)=>{for(var _0x439705=_0x58807e>0x1?void 0x0:_0x58807e?_0x452e09(_0x59d446,_0x59a805):_0x59d446,_0x1d4dbf=_0x3192c['length']-0x1,_0x18f612;_0x1d4dbf>=0x0;_0x1d4dbf--)(_0x18f612=_0x3192c[_0x1d4dbf])&&(_0x439705=(_0x58807e?_0x18f612(_0x59d446,_0x59a805,_0x439705):_0x18f612(_0x439705))||_0x439705);return _0x58807e&&_0x439705&&_0x1479ed(_0x59d446,_0x59a805,_0x439705),_0x439705;},_0x57dddb=(_0x5ad63f,_0x8fa869)=>(_0x23913e,_0x293847)=>_0x8fa869(_0x23913e,_0x293847,_0x5ad63f);let _0x1cd664=class{constructor(_0x31c016,_0xc99831,_0x4f5325){const _0x183797=_0x18d6ba;this[_0x183797(0x394)]=_0x31c016,this['_httpService']=_0xc99831,this[_0x183797(0x2a5)]=_0x4f5325,this[_0x183797(0x367)]();}[_0x18d6ba(0x367)](){const _0x15fdb4=_0x18d6ba;this[_0x15fdb4(0x479)][_0x15fdb4(0x3b4)]({'priority':0x1,'interceptor':(_0x3f1df3,_0x57bf38)=>_0x57bf38(_0x3f1df3)[_0x15fdb4(0x32f)](_0x5cbc6e[_0x15fdb4(0x3b1)](async _0x21f497=>{const _0x26204b=_0x15fdb4,_0x20278b=_0x21f497;if(_0x20278b[_0x26204b(0x322)]===0x191&&window[_0x26204b(0x4be)](this[_0x26204b(0x2a5)]['t'](_0x26204b(0x332)))){const _0x4e0b9b=window[_0x26204b(0x3af)](window['location'][_0x26204b(0x53c)]);window[_0x26204b(0x54d)][_0x26204b(0x53c)]=this[_0x26204b(0x55c)]()+_0x26204b(0x353)+_0x4e0b9b;}return _0x20278b;}))});}[_0x18d6ba(0x55c)](){const _0x4ad677=_0x18d6ba;var _0x339114;return(_0x339114=this[_0x4ad677(0x394)][_0x4ad677(0x499)](_0xbbcc2f))!=null?_0x339114:_0x3a7a02;}};_0x1cd664=_0x66ff29([_0x57dddb(0x0,_0x3aaa00[_0x18d6ba(0x195)]),_0x57dddb(0x1,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x57dddb(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)]))],_0x1cd664);var _0x4cebdc=Object['defineProperty'],_0xe37809=Object[_0x18d6ba(0x3fd)],_0x554fde=(_0x41ab34,_0x3290d9,_0x416829,_0xa39d5e)=>{const _0x109f7e=_0x18d6ba;for(var _0x51c4e5=_0xa39d5e>0x1?void 0x0:_0xa39d5e?_0xe37809(_0x3290d9,_0x416829):_0x3290d9,_0x19a2e5=_0x41ab34[_0x109f7e(0x574)]-0x1,_0xae6303;_0x19a2e5>=0x0;_0x19a2e5--)(_0xae6303=_0x41ab34[_0x19a2e5])&&(_0x51c4e5=(_0xa39d5e?_0xae6303(_0x3290d9,_0x416829,_0x51c4e5):_0xae6303(_0x51c4e5))||_0x51c4e5);return _0xa39d5e&&_0x51c4e5&&_0x4cebdc(_0x3290d9,_0x416829,_0x51c4e5),_0x51c4e5;},_0x218b74=(_0x8daee8,_0x2ad432)=>(_0x380bb3,_0x475216)=>_0x2ad432(_0x380bb3,_0x475216,_0x8daee8);const _0x5d6e8c='AUTHZ_URL_KEY',_0x117508='/universer-api/authz';_0x4c54a0[_0x18d6ba(0x3cb)]=class extends _0x3aaa00[_0x18d6ba(0x350)]{constructor(_0x3cd2de,_0x62bac5){const _0x1b9356=_0x18d6ba;super(),this[_0x1b9356(0x32b)]=_0x3cd2de,this[_0x1b9356(0x394)]=_0x62bac5,this[_0x1b9356(0x1e8)]();}[_0x18d6ba(0x1e8)](){const _0x43ea9f=_0x18d6ba,_0x43943b=this;this[_0x43ea9f(0x43a)](this[_0x43ea9f(0x32b)][_0x43ea9f(0x3b4)]({'priority':0x3e7,'interceptor':_0x3e5de5[_0x43ea9f(0x320)]({'isMatch'(_0x5c73fc){const _0x81da58=_0x43ea9f;var _0x4cfcc8;if(_0x5c73fc[_0x81da58(0x33a)]===_0x81da58(0x1dc)&&((_0x4cfcc8=_0x5c73fc[_0x81da58(0x25e)])!=null&&_0x4cfcc8[_0x81da58(0x411)])){const {objectID:_0x564f98,objectType:_0x18df21}=_0x5c73fc[_0x81da58(0x25e)][_0x81da58(0x411)]||{};if(!_0x564f98||_0x18df21===void 0x0)return!0x1;const _0xadb7d1=_0x43943b[_0x81da58(0x4f8)]()+'/'+_0x18df21+_0x81da58(0x351)+_0x564f98+'/allowed';if(_0x5c73fc[_0x81da58(0x3cc)]===_0xadb7d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x245a9a){const _0x3718e2=_0x43ea9f;var _0x29e7b0;return(_0x29e7b0=_0x245a9a[_0x3718e2(0x25e)])==null?void 0x0:_0x29e7b0['body'];},'mergeParamsToRequest'(_0x15a458,_0x56b2ff){const _0x229efd=_0x43ea9f,_0x333ee1=_0x43943b[_0x229efd(0x4f8)]()+_0x229efd(0x3ff),_0x587e8f=_0x15a458[_0x229efd(0x58d)]((_0x17cafe,_0x2609f5)=>{const {unitID:_0x22555b,objectID:_0x3b9984,objectType:_0x259fe8,actions:_0x19edbd}=_0x2609f5;return _0x17cafe[_0x22555b]||(_0x17cafe[_0x22555b]={}),_0x17cafe[_0x22555b][_0x3b9984]||(_0x17cafe[_0x22555b][_0x3b9984]={'objectID':_0x3b9984,'objectType':_0x259fe8,'actions':[]}),_0x17cafe[_0x22555b][_0x3b9984]['actions']['push'](..._0x19edbd),_0x17cafe;},{}),_0x2e2fb2=[];for(const _0x86402b in _0x587e8f)for(const _0x30a018 in _0x587e8f[_0x86402b]){const {actions:_0x47199f,objectType:_0x3aa897}=_0x587e8f[_0x86402b][_0x30a018],_0x4d8c03=[...new Set(_0x47199f)];_0x2e2fb2[_0x229efd(0x239)]({'unitID':_0x86402b,'objectID':_0x30a018,'objectType':_0x3aa897,'actions':_0x4d8c03});}return new _0x3e5de5[(_0x229efd(0x26f))]('POST',_0x333ee1,{'headers':_0x56b2ff['headers'],'withCredentials':_0x56b2ff['withCredentials'],'responseType':_0x56b2ff['responseType'],'body':{'requests':_0x2e2fb2}});}},{'distributeResult'(_0x2eee21,_0x44087f){const _0x41dcb4=_0x43ea9f,{objectActions:_0x20171e}=_0x2eee21;return _0x44087f[_0x41dcb4(0x343)](_0x5b954c=>{const _0x332e93=_0x41dcb4,{unitID:_0x13b95b,objectID:_0x1acec9,actions:_0x5a89a2}=_0x5b954c,_0x227f9a=_0x20171e[_0x332e93(0x568)](_0x4234e6=>_0x4234e6[_0x332e93(0x4bb)]===_0x13b95b&&_0x4234e6['objectID']===_0x1acec9),_0x46d650=_0x5a89a2[_0x332e93(0x343)](_0x214e91=>_0x227f9a==null?void 0x0:_0x227f9a['actions'][_0x332e93(0x568)](_0xbc425a=>_0xbc425a[_0x332e93(0x4df)]===_0x214e91))[_0x332e93(0x46d)](_0x4ba4fd=>!!_0x4ba4fd);return{'config':_0x5b954c,'result':{'actions':_0x46d650,'error':_0x2eee21['error']}};});}})}));}[_0x18d6ba(0x4f8)](){const _0x29903e=_0x18d6ba;var _0x2051a0;return(_0x2051a0=this[_0x29903e(0x394)]['getConfig'](_0x5d6e8c))!=null?_0x2051a0:_0x117508;}async[_0x18d6ba(0x4c5)](_0x3afa55){const _0x3df545=_0x18d6ba,_0x2968a5=this[_0x3df545(0x4f8)]()+'/'+_0x3afa55['objectType']+'/object';return(await this[_0x3df545(0x32b)][_0x3df545(0x25c)](_0x2968a5,{'body':_0x3afa55}))['body'][_0x3df545(0x25f)]||'';}async[_0x18d6ba(0x50d)](_0x2454f5){const _0x311192=_0x18d6ba,_0xac9a70=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x311192(0x32b)][_0x311192(0x25c)](_0xac9a70,{'body':_0x2454f5}))[_0x311192(0x411)]['objects'];}async[_0x18d6ba(0x20d)](_0x10af13){const _0x2a0ee2=_0x18d6ba,_0x388aa5=this[_0x2a0ee2(0x4f8)]()+'/'+_0x10af13[_0x2a0ee2(0x2c6)]+_0x2a0ee2(0x351)+_0x10af13[_0x2a0ee2(0x25f)];await this[_0x2a0ee2(0x32b)][_0x2a0ee2(0x2de)](_0x388aa5,{'body':_0x10af13});}async[_0x18d6ba(0x2c5)](_0x85e56a){const _0x16d5a2=_0x18d6ba,_0x5b9d95=this[_0x16d5a2(0x4f8)]()+'/'+_0x85e56a[_0x16d5a2(0x2c6)]+_0x16d5a2(0x351)+_0x85e56a[_0x16d5a2(0x25f)]+_0x16d5a2(0x199);return(await this[_0x16d5a2(0x32b)][_0x16d5a2(0x25c)](_0x5b9d95,{'body':_0x85e56a}))['body'][_0x16d5a2(0x51f)];}async[_0x18d6ba(0x190)](_0x3447bd){const _0x36b962=_0x18d6ba,_0x125b09=this[_0x36b962(0x4f8)]()+_0x36b962(0x3ff);return(await this[_0x36b962(0x32b)]['post'](_0x125b09,{'body':{'requests':_0x3447bd}}))['body'][_0x36b962(0x4d8)];}async['listRoles'](_0xcb6bea){const _0x4fdad1=_0x18d6ba,_0x36e3e2=this['_getAPIPrefixPath']()+'/'+_0xcb6bea['objectType']+'/role',_0x5b57b0=await this[_0x4fdad1(0x32b)][_0x4fdad1(0x25c)](_0x36e3e2,{'body':_0xcb6bea});return{'roles':_0x5b57b0[_0x4fdad1(0x411)][_0x4fdad1(0x3d8)],'actions':_0x5b57b0[_0x4fdad1(0x411)][_0x4fdad1(0x51f)]};}async[_0x18d6ba(0x3d4)](_0x2dc659){const _0x926ab5=_0x18d6ba,_0x55dbd0=this[_0x926ab5(0x4f8)]()+_0x926ab5(0x2a4);await this[_0x926ab5(0x32b)][_0x926ab5(0x466)](_0x55dbd0,{'params':{'collaboratorID':_0x2dc659[_0x926ab5(0x3d5)],'objectID':_0x2dc659['objectID'],'unitID':_0x2dc659[_0x926ab5(0x4bb)]}});}async[_0x18d6ba(0x403)](_0x42fb6e){const _0x53d929=_0x18d6ba,_0x5a2ea3=this[_0x53d929(0x4f8)]()+_0x53d929(0x2a4);await this['_HTTPService'][_0x53d929(0x3e1)](_0x5a2ea3,{'body':_0x42fb6e});}async['createCollaborator'](_0x2ec6ca){const _0x512566=_0x18d6ba,_0x26045e=this[_0x512566(0x4f8)]()+_0x512566(0x2a4);await this[_0x512566(0x32b)][_0x512566(0x25c)](_0x26045e,{'body':_0x2ec6ca});}async[_0x18d6ba(0x565)](_0x4a574a){const _0x11f3e6=_0x18d6ba,_0x20c054=this[_0x11f3e6(0x4f8)]()+_0x11f3e6(0x2a4);return(await this['_HTTPService'][_0x11f3e6(0x3e4)](_0x20c054,{'params':{'objectID':_0x4a574a[_0x11f3e6(0x25f)],'unitID':_0x4a574a['unitID']}}))['body'][_0x11f3e6(0x51e)];}async[_0x18d6ba(0x385)](_0x33a9b4){const _0x5f2f63=_0x18d6ba,_0x22148e=this[_0x5f2f63(0x4f8)]()+_0x5f2f63(0x2a4);await this[_0x5f2f63(0x32b)]['put'](_0x22148e,{'body':_0x33a9b4});}},_0x4c54a0[_0x18d6ba(0x3cb)]=_0x554fde([_0x218b74(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x218b74(0x1,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x195)]))],_0x4c54a0[_0x18d6ba(0x3cb)]);var _0x4e6c84=Object[_0x18d6ba(0x272)],_0x10c43c=Object[_0x18d6ba(0x3fd)],_0x52e8d3=(_0x56a921,_0x250d72,_0x44ca6a,_0x53023c)=>{const _0x3d625d=_0x18d6ba;for(var _0x4aeb34=_0x53023c>0x1?void 0x0:_0x53023c?_0x10c43c(_0x250d72,_0x44ca6a):_0x250d72,_0x3056a1=_0x56a921[_0x3d625d(0x574)]-0x1,_0x10fc3a;_0x3056a1>=0x0;_0x3056a1--)(_0x10fc3a=_0x56a921[_0x3056a1])&&(_0x4aeb34=(_0x53023c?_0x10fc3a(_0x250d72,_0x44ca6a,_0x4aeb34):_0x10fc3a(_0x4aeb34))||_0x4aeb34);return _0x53023c&&_0x4aeb34&&_0x4e6c84(_0x250d72,_0x44ca6a,_0x4aeb34),_0x4aeb34;},_0x27ef06=(_0x3ee263,_0x546c82)=>(_0x399ff7,_0x1c145c)=>_0x546c82(_0x399ff7,_0x1c145c,_0x3ee263);const _0x397723=[_0x18d6ba(0x3b3),_0x18d6ba(0x534),_0x18d6ba(0x422),'image/gif',_0x18d6ba(0x4d6)],_0x21aeb5=0x5*0x400*0x400,_0x54d4ef=_0x18d6ba(0x405),_0x29b238=_0x18d6ba(0x20e),_0x46599a=_0x18d6ba(0x301),_0x18ec03=_0x18d6ba(0x535);_0x4c54a0['ImageIoService']=class{constructor(_0x508570,_0x4d9fc5,_0x2d94fa){const _0xf164e8=_0x18d6ba;_0x2c46b8(this,_0xf164e8(0x384),0x0),_0x2c46b8(this,_0xf164e8(0x3e0),new _0x5cbc6e['Subject']()),_0x2c46b8(this,_0xf164e8(0x297),this[_0xf164e8(0x3e0)]),_0x2c46b8(this,_0xf164e8(0x49b),new Map()),(this[_0xf164e8(0x479)]=_0x508570,this[_0xf164e8(0x394)]=_0x4d9fc5,this['_univerInstanceService']=_0x2d94fa);}[_0x18d6ba(0x3e3)](_0x526429){const _0x1c3b8d=_0x18d6ba;this[_0x1c3b8d(0x384)]=_0x526429,this[_0x1c3b8d(0x3e0)][_0x1c3b8d(0x1c5)](_0x526429);}[_0x18d6ba(0x4aa)](_0x202d16,_0x4fd752){const _0x1b6e2b=_0x18d6ba;if(_0x4fd752===_0x297e96[_0x1b6e2b(0x2b8)][_0x1b6e2b(0x4d1)]){const _0x5664de=new Image();return _0x5664de['src']=_0x202d16,_0x5664de;}return this[_0x1b6e2b(0x49b)][_0x1b6e2b(0x3e4)](_0x202d16);}[_0x18d6ba(0x504)](_0x91e2b8,_0x462946,_0x4e1240){const _0x181eb8=_0x18d6ba;_0x462946===_0x297e96['ImageSourceType'][_0x181eb8(0x4d1)]||_0x4e1240==null||this[_0x181eb8(0x49b)][_0x181eb8(0x2a6)](_0x91e2b8,_0x4e1240);}async[_0x18d6ba(0x4dd)](_0x55d21f){const _0x3a98b5=_0x18d6ba;try{const _0x4b5164=this[_0x3a98b5(0x27a)](this[_0x3a98b5(0x583)](),''+_0x55d21f),_0x4b04cc=(await this[_0x3a98b5(0x479)][_0x3a98b5(0x3e4)](_0x4b5164))[_0x3a98b5(0x411)];return _0x4b04cc['error']&&_0x4b04cc[_0x3a98b5(0x4ae)][_0x3a98b5(0x406)]===_0x5c79e0['OK']?Promise['resolve'](_0x4b04cc[_0x3a98b5(0x3cc)]):Promise[_0x3a98b5(0x1d3)](_0x4b04cc[_0x3a98b5(0x4ae)]);}catch(_0x4855cf){return Promise[_0x3a98b5(0x1d3)](_0x4855cf);}}async[_0x18d6ba(0x34b)](_0xc36e8e){const _0x51a315=_0x18d6ba;let _0x5df095='';if(!_0x397723[_0x51a315(0x300)](_0xc36e8e['type']))return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)]['ERROR_IMAGE_TYPE']));if(_0xc36e8e[_0x51a315(0x378)]>_0x21aeb5)return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)][_0x51a315(0x53e)]));try{const _0x4269a9=new FormData();_0x4269a9[_0x51a315(0x317)](_0x51a315(0x1a9),_0xc36e8e);const _0x3a578b=this[_0x51a315(0x318)]['getFocusedUnit'](),_0x5d40cc=_0x3a578b==null?void 0x0:_0x3a578b[_0x51a315(0x4b6)]();if(!_0x5d40cc)throw new Error('unitId\x20is\x20not\x20found');const _0x1de5de=this[_0x51a315(0x4ac)]()+'?size='+_0xc36e8e['size'][_0x51a315(0x1fb)]()+_0x51a315(0x1ea)+_0x306c39['UnitEmbedded']+_0x51a315(0x213)+encodeURIComponent(_0x5d40cc),_0x58cb87=await(await fetch(_0x1de5de,{'method':_0x51a315(0x1dc),'body':_0x4269a9}))[_0x51a315(0x575)]();if(typeof _0x58cb87[_0x51a315(0x51b)]!=_0x51a315(0x1be))return this[_0x51a315(0x432)](),Promise[_0x51a315(0x1d3)](new Error(_0x297e96[_0x51a315(0x3fe)]['ERROR_IMAGE']));_0x5df095=_0x58cb87[_0x51a315(0x51b)];}catch{return this[_0x51a315(0x432)](),Promise['reject'](new Error(_0x297e96[_0x51a315(0x3fe)][_0x51a315(0x4cb)]));}return new Promise((_0xfe4f1b,_0x4f6abb)=>{const _0x380f5c=_0x51a315,_0xacf7a6=new FileReader();_0xacf7a6[_0x380f5c(0x1ae)](_0xc36e8e),_0xacf7a6[_0x380f5c(0x399)]=_0x2c4a8d=>{const _0x5cfc35=_0x380f5c;var _0x24b275;const _0x18eb49=(_0x24b275=_0x2c4a8d[_0x5cfc35(0x255)])==null?void 0x0:_0x24b275[_0x5cfc35(0x442)];if(_0x18eb49==null){this[_0x5cfc35(0x432)](),_0x4f6abb(new Error(_0x297e96['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0xefb0fc=_0x3aaa00[_0x5cfc35(0x2dd)]['generateRandomId'](0x6);_0xfe4f1b({'imageId':_0xefb0fc,'imageSourceType':_0x297e96[_0x5cfc35(0x2b8)]['UUID'],'source':_0x5df095,'base64Cache':_0x18eb49,'status':_0x297e96['ImageUploadStatusType'][_0x5cfc35(0x254)]}),this[_0x5cfc35(0x432)]();};});}[_0x18d6ba(0x4ac)](){const _0x143a9f=_0x18d6ba;var _0x5478b3;return(_0x5478b3=this['_configService'][_0x143a9f(0x499)](_0x54d4ef))!=null?_0x5478b3:_0x29b238;}[_0x18d6ba(0x583)](){const _0x3ad233=_0x18d6ba;var _0x183488;return(_0x183488=this['_configService'][_0x3ad233(0x499)](_0x46599a))!=null?_0x183488:_0x18ec03;}[_0x18d6ba(0x27a)](_0x2f1313,_0x81b97b){const _0x324233=_0x18d6ba;return _0x2f1313[_0x324233(0x44b)](_0x324233(0x1bd),_0x81b97b);}[_0x18d6ba(0x432)](){const _0x55aba0=_0x18d6ba;this[_0x55aba0(0x384)]-=0x1,this[_0x55aba0(0x3e0)][_0x55aba0(0x1c5)](this[_0x55aba0(0x384)]);}},_0x4c54a0[_0x18d6ba(0x2bf)]=_0x52e8d3([_0x27ef06(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3e5de5[_0x18d6ba(0x3c9)])),_0x27ef06(0x1,_0x3aaa00[_0x18d6ba(0x195)]),_0x27ef06(0x2,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x2d5)]))],_0x4c54a0['ImageIoService']);var _0x9d25da=Object[_0x18d6ba(0x272)],_0x203beb=Object['getOwnPropertyDescriptor'],_0x2db9ec=(_0x4475a1,_0x3c37c4,_0x2e22b6,_0x485b0c)=>{for(var _0x243713=_0x485b0c>0x1?void 0x0:_0x485b0c?_0x203beb(_0x3c37c4,_0x2e22b6):_0x3c37c4,_0x2ffd2c=_0x4475a1['length']-0x1,_0x411b48;_0x2ffd2c>=0x0;_0x2ffd2c--)(_0x411b48=_0x4475a1[_0x2ffd2c])&&(_0x243713=(_0x485b0c?_0x411b48(_0x3c37c4,_0x2e22b6,_0x243713):_0x411b48(_0x243713))||_0x243713);return _0x485b0c&&_0x243713&&_0x9d25da(_0x3c37c4,_0x2e22b6,_0x243713),_0x243713;},_0x23da4f=(_0x5e17b4,_0x122117)=>(_0x3c4a33,_0x2bbfc8)=>_0x122117(_0x3c4a33,_0x2bbfc8,_0x5e17b4);let _0x362d92=class extends _0x3aaa00[_0x18d6ba(0x2ec)]{constructor(_0x34fd75,_0x19ea6b,_0x258e23,_0x47c1d8,_0x418d38){const _0x1637ed=_0x18d6ba;super(),this[_0x1637ed(0x42c)]=_0x34fd75,this[_0x1637ed(0x318)]=_0x19ea6b,this[_0x1637ed(0x55a)]=_0x258e23,this[_0x1637ed(0x18d)]=_0x47c1d8,this['_localeService']=_0x418d38,this[_0x1637ed(0x298)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x29b35b=_0x18d6ba,_0x49b8d1=async _0x10908a=>{const _0x2b31ca=_0x3d0e;(await this[_0x2b31ca(0x18d)][_0x2b31ca(0x3a3)](_0x10908a))[_0x2b31ca(0x2f0)]['pipe'](_0x267050[_0x2b31ca(0x46d)](_0x24146b=>_0x24146b['eventID']===_0x4d4d9d['CollaborationEvent'][_0x2b31ca(0x2d7)]),_0x267050['takeUntil'](this['dispose$']))['subscribe'](_0x3bdd65=>{const _0xa732b6=_0x2b31ca,_0x3df945=_0x3bdd65,{reason:_0xe92286}=_0x3df945['data'];this['_injector']['get'](_0x2b4c8d[_0xa732b6(0x57b)])['show']({'type':_0x564857['MessageType']['Error'],'content':this[_0xa732b6(0x43e)]['t']('collaboration.closeRoom')+'('+_0xe92286+')'}),this[_0xa732b6(0x55a)][_0xa732b6(0x198)](new _0x459c9c['WorkbookEditablePermission'](_0x10908a)['id'],!0x1),this[_0xa732b6(0x18d)][_0xa732b6(0x592)](_0x10908a);});};_0x5cbc6e['merge'](this[_0x29b35b(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType'][_0x29b35b(0x18a)]),this['_univerInstanceService'][_0x29b35b(0x2e8)](_0x3aaa00[_0x29b35b(0x434)]['UNIVER_DOC']))[_0x29b35b(0x32f)](_0x267050[_0x29b35b(0x343)](_0x26cf4b=>_0x26cf4b[_0x29b35b(0x4b6)]()),_0x267050[_0x29b35b(0x46d)](_0x1bfe5d=>!_0x3aaa00[_0x29b35b(0x324)](_0x1bfe5d)),_0x267050['takeUntil'](this[_0x29b35b(0x505)]))[_0x29b35b(0x559)](_0x35c48b=>{_0x49b8d1(_0x35c48b);});}[_0x18d6ba(0x298)](){const _0x5a6692=_0x18d6ba,_0x6e58ba=async _0x59b056=>{const _0x5d4470=_0x3d0e;(await this[_0x5d4470(0x18d)][_0x5d4470(0x3a3)](_0x59b056))[_0x5d4470(0x2f0)]['pipe'](_0x267050['filter'](_0x351da5=>_0x351da5[_0x5d4470(0x539)]===_0x4d4d9d[_0x5d4470(0x2ae)]['UPDATE_PERMISSION_OBJ']),_0x267050[_0x5d4470(0x40b)](this[_0x5d4470(0x505)]))['subscribe'](_0x19b204=>{const _0x4e55c0=_0x5d4470,_0x47899e=_0x19b204,{objectId:_0x31e471}=_0x47899e[_0x4e55c0(0x44f)],_0x571b00=this[_0x4e55c0(0x42c)][_0x4e55c0(0x3e4)](_0xf60f4c[_0x4e55c0(0x464)]);_0x31e471===_0x59b056?_0x571b00[_0x4e55c0(0x397)](_0x59b056):_0x571b00[_0x4e55c0(0x3cf)](_0x59b056,_0x31e471);});};_0x5cbc6e[_0x5a6692(0x424)](this[_0x5a6692(0x318)]['getTypeOfUnitAdded$'](_0x3aaa00['UniverInstanceType'][_0x5a6692(0x18a)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3aaa00[_0x5a6692(0x434)][_0x5a6692(0x4c1)]))[_0x5a6692(0x32f)](_0x267050[_0x5a6692(0x343)](_0x78acb=>_0x78acb[_0x5a6692(0x4b6)]()),_0x267050['filter'](_0x19454e=>!_0x3aaa00[_0x5a6692(0x324)](_0x19454e)),_0x267050['takeUntil'](this[_0x5a6692(0x505)]))['subscribe'](_0x4ac1e9=>{_0x6e58ba(_0x4ac1e9);});}};_0x362d92=_0x2db9ec([_0x3aaa00['OnLifecycle'](_0x3aaa00[_0x18d6ba(0x4ff)][_0x18d6ba(0x1d5)],_0x362d92),_0x23da4f(0x0,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00[_0x18d6ba(0x56f)])),_0x23da4f(0x1,_0x3aaa00[_0x18d6ba(0x2d5)]),_0x23da4f(0x2,_0x3aaa00[_0x18d6ba(0x23f)]),_0x23da4f(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x4c54a0['CollaborationSessionService'])),_0x23da4f(0x4,_0x3aaa00['Inject'](_0x3aaa00[_0x18d6ba(0x591)]))],_0x362d92);var _0xfbe36a=Object[_0x18d6ba(0x272)],_0xe2b2fe=Object[_0x18d6ba(0x3fd)],_0x598f30=(_0x22091a,_0x60309d,_0x4d4a6f)=>_0x60309d in _0x22091a?_0xfbe36a(_0x22091a,_0x60309d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d4a6f}):_0x22091a[_0x60309d]=_0x4d4a6f,_0x5bf1ec=(_0x22066c,_0x43d9ef,_0x561bd3,_0x5be4e9)=>{const _0x3ac404=_0x18d6ba;for(var _0x5e2935=_0x5be4e9>0x1?void 0x0:_0x5be4e9?_0xe2b2fe(_0x43d9ef,_0x561bd3):_0x43d9ef,_0x289818=_0x22066c[_0x3ac404(0x574)]-0x1,_0x5b6cdd;_0x289818>=0x0;_0x289818--)(_0x5b6cdd=_0x22066c[_0x289818])&&(_0x5e2935=(_0x5be4e9?_0x5b6cdd(_0x43d9ef,_0x561bd3,_0x5e2935):_0x5b6cdd(_0x5e2935))||_0x5e2935);return _0x5be4e9&&_0x5e2935&&_0xfbe36a(_0x43d9ef,_0x561bd3,_0x5e2935),_0x5e2935;},_0x2d7c2c=(_0x2f01a7,_0xc4a389)=>(_0x2bf76d,_0x253a50)=>_0xc4a389(_0x2bf76d,_0x253a50,_0x2f01a7),_0x33f7b3=(_0x12c913,_0x23f620,_0x47c378)=>_0x598f30(_0x12c913,_0x23f620+'',_0x47c378);const _0x1d44a6='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4c54a0[_0x18d6ba(0x36f)]=class extends _0x3aaa00[_0x18d6ba(0x36a)]{constructor(_0x484edc,_0x479696,_0x36e6cb,_0x36f6e1){const _0x3f763d=_0x18d6ba;super(),this['_config']=_0x484edc,this[_0x3f763d(0x36e)]=_0x479696,this['_renderManagerService']=_0x36e6cb,this['_injector']=_0x36f6e1;}[_0x18d6ba(0x41e)](){const _0xb3b283=_0x18d6ba;this[_0xb3b283(0x290)]();}[_0x18d6ba(0x4ea)](){const _0x43c5f7=_0x18d6ba;this[_0x43c5f7(0x4fc)]();}[_0x18d6ba(0x290)](){const _0x1760f3=_0x18d6ba;var _0x3b58d7,_0x5da961,_0xb9a045,_0x2dcabe;this[_0x1760f3(0x42c)]['has'](_0x3aaa00[_0x1760f3(0x256)])&&this[_0x1760f3(0x36e)]['error'](_0x1760f3(0x484),_0x1760f3(0x3ca));let _0x395e47=[[_0x3aaa00[_0x1760f3(0x256)],{'useClass':_0x3ff707}],[_0x4c54a0[_0x1760f3(0x22b)]],[_0x195451],[_0x3e5de5[_0x1760f3(0x3c9)]],[_0x44b27e,{'useClass':_0x39bc2e}],[_0x107a5c],[_0x4c54a0[_0x1760f3(0x362)]],[_0x3e5de5[_0x1760f3(0x400)]],[_0x13a645],[_0x49b741],[_0x5f1add],[_0x301e57],[_0x1cd664],[_0x285dfb],[_0x362d92],[_0x41bd32,{'useClass':(_0x5da961=(_0x3b58d7=this[_0x1760f3(0x1b7)])==null?void 0x0:_0x3b58d7[_0x1760f3(0x45c)])!=null?_0x5da961:_0x4c54a0[_0x1760f3(0x438)]}],[_0x3e5de5[_0x1760f3(0x295)],{'useClass':_0x3e5de5['XHRHTTPImplementation']}],[_0x3aaa00['ISnapshotServerService'],{'useClass':_0x4c54a0[_0x1760f3(0x214)]}],[_0x3aaa00[_0x1760f3(0x18e)],{'useClass':_0x4c54a0[_0x1760f3(0x3cb)]}],[_0x297e96['IImageIoService'],{'useClass':_0x4c54a0['ImageIoService']}],[_0x4c54a0[_0x1760f3(0x2c0)]],[_0x4c54a0[_0x1760f3(0x24d)]],[_0x4c54a0[_0x1760f3(0x235)]],[_0x22268e],[_0x1fa692]];(_0xb9a045=this[_0x1760f3(0x1b7)])!=null&&_0xb9a045[_0x1760f3(0x1a7)]&&_0x395e47['push']([_0x3a8c8d,{'useClass':_0x12cc97}]),_0x395e47=_0x3aaa00[_0x1760f3(0x35c)](_0x395e47,(_0x2dcabe=this[_0x1760f3(0x1b7)])==null?void 0x0:_0x2dcabe[_0x1760f3(0x507)]),_0x395e47[_0x1760f3(0x387)](_0x5687bc=>this['_injector']['add'](_0x5687bc)),this['_initModules']();}[_0x18d6ba(0x4fc)](){const _0x42e31b=_0x18d6ba;this[_0x42e31b(0x43a)](this['_renderManagerService']['registerRenderModule'](_0x3aaa00['UniverInstanceType'][_0x42e31b(0x4c1)],[_0x34400b])),this[_0x42e31b(0x43a)](this[_0x42e31b(0x299)][_0x42e31b(0x54f)](_0x3aaa00[_0x42e31b(0x434)]['UNIVER_SHEET'],[_0x20a294]));}['_initModules'](){const _0x33ae52=_0x18d6ba;var _0x13017d,_0x2e8f36;this[_0x33ae52(0x42c)]['get'](_0x3e5de5[_0x33ae52(0x3c9)])[_0x33ae52(0x3b4)]({'priority':0x14,'interceptor':_0x3e5de5[_0x33ae52(0x56d)]({'maxParallel':0x6})}),(_0x13017d=this[_0x33ae52(0x1b7)])!=null&&_0x13017d[_0x33ae52(0x1cc)]||this['_injector'][_0x33ae52(0x3e4)](_0x4c54a0['LocalCacheService'])[_0x33ae52(0x330)](),(_0x2e8f36=this['_config'])!=null&&_0x2e8f36['enableAuthServer']&&this[_0x33ae52(0x42c)][_0x33ae52(0x3e4)](_0x1cd664);}},_0x33f7b3(_0x4c54a0[_0x18d6ba(0x36f)],'pluginName',_0x1d44a6),_0x4c54a0['UniverCollaborationClientPlugin']=_0x5bf1ec([_0x3aaa00[_0x18d6ba(0x220)](_0x4d4d9d[_0x18d6ba(0x398)]),_0x2d7c2c(0x1,_0x3aaa00[_0x18d6ba(0x42a)]),_0x2d7c2c(0x2,_0x3b10b4['IRenderManagerService']),_0x2d7c2c(0x3,_0x3aaa00[_0x18d6ba(0x1de)](_0x3aaa00['Injector']))],_0x4c54a0['UniverCollaborationClientPlugin']),_0x4c54a0[_0x18d6ba(0x38a)]=_0x5d6e8c,_0x4c54a0[_0x18d6ba(0x333)]=_0x9f6d65,_0x4c54a0['COLLAB_WEB_SOCKET_URL_KEY']=_0xdc44de,_0x4c54a0[_0x18d6ba(0x191)]=_0x2232ef,_0x4c54a0['CollaborationStatusDisplay']=_0x89a6f8,_0x4c54a0[_0x18d6ba(0x4d2)]=_0x285dfb,_0x4c54a0[_0x18d6ba(0x20c)]=_0x1d14f0,_0x4c54a0[_0x18d6ba(0x4d4)]=_0x2689b9,_0x4c54a0[_0x18d6ba(0x42d)]=_0x41bd32,_0x4c54a0['IURLService']=_0x44b27e,_0x4c54a0[_0x18d6ba(0x18b)]=_0x6e910a,_0x4c54a0[_0x18d6ba(0x46e)]=_0xbbcc2f,_0x4c54a0[_0x18d6ba(0x34d)]=_0x3867e3,_0x4c54a0[_0x18d6ba(0x306)]=_0x4bec73,_0x4c54a0['SNAPSHOT_URL_KEY']=_0x37c740,_0x4c54a0[_0x18d6ba(0x50a)]=_0x2cd85f,_0x4c54a0[_0x18d6ba(0x4c0)]=_0xa0f57e,_0x4c54a0[_0x18d6ba(0x3ed)]=_0x39bc2e,_0x4c54a0[_0x18d6ba(0x562)]=_0x28e9a6,_0x4c54a0[_0x18d6ba(0x392)]=_0x488e2c,Object[_0x18d6ba(0x272)](_0x4c54a0,Symbol['toStringTag'],{'value':_0x18d6ba(0x358)});}));function _0x3d0e(_0x2ea574,_0x1b4889){const _0x74610d=_0x7461();return _0x3d0e=function(_0x3d0e42,_0x4b45c4){_0x3d0e42=_0x3d0e42-0x189;let _0x68da8b=_0x74610d[_0x3d0e42];return _0x68da8b;},_0x3d0e(_0x2ea574,_0x1b4889);}function _0x7461(){const _0x56da25=['status$','addImageSourceCache','dispose$','IMEInputManagerService','override','_collaborationTimeoutTimer','_state','SessionStatus','isValidRectRange','object','list','getVpScrollXYInfoByPosToVp','MSG_FOR_ERROR','MUTATION','M0\x200H16V16H0z','LIVESHARE_TERMINATE','_commandService','LICENSE_DISTRO_REJECTED','concat','_createInitialState','@univerjs/engine-render','SetWorksheetActivateCommand','bottom','_snapshotService','FileId','InsertSheetMutation','min','collaborators','actions','_docTransformIMECacheService','_onCursorDelete','isTransformMutationFailure','_cursorShapes','_collaborationController','_transformIMECache','loadDoc','_collabCursorController','_onConnectionFailed','newCsEvent','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','lodash/debounce','PSEUDO_FETCH_MISSING_RESULT','sheetID','@univerjs/network','failed\x20to\x20apply\x20missed\x20changesets!','[OfflineState]:\x20received\x20acknowledgement.','verdancy600','getSkeleton','urlChange$','image/jpeg','/universer-api/file/{fileID}/sign-url','[OfflineState]:\x20received\x20changeset.','onStateChange','_members','eventID','onRemoteRej','DisposableCollection','href','_awaitingChangeset','ERROR_EXCEED_SIZE','collaboration.single-unit.warning','InsertRangeMoveRightCommandId','_roomMembers$','_applyRemoteChangeset','type','SNAPSHOT_HAS_BEEN_REMOVED','isPermissionRej','switchMap','collabStatus.conflict','_updateLocalCache','Error\x20on\x20receiving\x20event','open$','symbol','pauseCollaboration','location','_onMessage','registerRenderModule','4142330swXXtF','getTypeOfUnitDisposed$','_onJoinRoomEvent','permission.title','appendMutation','_clearUndo','debounceTime','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','subscribe','_permissionService','hide','_getLoginPath','generateRandomId','AWAITING_WITH_PENDING','setCurrentUser','_scheduleSaving','params','deserializeToCombResponse','_clearRedo','_heartbeatTimer','listCollaborators','CONFLICT','fetching\x20missing\x20changesets\x20from\x20','find','_urlService','then','_entities','onlyLocal','ThresholdInterceptorFactory','DeleteRangeMoveUpCommandId','Injector','_joinRoom','textEncoder','handleDeleteRangeMoveUp','_handleHeartbeatEvent','length','json','_clearScheduledTask','_cursors','SEND_CHANGESET_TIMEOUT','resourceIDs','_getSendChangesetTimeout','IMessageService','mapTo','getCurrentSelections','_acknowledgedAwaitingChangeset','hovered','clear','complete','13wWjcQK','_getSignURL','round','getCurrentUnitForType','endColumn','_sessions','transformMutationsWithChangeset','changesets','replaceState','prototype','APPLY_REVISION_CONFILICT','reduce','HEARTBEAT_INTERVAL','toggleOnline','onlineStatusTitle','LocaleService','closeSession','_socketService','unitId','UNIVER_SHEET','LOCAL_CACHE_INTERVAL_KEY','179rtQPvD','_collaborationSessionService','IAuthzIoService','_labelPosition','batchAllowed','CollaborationStatus','@univerjs/ui','combineLatest','_syncEditingCollabCursor','IConfigService','cmd','_clearCollaborationTimeoutTimer','updatePermissionPoint','/allowed','awaiting','ColorKit','unsubscribe','transformIMECache','onPointerEnter$','purple300','fill','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','transform','_session','userID','_createHandler','ILocalStorageService','enableSingleActiveInstanceLock','[CollaborationUndoRedoService]','file','entries','_docStateChangeManagerService','text','handleDeleteRangeMoveLeft','readAsDataURL','black','_saveCache','use','unit','@univerjs/design','onRemoteChangeset','getTime','function','_config','_transformUndoRedoStack','SheetSkeletonManagerService','substring','\x0aCurrent:\x20','startRow','{fileID}','string','_collaborationPaused','url(#on-line-single_clip0_910_349)','onCommandExecuted','setParam','LEAVE','collab-text-range-','next','getMemberID','blue400','UserManagerService','getAncestorScale','_updateURLWithCurrentState','originalMeta','enableOfflineEditing','toDisposable','_removeRoom','online','_onLocalMutation','univer-pro.collaboration-client-socket-service','m2Prime','reject','saveSheetBlock','Starting','_updateCollabCursors','_removeCollabCursors','getUniverSheetInstance','parseChangesetToProtocol','saveChangeset','transformMutation','POST','OffLineSingle','Inject','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','message$','resize','_onFetchMissResult','on-line-single_clip0_910_349','NOT_COLLAB','RETRY_CONNECTING_INTERVAL','getUndoRedoMutationParamsCache','_initMergeInterceptor','toggleOffline','&source=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','BehaviorSubject','PENDING','loadOfflineData','handleInsertRangeMoveRight','8VanxgH','stringify','div','TEXT_RANGE_LAYER_INDEX','_onRemoteACK','createSocket','setAlpha','state','OFFLINE','1em','getSheetId','toString','onRemoteAck','SUBMIT_CHANGESET','CHANGESET_REVISION_CONFILICT','findNodePositionByCharIndex','_unitOnClients','getRoom','_commentUpdate$','NodePositionConvertToCursor','focused$','&to=','_notificationService','state$','addEventListener','subscribeEvent','LIVESHARE_FETCH_OPERATIONS','_transformRemoteChangesetByIMECache','HEARTBEAT_INTERVAL_KEY','update','/universer-api/stream/file/upload','_queuedRemoteChangesets','\x20to\x20','children','_localStorageService','&assign=','SnapshotServerOverHTTPService','COMPRESS_MUTATION_SEND','_range','13954KojmlX','idSuffix','ONLINE','_messageService','_unlockTransition','LIVESHARE_OPERATION','[FetchMissState]','getCollabCursors$','off-line-single_clip0_910_343','DependentOn','_name','856473PTqCJn','pending','_hover','_status$','getRelativeToViewportCoord','socket\x20open.','#FFF','memberID','COMMENT_UPDATE','CollaborationSessionService','[CollaborationState]:\x20apply\x20error!','addObject','Undefined','add','_updateStatus','_updateSubUnitFromURLParams','_syncEditingCollabCursorService','_disabled','_onRemoteRejected','DesktopCollaborationStatusDisplayController','UniverUi','INotificationService','_initStatusListener','push','every','1055HyEGMS','_beforeCloseService','_anchor','_drawRectRange','IPermissionService','take','_memberService','_retryConnectingTimer','_executeRemoteChangeset','DocStateChangeManagerService','univerjs-icon\x20univerjs-icon-','debounce','getUnitType','_startCollaboration','_compressMutationService','univer-offline','_updateState','univer-online','DataLoaderController','saveSnapshot','conflict','RemoveRowCommandId','indexOf','permissionRejEvent','@univerjs/core','SUCCUSS','target','IUndoRedoService','forwardRef','useDependency','submit\x20changeset\x20error!','_onUserJoin','_onCursorUpdate','post','_transitionLocked','requestParams','objectID','MessageType','_snapshotServerService','encode','_socket$','awaitingChangeset','React','setActiveRange','_cachedData','_socketMessageSubscription','_substituteUndoStack','key','_fetchMissChangesets','_hovered','SheetCollaborationEntity','csAckEvent','HTTPRequest','_send','save','defineProperty','socket\x20close','SYNCED','history','_socket','session.connection-failed','range','OnLifecycle','_replaceFileID','subunit','NEW_CHANGESETS','error$','shareReplay','deserializeRangeWithSheet','/block/','fillRule','_scheduleReconnection','\x20-\x20','getOwnPropertySymbols','max','_init','\x0aAfter:\x20','lineTo','collab-rect-range-','CompressMutationService','TOO_MANY_REQUESTS','asObservable','SheetsSelectionsService','fetch_missing','IBeforeCloseService','_registerDependencies','...','revision','_remoteChangesetQueue','_handleJoinEvent','IHTTPImplementation','lodash','change$','_initUnitPermissionChange','_renderManagerService','SetDocZoomRatioOperation','onMouseMove','translate(.97)','routeKey','_docSkeleton','_sheetTransformSelectionsService','DeleteRangeMoveLeftCommandId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_online','WorkbookEditablePermission','/collaborator','localeService','set','csRejEvent','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','onTransformSelections','_showConflictNotification','getActiveSheet','UNKNOWN_CODE','CollaborationEvent','values','@univerjs/docs','/resources','EmptyMutation','_clearHeartbeatTimer','_revisionService','8590116RpDOBJ','PERMISSION_DENIED','extend','ImageSourceType','_sendHeartbeat','HttpExport','onSendChangeset','loadSheet','getUnitStatus$','isTransformMutationsWithChangesetSuccess','ImageIoService','CollaborationController','getMember','_scheduleClearOtherTimer','_unitID','arc','allowed','objectType','_handler','selections','Workbook','UNDEFINED','exports','NOT_FOUND','getCellPositionByOffset','some','APPLY_NON_SEQUENTIAL_REVISION','[CollaborationSession]','ICommandService','3741864oaNvlW','FETCH_MISSING','getWorkbookSelections','IUniverInstanceService','registerRefRange','SHOULD_CLOSE_CONN','[CollaborationSessionService]','icon','[CollaborationEntity]','AWAITING','sheetId','Tools','put','assign','SNAPSHOT_INVALID_SNAPSHOT','getInterceptPoints','session.room-full','@univerjs/engine-formula','_onCombEvent','handleInsertCol','InsertRowCommandId','#fff','getTypeOfUnitAdded$','executeCommand','_isPermissionRej','getSheetObject','RxDisposable','_cursor','url(#$1','_transformPreviousActiveRange','event$','/fetchmissing?from=','Rectangle','unload','cursorInfo','textRanges','getParam','call','_type','defIds','getItem','mutations','MoveRangeCommandId','transformChangesets','_submitChangeset','HELLO','includes','EXCHANGE_SIGN_URL_SERVER_URL_KEY','FAIL','_getCurrentRevision','fetchThroughInterceptors','onTransformRemoteChangesetByIMECache','SNAPSHOT_SERVER_URL_KEY','collab-text-anchor-','fillStyle','_entityInit$','collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USERS_ENTER','_rescheduleHeartbeatEvent','_lastPointer','@univerjs/sheets','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','univer-pro.collaboration-client.single-active-unit-service','fromCollab','_themeService','c2Prime','SNAPSHOT_URL_KEY','_sendingTimer','append','_univerInstanceService','displayName','PERMISSION_REJ','YUUMI_UNABLE_LOAD_URL','_loadDoc','_ensureSubject','HEARTBEAT','getColor','MergeInterceptorFactory','top','status','offline','isInternalEditorID','makeDirty','UniverCollaboration','LICENSE_IMPORT_SIZE_EXCEEDED','Subject','newValue','_retryCount','_HTTPService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_pendingMutations','shouldCloseConn','pipe','disableLocalCache','getCurrentUser','auth.needGotoLoginAlert','COLLAB_SUBMIT_CHANGESET_URL_KEY','_createSocket','8712696WEgMhr','isTransformMutationsWithChangesetFailure','roomMembers','dispose','updateOfflineData','method','toRgbString','getFocusedUnit','10446botkEb','UPDATE_CURSOR','clearTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','9eiJtRx','isArray','map','IRemoteInstanceService','distinctUntilChanged','joinEvent','_eventUnsubscribe','_checkMissing','onTransformIME','infoRsp','saveImage','_roomMembers','SEND_CHANGESET_TIMEOUT_KEY','RichTextEditingMutation','workbook','Disposable','/object/','startsWith','?url=','attrs','_onConflict','RefRangeService','univer-online-status','Module','UNIVER_UNKNOWN','measureText','UniverRpc','mergeOverrideWithDependencies','RevisionService','_waitForHeartbeatResponse','_scheduleTimestamp','COLLAB_SUBMIT_CHANGESET_URL','ALREADY_EXISTS','LocalCacheService','collaboration-client.offline-data-not-saved','path','INGEST','incrementRevForDocument','init','commentUpdate$','_getSnapshotAPIPrefix','Plugin','0\x200\x2016\x2016','b64DecodeUnicode','Vector2','_logService','UniverCollaborationClientPlugin','engine','SetTextSelectionsOperation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','colorChannel1','_refRangeService','_setupSubUnitSync','handleIRemoveRow','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','size','_refreshCollabCursors','_onRecvEvent','UnitEmbedded','/unit/','Shape','mapDocumentTypeToUniverType','_clearTimeoutTimer','synced','isActive','rxjs/operators','@univerjs-pro/collaboration','_waitCount','putCollaborators','JSONX','forEach','ranges','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','AUTHZ_URL_KEY','DEFAULT_FILE_NAME','onMissingChangesets','closePath','\x20in\x20_schedule.','UniverCore','exhaustSavingTask','DocSkeletonManagerService','serializeCombRequest','send','_configService','roomMembers$','m1Prime','initWorkbookPermissionChange','UniverCollaborationPlugin','onload','_drawAnchor','_collabCursorState$','rev','editingUnit','_drawTextRange','assignAColorForMemberID','getRangePointData','LOCAL_CACHE_INTERVAL','whenReady','requireSession','fromEvent','row','_scheduleCollaborationTimeoutTimer','getViewport','saveOfflineData','unknown','rgba(255,\x20255,\x20255,\x200.01)','SnapshotService','UniverSheetsUi','_docSyncEditingCollabCursorService','_textBubble','encodeURIComponent','_handleHover','concatMap','sequenceExecute','image/png','registerHTTPInterceptor','serializeDocRange','[DataLoaderController]','sessionStatus','_getSheetObject','awaiting_with_pending','onCommentUpdate','updatePermissionObjEvent','currentTheme$','debug','createIdentifier','BuiltInUIPart','INVALID_ARGUMENT','_onRefRangeChange','_scheduleHeartbeat','hasOwnProperty','[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.','IDLE','_updateLocalCursor','drawWith','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HTTPService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','AuthzIoHttpService','url','Rect','FromArray','refreshPermission','_createInitialStateImpl','_disableEditing','session.will-retry','_colorIndex','deleteCollaborator','collaboratorID','onPointerLeave$','_saveTaskMap','roles','_state$','evenodd','parse','transformSelections','IUIPartsService','_ws','pushState','_change$','patch','_handleEvent','setWaitCount','get','_getRedoStack','connection\x20error','roomInfos','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onUserLeave','_handleLeaveEvent','_getAnchorBounding','_sendHeartbeatTimer','WebURLService','color','_initCommandExecutedListener','unshift','setTimeout','[PendingState]:\x20received\x20acknowledgement.','baseRev','LIVESHARE_REQUEST_HOST','selection','getSheetBySheetId','title','show','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getUnitOnRev','CHANGESET_REJ','11XFMoxW','getOwnPropertyDescriptor','ImageUploadStatusType','/-/object/-/batch_allowed','WebSocketService','beginPath','collabStatus.syncing','updateCollaborator','getCoordByCell','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','code','skeleton','Univer','Optional','JOINING','takeUntil','delay','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Error','Warning','transformByState','body','UNRECOGNIZED','interceptor','collaMsg','_initResize','/new_changes','ITransformService','collabStatus.offline','UniverSheets','liveShareNewHost','OnLineSingle','onlineStatusIcon','UniverDocs','onStarting','getCollabEntity','_toggleOffline','handleInsertRangeMoveDown','image/jpg','_onConnectionOpen','merge','LIVESHARE_NEW_HOST','_hideTimer','rxjs','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','ILogService','gold400','_injector','ICollaborationSocketService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getDocRanges','_context','syncEditingCollabCursor','_decreaseWaiting','@univerjs/sheets-ui','UniverInstanceType','leaveEvent','setShapeProps','COMPRESS_MUTATION_APPLY','CollaborationSocketService','reverse','disposeWithMe','_onRemoteChangeset','@univerjs/drawing','APPLY_REJECT','_localeService','_shapes','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_anchorDot','result','has','_scene','/rev/','onTransformChange$','FETCH_MISS','tag','INTERNAL_ERROR','CommandType','replace','restore','InsertRangeMoveDownCommandId','from','data','VIEW_MAIN','_lockTransition','_userManagerService','getValue','session','searchParams','UnitSnapshot','_replayCachedMutations','removeMember','currentSkeleton$','_startDocCollabCursor','getCollabEntity$','socketService','_transformService','onSyncEditingCollabCursor','_clearOtherTimers','width','updateCursorEvent','sessionStatus$','_docSkeletonManagerService','SheetPermissionInitController','ws://127.0.0.1:8000/universer-api/comb/connect','delete','UniverDesign','random','propertyIsEnumerable','_substituteRedoStack','OTHER_CLIENTS_EDITING','defs','filter','LOGIN_URL_KEY','resend','_sheetSkeletonManagerService','clearInterval','_http','joinRsp','startColumn','deepClone','_transformUndoredo','getCurrentRevForDocument','_getUndoStack','_httpService','split','Unknown\x20user','_clearLocalCache','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','backgroundColor','members','Ready','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','COLORS','_backgroundColor','[UniverCollaborationClientPlugin]','transformRemoteChangeset','c1Prime','[PendingState]:\x20received\x20rejection.','_color','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UNIVER_PROJECT','_collabSessionService','labelPosition','_timeoutTimer','column','_getMergeRange','close$','createInstance','_sessionStatus$','clsx','addObjects','removeParam','_undoRedoService','_render','NO_OTHER_CLIENTS_EDITING','getConfig','collabStatus.synced','_imageSourceCache','CollaborationSession','_getAPIPrefix','COMPLETION_FINISHED','isTransformChangesetsSuccess','flatMap','name','connectInjector','_tryEnsureSocket','xlink:href','handleMoveRange','UNKNOWN_CMD','session.collaboration-timeout','JOIN','_schedule','getImageSourceCache','_assignedColors','_getUploadFileURL','_unitStatus','error','USERS_LEAVE','_id','UNAUTHENTICATED','registerBeforeClose','fillText','enableLocalCache','onMissedChangesetFetched','getUnitId','editing\x20status\x20changed\x20to','_docTransformSelectionsService','@univerjs/rpc','updateMember','unitID','useRef','_event$','confirm','_localCacheService','SheetCollabCursorShape','UNIVER_DOC','UniverIcon','UNIVER_SLIDE','height','create','_draw','RECV','currentColor','RETRY_CONNECTING_MAX_COUNT','UniverEngineRender','ERROR_IMAGE','univer-online-status-title','parseProtocolChangeset','_getSaveTimeout','COLLAB_WEB_SOCKET_URL','_transformStack','BASE64','CommentService','all','HEARTBEAT_TIMEOUT_KEY','getSheetBlock','image/bmp','setItem','objectActions','collabStatus.fetchMiss','_uiPartsService','none','ACTIVE_UNIT_EVENT_CHANNEL','getImage','_toggleOnline','action','createElement','CHANGESET_ACK','_commentService','triggerDblclick','_getCtorByUniverType','fetchMissingChangesets','transformUndoRedo','_incrementRevisionNumber','_selfUnitIDs','_removeClearOtherTimer','onRendered','APPLY_PERMISSION_DENIED','RegularPolygon','disposeUnit','EffectRefRangId','cursorInfo$','_transformSelections','svg','isEditing','LocalUndoRedoService','CONNECTOR_DATA_TOO_LARGE','on-line-single','activeSheet$','_socketReady','_getAPIPrefixPath','getCurrent','TextSelectionManagerService','YUUMI_URL_COL_OUT_OF_RANGE','_registerRenderDependencies','commentUpdateEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LifecycleStages','_cursorInfo$','close','runRefRangeMutations'];_0x7461=function(){return _0x56da25;};return _0x7461();}
|