@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505301607 → 0.8.0-nightly.202506011606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5b0c14=_0x13a2;(function(_0x48ebe0,_0xfcb594){const _0x488819=_0x13a2,_0x1290c4=_0x48ebe0();while(!![]){try{const _0x5976ff=-parseInt(_0x488819(0x19c))/0x1*(-parseInt(_0x488819(0x19e))/0x2)+-parseInt(_0x488819(0x1a1))/0x3+-parseInt(_0x488819(0x1a7))/0x4+parseInt(_0x488819(0x1a4))/0x5*(-parseInt(_0x488819(0x1a3))/0x6)+parseInt(_0x488819(0x19b))/0x7+-parseInt(_0x488819(0x1a5))/0x8*(-parseInt(_0x488819(0x19d))/0x9)+parseInt(_0x488819(0x197))/0xa*(-parseInt(_0x488819(0x199))/0xb);if(_0x5976ff===_0xfcb594)break;else _0x1290c4['push'](_0x1290c4['shift']());}catch(_0x5b2623){_0x1290c4['push'](_0x1290c4['shift']());}}}(_0x478c,0x99c14));function _0x478c(){const _0x4a023b=['2482686kAOlqI','10QkzrCb','248Rjbwgl','RemoteUniscriptService','275020VHDgHW','170220kfDeSz','runOnServer','803ZURAUf','get','7434945hBMHoh','29vibyqO','282060iVapBa','67010wArzYL','@univerjs-pro/collaboration-client-ui','FUniver','709851wxTwXO','@univerjs/core/facade'];_0x478c=function(){return _0x4a023b;};return _0x478c();}function _0x13a2(_0x67508d,_0x3bf283){const _0x478c33=_0x478c();return _0x13a2=function(_0x13a23a,_0xf4bb45){_0x13a23a=_0x13a23a-0x197;let _0x4767ad=_0x478c33[_0x13a23a];return _0x4767ad;},_0x13a2(_0x67508d,_0x3bf283);}const t=require(_0x5b0c14(0x19f)),e=require(_0x5b0c14(0x1a2));class c extends e['FUniver']{[_0x5b0c14(0x198)](_0x4499a4,_0x537412,..._0x1a6054){const _0xe96291=_0x5b0c14;return this['_injector'][_0xe96291(0x19a)](t[_0xe96291(0x1a6)])['runOnServer'](_0x4499a4,_0x537412,{},..._0x1a6054);}}e[_0x5b0c14(0x1a0)]['extend'](c);
1
+ 'use strict';const _0x4e23fa=_0x13d8;(function(_0xbe2059,_0x2a492e){const _0x2e10a1=_0x13d8,_0x586894=_0xbe2059();while(!![]){try{const _0x23f0ba=-parseInt(_0x2e10a1(0xe9))/0x1*(-parseInt(_0x2e10a1(0xf2))/0x2)+parseInt(_0x2e10a1(0xf0))/0x3*(-parseInt(_0x2e10a1(0xec))/0x4)+-parseInt(_0x2e10a1(0xf3))/0x5+parseInt(_0x2e10a1(0xed))/0x6*(parseInt(_0x2e10a1(0xf1))/0x7)+parseInt(_0x2e10a1(0xef))/0x8+-parseInt(_0x2e10a1(0xf6))/0x9+-parseInt(_0x2e10a1(0xf7))/0xa*(-parseInt(_0x2e10a1(0xf9))/0xb);if(_0x23f0ba===_0x2a492e)break;else _0x586894['push'](_0x586894['shift']());}catch(_0x4474ec){_0x586894['push'](_0x586894['shift']());}}}(_0x1337,0x74caa));const t=require(_0x4e23fa(0xea)),e=require(_0x4e23fa(0xee));function _0x13d8(_0xb7698e,_0x37de37){const _0x133715=_0x1337();return _0x13d8=function(_0x13d8ff,_0x326054){_0x13d8ff=_0x13d8ff-0xe9;let _0x536ff1=_0x133715[_0x13d8ff];return _0x536ff1;},_0x13d8(_0xb7698e,_0x37de37);}function _0x1337(){const _0x3cdac7=['FUniver','11TwXHtp','213Ufqefd','@univerjs-pro/collaboration-client-ui','_injector','29000xelryb','19830JNJKTq','@univerjs/core/facade','5910392dYpeVF','363gRDkCW','2009LRdLaq','3726JBMdJR','2486065LaEBgX','extend','runOnServer','7957476wGhWMv','6528520FvfrKf'];_0x1337=function(){return _0x3cdac7;};return _0x1337();}class c extends e[_0x4e23fa(0xf8)]{['runOnServer'](_0x2e55b8,_0x560aab,..._0x46c950){const _0x535cc5=_0x4e23fa;return this[_0x535cc5(0xeb)]['get'](t['RemoteUniscriptService'])[_0x535cc5(0xf5)](_0x2e55b8,_0x560aab,{},..._0x46c950);}}e[_0x4e23fa(0xf8)][_0x4e23fa(0xf4)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x28c265=_0x29a9;(function(_0x3a29b6,_0x559f11){const _0x22ba72=_0x29a9,_0x46b596=_0x3a29b6();while(!![]){try{const _0x58eec4=parseInt(_0x22ba72(0x1cc))/0x1+parseInt(_0x22ba72(0x342))/0x2+parseInt(_0x22ba72(0x11b))/0x3*(-parseInt(_0x22ba72(0x216))/0x4)+parseInt(_0x22ba72(0x21b))/0x5*(-parseInt(_0x22ba72(0x319))/0x6)+-parseInt(_0x22ba72(0x33a))/0x7+parseInt(_0x22ba72(0x32e))/0x8*(-parseInt(_0x22ba72(0xc5))/0x9)+parseInt(_0x22ba72(0x20c))/0xa*(parseInt(_0x22ba72(0x27b))/0xb);if(_0x58eec4===_0x559f11)break;else _0x46b596['push'](_0x46b596['shift']());}catch(_0x3234aa){_0x46b596['push'](_0x46b596['shift']());}}}(_0x11d0,0xaf176));var Ve=Object['defineProperty'],Xe=(_0x5b1237,_0x5ed226,_0x195747)=>_0x5ed226 in _0x5b1237?Ve(_0x5b1237,_0x5ed226,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x195747}):_0x5b1237[_0x5ed226]=_0x195747,h=(_0x39c466,_0x30f52c,_0x4803ff)=>Xe(_0x39c466,typeof _0x30f52c!=_0x28c265(0xc6)?_0x30f52c+'':_0x30f52c,_0x4803ff);Object[_0x28c265(0x334)](exports,Symbol[_0x28c265(0x31e)],{'value':_0x28c265(0x1f0)});const u=require(_0x28c265(0x253)),a=require('@univerjs/core'),p=require(_0x28c265(0xec)),G=require(_0x28c265(0x1b8)),b=require(_0x28c265(0x198)),Ge=require('@univerjs/drawing'),d=require(_0x28c265(0xe3)),Y=require(_0x28c265(0x223)),m=require(_0x28c265(0x190)),Ee=require(_0x28c265(0x175)),g=require('@univerjs/sheets'),$=require(_0x28c265(0x287)),X=require(_0x28c265(0x1e1)),w=require(_0x28c265(0x166)),T=require(_0x28c265(0x1a3)),D=require(_0x28c265(0x31a)),M=require(_0x28c265(0x27f)),Ke=require(_0x28c265(0x306));var qe=Object[_0x28c265(0x346)],ze=(_0x4918c4,_0x369e5e,_0x1ba151,_0x4cabc5)=>{const _0x1636ba=_0x28c265;for(var _0xd226f7=_0x4cabc5>0x1?void 0x0:_0x4cabc5?qe(_0x369e5e,_0x1ba151):_0x369e5e,_0x466d6f=_0x4918c4[_0x1636ba(0x13d)]-0x1,_0x2493ba;_0x466d6f>=0x0;_0x466d6f--)(_0x2493ba=_0x4918c4[_0x466d6f])&&(_0xd226f7=_0x2493ba(_0xd226f7)||_0xd226f7);return _0xd226f7;},Te=(_0x3057d8,_0x260ad1)=>(_0x7c8d46,_0x41369f)=>_0x260ad1(_0x7c8d46,_0x41369f,_0x3057d8);let de=class extends a['RxDisposable']{constructor(_0x4a45c9,_0x38d926){const _0x4a8900=_0x28c265;super(),this[_0x4a8900(0x283)]=_0x4a45c9,this[_0x4a8900(0x228)]=_0x38d926,this[_0x4a8900(0x271)]();}['_init'](){const _0xe3ab7f=_0x28c265,_0x41ee21=this;this[_0xe3ab7f(0xcf)](this[_0xe3ab7f(0x283)][_0xe3ab7f(0x2ca)]({'onBeforePasteImage':async _0x998c72=>{const _0x279ee9=_0xe3ab7f,_0x14e02a=await _0x41ee21[_0x279ee9(0x228)][_0x279ee9(0x2df)](_0x998c72);return _0x14e02a?{'source':_0x14e02a[_0x279ee9(0x23e)],'imageSourceType':_0x14e02a[_0x279ee9(0x122)]}:null;}}));}};de=ze([Te(0x0,b['IDocClipboardService']),Te(0x1,Ge[_0x28c265(0x1ba)])],de);const Oe=[_0x28c265(0x2b4),'jiqing.500',_0x28c265(0x2b3),_0x28c265(0x341),_0x28c265(0x349),'yellow.400'];class me extends a[_0x28c265(0x12b)]{constructor(){const _0x3ab9de=_0x28c265;super(...arguments),h(this,_0x3ab9de(0xee),new Map()),h(this,'_colorIndex',0x0);}[_0x28c265(0x274)](_0x27250a){const _0x5624aa=_0x28c265;if(this[_0x5624aa(0xee)][_0x5624aa(0x16c)](_0x27250a))return this[_0x5624aa(0xee)][_0x5624aa(0x256)](_0x27250a);const _0x16d791=Oe[this[_0x5624aa(0x2f1)]];return this[_0x5624aa(0x2f1)]=(this[_0x5624aa(0x2f1)]+0x1)%Oe['length'],this[_0x5624aa(0xee)]['set'](_0x27250a,_0x16d791),_0x16d791;}}function we(_0x3cf1d9){const _0x29eaf0=_0x28c265;let _0x206125='';for(const _0x5d1ac7 of _0x3cf1d9){const {startOffset:_0x20b586,endOffset:_0x1e9d10,isActive:_0x4d111c,rangeType:_0x37d164,segmentId:_0xaf08a9,segmentPage:_0x2044af}=_0x5d1ac7;_0x206125[_0x29eaf0(0x13d)]&&(_0x206125+=','),_0x206125+=_0x20b586+':'+_0x1e9d10+':'+(_0x4d111c?'1':'0')+':'+_0x37d164+':'+_0xaf08a9+':'+_0x2044af;}return _0x206125;}function Je(_0x511e80){const _0x40ec9d=_0x28c265,_0x27ab17=_0x511e80['split'](','),_0x24475b=[];for(const _0x4a7da0 of _0x27ab17){const [_0x1b4f6e,_0x5d1083,_0x2b18cf,_0x13c434,_0x5198f6,_0x398683]=_0x4a7da0['split'](':');_0x24475b[_0x40ec9d(0x1d6)]({'startOffset':Number(_0x1b4f6e),'endOffset':Number(_0x5d1083),'collapsed':_0x1b4f6e===_0x5d1083,'isActive':_0x2b18cf==='1','rangeType':_0x13c434===a[_0x40ec9d(0x1ea)][_0x40ec9d(0x25a)]?a[_0x40ec9d(0x1ea)]['TEXT']:a['DOC_RANGE_TYPE'][_0x40ec9d(0x331)],'segmentId':typeof _0x5198f6=='string'?String(_0x5198f6):'','segmentPage':Number(_0x398683!=null?_0x398683:-0x1)});}return _0x24475b[_0x40ec9d(0x19a)](_0x517701=>_0x517701[_0x40ec9d(0x29d)])||(_0x24475b[0x0]['isActive']=!0x0),_0x24475b;}class Ce extends a[_0x28c265(0x2af)]{constructor(){const _0x73ce55=_0x28c265;super(...arguments),h(this,'_collabCursorState$',new d[(_0x73ce55(0x2b2))](null)),h(this,_0x73ce55(0x310),this[_0x73ce55(0x30b)]['asObservable']());}[_0x28c265(0x20f)](_0x3bcd6c){const _0xc8963d=_0x28c265,{unitID:_0xd1c252,memberID:_0x2f8eb8,textRanges:_0x8010fe}=_0x3bcd6c,_0x5e0c9e=we(_0x8010fe);if(_0x5e0c9e==='')return;const _0x3f0440={'unitID':_0xd1c252,'memberID':_0x2f8eb8,'selection':_0x5e0c9e};this[_0xc8963d(0x30b)]['next'](_0x3f0440);}}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0xe2ab,_0x4cc692,_0x53428d,_0x516a83)=>{const _0x4cb2fe=_0x28c265;for(var _0x493f14=_0x516a83>0x1?void 0x0:_0x516a83?Ze(_0x4cc692,_0x53428d):_0x4cc692,_0x2105da=_0xe2ab[_0x4cb2fe(0x13d)]-0x1,_0x1091e3;_0x2105da>=0x0;_0x2105da--)(_0x1091e3=_0xe2ab[_0x2105da])&&(_0x493f14=_0x1091e3(_0x493f14)||_0x493f14);return _0x493f14;},L=(_0x44ee42,_0x40c7d5)=>(_0x466dee,_0x4bcada)=>_0x40c7d5(_0x466dee,_0x4bcada,_0x44ee42);const et=0x12c,tt=0x64;let fe=class extends a['RxDisposable']{constructor(_0x1b7927,_0x1577e0,_0x17c41f,_0x9e9d35,_0x48831a,_0x34f63e,_0x4c6e3e,_0x5d0b50,_0x55a993){const _0x17199b=_0x28c265;super(),h(this,_0x17199b(0x209),!0x1),h(this,_0x17199b(0x271),!0x1),h(this,_0x17199b(0xe7),new d[(_0x17199b(0x2b2))](new Map())),h(this,_0x17199b(0x2c8),this[_0x17199b(0xe7)][_0x17199b(0x323)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x17199b(0x2b5),this[_0x17199b(0x2fd)][_0x17199b(0x217)](d[_0x17199b(0x24b)](et))),h(this,'_updateLocalCursor',a[_0x17199b(0x1c6)](_0x2e6d00=>{const _0x1b5bf1=_0x17199b,_0x326e8a={'eventID':m[_0x1b5bf1(0x333)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b5bf1(0x200)],'memberID':this[_0x1b5bf1(0x1c7)]['getMemberID'](),'selection':we(_0x2e6d00)}};this['_session']['send'](_0x326e8a,this[_0x1b5bf1(0x200)]);},tt)),(this['unitID']=_0x1b7927,this[_0x17199b(0x1c7)]=_0x1577e0,this['_injector']=_0x17c41f,this[_0x17199b(0x12c)]=_0x9e9d35,this[_0x17199b(0x226)]=_0x48831a,this[_0x17199b(0x2bd)]=_0x34f63e,this['_transformService']=_0x4c6e3e,this[_0x17199b(0x2b9)]=_0x5d0b50,this['_commandService']=_0x55a993);}get[_0x28c265(0x1e4)](){const _0x18fcc1=_0x28c265;return this[_0x18fcc1(0xe7)][_0x18fcc1(0x2db)]();}get['roomMembers'](){const _0xfdc3b7=_0x28c265;return this['_roomMembers$'][_0xfdc3b7(0x2db)]();}['dispose'](){const _0x251187=_0x28c265;super[_0x251187(0x1d8)](),this[_0x251187(0xe7)]['next'](new Map()),this[_0x251187(0xe7)][_0x251187(0x28e)](),this[_0x251187(0x2fd)][_0x251187(0x113)]([]),this[_0x251187(0x2fd)][_0x251187(0x28e)]();}[_0x28c265(0x2f4)](){const _0x23985d=_0x28c265;this['_init']||(this[_0x23985d(0x271)]=!0x0,this[_0x23985d(0x1c7)][_0x23985d(0x29c)][_0x23985d(0x217)](d[_0x23985d(0x2ea)](this[_0x23985d(0x176)]))[_0x23985d(0x2bb)](_0x3f788c=>{const _0x4bc45d=_0x23985d;_0x3f788c===u[_0x4bc45d(0x247)][_0x4bc45d(0x2d3)]?this[_0x4bc45d(0x1ab)]():this['_toggleOffline']();}),this[_0x23985d(0x1c7)][_0x23985d(0x1ef)][_0x23985d(0x217)](d['takeUntil'](this[_0x23985d(0x176)]))[_0x23985d(0x2bb)](_0x4a6835=>{const _0x300e29=_0x23985d,_0x2b908f=_0x4a6835[_0x300e29(0x123)];_0x2b908f===m[_0x300e29(0x333)][_0x300e29(0x2ff)]&&this[_0x300e29(0xde)](_0x4a6835),_0x2b908f===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x300e29(0x148)](_0x4a6835);}),this[_0x23985d(0xcf)](this[_0x23985d(0xf2)]['onCommandExecuted'](_0x37f791=>{const _0x174922=_0x23985d,_0x115be4=_0x37f791[_0x174922(0x31c)];_0x115be4!=null&&this[_0x174922(0x209)]&&_0x37f791['id']===Y[_0x174922(0x14c)]['id']&&_0x115be4['unitId']===this[_0x174922(0x200)]&&_0x115be4['isEditing']===!0x1&&_0x115be4[_0x174922(0x109)][_0x174922(0x13d)]>0x0&&this['_updateLocalCursor'](_0x115be4['ranges']);})),this['_syncEditingCollabCursorService'][_0x23985d(0x310)]['pipe'](d[_0x23985d(0x2ea)](this[_0x23985d(0x176)]))['subscribe'](_0x36437e=>{const _0x1099ad=_0x23985d;if((_0x36437e==null?void 0x0:_0x36437e['unitID'])!==this[_0x1099ad(0x200)])return;const _0xe8b20c={'eventID':m[_0x1099ad(0x333)][_0x1099ad(0x2ff)],'data':_0x36437e};this[_0x1099ad(0xde)](_0xe8b20c);}),this[_0x23985d(0xcf)](this['_commandService'][_0x23985d(0x2ef)](_0x6b45f3=>{const _0x44b26b=_0x23985d;if(_0x6b45f3[_0x44b26b(0x31c)]==null)return;const _0x18fcc5=_0x6b45f3[_0x44b26b(0x31c)];if(_0x6b45f3['id']!==Y[_0x44b26b(0x159)]['id']||_0x18fcc5[_0x44b26b(0xdc)]!==this[_0x44b26b(0x200)])return;const _0x52b6f9={'id':_0x44b26b(0x155),'params':_0x18fcc5},_0x196a03=this[_0x44b26b(0x1e4)];for(const [_0x37b6a,_0x4deaf2]of _0x196a03){const _0x483e6e={'id':_0x44b26b(0x155),'params':{'unitId':this[_0x44b26b(0x200)],'actions':null,'textRanges':_0x4deaf2[_0x44b26b(0x109)]}},_0x1788ea=this[_0x44b26b(0x1c3)][_0x44b26b(0x1ee)](_0x52b6f9,_0x483e6e,!0x1);if(m[_0x44b26b(0x17f)](_0x1788ea))throw _0x1788ea[_0x44b26b(0x248)];_0x196a03[_0x44b26b(0x18c)](_0x37b6a,{..._0x4deaf2,'ranges':_0x1788ea[_0x44b26b(0x12f)][_0x44b26b(0x31c)][_0x44b26b(0x19f)]});}queueMicrotask(()=>{const _0x43549e=_0x44b26b;this[_0x43549e(0xe7)][_0x43549e(0x113)](_0x196a03);});})));}[_0x28c265(0xde)](_0x1af8b7){const _0x38097b=_0x28c265;var _0x320c5d,_0x14fb05;const {memberID:_0x34423f,selection:_0x1793df}=_0x1af8b7[_0x38097b(0x1fe)],_0x131917=Je(_0x1793df),_0x210a08=(_0x14fb05=(_0x320c5d=this[_0x38097b(0x226)][_0x38097b(0x2fc)](this[_0x38097b(0x200)],_0x34423f))==null?void 0x0:_0x320c5d[_0x38097b(0x254)])!=null?_0x14fb05:'Unknown\x20user',_0x3a0ad9={'color':this['_colorAssignService'][_0x38097b(0x274)](_0x34423f),'name':_0x210a08,'ranges':_0x131917},_0x10b2fe=this[_0x38097b(0x1e4)];_0x10b2fe[_0x38097b(0x18c)](_0x34423f,_0x3a0ad9),this['_cursorInfo$']['next'](_0x10b2fe);}[_0x28c265(0x148)](_0x112b0f){const _0x2c9768=_0x28c265,{memberID:_0x576e9f}=_0x112b0f[_0x2c9768(0x1fe)],_0x2b14cc=this[_0x2c9768(0x1e4)];_0x2b14cc[_0x2c9768(0x220)](_0x576e9f),this[_0x2c9768(0xe7)][_0x2c9768(0x113)](_0x2b14cc);}[_0x28c265(0x1ab)](){const _0x286095=_0x28c265;var _0x170ce5;if(this['_online']=!0x0,((_0x170ce5=this['_univerInstanceService'][_0x286095(0x28f)]())==null?void 0x0:_0x170ce5['getUnitId']())!==this[_0x286095(0x200)])return;const _0x3023e4=this[_0x286095(0xce)]['get'](Y[_0x286095(0x1d3)])[_0x286095(0x227)]();Array[_0x286095(0x2ad)](_0x3023e4)&&_0x3023e4[_0x286095(0x13d)]>0x0&&this['_updateLocalCursor'](_0x3023e4);}[_0x28c265(0x101)](){const _0x305cca=_0x28c265;this[_0x305cca(0x209)]=!0x1;}};fe=Qe([L(0x2,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),L(0x3,a[_0x28c265(0x1b0)](me)),L(0x4,a[_0x28c265(0x1b0)](u[_0x28c265(0x24c)])),L(0x5,a[_0x28c265(0x1b0)](Ce)),L(0x6,m[_0x28c265(0x116)]),L(0x7,a[_0x28c265(0x208)]),L(0x8,a[_0x28c265(0x1f7)])],fe);var st=Object[_0x28c265(0x346)],it=(_0x5477ac,_0x37cc23,_0x4b2c7b,_0x13d319)=>{const _0x5110f3=_0x28c265;for(var _0x908a9d=_0x13d319>0x1?void 0x0:_0x13d319?st(_0x37cc23,_0x4b2c7b):_0x37cc23,_0x2a75f9=_0x5477ac[_0x5110f3(0x13d)]-0x1,_0xfd3784;_0x2a75f9>=0x0;_0x2a75f9--)(_0xfd3784=_0x5477ac[_0x2a75f9])&&(_0x908a9d=_0xfd3784(_0x908a9d)||_0x908a9d);return _0x908a9d;},A=(_0x25f89f,_0x236317)=>(_0x28eafd,_0x246689)=>_0x236317(_0x28eafd,_0x246689,_0x25f89f);const nt=0x12c,rt=0x64,ot=()=>{let _0x214cda=[],_0x28118e=!0x1;return _0x5b1cc9=>{const _0x417ada=_0x29a9;_0x214cda[_0x417ada(0x1d6)](_0x5b1cc9),_0x28118e||(_0x28118e=!0x0,setTimeout(()=>{_0x214cda['forEach'](_0xc99cd4=>_0xc99cd4()),_0x214cda=[],_0x28118e=!0x1;}));};};let Se=class extends a[_0x28c265(0x2af)]{constructor(_0x603848,_0x164b51,_0x1e34b8,_0x35450a,_0x2864e7,_0x1982fc,_0x39c5f6,_0x5d9280){const _0x33b6f5=_0x28c265;super(),h(this,_0x33b6f5(0x209),!0x1),h(this,_0x33b6f5(0x271),!0x1),h(this,_0x33b6f5(0xe7),new d[(_0x33b6f5(0x2b2))](new Map())),h(this,_0x33b6f5(0x2c8),this[_0x33b6f5(0xe7)]['asObservable']()),h(this,_0x33b6f5(0x2fd),new d['BehaviorSubject']([])),h(this,_0x33b6f5(0x2b5),this[_0x33b6f5(0x2fd)]['pipe'](d['debounceTime'](nt))),h(this,_0x33b6f5(0x252),a[_0x33b6f5(0x1c6)]((_0x4158ad,_0x1c1111)=>{const _0x29cd88=_0x33b6f5,_0x43093a={'eventID':m[_0x29cd88(0x333)][_0x29cd88(0x2ff)],'data':{'unitID':this[_0x29cd88(0x200)],'memberID':this[_0x29cd88(0x1c7)][_0x29cd88(0x204)](),'selection':Ee[_0x29cd88(0x22b)](_0x4158ad,_0x1c1111['range'])}};this[_0x29cd88(0x1c7)][_0x29cd88(0xc4)](_0x43093a,this[_0x29cd88(0x200)]);},rt)),(this[_0x33b6f5(0x200)]=_0x603848,this[_0x33b6f5(0x1c7)]=_0x164b51,this[_0x33b6f5(0xce)]=_0x1e34b8,this['_colorAssignService']=_0x35450a,this[_0x33b6f5(0x226)]=_0x2864e7,this[_0x33b6f5(0x2b9)]=_0x1982fc,this[_0x33b6f5(0xf2)]=_0x39c5f6,this[_0x33b6f5(0x14f)]=_0x5d9280);}get[_0x28c265(0x1e4)](){const _0x49793b=_0x28c265;return this[_0x49793b(0xe7)][_0x49793b(0x2db)]();}get[_0x28c265(0x299)](){const _0xedd65b=_0x28c265;return this['_roomMembers$'][_0xedd65b(0x2db)]();}['dispose'](){const _0x50368b=_0x28c265;super[_0x50368b(0x1d8)](),this['_cursorInfo$'][_0x50368b(0x113)](new Map()),this[_0x50368b(0xe7)]['complete'](),this[_0x50368b(0x2fd)][_0x50368b(0x113)]([]),this['_roomMembers$'][_0x50368b(0x28e)]();}['init'](){const _0x4f7df9=_0x28c265;this['_init']||(this['_init']=!0x0,this[_0x4f7df9(0x1c7)][_0x4f7df9(0x29c)]['pipe'](d['takeUntil'](this[_0x4f7df9(0x176)]))[_0x4f7df9(0x2bb)](_0x2aec2b=>{const _0x4f7190=_0x4f7df9;_0x2aec2b===u[_0x4f7190(0x247)]['ONLINE']?this[_0x4f7190(0x1ab)]():this[_0x4f7190(0x101)]();}),this[_0x4f7df9(0x1c7)]['event$'][_0x4f7df9(0x217)](d[_0x4f7df9(0x2ea)](this[_0x4f7df9(0x176)]))[_0x4f7df9(0x2bb)](_0x270191=>{const _0x552837=_0x4f7df9,_0x5ad685=_0x270191[_0x552837(0x123)];_0x5ad685===m[_0x552837(0x333)][_0x552837(0x2ff)]&&this[_0x552837(0xde)](_0x270191),_0x5ad685===m['CollaborationEvent'][_0x552837(0x2ab)]&&this[_0x552837(0x148)](_0x270191);}),this[_0x4f7df9(0x1b6)](),this[_0x4f7df9(0xcf)](this[_0x4f7df9(0xf2)]['onCommandExecuted'](_0x26ccd6=>{const _0x47aa84=_0x4f7df9;if(this['_online']&&_0x26ccd6['id']===g[_0x47aa84(0x26e)]['id']&&_0x26ccd6[_0x47aa84(0x31c)][_0x47aa84(0xdc)]===this[_0x47aa84(0x200)]){const _0x96aa0f=_0x26ccd6['params'];this[_0x47aa84(0x252)](_0x96aa0f['subUnitId'],_0x96aa0f[_0x47aa84(0x2a2)][0x0]);}})));}['_onCursorUpdate'](_0x40a818){const _0x553ce2=_0x28c265;var _0x37fbab,_0x752df3;const {memberID:_0x5f3e4a,selection:_0x51499a}=_0x40a818[_0x553ce2(0x1fe)],{sheetName:_0x5cbd82,range:_0x14f32b}=Ee[_0x553ce2(0x330)](_0x51499a),_0x15bd89={'name':(_0x752df3=(_0x37fbab=this[_0x553ce2(0x226)][_0x553ce2(0x2fc)](this[_0x553ce2(0x200)],_0x5f3e4a))==null?void 0x0:_0x37fbab[_0x553ce2(0x254)])!=null?_0x752df3:_0x553ce2(0x2e2),'range':this[_0x553ce2(0x289)](_0x5cbd82,_0x14f32b),'sheetID':_0x5cbd82,'color':this[_0x553ce2(0x12c)][_0x553ce2(0x274)](_0x5f3e4a),'selection':_0x51499a},_0x50ae8e=this['cursorInfo'];_0x50ae8e['set'](_0x5f3e4a,_0x15bd89),this['_cursorInfo$'][_0x553ce2(0x113)](_0x50ae8e);}[_0x28c265(0x148)](_0x2cb30c){const _0x518a51=_0x28c265,{memberID:_0x10c0e5}=_0x2cb30c[_0x518a51(0x1fe)],_0x3db1d7=this[_0x518a51(0x1e4)];_0x3db1d7[_0x518a51(0x220)](_0x10c0e5),this[_0x518a51(0xe7)][_0x518a51(0x113)](_0x3db1d7);}[_0x28c265(0x289)](_0x2d2e1e,_0x279890){const _0x4e2343=_0x28c265;var _0x4cd5e3,_0x3623ee;const _0x159efe=(_0x3623ee=(_0x4cd5e3=this[_0x4e2343(0x2b9)][_0x4e2343(0x151)](this['unitID']))==null?void 0x0:_0x4cd5e3[_0x4e2343(0x240)](_0x2d2e1e))==null?void 0x0:_0x3623ee[_0x4e2343(0x2d8)]();return(_0x159efe==null?void 0x0:_0x159efe[_0x4e2343(0x343)](_0x12a3c1=>a[_0x4e2343(0x1bd)]['contains'](_0x12a3c1,_0x279890)))||_0x279890;}['_onRefRangeChange'](){const _0x3ea792=_0x28c265,_0x4fe137=new a[(_0x3ea792(0x112))](),_0x5ab9d6=ot(),_0x137e07=()=>{const _0x44d3e8=_0x3ea792;_0x4fe137[_0x44d3e8(0x1d8)]();const _0x5c63e8=(_0x430d73,_0x40aaf6,_0x4b7276,_0x475fbf)=>{const _0x370d27=_0x44d3e8;let _0xbd9d17=[];switch(_0x430d73['id']){case g['EffectRefRangId'][_0x370d27(0x33f)]:{_0xbd9d17=g[_0x370d27(0x1ed)](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)][_0x370d27(0x1af)]:{_0xbd9d17=g[_0x370d27(0x2e0)](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)][_0x370d27(0x100)]:{_0xbd9d17=g[_0x370d27(0x234)](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)][_0x370d27(0x30d)]:{_0xbd9d17=g['handleInsertRangeMoveDown'](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)]['InsertRangeMoveRightCommandId']:{_0xbd9d17=g['handleInsertRangeMoveRight'](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)]['InsertRowCommandId']:{_0xbd9d17=g[_0x370d27(0x232)](_0x430d73,_0x475fbf);break;}case g['EffectRefRangId'][_0x370d27(0x20d)]:{_0xbd9d17=g[_0x370d27(0x282)](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)][_0x370d27(0x22a)]:{_0xbd9d17=g['handleIRemoveCol'](_0x430d73,_0x475fbf);break;}case g[_0x370d27(0x26c)][_0x370d27(0x178)]:{_0xbd9d17=g[_0x370d27(0xca)](_0x430d73,_0x475fbf);break;}}const _0x2d3feb=g[_0x370d27(0x325)](_0xbd9d17,_0x475fbf),_0x5b85b4=this[_0x370d27(0x1e4)][_0x370d27(0x256)](_0x40aaf6);if(_0x5b85b4&&_0x2d3feb){const _0x3f858d={..._0x5b85b4,'range':_0x2d3feb};this[_0x370d27(0x1e4)]['set'](_0x40aaf6,_0x3f858d),_0x5ab9d6(()=>{const _0x100325=_0x370d27,_0x2364a8=this['_refRangeService'][_0x100325(0x28a)](_0x2d3feb,_0x4f61ac=>(_0x2364a8[_0x100325(0x1d8)](),_0x5c63e8(_0x4f61ac,_0x40aaf6,_0x4b7276,_0x2d3feb)));_0x4fe137[_0x100325(0x251)](_0x2364a8);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x309e51,_0x577ad6)=>{const _0x1c531e=_0x44d3e8,{range:_0x325299,sheetID:_0x43caf7}=_0x309e51,_0x2e2d4f=this[_0x1c531e(0x14f)]['registerRefRange'](_0x325299,_0x5933f4=>(_0x2e2d4f['dispose'](),_0x5c63e8(_0x5933f4,_0x577ad6,_0x43caf7,_0x325299)));_0x4fe137['add'](_0x2e2d4f);});};this['disposeWithMe'](a[_0x3ea792(0x184)](this[_0x3ea792(0xe7)]['subscribe'](()=>{_0x137e07();})));}['_toggleOnline'](){const _0x431172=_0x28c265;var _0x3b79c2,_0x52f117;if(this['_online']=!0x0,((_0x3b79c2=this['_univerInstanceService'][_0x431172(0x28f)]())==null?void 0x0:_0x3b79c2[_0x431172(0x2ec)]())!==this['unitID'])return;const _0x23e9ab=(_0x52f117=this['_injector']['get'](g[_0x431172(0x177)])[_0x431172(0x2f3)]())==null?void 0x0:_0x52f117[0x0],_0x512405=this[_0x431172(0x2b9)][_0x431172(0x2c5)](a['UniverInstanceType'][_0x431172(0x2a9)])['getActiveSheet']();_0x23e9ab&&_0x512405&&this[_0x431172(0x252)](_0x512405[_0x431172(0x124)](),_0x23e9ab);}[_0x28c265(0x101)](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),A(0x3,a[_0x28c265(0x1b0)](me)),A(0x4,a[_0x28c265(0x1b0)](u[_0x28c265(0x24c)])),A(0x5,a[_0x28c265(0x208)]),A(0x6,a[_0x28c265(0x1f7)]),A(0x7,a['Inject'](g[_0x28c265(0x27d)]))],Se);var at=Object[_0x28c265(0x346)],ct=(_0x14ab3a,_0x5e7bec,_0x18b39b,_0x1725d5)=>{const _0x1698c8=_0x28c265;for(var _0x1795a9=_0x1725d5>0x1?void 0x0:_0x1725d5?at(_0x5e7bec,_0x18b39b):_0x5e7bec,_0x2d17d0=_0x14ab3a[_0x1698c8(0x13d)]-0x1,_0xeef650;_0x2d17d0>=0x0;_0x2d17d0--)(_0xeef650=_0x14ab3a[_0x2d17d0])&&(_0x1795a9=_0xeef650(_0x1795a9)||_0x1795a9);return _0x1795a9;},ie=(_0x510583,_0x346d0e)=>(_0x5909bf,_0x45f0e4)=>_0x346d0e(_0x5909bf,_0x45f0e4,_0x510583);let x=class extends a[_0x28c265(0x2af)]{constructor(_0x33576e,_0x4c0c34,_0x4b4980){const _0x943757=_0x28c265;super(),h(this,_0x943757(0x1f5),new Map()),h(this,_0x943757(0xef),new d[(_0x943757(0x1ec))]()),(this[_0x943757(0x2b9)]=_0x33576e,this[_0x943757(0xce)]=_0x4c0c34,this[_0x943757(0x18e)]=_0x4b4980,this[_0x943757(0x271)]());}[_0x28c265(0x1d8)](){const _0x1f5dc3=_0x28c265;super[_0x1f5dc3(0x1d8)](),this[_0x1f5dc3(0xef)][_0x1f5dc3(0x28e)](),this[_0x1f5dc3(0x1f5)][_0x1f5dc3(0x15e)](_0x743219=>_0x743219[_0x1f5dc3(0x1d8)]());}[_0x28c265(0x23c)](_0x74c980){const _0x2c7630=_0x28c265;return this['_entities'][_0x2c7630(0x16c)](_0x74c980)?this[_0x2c7630(0x1f5)][_0x2c7630(0x256)](_0x74c980)[_0x2c7630(0x2c8)]:this[_0x2c7630(0xef)][_0x2c7630(0x217)](d[_0x2c7630(0x259)](_0x4dca76=>_0x4dca76[_0x2c7630(0x200)]===_0x74c980),d['switchMap'](_0x5336a0=>_0x5336a0[_0x2c7630(0x2c8)]));}[_0x28c265(0x271)](){const _0x239408=_0x28c265;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x239408(0x24e)]['UNIVER_SHEET'])['pipe'](d[_0x239408(0x2ea)](this[_0x239408(0x176)]))['subscribe'](async _0xc25351=>{const _0x537f3=_0x239408,_0x3facda=_0xc25351[_0x537f3(0x2ec)](),_0x96e3cd=await this['_startSheetCollabCursor'](_0x3facda);this[_0x537f3(0xef)]['next'](_0x96e3cd),this['_entities'][_0x537f3(0x18c)](_0x3facda,_0x96e3cd);}),this[_0x239408(0x2b9)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x239408(0x2cc)])['pipe'](d[_0x239408(0x2ea)](this[_0x239408(0x176)]))[_0x239408(0x217)](d['filter'](_0x31696f=>!_0x31696f[_0x239408(0x2ec)]()[_0x239408(0xc1)]('__')))[_0x239408(0x2bb)](async _0x424d3a=>{const _0x31ad1e=_0x239408,_0x107711=_0x424d3a['getUnitId'](),_0x50ec12=await this['_startDocCollabCursor'](_0x107711);this[_0x31ad1e(0xef)][_0x31ad1e(0x113)](_0x50ec12),this[_0x31ad1e(0x1f5)][_0x31ad1e(0x18c)](_0x107711,_0x50ec12);}),d[_0x239408(0x15c)](this[_0x239408(0x2b9)][_0x239408(0x300)](a[_0x239408(0x24e)][_0x239408(0x2cc)]),this[_0x239408(0x2b9)]['getTypeOfUnitDisposed$'](a[_0x239408(0x24e)]['UNIVER_SHEET']))[_0x239408(0x217)](d[_0x239408(0x2ea)](this[_0x239408(0x176)]))['subscribe'](_0x2d5d05=>{const _0x3fe9d6=_0x239408,_0x3cca86=_0x2d5d05['getUnitId'](),_0x9bcda5=this[_0x3fe9d6(0x1f5)][_0x3fe9d6(0x256)](_0x3cca86);_0x9bcda5&&(_0x9bcda5[_0x3fe9d6(0x1d8)](),this[_0x3fe9d6(0x1f5)][_0x3fe9d6(0x220)](_0x3cca86));});}async[_0x28c265(0x2c9)](_0x1af53d){const _0x36d276=_0x28c265,_0x290667=await this[_0x36d276(0x18e)][_0x36d276(0x117)](_0x1af53d),_0x2a974b=this[_0x36d276(0xce)][_0x36d276(0x2de)](Se,_0x1af53d,_0x290667);return _0x2a974b[_0x36d276(0x2f4)](),_0x2a974b;}async['_startDocCollabCursor'](_0x5d98a2){const _0x13643c=_0x28c265,_0x4a50eb=await this[_0x13643c(0x18e)][_0x13643c(0x117)](_0x5d98a2),_0x585c00=this[_0x13643c(0xce)][_0x13643c(0x2de)](fe,_0x5d98a2,_0x4a50eb);return _0x585c00[_0x13643c(0x2f4)](),_0x585c00;}};x=ct([ie(0x0,a[_0x28c265(0x208)]),ie(0x1,a[_0x28c265(0x1b0)](a['Injector'])),ie(0x2,a['Inject'](u[_0x28c265(0x294)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4309c5,_0x5a4492){const _0x48034b=_0x28c265;let {radius:_0x5bef71,width:_0x446095,height:_0x5dfae2}=_0x5a4492;_0x5bef71=_0x5bef71!=null?_0x5bef71:0x0,_0x446095=_0x446095!=null?_0x446095:0x1e,_0x5dfae2=_0x5dfae2!=null?_0x5dfae2:0x1e;let _0x5c6b92=0x0,_0x13fc5d=0x0,_0x11ba79=0x0;_0x5c6b92=_0x13fc5d=_0x11ba79=Math[_0x48034b(0x172)](_0x5bef71,_0x446095/0x2,_0x5dfae2/0x2),_0x4309c5[_0x48034b(0x2e1)](),_0x4309c5[_0x48034b(0x2d9)](_0x5c6b92,0x0),_0x4309c5[_0x48034b(0x2a4)](_0x446095-_0x13fc5d,0x0),_0x4309c5[_0x48034b(0x10d)](_0x446095-_0x13fc5d,_0x13fc5d,_0x13fc5d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4309c5['lineTo'](_0x446095,_0x5dfae2-_0x11ba79),_0x4309c5['arc'](_0x446095-_0x11ba79,_0x5dfae2-_0x11ba79,_0x11ba79,0x0,Math['PI']/0x2,!0x1),_0x4309c5['lineTo'](0x0,_0x5dfae2),_0x4309c5['lineTo'](0x0,_0x5c6b92),_0x4309c5[_0x48034b(0x10d)](_0x5c6b92,_0x5c6b92,_0x5c6b92,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4309c5[_0x48034b(0xf8)](),_0x5a4492['fill']&&(_0x4309c5[_0x48034b(0x2a7)](),_0x4309c5[_0x48034b(0x11c)]=_0x5a4492[_0x48034b(0xed)],_0x5a4492['fillRule']===_0x48034b(0x187)?_0x4309c5['fill'](_0x48034b(0x187)):_0x4309c5['fill'](),_0x4309c5[_0x48034b(0x170)]());}class ee extends p['Shape']{constructor(_0x41e845,_0x2e9df5){const _0x35f8bd=_0x28c265;super(_0x41e845,_0x2e9df5),h(this,_0x35f8bd(0xcb)),h(this,_0x35f8bd(0x103)),(this[_0x35f8bd(0xcb)]=_0x2e9df5==null?void 0x0:_0x2e9df5['color'],this[_0x35f8bd(0x103)]=_0x2e9df5==null?void 0x0:_0x2e9df5[_0x35f8bd(0x103)]);}static[_0x28c265(0x239)](_0x4f42cb,_0xdbc9ae){const _0x2a471a=_0x28c265,{text:_0x18ce4d,color:_0x237ab1}=_0xdbc9ae;_0x4f42cb[_0x2a471a(0x2a7)](),_0x4f42cb['font']=_0x2a471a(0x12e);const _0xacbd95=_0x4f42cb[_0x2a471a(0x168)](_0x18ce4d)[_0x2a471a(0x18f)],_0x33e882=Math[_0x2a471a(0x172)](_0xacbd95+0x2*ne,Re);_t(_0x4f42cb,{'height':K,'radius':0x4,'width':_0x33e882,'fill':_0x237ab1}),_0x4f42cb[_0x2a471a(0x11c)]=_0x2a471a(0xdf);const _0x351675=ne,_0xc1523a=K-lt,_0x17b167=Re-0x2*ne;if(_0xacbd95>_0x17b167){let _0x11c6a9='',_0x3c4a9a=0x0;for(const _0x545018 of _0x18ce4d){const _0xf58820=_0x4f42cb[_0x2a471a(0x168)](_0x545018)[_0x2a471a(0x18f)];if(_0x3c4a9a+_0xf58820<=_0x17b167-_0x4f42cb[_0x2a471a(0x168)](_0x2a471a(0x327))[_0x2a471a(0x18f)])_0x11c6a9+=_0x545018,_0x3c4a9a+=_0xf58820;else{_0x11c6a9+=_0x2a471a(0x327);break;}}_0x4f42cb[_0x2a471a(0x1ca)](_0x11c6a9,_0x351675,_0xc1523a);}else _0x4f42cb[_0x2a471a(0x1ca)](_0x18ce4d,_0x351675,_0xc1523a);_0x4f42cb[_0x2a471a(0x170)]();}[_0x28c265(0x140)](_0x20ca44){const _0x37e23e=_0x28c265;ee[_0x37e23e(0x239)](_0x20ca44,this);}}const re=_0x28c265(0x32f),ht=_0x28c265(0xdb),ut=_0x28c265(0x104),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x28c265(0x1ae);class De{constructor(_0x4c0e54,_0x32dd40,_0x329bc1,_0x112b1f){const _0x450060=_0x28c265;h(this,_0x450060(0x14d),[]),h(this,_0x450060(0x31b),null),h(this,_0x450060(0x152),null),h(this,_0x450060(0x2e7),null),h(this,'_hideTimer',null),h(this,_0x450060(0x264),null),(this[_0x450060(0xd1)]=_0x4c0e54,this[_0x450060(0x1a0)]=_0x32dd40,this['_docSkeleton']=_0x329bc1,this[_0x450060(0x102)]=_0x112b1f,this[_0x450060(0x1de)]());}set[_0x28c265(0x1a5)](_0x5d06b8){const _0x11c50a=_0x28c265;_0x5d06b8?(this[_0x11c50a(0x2e7)]&&this[_0x11c50a(0x2e7)][_0x11c50a(0x347)](),this[_0x11c50a(0x152)]&&this['_textBubble'][_0x11c50a(0x181)]()):(this[_0x11c50a(0x2e7)]&&this[_0x11c50a(0x2e7)][_0x11c50a(0x181)](),this[_0x11c50a(0x152)]&&this['_textBubble'][_0x11c50a(0x347)]());}[_0x28c265(0x1d8)](){const _0x4f131b=_0x28c265;for(const _0xd9fdcd of this[_0x4f131b(0x14d)])_0xd9fdcd[_0x4f131b(0x1d8)]();this[_0x4f131b(0x152)]&&this[_0x4f131b(0x152)][_0x4f131b(0x1d8)](),this[_0x4f131b(0x2e7)]&&this[_0x4f131b(0x2e7)][_0x4f131b(0x1d8)](),this[_0x4f131b(0x31b)]&&this[_0x4f131b(0x31b)][_0x4f131b(0x1d8)](),this[_0x4f131b(0x264)]&&this[_0x4f131b(0x264)]();}[_0x28c265(0x1de)](){const _0x5c017e=_0x28c265;var _0x2f8728;const {_docSkeleton:_0x38e8ec,_document:_0x38e787}=this,{color:_0x3fa4ca,name:_0x333170,ranges:_0x36ea8c}=this[_0x5c017e(0xd1)],_0x409e35=_0x38e787[_0x5c017e(0x332)](),{docsLeft:_0x397c80,docsTop:_0x34aacd}=_0x409e35,_0x28c3d2=new b[(_0x5c017e(0x135))](_0x409e35,_0x38e8ec);for(const {startOffset:_0x26071c,endOffset:_0xb6694b,rangeType:_0x2d1129,segmentId:_0x4e698d,segmentPage:_0x563e5f,collapsed:_0x312f71,isActive:_0x3db9c8}of _0x36ea8c){const _0x2e54e7=_0x38e8ec['findNodePositionByCharIndex'](_0x26071c,!0x0,_0x4e698d,_0x563e5f);let _0x7f2355=_0x38e8ec[_0x5c017e(0x120)](_0xb6694b,!0x0,_0x4e698d,_0x563e5f);if(_0x7f2355==null&&(_0x7f2355=_0x38e8ec['findNodePositionByCharIndex'](_0xb6694b-0x1,!0x1,_0x4e698d,_0x563e5f)),_0x3db9c8){const {contentBoxPointGroup:_0x3f4d3d}=_0x28c3d2['getRangePointData'](_0x7f2355,_0x7f2355);if(_0x3f4d3d['length']===0x0)continue;this[_0x5c017e(0x1f6)](_0x3fa4ca,_0x3f4d3d,_0x397c80,_0x34aacd,_0x333170),this['_eventUnsubscribe']=this[_0x5c017e(0x28b)]();}if(_0x2e54e7&&_0x7f2355){if(_0x2d1129===a[_0x5c017e(0x1ea)][_0x5c017e(0x331)]){const _0x82cc3=new b[(_0x5c017e(0x154))](_0x409e35,_0x38e8ec),{pointGroup:_0x1cd8da}=(_0x2f8728=_0x82cc3[_0x5c017e(0xea)](_0x2e54e7,_0x7f2355))!=null?_0x2f8728:{};if(_0x1cd8da==null||_0x1cd8da[_0x5c017e(0x13d)]===0x0)continue;this[_0x5c017e(0x1b4)](_0x3fa4ca,_0x1cd8da,_0x397c80,_0x34aacd);}else{if(!_0x312f71){const {borderBoxPointGroup:_0x47c596}=_0x28c3d2[_0x5c017e(0xea)](_0x2e54e7,_0x7f2355);if(_0x47c596['length']===0x0)continue;this['_drawTextRange'](_0x3fa4ca,_0x47c596,_0x397c80,_0x34aacd);}}}}}[_0x28c265(0x1f6)](_0x59e5ca,_0x1e943e,_0x3d9973,_0x46e69a,_0x105b45){const _0x101e70=_0x28c265,_0x2e1689=this[_0x101e70(0xf5)](_0x1e943e),{left:_0x577693,top:_0x57f885,height:_0x435354}=_0x2e1689,_0x2420f5=this[_0x101e70(0x22d)](),_0x150e98=ft/_0x2420f5,_0x4d86b9=new p[(_0x101e70(0x1f9))](re+a[_0x101e70(0x236)][_0x101e70(0x13e)](k),{'left':_0x577693+_0x3d9973-_0x150e98,'top':_0x57f885+_0x46e69a,'height':_0x435354,'width':dt,'fill':_0x59e5ca||p[_0x101e70(0x133)](a[_0x101e70(0x162)][_0x101e70(0x237)],0x0),'strokeWidth':_0x150e98,'stroke':St,'evented':!0x0});this[_0x101e70(0x31b)]=_0x4d86b9,this[_0x101e70(0x1a0)][_0x101e70(0x291)](_0x4d86b9,b['TEXT_RANGE_LAYER_INDEX']);const _0xeefe1=new p[(_0x101e70(0x1f9))](re+a[_0x101e70(0x236)]['generateRandomId'](k),{'left':_0x577693+_0x3d9973-_0x150e98,'top':_0x57f885+_0x46e69a-oe/0x2,'height':oe,'width':oe,'fill':_0x59e5ca||p[_0x101e70(0x133)](a[_0x101e70(0x162)][_0x101e70(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x59e5ca||p['getColor'](a[_0x101e70(0x162)][_0x101e70(0x237)],0x0),'evented':!0x1});this[_0x101e70(0x2e7)]=_0xeefe1,this['_scene'][_0x101e70(0x291)](_0xeefe1,b[_0x101e70(0x340)]);const _0x3eab1b=new ee(re+a[_0x101e70(0x236)][_0x101e70(0x13e)](k),{'left':_0x577693+_0x3d9973-_0x150e98,'top':_0x57f885+_0x46e69a-K,'text':_0x105b45,'color':_0x59e5ca});this[_0x101e70(0x152)]=_0x3eab1b,this[_0x101e70(0x1a0)][_0x101e70(0x291)](_0x3eab1b,b[_0x101e70(0x340)]),this[_0x101e70(0x1a5)]=!0x1;}[_0x28c265(0x28b)](){const _0x22a7be=_0x28c265,_0x540264=this[_0x22a7be(0x31b)][_0x22a7be(0x179)]['subscribeEvent'](()=>{const _0x374ccb=_0x22a7be;this[_0x374ccb(0x1a5)]=!0x0;}),_0x46a705=this[_0x22a7be(0x31b)][_0x22a7be(0x25f)][_0x22a7be(0x1f8)](()=>{const _0x20bd83=_0x22a7be;this[_0x20bd83(0x14e)]&&clearTimeout(this[_0x20bd83(0x14e)]),this[_0x20bd83(0x14e)]=setTimeout(()=>{const _0x1bdd14=_0x20bd83;this[_0x1bdd14(0x1a5)]=!0x1;},0x7d0);});return()=>{const _0x235301=_0x22a7be;_0x540264[_0x235301(0x298)](),_0x46a705[_0x235301(0x298)]();};}['_drawTextRange'](_0x513f23,_0x3c44be,_0x152b02,_0x356a84){const _0x2e0df2=_0x28c265,_0x5e17e1=new a[(_0x2e0df2(0xfb))](_0x513f23)[_0x2e0df2(0x314)](0.2)[_0x2e0df2(0x2d5)](),_0x4015f0=new p[(_0x2e0df2(0x180))](ht+a['Tools'][_0x2e0df2(0x13e)](k),{'pointsGroup':_0x3c44be,'fill':_0x5e17e1||p[_0x2e0df2(0x133)](a[_0x2e0df2(0x162)][_0x2e0df2(0x237)],0.2),'left':_0x152b02,'top':_0x356a84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e0df2(0x14d)][_0x2e0df2(0x1d6)](_0x4015f0),this['_scene']['addObject'](_0x4015f0,b[_0x2e0df2(0x340)]);}[_0x28c265(0x1b4)](_0x262a4a,_0x2ee62a,_0x568ae4,_0x4c0aa9){const _0x646839=_0x28c265,_0x38a22f=new a[(_0x646839(0xfb))](_0x262a4a)[_0x646839(0x314)](0.2)[_0x646839(0x2d5)](),_0x339c4f=new p[(_0x646839(0x180))](ut+a['Tools'][_0x646839(0x13e)](k),{'pointsGroup':_0x2ee62a,'fill':_0x38a22f||p['getColor'](a[_0x646839(0x162)]['black'],0.2),'left':_0x568ae4,'top':_0x4c0aa9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x646839(0x14d)]['push'](_0x339c4f),this['_scene'][_0x646839(0x291)](_0x339c4f,b[_0x646839(0x340)]);}[_0x28c265(0xf5)](_0x27729c){const _0x48d5b3=_0x27729c[0x0],_0x6fef48=_0x48d5b3[0x0],_0x41d992=_0x48d5b3[0x2],{x:_0x27d6e7,y:_0x5dace7}=_0x6fef48,{x:_0xfdf302,y:_0x1921b5}=_0x41d992;return{'left':_0x27d6e7,'top':_0x5dace7,'width':_0xfdf302-_0x27d6e7,'height':_0x1921b5-_0x5dace7};}[_0x28c265(0x22d)](){const _0x55ea17=_0x28c265,{scaleX:_0x5c15a0,scaleY:_0x21cd7e}=this[_0x55ea17(0x1a0)][_0x55ea17(0x295)]();return Math[_0x55ea17(0x1da)](_0x5c15a0,_0x21cd7e);}}var It=Object[_0x28c265(0x346)],vt=(_0x4db35a,_0x33a7b0,_0x3c1864,_0x433e45)=>{for(var _0x2d2bce=_0x433e45>0x1?void 0x0:_0x433e45?It(_0x33a7b0,_0x3c1864):_0x33a7b0,_0x92bf60=_0x4db35a['length']-0x1,_0x5de18f;_0x92bf60>=0x0;_0x92bf60--)(_0x5de18f=_0x4db35a[_0x92bf60])&&(_0x2d2bce=_0x5de18f(_0x2d2bce)||_0x2d2bce);return _0x2d2bce;},W=(_0x3a1a48,_0x261a14)=>(_0x2866e2,_0x323e4f)=>_0x261a14(_0x2866e2,_0x323e4f,_0x3a1a48);let Ie=class extends a[_0x28c265(0x2af)]{constructor(_0x189d34,_0x7c7bd1,_0x4e71ae,_0x27f88d,_0x19f994){const _0x4fbcf9=_0x28c265;super(),h(this,_0x4fbcf9(0x136),[]),h(this,_0x4fbcf9(0x130),[]),(this['_context']=_0x189d34,this[_0x4fbcf9(0x185)]=_0x7c7bd1,this[_0x4fbcf9(0x1e3)]=_0x4e71ae,this[_0x4fbcf9(0xf2)]=_0x27f88d,this['_themeService']=_0x19f994,this[_0x4fbcf9(0x271)]());}[_0x28c265(0x271)](){const _0x18fcbd=_0x28c265,_0xd33687=this['_context'][_0x18fcbd(0xdc)],_0xed11db=this[_0x18fcbd(0x185)];this[_0x18fcbd(0xcf)](d[_0x18fcbd(0x1bc)]([this[_0x18fcbd(0x1e3)][_0x18fcbd(0x23c)](_0xd33687),this[_0x18fcbd(0x214)][_0x18fcbd(0x33b)]])[_0x18fcbd(0x217)]($['map'](([_0x36b020,_0x421d13])=>({'skeleton':_0xed11db[_0x18fcbd(0x15f)](),'cursors':[..._0x36b020[_0x18fcbd(0x1b9)]()][_0x18fcbd(0x270)](_0x12973d=>({..._0x12973d,'color':this[_0x18fcbd(0x214)][_0x18fcbd(0x107)](_0x12973d[_0x18fcbd(0xcb)])}))})))[_0x18fcbd(0x2bb)](_0x343a9d=>{const _0x3c1203=_0x18fcbd;if(this[_0x3c1203(0x156)](),_0x343a9d){const {skeleton:_0x206e5a,cursors:_0xb20f94}=_0x343a9d;this[_0x3c1203(0x165)](_0x206e5a,_0xb20f94);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x28c265(0x165)](_0xe083db,_0x8a117e){const _0x4f2cac=_0x28c265,{scene:_0x547ea5,mainComponent:_0x3e71ee}=this[_0x4f2cac(0xd7)],_0xcf6c9b=_0x8a117e[_0x4f2cac(0x26f)](_0x46796f=>new De(_0x46796f,_0x547ea5,_0xe083db,_0x3e71ee));this[_0x4f2cac(0x136)]=_0xcf6c9b,this[_0x4f2cac(0x130)]=_0x8a117e;}[_0x28c265(0x2da)](){const _0x290cb4=_0x28c265;this[_0x290cb4(0x156)]();const {scene:_0x1f4158,mainComponent:_0x52f1a6}=this[_0x290cb4(0xd7)],_0x45609f=this[_0x290cb4(0x185)]['getSkeleton'](),_0x4c297e=this['_cursors'][_0x290cb4(0x26f)](_0x5914ee=>new De(_0x5914ee,_0x1f4158,_0x45609f,_0x52f1a6));this[_0x290cb4(0x136)]=_0x4c297e;}['_removeCollabCursors'](){const _0x372c19=_0x28c265;this[_0x372c19(0x136)][_0x372c19(0x15e)](_0x58b6b9=>_0x58b6b9[_0x372c19(0x1d8)]()),this[_0x372c19(0x136)]=[];}['_initCommandExecutedListener'](){const _0x15b49b=_0x28c265,_0x58e50a=[b[_0x15b49b(0x2f0)]['id']];this[_0x15b49b(0xcf)](this[_0x15b49b(0xf2)][_0x15b49b(0x2ef)](_0x3b4d6c=>{const _0x265541=_0x15b49b;_0x58e50a[_0x265541(0x1a2)](_0x3b4d6c['id'])&&_0x3b4d6c[_0x265541(0x31c)][_0x265541(0xdc)]===this[_0x265541(0xd7)][_0x265541(0xdc)]&&this[_0x265541(0x2da)]();}));}[_0x28c265(0x1fd)](){const _0x59326e=_0x28c265;this['disposeWithMe'](a['fromEventSubject'](this[_0x59326e(0xd7)][_0x59326e(0x30e)][_0x59326e(0x17b)])['pipe']($[_0x59326e(0x259)](_0x3bc054=>_0x3bc054[_0x59326e(0x32b)]===p[_0x59326e(0x260)][_0x59326e(0x25e)]),$[_0x59326e(0x31f)](0x10))[_0x59326e(0x2bb)](()=>{const _0x1b19c3=_0x59326e;this[_0x1b19c3(0x2da)]();}));}};Ie=vt([W(0x1,a[_0x28c265(0x1b0)](Y[_0x28c265(0x242)])),W(0x2,a[_0x28c265(0x1b0)](x)),W(0x3,a[_0x28c265(0x1f7)]),W(0x4,a[_0x28c265(0x1b0)](a[_0x28c265(0x1aa)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x28c265(0x126)]{constructor(_0x4d04a1,_0x427e29){const _0x31fe73=_0x28c265;super(_0x4d04a1,_0x427e29),h(this,_0x31fe73(0x30a)),h(this,_0x31fe73(0x1b1),!0x1),h(this,'_range'),h(this,'_name',''),h(this,_0x31fe73(0x16f),_0x31fe73(0x1c1)),h(this,'_backgroundColor'),(_0x427e29&&this[_0x31fe73(0xc7)](_0x427e29),this['onPointerEnter$'][_0x31fe73(0x1f8)](()=>this[_0x31fe73(0xc7)]({'hovered':!0x0})),this[_0x31fe73(0x25f)][_0x31fe73(0x1f8)](()=>this[_0x31fe73(0xc7)]({'hovered':!0x1})));}['setShapeProps'](_0x222a07){const _0x75f8fb=_0x28c265;var _0x468bba,_0x2fae00,_0x32b956,_0x677b5,_0x18f9e5,_0x28d725;this[_0x75f8fb(0x30a)]=(_0x468bba=_0x222a07[_0x75f8fb(0xcb)])!=null?_0x468bba:this[_0x75f8fb(0x30a)],this[_0x75f8fb(0x1b1)]=(_0x2fae00=_0x222a07['hovered'])!=null?_0x2fae00:this[_0x75f8fb(0x1b1)],this[_0x75f8fb(0x2cd)]=(_0x32b956=_0x222a07[_0x75f8fb(0x1d4)])!=null?_0x32b956:this['_range'],this[_0x75f8fb(0x1c9)]=(_0x677b5=_0x222a07['name'])!=null?_0x677b5:this[_0x75f8fb(0x1c9)],this['_labelPosition']=(_0x18f9e5=_0x222a07[_0x75f8fb(0x2d6)])!=null?_0x18f9e5:this['_labelPosition'],this['_backgroundColor']=(_0x28d725=_0x222a07[_0x75f8fb(0x2f6)])!=null?_0x28d725:this['_backgroundColor'],this[_0x75f8fb(0x1d9)]({'width':_0x222a07[_0x75f8fb(0x18f)],'height':_0x222a07[_0x75f8fb(0x2e8)]});}[_0x28c265(0x147)](_0x310fcd){const _0x45e4c5=_0x28c265,{row:_0x5c6aaf,column:_0x3e60c6}=_0x310fcd;if(_0x5c6aaf>=this[_0x45e4c5(0x2cd)][_0x45e4c5(0x20e)]&&_0x5c6aaf<=this[_0x45e4c5(0x2cd)][_0x45e4c5(0x233)]&&_0x3e60c6>=this[_0x45e4c5(0x2cd)][_0x45e4c5(0x13a)]&&_0x3e60c6<=this[_0x45e4c5(0x2cd)][_0x45e4c5(0x20b)]){this[_0x45e4c5(0xc7)]({'hovered':!0x0});return;}this[_0x45e4c5(0xc7)]({'hovered':!0x1});}['triggerDblclick'](_0x2c4982){return!0x1;}[_0x28c265(0x140)](_0x2d9301){const _0x15aa42=_0x28c265;p[_0x15aa42(0x1f9)][_0x15aa42(0x239)](_0x2d9301,{'width':this[_0x15aa42(0x18f)],'height':this[_0x15aa42(0x2e8)],'strokeWidth':mt,'stroke':this[_0x15aa42(0x30a)],'evented':!0x1,'fill':this[_0x15aa42(0xd4)]}),this['_hovered']&&(_0x2d9301[_0x15aa42(0x2a7)](),_0x2d9301[_0x15aa42(0x1e0)](0x1,0x0,0x0,0x1,this[_0x15aa42(0x18f)],this[_0x15aa42(0x16f)]===_0x15aa42(0x207)?0x0:-0x14),ee[_0x15aa42(0x239)](_0x2d9301,{'text':this[_0x15aa42(0x1c9)],'color':this[_0x15aa42(0x30a)]}),_0x2d9301[_0x15aa42(0x170)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x578a15,_0x451c7d,_0x2a175c,_0x4e7a04)=>{const _0x2d12f3=_0x28c265;for(var _0x1238b5=_0x4e7a04>0x1?void 0x0:_0x4e7a04?Ct(_0x451c7d,_0x2a175c):_0x451c7d,_0x14bcad=_0x578a15[_0x2d12f3(0x13d)]-0x1,_0x4ef27a;_0x14bcad>=0x0;_0x14bcad--)(_0x4ef27a=_0x578a15[_0x14bcad])&&(_0x1238b5=_0x4ef27a(_0x1238b5)||_0x1238b5);return _0x1238b5;},ae=(_0x3edec3,_0x13f731)=>(_0x425dd4,_0x57a788)=>_0x13f731(_0x425dd4,_0x57a788,_0x3edec3);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x2752a5,_0xb3532e,_0x126721,_0x2455a7){const _0x2c86cf=_0x28c265;super(),h(this,'_cursors',new Set()),h(this,_0x2c86cf(0x15b),null),(this[_0x2c86cf(0xd7)]=_0x2752a5,this[_0x2c86cf(0x182)]=_0xb3532e,this[_0x2c86cf(0x1e3)]=_0x126721,this[_0x2c86cf(0x214)]=_0x2455a7,this['_init']());}['_init'](){const _0x5bf953=_0x28c265;this[_0x5bf953(0x182)][_0x5bf953(0x132)][_0x5bf953(0x217)]($[_0x5bf953(0x2ea)](this['dispose$']),$[_0x5bf953(0x278)](_0xbf93ef=>{const _0x47dae8=_0x5bf953;if(_0xbf93ef){const _0x213c6c=_0xbf93ef[_0x47dae8(0x194)];return d[_0x47dae8(0x1bc)](this[_0x47dae8(0x1e3)][_0x47dae8(0x23c)](this[_0x47dae8(0xd7)][_0x47dae8(0xdc)]),this[_0x47dae8(0x214)][_0x47dae8(0x33b)])[_0x47dae8(0x217)]($[_0x47dae8(0x26f)](([_0x165950,_0x1164c6])=>{const _0x264921=new Map();return _0x165950['forEach']((_0x54a0ed,_0x1640c6)=>{const _0x5aa27d=_0x29a9;if(_0x54a0ed[_0x5aa27d(0x27a)]===_0x213c6c){const _0x224d82={..._0x54a0ed};_0x224d82[_0x5aa27d(0xcb)]=this[_0x5aa27d(0x214)][_0x5aa27d(0x107)](_0x54a0ed[_0x5aa27d(0xcb)]),_0x264921[_0x5aa27d(0x18c)](_0x1640c6,_0x224d82);}}),{'skeleton':_0xbf93ef,'cursors':_0x264921};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5bf953(0x2bb)](({skeleton:_0xb08421,cursors:_0x45a300})=>{const _0x2c786e=_0x5bf953;this[_0x2c786e(0x156)](),_0xb08421&&this[_0x2c786e(0x165)](_0xb08421,_0x45a300);}),this[_0x5bf953(0x182)][_0x5bf953(0x132)][_0x5bf953(0x2bb)](_0x4de83c=>{const _0x242d27=_0x5bf953;if(_0x4de83c==null)return;const {skeleton:_0x648013}=_0x4de83c,{scene:_0x5bf0e5}=this['_context'];_0x5bf0e5[_0x242d27(0x110)][_0x242d27(0x1f8)](a[_0x242d27(0x1c6)](_0x2afef6=>{const _0x77f19c=_0x242d27;var _0x4cd197,_0x19a91f;const {offsetX:_0x4d5862,offsetY:_0x207fcd}=_0x2afef6,{x:_0x336b8a,y:_0x41019c}=_0x5bf0e5[_0x77f19c(0x215)](p[_0x77f19c(0x139)]['FromArray']([_0x4d5862,_0x207fcd])),{scaleX:_0x2ca6ee,scaleY:_0x23348f}=_0x5bf0e5[_0x77f19c(0x295)](),_0x15fe8f=_0x5bf0e5['getViewport'](p[_0x77f19c(0x205)]['VIEW_MAIN']),_0x35d523=_0x5bf0e5['getVpScrollXYInfoByPosToVp'](p['Vector2']['FromArray']([_0x336b8a,_0x41019c]),_0x15fe8f),_0x460ff9=_0x648013[_0x77f19c(0x169)](_0x4d5862,_0x207fcd,_0x2ca6ee,_0x23348f,_0x35d523);((_0x4cd197=this[_0x77f19c(0x15b)])==null?void 0x0:_0x4cd197[_0x77f19c(0x339)])===_0x460ff9[_0x77f19c(0x339)]&&((_0x19a91f=this[_0x77f19c(0x15b)])==null?void 0x0:_0x19a91f[_0x77f19c(0x149)])===_0x460ff9[_0x77f19c(0x149)]||this[_0x77f19c(0x130)][_0x77f19c(0x15e)](_0x1fe594=>{_0x1fe594['onMouseMove'](_0x460ff9);});},0x64));});}[_0x28c265(0x165)](_0x4d23fe,_0x3bb0f8){const _0x41c52d=_0x28c265;var _0x34e9d7;const _0x328ead=(_0x34e9d7=this[_0x41c52d(0x182)][_0x41c52d(0x338)]())==null?void 0x0:_0x34e9d7[_0x41c52d(0xc9)];if(!_0x328ead)return;const _0x2c4886=this[_0x41c52d(0xf4)]();if(!_0x2c4886)return;this[_0x41c52d(0x130)][_0x41c52d(0x15e)](_0x414d7a=>{_0x414d7a['makeDirty']();});const {scene:_0x92530}=_0x2c4886,_0x2ae2a0=Et(Array[_0x41c52d(0x230)](_0x3bb0f8[_0x41c52d(0x1b9)]()))[_0x41c52d(0x26f)](_0x10bb9b=>{const _0x108744=_0x41c52d,{color:_0x34e765,range:_0x48604c,name:_0xdc7756,selection:_0x10ea4c,sheetID:_0x4401ea}=_0x10bb9b,{startColumn:_0x31d66a,startRow:_0x21c665,endColumn:_0x1244eb,endRow:_0x58c6c0}=_0x48604c,_0x2d7f86=X[_0x108744(0xfc)](_0x21c665,_0x31d66a,_0x92530,_0x328ead),_0x1f8b13=X[_0x108744(0xfc)](_0x58c6c0,_0x1244eb,_0x92530,_0x328ead),{columnHeaderHeightAndMarginTop:_0x529a67}=_0x328ead,{startX:_0x3cb994,startY:_0x3dda92}=_0x2d7f86,{endX:_0x5e4a7e,endY:_0xfbbc8d}=_0x1f8b13,_0x7391d1=_0x5e4a7e-_0x3cb994,_0x54ff15=_0xfbbc8d-_0x3dda92,_0x492f67={'labelPosition':_0x3dda92-_0x529a67>=K?_0x108744(0x1c1):'bottom','sheetID':_0x4401ea,'range':_0x48604c,'color':_0x34e765,'name':_0xdc7756,'selection':_0x10ea4c,'left':_0x3cb994,'top':_0x3dda92,'width':_0x7391d1,'height':_0x54ff15,'evented':!0x1,'zIndex':bt};return new Pe(_0xdc7756,_0x492f67);});_0x92530['addObjects'](_0x2ae2a0,gt),this['_cursors']=new Set(_0x2ae2a0);}['_removeCollabCursors'](){const _0x3161f8=_0x28c265;var _0x1d8334;(_0x1d8334=this[_0x3161f8(0x130)])==null||_0x1d8334[_0x3161f8(0x15e)](_0x206cab=>_0x206cab[_0x3161f8(0x1d8)]());}[_0x28c265(0xf4)](){const _0x4640b6=_0x28c265;return X[_0x4640b6(0x1cf)](this[_0x4640b6(0xd7)][_0x4640b6(0x32d)],this[_0x4640b6(0xd7)]);}};ve=pt([ae(0x1,a[_0x28c265(0x1b0)](X['SheetSkeletonManagerService'])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x28c265(0x1b0)](a['ThemeService']))],ve);function Et(_0x5a8421){const _0xf8b4ed=_0x28c265,_0x3ac743=new Map();return _0x5a8421['forEach'](_0x17dda6=>{const _0x1b402d=_0x29a9;if(_0x3ac743[_0x1b402d(0x16c)](_0x17dda6[_0x1b402d(0x1e5)])){const _0x23712e=_0x3ac743['get'](_0x17dda6[_0x1b402d(0x1e5)]);_0x23712e[_0x1b402d(0x254)]+=',\x20'+_0x17dda6['name'];}else _0x3ac743[_0x1b402d(0x18c)](_0x17dda6[_0x1b402d(0x1e5)],_0x17dda6);}),Array[_0xf8b4ed(0x230)](_0x3ac743[_0xf8b4ed(0x1b9)]());}var E=function(){return E=Object['assign']||function(_0x54ad47){const _0x42be78=_0x29a9;for(var _0x2080a1,_0x9ef042=0x1,_0x59f9bf=arguments[_0x42be78(0x13d)];_0x9ef042<_0x59f9bf;_0x9ef042++){_0x2080a1=arguments[_0x9ef042];for(var _0x5c1845 in _0x2080a1)Object['prototype']['hasOwnProperty'][_0x42be78(0x238)](_0x2080a1,_0x5c1845)&&(_0x54ad47[_0x5c1845]=_0x2080a1[_0x5c1845]);}return _0x54ad47;},E['apply'](this,arguments);},Tt=function(_0x1072e0,_0x2000da){const _0xf126f2=_0x28c265;var _0x27a3b7={};for(var _0x1241ef in _0x1072e0)Object[_0xf126f2(0x336)][_0xf126f2(0x266)]['call'](_0x1072e0,_0x1241ef)&&_0x2000da[_0xf126f2(0x18d)](_0x1241ef)<0x0&&(_0x27a3b7[_0x1241ef]=_0x1072e0[_0x1241ef]);if(_0x1072e0!=null&&typeof Object[_0xf126f2(0x1a7)]==_0xf126f2(0x146)){for(var _0x17c4b1=0x0,_0x1241ef=Object[_0xf126f2(0x1a7)](_0x1072e0);_0x17c4b1<_0x1241ef[_0xf126f2(0x13d)];_0x17c4b1++)_0x2000da[_0xf126f2(0x18d)](_0x1241ef[_0x17c4b1])<0x0&&Object[_0xf126f2(0x336)][_0xf126f2(0x265)]['call'](_0x1072e0,_0x1241ef[_0x17c4b1])&&(_0x27a3b7[_0x1241ef[_0x17c4b1]]=_0x1072e0[_0x1241ef[_0x17c4b1]]);}return _0x27a3b7;},pe=M[_0x28c265(0x2aa)](function(_0x3c43fc,_0x25c456){const _0x13214d=_0x28c265;var _0x16e730=_0x3c43fc[_0x13214d(0x141)],_0x157594=_0x3c43fc['id'],_0x33a541=_0x3c43fc[_0x13214d(0x320)],_0x470248=_0x3c43fc[_0x13214d(0xf0)],_0x30ef45=Tt(_0x3c43fc,[_0x13214d(0x141),'id',_0x13214d(0x320),_0x13214d(0xf0)]),_0x28ce4f=_0x13214d(0x211)['concat'](_0x157594,'\x20')[_0x13214d(0x1a8)](_0x33a541||'')['trim'](),_0x16b216=M['useRef']('_'[_0x13214d(0x1a8)](Dt()));return Ae(_0x16e730,''[_0x13214d(0x1a8)](_0x157594),{'defIds':_0x16e730[_0x13214d(0x328)],'idSuffix':_0x16b216[_0x13214d(0x29f)]},E({'ref':_0x25c456,'className':_0x28ce4f},_0x30ef45),_0x470248);});function Ae(_0x5b7e7d,_0x47b581,_0x27cfb0,_0x37fdde,_0x2fe548){const _0x4381a1=_0x28c265;return M[_0x4381a1(0xf1)](_0x5b7e7d[_0x4381a1(0x1d7)],E(E({'key':_0x47b581},Ot(_0x5b7e7d,_0x27cfb0,_0x2fe548)),_0x37fdde),(Rt(_0x5b7e7d,_0x27cfb0)['children']||[])[_0x4381a1(0x26f)](function(_0x3516e0,_0x35b692){const _0xeb2c63=_0x4381a1;return Ae(_0x3516e0,''[_0xeb2c63(0x1a8)](_0x47b581,'-')['concat'](_0x5b7e7d[_0xeb2c63(0x1d7)],'-')['concat'](_0x35b692),_0x27cfb0,void 0x0,_0x2fe548);}));}function Ot(_0xd28895,_0x350781,_0x2c81ae){const _0x305cd1=_0x28c265;var _0x126688=E({},_0xd28895[_0x305cd1(0x1ac)]);_0x2c81ae!=null&&_0x2c81ae[_0x305cd1(0x263)]&&_0x126688[_0x305cd1(0xed)]==='colorChannel1'&&(_0x126688['fill']=_0x2c81ae['colorChannel1']),_0xd28895[_0x305cd1(0x1d7)]===_0x305cd1(0x10b)&&_0x126688['id']&&(_0x126688['id']=_0x126688['id']+_0x350781[_0x305cd1(0xcd)]),Object[_0x305cd1(0x12a)](_0x126688)[_0x305cd1(0x15e)](function(_0x2d55ed){const _0x58d747=_0x305cd1;var _0x2a9a75=_0x2d55ed[0x0],_0x482185=_0x2d55ed[0x1];_0x2a9a75===_0x58d747(0x10b)&&typeof _0x482185==_0x58d747(0xe4)&&(_0x126688[_0x2a9a75]=_0x482185[_0x58d747(0x2e3)](/url\(#(.*)\)/,_0x58d747(0x22c)[_0x58d747(0x1a8)](_0x350781[_0x58d747(0xcd)],')')));});var _0x505ea0=_0x350781['defIds'];return!_0x505ea0||_0x505ea0['length']===0x0||(_0xd28895[_0x305cd1(0x1d7)]===_0x305cd1(0x105)&&_0x126688['xlink:href']&&(_0x126688[_0x305cd1(0x14a)]=_0x126688['xlink:href']+_0x350781[_0x305cd1(0xcd)]),Object['entries'](_0x126688)[_0x305cd1(0x15e)](function(_0x33c971){const _0x2f23a7=_0x305cd1;var _0x2f8d73=_0x33c971[0x0],_0x9c41f3=_0x33c971[0x1];typeof _0x9c41f3==_0x2f23a7(0xe4)&&(_0x126688[_0x2f8d73]=_0x9c41f3[_0x2f23a7(0x2e3)](/url\(#(.*)\)/,_0x2f23a7(0x22c)['concat'](_0x350781[_0x2f23a7(0xcd)],')')));})),_0x126688;}function Rt(_0x517f3b,_0x24d935){const _0x57f71f=_0x28c265;var _0x9886f0,_0x71ea75=_0x24d935[_0x57f71f(0x328)];return!_0x71ea75||_0x71ea75[_0x57f71f(0x13d)]===0x0?_0x517f3b:_0x517f3b[_0x57f71f(0x1d7)]===_0x57f71f(0x1a4)&&(!((_0x9886f0=_0x517f3b[_0x57f71f(0x302)])===null||_0x9886f0===void 0x0)&&_0x9886f0[_0x57f71f(0x13d)])?E(E({},_0x517f3b),{'children':_0x517f3b[_0x57f71f(0x302)]['map'](function(_0x28b115){const _0x409295=_0x57f71f;return typeof _0x28b115[_0x409295(0x1ac)]['id']=='string'&&_0x71ea75&&_0x71ea75[_0x409295(0x1a2)](_0x28b115[_0x409295(0x1ac)]['id'])?E(E({},_0x28b115),{'attrs':E(E({},_0x28b115[_0x409295(0x1ac)]),{'id':_0x28b115[_0x409295(0x1ac)]['id']+_0x24d935[_0x409295(0xcd)]})}):_0x28b115;})}):_0x517f3b;}function Dt(){const _0x4c7590=_0x28c265;return Math[_0x4c7590(0x1d5)]()[_0x4c7590(0x2eb)](0x24)[_0x4c7590(0x268)](0x2,0x8);}pe[_0x28c265(0x2f5)]='UniverIcon';var Ut={'tag':'svg','attrs':{'xmlns':_0x28c265(0x24a),'fill':_0x28c265(0x219),'viewBox':_0x28c265(0x1cb),'width':_0x28c265(0x2b8),'height':_0x28c265(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x28c265(0x2ed)},'children':[{'tag':_0x28c265(0x2ae),'attrs':{'stroke':'currentColor','d':_0x28c265(0x313),'strokeLinecap':_0x28c265(0x203),'strokeLinejoin':_0x28c265(0x203),'strokeWidth':1.2}}]},{'tag':_0x28c265(0x1a4),'attrs':{},'children':[{'tag':_0x28c265(0x160),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x28c265(0x2ae),'attrs':{'fill':_0x28c265(0x134),'d':_0x28c265(0x202)}}]}]}],'defIds':[_0x28c265(0x18a)]},ye=M[_0x28c265(0x2aa)](function(_0x12d737,_0x38c417){const _0x3a6349=_0x28c265;return M[_0x3a6349(0xf1)](pe,Object[_0x3a6349(0x1f3)]({},_0x12d737,{'id':_0x3a6349(0x158),'ref':_0x38c417,'icon':Ut}));});ye[_0x28c265(0x2f5)]=_0x28c265(0x2e5);function _0x11d0(){const _0x526b28=['DocSkeletonManagerService','transformRemoteChangeset','APPLY_NON_SEQUENTIAL_REVISION','runId','YUUMI_URL_COL_OUT_OF_RANGE','SessionStatus','error','clsx','http://www.w3.org/2000/svg','debounceTime','MemberService','SOCKET_FAILED','UniverInstanceType','_initEntityListener','then','add','_updateLocalCursor','@univerjs-pro/collaboration-client','name','stringify','get','_scheduleClearOtherTimer','Error','filter','TEXT','status$','_disabled','href','resize','onPointerLeave$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_configService','colorChannel1','_eventUnsubscribe','propertyIsEnumerable','hasOwnProperty','YUUMI_UNABLE_LOAD_URL','substring','ILocalStorageService','APPLY_REJECT','_getSessionTicket','EffectRefRangId','UNAUTHENTICATED','SetSelectionsOperation','map','flatMap','_init','memberID','useCallback','assignAColorForMemberID','post','subunit','USER_NOT_INVITED_CODE','switchMap','COMPLETION_FINISHED','sheetID','267124NVMWzp','_removeClearOtherTimer','RefRangeService','_transformUndoRedoStack','react','on-line-icon_clip0_910_349','PERMISSION_DENIED','handleMoveRange','_docClipboardService','registerRenderModule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','key','rxjs/operators','docStateChange$','_getMergeRange','registerRefRange','_handleHover','_doCreateSocket','INVALID_ARGUMENT','complete','getFocusedUnit','getUnitStatus$','addObject','onRendered','exhaustSavingTask','CollaborationSessionService','getAncestorScale','fromEvent','_instanceService','unsubscribe','roomMembers','enableLocalCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','sessionStatus$','isActive','getUnhiddenWorksheets','current','executionId','_createSocketURL','selections','mutations','lineTo','ENSURE_SNAPSHOT_EXECUTION','_initStatusListener','save','_docStateChangeManagerService','UNIVER_SHEET','forwardRef','USERS_LEAVE','jsx','isArray','path','RxDisposable','_unitOnClients','whenReady','BehaviorSubject','green.600','purple.300','roomMembers$','UniverCollaborationClientUIPlugin','_transformHistoryAndStateStack','1em','_univerInstanceService','_updateURLWithCurrentState','subscribe','jsxs','_syncEditingCollabCursorService','UniverCollaborationClientPlugin','YUUMI_AI_RUN_FAILED','HEADER_MENU','_handleHeartbeatEvent','createSocket','collabStatus.conflict','IURLService','getCurrentUnitForType','_registerRenderDependencies','pluginName','cursorInfo$','_startSheetCollabCursor','addClipboardHook','result','UNIVER_DOC','_range','_collaborationController','setInterval','newValue','with','redoState','ONLINE','ILogService','toRgbString','labelPosition','setItem','getMergeData','moveTo','_refreshCollabCursors','getValue','ILocalCacheService','APPLY_REVISION_CONFILICT','createInstance','saveImage','handleDeleteRangeMoveUp','beginPath','Unknown\x20user','replace','search','OffLineIcon','getActiveSheet','_anchorDot','height','Tooltip','takeUntil','toString','getUnitId','url(#off-line-icon_clip0_910_343)','clearInterval','onCommandExecuted','SetDocZoomRatioOperation','_colorIndex','IConfigService','getCurrentSelections','init','displayName','backgroundColor','translate(.97)','collaboration-client.offline-data-not-saved','collabStatus.syncing','CollaborationUIEventId','_heartbeatTimer','getMember','_roomMembers$','deepClone','UPDATE_CURSOR','getTypeOfUnitDisposed$','CollaborationSocketService','children','focused$','_status$','ALREADY_EXISTS','@univerjs/rpc','_messageService','EMAIL_HAS_BEEN_BOUND','MOBILE_HAS_BEEN_BOUND','_color','_collabCursorState$','AWAITING','InsertRangeMoveDownCommandId','engine','_send','collabCursorState$','APPLY_DUPLICATED','svg','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','setAlpha','NO_OTHER_CLIENTS_EDITING','DesktopCollaborationStatusDisplayController','RevisionService','setTimeout','229602OxypgJ','@univerjs/design','_anchor','params','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','toStringTag','throttleTime','className','collaboration.closeRoom','DEFAULT_WS_SESSION_TICKET_URL','asObservable','_beforeCloseService','runRefRangeMutations','YUUMI_RATE_OVER_LIMIT','...','defIds','DocStateChangeManagerService','setStateCache','type','transformStateCache','unit','36224okRlau','collab-text-anchor-','deserializeRangeWithSheet','RECT','getOffsetConfig','CollaborationEvent','defineProperty','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','prototype','session.connection-failed','getCurrent','column','619885zyTQSK','currentTheme$','CONNECTOR_DATA_TOO_LARGE','_localCacheService','IMessageService','DeleteRangeMoveLeftCommandId','TEXT_RANGE_LAYER_INDEX','red.300','1458734fCFRby','find','CollaborationUIEventService','_docTransformSelectionsService','getOwnPropertyDescriptor','hide','url(#on-line-icon_clip0_910_349)','blue.400','connectInjector','startsWith','disposeUnit','_docSyncEditingCollabCursorService','send','2826GkQeed','symbol','setShapeProps','IUIPartsService','skeleton','handleIRemoveRow','color','[RemoteUniscriptService]:\x20no\x20focused\x20unit','idSuffix','_injector','disposeWithMe','INTERNAL_ERROR','_cursor','LOGIN_FAILED','transformMutationsWithChangeset','_backgroundColor','all','LICENSE_DISTRO_REJECTED','_context','mergeOverrideWithDependencies','_initDependencies','editingUnit','collab-text-range-','unitId','AWAITING_WITH_PENDING','_onCursorUpdate','#FFF','_setupSubUnitSync','CLOSE_ROOM','YUUMI_NO_CUBOID_FOR_QUESTION','rxjs','string','MessageType','BuiltInUIPart','_cursorInfo$','IBeforeCloseService','_getSaveTimeout','getRangePointData','parse','@univerjs/engine-render','fill','_assignedColors','_entityInit$','extend','createElement','_commandService','LICENSE_EXPORT_SIZE_EXCEEDED','_getSheetObject','_getAnchorBounding','location','CollaborationStatusDisplay','closePath','registerDependencies','clearTimeout','ColorKit','getCoordByCell','useObservable','DocCollaborationEntity','INVITE_CODE_HAS_BEEN_UES','InsertColCommandId','_toggleOffline','_document','text','collab-rect-range-','use','_localStorageService','getColorFromTheme','SheetCollabCursorShape','ranges','body','mask','_urlService','arc','getConfig','SNAPSHOT_INVALID_SNAPSHOT','onPointerMove$','INVITE_CODE_ALREADY_BOUND','DisposableCollection','next','code','WECHAT_HAS_BEEN_BOUND','ITransformService','requireSession','_transformPreviousActiveRange','replaceState','INotificationService','3qGPmQv','fillStyle','ISnapshotServerService','[CollaborationDataLoaderController]','_config','findNodePositionByCharIndex','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','imageSourceType','eventID','getSheetId','_updateSubUnitFromURLParams','Shape','_handleEvent','NOT_FOUND','_unitStatus','entries','Disposable','_colorAssignService','searchParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','m2Prime','_cursors','collab-client.tooltip.reconnect','currentSkeleton$','getColor','white','NodePositionConvertToCursor','_cursorShapes','setParam','onStarting','Vector2','startColumn','replaceDocRanges','storage','length','generateRandomId','_logService','_draw','icon','_httpService','CollaborationDataLoaderController','UnitStatus','registerBeforeClose','function','onMouseMove','_onCursorDelete','row','xlink:href','YUUMI_SUBSCRIPTION_NOT_FOUND','SetTextSelectionsOperation','_shapes','_hideTimer','_refRangeService','setConfig','getUniverSheetInstance','_textBubble','NOT_COLLAB','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','_removeCollabCursors','SOCKET_FAILED_RETRY','off-line-icon','RichTextEditingMutation','univer-flex\x20univer-mr-2\x20univer-text-xl','_lastPointer','merge','actions','forEach','getSkeleton','clipPath','_collaborationUIEventService','COLORS','CONFLICT','onLocalMutation','_updateCollabCursors','react/jsx-runtime','LOCAL_CACHE_INTERVAL','measureText','getCellPositionByOffset','0\x200\x2017\x2016','_localeService','has','reconnect','unshift','_labelPosition','restore','UNDEFINED','min','UNRECOGNIZED','_initStatusComponent','@univerjs/engine-formula','dispose$','SheetsSelectionsService','RemoveRowCommandId','onPointerEnter$','_dataLoaderService','onTransformChange$','useDependency','disableLocalCache','transformIMECache','isTransformMutationFailure','RegularPolygon','show','_sheetSkeletonManagerService','YUUMI_ALL_TABLES_IS_INVALID','toDisposable','_docSkeletonManagerService','SNAPSHOT_HAS_BEEN_REMOVED','evenodd','LICENSE_IMPORT_SIZE_EXCEEDED','CollaborationStatus','off-line-icon_clip0_910_343','IRemoteInstanceService','set','indexOf','_collabSessionService','width','@univerjs-pro/collaboration','executeCommand','getLocalCacheKey','WebSocketService','sheetId','_docTransformStateCacheService','TOO_MANY_REQUESTS','collabStatus.notCollab','@univerjs/docs-ui','PENDING','some','_revisionService','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','application/json','textRanges','_scene','Warning','includes','@univerjs/ui','defs','_hover','_scheduleSaving','getOwnPropertySymbols','concat','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','ThemeService','_toggleOnline','attrs','pushState','rgba(255,\x20255,\x20255,\x200.01)','DeleteRangeMoveUpCommandId','Inject','_hovered','getRenderById','OFFLINE','_drawRectRange','OTHER_CLIENT_EDITING','_onRefRangeChange','_cachedData','@univerjs/network','values','IImageIoService','_ensureSubject','combineLatest','Rectangle','_clearOtherTimers','transformSelections','unload','top','getUndoRedoMutationParamsCache','_transformService','shareReplay','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','debounce','_session','MUTATION','_name','fillText','0\x200\x2016\x2016','1179488MPuoIe','urlChange$','getCurrentRevOfUnit','getSheetObject','_saveTaskMap','_handleLeaveEvent','YUUMI_ASYNCIO_CANCELLED','DocSelectionManagerService','range','random','push','tag','dispose','transformByState','max','saveOfflineData','APPLY_PERMISSION_DENIED','m1Prime','_render','history','transform','@univerjs/sheets-ui','_id','_collabCursorController','cursorInfo','selection','createIdentifier','div','FETCH_MISS','debug','DOC_RANGE_TYPE','getParam','Subject','handleDeleteRangeMoveLeft','transformMutation','event$','Module','_initEvent','_selfUnitIDs','assign','CHANGESET_REVISION_CONFILICT','_entities','_drawAnchor','ICommandService','subscribeEvent','Rect','Failed','_notificationService','HTTPService','_initResize','data','session.collaboration-timeout','unitID','_docTransformIMECacheService','M0\x200H16V16H0z','round','getMemberID','SHEET_VIEWPORT_KEY','RemoteUniscriptService','bottom','IUniverInstanceService','_online','_scheduleHeartbeat','endColumn','1030oOWuDW','MoveRangeCommandId','startRow','syncEditingCollabCursor','_renderManagerService','univerjs-icon\x20univerjs-icon-','_registerDependencies','INVITE_CODE_REQUIRED','_themeService','getRelativeToViewportCoord','4903644osfOYh','pipe','PY_RUNTIME_SCRIPT_ERROR','none','on-line-icon','125IaofMn','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_saveCache','sessionTicket','CollaborationController','delete','LocaleService','DocIMEInputManagerService','@univerjs/docs','IRenderManagerService','isTransformMutationsWithChangesetSuccess','_memberService','getDocRanges','_imageIoService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RemoveColCommandId','serializeRangeWithSheet','url(#$1','_getScale','removeParam','collaboration.single-unit.warning','from','getActiveRange','handleInsertRow','endRow','handleInsertCol','_setupBeforeClosingHandler','Tools','black','call','drawWith','saveTaskMap','Injector','getCollabCursors$','INVALID_INVITE_CODE','source','size','getSheetBySheetId','SetWorksheetActivateCommand'];_0x11d0=function(){return _0x526b28;};return _0x11d0();}var Nt={'tag':_0x28c265(0x312),'attrs':{'xmlns':_0x28c265(0x24a),'fill':_0x28c265(0x219),'viewBox':_0x28c265(0x16a),'width':_0x28c265(0x2b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28c265(0x348)},'children':[{'tag':_0x28c265(0x2ae),'attrs':{'stroke':'currentColor','d':_0x28c265(0x1a9),'strokeLinecap':_0x28c265(0x203),'strokeLinejoin':_0x28c265(0x203),'strokeWidth':1.2}}]},{'tag':_0x28c265(0x1a4),'attrs':{},'children':[{'tag':_0x28c265(0x160),'attrs':{'id':_0x28c265(0x280)},'children':[{'tag':'path','attrs':{'fill':_0x28c265(0x134),'d':_0x28c265(0x202),'transform':_0x28c265(0x2f7)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$e=M[_0x28c265(0x2aa)](function(_0x141bec,_0x55ff47){const _0x207420=_0x28c265;return M[_0x207420(0xf1)](pe,Object[_0x207420(0x1f3)]({},_0x141bec,{'id':_0x207420(0x21a),'ref':_0x55ff47,'icon':Nt}));});$e[_0x28c265(0x2f5)]='OnLineIcon';function _0x29a9(_0x3cb59b,_0x4bfd88){const _0x11d03e=_0x11d0();return _0x29a9=function(_0x29a98b,_0x208fd4){_0x29a98b=_0x29a98b-0xc0;let _0x4f2235=_0x11d03e[_0x29a98b];return _0x4f2235;},_0x29a9(_0x3cb59b,_0x4bfd88);}function Mt(_0x4aebe2){const _0x580fa1=_0x28c265;switch(_0x4aebe2){case u['CollaborationStatus'][_0x580fa1(0x1b3)]:return'collabStatus.offline';case u[_0x580fa1(0x189)][_0x580fa1(0x163)]:return _0x580fa1(0x2c3);case u[_0x580fa1(0x189)][_0x580fa1(0x1e8)]:return'collabStatus.fetchMiss';case u[_0x580fa1(0x189)][_0x580fa1(0x153)]:return _0x580fa1(0x197);case u[_0x580fa1(0x189)][_0x580fa1(0x30c)]:case u[_0x580fa1(0x189)][_0x580fa1(0xdd)]:return _0x580fa1(0x2f9);case u[_0x580fa1(0x189)][_0x580fa1(0x19c)]:case u[_0x580fa1(0x189)][_0x580fa1(0x199)]:return'collabStatus.synced';}}function xe(_0x2aa1a6){const _0x2b8808=_0x28c265,{status$:_0x1113c5}=_0x2aa1a6,_0x571718=T[_0x2b8808(0xfd)](_0x1113c5,u[_0x2b8808(0x189)][_0x2b8808(0x153)]),_0x745cf4=T['useDependency'](a[_0x2b8808(0x221)]),_0x1d7474=T[_0x2b8808(0x17c)](u[_0x2b8808(0x294)]),_0x57f52d=_0x571718!==u[_0x2b8808(0x189)][_0x2b8808(0x1b3)],_0x2e888b=_0x745cf4['t'](Mt(_0x571718)),_0x30151f=_0x57f52d?w[_0x2b8808(0x2ac)]($e,{}):w[_0x2b8808(0x2ac)](ye,{}),_0x16ee4d=M[_0x2b8808(0x273)](()=>{const _0x518261=_0x2b8808;_0x57f52d||_0x1d7474[_0x518261(0x16d)]();},[_0x57f52d,_0x1d7474]);function _0xe29ed0(){const _0x3a9dd2=_0x2b8808;return w[_0x3a9dd2(0x2bc)](_0x3a9dd2(0x1e7),{'className':'univer-flex\x20univer-items-center','onClick':_0x16ee4d,'children':[w[_0x3a9dd2(0x2ac)]('div',{'className':D[_0x3a9dd2(0x249)](_0x3a9dd2(0x15a),{'univer-text-green-500':_0x57f52d,'univer-text-red-500':!_0x57f52d}),'children':_0x30151f}),w[_0x3a9dd2(0x2ac)](_0x3a9dd2(0x1e7),{'className':_0x3a9dd2(0x261),'children':_0x2e888b})]});}return _0x57f52d?_0xe29ed0():w['jsx'](D[_0x2b8808(0x2e9)],{'title':_0x745cf4['t'](_0x2b8808(0x131)),'children':_0xe29ed0()});}var Lt=Object['getOwnPropertyDescriptor'],wt=(_0x373823,_0x3e31b4,_0x21994f,_0x35ed24)=>{for(var _0x23b586=_0x35ed24>0x1?void 0x0:_0x35ed24?Lt(_0x3e31b4,_0x21994f):_0x3e31b4,_0x1ca77a=_0x373823['length']-0x1,_0x5efcfb;_0x1ca77a>=0x0;_0x1ca77a--)(_0x5efcfb=_0x373823[_0x1ca77a])&&(_0x23b586=_0x5efcfb(_0x23b586)||_0x23b586);return _0x23b586;},V=(_0x2e76aa,_0x2d33d6)=>(_0x5b212a,_0x2cb9a0)=>_0x2d33d6(_0x5b212a,_0x2cb9a0,_0x2e76aa);exports['DesktopCollaborationStatusDisplayController']=class extends a['Disposable']{constructor(_0x4dfa95,_0x117178,_0x2e4906,_0x4ea6aa){const _0x225d94=_0x28c265;super(),h(this,'_status$',new d[(_0x225d94(0x2b2))](u[_0x225d94(0x189)][_0x225d94(0x153)])),(this['_univerInstanceService']=_0x4dfa95,this[_0x225d94(0xce)]=_0x117178,this[_0x225d94(0x2ce)]=_0x2e4906,this['_uiPartsService']=_0x4ea6aa,this[_0x225d94(0x174)](),this[_0x225d94(0x2a6)]());}[_0x28c265(0x2a6)](){const _0x3c75a7=_0x28c265;this[_0x3c75a7(0xcf)](this['_univerInstanceService'][_0x3c75a7(0x303)][_0x3c75a7(0x217)](d['switchMap'](()=>{const _0x467713=_0x3c75a7,_0x408cad=this['_univerInstanceService'][_0x467713(0x28f)]();return _0x408cad?this[_0x467713(0x2ce)]['getCollabEntity$'](_0x408cad[_0x467713(0x2ec)]()):d['of'](null);}),d[_0x3c75a7(0x278)](_0x2c510f=>_0x2c510f?_0x2c510f[_0x3c75a7(0x25b)]:d['of'](u['CollaborationStatus'][_0x3c75a7(0x153)])))[_0x3c75a7(0x2bb)](_0x2eed7=>{const _0x8b8bef=_0x3c75a7;this['_status$'][_0x8b8bef(0x113)](_0x2eed7);}));}[_0x28c265(0x174)](){const _0x369791=_0x28c265;this[_0x369791(0xcf)](this['_uiPartsService']['registerComponent'](T[_0x369791(0xe6)][_0x369791(0x2c0)],()=>T[_0x369791(0xc0)](Pt({'status$':this[_0x369791(0x304)][_0x369791(0x323)]()}),this[_0x369791(0xce)])));}},exports[_0x28c265(0x316)]=wt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),V(0x2,a[_0x28c265(0x1b0)](u['CollaborationController'])),V(0x3,T[_0x28c265(0xc8)])],exports[_0x28c265(0x316)]);function Pt(_0x51f605){const {status$:_0x5a5c87}=_0x51f605;return function(){const _0x4da4af=_0x29a9;return w[_0x4da4af(0x2ac)](xe,{'status$':_0x5a5c87});};}var At=Object['getOwnPropertyDescriptor'],yt=(_0x2bda7f,_0x5107e9,_0x247384,_0xfaef62)=>{const _0x5dd98f=_0x28c265;for(var _0x1684ff=_0xfaef62>0x1?void 0x0:_0xfaef62?At(_0x5107e9,_0x247384):_0x5107e9,_0x1c59be=_0x2bda7f[_0x5dd98f(0x13d)]-0x1,_0x1747d4;_0x1c59be>=0x0;_0x1c59be--)(_0x1747d4=_0x2bda7f[_0x1c59be])&&(_0x1684ff=_0x1747d4(_0x1684ff)||_0x1684ff);return _0x1684ff;},y=(_0x1550fd,_0x8b1d42)=>(_0x4fc0fd,_0x5f0c20)=>_0x8b1d42(_0x4fc0fd,_0x5f0c20,_0x1550fd);let q=class extends a[_0x28c265(0x12b)]{constructor(_0x3f194e,_0xe78ff8,_0x43573e,_0x489a16,_0x4346b8,_0x17d9fd){const _0x708f8d=_0x28c265;super(),this[_0x708f8d(0x324)]=_0x3f194e,this[_0x708f8d(0x33d)]=_0xe78ff8,this['_collaborationUIEventService']=_0x43573e,this[_0x708f8d(0x307)]=_0x489a16,this[_0x708f8d(0x1fb)]=_0x4346b8,this['_localeService']=_0x17d9fd,this['_setupBeforeClosingHandler'](),this[_0x708f8d(0x1f1)]();}[_0x28c265(0x235)](){const _0x58fb77=_0x28c265;this['disposeWithMe'](this['_beforeCloseService'][_0x58fb77(0x145)](()=>{const _0x396714=_0x58fb77;if(this[_0x396714(0x33d)][_0x396714(0x23a)][_0x396714(0x23f)])return this['_localeService']['t'](_0x396714(0x2f8));}));}[_0x28c265(0x1f1)](){const _0x267d00=_0x28c265;this['disposeWithMe'](this[_0x267d00(0x161)][_0x267d00(0x1ef)][_0x267d00(0x2bb)](_0x5fa443=>{const _0x384614=_0x267d00;_0x5fa443['id']===u[_0x384614(0x2fa)][_0x384614(0x1b5)]&&this[_0x384614(0x307)]['show']({'type':D[_0x384614(0xe5)][_0x384614(0x1a1)],'content':this[_0x384614(0x16b)]['t'](_0x384614(0x22f))}),_0x5fa443['id']===u[_0x384614(0x2fa)][_0x384614(0xe1)]&&this['_messageService'][_0x384614(0x181)]({'type':D['MessageType'][_0x384614(0x1a1)],'content':this[_0x384614(0x16b)]['t'](_0x384614(0x321))}),_0x5fa443['id']===u[_0x384614(0x2fa)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x384614(0x16b)]['t']('permission.title'),'content':this[_0x384614(0x16b)]['t']('permission.content'),'type':_0x384614(0x248),'duration':0x0}),_0x5fa443['id']===u[_0x384614(0x2fa)]['CONFLICT']&&this[_0x384614(0x307)][_0x384614(0x181)]({'type':D[_0x384614(0xe5)][_0x384614(0x258)],'content':this[_0x384614(0x16b)]['t'](_0x384614(0x321))+'('+_0x5fa443[_0x384614(0x1fe)]+')'}),_0x5fa443['id']===u[_0x384614(0x2fa)]['JOIN_ROOM_FAILED']&&this[_0x384614(0x307)][_0x384614(0x181)]({'type':D[_0x384614(0xe5)][_0x384614(0x1a1)],'content':this[_0x384614(0x16b)]['t'](_0x5fa443[_0x384614(0x1fe)]||'')}),_0x5fa443['id']===u[_0x384614(0x2fa)][_0x384614(0x157)]&&this['_messageService'][_0x384614(0x181)]({'type':D[_0x384614(0xe5)]['Warning'],'content':this[_0x384614(0x16b)]['t']('session.will-retry')}),_0x5fa443['id']===u[_0x384614(0x2fa)][_0x384614(0x24d)]&&this[_0x384614(0x307)][_0x384614(0x181)]({'type':D[_0x384614(0xe5)][_0x384614(0x258)],'content':this[_0x384614(0x16b)]['t'](_0x384614(0x337))}),_0x5fa443['id']===u[_0x384614(0x2fa)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x384614(0x307)][_0x384614(0x181)]({'type':D[_0x384614(0xe5)][_0x384614(0x258)],'content':this[_0x384614(0x16b)]['t'](_0x384614(0x1ff))});}));}};q=yt([y(0x0,T[_0x28c265(0xe8)]),y(0x1,u[_0x28c265(0x2dc)]),y(0x2,a['Inject'](u[_0x28c265(0x344)])),y(0x3,T[_0x28c265(0x33e)]),y(0x4,T[_0x28c265(0x11a)]),y(0x5,a[_0x28c265(0x1b0)](a[_0x28c265(0x221)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x28c265(0x1e6)]('uni.network.url-service');var xt=Object[_0x28c265(0x346)],jt=(_0x33c603,_0x131a78,_0x513098,_0x45a8f1)=>{const _0xce0801=_0x28c265;for(var _0x941807=_0x45a8f1>0x1?void 0x0:_0x45a8f1?xt(_0x131a78,_0x513098):_0x131a78,_0x1fb218=_0x33c603[_0xce0801(0x13d)]-0x1,_0x4da721;_0x1fb218>=0x0;_0x1fb218--)(_0x4da721=_0x33c603[_0x1fb218])&&(_0x941807=_0x4da721(_0x941807)||_0x941807);return _0x941807;},H=(_0x428cc5,_0x5bb194)=>(_0x1aa537,_0x2b52bc)=>_0x5bb194(_0x1aa537,_0x2b52bc,_0x428cc5);exports[_0x28c265(0x143)]=class extends a[_0x28c265(0x2af)]{constructor(_0x431ce8,_0x59df5b,_0x56830e,_0x4c0685,_0x32da26){const _0x3336c5=_0x28c265;super(),this[_0x3336c5(0x10c)]=_0x431ce8,this[_0x3336c5(0x13f)]=_0x59df5b,this[_0x3336c5(0xf2)]=_0x56830e,this[_0x3336c5(0x17a)]=_0x4c0685,_0x32da26?_0x32da26==null||_0x32da26[_0x3336c5(0x2b1)]()[_0x3336c5(0x250)](()=>this[_0x3336c5(0x271)]()):(this[_0x3336c5(0x13f)]['debug'](_0x3336c5(0x11e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3336c5(0x271)]());}async[_0x28c265(0x271)](){const _0x3b39b4=_0x28c265,_0x8e8757=this[_0x3b39b4(0x10c)][_0x3b39b4(0x1eb)]('unit'),_0x25baa9=this[_0x3b39b4(0x10c)][_0x3b39b4(0x1eb)](_0x3b39b4(0x32b)),_0x9d153a=this[_0x3b39b4(0x10c)][_0x3b39b4(0x1eb)](_0x3b39b4(0x276));if(!_0x8e8757||!_0x25baa9){this[_0x3b39b4(0x13f)][_0x3b39b4(0x1e9)](_0x3b39b4(0x11e),_0x3b39b4(0x229));return;}const _0x3cebaa=await this[_0x3b39b4(0x17a)]['loadUnit'](_0x8e8757,Number(_0x25baa9),_0x9d153a);_0x3cebaa&&_0x3cebaa instanceof a['Workbook']&&this[_0x3b39b4(0xe0)](_0x3cebaa);}async['_setupSubUnitSync'](_0x36121f){const _0xd13dd2=_0x28c265;await this[_0xd13dd2(0x125)](_0x36121f),_0x36121f['activeSheet$'][_0xd13dd2(0x217)](d[_0xd13dd2(0x2ea)](this[_0xd13dd2(0x176)]))[_0xd13dd2(0x2bb)](_0x1f5358=>{_0x1f5358&&this['_updateURLWithCurrentState'](_0x1f5358);}),this['_urlService'][_0xd13dd2(0x1cd)][_0xd13dd2(0x217)](d['takeUntil'](this['dispose$']))[_0xd13dd2(0x2bb)](()=>this[_0xd13dd2(0x125)](_0x36121f));}[_0x28c265(0x2ba)](_0x2cc0c7,_0x4fc3a6=!0x1){const _0x17214f=_0x28c265,_0x25bef1=this[_0x17214f(0x10c)][_0x17214f(0x1eb)]('subunit');_0x2cc0c7[_0x17214f(0x124)]()!==_0x25bef1&&this[_0x17214f(0x10c)]['setParam'](_0x17214f(0x276),_0x2cc0c7[_0x17214f(0x124)](),_0x4fc3a6);}async[_0x28c265(0x125)](_0x4bfab2){const _0x27e5dd=_0x28c265;var _0x530c86;const _0x7b8c31=this[_0x27e5dd(0x10c)]['getParam'](_0x27e5dd(0x276));if(!_0x7b8c31||!_0x4bfab2['getSheetBySheetId'](_0x7b8c31)){const _0x31d852=_0x4bfab2[_0x27e5dd(0x29e)]()[0x0],_0x22ff57=_0x4bfab2['getSheetBySheetId'](_0x31d852);if(!_0x22ff57)return;this[_0x27e5dd(0x2ba)](_0x22ff57,!0x0),await this[_0x27e5dd(0xf2)][_0x27e5dd(0x191)](g[_0x27e5dd(0x241)]['id'],{'unitId':_0x4bfab2[_0x27e5dd(0x2ec)](),'subUnitId':_0x31d852});return;}((_0x530c86=_0x4bfab2[_0x27e5dd(0x2e6)]())==null?void 0x0:_0x530c86[_0x27e5dd(0x124)]())!==_0x7b8c31&&await this['_commandService'][_0x27e5dd(0x191)](g[_0x27e5dd(0x241)]['id'],{'unitId':_0x4bfab2[_0x27e5dd(0x2ec)](),'subUnitId':_0x7b8c31});}},exports[_0x28c265(0x143)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x28c265(0x1f7)]),H(0x3,a[_0x28c265(0x1b0)](u['DataLoaderService'])),H(0x4,a['Optional'](Ke[_0x28c265(0x18b)]))],exports['CollaborationDataLoaderController']);var Bt=Object[_0x28c265(0x346)],kt=(_0x3691bd,_0x15f89f,_0x16febd,_0xd798ee)=>{for(var _0x19b22b=_0xd798ee>0x1?void 0x0:_0xd798ee?Bt(_0x15f89f,_0x16febd):_0x15f89f,_0x46d28d=_0x3691bd['length']-0x1,_0x3c2b30;_0x46d28d>=0x0;_0x46d28d--)(_0x3c2b30=_0x3691bd[_0x46d28d])&&(_0x19b22b=_0x3c2b30(_0x19b22b)||_0x19b22b);return _0x19b22b;},ce=(_0x461258,_0x4de3fa)=>(_0x5581e0,_0xbc88da)=>_0x4de3fa(_0x5581e0,_0xbc88da,_0x461258);let z=class{constructor(_0x489fe4,_0x15a33f,_0x206b3e){const _0x27b326=_0x28c265;this[_0x27b326(0xce)]=_0x489fe4,this[_0x27b326(0x1c3)]=_0x15a33f,this['_renderManagerService']=_0x206b3e;}['transformIMECache'](_0x1c8ace){const _0x10197e=_0x28c265;this[_0x10197e(0x27e)](_0x1c8ace),this[_0x10197e(0x118)](_0x1c8ace);}[_0x28c265(0x243)](_0x3f162d){const _0x1ed569=_0x28c265,{unitID:_0x3e1d73}=_0x3f162d,_0x55b496=this[_0x1ed569(0x210)][_0x1ed569(0x1b2)](_0x3e1d73)[_0x1ed569(0x2d1)](b[_0x1ed569(0x222)]),{redoCache:_0x334a25}=_0x55b496[_0x1ed569(0x1c2)]();if(_0x334a25[_0x1ed569(0x13d)]===0x0)return _0x3f162d;let _0x539ad1=a[_0x1ed569(0x236)][_0x1ed569(0x2fe)](_0x3f162d[_0x1ed569(0x2a3)][0x0]);for(let _0x391797=0x0;_0x391797<_0x334a25['length'];_0x391797++){const _0x474606={'id':_0x1ed569(0x155),'params':{..._0x334a25[_0x391797]}},_0x4ff6b0=this['_transformService'][_0x1ed569(0x1ee)](_0x539ad1,_0x474606,!0x1);if(m[_0x1ed569(0x17f)](_0x4ff6b0))throw _0x4ff6b0[_0x1ed569(0x248)];_0x539ad1=_0x4ff6b0[_0x1ed569(0x1dd)];}return{...a[_0x1ed569(0x236)][_0x1ed569(0x2fe)](_0x3f162d),'mutations':[_0x539ad1]};}[_0x28c265(0x27e)](_0x4f2f55){const _0x265b67=_0x28c265,{unitID:_0x55dcfa}=_0x4f2f55,_0x3dcb91=this[_0x265b67(0x210)][_0x265b67(0x1b2)](_0x55dcfa)['with'](b[_0x265b67(0x222)]),{undoCache:_0x7c21c8,redoCache:_0x1614f7}=_0x3dcb91[_0x265b67(0x1c2)]();if(_0x7c21c8[_0x265b67(0x13d)]===0x0||_0x1614f7[_0x265b67(0x13d)]===0x0)return;const _0x2e9acc=[],_0x2c2ebe=[];let _0x40d6e8=a[_0x265b67(0x236)][_0x265b67(0x2fe)](_0x4f2f55[_0x265b67(0x2a3)][0x0]),_0x59b683=a[_0x265b67(0x236)][_0x265b67(0x2fe)](_0x4f2f55[_0x265b67(0x2a3)][0x0]);for(let _0x352b26=_0x7c21c8[_0x265b67(0x13d)]-0x1;_0x352b26>=0x0;_0x352b26--){const _0x5c5ae0={'id':'doc.mutation.rich-text-editing','params':{..._0x7c21c8[_0x352b26]}},_0x203379={'id':_0x265b67(0x155),'params':{..._0x1614f7[_0x352b26]}},_0x57866b=this[_0x265b67(0x1c3)][_0x265b67(0x1ee)](_0x40d6e8,_0x5c5ae0,!0x1),_0x2d20a3=this[_0x265b67(0x1c3)][_0x265b67(0x1ee)](_0x59b683,_0x203379,!0x1);if(m[_0x265b67(0x17f)](_0x57866b))throw _0x57866b[_0x265b67(0x248)];if(m[_0x265b67(0x17f)](_0x2d20a3))throw _0x2d20a3[_0x265b67(0x248)];_0x2e9acc[_0x265b67(0x16e)](_0x57866b['m2Prime']['params']),_0x2c2ebe['unshift'](_0x2d20a3[_0x265b67(0x12f)][_0x265b67(0x31c)]),_0x40d6e8=_0x57866b[_0x265b67(0x1dd)],_0x59b683=_0x2d20a3[_0x265b67(0x1dd)];}_0x3dcb91['setUndoRedoMutationParamsCache']({'undoCache':_0x2e9acc,'redoCache':_0x2c2ebe});}[_0x28c265(0x118)](_0x374468){const _0x56d807=_0x28c265,{unitID:_0x3c425a}=_0x374468,_0x5089c1=this['_renderManagerService'][_0x56d807(0x1b2)](_0x3c425a)[_0x56d807(0x2d1)](b[_0x56d807(0x222)]),_0xbbaf3e=_0x5089c1[_0x56d807(0x231)]();if(_0xbbaf3e==null)return;const _0x32eacd=[{'id':_0x56d807(0x155),'params':{'unitId':_0x374468[_0x56d807(0x200)],'actions':null,'textRanges':[_0xbbaf3e]}}],_0x3d6d55=this['_transformService'][_0x56d807(0xd3)](_0x374468,_0x32eacd);if(!m[_0x56d807(0x225)](_0x3d6d55))throw _0x3d6d55['error'];const _0x340a01=_0x3d6d55[_0x56d807(0x12f)][0x0]['params'][_0x56d807(0x19f)];Array[_0x56d807(0x2ad)](_0x340a01)&&_0x340a01[_0x56d807(0x13d)]&&_0x5089c1['setActiveRange'](_0x340a01[0x0]);}};z=kt([ce(0x0,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),ce(0x1,m[_0x28c265(0x116)]),ce(0x2,p[_0x28c265(0x224)])],z);var Ht=Object[_0x28c265(0x346)],Ft=(_0x40187a,_0x376fc4,_0x5048ca,_0x43e763)=>{for(var _0x3e4ac3=_0x43e763>0x1?void 0x0:_0x43e763?Ht(_0x376fc4,_0x5048ca):_0x376fc4,_0x54f2e7=_0x40187a['length']-0x1,_0x57ea4b;_0x54f2e7>=0x0;_0x54f2e7--)(_0x57ea4b=_0x40187a[_0x54f2e7])&&(_0x3e4ac3=_0x57ea4b(_0x3e4ac3)||_0x3e4ac3);return _0x3e4ac3;},le=(_0x2c09be,_0x1ff08c)=>(_0x587036,_0x2d3d9c)=>_0x1ff08c(_0x587036,_0x2d3d9c,_0x2c09be);let J=class{constructor(_0x52ef70,_0x453b61,_0x2e3cfa){const _0x3d8942=_0x28c265;this['_injector']=_0x52ef70,this[_0x3d8942(0x1c3)]=_0x453b61,this[_0x3d8942(0x2a8)]=_0x2e3cfa;}[_0x28c265(0x32c)](_0x196ffe){const _0x48e837=_0x28c265;this[_0x48e837(0x2b7)](_0x196ffe);}[_0x28c265(0x243)](_0x3fc499){const _0x160b79=_0x28c265,{unitID:_0x477cb5}=_0x3fc499,{collaboration:_0x5a35d0}=this[_0x160b79(0x2a8)]['getStateCache'](_0x477cb5);if(_0x5a35d0['length']===0x0)return _0x3fc499;let _0x4697dd=a[_0x160b79(0x236)][_0x160b79(0x2fe)](_0x3fc499[_0x160b79(0x2a3)][0x0]);for(let _0xeb810b=0x0;_0xeb810b<_0x5a35d0['length'];_0xeb810b++){const _0x25c569={'id':_0x160b79(0x155),'params':{'unitId':_0x5a35d0[_0xeb810b]['unitId'],..._0x5a35d0[_0xeb810b][_0x160b79(0x2d2)]}},_0x1b1dd9=this[_0x160b79(0x1c3)][_0x160b79(0x1ee)](_0x4697dd,_0x25c569,!0x1);if(m[_0x160b79(0x17f)](_0x1b1dd9))throw _0x1b1dd9[_0x160b79(0x248)];_0x4697dd=_0x1b1dd9[_0x160b79(0x1dd)];}return{...a[_0x160b79(0x236)][_0x160b79(0x2fe)](_0x3fc499),'mutations':[_0x4697dd]};}[_0x28c265(0x2b7)](_0x417052){const _0x4b4060=_0x28c265,{unitID:_0x2718e5}=_0x417052,{history:_0x3a343f,collaboration:_0x26df72}=this[_0x4b4060(0x2a8)]['getStateCache'](_0x2718e5);if(_0x3a343f['length']===0x0&&_0x26df72[_0x4b4060(0x13d)]===0x0)return;const _0x4a0cc8=[],_0xfdece4=[];let _0x47e53b=a[_0x4b4060(0x236)]['deepClone'](_0x417052[_0x4b4060(0x2a3)][0x0]),_0x3e3ce6=a[_0x4b4060(0x236)]['deepClone'](_0x417052[_0x4b4060(0x2a3)][0x0]);for(let _0x257de7=_0x3a343f['length']-0x1;_0x257de7>=0x0;_0x257de7--){const _0x1b3597={'id':_0x4b4060(0x155),'params':{'unitId':_0x3a343f[_0x257de7]['unitId'],..._0x3a343f[_0x257de7]['undoState']}},_0x1b1fcd={'id':_0x4b4060(0x155),'params':{'unitId':_0x3a343f[_0x257de7]['unitId'],..._0x3a343f[_0x257de7][_0x4b4060(0x2d2)]}},_0x137b79=this[_0x4b4060(0x1c3)][_0x4b4060(0x1ee)](_0x47e53b,_0x1b3597,!0x1),_0x18ceb1=this['_transformService'][_0x4b4060(0x1ee)](_0x3e3ce6,_0x1b1fcd,!0x1);if(m[_0x4b4060(0x17f)](_0x137b79))throw _0x137b79['error'];if(m[_0x4b4060(0x17f)](_0x18ceb1))throw _0x18ceb1[_0x4b4060(0x248)];_0x4a0cc8[_0x4b4060(0x16e)]({..._0x3a343f[_0x257de7],'undoState':_0x137b79[_0x4b4060(0x12f)][_0x4b4060(0x31c)],'redoState':_0x18ceb1[_0x4b4060(0x12f)][_0x4b4060(0x31c)]}),_0x47e53b=_0x137b79[_0x4b4060(0x1dd)],_0x3e3ce6=_0x18ceb1[_0x4b4060(0x1dd)];}_0x47e53b=a[_0x4b4060(0x236)]['deepClone'](_0x417052[_0x4b4060(0x2a3)][0x0]),_0x3e3ce6=a['Tools'][_0x4b4060(0x2fe)](_0x417052[_0x4b4060(0x2a3)][0x0]);for(let _0x5f47a6=_0x26df72[_0x4b4060(0x13d)]-0x1;_0x5f47a6>=0x0;_0x5f47a6--){const _0x2a9fd7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26df72[_0x5f47a6][_0x4b4060(0xdc)],..._0x26df72[_0x5f47a6]['undoState']}},_0x331d0b={'id':_0x4b4060(0x155),'params':{'unitId':_0x26df72[_0x5f47a6][_0x4b4060(0xdc)],..._0x26df72[_0x5f47a6][_0x4b4060(0x2d2)]}},_0x47625b=this[_0x4b4060(0x1c3)][_0x4b4060(0x1ee)](_0x47e53b,_0x2a9fd7,!0x1),_0x49c729=this[_0x4b4060(0x1c3)][_0x4b4060(0x1ee)](_0x3e3ce6,_0x331d0b,!0x1);if(m[_0x4b4060(0x17f)](_0x47625b))throw _0x47625b['error'];if(m['isTransformMutationFailure'](_0x49c729))throw _0x49c729[_0x4b4060(0x248)];_0xfdece4[_0x4b4060(0x16e)]({..._0x26df72[_0x5f47a6],'undoState':_0x47625b[_0x4b4060(0x12f)]['params'],'redoState':_0x49c729[_0x4b4060(0x12f)][_0x4b4060(0x31c)]}),_0x47e53b=_0x47625b[_0x4b4060(0x1dd)],_0x3e3ce6=_0x49c729['m1Prime'];}this[_0x4b4060(0x2a8)][_0x4b4060(0x32a)](_0x2718e5,{'history':_0x4a0cc8,'collaboration':_0xfdece4});}};J=Ft([le(0x0,a[_0x28c265(0x1b0)](a['Injector'])),le(0x1,m[_0x28c265(0x116)]),le(0x2,a[_0x28c265(0x1b0)](b[_0x28c265(0x329)]))],J);var Yt=Object[_0x28c265(0x346)],Wt=(_0x2b6ea3,_0x33de03,_0x4a3a17,_0x22ae1a)=>{const _0x527d7c=_0x28c265;for(var _0x36133e=_0x22ae1a>0x1?void 0x0:_0x22ae1a?Yt(_0x33de03,_0x4a3a17):_0x33de03,_0x5cef29=_0x2b6ea3[_0x527d7c(0x13d)]-0x1,_0x5c0aec;_0x5cef29>=0x0;_0x5cef29--)(_0x5c0aec=_0x2b6ea3[_0x5cef29])&&(_0x36133e=_0x5c0aec(_0x36133e)||_0x36133e);return _0x36133e;},Ne=(_0x53d84b,_0x35c09e)=>(_0x52d28e,_0x5d9713)=>_0x35c09e(_0x52d28e,_0x5d9713,_0x53d84b);let Z=class{constructor(_0x2a7ab6,_0xf703ba){const _0x582835=_0x28c265;this[_0x582835(0xce)]=_0x2a7ab6,this[_0x582835(0x1c3)]=_0xf703ba;}[_0x28c265(0x1bf)](_0x1ece7b){const _0x344c30=_0x28c265;var _0x23b158;const _0x2ea807=this['_injector'][_0x344c30(0x256)](Y[_0x344c30(0x1d3)]),_0x2fc87e=(_0x23b158=_0x2ea807[_0x344c30(0x227)]())!=null?_0x23b158:[];if(_0x2fc87e[_0x344c30(0x13d)]===0x0)return;const _0x2d53a2=_0x1ece7b[_0x344c30(0x200)],_0x319383=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d53a2,'actions':null,'textRanges':_0x2fc87e}}],_0x43dd12=this['_transformService'][_0x344c30(0xd3)](_0x1ece7b,_0x319383);if(!m[_0x344c30(0x225)](_0x43dd12))throw _0x43dd12[_0x344c30(0x248)];const _0x1042a2=_0x43dd12['m2Prime'][0x0][_0x344c30(0x31c)][_0x344c30(0x19f)];Array[_0x344c30(0x2ad)](_0x1042a2)&&_0x1042a2[_0x344c30(0x13d)]&&_0x2ea807[_0x344c30(0x13b)](_0x1042a2,{'unitId':_0x2d53a2,'subUnitId':_0x2d53a2},!0x1);}};Z=Wt([Ne(0x0,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),Ne(0x1,m[_0x28c265(0x116)])],Z);var Vt=Object[_0x28c265(0x346)],Xt=(_0x571582,_0xafe60b,_0x19d070,_0x2c5fac)=>{const _0x37f62b=_0x28c265;for(var _0x2f1802=_0x2c5fac>0x1?void 0x0:_0x2c5fac?Vt(_0xafe60b,_0x19d070):_0xafe60b,_0x47cae2=_0x571582[_0x37f62b(0x13d)]-0x1,_0x417d34;_0x47cae2>=0x0;_0x47cae2--)(_0x417d34=_0x571582[_0x47cae2])&&(_0x2f1802=_0x417d34(_0x2f1802)||_0x2f1802);return _0x2f1802;},N=(_0x4d9d9e,_0x234a2b)=>(_0x2b2299,_0x1312b9)=>_0x234a2b(_0x2b2299,_0x1312b9,_0x4d9d9e);let Q=class extends a[_0x28c265(0x12b)]{constructor(_0x551ee6,_0x58526e,_0x55f67d,_0x4f4e4a,_0x408a63,_0x3ba59b,_0x2c950b,_0x5e9eb7){const _0x3e5038=_0x28c265;super(),h(this,'_status$',new d[(_0x3e5038(0x2b2))](u['CollaborationStatus'][_0x3e5038(0x153)])),(this['_docStateChangeManagerService']=_0x551ee6,this[_0x3e5038(0x2ce)]=_0x58526e,this[_0x3e5038(0x201)]=_0x55f67d,this['_docTransformStateCacheService']=_0x4f4e4a,this[_0x3e5038(0x345)]=_0x408a63,this[_0x3e5038(0xc3)]=_0x3ba59b,this['_messageService']=_0x2c950b,this[_0x3e5038(0x16b)]=_0x5e9eb7,this[_0x3e5038(0x24f)]());}['_initEntityListener'](){const _0x123c5c=_0x28c265;this[_0x123c5c(0xcf)](this[_0x123c5c(0x2ce)]['entityInit$'][_0x123c5c(0x2bb)](_0x9b1002=>{const _0x2bca01=_0x123c5c,_0x40dc95=this[_0x2bca01(0x2a8)][_0x2bca01(0x288)]['subscribe'](_0x2b3893=>{const _0x2a3e19=_0x2bca01;if(_0x2b3893==null)return;const {unitId:_0x56721a,redoState:_0xf8266a,commandId:_0xb23bbc}=_0x2b3893;if(_0x56721a!==_0x9b1002[_0x2a3e19(0x200)])return;const _0x25ba9b={'id':_0xb23bbc,'type':a['CommandType'][_0x2a3e19(0x1c8)],'params':{'unitId':_0x56721a,'actions':_0xf8266a[_0x2a3e19(0x15d)],'textRanges':null}};_0x9b1002[_0x2a3e19(0x164)](_0x25ba9b);});if(_0x9b1002['disposeWithMe'](_0x40dc95),_0x9b1002 instanceof u[_0x2bca01(0xfe)]){const _0x123f9d={'onTransformIME':_0x180d02=>this[_0x2bca01(0x201)][_0x2bca01(0x17e)](_0x180d02),'onTransformState':_0x19e04a=>this[_0x2bca01(0x195)][_0x2bca01(0x32c)](_0x19e04a),'onTransformSelections':_0xfa3c6e=>this['_docTransformSelectionsService']['transformSelections'](_0xfa3c6e),'onSyncEditingCollabCursor':_0x1849ed=>this[_0x2bca01(0xc3)]['syncEditingCollabCursor'](_0x1849ed),'onTransformRemoteChangesetByIMECache':_0x4e9f59=>this[_0x2bca01(0x201)][_0x2bca01(0x243)](_0x4e9f59),'onTransformRemoteChangesetByStateCache':_0x5ca7a2=>this[_0x2bca01(0x195)][_0x2bca01(0x243)](_0x5ca7a2)};_0x9b1002['addHandlerCallback'](_0x123f9d);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x28c265(0x329)])),N(0x1,a['Inject'](u[_0x28c265(0x21f)])),N(0x2,a[_0x28c265(0x1b0)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x28c265(0x1b0)](Z)),N(0x5,a[_0x28c265(0x1b0)](Ce)),N(0x6,T[_0x28c265(0x33e)]),N(0x7,a['Inject'](a[_0x28c265(0x221)]))],Q);var Gt=Object[_0x28c265(0x346)],Kt=(_0x407bb7,_0x1c7338,_0x4ee10c,_0x1f2be0)=>{const _0xde2ecb=_0x28c265;for(var _0x14e764=_0x1f2be0>0x1?void 0x0:_0x1f2be0?Gt(_0x1c7338,_0x4ee10c):_0x1c7338,_0x4fdf54=_0x407bb7[_0xde2ecb(0x13d)]-0x1,_0x538562;_0x4fdf54>=0x0;_0x4fdf54--)(_0x538562=_0x407bb7[_0x4fdf54])&&(_0x14e764=_0x538562(_0x14e764)||_0x14e764);return _0x14e764;},_e=(_0x225826,_0x11f3f6)=>(_0x1c7483,_0x13ae67)=>_0x11f3f6(_0x1c7483,_0x13ae67,_0x225826);let ge=class extends a[_0x28c265(0x12b)]{constructor(_0x5876ca,_0x27c656,_0x3b48f5){const _0x28f22c=_0x28c265;super(),h(this,_0x28f22c(0x1b7),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x28f22c(0x25c),!0x1),(this[_0x28f22c(0x262)]=_0x5876ca,this[_0x28f22c(0x106)]=_0x27c656,this[_0x28f22c(0x19b)]=_0x3b48f5);}[_0x28c265(0x17d)](){const _0x413177=_0x28c265;this[_0x413177(0x25c)]=!0x0;}[_0x28c265(0x29a)](){this['_disabled']=!0x1;}get[_0x28c265(0x23a)](){return this['_saveTaskMap'];}['dispose'](){const _0x3037d2=_0x28c265;this[_0x3037d2(0x293)]()['then'](()=>super[_0x3037d2(0x1d8)]());}async['loadOfflineData'](_0x51ecb6){const _0x3efa19=_0x28c265;return this[_0x3efa19(0x25c)]?null:this[_0x3efa19(0x106)]['getItem'](u[_0x3efa19(0x192)](_0x51ecb6));}async[_0x28c265(0x1db)](_0x4ae99e,_0x582213){const _0x566a7a=_0x28c265;return!!this[_0x566a7a(0x106)]['setItem'](_0x4ae99e,_0x582213);}['updateOfflineData'](_0x4f00d5,_0x30ba17,_0x5279b0,_0x49267d){const _0x5dd3f3=_0x28c265,_0x2a8d06=this[_0x5dd3f3(0x19b)][_0x5dd3f3(0x1ce)](_0x4f00d5);this['_cachedData']['set'](_0x4f00d5,{'unitID':_0x4f00d5,'type':_0x30ba17,'awaitingChangeset':_0x5279b0,'mutations':_0x49267d,'rev':_0x2a8d06}),this['_saveTaskMap'][_0x5dd3f3(0x16c)](_0x4f00d5)||this['_scheduleSaving'](_0x4f00d5);}[_0x28c265(0x1a6)](_0x475d31){const _0x4c2bce=_0x28c265,_0x6caef6=this['_getSaveTimeout']();_0x6caef6===0x0?this['_saveCache'](_0x475d31):this[_0x4c2bce(0x1d0)]['set'](_0x475d31,setTimeout(()=>this[_0x4c2bce(0x21d)](_0x475d31),_0x6caef6));}[_0x28c265(0xe9)](){const _0x4595d0=_0x28c265;var _0x274207;return(_0x274207=this[_0x4595d0(0x262)][_0x4595d0(0x10e)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x274207:u[_0x4595d0(0x167)];}[_0x28c265(0x21d)](_0x3da994){const _0x367eaf=_0x28c265,_0xaab30e=this[_0x367eaf(0x1d0)][_0x367eaf(0x256)](_0x3da994);return _0xaab30e!==void 0x0&&window[_0x367eaf(0xfa)](_0xaab30e),this['_localStorageService'][_0x367eaf(0x2d7)](u[_0x367eaf(0x192)](_0x3da994),this['_cachedData'][_0x367eaf(0x256)](_0x3da994))['then'](()=>this[_0x367eaf(0x1d0)][_0x367eaf(0x220)](_0x3da994));}async['exhaustSavingTask'](){const _0x60ad4a=_0x28c265,_0x4995d8=[];this['_saveTaskMap'][_0x60ad4a(0x15e)]((_0x2d6fd6,_0x4df5bb)=>{const _0x5bed69=_0x60ad4a;window[_0x5bed69(0xfa)](_0x2d6fd6),_0x4995d8[_0x5bed69(0x1d6)](this['_saveCache'](_0x4df5bb)[_0x5bed69(0x250)](()=>{const _0x5d61f5=_0x5bed69;this[_0x5d61f5(0x1d0)][_0x5d61f5(0x220)](_0x4df5bb);}));}),await Promise[_0x60ad4a(0xd5)](_0x4995d8);}};ge=Kt([_e(0x0,a[_0x28c265(0x2f2)]),_e(0x1,a[_0x28c265(0x269)]),_e(0x2,a[_0x28c265(0x1b0)](m[_0x28c265(0x317)]))],ge);class je extends a['RxDisposable']{constructor(){const _0x552e16=_0x28c265;super(),h(this,_0x552e16(0x1cd)),this[_0x552e16(0x1cd)]=d['fromEvent'](window,'popstate')['pipe'](d['takeUntil'](this[_0x552e16(0x176)]),d[_0x552e16(0x1c4)](0x1),d['mapTo'](void 0x0));}[_0x28c265(0x137)](_0x378c8d,_0x4c425d,_0x2b0ead=!0x1){const _0x49477a=_0x28c265,_0x151e5e=new URL(window['location'][_0x49477a(0x25d)]);_0x151e5e[_0x49477a(0x12d)]['set'](_0x378c8d,_0x4c425d),_0x2b0ead?window[_0x49477a(0x1df)][_0x49477a(0x119)]('','',_0x151e5e[_0x49477a(0x2eb)]()):window['history'][_0x49477a(0x1ad)]('','',_0x151e5e['toString']());}[_0x28c265(0x22e)](_0x2590d8,_0x25b76e=!0x1){const _0x5cd5ae=_0x28c265,_0x3c6411=new URL(window['location'][_0x5cd5ae(0x25d)]);_0x3c6411[_0x5cd5ae(0x12d)]['delete'](_0x2590d8),_0x25b76e?window[_0x5cd5ae(0x1df)][_0x5cd5ae(0x119)]('','',_0x3c6411[_0x5cd5ae(0x2eb)]()):window['history'][_0x5cd5ae(0x1ad)]('','',_0x3c6411['toString']());}[_0x28c265(0x1eb)](_0x47fee7){const _0x1e035d=_0x28c265;var _0x27008c;return(_0x27008c=new URL(window[_0x1e035d(0xf6)][_0x1e035d(0x25d)])['searchParams'][_0x1e035d(0x256)](_0x47fee7))!=null?_0x27008c:void 0x0;}}var qt=Object[_0x28c265(0x334)],zt=Object[_0x28c265(0x346)],Jt=(_0x3a8009,_0x134e7a,_0x3bf5a1)=>_0x134e7a in _0x3a8009?qt(_0x3a8009,_0x134e7a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bf5a1}):_0x3a8009[_0x134e7a]=_0x3bf5a1,Zt=(_0xf0fa4f,_0x4f2cb7,_0x364a1e,_0x9ee414)=>{for(var _0x5680dd=_0x9ee414>0x1?void 0x0:_0x9ee414?zt(_0x4f2cb7,_0x364a1e):_0x4f2cb7,_0x417c1c=_0xf0fa4f['length']-0x1,_0x5a318c;_0x417c1c>=0x0;_0x417c1c--)(_0x5a318c=_0xf0fa4f[_0x417c1c])&&(_0x5680dd=_0x5a318c(_0x5680dd)||_0x5680dd);return _0x5680dd;},he=(_0x2a81d6,_0x385dc6)=>(_0x50821d,_0x5fb7a1)=>_0x385dc6(_0x50821d,_0x5fb7a1,_0x2a81d6),Qt=(_0x12c250,_0x41dfa7,_0x174dba)=>Jt(_0x12c250,_0x41dfa7+'',_0x174dba);const es=_0x28c265(0x31d);exports[_0x28c265(0x2b6)]=class extends a['Plugin']{constructor(_0x94457a=Ue,_0x5173fc,_0xfae1fa,_0x3e587d){const _0x1f4805=_0x28c265;super(),this[_0x1f4805(0x11f)]=_0x94457a,this[_0x1f4805(0x210)]=_0x5173fc,this['_injector']=_0xfae1fa,this[_0x1f4805(0x262)]=_0x3e587d;const {..._0x4241e5}=a[_0x1f4805(0x15c)]({},Ue,this[_0x1f4805(0x11f)]);this[_0x1f4805(0x262)][_0x1f4805(0x150)]($t,_0x4241e5);}[_0x28c265(0x138)](){const _0x38d80a=_0x28c265;this[_0x38d80a(0x212)](),this[_0x38d80a(0xd9)]();}[_0x28c265(0x292)](){const _0x3525c0=_0x28c265;this[_0x3525c0(0x2c6)]();}['_registerDependencies'](){const _0x3319fc=_0x28c265;var _0x12634e;const _0x53f0a4=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x3319fc(0x193)]}],[u[_0x3319fc(0x2dc)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports[_0x3319fc(0x143)]]];a[_0x3319fc(0xf9)](this[_0x3319fc(0xce)],a[_0x3319fc(0xd8)](_0x53f0a4,(_0x12634e=this[_0x3319fc(0x11f)])==null?void 0x0:_0x12634e['override']));}['_registerRenderDependencies'](){const _0x1697dc=_0x28c265;this[_0x1697dc(0xcf)](this['_renderManagerService'][_0x1697dc(0x284)](a[_0x1697dc(0x24e)][_0x1697dc(0x2cc)],[Ie])),this[_0x1697dc(0xcf)](this[_0x1697dc(0x210)]['registerRenderModule'](a[_0x1697dc(0x24e)][_0x1697dc(0x2a9)],[ve]));}[_0x28c265(0xd9)](){const _0x2a9798=_0x28c265;a['touchDependencies'](this[_0x2a9798(0xce)],[[x],[exports[_0x2a9798(0x316)]],[Q],[q],[exports[_0x2a9798(0x143)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x28c265(0x2c7),es),exports[_0x28c265(0x2b6)]=Zt([a['DependentOn'](u[_0x28c265(0x2be)]),he(0x1,p[_0x28c265(0x224)]),he(0x2,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),he(0x3,a[_0x28c265(0x2f2)])],exports[_0x28c265(0x2b6)]);var ts=Object[_0x28c265(0x346)],ss=(_0x69e490,_0xb40ee8,_0x110f42,_0x1433f6)=>{for(var _0x3eed58=_0x1433f6>0x1?void 0x0:_0x1433f6?ts(_0xb40ee8,_0x110f42):_0xb40ee8,_0x1052b0=_0x69e490['length']-0x1,_0x1f0734;_0x1052b0>=0x0;_0x1052b0--)(_0x1f0734=_0x69e490[_0x1052b0])&&(_0x3eed58=_0x1f0734(_0x3eed58)||_0x3eed58);return _0x3eed58;},F=(_0x3e0307,_0x41d199)=>(_0x2d1700,_0xe57735)=>_0x41d199(_0x2d1700,_0xe57735,_0x3e0307);exports['BrowserCollaborationSocketService']=class extends u[_0x28c265(0x301)]{constructor(_0x502a0f,_0x380d84,_0x4a9dae,_0x5e9fdc,_0x14eb61){super(_0x502a0f,_0x380d84,_0x4a9dae,_0x5e9fdc,_0x14eb61);}async[_0x28c265(0x2c2)](_0x1e5e58){const _0x15817d=_0x28c265,_0x3f626a=await this['_getSessionTicket'](),_0x2c2172=this[_0x15817d(0x2a1)](_0x1e5e58,_0x3f626a);return this[_0x15817d(0x28c)](_0x2c2172);}[_0x28c265(0x2a1)](_0x23f484,_0x69ccf6){const _0x488f3c=_0x28c265,_0x1b0c91=typeof window>'u'?new URL(_0x23f484):new URL(_0x23f484,window[_0x488f3c(0xf6)]['origin']);_0x1b0c91[_0x488f3c(0x12d)]['set'](_0x488f3c(0x21e),_0x69ccf6);const _0x4214df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x488f3c(0xf6)][_0x488f3c(0x2e4)]);return _0x4214df[_0x488f3c(0x256)]('runId')&&_0x1b0c91[_0x488f3c(0x12d)][_0x488f3c(0x18c)]('runId',_0x4214df['get'](_0x488f3c(0x245))),_0x1b0c91[_0x488f3c(0x2eb)]();}async[_0x28c265(0x26b)](){const _0x20eac2=_0x28c265;var _0x4cbca8,_0x4f7b9c,_0x572618;const _0x364c08=this[_0x20eac2(0x262)][_0x20eac2(0x10e)](u[_0x20eac2(0x335)]),_0x5ad118=(_0x4cbca8=_0x364c08==null?void 0x0:_0x364c08['wsSessionTicketUrl'])!=null?_0x4cbca8:u[_0x20eac2(0x322)];return(_0x572618=(_0x4f7b9c=(await this[_0x20eac2(0x142)][_0x20eac2(0x256)](_0x5ad118,{'headers':{'Content-Type':_0x20eac2(0x19e)}}))[_0x20eac2(0x10a)])==null?void 0x0:_0x4f7b9c['ticket'])!=null?_0x572618:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a[_0x28c265(0x1b0)](a[_0x28c265(0x23b)])),F(0x1,a['Inject'](G[_0x28c265(0x1fc)])),F(0x2,a['IConfigService']),F(0x3,a[_0x28c265(0x2d4)]),F(0x4,m[_0x28c265(0x11d)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class is extends a[_0x28c265(0x12b)]{constructor(){const _0x41559c=_0x28c265;super(),h(this,_0x41559c(0x1e2),a[_0x41559c(0x13e)]()),h(this,_0x41559c(0x1f2),new Set()),h(this,_0x41559c(0x2b0),new Map()),h(this,_0x41559c(0x2fb),null),h(this,_0x41559c(0x1be),new Map()),h(this,_0x41559c(0x129),new Map()),this['_init']();}[_0x28c265(0x1d8)](){const _0x44dca4=_0x28c265;super['dispose'](),this[_0x44dca4(0x1be)][_0x44dca4(0x15e)]((_0x13231b,_0x23124c)=>this[_0x44dca4(0x27c)](_0x23124c)),this[_0x44dca4(0x2fb)]&&window[_0x44dca4(0x2ee)](this[_0x44dca4(0x2fb)]);}[_0x28c265(0x290)](_0x456b53){const _0x1e90c3=_0x28c265;return this[_0x1e90c3(0x1bb)](_0x456b53)['pipe'](d['distinctUntilChanged']());}[_0x28c265(0xda)](_0x4a6cd6){const _0x3a5cc3=_0x28c265;this[_0x3a5cc3(0x1f2)]['size']===0x0&&this[_0x3a5cc3(0x20a)](),this[_0x3a5cc3(0x1f2)]['add'](_0x4a6cd6),this['_send']({'type':0x0,'memberID':this[_0x3a5cc3(0x1e2)],'unitIDs':[_0x4a6cd6],'isForwarded':!0x1});}[_0x28c265(0xc2)](_0x20e842){const _0x173692=_0x28c265;this[_0x173692(0x1f2)]['delete'](_0x20e842),this[_0x173692(0x1f2)][_0x173692(0x23f)]===0x0&&this[_0x173692(0x2fb)]&&window[_0x173692(0x2ee)](this[_0x173692(0x2fb)]);}[_0x28c265(0x271)](){const _0x39b9d5=_0x28c265;this[_0x39b9d5(0xcf)](a['toDisposable'](d[_0x39b9d5(0x296)](window,_0x39b9d5(0x13c))[_0x39b9d5(0x2bb)](_0x5bc3e6=>{const _0x17b9e6=_0x39b9d5;if(_0x5bc3e6[_0x17b9e6(0x286)]!==Le||!_0x5bc3e6[_0x17b9e6(0x2d0)])return;const _0xba72cb=JSON[_0x17b9e6(0xeb)](_0x5bc3e6[_0x17b9e6(0x2d0)]);this['_handleEvent'](_0xba72cb);}))),window['addEventListener'](_0x39b9d5(0x1c0),()=>this['_send']({'type':0x1,'memberID':this[_0x39b9d5(0x1e2)],'unitIDs':Array[_0x39b9d5(0x230)](this[_0x39b9d5(0x1f2)])}));}[_0x28c265(0x127)](_0x3bc114){const _0x3d0c07=_0x28c265;switch(_0x3bc114['type']){case 0x0:this['_handleJoinEvent'](_0x3bc114);break;case 0x1:this[_0x3d0c07(0x1d1)](_0x3bc114);break;case 0x2:this[_0x3d0c07(0x2c1)](_0x3bc114);break;}}['_handleJoinEvent'](_0x3fc8c6){const _0x4c93ae=_0x28c265,{unitIDs:_0x183907,memberID:_0x5c06f9,isForwarded:_0x19ea7a}=_0x3fc8c6;_0x183907['forEach'](_0x54f20a=>{const _0x25421c=_0x29a9;if(!_0x19ea7a&&this[_0x25421c(0x2b0)][_0x25421c(0x16c)](_0x54f20a)&&this[_0x25421c(0x1bb)](_0x54f20a)[_0x25421c(0x113)](u[_0x25421c(0x144)]['OTHER_CLIENTS_EDITING']),!this[_0x25421c(0x2b0)][_0x25421c(0x16c)](_0x54f20a)||!this[_0x25421c(0x2b0)][_0x25421c(0x256)](_0x54f20a)['has'](_0x5c06f9)){const _0x2ab6cd=this[_0x25421c(0x2b0)][_0x25421c(0x256)](_0x54f20a)||new Set();_0x2ab6cd['add'](_0x5c06f9),this[_0x25421c(0x2b0)][_0x25421c(0x18c)](_0x54f20a,_0x2ab6cd),this[_0x25421c(0x257)](_0x5c06f9);}}),_0x19ea7a||this['_send']({'type':0x0,'memberID':this[_0x4c93ae(0x1e2)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b390c){const _0x24a0a7=_0x28c265;this['_removeClearOtherTimer'](_0x1b390c);const _0x3dc7fe=window[_0x24a0a7(0x318)](()=>{const _0x493197=_0x24a0a7;this[_0x493197(0x2b0)][_0x493197(0x15e)](_0x150d71=>{const _0x56c489=_0x493197;_0x150d71[_0x56c489(0x220)](_0x1b390c);});},Me*0x2);this[_0x24a0a7(0x1be)][_0x24a0a7(0x18c)](_0x1b390c,_0x3dc7fe);}['_removeClearOtherTimer'](_0x1b696c){const _0x56d692=_0x28c265;if(this[_0x56d692(0x1be)][_0x56d692(0x16c)](_0x1b696c)){const _0x553585=this['_clearOtherTimers'][_0x56d692(0x256)](_0x1b696c);_0x553585&&window[_0x56d692(0xfa)](_0x553585),this['_clearOtherTimers'][_0x56d692(0x18c)](_0x1b696c,null);}}['_handleLeaveEvent'](_0x43d18e){const _0xe05c70=_0x28c265,{memberID:_0x4ba43c,unitIDs:_0x3f7270}=_0x43d18e;_0x3f7270[_0xe05c70(0x15e)](_0x283917=>{const _0x29f188=_0xe05c70;var _0x4896cd;const _0x5c494c=this[_0x29f188(0x2b0)][_0x29f188(0x256)](_0x283917);_0x5c494c&&(_0x5c494c[_0x29f188(0x220)](_0x4ba43c),(_0x4896cd=this[_0x29f188(0x1bb)](_0x283917))==null||_0x4896cd[_0x29f188(0x113)](_0x5c494c['size']===0x0?u[_0x29f188(0x144)][_0x29f188(0x315)]:u[_0x29f188(0x144)]['OTHER_CLIENTS_EDITING']));}),this[_0xe05c70(0x27c)](_0x4ba43c);}['_handleHeartbeatEvent'](_0x10cf91){const _0x54185c=_0x28c265;this[_0x54185c(0x257)](_0x10cf91[_0x54185c(0x272)]);}[_0x28c265(0x30f)](_0x19b63b){const _0x9d46fd=_0x28c265;localStorage[_0x9d46fd(0x2d7)](Le,JSON[_0x9d46fd(0x255)](_0x19b63b));}[_0x28c265(0x20a)](){const _0x2d913c=_0x28c265;this['_heartbeatTimer']=window[_0x2d913c(0x2cf)](()=>{const _0x4907be=_0x2d913c;this[_0x4907be(0x30f)]({'type':0x2,'memberID':this[_0x4907be(0x1e2)]});},Me);}['_ensureSubject'](_0x294f96){const _0x331f3a=_0x28c265;return this['_unitStatus'][_0x331f3a(0x16c)](_0x294f96)||this[_0x331f3a(0x129)][_0x331f3a(0x18c)](_0x294f96,new d[(_0x331f3a(0x2b2))](u['UnitStatus'][_0x331f3a(0x315)])),this[_0x331f3a(0x129)]['get'](_0x294f96);}}var Be=(_0x23ba82=>(_0x23ba82[_0x23ba82[_0x28c265(0x171)]=0x0]=_0x28c265(0x171),_0x23ba82[_0x23ba82['OK']=0x1]='OK',_0x23ba82[_0x23ba82[_0x28c265(0xd0)]=0x2]='INTERNAL_ERROR',_0x23ba82[_0x23ba82[_0x28c265(0x281)]=0x3]=_0x28c265(0x281),_0x23ba82[_0x23ba82[_0x28c265(0x128)]=0x4]='NOT_FOUND',_0x23ba82[_0x23ba82[_0x28c265(0x26d)]=0x5]=_0x28c265(0x26d),_0x23ba82[_0x23ba82['ALREADY_EXISTS']=0x6]=_0x28c265(0x305),_0x23ba82[_0x23ba82['INVALID_ARGUMENT']=0x7]=_0x28c265(0x28d),_0x23ba82[_0x23ba82[_0x28c265(0x196)]=0x8]=_0x28c265(0x196),_0x23ba82[_0x23ba82[_0x28c265(0x279)]=0x9]='COMPLETION_FINISHED',_0x23ba82[_0x23ba82[_0x28c265(0xd2)]=0xa]=_0x28c265(0xd2),_0x23ba82[_0x23ba82[_0x28c265(0x1f4)]=0x1389]=_0x28c265(0x1f4),_0x23ba82[_0x23ba82[_0x28c265(0x10f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x23ba82[_0x23ba82['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x28c265(0x186),_0x23ba82[_0x23ba82[_0x28c265(0x2a5)]=0x1773]=_0x28c265(0x2a5),_0x23ba82[_0x23ba82[_0x28c265(0x26a)]=0x1b59]=_0x28c265(0x26a),_0x23ba82[_0x23ba82[_0x28c265(0x244)]=0x1b5a]=_0x28c265(0x244),_0x23ba82[_0x23ba82['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x28c265(0x2dd),_0x23ba82[_0x23ba82['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28c265(0x1dc),_0x23ba82[_0x23ba82[_0x28c265(0x311)]=0x1b5d]='APPLY_DUPLICATED',_0x23ba82[_0x23ba82[_0x28c265(0x33c)]=0x1f41]=_0x28c265(0x33c),_0x23ba82[_0x23ba82[_0x28c265(0x19d)]=0x2329]=_0x28c265(0x19d),_0x23ba82[_0x23ba82[_0x28c265(0x121)]=0x232a]=_0x28c265(0x121),_0x23ba82[_0x23ba82[_0x28c265(0x188)]=0x232b]=_0x28c265(0x188),_0x23ba82[_0x23ba82[_0x28c265(0xf3)]=0x232c]=_0x28c265(0xf3),_0x23ba82[_0x23ba82['LICENSE_DISTRO_REJECTED']=0x232d]=_0x28c265(0xd6),_0x23ba82[_0x23ba82['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x28c265(0x267),_0x23ba82[_0x23ba82[_0x28c265(0x246)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x23ba82[_0x23ba82[_0x28c265(0x326)]=0x2713]=_0x28c265(0x326),_0x23ba82[_0x23ba82[_0x28c265(0x14b)]=0x2714]=_0x28c265(0x14b),_0x23ba82[_0x23ba82[_0x28c265(0xe2)]=0x271a]=_0x28c265(0xe2),_0x23ba82[_0x23ba82[_0x28c265(0x1d2)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x23ba82[_0x23ba82['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x28c265(0x29b),_0x23ba82[_0x23ba82[_0x28c265(0x183)]=0x271d]=_0x28c265(0x183),_0x23ba82[_0x23ba82[_0x28c265(0x21c)]=0x271e]=_0x28c265(0x21c),_0x23ba82[_0x23ba82[_0x28c265(0x2bf)]=0x271f]=_0x28c265(0x2bf),_0x23ba82[_0x23ba82['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x28c265(0x218),_0x23ba82[_0x23ba82[_0x28c265(0xff)]=0x2ee1]=_0x28c265(0xff),_0x23ba82[_0x23ba82[_0x28c265(0x23d)]=0x2ee2]='INVALID_INVITE_CODE',_0x23ba82[_0x23ba82['INVITE_CODE_REQUIRED']=0x2ee3]=_0x28c265(0x213),_0x23ba82[_0x23ba82[_0x28c265(0x277)]=0x2ee4]=_0x28c265(0x277),_0x23ba82[_0x23ba82[_0x28c265(0x111)]=0x2ee5]=_0x28c265(0x111),_0x23ba82[_0x23ba82['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x28c265(0x115),_0x23ba82[_0x23ba82[_0x28c265(0x309)]=0x32ca]=_0x28c265(0x309),_0x23ba82[_0x23ba82[_0x28c265(0x308)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x23ba82[_0x23ba82[_0x28c265(0x173)]=-0x1]=_0x28c265(0x173),_0x23ba82))(Be||{}),ns=Object[_0x28c265(0x346)],rs=(_0x495fd3,_0x883e41,_0x1c8efa,_0x5f401d)=>{for(var _0x5a727f=_0x5f401d>0x1?void 0x0:_0x5f401d?ns(_0x883e41,_0x1c8efa):_0x883e41,_0x8888bb=_0x495fd3['length']-0x1,_0x42a8ee;_0x8888bb>=0x0;_0x8888bb--)(_0x42a8ee=_0x495fd3[_0x8888bb])&&(_0x5a727f=_0x42a8ee(_0x5a727f)||_0x5a727f);return _0x5a727f;},ue=(_0x6308b0,_0x2ae24a)=>(_0x4d3d6b,_0x237982)=>_0x2ae24a(_0x4d3d6b,_0x237982,_0x6308b0);exports[_0x28c265(0x206)]=class extends a['Disposable']{constructor(_0x5bdb93,_0x56375d,_0x195e0b){const _0x72ca4c=_0x28c265;super(),this[_0x72ca4c(0x297)]=_0x5bdb93,this[_0x72ca4c(0x142)]=_0x56375d,this['_configService']=_0x195e0b;}async['runOnServer'](_0x2ff70c,_0x487826,_0xe4fb87,..._0x41a9c2){const _0x1e631d=_0x28c265;var _0x1d7a70,_0x32dc9e,_0x5db51e,_0x83f73d;const _0x6a52b6=this[_0x1e631d(0x297)][_0x1e631d(0x28f)]();if(!_0x6a52b6)throw new Error(_0x1e631d(0xcc));const _0x509777=((_0x1d7a70=this['_configService'][_0x1e631d(0x10e)](u[_0x1e631d(0x1c5)]))!=null?_0x1d7a70:u[_0x1e631d(0x285)])+'/'+_0x2ff70c+'/run/'+_0x487826,_0x9de7b0=new URL(window[_0x1e631d(0xf6)][_0x1e631d(0x25d)]),_0x22a333={'scriptId':_0x2ff70c,'runId':(_0x32dc9e=_0x9de7b0[_0x1e631d(0x12d)][_0x1e631d(0x256)](_0x1e631d(0x245)))!=null?_0x32dc9e:'','function':_0x487826,'unitId':_0x6a52b6['getUnitId'](),'argsOfFunction':JSON[_0x1e631d(0x255)](_0x41a9c2),'invokeId':(_0x5db51e=_0xe4fb87['invokeId'])!=null?_0x5db51e:'','executionId':(_0x83f73d=_0xe4fb87[_0x1e631d(0x2a0)])!=null?_0x83f73d:''};try{const _0x42d4a8=await this[_0x1e631d(0x142)][_0x1e631d(0x275)](_0x509777,{'body':_0x22a333});return _0x42d4a8['body'][_0x1e631d(0x248)]&&_0x42d4a8['body']['error'][_0x1e631d(0x114)]!==Be['OK']?_0x1e631d(0x1fa):_0x42d4a8[_0x1e631d(0x10a)][_0x1e631d(0x2cb)];}catch{return _0x1e631d(0x1fa);}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x28c265(0x208)]),ue(0x1,a[_0x28c265(0x1b0)](G[_0x28c265(0x1fc)])),ue(0x2,a[_0x28c265(0x2f2)])],exports[_0x28c265(0x206)]),exports[_0x28c265(0xf7)]=xe,exports[_0x28c265(0x2c4)]=be,exports[_0x28c265(0x108)]=Pe,exports['WebBrowserSingleActiveUnitService']=is,exports['WebURLService']=je;
1
+ 'use strict';const _0x4a9aaf=_0x7693;(function(_0x5ef72f,_0x109d0b){const _0x17aa04=_0x7693,_0x392fba=_0x5ef72f();while(!![]){try{const _0x3cba9f=-parseInt(_0x17aa04(0x226))/0x1+parseInt(_0x17aa04(0x2df))/0x2*(parseInt(_0x17aa04(0x1b5))/0x3)+-parseInt(_0x17aa04(0x1a4))/0x4*(parseInt(_0x17aa04(0x10c))/0x5)+parseInt(_0x17aa04(0x2f3))/0x6*(-parseInt(_0x17aa04(0x18f))/0x7)+parseInt(_0x17aa04(0x2a3))/0x8+-parseInt(_0x17aa04(0x16c))/0x9*(parseInt(_0x17aa04(0x11d))/0xa)+parseInt(_0x17aa04(0x2bd))/0xb*(parseInt(_0x17aa04(0x32c))/0xc);if(_0x3cba9f===_0x109d0b)break;else _0x392fba['push'](_0x392fba['shift']());}catch(_0x5d74d2){_0x392fba['push'](_0x392fba['shift']());}}}(_0x316a,0x36667));var Ve=Object[_0x4a9aaf(0x2ae)],Xe=(_0x1b59a6,_0x1e762d,_0x4b556f)=>_0x1e762d in _0x1b59a6?Ve(_0x1b59a6,_0x1e762d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b556f}):_0x1b59a6[_0x1e762d]=_0x4b556f,h=(_0x313f27,_0x4edba7,_0x5ac927)=>Xe(_0x313f27,typeof _0x4edba7!=_0x4a9aaf(0x1ff)?_0x4edba7+'':_0x4edba7,_0x5ac927);Object[_0x4a9aaf(0x2ae)](exports,Symbol[_0x4a9aaf(0x24b)],{'value':'Module'});const u=require(_0x4a9aaf(0x366)),a=require(_0x4a9aaf(0x12c)),p=require(_0x4a9aaf(0x271)),G=require(_0x4a9aaf(0x261)),b=require(_0x4a9aaf(0x12f)),Ge=require(_0x4a9aaf(0x266)),d=require(_0x4a9aaf(0x1e8)),Y=require(_0x4a9aaf(0x1fe)),m=require(_0x4a9aaf(0xf9)),Ee=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require(_0x4a9aaf(0x213)),X=require(_0x4a9aaf(0x2d0)),w=require(_0x4a9aaf(0x119)),T=require(_0x4a9aaf(0x1db)),D=require(_0x4a9aaf(0x16e)),M=require(_0x4a9aaf(0xf6)),Ke=require('@univerjs/rpc');function _0x316a(){const _0x5e779a=['_context','_univerInstanceService','m1Prime','MemberService','collabStatus.conflict','_saveTaskMap','forEach','defineProperty','[CollaborationDataLoaderController]','set','SYNCED','UniverCollaborationClientUIPlugin','none','NO_OTHER_CLIENTS_EDITING','onPointerMove$','_unitOnClients','subunit','_document','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handleHeartbeatEvent','textRanges','_docTransformIMECacheService','97339iWSgKi','CollaborationStatus','storage','merge','_startDocCollabCursor','activeSheet$','data','on-line-icon_clip0_910_349','drawWith','isArray','getItem','IRenderManagerService','handleInsertRangeMoveDown','setInterval','_status$','Warning','parse','collab-text-anchor-','_disabled','@univerjs/sheets-ui','string','jsxs','translate(.97)','handleIRemoveCol','url(#off-line-icon_clip0_910_343)','removeParam','save','EMAIL_HAS_BEEN_BOUND','source','min','disposeWithMe','getConfig','INTERNAL_ERROR','isTransformMutationFailure','2646fiIBlM','_dataLoaderService','RevisionService','EffectRefRangId','IConfigService','M0\x200H16V16H0z','debounceTime','apply','_imageIoService','getUnhiddenWorksheets','INVITE_CODE_REQUIRED','all','setAlpha','doc.mutation.rich-text-editing','onMouseMove','getUndoRedoMutationParamsCache','collabStatus.syncing','_configService','clipPath','COMPLETION_FINISHED','3480nFZLZy','complete','purple.300','setConfig','fillRule','rgba(255,\x20255,\x20255,\x200.01)','body','search','_updateLocalCursor','saveImage','restore','find','off-line-icon','blue.400','Inject','_entities','addObjects','getCollabEntity$','post','fill','currentSkeleton$','UNDEFINED','DeleteRangeMoveUpCommandId','indexOf','current','next','newValue','send','getOffsetConfig','createElement','SOCKET_FAILED','_docTransformSelectionsService','AWAITING_WITH_PENDING','enableLocalCache','TEXT','svg','_ensureSubject','imageSourceType','href','DependentOn','call','_getAnchorBounding','wsSessionTicketUrl','TOO_MANY_REQUESTS','_colorAssignService','DocStateChangeManagerService','NodePositionConvertToCursor','name','generateRandomId','_cursorInfo$','selection','_cursor','OTHER_CLIENTS_EDITING','icon','url(#on-line-icon_clip0_910_349)','_updateCollabCursors','application/json','1044ZIkyDT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','replace','sessionTicket','unit','sessionStatus$','override','path','column','debug','_scheduleSaving','prototype','_draw','transformSelections','useRef','error','onPointerLeave$','_removeClearOtherTimer','NOT_COLLAB','concat','isTransformMutationsWithChangesetSuccess','IUIPartsService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','includes','filter','code','getSkeleton','_onCursorDelete','div','INVALID_INVITE_CODE','engine','history','_httpService','INotificationService','ITransformService','collaboration-client-ui.config','beginPath','_docClipboardService','size','displayName','switchMap','split','SOCKET_FAILED_RETRY','_render','MOBILE_HAS_BEEN_BOUND','eventID','flatMap','IImageIoService','_docSkeletonManagerService','collab-client.tooltip.reconnect','_saveCache','fromEvent','m2Prime','sheetID','dispose','getLocalCacheKey','_transformHistoryAndStateStack','_initResize','@univerjs-pro/collaboration-client','HEADER_MENU','clearTimeout','_scene','session.collaboration-timeout','ThemeService','addObject','_initDependencies','getOwnPropertyDescriptor','_localCacheService','USERS_LEAVE','subscribeEvent','_injector','getActiveRange','BrowserCollaborationSocketService','docStateChange$','takeUntil','YUUMI_RATE_OVER_LIMIT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOnline','getSheetId','setShapeProps','WebBrowserSingleActiveUnitService','LOCAL_CACHE_INTERVAL','from','handleInsertCol','push','measureText','DocIMEInputManagerService','RemoteUniscriptService','_labelPosition','toString','focused$','ICommandService','_initEntityListener','UniverInstanceType','then','_color','_setupSubUnitSync','pushState','react','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_onRefRangeChange','@univerjs-pro/collaboration','Shape','session.will-retry','onTransformChange$','unitID','useCallback','UNIVER_DOC','CollaborationController','CommandType','LocaleService','type','fillText','registerRenderModule','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','bottom','createSocket','toDisposable','pipe','608945xsWYgo','_assignedColors','YUUMI_ASYNCIO_CANCELLED','getSheetBySheetId','setUndoRedoMutationParamsCache','_collabCursorController','_memberService','loadUnit','init','APPLY_REVISION_CONFILICT','unshift','stringify','map','react/jsx-runtime','_hideTimer','RefRangeService','replaceDocRanges','70010WqOxXe','toRgbString','permission.content','_onCursorUpdate','debounce','PY_RUNTIME_SCRIPT_ERROR','_init','getMemberID','addClipboardHook','getRenderById','WebURLService','transformMutation','InsertColCommandId','_sheetSkeletonManagerService','RECT','@univerjs/core','_transformPreviousActiveRange','univerjs-icon\x20univerjs-icon-','@univerjs/docs-ui','updateOfflineData','white','PERMISSION_DENIED','_session','_messageService','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','startColumn','YUUMI_ALL_TABLES_IS_INVALID','getCellPositionByOffset','_doCreateSocket','status$','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','attrs','collaboration-client.offline-data-not-saved','_registerRenderDependencies','DisposableCollection','INVALID_ARGUMENT','createIdentifier','MessageType','registerDependencies','contains','_handleHover','max','Disposable','onCommandExecuted','CollaborationUIEventId','_handleEvent','LOCAL_CACHE_INTERVAL_KEY','_entityInit$','_docSkeleton','CollaborationUIEventService','endRow','useDependency','_drawRectRange','reconnect','throttleTime','_anchorDot','selections','_range','_docSyncEditingCollabCursorService','1em','syncEditingCollabCursor','deepClone','DocSelectionManagerService','_logService','touchDependencies','_config','unsubscribe','resize','CollaborationSocketService','_commandService','entries','startsWith','ranges','_startSheetCollabCursor','_colorIndex','createInstance','SNAPSHOT_INVALID_SNAPSHOT','162aFdjIx','tag','@univerjs/design','fromEventSubject','Vector2','setItem','BehaviorSubject','DeleteRangeMoveLeftCommandId','InsertRowCommandId','Subject','triggerDblclick','lineTo','_textBubble','_lastPointer','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','cursorInfo','labelPosition','_drawAnchor','getDocRanges','getMember','unitId','getUnitId','onLocalMutation','transformByState','_transformUndoRedoStack','ISocketService','_initCommandExecutedListener','_heartbeatTimer','range','getColor','DesktopCollaborationStatusDisplayController','_removeCollabCursors','SheetSkeletonManagerService','getStateCache','1939NVgWnG','registerRefRange','CollaborationDataLoaderController','setActiveRange','SessionStatus','mapTo','FETCH_MISS','_anchor','transformIMECache','className','collabStatus.offline','LOGIN_FAILED','url(#$1','collab-text-range-','_cachedData','location','getActiveSheet','random','collabCursorState$','forwardRef','mutations','4fvlfKv','getCoordByCell','WECHAT_HAS_BEEN_BOUND','_docStateChangeManagerService','_roomMembers$','text','_collaborationUIEventService','with','getAncestorScale','Failed','OffLineIcon','startRow','saveTaskMap','CONFLICT','shareReplay','YUUMI_URL_COL_OUT_OF_RANGE','isActive','135UYwFQV','round','INVITE_CODE_HAS_BEEN_UES','CollaborationEvent','_selfUnitIDs','replaceState','row','length','getCurrentRevOfUnit','getRangePointData','ticket','_handleJoinEvent','SheetCollabCursorShape','_online','_localStorageService','color','APPLY_DUPLICATED','SNAPSHOT_HAS_BEEN_REMOVED','getTypeOfUnitDisposed$','roomMembers','hide','result','YUUMI_AI_RUN_FAILED','http://www.w3.org/2000/svg','WebSocketService','add','Injector','NodePositionConvertToRectRange','has','values','getValue','mask','UnitStatus','_hovered','setStateCache','runRefRangeMutations','_getSheetObject','CHANGESET_REVISION_CONFILICT','@univerjs/ui','CollaborationSessionService','RxDisposable','cursorInfo$','fillStyle','onPointerEnter$','getSheetObject','transformStateCache','propertyIsEnumerable','_updateURLWithCurrentState','HTTPService','getColorFromTheme','getRelativeToViewportCoord','rxjs','findNodePositionByCharIndex','get','_handleLeaveEvent','currentColor','handleInsertRow','IURLService','handleInsertRangeMoveRight','delete','APPLY_REJECT','ALREADY_EXISTS','getTypeOfUnitAdded$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ColorKit','clearInterval','xlink:href','_getSaveTimeout','endColumn','_eventUnsubscribe','distinctUntilChanged','COLORS','Rect','@univerjs/docs','symbol','getOwnPropertySymbols','jiqing.500','SetDocZoomRatioOperation','_createSocketURL','_scheduleClearOtherTimer','_revisionService','colorChannel1','_drawTextRange','defs','params','_getMergeRange','sheetId','pluginName','Tools','_name','_id','getFocusedUnit','IRemoteInstanceService','ENSURE_SNAPSHOT_EXECUTION','rxjs/operators','NOT_FOUND','_registerDependencies','IUniverInstanceService','_syncEditingCollabCursorService','disposeUnit','off-line-icon_clip0_910_343','CollaborationStatusDisplay','ILocalCacheService','_initStatusListener','clsx','_setupBeforeClosingHandler','runId','popstate','_send','width','whenReady','event$','SetSelectionsOperation','259576LnDtcn','height','SetWorksheetActivateCommand','JOIN_ROOM_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','jsx','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_scheduleHeartbeat','_refreshCollabCursors','show','_refRangeService','onStarting','green.600','ACTIVE_UNIT_EVENT_CHANNEL','permission.title','_cursors','redoState','extend','FromArray','font','DOC_RANGE_TYPE','idSuffix','Tooltip','DocSkeletonManagerService','closePath','assignAColorForMemberID','_unitStatus','_uiPartsService','_notificationService','combineLatest','IDocClipboardService','hasOwnProperty','black','disableLocalCache','MoveRangeCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_renderManagerService','toStringTag','registerComponent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','searchParams','Error','_hover','subscribe','UNRECOGNIZED','hovered','...','INVITE_CODE_ALREADY_BOUND','connectInjector','actions','deserializeRangeWithSheet','getVpScrollXYInfoByPosToVp','onRendered','_collabSessionService','red.300','_backgroundColor','RegularPolygon','_urlService','subUnitId','@univerjs/network','makeDirty','IBeforeCloseService','undoState','Optional','@univerjs/drawing','currentTheme$','evenodd','collabStatus.notCollab','useObservable','_clearOtherTimers','arc','#FFF','requireSession','_getSessionTicket','handleDeleteRangeMoveLeft','@univerjs/engine-render','CONNECTOR_DATA_TOO_LARGE','SheetsSelectionsService','APPLY_NON_SEQUENTIAL_REVISION','TEXT_RANGE_LAYER_INDEX','_initStatusComponent','executeCommand','UNIVER_SHEET','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_SUBSCRIPTION_NOT_FOUND','_getScale','uni.network.url-service','USER_NOT_INVITED_CODE','dispose$','collaboration.closeRoom','asObservable','_localeService','LICENSE_EXPORT_SIZE_EXCEEDED','_cursorShapes','_docTransformStateCacheService','moveTo','exhaustSavingTask','_themeService','_toggleOffline','registerBeforeClose','children','OFFLINE','getCollabCursors$','invokeId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','defIds','addEventListener','_collabCursorState$','/run/','assign','setParam','ILocalStorageService','ILogService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UPDATE_CURSOR','function','_shapes','editingUnit','_initEvent','roomMembers$','origin','_transformService','OnLineIcon','_collaborationController','on-line-icon','491744oDbmol','IMessageService','urlChange$','getParam'];_0x316a=function(){return _0x5e779a;};return _0x316a();}var qe=Object[_0x4a9aaf(0x36e)],ze=(_0x31a4cb,_0x58db5f,_0x373883,_0x44d08d)=>{const _0x471c5a=_0x4a9aaf;for(var _0x4879be=_0x44d08d>0x1?void 0x0:_0x44d08d?qe(_0x58db5f,_0x373883):_0x58db5f,_0x2776e1=_0x31a4cb[_0x471c5a(0x1bc)]-0x1,_0x69268e;_0x2776e1>=0x0;_0x2776e1--)(_0x69268e=_0x31a4cb[_0x2776e1])&&(_0x4879be=_0x69268e(_0x4879be)||_0x4879be);return _0x4879be;},Te=(_0xb795b1,_0x535ed8)=>(_0x249649,_0x2f312e)=>_0x535ed8(_0x249649,_0x2f312e,_0xb795b1);let de=class extends a['RxDisposable']{constructor(_0x54d1ab,_0x94f556){const _0x18b014=_0x4a9aaf;super(),this['_docClipboardService']=_0x54d1ab,this[_0x18b014(0x2e7)]=_0x94f556,this['_init']();}[_0x4a9aaf(0x123)](){const _0x5cc27b=_0x4a9aaf,_0x16d852=this;this[_0x5cc27b(0x2db)](this[_0x5cc27b(0x351)][_0x5cc27b(0x125)]({'onBeforePasteImage':async _0x4e310c=>{const _0x58124e=_0x5cc27b,_0x3dd3f6=await _0x16d852[_0x58124e(0x2e7)][_0x58124e(0x2fc)](_0x4e310c);return _0x3dd3f6?{'source':_0x3dd3f6[_0x58124e(0x2d9)],'imageSourceType':_0x3dd3f6[_0x58124e(0x318)]}:null;}}));}};de=ze([Te(0x0,b[_0x4a9aaf(0x244)]),Te(0x1,Ge[_0x4a9aaf(0x35b)])],de);const Oe=[_0x4a9aaf(0x2f5),_0x4a9aaf(0x201),_0x4a9aaf(0x232),_0x4a9aaf(0x25c),_0x4a9aaf(0x300),'yellow.400'];class me extends a[_0x4a9aaf(0x149)]{constructor(){const _0x42581c=_0x4a9aaf;super(...arguments),h(this,_0x42581c(0x10d),new Map()),h(this,_0x42581c(0x169),0x0);}[_0x4a9aaf(0x23f)](_0x31ac61){const _0x4649d6=_0x4a9aaf;if(this[_0x4649d6(0x10d)]['has'](_0x31ac61))return this[_0x4649d6(0x10d)][_0x4649d6(0x1ea)](_0x31ac61);const _0x5a82f1=Oe[this[_0x4649d6(0x169)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Oe['length'],this[_0x4649d6(0x10d)][_0x4649d6(0x2b0)](_0x31ac61,_0x5a82f1),_0x5a82f1;}}function we(_0x310490){const _0xf62801=_0x4a9aaf;let _0x1b9543='';for(const _0x4eed1e of _0x310490){const {startOffset:_0x61a8f7,endOffset:_0x2fbcd5,isActive:_0x26372a,rangeType:_0x28071c,segmentId:_0x2fb4e1,segmentPage:_0x118b3b}=_0x4eed1e;_0x1b9543[_0xf62801(0x1bc)]&&(_0x1b9543+=','),_0x1b9543+=_0x61a8f7+':'+_0x2fbcd5+':'+(_0x26372a?'1':'0')+':'+_0x28071c+':'+_0x2fb4e1+':'+_0x118b3b;}return _0x1b9543;}function Je(_0x46cf54){const _0x394b4c=_0x4a9aaf,_0xcec2db=_0x46cf54[_0x394b4c(0x355)](','),_0x1ad50a=[];for(const _0x9fa528 of _0xcec2db){const [_0x15d2b9,_0x4abb8a,_0x1fc550,_0x51ae7d,_0x5bb74c,_0x31795d]=_0x9fa528['split'](':');_0x1ad50a[_0x394b4c(0x380)]({'startOffset':Number(_0x15d2b9),'endOffset':Number(_0x4abb8a),'collapsed':_0x15d2b9===_0x4abb8a,'isActive':_0x1fc550==='1','rangeType':_0x51ae7d===a[_0x394b4c(0x23a)][_0x394b4c(0x315)]?a['DOC_RANGE_TYPE'][_0x394b4c(0x315)]:a['DOC_RANGE_TYPE'][_0x394b4c(0x12b)],'segmentId':typeof _0x5bb74c==_0x394b4c(0x2d1)?String(_0x5bb74c):'','segmentPage':Number(_0x31795d!=null?_0x31795d:-0x1)});}return _0x1ad50a['some'](_0x2f6361=>_0x2f6361[_0x394b4c(0x1b4)])||(_0x1ad50a[0x0][_0x394b4c(0x1b4)]=!0x0),_0x1ad50a;}class Ce extends a[_0x4a9aaf(0x1dd)]{constructor(){const _0xff7085=_0x4a9aaf;super(...arguments),h(this,_0xff7085(0x291),new d['BehaviorSubject'](null)),h(this,_0xff7085(0x1a1),this[_0xff7085(0x291)]['asObservable']());}['syncEditingCollabCursor'](_0x56d69b){const _0x1707cb=_0x4a9aaf,{unitID:_0x331f39,memberID:_0x76e25,textRanges:_0x22c211}=_0x56d69b,_0x34aa5e=we(_0x22c211);if(_0x34aa5e==='')return;const _0x48313c={'unitID':_0x331f39,'memberID':_0x76e25,'selection':_0x34aa5e};this['_collabCursorState$'][_0x1707cb(0x30c)](_0x48313c);}}var Ze=Object[_0x4a9aaf(0x36e)],Qe=(_0x348181,_0x134165,_0x56983f,_0x391b85)=>{const _0x1c9bcc=_0x4a9aaf;for(var _0x36362d=_0x391b85>0x1?void 0x0:_0x391b85?Ze(_0x134165,_0x56983f):_0x134165,_0x186906=_0x348181[_0x1c9bcc(0x1bc)]-0x1,_0x5885db;_0x186906>=0x0;_0x186906--)(_0x5885db=_0x348181[_0x186906])&&(_0x36362d=_0x5885db(_0x36362d)||_0x36362d);return _0x36362d;},L=(_0x1b2137,_0xcbde42)=>(_0x548abd,_0x3e2e07)=>_0xcbde42(_0x548abd,_0x3e2e07,_0x1b2137);const et=0x12c,tt=0x64;let fe=class extends a[_0x4a9aaf(0x1dd)]{constructor(_0x36e434,_0x4b67ab,_0x2fab81,_0x554f55,_0x41143a,_0x1cd9ee,_0x453fc3,_0x525758,_0x5d12c3){const _0x612e12=_0x4a9aaf;super(),h(this,_0x612e12(0x1c2),!0x1),h(this,_0x612e12(0x123),!0x1),h(this,_0x612e12(0x324),new d[(_0x612e12(0x172))](new Map())),h(this,'cursorInfo$',this[_0x612e12(0x324)]['asObservable']()),h(this,_0x612e12(0x1a8),new d[(_0x612e12(0x172))]([])),h(this,_0x612e12(0x29d),this[_0x612e12(0x1a8)][_0x612e12(0x10b)](d[_0x612e12(0x2e5)](et))),h(this,_0x612e12(0x2fb),a[_0x612e12(0x121)](_0x1595fa=>{const _0x7f9525=_0x612e12,_0x4da212={'eventID':m[_0x7f9525(0x1b8)][_0x7f9525(0x298)],'data':{'unitID':this[_0x7f9525(0xfd)],'memberID':this[_0x7f9525(0x133)][_0x7f9525(0x124)](),'selection':we(_0x1595fa)}};this[_0x7f9525(0x133)][_0x7f9525(0x30e)](_0x4da212,this['unitID']);},tt)),(this[_0x612e12(0xfd)]=_0x36e434,this[_0x612e12(0x133)]=_0x4b67ab,this['_injector']=_0x2fab81,this[_0x612e12(0x31f)]=_0x554f55,this[_0x612e12(0x112)]=_0x41143a,this['_syncEditingCollabCursorService']=_0x1cd9ee,this[_0x612e12(0x29f)]=_0x453fc3,this[_0x612e12(0x2a8)]=_0x525758,this[_0x612e12(0x164)]=_0x5d12c3);}get[_0x4a9aaf(0x17c)](){const _0x52909f=_0x4a9aaf;return this['_cursorInfo$'][_0x52909f(0x1d3)]();}get[_0x4a9aaf(0x1c8)](){const _0x1a46c8=_0x4a9aaf;return this[_0x1a46c8(0x1a8)]['getValue']();}[_0x4a9aaf(0x362)](){const _0x1442b6=_0x4a9aaf;super['dispose'](),this[_0x1442b6(0x324)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x1442b6(0x30c)]([]),this[_0x1442b6(0x1a8)][_0x1442b6(0x2f4)]();}[_0x4a9aaf(0x114)](){const _0x1f5b56=_0x4a9aaf;this[_0x1f5b56(0x123)]||(this[_0x1f5b56(0x123)]=!0x0,this[_0x1f5b56(0x133)][_0x1f5b56(0x331)]['pipe'](d['takeUntil'](this['dispose$']))[_0x1f5b56(0x251)](_0x42fdd5=>{const _0x4e16f0=_0x1f5b56;_0x42fdd5===u['SessionStatus']['ONLINE']?this[_0x4e16f0(0x379)]():this['_toggleOffline']();}),this[_0x1f5b56(0x133)][_0x1f5b56(0x224)][_0x1f5b56(0x10b)](d[_0x1f5b56(0x376)](this[_0x1f5b56(0x27e)]))[_0x1f5b56(0x251)](_0x378c05=>{const _0x2dd0cf=_0x1f5b56,_0x431def=_0x378c05['eventID'];_0x431def===m['CollaborationEvent'][_0x2dd0cf(0x298)]&&this[_0x2dd0cf(0x120)](_0x378c05),_0x431def===m[_0x2dd0cf(0x1b8)][_0x2dd0cf(0x370)]&&this[_0x2dd0cf(0x347)](_0x378c05);}),this[_0x1f5b56(0x2db)](this[_0x1f5b56(0x164)][_0x1f5b56(0x14a)](_0x4c166b=>{const _0x286a2e=_0x1f5b56,_0x58a655=_0x4c166b[_0x286a2e(0x209)];_0x58a655!=null&&this[_0x286a2e(0x1c2)]&&_0x4c166b['id']===Y['SetTextSelectionsOperation']['id']&&_0x58a655[_0x286a2e(0x181)]===this[_0x286a2e(0xfd)]&&_0x58a655['isEditing']===!0x1&&_0x58a655[_0x286a2e(0x167)][_0x286a2e(0x1bc)]>0x0&&this[_0x286a2e(0x2fb)](_0x58a655['ranges']);})),this[_0x1f5b56(0x217)]['collabCursorState$'][_0x1f5b56(0x10b)](d[_0x1f5b56(0x376)](this[_0x1f5b56(0x27e)]))[_0x1f5b56(0x251)](_0x57b552=>{const _0x2d5cc0=_0x1f5b56;if((_0x57b552==null?void 0x0:_0x57b552['unitID'])!==this[_0x2d5cc0(0xfd)])return;const _0x38307d={'eventID':m['CollaborationEvent'][_0x2d5cc0(0x298)],'data':_0x57b552};this[_0x2d5cc0(0x120)](_0x38307d);}),this[_0x1f5b56(0x2db)](this['_commandService']['onCommandExecuted'](_0x5bb5bf=>{const _0x3a4983=_0x1f5b56;if(_0x5bb5bf['params']==null)return;const _0x56aefc=_0x5bb5bf[_0x3a4983(0x209)];if(_0x5bb5bf['id']!==Y['RichTextEditingMutation']['id']||_0x56aefc[_0x3a4983(0x181)]!==this[_0x3a4983(0xfd)])return;const _0x23b421={'id':_0x3a4983(0x2ec),'params':_0x56aefc},_0x4283c8=this[_0x3a4983(0x17c)];for(const [_0x5a2f37,_0x14113f]of _0x4283c8){const _0x445b73={'id':_0x3a4983(0x2ec),'params':{'unitId':this[_0x3a4983(0xfd)],'actions':null,'textRanges':_0x14113f[_0x3a4983(0x167)]}},_0x5ecef9=this[_0x3a4983(0x29f)]['transformMutation'](_0x23b421,_0x445b73,!0x1);if(m[_0x3a4983(0x2de)](_0x5ecef9))throw _0x5ecef9['error'];_0x4283c8[_0x3a4983(0x2b0)](_0x5a2f37,{..._0x14113f,'ranges':_0x5ecef9[_0x3a4983(0x360)][_0x3a4983(0x209)][_0x3a4983(0x2bb)]});}queueMicrotask(()=>{const _0xcfa468=_0x3a4983;this[_0xcfa468(0x324)][_0xcfa468(0x30c)](_0x4283c8);});})));}[_0x4a9aaf(0x120)](_0x490310){const _0x14433a=_0x4a9aaf;var _0x36289b,_0x34897f;const {memberID:_0xe84cbd,selection:_0x49f0d4}=_0x490310[_0x14433a(0x2c3)],_0x202bfd=Je(_0x49f0d4),_0x30cbba=(_0x34897f=(_0x36289b=this[_0x14433a(0x112)][_0x14433a(0x180)](this['unitID'],_0xe84cbd))==null?void 0x0:_0x36289b[_0x14433a(0x322)])!=null?_0x34897f:'Unknown\x20user',_0x101ee6={'color':this[_0x14433a(0x31f)]['assignAColorForMemberID'](_0xe84cbd),'name':_0x30cbba,'ranges':_0x202bfd},_0x1e0a6b=this[_0x14433a(0x17c)];_0x1e0a6b[_0x14433a(0x2b0)](_0xe84cbd,_0x101ee6),this[_0x14433a(0x324)][_0x14433a(0x30c)](_0x1e0a6b);}[_0x4a9aaf(0x347)](_0x161239){const _0x2df661=_0x4a9aaf,{memberID:_0x2040e5}=_0x161239['data'],_0x4f7a8b=this[_0x2df661(0x17c)];_0x4f7a8b[_0x2df661(0x1f0)](_0x2040e5),this[_0x2df661(0x324)][_0x2df661(0x30c)](_0x4f7a8b);}[_0x4a9aaf(0x379)](){const _0x34e4a7=_0x4a9aaf;var _0x3a2e8d;if(this[_0x34e4a7(0x1c2)]=!0x0,((_0x3a2e8d=this[_0x34e4a7(0x2a8)][_0x34e4a7(0x210)]())==null?void 0x0:_0x3a2e8d['getUnitId']())!==this[_0x34e4a7(0xfd)])return;const _0x18fcc4=this[_0x34e4a7(0x372)][_0x34e4a7(0x1ea)](Y['DocSelectionManagerService'])[_0x34e4a7(0x17f)]();Array['isArray'](_0x18fcc4)&&_0x18fcc4[_0x34e4a7(0x1bc)]>0x0&&this[_0x34e4a7(0x2fb)](_0x18fcc4);}[_0x4a9aaf(0x288)](){const _0x309b2a=_0x4a9aaf;this[_0x309b2a(0x1c2)]=!0x1;}};fe=Qe([L(0x2,a['Inject'](a[_0x4a9aaf(0x1cf)])),L(0x3,a['Inject'](me)),L(0x4,a['Inject'](u['MemberService'])),L(0x5,a[_0x4a9aaf(0x301)](Ce)),L(0x6,m[_0x4a9aaf(0x34e)]),L(0x7,a[_0x4a9aaf(0x216)]),L(0x8,a['ICommandService'])],fe);var st=Object[_0x4a9aaf(0x36e)],it=(_0x5c5696,_0x54cedd,_0x58ed90,_0x5e2c93)=>{const _0x4f0c12=_0x4a9aaf;for(var _0x3e4d70=_0x5e2c93>0x1?void 0x0:_0x5e2c93?st(_0x54cedd,_0x58ed90):_0x54cedd,_0x4e08a7=_0x5c5696[_0x4f0c12(0x1bc)]-0x1,_0x4249ef;_0x4e08a7>=0x0;_0x4e08a7--)(_0x4249ef=_0x5c5696[_0x4e08a7])&&(_0x3e4d70=_0x4249ef(_0x3e4d70)||_0x3e4d70);return _0x3e4d70;},A=(_0x44aaf7,_0x1241e2)=>(_0x1aa7b8,_0x116162)=>_0x1241e2(_0x1aa7b8,_0x116162,_0x44aaf7);const nt=0x12c,rt=0x64,ot=()=>{let _0x1bd553=[],_0x5d61de=!0x1;return _0x1d6e2f=>{_0x1bd553['push'](_0x1d6e2f),_0x5d61de||(_0x5d61de=!0x0,setTimeout(()=>{const _0x29dce9=_0x7693;_0x1bd553[_0x29dce9(0x2ad)](_0x4e3a89=>_0x4e3a89()),_0x1bd553=[],_0x5d61de=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x48fc4a,_0x52ce4a,_0x51d8c4,_0x8d5a01,_0x3a59aa,_0x432406,_0x36742c,_0x461b19){const _0x5a477b=_0x4a9aaf;super(),h(this,_0x5a477b(0x1c2),!0x1),h(this,'_init',!0x1),h(this,_0x5a477b(0x324),new d['BehaviorSubject'](new Map())),h(this,_0x5a477b(0x1de),this[_0x5a477b(0x324)][_0x5a477b(0x280)]()),h(this,_0x5a477b(0x1a8),new d[(_0x5a477b(0x172))]([])),h(this,_0x5a477b(0x29d),this[_0x5a477b(0x1a8)][_0x5a477b(0x10b)](d[_0x5a477b(0x2e5)](nt))),h(this,_0x5a477b(0x2fb),a[_0x5a477b(0x121)]((_0x285d95,_0x4ae57c)=>{const _0xb855d2=_0x5a477b,_0x5dd4e3={'eventID':m[_0xb855d2(0x1b8)][_0xb855d2(0x298)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Ee['serializeRangeWithSheet'](_0x285d95,_0x4ae57c[_0xb855d2(0x189)])}};this[_0xb855d2(0x133)]['send'](_0x5dd4e3,this[_0xb855d2(0xfd)]);},rt)),(this[_0x5a477b(0xfd)]=_0x48fc4a,this[_0x5a477b(0x133)]=_0x52ce4a,this['_injector']=_0x51d8c4,this[_0x5a477b(0x31f)]=_0x8d5a01,this[_0x5a477b(0x112)]=_0x3a59aa,this['_univerInstanceService']=_0x432406,this[_0x5a477b(0x164)]=_0x36742c,this[_0x5a477b(0x230)]=_0x461b19);}get[_0x4a9aaf(0x17c)](){const _0x210719=_0x4a9aaf;return this[_0x210719(0x324)]['getValue']();}get['roomMembers'](){const _0x485f8b=_0x4a9aaf;return this[_0x485f8b(0x1a8)]['getValue']();}[_0x4a9aaf(0x362)](){const _0x206979=_0x4a9aaf;super[_0x206979(0x362)](),this['_cursorInfo$'][_0x206979(0x30c)](new Map()),this[_0x206979(0x324)][_0x206979(0x2f4)](),this[_0x206979(0x1a8)][_0x206979(0x30c)]([]),this['_roomMembers$'][_0x206979(0x2f4)]();}['init'](){const _0x5b0123=_0x4a9aaf;this[_0x5b0123(0x123)]||(this[_0x5b0123(0x123)]=!0x0,this[_0x5b0123(0x133)][_0x5b0123(0x331)][_0x5b0123(0x10b)](d[_0x5b0123(0x376)](this['dispose$']))[_0x5b0123(0x251)](_0x54a577=>{const _0x33f137=_0x5b0123;_0x54a577===u[_0x33f137(0x193)]['ONLINE']?this[_0x33f137(0x379)]():this['_toggleOffline']();}),this[_0x5b0123(0x133)][_0x5b0123(0x224)][_0x5b0123(0x10b)](d[_0x5b0123(0x376)](this[_0x5b0123(0x27e)]))['subscribe'](_0x3da70c=>{const _0x28b9da=_0x5b0123,_0x1de484=_0x3da70c[_0x28b9da(0x359)];_0x1de484===m[_0x28b9da(0x1b8)][_0x28b9da(0x298)]&&this[_0x28b9da(0x120)](_0x3da70c),_0x1de484===m[_0x28b9da(0x1b8)]['USERS_LEAVE']&&this[_0x28b9da(0x347)](_0x3da70c);}),this[_0x5b0123(0xf8)](),this['disposeWithMe'](this[_0x5b0123(0x164)][_0x5b0123(0x14a)](_0x33ed50=>{const _0x4f4937=_0x5b0123;if(this[_0x4f4937(0x1c2)]&&_0x33ed50['id']===g[_0x4f4937(0x225)]['id']&&_0x33ed50['params']['unitId']===this[_0x4f4937(0xfd)]){const _0xb2a077=_0x33ed50[_0x4f4937(0x209)];this[_0x4f4937(0x2fb)](_0xb2a077[_0x4f4937(0x260)],_0xb2a077[_0x4f4937(0x157)][0x0]);}})));}[_0x4a9aaf(0x120)](_0x5250f6){const _0xc84123=_0x4a9aaf;var _0xb42275,_0x447dc6;const {memberID:_0x4846d4,selection:_0x4405b7}=_0x5250f6[_0xc84123(0x2c3)],{sheetName:_0x221afe,range:_0x348a0a}=Ee[_0xc84123(0x258)](_0x4405b7),_0x41f406={'name':(_0x447dc6=(_0xb42275=this[_0xc84123(0x112)]['getMember'](this[_0xc84123(0xfd)],_0x4846d4))==null?void 0x0:_0xb42275[_0xc84123(0x322)])!=null?_0x447dc6:'Unknown\x20user','range':this[_0xc84123(0x20a)](_0x221afe,_0x348a0a),'sheetID':_0x221afe,'color':this[_0xc84123(0x31f)][_0xc84123(0x23f)](_0x4846d4),'selection':_0x4405b7},_0x4e6d80=this['cursorInfo'];_0x4e6d80[_0xc84123(0x2b0)](_0x4846d4,_0x41f406),this[_0xc84123(0x324)]['next'](_0x4e6d80);}[_0x4a9aaf(0x347)](_0x25b492){const _0x3546a6=_0x4a9aaf,{memberID:_0x53795f}=_0x25b492[_0x3546a6(0x2c3)],_0x49467b=this[_0x3546a6(0x17c)];_0x49467b['delete'](_0x53795f),this['_cursorInfo$'][_0x3546a6(0x30c)](_0x49467b);}[_0x4a9aaf(0x20a)](_0x220983,_0x5b8bdc){const _0x2ef1a4=_0x4a9aaf;var _0x35b2bd,_0x15f727;const _0x5d269c=(_0x15f727=(_0x35b2bd=this[_0x2ef1a4(0x2a8)]['getUniverSheetInstance'](this[_0x2ef1a4(0xfd)]))==null?void 0x0:_0x35b2bd['getSheetBySheetId'](_0x220983))==null?void 0x0:_0x15f727['getMergeData']();return(_0x5d269c==null?void 0x0:_0x5d269c[_0x2ef1a4(0x2fe)](_0x1f31ac=>a['Rectangle'][_0x2ef1a4(0x146)](_0x1f31ac,_0x5b8bdc)))||_0x5b8bdc;}[_0x4a9aaf(0xf8)](){const _0xffc8f3=_0x4a9aaf,_0x141db8=new a[(_0xffc8f3(0x141))](),_0x5d41f6=ot(),_0x39e9eb=()=>{const _0x2e5831=_0xffc8f3;_0x141db8[_0x2e5831(0x362)]();const _0x11ccb3=(_0x4b3960,_0x66f76d,_0x293fee,_0x1b3160)=>{const _0x43d9e3=_0x2e5831;let _0x13737c=[];switch(_0x4b3960['id']){case g['EffectRefRangId'][_0x43d9e3(0x173)]:{_0x13737c=g[_0x43d9e3(0x270)](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)][_0x43d9e3(0x309)]:{_0x13737c=g['handleDeleteRangeMoveUp'](_0x4b3960,_0x1b3160);break;}case g['EffectRefRangId'][_0x43d9e3(0x129)]:{_0x13737c=g[_0x43d9e3(0x37f)](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)]['InsertRangeMoveDownCommandId']:{_0x13737c=g[_0x43d9e3(0x2c9)](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)]['InsertRangeMoveRightCommandId']:{_0x13737c=g[_0x43d9e3(0x1ef)](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)][_0x43d9e3(0x174)]:{_0x13737c=g[_0x43d9e3(0x1ed)](_0x4b3960,_0x1b3160);break;}case g['EffectRefRangId'][_0x43d9e3(0x248)]:{_0x13737c=g['handleMoveRange'](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)]['RemoveColCommandId']:{_0x13737c=g[_0x43d9e3(0x2d4)](_0x4b3960,_0x1b3160);break;}case g[_0x43d9e3(0x2e2)]['RemoveRowCommandId']:{_0x13737c=g['handleIRemoveRow'](_0x4b3960,_0x1b3160);break;}}const _0x492214=g[_0x43d9e3(0x1d8)](_0x13737c,_0x1b3160),_0x141e54=this[_0x43d9e3(0x17c)]['get'](_0x66f76d);if(_0x141e54&&_0x492214){const _0x4a3e22={..._0x141e54,'range':_0x492214};this[_0x43d9e3(0x17c)][_0x43d9e3(0x2b0)](_0x66f76d,_0x4a3e22),_0x5d41f6(()=>{const _0x12776f=_0x43d9e3,_0x122461=this[_0x12776f(0x230)][_0x12776f(0x190)](_0x492214,_0x23e7a7=>(_0x122461[_0x12776f(0x362)](),_0x11ccb3(_0x23e7a7,_0x66f76d,_0x293fee,_0x492214)));_0x141db8[_0x12776f(0x1ce)](_0x122461);});}return{'redos':[],'undos':[]};};this[_0x2e5831(0x17c)][_0x2e5831(0x2ad)]((_0x2f0734,_0x51b262)=>{const _0xb3ccf1=_0x2e5831,{range:_0x4a42cf,sheetID:_0x2c0b3f}=_0x2f0734,_0x223ecc=this[_0xb3ccf1(0x230)][_0xb3ccf1(0x190)](_0x4a42cf,_0x23d45a=>(_0x223ecc[_0xb3ccf1(0x362)](),_0x11ccb3(_0x23d45a,_0x51b262,_0x2c0b3f,_0x4a42cf)));_0x141db8[_0xb3ccf1(0x1ce)](_0x223ecc);});};this[_0xffc8f3(0x2db)](a['toDisposable'](this[_0xffc8f3(0x324)][_0xffc8f3(0x251)](()=>{_0x39e9eb();})));}[_0x4a9aaf(0x379)](){const _0x4e5c64=_0x4a9aaf;var _0x29b237,_0x15d800;if(this[_0x4e5c64(0x1c2)]=!0x0,((_0x29b237=this[_0x4e5c64(0x2a8)][_0x4e5c64(0x210)]())==null?void 0x0:_0x29b237[_0x4e5c64(0x182)]())!==this[_0x4e5c64(0xfd)])return;const _0xef88d3=(_0x15d800=this[_0x4e5c64(0x372)]['get'](g[_0x4e5c64(0x273)])['getCurrentSelections']())==null?void 0x0:_0x15d800[0x0],_0x33c70b=this[_0x4e5c64(0x2a8)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x4e5c64(0x278)])[_0x4e5c64(0x19f)]();_0xef88d3&&_0x33c70b&&this[_0x4e5c64(0x2fb)](_0x33c70b[_0x4e5c64(0x37a)](),_0xef88d3);}[_0x4a9aaf(0x288)](){const _0x5c04e9=_0x4a9aaf;this[_0x5c04e9(0x1c2)]=!0x1;}};Se=it([A(0x2,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),A(0x3,a[_0x4a9aaf(0x301)](me)),A(0x4,a['Inject'](u[_0x4a9aaf(0x2aa)])),A(0x5,a[_0x4a9aaf(0x216)]),A(0x6,a[_0x4a9aaf(0x387)]),A(0x7,a[_0x4a9aaf(0x301)](g[_0x4a9aaf(0x11b)]))],Se);var at=Object[_0x4a9aaf(0x36e)],ct=(_0x413ff8,_0x435e60,_0x539197,_0x241d36)=>{const _0x36dbaa=_0x4a9aaf;for(var _0x3662e8=_0x241d36>0x1?void 0x0:_0x241d36?at(_0x435e60,_0x539197):_0x435e60,_0x5816fc=_0x413ff8[_0x36dbaa(0x1bc)]-0x1,_0xd3227c;_0x5816fc>=0x0;_0x5816fc--)(_0xd3227c=_0x413ff8[_0x5816fc])&&(_0x3662e8=_0xd3227c(_0x3662e8)||_0x3662e8);return _0x3662e8;},ie=(_0x5ee514,_0x20159e)=>(_0x28c6f2,_0x2160bc)=>_0x20159e(_0x28c6f2,_0x2160bc,_0x5ee514);let x=class extends a[_0x4a9aaf(0x1dd)]{constructor(_0x4fcb69,_0x233685,_0x421988){const _0x1cfed8=_0x4a9aaf;super(),h(this,_0x1cfed8(0x302),new Map()),h(this,_0x1cfed8(0x14e),new d[(_0x1cfed8(0x175))]()),(this[_0x1cfed8(0x2a8)]=_0x4fcb69,this[_0x1cfed8(0x372)]=_0x233685,this[_0x1cfed8(0x25b)]=_0x421988,this[_0x1cfed8(0x123)]());}[_0x4a9aaf(0x362)](){const _0x587449=_0x4a9aaf;super[_0x587449(0x362)](),this[_0x587449(0x14e)][_0x587449(0x2f4)](),this[_0x587449(0x302)]['forEach'](_0x5ccddb=>_0x5ccddb[_0x587449(0x362)]());}[_0x4a9aaf(0x28c)](_0x3ceec0){const _0x4d39d0=_0x4a9aaf;return this[_0x4d39d0(0x302)][_0x4d39d0(0x1d1)](_0x3ceec0)?this['_entities'][_0x4d39d0(0x1ea)](_0x3ceec0)['cursorInfo$']:this[_0x4d39d0(0x14e)]['pipe'](d['filter'](_0x1e9fdc=>_0x1e9fdc['unitID']===_0x3ceec0),d[_0x4d39d0(0x354)](_0x3f2323=>_0x3f2323[_0x4d39d0(0x1de)]));}['_init'](){const _0x2c2ef8=_0x4a9aaf;this[_0x2c2ef8(0x2a8)][_0x2c2ef8(0x1f3)](a['UniverInstanceType'][_0x2c2ef8(0x278)])[_0x2c2ef8(0x10b)](d['takeUntil'](this[_0x2c2ef8(0x27e)]))[_0x2c2ef8(0x251)](async _0x43e7e7=>{const _0x4076b2=_0x2c2ef8,_0x1a44b1=_0x43e7e7['getUnitId'](),_0x559c94=await this['_startSheetCollabCursor'](_0x1a44b1);this[_0x4076b2(0x14e)][_0x4076b2(0x30c)](_0x559c94),this['_entities'][_0x4076b2(0x2b0)](_0x1a44b1,_0x559c94);}),this[_0x2c2ef8(0x2a8)][_0x2c2ef8(0x1f3)](a[_0x2c2ef8(0x389)][_0x2c2ef8(0xff)])[_0x2c2ef8(0x10b)](d[_0x2c2ef8(0x376)](this['dispose$']))[_0x2c2ef8(0x10b)](d[_0x2c2ef8(0x344)](_0x65b62c=>!_0x65b62c[_0x2c2ef8(0x182)]()[_0x2c2ef8(0x166)]('__')))[_0x2c2ef8(0x251)](async _0x3cdf25=>{const _0x13587e=_0x2c2ef8,_0x3edc77=_0x3cdf25[_0x13587e(0x182)](),_0x3fdafc=await this[_0x13587e(0x2c1)](_0x3edc77);this[_0x13587e(0x14e)][_0x13587e(0x30c)](_0x3fdafc),this[_0x13587e(0x302)][_0x13587e(0x2b0)](_0x3edc77,_0x3fdafc);}),d[_0x2c2ef8(0x2c0)](this[_0x2c2ef8(0x2a8)]['getTypeOfUnitDisposed$'](a[_0x2c2ef8(0x389)][_0x2c2ef8(0xff)]),this[_0x2c2ef8(0x2a8)][_0x2c2ef8(0x1c7)](a[_0x2c2ef8(0x389)][_0x2c2ef8(0x278)]))['pipe'](d['takeUntil'](this[_0x2c2ef8(0x27e)]))[_0x2c2ef8(0x251)](_0x51f96a=>{const _0x5a3d2f=_0x2c2ef8,_0x3fff31=_0x51f96a[_0x5a3d2f(0x182)](),_0x766a61=this['_entities']['get'](_0x3fff31);_0x766a61&&(_0x766a61[_0x5a3d2f(0x362)](),this[_0x5a3d2f(0x302)]['delete'](_0x3fff31));});}async[_0x4a9aaf(0x168)](_0x1b0935){const _0x3aafc4=_0x4a9aaf,_0x288826=await this[_0x3aafc4(0x25b)][_0x3aafc4(0x26e)](_0x1b0935),_0x43858e=this[_0x3aafc4(0x372)][_0x3aafc4(0x16a)](Se,_0x1b0935,_0x288826);return _0x43858e[_0x3aafc4(0x114)](),_0x43858e;}async[_0x4a9aaf(0x2c1)](_0x3f56af){const _0x55fe38=_0x4a9aaf,_0x17e3d5=await this[_0x55fe38(0x25b)]['requireSession'](_0x3f56af),_0x1c1265=this['_injector']['createInstance'](fe,_0x3f56af,_0x17e3d5);return _0x1c1265[_0x55fe38(0x114)](),_0x1c1265;}};x=ct([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),ie(0x2,a['Inject'](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4ec4f0,_0x259ed3){const _0x95c480=_0x4a9aaf;let {radius:_0x2759a9,width:_0x2689ee,height:_0x30677e}=_0x259ed3;_0x2759a9=_0x2759a9!=null?_0x2759a9:0x0,_0x2689ee=_0x2689ee!=null?_0x2689ee:0x1e,_0x30677e=_0x30677e!=null?_0x30677e:0x1e;let _0x28f75e=0x0,_0x1adb14=0x0,_0x277f6b=0x0;_0x28f75e=_0x1adb14=_0x277f6b=Math[_0x95c480(0x2da)](_0x2759a9,_0x2689ee/0x2,_0x30677e/0x2),_0x4ec4f0[_0x95c480(0x350)](),_0x4ec4f0[_0x95c480(0x285)](_0x28f75e,0x0),_0x4ec4f0[_0x95c480(0x177)](_0x2689ee-_0x1adb14,0x0),_0x4ec4f0['arc'](_0x2689ee-_0x1adb14,_0x1adb14,_0x1adb14,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ec4f0['lineTo'](_0x2689ee,_0x30677e-_0x277f6b),_0x4ec4f0[_0x95c480(0x26c)](_0x2689ee-_0x277f6b,_0x30677e-_0x277f6b,_0x277f6b,0x0,Math['PI']/0x2,!0x1),_0x4ec4f0['lineTo'](0x0,_0x30677e),_0x4ec4f0[_0x95c480(0x177)](0x0,_0x28f75e),_0x4ec4f0[_0x95c480(0x26c)](_0x28f75e,_0x28f75e,_0x28f75e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ec4f0[_0x95c480(0x23e)](),_0x259ed3[_0x95c480(0x306)]&&(_0x4ec4f0['save'](),_0x4ec4f0[_0x95c480(0x1df)]=_0x259ed3[_0x95c480(0x306)],_0x259ed3[_0x95c480(0x2f7)]===_0x95c480(0x268)?_0x4ec4f0['fill']('evenodd'):_0x4ec4f0['fill'](),_0x4ec4f0[_0x95c480(0x2fd)]());}class ee extends p[_0x4a9aaf(0xfa)]{constructor(_0x39d66c,_0x47c83f){const _0x4fb331=_0x4a9aaf;super(_0x39d66c,_0x47c83f),h(this,_0x4fb331(0x1c4)),h(this,_0x4fb331(0x1a9)),(this[_0x4fb331(0x1c4)]=_0x47c83f==null?void 0x0:_0x47c83f[_0x4fb331(0x1c4)],this[_0x4fb331(0x1a9)]=_0x47c83f==null?void 0x0:_0x47c83f[_0x4fb331(0x1a9)]);}static[_0x4a9aaf(0x2c5)](_0x157d87,_0x33595c){const _0x1ecbaa=_0x4a9aaf,{text:_0x57a126,color:_0x56de66}=_0x33595c;_0x157d87[_0x1ecbaa(0x2d7)](),_0x157d87[_0x1ecbaa(0x239)]=_0x1ecbaa(0x1f4);const _0x4c7598=_0x157d87[_0x1ecbaa(0x381)](_0x57a126)[_0x1ecbaa(0x222)],_0x2190a3=Math['min'](_0x4c7598+0x2*ne,Re);_t(_0x157d87,{'height':K,'radius':0x4,'width':_0x2190a3,'fill':_0x56de66}),_0x157d87['fillStyle']=_0x1ecbaa(0x26d);const _0x4921ca=ne,_0x4855d8=K-lt,_0xaf9723=Re-0x2*ne;if(_0x4c7598>_0xaf9723){let _0x210453='',_0x5ddb9b=0x0;for(const _0x4b8f2b of _0x57a126){const _0x11d3ce=_0x157d87['measureText'](_0x4b8f2b)[_0x1ecbaa(0x222)];if(_0x5ddb9b+_0x11d3ce<=_0xaf9723-_0x157d87[_0x1ecbaa(0x381)](_0x1ecbaa(0x254))[_0x1ecbaa(0x222)])_0x210453+=_0x4b8f2b,_0x5ddb9b+=_0x11d3ce;else{_0x210453+=_0x1ecbaa(0x254);break;}}_0x157d87[_0x1ecbaa(0x104)](_0x210453,_0x4921ca,_0x4855d8);}else _0x157d87[_0x1ecbaa(0x104)](_0x57a126,_0x4921ca,_0x4855d8);_0x157d87[_0x1ecbaa(0x2fd)]();}[_0x4a9aaf(0x338)](_0xff46ae){const _0x538bef=_0x4a9aaf;ee[_0x538bef(0x2c5)](_0xff46ae,this);}}const re=_0x4a9aaf(0x2ce),ht=_0x4a9aaf(0x19c),ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x4a9aaf(0x2f8);class De{constructor(_0x4f924a,_0x515bf2,_0x39cbad,_0x2598a6){const _0xb6d191=_0x4a9aaf;h(this,'_shapes',[]),h(this,_0xb6d191(0x196),null),h(this,_0xb6d191(0x178),null),h(this,'_anchorDot',null),h(this,_0xb6d191(0x11a),null),h(this,_0xb6d191(0x1fa),null),(this[_0xb6d191(0x326)]=_0x4f924a,this[_0xb6d191(0x369)]=_0x515bf2,this[_0xb6d191(0x14f)]=_0x39cbad,this[_0xb6d191(0x2b8)]=_0x2598a6,this[_0xb6d191(0x357)]());}set[_0x4a9aaf(0x250)](_0xf0ce29){const _0x200dfb=_0x4a9aaf;_0xf0ce29?(this['_anchorDot']&&this[_0x200dfb(0x156)][_0x200dfb(0x1c9)](),this[_0x200dfb(0x178)]&&this[_0x200dfb(0x178)][_0x200dfb(0x22f)]()):(this[_0x200dfb(0x156)]&&this['_anchorDot'][_0x200dfb(0x22f)](),this[_0x200dfb(0x178)]&&this[_0x200dfb(0x178)]['hide']());}['dispose'](){const _0x4daed4=_0x4a9aaf;for(const _0xd63e5c of this[_0x4daed4(0x29a)])_0xd63e5c['dispose']();this[_0x4daed4(0x178)]&&this[_0x4daed4(0x178)][_0x4daed4(0x362)](),this[_0x4daed4(0x156)]&&this[_0x4daed4(0x156)][_0x4daed4(0x362)](),this[_0x4daed4(0x196)]&&this[_0x4daed4(0x196)][_0x4daed4(0x362)](),this[_0x4daed4(0x1fa)]&&this['_eventUnsubscribe']();}[_0x4a9aaf(0x357)](){const _0x5d5ec7=_0x4a9aaf;var _0x27adef;const {_docSkeleton:_0xabfcba,_document:_0x441a81}=this,{color:_0x5b061e,name:_0x556ffc,ranges:_0x583278}=this['_cursor'],_0x477eb4=_0x441a81[_0x5d5ec7(0x30f)](),{docsLeft:_0x22d42f,docsTop:_0x45e052}=_0x477eb4,_0x3469e1=new b[(_0x5d5ec7(0x321))](_0x477eb4,_0xabfcba);for(const {startOffset:_0x15c3f0,endOffset:_0x4a408c,rangeType:_0x2968b0,segmentId:_0x3897c0,segmentPage:_0x9713b0,collapsed:_0x3de13e,isActive:_0x35e5df}of _0x583278){const _0x4b8906=_0xabfcba[_0x5d5ec7(0x1e9)](_0x15c3f0,!0x0,_0x3897c0,_0x9713b0);let _0x51552e=_0xabfcba[_0x5d5ec7(0x1e9)](_0x4a408c,!0x0,_0x3897c0,_0x9713b0);if(_0x51552e==null&&(_0x51552e=_0xabfcba[_0x5d5ec7(0x1e9)](_0x4a408c-0x1,!0x1,_0x3897c0,_0x9713b0)),_0x35e5df){const {contentBoxPointGroup:_0x199fd3}=_0x3469e1[_0x5d5ec7(0x1be)](_0x51552e,_0x51552e);if(_0x199fd3['length']===0x0)continue;this[_0x5d5ec7(0x17e)](_0x5b061e,_0x199fd3,_0x22d42f,_0x45e052,_0x556ffc),this[_0x5d5ec7(0x1fa)]=this[_0x5d5ec7(0x147)]();}if(_0x4b8906&&_0x51552e){if(_0x2968b0===a[_0x5d5ec7(0x23a)]['RECT']){const _0x365893=new b[(_0x5d5ec7(0x1d0))](_0x477eb4,_0xabfcba),{pointGroup:_0x30be05}=(_0x27adef=_0x365893[_0x5d5ec7(0x1be)](_0x4b8906,_0x51552e))!=null?_0x27adef:{};if(_0x30be05==null||_0x30be05[_0x5d5ec7(0x1bc)]===0x0)continue;this['_drawRectRange'](_0x5b061e,_0x30be05,_0x22d42f,_0x45e052);}else{if(!_0x3de13e){const {borderBoxPointGroup:_0x5b3102}=_0x3469e1[_0x5d5ec7(0x1be)](_0x4b8906,_0x51552e);if(_0x5b3102[_0x5d5ec7(0x1bc)]===0x0)continue;this[_0x5d5ec7(0x207)](_0x5b061e,_0x5b3102,_0x22d42f,_0x45e052);}}}}}['_drawAnchor'](_0x58a8a1,_0x548ee4,_0x389cd9,_0x2c94cf,_0x186d9d){const _0x318fcb=_0x4a9aaf,_0x5a2ff9=this[_0x318fcb(0x31c)](_0x548ee4),{left:_0x260442,top:_0x17e529,height:_0xdf8238}=_0x5a2ff9,_0x398eb8=this[_0x318fcb(0x27b)](),_0x2bd3bb=ft/_0x398eb8,_0x31c6bc=new p[(_0x318fcb(0x1fd))](re+a[_0x318fcb(0x20d)]['generateRandomId'](k),{'left':_0x260442+_0x389cd9-_0x2bd3bb,'top':_0x17e529+_0x2c94cf,'height':_0xdf8238,'width':dt,'fill':_0x58a8a1||p[_0x318fcb(0x18a)](a[_0x318fcb(0x1fc)][_0x318fcb(0x246)],0x0),'strokeWidth':_0x2bd3bb,'stroke':St,'evented':!0x0});this[_0x318fcb(0x196)]=_0x31c6bc,this['_scene'][_0x318fcb(0x36c)](_0x31c6bc,b[_0x318fcb(0x275)]);const _0x4cb245=new p[(_0x318fcb(0x1fd))](re+a[_0x318fcb(0x20d)][_0x318fcb(0x323)](k),{'left':_0x260442+_0x389cd9-_0x2bd3bb,'top':_0x17e529+_0x2c94cf-oe/0x2,'height':oe,'width':oe,'fill':_0x58a8a1||p[_0x318fcb(0x18a)](a[_0x318fcb(0x1fc)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x58a8a1||p[_0x318fcb(0x18a)](a[_0x318fcb(0x1fc)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x4cb245,this[_0x318fcb(0x369)]['addObject'](_0x4cb245,b[_0x318fcb(0x275)]);const _0x46033b=new ee(re+a[_0x318fcb(0x20d)]['generateRandomId'](k),{'left':_0x260442+_0x389cd9-_0x2bd3bb,'top':_0x17e529+_0x2c94cf-K,'text':_0x186d9d,'color':_0x58a8a1});this[_0x318fcb(0x178)]=_0x46033b,this[_0x318fcb(0x369)]['addObject'](_0x46033b,b[_0x318fcb(0x275)]),this[_0x318fcb(0x250)]=!0x1;}[_0x4a9aaf(0x147)](){const _0x3f3f96=_0x4a9aaf,_0x4f2b90=this[_0x3f3f96(0x196)][_0x3f3f96(0x1e0)][_0x3f3f96(0x371)](()=>{this['_hover']=!0x0;}),_0x391050=this[_0x3f3f96(0x196)][_0x3f3f96(0x33c)][_0x3f3f96(0x371)](()=>{const _0x56ea91=_0x3f3f96;this[_0x56ea91(0x11a)]&&clearTimeout(this[_0x56ea91(0x11a)]),this[_0x56ea91(0x11a)]=setTimeout(()=>{const _0x53bdbc=_0x56ea91;this[_0x53bdbc(0x250)]=!0x1;},0x7d0);});return()=>{const _0x5de81b=_0x3f3f96;_0x4f2b90[_0x5de81b(0x161)](),_0x391050[_0x5de81b(0x161)]();};}[_0x4a9aaf(0x207)](_0x196f1a,_0x54129b,_0x573bf1,_0x2e8376){const _0x4e0eee=_0x4a9aaf,_0x3cb4c6=new a[(_0x4e0eee(0x1f5))](_0x196f1a)[_0x4e0eee(0x2eb)](0.2)['toRgbString'](),_0x1e658c=new p[(_0x4e0eee(0x25e))](ht+a[_0x4e0eee(0x20d)][_0x4e0eee(0x323)](k),{'pointsGroup':_0x54129b,'fill':_0x3cb4c6||p[_0x4e0eee(0x18a)](a[_0x4e0eee(0x1fc)][_0x4e0eee(0x246)],0.2),'left':_0x573bf1,'top':_0x2e8376,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e0eee(0x29a)]['push'](_0x1e658c),this[_0x4e0eee(0x369)][_0x4e0eee(0x36c)](_0x1e658c,b[_0x4e0eee(0x275)]);}[_0x4a9aaf(0x153)](_0x37684b,_0x4e3e80,_0x147cc0,_0x4582a7){const _0xb9949f=_0x4a9aaf,_0x244ce0=new a[(_0xb9949f(0x1f5))](_0x37684b)[_0xb9949f(0x2eb)](0.2)[_0xb9949f(0x11e)](),_0x299db7=new p[(_0xb9949f(0x25e))](ut+a['Tools'][_0xb9949f(0x323)](k),{'pointsGroup':_0x4e3e80,'fill':_0x244ce0||p[_0xb9949f(0x18a)](a[_0xb9949f(0x1fc)][_0xb9949f(0x246)],0.2),'left':_0x147cc0,'top':_0x4582a7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x299db7),this['_scene'][_0xb9949f(0x36c)](_0x299db7,b[_0xb9949f(0x275)]);}[_0x4a9aaf(0x31c)](_0x5c91a7){const _0x324094=_0x5c91a7[0x0],_0x18453d=_0x324094[0x0],_0x439665=_0x324094[0x2],{x:_0x1573c1,y:_0x25b850}=_0x18453d,{x:_0xccb0b,y:_0x50f07c}=_0x439665;return{'left':_0x1573c1,'top':_0x25b850,'width':_0xccb0b-_0x1573c1,'height':_0x50f07c-_0x25b850};}['_getScale'](){const _0x5d8371=_0x4a9aaf,{scaleX:_0x3cfede,scaleY:_0x52d22a}=this['_scene'][_0x5d8371(0x1ac)]();return Math[_0x5d8371(0x148)](_0x3cfede,_0x52d22a);}}var It=Object[_0x4a9aaf(0x36e)],vt=(_0x236bae,_0x7b9d83,_0x31ab62,_0x5d02f4)=>{const _0x3231f7=_0x4a9aaf;for(var _0x321063=_0x5d02f4>0x1?void 0x0:_0x5d02f4?It(_0x7b9d83,_0x31ab62):_0x7b9d83,_0x32b3ca=_0x236bae[_0x3231f7(0x1bc)]-0x1,_0x35b95b;_0x32b3ca>=0x0;_0x32b3ca--)(_0x35b95b=_0x236bae[_0x32b3ca])&&(_0x321063=_0x35b95b(_0x321063)||_0x321063);return _0x321063;},W=(_0x3b9157,_0x55873f)=>(_0x2397a2,_0xef1ca4)=>_0x55873f(_0x2397a2,_0xef1ca4,_0x3b9157);function _0x7693(_0x4ab6a6,_0x2df536){const _0x316ae3=_0x316a();return _0x7693=function(_0x7693b0,_0x4c7931){_0x7693b0=_0x7693b0-0xf4;let _0x4c9b31=_0x316ae3[_0x7693b0];return _0x4c9b31;},_0x7693(_0x4ab6a6,_0x2df536);}let Ie=class extends a[_0x4a9aaf(0x1dd)]{constructor(_0x3dc04c,_0x5cd273,_0x4b36a4,_0x31ec07,_0x8c7611){const _0x41cffa=_0x4a9aaf;super(),h(this,_0x41cffa(0x283),[]),h(this,'_cursors',[]),(this[_0x41cffa(0x2a7)]=_0x3dc04c,this['_docSkeletonManagerService']=_0x5cd273,this[_0x41cffa(0x111)]=_0x4b36a4,this[_0x41cffa(0x164)]=_0x31ec07,this['_themeService']=_0x8c7611,this['_init']());}[_0x4a9aaf(0x123)](){const _0x11e566=_0x4a9aaf,_0x5841ab=this[_0x11e566(0x2a7)]['unitId'],_0x445cbe=this['_docSkeletonManagerService'];this[_0x11e566(0x2db)](d[_0x11e566(0x243)]([this[_0x11e566(0x111)][_0x11e566(0x28c)](_0x5841ab),this[_0x11e566(0x287)]['currentTheme$']])['pipe']($['map'](([_0x4311cf,_0x3878ef])=>({'skeleton':_0x445cbe[_0x11e566(0x346)](),'cursors':[..._0x4311cf[_0x11e566(0x1d2)]()][_0x11e566(0x35a)](_0x16d49b=>({..._0x16d49b,'color':this[_0x11e566(0x287)][_0x11e566(0x1e6)](_0x16d49b[_0x11e566(0x1c4)])}))})))['subscribe'](_0x12edec=>{const _0x4b80c1=_0x11e566;if(this[_0x4b80c1(0x18c)](),_0x12edec){const {skeleton:_0x3b9781,cursors:_0x58f3a6}=_0x12edec;this[_0x4b80c1(0x32a)](_0x3b9781,_0x58f3a6);}})),this[_0x11e566(0x365)](),this[_0x11e566(0x187)]();}['_updateCollabCursors'](_0x2487a2,_0x116c13){const _0x548749=_0x4a9aaf,{scene:_0x1aa213,mainComponent:_0x594b64}=this[_0x548749(0x2a7)],_0x220d43=_0x116c13['map'](_0x3486f2=>new De(_0x3486f2,_0x1aa213,_0x2487a2,_0x594b64));this[_0x548749(0x283)]=_0x220d43,this['_cursors']=_0x116c13;}[_0x4a9aaf(0x22e)](){const _0x20b232=_0x4a9aaf;this['_removeCollabCursors']();const {scene:_0x55335b,mainComponent:_0x172024}=this['_context'],_0x4b732f=this[_0x20b232(0x35c)][_0x20b232(0x346)](),_0x1aecc6=this[_0x20b232(0x235)]['map'](_0x2caeaa=>new De(_0x2caeaa,_0x55335b,_0x4b732f,_0x172024));this['_cursorShapes']=_0x1aecc6;}[_0x4a9aaf(0x18c)](){const _0x10fb06=_0x4a9aaf;this[_0x10fb06(0x283)][_0x10fb06(0x2ad)](_0x31b4f5=>_0x31b4f5[_0x10fb06(0x362)]()),this[_0x10fb06(0x283)]=[];}[_0x4a9aaf(0x187)](){const _0xd68b7d=_0x4a9aaf,_0x1594cb=[b[_0xd68b7d(0x202)]['id']];this[_0xd68b7d(0x2db)](this[_0xd68b7d(0x164)][_0xd68b7d(0x14a)](_0x543ece=>{const _0x23670d=_0xd68b7d;_0x1594cb[_0x23670d(0x343)](_0x543ece['id'])&&_0x543ece[_0x23670d(0x209)][_0x23670d(0x181)]===this[_0x23670d(0x2a7)][_0x23670d(0x181)]&&this[_0x23670d(0x22e)]();}));}[_0x4a9aaf(0x365)](){const _0x549ccc=_0x4a9aaf;this[_0x549ccc(0x2db)](a[_0x549ccc(0x16f)](this['_context'][_0x549ccc(0x34a)][_0x549ccc(0xfc)])[_0x549ccc(0x10b)]($[_0x549ccc(0x344)](_0x49f4b1=>_0x49f4b1[_0x549ccc(0x103)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x549ccc(0x162)]),$[_0x549ccc(0x155)](0x10))[_0x549ccc(0x251)](()=>{const _0x508ab5=_0x549ccc;this[_0x508ab5(0x22e)]();}));}};Ie=vt([W(0x1,a['Inject'](Y[_0x4a9aaf(0x23d)])),W(0x2,a['Inject'](x)),W(0x3,a[_0x4a9aaf(0x387)]),W(0x4,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x36b)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x4a9aaf(0xfa)]{constructor(_0x2731a0,_0xc932d2){const _0x52d594=_0x4a9aaf;super(_0x2731a0,_0xc932d2),h(this,'_color'),h(this,'_hovered',!0x1),h(this,'_range'),h(this,_0x52d594(0x20e),''),h(this,_0x52d594(0x384),'top'),h(this,_0x52d594(0x25d)),(_0xc932d2&&this[_0x52d594(0x37b)](_0xc932d2),this[_0x52d594(0x1e0)][_0x52d594(0x371)](()=>this[_0x52d594(0x37b)]({'hovered':!0x0})),this[_0x52d594(0x33c)]['subscribeEvent'](()=>this[_0x52d594(0x37b)]({'hovered':!0x1})));}[_0x4a9aaf(0x37b)](_0x5ed52c){const _0x340edd=_0x4a9aaf;var _0x231135,_0x394f2e,_0xc97733,_0x1e55e8,_0x4d0292,_0x31870e;this[_0x340edd(0x38b)]=(_0x231135=_0x5ed52c[_0x340edd(0x1c4)])!=null?_0x231135:this[_0x340edd(0x38b)],this[_0x340edd(0x1d6)]=(_0x394f2e=_0x5ed52c[_0x340edd(0x253)])!=null?_0x394f2e:this[_0x340edd(0x1d6)],this[_0x340edd(0x158)]=(_0xc97733=_0x5ed52c[_0x340edd(0x189)])!=null?_0xc97733:this[_0x340edd(0x158)],this['_name']=(_0x1e55e8=_0x5ed52c[_0x340edd(0x322)])!=null?_0x1e55e8:this[_0x340edd(0x20e)],this['_labelPosition']=(_0x4d0292=_0x5ed52c[_0x340edd(0x17d)])!=null?_0x4d0292:this[_0x340edd(0x384)],this['_backgroundColor']=(_0x31870e=_0x5ed52c['backgroundColor'])!=null?_0x31870e:this[_0x340edd(0x25d)],this[_0x340edd(0x184)]({'width':_0x5ed52c[_0x340edd(0x222)],'height':_0x5ed52c['height']});}[_0x4a9aaf(0x2ed)](_0x42da65){const _0x380eea=_0x4a9aaf,{row:_0x4c2ca1,column:_0x2b37da}=_0x42da65;if(_0x4c2ca1>=this[_0x380eea(0x158)][_0x380eea(0x1af)]&&_0x4c2ca1<=this[_0x380eea(0x158)][_0x380eea(0x151)]&&_0x2b37da>=this[_0x380eea(0x158)][_0x380eea(0x137)]&&_0x2b37da<=this[_0x380eea(0x158)][_0x380eea(0x1f9)]){this[_0x380eea(0x37b)]({'hovered':!0x0});return;}this[_0x380eea(0x37b)]({'hovered':!0x1});}[_0x4a9aaf(0x176)](_0x544f4f){return!0x1;}[_0x4a9aaf(0x338)](_0x1d04a6){const _0x14a845=_0x4a9aaf;p[_0x14a845(0x1fd)][_0x14a845(0x2c5)](_0x1d04a6,{'width':this['width'],'height':this[_0x14a845(0x227)],'strokeWidth':mt,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1d04a6['save'](),_0x1d04a6['transform'](0x1,0x0,0x0,0x1,this[_0x14a845(0x222)],this[_0x14a845(0x384)]==='bottom'?0x0:-0x14),ee[_0x14a845(0x2c5)](_0x1d04a6,{'text':this[_0x14a845(0x20e)],'color':this['_color']}),_0x1d04a6[_0x14a845(0x2fd)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x5c1223,_0x5d0b8,_0x1d386e,_0x1d2b94)=>{const _0x55c6e0=_0x4a9aaf;for(var _0x40e146=_0x1d2b94>0x1?void 0x0:_0x1d2b94?Ct(_0x5d0b8,_0x1d386e):_0x5d0b8,_0x2f308b=_0x5c1223[_0x55c6e0(0x1bc)]-0x1,_0x247852;_0x2f308b>=0x0;_0x2f308b--)(_0x247852=_0x5c1223[_0x2f308b])&&(_0x40e146=_0x247852(_0x40e146)||_0x40e146);return _0x40e146;},ae=(_0x4bd313,_0x14488d)=>(_0x592db0,_0xc65bb)=>_0x14488d(_0x592db0,_0xc65bb,_0x4bd313);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x21d357,_0x37f4c7,_0x22544a,_0xbb0be1){const _0x4bc080=_0x4a9aaf;super(),h(this,_0x4bc080(0x235),new Set()),h(this,_0x4bc080(0x179),null),(this[_0x4bc080(0x2a7)]=_0x21d357,this[_0x4bc080(0x12a)]=_0x37f4c7,this[_0x4bc080(0x111)]=_0x22544a,this[_0x4bc080(0x287)]=_0xbb0be1,this['_init']());}['_init'](){const _0x437229=_0x4a9aaf;this[_0x437229(0x12a)][_0x437229(0x307)][_0x437229(0x10b)]($[_0x437229(0x376)](this[_0x437229(0x27e)]),$[_0x437229(0x354)](_0x3eeb4d=>{const _0xa62b97=_0x437229;if(_0x3eeb4d){const _0x245269=_0x3eeb4d[_0xa62b97(0x20b)];return d[_0xa62b97(0x243)](this['_collabCursorController'][_0xa62b97(0x28c)](this[_0xa62b97(0x2a7)][_0xa62b97(0x181)]),this['_themeService'][_0xa62b97(0x267)])[_0xa62b97(0x10b)]($[_0xa62b97(0x118)](([_0x1f7df6,_0xa89068])=>{const _0x1cda46=new Map();return _0x1f7df6['forEach']((_0x57ec4f,_0x8b80c5)=>{const _0x248748=_0x7693;if(_0x57ec4f[_0x248748(0x361)]===_0x245269){const _0x239da5={..._0x57ec4f};_0x239da5[_0x248748(0x1c4)]=this['_themeService'][_0x248748(0x1e6)](_0x57ec4f[_0x248748(0x1c4)]),_0x1cda46[_0x248748(0x2b0)](_0x8b80c5,_0x239da5);}}),{'skeleton':_0x3eeb4d,'cursors':_0x1cda46};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x437229(0x251)](({skeleton:_0x346c11,cursors:_0x37f641})=>{const _0x222f12=_0x437229;this['_removeCollabCursors'](),_0x346c11&&this[_0x222f12(0x32a)](_0x346c11,_0x37f641);}),this[_0x437229(0x12a)][_0x437229(0x307)][_0x437229(0x251)](_0x468f9f=>{const _0x54c3e1=_0x437229;if(_0x468f9f==null)return;const {skeleton:_0x351366}=_0x468f9f,{scene:_0x11fb9b}=this[_0x54c3e1(0x2a7)];_0x11fb9b[_0x54c3e1(0x2b5)][_0x54c3e1(0x371)](a[_0x54c3e1(0x121)](_0x1e9f4b=>{const _0x1b0a2a=_0x54c3e1;var _0x17ca1c,_0xdd471d;const {offsetX:_0x5a2af5,offsetY:_0x4a2b87}=_0x1e9f4b,{x:_0x444b3a,y:_0x54f290}=_0x11fb9b[_0x1b0a2a(0x1e7)](p[_0x1b0a2a(0x170)][_0x1b0a2a(0x238)]([_0x5a2af5,_0x4a2b87])),{scaleX:_0x5634f4,scaleY:_0x4c008c}=_0x11fb9b['getAncestorScale'](),_0x5786ab=_0x11fb9b['getViewport'](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x302733=_0x11fb9b[_0x1b0a2a(0x259)](p[_0x1b0a2a(0x170)]['FromArray']([_0x444b3a,_0x54f290]),_0x5786ab),_0x34e4d1=_0x351366[_0x1b0a2a(0x139)](_0x5a2af5,_0x4a2b87,_0x5634f4,_0x4c008c,_0x302733);((_0x17ca1c=this[_0x1b0a2a(0x179)])==null?void 0x0:_0x17ca1c[_0x1b0a2a(0x334)])===_0x34e4d1['column']&&((_0xdd471d=this['_lastPointer'])==null?void 0x0:_0xdd471d['row'])===_0x34e4d1[_0x1b0a2a(0x1bb)]||this[_0x1b0a2a(0x235)][_0x1b0a2a(0x2ad)](_0x38a972=>{_0x38a972['onMouseMove'](_0x34e4d1);});},0x64));});}['_updateCollabCursors'](_0x545fbd,_0xef62ba){const _0x9608ce=_0x4a9aaf;var _0x25e55;const _0x56ff3d=(_0x25e55=this[_0x9608ce(0x12a)]['getCurrent']())==null?void 0x0:_0x25e55['skeleton'];if(!_0x56ff3d)return;const _0x51c0a7=this[_0x9608ce(0x1d9)]();if(!_0x51c0a7)return;this[_0x9608ce(0x235)][_0x9608ce(0x2ad)](_0x3b3a95=>{const _0x774346=_0x9608ce;_0x3b3a95[_0x774346(0x262)]();});const {scene:_0x4696e7}=_0x51c0a7,_0x3cde0c=Et(Array[_0x9608ce(0x37e)](_0xef62ba[_0x9608ce(0x1d2)]()))['map'](_0x2475a9=>{const _0x4bf3b4=_0x9608ce,{color:_0x4d3d8b,range:_0xa19fc,name:_0x18e17c,selection:_0x11ac85,sheetID:_0x5e9470}=_0x2475a9,{startColumn:_0x351029,startRow:_0x42bc1a,endColumn:_0x543541,endRow:_0x41b04c}=_0xa19fc,_0x45d1bd=X['getCoordByCell'](_0x42bc1a,_0x351029,_0x4696e7,_0x56ff3d),_0x3b2115=X[_0x4bf3b4(0x1a5)](_0x41b04c,_0x543541,_0x4696e7,_0x56ff3d),{columnHeaderHeightAndMarginTop:_0x5e9b67}=_0x56ff3d,{startX:_0x29f345,startY:_0x235982}=_0x45d1bd,{endX:_0x56bf4e,endY:_0x52beb3}=_0x3b2115,_0x4e7b0c=_0x56bf4e-_0x29f345,_0x2222c4=_0x52beb3-_0x235982,_0x3000c1={'labelPosition':_0x235982-_0x5e9b67>=K?'top':_0x4bf3b4(0x108),'sheetID':_0x5e9470,'range':_0xa19fc,'color':_0x4d3d8b,'name':_0x18e17c,'selection':_0x11ac85,'left':_0x29f345,'top':_0x235982,'width':_0x4e7b0c,'height':_0x2222c4,'evented':!0x1,'zIndex':bt};return new Pe(_0x18e17c,_0x3000c1);});_0x4696e7[_0x9608ce(0x303)](_0x3cde0c,gt),this[_0x9608ce(0x235)]=new Set(_0x3cde0c);}[_0x4a9aaf(0x18c)](){const _0x59caf7=_0x4a9aaf;var _0x420ce8;(_0x420ce8=this[_0x59caf7(0x235)])==null||_0x420ce8[_0x59caf7(0x2ad)](_0x3c5027=>_0x3c5027[_0x59caf7(0x362)]());}[_0x4a9aaf(0x1d9)](){const _0x5c9f2f=_0x4a9aaf;return X[_0x5c9f2f(0x1e1)](this[_0x5c9f2f(0x2a7)][_0x5c9f2f(0x330)],this[_0x5c9f2f(0x2a7)]);}};ve=pt([ae(0x1,a[_0x4a9aaf(0x301)](X[_0x4a9aaf(0x18d)])),ae(0x2,a[_0x4a9aaf(0x301)](x)),ae(0x3,a[_0x4a9aaf(0x301)](a['ThemeService']))],ve);function Et(_0x5e9238){const _0x500a5c=_0x4a9aaf,_0x5be56d=new Map();return _0x5e9238[_0x500a5c(0x2ad)](_0x4c9dbc=>{const _0x2e76dd=_0x500a5c;if(_0x5be56d[_0x2e76dd(0x1d1)](_0x4c9dbc['selection'])){const _0x5516a4=_0x5be56d[_0x2e76dd(0x1ea)](_0x4c9dbc['selection']);_0x5516a4[_0x2e76dd(0x322)]+=',\x20'+_0x4c9dbc[_0x2e76dd(0x322)];}else _0x5be56d[_0x2e76dd(0x2b0)](_0x4c9dbc[_0x2e76dd(0x325)],_0x4c9dbc);}),Array[_0x500a5c(0x37e)](_0x5be56d['values']());}var E=function(){const _0x200b2b=_0x4a9aaf;return E=Object[_0x200b2b(0x293)]||function(_0x3f2797){const _0x2a5806=_0x200b2b;for(var _0x8c5fed,_0x18e5fb=0x1,_0x25aaac=arguments[_0x2a5806(0x1bc)];_0x18e5fb<_0x25aaac;_0x18e5fb++){_0x8c5fed=arguments[_0x18e5fb];for(var _0x1c6bef in _0x8c5fed)Object[_0x2a5806(0x337)][_0x2a5806(0x245)]['call'](_0x8c5fed,_0x1c6bef)&&(_0x3f2797[_0x1c6bef]=_0x8c5fed[_0x1c6bef]);}return _0x3f2797;},E[_0x200b2b(0x2e6)](this,arguments);},Tt=function(_0x280ae6,_0x36e697){const _0x18d793=_0x4a9aaf;var _0x1824ea={};for(var _0x40640e in _0x280ae6)Object[_0x18d793(0x337)][_0x18d793(0x245)][_0x18d793(0x31b)](_0x280ae6,_0x40640e)&&_0x36e697[_0x18d793(0x30a)](_0x40640e)<0x0&&(_0x1824ea[_0x40640e]=_0x280ae6[_0x40640e]);if(_0x280ae6!=null&&typeof Object[_0x18d793(0x200)]==_0x18d793(0x299)){for(var _0x53c592=0x0,_0x40640e=Object['getOwnPropertySymbols'](_0x280ae6);_0x53c592<_0x40640e[_0x18d793(0x1bc)];_0x53c592++)_0x36e697[_0x18d793(0x30a)](_0x40640e[_0x53c592])<0x0&&Object[_0x18d793(0x337)][_0x18d793(0x1e3)][_0x18d793(0x31b)](_0x280ae6,_0x40640e[_0x53c592])&&(_0x1824ea[_0x40640e[_0x53c592]]=_0x280ae6[_0x40640e[_0x53c592]]);}return _0x1824ea;},pe=M['forwardRef'](function(_0x1b594e,_0x4a0344){const _0x3117c4=_0x4a9aaf;var _0x540806=_0x1b594e[_0x3117c4(0x328)],_0x15a325=_0x1b594e['id'],_0x5c628e=_0x1b594e['className'],_0x239f75=_0x1b594e[_0x3117c4(0x237)],_0x4b687b=Tt(_0x1b594e,['icon','id',_0x3117c4(0x198),_0x3117c4(0x237)]),_0x445398=_0x3117c4(0x12e)[_0x3117c4(0x33f)](_0x15a325,'\x20')[_0x3117c4(0x33f)](_0x5c628e||'')['trim'](),_0x4da94c=M[_0x3117c4(0x33a)]('_'[_0x3117c4(0x33f)](Dt()));return Ae(_0x540806,''[_0x3117c4(0x33f)](_0x15a325),{'defIds':_0x540806[_0x3117c4(0x28f)],'idSuffix':_0x4da94c[_0x3117c4(0x30b)]},E({'ref':_0x4a0344,'className':_0x445398},_0x4b687b),_0x239f75);});function Ae(_0x114f02,_0x472ae5,_0x5522d6,_0x33e5eb,_0xc4d8ae){const _0xa0dfb5=_0x4a9aaf;return M[_0xa0dfb5(0x310)](_0x114f02[_0xa0dfb5(0x16d)],E(E({'key':_0x472ae5},Ot(_0x114f02,_0x5522d6,_0xc4d8ae)),_0x33e5eb),(Rt(_0x114f02,_0x5522d6)[_0xa0dfb5(0x28a)]||[])['map'](function(_0x549c08,_0x45e5a3){const _0x22c180=_0xa0dfb5;return Ae(_0x549c08,''['concat'](_0x472ae5,'-')['concat'](_0x114f02[_0x22c180(0x16d)],'-')[_0x22c180(0x33f)](_0x45e5a3),_0x5522d6,void 0x0,_0xc4d8ae);}));}function Ot(_0xdba219,_0x3df6b6,_0x371108){const _0x5aef71=_0x4a9aaf;var _0x226bb0=E({},_0xdba219[_0x5aef71(0x13e)]);_0x371108!=null&&_0x371108['colorChannel1']&&_0x226bb0[_0x5aef71(0x306)]===_0x5aef71(0x206)&&(_0x226bb0[_0x5aef71(0x306)]=_0x371108['colorChannel1']),_0xdba219['tag']===_0x5aef71(0x1d4)&&_0x226bb0['id']&&(_0x226bb0['id']=_0x226bb0['id']+_0x3df6b6[_0x5aef71(0x23b)]),Object[_0x5aef71(0x165)](_0x226bb0)[_0x5aef71(0x2ad)](function(_0x5e4a49){const _0x3527ec=_0x5aef71;var _0xe025e7=_0x5e4a49[0x0],_0x4c1610=_0x5e4a49[0x1];_0xe025e7===_0x3527ec(0x1d4)&&typeof _0x4c1610==_0x3527ec(0x2d1)&&(_0x226bb0[_0xe025e7]=_0x4c1610[_0x3527ec(0x32e)](/url\(#(.*)\)/,_0x3527ec(0x19b)[_0x3527ec(0x33f)](_0x3df6b6[_0x3527ec(0x23b)],')')));});var _0x24270f=_0x3df6b6['defIds'];return!_0x24270f||_0x24270f['length']===0x0||(_0xdba219['tag']==='use'&&_0x226bb0[_0x5aef71(0x1f7)]&&(_0x226bb0[_0x5aef71(0x1f7)]=_0x226bb0['xlink:href']+_0x3df6b6[_0x5aef71(0x23b)]),Object['entries'](_0x226bb0)[_0x5aef71(0x2ad)](function(_0x123ccb){const _0x2acb12=_0x5aef71;var _0x8d7532=_0x123ccb[0x0],_0x119ce9=_0x123ccb[0x1];typeof _0x119ce9=='string'&&(_0x226bb0[_0x8d7532]=_0x119ce9[_0x2acb12(0x32e)](/url\(#(.*)\)/,_0x2acb12(0x19b)[_0x2acb12(0x33f)](_0x3df6b6[_0x2acb12(0x23b)],')')));})),_0x226bb0;}function Rt(_0x18d69e,_0xa0e192){const _0x18e94e=_0x4a9aaf;var _0xcb2404,_0x434715=_0xa0e192['defIds'];return!_0x434715||_0x434715['length']===0x0?_0x18d69e:_0x18d69e[_0x18e94e(0x16d)]===_0x18e94e(0x208)&&(!((_0xcb2404=_0x18d69e[_0x18e94e(0x28a)])===null||_0xcb2404===void 0x0)&&_0xcb2404[_0x18e94e(0x1bc)])?E(E({},_0x18d69e),{'children':_0x18d69e['children'][_0x18e94e(0x118)](function(_0x243511){const _0x3f9b14=_0x18e94e;return typeof _0x243511['attrs']['id']==_0x3f9b14(0x2d1)&&_0x434715&&_0x434715[_0x3f9b14(0x343)](_0x243511[_0x3f9b14(0x13e)]['id'])?E(E({},_0x243511),{'attrs':E(E({},_0x243511['attrs']),{'id':_0x243511[_0x3f9b14(0x13e)]['id']+_0xa0e192['idSuffix']})}):_0x243511;})}):_0x18d69e;}function Dt(){const _0x365b02=_0x4a9aaf;return Math[_0x365b02(0x1a0)]()[_0x365b02(0x385)](0x24)['substring'](0x2,0x8);}pe[_0x4a9aaf(0x353)]='UniverIcon';var Ut={'tag':_0x4a9aaf(0x316),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4a9aaf(0x2b3),'viewBox':'0\x200\x2016\x2016','width':_0x4a9aaf(0x15a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9aaf(0x2d5)},'children':[{'tag':_0x4a9aaf(0x333),'attrs':{'stroke':_0x4a9aaf(0x1ec),'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':_0x4a9aaf(0x1b6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a9aaf(0x208),'attrs':{},'children':[{'tag':_0x4a9aaf(0x2f1),'attrs':{'id':_0x4a9aaf(0x219)},'children':[{'tag':_0x4a9aaf(0x333),'attrs':{'fill':'white','d':_0x4a9aaf(0x2e4)}}]}]}],'defIds':[_0x4a9aaf(0x219)]},ye=M['forwardRef'](function(_0x24744a,_0x242152){const _0x5a7f8d=_0x4a9aaf;return M[_0x5a7f8d(0x310)](pe,Object[_0x5a7f8d(0x293)]({},_0x24744a,{'id':_0x5a7f8d(0x2ff),'ref':_0x242152,'icon':Ut}));});ye['displayName']=_0x4a9aaf(0x1ae);var Nt={'tag':'svg','attrs':{'xmlns':_0x4a9aaf(0x1cc),'fill':_0x4a9aaf(0x2b3),'viewBox':'0\x200\x2017\x2016','width':_0x4a9aaf(0x15a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9aaf(0x329)},'children':[{'tag':_0x4a9aaf(0x333),'attrs':{'stroke':'currentColor','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':_0x4a9aaf(0x1b6),'strokeLinejoin':_0x4a9aaf(0x1b6),'strokeWidth':1.2}}]},{'tag':_0x4a9aaf(0x208),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x4a9aaf(0x333),'attrs':{'fill':_0x4a9aaf(0x131),'d':_0x4a9aaf(0x2e4),'transform':_0x4a9aaf(0x2d3)}}]}]}],'defIds':[_0x4a9aaf(0x2c4)]},$e=M[_0x4a9aaf(0x1a2)](function(_0x626078,_0x4a5eb4){const _0x280c20=_0x4a9aaf;return M['createElement'](pe,Object[_0x280c20(0x293)]({},_0x626078,{'id':_0x280c20(0x2a2),'ref':_0x4a5eb4,'icon':Nt}));});$e[_0x4a9aaf(0x353)]=_0x4a9aaf(0x2a0);function Mt(_0x24e51d){const _0x5eaa3c=_0x4a9aaf;switch(_0x24e51d){case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x28b)]:return _0x5eaa3c(0x199);case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x1b1)]:return _0x5eaa3c(0x2ab);case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x195)]:return'collabStatus.fetchMiss';case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x33e)]:return _0x5eaa3c(0x269);case u['CollaborationStatus']['AWAITING']:case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x313)]:return _0x5eaa3c(0x2ef);case u[_0x5eaa3c(0x2be)][_0x5eaa3c(0x2b1)]:case u[_0x5eaa3c(0x2be)]['PENDING']:return'collabStatus.synced';}}function xe(_0xa60285){const _0x347ddb=_0x4a9aaf,{status$:_0x12486a}=_0xa60285,_0xfa2cc3=T[_0x347ddb(0x26a)](_0x12486a,u[_0x347ddb(0x2be)][_0x347ddb(0x33e)]),_0x101acc=T[_0x347ddb(0x152)](a[_0x347ddb(0x102)]),_0x527d5f=T[_0x347ddb(0x152)](u[_0x347ddb(0x1dc)]),_0x592e7e=_0xfa2cc3!==u['CollaborationStatus'][_0x347ddb(0x28b)],_0x2c2661=_0x101acc['t'](Mt(_0xfa2cc3)),_0x239707=_0x592e7e?w[_0x347ddb(0x22b)]($e,{}):w['jsx'](ye,{}),_0x4b6698=M[_0x347ddb(0xfe)](()=>{const _0x5e0540=_0x347ddb;_0x592e7e||_0x527d5f[_0x5e0540(0x154)]();},[_0x592e7e,_0x527d5f]);function _0x2afdf1(){const _0xac7bc6=_0x347ddb;return w[_0xac7bc6(0x2d2)](_0xac7bc6(0x348),{'className':'univer-flex\x20univer-items-center','onClick':_0x4b6698,'children':[w[_0xac7bc6(0x22b)]('div',{'className':D[_0xac7bc6(0x21d)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x592e7e,'univer-text-red-500':!_0x592e7e}),'children':_0x239707}),w['jsx'](_0xac7bc6(0x348),{'className':_0xac7bc6(0x32d),'children':_0x2c2661})]});}return _0x592e7e?_0x2afdf1():w[_0x347ddb(0x22b)](D[_0x347ddb(0x23c)],{'title':_0x101acc['t'](_0x347ddb(0x35d)),'children':_0x2afdf1()});}var Lt=Object[_0x4a9aaf(0x36e)],wt=(_0x37f4f7,_0x30afb0,_0x25b7c0,_0xeaec8a)=>{for(var _0x11f592=_0xeaec8a>0x1?void 0x0:_0xeaec8a?Lt(_0x30afb0,_0x25b7c0):_0x30afb0,_0x56328c=_0x37f4f7['length']-0x1,_0x16e585;_0x56328c>=0x0;_0x56328c--)(_0x16e585=_0x37f4f7[_0x56328c])&&(_0x11f592=_0x16e585(_0x11f592)||_0x11f592);return _0x11f592;},V=(_0x22f8a4,_0x2c595d)=>(_0x1b3e1b,_0x39f55d)=>_0x2c595d(_0x1b3e1b,_0x39f55d,_0x22f8a4);exports[_0x4a9aaf(0x18b)]=class extends a[_0x4a9aaf(0x149)]{constructor(_0x510f65,_0x26d100,_0x9fda2e,_0x44d048){const _0x501f2f=_0x4a9aaf;super(),h(this,_0x501f2f(0x2cb),new d['BehaviorSubject'](u[_0x501f2f(0x2be)]['NOT_COLLAB'])),(this[_0x501f2f(0x2a8)]=_0x510f65,this[_0x501f2f(0x372)]=_0x26d100,this['_collaborationController']=_0x9fda2e,this[_0x501f2f(0x241)]=_0x44d048,this[_0x501f2f(0x276)](),this['_initStatusListener']());}[_0x4a9aaf(0x21c)](){const _0x39a0b3=_0x4a9aaf;this[_0x39a0b3(0x2db)](this[_0x39a0b3(0x2a8)][_0x39a0b3(0x386)][_0x39a0b3(0x10b)](d[_0x39a0b3(0x354)](()=>{const _0x104e73=_0x39a0b3,_0x2b100a=this['_univerInstanceService'][_0x104e73(0x210)]();return _0x2b100a?this[_0x104e73(0x2a1)][_0x104e73(0x304)](_0x2b100a[_0x104e73(0x182)]()):d['of'](null);}),d['switchMap'](_0x3a5d97=>_0x3a5d97?_0x3a5d97[_0x39a0b3(0x13b)]:d['of'](u[_0x39a0b3(0x2be)][_0x39a0b3(0x33e)])))[_0x39a0b3(0x251)](_0x48d068=>{const _0x54d4c1=_0x39a0b3;this[_0x54d4c1(0x2cb)]['next'](_0x48d068);}));}[_0x4a9aaf(0x276)](){const _0x49e794=_0x4a9aaf;this[_0x49e794(0x2db)](this[_0x49e794(0x241)][_0x49e794(0x24c)](T['BuiltInUIPart'][_0x49e794(0x367)],()=>T[_0x49e794(0x256)](Pt({'status$':this[_0x49e794(0x2cb)]['asObservable']()}),this[_0x49e794(0x372)])));}},exports[_0x4a9aaf(0x18b)]=wt([V(0x0,a[_0x4a9aaf(0x216)]),V(0x1,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),V(0x2,a['Inject'](u[_0x4a9aaf(0x100)])),V(0x3,T[_0x4a9aaf(0x341)])],exports[_0x4a9aaf(0x18b)]);function Pt(_0x5c9dac){const {status$:_0x59d231}=_0x5c9dac;return function(){return w['jsx'](xe,{'status$':_0x59d231});};}var At=Object[_0x4a9aaf(0x36e)],yt=(_0x4b42e6,_0x250364,_0x40467a,_0x1c6663)=>{const _0x32f20b=_0x4a9aaf;for(var _0x434c50=_0x1c6663>0x1?void 0x0:_0x1c6663?At(_0x250364,_0x40467a):_0x250364,_0x4e8fbd=_0x4b42e6[_0x32f20b(0x1bc)]-0x1,_0x51f306;_0x4e8fbd>=0x0;_0x4e8fbd--)(_0x51f306=_0x4b42e6[_0x4e8fbd])&&(_0x434c50=_0x51f306(_0x434c50)||_0x434c50);return _0x434c50;},y=(_0x154c21,_0x4552c8)=>(_0x2ab59c,_0x3d34fc)=>_0x4552c8(_0x2ab59c,_0x3d34fc,_0x154c21);let q=class extends a[_0x4a9aaf(0x149)]{constructor(_0x50deba,_0x138593,_0x3d997e,_0x583c1b,_0x2fae27,_0xbcaba){const _0x1b3025=_0x4a9aaf;super(),this['_beforeCloseService']=_0x50deba,this[_0x1b3025(0x36f)]=_0x138593,this['_collaborationUIEventService']=_0x3d997e,this['_messageService']=_0x583c1b,this['_notificationService']=_0x2fae27,this[_0x1b3025(0x281)]=_0xbcaba,this[_0x1b3025(0x21e)](),this[_0x1b3025(0x29c)]();}[_0x4a9aaf(0x21e)](){const _0xcbb271=_0x4a9aaf;this[_0xcbb271(0x2db)](this['_beforeCloseService'][_0xcbb271(0x289)](()=>{const _0x502067=_0xcbb271;if(this[_0x502067(0x36f)][_0x502067(0x1b0)][_0x502067(0x352)])return this[_0x502067(0x281)]['t'](_0x502067(0x13f));}));}[_0x4a9aaf(0x29c)](){const _0x2a9f13=_0x4a9aaf;this[_0x2a9f13(0x2db)](this[_0x2a9f13(0x1aa)][_0x2a9f13(0x224)]['subscribe'](_0x111ffb=>{const _0x2f92c3=_0x2a9f13;_0x111ffb['id']===u[_0x2f92c3(0x14b)]['OTHER_CLIENT_EDITING']&&this[_0x2f92c3(0x134)][_0x2f92c3(0x22f)]({'type':D[_0x2f92c3(0x144)][_0x2f92c3(0x2cc)],'content':this[_0x2f92c3(0x281)]['t']('collaboration.single-unit.warning')}),_0x111ffb['id']===u[_0x2f92c3(0x14b)]['CLOSE_ROOM']&&this[_0x2f92c3(0x134)][_0x2f92c3(0x22f)]({'type':D[_0x2f92c3(0x144)]['Warning'],'content':this['_localeService']['t'](_0x2f92c3(0x27f))}),_0x111ffb['id']===u[_0x2f92c3(0x14b)][_0x2f92c3(0x132)]&&this[_0x2f92c3(0x242)]['show']({'title':this[_0x2f92c3(0x281)]['t'](_0x2f92c3(0x234)),'content':this[_0x2f92c3(0x281)]['t'](_0x2f92c3(0x11f)),'type':'error','duration':0x0}),_0x111ffb['id']===u['CollaborationUIEventId'][_0x2f92c3(0x1b1)]&&this[_0x2f92c3(0x134)][_0x2f92c3(0x22f)]({'type':D[_0x2f92c3(0x144)][_0x2f92c3(0x24f)],'content':this[_0x2f92c3(0x281)]['t']('collaboration.closeRoom')+'('+_0x111ffb[_0x2f92c3(0x2c3)]+')'}),_0x111ffb['id']===u[_0x2f92c3(0x14b)][_0x2f92c3(0x229)]&&this[_0x2f92c3(0x134)]['show']({'type':D[_0x2f92c3(0x144)][_0x2f92c3(0x2cc)],'content':this[_0x2f92c3(0x281)]['t'](_0x111ffb['data']||'')}),_0x111ffb['id']===u[_0x2f92c3(0x14b)][_0x2f92c3(0x356)]&&this['_messageService'][_0x2f92c3(0x22f)]({'type':D[_0x2f92c3(0x144)]['Warning'],'content':this['_localeService']['t'](_0x2f92c3(0xfb))}),_0x111ffb['id']===u[_0x2f92c3(0x14b)][_0x2f92c3(0x311)]&&this[_0x2f92c3(0x134)]['show']({'type':D[_0x2f92c3(0x144)][_0x2f92c3(0x24f)],'content':this[_0x2f92c3(0x281)]['t']('session.connection-failed')}),_0x111ffb['id']===u[_0x2f92c3(0x14b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f92c3(0x134)]['show']({'type':D[_0x2f92c3(0x144)][_0x2f92c3(0x24f)],'content':this[_0x2f92c3(0x281)]['t'](_0x2f92c3(0x36a))});}));}};q=yt([y(0x0,T[_0x4a9aaf(0x263)]),y(0x1,u[_0x4a9aaf(0x21b)]),y(0x2,a[_0x4a9aaf(0x301)](u[_0x4a9aaf(0x150)])),y(0x3,T[_0x4a9aaf(0x2a4)]),y(0x4,T[_0x4a9aaf(0x34d)]),y(0x5,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x102)]))],q);const $t=_0x4a9aaf(0x34f),Ue={},be=a[_0x4a9aaf(0x143)](_0x4a9aaf(0x27c));var xt=Object[_0x4a9aaf(0x36e)],jt=(_0x3fc888,_0x46f7aa,_0x299ab8,_0x253b96)=>{const _0x96dfdc=_0x4a9aaf;for(var _0x2e264d=_0x253b96>0x1?void 0x0:_0x253b96?xt(_0x46f7aa,_0x299ab8):_0x46f7aa,_0x733b25=_0x3fc888[_0x96dfdc(0x1bc)]-0x1,_0xb5b065;_0x733b25>=0x0;_0x733b25--)(_0xb5b065=_0x3fc888[_0x733b25])&&(_0x2e264d=_0xb5b065(_0x2e264d)||_0x2e264d);return _0x2e264d;},H=(_0x145d1c,_0x488090)=>(_0xce3ceb,_0x3d972b)=>_0x488090(_0xce3ceb,_0x3d972b,_0x145d1c);exports[_0x4a9aaf(0x191)]=class extends a[_0x4a9aaf(0x1dd)]{constructor(_0x5eeb9b,_0xd59410,_0xa332aa,_0x5a20c6,_0x4744c5){const _0xd13119=_0x4a9aaf;super(),this['_urlService']=_0x5eeb9b,this[_0xd13119(0x15e)]=_0xd59410,this[_0xd13119(0x164)]=_0xa332aa,this[_0xd13119(0x2e0)]=_0x5a20c6,_0x4744c5?_0x4744c5==null||_0x4744c5[_0xd13119(0x223)]()[_0xd13119(0x38a)](()=>this['_init']()):(this['_logService']['debug'](_0xd13119(0x2af),_0xd13119(0x279)),this['_init']());}async['_init'](){const _0xb68196=_0x4a9aaf,_0x1f2eee=this['_urlService'][_0xb68196(0x2a6)](_0xb68196(0x330)),_0x3b6567=this['_urlService']['getParam'](_0xb68196(0x103)),_0x1bbffe=this[_0xb68196(0x25f)][_0xb68196(0x2a6)](_0xb68196(0x2b7));if(!_0x1f2eee||!_0x3b6567){this['_logService'][_0xb68196(0x335)](_0xb68196(0x2af),_0xb68196(0x24d));return;}const _0x11f287=await this[_0xb68196(0x2e0)][_0xb68196(0x113)](_0x1f2eee,Number(_0x3b6567),_0x1bbffe);_0x11f287&&_0x11f287 instanceof a['Workbook']&&this[_0xb68196(0xf4)](_0x11f287);}async[_0x4a9aaf(0xf4)](_0x2a5812){const _0x31f460=_0x4a9aaf;await this[_0x31f460(0x17a)](_0x2a5812),_0x2a5812[_0x31f460(0x2c2)][_0x31f460(0x10b)](d['takeUntil'](this[_0x31f460(0x27e)]))[_0x31f460(0x251)](_0x1bad5c=>{const _0x5bc416=_0x31f460;_0x1bad5c&&this[_0x5bc416(0x1e4)](_0x1bad5c);}),this[_0x31f460(0x25f)][_0x31f460(0x2a5)][_0x31f460(0x10b)](d[_0x31f460(0x376)](this[_0x31f460(0x27e)]))['subscribe'](()=>this[_0x31f460(0x17a)](_0x2a5812));}[_0x4a9aaf(0x1e4)](_0x3d8228,_0x15888c=!0x1){const _0x2ba62d=_0x4a9aaf,_0xa44e01=this[_0x2ba62d(0x25f)]['getParam']('subunit');_0x3d8228[_0x2ba62d(0x37a)]()!==_0xa44e01&&this[_0x2ba62d(0x25f)]['setParam'](_0x2ba62d(0x2b7),_0x3d8228[_0x2ba62d(0x37a)](),_0x15888c);}async[_0x4a9aaf(0x17a)](_0x38447f){const _0x1053c5=_0x4a9aaf;var _0xee222c;const _0x567919=this[_0x1053c5(0x25f)][_0x1053c5(0x2a6)]('subunit');if(!_0x567919||!_0x38447f['getSheetBySheetId'](_0x567919)){const _0x13396e=_0x38447f[_0x1053c5(0x2e8)]()[0x0],_0x29d7bb=_0x38447f[_0x1053c5(0x10f)](_0x13396e);if(!_0x29d7bb)return;this[_0x1053c5(0x1e4)](_0x29d7bb,!0x0),await this[_0x1053c5(0x164)][_0x1053c5(0x277)](g[_0x1053c5(0x228)]['id'],{'unitId':_0x38447f[_0x1053c5(0x182)](),'subUnitId':_0x13396e});return;}((_0xee222c=_0x38447f[_0x1053c5(0x19f)]())==null?void 0x0:_0xee222c['getSheetId']())!==_0x567919&&await this['_commandService'][_0x1053c5(0x277)](g[_0x1053c5(0x228)]['id'],{'unitId':_0x38447f[_0x1053c5(0x182)](),'subUnitId':_0x567919});}},exports[_0x4a9aaf(0x191)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x4a9aaf(0x387)]),H(0x3,a[_0x4a9aaf(0x301)](u['DataLoaderService'])),H(0x4,a[_0x4a9aaf(0x265)](Ke[_0x4a9aaf(0x211)]))],exports[_0x4a9aaf(0x191)]);var Bt=Object[_0x4a9aaf(0x36e)],kt=(_0x249442,_0x56d84c,_0x2e4d5c,_0x14e725)=>{const _0x38ad36=_0x4a9aaf;for(var _0x36f54e=_0x14e725>0x1?void 0x0:_0x14e725?Bt(_0x56d84c,_0x2e4d5c):_0x56d84c,_0x16bd96=_0x249442[_0x38ad36(0x1bc)]-0x1,_0x198e11;_0x16bd96>=0x0;_0x16bd96--)(_0x198e11=_0x249442[_0x16bd96])&&(_0x36f54e=_0x198e11(_0x36f54e)||_0x36f54e);return _0x36f54e;},ce=(_0x2d7be1,_0xdb34b5)=>(_0x1582a9,_0x34b023)=>_0xdb34b5(_0x1582a9,_0x34b023,_0x2d7be1);let z=class{constructor(_0x319dca,_0x6ad4f8,_0x2a7a){const _0x151baa=_0x4a9aaf;this['_injector']=_0x319dca,this[_0x151baa(0x29f)]=_0x6ad4f8,this[_0x151baa(0x24a)]=_0x2a7a;}[_0x4a9aaf(0x197)](_0x30eda4){const _0x5ddbad=_0x4a9aaf;this[_0x5ddbad(0x185)](_0x30eda4),this[_0x5ddbad(0x12d)](_0x30eda4);}['transformRemoteChangeset'](_0x442034){const _0x383bed=_0x4a9aaf,{unitID:_0x39e63c}=_0x442034,_0x416a50=this[_0x383bed(0x24a)]['getRenderById'](_0x39e63c)['with'](b[_0x383bed(0x382)]),{redoCache:_0x172cda}=_0x416a50[_0x383bed(0x2ee)]();if(_0x172cda['length']===0x0)return _0x442034;let _0x452f9a=a['Tools'][_0x383bed(0x15c)](_0x442034[_0x383bed(0x1a3)][0x0]);for(let _0xfe5bc9=0x0;_0xfe5bc9<_0x172cda[_0x383bed(0x1bc)];_0xfe5bc9++){const _0x206a8b={'id':'doc.mutation.rich-text-editing','params':{..._0x172cda[_0xfe5bc9]}},_0x1c8e28=this[_0x383bed(0x29f)]['transformMutation'](_0x452f9a,_0x206a8b,!0x1);if(m['isTransformMutationFailure'](_0x1c8e28))throw _0x1c8e28['error'];_0x452f9a=_0x1c8e28[_0x383bed(0x2a9)];}return{...a[_0x383bed(0x20d)]['deepClone'](_0x442034),'mutations':[_0x452f9a]};}[_0x4a9aaf(0x185)](_0x523e4a){const _0x2479ba=_0x4a9aaf,{unitID:_0x2bb201}=_0x523e4a,_0x1613ef=this[_0x2479ba(0x24a)][_0x2479ba(0x126)](_0x2bb201)[_0x2479ba(0x1ab)](b['DocIMEInputManagerService']),{undoCache:_0x36f719,redoCache:_0x4b6b80}=_0x1613ef[_0x2479ba(0x2ee)]();if(_0x36f719[_0x2479ba(0x1bc)]===0x0||_0x4b6b80[_0x2479ba(0x1bc)]===0x0)return;const _0x2d54a6=[],_0x318935=[];let _0xab890c=a[_0x2479ba(0x20d)][_0x2479ba(0x15c)](_0x523e4a[_0x2479ba(0x1a3)][0x0]),_0x45a024=a['Tools']['deepClone'](_0x523e4a[_0x2479ba(0x1a3)][0x0]);for(let _0x574ebb=_0x36f719[_0x2479ba(0x1bc)]-0x1;_0x574ebb>=0x0;_0x574ebb--){const _0x3fd79d={'id':_0x2479ba(0x2ec),'params':{..._0x36f719[_0x574ebb]}},_0x42946d={'id':_0x2479ba(0x2ec),'params':{..._0x4b6b80[_0x574ebb]}},_0x4205c4=this['_transformService'][_0x2479ba(0x128)](_0xab890c,_0x3fd79d,!0x1),_0x29c2e9=this[_0x2479ba(0x29f)][_0x2479ba(0x128)](_0x45a024,_0x42946d,!0x1);if(m['isTransformMutationFailure'](_0x4205c4))throw _0x4205c4[_0x2479ba(0x33b)];if(m['isTransformMutationFailure'](_0x29c2e9))throw _0x29c2e9[_0x2479ba(0x33b)];_0x2d54a6[_0x2479ba(0x116)](_0x4205c4['m2Prime'][_0x2479ba(0x209)]),_0x318935[_0x2479ba(0x116)](_0x29c2e9['m2Prime'][_0x2479ba(0x209)]),_0xab890c=_0x4205c4[_0x2479ba(0x2a9)],_0x45a024=_0x29c2e9[_0x2479ba(0x2a9)];}_0x1613ef[_0x2479ba(0x110)]({'undoCache':_0x2d54a6,'redoCache':_0x318935});}[_0x4a9aaf(0x12d)](_0x2f9baa){const _0x5178e3=_0x4a9aaf,{unitID:_0x11148b}=_0x2f9baa,_0x5d207f=this['_renderManagerService']['getRenderById'](_0x11148b)[_0x5178e3(0x1ab)](b[_0x5178e3(0x382)]),_0x344a02=_0x5d207f[_0x5178e3(0x373)]();if(_0x344a02==null)return;const _0x1efc96=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f9baa[_0x5178e3(0xfd)],'actions':null,'textRanges':[_0x344a02]}}],_0x49e459=this[_0x5178e3(0x29f)]['transformMutationsWithChangeset'](_0x2f9baa,_0x1efc96);if(!m[_0x5178e3(0x340)](_0x49e459))throw _0x49e459[_0x5178e3(0x33b)];const _0x26cce5=_0x49e459['m2Prime'][0x0][_0x5178e3(0x209)][_0x5178e3(0x2bb)];Array[_0x5178e3(0x2c6)](_0x26cce5)&&_0x26cce5[_0x5178e3(0x1bc)]&&_0x5d207f[_0x5178e3(0x192)](_0x26cce5[0x0]);}};z=kt([ce(0x0,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),ce(0x1,m[_0x4a9aaf(0x34e)]),ce(0x2,p[_0x4a9aaf(0x2c8)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0x4dd280,_0x2fb29b,_0x3294ea,_0x173280)=>{for(var _0x3479e0=_0x173280>0x1?void 0x0:_0x173280?Ht(_0x2fb29b,_0x3294ea):_0x2fb29b,_0xad2ce5=_0x4dd280['length']-0x1,_0x1a5eef;_0xad2ce5>=0x0;_0xad2ce5--)(_0x1a5eef=_0x4dd280[_0xad2ce5])&&(_0x3479e0=_0x1a5eef(_0x3479e0)||_0x3479e0);return _0x3479e0;},le=(_0x432c29,_0x578f81)=>(_0x3ac72d,_0xc2dca9)=>_0x578f81(_0x3ac72d,_0xc2dca9,_0x432c29);let J=class{constructor(_0x32c375,_0x3ac457,_0x20867c){const _0x3be7cb=_0x4a9aaf;this[_0x3be7cb(0x372)]=_0x32c375,this[_0x3be7cb(0x29f)]=_0x3ac457,this[_0x3be7cb(0x1a7)]=_0x20867c;}[_0x4a9aaf(0x1e2)](_0x29573f){const _0x474aea=_0x4a9aaf;this[_0x474aea(0x364)](_0x29573f);}[_0x4a9aaf(0x135)](_0x4c3fd9){const _0x4c86bc=_0x4a9aaf,{unitID:_0x2f71c6}=_0x4c3fd9,{collaboration:_0x45503d}=this['_docStateChangeManagerService'][_0x4c86bc(0x18e)](_0x2f71c6);if(_0x45503d[_0x4c86bc(0x1bc)]===0x0)return _0x4c3fd9;let _0x47823f=a['Tools'][_0x4c86bc(0x15c)](_0x4c3fd9[_0x4c86bc(0x1a3)][0x0]);for(let _0x8182cb=0x0;_0x8182cb<_0x45503d['length'];_0x8182cb++){const _0x881c82={'id':_0x4c86bc(0x2ec),'params':{'unitId':_0x45503d[_0x8182cb][_0x4c86bc(0x181)],..._0x45503d[_0x8182cb][_0x4c86bc(0x236)]}},_0x5ec29c=this['_transformService'][_0x4c86bc(0x128)](_0x47823f,_0x881c82,!0x1);if(m['isTransformMutationFailure'](_0x5ec29c))throw _0x5ec29c['error'];_0x47823f=_0x5ec29c['m1Prime'];}return{...a[_0x4c86bc(0x20d)]['deepClone'](_0x4c3fd9),'mutations':[_0x47823f]};}[_0x4a9aaf(0x364)](_0xbc7f81){const _0x335e03=_0x4a9aaf,{unitID:_0x3b5d12}=_0xbc7f81,{history:_0x434946,collaboration:_0x5ba462}=this['_docStateChangeManagerService']['getStateCache'](_0x3b5d12);if(_0x434946[_0x335e03(0x1bc)]===0x0&&_0x5ba462[_0x335e03(0x1bc)]===0x0)return;const _0x2c1946=[],_0x4437a4=[];let _0x48a417=a['Tools'][_0x335e03(0x15c)](_0xbc7f81[_0x335e03(0x1a3)][0x0]),_0x1395d8=a[_0x335e03(0x20d)][_0x335e03(0x15c)](_0xbc7f81[_0x335e03(0x1a3)][0x0]);for(let _0x431f81=_0x434946['length']-0x1;_0x431f81>=0x0;_0x431f81--){const _0x25a340={'id':_0x335e03(0x2ec),'params':{'unitId':_0x434946[_0x431f81][_0x335e03(0x181)],..._0x434946[_0x431f81][_0x335e03(0x264)]}},_0x390c6b={'id':_0x335e03(0x2ec),'params':{'unitId':_0x434946[_0x431f81][_0x335e03(0x181)],..._0x434946[_0x431f81][_0x335e03(0x236)]}},_0x31eb2b=this[_0x335e03(0x29f)][_0x335e03(0x128)](_0x48a417,_0x25a340,!0x1),_0xba3818=this[_0x335e03(0x29f)][_0x335e03(0x128)](_0x1395d8,_0x390c6b,!0x1);if(m['isTransformMutationFailure'](_0x31eb2b))throw _0x31eb2b[_0x335e03(0x33b)];if(m[_0x335e03(0x2de)](_0xba3818))throw _0xba3818['error'];_0x2c1946[_0x335e03(0x116)]({..._0x434946[_0x431f81],'undoState':_0x31eb2b[_0x335e03(0x360)]['params'],'redoState':_0xba3818[_0x335e03(0x360)]['params']}),_0x48a417=_0x31eb2b[_0x335e03(0x2a9)],_0x1395d8=_0xba3818[_0x335e03(0x2a9)];}_0x48a417=a['Tools'][_0x335e03(0x15c)](_0xbc7f81['mutations'][0x0]),_0x1395d8=a[_0x335e03(0x20d)]['deepClone'](_0xbc7f81[_0x335e03(0x1a3)][0x0]);for(let _0x465a3f=_0x5ba462['length']-0x1;_0x465a3f>=0x0;_0x465a3f--){const _0xf8bbd5={'id':_0x335e03(0x2ec),'params':{'unitId':_0x5ba462[_0x465a3f][_0x335e03(0x181)],..._0x5ba462[_0x465a3f][_0x335e03(0x264)]}},_0x1b6970={'id':_0x335e03(0x2ec),'params':{'unitId':_0x5ba462[_0x465a3f][_0x335e03(0x181)],..._0x5ba462[_0x465a3f]['redoState']}},_0x1b3380=this['_transformService'][_0x335e03(0x128)](_0x48a417,_0xf8bbd5,!0x1),_0x283e2d=this['_transformService'][_0x335e03(0x128)](_0x1395d8,_0x1b6970,!0x1);if(m['isTransformMutationFailure'](_0x1b3380))throw _0x1b3380[_0x335e03(0x33b)];if(m['isTransformMutationFailure'](_0x283e2d))throw _0x283e2d[_0x335e03(0x33b)];_0x4437a4['unshift']({..._0x5ba462[_0x465a3f],'undoState':_0x1b3380[_0x335e03(0x360)]['params'],'redoState':_0x283e2d[_0x335e03(0x360)]['params']}),_0x48a417=_0x1b3380[_0x335e03(0x2a9)],_0x1395d8=_0x283e2d['m1Prime'];}this[_0x335e03(0x1a7)][_0x335e03(0x1d7)](_0x3b5d12,{'history':_0x2c1946,'collaboration':_0x4437a4});}};J=Ft([le(0x0,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),le(0x1,m[_0x4a9aaf(0x34e)]),le(0x2,a[_0x4a9aaf(0x301)](b[_0x4a9aaf(0x320)]))],J);var Yt=Object[_0x4a9aaf(0x36e)],Wt=(_0x1c089a,_0x2efd6b,_0x5c0ec6,_0x299558)=>{const _0x4b07b0=_0x4a9aaf;for(var _0x1de980=_0x299558>0x1?void 0x0:_0x299558?Yt(_0x2efd6b,_0x5c0ec6):_0x2efd6b,_0x59882f=_0x1c089a[_0x4b07b0(0x1bc)]-0x1,_0xc33764;_0x59882f>=0x0;_0x59882f--)(_0xc33764=_0x1c089a[_0x59882f])&&(_0x1de980=_0xc33764(_0x1de980)||_0x1de980);return _0x1de980;},Ne=(_0x5a9822,_0xd0bc83)=>(_0x1900dd,_0x14fb87)=>_0xd0bc83(_0x1900dd,_0x14fb87,_0x5a9822);let Z=class{constructor(_0x1b4563,_0xda5836){const _0x2417d1=_0x4a9aaf;this['_injector']=_0x1b4563,this[_0x2417d1(0x29f)]=_0xda5836;}[_0x4a9aaf(0x339)](_0x5cb105){const _0x2beeca=_0x4a9aaf;var _0x36858e;const _0x37fe77=this[_0x2beeca(0x372)][_0x2beeca(0x1ea)](Y[_0x2beeca(0x15d)]),_0x5c4e6a=(_0x36858e=_0x37fe77[_0x2beeca(0x17f)]())!=null?_0x36858e:[];if(_0x5c4e6a[_0x2beeca(0x1bc)]===0x0)return;const _0x565054=_0x5cb105['unitID'],_0x423b65=[{'id':_0x2beeca(0x2ec),'params':{'unitId':_0x565054,'actions':null,'textRanges':_0x5c4e6a}}],_0xd72a22=this['_transformService'][_0x2beeca(0x106)](_0x5cb105,_0x423b65);if(!m[_0x2beeca(0x340)](_0xd72a22))throw _0xd72a22[_0x2beeca(0x33b)];const _0x1e3b42=_0xd72a22[_0x2beeca(0x360)][0x0][_0x2beeca(0x209)][_0x2beeca(0x2bb)];Array[_0x2beeca(0x2c6)](_0x1e3b42)&&_0x1e3b42[_0x2beeca(0x1bc)]&&_0x37fe77[_0x2beeca(0x11c)](_0x1e3b42,{'unitId':_0x565054,'subUnitId':_0x565054},!0x1);}};Z=Wt([Ne(0x0,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0x4a9aaf(0x36e)],Xt=(_0x5090b3,_0x5a8d8b,_0x24065f,_0x45dd11)=>{const _0x245013=_0x4a9aaf;for(var _0x57198f=_0x45dd11>0x1?void 0x0:_0x45dd11?Vt(_0x5a8d8b,_0x24065f):_0x5a8d8b,_0x28c177=_0x5090b3[_0x245013(0x1bc)]-0x1,_0x49c47e;_0x28c177>=0x0;_0x28c177--)(_0x49c47e=_0x5090b3[_0x28c177])&&(_0x57198f=_0x49c47e(_0x57198f)||_0x57198f);return _0x57198f;},N=(_0x151259,_0x587f70)=>(_0x1e6430,_0x4d121e)=>_0x587f70(_0x1e6430,_0x4d121e,_0x151259);let Q=class extends a[_0x4a9aaf(0x149)]{constructor(_0x35d953,_0x3663fc,_0x2a97ff,_0x45230e,_0xa3bd72,_0x1a6e86,_0x54ce40,_0x592f80){const _0xb6f52d=_0x4a9aaf;super(),h(this,_0xb6f52d(0x2cb),new d[(_0xb6f52d(0x172))](u[_0xb6f52d(0x2be)][_0xb6f52d(0x33e)])),(this['_docStateChangeManagerService']=_0x35d953,this[_0xb6f52d(0x2a1)]=_0x3663fc,this[_0xb6f52d(0x2bc)]=_0x2a97ff,this['_docTransformStateCacheService']=_0x45230e,this['_docTransformSelectionsService']=_0xa3bd72,this[_0xb6f52d(0x159)]=_0x1a6e86,this[_0xb6f52d(0x134)]=_0x54ce40,this['_localeService']=_0x592f80,this[_0xb6f52d(0x388)]());}[_0x4a9aaf(0x388)](){const _0xb38e67=_0x4a9aaf;this[_0xb38e67(0x2db)](this[_0xb38e67(0x2a1)]['entityInit$']['subscribe'](_0x35dc8c=>{const _0x6537b3=_0xb38e67,_0x168805=this[_0x6537b3(0x1a7)][_0x6537b3(0x375)][_0x6537b3(0x251)](_0x34c534=>{const _0x363164=_0x6537b3;if(_0x34c534==null)return;const {unitId:_0x54db74,redoState:_0x1b5fd4,commandId:_0xe7485f}=_0x34c534;if(_0x54db74!==_0x35dc8c['unitID'])return;const _0x1bc52e={'id':_0xe7485f,'type':a[_0x363164(0x101)]['MUTATION'],'params':{'unitId':_0x54db74,'actions':_0x1b5fd4[_0x363164(0x257)],'textRanges':null}};_0x35dc8c[_0x363164(0x183)](_0x1bc52e);});if(_0x35dc8c['disposeWithMe'](_0x168805),_0x35dc8c instanceof u['DocCollaborationEntity']){const _0x38fb71={'onTransformIME':_0x2e1055=>this['_docTransformIMECacheService']['transformIMECache'](_0x2e1055),'onTransformState':_0x20bcaa=>this[_0x6537b3(0x284)][_0x6537b3(0x1e2)](_0x20bcaa),'onTransformSelections':_0x9723be=>this[_0x6537b3(0x312)]['transformSelections'](_0x9723be),'onSyncEditingCollabCursor':_0xd3b98f=>this[_0x6537b3(0x159)][_0x6537b3(0x15b)](_0xd3b98f),'onTransformRemoteChangesetByIMECache':_0x431099=>this[_0x6537b3(0x2bc)][_0x6537b3(0x135)](_0x431099),'onTransformRemoteChangesetByStateCache':_0x1c5194=>this[_0x6537b3(0x284)][_0x6537b3(0x135)](_0x1c5194)};_0x35dc8c['addHandlerCallback'](_0x38fb71);}}));}};Q=Xt([N(0x0,a['Inject'](b['DocStateChangeManagerService'])),N(0x1,a[_0x4a9aaf(0x301)](u['CollaborationController'])),N(0x2,a[_0x4a9aaf(0x301)](z)),N(0x3,a[_0x4a9aaf(0x301)](J)),N(0x4,a[_0x4a9aaf(0x301)](Z)),N(0x5,a[_0x4a9aaf(0x301)](Ce)),N(0x6,T[_0x4a9aaf(0x2a4)]),N(0x7,a[_0x4a9aaf(0x301)](a['LocaleService']))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x2b10d4,_0x3ec25a,_0x12a5a9,_0x3b599c)=>{const _0x35e3df=_0x4a9aaf;for(var _0x4563bf=_0x3b599c>0x1?void 0x0:_0x3b599c?Gt(_0x3ec25a,_0x12a5a9):_0x3ec25a,_0x27ebad=_0x2b10d4[_0x35e3df(0x1bc)]-0x1,_0x2d67bd;_0x27ebad>=0x0;_0x27ebad--)(_0x2d67bd=_0x2b10d4[_0x27ebad])&&(_0x4563bf=_0x2d67bd(_0x4563bf)||_0x4563bf);return _0x4563bf;},_e=(_0x21d56f,_0x472676)=>(_0x5701ea,_0x291f2e)=>_0x472676(_0x5701ea,_0x291f2e,_0x21d56f);let ge=class extends a[_0x4a9aaf(0x149)]{constructor(_0x58cc65,_0x100c2d,_0x406c17){const _0x262be5=_0x4a9aaf;super(),h(this,_0x262be5(0x19d),new Map()),h(this,_0x262be5(0x2ac),new Map()),h(this,_0x262be5(0x2cf),!0x1),(this['_configService']=_0x58cc65,this[_0x262be5(0x1c3)]=_0x100c2d,this[_0x262be5(0x205)]=_0x406c17);}[_0x4a9aaf(0x247)](){this['_disabled']=!0x0;}[_0x4a9aaf(0x314)](){const _0x2d762d=_0x4a9aaf;this[_0x2d762d(0x2cf)]=!0x1;}get[_0x4a9aaf(0x1b0)](){const _0x3d0fc5=_0x4a9aaf;return this[_0x3d0fc5(0x2ac)];}[_0x4a9aaf(0x362)](){const _0x3823db=_0x4a9aaf;this[_0x3823db(0x286)]()[_0x3823db(0x38a)](()=>super['dispose']());}async['loadOfflineData'](_0x415007){const _0x17025b=_0x4a9aaf;return this[_0x17025b(0x2cf)]?null:this[_0x17025b(0x1c3)][_0x17025b(0x2c7)](u[_0x17025b(0x363)](_0x415007));}async['saveOfflineData'](_0xc5f27e,_0x4bc338){const _0x3b3d56=_0x4a9aaf;return!!this[_0x3b3d56(0x1c3)][_0x3b3d56(0x171)](_0xc5f27e,_0x4bc338);}[_0x4a9aaf(0x130)](_0x43b623,_0x112232,_0x3e62ba,_0x4803c3){const _0x402b5a=_0x4a9aaf,_0x351d11=this[_0x402b5a(0x205)][_0x402b5a(0x1bd)](_0x43b623);this[_0x402b5a(0x19d)]['set'](_0x43b623,{'unitID':_0x43b623,'type':_0x112232,'awaitingChangeset':_0x3e62ba,'mutations':_0x4803c3,'rev':_0x351d11}),this[_0x402b5a(0x2ac)][_0x402b5a(0x1d1)](_0x43b623)||this['_scheduleSaving'](_0x43b623);}[_0x4a9aaf(0x336)](_0x11f6cd){const _0x647d0f=_0x4a9aaf,_0x2bbf83=this[_0x647d0f(0x1f8)]();_0x2bbf83===0x0?this['_saveCache'](_0x11f6cd):this[_0x647d0f(0x2ac)][_0x647d0f(0x2b0)](_0x11f6cd,setTimeout(()=>this[_0x647d0f(0x35e)](_0x11f6cd),_0x2bbf83));}[_0x4a9aaf(0x1f8)](){const _0x3dcfc0=_0x4a9aaf;var _0x183f60;return(_0x183f60=this['_configService'][_0x3dcfc0(0x2dc)](u[_0x3dcfc0(0x14d)]))!=null?_0x183f60:u[_0x3dcfc0(0x37d)];}[_0x4a9aaf(0x35e)](_0x5b9cac){const _0xa98148=_0x4a9aaf,_0x17b830=this[_0xa98148(0x2ac)][_0xa98148(0x1ea)](_0x5b9cac);return _0x17b830!==void 0x0&&window[_0xa98148(0x368)](_0x17b830),this[_0xa98148(0x1c3)][_0xa98148(0x171)](u[_0xa98148(0x363)](_0x5b9cac),this[_0xa98148(0x19d)][_0xa98148(0x1ea)](_0x5b9cac))[_0xa98148(0x38a)](()=>this['_saveTaskMap'][_0xa98148(0x1f0)](_0x5b9cac));}async[_0x4a9aaf(0x286)](){const _0x1cc5c0=_0x4a9aaf,_0x5055a0=[];this[_0x1cc5c0(0x2ac)][_0x1cc5c0(0x2ad)]((_0x51a6aa,_0x70999d)=>{const _0x209124=_0x1cc5c0;window[_0x209124(0x368)](_0x51a6aa),_0x5055a0['push'](this[_0x209124(0x35e)](_0x70999d)['then'](()=>{const _0x1fb773=_0x209124;this[_0x1fb773(0x2ac)][_0x1fb773(0x1f0)](_0x70999d);}));}),await Promise[_0x1cc5c0(0x2ea)](_0x5055a0);}};ge=Kt([_e(0x0,a[_0x4a9aaf(0x2e3)]),_e(0x1,a[_0x4a9aaf(0x295)]),_e(0x2,a['Inject'](m[_0x4a9aaf(0x2e1)]))],ge);class je extends a[_0x4a9aaf(0x1dd)]{constructor(){const _0xaf5342=_0x4a9aaf;super(),h(this,_0xaf5342(0x2a5)),this[_0xaf5342(0x2a5)]=d[_0xaf5342(0x35f)](window,_0xaf5342(0x220))['pipe'](d[_0xaf5342(0x376)](this['dispose$']),d[_0xaf5342(0x1b2)](0x1),d[_0xaf5342(0x194)](void 0x0));}[_0x4a9aaf(0x294)](_0x43baf2,_0x5044e6,_0xede55b=!0x1){const _0x206177=_0x4a9aaf,_0x332356=new URL(window[_0x206177(0x19e)][_0x206177(0x319)]);_0x332356[_0x206177(0x24e)][_0x206177(0x2b0)](_0x43baf2,_0x5044e6),_0xede55b?window[_0x206177(0x34b)][_0x206177(0x1ba)]('','',_0x332356[_0x206177(0x385)]()):window['history']['pushState']('','',_0x332356[_0x206177(0x385)]());}[_0x4a9aaf(0x2d6)](_0x46bdd4,_0x1db732=!0x1){const _0x1f6d49=_0x4a9aaf,_0x315e93=new URL(window[_0x1f6d49(0x19e)][_0x1f6d49(0x319)]);_0x315e93[_0x1f6d49(0x24e)]['delete'](_0x46bdd4),_0x1db732?window[_0x1f6d49(0x34b)][_0x1f6d49(0x1ba)]('','',_0x315e93[_0x1f6d49(0x385)]()):window[_0x1f6d49(0x34b)][_0x1f6d49(0xf5)]('','',_0x315e93[_0x1f6d49(0x385)]());}['getParam'](_0x8e4e7){const _0x2f710f=_0x4a9aaf;var _0x9ced2c;return(_0x9ced2c=new URL(window[_0x2f710f(0x19e)]['href'])[_0x2f710f(0x24e)][_0x2f710f(0x1ea)](_0x8e4e7))!=null?_0x9ced2c:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x4a9aaf(0x36e)],Jt=(_0x3ab1f1,_0x5c223c,_0x50f863)=>_0x5c223c in _0x3ab1f1?qt(_0x3ab1f1,_0x5c223c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f863}):_0x3ab1f1[_0x5c223c]=_0x50f863,Zt=(_0x5294fe,_0x46ea8b,_0x39502a,_0x38ddb7)=>{for(var _0x1dad1a=_0x38ddb7>0x1?void 0x0:_0x38ddb7?zt(_0x46ea8b,_0x39502a):_0x46ea8b,_0x2a0c4c=_0x5294fe['length']-0x1,_0x5ae870;_0x2a0c4c>=0x0;_0x2a0c4c--)(_0x5ae870=_0x5294fe[_0x2a0c4c])&&(_0x1dad1a=_0x5ae870(_0x1dad1a)||_0x1dad1a);return _0x1dad1a;},he=(_0xd30034,_0x156947)=>(_0x21dd77,_0x5e2f6f)=>_0x156947(_0x21dd77,_0x5e2f6f,_0xd30034),Qt=(_0x9c7d16,_0x40428d,_0x7c8d2b)=>Jt(_0x9c7d16,_0x40428d+'',_0x7c8d2b);const es=_0x4a9aaf(0x342);exports[_0x4a9aaf(0x2b2)]=class extends a['Plugin']{constructor(_0xd12b84=Ue,_0x1d2d13,_0x3c41e8,_0x32b103){const _0x4aec64=_0x4a9aaf;super(),this[_0x4aec64(0x160)]=_0xd12b84,this[_0x4aec64(0x24a)]=_0x1d2d13,this[_0x4aec64(0x372)]=_0x3c41e8,this['_configService']=_0x32b103;const {..._0x65293b}=a[_0x4aec64(0x2c0)]({},Ue,this[_0x4aec64(0x160)]);this[_0x4aec64(0x2f0)][_0x4aec64(0x2f6)]($t,_0x65293b);}[_0x4a9aaf(0x231)](){const _0x1ad0a8=_0x4a9aaf;this[_0x1ad0a8(0x215)](),this['_initDependencies']();}[_0x4a9aaf(0x25a)](){const _0x5b6b55=_0x4a9aaf;this[_0x5b6b55(0x140)]();}[_0x4a9aaf(0x215)](){const _0x39b92d=_0x4a9aaf;var _0x9051af;const _0x35c56b=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x39b92d(0x186)],{'useClass':G[_0x39b92d(0x1cd)]}],[u[_0x39b92d(0x21b)],{'useClass':ge}],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x39b92d(0x145)](this[_0x39b92d(0x372)],a['mergeOverrideWithDependencies'](_0x35c56b,(_0x9051af=this['_config'])==null?void 0x0:_0x9051af[_0x39b92d(0x332)]));}[_0x4a9aaf(0x140)](){const _0x22a4ab=_0x4a9aaf;this['disposeWithMe'](this['_renderManagerService'][_0x22a4ab(0x105)](a[_0x22a4ab(0x389)][_0x22a4ab(0xff)],[Ie])),this['disposeWithMe'](this['_renderManagerService'][_0x22a4ab(0x105)](a[_0x22a4ab(0x389)][_0x22a4ab(0x278)],[ve]));}[_0x4a9aaf(0x36d)](){const _0x91c5c3=_0x4a9aaf;a[_0x91c5c3(0x15f)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x91c5c3(0x191)]]]);}},Qt(exports[_0x4a9aaf(0x2b2)],_0x4a9aaf(0x20c),es),exports[_0x4a9aaf(0x2b2)]=Zt([a[_0x4a9aaf(0x31a)](u[_0x4a9aaf(0x13d)]),he(0x1,p[_0x4a9aaf(0x2c8)]),he(0x2,a[_0x4a9aaf(0x301)](a['Injector'])),he(0x3,a[_0x4a9aaf(0x2e3)])],exports[_0x4a9aaf(0x2b2)]);var ts=Object[_0x4a9aaf(0x36e)],ss=(_0x186fd3,_0x5a847e,_0x2a310a,_0x4b38f5)=>{const _0x34180c=_0x4a9aaf;for(var _0x20d111=_0x4b38f5>0x1?void 0x0:_0x4b38f5?ts(_0x5a847e,_0x2a310a):_0x5a847e,_0xc7a630=_0x186fd3[_0x34180c(0x1bc)]-0x1,_0x202665;_0xc7a630>=0x0;_0xc7a630--)(_0x202665=_0x186fd3[_0xc7a630])&&(_0x20d111=_0x202665(_0x20d111)||_0x20d111);return _0x20d111;},F=(_0xff7989,_0x130048)=>(_0x5e66ad,_0x5f2cbf)=>_0x130048(_0x5e66ad,_0x5f2cbf,_0xff7989);exports[_0x4a9aaf(0x374)]=class extends u[_0x4a9aaf(0x163)]{constructor(_0x29b987,_0x30a74f,_0x33bf65,_0x34317c,_0x908c8a){super(_0x29b987,_0x30a74f,_0x33bf65,_0x34317c,_0x908c8a);}async[_0x4a9aaf(0x109)](_0x44ecbe){const _0x3c4c3e=_0x4a9aaf,_0x2222ca=await this['_getSessionTicket'](),_0x48adb1=this[_0x3c4c3e(0x203)](_0x44ecbe,_0x2222ca);return this[_0x3c4c3e(0x13a)](_0x48adb1);}['_createSocketURL'](_0x2504a4,_0x240b8b){const _0x21eb9b=_0x4a9aaf,_0x4488a3=typeof window>'u'?new URL(_0x2504a4):new URL(_0x2504a4,window['location'][_0x21eb9b(0x29e)]);_0x4488a3[_0x21eb9b(0x24e)][_0x21eb9b(0x2b0)](_0x21eb9b(0x32f),_0x240b8b);const _0x3ed088=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21eb9b(0x19e)][_0x21eb9b(0x2fa)]);return _0x3ed088['get'](_0x21eb9b(0x21f))&&_0x4488a3[_0x21eb9b(0x24e)][_0x21eb9b(0x2b0)](_0x21eb9b(0x21f),_0x3ed088[_0x21eb9b(0x1ea)](_0x21eb9b(0x21f))),_0x4488a3[_0x21eb9b(0x385)]();}async[_0x4a9aaf(0x26f)](){const _0x35f34f=_0x4a9aaf;var _0x92c5e0,_0x1ae1db,_0x41e618;const _0x5130b1=this[_0x35f34f(0x2f0)][_0x35f34f(0x2dc)](u[_0x35f34f(0x22c)]),_0x1a23c7=(_0x92c5e0=_0x5130b1==null?void 0x0:_0x5130b1[_0x35f34f(0x31d)])!=null?_0x92c5e0:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x41e618=(_0x1ae1db=(await this['_httpService'][_0x35f34f(0x1ea)](_0x1a23c7,{'headers':{'Content-Type':_0x35f34f(0x32b)}}))[_0x35f34f(0x2f9)])==null?void 0x0:_0x1ae1db[_0x35f34f(0x1bf)])!=null?_0x41e618:'';}},exports[_0x4a9aaf(0x374)]=ss([F(0x0,a[_0x4a9aaf(0x301)](a[_0x4a9aaf(0x1cf)])),F(0x1,a[_0x4a9aaf(0x301)](G[_0x4a9aaf(0x1e5)])),F(0x2,a[_0x4a9aaf(0x2e3)]),F(0x3,a[_0x4a9aaf(0x296)]),F(0x4,m['ISnapshotServerService'])],exports[_0x4a9aaf(0x374)]);const Me=0x7530,Le=_0x4a9aaf(0x233);class is extends a['Disposable']{constructor(){const _0x2c319a=_0x4a9aaf;super(),h(this,_0x2c319a(0x20f),a[_0x2c319a(0x323)]()),h(this,_0x2c319a(0x1b9),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x2c319a(0x188),null),h(this,_0x2c319a(0x26b),new Map()),h(this,'_unitStatus',new Map()),this[_0x2c319a(0x123)]();}[_0x4a9aaf(0x362)](){const _0x2962b7=_0x4a9aaf;super[_0x2962b7(0x362)](),this[_0x2962b7(0x26b)][_0x2962b7(0x2ad)]((_0x1a22c4,_0x377675)=>this[_0x2962b7(0x33d)](_0x377675)),this[_0x2962b7(0x188)]&&window['clearInterval'](this[_0x2962b7(0x188)]);}['getUnitStatus$'](_0x138b41){const _0x5c7bf6=_0x4a9aaf;return this['_ensureSubject'](_0x138b41)[_0x5c7bf6(0x10b)](d[_0x5c7bf6(0x1fb)]());}[_0x4a9aaf(0x29b)](_0x54e517){const _0x2189b2=_0x4a9aaf;this[_0x2189b2(0x1b9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x2189b2(0x1b9)][_0x2189b2(0x1ce)](_0x54e517),this['_send']({'type':0x0,'memberID':this[_0x2189b2(0x20f)],'unitIDs':[_0x54e517],'isForwarded':!0x1});}[_0x4a9aaf(0x218)](_0x313525){const _0x56f0c9=_0x4a9aaf;this['_selfUnitIDs'][_0x56f0c9(0x1f0)](_0x313525),this[_0x56f0c9(0x1b9)][_0x56f0c9(0x352)]===0x0&&this['_heartbeatTimer']&&window[_0x56f0c9(0x1f6)](this[_0x56f0c9(0x188)]);}['_init'](){const _0x446608=_0x4a9aaf;this[_0x446608(0x2db)](a[_0x446608(0x10a)](d[_0x446608(0x35f)](window,_0x446608(0x2bf))[_0x446608(0x251)](_0x34628d=>{const _0x4fbc3a=_0x446608;if(_0x34628d['key']!==Le||!_0x34628d[_0x4fbc3a(0x30d)])return;const _0x3f7f3e=JSON[_0x4fbc3a(0x2cd)](_0x34628d[_0x4fbc3a(0x30d)]);this[_0x4fbc3a(0x14c)](_0x3f7f3e);}))),window[_0x446608(0x290)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x446608(0x20f)],'unitIDs':Array[_0x446608(0x37e)](this[_0x446608(0x1b9)])}));}['_handleEvent'](_0x109e9d){const _0x1a4228=_0x4a9aaf;switch(_0x109e9d[_0x1a4228(0x103)]){case 0x0:this['_handleJoinEvent'](_0x109e9d);break;case 0x1:this[_0x1a4228(0x1eb)](_0x109e9d);break;case 0x2:this[_0x1a4228(0x2ba)](_0x109e9d);break;}}[_0x4a9aaf(0x1c0)](_0x19faa4){const _0x2cad94=_0x4a9aaf,{unitIDs:_0x3ad9b7,memberID:_0x468a4f,isForwarded:_0x4abcba}=_0x19faa4;_0x3ad9b7['forEach'](_0x4b8e11=>{const _0x1897ee=_0x7693;if(!_0x4abcba&&this[_0x1897ee(0x2b6)][_0x1897ee(0x1d1)](_0x4b8e11)&&this[_0x1897ee(0x317)](_0x4b8e11)['next'](u[_0x1897ee(0x1d5)][_0x1897ee(0x327)]),!this[_0x1897ee(0x2b6)][_0x1897ee(0x1d1)](_0x4b8e11)||!this[_0x1897ee(0x2b6)][_0x1897ee(0x1ea)](_0x4b8e11)[_0x1897ee(0x1d1)](_0x468a4f)){const _0x1135ed=this[_0x1897ee(0x2b6)][_0x1897ee(0x1ea)](_0x4b8e11)||new Set();_0x1135ed[_0x1897ee(0x1ce)](_0x468a4f),this[_0x1897ee(0x2b6)]['set'](_0x4b8e11,_0x1135ed),this[_0x1897ee(0x204)](_0x468a4f);}}),_0x4abcba||this[_0x2cad94(0x221)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4a9aaf(0x204)](_0x41b265){const _0x28660b=_0x4a9aaf;this['_removeClearOtherTimer'](_0x41b265);const _0xa13100=window['setTimeout'](()=>{const _0x5a0420=_0x7693;this[_0x5a0420(0x2b6)]['forEach'](_0x3bd41e=>{_0x3bd41e['delete'](_0x41b265);});},Me*0x2);this[_0x28660b(0x26b)][_0x28660b(0x2b0)](_0x41b265,_0xa13100);}['_removeClearOtherTimer'](_0x6d2ec1){const _0x245a21=_0x4a9aaf;if(this['_clearOtherTimers'][_0x245a21(0x1d1)](_0x6d2ec1)){const _0x4cc580=this[_0x245a21(0x26b)][_0x245a21(0x1ea)](_0x6d2ec1);_0x4cc580&&window[_0x245a21(0x368)](_0x4cc580),this[_0x245a21(0x26b)][_0x245a21(0x2b0)](_0x6d2ec1,null);}}[_0x4a9aaf(0x1eb)](_0x2c91c8){const _0x2b0973=_0x4a9aaf,{memberID:_0x143b78,unitIDs:_0x11b68b}=_0x2c91c8;_0x11b68b[_0x2b0973(0x2ad)](_0x43550e=>{const _0x30fb37=_0x2b0973;var _0x5c31ec;const _0x636cae=this[_0x30fb37(0x2b6)][_0x30fb37(0x1ea)](_0x43550e);_0x636cae&&(_0x636cae[_0x30fb37(0x1f0)](_0x143b78),(_0x5c31ec=this[_0x30fb37(0x317)](_0x43550e))==null||_0x5c31ec['next'](_0x636cae[_0x30fb37(0x352)]===0x0?u[_0x30fb37(0x1d5)][_0x30fb37(0x2b4)]:u[_0x30fb37(0x1d5)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x143b78);}[_0x4a9aaf(0x2ba)](_0x1a8cf3){this['_scheduleClearOtherTimer'](_0x1a8cf3['memberID']);}[_0x4a9aaf(0x221)](_0x5d6b56){const _0x30cc56=_0x4a9aaf;localStorage[_0x30cc56(0x171)](Le,JSON[_0x30cc56(0x117)](_0x5d6b56));}[_0x4a9aaf(0x22d)](){const _0x129859=_0x4a9aaf;this[_0x129859(0x188)]=window[_0x129859(0x2ca)](()=>{const _0x53ded0=_0x129859;this[_0x53ded0(0x221)]({'type':0x2,'memberID':this[_0x53ded0(0x20f)]});},Me);}[_0x4a9aaf(0x317)](_0xac4c44){const _0x54b0c5=_0x4a9aaf;return this['_unitStatus'][_0x54b0c5(0x1d1)](_0xac4c44)||this[_0x54b0c5(0x240)][_0x54b0c5(0x2b0)](_0xac4c44,new d[(_0x54b0c5(0x172))](u[_0x54b0c5(0x1d5)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x54b0c5(0x240)][_0x54b0c5(0x1ea)](_0xac4c44);}}var Be=(_0x3feece=>(_0x3feece[_0x3feece[_0x4a9aaf(0x308)]=0x0]=_0x4a9aaf(0x308),_0x3feece[_0x3feece['OK']=0x1]='OK',_0x3feece[_0x3feece[_0x4a9aaf(0x2dd)]=0x2]=_0x4a9aaf(0x2dd),_0x3feece[_0x3feece['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3feece[_0x3feece[_0x4a9aaf(0x214)]=0x4]=_0x4a9aaf(0x214),_0x3feece[_0x3feece['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3feece[_0x3feece['ALREADY_EXISTS']=0x6]=_0x4a9aaf(0x1f2),_0x3feece[_0x3feece[_0x4a9aaf(0x142)]=0x7]=_0x4a9aaf(0x142),_0x3feece[_0x3feece[_0x4a9aaf(0x31e)]=0x8]=_0x4a9aaf(0x31e),_0x3feece[_0x3feece[_0x4a9aaf(0x2f2)]=0x9]=_0x4a9aaf(0x2f2),_0x3feece[_0x3feece['LOGIN_FAILED']=0xa]=_0x4a9aaf(0x19a),_0x3feece[_0x3feece['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4a9aaf(0x1da),_0x3feece[_0x3feece[_0x4a9aaf(0x16b)]=0x1771]=_0x4a9aaf(0x16b),_0x3feece[_0x3feece[_0x4a9aaf(0x1c6)]=0x1772]=_0x4a9aaf(0x1c6),_0x3feece[_0x3feece[_0x4a9aaf(0x212)]=0x1773]=_0x4a9aaf(0x212),_0x3feece[_0x3feece['APPLY_REJECT']=0x1b59]=_0x4a9aaf(0x1f1),_0x3feece[_0x3feece[_0x4a9aaf(0x274)]=0x1b5a]=_0x4a9aaf(0x274),_0x3feece[_0x3feece[_0x4a9aaf(0x115)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3feece[_0x3feece[_0x4a9aaf(0x107)]=0x1b5c]=_0x4a9aaf(0x107),_0x3feece[_0x3feece[_0x4a9aaf(0x1c5)]=0x1b5d]='APPLY_DUPLICATED',_0x3feece[_0x3feece['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4a9aaf(0x272),_0x3feece[_0x3feece[_0x4a9aaf(0x17b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3feece[_0x3feece['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4a9aaf(0x297),_0x3feece[_0x3feece['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a9aaf(0x136),_0x3feece[_0x3feece[_0x4a9aaf(0x282)]=0x232c]=_0x4a9aaf(0x282),_0x3feece[_0x3feece['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x3feece[_0x3feece['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a9aaf(0x13c),_0x3feece[_0x3feece[_0x4a9aaf(0x1b3)]=0x2712]=_0x4a9aaf(0x1b3),_0x3feece[_0x3feece[_0x4a9aaf(0x377)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3feece[_0x3feece[_0x4a9aaf(0x27a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3feece[_0x3feece[_0x4a9aaf(0x22a)]=0x271a]=_0x4a9aaf(0x22a),_0x3feece[_0x3feece[_0x4a9aaf(0x10e)]=0x271b]=_0x4a9aaf(0x10e),_0x3feece[_0x3feece['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4a9aaf(0x378),_0x3feece[_0x3feece[_0x4a9aaf(0x138)]=0x271d]=_0x4a9aaf(0x138),_0x3feece[_0x3feece[_0x4a9aaf(0x28e)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3feece[_0x3feece[_0x4a9aaf(0x1cb)]=0x271f]=_0x4a9aaf(0x1cb),_0x3feece[_0x3feece['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4a9aaf(0x122),_0x3feece[_0x3feece[_0x4a9aaf(0x1b7)]=0x2ee1]=_0x4a9aaf(0x1b7),_0x3feece[_0x3feece[_0x4a9aaf(0x349)]=0x2ee2]=_0x4a9aaf(0x349),_0x3feece[_0x3feece[_0x4a9aaf(0x2e9)]=0x2ee3]=_0x4a9aaf(0x2e9),_0x3feece[_0x3feece['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4a9aaf(0x27d),_0x3feece[_0x3feece[_0x4a9aaf(0x255)]=0x2ee5]=_0x4a9aaf(0x255),_0x3feece[_0x3feece[_0x4a9aaf(0x1a6)]=0x32c9]=_0x4a9aaf(0x1a6),_0x3feece[_0x3feece[_0x4a9aaf(0x358)]=0x32ca]=_0x4a9aaf(0x358),_0x3feece[_0x3feece[_0x4a9aaf(0x2d8)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3feece[_0x3feece[_0x4a9aaf(0x252)]=-0x1]=_0x4a9aaf(0x252),_0x3feece))(Be||{}),ns=Object[_0x4a9aaf(0x36e)],rs=(_0x38eb4a,_0x285e89,_0x15ebab,_0x241cc8)=>{const _0x137898=_0x4a9aaf;for(var _0xffad1f=_0x241cc8>0x1?void 0x0:_0x241cc8?ns(_0x285e89,_0x15ebab):_0x285e89,_0x5a5a09=_0x38eb4a[_0x137898(0x1bc)]-0x1,_0xd6f46d;_0x5a5a09>=0x0;_0x5a5a09--)(_0xd6f46d=_0x38eb4a[_0x5a5a09])&&(_0xffad1f=_0xd6f46d(_0xffad1f)||_0xffad1f);return _0xffad1f;},ue=(_0x42e57c,_0x57dbe8)=>(_0x4f0124,_0x3e802f)=>_0x57dbe8(_0x4f0124,_0x3e802f,_0x42e57c);exports[_0x4a9aaf(0x383)]=class extends a[_0x4a9aaf(0x149)]{constructor(_0x170096,_0x16ce67,_0x2a331e){const _0x62bcef=_0x4a9aaf;super(),this['_instanceService']=_0x170096,this[_0x62bcef(0x34c)]=_0x16ce67,this[_0x62bcef(0x2f0)]=_0x2a331e;}async['runOnServer'](_0x5a5242,_0x2eaef4,_0x4d0c91,..._0x3afc77){const _0x3e68c8=_0x4a9aaf;var _0x3be8b3,_0x5e9c70,_0x2f73dc,_0x1efaa7;const _0x4e7524=this['_instanceService']['getFocusedUnit']();if(!_0x4e7524)throw new Error(_0x3e68c8(0x249));const _0x1873c7=((_0x3be8b3=this[_0x3e68c8(0x2f0)][_0x3e68c8(0x2dc)](u[_0x3e68c8(0xf7)]))!=null?_0x3be8b3:u[_0x3e68c8(0x2b9)])+'/'+_0x5a5242+_0x3e68c8(0x292)+_0x2eaef4,_0x337799=new URL(window[_0x3e68c8(0x19e)][_0x3e68c8(0x319)]),_0x3a751b={'scriptId':_0x5a5242,'runId':(_0x5e9c70=_0x337799['searchParams'][_0x3e68c8(0x1ea)](_0x3e68c8(0x21f)))!=null?_0x5e9c70:'','function':_0x2eaef4,'unitId':_0x4e7524[_0x3e68c8(0x182)](),'argsOfFunction':JSON[_0x3e68c8(0x117)](_0x3afc77),'invokeId':(_0x2f73dc=_0x4d0c91[_0x3e68c8(0x28d)])!=null?_0x2f73dc:'','executionId':(_0x1efaa7=_0x4d0c91['executionId'])!=null?_0x1efaa7:''};try{const _0xa7b6e0=await this[_0x3e68c8(0x34c)][_0x3e68c8(0x305)](_0x1873c7,{'body':_0x3a751b});return _0xa7b6e0[_0x3e68c8(0x2f9)][_0x3e68c8(0x33b)]&&_0xa7b6e0[_0x3e68c8(0x2f9)][_0x3e68c8(0x33b)][_0x3e68c8(0x345)]!==Be['OK']?_0x3e68c8(0x1ad):_0xa7b6e0[_0x3e68c8(0x2f9)][_0x3e68c8(0x1ca)];}catch{return _0x3e68c8(0x1ad);}}},exports[_0x4a9aaf(0x383)]=rs([ue(0x0,a[_0x4a9aaf(0x216)]),ue(0x1,a[_0x4a9aaf(0x301)](G[_0x4a9aaf(0x1e5)])),ue(0x2,a[_0x4a9aaf(0x2e3)])],exports[_0x4a9aaf(0x383)]),exports[_0x4a9aaf(0x21a)]=xe,exports[_0x4a9aaf(0x1ee)]=be,exports[_0x4a9aaf(0x1c1)]=Pe,exports[_0x4a9aaf(0x37c)]=is,exports[_0x4a9aaf(0x127)]=je;
@@ -1 +1 @@
1
- 'use strict';const _0x1f6e4a=_0x1d57;(function(_0x23d647,_0x18f4b1){const _0x4105e8=_0x1d57,_0x4c9779=_0x23d647();while(!![]){try{const _0x3b9ae0=parseInt(_0x4105e8(0xcb))/0x1+parseInt(_0x4105e8(0xc8))/0x2+parseInt(_0x4105e8(0xcd))/0x3*(-parseInt(_0x4105e8(0xd5))/0x4)+parseInt(_0x4105e8(0xc9))/0x5+-parseInt(_0x4105e8(0xd1))/0x6*(parseInt(_0x4105e8(0xc4))/0x7)+parseInt(_0x4105e8(0xcf))/0x8+parseInt(_0x4105e8(0xcc))/0x9*(-parseInt(_0x4105e8(0xd3))/0xa);if(_0x3b9ae0===_0x18f4b1)break;else _0x4c9779['push'](_0x4c9779['shift']());}catch(_0x4e8c3d){_0x4c9779['push'](_0x4c9779['shift']());}}}(_0x1ea3,0x7ef06));const e={'collab-client':{'tooltip':{'reconnect':_0x1f6e4a(0xd2)}},'collabStatus':{'fetchMiss':_0x1f6e4a(0xd0),'conflict':'Edit\x20conflicts','notCollab':_0x1f6e4a(0xd6),'synced':_0x1f6e4a(0xc2),'syncing':'Syncing...','offline':_0x1f6e4a(0xce)},'session':{'connection-failed':_0x1f6e4a(0xca),'will-retry':_0x1f6e4a(0xd7),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x1f6e4a(0xc5),'content':_0x1f6e4a(0xd4)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x1f6e4a(0xc7)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1f6e4a(0xc3)}};module[_0x1f6e4a(0xc6)]=e;function _0x1d57(_0x11e448,_0x5eb598){const _0x1ea388=_0x1ea3();return _0x1d57=function(_0x1d57f8,_0x4e832d){_0x1d57f8=_0x1d57f8-0xc2;let _0x154564=_0x1ea388[_0x1d57f8];return _0x154564;},_0x1d57(_0x11e448,_0x5eb598);}function _0x1ea3(){const _0x32db0c=['exports','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','639862bRIaxX','2717645AMXOMP','Connection\x20failed,\x20please\x20check\x20your\x20network.','753452NCVozk','10971cShSMF','1330572vNSJLz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6376632uoGOUn','Syncing\x20server\x20data...','307566DKduGO','Click\x20to\x20Reconnect','4330IcGBIe','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','4NpaHEV','Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','126mRsJLn','Collaboration\x20Conflict'];_0x1ea3=function(){return _0x32db0c;};return _0x1ea3();}
1
+ 'use strict';const _0x306a15=_0x5b83;function _0x5b83(_0x5519b2,_0x18754f){const _0x155cb6=_0x155c();return _0x5b83=function(_0x5b83ac,_0x4b18bb){_0x5b83ac=_0x5b83ac-0x177;let _0x1e9864=_0x155cb6[_0x5b83ac];return _0x1e9864;},_0x5b83(_0x5519b2,_0x18754f);}function _0x155c(){const _0x22cd27=['28668QEjdci','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','123sJokdV','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','Syncing...','Syncing\x20server\x20data...','Authentication\x20Error','26996YEEaoM','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1616568vpNnsp','202331ftaxzA','4270cAHNMT','210ivZGEz','612290nToQWP','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','243218RThCNV','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6066wRQQpS','exports','Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x155c=function(){return _0x22cd27;};return _0x155c();}(function(_0x316d64,_0x22458c){const _0x2a7aad=_0x5b83,_0x362da9=_0x316d64();while(!![]){try{const _0x32dc2c=parseInt(_0x2a7aad(0x187))/0x1+parseInt(_0x2a7aad(0x18c))/0x2+-parseInt(_0x2a7aad(0x17e))/0x3*(parseInt(_0x2a7aad(0x184))/0x4)+-parseInt(_0x2a7aad(0x18a))/0x5+parseInt(_0x2a7aad(0x17a))/0x6*(parseInt(_0x2a7aad(0x189))/0x7)+-parseInt(_0x2a7aad(0x186))/0x8+-parseInt(_0x2a7aad(0x190))/0x9*(-parseInt(_0x2a7aad(0x188))/0xa);if(_0x32dc2c===_0x22458c)break;else _0x362da9['push'](_0x362da9['shift']());}catch(_0x2ea289){_0x362da9['push'](_0x362da9['shift']());}}}(_0x155c,0x258f0));const e={'collab-client':{'tooltip':{'reconnect':_0x306a15(0x18e)}},'collabStatus':{'fetchMiss':_0x306a15(0x182),'conflict':'Edit\x20conflicts','notCollab':_0x306a15(0x178),'synced':'Synced','syncing':_0x306a15(0x181),'offline':_0x306a15(0x17d)},'session':{'connection-failed':_0x306a15(0x18d),'will-retry':_0x306a15(0x17f),'room-full':_0x306a15(0x17b),'collaboration-timeout':_0x306a15(0x179)},'conflict':{'title':_0x306a15(0x180),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x306a15(0x183),'content':_0x306a15(0x18f)},'collaboration':{'single-unit':{'warning':_0x306a15(0x17c)},'closeRoom':_0x306a15(0x185)},'auth':{'needGotoLoginAlert':_0x306a15(0x18b)}};module[_0x306a15(0x177)]=e;