@univerjs-pro/collaboration-client-ui 0.6.3 → 0.6.4-nightly.202503111607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x532497=_0x39d3;(function(_0x2d92e2,_0x5665bf){const _0x3fbb24=_0x39d3,_0x14c1b3=_0x2d92e2();while(!![]){try{const _0x115245=parseInt(_0x3fbb24(0xa1))/0x1*(-parseInt(_0x3fbb24(0x99))/0x2)+parseInt(_0x3fbb24(0x9d))/0x3*(parseInt(_0x3fbb24(0xa0))/0x4)+-parseInt(_0x3fbb24(0x9f))/0x5+-parseInt(_0x3fbb24(0x9c))/0x6*(-parseInt(_0x3fbb24(0xa6))/0x7)+-parseInt(_0x3fbb24(0xa7))/0x8+-parseInt(_0x3fbb24(0xa4))/0x9*(-parseInt(_0x3fbb24(0xa8))/0xa)+-parseInt(_0x3fbb24(0x9e))/0xb;if(_0x115245===_0x5665bf)break;else _0x14c1b3['push'](_0x14c1b3['shift']());}catch(_0x227807){_0x14c1b3['push'](_0x14c1b3['shift']());}}}(_0x77cb,0xa63fb));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x532497(0x9a));function _0x77cb(){const _0x62e42b=['4976XyFJMO','@univerjs/core/facade','runOnServer','876cXsMiY','2799471hTYuEu','12276671oGngHe','328865vQYtNg','4JjWUJU','109KJudgN','_injector','FUniver','2942721oYiTXu','extend','44093zSgfCt','2982144vwciZg','20lGcRtS'];_0x77cb=function(){return _0x62e42b;};return _0x77cb();}function _0x39d3(_0x48ab62,_0xc266f5){const _0x77cb54=_0x77cb();return _0x39d3=function(_0x39d37e,_0xf3ffb7){_0x39d37e=_0x39d37e-0x99;let _0x3d019=_0x77cb54[_0x39d37e];return _0x3d019;},_0x39d3(_0x48ab62,_0xc266f5);}class c extends e[_0x532497(0xa3)]{[_0x532497(0x9b)](_0x1ecae3,_0x3c5245,..._0x368018){const _0x1d55be=_0x532497;return this[_0x1d55be(0xa2)]['get'](t['RemoteUniscriptService'])['runOnServer'](_0x1ecae3,_0x3c5245,{},..._0x368018);}}e[_0x532497(0xa3)][_0x532497(0xa5)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x114f12=_0x7083;function _0x7083(_0x312793,_0x359a0e){const _0x46c80b=_0x46c8();return _0x7083=function(_0x708385,_0x2a84a0){_0x708385=_0x708385-0x142;let _0x41df07=_0x46c80b[_0x708385];return _0x41df07;},_0x7083(_0x312793,_0x359a0e);}(function(_0x53c7f3,_0x539307){const _0x3ce03d=_0x7083,_0xa41b3=_0x53c7f3();while(!![]){try{const _0x364858=parseInt(_0x3ce03d(0x2ff))/0x1*(-parseInt(_0x3ce03d(0x21c))/0x2)+parseInt(_0x3ce03d(0x37e))/0x3+parseInt(_0x3ce03d(0x308))/0x4+parseInt(_0x3ce03d(0x1aa))/0x5+-parseInt(_0x3ce03d(0x31d))/0x6+-parseInt(_0x3ce03d(0x175))/0x7*(parseInt(_0x3ce03d(0x2ec))/0x8)+-parseInt(_0x3ce03d(0x302))/0x9;if(_0x364858===_0x539307)break;else _0xa41b3['push'](_0xa41b3['shift']());}catch(_0x5743bd){_0xa41b3['push'](_0xa41b3['shift']());}}}(_0x46c8,0xd175f));var Ve=Object[_0x114f12(0x283)],Ge=(_0x5cf16b,_0x2096f8,_0x5e14fc)=>_0x2096f8 in _0x5cf16b?Ve(_0x5cf16b,_0x2096f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e14fc}):_0x5cf16b[_0x2096f8]=_0x5e14fc,h=(_0x15763f,_0x1a6b13,_0x43f9d4)=>Ge(_0x15763f,typeof _0x1a6b13!='symbol'?_0x1a6b13+'':_0x1a6b13,_0x43f9d4);Object[_0x114f12(0x283)](exports,Symbol['toStringTag'],{'value':_0x114f12(0x3b0)});const u=require(_0x114f12(0x19d)),a=require(_0x114f12(0x23a)),p=require(_0x114f12(0x16c)),q=require(_0x114f12(0x2c6)),b=require(_0x114f12(0x199)),qe=require(_0x114f12(0x1e3)),d=require(_0x114f12(0x1ad)),Y=require(_0x114f12(0x1a4)),m=require(_0x114f12(0x30c)),Te=require('@univerjs/engine-formula'),I=require(_0x114f12(0x316)),$=require(_0x114f12(0x257)),G=require('@univerjs/sheets-ui'),w=require(_0x114f12(0x2dc)),R=require('@univerjs/ui'),T=require(_0x114f12(0x1a8)),P=require('react'),Ke=require(_0x114f12(0x342));var ze=Object[_0x114f12(0x358)],Je=(_0x1da828,_0x38520b,_0x3d608f,_0x44f9bf)=>{const _0x29dba1=_0x114f12;for(var _0x31b5c9=_0x44f9bf>0x1?void 0x0:_0x44f9bf?ze(_0x38520b,_0x3d608f):_0x38520b,_0x54f5f4=_0x1da828[_0x29dba1(0x200)]-0x1,_0x5e4486;_0x54f5f4>=0x0;_0x54f5f4--)(_0x5e4486=_0x1da828[_0x54f5f4])&&(_0x31b5c9=_0x5e4486(_0x31b5c9)||_0x31b5c9);return _0x31b5c9;},Re=(_0x310ddb,_0x45fc50)=>(_0x486716,_0xbd7c8e)=>_0x45fc50(_0x486716,_0xbd7c8e,_0x310ddb);let fe=class extends a[_0x114f12(0x1de)]{constructor(_0x431c66,_0x3a3ee6){const _0x419d8f=_0x114f12;super(),this[_0x419d8f(0x2ca)]=_0x431c66,this['_imageIoService']=_0x3a3ee6,this[_0x419d8f(0x1f3)]();}[_0x114f12(0x1f3)](){const _0x202e92=_0x114f12,_0x3c3742=this;this[_0x202e92(0x19c)](this[_0x202e92(0x2ca)][_0x202e92(0x220)]({'onBeforePasteImage':async _0x37f8f4=>{const _0x6c2370=_0x202e92,_0xc8f01d=await _0x3c3742[_0x6c2370(0x30a)]['saveImage'](_0x37f8f4);return _0xc8f01d?{'source':_0xc8f01d[_0x6c2370(0x259)],'imageSourceType':_0xc8f01d['imageSourceType']}:null;}}));}};fe=Je([Re(0x0,b[_0x114f12(0x1f2)]),Re(0x1,qe['IImageIoService'])],fe);const Oe=['purple300',_0x114f12(0x314),_0x114f12(0x223),_0x114f12(0x1bd),'blue400',_0x114f12(0x39f)];class Ce extends a[_0x114f12(0x22e)]{constructor(){const _0x43dfed=_0x114f12;super(...arguments),h(this,_0x43dfed(0x180),new Map()),h(this,_0x43dfed(0x251),0x0);}[_0x114f12(0x30f)](_0x5089d5){const _0x140ab8=_0x114f12;if(this[_0x140ab8(0x180)][_0x140ab8(0x3bc)](_0x5089d5))return this[_0x140ab8(0x180)]['get'](_0x5089d5);const _0x55acc1=Oe[this['_colorIndex']];return this[_0x140ab8(0x251)]=(this[_0x140ab8(0x251)]+0x1)%Oe['length'],this[_0x140ab8(0x180)]['set'](_0x5089d5,_0x55acc1),_0x55acc1;}}function Le(_0x27e14a){let _0x4efd5f='';for(const _0x992067 of _0x27e14a){const {startOffset:_0x3e2319,endOffset:_0x590cfe,isActive:_0x28bc28,rangeType:_0x2ab53f,segmentId:_0x283a53,segmentPage:_0x354fc0}=_0x992067;_0x4efd5f['length']&&(_0x4efd5f+=','),_0x4efd5f+=_0x3e2319+':'+_0x590cfe+':'+(_0x28bc28?'1':'0')+':'+_0x2ab53f+':'+_0x283a53+':'+_0x354fc0;}return _0x4efd5f;}function Ze(_0x5ad32){const _0x3825db=_0x114f12,_0x46895d=_0x5ad32[_0x3825db(0x274)](','),_0x177791=[];for(const _0x1954db of _0x46895d){const [_0x9cf51a,_0x2774e8,_0x24d5f3,_0x4986e3,_0x147260,_0x181813]=_0x1954db[_0x3825db(0x274)](':');_0x177791['push']({'startOffset':Number(_0x9cf51a),'endOffset':Number(_0x2774e8),'collapsed':_0x9cf51a===_0x2774e8,'isActive':_0x24d5f3==='1','rangeType':_0x4986e3===a['DOC_RANGE_TYPE'][_0x3825db(0x27e)]?a[_0x3825db(0x2ab)][_0x3825db(0x27e)]:a[_0x3825db(0x2ab)][_0x3825db(0x2fa)],'segmentId':typeof _0x147260=='string'?String(_0x147260):'','segmentPage':Number(_0x181813!=null?_0x181813:-0x1)});}return _0x177791[_0x3825db(0x179)](_0x3ad045=>_0x3ad045[_0x3825db(0x361)])||(_0x177791[0x0][_0x3825db(0x361)]=!0x0),_0x177791;}class pe extends a[_0x114f12(0x1de)]{constructor(){const _0x3f69ab=_0x114f12;super(...arguments),h(this,_0x3f69ab(0x287),new d['BehaviorSubject'](null)),h(this,_0x3f69ab(0x233),this[_0x3f69ab(0x287)]['asObservable']());}[_0x114f12(0x37d)](_0x13cdfd){const _0x3e7ba0=_0x114f12,{unitID:_0x495b7d,memberID:_0x493073,textRanges:_0x225f8a}=_0x13cdfd,_0x16e77e=Le(_0x225f8a);if(_0x16e77e==='')return;const _0x344ff4={'unitID':_0x495b7d,'memberID':_0x493073,'selection':_0x16e77e};this[_0x3e7ba0(0x287)][_0x3e7ba0(0x157)](_0x344ff4);}}var Qe=Object[_0x114f12(0x358)],et=(_0x449550,_0x577be7,_0x4e9023,_0x57e4b1)=>{const _0x1f12bd=_0x114f12;for(var _0x584e2e=_0x57e4b1>0x1?void 0x0:_0x57e4b1?Qe(_0x577be7,_0x4e9023):_0x577be7,_0x596dd3=_0x449550[_0x1f12bd(0x200)]-0x1,_0x50c861;_0x596dd3>=0x0;_0x596dd3--)(_0x50c861=_0x449550[_0x596dd3])&&(_0x584e2e=_0x50c861(_0x584e2e)||_0x584e2e);return _0x584e2e;},N=(_0x2c3f67,_0x2d2284)=>(_0x1374ef,_0x2ba0e8)=>_0x2d2284(_0x1374ef,_0x2ba0e8,_0x2c3f67);const tt=0x12c,st=0x64;let Se=class extends a[_0x114f12(0x1de)]{constructor(_0x33b385,_0x5abc06,_0xba1636,_0x152d21,_0x38aaae,_0x2fbe72,_0x5bbee2,_0x2b1c10,_0x5d7429){const _0x4fe631=_0x114f12;super(),h(this,'_online',!0x1),h(this,_0x4fe631(0x1f3),!0x1),h(this,_0x4fe631(0x23c),new d[(_0x4fe631(0x38e))](new Map())),h(this,_0x4fe631(0x2ae),this[_0x4fe631(0x23c)][_0x4fe631(0x158)]()),h(this,_0x4fe631(0x36a),new d[(_0x4fe631(0x38e))]([])),h(this,_0x4fe631(0x1cb),this[_0x4fe631(0x36a)][_0x4fe631(0x3bb)](d['debounceTime'](tt))),h(this,'_updateLocalCursor',a[_0x4fe631(0x239)](_0x7b3567=>{const _0x4fff24=_0x4fe631,_0x2309da={'eventID':m[_0x4fff24(0x25f)][_0x4fff24(0x35e)],'data':{'unitID':this[_0x4fff24(0x26c)],'memberID':this[_0x4fff24(0x381)]['getMemberID'](),'selection':Le(_0x7b3567)}};this[_0x4fff24(0x381)]['send'](_0x2309da,this['unitID']);},st)),(this['unitID']=_0x33b385,this[_0x4fe631(0x381)]=_0x5abc06,this[_0x4fe631(0x39b)]=_0xba1636,this[_0x4fe631(0x1a3)]=_0x152d21,this[_0x4fe631(0x1a0)]=_0x38aaae,this['_syncEditingCollabCursorService']=_0x2fbe72,this[_0x4fe631(0x372)]=_0x5bbee2,this[_0x4fe631(0x288)]=_0x2b1c10,this[_0x4fe631(0x395)]=_0x5d7429);}get[_0x114f12(0x1a6)](){const _0x9d0d21=_0x114f12;return this[_0x9d0d21(0x23c)]['getValue']();}get[_0x114f12(0x194)](){const _0x589164=_0x114f12;return this['_roomMembers$'][_0x589164(0x397)]();}[_0x114f12(0x2bc)](){const _0x5a3bd7=_0x114f12;super[_0x5a3bd7(0x2bc)](),this[_0x5a3bd7(0x23c)]['next'](new Map()),this[_0x5a3bd7(0x23c)]['complete'](),this[_0x5a3bd7(0x36a)][_0x5a3bd7(0x157)]([]),this[_0x5a3bd7(0x36a)][_0x5a3bd7(0x34f)]();}[_0x114f12(0x345)](){const _0xfa6f56=_0x114f12;this[_0xfa6f56(0x1f3)]||(this[_0xfa6f56(0x1f3)]=!0x0,this[_0xfa6f56(0x381)][_0xfa6f56(0x344)][_0xfa6f56(0x3bb)](d['takeUntil'](this[_0xfa6f56(0x350)]))[_0xfa6f56(0x2d5)](_0x430fab=>{const _0x41c0ee=_0xfa6f56;_0x430fab===u[_0x41c0ee(0x389)]['ONLINE']?this[_0x41c0ee(0x329)]():this['_toggleOffline']();}),this['_session'][_0xfa6f56(0x2b0)][_0xfa6f56(0x3bb)](d[_0xfa6f56(0x23f)](this[_0xfa6f56(0x350)]))[_0xfa6f56(0x2d5)](_0x548254=>{const _0x4d6b85=_0xfa6f56,_0x4de430=_0x548254[_0x4d6b85(0x2ba)];_0x4de430===m[_0x4d6b85(0x25f)][_0x4d6b85(0x35e)]&&this[_0x4d6b85(0x1d0)](_0x548254),_0x4de430===m['CollaborationEvent'][_0x4d6b85(0x252)]&&this[_0x4d6b85(0x219)](_0x548254);}),this['disposeWithMe'](this[_0xfa6f56(0x395)][_0xfa6f56(0x1a7)](_0x5935e9=>{const _0x594de0=_0xfa6f56,_0x3ca873=_0x5935e9['params'];_0x3ca873!=null&&this[_0x594de0(0x21a)]&&_0x5935e9['id']===Y[_0x594de0(0x2a1)]['id']&&_0x3ca873[_0x594de0(0x163)]===this[_0x594de0(0x26c)]&&_0x3ca873[_0x594de0(0x2ea)]===!0x1&&_0x3ca873[_0x594de0(0x393)]['length']>0x0&&this[_0x594de0(0x2e4)](_0x3ca873[_0x594de0(0x393)]);})),this[_0xfa6f56(0x35d)][_0xfa6f56(0x233)][_0xfa6f56(0x3bb)](d['takeUntil'](this[_0xfa6f56(0x350)]))['subscribe'](_0x109d51=>{const _0x489eb4=_0xfa6f56;if((_0x109d51==null?void 0x0:_0x109d51['unitID'])!==this[_0x489eb4(0x26c)])return;const _0x3018f6={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x109d51};this['_onCursorUpdate'](_0x3018f6);}),this[_0xfa6f56(0x19c)](this['_commandService'][_0xfa6f56(0x1a7)](_0x2c1052=>{const _0x17f01a=_0xfa6f56;if(_0x2c1052[_0x17f01a(0x1e4)]==null)return;const _0x38130a=_0x2c1052['params'];if(_0x2c1052['id']!==Y['RichTextEditingMutation']['id']||_0x38130a[_0x17f01a(0x163)]!==this[_0x17f01a(0x26c)])return;const _0xa523fc={'id':_0x17f01a(0x36e),'params':_0x38130a},_0x38795e=this['cursorInfo'];for(const [_0x6fcb29,_0x512f27]of _0x38795e){const _0x1884a1={'id':_0x17f01a(0x36e),'params':{'unitId':this[_0x17f01a(0x26c)],'actions':null,'textRanges':_0x512f27[_0x17f01a(0x393)]}},_0x16aceb=this[_0x17f01a(0x372)][_0x17f01a(0x3b6)](_0xa523fc,_0x1884a1,!0x1);if(m['isTransformMutationFailure'](_0x16aceb))throw _0x16aceb[_0x17f01a(0x154)];_0x38795e[_0x17f01a(0x2a3)](_0x6fcb29,{..._0x512f27,'ranges':_0x16aceb[_0x17f01a(0x208)][_0x17f01a(0x1e4)][_0x17f01a(0x315)]});}queueMicrotask(()=>{const _0x3a7423=_0x17f01a;this[_0x3a7423(0x23c)]['next'](_0x38795e);});})));}[_0x114f12(0x1d0)](_0x351971){const _0x37f29f=_0x114f12;var _0x1b3372,_0x327536;const {memberID:_0x26f5bb,selection:_0xca71c4}=_0x351971[_0x37f29f(0x174)],_0x3bcc6a=Ze(_0xca71c4),_0x45944a=(_0x327536=(_0x1b3372=this[_0x37f29f(0x1a0)][_0x37f29f(0x143)](this[_0x37f29f(0x26c)],_0x26f5bb))==null?void 0x0:_0x1b3372[_0x37f29f(0x17a)])!=null?_0x327536:'Unknown\x20user',_0x1d65a5={'color':this[_0x37f29f(0x1a3)][_0x37f29f(0x30f)](_0x26f5bb),'name':_0x45944a,'ranges':_0x3bcc6a},_0x277c10=this['cursorInfo'];_0x277c10['set'](_0x26f5bb,_0x1d65a5),this[_0x37f29f(0x23c)]['next'](_0x277c10);}[_0x114f12(0x219)](_0xed2795){const _0x51936c=_0x114f12,{memberID:_0x495c0f}=_0xed2795[_0x51936c(0x174)],_0x4c608a=this[_0x51936c(0x1a6)];_0x4c608a[_0x51936c(0x14c)](_0x495c0f),this[_0x51936c(0x23c)][_0x51936c(0x157)](_0x4c608a);}[_0x114f12(0x329)](){const _0x26dbfb=_0x114f12;var _0x292606;if(this[_0x26dbfb(0x21a)]=!0x0,((_0x292606=this[_0x26dbfb(0x288)][_0x26dbfb(0x24c)]())==null?void 0x0:_0x292606[_0x26dbfb(0x1f1)]())!==this[_0x26dbfb(0x26c)])return;const _0x207c83=this[_0x26dbfb(0x39b)][_0x26dbfb(0x221)](Y[_0x26dbfb(0x36c)])[_0x26dbfb(0x22b)]();Array[_0x26dbfb(0x17b)](_0x207c83)&&_0x207c83[_0x26dbfb(0x200)]>0x0&&this[_0x26dbfb(0x2e4)](_0x207c83);}['_toggleOffline'](){const _0x220f4d=_0x114f12;this[_0x220f4d(0x21a)]=!0x1;}};Se=et([N(0x2,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),N(0x3,a[_0x114f12(0x2fe)](Ce)),N(0x4,a['Inject'](u[_0x114f12(0x1fd)])),N(0x5,a[_0x114f12(0x2fe)](pe)),N(0x6,m[_0x114f12(0x226)]),N(0x7,a[_0x114f12(0x182)]),N(0x8,a[_0x114f12(0x318)])],Se);var nt=Object[_0x114f12(0x358)],it=(_0x6459f4,_0x5b9901,_0x568c7d,_0x37de63)=>{const _0x2cfb53=_0x114f12;for(var _0x5bbb74=_0x37de63>0x1?void 0x0:_0x37de63?nt(_0x5b9901,_0x568c7d):_0x5b9901,_0x4d5039=_0x6459f4[_0x2cfb53(0x200)]-0x1,_0x24ddd5;_0x4d5039>=0x0;_0x4d5039--)(_0x24ddd5=_0x6459f4[_0x4d5039])&&(_0x5bbb74=_0x24ddd5(_0x5bbb74)||_0x5bbb74);return _0x5bbb74;},y=(_0x1f92ce,_0x3787ba)=>(_0x1e1ac5,_0x30b676)=>_0x3787ba(_0x1e1ac5,_0x30b676,_0x1f92ce);const rt=0x12c,ot=0x64,at=()=>{let _0x5aa698=[],_0x5a3590=!0x1;return _0x37936b=>{const _0x2029d2=_0x7083;_0x5aa698[_0x2029d2(0x32e)](_0x37936b),_0x5a3590||(_0x5a3590=!0x0,setTimeout(()=>{const _0x47a9ae=_0x2029d2;_0x5aa698[_0x47a9ae(0x341)](_0x3797a4=>_0x3797a4()),_0x5aa698=[],_0x5a3590=!0x1;}));};};let ve=class extends a[_0x114f12(0x1de)]{constructor(_0x1f793f,_0x86dd8d,_0x410182,_0x5ac236,_0x5d441e,_0x3c970a,_0x3ddaee,_0x3ade6e){const _0x4bc849=_0x114f12;super(),h(this,_0x4bc849(0x21a),!0x1),h(this,'_init',!0x1),h(this,_0x4bc849(0x23c),new d[(_0x4bc849(0x38e))](new Map())),h(this,'cursorInfo$',this[_0x4bc849(0x23c)]['asObservable']()),h(this,_0x4bc849(0x36a),new d[(_0x4bc849(0x38e))]([])),h(this,_0x4bc849(0x1cb),this['_roomMembers$'][_0x4bc849(0x3bb)](d['debounceTime'](rt))),h(this,'_updateLocalCursor',a[_0x4bc849(0x239)]((_0x560518,_0x5381d8)=>{const _0x1a85a4=_0x4bc849,_0x47fcde={'eventID':m[_0x1a85a4(0x25f)][_0x1a85a4(0x35e)],'data':{'unitID':this[_0x1a85a4(0x26c)],'memberID':this[_0x1a85a4(0x381)][_0x1a85a4(0x231)](),'selection':Te[_0x1a85a4(0x3a0)](_0x560518,_0x5381d8[_0x1a85a4(0x1e8)])}};this[_0x1a85a4(0x381)]['send'](_0x47fcde,this['unitID']);},ot)),(this[_0x4bc849(0x26c)]=_0x1f793f,this[_0x4bc849(0x381)]=_0x86dd8d,this[_0x4bc849(0x39b)]=_0x410182,this[_0x4bc849(0x1a3)]=_0x5ac236,this[_0x4bc849(0x1a0)]=_0x5d441e,this[_0x4bc849(0x288)]=_0x3c970a,this[_0x4bc849(0x395)]=_0x3ddaee,this[_0x4bc849(0x1ee)]=_0x3ade6e);}get[_0x114f12(0x1a6)](){const _0x48d7c3=_0x114f12;return this['_cursorInfo$'][_0x48d7c3(0x397)]();}get[_0x114f12(0x194)](){return this['_roomMembers$']['getValue']();}[_0x114f12(0x2bc)](){const _0x2a1ad6=_0x114f12;super['dispose'](),this['_cursorInfo$'][_0x2a1ad6(0x157)](new Map()),this[_0x2a1ad6(0x23c)]['complete'](),this[_0x2a1ad6(0x36a)][_0x2a1ad6(0x157)]([]),this['_roomMembers$'][_0x2a1ad6(0x34f)]();}[_0x114f12(0x345)](){const _0x4f7f8b=_0x114f12;this[_0x4f7f8b(0x1f3)]||(this[_0x4f7f8b(0x1f3)]=!0x0,this[_0x4f7f8b(0x381)][_0x4f7f8b(0x344)][_0x4f7f8b(0x3bb)](d[_0x4f7f8b(0x23f)](this[_0x4f7f8b(0x350)]))['subscribe'](_0x51b246=>{const _0x5f06f1=_0x4f7f8b;_0x51b246===u[_0x5f06f1(0x389)][_0x5f06f1(0x34e)]?this[_0x5f06f1(0x329)]():this[_0x5f06f1(0x28a)]();}),this[_0x4f7f8b(0x381)][_0x4f7f8b(0x2b0)]['pipe'](d[_0x4f7f8b(0x23f)](this[_0x4f7f8b(0x350)]))[_0x4f7f8b(0x2d5)](_0x47eb11=>{const _0xaa3f28=_0x4f7f8b,_0x5b2e53=_0x47eb11[_0xaa3f28(0x2ba)];_0x5b2e53===m['CollaborationEvent'][_0xaa3f28(0x35e)]&&this[_0xaa3f28(0x1d0)](_0x47eb11),_0x5b2e53===m[_0xaa3f28(0x25f)][_0xaa3f28(0x252)]&&this[_0xaa3f28(0x219)](_0x47eb11);}),this['_onRefRangeChange'](),this[_0x4f7f8b(0x19c)](this[_0x4f7f8b(0x395)][_0x4f7f8b(0x1a7)](_0x56a069=>{const _0x2d6c00=_0x4f7f8b;if(this['_online']&&_0x56a069['id']===I[_0x2d6c00(0x382)]['id']&&_0x56a069['params'][_0x2d6c00(0x163)]===this['unitID']){const _0x850f8d=_0x56a069[_0x2d6c00(0x1e4)];this['_updateLocalCursor'](_0x850f8d[_0x2d6c00(0x171)],_0x850f8d['selections'][0x0]);}})));}[_0x114f12(0x1d0)](_0x467b66){const _0x3093e1=_0x114f12;var _0x1ff01f,_0x4f2d9f;const {memberID:_0x841551,selection:_0x2edbb8}=_0x467b66[_0x3093e1(0x174)],{sheetName:_0x371a0b,range:_0x5e63a2}=Te[_0x3093e1(0x222)](_0x2edbb8),_0x3fb3c4={'name':(_0x4f2d9f=(_0x1ff01f=this[_0x3093e1(0x1a0)][_0x3093e1(0x143)](this[_0x3093e1(0x26c)],_0x841551))==null?void 0x0:_0x1ff01f[_0x3093e1(0x17a)])!=null?_0x4f2d9f:_0x3093e1(0x2b6),'range':this['_getMergeRange'](_0x371a0b,_0x5e63a2),'sheetID':_0x371a0b,'color':this[_0x3093e1(0x1a3)]['assignAColorForMemberID'](_0x841551),'selection':_0x2edbb8},_0x5dd575=this[_0x3093e1(0x1a6)];_0x5dd575['set'](_0x841551,_0x3fb3c4),this['_cursorInfo$']['next'](_0x5dd575);}[_0x114f12(0x219)](_0x4c5422){const _0x12c882=_0x114f12,{memberID:_0x5bea39}=_0x4c5422['data'],_0x72c54f=this[_0x12c882(0x1a6)];_0x72c54f[_0x12c882(0x14c)](_0x5bea39),this[_0x12c882(0x23c)][_0x12c882(0x157)](_0x72c54f);}['_getMergeRange'](_0x2a5030,_0x51970d){const _0x2dc808=_0x114f12;var _0x44f518,_0x17b9e2;const _0x4cb0ea=(_0x17b9e2=(_0x44f518=this[_0x2dc808(0x288)][_0x2dc808(0x2b2)](this['unitID']))==null?void 0x0:_0x44f518[_0x2dc808(0x177)](_0x2a5030))==null?void 0x0:_0x17b9e2[_0x2dc808(0x247)]();return(_0x4cb0ea==null?void 0x0:_0x4cb0ea[_0x2dc808(0x2b7)](_0x59b0be=>a[_0x2dc808(0x23b)][_0x2dc808(0x3ad)](_0x59b0be,_0x51970d)))||_0x51970d;}[_0x114f12(0x20d)](){const _0x3b2da0=_0x114f12,_0x345990=new a['DisposableCollection'](),_0x1738f9=at(),_0x501271=()=>{const _0x4a9362=_0x7083;_0x345990[_0x4a9362(0x2bc)]();const _0x304f45=(_0x37569d,_0xdbfbd0,_0x1f00e0,_0x3ef7fe)=>{const _0xdf39bb=_0x4a9362;let _0x52f0cd=[];switch(_0x37569d['id']){case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x392)]:{_0x52f0cd=I[_0xdf39bb(0x293)](_0x37569d,_0x3ef7fe);break;}case I['EffectRefRangId'][_0xdf39bb(0x367)]:{_0x52f0cd=I[_0xdf39bb(0x255)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x1a2)]:{_0x52f0cd=I[_0xdf39bb(0x2f2)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x32c)]:{_0x52f0cd=I[_0xdf39bb(0x2d7)](_0x37569d,_0x3ef7fe);break;}case I['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x52f0cd=I[_0xdf39bb(0x275)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x2c7)]:{_0x52f0cd=I[_0xdf39bb(0x355)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x2e2)]:{_0x52f0cd=I[_0xdf39bb(0x30d)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x160)]:{_0x52f0cd=I[_0xdf39bb(0x2f8)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x22a)]:{_0x52f0cd=I[_0xdf39bb(0x227)](_0x37569d,_0x3ef7fe);break;}}const _0x198dea=I[_0xdf39bb(0x1b4)](_0x52f0cd,_0x3ef7fe),_0x5ba7f3=this[_0xdf39bb(0x1a6)][_0xdf39bb(0x221)](_0xdbfbd0);if(_0x5ba7f3&&_0x198dea){const _0x19ca0e={..._0x5ba7f3,'range':_0x198dea};this[_0xdf39bb(0x1a6)]['set'](_0xdbfbd0,_0x19ca0e),_0x1738f9(()=>{const _0x3183d1=_0xdf39bb,_0x4caf16=this[_0x3183d1(0x1ee)]['registerRefRange'](_0x198dea,_0x5cd20b=>(_0x4caf16[_0x3183d1(0x2bc)](),_0x304f45(_0x5cd20b,_0xdbfbd0,_0x1f00e0,_0x198dea)));_0x345990[_0x3183d1(0x2fc)](_0x4caf16);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x169ab6,_0x4d4e57)=>{const _0x10a625=_0x4a9362,{range:_0x445f8a,sheetID:_0x1e4444}=_0x169ab6,_0x57c82a=this[_0x10a625(0x1ee)]['registerRefRange'](_0x445f8a,_0x2df06e=>(_0x57c82a[_0x10a625(0x2bc)](),_0x304f45(_0x2df06e,_0x4d4e57,_0x1e4444,_0x445f8a)));_0x345990[_0x10a625(0x2fc)](_0x57c82a);});};this[_0x3b2da0(0x19c)](a[_0x3b2da0(0x286)](this[_0x3b2da0(0x23c)][_0x3b2da0(0x2d5)](()=>{_0x501271();})));}[_0x114f12(0x329)](){const _0x4ad433=_0x114f12;var _0x4b9d45,_0x5c5f4f;if(this[_0x4ad433(0x21a)]=!0x0,((_0x4b9d45=this['_univerInstanceService'][_0x4ad433(0x24c)]())==null?void 0x0:_0x4b9d45[_0x4ad433(0x1f1)]())!==this[_0x4ad433(0x26c)])return;const _0x17f6f6=(_0x5c5f4f=this[_0x4ad433(0x39b)]['get'](I[_0x4ad433(0x215)])[_0x4ad433(0x24b)]())==null?void 0x0:_0x5c5f4f[0x0],_0x22ebb6=this[_0x4ad433(0x288)]['getCurrentUnitForType'](a[_0x4ad433(0x307)][_0x4ad433(0x267)])[_0x4ad433(0x186)]();_0x17f6f6&&_0x22ebb6&&this[_0x4ad433(0x2e4)](_0x22ebb6[_0x4ad433(0x300)](),_0x17f6f6);}['_toggleOffline'](){this['_online']=!0x1;}};ve=it([y(0x2,a['Inject'](a[_0x114f12(0x203)])),y(0x3,a['Inject'](Ce)),y(0x4,a[_0x114f12(0x2fe)](u[_0x114f12(0x1fd)])),y(0x5,a[_0x114f12(0x182)]),y(0x6,a['ICommandService']),y(0x7,a[_0x114f12(0x2fe)](I[_0x114f12(0x343)]))],ve);var ct=Object[_0x114f12(0x358)],lt=(_0x2da158,_0x531416,_0x128d25,_0x14f710)=>{for(var _0xecd3c4=_0x14f710>0x1?void 0x0:_0x14f710?ct(_0x531416,_0x128d25):_0x531416,_0x525027=_0x2da158['length']-0x1,_0x122bfb;_0x525027>=0x0;_0x525027--)(_0x122bfb=_0x2da158[_0x525027])&&(_0xecd3c4=_0x122bfb(_0xecd3c4)||_0xecd3c4);return _0xecd3c4;},ie=(_0x4e10da,_0x296921)=>(_0x593600,_0x42156c)=>_0x296921(_0x593600,_0x42156c,_0x4e10da);let x=class extends a[_0x114f12(0x1de)]{constructor(_0x5992f1,_0x5a3545,_0x19b70a){const _0x76b368=_0x114f12;super(),h(this,_0x76b368(0x298),new Map()),h(this,_0x76b368(0x249),new d[(_0x76b368(0x214))]()),(this[_0x76b368(0x288)]=_0x5992f1,this[_0x76b368(0x39b)]=_0x5a3545,this[_0x76b368(0x1f5)]=_0x19b70a,this[_0x76b368(0x1f3)]());}[_0x114f12(0x2bc)](){const _0x53ae7a=_0x114f12;super[_0x53ae7a(0x2bc)](),this[_0x53ae7a(0x249)][_0x53ae7a(0x34f)](),this[_0x53ae7a(0x298)]['forEach'](_0x575108=>_0x575108[_0x53ae7a(0x2bc)]());}[_0x114f12(0x289)](_0x2fcfcd){const _0x4c8f71=_0x114f12;return this[_0x4c8f71(0x298)][_0x4c8f71(0x3bc)](_0x2fcfcd)?this['_entities'][_0x4c8f71(0x221)](_0x2fcfcd)['cursorInfo$']:this[_0x4c8f71(0x249)][_0x4c8f71(0x3bb)](d[_0x4c8f71(0x1ff)](_0x703621=>_0x703621[_0x4c8f71(0x26c)]===_0x2fcfcd),d[_0x4c8f71(0x167)](_0x25c465=>_0x25c465[_0x4c8f71(0x2ae)]));}[_0x114f12(0x1f3)](){const _0x34f202=_0x114f12;this['_univerInstanceService'][_0x34f202(0x333)](a[_0x34f202(0x307)]['UNIVER_SHEET'])[_0x34f202(0x3bb)](d['takeUntil'](this[_0x34f202(0x350)]))['subscribe'](async _0x13cb50=>{const _0x56cba7=_0x34f202,_0x47297f=_0x13cb50[_0x56cba7(0x1f1)](),_0x81071d=await this[_0x56cba7(0x204)](_0x47297f);this[_0x56cba7(0x249)][_0x56cba7(0x157)](_0x81071d),this[_0x56cba7(0x298)][_0x56cba7(0x2a3)](_0x47297f,_0x81071d);}),this[_0x34f202(0x288)][_0x34f202(0x333)](a[_0x34f202(0x307)][_0x34f202(0x240)])['pipe'](d[_0x34f202(0x23f)](this[_0x34f202(0x350)]))[_0x34f202(0x3bb)](d['filter'](_0xd24151=>!_0xd24151['getUnitId']()[_0x34f202(0x148)]('__')))[_0x34f202(0x2d5)](async _0x72a6a0=>{const _0x2754c1=_0x34f202,_0x58605b=_0x72a6a0[_0x2754c1(0x1f1)](),_0x2b32a0=await this[_0x2754c1(0x311)](_0x58605b);this[_0x2754c1(0x249)][_0x2754c1(0x157)](_0x2b32a0),this['_entities'][_0x2754c1(0x2a3)](_0x58605b,_0x2b32a0);}),d['merge'](this[_0x34f202(0x288)][_0x34f202(0x365)](a[_0x34f202(0x307)][_0x34f202(0x240)]),this[_0x34f202(0x288)][_0x34f202(0x365)](a[_0x34f202(0x307)][_0x34f202(0x267)]))[_0x34f202(0x3bb)](d[_0x34f202(0x23f)](this[_0x34f202(0x350)]))[_0x34f202(0x2d5)](_0x4e5ac1=>{const _0x2f5ffd=_0x34f202,_0x1f40c7=_0x4e5ac1[_0x2f5ffd(0x1f1)](),_0x1a0c33=this['_entities'][_0x2f5ffd(0x221)](_0x1f40c7);_0x1a0c33&&(_0x1a0c33[_0x2f5ffd(0x2bc)](),this[_0x2f5ffd(0x298)]['delete'](_0x1f40c7));});}async[_0x114f12(0x204)](_0x21ee7b){const _0x3969cd=_0x114f12,_0x416364=await this['_collabSessionService'][_0x3969cd(0x396)](_0x21ee7b),_0x451aea=this[_0x3969cd(0x39b)][_0x3969cd(0x325)](ve,_0x21ee7b,_0x416364);return _0x451aea[_0x3969cd(0x345)](),_0x451aea;}async[_0x114f12(0x311)](_0x560dd1){const _0x24f440=_0x114f12,_0x1d6053=await this[_0x24f440(0x1f5)][_0x24f440(0x396)](_0x560dd1),_0x153339=this[_0x24f440(0x39b)][_0x24f440(0x325)](Se,_0x560dd1,_0x1d6053);return _0x153339['init'](),_0x153339;}};x=lt([ie(0x0,a[_0x114f12(0x182)]),ie(0x1,a[_0x114f12(0x2fe)](a['Injector'])),ie(0x2,a['Inject'](u[_0x114f12(0x33c)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x164df3,_0x1f6af4){const _0x58cd6b=_0x114f12;let {radius:_0x4329be,width:_0x40f98b,height:_0x15d4b5}=_0x1f6af4;_0x4329be=_0x4329be!=null?_0x4329be:0x0,_0x40f98b=_0x40f98b!=null?_0x40f98b:0x1e,_0x15d4b5=_0x15d4b5!=null?_0x15d4b5:0x1e;let _0x463ccc=0x0,_0x4ba3a3=0x0,_0xe69071=0x0;_0x463ccc=_0x4ba3a3=_0xe69071=Math[_0x58cd6b(0x216)](_0x4329be,_0x40f98b/0x2,_0x15d4b5/0x2),_0x164df3['beginPath'](),_0x164df3[_0x58cd6b(0x248)](_0x463ccc,0x0),_0x164df3['lineTo'](_0x40f98b-_0x4ba3a3,0x0),_0x164df3[_0x58cd6b(0x2d4)](_0x40f98b-_0x4ba3a3,_0x4ba3a3,_0x4ba3a3,Math['PI']*0x3/0x2,0x0,!0x1),_0x164df3['lineTo'](_0x40f98b,_0x15d4b5-_0xe69071),_0x164df3[_0x58cd6b(0x2d4)](_0x40f98b-_0xe69071,_0x15d4b5-_0xe69071,_0xe69071,0x0,Math['PI']/0x2,!0x1),_0x164df3['lineTo'](0x0,_0x15d4b5),_0x164df3[_0x58cd6b(0x193)](0x0,_0x463ccc),_0x164df3[_0x58cd6b(0x2d4)](_0x463ccc,_0x463ccc,_0x463ccc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x164df3[_0x58cd6b(0x27d)](),_0x1f6af4[_0x58cd6b(0x2a9)]&&(_0x164df3[_0x58cd6b(0x278)](),_0x164df3['fillStyle']=_0x1f6af4[_0x58cd6b(0x2a9)],_0x1f6af4[_0x58cd6b(0x1e1)]==='evenodd'?_0x164df3['fill']('evenodd'):_0x164df3['fill'](),_0x164df3[_0x58cd6b(0x16e)]());}class te extends p[_0x114f12(0x14f)]{constructor(_0x182dc2,_0x10b4c5){const _0x4f3576=_0x114f12;super(_0x182dc2,_0x10b4c5),h(this,'color'),h(this,'text'),(this[_0x4f3576(0x3a9)]=_0x10b4c5==null?void 0x0:_0x10b4c5['color'],this[_0x4f3576(0x243)]=_0x10b4c5==null?void 0x0:_0x10b4c5[_0x4f3576(0x243)]);}static[_0x114f12(0x294)](_0x166e81,_0x40cc49){const _0x361b72=_0x114f12,{text:_0x21cb72,color:_0x1efc29}=_0x40cc49;_0x166e81[_0x361b72(0x278)](),_0x166e81[_0x361b72(0x165)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x208ac0=_0x166e81[_0x361b72(0x31a)](_0x21cb72)[_0x361b72(0x3ac)],_0x2643b4=Math[_0x361b72(0x216)](_0x208ac0+0x2*re,De);_t(_0x166e81,{'height':K,'radius':0x4,'width':_0x2643b4,'fill':_0x1efc29}),_0x166e81['fillStyle']=_0x361b72(0x277);const _0x370d42=re,_0x10611a=K-ht,_0x74c6a4=De-0x2*re;if(_0x208ac0>_0x74c6a4){let _0x34dc96='',_0x5d31ca=0x0;for(const _0x3a866a of _0x21cb72){const _0x56e124=_0x166e81[_0x361b72(0x31a)](_0x3a866a)[_0x361b72(0x3ac)];if(_0x5d31ca+_0x56e124<=_0x74c6a4-_0x166e81['measureText'](_0x361b72(0x3b1))[_0x361b72(0x3ac)])_0x34dc96+=_0x3a866a,_0x5d31ca+=_0x56e124;else{_0x34dc96+=_0x361b72(0x3b1);break;}}_0x166e81['fillText'](_0x34dc96,_0x370d42,_0x10611a);}else _0x166e81[_0x361b72(0x190)](_0x21cb72,_0x370d42,_0x10611a);_0x166e81[_0x361b72(0x16e)]();}[_0x114f12(0x3a4)](_0x5c2c13){const _0x91a74a=_0x114f12;te[_0x91a74a(0x294)](_0x5c2c13,this);}}const oe=_0x114f12(0x1c9),ut=_0x114f12(0x173),dt=_0x114f12(0x30b),B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x114f12(0x1c6);class Ue{constructor(_0x256bcd,_0x9dfc6f,_0x459d26,_0x52bc2f){const _0x3f2ed7=_0x114f12;h(this,'_shapes',[]),h(this,_0x3f2ed7(0x206),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,'_eventUnsubscribe',null),(this[_0x3f2ed7(0x2e0)]=_0x256bcd,this[_0x3f2ed7(0x378)]=_0x9dfc6f,this[_0x3f2ed7(0x33a)]=_0x459d26,this[_0x3f2ed7(0x25a)]=_0x52bc2f,this[_0x3f2ed7(0x25d)]());}set[_0x114f12(0x264)](_0x50f056){const _0x3eb8e7=_0x114f12;_0x50f056?(this['_anchorDot']&&this[_0x3eb8e7(0x1ea)][_0x3eb8e7(0x147)](),this[_0x3eb8e7(0x235)]&&this[_0x3eb8e7(0x235)]['show']()):(this[_0x3eb8e7(0x1ea)]&&this['_anchorDot'][_0x3eb8e7(0x187)](),this['_textBubble']&&this[_0x3eb8e7(0x235)]['hide']());}[_0x114f12(0x2bc)](){const _0x3b96be=_0x114f12;for(const _0x461d3b of this['_shapes'])_0x461d3b[_0x3b96be(0x2bc)]();this[_0x3b96be(0x235)]&&this[_0x3b96be(0x235)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x3b96be(0x2bc)](),this[_0x3b96be(0x206)]&&this[_0x3b96be(0x206)][_0x3b96be(0x2bc)](),this['_eventUnsubscribe']&&this[_0x3b96be(0x2c9)]();}[_0x114f12(0x25d)](){const _0x1dd08f=_0x114f12;var _0x72891b;const {_docSkeleton:_0x389667,_document:_0x5f3ed1}=this,{color:_0x4fe577,name:_0x2bdaae,ranges:_0x1571d7}=this[_0x1dd08f(0x2e0)],_0x2e0048=_0x5f3ed1[_0x1dd08f(0x39d)](),{docsLeft:_0x13685f,docsTop:_0x42cf56}=_0x2e0048,_0x390ea8=new b['NodePositionConvertToCursor'](_0x2e0048,_0x389667);for(const {startOffset:_0x4597d6,endOffset:_0x120535,rangeType:_0x3445c7,segmentId:_0x536483,segmentPage:_0x2049f4,collapsed:_0x556a76,isActive:_0x5b8ef9}of _0x1571d7){const _0x3e367c=_0x389667[_0x1dd08f(0x3ba)](_0x4597d6,!0x0,_0x536483,_0x2049f4);let _0x32a893=_0x389667[_0x1dd08f(0x3ba)](_0x120535,!0x0,_0x536483,_0x2049f4);if(_0x32a893==null&&(_0x32a893=_0x389667[_0x1dd08f(0x3ba)](_0x120535-0x1,!0x1,_0x536483,_0x2049f4)),_0x5b8ef9){const {contentBoxPointGroup:_0x390fb4}=_0x390ea8[_0x1dd08f(0x3b2)](_0x32a893,_0x32a893);if(_0x390fb4[_0x1dd08f(0x200)]===0x0)continue;this['_drawAnchor'](_0x4fe577,_0x390fb4,_0x13685f,_0x42cf56,_0x2bdaae),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3e367c&&_0x32a893){if(_0x3445c7===a[_0x1dd08f(0x2ab)]['RECT']){const _0x268a56=new b['NodePositionConvertToRectRange'](_0x2e0048,_0x389667),{pointGroup:_0x30691e}=(_0x72891b=_0x268a56['getRangePointData'](_0x3e367c,_0x32a893))!=null?_0x72891b:{};if(_0x30691e==null||_0x30691e[_0x1dd08f(0x200)]===0x0)continue;this[_0x1dd08f(0x18f)](_0x4fe577,_0x30691e,_0x13685f,_0x42cf56);}else{if(!_0x556a76){const {borderBoxPointGroup:_0x3e110c}=_0x390ea8[_0x1dd08f(0x3b2)](_0x3e367c,_0x32a893);if(_0x3e110c['length']===0x0)continue;this['_drawTextRange'](_0x4fe577,_0x3e110c,_0x13685f,_0x42cf56);}}}}}[_0x114f12(0x19a)](_0x27d2e1,_0x5a21ce,_0x32c868,_0x295ab0,_0x2c0e9b){const _0x1278ef=_0x114f12,_0x53c8f2=this[_0x1278ef(0x284)](_0x5a21ce),{left:_0x52922f,top:_0x32ae0b,height:_0x304c10}=_0x53c8f2,_0x362fd7=this['_getScale'](),_0x7960c5=St/_0x362fd7,_0x5db83a=new p['Rect'](oe+a[_0x1278ef(0x39e)][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0,'height':_0x304c10,'width':ft,'fill':_0x27d2e1||p['getColor'](a[_0x1278ef(0x1dd)][_0x1278ef(0x237)],0x0),'strokeWidth':_0x7960c5,'stroke':vt,'evented':!0x0});this['_anchor']=_0x5db83a,this[_0x1278ef(0x378)][_0x1278ef(0x32b)](_0x5db83a,b['TEXT_RANGE_LAYER_INDEX']);const _0x86200a=new p[(_0x1278ef(0x2a5))](oe+a[_0x1278ef(0x39e)][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0-ae/0x2,'height':ae,'width':ae,'fill':_0x27d2e1||p[_0x1278ef(0x385)](a[_0x1278ef(0x1dd)][_0x1278ef(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x27d2e1||p['getColor'](a['COLORS'][_0x1278ef(0x237)],0x0),'evented':!0x1});this['_anchorDot']=_0x86200a,this['_scene']['addObject'](_0x86200a,b[_0x1278ef(0x2da)]);const _0x517b31=new te(oe+a['Tools'][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0-K,'text':_0x2c0e9b,'color':_0x27d2e1});this['_textBubble']=_0x517b31,this[_0x1278ef(0x378)][_0x1278ef(0x32b)](_0x517b31,b[_0x1278ef(0x2da)]),this[_0x1278ef(0x264)]=!0x1;}[_0x114f12(0x2d3)](){const _0x4276d5=_0x114f12,_0x219c19=this[_0x4276d5(0x206)][_0x4276d5(0x1b1)][_0x4276d5(0x291)](()=>{this['_hover']=!0x0;}),_0x20139e=this[_0x4276d5(0x206)]['onPointerLeave$'][_0x4276d5(0x291)](()=>{const _0xd71a7b=_0x4276d5;this[_0xd71a7b(0x250)]&&clearTimeout(this[_0xd71a7b(0x250)]),this[_0xd71a7b(0x250)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x254a8b=_0x4276d5;_0x219c19[_0x254a8b(0x384)](),_0x20139e[_0x254a8b(0x384)]();};}[_0x114f12(0x31e)](_0x18098a,_0x47163f,_0x39361e,_0x28df47){const _0x324d29=_0x114f12,_0xd4be8f=new a[(_0x324d29(0x2e1))](_0x18098a)[_0x324d29(0x280)](0.2)[_0x324d29(0x238)](),_0x2ecce8=new p['RegularPolygon'](ut+a[_0x324d29(0x39e)]['generateRandomId'](B),{'pointsGroup':_0x47163f,'fill':_0xd4be8f||p['getColor'](a[_0x324d29(0x1dd)][_0x324d29(0x237)],0.2),'left':_0x39361e,'top':_0x28df47,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x324d29(0x32e)](_0x2ecce8),this['_scene']['addObject'](_0x2ecce8,b[_0x324d29(0x2da)]);}[_0x114f12(0x18f)](_0x6a4865,_0x51cc70,_0x30c626,_0x2617b2){const _0x690d51=_0x114f12,_0x4aaeea=new a['ColorKit'](_0x6a4865)[_0x690d51(0x280)](0.2)['toRgbString'](),_0x5ab06e=new p[(_0x690d51(0x338))](dt+a[_0x690d51(0x39e)][_0x690d51(0x1b9)](B),{'pointsGroup':_0x51cc70,'fill':_0x4aaeea||p[_0x690d51(0x385)](a[_0x690d51(0x1dd)][_0x690d51(0x237)],0.2),'left':_0x30c626,'top':_0x2617b2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5ab06e),this[_0x690d51(0x378)][_0x690d51(0x32b)](_0x5ab06e,b[_0x690d51(0x2da)]);}[_0x114f12(0x284)](_0x125376){const _0x5dda90=_0x125376[0x0],_0x10dfaf=_0x5dda90[0x0],_0x30b566=_0x5dda90[0x2],{x:_0x564dd9,y:_0x5b84bf}=_0x10dfaf,{x:_0x39d7c8,y:_0x405e3b}=_0x30b566;return{'left':_0x564dd9,'top':_0x5b84bf,'width':_0x39d7c8-_0x564dd9,'height':_0x405e3b-_0x5b84bf};}[_0x114f12(0x152)](){const _0x458a6f=_0x114f12,{scaleX:_0xaf13dd,scaleY:_0x382390}=this[_0x458a6f(0x378)][_0x458a6f(0x2b4)]();return Math['max'](_0xaf13dd,_0x382390);}}var gt=Object[_0x114f12(0x358)],It=(_0x9a48ac,_0x17d577,_0x503e18,_0x558920)=>{const _0x10ce9b=_0x114f12;for(var _0x590982=_0x558920>0x1?void 0x0:_0x558920?gt(_0x17d577,_0x503e18):_0x17d577,_0x210623=_0x9a48ac[_0x10ce9b(0x200)]-0x1,_0x1593dd;_0x210623>=0x0;_0x210623--)(_0x1593dd=_0x9a48ac[_0x210623])&&(_0x590982=_0x1593dd(_0x590982)||_0x590982);return _0x590982;},X=(_0x5c10b8,_0x37e240)=>(_0x5e4f0b,_0x2d0858)=>_0x37e240(_0x5e4f0b,_0x2d0858,_0x5c10b8);let ge=class extends a[_0x114f12(0x1de)]{constructor(_0x3b4d2a,_0x1ce08e,_0x4cdcd8,_0x5d8da2,_0x213a90){const _0x3da0de=_0x114f12;super(),h(this,_0x3da0de(0x1e6),[]),h(this,'_cursors',[]),(this[_0x3da0de(0x1d3)]=_0x3b4d2a,this[_0x3da0de(0x1f8)]=_0x1ce08e,this[_0x3da0de(0x391)]=_0x4cdcd8,this[_0x3da0de(0x395)]=_0x5d8da2,this[_0x3da0de(0x3aa)]=_0x213a90,this[_0x3da0de(0x1f3)]());}[_0x114f12(0x1f3)](){const _0x53f57b=_0x114f12,_0x28bdae=this[_0x53f57b(0x1d3)][_0x53f57b(0x163)],_0x64cf51=this['_docSkeletonManagerService'];this[_0x53f57b(0x19c)](d[_0x53f57b(0x326)]([this[_0x53f57b(0x391)]['getCollabCursors$'](_0x28bdae),this[_0x53f57b(0x3aa)][_0x53f57b(0x364)]])[_0x53f57b(0x3bb)]($[_0x53f57b(0x210)](([_0x296a59,_0x262e1d])=>({'skeleton':_0x64cf51['getSkeleton'](),'cursors':[..._0x296a59[_0x53f57b(0x3a7)]()][_0x53f57b(0x236)](_0x1fd9bf=>({..._0x1fd9bf,'color':_0x262e1d[_0x1fd9bf[_0x53f57b(0x3a9)]]}))})))[_0x53f57b(0x2d5)](_0x5efef0=>{const _0x46eb50=_0x53f57b;if(this[_0x46eb50(0x27f)](),_0x5efef0){const {skeleton:_0x713223,cursors:_0x167a3a}=_0x5efef0;this[_0x46eb50(0x35f)](_0x713223,_0x167a3a);}})),this[_0x53f57b(0x376)](),this[_0x53f57b(0x1e2)]();}[_0x114f12(0x35f)](_0x21705c,_0xa52c94){const _0x1681d1=_0x114f12,{scene:_0x1cf146,mainComponent:_0x2ec710}=this[_0x1681d1(0x1d3)],_0x3c3e0b=_0xa52c94[_0x1681d1(0x210)](_0x3ce460=>new Ue(_0x3ce460,_0x1cf146,_0x21705c,_0x2ec710));this[_0x1681d1(0x1e6)]=_0x3c3e0b,this[_0x1681d1(0x212)]=_0xa52c94;}[_0x114f12(0x205)](){const _0xaa6672=_0x114f12;this[_0xaa6672(0x27f)]();const {scene:_0x2d4ca3,mainComponent:_0x378845}=this[_0xaa6672(0x1d3)],_0x67db8d=this[_0xaa6672(0x1f8)][_0xaa6672(0x20f)](),_0x5db824=this[_0xaa6672(0x212)]['map'](_0x5162f8=>new Ue(_0x5162f8,_0x2d4ca3,_0x67db8d,_0x378845));this[_0xaa6672(0x1e6)]=_0x5db824;}['_removeCollabCursors'](){const _0x139614=_0x114f12;this['_cursorShapes'][_0x139614(0x341)](_0x20101e=>_0x20101e[_0x139614(0x2bc)]()),this[_0x139614(0x1e6)]=[];}[_0x114f12(0x1e2)](){const _0x274720=_0x114f12,_0x25ea12=[b[_0x274720(0x2ac)]['id']];this['disposeWithMe'](this[_0x274720(0x395)]['onCommandExecuted'](_0x24ca7a=>{const _0x489aa4=_0x274720;_0x25ea12[_0x489aa4(0x398)](_0x24ca7a['id'])&&_0x24ca7a[_0x489aa4(0x1e4)][_0x489aa4(0x163)]===this['_context']['unitId']&&this[_0x489aa4(0x205)]();}));}['_initResize'](){const _0x57f59b=_0x114f12;this[_0x57f59b(0x19c)](a[_0x57f59b(0x272)](this[_0x57f59b(0x1d3)][_0x57f59b(0x211)][_0x57f59b(0x3bd)])[_0x57f59b(0x3bb)]($[_0x57f59b(0x1ff)](_0x55b4c8=>_0x55b4c8['type']===p[_0x57f59b(0x27b)][_0x57f59b(0x38d)]),$[_0x57f59b(0x303)](0x10))[_0x57f59b(0x2d5)](()=>{const _0x4e71fa=_0x57f59b;this[_0x4e71fa(0x205)]();}));}};ge=It([X(0x1,a[_0x114f12(0x2fe)](Y[_0x114f12(0x2d8)])),X(0x2,a['Inject'](x)),X(0x3,a['ICommandService']),X(0x4,a[_0x114f12(0x2fe)](a[_0x114f12(0x196)]))],ge);const mt=0x1,Ct=1.5;class ye extends p['Shape']{constructor(_0x31abe6,_0x434cbb){const _0x5622b4=_0x114f12;super(_0x31abe6,_0x434cbb),h(this,_0x5622b4(0x26f)),h(this,_0x5622b4(0x183),!0x1),h(this,'_range'),h(this,_0x5622b4(0x356),''),h(this,'_labelPosition',_0x5622b4(0x1d8)),h(this,_0x5622b4(0x2cf)),(_0x434cbb&&this[_0x5622b4(0x2bf)](_0x434cbb),this['onPointerEnter$'][_0x5622b4(0x291)](()=>this[_0x5622b4(0x2bf)]({'hovered':!0x0})),this[_0x5622b4(0x178)][_0x5622b4(0x291)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x114f12(0x2bf)](_0x19d4e4){const _0x2769c0=_0x114f12;var _0x13707c,_0x266e14,_0x3e475b,_0x3633b7,_0x2f70a0,_0x26152c;this[_0x2769c0(0x26f)]=(_0x13707c=_0x19d4e4[_0x2769c0(0x3a9)])!=null?_0x13707c:this[_0x2769c0(0x26f)],this[_0x2769c0(0x183)]=(_0x266e14=_0x19d4e4[_0x2769c0(0x1f0)])!=null?_0x266e14:this[_0x2769c0(0x183)],this[_0x2769c0(0x331)]=(_0x3e475b=_0x19d4e4[_0x2769c0(0x1e8)])!=null?_0x3e475b:this[_0x2769c0(0x331)],this[_0x2769c0(0x356)]=(_0x3633b7=_0x19d4e4[_0x2769c0(0x17a)])!=null?_0x3633b7:this[_0x2769c0(0x356)],this[_0x2769c0(0x37b)]=(_0x2f70a0=_0x19d4e4[_0x2769c0(0x1f6)])!=null?_0x2f70a0:this[_0x2769c0(0x37b)],this['_backgroundColor']=(_0x26152c=_0x19d4e4[_0x2769c0(0x282)])!=null?_0x26152c:this[_0x2769c0(0x2cf)],this[_0x2769c0(0x17c)]({'width':_0x19d4e4[_0x2769c0(0x3ac)],'height':_0x19d4e4[_0x2769c0(0x256)]});}[_0x114f12(0x28b)](_0x49022a){const _0x4a5b0f=_0x114f12,{row:_0x22cb75,column:_0x4785c5}=_0x49022a;if(_0x22cb75>=this['_range'][_0x4a5b0f(0x1d1)]&&_0x22cb75<=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x36b)]&&_0x4785c5>=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x273)]&&_0x4785c5<=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x263)]){this[_0x4a5b0f(0x2bf)]({'hovered':!0x0});return;}this[_0x4a5b0f(0x2bf)]({'hovered':!0x1});}[_0x114f12(0x2df)](_0x93e055){return!0x1;}[_0x114f12(0x3a4)](_0x1aea09){const _0x8726a9=_0x114f12;p[_0x8726a9(0x2a5)][_0x8726a9(0x294)](_0x1aea09,{'width':this[_0x8726a9(0x3ac)],'height':this[_0x8726a9(0x256)],'strokeWidth':Ct,'stroke':this[_0x8726a9(0x26f)],'evented':!0x1,'fill':this[_0x8726a9(0x2cf)]}),this[_0x8726a9(0x183)]&&(_0x1aea09[_0x8726a9(0x278)](),_0x1aea09['transform'](0x1,0x0,0x0,0x1,this[_0x8726a9(0x3ac)],this['_labelPosition']===_0x8726a9(0x1fb)?0x0:-0x14),te['drawWith'](_0x1aea09,{'text':this[_0x8726a9(0x356)],'color':this['_color']}),_0x1aea09[_0x8726a9(0x16e)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x4ed15e,_0x56435a,_0x228757,_0x6caf1a)=>{for(var _0x418bab=_0x6caf1a>0x1?void 0x0:_0x6caf1a?pt(_0x56435a,_0x228757):_0x56435a,_0x390d01=_0x4ed15e['length']-0x1,_0x33dddc;_0x390d01>=0x0;_0x390d01--)(_0x33dddc=_0x4ed15e[_0x390d01])&&(_0x418bab=_0x33dddc(_0x418bab)||_0x418bab);return _0x418bab;},ce=(_0x30571a,_0xe89e03)=>(_0x4a9495,_0x24f212)=>_0xe89e03(_0x4a9495,_0x24f212,_0x30571a);const Et=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x4d265d,_0x43e5b7,_0x352ed7,_0x127d06){const _0x2e790a=_0x114f12;super(),h(this,'_cursors',new Set()),h(this,_0x2e790a(0x1df),null),(this['_context']=_0x4d265d,this['_sheetSkeletonManagerService']=_0x43e5b7,this[_0x2e790a(0x391)]=_0x352ed7,this['_themeService']=_0x127d06,this[_0x2e790a(0x1f3)]());}[_0x114f12(0x1f3)](){const _0xc051eb=_0x114f12;this[_0xc051eb(0x224)][_0xc051eb(0x368)]['pipe']($[_0xc051eb(0x23f)](this[_0xc051eb(0x350)]),$[_0xc051eb(0x167)](_0x5a7fb5=>{const _0x574ac4=_0xc051eb;if(_0x5a7fb5){const _0x34f76f=_0x5a7fb5[_0x574ac4(0x24f)];return d[_0x574ac4(0x326)](this[_0x574ac4(0x391)][_0x574ac4(0x289)](this[_0x574ac4(0x1d3)][_0x574ac4(0x163)]),this[_0x574ac4(0x3aa)][_0x574ac4(0x364)])['pipe']($[_0x574ac4(0x210)](([_0x210647,_0x16414d])=>{const _0x3a81bc=_0x574ac4,_0x5d6bea=new Map();return _0x210647[_0x3a81bc(0x341)]((_0x39a1ae,_0x3a5da5)=>{const _0x261a36=_0x3a81bc;if(_0x39a1ae[_0x261a36(0x335)]===_0x34f76f){const _0x13d35c={..._0x39a1ae};_0x13d35c[_0x261a36(0x3a9)]=_0x16414d[_0x39a1ae[_0x261a36(0x3a9)]],_0x5d6bea[_0x261a36(0x2a3)](_0x3a5da5,_0x13d35c);}}),{'skeleton':_0x5a7fb5,'cursors':_0x5d6bea};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0xc051eb(0x2d5)](({skeleton:_0x5c4389,cursors:_0x327baf})=>{const _0x3307c4=_0xc051eb;this[_0x3307c4(0x27f)](),_0x5c4389&&this[_0x3307c4(0x35f)](_0x5c4389,_0x327baf);}),this[_0xc051eb(0x224)][_0xc051eb(0x368)]['subscribe'](_0x564a13=>{const _0x11e796=_0xc051eb;if(_0x564a13==null)return;const {skeleton:_0x13877b}=_0x564a13,{scene:_0x319a68}=this[_0x11e796(0x1d3)];_0x319a68[_0x11e796(0x301)][_0x11e796(0x291)](a[_0x11e796(0x239)](_0xeab0d9=>{const _0x1d8c38=_0x11e796;var _0xc55134,_0x2d08de;const {offsetX:_0x521a8a,offsetY:_0x30ec86}=_0xeab0d9,{x:_0x341a14,y:_0x5345b3}=_0x319a68[_0x1d8c38(0x2d6)](p[_0x1d8c38(0x29c)][_0x1d8c38(0x207)]([_0x521a8a,_0x30ec86])),{scaleX:_0x322dc2,scaleY:_0xeb165}=_0x319a68[_0x1d8c38(0x2b4)](),_0x17f66d=_0x319a68[_0x1d8c38(0x35b)](p[_0x1d8c38(0x3a5)]['VIEW_MAIN']),_0x4bd44b=_0x319a68['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x1d8c38(0x207)]([_0x341a14,_0x5345b3]),_0x17f66d),_0x44c30a=_0x13877b['getCellPositionByOffset'](_0x521a8a,_0x30ec86,_0x322dc2,_0xeb165,_0x4bd44b);((_0xc55134=this['_lastPointer'])==null?void 0x0:_0xc55134[_0x1d8c38(0x387)])===_0x44c30a[_0x1d8c38(0x387)]&&((_0x2d08de=this[_0x1d8c38(0x1df)])==null?void 0x0:_0x2d08de[_0x1d8c38(0x296)])===_0x44c30a[_0x1d8c38(0x296)]||this['_cursors'][_0x1d8c38(0x341)](_0x580c39=>{const _0x446229=_0x1d8c38;_0x580c39[_0x446229(0x28b)](_0x44c30a);});},0x64));});}[_0x114f12(0x35f)](_0x54364a,_0x331b0e){const _0x5f46e8=_0x114f12;var _0xbbe5e9;const _0x1d207e=(_0xbbe5e9=this['_sheetSkeletonManagerService'][_0x5f46e8(0x144)]())==null?void 0x0:_0xbbe5e9[_0x5f46e8(0x354)];if(!_0x1d207e)return;const _0xe87abc=this['_getSheetObject']();if(!_0xe87abc)return;this[_0x5f46e8(0x212)][_0x5f46e8(0x341)](_0x339158=>{_0x339158['makeDirty']();});const {scene:_0x5517aa}=_0xe87abc,_0x22a2f4=Tt(Array[_0x5f46e8(0x366)](_0x331b0e[_0x5f46e8(0x3a7)]()))[_0x5f46e8(0x210)](_0x3c1f25=>{const _0x44497c=_0x5f46e8,{color:_0x492567,range:_0x98d2ee,name:_0x491b12,selection:_0x27d889,sheetID:_0x95967c}=_0x3c1f25,{startColumn:_0x295f2c,startRow:_0x1b8134,endColumn:_0x26edda,endRow:_0xbc45b6}=_0x98d2ee,_0x2624fb=G['getCoordByCell'](_0x1b8134,_0x295f2c,_0x5517aa,_0x1d207e),_0x696031=G['getCoordByCell'](_0xbc45b6,_0x26edda,_0x5517aa,_0x1d207e),{columnHeaderHeightAndMarginTop:_0x298384}=_0x1d207e,{startX:_0x19f92d,startY:_0x17220a}=_0x2624fb,{endX:_0x533e81,endY:_0x208e22}=_0x696031,_0x4750d=_0x533e81-_0x19f92d,_0x25c1cb=_0x208e22-_0x17220a,_0x2f2ab1={'labelPosition':_0x17220a-_0x298384>=K?_0x44497c(0x1d8):_0x44497c(0x1fb),'sheetID':_0x95967c,'range':_0x98d2ee,'color':_0x492567,'name':_0x491b12,'selection':_0x27d889,'left':_0x19f92d,'top':_0x17220a,'width':_0x4750d,'height':_0x25c1cb,'evented':!0x1,'zIndex':Et};return new ye(_0x491b12,_0x2f2ab1);});_0x5517aa['addObjects'](_0x22a2f4,mt),this['_cursors']=new Set(_0x22a2f4);}['_removeCollabCursors'](){const _0x1a4c8a=_0x114f12;var _0x2909e3;(_0x2909e3=this[_0x1a4c8a(0x212)])==null||_0x2909e3[_0x1a4c8a(0x341)](_0x38a9ef=>_0x38a9ef[_0x1a4c8a(0x2bc)]());}[_0x114f12(0x399)](){const _0x140732=_0x114f12;return G[_0x140732(0x19b)](this[_0x140732(0x1d3)][_0x140732(0x19e)],this[_0x140732(0x1d3)]);}};Ie=bt([ce(0x1,a[_0x114f12(0x2fe)](G[_0x114f12(0x271)])),ce(0x2,a[_0x114f12(0x2fe)](x)),ce(0x3,a[_0x114f12(0x2fe)](a[_0x114f12(0x196)]))],Ie);function Tt(_0x4723e2){const _0xdd8e57=_0x114f12,_0x4716b1=new Map();return _0x4723e2[_0xdd8e57(0x341)](_0x6d62e5=>{const _0x1fac12=_0xdd8e57;if(_0x4716b1[_0x1fac12(0x3bc)](_0x6d62e5[_0x1fac12(0x1f7)])){const _0x2479bd=_0x4716b1['get'](_0x6d62e5[_0x1fac12(0x1f7)]);_0x2479bd[_0x1fac12(0x17a)]+=',\x20'+_0x6d62e5['name'];}else _0x4716b1['set'](_0x6d62e5[_0x1fac12(0x1f7)],_0x6d62e5);}),Array[_0xdd8e57(0x366)](_0x4716b1[_0xdd8e57(0x3a7)]());}var E=function(){const _0x109e18=_0x114f12;return E=Object[_0x109e18(0x145)]||function(_0x338374){const _0x9370cb=_0x109e18;for(var _0x373ab0,_0x14c820=0x1,_0x13461e=arguments[_0x9370cb(0x200)];_0x14c820<_0x13461e;_0x14c820++){_0x373ab0=arguments[_0x14c820];for(var _0x47d1aa in _0x373ab0)Object[_0x9370cb(0x17f)]['hasOwnProperty'][_0x9370cb(0x169)](_0x373ab0,_0x47d1aa)&&(_0x338374[_0x47d1aa]=_0x373ab0[_0x47d1aa]);}return _0x338374;},E[_0x109e18(0x2f4)](this,arguments);},Rt=function(_0x316fd1,_0x57529d){const _0x214a82=_0x114f12;var _0x3ca419={};for(var _0x20b972 in _0x316fd1)Object['prototype'][_0x214a82(0x2e9)][_0x214a82(0x169)](_0x316fd1,_0x20b972)&&_0x57529d[_0x214a82(0x31b)](_0x20b972)<0x0&&(_0x3ca419[_0x20b972]=_0x316fd1[_0x20b972]);if(_0x316fd1!=null&&typeof Object[_0x214a82(0x2a2)]==_0x214a82(0x1c4)){for(var _0x4ec8fd=0x0,_0x20b972=Object[_0x214a82(0x2a2)](_0x316fd1);_0x4ec8fd<_0x20b972[_0x214a82(0x200)];_0x4ec8fd++)_0x57529d['indexOf'](_0x20b972[_0x4ec8fd])<0x0&&Object[_0x214a82(0x17f)]['propertyIsEnumerable'][_0x214a82(0x169)](_0x316fd1,_0x20b972[_0x4ec8fd])&&(_0x3ca419[_0x20b972[_0x4ec8fd]]=_0x316fd1[_0x20b972[_0x4ec8fd]]);}return _0x3ca419;},be=P['forwardRef'](function(_0x5e65cd,_0x1037b4){const _0x4ed9b5=_0x114f12;var _0x37cee4=_0x5e65cd[_0x4ed9b5(0x2f6)],_0x3f4f66=_0x5e65cd['id'],_0x454106=_0x5e65cd[_0x4ed9b5(0x1d9)],_0x4f4008=_0x5e65cd[_0x4ed9b5(0x1b2)],_0x230d5d=Rt(_0x5e65cd,['icon','id','className',_0x4ed9b5(0x1b2)]),_0x23e35b='univerjs-icon\x20univerjs-icon-'[_0x4ed9b5(0x261)](_0x3f4f66,'\x20')[_0x4ed9b5(0x261)](_0x454106||'')['trim'](),_0x252c8f=P[_0x4ed9b5(0x15c)]('_'['concat'](Ut()));return Ae(_0x37cee4,''['concat'](_0x3f4f66),{'defIds':_0x37cee4[_0x4ed9b5(0x1a9)],'idSuffix':_0x252c8f[_0x4ed9b5(0x2ad)]},E({'ref':_0x1037b4,'className':_0x23e35b},_0x230d5d),_0x4f4008);});function Ae(_0x5e0d00,_0x5c01ab,_0x841991,_0x57306d,_0x5a28ea){const _0xe198fd=_0x114f12;return P[_0xe198fd(0x390)](_0x5e0d00['tag'],E(E({'key':_0x5c01ab},Ot(_0x5e0d00,_0x841991,_0x5a28ea)),_0x57306d),(Dt(_0x5e0d00,_0x841991)[_0xe198fd(0x299)]||[])[_0xe198fd(0x210)](function(_0x5bb066,_0x245a38){const _0x5a5f57=_0xe198fd;return Ae(_0x5bb066,''[_0x5a5f57(0x261)](_0x5c01ab,'-')[_0x5a5f57(0x261)](_0x5e0d00[_0x5a5f57(0x189)],'-')[_0x5a5f57(0x261)](_0x245a38),_0x841991,void 0x0,_0x5a28ea);}));}function Ot(_0x429a89,_0x55dae7,_0x1076e4){const _0x1a77d9=_0x114f12;var _0x4cd222=E({},_0x429a89[_0x1a77d9(0x3af)]);_0x1076e4!=null&&_0x1076e4[_0x1a77d9(0x246)]&&_0x4cd222['fill']===_0x1a77d9(0x246)&&(_0x4cd222[_0x1a77d9(0x2a9)]=_0x1076e4[_0x1a77d9(0x246)]),_0x429a89[_0x1a77d9(0x189)]===_0x1a77d9(0x1a1)&&_0x4cd222['id']&&(_0x4cd222['id']=_0x4cd222['id']+_0x55dae7[_0x1a77d9(0x1ec)]),Object[_0x1a77d9(0x2e8)](_0x4cd222)[_0x1a77d9(0x341)](function(_0x2a39ec){const _0x2a788e=_0x1a77d9;var _0x152ffe=_0x2a39ec[0x0],_0x5c4231=_0x2a39ec[0x1];_0x152ffe===_0x2a788e(0x1a1)&&typeof _0x5c4231==_0x2a788e(0x330)&&(_0x4cd222[_0x152ffe]=_0x5c4231[_0x2a788e(0x26b)](/url\(#(.*)\)/,'url(#$1'[_0x2a788e(0x261)](_0x55dae7[_0x2a788e(0x1ec)],')')));});var _0x51d981=_0x55dae7[_0x1a77d9(0x1a9)];return!_0x51d981||_0x51d981[_0x1a77d9(0x200)]===0x0||(_0x429a89[_0x1a77d9(0x189)]===_0x1a77d9(0x166)&&_0x4cd222['xlink:href']&&(_0x4cd222[_0x1a77d9(0x162)]=_0x4cd222['xlink:href']+_0x55dae7[_0x1a77d9(0x1ec)]),Object['entries'](_0x4cd222)['forEach'](function(_0x45c037){const _0x4b48ea=_0x1a77d9;var _0x4f04ca=_0x45c037[0x0],_0x3d104c=_0x45c037[0x1];typeof _0x3d104c==_0x4b48ea(0x330)&&(_0x4cd222[_0x4f04ca]=_0x3d104c[_0x4b48ea(0x26b)](/url\(#(.*)\)/,'url(#$1'[_0x4b48ea(0x261)](_0x55dae7[_0x4b48ea(0x1ec)],')')));})),_0x4cd222;}function Dt(_0x4ee2e0,_0x374f4e){const _0x47fb0f=_0x114f12;var _0x1b7d23,_0x5ccf19=_0x374f4e[_0x47fb0f(0x1a9)];return!_0x5ccf19||_0x5ccf19[_0x47fb0f(0x200)]===0x0?_0x4ee2e0:_0x4ee2e0[_0x47fb0f(0x189)]===_0x47fb0f(0x292)&&(!((_0x1b7d23=_0x4ee2e0[_0x47fb0f(0x299)])===null||_0x1b7d23===void 0x0)&&_0x1b7d23['length'])?E(E({},_0x4ee2e0),{'children':_0x4ee2e0[_0x47fb0f(0x299)][_0x47fb0f(0x210)](function(_0x593081){const _0x5a3050=_0x47fb0f;return typeof _0x593081[_0x5a3050(0x3af)]['id']==_0x5a3050(0x330)&&_0x5ccf19&&_0x5ccf19['indexOf'](_0x593081[_0x5a3050(0x3af)]['id'])>-0x1?E(E({},_0x593081),{'attrs':E(E({},_0x593081[_0x5a3050(0x3af)]),{'id':_0x593081[_0x5a3050(0x3af)]['id']+_0x374f4e['idSuffix']})}):_0x593081;})}):_0x4ee2e0;}function Ut(){const _0x1f99ed=_0x114f12;return Math[_0x1f99ed(0x304)]()['toString'](0x24)['substring'](0x2,0x8);}function _0x46c8(){const _0x494540=['origin','editingUnit','_render','CommandType','CollaborationEvent','DataLoaderService','concat','IRemoteInstanceService','endColumn','_hover','clipPath','ISocketService','UNIVER_SHEET','clsx','univer-online-status-icon','_unitStatus','replace','unitID','_heartbeatTimer','#fff','_color','UnitStatus','SheetSkeletonManagerService','fromEventSubject','startColumn','split','handleInsertRangeMoveRight','collabStatus.conflict','#FFF','save','univer-flex\x20univer-items-center','LICENSE_DISTRO_REJECTED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collaboration.single-unit.warning','closePath','TEXT','_removeCollabCursors','setAlpha','IBeforeCloseService','backgroundColor','defineProperty','_getAnchorBounding','_transformUndoRedoStack','toDisposable','_collabCursorState$','_univerInstanceService','getCollabCursors$','_toggleOffline','onMouseMove','_getSessionTicket','SUBMIT_CHANGESET_TIMEOUT','_localeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','displayName','subscribeEvent','defs','handleDeleteRangeMoveLeft','drawWith','_registerDependencies','row','div','_entities','children','none','OnLineSingle','Vector2','CollaborationSocketService','getUnhiddenWorksheets','transformStateCache','transformSelections','SetTextSelectionsOperation','getOwnPropertySymbols','set','_registerRenderDependencies','Rect','_collaborationUIEventService','_status$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fill','SYNCED','DOC_RANGE_TYPE','SetDocZoomRatioOperation','current','cursorInfo$','_scheduleHeartbeat','event$','parse','getUniverSheetInstance','_cachedData','getAncestorScale','Plugin','Unknown\x20user','find','location','registerBeforeClose','eventID','CollaborationDataLoaderController','dispose','key','connectInjector','setShapeProps','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','result','FETCH_MISS','MessageType','OTHER_CLIENTS_EDITING','transformIMECache','@univerjs/network','InsertRowCommandId','_messageService','_eventUnsubscribe','_docClipboardService','collabStatus.notCollab','sessionTicket','_updateSubUnitFromURLParams','_createSocketURL','_backgroundColor','UNRECOGNIZED','_initDependencies','registerDependencies','_handleHover','arc','subscribe','getRelativeToViewportCoord','handleInsertRangeMoveDown','DocSkeletonManagerService','SOCKET_FAILED','TEXT_RANGE_LAYER_INDEX','_config','react/jsx-runtime','saveOfflineData','1em','triggerDblclick','_cursor','ColorKit','MoveRangeCommandId','entityInit$','_updateLocalCursor','[CollaborationDataLoaderController]','HTTPService','_removeClearOtherTimer','entries','hasOwnProperty','isEditing','APPLY_DUPLICATED','7176VLZJOP','WebSocketService','session.collaboration-timeout','translate(.97)','online','M0\x200H16V16H0z','handleInsertCol','_instanceService','apply','UniverCollaborationClientUIPlugin','icon','_unitOnClients','handleIRemoveCol','session.will-retry','RECT','mutations','add','forwardRef','Inject','1450039UePtlo','getSheetId','onPointerMove$','569907xkqiNe','throttleTime','random','/run/','PY_RUNTIME_SCRIPT_ERROR','UniverInstanceType','4348580jTUCAa','LOCAL_CACHE_INTERVAL','_imageIoService','collab-rect-range-','@univerjs-pro/collaboration','handleMoveRange','distinctUntilChanged','assignAColorForMemberID','APPLY_REJECT','_startDocCollabCursor','registerRenderModule','setItem','jiqing500','textRanges','@univerjs/sheets','CollaborationController','ICommandService','executeCommand','measureText','indexOf','RemoteUniscriptService','8186310DnRmiH','_drawTextRange','univer-online-status-title','_uiPartsService','ILocalStorageService','_initEvent','_collaborationController','actions','createInstance','combineLatest','offline','TOO_MANY_REQUESTS','_toggleOnline','getLocalCacheKey','addObject','InsertRangeMoveDownCommandId','redoState','push','LICENSE_MAX_UNITS_EXCEEDED','string','_range','getRenderById','getTypeOfUnitAdded$','DocStateChangeManagerService','sheetID','_notificationService','urlChange$','RegularPolygon','_renderManagerService','_docSkeleton','Tooltip','CollaborationSessionService','_saveTaskMap','_urlService','replaceState','OFFLINE','forEach','@univerjs/rpc','RefRangeService','sessionStatus$','init','_send','memberID','UNDEFINED','LICENSE_IMPORT_SIZE_EXCEEDED','INVALID_ARGUMENT','_getSaveTimeout','Failed','setParam','ONLINE','complete','dispose$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_PERMISSION_DENIED','currentColor','skeleton','handleInsertRow','_name','exhaustSavingTask','getOwnPropertyDescriptor','BrowserCollaborationSocketService','collaboration-client-ui.config','getViewport','IConfigService','_syncEditingCollabCursorService','UPDATE_CURSOR','_updateCollabCursors','_localCacheService','isActive','application/json','DEFAULT_WS_SESSION_TICKET_URL','currentTheme$','getTypeOfUnitDisposed$','from','DeleteRangeMoveUpCommandId','currentSkeleton$','_ensureSubject','_roomMembers$','endRow','DocSelectionManagerService','off-line-single','doc.mutation.rich-text-editing','getCurrentRevOfUnit','undoState','NOT_FOUND','_transformService','OTHER_CLIENT_EDITING','NO_OTHER_CLIENTS_EDITING','CollaborationStatus','_initResize','_saveCache','_scene','_transformHistoryAndStateStack','mapTo','_labelPosition','ACTIVE_UNIT_EVENT_CHANNEL','syncEditingCollabCursor','4862925RpxsvA','unshift','focused$','_session','SetSelectionsOperation','UNAUTHENTICATED','unsubscribe','getColor','YUUMI_URL_COL_OUT_OF_RANGE','column','jsxs','SessionStatus','SNAPSHOT_HAS_BEEN_REMOVED','MUTATION','searchParams','resize','BehaviorSubject','JOIN_ROOM_FAILED','createElement','_collabCursorController','DeleteRangeMoveLeftCommandId','ranges','touchDependencies','_commandService','requireSession','getValue','includes','_getSheetObject','transformMutationsWithChangeset','_injector','WebURLService','getOffsetConfig','Tools','gold400','serializeRangeWithSheet','CollaborationStatusDisplay','collaboration-client.offline-data-not-saved','uni.network.url-service','_draw','SHEET_VIEWPORT_KEY','setConfig','values','_docTransformStateCacheService','color','_themeService','_handleEvent','width','contains','EffectRefRangId','attrs','Module','...','getRangePointData','_initEntityListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Warning','transformMutation','_beforeCloseService','isTransformMutationFailure','off-line-single_clip0_910_343','findNodePositionByCharIndex','pipe','has','onTransformChange$','WebBrowserSingleActiveUnitService','getMember','getCurrent','assign','_dataLoaderService','hide','startsWith','_setupSubUnitSync','url(#off-line-single_clip0_910_343)','onLocalMutation','delete','addHandlerCallback','getUndoRedoMutationParamsCache','Shape','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','_getScale','_revisionService','error','getConfig','IURLService','next','asObservable','replaceDocRanges','collaboration.closeRoom','subunit','useRef','collabStatus.synced','round','LocaleService','RemoveColCommandId','docStateChange$','xlink:href','unitId','saveTaskMap','font','use','switchMap','_logService','call','_handleHeartbeatEvent','shareReplay','@univerjs/engine-render','useDependency','restore','newValue','disableLocalCache','subUnitId','disposeUnit','collab-text-range-','data','4025BuVznD','SheetCollabCursorShape','getSheetBySheetId','onPointerLeave$','some','name','isArray','transformByState','activeSheet$','_initStatusListener','prototype','_assignedColors','then','IUniverInstanceService','_hovered','DocIMEInputManagerService','wsSessionTicketUrl','getActiveSheet','show','storage','tag','_handleLeaveEvent','AWAITING_WITH_PENDING','getCollabEntity$','_scheduleSaving','_selfUnitIDs','_drawRectRange','fillText','NOT_COLLAB','code','lineTo','roomMembers','onlineStatus','ThemeService','size','IMessageService','@univerjs/docs-ui','_drawAnchor','getSheetObject','disposeWithMe','@univerjs-pro/collaboration-client','unit','search','_memberService','mask','InsertColCommandId','_colorAssignService','@univerjs/docs','url(#on-line-single_clip0_910_349)','cursorInfo','onCommandExecuted','@univerjs/design','defIds','7716765dvkrPG','SNAPSHOT_INVALID_SNAPSHOT','history','rxjs','_updateURLWithCurrentState','YUUMI_UNABLE_LOAD_URL','loadOfflineData','onPointerEnter$','extend','ILocalCacheService','runRefRangeMutations','href','createIdentifier','body','COMPLETION_FINISHED','generateRandomId','_httpService','whenReady','pushState','red300','YUUMI_RATE_OVER_LIMIT','_disabled','ILogService','override','getUnitStatus$','isTransformMutationsWithChangesetSuccess','function','_doCreateSocket','rgba(255,\x20255,\x20255,\x200.01)','_id','ticket','collab-text-anchor-','runOnServer','roomMembers$','_localStorageService','invokeId','enableLocalCache','transformRemoteChangeset','_onCursorUpdate','startRow','with','_context','onlineStatusTitle','_handleJoinEvent','useCallback','pluginName','top','className','CollaborationUIEventId','_docSyncEditingCollabCursorService','updateOfflineData','COLORS','RxDisposable','_lastPointer','clearInterval','fillRule','_initCommandExecutedListener','@univerjs/drawing','params','Optional','_cursorShapes','_docTransformSelectionsService','range','YUUMI_SUBSCRIPTION_NOT_FOUND','_anchorDot','IRenderManagerService','idSuffix','clearTimeout','_refRangeService','getStateCache','hovered','getUnitId','IDocClipboardService','_init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabSessionService','labelPosition','selection','_docSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','_docStateChangeManagerService','bottom','m1Prime','MemberService','runId','filter','length','deepClone','CONFLICT','Injector','_startSheetCollabCursor','_refreshCollabCursors','_anchor','FromArray','m2Prime','INTERNAL_ERROR','registerComponent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SetWorksheetActivateCommand','_onRefRangeChange','_configService','getSkeleton','map','engine','_cursors','DesktopCollaborationStatusDisplayController','Subject','SheetsSelectionsService','min','setStateCache','unload','_onCursorDelete','_online','DocCollaborationEntity','2vKSEOr','jsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DependentOn','addClipboardHook','get','deserializeRangeWithSheet','verdancy600','_sheetSkeletonManagerService','_scheduleClearOtherTimer','ITransformService','handleIRemoveRow','on-line-single','ALREADY_EXISTS','RemoveRowCommandId','getDocRanges','reconnect','PERMISSION_DENIED','Disposable','_setupBeforeClosingHandler','path','getMemberID','svg','collabCursorState$','toString','_textBubble','flatMap','black','toRgbString','debounce','@univerjs/core','Rectangle','_cursorInfo$','stringify','getParam','takeUntil','UNIVER_DOC','fromEvent','Error','text','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','permission.title','colorChannel1','getMergeData','moveTo','_entityInit$','INotificationService','getCurrentSelections','getFocusedUnit','_initStatusComponent','debug','sheetId','_hideTimer','_colorIndex','USERS_LEAVE','_clearOtherTimers','APPLY_REVISION_CONFILICT','handleDeleteRangeMoveUp','height','rxjs/operators','addEventListener','source','_document'];_0x46c8=function(){return _0x494540;};return _0x46c8();}be['displayName']='UniverIcon';var Mt={'tag':_0x114f12(0x232),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x114f12(0x2de)},'children':[{'tag':'g','attrs':{'clipPath':_0x114f12(0x14a)},'children':[{'tag':_0x114f12(0x230),'attrs':{'stroke':_0x114f12(0x353),'d':_0x114f12(0x244),'strokeLinecap':_0x114f12(0x15e),'strokeLinejoin':_0x114f12(0x15e),'strokeWidth':1.2}}]},{'tag':_0x114f12(0x292),'attrs':{},'children':[{'tag':_0x114f12(0x265),'attrs':{'id':_0x114f12(0x3b9)},'children':[{'tag':_0x114f12(0x230),'attrs':{'fill':_0x114f12(0x26e),'d':_0x114f12(0x2f1)}}]}]}],'defIds':[_0x114f12(0x3b9)]},$e=P[_0x114f12(0x2fd)](function(_0x29b585,_0x805526){const _0x468134=_0x114f12;return P[_0x468134(0x390)](be,Object[_0x468134(0x145)]({},_0x29b585,{'id':_0x468134(0x36d),'ref':_0x805526,'icon':Mt}));});$e['displayName']='OffLineSingle';var Pt={'tag':_0x114f12(0x232),'attrs':{'fill':_0x114f12(0x29a),'viewBox':'0\x200\x2017\x2016','width':_0x114f12(0x2de),'height':_0x114f12(0x2de)},'children':[{'tag':'g','attrs':{'clipPath':_0x114f12(0x1a5)},'children':[{'tag':_0x114f12(0x230),'attrs':{'stroke':'currentColor','d':_0x114f12(0x2c0),'strokeLinecap':_0x114f12(0x15e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x114f12(0x292),'attrs':{},'children':[{'tag':_0x114f12(0x265),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x114f12(0x2ef)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=P[_0x114f12(0x2fd)](function(_0x486ecd,_0x1ba6b6){const _0xf2cf02=_0x114f12;return P['createElement'](be,Object[_0xf2cf02(0x145)]({},_0x486ecd,{'id':_0xf2cf02(0x228),'ref':_0x1ba6b6,'icon':Pt}));});xe[_0x114f12(0x290)]=_0x114f12(0x29b);const Nt=_0x114f12(0x269),wt=_0x114f12(0x31f),Lt='univer-online-status',yt='univer-online',At='univer-offline',H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x3747c7){const _0x27cb65=_0x114f12;switch(_0x3747c7){case u[_0x27cb65(0x375)][_0x27cb65(0x340)]:return'collabStatus.offline';case u[_0x27cb65(0x375)][_0x27cb65(0x202)]:return _0x27cb65(0x276);case u[_0x27cb65(0x375)][_0x27cb65(0x2c2)]:return'collabStatus.fetchMiss';case u[_0x27cb65(0x375)][_0x27cb65(0x191)]:return _0x27cb65(0x2cb);case u[_0x27cb65(0x375)]['AWAITING']:case u['CollaborationStatus'][_0x27cb65(0x18b)]:return'collabStatus.syncing';case u[_0x27cb65(0x375)][_0x27cb65(0x2aa)]:case u[_0x27cb65(0x375)]['PENDING']:return _0x27cb65(0x15d);}}function je(_0x2552bc){const _0x35a029=_0x114f12,{status$:_0x3d8a7f}=_0x2552bc,_0x2dd9ed=R['useObservable'](_0x3d8a7f,u['CollaborationStatus']['NOT_COLLAB']),_0x2cacdf=R['useDependency'](a[_0x35a029(0x15f)]),_0x44d4c9=R[_0x35a029(0x16d)](u[_0x35a029(0x33c)]),_0x4e6986=_0x2dd9ed!==u[_0x35a029(0x375)][_0x35a029(0x340)],_0x8c8641=_0x2cacdf['t']($t(_0x2dd9ed)),_0x5b2bca=T[_0x35a029(0x268)](H[_0x35a029(0x195)],{[H[_0x35a029(0x2f0)]]:_0x4e6986,[H[_0x35a029(0x327)]]:!_0x4e6986}),_0x24ec38=_0x4e6986?w[_0x35a029(0x21d)](xe,{}):w[_0x35a029(0x21d)]($e,{}),_0x5952ff=P[_0x35a029(0x1d6)](()=>{const _0x113b69=_0x35a029;_0x4e6986||_0x44d4c9[_0x113b69(0x22c)]();},[_0x4e6986,_0x44d4c9]);function _0x122637(){const _0x5d185d=_0x35a029;return w[_0x5d185d(0x388)](_0x5d185d(0x297),{'className':T['clsx'](_0x5b2bca,_0x5d185d(0x279)),'onClick':_0x5952ff,'children':[w[_0x5d185d(0x21d)]('div',{'className':H['onlineStatusIcon'],'children':_0x24ec38}),w[_0x5d185d(0x21d)]('div',{'className':H[_0x5d185d(0x1d4)],'children':_0x8c8641})]});}return _0x4e6986?_0x122637():w['jsx'](T[_0x35a029(0x33b)],{'title':_0x2cacdf['t']('collab-client.tooltip.reconnect'),'children':_0x122637()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x564b51,_0x1c8ff2,_0x2ef73a,_0x43e4e5)=>{const _0x368256=_0x114f12;for(var _0x1a39ec=_0x43e4e5>0x1?void 0x0:_0x43e4e5?xt(_0x1c8ff2,_0x2ef73a):_0x1c8ff2,_0x213f42=_0x564b51[_0x368256(0x200)]-0x1,_0x1981f9;_0x213f42>=0x0;_0x213f42--)(_0x1981f9=_0x564b51[_0x213f42])&&(_0x1a39ec=_0x1981f9(_0x1a39ec)||_0x1a39ec);return _0x1a39ec;},V=(_0x48c951,_0x284e38)=>(_0x31e3a7,_0x11113c)=>_0x284e38(_0x31e3a7,_0x11113c,_0x48c951);exports[_0x114f12(0x213)]=class extends a[_0x114f12(0x22e)]{constructor(_0x401046,_0x55d649,_0x328f5c,_0x22c1d2){const _0x362b24=_0x114f12;super(),h(this,'_status$',new d[(_0x362b24(0x38e))](u[_0x362b24(0x375)]['NOT_COLLAB'])),(this[_0x362b24(0x288)]=_0x401046,this[_0x362b24(0x39b)]=_0x55d649,this['_collaborationController']=_0x328f5c,this[_0x362b24(0x320)]=_0x22c1d2,this['_initStatusComponent'](),this[_0x362b24(0x17e)]());}[_0x114f12(0x17e)](){const _0x351b78=_0x114f12;this['disposeWithMe'](this[_0x351b78(0x288)][_0x351b78(0x380)][_0x351b78(0x3bb)](d[_0x351b78(0x167)](()=>{const _0x5ba2fc=_0x351b78,_0x56d9f9=this[_0x5ba2fc(0x288)][_0x5ba2fc(0x24c)]();return _0x56d9f9?this[_0x5ba2fc(0x323)][_0x5ba2fc(0x18c)](_0x56d9f9[_0x5ba2fc(0x1f1)]()):d['of'](null);}),d[_0x351b78(0x167)](_0x8f7b85=>_0x8f7b85?_0x8f7b85['status$']:d['of'](u[_0x351b78(0x375)][_0x351b78(0x191)])))[_0x351b78(0x2d5)](_0xe41370=>{const _0x49442c=_0x351b78;this[_0x49442c(0x2a7)][_0x49442c(0x157)](_0xe41370);}));}[_0x114f12(0x24d)](){const _0x198805=_0x114f12;this['disposeWithMe'](this[_0x198805(0x320)][_0x198805(0x20a)](R['BuiltInUIPart']['HEADER_MENU'],()=>R[_0x198805(0x2be)](kt({'status$':this[_0x198805(0x2a7)][_0x198805(0x158)]()}),this[_0x198805(0x39b)])));}},exports[_0x114f12(0x213)]=jt([V(0x0,a[_0x114f12(0x182)]),V(0x1,a[_0x114f12(0x2fe)](a['Injector'])),V(0x2,a['Inject'](u['CollaborationController'])),V(0x3,R['IUIPartsService'])],exports[_0x114f12(0x213)]);function kt(_0x39aa18){const {status$:_0xacad66}=_0x39aa18;return function(){const _0xafde04=_0x7083;return w[_0xafde04(0x21d)](je,{'status$':_0xacad66});};}var Bt=Object[_0x114f12(0x358)],Ht=(_0x412e1a,_0x109452,_0xa96071,_0x1414b4)=>{const _0x568e66=_0x114f12;for(var _0x57225f=_0x1414b4>0x1?void 0x0:_0x1414b4?Bt(_0x109452,_0xa96071):_0x109452,_0x369337=_0x412e1a[_0x568e66(0x200)]-0x1,_0x549253;_0x369337>=0x0;_0x369337--)(_0x549253=_0x412e1a[_0x369337])&&(_0x57225f=_0x549253(_0x57225f)||_0x57225f);return _0x57225f;},A=(_0x510e4f,_0xbff620)=>(_0x54d3c1,_0x1b95db)=>_0xbff620(_0x54d3c1,_0x1b95db,_0x510e4f);let z=class extends a[_0x114f12(0x22e)]{constructor(_0x1cb0d9,_0x4812ad,_0x449529,_0x5e13a2,_0xf6649d,_0xe6a5de){const _0x34efce=_0x114f12;super(),this['_beforeCloseService']=_0x1cb0d9,this[_0x34efce(0x360)]=_0x4812ad,this[_0x34efce(0x2a6)]=_0x449529,this[_0x34efce(0x2c8)]=_0x5e13a2,this[_0x34efce(0x336)]=_0xf6649d,this['_localeService']=_0xe6a5de,this['_setupBeforeClosingHandler'](),this[_0x34efce(0x322)]();}[_0x114f12(0x22f)](){const _0x3c6e92=_0x114f12;this[_0x3c6e92(0x19c)](this[_0x3c6e92(0x3b7)][_0x3c6e92(0x2b9)](()=>{const _0x2b6147=_0x3c6e92;if(this['_localCacheService'][_0x2b6147(0x164)]['size'])return this[_0x2b6147(0x28e)]['t'](_0x2b6147(0x3a2));}));}['_initEvent'](){const _0x3887c8=_0x114f12;this[_0x3887c8(0x19c)](this[_0x3887c8(0x2a6)][_0x3887c8(0x2b0)]['subscribe'](_0x278a87=>{const _0x4faa45=_0x3887c8;_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x373)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x27c))}),_0x278a87['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T['MessageType'][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x15a))}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x22d)]&&this[_0x4faa45(0x336)][_0x4faa45(0x187)]({'title':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x245)),'content':this[_0x4faa45(0x28e)]['t']('permission.content'),'type':_0x4faa45(0x154),'duration':0x0}),_0x278a87['id']===u[_0x4faa45(0x1da)]['CONFLICT']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x242)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x15a))+'('+_0x278a87[_0x4faa45(0x174)]+')'}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x38f)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)]['Warning'],'content':this[_0x4faa45(0x28e)]['t'](_0x278a87[_0x4faa45(0x174)]||'')}),_0x278a87['id']===u[_0x4faa45(0x1da)]['SOCKET_FAILED_RETRY']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x2f9))}),_0x278a87['id']===u['CollaborationUIEventId'][_0x4faa45(0x2d9)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T['MessageType']['Error'],'content':this[_0x4faa45(0x28e)]['t']('session.connection-failed')}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x28d)]&&this[_0x4faa45(0x2c8)]['show']({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x242)],'content':this['_localeService']['t'](_0x4faa45(0x2ee))});}));}};z=Ht([A(0x0,R[_0x114f12(0x281)]),A(0x1,u[_0x114f12(0x1b3)]),A(0x2,a[_0x114f12(0x2fe)](u['CollaborationUIEventService'])),A(0x3,R[_0x114f12(0x198)]),A(0x4,R[_0x114f12(0x24a)]),A(0x5,a[_0x114f12(0x2fe)](a[_0x114f12(0x15f)]))],z);const Wt=_0x114f12(0x35a),Me={},Ee=a[_0x114f12(0x1b6)](_0x114f12(0x3a3));var Ft=Object['getOwnPropertyDescriptor'],Yt=(_0x56ff02,_0x42af98,_0x183b20,_0x222d2)=>{const _0x19988e=_0x114f12;for(var _0x7ebc2e=_0x222d2>0x1?void 0x0:_0x222d2?Ft(_0x42af98,_0x183b20):_0x42af98,_0x381ed0=_0x56ff02[_0x19988e(0x200)]-0x1,_0x50e24a;_0x381ed0>=0x0;_0x381ed0--)(_0x50e24a=_0x56ff02[_0x381ed0])&&(_0x7ebc2e=_0x50e24a(_0x7ebc2e)||_0x7ebc2e);return _0x7ebc2e;},W=(_0x221698,_0x37e1f8)=>(_0x1b5052,_0x508c1b)=>_0x37e1f8(_0x1b5052,_0x508c1b,_0x221698);exports[_0x114f12(0x2bb)]=class extends a[_0x114f12(0x1de)]{constructor(_0x5490c6,_0x313648,_0x456dcb,_0x2ca2bb,_0x57e9e1){const _0x316dbe=_0x114f12;super(),this[_0x316dbe(0x33e)]=_0x5490c6,this[_0x316dbe(0x168)]=_0x313648,this[_0x316dbe(0x395)]=_0x456dcb,this[_0x316dbe(0x146)]=_0x2ca2bb,_0x57e9e1?_0x57e9e1==null||_0x57e9e1[_0x316dbe(0x1bb)]()[_0x316dbe(0x181)](()=>this[_0x316dbe(0x1f3)]()):(this['_logService'][_0x316dbe(0x24e)](_0x316dbe(0x2e5),_0x316dbe(0x28f)),this[_0x316dbe(0x1f3)]());}async['_init'](){const _0x17f3ed=_0x114f12,_0x4195be=this[_0x17f3ed(0x33e)][_0x17f3ed(0x23e)](_0x17f3ed(0x19e)),_0x21f7e9=this['_urlService'][_0x17f3ed(0x23e)]('type'),_0x26f6dc=this[_0x17f3ed(0x33e)][_0x17f3ed(0x23e)](_0x17f3ed(0x15b));if(!_0x4195be||!_0x21f7e9){this[_0x17f3ed(0x168)]['debug'](_0x17f3ed(0x2e5),_0x17f3ed(0x3b4));return;}const _0x3f4210=await this['_dataLoaderService']['loadUnit'](_0x4195be,Number(_0x21f7e9),_0x26f6dc);_0x3f4210&&_0x3f4210 instanceof a['Workbook']&&this[_0x17f3ed(0x149)](_0x3f4210);}async['_setupSubUnitSync'](_0x1a2867){const _0x30128d=_0x114f12;await this[_0x30128d(0x2cd)](_0x1a2867),_0x1a2867[_0x30128d(0x17d)]['pipe'](d[_0x30128d(0x23f)](this[_0x30128d(0x350)]))[_0x30128d(0x2d5)](_0x41a564=>{_0x41a564&&this['_updateURLWithCurrentState'](_0x41a564);}),this[_0x30128d(0x33e)][_0x30128d(0x337)][_0x30128d(0x3bb)](d[_0x30128d(0x23f)](this[_0x30128d(0x350)]))[_0x30128d(0x2d5)](()=>this[_0x30128d(0x2cd)](_0x1a2867));}[_0x114f12(0x1ae)](_0x373145,_0x22bb6c=!0x1){const _0x2ec8f8=_0x114f12,_0xa0c38c=this[_0x2ec8f8(0x33e)][_0x2ec8f8(0x23e)](_0x2ec8f8(0x15b));_0x373145[_0x2ec8f8(0x300)]()!==_0xa0c38c&&this[_0x2ec8f8(0x33e)][_0x2ec8f8(0x34d)]('subunit',_0x373145[_0x2ec8f8(0x300)](),_0x22bb6c);}async[_0x114f12(0x2cd)](_0x48884d){const _0x1984bf=_0x114f12;var _0x5b3871;const _0x25c63f=this[_0x1984bf(0x33e)][_0x1984bf(0x23e)](_0x1984bf(0x15b));if(!_0x25c63f||!_0x48884d[_0x1984bf(0x177)](_0x25c63f)){const _0xe2a333=_0x48884d[_0x1984bf(0x29e)]()[0x0],_0x92e82d=_0x48884d[_0x1984bf(0x177)](_0xe2a333);if(!_0x92e82d)return;this[_0x1984bf(0x1ae)](_0x92e82d,!0x0),await this['_commandService']['executeCommand'](I[_0x1984bf(0x20c)]['id'],{'unitId':_0x48884d[_0x1984bf(0x1f1)](),'subUnitId':_0xe2a333});return;}((_0x5b3871=_0x48884d[_0x1984bf(0x186)]())==null?void 0x0:_0x5b3871[_0x1984bf(0x300)]())!==_0x25c63f&&await this[_0x1984bf(0x395)][_0x1984bf(0x319)](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x48884d[_0x1984bf(0x1f1)](),'subUnitId':_0x25c63f});}},exports[_0x114f12(0x2bb)]=Yt([W(0x0,Ee),W(0x1,a[_0x114f12(0x1c0)]),W(0x2,a['ICommandService']),W(0x3,a[_0x114f12(0x2fe)](u[_0x114f12(0x260)])),W(0x4,a[_0x114f12(0x1e5)](Ke[_0x114f12(0x262)]))],exports[_0x114f12(0x2bb)]);var Xt=Object[_0x114f12(0x358)],Vt=(_0x1c46d4,_0x12bd7b,_0x46b193,_0x33e81e)=>{const _0x7f037b=_0x114f12;for(var _0x5d8176=_0x33e81e>0x1?void 0x0:_0x33e81e?Xt(_0x12bd7b,_0x46b193):_0x12bd7b,_0x3df14f=_0x1c46d4[_0x7f037b(0x200)]-0x1,_0x2186f1;_0x3df14f>=0x0;_0x3df14f--)(_0x2186f1=_0x1c46d4[_0x3df14f])&&(_0x5d8176=_0x2186f1(_0x5d8176)||_0x5d8176);return _0x5d8176;},le=(_0x162911,_0x571dd8)=>(_0x985011,_0x3ff724)=>_0x571dd8(_0x985011,_0x3ff724,_0x162911);let J=class{constructor(_0x3328bd,_0x24ce4f,_0x30301d){const _0x557c6c=_0x114f12;this[_0x557c6c(0x39b)]=_0x3328bd,this[_0x557c6c(0x372)]=_0x24ce4f,this['_renderManagerService']=_0x30301d;}['transformIMECache'](_0x3fc405){const _0x1bb0b9=_0x114f12;this[_0x1bb0b9(0x285)](_0x3fc405),this['_transformPreviousActiveRange'](_0x3fc405);}[_0x114f12(0x1cf)](_0xc59af8){const _0x3e1c3b=_0x114f12,{unitID:_0xe5426a}=_0xc59af8,_0x1d1dd6=this[_0x3e1c3b(0x339)][_0x3e1c3b(0x332)](_0xe5426a)[_0x3e1c3b(0x1d2)](b[_0x3e1c3b(0x184)]),{redoCache:_0x5cb61e}=_0x1d1dd6[_0x3e1c3b(0x14e)]();if(_0x5cb61e[_0x3e1c3b(0x200)]===0x0)return _0xc59af8;let _0x1a0be5=a[_0x3e1c3b(0x39e)][_0x3e1c3b(0x201)](_0xc59af8[_0x3e1c3b(0x2fb)][0x0]);for(let _0x284334=0x0;_0x284334<_0x5cb61e[_0x3e1c3b(0x200)];_0x284334++){const _0x537453={'id':_0x3e1c3b(0x36e),'params':{..._0x5cb61e[_0x284334]}},_0x226d61=this[_0x3e1c3b(0x372)][_0x3e1c3b(0x3b6)](_0x1a0be5,_0x537453,!0x1);if(m['isTransformMutationFailure'](_0x226d61))throw _0x226d61['error'];_0x1a0be5=_0x226d61[_0x3e1c3b(0x1fc)];}return{...a[_0x3e1c3b(0x39e)][_0x3e1c3b(0x201)](_0xc59af8),'mutations':[_0x1a0be5]};}[_0x114f12(0x285)](_0x183070){const _0x3b1826=_0x114f12,{unitID:_0x58b140}=_0x183070,_0x3e1cc5=this[_0x3b1826(0x339)][_0x3b1826(0x332)](_0x58b140)[_0x3b1826(0x1d2)](b['DocIMEInputManagerService']),{undoCache:_0x4bbc65,redoCache:_0x29a8de}=_0x3e1cc5[_0x3b1826(0x14e)]();if(_0x4bbc65['length']===0x0||_0x29a8de[_0x3b1826(0x200)]===0x0)return;const _0x353e31=[],_0x42548c=[];let _0x56d05d=a[_0x3b1826(0x39e)]['deepClone'](_0x183070[_0x3b1826(0x2fb)][0x0]),_0x194ab8=a[_0x3b1826(0x39e)][_0x3b1826(0x201)](_0x183070[_0x3b1826(0x2fb)][0x0]);for(let _0x599d7b=_0x4bbc65[_0x3b1826(0x200)]-0x1;_0x599d7b>=0x0;_0x599d7b--){const _0x377708={'id':_0x3b1826(0x36e),'params':{..._0x4bbc65[_0x599d7b]}},_0x1add4d={'id':_0x3b1826(0x36e),'params':{..._0x29a8de[_0x599d7b]}},_0xc6ea78=this[_0x3b1826(0x372)]['transformMutation'](_0x56d05d,_0x377708,!0x1),_0x19dbe2=this[_0x3b1826(0x372)][_0x3b1826(0x3b6)](_0x194ab8,_0x1add4d,!0x1);if(m[_0x3b1826(0x3b8)](_0xc6ea78))throw _0xc6ea78[_0x3b1826(0x154)];if(m[_0x3b1826(0x3b8)](_0x19dbe2))throw _0x19dbe2[_0x3b1826(0x154)];_0x353e31[_0x3b1826(0x37f)](_0xc6ea78['m2Prime'][_0x3b1826(0x1e4)]),_0x42548c[_0x3b1826(0x37f)](_0x19dbe2[_0x3b1826(0x208)][_0x3b1826(0x1e4)]),_0x56d05d=_0xc6ea78[_0x3b1826(0x1fc)],_0x194ab8=_0x19dbe2[_0x3b1826(0x1fc)];}_0x3e1cc5['setUndoRedoMutationParamsCache']({'undoCache':_0x353e31,'redoCache':_0x42548c});}['_transformPreviousActiveRange'](_0x8c4a8a){const _0x5dbc79=_0x114f12,{unitID:_0x119530}=_0x8c4a8a,_0x3fbfe4=this[_0x5dbc79(0x339)]['getRenderById'](_0x119530)[_0x5dbc79(0x1d2)](b['DocIMEInputManagerService']),_0x2a1f6f=_0x3fbfe4['getActiveRange']();if(_0x2a1f6f==null)return;const _0x2be449=[{'id':_0x5dbc79(0x36e),'params':{'unitId':_0x8c4a8a['unitID'],'actions':null,'textRanges':[_0x2a1f6f]}}],_0x406f37=this[_0x5dbc79(0x372)]['transformMutationsWithChangeset'](_0x8c4a8a,_0x2be449);if(!m[_0x5dbc79(0x1c3)](_0x406f37))throw _0x406f37[_0x5dbc79(0x154)];const _0xd12087=_0x406f37[_0x5dbc79(0x208)][0x0][_0x5dbc79(0x1e4)][_0x5dbc79(0x315)];Array['isArray'](_0xd12087)&&_0xd12087[_0x5dbc79(0x200)]&&_0x3fbfe4['setActiveRange'](_0xd12087[0x0]);}};J=Vt([le(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),le(0x1,m[_0x114f12(0x226)]),le(0x2,p[_0x114f12(0x1eb)])],J);var Gt=Object[_0x114f12(0x358)],qt=(_0x3aa3c3,_0xa542a4,_0x5efdd2,_0x47e296)=>{const _0x52e217=_0x114f12;for(var _0x181bf1=_0x47e296>0x1?void 0x0:_0x47e296?Gt(_0xa542a4,_0x5efdd2):_0xa542a4,_0xc377b9=_0x3aa3c3[_0x52e217(0x200)]-0x1,_0x2b072a;_0xc377b9>=0x0;_0xc377b9--)(_0x2b072a=_0x3aa3c3[_0xc377b9])&&(_0x181bf1=_0x2b072a(_0x181bf1)||_0x181bf1);return _0x181bf1;},he=(_0x332006,_0x85343c)=>(_0x777d21,_0x15829b)=>_0x85343c(_0x777d21,_0x15829b,_0x332006);let Z=class{constructor(_0x44242c,_0x8536b2,_0x2be8e2){const _0x5bdc81=_0x114f12;this[_0x5bdc81(0x39b)]=_0x44242c,this[_0x5bdc81(0x372)]=_0x8536b2,this[_0x5bdc81(0x1fa)]=_0x2be8e2;}[_0x114f12(0x29f)](_0x3ca450){const _0x11c3c5=_0x114f12;this[_0x11c3c5(0x379)](_0x3ca450);}[_0x114f12(0x1cf)](_0x37ef3c){const _0x1ee4eb=_0x114f12,{unitID:_0x15bf5e}=_0x37ef3c,{collaboration:_0x1a22c9}=this['_docStateChangeManagerService'][_0x1ee4eb(0x1ef)](_0x15bf5e);if(_0x1a22c9['length']===0x0)return _0x37ef3c;let _0x2ea087=a[_0x1ee4eb(0x39e)]['deepClone'](_0x37ef3c[_0x1ee4eb(0x2fb)][0x0]);for(let _0x367c6f=0x0;_0x367c6f<_0x1a22c9[_0x1ee4eb(0x200)];_0x367c6f++){const _0x21633f={'id':_0x1ee4eb(0x36e),'params':{'unitId':_0x1a22c9[_0x367c6f][_0x1ee4eb(0x163)],..._0x1a22c9[_0x367c6f]['redoState']}},_0x5c28de=this[_0x1ee4eb(0x372)]['transformMutation'](_0x2ea087,_0x21633f,!0x1);if(m[_0x1ee4eb(0x3b8)](_0x5c28de))throw _0x5c28de[_0x1ee4eb(0x154)];_0x2ea087=_0x5c28de[_0x1ee4eb(0x1fc)];}return{...a[_0x1ee4eb(0x39e)]['deepClone'](_0x37ef3c),'mutations':[_0x2ea087]};}[_0x114f12(0x379)](_0x2b8750){const _0x2d273b=_0x114f12,{unitID:_0x5cbf16}=_0x2b8750,{history:_0x24c17c,collaboration:_0x218bf4}=this[_0x2d273b(0x1fa)][_0x2d273b(0x1ef)](_0x5cbf16);if(_0x24c17c[_0x2d273b(0x200)]===0x0&&_0x218bf4[_0x2d273b(0x200)]===0x0)return;const _0x2a9b38=[],_0x172b1b=[];let _0x290cae=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750[_0x2d273b(0x2fb)][0x0]),_0x606a6d=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750['mutations'][0x0]);for(let _0x367db7=_0x24c17c[_0x2d273b(0x200)]-0x1;_0x367db7>=0x0;_0x367db7--){const _0x4122a4={'id':_0x2d273b(0x36e),'params':{'unitId':_0x24c17c[_0x367db7][_0x2d273b(0x163)],..._0x24c17c[_0x367db7][_0x2d273b(0x370)]}},_0x5357db={'id':_0x2d273b(0x36e),'params':{'unitId':_0x24c17c[_0x367db7][_0x2d273b(0x163)],..._0x24c17c[_0x367db7][_0x2d273b(0x32d)]}},_0x38d9fb=this['_transformService'][_0x2d273b(0x3b6)](_0x290cae,_0x4122a4,!0x1),_0x961555=this[_0x2d273b(0x372)][_0x2d273b(0x3b6)](_0x606a6d,_0x5357db,!0x1);if(m[_0x2d273b(0x3b8)](_0x38d9fb))throw _0x38d9fb[_0x2d273b(0x154)];if(m[_0x2d273b(0x3b8)](_0x961555))throw _0x961555[_0x2d273b(0x154)];_0x2a9b38[_0x2d273b(0x37f)]({..._0x24c17c[_0x367db7],'undoState':_0x38d9fb[_0x2d273b(0x208)]['params'],'redoState':_0x961555['m2Prime'][_0x2d273b(0x1e4)]}),_0x290cae=_0x38d9fb['m1Prime'],_0x606a6d=_0x961555[_0x2d273b(0x1fc)];}_0x290cae=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750['mutations'][0x0]),_0x606a6d=a['Tools'][_0x2d273b(0x201)](_0x2b8750[_0x2d273b(0x2fb)][0x0]);for(let _0x25763a=_0x218bf4['length']-0x1;_0x25763a>=0x0;_0x25763a--){const _0x2d2d91={'id':_0x2d273b(0x36e),'params':{'unitId':_0x218bf4[_0x25763a][_0x2d273b(0x163)],..._0x218bf4[_0x25763a]['undoState']}},_0x202a4f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x218bf4[_0x25763a][_0x2d273b(0x163)],..._0x218bf4[_0x25763a]['redoState']}},_0x36cb2c=this['_transformService'][_0x2d273b(0x3b6)](_0x290cae,_0x2d2d91,!0x1),_0x5533cf=this['_transformService'][_0x2d273b(0x3b6)](_0x606a6d,_0x202a4f,!0x1);if(m['isTransformMutationFailure'](_0x36cb2c))throw _0x36cb2c[_0x2d273b(0x154)];if(m[_0x2d273b(0x3b8)](_0x5533cf))throw _0x5533cf[_0x2d273b(0x154)];_0x172b1b[_0x2d273b(0x37f)]({..._0x218bf4[_0x25763a],'undoState':_0x36cb2c[_0x2d273b(0x208)][_0x2d273b(0x1e4)],'redoState':_0x5533cf[_0x2d273b(0x208)][_0x2d273b(0x1e4)]}),_0x290cae=_0x36cb2c['m1Prime'],_0x606a6d=_0x5533cf[_0x2d273b(0x1fc)];}this['_docStateChangeManagerService'][_0x2d273b(0x217)](_0x5cbf16,{'history':_0x2a9b38,'collaboration':_0x172b1b});}};Z=qt([he(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),he(0x1,m[_0x114f12(0x226)]),he(0x2,a[_0x114f12(0x2fe)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x114f12(0x358)],zt=(_0x4fc443,_0x50dc53,_0x3cf530,_0x29a9b8)=>{const _0x585242=_0x114f12;for(var _0x36566c=_0x29a9b8>0x1?void 0x0:_0x29a9b8?Kt(_0x50dc53,_0x3cf530):_0x50dc53,_0x25e0f8=_0x4fc443[_0x585242(0x200)]-0x1,_0x47d0ea;_0x25e0f8>=0x0;_0x25e0f8--)(_0x47d0ea=_0x4fc443[_0x25e0f8])&&(_0x36566c=_0x47d0ea(_0x36566c)||_0x36566c);return _0x36566c;},Pe=(_0x6cb3c8,_0x28e9d6)=>(_0x58efee,_0x257c12)=>_0x28e9d6(_0x58efee,_0x257c12,_0x6cb3c8);let Q=class{constructor(_0x5a28c8,_0x5017ea){const _0x452689=_0x114f12;this[_0x452689(0x39b)]=_0x5a28c8,this[_0x452689(0x372)]=_0x5017ea;}[_0x114f12(0x2a0)](_0x19a661){const _0x408b1b=_0x114f12;var _0x4d664f;const _0x301bb1=this[_0x408b1b(0x39b)][_0x408b1b(0x221)](Y[_0x408b1b(0x36c)]),_0x4d564d=(_0x4d664f=_0x301bb1[_0x408b1b(0x22b)]())!=null?_0x4d664f:[];if(_0x4d564d[_0x408b1b(0x200)]===0x0)return;const _0x44744c=_0x19a661[_0x408b1b(0x26c)],_0x53f4e9=[{'id':_0x408b1b(0x36e),'params':{'unitId':_0x44744c,'actions':null,'textRanges':_0x4d564d}}],_0x9b8a3c=this[_0x408b1b(0x372)][_0x408b1b(0x39a)](_0x19a661,_0x53f4e9);if(!m['isTransformMutationsWithChangesetSuccess'](_0x9b8a3c))throw _0x9b8a3c[_0x408b1b(0x154)];const _0x4f5dcd=_0x9b8a3c['m2Prime'][0x0][_0x408b1b(0x1e4)][_0x408b1b(0x315)];Array[_0x408b1b(0x17b)](_0x4f5dcd)&&_0x4f5dcd[_0x408b1b(0x200)]&&_0x301bb1[_0x408b1b(0x159)](_0x4f5dcd,{'unitId':_0x44744c,'subUnitId':_0x44744c},!0x1);}};Q=zt([Pe(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),Pe(0x1,m[_0x114f12(0x226)])],Q);var Jt=Object[_0x114f12(0x358)],Zt=(_0x58d617,_0x4cb44e,_0x19c351,_0x1202a5)=>{const _0x3e432d=_0x114f12;for(var _0x2f86f6=_0x1202a5>0x1?void 0x0:_0x1202a5?Jt(_0x4cb44e,_0x19c351):_0x4cb44e,_0x16b396=_0x58d617[_0x3e432d(0x200)]-0x1,_0x6c039d;_0x16b396>=0x0;_0x16b396--)(_0x6c039d=_0x58d617[_0x16b396])&&(_0x2f86f6=_0x6c039d(_0x2f86f6)||_0x2f86f6);return _0x2f86f6;},M=(_0x1f5a2f,_0x3fe033)=>(_0xcd5a41,_0x3cd63c)=>_0x3fe033(_0xcd5a41,_0x3cd63c,_0x1f5a2f);let ee=class extends a[_0x114f12(0x22e)]{constructor(_0xbcecc7,_0x2ef8ef,_0x5a5f47,_0x1db99c,_0x16f962,_0x456e89,_0x38c20a,_0x504b3a){const _0x9ddd9a=_0x114f12;super(),h(this,_0x9ddd9a(0x2a7),new d[(_0x9ddd9a(0x38e))](u[_0x9ddd9a(0x375)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xbcecc7,this[_0x9ddd9a(0x323)]=_0x2ef8ef,this['_docTransformIMECacheService']=_0x5a5f47,this[_0x9ddd9a(0x3a8)]=_0x1db99c,this[_0x9ddd9a(0x1e7)]=_0x16f962,this['_docSyncEditingCollabCursorService']=_0x456e89,this[_0x9ddd9a(0x2c8)]=_0x38c20a,this['_localeService']=_0x504b3a,this[_0x9ddd9a(0x3b3)]());}[_0x114f12(0x3b3)](){const _0x42daee=_0x114f12;this[_0x42daee(0x19c)](this[_0x42daee(0x323)][_0x42daee(0x2e3)]['subscribe'](_0x4a3878=>{const _0x2155d1=_0x42daee,_0x4b9dc1=this[_0x2155d1(0x1fa)][_0x2155d1(0x161)][_0x2155d1(0x2d5)](_0x5bdeb8=>{const _0x14c995=_0x2155d1;if(_0x5bdeb8==null)return;const {unitId:_0x3b3ac2,redoState:_0x38275f,commandId:_0x4e95ef}=_0x5bdeb8;if(_0x3b3ac2!==_0x4a3878[_0x14c995(0x26c)])return;const _0x31de40={'id':_0x4e95ef,'type':a[_0x14c995(0x25e)][_0x14c995(0x38b)],'params':{'unitId':_0x3b3ac2,'actions':_0x38275f[_0x14c995(0x324)],'textRanges':null}};_0x4a3878[_0x14c995(0x14b)](_0x31de40);});if(_0x4a3878['disposeWithMe'](_0x4b9dc1),_0x4a3878 instanceof u[_0x2155d1(0x21b)]){const _0x52ce4f={'onTransformIME':_0x46d492=>this['_docTransformIMECacheService'][_0x2155d1(0x2c5)](_0x46d492),'onTransformState':_0x3223d6=>this[_0x2155d1(0x3a8)][_0x2155d1(0x29f)](_0x3223d6),'onTransformSelections':_0x24cc54=>this['_docTransformSelectionsService'][_0x2155d1(0x2a0)](_0x24cc54),'onSyncEditingCollabCursor':_0x27a175=>this[_0x2155d1(0x1db)][_0x2155d1(0x37d)](_0x27a175),'onTransformRemoteChangesetByIMECache':_0x1d7b80=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x1d7b80),'onTransformRemoteChangesetByStateCache':_0x36d419=>this[_0x2155d1(0x3a8)]['transformRemoteChangeset'](_0x36d419)};_0x4a3878[_0x2155d1(0x14d)](_0x52ce4f);}}));}};ee=Zt([M(0x0,a[_0x114f12(0x2fe)](b[_0x114f12(0x334)])),M(0x1,a[_0x114f12(0x2fe)](u[_0x114f12(0x317)])),M(0x2,a[_0x114f12(0x2fe)](J)),M(0x3,a[_0x114f12(0x2fe)](Z)),M(0x4,a[_0x114f12(0x2fe)](Q)),M(0x5,a[_0x114f12(0x2fe)](pe)),M(0x6,R[_0x114f12(0x198)]),M(0x7,a[_0x114f12(0x2fe)](a[_0x114f12(0x15f)]))],ee);var Qt=Object[_0x114f12(0x358)],es=(_0x12f4b0,_0x298ab8,_0x338b1c,_0xe573e7)=>{const _0x5b8b66=_0x114f12;for(var _0x3d6344=_0xe573e7>0x1?void 0x0:_0xe573e7?Qt(_0x298ab8,_0x338b1c):_0x298ab8,_0x23e7cf=_0x12f4b0[_0x5b8b66(0x200)]-0x1,_0x50a3b6;_0x23e7cf>=0x0;_0x23e7cf--)(_0x50a3b6=_0x12f4b0[_0x23e7cf])&&(_0x3d6344=_0x50a3b6(_0x3d6344)||_0x3d6344);return _0x3d6344;},_e=(_0xc927b,_0x343c27)=>(_0xf3a13a,_0xfc9d7c)=>_0x343c27(_0xf3a13a,_0xfc9d7c,_0xc927b);let me=class extends a[_0x114f12(0x22e)]{constructor(_0x312ccc,_0x3f86c4,_0x2bfbe0){const _0x2798eb=_0x114f12;super(),h(this,_0x2798eb(0x2b3),new Map()),h(this,_0x2798eb(0x33d),new Map()),h(this,_0x2798eb(0x1bf),!0x1),(this[_0x2798eb(0x20e)]=_0x312ccc,this[_0x2798eb(0x1cc)]=_0x3f86c4,this[_0x2798eb(0x153)]=_0x2bfbe0);}[_0x114f12(0x170)](){const _0xa91aee=_0x114f12;this[_0xa91aee(0x1bf)]=!0x0;}[_0x114f12(0x1ce)](){this['_disabled']=!0x1;}get[_0x114f12(0x164)](){const _0x15ecef=_0x114f12;return this[_0x15ecef(0x33d)];}['dispose'](){const _0x72d090=_0x114f12;this[_0x72d090(0x357)]()[_0x72d090(0x181)](()=>super['dispose']());}async[_0x114f12(0x1b0)](_0x185164){const _0xc86dc4=_0x114f12;return this['_disabled']?null:this[_0xc86dc4(0x1cc)]['getItem'](u[_0xc86dc4(0x32a)](_0x185164));}async[_0x114f12(0x2dd)](_0x5c893f,_0xe867dc){const _0x322e6d=_0x114f12;return!!this[_0x322e6d(0x1cc)]['setItem'](_0x5c893f,_0xe867dc);}[_0x114f12(0x1dc)](_0x39c4d3,_0x48831d,_0x26335f,_0x5cb869){const _0x15c135=_0x114f12,_0x373f64=this[_0x15c135(0x153)][_0x15c135(0x36f)](_0x39c4d3);this[_0x15c135(0x2b3)][_0x15c135(0x2a3)](_0x39c4d3,{'unitID':_0x39c4d3,'type':_0x48831d,'awaitingChangeset':_0x26335f,'mutations':_0x5cb869,'rev':_0x373f64}),this[_0x15c135(0x33d)][_0x15c135(0x3bc)](_0x39c4d3)||this['_scheduleSaving'](_0x39c4d3);}[_0x114f12(0x18d)](_0x2903bd){const _0x13eb7c=_0x114f12,_0x490e2d=this[_0x13eb7c(0x34b)]();_0x490e2d===0x0?this['_saveCache'](_0x2903bd):this[_0x13eb7c(0x33d)][_0x13eb7c(0x2a3)](_0x2903bd,setTimeout(()=>this['_saveCache'](_0x2903bd),_0x490e2d));}[_0x114f12(0x34b)](){const _0x29fafa=_0x114f12;var _0xbb903e;return(_0xbb903e=this[_0x29fafa(0x20e)][_0x29fafa(0x155)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xbb903e:u[_0x29fafa(0x309)];}[_0x114f12(0x377)](_0x293315){const _0xa02aea=_0x114f12,_0xcaa169=this[_0xa02aea(0x33d)][_0xa02aea(0x221)](_0x293315);return _0xcaa169!==void 0x0&&window[_0xa02aea(0x1ed)](_0xcaa169),this[_0xa02aea(0x1cc)][_0xa02aea(0x313)](u['getLocalCacheKey'](_0x293315),this[_0xa02aea(0x2b3)][_0xa02aea(0x221)](_0x293315))[_0xa02aea(0x181)](()=>this['_saveTaskMap'][_0xa02aea(0x14c)](_0x293315));}async[_0x114f12(0x357)](){const _0x10ccbf=_0x114f12,_0xc15356=[];this['_saveTaskMap'][_0x10ccbf(0x341)]((_0x5e5f59,_0x45bf02)=>{const _0xb522c7=_0x10ccbf;window['clearTimeout'](_0x5e5f59),_0xc15356[_0xb522c7(0x32e)](this[_0xb522c7(0x377)](_0x45bf02)[_0xb522c7(0x181)](()=>{const _0xe64ba0=_0xb522c7;this[_0xe64ba0(0x33d)][_0xe64ba0(0x14c)](_0x45bf02);}));}),await Promise['all'](_0xc15356);}};me=es([_e(0x0,a[_0x114f12(0x35c)]),_e(0x1,a[_0x114f12(0x321)]),_e(0x2,a[_0x114f12(0x2fe)](m['RevisionService']))],me);class ke extends a[_0x114f12(0x1de)]{constructor(){const _0x45fe2d=_0x114f12;super(),h(this,_0x45fe2d(0x337)),this[_0x45fe2d(0x337)]=d[_0x45fe2d(0x241)](window,'popstate')['pipe'](d['takeUntil'](this['dispose$']),d[_0x45fe2d(0x16b)](0x1),d[_0x45fe2d(0x37a)](void 0x0));}['setParam'](_0x2f1ed6,_0x26f17c,_0x180c39=!0x1){const _0x240474=_0x114f12,_0xef2379=new URL(window[_0x240474(0x2b8)][_0x240474(0x1b5)]);_0xef2379[_0x240474(0x38c)][_0x240474(0x2a3)](_0x2f1ed6,_0x26f17c),_0x180c39?window['history'][_0x240474(0x33f)]('','',_0xef2379['toString']()):window[_0x240474(0x1ac)][_0x240474(0x1bc)]('','',_0xef2379['toString']());}['removeParam'](_0x4fe4d3,_0x2b4a71=!0x1){const _0x3ed495=_0x114f12,_0x2be980=new URL(window[_0x3ed495(0x2b8)][_0x3ed495(0x1b5)]);_0x2be980[_0x3ed495(0x38c)][_0x3ed495(0x14c)](_0x4fe4d3),_0x2b4a71?window[_0x3ed495(0x1ac)][_0x3ed495(0x33f)]('','',_0x2be980[_0x3ed495(0x234)]()):window[_0x3ed495(0x1ac)][_0x3ed495(0x1bc)]('','',_0x2be980[_0x3ed495(0x234)]());}['getParam'](_0x31a439){const _0x3bdd86=_0x114f12;var _0xbd96d2;return(_0xbd96d2=new URL(window[_0x3bdd86(0x2b8)][_0x3bdd86(0x1b5)])[_0x3bdd86(0x38c)]['get'](_0x31a439))!=null?_0xbd96d2:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x114f12(0x358)],ns=(_0x43c8fd,_0x6ef037,_0x2efee5)=>_0x6ef037 in _0x43c8fd?ts(_0x43c8fd,_0x6ef037,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2efee5}):_0x43c8fd[_0x6ef037]=_0x2efee5,is=(_0x316fc7,_0x1ae230,_0x4798f6,_0x5e5224)=>{const _0x11f187=_0x114f12;for(var _0x3bdb61=_0x5e5224>0x1?void 0x0:_0x5e5224?ss(_0x1ae230,_0x4798f6):_0x1ae230,_0x2517ee=_0x316fc7[_0x11f187(0x200)]-0x1,_0x1a3287;_0x2517ee>=0x0;_0x2517ee--)(_0x1a3287=_0x316fc7[_0x2517ee])&&(_0x3bdb61=_0x1a3287(_0x3bdb61)||_0x3bdb61);return _0x3bdb61;},ue=(_0x2a60f9,_0x2dc070)=>(_0x466600,_0x5c0c14)=>_0x2dc070(_0x466600,_0x5c0c14,_0x2a60f9),rs=(_0x14c802,_0x508145,_0x196aaa)=>ns(_0x14c802,_0x508145+'',_0x196aaa);const os=_0x114f12(0x20b);exports[_0x114f12(0x2f5)]=class extends a[_0x114f12(0x2b5)]{constructor(_0x2f3b83=Me,_0x230611,_0x435f4f,_0x2fa9b5){const _0x6ec904=_0x114f12;super(),this['_config']=_0x2f3b83,this['_renderManagerService']=_0x230611,this[_0x6ec904(0x39b)]=_0x435f4f,this[_0x6ec904(0x20e)]=_0x2fa9b5;const {..._0x514c54}=a['merge']({},Me,this[_0x6ec904(0x2db)]);this['_configService'][_0x6ec904(0x3a6)](Wt,_0x514c54);}['onStarting'](){const _0x5d13c6=_0x114f12;this[_0x5d13c6(0x295)](),this[_0x5d13c6(0x2d1)]();}['onRendered'](){const _0x55f9ae=_0x114f12;this[_0x55f9ae(0x2a4)]();}[_0x114f12(0x295)](){const _0x3c7583=_0x114f12;var _0x1cb16c;const _0x3e0274=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x3c7583(0x266)],{'useClass':q[_0x3c7583(0x2ed)]}],[u[_0x3c7583(0x1b3)],{'useClass':me}],[exports[_0x3c7583(0x213)]],[ee],[z],[x],[fe],[exports['CollaborationDataLoaderController']]];a[_0x3c7583(0x2d2)](this[_0x3c7583(0x39b)],a['mergeOverrideWithDependencies'](_0x3e0274,(_0x1cb16c=this[_0x3c7583(0x2db)])==null?void 0x0:_0x1cb16c[_0x3c7583(0x1c1)]));}['_registerRenderDependencies'](){const _0xc5146e=_0x114f12;this['disposeWithMe'](this['_renderManagerService'][_0xc5146e(0x312)](a[_0xc5146e(0x307)][_0xc5146e(0x240)],[ge])),this[_0xc5146e(0x19c)](this[_0xc5146e(0x339)][_0xc5146e(0x312)](a[_0xc5146e(0x307)][_0xc5146e(0x267)],[Ie]));}[_0x114f12(0x2d1)](){const _0x18f162=_0x114f12;a[_0x18f162(0x394)](this[_0x18f162(0x39b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x18f162(0x2bb)]]]);}},rs(exports['UniverCollaborationClientUIPlugin'],_0x114f12(0x1d7),os),exports[_0x114f12(0x2f5)]=is([a[_0x114f12(0x21f)](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x114f12(0x1eb)]),ue(0x2,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),ue(0x3,a[_0x114f12(0x35c)])],exports['UniverCollaborationClientUIPlugin']);var as=Object['getOwnPropertyDescriptor'],cs=(_0x1172d1,_0x2faaf1,_0x5bdfbb,_0x12f643)=>{const _0x45bcfa=_0x114f12;for(var _0x49a601=_0x12f643>0x1?void 0x0:_0x12f643?as(_0x2faaf1,_0x5bdfbb):_0x2faaf1,_0x694917=_0x1172d1[_0x45bcfa(0x200)]-0x1,_0x4fcdce;_0x694917>=0x0;_0x694917--)(_0x4fcdce=_0x1172d1[_0x694917])&&(_0x49a601=_0x4fcdce(_0x49a601)||_0x49a601);return _0x49a601;},F=(_0x31ce5b,_0x5ef095)=>(_0x24e6a4,_0x3977bc)=>_0x5ef095(_0x24e6a4,_0x3977bc,_0x31ce5b);exports[_0x114f12(0x359)]=class extends u[_0x114f12(0x29d)]{constructor(_0x25a660,_0x4b49c6,_0x121105,_0x33add7,_0x3750af){super(_0x25a660,_0x4b49c6,_0x121105,_0x33add7,_0x3750af);}async['createSocket'](_0x29d7b4){const _0x2c2a58=_0x114f12,_0x7a5811=await this[_0x2c2a58(0x28c)](),_0x1aaec0=this[_0x2c2a58(0x2ce)](_0x29d7b4,_0x7a5811);return this[_0x2c2a58(0x1c5)](_0x1aaec0);}[_0x114f12(0x2ce)](_0x9415b7,_0x52ce41){const _0xcb0915=_0x114f12,_0x4bbbee=typeof window>'u'?new URL(_0x9415b7):new URL(_0x9415b7,window[_0xcb0915(0x2b8)][_0xcb0915(0x25b)]);_0x4bbbee['searchParams'][_0xcb0915(0x2a3)](_0xcb0915(0x2cc),_0x52ce41);const _0x4d5d91=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcb0915(0x2b8)][_0xcb0915(0x19f)]);return _0x4d5d91['get'](_0xcb0915(0x1fe))&&_0x4bbbee[_0xcb0915(0x38c)][_0xcb0915(0x2a3)](_0xcb0915(0x1fe),_0x4d5d91[_0xcb0915(0x221)](_0xcb0915(0x1fe))),_0x4bbbee[_0xcb0915(0x234)]();}async[_0x114f12(0x28c)](){const _0x4ca19d=_0x114f12;var _0x3612ef,_0x452755,_0x1a4890;const _0xf6de2e=this[_0x4ca19d(0x20e)][_0x4ca19d(0x155)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2d1da3=(_0x3612ef=_0xf6de2e==null?void 0x0:_0xf6de2e[_0x4ca19d(0x185)])!=null?_0x3612ef:u[_0x4ca19d(0x363)];return(_0x1a4890=(_0x452755=(await this[_0x4ca19d(0x1ba)][_0x4ca19d(0x221)](_0x2d1da3,{'headers':{'Content-Type':_0x4ca19d(0x362)}}))[_0x4ca19d(0x1b7)])==null?void 0x0:_0x452755[_0x4ca19d(0x1c8)])!=null?_0x1a4890:'';}},exports[_0x114f12(0x359)]=cs([F(0x0,a['Inject'](a[_0x114f12(0x203)])),F(0x1,a[_0x114f12(0x2fe)](q[_0x114f12(0x2e6)])),F(0x2,a[_0x114f12(0x35c)]),F(0x3,a[_0x114f12(0x1c0)]),F(0x4,m['ISnapshotServerService'])],exports[_0x114f12(0x359)]);const Ne=0x7530,we=_0x114f12(0x37c);class ls extends a['Disposable']{constructor(){const _0x320b03=_0x114f12;super(),h(this,_0x320b03(0x1c7),a[_0x320b03(0x1b9)]()),h(this,_0x320b03(0x18e),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x320b03(0x26d),null),h(this,_0x320b03(0x253),new Map()),h(this,_0x320b03(0x26a),new Map()),this['_init']();}[_0x114f12(0x2bc)](){const _0x11d08a=_0x114f12;super[_0x11d08a(0x2bc)](),this['_clearOtherTimers']['forEach']((_0x374cce,_0xde6d0c)=>this['_removeClearOtherTimer'](_0xde6d0c)),this[_0x11d08a(0x26d)]&&window[_0x11d08a(0x1e0)](this[_0x11d08a(0x26d)]);}[_0x114f12(0x1c2)](_0x57d2af){const _0x1b1c55=_0x114f12;return this[_0x1b1c55(0x369)](_0x57d2af)[_0x1b1c55(0x3bb)](d[_0x1b1c55(0x30e)]());}[_0x114f12(0x25c)](_0x540b0f){const _0x30cb10=_0x114f12;this[_0x30cb10(0x18e)][_0x30cb10(0x197)]===0x0&&this[_0x30cb10(0x2af)](),this[_0x30cb10(0x18e)]['add'](_0x540b0f),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x540b0f],'isForwarded':!0x1});}[_0x114f12(0x172)](_0x195510){const _0xfbb272=_0x114f12;this[_0xfbb272(0x18e)][_0xfbb272(0x14c)](_0x195510),this[_0xfbb272(0x18e)][_0xfbb272(0x197)]===0x0&&this[_0xfbb272(0x26d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x114f12(0x1f3)](){const _0x141900=_0x114f12;this[_0x141900(0x19c)](a['toDisposable'](d[_0x141900(0x241)](window,_0x141900(0x188))['subscribe'](_0x537eff=>{const _0x4aaf35=_0x141900;if(_0x537eff[_0x4aaf35(0x2bd)]!==we||!_0x537eff[_0x4aaf35(0x16f)])return;const _0xfeffb8=JSON[_0x4aaf35(0x2b1)](_0x537eff['newValue']);this[_0x4aaf35(0x3ab)](_0xfeffb8);}))),window[_0x141900(0x258)](_0x141900(0x218),()=>this['_send']({'type':0x1,'memberID':this[_0x141900(0x1c7)],'unitIDs':Array[_0x141900(0x366)](this[_0x141900(0x18e)])}));}['_handleEvent'](_0x332049){const _0x5a5553=_0x114f12;switch(_0x332049['type']){case 0x0:this[_0x5a5553(0x1d5)](_0x332049);break;case 0x1:this[_0x5a5553(0x18a)](_0x332049);break;case 0x2:this['_handleHeartbeatEvent'](_0x332049);break;}}[_0x114f12(0x1d5)](_0xe025f4){const _0x5112b7=_0x114f12,{unitIDs:_0x37cebd,memberID:_0x26b0b2,isForwarded:_0x190cad}=_0xe025f4;_0x37cebd[_0x5112b7(0x341)](_0x27e2bd=>{const _0x91a38b=_0x5112b7;if(!_0x190cad&&this[_0x91a38b(0x2f7)][_0x91a38b(0x3bc)](_0x27e2bd)&&this['_ensureSubject'](_0x27e2bd)[_0x91a38b(0x157)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x91a38b(0x2f7)][_0x91a38b(0x3bc)](_0x27e2bd)||!this[_0x91a38b(0x2f7)][_0x91a38b(0x221)](_0x27e2bd)[_0x91a38b(0x3bc)](_0x26b0b2)){const _0x2c5c89=this['_unitOnClients'][_0x91a38b(0x221)](_0x27e2bd)||new Set();_0x2c5c89[_0x91a38b(0x2fc)](_0x26b0b2),this[_0x91a38b(0x2f7)][_0x91a38b(0x2a3)](_0x27e2bd,_0x2c5c89),this[_0x91a38b(0x225)](_0x26b0b2);}}),_0x190cad||this['_send']({'type':0x0,'memberID':this[_0x5112b7(0x1c7)],'unitIDs':[...this[_0x5112b7(0x18e)]],'isForwarded':!0x0});}[_0x114f12(0x225)](_0x393499){const _0x400715=_0x114f12;this['_removeClearOtherTimer'](_0x393499);const _0x739a4=window['setTimeout'](()=>{const _0x568e4f=_0x7083;this[_0x568e4f(0x2f7)][_0x568e4f(0x341)](_0x3244ea=>{const _0x2de51f=_0x568e4f;_0x3244ea[_0x2de51f(0x14c)](_0x393499);});},Ne*0x2);this[_0x400715(0x253)][_0x400715(0x2a3)](_0x393499,_0x739a4);}[_0x114f12(0x2e7)](_0x2a55a6){const _0x3076b0=_0x114f12;if(this['_clearOtherTimers'][_0x3076b0(0x3bc)](_0x2a55a6)){const _0x3c255f=this[_0x3076b0(0x253)][_0x3076b0(0x221)](_0x2a55a6);_0x3c255f&&window[_0x3076b0(0x1ed)](_0x3c255f),this[_0x3076b0(0x253)][_0x3076b0(0x2a3)](_0x2a55a6,null);}}[_0x114f12(0x18a)](_0xd388c5){const _0x3c9383=_0x114f12,{memberID:_0x225e96,unitIDs:_0xe77ebe}=_0xd388c5;_0xe77ebe['forEach'](_0x4156a5=>{const _0x90ccd2=_0x7083;var _0x2e158c;const _0x599569=this[_0x90ccd2(0x2f7)][_0x90ccd2(0x221)](_0x4156a5);_0x599569&&(_0x599569[_0x90ccd2(0x14c)](_0x225e96),(_0x2e158c=this[_0x90ccd2(0x369)](_0x4156a5))==null||_0x2e158c['next'](_0x599569[_0x90ccd2(0x197)]===0x0?u[_0x90ccd2(0x270)][_0x90ccd2(0x374)]:u[_0x90ccd2(0x270)][_0x90ccd2(0x2c4)]));}),this[_0x3c9383(0x2e7)](_0x225e96);}[_0x114f12(0x16a)](_0x3abb12){const _0x3d8c4f=_0x114f12;this[_0x3d8c4f(0x225)](_0x3abb12[_0x3d8c4f(0x347)]);}[_0x114f12(0x346)](_0x5e3761){const _0x4c57ed=_0x114f12;localStorage[_0x4c57ed(0x313)](we,JSON[_0x4c57ed(0x23d)](_0x5e3761));}[_0x114f12(0x2af)](){const _0x438af1=_0x114f12;this[_0x438af1(0x26d)]=window['setInterval'](()=>{const _0x4db9b5=_0x438af1;this[_0x4db9b5(0x346)]({'type':0x2,'memberID':this[_0x4db9b5(0x1c7)]});},Ne);}['_ensureSubject'](_0x535696){const _0x1024ad=_0x114f12;return this[_0x1024ad(0x26a)][_0x1024ad(0x3bc)](_0x535696)||this[_0x1024ad(0x26a)][_0x1024ad(0x2a3)](_0x535696,new d[(_0x1024ad(0x38e))](u[_0x1024ad(0x270)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1024ad(0x26a)]['get'](_0x535696);}}var Be=(_0x4661d6=>(_0x4661d6[_0x4661d6[_0x114f12(0x348)]=0x0]=_0x114f12(0x348),_0x4661d6[_0x4661d6['OK']=0x1]='OK',_0x4661d6[_0x4661d6[_0x114f12(0x209)]=0x2]='INTERNAL_ERROR',_0x4661d6[_0x4661d6[_0x114f12(0x22d)]=0x3]=_0x114f12(0x22d),_0x4661d6[_0x4661d6[_0x114f12(0x371)]=0x4]='NOT_FOUND',_0x4661d6[_0x4661d6[_0x114f12(0x383)]=0x5]=_0x114f12(0x383),_0x4661d6[_0x4661d6[_0x114f12(0x229)]=0x6]=_0x114f12(0x229),_0x4661d6[_0x4661d6[_0x114f12(0x34a)]=0x7]=_0x114f12(0x34a),_0x4661d6[_0x4661d6[_0x114f12(0x328)]=0x8]=_0x114f12(0x328),_0x4661d6[_0x4661d6[_0x114f12(0x1b8)]=0x9]=_0x114f12(0x1b8),_0x4661d6[_0x4661d6['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4661d6[_0x4661d6[_0x114f12(0x1ab)]=0x1771]=_0x114f12(0x1ab),_0x4661d6[_0x4661d6[_0x114f12(0x38a)]=0x1772]=_0x114f12(0x38a),_0x4661d6[_0x4661d6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4661d6[_0x4661d6[_0x114f12(0x310)]=0x1b59]=_0x114f12(0x310),_0x4661d6[_0x4661d6[_0x114f12(0x1f9)]=0x1b5a]=_0x114f12(0x1f9),_0x4661d6[_0x4661d6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x114f12(0x254),_0x4661d6[_0x4661d6['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x114f12(0x352),_0x4661d6[_0x4661d6[_0x114f12(0x2eb)]=0x1b5d]=_0x114f12(0x2eb),_0x4661d6[_0x4661d6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x114f12(0x150),_0x4661d6[_0x4661d6[_0x114f12(0x32f)]=0x2329]=_0x114f12(0x32f),_0x4661d6[_0x4661d6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x114f12(0x1f4),_0x4661d6[_0x4661d6[_0x114f12(0x349)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4661d6[_0x4661d6['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x114f12(0x151),_0x4661d6[_0x4661d6[_0x114f12(0x27a)]=0x232d]=_0x114f12(0x27a),_0x4661d6[_0x4661d6[_0x114f12(0x1af)]=0x2711]=_0x114f12(0x1af),_0x4661d6[_0x4661d6[_0x114f12(0x386)]=0x2712]=_0x114f12(0x386),_0x4661d6[_0x4661d6[_0x114f12(0x1be)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4661d6[_0x4661d6[_0x114f12(0x1e9)]=0x2714]=_0x114f12(0x1e9),_0x4661d6[_0x4661d6[_0x114f12(0x306)]=0x2af9]=_0x114f12(0x306),_0x4661d6[_0x4661d6['UNRECOGNIZED']=-0x1]=_0x114f12(0x2d0),_0x4661d6))(Be||{}),hs=Object[_0x114f12(0x358)],_s=(_0x1cfb87,_0x429500,_0x3a3173,_0x4c7056)=>{const _0x2dbd9c=_0x114f12;for(var _0x43f0db=_0x4c7056>0x1?void 0x0:_0x4c7056?hs(_0x429500,_0x3a3173):_0x429500,_0x158932=_0x1cfb87[_0x2dbd9c(0x200)]-0x1,_0x34d172;_0x158932>=0x0;_0x158932--)(_0x34d172=_0x1cfb87[_0x158932])&&(_0x43f0db=_0x34d172(_0x43f0db)||_0x43f0db);return _0x43f0db;},de=(_0x2a2186,_0x59f525)=>(_0x4b16b6,_0x3c07ca)=>_0x59f525(_0x4b16b6,_0x3c07ca,_0x2a2186);exports[_0x114f12(0x31c)]=class extends a[_0x114f12(0x22e)]{constructor(_0x5a122d,_0x3d1649,_0x1e1e1b){const _0x594029=_0x114f12;super(),this[_0x594029(0x2f3)]=_0x5a122d,this[_0x594029(0x1ba)]=_0x3d1649,this[_0x594029(0x20e)]=_0x1e1e1b;}async[_0x114f12(0x1ca)](_0x339625,_0xa1634e,_0x4dd825,..._0x24e598){const _0x58cecf=_0x114f12;var _0x26f382,_0x26a86b,_0x1055e6,_0xa280b0;const _0x5e783d=this['_instanceService']['getFocusedUnit']();if(!_0x5e783d)throw new Error(_0x58cecf(0x351));const _0xd50c25=((_0x26f382=this[_0x58cecf(0x20e)][_0x58cecf(0x155)](u[_0x58cecf(0x21e)]))!=null?_0x26f382:u[_0x58cecf(0x2a8)])+'/'+_0x339625+_0x58cecf(0x305)+_0xa1634e,_0x46363a=new URL(window[_0x58cecf(0x2b8)][_0x58cecf(0x1b5)]),_0x541175={'scriptId':_0x339625,'runId':(_0x26a86b=_0x46363a[_0x58cecf(0x38c)][_0x58cecf(0x221)](_0x58cecf(0x1fe)))!=null?_0x26a86b:'','function':_0xa1634e,'unitId':_0x5e783d['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x24e598),'invokeId':(_0x1055e6=_0x4dd825[_0x58cecf(0x1cd)])!=null?_0x1055e6:'','executionId':(_0xa280b0=_0x4dd825['executionId'])!=null?_0xa280b0:''};try{const _0x222134=await this[_0x58cecf(0x1ba)]['post'](_0xd50c25,{'body':_0x541175});return _0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x154)]&&_0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x154)][_0x58cecf(0x192)]!==Be['OK']?_0x58cecf(0x34c):_0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x2c1)];}catch{return'Failed';}}},exports[_0x114f12(0x31c)]=_s([de(0x0,a[_0x114f12(0x182)]),de(0x1,a[_0x114f12(0x2fe)](q[_0x114f12(0x2e6)])),de(0x2,a[_0x114f12(0x35c)])],exports[_0x114f12(0x31c)]),exports[_0x114f12(0x3a1)]=je,exports[_0x114f12(0x156)]=Ee,exports[_0x114f12(0x176)]=ye,exports[_0x114f12(0x142)]=ls,exports[_0x114f12(0x39c)]=ke;
|
|
1
|
+
'use strict';const _0x46c603=_0x5a86;(function(_0xacf7c,_0x41424d){const _0x482a63=_0x5a86,_0x1bf9ac=_0xacf7c();while(!![]){try{const _0x2b9520=parseInt(_0x482a63(0x24b))/0x1*(parseInt(_0x482a63(0x2b7))/0x2)+-parseInt(_0x482a63(0x32d))/0x3*(-parseInt(_0x482a63(0x26a))/0x4)+parseInt(_0x482a63(0x26f))/0x5+-parseInt(_0x482a63(0x28c))/0x6*(parseInt(_0x482a63(0x126))/0x7)+-parseInt(_0x482a63(0x11c))/0x8+-parseInt(_0x482a63(0x284))/0x9+parseInt(_0x482a63(0x140))/0xa;if(_0x2b9520===_0x41424d)break;else _0x1bf9ac['push'](_0x1bf9ac['shift']());}catch(_0x36233d){_0x1bf9ac['push'](_0x1bf9ac['shift']());}}}(_0x40c4,0x3b139));var Ve=Object[_0x46c603(0x158)],Ge=(_0x2dc8a8,_0x4ac08a,_0x38cb4b)=>_0x4ac08a in _0x2dc8a8?Ve(_0x2dc8a8,_0x4ac08a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38cb4b}):_0x2dc8a8[_0x4ac08a]=_0x38cb4b,h=(_0x4da922,_0x4242e5,_0x112573)=>Ge(_0x4da922,typeof _0x4242e5!=_0x46c603(0x1eb)?_0x4242e5+'':_0x4242e5,_0x112573);Object[_0x46c603(0x158)](exports,Symbol[_0x46c603(0x1f0)],{'value':_0x46c603(0x321)});const u=require(_0x46c603(0x295)),a=require(_0x46c603(0x2f8)),p=require(_0x46c603(0x21d)),q=require(_0x46c603(0x11e)),b=require('@univerjs/docs-ui'),qe=require(_0x46c603(0x2c2)),d=require(_0x46c603(0x2e0)),Y=require('@univerjs/docs'),m=require(_0x46c603(0x283)),Te=require(_0x46c603(0x256)),I=require('@univerjs/sheets'),$=require(_0x46c603(0x18e)),G=require(_0x46c603(0x196)),w=require('react/jsx-runtime'),R=require('@univerjs/ui'),T=require(_0x46c603(0x1a0)),P=require(_0x46c603(0x1a1)),Ke=require(_0x46c603(0x1fe));var ze=Object['getOwnPropertyDescriptor'],Je=(_0x3dec92,_0x31c4bb,_0x204528,_0x27b34d)=>{const _0x4bfb0a=_0x46c603;for(var _0x12c0c1=_0x27b34d>0x1?void 0x0:_0x27b34d?ze(_0x31c4bb,_0x204528):_0x31c4bb,_0x36a869=_0x3dec92[_0x4bfb0a(0xcb)]-0x1,_0x5487ec;_0x36a869>=0x0;_0x36a869--)(_0x5487ec=_0x3dec92[_0x36a869])&&(_0x12c0c1=_0x5487ec(_0x12c0c1)||_0x12c0c1);return _0x12c0c1;},Re=(_0x29e29b,_0x229107)=>(_0x46892d,_0x84f4d0)=>_0x229107(_0x46892d,_0x84f4d0,_0x29e29b);function _0x40c4(){const _0x4b3d51=['_session','registerRenderModule','LICENSE_DISTRO_REJECTED','engine','defIds','getUnhiddenWorksheets','loadOfflineData','pipe','width','_getSheetObject','size','serializeRangeWithSheet','handleInsertRow','fromEventSubject','getMemberID','hovered','name','getSheetId','getUndoRedoMutationParamsCache','LICENSE_IMPORT_SIZE_EXCEEDED','_removeClearOtherTimer','@univerjs/core','currentSkeleton$','_collaborationController','none','endRow','transformByState','_notificationService','Warning','roomMembers$','handleDeleteRangeMoveLeft','_colorAssignService','then','isTransformMutationsWithChangesetSuccess','_beforeCloseService','_docStateChangeManagerService','RichTextEditingMutation','univer-offline','registerComponent','moveTo','disposeWithMe','toDisposable','collab-text-range-','_drawRectRange','drawWith','AWAITING_WITH_PENDING','saveTaskMap','_initStatusListener','_initDependencies','getSheetBySheetId','colorChannel1','path','SetWorksheetActivateCommand','_startSheetCollabCursor','apply','fromEvent','BehaviorSubject','_onRefRangeChange','searchParams','isArray','NOT_FOUND','addObject','Module','CollaborationEvent','IRenderManagerService','_renderManagerService','CollaborationDataLoaderController','SetTextSelectionsOperation','xlink:href','_labelPosition','PY_RUNTIME_SCRIPT_ERROR','_localeService','Disposable','translate(.97)','4632iAyooS','generateRandomId','APPLY_PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','children','debug','AWAITING','ILocalCacheService','IUniverInstanceService','indexOf','findNodePositionByCharIndex','triggerDblclick','SOCKET_FAILED','setInterval','NodePositionConvertToRectRange','combineLatest','HEADER_MENU','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','invokeId','dispose$','replaceState','_urlService','wsSessionTicketUrl','COLORS','_clearOtherTimers','_updateCollabCursors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_scheduleSaving','_getScale','_httpService','_hover','_cachedData','connectInjector','getValue','SheetsSelectionsService','PERMISSION_DENIED','_sheetSkeletonManagerService','transformMutationsWithChangeset','ISnapshotServerService','_cursorShapes','getViewport','length','div','_cursors','onPointerEnter$','all','collabCursorState$','icon','_shapes','_imageIoService','YUUMI_RATE_OVER_LIMIT','redoState','collabStatus.offline','BrowserCollaborationSocketService','ticket','call','SetSelectionsOperation','m2Prime','min','unshift','hide','extend','ColorKit','roomMembers','IBeforeCloseService','getTypeOfUnitDisposed$','params','red300','UNRECOGNIZED','_scene','displayName','_entities','_send','forEach','_toggleOffline','_name','_dataLoaderService','WebURLService','registerRefRange','replace','UNIVER_SHEET','mergeOverrideWithDependencies','EffectRefRangId','_createSocketURL','UNIVER_DOC','clearInterval','MemberService','_collaborationUIEventService','deserializeRangeWithSheet','_messageService','getUniverSheetInstance','mutations','_docSkeleton','getCoordByCell','focused$','off-line-single_clip0_910_343','session.will-retry','sessionStatus$','IDocClipboardService','use','handleMoveRange','push','unit','event$','_status$','backgroundColor','ISocketService','WebSocketService','type','href','ENSURE_SNAPSHOT_EXECUTION','_docTransformSelectionsService','executionId','gold400','height','_eventUnsubscribe','getLocalCacheKey','collabStatus.syncing','shareReplay','saveImage','CLOSE_ROOM','disableLocalCache','2115736qgfavq','setTimeout','@univerjs/network','_context','switchMap','map','Unknown\x20user','SheetSkeletonManagerService','getCellPositionByOffset','InsertRowCommandId','7TPfUmV','_logService','editingUnit','purple300','DocSkeletonManagerService','RECT','UniverCollaborationClientPlugin','off-line-single','onPointerMove$','SetDocZoomRatioOperation','_initStatusComponent','onTransformChange$','getActiveSheet','_handleHeartbeatEvent','online','ONLINE','handleInsertRangeMoveRight','_doCreateSocket','_injector','_color','NOT_COLLAB','getParam','top','history','complete','_syncEditingCollabCursorService','2902740CKbudE','popstate','createSocket','_localCacheService','isActive','univer-online-status-title','touchDependencies','collabStatus.conflict','attrs','entries','_updateSubUnitFromURLParams','[CollaborationDataLoaderController]','status$','set','_configService','onCommandExecuted','fillRule','currentColor','onlineStatusIcon','subscribeEvent','random','Rect','mapTo','debounceTime','defineProperty','_heartbeatTimer','_registerRenderDependencies','makeDirty','distinctUntilChanged','RegularPolygon','getMember','IConfigService','_registerDependencies','univerjs-icon\x20univerjs-icon-','Failed','fill','getUnitId','Shape','getRangePointData','SNAPSHOT_HAS_BEEN_REMOVED','Subject','column','_online','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DesktopCollaborationStatusDisplayController','subscribe','font','NO_OTHER_CLIENTS_EDITING','_docClipboardService','CONFLICT','_getSessionTicket','M0\x200H16V16H0z','collaboration.closeRoom','useDependency','SessionStatus','runId','SNAPSHOT_INVALID_SNAPSHOT','Workbook','RxDisposable','filter','Tooltip','_render','getFocusedUnit','_transformService','addObjects','split','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','find','collaboration-client.offline-data-not-saved','session.collaboration-timeout','_collabCursorController','body','propertyIsEnumerable','selection','setStateCache','_hideTimer','_docTransformIMECacheService','rxjs/operators','_textBubble','_colorIndex','UnitStatus','updateOfflineData','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','_transformPreviousActiveRange','setItem','@univerjs/sheets-ui','error','jsx','getRenderById','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_saveTaskMap','_initEntityListener','_ensureSubject','deepClone','CONNECTOR_DATA_TOO_LARGE','@univerjs/design','react','APPLY_REJECT','permission.title','CommandType','MessageType','clsx','assignAColorForMemberID','IRemoteInstanceService','subunit','UNAUTHENTICATED','post','with','whenReady','CollaborationStatus','sessionTicket','COMPLETION_FINISHED','current','verdancy600','FromArray','CollaborationController','session.connection-failed','storage','origin','add','clearTimeout','getConfig','_docTransformStateCacheService','#fff','RemoteUniscriptService','setUndoRedoMutationParamsCache','getOwnPropertySymbols','hasOwnProperty','Vector2','replaceDocRanges','_getAnchorBounding','collabStatus.fetchMiss','toRgbString','restore','IURLService','useRef','startColumn','InsertRangeMoveDownCommandId','_transformUndoRedoStack','text','WebBrowserSingleActiveUnitService','DocSelectionManagerService','IMessageService','_assignedColors','range','startsWith','TEXT_RANGE_LAYER_INDEX','_cursorInfo$','next','_univerInstanceService','fillText','m1Prime','getTypeOfUnitAdded$','exhaustSavingTask','blue400','LICENSE_MAX_UNITS_EXCEEDED','_scheduleClearOtherTimer','YUUMI_UNABLE_LOAD_URL','_init','_docSyncEditingCollabCursorService','getOwnPropertyDescriptor','urlChange$','svg','_updateURLWithCurrentState','univer-online','unitId','CollaborationSocketService','init','override','toString','symbol','_updateLocalCursor','_getMergeRange','newValue','_backgroundColor','toStringTag','getVpScrollXYInfoByPosToVp','_handleLeaveEvent','clipPath','setActiveRange','_transformHistoryAndStateStack','lineTo','CollaborationUIEventId','string','_lastPointer','transformSelections','tag','location','UPDATE_CURSOR','@univerjs/rpc','_entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docSkeletonManagerService','row','CHANGESET_REVISION_CONFILICT','APPLY_NON_SEQUENTIAL_REVISION','executeCommand','has','cursorInfo$','transformIMECache','_config','BuiltInUIPart','onPointerLeave$','_memberService','labelPosition','ICommandService','transformRemoteChangeset','_onCursorUpdate','_saveCache','...','delete','_roomMembers$','round','APPLY_DUPLICATED','TEXT','color','NodePositionConvertToCursor','UNDEFINED','_collabSessionService','selections','@univerjs/engine-render','handleDeleteRangeMoveUp','IUIPartsService','evenodd','_collabCursorState$','substring','setAlpha','permission.content','getOffsetConfig','trim','transformMutation','stringify','useObservable','DisposableCollection','enableLocalCache','values','OffLineSingle','SheetCollabCursorShape','OTHER_CLIENTS_EDITING','Plugin','show','ILogService','_onCursorDelete','_themeService','_localStorageService','send','concat','on-line-single_clip0_910_349','TOO_MANY_REQUESTS','doc.mutation.rich-text-editing','Tools','LocaleService','getCurrent','JOIN_ROOM_FAILED','_initEvent','RefRangeService','forwardRef','_setupSubUnitSync','useCallback','takeUntil','IImageIoService','SYNCED','imageSourceType','INVALID_ARGUMENT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','className','449831twMXRX','ALREADY_EXISTS','_cursor','search','_draw','jsxs','DataLoaderService','url(#on-line-single_clip0_910_349)','_selfUnitIDs','getCurrentSelections','function','@univerjs/engine-formula','getDocRanges','url(#$1','INTERNAL_ERROR','_refreshCollabCursors','unsubscribe','_document','collab-client.tooltip.reconnect','_handleEvent','data','_drawAnchor','currentTheme$','_scheduleHeartbeat','pluginName','univer-flex\x20univer-items-center','_id','1em','get','dispose','Error','544qQbJrJ','Inject','activeSheet$','RemoveColCommandId','black','755250aQBWHs','HTTPService','collabStatus.synced','loadUnit','_getSaveTimeout','_hovered','DocIMEInputManagerService','_unitOnClients','code','_disabled','USERS_LEAVE','_commandService','CollaborationSessionService','createElement','_anchor','collaboration.single-unit.warning','getActiveRange','cursorInfo','reconnect','from','@univerjs-pro/collaboration','2262186euxajP','_uiPartsService','unload','_anchorDot','onRendered','getStateCache','_removeCollabCursors','getCollabCursors$','2060046aqTiLZ','_unitStatus','MUTATION','DependentOn','ACTIVE_UNIT_EVENT_CHANNEL','DocStateChangeManagerService','RevisionService','PENDING','arc','@univerjs-pro/collaboration-client','_initCommandExecutedListener','_revisionService','_handleHover','getCollabEntity$','onlineStatusTitle','debounce','mask','getColor','entityInit$','contains','on-line-single','OFFLINE','bottom','ITransformService','merge','CollaborationStatusDisplay','sheetID','measureText','setParam','_instanceService','onMouseMove','DeleteRangeMoveUpCommandId','_handleJoinEvent','disposeUnit','key','save','getMergeData','ThemeService','collabStatus.notCollab','requireSession','textRanges','getRelativeToViewportCoord','syncEditingCollabCursor','2XSEHLp','runRefRangeMutations','beginPath','flatMap','docStateChange$','#FFF','startRow','UniverInstanceType','_startDocCollabCursor','SUBMIT_CHANGESET_TIMEOUT','_range','@univerjs/drawing','isTransformMutationFailure','DOC_RANGE_TYPE','ranges','idSuffix','getCurrentUnitForType','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_refRangeService','pushState','unitID','eventID','_initResize','LOCAL_CACHE_INTERVAL_KEY','Injector','endColumn','handleInsertCol','prototype','asObservable','undoState','closePath','result','UniverCollaborationClientUIPlugin','getSkeleton','application/json','defs','getUnitStatus$','transformStateCache','univer-online-status-icon','VIEW_MAIN','_setupBeforeClosingHandler','rxjs','fillStyle','_toggleOnline'];_0x40c4=function(){return _0x4b3d51;};return _0x40c4();}let fe=class extends a[_0x46c603(0x17a)]{constructor(_0x28f965,_0xa00917){const _0x5c977e=_0x46c603;super(),this[_0x5c977e(0x170)]=_0x28f965,this[_0x5c977e(0xd3)]=_0xa00917,this['_init']();}['_init'](){const _0x4038aa=_0x46c603,_0x2fa0a6=this;this[_0x4038aa(0x30b)](this[_0x4038aa(0x170)]['addClipboardHook']({'onBeforePasteImage':async _0x18bd71=>{const _0x1ca8a1=_0x4038aa,_0x3c91bf=await _0x2fa0a6['_imageIoService'][_0x1ca8a1(0x119)](_0x18bd71);return _0x3c91bf?{'source':_0x3c91bf['source'],'imageSourceType':_0x3c91bf[_0x1ca8a1(0x247)]}:null;}}));}};fe=Je([Re(0x0,b[_0x46c603(0x104)]),Re(0x1,qe[_0x46c603(0x245)])],fe);const Oe=[_0x46c603(0x129),'jiqing500',_0x46c603(0x1b2),_0x46c603(0xe5),_0x46c603(0x1db),_0x46c603(0x113)];class Ce extends a[_0x46c603(0x32b)]{constructor(){const _0x14e9d9=_0x46c603;super(...arguments),h(this,_0x14e9d9(0x1d0),new Map()),h(this,'_colorIndex',0x0);}[_0x46c603(0x1a7)](_0x504984){const _0x389963=_0x46c603;if(this[_0x389963(0x1d0)][_0x389963(0x206)](_0x504984))return this[_0x389963(0x1d0)]['get'](_0x504984);const _0x3065b8=Oe[this[_0x389963(0x190)]];return this[_0x389963(0x190)]=(this[_0x389963(0x190)]+0x1)%Oe[_0x389963(0xcb)],this[_0x389963(0x1d0)][_0x389963(0x14d)](_0x504984,_0x3065b8),_0x3065b8;}}function Le(_0x1162fe){let _0x217973='';for(const _0x5df1b2 of _0x1162fe){const {startOffset:_0x19745a,endOffset:_0x43edb9,isActive:_0x8c03ab,rangeType:_0x2d3350,segmentId:_0x4d6578,segmentPage:_0x51f2e4}=_0x5df1b2;_0x217973['length']&&(_0x217973+=','),_0x217973+=_0x19745a+':'+_0x43edb9+':'+(_0x8c03ab?'1':'0')+':'+_0x2d3350+':'+_0x4d6578+':'+_0x51f2e4;}return _0x217973;}function Ze(_0x1e7324){const _0x2da5dd=_0x46c603,_0x11379a=_0x1e7324[_0x2da5dd(0x181)](','),_0xde54e5=[];for(const _0x339e1f of _0x11379a){const [_0x4b282b,_0xb82abc,_0xab3ee4,_0x404aef,_0x438067,_0x12d05e]=_0x339e1f[_0x2da5dd(0x181)](':');_0xde54e5[_0x2da5dd(0x107)]({'startOffset':Number(_0x4b282b),'endOffset':Number(_0xb82abc),'collapsed':_0x4b282b===_0xb82abc,'isActive':_0xab3ee4==='1','rangeType':_0x404aef===a['DOC_RANGE_TYPE'][_0x2da5dd(0x217)]?a['DOC_RANGE_TYPE'][_0x2da5dd(0x217)]:a[_0x2da5dd(0x2c4)]['RECT'],'segmentId':typeof _0x438067==_0x2da5dd(0x1f8)?String(_0x438067):'','segmentPage':Number(_0x12d05e!=null?_0x12d05e:-0x1)});}return _0xde54e5['some'](_0x4e268c=>_0x4e268c[_0x2da5dd(0x144)])||(_0xde54e5[0x0]['isActive']=!0x0),_0xde54e5;}class pe extends a[_0x46c603(0x17a)]{constructor(){const _0x5a516a=_0x46c603;super(...arguments),h(this,_0x5a516a(0x221),new d[(_0x5a516a(0x31b))](null)),h(this,_0x5a516a(0xd0),this[_0x5a516a(0x221)][_0x5a516a(0x2d3)]());}[_0x46c603(0x2b6)](_0x1ce410){const {unitID:_0xe53da9,memberID:_0x3607e4,textRanges:_0x14d13c}=_0x1ce410,_0x37c9fa=Le(_0x14d13c);if(_0x37c9fa==='')return;const _0x5e734e={'unitID':_0xe53da9,'memberID':_0x3607e4,'selection':_0x37c9fa};this['_collabCursorState$']['next'](_0x5e734e);}}var Qe=Object[_0x46c603(0x1e1)],et=(_0x14a9db,_0x173926,_0x5efed5,_0x5e559b)=>{for(var _0xb6568e=_0x5e559b>0x1?void 0x0:_0x5e559b?Qe(_0x173926,_0x5efed5):_0x173926,_0x3a4d68=_0x14a9db['length']-0x1,_0x51f461;_0x3a4d68>=0x0;_0x3a4d68--)(_0x51f461=_0x14a9db[_0x3a4d68])&&(_0xb6568e=_0x51f461(_0xb6568e)||_0xb6568e);return _0xb6568e;},N=(_0x6f7b34,_0x23eb9d)=>(_0x23cd0a,_0x4ab128)=>_0x23eb9d(_0x23cd0a,_0x4ab128,_0x6f7b34);const tt=0x12c,st=0x64;let Se=class extends a[_0x46c603(0x17a)]{constructor(_0x104e45,_0x4be233,_0x17d0e1,_0x32c81f,_0x248290,_0x4694be,_0x22bbfb,_0x57a71a,_0x284442){const _0x79623=_0x46c603;super(),h(this,_0x79623(0x16a),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0x79623(0x31b))](new Map())),h(this,_0x79623(0x207),this[_0x79623(0x1d4)][_0x79623(0x2d3)]()),h(this,_0x79623(0x214),new d['BehaviorSubject']([])),h(this,_0x79623(0x300),this[_0x79623(0x214)]['pipe'](d[_0x79623(0x157)](tt))),h(this,_0x79623(0x1ec),a[_0x79623(0x29b)](_0x1c918f=>{const _0x5e40f0=_0x79623,_0x436af8={'eventID':m[_0x5e40f0(0x322)][_0x5e40f0(0x1fd)],'data':{'unitID':this[_0x5e40f0(0x2cb)],'memberID':this[_0x5e40f0(0x2e3)][_0x5e40f0(0x2f1)](),'selection':Le(_0x1c918f)}};this['_session'][_0x5e40f0(0x236)](_0x436af8,this[_0x5e40f0(0x2cb)]);},st)),(this[_0x79623(0x2cb)]=_0x104e45,this[_0x79623(0x2e3)]=_0x4be233,this[_0x79623(0x138)]=_0x17d0e1,this[_0x79623(0x302)]=_0x32c81f,this[_0x79623(0x20c)]=_0x248290,this[_0x79623(0x13f)]=_0x4694be,this[_0x79623(0x17f)]=_0x22bbfb,this[_0x79623(0x1d6)]=_0x57a71a,this[_0x79623(0x27a)]=_0x284442);}get['cursorInfo'](){const _0x2260ad=_0x46c603;return this['_cursorInfo$'][_0x2260ad(0x34e)]();}get[_0x46c603(0xe1)](){const _0x8f5b8c=_0x46c603;return this[_0x8f5b8c(0x214)][_0x8f5b8c(0x34e)]();}[_0x46c603(0x268)](){const _0x32dab7=_0x46c603;super['dispose'](),this[_0x32dab7(0x1d4)][_0x32dab7(0x1d5)](new Map()),this[_0x32dab7(0x1d4)][_0x32dab7(0x13e)](),this[_0x32dab7(0x214)][_0x32dab7(0x1d5)]([]),this[_0x32dab7(0x214)]['complete']();}[_0x46c603(0x1e8)](){const _0x5203d2=_0x46c603;this[_0x5203d2(0x1df)]||(this[_0x5203d2(0x1df)]=!0x0,this[_0x5203d2(0x2e3)][_0x5203d2(0x103)]['pipe'](d[_0x5203d2(0x244)](this[_0x5203d2(0x340)]))[_0x5203d2(0x16d)](_0x29ab07=>{const _0x2b192d=_0x5203d2;_0x29ab07===u[_0x2b192d(0x176)][_0x2b192d(0x135)]?this[_0x2b192d(0x2e2)]():this[_0x2b192d(0xec)]();}),this[_0x5203d2(0x2e3)][_0x5203d2(0x109)]['pipe'](d[_0x5203d2(0x244)](this[_0x5203d2(0x340)]))[_0x5203d2(0x16d)](_0x3e403c=>{const _0x5da2dc=_0x5203d2,_0x357cae=_0x3e403c[_0x5da2dc(0x2cc)];_0x357cae===m['CollaborationEvent'][_0x5da2dc(0x1fd)]&&this[_0x5da2dc(0x210)](_0x3e403c),_0x357cae===m[_0x5da2dc(0x322)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3e403c);}),this[_0x5203d2(0x30b)](this[_0x5203d2(0x27a)][_0x5203d2(0x14f)](_0x31455d=>{const _0x82ed9d=_0x5203d2,_0x454621=_0x31455d[_0x82ed9d(0xe4)];_0x454621!=null&&this[_0x82ed9d(0x16a)]&&_0x31455d['id']===Y[_0x82ed9d(0x326)]['id']&&_0x454621[_0x82ed9d(0x1e6)]===this[_0x82ed9d(0x2cb)]&&_0x454621['isEditing']===!0x1&&_0x454621['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x454621['ranges']);})),this[_0x5203d2(0x13f)][_0x5203d2(0xd0)][_0x5203d2(0x2ea)](d[_0x5203d2(0x244)](this[_0x5203d2(0x340)]))[_0x5203d2(0x16d)](_0xbe815c=>{const _0x2418b3=_0x5203d2;if((_0xbe815c==null?void 0x0:_0xbe815c[_0x2418b3(0x2cb)])!==this['unitID'])return;const _0x55a88c={'eventID':m[_0x2418b3(0x322)]['UPDATE_CURSOR'],'data':_0xbe815c};this[_0x2418b3(0x210)](_0x55a88c);}),this[_0x5203d2(0x30b)](this[_0x5203d2(0x27a)][_0x5203d2(0x14f)](_0x5e79ac=>{const _0xa2b7e8=_0x5203d2;if(_0x5e79ac['params']==null)return;const _0x11bd80=_0x5e79ac[_0xa2b7e8(0xe4)];if(_0x5e79ac['id']!==Y[_0xa2b7e8(0x307)]['id']||_0x11bd80[_0xa2b7e8(0x1e6)]!==this[_0xa2b7e8(0x2cb)])return;const _0x2c0d92={'id':_0xa2b7e8(0x23a),'params':_0x11bd80},_0x568c90=this['cursorInfo'];for(const [_0x4e639a,_0x3401c8]of _0x568c90){const _0x17132e={'id':_0xa2b7e8(0x23a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3401c8[_0xa2b7e8(0x2c5)]}},_0x43056b=this[_0xa2b7e8(0x17f)][_0xa2b7e8(0x227)](_0x2c0d92,_0x17132e,!0x1);if(m[_0xa2b7e8(0x2c3)](_0x43056b))throw _0x43056b[_0xa2b7e8(0x197)];_0x568c90['set'](_0x4e639a,{..._0x3401c8,'ranges':_0x43056b[_0xa2b7e8(0xdb)][_0xa2b7e8(0xe4)][_0xa2b7e8(0x2b4)]});}queueMicrotask(()=>{const _0x5eac80=_0xa2b7e8;this[_0x5eac80(0x1d4)][_0x5eac80(0x1d5)](_0x568c90);});})));}[_0x46c603(0x210)](_0xec8fdd){const _0x3c254e=_0x46c603;var _0x56e3ab,_0x4c38c7;const {memberID:_0x383e58,selection:_0x1c9486}=_0xec8fdd[_0x3c254e(0x25f)],_0x26219b=Ze(_0x1c9486),_0x99e1c7=(_0x4c38c7=(_0x56e3ab=this['_memberService'][_0x3c254e(0x15e)](this[_0x3c254e(0x2cb)],_0x383e58))==null?void 0x0:_0x56e3ab[_0x3c254e(0x2f3)])!=null?_0x4c38c7:_0x3c254e(0x122),_0x22b5e0={'color':this[_0x3c254e(0x302)][_0x3c254e(0x1a7)](_0x383e58),'name':_0x99e1c7,'ranges':_0x26219b},_0x278b20=this['cursorInfo'];_0x278b20[_0x3c254e(0x14d)](_0x383e58,_0x22b5e0),this[_0x3c254e(0x1d4)]['next'](_0x278b20);}[_0x46c603(0x233)](_0x521e0a){const _0x1201dd=_0x46c603,{memberID:_0x256e25}=_0x521e0a[_0x1201dd(0x25f)],_0x258575=this[_0x1201dd(0x280)];_0x258575[_0x1201dd(0x213)](_0x256e25),this[_0x1201dd(0x1d4)]['next'](_0x258575);}['_toggleOnline'](){const _0x3ce4b9=_0x46c603;var _0x2729e3;if(this[_0x3ce4b9(0x16a)]=!0x0,((_0x2729e3=this[_0x3ce4b9(0x1d6)][_0x3ce4b9(0x17e)]())==null?void 0x0:_0x2729e3[_0x3ce4b9(0x164)]())!==this[_0x3ce4b9(0x2cb)])return;const _0x3a36d8=this[_0x3ce4b9(0x138)][_0x3ce4b9(0x267)](Y[_0x3ce4b9(0x1ce)])[_0x3ce4b9(0x257)]();Array[_0x3ce4b9(0x31e)](_0x3a36d8)&&_0x3a36d8['length']>0x0&&this[_0x3ce4b9(0x1ec)](_0x3a36d8);}[_0x46c603(0xec)](){const _0x2ba748=_0x46c603;this[_0x2ba748(0x16a)]=!0x1;}};Se=et([N(0x2,a[_0x46c603(0x26b)](a[_0x46c603(0x2cf)])),N(0x3,a[_0x46c603(0x26b)](Ce)),N(0x4,a[_0x46c603(0x26b)](u[_0x46c603(0xf8)])),N(0x5,a[_0x46c603(0x26b)](pe)),N(0x6,m['ITransformService']),N(0x7,a['IUniverInstanceService']),N(0x8,a[_0x46c603(0x20e)])],Se);var nt=Object['getOwnPropertyDescriptor'],it=(_0x4b716d,_0xa79811,_0x2eef1d,_0x30df69)=>{const _0x235c5a=_0x46c603;for(var _0x57737e=_0x30df69>0x1?void 0x0:_0x30df69?nt(_0xa79811,_0x2eef1d):_0xa79811,_0x1b4943=_0x4b716d[_0x235c5a(0xcb)]-0x1,_0x42362b;_0x1b4943>=0x0;_0x1b4943--)(_0x42362b=_0x4b716d[_0x1b4943])&&(_0x57737e=_0x42362b(_0x57737e)||_0x57737e);return _0x57737e;},y=(_0x4a4a26,_0x90039e)=>(_0x3667d8,_0x921bc4)=>_0x90039e(_0x3667d8,_0x921bc4,_0x4a4a26);const rt=0x12c,ot=0x64,at=()=>{let _0x53dcd4=[],_0x138ce3=!0x1;return _0x46bff3=>{const _0x47ebbf=_0x5a86;_0x53dcd4[_0x47ebbf(0x107)](_0x46bff3),_0x138ce3||(_0x138ce3=!0x0,setTimeout(()=>{_0x53dcd4['forEach'](_0x23343e=>_0x23343e()),_0x53dcd4=[],_0x138ce3=!0x1;}));};};let ve=class extends a[_0x46c603(0x17a)]{constructor(_0x43e36a,_0x47e35a,_0x3d15ac,_0x1f7032,_0x49bea2,_0x209f85,_0x3b1f6f,_0x434484){const _0xc2b718=_0x46c603;super(),h(this,'_online',!0x1),h(this,_0xc2b718(0x1df),!0x1),h(this,'_cursorInfo$',new d[(_0xc2b718(0x31b))](new Map())),h(this,_0xc2b718(0x207),this[_0xc2b718(0x1d4)][_0xc2b718(0x2d3)]()),h(this,_0xc2b718(0x214),new d[(_0xc2b718(0x31b))]([])),h(this,_0xc2b718(0x300),this['_roomMembers$'][_0xc2b718(0x2ea)](d[_0xc2b718(0x157)](rt))),h(this,_0xc2b718(0x1ec),a['debounce']((_0x5f3014,_0x4321cb)=>{const _0x5f121d=_0xc2b718,_0x16d3a7={'eventID':m['CollaborationEvent'][_0x5f121d(0x1fd)],'data':{'unitID':this['unitID'],'memberID':this[_0x5f121d(0x2e3)][_0x5f121d(0x2f1)](),'selection':Te[_0x5f121d(0x2ee)](_0x5f3014,_0x4321cb[_0x5f121d(0x1d1)])}};this[_0x5f121d(0x2e3)][_0x5f121d(0x236)](_0x16d3a7,this['unitID']);},ot)),(this[_0xc2b718(0x2cb)]=_0x43e36a,this[_0xc2b718(0x2e3)]=_0x47e35a,this[_0xc2b718(0x138)]=_0x3d15ac,this['_colorAssignService']=_0x1f7032,this[_0xc2b718(0x20c)]=_0x49bea2,this[_0xc2b718(0x1d6)]=_0x209f85,this[_0xc2b718(0x27a)]=_0x3b1f6f,this[_0xc2b718(0x2c9)]=_0x434484);}get[_0x46c603(0x280)](){const _0x4f1e24=_0x46c603;return this['_cursorInfo$'][_0x4f1e24(0x34e)]();}get['roomMembers'](){const _0x398e36=_0x46c603;return this[_0x398e36(0x214)][_0x398e36(0x34e)]();}[_0x46c603(0x268)](){const _0x108661=_0x46c603;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x108661(0x1d4)][_0x108661(0x13e)](),this[_0x108661(0x214)]['next']([]),this['_roomMembers$'][_0x108661(0x13e)]();}['init'](){const _0xebf939=_0x46c603;this['_init']||(this[_0xebf939(0x1df)]=!0x0,this[_0xebf939(0x2e3)][_0xebf939(0x103)][_0xebf939(0x2ea)](d[_0xebf939(0x244)](this[_0xebf939(0x340)]))[_0xebf939(0x16d)](_0xa4232=>{const _0x32e04a=_0xebf939;_0xa4232===u[_0x32e04a(0x176)][_0x32e04a(0x135)]?this[_0x32e04a(0x2e2)]():this[_0x32e04a(0xec)]();}),this[_0xebf939(0x2e3)][_0xebf939(0x109)][_0xebf939(0x2ea)](d[_0xebf939(0x244)](this[_0xebf939(0x340)]))[_0xebf939(0x16d)](_0x549caa=>{const _0x45dab2=_0xebf939,_0x361f14=_0x549caa[_0x45dab2(0x2cc)];_0x361f14===m[_0x45dab2(0x322)][_0x45dab2(0x1fd)]&&this[_0x45dab2(0x210)](_0x549caa),_0x361f14===m[_0x45dab2(0x322)][_0x45dab2(0x279)]&&this['_onCursorDelete'](_0x549caa);}),this[_0xebf939(0x31c)](),this['disposeWithMe'](this[_0xebf939(0x27a)]['onCommandExecuted'](_0x372e53=>{const _0x305112=_0xebf939;if(this['_online']&&_0x372e53['id']===I[_0x305112(0xda)]['id']&&_0x372e53[_0x305112(0xe4)][_0x305112(0x1e6)]===this[_0x305112(0x2cb)]){const _0x34481f=_0x372e53['params'];this[_0x305112(0x1ec)](_0x34481f['subUnitId'],_0x34481f[_0x305112(0x21c)][0x0]);}})));}['_onCursorUpdate'](_0x5eb43f){const _0x25aa57=_0x46c603;var _0xb4628e,_0x36a258;const {memberID:_0xcace10,selection:_0x514274}=_0x5eb43f[_0x25aa57(0x25f)],{sheetName:_0x5120a1,range:_0x46db8b}=Te[_0x25aa57(0xfa)](_0x514274),_0x4d4eb0={'name':(_0x36a258=(_0xb4628e=this[_0x25aa57(0x20c)][_0x25aa57(0x15e)](this['unitID'],_0xcace10))==null?void 0x0:_0xb4628e['name'])!=null?_0x36a258:_0x25aa57(0x122),'range':this[_0x25aa57(0x1ed)](_0x5120a1,_0x46db8b),'sheetID':_0x5120a1,'color':this[_0x25aa57(0x302)][_0x25aa57(0x1a7)](_0xcace10),'selection':_0x514274},_0x3486be=this[_0x25aa57(0x280)];_0x3486be[_0x25aa57(0x14d)](_0xcace10,_0x4d4eb0),this[_0x25aa57(0x1d4)][_0x25aa57(0x1d5)](_0x3486be);}[_0x46c603(0x233)](_0x36579c){const _0x2f6dd3=_0x46c603,{memberID:_0x299024}=_0x36579c[_0x2f6dd3(0x25f)],_0x299d5b=this[_0x2f6dd3(0x280)];_0x299d5b[_0x2f6dd3(0x213)](_0x299024),this['_cursorInfo$'][_0x2f6dd3(0x1d5)](_0x299d5b);}['_getMergeRange'](_0x323b52,_0x164250){const _0x161f07=_0x46c603;var _0x2df5f6,_0x549cd7;const _0x49e3ca=(_0x549cd7=(_0x2df5f6=this['_univerInstanceService'][_0x161f07(0xfc)](this[_0x161f07(0x2cb)]))==null?void 0x0:_0x2df5f6['getSheetBySheetId'](_0x323b52))==null?void 0x0:_0x549cd7[_0x161f07(0x2b0)]();return(_0x49e3ca==null?void 0x0:_0x49e3ca[_0x161f07(0x184)](_0x38ca7a=>a['Rectangle'][_0x161f07(0x29f)](_0x38ca7a,_0x164250)))||_0x164250;}[_0x46c603(0x31c)](){const _0x3f970e=_0x46c603,_0xc6e9a4=new a[(_0x3f970e(0x22a))](),_0x2c58e=at(),_0x5baf8b=()=>{const _0x517e6a=_0x3f970e;_0xc6e9a4['dispose']();const _0x21cd2d=(_0x54df01,_0x5913cd,_0x13cc27,_0x54488a)=>{const _0x4301f1=_0x5a86;let _0x2a7f24=[];switch(_0x54df01['id']){case I[_0x4301f1(0xf4)]['DeleteRangeMoveLeftCommandId']:{_0x2a7f24=I[_0x4301f1(0x301)](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)][_0x4301f1(0x2ab)]:{_0x2a7f24=I[_0x4301f1(0x21e)](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)]['InsertColCommandId']:{_0x2a7f24=I[_0x4301f1(0x2d1)](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)][_0x4301f1(0x1ca)]:{_0x2a7f24=I['handleInsertRangeMoveDown'](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)]['InsertRangeMoveRightCommandId']:{_0x2a7f24=I[_0x4301f1(0x136)](_0x54df01,_0x54488a);break;}case I['EffectRefRangId'][_0x4301f1(0x125)]:{_0x2a7f24=I[_0x4301f1(0x2ef)](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)]['MoveRangeCommandId']:{_0x2a7f24=I[_0x4301f1(0x106)](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)][_0x4301f1(0x26d)]:{_0x2a7f24=I['handleIRemoveCol'](_0x54df01,_0x54488a);break;}case I[_0x4301f1(0xf4)]['RemoveRowCommandId']:{_0x2a7f24=I['handleIRemoveRow'](_0x54df01,_0x54488a);break;}}const _0x353a06=I[_0x4301f1(0x2b8)](_0x2a7f24,_0x54488a),_0x124c3b=this[_0x4301f1(0x280)][_0x4301f1(0x267)](_0x5913cd);if(_0x124c3b&&_0x353a06){const _0x343d9c={..._0x124c3b,'range':_0x353a06};this[_0x4301f1(0x280)]['set'](_0x5913cd,_0x343d9c),_0x2c58e(()=>{const _0x4d3ac7=_0x4301f1,_0x3f298f=this[_0x4d3ac7(0x2c9)][_0x4d3ac7(0xf0)](_0x353a06,_0xc0a29c=>(_0x3f298f[_0x4d3ac7(0x268)](),_0x21cd2d(_0xc0a29c,_0x5913cd,_0x13cc27,_0x353a06)));_0xc6e9a4['add'](_0x3f298f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x517e6a(0xeb)]((_0x4ba7c8,_0x1dcea9)=>{const _0x5a5583=_0x517e6a,{range:_0x33a328,sheetID:_0x3b74bf}=_0x4ba7c8,_0x50873a=this[_0x5a5583(0x2c9)][_0x5a5583(0xf0)](_0x33a328,_0x4e5756=>(_0x50873a[_0x5a5583(0x268)](),_0x21cd2d(_0x4e5756,_0x1dcea9,_0x3b74bf,_0x33a328)));_0xc6e9a4['add'](_0x50873a);});};this[_0x3f970e(0x30b)](a[_0x3f970e(0x30c)](this[_0x3f970e(0x1d4)][_0x3f970e(0x16d)](()=>{_0x5baf8b();})));}[_0x46c603(0x2e2)](){const _0x54eba8=_0x46c603;var _0x27ea34,_0x532ca8;if(this[_0x54eba8(0x16a)]=!0x0,((_0x27ea34=this[_0x54eba8(0x1d6)][_0x54eba8(0x17e)]())==null?void 0x0:_0x27ea34[_0x54eba8(0x164)]())!==this[_0x54eba8(0x2cb)])return;const _0x238c47=(_0x532ca8=this[_0x54eba8(0x138)]['get'](I[_0x54eba8(0x34f)])[_0x54eba8(0x254)]())==null?void 0x0:_0x532ca8[0x0],_0x1b2ec3=this[_0x54eba8(0x1d6)][_0x54eba8(0x2c7)](a[_0x54eba8(0x2be)][_0x54eba8(0xf2)])[_0x54eba8(0x132)]();_0x238c47&&_0x1b2ec3&&this[_0x54eba8(0x1ec)](_0x1b2ec3[_0x54eba8(0x2f4)](),_0x238c47);}[_0x46c603(0xec)](){this['_online']=!0x1;}};ve=it([y(0x2,a[_0x46c603(0x26b)](a[_0x46c603(0x2cf)])),y(0x3,a['Inject'](Ce)),y(0x4,a['Inject'](u['MemberService'])),y(0x5,a[_0x46c603(0x335)]),y(0x6,a[_0x46c603(0x20e)]),y(0x7,a[_0x46c603(0x26b)](I[_0x46c603(0x240)]))],ve);var ct=Object[_0x46c603(0x1e1)],lt=(_0x569256,_0x2edd49,_0xfa79a5,_0xfecb0f)=>{const _0x568e2e=_0x46c603;for(var _0x2285cc=_0xfecb0f>0x1?void 0x0:_0xfecb0f?ct(_0x2edd49,_0xfa79a5):_0x2edd49,_0x48b2da=_0x569256[_0x568e2e(0xcb)]-0x1,_0x286de7;_0x48b2da>=0x0;_0x48b2da--)(_0x286de7=_0x569256[_0x48b2da])&&(_0x2285cc=_0x286de7(_0x2285cc)||_0x2285cc);return _0x2285cc;},ie=(_0x3971f1,_0x47b79d)=>(_0x48a31d,_0x5d367e)=>_0x47b79d(_0x48a31d,_0x5d367e,_0x3971f1);let x=class extends a['RxDisposable']{constructor(_0x51013e,_0x96da18,_0x2072e6){const _0x12874d=_0x46c603;super(),h(this,_0x12874d(0xe9),new Map()),h(this,_0x12874d(0x1ff),new d[(_0x12874d(0x168))]()),(this['_univerInstanceService']=_0x51013e,this[_0x12874d(0x138)]=_0x96da18,this[_0x12874d(0x21b)]=_0x2072e6,this[_0x12874d(0x1df)]());}[_0x46c603(0x268)](){const _0x469852=_0x46c603;super[_0x469852(0x268)](),this[_0x469852(0x1ff)][_0x469852(0x13e)](),this[_0x469852(0xe9)]['forEach'](_0x1b224e=>_0x1b224e[_0x469852(0x268)]());}[_0x46c603(0x28b)](_0x3eee5f){const _0x5b257d=_0x46c603;return this[_0x5b257d(0xe9)][_0x5b257d(0x206)](_0x3eee5f)?this[_0x5b257d(0xe9)][_0x5b257d(0x267)](_0x3eee5f)[_0x5b257d(0x207)]:this['_entityInit$'][_0x5b257d(0x2ea)](d[_0x5b257d(0x17b)](_0x3cba6a=>_0x3cba6a[_0x5b257d(0x2cb)]===_0x3eee5f),d['switchMap'](_0x360667=>_0x360667['cursorInfo$']));}[_0x46c603(0x1df)](){const _0x54b1b8=_0x46c603;this[_0x54b1b8(0x1d6)][_0x54b1b8(0x1d9)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x54b1b8(0x2ea)](d['takeUntil'](this['dispose$']))[_0x54b1b8(0x16d)](async _0x4d785b=>{const _0x504fef=_0x54b1b8,_0x5ccc4c=_0x4d785b[_0x504fef(0x164)](),_0x281382=await this[_0x504fef(0x318)](_0x5ccc4c);this[_0x504fef(0x1ff)][_0x504fef(0x1d5)](_0x281382),this[_0x504fef(0xe9)][_0x504fef(0x14d)](_0x5ccc4c,_0x281382);}),this['_univerInstanceService'][_0x54b1b8(0x1d9)](a[_0x54b1b8(0x2be)][_0x54b1b8(0xf6)])['pipe'](d[_0x54b1b8(0x244)](this[_0x54b1b8(0x340)]))[_0x54b1b8(0x2ea)](d[_0x54b1b8(0x17b)](_0x5dcd2e=>!_0x5dcd2e[_0x54b1b8(0x164)]()[_0x54b1b8(0x1d2)]('__')))[_0x54b1b8(0x16d)](async _0x5863ee=>{const _0x387dba=_0x54b1b8,_0x41e6e3=_0x5863ee[_0x387dba(0x164)](),_0xf4b2a2=await this['_startDocCollabCursor'](_0x41e6e3);this[_0x387dba(0x1ff)][_0x387dba(0x1d5)](_0xf4b2a2),this[_0x387dba(0xe9)][_0x387dba(0x14d)](_0x41e6e3,_0xf4b2a2);}),d[_0x54b1b8(0x2a4)](this[_0x54b1b8(0x1d6)][_0x54b1b8(0xe3)](a[_0x54b1b8(0x2be)][_0x54b1b8(0xf6)]),this[_0x54b1b8(0x1d6)]['getTypeOfUnitDisposed$'](a[_0x54b1b8(0x2be)][_0x54b1b8(0xf2)]))[_0x54b1b8(0x2ea)](d[_0x54b1b8(0x244)](this[_0x54b1b8(0x340)]))[_0x54b1b8(0x16d)](_0x4ac211=>{const _0x5f24d5=_0x54b1b8,_0x5cfb7c=_0x4ac211[_0x5f24d5(0x164)](),_0x17abd6=this[_0x5f24d5(0xe9)][_0x5f24d5(0x267)](_0x5cfb7c);_0x17abd6&&(_0x17abd6[_0x5f24d5(0x268)](),this[_0x5f24d5(0xe9)][_0x5f24d5(0x213)](_0x5cfb7c));});}async[_0x46c603(0x318)](_0xc78e73){const _0x5c3fd1=_0x46c603,_0x3096ef=await this[_0x5c3fd1(0x21b)][_0x5c3fd1(0x2b3)](_0xc78e73),_0x11ad13=this[_0x5c3fd1(0x138)]['createInstance'](ve,_0xc78e73,_0x3096ef);return _0x11ad13[_0x5c3fd1(0x1e8)](),_0x11ad13;}async[_0x46c603(0x2bf)](_0x44f5b0){const _0x34eed9=_0x46c603,_0x42ca68=await this[_0x34eed9(0x21b)][_0x34eed9(0x2b3)](_0x44f5b0),_0x339e25=this['_injector']['createInstance'](Se,_0x44f5b0,_0x42ca68);return _0x339e25[_0x34eed9(0x1e8)](),_0x339e25;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x46c603(0x26b)](a[_0x46c603(0x2cf)])),ie(0x2,a[_0x46c603(0x26b)](u[_0x46c603(0x27b)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x54a5ba,_0x34bd02){const _0x23bcd5=_0x46c603;let {radius:_0x39225e,width:_0x731c03,height:_0x2d6df7}=_0x34bd02;_0x39225e=_0x39225e!=null?_0x39225e:0x0,_0x731c03=_0x731c03!=null?_0x731c03:0x1e,_0x2d6df7=_0x2d6df7!=null?_0x2d6df7:0x1e;let _0x988bee=0x0,_0x537ada=0x0,_0x39b33c=0x0;_0x988bee=_0x537ada=_0x39b33c=Math[_0x23bcd5(0xdc)](_0x39225e,_0x731c03/0x2,_0x2d6df7/0x2),_0x54a5ba[_0x23bcd5(0x2b9)](),_0x54a5ba[_0x23bcd5(0x30a)](_0x988bee,0x0),_0x54a5ba[_0x23bcd5(0x1f6)](_0x731c03-_0x537ada,0x0),_0x54a5ba[_0x23bcd5(0x294)](_0x731c03-_0x537ada,_0x537ada,_0x537ada,Math['PI']*0x3/0x2,0x0,!0x1),_0x54a5ba[_0x23bcd5(0x1f6)](_0x731c03,_0x2d6df7-_0x39b33c),_0x54a5ba[_0x23bcd5(0x294)](_0x731c03-_0x39b33c,_0x2d6df7-_0x39b33c,_0x39b33c,0x0,Math['PI']/0x2,!0x1),_0x54a5ba[_0x23bcd5(0x1f6)](0x0,_0x2d6df7),_0x54a5ba[_0x23bcd5(0x1f6)](0x0,_0x988bee),_0x54a5ba['arc'](_0x988bee,_0x988bee,_0x988bee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54a5ba[_0x23bcd5(0x2d5)](),_0x34bd02[_0x23bcd5(0x163)]&&(_0x54a5ba[_0x23bcd5(0x2af)](),_0x54a5ba[_0x23bcd5(0x2e1)]=_0x34bd02[_0x23bcd5(0x163)],_0x34bd02[_0x23bcd5(0x150)]===_0x23bcd5(0x220)?_0x54a5ba[_0x23bcd5(0x163)](_0x23bcd5(0x220)):_0x54a5ba[_0x23bcd5(0x163)](),_0x54a5ba[_0x23bcd5(0x1c6)]());}class te extends p[_0x46c603(0x165)]{constructor(_0x266984,_0x4b0b9a){const _0x3c464c=_0x46c603;super(_0x266984,_0x4b0b9a),h(this,'color'),h(this,_0x3c464c(0x1cc)),(this[_0x3c464c(0x218)]=_0x4b0b9a==null?void 0x0:_0x4b0b9a[_0x3c464c(0x218)],this['text']=_0x4b0b9a==null?void 0x0:_0x4b0b9a[_0x3c464c(0x1cc)]);}static['drawWith'](_0x3e6d8c,_0x4bfa77){const _0x3f572e=_0x46c603,{text:_0x3a646e,color:_0x1bc94d}=_0x4bfa77;_0x3e6d8c[_0x3f572e(0x2af)](),_0x3e6d8c[_0x3f572e(0x16e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5ec028=_0x3e6d8c[_0x3f572e(0x2a7)](_0x3a646e)['width'],_0x4657e9=Math[_0x3f572e(0xdc)](_0x5ec028+0x2*re,De);_t(_0x3e6d8c,{'height':K,'radius':0x4,'width':_0x4657e9,'fill':_0x1bc94d}),_0x3e6d8c[_0x3f572e(0x2e1)]=_0x3f572e(0x2bc);const _0x14b379=re,_0x12d731=K-ht,_0x3352fb=De-0x2*re;if(_0x5ec028>_0x3352fb){let _0x353dba='',_0x1dd6f8=0x0;for(const _0x1df23c of _0x3a646e){const _0x156de9=_0x3e6d8c[_0x3f572e(0x2a7)](_0x1df23c)['width'];if(_0x1dd6f8+_0x156de9<=_0x3352fb-_0x3e6d8c['measureText'](_0x3f572e(0x212))[_0x3f572e(0x2eb)])_0x353dba+=_0x1df23c,_0x1dd6f8+=_0x156de9;else{_0x353dba+=_0x3f572e(0x212);break;}}_0x3e6d8c[_0x3f572e(0x1d7)](_0x353dba,_0x14b379,_0x12d731);}else _0x3e6d8c['fillText'](_0x3a646e,_0x14b379,_0x12d731);_0x3e6d8c[_0x3f572e(0x1c6)]();}[_0x46c603(0x24f)](_0x2e55d9){const _0x4f2a9e=_0x46c603;te[_0x4f2a9e(0x30f)](_0x2e55d9,this);}}const oe='collab-text-anchor-',ut=_0x46c603(0x30d),dt='collab-rect-range-',B=0x6,ft=1.5,ae=0x4,St=1.5,vt='rgba(255,\x20255,\x20255,\x200.01)';class Ue{constructor(_0x484809,_0x3f9404,_0x3974d9,_0x23ba3d){const _0x2c2c91=_0x46c603;h(this,_0x2c2c91(0xd2),[]),h(this,_0x2c2c91(0x27d),null),h(this,_0x2c2c91(0x18f),null),h(this,_0x2c2c91(0x287),null),h(this,_0x2c2c91(0x18c),null),h(this,_0x2c2c91(0x115),null),(this[_0x2c2c91(0x24d)]=_0x484809,this[_0x2c2c91(0xe7)]=_0x3f9404,this[_0x2c2c91(0xfe)]=_0x3974d9,this[_0x2c2c91(0x25c)]=_0x23ba3d,this[_0x2c2c91(0x17d)]());}set[_0x46c603(0x34b)](_0x4acb44){const _0x3b3a53=_0x46c603;_0x4acb44?(this['_anchorDot']&&this[_0x3b3a53(0x287)][_0x3b3a53(0xde)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x3b3a53(0x287)][_0x3b3a53(0x231)](),this['_textBubble']&&this['_textBubble'][_0x3b3a53(0xde)]());}['dispose'](){const _0x223a25=_0x46c603;for(const _0x545e9e of this['_shapes'])_0x545e9e['dispose']();this['_textBubble']&&this[_0x223a25(0x18f)][_0x223a25(0x268)](),this[_0x223a25(0x287)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x223a25(0x27d)][_0x223a25(0x268)](),this[_0x223a25(0x115)]&&this['_eventUnsubscribe']();}[_0x46c603(0x17d)](){const _0x57789f=_0x46c603;var _0x23d2f1;const {_docSkeleton:_0x58b02d,_document:_0x2bb931}=this,{color:_0x4d5c7f,name:_0x2b4281,ranges:_0x17357a}=this[_0x57789f(0x24d)],_0x161c15=_0x2bb931[_0x57789f(0x225)](),{docsLeft:_0x15550e,docsTop:_0x4f2f6f}=_0x161c15,_0x24b519=new b[(_0x57789f(0x219))](_0x161c15,_0x58b02d);for(const {startOffset:_0x19b93e,endOffset:_0x464fcd,rangeType:_0xc73913,segmentId:_0x544054,segmentPage:_0xe265eb,collapsed:_0x41d410,isActive:_0x697ba4}of _0x17357a){const _0x5e401d=_0x58b02d[_0x57789f(0x337)](_0x19b93e,!0x0,_0x544054,_0xe265eb);let _0x1a7b0f=_0x58b02d[_0x57789f(0x337)](_0x464fcd,!0x0,_0x544054,_0xe265eb);if(_0x1a7b0f==null&&(_0x1a7b0f=_0x58b02d[_0x57789f(0x337)](_0x464fcd-0x1,!0x1,_0x544054,_0xe265eb)),_0x697ba4){const {contentBoxPointGroup:_0x25a6de}=_0x24b519[_0x57789f(0x166)](_0x1a7b0f,_0x1a7b0f);if(_0x25a6de[_0x57789f(0xcb)]===0x0)continue;this[_0x57789f(0x260)](_0x4d5c7f,_0x25a6de,_0x15550e,_0x4f2f6f,_0x2b4281),this[_0x57789f(0x115)]=this[_0x57789f(0x298)]();}if(_0x5e401d&&_0x1a7b0f){if(_0xc73913===a['DOC_RANGE_TYPE'][_0x57789f(0x12b)]){const _0x1cbc25=new b[(_0x57789f(0x33b))](_0x161c15,_0x58b02d),{pointGroup:_0x4425ee}=(_0x23d2f1=_0x1cbc25[_0x57789f(0x166)](_0x5e401d,_0x1a7b0f))!=null?_0x23d2f1:{};if(_0x4425ee==null||_0x4425ee[_0x57789f(0xcb)]===0x0)continue;this['_drawRectRange'](_0x4d5c7f,_0x4425ee,_0x15550e,_0x4f2f6f);}else{if(!_0x41d410){const {borderBoxPointGroup:_0x5d1623}=_0x24b519[_0x57789f(0x166)](_0x5e401d,_0x1a7b0f);if(_0x5d1623[_0x57789f(0xcb)]===0x0)continue;this['_drawTextRange'](_0x4d5c7f,_0x5d1623,_0x15550e,_0x4f2f6f);}}}}}[_0x46c603(0x260)](_0x2aaf75,_0x3f5c89,_0x33f59c,_0x214a2b,_0x8b3e0f){const _0x2b9fa1=_0x46c603,_0x1fd8b9=this[_0x2b9fa1(0x1c3)](_0x3f5c89),{left:_0x595d85,top:_0x1d8118,height:_0x1dca98}=_0x1fd8b9,_0xa86ec4=this[_0x2b9fa1(0x349)](),_0x21d290=St/_0xa86ec4,_0x194552=new p[(_0x2b9fa1(0x155))](oe+a[_0x2b9fa1(0x23b)][_0x2b9fa1(0x32e)](B),{'left':_0x595d85+_0x33f59c-_0x21d290,'top':_0x1d8118+_0x214a2b,'height':_0x1dca98,'width':ft,'fill':_0x2aaf75||p[_0x2b9fa1(0x29d)](a[_0x2b9fa1(0x344)]['black'],0x0),'strokeWidth':_0x21d290,'stroke':vt,'evented':!0x0});this[_0x2b9fa1(0x27d)]=_0x194552,this[_0x2b9fa1(0xe7)]['addObject'](_0x194552,b[_0x2b9fa1(0x1d3)]);const _0x4872a1=new p['Rect'](oe+a[_0x2b9fa1(0x23b)][_0x2b9fa1(0x32e)](B),{'left':_0x595d85+_0x33f59c-_0x21d290,'top':_0x1d8118+_0x214a2b-ae/0x2,'height':ae,'width':ae,'fill':_0x2aaf75||p[_0x2b9fa1(0x29d)](a['COLORS'][_0x2b9fa1(0x26e)],0x0),'strokeWidth':0x0,'stroke':_0x2aaf75||p[_0x2b9fa1(0x29d)](a[_0x2b9fa1(0x344)][_0x2b9fa1(0x26e)],0x0),'evented':!0x1});this[_0x2b9fa1(0x287)]=_0x4872a1,this[_0x2b9fa1(0xe7)]['addObject'](_0x4872a1,b[_0x2b9fa1(0x1d3)]);const _0xe7d585=new te(oe+a[_0x2b9fa1(0x23b)][_0x2b9fa1(0x32e)](B),{'left':_0x595d85+_0x33f59c-_0x21d290,'top':_0x1d8118+_0x214a2b-K,'text':_0x8b3e0f,'color':_0x2aaf75});this[_0x2b9fa1(0x18f)]=_0xe7d585,this[_0x2b9fa1(0xe7)][_0x2b9fa1(0x320)](_0xe7d585,b[_0x2b9fa1(0x1d3)]),this[_0x2b9fa1(0x34b)]=!0x1;}['_handleHover'](){const _0x4792a9=_0x46c603,_0x39e4ae=this[_0x4792a9(0x27d)]['onPointerEnter$'][_0x4792a9(0x153)](()=>{const _0x17c048=_0x4792a9;this[_0x17c048(0x34b)]=!0x0;}),_0x2be5d2=this[_0x4792a9(0x27d)]['onPointerLeave$'][_0x4792a9(0x153)](()=>{const _0x62e9b6=_0x4792a9;this[_0x62e9b6(0x18c)]&&clearTimeout(this[_0x62e9b6(0x18c)]),this['_hideTimer']=setTimeout(()=>{const _0x3739e4=_0x62e9b6;this[_0x3739e4(0x34b)]=!0x1;},0x7d0);});return()=>{const _0x3136d=_0x4792a9;_0x39e4ae[_0x3136d(0x25b)](),_0x2be5d2[_0x3136d(0x25b)]();};}['_drawTextRange'](_0x4ea747,_0x54b640,_0x54b584,_0x30320f){const _0xb54943=_0x46c603,_0x239b76=new a[(_0xb54943(0xe0))](_0x4ea747)[_0xb54943(0x223)](0.2)['toRgbString'](),_0x3eb232=new p[(_0xb54943(0x15d))](ut+a[_0xb54943(0x23b)]['generateRandomId'](B),{'pointsGroup':_0x54b640,'fill':_0x239b76||p[_0xb54943(0x29d)](a[_0xb54943(0x344)][_0xb54943(0x26e)],0.2),'left':_0x54b584,'top':_0x30320f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb54943(0xd2)][_0xb54943(0x107)](_0x3eb232),this[_0xb54943(0xe7)][_0xb54943(0x320)](_0x3eb232,b['TEXT_RANGE_LAYER_INDEX']);}[_0x46c603(0x30e)](_0x1662b2,_0x439a93,_0x2bede3,_0x1da0fb){const _0xbb1b0=_0x46c603,_0x1c3b19=new a[(_0xbb1b0(0xe0))](_0x1662b2)[_0xbb1b0(0x223)](0.2)[_0xbb1b0(0x1c5)](),_0x1ec1c4=new p[(_0xbb1b0(0x15d))](dt+a[_0xbb1b0(0x23b)][_0xbb1b0(0x32e)](B),{'pointsGroup':_0x439a93,'fill':_0x1c3b19||p[_0xbb1b0(0x29d)](a[_0xbb1b0(0x344)][_0xbb1b0(0x26e)],0.2),'left':_0x2bede3,'top':_0x1da0fb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xbb1b0(0x107)](_0x1ec1c4),this[_0xbb1b0(0xe7)][_0xbb1b0(0x320)](_0x1ec1c4,b[_0xbb1b0(0x1d3)]);}[_0x46c603(0x1c3)](_0xef18bf){const _0x2f7c64=_0xef18bf[0x0],_0x37f8fa=_0x2f7c64[0x0],_0x3d947d=_0x2f7c64[0x2],{x:_0x3f5257,y:_0x52ad1e}=_0x37f8fa,{x:_0x38b566,y:_0x52d050}=_0x3d947d;return{'left':_0x3f5257,'top':_0x52ad1e,'width':_0x38b566-_0x3f5257,'height':_0x52d050-_0x52ad1e};}[_0x46c603(0x349)](){const _0x5ef572=_0x46c603,{scaleX:_0x40c5ba,scaleY:_0x38fe92}=this[_0x5ef572(0xe7)]['getAncestorScale']();return Math['max'](_0x40c5ba,_0x38fe92);}}var gt=Object[_0x46c603(0x1e1)],It=(_0x1e6093,_0x31eee8,_0x1a314b,_0x2ac690)=>{for(var _0x55079f=_0x2ac690>0x1?void 0x0:_0x2ac690?gt(_0x31eee8,_0x1a314b):_0x31eee8,_0x1d811c=_0x1e6093['length']-0x1,_0xbcd1ba;_0x1d811c>=0x0;_0x1d811c--)(_0xbcd1ba=_0x1e6093[_0x1d811c])&&(_0x55079f=_0xbcd1ba(_0x55079f)||_0x55079f);return _0x55079f;},X=(_0x58f498,_0x124798)=>(_0x52716a,_0x2720a3)=>_0x124798(_0x52716a,_0x2720a3,_0x58f498);let ge=class extends a[_0x46c603(0x17a)]{constructor(_0x32befd,_0x435109,_0x2a08c2,_0xf0f2eb,_0x4bc068){const _0x2f24ee=_0x46c603;super(),h(this,_0x2f24ee(0xc9),[]),h(this,_0x2f24ee(0xcd),[]),(this[_0x2f24ee(0x11f)]=_0x32befd,this[_0x2f24ee(0x201)]=_0x435109,this[_0x2f24ee(0x187)]=_0x2a08c2,this[_0x2f24ee(0x27a)]=_0xf0f2eb,this[_0x2f24ee(0x234)]=_0x4bc068,this[_0x2f24ee(0x1df)]());}[_0x46c603(0x1df)](){const _0x2b225e=_0x46c603,_0x45b7d7=this[_0x2b225e(0x11f)]['unitId'],_0x2c54f5=this[_0x2b225e(0x201)];this['disposeWithMe'](d[_0x2b225e(0x33c)]([this[_0x2b225e(0x187)][_0x2b225e(0x28b)](_0x45b7d7),this['_themeService'][_0x2b225e(0x261)]])[_0x2b225e(0x2ea)]($['map'](([_0x402d45,_0xaadad4])=>({'skeleton':_0x2c54f5['getSkeleton'](),'cursors':[..._0x402d45[_0x2b225e(0x22c)]()][_0x2b225e(0x2ba)](_0x2eea95=>({..._0x2eea95,'color':_0xaadad4[_0x2eea95[_0x2b225e(0x218)]]}))})))[_0x2b225e(0x16d)](_0x55facc=>{const _0x2c9533=_0x2b225e;if(this[_0x2c9533(0x28a)](),_0x55facc){const {skeleton:_0x173786,cursors:_0x5e0e3d}=_0x55facc;this[_0x2c9533(0x346)](_0x173786,_0x5e0e3d);}})),this[_0x2b225e(0x2cd)](),this[_0x2b225e(0x296)]();}[_0x46c603(0x346)](_0xe70476,_0x3e507d){const _0x2d6d17=_0x46c603,{scene:_0x30e0ba,mainComponent:_0x293687}=this[_0x2d6d17(0x11f)],_0x1e7044=_0x3e507d[_0x2d6d17(0x121)](_0x14ba02=>new Ue(_0x14ba02,_0x30e0ba,_0xe70476,_0x293687));this[_0x2d6d17(0xc9)]=_0x1e7044,this[_0x2d6d17(0xcd)]=_0x3e507d;}[_0x46c603(0x25a)](){const _0x2658ce=_0x46c603;this[_0x2658ce(0x28a)]();const {scene:_0x4e0a8c,mainComponent:_0xf0857b}=this[_0x2658ce(0x11f)],_0x2fff49=this[_0x2658ce(0x201)][_0x2658ce(0x2d8)](),_0x33e211=this['_cursors'][_0x2658ce(0x121)](_0x1e0044=>new Ue(_0x1e0044,_0x4e0a8c,_0x2fff49,_0xf0857b));this['_cursorShapes']=_0x33e211;}[_0x46c603(0x28a)](){const _0x1d6686=_0x46c603;this['_cursorShapes'][_0x1d6686(0xeb)](_0x2e194f=>_0x2e194f[_0x1d6686(0x268)]()),this[_0x1d6686(0xc9)]=[];}['_initCommandExecutedListener'](){const _0x13b36c=_0x46c603,_0x2ae457=[b[_0x13b36c(0x12f)]['id']];this[_0x13b36c(0x30b)](this[_0x13b36c(0x27a)][_0x13b36c(0x14f)](_0xb30186=>{const _0xe8a6dd=_0x13b36c;_0x2ae457['includes'](_0xb30186['id'])&&_0xb30186[_0xe8a6dd(0xe4)][_0xe8a6dd(0x1e6)]===this[_0xe8a6dd(0x11f)][_0xe8a6dd(0x1e6)]&&this[_0xe8a6dd(0x25a)]();}));}[_0x46c603(0x2cd)](){const _0x3c685f=_0x46c603;this[_0x3c685f(0x30b)](a[_0x3c685f(0x2f0)](this[_0x3c685f(0x11f)][_0x3c685f(0x2e6)][_0x3c685f(0x131)])['pipe']($['filter'](_0x28cf53=>_0x28cf53['type']===p[_0x3c685f(0x2c8)]['resize']),$['throttleTime'](0x10))[_0x3c685f(0x16d)](()=>{const _0x2ceb36=_0x3c685f;this[_0x2ceb36(0x25a)]();}));}};ge=It([X(0x1,a[_0x46c603(0x26b)](Y[_0x46c603(0x12a)])),X(0x2,a['Inject'](x)),X(0x3,a[_0x46c603(0x20e)]),X(0x4,a[_0x46c603(0x26b)](a[_0x46c603(0x2b1)]))],ge);const mt=0x1,Ct=1.5;class ye extends p[_0x46c603(0x165)]{constructor(_0x56cb2c,_0x4e5428){const _0x4e9607=_0x46c603;super(_0x56cb2c,_0x4e5428),h(this,_0x4e9607(0x139)),h(this,_0x4e9607(0x274),!0x1),h(this,_0x4e9607(0x2c1)),h(this,'_name',''),h(this,'_labelPosition',_0x4e9607(0x13c)),h(this,_0x4e9607(0x1ef)),(_0x4e5428&&this[_0x4e9607(0x183)](_0x4e5428),this[_0x4e9607(0xce)][_0x4e9607(0x153)](()=>this[_0x4e9607(0x183)]({'hovered':!0x0})),this[_0x4e9607(0x20b)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x46c603(0x183)](_0x446a32){const _0x49fc05=_0x46c603;var _0xbfaf30,_0xd64373,_0x1470a6,_0x2cef00,_0x51168f,_0x145339;this[_0x49fc05(0x139)]=(_0xbfaf30=_0x446a32[_0x49fc05(0x218)])!=null?_0xbfaf30:this[_0x49fc05(0x139)],this['_hovered']=(_0xd64373=_0x446a32[_0x49fc05(0x2f2)])!=null?_0xd64373:this[_0x49fc05(0x274)],this[_0x49fc05(0x2c1)]=(_0x1470a6=_0x446a32[_0x49fc05(0x1d1)])!=null?_0x1470a6:this[_0x49fc05(0x2c1)],this['_name']=(_0x2cef00=_0x446a32[_0x49fc05(0x2f3)])!=null?_0x2cef00:this['_name'],this['_labelPosition']=(_0x51168f=_0x446a32[_0x49fc05(0x20d)])!=null?_0x51168f:this[_0x49fc05(0x328)],this[_0x49fc05(0x1ef)]=(_0x145339=_0x446a32[_0x49fc05(0x10b)])!=null?_0x145339:this[_0x49fc05(0x1ef)],this[_0x49fc05(0x2fd)]({'width':_0x446a32[_0x49fc05(0x2eb)],'height':_0x446a32[_0x49fc05(0x114)]});}[_0x46c603(0x2aa)](_0x5e030e){const _0x43fc20=_0x46c603,{row:_0x376596,column:_0x3928a1}=_0x5e030e;if(_0x376596>=this[_0x43fc20(0x2c1)][_0x43fc20(0x2bd)]&&_0x376596<=this[_0x43fc20(0x2c1)][_0x43fc20(0x2fc)]&&_0x3928a1>=this['_range'][_0x43fc20(0x1c9)]&&_0x3928a1<=this[_0x43fc20(0x2c1)][_0x43fc20(0x2d0)]){this[_0x43fc20(0x183)]({'hovered':!0x0});return;}this[_0x43fc20(0x183)]({'hovered':!0x1});}[_0x46c603(0x338)](_0x4b43a8){return!0x1;}['_draw'](_0x5c5165){const _0x299f0e=_0x46c603;p[_0x299f0e(0x155)][_0x299f0e(0x30f)](_0x5c5165,{'width':this[_0x299f0e(0x2eb)],'height':this[_0x299f0e(0x114)],'strokeWidth':Ct,'stroke':this[_0x299f0e(0x139)],'evented':!0x1,'fill':this[_0x299f0e(0x1ef)]}),this['_hovered']&&(_0x5c5165[_0x299f0e(0x2af)](),_0x5c5165['transform'](0x1,0x0,0x0,0x1,this[_0x299f0e(0x2eb)],this[_0x299f0e(0x328)]===_0x299f0e(0x2a2)?0x0:-0x14),te[_0x299f0e(0x30f)](_0x5c5165,{'text':this[_0x299f0e(0xed)],'color':this[_0x299f0e(0x139)]}),_0x5c5165[_0x299f0e(0x1c6)]());}}var pt=Object[_0x46c603(0x1e1)],bt=(_0x188531,_0x5ee7d8,_0x19576a,_0xb59041)=>{const _0x45c5bc=_0x46c603;for(var _0x9e96a4=_0xb59041>0x1?void 0x0:_0xb59041?pt(_0x5ee7d8,_0x19576a):_0x5ee7d8,_0xb01a22=_0x188531[_0x45c5bc(0xcb)]-0x1,_0x38e136;_0xb01a22>=0x0;_0xb01a22--)(_0x38e136=_0x188531[_0xb01a22])&&(_0x9e96a4=_0x38e136(_0x9e96a4)||_0x9e96a4);return _0x9e96a4;},ce=(_0x3d97e9,_0x2cb196)=>(_0x3c8b4c,_0x39cef8)=>_0x2cb196(_0x3c8b4c,_0x39cef8,_0x3d97e9);const Et=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x5a021b,_0x468498,_0x5ce74b,_0x47ed5b){const _0xe4ca2e=_0x46c603;super(),h(this,'_cursors',new Set()),h(this,_0xe4ca2e(0x1f9),null),(this[_0xe4ca2e(0x11f)]=_0x5a021b,this['_sheetSkeletonManagerService']=_0x468498,this[_0xe4ca2e(0x187)]=_0x5ce74b,this['_themeService']=_0x47ed5b,this[_0xe4ca2e(0x1df)]());}[_0x46c603(0x1df)](){const _0x4fcc42=_0x46c603;this[_0x4fcc42(0xc6)][_0x4fcc42(0x2f9)]['pipe']($[_0x4fcc42(0x244)](this[_0x4fcc42(0x340)]),$[_0x4fcc42(0x120)](_0x903b93=>{const _0x4c078f=_0x4fcc42;if(_0x903b93){const _0x38efbe=_0x903b93['sheetId'];return d[_0x4c078f(0x33c)](this['_collabCursorController']['getCollabCursors$'](this[_0x4c078f(0x11f)][_0x4c078f(0x1e6)]),this[_0x4c078f(0x234)][_0x4c078f(0x261)])[_0x4c078f(0x2ea)]($[_0x4c078f(0x121)](([_0x44dc1e,_0x496159])=>{const _0x2942b1=_0x4c078f,_0x46974a=new Map();return _0x44dc1e[_0x2942b1(0xeb)]((_0x51a011,_0x30e51d)=>{const _0x5d1d0f=_0x2942b1;if(_0x51a011[_0x5d1d0f(0x2a6)]===_0x38efbe){const _0x2c39ca={..._0x51a011};_0x2c39ca[_0x5d1d0f(0x218)]=_0x496159[_0x51a011[_0x5d1d0f(0x218)]],_0x46974a[_0x5d1d0f(0x14d)](_0x30e51d,_0x2c39ca);}}),{'skeleton':_0x903b93,'cursors':_0x46974a};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fcc42(0x16d)](({skeleton:_0x4c00ee,cursors:_0x2709ac})=>{const _0x192669=_0x4fcc42;this[_0x192669(0x28a)](),_0x4c00ee&&this[_0x192669(0x346)](_0x4c00ee,_0x2709ac);}),this['_sheetSkeletonManagerService'][_0x4fcc42(0x2f9)]['subscribe'](_0x37d818=>{const _0x488a03=_0x4fcc42;if(_0x37d818==null)return;const {skeleton:_0x4dacb3}=_0x37d818,{scene:_0x5525a0}=this['_context'];_0x5525a0[_0x488a03(0x12e)][_0x488a03(0x153)](a['debounce'](_0x431c43=>{const _0x43f732=_0x488a03;var _0x4b6db5,_0xccd212;const {offsetX:_0x4fc25f,offsetY:_0xfa12f7}=_0x431c43,{x:_0x14c911,y:_0x392366}=_0x5525a0[_0x43f732(0x2b5)](p[_0x43f732(0x1c1)][_0x43f732(0x1b3)]([_0x4fc25f,_0xfa12f7])),{scaleX:_0x44f090,scaleY:_0x43699}=_0x5525a0['getAncestorScale'](),_0x5db23b=_0x5525a0[_0x43f732(0xca)](p['SHEET_VIEWPORT_KEY'][_0x43f732(0x2de)]),_0x500afa=_0x5525a0[_0x43f732(0x1f1)](p[_0x43f732(0x1c1)]['FromArray']([_0x14c911,_0x392366]),_0x5db23b),_0x15c675=_0x4dacb3[_0x43f732(0x124)](_0x4fc25f,_0xfa12f7,_0x44f090,_0x43699,_0x500afa);((_0x4b6db5=this[_0x43f732(0x1f9)])==null?void 0x0:_0x4b6db5['column'])===_0x15c675[_0x43f732(0x169)]&&((_0xccd212=this['_lastPointer'])==null?void 0x0:_0xccd212[_0x43f732(0x202)])===_0x15c675[_0x43f732(0x202)]||this[_0x43f732(0xcd)][_0x43f732(0xeb)](_0x227d61=>{const _0x2bcc25=_0x43f732;_0x227d61[_0x2bcc25(0x2aa)](_0x15c675);});},0x64));});}['_updateCollabCursors'](_0xf6c376,_0x9a997d){const _0x280018=_0x46c603;var _0x419f48;const _0x58a0ef=(_0x419f48=this['_sheetSkeletonManagerService'][_0x280018(0x23d)]())==null?void 0x0:_0x419f48['skeleton'];if(!_0x58a0ef)return;const _0x332347=this[_0x280018(0x2ec)]();if(!_0x332347)return;this[_0x280018(0xcd)][_0x280018(0xeb)](_0x22cccc=>{const _0x4b6008=_0x280018;_0x22cccc[_0x4b6008(0x15b)]();});const {scene:_0x10f838}=_0x332347,_0x49c580=Tt(Array[_0x280018(0x282)](_0x9a997d['values']()))[_0x280018(0x121)](_0x2eeafa=>{const _0x5b8235=_0x280018,{color:_0x481161,range:_0x1c5180,name:_0x1ca3e9,selection:_0x3a30ca,sheetID:_0xef4f5b}=_0x2eeafa,{startColumn:_0x20c84f,startRow:_0x52a8a4,endColumn:_0x4e0072,endRow:_0x1cdb91}=_0x1c5180,_0x5c5e31=G[_0x5b8235(0xff)](_0x52a8a4,_0x20c84f,_0x10f838,_0x58a0ef),_0x2d2e28=G[_0x5b8235(0xff)](_0x1cdb91,_0x4e0072,_0x10f838,_0x58a0ef),{columnHeaderHeightAndMarginTop:_0x2026e1}=_0x58a0ef,{startX:_0x38f7f4,startY:_0x56c278}=_0x5c5e31,{endX:_0x8413c5,endY:_0x2eccbd}=_0x2d2e28,_0x2681f0=_0x8413c5-_0x38f7f4,_0xc1ed04=_0x2eccbd-_0x56c278,_0x4b66fe={'labelPosition':_0x56c278-_0x2026e1>=K?_0x5b8235(0x13c):_0x5b8235(0x2a2),'sheetID':_0xef4f5b,'range':_0x1c5180,'color':_0x481161,'name':_0x1ca3e9,'selection':_0x3a30ca,'left':_0x38f7f4,'top':_0x56c278,'width':_0x2681f0,'height':_0xc1ed04,'evented':!0x1,'zIndex':Et};return new ye(_0x1ca3e9,_0x4b66fe);});_0x10f838[_0x280018(0x180)](_0x49c580,mt),this['_cursors']=new Set(_0x49c580);}['_removeCollabCursors'](){const _0x5a508f=_0x46c603;var _0x40ae65;(_0x40ae65=this[_0x5a508f(0xcd)])==null||_0x40ae65['forEach'](_0x1e24f7=>_0x1e24f7[_0x5a508f(0x268)]());}[_0x46c603(0x2ec)](){const _0x4df21f=_0x46c603;return G['getSheetObject'](this[_0x4df21f(0x11f)][_0x4df21f(0x108)],this['_context']);}};Ie=bt([ce(0x1,a[_0x46c603(0x26b)](G[_0x46c603(0x123)])),ce(0x2,a[_0x46c603(0x26b)](x)),ce(0x3,a[_0x46c603(0x26b)](a['ThemeService']))],Ie);function Tt(_0x3ffbb0){const _0x5ba011=_0x46c603,_0x311d87=new Map();return _0x3ffbb0[_0x5ba011(0xeb)](_0x4753c8=>{const _0x1301f7=_0x5ba011;if(_0x311d87[_0x1301f7(0x206)](_0x4753c8[_0x1301f7(0x18a)])){const _0x32a8f2=_0x311d87[_0x1301f7(0x267)](_0x4753c8['selection']);_0x32a8f2['name']+=',\x20'+_0x4753c8[_0x1301f7(0x2f3)];}else _0x311d87[_0x1301f7(0x14d)](_0x4753c8[_0x1301f7(0x18a)],_0x4753c8);}),Array['from'](_0x311d87['values']());}var E=function(){const _0x2d34ae=_0x46c603;return E=Object['assign']||function(_0x14c3bd){const _0x51e40c=_0x5a86;for(var _0xb8058e,_0x831f4a=0x1,_0x580ef5=arguments[_0x51e40c(0xcb)];_0x831f4a<_0x580ef5;_0x831f4a++){_0xb8058e=arguments[_0x831f4a];for(var _0x5a24d2 in _0xb8058e)Object[_0x51e40c(0x2d2)]['hasOwnProperty'][_0x51e40c(0xd9)](_0xb8058e,_0x5a24d2)&&(_0x14c3bd[_0x5a24d2]=_0xb8058e[_0x5a24d2]);}return _0x14c3bd;},E[_0x2d34ae(0x319)](this,arguments);},Rt=function(_0xfc72d9,_0x3eca2e){const _0x40cdb4=_0x46c603;var _0x2fe002={};for(var _0x248d8c in _0xfc72d9)Object['prototype'][_0x40cdb4(0x1c0)][_0x40cdb4(0xd9)](_0xfc72d9,_0x248d8c)&&_0x3eca2e[_0x40cdb4(0x336)](_0x248d8c)<0x0&&(_0x2fe002[_0x248d8c]=_0xfc72d9[_0x248d8c]);if(_0xfc72d9!=null&&typeof Object[_0x40cdb4(0x1bf)]==_0x40cdb4(0x255)){for(var _0x490ed2=0x0,_0x248d8c=Object[_0x40cdb4(0x1bf)](_0xfc72d9);_0x490ed2<_0x248d8c[_0x40cdb4(0xcb)];_0x490ed2++)_0x3eca2e[_0x40cdb4(0x336)](_0x248d8c[_0x490ed2])<0x0&&Object[_0x40cdb4(0x2d2)][_0x40cdb4(0x189)]['call'](_0xfc72d9,_0x248d8c[_0x490ed2])&&(_0x2fe002[_0x248d8c[_0x490ed2]]=_0xfc72d9[_0x248d8c[_0x490ed2]]);}return _0x2fe002;},be=P[_0x46c603(0x241)](function(_0xa72429,_0x2481a6){const _0x6535a8=_0x46c603;var _0x3afc93=_0xa72429[_0x6535a8(0xd1)],_0x5a729a=_0xa72429['id'],_0x111590=_0xa72429['className'],_0x5886c6=_0xa72429[_0x6535a8(0xdf)],_0x50eda1=Rt(_0xa72429,[_0x6535a8(0xd1),'id',_0x6535a8(0x24a),_0x6535a8(0xdf)]),_0x2b768f=_0x6535a8(0x161)[_0x6535a8(0x237)](_0x5a729a,'\x20')[_0x6535a8(0x237)](_0x111590||'')[_0x6535a8(0x226)](),_0x494603=P[_0x6535a8(0x1c8)]('_'[_0x6535a8(0x237)](Ut()));return Ae(_0x3afc93,''['concat'](_0x5a729a),{'defIds':_0x3afc93[_0x6535a8(0x2e7)],'idSuffix':_0x494603[_0x6535a8(0x1b1)]},E({'ref':_0x2481a6,'className':_0x2b768f},_0x50eda1),_0x5886c6);});function Ae(_0xb55aba,_0x4f0a2e,_0x55a37b,_0x5056cc,_0x48101a){const _0x5fff18=_0x46c603;return P[_0x5fff18(0x27c)](_0xb55aba['tag'],E(E({'key':_0x4f0a2e},Ot(_0xb55aba,_0x55a37b,_0x48101a)),_0x5056cc),(Dt(_0xb55aba,_0x55a37b)['children']||[])['map'](function(_0x310a70,_0x2d5bbe){const _0x332a72=_0x5fff18;return Ae(_0x310a70,''[_0x332a72(0x237)](_0x4f0a2e,'-')['concat'](_0xb55aba[_0x332a72(0x1fb)],'-')[_0x332a72(0x237)](_0x2d5bbe),_0x55a37b,void 0x0,_0x48101a);}));}function Ot(_0xb3cdbf,_0x1dc42f,_0x2a1d34){const _0x4529b5=_0x46c603;var _0x54baab=E({},_0xb3cdbf['attrs']);_0x2a1d34!=null&&_0x2a1d34[_0x4529b5(0x315)]&&_0x54baab[_0x4529b5(0x163)]==='colorChannel1'&&(_0x54baab[_0x4529b5(0x163)]=_0x2a1d34[_0x4529b5(0x315)]),_0xb3cdbf[_0x4529b5(0x1fb)]===_0x4529b5(0x29c)&&_0x54baab['id']&&(_0x54baab['id']=_0x54baab['id']+_0x1dc42f['idSuffix']),Object['entries'](_0x54baab)[_0x4529b5(0xeb)](function(_0x4abac7){const _0x1d2a10=_0x4529b5;var _0x56524d=_0x4abac7[0x0],_0x4231b7=_0x4abac7[0x1];_0x56524d===_0x1d2a10(0x29c)&&typeof _0x4231b7=='string'&&(_0x54baab[_0x56524d]=_0x4231b7[_0x1d2a10(0xf1)](/url\(#(.*)\)/,_0x1d2a10(0x258)[_0x1d2a10(0x237)](_0x1dc42f[_0x1d2a10(0x2c6)],')')));});var _0xd68b10=_0x1dc42f[_0x4529b5(0x2e7)];return!_0xd68b10||_0xd68b10[_0x4529b5(0xcb)]===0x0||(_0xb3cdbf[_0x4529b5(0x1fb)]===_0x4529b5(0x105)&&_0x54baab['xlink:href']&&(_0x54baab[_0x4529b5(0x327)]=_0x54baab['xlink:href']+_0x1dc42f[_0x4529b5(0x2c6)]),Object[_0x4529b5(0x149)](_0x54baab)[_0x4529b5(0xeb)](function(_0x1d7ca1){const _0x31899b=_0x4529b5;var _0x4787b1=_0x1d7ca1[0x0],_0x1fda1b=_0x1d7ca1[0x1];typeof _0x1fda1b==_0x31899b(0x1f8)&&(_0x54baab[_0x4787b1]=_0x1fda1b[_0x31899b(0xf1)](/url\(#(.*)\)/,_0x31899b(0x258)[_0x31899b(0x237)](_0x1dc42f['idSuffix'],')')));})),_0x54baab;}function Dt(_0x238d4a,_0x188c6d){const _0x1998a6=_0x46c603;var _0x32e98d,_0x26d652=_0x188c6d[_0x1998a6(0x2e7)];return!_0x26d652||_0x26d652['length']===0x0?_0x238d4a:_0x238d4a['tag']===_0x1998a6(0x2da)&&(!((_0x32e98d=_0x238d4a[_0x1998a6(0x331)])===null||_0x32e98d===void 0x0)&&_0x32e98d[_0x1998a6(0xcb)])?E(E({},_0x238d4a),{'children':_0x238d4a[_0x1998a6(0x331)][_0x1998a6(0x121)](function(_0x376673){const _0x1933a2=_0x1998a6;return typeof _0x376673[_0x1933a2(0x148)]['id']==_0x1933a2(0x1f8)&&_0x26d652&&_0x26d652[_0x1933a2(0x336)](_0x376673[_0x1933a2(0x148)]['id'])>-0x1?E(E({},_0x376673),{'attrs':E(E({},_0x376673[_0x1933a2(0x148)]),{'id':_0x376673[_0x1933a2(0x148)]['id']+_0x188c6d['idSuffix']})}):_0x376673;})}):_0x238d4a;}function Ut(){const _0x449af4=_0x46c603;return Math[_0x449af4(0x154)]()[_0x449af4(0x1ea)](0x24)[_0x449af4(0x222)](0x2,0x8);}be[_0x46c603(0xe8)]='UniverIcon';var Mt={'tag':_0x46c603(0x1e3),'attrs':{'fill':_0x46c603(0x2fb),'viewBox':'0\x200\x2016\x2016','width':_0x46c603(0x266),'height':_0x46c603(0x266)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x46c603(0x316),'attrs':{'stroke':'currentColor','d':_0x46c603(0x193),'strokeLinecap':_0x46c603(0x215),'strokeLinejoin':_0x46c603(0x215),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x46c603(0x101)},'children':[{'tag':_0x46c603(0x316),'attrs':{'fill':'#fff','d':_0x46c603(0x173)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$e=P[_0x46c603(0x241)](function(_0x39a27c,_0x3d38eb){const _0x35d4a1=_0x46c603;return P[_0x35d4a1(0x27c)](be,Object['assign']({},_0x39a27c,{'id':_0x35d4a1(0x12d),'ref':_0x3d38eb,'icon':Mt}));});$e['displayName']=_0x46c603(0x22d);var Pt={'tag':_0x46c603(0x1e3),'attrs':{'fill':_0x46c603(0x2fb),'viewBox':'0\x200\x2017\x2016','width':_0x46c603(0x266),'height':_0x46c603(0x266)},'children':[{'tag':'g','attrs':{'clipPath':_0x46c603(0x252)},'children':[{'tag':_0x46c603(0x316),'attrs':{'stroke':_0x46c603(0x151),'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':_0x46c603(0x215),'strokeLinejoin':_0x46c603(0x215),'strokeWidth':1.2}}]},{'tag':_0x46c603(0x2da),'attrs':{},'children':[{'tag':_0x46c603(0x1f3),'attrs':{'id':_0x46c603(0x238)},'children':[{'tag':'path','attrs':{'fill':_0x46c603(0x1bc),'d':_0x46c603(0x173),'transform':_0x46c603(0x32c)}}]}]}],'defIds':[_0x46c603(0x238)]},xe=P[_0x46c603(0x241)](function(_0x2fee73,_0x254a52){const _0xd7671e=_0x46c603;return P[_0xd7671e(0x27c)](be,Object['assign']({},_0x2fee73,{'id':_0xd7671e(0x2a0),'ref':_0x254a52,'icon':Pt}));});xe['displayName']='OnLineSingle';const Nt=_0x46c603(0x2dd),wt=_0x46c603(0x145),Lt='univer-online-status',yt=_0x46c603(0x1e5),At=_0x46c603(0x308),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x26b87d){const _0x17317e=_0x46c603;switch(_0x26b87d){case u[_0x17317e(0x1ae)][_0x17317e(0x2a1)]:return _0x17317e(0xd6);case u['CollaborationStatus']['CONFLICT']:return _0x17317e(0x147);case u[_0x17317e(0x1ae)]['FETCH_MISS']:return _0x17317e(0x1c4);case u['CollaborationStatus'][_0x17317e(0x13a)]:return _0x17317e(0x2b2);case u[_0x17317e(0x1ae)][_0x17317e(0x333)]:case u['CollaborationStatus'][_0x17317e(0x310)]:return _0x17317e(0x117);case u[_0x17317e(0x1ae)][_0x17317e(0x246)]:case u[_0x17317e(0x1ae)][_0x17317e(0x293)]:return _0x17317e(0x271);}}function je(_0x24e038){const _0x3361c2=_0x46c603,{status$:_0x228c45}=_0x24e038,_0x20167c=R[_0x3361c2(0x229)](_0x228c45,u[_0x3361c2(0x1ae)][_0x3361c2(0x13a)]),_0x46c45c=R[_0x3361c2(0x175)](a[_0x3361c2(0x23c)]),_0x2da7c5=R[_0x3361c2(0x175)](u[_0x3361c2(0x27b)]),_0x47d34d=_0x20167c!==u['CollaborationStatus'][_0x3361c2(0x2a1)],_0x208312=_0x46c45c['t']($t(_0x20167c)),_0x1a7c2a=T[_0x3361c2(0x1a6)](H['onlineStatus'],{[H[_0x3361c2(0x134)]]:_0x47d34d,[H['offline']]:!_0x47d34d}),_0x3661ce=_0x47d34d?w[_0x3361c2(0x198)](xe,{}):w[_0x3361c2(0x198)]($e,{}),_0x50636b=P[_0x3361c2(0x243)](()=>{const _0xb0170e=_0x3361c2;_0x47d34d||_0x2da7c5[_0xb0170e(0x281)]();},[_0x47d34d,_0x2da7c5]);function _0x444c24(){const _0x59f36b=_0x3361c2;return w[_0x59f36b(0x250)]('div',{'className':T[_0x59f36b(0x1a6)](_0x1a7c2a,_0x59f36b(0x264)),'onClick':_0x50636b,'children':[w[_0x59f36b(0x198)](_0x59f36b(0xcc),{'className':H[_0x59f36b(0x152)],'children':_0x3661ce}),w[_0x59f36b(0x198)]('div',{'className':H[_0x59f36b(0x29a)],'children':_0x208312})]});}return _0x47d34d?_0x444c24():w['jsx'](T[_0x3361c2(0x17c)],{'title':_0x46c45c['t'](_0x3361c2(0x25d)),'children':_0x444c24()});}var xt=Object[_0x46c603(0x1e1)],jt=(_0x46cac0,_0x4c2dac,_0x5158d5,_0x5b7116)=>{const _0x1cb94e=_0x46c603;for(var _0xe151ad=_0x5b7116>0x1?void 0x0:_0x5b7116?xt(_0x4c2dac,_0x5158d5):_0x4c2dac,_0x4f16bd=_0x46cac0[_0x1cb94e(0xcb)]-0x1,_0x3b29d3;_0x4f16bd>=0x0;_0x4f16bd--)(_0x3b29d3=_0x46cac0[_0x4f16bd])&&(_0xe151ad=_0x3b29d3(_0xe151ad)||_0xe151ad);return _0xe151ad;},V=(_0xd4df68,_0x53c28b)=>(_0x545d92,_0x37263b)=>_0x53c28b(_0x545d92,_0x37263b,_0xd4df68);exports[_0x46c603(0x16c)]=class extends a[_0x46c603(0x32b)]{constructor(_0x3f2074,_0x5833b6,_0x419308,_0x69f0ec){const _0x3e9e56=_0x46c603;super(),h(this,_0x3e9e56(0x10a),new d[(_0x3e9e56(0x31b))](u[_0x3e9e56(0x1ae)][_0x3e9e56(0x13a)])),(this['_univerInstanceService']=_0x3f2074,this[_0x3e9e56(0x138)]=_0x5833b6,this[_0x3e9e56(0x2fa)]=_0x419308,this[_0x3e9e56(0x285)]=_0x69f0ec,this[_0x3e9e56(0x130)](),this[_0x3e9e56(0x312)]());}[_0x46c603(0x312)](){const _0x280b4d=_0x46c603;this[_0x280b4d(0x30b)](this['_univerInstanceService'][_0x280b4d(0x100)][_0x280b4d(0x2ea)](d['switchMap'](()=>{const _0x2be0ac=_0x280b4d,_0x48aeba=this[_0x2be0ac(0x1d6)][_0x2be0ac(0x17e)]();return _0x48aeba?this[_0x2be0ac(0x2fa)][_0x2be0ac(0x299)](_0x48aeba['getUnitId']()):d['of'](null);}),d[_0x280b4d(0x120)](_0x1c5052=>_0x1c5052?_0x1c5052[_0x280b4d(0x14c)]:d['of'](u[_0x280b4d(0x1ae)][_0x280b4d(0x13a)])))[_0x280b4d(0x16d)](_0x662cbe=>{const _0x5515f8=_0x280b4d;this[_0x5515f8(0x10a)][_0x5515f8(0x1d5)](_0x662cbe);}));}['_initStatusComponent'](){const _0x36e63d=_0x46c603;this[_0x36e63d(0x30b)](this['_uiPartsService'][_0x36e63d(0x309)](R[_0x36e63d(0x20a)][_0x36e63d(0x33d)],()=>R[_0x36e63d(0x34d)](kt({'status$':this[_0x36e63d(0x10a)][_0x36e63d(0x2d3)]()}),this[_0x36e63d(0x138)])));}},exports[_0x46c603(0x16c)]=jt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x46c603(0x26b)](a[_0x46c603(0x2cf)])),V(0x2,a[_0x46c603(0x26b)](u['CollaborationController'])),V(0x3,R[_0x46c603(0x21f)])],exports[_0x46c603(0x16c)]);function kt(_0x91f911){const {status$:_0x4b8a7f}=_0x91f911;return function(){const _0x1913d8=_0x5a86;return w[_0x1913d8(0x198)](je,{'status$':_0x4b8a7f});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x53ff5e,_0x5722a3,_0x55ad1a,_0x2d60be)=>{const _0x44d074=_0x46c603;for(var _0x3652df=_0x2d60be>0x1?void 0x0:_0x2d60be?Bt(_0x5722a3,_0x55ad1a):_0x5722a3,_0x10347a=_0x53ff5e[_0x44d074(0xcb)]-0x1,_0x31b949;_0x10347a>=0x0;_0x10347a--)(_0x31b949=_0x53ff5e[_0x10347a])&&(_0x3652df=_0x31b949(_0x3652df)||_0x3652df);return _0x3652df;},A=(_0x54d429,_0x3cd359)=>(_0x56ef75,_0x1a9918)=>_0x3cd359(_0x56ef75,_0x1a9918,_0x54d429);let z=class extends a['Disposable']{constructor(_0x13590f,_0x19378a,_0x4df2ce,_0x12fb19,_0x58a924,_0x37b9cd){const _0x58cae4=_0x46c603;super(),this['_beforeCloseService']=_0x13590f,this[_0x58cae4(0x143)]=_0x19378a,this['_collaborationUIEventService']=_0x4df2ce,this[_0x58cae4(0xfb)]=_0x12fb19,this[_0x58cae4(0x2fe)]=_0x58a924,this[_0x58cae4(0x32a)]=_0x37b9cd,this[_0x58cae4(0x2df)](),this[_0x58cae4(0x23f)]();}[_0x46c603(0x2df)](){const _0x24a1d6=_0x46c603;this[_0x24a1d6(0x30b)](this[_0x24a1d6(0x305)]['registerBeforeClose'](()=>{const _0x1ec40e=_0x24a1d6;if(this[_0x1ec40e(0x143)][_0x1ec40e(0x311)]['size'])return this[_0x1ec40e(0x32a)]['t'](_0x1ec40e(0x185));}));}['_initEvent'](){const _0x204fdf=_0x46c603;this[_0x204fdf(0x30b)](this[_0x204fdf(0xf9)][_0x204fdf(0x109)]['subscribe'](_0x4ef80a=>{const _0xcd8e5c=_0x204fdf;_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xcd8e5c(0x231)]({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x2ff)],'content':this['_localeService']['t'](_0xcd8e5c(0x27e))}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0x11a)]&&this[_0xcd8e5c(0xfb)][_0xcd8e5c(0x231)]({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x2ff)],'content':this[_0xcd8e5c(0x32a)]['t'](_0xcd8e5c(0x174))}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0xc5)]&&this[_0xcd8e5c(0x2fe)]['show']({'title':this['_localeService']['t'](_0xcd8e5c(0x1a3)),'content':this[_0xcd8e5c(0x32a)]['t'](_0xcd8e5c(0x224)),'type':_0xcd8e5c(0x197),'duration':0x0}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0x171)]&&this[_0xcd8e5c(0xfb)][_0xcd8e5c(0x231)]({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x269)],'content':this[_0xcd8e5c(0x32a)]['t']('collaboration.closeRoom')+'('+_0x4ef80a['data']+')'}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0x23e)]&&this['_messageService'][_0xcd8e5c(0x231)]({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x2ff)],'content':this[_0xcd8e5c(0x32a)]['t'](_0x4ef80a[_0xcd8e5c(0x25f)]||'')}),_0x4ef80a['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0xcd8e5c(0xfb)]['show']({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x2ff)],'content':this['_localeService']['t'](_0xcd8e5c(0x102))}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0x339)]&&this[_0xcd8e5c(0xfb)]['show']({'type':T[_0xcd8e5c(0x1a5)]['Error'],'content':this[_0xcd8e5c(0x32a)]['t'](_0xcd8e5c(0x1b5))}),_0x4ef80a['id']===u[_0xcd8e5c(0x1f7)][_0xcd8e5c(0x2c0)]&&this[_0xcd8e5c(0xfb)][_0xcd8e5c(0x231)]({'type':T[_0xcd8e5c(0x1a5)][_0xcd8e5c(0x269)],'content':this[_0xcd8e5c(0x32a)]['t'](_0xcd8e5c(0x186))});}));}};z=Ht([A(0x0,R[_0x46c603(0xe2)]),A(0x1,u[_0x46c603(0x334)]),A(0x2,a[_0x46c603(0x26b)](u['CollaborationUIEventService'])),A(0x3,R[_0x46c603(0x1cf)]),A(0x4,R['INotificationService']),A(0x5,a[_0x46c603(0x26b)](a['LocaleService']))],z);const Wt='collaboration-client-ui.config',Me={},Ee=a['createIdentifier']('uni.network.url-service');var Ft=Object[_0x46c603(0x1e1)],Yt=(_0x4d5144,_0x1126bb,_0x2c4f4f,_0x1e00d9)=>{const _0x756e45=_0x46c603;for(var _0x47a732=_0x1e00d9>0x1?void 0x0:_0x1e00d9?Ft(_0x1126bb,_0x2c4f4f):_0x1126bb,_0x25c76d=_0x4d5144[_0x756e45(0xcb)]-0x1,_0x2d8384;_0x25c76d>=0x0;_0x25c76d--)(_0x2d8384=_0x4d5144[_0x25c76d])&&(_0x47a732=_0x2d8384(_0x47a732)||_0x47a732);return _0x47a732;},W=(_0x16e175,_0xa60e8e)=>(_0x3a02e3,_0xc640bd)=>_0xa60e8e(_0x3a02e3,_0xc640bd,_0x16e175);exports[_0x46c603(0x325)]=class extends a[_0x46c603(0x17a)]{constructor(_0x1e5c45,_0x599854,_0x5548a6,_0x3997ee,_0x499412){const _0x25330b=_0x46c603;super(),this[_0x25330b(0x342)]=_0x1e5c45,this[_0x25330b(0x127)]=_0x599854,this[_0x25330b(0x27a)]=_0x5548a6,this[_0x25330b(0xee)]=_0x3997ee,_0x499412?_0x499412==null||_0x499412[_0x25330b(0x1ad)]()['then'](()=>this[_0x25330b(0x1df)]()):(this['_logService'][_0x25330b(0x332)](_0x25330b(0x14b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x25330b(0x1df)]());}async['_init'](){const _0x44b327=_0x46c603,_0x3b88e3=this[_0x44b327(0x342)][_0x44b327(0x13b)](_0x44b327(0x108)),_0x256644=this[_0x44b327(0x342)][_0x44b327(0x13b)]('type'),_0x2d8353=this[_0x44b327(0x342)][_0x44b327(0x13b)](_0x44b327(0x1a9));if(!_0x3b88e3||!_0x256644){this[_0x44b327(0x127)][_0x44b327(0x332)](_0x44b327(0x14b),_0x44b327(0x19a));return;}const _0xc58023=await this[_0x44b327(0xee)][_0x44b327(0x272)](_0x3b88e3,Number(_0x256644),_0x2d8353);_0xc58023&&_0xc58023 instanceof a[_0x44b327(0x179)]&&this['_setupSubUnitSync'](_0xc58023);}async[_0x46c603(0x242)](_0x7ce72f){const _0x7778ed=_0x46c603;await this['_updateSubUnitFromURLParams'](_0x7ce72f),_0x7ce72f[_0x7778ed(0x26c)]['pipe'](d[_0x7778ed(0x244)](this[_0x7778ed(0x340)]))['subscribe'](_0x6f6c9f=>{const _0x2b095c=_0x7778ed;_0x6f6c9f&&this[_0x2b095c(0x1e4)](_0x6f6c9f);}),this['_urlService'][_0x7778ed(0x1e2)]['pipe'](d[_0x7778ed(0x244)](this['dispose$']))[_0x7778ed(0x16d)](()=>this[_0x7778ed(0x14a)](_0x7ce72f));}[_0x46c603(0x1e4)](_0x2878b7,_0x14c802=!0x1){const _0x203b4d=_0x46c603,_0x5511e0=this[_0x203b4d(0x342)][_0x203b4d(0x13b)](_0x203b4d(0x1a9));_0x2878b7['getSheetId']()!==_0x5511e0&&this[_0x203b4d(0x342)][_0x203b4d(0x2a8)](_0x203b4d(0x1a9),_0x2878b7[_0x203b4d(0x2f4)](),_0x14c802);}async[_0x46c603(0x14a)](_0x283c4b){const _0x593655=_0x46c603;var _0x1f48f7;const _0x422cef=this['_urlService'][_0x593655(0x13b)](_0x593655(0x1a9));if(!_0x422cef||!_0x283c4b[_0x593655(0x314)](_0x422cef)){const _0x5689d2=_0x283c4b[_0x593655(0x2e8)]()[0x0],_0xf5e02=_0x283c4b['getSheetBySheetId'](_0x5689d2);if(!_0xf5e02)return;this[_0x593655(0x1e4)](_0xf5e02,!0x0),await this[_0x593655(0x27a)][_0x593655(0x205)](I[_0x593655(0x317)]['id'],{'unitId':_0x283c4b[_0x593655(0x164)](),'subUnitId':_0x5689d2});return;}((_0x1f48f7=_0x283c4b['getActiveSheet']())==null?void 0x0:_0x1f48f7[_0x593655(0x2f4)]())!==_0x422cef&&await this[_0x593655(0x27a)][_0x593655(0x205)](I[_0x593655(0x317)]['id'],{'unitId':_0x283c4b[_0x593655(0x164)](),'subUnitId':_0x422cef});}},exports['CollaborationDataLoaderController']=Yt([W(0x0,Ee),W(0x1,a[_0x46c603(0x232)]),W(0x2,a[_0x46c603(0x20e)]),W(0x3,a['Inject'](u[_0x46c603(0x251)])),W(0x4,a['Optional'](Ke[_0x46c603(0x1a8)]))],exports[_0x46c603(0x325)]);var Xt=Object[_0x46c603(0x1e1)],Vt=(_0x593c5f,_0x282cf9,_0x4eb8b4,_0x4adc0b)=>{const _0x30a066=_0x46c603;for(var _0x3781b2=_0x4adc0b>0x1?void 0x0:_0x4adc0b?Xt(_0x282cf9,_0x4eb8b4):_0x282cf9,_0x1cf441=_0x593c5f[_0x30a066(0xcb)]-0x1,_0x15c3b9;_0x1cf441>=0x0;_0x1cf441--)(_0x15c3b9=_0x593c5f[_0x1cf441])&&(_0x3781b2=_0x15c3b9(_0x3781b2)||_0x3781b2);return _0x3781b2;},le=(_0x3f694e,_0x1b4bca)=>(_0x46ffba,_0x46d037)=>_0x1b4bca(_0x46ffba,_0x46d037,_0x3f694e);let J=class{constructor(_0xf7c7cb,_0xac7acd,_0x2448b5){const _0x10e647=_0x46c603;this[_0x10e647(0x138)]=_0xf7c7cb,this[_0x10e647(0x17f)]=_0xac7acd,this[_0x10e647(0x324)]=_0x2448b5;}[_0x46c603(0x208)](_0x16ea08){const _0xd637e7=_0x46c603;this[_0xd637e7(0x1cb)](_0x16ea08),this[_0xd637e7(0x194)](_0x16ea08);}[_0x46c603(0x20f)](_0x3c1ba7){const _0x97c996=_0x46c603,{unitID:_0x48f706}=_0x3c1ba7,_0x377694=this[_0x97c996(0x324)][_0x97c996(0x199)](_0x48f706)[_0x97c996(0x1ac)](b['DocIMEInputManagerService']),{redoCache:_0x1d1fff}=_0x377694[_0x97c996(0x2f5)]();if(_0x1d1fff['length']===0x0)return _0x3c1ba7;let _0x1ba089=a[_0x97c996(0x23b)][_0x97c996(0x19e)](_0x3c1ba7[_0x97c996(0xfd)][0x0]);for(let _0x551a66=0x0;_0x551a66<_0x1d1fff[_0x97c996(0xcb)];_0x551a66++){const _0x196f89={'id':_0x97c996(0x23a),'params':{..._0x1d1fff[_0x551a66]}},_0x5dc7fc=this[_0x97c996(0x17f)][_0x97c996(0x227)](_0x1ba089,_0x196f89,!0x1);if(m[_0x97c996(0x2c3)](_0x5dc7fc))throw _0x5dc7fc[_0x97c996(0x197)];_0x1ba089=_0x5dc7fc['m1Prime'];}return{...a[_0x97c996(0x23b)][_0x97c996(0x19e)](_0x3c1ba7),'mutations':[_0x1ba089]};}['_transformUndoRedoStack'](_0x1ac0c5){const _0x262b64=_0x46c603,{unitID:_0x641cbc}=_0x1ac0c5,_0x5c1748=this[_0x262b64(0x324)][_0x262b64(0x199)](_0x641cbc)['with'](b[_0x262b64(0x275)]),{undoCache:_0x16695f,redoCache:_0x1ea461}=_0x5c1748[_0x262b64(0x2f5)]();if(_0x16695f['length']===0x0||_0x1ea461[_0x262b64(0xcb)]===0x0)return;const _0x2161f1=[],_0x13a2b1=[];let _0x26f606=a[_0x262b64(0x23b)]['deepClone'](_0x1ac0c5[_0x262b64(0xfd)][0x0]),_0x35f123=a[_0x262b64(0x23b)][_0x262b64(0x19e)](_0x1ac0c5[_0x262b64(0xfd)][0x0]);for(let _0x104db6=_0x16695f[_0x262b64(0xcb)]-0x1;_0x104db6>=0x0;_0x104db6--){const _0x2dd969={'id':_0x262b64(0x23a),'params':{..._0x16695f[_0x104db6]}},_0x515e98={'id':'doc.mutation.rich-text-editing','params':{..._0x1ea461[_0x104db6]}},_0x4ec1f5=this[_0x262b64(0x17f)]['transformMutation'](_0x26f606,_0x2dd969,!0x1),_0x549acf=this['_transformService'][_0x262b64(0x227)](_0x35f123,_0x515e98,!0x1);if(m['isTransformMutationFailure'](_0x4ec1f5))throw _0x4ec1f5[_0x262b64(0x197)];if(m[_0x262b64(0x2c3)](_0x549acf))throw _0x549acf[_0x262b64(0x197)];_0x2161f1[_0x262b64(0xdd)](_0x4ec1f5['m2Prime']['params']),_0x13a2b1['unshift'](_0x549acf[_0x262b64(0xdb)]['params']),_0x26f606=_0x4ec1f5[_0x262b64(0x1d8)],_0x35f123=_0x549acf['m1Prime'];}_0x5c1748[_0x262b64(0x1be)]({'undoCache':_0x2161f1,'redoCache':_0x13a2b1});}['_transformPreviousActiveRange'](_0x44dbca){const _0x6bee7b=_0x46c603,{unitID:_0xb0da21}=_0x44dbca,_0x307e1e=this[_0x6bee7b(0x324)][_0x6bee7b(0x199)](_0xb0da21)[_0x6bee7b(0x1ac)](b[_0x6bee7b(0x275)]),_0x1c5ff2=_0x307e1e[_0x6bee7b(0x27f)]();if(_0x1c5ff2==null)return;const _0x219a45=[{'id':_0x6bee7b(0x23a),'params':{'unitId':_0x44dbca['unitID'],'actions':null,'textRanges':[_0x1c5ff2]}}],_0x3e2d92=this[_0x6bee7b(0x17f)][_0x6bee7b(0xc7)](_0x44dbca,_0x219a45);if(!m[_0x6bee7b(0x304)](_0x3e2d92))throw _0x3e2d92[_0x6bee7b(0x197)];const _0x3b7c3c=_0x3e2d92[_0x6bee7b(0xdb)][0x0][_0x6bee7b(0xe4)][_0x6bee7b(0x2b4)];Array[_0x6bee7b(0x31e)](_0x3b7c3c)&&_0x3b7c3c[_0x6bee7b(0xcb)]&&_0x307e1e[_0x6bee7b(0x1f4)](_0x3b7c3c[0x0]);}};J=Vt([le(0x0,a[_0x46c603(0x26b)](a[_0x46c603(0x2cf)])),le(0x1,m[_0x46c603(0x2a3)]),le(0x2,p[_0x46c603(0x323)])],J);var Gt=Object[_0x46c603(0x1e1)],qt=(_0xc3f0f0,_0x375085,_0x5bbba0,_0x22b8cd)=>{const _0x18a1f2=_0x46c603;for(var _0x391fa6=_0x22b8cd>0x1?void 0x0:_0x22b8cd?Gt(_0x375085,_0x5bbba0):_0x375085,_0xa41129=_0xc3f0f0[_0x18a1f2(0xcb)]-0x1,_0x442443;_0xa41129>=0x0;_0xa41129--)(_0x442443=_0xc3f0f0[_0xa41129])&&(_0x391fa6=_0x442443(_0x391fa6)||_0x391fa6);return _0x391fa6;},he=(_0x13250e,_0x19a1a4)=>(_0x465017,_0x47ef65)=>_0x19a1a4(_0x465017,_0x47ef65,_0x13250e);let Z=class{constructor(_0x405191,_0x100b33,_0x4bb950){const _0x1ecc4c=_0x46c603;this[_0x1ecc4c(0x138)]=_0x405191,this['_transformService']=_0x100b33,this[_0x1ecc4c(0x306)]=_0x4bb950;}[_0x46c603(0x2dc)](_0x3754e4){const _0x1c78db=_0x46c603;this[_0x1c78db(0x1f5)](_0x3754e4);}[_0x46c603(0x20f)](_0x56b155){const _0x4a9974=_0x46c603,{unitID:_0x33495e}=_0x56b155,{collaboration:_0x3ef3b9}=this[_0x4a9974(0x306)][_0x4a9974(0x289)](_0x33495e);if(_0x3ef3b9[_0x4a9974(0xcb)]===0x0)return _0x56b155;let _0x2c415a=a[_0x4a9974(0x23b)][_0x4a9974(0x19e)](_0x56b155[_0x4a9974(0xfd)][0x0]);for(let _0xc3365a=0x0;_0xc3365a<_0x3ef3b9[_0x4a9974(0xcb)];_0xc3365a++){const _0xe0bc20={'id':_0x4a9974(0x23a),'params':{'unitId':_0x3ef3b9[_0xc3365a][_0x4a9974(0x1e6)],..._0x3ef3b9[_0xc3365a][_0x4a9974(0xd5)]}},_0x5eac47=this[_0x4a9974(0x17f)]['transformMutation'](_0x2c415a,_0xe0bc20,!0x1);if(m[_0x4a9974(0x2c3)](_0x5eac47))throw _0x5eac47['error'];_0x2c415a=_0x5eac47['m1Prime'];}return{...a[_0x4a9974(0x23b)][_0x4a9974(0x19e)](_0x56b155),'mutations':[_0x2c415a]};}[_0x46c603(0x1f5)](_0x376cac){const _0x12345e=_0x46c603,{unitID:_0x150f3e}=_0x376cac,{history:_0x53a471,collaboration:_0x1a9751}=this[_0x12345e(0x306)][_0x12345e(0x289)](_0x150f3e);if(_0x53a471[_0x12345e(0xcb)]===0x0&&_0x1a9751[_0x12345e(0xcb)]===0x0)return;const _0x5a7a25=[],_0x2a6136=[];let _0x4f8ce4=a[_0x12345e(0x23b)][_0x12345e(0x19e)](_0x376cac['mutations'][0x0]),_0x5c0803=a['Tools'][_0x12345e(0x19e)](_0x376cac['mutations'][0x0]);for(let _0x488dca=_0x53a471['length']-0x1;_0x488dca>=0x0;_0x488dca--){const _0x10daf2={'id':_0x12345e(0x23a),'params':{'unitId':_0x53a471[_0x488dca][_0x12345e(0x1e6)],..._0x53a471[_0x488dca][_0x12345e(0x2d4)]}},_0x586c8d={'id':_0x12345e(0x23a),'params':{'unitId':_0x53a471[_0x488dca][_0x12345e(0x1e6)],..._0x53a471[_0x488dca][_0x12345e(0xd5)]}},_0x1f3c0c=this['_transformService'][_0x12345e(0x227)](_0x4f8ce4,_0x10daf2,!0x1),_0x133d7f=this[_0x12345e(0x17f)]['transformMutation'](_0x5c0803,_0x586c8d,!0x1);if(m[_0x12345e(0x2c3)](_0x1f3c0c))throw _0x1f3c0c[_0x12345e(0x197)];if(m[_0x12345e(0x2c3)](_0x133d7f))throw _0x133d7f[_0x12345e(0x197)];_0x5a7a25[_0x12345e(0xdd)]({..._0x53a471[_0x488dca],'undoState':_0x1f3c0c[_0x12345e(0xdb)][_0x12345e(0xe4)],'redoState':_0x133d7f['m2Prime']['params']}),_0x4f8ce4=_0x1f3c0c['m1Prime'],_0x5c0803=_0x133d7f[_0x12345e(0x1d8)];}_0x4f8ce4=a[_0x12345e(0x23b)][_0x12345e(0x19e)](_0x376cac[_0x12345e(0xfd)][0x0]),_0x5c0803=a[_0x12345e(0x23b)]['deepClone'](_0x376cac['mutations'][0x0]);for(let _0x4632c6=_0x1a9751[_0x12345e(0xcb)]-0x1;_0x4632c6>=0x0;_0x4632c6--){const _0x1dd537={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a9751[_0x4632c6][_0x12345e(0x1e6)],..._0x1a9751[_0x4632c6][_0x12345e(0x2d4)]}},_0xa06199={'id':_0x12345e(0x23a),'params':{'unitId':_0x1a9751[_0x4632c6][_0x12345e(0x1e6)],..._0x1a9751[_0x4632c6][_0x12345e(0xd5)]}},_0x34763f=this['_transformService']['transformMutation'](_0x4f8ce4,_0x1dd537,!0x1),_0x22fdc8=this[_0x12345e(0x17f)]['transformMutation'](_0x5c0803,_0xa06199,!0x1);if(m[_0x12345e(0x2c3)](_0x34763f))throw _0x34763f[_0x12345e(0x197)];if(m[_0x12345e(0x2c3)](_0x22fdc8))throw _0x22fdc8[_0x12345e(0x197)];_0x2a6136[_0x12345e(0xdd)]({..._0x1a9751[_0x4632c6],'undoState':_0x34763f['m2Prime'][_0x12345e(0xe4)],'redoState':_0x22fdc8[_0x12345e(0xdb)]['params']}),_0x4f8ce4=_0x34763f['m1Prime'],_0x5c0803=_0x22fdc8['m1Prime'];}this[_0x12345e(0x306)][_0x12345e(0x18b)](_0x150f3e,{'history':_0x5a7a25,'collaboration':_0x2a6136});}};Z=qt([he(0x0,a['Inject'](a[_0x46c603(0x2cf)])),he(0x1,m['ITransformService']),he(0x2,a[_0x46c603(0x26b)](b[_0x46c603(0x291)]))],Z);var Kt=Object[_0x46c603(0x1e1)],zt=(_0x14de71,_0x382bd5,_0x44d6b0,_0x12b6ea)=>{const _0x4b4325=_0x46c603;for(var _0x4cab6e=_0x12b6ea>0x1?void 0x0:_0x12b6ea?Kt(_0x382bd5,_0x44d6b0):_0x382bd5,_0x3e4cca=_0x14de71[_0x4b4325(0xcb)]-0x1,_0xbac45a;_0x3e4cca>=0x0;_0x3e4cca--)(_0xbac45a=_0x14de71[_0x3e4cca])&&(_0x4cab6e=_0xbac45a(_0x4cab6e)||_0x4cab6e);return _0x4cab6e;},Pe=(_0x46516,_0x2f6dc1)=>(_0x404c96,_0x5de018)=>_0x2f6dc1(_0x404c96,_0x5de018,_0x46516);let Q=class{constructor(_0x47049e,_0x3774af){const _0x276fb0=_0x46c603;this[_0x276fb0(0x138)]=_0x47049e,this[_0x276fb0(0x17f)]=_0x3774af;}['transformSelections'](_0x3a2376){const _0x24ed20=_0x46c603;var _0x492835;const _0x244d77=this['_injector'][_0x24ed20(0x267)](Y[_0x24ed20(0x1ce)]),_0xd59793=(_0x492835=_0x244d77['getDocRanges']())!=null?_0x492835:[];if(_0xd59793[_0x24ed20(0xcb)]===0x0)return;const _0x3e770a=_0x3a2376['unitID'],_0xc26c4a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e770a,'actions':null,'textRanges':_0xd59793}}],_0x5e86cc=this[_0x24ed20(0x17f)]['transformMutationsWithChangeset'](_0x3a2376,_0xc26c4a);if(!m[_0x24ed20(0x304)](_0x5e86cc))throw _0x5e86cc['error'];const _0x51d5c1=_0x5e86cc[_0x24ed20(0xdb)][0x0][_0x24ed20(0xe4)][_0x24ed20(0x2b4)];Array['isArray'](_0x51d5c1)&&_0x51d5c1['length']&&_0x244d77[_0x24ed20(0x1c2)](_0x51d5c1,{'unitId':_0x3e770a,'subUnitId':_0x3e770a},!0x1);}};Q=zt([Pe(0x0,a[_0x46c603(0x26b)](a['Injector'])),Pe(0x1,m[_0x46c603(0x2a3)])],Q);var Jt=Object[_0x46c603(0x1e1)],Zt=(_0x119a3e,_0x212224,_0x253045,_0x1e0dbc)=>{const _0x32618e=_0x46c603;for(var _0x4f07c4=_0x1e0dbc>0x1?void 0x0:_0x1e0dbc?Jt(_0x212224,_0x253045):_0x212224,_0x163c25=_0x119a3e[_0x32618e(0xcb)]-0x1,_0x136c06;_0x163c25>=0x0;_0x163c25--)(_0x136c06=_0x119a3e[_0x163c25])&&(_0x4f07c4=_0x136c06(_0x4f07c4)||_0x4f07c4);return _0x4f07c4;},M=(_0x45b8ef,_0x35b370)=>(_0x5f0930,_0x1b0eee)=>_0x35b370(_0x5f0930,_0x1b0eee,_0x45b8ef);let ee=class extends a[_0x46c603(0x32b)]{constructor(_0x1e52ec,_0x53c219,_0x4a0ff2,_0x2f3a22,_0x27da5e,_0x4bf020,_0x5a23d9,_0x97e199){const _0xd13548=_0x46c603;super(),h(this,'_status$',new d[(_0xd13548(0x31b))](u['CollaborationStatus'][_0xd13548(0x13a)])),(this[_0xd13548(0x306)]=_0x1e52ec,this['_collaborationController']=_0x53c219,this[_0xd13548(0x18d)]=_0x4a0ff2,this[_0xd13548(0x1bb)]=_0x2f3a22,this[_0xd13548(0x111)]=_0x27da5e,this['_docSyncEditingCollabCursorService']=_0x4bf020,this['_messageService']=_0x5a23d9,this[_0xd13548(0x32a)]=_0x97e199,this[_0xd13548(0x19c)]());}['_initEntityListener'](){const _0xd3cce1=_0x46c603;this[_0xd3cce1(0x30b)](this[_0xd3cce1(0x2fa)][_0xd3cce1(0x29e)]['subscribe'](_0x29b0b9=>{const _0x376df5=_0xd3cce1,_0x2e9572=this['_docStateChangeManagerService'][_0x376df5(0x2bb)][_0x376df5(0x16d)](_0xee35f1=>{const _0x1f697d=_0x376df5;if(_0xee35f1==null)return;const {unitId:_0x5ec228,redoState:_0x45a4c6,commandId:_0x132051}=_0xee35f1;if(_0x5ec228!==_0x29b0b9[_0x1f697d(0x2cb)])return;const _0x931ee2={'id':_0x132051,'type':a[_0x1f697d(0x1a4)][_0x1f697d(0x28e)],'params':{'unitId':_0x5ec228,'actions':_0x45a4c6['actions'],'textRanges':null}};_0x29b0b9['onLocalMutation'](_0x931ee2);});if(_0x29b0b9[_0x376df5(0x30b)](_0x2e9572),_0x29b0b9 instanceof u['DocCollaborationEntity']){const _0x29370b={'onTransformIME':_0x3b94a8=>this[_0x376df5(0x18d)][_0x376df5(0x208)](_0x3b94a8),'onTransformState':_0x2932a5=>this[_0x376df5(0x1bb)][_0x376df5(0x2dc)](_0x2932a5),'onTransformSelections':_0x35ab55=>this[_0x376df5(0x111)][_0x376df5(0x1fa)](_0x35ab55),'onSyncEditingCollabCursor':_0x5807c6=>this[_0x376df5(0x1e0)][_0x376df5(0x2b6)](_0x5807c6),'onTransformRemoteChangesetByIMECache':_0x4cac41=>this[_0x376df5(0x18d)]['transformRemoteChangeset'](_0x4cac41),'onTransformRemoteChangesetByStateCache':_0x3babec=>this[_0x376df5(0x1bb)][_0x376df5(0x20f)](_0x3babec)};_0x29b0b9['addHandlerCallback'](_0x29370b);}}));}};ee=Zt([M(0x0,a[_0x46c603(0x26b)](b['DocStateChangeManagerService'])),M(0x1,a['Inject'](u[_0x46c603(0x1b4)])),M(0x2,a[_0x46c603(0x26b)](J)),M(0x3,a[_0x46c603(0x26b)](Z)),M(0x4,a[_0x46c603(0x26b)](Q)),M(0x5,a[_0x46c603(0x26b)](pe)),M(0x6,R[_0x46c603(0x1cf)]),M(0x7,a[_0x46c603(0x26b)](a[_0x46c603(0x23c)]))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x3812af,_0x1d929a,_0x1e9e36,_0x1628d2)=>{const _0x26bdd5=_0x46c603;for(var _0x140060=_0x1628d2>0x1?void 0x0:_0x1628d2?Qt(_0x1d929a,_0x1e9e36):_0x1d929a,_0x3321cd=_0x3812af[_0x26bdd5(0xcb)]-0x1,_0x192daa;_0x3321cd>=0x0;_0x3321cd--)(_0x192daa=_0x3812af[_0x3321cd])&&(_0x140060=_0x192daa(_0x140060)||_0x140060);return _0x140060;},_e=(_0x3d7ea0,_0x3b003f)=>(_0x1fff06,_0x4267d3)=>_0x3b003f(_0x1fff06,_0x4267d3,_0x3d7ea0);let me=class extends a[_0x46c603(0x32b)]{constructor(_0x1e0389,_0x3a1070,_0x16c466){const _0x42a7ed=_0x46c603;super(),h(this,_0x42a7ed(0x34c),new Map()),h(this,_0x42a7ed(0x19b),new Map()),h(this,_0x42a7ed(0x278),!0x1),(this[_0x42a7ed(0x14e)]=_0x1e0389,this[_0x42a7ed(0x235)]=_0x3a1070,this[_0x42a7ed(0x297)]=_0x16c466);}[_0x46c603(0x11b)](){const _0x25e841=_0x46c603;this[_0x25e841(0x278)]=!0x0;}[_0x46c603(0x22b)](){const _0x229441=_0x46c603;this[_0x229441(0x278)]=!0x1;}get[_0x46c603(0x311)](){const _0x50b272=_0x46c603;return this[_0x50b272(0x19b)];}[_0x46c603(0x268)](){const _0x4baefd=_0x46c603;this[_0x4baefd(0x1da)]()[_0x4baefd(0x303)](()=>super[_0x4baefd(0x268)]());}async[_0x46c603(0x2e9)](_0x24975c){const _0x4635c2=_0x46c603;return this['_disabled']?null:this[_0x4635c2(0x235)]['getItem'](u[_0x4635c2(0x116)](_0x24975c));}async['saveOfflineData'](_0x591e89,_0x3f8d28){const _0x31390d=_0x46c603;return!!this[_0x31390d(0x235)][_0x31390d(0x195)](_0x591e89,_0x3f8d28);}[_0x46c603(0x192)](_0x1c6053,_0x5270c4,_0x494f58,_0x590314){const _0x3013bf=_0x46c603,_0x1dd91d=this['_revisionService']['getCurrentRevOfUnit'](_0x1c6053);this[_0x3013bf(0x34c)][_0x3013bf(0x14d)](_0x1c6053,{'unitID':_0x1c6053,'type':_0x5270c4,'awaitingChangeset':_0x494f58,'mutations':_0x590314,'rev':_0x1dd91d}),this[_0x3013bf(0x19b)]['has'](_0x1c6053)||this[_0x3013bf(0x348)](_0x1c6053);}[_0x46c603(0x348)](_0x3c4b63){const _0x489bd2=_0x46c603,_0x409efb=this[_0x489bd2(0x273)]();_0x409efb===0x0?this[_0x489bd2(0x211)](_0x3c4b63):this[_0x489bd2(0x19b)][_0x489bd2(0x14d)](_0x3c4b63,setTimeout(()=>this[_0x489bd2(0x211)](_0x3c4b63),_0x409efb));}['_getSaveTimeout'](){const _0x298bd1=_0x46c603;var _0x381eb6;return(_0x381eb6=this[_0x298bd1(0x14e)]['getConfig'](u[_0x298bd1(0x2ce)]))!=null?_0x381eb6:u['LOCAL_CACHE_INTERVAL'];}[_0x46c603(0x211)](_0x2e28fa){const _0xe5fec7=_0x46c603,_0x426b2b=this['_saveTaskMap'][_0xe5fec7(0x267)](_0x2e28fa);return _0x426b2b!==void 0x0&&window[_0xe5fec7(0x1b9)](_0x426b2b),this['_localStorageService']['setItem'](u['getLocalCacheKey'](_0x2e28fa),this[_0xe5fec7(0x34c)][_0xe5fec7(0x267)](_0x2e28fa))[_0xe5fec7(0x303)](()=>this[_0xe5fec7(0x19b)]['delete'](_0x2e28fa));}async['exhaustSavingTask'](){const _0x59103c=_0x46c603,_0x2b062f=[];this['_saveTaskMap'][_0x59103c(0xeb)]((_0x4e3896,_0x5317a7)=>{const _0x1d33e1=_0x59103c;window[_0x1d33e1(0x1b9)](_0x4e3896),_0x2b062f[_0x1d33e1(0x107)](this['_saveCache'](_0x5317a7)[_0x1d33e1(0x303)](()=>{this['_saveTaskMap']['delete'](_0x5317a7);}));}),await Promise[_0x59103c(0xcf)](_0x2b062f);}};me=es([_e(0x0,a[_0x46c603(0x15f)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x46c603(0x26b)](m[_0x46c603(0x292)]))],me);class ke extends a[_0x46c603(0x17a)]{constructor(){const _0x38fe23=_0x46c603;super(),h(this,_0x38fe23(0x1e2)),this[_0x38fe23(0x1e2)]=d['fromEvent'](window,_0x38fe23(0x141))[_0x38fe23(0x2ea)](d[_0x38fe23(0x244)](this[_0x38fe23(0x340)]),d[_0x38fe23(0x118)](0x1),d[_0x38fe23(0x156)](void 0x0));}['setParam'](_0x5c6276,_0x102be8,_0x52d42e=!0x1){const _0x48ed12=_0x46c603,_0x4547a0=new URL(window[_0x48ed12(0x1fc)][_0x48ed12(0x10f)]);_0x4547a0[_0x48ed12(0x31d)][_0x48ed12(0x14d)](_0x5c6276,_0x102be8),_0x52d42e?window['history']['replaceState']('','',_0x4547a0[_0x48ed12(0x1ea)]()):window[_0x48ed12(0x13d)][_0x48ed12(0x2ca)]('','',_0x4547a0['toString']());}['removeParam'](_0x49a698,_0x4ffecc=!0x1){const _0x31ef25=_0x46c603,_0x1a256c=new URL(window['location'][_0x31ef25(0x10f)]);_0x1a256c[_0x31ef25(0x31d)][_0x31ef25(0x213)](_0x49a698),_0x4ffecc?window[_0x31ef25(0x13d)][_0x31ef25(0x341)]('','',_0x1a256c['toString']()):window['history'][_0x31ef25(0x2ca)]('','',_0x1a256c[_0x31ef25(0x1ea)]());}[_0x46c603(0x13b)](_0x6549e3){const _0x15c86e=_0x46c603;var _0x23a850;return(_0x23a850=new URL(window[_0x15c86e(0x1fc)][_0x15c86e(0x10f)])['searchParams']['get'](_0x6549e3))!=null?_0x23a850:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x46c603(0x1e1)],ns=(_0x4d8a91,_0x345986,_0x41ffc6)=>_0x345986 in _0x4d8a91?ts(_0x4d8a91,_0x345986,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41ffc6}):_0x4d8a91[_0x345986]=_0x41ffc6,is=(_0x12629b,_0x4d95d3,_0x15e4e3,_0x358c34)=>{const _0x525bf7=_0x46c603;for(var _0x3ca86b=_0x358c34>0x1?void 0x0:_0x358c34?ss(_0x4d95d3,_0x15e4e3):_0x4d95d3,_0x4d9444=_0x12629b[_0x525bf7(0xcb)]-0x1,_0x1ef6eb;_0x4d9444>=0x0;_0x4d9444--)(_0x1ef6eb=_0x12629b[_0x4d9444])&&(_0x3ca86b=_0x1ef6eb(_0x3ca86b)||_0x3ca86b);return _0x3ca86b;},ue=(_0x53e9da,_0x2d489b)=>(_0x3b89d0,_0x4b3b94)=>_0x2d489b(_0x3b89d0,_0x4b3b94,_0x53e9da),rs=(_0x437ac1,_0xa3efaf,_0x2d45a9)=>ns(_0x437ac1,_0xa3efaf+'',_0x2d45a9);const os=_0x46c603(0x200);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x46c603(0x230)]{constructor(_0x1bc16a=Me,_0x5ce86b,_0x128c2d,_0x43b126){const _0x1edef3=_0x46c603;super(),this[_0x1edef3(0x209)]=_0x1bc16a,this[_0x1edef3(0x324)]=_0x5ce86b,this[_0x1edef3(0x138)]=_0x128c2d,this[_0x1edef3(0x14e)]=_0x43b126;const {..._0x3aacb5}=a[_0x1edef3(0x2a4)]({},Me,this[_0x1edef3(0x209)]);this[_0x1edef3(0x14e)]['setConfig'](Wt,_0x3aacb5);}['onStarting'](){const _0x4f1aa2=_0x46c603;this[_0x4f1aa2(0x160)](),this['_initDependencies']();}[_0x46c603(0x288)](){const _0x188f4c=_0x46c603;this[_0x188f4c(0x15a)]();}[_0x46c603(0x160)](){const _0x2a4a72=_0x46c603;var _0x14a7e4;const _0x39bff0=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x2a4a72(0x10c)],{'useClass':q[_0x2a4a72(0x10d)]}],[u[_0x2a4a72(0x334)],{'useClass':me}],[exports[_0x2a4a72(0x16c)]],[ee],[z],[x],[fe],[exports[_0x2a4a72(0x325)]]];a['registerDependencies'](this[_0x2a4a72(0x138)],a[_0x2a4a72(0xf3)](_0x39bff0,(_0x14a7e4=this[_0x2a4a72(0x209)])==null?void 0x0:_0x14a7e4[_0x2a4a72(0x1e9)]));}['_registerRenderDependencies'](){const _0x2c8a80=_0x46c603;this[_0x2c8a80(0x30b)](this[_0x2c8a80(0x324)][_0x2c8a80(0x2e4)](a[_0x2c8a80(0x2be)][_0x2c8a80(0xf6)],[ge])),this[_0x2c8a80(0x30b)](this[_0x2c8a80(0x324)]['registerRenderModule'](a['UniverInstanceType'][_0x2c8a80(0xf2)],[Ie]));}[_0x46c603(0x313)](){const _0x528aa8=_0x46c603;a[_0x528aa8(0x146)](this[_0x528aa8(0x138)],[[x],[exports[_0x528aa8(0x16c)]],[ee],[z],[exports[_0x528aa8(0x325)]]]);}},rs(exports[_0x46c603(0x2d7)],_0x46c603(0x263),os),exports['UniverCollaborationClientUIPlugin']=is([a[_0x46c603(0x28f)](u[_0x46c603(0x12c)]),ue(0x1,p[_0x46c603(0x323)]),ue(0x2,a['Inject'](a[_0x46c603(0x2cf)])),ue(0x3,a[_0x46c603(0x15f)])],exports[_0x46c603(0x2d7)]);var as=Object['getOwnPropertyDescriptor'],cs=(_0x5a78dc,_0x580aee,_0x133dc9,_0x5c4b4e)=>{const _0x1e38fb=_0x46c603;for(var _0x2a0dad=_0x5c4b4e>0x1?void 0x0:_0x5c4b4e?as(_0x580aee,_0x133dc9):_0x580aee,_0x29478e=_0x5a78dc[_0x1e38fb(0xcb)]-0x1,_0xc788ee;_0x29478e>=0x0;_0x29478e--)(_0xc788ee=_0x5a78dc[_0x29478e])&&(_0x2a0dad=_0xc788ee(_0x2a0dad)||_0x2a0dad);return _0x2a0dad;},F=(_0x179844,_0x579059)=>(_0x158c41,_0x45a6fa)=>_0x579059(_0x158c41,_0x45a6fa,_0x179844);exports[_0x46c603(0xd7)]=class extends u[_0x46c603(0x1e7)]{constructor(_0x48fb15,_0xa14106,_0x762ab7,_0x522f79,_0x34968e){super(_0x48fb15,_0xa14106,_0x762ab7,_0x522f79,_0x34968e);}async[_0x46c603(0x142)](_0x41c380){const _0x254a9b=_0x46c603,_0x3951c6=await this[_0x254a9b(0x172)](),_0x2206bd=this[_0x254a9b(0xf5)](_0x41c380,_0x3951c6);return this[_0x254a9b(0x137)](_0x2206bd);}[_0x46c603(0xf5)](_0x27f54d,_0x5dff69){const _0x5166a8=_0x46c603,_0x538b8c=typeof window>'u'?new URL(_0x27f54d):new URL(_0x27f54d,window[_0x5166a8(0x1fc)][_0x5166a8(0x1b7)]);_0x538b8c['searchParams'][_0x5166a8(0x14d)](_0x5166a8(0x1af),_0x5dff69);const _0x242418=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5166a8(0x1fc)][_0x5166a8(0x24e)]);return _0x242418[_0x5166a8(0x267)]('runId')&&_0x538b8c[_0x5166a8(0x31d)][_0x5166a8(0x14d)](_0x5166a8(0x177),_0x242418[_0x5166a8(0x267)](_0x5166a8(0x177))),_0x538b8c[_0x5166a8(0x1ea)]();}async[_0x46c603(0x172)](){const _0x3da768=_0x46c603;var _0x443328,_0x1129db,_0x1638ea;const _0xde9115=this[_0x3da768(0x14e)][_0x3da768(0x1ba)](u[_0x3da768(0x249)]),_0x5c01de=(_0x443328=_0xde9115==null?void 0x0:_0xde9115[_0x3da768(0x343)])!=null?_0x443328:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1638ea=(_0x1129db=(await this['_httpService'][_0x3da768(0x267)](_0x5c01de,{'headers':{'Content-Type':_0x3da768(0x2d9)}}))[_0x3da768(0x188)])==null?void 0x0:_0x1129db[_0x3da768(0xd8)])!=null?_0x1638ea:'';}},exports[_0x46c603(0xd7)]=cs([F(0x0,a[_0x46c603(0x26b)](a['Injector'])),F(0x1,a[_0x46c603(0x26b)](q[_0x46c603(0x270)])),F(0x2,a[_0x46c603(0x15f)]),F(0x3,a[_0x46c603(0x232)]),F(0x4,m[_0x46c603(0xc8)])],exports['BrowserCollaborationSocketService']);const Ne=0x7530,we=_0x46c603(0x290);class ls extends a['Disposable']{constructor(){const _0x40796a=_0x46c603;super(),h(this,'_id',a[_0x40796a(0x32e)]()),h(this,_0x40796a(0x253),new Set()),h(this,_0x40796a(0x276),new Map()),h(this,_0x40796a(0x159),null),h(this,_0x40796a(0x345),new Map()),h(this,_0x40796a(0x28d),new Map()),this[_0x40796a(0x1df)]();}[_0x46c603(0x268)](){const _0x20acb6=_0x46c603;super[_0x20acb6(0x268)](),this[_0x20acb6(0x345)][_0x20acb6(0xeb)]((_0x130cc8,_0x36376a)=>this[_0x20acb6(0x2f7)](_0x36376a)),this['_heartbeatTimer']&&window[_0x20acb6(0xf7)](this[_0x20acb6(0x159)]);}[_0x46c603(0x2db)](_0x5e92ae){const _0x46273d=_0x46c603;return this[_0x46273d(0x19d)](_0x5e92ae)[_0x46273d(0x2ea)](d[_0x46273d(0x15c)]());}[_0x46c603(0x128)](_0x57ad14){const _0x57880c=_0x46c603;this[_0x57880c(0x253)][_0x57880c(0x2ed)]===0x0&&this[_0x57880c(0x262)](),this['_selfUnitIDs'][_0x57880c(0x1b8)](_0x57ad14),this[_0x57880c(0xea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x57ad14],'isForwarded':!0x1});}[_0x46c603(0x2ad)](_0x104895){const _0x32e7da=_0x46c603;this[_0x32e7da(0x253)]['delete'](_0x104895),this['_selfUnitIDs'][_0x32e7da(0x2ed)]===0x0&&this[_0x32e7da(0x159)]&&window[_0x32e7da(0xf7)](this[_0x32e7da(0x159)]);}['_init'](){const _0x444763=_0x46c603;this[_0x444763(0x30b)](a['toDisposable'](d[_0x444763(0x31a)](window,_0x444763(0x1b6))[_0x444763(0x16d)](_0x2496fa=>{const _0x50deef=_0x444763;if(_0x2496fa[_0x50deef(0x2ae)]!==we||!_0x2496fa[_0x50deef(0x1ee)])return;const _0x516f48=JSON['parse'](_0x2496fa[_0x50deef(0x1ee)]);this[_0x50deef(0x25e)](_0x516f48);}))),window['addEventListener'](_0x444763(0x286),()=>this[_0x444763(0xea)]({'type':0x1,'memberID':this[_0x444763(0x265)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x46c603(0x25e)](_0x4ee739){const _0x3d5690=_0x46c603;switch(_0x4ee739[_0x3d5690(0x10e)]){case 0x0:this[_0x3d5690(0x2ac)](_0x4ee739);break;case 0x1:this[_0x3d5690(0x1f2)](_0x4ee739);break;case 0x2:this['_handleHeartbeatEvent'](_0x4ee739);break;}}[_0x46c603(0x2ac)](_0x14b7ae){const _0x166a62=_0x46c603,{unitIDs:_0x57ff7a,memberID:_0x493ba8,isForwarded:_0x48856e}=_0x14b7ae;_0x57ff7a[_0x166a62(0xeb)](_0x19ff0d=>{const _0x49d890=_0x166a62;if(!_0x48856e&&this[_0x49d890(0x276)][_0x49d890(0x206)](_0x19ff0d)&&this['_ensureSubject'](_0x19ff0d)['next'](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x49d890(0x206)](_0x19ff0d)||!this[_0x49d890(0x276)]['get'](_0x19ff0d)[_0x49d890(0x206)](_0x493ba8)){const _0x370f73=this[_0x49d890(0x276)][_0x49d890(0x267)](_0x19ff0d)||new Set();_0x370f73['add'](_0x493ba8),this[_0x49d890(0x276)][_0x49d890(0x14d)](_0x19ff0d,_0x370f73),this[_0x49d890(0x1dd)](_0x493ba8);}}),_0x48856e||this['_send']({'type':0x0,'memberID':this[_0x166a62(0x265)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x46c603(0x1dd)](_0x17d986){const _0x4dcd29=_0x46c603;this['_removeClearOtherTimer'](_0x17d986);const _0x3b645b=window[_0x4dcd29(0x11d)](()=>{const _0x191769=_0x4dcd29;this[_0x191769(0x276)]['forEach'](_0x474949=>{const _0x28c371=_0x191769;_0x474949[_0x28c371(0x213)](_0x17d986);});},Ne*0x2);this[_0x4dcd29(0x345)][_0x4dcd29(0x14d)](_0x17d986,_0x3b645b);}['_removeClearOtherTimer'](_0x4c5231){const _0xc99660=_0x46c603;if(this[_0xc99660(0x345)]['has'](_0x4c5231)){const _0x5e6e18=this['_clearOtherTimers'][_0xc99660(0x267)](_0x4c5231);_0x5e6e18&&window['clearTimeout'](_0x5e6e18),this['_clearOtherTimers']['set'](_0x4c5231,null);}}[_0x46c603(0x1f2)](_0x564c30){const _0x30e136=_0x46c603,{memberID:_0x403a4a,unitIDs:_0x417ce1}=_0x564c30;_0x417ce1[_0x30e136(0xeb)](_0x41ed30=>{const _0x4a62ba=_0x30e136;var _0xa07e22;const _0x536e60=this[_0x4a62ba(0x276)][_0x4a62ba(0x267)](_0x41ed30);_0x536e60&&(_0x536e60[_0x4a62ba(0x213)](_0x403a4a),(_0xa07e22=this[_0x4a62ba(0x19d)](_0x41ed30))==null||_0xa07e22[_0x4a62ba(0x1d5)](_0x536e60[_0x4a62ba(0x2ed)]===0x0?u[_0x4a62ba(0x191)]['NO_OTHER_CLIENTS_EDITING']:u[_0x4a62ba(0x191)][_0x4a62ba(0x22f)]));}),this[_0x30e136(0x2f7)](_0x403a4a);}[_0x46c603(0x133)](_0x4c6ed2){const _0x272773=_0x46c603;this[_0x272773(0x1dd)](_0x4c6ed2['memberID']);}[_0x46c603(0xea)](_0x4b0fde){const _0xb63696=_0x46c603;localStorage[_0xb63696(0x195)](we,JSON[_0xb63696(0x228)](_0x4b0fde));}['_scheduleHeartbeat'](){const _0x43c04b=_0x46c603;this['_heartbeatTimer']=window[_0x43c04b(0x33a)](()=>{const _0x231147=_0x43c04b;this[_0x231147(0xea)]({'type':0x2,'memberID':this[_0x231147(0x265)]});},Ne);}[_0x46c603(0x19d)](_0x236e8c){const _0x455852=_0x46c603;return this[_0x455852(0x28d)][_0x455852(0x206)](_0x236e8c)||this[_0x455852(0x28d)][_0x455852(0x14d)](_0x236e8c,new d[(_0x455852(0x31b))](u[_0x455852(0x191)][_0x455852(0x16f)])),this[_0x455852(0x28d)][_0x455852(0x267)](_0x236e8c);}}function _0x5a86(_0x135e54,_0x2b5f6e){const _0x40c4cc=_0x40c4();return _0x5a86=function(_0x5a866f,_0x301cf2){_0x5a866f=_0x5a866f-0xc5;let _0x24c33c=_0x40c4cc[_0x5a866f];return _0x24c33c;},_0x5a86(_0x135e54,_0x2b5f6e);}var Be=(_0x24c194=>(_0x24c194[_0x24c194[_0x46c603(0x21a)]=0x0]=_0x46c603(0x21a),_0x24c194[_0x24c194['OK']=0x1]='OK',_0x24c194[_0x24c194[_0x46c603(0x259)]=0x2]='INTERNAL_ERROR',_0x24c194[_0x24c194[_0x46c603(0xc5)]=0x3]=_0x46c603(0xc5),_0x24c194[_0x24c194['NOT_FOUND']=0x4]=_0x46c603(0x31f),_0x24c194[_0x24c194['UNAUTHENTICATED']=0x5]=_0x46c603(0x1aa),_0x24c194[_0x24c194[_0x46c603(0x24c)]=0x6]='ALREADY_EXISTS',_0x24c194[_0x24c194[_0x46c603(0x248)]=0x7]='INVALID_ARGUMENT',_0x24c194[_0x24c194[_0x46c603(0x239)]=0x8]=_0x46c603(0x239),_0x24c194[_0x24c194['COMPLETION_FINISHED']=0x9]=_0x46c603(0x1b0),_0x24c194[_0x24c194[_0x46c603(0x203)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x24c194[_0x24c194[_0x46c603(0x178)]=0x1771]=_0x46c603(0x178),_0x24c194[_0x24c194['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x46c603(0x167),_0x24c194[_0x24c194[_0x46c603(0x110)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x24c194[_0x24c194['APPLY_REJECT']=0x1b59]=_0x46c603(0x1a2),_0x24c194[_0x24c194[_0x46c603(0x204)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x24c194[_0x24c194['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x24c194[_0x24c194[_0x46c603(0x32f)]=0x1b5c]=_0x46c603(0x32f),_0x24c194[_0x24c194[_0x46c603(0x216)]=0x1b5d]='APPLY_DUPLICATED',_0x24c194[_0x24c194[_0x46c603(0x19f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x24c194[_0x24c194[_0x46c603(0x1dc)]=0x2329]=_0x46c603(0x1dc),_0x24c194[_0x24c194[_0x46c603(0x33e)]=0x232a]=_0x46c603(0x33e),_0x24c194[_0x24c194[_0x46c603(0x2f6)]=0x232b]=_0x46c603(0x2f6),_0x24c194[_0x24c194['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x24c194[_0x24c194['LICENSE_DISTRO_REJECTED']=0x232d]=_0x46c603(0x2e5),_0x24c194[_0x24c194[_0x46c603(0x1de)]=0x2711]=_0x46c603(0x1de),_0x24c194[_0x24c194[_0x46c603(0x330)]=0x2712]=_0x46c603(0x330),_0x24c194[_0x24c194[_0x46c603(0xd4)]=0x2713]=_0x46c603(0xd4),_0x24c194[_0x24c194[_0x46c603(0x182)]=0x2714]=_0x46c603(0x182),_0x24c194[_0x24c194[_0x46c603(0x329)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x24c194[_0x24c194[_0x46c603(0xe6)]=-0x1]=_0x46c603(0xe6),_0x24c194))(Be||{}),hs=Object[_0x46c603(0x1e1)],_s=(_0x532bcc,_0x124183,_0x562e58,_0x1f996b)=>{for(var _0x506387=_0x1f996b>0x1?void 0x0:_0x1f996b?hs(_0x124183,_0x562e58):_0x124183,_0x46553e=_0x532bcc['length']-0x1,_0xcb6ac5;_0x46553e>=0x0;_0x46553e--)(_0xcb6ac5=_0x532bcc[_0x46553e])&&(_0x506387=_0xcb6ac5(_0x506387)||_0x506387);return _0x506387;},de=(_0x33cbc3,_0x39d84a)=>(_0x6210e3,_0x2c4073)=>_0x39d84a(_0x6210e3,_0x2c4073,_0x33cbc3);exports[_0x46c603(0x1bd)]=class extends a[_0x46c603(0x32b)]{constructor(_0x328227,_0x19c067,_0x3cad63){const _0x1f9b2b=_0x46c603;super(),this[_0x1f9b2b(0x2a9)]=_0x328227,this[_0x1f9b2b(0x34a)]=_0x19c067,this[_0x1f9b2b(0x14e)]=_0x3cad63;}async['runOnServer'](_0x363092,_0x3c19ad,_0x32408c,..._0x38f1e2){const _0x39d24f=_0x46c603;var _0x47c07d,_0x5618f8,_0x3ff915,_0x2d49f9;const _0x56ecae=this[_0x39d24f(0x2a9)]['getFocusedUnit']();if(!_0x56ecae)throw new Error(_0x39d24f(0x16b));const _0x4025c9=((_0x47c07d=this[_0x39d24f(0x14e)][_0x39d24f(0x1ba)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x47c07d:u[_0x39d24f(0x347)])+'/'+_0x363092+'/run/'+_0x3c19ad,_0x426968=new URL(window[_0x39d24f(0x1fc)][_0x39d24f(0x10f)]),_0x31bcc3={'scriptId':_0x363092,'runId':(_0x5618f8=_0x426968[_0x39d24f(0x31d)][_0x39d24f(0x267)](_0x39d24f(0x177)))!=null?_0x5618f8:'','function':_0x3c19ad,'unitId':_0x56ecae[_0x39d24f(0x164)](),'argsOfFunction':JSON[_0x39d24f(0x228)](_0x38f1e2),'invokeId':(_0x3ff915=_0x32408c[_0x39d24f(0x33f)])!=null?_0x3ff915:'','executionId':(_0x2d49f9=_0x32408c[_0x39d24f(0x112)])!=null?_0x2d49f9:''};try{const _0x2f29aa=await this[_0x39d24f(0x34a)][_0x39d24f(0x1ab)](_0x4025c9,{'body':_0x31bcc3});return _0x2f29aa[_0x39d24f(0x188)][_0x39d24f(0x197)]&&_0x2f29aa[_0x39d24f(0x188)]['error'][_0x39d24f(0x277)]!==Be['OK']?_0x39d24f(0x162):_0x2f29aa[_0x39d24f(0x188)][_0x39d24f(0x2d6)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=_s([de(0x0,a[_0x46c603(0x335)]),de(0x1,a[_0x46c603(0x26b)](q['HTTPService'])),de(0x2,a['IConfigService'])],exports['RemoteUniscriptService']),exports[_0x46c603(0x2a5)]=je,exports[_0x46c603(0x1c7)]=Ee,exports[_0x46c603(0x22e)]=ye,exports[_0x46c603(0x1cd)]=ls,exports[_0x46c603(0xef)]=ke;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x429fcb=_0x53a9;function _0x53a9(_0x157ac3,_0x103f40){const _0x425c4d=_0x425c();return _0x53a9=function(_0x53a9d1,_0x10aba5){_0x53a9d1=_0x53a9d1-0x1be;let _0xe4cc2=_0x425c4d[_0x53a9d1];return _0xe4cc2;},_0x53a9(_0x157ac3,_0x103f40);}(function(_0x32f740,_0x321b79){const _0x5b6129=_0x53a9,_0xbe26ee=_0x32f740();while(!![]){try{const _0x583fbf=-parseInt(_0x5b6129(0x1bf))/0x1+-parseInt(_0x5b6129(0x1c4))/0x2+-parseInt(_0x5b6129(0x1c9))/0x3*(parseInt(_0x5b6129(0x1be))/0x4)+parseInt(_0x5b6129(0x1cc))/0x5*(parseInt(_0x5b6129(0x1d2))/0x6)+-parseInt(_0x5b6129(0x1ce))/0x7+parseInt(_0x5b6129(0x1d4))/0x8*(parseInt(_0x5b6129(0x1c8))/0x9)+parseInt(_0x5b6129(0x1c3))/0xa;if(_0x583fbf===_0x321b79)break;else _0xbe26ee['push'](_0xbe26ee['shift']());}catch(_0x27a5f7){_0xbe26ee['push'](_0xbe26ee['shift']());}}}(_0x425c,0x1f08d));const e={'collab-client':{'tooltip':{'reconnect':_0x429fcb(0x1c5)}},'collabStatus':{'fetchMiss':_0x429fcb(0x1c7),'conflict':'Edit\x20conflicts','notCollab':_0x429fcb(0x1ca),'synced':'Synced','syncing':_0x429fcb(0x1d0),'offline':_0x429fcb(0x1d5)},'session':{'connection-failed':_0x429fcb(0x1d3),'will-retry':_0x429fcb(0x1c0),'room-full':_0x429fcb(0x1c6),'collaboration-timeout':_0x429fcb(0x1cd)},'conflict':{'title':_0x429fcb(0x1cb),'content':_0x429fcb(0x1d1)},'permission':{'title':'Authentication\x20Error','content':_0x429fcb(0x1c2)},'collaboration':{'single-unit':{'warning':_0x429fcb(0x1c1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x429fcb(0x1cf)}};module['exports']=e;function _0x425c(){const _0x84afcc=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1377117dlgLlL','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','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.','6RRdgew','Connection\x20failed,\x20please\x20check\x20your\x20network.','8KyLler','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4028tDdhgi','182878IQvnKF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7116750Qvlkju','407828UYdfjR','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','737226grnYUc','744kweoOn','Local\x20file','Collaboration\x20Conflict','833935ISqyPF'];_0x425c=function(){return _0x84afcc;};return _0x425c();}
|