@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504221607 → 0.6.10-nightly.202504231607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x580e(_0x3bd3c8,_0x1984cb){const _0x29c73f=_0x29c7();return _0x580e=function(_0x580e59,_0x43631c){_0x580e59=_0x580e59-0x118;let _0x5629a0=_0x29c73f[_0x580e59];return _0x5629a0;},_0x580e(_0x3bd3c8,_0x1984cb);}(function(_0x3462e8,_0xd4228b){const _0x776960=_0x580e,_0x343b99=_0x3462e8();while(!![]){try{const _0x1b409f=parseInt(_0x776960(0x3a0))/0x1+parseInt(_0x776960(0x28b))/0x2*(-parseInt(_0x776960(0x207))/0x3)+parseInt(_0x776960(0x19f))/0x4+-parseInt(_0x776960(0x38b))/0x5+parseInt(_0x776960(0x299))/0x6*(parseInt(_0x776960(0x1cb))/0x7)+-parseInt(_0x776960(0x309))/0x8*(-parseInt(_0x776960(0x2f6))/0x9)+-parseInt(_0x776960(0x2e9))/0xa;if(_0x1b409f===_0xd4228b)break;else _0x343b99['push'](_0x343b99['shift']());}catch(_0x587f55){_0x343b99['push'](_0x343b99['shift']());}}}(_0x29c7,0xd9188),function(_0x522f2e,_0x4cd8f1){const _0x5837a1=_0x580e;typeof exports==_0x5837a1(0x367)&&typeof module<'u'?_0x4cd8f1(exports,require(_0x5837a1(0x169)),require(_0x5837a1(0x1ad)),require(_0x5837a1(0x3a8)),require(_0x5837a1(0x236)),require('@univerjs/docs-ui'),require(_0x5837a1(0x1f5)),require(_0x5837a1(0x25e)),require(_0x5837a1(0x32e)),require(_0x5837a1(0x1a9)),require('@univerjs/engine-formula'),require(_0x5837a1(0x18c)),require(_0x5837a1(0x31e)),require(_0x5837a1(0x1ac)),require('react/jsx-runtime'),require(_0x5837a1(0x199)),require(_0x5837a1(0x194)),require('react'),require(_0x5837a1(0x174))):typeof define==_0x5837a1(0x160)&&define['amd']?define([_0x5837a1(0x320),_0x5837a1(0x169),_0x5837a1(0x1ad),_0x5837a1(0x3a8),'@univerjs/network',_0x5837a1(0x2ab),'@univerjs/drawing',_0x5837a1(0x25e),_0x5837a1(0x32e),_0x5837a1(0x1a9),_0x5837a1(0x247),'@univerjs/sheets',_0x5837a1(0x31e),'@univerjs/sheets-ui','react/jsx-runtime',_0x5837a1(0x199),_0x5837a1(0x194),'react',_0x5837a1(0x174)],_0x4cd8f1):(_0x522f2e=typeof globalThis<'u'?globalThis:_0x522f2e||self,_0x4cd8f1(_0x522f2e[_0x5837a1(0x248)]={},_0x522f2e[_0x5837a1(0x1ab)],_0x522f2e['UniverCore'],_0x522f2e['UniverEngineRender'],_0x522f2e['UniverNetwork'],_0x522f2e[_0x5837a1(0x1cc)],_0x522f2e['UniverDrawing'],_0x522f2e[_0x5837a1(0x25e)],_0x522f2e[_0x5837a1(0x2bb)],_0x522f2e[_0x5837a1(0x1e6)],_0x522f2e[_0x5837a1(0x263)],_0x522f2e[_0x5837a1(0x2ef)],_0x522f2e[_0x5837a1(0x25e)]['operators'],_0x522f2e[_0x5837a1(0x2aa)],_0x522f2e[_0x5837a1(0x2a9)],_0x522f2e['UniverUi'],_0x522f2e['UniverDesign'],_0x522f2e[_0x5837a1(0x2a9)],_0x522f2e[_0x5837a1(0x27c)]));}(this,function(_0x32b57d,_0xbdea02,_0x11f213,_0x8c537b,_0xb0168,_0x599319,_0x48250e,_0x1eb5fd,_0x228de8,_0x292b34,_0x3a9593,_0x4eb7aa,_0xddff01,_0x5cb6cd,_0x20b87c,_0x2d0743,_0x5628b5,_0x27d1ba,_0x1f20fb){'use strict';const _0x15f07d=_0x580e;var _0x4ed87d=Object[_0x15f07d(0x301)],_0x4f0713=(_0x44430e,_0x45371d,_0x737e91)=>_0x45371d in _0x44430e?_0x4ed87d(_0x44430e,_0x45371d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x737e91}):_0x44430e[_0x45371d]=_0x737e91,_0x29a23d=(_0x5da938,_0x238279,_0x3b47fe)=>_0x4f0713(_0x5da938,typeof _0x238279!=_0x15f07d(0x22b)?_0x238279+'':_0x238279,_0x3b47fe),_0x55233e=Object[_0x15f07d(0x144)],_0x1b737d=(_0x2dc0cd,_0x22aa34,_0x386874,_0x22b284)=>{for(var _0x1c8612=_0x22b284>0x1?void 0x0:_0x22b284?_0x55233e(_0x22aa34,_0x386874):_0x22aa34,_0x489439=_0x2dc0cd['length']-0x1,_0x3514bf;_0x489439>=0x0;_0x489439--)(_0x3514bf=_0x2dc0cd[_0x489439])&&(_0x1c8612=_0x3514bf(_0x1c8612)||_0x1c8612);return _0x1c8612;},_0x292d64=(_0x321ef6,_0x2dde5e)=>(_0x9cee63,_0x49e2dc)=>_0x2dde5e(_0x9cee63,_0x49e2dc,_0x321ef6);let _0x219e54=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x35d4fd,_0x4d833d){const _0x48ea19=_0x15f07d;super(),this[_0x48ea19(0x242)]=_0x35d4fd,this[_0x48ea19(0x26c)]=_0x4d833d,this[_0x48ea19(0x198)]();}[_0x15f07d(0x198)](){const _0x143274=_0x15f07d,_0x450160=this;this[_0x143274(0x290)](this[_0x143274(0x242)]['addClipboardHook']({'onBeforePasteImage':async _0x5a1b55=>{const _0x5332b7=_0x143274,_0x2bdeaf=await _0x450160['_imageIoService']['saveImage'](_0x5a1b55);return _0x2bdeaf?{'source':_0x2bdeaf['source'],'imageSourceType':_0x2bdeaf[_0x5332b7(0x24b)]}:null;}}));}};_0x219e54=_0x1b737d([_0x292d64(0x0,_0x599319[_0x15f07d(0x124)]),_0x292d64(0x1,_0x48250e[_0x15f07d(0x38c)])],_0x219e54);const _0x42ea45=[_0x15f07d(0x2ae),_0x15f07d(0x27b),_0x15f07d(0x2bc),_0x15f07d(0x1a8),'blue400',_0x15f07d(0x215)];class _0x43e7a7 extends _0x11f213[_0x15f07d(0x35f)]{constructor(){const _0x3fa348=_0x15f07d;super(...arguments),_0x29a23d(this,_0x3fa348(0x11a),new Map()),_0x29a23d(this,_0x3fa348(0x17b),0x0);}['assignAColorForMemberID'](_0x2a8dad){const _0x2656a0=_0x15f07d;if(this['_assignedColors']['has'](_0x2a8dad))return this['_assignedColors'][_0x2656a0(0x300)](_0x2a8dad);const _0x2a0fb7=_0x42ea45[this[_0x2656a0(0x17b)]];return this[_0x2656a0(0x17b)]=(this[_0x2656a0(0x17b)]+0x1)%_0x42ea45[_0x2656a0(0x138)],this['_assignedColors']['set'](_0x2a8dad,_0x2a0fb7),_0x2a0fb7;}}function _0x3f5f28(_0xef5920){const _0x358c1a=_0x15f07d;let _0x54353e='';for(const _0x182aa4 of _0xef5920){const {startOffset:_0x51fe83,endOffset:_0x2a95cc,isActive:_0x3fcf15,rangeType:_0x7153da,segmentId:_0x36fb35,segmentPage:_0x4e32c6}=_0x182aa4;_0x54353e[_0x358c1a(0x138)]&&(_0x54353e+=','),_0x54353e+=_0x51fe83+':'+_0x2a95cc+':'+(_0x3fcf15?'1':'0')+':'+_0x7153da+':'+_0x36fb35+':'+_0x4e32c6;}return _0x54353e;}function _0x3284f5(_0x40d3ad){const _0x30da23=_0x15f07d,_0x216d72=_0x40d3ad['split'](','),_0x514ad5=[];for(const _0x4a3bf1 of _0x216d72){const [_0x254712,_0x2ec633,_0x443bcf,_0x4dc91a,_0x6a68b7,_0x10e516]=_0x4a3bf1['split'](':');_0x514ad5[_0x30da23(0x330)]({'startOffset':Number(_0x254712),'endOffset':Number(_0x2ec633),'collapsed':_0x254712===_0x2ec633,'isActive':_0x443bcf==='1','rangeType':_0x4dc91a===_0x11f213['DOC_RANGE_TYPE'][_0x30da23(0x21d)]?_0x11f213[_0x30da23(0x16a)][_0x30da23(0x21d)]:_0x11f213[_0x30da23(0x16a)][_0x30da23(0x22e)],'segmentId':typeof _0x6a68b7=='string'?String(_0x6a68b7):'','segmentPage':Number(_0x10e516!=null?_0x10e516:-0x1)});}return _0x514ad5[_0x30da23(0x25c)](_0x12b678=>_0x12b678[_0x30da23(0x31d)])||(_0x514ad5[0x0][_0x30da23(0x31d)]=!0x0),_0x514ad5;}class _0xfa3323 extends _0x11f213[_0x15f07d(0x1b2)]{constructor(){const _0x36529f=_0x15f07d;super(...arguments),_0x29a23d(this,_0x36529f(0x38a),new _0x1eb5fd[(_0x36529f(0x266))](null)),_0x29a23d(this,_0x36529f(0x25d),this[_0x36529f(0x38a)]['asObservable']());}['syncEditingCollabCursor'](_0x4708b7){const _0x34764e=_0x15f07d,{unitID:_0x5bf245,memberID:_0x444c41,textRanges:_0x3848fe}=_0x4708b7,_0x3d57a4=_0x3f5f28(_0x3848fe);if(_0x3d57a4==='')return;const _0x833f2={'unitID':_0x5bf245,'memberID':_0x444c41,'selection':_0x3d57a4};this[_0x34764e(0x38a)][_0x34764e(0x379)](_0x833f2);}}var _0x391ac3=Object['getOwnPropertyDescriptor'],_0x51ec86=(_0x38521b,_0x62e312,_0x1c86b2,_0x310750)=>{const _0x330e15=_0x15f07d;for(var _0x2099c8=_0x310750>0x1?void 0x0:_0x310750?_0x391ac3(_0x62e312,_0x1c86b2):_0x62e312,_0x569898=_0x38521b[_0x330e15(0x138)]-0x1,_0x58a06d;_0x569898>=0x0;_0x569898--)(_0x58a06d=_0x38521b[_0x569898])&&(_0x2099c8=_0x58a06d(_0x2099c8)||_0x2099c8);return _0x2099c8;},_0x367f5b=(_0x19cf78,_0x257085)=>(_0x537ea5,_0x40e63f)=>_0x257085(_0x537ea5,_0x40e63f,_0x19cf78);const _0xed3179=0x12c,_0x5a9cf2=0x64;let _0x69e5bf=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x302a37,_0x3cc39f,_0x32248f,_0x4a3811,_0x2b81e3,_0x5b9552,_0x5adf79,_0x20929e,_0x1b67a8){const _0x1188e2=_0x15f07d;super(),_0x29a23d(this,_0x1188e2(0x399),!0x1),_0x29a23d(this,_0x1188e2(0x198),!0x1),_0x29a23d(this,_0x1188e2(0x163),new _0x1eb5fd['BehaviorSubject'](new Map())),_0x29a23d(this,_0x1188e2(0x234),this[_0x1188e2(0x163)][_0x1188e2(0x179)]()),_0x29a23d(this,'_roomMembers$',new _0x1eb5fd[(_0x1188e2(0x266))]([])),_0x29a23d(this,_0x1188e2(0x311),this[_0x1188e2(0x270)][_0x1188e2(0x181)](_0x1eb5fd[_0x1188e2(0x377)](_0xed3179))),_0x29a23d(this,'_updateLocalCursor',_0x11f213[_0x1188e2(0x38d)](_0xba32cc=>{const _0x1bbe7=_0x1188e2,_0x1f7c07={'eventID':_0x292b34[_0x1bbe7(0x2e2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bbe7(0x23b)],'memberID':this[_0x1bbe7(0x2bd)][_0x1bbe7(0x2fc)](),'selection':_0x3f5f28(_0xba32cc)}};this[_0x1bbe7(0x2bd)]['send'](_0x1f7c07,this[_0x1bbe7(0x23b)]);},_0x5a9cf2)),(this[_0x1188e2(0x23b)]=_0x302a37,this[_0x1188e2(0x2bd)]=_0x3cc39f,this['_injector']=_0x32248f,this[_0x1188e2(0x13d)]=_0x4a3811,this[_0x1188e2(0x186)]=_0x2b81e3,this['_syncEditingCollabCursorService']=_0x5b9552,this['_transformService']=_0x5adf79,this[_0x1188e2(0x2b2)]=_0x20929e,this[_0x1188e2(0x34a)]=_0x1b67a8);}get['cursorInfo'](){const _0x5589d9=_0x15f07d;return this[_0x5589d9(0x163)][_0x5589d9(0x2e1)]();}get[_0x15f07d(0x1e3)](){const _0x471daa=_0x15f07d;return this[_0x471daa(0x270)][_0x471daa(0x2e1)]();}[_0x15f07d(0x1c7)](){const _0x26a5ae=_0x15f07d;super[_0x26a5ae(0x1c7)](),this[_0x26a5ae(0x163)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x26a5ae(0x379)]([]),this['_roomMembers$']['complete']();}[_0x15f07d(0x319)](){const _0x12e4fe=_0x15f07d;this['_init']||(this[_0x12e4fe(0x198)]=!0x0,this[_0x12e4fe(0x2bd)][_0x12e4fe(0x193)][_0x12e4fe(0x181)](_0x1eb5fd[_0x12e4fe(0x16b)](this['dispose$']))[_0x12e4fe(0x1db)](_0x4cc8dd=>{const _0x3c5031=_0x12e4fe;_0x4cc8dd===_0xbdea02['SessionStatus']['ONLINE']?this[_0x3c5031(0x3a3)]():this[_0x3c5031(0x13a)]();}),this['_session'][_0x12e4fe(0x289)]['pipe'](_0x1eb5fd[_0x12e4fe(0x16b)](this[_0x12e4fe(0x187)]))[_0x12e4fe(0x1db)](_0x4f88bd=>{const _0x3bbce9=_0x12e4fe,_0x4cff12=_0x4f88bd[_0x3bbce9(0x18e)];_0x4cff12===_0x292b34[_0x3bbce9(0x2e2)]['UPDATE_CURSOR']&&this[_0x3bbce9(0x1af)](_0x4f88bd),_0x4cff12===_0x292b34[_0x3bbce9(0x2e2)][_0x3bbce9(0x2d2)]&&this[_0x3bbce9(0x375)](_0x4f88bd);}),this[_0x12e4fe(0x290)](this[_0x12e4fe(0x34a)]['onCommandExecuted'](_0x44061e=>{const _0x25495f=_0x12e4fe,_0x34cfde=_0x44061e[_0x25495f(0x1e4)];_0x34cfde!=null&&this[_0x25495f(0x399)]&&_0x44061e['id']===_0x228de8[_0x25495f(0x201)]['id']&&_0x34cfde[_0x25495f(0x350)]===this['unitID']&&_0x34cfde[_0x25495f(0x280)]===!0x1&&_0x34cfde['ranges'][_0x25495f(0x138)]>0x0&&this[_0x25495f(0x225)](_0x34cfde['ranges']);})),this[_0x12e4fe(0x1c5)][_0x12e4fe(0x25d)][_0x12e4fe(0x181)](_0x1eb5fd[_0x12e4fe(0x16b)](this[_0x12e4fe(0x187)]))['subscribe'](_0x1109b5=>{const _0x18c88a=_0x12e4fe;if((_0x1109b5==null?void 0x0:_0x1109b5[_0x18c88a(0x23b)])!==this[_0x18c88a(0x23b)])return;const _0x493a05={'eventID':_0x292b34['CollaborationEvent'][_0x18c88a(0x120)],'data':_0x1109b5};this[_0x18c88a(0x1af)](_0x493a05);}),this['disposeWithMe'](this[_0x12e4fe(0x34a)][_0x12e4fe(0x337)](_0x4e1e09=>{const _0x5aea3f=_0x12e4fe;if(_0x4e1e09[_0x5aea3f(0x1e4)]==null)return;const _0x5bd03a=_0x4e1e09[_0x5aea3f(0x1e4)];if(_0x4e1e09['id']!==_0x228de8[_0x5aea3f(0x362)]['id']||_0x5bd03a[_0x5aea3f(0x350)]!==this[_0x5aea3f(0x23b)])return;const _0x11bb78={'id':_0x5aea3f(0x166),'params':_0x5bd03a},_0x1bc085=this[_0x5aea3f(0x1fe)];for(const [_0x591580,_0x10f7cf]of _0x1bc085){const _0x590f2b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5aea3f(0x23b)],'actions':null,'textRanges':_0x10f7cf[_0x5aea3f(0x253)]}},_0x2b15b6=this[_0x5aea3f(0x27f)]['transformMutation'](_0x11bb78,_0x590f2b,!0x1);if(_0x292b34[_0x5aea3f(0x206)](_0x2b15b6))throw _0x2b15b6[_0x5aea3f(0x331)];_0x1bc085[_0x5aea3f(0x23c)](_0x591580,{..._0x10f7cf,'ranges':_0x2b15b6[_0x5aea3f(0x387)][_0x5aea3f(0x1e4)][_0x5aea3f(0x14a)]});}queueMicrotask(()=>{const _0xb9be16=_0x5aea3f;this[_0xb9be16(0x163)][_0xb9be16(0x379)](_0x1bc085);});})));}[_0x15f07d(0x1af)](_0x670688){const _0x255850=_0x15f07d;var _0x42696b,_0x307348;const {memberID:_0x162e59,selection:_0x2ccc1d}=_0x670688['data'],_0x4696fc=_0x3284f5(_0x2ccc1d),_0x369373=(_0x307348=(_0x42696b=this[_0x255850(0x186)]['getMember'](this['unitID'],_0x162e59))==null?void 0x0:_0x42696b['name'])!=null?_0x307348:_0x255850(0x3a5),_0x91ea4d={'color':this[_0x255850(0x13d)][_0x255850(0x2c5)](_0x162e59),'name':_0x369373,'ranges':_0x4696fc},_0x25af6f=this[_0x255850(0x1fe)];_0x25af6f[_0x255850(0x23c)](_0x162e59,_0x91ea4d),this['_cursorInfo$'][_0x255850(0x379)](_0x25af6f);}[_0x15f07d(0x375)](_0x253cb1){const _0x382a5b=_0x15f07d,{memberID:_0x4158b4}=_0x253cb1[_0x382a5b(0x271)],_0xec5fce=this[_0x382a5b(0x1fe)];_0xec5fce['delete'](_0x4158b4),this['_cursorInfo$'][_0x382a5b(0x379)](_0xec5fce);}[_0x15f07d(0x3a3)](){const _0x2cb142=_0x15f07d;var _0x53d6cc;if(this[_0x2cb142(0x399)]=!0x0,((_0x53d6cc=this['_univerInstanceService'][_0x2cb142(0x373)]())==null?void 0x0:_0x53d6cc['getUnitId']())!==this[_0x2cb142(0x23b)])return;const _0xe99a2c=this[_0x2cb142(0x1be)][_0x2cb142(0x300)](_0x228de8[_0x2cb142(0x1c6)])[_0x2cb142(0x332)]();Array[_0x2cb142(0x2b8)](_0xe99a2c)&&_0xe99a2c[_0x2cb142(0x138)]>0x0&&this['_updateLocalCursor'](_0xe99a2c);}[_0x15f07d(0x13a)](){const _0x5b3f35=_0x15f07d;this[_0x5b3f35(0x399)]=!0x1;}};_0x69e5bf=_0x51ec86([_0x367f5b(0x2,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x367f5b(0x3,_0x11f213['Inject'](_0x43e7a7)),_0x367f5b(0x4,_0x11f213['Inject'](_0xbdea02[_0x15f07d(0x15c)])),_0x367f5b(0x5,_0x11f213['Inject'](_0xfa3323)),_0x367f5b(0x6,_0x292b34[_0x15f07d(0x361)]),_0x367f5b(0x7,_0x11f213[_0x15f07d(0x1e1)]),_0x367f5b(0x8,_0x11f213[_0x15f07d(0x335)])],_0x69e5bf);var _0x44fe1a=Object['getOwnPropertyDescriptor'],_0x1b9c39=(_0x740ce1,_0x1ad181,_0x53bbf1,_0x3d8123)=>{for(var _0x20d199=_0x3d8123>0x1?void 0x0:_0x3d8123?_0x44fe1a(_0x1ad181,_0x53bbf1):_0x1ad181,_0x502c2e=_0x740ce1['length']-0x1,_0x3b39ba;_0x502c2e>=0x0;_0x502c2e--)(_0x3b39ba=_0x740ce1[_0x502c2e])&&(_0x20d199=_0x3b39ba(_0x20d199)||_0x20d199);return _0x20d199;},_0x11b960=(_0x1b9607,_0x71a80e)=>(_0x7d719,_0x1a1b39)=>_0x71a80e(_0x7d719,_0x1a1b39,_0x1b9607);const _0x48f77d=0x12c,_0x2da3fe=0x64,_0x83d4de=()=>{let _0x298d0c=[],_0x4d7b41=!0x1;return _0x282650=>{const _0x1d9844=_0x580e;_0x298d0c[_0x1d9844(0x330)](_0x282650),_0x4d7b41||(_0x4d7b41=!0x0,setTimeout(()=>{const _0x340717=_0x1d9844;_0x298d0c[_0x340717(0x2c4)](_0x31d80b=>_0x31d80b()),_0x298d0c=[],_0x4d7b41=!0x1;}));};};let _0xc3af1c=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x1b9c14,_0x27dc20,_0xfa84c1,_0x29afdb,_0x3ad936,_0x517e89,_0x6f3d1e,_0x23699e){const _0x4d7276=_0x15f07d;super(),_0x29a23d(this,_0x4d7276(0x399),!0x1),_0x29a23d(this,_0x4d7276(0x198),!0x1),_0x29a23d(this,_0x4d7276(0x163),new _0x1eb5fd[(_0x4d7276(0x266))](new Map())),_0x29a23d(this,_0x4d7276(0x234),this[_0x4d7276(0x163)][_0x4d7276(0x179)]()),_0x29a23d(this,'_roomMembers$',new _0x1eb5fd['BehaviorSubject']([])),_0x29a23d(this,_0x4d7276(0x311),this[_0x4d7276(0x270)]['pipe'](_0x1eb5fd[_0x4d7276(0x377)](_0x48f77d))),_0x29a23d(this,_0x4d7276(0x225),_0x11f213['debounce']((_0x25c90b,_0x1234c)=>{const _0x3716f4=_0x4d7276,_0x12a9b0={'eventID':_0x292b34[_0x3716f4(0x2e2)][_0x3716f4(0x120)],'data':{'unitID':this[_0x3716f4(0x23b)],'memberID':this[_0x3716f4(0x2bd)][_0x3716f4(0x2fc)](),'selection':_0x3a9593[_0x3716f4(0x3ab)](_0x25c90b,_0x1234c[_0x3716f4(0x2b0)])}};this[_0x3716f4(0x2bd)][_0x3716f4(0x2a8)](_0x12a9b0,this[_0x3716f4(0x23b)]);},_0x2da3fe)),(this[_0x4d7276(0x23b)]=_0x1b9c14,this[_0x4d7276(0x2bd)]=_0x27dc20,this[_0x4d7276(0x1be)]=_0xfa84c1,this[_0x4d7276(0x13d)]=_0x29afdb,this[_0x4d7276(0x186)]=_0x3ad936,this[_0x4d7276(0x2b2)]=_0x517e89,this[_0x4d7276(0x34a)]=_0x6f3d1e,this[_0x4d7276(0x2f8)]=_0x23699e);}get[_0x15f07d(0x1fe)](){const _0x3596c4=_0x15f07d;return this[_0x3596c4(0x163)]['getValue']();}get[_0x15f07d(0x1e3)](){const _0x56b3ba=_0x15f07d;return this[_0x56b3ba(0x270)][_0x56b3ba(0x2e1)]();}[_0x15f07d(0x1c7)](){const _0xd6e629=_0x15f07d;super[_0xd6e629(0x1c7)](),this[_0xd6e629(0x163)][_0xd6e629(0x379)](new Map()),this[_0xd6e629(0x163)][_0xd6e629(0x314)](),this[_0xd6e629(0x270)]['next']([]),this[_0xd6e629(0x270)]['complete']();}[_0x15f07d(0x319)](){const _0x3ea144=_0x15f07d;this[_0x3ea144(0x198)]||(this[_0x3ea144(0x198)]=!0x0,this[_0x3ea144(0x2bd)]['sessionStatus$'][_0x3ea144(0x181)](_0x1eb5fd['takeUntil'](this['dispose$']))['subscribe'](_0xb30eac=>{const _0x70f1f2=_0x3ea144;_0xb30eac===_0xbdea02[_0x70f1f2(0x214)][_0x70f1f2(0x192)]?this[_0x70f1f2(0x3a3)]():this[_0x70f1f2(0x13a)]();}),this[_0x3ea144(0x2bd)][_0x3ea144(0x289)][_0x3ea144(0x181)](_0x1eb5fd[_0x3ea144(0x16b)](this[_0x3ea144(0x187)]))['subscribe'](_0xf74cbd=>{const _0x510261=_0x3ea144,_0x4c1e3e=_0xf74cbd['eventID'];_0x4c1e3e===_0x292b34['CollaborationEvent'][_0x510261(0x120)]&&this[_0x510261(0x1af)](_0xf74cbd),_0x4c1e3e===_0x292b34['CollaborationEvent'][_0x510261(0x2d2)]&&this[_0x510261(0x375)](_0xf74cbd);}),this[_0x3ea144(0x3b0)](),this[_0x3ea144(0x290)](this[_0x3ea144(0x34a)][_0x3ea144(0x337)](_0x27a92d=>{const _0x4392a3=_0x3ea144;if(this[_0x4392a3(0x399)]&&_0x27a92d['id']===_0x4eb7aa[_0x4392a3(0x123)]['id']&&_0x27a92d['params'][_0x4392a3(0x350)]===this[_0x4392a3(0x23b)]){const _0x596cd0=_0x27a92d[_0x4392a3(0x1e4)];this[_0x4392a3(0x225)](_0x596cd0[_0x4392a3(0x395)],_0x596cd0[_0x4392a3(0x230)][0x0]);}})));}['_onCursorUpdate'](_0x2eace4){const _0x419606=_0x15f07d;var _0x54b6ef,_0x46c94d;const {memberID:_0x664c6a,selection:_0x2efcb6}=_0x2eace4[_0x419606(0x271)],{sheetName:_0x114233,range:_0x109171}=_0x3a9593[_0x419606(0x20c)](_0x2efcb6),_0x12acda={'name':(_0x46c94d=(_0x54b6ef=this[_0x419606(0x186)][_0x419606(0x347)](this[_0x419606(0x23b)],_0x664c6a))==null?void 0x0:_0x54b6ef[_0x419606(0x2a6)])!=null?_0x46c94d:_0x419606(0x3a5),'range':this[_0x419606(0x15a)](_0x114233,_0x109171),'sheetID':_0x114233,'color':this[_0x419606(0x13d)][_0x419606(0x2c5)](_0x664c6a),'selection':_0x2efcb6},_0x5a9690=this[_0x419606(0x1fe)];_0x5a9690[_0x419606(0x23c)](_0x664c6a,_0x12acda),this['_cursorInfo$'][_0x419606(0x379)](_0x5a9690);}[_0x15f07d(0x375)](_0x531586){const _0x17bed7=_0x15f07d,{memberID:_0x5495d2}=_0x531586[_0x17bed7(0x271)],_0x16ecae=this[_0x17bed7(0x1fe)];_0x16ecae[_0x17bed7(0x1bc)](_0x5495d2),this[_0x17bed7(0x163)]['next'](_0x16ecae);}['_getMergeRange'](_0x4691cd,_0x29dbd4){const _0x117184=_0x15f07d;var _0x400866,_0x18a65c;const _0x4d4f04=(_0x18a65c=(_0x400866=this[_0x117184(0x2b2)][_0x117184(0x2e5)](this[_0x117184(0x23b)]))==null?void 0x0:_0x400866[_0x117184(0x370)](_0x4691cd))==null?void 0x0:_0x18a65c[_0x117184(0x356)]();return(_0x4d4f04==null?void 0x0:_0x4d4f04[_0x117184(0x3ad)](_0x4a5513=>_0x11f213[_0x117184(0x365)]['contains'](_0x4a5513,_0x29dbd4)))||_0x29dbd4;}[_0x15f07d(0x3b0)](){const _0x4fcf28=_0x15f07d,_0x3dd4f4=new _0x11f213['DisposableCollection'](),_0x3c8555=_0x83d4de(),_0x52275b=()=>{const _0x339b15=_0x580e;_0x3dd4f4['dispose']();const _0x3f3911=(_0x45ebb0,_0x41d233,_0x59900e,_0x17db38)=>{const _0x52d90a=_0x580e;let _0x8170e2=[];switch(_0x45ebb0['id']){case _0x4eb7aa['EffectRefRangId'][_0x52d90a(0x27e)]:{_0x8170e2=_0x4eb7aa['handleDeleteRangeMoveLeft'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)]['DeleteRangeMoveUpCommandId']:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x30d)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x2eb)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x2e3)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa['EffectRefRangId'][_0x52d90a(0x2e6)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x184)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x26b)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x329)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x1fd)]:{_0x8170e2=_0x4eb7aa['handleInsertRow'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa['EffectRefRangId']['MoveRangeCommandId']:{_0x8170e2=_0x4eb7aa['handleMoveRange'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x2c3)]:{_0x8170e2=_0x4eb7aa['handleIRemoveCol'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x170)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x235)](_0x45ebb0,_0x17db38);break;}}const _0x2fd0cb=_0x4eb7aa['runRefRangeMutations'](_0x8170e2,_0x17db38),_0x28214f=this['cursorInfo']['get'](_0x41d233);if(_0x28214f&&_0x2fd0cb){const _0x8ba1e8={..._0x28214f,'range':_0x2fd0cb};this['cursorInfo'][_0x52d90a(0x23c)](_0x41d233,_0x8ba1e8),_0x3c8555(()=>{const _0x1e3596=_0x52d90a,_0x1371f9=this[_0x1e3596(0x2f8)][_0x1e3596(0x284)](_0x2fd0cb,_0x5aa724=>(_0x1371f9[_0x1e3596(0x1c7)](),_0x3f3911(_0x5aa724,_0x41d233,_0x59900e,_0x2fd0cb)));_0x3dd4f4[_0x1e3596(0x21f)](_0x1371f9);});}return{'redos':[],'undos':[]};};this[_0x339b15(0x1fe)]['forEach']((_0x33fee2,_0x140260)=>{const _0x505268=_0x339b15,{range:_0x23285d,sheetID:_0x393bea}=_0x33fee2,_0x1be272=this[_0x505268(0x2f8)][_0x505268(0x284)](_0x23285d,_0x462346=>(_0x1be272[_0x505268(0x1c7)](),_0x3f3911(_0x462346,_0x140260,_0x393bea,_0x23285d)));_0x3dd4f4[_0x505268(0x21f)](_0x1be272);});};this['disposeWithMe'](_0x11f213[_0x4fcf28(0x2ba)](this[_0x4fcf28(0x163)][_0x4fcf28(0x1db)](()=>{_0x52275b();})));}[_0x15f07d(0x3a3)](){const _0x2e1b06=_0x15f07d;var _0xe7c9fd,_0xfcdd59;if(this[_0x2e1b06(0x399)]=!0x0,((_0xe7c9fd=this[_0x2e1b06(0x2b2)][_0x2e1b06(0x373)]())==null?void 0x0:_0xe7c9fd[_0x2e1b06(0x1e5)]())!==this[_0x2e1b06(0x23b)])return;const _0x1b326f=(_0xfcdd59=this[_0x2e1b06(0x1be)][_0x2e1b06(0x300)](_0x4eb7aa[_0x2e1b06(0x28c)])[_0x2e1b06(0x24c)]())==null?void 0x0:_0xfcdd59[0x0],_0x54e000=this['_univerInstanceService'][_0x2e1b06(0x132)](_0x11f213['UniverInstanceType']['UNIVER_SHEET'])[_0x2e1b06(0x378)]();_0x1b326f&&_0x54e000&&this[_0x2e1b06(0x225)](_0x54e000[_0x2e1b06(0x341)](),_0x1b326f);}[_0x15f07d(0x13a)](){this['_online']=!0x1;}};_0xc3af1c=_0x1b9c39([_0x11b960(0x2,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x11b960(0x3,_0x11f213[_0x15f07d(0x223)](_0x43e7a7)),_0x11b960(0x4,_0x11f213['Inject'](_0xbdea02[_0x15f07d(0x15c)])),_0x11b960(0x5,_0x11f213[_0x15f07d(0x1e1)]),_0x11b960(0x6,_0x11f213[_0x15f07d(0x335)]),_0x11b960(0x7,_0x11f213[_0x15f07d(0x223)](_0x4eb7aa['RefRangeService']))],_0xc3af1c);var _0x5bc26f=Object[_0x15f07d(0x144)],_0x285d49=(_0x3cca82,_0x206e81,_0x3edc32,_0x3b3437)=>{const _0x27186f=_0x15f07d;for(var _0x536fdc=_0x3b3437>0x1?void 0x0:_0x3b3437?_0x5bc26f(_0x206e81,_0x3edc32):_0x206e81,_0x491af1=_0x3cca82[_0x27186f(0x138)]-0x1,_0x551a22;_0x491af1>=0x0;_0x491af1--)(_0x551a22=_0x3cca82[_0x491af1])&&(_0x536fdc=_0x551a22(_0x536fdc)||_0x536fdc);return _0x536fdc;},_0x546f1d=(_0x77f5b8,_0x34f8e1)=>(_0x18d7be,_0x56110c)=>_0x34f8e1(_0x18d7be,_0x56110c,_0x77f5b8);let _0x5a3689=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x3c5a6f,_0x1dd60e,_0x140e12){const _0xaf35d2=_0x15f07d;super(),_0x29a23d(this,'_entities',new Map()),_0x29a23d(this,_0xaf35d2(0x244),new _0x1eb5fd['Subject']()),(this[_0xaf35d2(0x2b2)]=_0x3c5a6f,this['_injector']=_0x1dd60e,this[_0xaf35d2(0x12d)]=_0x140e12,this['_init']());}[_0x15f07d(0x1c7)](){const _0x38d1ef=_0x15f07d;super[_0x38d1ef(0x1c7)](),this[_0x38d1ef(0x244)][_0x38d1ef(0x314)](),this[_0x38d1ef(0x177)][_0x38d1ef(0x2c4)](_0x52ce57=>_0x52ce57[_0x38d1ef(0x1c7)]());}[_0x15f07d(0x36d)](_0x11e6c3){const _0x3772d0=_0x15f07d;return this[_0x3772d0(0x177)][_0x3772d0(0x221)](_0x11e6c3)?this[_0x3772d0(0x177)][_0x3772d0(0x300)](_0x11e6c3)['cursorInfo$']:this[_0x3772d0(0x244)][_0x3772d0(0x181)](_0x1eb5fd[_0x3772d0(0x382)](_0x34a411=>_0x34a411[_0x3772d0(0x23b)]===_0x11e6c3),_0x1eb5fd['switchMap'](_0x2ef741=>_0x2ef741[_0x3772d0(0x234)]));}[_0x15f07d(0x198)](){const _0x39c272=_0x15f07d;this[_0x39c272(0x2b2)][_0x39c272(0x29c)](_0x11f213[_0x39c272(0x39f)][_0x39c272(0x384)])[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x16b)](this[_0x39c272(0x187)]))[_0x39c272(0x1db)](async _0x149c92=>{const _0xe7dc08=_0x39c272,_0x4d625b=_0x149c92[_0xe7dc08(0x1e5)](),_0x3ab4d3=await this[_0xe7dc08(0x37d)](_0x4d625b);this[_0xe7dc08(0x244)][_0xe7dc08(0x379)](_0x3ab4d3),this['_entities'][_0xe7dc08(0x23c)](_0x4d625b,_0x3ab4d3);}),this[_0x39c272(0x2b2)][_0x39c272(0x29c)](_0x11f213['UniverInstanceType'][_0x39c272(0x153)])[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x16b)](this[_0x39c272(0x187)]))[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x382)](_0x28e1a6=>!_0x28e1a6[_0x39c272(0x1e5)]()[_0x39c272(0x380)]('__')))[_0x39c272(0x1db)](async _0x30f040=>{const _0x5ef68b=_0x39c272,_0x237dea=_0x30f040[_0x5ef68b(0x1e5)](),_0x4e4a48=await this[_0x5ef68b(0x145)](_0x237dea);this[_0x5ef68b(0x244)][_0x5ef68b(0x379)](_0x4e4a48),this[_0x5ef68b(0x177)]['set'](_0x237dea,_0x4e4a48);}),_0x1eb5fd[_0x39c272(0x1d5)](this['_univerInstanceService'][_0x39c272(0x2fb)](_0x11f213[_0x39c272(0x39f)]['UNIVER_DOC']),this[_0x39c272(0x2b2)][_0x39c272(0x2fb)](_0x11f213['UniverInstanceType']['UNIVER_SHEET']))[_0x39c272(0x181)](_0x1eb5fd['takeUntil'](this[_0x39c272(0x187)]))[_0x39c272(0x1db)](_0x44f42b=>{const _0x1b15da=_0x39c272,_0x1cda3e=_0x44f42b[_0x1b15da(0x1e5)](),_0x355a54=this[_0x1b15da(0x177)]['get'](_0x1cda3e);_0x355a54&&(_0x355a54[_0x1b15da(0x1c7)](),this[_0x1b15da(0x177)][_0x1b15da(0x1bc)](_0x1cda3e));});}async[_0x15f07d(0x37d)](_0x50c612){const _0x20b462=_0x15f07d,_0x3f26a2=await this[_0x20b462(0x12d)][_0x20b462(0x305)](_0x50c612),_0xa24a78=this[_0x20b462(0x1be)]['createInstance'](_0xc3af1c,_0x50c612,_0x3f26a2);return _0xa24a78[_0x20b462(0x319)](),_0xa24a78;}async[_0x15f07d(0x145)](_0x1eebc5){const _0x3f61ce=_0x15f07d,_0x5ec5db=await this['_collabSessionService'][_0x3f61ce(0x305)](_0x1eebc5),_0x4bc1c6=this[_0x3f61ce(0x1be)]['createInstance'](_0x69e5bf,_0x1eebc5,_0x5ec5db);return _0x4bc1c6['init'](),_0x4bc1c6;}};_0x5a3689=_0x285d49([_0x546f1d(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x546f1d(0x1,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x546f1d(0x2,_0x11f213[_0x15f07d(0x223)](_0xbdea02[_0x15f07d(0x278)]))],_0x5a3689);const _0x314929=0x14,_0x56723b=0xc8,_0x189839=0x4,_0x3244ef=0x5;function _0x3df3c7(_0x57e7c6,_0x238b70){const _0x5db766=_0x15f07d;let {radius:_0x27308a,width:_0x3d48dc,height:_0x2aae79}=_0x238b70;_0x27308a=_0x27308a!=null?_0x27308a:0x0,_0x3d48dc=_0x3d48dc!=null?_0x3d48dc:0x1e,_0x2aae79=_0x2aae79!=null?_0x2aae79:0x1e;let _0x129688=0x0,_0x2f0493=0x0,_0x2b0f23=0x0;_0x129688=_0x2f0493=_0x2b0f23=Math[_0x5db766(0x2f3)](_0x27308a,_0x3d48dc/0x2,_0x2aae79/0x2),_0x57e7c6['beginPath'](),_0x57e7c6['moveTo'](_0x129688,0x0),_0x57e7c6[_0x5db766(0x20e)](_0x3d48dc-_0x2f0493,0x0),_0x57e7c6[_0x5db766(0x133)](_0x3d48dc-_0x2f0493,_0x2f0493,_0x2f0493,Math['PI']*0x3/0x2,0x0,!0x1),_0x57e7c6['lineTo'](_0x3d48dc,_0x2aae79-_0x2b0f23),_0x57e7c6[_0x5db766(0x133)](_0x3d48dc-_0x2b0f23,_0x2aae79-_0x2b0f23,_0x2b0f23,0x0,Math['PI']/0x2,!0x1),_0x57e7c6[_0x5db766(0x20e)](0x0,_0x2aae79),_0x57e7c6[_0x5db766(0x20e)](0x0,_0x129688),_0x57e7c6[_0x5db766(0x133)](_0x129688,_0x129688,_0x129688,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57e7c6[_0x5db766(0x14e)](),_0x238b70[_0x5db766(0x1c3)]&&(_0x57e7c6['save'](),_0x57e7c6['fillStyle']=_0x238b70[_0x5db766(0x1c3)],_0x238b70[_0x5db766(0x148)]===_0x5db766(0x17a)?_0x57e7c6[_0x5db766(0x1c3)](_0x5db766(0x17a)):_0x57e7c6[_0x5db766(0x1c3)](),_0x57e7c6['restore']());}class _0xcb9538 extends _0x8c537b[_0x15f07d(0x383)]{constructor(_0x5450bc,_0x54e014){const _0x46b94d=_0x15f07d;super(_0x5450bc,_0x54e014),_0x29a23d(this,'color'),_0x29a23d(this,_0x46b94d(0x2ec)),(this[_0x46b94d(0x14f)]=_0x54e014==null?void 0x0:_0x54e014[_0x46b94d(0x14f)],this[_0x46b94d(0x2ec)]=_0x54e014==null?void 0x0:_0x54e014[_0x46b94d(0x2ec)]);}static[_0x15f07d(0x1de)](_0x5a05b4,_0x2c0776){const _0xcff51e=_0x15f07d,{text:_0x1220c1,color:_0x30eb3e}=_0x2c0776;_0x5a05b4['save'](),_0x5a05b4[_0xcff51e(0x328)]=_0xcff51e(0x119);const _0x35961c=_0x5a05b4[_0xcff51e(0x1f9)](_0x1220c1)[_0xcff51e(0x26d)],_0xb2422e=Math[_0xcff51e(0x2f3)](_0x35961c+0x2*_0x189839,_0x56723b);_0x3df3c7(_0x5a05b4,{'height':_0x314929,'radius':0x4,'width':_0xb2422e,'fill':_0x30eb3e}),_0x5a05b4[_0xcff51e(0x162)]=_0xcff51e(0x313);const _0x2a7969=_0x189839,_0x321e22=_0x314929-_0x3244ef,_0x57ac37=_0x56723b-0x2*_0x189839;if(_0x35961c>_0x57ac37){let _0x4dbcfa='',_0x8ef7b7=0x0;for(const _0x36030d of _0x1220c1){const _0x4cc795=_0x5a05b4[_0xcff51e(0x1f9)](_0x36030d)[_0xcff51e(0x26d)];if(_0x8ef7b7+_0x4cc795<=_0x57ac37-_0x5a05b4[_0xcff51e(0x1f9)](_0xcff51e(0x26e))[_0xcff51e(0x26d)])_0x4dbcfa+=_0x36030d,_0x8ef7b7+=_0x4cc795;else{_0x4dbcfa+=_0xcff51e(0x26e);break;}}_0x5a05b4[_0xcff51e(0x13e)](_0x4dbcfa,_0x2a7969,_0x321e22);}else _0x5a05b4[_0xcff51e(0x13e)](_0x1220c1,_0x2a7969,_0x321e22);_0x5a05b4[_0xcff51e(0x2ac)]();}['_draw'](_0x580efd){const _0x1034b9=_0x15f07d;_0xcb9538[_0x1034b9(0x1de)](_0x580efd,this);}}const _0x4d5829=_0x15f07d(0x217),_0x3750be=_0x15f07d(0x364),_0x21286f='collab-rect-range-',_0x540885=0x6,_0x388183=1.5,_0x551db8=0x4,_0x510e72=1.5,_0x24b74c=_0x15f07d(0x208);class _0x2e315e{constructor(_0x329684,_0x5b1c59,_0x450e83,_0x4c0307){const _0x30fa1a=_0x15f07d;_0x29a23d(this,'_shapes',[]),_0x29a23d(this,_0x30fa1a(0x3a9),null),_0x29a23d(this,_0x30fa1a(0x139),null),_0x29a23d(this,_0x30fa1a(0x376),null),_0x29a23d(this,'_hideTimer',null),_0x29a23d(this,_0x30fa1a(0x1ff),null),(this[_0x30fa1a(0x185)]=_0x329684,this['_scene']=_0x5b1c59,this[_0x30fa1a(0x1cd)]=_0x450e83,this[_0x30fa1a(0x22a)]=_0x4c0307,this[_0x30fa1a(0x294)]());}set[_0x15f07d(0x39b)](_0x56fcef){const _0x19dc41=_0x15f07d;_0x56fcef?(this[_0x19dc41(0x376)]&&this[_0x19dc41(0x376)][_0x19dc41(0x27d)](),this[_0x19dc41(0x139)]&&this[_0x19dc41(0x139)]['show']()):(this['_anchorDot']&&this[_0x19dc41(0x376)][_0x19dc41(0x348)](),this[_0x19dc41(0x139)]&&this['_textBubble']['hide']());}[_0x15f07d(0x1c7)](){const _0xc85295=_0x15f07d;for(const _0x541c3e of this[_0xc85295(0x326)])_0x541c3e['dispose']();this['_textBubble']&&this['_textBubble'][_0xc85295(0x1c7)](),this[_0xc85295(0x376)]&&this['_anchorDot'][_0xc85295(0x1c7)](),this['_anchor']&&this[_0xc85295(0x3a9)][_0xc85295(0x1c7)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x32ea15=_0x15f07d;var _0x1043c7;const {_docSkeleton:_0x205b6b,_document:_0x50bdb1}=this,{color:_0x6359fd,name:_0x3bd6ee,ranges:_0x37469b}=this['_cursor'],_0x463996=_0x50bdb1[_0x32ea15(0x269)](),{docsLeft:_0x3f3a99,docsTop:_0x5eec1e}=_0x463996,_0x26cf71=new _0x599319[(_0x32ea15(0x210))](_0x463996,_0x205b6b);for(const {startOffset:_0x1adfbc,endOffset:_0x1371f3,rangeType:_0x829232,segmentId:_0x386667,segmentPage:_0x850c70,collapsed:_0x52feb0,isActive:_0xc19b37}of _0x37469b){const _0x5749f0=_0x205b6b[_0x32ea15(0x1a6)](_0x1adfbc,!0x0,_0x386667,_0x850c70);let _0x167f19=_0x205b6b[_0x32ea15(0x1a6)](_0x1371f3,!0x0,_0x386667,_0x850c70);if(_0x167f19==null&&(_0x167f19=_0x205b6b[_0x32ea15(0x1a6)](_0x1371f3-0x1,!0x1,_0x386667,_0x850c70)),_0xc19b37){const {contentBoxPointGroup:_0x42f718}=_0x26cf71['getRangePointData'](_0x167f19,_0x167f19);if(_0x42f718[_0x32ea15(0x138)]===0x0)continue;this['_drawAnchor'](_0x6359fd,_0x42f718,_0x3f3a99,_0x5eec1e,_0x3bd6ee),this[_0x32ea15(0x1ff)]=this[_0x32ea15(0x1c1)]();}if(_0x5749f0&&_0x167f19){if(_0x829232===_0x11f213[_0x32ea15(0x16a)][_0x32ea15(0x22e)]){const _0x3150ee=new _0x599319['NodePositionConvertToRectRange'](_0x463996,_0x205b6b),{pointGroup:_0x4e2497}=(_0x1043c7=_0x3150ee['getRangePointData'](_0x5749f0,_0x167f19))!=null?_0x1043c7:{};if(_0x4e2497==null||_0x4e2497['length']===0x0)continue;this[_0x32ea15(0x127)](_0x6359fd,_0x4e2497,_0x3f3a99,_0x5eec1e);}else{if(!_0x52feb0){const {borderBoxPointGroup:_0xb9d3a}=_0x26cf71[_0x32ea15(0x152)](_0x5749f0,_0x167f19);if(_0xb9d3a[_0x32ea15(0x138)]===0x0)continue;this['_drawTextRange'](_0x6359fd,_0xb9d3a,_0x3f3a99,_0x5eec1e);}}}}}[_0x15f07d(0x38f)](_0x2d6d94,_0x49d0ed,_0x2b0027,_0x39f82b,_0x390c8b){const _0xdd4229=_0x15f07d,_0x5dbe77=this[_0xdd4229(0x18b)](_0x49d0ed),{left:_0x190eb3,top:_0x275378,height:_0x392167}=_0x5dbe77,_0x1d755e=this[_0xdd4229(0x249)](),_0x269ca7=_0x510e72/_0x1d755e,_0x2be089=new _0x8c537b[(_0xdd4229(0x243))](_0x4d5829+_0x11f213[_0xdd4229(0x1f4)][_0xdd4229(0x35a)](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b,'height':_0x392167,'width':_0x388183,'fill':_0x2d6d94||_0x8c537b['getColor'](_0x11f213['COLORS']['black'],0x0),'strokeWidth':_0x269ca7,'stroke':_0x24b74c,'evented':!0x0});this[_0xdd4229(0x3a9)]=_0x2be089,this[_0xdd4229(0x1ca)]['addObject'](_0x2be089,_0x599319[_0xdd4229(0x1ee)]);const _0x4e432d=new _0x8c537b[(_0xdd4229(0x243))](_0x4d5829+_0x11f213[_0xdd4229(0x1f4)][_0xdd4229(0x35a)](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b-_0x551db8/0x2,'height':_0x551db8,'width':_0x551db8,'fill':_0x2d6d94||_0x8c537b[_0xdd4229(0x11f)](_0x11f213[_0xdd4229(0x3a2)][_0xdd4229(0x258)],0x0),'strokeWidth':0x0,'stroke':_0x2d6d94||_0x8c537b[_0xdd4229(0x11f)](_0x11f213['COLORS'][_0xdd4229(0x258)],0x0),'evented':!0x1});this[_0xdd4229(0x376)]=_0x4e432d,this[_0xdd4229(0x1ca)][_0xdd4229(0x2d9)](_0x4e432d,_0x599319['TEXT_RANGE_LAYER_INDEX']);const _0x34b48f=new _0xcb9538(_0x4d5829+_0x11f213[_0xdd4229(0x1f4)]['generateRandomId'](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b-_0x314929,'text':_0x390c8b,'color':_0x2d6d94});this[_0xdd4229(0x139)]=_0x34b48f,this[_0xdd4229(0x1ca)][_0xdd4229(0x2d9)](_0x34b48f,_0x599319[_0xdd4229(0x1ee)]),this[_0xdd4229(0x39b)]=!0x1;}[_0x15f07d(0x1c1)](){const _0x468ede=_0x15f07d,_0x599c15=this[_0x468ede(0x3a9)]['onPointerEnter$'][_0x468ede(0x1cf)](()=>{const _0x301a30=_0x468ede;this[_0x301a30(0x39b)]=!0x0;}),_0x36acd0=this[_0x468ede(0x3a9)][_0x468ede(0x390)][_0x468ede(0x1cf)](()=>{const _0x30a827=_0x468ede;this[_0x30a827(0x308)]&&clearTimeout(this[_0x30a827(0x308)]),this[_0x30a827(0x308)]=setTimeout(()=>{const _0xd5a077=_0x30a827;this[_0xd5a077(0x39b)]=!0x1;},0x7d0);});return()=>{const _0x3e8a2e=_0x468ede;_0x599c15[_0x3e8a2e(0x33a)](),_0x36acd0[_0x3e8a2e(0x33a)]();};}[_0x15f07d(0x396)](_0x2d9889,_0x216ff8,_0x580c75,_0x3b6d5c){const _0x1f3ad5=_0x15f07d,_0x3e032f=new _0x11f213[(_0x1f3ad5(0x325))](_0x2d9889)[_0x1f3ad5(0x27a)](0.2)[_0x1f3ad5(0x1e0)](),_0x472881=new _0x8c537b[(_0x1f3ad5(0x2db))](_0x3750be+_0x11f213[_0x1f3ad5(0x1f4)][_0x1f3ad5(0x35a)](_0x540885),{'pointsGroup':_0x216ff8,'fill':_0x3e032f||_0x8c537b['getColor'](_0x11f213[_0x1f3ad5(0x3a2)][_0x1f3ad5(0x258)],0.2),'left':_0x580c75,'top':_0x3b6d5c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f3ad5(0x326)][_0x1f3ad5(0x330)](_0x472881),this[_0x1f3ad5(0x1ca)]['addObject'](_0x472881,_0x599319[_0x1f3ad5(0x1ee)]);}['_drawRectRange'](_0x206192,_0x211448,_0x5ecbbb,_0xff9471){const _0x28f2b3=_0x15f07d,_0x2ed1b7=new _0x11f213[(_0x28f2b3(0x325))](_0x206192)[_0x28f2b3(0x27a)](0.2)['toRgbString'](),_0x57fb74=new _0x8c537b['RegularPolygon'](_0x21286f+_0x11f213['Tools'][_0x28f2b3(0x35a)](_0x540885),{'pointsGroup':_0x211448,'fill':_0x2ed1b7||_0x8c537b[_0x28f2b3(0x11f)](_0x11f213['COLORS'][_0x28f2b3(0x258)],0.2),'left':_0x5ecbbb,'top':_0xff9471,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28f2b3(0x326)][_0x28f2b3(0x330)](_0x57fb74),this[_0x28f2b3(0x1ca)][_0x28f2b3(0x2d9)](_0x57fb74,_0x599319[_0x28f2b3(0x1ee)]);}[_0x15f07d(0x18b)](_0x763dee){const _0x5717e6=_0x763dee[0x0],_0x44f2bf=_0x5717e6[0x0],_0xe1e828=_0x5717e6[0x2],{x:_0x4444c7,y:_0x25beed}=_0x44f2bf,{x:_0x470073,y:_0x2949d1}=_0xe1e828;return{'left':_0x4444c7,'top':_0x25beed,'width':_0x470073-_0x4444c7,'height':_0x2949d1-_0x25beed};}[_0x15f07d(0x249)](){const _0x19a003=_0x15f07d,{scaleX:_0x5dc1f1,scaleY:_0x19a1e4}=this['_scene']['getAncestorScale']();return Math[_0x19a003(0x2d4)](_0x5dc1f1,_0x19a1e4);}}var _0x2ea5d7=Object[_0x15f07d(0x144)],_0x381747=(_0x2e9e94,_0x162745,_0x3c2f1b,_0x2e085b)=>{const _0x22927e=_0x15f07d;for(var _0x439ab0=_0x2e085b>0x1?void 0x0:_0x2e085b?_0x2ea5d7(_0x162745,_0x3c2f1b):_0x162745,_0x4ca3f6=_0x2e9e94[_0x22927e(0x138)]-0x1,_0x75e196;_0x4ca3f6>=0x0;_0x4ca3f6--)(_0x75e196=_0x2e9e94[_0x4ca3f6])&&(_0x439ab0=_0x75e196(_0x439ab0)||_0x439ab0);return _0x439ab0;},_0x47fe24=(_0x314717,_0x113c38)=>(_0x5ca716,_0x427708)=>_0x113c38(_0x5ca716,_0x427708,_0x314717);let _0x513bec=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x34186c,_0x2459de,_0x5b42d7,_0x111e22,_0x10cb00){const _0x4f0c3e=_0x15f07d;super(),_0x29a23d(this,_0x4f0c3e(0x36f),[]),_0x29a23d(this,_0x4f0c3e(0x21e),[]),(this['_context']=_0x34186c,this[_0x4f0c3e(0x154)]=_0x2459de,this[_0x4f0c3e(0x1d8)]=_0x5b42d7,this['_commandService']=_0x111e22,this['_themeService']=_0x10cb00,this['_init']());}[_0x15f07d(0x198)](){const _0x38d22c=_0x15f07d,_0x59fbce=this[_0x38d22c(0x2a0)]['unitId'],_0x3b80bb=this[_0x38d22c(0x154)];this[_0x38d22c(0x290)](_0x1eb5fd['combineLatest']([this[_0x38d22c(0x1d8)]['getCollabCursors$'](_0x59fbce),this[_0x38d22c(0x137)]['currentTheme$']])['pipe'](_0xddff01[_0x38d22c(0x296)](([_0x30cd3c,_0x23dd2d])=>({'skeleton':_0x3b80bb[_0x38d22c(0x2cb)](),'cursors':[..._0x30cd3c['values']()][_0x38d22c(0x1b0)](_0x2a4a5d=>({..._0x2a4a5d,'color':_0x23dd2d[_0x2a4a5d[_0x38d22c(0x14f)]]}))})))[_0x38d22c(0x1db)](_0x3cff73=>{const _0x15341a=_0x38d22c;if(this['_removeCollabCursors'](),_0x3cff73){const {skeleton:_0x2a5c1b,cursors:_0x17cb50}=_0x3cff73;this[_0x15341a(0x1a1)](_0x2a5c1b,_0x17cb50);}})),this['_initResize'](),this[_0x38d22c(0x142)]();}['_updateCollabCursors'](_0x100e0e,_0x2f48bd){const _0x524c54=_0x15f07d,{scene:_0x78dea5,mainComponent:_0xa4928a}=this[_0x524c54(0x2a0)],_0x594d61=_0x2f48bd[_0x524c54(0x296)](_0x3dcc0c=>new _0x2e315e(_0x3dcc0c,_0x78dea5,_0x100e0e,_0xa4928a));this[_0x524c54(0x36f)]=_0x594d61,this[_0x524c54(0x21e)]=_0x2f48bd;}[_0x15f07d(0x17e)](){const _0x373d21=_0x15f07d;this[_0x373d21(0x196)]();const {scene:_0xbeb201,mainComponent:_0xc2daeb}=this['_context'],_0x47586c=this[_0x373d21(0x154)][_0x373d21(0x2cb)](),_0x3ec68a=this[_0x373d21(0x21e)][_0x373d21(0x296)](_0x35879d=>new _0x2e315e(_0x35879d,_0xbeb201,_0x47586c,_0xc2daeb));this[_0x373d21(0x36f)]=_0x3ec68a;}[_0x15f07d(0x196)](){const _0x406090=_0x15f07d;this['_cursorShapes'][_0x406090(0x2c4)](_0x54cea7=>_0x54cea7[_0x406090(0x1c7)]()),this[_0x406090(0x36f)]=[];}['_initCommandExecutedListener'](){const _0x5e722e=_0x15f07d,_0x1ffffe=[_0x599319['SetDocZoomRatioOperation']['id']];this[_0x5e722e(0x290)](this['_commandService'][_0x5e722e(0x337)](_0x2a0783=>{const _0x1e2d46=_0x5e722e;_0x1ffffe[_0x1e2d46(0x292)](_0x2a0783['id'])&&_0x2a0783[_0x1e2d46(0x1e4)][_0x1e2d46(0x350)]===this[_0x1e2d46(0x2a0)][_0x1e2d46(0x350)]&&this[_0x1e2d46(0x17e)]();}));}[_0x15f07d(0x264)](){const _0x11867e=_0x15f07d;this['disposeWithMe'](_0x11f213['fromEventSubject'](this[_0x11867e(0x2a0)][_0x11867e(0x245)]['onTransformChange$'])[_0x11867e(0x181)](_0xddff01[_0x11867e(0x382)](_0x17b04f=>_0x17b04f[_0x11867e(0x136)]===_0x8c537b[_0x11867e(0x220)][_0x11867e(0x36b)]),_0xddff01['throttleTime'](0x10))[_0x11867e(0x1db)](()=>{const _0x1a11b1=_0x11867e;this[_0x1a11b1(0x17e)]();}));}};_0x513bec=_0x381747([_0x47fe24(0x1,_0x11f213['Inject'](_0x228de8[_0x15f07d(0x2fe)])),_0x47fe24(0x2,_0x11f213[_0x15f07d(0x223)](_0x5a3689)),_0x47fe24(0x3,_0x11f213[_0x15f07d(0x335)]),_0x47fe24(0x4,_0x11f213[_0x15f07d(0x223)](_0x11f213['ThemeService']))],_0x513bec);const _0x38bf8b=0x1,_0x131cb0=1.5;class _0x4cc5c6 extends _0x8c537b['Shape']{constructor(_0x5ed7b6,_0x2758c7){const _0x191591=_0x15f07d;super(_0x5ed7b6,_0x2758c7),_0x29a23d(this,_0x191591(0x24e)),_0x29a23d(this,'_hovered',!0x1),_0x29a23d(this,'_range'),_0x29a23d(this,_0x191591(0x232),''),_0x29a23d(this,'_labelPosition',_0x191591(0x26a)),_0x29a23d(this,'_backgroundColor'),(_0x2758c7&&this[_0x191591(0x1ae)](_0x2758c7),this[_0x191591(0x1b9)][_0x191591(0x1cf)](()=>this[_0x191591(0x1ae)]({'hovered':!0x0})),this[_0x191591(0x390)][_0x191591(0x1cf)](()=>this[_0x191591(0x1ae)]({'hovered':!0x1})));}['setShapeProps'](_0x3492fb){const _0x46246b=_0x15f07d;var _0x3e9280,_0x4a04df,_0x1d2618,_0x2758f1,_0x35e267,_0x5e2911;this['_color']=(_0x3e9280=_0x3492fb[_0x46246b(0x14f)])!=null?_0x3e9280:this[_0x46246b(0x24e)],this[_0x46246b(0x283)]=(_0x4a04df=_0x3492fb[_0x46246b(0x338)])!=null?_0x4a04df:this[_0x46246b(0x283)],this[_0x46246b(0x1a7)]=(_0x1d2618=_0x3492fb['range'])!=null?_0x1d2618:this[_0x46246b(0x1a7)],this[_0x46246b(0x232)]=(_0x2758f1=_0x3492fb[_0x46246b(0x2a6)])!=null?_0x2758f1:this['_name'],this['_labelPosition']=(_0x35e267=_0x3492fb['labelPosition'])!=null?_0x35e267:this[_0x46246b(0x37b)],this[_0x46246b(0x1f6)]=(_0x5e2911=_0x3492fb['backgroundColor'])!=null?_0x5e2911:this[_0x46246b(0x1f6)],this[_0x46246b(0x240)]({'width':_0x3492fb[_0x46246b(0x26d)],'height':_0x3492fb[_0x46246b(0x372)]});}['onMouseMove'](_0x157539){const _0x145f3d=_0x15f07d,{row:_0xe98aeb,column:_0x5283bb}=_0x157539;if(_0xe98aeb>=this[_0x145f3d(0x1a7)][_0x145f3d(0x307)]&&_0xe98aeb<=this[_0x145f3d(0x1a7)]['endRow']&&_0x5283bb>=this[_0x145f3d(0x1a7)][_0x145f3d(0x15e)]&&_0x5283bb<=this[_0x145f3d(0x1a7)][_0x145f3d(0x35e)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x15f07d(0x131)](_0x16c143){return!0x1;}[_0x15f07d(0x35d)](_0x5423cf){const _0x169f97=_0x15f07d;_0x8c537b[_0x169f97(0x243)][_0x169f97(0x1de)](_0x5423cf,{'width':this[_0x169f97(0x26d)],'height':this[_0x169f97(0x372)],'strokeWidth':_0x131cb0,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x169f97(0x1f6)]}),this['_hovered']&&(_0x5423cf[_0x169f97(0x126)](),_0x5423cf[_0x169f97(0x22c)](0x1,0x0,0x0,0x1,this[_0x169f97(0x26d)],this[_0x169f97(0x37b)]===_0x169f97(0x1d3)?0x0:-0x14),_0xcb9538[_0x169f97(0x1de)](_0x5423cf,{'text':this[_0x169f97(0x232)],'color':this[_0x169f97(0x24e)]}),_0x5423cf[_0x169f97(0x2ac)]());}}var _0x54d82c=Object[_0x15f07d(0x144)],_0x61c608=(_0x221f68,_0x22e25f,_0xbb0485,_0x516024)=>{for(var _0x3a7a52=_0x516024>0x1?void 0x0:_0x516024?_0x54d82c(_0x22e25f,_0xbb0485):_0x22e25f,_0xc4da27=_0x221f68['length']-0x1,_0x3659f3;_0xc4da27>=0x0;_0xc4da27--)(_0x3659f3=_0x221f68[_0xc4da27])&&(_0x3a7a52=_0x3659f3(_0x3a7a52)||_0x3a7a52);return _0x3a7a52;},_0x10e9ac=(_0x19413d,_0x19ee05)=>(_0x501fd9,_0x181efd)=>_0x19ee05(_0x501fd9,_0x181efd,_0x19413d);const _0x3f7be8=0x1389;let _0x4796ef=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x387e14,_0x2e0332,_0x13aa52,_0xdfddf9){const _0x18392e=_0x15f07d;super(),_0x29a23d(this,_0x18392e(0x21e),new Set()),_0x29a23d(this,_0x18392e(0x32a),null),(this[_0x18392e(0x2a0)]=_0x387e14,this['_sheetSkeletonManagerService']=_0x2e0332,this[_0x18392e(0x1d8)]=_0x13aa52,this[_0x18392e(0x137)]=_0xdfddf9,this[_0x18392e(0x198)]());}['_init'](){const _0x536d16=_0x15f07d;this[_0x536d16(0x25a)][_0x536d16(0x2f5)][_0x536d16(0x181)](_0xddff01[_0x536d16(0x16b)](this[_0x536d16(0x187)]),_0xddff01['switchMap'](_0x388ca5=>{const _0xe56fac=_0x536d16;if(_0x388ca5){const _0x7eb121=_0x388ca5[_0xe56fac(0x159)];return _0x1eb5fd[_0xe56fac(0x125)](this['_collabCursorController'][_0xe56fac(0x36d)](this['_context'][_0xe56fac(0x350)]),this[_0xe56fac(0x137)]['currentTheme$'])['pipe'](_0xddff01['map'](([_0x37d50f,_0x22f60a])=>{const _0x55ebd8=new Map();return _0x37d50f['forEach']((_0x54875c,_0x1fb9bc)=>{const _0x35a835=_0x580e;if(_0x54875c[_0x35a835(0x317)]===_0x7eb121){const _0x466397={..._0x54875c};_0x466397[_0x35a835(0x14f)]=_0x22f60a[_0x54875c[_0x35a835(0x14f)]],_0x55ebd8[_0x35a835(0x23c)](_0x1fb9bc,_0x466397);}}),{'skeleton':_0x388ca5,'cursors':_0x55ebd8};}));}return _0x1eb5fd['of']({'skeleton':null,'cursors':new Map()});}))[_0x536d16(0x1db)](({skeleton:_0x35f79b,cursors:_0x2f72e7})=>{const _0xe4099e=_0x536d16;this['_removeCollabCursors'](),_0x35f79b&&this[_0xe4099e(0x1a1)](_0x35f79b,_0x2f72e7);}),this['_sheetSkeletonManagerService'][_0x536d16(0x2f5)]['subscribe'](_0x531ff6=>{const _0x1602fb=_0x536d16;if(_0x531ff6==null)return;const {skeleton:_0x56003f}=_0x531ff6,{scene:_0x1a6167}=this[_0x1602fb(0x2a0)];_0x1a6167[_0x1602fb(0x1f3)][_0x1602fb(0x1cf)](_0x11f213[_0x1602fb(0x38d)](_0x879bda=>{const _0x146de0=_0x1602fb;var _0x358420,_0x261414;const {offsetX:_0x319f3c,offsetY:_0x2ed5af}=_0x879bda,{x:_0x585c4c,y:_0x52b1ca}=_0x1a6167[_0x146de0(0x1ec)](_0x8c537b[_0x146de0(0x156)][_0x146de0(0x2c6)]([_0x319f3c,_0x2ed5af])),{scaleX:_0x1bd219,scaleY:_0x8fdbb6}=_0x1a6167['getAncestorScale'](),_0x34dd15=_0x1a6167[_0x146de0(0x34c)](_0x8c537b[_0x146de0(0x3af)]['VIEW_MAIN']),_0x239de5=_0x1a6167[_0x146de0(0x1e9)](_0x8c537b[_0x146de0(0x156)][_0x146de0(0x2c6)]([_0x585c4c,_0x52b1ca]),_0x34dd15),_0xfba604=_0x56003f[_0x146de0(0x1a3)](_0x319f3c,_0x2ed5af,_0x1bd219,_0x8fdbb6,_0x239de5);((_0x358420=this['_lastPointer'])==null?void 0x0:_0x358420[_0x146de0(0x2dd)])===_0xfba604['column']&&((_0x261414=this[_0x146de0(0x32a)])==null?void 0x0:_0x261414[_0x146de0(0x1c0)])===_0xfba604[_0x146de0(0x1c0)]||this[_0x146de0(0x21e)][_0x146de0(0x2c4)](_0x4ade8e=>{const _0x561b38=_0x146de0;_0x4ade8e[_0x561b38(0x397)](_0xfba604);});},0x64));});}[_0x15f07d(0x1a1)](_0x453013,_0x42af15){const _0xdf842c=_0x15f07d;var _0x141712;const _0x604194=(_0x141712=this[_0xdf842c(0x25a)][_0xdf842c(0x2f0)]())==null?void 0x0:_0x141712[_0xdf842c(0x11c)];if(!_0x604194)return;const _0x5a353b=this[_0xdf842c(0x195)]();if(!_0x5a353b)return;this[_0xdf842c(0x21e)][_0xdf842c(0x2c4)](_0x3feae0=>{const _0x4272ac=_0xdf842c;_0x3feae0[_0x4272ac(0x374)]();});const {scene:_0x236fa2}=_0x5a353b,_0x1fe9eb=_0x2df238(Array[_0xdf842c(0x28a)](_0x42af15[_0xdf842c(0x352)]()))[_0xdf842c(0x296)](_0x188677=>{const _0x3412e9=_0xdf842c,{color:_0x13d322,range:_0x489ed,name:_0x32b99f,selection:_0x5450ad,sheetID:_0x29840e}=_0x188677,{startColumn:_0x39c0c1,startRow:_0x200694,endColumn:_0x266575,endRow:_0x542a7a}=_0x489ed,_0x127d41=_0x5cb6cd[_0x3412e9(0x1b4)](_0x200694,_0x39c0c1,_0x236fa2,_0x604194),_0x429370=_0x5cb6cd[_0x3412e9(0x1b4)](_0x542a7a,_0x266575,_0x236fa2,_0x604194),{columnHeaderHeightAndMarginTop:_0x1a7972}=_0x604194,{startX:_0x54c358,startY:_0x35ac37}=_0x127d41,{endX:_0x39f25d,endY:_0x1df9ce}=_0x429370,_0x5e85b2=_0x39f25d-_0x54c358,_0x2c9a0a=_0x1df9ce-_0x35ac37,_0x2b8e00={'labelPosition':_0x35ac37-_0x1a7972>=_0x314929?'top':_0x3412e9(0x1d3),'sheetID':_0x29840e,'range':_0x489ed,'color':_0x13d322,'name':_0x32b99f,'selection':_0x5450ad,'left':_0x54c358,'top':_0x35ac37,'width':_0x5e85b2,'height':_0x2c9a0a,'evented':!0x1,'zIndex':_0x3f7be8};return new _0x4cc5c6(_0x32b99f,_0x2b8e00);});_0x236fa2[_0xdf842c(0x164)](_0x1fe9eb,_0x38bf8b),this[_0xdf842c(0x21e)]=new Set(_0x1fe9eb);}[_0x15f07d(0x196)](){const _0x1d3607=_0x15f07d;var _0x3a2800;(_0x3a2800=this[_0x1d3607(0x21e)])==null||_0x3a2800[_0x1d3607(0x2c4)](_0x369522=>_0x369522[_0x1d3607(0x1c7)]());}['_getSheetObject'](){const _0x2f37f3=_0x15f07d;return _0x5cb6cd['getSheetObject'](this[_0x2f37f3(0x2a0)][_0x2f37f3(0x1dc)],this['_context']);}};_0x4796ef=_0x61c608([_0x10e9ac(0x1,_0x11f213[_0x15f07d(0x223)](_0x5cb6cd[_0x15f07d(0x2ee)])),_0x10e9ac(0x2,_0x11f213[_0x15f07d(0x223)](_0x5a3689)),_0x10e9ac(0x3,_0x11f213['Inject'](_0x11f213['ThemeService']))],_0x4796ef);function _0x2df238(_0x4e05a2){const _0x4a3a39=_0x15f07d,_0x78a6f1=new Map();return _0x4e05a2[_0x4a3a39(0x2c4)](_0x485ffb=>{const _0x25ac11=_0x4a3a39;if(_0x78a6f1[_0x25ac11(0x221)](_0x485ffb[_0x25ac11(0x273)])){const _0xb0a45e=_0x78a6f1[_0x25ac11(0x300)](_0x485ffb[_0x25ac11(0x273)]);_0xb0a45e[_0x25ac11(0x2a6)]+=',\x20'+_0x485ffb['name'];}else _0x78a6f1[_0x25ac11(0x23c)](_0x485ffb[_0x25ac11(0x273)],_0x485ffb);}),Array['from'](_0x78a6f1[_0x4a3a39(0x352)]());}var _0x2a027e=function(){const _0x1ed364=_0x15f07d;return _0x2a027e=Object['assign']||function(_0x438aa3){const _0x4930f0=_0x580e;for(var _0x283326,_0x4546a9=0x1,_0xe496e7=arguments['length'];_0x4546a9<_0xe496e7;_0x4546a9++){_0x283326=arguments[_0x4546a9];for(var _0x12aeba in _0x283326)Object[_0x4930f0(0x251)][_0x4930f0(0x2e8)][_0x4930f0(0x18f)](_0x283326,_0x12aeba)&&(_0x438aa3[_0x12aeba]=_0x283326[_0x12aeba]);}return _0x438aa3;},_0x2a027e[_0x1ed364(0x2a3)](this,arguments);},_0x56eeb2=function(_0x3e5907,_0x4f6c07){const _0x5397cc=_0x15f07d;var _0x2d219f={};for(var _0x1ff4f5 in _0x3e5907)Object[_0x5397cc(0x251)][_0x5397cc(0x2e8)][_0x5397cc(0x18f)](_0x3e5907,_0x1ff4f5)&&_0x4f6c07[_0x5397cc(0x261)](_0x1ff4f5)<0x0&&(_0x2d219f[_0x1ff4f5]=_0x3e5907[_0x1ff4f5]);if(_0x3e5907!=null&&typeof Object[_0x5397cc(0x171)]==_0x5397cc(0x160)){for(var _0x1bb1f5=0x0,_0x1ff4f5=Object[_0x5397cc(0x171)](_0x3e5907);_0x1bb1f5<_0x1ff4f5[_0x5397cc(0x138)];_0x1bb1f5++)_0x4f6c07['indexOf'](_0x1ff4f5[_0x1bb1f5])<0x0&&Object['prototype'][_0x5397cc(0x134)][_0x5397cc(0x18f)](_0x3e5907,_0x1ff4f5[_0x1bb1f5])&&(_0x2d219f[_0x1ff4f5[_0x1bb1f5]]=_0x3e5907[_0x1ff4f5[_0x1bb1f5]]);}return _0x2d219f;},_0x9e3b71=_0x27d1ba[_0x15f07d(0x287)](function(_0x18d820,_0x1ff0cc){const _0x412cea=_0x15f07d;var _0x3ef69d=_0x18d820['icon'],_0x257eed=_0x18d820['id'],_0x328265=_0x18d820['className'],_0xa91c33=_0x18d820[_0x412cea(0x351)],_0x319e9a=_0x56eeb2(_0x18d820,[_0x412cea(0x1e7),'id','className','extend']),_0x1a3843='univerjs-icon\x20univerjs-icon-'[_0x412cea(0x310)](_0x257eed,'\x20')[_0x412cea(0x310)](_0x328265||'')[_0x412cea(0x209)](),_0x422d79=_0x27d1ba[_0x412cea(0x128)]('_'['concat'](_0x4166a3()));return _0xf9e7f6(_0x3ef69d,''[_0x412cea(0x310)](_0x257eed),{'defIds':_0x3ef69d[_0x412cea(0x21a)],'idSuffix':_0x422d79[_0x412cea(0x231)]},_0x2a027e({'ref':_0x1ff0cc,'className':_0x1a3843},_0x319e9a),_0xa91c33);});function _0xf9e7f6(_0x188822,_0x1a2d11,_0x48b16b,_0x1d0067,_0x118440){const _0xc14282=_0x15f07d;return _0x27d1ba[_0xc14282(0x1dd)](_0x188822[_0xc14282(0x268)],_0x2a027e(_0x2a027e({'key':_0x1a2d11},_0x29a009(_0x188822,_0x48b16b,_0x118440)),_0x1d0067),(_0x532cab(_0x188822,_0x48b16b)[_0xc14282(0x3a7)]||[])[_0xc14282(0x296)](function(_0x1d17af,_0x25e9d0){const _0x31f5e0=_0xc14282;return _0xf9e7f6(_0x1d17af,''[_0x31f5e0(0x310)](_0x1a2d11,'-')['concat'](_0x188822[_0x31f5e0(0x268)],'-')[_0x31f5e0(0x310)](_0x25e9d0),_0x48b16b,void 0x0,_0x118440);}));}function _0x29a009(_0x354252,_0x1837bd,_0x265d08){const _0x40d561=_0x15f07d;var _0x3c25cc=_0x2a027e({},_0x354252[_0x40d561(0x1b5)]);_0x265d08!=null&&_0x265d08[_0x40d561(0x333)]&&_0x3c25cc[_0x40d561(0x1c3)]==='colorChannel1'&&(_0x3c25cc[_0x40d561(0x1c3)]=_0x265d08[_0x40d561(0x333)]),_0x354252['tag']===_0x40d561(0x343)&&_0x3c25cc['id']&&(_0x3c25cc['id']=_0x3c25cc['id']+_0x1837bd['idSuffix']),Object[_0x40d561(0x29a)](_0x3c25cc)[_0x40d561(0x2c4)](function(_0x5100f6){const _0x396feb=_0x40d561;var _0x190eaa=_0x5100f6[0x0],_0x53f999=_0x5100f6[0x1];_0x190eaa==='mask'&&typeof _0x53f999=='string'&&(_0x3c25cc[_0x190eaa]=_0x53f999['replace'](/url\(#(.*)\)/,_0x396feb(0x2ad)['concat'](_0x1837bd[_0x396feb(0x14c)],')')));});var _0xdfca2=_0x1837bd[_0x40d561(0x21a)];return!_0xdfca2||_0xdfca2[_0x40d561(0x138)]===0x0||(_0x354252['tag']===_0x40d561(0x285)&&_0x3c25cc[_0x40d561(0x272)]&&(_0x3c25cc[_0x40d561(0x272)]=_0x3c25cc[_0x40d561(0x272)]+_0x1837bd[_0x40d561(0x14c)]),Object[_0x40d561(0x29a)](_0x3c25cc)['forEach'](function(_0x21644d){const _0x31bd7b=_0x40d561;var _0x5b57ee=_0x21644d[0x0],_0x2709db=_0x21644d[0x1];typeof _0x2709db==_0x31bd7b(0x129)&&(_0x3c25cc[_0x5b57ee]=_0x2709db[_0x31bd7b(0x36e)](/url\(#(.*)\)/,'url(#$1'[_0x31bd7b(0x310)](_0x1837bd['idSuffix'],')')));})),_0x3c25cc;}function _0x532cab(_0x5112bc,_0x5314af){const _0x32eedb=_0x15f07d;var _0x2f23b4,_0x536b82=_0x5314af[_0x32eedb(0x21a)];return!_0x536b82||_0x536b82['length']===0x0?_0x5112bc:_0x5112bc[_0x32eedb(0x268)]===_0x32eedb(0x1ef)&&(!((_0x2f23b4=_0x5112bc[_0x32eedb(0x3a7)])===null||_0x2f23b4===void 0x0)&&_0x2f23b4[_0x32eedb(0x138)])?_0x2a027e(_0x2a027e({},_0x5112bc),{'children':_0x5112bc[_0x32eedb(0x3a7)][_0x32eedb(0x296)](function(_0x37322a){const _0x1a8670=_0x32eedb;return typeof _0x37322a[_0x1a8670(0x1b5)]['id']==_0x1a8670(0x129)&&_0x536b82&&_0x536b82[_0x1a8670(0x261)](_0x37322a[_0x1a8670(0x1b5)]['id'])>-0x1?_0x2a027e(_0x2a027e({},_0x37322a),{'attrs':_0x2a027e(_0x2a027e({},_0x37322a[_0x1a8670(0x1b5)]),{'id':_0x37322a[_0x1a8670(0x1b5)]['id']+_0x5314af[_0x1a8670(0x14c)]})}):_0x37322a;})}):_0x5112bc;}function _0x4166a3(){const _0x4c9d9e=_0x15f07d;return Math[_0x4c9d9e(0x157)]()[_0x4c9d9e(0x34b)](0x24)[_0x4c9d9e(0x29e)](0x2,0x8);}_0x9e3b71['displayName']='UniverIcon';var _0x4e6b2f={'tag':_0x15f07d(0x1b7),'attrs':{'fill':_0x15f07d(0x200),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x15f07d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x15f07d(0x197)},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'stroke':_0x15f07d(0x386),'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':'round','strokeLinejoin':_0x15f07d(0x25b),'strokeWidth':1.2}}]},{'tag':_0x15f07d(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x15f07d(0x262)},'children':[{'tag':'path','attrs':{'fill':_0x15f07d(0x26f),'d':_0x15f07d(0x2d7)}}]}]}],'defIds':[_0x15f07d(0x262)]},_0x1c1613=_0x27d1ba['forwardRef'](function(_0x29f3f1,_0x2669e1){const _0x4c06d3=_0x15f07d;return _0x27d1ba[_0x4c06d3(0x1dd)](_0x9e3b71,Object[_0x4c06d3(0x140)]({},_0x29f3f1,{'id':_0x4c06d3(0x12b),'ref':_0x2669e1,'icon':_0x4e6b2f}));});_0x1c1613[_0x15f07d(0x13f)]=_0x15f07d(0x252);var _0x3c2d56={'tag':_0x15f07d(0x1b7),'attrs':{'fill':'none','viewBox':_0x15f07d(0x2d8),'width':_0x15f07d(0x228),'height':_0x15f07d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'stroke':_0x15f07d(0x386),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x15f07d(0x25b),'strokeWidth':1.2}}]},{'tag':_0x15f07d(0x1ef),'attrs':{},'children':[{'tag':_0x15f07d(0x30a),'attrs':{'id':_0x15f07d(0x360)},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'fill':_0x15f07d(0x26f),'d':_0x15f07d(0x2d7),'transform':_0x15f07d(0x304)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x4858bc=_0x27d1ba[_0x15f07d(0x287)](function(_0x86925e,_0x510b59){const _0x242ead=_0x15f07d;return _0x27d1ba[_0x242ead(0x1dd)](_0x9e3b71,Object[_0x242ead(0x140)]({},_0x86925e,{'id':_0x242ead(0x1ea),'ref':_0x510b59,'icon':_0x3c2d56}));});_0x4858bc['displayName']=_0x15f07d(0x226);const _0x15ba98={'onlineStatusIcon':_0x15f07d(0x3a6),'onlineStatusTitle':_0x15f07d(0x31a),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x15f07d(0x2b7)};function _0x30a27e(_0x495ce3){const _0x31bf78=_0x15f07d;switch(_0x495ce3){case _0xbdea02[_0x31bf78(0x35c)]['OFFLINE']:return _0x31bf78(0x2c1);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x205)]:return _0x31bf78(0x275);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x391)]:return _0x31bf78(0x16c);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x2b9)]:return _0x31bf78(0x19c);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x36a)]:case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x12f)]:return _0x31bf78(0x321);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x1b6)]:case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x11e)]:return _0x31bf78(0x3a4);}}function _0x5ea2d8(_0x52959b){const _0x5ca5ce=_0x15f07d,{status$:_0x382f3e}=_0x52959b,_0x24d87c=_0x2d0743['useObservable'](_0x382f3e,_0xbdea02[_0x5ca5ce(0x35c)][_0x5ca5ce(0x2b9)]),_0x3d06a9=_0x2d0743[_0x5ca5ce(0x334)](_0x11f213['LocaleService']),_0x31f16e=_0x2d0743['useDependency'](_0xbdea02[_0x5ca5ce(0x278)]),_0x779711=_0x24d87c!==_0xbdea02['CollaborationStatus']['OFFLINE'],_0x2c5b53=_0x3d06a9['t'](_0x30a27e(_0x24d87c)),_0x543a90=_0x5628b5[_0x5ca5ce(0x2f7)](_0x15ba98[_0x5ca5ce(0x1a2)],{[_0x15ba98['online']]:_0x779711,[_0x15ba98[_0x5ca5ce(0x2e4)]]:!_0x779711}),_0x2420cd=_0x779711?_0x20b87c[_0x5ca5ce(0x18d)](_0x4858bc,{}):_0x20b87c['jsx'](_0x1c1613,{}),_0x582c6d=_0x27d1ba[_0x5ca5ce(0x173)](()=>{_0x779711||_0x31f16e['reconnect']();},[_0x779711,_0x31f16e]);function _0x356b7b(){const _0x446376=_0x5ca5ce;return _0x20b87c[_0x446376(0x31c)]('div',{'className':_0x5628b5['clsx'](_0x543a90,'univer-flex\x20univer-items-center'),'onClick':_0x582c6d,'children':[_0x20b87c['jsx'](_0x446376(0x327),{'className':_0x15ba98[_0x446376(0x172)],'children':_0x2420cd}),_0x20b87c[_0x446376(0x18d)]('div',{'className':_0x15ba98['onlineStatusTitle'],'children':_0x2c5b53})]});}return _0x779711?_0x356b7b():_0x20b87c['jsx'](_0x5628b5[_0x5ca5ce(0x37a)],{'title':_0x3d06a9['t'](_0x5ca5ce(0x2a4)),'children':_0x356b7b()});}var _0x21f570=Object[_0x15f07d(0x144)],_0x217496=(_0x4b474d,_0x35885f,_0x1f99f1,_0x5565b1)=>{for(var _0x3bf2b4=_0x5565b1>0x1?void 0x0:_0x5565b1?_0x21f570(_0x35885f,_0x1f99f1):_0x35885f,_0x574958=_0x4b474d['length']-0x1,_0x31ab79;_0x574958>=0x0;_0x574958--)(_0x31ab79=_0x4b474d[_0x574958])&&(_0x3bf2b4=_0x31ab79(_0x3bf2b4)||_0x3bf2b4);return _0x3bf2b4;},_0x26450d=(_0x56bf41,_0xf72323)=>(_0x244d7a,_0x16af2b)=>_0xf72323(_0x244d7a,_0x16af2b,_0x56bf41);_0x32b57d[_0x15f07d(0x224)]=class extends _0x11f213['Disposable']{constructor(_0x26d56b,_0x475702,_0x4d1c34,_0x4bab28){const _0x515bd7=_0x15f07d;super(),_0x29a23d(this,_0x515bd7(0x293),new _0x1eb5fd[(_0x515bd7(0x266))](_0xbdea02['CollaborationStatus'][_0x515bd7(0x2b9)])),(this[_0x515bd7(0x2b2)]=_0x26d56b,this[_0x515bd7(0x1be)]=_0x475702,this[_0x515bd7(0x260)]=_0x4d1c34,this[_0x515bd7(0x1b3)]=_0x4bab28,this[_0x515bd7(0x363)](),this[_0x515bd7(0x33b)]());}[_0x15f07d(0x33b)](){const _0x54b5ba=_0x15f07d;this[_0x54b5ba(0x290)](this[_0x54b5ba(0x2b2)]['focused$'][_0x54b5ba(0x181)](_0x1eb5fd['switchMap'](()=>{const _0x27ba70=_0x54b5ba,_0x1b4d4f=this['_univerInstanceService'][_0x27ba70(0x373)]();return _0x1b4d4f?this['_collaborationController']['getCollabEntity$'](_0x1b4d4f['getUnitId']()):_0x1eb5fd['of'](null);}),_0x1eb5fd[_0x54b5ba(0x369)](_0x13bbe7=>_0x13bbe7?_0x13bbe7[_0x54b5ba(0x21c)]:_0x1eb5fd['of'](_0xbdea02['CollaborationStatus'][_0x54b5ba(0x2b9)])))[_0x54b5ba(0x1db)](_0x4a33db=>{const _0x422858=_0x54b5ba;this[_0x422858(0x293)][_0x422858(0x379)](_0x4a33db);}));}[_0x15f07d(0x363)](){const _0x1bfae6=_0x15f07d;this[_0x1bfae6(0x290)](this[_0x1bfae6(0x1b3)]['registerComponent'](_0x2d0743[_0x1bfae6(0x238)][_0x1bfae6(0x33e)],()=>_0x2d0743['connectInjector'](_0x30077b({'status$':this[_0x1bfae6(0x293)]['asObservable']()}),this[_0x1bfae6(0x1be)])));}},_0x32b57d['DesktopCollaborationStatusDisplayController']=_0x217496([_0x26450d(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x26450d(0x1,_0x11f213[_0x15f07d(0x223)](_0x11f213['Injector'])),_0x26450d(0x2,_0x11f213[_0x15f07d(0x223)](_0xbdea02['CollaborationController'])),_0x26450d(0x3,_0x2d0743['IUIPartsService'])],_0x32b57d[_0x15f07d(0x224)]);function _0x30077b(_0x56c62b){const {status$:_0x139cf0}=_0x56c62b;return function(){const _0xd36e82=_0x580e;return _0x20b87c[_0xd36e82(0x18d)](_0x5ea2d8,{'status$':_0x139cf0});};}var _0x2f2a4a=Object['getOwnPropertyDescriptor'],_0x3cbefa=(_0x72d491,_0x42a471,_0x5d6919,_0x53a1e6)=>{const _0x256def=_0x15f07d;for(var _0xc33d27=_0x53a1e6>0x1?void 0x0:_0x53a1e6?_0x2f2a4a(_0x42a471,_0x5d6919):_0x42a471,_0x5155c3=_0x72d491[_0x256def(0x138)]-0x1,_0x302474;_0x5155c3>=0x0;_0x5155c3--)(_0x302474=_0x72d491[_0x5155c3])&&(_0xc33d27=_0x302474(_0xc33d27)||_0xc33d27);return _0xc33d27;},_0x160fea=(_0x44927d,_0x416e0e)=>(_0x5b4e31,_0x2bfdc7)=>_0x416e0e(_0x5b4e31,_0x2bfdc7,_0x44927d);let _0x54e6e3=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x214baf,_0x1b6569,_0x4f68a7,_0x2baeff,_0x347b52,_0x59e536){const _0x2d1544=_0x15f07d;super(),this['_beforeCloseService']=_0x214baf,this['_localCacheService']=_0x1b6569,this[_0x2d1544(0x146)]=_0x4f68a7,this['_messageService']=_0x2baeff,this[_0x2d1544(0x255)]=_0x347b52,this[_0x2d1544(0x1a4)]=_0x59e536,this['_setupBeforeClosingHandler'](),this[_0x2d1544(0x2f9)]();}[_0x15f07d(0x2b3)](){const _0x5c0062=_0x15f07d;this[_0x5c0062(0x290)](this['_beforeCloseService'][_0x5c0062(0x19d)](()=>{const _0x829e7b=_0x5c0062;if(this[_0x829e7b(0x24f)][_0x829e7b(0x182)][_0x829e7b(0x176)])return this[_0x829e7b(0x1a4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x15f07d(0x2f9)](){const _0x594a19=_0x15f07d;this[_0x594a19(0x290)](this['_collaborationUIEventService']['event$']['subscribe'](_0x3bd62e=>{const _0x4f8aa2=_0x594a19;_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x312)]&&this[_0x4f8aa2(0x295)]['show']({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Warning'],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x291))}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x1e2)]&&this['_messageService']['show']({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x1c2))}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x4f8aa2(0x255)][_0x4f8aa2(0x348)]({'title':this['_localeService']['t'](_0x4f8aa2(0x33f)),'content':this['_localeService']['t'](_0x4f8aa2(0x23f)),'type':_0x4f8aa2(0x331),'duration':0x0}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)]['CONFLICT']&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Error'],'content':this[_0x4f8aa2(0x1a4)]['t']('collaboration.closeRoom')+'('+_0x3bd62e[_0x4f8aa2(0x271)]+')'}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x118)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x3bd62e[_0x4f8aa2(0x271)]||'')}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x18a)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this['_localeService']['t'](_0x4f8aa2(0x1f1))}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x389)]&&this['_messageService'][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Error'],'content':this[_0x4f8aa2(0x1a4)]['t']('session.connection-failed')}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x316)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x2d6)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x23a))});}));}};_0x54e6e3=_0x3cbefa([_0x160fea(0x0,_0x2d0743[_0x15f07d(0x2e7)]),_0x160fea(0x1,_0xbdea02['ILocalCacheService']),_0x160fea(0x2,_0x11f213['Inject'](_0xbdea02['CollaborationUIEventService'])),_0x160fea(0x3,_0x2d0743[_0x15f07d(0x29f)]),_0x160fea(0x4,_0x2d0743[_0x15f07d(0x39e)]),_0x160fea(0x5,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x183)]))],_0x54e6e3);const _0x5ca35c='collaboration-client-ui.config',_0x353a9f={},_0x14d524=_0x11f213['createIdentifier']('uni.network.url-service');var _0x1a981f=Object['getOwnPropertyDescriptor'],_0x3e78ce=(_0xe6334f,_0x1f66d3,_0x262a51,_0xca4be6)=>{const _0x5522c4=_0x15f07d;for(var _0x1e4bff=_0xca4be6>0x1?void 0x0:_0xca4be6?_0x1a981f(_0x1f66d3,_0x262a51):_0x1f66d3,_0x3ffe10=_0xe6334f[_0x5522c4(0x138)]-0x1,_0x375bc8;_0x3ffe10>=0x0;_0x3ffe10--)(_0x375bc8=_0xe6334f[_0x3ffe10])&&(_0x1e4bff=_0x375bc8(_0x1e4bff)||_0x1e4bff);return _0x1e4bff;},_0x118612=(_0xa183a2,_0x3ca222)=>(_0x1055f6,_0x1e5e34)=>_0x3ca222(_0x1055f6,_0x1e5e34,_0xa183a2);_0x32b57d[_0x15f07d(0x259)]=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x4b76a9,_0x4d9d98,_0x3239af,_0x2aa4bb,_0x41ed2d){const _0x520683=_0x15f07d;super(),this[_0x520683(0x2bf)]=_0x4b76a9,this[_0x520683(0x17c)]=_0x4d9d98,this[_0x520683(0x34a)]=_0x3239af,this[_0x520683(0x204)]=_0x2aa4bb,_0x41ed2d?_0x41ed2d==null||_0x41ed2d[_0x520683(0x1f7)]()[_0x520683(0x2a2)](()=>this['_init']()):(this[_0x520683(0x17c)]['debug'](_0x520683(0x16d),_0x520683(0x11d)),this[_0x520683(0x198)]());}async[_0x15f07d(0x198)](){const _0x3c439f=_0x15f07d,_0x335b17=this['_urlService'][_0x3c439f(0x2ff)](_0x3c439f(0x1dc)),_0x5e9df8=this[_0x3c439f(0x2bf)][_0x3c439f(0x2ff)](_0x3c439f(0x136)),_0x187924=this[_0x3c439f(0x2bf)][_0x3c439f(0x2ff)](_0x3c439f(0x3a1));if(!_0x335b17||!_0x5e9df8){this['_logService'][_0x3c439f(0x239)]('[CollaborationDataLoaderController]',_0x3c439f(0x38e));return;}const _0x5e6d17=await this['_dataLoaderService'][_0x3c439f(0x394)](_0x335b17,Number(_0x5e9df8),_0x187924);_0x5e6d17&&_0x5e6d17 instanceof _0x11f213[_0x3c439f(0x322)]&&this['_setupSubUnitSync'](_0x5e6d17);}async[_0x15f07d(0x282)](_0x69e7a5){const _0x35b634=_0x15f07d;await this[_0x35b634(0x2cd)](_0x69e7a5),_0x69e7a5[_0x35b634(0x222)][_0x35b634(0x181)](_0x1eb5fd[_0x35b634(0x16b)](this[_0x35b634(0x187)]))[_0x35b634(0x1db)](_0x435e20=>{const _0x2f1d58=_0x35b634;_0x435e20&&this[_0x2f1d58(0x2df)](_0x435e20);}),this['_urlService']['urlChange$'][_0x35b634(0x181)](_0x1eb5fd[_0x35b634(0x16b)](this[_0x35b634(0x187)]))[_0x35b634(0x1db)](()=>this['_updateSubUnitFromURLParams'](_0x69e7a5));}[_0x15f07d(0x2df)](_0x412b62,_0x596ff0=!0x1){const _0x3e001a=_0x15f07d,_0x249f19=this[_0x3e001a(0x2bf)][_0x3e001a(0x2ff)](_0x3e001a(0x3a1));_0x412b62[_0x3e001a(0x341)]()!==_0x249f19&&this[_0x3e001a(0x2bf)][_0x3e001a(0x265)](_0x3e001a(0x3a1),_0x412b62[_0x3e001a(0x341)](),_0x596ff0);}async['_updateSubUnitFromURLParams'](_0x5891ee){const _0xffd9cb=_0x15f07d;var _0x3513a4;const _0x2754df=this[_0xffd9cb(0x2bf)][_0xffd9cb(0x2ff)]('subunit');if(!_0x2754df||!_0x5891ee[_0xffd9cb(0x370)](_0x2754df)){const _0x5b5f94=_0x5891ee[_0xffd9cb(0x39c)]()[0x0],_0x82c9e8=_0x5891ee[_0xffd9cb(0x370)](_0x5b5f94);if(!_0x82c9e8)return;this['_updateURLWithCurrentState'](_0x82c9e8,!0x0),await this['_commandService'][_0xffd9cb(0x2d5)](_0x4eb7aa[_0xffd9cb(0x35b)]['id'],{'unitId':_0x5891ee['getUnitId'](),'subUnitId':_0x5b5f94});return;}((_0x3513a4=_0x5891ee[_0xffd9cb(0x378)]())==null?void 0x0:_0x3513a4['getSheetId']())!==_0x2754df&&await this['_commandService'][_0xffd9cb(0x2d5)](_0x4eb7aa[_0xffd9cb(0x35b)]['id'],{'unitId':_0x5891ee['getUnitId'](),'subUnitId':_0x2754df});}},_0x32b57d[_0x15f07d(0x259)]=_0x3e78ce([_0x118612(0x0,_0x14d524),_0x118612(0x1,_0x11f213[_0x15f07d(0x2d0)]),_0x118612(0x2,_0x11f213[_0x15f07d(0x335)]),_0x118612(0x3,_0x11f213[_0x15f07d(0x223)](_0xbdea02[_0x15f07d(0x30b)])),_0x118612(0x4,_0x11f213[_0x15f07d(0x1d9)](_0x1f20fb[_0x15f07d(0x1c4)]))],_0x32b57d[_0x15f07d(0x259)]);var _0x29aa75=Object[_0x15f07d(0x144)],_0x4c5499=(_0x295283,_0x367d55,_0x599fb6,_0x66266f)=>{for(var _0x448501=_0x66266f>0x1?void 0x0:_0x66266f?_0x29aa75(_0x367d55,_0x599fb6):_0x367d55,_0x1ac0cc=_0x295283['length']-0x1,_0x364d61;_0x1ac0cc>=0x0;_0x1ac0cc--)(_0x364d61=_0x295283[_0x1ac0cc])&&(_0x448501=_0x364d61(_0x448501)||_0x448501);return _0x448501;},_0x5f2918=(_0x37a30f,_0x4ac4f1)=>(_0x24d957,_0x29c682)=>_0x4ac4f1(_0x24d957,_0x29c682,_0x37a30f);let _0x50cb75=class{constructor(_0xcbe3eb,_0x3d6732,_0x41e340){const _0x1e8aa6=_0x15f07d;this[_0x1e8aa6(0x1be)]=_0xcbe3eb,this[_0x1e8aa6(0x27f)]=_0x3d6732,this['_renderManagerService']=_0x41e340;}[_0x15f07d(0x39d)](_0x3b6559){const _0x6fe80e=_0x15f07d;this[_0x6fe80e(0x353)](_0x3b6559),this[_0x6fe80e(0x190)](_0x3b6559);}[_0x15f07d(0x37c)](_0x29b951){const _0x34b7f0=_0x15f07d,{unitID:_0x62a56a}=_0x29b951,_0x26ea0a=this[_0x34b7f0(0x180)][_0x34b7f0(0x302)](_0x62a56a)[_0x34b7f0(0x175)](_0x599319[_0x34b7f0(0x31f)]),{redoCache:_0x363b6e}=_0x26ea0a[_0x34b7f0(0x141)]();if(_0x363b6e[_0x34b7f0(0x138)]===0x0)return _0x29b951;let _0x40fd12=_0x11f213[_0x34b7f0(0x1f4)]['deepClone'](_0x29b951[_0x34b7f0(0x16f)][0x0]);for(let _0x2f7fe9=0x0;_0x2f7fe9<_0x363b6e['length'];_0x2f7fe9++){const _0x18c1bf={'id':_0x34b7f0(0x166),'params':{..._0x363b6e[_0x2f7fe9]}},_0x11964b=this[_0x34b7f0(0x27f)][_0x34b7f0(0x24a)](_0x40fd12,_0x18c1bf,!0x1);if(_0x292b34[_0x34b7f0(0x206)](_0x11964b))throw _0x11964b[_0x34b7f0(0x331)];_0x40fd12=_0x11964b['m1Prime'];}return{..._0x11f213[_0x34b7f0(0x1f4)][_0x34b7f0(0x21b)](_0x29b951),'mutations':[_0x40fd12]};}[_0x15f07d(0x353)](_0x1fbe73){const _0x47d17e=_0x15f07d,{unitID:_0x1063da}=_0x1fbe73,_0x8cf464=this[_0x47d17e(0x180)][_0x47d17e(0x302)](_0x1063da)[_0x47d17e(0x175)](_0x599319['DocIMEInputManagerService']),{undoCache:_0x5691a9,redoCache:_0x562f2c}=_0x8cf464[_0x47d17e(0x141)]();if(_0x5691a9['length']===0x0||_0x562f2c[_0x47d17e(0x138)]===0x0)return;const _0x4b1ddb=[],_0xbec277=[];let _0x3b419b=_0x11f213[_0x47d17e(0x1f4)][_0x47d17e(0x21b)](_0x1fbe73[_0x47d17e(0x16f)][0x0]),_0x1a1534=_0x11f213[_0x47d17e(0x1f4)][_0x47d17e(0x21b)](_0x1fbe73['mutations'][0x0]);for(let _0x33d592=_0x5691a9['length']-0x1;_0x33d592>=0x0;_0x33d592--){const _0x201883={'id':_0x47d17e(0x166),'params':{..._0x5691a9[_0x33d592]}},_0x20c2ee={'id':'doc.mutation.rich-text-editing','params':{..._0x562f2c[_0x33d592]}},_0x1562e2=this['_transformService'][_0x47d17e(0x24a)](_0x3b419b,_0x201883,!0x1),_0x5915b3=this[_0x47d17e(0x27f)]['transformMutation'](_0x1a1534,_0x20c2ee,!0x1);if(_0x292b34[_0x47d17e(0x206)](_0x1562e2))throw _0x1562e2[_0x47d17e(0x331)];if(_0x292b34['isTransformMutationFailure'](_0x5915b3))throw _0x5915b3[_0x47d17e(0x331)];_0x4b1ddb['unshift'](_0x1562e2['m2Prime']['params']),_0xbec277[_0x47d17e(0x1bd)](_0x5915b3[_0x47d17e(0x387)][_0x47d17e(0x1e4)]),_0x3b419b=_0x1562e2[_0x47d17e(0x203)],_0x1a1534=_0x5915b3['m1Prime'];}_0x8cf464[_0x47d17e(0x1d1)]({'undoCache':_0x4b1ddb,'redoCache':_0xbec277});}[_0x15f07d(0x190)](_0x40111b){const _0x3debbe=_0x15f07d,{unitID:_0x16ed60}=_0x40111b,_0x573b4e=this[_0x3debbe(0x180)][_0x3debbe(0x302)](_0x16ed60)['with'](_0x599319[_0x3debbe(0x31f)]),_0x86f56e=_0x573b4e[_0x3debbe(0x2ca)]();if(_0x86f56e==null)return;const _0x41cabd=[{'id':_0x3debbe(0x166),'params':{'unitId':_0x40111b['unitID'],'actions':null,'textRanges':[_0x86f56e]}}],_0x3baa1c=this[_0x3debbe(0x27f)][_0x3debbe(0x13c)](_0x40111b,_0x41cabd);if(!_0x292b34[_0x3debbe(0x24d)](_0x3baa1c))throw _0x3baa1c[_0x3debbe(0x331)];const _0x4bca39=_0x3baa1c[_0x3debbe(0x387)][0x0]['params'][_0x3debbe(0x14a)];Array[_0x3debbe(0x2b8)](_0x4bca39)&&_0x4bca39[_0x3debbe(0x138)]&&_0x573b4e[_0x3debbe(0x121)](_0x4bca39[0x0]);}};_0x50cb75=_0x4c5499([_0x5f2918(0x0,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x5f2918(0x1,_0x292b34[_0x15f07d(0x361)]),_0x5f2918(0x2,_0x8c537b['IRenderManagerService'])],_0x50cb75);var _0x1b862f=Object[_0x15f07d(0x144)],_0x11672a=(_0x15f119,_0x56c339,_0x102381,_0x23c4b7)=>{const _0x35cb35=_0x15f07d;for(var _0x45ef27=_0x23c4b7>0x1?void 0x0:_0x23c4b7?_0x1b862f(_0x56c339,_0x102381):_0x56c339,_0x31ccce=_0x15f119[_0x35cb35(0x138)]-0x1,_0x4b25bd;_0x31ccce>=0x0;_0x31ccce--)(_0x4b25bd=_0x15f119[_0x31ccce])&&(_0x45ef27=_0x4b25bd(_0x45ef27)||_0x45ef27);return _0x45ef27;},_0x1278a9=(_0x737017,_0x49f527)=>(_0x3b9536,_0x32b090)=>_0x49f527(_0x3b9536,_0x32b090,_0x737017);let _0xc60547=class{constructor(_0x3e2f02,_0x198ff8,_0x568af2){const _0x29cf77=_0x15f07d;this[_0x29cf77(0x1be)]=_0x3e2f02,this[_0x29cf77(0x27f)]=_0x198ff8,this[_0x29cf77(0x143)]=_0x568af2;}[_0x15f07d(0x28f)](_0x44223c){const _0x3d3162=_0x15f07d;this[_0x3d3162(0x150)](_0x44223c);}[_0x15f07d(0x37c)](_0x1dfb04){const _0x37f519=_0x15f07d,{unitID:_0x3c245b}=_0x1dfb04,{collaboration:_0x1f3e2e}=this['_docStateChangeManagerService']['getStateCache'](_0x3c245b);if(_0x1f3e2e[_0x37f519(0x138)]===0x0)return _0x1dfb04;let _0x3519c8=_0x11f213[_0x37f519(0x1f4)][_0x37f519(0x21b)](_0x1dfb04[_0x37f519(0x16f)][0x0]);for(let _0x10f63b=0x0;_0x10f63b<_0x1f3e2e[_0x37f519(0x138)];_0x10f63b++){const _0x46937f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f3e2e[_0x10f63b][_0x37f519(0x350)],..._0x1f3e2e[_0x10f63b][_0x37f519(0x15b)]}},_0x1d48d7=this[_0x37f519(0x27f)][_0x37f519(0x24a)](_0x3519c8,_0x46937f,!0x1);if(_0x292b34[_0x37f519(0x206)](_0x1d48d7))throw _0x1d48d7[_0x37f519(0x331)];_0x3519c8=_0x1d48d7[_0x37f519(0x203)];}return{..._0x11f213[_0x37f519(0x1f4)]['deepClone'](_0x1dfb04),'mutations':[_0x3519c8]};}[_0x15f07d(0x150)](_0x55614a){const _0x1ed304=_0x15f07d,{unitID:_0xf4db3f}=_0x55614a,{history:_0x14699e,collaboration:_0x197c64}=this['_docStateChangeManagerService'][_0x1ed304(0x2b5)](_0xf4db3f);if(_0x14699e[_0x1ed304(0x138)]===0x0&&_0x197c64[_0x1ed304(0x138)]===0x0)return;const _0x415782=[],_0x3e95b7=[];let _0x2b4f74=_0x11f213['Tools']['deepClone'](_0x55614a[_0x1ed304(0x16f)][0x0]),_0x15702f=_0x11f213[_0x1ed304(0x1f4)][_0x1ed304(0x21b)](_0x55614a[_0x1ed304(0x16f)][0x0]);for(let _0x164a39=_0x14699e[_0x1ed304(0x138)]-0x1;_0x164a39>=0x0;_0x164a39--){const _0xa995fa={'id':_0x1ed304(0x166),'params':{'unitId':_0x14699e[_0x164a39][_0x1ed304(0x350)],..._0x14699e[_0x164a39][_0x1ed304(0x318)]}},_0xce32ba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x14699e[_0x164a39][_0x1ed304(0x350)],..._0x14699e[_0x164a39][_0x1ed304(0x15b)]}},_0x26b79d=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x2b4f74,_0xa995fa,!0x1),_0xa75518=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x15702f,_0xce32ba,!0x1);if(_0x292b34['isTransformMutationFailure'](_0x26b79d))throw _0x26b79d[_0x1ed304(0x331)];if(_0x292b34[_0x1ed304(0x206)](_0xa75518))throw _0xa75518[_0x1ed304(0x331)];_0x415782[_0x1ed304(0x1bd)]({..._0x14699e[_0x164a39],'undoState':_0x26b79d[_0x1ed304(0x387)][_0x1ed304(0x1e4)],'redoState':_0xa75518[_0x1ed304(0x387)][_0x1ed304(0x1e4)]}),_0x2b4f74=_0x26b79d[_0x1ed304(0x203)],_0x15702f=_0xa75518[_0x1ed304(0x203)];}_0x2b4f74=_0x11f213['Tools']['deepClone'](_0x55614a['mutations'][0x0]),_0x15702f=_0x11f213[_0x1ed304(0x1f4)][_0x1ed304(0x21b)](_0x55614a[_0x1ed304(0x16f)][0x0]);for(let _0x1d007c=_0x197c64['length']-0x1;_0x1d007c>=0x0;_0x1d007c--){const _0x3876a={'id':_0x1ed304(0x166),'params':{'unitId':_0x197c64[_0x1d007c][_0x1ed304(0x350)],..._0x197c64[_0x1d007c][_0x1ed304(0x318)]}},_0x4b9286={'id':_0x1ed304(0x166),'params':{'unitId':_0x197c64[_0x1d007c][_0x1ed304(0x350)],..._0x197c64[_0x1d007c]['redoState']}},_0x23c578=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x2b4f74,_0x3876a,!0x1),_0x16ab55=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x15702f,_0x4b9286,!0x1);if(_0x292b34['isTransformMutationFailure'](_0x23c578))throw _0x23c578[_0x1ed304(0x331)];if(_0x292b34[_0x1ed304(0x206)](_0x16ab55))throw _0x16ab55[_0x1ed304(0x331)];_0x3e95b7['unshift']({..._0x197c64[_0x1d007c],'undoState':_0x23c578[_0x1ed304(0x387)]['params'],'redoState':_0x16ab55[_0x1ed304(0x387)]['params']}),_0x2b4f74=_0x23c578[_0x1ed304(0x203)],_0x15702f=_0x16ab55[_0x1ed304(0x203)];}this[_0x1ed304(0x143)][_0x1ed304(0x23d)](_0xf4db3f,{'history':_0x415782,'collaboration':_0x3e95b7});}};_0xc60547=_0x11672a([_0x1278a9(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x1278a9(0x1,_0x292b34[_0x15f07d(0x361)]),_0x1278a9(0x2,_0x11f213[_0x15f07d(0x223)](_0x599319[_0x15f07d(0x202)]))],_0xc60547);var _0x3a1188=Object[_0x15f07d(0x144)],_0x16f024=(_0x754ac1,_0x3dbc3d,_0x48070f,_0x1b8fd2)=>{const _0x2169c5=_0x15f07d;for(var _0x3de689=_0x1b8fd2>0x1?void 0x0:_0x1b8fd2?_0x3a1188(_0x3dbc3d,_0x48070f):_0x3dbc3d,_0x408241=_0x754ac1[_0x2169c5(0x138)]-0x1,_0x16bf2a;_0x408241>=0x0;_0x408241--)(_0x16bf2a=_0x754ac1[_0x408241])&&(_0x3de689=_0x16bf2a(_0x3de689)||_0x3de689);return _0x3de689;},_0x210620=(_0x33c2b9,_0x122717)=>(_0x579a86,_0x2e0ec9)=>_0x122717(_0x579a86,_0x2e0ec9,_0x33c2b9);let _0x544e5e=class{constructor(_0x4b7e43,_0x2e4460){const _0xb4456=_0x15f07d;this[_0xb4456(0x1be)]=_0x4b7e43,this[_0xb4456(0x27f)]=_0x2e4460;}[_0x15f07d(0x130)](_0x2da282){const _0x569187=_0x15f07d;var _0x54926c;const _0x5a896b=this[_0x569187(0x1be)]['get'](_0x228de8[_0x569187(0x1c6)]),_0x2bb25c=(_0x54926c=_0x5a896b[_0x569187(0x332)]())!=null?_0x54926c:[];if(_0x2bb25c[_0x569187(0x138)]===0x0)return;const _0x3063d4=_0x2da282[_0x569187(0x23b)],_0xd87582=[{'id':_0x569187(0x166),'params':{'unitId':_0x3063d4,'actions':null,'textRanges':_0x2bb25c}}],_0x47ea6d=this[_0x569187(0x27f)]['transformMutationsWithChangeset'](_0x2da282,_0xd87582);if(!_0x292b34[_0x569187(0x24d)](_0x47ea6d))throw _0x47ea6d[_0x569187(0x331)];const _0x183f78=_0x47ea6d[_0x569187(0x387)][0x0][_0x569187(0x1e4)][_0x569187(0x14a)];Array['isArray'](_0x183f78)&&_0x183f78['length']&&_0x5a896b[_0x569187(0x33d)](_0x183f78,{'unitId':_0x3063d4,'subUnitId':_0x3063d4},!0x1);}};_0x544e5e=_0x16f024([_0x210620(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x210620(0x1,_0x292b34[_0x15f07d(0x361)])],_0x544e5e);var _0x34aa2f=Object[_0x15f07d(0x144)],_0x1d2114=(_0x39731c,_0x5ba7a0,_0x20c8fb,_0x15cd3a)=>{const _0x379346=_0x15f07d;for(var _0x2a429c=_0x15cd3a>0x1?void 0x0:_0x15cd3a?_0x34aa2f(_0x5ba7a0,_0x20c8fb):_0x5ba7a0,_0x1c40c7=_0x39731c[_0x379346(0x138)]-0x1,_0x170218;_0x1c40c7>=0x0;_0x1c40c7--)(_0x170218=_0x39731c[_0x1c40c7])&&(_0x2a429c=_0x170218(_0x2a429c)||_0x2a429c);return _0x2a429c;},_0x3091b1=(_0x2424fa,_0x56b193)=>(_0x4153a5,_0x40afa7)=>_0x56b193(_0x4153a5,_0x40afa7,_0x2424fa);let _0x16930d=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x298930,_0x1c72a3,_0x511285,_0xca7f96,_0x5a7f33,_0x506d1e,_0x1ed3cb,_0x34f5a3){const _0x1f7e8e=_0x15f07d;super(),_0x29a23d(this,_0x1f7e8e(0x293),new _0x1eb5fd[(_0x1f7e8e(0x266))](_0xbdea02[_0x1f7e8e(0x35c)][_0x1f7e8e(0x2b9)])),(this[_0x1f7e8e(0x143)]=_0x298930,this[_0x1f7e8e(0x260)]=_0x1c72a3,this['_docTransformIMECacheService']=_0x511285,this['_docTransformStateCacheService']=_0xca7f96,this['_docTransformSelectionsService']=_0x5a7f33,this[_0x1f7e8e(0x12e)]=_0x506d1e,this[_0x1f7e8e(0x295)]=_0x1ed3cb,this['_localeService']=_0x34f5a3,this[_0x1f7e8e(0x32c)]());}['_initEntityListener'](){const _0x3a74d5=_0x15f07d;this[_0x3a74d5(0x290)](this[_0x3a74d5(0x260)]['entityInit$']['subscribe'](_0x35fbe0=>{const _0x3d3b3d=_0x3a74d5,_0x1f5f95=this['_docStateChangeManagerService'][_0x3d3b3d(0x229)][_0x3d3b3d(0x1db)](_0x49f79a=>{const _0x4224da=_0x3d3b3d;if(_0x49f79a==null)return;const {unitId:_0x47af0d,redoState:_0x32ca3c,commandId:_0x962a09}=_0x49f79a;if(_0x47af0d!==_0x35fbe0['unitID'])return;const _0x2c73cf={'id':_0x962a09,'type':_0x11f213[_0x4224da(0x191)][_0x4224da(0x345)],'params':{'unitId':_0x47af0d,'actions':_0x32ca3c[_0x4224da(0x2a1)],'textRanges':null}};_0x35fbe0[_0x4224da(0x178)](_0x2c73cf);});if(_0x35fbe0['disposeWithMe'](_0x1f5f95),_0x35fbe0 instanceof _0xbdea02[_0x3d3b3d(0x1a0)]){const _0x11b8f1={'onTransformIME':_0x302a85=>this[_0x3d3b3d(0x1f8)][_0x3d3b3d(0x39d)](_0x302a85),'onTransformState':_0x260385=>this[_0x3d3b3d(0x1ce)]['transformStateCache'](_0x260385),'onTransformSelections':_0xf80f02=>this[_0x3d3b3d(0x233)]['transformSelections'](_0xf80f02),'onSyncEditingCollabCursor':_0x47bf46=>this[_0x3d3b3d(0x12e)][_0x3d3b3d(0x358)](_0x47bf46),'onTransformRemoteChangesetByIMECache':_0x3d5ed1=>this[_0x3d3b3d(0x1f8)][_0x3d3b3d(0x37c)](_0x3d5ed1),'onTransformRemoteChangesetByStateCache':_0x590d36=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x590d36)};_0x35fbe0[_0x3d3b3d(0x279)](_0x11b8f1);}}));}};_0x16930d=_0x1d2114([_0x3091b1(0x0,_0x11f213[_0x15f07d(0x223)](_0x599319['DocStateChangeManagerService'])),_0x3091b1(0x1,_0x11f213[_0x15f07d(0x223)](_0xbdea02['CollaborationController'])),_0x3091b1(0x2,_0x11f213['Inject'](_0x50cb75)),_0x3091b1(0x3,_0x11f213[_0x15f07d(0x223)](_0xc60547)),_0x3091b1(0x4,_0x11f213[_0x15f07d(0x223)](_0x544e5e)),_0x3091b1(0x5,_0x11f213[_0x15f07d(0x223)](_0xfa3323)),_0x3091b1(0x6,_0x2d0743['IMessageService']),_0x3091b1(0x7,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x183)]))],_0x16930d);var _0x5709bb=Object[_0x15f07d(0x144)],_0x114bcd=(_0x4d1973,_0x596a35,_0x2125bb,_0x6954d1)=>{for(var _0x4b6ff1=_0x6954d1>0x1?void 0x0:_0x6954d1?_0x5709bb(_0x596a35,_0x2125bb):_0x596a35,_0x53331a=_0x4d1973['length']-0x1,_0x375864;_0x53331a>=0x0;_0x53331a--)(_0x375864=_0x4d1973[_0x53331a])&&(_0x4b6ff1=_0x375864(_0x4b6ff1)||_0x4b6ff1);return _0x4b6ff1;},_0xd43ec6=(_0x3261ae,_0x155f38)=>(_0xbaa10b,_0x35ac0e)=>_0x155f38(_0xbaa10b,_0x35ac0e,_0x3261ae);let _0x36ce3a=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x22bb48,_0x3c79d6,_0x3f815e){const _0x5b7838=_0x15f07d;super(),_0x29a23d(this,_0x5b7838(0x34f),new Map()),_0x29a23d(this,_0x5b7838(0x20b),new Map()),_0x29a23d(this,_0x5b7838(0x1ba),!0x1),(this[_0x5b7838(0x25f)]=_0x22bb48,this[_0x5b7838(0x1aa)]=_0x3c79d6,this[_0x5b7838(0x385)]=_0x3f815e);}[_0x15f07d(0x1d4)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x36b1fb=_0x15f07d;this[_0x36b1fb(0x1ba)]=!0x1;}get['saveTaskMap'](){const _0x27480a=_0x15f07d;return this[_0x27480a(0x20b)];}['dispose'](){const _0x92de0d=_0x15f07d;this[_0x92de0d(0x17f)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x362698){const _0x3e9e67=_0x15f07d;return this['_disabled']?null:this['_localStorageService']['getItem'](_0xbdea02[_0x3e9e67(0x28e)](_0x362698));}async['saveOfflineData'](_0x4804cd,_0x3e3ed0){const _0x5c0a17=_0x15f07d;return!!this[_0x5c0a17(0x1aa)][_0x5c0a17(0x2a7)](_0x4804cd,_0x3e3ed0);}[_0x15f07d(0x158)](_0x171139,_0x392e5b,_0x1d5544,_0x23a22f){const _0x9e93b1=_0x15f07d,_0x1d6b5a=this[_0x9e93b1(0x385)][_0x9e93b1(0x355)](_0x171139);this[_0x9e93b1(0x34f)][_0x9e93b1(0x23c)](_0x171139,{'unitID':_0x171139,'type':_0x392e5b,'awaitingChangeset':_0x1d5544,'mutations':_0x23a22f,'rev':_0x1d6b5a}),this[_0x9e93b1(0x20b)][_0x9e93b1(0x221)](_0x171139)||this[_0x9e93b1(0x2c7)](_0x171139);}['_scheduleSaving'](_0x1f0d5d){const _0x563d28=_0x15f07d,_0x3ebdfd=this[_0x563d28(0x30e)]();_0x3ebdfd===0x0?this[_0x563d28(0x19e)](_0x1f0d5d):this[_0x563d28(0x20b)][_0x563d28(0x23c)](_0x1f0d5d,setTimeout(()=>this['_saveCache'](_0x1f0d5d),_0x3ebdfd));}[_0x15f07d(0x30e)](){const _0x198684=_0x15f07d;var _0x1fad69;return(_0x1fad69=this[_0x198684(0x25f)][_0x198684(0x20a)](_0xbdea02['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x1fad69:_0xbdea02[_0x198684(0x211)];}[_0x15f07d(0x19e)](_0x1b0680){const _0x5d9b26=_0x15f07d,_0x191153=this[_0x5d9b26(0x20b)][_0x5d9b26(0x300)](_0x1b0680);return _0x191153!==void 0x0&&window[_0x5d9b26(0x30f)](_0x191153),this[_0x5d9b26(0x1aa)][_0x5d9b26(0x2a7)](_0xbdea02[_0x5d9b26(0x28e)](_0x1b0680),this[_0x5d9b26(0x34f)][_0x5d9b26(0x300)](_0x1b0680))['then'](()=>this[_0x5d9b26(0x20b)][_0x5d9b26(0x1bc)](_0x1b0680));}async[_0x15f07d(0x17f)](){const _0x3bbf84=_0x15f07d,_0x4bb83d=[];this[_0x3bbf84(0x20b)]['forEach']((_0x5a5307,_0x53a3ab)=>{const _0x5182d5=_0x3bbf84;window[_0x5182d5(0x30f)](_0x5a5307),_0x4bb83d[_0x5182d5(0x330)](this[_0x5182d5(0x19e)](_0x53a3ab)[_0x5182d5(0x2a2)](()=>{const _0x2adae2=_0x5182d5;this['_saveTaskMap'][_0x2adae2(0x1bc)](_0x53a3ab);}));}),await Promise[_0x3bbf84(0x1bf)](_0x4bb83d);}};_0x36ce3a=_0x114bcd([_0xd43ec6(0x0,_0x11f213[_0x15f07d(0x16e)]),_0xd43ec6(0x1,_0x11f213[_0x15f07d(0x23e)]),_0xd43ec6(0x2,_0x11f213['Inject'](_0x292b34[_0x15f07d(0x3ac)]))],_0x36ce3a);class _0x455bac extends _0x11f213[_0x15f07d(0x1b2)]{constructor(){const _0x366b5e=_0x15f07d;super(),_0x29a23d(this,_0x366b5e(0x2b4)),this[_0x366b5e(0x2b4)]=_0x1eb5fd[_0x366b5e(0x1d2)](window,'popstate')[_0x366b5e(0x181)](_0x1eb5fd[_0x366b5e(0x16b)](this[_0x366b5e(0x187)]),_0x1eb5fd[_0x366b5e(0x1f0)](0x1),_0x1eb5fd['mapTo'](void 0x0));}[_0x15f07d(0x265)](_0x5a2423,_0x5bd86b,_0x3d52e0=!0x1){const _0x2b2170=_0x15f07d,_0xa67ad8=new URL(window[_0x2b2170(0x34d)][_0x2b2170(0x36c)]);_0xa67ad8[_0x2b2170(0x368)]['set'](_0x5a2423,_0x5bd86b),_0x3d52e0?window[_0x2b2170(0x246)]['replaceState']('','',_0xa67ad8['toString']()):window[_0x2b2170(0x246)][_0x2b2170(0x161)]('','',_0xa67ad8[_0x2b2170(0x34b)]());}[_0x15f07d(0x167)](_0x48023d,_0x377cd6=!0x1){const _0x2c2862=_0x15f07d,_0x29fecc=new URL(window[_0x2c2862(0x34d)][_0x2c2862(0x36c)]);_0x29fecc[_0x2c2862(0x368)][_0x2c2862(0x1bc)](_0x48023d),_0x377cd6?window[_0x2c2862(0x246)]['replaceState']('','',_0x29fecc['toString']()):window['history'][_0x2c2862(0x161)]('','',_0x29fecc[_0x2c2862(0x34b)]());}[_0x15f07d(0x2ff)](_0x6e45e2){const _0x5d065d=_0x15f07d;var _0xc58d8f;return(_0xc58d8f=new URL(window[_0x5d065d(0x34d)][_0x5d065d(0x36c)])[_0x5d065d(0x368)][_0x5d065d(0x300)](_0x6e45e2))!=null?_0xc58d8f:void 0x0;}}var _0x656675=Object[_0x15f07d(0x301)],_0x2d0bcf=Object['getOwnPropertyDescriptor'],_0x41d9b4=(_0x2521f2,_0x33e847,_0x15b9f3)=>_0x33e847 in _0x2521f2?_0x656675(_0x2521f2,_0x33e847,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b9f3}):_0x2521f2[_0x33e847]=_0x15b9f3,_0x427b79=(_0x5f09cb,_0x4867ca,_0x302b90,_0xa18e61)=>{for(var _0x38191f=_0xa18e61>0x1?void 0x0:_0xa18e61?_0x2d0bcf(_0x4867ca,_0x302b90):_0x4867ca,_0x2e87d2=_0x5f09cb['length']-0x1,_0x537daa;_0x2e87d2>=0x0;_0x2e87d2--)(_0x537daa=_0x5f09cb[_0x2e87d2])&&(_0x38191f=_0x537daa(_0x38191f)||_0x38191f);return _0x38191f;},_0x16e21f=(_0x5edf15,_0x5b2246)=>(_0x34f490,_0x1576d2)=>_0x5b2246(_0x34f490,_0x1576d2,_0x5edf15),_0x436589=(_0x176d7c,_0x3a9239,_0x1d6b85)=>_0x41d9b4(_0x176d7c,_0x3a9239+'',_0x1d6b85);const _0x86efd=_0x15f07d(0x189);_0x32b57d[_0x15f07d(0x256)]=class extends _0x11f213[_0x15f07d(0x2d1)]{constructor(_0x160a73=_0x353a9f,_0x356f69,_0x3d2a23,_0x43f544){const _0x589246=_0x15f07d;super(),this[_0x589246(0x2f2)]=_0x160a73,this[_0x589246(0x180)]=_0x356f69,this[_0x589246(0x1be)]=_0x3d2a23,this[_0x589246(0x25f)]=_0x43f544;const {..._0x142c75}=_0x11f213['merge']({},_0x353a9f,this[_0x589246(0x2f2)]);this[_0x589246(0x25f)][_0x589246(0x151)](_0x5ca35c,_0x142c75);}['onStarting'](){const _0x257877=_0x15f07d;this[_0x257877(0x1d0)](),this[_0x257877(0x2fa)]();}[_0x15f07d(0x155)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x1bb1a6=_0x15f07d;var _0xe3a4a9;const _0x1bdc1d=[[_0x43e7a7],[_0x544e5e],[_0x50cb75],[_0xc60547],[_0xfa3323],[_0x14d524,{'useClass':_0x455bac}],[_0xb0168[_0x1bb1a6(0x17d)],{'useClass':_0xb0168[_0x1bb1a6(0x1da)]}],[_0xbdea02[_0x1bb1a6(0x188)],{'useClass':_0x36ce3a}],[_0x32b57d[_0x1bb1a6(0x224)]],[_0x16930d],[_0x54e6e3],[_0x5a3689],[_0x219e54],[_0x32b57d['CollaborationDataLoaderController']]];_0x11f213[_0x1bb1a6(0x2f1)](this['_injector'],_0x11f213[_0x1bb1a6(0x22d)](_0x1bdc1d,(_0xe3a4a9=this['_config'])==null?void 0x0:_0xe3a4a9[_0x1bb1a6(0x2c9)]));}[_0x15f07d(0x2ce)](){const _0x44192c=_0x15f07d;this[_0x44192c(0x290)](this[_0x44192c(0x180)][_0x44192c(0x1fc)](_0x11f213[_0x44192c(0x39f)]['UNIVER_DOC'],[_0x513bec])),this[_0x44192c(0x290)](this[_0x44192c(0x180)]['registerRenderModule'](_0x11f213[_0x44192c(0x39f)][_0x44192c(0x384)],[_0x4796ef]));}[_0x15f07d(0x2fa)](){const _0x1bd2b5=_0x15f07d;_0x11f213[_0x1bd2b5(0x1b1)](this[_0x1bd2b5(0x1be)],[[_0x5a3689],[_0x32b57d[_0x1bd2b5(0x224)]],[_0x16930d],[_0x54e6e3],[_0x32b57d[_0x1bd2b5(0x259)]]]);}},_0x436589(_0x32b57d[_0x15f07d(0x256)],_0x15f07d(0x1d6),_0x86efd),_0x32b57d[_0x15f07d(0x256)]=_0x427b79([_0x11f213[_0x15f07d(0x19b)](_0xbdea02['UniverCollaborationClientPlugin']),_0x16e21f(0x1,_0x8c537b[_0x15f07d(0x14b)]),_0x16e21f(0x2,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x16e21f(0x3,_0x11f213[_0x15f07d(0x16e)])],_0x32b57d[_0x15f07d(0x256)]);var _0x57529c=Object[_0x15f07d(0x144)],_0x27b6fe=(_0x340af5,_0x67a54f,_0x1e55d8,_0x5e32c3)=>{const _0xad68d5=_0x15f07d;for(var _0x123147=_0x5e32c3>0x1?void 0x0:_0x5e32c3?_0x57529c(_0x67a54f,_0x1e55d8):_0x67a54f,_0x44cc31=_0x340af5[_0xad68d5(0x138)]-0x1,_0x5b2446;_0x44cc31>=0x0;_0x44cc31--)(_0x5b2446=_0x340af5[_0x44cc31])&&(_0x123147=_0x5b2446(_0x123147)||_0x123147);return _0x123147;},_0x36a3ab=(_0x27dd30,_0x14b887)=>(_0x3ca2fa,_0x5842ef)=>_0x14b887(_0x3ca2fa,_0x5842ef,_0x27dd30);_0x32b57d['BrowserCollaborationSocketService']=class extends _0xbdea02[_0x15f07d(0x276)]{constructor(_0x19e99f,_0x475a13,_0x549759,_0x5f47d9,_0x2bb3ad){super(_0x19e99f,_0x475a13,_0x549759,_0x5f47d9,_0x2bb3ad);}async[_0x15f07d(0x349)](_0x35eb7b){const _0x29e5d9=_0x15f07d,_0x481cfa=await this['_getSessionTicket'](),_0x980ad=this[_0x29e5d9(0x1fa)](_0x35eb7b,_0x481cfa);return this['_doCreateSocket'](_0x980ad);}[_0x15f07d(0x1fa)](_0x563a68,_0xe6bd2d){const _0x3873e4=_0x15f07d,_0x445690=typeof window>'u'?new URL(_0x563a68):new URL(_0x563a68,window['location'][_0x3873e4(0x254)]);_0x445690[_0x3873e4(0x368)][_0x3873e4(0x23c)](_0x3873e4(0x342),_0xe6bd2d);const _0x101eff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3873e4(0x34d)][_0x3873e4(0x32b)]);return _0x101eff[_0x3873e4(0x300)]('runId')&&_0x445690['searchParams'][_0x3873e4(0x23c)](_0x3873e4(0x303),_0x101eff[_0x3873e4(0x300)](_0x3873e4(0x303))),_0x445690['toString']();}async[_0x15f07d(0x3ae)](){const _0x3c3d83=_0x15f07d;var _0x2068e1,_0x398157,_0x4f0cbc;const _0x7011bf=this['_configService']['getConfig'](_0xbdea02['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b5bd6=(_0x2068e1=_0x7011bf==null?void 0x0:_0x7011bf[_0x3c3d83(0x39a)])!=null?_0x2068e1:_0xbdea02[_0x3c3d83(0x227)];return(_0x4f0cbc=(_0x398157=(await this[_0x3c3d83(0x135)][_0x3c3d83(0x300)](_0x1b5bd6,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x398157[_0x3c3d83(0x168)])!=null?_0x4f0cbc:'';}},_0x32b57d[_0x15f07d(0x20d)]=_0x27b6fe([_0x36a3ab(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x36a3ab(0x1,_0x11f213[_0x15f07d(0x223)](_0xb0168['HTTPService'])),_0x36a3ab(0x2,_0x11f213['IConfigService']),_0x36a3ab(0x3,_0x11f213[_0x15f07d(0x2d0)]),_0x36a3ab(0x4,_0x292b34['ISnapshotServerService'])],_0x32b57d[_0x15f07d(0x20d)]);const _0x3ac328=0x7530,_0x9b821c='ACTIVE_UNIT_EVENT_CHANNEL';class _0x566023 extends _0x11f213[_0x15f07d(0x35f)]{constructor(){const _0x3c6e0e=_0x15f07d;super(),_0x29a23d(this,_0x3c6e0e(0x366),_0x11f213[_0x3c6e0e(0x35a)]()),_0x29a23d(this,'_selfUnitIDs',new Set()),_0x29a23d(this,_0x3c6e0e(0x12a),new Map()),_0x29a23d(this,_0x3c6e0e(0x2d3),null),_0x29a23d(this,_0x3c6e0e(0x29b),new Map()),_0x29a23d(this,_0x3c6e0e(0x359),new Map()),this[_0x3c6e0e(0x198)]();}[_0x15f07d(0x1c7)](){const _0x1b26d6=_0x15f07d;super[_0x1b26d6(0x1c7)](),this[_0x1b26d6(0x29b)][_0x1b26d6(0x2c4)]((_0x2b0db0,_0x2d4186)=>this[_0x1b26d6(0x212)](_0x2d4186)),this[_0x1b26d6(0x2d3)]&&window[_0x1b26d6(0x12c)](this[_0x1b26d6(0x2d3)]);}['getUnitStatus$'](_0x347561){const _0x2f0b92=_0x15f07d;return this[_0x2f0b92(0x15d)](_0x347561)[_0x2f0b92(0x181)](_0x1eb5fd[_0x2f0b92(0x29d)]());}[_0x15f07d(0x2da)](_0xf0de8c){const _0x297a4f=_0x15f07d;this['_selfUnitIDs'][_0x297a4f(0x176)]===0x0&&this[_0x297a4f(0x213)](),this['_selfUnitIDs'][_0x297a4f(0x21f)](_0xf0de8c),this[_0x297a4f(0x371)]({'type':0x0,'memberID':this[_0x297a4f(0x366)],'unitIDs':[_0xf0de8c],'isForwarded':!0x1});}[_0x15f07d(0x34e)](_0x14619a){const _0x50eaae=_0x15f07d;this[_0x50eaae(0x149)][_0x50eaae(0x1bc)](_0x14619a),this[_0x50eaae(0x149)][_0x50eaae(0x176)]===0x0&&this[_0x50eaae(0x2d3)]&&window[_0x50eaae(0x12c)](this[_0x50eaae(0x2d3)]);}[_0x15f07d(0x198)](){const _0x46abbd=_0x15f07d;this['disposeWithMe'](_0x11f213[_0x46abbd(0x2ba)](_0x1eb5fd[_0x46abbd(0x1d2)](window,_0x46abbd(0x357))[_0x46abbd(0x1db)](_0x31ea6e=>{const _0x3dfc7d=_0x46abbd;if(_0x31ea6e[_0x3dfc7d(0x339)]!==_0x9b821c||!_0x31ea6e['newValue'])return;const _0x208383=JSON[_0x3dfc7d(0x1d7)](_0x31ea6e[_0x3dfc7d(0x2b6)]);this[_0x3dfc7d(0x22f)](_0x208383);}))),window[_0x46abbd(0x354)](_0x46abbd(0x31b),()=>this[_0x46abbd(0x371)]({'type':0x1,'memberID':this[_0x46abbd(0x366)],'unitIDs':Array[_0x46abbd(0x28a)](this[_0x46abbd(0x149)])}));}['_handleEvent'](_0xd17c17){const _0x4f88dd=_0x15f07d;switch(_0xd17c17[_0x4f88dd(0x136)]){case 0x0:this[_0x4f88dd(0x33c)](_0xd17c17);break;case 0x1:this[_0x4f88dd(0x250)](_0xd17c17);break;case 0x2:this[_0x4f88dd(0x1eb)](_0xd17c17);break;}}[_0x15f07d(0x33c)](_0x57e385){const _0x1d7ae2=_0x15f07d,{unitIDs:_0x3c5786,memberID:_0x491aa4,isForwarded:_0x4d61c0}=_0x57e385;_0x3c5786[_0x1d7ae2(0x2c4)](_0xdd3723=>{const _0x11d34a=_0x1d7ae2;if(!_0x4d61c0&&this[_0x11d34a(0x12a)][_0x11d34a(0x221)](_0xdd3723)&&this[_0x11d34a(0x15d)](_0xdd3723)[_0x11d34a(0x379)](_0xbdea02[_0x11d34a(0x1c9)][_0x11d34a(0x2c2)]),!this[_0x11d34a(0x12a)]['has'](_0xdd3723)||!this['_unitOnClients'][_0x11d34a(0x300)](_0xdd3723)[_0x11d34a(0x221)](_0x491aa4)){const _0x15ce51=this[_0x11d34a(0x12a)][_0x11d34a(0x300)](_0xdd3723)||new Set();_0x15ce51[_0x11d34a(0x21f)](_0x491aa4),this[_0x11d34a(0x12a)][_0x11d34a(0x23c)](_0xdd3723,_0x15ce51),this[_0x11d34a(0x32f)](_0x491aa4);}}),_0x4d61c0||this[_0x1d7ae2(0x371)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1d7ae2(0x149)]],'isForwarded':!0x0});}[_0x15f07d(0x32f)](_0x37f97f){const _0x28204c=_0x15f07d;this['_removeClearOtherTimer'](_0x37f97f);const _0x4e9968=window[_0x28204c(0x392)](()=>{const _0x354f6a=_0x28204c;this[_0x354f6a(0x12a)][_0x354f6a(0x2c4)](_0x5c5d00=>{const _0x5c1e31=_0x354f6a;_0x5c5d00[_0x5c1e31(0x1bc)](_0x37f97f);});},_0x3ac328*0x2);this['_clearOtherTimers'][_0x28204c(0x23c)](_0x37f97f,_0x4e9968);}['_removeClearOtherTimer'](_0xa6e213){const _0x247ff7=_0x15f07d;if(this[_0x247ff7(0x29b)][_0x247ff7(0x221)](_0xa6e213)){const _0x495fdc=this[_0x247ff7(0x29b)][_0x247ff7(0x300)](_0xa6e213);_0x495fdc&&window[_0x247ff7(0x30f)](_0x495fdc),this[_0x247ff7(0x29b)][_0x247ff7(0x23c)](_0xa6e213,null);}}[_0x15f07d(0x250)](_0x327f80){const _0xa49750=_0x15f07d,{memberID:_0xb30136,unitIDs:_0x131ad2}=_0x327f80;_0x131ad2[_0xa49750(0x2c4)](_0x5de059=>{const _0x9f3521=_0xa49750;var _0x4bb70d;const _0x3205b0=this['_unitOnClients'][_0x9f3521(0x300)](_0x5de059);_0x3205b0&&(_0x3205b0[_0x9f3521(0x1bc)](_0xb30136),(_0x4bb70d=this[_0x9f3521(0x15d)](_0x5de059))==null||_0x4bb70d[_0x9f3521(0x379)](_0x3205b0[_0x9f3521(0x176)]===0x0?_0xbdea02[_0x9f3521(0x1c9)][_0x9f3521(0x1a5)]:_0xbdea02[_0x9f3521(0x1c9)][_0x9f3521(0x2c2)]));}),this[_0xa49750(0x212)](_0xb30136);}[_0x15f07d(0x1eb)](_0x2d1db4){const _0x296564=_0x15f07d;this[_0x296564(0x32f)](_0x2d1db4[_0x296564(0x344)]);}[_0x15f07d(0x371)](_0x43c2cd){const _0x4c19f6=_0x15f07d;localStorage['setItem'](_0x9b821c,JSON[_0x4c19f6(0x2fd)](_0x43c2cd));}[_0x15f07d(0x213)](){const _0x2118d4=_0x15f07d;this['_heartbeatTimer']=window[_0x2118d4(0x32d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3ac328);}[_0x15f07d(0x15d)](_0x40e1a2){const _0x361dba=_0x15f07d;return this[_0x361dba(0x359)]['has'](_0x40e1a2)||this[_0x361dba(0x359)][_0x361dba(0x23c)](_0x40e1a2,new _0x1eb5fd[(_0x361dba(0x266))](_0xbdea02[_0x361dba(0x1c9)][_0x361dba(0x1a5)])),this[_0x361dba(0x359)][_0x361dba(0x300)](_0x40e1a2);}}var _0x2c540b=(_0x255abd=>(_0x255abd[_0x255abd[_0x15f07d(0x147)]=0x0]=_0x15f07d(0x147),_0x255abd[_0x255abd['OK']=0x1]='OK',_0x255abd[_0x255abd[_0x15f07d(0x13b)]=0x2]=_0x15f07d(0x13b),_0x255abd[_0x255abd[_0x15f07d(0x1fb)]=0x3]='PERMISSION_DENIED',_0x255abd[_0x255abd['NOT_FOUND']=0x4]=_0x15f07d(0x219),_0x255abd[_0x255abd[_0x15f07d(0x2ed)]=0x5]=_0x15f07d(0x2ed),_0x255abd[_0x255abd[_0x15f07d(0x1bb)]=0x6]='ALREADY_EXISTS',_0x255abd[_0x255abd[_0x15f07d(0x298)]=0x7]='INVALID_ARGUMENT',_0x255abd[_0x255abd['TOO_MANY_REQUESTS']=0x8]=_0x15f07d(0x37f),_0x255abd[_0x255abd['COMPLETION_FINISHED']=0x9]=_0x15f07d(0x2cf),_0x255abd[_0x255abd[_0x15f07d(0x297)]=0xa]=_0x15f07d(0x297),_0x255abd[_0x255abd[_0x15f07d(0x15f)]=0x1389]=_0x15f07d(0x15f),_0x255abd[_0x255abd[_0x15f07d(0x1c8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x255abd[_0x255abd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x15f07d(0x1b8),_0x255abd[_0x255abd[_0x15f07d(0x1e8)]=0x1773]=_0x15f07d(0x1e8),_0x255abd[_0x255abd['APPLY_REJECT']=0x1b59]=_0x15f07d(0x315),_0x255abd[_0x255abd[_0x15f07d(0x281)]=0x1b5a]=_0x15f07d(0x281),_0x255abd[_0x255abd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x255abd[_0x255abd[_0x15f07d(0x19a)]=0x1b5c]=_0x15f07d(0x19a),_0x255abd[_0x255abd[_0x15f07d(0x2c8)]=0x1b5d]=_0x15f07d(0x2c8),_0x255abd[_0x255abd['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x15f07d(0x165),_0x255abd[_0x255abd[_0x15f07d(0x1df)]=0x2329]=_0x15f07d(0x1df),_0x255abd[_0x255abd[_0x15f07d(0x1f2)]=0x232a]=_0x15f07d(0x1f2),_0x255abd[_0x255abd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x15f07d(0x388),_0x255abd[_0x255abd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x255abd[_0x255abd[_0x15f07d(0x323)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x255abd[_0x255abd[_0x15f07d(0x2af)]=0x2711]=_0x15f07d(0x2af),_0x255abd[_0x255abd[_0x15f07d(0x2be)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x255abd[_0x255abd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x15f07d(0x336),_0x255abd[_0x255abd[_0x15f07d(0x237)]=0x2714]=_0x15f07d(0x237),_0x255abd[_0x255abd[_0x15f07d(0x346)]=0x271a]=_0x15f07d(0x346),_0x255abd[_0x255abd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x15f07d(0x277),_0x255abd[_0x255abd[_0x15f07d(0x381)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x255abd[_0x255abd[_0x15f07d(0x2de)]=0x2ee1]=_0x15f07d(0x2de),_0x255abd[_0x255abd['INVALID_INVITE_CODE']=0x2ee2]=_0x15f07d(0x2f4),_0x255abd[_0x255abd[_0x15f07d(0x2dc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x255abd[_0x255abd[_0x15f07d(0x218)]=0x2ee4]=_0x15f07d(0x218),_0x255abd[_0x255abd[_0x15f07d(0x2a5)]=0x2ee5]=_0x15f07d(0x2a5),_0x255abd[_0x255abd[_0x15f07d(0x393)]=0x32c9]=_0x15f07d(0x393),_0x255abd[_0x255abd[_0x15f07d(0x1ed)]=0x32ca]=_0x15f07d(0x1ed),_0x255abd[_0x255abd[_0x15f07d(0x288)]=0x32cb]=_0x15f07d(0x288),_0x255abd[_0x255abd[_0x15f07d(0x2ea)]=-0x1]='UNRECOGNIZED',_0x255abd))(_0x2c540b||{}),_0x399f48=Object[_0x15f07d(0x144)],_0x37538f=(_0x581366,_0x1880d5,_0x3297b9,_0x2b4ca6)=>{const _0x234f54=_0x15f07d;for(var _0x3dca33=_0x2b4ca6>0x1?void 0x0:_0x2b4ca6?_0x399f48(_0x1880d5,_0x3297b9):_0x1880d5,_0x48503d=_0x581366[_0x234f54(0x138)]-0x1,_0x5ef3ca;_0x48503d>=0x0;_0x48503d--)(_0x5ef3ca=_0x581366[_0x48503d])&&(_0x3dca33=_0x5ef3ca(_0x3dca33)||_0x3dca33);return _0x3dca33;},_0x3cf82a=(_0x2dff11,_0x3db096)=>(_0x5eaf3d,_0x50c236)=>_0x3db096(_0x5eaf3d,_0x50c236,_0x2dff11);_0x32b57d[_0x15f07d(0x324)]=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x1271aa,_0x1703d2,_0x537d88){const _0x3326f8=_0x15f07d;super(),this[_0x3326f8(0x340)]=_0x1271aa,this[_0x3326f8(0x135)]=_0x1703d2,this['_configService']=_0x537d88;}async[_0x15f07d(0x2e0)](_0x570d2f,_0x5a1b39,_0x389688,..._0x1a2e46){const _0x2adf88=_0x15f07d;var _0x197b9b,_0xd3d542,_0xa4772a,_0x224774;const _0x2deb22=this[_0x2adf88(0x340)]['getFocusedUnit']();if(!_0x2deb22)throw new Error(_0x2adf88(0x241));const _0x773c85=((_0x197b9b=this['_configService']['getConfig'](_0xbdea02['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x197b9b:_0xbdea02[_0x2adf88(0x20f)])+'/'+_0x570d2f+_0x2adf88(0x37e)+_0x5a1b39,_0x534142=new URL(window[_0x2adf88(0x34d)][_0x2adf88(0x36c)]),_0x1f0484={'scriptId':_0x570d2f,'runId':(_0xd3d542=_0x534142['searchParams'][_0x2adf88(0x300)]('runId'))!=null?_0xd3d542:'','function':_0x5a1b39,'unitId':_0x2deb22[_0x2adf88(0x1e5)](),'argsOfFunction':JSON[_0x2adf88(0x2fd)](_0x1a2e46),'invokeId':(_0xa4772a=_0x389688['invokeId'])!=null?_0xa4772a:'','executionId':(_0x224774=_0x389688[_0x2adf88(0x2c0)])!=null?_0x224774:''};try{const _0x5267ef=await this['_httpService'][_0x2adf88(0x11b)](_0x773c85,{'body':_0x1f0484});return _0x5267ef[_0x2adf88(0x30c)][_0x2adf88(0x331)]&&_0x5267ef[_0x2adf88(0x30c)][_0x2adf88(0x331)]['code']!==_0x2c540b['OK']?_0x2adf88(0x306):_0x5267ef['body'][_0x2adf88(0x216)];}catch{return _0x2adf88(0x306);}}},_0x32b57d[_0x15f07d(0x324)]=_0x37538f([_0x3cf82a(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x3cf82a(0x1,_0x11f213[_0x15f07d(0x223)](_0xb0168[_0x15f07d(0x274)])),_0x3cf82a(0x2,_0x11f213['IConfigService'])],_0x32b57d[_0x15f07d(0x324)]),_0x32b57d[_0x15f07d(0x267)]=_0x5ea2d8,_0x32b57d[_0x15f07d(0x286)]=_0x14d524,_0x32b57d[_0x15f07d(0x3aa)]=_0x4cc5c6,_0x32b57d[_0x15f07d(0x257)]=_0x566023,_0x32b57d['WebURLService']=_0x455bac,Object[_0x15f07d(0x301)](_0x32b57d,Symbol['toStringTag'],{'value':'Module'});}));function _0x29c7(){const _0xe61df8=['BuiltInUIPart','debug','session.collaboration-timeout','unitID','set','setStateCache','ILocalStorageService','permission.content','transformByState','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_docClipboardService','Rect','_entityInit$','engine','history','@univerjs/engine-formula','UniverProCollaborationClientUi','_getScale','transformMutation','imageSourceType','getCurrentSelections','isTransformMutationsWithChangesetSuccess','_color','_localCacheService','_handleLeaveEvent','prototype','OffLineSingle','ranges','origin','_notificationService','UniverCollaborationClientUIPlugin','WebBrowserSingleActiveUnitService','black','CollaborationDataLoaderController','_sheetSkeletonManagerService','round','some','collabCursorState$','rxjs','_configService','_collaborationController','indexOf','off-line-single_clip0_910_343','UniverEngineFormula','_initResize','setParam','BehaviorSubject','CollaborationStatusDisplay','tag','getOffsetConfig','top','InsertRangeMoveRightCommandId','_imageIoService','width','...','#fff','_roomMembers$','data','xlink:href','selection','HTTPService','collabStatus.conflict','CollaborationSocketService','YUUMI_ASYNCIO_CANCELLED','CollaborationSessionService','addHandlerCallback','setAlpha','jiqing500','UniverRpc','hide','DeleteRangeMoveLeftCommandId','_transformService','isEditing','APPLY_NON_SEQUENTIAL_REVISION','_setupSubUnitSync','_hovered','registerRefRange','use','IURLService','forwardRef','EMAIL_HAS_BEEN_BOUND','event$','from','2663590XJghtm','SheetsSelectionsService','MessageType','getLocalCacheKey','transformStateCache','disposeWithMe','collaboration.single-unit.warning','includes','_status$','_render','_messageService','map','LOGIN_FAILED','INVALID_ARGUMENT','30678VJHWAF','entries','_clearOtherTimers','getTypeOfUnitAdded$','distinctUntilChanged','substring','IMessageService','_context','actions','then','apply','collab-client.tooltip.reconnect','INVITE_CODE_ALREADY_BOUND','name','setItem','send','React','UniverSheetsUi','@univerjs/docs-ui','restore','url(#$1','purple300','YUUMI_UNABLE_LOAD_URL','range','EffectRefRangId','_univerInstanceService','_setupBeforeClosingHandler','urlChange$','getStateCache','newValue','univer-offline','isArray','NOT_COLLAB','toDisposable','UniverDocs','verdancy600','_session','YUUMI_URL_COL_OUT_OF_RANGE','_urlService','executionId','collabStatus.offline','OTHER_CLIENTS_EDITING','RemoveColCommandId','forEach','assignAColorForMemberID','FromArray','_scheduleSaving','APPLY_DUPLICATED','override','getActiveRange','getSkeleton','path','_updateSubUnitFromURLParams','_registerRenderDependencies','COMPLETION_FINISHED','ILogService','Plugin','USERS_LEAVE','_heartbeatTimer','max','executeCommand','Error','M0\x200H16V16H0z','0\x200\x2017\x2016','addObject','editingUnit','RegularPolygon','INVITE_CODE_REQUIRED','column','INVITE_CODE_HAS_BEEN_UES','_updateURLWithCurrentState','runOnServer','getValue','CollaborationEvent','handleInsertCol','offline','getUniverSheetInstance','InsertRangeMoveDownCommandId','IBeforeCloseService','hasOwnProperty','4274540eHRsZk','UNRECOGNIZED','InsertColCommandId','text','UNAUTHENTICATED','SheetSkeletonManagerService','UniverSheets','getCurrent','registerDependencies','_config','min','INVALID_INVITE_CODE','currentSkeleton$','3033QyjgGQ','clsx','_refRangeService','_initEvent','_initDependencies','getTypeOfUnitDisposed$','getMemberID','stringify','DocSkeletonManagerService','getParam','get','defineProperty','getRenderById','runId','translate(.97)','requireSession','Failed','startRow','_hideTimer','37784sETFXl','clipPath','DataLoaderService','body','handleDeleteRangeMoveUp','_getSaveTimeout','clearTimeout','concat','roomMembers$','OTHER_CLIENT_EDITING','#FFF','complete','APPLY_REJECT','SUBMIT_CHANGESET_TIMEOUT','sheetID','undoState','init','univer-online-status-title','unload','jsxs','isActive','rxjs/operators','DocIMEInputManagerService','exports','collabStatus.syncing','Workbook','LICENSE_DISTRO_REJECTED','RemoteUniscriptService','ColorKit','_shapes','div','font','handleInsertRangeMoveRight','_lastPointer','search','_initEntityListener','setInterval','@univerjs/docs','_scheduleClearOtherTimer','push','error','getDocRanges','colorChannel1','useDependency','ICommandService','YUUMI_RATE_OVER_LIMIT','onCommandExecuted','hovered','key','unsubscribe','_initStatusListener','_handleJoinEvent','replaceDocRanges','HEADER_MENU','permission.title','_instanceService','getSheetId','sessionTicket','mask','memberID','MUTATION','YUUMI_NO_CUBOID_FOR_QUESTION','getMember','show','createSocket','_commandService','toString','getViewport','location','disposeUnit','_cachedData','unitId','extend','values','_transformUndoRedoStack','addEventListener','getCurrentRevOfUnit','getMergeData','storage','syncEditingCollabCursor','_unitStatus','generateRandomId','SetWorksheetActivateCommand','CollaborationStatus','_draw','endColumn','Disposable','on-line-single_clip0_910_349','ITransformService','RichTextEditingMutation','_initStatusComponent','collab-text-range-','Rectangle','_id','object','searchParams','switchMap','AWAITING','resize','href','getCollabCursors$','replace','_cursorShapes','getSheetBySheetId','_send','height','getFocusedUnit','makeDirty','_onCursorDelete','_anchorDot','debounceTime','getActiveSheet','next','Tooltip','_labelPosition','transformRemoteChangeset','_startSheetCollabCursor','/run/','TOO_MANY_REQUESTS','startsWith','PY_RUNTIME_SCRIPT_ERROR','filter','Shape','UNIVER_SHEET','_revisionService','currentColor','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','_collabCursorState$','4600735SIooLp','IImageIoService','debounce','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawAnchor','onPointerLeave$','FETCH_MISS','setTimeout','WECHAT_HAS_BEEN_BOUND','loadUnit','subUnitId','_drawTextRange','onMouseMove','CollaborationUIEventId','_online','wsSessionTicketUrl','_hover','getUnhiddenWorksheets','transformIMECache','INotificationService','UniverInstanceType','32001RVveob','subunit','COLORS','_toggleOnline','collabStatus.synced','Unknown\x20user','univer-online-status-icon','children','@univerjs/engine-render','_anchor','SheetCollabCursorShape','serializeRangeWithSheet','RevisionService','find','_getSessionTicket','SHEET_VIEWPORT_KEY','_onRefRangeChange','JOIN_ROOM_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_assignedColors','post','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','PENDING','getColor','UPDATE_CURSOR','setActiveRange','Injector','SetSelectionsOperation','IDocClipboardService','combineLatest','save','_drawRectRange','useRef','string','_unitOnClients','off-line-single','clearInterval','_collabSessionService','_docSyncEditingCollabCursorService','AWAITING_WITH_PENDING','transformSelections','triggerDblclick','getCurrentUnitForType','arc','propertyIsEnumerable','_httpService','type','_themeService','length','_textBubble','_toggleOffline','INTERNAL_ERROR','transformMutationsWithChangeset','_colorAssignService','fillText','displayName','assign','getUndoRedoMutationParamsCache','_initCommandExecutedListener','_docStateChangeManagerService','getOwnPropertyDescriptor','_startDocCollabCursor','_collaborationUIEventService','UNDEFINED','fillRule','_selfUnitIDs','textRanges','IRenderManagerService','idSuffix','Warning','closePath','color','_transformHistoryAndStateStack','setConfig','getRangePointData','UNIVER_DOC','_docSkeletonManagerService','onRendered','Vector2','random','updateOfflineData','sheetId','_getMergeRange','redoState','MemberService','_ensureSubject','startColumn','CHANGESET_REVISION_CONFILICT','function','pushState','fillStyle','_cursorInfo$','addObjects','CONNECTOR_DATA_TOO_LARGE','doc.mutation.rich-text-editing','removeParam','ticket','@univerjs-pro/collaboration-client','DOC_RANGE_TYPE','takeUntil','collabStatus.fetchMiss','[CollaborationDataLoaderController]','IConfigService','mutations','RemoveRowCommandId','getOwnPropertySymbols','onlineStatusIcon','useCallback','@univerjs/rpc','with','size','_entities','onLocalMutation','asObservable','evenodd','_colorIndex','_logService','ISocketService','_refreshCollabCursors','exhaustSavingTask','_renderManagerService','pipe','saveTaskMap','LocaleService','handleInsertRangeMoveDown','_cursor','_memberService','dispose$','ILocalCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SOCKET_FAILED_RETRY','_getAnchorBounding','@univerjs/sheets','jsx','eventID','call','_transformPreviousActiveRange','CommandType','ONLINE','sessionStatus$','@univerjs/design','_getSheetObject','_removeCollabCursors','url(#off-line-single_clip0_910_343)','_init','@univerjs/ui','APPLY_PERMISSION_DENIED','DependentOn','collabStatus.notCollab','registerBeforeClose','_saveCache','2748680ZQsBSc','DocCollaborationEntity','_updateCollabCursors','onlineStatus','getCellPositionByOffset','_localeService','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_range','red300','@univerjs-pro/collaboration','_localStorageService','UniverProCollaborationClient','@univerjs/sheets-ui','@univerjs/core','setShapeProps','_onCursorUpdate','flatMap','touchDependencies','RxDisposable','_uiPartsService','getCoordByCell','attrs','SYNCED','svg','SNAPSHOT_HAS_BEEN_REMOVED','onPointerEnter$','_disabled','ALREADY_EXISTS','delete','unshift','_injector','all','row','_handleHover','collaboration.closeRoom','fill','IRemoteInstanceService','_syncEditingCollabCursorService','DocSelectionManagerService','dispose','SNAPSHOT_INVALID_SNAPSHOT','UnitStatus','_scene','1722SdLDfP','UniverDocsUi','_docSkeleton','_docTransformStateCacheService','subscribeEvent','_registerDependencies','setUndoRedoMutationParamsCache','fromEvent','bottom','disableLocalCache','merge','pluginName','parse','_collabCursorController','Optional','WebSocketService','subscribe','unit','createElement','drawWith','LICENSE_MAX_UNITS_EXCEEDED','toRgbString','IUniverInstanceService','CLOSE_ROOM','roomMembers','params','getUnitId','UniverProCollaboration','icon','ENSURE_SNAPSHOT_EXECUTION','getVpScrollXYInfoByPosToVp','on-line-single','_handleHeartbeatEvent','getRelativeToViewportCoord','MOBILE_HAS_BEEN_BOUND','TEXT_RANGE_LAYER_INDEX','defs','shareReplay','session.will-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onPointerMove$','Tools','@univerjs/drawing','_backgroundColor','whenReady','_docTransformIMECacheService','measureText','_createSocketURL','PERMISSION_DENIED','registerRenderModule','InsertRowCommandId','cursorInfo','_eventUnsubscribe','none','SetTextSelectionsOperation','DocStateChangeManagerService','m1Prime','_dataLoaderService','CONFLICT','isTransformMutationFailure','3zrToIp','rgba(255,\x20255,\x20255,\x200.01)','trim','getConfig','_saveTaskMap','deserializeRangeWithSheet','BrowserCollaborationSocketService','lineTo','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','NodePositionConvertToCursor','LOCAL_CACHE_INTERVAL','_removeClearOtherTimer','_scheduleHeartbeat','SessionStatus','gold400','result','collab-text-anchor-','USER_NOT_INVITED_CODE','NOT_FOUND','defIds','deepClone','status$','TEXT','_cursors','add','TRANSFORM_CHANGE_OBSERVABLE_TYPE','has','activeSheet$','Inject','DesktopCollaborationStatusDisplayController','_updateLocalCursor','OnLineSingle','DEFAULT_WS_SESSION_TICKET_URL','1em','docStateChange$','_document','symbol','transform','mergeOverrideWithDependencies','RECT','_handleEvent','selections','current','_name','_docTransformSelectionsService','cursorInfo$','handleIRemoveRow','@univerjs/network','YUUMI_SUBSCRIPTION_NOT_FOUND'];_0x29c7=function(){return _0xe61df8;};return _0x29c7();}
1
+ function _0x51bc(){const _0x46aa8b=['closePath','HEADER_MENU','LICENSE_DISTRO_REJECTED','red300','RevisionService','override','APPLY_REVISION_CONFILICT','_handleHover','get','measureText','operators','m1Prime','_render','addEventListener','loadOfflineData','FETCH_MISS','UniverDocsUi','UnitStatus','memberID','EffectRefRangId','YUUMI_NO_CUBOID_FOR_QUESTION','send','_urlService','LOCAL_CACHE_INTERVAL','all','DataLoaderService','_name','SetSelectionsOperation','setParam','post','getCollabCursors$','collaboration.single-unit.warning','_docTransformSelectionsService','getUnhiddenWorksheets','YUUMI_ASYNCIO_CANCELLED','handleInsertRow','YUUMI_SUBSCRIPTION_NOT_FOUND','with','ENSURE_SNAPSHOT_EXECUTION','@univerjs/docs','ITransformService','debounce','INVALID_INVITE_CODE','FromArray','CLOSE_ROOM','SheetSkeletonManagerService','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','getMember','InsertRangeMoveRightCommandId','transformStateCache','Tooltip','68elCXQs','univer-online-status-icon','Disposable','@univerjs-pro/collaboration-client','toString','fromEvent','4683590mPznFQ','Plugin','sessionTicket','univer-offline','OFFLINE','urlChange$','switchMap','@univerjs/sheets-ui','[CollaborationDataLoaderController]','_docTransformStateCacheService','UniverCore','session.connection-failed','map','disableLocalCache','handleInsertCol','idSuffix','_assignedColors','_initStatusListener','_setupBeforeClosingHandler','IRenderManagerService','registerBeforeClose','onLocalMutation','RemoteUniscriptService','href','DocIMEInputManagerService','eventID','getUndoRedoMutationParamsCache','@univerjs/drawing','sessionStatus$','url(#on-line-single_clip0_910_349)','_cursors','USER_NOT_INVITED_CODE','getCellPositionByOffset','transformMutation','1837348kMHMzU','2555325qoaQra','ticket','createSocket','subscribe','Error','unit','INTERNAL_ERROR','permission.content','getColor','redoState','_cachedData','_anchor','lineTo','NOT_COLLAB','DocStateChangeManagerService','WebBrowserSingleActiveUnitService','getFocusedUnit','unitID','SessionStatus','_collabSessionService','addObject','m2Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','div','UNAUTHENTICATED','_disabled','createElement','ranges','RegularPolygon','_session','generateRandomId','init','useRef','PY_RUNTIME_SCRIPT_ERROR','OTHER_CLIENT_EDITING','SetTextSelectionsOperation','DocSkeletonManagerService','has','univer-flex\x20univer-items-center','getSheetBySheetId','SetDocZoomRatioOperation','Module','_document','_refRangeService','_localCacheService','_collabCursorState$','Warning','_colorAssignService','SetWorksheetActivateCommand','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','saveImage','roomMembers$','...','transform','pushState','_syncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','getLocalCacheKey','UniverUi','assign','toRgbString','findNodePositionByCharIndex','subscribeEvent','getConfig','focused$','InsertColCommandId','handleDeleteRangeMoveLeft','setUndoRedoMutationParamsCache','forEach','_getSaveTimeout','ALREADY_EXISTS','data','UniverInstanceType','@univerjs/design','runRefRangeMutations','getVpScrollXYInfoByPosToVp','gold400','IMessageService','RECT','addObjects','collab-client.tooltip.reconnect','push','imageSourceType','collab-text-range-','verdancy600','string','error','ThemeService','beginPath','_online','fill','IURLService','getOwnPropertySymbols','_send','skeleton','_updateLocalCursor','isTransformMutationsWithChangesetSuccess','cursorInfo','INVITE_CODE_REQUIRED','TOO_MANY_REQUESTS','onlineStatusIcon','InsertRangeMoveDownCommandId','offline','UniverIcon','registerRefRange','UniverEngineFormula','OTHER_CLIENTS_EDITING','syncEditingCollabCursor','getValue','requireSession','wsSessionTicketUrl','1em','3554504PJXycA','_handleHeartbeatEvent','call','session.collaboration-timeout','_registerDependencies','_collaborationController','getRenderById','_docClipboardService','getCollabEntity$','permission.title','getMemberID','collabStatus.offline','merge','getParam','useObservable','random','_uiPartsService','reconnect','APPLY_REJECT','subunit','_getSessionTicket','MessageType','_instanceService','_commandService','univer-online-status-title','getOwnPropertyDescriptor','setShapeProps','_onRefRangeChange','isTransformMutationFailure','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','IRemoteInstanceService','handleIRemoveRow','origin','complete','onStarting','handleDeleteRangeMoveUp','currentTheme$','mergeOverrideWithDependencies','ILogService','debug','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','react','moveTo','setConfig','restore','UniverProCollaboration','UNRECOGNIZED','9hSuyjp','_getScale','USERS_LEAVE','replaceDocRanges','registerDependencies','transformIMECache','Failed','object','_shapes','HTTPService','apply','endColumn','popstate','getSheetId','_docStateChangeManagerService','_lastPointer','getViewport','UniverDrawing','_updateURLWithCurrentState','univer-online','displayName','onMouseMove','IUniverInstanceService','getUnitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LOCAL_CACHE_INTERVAL_KEY','getActiveRange','current','hasOwnProperty','DesktopCollaborationStatusDisplayController','from','OnLineSingle','SheetsSelectionsService','history','@univerjs/network','SheetCollabCursorShape','_cursorShapes','hovered','setActiveRange','prototype','unshift','UniverCollaborationClientUIPlugin','event$','row','url(#off-line-single_clip0_910_343)','_transformPreviousActiveRange','React','RxDisposable','DocSelectionManagerService','NodePositionConvertToCursor','replace','location','pluginName','collabStatus.fetchMiss','engine','IConfigService','_logService','selection','_cursor','collabStatus.synced','UniverSheets','EMAIL_HAS_BEEN_BOUND','CollaborationStatus','setItem','_unitOnClients','_beforeCloseService','filter','mapTo','YUUMI_URL_COL_OUT_OF_RANGE','top','YUUMI_RATE_OVER_LIMIT','UPDATE_CURSOR','COLORS','#fff','toDisposable','_toggleOnline','_toggleOffline','registerComponent','SOCKET_FAILED_RETRY','Unknown\x20user','fillRule','transformMutationsWithChangeset','_sheetSkeletonManagerService','className','collabStatus.syncing','MoveRangeCommandId','_updateSubUnitFromURLParams','NodePositionConvertToRectRange','TEXT_RANGE_LAYER_INDEX','entries','backgroundColor','height','getActiveSheet','_range','getTypeOfUnitDisposed$','IImageIoService','makeDirty','_saveTaskMap','_entities','UniverDesign','CollaborationSessionService','deepClone','_handleEvent','_getMergeRange','rgba(255,\x20255,\x20255,\x200.01)','UNDEFINED','_saveCache','disposeUnit','_collaborationUIEventService','WebSocketService','debounceTime','SYNCED','_refreshCollabCursors','handleIRemoveCol','transformRemoteChangeset','on-line-single','_clearOtherTimers','session.will-retry','SNAPSHOT_HAS_BEEN_REMOVED','extend','defIds','split','column','CollaborationSocketService','text','connectInjector','forwardRef','transformByState','isActive','WebURLService','_scheduleClearOtherTimer','_createSocketURL','onPointerLeave$','Rectangle','VIEW_MAIN','undoState','LOGIN_FAILED','_hover','_init','includes','executeCommand','COMPLETION_FINISHED','PENDING','fillStyle','jiqing500','_anchorDot','_selfUnitIDs','getAncestorScale','DependentOn','SHEET_VIEWPORT_KEY','exhaustSavingTask','collaboration-client.offline-data-not-saved','MemberService','getTypeOfUnitAdded$','@univerjs/engine-formula','_docSkeletonManagerService','setAlpha','_color','6Wvarsd','UniverDocs','_getAnchorBounding','handleMoveRange','fillText','purple300','transformSelections','evenodd','round','OffLineSingle','combineLatest','CollaborationDataLoaderController','onCommandExecuted','Tools','@univerjs/sheets','getRangePointData','_draw','_scheduleHeartbeat','unitId','onTransformChange$','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','UNIVER_DOC','off-line-single','icon','918140lvxOOo','CollaborationStatusDisplay','ISocketService','rxjs/operators','then','ILocalCacheService','createInstance','shareReplay','DocCollaborationEntity','mask','values','some','collabCursorState$','searchParams','loadUnit','collaboration-client-ui.config','exports','children','jsx','getCoordByCell','roomMembers','concat','enableLocalCache','body','function','IBeforeCloseService','Workbook','_roomMembers$','CollaborationEvent','dispose','MUTATION','pipe','BehaviorSubject','asObservable','@univerjs/rpc','ONLINE','off-line-single_clip0_910_343','none','IUIPartsService','@univerjs/ui','setTimeout','_scene','sheetId','@univerjs/engine-render','_dataLoaderService','path','rxjs','type','attrs','getCurrentUnitForType','_univerInstanceService','getCurrentRevOfUnit','actions','_transformHistoryAndStateStack','PERMISSION_DENIED','source','status$','length','INVALID_ARGUMENT','drawWith','_revisionService','_initEntityListener','_imageIoService','_labelPosition','CollaborationController','key','isEditing','4742339GzYNfM','UniverRpc','size','NOT_FOUND','application/json','flatMap','_context','YUUMI_UNABLE_LOAD_URL','_startSheetCollabCursor','colorChannel1','removeParam','selections','_registerRenderDependencies','_renderManagerService','currentSkeleton$','getDocRanges','params','set','symbol','amd','_notificationService','clipPath','cursorInfo$','Optional','_onCursorUpdate','WECHAT_HAS_BEEN_BOUND','max','Inject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','add','M0\x200H16V16H0z','@univerjs-pro/collaboration','show','_onCursorDelete','UniverEngineRender','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','xlink:href','onPointerEnter$','MOBILE_HAS_BEEN_BOUND','_eventUnsubscribe','_transformUndoRedoStack','unsubscribe','collaboration.closeRoom','currentColor','react/jsx-runtime','substring','on-line-single_clip0_910_349','_unitStatus','setStateCache','_initResize','_messageService','_injector','_hideTimer','DOC_RANGE_TYPE','svg','_initDependencies','isArray','triggerDblclick','_themeService','_drawTextRange','invokeId','Rect','ICommandService','handleInsertRangeMoveRight','runId','_docTransformIMECacheService','getUnitStatus$','APPLY_PERMISSION_DENIED','stringify','_collabCursorController','LICENSE_EXPORT_SIZE_EXCEEDED','saveOfflineData','0\x200\x2017\x2016','CollaborationUIEventId','replaceState','_drawAnchor','executionId','_status$','assignAColorForMemberID','IDocClipboardService','startColumn','arc','_hovered','InsertRowCommandId','_backgroundColor','collabStatus.notCollab','_heartbeatTimer','disposeWithMe','clearTimeout','mutations','jsxs','next','color','whenReady','_config','BrowserCollaborationSocketService','bottom','textRanges','range','_localStorageService','takeUntil','font','UniverCollaborationClientPlugin','min','RichTextEditingMutation','INVITE_CODE_HAS_BEEN_UES','CONNECTOR_DATA_TOO_LARGE','getSheetObject','SUBMIT_CHANGESET_TIMEOUT','saveTaskMap','_handleLeaveEvent','setInterval','_textBubble','_localeService','_scheduleSaving','resize','result','_handleJoinEvent','defs','_doCreateSocket','_startDocCollabCursor','UniverSheetsUi','univer-online-status','_cursorInfo$','save','_id','dispose$','AWAITING','_entityInit$','clearInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','useDependency','_removeCollabCursors','_configService','_colorIndex','_transformService','name','_ensureSubject','12682CcONwQ','clsx','delete','_initEvent','_updateCollabCursors','_memberService','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','onlineStatusTitle','LocaleService','getCurrent','CHANGESET_REVISION_CONFILICT','getStateCache','_initStatusComponent','_removeClearOtherTimer','black','width','CommandType','getOffsetConfig','search','univerjs-icon\x20univerjs-icon-','@univerjs/docs-ui','APPLY_DUPLICATED','Injector','defineProperty','tag','getRelativeToViewportCoord','UNIVER_SHEET','doc.mutation.rich-text-editing','_httpService','startRow','url(#$1','CONFLICT','#FFF'];_0x51bc=function(){return _0x46aa8b;};return _0x51bc();}function _0x49b0(_0x45306f,_0x31b09b){const _0x51bcb9=_0x51bc();return _0x49b0=function(_0x49b007,_0x3b2a8a){_0x49b007=_0x49b007-0xd9;let _0x407041=_0x51bcb9[_0x49b007];return _0x407041;},_0x49b0(_0x45306f,_0x31b09b);}(function(_0xb4367b,_0x349a11){const _0x536ac9=_0x49b0,_0x4e403e=_0xb4367b();while(!![]){try{const _0x305b6b=parseInt(_0x536ac9(0x240))/0x1*(parseInt(_0x536ac9(0x1eb))/0x2)+-parseInt(_0x536ac9(0x269))/0x3+parseInt(_0x536ac9(0x268))/0x4+parseInt(_0x536ac9(0x11e))/0x5+-parseInt(_0x536ac9(0x105))/0x6*(parseInt(_0x536ac9(0x161))/0x7)+parseInt(_0x536ac9(0x2d9))/0x8+parseInt(_0x536ac9(0x308))/0x9*(parseInt(_0x536ac9(0x246))/0xa);if(_0x305b6b===_0x349a11)break;else _0x4e403e['push'](_0x4e403e['shift']());}catch(_0x1a6b8a){_0x4e403e['push'](_0x4e403e['shift']());}}}(_0x51bc,0x6fb65),function(_0x57c8fe,_0x1f0e0c){const _0x215b6f=_0x49b0;typeof exports==_0x215b6f(0x30f)&&typeof module<'u'?_0x1f0e0c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x215b6f(0x149)),require('@univerjs/network'),require(_0x215b6f(0x1ff)),require(_0x215b6f(0x261)),require('rxjs'),require(_0x215b6f(0x233)),require('@univerjs-pro/collaboration'),require(_0x215b6f(0x101)),require('@univerjs/sheets'),require(_0x215b6f(0x121)),require(_0x215b6f(0x24d)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x215b6f(0x2b2)),require(_0x215b6f(0x302)),require('@univerjs/rpc')):typeof define==_0x215b6f(0x136)&&define[_0x215b6f(0x174)]?define([_0x215b6f(0x12e),_0x215b6f(0x243),'@univerjs/core',_0x215b6f(0x149),_0x215b6f(0x32a),'@univerjs/docs-ui',_0x215b6f(0x261),_0x215b6f(0x14c),_0x215b6f(0x233),_0x215b6f(0x180),_0x215b6f(0x101),_0x215b6f(0x113),'rxjs/operators',_0x215b6f(0x24d),_0x215b6f(0x18d),_0x215b6f(0x145),_0x215b6f(0x2b2),'react',_0x215b6f(0x140)],_0x1f0e0c):(_0x57c8fe=typeof globalThis<'u'?globalThis:_0x57c8fe||self,_0x1f0e0c(_0x57c8fe['UniverProCollaborationClientUi']={},_0x57c8fe['UniverProCollaborationClient'],_0x57c8fe[_0x215b6f(0x250)],_0x57c8fe[_0x215b6f(0x183)],_0x57c8fe['UniverNetwork'],_0x57c8fe[_0x215b6f(0x21c)],_0x57c8fe[_0x215b6f(0x319)],_0x57c8fe['rxjs'],_0x57c8fe[_0x215b6f(0x106)],_0x57c8fe[_0x215b6f(0x306)],_0x57c8fe[_0x215b6f(0x2d2)],_0x57c8fe[_0x215b6f(0x344)],_0x57c8fe['rxjs'][_0x215b6f(0x216)],_0x57c8fe[_0x215b6f(0x1da)],_0x57c8fe[_0x215b6f(0x336)],_0x57c8fe[_0x215b6f(0x2a3)],_0x57c8fe[_0x215b6f(0x36b)],_0x57c8fe[_0x215b6f(0x336)],_0x57c8fe[_0x215b6f(0x162)]));}(this,function(_0x2e880c,_0x11d792,_0x4c5ef7,_0x51fe08,_0x4311da,_0x2dc0b6,_0x424949,_0xb9fcc,_0x41a194,_0x427844,_0x3fbfa0,_0x49b60a,_0xc6dbd5,_0x273bef,_0x5ae934,_0x7c8947,_0x274162,_0x9511a6,_0x20830e){'use strict';const _0x4466e8=_0x49b0;var _0x268f2e=Object[_0x4466e8(0x202)],_0x489943=(_0x2d832f,_0x304e8b,_0xa9265c)=>_0x304e8b in _0x2d832f?_0x268f2e(_0x2d832f,_0x304e8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa9265c}):_0x2d832f[_0x304e8b]=_0xa9265c,_0x43bbde=(_0x37920b,_0x120568,_0x4e8440)=>_0x489943(_0x37920b,typeof _0x120568!=_0x4466e8(0x173)?_0x120568+'':_0x120568,_0x4e8440),_0x41e064=Object[_0x4466e8(0x2f2)],_0x287b12=(_0x2ebe12,_0x1f2944,_0x158b07,_0x275f00)=>{const _0x5e8eca=_0x4466e8;for(var _0x33cd72=_0x275f00>0x1?void 0x0:_0x275f00?_0x41e064(_0x1f2944,_0x158b07):_0x1f2944,_0x15f5b5=_0x2ebe12[_0x5e8eca(0x157)]-0x1,_0x523d81;_0x15f5b5>=0x0;_0x15f5b5--)(_0x523d81=_0x2ebe12[_0x15f5b5])&&(_0x33cd72=_0x523d81(_0x33cd72)||_0x33cd72);return _0x33cd72;},_0x11b33a=(_0xb97ef6,_0x105a9b)=>(_0xd7dd00,_0x1790ec)=>_0x105a9b(_0xd7dd00,_0x1790ec,_0xb97ef6);let _0xf97443=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0x31776e,_0x5b0210){const _0x38cec3=_0x4466e8;super(),this['_docClipboardService']=_0x31776e,this['_imageIoService']=_0x5b0210,this[_0x38cec3(0xf1)]();}[_0x4466e8(0xf1)](){const _0x1974dc=_0x4466e8,_0x90b391=this;this[_0x1974dc(0x1b8)](this[_0x1974dc(0x2e0)]['addClipboardHook']({'onBeforePasteImage':async _0x491634=>{const _0xf20b62=_0x1974dc,_0x49686a=await _0x90b391[_0xf20b62(0x15c)][_0xf20b62(0x29b)](_0x491634);return _0x49686a?{'source':_0x49686a[_0xf20b62(0x155)],'imageSourceType':_0x49686a[_0xf20b62(0x2bb)]}:null;}}));}};_0xf97443=_0x287b12([_0x11b33a(0x0,_0x2dc0b6[_0x4466e8(0x1b0)]),_0x11b33a(0x1,_0x424949[_0x4466e8(0x367)])],_0xf97443);const _0x3f57db=[_0x4466e8(0x10a),_0x4466e8(0xf7),_0x4466e8(0x2bd),_0x4466e8(0x20f),'blue400',_0x4466e8(0x2b5)];class _0x378e26 extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(){const _0x3958f2=_0x4466e8;super(...arguments),_0x43bbde(this,_0x3958f2(0x256),new Map()),_0x43bbde(this,_0x3958f2(0x1e7),0x0);}[_0x4466e8(0x1af)](_0x93c3dc){const _0x35b0cb=_0x4466e8;if(this[_0x35b0cb(0x256)][_0x35b0cb(0x28e)](_0x93c3dc))return this[_0x35b0cb(0x256)][_0x35b0cb(0x214)](_0x93c3dc);const _0x351d30=_0x3f57db[this['_colorIndex']];return this[_0x35b0cb(0x1e7)]=(this['_colorIndex']+0x1)%_0x3f57db['length'],this[_0x35b0cb(0x256)]['set'](_0x93c3dc,_0x351d30),_0x351d30;}}function _0x26acc8(_0x5cf98f){const _0x11c109=_0x4466e8;let _0xced21e='';for(const _0x113df0 of _0x5cf98f){const {startOffset:_0x5b3bfb,endOffset:_0x52f23f,isActive:_0x6ae76f,rangeType:_0x307b63,segmentId:_0x3cd0da,segmentPage:_0x15c813}=_0x113df0;_0xced21e[_0x11c109(0x157)]&&(_0xced21e+=','),_0xced21e+=_0x5b3bfb+':'+_0x52f23f+':'+(_0x6ae76f?'1':'0')+':'+_0x307b63+':'+_0x3cd0da+':'+_0x15c813;}return _0xced21e;}function _0x35c2e2(_0x2ce667){const _0x1a6bd2=_0x4466e8,_0x22f86a=_0x2ce667[_0x1a6bd2(0xe0)](','),_0x5a0463=[];for(const _0x5db3e6 of _0x22f86a){const [_0x1daa92,_0xad2ab1,_0x4cb6b0,_0x49a137,_0x5c07cf,_0xabe0bd]=_0x5db3e6['split'](':');_0x5a0463['push']({'startOffset':Number(_0x1daa92),'endOffset':Number(_0xad2ab1),'collapsed':_0x1daa92===_0xad2ab1,'isActive':_0x4cb6b0==='1','rangeType':_0x49a137===_0x4c5ef7[_0x1a6bd2(0x196)]['TEXT']?_0x4c5ef7[_0x1a6bd2(0x196)]['TEXT']:_0x4c5ef7[_0x1a6bd2(0x196)][_0x1a6bd2(0x2b7)],'segmentId':typeof _0x5c07cf==_0x1a6bd2(0x2be)?String(_0x5c07cf):'','segmentPage':Number(_0xabe0bd!=null?_0xabe0bd:-0x1)});}return _0x5a0463[_0x1a6bd2(0x129)](_0x396da0=>_0x396da0[_0x1a6bd2(0xe7)])||(_0x5a0463[0x0][_0x1a6bd2(0xe7)]=!0x0),_0x5a0463;}class _0xacfa1d extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(){const _0x2ce4dd=_0x4466e8;super(...arguments),_0x43bbde(this,_0x2ce4dd(0x296),new _0xb9fcc['BehaviorSubject'](null)),_0x43bbde(this,_0x2ce4dd(0x12a),this[_0x2ce4dd(0x296)][_0x2ce4dd(0x13f)]());}['syncEditingCollabCursor'](_0xd30a64){const _0x25f015=_0x4466e8,{unitID:_0x365060,memberID:_0x1248c2,textRanges:_0x1e0365}=_0xd30a64,_0x232715=_0x26acc8(_0x1e0365);if(_0x232715==='')return;const _0x271087={'unitID':_0x365060,'memberID':_0x1248c2,'selection':_0x232715};this['_collabCursorState$'][_0x25f015(0x1bc)](_0x271087);}}var _0x74cae6=Object['getOwnPropertyDescriptor'],_0x3700bd=(_0x22cb90,_0x202dc1,_0x3ca58c,_0x3b81ea)=>{const _0x5c4432=_0x4466e8;for(var _0x83be71=_0x3b81ea>0x1?void 0x0:_0x3b81ea?_0x74cae6(_0x202dc1,_0x3ca58c):_0x202dc1,_0x224888=_0x22cb90[_0x5c4432(0x157)]-0x1,_0x3ed65c;_0x224888>=0x0;_0x224888--)(_0x3ed65c=_0x22cb90[_0x224888])&&(_0x83be71=_0x3ed65c(_0x83be71)||_0x83be71);return _0x83be71;},_0x320786=(_0x506c5d,_0x4de9df)=>(_0x168444,_0x371a4a)=>_0x4de9df(_0x168444,_0x371a4a,_0x506c5d);const _0x26502c=0x12c,_0x39550b=0x64;let _0x33c98d=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0x3e101c,_0x17a1e9,_0x3bb678,_0x1cb95c,_0x51a7db,_0x5ebc8e,_0x429f8d,_0x5a05f3,_0x319eda){const _0x5695cf=_0x4466e8;super(),_0x43bbde(this,_0x5695cf(0x2c2),!0x1),_0x43bbde(this,_0x5695cf(0xf1),!0x1),_0x43bbde(this,_0x5695cf(0x1dc),new _0xb9fcc[(_0x5695cf(0x13e))](new Map())),_0x43bbde(this,_0x5695cf(0x177),this['_cursorInfo$']['asObservable']()),_0x43bbde(this,'_roomMembers$',new _0xb9fcc[(_0x5695cf(0x13e))]([])),_0x43bbde(this,_0x5695cf(0x29c),this[_0x5695cf(0x139)][_0x5695cf(0x13d)](_0xb9fcc[_0x5695cf(0x376)](_0x26502c))),_0x43bbde(this,_0x5695cf(0x2c8),_0x4c5ef7['debounce'](_0x396812=>{const _0x21ec1d=_0x5695cf,_0x82d41a={'eventID':_0x427844[_0x21ec1d(0x13a)][_0x21ec1d(0x34f)],'data':{'unitID':this[_0x21ec1d(0x27a)],'memberID':this[_0x21ec1d(0x286)][_0x21ec1d(0x2e3)](),'selection':_0x26acc8(_0x396812)}};this[_0x21ec1d(0x286)][_0x21ec1d(0x221)](_0x82d41a,this['unitID']);},_0x39550b)),(this[_0x5695cf(0x27a)]=_0x3e101c,this[_0x5695cf(0x286)]=_0x17a1e9,this[_0x5695cf(0x194)]=_0x3bb678,this[_0x5695cf(0x298)]=_0x1cb95c,this[_0x5695cf(0x1f0)]=_0x51a7db,this[_0x5695cf(0x2a0)]=_0x5ebc8e,this['_transformService']=_0x429f8d,this[_0x5695cf(0x150)]=_0x5a05f3,this[_0x5695cf(0x2f0)]=_0x319eda);}get[_0x4466e8(0x2ca)](){const _0x41946c=_0x4466e8;return this['_cursorInfo$'][_0x41946c(0x2d5)]();}get[_0x4466e8(0x132)](){const _0x5aae6e=_0x4466e8;return this[_0x5aae6e(0x139)][_0x5aae6e(0x2d5)]();}[_0x4466e8(0x13b)](){const _0x51da86=_0x4466e8;super[_0x51da86(0x13b)](),this[_0x51da86(0x1dc)]['next'](new Map()),this[_0x51da86(0x1dc)][_0x51da86(0x2fa)](),this[_0x51da86(0x139)]['next']([]),this[_0x51da86(0x139)][_0x51da86(0x2fa)]();}[_0x4466e8(0x288)](){const _0x3a2d68=_0x4466e8;this['_init']||(this[_0x3a2d68(0xf1)]=!0x0,this[_0x3a2d68(0x286)]['sessionStatus$'][_0x3a2d68(0x13d)](_0xb9fcc['takeUntil'](this[_0x3a2d68(0x1df)]))[_0x3a2d68(0x26c)](_0x339113=>{const _0x36f7cf=_0x3a2d68;_0x339113===_0x11d792[_0x36f7cf(0x27b)][_0x36f7cf(0x141)]?this[_0x36f7cf(0x353)]():this['_toggleOffline']();}),this[_0x3a2d68(0x286)][_0x3a2d68(0x332)][_0x3a2d68(0x13d)](_0xb9fcc[_0x3a2d68(0x1c5)](this[_0x3a2d68(0x1df)]))['subscribe'](_0x38d491=>{const _0x28f623=_0x3a2d68,_0x49defe=_0x38d491[_0x28f623(0x25f)];_0x49defe===_0x427844[_0x28f623(0x13a)][_0x28f623(0x34f)]&&this['_onCursorUpdate'](_0x38d491),_0x49defe===_0x427844['CollaborationEvent']['USERS_LEAVE']&&this[_0x28f623(0x182)](_0x38d491);}),this[_0x3a2d68(0x1b8)](this['_commandService']['onCommandExecuted'](_0x2ed8b7=>{const _0x56ad07=_0x3a2d68,_0x5ec289=_0x2ed8b7[_0x56ad07(0x171)];_0x5ec289!=null&&this[_0x56ad07(0x2c2)]&&_0x2ed8b7['id']===_0x41a194[_0x56ad07(0x28c)]['id']&&_0x5ec289[_0x56ad07(0x117)]===this[_0x56ad07(0x27a)]&&_0x5ec289[_0x56ad07(0x160)]===!0x1&&_0x5ec289[_0x56ad07(0x284)][_0x56ad07(0x157)]>0x0&&this[_0x56ad07(0x2c8)](_0x5ec289['ranges']);})),this[_0x3a2d68(0x2a0)]['collabCursorState$'][_0x3a2d68(0x13d)](_0xb9fcc[_0x3a2d68(0x1c5)](this[_0x3a2d68(0x1df)]))[_0x3a2d68(0x26c)](_0x44f330=>{const _0xd877bd=_0x3a2d68;if((_0x44f330==null?void 0x0:_0x44f330['unitID'])!==this[_0xd877bd(0x27a)])return;const _0xd5c66e={'eventID':_0x427844[_0xd877bd(0x13a)]['UPDATE_CURSOR'],'data':_0x44f330};this['_onCursorUpdate'](_0xd5c66e);}),this[_0x3a2d68(0x1b8)](this['_commandService'][_0x3a2d68(0x111)](_0x23cfe5=>{const _0x16a283=_0x3a2d68;if(_0x23cfe5[_0x16a283(0x171)]==null)return;const _0x10cc52=_0x23cfe5[_0x16a283(0x171)];if(_0x23cfe5['id']!==_0x41a194[_0x16a283(0x1c9)]['id']||_0x10cc52[_0x16a283(0x117)]!==this[_0x16a283(0x27a)])return;const _0x5d1e9e={'id':_0x16a283(0x206),'params':_0x10cc52},_0x50cb2a=this[_0x16a283(0x2ca)];for(const [_0x2dc57e,_0x4cc2b3]of _0x50cb2a){const _0x2075da={'id':_0x16a283(0x206),'params':{'unitId':this[_0x16a283(0x27a)],'actions':null,'textRanges':_0x4cc2b3[_0x16a283(0x284)]}},_0x1ce5cf=this[_0x16a283(0x1e8)][_0x16a283(0x267)](_0x5d1e9e,_0x2075da,!0x1);if(_0x427844['isTransformMutationFailure'](_0x1ce5cf))throw _0x1ce5cf[_0x16a283(0x2bf)];_0x50cb2a[_0x16a283(0x172)](_0x2dc57e,{..._0x4cc2b3,'ranges':_0x1ce5cf[_0x16a283(0x27e)][_0x16a283(0x171)][_0x16a283(0x1c2)]});}queueMicrotask(()=>{const _0x56f6e5=_0x16a283;this['_cursorInfo$'][_0x56f6e5(0x1bc)](_0x50cb2a);});})));}[_0x4466e8(0x179)](_0x436b19){const _0x4bc647=_0x4466e8;var _0x136030,_0x24be2a;const {memberID:_0x30f7b5,selection:_0x113340}=_0x436b19['data'],_0x15b2c2=_0x35c2e2(_0x113340),_0xb4e13d=(_0x24be2a=(_0x136030=this[_0x4bc647(0x1f0)]['getMember'](this[_0x4bc647(0x27a)],_0x30f7b5))==null?void 0x0:_0x136030['name'])!=null?_0x24be2a:_0x4bc647(0x357),_0x4bd410={'color':this[_0x4bc647(0x298)][_0x4bc647(0x1af)](_0x30f7b5),'name':_0xb4e13d,'ranges':_0x15b2c2},_0x705f17=this[_0x4bc647(0x2ca)];_0x705f17[_0x4bc647(0x172)](_0x30f7b5,_0x4bd410),this[_0x4bc647(0x1dc)][_0x4bc647(0x1bc)](_0x705f17);}['_onCursorDelete'](_0x3dcc35){const _0x304d0c=_0x4466e8,{memberID:_0xc22c8e}=_0x3dcc35[_0x304d0c(0x2b0)],_0x4097a3=this[_0x304d0c(0x2ca)];_0x4097a3[_0x304d0c(0x1ed)](_0xc22c8e),this[_0x304d0c(0x1dc)][_0x304d0c(0x1bc)](_0x4097a3);}[_0x4466e8(0x353)](){const _0x5dd6ac=_0x4466e8;var _0x480fff;if(this[_0x5dd6ac(0x2c2)]=!0x0,((_0x480fff=this[_0x5dd6ac(0x150)][_0x5dd6ac(0x279)]())==null?void 0x0:_0x480fff[_0x5dd6ac(0x31f)]())!==this[_0x5dd6ac(0x27a)])return;const _0x34aaeb=this['_injector'][_0x5dd6ac(0x214)](_0x41a194[_0x5dd6ac(0x338)])[_0x5dd6ac(0x170)]();Array[_0x5dd6ac(0x199)](_0x34aaeb)&&_0x34aaeb[_0x5dd6ac(0x157)]>0x0&&this[_0x5dd6ac(0x2c8)](_0x34aaeb);}[_0x4466e8(0x354)](){const _0x522708=_0x4466e8;this[_0x522708(0x2c2)]=!0x1;}};_0x33c98d=_0x3700bd([_0x320786(0x2,_0x4c5ef7['Inject'](_0x4c5ef7[_0x4466e8(0x201)])),_0x320786(0x3,_0x4c5ef7[_0x4466e8(0x17c)](_0x378e26)),_0x320786(0x4,_0x4c5ef7[_0x4466e8(0x17c)](_0x11d792[_0x4466e8(0xff)])),_0x320786(0x5,_0x4c5ef7[_0x4466e8(0x17c)](_0xacfa1d)),_0x320786(0x6,_0x427844[_0x4466e8(0x234)]),_0x320786(0x7,_0x4c5ef7[_0x4466e8(0x31e)]),_0x320786(0x8,_0x4c5ef7[_0x4466e8(0x19f)])],_0x33c98d);var _0x174bfc=Object[_0x4466e8(0x2f2)],_0x41c4d2=(_0x4cfbec,_0x44ce71,_0x1f1de9,_0x35e674)=>{const _0x3c87fc=_0x4466e8;for(var _0x3a88c2=_0x35e674>0x1?void 0x0:_0x35e674?_0x174bfc(_0x44ce71,_0x1f1de9):_0x44ce71,_0x38c6b7=_0x4cfbec[_0x3c87fc(0x157)]-0x1,_0x3dea57;_0x38c6b7>=0x0;_0x38c6b7--)(_0x3dea57=_0x4cfbec[_0x38c6b7])&&(_0x3a88c2=_0x3dea57(_0x3a88c2)||_0x3a88c2);return _0x3a88c2;},_0x2a1c9c=(_0x4e6a0d,_0x320e29)=>(_0x29e431,_0x2439ba)=>_0x320e29(_0x29e431,_0x2439ba,_0x4e6a0d);const _0xe09b33=0x12c,_0x36fbf2=0x64,_0x42215a=()=>{let _0x16643a=[],_0x39a2db=!0x1;return _0x5af7ec=>{_0x16643a['push'](_0x5af7ec),_0x39a2db||(_0x39a2db=!0x0,setTimeout(()=>{_0x16643a['forEach'](_0x385d0d=>_0x385d0d()),_0x16643a=[],_0x39a2db=!0x1;}));};};let _0x56fa35=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0x2c4428,_0x52cfd1,_0x37cf35,_0x1aebbb,_0x31c63f,_0xfb42b0,_0x3b02df,_0x237418){const _0x402edc=_0x4466e8;super(),_0x43bbde(this,_0x402edc(0x2c2),!0x1),_0x43bbde(this,_0x402edc(0xf1),!0x1),_0x43bbde(this,'_cursorInfo$',new _0xb9fcc['BehaviorSubject'](new Map())),_0x43bbde(this,_0x402edc(0x177),this[_0x402edc(0x1dc)]['asObservable']()),_0x43bbde(this,'_roomMembers$',new _0xb9fcc[(_0x402edc(0x13e))]([])),_0x43bbde(this,_0x402edc(0x29c),this[_0x402edc(0x139)][_0x402edc(0x13d)](_0xb9fcc[_0x402edc(0x376)](_0xe09b33))),_0x43bbde(this,_0x402edc(0x2c8),_0x4c5ef7[_0x402edc(0x235)]((_0x33f1ce,_0x2212a5)=>{const _0x1ad7aa=_0x402edc,_0x41549b={'eventID':_0x427844[_0x1ad7aa(0x13a)][_0x1ad7aa(0x34f)],'data':{'unitID':this[_0x1ad7aa(0x27a)],'memberID':this[_0x1ad7aa(0x286)][_0x1ad7aa(0x2e3)](),'selection':_0x3fbfa0['serializeRangeWithSheet'](_0x33f1ce,_0x2212a5[_0x1ad7aa(0x1c3)])}};this[_0x1ad7aa(0x286)][_0x1ad7aa(0x221)](_0x41549b,this[_0x1ad7aa(0x27a)]);},_0x36fbf2)),(this[_0x402edc(0x27a)]=_0x2c4428,this['_session']=_0x52cfd1,this['_injector']=_0x37cf35,this[_0x402edc(0x298)]=_0x1aebbb,this[_0x402edc(0x1f0)]=_0x31c63f,this[_0x402edc(0x150)]=_0xfb42b0,this[_0x402edc(0x2f0)]=_0x3b02df,this[_0x402edc(0x294)]=_0x237418);}get[_0x4466e8(0x2ca)](){const _0x3a1cf7=_0x4466e8;return this[_0x3a1cf7(0x1dc)]['getValue']();}get[_0x4466e8(0x132)](){const _0x40e233=_0x4466e8;return this[_0x40e233(0x139)][_0x40e233(0x2d5)]();}[_0x4466e8(0x13b)](){const _0x2170c8=_0x4466e8;super['dispose'](),this[_0x2170c8(0x1dc)]['next'](new Map()),this[_0x2170c8(0x1dc)][_0x2170c8(0x2fa)](),this[_0x2170c8(0x139)]['next']([]),this[_0x2170c8(0x139)]['complete']();}['init'](){const _0x3aceb3=_0x4466e8;this['_init']||(this['_init']=!0x0,this[_0x3aceb3(0x286)][_0x3aceb3(0x262)][_0x3aceb3(0x13d)](_0xb9fcc[_0x3aceb3(0x1c5)](this[_0x3aceb3(0x1df)]))[_0x3aceb3(0x26c)](_0xc6f166=>{const _0x750e9=_0x3aceb3;_0xc6f166===_0x11d792[_0x750e9(0x27b)][_0x750e9(0x141)]?this[_0x750e9(0x353)]():this['_toggleOffline']();}),this[_0x3aceb3(0x286)][_0x3aceb3(0x332)]['pipe'](_0xb9fcc[_0x3aceb3(0x1c5)](this[_0x3aceb3(0x1df)]))[_0x3aceb3(0x26c)](_0x83aa4d=>{const _0x216e6a=_0x3aceb3,_0xae56e2=_0x83aa4d[_0x216e6a(0x25f)];_0xae56e2===_0x427844[_0x216e6a(0x13a)][_0x216e6a(0x34f)]&&this[_0x216e6a(0x179)](_0x83aa4d),_0xae56e2===_0x427844[_0x216e6a(0x13a)][_0x216e6a(0x30a)]&&this[_0x216e6a(0x182)](_0x83aa4d);}),this[_0x3aceb3(0x2f4)](),this[_0x3aceb3(0x1b8)](this[_0x3aceb3(0x2f0)][_0x3aceb3(0x111)](_0x4b21e3=>{const _0x5b4237=_0x3aceb3;if(this[_0x5b4237(0x2c2)]&&_0x4b21e3['id']===_0x49b60a[_0x5b4237(0x227)]['id']&&_0x4b21e3[_0x5b4237(0x171)]['unitId']===this[_0x5b4237(0x27a)]){const _0x25127a=_0x4b21e3[_0x5b4237(0x171)];this[_0x5b4237(0x2c8)](_0x25127a['subUnitId'],_0x25127a[_0x5b4237(0x16c)][0x0]);}})));}['_onCursorUpdate'](_0x130bf9){const _0x351a7a=_0x4466e8;var _0x2e2247,_0x5e10c7;const {memberID:_0x55d47c,selection:_0x40ee8a}=_0x130bf9[_0x351a7a(0x2b0)],{sheetName:_0x451f17,range:_0xcb59be}=_0x3fbfa0['deserializeRangeWithSheet'](_0x40ee8a),_0x4309a9={'name':(_0x5e10c7=(_0x2e2247=this[_0x351a7a(0x1f0)][_0x351a7a(0x23c)](this[_0x351a7a(0x27a)],_0x55d47c))==null?void 0x0:_0x2e2247[_0x351a7a(0x1e9)])!=null?_0x5e10c7:_0x351a7a(0x357),'range':this[_0x351a7a(0x36f)](_0x451f17,_0xcb59be),'sheetID':_0x451f17,'color':this[_0x351a7a(0x298)][_0x351a7a(0x1af)](_0x55d47c),'selection':_0x40ee8a},_0x3c71bb=this[_0x351a7a(0x2ca)];_0x3c71bb[_0x351a7a(0x172)](_0x55d47c,_0x4309a9),this['_cursorInfo$'][_0x351a7a(0x1bc)](_0x3c71bb);}[_0x4466e8(0x182)](_0x6bbe2e){const _0x536520=_0x4466e8,{memberID:_0x49f148}=_0x6bbe2e[_0x536520(0x2b0)],_0x4b0345=this['cursorInfo'];_0x4b0345[_0x536520(0x1ed)](_0x49f148),this[_0x536520(0x1dc)]['next'](_0x4b0345);}[_0x4466e8(0x36f)](_0x15d766,_0x288060){const _0x267f3b=_0x4466e8;var _0x12251d,_0x1cacd4;const _0x23e670=(_0x1cacd4=(_0x12251d=this[_0x267f3b(0x150)]['getUniverSheetInstance'](this[_0x267f3b(0x27a)]))==null?void 0x0:_0x12251d[_0x267f3b(0x290)](_0x15d766))==null?void 0x0:_0x1cacd4['getMergeData']();return(_0x23e670==null?void 0x0:_0x23e670['find'](_0x18a638=>_0x4c5ef7[_0x267f3b(0xec)]['contains'](_0x18a638,_0x288060)))||_0x288060;}[_0x4466e8(0x2f4)](){const _0x2d9a0d=_0x4466e8,_0x79ea5c=new _0x4c5ef7['DisposableCollection'](),_0x1bb359=_0x42215a(),_0x18206b=()=>{const _0x8bf2ad=_0x49b0;_0x79ea5c[_0x8bf2ad(0x13b)]();const _0x384582=(_0xd45b90,_0x4cd8e2,_0x1315c9,_0x349b5c)=>{const _0x238c51=_0x8bf2ad;let _0x2da184=[];switch(_0xd45b90['id']){case _0x49b60a[_0x238c51(0x21f)]['DeleteRangeMoveLeftCommandId']:{_0x2da184=_0x49b60a[_0x238c51(0x2ab)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)]['DeleteRangeMoveUpCommandId']:{_0x2da184=_0x49b60a[_0x238c51(0x2fc)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)][_0x238c51(0x2aa)]:{_0x2da184=_0x49b60a[_0x238c51(0x254)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)][_0x238c51(0x2ce)]:{_0x2da184=_0x49b60a['handleInsertRangeMoveDown'](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)][_0x238c51(0x23d)]:{_0x2da184=_0x49b60a[_0x238c51(0x1a0)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)][_0x238c51(0x1b4)]:{_0x2da184=_0x49b60a[_0x238c51(0x22f)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)][_0x238c51(0x35d)]:{_0x2da184=_0x49b60a[_0x238c51(0x108)](_0xd45b90,_0x349b5c);break;}case _0x49b60a['EffectRefRangId']['RemoveColCommandId']:{_0x2da184=_0x49b60a[_0x238c51(0x379)](_0xd45b90,_0x349b5c);break;}case _0x49b60a[_0x238c51(0x21f)]['RemoveRowCommandId']:{_0x2da184=_0x49b60a[_0x238c51(0x2f8)](_0xd45b90,_0x349b5c);break;}}const _0x33f769=_0x49b60a[_0x238c51(0x2b3)](_0x2da184,_0x349b5c),_0x175341=this['cursorInfo'][_0x238c51(0x214)](_0x4cd8e2);if(_0x175341&&_0x33f769){const _0xd5b672={..._0x175341,'range':_0x33f769};this[_0x238c51(0x2ca)][_0x238c51(0x172)](_0x4cd8e2,_0xd5b672),_0x1bb359(()=>{const _0x378b56=_0x238c51,_0x1365e7=this['_refRangeService']['registerRefRange'](_0x33f769,_0x382536=>(_0x1365e7[_0x378b56(0x13b)](),_0x384582(_0x382536,_0x4cd8e2,_0x1315c9,_0x33f769)));_0x79ea5c[_0x378b56(0x17e)](_0x1365e7);});}return{'redos':[],'undos':[]};};this[_0x8bf2ad(0x2ca)]['forEach']((_0x4973c2,_0x4ed889)=>{const _0x1a8ee0=_0x8bf2ad,{range:_0x478fc9,sheetID:_0x24cc88}=_0x4973c2,_0x3728e8=this[_0x1a8ee0(0x294)][_0x1a8ee0(0x2d1)](_0x478fc9,_0x4efafb=>(_0x3728e8['dispose'](),_0x384582(_0x4efafb,_0x4ed889,_0x24cc88,_0x478fc9)));_0x79ea5c[_0x1a8ee0(0x17e)](_0x3728e8);});};this[_0x2d9a0d(0x1b8)](_0x4c5ef7[_0x2d9a0d(0x352)](this['_cursorInfo$'][_0x2d9a0d(0x26c)](()=>{_0x18206b();})));}[_0x4466e8(0x353)](){const _0x2aa78e=_0x4466e8;var _0x9b6736,_0x9fb8d7;if(this[_0x2aa78e(0x2c2)]=!0x0,((_0x9b6736=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x9b6736[_0x2aa78e(0x31f)]())!==this[_0x2aa78e(0x27a)])return;const _0x308661=(_0x9fb8d7=this[_0x2aa78e(0x194)][_0x2aa78e(0x214)](_0x49b60a[_0x2aa78e(0x328)])['getCurrentSelections']())==null?void 0x0:_0x9fb8d7[0x0],_0x14e296=this[_0x2aa78e(0x150)][_0x2aa78e(0x14f)](_0x4c5ef7['UniverInstanceType'][_0x2aa78e(0x205)])[_0x2aa78e(0x364)]();_0x308661&&_0x14e296&&this[_0x2aa78e(0x2c8)](_0x14e296[_0x2aa78e(0x315)](),_0x308661);}[_0x4466e8(0x354)](){const _0x59f0d3=_0x4466e8;this[_0x59f0d3(0x2c2)]=!0x1;}};_0x56fa35=_0x41c4d2([_0x2a1c9c(0x2,_0x4c5ef7['Inject'](_0x4c5ef7[_0x4466e8(0x201)])),_0x2a1c9c(0x3,_0x4c5ef7[_0x4466e8(0x17c)](_0x378e26)),_0x2a1c9c(0x4,_0x4c5ef7['Inject'](_0x11d792[_0x4466e8(0xff)])),_0x2a1c9c(0x5,_0x4c5ef7[_0x4466e8(0x31e)]),_0x2a1c9c(0x6,_0x4c5ef7['ICommandService']),_0x2a1c9c(0x7,_0x4c5ef7[_0x4466e8(0x17c)](_0x49b60a['RefRangeService']))],_0x56fa35);var _0x1cc92c=Object[_0x4466e8(0x2f2)],_0x594790=(_0x2fd69e,_0x2713ba,_0x590784,_0x18d9e1)=>{for(var _0x2d73fa=_0x18d9e1>0x1?void 0x0:_0x18d9e1?_0x1cc92c(_0x2713ba,_0x590784):_0x2713ba,_0x53957d=_0x2fd69e['length']-0x1,_0x50bae2;_0x53957d>=0x0;_0x53957d--)(_0x50bae2=_0x2fd69e[_0x53957d])&&(_0x2d73fa=_0x50bae2(_0x2d73fa)||_0x2d73fa);return _0x2d73fa;},_0x534c9c=(_0x245265,_0x586855)=>(_0x482ed3,_0x588a2d)=>_0x586855(_0x482ed3,_0x588a2d,_0x245265);let _0x50cdf2=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0x3e913e,_0x81261a,_0x45fbeb){const _0x26f7e3=_0x4466e8;super(),_0x43bbde(this,_0x26f7e3(0x36a),new Map()),_0x43bbde(this,'_entityInit$',new _0xb9fcc['Subject']()),(this[_0x26f7e3(0x150)]=_0x3e913e,this[_0x26f7e3(0x194)]=_0x81261a,this['_collabSessionService']=_0x45fbeb,this[_0x26f7e3(0xf1)]());}[_0x4466e8(0x13b)](){const _0x1ebdf6=_0x4466e8;super[_0x1ebdf6(0x13b)](),this[_0x1ebdf6(0x1e1)]['complete'](),this[_0x1ebdf6(0x36a)][_0x1ebdf6(0x2ad)](_0x307add=>_0x307add[_0x1ebdf6(0x13b)]());}[_0x4466e8(0x22a)](_0x42b01){const _0x43b484=_0x4466e8;return this['_entities'][_0x43b484(0x28e)](_0x42b01)?this['_entities'][_0x43b484(0x214)](_0x42b01)[_0x43b484(0x177)]:this[_0x43b484(0x1e1)]['pipe'](_0xb9fcc[_0x43b484(0x34a)](_0x20f1a1=>_0x20f1a1[_0x43b484(0x27a)]===_0x42b01),_0xb9fcc['switchMap'](_0x4a44d5=>_0x4a44d5[_0x43b484(0x177)]));}[_0x4466e8(0xf1)](){const _0x47cd60=_0x4466e8;this[_0x47cd60(0x150)]['getTypeOfUnitAdded$'](_0x4c5ef7[_0x47cd60(0x2b1)]['UNIVER_SHEET'])['pipe'](_0xb9fcc[_0x47cd60(0x1c5)](this['dispose$']))[_0x47cd60(0x26c)](async _0x154fea=>{const _0x3b8467=_0x47cd60,_0xba7162=_0x154fea[_0x3b8467(0x31f)](),_0x3043f9=await this['_startSheetCollabCursor'](_0xba7162);this[_0x3b8467(0x1e1)][_0x3b8467(0x1bc)](_0x3043f9),this[_0x3b8467(0x36a)][_0x3b8467(0x172)](_0xba7162,_0x3043f9);}),this['_univerInstanceService'][_0x47cd60(0x100)](_0x4c5ef7[_0x47cd60(0x2b1)]['UNIVER_DOC'])['pipe'](_0xb9fcc[_0x47cd60(0x1c5)](this[_0x47cd60(0x1df)]))[_0x47cd60(0x13d)](_0xb9fcc[_0x47cd60(0x34a)](_0x5416cf=>!_0x5416cf['getUnitId']()['startsWith']('__')))[_0x47cd60(0x26c)](async _0x55c13b=>{const _0x2dc3cc=_0x47cd60,_0x326c8c=_0x55c13b['getUnitId'](),_0x4df828=await this[_0x2dc3cc(0x1d9)](_0x326c8c);this[_0x2dc3cc(0x1e1)][_0x2dc3cc(0x1bc)](_0x4df828),this['_entities'][_0x2dc3cc(0x172)](_0x326c8c,_0x4df828);}),_0xb9fcc[_0x47cd60(0x2e5)](this['_univerInstanceService'][_0x47cd60(0x366)](_0x4c5ef7[_0x47cd60(0x2b1)][_0x47cd60(0x11b)]),this[_0x47cd60(0x150)][_0x47cd60(0x366)](_0x4c5ef7[_0x47cd60(0x2b1)][_0x47cd60(0x205)]))['pipe'](_0xb9fcc['takeUntil'](this[_0x47cd60(0x1df)]))[_0x47cd60(0x26c)](_0x135bda=>{const _0x807897=_0x47cd60,_0x59d4e4=_0x135bda['getUnitId'](),_0x1d87a3=this[_0x807897(0x36a)][_0x807897(0x214)](_0x59d4e4);_0x1d87a3&&(_0x1d87a3[_0x807897(0x13b)](),this[_0x807897(0x36a)][_0x807897(0x1ed)](_0x59d4e4));});}async[_0x4466e8(0x169)](_0x43f2a3){const _0x1e1554=_0x4466e8,_0x412a91=await this[_0x1e1554(0x27c)][_0x1e1554(0x2d6)](_0x43f2a3),_0xdc2f88=this['_injector'][_0x1e1554(0x124)](_0x56fa35,_0x43f2a3,_0x412a91);return _0xdc2f88[_0x1e1554(0x288)](),_0xdc2f88;}async[_0x4466e8(0x1d9)](_0x16a047){const _0x31c291=_0x4466e8,_0x870238=await this[_0x31c291(0x27c)][_0x31c291(0x2d6)](_0x16a047),_0x516868=this[_0x31c291(0x194)][_0x31c291(0x124)](_0x33c98d,_0x16a047,_0x870238);return _0x516868[_0x31c291(0x288)](),_0x516868;}};_0x50cdf2=_0x594790([_0x534c9c(0x0,_0x4c5ef7[_0x4466e8(0x31e)]),_0x534c9c(0x1,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x201)])),_0x534c9c(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x11d792['CollaborationSessionService']))],_0x50cdf2);const _0x370a19=0x14,_0x3acad9=0xc8,_0x13251c=0x4,_0x31cb1e=0x5;function _0xe97925(_0x452d41,_0xb2dae7){const _0x8f25ca=_0x4466e8;let {radius:_0x2163ba,width:_0x25c48c,height:_0x3b9f83}=_0xb2dae7;_0x2163ba=_0x2163ba!=null?_0x2163ba:0x0,_0x25c48c=_0x25c48c!=null?_0x25c48c:0x1e,_0x3b9f83=_0x3b9f83!=null?_0x3b9f83:0x1e;let _0x5d494e=0x0,_0x5db249=0x0,_0x4457a1=0x0;_0x5d494e=_0x5db249=_0x4457a1=Math['min'](_0x2163ba,_0x25c48c/0x2,_0x3b9f83/0x2),_0x452d41[_0x8f25ca(0x2c1)](),_0x452d41[_0x8f25ca(0x303)](_0x5d494e,0x0),_0x452d41[_0x8f25ca(0x275)](_0x25c48c-_0x5db249,0x0),_0x452d41[_0x8f25ca(0x1b2)](_0x25c48c-_0x5db249,_0x5db249,_0x5db249,Math['PI']*0x3/0x2,0x0,!0x1),_0x452d41['lineTo'](_0x25c48c,_0x3b9f83-_0x4457a1),_0x452d41[_0x8f25ca(0x1b2)](_0x25c48c-_0x4457a1,_0x3b9f83-_0x4457a1,_0x4457a1,0x0,Math['PI']/0x2,!0x1),_0x452d41['lineTo'](0x0,_0x3b9f83),_0x452d41['lineTo'](0x0,_0x5d494e),_0x452d41[_0x8f25ca(0x1b2)](_0x5d494e,_0x5d494e,_0x5d494e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x452d41[_0x8f25ca(0x20c)](),_0xb2dae7[_0x8f25ca(0x2c3)]&&(_0x452d41[_0x8f25ca(0x1dd)](),_0x452d41['fillStyle']=_0xb2dae7[_0x8f25ca(0x2c3)],_0xb2dae7[_0x8f25ca(0x358)]===_0x8f25ca(0x10c)?_0x452d41['fill'](_0x8f25ca(0x10c)):_0x452d41['fill'](),_0x452d41[_0x8f25ca(0x305)]());}class _0x384947 extends _0x51fe08['Shape']{constructor(_0x50b4db,_0x25e70a){const _0x6f4b1a=_0x4466e8;super(_0x50b4db,_0x25e70a),_0x43bbde(this,_0x6f4b1a(0x1bd)),_0x43bbde(this,_0x6f4b1a(0xe3)),(this[_0x6f4b1a(0x1bd)]=_0x25e70a==null?void 0x0:_0x25e70a[_0x6f4b1a(0x1bd)],this[_0x6f4b1a(0xe3)]=_0x25e70a==null?void 0x0:_0x25e70a[_0x6f4b1a(0xe3)]);}static[_0x4466e8(0x159)](_0x341e37,_0x25bb15){const _0x3c94f8=_0x4466e8,{text:_0x307f1c,color:_0x1b727e}=_0x25bb15;_0x341e37[_0x3c94f8(0x1dd)](),_0x341e37[_0x3c94f8(0x1c6)]=_0x3c94f8(0x2f6);const _0x4f9d6e=_0x341e37['measureText'](_0x307f1c)[_0x3c94f8(0x1fa)],_0x5de429=Math[_0x3c94f8(0x1c8)](_0x4f9d6e+0x2*_0x13251c,_0x3acad9);_0xe97925(_0x341e37,{'height':_0x370a19,'radius':0x4,'width':_0x5de429,'fill':_0x1b727e}),_0x341e37[_0x3c94f8(0xf6)]=_0x3c94f8(0x20b);const _0x178d5c=_0x13251c,_0x135381=_0x370a19-_0x31cb1e,_0x1f0627=_0x3acad9-0x2*_0x13251c;if(_0x4f9d6e>_0x1f0627){let _0x20b591='',_0x3ececf=0x0;for(const _0x19d574 of _0x307f1c){const _0x47310c=_0x341e37[_0x3c94f8(0x215)](_0x19d574)['width'];if(_0x3ececf+_0x47310c<=_0x1f0627-_0x341e37[_0x3c94f8(0x215)]('...')[_0x3c94f8(0x1fa)])_0x20b591+=_0x19d574,_0x3ececf+=_0x47310c;else{_0x20b591+=_0x3c94f8(0x29d);break;}}_0x341e37[_0x3c94f8(0x109)](_0x20b591,_0x178d5c,_0x135381);}else _0x341e37[_0x3c94f8(0x109)](_0x307f1c,_0x178d5c,_0x135381);_0x341e37[_0x3c94f8(0x305)]();}[_0x4466e8(0x115)](_0x432362){const _0x4b5642=_0x4466e8;_0x384947[_0x4b5642(0x159)](_0x432362,this);}}const _0x5d7828='collab-text-anchor-',_0x43f9d0=_0x4466e8(0x2bc),_0x279682='collab-rect-range-',_0x489ef1=0x6,_0x3cb29d=1.5,_0x530bbe=0x4,_0x3d96d2=1.5,_0x1a0fd3=_0x4466e8(0x370);class _0x50e062{constructor(_0x214e20,_0x2aa3c6,_0x1f783d,_0x21e6f4){const _0xeaf37a=_0x4466e8;_0x43bbde(this,_0xeaf37a(0x310),[]),_0x43bbde(this,_0xeaf37a(0x274),null),_0x43bbde(this,'_textBubble',null),_0x43bbde(this,_0xeaf37a(0xf8),null),_0x43bbde(this,'_hideTimer',null),_0x43bbde(this,_0xeaf37a(0x188),null),(this[_0xeaf37a(0x342)]=_0x214e20,this['_scene']=_0x2aa3c6,this['_docSkeleton']=_0x1f783d,this[_0xeaf37a(0x293)]=_0x21e6f4,this[_0xeaf37a(0x218)]());}set[_0x4466e8(0xf0)](_0x5993a5){const _0x15608a=_0x4466e8;_0x5993a5?(this[_0x15608a(0xf8)]&&this[_0x15608a(0xf8)]['hide'](),this['_textBubble']&&this[_0x15608a(0x1d1)][_0x15608a(0x181)]()):(this[_0x15608a(0xf8)]&&this[_0x15608a(0xf8)][_0x15608a(0x181)](),this[_0x15608a(0x1d1)]&&this[_0x15608a(0x1d1)]['hide']());}[_0x4466e8(0x13b)](){const _0x2a9548=_0x4466e8;for(const _0x5eab6e of this[_0x2a9548(0x310)])_0x5eab6e[_0x2a9548(0x13b)]();this['_textBubble']&&this['_textBubble'][_0x2a9548(0x13b)](),this[_0x2a9548(0xf8)]&&this[_0x2a9548(0xf8)][_0x2a9548(0x13b)](),this[_0x2a9548(0x274)]&&this[_0x2a9548(0x274)][_0x2a9548(0x13b)](),this[_0x2a9548(0x188)]&&this[_0x2a9548(0x188)]();}[_0x4466e8(0x218)](){const _0x3eaf0e=_0x4466e8;var _0x1791e9;const {_docSkeleton:_0x486b06,_document:_0x3f05d2}=this,{color:_0x400b12,name:_0x104012,ranges:_0xf3b27c}=this['_cursor'],_0x5658f3=_0x3f05d2[_0x3eaf0e(0x1fc)](),{docsLeft:_0x5ba352,docsTop:_0x2e7e90}=_0x5658f3,_0x3bda2c=new _0x2dc0b6[(_0x3eaf0e(0x339))](_0x5658f3,_0x486b06);for(const {startOffset:_0x3dfa8c,endOffset:_0x67113a,rangeType:_0x234c75,segmentId:_0x248329,segmentPage:_0x4a73cb,collapsed:_0x1510b4,isActive:_0xea5e70}of _0xf3b27c){const _0x310feb=_0x486b06[_0x3eaf0e(0x2a6)](_0x3dfa8c,!0x0,_0x248329,_0x4a73cb);let _0x2bf7dd=_0x486b06[_0x3eaf0e(0x2a6)](_0x67113a,!0x0,_0x248329,_0x4a73cb);if(_0x2bf7dd==null&&(_0x2bf7dd=_0x486b06[_0x3eaf0e(0x2a6)](_0x67113a-0x1,!0x1,_0x248329,_0x4a73cb)),_0xea5e70){const {contentBoxPointGroup:_0x4a2064}=_0x3bda2c[_0x3eaf0e(0x114)](_0x2bf7dd,_0x2bf7dd);if(_0x4a2064[_0x3eaf0e(0x157)]===0x0)continue;this[_0x3eaf0e(0x1ac)](_0x400b12,_0x4a2064,_0x5ba352,_0x2e7e90,_0x104012),this[_0x3eaf0e(0x188)]=this[_0x3eaf0e(0x213)]();}if(_0x310feb&&_0x2bf7dd){if(_0x234c75===_0x4c5ef7['DOC_RANGE_TYPE'][_0x3eaf0e(0x2b7)]){const _0x44f0a1=new _0x2dc0b6[(_0x3eaf0e(0x35f))](_0x5658f3,_0x486b06),{pointGroup:_0x31f821}=(_0x1791e9=_0x44f0a1[_0x3eaf0e(0x114)](_0x310feb,_0x2bf7dd))!=null?_0x1791e9:{};if(_0x31f821==null||_0x31f821[_0x3eaf0e(0x157)]===0x0)continue;this['_drawRectRange'](_0x400b12,_0x31f821,_0x5ba352,_0x2e7e90);}else{if(!_0x1510b4){const {borderBoxPointGroup:_0x365473}=_0x3bda2c[_0x3eaf0e(0x114)](_0x310feb,_0x2bf7dd);if(_0x365473[_0x3eaf0e(0x157)]===0x0)continue;this[_0x3eaf0e(0x19c)](_0x400b12,_0x365473,_0x5ba352,_0x2e7e90);}}}}}[_0x4466e8(0x1ac)](_0x405a44,_0x4a471b,_0x592f1a,_0x2e34ae,_0x55b112){const _0x1ec7a0=_0x4466e8,_0x41325e=this['_getAnchorBounding'](_0x4a471b),{left:_0x1b9bc6,top:_0x1309e5,height:_0x23460e}=_0x41325e,_0x4ae69f=this[_0x1ec7a0(0x309)](),_0x43a961=_0x3d96d2/_0x4ae69f,_0x346fb8=new _0x51fe08[(_0x1ec7a0(0x19e))](_0x5d7828+_0x4c5ef7[_0x1ec7a0(0x112)]['generateRandomId'](_0x489ef1),{'left':_0x1b9bc6+_0x592f1a-_0x43a961,'top':_0x1309e5+_0x2e34ae,'height':_0x23460e,'width':_0x3cb29d,'fill':_0x405a44||_0x51fe08[_0x1ec7a0(0x271)](_0x4c5ef7[_0x1ec7a0(0x350)]['black'],0x0),'strokeWidth':_0x43a961,'stroke':_0x1a0fd3,'evented':!0x0});this[_0x1ec7a0(0x274)]=_0x346fb8,this[_0x1ec7a0(0x147)][_0x1ec7a0(0x27d)](_0x346fb8,_0x2dc0b6['TEXT_RANGE_LAYER_INDEX']);const _0x3789f9=new _0x51fe08[(_0x1ec7a0(0x19e))](_0x5d7828+_0x4c5ef7[_0x1ec7a0(0x112)][_0x1ec7a0(0x287)](_0x489ef1),{'left':_0x1b9bc6+_0x592f1a-_0x43a961,'top':_0x1309e5+_0x2e34ae-_0x530bbe/0x2,'height':_0x530bbe,'width':_0x530bbe,'fill':_0x405a44||_0x51fe08[_0x1ec7a0(0x271)](_0x4c5ef7[_0x1ec7a0(0x350)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x405a44||_0x51fe08['getColor'](_0x4c5ef7[_0x1ec7a0(0x350)][_0x1ec7a0(0x1f9)],0x0),'evented':!0x1});this[_0x1ec7a0(0xf8)]=_0x3789f9,this[_0x1ec7a0(0x147)]['addObject'](_0x3789f9,_0x2dc0b6[_0x1ec7a0(0x360)]);const _0x7a5e2d=new _0x384947(_0x5d7828+_0x4c5ef7['Tools'][_0x1ec7a0(0x287)](_0x489ef1),{'left':_0x1b9bc6+_0x592f1a-_0x43a961,'top':_0x1309e5+_0x2e34ae-_0x370a19,'text':_0x55b112,'color':_0x405a44});this['_textBubble']=_0x7a5e2d,this[_0x1ec7a0(0x147)][_0x1ec7a0(0x27d)](_0x7a5e2d,_0x2dc0b6[_0x1ec7a0(0x360)]),this[_0x1ec7a0(0xf0)]=!0x1;}['_handleHover'](){const _0x4efe2a=_0x4466e8,_0x4008e4=this['_anchor'][_0x4efe2a(0x186)][_0x4efe2a(0x2a7)](()=>{this['_hover']=!0x0;}),_0x441324=this[_0x4efe2a(0x274)][_0x4efe2a(0xeb)][_0x4efe2a(0x2a7)](()=>{const _0x2ccaa5=_0x4efe2a;this[_0x2ccaa5(0x195)]&&clearTimeout(this[_0x2ccaa5(0x195)]),this['_hideTimer']=setTimeout(()=>{const _0x4264ea=_0x2ccaa5;this[_0x4264ea(0xf0)]=!0x1;},0x7d0);});return()=>{const _0x216500=_0x4efe2a;_0x4008e4['unsubscribe'](),_0x441324[_0x216500(0x18a)]();};}[_0x4466e8(0x19c)](_0x265072,_0x149d16,_0x3ff74d,_0x8fd6a5){const _0x22b950=_0x4466e8,_0x58037e=new _0x4c5ef7['ColorKit'](_0x265072)[_0x22b950(0x103)](0.2)['toRgbString'](),_0x51743d=new _0x51fe08[(_0x22b950(0x285))](_0x43f9d0+_0x4c5ef7['Tools'][_0x22b950(0x287)](_0x489ef1),{'pointsGroup':_0x149d16,'fill':_0x58037e||_0x51fe08[_0x22b950(0x271)](_0x4c5ef7['COLORS'][_0x22b950(0x1f9)],0.2),'left':_0x3ff74d,'top':_0x8fd6a5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b950(0x310)][_0x22b950(0x2ba)](_0x51743d),this[_0x22b950(0x147)][_0x22b950(0x27d)](_0x51743d,_0x2dc0b6['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x28b29e,_0x2a5670,_0x46045d,_0x23e253){const _0x204e12=_0x4466e8,_0x3cf167=new _0x4c5ef7['ColorKit'](_0x28b29e)[_0x204e12(0x103)](0.2)[_0x204e12(0x2a5)](),_0x289e84=new _0x51fe08['RegularPolygon'](_0x279682+_0x4c5ef7[_0x204e12(0x112)][_0x204e12(0x287)](_0x489ef1),{'pointsGroup':_0x2a5670,'fill':_0x3cf167||_0x51fe08[_0x204e12(0x271)](_0x4c5ef7[_0x204e12(0x350)][_0x204e12(0x1f9)],0.2),'left':_0x46045d,'top':_0x23e253,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x204e12(0x310)]['push'](_0x289e84),this[_0x204e12(0x147)][_0x204e12(0x27d)](_0x289e84,_0x2dc0b6[_0x204e12(0x360)]);}[_0x4466e8(0x107)](_0x1edba6){const _0x3ccd2f=_0x1edba6[0x0],_0x20a014=_0x3ccd2f[0x0],_0x2d068e=_0x3ccd2f[0x2],{x:_0x4617fd,y:_0x2231ed}=_0x20a014,{x:_0x25786d,y:_0x463864}=_0x2d068e;return{'left':_0x4617fd,'top':_0x2231ed,'width':_0x25786d-_0x4617fd,'height':_0x463864-_0x2231ed};}['_getScale'](){const _0x3d8b92=_0x4466e8,{scaleX:_0x11e4e9,scaleY:_0x577bc9}=this['_scene']['getAncestorScale']();return Math[_0x3d8b92(0x17b)](_0x11e4e9,_0x577bc9);}}var _0x51f6bc=Object[_0x4466e8(0x2f2)],_0x356aeb=(_0x139fd2,_0x244608,_0x4f0f9b,_0xf9c3f8)=>{const _0x5aa82b=_0x4466e8;for(var _0x4a1311=_0xf9c3f8>0x1?void 0x0:_0xf9c3f8?_0x51f6bc(_0x244608,_0x4f0f9b):_0x244608,_0x573c14=_0x139fd2[_0x5aa82b(0x157)]-0x1,_0x6a5ce9;_0x573c14>=0x0;_0x573c14--)(_0x6a5ce9=_0x139fd2[_0x573c14])&&(_0x4a1311=_0x6a5ce9(_0x4a1311)||_0x4a1311);return _0x4a1311;},_0x2215d0=(_0x587ff8,_0x4c8f2d)=>(_0x13e5fb,_0x2d4be9)=>_0x4c8f2d(_0x13e5fb,_0x2d4be9,_0x587ff8);let _0x1cf57c=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0xe8fa20,_0x36ad4c,_0x4e2105,_0x3aa88a,_0x5e7de2){const _0xfa4f6e=_0x4466e8;super(),_0x43bbde(this,_0xfa4f6e(0x32c),[]),_0x43bbde(this,_0xfa4f6e(0x264),[]),(this[_0xfa4f6e(0x167)]=_0xe8fa20,this[_0xfa4f6e(0x102)]=_0x36ad4c,this[_0xfa4f6e(0x1a6)]=_0x4e2105,this[_0xfa4f6e(0x2f0)]=_0x3aa88a,this['_themeService']=_0x5e7de2,this[_0xfa4f6e(0xf1)]());}[_0x4466e8(0xf1)](){const _0x2dc485=_0x4466e8,_0x186ecd=this[_0x2dc485(0x167)][_0x2dc485(0x117)],_0x528063=this['_docSkeletonManagerService'];this[_0x2dc485(0x1b8)](_0xb9fcc[_0x2dc485(0x10f)]([this[_0x2dc485(0x1a6)][_0x2dc485(0x22a)](_0x186ecd),this[_0x2dc485(0x19b)][_0x2dc485(0x2fd)]])[_0x2dc485(0x13d)](_0xc6dbd5[_0x2dc485(0x252)](([_0x11b44c,_0x434702])=>({'skeleton':_0x528063['getSkeleton'](),'cursors':[..._0x11b44c['values']()][_0x2dc485(0x166)](_0xb08e82=>({..._0xb08e82,'color':_0x434702[_0xb08e82['color']]}))})))[_0x2dc485(0x26c)](_0x82ea77=>{const _0x425a98=_0x2dc485;if(this[_0x425a98(0x1e5)](),_0x82ea77){const {skeleton:_0x5d2f3b,cursors:_0x1ffa6f}=_0x82ea77;this[_0x425a98(0x1ef)](_0x5d2f3b,_0x1ffa6f);}})),this[_0x2dc485(0x192)](),this['_initCommandExecutedListener']();}[_0x4466e8(0x1ef)](_0x375e94,_0x27748c){const _0x302079=_0x4466e8,{scene:_0x105462,mainComponent:_0x333927}=this[_0x302079(0x167)],_0x35b4de=_0x27748c[_0x302079(0x252)](_0x264e9a=>new _0x50e062(_0x264e9a,_0x105462,_0x375e94,_0x333927));this[_0x302079(0x32c)]=_0x35b4de,this[_0x302079(0x264)]=_0x27748c;}[_0x4466e8(0x378)](){const _0xf5d3d5=_0x4466e8;this[_0xf5d3d5(0x1e5)]();const {scene:_0x4ab8c6,mainComponent:_0x156bb7}=this[_0xf5d3d5(0x167)],_0x3b941f=this[_0xf5d3d5(0x102)]['getSkeleton'](),_0x33c08f=this['_cursors'][_0xf5d3d5(0x252)](_0x305fcc=>new _0x50e062(_0x305fcc,_0x4ab8c6,_0x3b941f,_0x156bb7));this[_0xf5d3d5(0x32c)]=_0x33c08f;}[_0x4466e8(0x1e5)](){const _0x1d8197=_0x4466e8;this[_0x1d8197(0x32c)]['forEach'](_0x5bbe1f=>_0x5bbe1f[_0x1d8197(0x13b)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x28f39c=_0x4466e8,_0x5e7333=[_0x2dc0b6[_0x28f39c(0x291)]['id']];this['disposeWithMe'](this[_0x28f39c(0x2f0)][_0x28f39c(0x111)](_0x65e85d=>{const _0x23e41a=_0x28f39c;_0x5e7333[_0x23e41a(0xf2)](_0x65e85d['id'])&&_0x65e85d[_0x23e41a(0x171)][_0x23e41a(0x117)]===this[_0x23e41a(0x167)][_0x23e41a(0x117)]&&this[_0x23e41a(0x378)]();}));}['_initResize'](){const _0x55b6b8=_0x4466e8;this[_0x55b6b8(0x1b8)](_0x4c5ef7['fromEventSubject'](this['_context'][_0x55b6b8(0x33e)][_0x55b6b8(0x118)])['pipe'](_0xc6dbd5['filter'](_0x321cb4=>_0x321cb4[_0x55b6b8(0x14d)]===_0x51fe08[_0x55b6b8(0x27f)][_0x55b6b8(0x1d4)]),_0xc6dbd5['throttleTime'](0x10))[_0x55b6b8(0x26c)](()=>{const _0x270ce4=_0x55b6b8;this[_0x270ce4(0x378)]();}));}};_0x1cf57c=_0x356aeb([_0x2215d0(0x1,_0x4c5ef7[_0x4466e8(0x17c)](_0x41a194[_0x4466e8(0x28d)])),_0x2215d0(0x2,_0x4c5ef7['Inject'](_0x50cdf2)),_0x2215d0(0x3,_0x4c5ef7[_0x4466e8(0x19f)]),_0x2215d0(0x4,_0x4c5ef7['Inject'](_0x4c5ef7[_0x4466e8(0x2c0)]))],_0x1cf57c);const _0x4593d6=0x1,_0x334f45=1.5;class _0x1512fa extends _0x51fe08['Shape']{constructor(_0x42b808,_0x8263ea){const _0x3364c7=_0x4466e8;super(_0x42b808,_0x8263ea),_0x43bbde(this,_0x3364c7(0x104)),_0x43bbde(this,_0x3364c7(0x1b3),!0x1),_0x43bbde(this,_0x3364c7(0x365)),_0x43bbde(this,'_name',''),_0x43bbde(this,_0x3364c7(0x15d),_0x3364c7(0x34d)),_0x43bbde(this,_0x3364c7(0x1b5)),(_0x8263ea&&this[_0x3364c7(0x2f3)](_0x8263ea),this[_0x3364c7(0x186)][_0x3364c7(0x2a7)](()=>this[_0x3364c7(0x2f3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3364c7(0x2a7)](()=>this[_0x3364c7(0x2f3)]({'hovered':!0x1})));}[_0x4466e8(0x2f3)](_0xdc24b2){const _0x21759e=_0x4466e8;var _0x5c7108,_0x4131c8,_0x4b89cc,_0x487521,_0x4e1a97,_0x5b9ce4;this[_0x21759e(0x104)]=(_0x5c7108=_0xdc24b2['color'])!=null?_0x5c7108:this['_color'],this['_hovered']=(_0x4131c8=_0xdc24b2[_0x21759e(0x32d)])!=null?_0x4131c8:this[_0x21759e(0x1b3)],this[_0x21759e(0x365)]=(_0x4b89cc=_0xdc24b2[_0x21759e(0x1c3)])!=null?_0x4b89cc:this[_0x21759e(0x365)],this['_name']=(_0x487521=_0xdc24b2[_0x21759e(0x1e9)])!=null?_0x487521:this[_0x21759e(0x226)],this[_0x21759e(0x15d)]=(_0x4e1a97=_0xdc24b2['labelPosition'])!=null?_0x4e1a97:this[_0x21759e(0x15d)],this[_0x21759e(0x1b5)]=(_0x5b9ce4=_0xdc24b2[_0x21759e(0x362)])!=null?_0x5b9ce4:this[_0x21759e(0x1b5)],this[_0x21759e(0xe6)]({'width':_0xdc24b2[_0x21759e(0x1fa)],'height':_0xdc24b2[_0x21759e(0x363)]});}[_0x4466e8(0x31d)](_0x36e9d3){const _0x6084af=_0x4466e8,{row:_0x2ff423,column:_0x358de4}=_0x36e9d3;if(_0x2ff423>=this[_0x6084af(0x365)][_0x6084af(0x208)]&&_0x2ff423<=this[_0x6084af(0x365)]['endRow']&&_0x358de4>=this['_range'][_0x6084af(0x1b1)]&&_0x358de4<=this['_range'][_0x6084af(0x313)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x6084af(0x2f3)]({'hovered':!0x1});}[_0x4466e8(0x19a)](_0x5a48e5){return!0x1;}['_draw'](_0x3cb2cd){const _0x569293=_0x4466e8;_0x51fe08[_0x569293(0x19e)][_0x569293(0x159)](_0x3cb2cd,{'width':this[_0x569293(0x1fa)],'height':this[_0x569293(0x363)],'strokeWidth':_0x334f45,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x569293(0x1b5)]}),this[_0x569293(0x1b3)]&&(_0x3cb2cd[_0x569293(0x1dd)](),_0x3cb2cd[_0x569293(0x29e)](0x1,0x0,0x0,0x1,this[_0x569293(0x1fa)],this[_0x569293(0x15d)]==='bottom'?0x0:-0x14),_0x384947[_0x569293(0x159)](_0x3cb2cd,{'text':this[_0x569293(0x226)],'color':this['_color']}),_0x3cb2cd[_0x569293(0x305)]());}}var _0x3559b5=Object[_0x4466e8(0x2f2)],_0x2bbdac=(_0x1bdff6,_0x440f2d,_0x1a18cc,_0x506342)=>{const _0x33be7d=_0x4466e8;for(var _0x410db8=_0x506342>0x1?void 0x0:_0x506342?_0x3559b5(_0x440f2d,_0x1a18cc):_0x440f2d,_0x379c5c=_0x1bdff6[_0x33be7d(0x157)]-0x1,_0xe2abac;_0x379c5c>=0x0;_0x379c5c--)(_0xe2abac=_0x1bdff6[_0x379c5c])&&(_0x410db8=_0xe2abac(_0x410db8)||_0x410db8);return _0x410db8;},_0xd423a7=(_0x2c2603,_0x37b350)=>(_0x24be66,_0x29500e)=>_0x37b350(_0x24be66,_0x29500e,_0x2c2603);const _0x446e4f=0x1389;let _0x24188a=class extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(_0x25da2a,_0x2a5b91,_0x290e3c,_0x4e417d){const _0x3e8457=_0x4466e8;super(),_0x43bbde(this,_0x3e8457(0x264),new Set()),_0x43bbde(this,_0x3e8457(0x317),null),(this[_0x3e8457(0x167)]=_0x25da2a,this[_0x3e8457(0x35a)]=_0x2a5b91,this[_0x3e8457(0x1a6)]=_0x290e3c,this[_0x3e8457(0x19b)]=_0x4e417d,this[_0x3e8457(0xf1)]());}[_0x4466e8(0xf1)](){const _0x1698d9=_0x4466e8;this[_0x1698d9(0x35a)][_0x1698d9(0x16f)][_0x1698d9(0x13d)](_0xc6dbd5[_0x1698d9(0x1c5)](this[_0x1698d9(0x1df)]),_0xc6dbd5[_0x1698d9(0x24c)](_0x5d473b=>{const _0x202819=_0x1698d9;if(_0x5d473b){const _0x33dfb3=_0x5d473b[_0x202819(0x148)];return _0xb9fcc['combineLatest'](this[_0x202819(0x1a6)]['getCollabCursors$'](this['_context'][_0x202819(0x117)]),this[_0x202819(0x19b)][_0x202819(0x2fd)])[_0x202819(0x13d)](_0xc6dbd5[_0x202819(0x252)](([_0x55a504,_0x2b6baf])=>{const _0x14eec3=_0x202819,_0x2becb2=new Map();return _0x55a504[_0x14eec3(0x2ad)]((_0x3fb316,_0x2c9b83)=>{const _0x5822d0=_0x14eec3;if(_0x3fb316['sheetID']===_0x33dfb3){const _0x364d25={..._0x3fb316};_0x364d25[_0x5822d0(0x1bd)]=_0x2b6baf[_0x3fb316[_0x5822d0(0x1bd)]],_0x2becb2['set'](_0x2c9b83,_0x364d25);}}),{'skeleton':_0x5d473b,'cursors':_0x2becb2};}));}return _0xb9fcc['of']({'skeleton':null,'cursors':new Map()});}))[_0x1698d9(0x26c)](({skeleton:_0x28818a,cursors:_0x1dadb9})=>{const _0x1dfc63=_0x1698d9;this[_0x1dfc63(0x1e5)](),_0x28818a&&this[_0x1dfc63(0x1ef)](_0x28818a,_0x1dadb9);}),this[_0x1698d9(0x35a)]['currentSkeleton$'][_0x1698d9(0x26c)](_0x171b9c=>{const _0x2cfaa3=_0x1698d9;if(_0x171b9c==null)return;const {skeleton:_0x189338}=_0x171b9c,{scene:_0x361e6d}=this['_context'];_0x361e6d['onPointerMove$'][_0x2cfaa3(0x2a7)](_0x4c5ef7[_0x2cfaa3(0x235)](_0x18b380=>{const _0x1b075f=_0x2cfaa3;var _0x52f7d5,_0x4ce035;const {offsetX:_0x63b620,offsetY:_0x3b687b}=_0x18b380,{x:_0x5ab218,y:_0xe400da}=_0x361e6d[_0x1b075f(0x204)](_0x51fe08[_0x1b075f(0x119)][_0x1b075f(0x237)]([_0x63b620,_0x3b687b])),{scaleX:_0x294894,scaleY:_0x44d5f8}=_0x361e6d[_0x1b075f(0xfa)](),_0xd206aa=_0x361e6d[_0x1b075f(0x318)](_0x51fe08[_0x1b075f(0xfc)][_0x1b075f(0xed)]),_0x31a6f3=_0x361e6d[_0x1b075f(0x2b4)](_0x51fe08[_0x1b075f(0x119)][_0x1b075f(0x237)]([_0x5ab218,_0xe400da]),_0xd206aa),_0x100429=_0x189338[_0x1b075f(0x266)](_0x63b620,_0x3b687b,_0x294894,_0x44d5f8,_0x31a6f3);((_0x52f7d5=this[_0x1b075f(0x317)])==null?void 0x0:_0x52f7d5[_0x1b075f(0xe1)])===_0x100429['column']&&((_0x4ce035=this[_0x1b075f(0x317)])==null?void 0x0:_0x4ce035[_0x1b075f(0x333)])===_0x100429[_0x1b075f(0x333)]||this[_0x1b075f(0x264)]['forEach'](_0x275d89=>{const _0x5a454e=_0x1b075f;_0x275d89[_0x5a454e(0x31d)](_0x100429);});},0x64));});}[_0x4466e8(0x1ef)](_0x72c765,_0x15472b){const _0x4a1f68=_0x4466e8;var _0xc2fce5;const _0xe83acb=(_0xc2fce5=this[_0x4a1f68(0x35a)][_0x4a1f68(0x1f4)]())==null?void 0x0:_0xc2fce5[_0x4a1f68(0x2c7)];if(!_0xe83acb)return;const _0x1e26c5=this['_getSheetObject']();if(!_0x1e26c5)return;this[_0x4a1f68(0x264)]['forEach'](_0x30729b=>{const _0x3497ea=_0x4a1f68;_0x30729b[_0x3497ea(0x368)]();});const {scene:_0xae82b1}=_0x1e26c5,_0x296333=_0x5a7d6e(Array[_0x4a1f68(0x326)](_0x15472b[_0x4a1f68(0x128)]()))[_0x4a1f68(0x252)](_0x6dad0f=>{const _0x26d555=_0x4a1f68,{color:_0x8a5577,range:_0x4b3af5,name:_0x53b71f,selection:_0x9f3bdf,sheetID:_0x148892}=_0x6dad0f,{startColumn:_0x541df8,startRow:_0x40619e,endColumn:_0x458a29,endRow:_0x8f343c}=_0x4b3af5,_0x3ad316=_0x273bef[_0x26d555(0x131)](_0x40619e,_0x541df8,_0xae82b1,_0xe83acb),_0x36ef0c=_0x273bef['getCoordByCell'](_0x8f343c,_0x458a29,_0xae82b1,_0xe83acb),{columnHeaderHeightAndMarginTop:_0x40d4ef}=_0xe83acb,{startX:_0x11a7f9,startY:_0x5ad122}=_0x3ad316,{endX:_0x2807c3,endY:_0x240a7c}=_0x36ef0c,_0x3b67ea=_0x2807c3-_0x11a7f9,_0x21bccc=_0x240a7c-_0x5ad122,_0x5db46e={'labelPosition':_0x5ad122-_0x40d4ef>=_0x370a19?_0x26d555(0x34d):_0x26d555(0x1c1),'sheetID':_0x148892,'range':_0x4b3af5,'color':_0x8a5577,'name':_0x53b71f,'selection':_0x9f3bdf,'left':_0x11a7f9,'top':_0x5ad122,'width':_0x3b67ea,'height':_0x21bccc,'evented':!0x1,'zIndex':_0x446e4f};return new _0x1512fa(_0x53b71f,_0x5db46e);});_0xae82b1[_0x4a1f68(0x2b8)](_0x296333,_0x4593d6),this['_cursors']=new Set(_0x296333);}[_0x4466e8(0x1e5)](){const _0x84d649=_0x4466e8;var _0x41330b;(_0x41330b=this[_0x84d649(0x264)])==null||_0x41330b[_0x84d649(0x2ad)](_0x2d6312=>_0x2d6312[_0x84d649(0x13b)]());}['_getSheetObject'](){const _0x351886=_0x4466e8;return _0x273bef[_0x351886(0x1cc)](this[_0x351886(0x167)]['unit'],this[_0x351886(0x167)]);}};_0x24188a=_0x2bbdac([_0xd423a7(0x1,_0x4c5ef7[_0x4466e8(0x17c)](_0x273bef[_0x4466e8(0x239)])),_0xd423a7(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x50cdf2)),_0xd423a7(0x3,_0x4c5ef7['Inject'](_0x4c5ef7[_0x4466e8(0x2c0)]))],_0x24188a);function _0x5a7d6e(_0x8af94a){const _0x403658=_0x4466e8,_0x4df79e=new Map();return _0x8af94a[_0x403658(0x2ad)](_0x4b544c=>{const _0x212acf=_0x403658;if(_0x4df79e[_0x212acf(0x28e)](_0x4b544c[_0x212acf(0x341)])){const _0x139235=_0x4df79e[_0x212acf(0x214)](_0x4b544c[_0x212acf(0x341)]);_0x139235[_0x212acf(0x1e9)]+=',\x20'+_0x4b544c['name'];}else _0x4df79e[_0x212acf(0x172)](_0x4b544c[_0x212acf(0x341)],_0x4b544c);}),Array[_0x403658(0x326)](_0x4df79e[_0x403658(0x128)]());}var _0x24c964=function(){const _0xc962ef=_0x4466e8;return _0x24c964=Object[_0xc962ef(0x2a4)]||function(_0x1274d2){const _0x2f7b8b=_0xc962ef;for(var _0x4b9878,_0x301d6c=0x1,_0x24616a=arguments[_0x2f7b8b(0x157)];_0x301d6c<_0x24616a;_0x301d6c++){_0x4b9878=arguments[_0x301d6c];for(var _0x4dfec8 in _0x4b9878)Object['prototype'][_0x2f7b8b(0x324)][_0x2f7b8b(0x2db)](_0x4b9878,_0x4dfec8)&&(_0x1274d2[_0x4dfec8]=_0x4b9878[_0x4dfec8]);}return _0x1274d2;},_0x24c964[_0xc962ef(0x312)](this,arguments);},_0xcd94c7=function(_0x415494,_0x487159){const _0x380024=_0x4466e8;var _0x13f8cc={};for(var _0x16833e in _0x415494)Object['prototype']['hasOwnProperty'][_0x380024(0x2db)](_0x415494,_0x16833e)&&_0x487159['indexOf'](_0x16833e)<0x0&&(_0x13f8cc[_0x16833e]=_0x415494[_0x16833e]);if(_0x415494!=null&&typeof Object[_0x380024(0x2c5)]==_0x380024(0x136)){for(var _0x113717=0x0,_0x16833e=Object[_0x380024(0x2c5)](_0x415494);_0x113717<_0x16833e['length'];_0x113717++)_0x487159['indexOf'](_0x16833e[_0x113717])<0x0&&Object[_0x380024(0x32f)]['propertyIsEnumerable'][_0x380024(0x2db)](_0x415494,_0x16833e[_0x113717])&&(_0x13f8cc[_0x16833e[_0x113717]]=_0x415494[_0x16833e[_0x113717]]);}return _0x13f8cc;},_0x15699a=_0x9511a6[_0x4466e8(0xe5)](function(_0xa31ae,_0x5ef8a4){const _0x4bfd4a=_0x4466e8;var _0x2de983=_0xa31ae['icon'],_0x7c4a5f=_0xa31ae['id'],_0x51abac=_0xa31ae[_0x4bfd4a(0x35b)],_0x50f599=_0xa31ae[_0x4bfd4a(0xde)],_0x484912=_0xcd94c7(_0xa31ae,[_0x4bfd4a(0x11d),'id',_0x4bfd4a(0x35b),_0x4bfd4a(0xde)]),_0x3431c7=_0x4bfd4a(0x1fe)[_0x4bfd4a(0x133)](_0x7c4a5f,'\x20')[_0x4bfd4a(0x133)](_0x51abac||'')['trim'](),_0x1f5570=_0x9511a6[_0x4bfd4a(0x289)]('_'[_0x4bfd4a(0x133)](_0x38d1a3()));return _0x45b191(_0x2de983,''[_0x4bfd4a(0x133)](_0x7c4a5f),{'defIds':_0x2de983[_0x4bfd4a(0xdf)],'idSuffix':_0x1f5570[_0x4bfd4a(0x323)]},_0x24c964({'ref':_0x5ef8a4,'className':_0x3431c7},_0x484912),_0x50f599);});function _0x45b191(_0x2a3047,_0x521793,_0x3b1b64,_0x3843cd,_0x5dd64f){const _0x54fb95=_0x4466e8;return _0x9511a6[_0x54fb95(0x283)](_0x2a3047[_0x54fb95(0x203)],_0x24c964(_0x24c964({'key':_0x521793},_0x51ba47(_0x2a3047,_0x3b1b64,_0x5dd64f)),_0x3843cd),(_0x54b067(_0x2a3047,_0x3b1b64)[_0x54fb95(0x12f)]||[])[_0x54fb95(0x252)](function(_0x1db74f,_0xe3e1c8){const _0x57f6af=_0x54fb95;return _0x45b191(_0x1db74f,''[_0x57f6af(0x133)](_0x521793,'-')[_0x57f6af(0x133)](_0x2a3047['tag'],'-')[_0x57f6af(0x133)](_0xe3e1c8),_0x3b1b64,void 0x0,_0x5dd64f);}));}function _0x51ba47(_0x19bc12,_0x595afb,_0x254734){const _0x22aad8=_0x4466e8;var _0x567ea6=_0x24c964({},_0x19bc12[_0x22aad8(0x14e)]);_0x254734!=null&&_0x254734['colorChannel1']&&_0x567ea6['fill']===_0x22aad8(0x16a)&&(_0x567ea6[_0x22aad8(0x2c3)]=_0x254734[_0x22aad8(0x16a)]),_0x19bc12['tag']===_0x22aad8(0x127)&&_0x567ea6['id']&&(_0x567ea6['id']=_0x567ea6['id']+_0x595afb[_0x22aad8(0x255)]),Object[_0x22aad8(0x361)](_0x567ea6)[_0x22aad8(0x2ad)](function(_0x84a5f2){const _0x4eadc1=_0x22aad8;var _0x35db1f=_0x84a5f2[0x0],_0x1a84c0=_0x84a5f2[0x1];_0x35db1f===_0x4eadc1(0x127)&&typeof _0x1a84c0==_0x4eadc1(0x2be)&&(_0x567ea6[_0x35db1f]=_0x1a84c0[_0x4eadc1(0x33a)](/url\(#(.*)\)/,_0x4eadc1(0x209)[_0x4eadc1(0x133)](_0x595afb[_0x4eadc1(0x255)],')')));});var _0x1e2b2b=_0x595afb[_0x22aad8(0xdf)];return!_0x1e2b2b||_0x1e2b2b['length']===0x0||(_0x19bc12[_0x22aad8(0x203)]==='use'&&_0x567ea6[_0x22aad8(0x185)]&&(_0x567ea6[_0x22aad8(0x185)]=_0x567ea6[_0x22aad8(0x185)]+_0x595afb[_0x22aad8(0x255)]),Object[_0x22aad8(0x361)](_0x567ea6)[_0x22aad8(0x2ad)](function(_0x4e34c3){const _0x361424=_0x22aad8;var _0x9145ea=_0x4e34c3[0x0],_0x373491=_0x4e34c3[0x1];typeof _0x373491==_0x361424(0x2be)&&(_0x567ea6[_0x9145ea]=_0x373491[_0x361424(0x33a)](/url\(#(.*)\)/,_0x361424(0x209)[_0x361424(0x133)](_0x595afb['idSuffix'],')')));})),_0x567ea6;}function _0x54b067(_0x20254f,_0x53478b){const _0x371139=_0x4466e8;var _0x196800,_0x595b62=_0x53478b[_0x371139(0xdf)];return!_0x595b62||_0x595b62[_0x371139(0x157)]===0x0?_0x20254f:_0x20254f['tag']===_0x371139(0x1d7)&&(!((_0x196800=_0x20254f[_0x371139(0x12f)])===null||_0x196800===void 0x0)&&_0x196800['length'])?_0x24c964(_0x24c964({},_0x20254f),{'children':_0x20254f[_0x371139(0x12f)][_0x371139(0x252)](function(_0x479c5a){const _0x587675=_0x371139;return typeof _0x479c5a['attrs']['id']==_0x587675(0x2be)&&_0x595b62&&_0x595b62['indexOf'](_0x479c5a[_0x587675(0x14e)]['id'])>-0x1?_0x24c964(_0x24c964({},_0x479c5a),{'attrs':_0x24c964(_0x24c964({},_0x479c5a[_0x587675(0x14e)]),{'id':_0x479c5a['attrs']['id']+_0x53478b[_0x587675(0x255)]})}):_0x479c5a;})}):_0x20254f;}function _0x38d1a3(){const _0x3a0c5c=_0x4466e8;return Math[_0x3a0c5c(0x2e8)]()[_0x3a0c5c(0x244)](0x24)[_0x3a0c5c(0x18e)](0x2,0x8);}_0x15699a[_0x4466e8(0x31c)]=_0x4466e8(0x2d0);var _0x3e2863={'tag':'svg','attrs':{'fill':_0x4466e8(0x143),'viewBox':'0\x200\x2016\x2016','width':_0x4466e8(0x2d8),'height':_0x4466e8(0x2d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4466e8(0x334)},'children':[{'tag':_0x4466e8(0x14b),'attrs':{'stroke':_0x4466e8(0x18c),'d':_0x4466e8(0x29a),'strokeLinecap':_0x4466e8(0x10d),'strokeLinejoin':_0x4466e8(0x10d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4466e8(0x176),'attrs':{'id':_0x4466e8(0x142)},'children':[{'tag':_0x4466e8(0x14b),'attrs':{'fill':_0x4466e8(0x351),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4466e8(0x142)]},_0x401f37=_0x9511a6[_0x4466e8(0xe5)](function(_0x37923d,_0x479fdf){const _0x18f933=_0x4466e8;return _0x9511a6[_0x18f933(0x283)](_0x15699a,Object['assign']({},_0x37923d,{'id':_0x18f933(0x11c),'ref':_0x479fdf,'icon':_0x3e2863}));});_0x401f37[_0x4466e8(0x31c)]=_0x4466e8(0x10e);var _0x3910a7={'tag':_0x4466e8(0x197),'attrs':{'fill':'none','viewBox':_0x4466e8(0x1a9),'width':_0x4466e8(0x2d8),'height':_0x4466e8(0x2d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4466e8(0x263)},'children':[{'tag':'path','attrs':{'stroke':_0x4466e8(0x18c),'d':_0x4466e8(0x1f1),'strokeLinecap':_0x4466e8(0x10d),'strokeLinejoin':_0x4466e8(0x10d),'strokeWidth':1.2}}]},{'tag':_0x4466e8(0x1d7),'attrs':{},'children':[{'tag':_0x4466e8(0x176),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4466e8(0x14b),'attrs':{'fill':_0x4466e8(0x351),'d':_0x4466e8(0x17f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4466e8(0x18f)]},_0x36bdb5=_0x9511a6['forwardRef'](function(_0x269a21,_0x3143a8){const _0x5cf031=_0x4466e8;return _0x9511a6[_0x5cf031(0x283)](_0x15699a,Object['assign']({},_0x269a21,{'id':_0x5cf031(0xda),'ref':_0x3143a8,'icon':_0x3910a7}));});_0x36bdb5[_0x4466e8(0x31c)]=_0x4466e8(0x327);const _0x352cae={'onlineStatusIcon':_0x4466e8(0x241),'onlineStatusTitle':_0x4466e8(0x2f1),'onlineStatus':_0x4466e8(0x1db),'online':_0x4466e8(0x31b),'offline':_0x4466e8(0x249)};function _0x2b7ff6(_0x3bc4e6){const _0x5597b3=_0x4466e8;switch(_0x3bc4e6){case _0x11d792[_0x5597b3(0x346)][_0x5597b3(0x24a)]:return _0x5597b3(0x2e4);case _0x11d792['CollaborationStatus'][_0x5597b3(0x20a)]:return'collabStatus.conflict';case _0x11d792['CollaborationStatus'][_0x5597b3(0x21b)]:return _0x5597b3(0x33d);case _0x11d792[_0x5597b3(0x346)][_0x5597b3(0x276)]:return _0x5597b3(0x1b6);case _0x11d792[_0x5597b3(0x346)][_0x5597b3(0x1e0)]:case _0x11d792[_0x5597b3(0x346)]['AWAITING_WITH_PENDING']:return _0x5597b3(0x35c);case _0x11d792[_0x5597b3(0x346)][_0x5597b3(0x377)]:case _0x11d792[_0x5597b3(0x346)][_0x5597b3(0xf5)]:return _0x5597b3(0x343);}}function _0x2b46e9(_0x50106f){const _0x2fe57c=_0x4466e8,{status$:_0x156bf7}=_0x50106f,_0xaa5c37=_0x7c8947[_0x2fe57c(0x2e7)](_0x156bf7,_0x11d792[_0x2fe57c(0x346)][_0x2fe57c(0x276)]),_0x50e28d=_0x7c8947[_0x2fe57c(0x1e4)](_0x4c5ef7[_0x2fe57c(0x1f3)]),_0x2be75e=_0x7c8947[_0x2fe57c(0x1e4)](_0x11d792[_0x2fe57c(0x36c)]),_0x5210af=_0xaa5c37!==_0x11d792[_0x2fe57c(0x346)][_0x2fe57c(0x24a)],_0x7e5496=_0x50e28d['t'](_0x2b7ff6(_0xaa5c37)),_0x3202bd=_0x274162[_0x2fe57c(0x1ec)](_0x352cae['onlineStatus'],{[_0x352cae['online']]:_0x5210af,[_0x352cae[_0x2fe57c(0x2cf)]]:!_0x5210af}),_0x504fd0=_0x5210af?_0x5ae934[_0x2fe57c(0x130)](_0x36bdb5,{}):_0x5ae934['jsx'](_0x401f37,{}),_0x8f8768=_0x9511a6['useCallback'](()=>{const _0x2d935f=_0x2fe57c;_0x5210af||_0x2be75e[_0x2d935f(0x2ea)]();},[_0x5210af,_0x2be75e]);function _0x387f47(){const _0x41d1cd=_0x2fe57c;return _0x5ae934[_0x41d1cd(0x1bb)]('div',{'className':_0x274162[_0x41d1cd(0x1ec)](_0x3202bd,_0x41d1cd(0x28f)),'onClick':_0x8f8768,'children':[_0x5ae934[_0x41d1cd(0x130)](_0x41d1cd(0x280),{'className':_0x352cae[_0x41d1cd(0x2cd)],'children':_0x504fd0}),_0x5ae934[_0x41d1cd(0x130)]('div',{'className':_0x352cae[_0x41d1cd(0x1f2)],'children':_0x7e5496})]});}return _0x5210af?_0x387f47():_0x5ae934['jsx'](_0x274162[_0x2fe57c(0x23f)],{'title':_0x50e28d['t'](_0x2fe57c(0x2b9)),'children':_0x387f47()});}var _0x1e275f=Object[_0x4466e8(0x2f2)],_0x408516=(_0x3fd534,_0x3e7871,_0x5bf8c8,_0x131f72)=>{const _0x36691c=_0x4466e8;for(var _0x59b404=_0x131f72>0x1?void 0x0:_0x131f72?_0x1e275f(_0x3e7871,_0x5bf8c8):_0x3e7871,_0x29f070=_0x3fd534[_0x36691c(0x157)]-0x1,_0x11a6f1;_0x29f070>=0x0;_0x29f070--)(_0x11a6f1=_0x3fd534[_0x29f070])&&(_0x59b404=_0x11a6f1(_0x59b404)||_0x59b404);return _0x59b404;},_0x5e7c2f=(_0x5d4713,_0x3cedec)=>(_0x1604a8,_0x599620)=>_0x3cedec(_0x1604a8,_0x599620,_0x5d4713);_0x2e880c['DesktopCollaborationStatusDisplayController']=class extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(_0x2ec47c,_0xc85892,_0x25eef5,_0x14af57){const _0x4e00f2=_0x4466e8;super(),_0x43bbde(this,_0x4e00f2(0x1ae),new _0xb9fcc[(_0x4e00f2(0x13e))](_0x11d792[_0x4e00f2(0x346)][_0x4e00f2(0x276)])),(this[_0x4e00f2(0x150)]=_0x2ec47c,this[_0x4e00f2(0x194)]=_0xc85892,this['_collaborationController']=_0x25eef5,this['_uiPartsService']=_0x14af57,this[_0x4e00f2(0x1f7)](),this[_0x4e00f2(0x257)]());}['_initStatusListener'](){const _0x113136=_0x4466e8;this[_0x113136(0x1b8)](this[_0x113136(0x150)][_0x113136(0x2a9)][_0x113136(0x13d)](_0xb9fcc[_0x113136(0x24c)](()=>{const _0x5adf8f=_0x113136,_0x5ef480=this['_univerInstanceService']['getFocusedUnit']();return _0x5ef480?this[_0x5adf8f(0x2de)][_0x5adf8f(0x2e1)](_0x5ef480[_0x5adf8f(0x31f)]()):_0xb9fcc['of'](null);}),_0xb9fcc['switchMap'](_0x493fcc=>_0x493fcc?_0x493fcc[_0x113136(0x156)]:_0xb9fcc['of'](_0x11d792[_0x113136(0x346)]['NOT_COLLAB'])))[_0x113136(0x26c)](_0x56a715=>{const _0x13e87c=_0x113136;this[_0x13e87c(0x1ae)]['next'](_0x56a715);}));}[_0x4466e8(0x1f7)](){const _0x35ed8b=_0x4466e8;this[_0x35ed8b(0x1b8)](this[_0x35ed8b(0x2e9)][_0x35ed8b(0x355)](_0x7c8947['BuiltInUIPart'][_0x35ed8b(0x20d)],()=>_0x7c8947[_0x35ed8b(0xe4)](_0x3b6d82({'status$':this[_0x35ed8b(0x1ae)][_0x35ed8b(0x13f)]()}),this[_0x35ed8b(0x194)])));}},_0x2e880c['DesktopCollaborationStatusDisplayController']=_0x408516([_0x5e7c2f(0x0,_0x4c5ef7[_0x4466e8(0x31e)]),_0x5e7c2f(0x1,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x201)])),_0x5e7c2f(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x11d792[_0x4466e8(0x15e)])),_0x5e7c2f(0x3,_0x7c8947[_0x4466e8(0x144)])],_0x2e880c[_0x4466e8(0x325)]);function _0x3b6d82(_0x4e42c1){const {status$:_0x242731}=_0x4e42c1;return function(){return _0x5ae934['jsx'](_0x2b46e9,{'status$':_0x242731});};}var _0x5b66ef=Object[_0x4466e8(0x2f2)],_0x360d3f=(_0x1e02ad,_0x5e24e6,_0x43cbaa,_0x47b627)=>{const _0x1747df=_0x4466e8;for(var _0x5993b0=_0x47b627>0x1?void 0x0:_0x47b627?_0x5b66ef(_0x5e24e6,_0x43cbaa):_0x5e24e6,_0x4c1fef=_0x1e02ad[_0x1747df(0x157)]-0x1,_0x477bd8;_0x4c1fef>=0x0;_0x4c1fef--)(_0x477bd8=_0x1e02ad[_0x4c1fef])&&(_0x5993b0=_0x477bd8(_0x5993b0)||_0x5993b0);return _0x5993b0;},_0x4bb3a5=(_0x89adde,_0x4be786)=>(_0x5420f0,_0x279668)=>_0x4be786(_0x5420f0,_0x279668,_0x89adde);let _0x41c05f=class extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(_0x406c2b,_0x2f0538,_0x23b451,_0xe9d5de,_0x5b6d32,_0x29ea15){const _0x4b79c2=_0x4466e8;super(),this[_0x4b79c2(0x349)]=_0x406c2b,this[_0x4b79c2(0x295)]=_0x2f0538,this[_0x4b79c2(0x374)]=_0x23b451,this['_messageService']=_0xe9d5de,this[_0x4b79c2(0x175)]=_0x5b6d32,this['_localeService']=_0x29ea15,this[_0x4b79c2(0x258)](),this[_0x4b79c2(0x1ee)]();}[_0x4466e8(0x258)](){const _0x4c0688=_0x4466e8;this[_0x4c0688(0x1b8)](this[_0x4c0688(0x349)][_0x4c0688(0x25a)](()=>{const _0x480989=_0x4c0688;if(this['_localCacheService'][_0x480989(0x1ce)][_0x480989(0x163)])return this['_localeService']['t'](_0x480989(0xfe));}));}['_initEvent'](){const _0x30d960=_0x4466e8;this['disposeWithMe'](this[_0x30d960(0x374)][_0x30d960(0x332)][_0x30d960(0x26c)](_0x231dd9=>{const _0x1e8bbb=_0x30d960;_0x231dd9['id']===_0x11d792[_0x1e8bbb(0x1aa)][_0x1e8bbb(0x28b)]&&this[_0x1e8bbb(0x193)]['show']({'type':_0x274162[_0x1e8bbb(0x2ee)][_0x1e8bbb(0x297)],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x22b))}),_0x231dd9['id']===_0x11d792['CollaborationUIEventId'][_0x1e8bbb(0x238)]&&this[_0x1e8bbb(0x193)][_0x1e8bbb(0x181)]({'type':_0x274162[_0x1e8bbb(0x2ee)][_0x1e8bbb(0x297)],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x18b))}),_0x231dd9['id']===_0x11d792[_0x1e8bbb(0x1aa)][_0x1e8bbb(0x154)]&&this[_0x1e8bbb(0x175)][_0x1e8bbb(0x181)]({'title':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x2e2)),'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x270)),'type':'error','duration':0x0}),_0x231dd9['id']===_0x11d792['CollaborationUIEventId'][_0x1e8bbb(0x20a)]&&this[_0x1e8bbb(0x193)][_0x1e8bbb(0x181)]({'type':_0x274162['MessageType']['Error'],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x18b))+'('+_0x231dd9[_0x1e8bbb(0x2b0)]+')'}),_0x231dd9['id']===_0x11d792['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1e8bbb(0x181)]({'type':_0x274162['MessageType'][_0x1e8bbb(0x297)],'content':this['_localeService']['t'](_0x231dd9['data']||'')}),_0x231dd9['id']===_0x11d792['CollaborationUIEventId'][_0x1e8bbb(0x356)]&&this[_0x1e8bbb(0x193)][_0x1e8bbb(0x181)]({'type':_0x274162[_0x1e8bbb(0x2ee)][_0x1e8bbb(0x297)],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0xdc))}),_0x231dd9['id']===_0x11d792[_0x1e8bbb(0x1aa)]['SOCKET_FAILED']&&this[_0x1e8bbb(0x193)][_0x1e8bbb(0x181)]({'type':_0x274162[_0x1e8bbb(0x2ee)][_0x1e8bbb(0x26d)],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x251))}),_0x231dd9['id']===_0x11d792[_0x1e8bbb(0x1aa)][_0x1e8bbb(0x1cd)]&&this[_0x1e8bbb(0x193)][_0x1e8bbb(0x181)]({'type':_0x274162[_0x1e8bbb(0x2ee)][_0x1e8bbb(0x26d)],'content':this[_0x1e8bbb(0x1d2)]['t'](_0x1e8bbb(0x2dc))});}));}};_0x41c05f=_0x360d3f([_0x4bb3a5(0x0,_0x7c8947[_0x4466e8(0x137)]),_0x4bb3a5(0x1,_0x11d792[_0x4466e8(0x123)]),_0x4bb3a5(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x11d792['CollaborationUIEventService'])),_0x4bb3a5(0x3,_0x7c8947['IMessageService']),_0x4bb3a5(0x4,_0x7c8947['INotificationService']),_0x4bb3a5(0x5,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7['LocaleService']))],_0x41c05f);const _0x40ceca=_0x4466e8(0x12d),_0x1cb963={},_0x63cdcb=_0x4c5ef7['createIdentifier']('uni.network.url-service');var _0x29261c=Object[_0x4466e8(0x2f2)],_0x1c1db2=(_0x27d9f0,_0x3d7f21,_0xb69122,_0x36c6da)=>{const _0x10c8eb=_0x4466e8;for(var _0x4ca6c7=_0x36c6da>0x1?void 0x0:_0x36c6da?_0x29261c(_0x3d7f21,_0xb69122):_0x3d7f21,_0x46b846=_0x27d9f0[_0x10c8eb(0x157)]-0x1,_0x4a4b74;_0x46b846>=0x0;_0x46b846--)(_0x4a4b74=_0x27d9f0[_0x46b846])&&(_0x4ca6c7=_0x4a4b74(_0x4ca6c7)||_0x4ca6c7);return _0x4ca6c7;},_0x3cfe6e=(_0x4a838f,_0x4b6ad0)=>(_0x35757e,_0x47dffa)=>_0x4b6ad0(_0x35757e,_0x47dffa,_0x4a838f);_0x2e880c['CollaborationDataLoaderController']=class extends _0x4c5ef7['RxDisposable']{constructor(_0x38bf5c,_0xeb90ad,_0x147140,_0x5095dd,_0xeefe4){const _0x17bd20=_0x4466e8;super(),this[_0x17bd20(0x222)]=_0x38bf5c,this[_0x17bd20(0x340)]=_0xeb90ad,this[_0x17bd20(0x2f0)]=_0x147140,this['_dataLoaderService']=_0x5095dd,_0xeefe4?_0xeefe4==null||_0xeefe4[_0x17bd20(0x1be)]()[_0x17bd20(0x122)](()=>this[_0x17bd20(0xf1)]()):(this[_0x17bd20(0x340)][_0x17bd20(0x300)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x17bd20(0xf1)]());}async['_init'](){const _0x18f48b=_0x4466e8,_0x62e8a2=this[_0x18f48b(0x222)][_0x18f48b(0x2e6)](_0x18f48b(0x26e)),_0x306224=this[_0x18f48b(0x222)][_0x18f48b(0x2e6)](_0x18f48b(0x14d)),_0x1d163b=this[_0x18f48b(0x222)]['getParam'](_0x18f48b(0x2ec));if(!_0x62e8a2||!_0x306224){this['_logService']['debug'](_0x18f48b(0x24e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xfcafd5=await this[_0x18f48b(0x14a)][_0x18f48b(0x12c)](_0x62e8a2,Number(_0x306224),_0x1d163b);_0xfcafd5&&_0xfcafd5 instanceof _0x4c5ef7[_0x18f48b(0x138)]&&this['_setupSubUnitSync'](_0xfcafd5);}async['_setupSubUnitSync'](_0x171a8f){const _0x2d34ed=_0x4466e8;await this[_0x2d34ed(0x35e)](_0x171a8f),_0x171a8f['activeSheet$'][_0x2d34ed(0x13d)](_0xb9fcc['takeUntil'](this[_0x2d34ed(0x1df)]))[_0x2d34ed(0x26c)](_0x3a7dc9=>{_0x3a7dc9&&this['_updateURLWithCurrentState'](_0x3a7dc9);}),this[_0x2d34ed(0x222)][_0x2d34ed(0x24b)][_0x2d34ed(0x13d)](_0xb9fcc[_0x2d34ed(0x1c5)](this['dispose$']))[_0x2d34ed(0x26c)](()=>this[_0x2d34ed(0x35e)](_0x171a8f));}[_0x4466e8(0x31a)](_0x354ade,_0x4a9fbe=!0x1){const _0xc6cc=_0x4466e8,_0x325c12=this[_0xc6cc(0x222)][_0xc6cc(0x2e6)]('subunit');_0x354ade[_0xc6cc(0x315)]()!==_0x325c12&&this['_urlService'][_0xc6cc(0x228)]('subunit',_0x354ade['getSheetId'](),_0x4a9fbe);}async[_0x4466e8(0x35e)](_0x1cc0f3){const _0x41a420=_0x4466e8;var _0x3bdad4;const _0x5d3c1a=this['_urlService'][_0x41a420(0x2e6)](_0x41a420(0x2ec));if(!_0x5d3c1a||!_0x1cc0f3[_0x41a420(0x290)](_0x5d3c1a)){const _0x4e0053=_0x1cc0f3[_0x41a420(0x22d)]()[0x0],_0x17867c=_0x1cc0f3[_0x41a420(0x290)](_0x4e0053);if(!_0x17867c)return;this[_0x41a420(0x31a)](_0x17867c,!0x0),await this[_0x41a420(0x2f0)][_0x41a420(0xf3)](_0x49b60a[_0x41a420(0x299)]['id'],{'unitId':_0x1cc0f3[_0x41a420(0x31f)](),'subUnitId':_0x4e0053});return;}((_0x3bdad4=_0x1cc0f3['getActiveSheet']())==null?void 0x0:_0x3bdad4[_0x41a420(0x315)]())!==_0x5d3c1a&&await this[_0x41a420(0x2f0)]['executeCommand'](_0x49b60a['SetWorksheetActivateCommand']['id'],{'unitId':_0x1cc0f3[_0x41a420(0x31f)](),'subUnitId':_0x5d3c1a});}},_0x2e880c['CollaborationDataLoaderController']=_0x1c1db2([_0x3cfe6e(0x0,_0x63cdcb),_0x3cfe6e(0x1,_0x4c5ef7['ILogService']),_0x3cfe6e(0x2,_0x4c5ef7['ICommandService']),_0x3cfe6e(0x3,_0x4c5ef7['Inject'](_0x11d792[_0x4466e8(0x225)])),_0x3cfe6e(0x4,_0x4c5ef7[_0x4466e8(0x178)](_0x20830e[_0x4466e8(0x2f7)]))],_0x2e880c['CollaborationDataLoaderController']);var _0x3fdb25=Object[_0x4466e8(0x2f2)],_0x266c92=(_0x38b509,_0x2a4e59,_0x5d7914,_0x29dc20)=>{const _0x17bce2=_0x4466e8;for(var _0x50f226=_0x29dc20>0x1?void 0x0:_0x29dc20?_0x3fdb25(_0x2a4e59,_0x5d7914):_0x2a4e59,_0x4b6d99=_0x38b509[_0x17bce2(0x157)]-0x1,_0x5a8e9c;_0x4b6d99>=0x0;_0x4b6d99--)(_0x5a8e9c=_0x38b509[_0x4b6d99])&&(_0x50f226=_0x5a8e9c(_0x50f226)||_0x50f226);return _0x50f226;},_0xdb9d5=(_0xb8ac8b,_0x4a7d90)=>(_0x5aadc1,_0x3b6953)=>_0x4a7d90(_0x5aadc1,_0x3b6953,_0xb8ac8b);let _0x27fe91=class{constructor(_0x1451f8,_0x14c865,_0x3828bb){const _0x51ee4c=_0x4466e8;this[_0x51ee4c(0x194)]=_0x1451f8,this['_transformService']=_0x14c865,this[_0x51ee4c(0x16e)]=_0x3828bb;}[_0x4466e8(0x30d)](_0x274311){const _0x4fd2a0=_0x4466e8;this[_0x4fd2a0(0x189)](_0x274311),this[_0x4fd2a0(0x335)](_0x274311);}[_0x4466e8(0xd9)](_0x4703bc){const _0x5e2781=_0x4466e8,{unitID:_0x199c45}=_0x4703bc,_0x28f114=this[_0x5e2781(0x16e)][_0x5e2781(0x2df)](_0x199c45)['with'](_0x2dc0b6[_0x5e2781(0x25e)]),{redoCache:_0x191ddb}=_0x28f114[_0x5e2781(0x260)]();if(_0x191ddb[_0x5e2781(0x157)]===0x0)return _0x4703bc;let _0x1f6e14=_0x4c5ef7[_0x5e2781(0x112)][_0x5e2781(0x36d)](_0x4703bc[_0x5e2781(0x1ba)][0x0]);for(let _0x582fb4=0x0;_0x582fb4<_0x191ddb[_0x5e2781(0x157)];_0x582fb4++){const _0x3984ac={'id':_0x5e2781(0x206),'params':{..._0x191ddb[_0x582fb4]}},_0x180af7=this[_0x5e2781(0x1e8)][_0x5e2781(0x267)](_0x1f6e14,_0x3984ac,!0x1);if(_0x427844['isTransformMutationFailure'](_0x180af7))throw _0x180af7[_0x5e2781(0x2bf)];_0x1f6e14=_0x180af7[_0x5e2781(0x217)];}return{..._0x4c5ef7[_0x5e2781(0x112)][_0x5e2781(0x36d)](_0x4703bc),'mutations':[_0x1f6e14]};}[_0x4466e8(0x189)](_0x39627f){const _0x239154=_0x4466e8,{unitID:_0x4869ab}=_0x39627f,_0x17dd9f=this['_renderManagerService'][_0x239154(0x2df)](_0x4869ab)[_0x239154(0x231)](_0x2dc0b6[_0x239154(0x25e)]),{undoCache:_0x16ed08,redoCache:_0x511277}=_0x17dd9f[_0x239154(0x260)]();if(_0x16ed08['length']===0x0||_0x511277[_0x239154(0x157)]===0x0)return;const _0x1be3f0=[],_0x1f9dd6=[];let _0x838746=_0x4c5ef7[_0x239154(0x112)][_0x239154(0x36d)](_0x39627f[_0x239154(0x1ba)][0x0]),_0x1f2720=_0x4c5ef7[_0x239154(0x112)][_0x239154(0x36d)](_0x39627f['mutations'][0x0]);for(let _0x2e9289=_0x16ed08[_0x239154(0x157)]-0x1;_0x2e9289>=0x0;_0x2e9289--){const _0x35b82f={'id':_0x239154(0x206),'params':{..._0x16ed08[_0x2e9289]}},_0x31672c={'id':_0x239154(0x206),'params':{..._0x511277[_0x2e9289]}},_0xfd1b23=this['_transformService'][_0x239154(0x267)](_0x838746,_0x35b82f,!0x1),_0x2367c7=this[_0x239154(0x1e8)][_0x239154(0x267)](_0x1f2720,_0x31672c,!0x1);if(_0x427844[_0x239154(0x2f5)](_0xfd1b23))throw _0xfd1b23[_0x239154(0x2bf)];if(_0x427844[_0x239154(0x2f5)](_0x2367c7))throw _0x2367c7[_0x239154(0x2bf)];_0x1be3f0['unshift'](_0xfd1b23['m2Prime']['params']),_0x1f9dd6[_0x239154(0x330)](_0x2367c7[_0x239154(0x27e)][_0x239154(0x171)]),_0x838746=_0xfd1b23['m1Prime'],_0x1f2720=_0x2367c7[_0x239154(0x217)];}_0x17dd9f[_0x239154(0x2ac)]({'undoCache':_0x1be3f0,'redoCache':_0x1f9dd6});}[_0x4466e8(0x335)](_0x3c9765){const _0x22d89a=_0x4466e8,{unitID:_0x10c3cd}=_0x3c9765,_0x5a26b9=this[_0x22d89a(0x16e)]['getRenderById'](_0x10c3cd)[_0x22d89a(0x231)](_0x2dc0b6[_0x22d89a(0x25e)]),_0x36a415=_0x5a26b9[_0x22d89a(0x322)]();if(_0x36a415==null)return;const _0x58415e=[{'id':_0x22d89a(0x206),'params':{'unitId':_0x3c9765[_0x22d89a(0x27a)],'actions':null,'textRanges':[_0x36a415]}}],_0x39a219=this['_transformService'][_0x22d89a(0x359)](_0x3c9765,_0x58415e);if(!_0x427844[_0x22d89a(0x2c9)](_0x39a219))throw _0x39a219[_0x22d89a(0x2bf)];const _0x118ec7=_0x39a219['m2Prime'][0x0]['params']['textRanges'];Array[_0x22d89a(0x199)](_0x118ec7)&&_0x118ec7['length']&&_0x5a26b9[_0x22d89a(0x32e)](_0x118ec7[0x0]);}};_0x27fe91=_0x266c92([_0xdb9d5(0x0,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x201)])),_0xdb9d5(0x1,_0x427844[_0x4466e8(0x234)]),_0xdb9d5(0x2,_0x51fe08['IRenderManagerService'])],_0x27fe91);var _0x4c6e03=Object[_0x4466e8(0x2f2)],_0x3d03e2=(_0xd890a4,_0x1842cb,_0x23b6ae,_0x3e5cb3)=>{for(var _0x2d3144=_0x3e5cb3>0x1?void 0x0:_0x3e5cb3?_0x4c6e03(_0x1842cb,_0x23b6ae):_0x1842cb,_0x141cbf=_0xd890a4['length']-0x1,_0x2cb6e9;_0x141cbf>=0x0;_0x141cbf--)(_0x2cb6e9=_0xd890a4[_0x141cbf])&&(_0x2d3144=_0x2cb6e9(_0x2d3144)||_0x2d3144);return _0x2d3144;},_0x3d123a=(_0x68a3ac,_0x39339e)=>(_0x254ed9,_0x4feb7a)=>_0x39339e(_0x254ed9,_0x4feb7a,_0x68a3ac);let _0x5df30f=class{constructor(_0x184947,_0x23aa2b,_0x3e637a){const _0x51ba87=_0x4466e8;this[_0x51ba87(0x194)]=_0x184947,this[_0x51ba87(0x1e8)]=_0x23aa2b,this[_0x51ba87(0x316)]=_0x3e637a;}[_0x4466e8(0x23e)](_0x55b8ec){this['_transformHistoryAndStateStack'](_0x55b8ec);}['transformRemoteChangeset'](_0x5ca0db){const _0xf9fca3=_0x4466e8,{unitID:_0x70fa15}=_0x5ca0db,{collaboration:_0x71c197}=this[_0xf9fca3(0x316)][_0xf9fca3(0x1f6)](_0x70fa15);if(_0x71c197['length']===0x0)return _0x5ca0db;let _0x4f87a4=_0x4c5ef7[_0xf9fca3(0x112)][_0xf9fca3(0x36d)](_0x5ca0db[_0xf9fca3(0x1ba)][0x0]);for(let _0x2828ce=0x0;_0x2828ce<_0x71c197[_0xf9fca3(0x157)];_0x2828ce++){const _0x28177c={'id':_0xf9fca3(0x206),'params':{'unitId':_0x71c197[_0x2828ce][_0xf9fca3(0x117)],..._0x71c197[_0x2828ce]['redoState']}},_0x3e21c9=this[_0xf9fca3(0x1e8)][_0xf9fca3(0x267)](_0x4f87a4,_0x28177c,!0x1);if(_0x427844[_0xf9fca3(0x2f5)](_0x3e21c9))throw _0x3e21c9[_0xf9fca3(0x2bf)];_0x4f87a4=_0x3e21c9[_0xf9fca3(0x217)];}return{..._0x4c5ef7[_0xf9fca3(0x112)][_0xf9fca3(0x36d)](_0x5ca0db),'mutations':[_0x4f87a4]};}[_0x4466e8(0x153)](_0x4b1161){const _0x2a4e42=_0x4466e8,{unitID:_0x516981}=_0x4b1161,{history:_0x53cc64,collaboration:_0x22ad41}=this[_0x2a4e42(0x316)]['getStateCache'](_0x516981);if(_0x53cc64['length']===0x0&&_0x22ad41['length']===0x0)return;const _0x5d72ba=[],_0x31a907=[];let _0x4ec0ac=_0x4c5ef7['Tools'][_0x2a4e42(0x36d)](_0x4b1161[_0x2a4e42(0x1ba)][0x0]),_0x35e4b5=_0x4c5ef7[_0x2a4e42(0x112)][_0x2a4e42(0x36d)](_0x4b1161[_0x2a4e42(0x1ba)][0x0]);for(let _0x752d83=_0x53cc64[_0x2a4e42(0x157)]-0x1;_0x752d83>=0x0;_0x752d83--){const _0x191d15={'id':_0x2a4e42(0x206),'params':{'unitId':_0x53cc64[_0x752d83][_0x2a4e42(0x117)],..._0x53cc64[_0x752d83][_0x2a4e42(0xee)]}},_0x263f5c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53cc64[_0x752d83][_0x2a4e42(0x117)],..._0x53cc64[_0x752d83][_0x2a4e42(0x272)]}},_0x33735c=this[_0x2a4e42(0x1e8)][_0x2a4e42(0x267)](_0x4ec0ac,_0x191d15,!0x1),_0xdfc616=this[_0x2a4e42(0x1e8)][_0x2a4e42(0x267)](_0x35e4b5,_0x263f5c,!0x1);if(_0x427844[_0x2a4e42(0x2f5)](_0x33735c))throw _0x33735c['error'];if(_0x427844['isTransformMutationFailure'](_0xdfc616))throw _0xdfc616[_0x2a4e42(0x2bf)];_0x5d72ba['unshift']({..._0x53cc64[_0x752d83],'undoState':_0x33735c[_0x2a4e42(0x27e)]['params'],'redoState':_0xdfc616['m2Prime']['params']}),_0x4ec0ac=_0x33735c[_0x2a4e42(0x217)],_0x35e4b5=_0xdfc616[_0x2a4e42(0x217)];}_0x4ec0ac=_0x4c5ef7['Tools'][_0x2a4e42(0x36d)](_0x4b1161[_0x2a4e42(0x1ba)][0x0]),_0x35e4b5=_0x4c5ef7[_0x2a4e42(0x112)]['deepClone'](_0x4b1161[_0x2a4e42(0x1ba)][0x0]);for(let _0x53ee6d=_0x22ad41[_0x2a4e42(0x157)]-0x1;_0x53ee6d>=0x0;_0x53ee6d--){const _0x351a0f={'id':_0x2a4e42(0x206),'params':{'unitId':_0x22ad41[_0x53ee6d]['unitId'],..._0x22ad41[_0x53ee6d][_0x2a4e42(0xee)]}},_0x45e8ed={'id':_0x2a4e42(0x206),'params':{'unitId':_0x22ad41[_0x53ee6d][_0x2a4e42(0x117)],..._0x22ad41[_0x53ee6d][_0x2a4e42(0x272)]}},_0x35ddc8=this[_0x2a4e42(0x1e8)][_0x2a4e42(0x267)](_0x4ec0ac,_0x351a0f,!0x1),_0x4ae08e=this[_0x2a4e42(0x1e8)][_0x2a4e42(0x267)](_0x35e4b5,_0x45e8ed,!0x1);if(_0x427844[_0x2a4e42(0x2f5)](_0x35ddc8))throw _0x35ddc8[_0x2a4e42(0x2bf)];if(_0x427844[_0x2a4e42(0x2f5)](_0x4ae08e))throw _0x4ae08e['error'];_0x31a907[_0x2a4e42(0x330)]({..._0x22ad41[_0x53ee6d],'undoState':_0x35ddc8['m2Prime'][_0x2a4e42(0x171)],'redoState':_0x4ae08e[_0x2a4e42(0x27e)][_0x2a4e42(0x171)]}),_0x4ec0ac=_0x35ddc8[_0x2a4e42(0x217)],_0x35e4b5=_0x4ae08e[_0x2a4e42(0x217)];}this['_docStateChangeManagerService'][_0x2a4e42(0x191)](_0x516981,{'history':_0x5d72ba,'collaboration':_0x31a907});}};_0x5df30f=_0x3d03e2([_0x3d123a(0x0,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7['Injector'])),_0x3d123a(0x1,_0x427844[_0x4466e8(0x234)]),_0x3d123a(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x2dc0b6[_0x4466e8(0x277)]))],_0x5df30f);var _0xc7f5fb=Object[_0x4466e8(0x2f2)],_0x2e0bfa=(_0x77ccc6,_0x4310e8,_0x431859,_0x56766e)=>{for(var _0x118f26=_0x56766e>0x1?void 0x0:_0x56766e?_0xc7f5fb(_0x4310e8,_0x431859):_0x4310e8,_0x4a2851=_0x77ccc6['length']-0x1,_0x479599;_0x4a2851>=0x0;_0x4a2851--)(_0x479599=_0x77ccc6[_0x4a2851])&&(_0x118f26=_0x479599(_0x118f26)||_0x118f26);return _0x118f26;},_0x1b9d24=(_0x21c726,_0x38abe3)=>(_0x23ce41,_0x66492f)=>_0x38abe3(_0x23ce41,_0x66492f,_0x21c726);let _0x1d1f04=class{constructor(_0xad40df,_0x3a6ce4){const _0xfce5ec=_0x4466e8;this[_0xfce5ec(0x194)]=_0xad40df,this[_0xfce5ec(0x1e8)]=_0x3a6ce4;}[_0x4466e8(0x10b)](_0x26b96d){const _0x1bcbf1=_0x4466e8;var _0x10b638;const _0x2d0c5b=this['_injector'][_0x1bcbf1(0x214)](_0x41a194[_0x1bcbf1(0x338)]),_0x2ffa15=(_0x10b638=_0x2d0c5b['getDocRanges']())!=null?_0x10b638:[];if(_0x2ffa15['length']===0x0)return;const _0x4d90cc=_0x26b96d['unitID'],_0x5da652=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d90cc,'actions':null,'textRanges':_0x2ffa15}}],_0x4404ac=this['_transformService'][_0x1bcbf1(0x359)](_0x26b96d,_0x5da652);if(!_0x427844['isTransformMutationsWithChangesetSuccess'](_0x4404ac))throw _0x4404ac[_0x1bcbf1(0x2bf)];const _0xfd43c0=_0x4404ac[_0x1bcbf1(0x27e)][0x0][_0x1bcbf1(0x171)][_0x1bcbf1(0x1c2)];Array['isArray'](_0xfd43c0)&&_0xfd43c0[_0x1bcbf1(0x157)]&&_0x2d0c5b[_0x1bcbf1(0x30b)](_0xfd43c0,{'unitId':_0x4d90cc,'subUnitId':_0x4d90cc},!0x1);}};_0x1d1f04=_0x2e0bfa([_0x1b9d24(0x0,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x201)])),_0x1b9d24(0x1,_0x427844['ITransformService'])],_0x1d1f04);var _0x3c230b=Object[_0x4466e8(0x2f2)],_0x2fdb73=(_0x5b7548,_0x130429,_0x3e0f5b,_0x481598)=>{for(var _0x5e8abc=_0x481598>0x1?void 0x0:_0x481598?_0x3c230b(_0x130429,_0x3e0f5b):_0x130429,_0x250408=_0x5b7548['length']-0x1,_0x58b3eb;_0x250408>=0x0;_0x250408--)(_0x58b3eb=_0x5b7548[_0x250408])&&(_0x5e8abc=_0x58b3eb(_0x5e8abc)||_0x5e8abc);return _0x5e8abc;},_0x4211a5=(_0x41f041,_0x52de3c)=>(_0x1fdef4,_0x38b2e8)=>_0x52de3c(_0x1fdef4,_0x38b2e8,_0x41f041);let _0x459a86=class extends _0x4c5ef7['Disposable']{constructor(_0x32746d,_0x20a703,_0x1d26ac,_0x21d0cc,_0x20b4aa,_0x54785c,_0x153b9f,_0x6739a9){const _0x1b1a50=_0x4466e8;super(),_0x43bbde(this,_0x1b1a50(0x1ae),new _0xb9fcc[(_0x1b1a50(0x13e))](_0x11d792[_0x1b1a50(0x346)]['NOT_COLLAB'])),(this[_0x1b1a50(0x316)]=_0x32746d,this['_collaborationController']=_0x20a703,this[_0x1b1a50(0x1a2)]=_0x1d26ac,this[_0x1b1a50(0x24f)]=_0x21d0cc,this[_0x1b1a50(0x22c)]=_0x20b4aa,this['_docSyncEditingCollabCursorService']=_0x54785c,this[_0x1b1a50(0x193)]=_0x153b9f,this[_0x1b1a50(0x1d2)]=_0x6739a9,this[_0x1b1a50(0x15b)]());}[_0x4466e8(0x15b)](){const _0x5c397a=_0x4466e8;this[_0x5c397a(0x1b8)](this[_0x5c397a(0x2de)]['entityInit$']['subscribe'](_0x1d7d9f=>{const _0x2d13e8=_0x5c397a,_0x242941=this[_0x2d13e8(0x316)]['docStateChange$'][_0x2d13e8(0x26c)](_0x3933a4=>{const _0x2d9dda=_0x2d13e8;if(_0x3933a4==null)return;const {unitId:_0x30917f,redoState:_0x4abd98,commandId:_0x423ae5}=_0x3933a4;if(_0x30917f!==_0x1d7d9f[_0x2d9dda(0x27a)])return;const _0xc2f3df={'id':_0x423ae5,'type':_0x4c5ef7[_0x2d9dda(0x1fb)][_0x2d9dda(0x13c)],'params':{'unitId':_0x30917f,'actions':_0x4abd98[_0x2d9dda(0x152)],'textRanges':null}};_0x1d7d9f[_0x2d9dda(0x25b)](_0xc2f3df);});if(_0x1d7d9f[_0x2d13e8(0x1b8)](_0x242941),_0x1d7d9f instanceof _0x11d792[_0x2d13e8(0x126)]){const _0x4ef3a2={'onTransformIME':_0x467381=>this[_0x2d13e8(0x1a2)][_0x2d13e8(0x30d)](_0x467381),'onTransformState':_0x45f2d8=>this[_0x2d13e8(0x24f)][_0x2d13e8(0x23e)](_0x45f2d8),'onTransformSelections':_0x10c3be=>this[_0x2d13e8(0x22c)][_0x2d13e8(0x10b)](_0x10c3be),'onSyncEditingCollabCursor':_0x56fa1a=>this['_docSyncEditingCollabCursorService'][_0x2d13e8(0x2d4)](_0x56fa1a),'onTransformRemoteChangesetByIMECache':_0xf8b015=>this[_0x2d13e8(0x1a2)][_0x2d13e8(0xd9)](_0xf8b015),'onTransformRemoteChangesetByStateCache':_0x2a6693=>this[_0x2d13e8(0x24f)]['transformRemoteChangeset'](_0x2a6693)};_0x1d7d9f['addHandlerCallback'](_0x4ef3a2);}}));}};_0x459a86=_0x2fdb73([_0x4211a5(0x0,_0x4c5ef7['Inject'](_0x2dc0b6['DocStateChangeManagerService'])),_0x4211a5(0x1,_0x4c5ef7['Inject'](_0x11d792[_0x4466e8(0x15e)])),_0x4211a5(0x2,_0x4c5ef7[_0x4466e8(0x17c)](_0x27fe91)),_0x4211a5(0x3,_0x4c5ef7['Inject'](_0x5df30f)),_0x4211a5(0x4,_0x4c5ef7[_0x4466e8(0x17c)](_0x1d1f04)),_0x4211a5(0x5,_0x4c5ef7[_0x4466e8(0x17c)](_0xacfa1d)),_0x4211a5(0x6,_0x7c8947[_0x4466e8(0x2b6)]),_0x4211a5(0x7,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x1f3)]))],_0x459a86);var _0x207fbf=Object['getOwnPropertyDescriptor'],_0x5764af=(_0xb410e9,_0xd6d4b0,_0x445de1,_0x195b8d)=>{const _0x58f097=_0x4466e8;for(var _0x471926=_0x195b8d>0x1?void 0x0:_0x195b8d?_0x207fbf(_0xd6d4b0,_0x445de1):_0xd6d4b0,_0x5e836c=_0xb410e9[_0x58f097(0x157)]-0x1,_0x48a9f5;_0x5e836c>=0x0;_0x5e836c--)(_0x48a9f5=_0xb410e9[_0x5e836c])&&(_0x471926=_0x48a9f5(_0x471926)||_0x471926);return _0x471926;},_0x53e6ee=(_0x447cc7,_0x301d09)=>(_0x1e5559,_0x3d6ca5)=>_0x301d09(_0x1e5559,_0x3d6ca5,_0x447cc7);let _0x5d4a82=class extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(_0xc15255,_0x22c5d7,_0x864b70){const _0x219309=_0x4466e8;super(),_0x43bbde(this,'_cachedData',new Map()),_0x43bbde(this,_0x219309(0x369),new Map()),_0x43bbde(this,_0x219309(0x282),!0x1),(this[_0x219309(0x1e6)]=_0xc15255,this[_0x219309(0x1c4)]=_0x22c5d7,this[_0x219309(0x15a)]=_0x864b70);}[_0x4466e8(0x253)](){this['_disabled']=!0x0;}[_0x4466e8(0x134)](){this['_disabled']=!0x1;}get[_0x4466e8(0x1ce)](){const _0x521cc6=_0x4466e8;return this[_0x521cc6(0x369)];}['dispose'](){const _0x446ac0=_0x4466e8;this[_0x446ac0(0xfd)]()['then'](()=>super[_0x446ac0(0x13b)]());}async[_0x4466e8(0x21a)](_0xd5a7db){const _0x129d22=_0x4466e8;return this[_0x129d22(0x282)]?null:this[_0x129d22(0x1c4)]['getItem'](_0x11d792[_0x129d22(0x2a2)](_0xd5a7db));}async[_0x4466e8(0x1a8)](_0x1387d0,_0xbf04f5){const _0x447301=_0x4466e8;return!!this[_0x447301(0x1c4)]['setItem'](_0x1387d0,_0xbf04f5);}[_0x4466e8(0x23a)](_0x49dfd6,_0x5ac8f5,_0x2ab2fc,_0x1127ab){const _0x4d0718=_0x4466e8,_0x28f5f0=this[_0x4d0718(0x15a)][_0x4d0718(0x151)](_0x49dfd6);this[_0x4d0718(0x273)][_0x4d0718(0x172)](_0x49dfd6,{'unitID':_0x49dfd6,'type':_0x5ac8f5,'awaitingChangeset':_0x2ab2fc,'mutations':_0x1127ab,'rev':_0x28f5f0}),this['_saveTaskMap'][_0x4d0718(0x28e)](_0x49dfd6)||this[_0x4d0718(0x1d3)](_0x49dfd6);}['_scheduleSaving'](_0x297c63){const _0x57b28c=_0x4466e8,_0x24254b=this[_0x57b28c(0x2ae)]();_0x24254b===0x0?this['_saveCache'](_0x297c63):this[_0x57b28c(0x369)]['set'](_0x297c63,setTimeout(()=>this[_0x57b28c(0x372)](_0x297c63),_0x24254b));}[_0x4466e8(0x2ae)](){const _0x2bad1a=_0x4466e8;var _0x4ba7b0;return(_0x4ba7b0=this[_0x2bad1a(0x1e6)][_0x2bad1a(0x2a8)](_0x11d792[_0x2bad1a(0x321)]))!=null?_0x4ba7b0:_0x11d792[_0x2bad1a(0x223)];}[_0x4466e8(0x372)](_0x489276){const _0x45cab8=_0x4466e8,_0x1f3356=this[_0x45cab8(0x369)][_0x45cab8(0x214)](_0x489276);return _0x1f3356!==void 0x0&&window['clearTimeout'](_0x1f3356),this[_0x45cab8(0x1c4)]['setItem'](_0x11d792[_0x45cab8(0x2a2)](_0x489276),this[_0x45cab8(0x273)][_0x45cab8(0x214)](_0x489276))['then'](()=>this[_0x45cab8(0x369)][_0x45cab8(0x1ed)](_0x489276));}async[_0x4466e8(0xfd)](){const _0x59fb40=_0x4466e8,_0x2ba936=[];this[_0x59fb40(0x369)][_0x59fb40(0x2ad)]((_0x4f9661,_0x1f9d7e)=>{const _0x1c3dbd=_0x59fb40;window[_0x1c3dbd(0x1b9)](_0x4f9661),_0x2ba936[_0x1c3dbd(0x2ba)](this[_0x1c3dbd(0x372)](_0x1f9d7e)[_0x1c3dbd(0x122)](()=>{const _0x33b364=_0x1c3dbd;this[_0x33b364(0x369)]['delete'](_0x1f9d7e);}));}),await Promise[_0x59fb40(0x224)](_0x2ba936);}};_0x5d4a82=_0x5764af([_0x53e6ee(0x0,_0x4c5ef7[_0x4466e8(0x33f)]),_0x53e6ee(0x1,_0x4c5ef7['ILocalStorageService']),_0x53e6ee(0x2,_0x4c5ef7['Inject'](_0x427844[_0x4466e8(0x210)]))],_0x5d4a82);class _0x50f20d extends _0x4c5ef7[_0x4466e8(0x337)]{constructor(){const _0x44b596=_0x4466e8;super(),_0x43bbde(this,_0x44b596(0x24b)),this[_0x44b596(0x24b)]=_0xb9fcc[_0x44b596(0x245)](window,_0x44b596(0x314))[_0x44b596(0x13d)](_0xb9fcc[_0x44b596(0x1c5)](this[_0x44b596(0x1df)]),_0xb9fcc[_0x44b596(0x125)](0x1),_0xb9fcc[_0x44b596(0x34b)](void 0x0));}[_0x4466e8(0x228)](_0x2857a4,_0x911b96,_0x4d1c23=!0x1){const _0x5ad939=_0x4466e8,_0x752e84=new URL(window[_0x5ad939(0x33b)][_0x5ad939(0x25d)]);_0x752e84[_0x5ad939(0x12b)][_0x5ad939(0x172)](_0x2857a4,_0x911b96),_0x4d1c23?window['history'][_0x5ad939(0x1ab)]('','',_0x752e84[_0x5ad939(0x244)]()):window[_0x5ad939(0x329)][_0x5ad939(0x29f)]('','',_0x752e84[_0x5ad939(0x244)]());}[_0x4466e8(0x16b)](_0x4f5c1d,_0x445286=!0x1){const _0x84aeff=_0x4466e8,_0x1a81e1=new URL(window[_0x84aeff(0x33b)]['href']);_0x1a81e1[_0x84aeff(0x12b)][_0x84aeff(0x1ed)](_0x4f5c1d),_0x445286?window['history'][_0x84aeff(0x1ab)]('','',_0x1a81e1[_0x84aeff(0x244)]()):window[_0x84aeff(0x329)]['pushState']('','',_0x1a81e1['toString']());}[_0x4466e8(0x2e6)](_0x3ed9e8){const _0x44d25a=_0x4466e8;var _0x304c07;return(_0x304c07=new URL(window[_0x44d25a(0x33b)][_0x44d25a(0x25d)])[_0x44d25a(0x12b)]['get'](_0x3ed9e8))!=null?_0x304c07:void 0x0;}}var _0x103963=Object[_0x4466e8(0x202)],_0x58c48b=Object[_0x4466e8(0x2f2)],_0x5f22de=(_0x34c1cf,_0x276da,_0x5b7c4e)=>_0x276da in _0x34c1cf?_0x103963(_0x34c1cf,_0x276da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b7c4e}):_0x34c1cf[_0x276da]=_0x5b7c4e,_0x3c8006=(_0x4d41e2,_0x781300,_0x5b6f86,_0xf5d101)=>{const _0x591a56=_0x4466e8;for(var _0x2f9a3d=_0xf5d101>0x1?void 0x0:_0xf5d101?_0x58c48b(_0x781300,_0x5b6f86):_0x781300,_0x1def39=_0x4d41e2[_0x591a56(0x157)]-0x1,_0x45850f;_0x1def39>=0x0;_0x1def39--)(_0x45850f=_0x4d41e2[_0x1def39])&&(_0x2f9a3d=_0x45850f(_0x2f9a3d)||_0x2f9a3d);return _0x2f9a3d;},_0x4c4284=(_0x4a37f7,_0x861574)=>(_0x53c3ff,_0xfff5fa)=>_0x861574(_0x53c3ff,_0xfff5fa,_0x4a37f7),_0x4de5bb=(_0x3a4b65,_0x1798d0,_0x5d7196)=>_0x5f22de(_0x3a4b65,_0x1798d0+'',_0x5d7196);const _0x173bb6=_0x4466e8(0x1e3);_0x2e880c[_0x4466e8(0x331)]=class extends _0x4c5ef7[_0x4466e8(0x247)]{constructor(_0x17f79=_0x1cb963,_0x30b9e4,_0x45c849,_0x1ce4bb){const _0x38263d=_0x4466e8;super(),this[_0x38263d(0x1bf)]=_0x17f79,this[_0x38263d(0x16e)]=_0x30b9e4,this['_injector']=_0x45c849,this[_0x38263d(0x1e6)]=_0x1ce4bb;const {..._0x144c58}=_0x4c5ef7['merge']({},_0x1cb963,this['_config']);this[_0x38263d(0x1e6)][_0x38263d(0x304)](_0x40ceca,_0x144c58);}[_0x4466e8(0x2fb)](){const _0x421cfe=_0x4466e8;this['_registerDependencies'](),this[_0x421cfe(0x198)]();}['onRendered'](){const _0x5c88e8=_0x4466e8;this[_0x5c88e8(0x16d)]();}[_0x4466e8(0x2dd)](){const _0x4b42ad=_0x4466e8;var _0x2d3bad;const _0x49255d=[[_0x378e26],[_0x1d1f04],[_0x27fe91],[_0x5df30f],[_0xacfa1d],[_0x63cdcb,{'useClass':_0x50f20d}],[_0x4311da[_0x4b42ad(0x120)],{'useClass':_0x4311da[_0x4b42ad(0x375)]}],[_0x11d792[_0x4b42ad(0x123)],{'useClass':_0x5d4a82}],[_0x2e880c[_0x4b42ad(0x325)]],[_0x459a86],[_0x41c05f],[_0x50cdf2],[_0xf97443],[_0x2e880c[_0x4b42ad(0x110)]]];_0x4c5ef7[_0x4b42ad(0x30c)](this['_injector'],_0x4c5ef7[_0x4b42ad(0x2fe)](_0x49255d,(_0x2d3bad=this[_0x4b42ad(0x1bf)])==null?void 0x0:_0x2d3bad[_0x4b42ad(0x211)]));}[_0x4466e8(0x16d)](){const _0xbdd785=_0x4466e8;this[_0xbdd785(0x1b8)](this[_0xbdd785(0x16e)]['registerRenderModule'](_0x4c5ef7[_0xbdd785(0x2b1)][_0xbdd785(0x11b)],[_0x1cf57c])),this[_0xbdd785(0x1b8)](this[_0xbdd785(0x16e)]['registerRenderModule'](_0x4c5ef7['UniverInstanceType'][_0xbdd785(0x205)],[_0x24188a]));}[_0x4466e8(0x198)](){const _0x3a219e=_0x4466e8;_0x4c5ef7['touchDependencies'](this[_0x3a219e(0x194)],[[_0x50cdf2],[_0x2e880c[_0x3a219e(0x325)]],[_0x459a86],[_0x41c05f],[_0x2e880c[_0x3a219e(0x110)]]]);}},_0x4de5bb(_0x2e880c['UniverCollaborationClientUIPlugin'],_0x4466e8(0x33c),_0x173bb6),_0x2e880c[_0x4466e8(0x331)]=_0x3c8006([_0x4c5ef7[_0x4466e8(0xfb)](_0x11d792[_0x4466e8(0x1c7)]),_0x4c4284(0x1,_0x51fe08[_0x4466e8(0x259)]),_0x4c4284(0x2,_0x4c5ef7['Inject'](_0x4c5ef7[_0x4466e8(0x201)])),_0x4c4284(0x3,_0x4c5ef7[_0x4466e8(0x33f)])],_0x2e880c[_0x4466e8(0x331)]);var _0x4e07ac=Object[_0x4466e8(0x2f2)],_0x55343d=(_0x5d70df,_0x7a0a88,_0x1d39c1,_0x13cd4e)=>{const _0x4fd189=_0x4466e8;for(var _0x98933f=_0x13cd4e>0x1?void 0x0:_0x13cd4e?_0x4e07ac(_0x7a0a88,_0x1d39c1):_0x7a0a88,_0x17ca0d=_0x5d70df[_0x4fd189(0x157)]-0x1,_0x4eb4f3;_0x17ca0d>=0x0;_0x17ca0d--)(_0x4eb4f3=_0x5d70df[_0x17ca0d])&&(_0x98933f=_0x4eb4f3(_0x98933f)||_0x98933f);return _0x98933f;},_0x42fdc3=(_0x4a8859,_0x3c9c1b)=>(_0x3969ee,_0x271a00)=>_0x3c9c1b(_0x3969ee,_0x271a00,_0x4a8859);_0x2e880c[_0x4466e8(0x1c0)]=class extends _0x11d792[_0x4466e8(0xe2)]{constructor(_0x58bc4f,_0x39cb52,_0x47ef8a,_0x509f85,_0x4b806d){super(_0x58bc4f,_0x39cb52,_0x47ef8a,_0x509f85,_0x4b806d);}async[_0x4466e8(0x26b)](_0x563cd6){const _0x37b1fb=_0x4466e8,_0x1e5caf=await this[_0x37b1fb(0x2ed)](),_0x310588=this[_0x37b1fb(0xea)](_0x563cd6,_0x1e5caf);return this[_0x37b1fb(0x1d8)](_0x310588);}[_0x4466e8(0xea)](_0xe12ca6,_0x40cb05){const _0x2b6a83=_0x4466e8,_0x4ca2f8=typeof window>'u'?new URL(_0xe12ca6):new URL(_0xe12ca6,window[_0x2b6a83(0x33b)][_0x2b6a83(0x2f9)]);_0x4ca2f8[_0x2b6a83(0x12b)][_0x2b6a83(0x172)](_0x2b6a83(0x248),_0x40cb05);const _0x28b663=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2b6a83(0x1fd)]);return _0x28b663[_0x2b6a83(0x214)](_0x2b6a83(0x1a1))&&_0x4ca2f8[_0x2b6a83(0x12b)][_0x2b6a83(0x172)](_0x2b6a83(0x1a1),_0x28b663[_0x2b6a83(0x214)](_0x2b6a83(0x1a1))),_0x4ca2f8[_0x2b6a83(0x244)]();}async[_0x4466e8(0x2ed)](){const _0x17770b=_0x4466e8;var _0x3eb272,_0x59770f,_0x259c1f;const _0x11d428=this[_0x17770b(0x1e6)][_0x17770b(0x2a8)](_0x11d792['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3b7235=(_0x3eb272=_0x11d428==null?void 0x0:_0x11d428[_0x17770b(0x2d7)])!=null?_0x3eb272:_0x11d792['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x259c1f=(_0x59770f=(await this[_0x17770b(0x207)][_0x17770b(0x214)](_0x3b7235,{'headers':{'Content-Type':_0x17770b(0x165)}}))[_0x17770b(0x135)])==null?void 0x0:_0x59770f[_0x17770b(0x26a)])!=null?_0x259c1f:'';}},_0x2e880c['BrowserCollaborationSocketService']=_0x55343d([_0x42fdc3(0x0,_0x4c5ef7[_0x4466e8(0x17c)](_0x4c5ef7[_0x4466e8(0x201)])),_0x42fdc3(0x1,_0x4c5ef7['Inject'](_0x4311da[_0x4466e8(0x311)])),_0x42fdc3(0x2,_0x4c5ef7[_0x4466e8(0x33f)]),_0x42fdc3(0x3,_0x4c5ef7[_0x4466e8(0x2ff)]),_0x42fdc3(0x4,_0x427844['ISnapshotServerService'])],_0x2e880c['BrowserCollaborationSocketService']);const _0x1021f4=0x7530,_0x35a575=_0x4466e8(0x11a);class _0x399779 extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(){const _0x42de1f=_0x4466e8;super(),_0x43bbde(this,'_id',_0x4c5ef7[_0x42de1f(0x287)]()),_0x43bbde(this,'_selfUnitIDs',new Set()),_0x43bbde(this,'_unitOnClients',new Map()),_0x43bbde(this,_0x42de1f(0x1b7),null),_0x43bbde(this,_0x42de1f(0xdb),new Map()),_0x43bbde(this,_0x42de1f(0x190),new Map()),this['_init']();}[_0x4466e8(0x13b)](){const _0x45b76b=_0x4466e8;super[_0x45b76b(0x13b)](),this[_0x45b76b(0xdb)][_0x45b76b(0x2ad)]((_0x4fd525,_0x14eedf)=>this['_removeClearOtherTimer'](_0x14eedf)),this[_0x45b76b(0x1b7)]&&window[_0x45b76b(0x1e2)](this['_heartbeatTimer']);}[_0x4466e8(0x1a3)](_0x1d3223){const _0x28e721=_0x4466e8;return this[_0x28e721(0x1ea)](_0x1d3223)[_0x28e721(0x13d)](_0xb9fcc['distinctUntilChanged']());}['editingUnit'](_0x3ff3c4){const _0x33daba=_0x4466e8;this[_0x33daba(0xf9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x33daba(0xf9)][_0x33daba(0x17e)](_0x3ff3c4),this['_send']({'type':0x0,'memberID':this[_0x33daba(0x1de)],'unitIDs':[_0x3ff3c4],'isForwarded':!0x1});}[_0x4466e8(0x373)](_0x28696d){const _0x448005=_0x4466e8;this[_0x448005(0xf9)][_0x448005(0x1ed)](_0x28696d),this[_0x448005(0xf9)][_0x448005(0x163)]===0x0&&this[_0x448005(0x1b7)]&&window[_0x448005(0x1e2)](this[_0x448005(0x1b7)]);}[_0x4466e8(0xf1)](){const _0x22e3bb=_0x4466e8;this[_0x22e3bb(0x1b8)](_0x4c5ef7[_0x22e3bb(0x352)](_0xb9fcc[_0x22e3bb(0x245)](window,'storage')['subscribe'](_0x562fbc=>{const _0xc92aa4=_0x22e3bb;if(_0x562fbc[_0xc92aa4(0x15f)]!==_0x35a575||!_0x562fbc['newValue'])return;const _0x26679c=JSON['parse'](_0x562fbc['newValue']);this[_0xc92aa4(0x36e)](_0x26679c);}))),window[_0x22e3bb(0x219)]('unload',()=>this[_0x22e3bb(0x2c6)]({'type':0x1,'memberID':this[_0x22e3bb(0x1de)],'unitIDs':Array[_0x22e3bb(0x326)](this[_0x22e3bb(0xf9)])}));}[_0x4466e8(0x36e)](_0x59e86d){const _0x1a5e9f=_0x4466e8;switch(_0x59e86d[_0x1a5e9f(0x14d)]){case 0x0:this[_0x1a5e9f(0x1d6)](_0x59e86d);break;case 0x1:this[_0x1a5e9f(0x1cf)](_0x59e86d);break;case 0x2:this['_handleHeartbeatEvent'](_0x59e86d);break;}}[_0x4466e8(0x1d6)](_0x43d3db){const _0xcb436a=_0x4466e8,{unitIDs:_0x509759,memberID:_0x54a750,isForwarded:_0x39538b}=_0x43d3db;_0x509759[_0xcb436a(0x2ad)](_0x1575c3=>{const _0x4fe4e4=_0xcb436a;if(!_0x39538b&&this[_0x4fe4e4(0x348)][_0x4fe4e4(0x28e)](_0x1575c3)&&this[_0x4fe4e4(0x1ea)](_0x1575c3)[_0x4fe4e4(0x1bc)](_0x11d792['UnitStatus'][_0x4fe4e4(0x2d3)]),!this[_0x4fe4e4(0x348)][_0x4fe4e4(0x28e)](_0x1575c3)||!this[_0x4fe4e4(0x348)]['get'](_0x1575c3)[_0x4fe4e4(0x28e)](_0x54a750)){const _0x254f63=this[_0x4fe4e4(0x348)][_0x4fe4e4(0x214)](_0x1575c3)||new Set();_0x254f63[_0x4fe4e4(0x17e)](_0x54a750),this[_0x4fe4e4(0x348)][_0x4fe4e4(0x172)](_0x1575c3,_0x254f63),this['_scheduleClearOtherTimer'](_0x54a750);}}),_0x39538b||this['_send']({'type':0x0,'memberID':this[_0xcb436a(0x1de)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4466e8(0xe9)](_0x113fe8){const _0x32ffdf=_0x4466e8;this[_0x32ffdf(0x1f8)](_0x113fe8);const _0x1ecaa7=window[_0x32ffdf(0x146)](()=>{const _0x4a608a=_0x32ffdf;this[_0x4a608a(0x348)][_0x4a608a(0x2ad)](_0x75d6ea=>{const _0x1faaf1=_0x4a608a;_0x75d6ea[_0x1faaf1(0x1ed)](_0x113fe8);});},_0x1021f4*0x2);this[_0x32ffdf(0xdb)][_0x32ffdf(0x172)](_0x113fe8,_0x1ecaa7);}['_removeClearOtherTimer'](_0x342cc2){const _0x463933=_0x4466e8;if(this[_0x463933(0xdb)][_0x463933(0x28e)](_0x342cc2)){const _0x21a169=this['_clearOtherTimers']['get'](_0x342cc2);_0x21a169&&window[_0x463933(0x1b9)](_0x21a169),this['_clearOtherTimers'][_0x463933(0x172)](_0x342cc2,null);}}[_0x4466e8(0x1cf)](_0x29e055){const _0x2b4b98=_0x4466e8,{memberID:_0x3dc527,unitIDs:_0x2957e5}=_0x29e055;_0x2957e5[_0x2b4b98(0x2ad)](_0x5d0422=>{const _0x5a4703=_0x2b4b98;var _0x505b2b;const _0x5284a7=this[_0x5a4703(0x348)][_0x5a4703(0x214)](_0x5d0422);_0x5284a7&&(_0x5284a7[_0x5a4703(0x1ed)](_0x3dc527),(_0x505b2b=this['_ensureSubject'](_0x5d0422))==null||_0x505b2b[_0x5a4703(0x1bc)](_0x5284a7[_0x5a4703(0x163)]===0x0?_0x11d792['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x11d792['UnitStatus'][_0x5a4703(0x2d3)]));}),this[_0x2b4b98(0x1f8)](_0x3dc527);}[_0x4466e8(0x2da)](_0x20dd1c){const _0x25d5d6=_0x4466e8;this[_0x25d5d6(0xe9)](_0x20dd1c[_0x25d5d6(0x21e)]);}[_0x4466e8(0x2c6)](_0x58417c){const _0x1ee333=_0x4466e8;localStorage[_0x1ee333(0x347)](_0x35a575,JSON[_0x1ee333(0x1a5)](_0x58417c));}[_0x4466e8(0x116)](){const _0x3c2332=_0x4466e8;this[_0x3c2332(0x1b7)]=window[_0x3c2332(0x1d0)](()=>{const _0x3c866c=_0x3c2332;this['_send']({'type':0x2,'memberID':this[_0x3c866c(0x1de)]});},_0x1021f4);}[_0x4466e8(0x1ea)](_0x192e02){const _0x750f03=_0x4466e8;return this[_0x750f03(0x190)][_0x750f03(0x28e)](_0x192e02)||this['_unitStatus'][_0x750f03(0x172)](_0x192e02,new _0xb9fcc['BehaviorSubject'](_0x11d792[_0x750f03(0x21d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x750f03(0x190)]['get'](_0x192e02);}}var _0x4d77c8=(_0x5eaf69=>(_0x5eaf69[_0x5eaf69[_0x4466e8(0x371)]=0x0]='UNDEFINED',_0x5eaf69[_0x5eaf69['OK']=0x1]='OK',_0x5eaf69[_0x5eaf69[_0x4466e8(0x26f)]=0x2]=_0x4466e8(0x26f),_0x5eaf69[_0x5eaf69[_0x4466e8(0x154)]=0x3]=_0x4466e8(0x154),_0x5eaf69[_0x5eaf69[_0x4466e8(0x164)]=0x4]=_0x4466e8(0x164),_0x5eaf69[_0x5eaf69[_0x4466e8(0x281)]=0x5]=_0x4466e8(0x281),_0x5eaf69[_0x5eaf69[_0x4466e8(0x2af)]=0x6]='ALREADY_EXISTS',_0x5eaf69[_0x5eaf69[_0x4466e8(0x158)]=0x7]='INVALID_ARGUMENT',_0x5eaf69[_0x5eaf69[_0x4466e8(0x2cc)]=0x8]='TOO_MANY_REQUESTS',_0x5eaf69[_0x5eaf69['COMPLETION_FINISHED']=0x9]=_0x4466e8(0xf4),_0x5eaf69[_0x5eaf69[_0x4466e8(0xef)]=0xa]=_0x4466e8(0xef),_0x5eaf69[_0x5eaf69[_0x4466e8(0x1f5)]=0x1389]=_0x4466e8(0x1f5),_0x5eaf69[_0x5eaf69['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5eaf69[_0x5eaf69[_0x4466e8(0xdd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5eaf69[_0x5eaf69['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4466e8(0x232),_0x5eaf69[_0x5eaf69[_0x4466e8(0x2eb)]=0x1b59]='APPLY_REJECT',_0x5eaf69[_0x5eaf69['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4466e8(0x2a1),_0x5eaf69[_0x5eaf69['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4466e8(0x212),_0x5eaf69[_0x5eaf69[_0x4466e8(0x1a4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5eaf69[_0x5eaf69[_0x4466e8(0x200)]=0x1b5d]=_0x4466e8(0x200),_0x5eaf69[_0x5eaf69['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4466e8(0x1cb),_0x5eaf69[_0x5eaf69['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5eaf69[_0x5eaf69[_0x4466e8(0x184)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5eaf69[_0x5eaf69[_0x4466e8(0x23b)]=0x232b]=_0x4466e8(0x23b),_0x5eaf69[_0x5eaf69[_0x4466e8(0x1a7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5eaf69[_0x5eaf69[_0x4466e8(0x20e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5eaf69[_0x5eaf69[_0x4466e8(0x168)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5eaf69[_0x5eaf69[_0x4466e8(0x34c)]=0x2712]=_0x4466e8(0x34c),_0x5eaf69[_0x5eaf69[_0x4466e8(0x34e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5eaf69[_0x5eaf69[_0x4466e8(0x230)]=0x2714]=_0x4466e8(0x230),_0x5eaf69[_0x5eaf69[_0x4466e8(0x220)]=0x271a]=_0x4466e8(0x220),_0x5eaf69[_0x5eaf69[_0x4466e8(0x22e)]=0x271b]=_0x4466e8(0x22e),_0x5eaf69[_0x5eaf69[_0x4466e8(0x28a)]=0x2af9]=_0x4466e8(0x28a),_0x5eaf69[_0x5eaf69[_0x4466e8(0x1ca)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5eaf69[_0x5eaf69[_0x4466e8(0x236)]=0x2ee2]='INVALID_INVITE_CODE',_0x5eaf69[_0x5eaf69[_0x4466e8(0x2cb)]=0x2ee3]=_0x4466e8(0x2cb),_0x5eaf69[_0x5eaf69[_0x4466e8(0x265)]=0x2ee4]=_0x4466e8(0x265),_0x5eaf69[_0x5eaf69['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5eaf69[_0x5eaf69[_0x4466e8(0x17a)]=0x32c9]=_0x4466e8(0x17a),_0x5eaf69[_0x5eaf69[_0x4466e8(0x187)]=0x32ca]=_0x4466e8(0x187),_0x5eaf69[_0x5eaf69[_0x4466e8(0x345)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5eaf69[_0x5eaf69[_0x4466e8(0x307)]=-0x1]=_0x4466e8(0x307),_0x5eaf69))(_0x4d77c8||{}),_0x592ac6=Object[_0x4466e8(0x2f2)],_0x240bcb=(_0xaeabea,_0x401a9d,_0x54fa29,_0x5bba26)=>{const _0x43c3c2=_0x4466e8;for(var _0x37d595=_0x5bba26>0x1?void 0x0:_0x5bba26?_0x592ac6(_0x401a9d,_0x54fa29):_0x401a9d,_0x123175=_0xaeabea[_0x43c3c2(0x157)]-0x1,_0x1f589d;_0x123175>=0x0;_0x123175--)(_0x1f589d=_0xaeabea[_0x123175])&&(_0x37d595=_0x1f589d(_0x37d595)||_0x37d595);return _0x37d595;},_0xad4066=(_0x1f1e35,_0x5952ed)=>(_0x2f81a9,_0x3a0869)=>_0x5952ed(_0x2f81a9,_0x3a0869,_0x1f1e35);_0x2e880c[_0x4466e8(0x25c)]=class extends _0x4c5ef7[_0x4466e8(0x242)]{constructor(_0xe27086,_0x354c06,_0x2f8cb2){const _0x3b58fd=_0x4466e8;super(),this['_instanceService']=_0xe27086,this[_0x3b58fd(0x207)]=_0x354c06,this['_configService']=_0x2f8cb2;}async['runOnServer'](_0x513d05,_0x4f357b,_0x5e17cf,..._0x23cb7c){const _0x50d2d9=_0x4466e8;var _0x3acced,_0x4b1f46,_0x32f27a,_0xb014f7;const _0x4b83a7=this[_0x50d2d9(0x2ef)][_0x50d2d9(0x279)]();if(!_0x4b83a7)throw new Error(_0x50d2d9(0x320));const _0x420055=((_0x3acced=this['_configService'][_0x50d2d9(0x2a8)](_0x11d792[_0x50d2d9(0x17d)]))!=null?_0x3acced:_0x11d792[_0x50d2d9(0x301)])+'/'+_0x513d05+'/run/'+_0x4f357b,_0x51d20e=new URL(window['location'][_0x50d2d9(0x25d)]),_0x3fcc11={'scriptId':_0x513d05,'runId':(_0x4b1f46=_0x51d20e[_0x50d2d9(0x12b)]['get'](_0x50d2d9(0x1a1)))!=null?_0x4b1f46:'','function':_0x4f357b,'unitId':_0x4b83a7[_0x50d2d9(0x31f)](),'argsOfFunction':JSON[_0x50d2d9(0x1a5)](_0x23cb7c),'invokeId':(_0x32f27a=_0x5e17cf[_0x50d2d9(0x19d)])!=null?_0x32f27a:'','executionId':(_0xb014f7=_0x5e17cf[_0x50d2d9(0x1ad)])!=null?_0xb014f7:''};try{const _0x3dff1b=await this[_0x50d2d9(0x207)][_0x50d2d9(0x229)](_0x420055,{'body':_0x3fcc11});return _0x3dff1b[_0x50d2d9(0x135)]['error']&&_0x3dff1b['body']['error']['code']!==_0x4d77c8['OK']?_0x50d2d9(0x30e):_0x3dff1b[_0x50d2d9(0x135)][_0x50d2d9(0x1d5)];}catch{return _0x50d2d9(0x30e);}}},_0x2e880c[_0x4466e8(0x25c)]=_0x240bcb([_0xad4066(0x0,_0x4c5ef7[_0x4466e8(0x31e)]),_0xad4066(0x1,_0x4c5ef7[_0x4466e8(0x17c)](_0x4311da[_0x4466e8(0x311)])),_0xad4066(0x2,_0x4c5ef7[_0x4466e8(0x33f)])],_0x2e880c[_0x4466e8(0x25c)]),_0x2e880c[_0x4466e8(0x11f)]=_0x2b46e9,_0x2e880c[_0x4466e8(0x2c4)]=_0x63cdcb,_0x2e880c[_0x4466e8(0x32b)]=_0x1512fa,_0x2e880c[_0x4466e8(0x278)]=_0x399779,_0x2e880c[_0x4466e8(0xe8)]=_0x50f20d,Object[_0x4466e8(0x202)](_0x2e880c,Symbol['toStringTag'],{'value':_0x4466e8(0x292)});}));