@univerjs/preset-sheets-collaboration 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +7 -7
- package/lib/umd/locales/ar-SA.js +4 -4
- package/lib/umd/locales/ca-ES.js +4 -4
- package/lib/umd/locales/de-DE.js +4 -4
- package/lib/umd/locales/en-US.js +4 -4
- package/lib/umd/locales/es-ES.js +4 -4
- package/lib/umd/locales/fa-IR.js +4 -4
- package/lib/umd/locales/fr-FR.js +4 -4
- package/lib/umd/locales/id-ID.js +4 -4
- package/lib/umd/locales/it-IT.js +4 -4
- package/lib/umd/locales/ja-JP.js +4 -4
- package/lib/umd/locales/ko-KR.js +4 -4
- package/lib/umd/locales/pl-PL.js +4 -4
- package/lib/umd/locales/pt-BR.js +4 -4
- package/lib/umd/locales/ru-RU.js +4 -4
- package/lib/umd/locales/sk-SK.js +4 -4
- package/lib/umd/locales/vi-VN.js +4 -4
- package/lib/umd/locales/zh-CN.js +4 -4
- package/lib/umd/locales/zh-HK.js +4 -4
- package/lib/umd/locales/zh-TW.js +4 -4
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
function _0x4364(_0x2aae38,_0x204141){_0x2aae38=_0x2aae38-0xba;const _0x4379ac=_0x4379();let _0x43642e=_0x4379ac[_0x2aae38];return _0x43642e;}(function(_0xf76a05,_0x557468){const _0x56c7b=_0x4364,_0x447752=_0xf76a05();while(!![]){try{const _0x3779e8=-parseInt(_0x56c7b(0x201))/0x1+-parseInt(_0x56c7b(0x321))/0x2*(parseInt(_0x56c7b(0xee))/0x3)+parseInt(_0x56c7b(0x1e2))/0x4*(-parseInt(_0x56c7b(0x1fe))/0x5)+-parseInt(_0x56c7b(0xef))/0x6*(-parseInt(_0x56c7b(0x20e))/0x7)+-parseInt(_0x56c7b(0x36c))/0x8+-parseInt(_0x56c7b(0x35c))/0x9+parseInt(_0x56c7b(0x39b))/0xa;if(_0x3779e8===_0x557468)break;else _0x447752['push'](_0x447752['shift']());}catch(_0x1d58b4){_0x447752['push'](_0x447752['shift']());}}}(_0x4379,0xd350f),function(_0x44e206,_0xdeedf5){const _0x257667=_0x4364;typeof exports=='object'&&typeof module<'u'?_0xdeedf5(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x257667(0x388)]?define([_0x257667(0x238),_0x257667(0x3b6),_0x257667(0x18e),_0x257667(0x214),'@univerjs/sheets',_0x257667(0x1e8),_0x257667(0x224),_0x257667(0x22f),_0x257667(0x1da),_0x257667(0xd6),_0x257667(0x184),_0x257667(0x159)],_0xdeedf5):(_0x44e206=typeof globalThis<'u'?globalThis:_0x44e206||self,_0xdeedf5(_0x44e206['UniverProCollaborationClient']={},_0x44e206['UniverProCollaboration'],_0x44e206[_0x257667(0x134)],_0x44e206[_0x257667(0x106)],_0x44e206[_0x257667(0x37d)],_0x44e206[_0x257667(0x1e8)],_0x44e206[_0x257667(0x288)],_0x44e206[_0x257667(0x3da)],_0x44e206['rxjs'][_0x257667(0xfb)],_0x44e206[_0x257667(0x228)],_0x44e206[_0x257667(0x16d)],_0x44e206[_0x257667(0x257)]));}(this,function(_0x10f62c,_0x597ddf,_0x4f2fc5,_0x37b785,_0x575377,_0x196a42,_0x121aa6,_0x3702ed,_0x5c83a6,_0x4fa7e8,_0x4a0b74,_0x4aa170){const _0x3c7add=_0x4364;Object[_0x3c7add(0x2ab)](_0x10f62c,Symbol[_0x3c7add(0xc2)],{'value':_0x3c7add(0x27c)});let _0x40bad1=_0x3c7add(0x1ec),_0x887dad=0x4e20;function _0x434b50(_0x75417d){const _0x1720d4=_0x3c7add;return JSON[_0x1720d4(0x265)](_0x75417d)['length'];}function _0x163bd2(_0xb55d1d){'@babel/helpers - typeof';const _0x4c1cef=_0x3c7add;return _0x163bd2=typeof Symbol==_0x4c1cef(0x16c)&&typeof Symbol['iterator']==_0x4c1cef(0x14a)?function(_0x92395d){return typeof _0x92395d;}:function(_0x422426){const _0x2b3549=_0x4c1cef;return _0x422426&&typeof Symbol==_0x2b3549(0x16c)&&_0x422426[_0x2b3549(0x25f)]===Symbol&&_0x422426!==Symbol['prototype']?_0x2b3549(0x14a):typeof _0x422426;},_0x163bd2(_0xb55d1d);}function _0x13d572(_0x349cff,_0x218965){const _0x7e1ac9=_0x3c7add;if(_0x163bd2(_0x349cff)!=_0x7e1ac9(0x2a1)||!_0x349cff)return _0x349cff;var _0x263b3e=_0x349cff[Symbol['toPrimitive']];if(_0x263b3e!==void 0x0){var _0x1e1f35=_0x263b3e[_0x7e1ac9(0x3bb)](_0x349cff,_0x218965||'default');if(_0x163bd2(_0x1e1f35)!=_0x7e1ac9(0x2a1))return _0x1e1f35;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x218965===_0x7e1ac9(0x22c)?String:Number)(_0x349cff);}function _0x54f74e(_0x486081){const _0x361102=_0x3c7add;var _0x2544c6=_0x13d572(_0x486081,_0x361102(0x22c));return _0x163bd2(_0x2544c6)==_0x361102(0x14a)?_0x2544c6:_0x2544c6+'';}function _0x45730e(_0x326603,_0x5f568c,_0xd26d32){const _0x5d3c66=_0x3c7add;return(_0x5f568c=_0x54f74e(_0x5f568c))in _0x326603?Object[_0x5d3c66(0x2ab)](_0x326603,_0x5f568c,{'value':_0xd26d32,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x326603[_0x5f568c]=_0xd26d32,_0x326603;}let _0x403eeb=function(_0x358117){const _0x3d096e=_0x3c7add;return _0x358117['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x358117[_0x3d096e(0x354)]='PERMISSION_DENIED',_0x358117[_0x3d096e(0xd8)]=_0x3d096e(0xd8),_0x358117[_0x3d096e(0x3c9)]=_0x3d096e(0x3c9),_0x358117[_0x3d096e(0x185)]=_0x3d096e(0x185),_0x358117['SOCKET_FAILED_RETRY']=_0x3d096e(0x29f),_0x358117['SOCKET_FAILED']=_0x3d096e(0x278),_0x358117['SUBMIT_CHANGESET_TIMEOUT']=_0x3d096e(0x22b),_0x358117;}({});var _0x20d828=class{constructor(){const _0x256157=_0x3c7add;_0x45730e(this,'_event$',new _0x196a42[(_0x256157(0x274))]()),_0x45730e(this,_0x256157(0x211),this['_event$'][_0x256157(0xc6)]());}[_0x3c7add(0x365)](_0x3a39a0){const _0x4fcdd4=_0x3c7add;this['_event$'][_0x4fcdd4(0x232)](_0x3a39a0);}},_0x2ea459=class{constructor(){const _0x38dee8=_0x3c7add;_0x45730e(this,_0x38dee8(0x2dc),new _0x196a42[(_0x38dee8(0x274))]()),_0x45730e(this,_0x38dee8(0x2c6),this[_0x38dee8(0x2dc)][_0x38dee8(0xc6)]());}[_0x3c7add(0x198)](_0xb93946){const _0x371481=_0x3c7add;this[_0x371481(0x2dc)][_0x371481(0x232)](_0xb93946);}};function _0x78c766(_0x601fce,_0x424e29){return function(_0x22ceef,_0x488d9f){_0x424e29(_0x22ceef,_0x488d9f,_0x601fce);};}function _0x38f352(_0x3f39f6,_0x27727d,_0x3e6aa0,_0x1c95b2){const _0x497656=_0x3c7add;var _0x5babf5=arguments[_0x497656(0x3a4)],_0x26a1d6=_0x5babf5<0x3?_0x27727d:_0x1c95b2===null?_0x1c95b2=Object[_0x497656(0x3df)](_0x27727d,_0x3e6aa0):_0x1c95b2,_0x540358;if(typeof Reflect==_0x497656(0x2a1)&&typeof Reflect[_0x497656(0x300)]==_0x497656(0x16c))_0x26a1d6=Reflect[_0x497656(0x300)](_0x3f39f6,_0x27727d,_0x3e6aa0,_0x1c95b2);else{for(var _0x42afd3=_0x3f39f6[_0x497656(0x3a4)]-0x1;_0x42afd3>=0x0;_0x42afd3--)(_0x540358=_0x3f39f6[_0x42afd3])&&(_0x26a1d6=(_0x5babf5<0x3?_0x540358(_0x26a1d6):_0x5babf5>0x3?_0x540358(_0x27727d,_0x3e6aa0,_0x26a1d6):_0x540358(_0x27727d,_0x3e6aa0))||_0x26a1d6);}return _0x5babf5>0x3&&_0x26a1d6&&Object[_0x497656(0x2ab)](_0x27727d,_0x3e6aa0,_0x26a1d6),_0x26a1d6;}let _0x359f82=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x3aa5f9,_0x5731ff){const _0x2a4315=_0x3c7add;super(),this['_univerInstanceService']=_0x3aa5f9,this[_0x2a4315(0x366)]=_0x5731ff,_0x45730e(this,_0x2a4315(0x107),new Map()),_0x45730e(this,'_roomCreated$',new _0x196a42['Subject']()),this['disposeWithMe']((0x0,_0x196a42[_0x2a4315(0x1b5)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4f2fc5[_0x2a4315(0x22e)][_0x2a4315(0x2a4)])[_0x2a4315(0x397)]((0x0,_0x5c83a6[_0x2a4315(0x192)])(_0x27185e=>_0x27185e[_0x2a4315(0x21a)]())),this[_0x2a4315(0x243)][_0x2a4315(0x1b0)](_0x4f2fc5['UniverInstanceType'][_0x2a4315(0x2d5)])[_0x2a4315(0x397)]((0x0,_0x5c83a6['map'])(_0x523efd=>_0x523efd[_0x2a4315(0x21a)]())))['subscribe'](_0x1d9d60=>this[_0x2a4315(0x360)](_0x1d9d60)));}['waitForRoom$'](_0x5084e4){const _0x2e7ca4=_0x3c7add;return this[_0x2e7ca4(0x107)]['has'](_0x5084e4)?(0x0,_0x196a42['of'])(this[_0x2e7ca4(0x107)]['get'](_0x5084e4)):this['_roomCreated$']['pipe']((0x0,_0x5c83a6[_0x2e7ca4(0x192)])(_0x14deb4=>{const _0x16817b=_0x2e7ca4;if(_0x14deb4===_0x5084e4)return this['_roomMembers'][_0x16817b(0x1fd)](_0x14deb4);}));}['setCurrentUser'](_0x1429cf){const _0x34e938=_0x3c7add;this[_0x34e938(0x366)][_0x34e938(0x100)](_0x1429cf);}[_0x3c7add(0x11b)](){const _0x18793f=_0x3c7add;return this[_0x18793f(0x366)][_0x18793f(0x11b)]();}[_0x3c7add(0x1b6)](_0x1348ea,_0xfa5e33){const _0x1374e3=_0x3c7add;let _0x3a2176=this[_0x1374e3(0x107)][_0x1374e3(0x1fd)](_0x1348ea);_0x3a2176||(_0x3a2176=new _0x599447(),this[_0x1374e3(0x107)][_0x1374e3(0x38b)](_0x1348ea,_0x3a2176),this['_roomCreated$']['next'](_0x1348ea)),_0x3a2176[_0x1374e3(0x1b6)](_0xfa5e33);}['removeMember'](_0x1ec67a,_0x4f967a){const _0x12a089=_0x3c7add;let _0x256d62=this[_0x12a089(0x107)][_0x12a089(0x1fd)](_0x1ec67a);_0x256d62&&_0x256d62[_0x12a089(0x36f)](_0x4f967a);}[_0x3c7add(0x386)](_0x102ca4){const _0x573afd=_0x3c7add;return this['_roomMembers'][_0x573afd(0x1fd)](_0x102ca4);}[_0x3c7add(0x255)](_0x4b1ab0,_0x11d673){const _0x550a2b=_0x3c7add;let _0x228058=this[_0x550a2b(0x107)]['get'](_0x4b1ab0);if(_0x228058)return _0x228058[_0x550a2b(0x255)](_0x11d673);}[_0x3c7add(0x360)](_0x44ba83){const _0x3177af=_0x3c7add;let _0x2c6943=this[_0x3177af(0x107)][_0x3177af(0x1fd)](_0x44ba83);_0x2c6943&&(_0x2c6943[_0x3177af(0x202)](),this[_0x3177af(0x107)][_0x3177af(0x25a)](_0x44ba83));}['dispose'](){const _0x5c3955=_0x3c7add;this[_0x5c3955(0x107)][_0x5c3955(0x253)](_0x5983d2=>_0x5983d2[_0x5c3955(0x202)]()),this[_0x5c3955(0x107)]['clear'](),this[_0x5c3955(0x189)][_0x5c3955(0x2fd)]();}};_0x359f82=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['UserManagerService']))],_0x359f82);var _0x599447=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(..._0x27e91d){const _0x15bbcb=_0x3c7add;super(..._0x27e91d),_0x45730e(this,_0x15bbcb(0xcf),new Map()),_0x45730e(this,_0x15bbcb(0x2ed),new _0x196a42['BehaviorSubject'](this[_0x15bbcb(0xcf)])),_0x45730e(this,_0x15bbcb(0x3c1),this[_0x15bbcb(0x2ed)][_0x15bbcb(0xc6)]());}[_0x3c7add(0x202)](){const _0xb74392=_0x3c7add;this['_members'][_0xb74392(0x1d7)](),this[_0xb74392(0x2ed)][_0xb74392(0x2fd)]();}[_0x3c7add(0x1b6)](_0x34edd1){const _0xbc42a5=_0x3c7add;this[_0xbc42a5(0xcf)][_0xbc42a5(0x38b)](_0x34edd1['memberID'],_0x34edd1),this['_emitMembers']();}[_0x3c7add(0x36f)](_0x309986){const _0x40aba1=_0x3c7add;this[_0x40aba1(0xcf)]['delete'](_0x309986),this[_0x40aba1(0x26b)]();}[_0x3c7add(0x255)](_0x4f7a71){const _0x9211e2=_0x3c7add;return this[_0x9211e2(0xcf)][_0x9211e2(0x1fd)](_0x4f7a71);}[_0x3c7add(0x370)](){const _0x4ea6b0=_0x3c7add;return Array[_0x4ea6b0(0x33f)](this[_0x4ea6b0(0xcf)][_0x4ea6b0(0x36b)]());}['_emitMembers'](){const _0x4a64dc=_0x3c7add;this[_0x4a64dc(0x2ed)]['next'](this[_0x4a64dc(0xcf)]);}};let _0x2a7e6c=function(_0x647224){const _0x557470=_0x3c7add;return _0x647224[_0x647224[_0x557470(0xfd)]=0x0]=_0x557470(0xfd),_0x647224[_0x647224[_0x557470(0x1c7)]=0x1]=_0x557470(0x1c7),_0x647224[_0x647224[_0x557470(0x317)]=0x2]=_0x557470(0x317),_0x647224[_0x647224[_0x557470(0x112)]=0x3]=_0x557470(0x112),_0x647224;}({}),_0x3daab8={[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x39c)]]:_0x3c7add(0x315),[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x34b)]]:_0x3c7add(0x273),[_0x121aa6[_0x3c7add(0x3c2)]['JOIN_ROOM_NOT_EXISTS']]:_0x3c7add(0x2e9),[_0x121aa6['CmdRspCode'][_0x3c7add(0xf6)]]:_0x3c7add(0x306),[_0x121aa6[_0x3c7add(0x3c2)][_0x3c7add(0x11e)]]:_0x3c7add(0x39a)},_0x1d1b7a=class extends _0x4f2fc5[_0x3c7add(0x145)]{get['sessionStatus'](){const _0xde3404=_0x3c7add;return this['_sessionStatus$'][_0xde3404(0x2ae)]();}constructor(_0x3549a5,_0x8819f3,_0x8576b3,_0x4a7a33,_0x269533,_0x15b4d3,_0x4b7064,_0x26a3ef){const _0x5bf57d=_0x3c7add;super(),this[_0x5bf57d(0xdc)]=_0x3549a5,this[_0x5bf57d(0x10b)]=_0x8576b3,this[_0x5bf57d(0x33c)]=_0x4a7a33,this[_0x5bf57d(0x166)]=_0x269533,this[_0x5bf57d(0x1a3)]=_0x15b4d3,this['_collaborationUIEventService']=_0x4b7064,this[_0x5bf57d(0x140)]=_0x26a3ef,_0x45730e(this,_0x5bf57d(0x3c6),new _0x196a42[(_0x5bf57d(0x2cc))](0x0)),_0x45730e(this,'sessionStatus$',this['_sessionStatus$']['asObservable']()),_0x45730e(this,'_event$',new _0x196a42[(_0x5bf57d(0x274))]()),_0x45730e(this,'event$',this[_0x5bf57d(0x347)][_0x5bf57d(0xc6)]()),_0x45730e(this,_0x5bf57d(0x1f1),void 0x0),_0x45730e(this,'_socketMessageSubscription',void 0x0),_0x45730e(this,_0x5bf57d(0x223),void 0x0),_0x45730e(this,_0x5bf57d(0x13a),!0x1),_0x45730e(this,'_telemetryInfo',null),this['_shouldReportTelemetry']=!!this[_0x5bf57d(0x140)],_0x8819f3[_0x5bf57d(0x397)]((0x0,_0x196a42['takeUntil'])(this[_0x5bf57d(0x163)]))[_0x5bf57d(0x237)](_0x45b860=>{const _0x108922=_0x5bf57d;if(_0x45b860!==void 0x0){if(this['_socket']=_0x45b860,_0x45b860)this['_joinRoom'](_0x45b860),this[_0x108922(0x235)]=_0x45b860[_0x108922(0x31b)][_0x108922(0x237)](_0x963cf0=>{const _0x275af3=_0x108922;_0x963cf0[_0x275af3(0x124)]===this[_0x275af3(0xdc)]&&this['_onCombEvent'](_0x963cf0);});else{var _0x14edb3;this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0x14edb3=this[_0x108922(0x235)])==null||_0x14edb3[_0x108922(0x248)](),this[_0x108922(0x235)]=null;}}});}[_0x3c7add(0xdd)](){const _0x7c8076=_0x3c7add;var _0x26df7e,_0x4c0ba7;return(_0x26df7e=(_0x4c0ba7=this[_0x7c8076(0x1f1)])==null?void 0x0:_0x4c0ba7['memberID'])==null?null:_0x26df7e;}[_0x3c7add(0x202)](){const _0x2fdda5=_0x3c7add;super['dispose'](),this[_0x2fdda5(0x180)](),this['dispose$'][_0x2fdda5(0x232)](),this[_0x2fdda5(0x163)]['complete']();}[_0x3c7add(0x180)](){const _0x15c614=_0x3c7add;var _0x29668e,_0x5ce432;this[_0x15c614(0x385)](),(_0x29668e=this[_0x15c614(0x1f1)])==null||_0x29668e[_0x15c614(0x19b)]({'cmd':_0x121aa6['CombCmd']['LEAVE'],'data':{'roomID':this[_0x15c614(0xdc)]}}),(_0x5ce432=this[_0x15c614(0x1f1)])==null||_0x5ce432[_0x15c614(0x180)](),this['_event$'][_0x15c614(0x2fd)](),this[_0x15c614(0x3c6)]['complete']();}[_0x3c7add(0x1c6)](_0x3717da){const _0x557018=_0x3c7add;_0x3717da[_0x557018(0x270)]===_0x121aa6['CombCmd'][_0x557018(0x2ee)]?this[_0x557018(0x357)](_0x3717da):_0x3717da[_0x557018(0x270)]===_0x121aa6['CombCmd'][_0x557018(0x1ea)]&&this[_0x557018(0x2d2)](_0x3717da);}[_0x3c7add(0x222)](_0x3eacc2){const _0x14bcce=_0x3c7add;this['_sessionStatus$'][_0x14bcce(0x232)](0x1),_0x3eacc2[_0x14bcce(0x19b)]({'cmd':_0x121aa6[_0x14bcce(0x31e)]['JOIN'],'routeKey':this[_0x14bcce(0xdc)],'routeType':'','data':{'rooms':[{'roomID':this[_0x14bcce(0xdc)]}]}});}['_onJoinRoomEvent'](_0x1cf8ac){const _0x101fc6=_0x3c7add;var _0xc15218;if(_0x1cf8ac['code']in _0x3daab8){this[_0x101fc6(0x264)]['emitEvent']({'id':_0x101fc6(0x185),'data':_0x3daab8[_0x1cf8ac[_0x101fc6(0x175)]]}),this[_0x101fc6(0x3c6)]['next'](0x2);return;}this[_0x101fc6(0x3c6)][_0x101fc6(0x232)](0x3);let _0x1eb705=(_0xc15218=_0x1cf8ac[_0x101fc6(0x37e)][_0x101fc6(0x2f1)][this[_0x101fc6(0xdc)]])==null?void 0x0:_0xc15218['members'];_0x1eb705&&_0x1eb705['forEach'](_0x2a2db1=>this['_memberService'][_0x101fc6(0x1b6)](this['_unitID'],_0x2a2db1));}[_0x3c7add(0x2d2)](_0x15f014){const _0x58968e=_0x3c7add;try{let _0xf91ec5=_0x15f014['data'];switch(_0xf91ec5[_0x58968e(0x1ff)]){case _0x597ddf['CollaborationEvent'][_0x58968e(0x25b)]:this[_0x58968e(0x24e)](_0xf91ec5),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)]['USERS_LEAVE']:this[_0x58968e(0xeb)](_0xf91ec5),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)]['CHANGESET_ACK']:case _0x597ddf[_0x58968e(0xf9)]['CHANGESET_SHOULD_RETRY']:this[_0x58968e(0xc8)](),this[_0x58968e(0x3e1)](),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf[_0x58968e(0xf9)][_0x58968e(0xc3)]:this[_0x58968e(0x10b)][_0x58968e(0x1f0)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0xf91ec5)),this['_event$'][_0x58968e(0x232)](_0xf91ec5);break;case _0x597ddf['CollaborationEvent'][_0x58968e(0x311)]:this[_0x58968e(0x1a3)]['onCommentUpdate'](_0xf91ec5[_0x58968e(0x37e)]),this[_0x58968e(0x347)][_0x58968e(0x232)](_0xf91ec5);break;default:this[_0x58968e(0x347)]['next'](_0xf91ec5);}}catch(_0x3c7e79){this[_0x58968e(0x10b)]['error'](_0x3c7e79,_0x15f014);}}[_0x3c7add(0x24e)](_0x40c0b5){const _0x36f883=_0x3c7add;this[_0x36f883(0x166)][_0x36f883(0x1b6)](this[_0x36f883(0xdc)],_0x40c0b5['data']);}['_onUserLeave'](_0x4b712d){const _0x376a2a=_0x3c7add;this[_0x376a2a(0x166)][_0x376a2a(0x36f)](this[_0x376a2a(0xdc)],_0x4b712d[_0x376a2a(0x37e)][_0x376a2a(0x26c)]);}async['send'](_0x1721bc,_0x555750){const _0x3853b1=_0x3c7add;if(this[_0x3853b1(0x338)]!==0x3||!this[_0x3853b1(0x1f1)])throw Error(_0x3853b1(0x2db));try{_0x1721bc['eventID']===_0x597ddf[_0x3853b1(0xf9)][_0x3853b1(0x375)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x1721bc)),this[_0x3853b1(0x1f1)][_0x3853b1(0x19b)]({'cmd':_0x121aa6['CombCmd'][_0x3853b1(0x132)],'routeKey':_0x555750,'routeType':'','data':_0x1721bc});}catch(_0x59d65f){this[_0x3853b1(0x10b)][_0x3853b1(0x1f0)](_0x59d65f);}}['_scheduleCollaborationTimeoutTimer'](){const _0x57b41d=_0x3c7add;var _0x2cc6e8;this[_0x57b41d(0x223)]=setTimeout(()=>{const _0x5691f3=_0x57b41d;this[_0x5691f3(0x223)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x5691f3(0x22b)});},(_0x2cc6e8=this[_0x57b41d(0x33c)][_0x57b41d(0x1e1)](_0x57b41d(0xf2)))==null?_0x887dad:_0x2cc6e8);}[_0x3c7add(0x3e1)](){const _0x5e103a=_0x3c7add;this[_0x5e103a(0x223)]&&(clearTimeout(this[_0x5e103a(0x223)]),this[_0x5e103a(0x223)]=null);}[_0x3c7add(0xe0)](_0x1df4b1){const _0x1459a9=_0x3c7add;if(!this[_0x1459a9(0x13a)])return;let {data:_0x56aa96}=_0x1df4b1,{unitID:_0x57c7de,changeset:_0x1cae8c}=_0x56aa96,{mutations:_0xdb87c8,type:_0x344a97}=_0x1cae8c;this[_0x1459a9(0x3b4)]={'unitId':_0x57c7de,'type':_0x344a97,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x434b50(_0xdb87c8)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x4dc6f8=_0x3c7add;if(this['_shouldReportTelemetry']){if(!this[_0x4dc6f8(0x3b4)]){this[_0x4dc6f8(0x10b)][_0x4dc6f8(0x1f0)]('[CollaborationSession]',_0x4dc6f8(0x3cc));return;}this[_0x4dc6f8(0x3b4)][_0x4dc6f8(0x1d8)]=performance[_0x4dc6f8(0x1e5)](),this[_0x4dc6f8(0x3b4)]['duration']=this['_telemetryInfo']['stopTime']-this[_0x4dc6f8(0x3b4)][_0x4dc6f8(0x2ea)],this[_0x4dc6f8(0x140)][_0x4dc6f8(0x1c0)](_0x4dc6f8(0x31a),this[_0x4dc6f8(0x3b4)]),this[_0x4dc6f8(0x3b4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x5d9680=_0x3c7add;this[_0x5d9680(0x3b4)]=null;}};_0x1d1b7a=_0x38f352([_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x3,_0x4f2fc5['IConfigService']),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x359f82)),_0x78c766(0x5,(0x0,_0x4f2fc5['Inject'])(_0x2ea459)),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x7,(0x0,_0x4f2fc5['Optional'])(_0x3702ed[_0x3c7add(0x262)]))],_0x1d1b7a);let _0x54dcc4=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x187));function _0x58d90e(_0x51cbe2){const _0x50dbe8=_0x3c7add;return _0x50dbe8(0xff)+_0x51cbe2;}function _0x74068(_0x3f9ace){const _0x2a0b63=_0x3c7add;let {unitID:_0x4ab5f9,mutations:_0x2e38d0}=_0x3f9ace;return{'unitId':_0x4ab5f9,'subUnitId':_0x2e38d0[_0x2a0b63(0x3a4)]>0x0?_0x2e38d0[0x0]['params'][_0x2a0b63(0x231)]:null};}let _0x479f64=class{constructor(_0x4abc4d,_0x4d3ef8,_0xd3ea2d){const _0x25078e=_0x3c7add;this[_0x25078e(0x37b)]=_0x4abc4d,this[_0x25078e(0x220)]=_0x4d3ef8,this[_0x25078e(0x3c7)]=_0xd3ea2d;}['transformSelections'](_0x6aabc5){const _0x2fbb44=_0x3c7add;var _0x5d9fb5,_0x279433;let _0x320f39=this[_0x2fbb44(0x37b)][_0x2fbb44(0x1fd)](_0x575377['SheetsSelectionsService']),{unitId:_0x16613f,subUnitId:_0x2de1d1}=_0x74068(_0x6aabc5),_0x5c97a5=_0x320f39==null?void 0x0:_0x320f39[_0x2fbb44(0x1f5)](_0x16613f)[_0x2fbb44(0x19e)](),_0x26710e=(_0x5d9fb5=this[_0x2fbb44(0x3c7)]['getUnit'](_0x16613f))==null||(_0x5d9fb5=_0x5d9fb5[_0x2fbb44(0x268)]())==null?void 0x0:_0x5d9fb5[_0x2fbb44(0x156)]();if(_0x5c97a5[_0x2fbb44(0x3a4)]===0x0||!_0x16613f||!_0x2de1d1)return;let _0x56f47f=[{'id':_0x575377[_0x2fbb44(0x256)]['id'],'params':{'unitId':_0x16613f,'subUnitId':_0x26710e,'selections':_0x4f2fc5[_0x2fbb44(0x1b3)][_0x2fbb44(0x340)](_0x5c97a5)}}],_0x17cea8=this[_0x2fbb44(0x220)]['transformMutationsWithChangeset'](_0x6aabc5,_0x56f47f);if(!(0x0,_0x597ddf[_0x2fbb44(0x344)])(_0x17cea8))throw _0x17cea8[_0x2fbb44(0x1f0)];let _0x25e968=(_0x279433=_0x17cea8['m2Prime'][0x0])==null||(_0x279433=_0x279433['params'])==null?void 0x0:_0x279433[_0x2fbb44(0x330)];if(Array[_0x2fbb44(0x1a0)](_0x25e968)&&_0x25e968[_0x2fbb44(0x3a4)]){if(_0x25e968[_0x2fbb44(0x3a4)]===_0x56f47f[0x0]['params']['selections'][_0x2fbb44(0x3a4)]&&_0x25e968[_0x2fbb44(0x343)]((_0x2e6d08,_0x5ae18e)=>_0x4f2fc5[_0x2fbb44(0x286)]['equals'](_0x2e6d08[_0x2fbb44(0x2d7)],_0x56f47f[0x0]['params']['selections'][_0x5ae18e][_0x2fbb44(0x2d7)])))return;this[_0x2fbb44(0x37b)][_0x2fbb44(0x1fd)](_0x4f2fc5[_0x2fbb44(0x2e1)])['executeCommand'](_0x575377[_0x2fbb44(0x256)]['id'],{'unitId':_0x16613f,'subUnitId':_0x26710e,'selections':_0x25e968});}}};_0x479f64=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x2,_0x4f2fc5['IUniverInstanceService'])],_0x479f64);let _0x546860=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x382)),_0x2e8335=function(_0x1f0934){const _0x1cdff7=_0x3c7add;return _0x1f0934[_0x1f0934[_0x1cdff7(0x29a)]=0x0]=_0x1cdff7(0x29a),_0x1f0934[_0x1f0934['OTHER_CLIENTS_EDITING']=0x1]=_0x1cdff7(0x391),_0x1f0934;}({}),_0x11e35b=_0x3c7add(0x293),_0xdd2c56={};function _0x38740f(_0x39ffa9){const _0x14bf7d=_0x3c7add;var _0x53cbcc;return!!((_0x53cbcc=_0x39ffa9[_0x14bf7d(0xdb)])!=null&&_0x53cbcc[_0x14bf7d(0x2f7)]);}let _0x498598=new Set([_0x575377[_0x3c7add(0x32b)]['id']]);function _0x293c55(_0x3a53cb,_0x3bfea1,_0xb843df,_0xc35a1e,_0x18fda4){const _0x39be6e=_0x3c7add;var _0x26aef5,_0x2b0216,_0x2cf827,_0x56a573;let _0x5d61c8=[];for(let _0x194b75 of _0x3a53cb){if(_0x498598[_0x39be6e(0x22a)](_0x194b75['id'])){if(_0x5d61c8[_0x39be6e(0x3a4)]>0x0)break;_0x5d61c8[_0x39be6e(0x26e)](_0x194b75);break;}if(_0x38740f(_0x194b75)){if(_0x5d61c8[_0x39be6e(0x3a4)]>0x0)break;_0x5d61c8['push'](_0x194b75);break;}_0x5d61c8['push'](_0x194b75);}let _0x2db6fc=(_0x26aef5=(_0x2b0216=_0x18fda4['getCurrentUser']())==null?void 0x0:_0x2b0216[_0x39be6e(0x2bf)])==null?_0x39be6e(0x3b7):_0x26aef5,_0x16270a=(_0x2cf827=(_0x56a573=_0x18fda4[_0x39be6e(0x11b)]())==null?void 0x0:_0x56a573[_0x39be6e(0x26c)])==null?_0x39be6e(0x3b7):_0x2cf827;return{'changeset':{'unitID':_0x3bfea1,'type':(0x0,_0x597ddf[_0x39be6e(0x1e7)])(_0xb843df['getUnitType'](_0x3bfea1)),'baseRev':_0xc35a1e[_0x39be6e(0x139)](_0x3bfea1),'revision':0x0,'userID':_0x2db6fc,'memberID':_0x16270a,'mutations':_0x5d61c8},'pendingMutations':_0x3a53cb[_0x39be6e(0x28f)](_0x5d61c8[_0x39be6e(0x3a4)])};}function _0x5573fc(_0x2d32e3,_0x1a626c,_0x4e14b1,_0x39fc4b,_0x52da7f){const _0x3d0f16=_0x3c7add;var _0x1b673f,_0x289aa6,_0x5308ec,_0x4a62ef;let _0x4754c6=_0x2d32e3['reduce']((_0x1634da,_0x16ae6d)=>{const _0x1a9d42=_0x4364;let _0xcf1b6c=_0x1634da[_0x1634da[_0x1a9d42(0x3a4)]-0x1],{id:_0x42e78d}=_0xcf1b6c==null?{}:_0xcf1b6c,{id:_0x599d05,type:_0x29939b}=_0x16ae6d,_0x1864c4=_0x16ae6d[_0x1a9d42(0xdb)];if(_0x42e78d&&_0x42e78d!==_0x599d05)throw Error(_0x1a9d42(0xc4)+_0x42e78d+_0x1a9d42(0x26f)+_0x599d05+'.');if(!_0xcf1b6c)return[{'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4[_0x1a9d42(0x282)],'actions':_0x1864c4[_0x1a9d42(0xe5)]}}];let _0x37c1df=_0xcf1b6c[_0x1a9d42(0xdb)];return _0x6bd1ad(_0x37c1df[_0x1a9d42(0xe5)],_0x1864c4[_0x1a9d42(0xe5)])?[..._0x1634da[_0x1a9d42(0x28f)](0x0,-0x1),{..._0xcf1b6c,'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4['textRanges'],'actions':_0x4f2fc5[_0x1a9d42(0xdf)][_0x1a9d42(0x146)](_0x37c1df['actions'],_0x1864c4[_0x1a9d42(0xe5)])}}]:[..._0x1634da,{'id':_0x599d05,'type':_0x29939b,'params':{'unitId':_0x1864c4[_0x1a9d42(0x225)],'textRanges':_0x1864c4[_0x1a9d42(0x282)],'actions':_0x1864c4[_0x1a9d42(0xe5)]}}];},[]),_0x4669ce=(_0x1b673f=(_0x289aa6=_0x52da7f[_0x3d0f16(0x11b)]())==null?void 0x0:_0x289aa6['userID'])==null?_0x3d0f16(0x3b7):_0x1b673f,_0x95ba9b=(_0x5308ec=(_0x4a62ef=_0x52da7f[_0x3d0f16(0x11b)]())==null?void 0x0:_0x4a62ef[_0x3d0f16(0x26c)])==null?_0x3d0f16(0x3b7):_0x5308ec;return{'changeset':{'unitID':_0x1a626c,'type':(0x0,_0x597ddf[_0x3d0f16(0x1e7)])(_0x4e14b1[_0x3d0f16(0x1ab)](_0x1a626c)),'baseRev':_0x39fc4b[_0x3d0f16(0x139)](_0x1a626c),'revision':0x0,'userID':_0x4669ce,'memberID':_0x95ba9b,'mutations':_0x4754c6},'pendingMutations':_0x2d32e3['slice'](_0x2d32e3['length'])};}function _0x6bd1ad(_0x10e034,_0x3e0a81){return!(_0x5d5103(_0x10e034)&&_0xa5a351(_0x3e0a81)||_0xa5a351(_0x10e034)&&_0x5d5103(_0x3e0a81));}function _0x5d5103(_0x3b58a3){const _0x54889e=_0x3c7add;return _0x3ed849(_0x3b58a3)[_0x54889e(0x115)](_0x4913cf=>_0x3d34b3(_0x4913cf)&&_0x4913cf['et']==='text-x');}function _0xa5a351(_0x4c0127){const _0x54c53e=_0x3c7add;return _0x3ed849(_0x4c0127)[_0x54c53e(0x115)](_0x25c78e=>Array[_0x54c53e(0x1a0)](_0x25c78e)||typeof _0x25c78e=='string'||typeof _0x25c78e==_0x54c53e(0x16e));}function _0x3ed849(_0x5c13f3){const _0x12f53a=_0x3c7add;if(!Array['isArray'](_0x5c13f3))return[];let _0x5ab360=_0x5c13f3['includes'](_0x12f53a(0xc1))?_0x5c13f3:_0x5c13f3[_0x12f53a(0x1bb)](_0x301f8a=>Array['isArray'](_0x301f8a)&&_0x301f8a['includes'](_0x12f53a(0xc1)));if(!Array[_0x12f53a(0x1a0)](_0x5ab360))return[];let _0x298769=_0x5ab360[_0x12f53a(0x3dd)](_0x12f53a(0xc1));return _0x298769===-0x1?[]:_0x5ab360['slice'](_0x298769+0x1);}function _0x3d34b3(_0xf48673){const _0x23638f=_0x3c7add;return typeof _0xf48673==_0x23638f(0x2a1)&&!!_0xf48673&&!Array[_0x23638f(0x1a0)](_0xf48673);}function _0x5afc00(_0x384ae1,_0x54bdd3){const _0x104773=_0x3c7add;let _0x36fc22=new _0x196a42[(_0x104773(0x356))](0x1);return setTimeout(()=>_0x36fc22[_0x104773(0x232)](_0x54bdd3),_0x384ae1),_0x36fc22[_0x104773(0xc6)]()[_0x104773(0x397)]((0x0,_0x196a42[_0x104773(0x2a7)])(0x1));}var _0x2ab959,_0x2f6cad,_0x121e18;let _0xe9e27d=function(_0x54db59){const _0x1e582c=_0x3c7add;return _0x54db59['NOT_COLLAB']=_0x1e582c(0x21b),_0x54db59[_0x1e582c(0x1a6)]=_0x1e582c(0x1ee),_0x54db59[_0x1e582c(0x2a6)]='pending',_0x54db59[_0x1e582c(0xbb)]=_0x1e582c(0x14e),_0x54db59[_0x1e582c(0x250)]=_0x1e582c(0x2a3),_0x54db59[_0x1e582c(0x1b1)]=_0x1e582c(0x396),_0x54db59[_0x1e582c(0xd8)]=_0x1e582c(0x15a),_0x54db59[_0x1e582c(0x317)]=_0x1e582c(0x18f),_0x54db59;}({}),_0x1ef349=0x4e20,_0x180963=0x2bf20;var _0x4a5cdf=class{constructor(_0xbf80f8,_0x3ec5ec,_0x2584df,_0x136cfb,_0x5e890e,_0xaa1ecc,_0x804d4a,_0x22f00d,_0x5315fd){const _0x9440f8=_0x3c7add;this[_0x9440f8(0x11a)]=_0xbf80f8,this[_0x9440f8(0x3c8)]=_0x3ec5ec,this[_0x9440f8(0x168)]=_0x5e890e,this[_0x9440f8(0x111)]=_0xaa1ecc,this['_undoRedoService']=_0x804d4a,this[_0x9440f8(0x39e)]=_0x22f00d,this[_0x9440f8(0x12a)]=_0x5315fd,_0x45730e(this,_0x9440f8(0x216),null),_0x45730e(this,_0x9440f8(0x1dd),[]),this[_0x9440f8(0x216)]=_0x2584df,this[_0x9440f8(0x1dd)]=_0x136cfb;}['_checkMissing'](_0x158a78){const _0x37c569=_0x3c7add;let _0x158459=this[_0x37c569(0x39e)][_0x37c569(0x139)](this['unitID']);return _0x158a78[_0x37c569(0x2e5)]>_0x158459+0x1?(this[_0x37c569(0x168)][_0x37c569(0x215)]({'from':_0x158459,'to':_0x158a78['revision']-0x1}),!0x0):!0x1;}[_0x3c7add(0x2df)](_0x1c7143){const _0x14a596=_0x3c7add;this[_0x14a596(0x2e4)][_0x14a596(0x10d)](this[_0x14a596(0x11a)],_0x1c7143);}[_0x3c7add(0xf0)](_0x52cb15){const _0x521588=_0x3c7add;var _0x8a0b22,_0x577a57;(_0x8a0b22=(_0x577a57=this[_0x521588(0x168)])[_0x521588(0x2cd)])==null||_0x8a0b22[_0x521588(0x3bb)](_0x577a57,_0x52cb15);}['_transformIMECache'](_0x1aa066){const _0x52244a=_0x3c7add;var _0x5b63a2,_0x155753;return(_0x5b63a2=(_0x155753=this[_0x52244a(0x168)])[_0x52244a(0x320)])==null?void 0x0:_0x5b63a2[_0x52244a(0x3bb)](_0x155753,_0x1aa066);}[_0x3c7add(0x1fc)](_0x41032a){const _0x3604ac=_0x3c7add;var _0x3af1ba,_0x176b52;return(_0x3af1ba=(_0x176b52=this[_0x3604ac(0x168)])[_0x3604ac(0x346)])==null?void 0x0:_0x3af1ba[_0x3604ac(0x3bb)](_0x176b52,_0x41032a);}[_0x3c7add(0x1ca)](_0x3fae3d){const _0x250754=_0x3c7add;var _0x5db36d,_0xefbbd7,_0x47778b;return(_0x5db36d=(_0xefbbd7=(_0x47778b=this['_handler'])[_0x250754(0x181)])==null?void 0x0:_0xefbbd7[_0x250754(0x3bb)](_0x47778b,_0x3fae3d))==null?_0x3fae3d:_0x5db36d;}[_0x3c7add(0x1ba)](_0x4fa610){const _0x4cfecb=_0x3c7add;var _0x1aba65,_0x399ecd,_0xd224c1;return(_0x1aba65=(_0x399ecd=(_0xd224c1=this[_0x4cfecb(0x168)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x399ecd['call'](_0xd224c1,_0x4fa610))==null?_0x4fa610:_0x1aba65;}[_0x3c7add(0x14c)](_0x23de1a){const _0x5ba39b=_0x3c7add;if(this[_0x5ba39b(0x3c8)]===_0x4f2fc5[_0x5ba39b(0x22e)][_0x5ba39b(0x2d5)]){let {unitID:_0x3e3f18,mutations:_0x185e32,memberID:_0x28e045}=_0x23de1a,_0x7d8a8e=_0x185e32[_0x5ba39b(0x3a4)]>0x0?_0x185e32[0x0][_0x5ba39b(0xdb)][_0x5ba39b(0x282)]:[];if(Array[_0x5ba39b(0x1a0)](_0x7d8a8e)&&_0x7d8a8e['length']>0x0){var _0x2b1611,_0xb7b2d;(_0x2b1611=(_0xb7b2d=this['_handler'])[_0x5ba39b(0x120)])==null||_0x2b1611[_0x5ba39b(0x3bb)](_0xb7b2d,{'unitID':_0x3e3f18,'memberID':_0x28e045,'textRanges':_0x7d8a8e});}}}[_0x3c7add(0x3cf)](){const _0x1abf97=_0x3c7add;var _0x1d3f48;(_0x1d3f48=this[_0x1abf97(0x12a)])==null||_0x1d3f48[_0x1abf97(0x173)](this[_0x1abf97(0x11a)],this[_0x1abf97(0x3c8)],this[_0x1abf97(0x216)],this[_0x1abf97(0x1dd)]);}[_0x3c7add(0x118)](){const _0x119257=_0x3c7add;return this[_0x119257(0x39e)][_0x119257(0x139)](this['unitID']);}[_0x3c7add(0x3b5)](){const _0x346821=_0x3c7add;this['_revisionService'][_0x346821(0x208)](this[_0x346821(0x11a)]);}[_0x3c7add(0x395)](_0x3ba619){const _0x4cf319=_0x3c7add;let _0x3e401c=this[_0x4cf319(0x1ca)](_0x3ba619);_0x3e401c=this[_0x4cf319(0x1ba)](_0x3e401c);let _0x562aef=(0x0,_0x4f2fc5[_0x4cf319(0x2da)])(_0x3e401c[_0x4cf319(0x1eb)],this['_commandService'],{'fromCollab':!0x0});if(!_0x562aef[_0x4cf319(0x2fc)]){var _0x1334c6;throw _0x562aef[_0x4cf319(0x1f0)]instanceof Error?_0x562aef[_0x4cf319(0x1f0)]:Error((_0x1334c6=_0x562aef['error'])==null?_0x4cf319(0x27b):_0x1334c6);}this[_0x4cf319(0x2b9)](_0x3e401c),this['_transformStateCache'](_0x3e401c),this[_0x4cf319(0x2df)](_0x3ba619),this['_transformSelections'](_0x3e401c),this[_0x4cf319(0x14c)](_0x3e401c),this[_0x4cf319(0x3b5)]();}};let _0x2168a9=class extends _0x4a5cdf{constructor(_0x2861e1,_0x4afd0b,_0x54dd60,_0x3a1449,_0xd262a9,_0x5131b5,_0x1c1029,_0x4e76c4,_0xa94ca6,_0x5a9896){const _0x54df5a=_0x3c7add;super(_0x2861e1,_0x4afd0b,null,[],_0x54dd60,_0x1c1029,_0x5131b5,_0x3a1449,_0x5a9896),this[_0x54df5a(0x37b)]=_0xd262a9,this[_0x54df5a(0x10b)]=_0x4e76c4,this[_0x54df5a(0x220)]=_0xa94ca6,this[_0x54df5a(0x318)]=_0x5a9896,_0x45730e(this,'status','synced');}[_0x3c7add(0x1a5)](_0x1a2f0a){const _0x360480=_0x3c7add;let _0x3529fd=this[_0x360480(0x37b)]['createInstance'](_0x2c2e17,this[_0x360480(0x11a)],this['type'],[_0x1a2f0a],this[_0x360480(0x168)]);return _0x3529fd[_0x360480(0x179)](),_0x3529fd['_updateLocalCache'](),_0x3529fd;}[_0x3c7add(0x241)](_0x18794a){const _0x328239=_0x3c7add;if(this['_checkMissing'](_0x18794a))return this['_injector'][_0x328239(0x242)](_0x47f959,this['unitID'],this[_0x328239(0x3c8)],null,[],null,[_0x18794a],this[_0x328239(0x168)]);try{let _0x9e2e92=this['_transformService'][_0x328239(0x1a1)](_0x18794a,[_0x597ddf[_0x328239(0x3d7)]]);if((0x0,_0x597ddf[_0x328239(0x344)])(_0x9e2e92)){let {c1Prime:_0x5a285c}=_0x9e2e92;return this[_0x328239(0x395)](_0x5a285c),this;}throw _0x9e2e92[_0x328239(0x1f0)];}catch(_0x1432dc){return this[_0x328239(0x10b)][_0x328239(0x1f0)](_0x1432dc),this['_onConflict'](!0x1);}}[_0x3c7add(0x254)](_0x364d45){const _0x451a28=_0x3c7add;return this[_0x451a28(0x37b)]['createInstance'](_0x2cb513,this['unitID'],this[_0x451a28(0x3c8)],null,[],this[_0x451a28(0x168)],_0x364d45);}[_0x3c7add(0x2d4)](_0xe4929a){const _0x316875=_0x3c7add;if(_0xe4929a[_0x316875(0x2e5)]<=this[_0x316875(0x118)]())return this;throw Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3c7add(0x374)](){const _0x5a4e74=_0x3c7add;throw Error(_0x5a4e74(0x1ce));}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x4af860=_0x3c7add;return this[_0x4af860(0x37b)][_0x4af860(0x242)](_0x405ee9,this['unitID'],this[_0x4af860(0x3c8)],null,[],this[_0x4af860(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x29c1ee=_0x3c7add;throw Error(_0x29c1ee(0x335));}[_0x3c7add(0x10c)](){const _0x136f42=_0x3c7add;let _0x1c61fe=this[_0x136f42(0x39e)][_0x136f42(0x139)](this[_0x136f42(0x11a)]);return this[_0x136f42(0x168)][_0x136f42(0x215)]({'from':_0x1c61fe,'to':0x0}),this['_injector'][_0x136f42(0x242)](_0x47f959,this[_0x136f42(0x11a)],this[_0x136f42(0x3c8)],null,[],null,[],this[_0x136f42(0x168)]);}};_0x2168a9=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0x6,_0x4f2fc5['ICommandService']),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2168a9);let _0x2c2e17=_0x2ab959=class extends _0x4a5cdf{constructor(_0x4cee25,_0x4bd1e3,_0x598c7f,_0x33861e,_0x36537a,_0xd2f3da,_0x4a12f3,_0x487929,_0x3e0de7,_0x7037a5,_0x2b47b1,_0x5c5058,_0x3d1125,_0x420a9e){const _0x6f0ee9=_0x3c7add;super(_0x4cee25,_0x4bd1e3,null,_0x598c7f,_0x33861e,_0x3e0de7,_0x3d1125,_0xd2f3da,_0x420a9e),this['_injector']=_0x36537a,this['_memberService']=_0x4a12f3,this[_0x6f0ee9(0x10b)]=_0x487929,this[_0x6f0ee9(0x33c)]=_0x7037a5,this[_0x6f0ee9(0x220)]=_0x2b47b1,this[_0x6f0ee9(0x243)]=_0x5c5058,_0x45730e(this,_0x6f0ee9(0x1a2),_0x6f0ee9(0x1d5)),_0x45730e(this,_0x6f0ee9(0x1a9),null),_0x45730e(this,_0x6f0ee9(0x17d),null);}[_0x3c7add(0x1a5)](_0x48bd7f){const _0x315c79=_0x3c7add;return this[_0x315c79(0x1dd)][_0x315c79(0x26e)](_0x48bd7f),this[_0x315c79(0x3cf)](),this;}['onRemoteChangeset'](_0x59d9db){const _0xbf100e=_0x3c7add;if(this[_0xbf100e(0x1cd)](_0x59d9db))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x47f959,this[_0xbf100e(0x11a)],this[_0xbf100e(0x3c8)],null,this[_0xbf100e(0x1dd)],null,[_0x59d9db],this[_0xbf100e(0x168)]);try{let _0x546195=this[_0xbf100e(0x220)][_0xbf100e(0x1a1)](_0x59d9db,this['_pendingMutations']);if((0x0,_0x597ddf[_0xbf100e(0x344)])(_0x546195)){let {c1Prime:_0x312120,m2Prime:_0x3f5106}=_0x546195;this[_0xbf100e(0x395)](_0x312120);let _0x5d07d8=this[_0xbf100e(0x37b)][_0xbf100e(0x242)](_0x2ab959,this[_0xbf100e(0x11a)],this['type'],_0x3f5106,this[_0xbf100e(0x168)]);this['_clearScheduledTask']();let _0x390203=new Date()[_0xbf100e(0xf8)](),_0x57fc02=this[_0xbf100e(0x1a9)]?Math[_0xbf100e(0x30e)](this['_scheduleCompleteTimestamp']-_0x390203,0x0):this[_0xbf100e(0xd5)]();return _0x5d07d8[_0xbf100e(0x179)](_0x57fc02),_0x5d07d8;}throw _0x546195[_0xbf100e(0x1f0)];}catch(_0x446ff1){return this['_logService']['error'](_0x446ff1),this[_0xbf100e(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x17c10e){const _0x4f6a19=_0x3c7add;if(_0x17c10e[_0x4f6a19(0x2e5)]<=this['_getCurrentRevision']())return this;throw Error(_0x4f6a19(0x24a));}[_0x3c7add(0x374)](){throw Error('[PendingState]:\x20received\x20rejection.');}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x2ead8f=_0x3c7add;return this[_0x2ead8f(0x1b9)](),this[_0x2ead8f(0x37b)][_0x2ead8f(0x242)](_0x405ee9,this[_0x2ead8f(0x11a)],this[_0x2ead8f(0x3c8)],null,this[_0x2ead8f(0x1dd)],this[_0x2ead8f(0x168)]);}[_0x3c7add(0x1ac)](){return this;}['_schedule'](_0x51a381){const _0x21ce6d=_0x3c7add;let _0x351b6d=_0x51a381==null?this[_0x21ce6d(0xd5)]():_0x51a381;this[_0x21ce6d(0x1a9)]=new Date()[_0x21ce6d(0xf8)]()+_0x351b6d,this[_0x21ce6d(0x17d)]=setTimeout(()=>{const _0x10c4c2=_0x21ce6d;this['_clearScheduledTask']();let _0x570501=null;switch(this[_0x10c4c2(0x3c8)]){case _0x4f2fc5[_0x10c4c2(0x22e)][_0x10c4c2(0x2a4)]:_0x570501=_0x293c55(this['_pendingMutations'],this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this['_memberService']);break;case _0x4f2fc5[_0x10c4c2(0x22e)][_0x10c4c2(0x2d5)]:_0x570501=this[_0x10c4c2(0x1dd)][_0x10c4c2(0x343)](_0x38f509=>_0x38f509['id']===_0x37b785[_0x10c4c2(0x383)]['id'])?_0x5573fc(this[_0x10c4c2(0x1dd)],this['unitID'],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this[_0x10c4c2(0x166)]):_0x293c55(this[_0x10c4c2(0x1dd)],this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x243)],this[_0x10c4c2(0x39e)],this[_0x10c4c2(0x166)]);break;default:throw Error(_0x10c4c2(0x2f4)+this[_0x10c4c2(0x3c8)]+_0x10c4c2(0x35a));}let {changeset:_0x486bac,pendingMutations:_0x1b241a}=_0x570501;this[_0x10c4c2(0x168)]['onSendChangeset'](_0x486bac);let _0x571060=_0x1b241a[_0x10c4c2(0x3a4)]?this[_0x10c4c2(0x37b)][_0x10c4c2(0x242)](_0x2a0e64,this[_0x10c4c2(0x11a)],this['type'],_0x486bac,_0x1b241a,this[_0x10c4c2(0x168)],void 0x0):this['_injector'][_0x10c4c2(0x242)](_0x441552,this[_0x10c4c2(0x11a)],this[_0x10c4c2(0x3c8)],_0x486bac,this[_0x10c4c2(0x168)]);_0x571060[_0x10c4c2(0x3cf)](),this[_0x10c4c2(0x168)]['onStateChange'](this,_0x571060);},_0x351b6d);}['_getSendChangesetTimeout'](){const _0x19f929=_0x3c7add;var _0x5764b8;let _0x4b7a1f=this['_configService']['getConfig'](_0x11e35b);return(_0x5764b8=_0x4b7a1f==null?void 0x0:_0x4b7a1f[_0x19f929(0x24b)])==null?0x7d0:_0x5764b8;}[_0x3c7add(0x15d)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){const _0x532b7d=_0x3c7add;this[_0x532b7d(0x17d)]!=null&&(clearTimeout(this[_0x532b7d(0x17d)]),this[_0x532b7d(0x17d)]=null);}['_onConflict'](_0x252bf6){const _0x412241=_0x3c7add;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2cb513,this[_0x412241(0x11a)],this[_0x412241(0x3c8)],null,this['_pendingMutations'],this[_0x412241(0x168)],_0x252bf6);}};_0x2c2e17=_0x2ab959=_0x38f352([_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x359f82)),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0xa,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0xc,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2c2e17);let _0x441552=_0x2f6cad=class extends _0x4a5cdf{constructor(_0x1fdf09,_0x1f8955,_0x2b2e8b,_0x82a666,_0x47e7a5,_0x31618b,_0x25aa0b,_0x2af1d7,_0x22c25,_0xad5b84,_0x3900b){const _0x442781=_0x3c7add;super(_0x1fdf09,_0x1f8955,_0x2b2e8b,[],_0x82a666,_0x25aa0b,_0xad5b84,_0x31618b,_0x3900b),this[_0x442781(0x37b)]=_0x47e7a5,this['_logService']=_0x2af1d7,this[_0x442781(0x220)]=_0x22c25,_0x45730e(this,_0x442781(0x1a2),_0x442781(0x14e)),_0x45730e(this,'_resendTimeout',0x0),_0x45730e(this,_0x442781(0x325),0x0),_0x45730e(this,_0x442781(0x229),void 0x0),_0x45730e(this,_0x442781(0x1fb),void 0x0);}[_0x3c7add(0x1a5)](_0x3f45fe){const _0x125b52=_0x3c7add;this[_0x125b52(0x1b9)]();let _0x4a07b1=this[_0x125b52(0x37b)]['createInstance'](_0x2a0e64,this[_0x125b52(0x11a)],this[_0x125b52(0x3c8)],this['_awaitingChangeset'],[_0x3f45fe],this[_0x125b52(0x168)],this[_0x125b52(0x229)]);return _0x4a07b1['_updateLocalCache'](),_0x4a07b1;}[_0x3c7add(0x241)](_0xd53697){const _0x31436d=_0x3c7add;if(this['_checkMissing'](_0xd53697))return this[_0x31436d(0x1b9)](),this['_injector'][_0x31436d(0x242)](_0x47f959,this[_0x31436d(0x11a)],this[_0x31436d(0x3c8)],this[_0x31436d(0x216)],[],null,[_0xd53697],this[_0x31436d(0x168)]);try{let _0x433a33=this[_0x31436d(0x220)][_0x31436d(0x2f3)]([_0xd53697],[this[_0x31436d(0x216)]],!0x1);if((0x0,_0x597ddf[_0x31436d(0x2f6)])(_0x433a33)){let {c1Prime:_0xf8144,c2Prime:_0xb3dd2f}=_0x433a33;this['_executeRemoteChangeset'](_0xf8144[0x0]),_0xb3dd2f[0x0][_0x31436d(0x296)]=this[_0x31436d(0x118)](),this[_0x31436d(0x1b9)]();let _0x4fcbef=this[_0x31436d(0x37b)]['createInstance'](_0x2f6cad,this[_0x31436d(0x11a)],this[_0x31436d(0x3c8)],_0xb3dd2f[0x0],this[_0x31436d(0x168)]);return _0x4fcbef[_0x31436d(0x3cf)](),_0x4fcbef;}throw _0x433a33[_0x31436d(0x1f0)];}catch(_0x1e11da){return this['_logService'][_0x31436d(0x1f0)](_0x1e11da),this[_0x31436d(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x38050c){const _0x5810a7=_0x3c7add;this['_clearScheduledTask']();let _0x3843b8=this[_0x5810a7(0x39e)]['getCurrentRevOfUnit'](this[_0x5810a7(0x11a)]);if(_0x38050c[_0x5810a7(0x2e5)]<=_0x3843b8)return this;if(this[_0x5810a7(0x1cd)](_0x38050c))return this[_0x5810a7(0x37b)]['createInstance'](_0x47f959,this['unitID'],this['type'],this['_awaitingChangeset'],[],_0x38050c[_0x5810a7(0x2e5)],[],this[_0x5810a7(0x168)]);this[_0x5810a7(0x3b5)]();let _0x18cc7d=this[_0x5810a7(0x37b)][_0x5810a7(0x242)](_0x2168a9,this[_0x5810a7(0x11a)],this['type'],this[_0x5810a7(0x168)]);return _0x18cc7d['_updateLocalCache'](),_0x18cc7d;}['onRemoteRej'](_0xe0508a){const _0x4eaa98=_0x3c7add;return this[_0x4eaa98(0x254)](!!(_0xe0508a!=null&&_0xe0508a[_0x4eaa98(0x14b)]));}[_0x3c7add(0x1ad)](_0x426bac){const _0x3ab7bd=_0x3c7add;return this[_0x3ab7bd(0x325)]>_0x180963?this[_0x3ab7bd(0x239)]():(this[_0x3ab7bd(0x229)]=_0x5afc00(this['_resendTimeout'],{'timeout':this[_0x3ab7bd(0x2c7)],'reqId':_0x426bac[_0x3ab7bd(0x3ba)]}),this[_0x3ab7bd(0x1fb)]=this[_0x3ab7bd(0x229)]['subscribe'](({reqId:_0x15da0d,timeout:_0x23833b})=>{const _0x502bc5=_0x3ab7bd;this[_0x502bc5(0x31d)](_0x15da0d,_0x23833b);}),this);}[_0x3c7add(0x239)](){const _0xe0f9fb=_0x3c7add;return this[_0xe0f9fb(0x1b9)](),this['_injector'][_0xe0f9fb(0x242)](_0x405ee9,this[_0xe0f9fb(0x11a)],this['type'],this[_0xe0f9fb(0x216)],[],this[_0xe0f9fb(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x26ee8b=_0x3c7add;this[_0x26ee8b(0x168)]['onSendChangeset'](this[_0x26ee8b(0x216)]);}[_0x3c7add(0x254)](_0x50aabc){const _0x21cff3=_0x3c7add;return this[_0x21cff3(0x1b9)](),this[_0x21cff3(0x37b)][_0x21cff3(0x242)](_0x2cb513,this[_0x21cff3(0x11a)],this[_0x21cff3(0x3c8)],this['_awaitingChangeset'],[],this[_0x21cff3(0x168)],_0x50aabc);}[_0x3c7add(0x31d)](_0x53841a,_0x4c653f){const _0x46545d=_0x3c7add;var _0x9f7c24;_0x53841a===((_0x9f7c24=this[_0x46545d(0x216)])==null?void 0x0:_0x9f7c24[_0x46545d(0x3ba)])&&(this[_0x46545d(0x15d)](),this[_0x46545d(0x2c7)]=_0x4c653f===0x0?0x3e8:Math[_0x46545d(0x3af)](_0x4c653f*0x2,_0x1ef349),this[_0x46545d(0x325)]+=this[_0x46545d(0x2c7)]);}['_clearScheduledTask'](){const _0x19aa24=_0x3c7add;var _0x5c1eb0;(_0x5c1eb0=this[_0x19aa24(0x1fb)])==null||_0x5c1eb0[_0x19aa24(0x248)](),this['_resendTimeout']=0x0,this[_0x19aa24(0x325)]=0x0;}};_0x441552=_0x2f6cad=_0x38f352([_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x6,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x8,_0x597ddf['ITransformService']),_0x78c766(0x9,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xa,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x441552);let _0x2a0e64=_0x121e18=class extends _0x4a5cdf{constructor(_0x48f549,_0x2724e8,_0x3a0200,_0x15d020,_0x3d6b56,_0x2b35ff,_0x25ce87,_0x31364b,_0x446264,_0x4b87b8,_0xa97dd,_0x2b3db5,_0x234658){const _0x267672=_0x3c7add;super(_0x48f549,_0x2724e8,_0x3a0200,_0x15d020,_0x3d6b56,_0x446264,_0x2b3db5,_0x31364b,_0x234658),this['_injector']=_0x25ce87,this[_0x267672(0x10b)]=_0x4b87b8,this[_0x267672(0x220)]=_0xa97dd,this[_0x267672(0x318)]=_0x234658,_0x45730e(this,_0x267672(0x1a2),_0x267672(0x2a3)),_0x45730e(this,_0x267672(0x2c7),0x0),_0x45730e(this,_0x267672(0x325),0x0),_0x45730e(this,'_resendTimer',void 0x0),_0x45730e(this,_0x267672(0x1fb),void 0x0),_0x2b35ff&&(this['_resendTimer']=_0x2b35ff,this[_0x267672(0x1fb)]=this[_0x267672(0x229)][_0x267672(0x237)](({reqId:_0x2055e7,timeout:_0xfcf0b4})=>{this['_resendWithTimeout'](_0x2055e7,_0xfcf0b4);}));}[_0x3c7add(0x1a5)](_0x460968){const _0x1819e7=_0x3c7add;return this['_pendingMutations'][_0x1819e7(0x26e)](_0x460968),this;}[_0x3c7add(0x241)](_0x6e1622){const _0x581655=_0x3c7add;if(this[_0x581655(0x1cd)](_0x6e1622))return this[_0x581655(0x1b9)](),this[_0x581655(0x37b)]['createInstance'](_0x47f959,this['unitID'],this[_0x581655(0x3c8)],this[_0x581655(0x216)],this[_0x581655(0x1dd)],null,[_0x6e1622],this['_handler']);try{let _0x171990=this[_0x581655(0x220)]['transformChangesets']([_0x6e1622],[this['_awaitingChangeset']],!0x1);if((0x0,_0x597ddf['isTransformChangesetsSuccess'])(_0x171990)){let {c1Prime:_0x184b7a,c2Prime:_0x443c38}=_0x171990,_0xd761fb=this[_0x581655(0x220)][_0x581655(0x1a1)](_0x184b7a[0x0],this[_0x581655(0x1dd)]);if((0x0,_0x597ddf[_0x581655(0x344)])(_0xd761fb)){let {c1Prime:_0x2b6725,m2Prime:_0x2c57a9}=_0xd761fb;return this['_executeRemoteChangeset'](_0x2b6725),_0x443c38[0x0]['baseRev']=this[_0x581655(0x118)](),this['_clearScheduledTask'](),this[_0x581655(0x37b)]['createInstance'](_0x121e18,this[_0x581655(0x11a)],this[_0x581655(0x3c8)],_0x443c38[0x0],_0x2c57a9,this[_0x581655(0x168)],void 0x0);}throw _0xd761fb['error'];}throw _0x171990[_0x581655(0x1f0)];}catch(_0xc4698f){return this[_0x581655(0x10b)][_0x581655(0x1f0)](_0xc4698f),this[_0x581655(0x254)](!0x1);}}[_0x3c7add(0x2d4)](_0x32e176){const _0x52ed57=_0x3c7add;this[_0x52ed57(0x1b9)]();let _0x12a49f=this[_0x52ed57(0x118)]();if(_0x32e176[_0x52ed57(0x2e5)]<=_0x12a49f)return this;if(this[_0x52ed57(0x1cd)](_0x32e176))return this[_0x52ed57(0x37b)][_0x52ed57(0x242)](_0x47f959,this[_0x52ed57(0x11a)],this[_0x52ed57(0x3c8)],this[_0x52ed57(0x216)],this[_0x52ed57(0x1dd)],_0x32e176[_0x52ed57(0x2e5)],[],this['_handler']);this[_0x52ed57(0x3b5)]();let _0x9c5065=this[_0x52ed57(0x37b)][_0x52ed57(0x242)](_0x2c2e17,this['unitID'],this[_0x52ed57(0x3c8)],this['_pendingMutations'],this[_0x52ed57(0x168)]);return _0x9c5065[_0x52ed57(0x179)](),_0x9c5065['_updateLocalCache'](),_0x9c5065;}[_0x3c7add(0x374)](_0x3452f6){const _0xc3e45c=_0x3c7add;return this[_0xc3e45c(0x254)](!!(_0x3452f6!=null&&_0x3452f6[_0xc3e45c(0x14b)]));}[_0x3c7add(0x1ad)](_0x3e880d){const _0x386185=_0x3c7add;return this[_0x386185(0x325)]>_0x180963?this[_0x386185(0x239)]():(this[_0x386185(0x229)]=_0x5afc00(this[_0x386185(0x2c7)],{'timeout':this[_0x386185(0x2c7)],'reqId':_0x3e880d[_0x386185(0x3ba)]}),this[_0x386185(0x1fb)]=this[_0x386185(0x229)]['subscribe'](({reqId:_0x276422,timeout:_0x579384})=>{const _0x485ede=_0x386185;this[_0x485ede(0x31d)](_0x276422,_0x579384);}),this);}[_0x3c7add(0x239)](){const _0x12b7d5=_0x3c7add;return this[_0x12b7d5(0x1b9)](),this['_injector']['createInstance'](_0x405ee9,this[_0x12b7d5(0x11a)],this[_0x12b7d5(0x3c8)],this[_0x12b7d5(0x216)],this[_0x12b7d5(0x1dd)],this[_0x12b7d5(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x15d)](){const _0x3cb875=_0x3c7add;this[_0x3cb875(0x168)][_0x3cb875(0x26d)](this[_0x3cb875(0x216)]);}['_onConflict'](_0x19ed7a){const _0x518048=_0x3c7add;return this['_clearScheduledTask'](),this[_0x518048(0x37b)][_0x518048(0x242)](_0x2cb513,this[_0x518048(0x11a)],this['type'],null,this[_0x518048(0x1dd)],this[_0x518048(0x168)],_0x19ed7a);}['_resendWithTimeout'](_0x5db5f0,_0x5a6dba){const _0x3b6b0d=_0x3c7add;var _0x3d3181;_0x5db5f0===((_0x3d3181=this[_0x3b6b0d(0x216)])==null?void 0x0:_0x3d3181[_0x3b6b0d(0x3ba)])&&(this['resend'](),this['_resendTimeout']=_0x5a6dba===0x0?0x3e8:Math[_0x3b6b0d(0x3af)](_0x5a6dba*0x2,_0x1ef349),this['_maxTotalRetryTimeout']+=this[_0x3b6b0d(0x2c7)]);}[_0x3c7add(0x1b9)](){const _0x25fe83=_0x3c7add;var _0x5b9124;(_0x5b9124=this[_0x25fe83(0x1fb)])==null||_0x5b9124['unsubscribe'](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x2a0e64=_0x121e18=_0x38f352([_0x78c766(0x6,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf['RevisionService'])),_0x78c766(0x8,_0x4f2fc5['ICommandService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x597ddf['ITransformService']),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2a0e64);let _0x2cb513=class extends _0x4a5cdf{constructor(_0x53e830,_0x20810a,_0x35e7cd,_0x5e88f8,_0x25119d,_0x19ac8c=!0x1,_0x3a85f3,_0x37d7e9,_0x5761b4,_0x4372ec,_0x4913d4,_0xca3b06,_0x140ac1){const _0x1c3e60=_0x3c7add;super(_0x53e830,_0x20810a,_0x35e7cd,_0x5e88f8,_0x25119d,_0x37d7e9,_0x5761b4,_0x4372ec,_0x140ac1),this[_0x1c3e60(0x21d)]=_0x19ac8c,this[_0x1c3e60(0x1cb)]=_0x3a85f3,this[_0x1c3e60(0x23b)]=_0x4913d4,this[_0x1c3e60(0x264)]=_0xca3b06,this['localCacheService']=_0x140ac1,_0x45730e(this,_0x1c3e60(0x1a2),_0x1c3e60(0x15a)),this[_0x1c3e60(0x334)](),this[_0x1c3e60(0x3ae)](),this[_0x1c3e60(0x13b)]();}['appendMutation'](){return this;}[_0x3c7add(0x241)](){return this;}['onRemoteAck'](){return this;}[_0x3c7add(0x374)](){return this;}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){return this;}[_0x3c7add(0x1ac)](){return this;}['resend'](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3c7add(0x3ae)](){const _0x53adca=_0x3c7add;var _0xef15ca;(_0xef15ca=this[_0x53adca(0x12a)])==null||_0xef15ca[_0x53adca(0x173)](this['unitID'],this['type'],null,[]);}[_0x3c7add(0x334)](){const _0x56a7de=_0x3c7add;this[_0x56a7de(0x21d)]?this[_0x56a7de(0x264)]['emitEvent']({'id':'PERMISSION_DENIED'}):this[_0x56a7de(0x264)]['emitEvent']({'id':_0x56a7de(0xd8)});}['_disableEditing'](){const _0x4da796=_0x3c7add;this[_0x4da796(0x1cb)][_0x4da796(0x251)](new _0x575377[(_0x4da796(0x2e7))](this[_0x4da796(0x11a)])['id'],!0x1);}};_0x2cb513=_0x38f352([_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x1c4)])),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x8,_0x4f2fc5['IUndoRedoService']),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0xa,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5['LocaleService'])),_0x78c766(0xb,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x2cb513);let _0x405ee9=class extends _0x4a5cdf{constructor(_0x4eec8c,_0x5e6a1c,_0x51afcd,_0x1199cc,_0x157fc5,_0x57b217,_0x2b5dff,_0x13697,_0x493d41,_0x12de84){const _0x3bdbef=_0x3c7add;super(_0x4eec8c,_0x5e6a1c,_0x51afcd,_0x1199cc,_0x157fc5,_0x13697,_0x493d41,_0x2b5dff,_0x12de84),this[_0x3bdbef(0x37b)]=_0x57b217,_0x45730e(this,_0x3bdbef(0x1a2),_0x3bdbef(0x18f));}['appendMutation'](_0x237dae){const _0x59ac8f=_0x3c7add;return this[_0x59ac8f(0x1dd)]['push'](_0x237dae),this[_0x59ac8f(0x3cf)](),this;}[_0x3c7add(0x241)](_0x22997f){const _0x20de74=_0x3c7add;throw Error(_0x20de74(0x361));}[_0x3c7add(0x2d4)](){const _0x249532=_0x3c7add;throw Error(_0x249532(0xcd));}[_0x3c7add(0x374)](){const _0x4bc3e8=_0x3c7add;throw Error(_0x4bc3e8(0x19c));}['onRemoteRetry'](){return this;}[_0x3c7add(0x239)](){return this;}['toggleOnline'](){const _0x30b970=_0x3c7add;let {_injector:_0x2513c7,_pendingMutations:_0x14370a,_awaitingChangeset:_0x353f28,unitID:_0x21a377,_handler:_0x244344,type:_0x39df35}=this,_0x5bf383=_0x84b430(_0x2513c7,_0x21a377,_0x39df35,_0x353f28,_0x14370a,_0x244344);return _0x5bf383 instanceof _0x2c2e17?_0x5bf383[_0x30b970(0x179)]():(_0x5bf383 instanceof _0x2a0e64||_0x5bf383 instanceof _0x441552)&&_0x5bf383[_0x30b970(0x15d)](),_0x5bf383;}[_0x3c7add(0x15d)](){const _0x1951a1=_0x3c7add;throw Error(_0x1951a1(0x305));}};_0x405ee9=_0x38f352([_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x8,_0x4f2fc5[_0x3c7add(0x2c0)]),_0x78c766(0x9,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x405ee9);let _0x47f959=class extends _0x4a5cdf{constructor(_0x35ed18,_0x51a246,_0x15670f,_0x514582,_0x597cd3,_0x5674f3,_0x4cb028,_0x4b9964,_0x8e5d5f,_0x398ac2,_0x1980ac,_0x2c52db,_0x12f15a,_0x4571d8){const _0x3a0b40=_0x3c7add;super(_0x35ed18,_0x51a246,_0x15670f,_0x514582,_0x4cb028,_0x1980ac,_0x2c52db,_0x8e5d5f,_0x4571d8),this['_acknowledgedAwaitingRevision']=_0x597cd3,this[_0x3a0b40(0xd7)]=_0x5674f3,this[_0x3a0b40(0x37b)]=_0x4b9964,this[_0x3a0b40(0x10b)]=_0x398ac2,this['_transformService']=_0x12f15a,this['localCacheService']=_0x4571d8,_0x45730e(this,_0x3a0b40(0x1a2),_0x3a0b40(0x396));}[_0x3c7add(0x1af)](_0x28ee04){const _0x1aca98=_0x3c7add;try{if(this['_handleRemoteChangesets'](_0x28ee04)[_0x1aca98(0x155)])throw Error(_0x1aca98(0x147));if(this[_0x1aca98(0x32f)]([...this['_queuedRemoteChangesets']][_0x1aca98(0x1c1)]((_0x2e80f4,_0x113624)=>_0x2e80f4['revision']-_0x113624[_0x1aca98(0x2e5)]))[_0x1aca98(0x155)])return this[_0x1aca98(0xd7)]=[],this[_0x1aca98(0x3cf)](),this['_handler'][_0x1aca98(0x215)]({'from':this['_getCurrentRevision'](),'to':0x0}),this;let _0x361f1c=this[_0x1aca98(0x216)],_0x2ea76a=this['_pendingMutations'],_0x59937f;if(_0x361f1c&&_0x2ea76a['length']!==0x0)_0x59937f=this[_0x1aca98(0x37b)][_0x1aca98(0x242)](_0x2a0e64,this[_0x1aca98(0x11a)],this[_0x1aca98(0x3c8)],_0x361f1c,_0x2ea76a,this[_0x1aca98(0x168)],void 0x0);else{if(_0x361f1c&&_0x2ea76a[_0x1aca98(0x3a4)]===0x0)_0x361f1c[_0x1aca98(0x296)]=this['_getCurrentRevision'](),_0x59937f=this[_0x1aca98(0x37b)][_0x1aca98(0x242)](_0x441552,this[_0x1aca98(0x11a)],this[_0x1aca98(0x3c8)],_0x361f1c,this[_0x1aca98(0x168)]);else{if(_0x2ea76a[_0x1aca98(0x3a4)]!==0x0){let _0x31a0d2=this['_injector']['createInstance'](_0x2c2e17,this['unitID'],this[_0x1aca98(0x3c8)],_0x2ea76a,this['_handler']);_0x31a0d2['_schedule'](),_0x59937f=_0x31a0d2;}else _0x59937f=this['_injector'][_0x1aca98(0x242)](_0x2168a9,this['unitID'],this['type'],this[_0x1aca98(0x168)]);}}return _0x59937f[_0x1aca98(0x3cf)](),_0x59937f;}catch(_0x584cd2){return this['_logService'][_0x1aca98(0x1f0)](_0x1aca98(0x14d),_0x1aca98(0x38f),_0x584cd2),this['_injector'][_0x1aca98(0x242)](_0x2cb513,this[_0x1aca98(0x11a)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1aca98(0x168)],!0x1);}}[_0x3c7add(0x32f)](_0x52f4ed){const _0x46fec8=_0x3c7add;this[_0x46fec8(0x207)]();for(let _0x4725f6=0x0;_0x4725f6<_0x52f4ed['length'];_0x4725f6++){let _0x2da708=_0x52f4ed[_0x4725f6],_0x4daefc=this[_0x46fec8(0x118)]();if(!(_0x2da708[_0x46fec8(0x2e5)]<=_0x4daefc)){if(_0x2da708[_0x46fec8(0x2e5)]>_0x4daefc+0x1)return{'missingChangesets':!0x0};if(this[_0x46fec8(0x284)](_0x2da708)){this[_0x46fec8(0x3a1)]();continue;}this['_transformAndApplyRemoteChangeset'](_0x2da708),this[_0x46fec8(0x207)]();}}return{'missingChangesets':!0x1};}[_0x3c7add(0x326)](_0x104e24){const _0x2f0399=_0x3c7add;let _0x5c7540=_0x104e24,_0x1e2b5b=this[_0x2f0399(0x216)];if(_0x1e2b5b){let _0x397c3d=this[_0x2f0399(0x220)]['transformChangesets']([_0x104e24],[_0x1e2b5b],!0x1);if(!(0x0,_0x597ddf[_0x2f0399(0x2f6)])(_0x397c3d))throw _0x397c3d[_0x2f0399(0x1f0)];_0x5c7540=_0x397c3d[_0x2f0399(0x23f)][0x0],_0x1e2b5b=_0x397c3d['c2Prime'][0x0];}let _0x106e9b=this[_0x2f0399(0x1dd)];if(_0x106e9b['length']){let _0xc6e877=this[_0x2f0399(0x220)][_0x2f0399(0x1a1)](_0x5c7540,_0x106e9b);if(!(0x0,_0x597ddf[_0x2f0399(0x344)])(_0xc6e877))throw _0xc6e877[_0x2f0399(0x1f0)];_0x5c7540=_0xc6e877[_0x2f0399(0x23f)],_0x106e9b=_0xc6e877[_0x2f0399(0x3bc)];}this[_0x2f0399(0x395)](_0x5c7540),_0x1e2b5b&&(_0x1e2b5b[_0x2f0399(0x296)]=this[_0x2f0399(0x118)]()),this[_0x2f0399(0x216)]=_0x1e2b5b,this['_pendingMutations']=_0x106e9b;}['_acknowledgeAwaitingIfReady'](){const _0x8adeab=_0x3c7add;if(!this[_0x8adeab(0x216)]||this[_0x8adeab(0x2fb)]==null)return;let _0x3dfe3d=this['_getCurrentRevision']();if(this[_0x8adeab(0x2fb)]<=_0x3dfe3d)throw Error(_0x8adeab(0xbe)+this[_0x8adeab(0x2fb)]+'.');this[_0x8adeab(0x2fb)]===_0x3dfe3d+0x1&&this[_0x8adeab(0x3a1)]();}[_0x3c7add(0x3a1)](){const _0x43a641=_0x3c7add;this['_incrementRevisionNumber'](),this[_0x43a641(0x216)]=null,this[_0x43a641(0x2fb)]=null;}[_0x3c7add(0x284)](_0x2f128a){const _0x30c22a=_0x3c7add;let _0x9e7544=this['_awaitingChangeset'];return!_0x9e7544||!_0x9e7544['sid']||_0x9e7544['reqId']===null||_0x9e7544['reqId']===void 0x0?!0x1:_0x2f128a[_0x30c22a(0x11a)]===_0x9e7544[_0x30c22a(0x11a)]&&_0x2f128a[_0x30c22a(0x30a)]===_0x9e7544[_0x30c22a(0x30a)]&&_0x2f128a[_0x30c22a(0x3ba)]===_0x9e7544[_0x30c22a(0x3ba)];}['resend'](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3c7add(0x1a5)](_0x3d7ea6){const _0x3da293=_0x3c7add;return this[_0x3da293(0x1dd)]['push'](_0x3d7ea6),this;}['onRemoteChangeset'](_0x3bfae8){const _0xd8376c=_0x3c7add;return this[_0xd8376c(0xd7)][_0xd8376c(0x26e)](_0x3bfae8),this;}[_0x3c7add(0x2d4)](_0x486ef2){const _0x4d7284=_0x3c7add;if(this['_awaitingChangeset']){let _0x274584=this[_0x4d7284(0x118)]();return _0x486ef2[_0x4d7284(0x2e5)]<=_0x274584||(_0x274584+0x1===_0x486ef2['revision']?(this[_0x4d7284(0x3b5)](),this['_awaitingChangeset']=null,this[_0x4d7284(0x2fb)]=null):this[_0x4d7284(0x2fb)]=_0x486ef2[_0x4d7284(0x2e5)]),this;}if(_0x486ef2[_0x4d7284(0x2e5)]<=this[_0x4d7284(0x118)]())return this;throw Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x2c882c){const _0x170304=_0x3c7add;return this['_onConflict'](!!(_0x2c882c!=null&&_0x2c882c[_0x170304(0x14b)]));}[_0x3c7add(0x1ad)](){return this;}[_0x3c7add(0x239)](){const _0x5800bb=_0x3c7add;return this[_0x5800bb(0x37b)][_0x5800bb(0x242)](_0x405ee9,this[_0x5800bb(0x11a)],this['type'],this[_0x5800bb(0x216)],this[_0x5800bb(0x1dd)],this[_0x5800bb(0x168)]);}[_0x3c7add(0x1ac)](){return this;}[_0x3c7add(0x254)](_0x9f65f6){const _0x486d12=_0x3c7add;return this[_0x486d12(0x37b)][_0x486d12(0x242)](_0x2cb513,this['unitID'],this[_0x486d12(0x3c8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x486d12(0x168)],_0x9f65f6);}};_0x47f959=_0x38f352([_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x8,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5['IUndoRedoService']),_0x78c766(0xc,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x47f959);function _0x84b430(_0x21dae5,_0x4432de,_0x5a0237,_0x4c5e36,_0x8921c4,_0x4992dd){const _0x345f4a=_0x3c7add;return _0x4c5e36&&_0x8921c4[_0x345f4a(0x3a4)]?_0x21dae5['createInstance'](_0x2a0e64,_0x4432de,_0x5a0237,_0x4c5e36,_0x8921c4,_0x4992dd,void 0x0):_0x4c5e36?_0x21dae5[_0x345f4a(0x242)](_0x441552,_0x4432de,_0x5a0237,_0x4c5e36,_0x4992dd):_0x8921c4[_0x345f4a(0x3a4)]?_0x21dae5[_0x345f4a(0x242)](_0x2c2e17,_0x4432de,_0x5a0237,_0x8921c4,_0x4992dd):_0x21dae5[_0x345f4a(0x242)](_0x2168a9,_0x4432de,_0x5a0237,_0x4992dd);}let _0x137310=class extends _0x4f2fc5[_0x3c7add(0x145)]{get[_0x3c7add(0x14f)](){const _0x3d4c94=_0x3c7add;return this[_0x3d4c94(0x39d)];}constructor(_0x45063b,_0x31e4ed,_0x5168a6,_0x1d547a,_0x2d281f,_0x122c28,_0xb399bb,_0x3197f1,_0xe0df2,_0x3bd4a3,_0x1e1f82,_0x4f0249,_0x5df73f,_0xab36d8){const _0xe2761d=_0x3c7add;super(),this[_0xe2761d(0x11a)]=_0x45063b,this[_0xe2761d(0x230)]=_0x31e4ed,this['_type']=_0x5168a6,this[_0xe2761d(0x37b)]=_0x1d547a,this[_0xe2761d(0x18c)]=_0x2d281f,this[_0xe2761d(0x23b)]=_0x122c28,this[_0xe2761d(0x39e)]=_0xb399bb,this[_0xe2761d(0x101)]=_0x3197f1,this[_0xe2761d(0x243)]=_0xe0df2,this[_0xe2761d(0x10b)]=_0x3bd4a3,this['_commandService']=_0x1e1f82,this['_permissionService']=_0x4f0249,this[_0xe2761d(0x129)]=_0x5df73f,this[_0xe2761d(0x12a)]=_0xab36d8,_0x45730e(this,_0xe2761d(0x3ce),new _0x196a42[(_0xe2761d(0x2cc))](null)),_0x45730e(this,'state$',this[_0xe2761d(0x3ce)][_0xe2761d(0xc6)]()),_0x45730e(this,_0xe2761d(0x39d),void 0x0),_0x45730e(this,_0xe2761d(0x212),!0x1),_0x45730e(this,_0xe2761d(0x3d0),''),_0x45730e(this,_0xe2761d(0xec),0x0),_0x45730e(this,_0xe2761d(0xe3),this[_0xe2761d(0x2cb)][_0xe2761d(0x397)]((0x0,_0x196a42[_0xe2761d(0x192)])(_0x52f2fe=>_0x52f2fe?_0x52f2fe[_0xe2761d(0x1a2)]:_0xe2761d(0x18f)),(0x0,_0x196a42[_0xe2761d(0x34f)])({'bufferSize':0x1,'refCount':!0x0}))),_0x45730e(this,_0xe2761d(0x13c),!0x1),_0x45730e(this,_0xe2761d(0x304),[]);}async[_0x3c7add(0x19f)](){const _0x82490b=_0x3c7add;if(this[_0x82490b(0x14f)])throw Error(_0x82490b(0x271));await this[_0x82490b(0x37a)]();}['pauseCollaboration'](){const _0x4f6155=_0x3c7add;return this[_0x4f6155(0x212)]=!0x0,(0x0,_0x4f2fc5[_0x4f6155(0x164)])(()=>{const _0x591ecf=_0x4f6155;this[_0x591ecf(0x212)]=!0x1,this[_0x591ecf(0x377)]();});}[_0x3c7add(0x3db)](_0x525f5a){const _0x1c7483=_0x3c7add;this[_0x1c7483(0x18a)](_0x525f5a);}[_0x3c7add(0x23c)](_0x5b8f89){const _0x589450=_0x3c7add;this['_state']=_0x5b8f89,this['_state$'][_0x589450(0x232)](_0x5b8f89);}async[_0x3c7add(0x37a)](){const _0x550366=_0x3c7add;if(this[_0x550366(0x23c)](await this[_0x550366(0xc7)]()),this['_singleActiveUnitService']){var _0x32cd72;(_0x32cd72=this[_0x550366(0x129)])==null||_0x32cd72[_0x550366(0x1c3)](this[_0x550366(0x11a)]),this[_0x550366(0x3b1)](this[_0x550366(0x129)]['getUnitStatus$'](this[_0x550366(0x11a)])[_0x550366(0x237)](_0x32f5e4=>{const _0x26b6db=_0x550366;this[_0x26b6db(0x10b)][_0x26b6db(0x2ec)](_0x26b6db(0x363),_0x26b6db(0xce),_0x32f5e4),_0x32f5e4===0x1?(this[_0x26b6db(0x101)]['emitEvent']({'id':_0x26b6db(0x3bf)}),this[_0x26b6db(0x1cb)]['updatePermissionPoint'](new _0x575377[(_0x26b6db(0x2e7))](this['unitID'])['id'],!0x1),this[_0x26b6db(0x1cb)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x26b6db(0x251)](new _0x575377[(_0x26b6db(0x2e7))](this[_0x26b6db(0x11a)])['id'],!0x0),this['_permissionService'][_0x26b6db(0x36e)](!0x0));}));}let _0x18cbfe=!0x1;return this['disposeWithMe'](this[_0x550366(0x230)][_0x550366(0x188)]['subscribe'](_0x52a1ba=>{const _0x3bd7ad=_0x550366;_0x52a1ba===0x3?this[_0x3bd7ad(0x209)](_0x18cbfe):_0x52a1ba===0x2&&(_0x18cbfe=!0x0,this[_0x3bd7ad(0x3e0)]());})),this[_0x550366(0x3b1)](this[_0x550366(0x230)][_0x550366(0x211)][_0x550366(0x237)](_0x361f3e=>{const _0x1d32b=_0x550366;try{switch(_0x361f3e[_0x1d32b(0x1ff)]){case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x203)]:this['_onRemoteChangeset']((0x0,_0x597ddf['parseProtocolChangeset'])(_0x361f3e['data']));break;case _0x597ddf[_0x1d32b(0xf9)]['CHANGESET_ACK']:this['_onRemoteACK'](_0x361f3e['data']);break;case _0x597ddf[_0x1d32b(0xf9)]['CHANGESET_REJ']:this[_0x1d32b(0xbc)]();break;case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x2ac)]:this[_0x1d32b(0x3aa)](_0x361f3e['data']);break;case _0x597ddf[_0x1d32b(0xf9)]['PSEUDO_FETCH_MISSING_RESULT']:this[_0x1d32b(0x277)](_0x361f3e[_0x1d32b(0x37e)][_0x1d32b(0x1a8)][_0x1d32b(0x192)](_0xf51bed=>(0x0,_0x597ddf[_0x1d32b(0x266)])(_0xf51bed)));break;case _0x597ddf[_0x1d32b(0xf9)]['PERMISSION_REJ']:this[_0x1d32b(0xbc)]({'isPermissionRej':!0x0});break;case _0x597ddf[_0x1d32b(0xf9)][_0x1d32b(0x1bd)]:break;}}catch(_0x26bc35){throw console['error'](_0x1d32b(0x1ef),_0x26bc35),_0x26bc35;}})),this[_0x550366(0x39d)];}[_0x3c7add(0x38e)](){const _0x2e043c=_0x3c7add;this[_0x2e043c(0x13c)]=!0x1;}[_0x3c7add(0x307)](){const _0x1589f8=_0x3c7add;if(this[_0x1589f8(0x13c)])throw Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x1589f8(0x13c)]=!0x0;}[_0x3c7add(0x18a)](_0xf0a0d1){const _0x2a82c9=_0x3c7add;this[_0x2a82c9(0x307)](),this['_updateState'](this[_0x2a82c9(0x39d)][_0x2a82c9(0x1a5)](_0xf0a0d1)),this['_unlockTransition']();}[_0x3c7add(0x259)](_0x5a30fe){const _0x5ea52b=_0x3c7add;if(!(_0x5a30fe[_0x5ea52b(0x2e5)]<=this[_0x5ea52b(0x39e)][_0x5ea52b(0x139)](this[_0x5ea52b(0x11a)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5a30fe);return;}this['_applyRemoteChangeset'](_0x5a30fe);}}['_exhaustRemoteChangesetQueue'](){const _0x5075bf=_0x3c7add;this[_0x5075bf(0x304)][_0x5075bf(0x253)](_0x5741e8=>this[_0x5075bf(0x279)](_0x5741e8)),this[_0x5075bf(0x304)]=[];}[_0x3c7add(0x279)](_0x514244){const _0x417379=_0x3c7add;let _0x6a0da2=this[_0x417379(0x18c)][_0x417379(0x2c1)][_0x417379(0x291)](this[_0x417379(0x18c)]['interceptor'][_0x417379(0x142)]()['COMPRESS_MUTATION_APPLY'])(_0x514244[_0x417379(0x1eb)],null)||_0x514244[_0x417379(0x1eb)],_0x130dca={..._0x514244,'mutations':_0x6a0da2};this[_0x417379(0x307)](),this[_0x417379(0x23c)](this[_0x417379(0x39d)]['onRemoteChangeset'](_0x130dca)),this[_0x417379(0x38e)]();}[_0x3c7add(0x1df)](_0x258ad0){const _0xc56dba=_0x3c7add;this[_0xc56dba(0x307)](),this[_0xc56dba(0x23c)](this[_0xc56dba(0x39d)]['onRemoteAck'](_0x258ad0)),this['_unlockTransition']();}[_0x3c7add(0xbc)](_0x3e1fc2){const _0x8ecebf=_0x3c7add;this[_0x8ecebf(0x307)](),this[_0x8ecebf(0x23c)](this[_0x8ecebf(0x39d)][_0x8ecebf(0x374)](_0x3e1fc2)),this[_0x8ecebf(0x38e)]();}[_0x3c7add(0x3aa)](_0x5efeed){const _0x42aea4=_0x3c7add;this['_lockTransition'](),this[_0x42aea4(0x23c)](this[_0x42aea4(0x39d)][_0x42aea4(0x1ad)](_0x5efeed)),this['_unlockTransition']();}[_0x3c7add(0x277)](_0x1bdbc5){const _0x250580=_0x3c7add;if(!(this[_0x250580(0x39d)]instanceof _0x47f959))throw TypeError(_0x250580(0x28b));let _0x59c0f3=_0x1bdbc5[_0x250580(0x192)](_0x2feb4e=>{const _0x1e320e=_0x250580;let _0x949501=this['_compressMutationService'][_0x1e320e(0x2c1)][_0x1e320e(0x291)](this[_0x1e320e(0x18c)][_0x1e320e(0x2c1)][_0x1e320e(0x142)]()[_0x1e320e(0x15b)])(_0x2feb4e['mutations'],null)||_0x2feb4e[_0x1e320e(0x1eb)];return{..._0x2feb4e,'mutations':_0x949501};});this[_0x250580(0x307)](),this[_0x250580(0x23c)](this['_state'][_0x250580(0x1af)](_0x59c0f3)),this['_unlockTransition']();}[_0x3c7add(0x3e0)](){const _0x250f0b=_0x3c7add;this[_0x250f0b(0x307)](),this[_0x250f0b(0x23c)](this[_0x250f0b(0x39d)][_0x250f0b(0x239)]()),this[_0x250f0b(0x38e)]();}[_0x3c7add(0x209)](_0xde0a21=!0x1){const _0x5ba368=_0x3c7add;this[_0x5ba368(0x307)](),this[_0x5ba368(0x23c)](this['_state']['toggleOnline']()),this[_0x5ba368(0x38e)]();let _0x335afe=this[_0x5ba368(0x39d)];_0xde0a21&&_0x335afe instanceof _0x2168a9&&(this['_lockTransition'](),this[_0x5ba368(0x23c)](_0x335afe[_0x5ba368(0x10c)]()),this['_unlockTransition']());}async[_0x3c7add(0xc7)](){return new Promise(_0x6f60e7=>{const _0x5698b3=_0x4364;this['session'][_0x5698b3(0x188)]['pipe']((0x0,_0x196a42[_0x5698b3(0x2a7)])(0x1))['subscribe'](async _0x41930d=>{const _0x16fd0b=_0x5698b3;_0x6f60e7(await this[_0x16fd0b(0x200)](_0x41930d===0x3));});});}[_0x3c7add(0x28c)](){const _0x371222=_0x3c7add;let _0x3170a6=this[_0x371222(0x11a)];return{'onStateChange':(_0x369807,_0x276a6b)=>{const _0xd089d5=_0x371222;if(_0x369807!==this[_0xd089d5(0x39d)])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x369807[_0xd089d5(0x1a2)]+_0xd089d5(0xe9)+_0x276a6b[_0xd089d5(0x1a2)]+_0xd089d5(0x398)+this['_state'][_0xd089d5(0x1a2)]);this[_0xd089d5(0x23c)](_0x276a6b);},'onSendChangeset':_0x5d3650=>{const _0x1b8cef=_0x371222;_0x5d3650[_0x1b8cef(0x30a)]||(_0x5d3650[_0x1b8cef(0x30a)]=this['_changesetSessionId'],_0x5d3650[_0x1b8cef(0x3ba)]=++this['_changesetReqId']);let _0x544adb={'eventID':_0x597ddf[_0x1b8cef(0xf9)][_0x1b8cef(0x375)],'data':{'unitID':_0x5d3650[_0x1b8cef(0x11a)],'unitType':this[_0x1b8cef(0x33e)],'changeset':_0x5d3650,'memberID':this[_0x1b8cef(0x230)][_0x1b8cef(0xdd)]()}};this[_0x1b8cef(0x230)]['send'](_0x544adb,this[_0x1b8cef(0x11a)]);},'onMissingChangesets':({from:_0x32e8b0,to:_0x16a7b6})=>{const _0x231238=_0x371222;this[_0x231238(0x10b)][_0x231238(0x2ec)](_0x231238(0x363),_0x231238(0x151)+_0x32e8b0+'\x20to\x20'+_0x16a7b6);let _0x23bce6={'eventID':_0x597ddf[_0x231238(0xf9)]['FETCH_MISSING'],'data':{'unitID':_0x3170a6,'unitType':this[_0x231238(0x33e)],'from':_0x32e8b0,'to':_0x16a7b6}};this[_0x231238(0x230)][_0x231238(0x19b)](_0x23bce6,this['unitID']);}};}async['_createInitialStateImpl'](_0x1bb34a){const _0x2d635c=_0x3c7add;var _0x381645,_0xc7ec9c,_0x3b55c4;let _0xfe4d1b=await((_0x381645=this[_0x2d635c(0x12a)])==null?void 0x0:_0x381645[_0x2d635c(0x20c)](this['unitID'])),_0x5b9780=(_0xc7ec9c=_0xfe4d1b==null?void 0x0:_0xfe4d1b[_0x2d635c(0x1eb)])==null?[]:_0xc7ec9c,_0xbafdf=(_0x3b55c4=_0xfe4d1b==null?void 0x0:_0xfe4d1b[_0x2d635c(0x27a)])==null?null:_0x3b55c4,_0x511982=!!(_0xbafdf!=null&&_0xbafdf[_0x2d635c(0x30a)])&&!!(_0xbafdf!=null&&_0xbafdf[_0x2d635c(0x3ba)]);this[_0x2d635c(0x3d0)]=_0x511982?_0xbafdf[_0x2d635c(0x30a)]:(0x0,_0x597ddf[_0x2d635c(0x252)])(),this['_changesetReqId']=_0x511982?_0xbafdf[_0x2d635c(0x3ba)]:0x0;let _0x583cfb=this[_0x2d635c(0x11a)];try{this[_0x2d635c(0x12d)](_0xbafdf,_0x5b9780);}catch(_0x28b78f){this['_logService'][_0x2d635c(0x1f0)](_0x28b78f);}let _0x2cba29=this[_0x2d635c(0x28c)]();if(_0x1bb34a){let _0xebeff0=_0x84b430(this[_0x2d635c(0x37b)],_0x583cfb,this[_0x2d635c(0x33e)],_0xbafdf,_0x5b9780,_0x2cba29);return _0xebeff0 instanceof _0x2c2e17?_0xebeff0[_0x2d635c(0x179)]():(_0xebeff0 instanceof _0x2a0e64||_0xebeff0 instanceof _0x441552)&&_0xebeff0['resend'](),_0xebeff0;}return this[_0x2d635c(0x37b)]['createInstance'](_0x405ee9,_0x583cfb,this[_0x2d635c(0x33e)],_0xbafdf,_0x5b9780,_0x2cba29);}[_0x3c7add(0x12d)](_0x5e3764,_0x515d82){const _0x3fa90f=_0x3c7add;var _0x3d92f7,_0x4fa22e;let _0x54f379=this[_0x3fa90f(0x18c)][_0x3fa90f(0x2c1)][_0x3fa90f(0x291)](this[_0x3fa90f(0x18c)][_0x3fa90f(0x2c1)]['getInterceptPoints']()[_0x3fa90f(0x15b)]);(_0x3d92f7=_0x54f379((_0x5e3764==null?void 0x0:_0x5e3764[_0x3fa90f(0x1eb)])||[],null))==null||_0x3d92f7[_0x3fa90f(0x253)](_0x5bdf96=>this[_0x3fa90f(0x111)][_0x3fa90f(0x313)](_0x5bdf96['id'],_0x5bdf96[_0x3fa90f(0xdb)])),(_0x4fa22e=_0x54f379(_0x515d82||[],null))==null||_0x4fa22e[_0x3fa90f(0x253)](_0x50ae4c=>this[_0x3fa90f(0x111)]['executeCommand'](_0x50ae4c['id'],_0x50ae4c[_0x3fa90f(0xdb)]));}};_0x137310=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x4,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x29d)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x3b2)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5['Inject'])(_0x20d828)),_0x78c766(0x8,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x1c4)]),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x137310);let _0x44307b=class extends _0x137310{constructor(_0x10029a,_0x530660,_0x40a73c,_0x565885,_0x480c2b,_0x127100,_0x42d6bd,_0x654f10,_0x32564f,_0x5575c5,_0x20dff7,_0x576204,_0x4ecc62,_0x133d75){const _0x50ca4f=_0x3c7add;super(_0x10029a,_0x40a73c,_0x530660,_0x565885,_0x480c2b,_0x127100,_0x42d6bd,_0x654f10,_0x32564f,_0x5575c5,_0x20dff7,_0x576204,_0x4ecc62,_0x133d75),this[_0x50ca4f(0x11a)]=_0x10029a,this[_0x50ca4f(0x3c8)]=_0x530660,_0x45730e(this,_0x50ca4f(0x269),null);}[_0x3c7add(0x19a)](_0x172707){const _0x197fae=_0x3c7add;this[_0x197fae(0x269)]=_0x172707;}[_0x3c7add(0x202)](){const _0x84be95=_0x3c7add;this[_0x84be95(0x269)]=null,super[_0x84be95(0x202)]();}[_0x3c7add(0x28c)](){const _0x2be530=_0x3c7add;let _0x2292eb=super[_0x2be530(0x28c)]();return _0x2292eb['onTransformIME']=_0x4f75a3=>{const _0x1e4022=_0x2be530;var _0x15e5e0,_0x1cd9f5;return(_0x15e5e0=this[_0x1e4022(0x269)])==null||(_0x1cd9f5=_0x15e5e0[_0x1e4022(0x320)])==null?void 0x0:_0x1cd9f5['call'](_0x15e5e0,_0x4f75a3);},_0x2292eb[_0x2be530(0x346)]=_0x20d27b=>{const _0x1e5c8e=_0x2be530;var _0x76c626,_0x12e4c3;return(_0x76c626=this[_0x1e5c8e(0x269)])==null||(_0x12e4c3=_0x76c626[_0x1e5c8e(0x346)])==null?void 0x0:_0x12e4c3[_0x1e5c8e(0x3bb)](_0x76c626,_0x20d27b);},_0x2292eb['onTransformSelections']=_0x3ceb8e=>{const _0x553b06=_0x2be530;var _0xcd4ef3,_0x24ea5c;return(_0xcd4ef3=this[_0x553b06(0x269)])==null||(_0x24ea5c=_0xcd4ef3[_0x553b06(0x2cd)])==null?void 0x0:_0x24ea5c[_0x553b06(0x3bb)](_0xcd4ef3,_0x3ceb8e);},_0x2292eb['onSyncEditingCollabCursor']=_0x1f66d3=>{const _0x5cca6b=_0x2be530;var _0xdea120,_0x12a53c;return(_0xdea120=this[_0x5cca6b(0x269)])==null||(_0x12a53c=_0xdea120['onSyncEditingCollabCursor'])==null?void 0x0:_0x12a53c[_0x5cca6b(0x3bb)](_0xdea120,_0x1f66d3);},_0x2292eb[_0x2be530(0x181)]=_0x13f0f2=>{const _0x490cd5=_0x2be530;var _0x16f9f6,_0x1fe370,_0x42e4b7;if(!((_0x16f9f6=this[_0x490cd5(0x269)])!=null&&_0x16f9f6[_0x490cd5(0x181)]))throw Error(_0x490cd5(0x3bd));return(_0x1fe370=this[_0x490cd5(0x269)])==null||(_0x42e4b7=_0x1fe370['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x42e4b7[_0x490cd5(0x3bb)](_0x1fe370,_0x13f0f2);},_0x2292eb[_0x2be530(0x1f2)]=_0x45ef26=>{const _0x260e2a=_0x2be530;var _0x2e6fd2,_0xffccde,_0x24c8d4;if(!((_0x2e6fd2=this['_handlerCallback'])!=null&&_0x2e6fd2[_0x260e2a(0x1f2)]))throw Error(_0x260e2a(0x2ef));return(_0xffccde=this[_0x260e2a(0x269)])==null||(_0x24c8d4=_0xffccde[_0x260e2a(0x1f2)])==null?void 0x0:_0x24c8d4[_0x260e2a(0x3bb)](_0xffccde,_0x45ef26);},_0x2292eb;}async['_init'](){const _0x526ea4=_0x3c7add;let _0x37951f=await super[_0x526ea4(0x37a)]();return this[_0x526ea4(0x3b1)](this[_0x526ea4(0x111)][_0x526ea4(0x2b2)]((_0xecf72d,_0x129bac)=>{const _0x57dbf4=_0x526ea4;if(_0xecf72d['type']!==_0x4f2fc5['CommandType'][_0x57dbf4(0x105)]||_0x129bac!=null&&_0x129bac['fromCollab']||_0x129bac!=null&&_0x129bac['onlyLocal']||_0xecf72d['id']===_0x37b785[_0x57dbf4(0x383)]['id'])return;let _0x130d23=_0xecf72d['params'];if((_0x130d23==null?void 0x0:_0x130d23[_0x57dbf4(0x225)])!==this[_0x57dbf4(0x11a)])return;let _0x3b3985=_0xecf72d,_0x25a3f2=this[_0x57dbf4(0x18c)][_0x57dbf4(0x2c1)][_0x57dbf4(0x291)](this[_0x57dbf4(0x18c)][_0x57dbf4(0x2c1)]['getInterceptPoints']()[_0x57dbf4(0x2fe)])([_0x3b3985],this['_univerInstanceService'])||[_0x3b3985];this[_0x57dbf4(0x18a)](_0x25a3f2[0x0]);})),_0x37951f;}};_0x44307b=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x29d)])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x3b2)])),_0x78c766(0x6,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5['Inject'])(_0x20d828)),_0x78c766(0x8,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xb,_0x4f2fc5['IPermissionService']),_0x78c766(0xc,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xd,(0x0,_0x4f2fc5['Optional'])(_0x54dcc4))],_0x44307b);let _0xb49add=class extends _0x137310{constructor(_0x49cdc8,_0x11bd71,_0x423053,_0x12be70,_0x4eef49,_0x51aae5,_0x28e1a9,_0xfb1eff,_0x2d0cb4,_0x2d2809,_0x4f70a3,_0x2a4415,_0x3a0d12,_0x2aaf54,_0x2df6c3){const _0xc12b5f=_0x3c7add;super(_0x49cdc8,_0x423053,_0x11bd71,_0x12be70,_0x4eef49,_0x51aae5,_0x28e1a9,_0x2d0cb4,_0x2d2809,_0x4f70a3,_0x2a4415,_0x3a0d12,_0x2aaf54,_0x2df6c3),this[_0xc12b5f(0x11a)]=_0x49cdc8,this[_0xc12b5f(0x3c8)]=_0x11bd71,this[_0xc12b5f(0x195)]=_0xfb1eff;}['_createHandler'](){const _0x40dce6=_0x3c7add;let _0x513311=super[_0x40dce6(0x28c)]();return _0x513311['onTransformSelections']=_0xc14c0=>this[_0x40dce6(0x195)]['transformSelections'](_0xc14c0),_0x513311;}async['_init'](){const _0x243d95=_0x3c7add;let _0x1f35d5=await super[_0x243d95(0x37a)]();return this[_0x243d95(0x3b1)](this[_0x243d95(0x111)][_0x243d95(0x2b2)]((_0x44d983,_0x4d07ee)=>{const _0x1db350=_0x243d95;if(_0x44d983[_0x1db350(0x3c8)]!==_0x4f2fc5['CommandType'][_0x1db350(0x105)]||_0x4d07ee!=null&&_0x4d07ee[_0x1db350(0x337)]||_0x4d07ee!=null&&_0x4d07ee[_0x1db350(0x176)])return;let _0x399c2c=_0x44d983['params'];if((_0x399c2c==null?void 0x0:_0x399c2c[_0x1db350(0x225)])!==this[_0x1db350(0x11a)])return;let _0x284bb1=_0x44d983,_0x349acb=this[_0x1db350(0x18c)]['interceptor'][_0x1db350(0x291)](this['_compressMutationService'][_0x1db350(0x2c1)]['getInterceptPoints']()[_0x1db350(0x2fe)])([_0x284bb1],this[_0x1db350(0x243)])||[_0x284bb1];this['_onLocalMutation'](_0x349acb[0x0]);})),_0x1f35d5;}};_0xb49add=_0x38f352([_0x78c766(0x3,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x4,(0x0,_0x4f2fc5['Inject'])(_0x597ddf['CompressMutationService'])),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['LocaleService'])),_0x78c766(0x6,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x261)])),_0x78c766(0x7,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x479f64)),_0x78c766(0x8,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x9,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0xa,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0xb,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0xc,_0x4f2fc5['IPermissionService']),_0x78c766(0xd,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x546860)),_0x78c766(0xe,(0x0,_0x4f2fc5['Optional'])(_0x54dcc4))],_0xb49add);let _0x5984c8=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0x2f5));function _0x3e0e79(_0x242970){const _0x445c9c=_0x3c7add;let _0x49ecb3=_0x242970[_0x445c9c(0x37e)],_0x2d0ed8=JSON[_0x445c9c(0x310)](_0x49ecb3);switch(_0x2d0ed8[_0x445c9c(0x270)]){case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x3b0)]:case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x37f)]:{let _0x1072e8=_0x2d0ed8[_0x445c9c(0x24c)];return{..._0x2d0ed8,'data':_0x1072e8,'cmd':_0x2d0ed8[_0x445c9c(0x270)]};}case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x2ee)]:{let _0x48d8d1=_0x2d0ed8[_0x445c9c(0x20a)];return{..._0x2d0ed8,'data':_0x48d8d1,'cmd':_0x2d0ed8['cmd']};}case _0x121aa6[_0x445c9c(0x31e)][_0x445c9c(0x1ea)]:{let _0x347dc2=_0x2d0ed8[_0x445c9c(0xba)];switch(_0x347dc2[_0x445c9c(0x1ff)]){case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x2de)]:var _0x5ac23c;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x5ac23c=_0x347dc2[_0x445c9c(0x16f)])==null?void 0x0:_0x5ac23c['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)]['CHANGESET_ACK']:var _0x275506;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x275506=_0x347dc2[_0x445c9c(0x3d6)])==null?void 0x0:_0x275506['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x203)]:var _0x2536ea;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x2536ea=_0x347dc2[_0x445c9c(0x372)])==null?void 0x0:_0x2536ea['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0xfa)]:var _0x52e789;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x52e789=_0x347dc2[_0x445c9c(0x3b8)])==null?void 0x0:_0x52e789['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x2ac)]:var _0x28461c;return{..._0x2d0ed8,'data':{..._0x347dc2,'data':(_0x28461c=_0x347dc2[_0x445c9c(0x297)])==null?void 0x0:_0x28461c['cs']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x10e)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x34e)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x25b)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2['joinEvent']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x121)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x2c9)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x1d3)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2['liveShareNewHost']},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf['CollaborationEvent'][_0x445c9c(0x2d3)]:case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x169)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x1f8)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x30d)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x294)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0xc3)]:return{..._0x2d0ed8,'data':_0x347dc2,'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x311)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x2a8)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)][_0x445c9c(0x1dc)]:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0xcb)]},'cmd':_0x2d0ed8[_0x445c9c(0x270)]};case _0x597ddf[_0x445c9c(0xf9)]['SHOULD_CLOSE_CONN']:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x247)]},'cmd':_0x2d0ed8['cmd']};case _0x597ddf[_0x445c9c(0xf9)]['UNISCRIPT_RUN']:return{..._0x2d0ed8,'data':{..._0x347dc2,'data':_0x347dc2[_0x445c9c(0x1e6)]},'cmd':_0x2d0ed8['cmd']};default:return _0x2d0ed8;}}default:return _0x2d0ed8;}}function _0x14d4cf(_0x35052d){const _0x568148=_0x3c7add;switch(_0x35052d[_0x568148(0x270)]){case _0x121aa6[_0x568148(0x31e)]['HEARTBEAT']:case _0x121aa6[_0x568148(0x31e)][_0x568148(0x37f)]:return JSON[_0x568148(0x265)]({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d[_0x568148(0x124)]});case _0x121aa6[_0x568148(0x31e)]['INGEST']:{let _0x4c6875;switch(_0x35052d['data'][_0x568148(0x1ff)]){case _0x597ddf[_0x568148(0xf9)][_0x568148(0x10e)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)][_0x568148(0x10e)],'updateCursorEvent':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf['CollaborationEvent'][_0x568148(0x121)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x121)],'leaveEvent':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf[_0x568148(0xf9)]['USERS_ENTER']:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x25b)],'joinEvent':_0x35052d['data'][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x1d3)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)][_0x568148(0x1d3)],'liveShareNewHost':_0x35052d[_0x568148(0x37e)][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x169)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x169)],'liveShareOperation':_0x35052d[_0x568148(0x37e)]['data']};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x30d)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x35052d['data']['data']};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x11d)]:_0x4c6875={'eventID':_0x597ddf[_0x568148(0xf9)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x35052d[_0x568148(0x37e)][_0x568148(0x37e)]};break;case _0x597ddf[_0x568148(0xf9)][_0x568148(0x2d3)]:_0x4c6875={'eventID':_0x597ddf['CollaborationEvent'][_0x568148(0x2d3)]};break;default:_0x4c6875={'eventID':_0x35052d['data'][_0x568148(0x1ff)]};}return JSON['stringify']({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d['routeKey'],'collaMsg':_0x4c6875});}case _0x121aa6['CombCmd']['JOIN']:return JSON[_0x568148(0x265)]({'cmd':_0x35052d[_0x568148(0x270)],'routeKey':_0x35052d['routeKey'],'joinReq':_0x35052d[_0x568148(0x37e)]});case _0x121aa6[_0x568148(0x31e)]['LEAVE']:return JSON[_0x568148(0x265)]({'cmd':_0x35052d['cmd'],'routeKey':_0x35052d[_0x568148(0x124)],'leaveReq':_0x35052d[_0x568148(0x37e)]});default:throw Error(_0x568148(0x152));}}let _0x2a6fcc=(0x0,_0x4f2fc5[_0x3c7add(0x267)])(_0x3c7add(0xf4));function _0x3793af(_0x5c2963,_0x5da71a,_0x20b05b){const _0x49e4ca=_0x3c7add;return _0x5c2963+'/'+_0x5da71a+_0x49e4ca(0x221)+_0x20b05b+_0x49e4ca(0x30b);}let _0x3d275e=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x55c490,_0x2456df,_0x53b2c0,_0x12be80,_0x413a9b){const _0x275b85=_0x3c7add;super(),this[_0x275b85(0x37b)]=_0x55c490,this['_httpService']=_0x2456df,this[_0x275b85(0x33c)]=_0x53b2c0,this[_0x275b85(0x10b)]=_0x12be80,this[_0x275b85(0x10a)]=_0x413a9b;}[_0x3c7add(0x263)](_0x4c2576){const _0x5f38b3=_0x3c7add;let _0x49cac4=this[_0x5f38b3(0x37b)]['get'](_0x4fa7e8[_0x5f38b3(0x148)]);if(!_0x49cac4)throw Error(_0x5f38b3(0x117));let _0x4b02d1=_0x49cac4[_0x5f38b3(0x15e)](_0x4c2576);if(!_0x4b02d1)throw Error(_0x5f38b3(0x281));let _0x16b2de=new _0x4f2fc5[(_0x5f38b3(0x12b))](),_0x5c0da9=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de[_0x5f38b3(0x32a)](_0x4b02d1[_0x5f38b3(0x113)]['subscribe'](_0x430085=>_0x5c0da9[_0x5f38b3(0x232)](_0x430085))),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x5c0da9[_0x5f38b3(0x2fd)]()));let _0x88b6f3=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de[_0x5f38b3(0x32a)](_0x4b02d1[_0x5f38b3(0x1bc)][_0x5f38b3(0x237)](_0x242a5c=>_0x88b6f3[_0x5f38b3(0x232)](_0x242a5c))),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x88b6f3['complete']()));let _0x4fe0aa=new _0x196a42[(_0x5f38b3(0x274))]();_0x16b2de['add'](_0x4b02d1[_0x5f38b3(0x31b)][_0x5f38b3(0x237)](_0x15af2b=>{let _0x1530d1=_0x3e0e79(_0x15af2b);_0x4fe0aa['next'](_0x1530d1);})),_0x16b2de[_0x5f38b3(0x32a)]((0x0,_0x4f2fc5[_0x5f38b3(0x164)])(()=>_0x4fe0aa['complete']()));let _0x20d8b5,_0x25de0c=()=>{const _0x187d93=_0x5f38b3;_0x88b6f3[_0x187d93(0x232)](new Event(_0x187d93(0x20b))),_0x5c0da9[_0x187d93(0x232)](new Event(_0x187d93(0x20b))),_0x20d8b5['close']();};return _0x20d8b5={'memberID':'','close$':_0x5c0da9[_0x5f38b3(0xc6)](),'error$':_0x88b6f3[_0x5f38b3(0xc6)](),'open$':_0x4b02d1['open$'],'message$':_0x4fe0aa[_0x5f38b3(0xc6)](),'send':_0xb2a1c=>{const _0x4b91a1=_0x5f38b3;if(_0xb2a1c[_0x4b91a1(0x270)]===_0x121aa6[_0x4b91a1(0x31e)][_0x4b91a1(0x132)]){if(_0xb2a1c[_0x4b91a1(0x37e)]['eventID']===_0x597ddf[_0x4b91a1(0xf9)]['SUBMIT_CHANGESET']){this[_0x4b91a1(0x292)](_0x20d8b5,_0xb2a1c['data'])[_0x4b91a1(0x1cf)](_0x29d988=>{const _0x32a56b=_0x4b91a1;this[_0x32a56b(0x10b)][_0x32a56b(0x1f0)](_0x29d988),_0x25de0c();});return;}if(_0xb2a1c[_0x4b91a1(0x37e)][_0x4b91a1(0x1ff)]===_0x597ddf[_0x4b91a1(0xf9)][_0x4b91a1(0x1f4)]){let _0x37cf54=_0xb2a1c[_0x4b91a1(0x37e)];this[_0x4b91a1(0x327)](_0x37cf54)['then'](_0x1dbc33=>{const _0x45044b=_0x4b91a1;_0x4fe0aa[_0x45044b(0x232)]({'cmd':_0x121aa6[_0x45044b(0x31e)]['RECV'],'code':_0x121aa6[_0x45044b(0x3c2)]['OK'],'routeKey':_0x37cf54[_0x45044b(0x37e)][_0x45044b(0x11a)],'routeType':'','data':{'eventID':_0x597ddf[_0x45044b(0xf9)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1dbc33}}});})[_0x4b91a1(0x1cf)](_0x56bb99=>{const _0x5c469c=_0x4b91a1;this[_0x5c469c(0x10b)][_0x5c469c(0x1f0)](_0x56bb99),_0x25de0c();});return;}}_0x4b02d1[_0x4b91a1(0x19b)](_0x14d4cf(_0xb2a1c));},'close':()=>{const _0x5d01fe=_0x5f38b3;_0x4b02d1[_0x5d01fe(0x180)](),_0x16b2de[_0x5d01fe(0x202)]();}},_0x20d8b5;}async[_0x3c7add(0x292)](_0x44ea15,_0x39e1ea){const _0x150d69=_0x3c7add;var _0x5d4518;let {unitType:_0x3e6c95,unitID:_0x5ed177,changeset:_0x3179de}=_0x39e1ea['data'],_0x4d8a1a={'unitID':_0x5ed177,'memberID':_0x44ea15[_0x150d69(0x26c)],'type':_0x3e6c95,'changeset':(0x0,_0x597ddf[_0x150d69(0x35d)])(_0x3179de)},_0x2db35a=this[_0x150d69(0x33c)]['getConfig'](_0x11e35b),_0x1c347f=_0x3793af((_0x5d4518=_0x2db35a==null?void 0x0:_0x2db35a[_0x150d69(0x1ed)])==null?_0x150d69(0x217):_0x5d4518,_0x3e6c95,_0x5ed177);try{await this[_0x150d69(0x16a)][_0x150d69(0x3d8)](_0x1c347f,{'body':_0x4d8a1a});}catch(_0x5886a1){throw this[_0x150d69(0x10b)][_0x150d69(0x1f0)](_0x150d69(0x38c),_0x150d69(0x362)),_0x5886a1;}}async[_0x3c7add(0x327)](_0x151f77){const _0xc5707b=_0x3c7add;let {unitID:_0x14bcea,from:_0x3e9b16,to:_0x3031c0,unitType:_0x3cd102}=_0x151f77[_0xc5707b(0x37e)];return(await this[_0xc5707b(0x10a)][_0xc5707b(0x303)]({'metadata':void 0x0},{'unitID':_0x14bcea,'type':_0x3cd102,'from':_0x3e9b16,'to':_0x3031c0}))[_0xc5707b(0x1a8)]['map'](_0x50f455=>((_0x50f455['mutations']===null||_0x50f455['mutations']===void 0x0)&&(_0x50f455[_0xc5707b(0x1eb)]=[]),_0x50f455));}};_0x3d275e=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,(0x0,_0x4f2fc5['Inject'])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x4f2fc5['ILogService']),_0x78c766(0x4,_0x597ddf['ISnapshotServerService'])],_0x3d275e);let _0x5af92e=class extends _0x4f2fc5[_0x3c7add(0x210)]{get[_0x3c7add(0x1f1)](){const _0x556dcc=_0x3c7add;return this['_socket$'][_0x556dcc(0x2ae)]();}constructor(_0x28ef67,_0x45c9fd,_0x1c0f51,_0x40bbdd,_0x29e443,_0x56f733){const _0x3b0cf4=_0x3c7add;super(),this['_injector']=_0x28ef67,this[_0x3b0cf4(0x10b)]=_0x45c9fd,this[_0x3b0cf4(0x33c)]=_0x1c0f51,this[_0x3b0cf4(0x20d)]=_0x40bbdd,this[_0x3b0cf4(0x264)]=_0x29e443,this[_0x3b0cf4(0x2ce)]=_0x56f733,_0x45730e(this,'_socket$',new _0x196a42[(_0x3b0cf4(0x2cc))](void 0x0)),_0x45730e(this,_0x3b0cf4(0x2b8),this[_0x3b0cf4(0x1f9)][_0x3b0cf4(0xc6)]()),_0x45730e(this,_0x3b0cf4(0x205),null),_0x45730e(this,_0x3b0cf4(0x341),new Map()),_0x45730e(this,_0x3b0cf4(0x196),new _0x196a42[(_0x3b0cf4(0x2cc))](0x0)),_0x45730e(this,_0x3b0cf4(0xe3),this['_status$'][_0x3b0cf4(0xc6)]()),_0x45730e(this,_0x3b0cf4(0x272),!0x1),_0x45730e(this,_0x3b0cf4(0xe1),void 0x0),_0x45730e(this,'_retryCount',0x0),_0x45730e(this,_0x3b0cf4(0x235),null),_0x45730e(this,_0x3b0cf4(0x399),void 0x0),_0x45730e(this,_0x3b0cf4(0x355),void 0x0),this[_0x3b0cf4(0x13e)]();}['_listenToNetworkCondition'](){const _0x276157=_0x3c7add;this[_0x276157(0x2ce)]&&this[_0x276157(0x3b1)](this[_0x276157(0x2ce)]['online$'][_0x276157(0x237)](_0x47c50e=>{const _0x2d1078=_0x276157;_0x47c50e&&!this['_socket']&&this[_0x2d1078(0x109)](),_0x47c50e||this[_0x2d1078(0x3a6)]();}));}[_0x3c7add(0x202)](){const _0x395c48=_0x3c7add;var _0x40ebda;super[_0x395c48(0x202)](),(_0x40ebda=this[_0x395c48(0x235)])==null||_0x40ebda[_0x395c48(0x248)](),this[_0x395c48(0x235)]=null,this['_clearRetryConnectingTimer'](),this[_0x395c48(0x345)](),this[_0x395c48(0x136)](),this['_sessions'][_0x395c48(0x253)](_0x26e59b=>_0x26e59b['dispose']()),this['_sessions']['clear'](),this[_0x395c48(0x196)][_0x395c48(0x2fd)]();}async[_0x3c7add(0x249)](_0x52d6c4){const _0x3c0825=_0x3c7add;if(this[_0x3c0825(0x341)][_0x3c0825(0x22a)](_0x52d6c4))return this[_0x3c0825(0x341)][_0x3c0825(0x1fd)](_0x52d6c4);this[_0x3c0825(0x144)]();let _0x1de8d6=this[_0x3c0825(0x37b)]['createInstance'](_0x1d1b7a,_0x52d6c4,this['_socket$']['asObservable']());return this['_sessions']['set'](_0x52d6c4,_0x1de8d6),_0x1de8d6;}[_0x3c7add(0x32c)](_0x184629){const _0xbbc9ba=_0x3c7add;let _0x5422d7=this[_0xbbc9ba(0x341)][_0xbbc9ba(0x1fd)](_0x184629);if(_0x5422d7&&(this[_0xbbc9ba(0x341)][_0xbbc9ba(0x25a)](_0x184629),_0x5422d7[_0xbbc9ba(0x180)]()),!this[_0xbbc9ba(0x341)][_0xbbc9ba(0x2c3)]){var _0x2eab29;(_0x2eab29=this['_socket'])==null||_0x2eab29['close']();}}[_0x3c7add(0x109)](){const _0x57dc39=_0x3c7add;this[_0x57dc39(0x36a)]=0x0,this[_0x57dc39(0x381)](),this[_0x57dc39(0x19d)]();}[_0x3c7add(0x381)](){const _0x2f84a8=_0x3c7add;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2f84a8(0xe1)]),this[_0x2f84a8(0xe1)]=null);}async[_0x3c7add(0x285)](){const _0x56e107=_0x3c7add;var _0xd6198d;let _0x247529=this[_0x56e107(0x33c)][_0x56e107(0x1e1)](_0x11e35b),_0x2c5c71=(_0xd6198d=_0x247529==null?void 0x0:_0x247529[_0x56e107(0x34c)])==null?_0x40bad1:_0xd6198d,_0x1aeae3=await this[_0x56e107(0x20d)]['createSocket'](_0x2c5c71);return this['_candidateSocket']=_0x1aeae3,_0x1aeae3;}async[_0x3c7add(0x144)](){const _0x5953cc=_0x3c7add;try{var _0x648c01,_0x3af9ab;let _0x1d4a7e=(_0x648c01=(_0x3af9ab=this[_0x5953cc(0x1f1)])==null?this[_0x5953cc(0x205)]:_0x3af9ab)==null?await this[_0x5953cc(0x285)]():_0x648c01;if(_0x1d4a7e){var _0x5751bf;let _0x22910a=_0x1d4a7e[_0x5953cc(0x19b)];_0x1d4a7e[_0x5953cc(0x19b)]=_0xaa11f0=>(_0xaa11f0[_0x5953cc(0x270)]!==_0x121aa6[_0x5953cc(0x31e)][_0x5953cc(0xe8)]&&this[_0x5953cc(0x349)](),_0x22910a['apply'](_0x1d4a7e,[_0xaa11f0])),(_0x5751bf=this['_socketMessageSubscription'])==null||_0x5751bf[_0x5953cc(0x248)](),this['_socketMessageSubscription']=null,this['_socketMessageSubscription']=_0x1d4a7e[_0x5953cc(0x31b)][_0x5953cc(0x237)](_0x361ee9=>this[_0x5953cc(0x1c2)](_0x1d4a7e,_0x361ee9)),_0x1d4a7e[_0x5953cc(0x1bc)][_0x5953cc(0x397)]((0x0,_0x5c83a6['take'])(0x1))[_0x5953cc(0x237)](_0x36ddc4=>this[_0x5953cc(0x10b)]['error'](_0x5953cc(0x150),_0x36ddc4)),_0x1d4a7e[_0x5953cc(0x280)][_0x5953cc(0x397)]((0x0,_0x5c83a6['take'])(0x1))[_0x5953cc(0x237)](()=>{const _0x42e0b0=_0x5953cc;this[_0x42e0b0(0x234)](_0x1d4a7e);}),_0x1d4a7e[_0x5953cc(0x113)]['pipe']((0x0,_0x5c83a6[_0x5953cc(0x2a7)])(0x1))[_0x5953cc(0x237)](_0x43e0f3=>{const _0x36f05f=_0x5953cc;this[_0x36f05f(0x10b)][_0x36f05f(0x2ec)](_0x36f05f(0x23a),_0x36f05f(0x24d),_0x43e0f3),this[_0x36f05f(0x2bd)]();});}}catch(_0x4d876e){this[_0x5953cc(0x10b)][_0x5953cc(0x1f0)](_0x4d876e),this['_onConnectionFailed']();}}[_0x3c7add(0x234)](_0x4f1237){const _0x375c02=_0x3c7add;this[_0x375c02(0x10b)]['debug'](_0x375c02(0x23a),_0x375c02(0x27e)),_0x4f1237[_0x375c02(0x19b)]({'cmd':_0x121aa6[_0x375c02(0x31e)][_0x375c02(0x37f)]}),this[_0x375c02(0x349)]();}[_0x3c7add(0x3a6)](){const _0x24ac41=_0x3c7add;this[_0x24ac41(0x272)]=!0x1,this[_0x24ac41(0x205)]=null,this[_0x24ac41(0x196)][_0x24ac41(0x232)](0x2),this[_0x24ac41(0x1f9)]['next'](null),this['_clearTimeoutTimer'](),this[_0x24ac41(0x136)]();}['_onConnectionFailed'](){const _0x397400=_0x3c7add;var _0xaa8f57;this[_0x397400(0x3a6)](),this['_retryCount']<((_0xaa8f57=this['_configService'][_0x397400(0x1e1)](_0x397400(0x177)))==null?0x3:_0xaa8f57)?(this[_0x397400(0x264)][_0x397400(0x365)]({'id':'SOCKET_FAILED_RETRY'}),this[_0x397400(0x19d)]()):this['_collaborationUIEventService']['emitEvent']({'id':_0x397400(0x278)});}[_0x3c7add(0x19d)](){const _0x3a76ad=_0x3c7add;var _0x41943f;let _0x25f51b=this[_0x3a76ad(0x36a)],_0x5491a1=this[_0x3a76ad(0x33c)][_0x3a76ad(0x1e1)](_0x11e35b),_0x461f61=_0x25f51b===0x0?0x0:((_0x41943f=_0x5491a1==null?void 0x0:_0x5491a1[_0x3a76ad(0x1d1)])==null?0x4e20:_0x41943f)*0x2**_0x25f51b;this[_0x3a76ad(0xe1)]=setTimeout(()=>{const _0x2ea83b=_0x3a76ad;clearTimeout(this['_retryConnectingTimer']),this[_0x2ea83b(0xe1)]=null,this['_tryEnsureSocket']();},_0x461f61),this['_retryCount']+=0x1;}[_0x3c7add(0x1c2)](_0x432ce1,_0x3f9716){const _0x221b0e=_0x3c7add;let {cmd:_0x5db2a0}=_0x3f9716;_0x5db2a0===_0x121aa6[_0x221b0e(0x31e)]['HELLO']&&!this[_0x221b0e(0x272)]&&(_0x432ce1['memberID']=_0x3f9716['data'][_0x221b0e(0x26c)],this[_0x221b0e(0x1f9)]['next'](_0x432ce1),this[_0x221b0e(0x196)]['next'](0x3),this[_0x221b0e(0x272)]=!0x0,this[_0x221b0e(0x205)]=null),_0x5db2a0===_0x121aa6[_0x221b0e(0x31e)][_0x221b0e(0x3b0)]&&this['_clearTimeoutTimer'](),this[_0x221b0e(0x349)]();}['_rescheduleHeartbeat'](){const _0x24ff2e=_0x3c7add;var _0x33ef73;this[_0x24ff2e(0x136)](),this[_0x24ff2e(0x399)]=setTimeout(()=>this[_0x24ff2e(0x135)](),(_0x33ef73=this['_configService'][_0x24ff2e(0x1e1)]('HEARTBEAT_INTERVAL'))==null?0x7530:_0x33ef73);}[_0x3c7add(0x135)](){const _0x390646=_0x3c7add;this['_socket'][_0x390646(0x19b)]({'cmd':_0x121aa6['CombCmd'][_0x390646(0x3b0)]}),this[_0x390646(0x2d8)]();}['_waitForHeartbeatResponse'](){const _0x563af6=_0x3c7add;var _0x5044bb;this[_0x563af6(0x355)]=setTimeout(()=>this[_0x563af6(0x2bd)](),(_0x5044bb=this[_0x563af6(0x33c)][_0x563af6(0x1e1)](_0x563af6(0xf2)))==null?_0x887dad:_0x5044bb);}[_0x3c7add(0x136)](){const _0x49f15c=_0x3c7add;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x49f15c(0x399)]),this[_0x49f15c(0x399)]=null);}[_0x3c7add(0x345)](){const _0x4c20c5=_0x3c7add;this[_0x4c20c5(0x355)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x4c20c5(0x355)]=null);}};_0x5af92e=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x2a6fcc),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828)),_0x78c766(0x5,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x5984c8))],_0x5af92e);let _0x384fde=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0x593810,_0x1f3308,_0x211beb,_0x2171e6){const _0x5d8a39=_0x3c7add;var _0x466ee5;super(),this[_0x5d8a39(0x37b)]=_0x593810,this['_collabSessionService']=_0x1f3308,this[_0x5d8a39(0x33c)]=_0x211beb,this[_0x5d8a39(0x243)]=_0x2171e6,_0x45730e(this,_0x5d8a39(0x394),new Map()),_0x45730e(this,_0x5d8a39(0x31c),new _0x196a42[(_0x5d8a39(0x274))]()),_0x45730e(this,'entityInit$',this['_entityInit$'][_0x5d8a39(0xc6)]()),((_0x466ee5=this[_0x5d8a39(0x33c)][_0x5d8a39(0x1e1)](_0x5d8a39(0x293)))==null?void 0x0:_0x466ee5[_0x5d8a39(0x339)])!==!0x1&&this[_0x5d8a39(0x37a)]();}[_0x3c7add(0x202)](){const _0x35f511=_0x3c7add;super[_0x35f511(0x202)](),this[_0x35f511(0x394)][_0x35f511(0x253)](_0x4997c8=>_0x4997c8[_0x35f511(0x202)]()),this['_entities'][_0x35f511(0x1d7)]();}[_0x3c7add(0x351)](_0x5d0143){const _0x227f3a=_0x3c7add;var _0x362898;return(_0x362898=this[_0x227f3a(0x394)][_0x227f3a(0x1fd)](_0x5d0143))==null?null:_0x362898;}['getCollabEntity$'](_0x5b492e){const _0x376a63=_0x3c7add;let _0x593e11=this[_0x376a63(0x351)](_0x5b492e);return _0x593e11?(0x0,_0x196a42['of'])(_0x593e11):this[_0x376a63(0x31c)][_0x376a63(0x397)]((0x0,_0x5c83a6[_0x376a63(0x143)])(_0x1f865a=>_0x1f865a[_0x376a63(0x11a)]===_0x5b492e));}[_0x3c7add(0xbd)](_0x2f3423){const _0x558ff5=_0x3c7add;return(0x0,_0x196a42[_0x558ff5(0x21c)])(this[_0x558ff5(0x240)](_0x2f3423)[_0x558ff5(0x397)]((0x0,_0x5c83a6[_0x558ff5(0x192)])(()=>void 0x0)));}[_0x3c7add(0x37a)](){const _0x5cbc1f=_0x3c7add;this['_univerInstanceService'][_0x5cbc1f(0x373)](_0x4f2fc5[_0x5cbc1f(0x22e)]['UNIVER_SHEET'])[_0x5cbc1f(0x397)]((0x0,_0x196a42[_0x5cbc1f(0x1fa)])(this[_0x5cbc1f(0x163)]),(0x0,_0x5c83a6[_0x5cbc1f(0x2a5)])(0x10))[_0x5cbc1f(0x237)](async _0x2b6d1f=>{const _0x4cf4ed=_0x5cbc1f;let _0x282161=_0x2b6d1f['unit']['getUnitId'](),_0x1be127=await this['_startCollaboration'](_0x282161,_0x4f2fc5[_0x4cf4ed(0x22e)][_0x4cf4ed(0x2a4)]);this[_0x4cf4ed(0x394)][_0x4cf4ed(0x38b)](_0x282161,_0x1be127);}),this[_0x5cbc1f(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5['UniverInstanceType'][_0x5cbc1f(0x2d5)])[_0x5cbc1f(0x397)]((0x0,_0x196a42[_0x5cbc1f(0x1fa)])(this[_0x5cbc1f(0x163)]),(0x0,_0x5c83a6[_0x5cbc1f(0x2a5)])(0x10))[_0x5cbc1f(0x397)]((0x0,_0x5c83a6['filter'])(_0x1c8590=>!_0x1c8590[_0x5cbc1f(0x1f3)][_0x5cbc1f(0x21a)]()[_0x5cbc1f(0x3de)]('__')))[_0x5cbc1f(0x237)](async _0x4dd144=>{const _0x382499=_0x5cbc1f;let _0x35cd51=_0x4dd144[_0x382499(0x1f3)][_0x382499(0x21a)](),_0x169746=await this[_0x382499(0x206)](_0x35cd51,_0x4f2fc5[_0x382499(0x22e)][_0x382499(0x2d5)]);this[_0x382499(0x394)][_0x382499(0x38b)](_0x35cd51,_0x169746);}),(0x0,_0x196a42[_0x5cbc1f(0x1b5)])(this[_0x5cbc1f(0x243)][_0x5cbc1f(0x1b0)](_0x4f2fc5[_0x5cbc1f(0x22e)][_0x5cbc1f(0x2a4)]),this[_0x5cbc1f(0x243)]['getTypeOfUnitDisposed$'](_0x4f2fc5[_0x5cbc1f(0x22e)]['UNIVER_DOC']))[_0x5cbc1f(0x397)]((0x0,_0x196a42['takeUntil'])(this[_0x5cbc1f(0x163)]))[_0x5cbc1f(0x237)](_0xc2f3a8=>{const _0x3c450b=_0x5cbc1f;let _0x2cc0ba=_0xc2f3a8[_0x3c450b(0x21a)](),_0x3306e1=this[_0x3c450b(0x394)][_0x3c450b(0x1fd)](_0x2cc0ba);_0x3306e1&&(_0x3306e1['dispose'](),this[_0x3c450b(0x394)][_0x3c450b(0x25a)](_0x2cc0ba));});}async[_0x3c7add(0x206)](_0x39f7bb,_0x218f24){const _0x2853bd=_0x3c7add;let _0x17f534=await this[_0x2853bd(0x1aa)]['requireSession'](_0x39f7bb),_0x142b22=this[_0x2853bd(0x37b)][_0x2853bd(0x242)](this['_getCtorByUniverInstanceType'](_0x218f24),_0x39f7bb,_0x218f24,_0x17f534);return await _0x142b22['init'](),this[_0x2853bd(0x31c)][_0x2853bd(0x232)](_0x142b22),_0x142b22;}['_getCtorByUniverInstanceType'](_0x248c5a){const _0x2126be=_0x3c7add;switch(_0x248c5a){case _0x4f2fc5[_0x2126be(0x22e)][_0x2126be(0x2d5)]:return _0x44307b;case _0x4f2fc5[_0x2126be(0x22e)][_0x2126be(0x2a4)]:return _0xb49add;default:throw Error(_0x2126be(0x28a)+_0x248c5a);}}};_0x384fde=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['Injector'])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x5af92e)),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x3,_0x4f2fc5[_0x3c7add(0x1d0)])],_0x384fde);var _0x34e3ba=_0x3c7add(0x369),_0x3d82eb=_0x3c7add(0x119);let _0x5a42c3=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x2fe014,_0x36383c){const _0x42241c=_0x3c7add;super(),this[_0x42241c(0x243)]=_0x2fe014,this['_configService']=_0x36383c,this[_0x42241c(0x37a)]();}[_0x3c7add(0x37a)](){const _0x5061c7=_0x3c7add;this['disposeWithMe'](this[_0x5061c7(0x243)][_0x5061c7(0x371)][_0x5061c7(0x237)](()=>{const _0x55a40d=_0x5061c7;var _0x2a04bb;let _0x348823=this[_0x55a40d(0x243)]['getFocusedUnit'](),_0xf94cb6=(_0x2a04bb=this[_0x55a40d(0x33c)][_0x55a40d(0x1e1)](_0x55a40d(0x3d2)))==null?'Univer':_0x2a04bb;_0x348823 instanceof _0x4f2fc5[_0x55a40d(0x12f)]&&(_0xf94cb6=_0x348823[_0x55a40d(0x3ca)]),document[_0x55a40d(0x329)]=_0xf94cb6;}));}};_0x5a42c3=_0x38f352([_0x78c766(0x0,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x1,_0x4f2fc5['IConfigService'])],_0x5a42c3);let _0x3b4d7a=class{constructor(_0x3ace1d,_0x1a6353,_0x23d0ee){const _0x4b5c40=_0x3c7add;this[_0x4b5c40(0x33c)]=_0x3ace1d,this[_0x4b5c40(0x16a)]=_0x1a6353,this[_0x4b5c40(0x227)]=_0x23d0ee,this['init']();}[_0x3c7add(0x19f)](){const _0x45a014=_0x3c7add;this[_0x45a014(0x16a)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x1d24ad,_0x34cea2)=>_0x34cea2(_0x1d24ad)[_0x45a014(0x397)]((0x0,_0x196a42[_0x45a014(0x3d9)])(async _0x141281=>{const _0x419bde=_0x45a014;let _0x2564e1=_0x141281;if(_0x2564e1['status']===0x191){if(typeof window>'u')throw Error(_0x419bde(0x213));if(window[_0x419bde(0x2fa)](this[_0x419bde(0x227)]['t']('collaboration-client.auth.needGotoLoginAlert'))){let _0x4fff48=window['encodeURIComponent'](window[_0x419bde(0x33d)][_0x419bde(0x236)]);window[_0x419bde(0x33d)][_0x419bde(0x236)]=this[_0x419bde(0x2e0)]()+_0x419bde(0x102)+_0x4fff48;}}return _0x2564e1;}))});}[_0x3c7add(0x2e0)](){const _0x2a59ba=_0x3c7add;var _0x567681;let _0x14f5d3=this[_0x2a59ba(0x33c)][_0x2a59ba(0x1e1)](_0x11e35b);return(_0x567681=_0x14f5d3==null?void 0x0:_0x14f5d3[_0x2a59ba(0x1ae)])==null?_0x2a59ba(0x154):_0x567681;}};_0x3b4d7a=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['LocaleService']))],_0x3b4d7a);let _0x510ca4=class extends _0x4f2fc5[_0x3c7add(0x210)]{constructor(_0x3ef376,_0x5835e3){const _0x256ae1=_0x3c7add;super(),this[_0x256ae1(0x137)]=_0x3ef376,this[_0x256ae1(0x33c)]=_0x5835e3,_0x45730e(this,_0x256ae1(0x2c4),!0x1),this[_0x256ae1(0x199)]();}[_0x3c7add(0x199)](){const _0xa93e6f=_0x3c7add;let _0x557812=this;this['disposeWithMe'](this[_0xa93e6f(0x137)][_0xa93e6f(0x26a)]({'priority':0x3e7,'interceptor':(0x0,_0x4fa7e8[_0xa93e6f(0x328)])({'isMatch'(_0x1b6aad){const _0x3eefec=_0xa93e6f;var _0x358b84;if(_0x1b6aad[_0x3eefec(0x33a)]==='POST'&&(_0x358b84=_0x1b6aad['requestParams'])!=null&&_0x358b84[_0x3eefec(0xc1)]){let {objectID:_0xf73e24,objectType:_0x1dfaa4}=_0x1b6aad['requestParams'][_0x3eefec(0xc1)]||{};if(!_0xf73e24||_0x1dfaa4===void 0x0)return!0x1;let _0x522105=_0x557812[_0x3eefec(0x352)]()+'/'+_0x1dfaa4+_0x3eefec(0x2b6)+_0xf73e24+_0x3eefec(0x367);if(_0x1b6aad['url']===_0x522105)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3035f1){const _0x19c221=_0xa93e6f;var _0x27a7ff;return(_0x27a7ff=_0x3035f1[_0x19c221(0x2b1)])==null?void 0x0:_0x27a7ff['body'];},'mergeParamsToRequest'(_0x4420e5,_0x4f5a94){const _0x3deac8=_0xa93e6f;let _0x2125b4=_0x557812[_0x3deac8(0x352)]()+'/-/object/-/batch_allowed',_0x79f20d=_0x4420e5[_0x3deac8(0x1c5)]((_0x2b4c56,_0x81228e)=>{const _0x114b60=_0x3deac8;let {unitID:_0x2f65d2,objectID:_0x229d9e,objectType:_0x46af6e,actions:_0x4da552}=_0x81228e;return _0x2b4c56[_0x2f65d2]||(_0x2b4c56[_0x2f65d2]={}),_0x2b4c56[_0x2f65d2][_0x229d9e]||(_0x2b4c56[_0x2f65d2][_0x229d9e]={'objectID':_0x229d9e,'objectType':_0x46af6e,'actions':[]}),_0x2b4c56[_0x2f65d2][_0x229d9e][_0x114b60(0xe5)][_0x114b60(0x26e)](..._0x4da552),_0x2b4c56;},{}),_0x36e86a=[];for(let _0x16af7d in _0x79f20d)for(let _0x10d5fe in _0x79f20d[_0x16af7d]){let {actions:_0x6119d,objectType:_0x237861}=_0x79f20d[_0x16af7d][_0x10d5fe],_0x849b5b=[...new Set(_0x6119d)];_0x36e86a['push']({'unitID':_0x16af7d,'objectID':_0x10d5fe,'objectType':_0x237861,'actions':_0x849b5b});}return new _0x4fa7e8[(_0x3deac8(0x1b2))](_0x3deac8(0x389),_0x2125b4,{'headers':_0x4f5a94[_0x3deac8(0x2e8)],'withCredentials':_0x4f5a94[_0x3deac8(0x15f)],'responseType':_0x4f5a94[_0x3deac8(0x342)],'body':{'requests':_0x36e86a}});}},{'distributeResult'(_0x199415,_0x5bf305){let {objectActions:_0x554fba}=_0x199415;return _0x5bf305['map'](_0x28e1ff=>{const _0x2587b3=_0x4364;let {unitID:_0x148903,objectID:_0x8f54fc,actions:_0x3acd9c}=_0x28e1ff,_0x22448d=_0x554fba[_0x2587b3(0x1bb)](_0x4bc3b8=>_0x4bc3b8[_0x2587b3(0x11a)]===_0x148903&&_0x4bc3b8[_0x2587b3(0x23e)]===_0x8f54fc);return{'config':_0x28e1ff,'result':{'actions':_0x3acd9c[_0x2587b3(0x192)](_0x340208=>_0x22448d==null?void 0x0:_0x22448d['actions'][_0x2587b3(0x1bb)](_0x52704c=>_0x52704c['action']===_0x340208))[_0x2587b3(0x143)](_0x13772e=>!!_0x13772e),'error':_0x199415[_0x2587b3(0x1f0)]}};});}})}));}[_0x3c7add(0x352)](){const _0x5897cd=_0x3c7add;var _0x57e71a;let _0x2400b9=this[_0x5897cd(0x33c)][_0x5897cd(0x1e1)](_0x11e35b);return(_0x57e71a=_0x2400b9==null?void 0x0:_0x2400b9[_0x5897cd(0x1b4)])==null?_0x5897cd(0x392):_0x57e71a;}async[_0x3c7add(0x1d6)](_0x3f4e89){const _0x1e28e3=_0x3c7add;let _0xedd7c1=this['_getAPIPrefixPath']()+'/'+_0x3f4e89[_0x1e28e3(0x37c)]+'/object';return(await this[_0x1e28e3(0x137)][_0x1e28e3(0x3d8)](_0xedd7c1,{'body':_0x3f4e89}))[_0x1e28e3(0xc1)][_0x1e28e3(0x23e)]||'';}async[_0x3c7add(0x1d4)](_0x546ddd){const _0x2054bc=_0x3c7add;let _0x4d44a3=this[_0x2054bc(0x352)]()+_0x2054bc(0x301);return(await this['_HTTPService'][_0x2054bc(0x3d8)](_0x4d44a3,{'body':_0x546ddd}))[_0x2054bc(0xc1)][_0x2054bc(0x39f)];}async['update'](_0x31993a){const _0x4c9507=_0x3c7add;var _0x152df2;let _0x843d77=this[_0x4c9507(0x352)]()+'/'+_0x31993a[_0x4c9507(0x37c)]+'/object/'+_0x31993a['objectID'],_0x258387=await this[_0x4c9507(0x137)]['put'](_0x843d77,{'body':_0x31993a});if((_0x258387==null||(_0x152df2=_0x258387[_0x4c9507(0xc1)])==null||(_0x152df2=_0x152df2[_0x4c9507(0x1f0)])==null?void 0x0:_0x152df2['code'])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3c7add(0x2a0)](_0x15befe){const _0x4b659a=_0x3c7add;let _0x4f3401=this[_0x4b659a(0x352)]()+'/'+_0x15befe[_0x4b659a(0x37c)]+_0x4b659a(0x2b6)+_0x15befe[_0x4b659a(0x23e)]+'/allowed';return(await this[_0x4b659a(0x137)][_0x4b659a(0x3d8)](_0x4f3401,{'body':_0x15befe}))[_0x4b659a(0xc1)]['actions'];}async[_0x3c7add(0x30c)](_0x4c68e1){const _0x3b27b9=_0x3c7add;let _0x138a30=this['_getAPIPrefixPath']()+_0x3b27b9(0x1cc);return(await this[_0x3b27b9(0x137)][_0x3b27b9(0x3d8)](_0x138a30,{'body':{'requests':_0x4c68e1}}))[_0x3b27b9(0xc1)][_0x3b27b9(0xe6)];}async[_0x3c7add(0x3cd)](_0x5b4a4a){const _0x5b862a=_0x3c7add;let _0xaa58b9=this[_0x5b862a(0x352)]()+'/'+_0x5b4a4a[_0x5b862a(0x37c)]+_0x5b862a(0x33b),_0xc99db=await this[_0x5b862a(0x137)]['post'](_0xaa58b9,{'body':_0x5b4a4a});return{'roles':_0xc99db[_0x5b862a(0xc1)][_0x5b862a(0x2cf)],'actions':_0xc99db['body'][_0x5b862a(0xe5)]};}async[_0x3c7add(0x1e9)](_0x3c6295){const _0x262861=_0x3c7add;let _0x48ff39=this[_0x262861(0x352)]()+_0x262861(0x3c0);await this[_0x262861(0x137)]['delete'](_0x48ff39,{'params':{'collaboratorID':_0x3c6295[_0x262861(0x138)],'objectID':_0x3c6295[_0x262861(0x23e)],'unitID':_0x3c6295[_0x262861(0x11a)]}});}async[_0x3c7add(0x30f)](_0x5437b6){const _0x148be2=_0x3c7add;let _0x43065c=this[_0x148be2(0x352)]()+'/collaborator';await this['_HTTPService']['patch'](_0x43065c,{'body':_0x5437b6});}async['createCollaborator'](_0x35c227){const _0x5e0101=_0x3c7add;let _0x2bbc89=this[_0x5e0101(0x352)]()+'/collaborator';await this[_0x5e0101(0x137)][_0x5e0101(0x3d8)](_0x2bbc89,{'body':_0x35c227});}async[_0x3c7add(0x2b4)](_0x518d94){const _0x11be96=_0x3c7add;var _0x2e3984;let _0x3cf174=this[_0x11be96(0x352)]()+_0x11be96(0x3c0),_0x5a4db4=await this['_HTTPService'][_0x11be96(0x1fd)](_0x3cf174,{'params':{'objectID':_0x518d94[_0x11be96(0x23e)],'unitID':_0x518d94[_0x11be96(0x11a)]}});return this['setCfgEnableObjInherit']((_0x2e3984=_0x5a4db4[_0x11be96(0xc1)]['cfgEnableObjInherit'])==null?!0x1:_0x2e3984),_0x5a4db4[_0x11be96(0xc1)][_0x11be96(0xde)];}async[_0x3c7add(0x3a5)](_0x5e59fb){const _0x102c36=_0x3c7add;let _0x273b54=this[_0x102c36(0x352)]()+_0x102c36(0x3c0);await this[_0x102c36(0x137)]['put'](_0x273b54,{'body':_0x5e59fb});}[_0x3c7add(0x2b7)](_0x430fba){this['_cfgEnableObjInherit']=_0x430fba;}[_0x3c7add(0x3d1)](){const _0x35e41d=_0x3c7add;return this[_0x35e41d(0x2c4)];}};_0x510ca4=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0x312)]))],_0x510ca4);function _0x173049(_0xf51d06){const _0x3ab056=_0x3c7add;return _0xf51d06 instanceof Uint8Array||ArrayBuffer[_0x3ab056(0x2e6)](_0xf51d06)&&_0xf51d06[_0x3ab056(0x25f)][_0x3ab056(0x3ca)]===_0x3ab056(0x114)&&_0x3ab056(0x29b)in _0xf51d06&&_0xf51d06['BYTES_PER_ELEMENT']===0x1;}function _0x1eab76(_0x58832f){const _0x20fac9=_0x3c7add;if(typeof _0x58832f!=_0x20fac9(0x16e))throw TypeError(_0x20fac9(0x2af)+typeof _0x58832f);if(!Number[_0x20fac9(0x1d9)](_0x58832f)||_0x58832f<0x0)throw RangeError(_0x20fac9(0x289)+_0x58832f);}function _0x129539(_0x1eda32,_0x13fc71,_0x857e94=''){const _0x4b59f0=_0x3c7add;let _0x498c8d=_0x173049(_0x1eda32),_0x2d2ed9=_0x1eda32==null?void 0x0:_0x1eda32[_0x4b59f0(0x3a4)],_0x493617=_0x13fc71!==void 0x0;if(!_0x498c8d||_0x493617&&_0x2d2ed9!==_0x13fc71){let _0x2d0123=_0x857e94&&'\x22'+_0x857e94+'\x22\x20',_0x38b113=_0x493617?_0x4b59f0(0x283)+_0x13fc71:'',_0x361859=_0x498c8d?'length='+_0x2d2ed9:_0x4b59f0(0xf7)+typeof _0x1eda32,_0x19bb2c=_0x2d0123+'expected\x20Uint8Array'+_0x38b113+',\x20got\x20'+_0x361859;throw _0x498c8d?RangeError(_0x19bb2c):TypeError(_0x19bb2c);}return _0x1eda32;}function _0x5f382e(_0x2a71ce){const _0x4b9177=_0x3c7add;return new Uint32Array(_0x2a71ce[_0x4b9177(0x3a7)],_0x2a71ce[_0x4b9177(0x333)],Math[_0x4b9177(0x364)](_0x2a71ce['byteLength']/0x4));}function _0x284f51(..._0x107717){for(let _0x89d94b=0x0;_0x89d94b<_0x107717['length'];_0x89d94b++)_0x107717[_0x89d94b]['fill'](0x0);}let _0xe4bc31=new Uint8Array(new Uint32Array([0x11223344])[_0x3c7add(0x3a7)])[0x0]===0x44,_0x658bdb=_0x1275e1=>_0x1275e1<<0x18&0xff000000|_0x1275e1<<0x8&0xff0000|_0x1275e1>>>0x8&0xff00|_0x1275e1>>>0x18&0xff,_0x5da7b0=_0xe4bc31?_0x1ddd50=>_0x1ddd50:_0x383d7a=>{for(let _0x151a18=0x0;_0x151a18<_0x383d7a['length'];_0x151a18++)_0x383d7a[_0x151a18]=_0x658bdb(_0x383d7a[_0x151a18]);return _0x383d7a;};function _0x1c6bcb(_0x479e76){if(typeof _0x479e76!='string')throw TypeError('string\x20expected');return new Uint8Array(new TextEncoder()['encode'](_0x479e76));}function _0x2be1fb(_0x4c6e44,_0x2a8d58){const _0x42a5d3=_0x3c7add;return!_0x4c6e44[_0x42a5d3(0x3d5)]||!_0x2a8d58[_0x42a5d3(0x3d5)]?!0x1:_0x4c6e44['buffer']===_0x2a8d58[_0x42a5d3(0x3a7)]&&_0x4c6e44[_0x42a5d3(0x333)]<_0x2a8d58[_0x42a5d3(0x333)]+_0x2a8d58[_0x42a5d3(0x3d5)]&&_0x2a8d58[_0x42a5d3(0x333)]<_0x4c6e44[_0x42a5d3(0x333)]+_0x4c6e44[_0x42a5d3(0x3d5)];}function _0x54afa4(_0x3aee20,_0x3970e7){const _0x2ff951=_0x3c7add;if(_0x2be1fb(_0x3aee20,_0x3970e7)&&_0x3aee20[_0x2ff951(0x333)]<_0x3970e7[_0x2ff951(0x333)])throw Error(_0x2ff951(0x3d3));}function _0x466ec4(..._0xf19338){const _0x229fd4=_0x3c7add;let _0x311eea=0x0;for(let _0x5a9e5c=0x0;_0x5a9e5c<_0xf19338['length'];_0x5a9e5c++){let _0x5a6776=_0xf19338[_0x5a9e5c];_0x129539(_0x5a6776),_0x311eea+=_0x5a6776[_0x229fd4(0x3a4)];}let _0x12ee6e=new Uint8Array(_0x311eea);for(let _0x46df51=0x0,_0x7a40f5=0x0;_0x46df51<_0xf19338[_0x229fd4(0x3a4)];_0x46df51++){let _0x5825bc=_0xf19338[_0x46df51];_0x12ee6e[_0x229fd4(0x38b)](_0x5825bc,_0x7a40f5),_0x7a40f5+=_0x5825bc['length'];}return _0x12ee6e;}let _0x2fac91=(_0x1f4186,_0x25c3dc)=>{const _0x284998=_0x3c7add;function _0x211376(_0x5d56df,..._0x4d0309){const _0x510da1=_0x4364;if(_0x129539(_0x5d56df,void 0x0,_0x510da1(0x21f)),_0x1f4186['nonceLength']!==void 0x0){let _0x30251a=_0x4d0309[0x0];_0x129539(_0x30251a,_0x1f4186[_0x510da1(0x21e)]?void 0x0:_0x1f4186[_0x510da1(0x2dd)],_0x510da1(0x2ff));}let _0x432956=_0x1f4186[_0x510da1(0xe7)];_0x432956&&_0x4d0309[0x1]!==void 0x0&&_0x129539(_0x4d0309[0x1],void 0x0,_0x510da1(0x2ba));let _0x5a9529=_0x25c3dc(_0x5d56df,..._0x4d0309),_0x4b76c5=(_0x337e86,_0x4b32af)=>{const _0x4d4d86=_0x510da1;if(_0x4b32af!==void 0x0){if(_0x337e86!==0x2)throw Error(_0x4d4d86(0x245));_0x129539(_0x4b32af,void 0x0,_0x4d4d86(0x28e));}},_0x378506=!0x1;return{'encrypt'(_0x2aeff8,_0x51f5f7){const _0x750934=_0x510da1;if(_0x378506)throw Error(_0x750934(0x2d0));return _0x378506=!0x0,_0x129539(_0x2aeff8),_0x4b76c5(_0x5a9529[_0x750934(0x387)][_0x750934(0x3a4)],_0x51f5f7),_0x5a9529[_0x750934(0x387)](_0x2aeff8,_0x51f5f7);},'decrypt'(_0x194b0b,_0x1c1e4a){const _0xb1f620=_0x510da1;if(_0x129539(_0x194b0b),_0x432956&&_0x194b0b[_0xb1f620(0x3a4)]<_0x432956)throw Error(_0xb1f620(0x298)+_0x432956);return _0x4b76c5(_0x5a9529[_0xb1f620(0x3a2)][_0xb1f620(0x3a4)],_0x1c1e4a),_0x5a9529['decrypt'](_0x194b0b,_0x1c1e4a);}};}return Object[_0x284998(0x1e4)](_0x211376,_0x1f4186),_0x211376;};function _0x308ff3(_0x571a01,_0x10d41a,_0x3671ca=!0x0){const _0x2e4bc6=_0x3c7add;if(_0x10d41a===void 0x0)return new Uint8Array(_0x571a01);if(_0x129539(_0x10d41a,void 0x0,'output'),_0x10d41a[_0x2e4bc6(0x3a4)]!==_0x571a01)throw Error(_0x2e4bc6(0x18b)+_0x571a01+',\x20got:\x20'+_0x10d41a[_0x2e4bc6(0x3a4)]);if(_0x3671ca&&!_0x1bef2d(_0x10d41a))throw Error(_0x2e4bc6(0xd3));return _0x10d41a;}function _0x1bef2d(_0x4b96b7){return _0x4b96b7['byteOffset']%0x4==0x0;}function _0x3b7ddd(_0x47693f){const _0x47b854=_0x3c7add;return Uint8Array[_0x47b854(0x33f)](_0x129539(_0x47693f));}function _0x38b234(_0x82ea28=0x20){const _0x4a4212=_0x3c7add;_0x1eab76(_0x82ea28);let _0x4e3907=typeof globalThis==_0x4a4212(0x2a1)?globalThis['crypto']:null;if(typeof(_0x4e3907==null?void 0x0:_0x4e3907[_0x4a4212(0x2f0)])!=_0x4a4212(0x16c))throw Error(_0x4a4212(0x258));return _0x4e3907[_0x4a4212(0x2f0)](new Uint8Array(_0x82ea28));}function _0x12f9bf(_0x177853){const _0x1885b4=_0x3c7add;if(![0x10,0x18,0x20][_0x1885b4(0x3b9)](_0x177853[_0x1885b4(0x3a4)]))throw Error(_0x1885b4(0x25d)+_0x177853[_0x1885b4(0x3a4)]);}function _0x251a7a(_0x9decb3){return _0x9decb3<<0x1^0x11b&-(_0x9decb3>>0x7);}function _0x2e8bfd(_0x1286a1,_0x21495a){let _0xa513f9=0x0;for(;_0x21495a>0x0;_0x21495a>>=0x1)_0xa513f9^=_0x1286a1&-(_0x21495a&0x1),_0x1286a1=_0x251a7a(_0x1286a1);return _0xa513f9;}let _0x5bc1d1=((()=>{let _0x2bdfc4=new Uint8Array(0x100);for(let _0xef2700=0x0,_0xc598c9=0x1;_0xef2700<0x100;_0xef2700++,_0xc598c9^=_0x251a7a(_0xc598c9))_0x2bdfc4[_0xef2700]=_0xc598c9;let _0x2fd837=new Uint8Array(0x100);_0x2fd837[0x0]=0x63;for(let _0x21706a=0x0;_0x21706a<0xff;_0x21706a++){let _0x5f1aea=_0x2bdfc4[0xff-_0x21706a];_0x5f1aea|=_0x5f1aea<<0x8,_0x2fd837[_0x2bdfc4[_0x21706a]]=(_0x5f1aea^_0x5f1aea>>0x4^_0x5f1aea>>0x5^_0x5f1aea>>0x6^_0x5f1aea>>0x7^0x63)&0xff;}return _0x284f51(_0x2bdfc4),_0x2fd837;})()),_0x14ee7c=_0x5bc1d1['map']((_0x5bb1df,_0x24736b)=>_0x5bc1d1[_0x3c7add(0x3dd)](_0x24736b)),_0x52a82b=_0x4e8c20=>_0x4e8c20<<0x18|_0x4e8c20>>>0x8,_0x325d16=_0x416fdf=>_0x416fdf<<0x8|_0x416fdf>>>0x18;function _0x247acb(_0x252e07,_0x8153f9){const _0xb0d51b=_0x3c7add;if(_0x252e07[_0xb0d51b(0x3a4)]!==0x100)throw Error(_0xb0d51b(0x17a));let _0x18d105=new Uint32Array(0x100)['map']((_0x2601af,_0x3e6d60)=>_0x8153f9(_0x252e07[_0x3e6d60])),_0x3cb66e=_0x18d105[_0xb0d51b(0x192)](_0x325d16),_0x5a506b=_0x3cb66e[_0xb0d51b(0x192)](_0x325d16),_0x1d57ae=_0x5a506b['map'](_0x325d16),_0x35dedf=new Uint32Array(0x100*0x100),_0x612690=new Uint32Array(0x100*0x100),_0x303caa=new Uint16Array(0x100*0x100);for(let _0x595322=0x0;_0x595322<0x100;_0x595322++)for(let _0x1163d1=0x0;_0x1163d1<0x100;_0x1163d1++){let _0x5e934c=_0x595322*0x100+_0x1163d1;_0x35dedf[_0x5e934c]=_0x18d105[_0x595322]^_0x3cb66e[_0x1163d1],_0x612690[_0x5e934c]=_0x5a506b[_0x595322]^_0x1d57ae[_0x1163d1],_0x303caa[_0x5e934c]=_0x252e07[_0x595322]<<0x8|_0x252e07[_0x1163d1];}return{'sbox':_0x252e07,'sbox2':_0x303caa,'T0':_0x18d105,'T1':_0x3cb66e,'T2':_0x5a506b,'T3':_0x1d57ae,'T01':_0x35dedf,'T23':_0x612690};}let _0x35dbc6=_0x247acb(_0x5bc1d1,_0x3eb4d3=>_0x2e8bfd(_0x3eb4d3,0x3)<<0x18|_0x3eb4d3<<0x10|_0x3eb4d3<<0x8|_0x2e8bfd(_0x3eb4d3,0x2)),_0x5d3aa4=_0x247acb(_0x14ee7c,_0x4e5027=>_0x2e8bfd(_0x4e5027,0xb)<<0x18|_0x2e8bfd(_0x4e5027,0xd)<<0x10|_0x2e8bfd(_0x4e5027,0x9)<<0x8|_0x2e8bfd(_0x4e5027,0xe)),_0x18f692=((()=>{let _0x59a970=new Uint8Array(0x10);for(let _0x1a1251=0x0,_0x16de6d=0x1;_0x1a1251<0x10;_0x1a1251++,_0x16de6d=_0x251a7a(_0x16de6d))_0x59a970[_0x1a1251]=_0x16de6d;return _0x59a970;})());function _0xb87351(_0x5d314a){const _0x59936e=_0x3c7add;_0x129539(_0x5d314a);let _0x8dee53=_0x5d314a[_0x59936e(0x3a4)];_0x12f9bf(_0x5d314a);let {sbox2:_0x36ca41}=_0x35dbc6,_0xc4105e=[];(!_0xe4bc31||!_0x1bef2d(_0x5d314a))&&_0xc4105e[_0x59936e(0x26e)](_0x5d314a=_0x3b7ddd(_0x5d314a));let _0x12dc63=_0x5da7b0(_0x5f382e(_0x5d314a)),_0x3e9cda=_0x12dc63[_0x59936e(0x3a4)],_0x95e15c=_0x22d9fb=>_0x18cd02(_0x36ca41,_0x22d9fb,_0x22d9fb,_0x22d9fb,_0x22d9fb),_0x2024d8=new Uint32Array(_0x8dee53+0x1c);_0x2024d8[_0x59936e(0x38b)](_0x12dc63);for(let _0x2ff8b2=_0x3e9cda;_0x2ff8b2<_0x2024d8[_0x59936e(0x3a4)];_0x2ff8b2++){let _0xcab8be=_0x2024d8[_0x2ff8b2-0x1];_0x2ff8b2%_0x3e9cda===0x0?_0xcab8be=_0x95e15c(_0x52a82b(_0xcab8be))^_0x18f692[_0x2ff8b2/_0x3e9cda-0x1]:_0x3e9cda>0x6&&_0x2ff8b2%_0x3e9cda===0x4&&(_0xcab8be=_0x95e15c(_0xcab8be)),_0x2024d8[_0x2ff8b2]=_0x2024d8[_0x2ff8b2-_0x3e9cda]^_0xcab8be;}return _0x284f51(..._0xc4105e),_0x2024d8;}function _0x48302a(_0x4fb3c6){const _0x5902a9=_0x3c7add;let _0x456dc5=_0xb87351(_0x4fb3c6),_0x168cd1=_0x456dc5[_0x5902a9(0x28f)](),_0x35bc0e=_0x456dc5['length'],{sbox2:_0x47bf06}=_0x35dbc6,{T0:_0x4f03e1,T1:_0x3b3813,T2:_0x4993bf,T3:_0x3c96e3}=_0x5d3aa4;for(let _0x99463a=0x0;_0x99463a<_0x35bc0e;_0x99463a+=0x4)for(let _0x32c8bc=0x0;_0x32c8bc<0x4;_0x32c8bc++)_0x168cd1[_0x99463a+_0x32c8bc]=_0x456dc5[_0x35bc0e-_0x99463a-0x4+_0x32c8bc];_0x284f51(_0x456dc5);for(let _0x2cc8fa=0x4;_0x2cc8fa<_0x35bc0e-0x4;_0x2cc8fa++){let _0xcbc34=_0x168cd1[_0x2cc8fa],_0x11eaf9=_0x18cd02(_0x47bf06,_0xcbc34,_0xcbc34,_0xcbc34,_0xcbc34);_0x168cd1[_0x2cc8fa]=_0x4f03e1[_0x11eaf9&0xff]^_0x3b3813[_0x11eaf9>>>0x8&0xff]^_0x4993bf[_0x11eaf9>>>0x10&0xff]^_0x3c96e3[_0x11eaf9>>>0x18];}return _0x168cd1;}function _0x54fbb8(_0x1822a9,_0x54814a,_0x1096d7,_0x8d5e6c,_0x126808,_0x2ab892){return _0x1822a9[_0x1096d7<<0x8&0xff00|_0x8d5e6c>>>0x8&0xff]^_0x54814a[_0x126808>>>0x8&0xff00|_0x2ab892>>>0x18&0xff];}function _0x18cd02(_0x3d517a,_0x5d9e26,_0x5187b3,_0x365864,_0x45bdf0){return _0x3d517a[_0x5d9e26&0xff|_0x5187b3&0xff00]|_0x3d517a[_0x365864>>>0x10&0xff|_0x45bdf0>>>0x10&0xff00]<<0x10;}function _0x366155(_0x363795,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0){const _0x82d8d7=_0x3c7add;let {sbox2:_0x11c195,T01:_0x4dc76c,T23:_0x1b10bd}=_0x35dbc6,_0x1ef8fc=0x0;_0x331001^=_0x363795[_0x1ef8fc++],_0x298ffb^=_0x363795[_0x1ef8fc++],_0x560a37^=_0x363795[_0x1ef8fc++],_0x28f4d0^=_0x363795[_0x1ef8fc++];let _0x5970c9=_0x363795[_0x82d8d7(0x3a4)]/0x4-0x2;for(let _0x3f03de=0x0;_0x3f03de<_0x5970c9;_0x3f03de++){let _0x3636f2=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0),_0x2137d0=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x298ffb,_0x560a37,_0x28f4d0,_0x331001),_0x3f70a6=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x560a37,_0x28f4d0,_0x331001,_0x298ffb),_0x598e09=_0x363795[_0x1ef8fc++]^_0x54fbb8(_0x4dc76c,_0x1b10bd,_0x28f4d0,_0x331001,_0x298ffb,_0x560a37);_0x331001=_0x3636f2,_0x298ffb=_0x2137d0,_0x560a37=_0x3f70a6,_0x28f4d0=_0x598e09;}return{'s0':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x331001,_0x298ffb,_0x560a37,_0x28f4d0),'s1':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x298ffb,_0x560a37,_0x28f4d0,_0x331001),'s2':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x560a37,_0x28f4d0,_0x331001,_0x298ffb),'s3':_0x363795[_0x1ef8fc++]^_0x18cd02(_0x11c195,_0x28f4d0,_0x331001,_0x298ffb,_0x560a37)};}function _0x3de53a(_0x543ee0,_0x5f271f,_0x3dc313,_0x247c0e,_0xf8d0e7){const _0x5ce753=_0x3c7add;let {sbox2:_0x407eb5,T01:_0x2dcf36,T23:_0x505988}=_0x5d3aa4,_0x2a9a96=0x0;_0x5f271f^=_0x543ee0[_0x2a9a96++],_0x3dc313^=_0x543ee0[_0x2a9a96++],_0x247c0e^=_0x543ee0[_0x2a9a96++],_0xf8d0e7^=_0x543ee0[_0x2a9a96++];let _0x48b06f=_0x543ee0[_0x5ce753(0x3a4)]/0x4-0x2;for(let _0x580516=0x0;_0x580516<_0x48b06f;_0x580516++){let _0x1654ec=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x5f271f,_0xf8d0e7,_0x247c0e,_0x3dc313),_0x123503=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x3dc313,_0x5f271f,_0xf8d0e7,_0x247c0e),_0x26a038=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0x247c0e,_0x3dc313,_0x5f271f,_0xf8d0e7),_0x12290a=_0x543ee0[_0x2a9a96++]^_0x54fbb8(_0x2dcf36,_0x505988,_0xf8d0e7,_0x247c0e,_0x3dc313,_0x5f271f);_0x5f271f=_0x1654ec,_0x3dc313=_0x123503,_0x247c0e=_0x26a038,_0xf8d0e7=_0x12290a;}return{'s0':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x5f271f,_0xf8d0e7,_0x247c0e,_0x3dc313),'s1':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x3dc313,_0x5f271f,_0xf8d0e7,_0x247c0e),'s2':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0x247c0e,_0x3dc313,_0x5f271f,_0xf8d0e7),'s3':_0x543ee0[_0x2a9a96++]^_0x18cd02(_0x407eb5,_0xf8d0e7,_0x247c0e,_0x3dc313,_0x5f271f)};}function _0x4479bb(_0x475e69){const _0x48488d=_0x3c7add;if(_0x129539(_0x475e69),_0x475e69[_0x48488d(0x3a4)]%0x10!=0x0)throw Error('aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016');}function _0x4ee531(_0x181f0d,_0x2218c9,_0x96751c){const _0x112bac=_0x3c7add;_0x129539(_0x181f0d);let _0x1bc6e1=_0x181f0d[_0x112bac(0x3a4)],_0x4cad14=_0x1bc6e1%0x10;if(!_0x2218c9&&_0x4cad14!==0x0)throw Error(_0x112bac(0x295));if(_0x2218c9){let _0x443d3d=0x10-_0x4cad14;_0x443d3d||(_0x443d3d=0x10),_0x1bc6e1+=_0x443d3d;}_0x96751c=_0x308ff3(_0x1bc6e1,_0x96751c),_0x54afa4(_0x181f0d,_0x96751c),(!_0xe4bc31||!_0x1bef2d(_0x181f0d))&&(_0x181f0d=_0x3b7ddd(_0x181f0d));let _0x35f7ef=_0x5f382e(_0x181f0d);return _0x5da7b0(_0x35f7ef),{'b':_0x35f7ef,'o':_0x5f382e(_0x96751c),'out':_0x96751c};}function _0x143c01(_0xe1c1a9,_0x4df8ac){const _0x5d9991=_0x3c7add;if(!_0x4df8ac)return _0xe1c1a9;let _0xf9cb89=_0xe1c1a9[_0x5d9991(0x3a4)];if(_0xf9cb89===0x0)throw Error('aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed');let _0x2713c7=_0xe1c1a9[_0xf9cb89-0x1],_0x3a23b7=0x1;_0x3a23b7&=_0x2713c7-0x1>>>0x1f^0x1,_0x3a23b7&=0x10-_0x2713c7>>>0x1f^0x1;for(let _0x29ee10=0x0;_0x29ee10<0x10;_0x29ee10++){let _0x475933=_0x29ee10-_0x2713c7>>>0x1f,_0x160829=+((_0xe1c1a9[_0xf9cb89-0x1-_0x29ee10]^_0x2713c7)===0x0);_0x3a23b7&=_0x160829|_0x475933^0x1;}if(!_0x3a23b7)throw Error(_0x5d9991(0xe4));return _0xe1c1a9[_0x5d9991(0x17f)](0x0,_0xf9cb89-_0x2713c7);}function _0x32971f(_0x112606){const _0x178ff1=_0x3c7add;let _0x3b411e=new Uint8Array(0x10),_0x709593=_0x5f382e(_0x3b411e);_0x3b411e[_0x178ff1(0x38b)](_0x112606);let _0x2bc84a=0x10-_0x112606['length'];for(let _0x480e54=0x10-_0x2bc84a;_0x480e54<0x10;_0x480e54++)_0x3b411e[_0x480e54]=_0x2bc84a;return _0x709593;}let _0x1f9c31=_0x2fac91({'blockSize':0x10,'nonceLength':0x10},function(_0x54fdb7,_0x4b82e7,_0x5f02de={}){let _0x3cb9b0=!_0x5f02de['disablePadding'];return{'encrypt'(_0x43c5af,_0x23dde4){const _0x50b3bf=_0x4364;let _0x390130=_0xb87351(_0x54fdb7),{b:_0x23ed3b,o:_0x41c781,out:_0x22ed14}=_0x4ee531(_0x43c5af,_0x3cb9b0,_0x23dde4),_0x76f4e4=_0x4b82e7,_0x1ebb81=[_0x390130];(!_0xe4bc31||!_0x1bef2d(_0x76f4e4))&&_0x1ebb81[_0x50b3bf(0x26e)](_0x76f4e4=_0x3b7ddd(_0x76f4e4));let _0x171a8f=_0x5f382e(_0x76f4e4);_0x5da7b0(_0x171a8f);let _0x458c42=_0x171a8f[0x0],_0x25fdd3=_0x171a8f[0x1],_0xb75efa=_0x171a8f[0x2],_0x25b4d5=_0x171a8f[0x3],_0x7c109f=0x0;for(;_0x7c109f+0x4<=_0x23ed3b[_0x50b3bf(0x3a4)];)_0x458c42^=_0x23ed3b[_0x7c109f+0x0],_0x25fdd3^=_0x23ed3b[_0x7c109f+0x1],_0xb75efa^=_0x23ed3b[_0x7c109f+0x2],_0x25b4d5^=_0x23ed3b[_0x7c109f+0x3],{s0:_0x458c42,s1:_0x25fdd3,s2:_0xb75efa,s3:_0x25b4d5}=_0x366155(_0x390130,_0x458c42,_0x25fdd3,_0xb75efa,_0x25b4d5),_0x41c781[_0x7c109f++]=_0x458c42,_0x41c781[_0x7c109f++]=_0x25fdd3,_0x41c781[_0x7c109f++]=_0xb75efa,_0x41c781[_0x7c109f++]=_0x25b4d5;if(_0x3cb9b0){let _0x5c5c35=_0x32971f(_0x43c5af[_0x50b3bf(0x17f)](_0x7c109f*0x4));_0x5da7b0(_0x5c5c35),_0x458c42^=_0x5c5c35[0x0],_0x25fdd3^=_0x5c5c35[0x1],_0xb75efa^=_0x5c5c35[0x2],_0x25b4d5^=_0x5c5c35[0x3],{s0:_0x458c42,s1:_0x25fdd3,s2:_0xb75efa,s3:_0x25b4d5}=_0x366155(_0x390130,_0x458c42,_0x25fdd3,_0xb75efa,_0x25b4d5),_0x41c781[_0x7c109f++]=_0x458c42,_0x41c781[_0x7c109f++]=_0x25fdd3,_0x41c781[_0x7c109f++]=_0xb75efa,_0x41c781[_0x7c109f++]=_0x25b4d5;}return _0x5da7b0(_0x41c781),_0x284f51(..._0x1ebb81),_0x22ed14;},'decrypt'(_0x34be89,_0x3b1fa1){const _0x387688=_0x4364;_0x4479bb(_0x34be89);let _0x463f40=_0x48302a(_0x54fdb7),_0x10a4bc=_0x4b82e7,_0x2cb55c=[_0x463f40];(!_0xe4bc31||!_0x1bef2d(_0x10a4bc))&&_0x2cb55c[_0x387688(0x26e)](_0x10a4bc=_0x3b7ddd(_0x10a4bc));let _0x212b3a=_0x5f382e(_0x10a4bc);_0x5da7b0(_0x212b3a),_0x3b1fa1=_0x308ff3(_0x34be89[_0x387688(0x3a4)],_0x3b1fa1),_0x54afa4(_0x34be89,_0x3b1fa1),(!_0xe4bc31||!_0x1bef2d(_0x34be89))&&_0x2cb55c[_0x387688(0x26e)](_0x34be89=_0x3b7ddd(_0x34be89));let _0x154d59=_0x5f382e(_0x34be89),_0x510a75=_0x5f382e(_0x3b1fa1);_0x5da7b0(_0x154d59);let _0x2a1741=_0x212b3a[0x0],_0x567627=_0x212b3a[0x1],_0x227c3d=_0x212b3a[0x2],_0x411076=_0x212b3a[0x3];for(let _0x2abeb9=0x0;_0x2abeb9+0x4<=_0x154d59['length'];){let _0x220736=_0x2a1741,_0xaf3147=_0x567627,_0x2415e1=_0x227c3d,_0x2ad821=_0x411076;_0x2a1741=_0x154d59[_0x2abeb9+0x0],_0x567627=_0x154d59[_0x2abeb9+0x1],_0x227c3d=_0x154d59[_0x2abeb9+0x2],_0x411076=_0x154d59[_0x2abeb9+0x3];let {s0:_0x598a6a,s1:_0x479925,s2:_0x5f45a1,s3:_0x8b2911}=_0x3de53a(_0x463f40,_0x2a1741,_0x567627,_0x227c3d,_0x411076);_0x510a75[_0x2abeb9++]=_0x598a6a^_0x220736,_0x510a75[_0x2abeb9++]=_0x479925^_0xaf3147,_0x510a75[_0x2abeb9++]=_0x5f45a1^_0x2415e1,_0x510a75[_0x2abeb9++]=_0x8b2911^_0x2ad821;}return _0x5da7b0(_0x510a75),_0x284f51(..._0x2cb55c),_0x143c01(_0x3b1fa1,_0x3cb9b0);}};});function _0x5c285c(_0x2150e9){const _0x1667d9=_0x3c7add;let _0xc20624=atob(_0x2150e9),_0x2ffcea=new Uint8Array(_0xc20624['length']);for(let _0x880bfc=0x0;_0x880bfc<_0xc20624[_0x1667d9(0x3a4)];_0x880bfc++)_0x2ffcea[_0x880bfc]=_0xc20624[_0x1667d9(0xe2)](_0x880bfc);return _0x2ffcea;}function _0x5a92dc(_0x1e4af6){const _0x25538d=_0x3c7add;let _0x47064c='';for(let _0x4187cc=0x0;_0x4187cc<_0x1e4af6[_0x25538d(0x3a4)];_0x4187cc++)_0x47064c+=String[_0x25538d(0x332)](_0x1e4af6[_0x4187cc]);return btoa(_0x47064c);}function _0x4a5bed(_0x33ae7c,_0x30d1a2){const _0xeb894=_0x3c7add;let _0x35f66e=_0x5c285c(_0x30d1a2),_0x1d2403=_0x38b234(0x10);return _0x5a92dc(_0x466ec4(_0x1d2403,_0x1f9c31(_0x35f66e,_0x1d2403)[_0xeb894(0x387)](_0x1c6bcb(_0x33ae7c))));}function _0x53e09b(){const _0x317c14=_0x3c7add;let _0x33f3da=(0x0,_0x4a0b74[_0x317c14(0x127)])()[_0x317c14(0x275)];if(typeof window<'u'&&window[_0x317c14(0x33d)]!==void 0x0&&_0x33f3da){let _0x105596={'time':Math[_0x317c14(0x364)](Date[_0x317c14(0x1e5)]()/0x3e8),'domain':location[_0x317c14(0xc0)]};return _0x4a5bed(JSON[_0x317c14(0x265)](_0x105596),_0x33f3da);}}let _0x213b55=class{constructor(_0x367ad4){const _0x1f9409=_0x3c7add;this['_httpService']=_0x367ad4,this[_0x1f9409(0x160)]();}[_0x3c7add(0x160)](){const _0x33cfe0=_0x3c7add;this[_0x33cfe0(0x16a)][_0x33cfe0(0x26a)]({'interceptor':(_0x138f90,_0x257eaa)=>{const _0x47d70e=_0x33cfe0;let _0x2f73c1=_0x53e09b();return _0x2f73c1&&_0x138f90[_0x47d70e(0x2e8)]['set'](_0x47d70e(0xca),_0x2f73c1),_0x257eaa(_0x138f90);}});}};_0x213b55=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5['Inject'])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x213b55);let _0x3090fa=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0x225750,_0x52eef6,_0x3ad35c){const _0x12f04a=_0x3c7add;super(),this[_0x12f04a(0x10b)]=_0x225750,this['_snapshotService']=_0x52eef6,this[_0x12f04a(0x12a)]=_0x3ad35c,_0x45730e(this,_0x12f04a(0x193),new _0x196a42[(_0x12f04a(0x2cc))](null)),_0x45730e(this,_0x12f04a(0x1de),this[_0x12f04a(0x193)][_0x12f04a(0xc6)]());}async['loadUnitOfRevision'](_0x3b9d4a,_0x260fdd,_0x3a9dfa){const _0x4f54e0=_0x3c7add;this['_unitInfo$']['next']({'unitId':_0x3b9d4a,'type':_0x260fdd});let _0x81787=null;switch(_0x260fdd){case _0x4f2fc5['UniverInstanceType'][_0x4f54e0(0x2a4)]:_0x81787=await this[_0x4f54e0(0xfc)][_0x4f54e0(0x157)](_0x3b9d4a,_0x3a9dfa);break;case _0x4f2fc5[_0x4f54e0(0x22e)][_0x4f54e0(0x2d5)]:_0x81787=await this['_snapshotService']['loadDoc'](_0x3b9d4a,_0x3a9dfa);break;default:this[_0x4f54e0(0x10b)][_0x4f54e0(0x1f0)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x81787;}async[_0x3c7add(0x336)](_0x36c3f6,_0x135f33,_0x10372e){const _0x2ab820=_0x3c7add;var _0x4ac333;this[_0x2ab820(0x193)][_0x2ab820(0x232)]({'unitId':_0x36c3f6,'type':_0x135f33,'subUnitId':_0x10372e});let _0x57456f=0x0,_0x3bd7d7=await((_0x4ac333=this[_0x2ab820(0x12a)])==null?void 0x0:_0x4ac333['loadOfflineData'](_0x36c3f6));return _0x3bd7d7&&(_0x3bd7d7[_0x2ab820(0x27a)]||_0x3bd7d7[_0x2ab820(0x1eb)][_0x2ab820(0x3a4)]!==0x0)&&(_0x57456f=_0x3bd7d7[_0x2ab820(0x3b3)]),_0x57456f===0x0&&this[_0x2ab820(0x10b)][_0x2ab820(0x2ec)](_0x2ab820(0x2bc),_0x2ab820(0x161)),this['loadUnitOfRevision'](_0x36c3f6,_0x135f33,_0x57456f);}};_0x3090fa=_0x38f352([_0x78c766(0x0,_0x4f2fc5['ILogService']),_0x78c766(0x1,(0x0,_0x4f2fc5['Inject'])(_0x597ddf[_0x3c7add(0x158)])),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0xbf)])(_0x54dcc4))],_0x3090fa);let _0x336bd5=class{constructor(_0x490d47,_0x556380,_0x1b83c8){const _0x318877=_0x3c7add;this[_0x318877(0x16a)]=_0x490d47,this[_0x318877(0x33c)]=_0x556380,this[_0x318877(0x243)]=_0x1b83c8,_0x45730e(this,_0x318877(0x130),0x0),_0x45730e(this,_0x318877(0xed),new _0x196a42[(_0x318877(0x274))]()),_0x45730e(this,_0x318877(0xda),this['_change$']),_0x45730e(this,_0x318877(0x103),new Map());}[_0x3c7add(0x16b)](_0x1ce524){const _0x560275=_0x3c7add;this[_0x560275(0x130)]=_0x1ce524,this[_0x560275(0xed)][_0x560275(0x232)](_0x1ce524);}[_0x3c7add(0x2c2)](_0x8fd629,_0x3d58e4){const _0x252233=_0x3c7add;if(_0x3d58e4===_0x4aa170[_0x252233(0x28d)][_0x252233(0x2c8)]){let _0x278cfd=new Image();return _0x278cfd[_0x252233(0xc9)]=_0x8fd629,_0x278cfd;}return this[_0x252233(0x103)][_0x252233(0x1fd)](_0x8fd629);}[_0x3c7add(0x172)](_0x3e9c7b,_0x27dbca,_0x362162){const _0x437ddd=_0x3c7add;_0x27dbca===_0x4aa170[_0x437ddd(0x28d)][_0x437ddd(0x2c8)]||_0x362162==null||this[_0x437ddd(0x103)][_0x437ddd(0x38b)](_0x3e9c7b,_0x362162);}async[_0x3c7add(0x3ad)](_0x545838){const _0x59de26=_0x3c7add;try{let _0xb334de=this[_0x59de26(0x20f)](this[_0x59de26(0x108)](),''+_0x545838),_0x45953c=(await this['_httpService']['get'](_0xb334de))[_0x59de26(0xc1)];if(_0x45953c[_0x59de26(0x1f0)]&&_0x45953c[_0x59de26(0x1f0)]['code']===_0x121aa6[_0x59de26(0x23d)]['OK']){let _0x99a187=(0x0,_0x4f2fc5[_0x59de26(0x17c)])(_0x45953c[_0x59de26(0x1f7)],this[_0x59de26(0x308)]());return Promise[_0x59de26(0x15c)](_0x99a187);}return Promise[_0x59de26(0x1e3)](_0x45953c[_0x59de26(0x1f0)]);}catch(_0x5dbd24){return Promise[_0x59de26(0x1e3)](_0x5dbd24);}}async['saveImage'](_0x489578){const _0x521662=_0x3c7add;let _0x112499='';if(!_0x4aa170[_0x521662(0x244)][_0x521662(0x3b9)](_0x489578['type']))return this['_decreaseWaiting'](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0x359)]));if(_0x489578[_0x521662(0x2c3)]>(0x0,_0x4aa170['getDrawingImageAllowSize'])())return this[_0x521662(0x1be)](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0xd9)]));try{let _0x580c74=new FormData();_0x580c74[_0x521662(0x25e)](_0x521662(0x3a3),_0x489578);let _0x5f0130=this[_0x521662(0x243)]['getFocusedUnit'](),_0x5c167e=_0x5f0130==null?void 0x0:_0x5f0130[_0x521662(0x21a)]();if(!_0x5c167e)throw Error(_0x521662(0x2f8));let _0x15939a=this['_getUploadFileURL']()+_0x521662(0x13d)+_0x489578[_0x521662(0x2c3)][_0x521662(0x358)]()+'&source='+_0x121aa6['FileSource']['UnitEmbedded']+_0x521662(0x384)+encodeURIComponent(_0x5c167e),_0xfb9dce={'body':_0x580c74},_0x341623=(await this[_0x521662(0x16a)][_0x521662(0x3d8)](_0x15939a,_0xfb9dce))[_0x521662(0xc1)];if(typeof _0x341623[_0x521662(0x194)]!=_0x521662(0x22c))return this[_0x521662(0x1be)](),Promise[_0x521662(0x1e3)](Error(_0x4aa170[_0x521662(0x204)][_0x521662(0x25c)]));_0x112499=_0x341623[_0x521662(0x194)];}catch{return this['_decreaseWaiting'](),Promise[_0x521662(0x1e3)](Error(_0x4aa170['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x270c09,_0x21acb4)=>{let _0x5d136f=new FileReader();_0x5d136f['readAsDataURL'](_0x489578),_0x5d136f['onload']=_0x5e49d3=>{const _0x5ae63c=_0x4364;var _0x5292d5;let _0x32c405=(_0x5292d5=_0x5e49d3[_0x5ae63c(0x22d)])==null?void 0x0:_0x5292d5['result'];if(_0x32c405==null){this[_0x5ae63c(0x1be)](),_0x21acb4(Error(_0x4aa170['ImageUploadStatusType']['ERROR_IMAGE']));return;}_0x270c09({'imageId':(0x0,_0x4f2fc5[_0x5ae63c(0x393)])(0x6),'imageSourceType':_0x4aa170[_0x5ae63c(0x28d)][_0x5ae63c(0xd4)],'source':_0x112499,'base64Cache':_0x32c405,'status':_0x4aa170['ImageUploadStatusType']['SUCCUSS']}),this[_0x5ae63c(0x1be)]();};});}[_0x3c7add(0x309)](){const _0x563168=_0x3c7add;var _0x5bf68d;let _0x4e4286=this[_0x563168(0x33c)][_0x563168(0x1e1)](_0x11e35b);return(_0x5bf68d=_0x4e4286==null?void 0x0:_0x4e4286[_0x563168(0x368)])==null?'/universer-api/stream/file/upload':_0x5bf68d;}[_0x3c7add(0x108)](){const _0x365370=_0x3c7add;var _0x51d126;let _0x6d52ce=this[_0x365370(0x33c)][_0x365370(0x1e1)](_0x11e35b);return(_0x51d126=_0x6d52ce==null?void 0x0:_0x6d52ce[_0x365370(0x123)])==null?_0x365370(0x171):_0x51d126;}[_0x3c7add(0x308)](){const _0x16a89e=_0x3c7add;var _0x379ffc;let _0x19ff7c=this[_0x16a89e(0x33c)][_0x16a89e(0x1e1)](_0x11e35b);return(_0x379ffc=_0x19ff7c==null?void 0x0:_0x19ff7c['downloadEndpointUrl'])==null?location[_0x16a89e(0x35f)]:_0x379ffc;}[_0x3c7add(0x20f)](_0x12d4d9,_0x1b8268){const _0x24bcdf=_0x3c7add;return _0x12d4d9[_0x24bcdf(0x378)](_0x24bcdf(0x11c),_0x1b8268);}[_0x3c7add(0x1be)](){const _0x3545c2=_0x3c7add;--this[_0x3545c2(0x130)],this[_0x3545c2(0xed)][_0x3545c2(0x232)](this['_waitCount']);}};_0x336bd5=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)])),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x2,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['IUniverInstanceService']))],_0x336bd5);let _0x58af56=class{constructor(_0xa33ea,_0x2b100d){const _0x86cc11=_0x3c7add;this['_configService']=_0xa33ea,this[_0x86cc11(0x137)]=_0x2b100d;}[_0x3c7add(0x352)](){const _0x57f473=_0x3c7add;var _0x4f9503;let _0x3a1526=this[_0x57f473(0x33c)][_0x57f473(0x1e1)](_0x11e35b);return(_0x4f9503=_0x3a1526==null?void 0x0:_0x3a1526['authzUrl'])==null?_0x57f473(0x392):_0x4f9503;}async[_0x3c7add(0x1d4)](_0x84584){const _0x179037=_0x3c7add;let _0xdcbd13=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x179037(0x290),'mentions':(await this['_HTTPService'][_0x179037(0x1fd)](_0xdcbd13,{'params':{'objectID':_0x84584[_0x179037(0x225)],'unitID':_0x84584[_0x179037(0x225)]}}))[_0x179037(0xc1)][_0x179037(0xde)]['map'](_0x1f47ed=>({'objectId':_0x1f47ed['id'],'name':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x3ca)],'metadata':{'icon':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x226)]},'label':_0x1f47ed[_0x179037(0x12c)][_0x179037(0x3ca)],'objectType':_0x4f2fc5[_0x179037(0x3c4)]['PERSON']})),'metadata':{},'type':_0x4f2fc5[_0x179037(0x3c4)][_0x179037(0x350)]}]};}};_0x58af56=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5['IConfigService'])),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x58af56);let _0x4b235c=class extends _0x4f2fc5[_0x3c7add(0x145)]{constructor(_0xd40479,_0x4dd6f6,_0x31b302,_0x5dd351,_0xf9381f){const _0x529017=_0x3c7add;super(),this[_0x529017(0x37b)]=_0xd40479,this['_univerInstanceService']=_0x4dd6f6,this[_0x529017(0x1cb)]=_0x31b302,this['_collaborationSessionService']=_0x5dd351,this[_0x529017(0x264)]=_0xf9381f,this[_0x529017(0x323)](),this[_0x529017(0x110)]();}['_initCloseConn'](){const _0x1af695=_0x3c7add;let _0xb2844f=async _0x2a4e4=>{const _0x3cb70c=_0x4364;(await this[_0x3cb70c(0x322)]['requireSession'](_0x2a4e4))['event$']['pipe']((0x0,_0x5c83a6[_0x3cb70c(0x143)])(_0x3f39c1=>_0x3f39c1[_0x3cb70c(0x1ff)]===_0x597ddf[_0x3cb70c(0xf9)][_0x3cb70c(0x3c3)]),(0x0,_0x5c83a6[_0x3cb70c(0x1fa)])(this['dispose$']))[_0x3cb70c(0x237)](_0x3e2009=>{const _0x3cc2a6=_0x3cb70c;let {reason:_0xc564a4}=_0x3e2009[_0x3cc2a6(0x37e)];this[_0x3cc2a6(0x264)]['emitEvent']({'id':_0x3cc2a6(0x3c9),'data':_0xc564a4}),this['_permissionService'][_0x3cc2a6(0x251)](new _0x575377['WorkbookEditablePermission'](_0x2a4e4)['id'],!0x1),this['_collaborationSessionService'][_0x3cc2a6(0x32c)](_0x2a4e4);});};(0x0,_0x196a42['merge'])(this[_0x1af695(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5['UniverInstanceType'][_0x1af695(0x2a4)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4f2fc5[_0x1af695(0x22e)][_0x1af695(0x2d5)]))[_0x1af695(0x397)]((0x0,_0x5c83a6[_0x1af695(0x192)])(_0x4814b7=>_0x4814b7[_0x1af695(0x1f3)][_0x1af695(0x21a)]()),(0x0,_0x5c83a6[_0x1af695(0x143)])(_0x1fce94=>!(0x0,_0x4f2fc5['isInternalEditorID'])(_0x1fce94)),(0x0,_0x5c83a6[_0x1af695(0x1fa)])(this[_0x1af695(0x163)]))[_0x1af695(0x237)](_0x12e35a=>{_0xb2844f(_0x12e35a);});}[_0x3c7add(0x323)](){const _0x21cf32=_0x3c7add;let _0x42fc25=async _0x2ef73d=>{const _0x23f95d=_0x4364;let _0x2c83c1=await this[_0x23f95d(0x322)][_0x23f95d(0x249)](_0x2ef73d),_0x5f4d46=this[_0x23f95d(0x37b)][_0x23f95d(0x1fd)](_0x575377[_0x23f95d(0x2c5)]);_0x2c83c1[_0x23f95d(0x211)][_0x23f95d(0x397)]((0x0,_0x5c83a6[_0x23f95d(0x143)])(_0x54bb07=>_0x54bb07['eventID']===_0x597ddf[_0x23f95d(0xf9)][_0x23f95d(0x1dc)]),(0x0,_0x5c83a6['takeUntil'])(this[_0x23f95d(0x163)]))['subscribe'](_0x33a452=>{const _0x4f9b69=_0x23f95d;let {objectId:_0x20ff6b}=_0x33a452['data'];_0x20ff6b===_0x2ef73d?_0x5f4d46[_0x4f9b69(0x1a7)](_0x2ef73d):_0x5f4d46[_0x4f9b69(0x131)](_0x2ef73d,_0x20ff6b);});};(0x0,_0x196a42[_0x21cf32(0x1b5)])(this[_0x21cf32(0x243)]['getTypeOfUnitAdded$'](_0x4f2fc5[_0x21cf32(0x22e)][_0x21cf32(0x2a4)]))[_0x21cf32(0x397)]((0x0,_0x5c83a6[_0x21cf32(0x192)])(_0x3ddc30=>_0x3ddc30[_0x21cf32(0x1f3)][_0x21cf32(0x21a)]()),(0x0,_0x5c83a6[_0x21cf32(0x143)])(_0x588972=>!(0x0,_0x4f2fc5['isInternalEditorID'])(_0x588972)),(0x0,_0x5c83a6[_0x21cf32(0x1fa)])(this[_0x21cf32(0x163)]))[_0x21cf32(0x237)](_0x1f2137=>{_0x42fc25(_0x1f2137);});}};_0x4b235c=_0x38f352([_0x78c766(0x0,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x1,_0x4f2fc5['IUniverInstanceService']),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x1c4)]),_0x78c766(0x3,(0x0,_0x4f2fc5['Inject'])(_0x5af92e)),_0x78c766(0x4,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x20d828))],_0x4b235c);let _0x25e92a=class{constructor(_0x33d6a1,_0x3fe7f4){const _0x12325d=_0x3c7add;this[_0x12325d(0x33c)]=_0x33d6a1,this['_httpService']=_0x3fe7f4;}async['getUnitOnRev'](_0x363418,_0x414fdc){const _0x3aa396=_0x3c7add;var _0x2c5194;let {unitID:_0x597c8b,type:_0x55fb24,revision:_0x5b4e6a=0x0}=_0x414fdc,_0x4fa2f7=this[_0x3aa396(0x128)]()+'/'+_0x55fb24+_0x3aa396(0x221)+_0x597c8b+_0x3aa396(0x3cb)+_0x5b4e6a,_0x111cfc=(await this[_0x3aa396(0x16a)][_0x3aa396(0x1fd)](_0x4fa2f7))[_0x3aa396(0xc1)],_0x1ddb99=(_0x2c5194=_0x111cfc[_0x3aa396(0x13f)])==null?void 0x0:_0x2c5194[_0x3aa396(0x153)];if(_0x1ddb99){let _0x2e768d=_0x1ddb99==null?void 0x0:_0x1ddb99[_0x3aa396(0x324)];_0x1ddb99[_0x3aa396(0x324)]=_0x597ddf[_0x3aa396(0x331)][_0x3aa396(0xea)]((0x0,_0x597ddf[_0x3aa396(0x260)])(_0x2e768d)),Object[_0x3aa396(0x233)](_0x1ddb99[_0x3aa396(0x219)])[_0x3aa396(0x253)](([,_0x1d0510])=>{const _0x369ce7=_0x3aa396;let _0x21f44c=_0x1d0510[_0x369ce7(0x324)];_0x1d0510[_0x369ce7(0x324)]=_0x597ddf[_0x369ce7(0x331)][_0x369ce7(0xea)]((0x0,_0x597ddf[_0x369ce7(0x260)])(_0x21f44c));});}return _0x111cfc;}async[_0x3c7add(0x276)](_0x560c39,_0x2e7237){const _0x1d6fa8=_0x3c7add;let {unitID:_0x4e01c8,type:_0x2d46bd,blockID:_0xa8a4cf}=_0x2e7237,_0x5a12a7=this[_0x1d6fa8(0x27d)]()+'/'+_0x2d46bd+'/unit/'+_0x4e01c8+_0x1d6fa8(0x32e)+_0xa8a4cf;return(await this[_0x1d6fa8(0x16a)][_0x1d6fa8(0x1fd)](_0x5a12a7))[_0x1d6fa8(0xc1)];}async[_0x3c7add(0xf1)](_0x1915ae,_0x197b41){const _0x2d6d50=_0x3c7add;let {unitID:_0x2204c4,type:_0x2607e8,blockID:_0x2f1df0}=_0x197b41,_0x530da0=this[_0x2d6d50(0x27d)]()+'/block/'+_0x2607e8+_0x2d6d50(0x221)+_0x2204c4+_0x2d6d50(0x32e)+_0x2f1df0;return(await this[_0x2d6d50(0x16a)][_0x2d6d50(0x1fd)](_0x530da0))[_0x2d6d50(0xc1)];}async[_0x3c7add(0x303)](_0x8a5f4c,_0x18e6ba){const _0x34f662=_0x3c7add;let {unitID:_0x217a9c,type:_0x4a4387,from:_0x296c72,to:_0xd73997}=_0x18e6ba,_0x46f392=this[_0x34f662(0x27d)]()+'/'+_0x4a4387+'/unit/'+_0x217a9c+_0x34f662(0x2d6)+_0x296c72+_0x34f662(0x299)+_0xd73997;return(await this[_0x34f662(0x16a)][_0x34f662(0x1fd)](_0x46f392))['body'];}[_0x3c7add(0x128)](){const _0x1b6154=_0x3c7add;var _0xadc2ea;return(_0xadc2ea=this[_0x1b6154(0x33c)][_0x1b6154(0x1e1)](_0x1b6154(0x376)))==null?this['_getAPIPrefix']():_0xadc2ea;}[_0x3c7add(0x27d)](){const _0x2fc50d=_0x3c7add;var _0x3d7ab9;let _0x44ac27=this[_0x2fc50d(0x33c)]['getConfig'](_0x11e35b);return(_0x3d7ab9=_0x44ac27==null?void 0x0:_0x44ac27[_0x2fc50d(0xc5)])==null?'/universer-api/snapshot':_0x3d7ab9;}async[_0x3c7add(0x29c)](_0x3a25ca,_0x3c2766){const _0x20531a=_0x3c7add;let _0x370997='/universer-api/snapshot/'+_0x3c2766[_0x20531a(0x3c8)]+_0x20531a(0x221)+_0x3c2766[_0x20531a(0x11a)]+_0x20531a(0x348);return(await this[_0x20531a(0x16a)][_0x20531a(0x1fd)](_0x370997,{'params':{'resourceId':JSON[_0x20531a(0x265)](_0x3c2766[_0x20531a(0x3a8)])}}))[_0x20531a(0xc1)];}[_0x3c7add(0x35b)](){const _0x889898=_0x3c7add;throw Error(_0x889898(0x2be));}[_0x3c7add(0x162)](){const _0x34dbc8=_0x3c7add;throw Error(_0x34dbc8(0x2be));}[_0x3c7add(0x2a2)](){const _0x5b9982=_0x3c7add;throw Error(_0x5b9982(0x2be));}['saveChangeset'](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3c7add(0xcc)](){const _0x2a90c6=_0x3c7add;throw Error(_0x2a90c6(0x2be));}[_0x3c7add(0x34d)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0x25e92a=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x312)]),_0x78c766(0x1,(0x0,_0x4f2fc5[_0x3c7add(0x24f)])(_0x4fa7e8[_0x3c7add(0xf3)]))],_0x25e92a);let _0xe132f=class extends _0x4f2fc5[_0x3c7add(0x17b)]{constructor(_0x2a7c6a,_0x566d71,_0x3e884a,_0x366722,_0x2546b3){const _0xd1a473=_0x3c7add;super(_0x2a7c6a,_0x566d71,_0x3e884a),this[_0xd1a473(0x220)]=_0x366722,this[_0xd1a473(0x10b)]=_0x2546b3;}['transformUndoRedo'](_0x1d3e89,_0x268f20){const _0x3cb3b7=_0x3c7add;let _0x4cdb33=this['_getUndoStack'](_0x1d3e89);if(_0x4cdb33)try{let _0x2988ac=this['_transformStack'](_0x4cdb33,_0x268f20);this[_0x3cb3b7(0xf5)](_0x1d3e89,_0x2988ac);}catch(_0x5d6932){this[_0x3cb3b7(0x10b)][_0x3cb3b7(0x1f0)]('[CollaborationUndoRedoService]',_0x5d6932),this[_0x3cb3b7(0x1db)](_0x1d3e89);}let _0x412f80=this['_getRedoStack'](_0x1d3e89);if(_0x412f80)try{let _0x5e8523=this[_0x3cb3b7(0x353)](_0x412f80,_0x268f20);this[_0x3cb3b7(0x197)](_0x1d3e89,_0x5e8523);}catch(_0x5bab2a){this['_logService'][_0x3cb3b7(0x1f0)](_0x5bab2a),this[_0x3cb3b7(0x11f)](_0x1d3e89);}}[_0x3c7add(0x1db)](_0x1e7dcd){const _0x3e6cbd=_0x3c7add;let _0x4af9e7=this['_getUndoStack'](_0x1e7dcd);_0x4af9e7&&(_0x4af9e7['length']=0x0,this[_0x3e6cbd(0x149)]());}[_0x3c7add(0x11f)](_0x51e4ac){const _0x2443a5=_0x3c7add;let _0x22f431=this['_getRedoStack'](_0x51e4ac);_0x22f431&&(_0x22f431[_0x2443a5(0x3a4)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xdc733,_0x104d9c){const _0x13249a=_0x3c7add;this['_undoStacks'][_0x13249a(0x38b)](_0xdc733,_0x104d9c),this[_0x13249a(0x149)]();}['_substituteRedoStack'](_0x13d30c,_0x1772da){const _0x4aa039=_0x3c7add;this[_0x4aa039(0x133)][_0x4aa039(0x38b)](_0x13d30c,_0x1772da),this['_updateStatus']();}[_0x3c7add(0x353)](_0x93f865,_0xcd03f4){const _0x562e4e=_0x3c7add;let _0x3f953e=[],_0x5c680d=_0xcd03f4,_0x3e74f3=_0xcd03f4;for(let _0x101529=_0x93f865[_0x562e4e(0x3a4)]-0x1;_0x101529>=0x0;_0x101529--){let {unitID:_0x4e2b50,undoMutations:_0x2d1d8f,redoMutations:_0x1433bd}=_0x93f865[_0x101529],_0x322a97=this[_0x562e4e(0x220)][_0x562e4e(0x1a1)](_0x5c680d,_0x2d1d8f),_0x364b8f=this['_transformService']['transformMutationsWithChangeset'](_0x3e74f3,_0x1433bd);if((0x0,_0x597ddf[_0x562e4e(0x218)])(_0x322a97)||(0x0,_0x597ddf[_0x562e4e(0x218)])(_0x364b8f)){this[_0x562e4e(0x10b)][_0x562e4e(0x1f0)](_0x562e4e(0x32d),_0x562e4e(0xd2),_0x322a97,_0x364b8f);break;}_0x5c680d=_0x322a97[_0x562e4e(0x23f)],_0x3e74f3=_0x364b8f[_0x562e4e(0x23f)],_0x3f953e['push']({'unitID':_0x4e2b50,'undoMutations':_0x322a97[_0x562e4e(0x3bc)],'redoMutations':_0x364b8f[_0x562e4e(0x3bc)]});}return _0x3f953e['reverse']();}};_0xe132f=_0x38f352([_0x78c766(0x0,_0x4f2fc5[_0x3c7add(0x1d0)]),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0x2e1)]),_0x78c766(0x2,_0x4f2fc5[_0x3c7add(0x167)]),_0x78c766(0x3,_0x597ddf[_0x3c7add(0x12e)]),_0x78c766(0x4,_0x4f2fc5['ILogService'])],_0xe132f);let _0x5bec0b=class extends _0x4f2fc5['Plugin']{constructor(_0x56ff72={},_0x1f0805,_0x19f739,_0x50cef2){const _0x2db7e2=_0x3c7add;super(),this[_0x2db7e2(0x116)]=_0x56ff72,this[_0x2db7e2(0x10b)]=_0x1f0805,this[_0x2db7e2(0x37b)]=_0x19f739,this['_configService']=_0x50cef2;let {..._0xd9eaf5}=(0x0,_0x4f2fc5[_0x2db7e2(0x1b5)])({},_0xdd2c56,_0x56ff72);if(!_0xd9eaf5[_0x2db7e2(0x31f)])throw Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2db7e2(0x116)]=_0xd9eaf5,this[_0x2db7e2(0x33c)][_0x2db7e2(0x18d)](_0x11e35b,_0xd9eaf5);}[_0x3c7add(0x246)](){const _0x106cc6=_0x3c7add;this['_registerDependencies'](),this[_0x106cc6(0x2b3)]();}['_registerDependencies'](){const _0x3e8165=_0x3c7add;var _0x13e4fb,_0x362753;this['_injector'][_0x3e8165(0x22a)](_0x4f2fc5[_0x3e8165(0x2c0)])&&this[_0x3e8165(0x10b)]['error'](_0x3e8165(0x182),_0x3e8165(0x2e3));let _0x4cd1df=(0x0,_0x4f2fc5['mergeOverrideWithDependencies'])([[_0x4f2fc5['IUndoRedoService'],{'useClass':_0xe132f}],[_0x5af92e],[_0x359f82],[_0x479f64],[_0x3b4d7a],[_0x213b55],[_0x2ea459],[_0x4b235c],[_0x20d828],[_0x3090fa],[_0x2a6fcc,{'useClass':this[_0x3e8165(0x116)][_0x3e8165(0x31f)]}],[_0x597ddf[_0x3e8165(0x2bb)],{'useClass':_0x25e92a}],[_0x4f2fc5[_0x3e8165(0x1b7)],{'useClass':_0x510ca4}],[_0x4aa170[_0x3e8165(0x1d2)],{'useClass':_0x336bd5}],[_0x4f2fc5[_0x3e8165(0x1bf)],{'useClass':_0x58af56}],[_0x384fde],[_0x5a42c3]],(_0x13e4fb=this[_0x3e8165(0x116)])==null?void 0x0:_0x13e4fb[_0x3e8165(0x10f)]);if(!((_0x362753=this[_0x3e8165(0x116)])!=null&&_0x362753[_0x3e8165(0x17e)])){let _0x3d3f54=_0x4cd1df[_0x3e8165(0x2d1)](([_0x2135be])=>_0x2135be===_0x546860);_0x3d3f54!==-0x1&&_0x4cd1df[_0x3e8165(0x1c8)](_0x3d3f54,0x1);}(0x0,_0x4f2fc5['registerDependencies'])(this[_0x3e8165(0x37b)],_0x4cd1df);}[_0x3c7add(0x2b3)](){const _0x3a5f2a=_0x3c7add;var _0x5ce6ab,_0x1a1934;if(this['_injector']['get'](_0x4fa7e8[_0x3a5f2a(0xf3)])[_0x3a5f2a(0x26a)]({'priority':0x14,'interceptor':(0x0,_0x4fa7e8[_0x3a5f2a(0x36d)])({'maxParallel':0x6})}),!((_0x5ce6ab=this[_0x3a5f2a(0x116)])!=null&&_0x5ce6ab['enableOfflineEditing'])){var _0x2dc387;(_0x2dc387=this[_0x3a5f2a(0x37b)]['get'](_0x54dcc4,_0x4f2fc5[_0x3a5f2a(0x122)][_0x3a5f2a(0x186)]))==null||_0x2dc387[_0x3a5f2a(0x316)]();}(_0x1a1934=this[_0x3a5f2a(0x116)])!=null&&_0x1a1934['enableAuthServer']&&(0x0,_0x4f2fc5[_0x3a5f2a(0x174)])(this['_injector'],[[_0x3b4d7a]]),(0x0,_0x4f2fc5[_0x3a5f2a(0x174)])(this[_0x3a5f2a(0x37b)],[[_0x213b55],[_0x384fde],[_0x4b235c]]);}};_0x45730e(_0x5bec0b,_0x3c7add(0x2f9),_0x3c7add(0x1f6)),_0x45730e(_0x5bec0b,_0x3c7add(0x3ab),_0x34e3ba),_0x45730e(_0x5bec0b,_0x3c7add(0x190),_0x3d82eb),_0x5bec0b=_0x38f352([(0x0,_0x4f2fc5[_0x3c7add(0x2ca)])(_0x4a0b74['UniverLicensePlugin'],_0x597ddf[_0x3c7add(0x2aa)],_0x4fa7e8[_0x3c7add(0x38a)]),_0x78c766(0x1,_0x4f2fc5[_0x3c7add(0xd1)]),_0x78c766(0x2,(0x0,_0x4f2fc5['Inject'])(_0x4f2fc5[_0x3c7add(0xfe)])),_0x78c766(0x3,_0x4f2fc5[_0x3c7add(0x312)])],_0x5bec0b),Object[_0x3c7add(0x2ab)](_0x10f62c,'AuthzIoHttpService',{'enumerable':!0x0,'get':function(){return _0x510ca4;}}),Object['defineProperty'](_0x10f62c,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x441552;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3d4),{'enumerable':!0x0,'get':function(){return _0x2a0e64;}}),_0x10f62c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x11e35b,Object[_0x3c7add(0x2ab)](_0x10f62c,'CollaborationController',{'enumerable':!0x0,'get':function(){return _0x384fde;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x2d9),{'enumerable':!0x0,'get':function(){return _0x137310;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x29e),{'enumerable':!0x0,'get':function(){return _0x336bd5;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x191),{'enumerable':!0x0,'get':function(){return _0x1d1b7a;}}),Object['defineProperty'](_0x10f62c,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x5af92e;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x1c9),{'enumerable':!0x0,'get':function(){return _0x3d275e;}}),_0x10f62c[_0x3c7add(0x38d)]=_0xe9e27d,_0x10f62c[_0x3c7add(0x2f2)]=_0x403eeb,_0x10f62c[_0x3c7add(0x35e)]=_0x20d828,Object[_0x3c7add(0x2ab)](_0x10f62c,'CollaborativeUndoRedoService',{'enumerable':!0x0,'get':function(){return _0xe132f;}}),_0x10f62c[_0x3c7add(0x178)]=_0x2ea459,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x380),{'enumerable':!0x0,'get':function(){return _0x2cb513;}}),_0x10f62c[_0x3c7add(0xd0)]=_0x40bad1,_0x10f62c[_0x3c7add(0x27f)]=_0x3c7add(0x2b5),_0x10f62c[_0x3c7add(0x2b0)]=_0x3c7add(0x141),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x390),{'enumerable':!0x0,'get':function(){return _0x3090fa;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x2ad),{'enumerable':!0x0,'get':function(){return _0x44307b;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x183),{'enumerable':!0x0,'get':function(){return _0x47f959;}}),_0x10f62c[_0x3c7add(0x170)]=_0x3c7add(0x2a9),_0x10f62c[_0x3c7add(0x126)]=_0x3c7add(0xf2),_0x10f62c[_0x3c7add(0x287)]=_0x2a6fcc,_0x10f62c[_0x3c7add(0x165)]=_0x54dcc4,_0x10f62c[_0x3c7add(0x1a4)]=_0x5984c8,_0x10f62c[_0x3c7add(0x34a)]=_0x546860,_0x10f62c[_0x3c7add(0x2eb)]=0x3e8,_0x10f62c[_0x3c7add(0x3ac)]=_0x3c7add(0x2eb),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x379),{'enumerable':!0x0,'get':function(){return _0x359f82;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x3c5),{'enumerable':!0x0,'get':function(){return _0x58af56;}}),Object['defineProperty'](_0x10f62c,_0x3c7add(0x319),{'enumerable':!0x0,'get':function(){return _0x405ee9;}}),Object['defineProperty'](_0x10f62c,'PendingState',{'enumerable':!0x0,'get':function(){return _0x2c2e17;}}),_0x10f62c[_0x3c7add(0x3be)]=_0x3c7add(0x302),_0x10f62c['RETRY_CONNECTING_MAX_COUNT_KEY']='RETRY_CONNECTING_MAX_COUNT',_0x10f62c[_0x3c7add(0x1e0)]=_0x2a7e6c,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x314),{'enumerable':!0x0,'get':function(){return _0xb49add;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3dc),{'enumerable':!0x0,'get':function(){return _0x479f64;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3a9),{'enumerable':!0x0,'get':function(){return _0x25e92a;}}),Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x104),{'enumerable':!0x0,'get':function(){return _0x2168a9;}}),_0x10f62c[_0x3c7add(0x125)]=_0x2e8335,Object[_0x3c7add(0x2ab)](_0x10f62c,_0x3c7add(0x3a0),{'enumerable':!0x0,'get':function(){return _0x5bec0b;}}),_0x10f62c[_0x3c7add(0x2e2)]=_0x3e0e79,_0x10f62c['getLocalCacheKey']=_0x58d90e,_0x10f62c[_0x3c7add(0x1b8)]=_0x14d4cf;}));function _0x4379(){const _0x115756=['batchAllowed','LIVESHARE_TERMINATE','max','updateCollaborator','parse','COMMENT_UPDATE','IConfigService','executeCommand','SheetCollaborationEntity','session.join-failed','disableLocalCache','OFFLINE','localCacheService','OfflineState','collaboration_new_changeset','message$','_entityInit$','_resendWithTimeout','CombCmd','socketService','onTransformIME','334oXUYqM','_collaborationSessionService','_initUnitPermissionChange','originalMeta','_maxTotalRetryTimeout','_transformAndApplyRemoteChangeset','_fetchMissChangesets','MergeInterceptorFactory','title','add','InsertSheetMutation','closeSession','[CollaborationUndoRedoService]','/block/','_handleRemoteChangesets','selections','textEncoder','fromCharCode','byteOffset','_showConflictNotification','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','fromCollab','sessionStatus','enableCollaboration','method','/role','_configService','location','_type','from','deepClone','_sessions','responseType','every','isTransformMutationsWithChangesetSuccess','_clearTimeoutTimer','onTransformState','_event$','/resources','_rescheduleHeartbeat','ISingleActiveUnitService','JOIN_ROOM_FULL','collabWebSocketUrl','getLatestCsReqIdBySid','updateCursorEvent','shareReplay','PERSON','getCollabEntity','_getAPIPrefixPath','_transformStack','PERMISSION_DENIED','_timeoutTimer','ReplaySubject','_onJoinRoomEvent','toString','ERROR_IMAGE_TYPE','\x20in\x20_schedule.','saveSnapshot','3809817bIxteS','parseChangesetToProtocol','CollaborationUIEventService','origin','_removeRoom','[OfflineState]:\x20received\x20changeset.','submit\x20changeset\x20error!','[CollaborationEntity]','floor','emitEvent','_userManagerService','/allowed','uploadFileServerUrl','@univerjs-pro/collaboration-client','_retryCount','values','13682096qKegTT','ThresholdInterceptorFactory','setShowComponents','removeMember','getAllMembers','focused$','newCsEvent','getTypeOfUnitAdded$','onRemoteRej','SUBMIT_CHANGESET','SNAPSHOT_URL_KEY','_exhaustRemoteChangesetQueue','replace','MemberService','_init','_injector','objectType','UniverSheets','data','HELLO','ConflictState','_clearRetryConnectingTimer','univer-pro.collaboration-client.single-active-unit-service','RichTextEditingMutation','&assign=','_throwTelemetryCollaborationNewChangeset','getRoom','encrypt','amd','POST','UniverNetworkPlugin','set','[CollaborationSession]','CollaborationStatus','_unlockTransition','failed\x20to\x20apply\x20missed\x20changesets!','DataLoaderService','OTHER_CLIENTS_EDITING','/universer-api/authz','generateRandomId','_entities','_executeRemoteChangeset','fetch_missing','pipe','\x0aCurrent:\x20','_sendHeartbeatTimer','session.room-cnt-exceeds','49441650aimCfl','FAIL','_state','_revisionService','objects','UniverCollaborationClientPlugin','_acknowledgeAwaiting','decrypt','file','length','putCollaborators','_onOffline','buffer','resourceIDs','SnapshotServerOverHTTPService','_onRemoteRetry','packageName','LOCAL_CACHE_INTERVAL_KEY','getImage','_clearLocalCache','min','HEARTBEAT','disposeWithMe','LocaleService','rev','_telemetryInfo','_incrementRevisionNumber','@univerjs-pro/collaboration','unknown','csRejEvent','includes','reqId','call','m2Prime','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OTHER_CLIENT_EDITING','/collaborator','members$','CmdRspCode','SHOULD_CLOSE_CONN','MentionType','MentionIoHttpService','_sessionStatus$','_instanceService','type','CLOSE_ROOM','name','/rev/','telemetry\x20info\x20is\x20not\x20initialized','listRoles','_state$','_updateLocalCache','_changesetSessionId','getCfgEnableObjInherit','DEFAULT_FILE_NAME','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','AwaitingWithPendingState','byteLength','csAckEvent','EmptyMutationInfo','post','concatMap','UniverTelemetry','onLocalMutation','SheetTransformSelectionsService','indexOf','startsWith','getOwnPropertyDescriptor','_toggleOffline','_clearCollaborationTimeoutTimer','collaMsg','AWAITING','_onRemoteRejected','readyForCollab','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','Optional','hostname','body','toStringTag','MSG_FOR_ERROR','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','snapshotServerUrl','asObservable','_createInitialState','_stopTelemetryCollaborationNewChangeset','src','x-univer-host','updatePermissionObjEvent','copyFileMeta','[OfflineState]:\x20received\x20acknowledgement.','editing\x20status\x20changed\x20to','_members','DEFAULT_COLLAB_WEB_SOCKET_URL','ILogService','transformStack\x20failed!','invalid\x20output,\x20must\x20be\x20aligned','UUID','_getSendChangesetTimeout','@univerjs/network','_queuedRemoteChangesets','CONFLICT','ERROR_EXCEED_SIZE','change$','params','_unitID','getMemberID','collaborators','JSONX','_startTelemetryCollaborationNewChangeset','_retryConnectingTimer','charCodeAt','status$','aes/pkcs7:\x20wrong\x20padding','actions','objectActions','tagLength','LEAVE','\x0aAfter:\x20','encode','_onUserLeave','_changesetReqId','_change$','29409hiIbKc','114HKqyAW','_transformSelections','getDeserializedSheetBlock','HEARTBEAT_TIMEOUT','HTTPService','univer-pro.collaboration-client-socket-service','_substituteUndoStack','JOIN_ROOM_PERMISSION_DENIED','type=','getTime','CollaborationEvent','CHANGESET_REJ','operators','_snapshotService','IDLE','Injector','unit-cache-','setCurrentUser','_eventService','?url=','_imageSourceCache','SyncedState','MUTATION','UniverDocs','_roomMembers','_getSignURL','reconnect','_snapshotServerService','_logService','fetchMiss','transformUndoRedo','UPDATE_CURSOR','override','_initCloseConn','_commandService','ONLINE','close$','Uint8Array','some','_config','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_getCurrentRevision','0.25.0','unitID','getCurrentUser','{fileID}','LIVESHARE_REQUEST_HOST','GLOBAL_ROOMS_CNT_EXCEEDS','_clearRedo','onSyncEditingCollabCursor','USERS_LEAVE','Quantity','signUrlServerUrl','routeKey','UnitStatus','HEARTBEAT_TIMEOUT_KEY','getGlobalObject','getSnapshotAPIPath','_singleActiveUnitService','_localCacheService','DisposableCollection','subject','_replayCachedMutations','ITransformService','Workbook','_waitCount','refreshPermission','INGEST','_redoStacks','UniverCore','_sendHeartbeat','_clearHeartbeatTimer','_HTTPService','collaboratorID','getCurrentRevOfUnit','_shouldReportTelemetry','_disableEditing','_transitionLocked','?size=','_listenToNetworkCondition','snapshot','_telemetryService','/universer-api/user/session-ticket','getInterceptPoints','filter','_tryEnsureSocket','RxDisposable','compose','[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.','ISocketService','_updateStatus','symbol','isPermissionRej','_syncEditingCollabCursor','[FetchMissState]','awaiting','state','[CollaborationSessionService]:\x20socket\x20error','fetching\x20missing\x20changesets\x20from\x20','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','workbook','/universer-api/oidc/authpage','missingChangesets','getSheetId','loadSheet','SnapshotService','@univerjs/drawing','conflict','COMPRESS_MUTATION_APPLY','resolve','resend','createSocket','withCredentials','_initRequestHeader','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','updateSnapshot','dispose$','toDisposable','ILocalCacheService','_memberService','IContextService','_handler','LIVESHARE_OPERATION','_httpService','setWaitCount','function','UniverProLicense','number','permissionRejEvent','HEARTBEAT_INTERVAL_KEY','/universer-api/file/{fileID}/sign-url','addImageSourceCache','updateOfflineData','touchDependencies','code','onlyLocal','RETRY_CONNECTING_MAX_COUNT','CommentService','_schedule','Wrong\x20sbox\x20length','LocalUndoRedoService','resolveWithBasePath','_sendingTimer','enableSingleActiveInstanceLock','subarray','close','onTransformRemoteChangesetByIMECache','[UniverCollaborationClientPlugin]','FetchingMissState','@univerjs-pro/license','JOIN_ROOM_FAILED','OPTIONAL','collaboration-client.local-cache-service','sessionStatus$','_roomCreated$','_onLocalMutation','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','_compressMutationService','setConfig','@univerjs/core','offline','version','CollaborationSession','map','_unitInfo$','FileId','_sheetTransformSelectionsService','_status$','_substituteRedoStack','onCommentUpdate','_initMergeInterceptor','addHandlerCallback','send','[OfflineState]:\x20received\x20rejection.','_tryReconnect','getCurrentSelections','init','isArray','transformMutationsWithChangeset','status','_commentService','INetworkConditionService','appendMutation','SYNCED','initWorkbookPermissionChange','changesets','_scheduleCompleteTimestamp','_collabSessionService','getUnitType','toggleOnline','onRemoteRetry','loginUrlKey','onMissedChangesetFetched','getTypeOfUnitDisposed$','FETCH_MISS','HTTPRequest','Tools','authzUrl','merge','updateMember','IAuthzIoService','serializeCombRequest','_clearScheduledTask','_transformRemoteChangesetByStateCache','find','error$','UNISCRIPT_RUN','_decreaseWaiting','IMentionIOService','capture','sort','_onMessage','editingUnit','IPermissionService','reduce','_onCombEvent','JOINING','splice','CollaborationSocketService','_transformRemoteChangesetByIMECache','_permissionService','/-/object/-/batch_allowed','_checkMissing','[SyncedState]:\x20received\x20rejection.','catch','IUniverInstanceService','retryConnectingInterval','IImageIoService','LIVESHARE_NEW_HOST','list','pending','create','clear','stopTime','isSafeInteger','rxjs/operators','_clearUndo','UPDATE_PERMISSION_OBJ','_pendingMutations','unitInfo$','_onRemoteACK','SessionStatus','getConfig','4zsiIcI','reject','assign','now','uniscriptRunEvent','mapDocumentTypeToUniverInstanceType','rxjs','deleteCollaborator','RECV','mutations','ws://127.0.0.1:8000/universer-api/comb/connect','collabSubmitChangesetUrl','synced','Error\x20on\x20receiving\x20event','error','_socket','onTransformRemoteChangesetByStateCache','unit','FETCH_MISSING','getWorkbookSelections','UNIVER_COLLABORATION_CLIENT_PLUGIN','url','liveShareOperation','_socket$','takeUntil','_sender','_transformStateCache','get','2709835GBNhad','eventID','_createInitialStateImpl','547384WLpcHF','dispose','NEW_CHANGESETS','ImageUploadStatusType','_candidateSocket','_startCollaboration','_acknowledgeAwaitingIfReady','incrementRevOfUnit','_toggleOnline','joinRsp','connection\x20error','loadOfflineData','_socketService','287889onbYXS','_replaceFileID','Disposable','event$','_collaborationPaused','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','@univerjs/docs','onMissingChangesets','_awaitingChangeset','/universer-api/comb','isTransformMutationsWithChangesetFailure','sheets','getUnitId','not_collab','firstValueFrom','_isPermissionRej','varSizeNonce','key','_transformService','/unit/','_joinRoom','_collaborationTimeoutTimer','@univerjs/protocol','unitId','avatar','localeService','UniverNetwork','_resendTimer','has','SUBMIT_CHANGESET_TIMEOUT','string','target','UniverInstanceType','@univerjs/telemetry','session','subUnitId','next','entries','_onConnectionOpen','_socketMessageSubscription','href','subscribe','exports','toggleOffline','[CollaborationSessionService]','_localeService','_updateState','ErrorCode','objectID','c1Prime','getCollabEntity$','onRemoteChangeset','createInstance','_univerInstanceService','DRAWING_IMAGE_ALLOW_IMAGE_LIST','cipher\x20output\x20not\x20supported','onStarting','shouldCloseConn','unsubscribe','requireSession','[PendingState]:\x20received\x20acknowledgement.','sendChangesetTimeout','infoRsp','socket\x20close','_onUserJoin','Inject','AWAITING_WITH_PENDING','updatePermissionPoint','uuidv4','forEach','_onConflict','getMember','SetSelectionsOperation','UniverDrawing','crypto.getRandomValues\x20must\x20be\x20defined','_onRemoteChangeset','delete','USERS_ENTER','ERROR_IMAGE','\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length=','append','constructor','b64DecodeUnicode','RevisionService','ITelemetryService','_doCreateSocket','_collaborationUIEventService','stringify','parseProtocolChangeset','createIdentifier','getActiveSheet','_handlerCallback','registerHTTPInterceptor','_emitMembers','memberID','onSendChangeset','push','\x20-\x20','cmd','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socketReady','session.room-full','Subject','__Key__','getSheetBlock','_onFetchMissResult','SOCKET_FAILED','_applyRemoteChangeset','awaitingChangeset','[CollaborationState]:\x20apply\x20error!','Module','_getAPIPrefix','socket\x20open.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','open$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','textRanges','\x20of\x20length\x20','_isEchoedAwaitingChangeset','_createSocket','Rectangle','ICollaborationSocketService','UniverProtocol','positive\x20integer\x20expected,\x20got\x20','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createHandler','ImageSourceType','output','slice','People','fetchThroughInterceptors','_submitChangeset','collaboration-client.config','liveShareNewHost','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','baseRev','csShouldRetryEvent','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','&to=','NO_OTHER_CLIENTS_EDITING','BYTES_PER_ELEMENT','getResourcesRequest','CompressMutationService','CollaborationImageIoService','SOCKET_FAILED_RETRY','allowed','object','saveSheetBlock','awaiting_with_pending','UNIVER_SHEET','delay','PENDING','take','commentUpdateEvent','HEARTBEAT_INTERVAL','UniverCollaborationPlugin','defineProperty','CHANGESET_SHOULD_RETRY','DocCollaborationEntity','getValue','number\x20expected,\x20got\x20','DEFAULT_WS_SESSION_TICKET_URL','requestParams','onMutationExecutedForCollab','_initDependencies','listCollaborators','/universer-api/uniscript','/object/','setCfgEnableObjInherit','socket$','_transformIMECache','AAD','ISnapshotServerService','[DataLoaderService]','_onConnectionFailed','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','userID','IUndoRedoService','interceptor','getImageSourceCache','size','_cfgEnableObjInherit','SheetPermissionInitController','commentUpdate$','_resendTimeout','BASE64','leaveEvent','DependentOn','state$','BehaviorSubject','onTransformSelections','_networkConditionService','roles','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','findIndex','_onRecvEvent','LIVESHARE_FETCH_OPERATIONS','onRemoteAck','UNIVER_DOC','/fetchmissing?from=','range','_waitForHeartbeatResponse','CollaborationEntity','sequenceExecute','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_commentUpdate$','nonceLength','PERMISSION_REJ','_transformUndoredo','_getLoginPath','ICommandService','deserializeToCombResponse','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_undoRedoService','revision','isView','WorkbookEditablePermission','headers','session.room-not-exists','startTime','LOCAL_CACHE_INTERVAL','debug','_members$','JOIN','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getRandomValues','roomInfos','CollaborationUIEventId','transformChangesets','[PendingState]:\x20unhandled\x20univer\x20type:\x20','univer-pro.collaboration-client.network-condition.service','isTransformChangesetsSuccess','__splitChunk__','unitId\x20is\x20not\x20found','pluginName','confirm','_acknowledgedAwaitingRevision','result','complete','COMPRESS_MUTATION_SEND','nonce','decorate','/-/object/list','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fetchMissingChangesets','_remoteChangesetQueue','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-permission-denied','_lockTransition','_getDownloadEndpointURL','_getUploadFileURL','sid','/new_changes'];_0x4379=function(){return _0x115756;};return _0x4379();}
|
|
2
|
+
(function(_0x2404bf,_0x2a3492){const _0x5ff4f5=_0x1555,_0x523978=_0x2404bf();while(!![]){try{const _0x1a7b58=-parseInt(_0x5ff4f5(0x332))/0x1*(parseInt(_0x5ff4f5(0x2c4))/0x2)+parseInt(_0x5ff4f5(0x2ec))/0x3*(-parseInt(_0x5ff4f5(0x377))/0x4)+parseInt(_0x5ff4f5(0x36c))/0x5+-parseInt(_0x5ff4f5(0x147))/0x6*(-parseInt(_0x5ff4f5(0x207))/0x7)+-parseInt(_0x5ff4f5(0x138))/0x8+parseInt(_0x5ff4f5(0x3a3))/0x9*(parseInt(_0x5ff4f5(0x2b9))/0xa)+-parseInt(_0x5ff4f5(0x365))/0xb*(-parseInt(_0x5ff4f5(0xc1))/0xc);if(_0x1a7b58===_0x2a3492)break;else _0x523978['push'](_0x523978['shift']());}catch(_0x3370da){_0x523978['push'](_0x523978['shift']());}}}(_0x15e6,0x8eb18),function(_0xa183d2,_0x1f34a1){const _0x49ec51=_0x1555;typeof exports==_0x49ec51(0x2d3)&&typeof module<'u'?_0x1f34a1(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/protocol'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define=='function'&&define[_0x49ec51(0x240)]?define(['exports',_0x49ec51(0x148),_0x49ec51(0x212),'@univerjs/docs','@univerjs/sheets',_0x49ec51(0x19d),'@univerjs/protocol',_0x49ec51(0x29b),_0x49ec51(0xd1),_0x49ec51(0x2fe),_0x49ec51(0x191),_0x49ec51(0xda)],_0x1f34a1):(_0xa183d2=typeof globalThis<'u'?globalThis:_0xa183d2||self,_0x1f34a1(_0xa183d2['UniverProCollaborationClient']={},_0xa183d2[_0x49ec51(0x3c3)],_0xa183d2[_0x49ec51(0x35c)],_0xa183d2[_0x49ec51(0x25e)],_0xa183d2[_0x49ec51(0x215)],_0xa183d2['rxjs'],_0xa183d2['UniverProtocol'],_0xa183d2['UniverTelemetry'],_0xa183d2[_0x49ec51(0x19d)][_0x49ec51(0x282)],_0xa183d2['UniverNetwork'],_0xa183d2[_0x49ec51(0x270)],_0xa183d2['UniverDrawing']));}(this,function(_0x17c4ec,_0x540a4f,_0x305d10,_0x44bc8e,_0x2b86ea,_0x247d93,_0x54f861,_0xc2f67a,_0x38623c,_0x3c9fd5,_0x5f2569,_0x5452c7){const _0x33f14e=_0x1555;Object[_0x33f14e(0x267)](_0x17c4ec,Symbol[_0x33f14e(0x3c0)],{'value':_0x33f14e(0x24d)});let _0x3919fe='ws://127.0.0.1:8000/universer-api/comb/connect',_0x5752cb=0x4e20;function _0x3fc80e(_0x182493){const _0x35b476=_0x33f14e;return JSON[_0x35b476(0x121)](_0x182493)[_0x35b476(0x251)];}function _0x17d55f(_0x185fb1){'@babel/helpers - typeof';const _0x433e25=_0x33f14e;return _0x17d55f=typeof Symbol=='function'&&typeof Symbol[_0x433e25(0x349)]==_0x433e25(0x149)?function(_0x102c46){return typeof _0x102c46;}:function(_0xd07284){const _0x1a3f2f=_0x433e25;return _0xd07284&&typeof Symbol==_0x1a3f2f(0x1b7)&&_0xd07284['constructor']===Symbol&&_0xd07284!==Symbol[_0x1a3f2f(0xe7)]?'symbol':typeof _0xd07284;},_0x17d55f(_0x185fb1);}function _0x1ebd53(_0x3fdfc4,_0x2a9576){const _0x3c4ae3=_0x33f14e;if(_0x17d55f(_0x3fdfc4)!='object'||!_0x3fdfc4)return _0x3fdfc4;var _0x51eafb=_0x3fdfc4[Symbol[_0x3c4ae3(0x114)]];if(_0x51eafb!==void 0x0){var _0x38dc5a=_0x51eafb['call'](_0x3fdfc4,_0x2a9576||_0x3c4ae3(0xfc));if(_0x17d55f(_0x38dc5a)!=_0x3c4ae3(0x2d3))return _0x38dc5a;throw TypeError(_0x3c4ae3(0x1fd));}return(_0x2a9576==='string'?String:Number)(_0x3fdfc4);}function _0x283ebf(_0x5665c8){const _0x20c58e=_0x33f14e;var _0x70fd9d=_0x1ebd53(_0x5665c8,_0x20c58e(0x137));return _0x17d55f(_0x70fd9d)==_0x20c58e(0x149)?_0x70fd9d:_0x70fd9d+'';}function _0x816778(_0x27324f,_0x62929,_0x40859a){const _0x10c05d=_0x33f14e;return(_0x62929=_0x283ebf(_0x62929))in _0x27324f?Object[_0x10c05d(0x267)](_0x27324f,_0x62929,{'value':_0x40859a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27324f[_0x62929]=_0x40859a,_0x27324f;}let _0x29ff30=function(_0x3554b8){const _0x3acb85=_0x33f14e;return _0x3554b8['OTHER_CLIENT_EDITING']=_0x3acb85(0x162),_0x3554b8['PERMISSION_DENIED']=_0x3acb85(0x399),_0x3554b8['CONFLICT']=_0x3acb85(0x225),_0x3554b8[_0x3acb85(0x261)]='CLOSE_ROOM',_0x3554b8[_0x3acb85(0x259)]='JOIN_ROOM_FAILED',_0x3554b8[_0x3acb85(0x37a)]=_0x3acb85(0x37a),_0x3554b8[_0x3acb85(0x237)]=_0x3acb85(0x237),_0x3554b8[_0x3acb85(0x160)]=_0x3acb85(0x160),_0x3554b8;}({});var _0x23b696=class{constructor(){const _0x54652f=_0x33f14e;_0x816778(this,_0x54652f(0x177),new _0x247d93['Subject']()),_0x816778(this,_0x54652f(0x1b0),this[_0x54652f(0x177)][_0x54652f(0x172)]());}[_0x33f14e(0x118)](_0x1cf6f9){const _0x40f79e=_0x33f14e;this[_0x40f79e(0x177)]['next'](_0x1cf6f9);}},_0x1493d1=class{constructor(){const _0x47bcc2=_0x33f14e;_0x816778(this,_0x47bcc2(0x230),new _0x247d93[(_0x47bcc2(0x2be))]()),_0x816778(this,_0x47bcc2(0x31d),this['_commentUpdate$'][_0x47bcc2(0x172)]());}[_0x33f14e(0x236)](_0x1dcd6d){const _0x1b5f50=_0x33f14e;this[_0x1b5f50(0x230)][_0x1b5f50(0x300)](_0x1dcd6d);}};function _0xf01086(_0x3fe12a,_0x454149){return function(_0x2bb408,_0x1686b9){_0x454149(_0x2bb408,_0x1686b9,_0x3fe12a);};}function _0x47fc4c(_0x509d39,_0x2430a4,_0x28fcf4,_0x1edc96){const _0x248088=_0x33f14e;var _0x2c8eaf=arguments[_0x248088(0x251)],_0x1d5a0d=_0x2c8eaf<0x3?_0x2430a4:_0x1edc96===null?_0x1edc96=Object[_0x248088(0x189)](_0x2430a4,_0x28fcf4):_0x1edc96,_0xfda87f;if(typeof Reflect==_0x248088(0x2d3)&&typeof Reflect[_0x248088(0x393)]==_0x248088(0x1b7))_0x1d5a0d=Reflect['decorate'](_0x509d39,_0x2430a4,_0x28fcf4,_0x1edc96);else{for(var _0x4a15a1=_0x509d39[_0x248088(0x251)]-0x1;_0x4a15a1>=0x0;_0x4a15a1--)(_0xfda87f=_0x509d39[_0x4a15a1])&&(_0x1d5a0d=(_0x2c8eaf<0x3?_0xfda87f(_0x1d5a0d):_0x2c8eaf>0x3?_0xfda87f(_0x2430a4,_0x28fcf4,_0x1d5a0d):_0xfda87f(_0x2430a4,_0x28fcf4))||_0x1d5a0d);}return _0x2c8eaf>0x3&&_0x1d5a0d&&Object[_0x248088(0x267)](_0x2430a4,_0x28fcf4,_0x1d5a0d),_0x1d5a0d;}let _0x497a33=class extends _0x305d10['Disposable']{constructor(_0x2e76d6,_0xa3438){const _0x4b6fb1=_0x33f14e;super(),this[_0x4b6fb1(0x35b)]=_0x2e76d6,this['_userManagerService']=_0xa3438,_0x816778(this,_0x4b6fb1(0x151),new Map()),_0x816778(this,'_roomCreated$',new _0x247d93['Subject']()),this['disposeWithMe']((0x0,_0x247d93['merge'])(this['_univerInstanceService'][_0x4b6fb1(0x2b7)](_0x305d10[_0x4b6fb1(0x1c6)][_0x4b6fb1(0x22a)])['pipe']((0x0,_0x38623c[_0x4b6fb1(0x348)])(_0x4c3f89=>_0x4c3f89[_0x4b6fb1(0x1e7)]())),this[_0x4b6fb1(0x35b)]['getTypeOfUnitDisposed$'](_0x305d10[_0x4b6fb1(0x1c6)]['UNIVER_DOC'])[_0x4b6fb1(0x2a9)]((0x0,_0x38623c['map'])(_0x4518e9=>_0x4518e9[_0x4b6fb1(0x1e7)]())))['subscribe'](_0x3c4457=>this[_0x4b6fb1(0x37d)](_0x3c4457)));}[_0x33f14e(0x124)](_0x2f312b){const _0xfc1912=_0x33f14e;return this['_roomMembers'][_0xfc1912(0x354)](_0x2f312b)?(0x0,_0x247d93['of'])(this[_0xfc1912(0x151)][_0xfc1912(0x1a5)](_0x2f312b)):this[_0xfc1912(0x303)]['pipe']((0x0,_0x38623c[_0xfc1912(0x348)])(_0x20a3ba=>{const _0x502e6b=_0xfc1912;if(_0x20a3ba===_0x2f312b)return this['_roomMembers'][_0x502e6b(0x1a5)](_0x20a3ba);}));}['setCurrentUser'](_0x4be55c){const _0x5bb273=_0x33f14e;this[_0x5bb273(0x38e)]['setCurrentUser'](_0x4be55c);}[_0x33f14e(0x2cd)](){const _0x30f150=_0x33f14e;return this['_userManagerService'][_0x30f150(0x2cd)]();}[_0x33f14e(0x10a)](_0x21acd4,_0x12452e){const _0x285cfc=_0x33f14e;let _0x5cc695=this[_0x285cfc(0x151)][_0x285cfc(0x1a5)](_0x21acd4);_0x5cc695||(_0x5cc695=new _0x11f6ad(),this[_0x285cfc(0x151)][_0x285cfc(0x269)](_0x21acd4,_0x5cc695),this['_roomCreated$'][_0x285cfc(0x300)](_0x21acd4)),_0x5cc695[_0x285cfc(0x10a)](_0x12452e);}[_0x33f14e(0x392)](_0x235e09,_0x32fd20){const _0x5be323=_0x33f14e;let _0x1c25ac=this[_0x5be323(0x151)][_0x5be323(0x1a5)](_0x235e09);_0x1c25ac&&_0x1c25ac[_0x5be323(0x392)](_0x32fd20);}[_0x33f14e(0x12f)](_0x232ecc){const _0x14ffef=_0x33f14e;return this[_0x14ffef(0x151)][_0x14ffef(0x1a5)](_0x232ecc);}[_0x33f14e(0x21c)](_0x4d0da2,_0x15a87e){const _0x44b443=_0x33f14e;let _0x23b574=this[_0x44b443(0x151)][_0x44b443(0x1a5)](_0x4d0da2);if(_0x23b574)return _0x23b574[_0x44b443(0x21c)](_0x15a87e);}[_0x33f14e(0x37d)](_0xcaad73){const _0x26fd53=_0x33f14e;let _0x73398e=this[_0x26fd53(0x151)][_0x26fd53(0x1a5)](_0xcaad73);_0x73398e&&(_0x73398e[_0x26fd53(0x366)](),this[_0x26fd53(0x151)][_0x26fd53(0xc0)](_0xcaad73));}['dispose'](){const _0x1fa006=_0x33f14e;this[_0x1fa006(0x151)]['forEach'](_0x59ae0d=>_0x59ae0d[_0x1fa006(0x366)]()),this[_0x1fa006(0x151)][_0x1fa006(0x200)](),this[_0x1fa006(0x303)][_0x1fa006(0x109)]();}};_0x497a33=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x3b5)]))],_0x497a33);var _0x11f6ad=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(..._0x13c500){const _0x2f64c5=_0x33f14e;super(..._0x13c500),_0x816778(this,'_members',new Map()),_0x816778(this,'_members$',new _0x247d93[(_0x2f64c5(0x288))](this[_0x2f64c5(0x2e5)])),_0x816778(this,'members$',this[_0x2f64c5(0xd9)]['asObservable']());}[_0x33f14e(0x366)](){const _0x20ef88=_0x33f14e;this[_0x20ef88(0x2e5)][_0x20ef88(0x200)](),this[_0x20ef88(0xd9)][_0x20ef88(0x109)]();}[_0x33f14e(0x10a)](_0x32fdb0){const _0x4b864b=_0x33f14e;this['_members'][_0x4b864b(0x269)](_0x32fdb0[_0x4b864b(0x277)],_0x32fdb0),this[_0x4b864b(0x1ff)]();}[_0x33f14e(0x392)](_0x26264a){const _0x1c31a2=_0x33f14e;this[_0x1c31a2(0x2e5)][_0x1c31a2(0xc0)](_0x26264a),this['_emitMembers']();}[_0x33f14e(0x21c)](_0x2ef822){const _0x249334=_0x33f14e;return this[_0x249334(0x2e5)][_0x249334(0x1a5)](_0x2ef822);}[_0x33f14e(0x287)](){const _0x3881f3=_0x33f14e;return Array[_0x3881f3(0x2ed)](this[_0x3881f3(0x2e5)]['values']());}[_0x33f14e(0x1ff)](){const _0x2620e3=_0x33f14e;this[_0x2620e3(0xd9)][_0x2620e3(0x300)](this[_0x2620e3(0x2e5)]);}};let _0x475efd=function(_0x1f1353){const _0x378feb=_0x33f14e;return _0x1f1353[_0x1f1353['IDLE']=0x0]='IDLE',_0x1f1353[_0x1f1353['JOINING']=0x1]='JOINING',_0x1f1353[_0x1f1353['OFFLINE']=0x2]=_0x378feb(0x266),_0x1f1353[_0x1f1353[_0x378feb(0x22f)]=0x3]=_0x378feb(0x22f),_0x1f1353;}({}),_0x2c4457={[_0x54f861[_0x33f14e(0x372)]['FAIL']]:'session.join-failed',[_0x54f861['CmdRspCode'][_0x33f14e(0x1bf)]]:_0x33f14e(0x368),[_0x54f861[_0x33f14e(0x372)]['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[_0x54f861[_0x33f14e(0x372)][_0x33f14e(0x2f9)]]:_0x33f14e(0x229),[_0x54f861['CmdRspCode'][_0x33f14e(0x201)]]:_0x33f14e(0x210)},_0x459c7b=class extends _0x305d10['RxDisposable']{get['sessionStatus'](){const _0x4f63cb=_0x33f14e;return this[_0x4f63cb(0xec)][_0x4f63cb(0x3a9)]();}constructor(_0x1f24fc,_0x4b48ef,_0x118237,_0x1d9cd6,_0x336228,_0x293969,_0x4411fe,_0x4a3b72){const _0xd4310b=_0x33f14e;super(),this[_0xd4310b(0x224)]=_0x1f24fc,this[_0xd4310b(0x356)]=_0x118237,this[_0xd4310b(0x333)]=_0x1d9cd6,this[_0xd4310b(0xf7)]=_0x336228,this['_commentService']=_0x293969,this[_0xd4310b(0x17e)]=_0x4411fe,this['_telemetryService']=_0x4a3b72,_0x816778(this,_0xd4310b(0xec),new _0x247d93['BehaviorSubject'](0x0)),_0x816778(this,_0xd4310b(0x3b1),this['_sessionStatus$']['asObservable']()),_0x816778(this,_0xd4310b(0x177),new _0x247d93[(_0xd4310b(0x2be))]()),_0x816778(this,'event$',this[_0xd4310b(0x177)][_0xd4310b(0x172)]()),_0x816778(this,_0xd4310b(0x383),void 0x0),_0x816778(this,_0xd4310b(0x119),void 0x0),_0x816778(this,_0xd4310b(0x3a7),void 0x0),_0x816778(this,_0xd4310b(0xd3),!0x1),_0x816778(this,_0xd4310b(0x233),null),this[_0xd4310b(0xd3)]=!!this[_0xd4310b(0x398)],_0x4b48ef['pipe']((0x0,_0x247d93['takeUntil'])(this[_0xd4310b(0x26d)]))[_0xd4310b(0x305)](_0x250de4=>{const _0x5ec6a4=_0xd4310b;if(_0x250de4!==void 0x0){if(this[_0x5ec6a4(0x383)]=_0x250de4,_0x250de4)this[_0x5ec6a4(0x2ca)](_0x250de4),this[_0x5ec6a4(0x119)]=_0x250de4['message$'][_0x5ec6a4(0x305)](_0x351cc2=>{const _0x27be6a=_0x5ec6a4;_0x351cc2[_0x27be6a(0x2bf)]===this[_0x27be6a(0x224)]&&this[_0x27be6a(0x18d)](_0x351cc2);});else{var _0x1a3cda;this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x5ec6a4(0x300)](0x2),(_0x1a3cda=this[_0x5ec6a4(0x119)])==null||_0x1a3cda[_0x5ec6a4(0x38d)](),this[_0x5ec6a4(0x119)]=null;}}});}[_0x33f14e(0x173)](){const _0x5b1d0e=_0x33f14e;var _0x26aec2,_0x3a8ba9;return(_0x26aec2=(_0x3a8ba9=this['_socket'])==null?void 0x0:_0x3a8ba9[_0x5b1d0e(0x277)])==null?null:_0x26aec2;}['dispose'](){const _0x2a4720=_0x33f14e;super['dispose'](),this[_0x2a4720(0xe4)](),this['dispose$'][_0x2a4720(0x300)](),this[_0x2a4720(0x26d)][_0x2a4720(0x109)]();}[_0x33f14e(0xe4)](){const _0xd26da3=_0x33f14e;var _0x3d5697,_0x36c7f6;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3d5697=this[_0xd26da3(0x383)])==null||_0x3d5697['send']({'cmd':_0x54f861[_0xd26da3(0xb8)]['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x36c7f6=this[_0xd26da3(0x383)])==null||_0x36c7f6[_0xd26da3(0xe4)](),this[_0xd26da3(0x177)][_0xd26da3(0x109)](),this['_sessionStatus$']['complete']();}[_0x33f14e(0x18d)](_0x416ecc){const _0x60ee87=_0x33f14e;_0x416ecc[_0x60ee87(0x38a)]===_0x54f861[_0x60ee87(0xb8)][_0x60ee87(0x2b1)]?this['_onJoinRoomEvent'](_0x416ecc):_0x416ecc[_0x60ee87(0x38a)]===_0x54f861[_0x60ee87(0xb8)][_0x60ee87(0x2f8)]&&this[_0x60ee87(0x158)](_0x416ecc);}[_0x33f14e(0x2ca)](_0x280d6c){const _0x28af88=_0x33f14e;this[_0x28af88(0xec)]['next'](0x1),_0x280d6c[_0x28af88(0x3a8)]({'cmd':_0x54f861['CombCmd'][_0x28af88(0x2b1)],'routeKey':this[_0x28af88(0x224)],'routeType':'','data':{'rooms':[{'roomID':this[_0x28af88(0x224)]}]}});}[_0x33f14e(0x28f)](_0x5f3fcc){const _0x506b1d=_0x33f14e;var _0xd82d76;if(_0x5f3fcc[_0x506b1d(0x361)]in _0x2c4457){this[_0x506b1d(0x17e)][_0x506b1d(0x118)]({'id':_0x506b1d(0x259),'data':_0x2c4457[_0x5f3fcc[_0x506b1d(0x361)]]}),this[_0x506b1d(0xec)][_0x506b1d(0x300)](0x2);return;}this[_0x506b1d(0xec)][_0x506b1d(0x300)](0x3);let _0x40fcb2=(_0xd82d76=_0x5f3fcc['data'][_0x506b1d(0x33d)][this[_0x506b1d(0x224)]])==null?void 0x0:_0xd82d76[_0x506b1d(0x155)];_0x40fcb2&&_0x40fcb2[_0x506b1d(0x1fc)](_0xd28b52=>this['_memberService'][_0x506b1d(0x10a)](this[_0x506b1d(0x224)],_0xd28b52));}[_0x33f14e(0x158)](_0x1a59af){const _0x299cc7=_0x33f14e;try{let _0x341226=_0x1a59af['data'];switch(_0x341226[_0x299cc7(0x2b4)]){case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x285)]:this[_0x299cc7(0x324)](_0x341226),this['_event$']['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x341)]:this[_0x299cc7(0x2da)](_0x341226),this[_0x299cc7(0x177)]['next'](_0x341226);break;case _0x540a4f['CollaborationEvent'][_0x299cc7(0x24c)]:case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x370)]:this[_0x299cc7(0x310)](),this[_0x299cc7(0x13a)](),this['_event$']['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x1d7)]:this[_0x299cc7(0x356)]['error'](_0x299cc7(0x389)+JSON[_0x299cc7(0x121)](_0x341226)),this[_0x299cc7(0x177)]['next'](_0x341226);break;case _0x540a4f[_0x299cc7(0x38c)][_0x299cc7(0x291)]:this['_commentService'][_0x299cc7(0x236)](_0x341226['data']),this[_0x299cc7(0x177)][_0x299cc7(0x300)](_0x341226);break;default:this[_0x299cc7(0x177)][_0x299cc7(0x300)](_0x341226);}}catch(_0x545663){this[_0x299cc7(0x356)][_0x299cc7(0x15f)](_0x545663,_0x1a59af);}}[_0x33f14e(0x324)](_0x427196){const _0x2e2285=_0x33f14e;this[_0x2e2285(0xf7)][_0x2e2285(0x10a)](this['_unitID'],_0x427196[_0x2e2285(0x23d)]);}[_0x33f14e(0x2da)](_0x5583a1){const _0x16b6bc=_0x33f14e;this[_0x16b6bc(0xf7)][_0x16b6bc(0x392)](this[_0x16b6bc(0x224)],_0x5583a1[_0x16b6bc(0x23d)]['memberID']);}async[_0x33f14e(0x3a8)](_0x553f4b,_0x1d4464){const _0x1c4a01=_0x33f14e;if(this[_0x1c4a01(0x1d0)]!==0x3||!this['_socket'])throw Error(_0x1c4a01(0x32a));try{_0x553f4b['eventID']===_0x540a4f[_0x1c4a01(0x38c)]['SUBMIT_CHANGESET']&&(this[_0x1c4a01(0x28b)](),this[_0x1c4a01(0x1c5)](_0x553f4b)),this['_socket'][_0x1c4a01(0x3a8)]({'cmd':_0x54f861[_0x1c4a01(0xb8)][_0x1c4a01(0x23f)],'routeKey':_0x1d4464,'routeType':'','data':_0x553f4b});}catch(_0x2cfafb){this[_0x1c4a01(0x356)][_0x1c4a01(0x15f)](_0x2cfafb);}}[_0x33f14e(0x28b)](){const _0x49bc5e=_0x33f14e;var _0x40b776;this[_0x49bc5e(0x3a7)]=setTimeout(()=>{const _0x597575=_0x49bc5e;this[_0x597575(0x3a7)]=null,this[_0x597575(0x17e)][_0x597575(0x118)]({'id':_0x597575(0x160)});},(_0x40b776=this[_0x49bc5e(0x333)][_0x49bc5e(0x328)]('HEARTBEAT_TIMEOUT'))==null?_0x5752cb:_0x40b776);}[_0x33f14e(0x13a)](){const _0x2aa11f=_0x33f14e;this[_0x2aa11f(0x3a7)]&&(clearTimeout(this[_0x2aa11f(0x3a7)]),this[_0x2aa11f(0x3a7)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f6221){const _0x14304c=_0x33f14e;if(!this['_shouldReportTelemetry'])return;let {data:_0x12d44d}=_0x2f6221,{unitID:_0x3bfd20,changeset:_0x171f90}=_0x12d44d,{mutations:_0x4010a7,type:_0x2326cd}=_0x171f90;this[_0x14304c(0x233)]={'unitId':_0x3bfd20,'type':_0x2326cd,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3fc80e(_0x4010a7)};}[_0x33f14e(0x310)](){const _0x15582a=_0x33f14e;if(this[_0x15582a(0xd3)]){if(!this[_0x15582a(0x233)]){this[_0x15582a(0x356)][_0x15582a(0x15f)](_0x15582a(0x243),_0x15582a(0x2f6));return;}this['_telemetryInfo'][_0x15582a(0x14a)]=performance[_0x15582a(0x11f)](),this['_telemetryInfo'][_0x15582a(0x125)]=this['_telemetryInfo']['stopTime']-this[_0x15582a(0x233)][_0x15582a(0x1f9)],this[_0x15582a(0x398)][_0x15582a(0x338)](_0x15582a(0x2df),this['_telemetryInfo']),this[_0x15582a(0x233)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};_0x459c7b=_0x47fc4c([_0xf01086(0x2,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x497a33)),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x1493d1)),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xc2f67a[_0x33f14e(0x1dc)]))],_0x459c7b);let _0xbd995e=(0x0,_0x305d10[_0x33f14e(0x131)])(_0x33f14e(0x2c5));function _0x3da7c3(_0x4aeefd){const _0x1e2aa7=_0x33f14e;return _0x1e2aa7(0x188)+_0x4aeefd;}function _0x138085(_0x4e4352){const _0x5129e5=_0x33f14e;let {unitID:_0x4315d8,mutations:_0x110371}=_0x4e4352;return{'unitId':_0x4315d8,'subUnitId':_0x110371[_0x5129e5(0x251)]>0x0?_0x110371[0x0][_0x5129e5(0x3c1)][_0x5129e5(0x2c3)]:null};}let _0x2c235d=class{constructor(_0x162e82,_0x5f2734,_0x2958b6){const _0x40effe=_0x33f14e;this[_0x40effe(0x1c7)]=_0x162e82,this['_transformService']=_0x5f2734,this['_instanceService']=_0x2958b6;}[_0x33f14e(0x2e6)](_0x402820){const _0x428d81=_0x33f14e;var _0x4dcf56,_0x3876ca;let _0x4197d9=this[_0x428d81(0x1c7)][_0x428d81(0x1a5)](_0x2b86ea['SheetsSelectionsService']),{unitId:_0x19f009,subUnitId:_0x5ee77d}=_0x138085(_0x402820),_0xe02184=_0x4197d9==null?void 0x0:_0x4197d9[_0x428d81(0x2cc)](_0x19f009)[_0x428d81(0x214)](),_0x379ea0=(_0x4dcf56=this[_0x428d81(0x113)][_0x428d81(0x379)](_0x19f009))==null||(_0x4dcf56=_0x4dcf56['getActiveSheet']())==null?void 0x0:_0x4dcf56[_0x428d81(0x309)]();if(_0xe02184[_0x428d81(0x251)]===0x0||!_0x19f009||!_0x5ee77d)return;let _0x195deb=[{'id':_0x2b86ea['SetSelectionsOperation']['id'],'params':{'unitId':_0x19f009,'subUnitId':_0x379ea0,'selections':_0x305d10[_0x428d81(0x12d)][_0x428d81(0x19c)](_0xe02184)}}],_0xabb2dd=this['_transformService'][_0x428d81(0x141)](_0x402820,_0x195deb);if(!(0x0,_0x540a4f[_0x428d81(0x199)])(_0xabb2dd))throw _0xabb2dd[_0x428d81(0x15f)];let _0x271e73=(_0x3876ca=_0xabb2dd[_0x428d81(0x28c)][0x0])==null||(_0x3876ca=_0x3876ca['params'])==null?void 0x0:_0x3876ca[_0x428d81(0x186)];if(Array['isArray'](_0x271e73)&&_0x271e73[_0x428d81(0x251)]){if(_0x271e73[_0x428d81(0x251)]===_0x195deb[0x0]['params'][_0x428d81(0x186)][_0x428d81(0x251)]&&_0x271e73[_0x428d81(0x11e)]((_0x40aa80,_0x32fc59)=>_0x305d10['Rectangle'][_0x428d81(0x232)](_0x40aa80['range'],_0x195deb[0x0][_0x428d81(0x3c1)][_0x428d81(0x186)][_0x32fc59]['range'])))return;this[_0x428d81(0x1c7)]['get'](_0x305d10[_0x428d81(0x213)])[_0x428d81(0x1b2)](_0x2b86ea[_0x428d81(0x30f)]['id'],{'unitId':_0x19f009,'subUnitId':_0x379ea0,'selections':_0x271e73});}}};_0x2c235d=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x20d)])],_0x2c235d);let _0x4e88b2=(0x0,_0x305d10[_0x33f14e(0x131)])(_0x33f14e(0x385)),_0x3dfa36=function(_0x4d49c4){const _0x4a1ccd=_0x33f14e;return _0x4d49c4[_0x4d49c4['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4a1ccd(0x34c),_0x4d49c4[_0x4d49c4[_0x4a1ccd(0xcf)]=0x1]=_0x4a1ccd(0xcf),_0x4d49c4;}({}),_0x1cf9ab=_0x33f14e(0x2ba),_0x4cbbd4={};function _0x451933(_0x394457){const _0x583799=_0x33f14e;var _0x389e2a;return!!((_0x389e2a=_0x394457[_0x583799(0x3c1)])!=null&&_0x389e2a[_0x583799(0x21a)]);}let _0x34b1bb=new Set([_0x2b86ea[_0x33f14e(0x381)]['id']]);function _0x19ee22(_0x30cf89,_0xc57895,_0x2cf0de,_0x371513,_0x3c27cf){const _0x3a101b=_0x33f14e;var _0x1dd28f,_0x168331,_0x35e9a8,_0x2d03c6;let _0x4df263=[];for(let _0x35fef8 of _0x30cf89){if(_0x34b1bb[_0x3a101b(0x354)](_0x35fef8['id'])){if(_0x4df263[_0x3a101b(0x251)]>0x0)break;_0x4df263[_0x3a101b(0xf8)](_0x35fef8);break;}if(_0x451933(_0x35fef8)){if(_0x4df263['length']>0x0)break;_0x4df263[_0x3a101b(0xf8)](_0x35fef8);break;}_0x4df263[_0x3a101b(0xf8)](_0x35fef8);}let _0x5b400e=(_0x1dd28f=(_0x168331=_0x3c27cf[_0x3a101b(0x2cd)]())==null?void 0x0:_0x168331[_0x3a101b(0x317)])==null?_0x3a101b(0x23e):_0x1dd28f,_0x2caff2=(_0x35e9a8=(_0x2d03c6=_0x3c27cf['getCurrentUser']())==null?void 0x0:_0x2d03c6[_0x3a101b(0x277)])==null?_0x3a101b(0x23e):_0x35e9a8;return{'changeset':{'unitID':_0xc57895,'type':(0x0,_0x540a4f[_0x3a101b(0xf5)])(_0x2cf0de[_0x3a101b(0x174)](_0xc57895)),'baseRev':_0x371513[_0x3a101b(0x15b)](_0xc57895),'revision':0x0,'userID':_0x5b400e,'memberID':_0x2caff2,'mutations':_0x4df263},'pendingMutations':_0x30cf89[_0x3a101b(0x387)](_0x4df263[_0x3a101b(0x251)])};}function _0x1fe0b4(_0xbf91d,_0x16dec3,_0x4fff00,_0xdf9bd2,_0x244d30){const _0x4574c0=_0x33f14e;var _0x26fb60,_0x5b278b,_0x662f3b,_0x9ab48f;let _0x162dae=_0xbf91d['reduce']((_0x27f9bc,_0x1a7296)=>{const _0x46a4e8=_0x1555;let _0x2fea4e=_0x27f9bc[_0x27f9bc[_0x46a4e8(0x251)]-0x1],{id:_0x187ffa}=_0x2fea4e==null?{}:_0x2fea4e,{id:_0x2d8512,type:_0xa83d9e}=_0x1a7296,_0xafeeee=_0x1a7296['params'];if(_0x187ffa&&_0x187ffa!==_0x2d8512)throw Error(_0x46a4e8(0x35a)+_0x187ffa+_0x46a4e8(0x222)+_0x2d8512+'.');if(!_0x2fea4e)return[{'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee[_0x46a4e8(0x34f)],'textRanges':_0xafeeee[_0x46a4e8(0x16f)],'actions':_0xafeeee[_0x46a4e8(0x165)]}}];let _0x3fc225=_0x2fea4e[_0x46a4e8(0x3c1)];return _0x4d4d66(_0x3fc225[_0x46a4e8(0x165)],_0xafeeee['actions'])?[..._0x27f9bc[_0x46a4e8(0x387)](0x0,-0x1),{..._0x2fea4e,'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee['unitId'],'textRanges':_0xafeeee['textRanges'],'actions':_0x305d10[_0x46a4e8(0x308)]['compose'](_0x3fc225[_0x46a4e8(0x165)],_0xafeeee[_0x46a4e8(0x165)])}}]:[..._0x27f9bc,{'id':_0x2d8512,'type':_0xa83d9e,'params':{'unitId':_0xafeeee['unitId'],'textRanges':_0xafeeee['textRanges'],'actions':_0xafeeee[_0x46a4e8(0x165)]}}];},[]),_0xff29db=(_0x26fb60=(_0x5b278b=_0x244d30['getCurrentUser']())==null?void 0x0:_0x5b278b['userID'])==null?'unknown':_0x26fb60,_0xdce05d=(_0x662f3b=(_0x9ab48f=_0x244d30[_0x4574c0(0x2cd)]())==null?void 0x0:_0x9ab48f[_0x4574c0(0x277)])==null?_0x4574c0(0x23e):_0x662f3b;return{'changeset':{'unitID':_0x16dec3,'type':(0x0,_0x540a4f[_0x4574c0(0xf5)])(_0x4fff00['getUnitType'](_0x16dec3)),'baseRev':_0xdf9bd2[_0x4574c0(0x15b)](_0x16dec3),'revision':0x0,'userID':_0xff29db,'memberID':_0xdce05d,'mutations':_0x162dae},'pendingMutations':_0xbf91d[_0x4574c0(0x387)](_0xbf91d['length'])};}function _0x4d4d66(_0xb837d3,_0x5c530a){return!(_0x309e4b(_0xb837d3)&&_0x1761db(_0x5c530a)||_0x1761db(_0xb837d3)&&_0x309e4b(_0x5c530a));}function _0x309e4b(_0x257f9e){const _0x4b827c=_0x33f14e;return _0x2b6663(_0x257f9e)[_0x4b827c(0x382)](_0x351f6f=>_0x3d77ce(_0x351f6f)&&_0x351f6f['et']==='text-x');}function _0x1761db(_0x957ccb){const _0x326ccc=_0x33f14e;return _0x2b6663(_0x957ccb)[_0x326ccc(0x382)](_0x191c9f=>Array[_0x326ccc(0x175)](_0x191c9f)||typeof _0x191c9f==_0x326ccc(0x137)||typeof _0x191c9f==_0x326ccc(0x242));}function _0x2b6663(_0x3e6eab){const _0x249a3f=_0x33f14e;if(!Array['isArray'](_0x3e6eab))return[];let _0x4f8ebc=_0x3e6eab['includes'](_0x249a3f(0x29f))?_0x3e6eab:_0x3e6eab[_0x249a3f(0xfa)](_0x6f95f0=>Array[_0x249a3f(0x175)](_0x6f95f0)&&_0x6f95f0[_0x249a3f(0x1c3)](_0x249a3f(0x29f)));if(!Array[_0x249a3f(0x175)](_0x4f8ebc))return[];let _0x180752=_0x4f8ebc[_0x249a3f(0x156)](_0x249a3f(0x29f));return _0x180752===-0x1?[]:_0x4f8ebc[_0x249a3f(0x387)](_0x180752+0x1);}function _0x3d77ce(_0x1b988a){return typeof _0x1b988a=='object'&&!!_0x1b988a&&!Array['isArray'](_0x1b988a);}function _0x1ecae5(_0x5e95a3,_0x1af4bb){const _0x592eb8=_0x33f14e;let _0x5ee2b4=new _0x247d93['ReplaySubject'](0x1);return setTimeout(()=>_0x5ee2b4[_0x592eb8(0x300)](_0x1af4bb),_0x5e95a3),_0x5ee2b4[_0x592eb8(0x172)]()[_0x592eb8(0x2a9)]((0x0,_0x247d93['take'])(0x1));}var _0x633e0b,_0x54fbde,_0x55bb43;let _0x46a1e9=function(_0x1cbe66){const _0x20a22d=_0x33f14e;return _0x1cbe66[_0x20a22d(0x1e1)]='not_collab',_0x1cbe66['SYNCED']=_0x20a22d(0x255),_0x1cbe66[_0x20a22d(0x1cc)]=_0x20a22d(0x3af),_0x1cbe66[_0x20a22d(0x190)]=_0x20a22d(0xe6),_0x1cbe66[_0x20a22d(0xbd)]=_0x20a22d(0x315),_0x1cbe66['FETCH_MISS']=_0x20a22d(0xe9),_0x1cbe66['CONFLICT']=_0x20a22d(0x182),_0x1cbe66[_0x20a22d(0x266)]=_0x20a22d(0x15d),_0x1cbe66;}({}),_0x47612d=0x4e20,_0x28da41=0x2bf20;var _0xcc4349=class{constructor(_0x355a8b,_0x474467,_0x8f87a7,_0x399f76,_0x585708,_0x29ffb0,_0x3be49d,_0x1045e0,_0x572761){const _0x19e701=_0x33f14e;this[_0x19e701(0x37e)]=_0x355a8b,this[_0x19e701(0x1aa)]=_0x474467,this[_0x19e701(0x1c8)]=_0x585708,this[_0x19e701(0x1f7)]=_0x29ffb0,this['_undoRedoService']=_0x3be49d,this[_0x19e701(0x28d)]=_0x1045e0,this[_0x19e701(0x179)]=_0x572761,_0x816778(this,'_awaitingChangeset',null),_0x816778(this,'_pendingMutations',[]),this['_awaitingChangeset']=_0x8f87a7,this[_0x19e701(0x14e)]=_0x399f76;}['_checkMissing'](_0x5021a7){const _0x6374ea=_0x33f14e;let _0x3befd3=this[_0x6374ea(0x28d)][_0x6374ea(0x15b)](this[_0x6374ea(0x37e)]);return _0x5021a7[_0x6374ea(0x2d1)]>_0x3befd3+0x1?(this[_0x6374ea(0x1c8)]['onMissingChangesets']({'from':_0x3befd3,'to':_0x5021a7['revision']-0x1}),!0x0):!0x1;}[_0x33f14e(0x2d6)](_0x3f2fd6){const _0x16a561=_0x33f14e;this[_0x16a561(0x2b8)][_0x16a561(0xf1)](this[_0x16a561(0x37e)],_0x3f2fd6);}[_0x33f14e(0x346)](_0x20a7a3){const _0xb9072d=_0x33f14e;var _0x4b9d76,_0x5ab349;(_0x4b9d76=(_0x5ab349=this[_0xb9072d(0x1c8)])[_0xb9072d(0x2c1)])==null||_0x4b9d76[_0xb9072d(0xdf)](_0x5ab349,_0x20a7a3);}['_transformIMECache'](_0x27ae5d){const _0x167ba7=_0x33f14e;var _0x278d56,_0x247857;return(_0x278d56=(_0x247857=this[_0x167ba7(0x1c8)])['onTransformIME'])==null?void 0x0:_0x278d56['call'](_0x247857,_0x27ae5d);}[_0x33f14e(0xc6)](_0xbca56e){const _0x2122de=_0x33f14e;var _0x1afbde,_0x44bc67;return(_0x1afbde=(_0x44bc67=this[_0x2122de(0x1c8)])[_0x2122de(0x2f0)])==null?void 0x0:_0x1afbde['call'](_0x44bc67,_0xbca56e);}[_0x33f14e(0x2b6)](_0x26957d){const _0x24d8ac=_0x33f14e;var _0x18dd9c,_0x3e0bc9,_0x5c48d1;return(_0x18dd9c=(_0x3e0bc9=(_0x5c48d1=this[_0x24d8ac(0x1c8)])[_0x24d8ac(0x299)])==null?void 0x0:_0x3e0bc9['call'](_0x5c48d1,_0x26957d))==null?_0x26957d:_0x18dd9c;}[_0x33f14e(0x325)](_0x13680e){const _0x53720f=_0x33f14e;var _0x2bd412,_0x46f2a9,_0x886166;return(_0x2bd412=(_0x46f2a9=(_0x886166=this[_0x53720f(0x1c8)])[_0x53720f(0x395)])==null?void 0x0:_0x46f2a9[_0x53720f(0xdf)](_0x886166,_0x13680e))==null?_0x13680e:_0x2bd412;}[_0x33f14e(0x2e4)](_0x4d2ffb){const _0x5cf4e1=_0x33f14e;if(this['type']===_0x305d10[_0x5cf4e1(0x1c6)][_0x5cf4e1(0x26e)]){let {unitID:_0x2fe043,mutations:_0xce858c,memberID:_0xf08aa5}=_0x4d2ffb,_0x1fd0b6=_0xce858c[_0x5cf4e1(0x251)]>0x0?_0xce858c[0x0][_0x5cf4e1(0x3c1)][_0x5cf4e1(0x16f)]:[];if(Array[_0x5cf4e1(0x175)](_0x1fd0b6)&&_0x1fd0b6[_0x5cf4e1(0x251)]>0x0){var _0x5c2cb8,_0xe591e0;(_0x5c2cb8=(_0xe591e0=this[_0x5cf4e1(0x1c8)])[_0x5cf4e1(0x27f)])==null||_0x5c2cb8[_0x5cf4e1(0xdf)](_0xe591e0,{'unitID':_0x2fe043,'memberID':_0xf08aa5,'textRanges':_0x1fd0b6});}}}[_0x33f14e(0x335)](){const _0x1f9405=_0x33f14e;var _0x440f3a;(_0x440f3a=this[_0x1f9405(0x179)])==null||_0x440f3a[_0x1f9405(0x12a)](this['unitID'],this[_0x1f9405(0x1aa)],this['_awaitingChangeset'],this[_0x1f9405(0x14e)]);}['_getCurrentRevision'](){const _0x3545de=_0x33f14e;return this[_0x3545de(0x28d)]['getCurrentRevOfUnit'](this[_0x3545de(0x37e)]);}['_incrementRevisionNumber'](){const _0x286238=_0x33f14e;this['_revisionService']['incrementRevOfUnit'](this[_0x286238(0x37e)]);}[_0x33f14e(0x16b)](_0x1ad632){const _0x2ee9f5=_0x33f14e;let _0x15f3d3=this['_transformRemoteChangesetByIMECache'](_0x1ad632);_0x15f3d3=this[_0x2ee9f5(0x325)](_0x15f3d3);let _0x19e26a=(0x0,_0x305d10['sequenceExecute'])(_0x15f3d3[_0x2ee9f5(0x316)],this[_0x2ee9f5(0x1f7)],{'fromCollab':!0x0});if(!_0x19e26a[_0x2ee9f5(0x1b5)]){var _0x3d0e59;throw _0x19e26a[_0x2ee9f5(0x15f)]instanceof Error?_0x19e26a['error']:Error((_0x3d0e59=_0x19e26a[_0x2ee9f5(0x15f)])==null?_0x2ee9f5(0x1f2):_0x3d0e59);}this[_0x2ee9f5(0x187)](_0x15f3d3),this[_0x2ee9f5(0xc6)](_0x15f3d3),this['_transformUndoredo'](_0x1ad632),this[_0x2ee9f5(0x346)](_0x15f3d3),this[_0x2ee9f5(0x2e4)](_0x15f3d3),this[_0x2ee9f5(0x3b7)]();}};let _0x3f62b4=class extends _0xcc4349{constructor(_0x292f38,_0x5db4d0,_0x31c05f,_0x4730c0,_0x42f86d,_0x9b2d6f,_0xf398f2,_0x147d9c,_0x3f3e29,_0x5af352){const _0x4e075f=_0x33f14e;super(_0x292f38,_0x5db4d0,null,[],_0x31c05f,_0xf398f2,_0x9b2d6f,_0x4730c0,_0x5af352),this[_0x4e075f(0x1c7)]=_0x42f86d,this[_0x4e075f(0x356)]=_0x147d9c,this[_0x4e075f(0x15e)]=_0x3f3e29,this[_0x4e075f(0x302)]=_0x5af352,_0x816778(this,_0x4e075f(0x2fb),'synced');}[_0x33f14e(0x221)](_0x983e0f){const _0x3c7d0d=_0x33f14e;let _0x2a471b=this[_0x3c7d0d(0x1c7)][_0x3c7d0d(0x32f)](_0x40e466,this[_0x3c7d0d(0x37e)],this[_0x3c7d0d(0x1aa)],[_0x983e0f],this[_0x3c7d0d(0x1c8)]);return _0x2a471b['_schedule'](),_0x2a471b[_0x3c7d0d(0x335)](),_0x2a471b;}[_0x33f14e(0x217)](_0x2ee81e){const _0x1ca358=_0x33f14e;if(this[_0x1ca358(0x209)](_0x2ee81e))return this['_injector'][_0x1ca358(0x32f)](_0x69d917,this[_0x1ca358(0x37e)],this[_0x1ca358(0x1aa)],null,[],null,[_0x2ee81e],this[_0x1ca358(0x1c8)]);try{let _0x26a60a=this['_transformService'][_0x1ca358(0x141)](_0x2ee81e,[_0x540a4f[_0x1ca358(0x31b)]]);if((0x0,_0x540a4f['isTransformMutationsWithChangesetSuccess'])(_0x26a60a)){let {c1Prime:_0x2e42a3}=_0x26a60a;return this['_executeRemoteChangeset'](_0x2e42a3),this;}throw _0x26a60a['error'];}catch(_0x1c2b76){return this[_0x1ca358(0x356)][_0x1ca358(0x15f)](_0x1c2b76),this[_0x1ca358(0x358)](!0x1);}}[_0x33f14e(0x358)](_0x404a4f){const _0x133b73=_0x33f14e;return this[_0x133b73(0x1c7)][_0x133b73(0x32f)](_0x50a112,this[_0x133b73(0x37e)],this[_0x133b73(0x1aa)],null,[],this[_0x133b73(0x1c8)],_0x404a4f);}[_0x33f14e(0xc4)](_0x5dce4b){const _0x5521b5=_0x33f14e;if(_0x5dce4b['revision']<=this[_0x5521b5(0x203)]())return this;throw Error(_0x5521b5(0x111));}[_0x33f14e(0x159)](){throw Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x33f14e(0xb3)](){const _0x4c4824=_0x33f14e;return this[_0x4c4824(0x1c7)][_0x4c4824(0x32f)](_0x18cfb2,this[_0x4c4824(0x37e)],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x33f14e(0x150)](){const _0x1bdf26=_0x33f14e;throw Error(_0x1bdf26(0x168));}[_0x33f14e(0x132)](){const _0xd111fe=_0x33f14e;let _0x339e52=this[_0xd111fe(0x28d)][_0xd111fe(0x15b)](this[_0xd111fe(0x37e)]);return this[_0xd111fe(0x1c8)][_0xd111fe(0xd6)]({'from':_0x339e52,'to':0x0}),this['_injector'][_0xd111fe(0x32f)](_0x69d917,this[_0xd111fe(0x37e)],this[_0xd111fe(0x1aa)],null,[],null,[],this[_0xd111fe(0x1c8)]);}};_0x3f62b4=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x5,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x6,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x9,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x3f62b4);let _0x40e466=_0x633e0b=class extends _0xcc4349{constructor(_0x335431,_0x1b9f2e,_0x38cd39,_0x369c08,_0x790fbd,_0x26c4df,_0x3be10b,_0x10bdde,_0x4b62d1,_0x86daae,_0x3e6163,_0x193372,_0xbd0fd,_0x36ec8f){const _0x49fe7d=_0x33f14e;super(_0x335431,_0x1b9f2e,null,_0x38cd39,_0x369c08,_0x4b62d1,_0xbd0fd,_0x26c4df,_0x36ec8f),this[_0x49fe7d(0x1c7)]=_0x790fbd,this['_memberService']=_0x3be10b,this['_logService']=_0x10bdde,this['_configService']=_0x86daae,this[_0x49fe7d(0x15e)]=_0x3e6163,this[_0x49fe7d(0x35b)]=_0x193372,_0x816778(this,_0x49fe7d(0x2fb),_0x49fe7d(0x3af)),_0x816778(this,_0x49fe7d(0x1b3),null),_0x816778(this,_0x49fe7d(0x2bb),null);}[_0x33f14e(0x221)](_0x5921de){const _0x3ec400=_0x33f14e;return this[_0x3ec400(0x14e)][_0x3ec400(0xf8)](_0x5921de),this[_0x3ec400(0x335)](),this;}['onRemoteChangeset'](_0x5ed536){const _0x35878b=_0x33f14e;if(this[_0x35878b(0x209)](_0x5ed536))return this['_clearScheduledTask'](),this[_0x35878b(0x1c7)][_0x35878b(0x32f)](_0x69d917,this[_0x35878b(0x37e)],this[_0x35878b(0x1aa)],null,this[_0x35878b(0x14e)],null,[_0x5ed536],this[_0x35878b(0x1c8)]);try{let _0x590395=this['_transformService'][_0x35878b(0x141)](_0x5ed536,this['_pendingMutations']);if((0x0,_0x540a4f[_0x35878b(0x199)])(_0x590395)){let {c1Prime:_0x20fa95,m2Prime:_0xf86bbb}=_0x590395;this[_0x35878b(0x16b)](_0x20fa95);let _0x148eea=this[_0x35878b(0x1c7)][_0x35878b(0x32f)](_0x633e0b,this['unitID'],this[_0x35878b(0x1aa)],_0xf86bbb,this[_0x35878b(0x1c8)]);this[_0x35878b(0x2ab)]();let _0x361943=new Date()[_0x35878b(0x18f)](),_0x24db7a=this[_0x35878b(0x1b3)]?Math['max'](this[_0x35878b(0x1b3)]-_0x361943,0x0):this['_getSendChangesetTimeout']();return _0x148eea[_0x35878b(0x1d6)](_0x24db7a),_0x148eea;}throw _0x590395['error'];}catch(_0x528321){return this[_0x35878b(0x356)][_0x35878b(0x15f)](_0x528321),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x1331f8){const _0x8ea644=_0x33f14e;if(_0x1331f8[_0x8ea644(0x2d1)]<=this[_0x8ea644(0x203)]())return this;throw Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x38a119=_0x33f14e;throw Error(_0x38a119(0xdd));}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){const _0x19c476=_0x33f14e;return this['_clearScheduledTask'](),this[_0x19c476(0x1c7)][_0x19c476(0x32f)](_0x18cfb2,this[_0x19c476(0x37e)],this[_0x19c476(0x1aa)],null,this['_pendingMutations'],this[_0x19c476(0x1c8)]);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x1d6)](_0x364107){const _0xb9b4f2=_0x33f14e;let _0x106b7c=_0x364107==null?this[_0xb9b4f2(0x3ae)]():_0x364107;this[_0xb9b4f2(0x1b3)]=new Date()[_0xb9b4f2(0x18f)]()+_0x106b7c,this[_0xb9b4f2(0x2bb)]=setTimeout(()=>{const _0x29fbff=_0xb9b4f2;this[_0x29fbff(0x2ab)]();let _0x5a7297=null;switch(this[_0x29fbff(0x1aa)]){case _0x305d10['UniverInstanceType'][_0x29fbff(0x22a)]:_0x5a7297=_0x19ee22(this[_0x29fbff(0x14e)],this['unitID'],this[_0x29fbff(0x35b)],this[_0x29fbff(0x28d)],this['_memberService']);break;case _0x305d10[_0x29fbff(0x1c6)][_0x29fbff(0x26e)]:_0x5a7297=this[_0x29fbff(0x14e)][_0x29fbff(0x11e)](_0x3ed38a=>_0x3ed38a['id']===_0x44bc8e[_0x29fbff(0xe8)]['id'])?_0x1fe0b4(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x29fbff(0x28d)],this[_0x29fbff(0xf7)]):_0x19ee22(this[_0x29fbff(0x14e)],this[_0x29fbff(0x37e)],this[_0x29fbff(0x35b)],this[_0x29fbff(0x28d)],this[_0x29fbff(0xf7)]);break;default:throw Error(_0x29fbff(0x16c)+this[_0x29fbff(0x1aa)]+_0x29fbff(0x198));}let {changeset:_0xbb3ba7,pendingMutations:_0x4f36c0}=_0x5a7297;this[_0x29fbff(0x1c8)]['onSendChangeset'](_0xbb3ba7);let _0x575566=_0x4f36c0[_0x29fbff(0x251)]?this['_injector'][_0x29fbff(0x32f)](_0x1f4a11,this[_0x29fbff(0x37e)],this[_0x29fbff(0x1aa)],_0xbb3ba7,_0x4f36c0,this['_handler'],void 0x0):this[_0x29fbff(0x1c7)]['createInstance'](_0x4c5197,this[_0x29fbff(0x37e)],this[_0x29fbff(0x1aa)],_0xbb3ba7,this[_0x29fbff(0x1c8)]);_0x575566[_0x29fbff(0x335)](),this[_0x29fbff(0x1c8)][_0x29fbff(0xbc)](this,_0x575566);},_0x106b7c);}[_0x33f14e(0x3ae)](){const _0x52c51d=_0x33f14e;var _0x2c9ed1;let _0x9107f5=this[_0x52c51d(0x333)][_0x52c51d(0x328)](_0x1cf9ab);return(_0x2c9ed1=_0x9107f5==null?void 0x0:_0x9107f5['sendChangesetTimeout'])==null?0x7d0:_0x2c9ed1;}['resend'](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x33f14e(0x2ab)](){const _0x4c6a10=_0x33f14e;this[_0x4c6a10(0x2bb)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4c6a10(0x2bb)]=null);}[_0x33f14e(0x358)](_0x563bf9){const _0x3e6f84=_0x33f14e;return this[_0x3e6f84(0x2ab)](),this[_0x3e6f84(0x1c7)][_0x3e6f84(0x32f)](_0x50a112,this[_0x3e6f84(0x37e)],this[_0x3e6f84(0x1aa)],null,this[_0x3e6f84(0x14e)],this[_0x3e6f84(0x1c8)],_0x563bf9);}};_0x40e466=_0x633e0b=_0x47fc4c([_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x6,(0x0,_0x305d10['Inject'])(_0x497a33)),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x305d10['ICommandService']),_0xf01086(0x9,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0xa,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0xc,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x40e466);let _0x4c5197=_0x54fbde=class extends _0xcc4349{constructor(_0x1218ba,_0x28267e,_0x55f598,_0x3c656a,_0x4ee38c,_0x5db4a8,_0x26ae2d,_0x163821,_0x50428d,_0x5a6036,_0x1642c9){const _0x40df2a=_0x33f14e;super(_0x1218ba,_0x28267e,_0x55f598,[],_0x3c656a,_0x26ae2d,_0x5a6036,_0x5db4a8,_0x1642c9),this[_0x40df2a(0x1c7)]=_0x4ee38c,this[_0x40df2a(0x356)]=_0x163821,this['_transformService']=_0x50428d,_0x816778(this,_0x40df2a(0x2fb),_0x40df2a(0xe6)),_0x816778(this,_0x40df2a(0x120),0x0),_0x816778(this,_0x40df2a(0x256),0x0),_0x816778(this,_0x40df2a(0x1a6),void 0x0),_0x816778(this,'_sender',void 0x0);}[_0x33f14e(0x221)](_0x2163db){const _0x528fa8=_0x33f14e;this[_0x528fa8(0x2ab)]();let _0x2b9e46=this[_0x528fa8(0x1c7)][_0x528fa8(0x32f)](_0x1f4a11,this[_0x528fa8(0x37e)],this[_0x528fa8(0x1aa)],this[_0x528fa8(0x110)],[_0x2163db],this[_0x528fa8(0x1c8)],this[_0x528fa8(0x1a6)]);return _0x2b9e46[_0x528fa8(0x335)](),_0x2b9e46;}['onRemoteChangeset'](_0x502162){const _0x370dec=_0x33f14e;if(this[_0x370dec(0x209)](_0x502162))return this[_0x370dec(0x2ab)](),this[_0x370dec(0x1c7)]['createInstance'](_0x69d917,this[_0x370dec(0x37e)],this[_0x370dec(0x1aa)],this[_0x370dec(0x110)],[],null,[_0x502162],this[_0x370dec(0x1c8)]);try{let _0x4f0f84=this[_0x370dec(0x15e)][_0x370dec(0x3be)]([_0x502162],[this[_0x370dec(0x110)]],!0x1);if((0x0,_0x540a4f['isTransformChangesetsSuccess'])(_0x4f0f84)){let {c1Prime:_0x16464e,c2Prime:_0x393897}=_0x4f0f84;this[_0x370dec(0x16b)](_0x16464e[0x0]),_0x393897[0x0][_0x370dec(0x1ac)]=this['_getCurrentRevision'](),this[_0x370dec(0x2ab)]();let _0x481dc8=this[_0x370dec(0x1c7)][_0x370dec(0x32f)](_0x54fbde,this['unitID'],this[_0x370dec(0x1aa)],_0x393897[0x0],this[_0x370dec(0x1c8)]);return _0x481dc8[_0x370dec(0x335)](),_0x481dc8;}throw _0x4f0f84[_0x370dec(0x15f)];}catch(_0x2d13dd){return this[_0x370dec(0x356)]['error'](_0x2d13dd),this[_0x370dec(0x358)](!0x1);}}[_0x33f14e(0xc4)](_0x49abc9){const _0x41ed35=_0x33f14e;this[_0x41ed35(0x2ab)]();let _0x49b5d4=this[_0x41ed35(0x28d)][_0x41ed35(0x15b)](this[_0x41ed35(0x37e)]);if(_0x49abc9['revision']<=_0x49b5d4)return this;if(this[_0x41ed35(0x209)](_0x49abc9))return this[_0x41ed35(0x1c7)][_0x41ed35(0x32f)](_0x69d917,this[_0x41ed35(0x37e)],this[_0x41ed35(0x1aa)],this['_awaitingChangeset'],[],_0x49abc9[_0x41ed35(0x2d1)],[],this[_0x41ed35(0x1c8)]);this['_incrementRevisionNumber']();let _0x5e3bc4=this[_0x41ed35(0x1c7)][_0x41ed35(0x32f)](_0x3f62b4,this[_0x41ed35(0x37e)],this[_0x41ed35(0x1aa)],this[_0x41ed35(0x1c8)]);return _0x5e3bc4['_updateLocalCache'](),_0x5e3bc4;}[_0x33f14e(0x159)](_0x184ea1){const _0x764ea7=_0x33f14e;return this['_onConflict'](!!(_0x184ea1!=null&&_0x184ea1[_0x764ea7(0x3bd)]));}[_0x33f14e(0x24f)](_0x25a9e6){const _0x152643=_0x33f14e;return this['_maxTotalRetryTimeout']>_0x28da41?this['toggleOffline']():(this['_resendTimer']=_0x1ecae5(this['_resendTimeout'],{'timeout':this[_0x152643(0x120)],'reqId':_0x25a9e6[_0x152643(0x1e8)]}),this[_0x152643(0x2ff)]=this['_resendTimer'][_0x152643(0x305)](({reqId:_0x3ce18e,timeout:_0x1c6712})=>{const _0x1ccc4f=_0x152643;this[_0x1ccc4f(0x286)](_0x3ce18e,_0x1c6712);}),this);}[_0x33f14e(0xb3)](){const _0x214b0d=_0x33f14e;return this[_0x214b0d(0x2ab)](),this[_0x214b0d(0x1c7)][_0x214b0d(0x32f)](_0x18cfb2,this[_0x214b0d(0x37e)],this[_0x214b0d(0x1aa)],this[_0x214b0d(0x110)],[],this['_handler']);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x58f9ef=_0x33f14e;this['_handler'][_0x58f9ef(0x152)](this['_awaitingChangeset']);}[_0x33f14e(0x358)](_0x207512){const _0x1d003c=_0x33f14e;return this['_clearScheduledTask'](),this[_0x1d003c(0x1c7)][_0x1d003c(0x32f)](_0x50a112,this[_0x1d003c(0x37e)],this[_0x1d003c(0x1aa)],this['_awaitingChangeset'],[],this['_handler'],_0x207512);}[_0x33f14e(0x286)](_0x509e42,_0x1f36d4){const _0x196667=_0x33f14e;var _0x14def6;_0x509e42===((_0x14def6=this['_awaitingChangeset'])==null?void 0x0:_0x14def6[_0x196667(0x1e8)])&&(this[_0x196667(0x150)](),this[_0x196667(0x120)]=_0x1f36d4===0x0?0x3e8:Math[_0x196667(0x276)](_0x1f36d4*0x2,_0x47612d),this[_0x196667(0x256)]+=this[_0x196667(0x120)]);}[_0x33f14e(0x2ab)](){const _0x55a4fa=_0x33f14e;var _0x48e8bb;(_0x48e8bb=this[_0x55a4fa(0x2ff)])==null||_0x48e8bb[_0x55a4fa(0x38d)](),this[_0x55a4fa(0x120)]=0x0,this[_0x55a4fa(0x256)]=0x0;}};_0x4c5197=_0x54fbde=_0x47fc4c([_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f['RevisionService'])),_0xf01086(0x6,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x7,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x8,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xa,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x4c5197);let _0x1f4a11=_0x55bb43=class extends _0xcc4349{constructor(_0x4f18de,_0x5ee346,_0x3c1ed3,_0x171390,_0x1f057b,_0xa767e5,_0x7d422e,_0x3b4b05,_0x39a92b,_0x376e82,_0x25caf9,_0x3c27f4,_0x8052b6){const _0x3d4a39=_0x33f14e;super(_0x4f18de,_0x5ee346,_0x3c1ed3,_0x171390,_0x1f057b,_0x39a92b,_0x3c27f4,_0x3b4b05,_0x8052b6),this[_0x3d4a39(0x1c7)]=_0x7d422e,this['_logService']=_0x376e82,this[_0x3d4a39(0x15e)]=_0x25caf9,this[_0x3d4a39(0x302)]=_0x8052b6,_0x816778(this,_0x3d4a39(0x2fb),_0x3d4a39(0x315)),_0x816778(this,_0x3d4a39(0x120),0x0),_0x816778(this,'_maxTotalRetryTimeout',0x0),_0x816778(this,_0x3d4a39(0x1a6),void 0x0),_0x816778(this,_0x3d4a39(0x2ff),void 0x0),_0xa767e5&&(this[_0x3d4a39(0x1a6)]=_0xa767e5,this[_0x3d4a39(0x2ff)]=this['_resendTimer'][_0x3d4a39(0x305)](({reqId:_0x186cf0,timeout:_0x4aa35f})=>{const _0x445eca=_0x3d4a39;this[_0x445eca(0x286)](_0x186cf0,_0x4aa35f);}));}[_0x33f14e(0x221)](_0x4b7b9){const _0x5ca261=_0x33f14e;return this[_0x5ca261(0x14e)][_0x5ca261(0xf8)](_0x4b7b9),this;}['onRemoteChangeset'](_0x4a5f14){const _0x159de4=_0x33f14e;if(this[_0x159de4(0x209)](_0x4a5f14))return this[_0x159de4(0x2ab)](),this['_injector'][_0x159de4(0x32f)](_0x69d917,this[_0x159de4(0x37e)],this[_0x159de4(0x1aa)],this[_0x159de4(0x110)],this[_0x159de4(0x14e)],null,[_0x4a5f14],this[_0x159de4(0x1c8)]);try{let _0x5173e9=this[_0x159de4(0x15e)][_0x159de4(0x3be)]([_0x4a5f14],[this['_awaitingChangeset']],!0x1);if((0x0,_0x540a4f[_0x159de4(0x13e)])(_0x5173e9)){let {c1Prime:_0x169dde,c2Prime:_0x20ca7a}=_0x5173e9,_0x54fb2c=this[_0x159de4(0x15e)][_0x159de4(0x141)](_0x169dde[0x0],this['_pendingMutations']);if((0x0,_0x540a4f['isTransformMutationsWithChangesetSuccess'])(_0x54fb2c)){let {c1Prime:_0x1908db,m2Prime:_0x482048}=_0x54fb2c;return this[_0x159de4(0x16b)](_0x1908db),_0x20ca7a[0x0][_0x159de4(0x1ac)]=this['_getCurrentRevision'](),this[_0x159de4(0x2ab)](),this['_injector'][_0x159de4(0x32f)](_0x55bb43,this[_0x159de4(0x37e)],this['type'],_0x20ca7a[0x0],_0x482048,this['_handler'],void 0x0);}throw _0x54fb2c[_0x159de4(0x15f)];}throw _0x5173e9[_0x159de4(0x15f)];}catch(_0x501454){return this[_0x159de4(0x356)][_0x159de4(0x15f)](_0x501454),this[_0x159de4(0x358)](!0x1);}}[_0x33f14e(0xc4)](_0x53e550){const _0x3d5577=_0x33f14e;this[_0x3d5577(0x2ab)]();let _0x125298=this[_0x3d5577(0x203)]();if(_0x53e550[_0x3d5577(0x2d1)]<=_0x125298)return this;if(this[_0x3d5577(0x209)](_0x53e550))return this[_0x3d5577(0x1c7)][_0x3d5577(0x32f)](_0x69d917,this[_0x3d5577(0x37e)],this[_0x3d5577(0x1aa)],this[_0x3d5577(0x110)],this[_0x3d5577(0x14e)],_0x53e550[_0x3d5577(0x2d1)],[],this['_handler']);this['_incrementRevisionNumber']();let _0x5c98ba=this[_0x3d5577(0x1c7)][_0x3d5577(0x32f)](_0x40e466,this[_0x3d5577(0x37e)],this[_0x3d5577(0x1aa)],this[_0x3d5577(0x14e)],this[_0x3d5577(0x1c8)]);return _0x5c98ba[_0x3d5577(0x1d6)](),_0x5c98ba[_0x3d5577(0x335)](),_0x5c98ba;}[_0x33f14e(0x159)](_0x4d4bc8){const _0x180fe9=_0x33f14e;return this[_0x180fe9(0x358)](!!(_0x4d4bc8!=null&&_0x4d4bc8[_0x180fe9(0x3bd)]));}[_0x33f14e(0x24f)](_0xc4ad1){const _0x33d45c=_0x33f14e;return this['_maxTotalRetryTimeout']>_0x28da41?this[_0x33d45c(0xb3)]():(this[_0x33d45c(0x1a6)]=_0x1ecae5(this['_resendTimeout'],{'timeout':this[_0x33d45c(0x120)],'reqId':_0xc4ad1['reqId']}),this[_0x33d45c(0x2ff)]=this[_0x33d45c(0x1a6)][_0x33d45c(0x305)](({reqId:_0x1a03ca,timeout:_0x245cfe})=>{this['_resendWithTimeout'](_0x1a03ca,_0x245cfe);}),this);}[_0x33f14e(0xb3)](){const _0x2628a7=_0x33f14e;return this['_clearScheduledTask'](),this[_0x2628a7(0x1c7)]['createInstance'](_0x18cfb2,this[_0x2628a7(0x37e)],this[_0x2628a7(0x1aa)],this['_awaitingChangeset'],this[_0x2628a7(0x14e)],this[_0x2628a7(0x1c8)]);}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x2fb49f=_0x33f14e;this[_0x2fb49f(0x1c8)][_0x2fb49f(0x152)](this[_0x2fb49f(0x110)]);}[_0x33f14e(0x358)](_0x30f957){const _0x283785=_0x33f14e;return this[_0x283785(0x2ab)](),this[_0x283785(0x1c7)][_0x283785(0x32f)](_0x50a112,this['unitID'],this['type'],null,this[_0x283785(0x14e)],this[_0x283785(0x1c8)],_0x30f957);}[_0x33f14e(0x286)](_0x3c0cfa,_0x12396d){const _0x227f59=_0x33f14e;var _0x56255e;_0x3c0cfa===((_0x56255e=this[_0x227f59(0x110)])==null?void 0x0:_0x56255e[_0x227f59(0x1e8)])&&(this[_0x227f59(0x150)](),this[_0x227f59(0x120)]=_0x12396d===0x0?0x3e8:Math[_0x227f59(0x276)](_0x12396d*0x2,_0x47612d),this[_0x227f59(0x256)]+=this[_0x227f59(0x120)]);}[_0x33f14e(0x2ab)](){const _0x45eb67=_0x33f14e;var _0x5c0a20;(_0x5c0a20=this[_0x45eb67(0x2ff)])==null||_0x5c0a20[_0x45eb67(0x38d)](),this[_0x45eb67(0x120)]=0x0,this[_0x45eb67(0x256)]=0x0;}};_0x1f4a11=_0x55bb43=_0x47fc4c([_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x8,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x1f4a11);let _0x50a112=class extends _0xcc4349{constructor(_0x31787d,_0x15170e,_0x4dba88,_0x3c057d,_0x1a375f,_0x24ef1=!0x1,_0x2ceccc,_0x415cf9,_0x191e4b,_0x4a8efc,_0x16d17a,_0x4a60a5,_0x536dbc){const _0x288f21=_0x33f14e;super(_0x31787d,_0x15170e,_0x4dba88,_0x3c057d,_0x1a375f,_0x415cf9,_0x191e4b,_0x4a8efc,_0x536dbc),this[_0x288f21(0x39a)]=_0x24ef1,this['_permissionService']=_0x2ceccc,this['_localeService']=_0x16d17a,this['_collaborationUIEventService']=_0x4a60a5,this['localCacheService']=_0x536dbc,_0x816778(this,_0x288f21(0x2fb),_0x288f21(0x182)),this[_0x288f21(0x29e)](),this[_0x288f21(0x307)](),this['_disableEditing']();}[_0x33f14e(0x221)](){return this;}['onRemoteChangeset'](){return this;}[_0x33f14e(0xc4)](){return this;}[_0x33f14e(0x159)](){return this;}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){return this;}[_0x33f14e(0x2ea)](){return this;}[_0x33f14e(0x150)](){const _0x6a83b9=_0x33f14e;throw Error(_0x6a83b9(0x1ed));}['_clearLocalCache'](){const _0x335240=_0x33f14e;var _0x80b8ee;(_0x80b8ee=this[_0x335240(0x179)])==null||_0x80b8ee[_0x335240(0x12a)](this[_0x335240(0x37e)],this[_0x335240(0x1aa)],null,[]);}[_0x33f14e(0x29e)](){const _0x18eb99=_0x33f14e;this[_0x18eb99(0x39a)]?this[_0x18eb99(0x17e)]['emitEvent']({'id':_0x18eb99(0x399)}):this['_collaborationUIEventService']['emitEvent']({'id':_0x18eb99(0x225)});}[_0x33f14e(0xdb)](){const _0x154a12=_0x33f14e;this[_0x154a12(0x27e)][_0x154a12(0x378)](new _0x2b86ea['WorkbookEditablePermission'](this[_0x154a12(0x37e)])['id'],!0x1);}};_0x50a112=_0x47fc4c([_0xf01086(0x6,(0x0,_0x305d10['Inject'])(_0x305d10['IPermissionService'])),_0xf01086(0x7,_0x305d10['ICommandService']),_0xf01086(0x8,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x9,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0xa,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0xb,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x50a112);let _0x18cfb2=class extends _0xcc4349{constructor(_0x1e418d,_0xf2207f,_0x287bbe,_0xad63d4,_0x1a7cda,_0x38fa44,_0x40a9a8,_0x4f03ac,_0x40d088,_0x23d0c0){const _0x5c2e52=_0x33f14e;super(_0x1e418d,_0xf2207f,_0x287bbe,_0xad63d4,_0x1a7cda,_0x4f03ac,_0x40d088,_0x40a9a8,_0x23d0c0),this[_0x5c2e52(0x1c7)]=_0x38fa44,_0x816778(this,_0x5c2e52(0x2fb),_0x5c2e52(0x15d));}['appendMutation'](_0x220376){const _0x1cd502=_0x33f14e;return this[_0x1cd502(0x14e)][_0x1cd502(0xf8)](_0x220376),this[_0x1cd502(0x335)](),this;}[_0x33f14e(0x217)](_0x1568ef){const _0x1a2f7c=_0x33f14e;throw Error(_0x1a2f7c(0x3a0));}[_0x33f14e(0xc4)](){const _0x54842f=_0x33f14e;throw Error(_0x54842f(0x25b));}[_0x33f14e(0x159)](){throw Error('[OfflineState]:\x20received\x20rejection.');}[_0x33f14e(0x24f)](){return this;}['toggleOffline'](){return this;}[_0x33f14e(0x2ea)](){const _0x1ef93a=_0x33f14e;let {_injector:_0x4fccb1,_pendingMutations:_0x44555f,_awaitingChangeset:_0x5766b0,unitID:_0x5c11bb,_handler:_0x14fdcd,type:_0x55039b}=this,_0x4b2c19=_0xa73d8b(_0x4fccb1,_0x5c11bb,_0x55039b,_0x5766b0,_0x44555f,_0x14fdcd);return _0x4b2c19 instanceof _0x40e466?_0x4b2c19['_schedule']():(_0x4b2c19 instanceof _0x1f4a11||_0x4b2c19 instanceof _0x4c5197)&&_0x4b2c19[_0x1ef93a(0x150)](),_0x4b2c19;}[_0x33f14e(0x150)](){const _0x11a03a=_0x33f14e;throw Error(_0x11a03a(0x357));}};_0x18cfb2=_0x47fc4c([_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x8,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0x9,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x18cfb2);let _0x69d917=class extends _0xcc4349{constructor(_0x2d9350,_0x44417f,_0x19fb88,_0x15cf3d,_0x4d6f16,_0x35c998,_0x215377,_0x5f4305,_0x45c123,_0x279368,_0x113d36,_0x14fd12,_0x2aaa6f,_0x3e05be){const _0x5ea01a=_0x33f14e;super(_0x2d9350,_0x44417f,_0x19fb88,_0x15cf3d,_0x215377,_0x113d36,_0x14fd12,_0x45c123,_0x3e05be),this[_0x5ea01a(0x1ea)]=_0x4d6f16,this[_0x5ea01a(0x319)]=_0x35c998,this['_injector']=_0x5f4305,this['_logService']=_0x279368,this['_transformService']=_0x2aaa6f,this[_0x5ea01a(0x302)]=_0x3e05be,_0x816778(this,_0x5ea01a(0x2fb),_0x5ea01a(0xe9));}[_0x33f14e(0xd5)](_0xe12d30){const _0x3a4a90=_0x33f14e;try{if(this[_0x3a4a90(0x2cf)](_0xe12d30)[_0x3a4a90(0x2e1)])throw Error('[FetchMissState]:\x20missing\x20changesets\x20response\x20still\x20has\x20revision\x20gaps.');if(this['_handleRemoteChangesets']([...this[_0x3a4a90(0x319)]][_0x3a4a90(0x1bd)]((_0x4de3bc,_0x56635b)=>_0x4de3bc[_0x3a4a90(0x2d1)]-_0x56635b[_0x3a4a90(0x2d1)]))[_0x3a4a90(0x2e1)])return this[_0x3a4a90(0x319)]=[],this[_0x3a4a90(0x335)](),this['_handler'][_0x3a4a90(0xd6)]({'from':this[_0x3a4a90(0x203)](),'to':0x0}),this;let _0x18d0dc=this[_0x3a4a90(0x110)],_0x485f9a=this[_0x3a4a90(0x14e)],_0x374bdb;if(_0x18d0dc&&_0x485f9a['length']!==0x0)_0x374bdb=this['_injector'][_0x3a4a90(0x32f)](_0x1f4a11,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],_0x18d0dc,_0x485f9a,this['_handler'],void 0x0);else{if(_0x18d0dc&&_0x485f9a['length']===0x0)_0x18d0dc[_0x3a4a90(0x1ac)]=this[_0x3a4a90(0x203)](),_0x374bdb=this[_0x3a4a90(0x1c7)]['createInstance'](_0x4c5197,this['unitID'],this[_0x3a4a90(0x1aa)],_0x18d0dc,this['_handler']);else{if(_0x485f9a[_0x3a4a90(0x251)]!==0x0){let _0x3f02ca=this[_0x3a4a90(0x1c7)]['createInstance'](_0x40e466,this['unitID'],this['type'],_0x485f9a,this[_0x3a4a90(0x1c8)]);_0x3f02ca[_0x3a4a90(0x1d6)](),_0x374bdb=_0x3f02ca;}else _0x374bdb=this['_injector']['createInstance'](_0x3f62b4,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],this[_0x3a4a90(0x1c8)]);}}return _0x374bdb[_0x3a4a90(0x335)](),_0x374bdb;}catch(_0x93055e){return this[_0x3a4a90(0x356)][_0x3a4a90(0x15f)](_0x3a4a90(0x27d),_0x3a4a90(0x1d1),_0x93055e),this['_injector']['createInstance'](_0x50a112,this[_0x3a4a90(0x37e)],this[_0x3a4a90(0x1aa)],this[_0x3a4a90(0x110)],this[_0x3a4a90(0x14e)],this[_0x3a4a90(0x1c8)],!0x1);}}[_0x33f14e(0x2cf)](_0x5bc373){const _0x9b52ac=_0x33f14e;this['_acknowledgeAwaitingIfReady']();for(let _0x34f413=0x0;_0x34f413<_0x5bc373[_0x9b52ac(0x251)];_0x34f413++){let _0x41404d=_0x5bc373[_0x34f413],_0x380e3e=this[_0x9b52ac(0x203)]();if(!(_0x41404d[_0x9b52ac(0x2d1)]<=_0x380e3e)){if(_0x41404d[_0x9b52ac(0x2d1)]>_0x380e3e+0x1)return{'missingChangesets':!0x0};if(this[_0x9b52ac(0x234)](_0x41404d)){this[_0x9b52ac(0xee)]();continue;}this[_0x9b52ac(0x342)](_0x41404d),this[_0x9b52ac(0x275)]();}}return{'missingChangesets':!0x1};}[_0x33f14e(0x342)](_0x77ac01){const _0x2872ed=_0x33f14e;let _0x3f1b89=_0x77ac01,_0x27ac81=this[_0x2872ed(0x110)];if(_0x27ac81){let _0x18b20e=this[_0x2872ed(0x15e)][_0x2872ed(0x3be)]([_0x77ac01],[_0x27ac81],!0x1);if(!(0x0,_0x540a4f[_0x2872ed(0x13e)])(_0x18b20e))throw _0x18b20e[_0x2872ed(0x15f)];_0x3f1b89=_0x18b20e['c1Prime'][0x0],_0x27ac81=_0x18b20e[_0x2872ed(0x22b)][0x0];}let _0x2f245f=this['_pendingMutations'];if(_0x2f245f[_0x2872ed(0x251)]){let _0x5810f0=this[_0x2872ed(0x15e)][_0x2872ed(0x141)](_0x3f1b89,_0x2f245f);if(!(0x0,_0x540a4f[_0x2872ed(0x199)])(_0x5810f0))throw _0x5810f0[_0x2872ed(0x15f)];_0x3f1b89=_0x5810f0['c1Prime'],_0x2f245f=_0x5810f0['m2Prime'];}this[_0x2872ed(0x16b)](_0x3f1b89),_0x27ac81&&(_0x27ac81[_0x2872ed(0x1ac)]=this[_0x2872ed(0x203)]()),this['_awaitingChangeset']=_0x27ac81,this[_0x2872ed(0x14e)]=_0x2f245f;}['_acknowledgeAwaitingIfReady'](){const _0x2762cb=_0x33f14e;if(!this[_0x2762cb(0x110)]||this[_0x2762cb(0x1ea)]==null)return;let _0x3f7964=this[_0x2762cb(0x203)]();if(this[_0x2762cb(0x1ea)]<=_0x3f7964)throw Error(_0x2762cb(0x351)+this['_acknowledgedAwaitingRevision']+'.');this[_0x2762cb(0x1ea)]===_0x3f7964+0x1&&this[_0x2762cb(0xee)]();}['_acknowledgeAwaiting'](){const _0x4122d1=_0x33f14e;this[_0x4122d1(0x3b7)](),this[_0x4122d1(0x110)]=null,this[_0x4122d1(0x1ea)]=null;}[_0x33f14e(0x234)](_0x566903){const _0x10d8d1=_0x33f14e;let _0x3fb967=this[_0x10d8d1(0x110)];return!_0x3fb967||!_0x3fb967[_0x10d8d1(0x39c)]||_0x3fb967[_0x10d8d1(0x1e8)]===null||_0x3fb967[_0x10d8d1(0x1e8)]===void 0x0?!0x1:_0x566903[_0x10d8d1(0x37e)]===_0x3fb967[_0x10d8d1(0x37e)]&&_0x566903[_0x10d8d1(0x39c)]===_0x3fb967['sid']&&_0x566903[_0x10d8d1(0x1e8)]===_0x3fb967[_0x10d8d1(0x1e8)];}[_0x33f14e(0x150)](){const _0x530d79=_0x33f14e;throw Error(_0x530d79(0x220));}[_0x33f14e(0x221)](_0x509a86){const _0x52b199=_0x33f14e;return this[_0x52b199(0x14e)]['push'](_0x509a86),this;}[_0x33f14e(0x217)](_0x4d839f){const _0x132068=_0x33f14e;return this[_0x132068(0x319)]['push'](_0x4d839f),this;}[_0x33f14e(0xc4)](_0x2f2e14){const _0x41a12e=_0x33f14e;if(this[_0x41a12e(0x110)]){let _0x2378fb=this[_0x41a12e(0x203)]();return _0x2f2e14[_0x41a12e(0x2d1)]<=_0x2378fb||(_0x2378fb+0x1===_0x2f2e14[_0x41a12e(0x2d1)]?(this[_0x41a12e(0x3b7)](),this['_awaitingChangeset']=null,this['_acknowledgedAwaitingRevision']=null):this[_0x41a12e(0x1ea)]=_0x2f2e14['revision']),this;}if(_0x2f2e14[_0x41a12e(0x2d1)]<=this[_0x41a12e(0x203)]())return this;throw Error(_0x41a12e(0x130));}['onRemoteRej'](_0x3c6a74){const _0xa98a8c=_0x33f14e;return this[_0xa98a8c(0x358)](!!(_0x3c6a74!=null&&_0x3c6a74['isPermissionRej']));}[_0x33f14e(0x24f)](){return this;}[_0x33f14e(0xb3)](){const _0x568c3a=_0x33f14e;return this[_0x568c3a(0x1c7)][_0x568c3a(0x32f)](_0x18cfb2,this[_0x568c3a(0x37e)],this[_0x568c3a(0x1aa)],this[_0x568c3a(0x110)],this[_0x568c3a(0x14e)],this[_0x568c3a(0x1c8)]);}['toggleOnline'](){return this;}[_0x33f14e(0x358)](_0x11d35e){const _0x2d1728=_0x33f14e;return this[_0x2d1728(0x1c7)][_0x2d1728(0x32f)](_0x50a112,this[_0x2d1728(0x37e)],this[_0x2d1728(0x1aa)],this[_0x2d1728(0x110)],this[_0x2d1728(0x14e)],this[_0x2d1728(0x1c8)],_0x11d35e);}};_0x69d917=_0x47fc4c([_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x8,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10['ICommandService']),_0xf01086(0xb,_0x305d10[_0x33f14e(0xe3)]),_0xf01086(0xc,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x69d917);function _0xa73d8b(_0x226fee,_0x2e4faf,_0x52a65d,_0x137b46,_0x3b13ce,_0x4db61f){const _0x29aeb5=_0x33f14e;return _0x137b46&&_0x3b13ce['length']?_0x226fee[_0x29aeb5(0x32f)](_0x1f4a11,_0x2e4faf,_0x52a65d,_0x137b46,_0x3b13ce,_0x4db61f,void 0x0):_0x137b46?_0x226fee[_0x29aeb5(0x32f)](_0x4c5197,_0x2e4faf,_0x52a65d,_0x137b46,_0x4db61f):_0x3b13ce[_0x29aeb5(0x251)]?_0x226fee[_0x29aeb5(0x32f)](_0x40e466,_0x2e4faf,_0x52a65d,_0x3b13ce,_0x4db61f):_0x226fee[_0x29aeb5(0x32f)](_0x3f62b4,_0x2e4faf,_0x52a65d,_0x4db61f);}let _0x5f0326=class extends _0x305d10[_0x33f14e(0x15a)]{get['state'](){return this['_state'];}constructor(_0x48350c,_0x28bc02,_0x2fb4b4,_0x100c18,_0xb8ec71,_0x4ed3c7,_0x1ad9b1,_0x4af083,_0x18337b,_0x2fd90a,_0xa1c208,_0x5bc666,_0x1fb27e,_0x37d351){const _0x2a13d9=_0x33f14e;super(),this['unitID']=_0x48350c,this[_0x2a13d9(0x20a)]=_0x28bc02,this[_0x2a13d9(0x34a)]=_0x2fb4b4,this[_0x2a13d9(0x1c7)]=_0x100c18,this[_0x2a13d9(0x2ac)]=_0xb8ec71,this[_0x2a13d9(0x35d)]=_0x4ed3c7,this[_0x2a13d9(0x28d)]=_0x1ad9b1,this[_0x2a13d9(0x17a)]=_0x4af083,this[_0x2a13d9(0x35b)]=_0x18337b,this[_0x2a13d9(0x356)]=_0x2fd90a,this[_0x2a13d9(0x1f7)]=_0xa1c208,this[_0x2a13d9(0x27e)]=_0x5bc666,this[_0x2a13d9(0x24a)]=_0x1fb27e,this[_0x2a13d9(0x179)]=_0x37d351,_0x816778(this,_0x2a13d9(0x247),new _0x247d93['BehaviorSubject'](null)),_0x816778(this,_0x2a13d9(0x1a8),this['_state$'][_0x2a13d9(0x172)]()),_0x816778(this,'_state',void 0x0),_0x816778(this,_0x2a13d9(0x1d8),!0x1),_0x816778(this,'_changesetSessionId',''),_0x816778(this,'_changesetReqId',0x0),_0x816778(this,_0x2a13d9(0x363),this[_0x2a13d9(0x1a8)][_0x2a13d9(0x2a9)]((0x0,_0x247d93[_0x2a13d9(0x348)])(_0x3e65ff=>_0x3e65ff?_0x3e65ff[_0x2a13d9(0x2fb)]:'offline'),(0x0,_0x247d93[_0x2a13d9(0x2de)])({'bufferSize':0x1,'refCount':!0x0}))),_0x816778(this,'_transitionLocked',!0x1),_0x816778(this,_0x2a13d9(0x1ec),[]);}async[_0x33f14e(0x32e)](){const _0x515d0a=_0x33f14e;if(this[_0x515d0a(0x204)])throw Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x515d0a(0x205)]();}[_0x33f14e(0x2aa)](){const _0x5bb1c3=_0x33f14e;return this[_0x5bb1c3(0x1d8)]=!0x0,(0x0,_0x305d10['toDisposable'])(()=>{const _0x158b35=_0x5bb1c3;this[_0x158b35(0x1d8)]=!0x1,this[_0x158b35(0x134)]();});}[_0x33f14e(0xf9)](_0x287538){const _0x4ad35e=_0x33f14e;this[_0x4ad35e(0x1ad)](_0x287538);}['_updateState'](_0x147681){const _0x1b3758=_0x33f14e;this[_0x1b3758(0x184)]=_0x147681,this[_0x1b3758(0x247)]['next'](_0x147681);}async[_0x33f14e(0x205)](){const _0x5a6a0f=_0x33f14e;if(this['_updateState'](await this[_0x5a6a0f(0x34b)]()),this['_singleActiveUnitService']){var _0x2dfc70;(_0x2dfc70=this[_0x5a6a0f(0x24a)])==null||_0x2dfc70[_0x5a6a0f(0x1f8)](this[_0x5a6a0f(0x37e)]),this[_0x5a6a0f(0x20b)](this[_0x5a6a0f(0x24a)][_0x5a6a0f(0x38f)](this[_0x5a6a0f(0x37e)])[_0x5a6a0f(0x305)](_0x391207=>{const _0x2b2225=_0x5a6a0f;this['_logService'][_0x2b2225(0x31a)](_0x2b2225(0x2f5),_0x2b2225(0xbe),_0x391207),_0x391207===0x1?(this['_eventService'][_0x2b2225(0x118)]({'id':_0x2b2225(0x162)}),this[_0x2b2225(0x27e)]['updatePermissionPoint'](new _0x2b86ea[(_0x2b2225(0xef))](this[_0x2b2225(0x37e)])['id'],!0x1),this[_0x2b2225(0x27e)]['setShowComponents'](!0x1)):(this[_0x2b2225(0x27e)]['updatePermissionPoint'](new _0x2b86ea[(_0x2b2225(0xef))](this[_0x2b2225(0x37e)])['id'],!0x0),this['_permissionService'][_0x2b2225(0x32d)](!0x0));}));}let _0x9426fa=!0x1;return this[_0x5a6a0f(0x20b)](this[_0x5a6a0f(0x20a)]['sessionStatus$'][_0x5a6a0f(0x305)](_0x5dbf7b=>{_0x5dbf7b===0x3?this['_toggleOnline'](_0x9426fa):_0x5dbf7b===0x2&&(_0x9426fa=!0x0,this['_toggleOffline']());})),this[_0x5a6a0f(0x20b)](this['session'][_0x5a6a0f(0x1b0)][_0x5a6a0f(0x305)](_0x1e0c69=>{const _0x28bbef=_0x5a6a0f;try{switch(_0x1e0c69[_0x28bbef(0x2b4)]){case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x30a)]:this[_0x28bbef(0x2a5)]((0x0,_0x540a4f[_0x28bbef(0x3b0)])(_0x1e0c69['data']));break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x24c)]:this[_0x28bbef(0x3b9)](_0x1e0c69['data']);break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x164)]:this[_0x28bbef(0x397)]();break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x370)]:this['_onRemoteRetry'](_0x1e0c69[_0x28bbef(0x23d)]);break;case _0x540a4f['CollaborationEvent'][_0x28bbef(0x163)]:this[_0x28bbef(0x157)](_0x1e0c69[_0x28bbef(0x23d)][_0x28bbef(0x10e)][_0x28bbef(0x348)](_0x36fd5c=>(0x0,_0x540a4f['parseProtocolChangeset'])(_0x36fd5c)));break;case _0x540a4f[_0x28bbef(0x38c)][_0x28bbef(0x344)]:this[_0x28bbef(0x397)]({'isPermissionRej':!0x0});break;case _0x540a4f[_0x28bbef(0x38c)]['UNISCRIPT_RUN']:break;}}catch(_0x2ecce5){throw console[_0x28bbef(0x15f)](_0x28bbef(0x22d),_0x2ecce5),_0x2ecce5;}})),this[_0x5a6a0f(0x184)];}['_unlockTransition'](){const _0x10391c=_0x33f14e;this[_0x10391c(0x3b8)]=!0x1;}[_0x33f14e(0x39e)](){const _0xbdbdf4=_0x33f14e;if(this['_transitionLocked'])throw Error(_0xbdbdf4(0x39f));this[_0xbdbdf4(0x3b8)]=!0x0;}[_0x33f14e(0x1ad)](_0xf5418){const _0x411751=_0x33f14e;this[_0x411751(0x39e)](),this[_0x411751(0x30c)](this[_0x411751(0x184)][_0x411751(0x221)](_0xf5418)),this['_unlockTransition']();}[_0x33f14e(0x2a5)](_0x2a3abb){const _0x505e6b=_0x33f14e;if(!(_0x2a3abb['revision']<=this['_revisionService'][_0x505e6b(0x15b)](this[_0x505e6b(0x37e)]))){if(this[_0x505e6b(0x1d8)]){this['_remoteChangesetQueue'][_0x505e6b(0xf8)](_0x2a3abb);return;}this[_0x505e6b(0x2a3)](_0x2a3abb);}}['_exhaustRemoteChangesetQueue'](){const _0x3acfe6=_0x33f14e;this[_0x3acfe6(0x1ec)][_0x3acfe6(0x1fc)](_0x9ad203=>this[_0x3acfe6(0x2a3)](_0x9ad203)),this[_0x3acfe6(0x1ec)]=[];}[_0x33f14e(0x2a3)](_0x4826fc){const _0x2d7ffb=_0x33f14e;let _0x16486e=this[_0x2d7ffb(0x2ac)][_0x2d7ffb(0x2e2)]['fetchThroughInterceptors'](this[_0x2d7ffb(0x2ac)]['interceptor'][_0x2d7ffb(0x31e)]()[_0x2d7ffb(0x17c)])(_0x4826fc[_0x2d7ffb(0x316)],null)||_0x4826fc[_0x2d7ffb(0x316)],_0x16333d={..._0x4826fc,'mutations':_0x16486e};this['_lockTransition'](),this[_0x2d7ffb(0x30c)](this[_0x2d7ffb(0x184)]['onRemoteChangeset'](_0x16333d)),this[_0x2d7ffb(0x330)]();}[_0x33f14e(0x3b9)](_0x73f62){const _0x386412=_0x33f14e;this['_lockTransition'](),this['_updateState'](this[_0x386412(0x184)][_0x386412(0xc4)](_0x73f62)),this[_0x386412(0x330)]();}[_0x33f14e(0x397)](_0x510a44){const _0x3c609e=_0x33f14e;this[_0x3c609e(0x39e)](),this['_updateState'](this[_0x3c609e(0x184)][_0x3c609e(0x159)](_0x510a44)),this[_0x3c609e(0x330)]();}[_0x33f14e(0x176)](_0x31ab89){const _0x1e2057=_0x33f14e;this[_0x1e2057(0x39e)](),this[_0x1e2057(0x30c)](this[_0x1e2057(0x184)]['onRemoteRetry'](_0x31ab89)),this[_0x1e2057(0x330)]();}[_0x33f14e(0x157)](_0xe7de93){const _0x4eed1e=_0x33f14e;if(!(this[_0x4eed1e(0x184)]instanceof _0x69d917))throw TypeError(_0x4eed1e(0x104));let _0x250858=_0xe7de93[_0x4eed1e(0x348)](_0x4ce8f8=>{const _0x371e77=_0x4eed1e;let _0x7477bd=this['_compressMutationService'][_0x371e77(0x2e2)]['fetchThroughInterceptors'](this[_0x371e77(0x2ac)][_0x371e77(0x2e2)][_0x371e77(0x31e)]()[_0x371e77(0x17c)])(_0x4ce8f8[_0x371e77(0x316)],null)||_0x4ce8f8[_0x371e77(0x316)];return{..._0x4ce8f8,'mutations':_0x7477bd};});this[_0x4eed1e(0x39e)](),this[_0x4eed1e(0x30c)](this[_0x4eed1e(0x184)][_0x4eed1e(0xd5)](_0x250858)),this[_0x4eed1e(0x330)]();}[_0x33f14e(0x2e3)](){const _0x2841d9=_0x33f14e;this[_0x2841d9(0x39e)](),this[_0x2841d9(0x30c)](this[_0x2841d9(0x184)]['toggleOffline']()),this[_0x2841d9(0x330)]();}['_toggleOnline'](_0x424774=!0x1){const _0x2ffbb7=_0x33f14e;this[_0x2ffbb7(0x39e)](),this[_0x2ffbb7(0x30c)](this['_state'][_0x2ffbb7(0x2ea)]()),this['_unlockTransition']();let _0x4c1499=this[_0x2ffbb7(0x184)];_0x424774&&_0x4c1499 instanceof _0x3f62b4&&(this[_0x2ffbb7(0x39e)](),this[_0x2ffbb7(0x30c)](_0x4c1499['fetchMiss']()),this[_0x2ffbb7(0x330)]());}async['_createInitialState'](){return new Promise(_0xf2537b=>{const _0x18f3df=_0x1555;this[_0x18f3df(0x20a)]['sessionStatus$']['pipe']((0x0,_0x247d93[_0x18f3df(0x1df)])(0x1))[_0x18f3df(0x305)](async _0x2eae6c=>{_0xf2537b(await this['_createInitialStateImpl'](_0x2eae6c===0x3));});});}[_0x33f14e(0x122)](){const _0x2c7435=_0x33f14e;let _0x3712dc=this[_0x2c7435(0x37e)];return{'onStateChange':(_0x1536e4,_0x54a205)=>{const _0x3fbb1f=_0x2c7435;if(_0x1536e4!==this['_state'])throw Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1536e4[_0x3fbb1f(0x2fb)]+'\x0aAfter:\x20'+_0x54a205[_0x3fbb1f(0x2fb)]+_0x3fbb1f(0x33a)+this[_0x3fbb1f(0x184)][_0x3fbb1f(0x2fb)]);this[_0x3fbb1f(0x30c)](_0x54a205);},'onSendChangeset':_0x5a5987=>{const _0x5c7af6=_0x2c7435;_0x5a5987['sid']||(_0x5a5987[_0x5c7af6(0x39c)]=this[_0x5c7af6(0xbf)],_0x5a5987[_0x5c7af6(0x1e8)]=++this[_0x5c7af6(0x10d)]);let _0x556aef={'eventID':_0x540a4f[_0x5c7af6(0x38c)][_0x5c7af6(0x1e6)],'data':{'unitID':_0x5a5987[_0x5c7af6(0x37e)],'unitType':this[_0x5c7af6(0x34a)],'changeset':_0x5a5987,'memberID':this['session'][_0x5c7af6(0x173)]()}};this[_0x5c7af6(0x20a)]['send'](_0x556aef,this[_0x5c7af6(0x37e)]);},'onMissingChangesets':({from:_0x368bc4,to:_0x36239a})=>{const _0x373b84=_0x2c7435;this[_0x373b84(0x356)][_0x373b84(0x31a)](_0x373b84(0x2f5),_0x373b84(0xc7)+_0x368bc4+_0x373b84(0xed)+_0x36239a);let _0x362566={'eventID':_0x540a4f[_0x373b84(0x38c)][_0x373b84(0x228)],'data':{'unitID':_0x3712dc,'unitType':this['_type'],'from':_0x368bc4,'to':_0x36239a}};this[_0x373b84(0x20a)][_0x373b84(0x3a8)](_0x362566,this[_0x373b84(0x37e)]);}};}async[_0x33f14e(0x206)](_0xfde58f){const _0x190550=_0x33f14e;var _0x1a8167,_0x1b9d63,_0x3de2a3;let _0x3cc0f0=await((_0x1a8167=this['_localCacheService'])==null?void 0x0:_0x1a8167['loadOfflineData'](this['unitID'])),_0x1b1ce8=(_0x1b9d63=_0x3cc0f0==null?void 0x0:_0x3cc0f0['mutations'])==null?[]:_0x1b9d63,_0x48dcec=(_0x3de2a3=_0x3cc0f0==null?void 0x0:_0x3cc0f0[_0x190550(0x166)])==null?null:_0x3de2a3,_0x3d4c87=!!(_0x48dcec!=null&&_0x48dcec[_0x190550(0x39c)])&&!!(_0x48dcec!=null&&_0x48dcec['reqId']);this['_changesetSessionId']=_0x3d4c87?_0x48dcec[_0x190550(0x39c)]:(0x0,_0x540a4f[_0x190550(0x3b2)])(),this['_changesetReqId']=_0x3d4c87?_0x48dcec[_0x190550(0x1e8)]:0x0;let _0x2deebc=this[_0x190550(0x37e)];try{this['_replayCachedMutations'](_0x48dcec,_0x1b1ce8);}catch(_0x4b0320){this[_0x190550(0x356)][_0x190550(0x15f)](_0x4b0320);}let _0x2362e9=this['_createHandler']();if(_0xfde58f){let _0x1721b8=_0xa73d8b(this[_0x190550(0x1c7)],_0x2deebc,this[_0x190550(0x34a)],_0x48dcec,_0x1b1ce8,_0x2362e9);return _0x1721b8 instanceof _0x40e466?_0x1721b8['_schedule']():(_0x1721b8 instanceof _0x1f4a11||_0x1721b8 instanceof _0x4c5197)&&_0x1721b8[_0x190550(0x150)](),_0x1721b8;}return this[_0x190550(0x1c7)]['createInstance'](_0x18cfb2,_0x2deebc,this[_0x190550(0x34a)],_0x48dcec,_0x1b1ce8,_0x2362e9);}[_0x33f14e(0x301)](_0x37f8bc,_0x3b78d6){const _0xeabfdd=_0x33f14e;var _0x497d91,_0x1a4130;let _0x5ff08d=this[_0xeabfdd(0x2ac)][_0xeabfdd(0x2e2)][_0xeabfdd(0x322)](this[_0xeabfdd(0x2ac)]['interceptor'][_0xeabfdd(0x31e)]()[_0xeabfdd(0x17c)]);(_0x497d91=_0x5ff08d((_0x37f8bc==null?void 0x0:_0x37f8bc[_0xeabfdd(0x316)])||[],null))==null||_0x497d91[_0xeabfdd(0x1fc)](_0x42edf6=>this['_commandService'][_0xeabfdd(0x1b2)](_0x42edf6['id'],_0x42edf6['params'])),(_0x1a4130=_0x5ff08d(_0x3b78d6||[],null))==null||_0x1a4130[_0xeabfdd(0x1fc)](_0x1c58ac=>this['_commandService']['executeCommand'](_0x1c58ac['id'],_0x1c58ac[_0xeabfdd(0x3c1)]));}};_0x5f0326=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x8,_0x305d10['IUniverInstanceService']),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0xb,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x5f0326);let _0x467d36=class extends _0x5f0326{constructor(_0x544571,_0x3a5456,_0x1b1a40,_0x4efd1b,_0x444e41,_0x2f75e7,_0xf87c02,_0x13b5ab,_0xb888a9,_0x598e74,_0x4765ea,_0x3a8a10,_0x5252bf,_0x19ddcd){const _0xf6920a=_0x33f14e;super(_0x544571,_0x1b1a40,_0x3a5456,_0x4efd1b,_0x444e41,_0x2f75e7,_0xf87c02,_0x13b5ab,_0xb888a9,_0x598e74,_0x4765ea,_0x3a8a10,_0x5252bf,_0x19ddcd),this['unitID']=_0x544571,this[_0xf6920a(0x1aa)]=_0x3a5456,_0x816778(this,'_handlerCallback',null);}[_0x33f14e(0xde)](_0xa4fb7f){const _0xf860ab=_0x33f14e;this[_0xf860ab(0x239)]=_0xa4fb7f;}[_0x33f14e(0x366)](){const _0x6a3d3a=_0x33f14e;this['_handlerCallback']=null,super[_0x6a3d3a(0x366)]();}[_0x33f14e(0x122)](){const _0x2e9403=_0x33f14e;let _0x132b36=super[_0x2e9403(0x122)]();return _0x132b36['onTransformIME']=_0x164cf9=>{const _0x504f60=_0x2e9403;var _0x5bd321,_0x5f3c93;return(_0x5bd321=this[_0x504f60(0x239)])==null||(_0x5f3c93=_0x5bd321['onTransformIME'])==null?void 0x0:_0x5f3c93[_0x504f60(0xdf)](_0x5bd321,_0x164cf9);},_0x132b36[_0x2e9403(0x2f0)]=_0x44db14=>{const _0x794096=_0x2e9403;var _0x1a1c43,_0x759f2c;return(_0x1a1c43=this[_0x794096(0x239)])==null||(_0x759f2c=_0x1a1c43['onTransformState'])==null?void 0x0:_0x759f2c[_0x794096(0xdf)](_0x1a1c43,_0x44db14);},_0x132b36['onTransformSelections']=_0x162037=>{const _0x5e4ef0=_0x2e9403;var _0x57a740,_0x76d7fc;return(_0x57a740=this['_handlerCallback'])==null||(_0x76d7fc=_0x57a740[_0x5e4ef0(0x2c1)])==null?void 0x0:_0x76d7fc['call'](_0x57a740,_0x162037);},_0x132b36[_0x2e9403(0x27f)]=_0x2bf1e1=>{const _0x22fcbf=_0x2e9403;var _0x434002,_0x22825a;return(_0x434002=this['_handlerCallback'])==null||(_0x22825a=_0x434002[_0x22fcbf(0x27f)])==null?void 0x0:_0x22825a['call'](_0x434002,_0x2bf1e1);},_0x132b36[_0x2e9403(0x299)]=_0x239259=>{const _0x1db9fe=_0x2e9403;var _0x1bb411,_0x21b2fb,_0x5114c1;if(!((_0x1bb411=this[_0x1db9fe(0x239)])!=null&&_0x1bb411['onTransformRemoteChangesetByIMECache']))throw Error(_0x1db9fe(0x23c));return(_0x21b2fb=this[_0x1db9fe(0x239)])==null||(_0x5114c1=_0x21b2fb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5114c1[_0x1db9fe(0xdf)](_0x21b2fb,_0x239259);},_0x132b36[_0x2e9403(0x395)]=_0x4cc7c5=>{const _0x564051=_0x2e9403;var _0x446837,_0x283e9c,_0x5c4354;if(!((_0x446837=this[_0x564051(0x239)])!=null&&_0x446837[_0x564051(0x395)]))throw Error(_0x564051(0xe0));return(_0x283e9c=this[_0x564051(0x239)])==null||(_0x5c4354=_0x283e9c[_0x564051(0x395)])==null?void 0x0:_0x5c4354[_0x564051(0xdf)](_0x283e9c,_0x4cc7c5);},_0x132b36;}async['_init'](){const _0x1d6439=_0x33f14e;let _0x59ed49=await super[_0x1d6439(0x205)]();return this[_0x1d6439(0x20b)](this[_0x1d6439(0x1f7)][_0x1d6439(0x20c)]((_0x1bf81e,_0x2e8a28)=>{const _0x12af0f=_0x1d6439;if(_0x1bf81e[_0x12af0f(0x1aa)]!==_0x305d10[_0x12af0f(0x244)][_0x12af0f(0xca)]||_0x2e8a28!=null&&_0x2e8a28[_0x12af0f(0x2b2)]||_0x2e8a28!=null&&_0x2e8a28[_0x12af0f(0x16e)]||_0x1bf81e['id']===_0x44bc8e[_0x12af0f(0xe8)]['id'])return;let _0x1a9d8e=_0x1bf81e[_0x12af0f(0x3c1)];if((_0x1a9d8e==null?void 0x0:_0x1a9d8e[_0x12af0f(0x34f)])!==this['unitID'])return;let _0x46207f=_0x1bf81e,_0x4936ca=this['_compressMutationService'][_0x12af0f(0x2e2)][_0x12af0f(0x322)](this[_0x12af0f(0x2ac)]['interceptor'][_0x12af0f(0x31e)]()[_0x12af0f(0x2a2)])([_0x46207f],this[_0x12af0f(0x35b)])||[_0x46207f];this['_onLocalMutation'](_0x4936ca[0x0]);})),_0x59ed49;}};_0x467d36=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x8,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x9,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xa,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0xb,_0x305d10['IPermissionService']),_0xf01086(0xc,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x467d36);let _0x3c0dc6=class extends _0x5f0326{constructor(_0x55eaf9,_0x57c0b1,_0x2545e4,_0x4efee9,_0x30b551,_0x42400c,_0x4e1661,_0x460e9e,_0x4dc4f3,_0x39a866,_0x1980d1,_0x14fd69,_0x39f731,_0x449cea,_0x3132a0){const _0x3fed82=_0x33f14e;super(_0x55eaf9,_0x2545e4,_0x57c0b1,_0x4efee9,_0x30b551,_0x42400c,_0x4e1661,_0x4dc4f3,_0x39a866,_0x1980d1,_0x14fd69,_0x39f731,_0x449cea,_0x3132a0),this[_0x3fed82(0x37e)]=_0x55eaf9,this[_0x3fed82(0x1aa)]=_0x57c0b1,this['_sheetTransformSelectionsService']=_0x460e9e;}[_0x33f14e(0x122)](){const _0x544be3=_0x33f14e;let _0x5c1d94=super['_createHandler']();return _0x5c1d94[_0x544be3(0x2c1)]=_0x405843=>this[_0x544be3(0xb1)][_0x544be3(0x2e6)](_0x405843),_0x5c1d94;}async['_init'](){const _0x35c103=_0x33f14e;let _0x27dbbd=await super[_0x35c103(0x205)]();return this[_0x35c103(0x20b)](this[_0x35c103(0x1f7)]['onMutationExecutedForCollab']((_0x565bcc,_0x5c9f3b)=>{const _0x534c3b=_0x35c103;if(_0x565bcc['type']!==_0x305d10[_0x534c3b(0x244)][_0x534c3b(0xca)]||_0x5c9f3b!=null&&_0x5c9f3b['fromCollab']||_0x5c9f3b!=null&&_0x5c9f3b['onlyLocal'])return;let _0x4f16e9=_0x565bcc[_0x534c3b(0x3c1)];if((_0x4f16e9==null?void 0x0:_0x4f16e9['unitId'])!==this[_0x534c3b(0x37e)])return;let _0x22c482=_0x565bcc,_0xa9965f=this[_0x534c3b(0x2ac)][_0x534c3b(0x2e2)][_0x534c3b(0x322)](this[_0x534c3b(0x2ac)][_0x534c3b(0x2e2)][_0x534c3b(0x31e)]()[_0x534c3b(0x2a2)])([_0x22c482],this[_0x534c3b(0x35b)])||[_0x22c482];this[_0x534c3b(0x1ad)](_0xa9965f[0x0]);})),_0x27dbbd;}};_0x3c0dc6=_0x47fc4c([_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x4,(0x0,_0x305d10['Inject'])(_0x540a4f[_0x33f14e(0xf4)])),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)])),_0xf01086(0x6,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x540a4f[_0x33f14e(0x2a4)])),_0xf01086(0x7,(0x0,_0x305d10['Inject'])(_0x2c235d)),_0xf01086(0x8,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696)),_0xf01086(0x9,_0x305d10['IUniverInstanceService']),_0xf01086(0xa,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0xb,_0x305d10['ICommandService']),_0xf01086(0xc,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0xd,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x4e88b2)),_0xf01086(0xe,(0x0,_0x305d10[_0x33f14e(0x235)])(_0xbd995e))],_0x3c0dc6);let _0x515a5c=(0x0,_0x305d10['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x1ab073(_0x182374){const _0x260c5b=_0x33f14e;let _0x4337c1=_0x182374[_0x260c5b(0x23d)],_0x54e37d=JSON[_0x260c5b(0x36d)](_0x4337c1);switch(_0x54e37d[_0x260c5b(0x38a)]){case _0x54f861['CombCmd'][_0x260c5b(0x313)]:case _0x54f861[_0x260c5b(0xb8)][_0x260c5b(0x2f3)]:{let _0x4007bf=_0x54e37d['infoRsp'];return{..._0x54e37d,'data':_0x4007bf,'cmd':_0x54e37d[_0x260c5b(0x38a)]};}case _0x54f861[_0x260c5b(0xb8)]['JOIN']:{let _0x306ff2=_0x54e37d[_0x260c5b(0x327)];return{..._0x54e37d,'data':_0x306ff2,'cmd':_0x54e37d['cmd']};}case _0x54f861[_0x260c5b(0xb8)][_0x260c5b(0x2f8)]:{let _0x1f7842=_0x54e37d[_0x260c5b(0x28e)];switch(_0x1f7842[_0x260c5b(0x2b4)]){case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x344)]:var _0x30ec56;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x30ec56=_0x1f7842[_0x260c5b(0x154)])==null?void 0x0:_0x30ec56['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x24c)]:var _0x5b1fe5;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x5b1fe5=_0x1f7842[_0x260c5b(0x262)])==null?void 0x0:_0x5b1fe5['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)]['NEW_CHANGESETS']:var _0x2558a3;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x2558a3=_0x1f7842[_0x260c5b(0xad)])==null?void 0x0:_0x2558a3['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x164)]:var _0x33f545;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x33f545=_0x1f7842[_0x260c5b(0x2ae)])==null?void 0x0:_0x33f545['cs']},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x370)]:var _0x248ada;return{..._0x54e37d,'data':{..._0x1f7842,'data':(_0x248ada=_0x1f7842['csShouldRetryEvent'])==null?void 0x0:_0x248ada['cs']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x23a)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x295)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent']['USERS_ENTER']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842['joinEvent']},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x341)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0xcb)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x391)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x231)]},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x33b)]:case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x153)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x1f4)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)]['LIVESHARE_TERMINATE']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x231)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x1d7)]:return{..._0x54e37d,'data':_0x1f7842,'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x291)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x107)]},'cmd':_0x54e37d[_0x260c5b(0x38a)]};case _0x540a4f[_0x260c5b(0x38c)][_0x260c5b(0x272)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x161)]},'cmd':_0x54e37d['cmd']};case _0x540a4f[_0x260c5b(0x38c)]['SHOULD_CLOSE_CONN']:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x227)]},'cmd':_0x54e37d['cmd']};case _0x540a4f['CollaborationEvent'][_0x260c5b(0x343)]:return{..._0x54e37d,'data':{..._0x1f7842,'data':_0x1f7842[_0x260c5b(0x22e)]},'cmd':_0x54e37d['cmd']};default:return _0x54e37d;}}default:return _0x54e37d;}}function _0x2d2ccc(_0x16d3d4){const _0x226dce=_0x33f14e;switch(_0x16d3d4[_0x226dce(0x38a)]){case _0x54f861['CombCmd'][_0x226dce(0x313)]:case _0x54f861['CombCmd'][_0x226dce(0x2f3)]:return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4['routeKey']});case _0x54f861[_0x226dce(0xb8)]['INGEST']:{let _0x4a44a0;switch(_0x16d3d4['data'][_0x226dce(0x2b4)]){case _0x540a4f[_0x226dce(0x38c)]['UPDATE_CURSOR']:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x23a)],'updateCursorEvent':_0x16d3d4[_0x226dce(0x23d)][_0x226dce(0x23d)]};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x341)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x341)],'leaveEvent':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x285)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x285)],'joinEvent':_0x16d3d4['data'][_0x226dce(0x23d)]};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x391)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)][_0x226dce(0x391)],'liveShareNewHost':_0x16d3d4[_0x226dce(0x23d)][_0x226dce(0x23d)]};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x153)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x16d3d4['data'][_0x226dce(0x23d)]};break;case _0x540a4f['CollaborationEvent'][_0x226dce(0x38b)]:_0x4a44a0={'eventID':_0x540a4f[_0x226dce(0x38c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x2eb)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x2eb)],'liveShareRequestHost':_0x16d3d4[_0x226dce(0x23d)]['data']};break;case _0x540a4f[_0x226dce(0x38c)][_0x226dce(0x33b)]:_0x4a44a0={'eventID':_0x540a4f['CollaborationEvent'][_0x226dce(0x33b)]};break;default:_0x4a44a0={'eventID':_0x16d3d4['data']['eventID']};}return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4[_0x226dce(0x2bf)],'collaMsg':_0x4a44a0});}case _0x54f861[_0x226dce(0xb8)][_0x226dce(0x2b1)]:return JSON['stringify']({'cmd':_0x16d3d4[_0x226dce(0x38a)],'routeKey':_0x16d3d4[_0x226dce(0x2bf)],'joinReq':_0x16d3d4['data']});case _0x54f861[_0x226dce(0xb8)][_0x226dce(0x2e8)]:return JSON[_0x226dce(0x121)]({'cmd':_0x16d3d4['cmd'],'routeKey':_0x16d3d4['routeKey'],'leaveReq':_0x16d3d4['data']});default:throw Error(_0x226dce(0xd4));}}let _0x277be8=(0x0,_0x305d10[_0x33f14e(0x131)])('univer-pro.collaboration-client-socket-service');function _0xc8ac41(_0x4e6baa,_0x58c423,_0xe9982b){const _0x340d43=_0x33f14e;return _0x4e6baa+'/'+_0x58c423+_0x340d43(0x10f)+_0xe9982b+_0x340d43(0x35e);}let _0x4d4d25=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x50775f,_0x42b059,_0x49d67b,_0x43b489,_0x54d43f){const _0x5036a4=_0x33f14e;super(),this['_injector']=_0x50775f,this[_0x5036a4(0x1b1)]=_0x42b059,this[_0x5036a4(0x333)]=_0x49d67b,this[_0x5036a4(0x356)]=_0x43b489,this[_0x5036a4(0x32c)]=_0x54d43f;}[_0x33f14e(0x2c0)](_0xcc5cdd){const _0x53442b=_0x33f14e;let _0x3b0798=this[_0x53442b(0x1c7)][_0x53442b(0x1a5)](_0x3c9fd5[_0x53442b(0x19b)]);if(!_0x3b0798)throw Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');let _0x4c7f7f=_0x3b0798[_0x53442b(0xd8)](_0xcc5cdd);if(!_0x4c7f7f)throw Error(_0x53442b(0x1e2));let _0x4d8258=new _0x305d10[(_0x53442b(0x340))](),_0x12a928=new _0x247d93[(_0x53442b(0x2be))]();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x25f)][_0x53442b(0x305)](_0x49e964=>_0x12a928[_0x53442b(0x300)](_0x49e964))),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x12a928[_0x53442b(0x109)]()));let _0x44426f=new _0x247d93[(_0x53442b(0x2be))]();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x362)][_0x53442b(0x305)](_0x255339=>_0x44426f[_0x53442b(0x300)](_0x255339))),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x44426f[_0x53442b(0x109)]()));let _0x477fe9=new _0x247d93['Subject']();_0x4d8258[_0x53442b(0x20e)](_0x4c7f7f[_0x53442b(0x260)][_0x53442b(0x305)](_0x5946d1=>{let _0x4e7d5d=_0x1ab073(_0x5946d1);_0x477fe9['next'](_0x4e7d5d);})),_0x4d8258[_0x53442b(0x20e)]((0x0,_0x305d10[_0x53442b(0xcc)])(()=>_0x477fe9[_0x53442b(0x109)]()));let _0x2b0553,_0x9cd2f8=()=>{const _0x8a8efc=_0x53442b;_0x44426f['next'](new Event(_0x8a8efc(0x1fb))),_0x12a928['next'](new Event(_0x8a8efc(0x1fb))),_0x2b0553[_0x8a8efc(0xe4)]();};return _0x2b0553={'memberID':'','close$':_0x12a928[_0x53442b(0x172)](),'error$':_0x44426f['asObservable'](),'open$':_0x4c7f7f[_0x53442b(0x197)],'message$':_0x477fe9[_0x53442b(0x172)](),'send':_0xe96e0c=>{const _0x3dc517=_0x53442b;if(_0xe96e0c[_0x3dc517(0x38a)]===_0x54f861[_0x3dc517(0xb8)][_0x3dc517(0x23f)]){if(_0xe96e0c[_0x3dc517(0x23d)]['eventID']===_0x540a4f['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x3dc517(0x117)](_0x2b0553,_0xe96e0c[_0x3dc517(0x23d)])['catch'](_0x92ab0=>{const _0x46753c=_0x3dc517;this[_0x46753c(0x356)][_0x46753c(0x15f)](_0x92ab0),_0x9cd2f8();});return;}if(_0xe96e0c['data'][_0x3dc517(0x2b4)]===_0x540a4f[_0x3dc517(0x38c)]['FETCH_MISSING']){let _0x47e247=_0xe96e0c['data'];this['_fetchMissChangesets'](_0x47e247)[_0x3dc517(0x181)](_0x30da94=>{const _0x4407bb=_0x3dc517;_0x477fe9[_0x4407bb(0x300)]({'cmd':_0x54f861['CombCmd'][_0x4407bb(0x2f8)],'code':_0x54f861[_0x4407bb(0x372)]['OK'],'routeKey':_0x47e247[_0x4407bb(0x23d)]['unitID'],'routeType':'','data':{'eventID':_0x540a4f['CollaborationEvent'][_0x4407bb(0x163)],'data':{'changesets':_0x30da94}}});})['catch'](_0x278f9f=>{const _0x3401da=_0x3dc517;this[_0x3401da(0x356)][_0x3401da(0x15f)](_0x278f9f),_0x9cd2f8();});return;}}_0x4c7f7f[_0x3dc517(0x3a8)](_0x2d2ccc(_0xe96e0c));},'close':()=>{const _0x25fc8a=_0x53442b;_0x4c7f7f[_0x25fc8a(0xe4)](),_0x4d8258[_0x25fc8a(0x366)]();}},_0x2b0553;}async[_0x33f14e(0x117)](_0x47383a,_0x430ff1){const _0x5913b3=_0x33f14e;var _0x3fc23c;let {unitType:_0x46d76c,unitID:_0x1bd402,changeset:_0x1389ba}=_0x430ff1['data'],_0x5ed2f3={'unitID':_0x1bd402,'memberID':_0x47383a['memberID'],'type':_0x46d76c,'changeset':(0x0,_0x540a4f[_0x5913b3(0x273)])(_0x1389ba)},_0x83a1f9=this[_0x5913b3(0x333)][_0x5913b3(0x328)](_0x1cf9ab),_0x58d1aa=_0xc8ac41((_0x3fc23c=_0x83a1f9==null?void 0x0:_0x83a1f9[_0x5913b3(0x352)])==null?_0x5913b3(0xb0):_0x3fc23c,_0x46d76c,_0x1bd402);try{await this[_0x5913b3(0x1b1)][_0x5913b3(0x2b0)](_0x58d1aa,{'body':_0x5ed2f3});}catch(_0x2c2517){throw this[_0x5913b3(0x356)][_0x5913b3(0x15f)](_0x5913b3(0x243),_0x5913b3(0xf6)),_0x2c2517;}}async[_0x33f14e(0x2fd)](_0x5f071f){const _0x177ba7=_0x33f14e;let {unitID:_0x36beba,from:_0xa3af76,to:_0x47dc60,unitType:_0x5c863d}=_0x5f071f[_0x177ba7(0x23d)];return(await this[_0x177ba7(0x32c)][_0x177ba7(0xea)]({'metadata':void 0x0},{'unitID':_0x36beba,'type':_0x5c863d,'from':_0xa3af76,'to':_0x47dc60}))['changesets'][_0x177ba7(0x348)](_0x52144c=>((_0x52144c[_0x177ba7(0x316)]===null||_0x52144c[_0x177ba7(0x316)]===void 0x0)&&(_0x52144c[_0x177ba7(0x316)]=[]),_0x52144c));}};_0x4d4d25=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10['Inject'])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,(0x0,_0x305d10['Inject'])(_0x3c9fd5[_0x33f14e(0x195)])),_0xf01086(0x2,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x4,_0x540a4f['ISnapshotServerService'])],_0x4d4d25);let _0x258abc=class extends _0x305d10[_0x33f14e(0x1c2)]{get[_0x33f14e(0x383)](){const _0x39b34d=_0x33f14e;return this['_socket$'][_0x39b34d(0x3a9)]();}constructor(_0x4f2c38,_0x3672d5,_0x22f2c8,_0x4e8835,_0x22ac45,_0x5807a5){const _0x4ab8bc=_0x33f14e;super(),this['_injector']=_0x4f2c38,this[_0x4ab8bc(0x356)]=_0x3672d5,this[_0x4ab8bc(0x333)]=_0x22f2c8,this[_0x4ab8bc(0x2ef)]=_0x4e8835,this[_0x4ab8bc(0x17e)]=_0x22ac45,this[_0x4ab8bc(0x219)]=_0x5807a5,_0x816778(this,_0x4ab8bc(0x12b),new _0x247d93['BehaviorSubject'](void 0x0)),_0x816778(this,'socket$',this[_0x4ab8bc(0x12b)][_0x4ab8bc(0x172)]()),_0x816778(this,_0x4ab8bc(0xb6),null),_0x816778(this,_0x4ab8bc(0x271),new Map()),_0x816778(this,_0x4ab8bc(0x318),new _0x247d93[(_0x4ab8bc(0x288))](0x0)),_0x816778(this,'status$',this['_status$']['asObservable']()),_0x816778(this,_0x4ab8bc(0x3c6),!0x1),_0x816778(this,_0x4ab8bc(0xfd),void 0x0),_0x816778(this,'_retryCount',0x0),_0x816778(this,_0x4ab8bc(0x119),null),_0x816778(this,_0x4ab8bc(0x2e0),void 0x0),_0x816778(this,'_timeoutTimer',void 0x0),this[_0x4ab8bc(0x250)]();}[_0x33f14e(0x250)](){const _0x5f3f9d=_0x33f14e;this['_networkConditionService']&&this[_0x5f3f9d(0x20b)](this[_0x5f3f9d(0x219)]['online$'][_0x5f3f9d(0x305)](_0x543363=>{const _0x129340=_0x5f3f9d;_0x543363&&!this[_0x129340(0x383)]&&this[_0x129340(0x294)](),_0x543363||this[_0x129340(0x26a)]();}));}['dispose'](){const _0x1615c5=_0x33f14e;var _0x3f740f;super['dispose'](),(_0x3f740f=this[_0x1615c5(0x119)])==null||_0x3f740f['unsubscribe'](),this[_0x1615c5(0x119)]=null,this[_0x1615c5(0x32b)](),this[_0x1615c5(0x326)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x1615c5(0x1fc)](_0x353d8f=>_0x353d8f[_0x1615c5(0x366)]()),this[_0x1615c5(0x271)]['clear'](),this[_0x1615c5(0x318)][_0x1615c5(0x109)]();}async[_0x33f14e(0x1ee)](_0x25298a){const _0x37472a=_0x33f14e;if(this[_0x37472a(0x271)][_0x37472a(0x354)](_0x25298a))return this[_0x37472a(0x271)][_0x37472a(0x1a5)](_0x25298a);this['_tryEnsureSocket']();let _0x41fa3e=this[_0x37472a(0x1c7)][_0x37472a(0x32f)](_0x459c7b,_0x25298a,this[_0x37472a(0x12b)][_0x37472a(0x172)]());return this[_0x37472a(0x271)]['set'](_0x25298a,_0x41fa3e),_0x41fa3e;}[_0x33f14e(0x375)](_0x475652){const _0x34bf5e=_0x33f14e;let _0x4ac40a=this[_0x34bf5e(0x271)][_0x34bf5e(0x1a5)](_0x475652);if(_0x4ac40a&&(this[_0x34bf5e(0x271)][_0x34bf5e(0xc0)](_0x475652),_0x4ac40a[_0x34bf5e(0xe4)]()),!this[_0x34bf5e(0x271)]['size']){var _0x4fdffc;(_0x4fdffc=this['_socket'])==null||_0x4fdffc[_0x34bf5e(0xe4)]();}}[_0x33f14e(0x294)](){const _0x5f0aa2=_0x33f14e;this[_0x5f0aa2(0x278)]=0x0,this[_0x5f0aa2(0x32b)](),this[_0x5f0aa2(0x129)]();}['_clearRetryConnectingTimer'](){const _0x4fdddc=_0x33f14e;this[_0x4fdddc(0xfd)]!=null&&(clearTimeout(this[_0x4fdddc(0xfd)]),this['_retryConnectingTimer']=null);}async[_0x33f14e(0x283)](){const _0x902bd0=_0x33f14e;var _0x40ddb8;let _0x4a315e=this[_0x902bd0(0x333)][_0x902bd0(0x328)](_0x1cf9ab),_0x3c6e4f=(_0x40ddb8=_0x4a315e==null?void 0x0:_0x4a315e[_0x902bd0(0x24e)])==null?_0x3919fe:_0x40ddb8,_0x221223=await this[_0x902bd0(0x2ef)]['createSocket'](_0x3c6e4f);return this[_0x902bd0(0xb6)]=_0x221223,_0x221223;}async[_0x33f14e(0x2bc)](){const _0x4d4255=_0x33f14e;try{var _0x2b857b,_0x20b241;let _0x42b07f=(_0x2b857b=(_0x20b241=this[_0x4d4255(0x383)])==null?this[_0x4d4255(0xb6)]:_0x20b241)==null?await this[_0x4d4255(0x283)]():_0x2b857b;if(_0x42b07f){var _0xf89338;let _0x57d863=_0x42b07f[_0x4d4255(0x3a8)];_0x42b07f[_0x4d4255(0x3a8)]=_0x233604=>(_0x233604[_0x4d4255(0x38a)]!==_0x54f861['CombCmd'][_0x4d4255(0x2e8)]&&this[_0x4d4255(0x1e5)](),_0x57d863['apply'](_0x42b07f,[_0x233604])),(_0xf89338=this[_0x4d4255(0x119)])==null||_0xf89338[_0x4d4255(0x38d)](),this[_0x4d4255(0x119)]=null,this['_socketMessageSubscription']=_0x42b07f[_0x4d4255(0x260)][_0x4d4255(0x305)](_0x2e58f4=>this[_0x4d4255(0xb7)](_0x42b07f,_0x2e58f4)),_0x42b07f[_0x4d4255(0x362)][_0x4d4255(0x2a9)]((0x0,_0x38623c['take'])(0x1))[_0x4d4255(0x305)](_0x542ba3=>this[_0x4d4255(0x356)]['error'](_0x4d4255(0x1c9),_0x542ba3)),_0x42b07f[_0x4d4255(0x197)]['pipe']((0x0,_0x38623c[_0x4d4255(0x1df)])(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x42b07f);}),_0x42b07f['close$'][_0x4d4255(0x2a9)]((0x0,_0x38623c[_0x4d4255(0x1df)])(0x1))[_0x4d4255(0x305)](_0x1cfec2=>{const _0x28567f=_0x4d4255;this[_0x28567f(0x356)]['debug'](_0x28567f(0x13d),_0x28567f(0x1cb),_0x1cfec2),this[_0x28567f(0x100)]();});}}catch(_0x29846b){this[_0x4d4255(0x356)][_0x4d4255(0x15f)](_0x29846b),this['_onConnectionFailed']();}}[_0x33f14e(0x3ab)](_0x268aed){const _0x4a7f95=_0x33f14e;this[_0x4a7f95(0x356)][_0x4a7f95(0x31a)](_0x4a7f95(0x13d),_0x4a7f95(0x171)),_0x268aed[_0x4a7f95(0x3a8)]({'cmd':_0x54f861['CombCmd']['HELLO']}),this['_rescheduleHeartbeat']();}[_0x33f14e(0x26a)](){const _0x31844c=_0x33f14e;this[_0x31844c(0x3c6)]=!0x1,this['_candidateSocket']=null,this[_0x31844c(0x318)][_0x31844c(0x300)](0x2),this['_socket$'][_0x31844c(0x300)](null),this['_clearTimeoutTimer'](),this[_0x31844c(0x3b4)]();}[_0x33f14e(0x100)](){const _0x37bfac=_0x33f14e;var _0x228a79;this[_0x37bfac(0x26a)](),this['_retryCount']<((_0x228a79=this[_0x37bfac(0x333)][_0x37bfac(0x328)](_0x37bfac(0x2af)))==null?0x3:_0x228a79)?(this[_0x37bfac(0x17e)]['emitEvent']({'id':_0x37bfac(0x37a)}),this[_0x37bfac(0x129)]()):this[_0x37bfac(0x17e)][_0x37bfac(0x118)]({'id':_0x37bfac(0x237)});}['_tryReconnect'](){const _0x4bf89b=_0x33f14e;var _0x3c3b9a;let _0x43a39e=this[_0x4bf89b(0x278)],_0x2df914=this[_0x4bf89b(0x333)][_0x4bf89b(0x328)](_0x1cf9ab),_0x1f9576=_0x43a39e===0x0?0x0:((_0x3c3b9a=_0x2df914==null?void 0x0:_0x2df914['retryConnectingInterval'])==null?0x4e20:_0x3c3b9a)*0x2**_0x43a39e;this[_0x4bf89b(0xfd)]=setTimeout(()=>{const _0x53c845=_0x4bf89b;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x53c845(0x2bc)]();},_0x1f9576),this[_0x4bf89b(0x278)]+=0x1;}[_0x33f14e(0xb7)](_0x315926,_0x3d04ab){const _0x5eb43a=_0x33f14e;let {cmd:_0x972762}=_0x3d04ab;_0x972762===_0x54f861[_0x5eb43a(0xb8)]['HELLO']&&!this['_socketReady']&&(_0x315926['memberID']=_0x3d04ab[_0x5eb43a(0x23d)]['memberID'],this[_0x5eb43a(0x12b)][_0x5eb43a(0x300)](_0x315926),this['_status$'][_0x5eb43a(0x300)](0x3),this['_socketReady']=!0x0,this[_0x5eb43a(0xb6)]=null),_0x972762===_0x54f861['CombCmd'][_0x5eb43a(0x313)]&&this[_0x5eb43a(0x326)](),this['_rescheduleHeartbeat']();}[_0x33f14e(0x1e5)](){const _0x450aee=_0x33f14e;var _0x52173f;this[_0x450aee(0x3b4)](),this[_0x450aee(0x2e0)]=setTimeout(()=>this[_0x450aee(0x103)](),(_0x52173f=this[_0x450aee(0x333)][_0x450aee(0x328)](_0x450aee(0xaf)))==null?0x7530:_0x52173f);}[_0x33f14e(0x103)](){const _0x399000=_0x33f14e;this['_socket'][_0x399000(0x3a8)]({'cmd':_0x54f861[_0x399000(0xb8)][_0x399000(0x313)]}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0xb957fc=_0x33f14e;var _0x2fe230;this[_0xb957fc(0x202)]=setTimeout(()=>this[_0xb957fc(0x100)](),(_0x2fe230=this[_0xb957fc(0x333)][_0xb957fc(0x328)]('HEARTBEAT_TIMEOUT'))==null?_0x5752cb:_0x2fe230);}[_0x33f14e(0x3b4)](){const _0x1b61c9=_0x33f14e;this[_0x1b61c9(0x2e0)]!=null&&(clearTimeout(this[_0x1b61c9(0x2e0)]),this[_0x1b61c9(0x2e0)]=null);}[_0x33f14e(0x326)](){const _0x1dc964=_0x33f14e;this[_0x1dc964(0x202)]!=null&&(clearTimeout(this[_0x1dc964(0x202)]),this[_0x1dc964(0x202)]=null);}};_0x258abc=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x2,_0x305d10['IConfigService']),_0xf01086(0x3,_0x277be8),_0xf01086(0x4,(0x0,_0x305d10['Inject'])(_0x23b696)),_0xf01086(0x5,(0x0,_0x305d10[_0x33f14e(0x235)])(_0x515a5c))],_0x258abc);let _0x37b5a8=class extends _0x305d10['RxDisposable']{constructor(_0x12067b,_0x545860,_0xc0feb2,_0x1c5dd0){const _0x2a7fa6=_0x33f14e;var _0x3b6207;super(),this[_0x2a7fa6(0x1c7)]=_0x12067b,this[_0x2a7fa6(0x26f)]=_0x545860,this['_configService']=_0xc0feb2,this[_0x2a7fa6(0x35b)]=_0x1c5dd0,_0x816778(this,_0x2a7fa6(0x258),new Map()),_0x816778(this,_0x2a7fa6(0x1ef),new _0x247d93[(_0x2a7fa6(0x2be))]()),_0x816778(this,'entityInit$',this[_0x2a7fa6(0x1ef)][_0x2a7fa6(0x172)]()),((_0x3b6207=this['_configService'][_0x2a7fa6(0x328)](_0x2a7fa6(0x2ba)))==null?void 0x0:_0x3b6207['enableCollaboration'])!==!0x1&&this['_init']();}[_0x33f14e(0x366)](){const _0x171884=_0x33f14e;super[_0x171884(0x366)](),this['_entities'][_0x171884(0x1fc)](_0x5c5495=>_0x5c5495[_0x171884(0x366)]()),this['_entities'][_0x171884(0x200)]();}[_0x33f14e(0x1d4)](_0x2336cf){const _0x12c3d4=_0x33f14e;var _0x543a1a;return(_0x543a1a=this[_0x12c3d4(0x258)][_0x12c3d4(0x1a5)](_0x2336cf))==null?null:_0x543a1a;}[_0x33f14e(0x3a6)](_0x176cc7){const _0x1d3249=_0x33f14e;let _0x35e318=this[_0x1d3249(0x1d4)](_0x176cc7);return _0x35e318?(0x0,_0x247d93['of'])(_0x35e318):this[_0x1d3249(0x1ef)][_0x1d3249(0x2a9)]((0x0,_0x38623c['filter'])(_0x11fa1d=>_0x11fa1d['unitID']===_0x176cc7));}[_0x33f14e(0x37b)](_0x2d3432){const _0x1997d5=_0x33f14e;return(0x0,_0x247d93[_0x1997d5(0xe2)])(this[_0x1997d5(0x3a6)](_0x2d3432)['pipe']((0x0,_0x38623c['map'])(()=>void 0x0)));}['_init'](){const _0x486fd6=_0x33f14e;this[_0x486fd6(0x35b)]['getTypeOfUnitAdded$'](_0x305d10['UniverInstanceType']['UNIVER_SHEET'])[_0x486fd6(0x2a9)]((0x0,_0x247d93['takeUntil'])(this[_0x486fd6(0x26d)]),(0x0,_0x38623c[_0x486fd6(0x33f)])(0x10))[_0x486fd6(0x305)](async _0x1ce2f8=>{const _0x66bf0b=_0x486fd6;let _0x13ae7a=_0x1ce2f8['unit']['getUnitId'](),_0x556c02=await this['_startCollaboration'](_0x13ae7a,_0x305d10[_0x66bf0b(0x1c6)]['UNIVER_SHEET']);this[_0x66bf0b(0x258)][_0x66bf0b(0x269)](_0x13ae7a,_0x556c02);}),this[_0x486fd6(0x35b)][_0x486fd6(0xc5)](_0x305d10['UniverInstanceType']['UNIVER_DOC'])[_0x486fd6(0x2a9)]((0x0,_0x247d93[_0x486fd6(0x1f5)])(this[_0x486fd6(0x26d)]),(0x0,_0x38623c[_0x486fd6(0x33f)])(0x10))[_0x486fd6(0x2a9)]((0x0,_0x38623c[_0x486fd6(0x306)])(_0xa9465=>!_0xa9465['unit'][_0x486fd6(0x1e7)]()[_0x486fd6(0x11d)]('__')))['subscribe'](async _0x208ca0=>{const _0x15b124=_0x486fd6;let _0x2e42e8=_0x208ca0[_0x15b124(0x265)]['getUnitId'](),_0x18a30b=await this[_0x15b124(0x380)](_0x2e42e8,_0x305d10[_0x15b124(0x1c6)][_0x15b124(0x26e)]);this[_0x15b124(0x258)][_0x15b124(0x269)](_0x2e42e8,_0x18a30b);}),(0x0,_0x247d93[_0x486fd6(0xff)])(this[_0x486fd6(0x35b)][_0x486fd6(0x2b7)](_0x305d10[_0x486fd6(0x1c6)]['UNIVER_SHEET']),this[_0x486fd6(0x35b)][_0x486fd6(0x2b7)](_0x305d10[_0x486fd6(0x1c6)][_0x486fd6(0x26e)]))['pipe']((0x0,_0x247d93[_0x486fd6(0x1f5)])(this[_0x486fd6(0x26d)]))[_0x486fd6(0x305)](_0x2bd9e2=>{const _0x39f82d=_0x486fd6;let _0x5a77c9=_0x2bd9e2['getUnitId'](),_0x5d29f2=this[_0x39f82d(0x258)][_0x39f82d(0x1a5)](_0x5a77c9);_0x5d29f2&&(_0x5d29f2[_0x39f82d(0x366)](),this[_0x39f82d(0x258)]['delete'](_0x5a77c9));});}async[_0x33f14e(0x380)](_0x5be02a,_0x593418){const _0x4b746d=_0x33f14e;let _0x561d2c=await this[_0x4b746d(0x26f)][_0x4b746d(0x1ee)](_0x5be02a),_0x5488ca=this[_0x4b746d(0x1c7)][_0x4b746d(0x32f)](this[_0x4b746d(0x31c)](_0x593418),_0x5be02a,_0x593418,_0x561d2c);return await _0x5488ca[_0x4b746d(0x32e)](),this['_entityInit$']['next'](_0x5488ca),_0x5488ca;}[_0x33f14e(0x31c)](_0x40b146){const _0x458f5e=_0x33f14e;switch(_0x40b146){case _0x305d10[_0x458f5e(0x1c6)][_0x458f5e(0x26e)]:return _0x467d36;case _0x305d10[_0x458f5e(0x1c6)][_0x458f5e(0x22a)]:return _0x3c0dc6;default:throw Error(_0x458f5e(0x1a4)+_0x40b146);}}};_0x37b5a8=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x258abc)),_0xf01086(0x2,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x3,_0x305d10[_0x33f14e(0x20d)])],_0x37b5a8);var _0x53586=_0x33f14e(0x102),_0x453767='0.25.1';let _0x14ac8f=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x2e0795,_0x46b20c){const _0x2eca24=_0x33f14e;super(),this['_univerInstanceService']=_0x2e0795,this[_0x2eca24(0x333)]=_0x46b20c,this[_0x2eca24(0x205)]();}[_0x33f14e(0x205)](){const _0xd777d1=_0x33f14e;this[_0xd777d1(0x20b)](this['_univerInstanceService'][_0xd777d1(0x167)][_0xd777d1(0x305)](()=>{const _0xb1a424=_0xd777d1;var _0x58839c;let _0x26492c=this[_0xb1a424(0x35b)][_0xb1a424(0x2a8)](),_0x4d40c9=(_0x58839c=this['_configService'][_0xb1a424(0x328)](_0xb1a424(0x279)))==null?_0xb1a424(0x248):_0x58839c;_0x26492c instanceof _0x305d10[_0xb1a424(0x115)]&&(_0x4d40c9=_0x26492c['name']),document[_0xb1a424(0x16d)]=_0x4d40c9;}));}};_0x14ac8f=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x1,_0x305d10[_0x33f14e(0xfb)])],_0x14ac8f);let _0x2ed10f=class{constructor(_0x1a5698,_0x2954f7,_0x3f6356){const _0x37d0a5=_0x33f14e;this[_0x37d0a5(0x333)]=_0x1a5698,this[_0x37d0a5(0x1b1)]=_0x2954f7,this[_0x37d0a5(0x37f)]=_0x3f6356,this['init']();}['init'](){const _0x286b06=_0x33f14e;this[_0x286b06(0x1b1)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4172eb,_0x8996a6)=>_0x8996a6(_0x4172eb)[_0x286b06(0x2a9)]((0x0,_0x247d93[_0x286b06(0x208)])(async _0xe0bf99=>{const _0x232597=_0x286b06;let _0x9e8196=_0xe0bf99;if(_0x9e8196['status']===0x191){if(typeof window>'u')throw Error(_0x232597(0x2c8));if(window[_0x232597(0x1a3)](this[_0x232597(0x37f)]['t'](_0x232597(0x1de)))){let _0x432592=window[_0x232597(0x1a7)](window['location'][_0x232597(0xf2)]);window['location'][_0x232597(0xf2)]=this[_0x232597(0x36e)]()+'?url='+_0x432592;}}return _0x9e8196;}))});}['_getLoginPath'](){const _0x532ef4=_0x33f14e;var _0x399f1e;let _0xe80474=this['_configService'][_0x532ef4(0x328)](_0x1cf9ab);return(_0x399f1e=_0xe80474==null?void 0x0:_0xe80474[_0x532ef4(0x304)])==null?_0x532ef4(0x292):_0x399f1e;}};_0x2ed10f=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5['HTTPService'])),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x35f)]))],_0x2ed10f);let _0xc00d62=class extends _0x305d10[_0x33f14e(0x1c2)]{constructor(_0x18abb9,_0x5d52ea){const _0x30a501=_0x33f14e;super(),this['_HTTPService']=_0x18abb9,this['_configService']=_0x5d52ea,_0x816778(this,_0x30a501(0xb5),!0x1),this[_0x30a501(0x3a2)]();}[_0x33f14e(0x3a2)](){const _0x126224=_0x33f14e;let _0x2d0a1d=this;this[_0x126224(0x20b)](this[_0x126224(0x15c)][_0x126224(0x3c4)]({'priority':0x3e7,'interceptor':(0x0,_0x3c9fd5[_0x126224(0x24b)])({'isMatch'(_0x1de029){const _0x579e2a=_0x126224;var _0x551072;if(_0x1de029[_0x579e2a(0xf3)]===_0x579e2a(0x3a4)&&(_0x551072=_0x1de029[_0x579e2a(0x26b)])!=null&&_0x551072[_0x579e2a(0x29f)]){let {objectID:_0x237936,objectType:_0x3e8a09}=_0x1de029['requestParams'][_0x579e2a(0x29f)]||{};if(!_0x237936||_0x3e8a09===void 0x0)return!0x1;let _0x31ead2=_0x2d0a1d[_0x579e2a(0x11c)]()+'/'+_0x3e8a09+'/object/'+_0x237936+_0x579e2a(0x2ad);if(_0x1de029[_0x579e2a(0x2dd)]===_0x31ead2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x11a692){const _0x3e680d=_0x126224;var _0x9f5840;return(_0x9f5840=_0x11a692[_0x3e680d(0x26b)])==null?void 0x0:_0x9f5840['body'];},'mergeParamsToRequest'(_0x56fd40,_0x277b3e){const _0x516f12=_0x126224;let _0x37be2d=_0x2d0a1d['_getAPIPrefixPath']()+_0x516f12(0x2b5),_0x2c803d=_0x56fd40[_0x516f12(0x127)]((_0x20ffb1,_0x9b6dee)=>{const _0x1d56aa=_0x516f12;let {unitID:_0x469263,objectID:_0x59c79f,objectType:_0xa52c48,actions:_0x4a2892}=_0x9b6dee;return _0x20ffb1[_0x469263]||(_0x20ffb1[_0x469263]={}),_0x20ffb1[_0x469263][_0x59c79f]||(_0x20ffb1[_0x469263][_0x59c79f]={'objectID':_0x59c79f,'objectType':_0xa52c48,'actions':[]}),_0x20ffb1[_0x469263][_0x59c79f][_0x1d56aa(0x165)]['push'](..._0x4a2892),_0x20ffb1;},{}),_0x20c88b=[];for(let _0x42a549 in _0x2c803d)for(let _0x2e2832 in _0x2c803d[_0x42a549]){let {actions:_0x578042,objectType:_0x19ff73}=_0x2c803d[_0x42a549][_0x2e2832],_0x156375=[...new Set(_0x578042)];_0x20c88b['push']({'unitID':_0x42a549,'objectID':_0x2e2832,'objectType':_0x19ff73,'actions':_0x156375});}return new _0x3c9fd5['HTTPRequest']('POST',_0x37be2d,{'headers':_0x277b3e[_0x516f12(0x144)],'withCredentials':_0x277b3e[_0x516f12(0x1d5)],'responseType':_0x277b3e[_0x516f12(0x14d)],'body':{'requests':_0x20c88b}});}},{'distributeResult'(_0x52d7db,_0x151efc){const _0x2d035f=_0x126224;let {objectActions:_0x52dca3}=_0x52d7db;return _0x151efc[_0x2d035f(0x348)](_0x3799d7=>{const _0x4cee15=_0x2d035f;let {unitID:_0x12ed35,objectID:_0x3d94d6,actions:_0xc63b40}=_0x3799d7,_0xd91932=_0x52dca3[_0x4cee15(0xfa)](_0x4ef514=>_0x4ef514[_0x4cee15(0x37e)]===_0x12ed35&&_0x4ef514[_0x4cee15(0x2fa)]===_0x3d94d6);return{'config':_0x3799d7,'result':{'actions':_0xc63b40[_0x4cee15(0x348)](_0x4c521b=>_0xd91932==null?void 0x0:_0xd91932['actions']['find'](_0x1804b1=>_0x1804b1[_0x4cee15(0x1cd)]===_0x4c521b))[_0x4cee15(0x306)](_0x447a7f=>!!_0x447a7f),'error':_0x52d7db['error']}};});}})}));}[_0x33f14e(0x11c)](){const _0x586b06=_0x33f14e;var _0x539403;let _0x724604=this[_0x586b06(0x333)][_0x586b06(0x328)](_0x1cf9ab);return(_0x539403=_0x724604==null?void 0x0:_0x724604[_0x586b06(0x3bc)])==null?_0x586b06(0x384):_0x539403;}async[_0x33f14e(0x1e0)](_0xd14522){const _0x5bb6ec=_0x33f14e;let _0x46626d=this[_0x5bb6ec(0x11c)]()+'/'+_0xd14522[_0x5bb6ec(0x350)]+'/object';return(await this[_0x5bb6ec(0x15c)][_0x5bb6ec(0x2b0)](_0x46626d,{'body':_0xd14522}))[_0x5bb6ec(0x29f)][_0x5bb6ec(0x2fa)]||'';}async[_0x33f14e(0x1e3)](_0x24914){const _0x52041e=_0x33f14e;let _0x1a24ed=this[_0x52041e(0x11c)]()+'/-/object/list';return(await this[_0x52041e(0x15c)][_0x52041e(0x2b0)](_0x1a24ed,{'body':_0x24914}))[_0x52041e(0x29f)][_0x52041e(0x112)];}async[_0x33f14e(0x12c)](_0x6b8700){const _0xd2e207=_0x33f14e;var _0x2c4bda;let _0x57b8b7=this[_0xd2e207(0x11c)]()+'/'+_0x6b8700[_0xd2e207(0x350)]+'/object/'+_0x6b8700[_0xd2e207(0x2fa)],_0x555946=await this[_0xd2e207(0x15c)]['put'](_0x57b8b7,{'body':_0x6b8700});if((_0x555946==null||(_0x2c4bda=_0x555946[_0xd2e207(0x29f)])==null||(_0x2c4bda=_0x2c4bda[_0xd2e207(0x15f)])==null?void 0x0:_0x2c4bda[_0xd2e207(0x361)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x32f4c1){const _0xfeed1d=_0x33f14e;let _0x1975f6=this[_0xfeed1d(0x11c)]()+'/'+_0x32f4c1[_0xfeed1d(0x350)]+_0xfeed1d(0x101)+_0x32f4c1[_0xfeed1d(0x2fa)]+_0xfeed1d(0x2ad);return(await this[_0xfeed1d(0x15c)]['post'](_0x1975f6,{'body':_0x32f4c1}))['body'][_0xfeed1d(0x165)];}async[_0x33f14e(0x27c)](_0x2be8d8){const _0x4c1c63=_0x33f14e;let _0x15438b=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4c1c63(0x15c)]['post'](_0x15438b,{'body':{'requests':_0x2be8d8}}))[_0x4c1c63(0x29f)][_0x4c1c63(0x3a1)];}async[_0x33f14e(0x2c6)](_0x43e5b6){const _0x4e87c6=_0x33f14e;let _0x1f8a94=this[_0x4e87c6(0x11c)]()+'/'+_0x43e5b6[_0x4e87c6(0x350)]+_0x4e87c6(0x128),_0x4d71af=await this['_HTTPService'][_0x4e87c6(0x2b0)](_0x1f8a94,{'body':_0x43e5b6});return{'roles':_0x4d71af[_0x4e87c6(0x29f)][_0x4e87c6(0x1b9)],'actions':_0x4d71af[_0x4e87c6(0x29f)]['actions']};}async[_0x33f14e(0x3c5)](_0x247de3){const _0x3fb585=_0x33f14e;let _0x4f1f85=this['_getAPIPrefixPath']()+_0x3fb585(0x312);await this[_0x3fb585(0x15c)][_0x3fb585(0xc0)](_0x4f1f85,{'params':{'collaboratorID':_0x247de3['collaboratorID'],'objectID':_0x247de3[_0x3fb585(0x2fa)],'unitID':_0x247de3['unitID']}});}async[_0x33f14e(0x2f7)](_0x32a573){const _0x2a8b96=_0x33f14e;let _0x4b760a=this[_0x2a8b96(0x11c)]()+_0x2a8b96(0x312);await this[_0x2a8b96(0x15c)][_0x2a8b96(0xbb)](_0x4b760a,{'body':_0x32a573});}async['createCollaborator'](_0x139f39){const _0x3a784d=_0x33f14e;let _0x4cb686=this['_getAPIPrefixPath']()+_0x3a784d(0x312);await this[_0x3a784d(0x15c)]['post'](_0x4cb686,{'body':_0x139f39});}async[_0x33f14e(0x373)](_0x516e32){const _0x4e018d=_0x33f14e;var _0x4a2e12;let _0x302ff4=this[_0x4e018d(0x11c)]()+_0x4e018d(0x312),_0x3dfb41=await this[_0x4e018d(0x15c)][_0x4e018d(0x1a5)](_0x302ff4,{'params':{'objectID':_0x516e32[_0x4e018d(0x2fa)],'unitID':_0x516e32[_0x4e018d(0x37e)]}});return this[_0x4e018d(0x2d4)]((_0x4a2e12=_0x3dfb41[_0x4e018d(0x29f)][_0x4e018d(0x18e)])==null?!0x1:_0x4a2e12),_0x3dfb41[_0x4e018d(0x29f)][_0x4e018d(0x26c)];}async[_0x33f14e(0x25a)](_0x32aaea){const _0x5226dc=_0x33f14e;let _0xb099aa=this[_0x5226dc(0x11c)]()+'/collaborator';await this['_HTTPService']['put'](_0xb099aa,{'body':_0x32aaea});}[_0x33f14e(0x2d4)](_0x4848fb){const _0x5c2485=_0x33f14e;this[_0x5c2485(0xb5)]=_0x4848fb;}['getCfgEnableObjInherit'](){const _0x1a11a0=_0x33f14e;return this[_0x1a11a0(0xb5)];}};_0xc00d62=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0xfb)]))],_0xc00d62);function _0x428edd(_0x1629ce){const _0x4ef637=_0x33f14e;return _0x1629ce instanceof Uint8Array||ArrayBuffer[_0x4ef637(0x263)](_0x1629ce)&&_0x1629ce['constructor'][_0x4ef637(0x241)]==='Uint8Array'&&_0x4ef637(0x29d)in _0x1629ce&&_0x1629ce[_0x4ef637(0x29d)]===0x1;}function _0x171b65(_0x4edd66){const _0x2718e2=_0x33f14e;if(typeof _0x4edd66!=_0x2718e2(0x242))throw TypeError(_0x2718e2(0x254)+typeof _0x4edd66);if(!Number[_0x2718e2(0x253)](_0x4edd66)||_0x4edd66<0x0)throw RangeError(_0x2718e2(0x2d9)+_0x4edd66);}function _0x418b3b(_0x7c523b,_0x55dd1d,_0x44e279=''){const _0x1c124a=_0x33f14e;let _0xe1c489=_0x428edd(_0x7c523b),_0x34c259=_0x7c523b==null?void 0x0:_0x7c523b[_0x1c124a(0x251)],_0x4942d1=_0x55dd1d!==void 0x0;if(!_0xe1c489||_0x4942d1&&_0x34c259!==_0x55dd1d){let _0x592dca=_0x44e279&&'\x22'+_0x44e279+'\x22\x20',_0x50f195=_0x4942d1?'\x20of\x20length\x20'+_0x55dd1d:'',_0x421570=_0xe1c489?'length='+_0x34c259:'type='+typeof _0x7c523b,_0x2eafdb=_0x592dca+'expected\x20Uint8Array'+_0x50f195+_0x1c124a(0xc2)+_0x421570;throw _0xe1c489?RangeError(_0x2eafdb):TypeError(_0x2eafdb);}return _0x7c523b;}function _0x5d032b(_0x5d903a){const _0x4fbb70=_0x33f14e;return new Uint32Array(_0x5d903a[_0x4fbb70(0x21e)],_0x5d903a[_0x4fbb70(0x183)],Math[_0x4fbb70(0x2f1)](_0x5d903a[_0x4fbb70(0x21b)]/0x4));}function _0x311a9a(..._0x297522){const _0x10006a=_0x33f14e;for(let _0xd4b5de=0x0;_0xd4b5de<_0x297522[_0x10006a(0x251)];_0xd4b5de++)_0x297522[_0xd4b5de]['fill'](0x0);}let _0x1c5baf=new Uint8Array(new Uint32Array([0x11223344])[_0x33f14e(0x21e)])[0x0]===0x44,_0x34d16d=_0x58d539=>_0x58d539<<0x18&0xff000000|_0x58d539<<0x8&0xff0000|_0x58d539>>>0x8&0xff00|_0x58d539>>>0x18&0xff,_0x59a6c3=_0x1c5baf?_0x6a67f2=>_0x6a67f2:_0x5ef8bc=>{const _0x5e1485=_0x33f14e;for(let _0xdd127f=0x0;_0xdd127f<_0x5ef8bc[_0x5e1485(0x251)];_0xdd127f++)_0x5ef8bc[_0xdd127f]=_0x34d16d(_0x5ef8bc[_0xdd127f]);return _0x5ef8bc;};function _0x46c12c(_0x332432){const _0x4a4249=_0x33f14e;if(typeof _0x332432!=_0x4a4249(0x137))throw TypeError(_0x4a4249(0x320));return new Uint8Array(new TextEncoder()['encode'](_0x332432));}function _0x4fe02a(_0x4fb8d9,_0xd3d7fb){const _0x245e9d=_0x33f14e;return!_0x4fb8d9[_0x245e9d(0x21b)]||!_0xd3d7fb['byteLength']?!0x1:_0x4fb8d9[_0x245e9d(0x21e)]===_0xd3d7fb['buffer']&&_0x4fb8d9['byteOffset']<_0xd3d7fb[_0x245e9d(0x183)]+_0xd3d7fb['byteLength']&&_0xd3d7fb[_0x245e9d(0x183)]<_0x4fb8d9[_0x245e9d(0x183)]+_0x4fb8d9['byteLength'];}function _0x1d2b3a(_0x386435,_0x1d94ef){const _0x5cd6cd=_0x33f14e;if(_0x4fe02a(_0x386435,_0x1d94ef)&&_0x386435[_0x5cd6cd(0x183)]<_0x1d94ef[_0x5cd6cd(0x183)])throw Error(_0x5cd6cd(0x2a1));}function _0x2c1cf3(..._0x5a7d1e){const _0xecf050=_0x33f14e;let _0x4ecea8=0x0;for(let _0x44c206=0x0;_0x44c206<_0x5a7d1e[_0xecf050(0x251)];_0x44c206++){let _0x594cf8=_0x5a7d1e[_0x44c206];_0x418b3b(_0x594cf8),_0x4ecea8+=_0x594cf8[_0xecf050(0x251)];}let _0x3b11c9=new Uint8Array(_0x4ecea8);for(let _0x58dcce=0x0,_0xc2a7ff=0x0;_0x58dcce<_0x5a7d1e[_0xecf050(0x251)];_0x58dcce++){let _0x3933e6=_0x5a7d1e[_0x58dcce];_0x3b11c9[_0xecf050(0x269)](_0x3933e6,_0xc2a7ff),_0xc2a7ff+=_0x3933e6[_0xecf050(0x251)];}return _0x3b11c9;}let _0x556cc6=(_0x404675,_0x134544)=>{const _0x203d9c=_0x33f14e;function _0x5747f3(_0x5e3263,..._0x12191b){const _0x5566ce=_0x1555;if(_0x418b3b(_0x5e3263,void 0x0,_0x5566ce(0xd7)),_0x404675[_0x5566ce(0x1da)]!==void 0x0){let _0x147ff6=_0x12191b[0x0];_0x418b3b(_0x147ff6,_0x404675[_0x5566ce(0x1d9)]?void 0x0:_0x404675[_0x5566ce(0x1da)],_0x5566ce(0x311));}let _0x2387c2=_0x404675[_0x5566ce(0xc3)];_0x2387c2&&_0x12191b[0x1]!==void 0x0&&_0x418b3b(_0x12191b[0x1],void 0x0,_0x5566ce(0x296));let _0x458a2d=_0x134544(_0x5e3263,..._0x12191b),_0x3199b2=(_0x13628b,_0x37bfea)=>{const _0x54a12d=_0x5566ce;if(_0x37bfea!==void 0x0){if(_0x13628b!==0x2)throw Error(_0x54a12d(0x297));_0x418b3b(_0x37bfea,void 0x0,_0x54a12d(0xdc));}},_0x3d1ec5=!0x1;return{'encrypt'(_0x1910ba,_0x2138bc){const _0x19f640=_0x5566ce;if(_0x3d1ec5)throw Error(_0x19f640(0x11b));return _0x3d1ec5=!0x0,_0x418b3b(_0x1910ba),_0x3199b2(_0x458a2d['encrypt'][_0x19f640(0x251)],_0x2138bc),_0x458a2d[_0x19f640(0xd2)](_0x1910ba,_0x2138bc);},'decrypt'(_0x27e610,_0x55e9d7){const _0x33ba45=_0x5566ce;if(_0x418b3b(_0x27e610),_0x2387c2&&_0x27e610['length']<_0x2387c2)throw Error(_0x33ba45(0x1b6)+_0x2387c2);return _0x3199b2(_0x458a2d[_0x33ba45(0x2db)]['length'],_0x55e9d7),_0x458a2d[_0x33ba45(0x2db)](_0x27e610,_0x55e9d7);}};}return Object[_0x203d9c(0x29a)](_0x5747f3,_0x404675),_0x5747f3;};function _0x51c0e7(_0x367d05,_0x156e09,_0x50374d=!0x0){const _0x2ee914=_0x33f14e;if(_0x156e09===void 0x0)return new Uint8Array(_0x367d05);if(_0x418b3b(_0x156e09,void 0x0,_0x2ee914(0xdc)),_0x156e09['length']!==_0x367d05)throw Error(_0x2ee914(0x106)+_0x367d05+',\x20got:\x20'+_0x156e09[_0x2ee914(0x251)]);if(_0x50374d&&!_0x1b8087(_0x156e09))throw Error(_0x2ee914(0x2a0));return _0x156e09;}function _0x1b8087(_0x32371a){const _0x4a5898=_0x33f14e;return _0x32371a[_0x4a5898(0x183)]%0x4==0x0;}function _0x56bb58(_0x289bde){const _0x1dd80f=_0x33f14e;return Uint8Array[_0x1dd80f(0x2ed)](_0x418b3b(_0x289bde));}function _0x30bfa2(_0x1ad07e=0x20){const _0x4f9649=_0x33f14e;_0x171b65(_0x1ad07e);let _0x283931=typeof globalThis==_0x4f9649(0x2d3)?globalThis[_0x4f9649(0x20f)]:null;if(typeof(_0x283931==null?void 0x0:_0x283931[_0x4f9649(0x21f)])!=_0x4f9649(0x1b7))throw Error(_0x4f9649(0x396));return _0x283931[_0x4f9649(0x21f)](new Uint8Array(_0x1ad07e));}function _0x263b43(_0x298449){const _0xcd6641=_0x33f14e;if(![0x10,0x18,0x20][_0xcd6641(0x1c3)](_0x298449[_0xcd6641(0x251)]))throw Error('\x22aes\x20key\x22\x20expected\x20Uint8Array\x20of\x20length\x2016/24/32,\x20got\x20length='+_0x298449[_0xcd6641(0x251)]);}function _0x7874a8(_0x577b0b){return _0x577b0b<<0x1^0x11b&-(_0x577b0b>>0x7);}function _0x24fbde(_0x212551,_0x18063d){let _0x4b67ce=0x0;for(;_0x18063d>0x0;_0x18063d>>=0x1)_0x4b67ce^=_0x212551&-(_0x18063d&0x1),_0x212551=_0x7874a8(_0x212551);return _0x4b67ce;}let _0x495909=((()=>{let _0x3e3caa=new Uint8Array(0x100);for(let _0x54f60=0x0,_0x4eef10=0x1;_0x54f60<0x100;_0x54f60++,_0x4eef10^=_0x7874a8(_0x4eef10))_0x3e3caa[_0x54f60]=_0x4eef10;let _0x421b51=new Uint8Array(0x100);_0x421b51[0x0]=0x63;for(let _0x58fc00=0x0;_0x58fc00<0xff;_0x58fc00++){let _0x5b00b5=_0x3e3caa[0xff-_0x58fc00];_0x5b00b5|=_0x5b00b5<<0x8,_0x421b51[_0x3e3caa[_0x58fc00]]=(_0x5b00b5^_0x5b00b5>>0x4^_0x5b00b5>>0x5^_0x5b00b5>>0x6^_0x5b00b5>>0x7^0x63)&0xff;}return _0x311a9a(_0x3e3caa),_0x421b51;})()),_0x5e2e27=_0x495909['map']((_0x546269,_0x5e1ac3)=>_0x495909[_0x33f14e(0x156)](_0x5e1ac3)),_0x4b0eca=_0x49918e=>_0x49918e<<0x18|_0x49918e>>>0x8,_0x491c17=_0x43c8ca=>_0x43c8ca<<0x8|_0x43c8ca>>>0x18;function _0x448ea5(_0x551bbc,_0x5b4c3c){const _0x7f1941=_0x33f14e;if(_0x551bbc['length']!==0x100)throw Error(_0x7f1941(0x108));let _0xfef964=new Uint32Array(0x100)['map']((_0x445adf,_0x218df1)=>_0x5b4c3c(_0x551bbc[_0x218df1])),_0x38bbc7=_0xfef964['map'](_0x491c17),_0x13531e=_0x38bbc7[_0x7f1941(0x348)](_0x491c17),_0x3d3f91=_0x13531e[_0x7f1941(0x348)](_0x491c17),_0x5532c4=new Uint32Array(0x100*0x100),_0x49f37a=new Uint32Array(0x100*0x100),_0x2255a1=new Uint16Array(0x100*0x100);for(let _0x3b1ed2=0x0;_0x3b1ed2<0x100;_0x3b1ed2++)for(let _0x1294e3=0x0;_0x1294e3<0x100;_0x1294e3++){let _0x15b104=_0x3b1ed2*0x100+_0x1294e3;_0x5532c4[_0x15b104]=_0xfef964[_0x3b1ed2]^_0x38bbc7[_0x1294e3],_0x49f37a[_0x15b104]=_0x13531e[_0x3b1ed2]^_0x3d3f91[_0x1294e3],_0x2255a1[_0x15b104]=_0x551bbc[_0x3b1ed2]<<0x8|_0x551bbc[_0x1294e3];}return{'sbox':_0x551bbc,'sbox2':_0x2255a1,'T0':_0xfef964,'T1':_0x38bbc7,'T2':_0x13531e,'T3':_0x3d3f91,'T01':_0x5532c4,'T23':_0x49f37a};}let _0x293dbb=_0x448ea5(_0x495909,_0x2902ca=>_0x24fbde(_0x2902ca,0x3)<<0x18|_0x2902ca<<0x10|_0x2902ca<<0x8|_0x24fbde(_0x2902ca,0x2)),_0x537c10=_0x448ea5(_0x5e2e27,_0x4fc045=>_0x24fbde(_0x4fc045,0xb)<<0x18|_0x24fbde(_0x4fc045,0xd)<<0x10|_0x24fbde(_0x4fc045,0x9)<<0x8|_0x24fbde(_0x4fc045,0xe)),_0x226114=((()=>{let _0x486650=new Uint8Array(0x10);for(let _0x33e3a5=0x0,_0x1b7807=0x1;_0x33e3a5<0x10;_0x33e3a5++,_0x1b7807=_0x7874a8(_0x1b7807))_0x486650[_0x33e3a5]=_0x1b7807;return _0x486650;})());function _0x4a5a65(_0x3d745c){const _0x1e859b=_0x33f14e;_0x418b3b(_0x3d745c);let _0x403956=_0x3d745c[_0x1e859b(0x251)];_0x263b43(_0x3d745c);let {sbox2:_0x2c4c95}=_0x293dbb,_0x1d4b9c=[];(!_0x1c5baf||!_0x1b8087(_0x3d745c))&&_0x1d4b9c[_0x1e859b(0xf8)](_0x3d745c=_0x56bb58(_0x3d745c));let _0x5c829a=_0x59a6c3(_0x5d032b(_0x3d745c)),_0x37a2e6=_0x5c829a[_0x1e859b(0x251)],_0x543590=_0x34b1d7=>_0x301d15(_0x2c4c95,_0x34b1d7,_0x34b1d7,_0x34b1d7,_0x34b1d7),_0x13e2d4=new Uint32Array(_0x403956+0x1c);_0x13e2d4[_0x1e859b(0x269)](_0x5c829a);for(let _0x35ac1b=_0x37a2e6;_0x35ac1b<_0x13e2d4[_0x1e859b(0x251)];_0x35ac1b++){let _0x1dc5f3=_0x13e2d4[_0x35ac1b-0x1];_0x35ac1b%_0x37a2e6===0x0?_0x1dc5f3=_0x543590(_0x4b0eca(_0x1dc5f3))^_0x226114[_0x35ac1b/_0x37a2e6-0x1]:_0x37a2e6>0x6&&_0x35ac1b%_0x37a2e6===0x4&&(_0x1dc5f3=_0x543590(_0x1dc5f3)),_0x13e2d4[_0x35ac1b]=_0x13e2d4[_0x35ac1b-_0x37a2e6]^_0x1dc5f3;}return _0x311a9a(..._0x1d4b9c),_0x13e2d4;}function _0x5e6e06(_0x44ba81){const _0x4cb9f7=_0x33f14e;let _0x5488d8=_0x4a5a65(_0x44ba81),_0x257850=_0x5488d8[_0x4cb9f7(0x387)](),_0x4d07db=_0x5488d8[_0x4cb9f7(0x251)],{sbox2:_0x5af10f}=_0x293dbb,{T0:_0x4c0780,T1:_0x414836,T2:_0x45f2c6,T3:_0x32f55a}=_0x537c10;for(let _0x2efa85=0x0;_0x2efa85<_0x4d07db;_0x2efa85+=0x4)for(let _0x33058e=0x0;_0x33058e<0x4;_0x33058e++)_0x257850[_0x2efa85+_0x33058e]=_0x5488d8[_0x4d07db-_0x2efa85-0x4+_0x33058e];_0x311a9a(_0x5488d8);for(let _0x425e1e=0x4;_0x425e1e<_0x4d07db-0x4;_0x425e1e++){let _0x258925=_0x257850[_0x425e1e],_0x4608bb=_0x301d15(_0x5af10f,_0x258925,_0x258925,_0x258925,_0x258925);_0x257850[_0x425e1e]=_0x4c0780[_0x4608bb&0xff]^_0x414836[_0x4608bb>>>0x8&0xff]^_0x45f2c6[_0x4608bb>>>0x10&0xff]^_0x32f55a[_0x4608bb>>>0x18];}return _0x257850;}function _0x5ae9ae(_0x18e968,_0x4fd759,_0x5d09e9,_0x18dae6,_0x2a53de,_0x513859){return _0x18e968[_0x5d09e9<<0x8&0xff00|_0x18dae6>>>0x8&0xff]^_0x4fd759[_0x2a53de>>>0x8&0xff00|_0x513859>>>0x18&0xff];}function _0x301d15(_0x3c227e,_0x3e333e,_0x16a39e,_0x21c2ef,_0x59d8a6){return _0x3c227e[_0x3e333e&0xff|_0x16a39e&0xff00]|_0x3c227e[_0x21c2ef>>>0x10&0xff|_0x59d8a6>>>0x10&0xff00]<<0x10;}function _0xf92b88(_0x13ae07,_0x575ad1,_0xb899c5,_0x35f425,_0x497523){const _0x320f03=_0x33f14e;let {sbox2:_0x3a4246,T01:_0x299a77,T23:_0x4fe826}=_0x293dbb,_0x2cbd2f=0x0;_0x575ad1^=_0x13ae07[_0x2cbd2f++],_0xb899c5^=_0x13ae07[_0x2cbd2f++],_0x35f425^=_0x13ae07[_0x2cbd2f++],_0x497523^=_0x13ae07[_0x2cbd2f++];let _0x2e55b1=_0x13ae07[_0x320f03(0x251)]/0x4-0x2;for(let _0x481ea5=0x0;_0x481ea5<_0x2e55b1;_0x481ea5++){let _0x35afc3=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x575ad1,_0xb899c5,_0x35f425,_0x497523),_0x8ba60=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0xb899c5,_0x35f425,_0x497523,_0x575ad1),_0x2d4193=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x35f425,_0x497523,_0x575ad1,_0xb899c5),_0x116781=_0x13ae07[_0x2cbd2f++]^_0x5ae9ae(_0x299a77,_0x4fe826,_0x497523,_0x575ad1,_0xb899c5,_0x35f425);_0x575ad1=_0x35afc3,_0xb899c5=_0x8ba60,_0x35f425=_0x2d4193,_0x497523=_0x116781;}return{'s0':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x575ad1,_0xb899c5,_0x35f425,_0x497523),'s1':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0xb899c5,_0x35f425,_0x497523,_0x575ad1),'s2':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x35f425,_0x497523,_0x575ad1,_0xb899c5),'s3':_0x13ae07[_0x2cbd2f++]^_0x301d15(_0x3a4246,_0x497523,_0x575ad1,_0xb899c5,_0x35f425)};}function _0x4ee388(_0x31b5cb,_0x3a7a6e,_0x229913,_0x4d74dc,_0x197cc9){const _0x250ebe=_0x33f14e;let {sbox2:_0x130e04,T01:_0x3b26df,T23:_0x201c1d}=_0x537c10,_0x346e81=0x0;_0x3a7a6e^=_0x31b5cb[_0x346e81++],_0x229913^=_0x31b5cb[_0x346e81++],_0x4d74dc^=_0x31b5cb[_0x346e81++],_0x197cc9^=_0x31b5cb[_0x346e81++];let _0xfa28be=_0x31b5cb[_0x250ebe(0x251)]/0x4-0x2;for(let _0x43c988=0x0;_0x43c988<_0xfa28be;_0x43c988++){let _0x15b838=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x3a7a6e,_0x197cc9,_0x4d74dc,_0x229913),_0x268674=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x229913,_0x3a7a6e,_0x197cc9,_0x4d74dc),_0x4e467e=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x4d74dc,_0x229913,_0x3a7a6e,_0x197cc9),_0x1d2882=_0x31b5cb[_0x346e81++]^_0x5ae9ae(_0x3b26df,_0x201c1d,_0x197cc9,_0x4d74dc,_0x229913,_0x3a7a6e);_0x3a7a6e=_0x15b838,_0x229913=_0x268674,_0x4d74dc=_0x4e467e,_0x197cc9=_0x1d2882;}return{'s0':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x3a7a6e,_0x197cc9,_0x4d74dc,_0x229913),'s1':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x229913,_0x3a7a6e,_0x197cc9,_0x4d74dc),'s2':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x4d74dc,_0x229913,_0x3a7a6e,_0x197cc9),'s3':_0x31b5cb[_0x346e81++]^_0x301d15(_0x130e04,_0x197cc9,_0x4d74dc,_0x229913,_0x3a7a6e)};}function _0x15d332(_0x2f48b3){const _0x46a9ac=_0x33f14e;if(_0x418b3b(_0x2f48b3),_0x2f48b3[_0x46a9ac(0x251)]%0x10!=0x0)throw Error(_0x46a9ac(0x143));}function _0x13fc6d(_0x156192,_0x212419,_0x141c0b){const _0x279107=_0x33f14e;_0x418b3b(_0x156192);let _0x3ae676=_0x156192['length'],_0x550ba0=_0x3ae676%0x10;if(!_0x212419&&_0x550ba0!==0x0)throw Error(_0x279107(0x1ab));if(_0x212419){let _0x4b9502=0x10-_0x550ba0;_0x4b9502||(_0x4b9502=0x10),_0x3ae676+=_0x4b9502;}_0x141c0b=_0x51c0e7(_0x3ae676,_0x141c0b),_0x1d2b3a(_0x156192,_0x141c0b),(!_0x1c5baf||!_0x1b8087(_0x156192))&&(_0x156192=_0x56bb58(_0x156192));let _0x383ee8=_0x5d032b(_0x156192);return _0x59a6c3(_0x383ee8),{'b':_0x383ee8,'o':_0x5d032b(_0x141c0b),'out':_0x141c0b};}function _0x102e62(_0x2c4f3f,_0x153cd5){const _0x52c7e2=_0x33f14e;if(!_0x153cd5)return _0x2c4f3f;let _0x3f34b6=_0x2c4f3f[_0x52c7e2(0x251)];if(_0x3f34b6===0x0)throw Error(_0x52c7e2(0x264));let _0x23eac7=_0x2c4f3f[_0x3f34b6-0x1],_0x1be472=0x1;_0x1be472&=_0x23eac7-0x1>>>0x1f^0x1,_0x1be472&=0x10-_0x23eac7>>>0x1f^0x1;for(let _0x546177=0x0;_0x546177<0x10;_0x546177++){let _0xe32456=_0x546177-_0x23eac7>>>0x1f,_0x5f3eea=+((_0x2c4f3f[_0x3f34b6-0x1-_0x546177]^_0x23eac7)===0x0);_0x1be472&=_0x5f3eea|_0xe32456^0x1;}if(!_0x1be472)throw Error(_0x52c7e2(0x2c9));return _0x2c4f3f['subarray'](0x0,_0x3f34b6-_0x23eac7);}function _0x22e445(_0x41458f){const _0x173412=_0x33f14e;let _0xa46640=new Uint8Array(0x10),_0x34e45c=_0x5d032b(_0xa46640);_0xa46640[_0x173412(0x269)](_0x41458f);let _0xbc85b4=0x10-_0x41458f['length'];for(let _0x3d8687=0x10-_0xbc85b4;_0x3d8687<0x10;_0x3d8687++)_0xa46640[_0x3d8687]=_0xbc85b4;return _0x34e45c;}let _0x465838=_0x556cc6({'blockSize':0x10,'nonceLength':0x10},function(_0x1f7dfb,_0x18db80,_0x4901df={}){const _0x5be868=_0x33f14e;let _0x1a626c=!_0x4901df[_0x5be868(0x18a)];return{'encrypt'(_0x2f02aa,_0x476343){const _0x1267af=_0x5be868;let _0x191020=_0x4a5a65(_0x1f7dfb),{b:_0xd08573,o:_0x23f4ca,out:_0x1b7b68}=_0x13fc6d(_0x2f02aa,_0x1a626c,_0x476343),_0x545f79=_0x18db80,_0x283e4b=[_0x191020];(!_0x1c5baf||!_0x1b8087(_0x545f79))&&_0x283e4b[_0x1267af(0xf8)](_0x545f79=_0x56bb58(_0x545f79));let _0x444534=_0x5d032b(_0x545f79);_0x59a6c3(_0x444534);let _0x2a9841=_0x444534[0x0],_0x287266=_0x444534[0x1],_0x30fa47=_0x444534[0x2],_0x18e725=_0x444534[0x3],_0x2165d9=0x0;for(;_0x2165d9+0x4<=_0xd08573['length'];)_0x2a9841^=_0xd08573[_0x2165d9+0x0],_0x287266^=_0xd08573[_0x2165d9+0x1],_0x30fa47^=_0xd08573[_0x2165d9+0x2],_0x18e725^=_0xd08573[_0x2165d9+0x3],{s0:_0x2a9841,s1:_0x287266,s2:_0x30fa47,s3:_0x18e725}=_0xf92b88(_0x191020,_0x2a9841,_0x287266,_0x30fa47,_0x18e725),_0x23f4ca[_0x2165d9++]=_0x2a9841,_0x23f4ca[_0x2165d9++]=_0x287266,_0x23f4ca[_0x2165d9++]=_0x30fa47,_0x23f4ca[_0x2165d9++]=_0x18e725;if(_0x1a626c){let _0x411d31=_0x22e445(_0x2f02aa[_0x1267af(0x180)](_0x2165d9*0x4));_0x59a6c3(_0x411d31),_0x2a9841^=_0x411d31[0x0],_0x287266^=_0x411d31[0x1],_0x30fa47^=_0x411d31[0x2],_0x18e725^=_0x411d31[0x3],{s0:_0x2a9841,s1:_0x287266,s2:_0x30fa47,s3:_0x18e725}=_0xf92b88(_0x191020,_0x2a9841,_0x287266,_0x30fa47,_0x18e725),_0x23f4ca[_0x2165d9++]=_0x2a9841,_0x23f4ca[_0x2165d9++]=_0x287266,_0x23f4ca[_0x2165d9++]=_0x30fa47,_0x23f4ca[_0x2165d9++]=_0x18e725;}return _0x59a6c3(_0x23f4ca),_0x311a9a(..._0x283e4b),_0x1b7b68;},'decrypt'(_0x35814a,_0x5d9dc7){const _0x54fa12=_0x5be868;_0x15d332(_0x35814a);let _0x1fafa6=_0x5e6e06(_0x1f7dfb),_0x41d5d1=_0x18db80,_0x24db72=[_0x1fafa6];(!_0x1c5baf||!_0x1b8087(_0x41d5d1))&&_0x24db72[_0x54fa12(0xf8)](_0x41d5d1=_0x56bb58(_0x41d5d1));let _0x848ff1=_0x5d032b(_0x41d5d1);_0x59a6c3(_0x848ff1),_0x5d9dc7=_0x51c0e7(_0x35814a[_0x54fa12(0x251)],_0x5d9dc7),_0x1d2b3a(_0x35814a,_0x5d9dc7),(!_0x1c5baf||!_0x1b8087(_0x35814a))&&_0x24db72[_0x54fa12(0xf8)](_0x35814a=_0x56bb58(_0x35814a));let _0x45a8da=_0x5d032b(_0x35814a),_0x4870af=_0x5d032b(_0x5d9dc7);_0x59a6c3(_0x45a8da);let _0x11e068=_0x848ff1[0x0],_0x349435=_0x848ff1[0x1],_0x4e5b84=_0x848ff1[0x2],_0x1ec6cb=_0x848ff1[0x3];for(let _0x51008c=0x0;_0x51008c+0x4<=_0x45a8da['length'];){let _0x40773d=_0x11e068,_0x56ba4b=_0x349435,_0x5a432a=_0x4e5b84,_0x4c6094=_0x1ec6cb;_0x11e068=_0x45a8da[_0x51008c+0x0],_0x349435=_0x45a8da[_0x51008c+0x1],_0x4e5b84=_0x45a8da[_0x51008c+0x2],_0x1ec6cb=_0x45a8da[_0x51008c+0x3];let {s0:_0x4c3bfe,s1:_0x43133c,s2:_0x2702cb,s3:_0x360435}=_0x4ee388(_0x1fafa6,_0x11e068,_0x349435,_0x4e5b84,_0x1ec6cb);_0x4870af[_0x51008c++]=_0x4c3bfe^_0x40773d,_0x4870af[_0x51008c++]=_0x43133c^_0x56ba4b,_0x4870af[_0x51008c++]=_0x2702cb^_0x5a432a,_0x4870af[_0x51008c++]=_0x360435^_0x4c6094;}return _0x59a6c3(_0x4870af),_0x311a9a(..._0x24db72),_0x102e62(_0x5d9dc7,_0x1a626c);}};});function _0x4e67f5(_0x231652){const _0x301c48=_0x33f14e;let _0x285e77=atob(_0x231652),_0x58de81=new Uint8Array(_0x285e77[_0x301c48(0x251)]);for(let _0x272039=0x0;_0x272039<_0x285e77['length'];_0x272039++)_0x58de81[_0x272039]=_0x285e77['charCodeAt'](_0x272039);return _0x58de81;}function _0x514985(_0x36c30d){const _0x43d24c=_0x33f14e;let _0x14c376='';for(let _0x3021be=0x0;_0x3021be<_0x36c30d[_0x43d24c(0x251)];_0x3021be++)_0x14c376+=String[_0x43d24c(0x268)](_0x36c30d[_0x3021be]);return btoa(_0x14c376);}function _0x475c8c(_0x458b50,_0x463484){const _0xe92f92=_0x33f14e;let _0x29039a=_0x4e67f5(_0x463484),_0x53af98=_0x30bfa2(0x10);return _0x514985(_0x2c1cf3(_0x53af98,_0x465838(_0x29039a,_0x53af98)[_0xe92f92(0xd2)](_0x46c12c(_0x458b50))));}function _0x3c2bb1(){const _0x1f4e96=_0x33f14e;let _0x48026a=(0x0,_0x5f2569[_0x1f4e96(0x13f)])()['__Key__'];if(typeof window<'u'&&window[_0x1f4e96(0x226)]!==void 0x0&&_0x48026a){let _0x20b244={'time':Math['floor'](Date[_0x1f4e96(0x11f)]()/0x3e8),'domain':location[_0x1f4e96(0x331)]};return _0x475c8c(JSON[_0x1f4e96(0x121)](_0x20b244),_0x48026a);}}let _0x13c7f3=class{constructor(_0x22a4d1){const _0x5d716a=_0x33f14e;this[_0x5d716a(0x1b1)]=_0x22a4d1,this[_0x5d716a(0x390)]();}[_0x33f14e(0x390)](){const _0x4ef6a9=_0x33f14e;this[_0x4ef6a9(0x1b1)][_0x4ef6a9(0x3c4)]({'interceptor':(_0x2e936a,_0x3fe226)=>{const _0x632780=_0x4ef6a9;let _0x3919d9=_0x3c2bb1();return _0x3919d9&&_0x2e936a[_0x632780(0x144)]['set'](_0x632780(0x293),_0x3919d9),_0x3fe226(_0x2e936a);}});}};_0x13c7f3=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x13c7f3);let _0x123c3d=class extends _0x305d10[_0x33f14e(0x15a)]{constructor(_0x35673d,_0x4975a0,_0x5a5731){const _0x59f9b1=_0x33f14e;super(),this['_logService']=_0x35673d,this['_snapshotService']=_0x4975a0,this['_localCacheService']=_0x5a5731,_0x816778(this,_0x59f9b1(0x14f),new _0x247d93['BehaviorSubject'](null)),_0x816778(this,_0x59f9b1(0x2fc),this[_0x59f9b1(0x14f)]['asObservable']());}async['loadUnitOfRevision'](_0x44bd2c,_0x5166c4,_0x2e8b5a){const _0x154ac0=_0x33f14e;this[_0x154ac0(0x14f)][_0x154ac0(0x300)]({'unitId':_0x44bd2c,'type':_0x5166c4});let _0x516a5d=null;switch(_0x5166c4){case _0x305d10[_0x154ac0(0x1c6)][_0x154ac0(0x22a)]:_0x516a5d=await this[_0x154ac0(0xc9)][_0x154ac0(0x2d8)](_0x44bd2c,_0x2e8b5a);break;case _0x305d10[_0x154ac0(0x1c6)][_0x154ac0(0x26e)]:_0x516a5d=await this[_0x154ac0(0xc9)]['loadDoc'](_0x44bd2c,_0x2e8b5a);break;default:this[_0x154ac0(0x356)][_0x154ac0(0x15f)]('[DataLoaderService]',_0x154ac0(0x116));break;}return _0x516a5d;}async[_0x33f14e(0x321)](_0x286e24,_0x50bc54,_0x7a3b7b){const _0x172b05=_0x33f14e;var _0x5db8ee;this['_unitInfo$'][_0x172b05(0x300)]({'unitId':_0x286e24,'type':_0x50bc54,'subUnitId':_0x7a3b7b});let _0xd34f5e=0x0,_0x25d94b=await((_0x5db8ee=this['_localCacheService'])==null?void 0x0:_0x5db8ee[_0x172b05(0x298)](_0x286e24));return _0x25d94b&&(_0x25d94b['awaitingChangeset']||_0x25d94b[_0x172b05(0x316)]['length']!==0x0)&&(_0xd34f5e=_0x25d94b[_0x172b05(0x123)]),_0xd34f5e===0x0&&this[_0x172b05(0x356)][_0x172b05(0x31a)](_0x172b05(0x21d),_0x172b05(0x376)),this[_0x172b05(0x13c)](_0x286e24,_0x50bc54,_0xd34f5e);}};_0x123c3d=_0x47fc4c([_0xf01086(0x0,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x1,(0x0,_0x305d10['Inject'])(_0x540a4f['SnapshotService'])),_0xf01086(0x2,(0x0,_0x305d10['Optional'])(_0xbd995e))],_0x123c3d);let _0x357175=class{constructor(_0x40c8b3,_0x5eb094,_0x4dff0b){const _0x1b8d2b=_0x33f14e;this[_0x1b8d2b(0x1b1)]=_0x40c8b3,this[_0x1b8d2b(0x333)]=_0x5eb094,this[_0x1b8d2b(0x35b)]=_0x4dff0b,_0x816778(this,_0x1b8d2b(0x1a1),0x0),_0x816778(this,_0x1b8d2b(0x18b),new _0x247d93['Subject']()),_0x816778(this,'change$',this[_0x1b8d2b(0x18b)]),_0x816778(this,'_imageSourceCache',new Map());}['setWaitCount'](_0x20bfe3){const _0x5f558e=_0x33f14e;this[_0x5f558e(0x1a1)]=_0x20bfe3,this['_change$'][_0x5f558e(0x300)](_0x20bfe3);}['getImageSourceCache'](_0x59429a,_0x3313fd){const _0x384c5c=_0x33f14e;if(_0x3313fd===_0x5452c7['ImageSourceType'][_0x384c5c(0x274)]){let _0x4288a6=new Image();return _0x4288a6['src']=_0x59429a,_0x4288a6;}return this[_0x384c5c(0x2b3)][_0x384c5c(0x1a5)](_0x59429a);}[_0x33f14e(0x13b)](_0x2e7553,_0x1f3157,_0xaf494a){const _0x1c6b26=_0x33f14e;_0x1f3157===_0x5452c7[_0x1c6b26(0x185)][_0x1c6b26(0x274)]||_0xaf494a==null||this[_0x1c6b26(0x2b3)][_0x1c6b26(0x269)](_0x2e7553,_0xaf494a);}async['getImage'](_0x226330){const _0x5b6281=_0x33f14e;try{let _0x2d106f=this[_0x5b6281(0x136)](this[_0x5b6281(0x323)](),''+_0x226330),_0x4a0622=(await this[_0x5b6281(0x1b1)][_0x5b6281(0x1a5)](_0x2d106f))['body'];if(_0x4a0622[_0x5b6281(0x15f)]&&_0x4a0622['error'][_0x5b6281(0x361)]===_0x54f861[_0x5b6281(0x2c2)]['OK']){let _0x48b7cd=(0x0,_0x305d10[_0x5b6281(0x193)])(_0x4a0622['url'],this['_getDownloadEndpointURL']());return Promise[_0x5b6281(0x388)](_0x48b7cd);}return Promise[_0x5b6281(0x22c)](_0x4a0622['error']);}catch(_0x53d195){return Promise[_0x5b6281(0x22c)](_0x53d195);}}async[_0x33f14e(0x252)](_0x21b4a1){const _0x2bfaab=_0x33f14e;let _0x5914a5='';if(!_0x5452c7[_0x2bfaab(0xf0)][_0x2bfaab(0x1c3)](_0x21b4a1['type']))return this[_0x2bfaab(0x211)](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x17f)]));if(_0x21b4a1[_0x2bfaab(0xe1)]>(0x0,_0x5452c7[_0x2bfaab(0x336)])())return this[_0x2bfaab(0x211)](),Promise[_0x2bfaab(0x22c)](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x339)]));try{let _0x4ce27b=new FormData();_0x4ce27b[_0x2bfaab(0x140)](_0x2bfaab(0x1a9),_0x21b4a1);let _0xc80d1a=this[_0x2bfaab(0x35b)][_0x2bfaab(0x2a8)](),_0x44f53e=_0xc80d1a==null?void 0x0:_0xc80d1a[_0x2bfaab(0x1e7)]();if(!_0x44f53e)throw Error(_0x2bfaab(0x3aa));let _0x487179=this[_0x2bfaab(0x10b)]()+_0x2bfaab(0x36f)+_0x21b4a1[_0x2bfaab(0xe1)][_0x2bfaab(0x2e7)]()+_0x2bfaab(0xeb)+_0x54f861[_0x2bfaab(0x1fa)][_0x2bfaab(0x374)]+_0x2bfaab(0x36a)+encodeURIComponent(_0x44f53e),_0x5e10e1={'body':_0x4ce27b},_0x28ed42=(await this[_0x2bfaab(0x1b1)]['post'](_0x487179,_0x5e10e1))[_0x2bfaab(0x29f)];if(typeof _0x28ed42['FileId']!=_0x2bfaab(0x137))return this[_0x2bfaab(0x211)](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)]['ERROR_IMAGE']));_0x5914a5=_0x28ed42[_0x2bfaab(0x3ac)];}catch{return this['_decreaseWaiting'](),Promise['reject'](Error(_0x5452c7[_0x2bfaab(0x3ba)][_0x2bfaab(0x105)]));}return new Promise((_0x327bea,_0xd355f2)=>{const _0x3c08a5=_0x2bfaab;let _0x586eba=new FileReader();_0x586eba[_0x3c08a5(0x28a)](_0x21b4a1),_0x586eba[_0x3c08a5(0x2d2)]=_0x39d348=>{const _0xba81e4=_0x3c08a5;var _0x1b98d0;let _0x203f03=(_0x1b98d0=_0x39d348[_0xba81e4(0x27a)])==null?void 0x0:_0x1b98d0['result'];if(_0x203f03==null){this[_0xba81e4(0x211)](),_0xd355f2(Error(_0x5452c7[_0xba81e4(0x3ba)][_0xba81e4(0x105)]));return;}_0x327bea({'imageId':(0x0,_0x305d10['generateRandomId'])(0x6),'imageSourceType':_0x5452c7[_0xba81e4(0x185)][_0xba81e4(0x1a0)],'source':_0x5914a5,'base64Cache':_0x203f03,'status':_0x5452c7[_0xba81e4(0x3ba)][_0xba81e4(0x29c)]}),this[_0xba81e4(0x211)]();};});}[_0x33f14e(0x10b)](){const _0x45c4da=_0x33f14e;var _0x29b74e;let _0x5d9f2a=this[_0x45c4da(0x333)][_0x45c4da(0x328)](_0x1cf9ab);return(_0x29b74e=_0x5d9f2a==null?void 0x0:_0x5d9f2a[_0x45c4da(0x33e)])==null?_0x45c4da(0x223):_0x29b74e;}[_0x33f14e(0x323)](){const _0x43c7af=_0x33f14e;var _0x5ea814;let _0x57c241=this['_configService']['getConfig'](_0x1cf9ab);return(_0x5ea814=_0x57c241==null?void 0x0:_0x57c241[_0x43c7af(0x1ce)])==null?_0x43c7af(0x1c1):_0x5ea814;}[_0x33f14e(0x36b)](){const _0x27d78d=_0x33f14e;var _0x299653;let _0x13e6c0=this[_0x27d78d(0x333)][_0x27d78d(0x328)](_0x1cf9ab);return(_0x299653=_0x13e6c0==null?void 0x0:_0x13e6c0['downloadEndpointUrl'])==null?location['origin']:_0x299653;}[_0x33f14e(0x136)](_0x1ff2a0,_0x3cbbf4){const _0x1119be=_0x33f14e;return _0x1ff2a0[_0x1119be(0xce)](_0x1119be(0x1d3),_0x3cbbf4);}['_decreaseWaiting'](){const _0x5fcd86=_0x33f14e;--this[_0x5fcd86(0x1a1)],this['_change$'][_0x5fcd86(0x300)](this[_0x5fcd86(0x1a1)]);}};_0x357175=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5['HTTPService'])),_0xf01086(0x1,_0x305d10[_0x33f14e(0xfb)]),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['IUniverInstanceService']))],_0x357175);let _0x422fbe=class{constructor(_0x28428e,_0x106a8e){const _0x2f9cc9=_0x33f14e;this[_0x2f9cc9(0x333)]=_0x28428e,this[_0x2f9cc9(0x15c)]=_0x106a8e;}[_0x33f14e(0x11c)](){const _0x7a6c92=_0x33f14e;var _0x542a3b;let _0x2228fa=this['_configService'][_0x7a6c92(0x328)](_0x1cf9ab);return(_0x542a3b=_0x2228fa==null?void 0x0:_0x2228fa[_0x7a6c92(0x3bc)])==null?_0x7a6c92(0x384):_0x542a3b;}async[_0x33f14e(0x1e3)](_0x3f7deb){const _0x1c8dd3=_0x33f14e;let _0x29200b=this[_0x1c8dd3(0x11c)]()+_0x1c8dd3(0x312);return{'list':[{'title':_0x1c8dd3(0x14b),'mentions':(await this[_0x1c8dd3(0x15c)][_0x1c8dd3(0x1a5)](_0x29200b,{'params':{'objectID':_0x3f7deb[_0x1c8dd3(0x34f)],'unitID':_0x3f7deb[_0x1c8dd3(0x34f)]}}))['body'][_0x1c8dd3(0x26c)]['map'](_0x53aee7=>({'objectId':_0x53aee7['id'],'name':_0x53aee7[_0x1c8dd3(0x364)]['name'],'metadata':{'icon':_0x53aee7[_0x1c8dd3(0x364)][_0x1c8dd3(0x329)]},'label':_0x53aee7[_0x1c8dd3(0x364)][_0x1c8dd3(0x241)],'objectType':_0x305d10[_0x1c8dd3(0x146)][_0x1c8dd3(0x1eb)]})),'metadata':{},'type':_0x305d10[_0x1c8dd3(0x146)][_0x1c8dd3(0x1eb)]}]};}};_0x422fbe=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['IConfigService'])),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x422fbe);let _0xe87828=class extends _0x305d10['RxDisposable']{constructor(_0x4e337d,_0x3d4281,_0x20736a,_0x5ddcb5,_0x56edf5){const _0x42a37d=_0x33f14e;super(),this['_injector']=_0x4e337d,this[_0x42a37d(0x35b)]=_0x3d4281,this[_0x42a37d(0x27e)]=_0x20736a,this['_collaborationSessionService']=_0x5ddcb5,this[_0x42a37d(0x17e)]=_0x56edf5,this[_0x42a37d(0x245)](),this[_0x42a37d(0x135)]();}['_initCloseConn'](){const _0x24f8f3=_0x33f14e;let _0x2a7826=async _0x33de4a=>{const _0x2bfbee=_0x1555;(await this['_collaborationSessionService'][_0x2bfbee(0x1ee)](_0x33de4a))[_0x2bfbee(0x1b0)][_0x2bfbee(0x2a9)]((0x0,_0x38623c[_0x2bfbee(0x306)])(_0x13c197=>_0x13c197[_0x2bfbee(0x2b4)]===_0x540a4f[_0x2bfbee(0x38c)]['SHOULD_CLOSE_CONN']),(0x0,_0x38623c[_0x2bfbee(0x1f5)])(this[_0x2bfbee(0x26d)]))[_0x2bfbee(0x305)](_0x1c3730=>{const _0x547324=_0x2bfbee;let {reason:_0x18bd97}=_0x1c3730[_0x547324(0x23d)];this[_0x547324(0x17e)][_0x547324(0x118)]({'id':_0x547324(0x261),'data':_0x18bd97}),this[_0x547324(0x27e)][_0x547324(0x378)](new _0x2b86ea[(_0x547324(0xef))](_0x33de4a)['id'],!0x1),this[_0x547324(0x2d0)][_0x547324(0x375)](_0x33de4a);});};(0x0,_0x247d93[_0x24f8f3(0xff)])(this[_0x24f8f3(0x35b)][_0x24f8f3(0xc5)](_0x305d10[_0x24f8f3(0x1c6)][_0x24f8f3(0x22a)]),this['_univerInstanceService'][_0x24f8f3(0xc5)](_0x305d10[_0x24f8f3(0x1c6)][_0x24f8f3(0x26e)]))[_0x24f8f3(0x2a9)]((0x0,_0x38623c[_0x24f8f3(0x348)])(_0x32ace0=>_0x32ace0[_0x24f8f3(0x265)]['getUnitId']()),(0x0,_0x38623c['filter'])(_0x1150ae=>!(0x0,_0x305d10[_0x24f8f3(0x337)])(_0x1150ae)),(0x0,_0x38623c['takeUntil'])(this['dispose$']))[_0x24f8f3(0x305)](_0x1292ac=>{_0x2a7826(_0x1292ac);});}['_initUnitPermissionChange'](){const _0x4df211=_0x33f14e;let _0x1280ea=async _0xdda5a1=>{const _0x2c1839=_0x1555;let _0x4f3350=await this['_collaborationSessionService'][_0x2c1839(0x1ee)](_0xdda5a1),_0x2d7dfb=this[_0x2c1839(0x1c7)][_0x2c1839(0x1a5)](_0x2b86ea[_0x2c1839(0x126)]);_0x4f3350['event$'][_0x2c1839(0x2a9)]((0x0,_0x38623c['filter'])(_0x607d2b=>_0x607d2b[_0x2c1839(0x2b4)]===_0x540a4f[_0x2c1839(0x38c)][_0x2c1839(0x272)]),(0x0,_0x38623c[_0x2c1839(0x1f5)])(this[_0x2c1839(0x26d)]))[_0x2c1839(0x305)](_0xdaf02d=>{const _0x53ff3a=_0x2c1839;let {objectId:_0x17fdda}=_0xdaf02d[_0x53ff3a(0x23d)];_0x17fdda===_0xdda5a1?_0x2d7dfb['initWorkbookPermissionChange'](_0xdda5a1):_0x2d7dfb['refreshPermission'](_0xdda5a1,_0x17fdda);});};(0x0,_0x247d93[_0x4df211(0xff)])(this[_0x4df211(0x35b)][_0x4df211(0xc5)](_0x305d10[_0x4df211(0x1c6)][_0x4df211(0x22a)]))['pipe']((0x0,_0x38623c[_0x4df211(0x348)])(_0x2b4163=>_0x2b4163[_0x4df211(0x265)][_0x4df211(0x1e7)]()),(0x0,_0x38623c[_0x4df211(0x306)])(_0x20b8b0=>!(0x0,_0x305d10[_0x4df211(0x337)])(_0x20b8b0)),(0x0,_0x38623c[_0x4df211(0x1f5)])(this['dispose$']))[_0x4df211(0x305)](_0x5bd506=>{_0x1280ea(_0x5bd506);});}};_0xe87828=_0x47fc4c([_0xf01086(0x0,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10['Injector'])),_0xf01086(0x1,_0x305d10[_0x33f14e(0x20d)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x145)]),_0xf01086(0x3,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x258abc)),_0xf01086(0x4,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x23b696))],_0xe87828);let _0x1e5545=class{constructor(_0x1ece95,_0x4b593d){this['_configService']=_0x1ece95,this['_httpService']=_0x4b593d;}async[_0x33f14e(0xba)](_0x5b48a1,_0x59e732){const _0x136f4a=_0x33f14e;var _0x281174;let {unitID:_0xccf641,type:_0x12681a,revision:_0x50a20e=0x0}=_0x59e732,_0x35604f=this[_0x136f4a(0x367)]()+'/'+_0x12681a+_0x136f4a(0x10f)+_0xccf641+_0x136f4a(0x1cf)+_0x50a20e,_0x59392b=(await this[_0x136f4a(0x1b1)][_0x136f4a(0x1a5)](_0x35604f))[_0x136f4a(0x29f)],_0xd6a3c7=(_0x281174=_0x59392b[_0x136f4a(0x1f0)])==null?void 0x0:_0x281174[_0x136f4a(0x27b)];if(_0xd6a3c7){let _0x14e4c1=_0xd6a3c7==null?void 0x0:_0xd6a3c7['originalMeta'];_0xd6a3c7[_0x136f4a(0x386)]=_0x540a4f[_0x136f4a(0x19e)][_0x136f4a(0x10c)]((0x0,_0x540a4f[_0x136f4a(0x2ce)])(_0x14e4c1)),Object[_0x136f4a(0xb4)](_0xd6a3c7['sheets'])[_0x136f4a(0x1fc)](([,_0x1a3fd7])=>{const _0x46bc2b=_0x136f4a;let _0x2db636=_0x1a3fd7['originalMeta'];_0x1a3fd7[_0x46bc2b(0x386)]=_0x540a4f['textEncoder'][_0x46bc2b(0x10c)]((0x0,_0x540a4f[_0x46bc2b(0x2ce)])(_0x2db636));});}return _0x59392b;}async['getSheetBlock'](_0x3cdde2,_0x50466a){const _0x3e6fff=_0x33f14e;let {unitID:_0x57d434,type:_0x586cf4,blockID:_0x3c6fd0}=_0x50466a,_0x529cf2=this['_getAPIPrefix']()+'/'+_0x586cf4+'/unit/'+_0x57d434+_0x3e6fff(0x11a)+_0x3c6fd0;return(await this['_httpService'][_0x3e6fff(0x1a5)](_0x529cf2))[_0x3e6fff(0x29f)];}async['getDeserializedSheetBlock'](_0x2bb729,_0x15ee32){const _0x33dcc0=_0x33f14e;let {unitID:_0x4630a9,type:_0x5ca07d,blockID:_0x5667ce}=_0x15ee32,_0x375197=this[_0x33dcc0(0x280)]()+_0x33dcc0(0x11a)+_0x5ca07d+'/unit/'+_0x4630a9+_0x33dcc0(0x11a)+_0x5667ce;return(await this[_0x33dcc0(0x1b1)][_0x33dcc0(0x1a5)](_0x375197))[_0x33dcc0(0x29f)];}async[_0x33f14e(0xea)](_0x460947,_0x2dc1f9){const _0xbe782=_0x33f14e;let {unitID:_0xbd1504,type:_0x4ed046,from:_0x3a5e91,to:_0x228268}=_0x2dc1f9,_0x3572b9=this['_getAPIPrefix']()+'/'+_0x4ed046+_0xbe782(0x10f)+_0xbd1504+_0xbe782(0x1ca)+_0x3a5e91+_0xbe782(0x284)+_0x228268;return(await this[_0xbe782(0x1b1)][_0xbe782(0x1a5)](_0x3572b9))[_0xbe782(0x29f)];}['getSnapshotAPIPath'](){const _0x1fe3aa=_0x33f14e;var _0x52315b;return(_0x52315b=this[_0x1fe3aa(0x333)][_0x1fe3aa(0x328)](_0x1fe3aa(0x133)))==null?this[_0x1fe3aa(0x280)]():_0x52315b;}[_0x33f14e(0x280)](){const _0x279f08=_0x33f14e;var _0x34a89f;let _0x177782=this['_configService'][_0x279f08(0x328)](_0x1cf9ab);return(_0x34a89f=_0x177782==null?void 0x0:_0x177782[_0x279f08(0x17d)])==null?_0x279f08(0x1b8):_0x34a89f;}async['getResourcesRequest'](_0x5275c0,_0x265330){const _0x433aab=_0x33f14e;let _0x4396df=_0x433aab(0x30b)+_0x265330[_0x433aab(0x1aa)]+_0x433aab(0x10f)+_0x265330[_0x433aab(0x37e)]+_0x433aab(0x360);return(await this[_0x433aab(0x1b1)]['get'](_0x4396df,{'params':{'resourceId':JSON[_0x433aab(0x121)](_0x265330[_0x433aab(0x1bc)])}}))[_0x433aab(0x29f)];}[_0x33f14e(0x39b)](){const _0x321541=_0x33f14e;throw Error(_0x321541(0x39d));}[_0x33f14e(0x353)](){const _0x649a62=_0x33f14e;throw Error(_0x649a62(0x39d));}[_0x33f14e(0x314)](){const _0x16bb84=_0x33f14e;throw Error(_0x16bb84(0x39d));}[_0x33f14e(0xc8)](){const _0x412ee8=_0x33f14e;throw Error(_0x412ee8(0x39d));}[_0x33f14e(0x142)](){const _0x19fa8f=_0x33f14e;throw Error(_0x19fa8f(0x39d));}[_0x33f14e(0x1c4)](){const _0x5be01a=_0x33f14e;throw Error(_0x5be01a(0x39d));}};_0x1e5545=_0x47fc4c([_0xf01086(0x0,_0x305d10['IConfigService']),_0xf01086(0x1,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x3c9fd5[_0x33f14e(0x195)]))],_0x1e5545);let _0x15e3f7=class extends _0x305d10['LocalUndoRedoService']{constructor(_0x38b3b3,_0x1bf350,_0x1c892b,_0x2102b2,_0x58b651){super(_0x38b3b3,_0x1bf350,_0x1c892b),this['_transformService']=_0x2102b2,this['_logService']=_0x58b651;}[_0x33f14e(0xf1)](_0x239a59,_0x5d05ea){const _0x53196b=_0x33f14e;let _0x58815f=this[_0x53196b(0x19a)](_0x239a59);if(_0x58815f)try{let _0x4932c3=this[_0x53196b(0x194)](_0x58815f,_0x5d05ea);this[_0x53196b(0xfe)](_0x239a59,_0x4932c3);}catch(_0x2a493f){this[_0x53196b(0x356)][_0x53196b(0x15f)](_0x53196b(0x169),_0x2a493f),this[_0x53196b(0x1ba)](_0x239a59);}let _0x2e9f73=this['_getRedoStack'](_0x239a59);if(_0x2e9f73)try{let _0x348e0e=this[_0x53196b(0x194)](_0x2e9f73,_0x5d05ea);this[_0x53196b(0x1fe)](_0x239a59,_0x348e0e);}catch(_0x4f2302){this['_logService']['error'](_0x4f2302),this[_0x53196b(0x1e4)](_0x239a59);}}[_0x33f14e(0x1ba)](_0x324c21){const _0x245f69=_0x33f14e;let _0x1152cb=this[_0x245f69(0x19a)](_0x324c21);_0x1152cb&&(_0x1152cb[_0x245f69(0x251)]=0x0,this[_0x245f69(0x2a6)]());}[_0x33f14e(0x1e4)](_0x12ec01){const _0x5ad3e4=_0x33f14e;let _0x479218=this[_0x5ad3e4(0xae)](_0x12ec01);_0x479218&&(_0x479218[_0x5ad3e4(0x251)]=0x0,this['_updateStatus']());}[_0x33f14e(0xfe)](_0x1841c7,_0x5408a8){const _0x296419=_0x33f14e;this[_0x296419(0x2bd)][_0x296419(0x269)](_0x1841c7,_0x5408a8),this[_0x296419(0x2a6)]();}[_0x33f14e(0x1fe)](_0x1f060c,_0x3661eb){const _0x1013fd=_0x33f14e;this['_redoStacks'][_0x1013fd(0x269)](_0x1f060c,_0x3661eb),this[_0x1013fd(0x2a6)]();}[_0x33f14e(0x194)](_0x24cbe4,_0x184dc6){const _0xca9fc8=_0x33f14e;let _0x540d23=[],_0x3c739f=_0x184dc6,_0x3b35ac=_0x184dc6;for(let _0x1c72b6=_0x24cbe4[_0xca9fc8(0x251)]-0x1;_0x1c72b6>=0x0;_0x1c72b6--){let {unitID:_0x2d2a38,undoMutations:_0x2850f1,redoMutations:_0x28b70a}=_0x24cbe4[_0x1c72b6],_0xc00b76=this[_0xca9fc8(0x15e)][_0xca9fc8(0x141)](_0x3c739f,_0x2850f1),_0x2552ea=this[_0xca9fc8(0x15e)][_0xca9fc8(0x141)](_0x3b35ac,_0x28b70a);if((0x0,_0x540a4f[_0xca9fc8(0x192)])(_0xc00b76)||(0x0,_0x540a4f[_0xca9fc8(0x192)])(_0x2552ea)){this[_0xca9fc8(0x356)]['error'](_0xca9fc8(0x169),_0xca9fc8(0x139),_0xc00b76,_0x2552ea);break;}_0x3c739f=_0xc00b76[_0xca9fc8(0x2cb)],_0x3b35ac=_0x2552ea[_0xca9fc8(0x2cb)],_0x540d23[_0xca9fc8(0xf8)]({'unitID':_0x2d2a38,'undoMutations':_0xc00b76[_0xca9fc8(0x28c)],'redoMutations':_0x2552ea[_0xca9fc8(0x28c)]});}return _0x540d23[_0xca9fc8(0x289)]();}};_0x15e3f7=_0x47fc4c([_0xf01086(0x0,_0x305d10['IUniverInstanceService']),_0xf01086(0x1,_0x305d10[_0x33f14e(0x213)]),_0xf01086(0x2,_0x305d10[_0x33f14e(0x30d)]),_0xf01086(0x3,_0x540a4f[_0x33f14e(0x257)]),_0xf01086(0x4,_0x305d10['ILogService'])],_0x15e3f7);let _0x36f5ad=class extends _0x305d10[_0x33f14e(0x3bb)]{constructor(_0x455d6b={},_0x52f4d3,_0x37a327,_0x218454){const _0xb9b52b=_0x33f14e;super(),this[_0xb9b52b(0x1af)]=_0x455d6b,this['_logService']=_0x52f4d3,this[_0xb9b52b(0x1c7)]=_0x37a327,this[_0xb9b52b(0x333)]=_0x218454;let {..._0x428045}=(0x0,_0x305d10[_0xb9b52b(0xff)])({},_0x4cbbd4,_0x455d6b);if(!_0x428045[_0xb9b52b(0xd0)])throw Error(_0xb9b52b(0x34e));this['_config']=_0x428045,this[_0xb9b52b(0x333)]['setConfig'](_0x1cf9ab,_0x428045);}[_0x33f14e(0x359)](){const _0xfe01ab=_0x33f14e;this[_0xfe01ab(0x334)](),this['_initDependencies']();}[_0x33f14e(0x334)](){const _0x1c5715=_0x33f14e;var _0x3be1cc,_0x388783;this[_0x1c5715(0x1c7)][_0x1c5715(0x354)](_0x305d10[_0x1c5715(0xe3)])&&this[_0x1c5715(0x356)][_0x1c5715(0x15f)](_0x1c5715(0x34d),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x58e764=(0x0,_0x305d10[_0x1c5715(0x1bb)])([[_0x305d10[_0x1c5715(0xe3)],{'useClass':_0x15e3f7}],[_0x258abc],[_0x497a33],[_0x2c235d],[_0x2ed10f],[_0x13c7f3],[_0x1493d1],[_0xe87828],[_0x23b696],[_0x123c3d],[_0x277be8,{'useClass':this['_config']['socketService']}],[_0x540a4f[_0x1c5715(0x1e9)],{'useClass':_0x1e5545}],[_0x305d10[_0x1c5715(0x369)],{'useClass':_0xc00d62}],[_0x5452c7[_0x1c5715(0x1f1)],{'useClass':_0x357175}],[_0x305d10['IMentionIOService'],{'useClass':_0x422fbe}],[_0x37b5a8],[_0x14ac8f]],(_0x3be1cc=this[_0x1c5715(0x1af)])==null?void 0x0:_0x3be1cc['override']);if(!((_0x388783=this[_0x1c5715(0x1af)])!=null&&_0x388783[_0x1c5715(0x37c)])){let _0x5be32a=_0x58e764[_0x1c5715(0x2d7)](([_0xf2b4d9])=>_0xf2b4d9===_0x4e88b2);_0x5be32a!==-0x1&&_0x58e764[_0x1c5715(0xe5)](_0x5be32a,0x1);}(0x0,_0x305d10[_0x1c5715(0x2e9)])(this[_0x1c5715(0x1c7)],_0x58e764);}[_0x33f14e(0x3ad)](){const _0x3b8be6=_0x33f14e;var _0x4c5e2a,_0x5b11c0;if(this[_0x3b8be6(0x1c7)][_0x3b8be6(0x1a5)](_0x3c9fd5[_0x3b8be6(0x195)])[_0x3b8be6(0x3c4)]({'priority':0x14,'interceptor':(0x0,_0x3c9fd5[_0x3b8be6(0x394)])({'maxParallel':0x6})}),!((_0x4c5e2a=this['_config'])!=null&&_0x4c5e2a['enableOfflineEditing'])){var _0x1d6457;(_0x1d6457=this[_0x3b8be6(0x1c7)][_0x3b8be6(0x1a5)](_0xbd995e,_0x305d10[_0x3b8be6(0x3bf)]['OPTIONAL']))==null||_0x1d6457[_0x3b8be6(0x281)]();}(_0x5b11c0=this[_0x3b8be6(0x1af)])!=null&&_0x5b11c0[_0x3b8be6(0x345)]&&(0x0,_0x305d10[_0x3b8be6(0x218)])(this[_0x3b8be6(0x1c7)],[[_0x2ed10f]]),(0x0,_0x305d10[_0x3b8be6(0x218)])(this['_injector'],[[_0x13c7f3],[_0x37b5a8],[_0xe87828]]);}};_0x816778(_0x36f5ad,_0x33f14e(0x2f4),'UNIVER_COLLABORATION_CLIENT_PLUGIN'),_0x816778(_0x36f5ad,_0x33f14e(0x2c7),_0x53586),_0x816778(_0x36f5ad,_0x33f14e(0xb9),_0x453767),_0x36f5ad=_0x47fc4c([(0x0,_0x305d10[_0x33f14e(0x1ae)])(_0x5f2569[_0x33f14e(0x347)],_0x540a4f[_0x33f14e(0x249)],_0x3c9fd5[_0x33f14e(0x2d5)]),_0xf01086(0x1,_0x305d10[_0x33f14e(0x12e)]),_0xf01086(0x2,(0x0,_0x305d10[_0x33f14e(0x371)])(_0x305d10[_0x33f14e(0x216)])),_0xf01086(0x3,_0x305d10[_0x33f14e(0xfb)])],_0x36f5ad),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x1c0),{'enumerable':!0x0,'get':function(){return _0xc00d62;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x196),{'enumerable':!0x0,'get':function(){return _0x4c5197;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2a7),{'enumerable':!0x0,'get':function(){return _0x1f4a11;}}),_0x17c4ec[_0x33f14e(0x290)]=_0x1cf9ab,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x17b),{'enumerable':!0x0,'get':function(){return _0x37b5a8;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x33c),{'enumerable':!0x0,'get':function(){return _0x5f0326;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x25c),{'enumerable':!0x0,'get':function(){return _0x357175;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x1be),{'enumerable':!0x0,'get':function(){return _0x459c7b;}}),Object['defineProperty'](_0x17c4ec,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x258abc;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x1f3),{'enumerable':!0x0,'get':function(){return _0x4d4d25;}}),_0x17c4ec['CollaborationStatus']=_0x46a1e9,_0x17c4ec[_0x33f14e(0x3c2)]=_0x29ff30,_0x17c4ec['CollaborationUIEventService']=_0x23b696,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x14c),{'enumerable':!0x0,'get':function(){return _0x15e3f7;}}),_0x17c4ec['CommentService']=_0x1493d1,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2f2),{'enumerable':!0x0,'get':function(){return _0x50a112;}}),_0x17c4ec[_0x33f14e(0xb2)]=_0x3919fe,_0x17c4ec[_0x33f14e(0x1d2)]=_0x33f14e(0x31f),_0x17c4ec['DEFAULT_WS_SESSION_TICKET_URL']='/universer-api/user/session-ticket',Object['defineProperty'](_0x17c4ec,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x123c3d;}}),Object[_0x33f14e(0x267)](_0x17c4ec,'DocCollaborationEntity',{'enumerable':!0x0,'get':function(){return _0x467d36;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x30e),{'enumerable':!0x0,'get':function(){return _0x69d917;}}),_0x17c4ec[_0x33f14e(0xcd)]=_0x33f14e(0xaf),_0x17c4ec[_0x33f14e(0x3a5)]=_0x33f14e(0x1dd),_0x17c4ec['ICollaborationSocketService']=_0x277be8,_0x17c4ec[_0x33f14e(0x1a2)]=_0xbd995e,_0x17c4ec[_0x33f14e(0x238)]=_0x515a5c,_0x17c4ec[_0x33f14e(0x2dc)]=_0x4e88b2,_0x17c4ec[_0x33f14e(0x1f6)]=0x3e8,_0x17c4ec[_0x33f14e(0x3b6)]=_0x33f14e(0x1f6),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x19f),{'enumerable':!0x0,'get':function(){return _0x497a33;}}),Object['defineProperty'](_0x17c4ec,'MentionIoHttpService',{'enumerable':!0x0,'get':function(){return _0x422fbe;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x246),{'enumerable':!0x0,'get':function(){return _0x18cfb2;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x1b4),{'enumerable':!0x0,'get':function(){return _0x40e466;}}),_0x17c4ec['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x17c4ec[_0x33f14e(0x1db)]=_0x33f14e(0x2af),_0x17c4ec[_0x33f14e(0x170)]=_0x475efd,Object['defineProperty'](_0x17c4ec,_0x33f14e(0x355),{'enumerable':!0x0,'get':function(){return _0x3c0dc6;}}),Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x2ee),{'enumerable':!0x0,'get':function(){return _0x2c235d;}}),Object['defineProperty'](_0x17c4ec,_0x33f14e(0x16a),{'enumerable':!0x0,'get':function(){return _0x1e5545;}}),Object[_0x33f14e(0x267)](_0x17c4ec,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x3f62b4;}}),_0x17c4ec[_0x33f14e(0x25d)]=_0x3dfa36,Object[_0x33f14e(0x267)](_0x17c4ec,_0x33f14e(0x18c),{'enumerable':!0x0,'get':function(){return _0x36f5ad;}}),_0x17c4ec[_0x33f14e(0x178)]=_0x1ab073,_0x17c4ec[_0x33f14e(0x3b3)]=_0x3da7c3,_0x17c4ec[_0x33f14e(0x23b)]=_0x2d2ccc;}));function _0x1555(_0x3f1340,_0x3b605f){_0x3f1340=_0x3f1340-0xad;const _0x15e60a=_0x15e6();let _0x155593=_0x15e60a[_0x3f1340];return _0x155593;}function _0x15e6(){const _0x2632fa=['/resources','code','error$','status$','subject','22DvnYpF','dispose','getSnapshotAPIPath','session.room-full','IAuthzIoService','&assign=','_getDownloadEndpointURL','4003310weEBtc','parse','_getLoginPath','?size=','CHANGESET_SHOULD_RETRY','Inject','CmdRspCode','listCollaborators','UnitEmbedded','closeSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','4155532fmTslF','updatePermissionPoint','getUnit','SOCKET_FAILED_RETRY','readyForCollab','enableSingleActiveInstanceLock','_removeRoom','unitID','localeService','_startCollaboration','InsertSheetMutation','some','_socket','/universer-api/authz','univer-pro.collaboration-client.single-active-unit-service','originalMeta','slice','resolve','save\x20fail\x20reason\x20is\x20','cmd','LIVESHARE_TERMINATE','CollaborationEvent','unsubscribe','_userManagerService','getUnitStatus$','_initRequestHeader','LIVESHARE_NEW_HOST','removeMember','decorate','ThresholdInterceptorFactory','onTransformRemoteChangesetByStateCache','crypto.getRandomValues\x20must\x20be\x20defined','_onRemoteRejected','_telemetryService','PERMISSION_DENIED','_isPermissionRej','saveSnapshot','sid','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_lockTransition','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','[OfflineState]:\x20received\x20changeset.','objectActions','_initMergeInterceptor','333MmaRHw','POST','HEARTBEAT_TIMEOUT_KEY','getCollabEntity$','_collaborationTimeoutTimer','send','getValue','unitId\x20is\x20not\x20found','_onConnectionOpen','FileId','_initDependencies','_getSendChangesetTimeout','pending','parseProtocolChangeset','sessionStatus$','uuidv4','getLocalCacheKey','_clearHeartbeatTimer','UserManagerService','LOCAL_CACHE_INTERVAL_KEY','_incrementRevisionNumber','_transitionLocked','_onRemoteACK','ImageUploadStatusType','Plugin','authzUrl','isPermissionRej','transformChangesets','Quantity','toStringTag','params','CollaborationUIEventId','UniverProCollaboration','registerHTTPInterceptor','deleteCollaborator','_socketReady','newCsEvent','_getRedoStack','HEARTBEAT_INTERVAL','/universer-api/comb','_sheetTransformSelectionsService','DEFAULT_COLLAB_WEB_SOCKET_URL','toggleOffline','entries','_cfgEnableObjInherit','_candidateSocket','_onMessage','CombCmd','version','getUnitOnRev','patch','onStateChange','AWAITING_WITH_PENDING','editing\x20status\x20changed\x20to','_changesetSessionId','delete','9888624IxJtDi',',\x20got\x20','tagLength','onRemoteAck','getTypeOfUnitAdded$','_transformStateCache','fetching\x20missing\x20changesets\x20from\x20','saveChangeset','_snapshotService','MUTATION','leaveEvent','toDisposable','HEARTBEAT_INTERVAL_KEY','replace','OTHER_CLIENTS_EDITING','socketService','rxjs/operators','encrypt','_shouldReportTelemetry','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onMissedChangesetFetched','onMissingChangesets','key','createSocket','_members$','@univerjs/drawing','_disableEditing','output','[PendingState]:\x20received\x20rejection.','addHandlerCallback','call','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','size','firstValueFrom','IUndoRedoService','close','splice','awaiting','prototype','RichTextEditingMutation','fetch_missing','fetchMissingChangesets','&source=','_sessionStatus$','\x20to\x20','_acknowledgeAwaiting','WorkbookEditablePermission','DRAWING_IMAGE_ALLOW_IMAGE_LIST','transformUndoRedo','href','method','CompressMutationService','mapDocumentTypeToUniverInstanceType','submit\x20changeset\x20error!','_memberService','push','onLocalMutation','find','IConfigService','default','_retryConnectingTimer','_substituteUndoStack','merge','_onConnectionFailed','/object/','@univerjs-pro/collaboration-client','_sendHeartbeat','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ERROR_IMAGE','\x22output\x22\x20expected\x20Uint8Array\x20of\x20length\x20','commentUpdateEvent','Wrong\x20sbox\x20length','complete','updateMember','_getUploadFileURL','encode','_changesetReqId','changesets','/unit/','_awaitingChangeset','[SyncedState]:\x20received\x20acknowledgement.','objects','_instanceService','toPrimitive','Workbook','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_submitChangeset','emitEvent','_socketMessageSubscription','/block/','cannot\x20encrypt()\x20twice\x20with\x20same\x20key\x20+\x20nonce','_getAPIPrefixPath','startsWith','every','now','_resendTimeout','stringify','_createHandler','rev','waitForRoom$','duration','SheetPermissionInitController','reduce','/role','_tryReconnect','updateOfflineData','_socket$','update','Tools','ILogService','getRoom','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','createIdentifier','fetchMiss','SNAPSHOT_URL_KEY','_exhaustRemoteChangesetQueue','_initCloseConn','_replaceFileID','string','8526168AKIcci','transformStack\x20failed!','_clearCollaborationTimeoutTimer','addImageSourceCache','loadUnitOfRevision','[CollaborationSessionService]','isTransformChangesetsSuccess','getGlobalObject','append','transformMutationsWithChangeset','copyFileMeta','aes-(cbc/ecb).decrypt\x20ciphertext\x20should\x20consist\x20of\x20blocks\x20with\x20size\x2016','headers','IPermissionService','MentionType','1896aFnxSu','@univerjs-pro/collaboration','symbol','stopTime','People','CollaborativeUndoRedoService','responseType','_pendingMutations','_unitInfo$','resend','_roomMembers','onSendChangeset','LIVESHARE_OPERATION','permissionRejEvent','members','indexOf','_onFetchMissResult','_onRecvEvent','onRemoteRej','RxDisposable','getCurrentRevOfUnit','_HTTPService','offline','_transformService','error','SUBMIT_CHANGESET_TIMEOUT','updatePermissionObjEvent','OTHER_CLIENT_EDITING','PSEUDO_FETCH_MISSING_RESULT','CHANGESET_REJ','actions','awaitingChangeset','focused$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationUndoRedoService]','SnapshotServerOverHTTPService','_executeRemoteChangeset','[PendingState]:\x20unhandled\x20univer\x20type:\x20','title','onlyLocal','textRanges','SessionStatus','socket\x20open.','asObservable','getMemberID','getUnitType','isArray','_onRemoteRetry','_event$','deserializeToCombResponse','_localCacheService','_eventService','CollaborationController','COMPRESS_MUTATION_APPLY','snapshotServerUrl','_collaborationUIEventService','ERROR_IMAGE_TYPE','subarray','then','conflict','byteOffset','_state','ImageSourceType','selections','_transformIMECache','unit-cache-','getOwnPropertyDescriptor','disablePadding','_change$','UniverCollaborationClientPlugin','_onCombEvent','cfgEnableObjInherit','getTime','AWAITING','@univerjs-pro/license','isTransformMutationsWithChangesetFailure','resolveWithBasePath','_transformStack','HTTPService','AwaitingState','open$','\x20in\x20_schedule.','isTransformMutationsWithChangesetSuccess','_getUndoStack','ISocketService','deepClone','rxjs','textEncoder','MemberService','UUID','_waitCount','ILocalCacheService','confirm','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','get','_resendTimer','encodeURIComponent','state$','file','type','aec/(cbc-ecb):\x20unpadded\x20plaintext\x20with\x20disabled\x20padding','baseRev','_onLocalMutation','DependentOn','_config','event$','_httpService','executeCommand','_scheduleCompleteTimestamp','PendingState','result','\x22ciphertext\x22\x20expected\x20length\x20bigger\x20than\x20tagLength=','function','/universer-api/snapshot','roles','_clearUndo','mergeOverrideWithDependencies','resourceIDs','sort','CollaborationSession','JOIN_ROOM_FULL','AuthzIoHttpService','/universer-api/file/{fileID}/sign-url','Disposable','includes','getLatestCsReqIdBySid','_startTelemetryCollaborationNewChangeset','UniverInstanceType','_injector','_handler','[CollaborationSessionService]:\x20socket\x20error','/fetchmissing?from=','socket\x20close','PENDING','action','signUrlServerUrl','/rev/','sessionStatus','failed\x20to\x20apply\x20missed\x20changesets!','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','{fileID}','getCollabEntity','withCredentials','_schedule','MSG_FOR_ERROR','_collaborationPaused','varSizeNonce','nonceLength','RETRY_CONNECTING_MAX_COUNT_KEY','ITelemetryService','HEARTBEAT_TIMEOUT','collaboration-client.auth.needGotoLoginAlert','take','create','NOT_COLLAB','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','list','_clearRedo','_rescheduleHeartbeat','SUBMIT_CHANGESET','getUnitId','reqId','ISnapshotServerService','_acknowledgedAwaitingRevision','PERSON','_remoteChangesetQueue','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','requireSession','_entityInit$','snapshot','IImageIoService','[CollaborationState]:\x20apply\x20error!','CollaborationSocketService','liveShareOperation','takeUntil','LOCAL_CACHE_INTERVAL','_commandService','editingUnit','startTime','FileSource','connection\x20error','forEach','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_substituteRedoStack','_emitMembers','clear','GLOBAL_ROOMS_CNT_EXCEEDS','_timeoutTimer','_getCurrentRevision','state','_init','_createInitialStateImpl','5383noMtrN','concatMap','_checkMissing','session','disposeWithMe','onMutationExecutedForCollab','IUniverInstanceService','add','crypto','session.room-cnt-exceeds','_decreaseWaiting','@univerjs/core','ICommandService','getCurrentSelections','UniverSheets','Injector','onRemoteChangeset','touchDependencies','_networkConditionService','__splitChunk__','byteLength','getMember','[DataLoaderService]','buffer','getRandomValues','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','appendMutation','\x20-\x20','/universer-api/stream/file/upload','_unitID','CONFLICT','location','shouldCloseConn','FETCH_MISSING','session.room-permission-denied','UNIVER_SHEET','c2Prime','reject','Error\x20on\x20receiving\x20event','uniscriptRunEvent','ONLINE','_commentUpdate$','liveShareNewHost','equals','_telemetryInfo','_isEchoedAwaitingChangeset','Optional','onCommentUpdate','SOCKET_FAILED','INetworkConditionService','_handlerCallback','UPDATE_CURSOR','serializeCombRequest','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','data','unknown','INGEST','amd','name','number','[CollaborationSession]','CommandType','_initUnitPermissionChange','OfflineState','_state$','Univer','UniverCollaborationPlugin','_singleActiveUnitService','MergeInterceptorFactory','CHANGESET_ACK','Module','collabWebSocketUrl','onRemoteRetry','_listenToNetworkCondition','length','saveImage','isSafeInteger','number\x20expected,\x20got\x20','synced','_maxTotalRetryTimeout','ITransformService','_entities','JOIN_ROOM_FAILED','putCollaborators','[OfflineState]:\x20received\x20acknowledgement.','CollaborationImageIoService','UnitStatus','UniverDocs','close$','message$','CLOSE_ROOM','csAckEvent','isView','aes/pkcs7:\x20empty\x20ciphertext\x20not\x20allowed','unit','OFFLINE','defineProperty','fromCharCode','set','_onOffline','requestParams','collaborators','dispose$','UNIVER_DOC','_collabSessionService','UniverProLicense','_sessions','UPDATE_PERMISSION_OBJ','parseChangesetToProtocol','BASE64','_acknowledgeAwaitingIfReady','min','memberID','_retryCount','DEFAULT_FILE_NAME','target','workbook','batchAllowed','[FetchMissState]','_permissionService','onSyncEditingCollabCursor','_getAPIPrefix','disableLocalCache','operators','_createSocket','&to=','USERS_ENTER','_resendWithTimeout','getAllMembers','BehaviorSubject','reverse','readAsDataURL','_scheduleCollaborationTimeoutTimer','m2Prime','_revisionService','collaMsg','_onJoinRoomEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','COMMENT_UPDATE','/universer-api/oidc/authpage','x-univer-host','reconnect','updateCursorEvent','AAD','cipher\x20output\x20not\x20supported','loadOfflineData','onTransformRemoteChangesetByIMECache','assign','@univerjs/telemetry','SUCCUSS','BYTES_PER_ELEMENT','_showConflictNotification','body','invalid\x20output,\x20must\x20be\x20aligned','complex\x20overlap\x20of\x20input\x20and\x20output\x20is\x20not\x20supported','COMPRESS_MUTATION_SEND','_applyRemoteChangeset','RevisionService','_onRemoteChangeset','_updateStatus','AwaitingWithPendingState','getFocusedUnit','pipe','pauseCollaboration','_clearScheduledTask','_compressMutationService','/allowed','csRejEvent','RETRY_CONNECTING_MAX_COUNT','post','JOIN','fromCollab','_imageSourceCache','eventID','/-/object/-/batch_allowed','_transformRemoteChangesetByIMECache','getTypeOfUnitDisposed$','_undoRedoService','186340sALHrH','collaboration-client.config','_sendingTimer','_tryEnsureSocket','_undoStacks','Subject','routeKey','_doCreateSocket','onTransformSelections','ErrorCode','subUnitId','692102rHGWmG','collaboration-client.local-cache-service','listRoles','packageName','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','aes/pkcs7:\x20wrong\x20padding','_joinRoom','c1Prime','getWorkbookSelections','getCurrentUser','b64DecodeUnicode','_handleRemoteChangesets','_collaborationSessionService','revision','onload','object','setCfgEnableObjInherit','UniverNetworkPlugin','_transformUndoredo','findIndex','loadSheet','positive\x20integer\x20expected,\x20got\x20','_onUserLeave','decrypt','ISingleActiveUnitService','url','shareReplay','collaboration_new_changeset','_sendHeartbeatTimer','missingChangesets','interceptor','_toggleOffline','_syncEditingCollabCursor','_members','transformSelections','toString','LEAVE','registerDependencies','toggleOnline','LIVESHARE_REQUEST_HOST','3svHPGS','from','SheetTransformSelectionsService','_socketService','onTransformState','floor','ConflictState','HELLO','pluginName','[CollaborationEntity]','telemetry\x20info\x20is\x20not\x20initialized','updateCollaborator','RECV','JOIN_ROOM_PERMISSION_DENIED','objectID','status','unitInfo$','_fetchMissChangesets','@univerjs/network','_sender','next','_replayCachedMutations','localCacheService','_roomCreated$','loginUrlKey','subscribe','filter','_clearLocalCache','JSONX','getSheetId','NEW_CHANGESETS','/universer-api/snapshot/','_updateState','IContextService','FetchingMissState','SetSelectionsOperation','_stopTelemetryCollaborationNewChangeset','nonce','/collaborator','HEARTBEAT','saveSheetBlock','awaiting_with_pending','mutations','userID','_status$','_queuedRemoteChangesets','debug','EmptyMutationInfo','_getCtorByUniverInstanceType','commentUpdate$','getInterceptPoints','/universer-api/uniscript','string\x20expected','loadUnit','fetchThroughInterceptors','_getSignURL','_onUserJoin','_transformRemoteChangesetByStateCache','_clearTimeoutTimer','joinRsp','getConfig','avatar','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_clearRetryConnectingTimer','_snapshotServerService','setShowComponents','init','createInstance','_unlockTransition','hostname','2lnSXlf','_configService','_registerDependencies','_updateLocalCache','getDrawingImageAllowSize','isInternalEditorID','capture','ERROR_EXCEED_SIZE','\x0aCurrent:\x20','LIVESHARE_FETCH_OPERATIONS','CollaborationEntity','roomInfos','uploadFileServerUrl','delay','DisposableCollection','USERS_LEAVE','_transformAndApplyRemoteChangeset','UNISCRIPT_RUN','PERMISSION_REJ','enableAuthServer','_transformSelections','UniverLicensePlugin','map','iterator','_type','_createInitialState','NO_OTHER_CLIENTS_EDITING','[UniverCollaborationClientPlugin]','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','unitId','objectType','[FetchingMissState]:\x20received\x20stale\x20ack\x20revision:\x20','collabSubmitChangesetUrl','updateSnapshot','has','SheetCollaborationEntity','_logService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onConflict','onStarting','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_univerInstanceService','UniverCore','_localeService','/new_changes','LocaleService'];_0x15e6=function(){return _0x2632fa;};return _0x15e6();}
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x4f16(){const _0x29acf8=['subscribe','status','FUniver','@univerjs/core/facade','DataLoaderService','switchMap','loadUnit','defineProperty','325794JvYJue','toStringTag','values','state','toDisposable','fireEvent','FEnum','get','1070DDCmXa','getUnitId','FEventName','getUniverSheet','@univerjs/core','getOwnPropertyDescriptor','1068KZzCay','CollaborationStatusChanged','waitForRoom$','NOT_COLLAB','_snapshotService','60950nFpDsF','readyForCollab','CollaborationStatus','UniverCore','CollaborationController','loadActiveSheetAsync','MemberService','Event','amd','94208kHjwrE','UniverProCollaboration','subscribeCollaborators','412344huXKZH','_handler','@univerjs-pro/collaboration-client','extend','16qknCHf','17435sMSzOf','object','loadServerUnitOfRevision','loadActiveSheet','2685ODKUVJ','add','FBase','getCollabEntity','28fXpNqk','from','function','_univerInstanceService','getFocusedUnit','createInstance','UniverCoreFacade','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','_injector','entityInit$','rxjs','Inject','UniverProCollaborationClient','_collaborationController','loadSheetAsync','pipe','FCollaboration','disposeWithMe','IUniverInstanceService','status$','623331demgjY','registerEventHandler'];_0x4f16=function(){return _0x29acf8;};return _0x4f16();}function _0x2ed8(_0x3fbedd,_0x240bf){_0x3fbedd=_0x3fbedd-0x13b;const _0x4f169a=_0x4f16();let _0x2ed8a6=_0x4f169a[_0x3fbedd];return _0x2ed8a6;}(function(_0x4ea820,_0x3b7886){const _0x2c0583=_0x2ed8,_0x3ca6e2=_0x4ea820();while(!![]){try{const _0x11c233=-parseInt(_0x2c0583(0x140))/0x1+-parseInt(_0x2c0583(0x181))/0x2+-parseInt(_0x2c0583(0x143))/0x3+parseInt(_0x2c0583(0x17c))/0x4*(-parseInt(_0x2c0583(0x14c))/0x5)+parseInt(_0x2c0583(0x16e))/0x6*(parseInt(_0x2c0583(0x150))/0x7)+-parseInt(_0x2c0583(0x147))/0x8*(-parseInt(_0x2c0583(0x164))/0x9)+-parseInt(_0x2c0583(0x176))/0xa*(-parseInt(_0x2c0583(0x148))/0xb);if(_0x11c233===_0x3b7886)break;else _0x3ca6e2['push'](_0x3ca6e2['shift']());}catch(_0x2007a0){_0x3ca6e2['push'](_0x3ca6e2['shift']());}}}(_0x4f16,0x1d3f7),function(_0x3ba047,_0x5c5b1a){const _0xc2a6b8=_0x2ed8;typeof exports==_0xc2a6b8(0x149)&&typeof module<'u'?_0x5c5b1a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0xc2a6b8(0x152)&&define[_0xc2a6b8(0x13f)]?define(['exports',_0xc2a6b8(0x145),_0xc2a6b8(0x169),_0xc2a6b8(0x17a),'@univerjs-pro/collaboration',_0xc2a6b8(0x15a)],_0x5c5b1a):(_0x3ba047=typeof globalThis<'u'?globalThis:_0x3ba047||self,_0x5c5b1a(_0x3ba047['UniverProCollaborationClientFacade']={},_0x3ba047[_0xc2a6b8(0x15c)],_0x3ba047[_0xc2a6b8(0x156)],_0x3ba047[_0xc2a6b8(0x184)],_0x3ba047[_0xc2a6b8(0x141)],_0x3ba047[_0xc2a6b8(0x15a)]));}(this,function(_0x42c08a,_0x38453c,_0x3f5874,_0x49ed18,_0x2ca723,_0x5b2425){const _0x524525=_0x2ed8;Object['defineProperty'](_0x42c08a,Symbol[_0x524525(0x16f)],{'value':'Module'});var _0x14f7a4=class extends _0x3f5874[_0x524525(0x174)]{get[_0x524525(0x183)](){const _0x82585b=_0x524525;return _0x38453c[_0x82585b(0x183)];}};_0x3f5874[_0x524525(0x174)]['extend'](_0x14f7a4);var _0x20f11a=class extends _0x3f5874['FEventName']{get[_0x524525(0x17d)](){const _0x15d362=_0x524525;return _0x15d362(0x17d);}};_0x3f5874[_0x524525(0x178)][_0x524525(0x146)](_0x20f11a);function _0x44aa76(_0x4856d3,_0x5d5d4f){return function(_0x55ffff,_0x3cef31){_0x5d5d4f(_0x55ffff,_0x3cef31,_0x4856d3);};}function _0xae4797(_0x32b7b5,_0x2c320d,_0x462cd8,_0x4ac79c){const _0x1cd8b2=_0x524525;var _0xb2efa1=arguments['length'],_0x5ce362=_0xb2efa1<0x3?_0x2c320d:_0x4ac79c===null?_0x4ac79c=Object[_0x1cd8b2(0x17b)](_0x2c320d,_0x462cd8):_0x4ac79c,_0xe3d0cb;if(typeof Reflect==_0x1cd8b2(0x149)&&typeof Reflect['decorate']=='function')_0x5ce362=Reflect['decorate'](_0x32b7b5,_0x2c320d,_0x462cd8,_0x4ac79c);else{for(var _0x544419=_0x32b7b5['length']-0x1;_0x544419>=0x0;_0x544419--)(_0xe3d0cb=_0x32b7b5[_0x544419])&&(_0x5ce362=(_0xb2efa1<0x3?_0xe3d0cb(_0x5ce362):_0xb2efa1>0x3?_0xe3d0cb(_0x2c320d,_0x462cd8,_0x5ce362):_0xe3d0cb(_0x2c320d,_0x462cd8))||_0x5ce362);}return _0xb2efa1>0x3&&_0x5ce362&&Object[_0x1cd8b2(0x16d)](_0x2c320d,_0x462cd8,_0x5ce362),_0x5ce362;}let _0x1c820e=class extends _0x3f5874[_0x524525(0x14e)]{constructor(_0x127b57,_0x49b281,_0x20650f,_0x41fd07,_0x4f403a){const _0x2867d9=_0x524525;super(),this[_0x2867d9(0x144)]=_0x127b57,this[_0x2867d9(0x158)]=_0x49b281,this[_0x2867d9(0x153)]=_0x20650f,this['_snapshotService']=_0x41fd07,this[_0x2867d9(0x15d)]=_0x4f403a;}async[_0x524525(0x14b)](){const _0x4ed2e3=_0x524525;return this[_0x4ed2e3(0x13c)]();}async[_0x524525(0x13c)](){const _0xe7c737=_0x524525;throw Error(_0xe7c737(0x157));}async['loadSheet'](_0x379904){const _0x59aaf0=_0x524525;return this[_0x59aaf0(0x15e)](_0x379904);}async['loadSheetAsync'](_0x58bbad,_0x31799a){const _0x58cae0=_0x524525;return await this[_0x58cae0(0x180)]['loadSheet'](_0x58bbad,0x0,_0x31799a)?(await this[_0x58cae0(0x15d)][_0x58cae0(0x182)](_0x58bbad),this[_0x58cae0(0x144)]['getUniverSheet'](_0x58bbad)):null;}[_0x524525(0x142)](_0x19b9ba,_0x5961f8){const _0x17f850=_0x524525;return(0x0,_0x49ed18[_0x17f850(0x172)])(this[_0x17f850(0x158)][_0x17f850(0x175)](_0x38453c[_0x17f850(0x13d)])[_0x17f850(0x17e)](_0x19b9ba)[_0x17f850(0x15f)]((0x0,_0x5b2425[_0x17f850(0x16b)])(_0x7223b7=>_0x7223b7['members$']))['subscribe'](_0x337cfb=>_0x5961f8(Array[_0x17f850(0x151)](_0x337cfb[_0x17f850(0x170)]()))));}['getCollaborationStatus'](_0x5e823e){const _0x5b8782=_0x524525;var _0x3dcf85;let _0x2c8c6d;if(_0x5e823e)_0x2c8c6d=_0x5e823e;else{let _0x1215d7=this['_univerInstanceService'][_0x5b8782(0x154)]();_0x2c8c6d=_0x1215d7==null?void 0x0:_0x1215d7[_0x5b8782(0x177)]();}if(!_0x2c8c6d)return _0x38453c['CollaborationStatus'][_0x5b8782(0x17f)];let _0xd1b217=this['_collaborationController'][_0x5b8782(0x14f)](_0x2c8c6d);return(_0x3dcf85=_0xd1b217==null?void 0x0:_0xd1b217[_0x5b8782(0x171)][_0x5b8782(0x167)])==null?_0x38453c['CollaborationStatus'][_0x5b8782(0x17f)]:_0x3dcf85;}};_0x1c820e=_0xae4797([_0x44aa76(0x1,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x49ed18['Injector'])),_0x44aa76(0x2,_0x49ed18[_0x524525(0x162)]),_0x44aa76(0x3,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x2ca723['SnapshotService'])),_0x44aa76(0x4,(0x0,_0x49ed18[_0x524525(0x15b)])(_0x38453c[_0x524525(0x13b)]))],_0x1c820e);var _0x243ed0=class extends _0x3f5874[_0x524525(0x168)]{['_initialize'](_0x12f827){const _0x5d11db=_0x524525;let _0x306700=_0x12f827['get'](_0x38453c[_0x5d11db(0x13b)]);this[_0x5d11db(0x161)](this[_0x5d11db(0x165)](this['Event'][_0x5d11db(0x17d)],()=>{const _0x3fa8eb=_0x5d11db;let _0xcedb33=new _0x49ed18['DisposableCollection'](),_0x6343d6=_0x306700[_0x3fa8eb(0x159)][_0x3fa8eb(0x166)](_0x2ce3ed=>{const _0x109296=_0x3fa8eb;let _0x4628d1=_0x2ce3ed[_0x109296(0x163)][_0x109296(0x166)](_0x6b54db=>{const _0x24b04c=_0x109296;let _0x4784cb={'unitId':_0x2ce3ed['unitID'],'status':_0x6b54db};this[_0x24b04c(0x173)](this[_0x24b04c(0x13e)]['CollaborationStatusChanged'],_0x4784cb);});_0xcedb33['add']((0x0,_0x49ed18[_0x109296(0x172)])(_0x4628d1));});return _0xcedb33[_0x3fa8eb(0x14d)]((0x0,_0x49ed18[_0x3fa8eb(0x172)])(_0x6343d6)),_0xcedb33;}));}['getCollaboration'](){const _0x31557e=_0x524525;return this['_injector'][_0x31557e(0x155)](_0x1c820e,{'getUniverSheet':_0x1ef89d=>this[_0x31557e(0x179)](_0x1ef89d)});}['loadServerUnit'](_0x56e962,_0xaadb01,_0xf24483){const _0x43e9f4=_0x524525;return this[_0x43e9f4(0x158)]['get'](_0x38453c[_0x43e9f4(0x16a)])[_0x43e9f4(0x16c)](_0x56e962,_0xaadb01,_0xf24483);}[_0x524525(0x14a)](_0x43ae30,_0x1c15ad,_0x54dbb5){const _0x4065b8=_0x524525;return this[_0x4065b8(0x158)][_0x4065b8(0x175)](_0x38453c[_0x4065b8(0x16a)])['loadUnitOfRevision'](_0x43ae30,_0x1c15ad,_0x54dbb5);}};_0x3f5874['FUniver'][_0x524525(0x146)](_0x243ed0),Object['defineProperty'](_0x42c08a,_0x524525(0x160),{'enumerable':!0x0,'get':function(){return _0x1c820e;}});}));
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
function _0x3284(_0x1d7484,_0x591fe3){_0x1d7484=_0x1d7484-0x15d;const _0x159e08=_0x159e();let _0x328493=_0x159e08[_0x1d7484];return _0x328493;}function _0x159e(){const _0x4a8e3e=['runOnServer','_refreshCollabCursors','clearTimeout','_draw','_registerRenderDependencies','75148ZxrXbP','React','registerBeforeClose','operators','DocSelectionManagerService','next','collab-text-anchor-','serializeRangeWithSheet','bottom','_blinkTimer','distinctUntilChanged','_localeService','/run/','univerjs-icon\x20univerjs-icon-','_scene','startRow','toString','colorChannel1','InsertColCommandId','map','_initUnhandledRejectionListener','amd','Enter','VIEW_MAIN','collaboration-client-ui.collabStatus.offline','_univerInstanceService','ISnapshotServerService','_drawAnchor','handleMoveRange','getMemberID','CommandType','SheetCollabCursorShape','isFormulaString','loading-multi-icon','collaboration-client-ui.permission.content','_disabled','SheetSkeletonManagerService','UniverCollaborationClientPlugin','trim','USERS_LEAVE','MessageType','_onCursorDelete','parseInt','_beforeCloseService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','collaboration-client-ui.session.will-retry','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','Success','_removeCollabCursors','_initDependencies','getCellPositionByOffset','_setupBeforeClosingHandler','slice','roomMembers$','round','_showText','CONFLICT','join','clipPath','collaboration-client-ui.collabStatus.conflict','href','_commandService','SYNCED','UniverProCollaborationClient','_clearOtherTimers','_context','FETCH_MISS','_transformService','_lastPointer','isFormulaId','now','_backgroundColor','_logService','collaboration-client-ui.config','getOwnPropertyDescriptor','Injector','assign','collabCursorState$','univer-text-red-500','getCollabCursors$','_startDocCollabCursor','OFFLINE','body','subUnitId','_name','EffectRefRangId','onTransformChange$','includes','Workbook','isActive','_renderManagerService','SetDocZoomRatioOperation','_range','24ylbOrq','UnitStatus','maxFormulaLimit','key','_collabSessionService','decorate','_uiPartsService','beginPath','UniverCollaborationClientUIPlugin','_docTransformStateCacheService','collaboration-client-ui.session.collaboration-timeout','cursorInfo','setActiveRange','mask','collaboration-client-ui.collaboration.single-unit.warning','event$','generateRandomId','getTypeOfUnitAdded$','ThemeService','getCurrentUnitOfType','defineProperty','getStateCache','_syncEditingCollabCursorService','attrs','getOffsetConfig','undoState','status$','_checkCalculationAvailable','unitID','Tools','getActiveSheet','_colorIndex','xlink:href','collaboration-client-ui.collabClient.tooltip.reconnect','svg','collab-text-range-','handleInsertRow','transformRemoteChangeset','_hideTimer','evenodd','TEXT_RANGE_LAYER_INDEX','univer-inline-flex\x20univer-items-center\x20univer-justify-center','univer-border-none\x20univer-bg-transparent','_pointerMoveDisposable','_themeService','UniverSheetsUi','assignAColorForMemberID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DocIMEInputManagerService','constructor','univer-text-gray-400','backgroundColor','url(#$1','_unitStatus','8861340fiePuv','transformIMECache','mutations','transformSelections','subscribeEvent','12oARdqh','i18nKey','@univerjs/protocol','RemoveColCommandId','514467zcKHUM','ISocketService','_currentUsage','useRef','rxjs/operators','_updateSubUnitFromURLParams','activeSheet$','get','unit','registerComponent','_pollingInterval','_toggleOffline','CanceledError','setParam','univer-text-orange-500','m2Prime','RemoteUniscriptService','lineTo','@univerjs/sheets-ui','RegularPolygon','length','_saveCache','_color','clsx','transformStateCache','onCommandExecuted','SetSelectionsOperation','handleInsertCol','\x20-\x20','_imageIoService','hovered','currentSkeleton$','_maxFormulaLimit','_colorAssignService','_highlightSecond','_entities','getRenderById','sheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','createElement','RxDisposable','_transformPreviousActiveRange','RECT','IConfigService','_revisionService','updateOfflineData','IImageIoService','_monkeyPatchLogService','params','override','idSuffix','debounce','reconnect','_lastResponseTimestamp','BehaviorSubject','max','startsWith','fill','collaboration-client-ui.collabStatus.notCollab','@univerjs/sheets','_registerDependencies','_handleHeartbeatEvent','catch','focused$','collaboration-client-ui.session.connection-failed','_getSaveTimeout','saveOfflineData','_init','createInstance','error','addClipboardHook','InsertRangeMoveRightCommandId','getRelativeToViewportCoord','_collaborationUIEventService','getSheetId','CollaborationSocketService','pipe','restore','_hasFormulaInDirtyRanges','setAlpha','getTypeOfUnitDisposed$','Plugin','onPointerMove$','onPointerLeave$','_docSyncEditingCollabCursorService','_localCacheService','toRgbString','_notificationService','OffLineIcon','red.300','toStringTag','_handleHover','rgba(255,\x20255,\x20255,\x200.01)','ErrorCode','onLocalMutation','UniverInstanceType','FromArray','_memberID','_handleEvent','use','WebBrowserSingleActiveUnitService','ACTIVE_UNIT_EVENT_CHANNEL','removeEventListener','InsertRangeMoveDownCommandId','releaseFormulaLimitUrl','_updateLocalCursor','_unitOnClients','getAncestorScale','UniverProtocol','default','RichTextEditingMutation','MUTATION','@univerjs-pro/collaboration-client-ui','all','clearInterval','preventDefault','1em','collaboration-client-ui.collabStatus.fetchMiss','current','flatMap','size','values','doc.mutation.rich-text-editing','BuiltInUIPart','univer-appearance-none','univer-m-0\x20univer-p-0','deserializeRangeWithSheet','totalFormulasToCalculate','debounceTime','url(#on-line-icon_clip0_910_349)','getSheetBySheetId','code','LocaleService','limitInfo','pulse','univer-text-blue-500','_memberService','IRenderManagerService','_initCommandInterceptor','substring','icon','[CollaborationDataLoaderController]','endColumn','off-line-icon_clip0_910_343','fillText','displayName','exports','moveTo','_selfUnitIDs','currentColor','setInterval','[Unhandled\x20Rejection]:\x20','CollaborationController','enableFrontendLog','IRemoteInstanceService','_urlService','_stopBlinking','_textBubble','_online','LOCAL_CACHE_INTERVAL','application/json','requireSession','_releaseCalculationLimit','combineLatest','socket$','_getFormulaLimitStatus','useCallback','ILocalStorageService','delete','...','source','handleIRemoveRow','_uploadLog','translate(.97)','_docTransformIMECacheService','getRangePointData','_assignedColors','_messageService','_heartbeatTimer','disposeUnit','setShapeProps','_cursor','CLOSE_ROOM','version','CollaborationUIEventService','_initStatusListener','_collaborationSessionService','_offsetY','_collabCursorController','CollaborationDataLoaderController','stageInfo','createSocket','Disposable','getLocalCacheKey','#0B9EFB','executeCommand','_status$','executionId','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','8904fGUeON','UniverSheets','_setupSubUnitSync','setUndoRedoMutationParamsCache','findNodePositionByCharIndex','_configService','rgb','getCoordByCell','then','HTTPService','exhaustSavingTask','Unknown\x20user','on-line-icon','_collaborationController','_removeClearOtherTimer','collaboration-client-ui.formula.calculation.unable','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','WebURLService','colno','subscribe','Module','DocSkeletonManagerService','button','DesktopCollaborationStatusDisplayController','status','none','has','UniverDocsUi','UniverIcon','getUnhiddenWorksheets','ranges','_collabCursorState$','[LogService\x20Error]:\x20','UniverCore','unload','color','setOffsetY','Inject','HEADER_MENU','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getConfig','object','_anchorDot','getUnitId','black','yellow.400','newValue','green.600','rxjs','getMember','parse','blue.400','textRanges','_cursors','getMergeData','collaboration-client-ui.permission.title','WebSocketService','selection','_getAnchorBounding','_sheetSkeletonManagerService','span','replace','search','entries','getValue','DependentOn','DocCollaborationEntity','_getSheetObject','_blinkIntervalTimer','find','JOIN_ROOM_FAILED','CollaborationStatus','url(#off-line-icon_clip0_910_343)','roomMembers','getCurrentTypeOfUnit$','_cursorShapes','bind','addEventListener','isTransformMutationsWithChangesetSuccess','DisposableCollection','_startSheetCollabCursor','filter','deepClone','_drawTextRange','_localStorageService','toPrimitive','0.2)','tooltipKey','Error','switchMap','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docSkeletonManagerService','makeDirty','SUBMIT_CHANGESET_TIMEOUT','text','ICommandService','unitId','rgba(','hide','function','@univerjs/engine-formula','NodePositionConvertToRectRange','react/jsx-runtime','_initCommandExecutedListener','forwardRef','SOCKET_FAILED','AWAITING_WITH_PENDING','_cachedData','Warning','_cursorInfo$','getUndoRedoMutationParamsCache','_httpService','_taskIds','transformMutation','searchParams','@univerjs/network','_startBlinking','shift','UniverProCollaborationClientUi','_initResize','removeParam','set','Rect','height','getColor','div','replaceDocRanges','merge','/universer-api/frontend/logs','strokeWidth','getUniverSheetInstance','_docStateChangeManagerService','0.25.0','runRefRangeMutations','fromEvent','saveTaskMap','UniverRpc','_createSocketURL','history','_onRefRangeChange','IMessageService','_getLighterColor','@univerjs/design',',\x200.2)','_config','throttleTime','selections','InsertRowCommandId','children','_scheduleClearOtherTimer','_doCreateSocket','disposeWithMe','_updateCollabCursors','useObservable','@univerjs-pro/collaboration-client','whenReady','push','transformByState','_id','defs','_setFormulaLimitStatus','isTransformMutationFailure','getFocusedUnit','_handleJoinEvent','onPointerEnter$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_session','transformMutationsWithChangeset','packageName','UniverDesign','ILogService','unhandledrejection','RefRangeService','getSkeleton','_transformHistoryAndStateStack','true','NOT_COLLAB','sessionStatus$','OTHER_CLIENTS_EDITING','DEFAULT_WS_SESSION_TICKET_URL','startColumn','unshift','UPDATE_CURSOR','2CNMmTX','static','filename','labelPosition','onMouseMove','univer-flex\x20univer-items-center\x20univer-justify-center','row','IUniverInstanceService','data','RevisionService','string','_getMergeRange','resize','measureText','_scheduleHeartbeat','collaboration-client-ui.collabStatus.syncing','_labelPosition','213038UJxsWJ','engine','_drawRectRange','MoveRangeCommandId','_roomMembers$','getUnit','useDependency','108APRupx','Optional','Vector2','complete','location','DOC_RANGE_TYPE','CollaborationSessionService','asObservable','tag','on-line-icon_clip0_910_349','NO_OTHER_CLIENTS_EDITING','with','iterator','editingUnit','collab-rect-range-','endRow','UNIVER_DOC','_initUserListener','stage','SUCCESS','_injector','rgba','getViewport','ONLINE','DocStateChangeManagerService','DeleteRangeMoveUpCommandId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_updateURLWithCurrentState','/universer-api/license/formula/limit/status','save','highlightSecond','_handleLeaveEvent','post','CollaborationUIEventId','registerRenderModule','indicator','split','functionsExecutedState','subunit','_startCalculationLimit','collaboration-client-ui.formula.calculation.waiting','_entityInit$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initWindowErrorListener','mergeOverrideWithDependencies','entityInit$','UniverProCollaboration','ColorKit','_checkAndWaitForCalculationPermission','setItem','shareReplay','send','collaboration-client-ui.collabStatus.synced','collaboration-client-ui.collaboration.closeRoom','0\x200\x2016\x2016','FormulaExecutedStateType','fillStyle','random','SessionStatus','actions','UNIVER_SHEET','_refRangeService','getColorFromTheme','getFormulaLimitStatusUrl','handleInsertRangeMoveDown','getCurrentSkeleton','handleDeleteRangeMoveLeft','addObjects','contains','arc','symbol','jsx','UniverNetwork','@univerjs/ui','ITransformService','_transformUndoRedoStack','init','defIds','0\x200\x2017\x2016','forEach','IURLService','handleInsertRangeMoveRight','_onCursorUpdate','startFormulaLimitUrl','add','memberID','from','IUIPartsService','getItem','setTimeout','isInternalEditorID','stack','message','jiqing.500','popstate','createIdentifier','width','http://www.w3.org/2000/svg','_scheduleSaving','TEXT','clickable','getSheetObject','_applyCommand','_ensureSubject','getParam','UniverDocs','_send','_toggleOnline','replaceState','IBeforeCloseService','pushState','unsubscribe','highlight','_initEntityListener','20364267rrClKA','mapTo','offsetY','takeUntil','addObject','_dataLoaderService','_hovered','top','_saveTaskMap','DataLoaderService','@univerjs/core','ILocalCacheService','stringify','polite','MemberService','FormulaExecuteStageType','call','_getSessionTicket','_docTransformSelectionsService','/universer-api/license/formula/limit/done','name','_docClipboardService','2812295UMitmv','triggerDblclick','getActiveRange','cursorInfo$','collaboration-client-ui.collaboration.offline-data-not-saved','[Window\x20Error]:\x20','Shape','isArray','UniverEngineRender','START_CALCULATION','disableLocalCache','_initEvent','m1Prime','_eventUnsubscribe','_initStatusComponent','handleDeleteRangeMoveUp','\x20at\x20','_highlight','type','COLORS','redoState','AWAITING','showText','dirtyRanges','dispose','show','syncEditingCollabCursor','Failed','DeleteRangeMoveLeftCommandId','runId','toDisposable','path','_shapes','getCurrentSelections','@univerjs/docs','Tooltip','transform','dispose$','_isBlinkVisible','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','registerRefRange','M0\x200H16V16H0z','UniverUi','CollaborationEvent','drawWith','spin','_hover','prototype','handleIRemoveCol','SetWorksheetActivateCommand','_anchor'];_0x159e=function(){return _0x4a8e3e;};return _0x159e();}(function(_0x1eb146,_0x1e9110){const _0x2c58ba=_0x3284,_0x909702=_0x1eb146();while(!![]){try{const _0xd2d71b=-parseInt(_0x2c58ba(0x3f1))/0x1*(-parseInt(_0x2c58ba(0x319))/0x2)+parseInt(_0x2c58ba(0x261))/0x3*(parseInt(_0x2c58ba(0x331))/0x4)+-parseInt(_0x2c58ba(0x3b9))/0x5+parseInt(_0x2c58ba(0x196))/0x6*(parseInt(_0x2c58ba(0x32a))/0x7)+-parseInt(_0x2c58ba(0x44e))/0x8*(parseInt(_0x2c58ba(0x19a))/0x9)+-parseInt(_0x2c58ba(0x191))/0xa+parseInt(_0x2c58ba(0x3a3))/0xb;if(_0xd2d71b===_0x1e9110)break;else _0x909702['push'](_0x909702['shift']());}catch(_0xc918a9){_0x909702['push'](_0x909702['shift']());}}}(_0x159e,0x6d387),function(_0x29ee37,_0x566145){const _0x1f4ca0=_0x3284;typeof exports==_0x1f4ca0(0x28a)&&typeof module<'u'?_0x566145(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define=='function'&&define[_0x1f4ca0(0x406)]?define([_0x1f4ca0(0x22c),_0x1f4ca0(0x2fb),_0x1f4ca0(0x3ad),_0x1f4ca0(0x37a),_0x1f4ca0(0x291),_0x1f4ca0(0x19e),_0x1f4ca0(0x2ef),'react',_0x1f4ca0(0x2c7),'@univerjs/rpc',_0x1f4ca0(0x1d5),'@univerjs/engine-render',_0x1f4ca0(0x2d4),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x1f4ca0(0x3db),_0x1f4ca0(0x2c5),_0x1f4ca0(0x1ac),_0x1f4ca0(0x198)],_0x566145):(_0x29ee37=typeof globalThis<'u'?globalThis:_0x29ee37||self,_0x566145(_0x29ee37[_0x1f4ca0(0x2d7)]={},_0x29ee37[_0x1f4ca0(0x430)],_0x29ee37[_0x1f4ca0(0x282)],_0x29ee37[_0x1f4ca0(0x3e3)],_0x29ee37[_0x1f4ca0(0x291)],_0x29ee37[_0x1f4ca0(0x291)][_0x1f4ca0(0x3f4)],_0x29ee37[_0x1f4ca0(0x30b)],_0x29ee37[_0x1f4ca0(0x3f2)],_0x29ee37[_0x1f4ca0(0x3f2)],_0x29ee37[_0x1f4ca0(0x2e9)],_0x29ee37[_0x1f4ca0(0x262)],_0x29ee37[_0x1f4ca0(0x3c1)],_0x29ee37[_0x1f4ca0(0x379)],_0x29ee37[_0x1f4ca0(0x27c)],_0x29ee37['UniverDrawing'],_0x29ee37[_0x1f4ca0(0x35f)],_0x29ee37[_0x1f4ca0(0x39a)],_0x29ee37['UniverEngineFormula'],_0x29ee37[_0x1f4ca0(0x188)],_0x29ee37[_0x1f4ca0(0x206)]));}(this,function(_0x4bb0e6,_0x21dc5a,_0x430976,_0x2f7572,_0x31275f,_0xdec434,_0x276ac3,_0x24d445,_0x542830,_0x5c1877,_0x128162,_0x229561,_0x116517,_0x3733f8,_0x4d4293,_0xf33e7d,_0x15b933,_0x4b3ad6,_0x3430f3,_0x2217f1){const _0x2444bc=_0x3284;Object[_0x2444bc(0x16f)](_0x4bb0e6,Symbol[_0x2444bc(0x1f4)],{'value':_0x2444bc(0x275)});function _0x3a795d({ref:_0x3019d2,..._0xf4e6f1}){const _0x1c3ba4=_0x2444bc;let {icon:_0x51ad49,id:_0x42b26d,className:_0x35913f,extend:_0x211a7e,..._0x356721}=_0xf4e6f1,_0x1bf619=(_0x1c3ba4(0x3fe)+_0x42b26d+'\x20'+(_0x35913f||''))[_0x1c3ba4(0x417)](),_0xb21f31=(0x0,_0x24d445[_0x1c3ba4(0x19d)])('_'+_0x53e43b());return _0x42e811(_0x51ad49,''+_0x42b26d,{'defIds':_0x51ad49[_0x1c3ba4(0x37e)],'idSuffix':_0xb21f31[_0x1c3ba4(0x210)]},{'ref':_0x3019d2,'className':_0x1bf619,..._0x356721},_0x211a7e);}function _0x42e811(_0x502101,_0x353188,_0x9b3316,_0x951980,_0xe51767){const _0x14d9b6=_0x2444bc;return(0x0,_0x24d445[_0x14d9b6(0x1c1)])(_0x502101[_0x14d9b6(0x339)],{'key':_0x353188,..._0x5e52e6(_0x502101,_0x9b3316,_0xe51767),..._0x951980},(_0x3e2fb1(_0x502101,_0x9b3316)[_0x14d9b6(0x2f5)]||[])[_0x14d9b6(0x404)]((_0x4af4a6,_0x118044)=>_0x42e811(_0x4af4a6,_0x353188+'-'+_0x502101[_0x14d9b6(0x339)]+'-'+_0x118044,_0x9b3316,void 0x0,_0xe51767)));}function _0x5e52e6(_0x6d547b,_0x533092,_0x45b14c){const _0x50ea17=_0x2444bc;let _0x17e2e2={..._0x6d547b['attrs']};_0x45b14c!=null&&_0x45b14c['colorChannel1']&&_0x17e2e2[_0x50ea17(0x1d3)]===_0x50ea17(0x402)&&(_0x17e2e2[_0x50ea17(0x1d3)]=_0x45b14c[_0x50ea17(0x402)]),_0x6d547b[_0x50ea17(0x339)]===_0x50ea17(0x168)&&_0x17e2e2['id']&&(_0x17e2e2['id']+=_0x533092[_0x50ea17(0x1cc)]),Object[_0x50ea17(0x2a0)](_0x17e2e2)['forEach'](([_0x37c8b0,_0x51305c])=>{const _0x3b641d=_0x50ea17;_0x37c8b0===_0x3b641d(0x168)&&typeof _0x51305c=='string'&&(_0x17e2e2[_0x37c8b0]=_0x51305c['replace'](/url\(#(.*)\)/,_0x3b641d(0x18f)+_0x533092[_0x3b641d(0x1cc)]+')'));});let {defIds:_0x477542}=_0x533092;return!_0x477542||_0x477542[_0x50ea17(0x1ae)]===0x0?_0x17e2e2:(_0x6d547b[_0x50ea17(0x339)]===_0x50ea17(0x1fd)&&_0x17e2e2[_0x50ea17(0x17b)]&&(_0x17e2e2[_0x50ea17(0x17b)]+=_0x533092['idSuffix']),Object[_0x50ea17(0x2a0)](_0x17e2e2)[_0x50ea17(0x380)](([_0x1a23e6,_0x17d16f])=>{const _0x5ad575=_0x50ea17;typeof _0x17d16f==_0x5ad575(0x323)&&(_0x17e2e2[_0x1a23e6]=_0x17d16f['replace'](/url\(#(.*)\)/,_0x5ad575(0x18f)+_0x533092[_0x5ad575(0x1cc)]+')'));}),_0x17e2e2);}function _0x3e2fb1(_0x35dbb6,_0x5ae093){const _0x4da885=_0x2444bc;var _0x391976;let {defIds:_0x34e471}=_0x5ae093;return!_0x34e471||_0x34e471[_0x4da885(0x1ae)]===0x0?_0x35dbb6:_0x35dbb6[_0x4da885(0x339)]==='defs'&&(_0x391976=_0x35dbb6[_0x4da885(0x2f5)])!=null&&_0x391976[_0x4da885(0x1ae)]?{..._0x35dbb6,'children':_0x35dbb6[_0x4da885(0x2f5)][_0x4da885(0x404)](_0x3b5b3c=>typeof _0x3b5b3c[_0x4da885(0x172)]['id']=='string'&&_0x34e471&&_0x34e471[_0x4da885(0x448)](_0x3b5b3c[_0x4da885(0x172)]['id'])?{..._0x3b5b3c,'attrs':{..._0x3b5b3c['attrs'],'id':_0x3b5b3c['attrs']['id']+_0x5ae093[_0x4da885(0x1cc)]}}:_0x3b5b3c)}:_0x35dbb6;}function _0x53e43b(){const _0x1e3f29=_0x2444bc;return Math[_0x1e3f29(0x36a)]()[_0x1e3f29(0x401)](0x24)[_0x1e3f29(0x225)](0x2,0x8);}_0x3a795d[_0x2444bc(0x22b)]=_0x2444bc(0x27d);let _0x57a765={'tag':_0x2444bc(0x17d),'attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x367),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2444bc(0x2a9)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'stroke':_0x2444bc(0x22f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2444bc(0x427),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2444bc(0x300),'attrs':{},'children':[{'tag':_0x2444bc(0x42b),'attrs':{'id':_0x2444bc(0x229)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':'white','d':_0x2444bc(0x3e2)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3b2024=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x426bdb,_0x5c6cfc){const _0x2414ac=_0x2444bc;return(0x0,_0x24d445[_0x2414ac(0x1c1)])(_0x3a795d,Object[_0x2414ac(0x43d)]({},_0x426bdb,{'id':'off-line-icon','ref':_0x5c6cfc,'icon':_0x57a765}));});_0x3b2024[_0x2444bc(0x22b)]=_0x2444bc(0x1f2);let _0x4c2ef1={'tag':_0x2444bc(0x17d),'attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x37f),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2444bc(0x21b)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'stroke':'currentColor','d':_0x2444bc(0x41f),'strokeLinecap':_0x2444bc(0x427),'strokeLinejoin':_0x2444bc(0x427),'strokeWidth':1.2}}]},{'tag':_0x2444bc(0x300),'attrs':{},'children':[{'tag':_0x2444bc(0x42b),'attrs':{'id':_0x2444bc(0x33a)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':'white','d':_0x2444bc(0x3e2),'transform':_0x2444bc(0x247)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2150f0=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x559f22,_0xc9937a){const _0x45c213=_0x2444bc;return(0x0,_0x24d445[_0x45c213(0x1c1)])(_0x3a795d,Object[_0x45c213(0x43d)]({},_0x559f22,{'id':_0x45c213(0x26d),'ref':_0xc9937a,'icon':_0x4c2ef1}));});_0x2150f0[_0x2444bc(0x22b)]='OnLineIcon';let _0x5a5122={'tag':'svg','attrs':{'xmlns':_0x2444bc(0x392),'fill':_0x2444bc(0x27a),'viewBox':_0x2444bc(0x367),'width':_0x2444bc(0x20e),'height':_0x2444bc(0x20e)},'children':[{'tag':_0x2444bc(0x3d8),'attrs':{'fill':_0x2444bc(0x25c),'d':_0x2444bc(0x2bb),'fillOpacity':0.2,'fillRule':_0x2444bc(0x182),'clipRule':_0x2444bc(0x182)}},{'tag':_0x2444bc(0x3d8),'attrs':{'fill':_0x2444bc(0x25c),'d':_0x2444bc(0x260),'fillRule':_0x2444bc(0x182),'clipRule':'evenodd'}}]},_0x4f2a73=(0x0,_0x24d445[_0x2444bc(0x2c9)])(function(_0x132a57,_0x40100a){const _0x5a0796=_0x2444bc;return(0x0,_0x24d445[_0x5a0796(0x1c1)])(_0x3a795d,Object[_0x5a0796(0x43d)]({},_0x132a57,{'id':_0x5a0796(0x412),'ref':_0x40100a,'icon':_0x5a5122}));});_0x4f2a73[_0x2444bc(0x22b)]='LoadingMultiIcon';function _0x24a6b5(_0x12db70){const _0x1f35b9=_0x2444bc;switch(_0x12db70){case _0x21dc5a['CollaborationStatus'][_0x1f35b9(0x442)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x3b2024,{}),'colorClass':_0x1f35b9(0x43f),'i18nKey':_0x1f35b9(0x409),'tooltipKey':_0x1f35b9(0x17c),'clickable':!0x0,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x429)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x3b2024,{}),'colorClass':_0x1f35b9(0x1a8),'i18nKey':_0x1f35b9(0x42c),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x433)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':_0x1f35b9(0x20f),'clickable':!0x1,'indicator':'spin'};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x312)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x2150f0,{}),'colorClass':_0x1f35b9(0x18d),'i18nKey':_0x1f35b9(0x1d4),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};case _0x21dc5a['CollaborationStatus'][_0x1f35b9(0x3ce)]:case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x2cb)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x1f35b9(0x3e6)};case _0x21dc5a[_0x1f35b9(0x2a8)]['PENDING']:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x4f2a73,{}),'colorClass':_0x1f35b9(0x221),'i18nKey':_0x1f35b9(0x328),'clickable':!0x1,'indicator':_0x1f35b9(0x3e6)};case _0x21dc5a[_0x1f35b9(0x2a8)][_0x1f35b9(0x42f)]:return{'icon':(0x0,_0x542830[_0x1f35b9(0x378)])(_0x2150f0,{}),'colorClass':'univer-text-green-500','i18nKey':_0x1f35b9(0x365),'clickable':!0x1,'indicator':_0x1f35b9(0x31a)};}}function _0x105682(_0x4da266){const _0x1523e0=_0x2444bc;let {status$:_0x196c58}=_0x4da266,_0x255e61=(0x0,_0x2f7572[_0x1523e0(0x2fa)])(_0x196c58,_0x21dc5a[_0x1523e0(0x2a8)][_0x1523e0(0x312)]),_0x337794=(0x0,_0x2f7572[_0x1523e0(0x330)])(_0x430976[_0x1523e0(0x21e)]),_0x59e88d=(0x0,_0x2f7572[_0x1523e0(0x330)])(_0x21dc5a[_0x1523e0(0x337)]),_0x2c3c79=(0x0,_0x24d445['useMemo'])(()=>_0x24a6b5(_0x255e61),[_0x255e61]),_0x5877bd=_0x255e61!==_0x21dc5a[_0x1523e0(0x2a8)][_0x1523e0(0x442)],_0x59f448=_0x337794['t'](_0x2c3c79[_0x1523e0(0x197)]),_0x3e6c2e=_0x2c3c79['tooltipKey']?_0x337794['t'](_0x2c3c79[_0x1523e0(0x2b8)]):_0x59f448,_0x1421f9=(0x0,_0x24d445[_0x1523e0(0x240)])(()=>{const _0x4620e7=_0x1523e0;_0x5877bd||_0x59e88d[_0x4620e7(0x1ce)]();},[_0x5877bd,_0x59e88d]),_0x3cd1c2=(0x0,_0x24d445[_0x1523e0(0x240)])(_0x236969=>{const _0x1f4a27=_0x1523e0;!_0x5877bd&&(_0x236969['key']===_0x1f4a27(0x407)||_0x236969[_0x1f4a27(0x15e)]==='\x20')&&(_0x236969[_0x1f4a27(0x20d)](),_0x59e88d['reconnect']());},[_0x5877bd,_0x59e88d]),_0x201b7c=(0x0,_0x542830[_0x1523e0(0x378)])('span',{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x31e),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x2c3c79['colorClass'],{'univer-animate-spin':_0x2c3c79[_0x1523e0(0x354)]===_0x1523e0(0x3e6),'univer-animate-pulse':_0x2c3c79[_0x1523e0(0x354)]===_0x1523e0(0x220)}),'aria-hidden':'true','children':_0x2c3c79[_0x1523e0(0x226)]}),_0x2171c7=(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x29d),{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x1523e0(0x307),'univer-transition-all\x20univer-duration-200',_0x1523e0(0x41d),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2c3c79[_0x1523e0(0x395)],'univer-cursor-default':!_0x2c3c79[_0x1523e0(0x395)]}),'children':_0x201b7c});return _0x2c3c79[_0x1523e0(0x395)]?(0x0,_0x542830[_0x1523e0(0x378)])(_0x276ac3[_0x1523e0(0x3dc)],{'title':_0x3e6c2e,'placement':'bottom','children':(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x277),{'type':'button','onClick':_0x1421f9,'onKeyDown':_0x3cd1c2,'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x184),'univer-border-none\x20univer-bg-transparent',_0x1523e0(0x217),_0x1523e0(0x216)),'aria-label':_0x59f448+_0x1523e0(0x1b6)+_0x3e6c2e,'role':_0x1523e0(0x279),'aria-live':_0x1523e0(0x3b0),'aria-atomic':_0x1523e0(0x311),'children':_0x2171c7})}):(0x0,_0x542830['jsx'])(_0x276ac3['Tooltip'],{'title':_0x3e6c2e,'placement':_0x1523e0(0x3f9),'children':(0x0,_0x542830[_0x1523e0(0x378)])(_0x1523e0(0x2de),{'className':(0x0,_0x276ac3[_0x1523e0(0x1b1)])(_0x1523e0(0x184),_0x1523e0(0x185),_0x1523e0(0x217)),'aria-label':_0x59f448,'role':_0x1523e0(0x279),'aria-live':_0x1523e0(0x3b0),'aria-atomic':'true','children':_0x2171c7})});}function _0x4928e(_0x1883a7){'@babel/helpers - typeof';const _0x430891=_0x2444bc;return _0x4928e=typeof Symbol==_0x430891(0x2c4)&&typeof Symbol[_0x430891(0x33d)]==_0x430891(0x377)?function(_0x3e644f){return typeof _0x3e644f;}:function(_0x3e0191){const _0x16c99=_0x430891;return _0x3e0191&&typeof Symbol=='function'&&_0x3e0191[_0x16c99(0x18c)]===Symbol&&_0x3e0191!==Symbol[_0x16c99(0x3e8)]?_0x16c99(0x377):typeof _0x3e0191;},_0x4928e(_0x1883a7);}function _0x5521b7(_0x2ff827,_0x3834b8){const _0x3888d3=_0x2444bc;if(_0x4928e(_0x2ff827)!=_0x3888d3(0x28a)||!_0x2ff827)return _0x2ff827;var _0x11dce0=_0x2ff827[Symbol[_0x3888d3(0x2b6)]];if(_0x11dce0!==void 0x0){var _0xb45ee5=_0x11dce0[_0x3888d3(0x3b3)](_0x2ff827,_0x3834b8||_0x3888d3(0x207));if(_0x4928e(_0xb45ee5)!=_0x3888d3(0x28a))return _0xb45ee5;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3834b8==='string'?String:Number)(_0x2ff827);}function _0x5b4c5e(_0x3c3124){const _0x3dffe8=_0x2444bc;var _0x3e7b2f=_0x5521b7(_0x3c3124,_0x3dffe8(0x323));return _0x4928e(_0x3e7b2f)==_0x3dffe8(0x377)?_0x3e7b2f:_0x3e7b2f+'';}function _0x34d1c1(_0xa903fc,_0x12820b,_0xa4546d){const _0x3fe7a9=_0x2444bc;return(_0x12820b=_0x5b4c5e(_0x12820b))in _0xa903fc?Object[_0x3fe7a9(0x16f)](_0xa903fc,_0x12820b,{'value':_0xa4546d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xa903fc[_0x12820b]=_0xa4546d,_0xa903fc;}function _0x23d40f(_0x35dffe,_0x12c996){return function(_0x1d9fa4,_0x2db485){_0x12c996(_0x1d9fa4,_0x2db485,_0x35dffe);};}function _0x4e0ded(_0x3b626e,_0x52b7f2,_0xce890e,_0x226ec0){const _0x58071e=_0x2444bc;var _0xbea6a0=arguments['length'],_0x634f85=_0xbea6a0<0x3?_0x52b7f2:_0x226ec0===null?_0x226ec0=Object[_0x58071e(0x43b)](_0x52b7f2,_0xce890e):_0x226ec0,_0x4869dd;if(typeof Reflect==_0x58071e(0x28a)&&typeof Reflect[_0x58071e(0x160)]==_0x58071e(0x2c4))_0x634f85=Reflect[_0x58071e(0x160)](_0x3b626e,_0x52b7f2,_0xce890e,_0x226ec0);else{for(var _0x150903=_0x3b626e[_0x58071e(0x1ae)]-0x1;_0x150903>=0x0;_0x150903--)(_0x4869dd=_0x3b626e[_0x150903])&&(_0x634f85=(_0xbea6a0<0x3?_0x4869dd(_0x634f85):_0xbea6a0>0x3?_0x4869dd(_0x52b7f2,_0xce890e,_0x634f85):_0x4869dd(_0x52b7f2,_0xce890e))||_0x634f85);}return _0xbea6a0>0x3&&_0x634f85&&Object[_0x58071e(0x16f)](_0x52b7f2,_0xce890e,_0x634f85),_0x634f85;}let _0x26c616=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0xfb85a,_0x155e6b,_0x1b26e5,_0x5d0d0c){const _0x567bd7=_0x2444bc;super(),this['_univerInstanceService']=_0xfb85a,this[_0x567bd7(0x345)]=_0x155e6b,this[_0x567bd7(0x26e)]=_0x1b26e5,this['_uiPartsService']=_0x5d0d0c,_0x34d1c1(this,_0x567bd7(0x25e),new _0x31275f['BehaviorSubject'](_0x21dc5a[_0x567bd7(0x2a8)][_0x567bd7(0x312)])),this[_0x567bd7(0x3c7)](),this[_0x567bd7(0x253)]();}[_0x2444bc(0x253)](){const _0x17c926=_0x2444bc;this['disposeWithMe']((0x0,_0x31275f['merge'])(this[_0x17c926(0x40a)][_0x17c926(0x1d9)],this[_0x17c926(0x40a)]['getCurrentTypeOfUnit$'](_0x430976['UniverInstanceType'][_0x17c926(0x341)]),this[_0x17c926(0x40a)][_0x17c926(0x2ab)](_0x430976['UniverInstanceType'][_0x17c926(0x36d)]))[_0x17c926(0x1e6)]((0x0,_0xdec434[_0x17c926(0x404)])(()=>_0x16d40d(this['_univerInstanceService'])),(0x0,_0xdec434[_0x17c926(0x3fb)])(),(0x0,_0x31275f[_0x17c926(0x2ba)])(_0x442b5f=>_0x442b5f?this[_0x17c926(0x26e)]['getCollabEntity$'](_0x442b5f):(0x0,_0x31275f['of'])(null)),(0x0,_0x31275f[_0x17c926(0x2ba)])(_0xa8931a=>_0xa8931a?_0xa8931a[_0x17c926(0x175)]:(0x0,_0x31275f['of'])(_0x21dc5a[_0x17c926(0x2a8)][_0x17c926(0x312)])))[_0x17c926(0x274)](_0xeb0ea7=>{const _0x26cd2e=_0x17c926;this[_0x26cd2e(0x25e)][_0x26cd2e(0x3f6)](_0xeb0ea7);}));}['_initStatusComponent'](){const _0x5972c0=_0x2444bc;this[_0x5972c0(0x2f8)](this[_0x5972c0(0x161)][_0x5972c0(0x1a3)](_0x2f7572[_0x5972c0(0x215)][_0x5972c0(0x287)],()=>(0x0,_0x2f7572['connectInjector'])(_0x871193({'status$':this[_0x5972c0(0x25e)][_0x5972c0(0x338)]()}),this[_0x5972c0(0x345)])));}};_0x26c616=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x232)])),_0x23d40f(0x3,_0x2f7572[_0x2444bc(0x388)])],_0x26c616);function _0x16d40d(_0x2b8d3a){const _0x26f772=_0x2444bc;let _0x48bd24=_0x2b8d3a[_0x26f772(0x303)](),_0x16cbef=_0x48bd24==null?void 0x0:_0x48bd24[_0x26f772(0x28c)]();if(_0x16cbef&&!(0x0,_0x430976['isInternalEditorID'])(_0x16cbef))return _0x16cbef;let _0x4527d4=_0x2b8d3a[_0x26f772(0x16e)](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x341)]),_0x578e41=_0x4527d4==null?void 0x0:_0x4527d4[_0x26f772(0x28c)]();if(_0x578e41&&!(0x0,_0x430976[_0x26f772(0x38b)])(_0x578e41))return _0x578e41;let _0x4e28c8=_0x2b8d3a[_0x26f772(0x16e)](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x36d)]);if(_0x4e28c8)return _0x4e28c8[_0x26f772(0x28c)]();let _0x4b6507=_0x2b8d3a['getAllUnitsForType'](_0x430976[_0x26f772(0x1f9)][_0x26f772(0x341)])[_0x26f772(0x2a6)](_0x147459=>!(0x0,_0x430976[_0x26f772(0x38b)])(_0x147459[_0x26f772(0x28c)]()));return _0x4b6507?_0x4b6507[_0x26f772(0x28c)]():null;}function _0x871193(_0x15f8cd){let {status$:_0x281166}=_0x15f8cd;return function(){const _0x3110fa=_0x3284;return(0x0,_0x542830[_0x3110fa(0x378)])(_0x105682,{'status$':_0x281166});};}let _0x26fa78=(0x0,_0x430976[_0x2444bc(0x390)])('uni.network.url-service'),_0x5aec05=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x65e043,_0x218d56,_0x4b66a1,_0x46ac74,_0x89971b){const _0x103585=_0x2444bc;super(),this['_urlService']=_0x65e043,this[_0x103585(0x439)]=_0x218d56,this[_0x103585(0x42e)]=_0x4b66a1,this['_dataLoaderService']=_0x46ac74,_0x89971b?_0x89971b==null||_0x89971b[_0x103585(0x2fc)]()[_0x103585(0x269)](()=>this[_0x103585(0x1dd)]()):(this[_0x103585(0x439)]['debug'](_0x103585(0x227),_0x103585(0x35b)),this[_0x103585(0x1dd)]());}async[_0x2444bc(0x1dd)](){const _0x4fda50=_0x2444bc;let _0x3442cb=this['_urlService'][_0x4fda50(0x399)](_0x4fda50(0x1a2)),_0x1853aa=this[_0x4fda50(0x235)][_0x4fda50(0x399)]('type'),_0x5c3dee=this[_0x4fda50(0x235)]['getParam'](_0x4fda50(0x357));if(!_0x3442cb||!_0x1853aa){this['_logService']['debug'](_0x4fda50(0x227),_0x4fda50(0x288));return;}let _0x4eb750=await this[_0x4fda50(0x3a8)]['loadUnit'](_0x3442cb,Number(_0x1853aa),_0x5c3dee);_0x4eb750&&_0x4eb750 instanceof _0x430976[_0x4fda50(0x449)]&&this[_0x4fda50(0x263)](_0x4eb750);}async[_0x2444bc(0x263)](_0x53aff7){const _0x3a822e=_0x2444bc;await this[_0x3a822e(0x19f)](_0x53aff7),_0x53aff7[_0x3a822e(0x1a0)][_0x3a822e(0x1e6)]((0x0,_0x31275f[_0x3a822e(0x3a6)])(this[_0x3a822e(0x3de)]))[_0x3a822e(0x274)](_0x2f8b16=>{_0x2f8b16&&this['_updateURLWithCurrentState'](_0x2f8b16);}),this['_urlService']['urlChange$'][_0x3a822e(0x1e6)]((0x0,_0x31275f[_0x3a822e(0x3a6)])(this[_0x3a822e(0x3de)]))[_0x3a822e(0x274)](()=>this[_0x3a822e(0x19f)](_0x53aff7));}[_0x2444bc(0x34c)](_0x39d7dc,_0x1426a0=!0x1){const _0x5e5351=_0x2444bc;let _0x7079cf=this[_0x5e5351(0x235)][_0x5e5351(0x399)](_0x5e5351(0x357));_0x39d7dc[_0x5e5351(0x1e4)]()!==_0x7079cf&&this[_0x5e5351(0x235)][_0x5e5351(0x1a7)](_0x5e5351(0x357),_0x39d7dc[_0x5e5351(0x1e4)](),_0x1426a0);}async[_0x2444bc(0x19f)](_0x1c1bff){const _0x2ad9af=_0x2444bc;var _0x407c3e;let _0x1cbe73=this['_urlService'][_0x2ad9af(0x399)](_0x2ad9af(0x357));if(!_0x1cbe73||!_0x1c1bff[_0x2ad9af(0x21c)](_0x1cbe73)){let _0x26299d=_0x1c1bff[_0x2ad9af(0x27e)]()[0x0],_0x139a35=_0x1c1bff[_0x2ad9af(0x21c)](_0x26299d);if(!_0x139a35)return;this[_0x2ad9af(0x34c)](_0x139a35,!0x0),await this[_0x2ad9af(0x42e)]['executeCommand'](_0x128162[_0x2ad9af(0x3ea)]['id'],{'unitId':_0x1c1bff['getUnitId'](),'subUnitId':_0x26299d});return;}((_0x407c3e=_0x1c1bff[_0x2ad9af(0x179)]())==null?void 0x0:_0x407c3e[_0x2ad9af(0x1e4)]())!==_0x1cbe73&&await this[_0x2ad9af(0x42e)][_0x2ad9af(0x25d)](_0x128162['SetWorksheetActivateCommand']['id'],{'unitId':_0x1c1bff[_0x2ad9af(0x28c)](),'subUnitId':_0x1cbe73});}};_0x5aec05=_0x4e0ded([_0x23d40f(0x0,_0x26fa78),_0x23d40f(0x1,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x2,_0x430976['ICommandService']),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x3ac)])),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x332)])(_0x5c1877[_0x2444bc(0x234)]))],_0x5aec05);var _0x50e124=_0x2444bc(0x20a),_0x5a4f5a=_0x2444bc(0x2e5);let _0x1f6f92=class extends _0x430976['RxDisposable']{constructor(_0x1cd060,_0x319172){const _0x557cfb=_0x2444bc;super(),this[_0x557cfb(0x3b8)]=_0x1cd060,this[_0x557cfb(0x1b7)]=_0x319172,this[_0x557cfb(0x1dd)]();}[_0x2444bc(0x1dd)](){const _0x23c557=_0x2444bc;let _0x54a62a=this;this[_0x23c557(0x2f8)](this['_docClipboardService'][_0x23c557(0x1e0)]({'onBeforePasteImage':async _0x5e1337=>{const _0x3f3dad=_0x23c557;let _0x5b69d9=await _0x54a62a[_0x3f3dad(0x1b7)]['saveImage'](_0x5e1337);return _0x5b69d9?{'source':_0x5b69d9[_0x3f3dad(0x244)],'imageSourceType':_0x5b69d9['imageSourceType']}:null;}}));}};_0x1f6f92=_0x4e0ded([_0x23d40f(0x0,_0x3733f8['IDocClipboardService']),_0x23d40f(0x1,_0x4d4293[_0x2444bc(0x1c8)])],_0x1f6f92);let _0x3a71d4=['purple.300',_0x2444bc(0x38e),_0x2444bc(0x290),_0x2444bc(0x1f3),_0x2444bc(0x294),_0x2444bc(0x28e)];var _0x1eb962=class extends _0x430976[_0x2444bc(0x25a)]{constructor(..._0x8a9c39){const _0x54227a=_0x2444bc;super(..._0x8a9c39),_0x34d1c1(this,_0x54227a(0x24a),new Map()),_0x34d1c1(this,_0x54227a(0x17a),0x0);}['assignAColorForMemberID'](_0x1d1843){const _0x2beed5=_0x2444bc;if(this['_assignedColors'][_0x2beed5(0x27b)](_0x1d1843))return this[_0x2beed5(0x24a)]['get'](_0x1d1843);let _0x131a8b=_0x3a71d4[this[_0x2beed5(0x17a)]];return this[_0x2beed5(0x17a)]=(this[_0x2beed5(0x17a)]+0x1)%_0x3a71d4[_0x2beed5(0x1ae)],this[_0x2beed5(0x24a)][_0x2beed5(0x2da)](_0x1d1843,_0x131a8b),_0x131a8b;}};function _0x5bdb80(_0x341230){const _0x27cae5=_0x2444bc;let _0x52ec16='';for(let _0x31e37d of _0x341230){let {startOffset:_0x3df8b4,endOffset:_0x17f2b0,isActive:_0x5e16e7,rangeType:_0x4fec08,segmentId:_0x8c0f46,segmentPage:_0x2c68e8}=_0x31e37d;_0x52ec16[_0x27cae5(0x1ae)]&&(_0x52ec16+=','),_0x52ec16+=_0x3df8b4+':'+_0x17f2b0+':'+(_0x5e16e7?'1':'0')+':'+_0x4fec08+':'+_0x8c0f46+':'+_0x2c68e8;}return _0x52ec16;}function _0x16a883(_0x3cc90b){const _0x3be6b3=_0x2444bc;let _0x11d2c0=_0x3cc90b[_0x3be6b3(0x355)](','),_0xf666f0=[];for(let _0x5c23b8 of _0x11d2c0){let [_0x5bf7ec,_0x48962b,_0x31dae4,_0x48a7ad,_0x23e690,_0x10353f]=_0x5c23b8[_0x3be6b3(0x355)](':');_0xf666f0[_0x3be6b3(0x2fd)]({'startOffset':Number(_0x5bf7ec),'endOffset':Number(_0x48962b),'collapsed':_0x5bf7ec===_0x48962b,'isActive':_0x31dae4==='1','rangeType':_0x48a7ad===_0x430976[_0x3be6b3(0x336)][_0x3be6b3(0x394)]?_0x430976['DOC_RANGE_TYPE'][_0x3be6b3(0x394)]:_0x430976[_0x3be6b3(0x336)][_0x3be6b3(0x1c4)],'segmentId':typeof _0x23e690==_0x3be6b3(0x323)?String(_0x23e690):'','segmentPage':Number(_0x10353f==null?-0x1:_0x10353f)});}return _0xf666f0['some'](_0x4d89e0=>_0x4d89e0[_0x3be6b3(0x44a)])||(_0xf666f0[0x0][_0x3be6b3(0x44a)]=!0x0),_0xf666f0;}var _0x26444f=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(..._0x5187d6){const _0x3cb927=_0x2444bc;super(..._0x5187d6),_0x34d1c1(this,_0x3cb927(0x280),new _0x31275f[(_0x3cb927(0x1d0))](null)),_0x34d1c1(this,_0x3cb927(0x43e),this[_0x3cb927(0x280)][_0x3cb927(0x338)]());}[_0x2444bc(0x3d3)](_0x512165){const _0x215a8c=_0x2444bc;let {unitID:_0x3b2c53,memberID:_0x4eb247,textRanges:_0x1ed206}=_0x512165,_0x808acc=_0x5bdb80(_0x1ed206);if(_0x808acc==='')return;let _0x24a3f9={'unitID':_0x3b2c53,'memberID':_0x4eb247,'selection':_0x808acc};this[_0x215a8c(0x280)][_0x215a8c(0x3f6)](_0x24a3f9);}};let _0x4003a7=class extends _0x430976[_0x2444bc(0x1c2)]{get[_0x2444bc(0x166)](){const _0x953cb0=_0x2444bc;return this[_0x953cb0(0x2ce)][_0x953cb0(0x2a1)]();}get['roomMembers'](){const _0xdd08d9=_0x2444bc;return this[_0xdd08d9(0x32e)][_0xdd08d9(0x2a1)]();}constructor(_0x109665,_0x244a6c,_0x147936,_0x2993a5,_0x53207d,_0xe955e1,_0x23d0ea,_0x493a36,_0x4b0e0d){const _0x18dbfd=_0x2444bc;super(),this[_0x18dbfd(0x177)]=_0x109665,this[_0x18dbfd(0x308)]=_0x244a6c,this[_0x18dbfd(0x345)]=_0x147936,this[_0x18dbfd(0x1bb)]=_0x2993a5,this[_0x18dbfd(0x222)]=_0x53207d,this[_0x18dbfd(0x171)]=_0xe955e1,this['_transformService']=_0x23d0ea,this[_0x18dbfd(0x40a)]=_0x493a36,this[_0x18dbfd(0x42e)]=_0x4b0e0d,_0x34d1c1(this,'_online',!0x1),_0x34d1c1(this,_0x18dbfd(0x1dd),!0x1),_0x34d1c1(this,_0x18dbfd(0x2ce),new _0x31275f[(_0x18dbfd(0x1d0))](new Map())),_0x34d1c1(this,_0x18dbfd(0x3bc),this[_0x18dbfd(0x2ce)][_0x18dbfd(0x338)]()),_0x34d1c1(this,_0x18dbfd(0x32e),new _0x31275f[(_0x18dbfd(0x1d0))]([])),_0x34d1c1(this,_0x18dbfd(0x426),this['_roomMembers$']['pipe']((0x0,_0x31275f[_0x18dbfd(0x21a)])(0x12c))),_0x34d1c1(this,'_updateLocalCursor',(0x0,_0x430976[_0x18dbfd(0x1cd)])(_0x227415=>{const _0x402ef6=_0x18dbfd;let _0x214eb0={'eventID':_0xf33e7d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x402ef6(0x177)],'memberID':this[_0x402ef6(0x308)]['getMemberID'](),'selection':_0x5bdb80(_0x227415)}};this[_0x402ef6(0x308)]['send'](_0x214eb0,this['unitID']);},0x64));}['dispose'](){const _0x588844=_0x2444bc;super['dispose'](),this[_0x588844(0x2ce)][_0x588844(0x3f6)](new Map()),this[_0x588844(0x2ce)]['complete'](),this[_0x588844(0x32e)]['next']([]),this[_0x588844(0x32e)][_0x588844(0x334)]();}[_0x2444bc(0x37d)](){const _0x25248e=_0x2444bc;this[_0x25248e(0x1dd)]||(this[_0x25248e(0x1dd)]=!0x0,this[_0x25248e(0x308)]['sessionStatus$'][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this['dispose$']))[_0x25248e(0x274)](_0x2f2035=>{const _0x1820ed=_0x25248e;_0x2f2035===_0x21dc5a[_0x1820ed(0x36b)][_0x1820ed(0x348)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x25248e(0x308)]['event$'][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this[_0x25248e(0x3de)]))[_0x25248e(0x274)](_0x1a28e0=>{const _0x12ecd5=_0x25248e;let _0x4551dc=_0x1a28e0['eventID'];_0x4551dc===_0xf33e7d['CollaborationEvent'][_0x12ecd5(0x318)]&&this['_onCursorUpdate'](_0x1a28e0),_0x4551dc===_0xf33e7d[_0x12ecd5(0x3e4)][_0x12ecd5(0x418)]&&this['_onCursorDelete'](_0x1a28e0);}),this['disposeWithMe'](this['_commandService'][_0x25248e(0x1b3)](_0x3264ff=>{const _0x1f72b0=_0x25248e;let _0x4c1222=_0x3264ff[_0x1f72b0(0x1ca)];_0x4c1222!=null&&this['_online']&&_0x3264ff['id']===_0x15b933['SetTextSelectionsOperation']['id']&&_0x4c1222['unitId']===this[_0x1f72b0(0x177)]&&_0x4c1222['isEditing']===!0x1&&_0x4c1222[_0x1f72b0(0x27f)]['length']>0x0&&this['_updateLocalCursor'](_0x4c1222[_0x1f72b0(0x27f)]);})),this['_syncEditingCollabCursorService'][_0x25248e(0x43e)][_0x25248e(0x1e6)]((0x0,_0x31275f[_0x25248e(0x3a6)])(this[_0x25248e(0x3de)]))[_0x25248e(0x274)](_0xfcfdd4=>{const _0x150987=_0x25248e;if((_0xfcfdd4==null?void 0x0:_0xfcfdd4[_0x150987(0x177)])!==this[_0x150987(0x177)])return;let _0x5756d0={'eventID':_0xf33e7d[_0x150987(0x3e4)]['UPDATE_CURSOR'],'data':_0xfcfdd4};this['_onCursorUpdate'](_0x5756d0);}),this[_0x25248e(0x2f8)](this[_0x25248e(0x42e)][_0x25248e(0x1b3)](_0x12a26b=>{const _0x46a3f3=_0x25248e;if(_0x12a26b['params']==null)return;let _0x47879d=_0x12a26b[_0x46a3f3(0x1ca)];if(_0x12a26b['id']!==_0x15b933[_0x46a3f3(0x208)]['id']||_0x47879d[_0x46a3f3(0x2c1)]!==this[_0x46a3f3(0x177)])return;let _0x55e276={'id':_0x46a3f3(0x214),'params':_0x47879d},_0x27aa45=this[_0x46a3f3(0x166)];for(let [_0x15a58e,_0x2ed3bd]of _0x27aa45){let _0x214b99={'id':_0x46a3f3(0x214),'params':{'unitId':this[_0x46a3f3(0x177)],'actions':null,'textRanges':_0x2ed3bd['ranges']}},_0x4c71c4=this['_transformService'][_0x46a3f3(0x2d2)](_0x55e276,_0x214b99,!0x1);if((0x0,_0xf33e7d[_0x46a3f3(0x302)])(_0x4c71c4))throw _0x4c71c4['error'];_0x27aa45[_0x46a3f3(0x2da)](_0x15a58e,{..._0x2ed3bd,'ranges':_0x4c71c4['m2Prime']['params'][_0x46a3f3(0x295)]});}queueMicrotask(()=>{const _0x3e18c7=_0x46a3f3;this[_0x3e18c7(0x2ce)]['next'](_0x27aa45);});})));}[_0x2444bc(0x383)](_0x125371){const _0x113b86=_0x2444bc;var _0x5b35d9,_0x15126e;let {memberID:_0x537d9f,selection:_0x63e7a}=_0x125371[_0x113b86(0x321)],_0x430767=_0x16a883(_0x63e7a),_0x2caac7=(_0x5b35d9=(_0x15126e=this[_0x113b86(0x222)][_0x113b86(0x292)](this[_0x113b86(0x177)],_0x537d9f))==null?void 0x0:_0x15126e[_0x113b86(0x3b7)])==null?_0x113b86(0x26c):_0x5b35d9,_0x27a152={'color':this[_0x113b86(0x1bb)][_0x113b86(0x189)](_0x537d9f),'name':_0x2caac7,'ranges':_0x430767},_0x5f2d43=this[_0x113b86(0x166)];_0x5f2d43[_0x113b86(0x2da)](_0x537d9f,_0x27a152),this[_0x113b86(0x2ce)][_0x113b86(0x3f6)](_0x5f2d43);}[_0x2444bc(0x41a)](_0x40e488){const _0x47e837=_0x2444bc;let {memberID:_0xa37a37}=_0x40e488['data'],_0x4b7899=this[_0x47e837(0x166)];_0x4b7899[_0x47e837(0x242)](_0xa37a37),this[_0x47e837(0x2ce)][_0x47e837(0x3f6)](_0x4b7899);}[_0x2444bc(0x39c)](){const _0x2bc736=_0x2444bc;var _0x225c8a;if(this[_0x2bc736(0x238)]=!0x0,((_0x225c8a=this['_univerInstanceService'][_0x2bc736(0x303)]())==null?void 0x0:_0x225c8a[_0x2bc736(0x28c)]())!==this[_0x2bc736(0x177)])return;let _0x2a01a1=this[_0x2bc736(0x345)][_0x2bc736(0x1a1)](_0x15b933['DocSelectionManagerService'])['getDocRanges']();Array[_0x2bc736(0x3c0)](_0x2a01a1)&&_0x2a01a1[_0x2bc736(0x1ae)]>0x0&&this[_0x2bc736(0x203)](_0x2a01a1);}[_0x2444bc(0x1a5)](){const _0xcaf05b=_0x2444bc;this[_0xcaf05b(0x238)]=!0x1;}};_0x4003a7=_0x4e0ded([_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x1eb962)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a['MemberService'])),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x26444f)),_0x23d40f(0x6,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x7,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x8,_0x430976[_0x2444bc(0x2c0)])],_0x4003a7);let _0x418cad=()=>{let _0x4d409e=[],_0x29ba8f=!0x1;return _0x4e456b=>{const _0x37ab26=_0x3284;_0x4d409e[_0x37ab26(0x2fd)](_0x4e456b),_0x29ba8f||(_0x29ba8f=!0x0,setTimeout(()=>{_0x4d409e['forEach'](_0x3ed2c2=>_0x3ed2c2()),_0x4d409e=[],_0x29ba8f=!0x1;}));};},_0x282731=class extends _0x430976['RxDisposable']{get[_0x2444bc(0x166)](){const _0x32bc29=_0x2444bc;return this['_cursorInfo$'][_0x32bc29(0x2a1)]();}get[_0x2444bc(0x2aa)](){const _0x73a923=_0x2444bc;return this[_0x73a923(0x32e)]['getValue']();}constructor(_0x11b601,_0x3e514d,_0x432edb,_0x20876d,_0x31c498,_0x302066,_0x141467,_0xe78e9f){const _0x159b34=_0x2444bc;super(),this[_0x159b34(0x177)]=_0x11b601,this[_0x159b34(0x308)]=_0x3e514d,this[_0x159b34(0x345)]=_0x432edb,this[_0x159b34(0x1bb)]=_0x20876d,this[_0x159b34(0x222)]=_0x31c498,this[_0x159b34(0x40a)]=_0x302066,this[_0x159b34(0x42e)]=_0x141467,this['_refRangeService']=_0xe78e9f,_0x34d1c1(this,'_online',!0x1),_0x34d1c1(this,'_init',!0x1),_0x34d1c1(this,_0x159b34(0x2ce),new _0x31275f[(_0x159b34(0x1d0))](new Map())),_0x34d1c1(this,_0x159b34(0x3bc),this[_0x159b34(0x2ce)][_0x159b34(0x338)]()),_0x34d1c1(this,_0x159b34(0x32e),new _0x31275f['BehaviorSubject']([])),_0x34d1c1(this,_0x159b34(0x426),this[_0x159b34(0x32e)][_0x159b34(0x1e6)]((0x0,_0x31275f[_0x159b34(0x21a)])(0x12c))),_0x34d1c1(this,_0x159b34(0x203),(0x0,_0x430976['debounce'])((_0x34c9e1,_0x1d76f4)=>{const _0x17b98c=_0x159b34;let _0x41254d={'eventID':_0xf33e7d[_0x17b98c(0x3e4)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x17b98c(0x308)][_0x17b98c(0x40e)](),'selection':(0x0,_0x4b3ad6[_0x17b98c(0x3f8)])(_0x34c9e1,_0x1d76f4['range'])}};this[_0x17b98c(0x308)][_0x17b98c(0x364)](_0x41254d,this[_0x17b98c(0x177)]);},0x64));}[_0x2444bc(0x3d1)](){const _0x1c194d=_0x2444bc;super[_0x1c194d(0x3d1)](),this[_0x1c194d(0x2ce)]['next'](new Map()),this[_0x1c194d(0x2ce)][_0x1c194d(0x334)](),this[_0x1c194d(0x32e)][_0x1c194d(0x3f6)]([]),this[_0x1c194d(0x32e)]['complete']();}[_0x2444bc(0x37d)](){const _0x1ed5ea=_0x2444bc;this[_0x1ed5ea(0x1dd)]||(this[_0x1ed5ea(0x1dd)]=!0x0,this[_0x1ed5ea(0x308)][_0x1ed5ea(0x313)][_0x1ed5ea(0x1e6)]((0x0,_0x31275f[_0x1ed5ea(0x3a6)])(this[_0x1ed5ea(0x3de)]))['subscribe'](_0x3b3642=>{const _0x1eda12=_0x1ed5ea;_0x3b3642===_0x21dc5a['SessionStatus']['ONLINE']?this[_0x1eda12(0x39c)]():this['_toggleOffline']();}),this['_session']['event$'][_0x1ed5ea(0x1e6)]((0x0,_0x31275f['takeUntil'])(this[_0x1ed5ea(0x3de)]))[_0x1ed5ea(0x274)](_0x441c5e=>{const _0x152487=_0x1ed5ea;let _0x418de7=_0x441c5e['eventID'];_0x418de7===_0xf33e7d[_0x152487(0x3e4)][_0x152487(0x318)]&&this[_0x152487(0x383)](_0x441c5e),_0x418de7===_0xf33e7d[_0x152487(0x3e4)][_0x152487(0x418)]&&this[_0x152487(0x41a)](_0x441c5e);}),this[_0x1ed5ea(0x2ec)](),this[_0x1ed5ea(0x2f8)](this[_0x1ed5ea(0x42e)]['onCommandExecuted'](_0x1fa793=>{const _0x5a6d08=_0x1ed5ea;if(this[_0x5a6d08(0x238)]&&_0x1fa793['id']===_0x128162[_0x5a6d08(0x1b4)]['id']&&_0x1fa793['params'][_0x5a6d08(0x2c1)]===this[_0x5a6d08(0x177)]){let _0x1ec8e8=_0x1fa793[_0x5a6d08(0x1ca)];this['_updateLocalCursor'](_0x1ec8e8[_0x5a6d08(0x444)],_0x1ec8e8[_0x5a6d08(0x2f3)][0x0]);}})));}[_0x2444bc(0x383)](_0x377ec6){const _0x4f7a19=_0x2444bc;var _0x13d357,_0x2ab38a;let {memberID:_0x47ba2d,selection:_0x1b7f7d}=_0x377ec6[_0x4f7a19(0x321)],{sheetName:_0x24ccfc,range:_0x1810b5}=(0x0,_0x4b3ad6[_0x4f7a19(0x218)])(_0x1b7f7d),_0x321b84={'name':(_0x13d357=(_0x2ab38a=this['_memberService'][_0x4f7a19(0x292)](this[_0x4f7a19(0x177)],_0x47ba2d))==null?void 0x0:_0x2ab38a['name'])==null?'Unknown\x20user':_0x13d357,'range':this[_0x4f7a19(0x324)](_0x24ccfc,_0x1810b5),'sheetID':_0x24ccfc,'color':this['_colorAssignService'][_0x4f7a19(0x189)](_0x47ba2d),'selection':_0x1b7f7d},_0x38dba9=this[_0x4f7a19(0x166)];_0x38dba9[_0x4f7a19(0x2da)](_0x47ba2d,_0x321b84),this[_0x4f7a19(0x2ce)]['next'](_0x38dba9);}['_onCursorDelete'](_0x4ff1a5){const _0x3a9fd9=_0x2444bc;let {memberID:_0x59ce61}=_0x4ff1a5[_0x3a9fd9(0x321)],_0x1a5117=this['cursorInfo'];_0x1a5117[_0x3a9fd9(0x242)](_0x59ce61),this['_cursorInfo$']['next'](_0x1a5117);}[_0x2444bc(0x324)](_0x3d13fa,_0xcc1720){const _0x506b9e=_0x2444bc;var _0x496d0f;let _0x174697=(_0x496d0f=this[_0x506b9e(0x40a)][_0x506b9e(0x2e3)](this[_0x506b9e(0x177)]))==null||(_0x496d0f=_0x496d0f[_0x506b9e(0x21c)](_0x3d13fa))==null?void 0x0:_0x496d0f[_0x506b9e(0x297)]();return(_0x174697==null?void 0x0:_0x174697[_0x506b9e(0x2a6)](_0x5b8419=>_0x430976['Rectangle'][_0x506b9e(0x375)](_0x5b8419,_0xcc1720)))||_0xcc1720;}[_0x2444bc(0x2ec)](){const _0xbf99a2=_0x2444bc;let _0x5392f5=new _0x430976[(_0xbf99a2(0x2b0))](),_0xf7c6ec=_0x418cad(),_0x35544b=()=>{const _0x625a6a=_0xbf99a2;_0x5392f5[_0x625a6a(0x3d1)]();let _0x832263=(_0x5499f2,_0x5ae8a9,_0x4ae3d4,_0x2cbc67)=>{const _0x3e432b=_0x625a6a;let _0x4cf859=[];switch(_0x5499f2['id']){case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x3d5)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x373)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x34a)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x3c8)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x403)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x1b5)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x201)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x371)])(_0x5499f2,_0x2cbc67);break;case _0x128162['EffectRefRangId'][_0x3e432b(0x1e1)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x382)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x2f4)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x17f)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)][_0x3e432b(0x32d)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x40d)])(_0x5499f2,_0x2cbc67);break;case _0x128162['EffectRefRangId'][_0x3e432b(0x199)]:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x3e9)])(_0x5499f2,_0x2cbc67);break;case _0x128162[_0x3e432b(0x446)]['RemoveRowCommandId']:_0x4cf859=(0x0,_0x128162[_0x3e432b(0x245)])(_0x5499f2,_0x2cbc67);break;}let _0x5910b2=(0x0,_0x128162[_0x3e432b(0x2e6)])(_0x4cf859,_0x2cbc67),_0x4b36c2=this[_0x3e432b(0x166)][_0x3e432b(0x1a1)](_0x5ae8a9);if(_0x4b36c2&&_0x5910b2){let _0x476e39={..._0x4b36c2,'range':_0x5910b2};this[_0x3e432b(0x166)][_0x3e432b(0x2da)](_0x5ae8a9,_0x476e39),_0xf7c6ec(()=>{const _0x5b5b7e=_0x3e432b;let _0x13d815=this[_0x5b5b7e(0x36e)][_0x5b5b7e(0x3e1)](_0x5910b2,_0x372c61=>(_0x13d815[_0x5b5b7e(0x3d1)](),_0x832263(_0x372c61,_0x5ae8a9,_0x4ae3d4,_0x5910b2)));_0x5392f5[_0x5b5b7e(0x385)](_0x13d815);});}return{'redos':[],'undos':[]};};this[_0x625a6a(0x166)][_0x625a6a(0x380)]((_0x5c0384,_0x39e40d)=>{const _0xef832f=_0x625a6a;let {range:_0x1305d6,sheetID:_0x59981c}=_0x5c0384,_0x41a45e=this[_0xef832f(0x36e)][_0xef832f(0x3e1)](_0x1305d6,_0x47bc76=>(_0x41a45e[_0xef832f(0x3d1)](),_0x832263(_0x47bc76,_0x39e40d,_0x59981c,_0x1305d6)));_0x5392f5[_0xef832f(0x385)](_0x41a45e);});};this['disposeWithMe']((0x0,_0x430976[_0xbf99a2(0x3d7)])(this[_0xbf99a2(0x2ce)][_0xbf99a2(0x274)](()=>{_0x35544b();})));}[_0x2444bc(0x39c)](){const _0x42a14f=_0x2444bc;var _0x447d74,_0x25d053;if(this[_0x42a14f(0x238)]=!0x0,((_0x447d74=this['_univerInstanceService'][_0x42a14f(0x303)]())==null?void 0x0:_0x447d74[_0x42a14f(0x28c)]())!==this['unitID'])return;let _0x1e3d4b=(_0x25d053=this['_injector'][_0x42a14f(0x1a1)](_0x128162['SheetsSelectionsService'])[_0x42a14f(0x3da)]())==null?void 0x0:_0x25d053[0x0],_0x4ba836=this['_univerInstanceService'][_0x42a14f(0x16e)](_0x430976[_0x42a14f(0x1f9)][_0x42a14f(0x36d)])['getActiveSheet']();_0x1e3d4b&&_0x4ba836&&this[_0x42a14f(0x203)](_0x4ba836['getSheetId'](),_0x1e3d4b);}[_0x2444bc(0x1a5)](){const _0x39d8d5=_0x2444bc;this[_0x39d8d5(0x238)]=!0x1;}};_0x282731=_0x4e0ded([_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x1eb962)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x3b1)])),_0x23d40f(0x5,_0x430976['IUniverInstanceService']),_0x23d40f(0x6,_0x430976[_0x2444bc(0x2c0)]),_0x23d40f(0x7,(0x0,_0x430976[_0x2444bc(0x286)])(_0x128162[_0x2444bc(0x30e)]))],_0x282731);let _0x35fdec=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x3f485c,_0x5a4069,_0x4c0044){const _0x2320d8=_0x2444bc;super(),this[_0x2320d8(0x40a)]=_0x3f485c,this[_0x2320d8(0x345)]=_0x5a4069,this[_0x2320d8(0x15f)]=_0x4c0044,_0x34d1c1(this,'_entities',new Map()),_0x34d1c1(this,_0x2320d8(0x35a),new _0x31275f['Subject']()),this[_0x2320d8(0x1dd)]();}[_0x2444bc(0x3d1)](){const _0x57c3c2=_0x2444bc;super[_0x57c3c2(0x3d1)](),this[_0x57c3c2(0x35a)]['complete'](),this[_0x57c3c2(0x1bd)][_0x57c3c2(0x380)](_0x1472c5=>_0x1472c5['dispose']());}[_0x2444bc(0x440)](_0x12c378){const _0x3dc597=_0x2444bc;return this['_entities'][_0x3dc597(0x27b)](_0x12c378)?this[_0x3dc597(0x1bd)]['get'](_0x12c378)[_0x3dc597(0x3bc)]:this['_entityInit$'][_0x3dc597(0x1e6)]((0x0,_0x31275f[_0x3dc597(0x2b2)])(_0x147331=>_0x147331[_0x3dc597(0x177)]===_0x12c378),(0x0,_0x31275f[_0x3dc597(0x2ba)])(_0x159710=>_0x159710[_0x3dc597(0x3bc)]));}['_init'](){const _0x439c78=_0x2444bc;this[_0x439c78(0x40a)][_0x439c78(0x16c)](_0x430976[_0x439c78(0x1f9)]['UNIVER_SHEET'])[_0x439c78(0x1e6)]((0x0,_0x31275f[_0x439c78(0x3a6)])(this[_0x439c78(0x3de)]))[_0x439c78(0x274)](async _0x2c7c54=>{const _0xe9739=_0x439c78;let _0x5cb53b=_0x2c7c54[_0xe9739(0x1a2)][_0xe9739(0x28c)](),_0x4df34e=await this['_startSheetCollabCursor'](_0x5cb53b);this['_entityInit$'][_0xe9739(0x3f6)](_0x4df34e),this['_entities'][_0xe9739(0x2da)](_0x5cb53b,_0x4df34e);}),this[_0x439c78(0x40a)][_0x439c78(0x16c)](_0x430976[_0x439c78(0x1f9)]['UNIVER_DOC'])['pipe']((0x0,_0x31275f['takeUntil'])(this[_0x439c78(0x3de)]))['pipe']((0x0,_0x31275f[_0x439c78(0x2b2)])(_0x48f82d=>!_0x48f82d['unit'][_0x439c78(0x28c)]()[_0x439c78(0x1d2)]('__')))[_0x439c78(0x274)](async _0xfccb7d=>{const _0x484e8f=_0x439c78;let {unit:_0x26b552}=_0xfccb7d,_0x1c2efa=_0x26b552[_0x484e8f(0x28c)](),_0x240cfc=await this[_0x484e8f(0x441)](_0x1c2efa);this['_entityInit$']['next'](_0x240cfc),this[_0x484e8f(0x1bd)][_0x484e8f(0x2da)](_0x1c2efa,_0x240cfc);}),(0x0,_0x31275f[_0x439c78(0x2e0)])(this[_0x439c78(0x40a)]['getTypeOfUnitDisposed$'](_0x430976['UniverInstanceType']['UNIVER_DOC']),this[_0x439c78(0x40a)][_0x439c78(0x1ea)](_0x430976['UniverInstanceType'][_0x439c78(0x36d)]))[_0x439c78(0x1e6)]((0x0,_0x31275f['takeUntil'])(this[_0x439c78(0x3de)]))[_0x439c78(0x274)](_0x4560ea=>{const _0x785b69=_0x439c78;let _0x3659bd=_0x4560ea['getUnitId'](),_0x3020dc=this[_0x785b69(0x1bd)]['get'](_0x3659bd);_0x3020dc&&(_0x3020dc['dispose'](),this[_0x785b69(0x1bd)]['delete'](_0x3659bd));});}async[_0x2444bc(0x2b1)](_0x4c0cad){const _0x29fb51=_0x2444bc;let _0x3e860b=await this['_collabSessionService'][_0x29fb51(0x23b)](_0x4c0cad),_0x196c90=this[_0x29fb51(0x345)][_0x29fb51(0x1de)](_0x282731,_0x4c0cad,_0x3e860b);return _0x196c90[_0x29fb51(0x37d)](),_0x196c90;}async[_0x2444bc(0x441)](_0x2de621){const _0x41aa70=_0x2444bc;let _0x49b042=await this[_0x41aa70(0x15f)]['requireSession'](_0x2de621),_0x55d5e7=this[_0x41aa70(0x345)]['createInstance'](_0x4003a7,_0x2de621,_0x49b042);return _0x55d5e7[_0x41aa70(0x37d)](),_0x55d5e7;}};_0x35fdec=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x337)]))],_0x35fdec);function _0x1db1d9(_0x3ec6ce,_0x124365){const _0xaf4dac=_0x2444bc;var _0x20f5e3,_0xd17be6,_0x3e2fdd;let {radius:_0x388e3b,width:_0x24f051,height:_0x2a7ccf}=_0x124365;_0x388e3b=(_0x20f5e3=_0x388e3b)==null?0x0:_0x20f5e3,_0x24f051=(_0xd17be6=_0x24f051)==null?0x1e:_0xd17be6,_0x2a7ccf=(_0x3e2fdd=_0x2a7ccf)==null?0x1e:_0x3e2fdd;let _0x28ceec=0x0,_0x5a27fd=0x0,_0x4b1119=0x0;_0x28ceec=_0x5a27fd=_0x4b1119=Math['min'](_0x388e3b,_0x24f051/0x2,_0x2a7ccf/0x2),_0x3ec6ce[_0xaf4dac(0x162)](),_0x3ec6ce[_0xaf4dac(0x22d)](_0x28ceec,0x0),_0x3ec6ce['lineTo'](_0x24f051-_0x5a27fd,0x0),_0x3ec6ce[_0xaf4dac(0x376)](_0x24f051-_0x5a27fd,_0x5a27fd,_0x5a27fd,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ec6ce[_0xaf4dac(0x1ab)](_0x24f051,_0x2a7ccf-_0x4b1119),_0x3ec6ce[_0xaf4dac(0x376)](_0x24f051-_0x4b1119,_0x2a7ccf-_0x4b1119,_0x4b1119,0x0,Math['PI']/0x2,!0x1),_0x3ec6ce[_0xaf4dac(0x1ab)](0x0,_0x2a7ccf),_0x3ec6ce[_0xaf4dac(0x1ab)](0x0,_0x28ceec),_0x3ec6ce[_0xaf4dac(0x376)](_0x28ceec,_0x28ceec,_0x28ceec,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ec6ce['closePath'](),_0x124365[_0xaf4dac(0x1d3)]&&(_0x3ec6ce['save'](),_0x3ec6ce[_0xaf4dac(0x369)]=_0x124365['fill'],_0x124365['fillRule']===_0xaf4dac(0x182)?_0x3ec6ce[_0xaf4dac(0x1d3)](_0xaf4dac(0x182)):_0x3ec6ce['fill'](),_0x3ec6ce[_0xaf4dac(0x1e7)]());}var _0x24b8cf=class _0x337a06 extends _0x229561[_0x2444bc(0x3bf)]{constructor(_0xf84a76,_0x92bc14){const _0x119add=_0x2444bc;super(_0xf84a76,_0x92bc14),_0x34d1c1(this,'color',void 0x0),_0x34d1c1(this,_0x119add(0x2bf),void 0x0),this[_0x119add(0x284)]=_0x92bc14==null?void 0x0:_0x92bc14[_0x119add(0x284)],this['text']=_0x92bc14==null?void 0x0:_0x92bc14[_0x119add(0x2bf)];}static[_0x2444bc(0x3e5)](_0x16fd25,_0x5555c2){const _0x2ab842=_0x2444bc;let {text:_0x2df792,color:_0x20fd07}=_0x5555c2;_0x16fd25['save'](),_0x16fd25['font']=_0x2ab842(0x1c0);let _0xb30fc2=_0x16fd25['measureText'](_0x2df792)[_0x2ab842(0x391)];if(_0x1db1d9(_0x16fd25,{'height':0x14,'radius':0x4,'width':Math['min'](_0xb30fc2+0x8,0xc8),'fill':_0x20fd07,'evented':!0x1}),_0x16fd25['fillStyle']='#FFF',_0xb30fc2>0xc0){let _0x495ff5='',_0xef3838=0x0;for(let _0xf0a411 of _0x2df792){let _0x5a3153=_0x16fd25[_0x2ab842(0x326)](_0xf0a411)['width'];if(_0xef3838+_0x5a3153<=0xc0-_0x16fd25['measureText']('...')[_0x2ab842(0x391)])_0x495ff5+=_0xf0a411,_0xef3838+=_0x5a3153;else{_0x495ff5+=_0x2ab842(0x243);break;}}_0x16fd25[_0x2ab842(0x22a)](_0x495ff5,0x4,0xf);}else _0x16fd25[_0x2ab842(0x22a)](_0x2df792,0x4,0xf);_0x16fd25[_0x2ab842(0x1e7)]();}[_0x2444bc(0x3ef)](_0x1e9327){const _0x597a3c=_0x2444bc;_0x337a06[_0x597a3c(0x3e5)](_0x1e9327,this);}};let _0xff85b7=_0x2444bc(0x3f7);var _0x1b469c=class{constructor(_0x942eb2,_0x419172,_0x4eb404,_0x3468e8){const _0x32ca68=_0x2444bc;this['_cursor']=_0x942eb2,this[_0x32ca68(0x3ff)]=_0x419172,this['_docSkeleton']=_0x4eb404,this['_document']=_0x3468e8,_0x34d1c1(this,_0x32ca68(0x3d9),[]),_0x34d1c1(this,_0x32ca68(0x3eb),null),_0x34d1c1(this,_0x32ca68(0x237),null),_0x34d1c1(this,'_anchorDot',null),_0x34d1c1(this,'_hideTimer',null),_0x34d1c1(this,_0x32ca68(0x3c6),null),this['_render']();}set['_hover'](_0x1bd91a){const _0x1e2177=_0x2444bc;_0x1bd91a?(this['_anchorDot']&&this['_anchorDot'][_0x1e2177(0x2c3)](),this[_0x1e2177(0x237)]&&this[_0x1e2177(0x237)]['show']()):(this[_0x1e2177(0x28b)]&&this[_0x1e2177(0x28b)]['show'](),this[_0x1e2177(0x237)]&&this['_textBubble'][_0x1e2177(0x2c3)]());}[_0x2444bc(0x3d1)](){const _0x36f9d8=_0x2444bc;for(let _0xebfdfe of this[_0x36f9d8(0x3d9)])_0xebfdfe['dispose']();this[_0x36f9d8(0x237)]&&this[_0x36f9d8(0x237)]['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x36f9d8(0x3eb)][_0x36f9d8(0x3d1)](),this[_0x36f9d8(0x3c6)]&&this[_0x36f9d8(0x3c6)]();}['_render'](){const _0x2d2ca6=_0x2444bc;let {_docSkeleton:_0x247013,_document:_0x199ba8}=this,{color:_0x49ae97,name:_0x3f4f80,ranges:_0xf3a37e}=this[_0x2d2ca6(0x24f)],_0x5a1725=_0x199ba8[_0x2d2ca6(0x173)](),{docsLeft:_0x3f473e,docsTop:_0x3708bc}=_0x5a1725,_0x125dcc=new _0x3733f8['NodePositionConvertToCursor'](_0x5a1725,_0x247013);for(let {startOffset:_0x4e1364,endOffset:_0x57ed1e,rangeType:_0x223e07,segmentId:_0x426e3c,segmentPage:_0x83b598,collapsed:_0x214dfd,isActive:_0x3dc28e}of _0xf3a37e){let _0x54d6ee=_0x247013[_0x2d2ca6(0x265)](_0x4e1364,!0x0,_0x426e3c,_0x83b598),_0x55f911=_0x247013[_0x2d2ca6(0x265)](_0x57ed1e,!0x0,_0x426e3c,_0x83b598);if(_0x55f911==null&&(_0x55f911=_0x247013[_0x2d2ca6(0x265)](_0x57ed1e-0x1,!0x1,_0x426e3c,_0x83b598)),_0x3dc28e){let {contentBoxPointGroup:_0x5f548a}=_0x125dcc[_0x2d2ca6(0x249)](_0x55f911,_0x55f911);if(_0x5f548a[_0x2d2ca6(0x1ae)]===0x0)continue;this[_0x2d2ca6(0x40c)](_0x49ae97,_0x5f548a,_0x3f473e,_0x3708bc,_0x3f4f80),this[_0x2d2ca6(0x3c6)]=this[_0x2d2ca6(0x1f5)]();}if(_0x54d6ee&&_0x55f911){if(_0x223e07===_0x430976[_0x2d2ca6(0x336)][_0x2d2ca6(0x1c4)]){var _0x2eff5f;let {pointGroup:_0x212660}=(_0x2eff5f=new _0x3733f8[(_0x2d2ca6(0x2c6))](_0x5a1725,_0x247013)[_0x2d2ca6(0x249)](_0x54d6ee,_0x55f911))==null?{}:_0x2eff5f;if(_0x212660==null||_0x212660[_0x2d2ca6(0x1ae)]===0x0)continue;this['_drawRectRange'](_0x49ae97,_0x212660,_0x3f473e,_0x3708bc);}else{if(!_0x214dfd){let {borderBoxPointGroup:_0x1a60f4}=_0x125dcc[_0x2d2ca6(0x249)](_0x54d6ee,_0x55f911);if(_0x1a60f4[_0x2d2ca6(0x1ae)]===0x0)continue;this['_drawTextRange'](_0x49ae97,_0x1a60f4,_0x3f473e,_0x3708bc);}}}}}[_0x2444bc(0x40c)](_0x399196,_0x4f570a,_0xcaadd9,_0xedd659,_0x307e37){const _0x409a8e=_0x2444bc;let {left:_0x336118,top:_0x2ada26,height:_0x48a4ea}=this['_getAnchorBounding'](_0x4f570a),_0x207c6b=1.5/this['_getScale'](),_0x2e5a4c=new _0x229561[(_0x409a8e(0x2db))](_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659,'height':_0x48a4ea,'width':1.5,'fill':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976[_0x409a8e(0x3cc)][_0x409a8e(0x28d)],0x0),'strokeWidth':_0x207c6b,'stroke':_0x409a8e(0x1f6),'evented':!0x0});this[_0x409a8e(0x3eb)]=_0x2e5a4c,this[_0x409a8e(0x3ff)][_0x409a8e(0x3a7)](_0x2e5a4c,_0x3733f8[_0x409a8e(0x183)]);let _0x3f03c5=new _0x229561[(_0x409a8e(0x2db))](_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976[_0x409a8e(0x3cc)][_0x409a8e(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x399196||(0x0,_0x229561[_0x409a8e(0x2dd)])(_0x430976['COLORS']['black'],0x0),'evented':!0x1});this[_0x409a8e(0x28b)]=_0x3f03c5,this['_scene'][_0x409a8e(0x3a7)](_0x3f03c5,_0x3733f8[_0x409a8e(0x183)]);let _0x255a67=new _0x24b8cf(_0xff85b7+(0x0,_0x430976[_0x409a8e(0x16b)])(0x6),{'left':_0x336118+_0xcaadd9-_0x207c6b,'top':_0x2ada26+_0xedd659-0x14,'text':_0x307e37,'color':_0x399196});this[_0x409a8e(0x237)]=_0x255a67,this[_0x409a8e(0x3ff)][_0x409a8e(0x3a7)](_0x255a67,_0x3733f8[_0x409a8e(0x183)]),this[_0x409a8e(0x3e7)]=!0x1;}[_0x2444bc(0x1f5)](){const _0x1a3264=_0x2444bc;let _0x4f2a04=this[_0x1a3264(0x3eb)][_0x1a3264(0x305)][_0x1a3264(0x195)](()=>{const _0x3c328e=_0x1a3264;this[_0x3c328e(0x3e7)]=!0x0;}),_0x22cf34=this[_0x1a3264(0x3eb)]['onPointerLeave$'][_0x1a3264(0x195)](()=>{const _0x30ba95=_0x1a3264;this[_0x30ba95(0x181)]&&clearTimeout(this[_0x30ba95(0x181)]),this[_0x30ba95(0x181)]=setTimeout(()=>{const _0x1849f9=_0x30ba95;this[_0x1849f9(0x3e7)]=!0x1;},0x7d0);});return()=>{const _0x11865b=_0x1a3264;_0x4f2a04[_0x11865b(0x3a0)](),_0x22cf34[_0x11865b(0x3a0)]();};}[_0x2444bc(0x2b4)](_0x56b9b0,_0x53c124,_0x93b563,_0x351169){const _0x2dc2c9=_0x2444bc;let _0x4f05d1=0.2,_0x3fc9ad=new _0x430976[(_0x2dc2c9(0x360))](_0x56b9b0)[_0x2dc2c9(0x1e9)](_0x4f05d1)['toRgbString'](),_0x5bf9ec=new _0x229561['RegularPolygon'](_0x2dc2c9(0x17e)+(0x0,_0x430976[_0x2dc2c9(0x16b)])(0x6),{'pointsGroup':_0x53c124,'fill':_0x3fc9ad||(0x0,_0x229561[_0x2dc2c9(0x2dd)])(_0x430976['COLORS']['black'],_0x4f05d1),'left':_0x93b563,'top':_0x351169,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2dc2c9(0x3d9)][_0x2dc2c9(0x2fd)](_0x5bf9ec),this[_0x2dc2c9(0x3ff)][_0x2dc2c9(0x3a7)](_0x5bf9ec,_0x3733f8[_0x2dc2c9(0x183)]);}[_0x2444bc(0x32c)](_0x17be29,_0x4b67ca,_0x129c1b,_0x4a9cb7){const _0xb2ec7b=_0x2444bc;let _0x216998=0.2,_0x45459f=new _0x430976[(_0xb2ec7b(0x360))](_0x17be29)[_0xb2ec7b(0x1e9)](_0x216998)[_0xb2ec7b(0x1f0)](),_0x385b89=new _0x229561[(_0xb2ec7b(0x1ad))](_0xb2ec7b(0x33f)+(0x0,_0x430976[_0xb2ec7b(0x16b)])(0x6),{'pointsGroup':_0x4b67ca,'fill':_0x45459f||(0x0,_0x229561['getColor'])(_0x430976[_0xb2ec7b(0x3cc)][_0xb2ec7b(0x28d)],_0x216998),'left':_0x129c1b,'top':_0x4a9cb7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb2ec7b(0x3d9)][_0xb2ec7b(0x2fd)](_0x385b89),this['_scene']['addObject'](_0x385b89,_0x3733f8[_0xb2ec7b(0x183)]);}[_0x2444bc(0x29b)](_0x33c9da){let _0xd5aae8=_0x33c9da[0x0],_0x4806e6=_0xd5aae8[0x0],_0x1e2f91=_0xd5aae8[0x2],{x:_0x5e387b,y:_0x1b3f48}=_0x4806e6,{x:_0x46ea9b,y:_0x190d4b}=_0x1e2f91;return{'left':_0x5e387b,'top':_0x1b3f48,'width':_0x46ea9b-_0x5e387b,'height':_0x190d4b-_0x1b3f48};}['_getScale'](){const _0xdbf45b=_0x2444bc;let {scaleX:_0x333a6b,scaleY:_0xa92b4e}=this['_scene'][_0xdbf45b(0x205)]();return Math[_0xdbf45b(0x1d1)](_0x333a6b,_0xa92b4e);}};let _0x5b9eec=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x16ffa1,_0x4aa429,_0x106b24,_0x3de8aa,_0xf71bdf){const _0x549eaf=_0x2444bc;super(),this[_0x549eaf(0x432)]=_0x16ffa1,this[_0x549eaf(0x2bc)]=_0x4aa429,this['_collabCursorController']=_0x106b24,this[_0x549eaf(0x42e)]=_0x3de8aa,this['_themeService']=_0xf71bdf,_0x34d1c1(this,_0x549eaf(0x2ac),[]),_0x34d1c1(this,'_cursors',[]),this['_init']();}[_0x2444bc(0x1dd)](){const _0x4eaf06=_0x2444bc;let _0x3b830f=this['_context']['unitId'],_0x146819=this[_0x4eaf06(0x2bc)];this['disposeWithMe']((0x0,_0x31275f[_0x4eaf06(0x23d)])([this['_collabCursorController']['getCollabCursors$'](_0x3b830f),this[_0x4eaf06(0x187)]['currentTheme$']])[_0x4eaf06(0x1e6)]((0x0,_0xdec434[_0x4eaf06(0x404)])(([_0x1bd7e4,_0x31a2f6])=>({'skeleton':_0x146819[_0x4eaf06(0x30f)](),'cursors':[..._0x1bd7e4[_0x4eaf06(0x213)]()][_0x4eaf06(0x211)](_0x214cb2=>({..._0x214cb2,'color':this[_0x4eaf06(0x187)]['getColorFromTheme'](_0x214cb2['color'])}))})))[_0x4eaf06(0x274)](_0x199caf=>{const _0x17dd20=_0x4eaf06;if(this[_0x17dd20(0x421)](),_0x199caf){let {skeleton:_0x24326c,cursors:_0x112fed}=_0x199caf;this[_0x17dd20(0x2f9)](_0x24326c,_0x112fed);}})),this[_0x4eaf06(0x2d8)](),this[_0x4eaf06(0x2c8)]();}[_0x2444bc(0x2f9)](_0x2a69c8,_0x37dc3c){const _0x48e0ed=_0x2444bc;let {scene:_0x203e28,mainComponent:_0x1d1bad}=this[_0x48e0ed(0x432)],_0x2a8847=_0x37dc3c[_0x48e0ed(0x404)](_0x5d2383=>new _0x1b469c(_0x5d2383,_0x203e28,_0x2a69c8,_0x1d1bad));this[_0x48e0ed(0x2ac)]=_0x2a8847,this['_cursors']=_0x37dc3c;}[_0x2444bc(0x3ed)](){const _0x5ac839=_0x2444bc;this[_0x5ac839(0x421)]();let {scene:_0x28997f,mainComponent:_0x383f5b}=this['_context'],_0x116fe1=this[_0x5ac839(0x2bc)][_0x5ac839(0x30f)](),_0x181b06=this['_cursors']['map'](_0x3f4ab8=>new _0x1b469c(_0x3f4ab8,_0x28997f,_0x116fe1,_0x383f5b));this[_0x5ac839(0x2ac)]=_0x181b06;}[_0x2444bc(0x421)](){const _0x3e5625=_0x2444bc;this[_0x3e5625(0x2ac)][_0x3e5625(0x380)](_0x40d2fe=>_0x40d2fe['dispose']()),this['_cursorShapes']=[];}[_0x2444bc(0x2c8)](){const _0x3ddb77=_0x2444bc;let _0x546f8e=[_0x3733f8[_0x3ddb77(0x44c)]['id']];this[_0x3ddb77(0x2f8)](this['_commandService'][_0x3ddb77(0x1b3)](_0x15d9a5=>{const _0x119561=_0x3ddb77;_0x546f8e[_0x119561(0x448)](_0x15d9a5['id'])&&_0x15d9a5['params'][_0x119561(0x2c1)]===this[_0x119561(0x432)]['unitId']&&this[_0x119561(0x3ed)]();}));}[_0x2444bc(0x2d8)](){const _0x7242b5=_0x2444bc;this['disposeWithMe']((0x0,_0x430976['fromEventSubject'])(this[_0x7242b5(0x432)][_0x7242b5(0x32b)][_0x7242b5(0x447)])[_0x7242b5(0x1e6)]((0x0,_0xdec434['filter'])(_0x118abd=>_0x118abd['type']===_0x229561['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x7242b5(0x325)]),(0x0,_0xdec434[_0x7242b5(0x2f2)])(0x10))[_0x7242b5(0x274)](()=>{const _0x64f07f=_0x7242b5;this[_0x64f07f(0x3ed)]();}));}};_0x5b9eec=_0x4e0ded([_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x15b933[_0x2444bc(0x276)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x35fdec)),_0x23d40f(0x3,_0x430976['ICommandService']),_0x23d40f(0x4,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x16d)]))],_0x5b9eec);var _0x102c6d=class extends _0x229561['Shape']{constructor(_0xf2b8fa,_0x23a567){const _0x122920=_0x2444bc;if(super(_0xf2b8fa,_0x23a567),_0x34d1c1(this,_0x122920(0x1b0),void 0x0),_0x34d1c1(this,_0x122920(0x3a9),!0x1),_0x34d1c1(this,_0x122920(0x44d),void 0x0),_0x34d1c1(this,'_name',''),_0x34d1c1(this,_0x122920(0x329),'top'),_0x34d1c1(this,'_backgroundColor',void 0x0),_0x34d1c1(this,_0x122920(0x428),void 0x0),_0x34d1c1(this,_0x122920(0x3ca),void 0x0),_0x34d1c1(this,_0x122920(0x1bc),0x4),_0x34d1c1(this,_0x122920(0x3fa),void 0x0),_0x34d1c1(this,_0x122920(0x2a5),void 0x0),_0x34d1c1(this,_0x122920(0x3df),!0x0),_0x34d1c1(this,_0x122920(0x255),0x0),_0x23a567){var _0x4655e1;if(this[_0x122920(0x24e)](_0x23a567),_0x23a567['highlight']&&((_0x4655e1=_0x23a567[_0x122920(0x34f)])==null?this['_highlightSecond']:_0x4655e1)){var _0x454d15;this[_0x122920(0x2d5)]((_0x454d15=_0x23a567['highlightSecond'])==null?this['_highlightSecond']:_0x454d15);}}this['onPointerEnter$'][_0x122920(0x195)](()=>this[_0x122920(0x24e)]({'hovered':!0x0})),this[_0x122920(0x1ed)][_0x122920(0x195)](()=>this[_0x122920(0x24e)]({'hovered':!0x1}));}[_0x2444bc(0x285)](_0x5f2807){const _0x2747b0=_0x2444bc;this[_0x2747b0(0x255)]=_0x5f2807;}[_0x2444bc(0x24e)](_0x9cdf04){const _0x20528e=_0x2444bc;var _0x548e35,_0x1269aa,_0x236820,_0x3778c0,_0x3d6dfb,_0x225c27,_0xc67e3a;this[_0x20528e(0x1b0)]=(_0x548e35=_0x9cdf04[_0x20528e(0x284)])==null?this['_color']:_0x548e35,this[_0x20528e(0x3a9)]=(_0x1269aa=_0x9cdf04[_0x20528e(0x1b8)])==null?this['_hovered']:_0x1269aa,this[_0x20528e(0x44d)]=(_0x236820=_0x9cdf04['range'])==null?this[_0x20528e(0x44d)]:_0x236820,this[_0x20528e(0x445)]=(_0x3778c0=_0x9cdf04['name'])==null?this[_0x20528e(0x445)]:_0x3778c0,this[_0x20528e(0x329)]=(_0x3d6dfb=_0x9cdf04[_0x20528e(0x31c)])==null?this[_0x20528e(0x329)]:_0x3d6dfb,this[_0x20528e(0x438)]=(_0x225c27=_0x9cdf04[_0x20528e(0x18e)])==null?this[_0x20528e(0x438)]:_0x225c27,this['_showText']=(_0xc67e3a=_0x9cdf04[_0x20528e(0x3cf)])==null?this[_0x20528e(0x428)]:_0xc67e3a,_0x9cdf04[_0x20528e(0x34f)]!==void 0x0&&(this[_0x20528e(0x1bc)]=_0x9cdf04[_0x20528e(0x34f)]),_0x9cdf04[_0x20528e(0x3a1)]!==void 0x0&&(this[_0x20528e(0x3ca)]=_0x9cdf04[_0x20528e(0x3a1)]),_0x9cdf04[_0x20528e(0x3a5)]!==void 0x0&&(this['_offsetY']=_0x9cdf04[_0x20528e(0x3a5)]),this[_0x20528e(0x2fe)]({'width':_0x9cdf04[_0x20528e(0x391)],'height':_0x9cdf04[_0x20528e(0x2dc)]});}[_0x2444bc(0x31d)](_0x86f7aa){const _0x15baf6=_0x2444bc;let {row:_0x1e39fc,column:_0x4fcb42}=_0x86f7aa;if(_0x1e39fc>=this['_range'][_0x15baf6(0x400)]&&_0x1e39fc<=this[_0x15baf6(0x44d)]['endRow']&&_0x4fcb42>=this[_0x15baf6(0x44d)][_0x15baf6(0x316)]&&_0x4fcb42<=this['_range'][_0x15baf6(0x228)]){this[_0x15baf6(0x24e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2444bc(0x2d5)](_0x15158a){const _0xf6c714=_0x2444bc;this[_0xf6c714(0x236)](),this[_0xf6c714(0x3df)]=!0x0,this[_0xf6c714(0x2a5)]=window['setInterval'](()=>{const _0x5d03e9=_0xf6c714;this[_0x5d03e9(0x3df)]=!this['_isBlinkVisible'],this[_0x5d03e9(0x2bd)](!0x0);},0x1f4),this[_0xf6c714(0x3fa)]=window[_0xf6c714(0x38a)](()=>{const _0x8b31b0=_0xf6c714;this[_0x8b31b0(0x236)](),this[_0x8b31b0(0x3df)]=!0x0,this[_0x8b31b0(0x2bd)](!0x0);},_0x15158a*0x3e8);}['_stopBlinking'](){const _0x39ce04=_0x2444bc;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x39ce04(0x2a5)]),this[_0x39ce04(0x2a5)]=void 0x0),this[_0x39ce04(0x3fa)]&&(window[_0x39ce04(0x3ee)](this['_blinkTimer']),this[_0x39ce04(0x3fa)]=void 0x0);}[_0x2444bc(0x3ba)](_0x291f26){return!0x1;}['dispose'](){const _0x514cc4=_0x2444bc;this[_0x514cc4(0x236)](),super['dispose']();}[_0x2444bc(0x3ef)](_0xe6dc24){const _0x33e4aa=_0x2444bc;let _0x1f08f2=this['_color'],_0x2f74f6=this[_0x33e4aa(0x438)];if(this[_0x33e4aa(0x3ca)]&&!this[_0x33e4aa(0x3df)]&&(_0x1f08f2=this[_0x33e4aa(0x2ee)](this[_0x33e4aa(0x1b0)]),_0x2f74f6=this['_backgroundColor']?this[_0x33e4aa(0x2ee)](this[_0x33e4aa(0x438)]):void 0x0),_0x229561['Rect'][_0x33e4aa(0x3e5)](_0xe6dc24,{'width':this[_0x33e4aa(0x391)],'height':this['height'],'strokeWidth':this[_0x33e4aa(0x2e2)]||1.5,'stroke':_0x1f08f2,'evented':!0x1,'fill':_0x2f74f6}),this['_hovered']||this['_showText']){var _0x146d02;_0xe6dc24[_0x33e4aa(0x34e)](),_0xe6dc24[_0x33e4aa(0x3dd)](0x1,0x0,0x0,0x1,this[_0x33e4aa(0x391)],(this['_labelPosition']==='bottom'?0x0:-0x14)+((_0x146d02=this[_0x33e4aa(0x255)])==null?0x0:_0x146d02)),_0x24b8cf['drawWith'](_0xe6dc24,{'text':this['_name'],'color':_0x1f08f2}),_0xe6dc24[_0x33e4aa(0x1e7)]();}}[_0x2444bc(0x2ee)](_0x19dbea){const _0x44238a=_0x2444bc;return _0x19dbea[_0x44238a(0x1d2)]('#')?_0x44238a(0x2c2)+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x19dbea[_0x44238a(0x425)](0x5,0x7),0x10)+_0x44238a(0x2f0):_0x19dbea['startsWith'](_0x44238a(0x346))?_0x19dbea[_0x44238a(0x29e)](/[\d.]+\)$/g,_0x44238a(0x2b7)):_0x19dbea[_0x44238a(0x1d2)](_0x44238a(0x267))?_0x19dbea[_0x44238a(0x29e)](_0x44238a(0x267),_0x44238a(0x346))['replace'](')',_0x44238a(0x2f0)):_0x19dbea;}};let _0x525a2f=class extends _0x430976[_0x2444bc(0x1c2)]{constructor(_0x914a95,_0x2e38f7,_0x3190c6,_0x433f09){const _0x325805=_0x2444bc;super(),this['_context']=_0x914a95,this[_0x325805(0x29c)]=_0x2e38f7,this[_0x325805(0x256)]=_0x3190c6,this[_0x325805(0x187)]=_0x433f09,_0x34d1c1(this,_0x325805(0x296),new Set()),_0x34d1c1(this,_0x325805(0x435),null),_0x34d1c1(this,_0x325805(0x186),null),this[_0x325805(0x1dd)]();}['_init'](){const _0x3620d9=_0x2444bc;this[_0x3620d9(0x29c)][_0x3620d9(0x1b9)][_0x3620d9(0x1e6)]((0x0,_0xdec434[_0x3620d9(0x3a6)])(this['dispose$']),(0x0,_0xdec434['switchMap'])(_0x5c4d34=>{const _0x27f796=_0x3620d9;if(_0x5c4d34){let _0x49f5f7=_0x5c4d34[_0x27f796(0x1bf)];return(0x0,_0x31275f[_0x27f796(0x23d)])(this[_0x27f796(0x256)][_0x27f796(0x440)](this[_0x27f796(0x432)][_0x27f796(0x2c1)]),this[_0x27f796(0x187)]['currentTheme$'])[_0x27f796(0x1e6)]((0x0,_0xdec434[_0x27f796(0x404)])(([_0x11681f,_0x13fb83])=>{const _0x2f4204=_0x27f796;let _0x11149a=new Map();return _0x11681f[_0x2f4204(0x380)]((_0x426986,_0x476c8f)=>{const _0x26eb08=_0x2f4204;if(_0x426986['sheetID']===_0x49f5f7){let _0x2f2941={..._0x426986};_0x2f2941[_0x26eb08(0x284)]=this['_themeService'][_0x26eb08(0x36f)](_0x426986['color']),_0x11149a[_0x26eb08(0x2da)](_0x476c8f,_0x2f2941);}}),{'skeleton':_0x5c4d34,'cursors':_0x11149a};}));}return(0x0,_0x31275f['of'])({'skeleton':null,'cursors':new Map()});}))[_0x3620d9(0x274)](({skeleton:_0x4c5d1f,cursors:_0x295668})=>{const _0x5acd5d=_0x3620d9;this[_0x5acd5d(0x421)](),_0x4c5d1f&&this['_updateCollabCursors'](_0x4c5d1f,_0x295668);}),this[_0x3620d9(0x2f8)](this[_0x3620d9(0x29c)][_0x3620d9(0x1b9)][_0x3620d9(0x1e6)]((0x0,_0xdec434[_0x3620d9(0x3a6)])(this['dispose$']))[_0x3620d9(0x274)](_0x5d48d2=>{const _0x5b4c5c=_0x3620d9;var _0x281213;if(_0x5d48d2==null)return;(_0x281213=this[_0x5b4c5c(0x186)])==null||_0x281213[_0x5b4c5c(0x3a0)](),this[_0x5b4c5c(0x186)]=null;let {skeleton:_0x1f563a}=_0x5d48d2,{scene:_0xeee100}=this['_context'];this[_0x5b4c5c(0x186)]=_0xeee100[_0x5b4c5c(0x1ec)][_0x5b4c5c(0x195)]((0x0,_0x430976['debounce'])(_0x33032e=>{const _0x33ca2e=_0x5b4c5c;var _0x1ff27b,_0xc71957;let {offsetX:_0x4db543,offsetY:_0x1555e1}=_0x33032e,{x:_0x17e122,y:_0x52efdf}=_0xeee100[_0x33ca2e(0x1e2)](_0x229561['Vector2']['FromArray']([_0x4db543,_0x1555e1])),{scaleX:_0x22edbb,scaleY:_0x549485}=_0xeee100[_0x33ca2e(0x205)](),_0x1c17b8=_0xeee100[_0x33ca2e(0x347)](_0x229561['SHEET_VIEWPORT_KEY'][_0x33ca2e(0x408)]),_0x53151e=_0xeee100['getVpScrollXYInfoByPosToVp'](_0x229561[_0x33ca2e(0x333)][_0x33ca2e(0x1fa)]([_0x17e122,_0x52efdf]),_0x1c17b8),_0x4776b7=_0x1f563a[_0x33ca2e(0x423)](_0x4db543,_0x1555e1,_0x22edbb,_0x549485,_0x53151e);((_0x1ff27b=this['_lastPointer'])==null?void 0x0:_0x1ff27b['column'])===_0x4776b7['column']&&((_0xc71957=this[_0x33ca2e(0x435)])==null?void 0x0:_0xc71957['row'])===_0x4776b7[_0x33ca2e(0x31f)]||this[_0x33ca2e(0x296)][_0x33ca2e(0x380)](_0x58f44a=>{_0x58f44a['onMouseMove'](_0x4776b7);});},0x64));})),this[_0x3620d9(0x2f8)]((0x0,_0x430976[_0x3620d9(0x3d7)])(()=>{const _0x3261f1=_0x3620d9;var _0x288191;(_0x288191=this['_pointerMoveDisposable'])==null||_0x288191[_0x3261f1(0x3a0)](),this['_pointerMoveDisposable']=null;}));}['_updateCollabCursors'](_0x4afe52,_0x49c95b){const _0x23d126=_0x2444bc;let _0x258b52=this[_0x23d126(0x29c)][_0x23d126(0x372)]();if(!_0x258b52)return;let _0x4625cb=this['_getSheetObject']();if(!_0x4625cb)return;this[_0x23d126(0x296)][_0x23d126(0x380)](_0x4356f6=>{const _0xd46ea3=_0x23d126;_0x4356f6[_0xd46ea3(0x2bd)]();});let {scene:_0x33275f}=_0x4625cb,_0x52d276=_0x2838a4(Array['from'](_0x49c95b[_0x23d126(0x213)]()))[_0x23d126(0x404)](_0x540fc7=>{const _0x3b00ca=_0x23d126;let {color:_0x2e1680,range:_0x5e33b0,name:_0x297eee,selection:_0x5b5edb,sheetID:_0xad60c0}=_0x540fc7,{startColumn:_0x86c67f,startRow:_0x2423a5,endColumn:_0x32028c,endRow:_0x5616fe}=_0x5e33b0,_0x503262=(0x0,_0x3430f3[_0x3b00ca(0x268)])(_0x2423a5,_0x86c67f,_0x33275f,_0x258b52),_0x143020=(0x0,_0x3430f3['getCoordByCell'])(_0x5616fe,_0x32028c,_0x33275f,_0x258b52),{columnHeaderHeightAndMarginTop:_0x2b4cfb}=_0x258b52,{startX:_0x36a9da,startY:_0x168650}=_0x503262,{endX:_0x2a3fc0,endY:_0xaa0dbc}=_0x143020,_0x2de099=_0x2a3fc0-_0x36a9da,_0x435e01=_0xaa0dbc-_0x168650;return new _0x102c6d(_0x297eee,{'labelPosition':_0x168650-_0x2b4cfb>=0x14?_0x3b00ca(0x3aa):'bottom','sheetID':_0xad60c0,'range':_0x5e33b0,'color':_0x2e1680,'name':_0x297eee,'selection':_0x5b5edb,'left':_0x36a9da,'top':_0x168650,'width':_0x2de099,'height':_0x435e01,'evented':!0x1,'zIndex':0x1389});});_0x33275f[_0x23d126(0x374)](_0x52d276,0x1),this[_0x23d126(0x296)]=new Set(_0x52d276);}[_0x2444bc(0x421)](){const _0x59bdcc=_0x2444bc;var _0x443a93;(_0x443a93=this[_0x59bdcc(0x296)])==null||_0x443a93[_0x59bdcc(0x380)](_0x50f02b=>_0x50f02b[_0x59bdcc(0x3d1)]());}[_0x2444bc(0x2a4)](){const _0x13760d=_0x2444bc;return(0x0,_0x3430f3[_0x13760d(0x396)])(this[_0x13760d(0x432)][_0x13760d(0x1a2)],this[_0x13760d(0x432)]);}};_0x525a2f=_0x4e0ded([_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3430f3[_0x2444bc(0x415)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x35fdec)),_0x23d40f(0x3,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x16d)]))],_0x525a2f);function _0x2838a4(_0x44886b){const _0x2f637a=_0x2444bc;let _0x393d82=new Map();return _0x44886b[_0x2f637a(0x380)](_0x49add8=>{const _0x2c9a61=_0x2f637a;if(_0x393d82[_0x2c9a61(0x27b)](_0x49add8['selection'])){let _0xdb1be8=_0x393d82[_0x2c9a61(0x1a1)](_0x49add8[_0x2c9a61(0x29a)]);_0xdb1be8[_0x2c9a61(0x3b7)]+=',\x20'+_0x49add8[_0x2c9a61(0x3b7)];}else _0x393d82['set'](_0x49add8[_0x2c9a61(0x29a)],_0x49add8);}),Array[_0x2f637a(0x387)](_0x393d82[_0x2f637a(0x213)]());}let _0x527af8=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x472be8,_0x18455b,_0x767221,_0x3016c0,_0x2cc636,_0x1ae0c6){const _0x21f901=_0x2444bc;super(),this[_0x21f901(0x41c)]=_0x472be8,this[_0x21f901(0x1ef)]=_0x18455b,this['_collaborationUIEventService']=_0x767221,this[_0x21f901(0x24b)]=_0x3016c0,this[_0x21f901(0x1f1)]=_0x2cc636,this[_0x21f901(0x3fc)]=_0x1ae0c6,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x2444bc(0x424)](){const _0xc69584=_0x2444bc;this[_0xc69584(0x2f8)](this['_beforeCloseService'][_0xc69584(0x3f3)](()=>{const _0x131547=_0xc69584;if(this[_0x131547(0x1ef)][_0x131547(0x2e8)][_0x131547(0x212)])return this[_0x131547(0x3fc)]['t'](_0x131547(0x3bd));}));}[_0x2444bc(0x3c4)](){const _0x343fc2=_0x2444bc;this[_0x343fc2(0x2f8)](this[_0x343fc2(0x1e3)][_0x343fc2(0x16a)][_0x343fc2(0x274)](_0x1284b2=>{const _0x28338b=_0x343fc2;_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['OTHER_CLIENT_EDITING']&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x169))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x250)]&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this['_localeService']['t'](_0x28338b(0x366))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['PERMISSION_DENIED']&&this[_0x28338b(0x1f1)][_0x28338b(0x3d2)]({'title':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x298)),'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x413)),'type':'error','duration':0x0}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)]['CONFLICT']&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3['MessageType'][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x366))+'('+_0x1284b2[_0x28338b(0x321)]+')'}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2a7)]&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2cd)],'content':this[_0x28338b(0x3fc)]['t'](_0x1284b2[_0x28338b(0x321)]||'')}),_0x1284b2['id']===_0x21dc5a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)]['Warning'],'content':this['_localeService']['t'](_0x28338b(0x41e))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2ca)]&&this[_0x28338b(0x24b)][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x1da))}),_0x1284b2['id']===_0x21dc5a[_0x28338b(0x352)][_0x28338b(0x2be)]&&this['_messageService'][_0x28338b(0x3d2)]({'type':_0x276ac3[_0x28338b(0x419)][_0x28338b(0x2b9)],'content':this[_0x28338b(0x3fc)]['t'](_0x28338b(0x165))});}));}};_0x527af8=_0x4e0ded([_0x23d40f(0x0,_0x2f7572[_0x2444bc(0x39e)]),_0x23d40f(0x1,_0x21dc5a[_0x2444bc(0x3ae)]),_0x23d40f(0x2,(0x0,_0x430976['Inject'])(_0x21dc5a[_0x2444bc(0x252)])),_0x23d40f(0x3,_0x2f7572['IMessageService']),_0x23d40f(0x4,_0x2f7572['INotificationService']),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x21e)]))],_0x527af8);let _0x429e50={},_0x13a006=class{constructor(_0x251220,_0x938dc7){const _0x555ac8=_0x2444bc;this[_0x555ac8(0x434)]=_0x251220,this[_0x555ac8(0x44b)]=_0x938dc7;}[_0x2444bc(0x192)](_0x3afc15){const _0x1dc487=_0x2444bc;this[_0x1dc487(0x37c)](_0x3afc15),this[_0x1dc487(0x1c3)](_0x3afc15);}[_0x2444bc(0x180)](_0x1ef848){const _0x44d937=_0x2444bc;let {unitID:_0x364cb7}=_0x1ef848,{redoCache:_0x2159fe}=this[_0x44d937(0x44b)][_0x44d937(0x1be)](_0x364cb7)[_0x44d937(0x33c)](_0x3733f8[_0x44d937(0x18b)])['getUndoRedoMutationParamsCache']();if(_0x2159fe[_0x44d937(0x1ae)]===0x0)return _0x1ef848;let _0x8c6a22=_0x430976['Tools'][_0x44d937(0x2b3)](_0x1ef848[_0x44d937(0x193)][0x0]);for(let _0x182f1a=0x0;_0x182f1a<_0x2159fe[_0x44d937(0x1ae)];_0x182f1a++){let _0x15e155={'id':_0x44d937(0x214),'params':{..._0x2159fe[_0x182f1a]}},_0x508356=this[_0x44d937(0x434)][_0x44d937(0x2d2)](_0x8c6a22,_0x15e155,!0x1);if((0x0,_0xf33e7d[_0x44d937(0x302)])(_0x508356))throw _0x508356[_0x44d937(0x1df)];_0x8c6a22=_0x508356[_0x44d937(0x3c5)];}return{..._0x430976[_0x44d937(0x178)][_0x44d937(0x2b3)](_0x1ef848),'mutations':[_0x8c6a22]};}['_transformUndoRedoStack'](_0xa5ca4f){const _0x419439=_0x2444bc;let {unitID:_0x1f6c9e}=_0xa5ca4f,_0x11c0d3=this[_0x419439(0x44b)][_0x419439(0x1be)](_0x1f6c9e)[_0x419439(0x33c)](_0x3733f8[_0x419439(0x18b)]),{undoCache:_0x971f99,redoCache:_0x1bfd52}=_0x11c0d3[_0x419439(0x2cf)]();if(_0x971f99['length']===0x0||_0x1bfd52[_0x419439(0x1ae)]===0x0)return;let _0x22d821=[],_0x10ac64=[],_0xcf1766=_0x430976[_0x419439(0x178)][_0x419439(0x2b3)](_0xa5ca4f[_0x419439(0x193)][0x0]),_0xa6bc68=_0x430976['Tools'][_0x419439(0x2b3)](_0xa5ca4f[_0x419439(0x193)][0x0]);for(let _0x17b9d3=_0x971f99['length']-0x1;_0x17b9d3>=0x0;_0x17b9d3--){let _0x1b787c={'id':_0x419439(0x214),'params':{..._0x971f99[_0x17b9d3]}},_0x259357={'id':_0x419439(0x214),'params':{..._0x1bfd52[_0x17b9d3]}},_0x43d63e=this[_0x419439(0x434)][_0x419439(0x2d2)](_0xcf1766,_0x1b787c,!0x1),_0xbe642f=this[_0x419439(0x434)][_0x419439(0x2d2)](_0xa6bc68,_0x259357,!0x1);if((0x0,_0xf33e7d[_0x419439(0x302)])(_0x43d63e))throw _0x43d63e[_0x419439(0x1df)];if((0x0,_0xf33e7d[_0x419439(0x302)])(_0xbe642f))throw _0xbe642f['error'];_0x22d821[_0x419439(0x317)](_0x43d63e[_0x419439(0x1a9)][_0x419439(0x1ca)]),_0x10ac64['unshift'](_0xbe642f['m2Prime']['params']),_0xcf1766=_0x43d63e[_0x419439(0x3c5)],_0xa6bc68=_0xbe642f[_0x419439(0x3c5)];}_0x11c0d3[_0x419439(0x264)]({'undoCache':_0x22d821,'redoCache':_0x10ac64});}[_0x2444bc(0x1c3)](_0x4e9e2b){const _0x1a77ec=_0x2444bc;let {unitID:_0x1b4ebd}=_0x4e9e2b,_0x344432=this[_0x1a77ec(0x44b)][_0x1a77ec(0x1be)](_0x1b4ebd)[_0x1a77ec(0x33c)](_0x3733f8[_0x1a77ec(0x18b)]),_0x290f2b=_0x344432[_0x1a77ec(0x3bb)]();if(_0x290f2b==null)return;let _0x6d997b=[{'id':_0x1a77ec(0x214),'params':{'unitId':_0x4e9e2b[_0x1a77ec(0x177)],'actions':null,'textRanges':[_0x290f2b]}}],_0x5bbc8d=this[_0x1a77ec(0x434)][_0x1a77ec(0x309)](_0x4e9e2b,_0x6d997b);if(!(0x0,_0xf33e7d[_0x1a77ec(0x2af)])(_0x5bbc8d))throw _0x5bbc8d[_0x1a77ec(0x1df)];let _0x6d78fe=_0x5bbc8d[_0x1a77ec(0x1a9)][0x0][_0x1a77ec(0x1ca)]['textRanges'];Array['isArray'](_0x6d78fe)&&_0x6d78fe[_0x1a77ec(0x1ae)]&&_0x344432[_0x1a77ec(0x167)](_0x6d78fe[0x0]);}};_0x13a006=_0x4e0ded([_0x23d40f(0x0,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x1,_0x229561[_0x2444bc(0x223)])],_0x13a006);let _0x3640a8=class{constructor(_0x266c6d,_0x381d70,_0x589b07){const _0x1d7b37=_0x2444bc;this[_0x1d7b37(0x345)]=_0x266c6d,this[_0x1d7b37(0x434)]=_0x381d70,this[_0x1d7b37(0x2e4)]=_0x589b07;}[_0x2444bc(0x1b2)](_0x262e10){const _0x1e906b=_0x2444bc;this[_0x1e906b(0x310)](_0x262e10);}['transformRemoteChangeset'](_0x32af8c){const _0x58f2cf=_0x2444bc;let {unitID:_0xe1f1f}=_0x32af8c,{collaboration:_0x238e15}=this[_0x58f2cf(0x2e4)][_0x58f2cf(0x170)](_0xe1f1f);if(_0x238e15[_0x58f2cf(0x1ae)]===0x0)return _0x32af8c;let _0xed4145=_0x430976[_0x58f2cf(0x178)]['deepClone'](_0x32af8c[_0x58f2cf(0x193)][0x0]);for(let _0x4bdb3d=0x0;_0x4bdb3d<_0x238e15['length'];_0x4bdb3d++){let _0x325ec9={'id':_0x58f2cf(0x214),'params':{'unitId':_0x238e15[_0x4bdb3d]['unitId'],..._0x238e15[_0x4bdb3d][_0x58f2cf(0x3cd)]}},_0x512cb3=this[_0x58f2cf(0x434)][_0x58f2cf(0x2d2)](_0xed4145,_0x325ec9,!0x1);if((0x0,_0xf33e7d[_0x58f2cf(0x302)])(_0x512cb3))throw _0x512cb3[_0x58f2cf(0x1df)];_0xed4145=_0x512cb3[_0x58f2cf(0x3c5)];}return{..._0x430976[_0x58f2cf(0x178)]['deepClone'](_0x32af8c),'mutations':[_0xed4145]};}[_0x2444bc(0x310)](_0x4d2b40){const _0x169c01=_0x2444bc;let {unitID:_0x48e162}=_0x4d2b40,{history:_0x30c7e1,collaboration:_0x171275}=this['_docStateChangeManagerService'][_0x169c01(0x170)](_0x48e162);if(_0x30c7e1['length']===0x0&&_0x171275[_0x169c01(0x1ae)]===0x0)return;let _0x50f4e7=[],_0x140bad=[],_0x3f48b5=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]),_0x1f463e=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]);for(let _0x3fc204=_0x30c7e1[_0x169c01(0x1ae)]-0x1;_0x3fc204>=0x0;_0x3fc204--){let _0x431771={'id':_0x169c01(0x214),'params':{'unitId':_0x30c7e1[_0x3fc204][_0x169c01(0x2c1)],..._0x30c7e1[_0x3fc204][_0x169c01(0x174)]}},_0x2b0c33={'id':_0x169c01(0x214),'params':{'unitId':_0x30c7e1[_0x3fc204][_0x169c01(0x2c1)],..._0x30c7e1[_0x3fc204][_0x169c01(0x3cd)]}},_0x2ddaa3=this[_0x169c01(0x434)]['transformMutation'](_0x3f48b5,_0x431771,!0x1),_0x477300=this[_0x169c01(0x434)][_0x169c01(0x2d2)](_0x1f463e,_0x2b0c33,!0x1);if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x2ddaa3))throw _0x2ddaa3[_0x169c01(0x1df)];if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x477300))throw _0x477300[_0x169c01(0x1df)];_0x50f4e7[_0x169c01(0x317)]({..._0x30c7e1[_0x3fc204],'undoState':_0x2ddaa3[_0x169c01(0x1a9)][_0x169c01(0x1ca)],'redoState':_0x477300[_0x169c01(0x1a9)][_0x169c01(0x1ca)]}),_0x3f48b5=_0x2ddaa3[_0x169c01(0x3c5)],_0x1f463e=_0x477300[_0x169c01(0x3c5)];}_0x3f48b5=_0x430976[_0x169c01(0x178)]['deepClone'](_0x4d2b40[_0x169c01(0x193)][0x0]),_0x1f463e=_0x430976[_0x169c01(0x178)][_0x169c01(0x2b3)](_0x4d2b40[_0x169c01(0x193)][0x0]);for(let _0x34655e=_0x171275[_0x169c01(0x1ae)]-0x1;_0x34655e>=0x0;_0x34655e--){let _0x5b6ade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x171275[_0x34655e][_0x169c01(0x2c1)],..._0x171275[_0x34655e][_0x169c01(0x174)]}},_0x1f9b83={'id':_0x169c01(0x214),'params':{'unitId':_0x171275[_0x34655e][_0x169c01(0x2c1)],..._0x171275[_0x34655e][_0x169c01(0x3cd)]}},_0x22e150=this[_0x169c01(0x434)][_0x169c01(0x2d2)](_0x3f48b5,_0x5b6ade,!0x1),_0x4a1fc9=this['_transformService'][_0x169c01(0x2d2)](_0x1f463e,_0x1f9b83,!0x1);if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x22e150))throw _0x22e150[_0x169c01(0x1df)];if((0x0,_0xf33e7d[_0x169c01(0x302)])(_0x4a1fc9))throw _0x4a1fc9['error'];_0x140bad[_0x169c01(0x317)]({..._0x171275[_0x34655e],'undoState':_0x22e150[_0x169c01(0x1a9)]['params'],'redoState':_0x4a1fc9[_0x169c01(0x1a9)]['params']}),_0x3f48b5=_0x22e150[_0x169c01(0x3c5)],_0x1f463e=_0x4a1fc9[_0x169c01(0x3c5)];}this['_docStateChangeManagerService']['setStateCache'](_0x48e162,{'history':_0x50f4e7,'collaboration':_0x140bad});}};_0x3640a8=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,_0xf33e7d[_0x2444bc(0x37b)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3733f8['DocStateChangeManagerService']))],_0x3640a8);let _0x225549=class{constructor(_0x124184,_0x4d4613){const _0x20930c=_0x2444bc;this[_0x20930c(0x345)]=_0x124184,this[_0x20930c(0x434)]=_0x4d4613;}[_0x2444bc(0x194)](_0x67fae3){const _0x2ae575=_0x2444bc;var _0x5e29db;let _0x1758b5=this[_0x2ae575(0x345)]['get'](_0x15b933[_0x2ae575(0x3f5)]),_0xe10df6=(_0x5e29db=_0x1758b5['getDocRanges']())==null?[]:_0x5e29db;if(_0xe10df6['length']===0x0)return;let _0x4a3a72=_0x67fae3['unitID'],_0x31f208=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a3a72,'actions':null,'textRanges':_0xe10df6}}],_0x46dbc3=this[_0x2ae575(0x434)][_0x2ae575(0x309)](_0x67fae3,_0x31f208);if(!(0x0,_0xf33e7d[_0x2ae575(0x2af)])(_0x46dbc3))throw _0x46dbc3[_0x2ae575(0x1df)];let _0x2cf95e=_0x46dbc3['m2Prime'][0x0]['params']['textRanges'];Array[_0x2ae575(0x3c0)](_0x2cf95e)&&_0x2cf95e[_0x2ae575(0x1ae)]&&_0x1758b5[_0x2ae575(0x2df)](_0x2cf95e,{'unitId':_0x4a3a72,'subUnitId':_0x4a3a72},!0x1);}};_0x225549=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,_0xf33e7d[_0x2444bc(0x37b)])],_0x225549);let _0x114747=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x332dfc,_0x8bd5a3,_0x14debb,_0xace013,_0x27844d,_0x40891d,_0x27e120,_0x1aa441){const _0x120b4f=_0x2444bc;super(),this[_0x120b4f(0x2e4)]=_0x332dfc,this['_collaborationController']=_0x8bd5a3,this[_0x120b4f(0x248)]=_0x14debb,this[_0x120b4f(0x164)]=_0xace013,this['_docTransformSelectionsService']=_0x27844d,this[_0x120b4f(0x1ee)]=_0x40891d,this['_messageService']=_0x27e120,this[_0x120b4f(0x3fc)]=_0x1aa441,_0x34d1c1(this,'_status$',new _0x31275f[(_0x120b4f(0x1d0))](_0x21dc5a[_0x120b4f(0x2a8)][_0x120b4f(0x312)])),this[_0x120b4f(0x3a2)]();}[_0x2444bc(0x3a2)](){const _0x3be8de=_0x2444bc;this[_0x3be8de(0x2f8)](this[_0x3be8de(0x26e)][_0x3be8de(0x35e)][_0x3be8de(0x274)](_0x3c92bb=>{const _0x2c9485=_0x3be8de;let _0x4fc438=this[_0x2c9485(0x2e4)]['docStateChange$']['subscribe'](_0x37a4e5=>{const _0x5e8107=_0x2c9485;if(_0x37a4e5==null)return;let {unitId:_0x18a4be,redoState:_0x466067,commandId:_0x6b2768}=_0x37a4e5;if(_0x18a4be!==_0x3c92bb['unitID'])return;let _0x24e47f={'id':_0x6b2768,'type':_0x430976[_0x5e8107(0x40f)][_0x5e8107(0x209)],'params':{'unitId':_0x18a4be,'actions':_0x466067[_0x5e8107(0x36c)],'textRanges':null}};_0x3c92bb[_0x5e8107(0x1f8)](_0x24e47f);});_0x3c92bb[_0x2c9485(0x2f8)](_0x4fc438),_0x3c92bb instanceof _0x21dc5a[_0x2c9485(0x2a3)]&&_0x3c92bb['addHandlerCallback']({'onTransformIME':_0x1fa9ae=>this[_0x2c9485(0x248)][_0x2c9485(0x192)](_0x1fa9ae),'onTransformState':_0x1e8108=>this[_0x2c9485(0x164)][_0x2c9485(0x1b2)](_0x1e8108),'onTransformSelections':_0x1bb631=>this[_0x2c9485(0x3b5)][_0x2c9485(0x194)](_0x1bb631),'onSyncEditingCollabCursor':_0x4d7f92=>this[_0x2c9485(0x1ee)][_0x2c9485(0x3d3)](_0x4d7f92),'onTransformRemoteChangesetByIMECache':_0x3fab9f=>this[_0x2c9485(0x248)][_0x2c9485(0x180)](_0x3fab9f),'onTransformRemoteChangesetByStateCache':_0x40ac10=>this['_docTransformStateCacheService'][_0x2c9485(0x180)](_0x40ac10)});}));}};_0x114747=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3733f8[_0x2444bc(0x349)])),_0x23d40f(0x1,(0x0,_0x430976['Inject'])(_0x21dc5a[_0x2444bc(0x232)])),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x13a006)),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x3640a8)),_0x23d40f(0x4,(0x0,_0x430976[_0x2444bc(0x286)])(_0x225549)),_0x23d40f(0x5,(0x0,_0x430976[_0x2444bc(0x286)])(_0x26444f)),_0x23d40f(0x6,_0x2f7572[_0x2444bc(0x2ed)]),_0x23d40f(0x7,(0x0,_0x430976['Inject'])(_0x430976[_0x2444bc(0x21e)]))],_0x114747);let _0x4670c5=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x253f82,_0x2f45ba,_0x35ecc0,_0x1c0e27){const _0x4513c2=_0x2444bc;super(),this[_0x4513c2(0x345)]=_0x253f82,this['_httpService']=_0x2f45ba,this[_0x4513c2(0x439)]=_0x35ecc0,this[_0x4513c2(0x254)]=_0x1c0e27,_0x34d1c1(this,'_memberID',void 0x0),this[_0x4513c2(0x1dd)]();}[_0x2444bc(0x1dd)](){const _0x27f885=_0x2444bc;this[_0x27f885(0x35c)](),this[_0x27f885(0x405)](),this[_0x27f885(0x1c9)](),this[_0x27f885(0x342)]();}[_0x2444bc(0x342)](){const _0x4a47b4=_0x2444bc;this['disposeWithMe'](this[_0x4a47b4(0x254)][_0x4a47b4(0x23e)]['subscribe'](_0x22b124=>{const _0x5baea1=_0x4a47b4;this['_memberID']=_0x22b124==null?void 0x0:_0x22b124[_0x5baea1(0x386)];}));}[_0x2444bc(0x35c)](){const _0x270397=_0x2444bc;let _0x4dd31b=_0x47a509=>{const _0x37e745=_0x3284;var _0x3ad69b;this[_0x37e745(0x246)]('error',_0x37e745(0x3be)+_0x47a509[_0x37e745(0x38d)]+_0x37e745(0x3c9)+_0x47a509[_0x37e745(0x31b)]+':'+_0x47a509['lineno']+':'+_0x47a509[_0x37e745(0x273)]+'\x0a'+(((_0x3ad69b=_0x47a509[_0x37e745(0x1df)])==null?void 0x0:_0x3ad69b[_0x37e745(0x38c)])||''));};window[_0x270397(0x2ae)]('error',_0x4dd31b),this[_0x270397(0x2f8)](()=>{const _0x4ecdbb=_0x270397;window['removeEventListener'](_0x4ecdbb(0x1df),_0x4dd31b);});}[_0x2444bc(0x405)](){const _0x10ecb5=_0x2444bc;let _0x1af0e6=_0x5d7fda=>{const _0x1882f0=_0x3284;this[_0x1882f0(0x246)](_0x1882f0(0x1df),_0x1882f0(0x231)+_0x5d7fda['reason']);};window['addEventListener']('unhandledrejection',_0x1af0e6),this[_0x10ecb5(0x2f8)](()=>{const _0x1e2737=_0x10ecb5;window[_0x1e2737(0x200)](_0x1e2737(0x30d),_0x1af0e6);});}['_monkeyPatchLogService'](){const _0xd70fb7=_0x2444bc;let _0x61ee82=this[_0xd70fb7(0x439)][_0xd70fb7(0x1df)][_0xd70fb7(0x2ad)](this['_logService']);this[_0xd70fb7(0x439)][_0xd70fb7(0x1df)]=(..._0x3258b3)=>{const _0x56d9b3=_0xd70fb7;let _0x248d49=_0x3258b3[_0x56d9b3(0x404)](_0x14b3f2=>_0x14b3f2 instanceof Error?_0x14b3f2[_0x56d9b3(0x38d)]+'\x0a'+_0x14b3f2[_0x56d9b3(0x38c)]:String(_0x14b3f2))[_0x56d9b3(0x42a)]('\x20');this[_0x56d9b3(0x246)]('error',_0x56d9b3(0x281)+_0x248d49),_0x61ee82(..._0x3258b3);},this[_0xd70fb7(0x2f8)](()=>{const _0x5bcf8c=_0xd70fb7;this[_0x5bcf8c(0x439)][_0x5bcf8c(0x1df)]=_0x61ee82;});}['_uploadLog'](_0x371001,_0x45d3c5){const _0x394c6a=_0x2444bc;try{let _0x2a24cf={'userId':this[_0x394c6a(0x1fb)],'logLabel':_0x371001,'content':_0x45d3c5};this[_0x394c6a(0x2d0)]['post'](_0x394c6a(0x2e1),{'body':_0x2a24cf})[_0x394c6a(0x1d8)](()=>{});}catch{}}};_0x4670c5=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x21dc5a[_0x2444bc(0x337)]))],_0x4670c5);function _0x4355df(_0x2f424a){const _0x50ada9=_0x2444bc;var _0x2de13a,_0x39ff7b;let _0x2dd384=(_0x2de13a=_0x2f424a[_0x50ada9(0x258)])==null?void 0x0:_0x2de13a[_0x50ada9(0x343)],_0x2b26de=((_0x39ff7b=_0x2f424a['stageInfo'])==null?void 0x0:_0x39ff7b[_0x50ada9(0x219)])||0x0;return _0x2dd384===_0x4b3ad6[_0x50ada9(0x3b2)][_0x50ada9(0x3c2)]&&_0x2b26de>0x0;}function _0x109780(_0x90bfc4){const _0x3c1a18=_0x2444bc;return _0x90bfc4[_0x3c1a18(0x356)]===_0x4b3ad6[_0x3c1a18(0x368)][_0x3c1a18(0x344)];}let _0x351239=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x50817d,_0x1c0e57,_0x3933ff,_0xdc5037,_0x2a06ce,_0x290bd8,_0x5a19c4){const _0x42e348=_0x2444bc;super(),this['_messageService']=_0x50817d,this['_commandService']=_0x1c0e57,this[_0x42e348(0x266)]=_0x3933ff,this['_httpService']=_0xdc5037,this[_0x42e348(0x40a)]=_0x2a06ce,this[_0x42e348(0x439)]=_0x290bd8,this['_localeService']=_0x5a19c4,_0x34d1c1(this,_0x42e348(0x1a4),null),_0x34d1c1(this,_0x42e348(0x1ba),0x0),_0x34d1c1(this,'_currentUsage',0x0),_0x34d1c1(this,_0x42e348(0x2d1),[]),_0x34d1c1(this,_0x42e348(0x1cf),0x0),this[_0x42e348(0x224)]();}[_0x2444bc(0x224)](){const _0x1e9a99=_0x2444bc;this[_0x1e9a99(0x2f8)](this[_0x1e9a99(0x42e)]['beforeCommandExecuted']((_0x50a741,_0x421e21)=>{const _0x8684b4=_0x1e9a99;var _0x57836d;if(_0x50a741['id']!==_0x4b3ad6['SetFormulaCalculationStartMutation']['id'])return;let _0x553ca9=_0x50a741[_0x8684b4(0x1ca)];if(this[_0x8684b4(0x1e8)]((_0x57836d=_0x553ca9[_0x8684b4(0x3d0)])==null?[]:_0x57836d)&&!this[_0x8684b4(0x176)]())throw this[_0x8684b4(0x361)](_0x50a741,_0x421e21),this['_showGuardMessage'](),new _0x430976[(_0x8684b4(0x1a6))]();})),this[_0x1e9a99(0x2f8)](this['_commandService']['onCommandExecuted']((_0x122e59,_0x41d8e3)=>{const _0x576e8e=_0x1e9a99;if(_0x122e59['id']!==_0x4b3ad6['SetFormulaCalculationNotificationMutation']['id'])return;let _0x59ffa8=_0x122e59[_0x576e8e(0x1ca)];if(_0x4355df(_0x59ffa8)){let _0x515a09=(0x0,_0x430976[_0x576e8e(0x16b)])();this[_0x576e8e(0x2d1)][_0x576e8e(0x2fd)](_0x515a09),this[_0x576e8e(0x358)](_0x515a09);}else{if(_0x109780(_0x59ffa8)&&this[_0x576e8e(0x2d1)]['length']>0x0){let _0x53959b=this[_0x576e8e(0x2d1)][_0x576e8e(0x2d6)]();this[_0x576e8e(0x23c)](_0x53959b);}}}));}['dispose'](){const _0x5be8d5=_0x2444bc;super[_0x5be8d5(0x3d1)](),this['_clearPolling'](),this[_0x5be8d5(0x2d1)]=[],this[_0x5be8d5(0x19c)]=0x0,this[_0x5be8d5(0x1ba)]=0x0,this[_0x5be8d5(0x1cf)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3094c1,_0x59ad59){const _0x29a92e=_0x2444bc;for(let _0x162a86=0x0;_0x162a86<0x1e;_0x162a86++)try{if(await this[_0x29a92e(0x23f)](),this['_checkCalculationAvailable']()){this[_0x29a92e(0x397)](_0x3094c1,_0x59ad59),this[_0x29a92e(0x24b)][_0x29a92e(0x3d2)]({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x276ac3[_0x29a92e(0x419)][_0x29a92e(0x420)]});return;}await new Promise(_0x35177c=>{const _0x19f7d5=_0x29a92e;this[_0x19f7d5(0x1a4)]=window[_0x19f7d5(0x38a)](_0x35177c,0x3e8);});}catch(_0x2dc9a1){this['_logService'][_0x29a92e(0x1df)](_0x2dc9a1);}this[_0x29a92e(0x24b)][_0x29a92e(0x3d2)]({'content':this['_localeService']['t'](_0x29a92e(0x270)),'type':_0x276ac3['MessageType']['Error']});}[_0x2444bc(0x397)](_0x97eeb6,_0x51924a){const _0x42d04e=_0x2444bc;try{this[_0x42d04e(0x42e)]['executeCommand'](_0x97eeb6['id'],_0x97eeb6[_0x42d04e(0x1ca)],_0x51924a);}catch(_0x6e3845){this['_logService'][_0x42d04e(0x1df)](_0x6e3845);}}[_0x2444bc(0x301)](_0x594795,_0x142de6){const _0x214a89=_0x2444bc;_0x142de6<this[_0x214a89(0x1cf)]||(this[_0x214a89(0x1cf)]=_0x142de6,this[_0x214a89(0x1ba)]=Number[_0x214a89(0x41b)](_0x594795[_0x214a89(0x15d)]),this[_0x214a89(0x19c)]=Number['parseInt'](_0x594795['currentUsage']));}async[_0x2444bc(0x358)](_0x553897){const _0x4d2247=_0x2444bc;let _0x4740fe=Date['now']();try{var _0x77ba99,_0x4ebd22;let _0x37bc7a=((_0x77ba99=this['_configService'][_0x4d2247(0x289)](_0x21dc5a[_0x4d2247(0x34b)]))==null?void 0x0:_0x77ba99[_0x4d2247(0x384)])||'/universer-api/license/formula/limit/start',_0x47667a=(await this[_0x4d2247(0x2d0)]['post'](_0x37bc7a,{'body':JSON[_0x4d2247(0x3af)]({'taskId':_0x553897})}))[_0x4d2247(0x443)];if(((_0x4ebd22=_0x47667a[_0x4d2247(0x1df)])==null?void 0x0:_0x4ebd22['code'])!==_0x2217f1[_0x4d2247(0x1f7)]['OK'])return;this[_0x4d2247(0x301)](_0x47667a[_0x4d2247(0x21f)],_0x4740fe);}catch(_0x58b817){this[_0x4d2247(0x439)][_0x4d2247(0x1df)](_0x58b817);}}async[_0x2444bc(0x23f)](_0x137ad8){const _0x114ac5=_0x2444bc;let _0x35b49b=Date['now']();try{var _0x5db6f9,_0x359aa5;let _0x3ca5ed=((_0x5db6f9=this[_0x114ac5(0x266)][_0x114ac5(0x289)](_0x21dc5a[_0x114ac5(0x34b)]))==null?void 0x0:_0x5db6f9[_0x114ac5(0x370)])||_0x114ac5(0x34d),_0x3f66dc=_0x137ad8?_0x3ca5ed+'?taskId='+encodeURIComponent(_0x137ad8):_0x3ca5ed,_0x48b557=(await this[_0x114ac5(0x2d0)][_0x114ac5(0x1a1)](_0x3f66dc))[_0x114ac5(0x443)];if(((_0x359aa5=_0x48b557[_0x114ac5(0x1df)])==null?void 0x0:_0x359aa5[_0x114ac5(0x21d)])!==_0x2217f1[_0x114ac5(0x1f7)]['OK'])return;this[_0x114ac5(0x301)](_0x48b557[_0x114ac5(0x21f)],_0x35b49b);}catch(_0x8f5a6a){this[_0x114ac5(0x439)]['error'](_0x8f5a6a);}}async[_0x2444bc(0x23c)](_0x3f0510){const _0x1053e7=_0x2444bc;let _0x51046e=Date[_0x1053e7(0x437)]();try{var _0x3b6420,_0x1ade80;let _0x32d6b4=((_0x3b6420=this[_0x1053e7(0x266)][_0x1053e7(0x289)](_0x21dc5a[_0x1053e7(0x34b)]))==null?void 0x0:_0x3b6420[_0x1053e7(0x202)])||_0x1053e7(0x3b6),_0x25361a=(await this['_httpService'][_0x1053e7(0x351)](_0x32d6b4,{'body':JSON[_0x1053e7(0x3af)]({'taskId':_0x3f0510})}))[_0x1053e7(0x443)];if(((_0x1ade80=_0x25361a[_0x1053e7(0x1df)])==null?void 0x0:_0x1ade80[_0x1053e7(0x21d)])!==_0x2217f1['ErrorCode']['OK'])return;this[_0x1053e7(0x301)](_0x25361a[_0x1053e7(0x21f)],_0x51046e);}catch(_0x4270ae){this[_0x1053e7(0x439)][_0x1053e7(0x1df)](_0x4270ae);}}[_0x2444bc(0x176)](){const _0x4a4966=_0x2444bc;return this[_0x4a4966(0x1ba)]===0x0?!0x0:this[_0x4a4966(0x1ba)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x4dcb69=_0x2444bc;this['_pollingInterval']&&(clearTimeout(this[_0x4dcb69(0x1a4)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x5a987b=_0x2444bc;this['_messageService'][_0x5a987b(0x3d2)]({'content':this[_0x5a987b(0x3fc)]['t'](_0x5a987b(0x359)),'type':_0x276ac3[_0x5a987b(0x419)]['Loading']});}[_0x2444bc(0x1e8)](_0x1b1d7b){const _0x24cf56=_0x2444bc;for(let _0x5dd2ab of _0x1b1d7b){let {unitId:_0x5d15c9,sheetId:_0x252560,range:_0x1350f9}=_0x5dd2ab,_0x1553cc=this[_0x24cf56(0x40a)][_0x24cf56(0x32f)](_0x5d15c9);if(!_0x1553cc)continue;let _0x27c43f=_0x1553cc['getSheetBySheetId'](_0x252560);if(!_0x27c43f)continue;let _0x408f9d=_0x27c43f['getCellMatrix']();for(let _0x2b3469=_0x1350f9[_0x24cf56(0x400)];_0x2b3469<=_0x1350f9[_0x24cf56(0x340)];_0x2b3469++)for(let _0x5c3925=_0x1350f9['startColumn'];_0x5c3925<=_0x1350f9[_0x24cf56(0x228)];_0x5c3925++){let _0x4b7d6b=_0x408f9d[_0x24cf56(0x2a1)](_0x2b3469,_0x5c3925);if(_0x4b7d6b&&((0x0,_0x430976[_0x24cf56(0x411)])(_0x4b7d6b['f'])||(0x0,_0x430976[_0x24cf56(0x436)])(_0x4b7d6b['si'])))return!0x0;}}return!0x1;}};_0x351239=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976['Inject'])(_0x2f7572[_0x2444bc(0x2ed)])),_0x23d40f(0x1,_0x430976['ICommandService']),_0x23d40f(0x2,_0x430976[_0x2444bc(0x1c5)]),_0x23d40f(0x3,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517['HTTPService'])),_0x23d40f(0x4,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x5,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x6,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976['LocaleService']))],_0x351239);let _0x4ad146=class extends _0x430976['Disposable']{constructor(_0x59d2db,_0x582eb2,_0x328c06){const _0x21b874=_0x2444bc;super(),this[_0x21b874(0x266)]=_0x59d2db,this[_0x21b874(0x2b5)]=_0x582eb2,this[_0x21b874(0x1c6)]=_0x328c06,_0x34d1c1(this,_0x21b874(0x2cc),new Map()),_0x34d1c1(this,_0x21b874(0x3ab),new Map()),_0x34d1c1(this,'_disabled',!0x1);}[_0x2444bc(0x3c3)](){const _0x5df9f4=_0x2444bc;this[_0x5df9f4(0x414)]=!0x0;}['enableLocalCache'](){const _0x43115e=_0x2444bc;this[_0x43115e(0x414)]=!0x1;}get[_0x2444bc(0x2e8)](){const _0x49f578=_0x2444bc;return this[_0x49f578(0x3ab)];}[_0x2444bc(0x3d1)](){const _0x41b75a=_0x2444bc;this[_0x41b75a(0x26b)]()[_0x41b75a(0x269)](()=>super[_0x41b75a(0x3d1)]());}async['loadOfflineData'](_0x5f41a3){const _0x575256=_0x2444bc;return this['_disabled']?null:this[_0x575256(0x2b5)][_0x575256(0x389)]((0x0,_0x21dc5a[_0x575256(0x25b)])(_0x5f41a3));}async[_0x2444bc(0x1dc)](_0x553853,_0x20ca7e){const _0x5d8a2f=_0x2444bc;return!!this[_0x5d8a2f(0x2b5)][_0x5d8a2f(0x362)](_0x553853,_0x20ca7e);}[_0x2444bc(0x1c7)](_0x20d380,_0x270f0f,_0x5e5fe4,_0x2090b8){const _0x456892=_0x2444bc;let _0x5e5316=this[_0x456892(0x1c6)]['getCurrentRevOfUnit'](_0x20d380);this[_0x456892(0x2cc)][_0x456892(0x2da)](_0x20d380,{'unitID':_0x20d380,'type':_0x270f0f,'awaitingChangeset':_0x5e5fe4,'mutations':_0x2090b8,'rev':_0x5e5316}),this['_saveTaskMap'][_0x456892(0x27b)](_0x20d380)||this['_scheduleSaving'](_0x20d380);}[_0x2444bc(0x393)](_0x351f8f){const _0x2cf14f=_0x2444bc;let _0x5f19ff=this['_getSaveTimeout']();_0x5f19ff===0x0?this[_0x2cf14f(0x1af)](_0x351f8f):this['_saveTaskMap']['set'](_0x351f8f,setTimeout(()=>this['_saveCache'](_0x351f8f),_0x5f19ff));}[_0x2444bc(0x1db)](){const _0x333537=_0x2444bc;var _0x2c46a6;return(_0x2c46a6=this[_0x333537(0x266)][_0x333537(0x289)](_0x21dc5a['LOCAL_CACHE_INTERVAL_KEY']))==null?_0x21dc5a[_0x333537(0x239)]:_0x2c46a6;}[_0x2444bc(0x1af)](_0x1f2df8){const _0x179d18=_0x2444bc;let _0xb1ca48=this[_0x179d18(0x3ab)]['get'](_0x1f2df8);return _0xb1ca48!==void 0x0&&window[_0x179d18(0x3ee)](_0xb1ca48),this[_0x179d18(0x2b5)][_0x179d18(0x362)]((0x0,_0x21dc5a[_0x179d18(0x25b)])(_0x1f2df8),this[_0x179d18(0x2cc)][_0x179d18(0x1a1)](_0x1f2df8))['then'](()=>this[_0x179d18(0x3ab)][_0x179d18(0x242)](_0x1f2df8));}async['exhaustSavingTask'](){const _0x5d5bee=_0x2444bc;let _0x602026=[];this[_0x5d5bee(0x3ab)][_0x5d5bee(0x380)]((_0x30d96f,_0x4e2dcd)=>{const _0x35113e=_0x5d5bee;window['clearTimeout'](_0x30d96f),_0x602026['push'](this[_0x35113e(0x1af)](_0x4e2dcd)[_0x35113e(0x269)](()=>{const _0xcdd645=_0x35113e;this[_0xcdd645(0x3ab)][_0xcdd645(0x242)](_0x4e2dcd);}));}),await Promise[_0x5d5bee(0x20b)](_0x602026);}};_0x4ad146=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x1c5)]),_0x23d40f(0x1,_0x430976[_0x2444bc(0x241)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0xf33e7d[_0x2444bc(0x322)]))],_0x4ad146);var _0x3159e8=class extends _0x430976['RxDisposable']{constructor(){const _0x33ba25=_0x2444bc;super(),_0x34d1c1(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x31275f[_0x33ba25(0x2e7)])(window,_0x33ba25(0x38f))['pipe']((0x0,_0x31275f['takeUntil'])(this[_0x33ba25(0x3de)]),(0x0,_0x31275f[_0x33ba25(0x363)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x31275f[_0x33ba25(0x3a4)])(void 0x0));}[_0x2444bc(0x1a7)](_0x480673,_0x315f2c,_0x2f9ec1=!0x1){const _0xfb5df1=_0x2444bc;let _0x216565=new URL(window[_0xfb5df1(0x335)][_0xfb5df1(0x42d)]);_0x216565[_0xfb5df1(0x2d3)]['set'](_0x480673,_0x315f2c),_0x2f9ec1?window[_0xfb5df1(0x2eb)][_0xfb5df1(0x39d)]('','',_0x216565[_0xfb5df1(0x401)]()):window[_0xfb5df1(0x2eb)][_0xfb5df1(0x39f)]('','',_0x216565['toString']());}[_0x2444bc(0x2d9)](_0x1889de,_0x3c5203=!0x1){const _0x146e5f=_0x2444bc;let _0x3e5e0b=new URL(window[_0x146e5f(0x335)][_0x146e5f(0x42d)]);_0x3e5e0b[_0x146e5f(0x2d3)]['delete'](_0x1889de),_0x3c5203?window[_0x146e5f(0x2eb)]['replaceState']('','',_0x3e5e0b['toString']()):window['history'][_0x146e5f(0x39f)]('','',_0x3e5e0b['toString']());}['getParam'](_0x48879c){const _0xfd014f=_0x2444bc;var _0x5a76b8;return(_0x5a76b8=new URL(window[_0xfd014f(0x335)]['href'])['searchParams']['get'](_0x48879c))==null?void 0x0:_0x5a76b8;}};let _0x48b1f6=class extends _0x430976[_0x2444bc(0x1eb)]{constructor(_0xd54f0b=_0x429e50,_0x1c6371,_0x240e2b,_0x15b29c){const _0x551ef7=_0x2444bc;super(),this[_0x551ef7(0x2f1)]=_0xd54f0b,this[_0x551ef7(0x44b)]=_0x1c6371,this[_0x551ef7(0x345)]=_0x240e2b,this[_0x551ef7(0x266)]=_0x15b29c;let {..._0x55e85c}=(0x0,_0x430976[_0x551ef7(0x2e0)])({},_0x429e50,this['_config']);this[_0x551ef7(0x266)]['setConfig'](_0x551ef7(0x43a),_0x55e85c);}['onStarting'](){const _0x6fdb1c=_0x2444bc;this[_0x6fdb1c(0x1d6)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x2444bc(0x1d6)](){const _0x5d080d=_0x2444bc;var _0x489d5c;let _0x6c7b7e=[[_0x1eb962],[_0x351239],[_0x225549],[_0x13a006],[_0x3640a8],[_0x26444f],[_0x26fa78,{'useClass':_0x3159e8}],[_0x116517[_0x5d080d(0x19b)],{'useClass':_0x116517[_0x5d080d(0x299)]}],[_0x21dc5a[_0x5d080d(0x3ae)],{'useClass':_0x4ad146}],[_0x26c616],[_0x114747],[_0x527af8],[_0x35fdec],[_0x1f6f92],[_0x5aec05]];this['_config']['enableFrontendLog']&&_0x6c7b7e[_0x5d080d(0x2fd)]([_0x4670c5]),(0x0,_0x430976['registerDependencies'])(this[_0x5d080d(0x345)],(0x0,_0x430976[_0x5d080d(0x35d)])(_0x6c7b7e,(_0x489d5c=this[_0x5d080d(0x2f1)])==null?void 0x0:_0x489d5c[_0x5d080d(0x1cb)]));}[_0x2444bc(0x3f0)](){const _0x1e9b5d=_0x2444bc;this[_0x1e9b5d(0x2f8)](this[_0x1e9b5d(0x44b)]['registerRenderModule'](_0x430976['UniverInstanceType'][_0x1e9b5d(0x341)],[_0x5b9eec])),this[_0x1e9b5d(0x2f8)](this[_0x1e9b5d(0x44b)][_0x1e9b5d(0x353)](_0x430976[_0x1e9b5d(0x1f9)][_0x1e9b5d(0x36d)],[_0x525a2f]));}[_0x2444bc(0x422)](){const _0x4e38b0=_0x2444bc;(0x0,_0x430976['touchDependencies'])(this[_0x4e38b0(0x345)],[[_0x35fdec],[_0x26c616],[_0x114747],[_0x527af8],[_0x5aec05],[_0x351239],[_0x1f6f92]]),this[_0x4e38b0(0x2f1)][_0x4e38b0(0x233)]&&(0x0,_0x430976['touchDependencies'])(this['_injector'],[[_0x4670c5]]);}};_0x34d1c1(_0x48b1f6,'pluginName',_0x2444bc(0x271)),_0x34d1c1(_0x48b1f6,_0x2444bc(0x30a),_0x50e124),_0x34d1c1(_0x48b1f6,_0x2444bc(0x251),_0x5a4f5a),_0x48b1f6=_0x4e0ded([(0x0,_0x430976[_0x2444bc(0x2a2)])(_0x21dc5a[_0x2444bc(0x416)]),_0x23d40f(0x1,_0x229561[_0x2444bc(0x223)]),_0x23d40f(0x2,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x3,_0x430976[_0x2444bc(0x1c5)])],_0x48b1f6);let _0x913d6f=class extends _0x21dc5a[_0x2444bc(0x1e5)]{constructor(_0x1c34df,_0x3c8b99,_0x4d0ef7,_0x4667e8,_0x10d3cd){super(_0x1c34df,_0x3c8b99,_0x4d0ef7,_0x4667e8,_0x10d3cd);}async[_0x2444bc(0x259)](_0x3a3c14){const _0x4bfe2e=_0x2444bc;let _0x4dc4c1=await this[_0x4bfe2e(0x3b4)](),_0x5e73ba=this[_0x4bfe2e(0x2ea)](_0x3a3c14,_0x4dc4c1);return this[_0x4bfe2e(0x2f7)](_0x5e73ba);}[_0x2444bc(0x2ea)](_0x165e6a,_0x5aeaff){const _0x19479c=_0x2444bc;let _0x3bfc2f=typeof window>'u'?new URL(_0x165e6a):new URL(_0x165e6a,window[_0x19479c(0x335)]['origin']);_0x3bfc2f[_0x19479c(0x2d3)][_0x19479c(0x2da)]('sessionTicket',_0x5aeaff);let _0x1b8953=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19479c(0x335)][_0x19479c(0x29f)]);return _0x1b8953[_0x19479c(0x1a1)](_0x19479c(0x3d6))&&_0x3bfc2f['searchParams'][_0x19479c(0x2da)](_0x19479c(0x3d6),_0x1b8953[_0x19479c(0x1a1)](_0x19479c(0x3d6))),_0x3bfc2f[_0x19479c(0x401)]();}async['_getSessionTicket'](){const _0x10b223=_0x2444bc;var _0x190821,_0x1d0adc,_0x5ca18b;let _0x3aded9=this['_configService'][_0x10b223(0x289)](_0x21dc5a[_0x10b223(0x34b)]),_0x1dd6bb=(_0x190821=_0x3aded9==null?void 0x0:_0x3aded9['wsSessionTicketUrl'])==null?_0x21dc5a[_0x10b223(0x315)]:_0x190821;return(_0x1d0adc=(_0x5ca18b=(await this['_httpService']['get'](_0x1dd6bb,{'headers':{'Content-Type':_0x10b223(0x23a)}}))['body'])==null?void 0x0:_0x5ca18b['ticket'])==null?'':_0x1d0adc;}};_0x913d6f=_0x4e0ded([_0x23d40f(0x0,(0x0,_0x430976[_0x2444bc(0x286)])(_0x430976[_0x2444bc(0x43c)])),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976['IConfigService']),_0x23d40f(0x3,_0x430976[_0x2444bc(0x30c)]),_0x23d40f(0x4,_0xf33e7d[_0x2444bc(0x40b)])],_0x913d6f);let _0x448b52=class extends _0x430976[_0x2444bc(0x25a)]{constructor(_0x5c2689,_0x547f65,_0x29fa4a){const _0x4f07b8=_0x2444bc;super(),this['_instanceService']=_0x5c2689,this[_0x4f07b8(0x2d0)]=_0x547f65,this[_0x4f07b8(0x266)]=_0x29fa4a;}async[_0x2444bc(0x3ec)](_0x17a7e6,_0x454c25,_0x53c843,..._0x1615a6){const _0x38b375=_0x2444bc;var _0xd489c0,_0x1881a1,_0xc8870e,_0xe78530;let _0x3245d9=this['_instanceService'][_0x38b375(0x303)]();if(!_0x3245d9)throw Error(_0x38b375(0x18a));let _0x6a997c=((_0xd489c0=this[_0x38b375(0x266)][_0x38b375(0x289)](_0x21dc5a[_0x38b375(0x3e0)]))==null?_0x21dc5a[_0x38b375(0x306)]:_0xd489c0)+'/'+_0x17a7e6+_0x38b375(0x3fd)+_0x454c25,_0x2f5888={'scriptId':_0x17a7e6,'runId':(_0x1881a1=new URL(window[_0x38b375(0x335)][_0x38b375(0x42d)])['searchParams'][_0x38b375(0x1a1)](_0x38b375(0x3d6)))==null?'':_0x1881a1,'function':_0x454c25,'unitId':_0x3245d9[_0x38b375(0x28c)](),'argsOfFunction':JSON[_0x38b375(0x3af)](_0x1615a6),'invokeId':(_0xc8870e=_0x53c843['invokeId'])==null?'':_0xc8870e,'executionId':(_0xe78530=_0x53c843[_0x38b375(0x25f)])==null?'':_0xe78530};try{let _0x234645=await this[_0x38b375(0x2d0)][_0x38b375(0x351)](_0x6a997c,{'body':_0x2f5888});return _0x234645[_0x38b375(0x443)][_0x38b375(0x1df)]&&_0x234645[_0x38b375(0x443)][_0x38b375(0x1df)][_0x38b375(0x21d)]!==_0x2217f1[_0x38b375(0x1f7)]['OK']?_0x38b375(0x3d4):_0x234645[_0x38b375(0x443)]['result'];}catch{return _0x38b375(0x3d4);}}};_0x448b52=_0x4e0ded([_0x23d40f(0x0,_0x430976[_0x2444bc(0x320)]),_0x23d40f(0x1,(0x0,_0x430976[_0x2444bc(0x286)])(_0x116517[_0x2444bc(0x26a)])),_0x23d40f(0x2,_0x430976['IConfigService'])],_0x448b52);let _0x28e364=0x7530,_0xc76825=_0x2444bc(0x1ff);var _0x1d44d0=class extends _0x430976[_0x2444bc(0x25a)]{constructor(){const _0x34d193=_0x2444bc;super(),_0x34d1c1(this,_0x34d193(0x2ff),(0x0,_0x430976[_0x34d193(0x16b)])()),_0x34d1c1(this,_0x34d193(0x22e),new Set()),_0x34d1c1(this,_0x34d193(0x204),new Map()),_0x34d1c1(this,_0x34d193(0x24c),null),_0x34d1c1(this,_0x34d193(0x431),new Map()),_0x34d1c1(this,_0x34d193(0x190),new Map()),this['_init']();}[_0x2444bc(0x3d1)](){const _0x1dd202=_0x2444bc;super[_0x1dd202(0x3d1)](),this[_0x1dd202(0x431)]['forEach']((_0x2a28ea,_0x2400e8)=>this[_0x1dd202(0x26f)](_0x2400e8)),this[_0x1dd202(0x24c)]&&window[_0x1dd202(0x20c)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x122ca9){const _0x57ac07=_0x2444bc;return this[_0x57ac07(0x398)](_0x122ca9)[_0x57ac07(0x1e6)]((0x0,_0x31275f['distinctUntilChanged'])());}[_0x2444bc(0x33e)](_0x2a8f6b){const _0xc74c92=_0x2444bc;this[_0xc74c92(0x22e)][_0xc74c92(0x212)]===0x0&&this[_0xc74c92(0x327)](),this[_0xc74c92(0x22e)][_0xc74c92(0x385)](_0x2a8f6b),this[_0xc74c92(0x39b)]({'type':0x0,'memberID':this[_0xc74c92(0x2ff)],'unitIDs':[_0x2a8f6b],'isForwarded':!0x1});}[_0x2444bc(0x24d)](_0x4cef05){const _0x1ab3cb=_0x2444bc;this[_0x1ab3cb(0x22e)][_0x1ab3cb(0x242)](_0x4cef05),this[_0x1ab3cb(0x22e)][_0x1ab3cb(0x212)]===0x0&&this[_0x1ab3cb(0x24c)]&&window['clearInterval'](this[_0x1ab3cb(0x24c)]);}[_0x2444bc(0x1dd)](){const _0x21c584=_0x2444bc;this['disposeWithMe']((0x0,_0x430976[_0x21c584(0x3d7)])((0x0,_0x31275f[_0x21c584(0x2e7)])(window,'storage')[_0x21c584(0x274)](_0x407a6e=>{const _0x413461=_0x21c584;if(_0x407a6e[_0x413461(0x15e)]!==_0xc76825||!_0x407a6e[_0x413461(0x28f)])return;let _0x151cfa=JSON[_0x413461(0x293)](_0x407a6e[_0x413461(0x28f)]);this[_0x413461(0x1fc)](_0x151cfa);}))),window[_0x21c584(0x2ae)](_0x21c584(0x283),()=>this[_0x21c584(0x39b)]({'type':0x1,'memberID':this[_0x21c584(0x2ff)],'unitIDs':Array['from'](this[_0x21c584(0x22e)])}));}['_handleEvent'](_0x245952){const _0x48e48b=_0x2444bc;switch(_0x245952[_0x48e48b(0x3cb)]){case 0x0:this[_0x48e48b(0x304)](_0x245952);break;case 0x1:this['_handleLeaveEvent'](_0x245952);break;case 0x2:this['_handleHeartbeatEvent'](_0x245952);break;}}[_0x2444bc(0x304)](_0x3379e4){const _0x18876b=_0x2444bc;let {unitIDs:_0x48a4fb,memberID:_0x3f3f78,isForwarded:_0x90156d}=_0x3379e4;_0x48a4fb[_0x18876b(0x380)](_0x5c753e=>{const _0x1234b4=_0x18876b;if(!_0x90156d&&this['_unitOnClients'][_0x1234b4(0x27b)](_0x5c753e)&&this[_0x1234b4(0x398)](_0x5c753e)[_0x1234b4(0x3f6)](_0x21dc5a[_0x1234b4(0x44f)][_0x1234b4(0x314)]),!this[_0x1234b4(0x204)][_0x1234b4(0x27b)](_0x5c753e)||!this[_0x1234b4(0x204)][_0x1234b4(0x1a1)](_0x5c753e)[_0x1234b4(0x27b)](_0x3f3f78)){let _0x574883=this[_0x1234b4(0x204)][_0x1234b4(0x1a1)](_0x5c753e)||new Set();_0x574883[_0x1234b4(0x385)](_0x3f3f78),this[_0x1234b4(0x204)][_0x1234b4(0x2da)](_0x5c753e,_0x574883),this[_0x1234b4(0x2f6)](_0x3f3f78);}}),_0x90156d||this[_0x18876b(0x39b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x18876b(0x22e)]],'isForwarded':!0x0});}[_0x2444bc(0x2f6)](_0x358e39){const _0x5685e1=_0x2444bc;this['_removeClearOtherTimer'](_0x358e39);let _0x2c2b54=window['setTimeout'](()=>{const _0x4ad9d6=_0x3284;this[_0x4ad9d6(0x204)]['forEach'](_0xa84ba8=>{const _0x4406cd=_0x4ad9d6;_0xa84ba8[_0x4406cd(0x242)](_0x358e39);});},_0x28e364*0x2);this[_0x5685e1(0x431)]['set'](_0x358e39,_0x2c2b54);}[_0x2444bc(0x26f)](_0x3ae2b8){const _0x52a044=_0x2444bc;if(this[_0x52a044(0x431)][_0x52a044(0x27b)](_0x3ae2b8)){let _0x46a949=this['_clearOtherTimers']['get'](_0x3ae2b8);_0x46a949&&window[_0x52a044(0x3ee)](_0x46a949),this['_clearOtherTimers'][_0x52a044(0x2da)](_0x3ae2b8,null);}}[_0x2444bc(0x350)](_0x2a22b9){const _0x31d321=_0x2444bc;let {memberID:_0x2ce447,unitIDs:_0x38b72d}=_0x2a22b9;_0x38b72d[_0x31d321(0x380)](_0x1b5c7d=>{const _0x45cfce=_0x31d321;var _0x1cf520;let _0x20972a=this[_0x45cfce(0x204)][_0x45cfce(0x1a1)](_0x1b5c7d);_0x20972a&&(_0x20972a[_0x45cfce(0x242)](_0x2ce447),(_0x1cf520=this['_ensureSubject'](_0x1b5c7d))==null||_0x1cf520['next'](_0x20972a[_0x45cfce(0x212)]===0x0?_0x21dc5a[_0x45cfce(0x44f)][_0x45cfce(0x33b)]:_0x21dc5a[_0x45cfce(0x44f)]['OTHER_CLIENTS_EDITING']));}),this[_0x31d321(0x26f)](_0x2ce447);}[_0x2444bc(0x1d7)](_0x2f268f){const _0x1d2bab=_0x2444bc;this[_0x1d2bab(0x2f6)](_0x2f268f[_0x1d2bab(0x386)]);}[_0x2444bc(0x39b)](_0x1785a5){const _0x1278dd=_0x2444bc;localStorage['setItem'](_0xc76825,JSON[_0x1278dd(0x3af)](_0x1785a5));}[_0x2444bc(0x327)](){const _0x3223e4=_0x2444bc;this[_0x3223e4(0x24c)]=window[_0x3223e4(0x230)](()=>{const _0x1b002f=_0x3223e4;this[_0x1b002f(0x39b)]({'type':0x2,'memberID':this[_0x1b002f(0x2ff)]});},_0x28e364);}[_0x2444bc(0x398)](_0x4b5dac){const _0x3dffaa=_0x2444bc;return this['_unitStatus'][_0x3dffaa(0x27b)](_0x4b5dac)||this[_0x3dffaa(0x190)][_0x3dffaa(0x2da)](_0x4b5dac,new _0x31275f[(_0x3dffaa(0x1d0))](_0x21dc5a[_0x3dffaa(0x44f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3dffaa(0x190)][_0x3dffaa(0x1a1)](_0x4b5dac);}};Object[_0x2444bc(0x16f)](_0x4bb0e6,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x913d6f;}}),Object[_0x2444bc(0x16f)](_0x4bb0e6,_0x2444bc(0x257),{'enumerable':!0x0,'get':function(){return _0x5aec05;}}),Object['defineProperty'](_0x4bb0e6,_0x2444bc(0x278),{'enumerable':!0x0,'get':function(){return _0x26c616;}}),_0x4bb0e6[_0x2444bc(0x381)]=_0x26fa78,Object['defineProperty'](_0x4bb0e6,_0x2444bc(0x1aa),{'enumerable':!0x0,'get':function(){return _0x448b52;}}),_0x4bb0e6[_0x2444bc(0x410)]=_0x102c6d,Object[_0x2444bc(0x16f)](_0x4bb0e6,_0x2444bc(0x163),{'enumerable':!0x0,'get':function(){return _0x48b1f6;}}),_0x4bb0e6[_0x2444bc(0x1fe)]=_0x1d44d0,_0x4bb0e6[_0x2444bc(0x272)]=_0x3159e8;}));
|
|
8
|
+
function _0x167c(){const _0x223fe2=['collaboration-client-ui.collabStatus.conflict','InsertRowCommandId','defineProperty','_showText','_startCalculationLimit','endColumn','code','@univerjs/engine-render','_getScale','_imageIoService','handleDeleteRangeMoveUp','SetWorksheetActivateCommand','_initWindowErrorListener','sessionTicket','_startDocCollabCursor','_configService','clearInterval','Failed','params','status','_colorIndex','href','subscribe','attrs','M0\x200H16V16H0z','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','WebSocketService','_transformService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','selections','_clearPolling','split','getLocalCacheKey','url(#$1','div','Tools','collaboration-client-ui.collabStatus.offline','React','getStateCache','serializeRangeWithSheet','_getSaveTimeout','TEXT','_showGuardMessage','_collabSessionService','_getFormulaLimitStatus','_instanceService','isFormulaId','_cursorInfo$','set','_handleLeaveEvent','_anchorDot','size','onPointerMove$','_setFormulaLimitStatus','_drawAnchor','i18nKey','_scheduleSaving','UniverProCollaboration','disableLocalCache','some','_assignedColors','_pollingInterval','_handleEvent','with','UniverCore','then','@univerjs/docs-ui','4PxWpch','univer-border-none\x20univer-bg-transparent','SheetSkeletonManagerService','_id','get','Enter','MUTATION','operators','SetTextSelectionsOperation','COLORS','_doCreateSocket','_injector','DependentOn','_offsetY','ILogService','generateRandomId','includes','setParam','univer-appearance-none','error','UPDATE_CURSOR','_memberService','_createSocketURL','push','sheetID','width','tag','VIEW_MAIN','setShapeProps','_setupSubUnitSync','_updateLocalCursor','DocStateChangeManagerService','distinctUntilChanged','all','pulse','_saveCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','clickable','collaboration-client-ui.formula.calculation.unable','fillRule','symbol','useDependency','unshift','START_CALCULATION','executeCommand','_localCacheService','CollaborationSocketService','ISnapshotServerService','ISocketService','MemberService','LocaleService','lineno','unload','stringify','_checkAndWaitForCalculationPermission','_taskIds','univer-inline-flex\x20univer-items-center\x20univer-justify-center','onPointerLeave$','SetFormulaCalculationStartMutation','span','[LogService\x20Error]:\x20','RegularPolygon','debounce','path','\x20-\x20','ticket','getSheetId','NOT_COLLAB','takeUntil','ONLINE','[Window\x20Error]:\x20','loadOfflineData','tooltipKey','forEach','Optional','_toggleOnline','prototype','OFFLINE','m1Prime','wsSessionTicketUrl','univer-m-0\x20univer-p-0','rgba(','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getMemberID','function','_updateCollabCursors','findNodePositionByCharIndex','AWAITING','IMessageService','colorClass','_checkCalculationAvailable','pluginName','functionsExecutedState','docStateChange$','UNIVER_SHEET','_ensureSubject','unsubscribe','getFormulaLimitStatusUrl','_labelPosition','/universer-api/license/formula/limit/start','DocIMEInputManagerService','exports','@univerjs/docs','Error','join','_collaborationController','mutations','@univerjs/protocol','merge','Shape','getAllUnitsForType','#0B9EFB','NO_OTHER_CLIENTS_EDITING','_releaseCalculationLimit','icon','transformMutationsWithChangeset','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','transformMutation','_textBubble','InsertColCommandId','registerDependencies','6044936KmHUQH','disposeWithMe','_initStatusListener','labelPosition','runId','_render','_cursor','collaboration-client-ui.session.will-retry','@univerjs/ui','ILocalStorageService','_cursorShapes','_shapes','_updateURLWithCurrentState','http://www.w3.org/2000/svg','SheetsSelectionsService','closePath','whenReady','startColumn','map','_docTransformIMECacheService','IUniverInstanceService','_beforeCloseService','idSuffix','getCollabCursors$','getActiveSheet','trim','_handleHeartbeatEvent','key','useMemo','saveOfflineData','removeParam','substring','LOCAL_CACHE_INTERVAL_KEY','_init','_send','SetFormulaCalculationNotificationMutation','_hideTimer','onCommandExecuted','editingUnit','fromEvent','setUndoRedoMutationParamsCache','UniverCollaborationClientUIPlugin','sheetId','jiqing.500','colno','spin','fillText','mergeOverrideWithDependencies','_messageService','_eventUnsubscribe','text','origin','univerjs-icon\x20univerjs-icon-','getRelativeToViewportCoord','RichTextEditingMutation','send','Plugin','_docTransformSelectionsService','blue.400','button','CollaborationStatus','next','_httpService','getMergeData','row','registerRefRange','collaboration-client-ui.collabClient.tooltip.reconnect','setOffsetY','FETCH_MISS','offsetY','SUCCESS','body','_drawTextRange','search','searchParams','_getMergeRange','rgba','@univerjs/rpc','CONFLICT','univer-text-red-500','?taskId=','_logService','9RfnPus','assignAColorForMemberID','isArray','DesktopCollaborationStatusDisplayController','_getSheetObject','runOnServer','show','addClipboardHook','getColor','ITransformService','1597475HOqSRl','_highlight','_initEvent','moveTo','JOIN_ROOM_FAILED','hovered','collaboration-client-ui.permission.content','undoState','newValue','off-line-icon_clip0_910_343','collaboration-client-ui.session.collaboration-timeout','getVpScrollXYInfoByPosToVp','_selfUnitIDs','svg','createIdentifier','NodePositionConvertToRectRange','MessageType','type','Success','limitInfo','find','max','getTypeOfUnitAdded$','toDisposable','SessionStatus','HTTPService','getUnhiddenWorksheets','_sheetSkeletonManagerService','_heartbeatTimer','_uiPartsService','InsertRangeMoveDownCommandId','black','getSkeleton','createElement','restore','CanceledError','SetSelectionsOperation','startsWith','random','override','isTransformMutationsWithChangesetSuccess','actions','save','stageInfo','iterator','@univerjs-pro/collaboration-client-ui','_collabCursorController','current','Unknown\x20user','stage','CollaborationEvent','entries','reconnect','/universer-api/license/formula/limit/status','translate(.97)','event$','getCurrentSelections','_draw','_entities','Subject','[Unhandled\x20Rejection]:\x20','_urlService','_stopBlinking','transformIMECache','memberID','Vector2','delete','6IHgnCR','_startSheetCollabCursor','handleIRemoveRow','application/json','source','_refreshCollabCursors','color','length','entityInit$','asObservable','doc.mutation.rich-text-editing','uni.network.url-service','purple.300','getCellPositionByOffset','reason','DisposableCollection','IURLService','_setupBeforeClosingHandler','dispose$','rgba(255,\x20255,\x20255,\x200.01)','_localeService','UniverIcon','SHEET_VIEWPORT_KEY','OffLineIcon','handleInsertRangeMoveDown','_online','OnLineIcon','_cursors','_initStatusComponent','TEXT_RANGE_LAYER_INDEX','currentTheme$','flatMap','UniverCollaborationClientPlugin','registerBeforeClose','isTransformMutationFailure','displayName','unitId','indicator','yellow.400','SOCKET_FAILED','preventDefault','collaboration-client-ui.collabStatus.syncing','_color','exhaustSavingTask','storage','on-line-icon_clip0_910_349','_revisionService','parseInt','location','loadUnit','_transformHistoryAndStateStack','IImageIoService','UniverDesign','_docTransformStateCacheService','_blinkIntervalTimer','imageSourceType','CLOSE_ROOM','DOC_RANGE_TYPE','onPointerEnter$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','Inject','beginPath','startFormulaLimitUrl','message','activeSheet$','ThemeService','lineTo','_roomMembers$','_scheduleHeartbeat','slice','@univerjs/engine-formula','univer-text-gray-400','_name','UniverDrawing','CollaborationController','filename','handleInsertRangeMoveRight','rgb','addObjects','Workbook','_lastResponseTimestamp','_initResize','string','transform','univer-text-green-500','onStarting','use','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','SOCKET_FAILED_RETRY','startRow','resize','_registerRenderDependencies','_anchor','switchMap','setTimeout','_config','FromArray','DocCollaborationEntity','on-line-icon','DEFAULT_WS_SESSION_TICKET_URL','_initUnhandledRejectionListener','_docSyncEditingCollabCursorService','registerRenderModule','_hover','useCallback','getTypeOfUnitDisposed$','UniverRpc','_onCursorDelete','EffectRefRangId','history','connectInjector','Injector','static','replaceState','LOCAL_CACHE_INTERVAL','collaboration-client-ui.collabStatus.fetchMiss','call','ICommandService','combineLatest','showText','@univerjs/sheets-ui','_monkeyPatchLogService','ILocalCacheService','values','228170BpUUwE','@univerjs/drawing','clipPath','triggerDblclick','disposeUnit','@univerjs-pro/collaboration-client','INotificationService','forwardRef','redoState','getOffsetConfig','mask','urlChange$','UniverEngineRender','saveImage','strokeWidth','IDocClipboardService','WebURLService','useRef','bind','complete','amd','_hasFormulaInDirtyRanges','now','defs','polite','getUnitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CollaborationSessionService','onRendered','getParam','IConfigService','663468AQWeUx','highlightSecond','_session','enableFrontendLog','collabCursorState$','pushState','handleInsertCol','0\x200\x2017\x2016','arc','font','replaceDocRanges','subUnitId','bottom','defIds','currentColor','getUndoRedoMutationParamsCache','cursorInfo','deepClone','_currentUsage','backgroundColor','_pointerMoveDisposable','_initCommandInterceptor','_disabled','react','rxjs','react/jsx-runtime','_renderManagerService','isActive','CollaborationUIEventService','colorChannel1','init','debug','roomMembers','_isBlinkVisible','getItem','popstate','roomMembers$','Rect','transformSelections','collaboration-client-ui.collaboration.single-unit.warning','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','BehaviorSubject','...','UniverProCollaborationClientUi','_handleJoinEvent','23507440bvGlRa','_cachedData','_collabCursorState$','deserializeRangeWithSheet','setStateCache','_initCommandExecutedListener','eventID','_syncEditingCollabCursorService','_notificationService','_onCursorUpdate','textRanges','_drawRectRange','_removeCollabCursors','pipe','transformRemoteChangeset','getConfig','getActiveRange','selection','_handleHover','getColorFromTheme','FormulaExecuteStageType','addEventListener','fillStyle','UnitStatus','_themeService','height','url(#off-line-icon_clip0_910_343)','add','_univerInstanceService','unitID','registerComponent','default','_scene','white','getCoordByCell','post','invokeId','name','subunit','clsx','subscribeEvent','endRow','debounceTime','true','1499178evZyWU','_localStorageService','getMember','/universer-api/frontend/logs','_maxFormulaLimit','from','4274330EPcyqQ','off-line-icon','setInterval','/universer-api/license/formula/limit/done','ColorKit','_initEntityListener','Warning','_transformUndoRedoStack','getFocusedUnit','_blinkTimer','drawWith','replace','Loading','top','touchDependencies','loading-multi-icon','children','xlink:href','DeleteRangeMoveUpCommandId','collaboration-client-ui.permission.title','Disposable','_unitStatus','useObservable','jsx','SheetCollabCursorShape','data','collaboration-client-ui.collabStatus.synced','BuiltInUIPart','univer-flex\x20univer-items-center\x20univer-justify-center','addHandlerCallback','measureText','_getLighterColor','_toggleOffline','RefRangeService','_clearOtherTimers','@univerjs/sheets','setItem','_refRangeService','fill','highlight','LoadingMultiIcon','_applyCommand','syncEditingCollabCursor','_backgroundColor','Tooltip','getRangePointData','@univerjs-pro/collaboration','ranges','_hovered','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','getOwnPropertyDescriptor','getValue','none','_context','saveTaskMap','_uploadLog','WebBrowserSingleActiveUnitService','shift','PERMISSION_DENIED','filter','univer-text-orange-500','ErrorCode','UniverDocsUi','isFormulaString','collaboration-client-ui.session.connection-failed','handleMoveRange','_highlightSecond','1em','setConfig','USERS_LEAVE','evenodd','RxDisposable','transformStateCache','_collaborationSessionService','onTransformChange$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','IRenderManagerService','_docStateChangeManagerService','decorate','getCurrentUnitOfType','OTHER_CLIENTS_EDITING','has','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','cursorInfo$','toString','_document','\x20at\x20','hide','/run/','object','toPrimitive','0.2)','_getSessionTicket',',\x200.2)','[CollaborationDataLoaderController]','makeDirty','DocSkeletonManagerService','isInternalEditorID','requireSession','28FMUDpA','min','parse','_docClipboardService','_memberID','getAncestorScale','PENDING','RECT','_colorAssignService','getUniverSheetInstance','_entityInit$','getCurrentTypeOfUnit$','UniverSheetsUi','_status$','UniverInstanceType','CollaborationUIEventId','getRenderById','addObject','totalFormulasToCalculate','_updateSubUnitFromURLParams','UNIVER_DOC','dispose','_collaborationUIEventService','round','clearTimeout','getSheetBySheetId','Module','_commandService','_scheduleClearOtherTimer','DocSelectionManagerService','UniverProCollaborationClient','_startBlinking','onMouseMove','_unitOnClients','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setAlpha','_removeClearOtherTimer','_transformPreviousActiveRange','assign','univer-text-blue-500','_range','unit','0.25.1','m2Prime','beforeCommandExecuted','runRefRangeMutations'];_0x167c=function(){return _0x223fe2;};return _0x167c();}function _0x405a(_0x32d589,_0x3c4225){_0x32d589=_0x32d589-0x13e;const _0x167ceb=_0x167c();let _0x405a6e=_0x167ceb[_0x32d589];return _0x405a6e;}(function(_0x2ba2b0,_0x25a278){const _0x5d2637=_0x405a,_0x213447=_0x2ba2b0();while(!![]){try{const _0x24e2c3=parseInt(_0x5d2637(0x2a7))/0x1*(-parseInt(_0x5d2637(0x22a))/0x2)+parseInt(_0x5d2637(0x2c6))/0x3*(-parseInt(_0x5d2637(0x3fa))/0x4)+-parseInt(_0x5d2637(0x1e7))/0x5+-parseInt(_0x5d2637(0x31f))/0x6*(-parseInt(_0x5d2637(0x389))/0x7)+-parseInt(_0x5d2637(0x18b))/0x8+parseInt(_0x5d2637(0x1dd))/0x9*(-parseInt(_0x5d2637(0x325))/0xa)+parseInt(_0x5d2637(0x2f3))/0xb;if(_0x24e2c3===_0x25a278)break;else _0x213447['push'](_0x213447['shift']());}catch(_0x2b64b3){_0x213447['push'](_0x213447['shift']());}}}(_0x167c,0xb1cd9),function(_0x21a902,_0x5e4408){const _0x3af0ae=_0x405a;typeof exports==_0x3af0ae(0x37f)&&typeof module<'u'?_0x5e4408(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x3af0ae(0x165)&&define[_0x3af0ae(0x2bb)]?define([_0x3af0ae(0x176),_0x3af0ae(0x2ac),'@univerjs/core',_0x3af0ae(0x193),_0x3af0ae(0x2de),'rxjs/operators','@univerjs/design',_0x3af0ae(0x2dd),_0x3af0ae(0x2df),_0x3af0ae(0x1d8),_0x3af0ae(0x348),_0x3af0ae(0x3be),'@univerjs/network',_0x3af0ae(0x3f9),_0x3af0ae(0x2a8),_0x3af0ae(0x353),_0x3af0ae(0x177),_0x3af0ae(0x271),_0x3af0ae(0x2a3),_0x3af0ae(0x17c)],_0x5e4408):(_0x21a902=typeof globalThis<'u'?globalThis:_0x21a902||self,_0x5e4408(_0x21a902[_0x3af0ae(0x2f1)]={},_0x21a902[_0x3af0ae(0x3a7)],_0x21a902[_0x3af0ae(0x3f7)],_0x21a902['UniverUi'],_0x21a902[_0x3af0ae(0x2de)],_0x21a902[_0x3af0ae(0x2de)][_0x3af0ae(0x401)],_0x21a902[_0x3af0ae(0x25e)],_0x21a902[_0x3af0ae(0x3dc)],_0x21a902[_0x3af0ae(0x3dc)],_0x21a902[_0x3af0ae(0x295)],_0x21a902['UniverSheets'],_0x21a902[_0x3af0ae(0x2b3)],_0x21a902['UniverNetwork'],_0x21a902[_0x3af0ae(0x364)],_0x21a902[_0x3af0ae(0x274)],_0x21a902[_0x3af0ae(0x3f0)],_0x21a902['UniverDocs'],_0x21a902['UniverEngineFormula'],_0x21a902[_0x3af0ae(0x395)],_0x21a902['UniverProtocol']));}(this,function(_0x2f94b9,_0x20efb1,_0x1d062f,_0x25f9de,_0x5df150,_0x231056,_0x36848a,_0xac8e66,_0xd5ac84,_0x1a5bc2,_0x396996,_0xc630f2,_0x287543,_0x1c6b1f,_0x55bfd1,_0x600789,_0x55d528,_0x4f0b10,_0x5c8585,_0x3c5971){const _0x339b6f=_0x405a;Object[_0x339b6f(0x3b9)](_0x2f94b9,Symbol['toStringTag'],{'value':_0x339b6f(0x3a3)});function _0x58c7d5({ref:_0x340379,..._0x2c8674}){const _0x508370=_0x339b6f;let {icon:_0x252d4a,id:_0x35b781,className:_0x2a566b,extend:_0x36ab7a,..._0x30ed38}=_0x2c8674,_0x26b5ba=(_0x508370(0x1bf)+_0x35b781+'\x20'+(_0x2a566b||''))[_0x508370(0x1a4)](),_0x57855d=(0x0,_0xac8e66[_0x508370(0x2b8)])('_'+_0x540173());return _0x5c742c(_0x252d4a,''+_0x35b781,{'defIds':_0x252d4a[_0x508370(0x2d3)],'idSuffix':_0x57855d[_0x508370(0x216)]},{'ref':_0x340379,'className':_0x26b5ba,..._0x30ed38},_0x36ab7a);}function _0x5c742c(_0x2a45bf,_0x235f26,_0x5f1eac,_0x2a4263,_0x2dae54){const _0x41f7e0=_0x339b6f;return(0x0,_0xac8e66[_0x41f7e0(0x208)])(_0x2a45bf[_0x41f7e0(0x414)],{'key':_0x235f26,..._0x28609e(_0x2a45bf,_0x5f1eac,_0x2dae54),..._0x2a4263},(_0x329b43(_0x2a45bf,_0x5f1eac)['children']||[])[_0x41f7e0(0x19d)]((_0x49f1fb,_0x394b46)=>_0x5c742c(_0x49f1fb,_0x235f26+'-'+_0x2a45bf[_0x41f7e0(0x414)]+'-'+_0x394b46,_0x5f1eac,void 0x0,_0x2dae54)));}function _0x28609e(_0x3539c0,_0x21f92f,_0x495fe8){const _0x1ddf3f=_0x339b6f;let _0x616746={..._0x3539c0[_0x1ddf3f(0x3ce)]};_0x495fe8!=null&&_0x495fe8['colorChannel1']&&_0x616746[_0x1ddf3f(0x34b)]==='colorChannel1'&&(_0x616746[_0x1ddf3f(0x34b)]=_0x495fe8[_0x1ddf3f(0x2e3)]),_0x3539c0[_0x1ddf3f(0x414)]==='mask'&&_0x616746['id']&&(_0x616746['id']+=_0x21f92f[_0x1ddf3f(0x1a1)]),Object['entries'](_0x616746)[_0x1ddf3f(0x159)](([_0x2d887c,_0x61cef9])=>{const _0x53ce5c=_0x1ddf3f;_0x2d887c===_0x53ce5c(0x2b1)&&typeof _0x61cef9=='string'&&(_0x616746[_0x2d887c]=_0x61cef9[_0x53ce5c(0x330)](/url\(#(.*)\)/,'url(#$1'+_0x21f92f['idSuffix']+')'));});let {defIds:_0x205f5c}=_0x21f92f;return!_0x205f5c||_0x205f5c[_0x1ddf3f(0x231)]===0x0?_0x616746:(_0x3539c0[_0x1ddf3f(0x414)]===_0x1ddf3f(0x281)&&_0x616746[_0x1ddf3f(0x336)]&&(_0x616746[_0x1ddf3f(0x336)]+=_0x21f92f[_0x1ddf3f(0x1a1)]),Object[_0x1ddf3f(0x21a)](_0x616746)[_0x1ddf3f(0x159)](([_0x563186,_0xb01a06])=>{const _0x2775bc=_0x1ddf3f;typeof _0xb01a06==_0x2775bc(0x27d)&&(_0x616746[_0x563186]=_0xb01a06[_0x2775bc(0x330)](/url\(#(.*)\)/,_0x2775bc(0x3d8)+_0x21f92f[_0x2775bc(0x1a1)]+')'));}),_0x616746);}function _0x329b43(_0x1a60a9,_0x5a0b22){const _0x5cd642=_0x339b6f;var _0x57c42e;let {defIds:_0x40e7df}=_0x5a0b22;return!_0x40e7df||_0x40e7df[_0x5cd642(0x231)]===0x0?_0x1a60a9:_0x1a60a9[_0x5cd642(0x414)]===_0x5cd642(0x2be)&&(_0x57c42e=_0x1a60a9[_0x5cd642(0x335)])!=null&&_0x57c42e['length']?{..._0x1a60a9,'children':_0x1a60a9[_0x5cd642(0x335)][_0x5cd642(0x19d)](_0x4ed2e5=>typeof _0x4ed2e5[_0x5cd642(0x3ce)]['id']=='string'&&_0x40e7df&&_0x40e7df[_0x5cd642(0x40a)](_0x4ed2e5[_0x5cd642(0x3ce)]['id'])?{..._0x4ed2e5,'attrs':{..._0x4ed2e5[_0x5cd642(0x3ce)],'id':_0x4ed2e5['attrs']['id']+_0x5a0b22[_0x5cd642(0x1a1)]}}:_0x4ed2e5)}:_0x1a60a9;}function _0x540173(){const _0x50c330=_0x339b6f;return Math[_0x50c330(0x20d)]()['toString'](0x24)[_0x50c330(0x1aa)](0x2,0x8);}_0x58c7d5[_0x339b6f(0x24d)]=_0x339b6f(0x23f);let _0x472634={'tag':_0x339b6f(0x1f4),'attrs':{'xmlns':_0x339b6f(0x198),'fill':_0x339b6f(0x35a),'viewBox':'0\x200\x2016\x2016','width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':'g','attrs':{'clipPath':_0x339b6f(0x30d)},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'stroke':_0x339b6f(0x2d4),'d':_0x339b6f(0x3d0),'strokeLinecap':_0x339b6f(0x3a0),'strokeLinejoin':_0x339b6f(0x3a0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x339b6f(0x2a9),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':_0x339b6f(0x314),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x339b6f(0x1f0)]},_0x3ea82d=(0x0,_0xac8e66[_0x339b6f(0x2ae)])(function(_0xbee988,_0xf5d57){const _0x541897=_0x339b6f;return(0x0,_0xac8e66['createElement'])(_0x58c7d5,Object[_0x541897(0x3af)]({},_0xbee988,{'id':_0x541897(0x326),'ref':_0xf5d57,'icon':_0x472634}));});_0x3ea82d[_0x339b6f(0x24d)]=_0x339b6f(0x241);let _0x5462e4={'tag':'svg','attrs':{'xmlns':_0x339b6f(0x198),'fill':_0x339b6f(0x35a),'viewBox':_0x339b6f(0x2cd),'width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'stroke':_0x339b6f(0x2d4),'d':_0x339b6f(0x282),'strokeLinecap':_0x339b6f(0x3a0),'strokeLinejoin':_0x339b6f(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x339b6f(0x2be),'attrs':{},'children':[{'tag':_0x339b6f(0x2a9),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':_0x339b6f(0x314),'d':_0x339b6f(0x3cf),'transform':_0x339b6f(0x21d)}}]}]}],'defIds':[_0x339b6f(0x257)]},_0x575ca4=(0x0,_0xac8e66[_0x339b6f(0x2ae)])(function(_0x456f49,_0x14a7a2){const _0x54e44c=_0x339b6f;return(0x0,_0xac8e66[_0x54e44c(0x208)])(_0x58c7d5,Object[_0x54e44c(0x3af)]({},_0x456f49,{'id':_0x54e44c(0x28d),'ref':_0x14a7a2,'icon':_0x5462e4}));});_0x575ca4[_0x339b6f(0x24d)]=_0x339b6f(0x244);let _0x5f39e8={'tag':_0x339b6f(0x1f4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x339b6f(0x35a),'viewBox':'0\x200\x2016\x2016','width':_0x339b6f(0x369),'height':_0x339b6f(0x369)},'children':[{'tag':_0x339b6f(0x14f),'attrs':{'fill':'#0B9EFB','d':_0x339b6f(0x266),'fillOpacity':0.2,'fillRule':_0x339b6f(0x36c),'clipRule':'evenodd'}},{'tag':'path','attrs':{'fill':_0x339b6f(0x180),'d':_0x339b6f(0x2ee),'fillRule':_0x339b6f(0x36c),'clipRule':_0x339b6f(0x36c)}}]},_0x194ce2=(0x0,_0xac8e66['forwardRef'])(function(_0x3cce8c,_0x4e38cc){const _0x2baeb5=_0x339b6f;return(0x0,_0xac8e66[_0x2baeb5(0x208)])(_0x58c7d5,Object[_0x2baeb5(0x3af)]({},_0x3cce8c,{'id':_0x2baeb5(0x334),'ref':_0x4e38cc,'icon':_0x5f39e8}));});_0x194ce2[_0x339b6f(0x24d)]=_0x339b6f(0x34d);function _0x42a252(_0x487fd0){const _0x270753=_0x339b6f;switch(_0x487fd0){case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x15d)]:return{'icon':(0x0,_0xd5ac84['jsx'])(_0x3ea82d,{}),'colorClass':_0x270753(0x1da),'i18nKey':_0x270753(0x3db),'tooltipKey':_0x270753(0x1cd),'clickable':!0x0,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x1d9)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x3ea82d,{}),'colorClass':_0x270753(0x362),'i18nKey':_0x270753(0x3b7),'clickable':!0x1,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x1cf)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':_0x270753(0x29e),'clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x153)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x575ca4,{}),'colorClass':_0x270753(0x272),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x270753(0x29b)};case _0x20efb1[_0x270753(0x1c7)][_0x270753(0x168)]:case _0x20efb1['CollaborationStatus']['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1['CollaborationStatus'][_0x270753(0x38f)]:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x194ce2,{}),'colorClass':_0x270753(0x3b0),'i18nKey':_0x270753(0x253),'clickable':!0x1,'indicator':_0x270753(0x1b8)};case _0x20efb1[_0x270753(0x1c7)]['SYNCED']:return{'icon':(0x0,_0xd5ac84[_0x270753(0x33c)])(_0x575ca4,{}),'colorClass':_0x270753(0x27f),'i18nKey':_0x270753(0x33f),'clickable':!0x1,'indicator':_0x270753(0x29b)};}}function _0x4ee0fa(_0x919d0c){const _0x29f38a=_0x339b6f;let {status$:_0x124798}=_0x919d0c,_0x4959e8=(0x0,_0x25f9de[_0x29f38a(0x33b)])(_0x124798,_0x20efb1[_0x29f38a(0x1c7)][_0x29f38a(0x153)]),_0x1f198b=(0x0,_0x25f9de[_0x29f38a(0x423)])(_0x1d062f[_0x29f38a(0x142)]),_0x145c8f=(0x0,_0x25f9de[_0x29f38a(0x423)])(_0x20efb1[_0x29f38a(0x2c2)]),_0x4603c3=(0x0,_0xac8e66[_0x29f38a(0x1a7)])(()=>_0x42a252(_0x4959e8),[_0x4959e8]),_0x518f24=_0x4959e8!==_0x20efb1['CollaborationStatus'][_0x29f38a(0x15d)],_0x43431f=_0x1f198b['t'](_0x4603c3[_0x29f38a(0x3ee)]),_0x158ac2=_0x4603c3[_0x29f38a(0x158)]?_0x1f198b['t'](_0x4603c3['tooltipKey']):_0x43431f,_0x4812e8=(0x0,_0xac8e66[_0x29f38a(0x293)])(()=>{const _0x457ee3=_0x29f38a;_0x518f24||_0x145c8f[_0x457ee3(0x21b)]();},[_0x518f24,_0x145c8f]),_0x4d4334=(0x0,_0xac8e66['useCallback'])(_0x1c7c19=>{const _0x8f0347=_0x29f38a;!_0x518f24&&(_0x1c7c19[_0x8f0347(0x1a6)]===_0x8f0347(0x3ff)||_0x1c7c19['key']==='\x20')&&(_0x1c7c19[_0x8f0347(0x252)](),_0x145c8f[_0x8f0347(0x21b)]());},[_0x518f24,_0x145c8f]),_0x50e7cb=(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x14b),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])(_0x29f38a(0x341),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x4603c3[_0x29f38a(0x16a)],{'univer-animate-spin':_0x4603c3[_0x29f38a(0x24f)]===_0x29f38a(0x1b8),'univer-animate-pulse':_0x4603c3[_0x29f38a(0x24f)]===_0x29f38a(0x41c)}),'aria-hidden':_0x29f38a(0x31e),'children':_0x4603c3[_0x29f38a(0x183)]}),_0x1fbe68=(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x14b),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg','univer-transition-all\x20univer-duration-200',_0x29f38a(0x378),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x4603c3[_0x29f38a(0x41f)],'univer-cursor-default':!_0x4603c3[_0x29f38a(0x41f)]}),'children':_0x50e7cb});return _0x4603c3[_0x29f38a(0x41f)]?(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x36848a[_0x29f38a(0x351)],{'title':_0x158ac2,'placement':_0x29f38a(0x2d2),'children':(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x1c6),{'type':_0x29f38a(0x1c6),'onClick':_0x4812e8,'onKeyDown':_0x4d4334,'className':(0x0,_0x36848a['clsx'])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x29f38a(0x3fb),_0x29f38a(0x160),_0x29f38a(0x40c)),'aria-label':_0x43431f+_0x29f38a(0x150)+_0x158ac2,'role':_0x29f38a(0x3ca),'aria-live':_0x29f38a(0x2bf),'aria-atomic':_0x29f38a(0x31e),'children':_0x1fbe68})}):(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x36848a[_0x29f38a(0x351)],{'title':_0x158ac2,'placement':_0x29f38a(0x2d2),'children':(0x0,_0xd5ac84[_0x29f38a(0x33c)])(_0x29f38a(0x3d9),{'className':(0x0,_0x36848a[_0x29f38a(0x31a)])(_0x29f38a(0x148),_0x29f38a(0x3fb),_0x29f38a(0x160)),'aria-label':_0x43431f,'role':_0x29f38a(0x3ca),'aria-live':_0x29f38a(0x2bf),'aria-atomic':_0x29f38a(0x31e),'children':_0x1fbe68})});}function _0x56888d(_0x4a0f2c){'@babel/helpers - typeof';const _0x94c2ff=_0x339b6f;return _0x56888d=typeof Symbol=='function'&&typeof Symbol[_0x94c2ff(0x213)]==_0x94c2ff(0x422)?function(_0x3d42af){return typeof _0x3d42af;}:function(_0x4f93bd){const _0x1e2f41=_0x94c2ff;return _0x4f93bd&&typeof Symbol==_0x1e2f41(0x165)&&_0x4f93bd['constructor']===Symbol&&_0x4f93bd!==Symbol[_0x1e2f41(0x15c)]?_0x1e2f41(0x422):typeof _0x4f93bd;},_0x56888d(_0x4a0f2c);}function _0x37e4d0(_0x590cf6,_0x1f4740){const _0x21431d=_0x339b6f;if(_0x56888d(_0x590cf6)!=_0x21431d(0x37f)||!_0x590cf6)return _0x590cf6;var _0x24e249=_0x590cf6[Symbol[_0x21431d(0x380)]];if(_0x24e249!==void 0x0){var _0x4c74b4=_0x24e249[_0x21431d(0x29f)](_0x590cf6,_0x1f4740||_0x21431d(0x312));if(_0x56888d(_0x4c74b4)!=_0x21431d(0x37f))return _0x4c74b4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1f4740===_0x21431d(0x27d)?String:Number)(_0x590cf6);}function _0x1eb7bb(_0x46ec26){const _0x2f25db=_0x339b6f;var _0x2bc9f3=_0x37e4d0(_0x46ec26,_0x2f25db(0x27d));return _0x56888d(_0x2bc9f3)==_0x2f25db(0x422)?_0x2bc9f3:_0x2bc9f3+'';}function _0x1050e7(_0x330a98,_0x2bf9f6,_0xa3e105){const _0xcbf937=_0x339b6f;return(_0x2bf9f6=_0x1eb7bb(_0x2bf9f6))in _0x330a98?Object[_0xcbf937(0x3b9)](_0x330a98,_0x2bf9f6,{'value':_0xa3e105,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x330a98[_0x2bf9f6]=_0xa3e105,_0x330a98;}function _0x21c55a(_0x2d7a36,_0x1a0316){return function(_0x1080df,_0x54ac25){_0x1a0316(_0x1080df,_0x54ac25,_0x2d7a36);};}function _0x8db4f3(_0xe2d024,_0x564045,_0x188b13,_0x5bdbe6){const _0x52b6aa=_0x339b6f;var _0x452096=arguments[_0x52b6aa(0x231)],_0x1b4fb3=_0x452096<0x3?_0x564045:_0x5bdbe6===null?_0x5bdbe6=Object[_0x52b6aa(0x358)](_0x564045,_0x188b13):_0x5bdbe6,_0x3c756c;if(typeof Reflect=='object'&&typeof Reflect[_0x52b6aa(0x374)]==_0x52b6aa(0x165))_0x1b4fb3=Reflect[_0x52b6aa(0x374)](_0xe2d024,_0x564045,_0x188b13,_0x5bdbe6);else{for(var _0x308e28=_0xe2d024[_0x52b6aa(0x231)]-0x1;_0x308e28>=0x0;_0x308e28--)(_0x3c756c=_0xe2d024[_0x308e28])&&(_0x1b4fb3=(_0x452096<0x3?_0x3c756c(_0x1b4fb3):_0x452096>0x3?_0x3c756c(_0x564045,_0x188b13,_0x1b4fb3):_0x3c756c(_0x564045,_0x188b13))||_0x1b4fb3);}return _0x452096>0x3&&_0x1b4fb3&&Object[_0x52b6aa(0x3b9)](_0x564045,_0x188b13,_0x1b4fb3),_0x1b4fb3;}let _0x22b7f5=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x2bb641,_0x2cb03e,_0x2878e6,_0x41af0a){const _0x71cb39=_0x339b6f;super(),this['_univerInstanceService']=_0x2bb641,this[_0x71cb39(0x405)]=_0x2cb03e,this['_collaborationController']=_0x2878e6,this[_0x71cb39(0x204)]=_0x41af0a,_0x1050e7(this,_0x71cb39(0x396),new _0x5df150['BehaviorSubject'](_0x20efb1['CollaborationStatus'][_0x71cb39(0x153)])),this[_0x71cb39(0x246)](),this['_initStatusListener']();}[_0x339b6f(0x18d)](){const _0x577076=_0x339b6f;this['disposeWithMe']((0x0,_0x5df150['merge'])(this['_univerInstanceService']['focused$'],this[_0x577076(0x30f)][_0x577076(0x394)](_0x1d062f[_0x577076(0x397)][_0x577076(0x39d)]),this[_0x577076(0x30f)][_0x577076(0x394)](_0x1d062f[_0x577076(0x397)][_0x577076(0x16f)]))[_0x577076(0x300)]((0x0,_0x231056[_0x577076(0x19d)])(()=>_0x277f5b(this['_univerInstanceService'])),(0x0,_0x231056[_0x577076(0x41a)])(),(0x0,_0x5df150[_0x577076(0x288)])(_0x34f2e6=>_0x34f2e6?this['_collaborationController']['getCollabEntity$'](_0x34f2e6):(0x0,_0x5df150['of'])(null)),(0x0,_0x5df150[_0x577076(0x288)])(_0x599eee=>_0x599eee?_0x599eee['status$']:(0x0,_0x5df150['of'])(_0x20efb1[_0x577076(0x1c7)][_0x577076(0x153)])))[_0x577076(0x3cd)](_0x2ef6af=>{const _0x27aefd=_0x577076;this['_status$'][_0x27aefd(0x1c8)](_0x2ef6af);}));}['_initStatusComponent'](){const _0x2db265=_0x339b6f;this[_0x2db265(0x18c)](this[_0x2db265(0x204)][_0x2db265(0x311)](_0x25f9de[_0x2db265(0x340)]['HEADER_MENU'],()=>(0x0,_0x25f9de[_0x2db265(0x299)])(_0x7a77eb({'status$':this[_0x2db265(0x396)][_0x2db265(0x233)]()}),this[_0x2db265(0x405)])));}};_0x22b7f5=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x275)])),_0x21c55a(0x3,_0x25f9de['IUIPartsService'])],_0x22b7f5);function _0x277f5b(_0x4d1de8){const _0x491849=_0x339b6f;let _0x1dea84=_0x4d1de8[_0x491849(0x32d)](),_0x5ca663=_0x1dea84==null?void 0x0:_0x1dea84[_0x491849(0x2c0)]();if(_0x5ca663&&!(0x0,_0x1d062f[_0x491849(0x387)])(_0x5ca663))return _0x5ca663;let _0x5b52d5=_0x4d1de8[_0x491849(0x375)](_0x1d062f[_0x491849(0x397)][_0x491849(0x39d)]),_0x5c5833=_0x5b52d5==null?void 0x0:_0x5b52d5[_0x491849(0x2c0)]();if(_0x5c5833&&!(0x0,_0x1d062f[_0x491849(0x387)])(_0x5c5833))return _0x5c5833;let _0x4901a6=_0x4d1de8[_0x491849(0x375)](_0x1d062f['UniverInstanceType']['UNIVER_SHEET']);if(_0x4901a6)return _0x4901a6['getUnitId']();let _0xccb35=_0x4d1de8[_0x491849(0x17f)](_0x1d062f['UniverInstanceType'][_0x491849(0x39d)])[_0x491849(0x1fb)](_0x489c9b=>!(0x0,_0x1d062f[_0x491849(0x387)])(_0x489c9b[_0x491849(0x2c0)]()));return _0xccb35?_0xccb35[_0x491849(0x2c0)]():null;}function _0x7a77eb(_0x4cfbd4){let {status$:_0x16a9e3}=_0x4cfbd4;return function(){const _0x536735=_0x405a;return(0x0,_0xd5ac84[_0x536735(0x33c)])(_0x4ee0fa,{'status$':_0x16a9e3});};}let _0x388e4a=(0x0,_0x1d062f[_0x339b6f(0x1f5)])(_0x339b6f(0x235)),_0x8bd3ea=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0xecf6f5,_0x56f05f,_0x3470d7,_0x2a1a67,_0xc62f92){const _0x62c8e5=_0x339b6f;super(),this['_urlService']=_0xecf6f5,this[_0x62c8e5(0x1dc)]=_0x56f05f,this[_0x62c8e5(0x3a4)]=_0x3470d7,this['_dataLoaderService']=_0x2a1a67,_0xc62f92?_0xc62f92==null||_0xc62f92[_0x62c8e5(0x19b)]()[_0x62c8e5(0x3f8)](()=>this[_0x62c8e5(0x1ac)]()):(this['_logService']['debug'](_0x62c8e5(0x384),_0x62c8e5(0x3ab)),this['_init']());}async[_0x339b6f(0x1ac)](){const _0x33de03=_0x339b6f;let _0x1897a8=this['_urlService']['getParam'](_0x33de03(0x3b2)),_0x361235=this[_0x33de03(0x224)][_0x33de03(0x2c4)](_0x33de03(0x1f8)),_0x41f1d3=this[_0x33de03(0x224)][_0x33de03(0x2c4)](_0x33de03(0x319));if(!_0x1897a8||!_0x361235){this[_0x33de03(0x1dc)][_0x33de03(0x2e5)](_0x33de03(0x384),_0x33de03(0x185));return;}let _0x308d4f=await this['_dataLoaderService'][_0x33de03(0x25b)](_0x1897a8,Number(_0x361235),_0x41f1d3);_0x308d4f&&_0x308d4f instanceof _0x1d062f[_0x33de03(0x27a)]&&this[_0x33de03(0x417)](_0x308d4f);}async[_0x339b6f(0x417)](_0x1cd77d){const _0x34c09a=_0x339b6f;await this[_0x34c09a(0x39c)](_0x1cd77d),_0x1cd77d[_0x34c09a(0x26b)][_0x34c09a(0x300)]((0x0,_0x5df150[_0x34c09a(0x154)])(this[_0x34c09a(0x23c)]))[_0x34c09a(0x3cd)](_0x599b4c=>{const _0x212bb4=_0x34c09a;_0x599b4c&&this[_0x212bb4(0x197)](_0x599b4c);}),this[_0x34c09a(0x224)][_0x34c09a(0x2b2)][_0x34c09a(0x300)]((0x0,_0x5df150['takeUntil'])(this[_0x34c09a(0x23c)]))[_0x34c09a(0x3cd)](()=>this[_0x34c09a(0x39c)](_0x1cd77d));}[_0x339b6f(0x197)](_0xce6784,_0x296474=!0x1){const _0x96c48e=_0x339b6f;let _0x354984=this['_urlService'][_0x96c48e(0x2c4)](_0x96c48e(0x319));_0xce6784[_0x96c48e(0x152)]()!==_0x354984&&this[_0x96c48e(0x224)][_0x96c48e(0x40b)](_0x96c48e(0x319),_0xce6784[_0x96c48e(0x152)](),_0x296474);}async[_0x339b6f(0x39c)](_0x13004f){const _0x20f1af=_0x339b6f;var _0x4454a6;let _0x35cb3=this[_0x20f1af(0x224)]['getParam']('subunit');if(!_0x35cb3||!_0x13004f[_0x20f1af(0x3a2)](_0x35cb3)){let _0x4c2661=_0x13004f[_0x20f1af(0x201)]()[0x0],_0x358875=_0x13004f[_0x20f1af(0x3a2)](_0x4c2661);if(!_0x358875)return;this['_updateURLWithCurrentState'](_0x358875,!0x0),await this[_0x20f1af(0x3a4)][_0x20f1af(0x426)](_0x396996[_0x20f1af(0x3c2)]['id'],{'unitId':_0x13004f[_0x20f1af(0x2c0)](),'subUnitId':_0x4c2661});return;}((_0x4454a6=_0x13004f['getActiveSheet']())==null?void 0x0:_0x4454a6[_0x20f1af(0x152)]())!==_0x35cb3&&await this['_commandService'][_0x20f1af(0x426)](_0x396996[_0x20f1af(0x3c2)]['id'],{'unitId':_0x13004f[_0x20f1af(0x2c0)](),'subUnitId':_0x35cb3});}};_0x8bd3ea=_0x8db4f3([_0x21c55a(0x0,_0x388e4a),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x2,_0x1d062f['ICommandService']),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1['DataLoaderService'])),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x15a)])(_0x1a5bc2['IRemoteInstanceService']))],_0x8bd3ea);var _0x5cf5d0=_0x339b6f(0x214),_0x57d268=_0x339b6f(0x3b3);let _0x57c67b=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x53aa11,_0x5b9649){const _0x79eab6=_0x339b6f;super(),this[_0x79eab6(0x38c)]=_0x53aa11,this[_0x79eab6(0x3c0)]=_0x5b9649,this[_0x79eab6(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x135e2f=_0x339b6f;let _0x11a18e=this;this[_0x135e2f(0x18c)](this['_docClipboardService'][_0x135e2f(0x1e4)]({'onBeforePasteImage':async _0x2dab72=>{const _0x19b5bd=_0x135e2f;let _0x5c997b=await _0x11a18e['_imageIoService'][_0x19b5bd(0x2b4)](_0x2dab72);return _0x5c997b?{'source':_0x5c997b[_0x19b5bd(0x22e)],'imageSourceType':_0x5c997b[_0x19b5bd(0x261)]}:null;}}));}};_0x57c67b=_0x8db4f3([_0x21c55a(0x0,_0x1c6b1f[_0x339b6f(0x2b6)]),_0x21c55a(0x1,_0x55bfd1[_0x339b6f(0x25d)])],_0x57c67b);let _0x1a0ae4=[_0x339b6f(0x236),_0x339b6f(0x1b6),'green.600','red.300',_0x339b6f(0x1c5),_0x339b6f(0x250)];var _0x47fa48=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(..._0x46a497){const _0xd2dd4a=_0x339b6f;super(..._0x46a497),_0x1050e7(this,_0xd2dd4a(0x3f3),new Map()),_0x1050e7(this,_0xd2dd4a(0x3cb),0x0);}['assignAColorForMemberID'](_0x4af2f8){const _0x11e48e=_0x339b6f;if(this[_0x11e48e(0x3f3)][_0x11e48e(0x377)](_0x4af2f8))return this[_0x11e48e(0x3f3)][_0x11e48e(0x3fe)](_0x4af2f8);let _0x2912f3=_0x1a0ae4[this[_0x11e48e(0x3cb)]];return this[_0x11e48e(0x3cb)]=(this['_colorIndex']+0x1)%_0x1a0ae4[_0x11e48e(0x231)],this[_0x11e48e(0x3f3)][_0x11e48e(0x3e7)](_0x4af2f8,_0x2912f3),_0x2912f3;}};function _0x508943(_0x30e04d){let _0x23ab4e='';for(let _0x5183cd of _0x30e04d){let {startOffset:_0x2580d8,endOffset:_0x29318e,isActive:_0x46a557,rangeType:_0x3ab92b,segmentId:_0x52e7d0,segmentPage:_0x268d9b}=_0x5183cd;_0x23ab4e['length']&&(_0x23ab4e+=','),_0x23ab4e+=_0x2580d8+':'+_0x29318e+':'+(_0x46a557?'1':'0')+':'+_0x3ab92b+':'+_0x52e7d0+':'+_0x268d9b;}return _0x23ab4e;}function _0x5283db(_0x4d898d){const _0x53e921=_0x339b6f;let _0x170a31=_0x4d898d[_0x53e921(0x3d6)](','),_0x838153=[];for(let _0x3d2063 of _0x170a31){let [_0x44e79b,_0x4eaa64,_0x3c8633,_0x419eef,_0xd83619,_0x56c15e]=_0x3d2063[_0x53e921(0x3d6)](':');_0x838153[_0x53e921(0x411)]({'startOffset':Number(_0x44e79b),'endOffset':Number(_0x4eaa64),'collapsed':_0x44e79b===_0x4eaa64,'isActive':_0x3c8633==='1','rangeType':_0x419eef===_0x1d062f['DOC_RANGE_TYPE'][_0x53e921(0x3e0)]?_0x1d062f[_0x53e921(0x263)]['TEXT']:_0x1d062f[_0x53e921(0x263)][_0x53e921(0x390)],'segmentId':typeof _0xd83619=='string'?String(_0xd83619):'','segmentPage':Number(_0x56c15e==null?-0x1:_0x56c15e)});}return _0x838153[_0x53e921(0x3f2)](_0x3e4731=>_0x3e4731[_0x53e921(0x2e1)])||(_0x838153[0x0][_0x53e921(0x2e1)]=!0x0),_0x838153;}var _0x2b1e68=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(..._0x16d8bd){const _0x48185c=_0x339b6f;super(..._0x16d8bd),_0x1050e7(this,'_collabCursorState$',new _0x5df150[(_0x48185c(0x2ef))](null)),_0x1050e7(this,_0x48185c(0x2ca),this[_0x48185c(0x2f5)][_0x48185c(0x233)]());}[_0x339b6f(0x34f)](_0x17ae53){const _0x2305c6=_0x339b6f;let {unitID:_0x200e17,memberID:_0x42cf91,textRanges:_0x13b7d2}=_0x17ae53,_0x3ded76=_0x508943(_0x13b7d2);if(_0x3ded76==='')return;let _0x591586={'unitID':_0x200e17,'memberID':_0x42cf91,'selection':_0x3ded76};this[_0x2305c6(0x2f5)][_0x2305c6(0x1c8)](_0x591586);}};let _0x46dd2d=class extends _0x1d062f['RxDisposable']{get[_0x339b6f(0x2d6)](){const _0x1b0df1=_0x339b6f;return this[_0x1b0df1(0x3e6)][_0x1b0df1(0x359)]();}get['roomMembers'](){const _0x36ad9f=_0x339b6f;return this[_0x36ad9f(0x26e)][_0x36ad9f(0x359)]();}constructor(_0xbd439f,_0x6003a4,_0x57469e,_0x578826,_0x4e5efb,_0x11f637,_0x35e397,_0x47789f,_0x2d0b81){const _0x431539=_0x339b6f;super(),this['unitID']=_0xbd439f,this['_session']=_0x6003a4,this[_0x431539(0x405)]=_0x57469e,this[_0x431539(0x391)]=_0x578826,this[_0x431539(0x40f)]=_0x4e5efb,this['_syncEditingCollabCursorService']=_0x11f637,this[_0x431539(0x3d2)]=_0x35e397,this['_univerInstanceService']=_0x47789f,this['_commandService']=_0x2d0b81,_0x1050e7(this,_0x431539(0x243),!0x1),_0x1050e7(this,_0x431539(0x1ac),!0x1),_0x1050e7(this,_0x431539(0x3e6),new _0x5df150['BehaviorSubject'](new Map())),_0x1050e7(this,_0x431539(0x379),this[_0x431539(0x3e6)][_0x431539(0x233)]()),_0x1050e7(this,'_roomMembers$',new _0x5df150[(_0x431539(0x2ef))]([])),_0x1050e7(this,_0x431539(0x2ea),this[_0x431539(0x26e)]['pipe']((0x0,_0x5df150['debounceTime'])(0x12c))),_0x1050e7(this,_0x431539(0x418),(0x0,_0x1d062f[_0x431539(0x14e)])(_0x3d68d4=>{const _0x4ff308=_0x431539;let _0x3f80be={'eventID':_0x600789[_0x4ff308(0x219)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4ff308(0x310)],'memberID':this[_0x4ff308(0x2c8)][_0x4ff308(0x164)](),'selection':_0x508943(_0x3d68d4)}};this[_0x4ff308(0x2c8)]['send'](_0x3f80be,this[_0x4ff308(0x310)]);},0x64));}[_0x339b6f(0x39e)](){const _0x2df67e=_0x339b6f;super[_0x2df67e(0x39e)](),this[_0x2df67e(0x3e6)][_0x2df67e(0x1c8)](new Map()),this[_0x2df67e(0x3e6)][_0x2df67e(0x2ba)](),this['_roomMembers$'][_0x2df67e(0x1c8)]([]),this[_0x2df67e(0x26e)][_0x2df67e(0x2ba)]();}[_0x339b6f(0x2e4)](){const _0x513a9d=_0x339b6f;this['_init']||(this[_0x513a9d(0x1ac)]=!0x0,this[_0x513a9d(0x2c8)]['sessionStatus$'][_0x513a9d(0x300)]((0x0,_0x5df150['takeUntil'])(this['dispose$']))['subscribe'](_0x590975=>{const _0x2c8c80=_0x513a9d;_0x590975===_0x20efb1[_0x2c8c80(0x1ff)][_0x2c8c80(0x155)]?this[_0x2c8c80(0x15b)]():this[_0x2c8c80(0x345)]();}),this[_0x513a9d(0x2c8)][_0x513a9d(0x21e)][_0x513a9d(0x300)]((0x0,_0x5df150[_0x513a9d(0x154)])(this['dispose$']))[_0x513a9d(0x3cd)](_0x346581=>{const _0x4844ba=_0x513a9d;let _0x3fb39b=_0x346581[_0x4844ba(0x2f9)];_0x3fb39b===_0x600789[_0x4844ba(0x219)][_0x4844ba(0x40e)]&&this[_0x4844ba(0x2fc)](_0x346581),_0x3fb39b===_0x600789['CollaborationEvent'][_0x4844ba(0x36b)]&&this['_onCursorDelete'](_0x346581);}),this[_0x513a9d(0x18c)](this[_0x513a9d(0x3a4)][_0x513a9d(0x1b0)](_0x44442c=>{const _0x1ec7ed=_0x513a9d;let _0x3649aa=_0x44442c[_0x1ec7ed(0x3c9)];_0x3649aa!=null&&this[_0x1ec7ed(0x243)]&&_0x44442c['id']===_0x55d528[_0x1ec7ed(0x402)]['id']&&_0x3649aa['unitId']===this[_0x1ec7ed(0x310)]&&_0x3649aa['isEditing']===!0x1&&_0x3649aa[_0x1ec7ed(0x354)]['length']>0x0&&this[_0x1ec7ed(0x418)](_0x3649aa['ranges']);})),this[_0x513a9d(0x2fa)][_0x513a9d(0x2ca)][_0x513a9d(0x300)]((0x0,_0x5df150['takeUntil'])(this['dispose$']))['subscribe'](_0xa307fc=>{const _0x3353a6=_0x513a9d;if((_0xa307fc==null?void 0x0:_0xa307fc['unitID'])!==this[_0x3353a6(0x310)])return;let _0x337417={'eventID':_0x600789[_0x3353a6(0x219)][_0x3353a6(0x40e)],'data':_0xa307fc};this[_0x3353a6(0x2fc)](_0x337417);}),this[_0x513a9d(0x18c)](this[_0x513a9d(0x3a4)][_0x513a9d(0x1b0)](_0x10ca22=>{const _0x4dc43a=_0x513a9d;if(_0x10ca22[_0x4dc43a(0x3c9)]==null)return;let _0x4b3903=_0x10ca22[_0x4dc43a(0x3c9)];if(_0x10ca22['id']!==_0x55d528[_0x4dc43a(0x1c1)]['id']||_0x4b3903[_0x4dc43a(0x24e)]!==this[_0x4dc43a(0x310)])return;let _0x347be7={'id':_0x4dc43a(0x234),'params':_0x4b3903},_0x559fbc=this['cursorInfo'];for(let [_0x2bcef5,_0x4c37d3]of _0x559fbc){let _0x2a3cc1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4dc43a(0x310)],'actions':null,'textRanges':_0x4c37d3[_0x4dc43a(0x354)]}},_0x16653f=this[_0x4dc43a(0x3d2)]['transformMutation'](_0x347be7,_0x2a3cc1,!0x1);if((0x0,_0x600789[_0x4dc43a(0x24c)])(_0x16653f))throw _0x16653f['error'];_0x559fbc[_0x4dc43a(0x3e7)](_0x2bcef5,{..._0x4c37d3,'ranges':_0x16653f[_0x4dc43a(0x3b4)][_0x4dc43a(0x3c9)]['textRanges']});}queueMicrotask(()=>{const _0x3cac36=_0x4dc43a;this[_0x3cac36(0x3e6)][_0x3cac36(0x1c8)](_0x559fbc);});})));}['_onCursorUpdate'](_0x515796){const _0x543538=_0x339b6f;var _0x252b6f,_0x2a4c4b;let {memberID:_0x54b83f,selection:_0x1f6396}=_0x515796[_0x543538(0x33e)],_0x3728e3=_0x5283db(_0x1f6396),_0x3af45b=(_0x252b6f=(_0x2a4c4b=this[_0x543538(0x40f)][_0x543538(0x321)](this[_0x543538(0x310)],_0x54b83f))==null?void 0x0:_0x2a4c4b[_0x543538(0x318)])==null?_0x543538(0x217):_0x252b6f,_0x4824d5={'color':this[_0x543538(0x391)][_0x543538(0x1de)](_0x54b83f),'name':_0x3af45b,'ranges':_0x3728e3},_0x47b93d=this[_0x543538(0x2d6)];_0x47b93d[_0x543538(0x3e7)](_0x54b83f,_0x4824d5),this[_0x543538(0x3e6)][_0x543538(0x1c8)](_0x47b93d);}[_0x339b6f(0x296)](_0x4594e5){const _0x3fc289=_0x339b6f;let {memberID:_0x6ac76}=_0x4594e5[_0x3fc289(0x33e)],_0x53aa6a=this['cursorInfo'];_0x53aa6a[_0x3fc289(0x229)](_0x6ac76),this[_0x3fc289(0x3e6)][_0x3fc289(0x1c8)](_0x53aa6a);}[_0x339b6f(0x15b)](){const _0x379173=_0x339b6f;var _0x1549f7;if(this[_0x379173(0x243)]=!0x0,((_0x1549f7=this[_0x379173(0x30f)][_0x379173(0x32d)]())==null?void 0x0:_0x1549f7[_0x379173(0x2c0)]())!==this['unitID'])return;let _0x450edd=this['_injector'][_0x379173(0x3fe)](_0x55d528[_0x379173(0x3a6)])[_0x379173(0x357)]();Array[_0x379173(0x1df)](_0x450edd)&&_0x450edd[_0x379173(0x231)]>0x0&&this[_0x379173(0x418)](_0x450edd);}['_toggleOffline'](){const _0x3764e2=_0x339b6f;this[_0x3764e2(0x243)]=!0x1;}};_0x46dd2d=_0x8db4f3([_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x47fa48)),_0x21c55a(0x4,(0x0,_0x1d062f['Inject'])(_0x20efb1['MemberService'])),_0x21c55a(0x5,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2b1e68)),_0x21c55a(0x6,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x7,_0x1d062f['IUniverInstanceService']),_0x21c55a(0x8,_0x1d062f[_0x339b6f(0x2a0)])],_0x46dd2d);let _0x1f9a72=()=>{let _0x72d455=[],_0x308392=!0x1;return _0xb2c1dd=>{_0x72d455['push'](_0xb2c1dd),_0x308392||(_0x308392=!0x0,setTimeout(()=>{const _0x25cf5f=_0x405a;_0x72d455[_0x25cf5f(0x159)](_0x55f75b=>_0x55f75b()),_0x72d455=[],_0x308392=!0x1;}));};},_0x2ae18d=class extends _0x1d062f['RxDisposable']{get[_0x339b6f(0x2d6)](){const _0x221736=_0x339b6f;return this[_0x221736(0x3e6)][_0x221736(0x359)]();}get[_0x339b6f(0x2e6)](){const _0x5b5e3a=_0x339b6f;return this[_0x5b5e3a(0x26e)]['getValue']();}constructor(_0x4c5a2f,_0x482618,_0x253231,_0x35a672,_0x4d1f90,_0x42937a,_0x40d8e1,_0x44a212){const _0x304dd5=_0x339b6f;super(),this[_0x304dd5(0x310)]=_0x4c5a2f,this['_session']=_0x482618,this[_0x304dd5(0x405)]=_0x253231,this['_colorAssignService']=_0x35a672,this[_0x304dd5(0x40f)]=_0x4d1f90,this[_0x304dd5(0x30f)]=_0x42937a,this[_0x304dd5(0x3a4)]=_0x40d8e1,this[_0x304dd5(0x34a)]=_0x44a212,_0x1050e7(this,'_online',!0x1),_0x1050e7(this,_0x304dd5(0x1ac),!0x1),_0x1050e7(this,_0x304dd5(0x3e6),new _0x5df150[(_0x304dd5(0x2ef))](new Map())),_0x1050e7(this,_0x304dd5(0x379),this[_0x304dd5(0x3e6)][_0x304dd5(0x233)]()),_0x1050e7(this,_0x304dd5(0x26e),new _0x5df150['BehaviorSubject']([])),_0x1050e7(this,'roomMembers$',this[_0x304dd5(0x26e)][_0x304dd5(0x300)]((0x0,_0x5df150[_0x304dd5(0x31d)])(0x12c))),_0x1050e7(this,_0x304dd5(0x418),(0x0,_0x1d062f[_0x304dd5(0x14e)])((_0x411668,_0xe97204)=>{const _0x3b4178=_0x304dd5;let _0x58abde={'eventID':_0x600789[_0x3b4178(0x219)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3b4178(0x164)](),'selection':(0x0,_0x4f0b10[_0x3b4178(0x3de)])(_0x411668,_0xe97204['range'])}};this[_0x3b4178(0x2c8)][_0x3b4178(0x1c2)](_0x58abde,this[_0x3b4178(0x310)]);},0x64));}['dispose'](){const _0x546bf0=_0x339b6f;super[_0x546bf0(0x39e)](),this['_cursorInfo$'][_0x546bf0(0x1c8)](new Map()),this[_0x546bf0(0x3e6)][_0x546bf0(0x2ba)](),this['_roomMembers$'][_0x546bf0(0x1c8)]([]),this[_0x546bf0(0x26e)][_0x546bf0(0x2ba)]();}['init'](){const _0x824305=_0x339b6f;this['_init']||(this['_init']=!0x0,this[_0x824305(0x2c8)]['sessionStatus$']['pipe']((0x0,_0x5df150['takeUntil'])(this[_0x824305(0x23c)]))[_0x824305(0x3cd)](_0x209100=>{const _0x10f85c=_0x824305;_0x209100===_0x20efb1[_0x10f85c(0x1ff)][_0x10f85c(0x155)]?this[_0x10f85c(0x15b)]():this[_0x10f85c(0x345)]();}),this['_session'][_0x824305(0x21e)]['pipe']((0x0,_0x5df150['takeUntil'])(this[_0x824305(0x23c)]))[_0x824305(0x3cd)](_0x407948=>{const _0x25e592=_0x824305;let _0x29aa2b=_0x407948[_0x25e592(0x2f9)];_0x29aa2b===_0x600789[_0x25e592(0x219)][_0x25e592(0x40e)]&&this['_onCursorUpdate'](_0x407948),_0x29aa2b===_0x600789[_0x25e592(0x219)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x407948);}),this['_onRefRangeChange'](),this[_0x824305(0x18c)](this['_commandService'][_0x824305(0x1b0)](_0x5736bd=>{const _0x5bee4b=_0x824305;if(this[_0x5bee4b(0x243)]&&_0x5736bd['id']===_0x396996[_0x5bee4b(0x20b)]['id']&&_0x5736bd[_0x5bee4b(0x3c9)]['unitId']===this['unitID']){let _0x50d59b=_0x5736bd[_0x5bee4b(0x3c9)];this[_0x5bee4b(0x418)](_0x50d59b[_0x5bee4b(0x2d1)],_0x50d59b[_0x5bee4b(0x3d4)][0x0]);}})));}[_0x339b6f(0x2fc)](_0x483dc4){const _0x45512a=_0x339b6f;var _0x43608b,_0x302a31;let {memberID:_0x37a3a6,selection:_0x2c0e65}=_0x483dc4[_0x45512a(0x33e)],{sheetName:_0x538475,range:_0x78f254}=(0x0,_0x4f0b10[_0x45512a(0x2f6)])(_0x2c0e65),_0x4bb234={'name':(_0x43608b=(_0x302a31=this[_0x45512a(0x40f)][_0x45512a(0x321)](this[_0x45512a(0x310)],_0x37a3a6))==null?void 0x0:_0x302a31[_0x45512a(0x318)])==null?_0x45512a(0x217):_0x43608b,'range':this[_0x45512a(0x1d6)](_0x538475,_0x78f254),'sheetID':_0x538475,'color':this['_colorAssignService'][_0x45512a(0x1de)](_0x37a3a6),'selection':_0x2c0e65},_0x10180c=this['cursorInfo'];_0x10180c[_0x45512a(0x3e7)](_0x37a3a6,_0x4bb234),this[_0x45512a(0x3e6)][_0x45512a(0x1c8)](_0x10180c);}['_onCursorDelete'](_0x374889){const _0x148773=_0x339b6f;let {memberID:_0x2f8f29}=_0x374889['data'],_0x10ff30=this['cursorInfo'];_0x10ff30[_0x148773(0x229)](_0x2f8f29),this['_cursorInfo$']['next'](_0x10ff30);}[_0x339b6f(0x1d6)](_0x119823,_0x439905){const _0x25cb9c=_0x339b6f;var _0x363eb8;let _0x54cc58=(_0x363eb8=this[_0x25cb9c(0x30f)][_0x25cb9c(0x392)](this[_0x25cb9c(0x310)]))==null||(_0x363eb8=_0x363eb8['getSheetBySheetId'](_0x119823))==null?void 0x0:_0x363eb8[_0x25cb9c(0x1ca)]();return(_0x54cc58==null?void 0x0:_0x54cc58[_0x25cb9c(0x1fb)](_0x3084d4=>_0x1d062f['Rectangle']['contains'](_0x3084d4,_0x439905)))||_0x439905;}['_onRefRangeChange'](){const _0xdf8b9=_0x339b6f;let _0x54ea51=new _0x1d062f[(_0xdf8b9(0x239))](),_0x488e7a=_0x1f9a72(),_0x26c0f4=()=>{const _0x520e3e=_0xdf8b9;_0x54ea51[_0x520e3e(0x39e)]();let _0x1ff0b6=(_0x55465a,_0x260a6e,_0xa0efd1,_0x3ca4b1)=>{const _0x36fc85=_0x520e3e;let _0x2d36e1=[];switch(_0x55465a['id']){case _0x396996['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x2d36e1=(0x0,_0x396996['handleDeleteRangeMoveLeft'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x337)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x3c1)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x189)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x2cc)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x205)]:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x242)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['InsertRangeMoveRightCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x277)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)][_0x36fc85(0x3b8)]:_0x2d36e1=(0x0,_0x396996['handleInsertRow'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['MoveRangeCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x367)])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['RemoveColCommandId']:_0x2d36e1=(0x0,_0x396996['handleIRemoveCol'])(_0x55465a,_0x3ca4b1);break;case _0x396996[_0x36fc85(0x297)]['RemoveRowCommandId']:_0x2d36e1=(0x0,_0x396996[_0x36fc85(0x22c)])(_0x55465a,_0x3ca4b1);break;}let _0x269372=(0x0,_0x396996[_0x36fc85(0x3b6)])(_0x2d36e1,_0x3ca4b1),_0x83c5a3=this['cursorInfo'][_0x36fc85(0x3fe)](_0x260a6e);if(_0x83c5a3&&_0x269372){let _0x3f6acf={..._0x83c5a3,'range':_0x269372};this[_0x36fc85(0x2d6)][_0x36fc85(0x3e7)](_0x260a6e,_0x3f6acf),_0x488e7a(()=>{const _0x106381=_0x36fc85;let _0x323e48=this[_0x106381(0x34a)][_0x106381(0x1cc)](_0x269372,_0x4091c8=>(_0x323e48['dispose'](),_0x1ff0b6(_0x4091c8,_0x260a6e,_0xa0efd1,_0x269372)));_0x54ea51[_0x106381(0x30e)](_0x323e48);});}return{'redos':[],'undos':[]};};this[_0x520e3e(0x2d6)][_0x520e3e(0x159)]((_0x7b165,_0x17309c)=>{const _0x4fa7ab=_0x520e3e;let {range:_0x2e4952,sheetID:_0x29a4c0}=_0x7b165,_0x59ae70=this[_0x4fa7ab(0x34a)]['registerRefRange'](_0x2e4952,_0x53de25=>(_0x59ae70[_0x4fa7ab(0x39e)](),_0x1ff0b6(_0x53de25,_0x17309c,_0x29a4c0,_0x2e4952)));_0x54ea51[_0x4fa7ab(0x30e)](_0x59ae70);});};this[_0xdf8b9(0x18c)]((0x0,_0x1d062f[_0xdf8b9(0x1fe)])(this[_0xdf8b9(0x3e6)][_0xdf8b9(0x3cd)](()=>{_0x26c0f4();})));}[_0x339b6f(0x15b)](){const _0x4b67db=_0x339b6f;var _0x1c631f,_0xe8961d;if(this[_0x4b67db(0x243)]=!0x0,((_0x1c631f=this[_0x4b67db(0x30f)]['getFocusedUnit']())==null?void 0x0:_0x1c631f[_0x4b67db(0x2c0)]())!==this[_0x4b67db(0x310)])return;let _0xdb17f8=(_0xe8961d=this[_0x4b67db(0x405)]['get'](_0x396996[_0x4b67db(0x199)])[_0x4b67db(0x21f)]())==null?void 0x0:_0xe8961d[0x0],_0x2a7916=this[_0x4b67db(0x30f)][_0x4b67db(0x375)](_0x1d062f[_0x4b67db(0x397)]['UNIVER_SHEET'])[_0x4b67db(0x1a3)]();_0xdb17f8&&_0x2a7916&&this[_0x4b67db(0x418)](_0x2a7916[_0x4b67db(0x152)](),_0xdb17f8);}[_0x339b6f(0x345)](){const _0x273fb9=_0x339b6f;this[_0x273fb9(0x243)]=!0x1;}};_0x2ae18d=_0x8db4f3([_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,(0x0,_0x1d062f['Inject'])(_0x47fa48)),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x141)])),_0x21c55a(0x5,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x6,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x7,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x396996[_0x339b6f(0x346)]))],_0x2ae18d);let _0xe35be2=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x15123c,_0x4fa4e5,_0x47b97f){const _0xae22e5=_0x339b6f;super(),this['_univerInstanceService']=_0x15123c,this[_0xae22e5(0x405)]=_0x4fa4e5,this[_0xae22e5(0x3e2)]=_0x47b97f,_0x1050e7(this,_0xae22e5(0x221),new Map()),_0x1050e7(this,_0xae22e5(0x393),new _0x5df150[(_0xae22e5(0x222))]()),this['_init']();}[_0x339b6f(0x39e)](){const _0x15a95a=_0x339b6f;super[_0x15a95a(0x39e)](),this[_0x15a95a(0x393)][_0x15a95a(0x2ba)](),this[_0x15a95a(0x221)][_0x15a95a(0x159)](_0x186d63=>_0x186d63[_0x15a95a(0x39e)]());}[_0x339b6f(0x1a2)](_0x36517a){const _0x2475ea=_0x339b6f;return this['_entities'][_0x2475ea(0x377)](_0x36517a)?this[_0x2475ea(0x221)]['get'](_0x36517a)['cursorInfo$']:this[_0x2475ea(0x393)][_0x2475ea(0x300)]((0x0,_0x5df150[_0x2475ea(0x361)])(_0x36093e=>_0x36093e[_0x2475ea(0x310)]===_0x36517a),(0x0,_0x5df150['switchMap'])(_0xf3926d=>_0xf3926d[_0x2475ea(0x379)]));}['_init'](){const _0x4f1eeb=_0x339b6f;this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x1fd)](_0x1d062f['UniverInstanceType']['UNIVER_SHEET'])[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))['subscribe'](async _0x5d4ae4=>{const _0x3ab1e2=_0x4f1eeb;let _0x12e4ed=_0x5d4ae4['unit'][_0x3ab1e2(0x2c0)](),_0x5d2bef=await this[_0x3ab1e2(0x22b)](_0x12e4ed);this[_0x3ab1e2(0x393)][_0x3ab1e2(0x1c8)](_0x5d2bef),this[_0x3ab1e2(0x221)]['set'](_0x12e4ed,_0x5d2bef);}),this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x1fd)](_0x1d062f[_0x4f1eeb(0x397)]['UNIVER_DOC'])[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))[_0x4f1eeb(0x300)]((0x0,_0x5df150['filter'])(_0x1a9263=>!_0x1a9263[_0x4f1eeb(0x3b2)][_0x4f1eeb(0x2c0)]()[_0x4f1eeb(0x20c)]('__')))['subscribe'](async _0x329967=>{const _0x3b66d4=_0x4f1eeb;let {unit:_0x365638}=_0x329967,_0xa8c036=_0x365638[_0x3b66d4(0x2c0)](),_0x52a41c=await this[_0x3b66d4(0x3c5)](_0xa8c036);this['_entityInit$']['next'](_0x52a41c),this[_0x3b66d4(0x221)][_0x3b66d4(0x3e7)](_0xa8c036,_0x52a41c);}),(0x0,_0x5df150[_0x4f1eeb(0x17d)])(this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x294)](_0x1d062f[_0x4f1eeb(0x397)][_0x4f1eeb(0x39d)]),this[_0x4f1eeb(0x30f)][_0x4f1eeb(0x294)](_0x1d062f[_0x4f1eeb(0x397)]['UNIVER_SHEET']))[_0x4f1eeb(0x300)]((0x0,_0x5df150[_0x4f1eeb(0x154)])(this[_0x4f1eeb(0x23c)]))['subscribe'](_0x109259=>{const _0xaf0aa7=_0x4f1eeb;let _0x3b93a5=_0x109259[_0xaf0aa7(0x2c0)](),_0x4ab989=this[_0xaf0aa7(0x221)]['get'](_0x3b93a5);_0x4ab989&&(_0x4ab989[_0xaf0aa7(0x39e)](),this[_0xaf0aa7(0x221)][_0xaf0aa7(0x229)](_0x3b93a5));});}async['_startSheetCollabCursor'](_0x5701ed){const _0x5d9d80=_0x339b6f;let _0x5514f1=await this['_collabSessionService'][_0x5d9d80(0x388)](_0x5701ed),_0x2a8885=this['_injector']['createInstance'](_0x2ae18d,_0x5701ed,_0x5514f1);return _0x2a8885[_0x5d9d80(0x2e4)](),_0x2a8885;}async[_0x339b6f(0x3c5)](_0x101c4d){const _0x491adb=_0x339b6f;let _0xe292be=await this[_0x491adb(0x3e2)][_0x491adb(0x388)](_0x101c4d),_0x4669bf=this[_0x491adb(0x405)]['createInstance'](_0x46dd2d,_0x101c4d,_0xe292be);return _0x4669bf[_0x491adb(0x2e4)](),_0x4669bf;}};_0xe35be2=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f['Injector'])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2c2)]))],_0xe35be2);function _0x5d9e82(_0x5a5d46,_0x145505){const _0x52f867=_0x339b6f;var _0xdf41fa,_0x326d10,_0x90207e;let {radius:_0x29999e,width:_0x463dc5,height:_0x57b60b}=_0x145505;_0x29999e=(_0xdf41fa=_0x29999e)==null?0x0:_0xdf41fa,_0x463dc5=(_0x326d10=_0x463dc5)==null?0x1e:_0x326d10,_0x57b60b=(_0x90207e=_0x57b60b)==null?0x1e:_0x90207e;let _0x6f8f2c=0x0,_0x569592=0x0,_0x24489b=0x0;_0x6f8f2c=_0x569592=_0x24489b=Math[_0x52f867(0x38a)](_0x29999e,_0x463dc5/0x2,_0x57b60b/0x2),_0x5a5d46[_0x52f867(0x268)](),_0x5a5d46[_0x52f867(0x1ea)](_0x6f8f2c,0x0),_0x5a5d46[_0x52f867(0x26d)](_0x463dc5-_0x569592,0x0),_0x5a5d46[_0x52f867(0x2ce)](_0x463dc5-_0x569592,_0x569592,_0x569592,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a5d46[_0x52f867(0x26d)](_0x463dc5,_0x57b60b-_0x24489b),_0x5a5d46['arc'](_0x463dc5-_0x24489b,_0x57b60b-_0x24489b,_0x24489b,0x0,Math['PI']/0x2,!0x1),_0x5a5d46['lineTo'](0x0,_0x57b60b),_0x5a5d46[_0x52f867(0x26d)](0x0,_0x6f8f2c),_0x5a5d46[_0x52f867(0x2ce)](_0x6f8f2c,_0x6f8f2c,_0x6f8f2c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a5d46[_0x52f867(0x19a)](),_0x145505[_0x52f867(0x34b)]&&(_0x5a5d46[_0x52f867(0x211)](),_0x5a5d46[_0x52f867(0x309)]=_0x145505[_0x52f867(0x34b)],_0x145505[_0x52f867(0x421)]===_0x52f867(0x36c)?_0x5a5d46['fill'](_0x52f867(0x36c)):_0x5a5d46[_0x52f867(0x34b)](),_0x5a5d46['restore']());}var _0x34d0f3=class _0x4c44ce extends _0xc630f2[_0x339b6f(0x17e)]{constructor(_0x4c487c,_0x3ae490){const _0x44a19d=_0x339b6f;super(_0x4c487c,_0x3ae490),_0x1050e7(this,'color',void 0x0),_0x1050e7(this,_0x44a19d(0x1bd),void 0x0),this[_0x44a19d(0x230)]=_0x3ae490==null?void 0x0:_0x3ae490[_0x44a19d(0x230)],this['text']=_0x3ae490==null?void 0x0:_0x3ae490[_0x44a19d(0x1bd)];}static['drawWith'](_0x27860b,_0x2972c4){const _0x24fb60=_0x339b6f;let {text:_0x13437a,color:_0x1a7bea}=_0x2972c4;_0x27860b[_0x24fb60(0x211)](),_0x27860b[_0x24fb60(0x2cf)]=_0x24fb60(0x265);let _0x3a2e98=_0x27860b[_0x24fb60(0x343)](_0x13437a)[_0x24fb60(0x413)];if(_0x5d9e82(_0x27860b,{'height':0x14,'radius':0x4,'width':Math[_0x24fb60(0x38a)](_0x3a2e98+0x8,0xc8),'fill':_0x1a7bea,'evented':!0x1}),_0x27860b[_0x24fb60(0x309)]='#FFF',_0x3a2e98>0xc0){let _0x4a8fe7='',_0x5935da=0x0;for(let _0x4ccdef of _0x13437a){let _0x24c898=_0x27860b[_0x24fb60(0x343)](_0x4ccdef)[_0x24fb60(0x413)];if(_0x5935da+_0x24c898<=0xc0-_0x27860b[_0x24fb60(0x343)](_0x24fb60(0x2f0))[_0x24fb60(0x413)])_0x4a8fe7+=_0x4ccdef,_0x5935da+=_0x24c898;else{_0x4a8fe7+='...';break;}}_0x27860b[_0x24fb60(0x1b9)](_0x4a8fe7,0x4,0xf);}else _0x27860b['fillText'](_0x13437a,0x4,0xf);_0x27860b[_0x24fb60(0x209)]();}[_0x339b6f(0x220)](_0x5803ab){const _0x52ea1e=_0x339b6f;_0x4c44ce[_0x52ea1e(0x32f)](_0x5803ab,this);}};let _0x91abee='collab-text-anchor-';var _0x338f74=class{constructor(_0x5e9087,_0xc05dc4,_0x31697b,_0x592f1b){const _0x183fdd=_0x339b6f;this[_0x183fdd(0x191)]=_0x5e9087,this[_0x183fdd(0x313)]=_0xc05dc4,this['_docSkeleton']=_0x31697b,this[_0x183fdd(0x37b)]=_0x592f1b,_0x1050e7(this,_0x183fdd(0x196),[]),_0x1050e7(this,_0x183fdd(0x287),null),_0x1050e7(this,_0x183fdd(0x188),null),_0x1050e7(this,_0x183fdd(0x3e9),null),_0x1050e7(this,_0x183fdd(0x1af),null),_0x1050e7(this,_0x183fdd(0x1bc),null),this[_0x183fdd(0x190)]();}set[_0x339b6f(0x292)](_0x22f37c){const _0x63e7c8=_0x339b6f;_0x22f37c?(this[_0x63e7c8(0x3e9)]&&this[_0x63e7c8(0x3e9)][_0x63e7c8(0x37d)](),this['_textBubble']&&this[_0x63e7c8(0x188)][_0x63e7c8(0x1e3)]()):(this[_0x63e7c8(0x3e9)]&&this[_0x63e7c8(0x3e9)][_0x63e7c8(0x1e3)](),this[_0x63e7c8(0x188)]&&this[_0x63e7c8(0x188)][_0x63e7c8(0x37d)]());}[_0x339b6f(0x39e)](){const _0x19f252=_0x339b6f;for(let _0x204e7f of this[_0x19f252(0x196)])_0x204e7f[_0x19f252(0x39e)]();this['_textBubble']&&this['_textBubble'][_0x19f252(0x39e)](),this[_0x19f252(0x3e9)]&&this[_0x19f252(0x3e9)][_0x19f252(0x39e)](),this[_0x19f252(0x287)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x19f252(0x1bc)]();}[_0x339b6f(0x190)](){const _0x5e98aa=_0x339b6f;let {_docSkeleton:_0x1e82a5,_document:_0x42e02b}=this,{color:_0x4e3ff4,name:_0x467f6d,ranges:_0x158c5a}=this[_0x5e98aa(0x191)],_0x1ba043=_0x42e02b[_0x5e98aa(0x2b0)](),{docsLeft:_0x7b334c,docsTop:_0x2e3919}=_0x1ba043,_0x112c69=new _0x1c6b1f['NodePositionConvertToCursor'](_0x1ba043,_0x1e82a5);for(let {startOffset:_0xf8b5b1,endOffset:_0x5d8d77,rangeType:_0x4292a7,segmentId:_0x5daebb,segmentPage:_0x349a6d,collapsed:_0x50c225,isActive:_0x5362b5}of _0x158c5a){let _0x362aef=_0x1e82a5['findNodePositionByCharIndex'](_0xf8b5b1,!0x0,_0x5daebb,_0x349a6d),_0x50ad21=_0x1e82a5[_0x5e98aa(0x167)](_0x5d8d77,!0x0,_0x5daebb,_0x349a6d);if(_0x50ad21==null&&(_0x50ad21=_0x1e82a5[_0x5e98aa(0x167)](_0x5d8d77-0x1,!0x1,_0x5daebb,_0x349a6d)),_0x5362b5){let {contentBoxPointGroup:_0x39fc84}=_0x112c69[_0x5e98aa(0x352)](_0x50ad21,_0x50ad21);if(_0x39fc84[_0x5e98aa(0x231)]===0x0)continue;this[_0x5e98aa(0x3ed)](_0x4e3ff4,_0x39fc84,_0x7b334c,_0x2e3919,_0x467f6d),this[_0x5e98aa(0x1bc)]=this[_0x5e98aa(0x305)]();}if(_0x362aef&&_0x50ad21){if(_0x4292a7===_0x1d062f['DOC_RANGE_TYPE'][_0x5e98aa(0x390)]){var _0x5f275d;let {pointGroup:_0x51e215}=(_0x5f275d=new _0x1c6b1f[(_0x5e98aa(0x1f6))](_0x1ba043,_0x1e82a5)[_0x5e98aa(0x352)](_0x362aef,_0x50ad21))==null?{}:_0x5f275d;if(_0x51e215==null||_0x51e215['length']===0x0)continue;this[_0x5e98aa(0x2fe)](_0x4e3ff4,_0x51e215,_0x7b334c,_0x2e3919);}else{if(!_0x50c225){let {borderBoxPointGroup:_0x25b057}=_0x112c69[_0x5e98aa(0x352)](_0x362aef,_0x50ad21);if(_0x25b057[_0x5e98aa(0x231)]===0x0)continue;this[_0x5e98aa(0x1d3)](_0x4e3ff4,_0x25b057,_0x7b334c,_0x2e3919);}}}}}[_0x339b6f(0x3ed)](_0x56916f,_0x4f1579,_0x1b85a5,_0x1cae80,_0x8fd2ed){const _0x35111d=_0x339b6f;let {left:_0x2fb7c9,top:_0x3ee6ff,height:_0x90ae99}=this['_getAnchorBounding'](_0x4f1579),_0x18d432=1.5/this[_0x35111d(0x3bf)](),_0x29a359=new _0xc630f2[(_0x35111d(0x2eb))](_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80,'height':_0x90ae99,'width':1.5,'fill':_0x56916f||(0x0,_0xc630f2[_0x35111d(0x1e5)])(_0x1d062f[_0x35111d(0x403)][_0x35111d(0x206)],0x0),'strokeWidth':_0x18d432,'stroke':_0x35111d(0x23d),'evented':!0x0});this[_0x35111d(0x287)]=_0x29a359,this[_0x35111d(0x313)]['addObject'](_0x29a359,_0x1c6b1f[_0x35111d(0x247)]);let _0xf01dc0=new _0xc630f2[(_0x35111d(0x2eb))](_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x56916f||(0x0,_0xc630f2[_0x35111d(0x1e5)])(_0x1d062f[_0x35111d(0x403)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56916f||(0x0,_0xc630f2['getColor'])(_0x1d062f[_0x35111d(0x403)][_0x35111d(0x206)],0x0),'evented':!0x1});this[_0x35111d(0x3e9)]=_0xf01dc0,this[_0x35111d(0x313)][_0x35111d(0x39a)](_0xf01dc0,_0x1c6b1f[_0x35111d(0x247)]);let _0x3f32b2=new _0x34d0f3(_0x91abee+(0x0,_0x1d062f[_0x35111d(0x409)])(0x6),{'left':_0x2fb7c9+_0x1b85a5-_0x18d432,'top':_0x3ee6ff+_0x1cae80-0x14,'text':_0x8fd2ed,'color':_0x56916f});this['_textBubble']=_0x3f32b2,this[_0x35111d(0x313)][_0x35111d(0x39a)](_0x3f32b2,_0x1c6b1f['TEXT_RANGE_LAYER_INDEX']),this[_0x35111d(0x292)]=!0x1;}[_0x339b6f(0x305)](){const _0x2b9ef2=_0x339b6f;let _0x187e89=this['_anchor']['onPointerEnter$'][_0x2b9ef2(0x31b)](()=>{const _0x4e7203=_0x2b9ef2;this[_0x4e7203(0x292)]=!0x0;}),_0x29ef8e=this[_0x2b9ef2(0x287)][_0x2b9ef2(0x149)][_0x2b9ef2(0x31b)](()=>{const _0x1e4380=_0x2b9ef2;this[_0x1e4380(0x1af)]&&clearTimeout(this[_0x1e4380(0x1af)]),this[_0x1e4380(0x1af)]=setTimeout(()=>{const _0xf19f7a=_0x1e4380;this[_0xf19f7a(0x292)]=!0x1;},0x7d0);});return()=>{const _0x1003d6=_0x2b9ef2;_0x187e89[_0x1003d6(0x171)](),_0x29ef8e[_0x1003d6(0x171)]();};}[_0x339b6f(0x1d3)](_0x2080d9,_0x48d8a1,_0x566d0b,_0xe5c0c1){const _0x4d9430=_0x339b6f;let _0x54cdd8=0.2,_0x34d3c9=new _0x1d062f[(_0x4d9430(0x329))](_0x2080d9)[_0x4d9430(0x3ac)](_0x54cdd8)['toRgbString'](),_0x39ebf6=new _0xc630f2[(_0x4d9430(0x14d))]('collab-text-range-'+(0x0,_0x1d062f[_0x4d9430(0x409)])(0x6),{'pointsGroup':_0x48d8a1,'fill':_0x34d3c9||(0x0,_0xc630f2[_0x4d9430(0x1e5)])(_0x1d062f[_0x4d9430(0x403)][_0x4d9430(0x206)],_0x54cdd8),'left':_0x566d0b,'top':_0xe5c0c1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d9430(0x196)][_0x4d9430(0x411)](_0x39ebf6),this['_scene'][_0x4d9430(0x39a)](_0x39ebf6,_0x1c6b1f['TEXT_RANGE_LAYER_INDEX']);}[_0x339b6f(0x2fe)](_0x255656,_0x5750bf,_0x5bcdd7,_0x41bb2a){const _0x1d6606=_0x339b6f;let _0x3d38e3=0.2,_0x5e9ae9=new _0x1d062f[(_0x1d6606(0x329))](_0x255656)[_0x1d6606(0x3ac)](_0x3d38e3)['toRgbString'](),_0x9964be=new _0xc630f2[(_0x1d6606(0x14d))]('collab-rect-range-'+(0x0,_0x1d062f[_0x1d6606(0x409)])(0x6),{'pointsGroup':_0x5750bf,'fill':_0x5e9ae9||(0x0,_0xc630f2[_0x1d6606(0x1e5)])(_0x1d062f[_0x1d6606(0x403)][_0x1d6606(0x206)],_0x3d38e3),'left':_0x5bcdd7,'top':_0x41bb2a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d6606(0x196)]['push'](_0x9964be),this[_0x1d6606(0x313)]['addObject'](_0x9964be,_0x1c6b1f[_0x1d6606(0x247)]);}['_getAnchorBounding'](_0x20680e){let _0x4602fd=_0x20680e[0x0],_0x5c4761=_0x4602fd[0x0],_0x40effb=_0x4602fd[0x2],{x:_0x16f44a,y:_0x5e0f32}=_0x5c4761,{x:_0x592753,y:_0xf3348a}=_0x40effb;return{'left':_0x16f44a,'top':_0x5e0f32,'width':_0x592753-_0x16f44a,'height':_0xf3348a-_0x5e0f32};}[_0x339b6f(0x3bf)](){const _0x198b39=_0x339b6f;let {scaleX:_0x2c2852,scaleY:_0x265997}=this['_scene'][_0x198b39(0x38e)]();return Math[_0x198b39(0x1fc)](_0x2c2852,_0x265997);}};let _0x1993ee=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x88c1a5,_0x193bf8,_0x27b4a7,_0x723228,_0x12da7f){const _0x4ad199=_0x339b6f;super(),this['_context']=_0x88c1a5,this['_docSkeletonManagerService']=_0x193bf8,this[_0x4ad199(0x215)]=_0x27b4a7,this[_0x4ad199(0x3a4)]=_0x723228,this[_0x4ad199(0x30b)]=_0x12da7f,_0x1050e7(this,'_cursorShapes',[]),_0x1050e7(this,_0x4ad199(0x245),[]),this['_init']();}['_init'](){const _0x5d2460=_0x339b6f;let _0x44aa23=this[_0x5d2460(0x35b)]['unitId'],_0x4af419=this['_docSkeletonManagerService'];this[_0x5d2460(0x18c)]((0x0,_0x5df150[_0x5d2460(0x2a1)])([this['_collabCursorController'][_0x5d2460(0x1a2)](_0x44aa23),this[_0x5d2460(0x30b)][_0x5d2460(0x248)]])['pipe']((0x0,_0x231056[_0x5d2460(0x19d)])(([_0x2b6632,_0x1fafed])=>({'skeleton':_0x4af419[_0x5d2460(0x207)](),'cursors':[..._0x2b6632[_0x5d2460(0x2a6)]()][_0x5d2460(0x249)](_0x28a922=>({..._0x28a922,'color':this[_0x5d2460(0x30b)][_0x5d2460(0x306)](_0x28a922[_0x5d2460(0x230)])}))})))[_0x5d2460(0x3cd)](_0x4d0912=>{const _0x11d5c5=_0x5d2460;if(this[_0x11d5c5(0x2ff)](),_0x4d0912){let {skeleton:_0xf23851,cursors:_0x3aa0fc}=_0x4d0912;this[_0x11d5c5(0x166)](_0xf23851,_0x3aa0fc);}})),this[_0x5d2460(0x27c)](),this[_0x5d2460(0x2f8)]();}[_0x339b6f(0x166)](_0x36a711,_0x1255cd){const _0x32fcfa=_0x339b6f;let {scene:_0x4fdbe4,mainComponent:_0x296da2}=this[_0x32fcfa(0x35b)],_0x5db0fc=_0x1255cd['map'](_0x648431=>new _0x338f74(_0x648431,_0x4fdbe4,_0x36a711,_0x296da2));this['_cursorShapes']=_0x5db0fc,this['_cursors']=_0x1255cd;}[_0x339b6f(0x22f)](){const _0x21436e=_0x339b6f;this[_0x21436e(0x2ff)]();let {scene:_0xa93df9,mainComponent:_0x1747cb}=this[_0x21436e(0x35b)],_0x2c45af=this['_docSkeletonManagerService'][_0x21436e(0x207)](),_0x19c356=this[_0x21436e(0x245)][_0x21436e(0x19d)](_0x428f1b=>new _0x338f74(_0x428f1b,_0xa93df9,_0x2c45af,_0x1747cb));this[_0x21436e(0x195)]=_0x19c356;}[_0x339b6f(0x2ff)](){const _0x4cfbc6=_0x339b6f;this[_0x4cfbc6(0x195)][_0x4cfbc6(0x159)](_0x5770df=>_0x5770df['dispose']()),this[_0x4cfbc6(0x195)]=[];}[_0x339b6f(0x2f8)](){const _0x3c3358=_0x339b6f;let _0x2ab33d=[_0x1c6b1f['SetDocZoomRatioOperation']['id']];this[_0x3c3358(0x18c)](this[_0x3c3358(0x3a4)][_0x3c3358(0x1b0)](_0x3661ca=>{const _0x1e1b5f=_0x3c3358;_0x2ab33d[_0x1e1b5f(0x40a)](_0x3661ca['id'])&&_0x3661ca[_0x1e1b5f(0x3c9)][_0x1e1b5f(0x24e)]===this[_0x1e1b5f(0x35b)][_0x1e1b5f(0x24e)]&&this['_refreshCollabCursors']();}));}[_0x339b6f(0x27c)](){const _0x241846=_0x339b6f;this[_0x241846(0x18c)]((0x0,_0x1d062f['fromEventSubject'])(this['_context']['engine'][_0x241846(0x370)])[_0x241846(0x300)]((0x0,_0x231056[_0x241846(0x361)])(_0x3115ed=>_0x3115ed['type']===_0xc630f2[_0x241846(0x163)][_0x241846(0x285)]),(0x0,_0x231056['throttleTime'])(0x10))[_0x241846(0x3cd)](()=>{const _0x2f5ceb=_0x241846;this[_0x2f5ceb(0x22f)]();}));}};_0x1993ee=_0x8db4f3([_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x55d528[_0x339b6f(0x386)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0xe35be2)),_0x21c55a(0x3,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x26c)]))],_0x1993ee);var _0x56d40a=class extends _0xc630f2[_0x339b6f(0x17e)]{constructor(_0x3e708d,_0x5a1a75){const _0x1cf65c=_0x339b6f;if(super(_0x3e708d,_0x5a1a75),_0x1050e7(this,_0x1cf65c(0x254),void 0x0),_0x1050e7(this,'_hovered',!0x1),_0x1050e7(this,_0x1cf65c(0x3b1),void 0x0),_0x1050e7(this,_0x1cf65c(0x273),''),_0x1050e7(this,_0x1cf65c(0x173),'top'),_0x1050e7(this,_0x1cf65c(0x350),void 0x0),_0x1050e7(this,_0x1cf65c(0x3ba),void 0x0),_0x1050e7(this,_0x1cf65c(0x1e8),void 0x0),_0x1050e7(this,_0x1cf65c(0x368),0x4),_0x1050e7(this,_0x1cf65c(0x32e),void 0x0),_0x1050e7(this,_0x1cf65c(0x260),void 0x0),_0x1050e7(this,_0x1cf65c(0x2e7),!0x0),_0x1050e7(this,_0x1cf65c(0x407),0x0),_0x5a1a75){var _0x321109;if(this[_0x1cf65c(0x416)](_0x5a1a75),_0x5a1a75['highlight']&&((_0x321109=_0x5a1a75['highlightSecond'])==null?this['_highlightSecond']:_0x321109)){var _0x6ed8a8;this[_0x1cf65c(0x3a8)]((_0x6ed8a8=_0x5a1a75[_0x1cf65c(0x2c7)])==null?this[_0x1cf65c(0x368)]:_0x6ed8a8);}}this[_0x1cf65c(0x264)][_0x1cf65c(0x31b)](()=>this[_0x1cf65c(0x416)]({'hovered':!0x0})),this[_0x1cf65c(0x149)][_0x1cf65c(0x31b)](()=>this[_0x1cf65c(0x416)]({'hovered':!0x1}));}[_0x339b6f(0x1ce)](_0x467224){const _0x5df469=_0x339b6f;this[_0x5df469(0x407)]=_0x467224;}[_0x339b6f(0x416)](_0x4837e5){const _0x38d849=_0x339b6f;var _0x1e6750,_0x24f204,_0x25c658,_0x12e507,_0x70cf99,_0x570556,_0x32d3dc;this[_0x38d849(0x254)]=(_0x1e6750=_0x4837e5['color'])==null?this[_0x38d849(0x254)]:_0x1e6750,this[_0x38d849(0x355)]=(_0x24f204=_0x4837e5[_0x38d849(0x1ec)])==null?this[_0x38d849(0x355)]:_0x24f204,this[_0x38d849(0x3b1)]=(_0x25c658=_0x4837e5['range'])==null?this[_0x38d849(0x3b1)]:_0x25c658,this[_0x38d849(0x273)]=(_0x12e507=_0x4837e5['name'])==null?this[_0x38d849(0x273)]:_0x12e507,this[_0x38d849(0x173)]=(_0x70cf99=_0x4837e5[_0x38d849(0x18e)])==null?this[_0x38d849(0x173)]:_0x70cf99,this[_0x38d849(0x350)]=(_0x570556=_0x4837e5[_0x38d849(0x2d9)])==null?this[_0x38d849(0x350)]:_0x570556,this[_0x38d849(0x3ba)]=(_0x32d3dc=_0x4837e5[_0x38d849(0x2a2)])==null?this[_0x38d849(0x3ba)]:_0x32d3dc,_0x4837e5[_0x38d849(0x2c7)]!==void 0x0&&(this[_0x38d849(0x368)]=_0x4837e5['highlightSecond']),_0x4837e5[_0x38d849(0x34c)]!==void 0x0&&(this[_0x38d849(0x1e8)]=_0x4837e5['highlight']),_0x4837e5[_0x38d849(0x1d0)]!==void 0x0&&(this[_0x38d849(0x407)]=_0x4837e5[_0x38d849(0x1d0)]),this['transformByState']({'width':_0x4837e5[_0x38d849(0x413)],'height':_0x4837e5[_0x38d849(0x30c)]});}[_0x339b6f(0x3a9)](_0x474513){const _0x5494fb=_0x339b6f;let {row:_0x467bc4,column:_0x50747f}=_0x474513;if(_0x467bc4>=this[_0x5494fb(0x3b1)][_0x5494fb(0x284)]&&_0x467bc4<=this[_0x5494fb(0x3b1)][_0x5494fb(0x31c)]&&_0x50747f>=this[_0x5494fb(0x3b1)][_0x5494fb(0x19c)]&&_0x50747f<=this[_0x5494fb(0x3b1)][_0x5494fb(0x3bc)]){this[_0x5494fb(0x416)]({'hovered':!0x0});return;}this[_0x5494fb(0x416)]({'hovered':!0x1});}['_startBlinking'](_0x5e6455){const _0x1b948b=_0x339b6f;this[_0x1b948b(0x225)](),this[_0x1b948b(0x2e7)]=!0x0,this[_0x1b948b(0x260)]=window[_0x1b948b(0x327)](()=>{const _0x4b6939=_0x1b948b;this[_0x4b6939(0x2e7)]=!this[_0x4b6939(0x2e7)],this[_0x4b6939(0x385)](!0x0);},0x1f4),this[_0x1b948b(0x32e)]=window[_0x1b948b(0x289)](()=>{const _0x35cab0=_0x1b948b;this[_0x35cab0(0x225)](),this[_0x35cab0(0x2e7)]=!0x0,this[_0x35cab0(0x385)](!0x0);},_0x5e6455*0x3e8);}[_0x339b6f(0x225)](){const _0x3fbba5=_0x339b6f;this['_blinkIntervalTimer']&&(window[_0x3fbba5(0x3c7)](this[_0x3fbba5(0x260)]),this['_blinkIntervalTimer']=void 0x0),this[_0x3fbba5(0x32e)]&&(window[_0x3fbba5(0x3a1)](this[_0x3fbba5(0x32e)]),this[_0x3fbba5(0x32e)]=void 0x0);}[_0x339b6f(0x2aa)](_0xfea44a){return!0x1;}[_0x339b6f(0x39e)](){const _0x20c5fc=_0x339b6f;this[_0x20c5fc(0x225)](),super['dispose']();}['_draw'](_0x7283e3){const _0x3ff28d=_0x339b6f;let _0x9a3419=this[_0x3ff28d(0x254)],_0x50c91b=this['_backgroundColor'];if(this[_0x3ff28d(0x1e8)]&&!this[_0x3ff28d(0x2e7)]&&(_0x9a3419=this['_getLighterColor'](this['_color']),_0x50c91b=this[_0x3ff28d(0x350)]?this[_0x3ff28d(0x344)](this['_backgroundColor']):void 0x0),_0xc630f2[_0x3ff28d(0x2eb)][_0x3ff28d(0x32f)](_0x7283e3,{'width':this[_0x3ff28d(0x413)],'height':this[_0x3ff28d(0x30c)],'strokeWidth':this[_0x3ff28d(0x2b5)]||1.5,'stroke':_0x9a3419,'evented':!0x1,'fill':_0x50c91b}),this[_0x3ff28d(0x355)]||this[_0x3ff28d(0x3ba)]){var _0x127c4c;_0x7283e3[_0x3ff28d(0x211)](),_0x7283e3[_0x3ff28d(0x27e)](0x1,0x0,0x0,0x1,this[_0x3ff28d(0x413)],(this[_0x3ff28d(0x173)]===_0x3ff28d(0x2d2)?0x0:-0x14)+((_0x127c4c=this[_0x3ff28d(0x407)])==null?0x0:_0x127c4c)),_0x34d0f3['drawWith'](_0x7283e3,{'text':this[_0x3ff28d(0x273)],'color':_0x9a3419}),_0x7283e3['restore']();}}[_0x339b6f(0x344)](_0x139957){const _0xda22b3=_0x339b6f;return _0x139957[_0xda22b3(0x20c)]('#')?_0xda22b3(0x161)+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x1,0x3),0x10)+',\x20'+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x3,0x5),0x10)+',\x20'+Number[_0xda22b3(0x259)](_0x139957[_0xda22b3(0x270)](0x5,0x7),0x10)+_0xda22b3(0x383):_0x139957['startsWith'](_0xda22b3(0x1d7))?_0x139957[_0xda22b3(0x330)](/[\d.]+\)$/g,_0xda22b3(0x381)):_0x139957[_0xda22b3(0x20c)](_0xda22b3(0x278))?_0x139957[_0xda22b3(0x330)](_0xda22b3(0x278),'rgba')['replace'](')',_0xda22b3(0x383)):_0x139957;}};let _0x4439c2=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(_0x5aa858,_0x197dc1,_0x5a883e,_0x26aca5){const _0x156d70=_0x339b6f;super(),this[_0x156d70(0x35b)]=_0x5aa858,this[_0x156d70(0x202)]=_0x197dc1,this['_collabCursorController']=_0x5a883e,this[_0x156d70(0x30b)]=_0x26aca5,_0x1050e7(this,_0x156d70(0x245),new Set()),_0x1050e7(this,'_lastPointer',null),_0x1050e7(this,_0x156d70(0x2da),null),this[_0x156d70(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x46f89f=_0x339b6f;this[_0x46f89f(0x202)]['currentSkeleton$']['pipe']((0x0,_0x231056[_0x46f89f(0x154)])(this['dispose$']),(0x0,_0x231056[_0x46f89f(0x288)])(_0x4fd524=>{const _0x3d20e5=_0x46f89f;if(_0x4fd524){let _0x387ebe=_0x4fd524[_0x3d20e5(0x1b5)];return(0x0,_0x5df150[_0x3d20e5(0x2a1)])(this['_collabCursorController'][_0x3d20e5(0x1a2)](this[_0x3d20e5(0x35b)][_0x3d20e5(0x24e)]),this['_themeService'][_0x3d20e5(0x248)])[_0x3d20e5(0x300)]((0x0,_0x231056['map'])(([_0x99b821,_0x307797])=>{const _0xb0baf0=_0x3d20e5;let _0x2fca83=new Map();return _0x99b821[_0xb0baf0(0x159)]((_0x489573,_0x36777f)=>{const _0x29b216=_0xb0baf0;if(_0x489573[_0x29b216(0x412)]===_0x387ebe){let _0x1cd818={..._0x489573};_0x1cd818[_0x29b216(0x230)]=this[_0x29b216(0x30b)][_0x29b216(0x306)](_0x489573[_0x29b216(0x230)]),_0x2fca83[_0x29b216(0x3e7)](_0x36777f,_0x1cd818);}}),{'skeleton':_0x4fd524,'cursors':_0x2fca83};}));}return(0x0,_0x5df150['of'])({'skeleton':null,'cursors':new Map()});}))[_0x46f89f(0x3cd)](({skeleton:_0x7162d7,cursors:_0x133604})=>{const _0x197001=_0x46f89f;this[_0x197001(0x2ff)](),_0x7162d7&&this['_updateCollabCursors'](_0x7162d7,_0x133604);}),this[_0x46f89f(0x18c)](this[_0x46f89f(0x202)]['currentSkeleton$'][_0x46f89f(0x300)]((0x0,_0x231056[_0x46f89f(0x154)])(this[_0x46f89f(0x23c)]))[_0x46f89f(0x3cd)](_0x50839a=>{const _0x493c5f=_0x46f89f;var _0x2f34ac;if(_0x50839a==null)return;(_0x2f34ac=this['_pointerMoveDisposable'])==null||_0x2f34ac[_0x493c5f(0x171)](),this[_0x493c5f(0x2da)]=null;let {skeleton:_0x5247f3}=_0x50839a,{scene:_0x38f524}=this[_0x493c5f(0x35b)];this[_0x493c5f(0x2da)]=_0x38f524[_0x493c5f(0x3eb)][_0x493c5f(0x31b)]((0x0,_0x1d062f[_0x493c5f(0x14e)])(_0x1c54a6=>{const _0x5598dd=_0x493c5f;var _0x482523,_0x4d0e83;let {offsetX:_0x3f9d5c,offsetY:_0x46f13d}=_0x1c54a6,{x:_0x537712,y:_0x25a320}=_0x38f524[_0x5598dd(0x1c0)](_0xc630f2[_0x5598dd(0x228)][_0x5598dd(0x28b)]([_0x3f9d5c,_0x46f13d])),{scaleX:_0x198e67,scaleY:_0x34a0a6}=_0x38f524[_0x5598dd(0x38e)](),_0x2d0742=_0x38f524['getViewport'](_0xc630f2[_0x5598dd(0x240)][_0x5598dd(0x415)]),_0x1a9fcc=_0x38f524[_0x5598dd(0x1f2)](_0xc630f2[_0x5598dd(0x228)][_0x5598dd(0x28b)]([_0x537712,_0x25a320]),_0x2d0742),_0x587547=_0x5247f3[_0x5598dd(0x237)](_0x3f9d5c,_0x46f13d,_0x198e67,_0x34a0a6,_0x1a9fcc);((_0x482523=this['_lastPointer'])==null?void 0x0:_0x482523['column'])===_0x587547['column']&&((_0x4d0e83=this['_lastPointer'])==null?void 0x0:_0x4d0e83[_0x5598dd(0x1cb)])===_0x587547[_0x5598dd(0x1cb)]||this[_0x5598dd(0x245)][_0x5598dd(0x159)](_0x13efa7=>{_0x13efa7['onMouseMove'](_0x587547);});},0x64));})),this[_0x46f89f(0x18c)]((0x0,_0x1d062f[_0x46f89f(0x1fe)])(()=>{const _0x1b7df1=_0x46f89f;var _0x765cc5;(_0x765cc5=this['_pointerMoveDisposable'])==null||_0x765cc5[_0x1b7df1(0x171)](),this[_0x1b7df1(0x2da)]=null;}));}['_updateCollabCursors'](_0x2e0e6f,_0x2d2c15){const _0x31fa6f=_0x339b6f;let _0x2fd09d=this[_0x31fa6f(0x202)]['getCurrentSkeleton']();if(!_0x2fd09d)return;let _0x5adae6=this['_getSheetObject']();if(!_0x5adae6)return;this['_cursors'][_0x31fa6f(0x159)](_0xf7ff08=>{const _0xe76bcc=_0x31fa6f;_0xf7ff08[_0xe76bcc(0x385)]();});let {scene:_0x5e06d3}=_0x5adae6,_0x170198=_0x14305e(Array[_0x31fa6f(0x324)](_0x2d2c15[_0x31fa6f(0x2a6)]()))['map'](_0x50635c=>{const _0x57ae3d=_0x31fa6f;let {color:_0x42d82c,range:_0x1136ce,name:_0x1305bc,selection:_0x3c2f0e,sheetID:_0x124f96}=_0x50635c,{startColumn:_0x1336f2,startRow:_0x17c438,endColumn:_0x18d925,endRow:_0x4bbe1f}=_0x1136ce,_0x24974a=(0x0,_0x5c8585[_0x57ae3d(0x315)])(_0x17c438,_0x1336f2,_0x5e06d3,_0x2fd09d),_0x3836df=(0x0,_0x5c8585['getCoordByCell'])(_0x4bbe1f,_0x18d925,_0x5e06d3,_0x2fd09d),{columnHeaderHeightAndMarginTop:_0x1b1d91}=_0x2fd09d,{startX:_0x34d5fd,startY:_0x145d84}=_0x24974a,{endX:_0x207e7d,endY:_0x73a516}=_0x3836df,_0x5855e3=_0x207e7d-_0x34d5fd,_0x5da4bd=_0x73a516-_0x145d84;return new _0x56d40a(_0x1305bc,{'labelPosition':_0x145d84-_0x1b1d91>=0x14?_0x57ae3d(0x332):_0x57ae3d(0x2d2),'sheetID':_0x124f96,'range':_0x1136ce,'color':_0x42d82c,'name':_0x1305bc,'selection':_0x3c2f0e,'left':_0x34d5fd,'top':_0x145d84,'width':_0x5855e3,'height':_0x5da4bd,'evented':!0x1,'zIndex':0x1389});});_0x5e06d3[_0x31fa6f(0x279)](_0x170198,0x1),this[_0x31fa6f(0x245)]=new Set(_0x170198);}[_0x339b6f(0x2ff)](){const _0x5b1665=_0x339b6f;var _0x213afd;(_0x213afd=this[_0x5b1665(0x245)])==null||_0x213afd[_0x5b1665(0x159)](_0x56189b=>_0x56189b[_0x5b1665(0x39e)]());}[_0x339b6f(0x1e1)](){const _0x20b7e6=_0x339b6f;return(0x0,_0x5c8585['getSheetObject'])(this[_0x20b7e6(0x35b)]['unit'],this['_context']);}};_0x4439c2=_0x8db4f3([_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x5c8585[_0x339b6f(0x3fc)])),_0x21c55a(0x2,(0x0,_0x1d062f['Inject'])(_0xe35be2)),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x26c)]))],_0x4439c2);function _0x14305e(_0x214043){const _0x258499=_0x339b6f;let _0x58d0d4=new Map();return _0x214043['forEach'](_0x363679=>{const _0x2a4324=_0x405a;if(_0x58d0d4[_0x2a4324(0x377)](_0x363679['selection'])){let _0xeff4e8=_0x58d0d4[_0x2a4324(0x3fe)](_0x363679[_0x2a4324(0x304)]);_0xeff4e8[_0x2a4324(0x318)]+=',\x20'+_0x363679[_0x2a4324(0x318)];}else _0x58d0d4[_0x2a4324(0x3e7)](_0x363679[_0x2a4324(0x304)],_0x363679);}),Array[_0x258499(0x324)](_0x58d0d4[_0x258499(0x2a6)]());}let _0x1e8c36=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x2c6cb4,_0x1d891d,_0x277eb8,_0x5d25d7,_0x4eb37b,_0x4da8f8){const _0x35db21=_0x339b6f;super(),this[_0x35db21(0x1a0)]=_0x2c6cb4,this[_0x35db21(0x427)]=_0x1d891d,this[_0x35db21(0x39f)]=_0x277eb8,this[_0x35db21(0x1bb)]=_0x5d25d7,this[_0x35db21(0x2fb)]=_0x4eb37b,this['_localeService']=_0x4da8f8,this[_0x35db21(0x23b)](),this[_0x35db21(0x1e9)]();}[_0x339b6f(0x23b)](){const _0x4734a0=_0x339b6f;this[_0x4734a0(0x18c)](this[_0x4734a0(0x1a0)][_0x4734a0(0x24b)](()=>{const _0x11f2ef=_0x4734a0;if(this[_0x11f2ef(0x427)][_0x11f2ef(0x35c)][_0x11f2ef(0x3ea)])return this[_0x11f2ef(0x23e)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x339b6f(0x1e9)](){const _0x381047=_0x339b6f;this[_0x381047(0x18c)](this['_collaborationUIEventService'][_0x381047(0x21e)][_0x381047(0x3cd)](_0x5d6460=>{const _0x5b3aad=_0x381047;_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)]['OTHER_CLIENT_EDITING']&&this[_0x5b3aad(0x1bb)]['show']({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this['_localeService']['t'](_0x5b3aad(0x2ed))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x262)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x360)]&&this[_0x5b3aad(0x2fb)][_0x5b3aad(0x1e3)]({'title':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x338)),'content':this['_localeService']['t'](_0x5b3aad(0x1ed)),'type':_0x5b3aad(0x40d),'duration':0x0}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x1d9)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x178)],'content':this['_localeService']['t']('collaboration-client-ui.collaboration.closeRoom')+'('+_0x5d6460[_0x5b3aad(0x33e)]+')'}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x1eb)]&&this['_messageService']['show']({'type':_0x36848a['MessageType'][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5d6460['data']||'')}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x283)]&&this[_0x5b3aad(0x1bb)][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x32b)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x192))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x251)]&&this[_0x5b3aad(0x1bb)]['show']({'type':_0x36848a['MessageType'][_0x5b3aad(0x178)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x366))}),_0x5d6460['id']===_0x20efb1[_0x5b3aad(0x398)][_0x5b3aad(0x356)]&&this['_messageService'][_0x5b3aad(0x1e3)]({'type':_0x36848a[_0x5b3aad(0x1f7)][_0x5b3aad(0x178)],'content':this[_0x5b3aad(0x23e)]['t'](_0x5b3aad(0x1f1))});}));}};_0x1e8c36=_0x8db4f3([_0x21c55a(0x0,_0x25f9de['IBeforeCloseService']),_0x21c55a(0x1,_0x20efb1[_0x339b6f(0x2a5)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2e2)])),_0x21c55a(0x3,_0x25f9de[_0x339b6f(0x169)]),_0x21c55a(0x4,_0x25f9de[_0x339b6f(0x2ad)]),_0x21c55a(0x5,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x142)]))],_0x1e8c36);let _0x5f31b3={},_0x2f9daa=class{constructor(_0x2741df,_0x327435){const _0x39b9b8=_0x339b6f;this[_0x39b9b8(0x3d2)]=_0x2741df,this[_0x39b9b8(0x2e0)]=_0x327435;}[_0x339b6f(0x226)](_0x324f4a){const _0x2b67e7=_0x339b6f;this[_0x2b67e7(0x32c)](_0x324f4a),this[_0x2b67e7(0x3ae)](_0x324f4a);}[_0x339b6f(0x301)](_0x11bec9){const _0x47b126=_0x339b6f;let {unitID:_0x2ba42f}=_0x11bec9,{redoCache:_0x3ad925}=this['_renderManagerService']['getRenderById'](_0x2ba42f)['with'](_0x1c6b1f[_0x47b126(0x175)])['getUndoRedoMutationParamsCache']();if(_0x3ad925['length']===0x0)return _0x11bec9;let _0x3e60ea=_0x1d062f[_0x47b126(0x3da)][_0x47b126(0x2d7)](_0x11bec9[_0x47b126(0x17b)][0x0]);for(let _0x205a35=0x0;_0x205a35<_0x3ad925[_0x47b126(0x231)];_0x205a35++){let _0x47dda1={'id':_0x47b126(0x234),'params':{..._0x3ad925[_0x205a35]}},_0x57de10=this[_0x47b126(0x3d2)][_0x47b126(0x187)](_0x3e60ea,_0x47dda1,!0x1);if((0x0,_0x600789[_0x47b126(0x24c)])(_0x57de10))throw _0x57de10[_0x47b126(0x40d)];_0x3e60ea=_0x57de10[_0x47b126(0x15e)];}return{..._0x1d062f['Tools'][_0x47b126(0x2d7)](_0x11bec9),'mutations':[_0x3e60ea]};}[_0x339b6f(0x32c)](_0x492b3b){const _0x401a07=_0x339b6f;let {unitID:_0x38365e}=_0x492b3b,_0x23485d=this[_0x401a07(0x2e0)][_0x401a07(0x399)](_0x38365e)[_0x401a07(0x3f6)](_0x1c6b1f[_0x401a07(0x175)]),{undoCache:_0x39a1ce,redoCache:_0x43534f}=_0x23485d[_0x401a07(0x2d5)]();if(_0x39a1ce['length']===0x0||_0x43534f[_0x401a07(0x231)]===0x0)return;let _0x38b57e=[],_0x9ca92f=[],_0xd57ea7=_0x1d062f['Tools'][_0x401a07(0x2d7)](_0x492b3b[_0x401a07(0x17b)][0x0]),_0x216629=_0x1d062f['Tools'][_0x401a07(0x2d7)](_0x492b3b['mutations'][0x0]);for(let _0x736289=_0x39a1ce[_0x401a07(0x231)]-0x1;_0x736289>=0x0;_0x736289--){let _0x5a09a0={'id':_0x401a07(0x234),'params':{..._0x39a1ce[_0x736289]}},_0x577f11={'id':_0x401a07(0x234),'params':{..._0x43534f[_0x736289]}},_0x242413=this[_0x401a07(0x3d2)][_0x401a07(0x187)](_0xd57ea7,_0x5a09a0,!0x1),_0x577c45=this[_0x401a07(0x3d2)][_0x401a07(0x187)](_0x216629,_0x577f11,!0x1);if((0x0,_0x600789[_0x401a07(0x24c)])(_0x242413))throw _0x242413['error'];if((0x0,_0x600789[_0x401a07(0x24c)])(_0x577c45))throw _0x577c45['error'];_0x38b57e[_0x401a07(0x424)](_0x242413[_0x401a07(0x3b4)][_0x401a07(0x3c9)]),_0x9ca92f[_0x401a07(0x424)](_0x577c45[_0x401a07(0x3b4)][_0x401a07(0x3c9)]),_0xd57ea7=_0x242413['m1Prime'],_0x216629=_0x577c45[_0x401a07(0x15e)];}_0x23485d[_0x401a07(0x1b3)]({'undoCache':_0x38b57e,'redoCache':_0x9ca92f});}['_transformPreviousActiveRange'](_0x49d48b){const _0x5e088e=_0x339b6f;let {unitID:_0x2159e1}=_0x49d48b,_0x5d9a60=this[_0x5e088e(0x2e0)]['getRenderById'](_0x2159e1)[_0x5e088e(0x3f6)](_0x1c6b1f[_0x5e088e(0x175)]),_0x44a3af=_0x5d9a60[_0x5e088e(0x303)]();if(_0x44a3af==null)return;let _0x17f4ca=[{'id':_0x5e088e(0x234),'params':{'unitId':_0x49d48b[_0x5e088e(0x310)],'actions':null,'textRanges':[_0x44a3af]}}],_0x4ec8b=this[_0x5e088e(0x3d2)][_0x5e088e(0x184)](_0x49d48b,_0x17f4ca);if(!(0x0,_0x600789['isTransformMutationsWithChangesetSuccess'])(_0x4ec8b))throw _0x4ec8b[_0x5e088e(0x40d)];let _0x191347=_0x4ec8b[_0x5e088e(0x3b4)][0x0][_0x5e088e(0x3c9)]['textRanges'];Array[_0x5e088e(0x1df)](_0x191347)&&_0x191347[_0x5e088e(0x231)]&&_0x5d9a60['setActiveRange'](_0x191347[0x0]);}};_0x2f9daa=_0x8db4f3([_0x21c55a(0x0,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x1,_0xc630f2['IRenderManagerService'])],_0x2f9daa);let _0x426fe9=class{constructor(_0x392e73,_0x3ddf02,_0x411458){const _0x3b9d28=_0x339b6f;this[_0x3b9d28(0x405)]=_0x392e73,this[_0x3b9d28(0x3d2)]=_0x3ddf02,this[_0x3b9d28(0x373)]=_0x411458;}[_0x339b6f(0x36e)](_0x6a4abd){const _0x298426=_0x339b6f;this[_0x298426(0x25c)](_0x6a4abd);}[_0x339b6f(0x301)](_0x481db4){const _0x437648=_0x339b6f;let {unitID:_0xc15899}=_0x481db4,{collaboration:_0x29d757}=this[_0x437648(0x373)][_0x437648(0x3dd)](_0xc15899);if(_0x29d757[_0x437648(0x231)]===0x0)return _0x481db4;let _0x56b176=_0x1d062f[_0x437648(0x3da)]['deepClone'](_0x481db4[_0x437648(0x17b)][0x0]);for(let _0x2fc5a8=0x0;_0x2fc5a8<_0x29d757[_0x437648(0x231)];_0x2fc5a8++){let _0x5d2ed4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29d757[_0x2fc5a8][_0x437648(0x24e)],..._0x29d757[_0x2fc5a8]['redoState']}},_0x25f5db=this[_0x437648(0x3d2)][_0x437648(0x187)](_0x56b176,_0x5d2ed4,!0x1);if((0x0,_0x600789['isTransformMutationFailure'])(_0x25f5db))throw _0x25f5db[_0x437648(0x40d)];_0x56b176=_0x25f5db[_0x437648(0x15e)];}return{..._0x1d062f[_0x437648(0x3da)][_0x437648(0x2d7)](_0x481db4),'mutations':[_0x56b176]};}[_0x339b6f(0x25c)](_0x1c965a){const _0x3aeea4=_0x339b6f;let {unitID:_0x2ea3df}=_0x1c965a,{history:_0x1fcceb,collaboration:_0x11ac62}=this['_docStateChangeManagerService'][_0x3aeea4(0x3dd)](_0x2ea3df);if(_0x1fcceb[_0x3aeea4(0x231)]===0x0&&_0x11ac62['length']===0x0)return;let _0x4286ad=[],_0x52c9d3=[],_0x4febd4=_0x1d062f[_0x3aeea4(0x3da)]['deepClone'](_0x1c965a[_0x3aeea4(0x17b)][0x0]),_0x22c69c=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a['mutations'][0x0]);for(let _0x1b98f9=_0x1fcceb[_0x3aeea4(0x231)]-0x1;_0x1b98f9>=0x0;_0x1b98f9--){let _0x2a4586={'id':_0x3aeea4(0x234),'params':{'unitId':_0x1fcceb[_0x1b98f9][_0x3aeea4(0x24e)],..._0x1fcceb[_0x1b98f9]['undoState']}},_0x8bd0ae={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fcceb[_0x1b98f9][_0x3aeea4(0x24e)],..._0x1fcceb[_0x1b98f9][_0x3aeea4(0x2af)]}},_0x52f0b5=this[_0x3aeea4(0x3d2)][_0x3aeea4(0x187)](_0x4febd4,_0x2a4586,!0x1),_0x545380=this['_transformService'][_0x3aeea4(0x187)](_0x22c69c,_0x8bd0ae,!0x1);if((0x0,_0x600789['isTransformMutationFailure'])(_0x52f0b5))throw _0x52f0b5['error'];if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x545380))throw _0x545380[_0x3aeea4(0x40d)];_0x4286ad['unshift']({..._0x1fcceb[_0x1b98f9],'undoState':_0x52f0b5[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)],'redoState':_0x545380[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)]}),_0x4febd4=_0x52f0b5[_0x3aeea4(0x15e)],_0x22c69c=_0x545380[_0x3aeea4(0x15e)];}_0x4febd4=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a[_0x3aeea4(0x17b)][0x0]),_0x22c69c=_0x1d062f[_0x3aeea4(0x3da)][_0x3aeea4(0x2d7)](_0x1c965a[_0x3aeea4(0x17b)][0x0]);for(let _0x21ab90=_0x11ac62[_0x3aeea4(0x231)]-0x1;_0x21ab90>=0x0;_0x21ab90--){let _0x372d9f={'id':_0x3aeea4(0x234),'params':{'unitId':_0x11ac62[_0x21ab90][_0x3aeea4(0x24e)],..._0x11ac62[_0x21ab90][_0x3aeea4(0x1ee)]}},_0x4b4554={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11ac62[_0x21ab90][_0x3aeea4(0x24e)],..._0x11ac62[_0x21ab90][_0x3aeea4(0x2af)]}},_0x53801d=this['_transformService'][_0x3aeea4(0x187)](_0x4febd4,_0x372d9f,!0x1),_0x3291c5=this[_0x3aeea4(0x3d2)][_0x3aeea4(0x187)](_0x22c69c,_0x4b4554,!0x1);if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x53801d))throw _0x53801d[_0x3aeea4(0x40d)];if((0x0,_0x600789[_0x3aeea4(0x24c)])(_0x3291c5))throw _0x3291c5['error'];_0x52c9d3[_0x3aeea4(0x424)]({..._0x11ac62[_0x21ab90],'undoState':_0x53801d['m2Prime'][_0x3aeea4(0x3c9)],'redoState':_0x3291c5[_0x3aeea4(0x3b4)][_0x3aeea4(0x3c9)]}),_0x4febd4=_0x53801d[_0x3aeea4(0x15e)],_0x22c69c=_0x3291c5['m1Prime'];}this[_0x3aeea4(0x373)][_0x3aeea4(0x2f7)](_0x2ea3df,{'history':_0x4286ad,'collaboration':_0x52c9d3});}};_0x426fe9=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f['Injector'])),_0x21c55a(0x1,_0x600789[_0x339b6f(0x1e6)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1c6b1f[_0x339b6f(0x419)]))],_0x426fe9);let _0x330553=class{constructor(_0x390cb1,_0x3697b3){const _0x38e567=_0x339b6f;this[_0x38e567(0x405)]=_0x390cb1,this[_0x38e567(0x3d2)]=_0x3697b3;}[_0x339b6f(0x2ec)](_0xd35342){const _0x1e3021=_0x339b6f;var _0x44d473;let _0x22b9d1=this[_0x1e3021(0x405)][_0x1e3021(0x3fe)](_0x55d528[_0x1e3021(0x3a6)]),_0x31d66f=(_0x44d473=_0x22b9d1[_0x1e3021(0x357)]())==null?[]:_0x44d473;if(_0x31d66f[_0x1e3021(0x231)]===0x0)return;let _0x124374=_0xd35342[_0x1e3021(0x310)],_0x3b5423=[{'id':_0x1e3021(0x234),'params':{'unitId':_0x124374,'actions':null,'textRanges':_0x31d66f}}],_0x1a0c05=this['_transformService'][_0x1e3021(0x184)](_0xd35342,_0x3b5423);if(!(0x0,_0x600789[_0x1e3021(0x20f)])(_0x1a0c05))throw _0x1a0c05[_0x1e3021(0x40d)];let _0x31b3a3=_0x1a0c05['m2Prime'][0x0][_0x1e3021(0x3c9)][_0x1e3021(0x2fd)];Array[_0x1e3021(0x1df)](_0x31b3a3)&&_0x31b3a3[_0x1e3021(0x231)]&&_0x22b9d1[_0x1e3021(0x2d0)](_0x31b3a3,{'unitId':_0x124374,'subUnitId':_0x124374},!0x1);}};_0x330553=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,_0x600789[_0x339b6f(0x1e6)])],_0x330553);let _0x3a0d44=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x4d3551,_0x55b83a,_0x49d61e,_0x24f92c,_0x17eda3,_0x46d60f,_0x5cf45c,_0x5e5aef){const _0x300022=_0x339b6f;super(),this[_0x300022(0x373)]=_0x4d3551,this[_0x300022(0x17a)]=_0x55b83a,this[_0x300022(0x19e)]=_0x49d61e,this[_0x300022(0x25f)]=_0x24f92c,this[_0x300022(0x1c4)]=_0x17eda3,this[_0x300022(0x290)]=_0x46d60f,this[_0x300022(0x1bb)]=_0x5cf45c,this[_0x300022(0x23e)]=_0x5e5aef,_0x1050e7(this,_0x300022(0x396),new _0x5df150[(_0x300022(0x2ef))](_0x20efb1[_0x300022(0x1c7)][_0x300022(0x153)])),this['_initEntityListener']();}[_0x339b6f(0x32a)](){const _0x1537af=_0x339b6f;this[_0x1537af(0x18c)](this[_0x1537af(0x17a)][_0x1537af(0x232)][_0x1537af(0x3cd)](_0x499291=>{const _0x191c11=_0x1537af;let _0x1ada58=this[_0x191c11(0x373)][_0x191c11(0x16e)][_0x191c11(0x3cd)](_0x22e692=>{const _0xa29cb9=_0x191c11;if(_0x22e692==null)return;let {unitId:_0x25e4a6,redoState:_0x355919,commandId:_0x4d83bf}=_0x22e692;if(_0x25e4a6!==_0x499291[_0xa29cb9(0x310)])return;let _0x5b364a={'id':_0x4d83bf,'type':_0x1d062f['CommandType'][_0xa29cb9(0x400)],'params':{'unitId':_0x25e4a6,'actions':_0x355919[_0xa29cb9(0x210)],'textRanges':null}};_0x499291['onLocalMutation'](_0x5b364a);});_0x499291[_0x191c11(0x18c)](_0x1ada58),_0x499291 instanceof _0x20efb1[_0x191c11(0x28c)]&&_0x499291[_0x191c11(0x342)]({'onTransformIME':_0x3a9e1c=>this['_docTransformIMECacheService'][_0x191c11(0x226)](_0x3a9e1c),'onTransformState':_0x5016b6=>this['_docTransformStateCacheService'][_0x191c11(0x36e)](_0x5016b6),'onTransformSelections':_0x3f489f=>this[_0x191c11(0x1c4)][_0x191c11(0x2ec)](_0x3f489f),'onSyncEditingCollabCursor':_0x311b8a=>this[_0x191c11(0x290)]['syncEditingCollabCursor'](_0x311b8a),'onTransformRemoteChangesetByIMECache':_0x8ef852=>this[_0x191c11(0x19e)][_0x191c11(0x301)](_0x8ef852),'onTransformRemoteChangesetByStateCache':_0x386cfe=>this[_0x191c11(0x25f)][_0x191c11(0x301)](_0x386cfe)});}));}};_0x3a0d44=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1c6b1f[_0x339b6f(0x419)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x275)])),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2f9daa)),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x426fe9)),_0x21c55a(0x4,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x330553)),_0x21c55a(0x5,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x2b1e68)),_0x21c55a(0x6,_0x25f9de[_0x339b6f(0x169)]),_0x21c55a(0x7,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x142)]))],_0x3a0d44);let _0x133a91=class extends _0x1d062f['Disposable']{constructor(_0x4f2ef7,_0x29c3ed,_0x246272,_0x422068){const _0x1e3785=_0x339b6f;super(),this['_injector']=_0x4f2ef7,this[_0x1e3785(0x1c9)]=_0x29c3ed,this[_0x1e3785(0x1dc)]=_0x246272,this[_0x1e3785(0x36f)]=_0x422068,_0x1050e7(this,'_memberID',void 0x0),this[_0x1e3785(0x1ac)]();}[_0x339b6f(0x1ac)](){const _0x1ce168=_0x339b6f;this[_0x1ce168(0x3c3)](),this[_0x1ce168(0x28f)](),this[_0x1ce168(0x2a4)](),this['_initUserListener']();}['_initUserListener'](){const _0x309475=_0x339b6f;this[_0x309475(0x18c)](this['_collaborationSessionService']['socket$']['subscribe'](_0x3056fb=>{const _0x106ba0=_0x309475;this[_0x106ba0(0x38d)]=_0x3056fb==null?void 0x0:_0x3056fb[_0x106ba0(0x227)];}));}['_initWindowErrorListener'](){const _0x3698d9=_0x339b6f;let _0x274490=_0x5d59e0=>{const _0xafe2b0=_0x405a;var _0x774674;this[_0xafe2b0(0x35d)](_0xafe2b0(0x40d),_0xafe2b0(0x156)+_0x5d59e0[_0xafe2b0(0x26a)]+_0xafe2b0(0x37c)+_0x5d59e0[_0xafe2b0(0x276)]+':'+_0x5d59e0[_0xafe2b0(0x143)]+':'+_0x5d59e0[_0xafe2b0(0x1b7)]+'\x0a'+(((_0x774674=_0x5d59e0['error'])==null?void 0x0:_0x774674['stack'])||''));};window[_0x3698d9(0x308)](_0x3698d9(0x40d),_0x274490),this[_0x3698d9(0x18c)](()=>{const _0x13d66b=_0x3698d9;window['removeEventListener'](_0x13d66b(0x40d),_0x274490);});}[_0x339b6f(0x28f)](){const _0x397889=_0x339b6f;let _0x3c52eb=_0x418a8a=>{const _0x3983ff=_0x405a;this['_uploadLog'](_0x3983ff(0x40d),_0x3983ff(0x223)+_0x418a8a[_0x3983ff(0x238)]);};window['addEventListener'](_0x397889(0x186),_0x3c52eb),this[_0x397889(0x18c)](()=>{window['removeEventListener']('unhandledrejection',_0x3c52eb);});}['_monkeyPatchLogService'](){const _0x2d8a4c=_0x339b6f;let _0x36803a=this[_0x2d8a4c(0x1dc)]['error'][_0x2d8a4c(0x2b9)](this['_logService']);this[_0x2d8a4c(0x1dc)][_0x2d8a4c(0x40d)]=(..._0x42bbb2)=>{const _0xf54ba0=_0x2d8a4c;let _0x4af86a=_0x42bbb2['map'](_0x2307ab=>_0x2307ab instanceof Error?_0x2307ab['message']+'\x0a'+_0x2307ab['stack']:String(_0x2307ab))[_0xf54ba0(0x179)]('\x20');this[_0xf54ba0(0x35d)](_0xf54ba0(0x40d),_0xf54ba0(0x14c)+_0x4af86a),_0x36803a(..._0x42bbb2);},this[_0x2d8a4c(0x18c)](()=>{const _0x85405d=_0x2d8a4c;this[_0x85405d(0x1dc)]['error']=_0x36803a;});}[_0x339b6f(0x35d)](_0x27fe6c,_0x1066b8){const _0xae86ce=_0x339b6f;try{let _0x2f9a91={'userId':this['_memberID'],'logLabel':_0x27fe6c,'content':_0x1066b8};this[_0xae86ce(0x1c9)][_0xae86ce(0x316)](_0xae86ce(0x322),{'body':_0x2f9a91})['catch'](()=>{});}catch{}}};_0x133a91=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x20efb1[_0x339b6f(0x2c2)]))],_0x133a91);function _0x17896e(_0xfb011e){const _0x3197ca=_0x339b6f;var _0x49ce74,_0x1f3606;let _0x57f78e=(_0x49ce74=_0xfb011e['stageInfo'])==null?void 0x0:_0x49ce74[_0x3197ca(0x218)],_0x3c1ec6=((_0x1f3606=_0xfb011e[_0x3197ca(0x212)])==null?void 0x0:_0x1f3606[_0x3197ca(0x39b)])||0x0;return _0x57f78e===_0x4f0b10[_0x3197ca(0x307)][_0x3197ca(0x425)]&&_0x3c1ec6>0x0;}function _0x5a7335(_0x3f5daf){const _0x3d4c3f=_0x339b6f;return _0x3f5daf[_0x3d4c3f(0x16d)]===_0x4f0b10['FormulaExecutedStateType'][_0x3d4c3f(0x1d1)];}let _0x21999d=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x30a0b3,_0x55ebcc,_0x3a59fd,_0x19214a,_0x14de31,_0x2923c0,_0x1aa21d){const _0x541a86=_0x339b6f;super(),this[_0x541a86(0x1bb)]=_0x30a0b3,this['_commandService']=_0x55ebcc,this[_0x541a86(0x3c6)]=_0x3a59fd,this[_0x541a86(0x1c9)]=_0x19214a,this[_0x541a86(0x30f)]=_0x14de31,this[_0x541a86(0x1dc)]=_0x2923c0,this[_0x541a86(0x23e)]=_0x1aa21d,_0x1050e7(this,_0x541a86(0x3f4),null),_0x1050e7(this,'_maxFormulaLimit',0x0),_0x1050e7(this,_0x541a86(0x2d8),0x0),_0x1050e7(this,_0x541a86(0x147),[]),_0x1050e7(this,_0x541a86(0x27b),0x0),this[_0x541a86(0x2db)]();}[_0x339b6f(0x2db)](){const _0xbfe04f=_0x339b6f;this['disposeWithMe'](this[_0xbfe04f(0x3a4)][_0xbfe04f(0x3b5)]((_0xc26415,_0x428a76)=>{const _0x2e75e9=_0xbfe04f;var _0x3f751a;if(_0xc26415['id']!==_0x4f0b10[_0x2e75e9(0x14a)]['id'])return;let _0xd83a07=_0xc26415[_0x2e75e9(0x3c9)];if(this[_0x2e75e9(0x2bc)]((_0x3f751a=_0xd83a07['dirtyRanges'])==null?[]:_0x3f751a)&&!this[_0x2e75e9(0x16b)]())throw this[_0x2e75e9(0x146)](_0xc26415,_0x428a76),this[_0x2e75e9(0x3e1)](),new _0x1d062f[(_0x2e75e9(0x20a))]();})),this[_0xbfe04f(0x18c)](this[_0xbfe04f(0x3a4)][_0xbfe04f(0x1b0)]((_0x1e0401,_0x28bf6c)=>{const _0x19148e=_0xbfe04f;if(_0x1e0401['id']!==_0x4f0b10[_0x19148e(0x1ae)]['id'])return;let _0x4078f4=_0x1e0401['params'];if(_0x17896e(_0x4078f4)){let _0x30277b=(0x0,_0x1d062f[_0x19148e(0x409)])();this[_0x19148e(0x147)][_0x19148e(0x411)](_0x30277b),this[_0x19148e(0x3bb)](_0x30277b);}else{if(_0x5a7335(_0x4078f4)&&this[_0x19148e(0x147)][_0x19148e(0x231)]>0x0){let _0x50360f=this[_0x19148e(0x147)][_0x19148e(0x35f)]();this[_0x19148e(0x182)](_0x50360f);}}}));}['dispose'](){const _0xd414e=_0x339b6f;super['dispose'](),this[_0xd414e(0x3d5)](),this[_0xd414e(0x147)]=[],this[_0xd414e(0x2d8)]=0x0,this[_0xd414e(0x323)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x390f1b,_0x3b5382){const _0xa7b8ec=_0x339b6f;for(let _0x11e5a1=0x0;_0x11e5a1<0x1e;_0x11e5a1++)try{if(await this[_0xa7b8ec(0x3e3)](),this[_0xa7b8ec(0x16b)]()){this[_0xa7b8ec(0x34e)](_0x390f1b,_0x3b5382),this[_0xa7b8ec(0x1bb)][_0xa7b8ec(0x1e3)]({'content':this[_0xa7b8ec(0x23e)]['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x36848a[_0xa7b8ec(0x1f7)][_0xa7b8ec(0x1f9)]});return;}await new Promise(_0x4e3076=>{const _0x4f5742=_0xa7b8ec;this[_0x4f5742(0x3f4)]=window[_0x4f5742(0x289)](_0x4e3076,0x3e8);});}catch(_0x35adf5){this[_0xa7b8ec(0x1dc)][_0xa7b8ec(0x40d)](_0x35adf5);}this[_0xa7b8ec(0x1bb)][_0xa7b8ec(0x1e3)]({'content':this[_0xa7b8ec(0x23e)]['t'](_0xa7b8ec(0x420)),'type':_0x36848a[_0xa7b8ec(0x1f7)]['Error']});}[_0x339b6f(0x34e)](_0x50289c,_0x515fcd){const _0xdc331e=_0x339b6f;try{this[_0xdc331e(0x3a4)]['executeCommand'](_0x50289c['id'],_0x50289c[_0xdc331e(0x3c9)],_0x515fcd);}catch(_0x5781db){this[_0xdc331e(0x1dc)][_0xdc331e(0x40d)](_0x5781db);}}[_0x339b6f(0x3ec)](_0x576e10,_0x2b5826){const _0x59959a=_0x339b6f;_0x2b5826<this[_0x59959a(0x27b)]||(this[_0x59959a(0x27b)]=_0x2b5826,this[_0x59959a(0x323)]=Number['parseInt'](_0x576e10['maxFormulaLimit']),this[_0x59959a(0x2d8)]=Number['parseInt'](_0x576e10['currentUsage']));}async[_0x339b6f(0x3bb)](_0x573beb){const _0x3e4852=_0x339b6f;let _0x5dabb5=Date['now']();try{var _0x294206,_0x67fa1d;let _0x5ea973=((_0x294206=this[_0x3e4852(0x3c6)]['getConfig'](_0x20efb1[_0x3e4852(0x371)]))==null?void 0x0:_0x294206[_0x3e4852(0x269)])||_0x3e4852(0x174),_0x3f9928=(await this['_httpService'][_0x3e4852(0x316)](_0x5ea973,{'body':JSON[_0x3e4852(0x145)]({'taskId':_0x573beb})}))[_0x3e4852(0x1d2)];if(((_0x67fa1d=_0x3f9928['error'])==null?void 0x0:_0x67fa1d[_0x3e4852(0x3bd)])!==_0x3c5971[_0x3e4852(0x363)]['OK'])return;this[_0x3e4852(0x3ec)](_0x3f9928[_0x3e4852(0x1fa)],_0x5dabb5);}catch(_0x12de09){this[_0x3e4852(0x1dc)][_0x3e4852(0x40d)](_0x12de09);}}async[_0x339b6f(0x3e3)](_0x3ee990){const _0x145f6c=_0x339b6f;let _0x2d030c=Date[_0x145f6c(0x2bd)]();try{var _0x3e14ff,_0x2b7697;let _0x3e3cdd=((_0x3e14ff=this[_0x145f6c(0x3c6)][_0x145f6c(0x302)](_0x20efb1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3e14ff[_0x145f6c(0x172)])||_0x145f6c(0x21c),_0x329c79=_0x3ee990?_0x3e3cdd+_0x145f6c(0x1db)+encodeURIComponent(_0x3ee990):_0x3e3cdd,_0xa3e691=(await this[_0x145f6c(0x1c9)]['get'](_0x329c79))['body'];if(((_0x2b7697=_0xa3e691['error'])==null?void 0x0:_0x2b7697['code'])!==_0x3c5971['ErrorCode']['OK'])return;this[_0x145f6c(0x3ec)](_0xa3e691['limitInfo'],_0x2d030c);}catch(_0x422d86){this['_logService'][_0x145f6c(0x40d)](_0x422d86);}}async['_releaseCalculationLimit'](_0x21580d){const _0x35351e=_0x339b6f;let _0x36d994=Date[_0x35351e(0x2bd)]();try{var _0x3f794f,_0x37d715;let _0x2b4d27=((_0x3f794f=this['_configService'][_0x35351e(0x302)](_0x20efb1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3f794f['releaseFormulaLimitUrl'])||_0x35351e(0x328),_0x452eb3=(await this[_0x35351e(0x1c9)][_0x35351e(0x316)](_0x2b4d27,{'body':JSON[_0x35351e(0x145)]({'taskId':_0x21580d})}))[_0x35351e(0x1d2)];if(((_0x37d715=_0x452eb3[_0x35351e(0x40d)])==null?void 0x0:_0x37d715[_0x35351e(0x3bd)])!==_0x3c5971[_0x35351e(0x363)]['OK'])return;this[_0x35351e(0x3ec)](_0x452eb3[_0x35351e(0x1fa)],_0x36d994);}catch(_0x485fb2){this[_0x35351e(0x1dc)][_0x35351e(0x40d)](_0x485fb2);}}[_0x339b6f(0x16b)](){const _0x3ea46e=_0x339b6f;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3ea46e(0x323)]-this[_0x3ea46e(0x2d8)]>0x0;}['_clearPolling'](){const _0x353f22=_0x339b6f;this[_0x353f22(0x3f4)]&&(clearTimeout(this[_0x353f22(0x3f4)]),this['_pollingInterval']=null);}[_0x339b6f(0x3e1)](){const _0x488816=_0x339b6f;this[_0x488816(0x1bb)][_0x488816(0x1e3)]({'content':this[_0x488816(0x23e)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x36848a['MessageType'][_0x488816(0x331)]});}['_hasFormulaInDirtyRanges'](_0xa44bb7){const _0x1fe6cf=_0x339b6f;for(let _0x13c7af of _0xa44bb7){let {unitId:_0x4f2220,sheetId:_0x3da177,range:_0xaf59d6}=_0x13c7af,_0x169b36=this[_0x1fe6cf(0x30f)]['getUnit'](_0x4f2220);if(!_0x169b36)continue;let _0x2a0af4=_0x169b36[_0x1fe6cf(0x3a2)](_0x3da177);if(!_0x2a0af4)continue;let _0x40b502=_0x2a0af4['getCellMatrix']();for(let _0x548f29=_0xaf59d6[_0x1fe6cf(0x284)];_0x548f29<=_0xaf59d6[_0x1fe6cf(0x31c)];_0x548f29++)for(let _0xb8748d=_0xaf59d6[_0x1fe6cf(0x19c)];_0xb8748d<=_0xaf59d6[_0x1fe6cf(0x3bc)];_0xb8748d++){let _0x1cf628=_0x40b502[_0x1fe6cf(0x359)](_0x548f29,_0xb8748d);if(_0x1cf628&&((0x0,_0x1d062f[_0x1fe6cf(0x365)])(_0x1cf628['f'])||(0x0,_0x1d062f[_0x1fe6cf(0x3e5)])(_0x1cf628['si'])))return!0x0;}}return!0x1;}};_0x21999d=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x25f9de[_0x339b6f(0x169)])),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x2a0)]),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x3,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x4,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x5,_0x1d062f['ILogService']),_0x21c55a(0x6,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x142)]))],_0x21999d);let _0x4e1f85=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x40be25,_0x41b3f6,_0x81d36e){const _0x1697ae=_0x339b6f;super(),this[_0x1697ae(0x3c6)]=_0x40be25,this['_localStorageService']=_0x41b3f6,this[_0x1697ae(0x258)]=_0x81d36e,_0x1050e7(this,_0x1697ae(0x2f4),new Map()),_0x1050e7(this,_0x1697ae(0x162),new Map()),_0x1050e7(this,_0x1697ae(0x2dc),!0x1);}[_0x339b6f(0x3f1)](){const _0x258f87=_0x339b6f;this[_0x258f87(0x2dc)]=!0x0;}['enableLocalCache'](){const _0x296eee=_0x339b6f;this[_0x296eee(0x2dc)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x339b6f(0x39e)](){const _0x3b42ce=_0x339b6f;this[_0x3b42ce(0x255)]()['then'](()=>super[_0x3b42ce(0x39e)]());}async[_0x339b6f(0x157)](_0x4f5397){const _0x4573d5=_0x339b6f;return this[_0x4573d5(0x2dc)]?null:this[_0x4573d5(0x320)][_0x4573d5(0x2e8)]((0x0,_0x20efb1['getLocalCacheKey'])(_0x4f5397));}async[_0x339b6f(0x1a8)](_0x3bc5db,_0x325d69){const _0x293bc2=_0x339b6f;return!!this[_0x293bc2(0x320)]['setItem'](_0x3bc5db,_0x325d69);}['updateOfflineData'](_0x482b61,_0x4d8a2e,_0x21323b,_0x2b5610){const _0x6a839f=_0x339b6f;let _0x454a52=this[_0x6a839f(0x258)]['getCurrentRevOfUnit'](_0x482b61);this['_cachedData'][_0x6a839f(0x3e7)](_0x482b61,{'unitID':_0x482b61,'type':_0x4d8a2e,'awaitingChangeset':_0x21323b,'mutations':_0x2b5610,'rev':_0x454a52}),this['_saveTaskMap'][_0x6a839f(0x377)](_0x482b61)||this[_0x6a839f(0x3ef)](_0x482b61);}['_scheduleSaving'](_0x58979e){const _0x5391d4=_0x339b6f;let _0x222a48=this[_0x5391d4(0x3df)]();_0x222a48===0x0?this[_0x5391d4(0x41d)](_0x58979e):this[_0x5391d4(0x162)][_0x5391d4(0x3e7)](_0x58979e,setTimeout(()=>this[_0x5391d4(0x41d)](_0x58979e),_0x222a48));}[_0x339b6f(0x3df)](){const _0x20bb51=_0x339b6f;var _0x27bd96;return(_0x27bd96=this[_0x20bb51(0x3c6)][_0x20bb51(0x302)](_0x20efb1[_0x20bb51(0x1ab)]))==null?_0x20efb1[_0x20bb51(0x29d)]:_0x27bd96;}[_0x339b6f(0x41d)](_0x2e3e75){const _0x1a1b7e=_0x339b6f;let _0x1737cd=this['_saveTaskMap'][_0x1a1b7e(0x3fe)](_0x2e3e75);return _0x1737cd!==void 0x0&&window[_0x1a1b7e(0x3a1)](_0x1737cd),this[_0x1a1b7e(0x320)][_0x1a1b7e(0x349)]((0x0,_0x20efb1[_0x1a1b7e(0x3d7)])(_0x2e3e75),this[_0x1a1b7e(0x2f4)][_0x1a1b7e(0x3fe)](_0x2e3e75))[_0x1a1b7e(0x3f8)](()=>this[_0x1a1b7e(0x162)][_0x1a1b7e(0x229)](_0x2e3e75));}async[_0x339b6f(0x255)](){const _0x1f3270=_0x339b6f;let _0x139d1a=[];this['_saveTaskMap'][_0x1f3270(0x159)]((_0xf8f7ac,_0xd565f7)=>{const _0x21add5=_0x1f3270;window[_0x21add5(0x3a1)](_0xf8f7ac),_0x139d1a['push'](this[_0x21add5(0x41d)](_0xd565f7)[_0x21add5(0x3f8)](()=>{const _0x1f9ec6=_0x21add5;this[_0x1f9ec6(0x162)][_0x1f9ec6(0x229)](_0xd565f7);}));}),await Promise[_0x1f3270(0x41b)](_0x139d1a);}};_0x4e1f85=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x1,_0x1d062f[_0x339b6f(0x194)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x600789['RevisionService']))],_0x4e1f85);var _0x5af43f=class extends _0x1d062f[_0x339b6f(0x36d)]{constructor(){const _0x4e9cec=_0x339b6f;super(),_0x1050e7(this,_0x4e9cec(0x2b2),void 0x0),this[_0x4e9cec(0x2b2)]=(0x0,_0x5df150[_0x4e9cec(0x1b2)])(window,_0x4e9cec(0x2e9))[_0x4e9cec(0x300)]((0x0,_0x5df150[_0x4e9cec(0x154)])(this[_0x4e9cec(0x23c)]),(0x0,_0x5df150['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5df150['mapTo'])(void 0x0));}[_0x339b6f(0x40b)](_0x24d715,_0x532df0,_0x7906d1=!0x1){const _0x2a020d=_0x339b6f;let _0x3ae342=new URL(window[_0x2a020d(0x25a)][_0x2a020d(0x3cc)]);_0x3ae342[_0x2a020d(0x1d5)]['set'](_0x24d715,_0x532df0),_0x7906d1?window[_0x2a020d(0x298)][_0x2a020d(0x29c)]('','',_0x3ae342['toString']()):window[_0x2a020d(0x298)]['pushState']('','',_0x3ae342[_0x2a020d(0x37a)]());}[_0x339b6f(0x1a9)](_0x10c93f,_0xb876c4=!0x1){const _0x8f7c21=_0x339b6f;let _0x22e2cc=new URL(window[_0x8f7c21(0x25a)][_0x8f7c21(0x3cc)]);_0x22e2cc[_0x8f7c21(0x1d5)]['delete'](_0x10c93f),_0xb876c4?window[_0x8f7c21(0x298)][_0x8f7c21(0x29c)]('','',_0x22e2cc['toString']()):window[_0x8f7c21(0x298)][_0x8f7c21(0x2cb)]('','',_0x22e2cc[_0x8f7c21(0x37a)]());}[_0x339b6f(0x2c4)](_0x58cbb6){const _0x549918=_0x339b6f;var _0x3acb4c;return(_0x3acb4c=new URL(window['location'][_0x549918(0x3cc)])[_0x549918(0x1d5)]['get'](_0x58cbb6))==null?void 0x0:_0x3acb4c;}};let _0x1034bb=class extends _0x1d062f[_0x339b6f(0x1c3)]{constructor(_0x510131=_0x5f31b3,_0x4fe85b,_0x56ac43,_0x3c2cbe){const _0x57bd53=_0x339b6f;super(),this[_0x57bd53(0x28a)]=_0x510131,this[_0x57bd53(0x2e0)]=_0x4fe85b,this[_0x57bd53(0x405)]=_0x56ac43,this['_configService']=_0x3c2cbe;let {..._0x104912}=(0x0,_0x1d062f[_0x57bd53(0x17d)])({},_0x5f31b3,this[_0x57bd53(0x28a)]);this[_0x57bd53(0x3c6)][_0x57bd53(0x36a)]('collaboration-client-ui.config',_0x104912);}[_0x339b6f(0x280)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x339b6f(0x2c3)](){const _0x12ec53=_0x339b6f;this[_0x12ec53(0x286)]();}['_registerDependencies'](){const _0x2c820e=_0x339b6f;var _0x3ddf31;let _0x258ac9=[[_0x47fa48],[_0x21999d],[_0x330553],[_0x2f9daa],[_0x426fe9],[_0x2b1e68],[_0x388e4a,{'useClass':_0x5af43f}],[_0x287543[_0x2c820e(0x140)],{'useClass':_0x287543[_0x2c820e(0x3d1)]}],[_0x20efb1[_0x2c820e(0x2a5)],{'useClass':_0x4e1f85}],[_0x22b7f5],[_0x3a0d44],[_0x1e8c36],[_0xe35be2],[_0x57c67b],[_0x8bd3ea]];this['_config'][_0x2c820e(0x2c9)]&&_0x258ac9[_0x2c820e(0x411)]([_0x133a91]),(0x0,_0x1d062f[_0x2c820e(0x18a)])(this[_0x2c820e(0x405)],(0x0,_0x1d062f[_0x2c820e(0x1ba)])(_0x258ac9,(_0x3ddf31=this[_0x2c820e(0x28a)])==null?void 0x0:_0x3ddf31[_0x2c820e(0x20e)]));}[_0x339b6f(0x286)](){const _0x290e17=_0x339b6f;this[_0x290e17(0x18c)](this[_0x290e17(0x2e0)][_0x290e17(0x291)](_0x1d062f[_0x290e17(0x397)]['UNIVER_DOC'],[_0x1993ee])),this[_0x290e17(0x18c)](this['_renderManagerService'][_0x290e17(0x291)](_0x1d062f['UniverInstanceType'][_0x290e17(0x16f)],[_0x4439c2]));}['_initDependencies'](){const _0x3e2b75=_0x339b6f;(0x0,_0x1d062f['touchDependencies'])(this['_injector'],[[_0xe35be2],[_0x22b7f5],[_0x3a0d44],[_0x1e8c36],[_0x8bd3ea],[_0x21999d],[_0x57c67b]]),this[_0x3e2b75(0x28a)][_0x3e2b75(0x2c9)]&&(0x0,_0x1d062f[_0x3e2b75(0x333)])(this['_injector'],[[_0x133a91]]);}};_0x1050e7(_0x1034bb,_0x339b6f(0x16c),_0x339b6f(0x3d3)),_0x1050e7(_0x1034bb,'packageName',_0x5cf5d0),_0x1050e7(_0x1034bb,'version',_0x57d268),_0x1034bb=_0x8db4f3([(0x0,_0x1d062f[_0x339b6f(0x406)])(_0x20efb1[_0x339b6f(0x24a)]),_0x21c55a(0x1,_0xc630f2[_0x339b6f(0x372)]),_0x21c55a(0x2,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x3,_0x1d062f['IConfigService'])],_0x1034bb);let _0x272630=class extends _0x20efb1[_0x339b6f(0x13e)]{constructor(_0x34ae52,_0x1dccbf,_0x479aff,_0x78ff83,_0x42a52a){super(_0x34ae52,_0x1dccbf,_0x479aff,_0x78ff83,_0x42a52a);}async['createSocket'](_0x41ecea){const _0x103502=_0x339b6f;let _0x5708db=await this[_0x103502(0x382)](),_0x1d3f80=this[_0x103502(0x410)](_0x41ecea,_0x5708db);return this[_0x103502(0x404)](_0x1d3f80);}[_0x339b6f(0x410)](_0x31dbc4,_0x5fe916){const _0x151b2a=_0x339b6f;let _0x37c2c9=typeof window>'u'?new URL(_0x31dbc4):new URL(_0x31dbc4,window['location'][_0x151b2a(0x1be)]);_0x37c2c9['searchParams'][_0x151b2a(0x3e7)](_0x151b2a(0x3c4),_0x5fe916);let _0x4c6049=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x151b2a(0x1d4)]);return _0x4c6049[_0x151b2a(0x3fe)]('runId')&&_0x37c2c9[_0x151b2a(0x1d5)][_0x151b2a(0x3e7)](_0x151b2a(0x18f),_0x4c6049['get'](_0x151b2a(0x18f))),_0x37c2c9[_0x151b2a(0x37a)]();}async[_0x339b6f(0x382)](){const _0x4a5a91=_0x339b6f;var _0x3922eb,_0x3fe6b7,_0x2a1109;let _0x3a0bfe=this[_0x4a5a91(0x3c6)][_0x4a5a91(0x302)](_0x20efb1[_0x4a5a91(0x371)]),_0x43c228=(_0x3922eb=_0x3a0bfe==null?void 0x0:_0x3a0bfe[_0x4a5a91(0x15f)])==null?_0x20efb1[_0x4a5a91(0x28e)]:_0x3922eb;return(_0x3fe6b7=(_0x2a1109=(await this[_0x4a5a91(0x1c9)][_0x4a5a91(0x3fe)](_0x43c228,{'headers':{'Content-Type':_0x4a5a91(0x22d)}}))[_0x4a5a91(0x1d2)])==null?void 0x0:_0x2a1109[_0x4a5a91(0x151)])==null?'':_0x3fe6b7;}};_0x272630=_0x8db4f3([_0x21c55a(0x0,(0x0,_0x1d062f['Inject'])(_0x1d062f[_0x339b6f(0x29a)])),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)]),_0x21c55a(0x3,_0x1d062f[_0x339b6f(0x408)]),_0x21c55a(0x4,_0x600789[_0x339b6f(0x13f)])],_0x272630);let _0x264939=class extends _0x1d062f[_0x339b6f(0x339)]{constructor(_0x78d6b8,_0x59c109,_0x5ea0f9){const _0x2acd9f=_0x339b6f;super(),this[_0x2acd9f(0x3e4)]=_0x78d6b8,this[_0x2acd9f(0x1c9)]=_0x59c109,this[_0x2acd9f(0x3c6)]=_0x5ea0f9;}async[_0x339b6f(0x1e2)](_0x20db91,_0x3b491e,_0xb436de,..._0x3ddf4e){const _0x4ab4a9=_0x339b6f;var _0x383e2d,_0x49d2bb,_0x4ab72f,_0x153b2a;let _0x3859d7=this['_instanceService'][_0x4ab4a9(0x32d)]();if(!_0x3859d7)throw Error(_0x4ab4a9(0x2c1));let _0x229bb9=((_0x383e2d=this[_0x4ab4a9(0x3c6)][_0x4ab4a9(0x302)](_0x20efb1[_0x4ab4a9(0x41e)]))==null?_0x20efb1['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x383e2d)+'/'+_0x20db91+_0x4ab4a9(0x37e)+_0x3b491e,_0x3a8c20={'scriptId':_0x20db91,'runId':(_0x49d2bb=new URL(window['location']['href'])[_0x4ab4a9(0x1d5)][_0x4ab4a9(0x3fe)](_0x4ab4a9(0x18f)))==null?'':_0x49d2bb,'function':_0x3b491e,'unitId':_0x3859d7[_0x4ab4a9(0x2c0)](),'argsOfFunction':JSON['stringify'](_0x3ddf4e),'invokeId':(_0x4ab72f=_0xb436de[_0x4ab4a9(0x317)])==null?'':_0x4ab72f,'executionId':(_0x153b2a=_0xb436de['executionId'])==null?'':_0x153b2a};try{let _0x479385=await this[_0x4ab4a9(0x1c9)][_0x4ab4a9(0x316)](_0x229bb9,{'body':_0x3a8c20});return _0x479385[_0x4ab4a9(0x1d2)][_0x4ab4a9(0x40d)]&&_0x479385[_0x4ab4a9(0x1d2)][_0x4ab4a9(0x40d)][_0x4ab4a9(0x3bd)]!==_0x3c5971[_0x4ab4a9(0x363)]['OK']?'Failed':_0x479385[_0x4ab4a9(0x1d2)]['result'];}catch{return _0x4ab4a9(0x3c8);}}};_0x264939=_0x8db4f3([_0x21c55a(0x0,_0x1d062f[_0x339b6f(0x19f)]),_0x21c55a(0x1,(0x0,_0x1d062f[_0x339b6f(0x267)])(_0x287543[_0x339b6f(0x200)])),_0x21c55a(0x2,_0x1d062f[_0x339b6f(0x2c5)])],_0x264939);let _0x892552=0x7530,_0x45da45='ACTIVE_UNIT_EVENT_CHANNEL';var _0x37c832=class extends _0x1d062f['Disposable']{constructor(){const _0xb8a7b8=_0x339b6f;super(),_0x1050e7(this,'_id',(0x0,_0x1d062f[_0xb8a7b8(0x409)])()),_0x1050e7(this,_0xb8a7b8(0x1f3),new Set()),_0x1050e7(this,'_unitOnClients',new Map()),_0x1050e7(this,_0xb8a7b8(0x203),null),_0x1050e7(this,_0xb8a7b8(0x347),new Map()),_0x1050e7(this,_0xb8a7b8(0x33a),new Map()),this[_0xb8a7b8(0x1ac)]();}[_0x339b6f(0x39e)](){const _0x5b3f01=_0x339b6f;super[_0x5b3f01(0x39e)](),this['_clearOtherTimers']['forEach']((_0x59f2cd,_0x73fe19)=>this[_0x5b3f01(0x3ad)](_0x73fe19)),this[_0x5b3f01(0x203)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x26d66c){const _0x4504a4=_0x339b6f;return this[_0x4504a4(0x170)](_0x26d66c)['pipe']((0x0,_0x5df150[_0x4504a4(0x41a)])());}[_0x339b6f(0x1b1)](_0x3eebfb){const _0x4e406e=_0x339b6f;this[_0x4e406e(0x1f3)][_0x4e406e(0x3ea)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e406e(0x1f3)][_0x4e406e(0x30e)](_0x3eebfb),this[_0x4e406e(0x1ad)]({'type':0x0,'memberID':this[_0x4e406e(0x3fd)],'unitIDs':[_0x3eebfb],'isForwarded':!0x1});}[_0x339b6f(0x2ab)](_0x4ed507){const _0x1f72ba=_0x339b6f;this[_0x1f72ba(0x1f3)][_0x1f72ba(0x229)](_0x4ed507),this[_0x1f72ba(0x1f3)][_0x1f72ba(0x3ea)]===0x0&&this[_0x1f72ba(0x203)]&&window[_0x1f72ba(0x3c7)](this[_0x1f72ba(0x203)]);}[_0x339b6f(0x1ac)](){const _0x63c9f7=_0x339b6f;this[_0x63c9f7(0x18c)]((0x0,_0x1d062f['toDisposable'])((0x0,_0x5df150[_0x63c9f7(0x1b2)])(window,_0x63c9f7(0x256))[_0x63c9f7(0x3cd)](_0x1092af=>{const _0x48a88e=_0x63c9f7;if(_0x1092af['key']!==_0x45da45||!_0x1092af[_0x48a88e(0x1ef)])return;let _0x51d47a=JSON[_0x48a88e(0x38b)](_0x1092af[_0x48a88e(0x1ef)]);this['_handleEvent'](_0x51d47a);}))),window[_0x63c9f7(0x308)](_0x63c9f7(0x144),()=>this[_0x63c9f7(0x1ad)]({'type':0x1,'memberID':this[_0x63c9f7(0x3fd)],'unitIDs':Array[_0x63c9f7(0x324)](this['_selfUnitIDs'])}));}[_0x339b6f(0x3f5)](_0x136b73){const _0x2c96be=_0x339b6f;switch(_0x136b73[_0x2c96be(0x1f8)]){case 0x0:this['_handleJoinEvent'](_0x136b73);break;case 0x1:this[_0x2c96be(0x3e8)](_0x136b73);break;case 0x2:this[_0x2c96be(0x1a5)](_0x136b73);break;}}[_0x339b6f(0x2f2)](_0x4d85b7){const _0x154e0d=_0x339b6f;let {unitIDs:_0x38e7d1,memberID:_0x29262d,isForwarded:_0x58e6fa}=_0x4d85b7;_0x38e7d1[_0x154e0d(0x159)](_0x4c1d9a=>{const _0x37d5a2=_0x154e0d;if(!_0x58e6fa&&this[_0x37d5a2(0x3aa)]['has'](_0x4c1d9a)&&this[_0x37d5a2(0x170)](_0x4c1d9a)[_0x37d5a2(0x1c8)](_0x20efb1[_0x37d5a2(0x30a)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x37d5a2(0x377)](_0x4c1d9a)||!this['_unitOnClients'][_0x37d5a2(0x3fe)](_0x4c1d9a)[_0x37d5a2(0x377)](_0x29262d)){let _0x3f27b1=this['_unitOnClients'][_0x37d5a2(0x3fe)](_0x4c1d9a)||new Set();_0x3f27b1[_0x37d5a2(0x30e)](_0x29262d),this[_0x37d5a2(0x3aa)]['set'](_0x4c1d9a,_0x3f27b1),this[_0x37d5a2(0x3a5)](_0x29262d);}}),_0x58e6fa||this['_send']({'type':0x0,'memberID':this[_0x154e0d(0x3fd)],'unitIDs':[...this[_0x154e0d(0x1f3)]],'isForwarded':!0x0});}[_0x339b6f(0x3a5)](_0x3ff0be){const _0x252997=_0x339b6f;this[_0x252997(0x3ad)](_0x3ff0be);let _0x4b5d6d=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x30959a=>{const _0x1db19f=_0x405a;_0x30959a[_0x1db19f(0x229)](_0x3ff0be);});},_0x892552*0x2);this['_clearOtherTimers'][_0x252997(0x3e7)](_0x3ff0be,_0x4b5d6d);}['_removeClearOtherTimer'](_0x2e04f2){const _0x2eaa34=_0x339b6f;if(this[_0x2eaa34(0x347)]['has'](_0x2e04f2)){let _0x3721b4=this[_0x2eaa34(0x347)][_0x2eaa34(0x3fe)](_0x2e04f2);_0x3721b4&&window['clearTimeout'](_0x3721b4),this[_0x2eaa34(0x347)][_0x2eaa34(0x3e7)](_0x2e04f2,null);}}[_0x339b6f(0x3e8)](_0x213d5b){let {memberID:_0x3bb102,unitIDs:_0x514b85}=_0x213d5b;_0x514b85['forEach'](_0x148de8=>{const _0x39fbcb=_0x405a;var _0x27b79f;let _0x4303b4=this[_0x39fbcb(0x3aa)][_0x39fbcb(0x3fe)](_0x148de8);_0x4303b4&&(_0x4303b4[_0x39fbcb(0x229)](_0x3bb102),(_0x27b79f=this[_0x39fbcb(0x170)](_0x148de8))==null||_0x27b79f[_0x39fbcb(0x1c8)](_0x4303b4[_0x39fbcb(0x3ea)]===0x0?_0x20efb1['UnitStatus'][_0x39fbcb(0x181)]:_0x20efb1[_0x39fbcb(0x30a)][_0x39fbcb(0x376)]));}),this['_removeClearOtherTimer'](_0x3bb102);}['_handleHeartbeatEvent'](_0x435986){const _0x3950e1=_0x339b6f;this[_0x3950e1(0x3a5)](_0x435986[_0x3950e1(0x227)]);}[_0x339b6f(0x1ad)](_0x17120c){const _0x191d1c=_0x339b6f;localStorage[_0x191d1c(0x349)](_0x45da45,JSON['stringify'](_0x17120c));}[_0x339b6f(0x26f)](){const _0x59135f=_0x339b6f;this[_0x59135f(0x203)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x892552);}['_ensureSubject'](_0x3c1f12){const _0x46dcb6=_0x339b6f;return this['_unitStatus'][_0x46dcb6(0x377)](_0x3c1f12)||this[_0x46dcb6(0x33a)][_0x46dcb6(0x3e7)](_0x3c1f12,new _0x5df150['BehaviorSubject'](_0x20efb1[_0x46dcb6(0x30a)][_0x46dcb6(0x181)])),this['_unitStatus'][_0x46dcb6(0x3fe)](_0x3c1f12);}};Object['defineProperty'](_0x2f94b9,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x272630;}}),Object[_0x339b6f(0x3b9)](_0x2f94b9,'CollaborationDataLoaderController',{'enumerable':!0x0,'get':function(){return _0x8bd3ea;}}),Object[_0x339b6f(0x3b9)](_0x2f94b9,_0x339b6f(0x1e0),{'enumerable':!0x0,'get':function(){return _0x22b7f5;}}),_0x2f94b9[_0x339b6f(0x23a)]=_0x388e4a,Object[_0x339b6f(0x3b9)](_0x2f94b9,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x264939;}}),_0x2f94b9[_0x339b6f(0x33d)]=_0x56d40a,Object[_0x339b6f(0x3b9)](_0x2f94b9,_0x339b6f(0x1b4),{'enumerable':!0x0,'get':function(){return _0x1034bb;}}),_0x2f94b9[_0x339b6f(0x35e)]=_0x37c832,_0x2f94b9[_0x339b6f(0x2b7)]=_0x5af43f;}));
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
(function(
|
|
11
|
+
(function(_0x22b8de,_0x2babc2){var _0x5e3977=_0x2f1f,_0x5ee611=_0x22b8de();while(!![]){try{var _0x228ff5=-parseInt(_0x5e3977(0x158))/0x1*(-parseInt(_0x5e3977(0x15f))/0x2)+parseInt(_0x5e3977(0x15c))/0x3+-parseInt(_0x5e3977(0x167))/0x4+parseInt(_0x5e3977(0x159))/0x5*(-parseInt(_0x5e3977(0x161))/0x6)+-parseInt(_0x5e3977(0x157))/0x7*(parseInt(_0x5e3977(0x16a))/0x8)+parseInt(_0x5e3977(0x166))/0x9*(parseInt(_0x5e3977(0x16b))/0xa)+parseInt(_0x5e3977(0x165))/0xb*(-parseInt(_0x5e3977(0x15e))/0xc);if(_0x228ff5===_0x2babc2)break;else _0x5ee611['push'](_0x5ee611['shift']());}catch(_0x46553b){_0x5ee611['push'](_0x5ee611['shift']());}}}(_0x8f91,0xe0d0a),function(_0x5d091b,_0x5eaff9){var _0x2b7024=_0x2f1f;typeof exports=='object'&&typeof module<'u'?_0x5eaff9(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x2b7024(0x163)&&define['amd']?define([_0x2b7024(0x162),_0x2b7024(0x15d)],_0x5eaff9):(_0x5d091b=typeof globalThis<'u'?globalThis:_0x5d091b||self,_0x5eaff9(_0x5d091b['UniverProCollaborationClientUi'],_0x5d091b[_0x2b7024(0x160)]));}(this,function(_0x6666ba,_0x2ffba3){var _0x311bbe=_0x2f1f,_0x770ef=class extends _0x2ffba3[_0x311bbe(0x15a)]{[_0x311bbe(0x164)](_0x4499f7,_0xedda6a,..._0x5f59f0){var _0x4be054=_0x311bbe;return this[_0x4be054(0x168)][_0x4be054(0x15b)](_0x6666ba[_0x4be054(0x169)])[_0x4be054(0x164)](_0x4499f7,_0xedda6a,{},..._0x5f59f0);}};_0x2ffba3[_0x311bbe(0x15a)]['extend'](_0x770ef);}));function _0x2f1f(_0x267db5,_0x3317b5){_0x267db5=_0x267db5-0x157;var _0x8f910c=_0x8f91();var _0x2f1f95=_0x8f910c[_0x267db5];return _0x2f1f95;}function _0x8f91(){var _0x5712e5=['get','3901194UmKOzs','@univerjs/core/facade','63156xrYCpl','2304974zlEXoP','UniverCoreFacade','3094350keoueN','@univerjs-pro/collaboration-client-ui','function','runOnServer','671oiWppv','6702840HeQbWC','3519400ILKMfu','_injector','RemoteUniscriptService','9880GeJCyM','10QILhHh','252tkiwZd','1jlNsZg','10AysPbk','FUniver'];_0x8f91=function(){return _0x5712e5;};return _0x8f91();}
|
|
12
12
|
|
|
13
13
|
// @univerjs-pro/thread-comment-datasource/index
|
|
14
|
-
function _0x3265(_0x62a693,_0x2d2f14){_0x62a693=_0x62a693-0x1bc;const _0xdb5b7d=_0xdb5b();let _0x326527=_0xdb5b7d[_0x62a693];return _0x326527;}(function(_0x473a3b,_0x4a559b){const _0x310ad4=_0x3265,_0x1f3493=_0x473a3b();while(!![]){try{const _0x3940f6=parseInt(_0x310ad4(0x1ea))/0x1*(parseInt(_0x310ad4(0x23e))/0x2)+-parseInt(_0x310ad4(0x206))/0x3*(parseInt(_0x310ad4(0x22a))/0x4)+parseInt(_0x310ad4(0x1cd))/0x5+parseInt(_0x310ad4(0x246))/0x6*(-parseInt(_0x310ad4(0x20b))/0x7)+-parseInt(_0x310ad4(0x21c))/0x8*(parseInt(_0x310ad4(0x234))/0x9)+-parseInt(_0x310ad4(0x209))/0xa+-parseInt(_0x310ad4(0x217))/0xb*(-parseInt(_0x310ad4(0x200))/0xc);if(_0x3940f6===_0x4a559b)break;else _0x1f3493['push'](_0x1f3493['shift']());}catch(_0x183b98){_0x1f3493['push'](_0x1f3493['shift']());}}}(_0xdb5b,0x7d1b0),function(_0x47e2bc,_0x5c249d){const _0xa730dc=_0x3265;typeof exports==_0xa730dc(0x1e9)&&typeof module<'u'?_0x5c249d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/protocol'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0xa730dc(0x1f2)&&define[_0xa730dc(0x1ed)]?define([_0xa730dc(0x1d0),_0xa730dc(0x220),'@univerjs-pro/license',_0xa730dc(0x1c7),_0xa730dc(0x210),'@univerjs/protocol',_0xa730dc(0x23f),_0xa730dc(0x231),'@univerjs/network'],_0x5c249d):(_0x47e2bc=typeof globalThis<'u'?globalThis:_0x47e2bc||self,_0x5c249d(_0x47e2bc[_0xa730dc(0x23a)]={},_0x47e2bc[_0xa730dc(0x1f4)],_0x47e2bc[_0xa730dc(0x241)],_0x47e2bc[_0xa730dc(0x1fb)],_0x47e2bc[_0xa730dc(0x248)],_0x47e2bc[_0xa730dc(0x1c2)],_0x47e2bc[_0xa730dc(0x1c3)],_0x47e2bc[_0xa730dc(0x231)],_0x47e2bc[_0xa730dc(0x223)]));}(this,function(_0x39c76f,_0x10cb6d,_0x502b3e,_0x5f2200,_0x316987,_0x43efdd,_0xd76d68,_0x2a9748,_0x3af597){const _0x2e50fe=_0x3265;Object[_0x2e50fe(0x1ca)](_0x39c76f,Symbol[_0x2e50fe(0x1ee)],{'value':'Module'});var _0x23677e=_0x2e50fe(0x1d1),_0xd7839e=_0x2e50fe(0x1f1);let _0x3f072b=_0x30320c=>(0x0,_0x5f2200[_0x2e50fe(0x201)])(new Date(+_0x30320c))[_0x2e50fe(0x1e8)]('YYYY/MM/DD\x20HH:mm'),_0x33f7c9=async(_0x282a4a,_0x309d42)=>{const _0x21e2ea=_0x2e50fe;let _0x3f2b3e=_0x282a4a[_0x21e2ea(0x240)](_0x5f2200['UserManagerService']),_0x33899a=_0x282a4a['get'](_0x3af597[_0x21e2ea(0x20e)]);_0x309d42[_0x21e2ea(0x20f)](_0x504c35=>{const _0x1a60fa=_0x21e2ea;_0x3f2b3e[_0x1a60fa(0x238)](_0x504c35)&&_0x309d42[_0x1a60fa(0x221)](_0x504c35);}),_0x309d42['size']&&(await _0x33899a[_0x21e2ea(0x240)](_0x21e2ea(0x22b),{'params':{'userIDs':[..._0x309d42]}}))['body'][_0x21e2ea(0x211)]['forEach'](_0xacf036=>{_0xacf036&&_0x3f2b3e['addUser'](_0xacf036);});};function _0x2d38ec(_0x186fa0,_0x3ccd97){return function(_0x5ef872,_0xe67784){_0x3ccd97(_0x5ef872,_0xe67784,_0x186fa0);};}function _0x3e3186(_0x447317,_0x186d14,_0x5c3762,_0x561b4e){const _0xb3c268=_0x2e50fe;var _0x2ca9fe=arguments['length'],_0x39000e=_0x2ca9fe<0x3?_0x186d14:_0x561b4e===null?_0x561b4e=Object[_0xb3c268(0x249)](_0x186d14,_0x5c3762):_0x561b4e,_0x485408;if(typeof Reflect==_0xb3c268(0x1e9)&&typeof Reflect[_0xb3c268(0x247)]==_0xb3c268(0x1f2))_0x39000e=Reflect[_0xb3c268(0x247)](_0x447317,_0x186d14,_0x5c3762,_0x561b4e);else{for(var _0x29ad8b=_0x447317['length']-0x1;_0x29ad8b>=0x0;_0x29ad8b--)(_0x485408=_0x447317[_0x29ad8b])&&(_0x39000e=(_0x2ca9fe<0x3?_0x485408(_0x39000e):_0x2ca9fe>0x3?_0x485408(_0x186d14,_0x5c3762,_0x39000e):_0x485408(_0x186d14,_0x5c3762))||_0x39000e);}return _0x2ca9fe>0x3&&_0x39000e&&Object[_0xb3c268(0x1ca)](_0x186d14,_0x5c3762,_0x39000e),_0x39000e;}let _0x4bc8c0=class extends _0x5f2200[_0x2e50fe(0x1e0)]{constructor(_0x5e18d8,_0xefa44b,_0x4a3d6b,_0x358641){const _0x39c2b3=_0x2e50fe;super(),this[_0x39c2b3(0x1c6)]=_0x5e18d8,this[_0x39c2b3(0x20c)]=_0xefa44b,this[_0x39c2b3(0x1f0)]=_0x4a3d6b,this['_injector']=_0x358641,this[_0x39c2b3(0x1de)](),this[_0x39c2b3(0x1d6)]();}[_0x2e50fe(0x1d6)](){const _0x2f056e=_0x2e50fe;this[_0x2f056e(0x205)](this[_0x2f056e(0x20c)][_0x2f056e(0x1e3)][_0x2f056e(0x230)]((0x0,_0x2a9748['bufferTime'])(0x10))[_0x2f056e(0x1d3)](_0x44200c=>{const _0x2b3fbd=_0x2f056e;let _0x59444d=new Set();_0x44200c[_0x2b3fbd(0x20f)](_0x1e93cc=>{const _0x3dddb3=_0x2b3fbd;switch(_0x1e93cc[_0x3dddb3(0x1f7)]){case _0x3dddb3(0x1e4):{let _0x4eb50c=_0x1e93cc[_0x3dddb3(0x239)]['personId'];_0x59444d[_0x3dddb3(0x1e4)](_0x4eb50c);break;}default:break;}}),_0x33f7c9(this[_0x2b3fbd(0x21b)],_0x59444d);}));}[_0x2e50fe(0x1de)](){const _0x6e83cf=_0x2e50fe;this[_0x6e83cf(0x205)](this[_0x6e83cf(0x1c6)][_0x6e83cf(0x1e3)][_0x6e83cf(0x1d3)](async _0x55ced6=>{const _0x439a63=_0x6e83cf;var _0x46062c;let _0x13559d=(_0x46062c=this[_0x439a63(0x20c)][_0x439a63(0x232)](_0x55ced6[_0x439a63(0x1cc)])[_0x439a63(0x1f8)](_0x3bff08=>_0x3bff08['threadId']===_0x55ced6[_0x439a63(0x1fe)]))==null?void 0x0:_0x46062c[_0x439a63(0x1e7)];if(!_0x13559d)return;let {unitId:_0x5c88f9,subUnitId:_0x5e789d}=_0x13559d;switch(_0x55ced6[_0x439a63(0x21f)]&&this[_0x439a63(0x1f0)][_0x439a63(0x1ce)](_0x55ced6['user']),_0x55ced6['type']){case _0x43efdd['CommentUpdateEventType']['Add']:break;case _0x43efdd[_0x439a63(0x22d)][_0x439a63(0x213)]:var _0x54b67a,_0x260897;this['_threadCommentModel'][_0x439a63(0x20d)](_0x5c88f9,_0x5e789d,{'unitId':_0x5c88f9,'subUnitId':_0x5e789d,'ref':'','id':_0x55ced6[_0x439a63(0x1d4)],'dT':_0x3f072b(+_0x55ced6['createTimestamp']),'threadId':_0x55ced6['threadId'],'personId':(_0x54b67a=(_0x260897=_0x55ced6['user'])==null?void 0x0:_0x260897[_0x439a63(0x21d)])==null?_0x55ced6['userId']:_0x54b67a,'text':JSON['parse'](_0x55ced6[_0x439a63(0x1db)]),'parentId':_0x13559d['id']});break;case _0x43efdd[_0x439a63(0x22d)]['Delete']:{let _0xb7a4b3=this[_0x439a63(0x20c)]['getComment'](_0x5c88f9,_0x5e789d,_0x55ced6[_0x439a63(0x1d4)]);_0xb7a4b3&&_0xb7a4b3[_0x439a63(0x20a)]&&this[_0x439a63(0x20c)][_0x439a63(0x224)](_0x5c88f9,_0x5e789d,_0x55ced6['replyId']);break;}case _0x43efdd[_0x439a63(0x22d)]['Edit']:this[_0x439a63(0x20c)][_0x439a63(0x1fc)](_0x5c88f9,_0x5e789d,{'commentId':_0x55ced6[_0x439a63(0x1d4)],'text':JSON[_0x439a63(0x1c9)](_0x55ced6[_0x439a63(0x1db)])});break;case _0x43efdd[_0x439a63(0x22d)][_0x439a63(0x22c)]:{var _0x41588a;let _0x4d070f=(_0x41588a=this[_0x439a63(0x20c)][_0x439a63(0x232)](_0x55ced6['unitId'])[_0x439a63(0x1f8)](_0x3e0bf0=>_0x3e0bf0[_0x439a63(0x1fe)]===_0x55ced6[_0x439a63(0x1fe)]))==null?void 0x0:_0x41588a[_0x439a63(0x1e7)];_0x4d070f&&this[_0x439a63(0x20c)]['resolveComment'](_0x5c88f9,_0x5e789d,_0x4d070f['id'],_0x55ced6[_0x439a63(0x1eb)]===_0x43efdd[_0x439a63(0x233)][_0x439a63(0x1da)]);break;}default:break;}}));}};_0x4bc8c0=_0x3e3186([_0x2d38ec(0x0,(0x0,_0x5f2200[_0x2e50fe(0x1dc)])(_0x10cb6d[_0x2e50fe(0x245)])),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0xd76d68['ThreadCommentModel'])),_0x2d38ec(0x2,(0x0,_0x5f2200['Inject'])(_0x5f2200[_0x2e50fe(0x1e2)])),_0x2d38ec(0x3,(0x0,_0x5f2200[_0x2e50fe(0x1dc)])(_0x5f2200[_0x2e50fe(0x1bc)]))],_0x4bc8c0);let _0x2f957c={};function _0x143fcf(_0x6339ea,_0x3d69be){const _0x4e26f0=_0x2e50fe;let _0x1d1236=_0x6339ea['replies'][0x0];return{..._0x3d69be,'id':_0x1d1236[_0x4e26f0(0x1d4)],'resolved':_0x6339ea[_0x4e26f0(0x1eb)]===0x1,'dT':_0x3f072b(_0x1d1236['createTimestamp']),'personId':_0x1d1236[_0x4e26f0(0x1d9)],'threadId':_0x1d1236[_0x4e26f0(0x1fe)]};}function _0x1c0122(_0xfe5b5,_0x37d2c5,_0x2b84b4){const _0x21f9ea=_0x2e50fe;var _0x3ecb0f,_0x399ef5;if(((_0x3ecb0f=_0xfe5b5==null||(_0x399ef5=_0xfe5b5[_0x21f9ea(0x1ec)])==null?void 0x0:_0x399ef5['length'])==null?0x0:_0x3ecb0f)>0x0){let _0x1a0b6c=(_0xd78c5f,_0x3179e0)=>({'id':_0xd78c5f[_0x21f9ea(0x1d4)],'threadId':_0xd78c5f[_0x21f9ea(0x1fe)],'dT':_0x3f072b(_0xd78c5f[_0x21f9ea(0x1d2)]),'personId':_0xd78c5f[_0x21f9ea(0x1d9)],'resolved':_0xfe5b5[_0x21f9ea(0x1eb)]===_0x43efdd[_0x21f9ea(0x233)][_0x21f9ea(0x1da)],'unitId':_0x37d2c5,'subUnitId':_0x2b84b4,'text':JSON['parse'](_0xd78c5f[_0x21f9ea(0x1db)]),'parentId':_0x3179e0}),_0x443770=_0x1a0b6c(_0xfe5b5['replies'][0x0]);return{..._0x443770,'children':_0xfe5b5['replies'][_0x21f9ea(0x1cb)](0x1)[_0x21f9ea(0x1fa)](_0x244ad1=>_0x1a0b6c(_0x244ad1,_0x443770['id']))};}return null;}let _0x51163f=class{constructor(_0x46c361,_0x6f7802,_0x3eb22d){const _0x3f21bf=_0x2e50fe;this['_httpService']=_0x46c361,this[_0x3f21bf(0x1f0)]=_0x6f7802,this[_0x3f21bf(0x1d7)]=_0x3eb22d;}async[_0x2e50fe(0x20d)](_0x208d03){const _0x131499=_0x2e50fe;var _0x9fb02f,_0x4d1889;let {parentId:_0x5bfa56,unitId:_0x5de0c3,text:_0x31d910,threadId:_0x13cfa3}=_0x208d03,_0x37418a=(_0x9fb02f=(_0x4d1889=_0x31d910[_0x131499(0x1f5)])==null?void 0x0:_0x4d1889['filter'](_0x3cd81f=>_0x3cd81f[_0x131499(0x22f)]===_0x5f2200[_0x131499(0x1ef)][_0x131499(0x219)])[_0x131499(0x1fa)](_0x48bba6=>_0x48bba6[_0x131499(0x1cf)]))==null?[]:_0x9fb02f,_0xa4627f=JSON[_0x131499(0x23d)](_0x31d910),_0x49636a=(await this[_0x131499(0x1d7)][_0x131499(0x1e1)](_0x5de0c3))[_0x131499(0x1ff)]();if(_0x5bfa56){let _0xfd2e80={'memberId':_0x49636a,'unitId':_0x5de0c3,'content':_0xa4627f,'mention':_0x37418a,'threadId':_0x13cfa3},_0x546425=(await this[_0x131499(0x1c4)]['post']('/universer-api/comment/unit/'+_0x5de0c3+_0x131499(0x1bd),{'body':_0xfd2e80}))['body']['reply'];return{..._0x208d03,'id':_0x546425[_0x131499(0x1d4)],'dT':(0x0,_0x5f2200['dateKit'])(+_0x546425['createTimestamp'])[_0x131499(0x1e8)](_0x131499(0x225)),'personId':_0x546425['userId']};}else{let _0x306ecb={'memberId':_0x49636a,'unitId':_0x5de0c3,'content':_0xa4627f,'mention':_0x37418a};return _0x143fcf((await this[_0x131499(0x1c4)]['post'](_0x131499(0x1f6)+_0x5de0c3+_0x131499(0x207),{'body':_0x306ecb}))[_0x131499(0x1e6)][_0x131499(0x202)],_0x208d03);}}async[_0x2e50fe(0x1fc)](_0x326e84){const _0x11969c=_0x2e50fe;var _0x1d0d46,_0x342053;let {text:_0x31c4d8,unitId:_0x91edd1}=_0x326e84,_0x28d9a5=(_0x1d0d46=(_0x342053=_0x31c4d8['customRanges'])==null?void 0x0:_0x342053[_0x11969c(0x203)](_0x2aa028=>_0x2aa028[_0x11969c(0x22f)]===_0x5f2200[_0x11969c(0x1ef)][_0x11969c(0x219)])['map'](_0x58189a=>_0x58189a[_0x11969c(0x1cf)]))==null?[]:_0x1d0d46,_0x31fcf9=JSON[_0x11969c(0x23d)](_0x31c4d8),_0x2de7ea=_0x326e84['threadId'],_0x4e087a=_0x326e84['id'],_0x269a22={'memberId':(await this[_0x11969c(0x1d7)][_0x11969c(0x1e1)](_0x91edd1))['getMemberID'](),'unitId':_0x91edd1,'threadId':_0x2de7ea,'mention':_0x28d9a5,'content':_0x31fcf9,'replyId':_0x4e087a},_0x4719bd=await this['_httpService'][_0x11969c(0x214)](_0x11969c(0x1f6)+_0x91edd1+_0x11969c(0x23b),{'body':_0x269a22});return!_0x4719bd['body'][_0x11969c(0x235)]||_0x4719bd[_0x11969c(0x1e6)]['error'][_0x11969c(0x1dd)]===0x1;}async[_0x2e50fe(0x228)](_0x43427a){const _0x5e0741=_0x2e50fe;let {unitId:_0x104961}=_0x43427a,_0x58849e=_0x43427a['threadId'],_0x2b5a79={'memberId':this[_0x5e0741(0x1f0)]['getCurrentUser']()[_0x5e0741(0x21d)],'unitId':_0x104961,'threadId':_0x58849e,'solved':_0x43427a[_0x5e0741(0x21a)]?_0x43efdd[_0x5e0741(0x233)][_0x5e0741(0x1da)]:_0x43efdd[_0x5e0741(0x233)][_0x5e0741(0x216)]},_0x973eba=await this[_0x5e0741(0x1c4)][_0x5e0741(0x214)](_0x5e0741(0x1f6)+_0x104961+_0x5e0741(0x229),{'body':_0x2b5a79});return!_0x973eba['body']['error']||_0x973eba['body']['error'][_0x5e0741(0x1dd)]===0x1;}async[_0x2e50fe(0x224)](_0x5a64fa,_0xf6f01a,_0x1ae1a,_0x3b28a8){const _0x3343e4=_0x2e50fe;let _0x4b6f0b={'memberId':(await this[_0x3343e4(0x1d7)][_0x3343e4(0x1e1)](_0x5a64fa))[_0x3343e4(0x1ff)](),'threadId':_0x1ae1a,'replyId':_0x3b28a8,'unitId':_0x5a64fa},_0x3ea1d2=await this[_0x3343e4(0x1c4)][_0x3343e4(0x214)]('/universer-api/comment/unit/'+_0x5a64fa+_0x3343e4(0x226),{'body':_0x4b6f0b});return!_0x3ea1d2['body']['error']||_0x3ea1d2[_0x3343e4(0x1e6)][_0x3343e4(0x235)][_0x3343e4(0x1dd)]===0x1;}async[_0x2e50fe(0x204)](_0x5f493a,_0x496302,_0x4b24b3){const _0xeb4d04=_0x2e50fe;let _0x2fa118={'unitId':_0x5f493a,'threadId':_0x4b24b3},_0x22c356=await this[_0xeb4d04(0x1c4)][_0xeb4d04(0x214)](_0xeb4d04(0x1f6)+_0x5f493a+'/list',{'body':_0x2fa118}),_0x10080f=_0x4b24b3[_0xeb4d04(0x1fa)](_0x2c155a=>_0x1c0122(_0x22c356[_0xeb4d04(0x1e6)]['comments'][_0x2c155a],_0x5f493a,_0x496302))['filter'](Boolean);return Object[_0xeb4d04(0x243)](_0x22c356[_0xeb4d04(0x1e6)][_0xeb4d04(0x211)])[_0xeb4d04(0x20f)](_0x591917=>{const _0x18b0b2=_0xeb4d04;this[_0x18b0b2(0x1f0)][_0x18b0b2(0x1ce)](_0x591917);}),_0x10080f;}[_0x2e50fe(0x23c)](_0x107527){const _0x43b799=_0x2e50fe;return{'id':_0x107527['id'],'threadId':_0x107527[_0x43b799(0x1fe)],'ref':_0x107527[_0x43b799(0x1fd)]};}};_0x51163f=_0x3e3186([_0x2d38ec(0x0,(0x0,_0x5f2200['Inject'])(_0x3af597[_0x2e50fe(0x20e)])),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x5f2200['UserManagerService'])),_0x2d38ec(0x2,(0x0,_0x5f2200['Inject'])(_0x10cb6d['CollaborationSessionService']))],_0x51163f);let _0x273e93=class extends _0x5f2200['Disposable']{constructor(_0x190140,_0x530466){const _0x48c12e=_0x2e50fe;super(),this[_0x48c12e(0x236)]=_0x190140,this[_0x48c12e(0x244)]=_0x530466,this['_initDataSource']();}['_initDataSource'](){const _0x39de5e=_0x2e50fe;this[_0x39de5e(0x236)][_0x39de5e(0x1e5)]=this[_0x39de5e(0x244)],this[_0x39de5e(0x236)][_0x39de5e(0x1c8)]=!0x1;}};_0x273e93=_0x3e3186([_0x2d38ec(0x0,_0xd76d68[_0x2e50fe(0x208)]),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x51163f))],_0x273e93);function _0x3e620a(_0x17b5ce){'@babel/helpers - typeof';const _0x6516e0=_0x2e50fe;return _0x3e620a=typeof Symbol=='function'&&typeof Symbol[_0x6516e0(0x1c1)]==_0x6516e0(0x1f3)?function(_0x1142c1){return typeof _0x1142c1;}:function(_0x549a36){const _0x1e8b3f=_0x6516e0;return _0x549a36&&typeof Symbol=='function'&&_0x549a36[_0x1e8b3f(0x1d8)]===Symbol&&_0x549a36!==Symbol[_0x1e8b3f(0x1be)]?_0x1e8b3f(0x1f3):typeof _0x549a36;},_0x3e620a(_0x17b5ce);}function _0x463c88(_0x567d3a,_0x244ef1){const _0x50abc8=_0x2e50fe;if(_0x3e620a(_0x567d3a)!=_0x50abc8(0x1e9)||!_0x567d3a)return _0x567d3a;var _0x3460d8=_0x567d3a[Symbol[_0x50abc8(0x242)]];if(_0x3460d8!==void 0x0){var _0x1c2cab=_0x3460d8['call'](_0x567d3a,_0x244ef1||_0x50abc8(0x1df));if(_0x3e620a(_0x1c2cab)!=_0x50abc8(0x1e9))return _0x1c2cab;throw TypeError(_0x50abc8(0x222));}return(_0x244ef1===_0x50abc8(0x218)?String:Number)(_0x567d3a);}function _0x19345f(_0x1a70b3){const _0x21f037=_0x2e50fe;var _0x3e6ff3=_0x463c88(_0x1a70b3,_0x21f037(0x218));return _0x3e620a(_0x3e6ff3)==_0x21f037(0x1f3)?_0x3e6ff3:_0x3e6ff3+'';}function _0x595969(_0xe5f749,_0x18cbd3,_0x39a0e4){const _0x51ffef=_0x2e50fe;return(_0x18cbd3=_0x19345f(_0x18cbd3))in _0xe5f749?Object[_0x51ffef(0x1ca)](_0xe5f749,_0x18cbd3,{'value':_0x39a0e4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe5f749[_0x18cbd3]=_0x39a0e4,_0xe5f749;}let _0x4b4129=class extends _0x5f2200[_0x2e50fe(0x21e)]{constructor(_0x217f38=_0x2f957c,_0x571a42,_0x1f747d){const _0x17bc77=_0x2e50fe;super(),this[_0x17bc77(0x22e)]=_0x217f38,this[_0x17bc77(0x21b)]=_0x571a42,this[_0x17bc77(0x1f9)]=_0x1f747d;let {..._0x4be440}=(0x0,_0x5f2200['merge'])({},_0x2f957c,this['_config']);this[_0x17bc77(0x1f9)]['setConfig']('thread-comment-data-source.config',_0x4be440);}['onStarting'](){const _0x1bc2c4=_0x2e50fe;[[_0x51163f],[_0x273e93],[_0x4bc8c0]][_0x1bc2c4(0x20f)](_0x402efc=>{const _0x4ca5f7=_0x1bc2c4;this[_0x4ca5f7(0x21b)][_0x4ca5f7(0x1e4)](_0x402efc);});}[_0x2e50fe(0x237)](){const _0x55ed06=_0x2e50fe;this[_0x55ed06(0x21b)]['get'](_0x273e93),this[_0x55ed06(0x21b)][_0x55ed06(0x240)](_0x4bc8c0);}};_0x595969(_0x4b4129,_0x2e50fe(0x227),'UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN'),_0x595969(_0x4b4129,'packageName',_0x23677e),_0x595969(_0x4b4129,_0x2e50fe(0x1bf),_0xd7839e),_0x4b4129=_0x3e3186([(0x0,_0x5f2200[_0x2e50fe(0x215)])(_0x316987[_0x2e50fe(0x1c0)],_0x10cb6d['UniverCollaborationClientPlugin'],_0x502b3e[_0x2e50fe(0x1c5)]),_0x2d38ec(0x1,(0x0,_0x5f2200['Inject'])(_0x5f2200[_0x2e50fe(0x1bc)])),_0x2d38ec(0x2,_0x5f2200[_0x2e50fe(0x212)])],_0x4b4129),Object[_0x2e50fe(0x1ca)](_0x39c76f,_0x2e50fe(0x1d5),{'enumerable':!0x0,'get':function(){return _0x4b4129;}});}));function _0xdb5b(){const _0x2516f3=['function','symbol','UniverProCollaborationClient','customRanges','/universer-api/comment/unit/','type','find','_configService','map','UniverCore','updateComment','ref','threadId','getMemberID','96lCvpZp','dateKit','comment','filter','listComments','disposeWithMe','222SfgfvD','/add','IThreadCommentDataSourceService','9177440KHvHXt','parentId','553pDdliR','_threadCommentModel','addComment','HTTPService','forEach','@univerjs/thread-comment-ui','users','IConfigService','Reply','post','DependentOn','OpenOrReOpen','3302552asEpbt','string','COMMENT','resolved','_injector','677296AWGgTt','userID','Plugin','user','@univerjs-pro/collaboration-client','delete','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverNetwork','deleteComment','YYYY/MM/DD\x20HH:mm','/delete','pluginName','resolveComment','/solved','51036Kytiof','/universer-api/user/list','Solve','CommentUpdateEventType','_config','rangeType','pipe','rxjs','getUnit','CommentSolvedStatus','99AJZoCD','error','_threadCommentDataSourceService','onReady','getUser','payload','UniverProThreadCommentDatasource','/edit','saveCommentToSnapshot','stringify','30xjolOg','@univerjs/thread-comment','get','UniverProLicense','toPrimitive','values','_threadCommentDataSource','CommentService','35010ADLEdH','decorate','UniverThreadCommentUi','getOwnPropertyDescriptor','Injector','/reply','prototype','version','UniverThreadCommentUIPlugin','iterator','UniverProtocol','UniverThreadComment','_httpService','UniverLicensePlugin','_commentService','@univerjs/core','syncUpdateMutationToColla','parse','defineProperty','slice','unitId','3799590nYsond','addUser','rangeId','exports','@univerjs-pro/thread-comment-datasource','createTimestamp','subscribe','replyId','UniverThreadCommentDataSourcePlugin','_initUserSync','_sessionService','constructor','userId','Solved','content','Inject','code','_init','default','Disposable','requireSession','UserManagerService','commentUpdate$','add','dataSource','body','root','format','object','40321JUMDne','solved','replies','amd','toStringTag','CustomRangeType','_userService','0.25.0'];_0xdb5b=function(){return _0x2516f3;};return _0xdb5b();}
|
|
14
|
+
function _0x5ebb(_0x5364e5,_0x5d2c8b){_0x5364e5=_0x5364e5-0x12d;const _0x1704cf=_0x1704();let _0x5ebbfc=_0x1704cf[_0x5364e5];return _0x5ebbfc;}function _0x1704(){const _0x614eb=['744780PRbKZP','exports','CustomRangeType','symbol','Solved','delete','getComment','onStarting','UserManagerService','_httpService','@univerjs/thread-comment','Delete','get','UniverThreadCommentUIPlugin','22281tudmAf','@univerjs/protocol','UniverProLicense','listComments','amd','_sessionService','534kYwJYm','pipe','IThreadCommentDataSourceService','requireSession','Solve','bufferTime','Inject','UniverProThreadCommentDatasource','payload','onReady','UniverProCollaborationClient','map','COMMENT','getUnit','OpenOrReOpen','270288OXFEXS','Add','users','userID','disposeWithMe','Disposable','_threadCommentDataSource','/delete','@univerjs/thread-comment-ui','_threadCommentModel','DependentOn','packageName','content','body','_init','slice','IConfigService','addComment','unitId','_commentService','stringify','136xdOIgL','1616vxypTs','getUser','type','personId','1584162oHlPZb','toPrimitive','_config','_userService','forEach','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Reply','@univerjs/core','prototype','getCurrentUser','values','dateKit','@univerjs-pro/thread-comment-datasource','commentUpdate$','_configService','0.25.1','length','/universer-api/comment/unit/','HTTPService','post','customRanges','_threadCommentDataSourceService','/universer-api/user/list','UniverCore','CommentUpdateEventType','comments','UniverCollaborationClientPlugin','17427dmaKiM','/solved','replies','saveCommentToSnapshot','deleteComment','CommentSolvedStatus','toStringTag','addUser','@univerjs/network','replyId','size','getMemberID','call','filter','3207017EMQVWq','decorate','ThreadCommentModel','format','find','/reply','UniverThreadCommentUi','CommentService','comment','solved','UniverProtocol','UniverThreadCommentDataSourcePlugin','10YzmEpS','reply','@univerjs-pro/license','add','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','_initDataSource','default','rxjs','root','function','rangeId','parse','Injector','error','userId','subscribe','syncUpdateMutationToColla','parentId','UniverThreadComment','/add','threadId','defineProperty','CollaborationSessionService','/edit','user','_injector','object','string','updateComment','Plugin','code','createTimestamp','UniverNetwork','resolved','2QLVzid'];_0x1704=function(){return _0x614eb;};return _0x1704();}(function(_0x339319,_0x459c98){const _0x2090e4=_0x5ebb,_0x55ce25=_0x339319();while(!![]){try{const _0x4ae687=parseInt(_0x2090e4(0x164))/0x1*(parseInt(_0x2090e4(0x1a0))/0x2)+parseInt(_0x2090e4(0x1b5))/0x3*(-parseInt(_0x2090e4(0x145))/0x4)+parseInt(_0x2090e4(0x1a1))/0x5+-parseInt(_0x2090e4(0x12f))/0x6+parseInt(_0x2090e4(0x1af))/0x7*(-parseInt(_0x2090e4(0x144))/0x8)+parseInt(_0x2090e4(0x149))/0x9*(-parseInt(_0x2090e4(0x17e))/0xa)+parseInt(_0x2090e4(0x172))/0xb;if(_0x4ae687===_0x459c98)break;else _0x55ce25['push'](_0x55ce25['shift']());}catch(_0x1d8066){_0x55ce25['push'](_0x55ce25['shift']());}}}(_0x1704,0x1b0f9),function(_0x3706bb,_0x3706c7){const _0x519a8d=_0x5ebb;typeof exports==_0x519a8d(0x198)&&typeof module<'u'?_0x3706c7(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/protocol'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x519a8d(0x187)&&define[_0x519a8d(0x1b3)]?define([_0x519a8d(0x1a2),'@univerjs-pro/collaboration-client',_0x519a8d(0x180),_0x519a8d(0x150),_0x519a8d(0x137),_0x519a8d(0x1b0),_0x519a8d(0x1ab),_0x519a8d(0x185),_0x519a8d(0x16c)],_0x3706c7):(_0x3706bb=typeof globalThis<'u'?globalThis:_0x3706bb||self,_0x3706c7(_0x3706bb[_0x519a8d(0x1bc)]={},_0x3706bb[_0x519a8d(0x1bf)],_0x3706bb[_0x519a8d(0x1b1)],_0x3706bb[_0x519a8d(0x160)],_0x3706bb[_0x519a8d(0x178)],_0x3706bb[_0x519a8d(0x17c)],_0x3706bb[_0x519a8d(0x190)],_0x3706bb[_0x519a8d(0x185)],_0x3706bb[_0x519a8d(0x19e)]));}(this,function(_0x33f0e5,_0x24426e,_0x4a513d,_0xcafa72,_0x48398d,_0x34bcc5,_0x36a034,_0x4d6f3c,_0x54a381){const _0x282255=_0x5ebb;Object['defineProperty'](_0x33f0e5,Symbol[_0x282255(0x16a)],{'value':'Module'});var _0xee7654=_0x282255(0x155),_0x1b82ed=_0x282255(0x158);let _0x2793cb=_0x2e070e=>(0x0,_0xcafa72[_0x282255(0x154)])(new Date(+_0x2e070e))[_0x282255(0x175)]('YYYY/MM/DD\x20HH:mm'),_0x1d3002=async(_0x4de39d,_0x2f4b21)=>{const _0x5f59ae=_0x282255;let _0x174d81=_0x4de39d[_0x5f59ae(0x1ad)](_0xcafa72[_0x5f59ae(0x1a9)]),_0x100ae1=_0x4de39d[_0x5f59ae(0x1ad)](_0x54a381['HTTPService']);_0x2f4b21[_0x5f59ae(0x14d)](_0x109ad4=>{const _0xbc0340=_0x5f59ae;_0x174d81[_0xbc0340(0x146)](_0x109ad4)&&_0x2f4b21[_0xbc0340(0x1a6)](_0x109ad4);}),_0x2f4b21[_0x5f59ae(0x16e)]&&(await _0x100ae1['get'](_0x5f59ae(0x15f),{'params':{'userIDs':[..._0x2f4b21]}}))[_0x5f59ae(0x13c)][_0x5f59ae(0x131)]['forEach'](_0x2158c3=>{const _0x1b393d=_0x5f59ae;_0x2158c3&&_0x174d81[_0x1b393d(0x16b)](_0x2158c3);});};function _0x12fa85(_0x6faef3,_0x3a908a){return function(_0x1421bf,_0x884309){_0x3a908a(_0x1421bf,_0x884309,_0x6faef3);};}function _0x443909(_0x4c8afc,_0x420bfc,_0x54af09,_0x2c892d){const _0x3ad38f=_0x282255;var _0x51163b=arguments[_0x3ad38f(0x159)],_0x37a471=_0x51163b<0x3?_0x420bfc:_0x2c892d===null?_0x2c892d=Object['getOwnPropertyDescriptor'](_0x420bfc,_0x54af09):_0x2c892d,_0x447d2a;if(typeof Reflect==_0x3ad38f(0x198)&&typeof Reflect[_0x3ad38f(0x173)]==_0x3ad38f(0x187))_0x37a471=Reflect[_0x3ad38f(0x173)](_0x4c8afc,_0x420bfc,_0x54af09,_0x2c892d);else{for(var _0x318b3e=_0x4c8afc[_0x3ad38f(0x159)]-0x1;_0x318b3e>=0x0;_0x318b3e--)(_0x447d2a=_0x4c8afc[_0x318b3e])&&(_0x37a471=(_0x51163b<0x3?_0x447d2a(_0x37a471):_0x51163b>0x3?_0x447d2a(_0x420bfc,_0x54af09,_0x37a471):_0x447d2a(_0x420bfc,_0x54af09))||_0x37a471);}return _0x51163b>0x3&&_0x37a471&&Object[_0x3ad38f(0x193)](_0x420bfc,_0x54af09,_0x37a471),_0x37a471;}let _0x51eb27=class extends _0xcafa72[_0x282255(0x134)]{constructor(_0x177ecb,_0x39698c,_0x476560,_0x417068){const _0xb600c8=_0x282255;super(),this[_0xb600c8(0x142)]=_0x177ecb,this['_threadCommentModel']=_0x39698c,this[_0xb600c8(0x14c)]=_0x476560,this[_0xb600c8(0x197)]=_0x417068,this['_init'](),this['_initUserSync']();}['_initUserSync'](){const _0x41e85f=_0x282255;this[_0x41e85f(0x133)](this['_threadCommentModel'][_0x41e85f(0x156)][_0x41e85f(0x1b6)]((0x0,_0x4d6f3c[_0x41e85f(0x1ba)])(0x10))[_0x41e85f(0x18d)](_0x46233d=>{const _0x5bd83e=_0x41e85f;let _0x5b668f=new Set();_0x46233d['forEach'](_0x24fd19=>{const _0x1b08e4=_0x5ebb;switch(_0x24fd19[_0x1b08e4(0x147)]){case _0x1b08e4(0x181):{let _0x3215c9=_0x24fd19[_0x1b08e4(0x1bd)][_0x1b08e4(0x148)];_0x5b668f[_0x1b08e4(0x181)](_0x3215c9);break;}default:break;}}),_0x1d3002(this[_0x5bd83e(0x197)],_0x5b668f);}));}[_0x282255(0x13d)](){const _0x4bde80=_0x282255;this[_0x4bde80(0x133)](this[_0x4bde80(0x142)][_0x4bde80(0x156)][_0x4bde80(0x18d)](async _0x5c44d1=>{const _0x4b9353=_0x4bde80;var _0x1cc970;let _0x1cfaf1=(_0x1cc970=this['_threadCommentModel'][_0x4b9353(0x12d)](_0x5c44d1[_0x4b9353(0x141)])['find'](_0x35101f=>_0x35101f[_0x4b9353(0x192)]===_0x5c44d1['threadId']))==null?void 0x0:_0x1cc970['root'];if(!_0x1cfaf1)return;let {unitId:_0x55130a,subUnitId:_0x582222}=_0x1cfaf1;switch(_0x5c44d1[_0x4b9353(0x196)]&&this['_userService'][_0x4b9353(0x16b)](_0x5c44d1[_0x4b9353(0x196)]),_0x5c44d1[_0x4b9353(0x147)]){case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x130)]:break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x14f)]:var _0x1259a2,_0x41a9cb;this[_0x4b9353(0x138)][_0x4b9353(0x140)](_0x55130a,_0x582222,{'unitId':_0x55130a,'subUnitId':_0x582222,'ref':'','id':_0x5c44d1[_0x4b9353(0x16d)],'dT':_0x2793cb(+_0x5c44d1[_0x4b9353(0x19d)]),'threadId':_0x5c44d1[_0x4b9353(0x192)],'personId':(_0x1259a2=(_0x41a9cb=_0x5c44d1[_0x4b9353(0x196)])==null?void 0x0:_0x41a9cb['userID'])==null?_0x5c44d1['userId']:_0x1259a2,'text':JSON[_0x4b9353(0x189)](_0x5c44d1[_0x4b9353(0x13b)]),'parentId':_0x1cfaf1['id']});break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x1ac)]:{let _0x1690f7=this['_threadCommentModel'][_0x4b9353(0x1a7)](_0x55130a,_0x582222,_0x5c44d1[_0x4b9353(0x16d)]);_0x1690f7&&_0x1690f7[_0x4b9353(0x18f)]&&this['_threadCommentModel'][_0x4b9353(0x168)](_0x55130a,_0x582222,_0x5c44d1[_0x4b9353(0x16d)]);break;}case _0x34bcc5[_0x4b9353(0x161)]['Edit']:this[_0x4b9353(0x138)][_0x4b9353(0x19a)](_0x55130a,_0x582222,{'commentId':_0x5c44d1[_0x4b9353(0x16d)],'text':JSON[_0x4b9353(0x189)](_0x5c44d1['content'])});break;case _0x34bcc5[_0x4b9353(0x161)][_0x4b9353(0x1b9)]:{var _0x1b3b84;let _0x4257fa=(_0x1b3b84=this['_threadCommentModel'][_0x4b9353(0x12d)](_0x5c44d1[_0x4b9353(0x141)])[_0x4b9353(0x176)](_0x3b7099=>_0x3b7099[_0x4b9353(0x192)]===_0x5c44d1[_0x4b9353(0x192)]))==null?void 0x0:_0x1b3b84[_0x4b9353(0x186)];_0x4257fa&&this['_threadCommentModel']['resolveComment'](_0x55130a,_0x582222,_0x4257fa['id'],_0x5c44d1[_0x4b9353(0x17b)]===_0x34bcc5[_0x4b9353(0x169)][_0x4b9353(0x1a5)]);break;}default:break;}}));}};_0x51eb27=_0x443909([_0x12fa85(0x0,(0x0,_0xcafa72['Inject'])(_0x24426e[_0x282255(0x179)])),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x36a034[_0x282255(0x174)])),_0x12fa85(0x2,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x1a9)])),_0x12fa85(0x3,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x18a)]))],_0x51eb27);let _0x59a1a7={};function _0x27cc44(_0x60304c,_0x1be19b){const _0x2f0ab5=_0x282255;let _0x441010=_0x60304c[_0x2f0ab5(0x166)][0x0];return{..._0x1be19b,'id':_0x441010[_0x2f0ab5(0x16d)],'resolved':_0x60304c[_0x2f0ab5(0x17b)]===0x1,'dT':_0x2793cb(_0x441010[_0x2f0ab5(0x19d)]),'personId':_0x441010[_0x2f0ab5(0x18c)],'threadId':_0x441010['threadId']};}function _0x57f6cb(_0x1ccc0c,_0x1d418c,_0x855974){const _0x3f88d9=_0x282255;var _0x56e5f9,_0x279784;if(((_0x56e5f9=_0x1ccc0c==null||(_0x279784=_0x1ccc0c[_0x3f88d9(0x166)])==null?void 0x0:_0x279784['length'])==null?0x0:_0x56e5f9)>0x0){let _0x5447f9=(_0x411b3c,_0x518b6a)=>({'id':_0x411b3c[_0x3f88d9(0x16d)],'threadId':_0x411b3c['threadId'],'dT':_0x2793cb(_0x411b3c[_0x3f88d9(0x19d)]),'personId':_0x411b3c[_0x3f88d9(0x18c)],'resolved':_0x1ccc0c['solved']===_0x34bcc5['CommentSolvedStatus'][_0x3f88d9(0x1a5)],'unitId':_0x1d418c,'subUnitId':_0x855974,'text':JSON[_0x3f88d9(0x189)](_0x411b3c['content']),'parentId':_0x518b6a}),_0x291921=_0x5447f9(_0x1ccc0c[_0x3f88d9(0x166)][0x0]);return{..._0x291921,'children':_0x1ccc0c[_0x3f88d9(0x166)][_0x3f88d9(0x13e)](0x1)[_0x3f88d9(0x1c0)](_0x51f602=>_0x5447f9(_0x51f602,_0x291921['id']))};}return null;}let _0xed0191=class{constructor(_0x287cd6,_0x38e343,_0x4d2667){const _0x3defc6=_0x282255;this[_0x3defc6(0x1aa)]=_0x287cd6,this[_0x3defc6(0x14c)]=_0x38e343,this[_0x3defc6(0x1b4)]=_0x4d2667;}async['addComment'](_0x1968c2){const _0x4d825b=_0x282255;var _0x356122,_0x5073df;let {parentId:_0x20ae10,unitId:_0x4109a3,text:_0x32fc71,threadId:_0x416361}=_0x1968c2,_0x45a5a1=(_0x356122=(_0x5073df=_0x32fc71[_0x4d825b(0x15d)])==null?void 0x0:_0x5073df['filter'](_0x3076d3=>_0x3076d3['rangeType']===_0xcafa72['CustomRangeType'][_0x4d825b(0x1c1)])[_0x4d825b(0x1c0)](_0x559545=>_0x559545['rangeId']))==null?[]:_0x356122,_0x1ae202=JSON[_0x4d825b(0x143)](_0x32fc71),_0x758534=(await this[_0x4d825b(0x1b4)]['requireSession'](_0x4109a3))['getMemberID']();if(_0x20ae10){let _0x68c23={'memberId':_0x758534,'unitId':_0x4109a3,'content':_0x1ae202,'mention':_0x45a5a1,'threadId':_0x416361},_0x1266cf=(await this[_0x4d825b(0x1aa)][_0x4d825b(0x15c)](_0x4d825b(0x15a)+_0x4109a3+_0x4d825b(0x177),{'body':_0x68c23}))[_0x4d825b(0x13c)][_0x4d825b(0x17f)];return{..._0x1968c2,'id':_0x1266cf[_0x4d825b(0x16d)],'dT':(0x0,_0xcafa72[_0x4d825b(0x154)])(+_0x1266cf['createTimestamp'])[_0x4d825b(0x175)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x1266cf['userId']};}else{let _0x29495d={'memberId':_0x758534,'unitId':_0x4109a3,'content':_0x1ae202,'mention':_0x45a5a1};return _0x27cc44((await this[_0x4d825b(0x1aa)][_0x4d825b(0x15c)]('/universer-api/comment/unit/'+_0x4109a3+_0x4d825b(0x191),{'body':_0x29495d}))[_0x4d825b(0x13c)][_0x4d825b(0x17a)],_0x1968c2);}}async['updateComment'](_0x48af7a){const _0x428da3=_0x282255;var _0x1cfd85,_0x3dbd25;let {text:_0x539d3b,unitId:_0x5cf529}=_0x48af7a,_0x146065=(_0x1cfd85=(_0x3dbd25=_0x539d3b['customRanges'])==null?void 0x0:_0x3dbd25[_0x428da3(0x171)](_0x2af93b=>_0x2af93b['rangeType']===_0xcafa72[_0x428da3(0x1a3)][_0x428da3(0x1c1)])['map'](_0x11429e=>_0x11429e[_0x428da3(0x188)]))==null?[]:_0x1cfd85,_0x38debc=JSON['stringify'](_0x539d3b),_0x4a4415=_0x48af7a[_0x428da3(0x192)],_0x364861=_0x48af7a['id'],_0x569828={'memberId':(await this[_0x428da3(0x1b4)][_0x428da3(0x1b8)](_0x5cf529))[_0x428da3(0x16f)](),'unitId':_0x5cf529,'threadId':_0x4a4415,'mention':_0x146065,'content':_0x38debc,'replyId':_0x364861},_0x5b7db0=await this[_0x428da3(0x1aa)][_0x428da3(0x15c)](_0x428da3(0x15a)+_0x5cf529+_0x428da3(0x195),{'body':_0x569828});return!_0x5b7db0[_0x428da3(0x13c)][_0x428da3(0x18b)]||_0x5b7db0['body'][_0x428da3(0x18b)][_0x428da3(0x19c)]===0x1;}async['resolveComment'](_0x3c0325){const _0x251a29=_0x282255;let {unitId:_0x290a2b}=_0x3c0325,_0x8b6e7d=_0x3c0325['threadId'],_0x5aa88b={'memberId':this['_userService'][_0x251a29(0x152)]()[_0x251a29(0x132)],'unitId':_0x290a2b,'threadId':_0x8b6e7d,'solved':_0x3c0325[_0x251a29(0x19f)]?_0x34bcc5[_0x251a29(0x169)]['Solved']:_0x34bcc5[_0x251a29(0x169)][_0x251a29(0x12e)]},_0x1ea437=await this[_0x251a29(0x1aa)]['post'](_0x251a29(0x15a)+_0x290a2b+_0x251a29(0x165),{'body':_0x5aa88b});return!_0x1ea437[_0x251a29(0x13c)][_0x251a29(0x18b)]||_0x1ea437[_0x251a29(0x13c)]['error'][_0x251a29(0x19c)]===0x1;}async[_0x282255(0x168)](_0x1c3013,_0x525dd7,_0x9ffb92,_0x510f82){const _0xc976b4=_0x282255;let _0xd104f5={'memberId':(await this['_sessionService'][_0xc976b4(0x1b8)](_0x1c3013))[_0xc976b4(0x16f)](),'threadId':_0x9ffb92,'replyId':_0x510f82,'unitId':_0x1c3013},_0x2dc3b6=await this[_0xc976b4(0x1aa)][_0xc976b4(0x15c)](_0xc976b4(0x15a)+_0x1c3013+_0xc976b4(0x136),{'body':_0xd104f5});return!_0x2dc3b6[_0xc976b4(0x13c)][_0xc976b4(0x18b)]||_0x2dc3b6[_0xc976b4(0x13c)]['error'][_0xc976b4(0x19c)]===0x1;}async[_0x282255(0x1b2)](_0x229519,_0x3f105b,_0x355f14){const _0x23b20c=_0x282255;let _0x294902={'unitId':_0x229519,'threadId':_0x355f14},_0x58feaa=await this['_httpService']['post'](_0x23b20c(0x15a)+_0x229519+'/list',{'body':_0x294902}),_0x303f54=_0x355f14[_0x23b20c(0x1c0)](_0x5f2cae=>_0x57f6cb(_0x58feaa['body'][_0x23b20c(0x162)][_0x5f2cae],_0x229519,_0x3f105b))['filter'](Boolean);return Object[_0x23b20c(0x153)](_0x58feaa[_0x23b20c(0x13c)][_0x23b20c(0x131)])['forEach'](_0x2c6bad=>{const _0x3fdbbd=_0x23b20c;this[_0x3fdbbd(0x14c)][_0x3fdbbd(0x16b)](_0x2c6bad);}),_0x303f54;}[_0x282255(0x167)](_0x5c6b7f){const _0x8304ae=_0x282255;return{'id':_0x5c6b7f['id'],'threadId':_0x5c6b7f[_0x8304ae(0x192)],'ref':_0x5c6b7f['ref']};}};_0xed0191=_0x443909([_0x12fa85(0x0,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x54a381[_0x282255(0x15b)])),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x1a9)])),_0x12fa85(0x2,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0x24426e[_0x282255(0x194)]))],_0xed0191);let _0x3824e5=class extends _0xcafa72[_0x282255(0x134)]{constructor(_0x326af4,_0x5aed8f){const _0x12dd6c=_0x282255;super(),this[_0x12dd6c(0x15e)]=_0x326af4,this[_0x12dd6c(0x135)]=_0x5aed8f,this[_0x12dd6c(0x183)]();}[_0x282255(0x183)](){const _0x5c6d31=_0x282255;this[_0x5c6d31(0x15e)]['dataSource']=this[_0x5c6d31(0x135)],this['_threadCommentDataSourceService'][_0x5c6d31(0x18e)]=!0x1;}};_0x3824e5=_0x443909([_0x12fa85(0x0,_0x36a034[_0x282255(0x1b7)]),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xed0191))],_0x3824e5);function _0x39446a(_0x29c46c){'@babel/helpers - typeof';const _0x1b66ac=_0x282255;return _0x39446a=typeof Symbol==_0x1b66ac(0x187)&&typeof Symbol['iterator']=='symbol'?function(_0x3a4e50){return typeof _0x3a4e50;}:function(_0xbe2e2d){const _0x200ed6=_0x1b66ac;return _0xbe2e2d&&typeof Symbol==_0x200ed6(0x187)&&_0xbe2e2d['constructor']===Symbol&&_0xbe2e2d!==Symbol[_0x200ed6(0x151)]?_0x200ed6(0x1a4):typeof _0xbe2e2d;},_0x39446a(_0x29c46c);}function _0x37691a(_0x5d5835,_0x137d55){const _0x1f7164=_0x282255;if(_0x39446a(_0x5d5835)!=_0x1f7164(0x198)||!_0x5d5835)return _0x5d5835;var _0x313f72=_0x5d5835[Symbol[_0x1f7164(0x14a)]];if(_0x313f72!==void 0x0){var _0x5883fa=_0x313f72[_0x1f7164(0x170)](_0x5d5835,_0x137d55||_0x1f7164(0x184));if(_0x39446a(_0x5883fa)!=_0x1f7164(0x198))return _0x5883fa;throw TypeError(_0x1f7164(0x14e));}return(_0x137d55===_0x1f7164(0x199)?String:Number)(_0x5d5835);}function _0x369642(_0x5e7d56){const _0xa31c96=_0x282255;var _0x1ad395=_0x37691a(_0x5e7d56,_0xa31c96(0x199));return _0x39446a(_0x1ad395)==_0xa31c96(0x1a4)?_0x1ad395:_0x1ad395+'';}function _0xba2950(_0x3ba3c0,_0x257317,_0x50bf5f){const _0x37916f=_0x282255;return(_0x257317=_0x369642(_0x257317))in _0x3ba3c0?Object[_0x37916f(0x193)](_0x3ba3c0,_0x257317,{'value':_0x50bf5f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ba3c0[_0x257317]=_0x50bf5f,_0x3ba3c0;}let _0xd1b644=class extends _0xcafa72[_0x282255(0x19b)]{constructor(_0x58de19=_0x59a1a7,_0x511526,_0x35f073){const _0x457cee=_0x282255;super(),this[_0x457cee(0x14b)]=_0x58de19,this[_0x457cee(0x197)]=_0x511526,this[_0x457cee(0x157)]=_0x35f073;let {..._0xe96e15}=(0x0,_0xcafa72['merge'])({},_0x59a1a7,this['_config']);this[_0x457cee(0x157)]['setConfig']('thread-comment-data-source.config',_0xe96e15);}[_0x282255(0x1a8)](){[[_0xed0191],[_0x3824e5],[_0x51eb27]]['forEach'](_0x15d335=>{const _0x3e61bb=_0x5ebb;this[_0x3e61bb(0x197)]['add'](_0x15d335);});}[_0x282255(0x1be)](){const _0xe0cca=_0x282255;this['_injector'][_0xe0cca(0x1ad)](_0x3824e5),this['_injector'][_0xe0cca(0x1ad)](_0x51eb27);}};_0xba2950(_0xd1b644,'pluginName',_0x282255(0x182)),_0xba2950(_0xd1b644,_0x282255(0x13a),_0xee7654),_0xba2950(_0xd1b644,'version',_0x1b82ed),_0xd1b644=_0x443909([(0x0,_0xcafa72[_0x282255(0x139)])(_0x48398d[_0x282255(0x1ae)],_0x24426e[_0x282255(0x163)],_0x4a513d['UniverLicensePlugin']),_0x12fa85(0x1,(0x0,_0xcafa72[_0x282255(0x1bb)])(_0xcafa72[_0x282255(0x18a)])),_0x12fa85(0x2,_0xcafa72[_0x282255(0x13f)])],_0xd1b644),Object['defineProperty'](_0x33f0e5,_0x282255(0x17d),{'enumerable':!0x0,'get':function(){return _0xd1b644;}});}));
|
|
15
15
|
|
|
16
16
|
// @univerjs-pro/edit-history-viewer/index
|
|
17
|
-
function _0x4d6c(){const _0x47e255=['4459VFvKZi','_renderDrawingHighlights','useState','edit-history-viewer.panel.listFetchError','position','_messageService','save','_blinkTimer','setRangeTheme','direction','UniverCore','_openPanel$','updatePivotSource','Error','_dialogOptions$','getSheetId','WorkbookRenameSheetPermission','time','refreshRangeProtectPermission','deleteBorder','WorkbookHideSheetPermission','univer-m-auto\x20univer-animate-spin','edit-history-viewer.action.revertSheetPrefix','addObjects','updateShapeType','SetWorksheetColumnCountMutation','getCurrentVersion','univer-animate-spin\x20univer-text-gray-400','_updateDiffMarks','UniverEngineRender','_sheetsPivotTableConfigModel','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','viewportScrollY','insertChart','UniverSheetsDrawing','status','Shape','getHours','params','getCurrentSkeleton','UniverProCollaborationClientUi','edit-history-viewer.panel.aiAssistant','attrs','updatePermissionPoint','_labelPosition','labelPosition','versions','width','creators','updateShapeData','updateChartSource','12px','filter','constructor','useMemo','0\x200\x2020\x2020','_transformService','_extractRanges','registerRenderModule','abs','userId','unknownUser','focusUnit','IUniverInstanceService','url(#restore-icon_clip0_1247_2)','deleteCF','open','_univerInstanceService','setSparkline','assign','toDisposable','VersionDiffRenderController','startsWith','map','from','_canRevert','rgba','rgb','removePivotTable','edit-history-viewer.panel.title','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','close','AddSheetSparklineMutation','getSelectedVersionCanRevert','forValue','[HistoryFetchService]:\x20request\x20snapshot\x20error!','userIds','left','_loadParams','svg','SetWorksheetOrderMutation','708iPGhpc','UniverProSheetsShape','fetchCreatorList','transform','disposeUnit','subUnitIds','color','getViewport','_getLighterColor','ReorderRangeMutation','/universer-api/history','historyListServerUrl','Plugin','padStart','_unitCurrentVersionMap','RevertRevisionMutation','setShapeProps','setPivotFilter','join','/cs?startRevision=','recoverTime','blockMeta','rules','RestoreIcon','flat','SheetDataValidationModel','http://www.w3.org/2000/svg','SetDrawingApplyMutation','Today','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','labelKey','setPivotFieldFormat','COMPRESS_MUTATION_APPLY','triggerDblclick','_injector','getCoordByCell','SheetsFilterService','command','loadInitialVersions','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','toString','SetSheetSparklineMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Subject','WorkbookEditablePermission','backgroundColor','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','102320nozmKy','_workbookDataCache','_draw','SetWorksheetRightToLeftMutation','startRow','_initRender','getMatrix','getVersion','_hasMore','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','changesets','default','INSERT','IConfigService','currentSkeleton$','unitID','edit-history-viewer.panel.confirm','UniverSheetsFilter','SetSheetsFilterRangeMutation','_categorizeMutationRanges','0px','clsx','currentColor','_config','SheetTableService','ICommandService','DisposableCollection','none','AddDataValidationMutation','_createUnit','_stopBlinking','SetWorksheetHideMutation','createElement','ISnapshotServerService','showMask','LoadingMultiIcon','0\x200\x2016\x2016','getUnit','dispose','lineTo','removeNumfmt','Vector2','HEADER','UpdatePivotFieldSourceInfoMutation','removePivotField','UniverNetworkPlugin','_status$','Comment','onStarting','ChartUpdateConfigMutation','showCol','setRowIsAutoHeight','getRule','edit-history-viewer.panel.revertConfirmText','onPointerLeave$','insertDrawings','removeFilter','InsertSheetsChartMutation','button','deleteDrawings','connectInjector','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','AddPivotFieldMutation','unitId','_setFetching','DeleteRangeProtectionMutation','UniverProtocol','subscribeEvent','findAllRectangle','useCallback','/creators','_compressMutationService','addSparkline','setDV','UniverProSheetsChart','MoveConditionalRuleMutation','highlightSecond','absolute','SetPivotFilterMutation','getAncestorScale','univer-size-4\x20univer-animate-spin','moveRows','rgba(21,101,192,0.5)','SetWorksheetRowHeightMutation','CONTENT','_openPanel','dateString','RemoveSheetsShapeMutation','max','SetWorksheetColWidthMutation','mask','_updateWorksheetVisibility','AddPivotTableMutation','toStringTag','chartId','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','confirm-revert-revision','fetching','InsertRowMutation','setPivotOption','disposeWithMe','interceptor','ROW','triggerLoadSheet','white','_color','BackIcon','add','_members','VersionDiffService','_maskContainer','...','_diffRangesMap','insertBorderRanges','createTime','lastLabel','DeleteSheetTableMutation','#0B9EFB','forwardRef','scrollToShape','delete','revertRevision$','reorderSheet','renameSheet','_componentManager','jsxs','columnData','_scrollToShape','9ZaPFRt','_combineRanges','_name','subUnitId','setPivotPosition','_context','show','0.2)','evented','18913340luHQSw','Dropdown','clearTimeout','range','_versionDiffService','version','_drawingManagerService','slice','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','key','getRange','shapeId','moveCF','SetPivotSortMutation','drawingId','SetWorksheetActiveOperation','concat','parseProtocolChangeset','flex','3357270IAHyDE','clearInterval','univer-min-w-0\x20univer-flex-1','SheetSkeletonManagerService','getFilterModel','restore-icon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','edit-history-viewer.panel.currentVersion','addProtection','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','getPivotTableRangeInfo','exited','sparklineConfigMap','state$','loading-multi-icon','SetRangeThemeMutation','deleteCellRanges','_snapshotServerService','1px','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','7.08645','path','_updateVersions','updateTable','_fetching$','_drawTextBubble','action','current','VIEW_MAIN','forEach','endRow','_detailVersionsMap','univer-flex\x20univer-items-center\x20univer-justify-center','unitId$','strokeStyle','getVpScrollXYInfoByPosToVp','history-mask','InsertSheetsShapeMutation','includes','10px','30px','_blinkIntervalTimer','Module','useObservable','useEffect','now','SetRangeProtectionMutation','getDataRange','sparklines','font','ruleId','setRightToLeft','setPivotValueFilter','rgba(225,\x20225,\x20225,\x200.5)','isSheetHidden','justifyContent','renameWorkbook','_unitId$','highlight','getSubUnitId','updateDrawings','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','user','string','_showText','setColWidth','hideRow','find','asObservable','SetWorksheetPermissionPointsMutation','MoveRowsMutation','_handleOverlappingShapes','6.77028','column','IDialogService','targetRange','rgba(198,40,40,0.5)','UniverUi','_sheetSkeletonManagerService','_getSheetObject','moveRange','_removeDiffMarks','RenamePivotFieldMutation','ChartUpdateSourceConfigMutation','categorizeMutationRanges','zIndex','1em','_initActiveSwitch','UpdatePivotTableSourceRangeMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UpdateSheetsShapeDataMutation','univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','getDrawingByParam','users',',\x200.2)','additionalFields','RemoveRowMutation','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','_applyWorkbookData','_configService','SetNumfmtMutation','SetSheetTableMutation','SheetsPivotTableConfigModel','push','arrowColumnRanges','ErrorCode','Failed\x20to\x20fetch\x20version\x20details:','sourceRange','IPermissionService','_drawingDiffs','MoveColsMutation','switchMap','univer-text-sm','edit-history-viewer.action.','fillStyle','entered','vertical','#FF557D','subType','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','decorate','VIRTUAL_VERSION_NOW','onSteady','fillText','toISOString','edit-history-viewer.action.removeDrawing','SetPivotPositionMutation','removeCol','transformMutations','setRowHeight','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','SetWorkbookNameMutation','MessageType','univer-relative','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','isArray','InsertSheetMutation','_loadingState$','edit-history-viewer.panel.cancel','setFilterCriteria','middle','copySheet','groupIds','onPointerEnter$','User','SetRowHiddenMutation','SetPivotOptionMutation','_arrowDiffs','renamePivotField','updateBorder','Entered','IDrawingManagerService','getDeserializedSheetBlock','updateChartConfig','Unspecified','RemoveNumfmtMutation','loading','ZH_CN','getSheets','_highlight','SetWorksheetDefaultStyleMutation','cellValue','edit-history-viewer.header.back','hide','SetWorksheetRowCountMutation','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','unmergeCells','date','objects','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','merge','UniverNetwork','0.31','COLUMN','_sidebarService','small','end','RemoveDataValidationMutation','RenameSheet','substring','deleteWorksheetRangeTheme','data','Inject','edit-history-viewer.action.insertDrawing','Fragment','arrowColumn','SetRowDataMutation','parseInt','parent','DeleteConditionalRuleMutation','scrollToViewportPos','pivotTableId','register','100%','_commandService','insertRow','triggerCustomVersions','Character','SparklineDataSourceModel','edit-history-viewer.panel.filterAi','columnHeaderHeight','SHEET_VIEWPORT_KEY','getHistoryChangesets','Disposable','revision','historyAIassistantEnabled','all','LRUMap','_lastLabel','deleteRangeProtection','Edit','_sheetsChartService','#A656FF','insert','hideMask','univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','726342SvdeTM','CopyWorksheetEndMutation','resolve','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','unionPivotViewRange','tag','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','UNIVER_SHEET','arrowRowRanges','primary','loadMoreVersions','addRangeProtection','stop','currentVersion','setColCount','_init','UniverProEditHistoryViewer','edit-history-viewer.panel.filterCollaboratorCancel','AddWorksheetProtectionMutation','_findOverlappingShapes','span','setValue','confirm','getCurrentLocale','UniverProSheetsSparkline','SnapshotServerOverHTTPService','loadingState$','CollaborationImageIoService','edit-history-viewer.panel.unknownUser','SetColDataMutation','origin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_creators$','_sheetTableService','-drawing-','next','0\x200\x2016\x2017','SetRowVisibleMutation','univer-h-12','SetConditionalRuleMutation','startRev','loaded','Tooltip','tableId','showRow','univer-w-10','_setVersions','getOwnPropertyDescriptor','stringify','Checkbox','link','ranges','bottom','UniverSheetsUi','symbol','_historyContainerId','historyPanelComponentKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SetRangeValuesMutation','getConfig','SetWorksheetRowAutoHeightMutation','_initPanel','getVersions','0.25.0','keys','addTable','_uiPartsService','Button','chartModelId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-text-gray-400','getRelativeToViewportCoord','Rect','_hovered','UniverSheets','cfId','SetSheetTableFilterMutation','univer-h-[60%]','_httpService','_currentVersion$','UpdateDataValidationMutation','sheetId','active','UniverSheetsConditionalFormatting','value','start','reverse','getCurrentUnitOfType','setOffsetY','scroll','univer-flex-1','_sidebarDisposable','object','transformSnapshotToWorkbookData','edit-history-viewer.panel.currentUser','IRenderManagerService','WorkbookMoveSheetPermission','registerComponent','SetPivotFieldFormatMutation',':\x20(','UniverProCollaboration','isTransformMutationsSuccess','hideSheet','children','_localeService','UniverEditHistoryViewerPlugin','center','fetching$','row','beginPath','set','moveTo','entries','name','currentVersionDiff$','removeEventListener','DependentOn','UniverInstanceType','_rangeProtectionRuleModel','startDateString','_historyFetchService','setPermissionPoints','MoveRangeMutation','SetPivotValueFilterMutation','hideCol','RemoveSheetsChartMutation','AddConditionalRuleMutation','colorChannel1','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','call','creators$','entities','UniverDataValidation','setPivotCollapse','rect','_cellEditorManagerService','53915RwdTHb','ruleIds','-detail-','reorderRange','rowData','top','update','UniverSheetsDataValidation','arc','HistoryModeStatus','openPanel$','length','horizontal','_registerHeader','_renderCellRanges','anonymous','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','_conditionalFormattingRuleModel','reduce','setRowData','_drawHorizontalArrow','setColData','append','some','addPivotField','RemoveSheetsFilterMutation','getMinutes','ReCalcSheetsFilterMutation','IImageIoService','sort','SetFrozenMutation','canRevert','AddRangeProtectionMutation','_permissionService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','1231972etyDGb','CompressMutationService','univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950','50%','split','_yieldToMain','transparent','scene','getInterceptPoints','subscribe','error','HTTPService','hasCommand','setPivotSort','_renderArrowRanges','hideDiffMarks','isError','startRevCreateTime','UnitAction','univer-size-8\x20univer-text-gray-400','setWorksheetRangeTheme','REMOVE','BuiltInUIPart','SetSheetsFilterCriteriaMutation','MoreRightIcon','drawingIds','get','updateCellRanges','back-icon','removeTable','moveCols','setPivotSubtotalType','_confirmService','combineLatest','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','setRangeProtection','xlink:href','height','univer-size-4\x20univer-shrink-0','AddSheetTableMutation','removeShape','HideSheet','commands','measureText','SetPivotSubtotalTypeMutation','debounce','startRevision','mergeCells','endColumn','more-right-icon','executeCommand','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','pipe','syncExecuteCommand','getRuleById','DrawingApplyType','edit-history-viewer.header.revert','SheetCollabCursorShape','defs','hovered','addPivotTable','deleteProtection','getSelectedVersionIsCurrentVersion','IUIPartsService','createUnit','parse','useRef','arrowRow','display','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800','makeDirty','triggerRevert','insertCellRanges','clear','univerjs-icon\x20univerjs-icon-','_drawVerticalArrow','BehaviorSubject','closeAll','DeleteWorksheetRangeThemeStyleMutation','highlightRow','rule','code','RemoveSheetSparklineMutation','React','RemoveWorksheetMergeMutation','userID','UpdateSheetsShapeTypeMutation','ObjectMatrix','Injector','useDependency','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','linearGradient','removeDV','setFilter','ISidebarService','jsx','packageName','removeSheet','removeAll','#2793FF','FloatImg','FunnelIcon','SetPivotCollapseMutation','min','replace','1000','FromArray','_dataValidationModel','has','_transformMutationByOrder','RANGE_TYPE','setProtection','rangeInfo','edit-history-viewer.panel.revertDesc','_getAPIPrefix','removeRangeTheme','restore','currentVersion$','LocaleType','style','blocks','getTableInfo','mutations','SheetsChartService','getUnitOnRev','RemovePivotFieldMutation','paint0_linear_236_415','stroke','ICellEditorManagerService','/list?','Info','edit-history-viewer.config','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','SetWorksheetRangeThemeStyleMutation','_getActiveSubUnitId','defineProperty','RemovePivotTableMutation','_createMask','LocaleService','insertBorder','getCurrentUnitCurrentVersion','stopPropagation','showText','fill','recalcFilter','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','addEventListener','UpdateValuePositionMutation','toPrimitive','editSheet','block','_isBlinkVisible','_revertRevision$','random','historyPanelHidden','loadingState','univer-flex-1\x20univer-overflow-y-auto','idSuffix','ConditionalFormattingRuleModel','restore-icon_clip0_1247_2','RemoveSheetMutation','_versions$','evenodd','init','RangeMergeUtil','&endRevision=','0.01','onMouseMove','values','UpdateFieldPositionMutation','status$','removeSparkline','setTableFilter','transformByState','setConfig','pluginName','setCF','MoveSheet','onRendered','_sparklineDataSourceModel','_cacheKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setGridlinesColor','_diffs','univer-text-gray-500','InsertColMutation','setDefaultStyle','trim','div','getMutationActionMap','body','endRev','Segmented','_currentVersionDiff$','history-panel','rgba(46,125,50,0.5)','80gHNLDg','univer-relative\x20univer-h-8','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_borderDiffs','displayName','lineWidth','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','updateValuePosition','getUnitId','_renderManagerService','closePath','_historyManagerService','_lastPointer','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','label','_maskElement','IMessageService','startColumn','_startBlinking','ensureVersion','updateBorderRanges','permissionPointUpdate$','_renderBorderRanges','fetchThroughInterceptors','function','ITransformService','type','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','1.66418','url(#$1','translateY(-50%)','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','ComponentManager','getMember','iterator','_sheetsFilterService','deleteBorderRanges','_direction','_highlightSecond','createSheet','insertSheet','highlightColumn','endRevCreateTime'];_0x4d6c=function(){return _0x47e255;};return _0x4d6c();}function _0x4408(_0xb62c1a,_0x46ee36){_0xb62c1a=_0xb62c1a-0x70;const _0x4d6c2e=_0x4d6c();let _0x440882=_0x4d6c2e[_0xb62c1a];return _0x440882;}(function(_0x858b36,_0x4036bc){const _0x1c796b=_0x4408,_0x58b94e=_0x858b36();while(!![]){try{const _0x367590=parseInt(_0x1c796b(0x184))/0x1+-parseInt(_0x1c796b(0x22f))/0x2+-parseInt(_0x1c796b(0xac))/0x3+-parseInt(_0x1c796b(0x2f4))/0x4*(parseInt(_0x1c796b(0x20c))/0x5)+parseInt(_0x1c796b(0x37b))/0x6*(-parseInt(_0x1c796b(0x31f))/0x7)+-parseInt(_0x1c796b(0x3aa))/0x8*(parseInt(_0x1c796b(0x90))/0x9)+parseInt(_0x1c796b(0x99))/0xa;if(_0x367590===_0x4036bc)break;else _0x58b94e['push'](_0x58b94e['shift']());}catch(_0x3e134d){_0x58b94e['push'](_0x58b94e['shift']());}}}(_0x4d6c,0x8d5a8),function(_0x45f666,_0x38806c){const _0x481516=_0x4408;typeof exports==_0x481516(0x1e0)&&typeof module<'u'?_0x38806c(exports,require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/design'),require('@univerjs/ui'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-table'),require('@univerjs/network'),require('@univerjs/protocol'),require('@univerjs/sheets-data-validation'),require('@univerjs-pro/collaboration-client'),require('react'),require('react/jsx-runtime')):typeof define==_0x481516(0x30c)&&define['amd']?define(_0x481516(0x3a9)['split']('.'),_0x38806c):(_0x45f666=typeof globalThis<'u'?globalThis:_0x45f666||self,_0x38806c(_0x45f666[_0x481516(0x194)]={},_0x45f666[_0x481516(0x348)],_0x45f666[_0x481516(0x329)],_0x45f666['UniverDrawing'],_0x45f666[_0x481516(0x33c)],_0x45f666[_0x481516(0x1ce)],_0x45f666[_0x481516(0x1b9)],_0x45f666['rxjs'],_0x45f666['UniverDesign'],_0x45f666[_0x481516(0xf9)],_0x45f666[_0x481516(0x1e8)],_0x45f666[_0x481516(0x3f4)],_0x45f666['UniverProSheetsPivot'],_0x45f666[_0x481516(0x37c)],_0x45f666[_0x481516(0x19c)],_0x45f666[_0x481516(0x208)],_0x45f666[_0x481516(0x1d7)],_0x45f666[_0x481516(0x342)],_0x45f666[_0x481516(0x3bb)],_0x45f666['UniverSheetsTable'],_0x45f666[_0x481516(0x157)],_0x45f666[_0x481516(0x3ec)],_0x45f666[_0x481516(0x213)],_0x45f666['UniverProCollaborationClient'],_0x45f666[_0x481516(0x283)],_0x45f666['React']));}(this,function(_0x422e92,_0x5455be,_0x3bba19,_0x42dade,_0x7352c7,_0x5431fa,_0x24294d,_0x54d7f0,_0x4b600c,_0x3f2000,_0x26651d,_0x5302d2,_0x3089bf,_0x592f14,_0x4b82f6,_0x4ca1e8,_0x3463d2,_0x5a4e7e,_0x4f392a,_0x22596e,_0x4def42,_0x1ea6dc,_0xd0b5e7,_0xf6793f,_0x2ae8f3,_0x31ec98){const _0x2267a7=_0x4408;Object[_0x2267a7(0x2b7)](_0x422e92,Symbol[_0x2267a7(0x407)],{'value':_0x2267a7(0xd6)});function _0x3fad89(_0x293091=_0x2267a7(0x11d)){const _0x502d35=_0x2267a7;return{'collaboration':[{'id':_0x26651d['CreateUnitMutation']['id'],'action':_0x293091+_0x502d35(0x31b)},{'id':_0x26651d['RevertRevisionMutation']['id'],'action':_0x293091+'revertSheet'}],'sheets':[{'id':_0x5431fa[_0x502d35(0x134)]['id'],'action':_0x293091+_0x502d35(0x31c)},{'id':_0x5431fa[_0x502d35(0x2d0)]['id'],'action':_0x293091+_0x502d35(0x291)},{'id':_0x5431fa['SetWorksheetNameMutation']['id'],'action':_0x293091+_0x502d35(0x8b)},{'id':_0x5431fa[_0x502d35(0x37a)]['id'],'action':_0x293091+_0x502d35(0x8a)},{'id':_0x5431fa[_0x502d35(0x3c9)]['id'],'action':_0x293091+_0x502d35(0x1ea)},{'id':_0x5431fa[_0x502d35(0x185)]['id'],'action':_0x293091+_0x502d35(0x139)},{'id':_0x5431fa['SetTabColorMutation']['id'],'action':_0x293091+'setTabColor'},{'id':_0x5431fa[_0x502d35(0x12f)]['id'],'action':_0x293091+_0x502d35(0xe4)},{'id':_0x5431fa[_0x502d35(0x72)]['id'],'action':_0x293091+_0x502d35(0x16f)},{'id':_0x5431fa[_0x502d35(0x2e9)]['id'],'action':_0x293091+'insertCol'},{'id':_0x5431fa[_0x502d35(0x10c)]['id'],'action':_0x293091+'removeRow'},{'id':_0x5431fa['RemoveColMutation']['id'],'action':_0x293091+_0x502d35(0x12b)},{'id':_0x5431fa[_0x502d35(0xf2)]['id'],'action':_0x293091+'moveRows'},{'id':_0x5431fa['MoveColsMutation']['id'],'action':_0x293091+_0x502d35(0x24d)},{'id':_0x5431fa[_0x502d35(0x1a9)]['id'],'action':_0x293091+_0x502d35(0x1b0)},{'id':_0x5431fa[_0x502d35(0x13d)]['id'],'action':_0x293091+_0x502d35(0xee)},{'id':_0x5431fa['SetColVisibleMutation']['id'],'action':_0x293091+_0x502d35(0x3dc)},{'id':_0x5431fa['SetColHiddenMutation']['id'],'action':_0x293091+_0x502d35(0x200)},{'id':_0x5431fa['SetWorksheetRowHeightMutation']['id'],'action':_0x293091+_0x502d35(0x12d)},{'id':_0x5431fa[_0x502d35(0x403)]['id'],'action':_0x293091+'setColWidth'},{'id':_0x5431fa[_0x502d35(0x1c0)]['id'],'action':_0x293091+'setRowAutoHeight'},{'id':_0x5431fa['SetWorksheetRowIsAutoHeightMutation']['id'],'action':_0x293091+_0x502d35(0x3dd)},{'id':_0x5431fa[_0x502d35(0x166)]['id'],'action':_0x293091+_0x502d35(0x21f)},{'id':_0x5431fa[_0x502d35(0x1a1)]['id'],'action':_0x293091+'setColData'},{'id':_0x5431fa[_0x502d35(0x150)]['id'],'action':_0x293091+'setRowCount'},{'id':_0x5431fa[_0x502d35(0x338)]['id'],'action':_0x293091+_0x502d35(0x192)},{'id':_0x5431fa[_0x502d35(0x1be)]['id'],'action':_0x293091+'setRangeValues'},{'id':_0x5431fa[_0x502d35(0x1fe)]['id'],'action':_0x293091+_0x502d35(0xfc)},{'id':_0x5431fa[_0x502d35(0x384)]['id'],'action':_0x293091+_0x502d35(0x20f)},{'id':_0x5431fa['AddWorksheetMergeMutation']['id'],'action':_0x293091+_0x502d35(0x25e)},{'id':_0x5431fa[_0x502d35(0x284)]['id'],'action':_0x293091+'unmergeCells'},{'id':_0x5431fa[_0x502d35(0x22a)]['id'],'action':_0x293091+'setFrozen'},{'id':_0x5431fa['ToggleGridlinesMutation']['id'],'action':_0x293091+'toggleGridlines'},{'id':_0x5431fa['SetGridlinesColorMutation']['id'],'action':_0x293091+_0x502d35(0x2e6)},{'id':_0x5431fa[_0x502d35(0x3ad)]['id'],'action':_0x293091+_0x502d35(0xdf)},{'id':_0x5431fa[_0x502d35(0x14c)]['id'],'action':_0x293091+_0x502d35(0x2ea)},{'id':_0x5431fa[_0x502d35(0x196)]['id'],'action':_0x293091+_0x502d35(0xb4)},{'id':_0x5431fa['SetWorksheetProtectionMutation']['id'],'action':_0x293091+_0x502d35(0x29f)},{'id':_0x5431fa['DeleteWorksheetProtectionMutation']['id'],'action':_0x293091+_0x502d35(0x26c)},{'id':_0x5431fa[_0x502d35(0x22c)]['id'],'action':_0x293091+_0x502d35(0x18f)},{'id':_0x5431fa[_0x502d35(0xda)]['id'],'action':_0x293091+'setRangeProtection'},{'id':_0x5431fa[_0x502d35(0x3eb)]['id'],'action':_0x293091+_0x502d35(0x17d)},{'id':_0x5431fa[_0x502d35(0xf1)]['id'],'action':_0x293091+_0x502d35(0x1fd)},{'id':_0x5431fa[_0x502d35(0x110)]['id'],'action':_0x293091+'setNumfmt'},{'id':_0x5431fa[_0x502d35(0x147)]['id'],'action':_0x293091+_0x502d35(0x3d2)},{'id':_0x5431fa['AddRangeThemeMutation']['id'],'action':_0x293091+'addRangeTheme'},{'id':_0x5431fa[_0x502d35(0xbb)]['id'],'action':_0x293091+_0x502d35(0x327)},{'id':_0x5431fa['RemoveRangeThemeMutation']['id'],'action':_0x293091+_0x502d35(0x2a3)},{'id':_0x5431fa[_0x502d35(0x2b5)]['id'],'action':_0x293091+_0x502d35(0x243)},{'id':_0x5431fa[_0x502d35(0x27e)]['id'],'action':_0x293091+_0x502d35(0x160)}],'sheetsConditionalFormatting':[{'id':_0x3463d2[_0x502d35(0x202)]['id'],'action':_0x293091+_0x502d35(0x2e0)},{'id':_0x3463d2[_0x502d35(0x1ab)]['id'],'action':_0x293091+_0x502d35(0x2e0)},{'id':_0x3463d2['DeleteConditionalRuleMutation']['id'],'action':_0x293091+_0x502d35(0x361)},{'id':_0x3463d2[_0x502d35(0x3f5)]['id'],'action':_0x293091+'moveCF'}],'sheetsFilter':[{'id':_0x4f392a[_0x502d35(0x3bc)]['id'],'action':_0x293091+_0x502d35(0x28d)},{'id':_0x4f392a[_0x502d35(0x246)]['id'],'action':_0x293091+_0x502d35(0x137)},{'id':_0x4f392a['RemoveSheetsFilterMutation']['id'],'action':_0x293091+_0x502d35(0x3e2)},{'id':_0x4f392a[_0x502d35(0x227)]['id'],'action':_0x293091+_0x502d35(0x2c0)}],'dataValidation':[{'id':_0x4ca1e8[_0x502d35(0x3c6)]['id'],'action':_0x293091+_0x502d35(0x3f3)},{'id':_0x4ca1e8[_0x502d35(0x1d4)]['id'],'action':_0x293091+_0x502d35(0x3f3)},{'id':_0x4ca1e8[_0x502d35(0x15d)]['id'],'action':_0x293091+_0x502d35(0x28c)}],'sheetsChart':[{'id':_0x5302d2[_0x502d35(0x3e3)]['id'],'action':_0x293091+_0x502d35(0x341)},{'id':_0x5302d2['RemoveSheetsChartMutation']['id'],'action':_0x293091+'removeChart'},{'id':_0x5302d2[_0x502d35(0x3db)]['id'],'action':_0x293091+_0x502d35(0x145)},{'id':_0x5302d2['ChartUpdateSourceConfigMutation']['id'],'action':_0x293091+_0x502d35(0x352)}],'sheetsSparkline':[{'id':_0x4b82f6[_0x502d35(0x372)]['id'],'action':_0x293091+'addSparkline'},{'id':_0x4b82f6[_0x502d35(0x3a4)]['id'],'action':_0x293091+_0x502d35(0x364)},{'id':_0x4b82f6[_0x502d35(0x282)]['id'],'action':_0x293091+_0x502d35(0x2db)}],'sheetsPivot':[{'id':_0x3089bf[_0x502d35(0x406)]['id'],'action':_0x293091+'addPivotTable'},{'id':_0x3089bf[_0x502d35(0x2b8)]['id'],'action':_0x293091+_0x502d35(0x36e)},{'id':_0x3089bf[_0x502d35(0x13e)]['id'],'action':_0x293091+_0x502d35(0x73)},{'id':_0x3089bf[_0x502d35(0x12a)]['id'],'action':_0x293091+_0x502d35(0x94)},{'id':_0x3089bf[_0x502d35(0x104)]['id'],'action':_0x293091+_0x502d35(0x32b)},{'id':_0x3089bf[_0x502d35(0x3e8)]['id'],'action':_0x293091+_0x502d35(0x224)},{'id':_0x3089bf[_0x502d35(0x2ad)]['id'],'action':_0x293091+_0x502d35(0x3d6)},{'id':_0x3089bf[_0x502d35(0xfe)]['id'],'action':_0x293091+_0x502d35(0x140)},{'id':_0x3089bf[_0x502d35(0x2d9)]['id'],'action':_0x293091+'updateFieldPosition'},{'id':_0x3089bf[_0x502d35(0x2c3)]['id'],'action':_0x293091+_0x502d35(0x2fb)},{'id':_0x3089bf[_0x502d35(0x3d5)]['id'],'action':_0x293091+'updatePivotFieldSource'},{'id':_0x3089bf[_0x502d35(0x1e6)]['id'],'action':_0x293091+_0x502d35(0x39a)},{'id':_0x3089bf[_0x502d35(0x3f8)]['id'],'action':_0x293091+_0x502d35(0x38c)},{'id':_0x3089bf[_0x502d35(0x1ff)]['id'],'action':_0x293091+'setPivotValueFilter'},{'id':_0x3089bf[_0x502d35(0xa6)]['id'],'action':_0x293091+_0x502d35(0x23c)},{'id':_0x3089bf[_0x502d35(0x296)]['id'],'action':_0x293091+_0x502d35(0x209)},{'id':_0x3089bf[_0x502d35(0x25b)]['id'],'action':_0x293091+_0x502d35(0x24e)}],'sheetsShape':[{'id':_0x592f14['InsertSheetsShapeMutation']['id'],'action':_0x293091+'insertShape'},{'id':_0x592f14[_0x502d35(0x401)]['id'],'action':_0x293091+_0x502d35(0x257)},{'id':_0x592f14[_0x502d35(0x106)]['id'],'action':_0x293091+_0x502d35(0x351)},{'id':_0x592f14[_0x502d35(0x286)]['id'],'action':_0x293091+_0x502d35(0x337)}],'sheetsTable':[{'id':_0x22596e['AddSheetTableMutation']['id'],'action':_0x293091+_0x502d35(0x1c5)},{'id':_0x22596e['DeleteSheetTableMutation']['id'],'action':_0x293091+_0x502d35(0x24c)},{'id':_0x22596e[_0x502d35(0x111)]['id'],'action':_0x293091+'updateTable'},{'id':_0x22596e['SetSheetTableFilterMutation']['id'],'action':_0x293091+_0x502d35(0x2dc)}],'sheetsDrawing':[{'id':_0x5a4e7e[_0x502d35(0x396)]['id'],'action':_0x293091+'updateDrawing'}]};}function _0x58c542(_0x3cbdb2=_0x2267a7(0x11d)){const _0x3c8059=_0x2267a7;let _0x54c079=_0x3fad89(_0x3cbdb2);return Object['values'](_0x54c079)[_0x3c8059(0x393)]();}let _0x1b9d4d=(_0x1716af,_0x2556d7)=>{const _0x47c6e9=_0x2267a7;if(!_0x1716af)return{'date':'','time':''};let _0x4b0161=new Date(_0x1716af),_0x429b79=_0x4b0161[_0x47c6e9(0x128)]()['split']('T')[0x0];switch(_0x2556d7){case _0x3bba19[_0x47c6e9(0x2a6)][_0x47c6e9(0x149)]:return{'date':_0x3eb521(_0x429b79,_0x2556d7),'time':_0x4b0161[_0x47c6e9(0x345)]()+':'+String(_0x4b0161[_0x47c6e9(0x226)]())[_0x47c6e9(0x388)](0x2,'0')+':'+String(_0x4b0161['getSeconds']())[_0x47c6e9(0x388)](0x2,'0')};default:return{'date':_0x3eb521(_0x429b79,_0x2556d7),'time':_0x4b0161[_0x47c6e9(0x345)]()+':'+_0x4b0161[_0x47c6e9(0x226)]()+':'+_0x4b0161['getSeconds']()};}},_0x319690=(_0x133992,_0x8efba2)=>{const _0x4964f7=_0x2267a7;if(_0x133992['commands'][_0x4964f7(0x223)](_0xf526be=>_0xf526be===_0x26651d[_0x4964f7(0x38a)]['id'])&&_0x133992['recoverTime']){let _0x95e9ad=_0x1b9d4d(_0x133992[_0x4964f7(0x38f)],_0x8efba2[_0x4964f7(0x19b)]()),_0x295717=_0x95e9ad[_0x4964f7(0x153)]+'\x20'+_0x95e9ad['time'];return _0x8efba2['t'](_0x4964f7(0x335))+'\x20'+_0x295717+'\x20'+_0x8efba2['t']('edit-history-viewer.action.revertSheetSuffix');}let _0x25a156=_0x4bcedf(_0x133992),_0x434af4=Array[_0x4964f7(0x36a)](new Set(_0x25a156)),_0x41d0d3;if(_0x434af4[_0x4964f7(0x217)]===0x1)_0x41d0d3=_0x8efba2['t'](_0x434af4[0x0]);else{let _0x360c31=_0x434af4[_0x4964f7(0xa0)](0x0,0x5)['map'](_0x5d54c1=>_0x8efba2['t'](_0x5d54c1))['join'](',\x20');_0x41d0d3=_0x434af4['length']>0x5?''+_0x360c31+_0x8efba2['t']('edit-history-viewer.action.etc'):_0x360c31;}return''+_0x41d0d3;};function _0x4bcedf(_0x31fed2){const _0x2d7b7c=_0x2267a7;if(_0x31fed2[_0x2d7b7c(0x259)][_0x2d7b7c(0x217)]===0x0)return[''];let _0x1f39ea=_0x2d7b7c(0x11d),_0x45facf=_0x1f39ea+_0x2d7b7c(0x2c5),_0x541f5e=_0x58c542(_0x1f39ea)[_0x2d7b7c(0x354)](_0x43cd9f=>_0x31fed2[_0x2d7b7c(0x259)][_0x2d7b7c(0xd2)](_0x43cd9f['id']));return _0x541f5e!=null&&_0x541f5e[_0x2d7b7c(0x217)]?_0x541f5e[_0x2d7b7c(0x369)](_0x1dfd81=>_0x1dfd81[_0x2d7b7c(0xc6)]):[_0x45facf];}function _0x3eb521(_0x58c3ac,_0x555375){const _0x3fb996=_0x2267a7;let [_0x38e1b7,_0x2fa722,_0x52fe59]=new Date()[_0x3fb996(0x128)]()[_0x3fb996(0x233)]('T')[0x0][_0x3fb996(0x233)]('-'),[_0x414702,_0x408e6d,_0x12a5ec]=_0x58c3ac[_0x3fb996(0x233)]('-'),_0x35eaf8=_0x38e1b7===_0x414702&&_0x2fa722===_0x408e6d&&_0x52fe59===_0x12a5ec,_0x31d9e3='',_0x59efe9='',_0x2a9628='';switch(_0x555375){case _0x3bba19['LocaleType'][_0x3fb996(0x149)]:return _0x35eaf8?'今天':(_0x31d9e3=_0x38e1b7===_0x414702?'':_0x414702+'年',_0x59efe9=_0x408e6d+'月',_0x2a9628=_0x12a5ec+'日',''+_0x31d9e3+_0x59efe9+_0x2a9628);default:return _0x35eaf8?_0x3fb996(0x397):(_0x31d9e3=_0x38e1b7===_0x414702?'':_0x414702+'-',_0x59efe9=_0x408e6d+'-',_0x2a9628=''+_0x12a5ec,''+_0x31d9e3+_0x59efe9+_0x2a9628);}}function _0x3843cd(_0x363771){const _0x42c7ef=_0x2267a7;return _0x363771?_0x363771[_0x42c7ef(0x21e)]((_0xb3b6d8,_0x1a08f7)=>{const _0xe2efaf=_0x42c7ef;let _0x26c876=new Date(_0x1a08f7['time'])[_0xe2efaf(0x128)]()['split']('T')[0x0],_0x13eb8b=_0x1a08f7[_0xe2efaf(0x240)]?new Date(_0x1a08f7[_0xe2efaf(0x240)])[_0xe2efaf(0x128)]()[_0xe2efaf(0x233)]('T')[0x0]:_0x26c876,_0x1d7ce4=_0x1a08f7[_0xe2efaf(0x31e)]?new Date(_0x1a08f7[_0xe2efaf(0x31e)])['toISOString']()[_0xe2efaf(0x233)]('T')[0x0]:_0x26c876;return _0xb3b6d8[_0xe2efaf(0x217)]>0x0&&_0xb3b6d8[_0xb3b6d8[_0xe2efaf(0x217)]-0x1][_0xe2efaf(0x1fb)]===_0x13eb8b?_0xb3b6d8[_0xb3b6d8[_0xe2efaf(0x217)]-0x1][_0xe2efaf(0x34e)][_0xe2efaf(0x113)](_0x1a08f7):_0xb3b6d8[_0xe2efaf(0x113)]({'dateString':_0x26c876,'startDateString':_0x13eb8b,'endDateString':_0x1d7ce4,'versions':[_0x1a08f7]}),_0xb3b6d8;},[]):[];}let _0x416c3e=_0x2267a7(0x2b3),_0x671578={};function _0x60ad63(_0x15297b){'@babel/helpers - typeof';const _0x2b69e1=_0x2267a7;return _0x60ad63=typeof Symbol==_0x2b69e1(0x30c)&&typeof Symbol[_0x2b69e1(0x316)]==_0x2b69e1(0x1ba)?function(_0x4089a7){return typeof _0x4089a7;}:function(_0xf25d88){const _0x2c08ac=_0x2b69e1;return _0xf25d88&&typeof Symbol==_0x2c08ac(0x30c)&&_0xf25d88[_0x2c08ac(0x355)]===Symbol&&_0xf25d88!==Symbol['prototype']?_0x2c08ac(0x1ba):typeof _0xf25d88;},_0x60ad63(_0x15297b);}function _0x5f3b09(_0x25183f,_0x51e32e){const _0x379096=_0x2267a7;if(_0x60ad63(_0x25183f)!=_0x379096(0x1e0)||!_0x25183f)return _0x25183f;var _0xa1f0cd=_0x25183f[Symbol[_0x379096(0x2c4)]];if(_0xa1f0cd!==void 0x0){var _0x702987=_0xa1f0cd[_0x379096(0x205)](_0x25183f,_0x51e32e||_0x379096(0x3b5));if(_0x60ad63(_0x702987)!=_0x379096(0x1e0))return _0x702987;throw TypeError(_0x379096(0x204));}return(_0x51e32e===_0x379096(0xeb)?String:Number)(_0x25183f);}function _0x566de1(_0x11ab01){const _0x2fce4f=_0x2267a7;var _0x9be8ef=_0x5f3b09(_0x11ab01,_0x2fce4f(0xeb));return _0x60ad63(_0x9be8ef)=='symbol'?_0x9be8ef:_0x9be8ef+'';}function _0x374704(_0x19a3f3,_0x4edd2e,_0x73ef55){const _0x1264e2=_0x2267a7;return(_0x4edd2e=_0x566de1(_0x4edd2e))in _0x19a3f3?Object[_0x1264e2(0x2b7)](_0x19a3f3,_0x4edd2e,{'value':_0x73ef55,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19a3f3[_0x4edd2e]=_0x73ef55,_0x19a3f3;}function _0x550961(_0x1fca9a,_0x3ca263){return function(_0x5d4bc5,_0x2353dc){_0x3ca263(_0x5d4bc5,_0x2353dc,_0x1fca9a);};}function _0x9526d9(_0x3b1a0a,_0x2ba371,_0x386356,_0x27ec47){const _0x4138ef=_0x2267a7;var _0x48f7a6=arguments[_0x4138ef(0x217)],_0x152e95=_0x48f7a6<0x3?_0x2ba371:_0x27ec47===null?_0x27ec47=Object[_0x4138ef(0x1b3)](_0x2ba371,_0x386356):_0x27ec47,_0x52bb86;if(typeof Reflect==_0x4138ef(0x1e0)&&typeof Reflect[_0x4138ef(0x124)]==_0x4138ef(0x30c))_0x152e95=Reflect[_0x4138ef(0x124)](_0x3b1a0a,_0x2ba371,_0x386356,_0x27ec47);else{for(var _0x3c020e=_0x3b1a0a['length']-0x1;_0x3c020e>=0x0;_0x3c020e--)(_0x52bb86=_0x3b1a0a[_0x3c020e])&&(_0x152e95=(_0x48f7a6<0x3?_0x52bb86(_0x152e95):_0x48f7a6>0x3?_0x52bb86(_0x2ba371,_0x386356,_0x152e95):_0x52bb86(_0x2ba371,_0x386356))||_0x152e95);}return _0x48f7a6>0x3&&_0x152e95&&Object[_0x4138ef(0x2b7)](_0x2ba371,_0x386356,_0x152e95),_0x152e95;}let _0x24ac3f=function(_0xeebf2d){const _0x201062=_0x2267a7;return _0xeebf2d[_0xeebf2d[_0x201062(0x146)]=0x0]=_0x201062(0x146),_0xeebf2d[_0xeebf2d[_0x201062(0x13c)]=0x1]=_0x201062(0x13c),_0xeebf2d[_0xeebf2d[_0x201062(0x171)]=0x2]=_0x201062(0x171),_0xeebf2d;}({}),_0x57a226=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0xa17f37,_0x363ad2,_0x1528bf,_0x23ba3c,_0x5039f4,_0x4ea0bf,_0x3c1ea3){const _0x3e38b0=_0x2267a7;super(),this[_0x3e38b0(0xbd)]=_0xa17f37,this[_0x3e38b0(0x363)]=_0x363ad2,this[_0x3e38b0(0x16e)]=_0x1528bf,this[_0x3e38b0(0x10f)]=_0x23ba3c,this[_0x3e38b0(0x1d2)]=_0x5039f4,this[_0x3e38b0(0x3f1)]=_0x4ea0bf,this['_sheetPermissionInitController']=_0x3c1ea3,_0x374704(this,'_workbookDataCache',void 0x0),this[_0x3e38b0(0x3ab)]=new _0x3bba19[(_0x3e38b0(0x17b))](0x3c);}[_0x2267a7(0x3d0)](){const _0x23d048=_0x2267a7;this['_workbookDataCache'][_0x23d048(0x279)](),super[_0x23d048(0x3d0)]();}async[_0x2267a7(0x37d)](_0x5a3419){const _0x5c73d6=_0x2267a7;try{let _0x940da6=(await this[_0x5c73d6(0x1d2)]['get'](this[_0x5c73d6(0x2a2)]()+'/'+_0x5a3419+_0x5c73d6(0x3f0)))['body'];if(_0x940da6&&_0x940da6[_0x5c73d6(0x239)]&&_0x940da6[_0x5c73d6(0x239)]['code']===_0x1ea6dc['ErrorCode']['OK'])return _0x940da6[_0x5c73d6(0x350)];}catch(_0x5e809b){console[_0x5c73d6(0x239)](_0x5e809b);}return[];}async[_0x2267a7(0x1c2)](_0x3eb6f4,_0xe55f0a){const _0x27c8ee=_0x2267a7;let {userIds:_0x259d05,lastLabel:_0x3eac61,origin:_0x144259}=_0xe55f0a==null?{}:_0xe55f0a,_0xd5c8b8=new URLSearchParams();_0xd5c8b8['set'](_0x27c8ee(0x217),'20'),_0x3eac61&&_0xd5c8b8[_0x27c8ee(0x1f2)](_0x27c8ee(0x83),_0x3eac61),_0x259d05==null||_0x259d05['forEach'](_0x2b26ea=>{const _0x38b642=_0x27c8ee;_0xd5c8b8[_0x38b642(0x222)](_0x38b642(0x376),_0x2b26ea);}),_0x144259&&_0xd5c8b8[_0x27c8ee(0x1f2)](_0x27c8ee(0x1a2),_0x144259[_0x27c8ee(0x3a3)]());let _0x41b844=this[_0x27c8ee(0x2a2)]()+'/'+_0x3eb6f4+_0x27c8ee(0x2b1)+_0xd5c8b8['toString']();try{let _0x2b75bc=(await this[_0x27c8ee(0x1d2)][_0x27c8ee(0x249)](_0x41b844))[_0x27c8ee(0x2ee)];if(_0x2b75bc&&_0x2b75bc[_0x27c8ee(0x239)]&&_0x2b75bc[_0x27c8ee(0x239)][_0x27c8ee(0x281)]===_0x1ea6dc['ErrorCode']['OK']){let {hasMore:_0x56907c,lastLabel:_0x1ee64f}=_0x2b75bc;return{'hasMore':_0x56907c,'lastLabel':_0x1ee64f,'versions':_0x26a862(_0x2b75bc),'members':_0x2b75bc[_0x27c8ee(0x207)][_0x27c8ee(0x109)]};}}catch(_0x2c7080){console['error'](_0x2c7080);}return null;}async['getHistoryChangesets'](_0x2a4752,_0x40e5bd){const _0x225241=_0x2267a7;let {unitId:_0x14c1c1,startRevision:_0x230f89,endRevision:_0x44a03f}=_0x40e5bd,_0x3f960a=this[_0x225241(0x2a2)]()+'/'+_0x14c1c1+_0x225241(0x38e)+_0x230f89+_0x225241(0x2d5)+_0x44a03f;return(await this[_0x225241(0x1d2)]['get'](_0x3f960a))[_0x225241(0x2ee)];}[_0x2267a7(0x2a2)](){const _0x402310=_0x2267a7;var _0x4c70ec;let _0x26866a=this[_0x402310(0x10f)]['getConfig'](_0x416c3e);return(_0x4c70ec=_0x26866a==null?void 0x0:_0x26866a[_0x402310(0x386)])==null?_0x402310(0x385):_0x4c70ec;}[_0x2267a7(0x2e4)](_0x5a17e5,_0x273c7e){return _0x5a17e5+':'+_0x273c7e;}async['loadSheet'](_0x2d053b,_0x5a4213,_0x19196a={}){const _0x463d1c=_0x2267a7;var _0x60cdcf;let _0x562cc9=this['_cacheKey'](_0x2d053b,_0x5a4213),_0x157d44=this[_0x463d1c(0x3ab)]['get'](_0x562cc9);if(_0x157d44){let {workbookData:_0x134dc4,changesets:_0x3d3e96}=_0x157d44;return await this['_applyWorkbookData'](_0x134dc4,_0x3d3e96),!0x0;}let {snapshot:_0x4ffe2d,changesets:_0x1cd89c,error:_0x13a8d1}=await this['_snapshotServerService'][_0x463d1c(0x2ac)](_0x19196a,{'unitID':_0x2d053b,'type':_0x3bba19[_0x463d1c(0x1f9)][_0x463d1c(0x18b)],'revision':_0x5a4213});if((0x0,_0x1ea6dc[_0x463d1c(0x23f)])(_0x13a8d1)||!_0x4ffe2d||!_0x4ffe2d['workbook'])throw Error(_0x463d1c(0x375));let _0x489205=(_0x60cdcf=_0x1cd89c==null?void 0x0:_0x1cd89c[_0x463d1c(0x217)])==null?0x0:_0x60cdcf;if(_0x5a4213!==0x0&&_0x4ffe2d['rev']+_0x489205!==_0x5a4213)throw Error('[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!');let {workbook:_0x1ac6f1}=_0x4ffe2d,_0xbe4077=_0x1ac6f1[_0x463d1c(0x390)]?Object['values'](_0x1ac6f1[_0x463d1c(0x390)])['flatMap'](_0x397e45=>{const _0x5eb021=_0x463d1c;var _0x3ca7a8;return(_0x3ca7a8=_0x397e45[_0x5eb021(0x2a8)])==null?[]:_0x3ca7a8;}):[],_0x20af09=await(0x0,_0x26651d[_0x463d1c(0x1e1)])(_0x4ffe2d,(await Promise[_0x463d1c(0x17a)](_0xbe4077[_0x463d1c(0x369)](_0x333cf5=>this['_snapshotServerService'][_0x463d1c(0x144)](_0x19196a,{'unitID':_0x2d053b,'type':_0x3bba19[_0x463d1c(0x1f9)][_0x463d1c(0x18b)],'blockID':_0x333cf5})['then'](_0x15cbc2=>_0x15cbc2[_0x463d1c(0x2c6)]))))['filter'](Boolean),_0x19196a);return this[_0x463d1c(0x3ab)]['set'](_0x562cc9,{'workbookData':_0x20af09,'changesets':_0x1cd89c}),await this[_0x463d1c(0x10e)](_0x20af09,_0x1cd89c),!0x0;}async[_0x2267a7(0x10e)](_0x115385,_0x39ec25){const _0x28ba3a=_0x2267a7;let _0xe442d4=this[_0x28ba3a(0x363)][_0x28ba3a(0x1db)](_0x3bba19[_0x28ba3a(0x1f9)][_0x28ba3a(0x18b)]);_0xe442d4&&(this['_univerInstanceService'][_0x28ba3a(0x37f)](_0xe442d4[_0x28ba3a(0x2fc)]()),await Promise[_0x28ba3a(0x186)]());let _0x35e108=JSON['parse'](JSON[_0x28ba3a(0x1b4)](_0x115385));this[_0x28ba3a(0x3c7)](_0x35e108,_0x39ec25),this['_sheetPermissionInitController'][_0x28ba3a(0x331)]();}['_createUnit'](_0x728cf1,_0x1f4792){const _0x585030=_0x2267a7;let _0x384098=this['_univerInstanceService'][_0x585030(0x26f)](_0x3bba19[_0x585030(0x1f9)]['UNIVER_SHEET'],_0x728cf1);this[_0x585030(0x363)][_0x585030(0x35e)](_0x384098[_0x585030(0x2fc)]());let _0x39349a=this['_compressMutationService'][_0x585030(0x75)][_0x585030(0x30b)](this[_0x585030(0x3f1)][_0x585030(0x75)][_0x585030(0x237)]()[_0x585030(0x39b)]);return _0x1f4792==null||_0x1f4792[_0x585030(0xc9)](_0x27cb2e=>{const _0x4e2b19=_0x585030;let _0x2b58ae=_0x27cb2e['mutations'][_0x4e2b19(0x369)](_0x12e0b7=>({'id':_0x12e0b7['id'],'params':JSON[_0x4e2b19(0x270)](_0x12e0b7[_0x4e2b19(0x161)])}));(_0x39349a(_0x2b58ae,null)||_0x2b58ae)['forEach'](_0x539dda=>{const _0x103661=_0x4e2b19;this['_commandService'][_0x103661(0x23b)](_0x539dda['id'])&&this[_0x103661(0x16e)][_0x103661(0x264)](_0x539dda['id'],_0x539dda[_0x103661(0x346)],{'fromChangeset':!0x0});});}),_0x384098;}};_0x57a226=_0x9526d9([_0x550961(0x0,_0x26651d[_0x2267a7(0x3cb)]),_0x550961(0x1,_0x3bba19[_0x2267a7(0x35f)]),_0x550961(0x2,_0x3bba19[_0x2267a7(0x3c3)]),_0x550961(0x3,_0x3bba19['IConfigService']),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4def42[_0x2267a7(0x23a)])),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x26651d[_0x2267a7(0x230)])),_0x550961(0x6,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5431fa['SheetPermissionInitController']))],_0x57a226);function _0x26a862(_0x39ce05){const _0x462123=_0x2267a7;let _0x132c4f=[],{entities:_0x2663f8,historyIds:_0x4ba2ea}=_0x39ce05,{datas:_0x1cf393,users:_0x557d2e}=_0x2663f8;for(let _0x5425b7 of _0x4ba2ea){let _0x371368=_0x1cf393[_0x5425b7];if(_0x371368){var _0x5b9c2f,_0x445557;let _0x2a112e=!!((_0x5b9c2f=_0x557d2e[_0x371368[_0x462123(0x35c)]])!=null&&_0x5b9c2f[_0x462123(0x21b)]);_0x132c4f[_0x462123(0x113)]({'unitId':_0x371368[_0x462123(0x3e9)],'user':_0x2a112e?'':(_0x557d2e==null||(_0x445557=_0x557d2e[_0x371368[_0x462123(0x35c)]])==null?void 0x0:_0x445557[_0x462123(0x1f5)])||'','users':_0x371368[_0x462123(0x376)][_0x462123(0x369)](_0x2d33f7=>{const _0x1ffa96=_0x462123;var _0x1a1a96;return(_0x557d2e==null||(_0x1a1a96=_0x557d2e[_0x2d33f7])==null?void 0x0:_0x1a1a96[_0x1ffa96(0x1f5)])||'';})[_0x462123(0x354)](_0x470288=>_0x470288),'isAnonymous':_0x2a112e,'id':_0x5425b7,'time':_0x371368[_0x462123(0x82)]?Number(_0x371368[_0x462123(0x82)]):void 0x0,'commands':_0x371368[_0x462123(0x3a0)],'startRev':Number(_0x371368[_0x462123(0x25d)]),'endRev':Number(_0x371368['endRevision']),'recoverTime':_0x371368[_0x462123(0x38f)]?Number(_0x371368[_0x462123(0x38f)]):void 0x0,'additionalFields':_0x371368[_0x462123(0x10b)],'startRevCreateTime':_0x371368[_0x462123(0x240)]?Number(_0x371368['startRevCreateTime']):void 0x0,'endRevCreateTime':_0x371368[_0x462123(0x31e)]?Number(_0x371368['endRevCreateTime']):void 0x0});}}return _0x132c4f;}let _0x433f6e=function(_0x131bca){const _0x2a774c=_0x2267a7;return _0x131bca[_0x2a774c(0x142)]=_0x2a774c(0x11f),_0x131bca['Exited']=_0x2a774c(0xb7),_0x131bca[_0x2a774c(0x32c)]=_0x2a774c(0x239),_0x131bca;}({}),_0x3fc72f=_0x2267a7(0x125),_0x4bbed9=class extends _0x3bba19[_0x2267a7(0x177)]{[_0x2267a7(0x3ea)](_0x47bdc6){const _0x3b84ff=_0x2267a7;this[_0x3b84ff(0xc4)][_0x3b84ff(0x1a7)](_0x47bdc6);}get[_0x2267a7(0x71)](){const _0x4e0c4d=_0x2267a7;return this[_0x4e0c4d(0xc4)][_0x4e0c4d(0x1d8)];}constructor(_0x219e02,_0x550639,_0x29e672,_0x2bcfa7){const _0x35496d=_0x2267a7;super(),this[_0x35496d(0x324)]=_0x219e02,this[_0x35496d(0x24f)]=_0x550639,this[_0x35496d(0x1ec)]=_0x29e672,this['_historyFetchService']=_0x2bcfa7,_0x374704(this,_0x35496d(0x2d1),new _0x54d7f0[(_0x35496d(0x27c))]([])),_0x374704(this,'versions$',this[_0x35496d(0x2d1)][_0x35496d(0xf0)]()),_0x374704(this,'_currentVersion$',new _0x54d7f0[(_0x35496d(0x27c))]('')),_0x374704(this,_0x35496d(0x2a5),this['_currentVersion$']['asObservable']()),_0x374704(this,_0x35496d(0x3d8),new _0x54d7f0[(_0x35496d(0x27c))](_0x35496d(0x11f))),_0x374704(this,_0x35496d(0x2da),this[_0x35496d(0x3d8)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x2c8),new _0x54d7f0[(_0x35496d(0x27c))](0x0)),_0x374704(this,_0x35496d(0x89),this[_0x35496d(0x2c8)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0xe5),new _0x54d7f0[(_0x35496d(0x27c))]('')),_0x374704(this,_0x35496d(0xcd),this['_unitId$'][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0xc4),new _0x54d7f0[(_0x35496d(0x27c))](!0x1)),_0x374704(this,_0x35496d(0x1ef),this['_fetching$'][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x1a4),new _0x54d7f0[(_0x35496d(0x27c))]([])),_0x374704(this,_0x35496d(0x206),this[_0x35496d(0x1a4)][_0x35496d(0xf0)]()),_0x374704(this,'_openPanel$',new _0x54d7f0['BehaviorSubject'](!0x1)),_0x374704(this,_0x35496d(0x216),this[_0x35496d(0x32a)]['asObservable']()),_0x374704(this,'_detailVersionsMap',new Map()),_0x374704(this,_0x35496d(0x135),new _0x54d7f0[(_0x35496d(0x27c))](_0x35496d(0x2d3))),_0x374704(this,_0x35496d(0x19e),this[_0x35496d(0x135)][_0x35496d(0xf0)]()),_0x374704(this,_0x35496d(0x17c),null),_0x374704(this,_0x35496d(0x3b2),!0x0),_0x374704(this,'_members',new Map()),_0x374704(this,_0x35496d(0x1bb),void 0x0),_0x374704(this,_0x35496d(0x7e),void 0x0),_0x374704(this,'_maskElement',void 0x0),_0x374704(this,'_canRevert',!0x1),_0x374704(this,_0x35496d(0x378),null),_0x374704(this,_0x35496d(0x389),new Map());}async['triggerLoadVersions'](_0x3f2d6a,_0x26899b,_0x44a220){const _0x2723b9=_0x2267a7;this['_historyContainerId']=_0x26899b,this[_0x2723b9(0x36b)]=_0x44a220,this[_0x2723b9(0x32a)][_0x2723b9(0x1a7)](!0x0),await this[_0x2723b9(0x3a1)](_0x3f2d6a);}[_0x2267a7(0x170)](_0x9d1875,_0x2b8e72='',_0x265347,_0x1ba0e3){const _0x13e839=_0x2267a7;let {versions:_0x4ad178,hasMore:_0x286502,lastLabel:_0x1324e4,members:_0x3fce79}=_0x1ba0e3,_0xb23dda=_0x4ad178['length']>0x0?_0x4ad178:[{'unitId':_0x9d1875,'id':_0x3fc72f,'startRev':0x1,'endRev':0x0,'time':Date['now'](),'user':this[_0x13e839(0x1ec)]['t'](_0x13e839(0x1e2)),'users':[this[_0x13e839(0x1ec)]['t']('edit-history-viewer.panel.currentUser')],'commands':[],'isAnonymous':!0x1}];this[_0x13e839(0x36b)]=_0x265347,this[_0x13e839(0x1bb)]=_0x2b8e72,this[_0x13e839(0xe5)][_0x13e839(0x1a7)](_0x9d1875),this[_0x13e839(0xc2)](_0xb23dda,_0x286502,_0x1324e4,!0x1,_0x3fce79),this[_0x13e839(0x1d3)][_0x13e839(0x1a7)](_0xb23dda[0x0]['id']);}async[_0x2267a7(0x3a1)](_0x5edf8a,_0x5a6dbe){const _0x383da8=_0x2267a7;this[_0x383da8(0xe5)]['next'](_0x5edf8a),this['_loadParams']=_0x5a6dbe==null?null:_0x5a6dbe,this[_0x383da8(0x3ea)](!0x0);let _0x52ac5c=await this[_0x383da8(0x1fc)]['getVersions'](_0x5edf8a,_0x5a6dbe);if(this[_0x383da8(0x3ea)](!0x1),_0x52ac5c){let {versions:_0x65575,lastLabel:_0x5634c8,hasMore:_0x24b018,members:_0x230cb3}=_0x52ac5c;_0x65575[_0x383da8(0x217)]===0x0&&_0x65575['push']({'unitId':_0x5edf8a,'id':_0x3fc72f,'startRev':0x1,'endRev':0x0,'time':Date[_0x383da8(0xd9)](),'user':this['_localeService']['t'](_0x383da8(0x1e2)),'users':[this['_localeService']['t'](_0x383da8(0x1e2))],'commands':[],'isAnonymous':!0x1}),this[_0x383da8(0xc2)](_0x65575,_0x24b018,_0x5634c8,!0x1,_0x230cb3),this['_currentVersion$']['next'](_0x65575[0x0]['id']),this['_unitCurrentVersionMap'][_0x383da8(0x1f2)](_0x5edf8a,_0x65575[0x0][_0x383da8(0x2ef)]);}else this[_0x383da8(0x3d8)]['next']('error');}async[_0x2267a7(0x18e)](){const _0x106be0=_0x2267a7;if(!this[_0x106be0(0x17c)]||!this[_0x106be0(0x3b2)]||this['fetching'])return!0x1;this[_0x106be0(0x3ea)](!0x0);let _0x2ccae7=await this['_historyFetchService'][_0x106be0(0x1c2)](this[_0x106be0(0x3e9)],{'lastLabel':this['_lastLabel'],...this['_loadParams']});if(this['_setFetching'](!0x1),_0x2ccae7){let {versions:_0xbe27a1,lastLabel:_0x56a1e0,hasMore:_0x5ef9c3,members:_0x56634e}=_0x2ccae7;this['_updateVersions'](_0xbe27a1,_0x5ef9c3,_0x56a1e0,!0x0,_0x56634e);}else this[_0x106be0(0x324)][_0x106be0(0x96)]({'content':this[_0x106be0(0x1ec)]['t'](_0x106be0(0x322)),'type':_0x4b600c[_0x106be0(0x130)][_0x106be0(0x32c)],'duration':0xbb8});return!0x0;}async['loadHistoryCreatorList'](){const _0x4ffa40=_0x2267a7;let {unitId:_0x2f0ae6}=this;if(!_0x2f0ae6)return;let _0x52412b=await this[_0x4ffa40(0x1fc)]['fetchCreatorList'](_0x2f0ae6);_0x52412b&&this['_creators$'][_0x4ffa40(0x1a7)](_0x52412b);}async[_0x2267a7(0x77)](_0x46cd5c){const _0x5c8d95=_0x2267a7;let {endRev:_0x6cab67}=this['getVersion'](_0x46cd5c)||{};_0x6cab67||_0x6cab67===0x0?(this[_0x5c8d95(0x135)][_0x5c8d95(0x1a7)](_0x5c8d95(0x148)),await this[_0x5c8d95(0x1fc)]['loadSheet'](this['unitId'],_0x6cab67),this[_0x5c8d95(0x135)][_0x5c8d95(0x1a7)](_0x5c8d95(0x1ad))):this[_0x5c8d95(0x3d8)][_0x5c8d95(0x1a7)]('error');}async[_0x2267a7(0x277)](_0x124264){const _0x1fec8e=_0x2267a7;let _0x57fe74=_0x124264?this[_0x1fec8e(0x3b1)](_0x124264):this['getCurrentVersion']();if(!_0x57fe74)return;let _0x79f58a=_0x57fe74[_0x1fec8e(0x2ef)],_0x5a80f1=_0x1b9d4d(_0x57fe74['time'],this[_0x1fec8e(0x1ec)][_0x1fec8e(0x19b)]());await this[_0x1fec8e(0x24f)][_0x1fec8e(0x19a)]({'id':_0x1fec8e(0x70),'title':{'title':this[_0x1fec8e(0x1ec)]['t']('edit-history-viewer.panel.revertConfirm')},'children':{'title':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x3df))+_0x1fec8e(0x1e7)+_0x5a80f1['date']+'\x20'+_0x5a80f1[_0x1fec8e(0x330)]+')'},'cancelText':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x136)),'confirmText':this[_0x1fec8e(0x1ec)]['t'](_0x1fec8e(0x3ba))})&&this['_revertRevision$']['next'](_0x79f58a);}[_0x2267a7(0xc2)](_0x45e1fc,_0x511a61,_0x365062,_0x9d7caf,_0x33cacd){const _0x4f6c9a=_0x2267a7;this['_setVersions'](_0x9d7caf?this[_0x4f6c9a(0x2d1)][_0x4f6c9a(0x1d8)][_0x4f6c9a(0xa9)](_0x45e1fc):_0x45e1fc),this[_0x4f6c9a(0x3b2)]=_0x511a61,this['_lastLabel']=_0x365062,_0x33cacd&&Object[_0x4f6c9a(0x1c4)](_0x33cacd)['forEach'](_0x4380fb=>this[_0x4f6c9a(0x7c)][_0x4f6c9a(0x1f2)](_0x4380fb,_0x33cacd[_0x4380fb]));}[_0x2267a7(0x339)](){const _0x5647d8=_0x2267a7;return this['getVersion'](this[_0x5647d8(0x1d3)][_0x5647d8(0x1d8)]);}[_0x2267a7(0x1b2)](_0xcb5b58){const _0x23f490=_0x2267a7;this[_0x23f490(0x2d1)]['next'](_0xcb5b58);}['getVersion'](_0x1b011f){const _0x527d1f=_0x2267a7;var _0x2625ff;return((_0x2625ff=this[_0x527d1f(0x2d1)][_0x527d1f(0x1d8)])==null?void 0x0:_0x2625ff[_0x527d1f(0xef)](_0x467507=>_0x467507['id']===_0x1b011f))||this[_0x527d1f(0xcb)][_0x527d1f(0x249)](_0x1b011f);}['registerDetailVersion'](_0xbb35ac){const _0x303aa3=_0x2267a7;this[_0x303aa3(0xcb)]['set'](_0xbb35ac['id'],_0xbb35ac);}[_0x2267a7(0x2bc)](){const _0x4237ae=_0x2267a7;if(this['unitId'])return this[_0x4237ae(0x389)][_0x4237ae(0x249)](this[_0x4237ae(0x3e9)]);}[_0x2267a7(0x26d)](){const _0x27ffba=_0x2267a7;var _0x5c86ab;return((_0x5c86ab=this[_0x27ffba(0x339)]())==null?void 0x0:_0x5c86ab[_0x27ffba(0x2ef)])===this['getCurrentUnitCurrentVersion']();}[_0x2267a7(0x373)](){const _0x2083d7=_0x2267a7;return!this[_0x2083d7(0x26d)]()&&this[_0x2083d7(0x22b)];}[_0x2267a7(0x315)](_0x1334a9){const _0x1b2ff8=_0x2267a7;return this[_0x1b2ff8(0x7c)][_0x1b2ff8(0x249)](_0x1334a9);}['_createMask'](){const _0x5049a7=_0x2267a7;this[_0x5049a7(0x303)]=document[_0x5049a7(0x3ca)]('div'),this[_0x5049a7(0x303)]['className']=_0x5049a7(0xd0),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x323)]=_0x5049a7(0x3f7),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x211)]='0',this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x377)]='0',this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x34f)]=_0x5049a7(0x16d),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)]['height']=_0x5049a7(0x16d),this['_maskElement'][_0x5049a7(0x2a7)][_0x5049a7(0x3a8)]=_0x5049a7(0xe1),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)][_0x5049a7(0x381)]=_0x5049a7(0x78),this[_0x5049a7(0x303)]['style']['display']=_0x5049a7(0xab),this[_0x5049a7(0x303)]['style'][_0x5049a7(0xe3)]=_0x5049a7(0x1ee),this['_maskElement'][_0x5049a7(0x2a7)][_0x5049a7(0x101)]=_0x5049a7(0x299),this[_0x5049a7(0x303)][_0x5049a7(0x2a7)]['display']='none',this['_maskContainer']['append'](this[_0x5049a7(0x303)]);}['_initMaskContainer'](){const _0x13212d=_0x2267a7;let _0x126201=document['getElementById'](this['_historyContainerId']);_0x126201&&(this['_maskContainer']=_0x126201,this[_0x13212d(0x2b9)]());}[_0x2267a7(0x3cc)](){const _0x57b1e1=_0x2267a7;this['_maskContainer']||this['_initMaskContainer'](),this['_maskElement']&&(this['_maskElement'][_0x57b1e1(0x2a7)]['display']=_0x57b1e1(0xab));}['hideMask'](){const _0x41cc0d=_0x2267a7;this[_0x41cc0d(0x303)]&&(this['_maskElement'][_0x41cc0d(0x2a7)][_0x41cc0d(0x273)]=_0x41cc0d(0x3c5));}set[_0x2267a7(0x343)](_0x5ab720){const _0x194a7e=_0x2267a7;this[_0x194a7e(0x3d8)][_0x194a7e(0x1a7)](_0x5ab720);}set[_0x2267a7(0x191)](_0x23fda2){const _0x46ea6e=_0x2267a7;_0x23fda2!==this['_currentVersion$'][_0x46ea6e(0x1d8)]&&this[_0x46ea6e(0x1d3)]['next'](_0x23fda2);}get[_0x2267a7(0x191)](){const _0x2618f4=_0x2267a7;return this['_currentVersion$'][_0x2618f4(0x1d8)];}set['unitId'](_0x14a2e0){const _0x117597=_0x2267a7;this[_0x117597(0xe5)][_0x117597(0x1a7)](_0x14a2e0);}get[_0x2267a7(0x3e9)](){const _0x4f7206=_0x2267a7;return this[_0x4f7206(0xe5)][_0x4f7206(0x1d8)];}get[_0x2267a7(0x22b)](){const _0x454480=_0x2267a7;return this[_0x454480(0x36b)];}get[_0x2267a7(0x2cb)](){const _0x4bc015=_0x2267a7;return this['_loadingState$'][_0x4bc015(0x1d8)];}};_0x4bbed9=_0x9526d9([_0x550961(0x0,_0x3f2000['IMessageService']),_0x550961(0x1,_0x3bba19['IConfirmService']),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x3,(0x0,_0x3bba19['Inject'])(_0x57a226))],_0x4bbed9);let _0x31302b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x4df9d2,_0x2e6b9a,_0x2811a5,_0x39d4b8,_0x3b64b2,_0x44d869,_0x4565b3,_0x1d75dc,_0x3faa23,_0x51fa53,_0xcbddac,_0x3a36a4,_0x5cb087){const _0x1f8f57=_0x2267a7;super(),this[_0x1f8f57(0x2ff)]=_0x4df9d2,this['_transformService']=_0x2e6b9a,this[_0x1f8f57(0xbd)]=_0x2811a5,this['_rangeProtectionRuleModel']=_0x39d4b8,this[_0x1f8f57(0x21d)]=_0x3b64b2,this['_dataValidationModel']=_0x44d869,this[_0x1f8f57(0x317)]=_0x4565b3,this[_0x1f8f57(0x2e3)]=_0x1d75dc,this[_0x1f8f57(0x33d)]=_0x3faa23,this['_sheetTableService']=_0x51fa53,this['_localeService']=_0xcbddac,this[_0x1f8f57(0x17f)]=_0x3a36a4,this[_0x1f8f57(0x1fc)]=_0x5cb087,_0x374704(this,_0x1f8f57(0x80),new Map()),_0x374704(this,_0x1f8f57(0x2f1),new _0x54d7f0['BehaviorSubject']({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x374704(this,'currentVersionDiff$',this[_0x1f8f57(0x2f1)][_0x1f8f57(0xf0)]()),this[_0x1f8f57(0x193)]();}[_0x2267a7(0x193)](){const _0x3f6052=_0x2267a7;this[_0x3f6052(0x80)]=new Map(),this['disposeWithMe'](this[_0x3f6052(0x2ff)][_0x3f6052(0xcd)][_0x3f6052(0x238)](_0x4d66b7=>{const _0x4f99ad=_0x3f6052;_0x4d66b7&&!this[_0x4f99ad(0x80)][_0x4f99ad(0x29c)](_0x4d66b7)&&this[_0x4f99ad(0x80)][_0x4f99ad(0x1f2)](_0x4d66b7,new Map());})),this[_0x3f6052(0x74)](this[_0x3f6052(0x2ff)][_0x3f6052(0x2a5)][_0x3f6052(0x238)](async _0x48d3d9=>{const _0x9bcde4=_0x3f6052;if(_0x48d3d9){var _0x2f2384;await this['ensureVersion'](_0x48d3d9),this[_0x9bcde4(0x2f1)][_0x9bcde4(0x1a7)](((_0x2f2384=this[_0x9bcde4(0x80)][_0x9bcde4(0x249)](this[_0x9bcde4(0x2ff)][_0x9bcde4(0x3e9)]))==null?void 0x0:_0x2f2384['get'](_0x48d3d9))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x2267a7(0x307)](_0x5d9900){const _0x1b8366=_0x2267a7;var _0x3f5829,_0x275cf4;let _0x5649fc=this['_historyManagerService'][_0x1b8366(0x3b1)](_0x5d9900),_0x241943=this[_0x1b8366(0x2ff)][_0x1b8366(0x3e9)];if(!_0x5649fc||!_0x241943)return;let _0x45796a=this[_0x1b8366(0x80)]['get'](_0x241943);if(_0x45796a||this[_0x1b8366(0x80)][_0x1b8366(0x1f2)](_0x241943,new Map()),(_0x3f5829=this[_0x1b8366(0x80)][_0x1b8366(0x249)](_0x241943))!=null&&_0x3f5829[_0x1b8366(0x29c)](_0x5649fc['id']))return;let {startRev:_0x5c1fd8,endRev:_0x47be83}=_0x5649fc;if(_0x5c1fd8===0x1){_0x45796a['set'](_0x5649fc['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x222af2=_0x5c1fd8,_0xc8d7d5=_0x47be83,_0x42a31c=await this['_historyFetchService'][_0x1b8366(0x176)]({},{'unitId':_0x241943,'startRevision':_0x222af2,'endRevision':_0xc8d7d5});if(((_0x275cf4=_0x42a31c[_0x1b8366(0x239)])==null?void 0x0:_0x275cf4[_0x1b8366(0x281)])===_0x1ea6dc[_0x1b8366(0x115)]['OK']){let _0x29c646=_0x42a31c[_0x1b8366(0x3b4)][_0x1b8366(0x369)](_0x1beccd=>((_0x1beccd['mutations']===null||_0x1beccd[_0x1b8366(0x2aa)]===void 0x0)&&(_0x1beccd['mutations']=[]),(0x0,_0x26651d[_0x1b8366(0xaa)])(_0x1beccd)))[_0x1b8366(0x369)](_0x4f86c2=>_0x4f86c2[_0x1b8366(0x2aa)]['map'](_0x94ad63=>({..._0x94ad63,'params':{..._0x94ad63[_0x1b8366(0x346)],'memberId':_0x4f86c2[_0x1b8366(0x285)]||_0x1b8366(0x35d)}})))[_0x1b8366(0x393)](),_0x2fe65b=await this[_0x1b8366(0x29d)](_0x29c646),_0x4df4dc=this[_0x1b8366(0x2b6)](_0x29c646),_0x25a08b=this[_0x1b8366(0x359)](_0x2fe65b);_0x45796a[_0x1b8366(0x1f2)](_0x5649fc['id'],{..._0x25a08b,'active':_0x4df4dc});}}[_0x2267a7(0x2ed)](){const _0x12dc72=_0x2267a7;let _0x40db79=_0x3fad89(_0x12dc72(0x11d)),_0x39e193=new Map();return Object[_0x12dc72(0x2d8)](_0x40db79)[_0x12dc72(0x393)]()[_0x12dc72(0xc9)](_0x210df1=>{const _0x1abf5f=_0x12dc72;_0x39e193[_0x1abf5f(0x1f2)](_0x210df1['id'],_0x210df1['action']);}),_0x39e193;}[_0x2267a7(0x100)](_0x30c5b4,_0x38b1f3){const _0x3d07a2=_0x2267a7;return this[_0x3d07a2(0x3bd)](_0x30c5b4,_0x38b1f3);}async[_0x2267a7(0x29d)](_0x1f784d){const _0x1286e5=_0x2267a7;let _0x14876e=[];for(let _0x18feb6=0x0;_0x18feb6<_0x1f784d[_0x1286e5(0x217)];_0x18feb6++){let _0x51664d=_0x1f784d[_0x18feb6];if(_0x14876e['push'](_0x51664d),_0x18feb6!==_0x1f784d[_0x1286e5(0x217)]-0x1){let _0x45eefd=_0x1f784d[_0x18feb6+0x1],_0xf9a2e5=this[_0x1286e5(0x358)][_0x1286e5(0x12c)](_0x14876e,[_0x45eefd]);_0x14876e=(0x0,_0x26651d[_0x1286e5(0x1e9)])(_0xf9a2e5)?_0xf9a2e5['m1Prime']:[];}_0x18feb6%0xa==0x0&&_0x18feb6>0x0&&await this['_yieldToMain']();}return _0x14876e;}[_0x2267a7(0x234)](){return new Promise(_0x6f0a27=>{const _0x178a98=_0x4408;typeof requestIdleCallback==_0x178a98(0x30c)?requestIdleCallback(()=>_0x6f0a27(),{'timeout':0x64}):setTimeout(_0x6f0a27,0x0);});}[_0x2267a7(0x2b6)](_0x3701fc){const _0x21a93e=_0x2267a7;let _0x5e9527=[];return _0x3701fc[_0x21a93e(0xc9)](_0x279a0b=>{const _0x5f1906=_0x21a93e;if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x134)]['id']){let _0x254672=_0x279a0b['params'];_0x5e9527[_0x5f1906(0x113)](_0x254672['sheet']['id']);}else{if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x2d0)]['id']){let _0x205037=_0x279a0b[_0x5f1906(0x346)];_0x5e9527[_0x5f1906(0x217)]>0x0&&(_0x5e9527=_0x5e9527[_0x5f1906(0x354)](_0x108b06=>_0x108b06!==_0x205037[_0x5f1906(0x93)]));}else{if(_0x279a0b['id']===_0x5431fa[_0x5f1906(0x3c9)]['id']){let _0x41c245=_0x279a0b[_0x5f1906(0x346)];_0x41c245['hidden']?_0x5e9527=_0x5e9527[_0x5f1906(0x354)](_0x3cae72=>_0x3cae72!==_0x41c245[_0x5f1906(0x93)]):_0x5e9527[_0x5f1906(0x113)](_0x41c245[_0x5f1906(0x93)]);}else{let _0x267557=_0x279a0b['params'];_0x267557[_0x5f1906(0x93)]&&_0x5e9527[_0x5f1906(0x113)](_0x267557[_0x5f1906(0x93)]);}}}}),_0x5e9527['length']>0x0?_0x5e9527[_0x5e9527['length']-0x1]:null;}[_0x2267a7(0x359)](_0x590baa){const _0x1a34e4=_0x2267a7;let _0x1b1250=new Map(),_0x3a6411=new Map(),_0x1c537c=new Map(),_0x1345bc=new Map(),_0x26eabe=new Map(),_0x470a73=new Map(),_0x43d05b=new Map(),_0x1fb484=new Map(),_0x37310f=new Map(),_0x5ad3cc=new Map(),_0x4d12c3=new Map(),_0x4e458c=new Map(),_0x3392a9=new Set(),_0x26a670=this[_0x1a34e4(0x2ed)]();return _0x590baa[_0x1a34e4(0xc9)](_0x5225e3=>{const _0x37271e=_0x1a34e4;var _0x54b74c,_0x49fcde,_0x22343a,_0x1c4d59,_0x1797f2,_0x1f4de2,_0x2df0f8,_0xd504cd,_0x4f8a96,_0x5e3f2b,_0x4704d0,_0x22f46c,_0x5a9268;let _0x28deaa=(_0x54b74c=_0x5225e3[_0x37271e(0x346)])==null?void 0x0:_0x54b74c['memberId'];if(!_0x28deaa)return;_0x1b1250[_0x37271e(0x29c)](_0x28deaa)||(_0x1b1250[_0x37271e(0x1f2)](_0x28deaa,[]),_0x3a6411[_0x37271e(0x1f2)](_0x28deaa,[]),_0x1c537c[_0x37271e(0x1f2)](_0x28deaa,[]),_0x1345bc['set'](_0x28deaa,[]),_0x26eabe['set'](_0x28deaa,[]),_0x470a73[_0x37271e(0x1f2)](_0x28deaa,[]),_0x43d05b['set'](_0x28deaa,[]),_0x1fb484[_0x37271e(0x1f2)](_0x28deaa,[]),_0x37310f[_0x37271e(0x1f2)](_0x28deaa,[]),_0x5ad3cc[_0x37271e(0x1f2)](_0x28deaa,[]),_0x4d12c3[_0x37271e(0x1f2)](_0x28deaa,[]),_0x4e458c[_0x37271e(0x1f2)](_0x28deaa,[]));let _0x31c487=this[_0x37271e(0x3bd)](_0x5225e3,_0x26a670);_0x31c487[_0x37271e(0x380)][_0x37271e(0xc9)](_0x1611aa=>_0x3392a9[_0x37271e(0x7b)](_0x1611aa)),(_0x49fcde=_0x1b1250[_0x37271e(0x249)](_0x28deaa))==null||_0x49fcde[_0x37271e(0x113)](..._0x31c487['allRanges']),(_0x22343a=_0x3a6411[_0x37271e(0x249)](_0x28deaa))==null||_0x22343a['push'](..._0x31c487['insertCellRanges']),(_0x1c4d59=_0x1c537c['get'](_0x28deaa))==null||_0x1c4d59[_0x37271e(0x113)](..._0x31c487[_0x37271e(0xbc)]),(_0x1797f2=_0x1345bc[_0x37271e(0x249)](_0x28deaa))==null||_0x1797f2[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x24a)]),(_0x1f4de2=_0x26eabe[_0x37271e(0x249)](_0x28deaa))==null||_0x1f4de2[_0x37271e(0x113)](..._0x31c487['insertBorderRanges']),(_0x2df0f8=_0x470a73[_0x37271e(0x249)](_0x28deaa))==null||_0x2df0f8['push'](..._0x31c487[_0x37271e(0x318)]),(_0xd504cd=_0x43d05b['get'](_0x28deaa))==null||_0xd504cd[_0x37271e(0x113)](..._0x31c487['updateBorderRanges']),(_0x4f8a96=_0x1fb484[_0x37271e(0x249)](_0x28deaa))==null||_0x4f8a96[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x18c)]),(_0x5e3f2b=_0x37310f[_0x37271e(0x249)](_0x28deaa))==null||_0x5e3f2b['push'](..._0x31c487['arrowColumnRanges']),(_0x4704d0=_0x4d12c3[_0x37271e(0x249)](_0x28deaa))==null||_0x4704d0['push'](..._0x31c487[_0x37271e(0x3e1)]),(_0x22f46c=_0x4e458c['get'](_0x28deaa))==null||_0x22f46c[_0x37271e(0x113)](..._0x31c487[_0x37271e(0x3e5)]),(_0x5a9268=_0x5ad3cc[_0x37271e(0x249)](_0x28deaa))==null||_0x5a9268[_0x37271e(0x113)](..._0x31c487[_0x37271e(0xe8)]);}),_0x1b1250['forEach']((_0x2e619c,_0x5acf5e)=>{const _0x32f973=_0x1a34e4;_0x1b1250[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x2e619c)),_0x3a6411['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x3a6411[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1c537c[_0x32f973(0x1f2)](_0x5acf5e,this['_combineRanges'](_0x1c537c[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1345bc['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x1345bc[_0x32f973(0x249)](_0x5acf5e)||[])),_0x26eabe['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x26eabe[_0x32f973(0x249)](_0x5acf5e)||[])),_0x470a73['set'](_0x5acf5e,this[_0x32f973(0x91)](_0x470a73['get'](_0x5acf5e)||[])),_0x43d05b[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x43d05b[_0x32f973(0x249)](_0x5acf5e)||[])),_0x1fb484[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x1fb484[_0x32f973(0x249)](_0x5acf5e)||[])),_0x37310f[_0x32f973(0x1f2)](_0x5acf5e,this[_0x32f973(0x91)](_0x37310f[_0x32f973(0x249)](_0x5acf5e)||[]));}),{'ranges':_0x1b1250,'insertCellRanges':_0x3a6411,'deleteCellRanges':_0x1c537c,'updateCellRanges':_0x1345bc,'insertBorderRanges':_0x26eabe,'deleteBorderRanges':_0x470a73,'updateBorderRanges':_0x43d05b,'arrowRowRanges':_0x1fb484,'arrowColumnRanges':_0x37310f,'insertDrawings':_0x4d12c3,'deleteDrawings':_0x4e458c,'updateDrawings':_0x5ad3cc,'subUnitIds':Array[_0x1a34e4(0x36a)](_0x3392a9)};}[_0x2267a7(0x3bd)](_0x465b4f,_0x2f8418){const _0x3ba917=_0x2267a7;let _0x27a131={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x319f64=_0x465b4f['id'],_0x5a5019=_0x465b4f[_0x3ba917(0x346)],_0x9cfb56=this[_0x3ba917(0x1ec)]['t'](_0x2f8418[_0x3ba917(0x249)](_0x319f64)||'');_0x5a5019[_0x3ba917(0x93)]&&_0x27a131['subUnitIds']['push'](_0x5a5019[_0x3ba917(0x93)]);let _0x171966=(_0x1ff68a,_0x18f0dc)=>{const _0xd2eea0=_0x3ba917;let _0x2e7fd1=_0x1ff68a['map'](_0x27bdb2=>({..._0x27bdb2,'showText':_0x9cfb56}));switch(_0x27a131['allRanges'][_0xd2eea0(0x113)](..._0x2e7fd1),_0x18f0dc){case _0xd2eea0(0x181):_0x27a131[_0xd2eea0(0x278)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case'delete':_0x27a131[_0xd2eea0(0xbc)]['push'](..._0x2e7fd1);break;case _0xd2eea0(0x212):_0x27a131['updateCellRanges'][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x2bb):_0x27a131[_0xd2eea0(0x81)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x332):_0x27a131[_0xd2eea0(0x318)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case'updateBorder':_0x27a131['updateBorderRanges']['push'](..._0x2e7fd1);break;case _0xd2eea0(0x272):_0x27a131[_0xd2eea0(0x18c)][_0xd2eea0(0x113)](..._0x2e7fd1);break;case _0xd2eea0(0x165):_0x27a131[_0xd2eea0(0x114)][_0xd2eea0(0x113)](..._0x2e7fd1);break;}};switch(_0x319f64){case _0x5431fa[_0x3ba917(0x72)]['id']:{let _0x2ba66c=_0x5a5019;_0x171966([{'range':{..._0x2ba66c['range'],'rangeType':_0x3bba19[_0x3ba917(0x29e)]['ROW']},'unitId':_0x2ba66c['unitId'],'subUnitId':_0x2ba66c[_0x3ba917(0x93)],'showText':'insertRow','highlightRow':!0x0}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x2e9)]['id']:{let _0x452769=_0x5a5019;_0x171966([{'range':{..._0x452769['range'],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x159)]},'unitId':_0x452769[_0x3ba917(0x3e9)],'subUnitId':_0x452769['subUnitId'],'showText':'insertCol','highlightColumn':!0x0}],_0x3ba917(0x181));break;}case _0x5431fa['AddWorksheetMergeMutation']['id']:{let _0x6ea449=_0x5a5019;_0x171966(_0x6ea449[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x34b0f9=>({'range':_0x34b0f9,'unitId':_0x6ea449[_0x3ba917(0x3e9)],'subUnitId':_0x6ea449[_0x3ba917(0x93)],'showText':_0x3ba917(0x25e)})),_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x110)]['id']:{let _0x4ee3c7=_0x5a5019;_0x171966(Object['values'](_0x4ee3c7['values'])[_0x3ba917(0x369)](_0x1ac5a5=>_0x1ac5a5[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x15011f=>({'range':_0x15011f,'unitId':_0x4ee3c7[_0x3ba917(0x3e9)],'subUnitId':_0x4ee3c7[_0x3ba917(0x93)],'showText':'setNumfmt'})))[_0x3ba917(0x393)](),'insert');break;}case _0x5431fa[_0x3ba917(0x284)]['id']:{let _0x5ce942=_0x5a5019;_0x171966(_0x5ce942['ranges'][_0x3ba917(0x369)](_0x5bc90b=>({'range':_0x5bc90b,'unitId':_0x5ce942[_0x3ba917(0x3e9)],'subUnitId':_0x5ce942[_0x3ba917(0x93)],'showText':_0x3ba917(0x152)})),_0x3ba917(0x88));break;}case _0x5431fa[_0x3ba917(0x147)]['id']:{let _0xbbf2dc=_0x5a5019;_0x171966(_0xbbf2dc[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x4d3b81=>({'range':_0x4d3b81,'unitId':_0xbbf2dc['unitId'],'subUnitId':_0xbbf2dc[_0x3ba917(0x93)],'showText':_0x3ba917(0x3d2)})),_0x3ba917(0x88));break;}case _0x5431fa[_0x3ba917(0xf2)]['id']:{let _0x3516b4=_0x5a5019;_0x171966([{'range':{..._0x3516b4[_0x3ba917(0x117)],'rangeType':_0x3bba19['RANGE_TYPE']['ROW']},'unitId':_0x3516b4['unitId'],'subUnitId':_0x3516b4[_0x3ba917(0x93)],'showText':'moveRows'}],_0x3ba917(0x88)),_0x171966([{'range':{..._0x3516b4[_0x3ba917(0xf7)],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x76)]},'unitId':_0x3516b4[_0x3ba917(0x3e9)],'subUnitId':_0x3516b4[_0x3ba917(0x93)],'showText':_0x3ba917(0x3fb)}],'insert');break;}case _0x5431fa[_0x3ba917(0x11a)]['id']:{let _0x534f80=_0x5a5019;_0x171966([{'range':{..._0x534f80[_0x3ba917(0x117)],'rangeType':_0x3bba19['RANGE_TYPE']['COLUMN']},'unitId':_0x534f80[_0x3ba917(0x3e9)],'subUnitId':_0x534f80[_0x3ba917(0x93)],'showText':'moveCols'}],_0x3ba917(0x88)),_0x171966([{'range':{..._0x534f80[_0x3ba917(0xf7)],'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x159)]},'unitId':_0x534f80[_0x3ba917(0x3e9)],'subUnitId':_0x534f80[_0x3ba917(0x93)],'showText':_0x3ba917(0x24d)}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x1a9)]['id']:{let _0x364bd5=_0x5a5019;_0x171966(_0x364bd5['ranges'][_0x3ba917(0x369)](_0x3954a0=>({'range':{..._0x3954a0,'rangeType':_0x3bba19[_0x3ba917(0x29e)][_0x3ba917(0x76)]},'unitId':_0x364bd5[_0x3ba917(0x3e9)],'subUnitId':_0x364bd5[_0x3ba917(0x93)],'showText':_0x3ba917(0x1b0),'highlightRow':!0x0})),_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x166)]['id']:{let _0x5f547a=_0x5a5019;_0x5f547a[_0x3ba917(0x210)]&&_0x5f547a[_0x3ba917(0x93)]&&Object[_0x3ba917(0x1c4)](_0x5f547a[_0x3ba917(0x210)])[_0x3ba917(0x369)](Number)['forEach'](_0x429819=>{const _0x2a666b=_0x3ba917;_0x171966([{'range':{'startRow':_0x429819,'endRow':_0x429819,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x3bba19['RANGE_TYPE'][_0x2a666b(0x76)]},'unitId':_0x5f547a[_0x2a666b(0x3e9)],'subUnitId':_0x5f547a[_0x2a666b(0x93)],'showText':_0x2a666b(0x21f),'highlightRow':!0x0}],_0x2a666b(0x212));});break;}case _0x5431fa['SetColVisibleMutation']['id']:{let _0x434c7e=_0x5a5019;_0x171966(_0x434c7e[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x10ea8c=>({'range':{..._0x10ea8c,'rangeType':_0x3bba19['RANGE_TYPE'][_0x3ba917(0x159)]},'unitId':_0x434c7e['unitId'],'subUnitId':_0x434c7e[_0x3ba917(0x93)],'showText':_0x3ba917(0x3dc),'highlightColumn':!0x0})),_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x1a1)]['id']:{let _0xfc6894=_0x5a5019;_0xfc6894['columnData']&&_0xfc6894['subUnitId']&&Object[_0x3ba917(0x1c4)](_0xfc6894[_0x3ba917(0x8e)])[_0x3ba917(0x369)](Number)[_0x3ba917(0xc9)](_0x4ec428=>{const _0xb40084=_0x3ba917;_0x171966([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x4ec428,'endColumn':_0x4ec428,'rangeType':_0x3bba19['RANGE_TYPE'][_0xb40084(0x159)]},'unitId':_0xfc6894[_0xb40084(0x3e9)],'subUnitId':_0xfc6894[_0xb40084(0x93)],'showText':_0xb40084(0x221),'highlightColumn':!0x0}],_0xb40084(0x212));});break;}case _0x5431fa['SetRangeValuesMutation']['id']:{let _0x26813d=_0x5a5019;_0x171966(_0x26813d[_0x3ba917(0x14d)]?_0x3a4145(_0x26813d['cellValue'])['map'](_0x2c545d=>({'range':_0x2c545d,'unitId':_0x26813d[_0x3ba917(0x3e9)],'subUnitId':_0x26813d['subUnitId'],'showText':'setRangeValues'})):[],_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x1fe)]['id']:{let _0x30312d=_0x465b4f[_0x3ba917(0x346)];_0x171966([{'range':_0x1a740f(_0x30312d[_0x3ba917(0x36a)][_0x3ba917(0x1d8)]),'unitId':_0x30312d[_0x3ba917(0x3e9)],'subUnitId':_0x30312d[_0x3ba917(0x36a)][_0x3ba917(0x93)],'showText':_0x3ba917(0xfc)}],'delete'),_0x171966([{'range':_0x1a740f(_0x30312d['to'][_0x3ba917(0x1d8)]),'unitId':_0x30312d['unitId'],'subUnitId':_0x30312d['to'][_0x3ba917(0x93)],'showText':_0x3ba917(0xfc)}],_0x3ba917(0x181));break;}case _0x5431fa[_0x3ba917(0x384)]['id']:{let _0x5b5cb9=_0x5a5019;_0x171966([{'range':_0x5b5cb9[_0x3ba917(0x9c)],'unitId':_0x5b5cb9[_0x3ba917(0x3e9)],'subUnitId':_0x5b5cb9[_0x3ba917(0x93)]}],_0x3ba917(0x212));break;}case _0x5431fa[_0x3ba917(0x3fd)]['id']:{let _0x33261d=_0x5a5019;_0x33261d[_0x3ba917(0x1b7)]&&_0x33261d['ranges'][_0x3ba917(0x217)]>0x0&&_0x33261d[_0x3ba917(0x93)]&&_0x171966(_0x33261d[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x19b952=>({'range':_0x19b952,'unitId':_0x33261d['unitId'],'subUnitId':_0x33261d[_0x3ba917(0x93)],'showText':'setRowHeight'})),_0x3ba917(0x272));break;}case _0x5431fa[_0x3ba917(0x403)]['id']:{let _0x3cab4e=_0x5a5019;_0x3cab4e[_0x3ba917(0x1b7)]&&_0x3cab4e[_0x3ba917(0x1b7)][_0x3ba917(0x217)]>0x0&&_0x3cab4e[_0x3ba917(0x93)]&&_0x171966(_0x3cab4e[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x37bdef=>({'range':_0x37bdef,'unitId':_0x3cab4e[_0x3ba917(0x3e9)],'subUnitId':_0x3cab4e['subUnitId'],'showText':_0x3ba917(0xed)})),_0x3ba917(0x165));break;}case _0x5431fa[_0x3ba917(0x22c)]['id']:{let _0x5de264=_0x5a5019;_0x171966(_0x5de264[_0x3ba917(0x391)]['map'](_0x1faa6c=>_0x1faa6c['ranges']['map'](_0x5af79a=>({'range':_0x5af79a,'unitId':_0x5de264['unitId'],'subUnitId':_0x5de264[_0x3ba917(0x93)],'showText':'addRangeProtection'})))[_0x3ba917(0x393)](),_0x3ba917(0x2bb));break;}case _0x3463d2[_0x3ba917(0x202)]['id']:{let _0xc9f0e0=_0x5a5019;_0x171966(_0xc9f0e0[_0x3ba917(0x280)][_0x3ba917(0x1b7)]['map'](_0x4d3e56=>({'range':_0x4d3e56,'unitId':_0xc9f0e0['unitId'],'subUnitId':_0xc9f0e0[_0x3ba917(0x93)],'showText':_0x3ba917(0x2e0)})),'insertBorder');break;}case _0x4ca1e8[_0x3ba917(0x3c6)]['id']:{let _0x57cdc3=_0x5a5019;_0x171966((Array[_0x3ba917(0x133)](_0x57cdc3[_0x3ba917(0x280)])?_0x57cdc3[_0x3ba917(0x280)]:[_0x57cdc3[_0x3ba917(0x280)]])[_0x3ba917(0x369)](_0x29ec7c=>_0x29ec7c[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x345646=>({'range':_0x345646,'unitId':_0x57cdc3[_0x3ba917(0x3e9)],'subUnitId':_0x57cdc3[_0x3ba917(0x93)],'showText':_0x3ba917(0x3f3)})))[_0x3ba917(0x393)](),_0x3ba917(0x2bb));break;}case _0x5431fa[_0x3ba917(0x3eb)]['id']:{let _0xd88758=_0x5a5019,_0x1546bd=_0xd88758[_0x3ba917(0x3e9)],_0x18818b=_0xd88758[_0x3ba917(0x93)];_0xd88758['ruleIds']&&_0xd88758[_0x3ba917(0x20d)][_0x3ba917(0x217)]>0x0&&_0xd88758['subUnitId']&&_0xd88758[_0x3ba917(0x20d)]['forEach'](_0x23fde7=>{const _0x5b55e0=_0x3ba917;let _0x3c5b22=this[_0x5b55e0(0x1fa)]['getRule'](_0x1546bd,_0x18818b,_0x23fde7),_0x195afa=(_0x3c5b22==null?void 0x0:_0x3c5b22[_0x5b55e0(0x1b7)]['map'](_0x5115dc=>({'range':_0x5115dc,'unitId':_0x1546bd,'subUnitId':_0x18818b,'showText':_0x5b55e0(0x17d)})))||[];_0x195afa['length']>0x0&&_0x171966(_0x195afa,_0x5b55e0(0x332));});break;}case _0x3463d2[_0x3ba917(0x169)]['id']:{let _0x50a868=_0x5a5019;if(_0x50a868[_0x3ba917(0x1cf)]&&_0x50a868[_0x3ba917(0x93)]){let _0x386703=this[_0x3ba917(0x21d)]['getRule'](_0x50a868['unitId'],_0x50a868[_0x3ba917(0x93)],_0x50a868[_0x3ba917(0x1cf)]);if(_0x386703){let _0x36a822=_0x386703[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x3a5774=>({'range':_0x3a5774,'unitId':_0x50a868[_0x3ba917(0x3e9)],'subUnitId':_0x50a868[_0x3ba917(0x93)],'showText':'deleteCF'}));_0x36a822['length']>0x0&&_0x171966(_0x36a822,_0x3ba917(0x332));}}break;}case _0x4ca1e8['RemoveDataValidationMutation']['id']:{let _0xa0029b=_0x5a5019,_0x5cfa74=Array[_0x3ba917(0x133)](_0xa0029b['ruleId'])?_0xa0029b['ruleId']:[_0xa0029b['ruleId']];_0x5cfa74[_0x3ba917(0x217)]>0x0&&_0xa0029b['subUnitId']&&_0x5cfa74[_0x3ba917(0xc9)](_0x189b64=>{const _0x2c5ce7=_0x3ba917;let _0x55858e=this[_0x2c5ce7(0x29b)][_0x2c5ce7(0x265)](_0xa0029b[_0x2c5ce7(0x3e9)],_0xa0029b[_0x2c5ce7(0x93)],_0x189b64),_0x11dd63=(_0x55858e==null?void 0x0:_0x55858e[_0x2c5ce7(0x1b7)][_0x2c5ce7(0x369)](_0x50a4d3=>({'range':_0x50a4d3,'unitId':_0xa0029b[_0x2c5ce7(0x3e9)],'subUnitId':_0xa0029b['subUnitId'],'showText':'removeDV'})))||[];_0x11dd63['length']>0x0&&_0x171966(_0x11dd63,_0x2c5ce7(0x332));});break;}case _0x5431fa['SetRangeProtectionMutation']['id']:{let _0x4dcac1=_0x5a5019;_0x171966(_0x4dcac1['rule']['ranges']['map'](_0x38400d=>({'range':_0x38400d,'unitId':_0x4dcac1[_0x3ba917(0x3e9)],'subUnitId':_0x4dcac1[_0x3ba917(0x93)],'showText':_0x3ba917(0x252)})),_0x3ba917(0x141));break;}case _0x5431fa[_0x3ba917(0x2b5)]['id']:{let _0x5d8de7=_0x5a5019;_0x171966([{'range':_0x5d8de7['range'],'unitId':_0x5d8de7[_0x3ba917(0x3e9)],'subUnitId':_0x5d8de7['subUnitId'],'showText':_0x3ba917(0x243)}],'updateBorder');break;}case _0x5431fa[_0x3ba917(0x27e)]['id']:{let _0x632da5=_0x5a5019;_0x171966([{'range':_0x632da5[_0x3ba917(0x9c)],'unitId':_0x632da5[_0x3ba917(0x3e9)],'subUnitId':_0x632da5[_0x3ba917(0x93)],'showText':_0x3ba917(0x160)}],'updateBorder');break;}case _0x3463d2[_0x3ba917(0x1ab)]['id']:{let _0x25bd71=_0x5a5019;_0x171966(_0x25bd71[_0x3ba917(0x280)]['ranges']['map'](_0x3ae18f=>({'range':_0x3ae18f,'unitId':_0x25bd71[_0x3ba917(0x3e9)],'subUnitId':_0x25bd71[_0x3ba917(0x93)],'showText':_0x3ba917(0x2e0)})),'updateBorder');break;}case _0x3463d2['MoveConditionalRuleMutation']['id']:{let _0x14c1b5=_0x5a5019,_0x541a9b=this[_0x3ba917(0x21d)]['getRule'](_0x14c1b5[_0x3ba917(0x3e9)],_0x14c1b5[_0x3ba917(0x93)],_0x14c1b5[_0x3ba917(0x1d9)]['id']),_0x5f218f=this[_0x3ba917(0x21d)][_0x3ba917(0x3de)](_0x14c1b5[_0x3ba917(0x3e9)],_0x14c1b5[_0x3ba917(0x93)],_0x14c1b5[_0x3ba917(0x15c)]['id']);_0x541a9b&&_0x171966(_0x541a9b[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x5597b6=>({'range':_0x5597b6,'unitId':_0x14c1b5[_0x3ba917(0x3e9)],'subUnitId':_0x14c1b5['subUnitId'],'showText':_0x3ba917(0xa5)})),_0x3ba917(0x332)),_0x5f218f&&_0x171966(_0x5f218f[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x128a62=>({'range':_0x128a62,'unitId':_0x14c1b5[_0x3ba917(0x3e9)],'subUnitId':_0x14c1b5[_0x3ba917(0x93)],'showText':_0x3ba917(0xa5)})),_0x3ba917(0x2bb));break;}case _0x4f392a[_0x3ba917(0x3bc)]['id']:{let _0xf2ab07=_0x5a5019;_0x171966([{'range':_0xf2ab07[_0x3ba917(0x9c)],'unitId':_0xf2ab07['unitId'],'subUnitId':_0xf2ab07['subUnitId'],'showText':_0x3ba917(0x28d)}],_0x3ba917(0x141));break;}case _0x4f392a['SetSheetsFilterCriteriaMutation']['id']:{let _0x44aa2a=_0x5a5019,_0x234829=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x44aa2a[_0x3ba917(0x3e9)],_0x44aa2a['subUnitId']);if(_0x234829){let _0x55d908=_0x234829['getRange']();_0x171966(_0x55d908?[{'range':_0x55d908,'unitId':_0x44aa2a[_0x3ba917(0x3e9)],'subUnitId':_0x44aa2a[_0x3ba917(0x93)],'showText':_0x3ba917(0x137)}]:[],_0x3ba917(0x141));}break;}case _0x4f392a[_0x3ba917(0x225)]['id']:{let _0x136f16=_0x5a5019,_0x446987=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x136f16[_0x3ba917(0x3e9)],_0x136f16[_0x3ba917(0x93)]);if(_0x446987){let _0x33d779=_0x446987[_0x3ba917(0xa3)]();_0x171966(_0x33d779?[{'range':_0x33d779,'unitId':_0x136f16['unitId'],'subUnitId':_0x136f16['subUnitId'],'showText':_0x3ba917(0x3e2)}]:[],_0x3ba917(0x141));}break;}case _0x4f392a[_0x3ba917(0x227)]['id']:{let _0x56e1b5=_0x5a5019,_0xfd7873=this[_0x3ba917(0x317)][_0x3ba917(0xb0)](_0x56e1b5['unitId'],_0x56e1b5[_0x3ba917(0x93)]);if(_0xfd7873){let _0x4c3802=_0xfd7873[_0x3ba917(0xa3)]();_0x171966(_0x4c3802?[{'range':_0x4c3802,'unitId':_0x56e1b5['unitId'],'subUnitId':_0x56e1b5[_0x3ba917(0x93)],'showText':'removeFilter'}]:[],'updateBorder');}break;}case _0x4ca1e8[_0x3ba917(0x1d4)]['id']:{let _0x579b7a=_0x5a5019,_0x15625c=this['_dataValidationModel']['getRuleById'](_0x579b7a[_0x3ba917(0x3e9)],_0x579b7a[_0x3ba917(0x93)],_0x579b7a[_0x3ba917(0xde)]);_0x15625c&&_0x171966(_0x15625c[_0x3ba917(0x1b7)][_0x3ba917(0x369)](_0x2c4ed5=>({'range':_0x2c4ed5,'unitId':_0x579b7a['unitId'],'subUnitId':_0x579b7a[_0x3ba917(0x93)],'showText':_0x3ba917(0x3f3)})),_0x3ba917(0x141));break;}case _0x4b82f6[_0x3ba917(0x372)]['id']:{let _0x4649e6=_0x5a5019,_0x27c69c=_0x4649e6[_0x3ba917(0x3e9)],_0x427539=_0x4649e6[_0x3ba917(0x93)],_0x391f2b=_0x4649e6[_0x3ba917(0xb8)];_0x4649e6[_0x3ba917(0xb8)]&&_0x427539&&Object[_0x3ba917(0x1c4)](_0x4649e6[_0x3ba917(0xb8)])[_0x3ba917(0xc9)](_0x44371c=>{const _0x297e20=_0x3ba917;let _0x48ac04=_0x391f2b[_0x44371c];_0x171966(_0x3a4145(_0x48ac04[_0x297e20(0xdc)])[_0x297e20(0x369)](_0x3fcfce=>({'range':_0x3fcfce,'unitId':_0x27c69c,'subUnitId':_0x427539,'showText':_0x297e20(0x3f2)})),_0x297e20(0x181));});break;}case _0x4b82f6[_0x3ba917(0x3a4)]['id']:{let _0x589147=_0x5a5019;_0x589147[_0x3ba917(0x13a)]&&_0x589147[_0x3ba917(0x13a)]['length']>0x0&&_0x589147['subUnitId']&&_0x589147[_0x3ba917(0x13a)]['forEach'](_0x5649c2=>{const _0x39d94b=_0x3ba917;let _0x5bf272=this['_sparklineDataSourceModel']['getSparklineById'](_0x589147['unitId'],_0x589147[_0x39d94b(0x93)],_0x5649c2);_0x5bf272&&_0x171966(_0x3a4145(_0x5bf272[_0x39d94b(0xdc)][_0x39d94b(0x3b0)]())[_0x39d94b(0x369)](_0x5b9d52=>({'range':_0x5b9d52,'unitId':_0x589147['unitId'],'subUnitId':_0x589147[_0x39d94b(0x93)],'showText':_0x39d94b(0x364)})),_0x39d94b(0x212));});break;}case _0x4b82f6['RemoveSheetSparklineMutation']['id']:{let _0x2834c9=_0x5a5019;_0x2834c9[_0x3ba917(0x13a)]&&_0x2834c9['groupIds'][_0x3ba917(0x217)]>0x0&&_0x2834c9[_0x3ba917(0x93)]&&_0x2834c9[_0x3ba917(0x13a)][_0x3ba917(0xc9)](_0x38385b=>{const _0x5e3766=_0x3ba917;let _0x45a97f=this[_0x5e3766(0x2e3)]['getSparklineById'](_0x2834c9[_0x5e3766(0x3e9)],_0x2834c9[_0x5e3766(0x93)],_0x38385b);_0x45a97f&&_0x171966(_0x3a4145(_0x45a97f[_0x5e3766(0xdc)][_0x5e3766(0x3b0)]())[_0x5e3766(0x369)](_0x1983ae=>({'range':_0x1983ae,'unitId':_0x2834c9[_0x5e3766(0x3e9)],'subUnitId':_0x2834c9[_0x5e3766(0x93)],'showText':_0x5e3766(0x2db)})),_0x5e3766(0x88));});break;}case _0x22596e[_0x3ba917(0x256)]['id']:{let _0x5591e5=_0x5a5019;_0x5591e5[_0x3ba917(0x1af)]&&_0x5591e5[_0x3ba917(0x93)]&&_0x171966([{'range':_0x5591e5[_0x3ba917(0x9c)],'unitId':_0x5591e5[_0x3ba917(0x3e9)],'subUnitId':_0x5591e5[_0x3ba917(0x93)],'showText':_0x3ba917(0x1c5)}],_0x3ba917(0x181));break;}case _0x22596e[_0x3ba917(0x84)]['id']:{let _0x3ed535=_0x5a5019;if(_0x3ed535['tableId']&&_0x3ed535['subUnitId']){var _0x3c0285;let _0x5ee6e2=(_0x3c0285=this[_0x3ba917(0x1a5)][_0x3ba917(0x2a9)](_0x3ed535[_0x3ba917(0x3e9)],_0x3ed535[_0x3ba917(0x1af)]))==null?void 0x0:_0x3c0285[_0x3ba917(0x9c)];_0x5ee6e2&&_0x171966([{'range':_0x5ee6e2,'unitId':_0x3ed535['unitId'],'subUnitId':_0x3ed535['subUnitId'],'showText':_0x3ba917(0x24c)}],_0x3ba917(0x88));}break;}case _0x22596e[_0x3ba917(0x1d0)]['id']:{let _0x747581=_0x5a5019;if(_0x747581['tableId']){let _0x5c967a=this['_sheetTableService'][_0x3ba917(0x2a9)](_0x747581[_0x3ba917(0x3e9)],_0x747581[_0x3ba917(0x1af)]);_0x5c967a&&_0x5c967a[_0x3ba917(0x9c)]&&_0x5c967a[_0x3ba917(0x93)]&&(_0x27a131[_0x3ba917(0x380)][_0x3ba917(0x113)](_0x5c967a['subUnitId']),_0x171966([{'range':_0x5c967a[_0x3ba917(0x9c)],'unitId':_0x747581[_0x3ba917(0x3e9)],'subUnitId':_0x5c967a['subUnitId'],'showText':_0x3ba917(0x2dc)}],_0x3ba917(0x212)));}break;}case _0x22596e['SetSheetTableMutation']['id']:{let _0x11e21a=_0x5a5019;if(_0x11e21a['tableId']&&_0x11e21a[_0x3ba917(0x93)]){var _0x35200f;let _0x11adfb=(_0x35200f=this[_0x3ba917(0x1a5)][_0x3ba917(0x2a9)](_0x11e21a[_0x3ba917(0x3e9)],_0x11e21a['tableId']))==null?void 0x0:_0x35200f[_0x3ba917(0x9c)];_0x11adfb&&_0x171966([{'range':_0x11adfb,'unitId':_0x11e21a[_0x3ba917(0x3e9)],'subUnitId':_0x11e21a[_0x3ba917(0x93)],'showText':_0x3ba917(0xc3)}],'update');}break;}case _0x3089bf[_0x3ba917(0x406)]['id']:{let _0xd46aaa=_0x5a5019;if(_0xd46aaa[_0x3ba917(0x16b)]&&_0xd46aaa[_0x3ba917(0x93)]){var _0x2a867a;let _0x522a56=(_0x2a867a=this[_0x3ba917(0x33d)]['getPivotTableRangeInfo'](_0xd46aaa['unitId'],_0xd46aaa[_0x3ba917(0x93)],_0xd46aaa[_0x3ba917(0x16b)]))==null?void 0x0:_0x2a867a[_0x3ba917(0x2a0)];_0x522a56&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x522a56)[_0x3ba917(0x369)](_0x29a438=>({'range':_0x29a438,'unitId':_0xd46aaa[_0x3ba917(0x3e9)],'subUnitId':_0xd46aaa[_0x3ba917(0x93)],'showText':_0x3ba917(0x26b)})),_0x3ba917(0x181));}break;}case _0x3089bf['RemovePivotTableMutation']['id']:{let _0x546c57=_0x5a5019;if(_0x546c57[_0x3ba917(0x16b)]&&_0x546c57['subUnitId']){var _0x4f6bf6;let _0x593245=(_0x4f6bf6=this['_sheetsPivotTableConfigModel'][_0x3ba917(0xb6)](_0x546c57[_0x3ba917(0x3e9)],_0x546c57['subUnitId'],_0x546c57[_0x3ba917(0x16b)]))==null?void 0x0:_0x4f6bf6['rangeInfo'];_0x593245&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x593245)['map'](_0x380810=>({'range':_0x380810,'unitId':_0x546c57[_0x3ba917(0x3e9)],'subUnitId':_0x546c57['subUnitId'],'showText':_0x3ba917(0x36e)})),_0x3ba917(0x88));}break;}case _0x3089bf[_0x3ba917(0x13e)]['id']:case _0x3089bf[_0x3ba917(0x12a)]['id']:case _0x3089bf['UpdatePivotTableSourceRangeMutation']['id']:case _0x3089bf['AddPivotFieldMutation']['id']:case _0x3089bf['RemovePivotFieldMutation']['id']:case _0x3089bf['RenamePivotFieldMutation']['id']:case _0x3089bf[_0x3ba917(0x2d9)]['id']:case _0x3089bf[_0x3ba917(0x2c3)]['id']:case _0x3089bf[_0x3ba917(0x3d5)]['id']:case _0x3089bf['SetPivotFilterMutation']['id']:case _0x3089bf[_0x3ba917(0x1ff)]['id']:case _0x3089bf[_0x3ba917(0xa6)]['id']:case _0x3089bf[_0x3ba917(0x296)]['id']:case _0x3089bf[_0x3ba917(0x1e6)]['id']:case _0x3089bf[_0x3ba917(0x25b)]['id']:{let _0x70971f=_0x5a5019,_0xeebe35=_0x3ba917(0x73);if(_0x319f64===_0x3089bf[_0x3ba917(0x13e)]['id']?_0xeebe35=_0x3ba917(0x73):_0x319f64===_0x3089bf[_0x3ba917(0x12a)]['id']?_0xeebe35=_0x3ba917(0x94):_0x319f64===_0x3089bf[_0x3ba917(0x104)]['id']?_0xeebe35=_0x3ba917(0x32b):_0x319f64===_0x3089bf['AddPivotFieldMutation']['id']?_0xeebe35=_0x3ba917(0x224):_0x319f64===_0x3089bf[_0x3ba917(0x2ad)]['id']?_0xeebe35=_0x3ba917(0x3d6):_0x319f64===_0x3089bf[_0x3ba917(0xfe)]['id']?_0xeebe35=_0x3ba917(0x140):_0x319f64===_0x3089bf[_0x3ba917(0x2d9)]['id']?_0xeebe35='updateFieldPosition':_0x319f64===_0x3089bf[_0x3ba917(0x2c3)]['id']?_0xeebe35=_0x3ba917(0x2fb):_0x319f64===_0x3089bf[_0x3ba917(0x3d5)]['id']?_0xeebe35='updatePivotFieldSource':_0x319f64===_0x3089bf[_0x3ba917(0x3f8)]['id']?_0xeebe35=_0x3ba917(0x38c):_0x319f64===_0x3089bf[_0x3ba917(0x1ff)]['id']?_0xeebe35=_0x3ba917(0xe0):_0x319f64===_0x3089bf['SetPivotSortMutation']['id']?_0xeebe35=_0x3ba917(0x23c):_0x319f64===_0x3089bf[_0x3ba917(0x296)]['id']?_0xeebe35=_0x3ba917(0x209):_0x319f64===_0x3089bf[_0x3ba917(0x25b)]['id']?_0xeebe35='setPivotSubtotalType':_0x319f64===_0x3089bf[_0x3ba917(0x1e6)]['id']&&(_0xeebe35=_0x3ba917(0x39a)),_0x70971f[_0x3ba917(0x16b)]&&_0x70971f[_0x3ba917(0x93)]){var _0x48bbaf;let _0x3cb23f=(_0x48bbaf=this['_sheetsPivotTableConfigModel']['getPivotTableRangeInfo'](_0x70971f[_0x3ba917(0x3e9)],_0x70971f['subUnitId'],_0x70971f['pivotTableId']))==null?void 0x0:_0x48bbaf[_0x3ba917(0x2a0)];_0x3cb23f&&_0x171966((0x0,_0x3089bf[_0x3ba917(0x188)])(_0x3cb23f)[_0x3ba917(0x369)](_0x46e311=>({'range':_0x46e311,'unitId':_0x70971f[_0x3ba917(0x3e9)],'subUnitId':_0x70971f[_0x3ba917(0x93)],'showText':_0xeebe35})),'update');}break;}case _0x5302d2[_0x3ba917(0x3e3)]['id']:{let _0x448ca1=_0x5a5019;_0x448ca1[_0x3ba917(0x408)]&&_0x27a131[_0x3ba917(0x3e1)][_0x3ba917(0x113)]({'drawingId':_0x448ca1[_0x3ba917(0x408)],'unitId':_0x448ca1['unitId'],'subUnitId':_0x448ca1[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5302d2[_0x3ba917(0x201)]['id']:{let _0x1ac4f2=_0x5a5019;_0x1ac4f2[_0x3ba917(0x408)]&&_0x27a131[_0x3ba917(0x3e5)][_0x3ba917(0x113)]({'drawingId':_0x1ac4f2[_0x3ba917(0x408)],'unitId':_0x1ac4f2[_0x3ba917(0x3e9)],'subUnitId':_0x1ac4f2[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5302d2['ChartUpdateConfigMutation']['id']:{let _0x5c0bd4=_0x5a5019;if(_0x5c0bd4[_0x3ba917(0x1c8)]){let _0x3bd2f2=this[_0x3ba917(0x17f)]['getSubUnitId'](_0x5c0bd4[_0x3ba917(0x3e9)],_0x5c0bd4[_0x3ba917(0x1c8)]);_0x3bd2f2&&(_0x27a131[_0x3ba917(0x380)][_0x3ba917(0x113)](_0x3bd2f2),_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x5c0bd4[_0x3ba917(0x1c8)],'unitId':_0x5c0bd4[_0x3ba917(0x3e9)],'subUnitId':_0x3bd2f2,'showText':_0x9cfb56}));}break;}case _0x5302d2[_0x3ba917(0xff)]['id']:{let _0x1d26aa=_0x5a5019;if(_0x1d26aa[_0x3ba917(0x1c8)]){let _0x5df4d2=this[_0x3ba917(0x17f)][_0x3ba917(0xe7)](_0x1d26aa[_0x3ba917(0x3e9)],_0x1d26aa[_0x3ba917(0x1c8)]);_0x5df4d2&&(_0x27a131[_0x3ba917(0x380)]['push'](_0x5df4d2),_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x1d26aa[_0x3ba917(0x1c8)],'unitId':_0x1d26aa[_0x3ba917(0x3e9)],'subUnitId':_0x5df4d2,'showText':_0x9cfb56}));}break;}case _0x592f14[_0x3ba917(0xd1)]['id']:{let _0xe1111b=_0x5a5019;_0xe1111b[_0x3ba917(0xa4)]&&_0x27a131['insertDrawings'][_0x3ba917(0x113)]({'drawingId':_0xe1111b[_0x3ba917(0xa4)],'unitId':_0xe1111b[_0x3ba917(0x3e9)],'subUnitId':_0xe1111b[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x592f14['RemoveSheetsShapeMutation']['id']:{let _0xe3c54d=_0x5a5019;_0xe3c54d[_0x3ba917(0xa4)]&&_0x27a131[_0x3ba917(0x3e5)]['push']({'drawingId':_0xe3c54d[_0x3ba917(0xa4)],'unitId':_0xe3c54d[_0x3ba917(0x3e9)],'subUnitId':_0xe3c54d['subUnitId'],'showText':_0x9cfb56});break;}case _0x592f14['UpdateSheetsShapeDataMutation']['id']:case _0x592f14[_0x3ba917(0x286)]['id']:{let _0x348730=_0x5a5019;_0x348730['shapeId']&&_0x27a131['updateDrawings'][_0x3ba917(0x113)]({'drawingId':_0x348730['shapeId'],'unitId':_0x348730[_0x3ba917(0x3e9)],'subUnitId':_0x348730[_0x3ba917(0x93)],'showText':_0x9cfb56});break;}case _0x5a4e7e[_0x3ba917(0x396)]['id']:{let _0xeea7a7=_0x5a5019,_0x576137=_0xeea7a7[_0x3ba917(0x154)],_0x13946c=_0xeea7a7[_0x3ba917(0x30e)],_0x1a418d=_0x13946c!==_0x5a4e7e[_0x3ba917(0x266)]['INSERT']&&_0x13946c!==_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)],_0x30dad8=_0x13946c===_0x5a4e7e[_0x3ba917(0x266)]['INSERT'],_0x480a11=_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)],_0x43fde2=_0x9cfb56;if(_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x3b6)]?_0x43fde2=this[_0x3ba917(0x1ec)]['t'](_0x3ba917(0x163)):_0x13946c===_0x5a4e7e[_0x3ba917(0x266)][_0x3ba917(0x244)]&&(_0x43fde2=this[_0x3ba917(0x1ec)]['t'](_0x3ba917(0x129))),Array['isArray'](_0x576137))_0x576137[_0x3ba917(0xc9)](_0x11d456=>{const _0x5e73d3=_0x3ba917;if(_0x5e73d3(0xa7)in _0x11d456&&_0x11d456[_0x5e73d3(0xa7)])_0x1a418d?_0x27a131[_0x5e73d3(0xe8)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131['insertDrawings']['push']({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x5e73d3(0x3e5)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2});else{if(_0x5e73d3(0x168)in _0x11d456&&_0x5e73d3(0x1eb)in _0x11d456){var _0x32f09e,_0x49b640;(_0x32f09e=_0x11d456['parent'])!=null&&_0x32f09e[_0x5e73d3(0xa7)]&&(_0x1a418d?_0x27a131[_0x5e73d3(0xe8)]['push']({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x5e73d3(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x5e73d3(0x3e1)]['push']({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x5e73d3(0x3e5)][_0x5e73d3(0x113)]({'drawingId':_0x11d456[_0x5e73d3(0x168)][_0x5e73d3(0xa7)],'unitId':_0xeea7a7[_0x5e73d3(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2})),(_0x49b640=_0x11d456[_0x5e73d3(0x1eb)])==null||_0x49b640['forEach'](_0x596493=>{const _0x335963=_0x5e73d3;_0x596493[_0x335963(0xa7)]&&(_0x1a418d?_0x27a131[_0x335963(0xe8)][_0x335963(0x113)]({'drawingId':_0x596493[_0x335963(0xa7)],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131['insertDrawings'][_0x335963(0x113)]({'drawingId':_0x596493[_0x335963(0xa7)],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x335963(0x3e5)]['push']({'drawingId':_0x596493['drawingId'],'unitId':_0xeea7a7[_0x335963(0x3e9)],'subUnitId':_0xeea7a7[_0x335963(0x93)],'showText':_0x43fde2}));});}}});else{if(_0x576137&&typeof _0x576137==_0x3ba917(0x1e0)){if(_0x3ba917(0x248)in _0x576137&&Array[_0x3ba917(0x133)](_0x576137[_0x3ba917(0x248)]))_0x576137[_0x3ba917(0x248)][_0x3ba917(0xc9)](_0x3a54c7=>{const _0x4adb02=_0x3ba917;_0x1a418d?_0x27a131[_0x4adb02(0xe8)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7[_0x4adb02(0x3e9)],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x4adb02(0x3e1)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x4adb02(0x3e5)][_0x4adb02(0x113)]({'drawingId':_0x3a54c7,'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4adb02(0x93)],'showText':_0x43fde2});});else{if('parent'in _0x576137&&_0x3ba917(0x1eb)in _0x576137){var _0x1b28b7,_0xefca4e;(_0x1b28b7=_0x576137['parent'])!=null&&_0x1b28b7[_0x3ba917(0xa7)]&&(_0x1a418d?_0x27a131[_0x3ba917(0xe8)][_0x3ba917(0x113)]({'drawingId':_0x576137[_0x3ba917(0x168)][_0x3ba917(0xa7)],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7[_0x3ba917(0x93)],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x3ba917(0x3e1)][_0x3ba917(0x113)]({'drawingId':_0x576137[_0x3ba917(0x168)]['drawingId'],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7[_0x3ba917(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131[_0x3ba917(0x3e5)][_0x3ba917(0x113)]({'drawingId':_0x576137['parent']['drawingId'],'unitId':_0xeea7a7[_0x3ba917(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2})),(_0xefca4e=_0x576137[_0x3ba917(0x1eb)])==null||_0xefca4e[_0x3ba917(0xc9)](_0x1851e3=>{const _0x4523d1=_0x3ba917;_0x1851e3[_0x4523d1(0xa7)]&&(_0x1a418d?_0x27a131[_0x4523d1(0xe8)][_0x4523d1(0x113)]({'drawingId':_0x1851e3[_0x4523d1(0xa7)],'unitId':_0xeea7a7[_0x4523d1(0x3e9)],'subUnitId':_0xeea7a7['subUnitId'],'showText':_0x43fde2}):_0x30dad8?_0x27a131[_0x4523d1(0x3e1)][_0x4523d1(0x113)]({'drawingId':_0x1851e3['drawingId'],'unitId':_0xeea7a7['unitId'],'subUnitId':_0xeea7a7[_0x4523d1(0x93)],'showText':_0x43fde2}):_0x480a11&&_0x27a131['deleteDrawings']['push']({'drawingId':_0x1851e3[_0x4523d1(0xa7)],'unitId':_0xeea7a7[_0x4523d1(0x3e9)],'subUnitId':_0xeea7a7[_0x4523d1(0x93)],'showText':_0x43fde2}));});}}}}break;}}return _0x27a131;}[_0x2267a7(0x91)](_0xde2a70){const _0x20950b=_0x2267a7;if(_0xde2a70[_0x20950b(0x217)]<=0x1)return _0xde2a70;let _0x8e4c5a=new Map();return _0xde2a70['forEach'](_0x52144f=>{const _0x4b3189=_0x20950b;let {unitId:_0x4e2e73,subUnitId:_0x389a30}=_0x52144f,_0x242eeb=_0x4e2e73+'-'+_0x389a30;if(!_0x8e4c5a[_0x4b3189(0x29c)](_0x242eeb))_0x8e4c5a['set'](_0x242eeb,[_0x52144f]);else{var _0x38e21e;(_0x38e21e=_0x8e4c5a['get'](_0x242eeb))==null||_0x38e21e[_0x4b3189(0x113)](_0x52144f);}}),Array[_0x20950b(0x36a)](_0x8e4c5a[_0x20950b(0x2d8)]())['map'](_0x29fdc2=>new _0x5431fa[(_0x20950b(0x2d4))]()[_0x20950b(0x7b)](..._0x29fdc2[_0x20950b(0x369)](_0x2729c5=>_0x2729c5[_0x20950b(0x9c)]))[_0x20950b(0x156)]()['map'](_0x462302=>({'range':_0x462302,'unitId':_0x29fdc2[0x0]['unitId'],'subUnitId':_0x29fdc2[0x0][_0x20950b(0x93)],'showText':_0x29fdc2[0x0]['showText'],'highlightRow':_0x29fdc2[0x0][_0x20950b(0x27f)],'highlightColumn':_0x29fdc2[0x0][_0x20950b(0x31d)]})))[_0x20950b(0x393)]();}};_0x31302b=_0x9526d9([_0x550961(0x0,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x1,_0x26651d[_0x2267a7(0x30d)]),_0x550961(0x2,_0x26651d[_0x2267a7(0x3cb)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5431fa['RangeProtectionRuleModel'])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3463d2[_0x2267a7(0x2ce)])),_0x550961(0x5,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0xd0b5e7[_0x2267a7(0x394)])),_0x550961(0x6,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4f392a[_0x2267a7(0x39f)])),_0x550961(0x7,(0x0,_0x3bba19['Inject'])(_0x4b82f6[_0x2267a7(0x172)])),_0x550961(0x8,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3089bf[_0x2267a7(0x112)])),_0x550961(0x9,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x22596e[_0x2267a7(0x3c2)])),_0x550961(0xa,(0x0,_0x3bba19['Inject'])(_0x3bba19['LocaleService'])),_0x550961(0xb,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x5302d2[_0x2267a7(0x2ab)])),_0x550961(0xc,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x57a226))],_0x31302b);function _0x1a740f(_0xf7afb2){const _0x56e09d=_0x2267a7;return new _0x3bba19[(_0x56e09d(0x287))](_0xf7afb2)[_0x56e09d(0xdb)]();}function _0x3a4145(_0x5c1d2c){const _0x31210c=_0x2267a7;let _0x46ea28=new _0x3bba19[(_0x31210c(0x287))](_0x5c1d2c),_0x21d8c1=new _0x3bba19[(_0x31210c(0x287))]();return _0x46ea28[_0x31210c(0x374)]((_0x2c9721,_0x3c9735)=>{const _0x1c997b=_0x31210c;_0x21d8c1[_0x1c997b(0x199)](_0x2c9721,_0x3c9735,0x1);}),(0x0,_0x5431fa[_0x31210c(0x3ee)])(_0x21d8c1);}var _0x22d224=class extends _0x7352c7[_0x2267a7(0x344)]{constructor(_0x49daac,_0x4c4746){const _0x4aaea3=_0x2267a7;if(super(_0x49daac,_0x4c4746),_0x374704(this,_0x4aaea3(0x79),void 0x0),_0x374704(this,_0x4aaea3(0x319),void 0x0),_0x374704(this,_0x4aaea3(0x14b),void 0x0),_0x374704(this,_0x4aaea3(0x31a),0x4),_0x374704(this,'_blinkTimer',void 0x0),_0x374704(this,_0x4aaea3(0xd5),void 0x0),_0x374704(this,'_isBlinkVisible',!0x0),_0x374704(this,_0x4aaea3(0x92),''),_0x374704(this,_0x4aaea3(0x1cd),!0x1),_0x374704(this,_0x4aaea3(0x34c),_0x4aaea3(0x211)),_0x374704(this,'_showText',void 0x0),_0x4c4746){var _0x432a6d;if(this[_0x4aaea3(0x38b)](_0x4c4746),_0x4c4746[_0x4aaea3(0xe6)]&&((_0x432a6d=_0x4c4746[_0x4aaea3(0x3f6)])==null?this['_highlightSecond']:_0x432a6d)){var _0x5e7d1a;this[_0x4aaea3(0x306)]((_0x5e7d1a=_0x4c4746[_0x4aaea3(0x3f6)])==null?this[_0x4aaea3(0x31a)]:_0x5e7d1a);}}this[_0x4aaea3(0x13b)]['subscribeEvent'](()=>this[_0x4aaea3(0x38b)]({'hovered':!0x0})),this[_0x4aaea3(0x3e0)]['subscribeEvent'](()=>this[_0x4aaea3(0x38b)]({'hovered':!0x1}));}[_0x2267a7(0x38b)](_0x51dadf){const _0x38eeb0=_0x2267a7;var _0x344d84,_0x15063a,_0x3c7cc8,_0x2e8c31,_0x48f35c,_0x176c0c;this['_color']=(_0x344d84=_0x51dadf['color'])==null?this[_0x38eeb0(0x79)]:_0x344d84,this['_direction']=(_0x15063a=_0x51dadf[_0x38eeb0(0x328)])==null?this['_direction']:_0x15063a,this[_0x38eeb0(0x92)]=(_0x3c7cc8=_0x51dadf[_0x38eeb0(0x1f5)])==null?this[_0x38eeb0(0x92)]:_0x3c7cc8,this[_0x38eeb0(0x1cd)]=(_0x2e8c31=_0x51dadf[_0x38eeb0(0x26a)])==null?this[_0x38eeb0(0x1cd)]:_0x2e8c31,this['_labelPosition']=(_0x48f35c=_0x51dadf[_0x38eeb0(0x34d)])==null?this[_0x38eeb0(0x34c)]:_0x48f35c,this[_0x38eeb0(0xec)]=(_0x176c0c=_0x51dadf[_0x38eeb0(0x2be)])==null?this[_0x38eeb0(0xec)]:_0x176c0c,_0x51dadf[_0x38eeb0(0x3f6)]!==void 0x0&&(this[_0x38eeb0(0x31a)]=_0x51dadf['highlightSecond']),_0x51dadf[_0x38eeb0(0xe6)]!==void 0x0&&(this[_0x38eeb0(0x14b)]=_0x51dadf[_0x38eeb0(0xe6)]),this[_0x38eeb0(0x2dd)]({'width':_0x51dadf[_0x38eeb0(0x34f)],'height':_0x51dadf[_0x38eeb0(0x254)]});}[_0x2267a7(0x306)](_0x20916d){const _0x240c22=_0x2267a7;this[_0x240c22(0x3c8)](),this[_0x240c22(0x2c7)]=!0x0,this[_0x240c22(0xd5)]=window['setInterval'](()=>{const _0x494526=_0x240c22;this['_isBlinkVisible']=!this[_0x494526(0x2c7)],this[_0x494526(0x276)](!0x0);},0x1f4),this[_0x240c22(0x326)]=window['setTimeout'](()=>{const _0x146eba=_0x240c22;this[_0x146eba(0x3c8)](),this[_0x146eba(0x2c7)]=!0x0,this['makeDirty'](!0x0);},_0x20916d*0x3e8);}[_0x2267a7(0x3c8)](){const _0x31b13c=_0x2267a7;this[_0x31b13c(0xd5)]&&(window[_0x31b13c(0xad)](this[_0x31b13c(0xd5)]),this[_0x31b13c(0xd5)]=void 0x0),this[_0x31b13c(0x326)]&&(window[_0x31b13c(0x9b)](this['_blinkTimer']),this['_blinkTimer']=void 0x0);}[_0x2267a7(0x39c)](_0x2dbc27){return!0x1;}[_0x2267a7(0x3d0)](){const _0x42baa5=_0x2267a7;this[_0x42baa5(0x3c8)](),super[_0x42baa5(0x3d0)]();}[_0x2267a7(0x3ac)](_0x2f56aa){const _0x453cb8=_0x2267a7;let _0x16f346=this[_0x453cb8(0x79)];this[_0x453cb8(0x14b)]&&!this[_0x453cb8(0x2c7)]&&(_0x16f346=this[_0x453cb8(0x383)](this['_color'])),_0x2f56aa[_0x453cb8(0x325)](),_0x2f56aa[_0x453cb8(0xce)]=_0x16f346,_0x2f56aa['fillStyle']=_0x16f346,_0x2f56aa[_0x453cb8(0x2f9)]=0x4,this['_direction']===_0x453cb8(0x218)?this[_0x453cb8(0x220)](_0x2f56aa):this[_0x453cb8(0x27b)](_0x2f56aa),_0x2f56aa[_0x453cb8(0x2a4)](),(this[_0x453cb8(0x1cd)]||this[_0x453cb8(0xec)])&&this['_name']&&(_0x2f56aa['save'](),this[_0x453cb8(0x319)]==='horizontal'?_0x2f56aa[_0x453cb8(0x37e)](0x1,0x0,0x0,0x1,this[_0x453cb8(0x34f)],this[_0x453cb8(0x34c)]==='bottom'?0x0:-0x14):_0x2f56aa['transform'](0x1,0x0,0x0,0x1,this[_0x453cb8(0x34f)],this[_0x453cb8(0x34c)]==='bottom'?this[_0x453cb8(0x254)]:-0x14),this[_0x453cb8(0xc5)](_0x2f56aa,this[_0x453cb8(0x92)],_0x16f346),_0x2f56aa[_0x453cb8(0x2a4)]());}[_0x2267a7(0x220)](_0x4b4abe){const _0x45763a=_0x2267a7;let _0x4828e9=this[_0x45763a(0x254)]/0x2,_0x5ea0bf=this[_0x45763a(0x34f)]-0xc;_0x4b4abe[_0x45763a(0x1f1)](),_0x4b4abe[_0x45763a(0x1f3)](0xc,_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](_0x5ea0bf,_0x4828e9),_0x4b4abe[_0x45763a(0x2af)](),_0x4b4abe['beginPath'](),_0x4b4abe[_0x45763a(0x1f3)](0x0,_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](0xc,_0x4828e9-0xc/0x2),_0x4b4abe[_0x45763a(0x3d1)](0xc,_0x4828e9+0xc/0x2),_0x4b4abe[_0x45763a(0x2fe)](),_0x4b4abe[_0x45763a(0x2bf)](),_0x4b4abe[_0x45763a(0x1f1)](),_0x4b4abe[_0x45763a(0x1f3)](this[_0x45763a(0x34f)],_0x4828e9),_0x4b4abe[_0x45763a(0x3d1)](this[_0x45763a(0x34f)]-0xc,_0x4828e9-0xc/0x2),_0x4b4abe[_0x45763a(0x3d1)](this[_0x45763a(0x34f)]-0xc,_0x4828e9+0xc/0x2),_0x4b4abe[_0x45763a(0x2fe)](),_0x4b4abe[_0x45763a(0x2bf)]();}[_0x2267a7(0x27b)](_0x1acc70){const _0x48b989=_0x2267a7;let _0x41813a=this[_0x48b989(0x34f)]/0x2,_0x2c141f=this[_0x48b989(0x254)]-0xc;_0x1acc70[_0x48b989(0x1f1)](),_0x1acc70['moveTo'](_0x41813a,0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a,_0x2c141f),_0x1acc70[_0x48b989(0x2af)](),_0x1acc70['beginPath'](),_0x1acc70[_0x48b989(0x1f3)](_0x41813a,0x0),_0x1acc70['lineTo'](_0x41813a-0xc/0x2,0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a+0xc/0x2,0xc),_0x1acc70[_0x48b989(0x2fe)](),_0x1acc70[_0x48b989(0x2bf)](),_0x1acc70['beginPath'](),_0x1acc70[_0x48b989(0x1f3)](_0x41813a,this[_0x48b989(0x254)]),_0x1acc70['lineTo'](_0x41813a-0xc/0x2,this['height']-0xc),_0x1acc70[_0x48b989(0x3d1)](_0x41813a+0xc/0x2,this[_0x48b989(0x254)]-0xc),_0x1acc70[_0x48b989(0x2fe)](),_0x1acc70['fill']();}['_drawTextBubble'](_0x580f02,_0x25aebb,_0x321a66){const _0x2f7baf=_0x2267a7;_0x580f02[_0x2f7baf(0xdd)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x528f93=_0x580f02[_0x2f7baf(0x25a)](_0x25aebb)[_0x2f7baf(0x34f)],_0xa5f271=Math[_0x2f7baf(0x297)](_0x528f93+0x8,0xc8);if(_0x580f02[_0x2f7baf(0x11e)]=_0x321a66,_0x580f02['beginPath'](),_0x580f02[_0x2f7baf(0x1f3)](0x4,0x0),_0x580f02[_0x2f7baf(0x3d1)](_0xa5f271-0x4,0x0),_0x580f02[_0x2f7baf(0x214)](_0xa5f271-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x580f02[_0x2f7baf(0x3d1)](_0xa5f271,0x10),_0x580f02[_0x2f7baf(0x214)](_0xa5f271-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x580f02[_0x2f7baf(0x3d1)](0x0,0x14),_0x580f02[_0x2f7baf(0x3d1)](0x0,0x4),_0x580f02[_0x2f7baf(0x214)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x580f02[_0x2f7baf(0x2fe)](),_0x580f02[_0x2f7baf(0x2bf)](),_0x580f02[_0x2f7baf(0x11e)]='#FFF',_0x528f93>0xc0){let _0x32d62e='',_0x4c6804=0x0;for(let _0xeb67a2 of _0x25aebb){let _0x4fbe18=_0x580f02[_0x2f7baf(0x25a)](_0xeb67a2)[_0x2f7baf(0x34f)];if(_0x4c6804+_0x4fbe18<=0xc0-_0x580f02['measureText'](_0x2f7baf(0x7f))[_0x2f7baf(0x34f)])_0x32d62e+=_0xeb67a2,_0x4c6804+=_0x4fbe18;else{_0x32d62e+=_0x2f7baf(0x7f);break;}}_0x580f02[_0x2f7baf(0x127)](_0x32d62e,0x4,0xf);}else _0x580f02[_0x2f7baf(0x127)](_0x25aebb,0x4,0xf);}[_0x2267a7(0x383)](_0x3d198d){const _0x195d75=_0x2267a7;return _0x3d198d[_0x195d75(0x368)]('#')?'rgba('+Number['parseInt'](_0x3d198d['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x195d75(0x167)](_0x3d198d['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x195d75(0x167)](_0x3d198d['slice'](0x5,0x7),0x10)+_0x195d75(0x10a):_0x3d198d[_0x195d75(0x368)](_0x195d75(0x36c))?_0x3d198d[_0x195d75(0x298)](/[\d.]+\)$/g,_0x195d75(0x97)):_0x3d198d[_0x195d75(0x368)](_0x195d75(0x36d))?_0x3d198d[_0x195d75(0x298)](_0x195d75(0x36d),'rgba')[_0x195d75(0x298)](')',_0x195d75(0x10a)):_0x3d198d;}};let _0x2565e2=class extends _0x3bba19['Disposable']{constructor(_0x2206cb,_0x5044b9,_0x5ae439,_0x24890f,_0x3fd5ed,_0x2366ed,_0x9ca85a,_0x504ce8){const _0x18e304=_0x2267a7;super(),this[_0x18e304(0x95)]=_0x2206cb,this[_0x18e304(0x2ff)]=_0x5044b9,this['_versionDiffService']=_0x5ae439,this[_0x18e304(0x363)]=_0x24890f,this[_0x18e304(0x2fd)]=_0x3fd5ed,this[_0x18e304(0xfa)]=_0x2366ed,this[_0x18e304(0x16e)]=_0x9ca85a,this[_0x18e304(0x9f)]=_0x504ce8,_0x374704(this,'_diffs',new Set()),_0x374704(this,_0x18e304(0x2f7),new Set()),_0x374704(this,_0x18e304(0x13f),new Set()),_0x374704(this,_0x18e304(0x119),new Set()),_0x374704(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x40c9e8=_0x2267a7;this[_0x40c9e8(0x3af)](),this[_0x40c9e8(0x103)]();}[_0x2267a7(0x3af)](){const _0x1226a7=_0x2267a7;this[_0x1226a7(0x74)]((0x0,_0x54d7f0[_0x1226a7(0x250)])([this[_0x1226a7(0x2ff)][_0x1226a7(0x19e)],this['_sheetSkeletonManagerService'][_0x1226a7(0x3b8)]])[_0x1226a7(0x263)]((0x0,_0x54d7f0[_0x1226a7(0x11b)])(([_0x2eef45,_0xa1e511])=>{const _0x351c59=_0x1226a7;if(_0x2eef45===_0x351c59(0x1ad)&&_0xa1e511){let _0x422525=_0xa1e511[_0x351c59(0x1d5)];return this[_0x351c59(0x9d)][_0x351c59(0x1f6)][_0x351c59(0x263)]((0x0,_0x54d7f0[_0x351c59(0x369)])(_0x16e3fc=>_0x16e3fc['subUnitIds'][_0x351c59(0x217)]===0x0||_0x16e3fc[_0x351c59(0x380)]['includes'](_0x422525)?{'skeleton':_0xa1e511,'versionDiff':_0x16e3fc,'sheetID':_0x422525}:{'skeleton':_0xa1e511,'versionDiff':null}));}return(0x0,_0x54d7f0['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))['subscribe'](({skeleton:_0x3d7227,versionDiff:_0x5e3ed5,sheetID:_0x20ad5f})=>{const _0x67255b=_0x1226a7;this[_0x67255b(0xfd)](),_0x3d7227&&_0x5e3ed5&&_0x20ad5f&&this['_updateDiffMarks'](_0x3d7227,_0x5e3ed5,_0x20ad5f);})),this[_0x1226a7(0x74)](this['_sheetSkeletonManagerService'][_0x1226a7(0x3b8)][_0x1226a7(0x238)](_0x19ebc5=>{const _0x4aaae7=_0x1226a7;if(_0x19ebc5==null)return;let {skeleton:_0x1c6dda}=_0x19ebc5,{scene:_0x288354}=this[_0x4aaae7(0x95)];_0x288354['onPointerMove$'][_0x4aaae7(0x3ed)]((0x0,_0x3bba19[_0x4aaae7(0x25c)])(_0xb80b0b=>{const _0x564bc5=_0x4aaae7;var _0x23b1a8,_0x574d85;let {offsetX:_0xb0e657,offsetY:_0x2349fb}=_0xb80b0b,{x:_0x24654a,y:_0x2f0e87}=_0x288354[_0x564bc5(0x1cb)](_0x7352c7['Vector2'][_0x564bc5(0x29a)]([_0xb0e657,_0x2349fb])),{scaleX:_0x5bbcbe,scaleY:_0xcd6581}=_0x288354[_0x564bc5(0x3f9)](),_0x23a9b1=_0x288354[_0x564bc5(0x382)](_0x7352c7['SHEET_VIEWPORT_KEY'][_0x564bc5(0xc8)]),_0x4a4563=_0x288354[_0x564bc5(0xcf)](_0x7352c7[_0x564bc5(0x3d3)][_0x564bc5(0x29a)]([_0x24654a,_0x2f0e87]),_0x23a9b1),_0x141581=_0x1c6dda['getCellPositionByOffset'](_0xb0e657,_0x2349fb,_0x5bbcbe,_0xcd6581,_0x4a4563);((_0x23b1a8=this['_lastPointer'])==null?void 0x0:_0x23b1a8[_0x564bc5(0xf5)])===_0x141581[_0x564bc5(0xf5)]&&((_0x574d85=this[_0x564bc5(0x300)])==null?void 0x0:_0x574d85[_0x564bc5(0x1f0)])===_0x141581[_0x564bc5(0x1f0)]||this[_0x564bc5(0x2e7)]['forEach'](_0x45f9d5=>{const _0x44783b=_0x564bc5;_0x45f9d5[_0x44783b(0x98)]||_0x45f9d5[_0x44783b(0x2d7)](_0x141581);});},0x64));}));}['_initActiveSwitch'](){const _0x25d2fc=_0x2267a7;this[_0x25d2fc(0x74)](this[_0x25d2fc(0x2ff)][_0x25d2fc(0x19e)][_0x25d2fc(0x238)](_0x24943a=>{const _0xb97880=_0x25d2fc;let _0x1ece27=new _0x3bba19[(_0xb97880(0x3c4))]();return _0x24943a==='loaded'&&(_0x1ece27['dispose'](),_0x1ece27[_0xb97880(0x7b)](this[_0xb97880(0x9d)]['currentVersionDiff$']['subscribe'](_0x45f4e=>{const _0x30e2e6=_0xb97880;this['_updateWorksheetVisibility'](_0x45f4e['subUnitIds']),_0x45f4e[_0x30e2e6(0x1d6)]&&this[_0x30e2e6(0x16e)][_0x30e2e6(0x261)](_0x5431fa[_0x30e2e6(0xa8)]['id'],{'unitId':this[_0x30e2e6(0x95)][_0x30e2e6(0x3e9)],'subUnitId':_0x45f4e[_0x30e2e6(0x1d6)]});}))),()=>_0x1ece27[_0xb97880(0x3d0)]();}));}[_0x2267a7(0x405)](_0xb3023e){const _0x528bee=_0x2267a7;let _0x11c909=this[_0x528bee(0x363)][_0x528bee(0x3cf)](this[_0x528bee(0x95)][_0x528bee(0x3e9)],_0x3bba19[_0x528bee(0x1f9)][_0x528bee(0x18b)]);if(!_0x11c909)return;let _0x266e46=_0x11c909[_0x528bee(0x14a)]();if(_0xb3023e[_0x528bee(0x217)]===0x0){_0x266e46[_0x528bee(0xc9)](_0xb3c144=>{const _0x55476e=_0x528bee;_0xb3c144['isSheetHidden']()&&this[_0x55476e(0x16e)][_0x55476e(0x261)](_0x5431fa['SetWorksheetHideMutation']['id'],{'unitId':this[_0x55476e(0x95)][_0x55476e(0x3e9)],'subUnitId':_0xb3c144[_0x55476e(0x32e)](),'hidden':0x0});});return;}_0x266e46[_0x528bee(0xc9)](_0x540c0f=>{const _0x1a8a49=_0x528bee;let _0x2609eb=_0x540c0f['getSheetId'](),_0x23d2a6=_0xb3023e['includes'](_0x2609eb),_0x554791=_0x540c0f[_0x1a8a49(0xe2)]();_0x23d2a6&&_0x554791?this['_commandService'][_0x1a8a49(0x261)](_0x5431fa[_0x1a8a49(0x3c9)]['id'],{'unitId':this[_0x1a8a49(0x95)]['unitId'],'subUnitId':_0x2609eb,'hidden':0x0}):!_0x23d2a6&&!_0x554791&&this[_0x1a8a49(0x16e)][_0x1a8a49(0x261)](_0x5431fa[_0x1a8a49(0x3c9)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x2609eb,'hidden':0x1});});}[_0x2267a7(0x33b)](_0x2b255d,_0x34d612,_0x27eb4e){const _0x3dc084=_0x2267a7;this[_0x3dc084(0x2e7)][_0x3dc084(0xc9)](_0x4175e8=>{const _0x3dbd3e=_0x3dc084;_0x4175e8[_0x3dbd3e(0x276)]();});let _0x46b35d=this['generateDiffMarks'](_0x34d612,_0x27eb4e);this[_0x3dc084(0x2e7)]=new Set(_0x46b35d[_0x3dc084(0x354)](_0x263087=>_0x263087 instanceof _0x5455be[_0x3dc084(0x268)])),this['_borderDiffs']=new Set(_0x46b35d[_0x3dc084(0x354)](_0x5495da=>_0x5495da instanceof _0x7352c7[_0x3dc084(0x1cc)])),this[_0x3dc084(0x13f)]=new Set(_0x46b35d[_0x3dc084(0x354)](_0x123115=>_0x123115 instanceof _0x22d224)),_0x46b35d[_0x3dc084(0x217)]>0x0&&this[_0x3dc084(0x8f)](_0x46b35d[0x0],this[_0x3dc084(0x95)][_0x3dc084(0x236)]);}['generateDiffMarks'](_0x10a838,_0x508c31){const _0x2e65eb=_0x2267a7;let _0x329f92=this[_0x2e65eb(0xfa)][_0x2e65eb(0x347)]();if(!_0x329f92)return[];let {scene:_0x430378}=this[_0x2e65eb(0x95)],_0x43cb10=[],_0x20f2af=_0xcf2335=>{const _0x421c84=_0x2e65eb;if(!_0xcf2335)return new Map();let _0x1b93a1=new Map();return _0xcf2335[_0x421c84(0xc9)]((_0x15aace,_0x1cd3c7)=>{const _0x2c9f2f=_0x421c84;let _0x2ec221=_0x15aace[_0x2c9f2f(0x354)](_0x1ae3ab=>_0x1ae3ab['subUnitId']===_0x508c31);_0x2ec221[_0x2c9f2f(0x217)]>0x0&&_0x1b93a1[_0x2c9f2f(0x1f2)](_0x1cd3c7,_0x2ec221);}),_0x1b93a1;};return this['_renderCellRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x278)]),_0x2e65eb(0x2f3),_0x43cb10),this[_0x2e65eb(0x21a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0xbc)]),'rgba(198,40,40,0.5)',_0x43cb10),this['_renderCellRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838['updateCellRanges']),'rgba(21,101,192,0.5)',_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x81)]),_0x2e65eb(0x2f3),_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x318)]),_0x2e65eb(0xf8),_0x43cb10),this[_0x2e65eb(0x30a)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x308)]),'rgba(21,101,192,0.5)',_0x43cb10),this['_renderArrowRanges'](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x18c)]),_0x2e65eb(0x120),_0x43cb10),this[_0x2e65eb(0x23d)](_0x430378,_0x329f92,_0x20f2af(_0x10a838[_0x2e65eb(0x114)]),_0x2e65eb(0x218),_0x43cb10),_0x10a838[_0x2e65eb(0x3e1)]&&this['_renderDrawingHighlights'](_0x430378,_0x10a838[_0x2e65eb(0x3e1)],_0x2e65eb(0x2f3),_0x43cb10),_0x10a838[_0x2e65eb(0x3e5)]&&this[_0x2e65eb(0x320)](_0x430378,_0x10a838[_0x2e65eb(0x3e5)],_0x2e65eb(0xf8),_0x43cb10),_0x10a838[_0x2e65eb(0xe8)]&&this[_0x2e65eb(0x320)](_0x430378,_0x10a838[_0x2e65eb(0xe8)],_0x2e65eb(0x3fc),_0x43cb10),this[_0x2e65eb(0xf3)](_0x43cb10),_0x430378[_0x2e65eb(0x336)](_0x43cb10,0x14),_0x43cb10;}[_0x2267a7(0x23e)](){const _0x5763c3=_0x2267a7;this[_0x5763c3(0x2e7)][_0x5763c3(0xc9)](_0x32e12f=>{_0x32e12f['hide']();}),this[_0x5763c3(0x2f7)][_0x5763c3(0xc9)](_0x4031d7=>{const _0xca0033=_0x5763c3;_0x4031d7[_0xca0033(0x14f)]();}),this[_0x5763c3(0x13f)]['forEach'](_0x44fb29=>{const _0x41c6e3=_0x5763c3;_0x44fb29[_0x41c6e3(0x14f)]();});}['showDiffMarks'](){const _0x27b949=_0x2267a7;this[_0x27b949(0x2e7)]['forEach'](_0x24047e=>{_0x24047e['show']();}),this[_0x27b949(0x2f7)]['forEach'](_0x543468=>{const _0x12e763=_0x27b949;_0x543468[_0x12e763(0x96)]();}),this[_0x27b949(0x13f)][_0x27b949(0xc9)](_0x177bec=>{_0x177bec['show']();});}['removeDiffMarks'](){const _0x23e895=_0x2267a7;this[_0x23e895(0xfd)]();}[_0x2267a7(0x87)](_0x4daf13,_0x47e2ba){const _0x35b302=_0x2267a7;this[_0x35b302(0x8f)](_0x4daf13,_0x47e2ba);}[_0x2267a7(0x21a)](_0x58b20b,_0x2ed31e,_0x48cdaa,_0x38bb16,_0xb6e3a1){const _0x289e49=_0x2267a7;_0x48cdaa[_0x289e49(0xc9)]((_0x273698,_0x499c25)=>{const _0x2e3c40=_0x289e49;_0x273698[_0x2e3c40(0xc9)](_0x3e1267=>{const _0x15bc83=_0x2e3c40;var _0x476b52;let {range:_0x4152fe,subUnitId:_0x54b603,unitId:_0x11cb31,showText:_0x46d7dc='',highlightColumn:_0x40e081,highlightRow:_0x3f4250}=_0x3e1267,{startColumn:_0xeb54c1,startRow:_0x15f10d,endColumn:_0x5a548b,endRow:_0x2ce9d1}=_0x4152fe,_0x3c7908=(0x0,_0x24294d[_0x15bc83(0x39e)])(_0x15f10d,_0xeb54c1,_0x58b20b,_0x2ed31e),_0x4916b6=(0x0,_0x24294d['getCoordByCell'])(_0x2ce9d1,_0x5a548b,_0x58b20b,_0x2ed31e),{columnHeaderHeightAndMarginTop:_0x58adfa}=_0x2ed31e,{startX:_0x16c009,startY:_0x73f733}=_0x3c7908,{endX:_0x31ed56,endY:_0x1e9ed8}=_0x4916b6,_0x584e4f=_0x2ed31e['rowHeaderWidth'],_0x5135a7=_0x2ed31e[_0x15bc83(0x174)];_0x3f4250&&(_0x16c009-=_0x584e4f),_0x40e081&&(_0x73f733-=_0x5135a7);let _0x31cb60=_0x31ed56-_0x16c009,_0x33eb60=_0x1e9ed8-_0x73f733,_0x286faa={'labelPosition':_0x73f733-_0x58adfa>=0x14?_0x15bc83(0x211):_0x15bc83(0x1b8),'sheetID':_0x54b603,'range':_0x4152fe,'color':_0x38bb16,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x38bb16,'name':((_0x476b52=this['_historyManagerService'][_0x15bc83(0x315)](_0x499c25))==null?void 0x0:_0x476b52[_0x15bc83(0x1f5)])+'\x20'+_0x46d7dc||_0x46d7dc,'selection':_0x11cb31+'-'+_0x54b603+'-'+_0x4152fe['startColumn']+'-'+_0x4152fe['startRow']+'-'+_0x4152fe[_0x15bc83(0x25f)]+'-'+_0x4152fe[_0x15bc83(0xca)],'left':_0x16c009,'top':_0x73f733,'width':_0x31cb60,'height':_0x33eb60,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0xb6e3a1[_0x15bc83(0x113)](new _0x5455be['SheetCollabCursorShape']('',_0x286faa));});});}[_0x2267a7(0x30a)](_0x24cba5,_0x2cbc1d,_0x5ec4f3,_0x2dfe22,_0x2a7e9a){_0x5ec4f3['forEach']((_0x3efc5f,_0x41629c)=>{const _0x1a298a=_0x4408;_0x3efc5f[_0x1a298a(0xc9)](_0x2c30cf=>{const _0x33f0df=_0x1a298a;var _0x2959ff;let {range:_0x49d95c,subUnitId:_0x12c50c,unitId:_0x367a38,showText:_0x51d1a7=''}=_0x2c30cf,{startColumn:_0x175384,startRow:_0x35f2a8,endColumn:_0x68832d,endRow:_0x16cb61}=_0x49d95c,_0x253f97=(0x0,_0x24294d[_0x33f0df(0x39e)])(_0x35f2a8,_0x175384,_0x24cba5,_0x2cbc1d),_0x1dbd0d=(0x0,_0x24294d['getCoordByCell'])(_0x16cb61,_0x68832d,_0x24cba5,_0x2cbc1d),{columnHeaderHeightAndMarginTop:_0x1c92a0}=_0x2cbc1d,{startX:_0x47fe1a,startY:_0x3e8879}=_0x253f97,{endX:_0x3c04bf,endY:_0x1eba43}=_0x1dbd0d,_0x17d118=_0x3c04bf-_0x47fe1a,_0x44d906=_0x1eba43-_0x3e8879,_0x4c8b74={'labelPosition':_0x3e8879-_0x1c92a0>=0x14?_0x33f0df(0x211):_0x33f0df(0x1b8),'sheetID':_0x12c50c,'range':_0x49d95c,'color':_0x2dfe22,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x33f0df(0x235),'name':((_0x2959ff=this[_0x33f0df(0x2ff)][_0x33f0df(0x315)](_0x41629c))==null?void 0x0:_0x2959ff[_0x33f0df(0x1f5)])+'\x20'+_0x51d1a7||_0x51d1a7,'selection':_0x367a38+'-'+_0x12c50c+'-'+_0x49d95c[_0x33f0df(0x305)]+'-'+_0x49d95c[_0x33f0df(0x3ae)]+'-'+_0x49d95c[_0x33f0df(0x25f)]+'-'+_0x49d95c['endRow'],'left':_0x47fe1a-0xc/0x2,'top':_0x3e8879-0xc/0x2,'width':_0x17d118,'height':_0x44d906,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x2a7e9a[_0x33f0df(0x113)](new _0x5455be['SheetCollabCursorShape']('',_0x4c8b74));});});}[_0x2267a7(0x23d)](_0x53b89d,_0x53c573,_0x5479c8,_0x262360,_0xd702e3){const _0x175679=_0x2267a7;let _0x451d8e=_0x53c573['rowHeaderWidth'],_0x3a2843=_0x53c573[_0x175679(0x174)];_0x5479c8['forEach']((_0x366399,_0x1e4d56)=>{const _0x1b100d=_0x175679;_0x366399[_0x1b100d(0xc9)](_0x3b1f0c=>{const _0x394319=_0x1b100d;let {range:_0x588fba,showText:_0x6f271=''}=_0x3b1f0c,{startColumn:_0x5d3f8e,startRow:_0x2c32cc,endColumn:_0x43524c,endRow:_0x589312}=_0x588fba,_0x54be25=(0x0,_0x24294d[_0x394319(0x39e)])(_0x2c32cc,_0x5d3f8e,_0x53b89d,_0x53c573),_0x1fc10d=(0x0,_0x24294d[_0x394319(0x39e)])(_0x589312,_0x43524c,_0x53b89d,_0x53c573),{startX:_0x4dddc1,startY:_0x89249e}=_0x54be25,{endX:_0x43f94a,endY:_0xbe86de}=_0x1fc10d,{columnHeaderHeightAndMarginTop:_0x23e9c2}=_0x53c573,_0x5680dd;if(_0x262360===_0x394319(0x218)){var _0x5a9c77;_0x5680dd=new _0x22d224('',{'color':_0x394319(0x3fc),'direction':_0x394319(0x218),'left':_0x4dddc1,'top':0x2,'width':_0x43f94a-_0x4dddc1,'height':_0x3a2843-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x5a9c77=this['_historyManagerService'][_0x394319(0x315)](_0x1e4d56))==null?void 0x0:_0x5a9c77['name'])+'\x20'+_0x6f271||_0x6f271,'labelPosition':_0x89249e-_0x23e9c2>=0x14?'top':_0x394319(0x1b8)}),_0xd702e3[_0x394319(0x113)](_0x5680dd);}else{var _0x41f390;let _0x5a317a=_0xbe86de-_0x89249e;_0x5680dd=new _0x22d224('',{'color':'rgba(21,101,192,0.5)','direction':_0x394319(0x120),'left':0x2,'top':_0x89249e,'width':_0x451d8e-0x4,'height':_0x5a317a,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x41f390=this[_0x394319(0x2ff)][_0x394319(0x315)](_0x1e4d56))==null?void 0x0:_0x41f390[_0x394319(0x1f5)])+'\x20'+_0x6f271||_0x6f271,'labelPosition':_0x394319(0x211)}),_0xd702e3['push'](_0x5680dd);}});});}[_0x2267a7(0x320)](_0xdd2865,_0x351b20,_0x21df6f,_0x15514d){const _0x5c5a21=_0x2267a7;let _0x1cb947=this[_0x5c5a21(0xfa)][_0x5c5a21(0x347)]();if(!_0x1cb947)return;let {columnHeaderHeightAndMarginTop:_0x3aea0b}=_0x1cb947;_0x351b20[_0x5c5a21(0xc9)]((_0xcc5828,_0x99ebf3)=>{const _0x108f78=_0x5c5a21;_0xcc5828[_0x108f78(0xc9)](_0x505cda=>{const _0x27c452=_0x108f78;var _0x34d627;let {drawingId:_0x41e600,unitId:_0x345efb,subUnitId:_0x181906,showText:_0x28f79d=''}=_0x505cda,_0x373893=this[_0x27c452(0x9f)][_0x27c452(0x108)]({'unitId':_0x345efb,'subUnitId':_0x181906,'drawingId':_0x41e600});if(!_0x373893||!_0x373893['transform'])return;let {left:_0x3fa031=0x0,top:_0xc4d0f4=0x0,width:_0x321f2d,height:_0x5628c1}=_0x373893[_0x27c452(0x37e)],_0x266883=new _0x5455be[(_0x27c452(0x268))]('',{'labelPosition':_0xc4d0f4-_0x3aea0b>=0x14?'top':'bottom','sheetID':_0x181906,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x21df6f,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x27c452(0x235),'name':((_0x34d627=this[_0x27c452(0x2ff)]['getMember'](_0x99ebf3))==null?void 0x0:_0x34d627[_0x27c452(0x1f5)])+'\x20'+_0x28f79d||_0x28f79d,'selection':_0x345efb+'-'+_0x181906+_0x27c452(0x1a6)+_0x41e600,'left':_0x3fa031-0xc/0x2,'top':_0xc4d0f4-0xc/0x2,'width':_0x321f2d,'height':_0x5628c1,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x266883[_0x27c452(0x13b)][_0x27c452(0x3ed)](()=>{const _0x54a8cd=_0x27c452;this[_0x54a8cd(0x197)](_0x266883,_0x15514d)['forEach'](_0x326b2b=>{const _0x128dcd=_0x54a8cd;_0x326b2b instanceof _0x5455be['SheetCollabCursorShape']&&_0x326b2b[_0x128dcd(0x38b)]({'hovered':!0x0});});}),_0x266883['onPointerLeave$'][_0x27c452(0x3ed)](()=>{const _0x18d5fa=_0x27c452;this[_0x18d5fa(0x197)](_0x266883,_0x15514d)['forEach'](_0xd64388=>{const _0x16acac=_0x18d5fa;_0xd64388 instanceof _0x5455be[_0x16acac(0x268)]&&_0xd64388['setShapeProps']({'hovered':!0x1});});}),_0x15514d[_0x27c452(0x113)](_0x266883);});});}[_0x2267a7(0xfd)](){const _0x4a56c7=_0x2267a7;var _0x3723cb,_0x2b15a7,_0x50dcce,_0x118671;(_0x3723cb=this['_diffs'])==null||_0x3723cb['forEach'](_0x4003aa=>_0x4003aa[_0x4a56c7(0x3d0)]()),(_0x2b15a7=this['_borderDiffs'])==null||_0x2b15a7[_0x4a56c7(0xc9)](_0x1f6f7e=>_0x1f6f7e[_0x4a56c7(0x3d0)]()),(_0x50dcce=this[_0x4a56c7(0x13f)])==null||_0x50dcce[_0x4a56c7(0xc9)](_0x25bb25=>_0x25bb25[_0x4a56c7(0x3d0)]()),(_0x118671=this[_0x4a56c7(0x119)])==null||_0x118671['forEach'](_0x1857a0=>_0x1857a0['dispose']());}[_0x2267a7(0xf3)](_0xc33496){const _0x5260a4=_0x2267a7;let _0x2fa600=_0xc33496['filter'](_0x4d1271=>_0x4d1271 instanceof _0x5455be[_0x5260a4(0x268)]);if(_0x2fa600[_0x5260a4(0x217)]===0x0)return;let _0x8ec264=[],_0x419072=new Set();_0x2fa600[_0x5260a4(0xc9)](_0x3dc2df=>{const _0x9c6ca2=_0x5260a4;if(_0x419072[_0x9c6ca2(0x29c)](_0x3dc2df))return;let _0x330476=_0x3dc2df['left']||0x0,_0x1f74ad=_0x3dc2df[_0x9c6ca2(0x211)]||0x0,_0x4aace0=_0x330476+(_0x3dc2df[_0x9c6ca2(0x34f)]||0x0),_0x2fc6b4=_0x1f74ad,_0xf8b9ec=[_0x3dc2df];_0x419072[_0x9c6ca2(0x7b)](_0x3dc2df),_0x2fa600['forEach'](_0x2f27fd=>{const _0x4fcd95=_0x9c6ca2;if(_0x419072[_0x4fcd95(0x29c)](_0x2f27fd))return;let _0x3d120f=_0x2f27fd[_0x4fcd95(0x377)]||0x0,_0x2a1f9d=_0x2f27fd['top']||0x0,_0x357aeb=_0x3d120f+(_0x2f27fd[_0x4fcd95(0x34f)]||0x0),_0x40ff66=_0x2a1f9d;Math['abs'](_0x4aace0-_0x357aeb)<=0xa&&Math[_0x4fcd95(0x35b)](_0x2fc6b4-_0x40ff66)<=0xa&&(_0xf8b9ec[_0x4fcd95(0x113)](_0x2f27fd),_0x419072[_0x4fcd95(0x7b)](_0x2f27fd));}),_0xf8b9ec[_0x9c6ca2(0x217)]>0x1&&_0x8ec264[_0x9c6ca2(0x113)](_0xf8b9ec);}),_0x8ec264[_0x5260a4(0xc9)](_0x2a38e5=>{const _0x492d75=_0x5260a4;_0x2a38e5[_0x492d75(0x229)]((_0x59a772,_0x5d2902)=>(_0x59a772[_0x492d75(0x211)]||0x0)-(_0x5d2902[_0x492d75(0x211)]||0x0)),_0x2a38e5[_0x492d75(0xc9)]((_0x456b14,_0x221104)=>{const _0x1979aa=_0x492d75;let _0x1ec9ff=_0x221104*0x16;_0x456b14[_0x1979aa(0x1dc)](_0x1ec9ff);});});}[_0x2267a7(0x197)](_0x4624f6,_0x350c27){const _0x41fc15=_0x2267a7;let _0x4c4cc2=_0x4624f6[_0x41fc15(0x377)]||0x0,_0xf315a0=_0x4624f6['top']||0x0,_0xae45f8=_0x4624f6['width']||0x0,_0x11c80f=_0x4624f6[_0x41fc15(0x254)]||0x0,_0x2a2185=_0x4c4cc2+_0xae45f8,_0x5b58eb=_0xf315a0+_0x11c80f;return _0x350c27[_0x41fc15(0x354)](_0x1655d0=>{const _0x58694d=_0x41fc15;let _0x56ecda=_0x1655d0[_0x58694d(0x377)]||0x0,_0x4c5642=_0x1655d0[_0x58694d(0x211)]||0x0,_0x3b6839=_0x1655d0[_0x58694d(0x34f)]||0x0,_0x1b29b2=_0x1655d0[_0x58694d(0x254)]||0x0,_0x82af37=_0x56ecda+_0x3b6839,_0x47ee6a=_0x4c5642+_0x1b29b2;return!(_0x2a2185<=_0x56ecda||_0x4c4cc2>=_0x82af37||_0x5b58eb<=_0x4c5642||_0xf315a0>=_0x47ee6a);});}[_0x2267a7(0x8f)](_0x3b7aa9,_0x46d2a0){const _0x14d31e=_0x2267a7;let _0x2ff6c4=_0x46d2a0[_0x14d31e(0x382)](_0x7352c7[_0x14d31e(0x175)][_0x14d31e(0xc8)]);if(!_0x2ff6c4)return;let _0x19d095=_0x3b7aa9[_0x14d31e(0x377)]||0x0,_0xd79143=_0x3b7aa9['top']||0x0,_0x18e53a=_0x3b7aa9[_0x14d31e(0x34f)]||0x0,_0x568da5=_0x3b7aa9['height']||0x0,_0x59665d=_0x2ff6c4[_0x14d31e(0x34f)]||0x0,_0x53e982=_0x2ff6c4[_0x14d31e(0x254)]||0x0,_0x2f8936=_0x2ff6c4['viewportScrollX']||0x0,_0x1ed7c8=_0x2ff6c4[_0x14d31e(0x340)]||0x0,_0x2699f4=_0x2f8936,_0x1452c2=_0x1ed7c8,_0x5d07e1=_0x2f8936+_0x59665d,_0x58e1fb=_0x1ed7c8+_0x53e982;if(_0x19d095>=_0x2699f4&&_0xd79143>=_0x1452c2&&_0x19d095+_0x18e53a<=_0x5d07e1&&_0xd79143+_0x568da5<=_0x58e1fb)return;let _0x35783c=Math[_0x14d31e(0x402)](0x0,_0x19d095-_0x59665d/0x2+_0x18e53a/0x2),_0x57f155=Math['max'](0x0,_0xd79143-_0x53e982/0x2+_0x568da5/0x2);_0x2ff6c4[_0x14d31e(0x16a)]({'viewportScrollX':_0x35783c,'viewportScrollY':_0x57f155});}[_0x2267a7(0xfb)](){const _0x42ea45=_0x2267a7;return(0x0,_0x24294d['getSheetObject'])(this[_0x42ea45(0x363)],this['_renderManagerService']);}};_0x2565e2=_0x9526d9([_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x31302b)),_0x550961(0x3,_0x3bba19[_0x2267a7(0x35f)]),_0x550961(0x4,_0x7352c7[_0x2267a7(0x1e3)]),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x24294d[_0x2267a7(0xaf)])),_0x550961(0x6,_0x3bba19[_0x2267a7(0x3c3)]),_0x550961(0x7,_0x42dade[_0x2267a7(0x143)])],_0x2565e2);var _0xa8026d='@univerjs-pro/edit-history-viewer',_0x5c6930=_0x2267a7(0x1c3);let _0x502411=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0xf7a0c5){const _0x4c6af5=_0x2267a7;super(),this[_0x4c6af5(0x20b)]=_0xf7a0c5,this['_init']();}[_0x2267a7(0x193)](){const _0x3ad522=_0x2267a7;this[_0x3ad522(0x74)](this[_0x3ad522(0x20b)][_0x3ad522(0xb9)][_0x3ad522(0x238)](_0x50f981=>{const _0x33d20a=_0x3ad522;_0x50f981!=null&&_0x50f981[_0x33d20a(0x96)]&&this[_0x33d20a(0x20b)]['setState']({'show':!0x1});}));}};_0x502411=_0x9526d9([_0x550961(0x0,_0x24294d[_0x2267a7(0x2b0)])],_0x502411);function _0x5ac19b(){const _0x17e03d=_0x2267a7;let _0x153f47=(0x0,_0x3f2000[_0x17e03d(0x289)])(_0x4bbed9),_0x403e86=(0x0,_0x3f2000[_0x17e03d(0x289)])(_0x3bba19[_0x17e03d(0x2ba)]),_0x3e25a8=(0x0,_0x3f2000['useObservable'])(_0x153f47[_0x17e03d(0x2a5)]),_0x440c7c=(0x0,_0x2ae8f3['useMemo'])(()=>_0x3e25a8?_0x153f47[_0x17e03d(0x373)]():!0x1,[_0x153f47,_0x3e25a8]),_0x1e1aed=(0x0,_0x2ae8f3[_0x17e03d(0x3ef)])(()=>{const _0xe9a45f=_0x17e03d;_0x153f47[_0xe9a45f(0x343)]=_0xe9a45f(0xb7);},[_0x153f47]),_0x21ca90=(0x0,_0x2ae8f3[_0x17e03d(0x3ef)])(()=>{const _0x23dc6e=_0x17e03d;_0x153f47[_0x23dc6e(0x277)]();},[_0x153f47]);return(0x0,_0x31ec98[_0x17e03d(0x8d)])(_0x17e03d(0x2ec),{'className':_0x17e03d(0x1bd),'children':[(0x0,_0x31ec98['jsx'])(_0x4b600c[_0x17e03d(0x1c7)],{'variant':'link','onClick':_0x1e1aed,'children':_0x403e86['t'](_0x17e03d(0x14e))}),_0x440c7c?(0x0,_0x31ec98[_0x17e03d(0x28f)])(_0x4b600c[_0x17e03d(0x1c7)],{'variant':_0x17e03d(0x1b6),'onClick':_0x21ca90,'children':_0x403e86['t'](_0x17e03d(0x267))}):(0x0,_0x31ec98[_0x17e03d(0x28f)])(_0x17e03d(0x2ec),{'className':_0x17e03d(0x1b1)})]});}let _0x546994=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x2a45b3,_0x4c7b4c,_0x4ffa8c,_0x2be5a3,_0x73aad,_0x3f07a5,_0x53b6ac){const _0x5daa2b=_0x2267a7;super(),this[_0x5daa2b(0x22d)]=_0x2a45b3,this[_0x5daa2b(0x1c6)]=_0x4c7b4c,this[_0x5daa2b(0x324)]=_0x4ffa8c,this[_0x5daa2b(0x1ec)]=_0x2be5a3,this['_historyManagerService']=_0x73aad,this[_0x5daa2b(0x39d)]=_0x3f07a5,this[_0x5daa2b(0x10f)]=_0x53b6ac,this['_init']();}[_0x2267a7(0x193)](){const _0x402e4a=_0x2267a7;this[_0x402e4a(0x74)](this[_0x402e4a(0x2ff)][_0x402e4a(0x2a5)][_0x402e4a(0x238)](_0x38f78f=>{const _0x5e88a9=_0x402e4a;_0x38f78f&&this[_0x5e88a9(0x2ff)][_0x5e88a9(0x77)](_0x38f78f);})),this[_0x402e4a(0x74)](this['_permissionService'][_0x402e4a(0x309)][_0x402e4a(0x238)](_0x5ad78a=>{const _0x67c187=_0x402e4a;let _0x52a684=this[_0x67c187(0x2ff)][_0x67c187(0x3e9)];_0x52a684&&(_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x17e)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this['_permissionService'][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x15e)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x67c187(0x32f))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x2e1)]&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x1e4))](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x258)]&&_0x5ad78a['value']===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa['WorkbookHideSheetPermission'](_0x52a684)['id'],!0x1),_0x5ad78a[_0x67c187(0x122)]===_0x1ea6dc[_0x67c187(0x241)]['Comment']&&_0x5ad78a[_0x67c187(0x1d8)]===!0x0&&this[_0x67c187(0x22d)][_0x67c187(0x34b)](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1),_0x5ad78a['subType']===_0x1ea6dc[_0x67c187(0x241)][_0x67c187(0x294)]&&_0x5ad78a['value']===!0x0&&this[_0x67c187(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x67c187(0x3a7))](_0x52a684)['id'],!0x1));})),this['_registerHeader']();let _0x1a53fe;this[_0x402e4a(0x74)](this[_0x402e4a(0x2ff)][_0x402e4a(0x19e)][_0x402e4a(0x238)](_0x3bd559=>{const _0x2fe451=_0x402e4a;this[_0x2fe451(0x324)][_0x2fe451(0x292)](),_0x1a53fe==null||_0x1a53fe[_0x2fe451(0x3d0)](),_0x3bd559===_0x2fe451(0x148)&&(this[_0x2fe451(0x2ff)]['showMask'](),_0x1a53fe=this['_messageService']['show']({'type':_0x4b600c[_0x2fe451(0x130)]['Info'],'content':this[_0x2fe451(0x1ec)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x3bd559===_0x2fe451(0x1ad)&&this['_historyManagerService']['hideMask']();}));}[_0x2267a7(0x219)](){const _0x4bc70b=_0x2267a7;var _0x18057c;(_0x18057c=this['_configService'][_0x4bc70b(0x1bf)]('edit-history-viewer.config'))!=null&&_0x18057c[_0x4bc70b(0x2ca)]||this['disposeWithMe'](this[_0x4bc70b(0x1c6)][_0x4bc70b(0x1e5)](_0x3f2000['BuiltInUIPart'][_0x4bc70b(0x3d4)],()=>(0x0,_0x3f2000[_0x4bc70b(0x3e6)])(_0x5ac19b,this[_0x4bc70b(0x39d)])));}};_0x546994=_0x9526d9([_0x550961(0x0,_0x3bba19['IPermissionService']),_0x550961(0x1,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x2,_0x3f2000[_0x2267a7(0x304)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x5,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x6,_0x3bba19[_0x2267a7(0x3b7)])],_0x546994);function _0x55c769({ref:_0x2694f9,..._0x2ae113}){const _0x2cc604=_0x2267a7;let {icon:_0x5640e8,id:_0x1fef8c,className:_0x31109c,extend:_0x4b0cab,..._0x5c49af}=_0x2ae113,_0x47ac05=(_0x2cc604(0x27a)+_0x1fef8c+'\x20'+(_0x31109c||''))[_0x2cc604(0x2eb)](),_0x2b84b0=(0x0,_0x2ae8f3[_0x2cc604(0x271)])('_'+_0x3174d1());return _0x32e914(_0x5640e8,''+_0x1fef8c,{'defIds':_0x5640e8['defIds'],'idSuffix':_0x2b84b0['current']},{'ref':_0x2694f9,'className':_0x47ac05,..._0x5c49af},_0x4b0cab);}function _0x32e914(_0x3f5d4b,_0x456b74,_0x20d737,_0x400fee,_0x29c479){const _0x2a79b3=_0x2267a7;return(0x0,_0x2ae8f3[_0x2a79b3(0x3ca)])(_0x3f5d4b['tag'],{'key':_0x456b74,..._0x25e45f(_0x3f5d4b,_0x20d737,_0x29c479),..._0x400fee},(_0x727d84(_0x3f5d4b,_0x20d737)[_0x2a79b3(0x1eb)]||[])[_0x2a79b3(0x369)]((_0xe87353,_0x3fc884)=>_0x32e914(_0xe87353,_0x456b74+'-'+_0x3f5d4b[_0x2a79b3(0x189)]+'-'+_0x3fc884,_0x20d737,void 0x0,_0x29c479)));}function _0x25e45f(_0x237492,_0x4184e4,_0x9796ca){const _0x200306=_0x2267a7;let _0x550034={..._0x237492['attrs']};_0x9796ca!=null&&_0x9796ca['colorChannel1']&&_0x550034['fill']===_0x200306(0x203)&&(_0x550034['fill']=_0x9796ca[_0x200306(0x203)]),_0x237492[_0x200306(0x189)]===_0x200306(0x404)&&_0x550034['id']&&(_0x550034['id']+=_0x4184e4[_0x200306(0x2cd)]),Object[_0x200306(0x1f4)](_0x550034)[_0x200306(0xc9)](([_0x41233b,_0x5dc7e3])=>{const _0x48c896=_0x200306;_0x41233b===_0x48c896(0x404)&&typeof _0x5dc7e3==_0x48c896(0xeb)&&(_0x550034[_0x41233b]=_0x5dc7e3['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4184e4[_0x48c896(0x2cd)]+')'));});let {defIds:_0x22f071}=_0x4184e4;return!_0x22f071||_0x22f071[_0x200306(0x217)]===0x0?_0x550034:(_0x237492[_0x200306(0x189)]==='use'&&_0x550034[_0x200306(0x253)]&&(_0x550034[_0x200306(0x253)]+=_0x4184e4[_0x200306(0x2cd)]),Object[_0x200306(0x1f4)](_0x550034)[_0x200306(0xc9)](([_0x354287,_0x22045b])=>{const _0x406a7d=_0x200306;typeof _0x22045b==_0x406a7d(0xeb)&&(_0x550034[_0x354287]=_0x22045b['replace'](/url\(#(.*)\)/,_0x406a7d(0x311)+_0x4184e4[_0x406a7d(0x2cd)]+')'));}),_0x550034);}function _0x727d84(_0x446e92,_0x16830a){const _0x5bc1ad=_0x2267a7;var _0x4a252a;let {defIds:_0x41e9f3}=_0x16830a;return!_0x41e9f3||_0x41e9f3[_0x5bc1ad(0x217)]===0x0?_0x446e92:_0x446e92[_0x5bc1ad(0x189)]===_0x5bc1ad(0x269)&&(_0x4a252a=_0x446e92[_0x5bc1ad(0x1eb)])!=null&&_0x4a252a['length']?{..._0x446e92,'children':_0x446e92[_0x5bc1ad(0x1eb)][_0x5bc1ad(0x369)](_0x1e4619=>typeof _0x1e4619[_0x5bc1ad(0x34a)]['id']==_0x5bc1ad(0xeb)&&_0x41e9f3&&_0x41e9f3['includes'](_0x1e4619[_0x5bc1ad(0x34a)]['id'])?{..._0x1e4619,'attrs':{..._0x1e4619['attrs'],'id':_0x1e4619[_0x5bc1ad(0x34a)]['id']+_0x16830a[_0x5bc1ad(0x2cd)]}}:_0x1e4619)}:_0x446e92;}function _0x3174d1(){const _0x43c983=_0x2267a7;return Math[_0x43c983(0x2c9)]()[_0x43c983(0x3a3)](0x24)[_0x43c983(0x15f)](0x2,0x8);}_0x55c769[_0x2267a7(0x2f8)]='UniverIcon';let _0x45fb24={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':'0\x200\x2016\x2016','width':_0x2267a7(0x102),'height':'1em'},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0x123)}}]},_0x33c817=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x49ec84,_0x316daf){const _0x5ec162=_0x2267a7;return(0x0,_0x2ae8f3[_0x5ec162(0x3ca)])(_0x55c769,Object[_0x5ec162(0x365)]({},_0x49ec84,{'id':_0x5ec162(0x24b),'ref':_0x316daf,'icon':_0x45fb24}));});_0x33c817[_0x2267a7(0x2f8)]=_0x2267a7(0x7a);let _0x9b6ff1={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'path','attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0x301),'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}}]},_0x2d8959=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x5be938,_0x1cbda9){const _0x124beb=_0x2267a7;return(0x0,_0x2ae8f3[_0x124beb(0x3ca)])(_0x55c769,Object[_0x124beb(0x365)]({},_0x5be938,{'id':'funnel-icon','ref':_0x1cbda9,'icon':_0x9b6ff1}));});_0x2d8959['displayName']=_0x2267a7(0x295);let _0x4860f6={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'path','attrs':{'fill':_0x2267a7(0x3c0),'d':'M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','fillRule':_0x2267a7(0x2d2),'clipRule':'evenodd'}}]},_0xb494e5=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0x3739f4,_0x4cb194){const _0x32a11c=_0x2267a7;return(0x0,_0x2ae8f3[_0x32a11c(0x3ca)])(_0x55c769,Object['assign']({},_0x3739f4,{'id':'more-down-icon','ref':_0x4cb194,'icon':_0x4860f6}));});_0xb494e5[_0x2267a7(0x2f8)]='MoreDownIcon';let _0x3353da={'tag':_0x2267a7(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x3c0),'d':_0x2267a7(0xb5),'fillRule':_0x2267a7(0x2d2),'clipRule':'evenodd'}}]},_0x565cf9=(0x0,_0x2ae8f3[_0x2267a7(0x86)])(function(_0xe90f49,_0xdd3dfb){const _0x41aea3=_0x2267a7;return(0x0,_0x2ae8f3[_0x41aea3(0x3ca)])(_0x55c769,Object[_0x41aea3(0x365)]({},_0xe90f49,{'id':_0x41aea3(0x260),'ref':_0xdd3dfb,'icon':_0x3353da}));});_0x565cf9[_0x2267a7(0x2f8)]=_0x2267a7(0x247);let _0x398da9={'tag':_0x2267a7(0x379),'attrs':{'xmlns':_0x2267a7(0x395),'fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x1a8),'width':_0x2267a7(0x102),'height':_0x2267a7(0x102)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x2267a7(0x360)},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'d':_0x2267a7(0x155)}},{'tag':_0x2267a7(0xc1),'attrs':{'d':_0x2267a7(0x3b3),'fillRule':'evenodd','clipRule':'evenodd'}}]},{'tag':_0x2267a7(0x269),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2267a7(0x2cf)},'children':[{'tag':_0x2267a7(0x20a),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x2267a7(0x78),'rx':0x4}}]}]}],'defIds':[_0x2267a7(0x2cf)]},_0x51c194=(0x0,_0x2ae8f3['forwardRef'])(function(_0x414eb7,_0x4dd558){const _0x57293f=_0x2267a7;return(0x0,_0x2ae8f3[_0x57293f(0x3ca)])(_0x55c769,Object[_0x57293f(0x365)]({},_0x414eb7,{'id':_0x57293f(0xb1),'ref':_0x4dd558,'icon':_0x398da9}));});_0x51c194[_0x2267a7(0x2f8)]=_0x2267a7(0x392);let _0x5011fe={'tag':_0x2267a7(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2267a7(0x3c5),'viewBox':_0x2267a7(0x3ce),'width':_0x2267a7(0x102),'height':'1em'},'children':[{'tag':_0x2267a7(0xc1),'attrs':{'fill':_0x2267a7(0x85),'d':_0x2267a7(0x398),'fillOpacity':0.2,'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}},{'tag':'path','attrs':{'fill':_0x2267a7(0x85),'d':_0x2267a7(0x262),'fillRule':_0x2267a7(0x2d2),'clipRule':_0x2267a7(0x2d2)}}]},_0x5b24f7=(0x0,_0x2ae8f3['forwardRef'])(function(_0x1604dd,_0xdc1a07){const _0x382421=_0x2267a7;return(0x0,_0x2ae8f3[_0x382421(0x3ca)])(_0x55c769,Object[_0x382421(0x365)]({},_0x1604dd,{'id':_0x382421(0xba),'ref':_0xdc1a07,'icon':_0x5011fe}));});_0x5b24f7[_0x2267a7(0x2f8)]=_0x2267a7(0x3cd);function _0x2232c8(_0xc04990){const _0x103e85=_0x2267a7;var _0x14c2e6;let {item:_0x3857e0,isNewest:_0xdc9805}=_0xc04990,_0x416e98=(0x0,_0x3f2000[_0x103e85(0x289)])(_0x4bbed9),_0x102594=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x4be5c2=(0x0,_0x3f2000[_0x103e85(0x289)])(_0x3bba19[_0x103e85(0x2ba)]),_0x2f2086=(0x0,_0x3f2000[_0x103e85(0xd7)])(_0x416e98[_0x103e85(0x2a5)],'',!0x0)===_0x3857e0['id'],_0x4ae562=_0x4be5c2['getCurrentLocale'](),_0x4c54d6=_0x1b9d4d(_0x3857e0[_0x103e85(0x330)],_0x4ae562),_0x50ac0a=!_0xdc9805&&_0x416e98[_0x103e85(0x22b)],_0x14a1b7=(0x0,_0x2ae8f3[_0x103e85(0x3ef)])(async()=>{const _0x410cc2=_0x103e85;_0x416e98[_0x410cc2(0x2cb)]!==_0x410cc2(0x148)&&(_0x416e98['currentVersion']=_0x3857e0['id'],await _0x102594[_0x410cc2(0x307)](_0x3857e0['id']));},[_0x416e98,_0x102594,_0x3857e0['id']]),_0x51f697=(0x0,_0x2ae8f3[_0x103e85(0x3ef)])(_0x45421f=>{const _0x4411b8=_0x103e85;_0x45421f[_0x4411b8(0x2bd)](),_0x416e98[_0x4411b8(0x277)](_0x3857e0['id']);},[_0x416e98,_0x3857e0['id']]),_0x56ea9c=((_0x14c2e6=_0x3857e0['users'])==null?void 0x0:_0x14c2e6[_0x103e85(0x354)](Boolean)[_0x103e85(0x38d)](',\x20'))||_0x3857e0[_0x103e85(0xea)]||_0x4be5c2['t'](_0x103e85(0x1a0));return(0x0,_0x31ec98['jsxs'])('div',{'className':(0x0,_0x4b600c[_0x103e85(0x3bf)])(_0x103e85(0x275),_0x2f2086&&_0x103e85(0x274)),'onClick':_0x14a1b7,'children':[(0x0,_0x31ec98['jsxs'])('div',{'className':_0x103e85(0xae),'children':[(0x0,_0x31ec98[_0x103e85(0x8d)])('div',{'className':_0x103e85(0x2c1),'children':[(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x56ea9c}),_0xdc9805&&(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':_0x103e85(0xa1),'children':_0x4be5c2['t'](_0x103e85(0xb3))})]}),(0x0,_0x31ec98[_0x103e85(0x8d)])(_0x103e85(0x2ec),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x31ec98[_0x103e85(0x28f)])('span',{'className':_0x103e85(0x1ca),'children':_0x4c54d6[_0x103e85(0x330)]}),(0x0,_0x31ec98[_0x103e85(0x28f)])(_0x103e85(0x198),{'className':_0x103e85(0x2f6),'children':_0x319690(_0x3857e0,_0x4be5c2)})]})]}),_0x50ac0a&&(0x0,_0x31ec98['jsx'])(_0x4b600c['Button'],{'size':_0x103e85(0x15b),'variant':'primary','onClick':_0x51f697,'children':_0x4be5c2['t']('edit-history-viewer.header.revert')})]});}function _0x3e0e7a(){const _0x3c67be=_0x2267a7;let _0x3fe246=(0x0,_0x3f2000[_0x3c67be(0x289)])(_0x4bbed9),_0x1b72a0=(0x0,_0x3f2000[_0x3c67be(0x289)])(_0x3bba19[_0x3c67be(0x2ba)]),_0x51b35c=(0x0,_0x3f2000[_0x3c67be(0xd7)])(_0x3fe246['versions$']),_0x20c1ce=(0x0,_0x3f2000[_0x3c67be(0xd7)])(_0x3fe246['fetching$']),_0xa59efa=(0x0,_0x2ae8f3[_0x3c67be(0x271)])(null),[_0x40700c,_0x53e03d]=(0x0,_0x2ae8f3[_0x3c67be(0x321)])(!0x0);(0x0,_0x2ae8f3['useEffect'])(()=>{const _0x2181c4=_0x3c67be;let _0x595d9a=_0xa59efa['current'];if(!_0x595d9a||!_0x40700c)return;let _0x93c333,_0x239af2=()=>{clearTimeout(_0x93c333),_0x93c333=setTimeout(()=>{let {scrollTop:_0x48eb20,scrollHeight:_0x8b4677,clientHeight:_0x42dcd0}=_0x595d9a;_0x48eb20+_0x42dcd0>=_0x8b4677-0xa&&_0x3fe246['loadMoreVersions']();},0x64);};return _0x595d9a['addEventListener'](_0x2181c4(0x1dd),_0x239af2),()=>{const _0x569c8e=_0x2181c4;clearTimeout(_0x93c333),_0x595d9a[_0x569c8e(0x1f7)](_0x569c8e(0x1dd),_0x239af2);};},[_0x3fe246,_0x40700c]);let _0x33ee64=_0x3843cd(_0x51b35c==null?[]:_0x51b35c);return(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':_0x3c67be(0x2fa),'children':(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'className':(0x0,_0x4b600c['clsx'])(_0x3c67be(0x231),_0x40700c?_0x3c67be(0x1d1):_0x3c67be(0x1aa)),'children':[(0x0,_0x31ec98['jsxs'])('div',{'className':_0x3c67be(0x132),'onClick':()=>_0x53e03d(_0x457670=>!_0x457670),'children':[(0x0,_0x31ec98['jsx'])(_0x3c67be(0x2ec),{'className':_0x3c67be(0x1c9)}),!_0x40700c&&(0x0,_0x31ec98[_0x3c67be(0x28f)])('span',{'className':_0x3c67be(0x183),'children':_0x1b72a0['t'](_0x3c67be(0x36f))})]}),_0x40700c&&(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x31ec98[_0x3c67be(0x164)],{'children':_0x51b35c?(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'ref':_0xa59efa,'className':_0x3c67be(0x2cc),'children':[_0x33ee64['map'](_0x1d6a57=>(0x0,_0x31ec98[_0x3c67be(0x8d)])(_0x3c67be(0x2ec),{'children':[(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':_0x3c67be(0xe9),'children':_0x3eb521(_0x1d6a57[_0x3c67be(0x1fb)],_0x1b72a0[_0x3c67be(0x19b)]())}),_0x1d6a57[_0x3c67be(0x34e)]['map']((_0x29039a,_0x350842)=>(0x0,_0x31ec98['jsx'])(_0x2232c8,{'item':_0x29039a,'isNewest':_0x33ee64[0x0]===_0x1d6a57&&_0x350842===0x0},_0x29039a['id']))]},_0x1d6a57[_0x3c67be(0x400)])),_0x20c1ce&&(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x3c67be(0x2ec),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x5b24f7,{'className':_0x3c67be(0x33a)})})]}):(0x0,_0x31ec98['jsx'])('div',{'className':_0x3c67be(0x33f),'children':(0x0,_0x31ec98[_0x3c67be(0x28f)])(_0x5b24f7,{'className':'univer-animate-spin\x20univer-text-gray-400'})})})]})});}let _0x23ff2b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x1c554a,_0x5f1e90){const _0x81f388=_0x2267a7;super(),this[_0x81f388(0x1c6)]=_0x1c554a,this[_0x81f388(0x39d)]=_0x5f1e90,this[_0x81f388(0x74)](this[_0x81f388(0x1c6)][_0x81f388(0x1e5)](_0x3f2000[_0x81f388(0x245)][_0x81f388(0x3fe)],()=>(0x0,_0x3f2000[_0x81f388(0x3e6)])(_0x3e0e7a,this[_0x81f388(0x39d)])));}};_0x23ff2b=_0x9526d9([_0x550961(0x0,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19['Injector']))],_0x23ff2b);var _0x14ced6=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(){const _0x59de7c=_0x2267a7;super(),_0x374704(this,_0x59de7c(0x32d),new _0x54d7f0[(_0x59de7c(0x3a6))]());}[_0x2267a7(0x362)](){const _0x28bb6c=_0x2267a7;return(0x0,_0x3bba19[_0x28bb6c(0x366)])(()=>{});}[_0x2267a7(0x371)](){}[_0x2267a7(0x27d)](_0x478833){}['getDialogs$'](){const _0x49ddc4=_0x2267a7;return this[_0x49ddc4(0x32d)][_0x49ddc4(0xf0)]();}};let _0x5da7ee=class extends _0x3bba19[_0x2267a7(0x387)]{constructor(_0x1c299a=_0x671578,_0x336ec1,_0x209050,_0x156d8a){const _0x3bf2ab=_0x2267a7;super(),this['_config']=_0x1c299a,this[_0x3bf2ab(0x39d)]=_0x336ec1,this[_0x3bf2ab(0x2fd)]=_0x209050,this[_0x3bf2ab(0x10f)]=_0x156d8a;let {..._0xc657bc}=(0x0,_0x3bba19[_0x3bf2ab(0x156)])({},_0x671578,this['_config']);this['_configService'][_0x3bf2ab(0x2de)](_0x416c3e,_0xc657bc);}[_0x2267a7(0x3da)](){const _0x37a217=_0x2267a7;[[_0x4bbed9],[_0x546994],[_0x31302b],[_0x57a226],[_0x23ff2b],[_0x502411],[_0x26651d['ISnapshotServerService'],{'useClass':_0xf6793f[_0x37a217(0x19d)]}],[_0x3f2000[_0x37a217(0xf6)],{'useClass':_0x14ced6}],[_0x42dade['IImageIoService'],{'useClass':_0xf6793f['CollaborationImageIoService']}]][_0x37a217(0xc9)](_0x3a2395=>this[_0x37a217(0x39d)][_0x37a217(0x7b)](_0x3a2395)),this[_0x37a217(0x39d)][_0x37a217(0x249)](_0x546994);}[_0x2267a7(0x2e2)](){const _0x5926cb=_0x2267a7;[[_0x2565e2]][_0x5926cb(0xc9)](_0x1cc922=>{const _0x40ef7b=_0x5926cb;this[_0x40ef7b(0x74)](this[_0x40ef7b(0x2fd)][_0x40ef7b(0x35a)](_0x3bba19[_0x40ef7b(0x1f9)][_0x40ef7b(0x18b)],_0x1cc922));}),this['_injector'][_0x5926cb(0x249)](_0x502411),this[_0x5926cb(0x39d)][_0x5926cb(0x249)](_0x23ff2b);}[_0x2267a7(0x126)](){const _0x2bd922=_0x2267a7;this[_0x2bd922(0x39d)][_0x2bd922(0x249)](_0x31302b);}};_0x374704(_0x5da7ee,_0x2267a7(0x2df),_0x2267a7(0x21c)),_0x374704(_0x5da7ee,_0x2267a7(0x290),_0xa8026d),_0x374704(_0x5da7ee,'version',_0x5c6930),_0x5da7ee=_0x9526d9([(0x0,_0x3bba19[_0x2267a7(0x1f8)])(_0x24294d['UniverSheetsMobileUIPlugin'],_0x4def42[_0x2267a7(0x3d7)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x2,_0x7352c7[_0x2267a7(0x1e3)]),_0x550961(0x3,_0x3bba19[_0x2267a7(0x3b7)])],_0x5da7ee);function _0x2c50d3(){const _0x3bcff6=_0x2267a7;let _0x269e55=(0x0,_0x3f2000['useDependency'])(_0x4bbed9),_0x50fcf6=(0x0,_0x3f2000[_0x3bcff6(0x289)])(_0x3bba19[_0x3bcff6(0x2ba)]),_0x64d16f=(0x0,_0x3f2000[_0x3bcff6(0xd7)])(_0x269e55[_0x3bcff6(0x2a5)]),_0x2312b3=(0x0,_0x2ae8f3[_0x3bcff6(0x356)])(()=>_0x64d16f?_0x269e55[_0x3bcff6(0x373)]():!0x1,[_0x269e55,_0x64d16f]),_0x5d8dca=(0x0,_0x2ae8f3[_0x3bcff6(0x3ef)])(()=>{const _0xe4aca6=_0x3bcff6;_0x269e55[_0xe4aca6(0x343)]=_0xe4aca6(0xb7);},[_0x269e55]),_0x3f229e=(0x0,_0x2ae8f3[_0x3bcff6(0x3ef)])(()=>{const _0x5d7314=_0x3bcff6;_0x269e55[_0x5d7314(0x277)]();},[_0x269e55]);return(0x0,_0x31ec98[_0x3bcff6(0x8d)])('div',{'className':(0x0,_0x4b600c[_0x3bcff6(0x3bf)])(_0x3bcff6(0x22e),_0x4b600c['borderBottomClassName']),'children':[(0x0,_0x31ec98[_0x3bcff6(0x28f)])('a',{'className':_0x3bcff6(0x151),'role':_0x3bcff6(0x3e4),'onClick':_0x5d8dca,'children':(0x0,_0x31ec98[_0x3bcff6(0x28f)])(_0x33c817,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),(0x0,_0x31ec98['jsx'])(_0x3bcff6(0x2ec),{'className':_0x3bcff6(0x33f),'children':_0x2312b3&&(0x0,_0x31ec98[_0x3bcff6(0x28f)])(_0x4b600c[_0x3bcff6(0x1c7)],{'variant':_0x3bcff6(0x18d),'onClick':_0x3f229e,'children':_0x50fcf6['t'](_0x3bcff6(0x267))})})]});}let _0x18716b=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x1946f4,_0x428572,_0x2ec387,_0x2d8be5,_0x9ff2c6,_0x3f6e64,_0xbe4ba1){const _0x103ce1=_0x2267a7;super(),this['_permissionService']=_0x1946f4,this[_0x103ce1(0x1c6)]=_0x428572,this[_0x103ce1(0x324)]=_0x2ec387,this[_0x103ce1(0x1ec)]=_0x2d8be5,this[_0x103ce1(0x2ff)]=_0x9ff2c6,this[_0x103ce1(0x39d)]=_0x3f6e64,this[_0x103ce1(0x10f)]=_0xbe4ba1,this[_0x103ce1(0x193)]();}[_0x2267a7(0x193)](){const _0x9c082b=_0x2267a7;this[_0x9c082b(0x74)](this[_0x9c082b(0x2ff)][_0x9c082b(0x2a5)][_0x9c082b(0x238)](_0x12856a=>{const _0x1332ce=_0x9c082b;_0x12856a&&this[_0x1332ce(0x2ff)][_0x1332ce(0x77)](_0x12856a);})),this['disposeWithMe'](this[_0x9c082b(0x22d)]['permissionPointUpdate$'][_0x9c082b(0x238)](_0x32bdd4=>{const _0x459d8e=_0x9c082b;let _0x102451=this['_historyManagerService'][_0x459d8e(0x3e9)];_0x102451&&(_0x32bdd4['subType']===_0x1ea6dc['UnitAction']['Edit']&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this[_0x459d8e(0x22d)]['updatePermissionPoint'](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1),_0x32bdd4['subType']===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x15e)]&&_0x32bdd4['value']===!0x0&&this[_0x459d8e(0x22d)][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x32f))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x2e1)]&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x1e4))](_0x102451)['id'],!0x1),_0x32bdd4['subType']===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x258)]&&_0x32bdd4['value']===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x333))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)][_0x459d8e(0x3d9)]&&_0x32bdd4['value']===!0x0&&this['_permissionService'][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1),_0x32bdd4[_0x459d8e(0x122)]===_0x1ea6dc[_0x459d8e(0x241)]['FloatImg']&&_0x32bdd4[_0x459d8e(0x1d8)]===!0x0&&this[_0x459d8e(0x22d)][_0x459d8e(0x34b)](new _0x5431fa[(_0x459d8e(0x3a7))](_0x102451)['id'],!0x1));})),this['_registerHeader']();let _0x8225bf;this[_0x9c082b(0x74)](this['_historyManagerService'][_0x9c082b(0x19e)][_0x9c082b(0x238)](_0x51bc93=>{const _0x2e1a93=_0x9c082b;this[_0x2e1a93(0x324)]['removeAll'](),_0x8225bf==null||_0x8225bf[_0x2e1a93(0x3d0)](),_0x51bc93===_0x2e1a93(0x148)&&(this[_0x2e1a93(0x2ff)][_0x2e1a93(0x3cc)](),_0x8225bf=this['_messageService'][_0x2e1a93(0x96)]({'type':_0x4b600c[_0x2e1a93(0x130)][_0x2e1a93(0x2b2)],'content':this[_0x2e1a93(0x1ec)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x51bc93===_0x2e1a93(0x1ad)&&this[_0x2e1a93(0x2ff)][_0x2e1a93(0x182)]();}));}[_0x2267a7(0x219)](){const _0xac1d1b=_0x2267a7;var _0x4e2463;(_0x4e2463=this[_0xac1d1b(0x10f)][_0xac1d1b(0x1bf)](_0xac1d1b(0x2b3)))!=null&&_0x4e2463[_0xac1d1b(0x2ca)]||this[_0xac1d1b(0x74)](this['_uiPartsService'][_0xac1d1b(0x1e5)](_0x3f2000[_0xac1d1b(0x245)][_0xac1d1b(0x3d4)],()=>(0x0,_0x3f2000[_0xac1d1b(0x3e6)])(_0x2c50d3,this[_0xac1d1b(0x39d)])));}};_0x18716b=_0x9526d9([_0x550961(0x0,_0x3bba19[_0x2267a7(0x118)]),_0x550961(0x1,_0x3f2000[_0x2267a7(0x26e)]),_0x550961(0x2,_0x3f2000[_0x2267a7(0x304)]),_0x550961(0x3,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x4,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x4bbed9)),_0x550961(0x5,(0x0,_0x3bba19['Inject'])(_0x3bba19[_0x2267a7(0x288)])),_0x550961(0x6,_0x3bba19['IConfigService'])],_0x18716b);let _0x393fa0=[{'key':0x0,'labelKey':'edit-history-viewer.panel.filterAll'},{'key':0x1,'labelKey':'edit-history-viewer.panel.filterUser'},{'key':0x2,'labelKey':_0x2267a7(0x173)}];function _0x337d0f(_0x199d4a){const _0x3497b7=_0x2267a7;let {className:_0xdd71d7}=_0x199d4a;return(0x0,_0x31ec98[_0x3497b7(0x8d)])('svg',{'className':_0xdd71d7,'fill':_0x3497b7(0x3c5),'height':'20','viewBox':_0x3497b7(0x357),'width':'20','xmlns':_0x3497b7(0x395),'children':[(0x0,_0x31ec98['jsx'])(_0x3497b7(0xc1),{'d':_0x3497b7(0x10d),'fill':'url(#paint0_linear_236_415)'}),(0x0,_0x31ec98[_0x3497b7(0x28f)])(_0x3497b7(0x269),{'children':(0x0,_0x31ec98[_0x3497b7(0x8d)])(_0x3497b7(0x28b),{'gradientUnits':'userSpaceOnUse','id':_0x3497b7(0x2ae),'x1':_0x3497b7(0x310),'x2':'18.1758','y1':_0x3497b7(0xc0),'y2':_0x3497b7(0xf4),'children':[(0x0,_0x31ec98[_0x3497b7(0x28f)])('stop',{'offset':_0x3497b7(0x2d6),'stopColor':_0x3497b7(0x121)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':_0x3497b7(0x158),'stopColor':_0x3497b7(0x180)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':'0.655','stopColor':_0x3497b7(0x293)}),(0x0,_0x31ec98['jsx'])(_0x3497b7(0x190),{'offset':'1','stopColor':'#01C2AA'})]})})]});}function _0x1443a1(_0x27b77a){const _0x57db83=_0x2267a7;let {value:_0xafd4fa,onChange:_0x3b884c}=_0x27b77a,_0x2bbe02=(0x0,_0x3f2000[_0x57db83(0x289)])(_0x3bba19[_0x57db83(0x2ba)]);return(0x0,_0x31ec98['jsx'])(_0x57db83(0x2ec),{'className':_0x57db83(0x2f5),'children':(0x0,_0x31ec98[_0x57db83(0x28f)])(_0x4b600c[_0x57db83(0x2f0)],{'items':_0x393fa0[_0x57db83(0x369)](_0x579ab5=>({'label':_0x2bbe02['t'](_0x579ab5[_0x57db83(0x399)]),'value':_0x579ab5[_0x57db83(0xa2)]})),'value':_0xafd4fa,'onChange':_0x3b884c})});}function _0x454ba1(){const _0x240a49=_0x2267a7;var _0x5af641,_0x5c0acf;let _0x5ea60c=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x4bbed9),_0x54a7c3=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x57a226),_0x963240=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x3c784b=(0x0,_0x3f2000[_0x240a49(0x289)])(_0x3bba19[_0x240a49(0x3b7)]),_0x199257=(0x0,_0x3f2000[_0x240a49(0xd7)])(_0x5ea60c['versions$']),_0x239805=(0x0,_0x3f2000['useObservable'])(_0x5ea60c[_0x240a49(0x206)],[]),[_0x3cf079,_0xef946]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(new Set()),[_0x4b8aaf,_0x41d0f9]=(0x0,_0x2ae8f3['useState'])(new Map()),[_0x414df7,_0x401cdb]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(new Set()),[_0x1e8f8e,_0x37dcda]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(0x0),_0xe206ba=(0x0,_0x3f2000['useDependency'])(_0x3bba19[_0x240a49(0x2ba)]),_0xee1f38=(0x0,_0x2ae8f3[_0x240a49(0x271)])(null),[_0x2d819b,_0x2a1f65]=(0x0,_0x2ae8f3[_0x240a49(0x321)])(!0x1),[_0x9ddd5e,_0x425e65]=(0x0,_0x2ae8f3[_0x240a49(0x321)])([]),_0x424a8e=(_0x5af641=(_0x5c0acf=_0x3c784b[_0x240a49(0x1bf)](_0x240a49(0x2b3)))==null?void 0x0:_0x5c0acf[_0x240a49(0x179)])==null?!0x1:_0x5af641,_0x10e002=_0x3843cd(_0x199257),[_0xb5318a,_0x26dd6a]=(0x0,_0x2ae8f3['useState'])([]),_0x302162=(0x0,_0x2ae8f3[_0x240a49(0x356)])(()=>_0x239805['map'](_0x3dba5a=>({'key':_0x3dba5a[_0x240a49(0x35c)],'label':_0x3dba5a[_0x240a49(0x1f5)]})),[_0x239805]);(0x0,_0x2ae8f3[_0x240a49(0xd8)])(()=>{_0x5ea60c['loadHistoryCreatorList']();},[]);let _0x4f60c8=(0x0,_0x2ae8f3[_0x240a49(0x3ef)])(_0x6d03c3=>{const _0x58556b=_0x240a49;_0x26dd6a([]),_0x37dcda(_0x6d03c3),_0x5ea60c[_0x58556b(0x3e9)]&&_0x5ea60c[_0x58556b(0x3a1)](_0x5ea60c['unitId'],{'origin':_0x6d03c3});},[_0x5ea60c]);(0x0,_0x2ae8f3[_0x240a49(0xd8)])(()=>{const _0x4f97c2=_0x240a49;let _0x7ed75a=_0xee1f38[_0x4f97c2(0xc7)];if(!_0x7ed75a)return;let _0x1343d3,_0x4bb181=_0x3a6f95=>{clearTimeout(_0x1343d3),_0x1343d3=setTimeout(()=>{let {target:_0x4c9eef}=_0x3a6f95;if(_0x4c9eef){let {scrollTop:_0x2300c4,scrollHeight:_0x552b79,clientHeight:_0x4aedce}=_0x4c9eef;_0x2300c4+_0x4aedce>=_0x552b79-0x5&&_0x5ea60c['loadMoreVersions']();}},0x64);};return _0x7ed75a[_0x4f97c2(0x2c2)](_0x4f97c2(0x1dd),_0x4bb181),()=>{const _0x24ddfd=_0x4f97c2;clearTimeout(_0x1343d3),_0x7ed75a[_0x24ddfd(0x1f7)](_0x24ddfd(0x1dd),_0x4bb181);};},[_0x5ea60c]);let _0x32c69e=(0x0,_0x2ae8f3[_0x240a49(0x3ef)])(async _0x437c69=>{const _0x4902ba=_0x240a49;let _0x155462=_0x437c69['id'];if(_0x3cf079[_0x4902ba(0x29c)](_0x155462)){_0xef946(_0x252e3f=>{const _0x4a5a23=_0x4902ba;let _0x39ed6f=new Set(_0x252e3f);return _0x39ed6f[_0x4a5a23(0x88)](_0x155462),_0x39ed6f;});return;}if(_0x4b8aaf['has'](_0x155462)){_0xef946(_0x572f1f=>new Set(_0x572f1f)[_0x4902ba(0x7b)](_0x155462));return;}_0x401cdb(_0x4d314d=>new Set(_0x4d314d)['add'](_0x155462));try{var _0x464d11;let _0xe97062=_0x5ea60c[_0x4902ba(0x3e9)];if(!_0xe97062)return;let _0x5a8c33=await _0x54a7c3[_0x4902ba(0x176)]({},{'unitId':_0xe97062,'startRevision':_0x437c69[_0x4902ba(0x1ac)],'endRevision':_0x437c69[_0x4902ba(0x2ef)]});if(((_0x464d11=_0x5a8c33[_0x4902ba(0x239)])==null?void 0x0:_0x464d11[_0x4902ba(0x281)])===0x1&&_0x5a8c33[_0x4902ba(0x3b4)]){let _0x2acc8e=_0x5a8c33[_0x4902ba(0x3b4)][_0x4902ba(0x1da)]()[_0x4902ba(0x369)](_0x23d989=>{const _0x220216=_0x4902ba;var _0x4794be,_0x2cce15;let _0x1356ea=(0x0,_0x26651d['parseProtocolChangeset'])(_0x23d989),_0xcacae9=_0x23d989[_0x220216(0x285)]||_0x1356ea['userID'],_0x1890a8=(_0x4794be=_0x5a8c33[_0x220216(0x109)])==null?void 0x0:_0x4794be[_0xcacae9],_0x10fc5e=((_0x2cce15=_0x23d989[_0x220216(0x2aa)])==null?void 0x0:_0x2cce15[_0x220216(0x369)](_0x2e478c=>_0x2e478c['id']))||[];return{'id':_0x155462+'-detail-'+_0x23d989['revision'],'unitId':_0x23d989[_0x220216(0x3b9)],'startRev':_0x23d989['revision'],'endRev':_0x23d989[_0x220216(0x178)],'time':_0x23d989['createTime']?_0x23d989['createTime']*0x3e8:void 0x0,'user':(_0x1890a8==null?void 0x0:_0x1890a8[_0x220216(0x1f5)])||'','users':[(_0x1890a8==null?void 0x0:_0x1890a8[_0x220216(0x1f5)])||''],'commands':_0x10fc5e,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x155462,'additionalFields':_0x23d989[_0x220216(0x10b)]};});_0x41d0f9(_0x38f8e6=>new Map(_0x38f8e6)[_0x4902ba(0x1f2)](_0x155462,_0x2acc8e)),_0x2acc8e[_0x4902ba(0xc9)](_0x241082=>{_0x5ea60c['registerDetailVersion'](_0x241082);});for(let _0x55f8fb of _0x2acc8e)await _0x963240[_0x4902ba(0x307)](_0x55f8fb['id']);_0xef946(_0x252271=>new Set(_0x252271)['add'](_0x155462));}}catch(_0x652caf){console[_0x4902ba(0x239)](_0x4902ba(0x116),_0x652caf);}finally{_0x401cdb(_0xdfa5=>{const _0x2b44c9=_0x4902ba;let _0xa45f1f=new Set(_0xdfa5);return _0xa45f1f[_0x2b44c9(0x88)](_0x155462),_0xa45f1f;});}},[_0x3cf079,_0x4b8aaf,_0x5ea60c,_0x54a7c3,_0x963240]);return _0x199257?(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'ref':_0xee1f38,'className':_0x240a49(0x3e7),'children':[_0x424a8e&&(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':_0x240a49(0x3a5),'children':[(0x0,_0x31ec98['jsx'])(_0x240a49(0x2ec),{'className':_0x240a49(0x1de),'children':(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x1443a1,{'value':_0x1e8f8e,'onChange':_0x4f60c8})}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x9a)],{'align':_0x240a49(0x15c),'open':_0x2d819b,'onOpenChange':_0x85e0d8=>{_0x2a1f65(_0x85e0d8),_0x85e0d8&&_0x425e65(_0xb5318a);},'overlay':(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':'univer-min-w-[240px]','children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':'univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','children':_0xe206ba['t']('edit-history-viewer.panel.filterCollaborator')}),(0x0,_0x31ec98['jsx'])(_0x240a49(0x2ec),{'className':_0x240a49(0x370)}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x251),'children':_0x302162[_0x240a49(0x369)](_0x375598=>{const _0xdb5d3b=_0x240a49;let _0xde26d2=_0x9ddd5e[_0xdb5d3b(0xd2)](_0x375598[_0xdb5d3b(0xa2)]);return(0x0,_0x31ec98[_0xdb5d3b(0x8d)])(_0xdb5d3b(0x2ec),{'className':_0xdb5d3b(0x2e5),'onClick':()=>{const _0x5051ce=_0xdb5d3b;_0x425e65(_0xde26d2?_0x9ddd5e['filter'](_0x8fe743=>_0x8fe743!==_0x375598[_0x5051ce(0xa2)]):[..._0x9ddd5e,_0x375598[_0x5051ce(0xa2)]]);},'children':[(0x0,_0x31ec98['jsx'])(_0x4b600c[_0xdb5d3b(0x1b5)],{'checked':_0xde26d2}),(0x0,_0x31ec98[_0xdb5d3b(0x28f)])(_0xdb5d3b(0x198),{'className':_0xdb5d3b(0x11c),'children':_0x375598[_0xdb5d3b(0x302)]})]},_0x375598[_0xdb5d3b(0xa2)]);})}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x370)}),(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x240a49(0x2ec),{'className':_0x240a49(0x105),'children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'size':_0x240a49(0x138),'variant':'ghost','onClick':()=>{_0x425e65(_0xb5318a),_0x2a1f65(!0x1);},'children':_0xe206ba['t'](_0x240a49(0x195))}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'size':_0x240a49(0x138),'onClick':()=>{const _0x13b036=_0x240a49;_0x26dd6a(_0x9ddd5e),_0x5ea60c[_0x13b036(0x3e9)]&&_0x5ea60c[_0x13b036(0x3a1)](_0x5ea60c[_0x13b036(0x3e9)],{'origin':_0x1e8f8e,'userIds':_0x9ddd5e}),_0x2a1f65(!0x1);},'children':_0xe206ba['t']('edit-history-viewer.panel.filterCollaboratorConfirm')})]})]}),'children':(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x4b600c[_0x240a49(0x1c7)],{'className':_0x240a49(0x2b4),'size':_0x240a49(0x138),'variant':'ghost','children':(0x0,_0x31ec98['jsx'])(_0x2d8959,{'className':(0x0,_0x4b600c[_0x240a49(0x3bf)])('univer-size-4',{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0xb5318a['length']>0x0})})})})]}),(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x240a49(0x2ec),{'className':_0x240a49(0x30f),'children':_0x10e002[_0x240a49(0x369)]((_0x20b79c,_0x347108)=>(0x0,_0x31ec98[_0x240a49(0x8d)])(_0x2ae8f3[_0x240a49(0x164)],{'children':[(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x40c41b,{'date':_0x20b79c[_0x240a49(0x400)],'startDate':_0x20b79c['startDateString'],'endDate':_0x20b79c['endDateString']}),_0x20b79c[_0x240a49(0x34e)][_0x240a49(0x369)]((_0x3f0fe9,_0x41c2a4)=>{const _0x1f8b5e=_0x240a49;let _0x36aa3e=_0x3cf079['has'](_0x3f0fe9['id']),_0x313a6d=_0x414df7['has'](_0x3f0fe9['id']),_0x158418=_0x4b8aaf[_0x1f8b5e(0x249)](_0x3f0fe9['id'])||[];return(0x0,_0x31ec98['jsxs'])(_0x2ae8f3[_0x1f8b5e(0x164)],{'children':[(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x165eea,{'item':_0x3f0fe9,'onToggleExpand':_0x32c69e,'isExpanded':_0x36aa3e,'isLoadingDetail':_0x313a6d}),_0x36aa3e&&_0x158418[_0x1f8b5e(0x369)]((_0xdecca6,_0x2ca52f)=>(0x0,_0x31ec98[_0x1f8b5e(0x8d)])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0x131),'style':{'marginTop':_0x1f8b5e(0x3be),'marginBottom':_0x1f8b5e(0x3be)},'children':[(0x0,_0x31ec98[_0x1f8b5e(0x8d)])(_0x1f8b5e(0x2ec),{'className':'univer-absolute\x20univer-top-0\x20univer-h-full','style':{'left':_0x1f8b5e(0xd4),'width':_0x1f8b5e(0xd3)},'children':[_0x2ca52f<_0x158418[_0x1f8b5e(0x217)]-0x1&&(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0xb2),'style':{'left':'0','width':_0x1f8b5e(0xbe)}}),_0x2ca52f===_0x158418[_0x1f8b5e(0x217)]-0x1&&(0x0,_0x31ec98[_0x1f8b5e(0x28f)])('div',{'className':_0x1f8b5e(0x187),'style':{'left':'0','width':'1px','height':_0x1f8b5e(0x232)}}),(0x0,_0x31ec98['jsx'])(_0x1f8b5e(0x2ec),{'className':_0x1f8b5e(0x18a),'style':{'left':'0','width':'10px','height':_0x1f8b5e(0xbe),'transform':_0x1f8b5e(0x312)}})]}),(0x0,_0x31ec98[_0x1f8b5e(0x28f)])(_0x165eea,{'item':_0xdecca6,'isDetail':!0x0})]},_0x347108+'-'+_0x41c2a4+_0x1f8b5e(0x20e)+_0x2ca52f))]},_0x347108+'-'+_0x41c2a4);})]},_0x20b79c[_0x240a49(0x400)]))})]}):(0x0,_0x31ec98[_0x240a49(0x28f)])(_0x297365,{});}function _0x297365(){const _0x419ad3=_0x2267a7;return(0x0,_0x31ec98[_0x419ad3(0x28f)])(_0x419ad3(0x2ec),{'className':_0x419ad3(0xcc),'children':(0x0,_0x31ec98['jsx'])(_0x419ad3(0x198),{'className':_0x419ad3(0x2e8),'children':(0x0,_0x31ec98[_0x419ad3(0x28f)])(_0x5b24f7,{'className':_0x419ad3(0x334)})})});}function _0x40c41b(_0x5ca490){const _0x2795ad=_0x2267a7;let _0x22a948=(0x0,_0x3f2000[_0x2795ad(0x289)])(_0x3bba19['LocaleService']),{date:_0x5302db,startDate:_0x4c6ae5=_0x5302db}=_0x5ca490;return(0x0,_0x31ec98[_0x2795ad(0x28f)])(_0x2795ad(0x2ec),{'className':_0x2795ad(0x33e),'children':_0x3eb521(_0x4c6ae5,_0x22a948[_0x2795ad(0x19b)]())});}function _0x165eea(_0x542bd1){const _0x2f5d75=_0x2267a7;let {item:_0x252292,onToggleExpand:_0x234bbb,isExpanded:_0x9464b6,isLoadingDetail:_0x49cb43,isDetail:_0x364733}=_0x542bd1,{time:_0x151ebc,user:_0x13d13b,startRevCreateTime:_0x27f8d7,endRevCreateTime:_0x33d37c,users:_0x4ea223}=_0x252292,_0x590b43=(0x0,_0x3f2000[_0x2f5d75(0x289)])(_0x4bbed9),_0x239206=(0x0,_0x3f2000['useDependency'])(_0x31302b),_0x184c03=(0x0,_0x3f2000['useObservable'])(_0x590b43[_0x2f5d75(0x2a5)],'',!0x0)===_0x252292['id'],_0x5247fa=_0x590b43['getCurrentUnitCurrentVersion']()===_0x252292[_0x2f5d75(0x2ef)],_0x4834b2=!_0x5247fa&&_0x590b43['canRevert'],_0x47f5e6=(0x0,_0x3f2000[_0x2f5d75(0x289)])(_0x3bba19[_0x2f5d75(0x2ba)]),_0x4421a5=_0x47f5e6[_0x2f5d75(0x19b)](),_0x51b1f3=_0x1b9d4d(_0x151ebc,_0x4421a5),_0xde33d7=_0x1b9d4d(_0x27f8d7,_0x4421a5),_0x427c1b=_0x1b9d4d(_0x33d37c,_0x4421a5),_0x478521=_0x47f5e6['t'](_0x2f5d75(0xb3)),_0x291c20=_0x252292[_0x2f5d75(0x1ac)]!==_0x252292[_0x2f5d75(0x2ef)],_0x550741=!!_0x252292[_0x2f5d75(0x10b)],_0x39a4dc=(0x0,_0x2ae8f3[_0x2f5d75(0x356)])(()=>{const _0x564a21=_0x2f5d75;let _0x145ffd=_0x13d13b||_0x47f5e6['t'](_0x564a21(0x1a0));return _0x4ea223&&_0x4ea223[_0x564a21(0x354)](_0x52fd65=>_0x52fd65)[_0x564a21(0x217)]>0x0&&(_0x145ffd=_0x4ea223[_0x564a21(0x354)](_0x4d119d=>_0x4d119d)[_0x564a21(0x38d)](',\x20')),_0x550741?''+_0x47f5e6['t'](_0x564a21(0x349))+(_0x145ffd?'\x20('+_0x145ffd+')':''):_0x145ffd;},[_0x550741,_0x13d13b,_0x4ea223,_0x47f5e6]),_0x3273c0=(0x0,_0x2ae8f3['useCallback'])(async _0xaf12c1=>{const _0x317ac3=_0x2f5d75;_0x590b43['loadingState']!=='loading'&&(_0x590b43[_0x317ac3(0x191)]=_0xaf12c1,_0x364733&&(await _0x239206['ensureVersion'](_0xaf12c1),await _0x590b43[_0x317ac3(0x77)](_0xaf12c1)));},[_0x590b43,_0x239206,_0x364733]),_0x444eba=(0x0,_0x2ae8f3['useCallback'])(_0x114202=>{const _0x579763=_0x2f5d75;_0x590b43[_0x579763(0x277)](_0x114202);},[_0x590b43]),_0x47f696=(0x0,_0x2ae8f3['useCallback'])(_0x2f9aa6=>{const _0x1fe3dd=_0x2f5d75;_0x2f9aa6[_0x1fe3dd(0x2bd)](),_0x234bbb&&!_0x49cb43&&_0x234bbb(_0x252292);},[_0x234bbb,_0x252292,_0x49cb43]);return(0x0,_0x31ec98[_0x2f5d75(0x8d)])(_0x2f5d75(0x2ec),{'className':(0x0,_0x4b600c[_0x2f5d75(0x3bf)])(_0x2f5d75(0xbf),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x184c03,'univer-ml-6':_0x364733}),'onClick':()=>_0x3273c0(_0x252292['id']),'children':[(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0xcc),'style':{'width':_0x2f5d75(0x353)},'children':_0x291c20&&!_0x364733&&(0x0,_0x31ec98['jsx'])('div',{'onClick':_0x47f696,'className':'univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','children':_0x49cb43?(0x0,_0x31ec98['jsx'])(_0x5b24f7,{'className':_0x2f5d75(0x3fa)}):_0x9464b6?(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0xb494e5,{'className':_0x2f5d75(0x242)}):(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x565cf9,{'className':_0x2f5d75(0x242)})})}),(0x0,_0x31ec98[_0x2f5d75(0x8d)])('div',{'className':_0x2f5d75(0x12e),'children':[(0x0,_0x31ec98['jsxs'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0x107),'children':[(0x0,_0x31ec98[_0x2f5d75(0x8d)])(_0x2f5d75(0x2ec),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x550741&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x337d0f,{'className':_0x2f5d75(0x255)}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x198),{'className':_0x2f5d75(0x1a3),'children':_0x39a4dc}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x198),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x364733?_0x51b1f3[_0x2f5d75(0x330)]:_0x27f8d7===_0x33d37c?_0xde33d7['time']:_0xde33d7[_0x2f5d75(0x330)]+'\x20-\x20'+_0x427c1b['time']}),_0x5247fa&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x198),{'className':_0x2f5d75(0x313),'children':_0x478521})]}),(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x2ec),{'children':_0x4834b2&&(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x4b600c[_0x2f5d75(0x1ae)],{'title':_0x47f5e6['t'](_0x2f5d75(0x2a1)),'children':(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x2f5d75(0x2ec),{'onClick':_0x3d862b=>{const _0x4ed40c=_0x2f5d75;_0x3d862b[_0x4ed40c(0x2bd)](),_0x444eba(_0x252292['id']);},'className':_0x2f5d75(0x28a),'children':(0x0,_0x31ec98[_0x2f5d75(0x28f)])(_0x51c194,{})})})})]}),(0x0,_0x31ec98['jsx'])(_0x2f5d75(0x2ec),{'className':_0x2f5d75(0x409),'children':_0x319690(_0x252292,_0x47f5e6)})]})]});}let _0x4ffe79=_0x2267a7(0x2f2),_0x16a7f0=class extends _0x3bba19[_0x2267a7(0x177)]{constructor(_0x535584,_0x511e1c,_0x3c7d79,_0x4bb7ca,_0x19835f){const _0x30a7a7=_0x2267a7;super(),this[_0x30a7a7(0x15a)]=_0x535584,this[_0x30a7a7(0x8c)]=_0x511e1c,this[_0x30a7a7(0x1ec)]=_0x3c7d79,this[_0x30a7a7(0x2ff)]=_0x4bb7ca,this[_0x30a7a7(0x10f)]=_0x19835f,_0x374704(this,_0x30a7a7(0x1df),null),this['_init']();}[_0x2267a7(0x193)](){this['_initPanel']();}[_0x2267a7(0x3ff)](){const _0x16bdcd=_0x2267a7;var _0x36b89d;if(this['_sidebarDisposable'])return;let _0x5d3f8d=((_0x36b89d=this[_0x16bdcd(0x10f)][_0x16bdcd(0x1bf)]('edit-history-viewer.config'))==null?void 0x0:_0x36b89d[_0x16bdcd(0x1bc)])||_0x4ffe79,_0x18248b={'header':{'title':this['_localeService']['t'](_0x16bdcd(0x36f))},'children':{'label':_0x5d3f8d},'onClose':()=>{const _0x2a59d5=_0x16bdcd;this[_0x2a59d5(0x1df)]=null,this[_0x2a59d5(0x2ff)][_0x2a59d5(0x343)]=_0x2a59d5(0xb7);}};this[_0x16bdcd(0x1df)]=this[_0x16bdcd(0x15a)][_0x16bdcd(0x362)]({..._0x18248b});}[_0x2267a7(0x1c1)](){const _0x3f60e8=_0x2267a7;this[_0x3f60e8(0x74)](this['_componentManager'][_0x3f60e8(0x16c)](_0x4ffe79,_0x454ba1)),this[_0x3f60e8(0x74)](this['_historyManagerService']['openPanel$']['subscribe'](_0x284cad=>{const _0x1c92c1=_0x3f60e8;_0x284cad&&this[_0x1c92c1(0x3ff)]();}));}};_0x16a7f0=_0x9526d9([_0x550961(0x0,_0x3f2000[_0x2267a7(0x28e)]),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3f2000[_0x2267a7(0x314)])),_0x550961(0x2,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19[_0x2267a7(0x2ba)])),_0x550961(0x3,(0x0,_0x3bba19['Inject'])(_0x4bbed9)),_0x550961(0x4,_0x3bba19[_0x2267a7(0x3b7)])],_0x16a7f0);let _0x29343b=class extends _0x3bba19[_0x2267a7(0x387)]{constructor(_0x3170ab=_0x671578,_0x454703,_0x44b18d,_0x2c0507){const _0x32f034=_0x2267a7;super(),this[_0x32f034(0x3c1)]=_0x3170ab,this[_0x32f034(0x39d)]=_0x454703,this[_0x32f034(0x2fd)]=_0x44b18d,this[_0x32f034(0x10f)]=_0x2c0507;let {..._0x234a01}=(0x0,_0x3bba19['merge'])({},_0x671578,this[_0x32f034(0x3c1)]);this['_configService'][_0x32f034(0x2de)](_0x416c3e,_0x234a01);}[_0x2267a7(0x3da)](){const _0x3c8e82=_0x2267a7;[[_0x4bbed9],[_0x18716b],[_0x31302b],[_0x57a226],[_0x16a7f0],[_0x502411],[_0x26651d[_0x3c8e82(0x3cb)],{'useClass':_0xf6793f[_0x3c8e82(0x19d)]}],[_0x3f2000[_0x3c8e82(0xf6)],{'useClass':_0x14ced6}],[_0x42dade[_0x3c8e82(0x228)],{'useClass':_0xf6793f[_0x3c8e82(0x19f)]}]][_0x3c8e82(0xc9)](_0xa88578=>this['_injector'][_0x3c8e82(0x7b)](_0xa88578)),this[_0x3c8e82(0x39d)]['get'](_0x18716b);}[_0x2267a7(0x2e2)](){const _0x3ef2a8=_0x2267a7;[[_0x2565e2]][_0x3ef2a8(0xc9)](_0x1a72d6=>{const _0x73cb47=_0x3ef2a8;this['disposeWithMe'](this[_0x73cb47(0x2fd)]['registerRenderModule'](_0x3bba19[_0x73cb47(0x1f9)][_0x73cb47(0x18b)],_0x1a72d6));}),this[_0x3ef2a8(0x39d)][_0x3ef2a8(0x249)](_0x502411),this[_0x3ef2a8(0x39d)][_0x3ef2a8(0x249)](_0x16a7f0);}['onSteady'](){const _0x29897b=_0x2267a7;this[_0x29897b(0x39d)][_0x29897b(0x249)](_0x31302b);}};_0x374704(_0x29343b,_0x2267a7(0x2df),_0x2267a7(0x3a2)),_0x374704(_0x29343b,_0x2267a7(0x290),_0xa8026d),_0x374704(_0x29343b,_0x2267a7(0x9e),_0x5c6930),_0x29343b=_0x9526d9([(0x0,_0x3bba19[_0x2267a7(0x1f8)])(_0x24294d['UniverSheetsUIPlugin'],_0x4def42['UniverNetworkPlugin']),_0x550961(0x1,(0x0,_0x3bba19[_0x2267a7(0x162)])(_0x3bba19['Injector'])),_0x550961(0x2,_0x7352c7['IRenderManagerService']),_0x550961(0x3,_0x3bba19['IConfigService'])],_0x29343b),Object[_0x2267a7(0x2b7)](_0x422e92,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x4bbed9;}}),_0x422e92[_0x2267a7(0x215)]=_0x433f6e,_0x422e92['HistoryOrigin']=_0x24ac3f,Object['defineProperty'](_0x422e92,'UniverEditHistoryViewerMobilePlugin',{'enumerable':!0x0,'get':function(){return _0x5da7ee;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x1ed),{'enumerable':!0x0,'get':function(){return _0x29343b;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x367),{'enumerable':!0x0,'get':function(){return _0x2565e2;}}),Object[_0x2267a7(0x2b7)](_0x422e92,_0x2267a7(0x7d),{'enumerable':!0x0,'get':function(){return _0x31302b;}});}));
|
|
17
|
+
function _0x3a5e(){const _0x1960cf=['edit-history-viewer.panel.revertConfirmText','univer-flex\x20univer-size-5\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center','userID','UniverSheetsDataValidation','getSubUnitId','editSheet','setDV','labelKey','COLUMN','SetColDataMutation','permissionPointUpdate$','setRangeValues','UniverSheetsMobileUIPlugin','univer-max-h-[300px]\x20univer-overflow-y-auto\x20univer-py-1','ICellEditorManagerService','_sheetPermissionInitController','packageName','SetWorksheetHideMutation','rgba','removeShape','span','ZH_CN','Exited','loadingState$','recalcFilter','historyAIassistantEnabled','highlightRow','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','style','triggerLoadSheet','3NLODtw','defIds','decorate','path','Character','SetGridlinesColorMutation','showCol','/cs?startRevision=','string','Fragment','setPivotOption','Comment','addPivotField','SetPivotCollapseMutation','version','next','univer-text-gray-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-center\x20univer-py-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','showText','vertical','_sidebarDisposable','_versionDiffService','arrowColumnRanges','some','insertCellRanges','body','setTableFilter','cellValue','fillStyle','InsertColMutation','IDialogService','_maskContainer','18.1758','SheetCollabCursorShape','more-right-icon','getTableInfo','stop','_name','removePivotTable','_creators$','labelPosition','univer-relative\x20univer-flex-1\x20univer-space-y-2\x20univer-pb-4','setColCount','_getActiveSubUnitId','confirm','InsertSheetsChartMutation','univer-text-2xl\x20dark:!univer-text-white','small','_handleOverlappingShapes','endRow','UpdateSheetsShapeTypeMutation','SetWorksheetColWidthMutation','LoadingMultiIcon','linearGradient','colorChannel1','SetPivotValueFilterMutation','horizontal','isArray','SetColHiddenMutation','_context','deleteWorksheetRangeTheme','UniverCore','IPermissionService','useMemo','MoreDownIcon','restore-icon','back-icon','SetPivotSortMutation','Info','transformByState','ensureVersion','getMinutes','iterator','display','DeleteSheetTableMutation','InsertSheetMutation','triggerLoadVersions','_hasMore','RevertRevisionMutation','getDataRange','setRightToLeft','4631520yqqbCv','entities','univer-flex\x20univer-items-center\x20univer-justify-center','insertBorderRanges','onPointerLeave$','updateTable','all','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-shrink-0\x20univer-cursor-pointer\x20univer-flex-col\x20univer-items-center\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','close','addProtection','transformMutations','LocaleService','arc','Error','getSheetObject','edit-history-viewer.panel.filterCollaborator','UniverInstanceType','setCF','removeEventListener','_renderBorderRanges','RemoveRangeThemeMutation','RenameSheet','_renderArrowRanges','RemoveSheetSparklineMutation','ToggleGridlinesMutation','edit-history-viewer.info.loading','100%','updateCellRanges','dateString','DrawingApplyType','deleteProtection','SheetTableService','Injector','getOwnPropertyDescriptor','AddPivotFieldMutation','UpdateFieldPositionMutation','&endRevision=','users','univer-size-8\x20univer-text-gray-400','addObjects','createUnit','connectInjector','updateShapeData','currentVersion','max','from','exited','getInterceptPoints','min','sort','blocks','deleteCF','_renderCellRanges','Button','removeAll','edit-history-viewer.action.insertDrawing','AddDataValidationMutation','SetFrozenMutation','flex','SetTabColorMutation','InsertSheetsShapeMutation','AddSheetSparklineMutation','_findOverlappingShapes','RemoveSheetMutation','attrs','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-flex\x20univer-h-[calc(100%-32px)]\x20univer-w-[calc(100%-16px)]\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overflow-auto\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getRange',',\x200.2)','insertCol','setSparkline','SheetsChartService','UniverProCollaboration','SetSheetTableFilterMutation','setRowHeight','setRowCount','borderBottomClassName','0.31','link','RemoveSheetsChartMutation','getRelativeToViewportCoord','setPivotSort','_stopBlinking','_updateVersions','SetWorksheetRowIsAutoHeightMutation','Unspecified','allRanges','UniverSheetsFilter','http://www.w3.org/2000/svg','triggerDblclick','React','save','UNIVER_EDIT_HISTORY_VIEWER_MOBILE_PLUGIN','0.25.1','changesets','lineWidth','Inject','0\x200\x2016\x2017','SetRowDataMutation','ChartUpdateConfigMutation','getCurrentUnitCurrentVersion','ruleId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','range','_createMask','_revertRevision$','UniverDesign','object','function','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','fetchCreatorList','updateValuePosition','subscribe','setRowAutoHeight','getSeconds','setConfig','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-gap-1.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','startRow','_permissionService','IConfigService','50%','updateChartConfig','rgba(225,\x20225,\x20225,\x200.5)','mutations','UniverSheetsUi','startsWith','children','current','0\x200\x2020\x2020','Segmented','highlightColumn','univer-animate-spin\x20univer-text-gray-400','creators','Shape','getDeserializedSheetBlock','edit-history-viewer.header.back','substring','subUnitIds','MoveRowsMutation','label','useDependency','className','findAllRectangle','position','SetWorksheetRangeThemeStyleMutation','WorkbookMoveSheetPermission','clear','jsx','#FF557D','useState','fetching$','revertRevision$','column','registerRenderModule','getSelectedVersionIsCurrentVersion','LocaleType','RestoreIcon','IDrawingManagerService','unitId','toPrimitive','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','DeleteWorksheetRangeThemeStyleMutation','loading-multi-icon','userId','join','url(#$1','subUnitId','getCurrentSkeleton','setNumfmt','WorkbookRenameSheetPermission','_combineRanges','setPivotCollapse','includes','univer-min-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-px-1\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','edit-history-viewer.panel.filterAll','edit-history-viewer.action.revertSheetSuffix','parseProtocolChangeset','3153159OCnvwI','isTransformMutationsSuccess','_createUnit','_workbookDataCache','createSheet','insertRow','univer-text-sm','setOffsetY','hasCommand','19775aVRABt','edit-history-viewer.panel.filterCollaboratorCancel','_isBlinkVisible','params','top','combineLatest','shapeId','univer-mb-0.5\x20univer-flex\x20univer-items-center\x20univer-gap-2','generateDiffMarks','...','endColumn','CollaborationImageIoService','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','M9.18035\x202.34502C9.21605\x202.15386\x209.31749\x201.9812\x209.46709\x201.85695C9.6167\x201.7327\x209.80504\x201.66469\x209.99951\x201.66469C10.194\x201.66469\x2010.3823\x201.7327\x2010.5319\x201.85695C10.6815\x201.9812\x2010.783\x202.15386\x2010.8187\x202.34502L11.6945\x206.97669C11.7567\x207.30598\x2011.9167\x207.60887\x2012.1537\x207.84583C12.3907\x208.08279\x2012.6936\x208.24282\x2013.0228\x208.30502L17.6545\x209.18085C17.8457\x209.21656\x2018.0183\x209.318\x2018.1426\x209.4676C18.2668\x209.6172\x2018.3348\x209.80555\x2018.3348\x2010C18.3348\x2010.1945\x2018.2668\x2010.3828\x2018.1426\x2010.5324C18.0183\x2010.682\x2017.8457\x2010.7835\x2017.6545\x2010.8192L13.0228\x2011.695C12.6936\x2011.7572\x2012.3907\x2011.9172\x2012.1537\x2012.1542C11.9167\x2012.3912\x2011.7567\x2012.6941\x2011.6945\x2013.0234L10.8187\x2017.655C10.783\x2017.8462\x2010.6815\x2018.0188\x2010.5319\x2018.1431C10.3823\x2018.2673\x2010.194\x2018.3353\x209.99951\x2018.3353C9.80504\x2018.3353\x209.6167\x2018.2673\x209.46709\x2018.1431C9.31749\x2018.0188\x209.21605\x2017.8462\x209.18035\x2017.655L8.30451\x2013.0234C8.24231\x2012.6941\x208.08228\x2012.3912\x207.84532\x2012.1542C7.60836\x2011.9172\x207.30547\x2011.7572\x206.97618\x2011.695L2.34451\x2010.8192C2.15335\x2010.7835\x201.98069\x2010.682\x201.85645\x2010.5324C1.7322\x2010.3828\x201.66418\x2010.1945\x201.66418\x2010C1.66418\x209.80555\x201.7322\x209.6172\x201.85645\x209.4676C1.98069\x209.318\x202.15335\x209.21656\x202.34451\x209.18085L6.97618\x208.30502C7.30547\x208.24282\x207.60836\x208.08279\x207.84532\x207.84583C8.08228\x207.60887\x208.24231\x207.30598\x208.30451\x206.97669L9.18035\x202.34502Z','getCurrentVersion','endRevCreateTime','highlight','_uiPartsService','memberId','setPivotPosition','UNIVER_SHEET','arrowRow','categorizeMutationRanges','highlightSecond','setColData','1000','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','edit-history-viewer.action.removeDrawing','currentVersionDiff$','commands','SetWorksheetOrderMutation','direction','getElementById','_compressMutationService','loaded','asObservable','Today','SHEET_VIEWPORT_KEY','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-break-all\x20univer-font-medium\x20univer-text-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setTabColor','RemovePivotFieldMutation','sourceRange','hideCol','getMatrix','lineTo','getSheets','div','ConditionalFormattingRuleModel','workbook','loadInitialVersions','_hovered','rule','parent','drawingIds','MoveConditionalRuleMutation','_cacheKey','parseInt','getAncestorScale','SetPivotFilterMutation','_messageService','RemoveNumfmtMutation','univer-h-[60%]','registerDetailVersion','_startBlinking','-detail-','svg','_loadParams','_historyManagerService','forwardRef','LRUMap','more-down-icon','_highlightSecond','defineProperty','action','setRowIsAutoHeight','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-950\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_univerInstanceService','SetWorksheetNameMutation','removeChart','0.655','UpdateDataValidationMutation','ObjectMatrix','HEADER','getMember','_applyWorkbookData','#01C2AA','useEffect','UnitAction','IImageIoService','setPivotFieldFormat','IUIPartsService','mergeCells','removePivotField','tableId','edit-history-viewer.action.revertSheetPrefix','center','univer-m-auto\x20univer-animate-spin','_lastLabel','moveRange','append','univer-flex-1','_yieldToMain','add','VIEW_MAIN','HistoryOrigin','revision','createTime','getPivotTableRangeInfo','viewportScrollX','getUnit','8MpADwY','now','setGridlinesColor','rgba(46,125,50,0.5)','interceptor','getVpScrollXYInfoByPosToVp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-blue-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','moveCols','merge','onStarting','getHours','left','removeRow','unmergeCells','values','startRevision','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-px-3\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_drawTextBubble','SetWorksheetRowHeightMutation','moveCF','_dataValidationModel','univerjs-icon\x20univerjs-icon-','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-center\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','SheetsPivotTableConfigModel','find','\x20-\x20','getUnitOnRev','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','SetRangeThemeMutation','origin','drawingId','0\x200\x2016\x2016','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-1/2\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getSheetId','historyPanelComponentKey','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-pt-1.5\x20univer-text-sm\x20univer-font-medium','_getSheetObject','filter','edit-history-viewer.panel.listFetchError','_historyFetchService','_initMaskContainer','white','_registerHeader','_sheetSkeletonManagerService','history-mask','get','history-panel','stringify','rangeInfo','toStringTag','removeTable','Tooltip','UniverIcon','unitId$','value','setWorksheetRangeTheme','slice','_sheetsChartService','button','ruleIds','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','loading','defs','_cellEditorManagerService','makeDirty','univer-ml-1\x20univer-flex\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','MoveRangeMutation','Vector2','univer-size-4\x20univer-animate-spin','_confirmService','_getAPIPrefix','univer-size-4\x20univer-shrink-0','updatePivotFieldSource','parse','edit-history-viewer.panel.confirm','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-end\x20univer-gap-2\x20univer-p-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getVersion','jsxs','deleteBorderRanges','setDefaultStyle','rowHeaderWidth','setState','FloatImg','_sheetTableService','_extractRanges','updateShapeType','edit-history-viewer.panel.unknownUser','M1\x203.87476C1\x204.97933\x201.89543\x205.87476\x203\x205.87476L3\x207.67383C3\x208.7784\x203.89543\x209.67383\x205\x209.67383H5.5V13.5252C5.5\x2014.4089\x206.21634\x2015.1252\x207.1\x2015.1252H8.9C9.78366\x2015.1252\x2010.5\x2014.4089\x2010.5\x2013.5252V9.67383H11C12.1046\x209.67383\x2013\x208.7784\x2013\x207.67383V5.87476C14.1046\x205.87476\x2015\x204.97933\x2015\x203.87476V2.87476C15\x201.77019\x2014.1046\x200.874756\x2013\x200.874756H3C1.89543\x200.874756\x201\x201.77019\x201\x202.87476V3.87476ZM13\x202.07476H3C2.55817\x202.07476\x202.2\x202.43293\x202.2\x202.87476V3.87476C2.2\x204.31658\x202.55817\x204.67476\x203\x204.67476L13\x204.67383C13.4418\x204.67383\x2013.8\x204.31658\x2013.8\x203.87476V2.87476C13.8\x202.43293\x2013.4418\x202.07476\x2013\x202.07476ZM4.2\x207.67383V5.87476H11.8V7.67383C11.8\x208.11566\x2011.4418\x208.47383\x2011\x208.47383H5C4.55817\x208.47383\x204.2\x208.11566\x204.2\x207.67383ZM6.7\x209.67437H9.3V13.5252C9.3\x2013.7462\x209.12091\x2013.9252\x208.9\x2013.9252H7.1C6.87909\x2013.9252\x206.7\x2013.7462\x206.7\x2013.5252V9.67437Z','univer-text-xs\x20univer-text-gray-400','evented','edit-history-viewer.config','3485733aJdYwv','#FFF','SetRangeValuesMutation','_sparklineDataSourceModel','removeSheet','edit-history-viewer.panel.cancel','ReCalcSheetsFilterMutation','_blinkTimer','versions','UniverEngineRender','REMOVE','hideDiffMarks','1em','getCellPositionByOffset','FromArray','rgba(198,40,40,0.5)','SetPivotFieldFormatMutation','ISnapshotServerService','currentVersion$','state$','toISOString','reduce','edit-history-viewer.action.','10px','hideSheet','beginPath','getSelectedVersionCanRevert','startRev','toDisposable','fetching','exports.@univerjs-pro/collaboration-client-ui.@univerjs/core.@univerjs/drawing.@univerjs/engine-render.@univerjs/sheets.@univerjs/sheets-ui.rxjs.@univerjs/design.@univerjs/ui.@univerjs-pro/collaboration.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-sparkline.@univerjs/data-validation.@univerjs/sheets-conditional-formatting.@univerjs/sheets-drawing.@univerjs/sheets-filter.@univerjs/sheets-table.@univerjs/network.@univerjs/protocol.@univerjs/sheets-data-validation.@univerjs-pro/collaboration-client.react.react/jsx-runtime','start','DeleteConditionalRuleMutation','_sheetsPivotTableConfigModel','RemovePivotTableMutation','rules','moveRows','UniverEditHistoryViewerMobilePlugin','closePath','_configService','SetPivotOptionMutation','block','triggerRevert','_setVersions','UniverSheetsUIPlugin','0px','getCoordByCell','primary','url(#restore-icon_clip0_1247_2)','User','evenodd','replace','UniverSheetsTable','columnHeaderHeight','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','font','removeCol','HistoryModeStatus','_detailVersionsMap','pluginName','SetPivotPositionMutation','_borderDiffs','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','ReorderRangeMutation','loadHistoryCreatorList','ChartUpdateSourceConfigMutation','Dropdown','cfId','getConfig','userSpaceOnUse','Plugin','AddSheetTableMutation','hide','measureText','_snapshotServerService','_localeService','COMPRESS_MUTATION_APPLY','currentColor','length','RemoveColMutation','_removeDiffMarks','mask','SetWorksheetPermissionPointsMutation','has','push','edit-history-viewer.panel.currentUser','_injector','univer-rounded-xs\x20univer-h-6\x20univer-cursor-pointer\x20univer-p-1\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','isSheetHidden','_showText','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-gap-1','WorkbookEditablePermission','startRevCreateTime','SetWorksheetRowAutoHeightMutation','UniverEditHistoryViewerPlugin','_color','UpdateValuePositionMutation','m1Prime','insertBorder','hovered','setValue','none','UniverDataValidation','bottom','scrollToShape','random','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shrink-0\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-py-0.5\x20univer-text-xs\x20univer-text-primary-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-transparent\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_updateWorksheetVisibility','amd','setRangeTheme','type','edit-history-viewer.panel.filterAi','getVersions','showMask','deleteRangeProtection','call','targetRange','insertSheet','getFilterModel','univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-font-semibold','SetDrawingApplyMutation','middle','setPivotSubtotalType','UpdateSheetsShapeDataMutation','deleteBorder','setRowData','RemoveDataValidationMutation','SetWorksheetActiveOperation','INSERT','active','closeAll','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','xlink:href','edit-history-viewer.panel.filterCollaboratorConfirm','edit-history-viewer.panel.revertConfirm','rxjs','toString','height','additionalFields','updatePermissionPoint','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-absolute\x20univer-top-0\x20univer-h-full\x20univer-bg-gray-100\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','startDateString','map','useCallback','SetWorksheetProtectionMutation','show','addPivotTable','DeleteRangeProtectionMutation','entered','UniverProCollaborationClientUi','hideMask','symbol','hideRow','_status$','UniverNetworkPlugin','restore-icon_clip0_1247_2','getRule','edit-history-viewer.panel.title','HTTPService','_canRevert','renamePivotField','triggerCustomVersions','_dialogOptions$','setFilterCriteria','clipPath','set','reorderRange','funnel-icon','/creators','_openPanel$','forEach','clsx','SetWorksheetColumnCountMutation','_transformMutationByOrder','edit-history-viewer.header.revert','IUniverInstanceService','translateY(-50%)','getRuleById','transparent','SheetDataValidationModel','UpdatePivotFieldSourceInfoMutation','rgba(21,101,192,0.5)','SetRowHiddenMutation','updateBorderRanges','status','_drawVerticalArrow','arrowColumn','insert','removeFilter','_currentVersion$','endRevision','setColWidth','_openPanel','userIds','default','registerComponent','refreshRangeProtectPermission','edit-history-viewer.panel.currentVersion','insertDrawings','confirm-revert-revision','idSuffix','chartModelId','versions$','canRevert','abs','syncExecuteCommand','updateDrawings','edit-history-viewer.action.etc','FunnelIcon','rowData','_direction','_initRender','DependentOn','_conditionalFormattingRuleModel','_renderManagerService','fill','_config','removeRangeTheme','M11.3536\x206.14645C11.5488\x206.34171\x2011.5488\x206.65829\x2011.3536\x206.85355L8.35355\x209.85355C8.15829\x2010.0488\x207.84171\x2010.0488\x207.64645\x209.85355L4.64645\x206.85355C4.45118\x206.65829\x204.45118\x206.34171\x204.64645\x206.14645C4.84171\x205.95118\x205.15829\x205.95118\x205.35355\x206.14645L8\x208.79289L10.6464\x206.14645C10.8417\x205.95118\x2011.1583\x205.95118\x2011.3536\x206.14645Z','constructor','useRef','renameSheet','user','DeleteWorksheetProtectionMutation','ErrorCode','assign','_versions$','_initActiveSwitch','_setFetching','ITransformService','ghost','columnData','_sheetsFilterService','SetColVisibleMutation','RenamePivotFieldMutation','_lastPointer','fillText','tag','update','arrowRowRanges','error','_currentVersionDiff$','M6.14645\x204.64645C6.34171\x204.45118\x206.65829\x204.45118\x206.85355\x204.64645L9.85355\x207.64645C10.0488\x207.84171\x2010.0488\x208.15829\x209.85355\x208.35355L6.85355\x2011.3536C6.65829\x2011.5488\x206.34171\x2011.5488\x206.14645\x2011.3536C5.95118\x2011.1583\x205.95118\x2010.8417\x206.14645\x2010.6464L8.79289\x208L6.14645\x205.35355C5.95118\x205.15829\x205.95118\x204.84171\x206.14645\x204.64645Z','sparklineConfigMap','Rect','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','setInterval','getDialogs$','trim','onPointerMove$','groupIds','rgb','ICommandService','name','BackIcon','executeCommand','CreateUnitMutation','endDateString','_fetching$','removeNumfmt','split','updateBorder','creators$','deleteDrawings','onMouseMove','removeSparkline','endRev','showRow','date','blockMeta','setRangeProtection','transform','setFilter','pipe','RemoveSheetsFilterMutation','_scrollToShape','1662yLtpGG','scroll','init','openPanel$','updateFieldPosition','setShapeProps','scrollToViewportPos','IMessageService','ROW','_diffs','key','stopPropagation','removeDV','Failed\x20to\x20fetch\x20version\x20details:','entries','SetWorksheetDefaultStyleMutation','recoverTime','univer-absolute\x20univer-top-0\x20univer-h-full','edit-history-viewer.panel.revertDesc','loadMoreVersions','SetSheetTableMutation','updatePivotSource','_members','RangeProtectionRuleModel','register','restore','_transformService','forValue','UniverProEditHistoryViewer','status$','HideSheet','getDrawingByParam','lastLabel','getViewport','RANGE_TYPE','_sidebarService','row','_draw','68cPcZSq','VersionDiffService','-drawing-','SparklineDataSourceModel','CONTENT','flatMap','BehaviorSubject','ranges','_httpService','SetSheetsFilterRangeMutation','_updateDiffMarks','anonymous','_drawHorizontalArrow','addSparkline','#0B9EFB','23069937YLwPJR','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','transformSnapshotToWorkbookData','hidden','flat','[HistoryFetchService]:\x20request\x20snapshot\x20error!','univer-relative','updateDrawing','useObservable','SetPivotSubtotalTypeMutation','UniverProSheetsChart','_unitCurrentVersionMap','348805XgxKpo','time','use','onPointerEnter$','/universer-api/history','univer-size-4','getSparklineById','currentSkeleton$','7.08645','SetSheetsFilterCriteriaMutation','subType','stroke','setPivotFilter','_arrowDiffs','BuiltInUIPart','subscribeEvent','RemoveSheetsShapeMutation','open','SetSheetSparklineMutation','delete','_blinkIntervalTimer','dispose','_maskElement','_loadingState$','disposeWithMe','setPivotValueFilter','RemoveWorksheetMergeMutation','loadSheet','onSteady','@univerjs-pro/edit-history-viewer','Disposable','SetConditionalRuleMutation','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_categorizeMutationRanges','UpdatePivotTableSourceRangeMutation','SetRowVisibleMutation','AddWorksheetMergeMutation','startColumn','_drawingManagerService','fetchThroughInterceptors','getCurrentLocale','width','#A656FF','createElement','univer-flex\x20univer-items-center\x20univer-gap-2','rect','UniverProtocol','IConfirmService','_init','_commandService','_initPanel','UniverNetwork','sheetId','_componentManager','loadingState','pivotTableId','_unitId$','_renderDrawingHighlights','MoveColsMutation','edit-history-viewer.panel.aiAssistant','_labelPosition','SetRangeProtectionMutation','_highlight','chartId','SnapshotServerOverHTTPService','ComponentManager','getMutationActionMap','718062ffqfFj','displayName','renameWorkbook','moveTo','AddPivotTableMutation','onRendered','getCurrentUnitOfType','SetWorkbookNameMutation','getHistoryChangesets','1px','sparklines','ISidebarService','rev','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-truncate\x20univer-text-xs\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-400\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','code','UniverProSheetsShape','VIRTUAL_VERSION_NOW','_diffRangesMap','setProtection','SetNumfmtMutation','_historyContainerId','getUnitId','UniverUi','SheetPermissionInitController','deleteCellRanges','keys','_drawingDiffs'];_0x3a5e=function(){return _0x1960cf;};return _0x3a5e();}function _0x352b(_0x56c419,_0x5a35f2){_0x56c419=_0x56c419-0xb2;const _0x3a5e41=_0x3a5e();let _0x352bb5=_0x3a5e41[_0x56c419];return _0x352bb5;}(function(_0x219028,_0x24cb5d){const _0x3dee90=_0x352b,_0x49d418=_0x219028();while(!![]){try{const _0x5d394f=parseInt(_0x3dee90(0x2e9))/0x1*(parseInt(_0x3dee90(0x2b0))/0x2)+parseInt(_0x3dee90(0x118))/0x3+-parseInt(_0x3dee90(0x252))/0x4*(-parseInt(_0x3dee90(0x26d))/0x5)+parseInt(_0x3dee90(0x22c))/0x6*(-parseInt(_0x3dee90(0x3f3))/0x7)+-parseInt(_0x3dee90(0xbc))/0x8*(parseInt(_0x3dee90(0x3ea))/0x9)+parseInt(_0x3dee90(0x33a))/0xa+-parseInt(_0x3dee90(0x261))/0xb;if(_0x5d394f===_0x24cb5d)break;else _0x49d418['push'](_0x49d418['shift']());}catch(_0x707317){_0x49d418['push'](_0x49d418['shift']());}}}(_0x3a5e,0xa0a1e),function(_0x45dc70,_0x549ef5){const _0x39a05a=_0x352b;typeof exports==_0x39a05a(0x3a4)&&typeof module<'u'?_0x549ef5(exports,require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/design'),require('@univerjs/ui'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-table'),require('@univerjs/network'),require('@univerjs/protocol'),require('@univerjs/sheets-data-validation'),require('@univerjs-pro/collaboration-client'),require('react'),require('react/jsx-runtime')):typeof define==_0x39a05a(0x3a5)&&define[_0x39a05a(0x184)]?define(_0x39a05a(0x136)[_0x39a05a(0x21c)]('.'),_0x549ef5):(_0x45dc70=typeof globalThis<'u'?globalThis:_0x45dc70||self,_0x549ef5(_0x45dc70[_0x39a05a(0x248)]={},_0x45dc70[_0x39a05a(0x1ad)],_0x45dc70[_0x39a05a(0x326)],_0x45dc70['UniverDrawing'],_0x45dc70[_0x39a05a(0x121)],_0x45dc70['UniverSheets'],_0x45dc70[_0x39a05a(0x3b5)],_0x45dc70[_0x39a05a(0x19f)],_0x45dc70[_0x39a05a(0x3a3)],_0x45dc70[_0x39a05a(0x2c6)],_0x45dc70[_0x39a05a(0x381)],_0x45dc70[_0x39a05a(0x26b)],_0x45dc70['UniverProSheetsPivot'],_0x45dc70[_0x39a05a(0x2bf)],_0x45dc70['UniverProSheetsSparkline'],_0x45dc70[_0x39a05a(0x17e)],_0x45dc70['UniverSheetsConditionalFormatting'],_0x45dc70['UniverSheetsDrawing'],_0x45dc70[_0x39a05a(0x390)],_0x45dc70[_0x39a05a(0x14c)],_0x45dc70[_0x39a05a(0x2a0)],_0x45dc70[_0x39a05a(0x29b)],_0x45dc70[_0x39a05a(0x2ce)],_0x45dc70['UniverProCollaborationClient'],_0x45dc70[_0x39a05a(0x393)],_0x45dc70['React']));}(this,function(_0x2f0c78,_0x3ff568,_0x1467aa,_0x366565,_0x93fecc,_0x337aad,_0x30725c,_0x197ec0,_0x4d33e2,_0x13a253,_0x4f87fc,_0xd50e28,_0x7a8479,_0xb23317,_0x902a7b,_0x24d04c,_0x3faaa0,_0x3867c2,_0x41ff64,_0x16c297,_0x4b91c0,_0x318c18,_0x217de1,_0x5a3d94,_0x6b906,_0x300d66){const _0x4f2e97=_0x352b;Object[_0x4f2e97(0x43b)](_0x2f0c78,Symbol[_0x4f2e97(0xee)],{'value':'Module'});function _0x356e26(_0xc0fe63=_0x4f2e97(0x12e)){const _0x28a305=_0x4f2e97;return{'collaboration':[{'id':_0x4f87fc[_0x28a305(0x218)]['id'],'action':_0xc0fe63+_0x28a305(0x3ee)},{'id':_0x4f87fc[_0x28a305(0x337)]['id'],'action':_0xc0fe63+'revertSheet'}],'sheets':[{'id':_0x337aad['InsertSheetMutation']['id'],'action':_0xc0fe63+_0x28a305(0x18d)},{'id':_0x337aad[_0x28a305(0x379)]['id'],'action':_0xc0fe63+_0x28a305(0x11c)},{'id':_0x337aad[_0x28a305(0x440)]['id'],'action':_0xc0fe63+_0x28a305(0x1f5)},{'id':_0x337aad[_0x28a305(0x411)]['id'],'action':_0xc0fe63+'reorderSheet'},{'id':_0x337aad[_0x28a305(0x2dc)]['id'],'action':_0xc0fe63+_0x28a305(0x130)},{'id':_0x337aad['CopyWorksheetEndMutation']['id'],'action':_0xc0fe63+'copySheet'},{'id':_0x337aad[_0x28a305(0x375)]['id'],'action':_0xc0fe63+_0x28a305(0x41a)},{'id':_0x337aad[_0x28a305(0x2b7)]['id'],'action':_0xc0fe63+_0x28a305(0x2b2)},{'id':_0x337aad['InsertRowMutation']['id'],'action':_0xc0fe63+_0x28a305(0x3ef)},{'id':_0x337aad['InsertColMutation']['id'],'action':_0xc0fe63+_0x28a305(0x37e)},{'id':_0x337aad['RemoveRowMutation']['id'],'action':_0xc0fe63+_0x28a305(0xc8)},{'id':_0x337aad[_0x28a305(0x167)]['id'],'action':_0xc0fe63+_0x28a305(0x150)},{'id':_0x337aad['MoveRowsMutation']['id'],'action':_0xc0fe63+_0x28a305(0x13c)},{'id':_0x337aad[_0x28a305(0x2a7)]['id'],'action':_0xc0fe63+_0x28a305(0xc3)},{'id':_0x337aad[_0x28a305(0x290)]['id'],'action':_0xc0fe63+_0x28a305(0x223)},{'id':_0x337aad[_0x28a305(0x1ce)]['id'],'action':_0xc0fe63+_0x28a305(0x1b0)},{'id':_0x337aad['SetColVisibleMutation']['id'],'action':_0xc0fe63+_0x28a305(0x2ef)},{'id':_0x337aad[_0x28a305(0x323)]['id'],'action':_0xc0fe63+_0x28a305(0x41d)},{'id':_0x337aad[_0x28a305(0xce)]['id'],'action':_0xc0fe63+_0x28a305(0x383)},{'id':_0x337aad[_0x28a305(0x31c)]['id'],'action':_0xc0fe63+_0x28a305(0x1d7)},{'id':_0x337aad[_0x28a305(0x175)]['id'],'action':_0xc0fe63+_0x28a305(0x3aa)},{'id':_0x337aad[_0x28a305(0x38d)]['id'],'action':_0xc0fe63+_0x28a305(0x43d)},{'id':_0x337aad[_0x28a305(0x39b)]['id'],'action':_0xc0fe63+'setRowData'},{'id':_0x337aad[_0x28a305(0x2d4)]['id'],'action':_0xc0fe63+'setColData'},{'id':_0x337aad['SetWorksheetRowCountMutation']['id'],'action':_0xc0fe63+_0x28a305(0x384)},{'id':_0x337aad[_0x28a305(0x1c4)]['id'],'action':_0xc0fe63+_0x28a305(0x313)},{'id':_0x337aad[_0x28a305(0x11a)]['id'],'action':_0xc0fe63+_0x28a305(0x2d6)},{'id':_0x337aad[_0x28a305(0xff)]['id'],'action':_0xc0fe63+'moveRange'},{'id':_0x337aad[_0x28a305(0x157)]['id'],'action':_0xc0fe63+_0x28a305(0x1be)},{'id':_0x337aad[_0x28a305(0x291)]['id'],'action':_0xc0fe63+_0x28a305(0x44e)},{'id':_0x337aad[_0x28a305(0x287)]['id'],'action':_0xc0fe63+_0x28a305(0xc9)},{'id':_0x337aad[_0x28a305(0x373)]['id'],'action':_0xc0fe63+'setFrozen'},{'id':_0x337aad[_0x28a305(0x352)]['id'],'action':_0xc0fe63+'toggleGridlines'},{'id':_0x337aad[_0x28a305(0x2ee)]['id'],'action':_0xc0fe63+_0x28a305(0xbe)},{'id':_0x337aad['SetWorksheetRightToLeftMutation']['id'],'action':_0xc0fe63+_0x28a305(0x339)},{'id':_0x337aad[_0x28a305(0x23b)]['id'],'action':_0xc0fe63+_0x28a305(0x10c)},{'id':_0x337aad['AddWorksheetProtectionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x343)},{'id':_0x337aad[_0x28a305(0x1a8)]['id'],'action':_0xc0fe63+_0x28a305(0x2c2)},{'id':_0x337aad[_0x28a305(0x1f7)]['id'],'action':_0xc0fe63+_0x28a305(0x358)},{'id':_0x337aad['AddRangeProtectionMutation']['id'],'action':_0xc0fe63+'addRangeProtection'},{'id':_0x337aad[_0x28a305(0x2aa)]['id'],'action':_0xc0fe63+_0x28a305(0x226)},{'id':_0x337aad['DeleteRangeProtectionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x18a)},{'id':_0x337aad[_0x28a305(0x16a)]['id'],'action':_0xc0fe63+'setPermissionPoints'},{'id':_0x337aad[_0x28a305(0x2c3)]['id'],'action':_0xc0fe63+_0x28a305(0x3e1)},{'id':_0x337aad[_0x28a305(0x42f)]['id'],'action':_0xc0fe63+_0x28a305(0x21b)},{'id':_0x337aad['AddRangeThemeMutation']['id'],'action':_0xc0fe63+'addRangeTheme'},{'id':_0x337aad[_0x28a305(0xd9)]['id'],'action':_0xc0fe63+_0x28a305(0x185)},{'id':_0x337aad[_0x28a305(0x34e)]['id'],'action':_0xc0fe63+_0x28a305(0x1f1)},{'id':_0x337aad[_0x28a305(0x3c9)]['id'],'action':_0xc0fe63+_0x28a305(0xf4)},{'id':_0x337aad[_0x28a305(0x3da)]['id'],'action':_0xc0fe63+_0x28a305(0x325)}],'sheetsConditionalFormatting':[{'id':_0x3faaa0['AddConditionalRuleMutation']['id'],'action':_0xc0fe63+'setCF'},{'id':_0x3faaa0[_0x28a305(0x28c)]['id'],'action':_0xc0fe63+_0x28a305(0x34b)},{'id':_0x3faaa0['DeleteConditionalRuleMutation']['id'],'action':_0xc0fe63+_0x28a305(0x36d)},{'id':_0x3faaa0[_0x28a305(0x429)]['id'],'action':_0xc0fe63+'moveCF'}],'sheetsFilter':[{'id':_0x41ff64[_0x28a305(0x25b)]['id'],'action':_0xc0fe63+'setFilter'},{'id':_0x41ff64[_0x28a305(0x276)]['id'],'action':_0xc0fe63+_0x28a305(0x1bb)},{'id':_0x41ff64[_0x28a305(0x22a)]['id'],'action':_0xc0fe63+_0x28a305(0x1d4)},{'id':_0x41ff64[_0x28a305(0x11e)]['id'],'action':_0xc0fe63+_0x28a305(0x2e3)}],'dataValidation':[{'id':_0x24d04c['AddDataValidationMutation']['id'],'action':_0xc0fe63+_0x28a305(0x2d1)},{'id':_0x24d04c[_0x28a305(0x443)]['id'],'action':_0xc0fe63+'setDV'},{'id':_0x24d04c[_0x28a305(0x196)]['id'],'action':_0xc0fe63+_0x28a305(0x238)}],'sheetsChart':[{'id':_0xd50e28[_0x28a305(0x316)]['id'],'action':_0xc0fe63+'insertChart'},{'id':_0xd50e28['RemoveSheetsChartMutation']['id'],'action':_0xc0fe63+_0x28a305(0x441)},{'id':_0xd50e28['ChartUpdateConfigMutation']['id'],'action':_0xc0fe63+_0x28a305(0x3b2)},{'id':_0xd50e28[_0x28a305(0x159)]['id'],'action':_0xc0fe63+'updateChartSource'}],'sheetsSparkline':[{'id':_0x902a7b[_0x28a305(0x377)]['id'],'action':_0xc0fe63+_0x28a305(0x25f)},{'id':_0x902a7b[_0x28a305(0x27f)]['id'],'action':_0xc0fe63+_0x28a305(0x37f)},{'id':_0x902a7b[_0x28a305(0x351)]['id'],'action':_0xc0fe63+_0x28a305(0x221)}],'sheetsPivot':[{'id':_0x7a8479[_0x28a305(0x2b4)]['id'],'action':_0xc0fe63+'addPivotTable'},{'id':_0x7a8479['RemovePivotTableMutation']['id'],'action':_0xc0fe63+_0x28a305(0x30f)},{'id':_0x7a8479[_0x28a305(0x140)]['id'],'action':_0xc0fe63+_0x28a305(0x2f3)},{'id':_0x7a8479[_0x28a305(0x154)]['id'],'action':_0xc0fe63+'setPivotPosition'},{'id':_0x7a8479[_0x28a305(0x28f)]['id'],'action':_0xc0fe63+_0x28a305(0x241)},{'id':_0x7a8479[_0x28a305(0x35c)]['id'],'action':_0xc0fe63+_0x28a305(0x2f5)},{'id':_0x7a8479[_0x28a305(0x41b)]['id'],'action':_0xc0fe63+_0x28a305(0x44f)},{'id':_0x7a8479[_0x28a305(0x202)]['id'],'action':_0xc0fe63+'renamePivotField'},{'id':_0x7a8479['UpdateFieldPositionMutation']['id'],'action':_0xc0fe63+_0x28a305(0x230)},{'id':_0x7a8479[_0x28a305(0x178)]['id'],'action':_0xc0fe63+_0x28a305(0x3a8)},{'id':_0x7a8479[_0x28a305(0x1cc)]['id'],'action':_0xc0fe63+_0x28a305(0x105)},{'id':_0x7a8479[_0x28a305(0x128)]['id'],'action':_0xc0fe63+_0x28a305(0x44c)},{'id':_0x7a8479['SetPivotFilterMutation']['id'],'action':_0xc0fe63+_0x28a305(0x279)},{'id':_0x7a8479[_0x28a305(0x320)]['id'],'action':_0xc0fe63+_0x28a305(0x286)},{'id':_0x7a8479[_0x28a305(0x32c)]['id'],'action':_0xc0fe63+_0x28a305(0x38a)},{'id':_0x7a8479[_0x28a305(0x2f6)]['id'],'action':_0xc0fe63+_0x28a305(0x3e4)},{'id':_0x7a8479['SetPivotSubtotalTypeMutation']['id'],'action':_0xc0fe63+_0x28a305(0x192)}],'sheetsShape':[{'id':_0xb23317[_0x28a305(0x376)]['id'],'action':_0xc0fe63+'insertShape'},{'id':_0xb23317[_0x28a305(0x27d)]['id'],'action':_0xc0fe63+_0x28a305(0x2de)},{'id':_0xb23317[_0x28a305(0x193)]['id'],'action':_0xc0fe63+_0x28a305(0x364)},{'id':_0xb23317['UpdateSheetsShapeTypeMutation']['id'],'action':_0xc0fe63+_0x28a305(0x112)}],'sheetsTable':[{'id':_0x16c297[_0x28a305(0x15f)]['id'],'action':_0xc0fe63+'addTable'},{'id':_0x16c297[_0x28a305(0x333)]['id'],'action':_0xc0fe63+_0x28a305(0xef)},{'id':_0x16c297['SetSheetTableMutation']['id'],'action':_0xc0fe63+_0x28a305(0x33f)},{'id':_0x16c297[_0x28a305(0x382)]['id'],'action':_0xc0fe63+_0x28a305(0x303)}],'sheetsDrawing':[{'id':_0x3867c2[_0x28a305(0x190)]['id'],'action':_0xc0fe63+_0x28a305(0x268)}]};}function _0x283a4b(_0x39e6ab='edit-history-viewer.action.'){const _0x318c16=_0x4f2e97;let _0x24dc18=_0x356e26(_0x39e6ab);return Object[_0x318c16(0xca)](_0x24dc18)[_0x318c16(0x265)]();}let _0xe2fba1=(_0x4d2dbf,_0x2c1a96)=>{const _0x5b9188=_0x4f2e97;if(!_0x4d2dbf)return{'date':'','time':''};let _0x2fde75=new Date(_0x4d2dbf),_0x565693=_0x2fde75['toISOString']()['split']('T')[0x0];switch(_0x2c1a96){case _0x1467aa[_0x5b9188(0x3d4)][_0x5b9188(0x2e0)]:return{'date':_0x1d6711(_0x565693,_0x2c1a96),'time':_0x2fde75[_0x5b9188(0xc6)]()+':'+String(_0x2fde75[_0x5b9188(0x330)]())['padStart'](0x2,'0')+':'+String(_0x2fde75[_0x5b9188(0x3ab)]())['padStart'](0x2,'0')};default:return{'date':_0x1d6711(_0x565693,_0x2c1a96),'time':_0x2fde75[_0x5b9188(0xc6)]()+':'+_0x2fde75[_0x5b9188(0x330)]()+':'+_0x2fde75[_0x5b9188(0x3ab)]()};}},_0x4e0d1b=(_0x1251dd,_0x3b5d06)=>{const _0xfe2ff6=_0x4f2e97;if(_0x1251dd[_0xfe2ff6(0x410)][_0xfe2ff6(0x300)](_0x5b99da=>_0x5b99da===_0x4f87fc[_0xfe2ff6(0x337)]['id'])&&_0x1251dd[_0xfe2ff6(0x23c)]){let _0x286154=_0xe2fba1(_0x1251dd[_0xfe2ff6(0x23c)],_0x3b5d06[_0xfe2ff6(0x295)]()),_0xef236a=_0x286154[_0xfe2ff6(0x224)]+'\x20'+_0x286154['time'];return _0x3b5d06['t'](_0xfe2ff6(0x451))+'\x20'+_0xef236a+'\x20'+_0x3b5d06['t'](_0xfe2ff6(0x3e8));}let _0x265b34=_0x2e529b(_0x1251dd),_0xd27faa=Array['from'](new Set(_0x265b34)),_0x5ac334;if(_0xd27faa['length']===0x1)_0x5ac334=_0x3b5d06['t'](_0xd27faa[0x0]);else{let _0x2cf165=_0xd27faa['slice'](0x0,0x5)[_0xfe2ff6(0x1a6)](_0x70aad4=>_0x3b5d06['t'](_0x70aad4))['join'](',\x20');_0x5ac334=_0xd27faa['length']>0x5?''+_0x2cf165+_0x3b5d06['t'](_0xfe2ff6(0x1e7)):_0x2cf165;}return''+_0x5ac334;};function _0x2e529b(_0x54620b){const _0x1da877=_0x4f2e97;if(_0x54620b[_0x1da877(0x410)][_0x1da877(0x166)]===0x0)return[''];let _0x22f0eb=_0x1da877(0x12e),_0x2bdb74=_0x22f0eb+_0x1da877(0x2d0),_0x3da080=_0x283a4b(_0x22f0eb)[_0x1da877(0xe2)](_0x411e3b=>_0x54620b[_0x1da877(0x410)]['includes'](_0x411e3b['id']));return _0x3da080!=null&&_0x3da080[_0x1da877(0x166)]?_0x3da080[_0x1da877(0x1a6)](_0x2e5d83=>_0x2e5d83[_0x1da877(0x43c)]):[_0x2bdb74];}function _0x1d6711(_0x4eea65,_0x9ee541){const _0x47cdcd=_0x4f2e97;let [_0x1ec7b7,_0x4cc4ad,_0x43b97a]=new Date()[_0x47cdcd(0x12c)]()[_0x47cdcd(0x21c)]('T')[0x0][_0x47cdcd(0x21c)]('-'),[_0x32a02d,_0x4c21d0,_0x5e6a14]=_0x4eea65[_0x47cdcd(0x21c)]('-'),_0x559438=_0x1ec7b7===_0x32a02d&&_0x4cc4ad===_0x4c21d0&&_0x43b97a===_0x5e6a14,_0x2ee5e3='',_0x3c0e7c='',_0xcb2ceb='';switch(_0x9ee541){case _0x1467aa['LocaleType']['ZH_CN']:return _0x559438?'今天':(_0x2ee5e3=_0x1ec7b7===_0x32a02d?'':_0x32a02d+'年',_0x3c0e7c=_0x4c21d0+'月',_0xcb2ceb=_0x5e6a14+'日',''+_0x2ee5e3+_0x3c0e7c+_0xcb2ceb);default:return _0x559438?_0x47cdcd(0x417):(_0x2ee5e3=_0x1ec7b7===_0x32a02d?'':_0x32a02d+'-',_0x3c0e7c=_0x4c21d0+'-',_0xcb2ceb=''+_0x5e6a14,''+_0x2ee5e3+_0x3c0e7c+_0xcb2ceb);}}function _0xb6c8b7(_0x24d870){const _0x3891b6=_0x4f2e97;return _0x24d870?_0x24d870[_0x3891b6(0x12d)]((_0xb41641,_0x1ba374)=>{const _0x264d73=_0x3891b6;let _0x48635a=new Date(_0x1ba374['time'])['toISOString']()[_0x264d73(0x21c)]('T')[0x0],_0x47f10f=_0x1ba374[_0x264d73(0x174)]?new Date(_0x1ba374[_0x264d73(0x174)])[_0x264d73(0x12c)]()[_0x264d73(0x21c)]('T')[0x0]:_0x48635a,_0x3ed280=_0x1ba374[_0x264d73(0x402)]?new Date(_0x1ba374['endRevCreateTime'])['toISOString']()[_0x264d73(0x21c)]('T')[0x0]:_0x48635a;return _0xb41641[_0x264d73(0x166)]>0x0&&_0xb41641[_0xb41641[_0x264d73(0x166)]-0x1][_0x264d73(0x1a5)]===_0x47f10f?_0xb41641[_0xb41641[_0x264d73(0x166)]-0x1][_0x264d73(0x120)]['push'](_0x1ba374):_0xb41641['push']({'dateString':_0x48635a,'startDateString':_0x47f10f,'endDateString':_0x3ed280,'versions':[_0x1ba374]}),_0xb41641;},[]):[];}let _0x4a92fb='edit-history-viewer.config',_0x2b70cf={};function _0x412e57(_0x112f7c){'@babel/helpers - typeof';const _0xf3517b=_0x4f2e97;return _0x412e57=typeof Symbol==_0xf3517b(0x3a5)&&typeof Symbol[_0xf3517b(0x331)]==_0xf3517b(0x1af)?function(_0x4acd70){return typeof _0x4acd70;}:function(_0x47c3eb){const _0x1e8981=_0xf3517b;return _0x47c3eb&&typeof Symbol==_0x1e8981(0x3a5)&&_0x47c3eb[_0x1e8981(0x1f3)]===Symbol&&_0x47c3eb!==Symbol['prototype']?'symbol':typeof _0x47c3eb;},_0x412e57(_0x112f7c);}function _0x5a38a4(_0x2316eb,_0x1c18c9){const _0x46f4a9=_0x4f2e97;if(_0x412e57(_0x2316eb)!='object'||!_0x2316eb)return _0x2316eb;var _0x2c5db6=_0x2316eb[Symbol[_0x46f4a9(0x3d8)]];if(_0x2c5db6!==void 0x0){var _0x240433=_0x2c5db6[_0x46f4a9(0x18b)](_0x2316eb,_0x1c18c9||_0x46f4a9(0x1da));if(_0x412e57(_0x240433)!=_0x46f4a9(0x3a4))return _0x240433;throw TypeError(_0x46f4a9(0x39f));}return(_0x1c18c9===_0x46f4a9(0x2f1)?String:Number)(_0x2316eb);}function _0x7a7859(_0x21951e){const _0x42ced9=_0x4f2e97;var _0x376fdc=_0x5a38a4(_0x21951e,'string');return _0x412e57(_0x376fdc)==_0x42ced9(0x1af)?_0x376fdc:_0x376fdc+'';}function _0x509a17(_0x2006a1,_0x1af075,_0x18f2c2){const _0x594057=_0x4f2e97;return(_0x1af075=_0x7a7859(_0x1af075))in _0x2006a1?Object[_0x594057(0x43b)](_0x2006a1,_0x1af075,{'value':_0x18f2c2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2006a1[_0x1af075]=_0x18f2c2,_0x2006a1;}function _0x3d005c(_0x59a9d4,_0x201503){return function(_0x153cc8,_0x59b79c){_0x201503(_0x153cc8,_0x59b79c,_0x59a9d4);};}function _0x5b67f4(_0x1903f7,_0xcfe01a,_0x46fc6a,_0x4f1448){const _0x2f4f01=_0x4f2e97;var _0x48d44e=arguments[_0x2f4f01(0x166)],_0x5d4284=_0x48d44e<0x3?_0xcfe01a:_0x4f1448===null?_0x4f1448=Object[_0x2f4f01(0x35b)](_0xcfe01a,_0x46fc6a):_0x4f1448,_0x5cecea;if(typeof Reflect=='object'&&typeof Reflect[_0x2f4f01(0x2eb)]=='function')_0x5d4284=Reflect['decorate'](_0x1903f7,_0xcfe01a,_0x46fc6a,_0x4f1448);else{for(var _0x211488=_0x1903f7['length']-0x1;_0x211488>=0x0;_0x211488--)(_0x5cecea=_0x1903f7[_0x211488])&&(_0x5d4284=(_0x48d44e<0x3?_0x5cecea(_0x5d4284):_0x48d44e>0x3?_0x5cecea(_0xcfe01a,_0x46fc6a,_0x5d4284):_0x5cecea(_0xcfe01a,_0x46fc6a))||_0x5d4284);}return _0x48d44e>0x3&&_0x5d4284&&Object[_0x2f4f01(0x43b)](_0xcfe01a,_0x46fc6a,_0x5d4284),_0x5d4284;}let _0x1f6d66=function(_0x1764d5){const _0x20415c=_0x4f2e97;return _0x1764d5[_0x1764d5[_0x20415c(0x38e)]=0x0]='Unspecified',_0x1764d5[_0x1764d5[_0x20415c(0x149)]=0x1]=_0x20415c(0x149),_0x1764d5[_0x1764d5[_0x20415c(0x2ed)]=0x2]='Character',_0x1764d5;}({}),_0x20ac2d=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0xa93821,_0x3d8f49,_0x3db5a3,_0x15c490,_0x3d7dab,_0x1f9ed2,_0x492392){const _0x969bbc=_0x4f2e97;super(),this['_snapshotServerService']=_0xa93821,this[_0x969bbc(0x43f)]=_0x3d8f49,this['_commandService']=_0x3db5a3,this[_0x969bbc(0x13f)]=_0x15c490,this['_httpService']=_0x3d7dab,this[_0x969bbc(0x414)]=_0x1f9ed2,this[_0x969bbc(0x2da)]=_0x492392,_0x509a17(this,_0x969bbc(0x3ed),void 0x0),this['_workbookDataCache']=new _0x1467aa[(_0x969bbc(0x438))](0x3c);}[_0x4f2e97(0x282)](){const _0x146bc6=_0x4f2e97;this[_0x146bc6(0x3ed)][_0x146bc6(0x3cb)](),super['dispose']();}async[_0x4f2e97(0x3a7)](_0x5c1230){const _0x38dfc6=_0x4f2e97;try{let _0x37a45e=(await this[_0x38dfc6(0x25a)]['get'](this[_0x38dfc6(0x103)]()+'/'+_0x5c1230+_0x38dfc6(0x1c0)))[_0x38dfc6(0x302)];if(_0x37a45e&&_0x37a45e[_0x38dfc6(0x208)]&&_0x37a45e[_0x38dfc6(0x208)][_0x38dfc6(0x2be)]===_0x318c18[_0x38dfc6(0x1f8)]['OK'])return _0x37a45e[_0x38dfc6(0x3bd)];}catch(_0x4bc56e){console[_0x38dfc6(0x208)](_0x4bc56e);}return[];}async[_0x4f2e97(0x188)](_0x11c310,_0x2c2b30){const _0x4b4e08=_0x4f2e97;let {userIds:_0x419067,lastLabel:_0x50111b,origin:_0x435622}=_0x2c2b30==null?{}:_0x2c2b30,_0x3192be=new URLSearchParams();_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0x166),'20'),_0x50111b&&_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0x24c),_0x50111b),_0x419067==null||_0x419067[_0x4b4e08(0x1c2)](_0x45f341=>{const _0x449fca=_0x4b4e08;_0x3192be['append'](_0x449fca(0x1d9),_0x45f341);}),_0x435622&&_0x3192be[_0x4b4e08(0x1bd)](_0x4b4e08(0xda),_0x435622[_0x4b4e08(0x1a0)]());let _0x4f3219=this[_0x4b4e08(0x103)]()+'/'+_0x11c310+'/list?'+_0x3192be['toString']();try{let _0x2277ed=(await this[_0x4b4e08(0x25a)][_0x4b4e08(0xea)](_0x4f3219))['body'];if(_0x2277ed&&_0x2277ed[_0x4b4e08(0x208)]&&_0x2277ed[_0x4b4e08(0x208)][_0x4b4e08(0x2be)]===_0x318c18[_0x4b4e08(0x1f8)]['OK']){let {hasMore:_0x847d4a,lastLabel:_0x41c23b}=_0x2277ed;return{'hasMore':_0x847d4a,'lastLabel':_0x41c23b,'versions':_0x3fc2f6(_0x2277ed),'members':_0x2277ed[_0x4b4e08(0x33b)][_0x4b4e08(0x35f)]};}}catch(_0x137da1){console[_0x4b4e08(0x208)](_0x137da1);}return null;}async[_0x4f2e97(0x2b8)](_0x17034c,_0x376d63){const _0x36d199=_0x4f2e97;let {unitId:_0x2dddba,startRevision:_0x56a4eb,endRevision:_0x309267}=_0x376d63,_0x3395b4=this['_getAPIPrefix']()+'/'+_0x2dddba+_0x36d199(0x2f0)+_0x56a4eb+_0x36d199(0x35e)+_0x309267;return(await this[_0x36d199(0x25a)][_0x36d199(0xea)](_0x3395b4))[_0x36d199(0x302)];}[_0x4f2e97(0x103)](){const _0x4d8c30=_0x4f2e97;var _0x5d61ba;let _0x181b1c=this[_0x4d8c30(0x13f)][_0x4d8c30(0x15c)](_0x4a92fb);return(_0x5d61ba=_0x181b1c==null?void 0x0:_0x181b1c['historyListServerUrl'])==null?_0x4d8c30(0x271):_0x5d61ba;}[_0x4f2e97(0x42a)](_0x3428ad,_0x45f1c0){return _0x3428ad+':'+_0x45f1c0;}async[_0x4f2e97(0x288)](_0x1b2ec9,_0x1350a8,_0x3d80c={}){const _0x22869d=_0x4f2e97;var _0x1d4448;let _0x47fad8=this[_0x22869d(0x42a)](_0x1b2ec9,_0x1350a8),_0xa1f536=this[_0x22869d(0x3ed)]['get'](_0x47fad8);if(_0xa1f536){let {workbookData:_0x18e437,changesets:_0x263a72}=_0xa1f536;return await this[_0x22869d(0x447)](_0x18e437,_0x263a72),!0x0;}let {snapshot:_0x4e2079,changesets:_0x16ba72,error:_0x37958a}=await this[_0x22869d(0x162)][_0x22869d(0xd7)](_0x3d80c,{'unitID':_0x1b2ec9,'type':_0x1467aa['UniverInstanceType'][_0x22869d(0x407)],'revision':_0x1350a8});if((0x0,_0x318c18['isError'])(_0x37958a)||!_0x4e2079||!_0x4e2079[_0x22869d(0x423)])throw Error(_0x22869d(0x266));let _0xd4a914=(_0x1d4448=_0x16ba72==null?void 0x0:_0x16ba72[_0x22869d(0x166)])==null?0x0:_0x1d4448;if(_0x1350a8!==0x0&&_0x4e2079[_0x22869d(0x2bc)]+_0xd4a914!==_0x1350a8)throw Error(_0x22869d(0x40d));let {workbook:_0xbe17e0}=_0x4e2079,_0x461ac5=_0xbe17e0[_0x22869d(0x225)]?Object['values'](_0xbe17e0[_0x22869d(0x225)])[_0x22869d(0x257)](_0x28d3c3=>{const _0x4c54ee=_0x22869d;var _0x3f8f52;return(_0x3f8f52=_0x28d3c3[_0x4c54ee(0x36c)])==null?[]:_0x3f8f52;}):[],_0x2ae820=await(0x0,_0x4f87fc[_0x22869d(0x263)])(_0x4e2079,(await Promise[_0x22869d(0x340)](_0x461ac5[_0x22869d(0x1a6)](_0x59bed5=>this[_0x22869d(0x162)][_0x22869d(0x3bf)](_0x3d80c,{'unitID':_0x1b2ec9,'type':_0x1467aa[_0x22869d(0x34a)]['UNIVER_SHEET'],'blockID':_0x59bed5})['then'](_0x2ddbf8=>_0x2ddbf8[_0x22869d(0x141)]))))[_0x22869d(0xe2)](Boolean),_0x3d80c);return this[_0x22869d(0x3ed)][_0x22869d(0x1bd)](_0x47fad8,{'workbookData':_0x2ae820,'changesets':_0x16ba72}),await this['_applyWorkbookData'](_0x2ae820,_0x16ba72),!0x0;}async[_0x4f2e97(0x447)](_0x4bfaf8,_0x4228e1){const _0x55f9a6=_0x4f2e97;let _0x134bed=this[_0x55f9a6(0x43f)][_0x55f9a6(0x2b6)](_0x1467aa[_0x55f9a6(0x34a)]['UNIVER_SHEET']);_0x134bed&&(this[_0x55f9a6(0x43f)]['disposeUnit'](_0x134bed[_0x55f9a6(0x2c5)]()),await Promise['resolve']());let _0x204608=JSON['parse'](JSON[_0x55f9a6(0xec)](_0x4bfaf8));this[_0x55f9a6(0x3ec)](_0x204608,_0x4228e1),this['_sheetPermissionInitController'][_0x55f9a6(0x1dc)]();}[_0x4f2e97(0x3ec)](_0x107e19,_0x44f5cd){const _0x1d7c8b=_0x4f2e97;let _0x2c4990=this[_0x1d7c8b(0x43f)][_0x1d7c8b(0x362)](_0x1467aa[_0x1d7c8b(0x34a)][_0x1d7c8b(0x407)],_0x107e19);this[_0x1d7c8b(0x43f)]['focusUnit'](_0x2c4990[_0x1d7c8b(0x2c5)]());let _0x5dc29c=this['_compressMutationService'][_0x1d7c8b(0xc0)][_0x1d7c8b(0x294)](this[_0x1d7c8b(0x414)][_0x1d7c8b(0xc0)][_0x1d7c8b(0x369)]()[_0x1d7c8b(0x164)]);return _0x44f5cd==null||_0x44f5cd[_0x1d7c8b(0x1c2)](_0x2a0564=>{const _0x473cd9=_0x1d7c8b;let _0x4fca5c=_0x2a0564[_0x473cd9(0x3b4)][_0x473cd9(0x1a6)](_0x4e6d92=>({'id':_0x4e6d92['id'],'params':JSON[_0x473cd9(0x106)](_0x4e6d92['data'])}));(_0x5dc29c(_0x4fca5c,null)||_0x4fca5c)[_0x473cd9(0x1c2)](_0x110da7=>{const _0x3d6f23=_0x473cd9;this['_commandService'][_0x3d6f23(0x3f2)](_0x110da7['id'])&&this[_0x3d6f23(0x29e)][_0x3d6f23(0x1e5)](_0x110da7['id'],_0x110da7['params'],{'fromChangeset':!0x0});});}),_0x2c4990;}};_0x20ac2d=_0x5b67f4([_0x3d005c(0x0,_0x4f87fc['ISnapshotServerService']),_0x3d005c(0x1,_0x1467aa[_0x4f2e97(0x1c7)]),_0x3d005c(0x2,_0x1467aa[_0x4f2e97(0x214)]),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)]),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x4b91c0[_0x4f2e97(0x1b6)])),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x4f87fc['CompressMutationService'])),_0x3d005c(0x6,(0x0,_0x1467aa['Inject'])(_0x337aad[_0x4f2e97(0x2c7)]))],_0x20ac2d);function _0x3fc2f6(_0x4b831a){const _0x4ec591=_0x4f2e97;let _0x35d748=[],{entities:_0x591d1a,historyIds:_0x110b54}=_0x4b831a,{datas:_0x305e15,users:_0x5906cd}=_0x591d1a;for(let _0x576faf of _0x110b54){let _0x166a29=_0x305e15[_0x576faf];if(_0x166a29){var _0x34e64d,_0x4e4107;let _0xf71017=!!((_0x34e64d=_0x5906cd[_0x166a29[_0x4ec591(0x3dc)]])!=null&&_0x34e64d[_0x4ec591(0x25d)]);_0x35d748[_0x4ec591(0x16c)]({'unitId':_0x166a29['unitId'],'user':_0xf71017?'':(_0x5906cd==null||(_0x4e4107=_0x5906cd[_0x166a29[_0x4ec591(0x3dc)]])==null?void 0x0:_0x4e4107['name'])||'','users':_0x166a29[_0x4ec591(0x1d9)][_0x4ec591(0x1a6)](_0x5c8c14=>{const _0x1e6c56=_0x4ec591;var _0x468fcb;return(_0x5906cd==null||(_0x468fcb=_0x5906cd[_0x5c8c14])==null?void 0x0:_0x468fcb[_0x1e6c56(0x215)])||'';})['filter'](_0x4b63e9=>_0x4b63e9),'isAnonymous':_0xf71017,'id':_0x576faf,'time':_0x166a29[_0x4ec591(0xb8)]?Number(_0x166a29[_0x4ec591(0xb8)]):void 0x0,'commands':_0x166a29['command'],'startRev':Number(_0x166a29[_0x4ec591(0xcb)]),'endRev':Number(_0x166a29[_0x4ec591(0x1d6)]),'recoverTime':_0x166a29[_0x4ec591(0x23c)]?Number(_0x166a29['recoverTime']):void 0x0,'additionalFields':_0x166a29[_0x4ec591(0x1a2)],'startRevCreateTime':_0x166a29[_0x4ec591(0x174)]?Number(_0x166a29[_0x4ec591(0x174)]):void 0x0,'endRevCreateTime':_0x166a29[_0x4ec591(0x402)]?Number(_0x166a29[_0x4ec591(0x402)]):void 0x0});}}return _0x35d748;}let _0x4b9631=function(_0x377b5e){const _0x40e612=_0x4f2e97;return _0x377b5e['Entered']='entered',_0x377b5e[_0x40e612(0x2e1)]=_0x40e612(0x368),_0x377b5e[_0x40e612(0x347)]=_0x40e612(0x208),_0x377b5e;}({}),_0x167883=_0x4f2e97(0x2c0),_0x45e9f0=class extends _0x1467aa[_0x4f2e97(0x28b)]{[_0x4f2e97(0x1fc)](_0xc607ac){const _0x33c751=_0x4f2e97;this[_0x33c751(0x21a)][_0x33c751(0x2f8)](_0xc607ac);}get[_0x4f2e97(0x135)](){const _0x640436=_0x4f2e97;return this[_0x640436(0x21a)][_0x640436(0xf3)];}constructor(_0x3d40c1,_0x9be821,_0x40259a,_0x52174f){const _0xeaea7b=_0x4f2e97;super(),this[_0xeaea7b(0x42e)]=_0x3d40c1,this[_0xeaea7b(0x102)]=_0x9be821,this[_0xeaea7b(0x163)]=_0x40259a,this[_0xeaea7b(0xe4)]=_0x52174f,_0x509a17(this,_0xeaea7b(0x1fa),new _0x197ec0[(_0xeaea7b(0x258))]([])),_0x509a17(this,_0xeaea7b(0x1e2),this[_0xeaea7b(0x1fa)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x1d5),new _0x197ec0[(_0xeaea7b(0x258))]('')),_0x509a17(this,_0xeaea7b(0x12a),this[_0xeaea7b(0x1d5)][_0xeaea7b(0x416)]()),_0x509a17(this,'_status$',new _0x197ec0[(_0xeaea7b(0x258))](_0xeaea7b(0x1ac))),_0x509a17(this,_0xeaea7b(0x249),this['_status$'][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x3a2),new _0x197ec0['BehaviorSubject'](0x0)),_0x509a17(this,_0xeaea7b(0x3d0),this[_0xeaea7b(0x3a2)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x2a5),new _0x197ec0[(_0xeaea7b(0x258))]('')),_0x509a17(this,_0xeaea7b(0xf2),this[_0xeaea7b(0x2a5)][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x21a),new _0x197ec0[(_0xeaea7b(0x258))](!0x1)),_0x509a17(this,_0xeaea7b(0x3cf),this[_0xeaea7b(0x21a)]['asObservable']()),_0x509a17(this,_0xeaea7b(0x310),new _0x197ec0[(_0xeaea7b(0x258))]([])),_0x509a17(this,_0xeaea7b(0x21e),this['_creators$']['asObservable']()),_0x509a17(this,_0xeaea7b(0x1c1),new _0x197ec0[(_0xeaea7b(0x258))](!0x1)),_0x509a17(this,_0xeaea7b(0x22f),this['_openPanel$'][_0xeaea7b(0x416)]()),_0x509a17(this,_0xeaea7b(0x152),new Map()),_0x509a17(this,_0xeaea7b(0x284),new _0x197ec0[(_0xeaea7b(0x258))](_0xeaea7b(0x22e))),_0x509a17(this,'loadingState$',this[_0xeaea7b(0x284)]['asObservable']()),_0x509a17(this,'_lastLabel',null),_0x509a17(this,_0xeaea7b(0x336),!0x0),_0x509a17(this,_0xeaea7b(0x242),new Map()),_0x509a17(this,_0xeaea7b(0x2c4),void 0x0),_0x509a17(this,'_maskContainer',void 0x0),_0x509a17(this,_0xeaea7b(0x283),void 0x0),_0x509a17(this,_0xeaea7b(0x1b7),!0x1),_0x509a17(this,'_loadParams',null),_0x509a17(this,_0xeaea7b(0x26c),new Map());}async[_0x4f2e97(0x335)](_0x268a32,_0x3df5d5,_0xd24e4e){const _0x2fcafc=_0x4f2e97;this[_0x2fcafc(0x2c4)]=_0x3df5d5,this[_0x2fcafc(0x1b7)]=_0xd24e4e,this[_0x2fcafc(0x1c1)][_0x2fcafc(0x2f8)](!0x0),await this['loadInitialVersions'](_0x268a32);}[_0x4f2e97(0x1b9)](_0x58a001,_0x5de6b3='',_0x500c44,_0x5a8875){const _0x337832=_0x4f2e97;let {versions:_0x1f2c9a,hasMore:_0x360f,lastLabel:_0x482311,members:_0x902690}=_0x5a8875,_0x254a4a=_0x1f2c9a[_0x337832(0x166)]>0x0?_0x1f2c9a:[{'unitId':_0x58a001,'id':_0x167883,'startRev':0x1,'endRev':0x0,'time':Date[_0x337832(0xbd)](),'user':this[_0x337832(0x163)]['t'](_0x337832(0x16d)),'users':[this[_0x337832(0x163)]['t'](_0x337832(0x16d))],'commands':[],'isAnonymous':!0x1}];this[_0x337832(0x1b7)]=_0x500c44,this[_0x337832(0x2c4)]=_0x5de6b3,this['_unitId$'][_0x337832(0x2f8)](_0x58a001),this['_updateVersions'](_0x254a4a,_0x360f,_0x482311,!0x1,_0x902690),this[_0x337832(0x1d5)][_0x337832(0x2f8)](_0x254a4a[0x0]['id']);}async['loadInitialVersions'](_0x31f86a,_0x5df9d3){const _0x28e359=_0x4f2e97;this[_0x28e359(0x2a5)]['next'](_0x31f86a),this[_0x28e359(0x435)]=_0x5df9d3==null?null:_0x5df9d3,this[_0x28e359(0x1fc)](!0x0);let _0x1e410c=await this[_0x28e359(0xe4)][_0x28e359(0x188)](_0x31f86a,_0x5df9d3);if(this['_setFetching'](!0x1),_0x1e410c){let {versions:_0x1ca9be,lastLabel:_0x59284f,hasMore:_0x5123a9,members:_0x5846cf}=_0x1e410c;_0x1ca9be['length']===0x0&&_0x1ca9be[_0x28e359(0x16c)]({'unitId':_0x31f86a,'id':_0x167883,'startRev':0x1,'endRev':0x0,'time':Date[_0x28e359(0xbd)](),'user':this[_0x28e359(0x163)]['t'](_0x28e359(0x16d)),'users':[this['_localeService']['t'](_0x28e359(0x16d))],'commands':[],'isAnonymous':!0x1}),this['_updateVersions'](_0x1ca9be,_0x5123a9,_0x59284f,!0x1,_0x5846cf),this[_0x28e359(0x1d5)][_0x28e359(0x2f8)](_0x1ca9be[0x0]['id']),this[_0x28e359(0x26c)][_0x28e359(0x1bd)](_0x31f86a,_0x1ca9be[0x0][_0x28e359(0x222)]);}else this[_0x28e359(0x1b1)]['next'](_0x28e359(0x208));}async[_0x4f2e97(0x23f)](){const _0x14b0c=_0x4f2e97;if(!this[_0x14b0c(0x454)]||!this[_0x14b0c(0x336)]||this[_0x14b0c(0x135)])return!0x1;this[_0x14b0c(0x1fc)](!0x0);let _0x44acbc=await this[_0x14b0c(0xe4)][_0x14b0c(0x188)](this[_0x14b0c(0x3d7)],{'lastLabel':this[_0x14b0c(0x454)],...this[_0x14b0c(0x435)]});if(this['_setFetching'](!0x1),_0x44acbc){let {versions:_0x5e5b7f,lastLabel:_0x3ad93d,hasMore:_0x5092db,members:_0x1a0cc8}=_0x44acbc;this[_0x14b0c(0x38c)](_0x5e5b7f,_0x5092db,_0x3ad93d,!0x0,_0x1a0cc8);}else this[_0x14b0c(0x42e)][_0x14b0c(0x1a9)]({'content':this['_localeService']['t'](_0x14b0c(0xe3)),'type':_0x4d33e2['MessageType'][_0x14b0c(0x347)],'duration':0xbb8});return!0x0;}async[_0x4f2e97(0x158)](){const _0xd19870=_0x4f2e97;let {unitId:_0x782fa1}=this;if(!_0x782fa1)return;let _0x4230c1=await this[_0xd19870(0xe4)][_0xd19870(0x3a7)](_0x782fa1);_0x4230c1&&this[_0xd19870(0x310)]['next'](_0x4230c1);}async[_0x4f2e97(0x2e8)](_0x256fa){const _0x12a5bf=_0x4f2e97;let {endRev:_0x352bd0}=this[_0x12a5bf(0x109)](_0x256fa)||{};_0x352bd0||_0x352bd0===0x0?(this[_0x12a5bf(0x284)][_0x12a5bf(0x2f8)](_0x12a5bf(0xfa)),await this[_0x12a5bf(0xe4)][_0x12a5bf(0x288)](this[_0x12a5bf(0x3d7)],_0x352bd0),this[_0x12a5bf(0x284)][_0x12a5bf(0x2f8)]('loaded')):this['_status$']['next']('error');}async[_0x4f2e97(0x142)](_0x3cbe01){const _0x12da3e=_0x4f2e97;let _0x1875ef=_0x3cbe01?this[_0x12da3e(0x109)](_0x3cbe01):this[_0x12da3e(0x401)]();if(!_0x1875ef)return;let _0x4aa3a9=_0x1875ef[_0x12da3e(0x222)],_0x150cd9=_0xe2fba1(_0x1875ef[_0x12da3e(0x26e)],this[_0x12da3e(0x163)][_0x12da3e(0x295)]());await this[_0x12da3e(0x102)][_0x12da3e(0x315)]({'id':_0x12da3e(0x1df),'title':{'title':this[_0x12da3e(0x163)]['t'](_0x12da3e(0x19e))},'children':{'title':this[_0x12da3e(0x163)]['t'](_0x12da3e(0x2cb))+':\x20('+_0x150cd9[_0x12da3e(0x224)]+'\x20'+_0x150cd9[_0x12da3e(0x26e)]+')'},'cancelText':this['_localeService']['t'](_0x12da3e(0x11d)),'confirmText':this['_localeService']['t'](_0x12da3e(0x107))})&&this['_revertRevision$'][_0x12da3e(0x2f8)](_0x4aa3a9);}[_0x4f2e97(0x38c)](_0x51c8dc,_0x5620f4,_0x2e1bda,_0x5ef08d,_0x4078e8){const _0x1bc781=_0x4f2e97;this[_0x1bc781(0x143)](_0x5ef08d?this['_versions$'][_0x1bc781(0xf3)]['concat'](_0x51c8dc):_0x51c8dc),this[_0x1bc781(0x336)]=_0x5620f4,this[_0x1bc781(0x454)]=_0x2e1bda,_0x4078e8&&Object[_0x1bc781(0x2c9)](_0x4078e8)[_0x1bc781(0x1c2)](_0x3eebab=>this[_0x1bc781(0x242)][_0x1bc781(0x1bd)](_0x3eebab,_0x4078e8[_0x3eebab]));}[_0x4f2e97(0x401)](){const _0x437542=_0x4f2e97;return this[_0x437542(0x109)](this[_0x437542(0x1d5)]['value']);}[_0x4f2e97(0x143)](_0x400c62){const _0xd9c492=_0x4f2e97;this[_0xd9c492(0x1fa)][_0xd9c492(0x2f8)](_0x400c62);}['getVersion'](_0xb582f8){const _0x2f1040=_0x4f2e97;var _0x1d31c5;return((_0x1d31c5=this['_versions$']['value'])==null?void 0x0:_0x1d31c5[_0x2f1040(0xd5)](_0x121e36=>_0x121e36['id']===_0xb582f8))||this[_0x2f1040(0x152)][_0x2f1040(0xea)](_0xb582f8);}['registerDetailVersion'](_0x348792){const _0x5f3e73=_0x4f2e97;this[_0x5f3e73(0x152)][_0x5f3e73(0x1bd)](_0x348792['id'],_0x348792);}[_0x4f2e97(0x39d)](){const _0x5d72c1=_0x4f2e97;if(this[_0x5d72c1(0x3d7)])return this[_0x5d72c1(0x26c)][_0x5d72c1(0xea)](this[_0x5d72c1(0x3d7)]);}[_0x4f2e97(0x3d3)](){const _0x4063d2=_0x4f2e97;var _0xc4e8a1;return((_0xc4e8a1=this[_0x4063d2(0x401)]())==null?void 0x0:_0xc4e8a1[_0x4063d2(0x222)])===this[_0x4063d2(0x39d)]();}[_0x4f2e97(0x132)](){const _0x471b74=_0x4f2e97;return!this[_0x471b74(0x3d3)]()&&this[_0x471b74(0x1e3)];}[_0x4f2e97(0x446)](_0x20e0de){const _0x5eedad=_0x4f2e97;return this[_0x5eedad(0x242)][_0x5eedad(0xea)](_0x20e0de);}['_createMask'](){const _0x41cfac=_0x4f2e97;this[_0x41cfac(0x283)]=document[_0x41cfac(0x298)](_0x41cfac(0x421)),this[_0x41cfac(0x283)][_0x41cfac(0x3c6)]=_0x41cfac(0xe9),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x3c8)]='absolute',this['_maskElement']['style'][_0x41cfac(0x3f7)]='0',this['_maskElement']['style']['left']='0',this['_maskElement'][_0x41cfac(0x2e7)][_0x41cfac(0x296)]=_0x41cfac(0x354),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['height']='100%',this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['backgroundColor']=_0x41cfac(0x3b3),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['color']=_0x41cfac(0xe6),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x332)]=_0x41cfac(0x374),this[_0x41cfac(0x283)]['style']['justifyContent']=_0x41cfac(0x452),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)]['zIndex']=_0x41cfac(0x40c),this[_0x41cfac(0x283)][_0x41cfac(0x2e7)][_0x41cfac(0x332)]=_0x41cfac(0x17d),this['_maskContainer'][_0x41cfac(0x456)](this[_0x41cfac(0x283)]);}[_0x4f2e97(0xe5)](){const _0x591005=_0x4f2e97;let _0x8a3622=document[_0x591005(0x413)](this[_0x591005(0x2c4)]);_0x8a3622&&(this[_0x591005(0x308)]=_0x8a3622,this[_0x591005(0x3a1)]());}['showMask'](){const _0x295256=_0x4f2e97;this[_0x295256(0x308)]||this[_0x295256(0xe5)](),this[_0x295256(0x283)]&&(this[_0x295256(0x283)][_0x295256(0x2e7)][_0x295256(0x332)]='flex');}[_0x4f2e97(0x1ae)](){const _0x162785=_0x4f2e97;this['_maskElement']&&(this['_maskElement'][_0x162785(0x2e7)][_0x162785(0x332)]=_0x162785(0x17d));}set[_0x4f2e97(0x1d0)](_0x4a82f5){const _0x29c241=_0x4f2e97;this[_0x29c241(0x1b1)][_0x29c241(0x2f8)](_0x4a82f5);}set['currentVersion'](_0xb6a34b){const _0x209ecc=_0x4f2e97;_0xb6a34b!==this['_currentVersion$'][_0x209ecc(0xf3)]&&this[_0x209ecc(0x1d5)][_0x209ecc(0x2f8)](_0xb6a34b);}get[_0x4f2e97(0x365)](){const _0x4700cf=_0x4f2e97;return this[_0x4700cf(0x1d5)]['value'];}set[_0x4f2e97(0x3d7)](_0x1bc138){const _0x1d394a=_0x4f2e97;this[_0x1d394a(0x2a5)][_0x1d394a(0x2f8)](_0x1bc138);}get[_0x4f2e97(0x3d7)](){return this['_unitId$']['value'];}get[_0x4f2e97(0x1e3)](){const _0x31d97d=_0x4f2e97;return this[_0x31d97d(0x1b7)];}get['loadingState'](){const _0x3ea264=_0x4f2e97;return this[_0x3ea264(0x284)][_0x3ea264(0xf3)];}};_0x45e9f0=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x1,_0x1467aa[_0x4f2e97(0x29c)]),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x20ac2d))],_0x45e9f0);let _0x3222ce=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x5b5a3c,_0x15f9c8,_0x4f9630,_0x290516,_0x455e85,_0x1bf583,_0x55ffca,_0x4ab0f7,_0x43f99b,_0x1c40f6,_0x3513a1,_0x4aad83,_0x48e4f9){const _0x27ba3d=_0x4f2e97;super(),this['_historyManagerService']=_0x5b5a3c,this[_0x27ba3d(0x246)]=_0x15f9c8,this[_0x27ba3d(0x162)]=_0x4f9630,this['_rangeProtectionRuleModel']=_0x290516,this[_0x27ba3d(0x1ed)]=_0x455e85,this[_0x27ba3d(0xd0)]=_0x1bf583,this[_0x27ba3d(0x200)]=_0x55ffca,this[_0x27ba3d(0x11b)]=_0x4ab0f7,this[_0x27ba3d(0x139)]=_0x43f99b,this[_0x27ba3d(0x110)]=_0x1c40f6,this[_0x27ba3d(0x163)]=_0x3513a1,this[_0x27ba3d(0xf6)]=_0x4aad83,this[_0x27ba3d(0xe4)]=_0x48e4f9,_0x509a17(this,'_diffRangesMap',new Map()),_0x509a17(this,_0x27ba3d(0x209),new _0x197ec0[(_0x27ba3d(0x258))]({'ranges':new Map(),'active':null,'subUnitIds':[]})),_0x509a17(this,_0x27ba3d(0x40f),this[_0x27ba3d(0x209)]['asObservable']()),this[_0x27ba3d(0x29d)]();}[_0x4f2e97(0x29d)](){const _0x57a7c9=_0x4f2e97;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x57a7c9(0xf2)][_0x57a7c9(0x3a9)](_0x29011e=>{const _0x5e36ee=_0x57a7c9;_0x29011e&&!this[_0x5e36ee(0x2c1)][_0x5e36ee(0x16b)](_0x29011e)&&this[_0x5e36ee(0x2c1)][_0x5e36ee(0x1bd)](_0x29011e,new Map());})),this[_0x57a7c9(0x285)](this[_0x57a7c9(0x436)][_0x57a7c9(0x12a)][_0x57a7c9(0x3a9)](async _0x2ad976=>{const _0x15a39b=_0x57a7c9;if(_0x2ad976){var _0x48280d;await this[_0x15a39b(0x32f)](_0x2ad976),this[_0x15a39b(0x209)]['next'](((_0x48280d=this[_0x15a39b(0x2c1)]['get'](this[_0x15a39b(0x436)][_0x15a39b(0x3d7)]))==null?void 0x0:_0x48280d['get'](_0x2ad976))||{'ranges':new Map(),'active':null,'subUnitIds':[]});}}));}async[_0x4f2e97(0x32f)](_0x300437){const _0x526ee4=_0x4f2e97;var _0x39c975,_0x2d6412;let _0x15adb6=this['_historyManagerService']['getVersion'](_0x300437),_0x32245f=this['_historyManagerService'][_0x526ee4(0x3d7)];if(!_0x15adb6||!_0x32245f)return;let _0x3b61d1=this[_0x526ee4(0x2c1)][_0x526ee4(0xea)](_0x32245f);if(_0x3b61d1||this['_diffRangesMap']['set'](_0x32245f,new Map()),(_0x39c975=this[_0x526ee4(0x2c1)][_0x526ee4(0xea)](_0x32245f))!=null&&_0x39c975[_0x526ee4(0x16b)](_0x15adb6['id']))return;let {startRev:_0x31c80b,endRev:_0x1e8cc5}=_0x15adb6;if(_0x31c80b===0x1){_0x3b61d1[_0x526ee4(0x1bd)](_0x15adb6['id'],{'ranges':new Map(),'active':null,'subUnitIds':[]});return;}let _0x222a79=_0x31c80b,_0x28bb0b=_0x1e8cc5,_0x506d41=await this[_0x526ee4(0xe4)][_0x526ee4(0x2b8)]({},{'unitId':_0x32245f,'startRevision':_0x222a79,'endRevision':_0x28bb0b});if(((_0x2d6412=_0x506d41[_0x526ee4(0x208)])==null?void 0x0:_0x2d6412[_0x526ee4(0x2be)])===_0x318c18[_0x526ee4(0x1f8)]['OK']){let _0x2da2e9=_0x506d41[_0x526ee4(0x397)][_0x526ee4(0x1a6)](_0x3eaa03=>((_0x3eaa03[_0x526ee4(0x3b4)]===null||_0x3eaa03[_0x526ee4(0x3b4)]===void 0x0)&&(_0x3eaa03[_0x526ee4(0x3b4)]=[]),(0x0,_0x4f87fc['parseProtocolChangeset'])(_0x3eaa03)))[_0x526ee4(0x1a6)](_0x462cad=>_0x462cad[_0x526ee4(0x3b4)][_0x526ee4(0x1a6)](_0x2a7d51=>({..._0x2a7d51,'params':{..._0x2a7d51[_0x526ee4(0x3f6)],'memberId':_0x462cad[_0x526ee4(0x2cd)]||'unknownUser'}})))['flat'](),_0x4aed5a=await this[_0x526ee4(0x1c5)](_0x2da2e9),_0x3bd3a5=this[_0x526ee4(0x314)](_0x2da2e9),_0x4056fe=this[_0x526ee4(0x111)](_0x4aed5a);_0x3b61d1['set'](_0x15adb6['id'],{..._0x4056fe,'active':_0x3bd3a5});}}['getMutationActionMap'](){const _0x2131ab=_0x4f2e97;let _0x5ea5d1=_0x356e26(_0x2131ab(0x12e)),_0x92deb4=new Map();return Object['values'](_0x5ea5d1)[_0x2131ab(0x265)]()['forEach'](_0x386b5=>{const _0x434cc4=_0x2131ab;_0x92deb4['set'](_0x386b5['id'],_0x386b5[_0x434cc4(0x43c)]);}),_0x92deb4;}[_0x4f2e97(0x409)](_0x18b9f1,_0x516179){return this['_categorizeMutationRanges'](_0x18b9f1,_0x516179);}async[_0x4f2e97(0x1c5)](_0xc4379c){const _0x272067=_0x4f2e97;let _0x324c24=[];for(let _0x303ae3=0x0;_0x303ae3<_0xc4379c[_0x272067(0x166)];_0x303ae3++){let _0x166bf3=_0xc4379c[_0x303ae3];if(_0x324c24[_0x272067(0x16c)](_0x166bf3),_0x303ae3!==_0xc4379c[_0x272067(0x166)]-0x1){let _0x5b8acd=_0xc4379c[_0x303ae3+0x1],_0x1b8baf=this[_0x272067(0x246)][_0x272067(0x344)](_0x324c24,[_0x5b8acd]);_0x324c24=(0x0,_0x4f87fc[_0x272067(0x3eb)])(_0x1b8baf)?_0x1b8baf[_0x272067(0x179)]:[];}_0x303ae3%0xa==0x0&&_0x303ae3>0x0&&await this[_0x272067(0xb3)]();}return _0x324c24;}[_0x4f2e97(0xb3)](){return new Promise(_0x28b99f=>{typeof requestIdleCallback=='function'?requestIdleCallback(()=>_0x28b99f(),{'timeout':0x64}):setTimeout(_0x28b99f,0x0);});}[_0x4f2e97(0x314)](_0x39d21f){const _0x4a1fe6=_0x4f2e97;let _0x345274=[];return _0x39d21f[_0x4a1fe6(0x1c2)](_0x552694=>{const _0x1a5038=_0x4a1fe6;if(_0x552694['id']===_0x337aad[_0x1a5038(0x334)]['id']){let _0x31b6c8=_0x552694['params'];_0x345274['push'](_0x31b6c8['sheet']['id']);}else{if(_0x552694['id']===_0x337aad['RemoveSheetMutation']['id']){let _0x5f07a9=_0x552694[_0x1a5038(0x3f6)];_0x345274[_0x1a5038(0x166)]>0x0&&(_0x345274=_0x345274[_0x1a5038(0xe2)](_0x5b83b3=>_0x5b83b3!==_0x5f07a9['subUnitId']));}else{if(_0x552694['id']===_0x337aad[_0x1a5038(0x2dc)]['id']){let _0x310f9c=_0x552694[_0x1a5038(0x3f6)];_0x310f9c[_0x1a5038(0x264)]?_0x345274=_0x345274['filter'](_0xf84de1=>_0xf84de1!==_0x310f9c[_0x1a5038(0x3df)]):_0x345274[_0x1a5038(0x16c)](_0x310f9c[_0x1a5038(0x3df)]);}else{let _0x38b454=_0x552694['params'];_0x38b454[_0x1a5038(0x3df)]&&_0x345274[_0x1a5038(0x16c)](_0x38b454[_0x1a5038(0x3df)]);}}}}),_0x345274[_0x4a1fe6(0x166)]>0x0?_0x345274[_0x345274[_0x4a1fe6(0x166)]-0x1]:null;}[_0x4f2e97(0x111)](_0x482147){const _0x470961=_0x4f2e97;let _0x5be95d=new Map(),_0x590db5=new Map(),_0x3fe136=new Map(),_0x3797cb=new Map(),_0x5e56f2=new Map(),_0xda7791=new Map(),_0x1c8bac=new Map(),_0x36565e=new Map(),_0x3d8871=new Map(),_0x25381a=new Map(),_0x2ea84e=new Map(),_0x164619=new Map(),_0xd8bbf=new Set(),_0x2ad1ce=this[_0x470961(0x2af)]();return _0x482147[_0x470961(0x1c2)](_0x381a8b=>{const _0x3e7a6b=_0x470961;var _0x275fb4,_0x225325,_0x29ad64,_0x39e272,_0x21d48f,_0x2e31ea,_0x153ba4,_0x2e8742,_0x4ce1c0,_0x23467f,_0x14dfdb,_0x2cca2f,_0x48fe7f;let _0x1d52e2=(_0x275fb4=_0x381a8b[_0x3e7a6b(0x3f6)])==null?void 0x0:_0x275fb4[_0x3e7a6b(0x405)];if(!_0x1d52e2)return;_0x5be95d[_0x3e7a6b(0x16b)](_0x1d52e2)||(_0x5be95d['set'](_0x1d52e2,[]),_0x590db5[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3fe136[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3797cb['set'](_0x1d52e2,[]),_0x5e56f2['set'](_0x1d52e2,[]),_0xda7791[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x1c8bac[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x36565e[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x3d8871[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x25381a[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x2ea84e[_0x3e7a6b(0x1bd)](_0x1d52e2,[]),_0x164619['set'](_0x1d52e2,[]));let _0x53e046=this['_categorizeMutationRanges'](_0x381a8b,_0x2ad1ce);_0x53e046[_0x3e7a6b(0x3c2)][_0x3e7a6b(0x1c2)](_0x5e1d7d=>_0xd8bbf[_0x3e7a6b(0xb4)](_0x5e1d7d)),(_0x225325=_0x5be95d[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x225325[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x38f)]),(_0x29ad64=_0x590db5[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x29ad64['push'](..._0x53e046[_0x3e7a6b(0x301)]),(_0x39e272=_0x3fe136[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x39e272[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x2c8)]),(_0x21d48f=_0x3797cb[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x21d48f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x355)]),(_0x2e31ea=_0x5e56f2['get'](_0x1d52e2))==null||_0x2e31ea[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x33d)]),(_0x153ba4=_0xda7791[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x153ba4[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x10b)]),(_0x2e8742=_0x1c8bac[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x2e8742[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x1cf)]),(_0x4ce1c0=_0x36565e[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x4ce1c0[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x207)]),(_0x23467f=_0x3d8871['get'](_0x1d52e2))==null||_0x23467f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x2ff)]),(_0x14dfdb=_0x2ea84e[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x14dfdb[_0x3e7a6b(0x16c)](..._0x53e046['insertDrawings']),(_0x2cca2f=_0x164619[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x2cca2f['push'](..._0x53e046[_0x3e7a6b(0x21f)]),(_0x48fe7f=_0x25381a[_0x3e7a6b(0xea)](_0x1d52e2))==null||_0x48fe7f[_0x3e7a6b(0x16c)](..._0x53e046[_0x3e7a6b(0x1e6)]);}),_0x5be95d['forEach']((_0x1f685e,_0x1ba88c)=>{const _0x9f1edc=_0x470961;_0x5be95d[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x1f685e)),_0x590db5['set'](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x590db5[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x3fe136[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x3fe136['get'](_0x1ba88c)||[])),_0x3797cb['set'](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x3797cb['get'](_0x1ba88c)||[])),_0x5e56f2[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x5e56f2[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0xda7791[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0xda7791[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x1c8bac[_0x9f1edc(0x1bd)](_0x1ba88c,this['_combineRanges'](_0x1c8bac[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x36565e[_0x9f1edc(0x1bd)](_0x1ba88c,this[_0x9f1edc(0x3e3)](_0x36565e[_0x9f1edc(0xea)](_0x1ba88c)||[])),_0x3d8871['set'](_0x1ba88c,this['_combineRanges'](_0x3d8871['get'](_0x1ba88c)||[]));}),{'ranges':_0x5be95d,'insertCellRanges':_0x590db5,'deleteCellRanges':_0x3fe136,'updateCellRanges':_0x3797cb,'insertBorderRanges':_0x5e56f2,'deleteBorderRanges':_0xda7791,'updateBorderRanges':_0x1c8bac,'arrowRowRanges':_0x36565e,'arrowColumnRanges':_0x3d8871,'insertDrawings':_0x2ea84e,'deleteDrawings':_0x164619,'updateDrawings':_0x25381a,'subUnitIds':Array[_0x470961(0x367)](_0xd8bbf)};}[_0x4f2e97(0x28e)](_0xafd221,_0x4aae5a){const _0x26bc2c=_0x4f2e97;let _0x5d9ff9={'allRanges':[],'insertCellRanges':[],'deleteCellRanges':[],'updateCellRanges':[],'insertBorderRanges':[],'deleteBorderRanges':[],'updateBorderRanges':[],'arrowRowRanges':[],'arrowColumnRanges':[],'insertDrawings':[],'deleteDrawings':[],'updateDrawings':[],'subUnitIds':[]},_0x5bb009=_0xafd221['id'],_0x320ca8=_0xafd221['params'],_0x2fcc06=this[_0x26bc2c(0x163)]['t'](_0x4aae5a[_0x26bc2c(0xea)](_0x5bb009)||'');_0x320ca8[_0x26bc2c(0x3df)]&&_0x5d9ff9['subUnitIds'][_0x26bc2c(0x16c)](_0x320ca8[_0x26bc2c(0x3df)]);let _0x272748=(_0x1107df,_0x661256)=>{const _0x5a37ad=_0x26bc2c;let _0x2524e0=_0x1107df[_0x5a37ad(0x1a6)](_0x5b3394=>({..._0x5b3394,'showText':_0x2fcc06}));switch(_0x5d9ff9[_0x5a37ad(0x38f)][_0x5a37ad(0x16c)](..._0x2524e0),_0x661256){case _0x5a37ad(0x1d3):_0x5d9ff9['insertCellRanges']['push'](..._0x2524e0);break;case'delete':_0x5d9ff9[_0x5a37ad(0x2c8)]['push'](..._0x2524e0);break;case _0x5a37ad(0x206):_0x5d9ff9[_0x5a37ad(0x355)][_0x5a37ad(0x16c)](..._0x2524e0);break;case'insertBorder':_0x5d9ff9['insertBorderRanges'][_0x5a37ad(0x16c)](..._0x2524e0);break;case'deleteBorder':_0x5d9ff9[_0x5a37ad(0x10b)][_0x5a37ad(0x16c)](..._0x2524e0);break;case _0x5a37ad(0x21d):_0x5d9ff9[_0x5a37ad(0x1cf)][_0x5a37ad(0x16c)](..._0x2524e0);break;case _0x5a37ad(0x408):_0x5d9ff9[_0x5a37ad(0x207)]['push'](..._0x2524e0);break;case _0x5a37ad(0x1d2):_0x5d9ff9['arrowColumnRanges'][_0x5a37ad(0x16c)](..._0x2524e0);break;}};switch(_0x5bb009){case _0x337aad['InsertRowMutation']['id']:{let _0x4120a4=_0x320ca8;_0x272748([{'range':{..._0x4120a4['range'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x4120a4[_0x26bc2c(0x3d7)],'subUnitId':_0x4120a4['subUnitId'],'showText':_0x26bc2c(0x3ef),'highlightRow':!0x0}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x306)]['id']:{let _0x5db293=_0x320ca8;_0x272748([{'range':{..._0x5db293['range'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x5db293[_0x26bc2c(0x3d7)],'subUnitId':_0x5db293['subUnitId'],'showText':'insertCol','highlightColumn':!0x0}],'insert');break;}case _0x337aad[_0x26bc2c(0x291)]['id']:{let _0x1283b0=_0x320ca8;_0x272748(_0x1283b0['ranges'][_0x26bc2c(0x1a6)](_0x5b27b4=>({'range':_0x5b27b4,'unitId':_0x1283b0[_0x26bc2c(0x3d7)],'subUnitId':_0x1283b0[_0x26bc2c(0x3df)],'showText':'mergeCells'})),_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x2c3)]['id']:{let _0xb1518=_0x320ca8;_0x272748(Object['values'](_0xb1518[_0x26bc2c(0xca)])[_0x26bc2c(0x1a6)](_0x58f070=>_0x58f070[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0xf5c66b=>({'range':_0xf5c66b,'unitId':_0xb1518[_0x26bc2c(0x3d7)],'subUnitId':_0xb1518[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x3e1)})))[_0x26bc2c(0x265)](),_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x287)]['id']:{let _0x57ecfa=_0x320ca8;_0x272748(_0x57ecfa['ranges']['map'](_0x32f9a7=>({'range':_0x32f9a7,'unitId':_0x57ecfa[_0x26bc2c(0x3d7)],'subUnitId':_0x57ecfa[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xc9)})),_0x26bc2c(0x280));break;}case _0x337aad[_0x26bc2c(0x42f)]['id']:{let _0xe1a525=_0x320ca8;_0x272748(_0xe1a525[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x398191=>({'range':_0x398191,'unitId':_0xe1a525[_0x26bc2c(0x3d7)],'subUnitId':_0xe1a525[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x21b)})),_0x26bc2c(0x280));break;}case _0x337aad[_0x26bc2c(0x3c3)]['id']:{let _0x402d7f=_0x320ca8;_0x272748([{'range':{..._0x402d7f['sourceRange'],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x402d7f['unitId'],'subUnitId':_0x402d7f['subUnitId'],'showText':_0x26bc2c(0x13c)}],_0x26bc2c(0x280)),_0x272748([{'range':{..._0x402d7f[_0x26bc2c(0x18c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)]['ROW']},'unitId':_0x402d7f[_0x26bc2c(0x3d7)],'subUnitId':_0x402d7f[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x13c)}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x2a7)]['id']:{let _0x2bf5d8=_0x320ca8;_0x272748([{'range':{..._0x2bf5d8[_0x26bc2c(0x41c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x2bf5d8[_0x26bc2c(0x3d7)],'subUnitId':_0x2bf5d8[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xc3)}],_0x26bc2c(0x280)),_0x272748([{'range':{..._0x2bf5d8[_0x26bc2c(0x18c)],'rangeType':_0x1467aa[_0x26bc2c(0x24e)]['COLUMN']},'unitId':_0x2bf5d8['unitId'],'subUnitId':_0x2bf5d8['subUnitId'],'showText':_0x26bc2c(0xc3)}],_0x26bc2c(0x1d3));break;}case _0x337aad[_0x26bc2c(0x290)]['id']:{let _0x80854a=_0x320ca8;_0x272748(_0x80854a[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x5debb5=>({'range':{..._0x5debb5,'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x234)]},'unitId':_0x80854a[_0x26bc2c(0x3d7)],'subUnitId':_0x80854a[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x223),'highlightRow':!0x0})),_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0x39b)]['id']:{let _0xeae5e4=_0x320ca8;_0xeae5e4[_0x26bc2c(0x1e9)]&&_0xeae5e4['subUnitId']&&Object[_0x26bc2c(0x2c9)](_0xeae5e4['rowData'])['map'](Number)[_0x26bc2c(0x1c2)](_0x1d79ca=>{const _0x3d928b=_0x26bc2c;_0x272748([{'range':{'startRow':_0x1d79ca,'endRow':_0x1d79ca,'startColumn':NaN,'endColumn':NaN,'rangeType':_0x1467aa[_0x3d928b(0x24e)][_0x3d928b(0x234)]},'unitId':_0xeae5e4[_0x3d928b(0x3d7)],'subUnitId':_0xeae5e4['subUnitId'],'showText':_0x3d928b(0x195),'highlightRow':!0x0}],_0x3d928b(0x206));});break;}case _0x337aad[_0x26bc2c(0x201)]['id']:{let _0x362c1=_0x320ca8;_0x272748(_0x362c1['ranges']['map'](_0x4e4238=>({'range':{..._0x4e4238,'rangeType':_0x1467aa[_0x26bc2c(0x24e)][_0x26bc2c(0x2d3)]},'unitId':_0x362c1[_0x26bc2c(0x3d7)],'subUnitId':_0x362c1[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x2ef),'highlightColumn':!0x0})),'update');break;}case _0x337aad['SetColDataMutation']['id']:{let _0x2ec9a8=_0x320ca8;_0x2ec9a8[_0x26bc2c(0x1ff)]&&_0x2ec9a8[_0x26bc2c(0x3df)]&&Object[_0x26bc2c(0x2c9)](_0x2ec9a8[_0x26bc2c(0x1ff)])[_0x26bc2c(0x1a6)](Number)[_0x26bc2c(0x1c2)](_0x2b7d8b=>{const _0x33fa21=_0x26bc2c;_0x272748([{'range':{'startRow':NaN,'endRow':NaN,'startColumn':_0x2b7d8b,'endColumn':_0x2b7d8b,'rangeType':_0x1467aa['RANGE_TYPE']['COLUMN']},'unitId':_0x2ec9a8[_0x33fa21(0x3d7)],'subUnitId':_0x2ec9a8[_0x33fa21(0x3df)],'showText':_0x33fa21(0x40b),'highlightColumn':!0x0}],'update');});break;}case _0x337aad['SetRangeValuesMutation']['id']:{let _0x50812d=_0x320ca8;_0x272748(_0x50812d[_0x26bc2c(0x304)]?_0x377f87(_0x50812d['cellValue'])[_0x26bc2c(0x1a6)](_0x7dc89a=>({'range':_0x7dc89a,'unitId':_0x50812d[_0x26bc2c(0x3d7)],'subUnitId':_0x50812d[_0x26bc2c(0x3df)],'showText':'setRangeValues'})):[],_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0xff)]['id']:{let _0x4f5564=_0xafd221[_0x26bc2c(0x3f6)];_0x272748([{'range':_0x658723(_0x4f5564['from']['value']),'unitId':_0x4f5564[_0x26bc2c(0x3d7)],'subUnitId':_0x4f5564['from'][_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x455)}],_0x26bc2c(0x280)),_0x272748([{'range':_0x658723(_0x4f5564['to']['value']),'unitId':_0x4f5564[_0x26bc2c(0x3d7)],'subUnitId':_0x4f5564['to'][_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x455)}],'insert');break;}case _0x337aad[_0x26bc2c(0x157)]['id']:{let _0x153cbb=_0x320ca8;_0x272748([{'range':_0x153cbb[_0x26bc2c(0x3a0)],'unitId':_0x153cbb[_0x26bc2c(0x3d7)],'subUnitId':_0x153cbb[_0x26bc2c(0x3df)]}],_0x26bc2c(0x206));break;}case _0x337aad[_0x26bc2c(0xce)]['id']:{let _0x50c3a8=_0x320ca8;_0x50c3a8[_0x26bc2c(0x259)]&&_0x50c3a8['ranges'][_0x26bc2c(0x166)]>0x0&&_0x50c3a8[_0x26bc2c(0x3df)]&&_0x272748(_0x50c3a8[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x3d0659=>({'range':_0x3d0659,'unitId':_0x50c3a8[_0x26bc2c(0x3d7)],'subUnitId':_0x50c3a8[_0x26bc2c(0x3df)],'showText':'setRowHeight'})),_0x26bc2c(0x408));break;}case _0x337aad[_0x26bc2c(0x31c)]['id']:{let _0x59ee9e=_0x320ca8;_0x59ee9e[_0x26bc2c(0x259)]&&_0x59ee9e[_0x26bc2c(0x259)][_0x26bc2c(0x166)]>0x0&&_0x59ee9e['subUnitId']&&_0x272748(_0x59ee9e[_0x26bc2c(0x259)]['map'](_0x10dbc2=>({'range':_0x10dbc2,'unitId':_0x59ee9e[_0x26bc2c(0x3d7)],'subUnitId':_0x59ee9e[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1d7)})),_0x26bc2c(0x1d2));break;}case _0x337aad['AddRangeProtectionMutation']['id']:{let _0xa4c4b3=_0x320ca8;_0x272748(_0xa4c4b3[_0x26bc2c(0x13b)][_0x26bc2c(0x1a6)](_0x3691c5=>_0x3691c5[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x45eaec=>({'range':_0x45eaec,'unitId':_0xa4c4b3[_0x26bc2c(0x3d7)],'subUnitId':_0xa4c4b3[_0x26bc2c(0x3df)],'showText':'addRangeProtection'})))[_0x26bc2c(0x265)](),'insertBorder');break;}case _0x3faaa0['AddConditionalRuleMutation']['id']:{let _0x4952db=_0x320ca8;_0x272748(_0x4952db[_0x26bc2c(0x426)]['ranges'][_0x26bc2c(0x1a6)](_0x4f2bad=>({'range':_0x4f2bad,'unitId':_0x4952db[_0x26bc2c(0x3d7)],'subUnitId':_0x4952db['subUnitId'],'showText':_0x26bc2c(0x34b)})),_0x26bc2c(0x17a));break;}case _0x24d04c[_0x26bc2c(0x372)]['id']:{let _0x83d75d=_0x320ca8;_0x272748((Array[_0x26bc2c(0x322)](_0x83d75d['rule'])?_0x83d75d[_0x26bc2c(0x426)]:[_0x83d75d['rule']])[_0x26bc2c(0x1a6)](_0x534997=>_0x534997[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x33dd3d=>({'range':_0x33dd3d,'unitId':_0x83d75d[_0x26bc2c(0x3d7)],'subUnitId':_0x83d75d['subUnitId'],'showText':_0x26bc2c(0x2d1)})))[_0x26bc2c(0x265)](),_0x26bc2c(0x17a));break;}case _0x337aad[_0x26bc2c(0x1ab)]['id']:{let _0x269a5e=_0x320ca8,_0x29daf8=_0x269a5e[_0x26bc2c(0x3d7)],_0x361fe4=_0x269a5e[_0x26bc2c(0x3df)];_0x269a5e['ruleIds']&&_0x269a5e[_0x26bc2c(0xf8)][_0x26bc2c(0x166)]>0x0&&_0x269a5e[_0x26bc2c(0x3df)]&&_0x269a5e[_0x26bc2c(0xf8)][_0x26bc2c(0x1c2)](_0x46eae5=>{const _0x3e6afe=_0x26bc2c;let _0x47cd51=this['_rangeProtectionRuleModel'][_0x3e6afe(0x1b4)](_0x29daf8,_0x361fe4,_0x46eae5),_0x400540=(_0x47cd51==null?void 0x0:_0x47cd51['ranges'][_0x3e6afe(0x1a6)](_0x2fe996=>({'range':_0x2fe996,'unitId':_0x29daf8,'subUnitId':_0x361fe4,'showText':_0x3e6afe(0x18a)})))||[];_0x400540[_0x3e6afe(0x166)]>0x0&&_0x272748(_0x400540,_0x3e6afe(0x194));});break;}case _0x3faaa0[_0x26bc2c(0x138)]['id']:{let _0x44a094=_0x320ca8;if(_0x44a094[_0x26bc2c(0x15b)]&&_0x44a094[_0x26bc2c(0x3df)]){let _0x3bed39=this['_conditionalFormattingRuleModel'][_0x26bc2c(0x1b4)](_0x44a094[_0x26bc2c(0x3d7)],_0x44a094['subUnitId'],_0x44a094[_0x26bc2c(0x15b)]);if(_0x3bed39){let _0x334e3b=_0x3bed39[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x3feee0=>({'range':_0x3feee0,'unitId':_0x44a094[_0x26bc2c(0x3d7)],'subUnitId':_0x44a094[_0x26bc2c(0x3df)],'showText':'deleteCF'}));_0x334e3b[_0x26bc2c(0x166)]>0x0&&_0x272748(_0x334e3b,_0x26bc2c(0x194));}}break;}case _0x24d04c[_0x26bc2c(0x196)]['id']:{let _0x2a6a6e=_0x320ca8,_0x58a90d=Array[_0x26bc2c(0x322)](_0x2a6a6e['ruleId'])?_0x2a6a6e[_0x26bc2c(0x39e)]:[_0x2a6a6e['ruleId']];_0x58a90d[_0x26bc2c(0x166)]>0x0&&_0x2a6a6e['subUnitId']&&_0x58a90d[_0x26bc2c(0x1c2)](_0x1bb89f=>{const _0x298d42=_0x26bc2c;let _0x5d2957=this['_dataValidationModel'][_0x298d42(0x1c9)](_0x2a6a6e[_0x298d42(0x3d7)],_0x2a6a6e['subUnitId'],_0x1bb89f),_0x1b2525=(_0x5d2957==null?void 0x0:_0x5d2957['ranges']['map'](_0x24c795=>({'range':_0x24c795,'unitId':_0x2a6a6e[_0x298d42(0x3d7)],'subUnitId':_0x2a6a6e[_0x298d42(0x3df)],'showText':'removeDV'})))||[];_0x1b2525[_0x298d42(0x166)]>0x0&&_0x272748(_0x1b2525,_0x298d42(0x194));});break;}case _0x337aad[_0x26bc2c(0x2aa)]['id']:{let _0x3a2450=_0x320ca8;_0x272748(_0x3a2450[_0x26bc2c(0x426)]['ranges'][_0x26bc2c(0x1a6)](_0xca300e=>({'range':_0xca300e,'unitId':_0x3a2450[_0x26bc2c(0x3d7)],'subUnitId':_0x3a2450[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x226)})),'updateBorder');break;}case _0x337aad[_0x26bc2c(0x3c9)]['id']:{let _0x486551=_0x320ca8;_0x272748([{'range':_0x486551['range'],'unitId':_0x486551[_0x26bc2c(0x3d7)],'subUnitId':_0x486551[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xf4)}],_0x26bc2c(0x21d));break;}case _0x337aad[_0x26bc2c(0x3da)]['id']:{let _0x4d2971=_0x320ca8;_0x272748([{'range':_0x4d2971[_0x26bc2c(0x3a0)],'unitId':_0x4d2971[_0x26bc2c(0x3d7)],'subUnitId':_0x4d2971[_0x26bc2c(0x3df)],'showText':'deleteWorksheetRangeTheme'}],_0x26bc2c(0x21d));break;}case _0x3faaa0['SetConditionalRuleMutation']['id']:{let _0x866091=_0x320ca8;_0x272748(_0x866091['rule'][_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x344a9c=>({'range':_0x344a9c,'unitId':_0x866091['unitId'],'subUnitId':_0x866091[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x34b)})),_0x26bc2c(0x21d));break;}case _0x3faaa0[_0x26bc2c(0x429)]['id']:{let _0x583458=_0x320ca8,_0x2a1ec5=this[_0x26bc2c(0x1ed)][_0x26bc2c(0x1b4)](_0x583458['unitId'],_0x583458[_0x26bc2c(0x3df)],_0x583458[_0x26bc2c(0x137)]['id']),_0x219d68=this[_0x26bc2c(0x1ed)]['getRule'](_0x583458[_0x26bc2c(0x3d7)],_0x583458[_0x26bc2c(0x3df)],_0x583458['end']['id']);_0x2a1ec5&&_0x272748(_0x2a1ec5[_0x26bc2c(0x259)][_0x26bc2c(0x1a6)](_0x355e26=>({'range':_0x355e26,'unitId':_0x583458[_0x26bc2c(0x3d7)],'subUnitId':_0x583458[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xcf)})),_0x26bc2c(0x194)),_0x219d68&&_0x272748(_0x219d68['ranges'][_0x26bc2c(0x1a6)](_0x39950c=>({'range':_0x39950c,'unitId':_0x583458['unitId'],'subUnitId':_0x583458[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xcf)})),_0x26bc2c(0x17a));break;}case _0x41ff64[_0x26bc2c(0x25b)]['id']:{let _0x437f9=_0x320ca8;_0x272748([{'range':_0x437f9['range'],'unitId':_0x437f9['unitId'],'subUnitId':_0x437f9[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x228)}],_0x26bc2c(0x21d));break;}case _0x41ff64['SetSheetsFilterCriteriaMutation']['id']:{let _0x5cb20a=_0x320ca8,_0x36004d=this['_sheetsFilterService']['getFilterModel'](_0x5cb20a[_0x26bc2c(0x3d7)],_0x5cb20a[_0x26bc2c(0x3df)]);if(_0x36004d){let _0x239ae0=_0x36004d['getRange']();_0x272748(_0x239ae0?[{'range':_0x239ae0,'unitId':_0x5cb20a[_0x26bc2c(0x3d7)],'subUnitId':_0x5cb20a[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1bb)}]:[],_0x26bc2c(0x21d));}break;}case _0x41ff64[_0x26bc2c(0x22a)]['id']:{let _0xd70a84=_0x320ca8,_0x37cbdb=this[_0x26bc2c(0x200)]['getFilterModel'](_0xd70a84[_0x26bc2c(0x3d7)],_0xd70a84[_0x26bc2c(0x3df)]);if(_0x37cbdb){let _0x55f1a0=_0x37cbdb[_0x26bc2c(0x37c)]();_0x272748(_0x55f1a0?[{'range':_0x55f1a0,'unitId':_0xd70a84[_0x26bc2c(0x3d7)],'subUnitId':_0xd70a84[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x1d4)}]:[],_0x26bc2c(0x21d));}break;}case _0x41ff64['ReCalcSheetsFilterMutation']['id']:{let _0x429078=_0x320ca8,_0x33f708=this[_0x26bc2c(0x200)][_0x26bc2c(0x18e)](_0x429078[_0x26bc2c(0x3d7)],_0x429078['subUnitId']);if(_0x33f708){let _0x4a1305=_0x33f708['getRange']();_0x272748(_0x4a1305?[{'range':_0x4a1305,'unitId':_0x429078['unitId'],'subUnitId':_0x429078['subUnitId'],'showText':_0x26bc2c(0x1d4)}]:[],_0x26bc2c(0x21d));}break;}case _0x24d04c[_0x26bc2c(0x443)]['id']:{let _0x48d048=_0x320ca8,_0x56b5a7=this['_dataValidationModel'][_0x26bc2c(0x1c9)](_0x48d048[_0x26bc2c(0x3d7)],_0x48d048[_0x26bc2c(0x3df)],_0x48d048['ruleId']);_0x56b5a7&&_0x272748(_0x56b5a7['ranges'][_0x26bc2c(0x1a6)](_0x289e93=>({'range':_0x289e93,'unitId':_0x48d048[_0x26bc2c(0x3d7)],'subUnitId':_0x48d048[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x2d1)})),'updateBorder');break;}case _0x902a7b[_0x26bc2c(0x377)]['id']:{let _0x3390a0=_0x320ca8,_0x32dc3e=_0x3390a0[_0x26bc2c(0x3d7)],_0x126f68=_0x3390a0[_0x26bc2c(0x3df)],_0x4be32b=_0x3390a0['sparklineConfigMap'];_0x3390a0[_0x26bc2c(0x20b)]&&_0x126f68&&Object[_0x26bc2c(0x2c9)](_0x3390a0['sparklineConfigMap'])[_0x26bc2c(0x1c2)](_0x59c1fb=>{const _0x107df5=_0x26bc2c;let _0x404d66=_0x4be32b[_0x59c1fb];_0x272748(_0x377f87(_0x404d66[_0x107df5(0x2ba)])[_0x107df5(0x1a6)](_0x54c99b=>({'range':_0x54c99b,'unitId':_0x32dc3e,'subUnitId':_0x126f68,'showText':'addSparkline'})),_0x107df5(0x1d3));});break;}case _0x902a7b[_0x26bc2c(0x27f)]['id']:{let _0x2d2812=_0x320ca8;_0x2d2812[_0x26bc2c(0x212)]&&_0x2d2812['groupIds'][_0x26bc2c(0x166)]>0x0&&_0x2d2812['subUnitId']&&_0x2d2812[_0x26bc2c(0x212)][_0x26bc2c(0x1c2)](_0x8df6c1=>{const _0x5847af=_0x26bc2c;let _0x5e4eed=this[_0x5847af(0x11b)][_0x5847af(0x273)](_0x2d2812['unitId'],_0x2d2812[_0x5847af(0x3df)],_0x8df6c1);_0x5e4eed&&_0x272748(_0x377f87(_0x5e4eed['sparklines'][_0x5847af(0x41e)]())[_0x5847af(0x1a6)](_0x3cbaaf=>({'range':_0x3cbaaf,'unitId':_0x2d2812[_0x5847af(0x3d7)],'subUnitId':_0x2d2812[_0x5847af(0x3df)],'showText':'setSparkline'})),_0x5847af(0x206));});break;}case _0x902a7b['RemoveSheetSparklineMutation']['id']:{let _0x5c8268=_0x320ca8;_0x5c8268[_0x26bc2c(0x212)]&&_0x5c8268[_0x26bc2c(0x212)][_0x26bc2c(0x166)]>0x0&&_0x5c8268[_0x26bc2c(0x3df)]&&_0x5c8268['groupIds'][_0x26bc2c(0x1c2)](_0x306432=>{const _0x52ccfe=_0x26bc2c;let _0x5af18c=this[_0x52ccfe(0x11b)][_0x52ccfe(0x273)](_0x5c8268[_0x52ccfe(0x3d7)],_0x5c8268[_0x52ccfe(0x3df)],_0x306432);_0x5af18c&&_0x272748(_0x377f87(_0x5af18c[_0x52ccfe(0x2ba)][_0x52ccfe(0x41e)]())[_0x52ccfe(0x1a6)](_0x110a03=>({'range':_0x110a03,'unitId':_0x5c8268[_0x52ccfe(0x3d7)],'subUnitId':_0x5c8268['subUnitId'],'showText':_0x52ccfe(0x221)})),_0x52ccfe(0x280));});break;}case _0x16c297[_0x26bc2c(0x15f)]['id']:{let _0x5d0952=_0x320ca8;_0x5d0952[_0x26bc2c(0x450)]&&_0x5d0952['subUnitId']&&_0x272748([{'range':_0x5d0952[_0x26bc2c(0x3a0)],'unitId':_0x5d0952[_0x26bc2c(0x3d7)],'subUnitId':_0x5d0952[_0x26bc2c(0x3df)],'showText':'addTable'}],'insert');break;}case _0x16c297['DeleteSheetTableMutation']['id']:{let _0x7d5714=_0x320ca8;if(_0x7d5714[_0x26bc2c(0x450)]&&_0x7d5714[_0x26bc2c(0x3df)]){var _0x4ac4b2;let _0x15f1dc=(_0x4ac4b2=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x7d5714[_0x26bc2c(0x3d7)],_0x7d5714[_0x26bc2c(0x450)]))==null?void 0x0:_0x4ac4b2['range'];_0x15f1dc&&_0x272748([{'range':_0x15f1dc,'unitId':_0x7d5714['unitId'],'subUnitId':_0x7d5714[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0xef)}],'delete');}break;}case _0x16c297['SetSheetTableFilterMutation']['id']:{let _0x1c81a7=_0x320ca8;if(_0x1c81a7['tableId']){let _0x1e9b05=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x1c81a7[_0x26bc2c(0x3d7)],_0x1c81a7[_0x26bc2c(0x450)]);_0x1e9b05&&_0x1e9b05[_0x26bc2c(0x3a0)]&&_0x1e9b05['subUnitId']&&(_0x5d9ff9[_0x26bc2c(0x3c2)]['push'](_0x1e9b05[_0x26bc2c(0x3df)]),_0x272748([{'range':_0x1e9b05[_0x26bc2c(0x3a0)],'unitId':_0x1c81a7[_0x26bc2c(0x3d7)],'subUnitId':_0x1e9b05[_0x26bc2c(0x3df)],'showText':'setTableFilter'}],_0x26bc2c(0x206)));}break;}case _0x16c297[_0x26bc2c(0x240)]['id']:{let _0x35948c=_0x320ca8;if(_0x35948c[_0x26bc2c(0x450)]&&_0x35948c[_0x26bc2c(0x3df)]){var _0x3336a8;let _0x30b6d5=(_0x3336a8=this[_0x26bc2c(0x110)][_0x26bc2c(0x30c)](_0x35948c['unitId'],_0x35948c[_0x26bc2c(0x450)]))==null?void 0x0:_0x3336a8[_0x26bc2c(0x3a0)];_0x30b6d5&&_0x272748([{'range':_0x30b6d5,'unitId':_0x35948c[_0x26bc2c(0x3d7)],'subUnitId':_0x35948c[_0x26bc2c(0x3df)],'showText':'updateTable'}],_0x26bc2c(0x206));}break;}case _0x7a8479[_0x26bc2c(0x2b4)]['id']:{let _0xad311f=_0x320ca8;if(_0xad311f[_0x26bc2c(0x2a4)]&&_0xad311f[_0x26bc2c(0x3df)]){var _0x3db83b;let _0x2765d8=(_0x3db83b=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0xad311f[_0x26bc2c(0x3d7)],_0xad311f[_0x26bc2c(0x3df)],_0xad311f['pivotTableId']))==null?void 0x0:_0x3db83b['rangeInfo'];_0x2765d8&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x2765d8)[_0x26bc2c(0x1a6)](_0x10c9bf=>({'range':_0x10c9bf,'unitId':_0xad311f[_0x26bc2c(0x3d7)],'subUnitId':_0xad311f['subUnitId'],'showText':_0x26bc2c(0x1aa)})),_0x26bc2c(0x1d3));}break;}case _0x7a8479[_0x26bc2c(0x13a)]['id']:{let _0x47fb0f=_0x320ca8;if(_0x47fb0f[_0x26bc2c(0x2a4)]&&_0x47fb0f[_0x26bc2c(0x3df)]){var _0x40e43a;let _0x221128=(_0x40e43a=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0x47fb0f[_0x26bc2c(0x3d7)],_0x47fb0f[_0x26bc2c(0x3df)],_0x47fb0f[_0x26bc2c(0x2a4)]))==null?void 0x0:_0x40e43a[_0x26bc2c(0xed)];_0x221128&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x221128)['map'](_0x736acf=>({'range':_0x736acf,'unitId':_0x47fb0f['unitId'],'subUnitId':_0x47fb0f[_0x26bc2c(0x3df)],'showText':_0x26bc2c(0x30f)})),_0x26bc2c(0x280));}break;}case _0x7a8479[_0x26bc2c(0x140)]['id']:case _0x7a8479[_0x26bc2c(0x154)]['id']:case _0x7a8479[_0x26bc2c(0x28f)]['id']:case _0x7a8479[_0x26bc2c(0x35c)]['id']:case _0x7a8479[_0x26bc2c(0x41b)]['id']:case _0x7a8479[_0x26bc2c(0x202)]['id']:case _0x7a8479['UpdateFieldPositionMutation']['id']:case _0x7a8479[_0x26bc2c(0x178)]['id']:case _0x7a8479[_0x26bc2c(0x1cc)]['id']:case _0x7a8479['SetPivotFilterMutation']['id']:case _0x7a8479['SetPivotValueFilterMutation']['id']:case _0x7a8479[_0x26bc2c(0x32c)]['id']:case _0x7a8479['SetPivotCollapseMutation']['id']:case _0x7a8479[_0x26bc2c(0x128)]['id']:case _0x7a8479[_0x26bc2c(0x26a)]['id']:{let _0x55a3e2=_0x320ca8,_0x3318b5=_0x26bc2c(0x2f3);if(_0x5bb009===_0x7a8479[_0x26bc2c(0x140)]['id']?_0x3318b5=_0x26bc2c(0x2f3):_0x5bb009===_0x7a8479[_0x26bc2c(0x154)]['id']?_0x3318b5=_0x26bc2c(0x406):_0x5bb009===_0x7a8479[_0x26bc2c(0x28f)]['id']?_0x3318b5='updatePivotSource':_0x5bb009===_0x7a8479[_0x26bc2c(0x35c)]['id']?_0x3318b5='addPivotField':_0x5bb009===_0x7a8479[_0x26bc2c(0x41b)]['id']?_0x3318b5='removePivotField':_0x5bb009===_0x7a8479[_0x26bc2c(0x202)]['id']?_0x3318b5=_0x26bc2c(0x1b8):_0x5bb009===_0x7a8479[_0x26bc2c(0x35d)]['id']?_0x3318b5=_0x26bc2c(0x230):_0x5bb009===_0x7a8479[_0x26bc2c(0x178)]['id']?_0x3318b5=_0x26bc2c(0x3a8):_0x5bb009===_0x7a8479['UpdatePivotFieldSourceInfoMutation']['id']?_0x3318b5=_0x26bc2c(0x105):_0x5bb009===_0x7a8479[_0x26bc2c(0x42d)]['id']?_0x3318b5='setPivotFilter':_0x5bb009===_0x7a8479[_0x26bc2c(0x320)]['id']?_0x3318b5=_0x26bc2c(0x286):_0x5bb009===_0x7a8479['SetPivotSortMutation']['id']?_0x3318b5=_0x26bc2c(0x38a):_0x5bb009===_0x7a8479['SetPivotCollapseMutation']['id']?_0x3318b5=_0x26bc2c(0x3e4):_0x5bb009===_0x7a8479['SetPivotSubtotalTypeMutation']['id']?_0x3318b5=_0x26bc2c(0x192):_0x5bb009===_0x7a8479[_0x26bc2c(0x128)]['id']&&(_0x3318b5=_0x26bc2c(0x44c)),_0x55a3e2[_0x26bc2c(0x2a4)]&&_0x55a3e2[_0x26bc2c(0x3df)]){var _0x6d31e;let _0x217a55=(_0x6d31e=this[_0x26bc2c(0x139)][_0x26bc2c(0xb9)](_0x55a3e2[_0x26bc2c(0x3d7)],_0x55a3e2['subUnitId'],_0x55a3e2['pivotTableId']))==null?void 0x0:_0x6d31e[_0x26bc2c(0xed)];_0x217a55&&_0x272748((0x0,_0x7a8479['unionPivotViewRange'])(_0x217a55)[_0x26bc2c(0x1a6)](_0x2f771a=>({'range':_0x2f771a,'unitId':_0x55a3e2[_0x26bc2c(0x3d7)],'subUnitId':_0x55a3e2['subUnitId'],'showText':_0x3318b5})),_0x26bc2c(0x206));}break;}case _0xd50e28[_0x26bc2c(0x316)]['id']:{let _0x3520c3=_0x320ca8;_0x3520c3['chartId']&&_0x5d9ff9['insertDrawings']['push']({'drawingId':_0x3520c3['chartId'],'unitId':_0x3520c3['unitId'],'subUnitId':_0x3520c3[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0xd50e28[_0x26bc2c(0x388)]['id']:{let _0x46707f=_0x320ca8;_0x46707f['chartId']&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0x46707f[_0x26bc2c(0x2ac)],'unitId':_0x46707f[_0x26bc2c(0x3d7)],'subUnitId':_0x46707f[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0xd50e28[_0x26bc2c(0x39c)]['id']:{let _0x31849=_0x320ca8;if(_0x31849[_0x26bc2c(0x1e1)]){let _0x347e19=this[_0x26bc2c(0xf6)][_0x26bc2c(0x2cf)](_0x31849['unitId'],_0x31849[_0x26bc2c(0x1e1)]);_0x347e19&&(_0x5d9ff9['subUnitIds'][_0x26bc2c(0x16c)](_0x347e19),_0x5d9ff9[_0x26bc2c(0x1e6)][_0x26bc2c(0x16c)]({'drawingId':_0x31849[_0x26bc2c(0x1e1)],'unitId':_0x31849[_0x26bc2c(0x3d7)],'subUnitId':_0x347e19,'showText':_0x2fcc06}));}break;}case _0xd50e28[_0x26bc2c(0x159)]['id']:{let _0x22421=_0x320ca8;if(_0x22421['chartModelId']){let _0x26a4c1=this['_sheetsChartService'][_0x26bc2c(0x2cf)](_0x22421['unitId'],_0x22421[_0x26bc2c(0x1e1)]);_0x26a4c1&&(_0x5d9ff9[_0x26bc2c(0x3c2)]['push'](_0x26a4c1),_0x5d9ff9['updateDrawings']['push']({'drawingId':_0x22421[_0x26bc2c(0x1e1)],'unitId':_0x22421[_0x26bc2c(0x3d7)],'subUnitId':_0x26a4c1,'showText':_0x2fcc06}));}break;}case _0xb23317[_0x26bc2c(0x376)]['id']:{let _0x5b3e18=_0x320ca8;_0x5b3e18['shapeId']&&_0x5d9ff9[_0x26bc2c(0x1de)][_0x26bc2c(0x16c)]({'drawingId':_0x5b3e18[_0x26bc2c(0x3f9)],'unitId':_0x5b3e18['unitId'],'subUnitId':_0x5b3e18['subUnitId'],'showText':_0x2fcc06});break;}case _0xb23317[_0x26bc2c(0x27d)]['id']:{let _0xe5e59b=_0x320ca8;_0xe5e59b['shapeId']&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0xe5e59b[_0x26bc2c(0x3f9)],'unitId':_0xe5e59b[_0x26bc2c(0x3d7)],'subUnitId':_0xe5e59b['subUnitId'],'showText':_0x2fcc06});break;}case _0xb23317['UpdateSheetsShapeDataMutation']['id']:case _0xb23317[_0x26bc2c(0x31b)]['id']:{let _0x295f29=_0x320ca8;_0x295f29['shapeId']&&_0x5d9ff9[_0x26bc2c(0x1e6)][_0x26bc2c(0x16c)]({'drawingId':_0x295f29[_0x26bc2c(0x3f9)],'unitId':_0x295f29[_0x26bc2c(0x3d7)],'subUnitId':_0x295f29[_0x26bc2c(0x3df)],'showText':_0x2fcc06});break;}case _0x3867c2[_0x26bc2c(0x190)]['id']:{let _0x3fbb32=_0x320ca8,_0x378a13=_0x3fbb32['objects'],_0x501112=_0x3fbb32[_0x26bc2c(0x186)],_0x134bda=_0x501112!==_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)]&&_0x501112!==_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x122)],_0x578396=_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)],_0x4e3bfa=_0x501112===_0x3867c2['DrawingApplyType'][_0x26bc2c(0x122)],_0x5b5c4b=_0x2fcc06;if(_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x198)]?_0x5b5c4b=this[_0x26bc2c(0x163)]['t'](_0x26bc2c(0x371)):_0x501112===_0x3867c2[_0x26bc2c(0x357)][_0x26bc2c(0x122)]&&(_0x5b5c4b=this[_0x26bc2c(0x163)]['t'](_0x26bc2c(0x40e))),Array[_0x26bc2c(0x322)](_0x378a13))_0x378a13[_0x26bc2c(0x1c2)](_0x4a0550=>{const _0x591ce1=_0x26bc2c;if(_0x591ce1(0xdb)in _0x4a0550&&_0x4a0550['drawingId'])_0x134bda?_0x5d9ff9[_0x591ce1(0x1e6)]['push']({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x591ce1(0x1de)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x591ce1(0x21f)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b});else{if(_0x591ce1(0x427)in _0x4a0550&&_0x591ce1(0x3b7)in _0x4a0550){var _0x27021c,_0x2a6525;(_0x27021c=_0x4a0550['parent'])!=null&&_0x27021c[_0x591ce1(0xdb)]&&(_0x134bda?_0x5d9ff9['updateDrawings'][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0x427)][_0x591ce1(0xdb)],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x591ce1(0x1de)]['push']({'drawingId':_0x4a0550['parent']['drawingId'],'unitId':_0x3fbb32[_0x591ce1(0x3d7)],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x591ce1(0x21f)][_0x591ce1(0x16c)]({'drawingId':_0x4a0550[_0x591ce1(0x427)][_0x591ce1(0xdb)],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x591ce1(0x3df)],'showText':_0x5b5c4b})),(_0x2a6525=_0x4a0550[_0x591ce1(0x3b7)])==null||_0x2a6525[_0x591ce1(0x1c2)](_0x2c9abe=>{const _0x52d056=_0x591ce1;_0x2c9abe[_0x52d056(0xdb)]&&(_0x134bda?_0x5d9ff9[_0x52d056(0x1e6)][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32[_0x52d056(0x3d7)],'subUnitId':_0x3fbb32[_0x52d056(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x52d056(0x1de)][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x52d056(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9['deleteDrawings'][_0x52d056(0x16c)]({'drawingId':_0x2c9abe[_0x52d056(0xdb)],'unitId':_0x3fbb32[_0x52d056(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}));});}}});else{if(_0x378a13&&typeof _0x378a13==_0x26bc2c(0x3a4)){if('drawingIds'in _0x378a13&&Array[_0x26bc2c(0x322)](_0x378a13[_0x26bc2c(0x428)]))_0x378a13[_0x26bc2c(0x428)][_0x26bc2c(0x1c2)](_0x41179c=>{const _0x58cd30=_0x26bc2c;_0x134bda?_0x5d9ff9[_0x58cd30(0x1e6)][_0x58cd30(0x16c)]({'drawingId':_0x41179c,'unitId':_0x3fbb32[_0x58cd30(0x3d7)],'subUnitId':_0x3fbb32['subUnitId'],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9[_0x58cd30(0x1de)]['push']({'drawingId':_0x41179c,'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x58cd30(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9['deleteDrawings'][_0x58cd30(0x16c)]({'drawingId':_0x41179c,'unitId':_0x3fbb32[_0x58cd30(0x3d7)],'subUnitId':_0x3fbb32[_0x58cd30(0x3df)],'showText':_0x5b5c4b});});else{if('parent'in _0x378a13&&_0x26bc2c(0x3b7)in _0x378a13){var _0x58b843,_0x467c5c;(_0x58b843=_0x378a13[_0x26bc2c(0x427)])!=null&&_0x58b843[_0x26bc2c(0xdb)]&&(_0x134bda?_0x5d9ff9['updateDrawings'][_0x26bc2c(0x16c)]({'drawingId':_0x378a13['parent']['drawingId'],'unitId':_0x3fbb32['unitId'],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9['insertDrawings'][_0x26bc2c(0x16c)]({'drawingId':_0x378a13[_0x26bc2c(0x427)][_0x26bc2c(0xdb)],'unitId':_0x3fbb32[_0x26bc2c(0x3d7)],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x26bc2c(0x21f)]['push']({'drawingId':_0x378a13['parent']['drawingId'],'unitId':_0x3fbb32[_0x26bc2c(0x3d7)],'subUnitId':_0x3fbb32[_0x26bc2c(0x3df)],'showText':_0x5b5c4b})),(_0x467c5c=_0x378a13[_0x26bc2c(0x3b7)])==null||_0x467c5c[_0x26bc2c(0x1c2)](_0x3f2af1=>{const _0x3da4bb=_0x26bc2c;_0x3f2af1[_0x3da4bb(0xdb)]&&(_0x134bda?_0x5d9ff9[_0x3da4bb(0x1e6)][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1['drawingId'],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}):_0x578396?_0x5d9ff9['insertDrawings'][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1[_0x3da4bb(0xdb)],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}):_0x4e3bfa&&_0x5d9ff9[_0x3da4bb(0x21f)][_0x3da4bb(0x16c)]({'drawingId':_0x3f2af1[_0x3da4bb(0xdb)],'unitId':_0x3fbb32[_0x3da4bb(0x3d7)],'subUnitId':_0x3fbb32[_0x3da4bb(0x3df)],'showText':_0x5b5c4b}));});}}}}break;}}return _0x5d9ff9;}[_0x4f2e97(0x3e3)](_0x3185b9){const _0x446dd5=_0x4f2e97;if(_0x3185b9[_0x446dd5(0x166)]<=0x1)return _0x3185b9;let _0x343e81=new Map();return _0x3185b9[_0x446dd5(0x1c2)](_0x45a7dd=>{const _0x11fb1d=_0x446dd5;let {unitId:_0x1489df,subUnitId:_0x35d6a9}=_0x45a7dd,_0x25ce69=_0x1489df+'-'+_0x35d6a9;if(!_0x343e81[_0x11fb1d(0x16b)](_0x25ce69))_0x343e81[_0x11fb1d(0x1bd)](_0x25ce69,[_0x45a7dd]);else{var _0x1c64bb;(_0x1c64bb=_0x343e81[_0x11fb1d(0xea)](_0x25ce69))==null||_0x1c64bb[_0x11fb1d(0x16c)](_0x45a7dd);}}),Array[_0x446dd5(0x367)](_0x343e81['values']())[_0x446dd5(0x1a6)](_0x743dc7=>new _0x337aad['RangeMergeUtil']()['add'](..._0x743dc7[_0x446dd5(0x1a6)](_0x472ec8=>_0x472ec8[_0x446dd5(0x3a0)]))[_0x446dd5(0xc4)]()[_0x446dd5(0x1a6)](_0x45acaf=>({'range':_0x45acaf,'unitId':_0x743dc7[0x0][_0x446dd5(0x3d7)],'subUnitId':_0x743dc7[0x0][_0x446dd5(0x3df)],'showText':_0x743dc7[0x0]['showText'],'highlightRow':_0x743dc7[0x0][_0x446dd5(0x2e5)],'highlightColumn':_0x743dc7[0x0][_0x446dd5(0x3bb)]})))['flat']();}};_0x3222ce=_0x5b67f4([_0x3d005c(0x0,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x1,_0x4f87fc[_0x4f2e97(0x1fd)]),_0x3d005c(0x2,_0x4f87fc['ISnapshotServerService']),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x337aad[_0x4f2e97(0x243)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x3faaa0[_0x4f2e97(0x422)])),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x217de1[_0x4f2e97(0x1cb)])),_0x3d005c(0x6,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x41ff64['SheetsFilterService'])),_0x3d005c(0x7,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x902a7b[_0x4f2e97(0x255)])),_0x3d005c(0x8,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x7a8479[_0x4f2e97(0xd4)])),_0x3d005c(0x9,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x16c297[_0x4f2e97(0x359)])),_0x3d005c(0xa,(0x0,_0x1467aa['Inject'])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0xb,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0xd50e28[_0x4f2e97(0x380)])),_0x3d005c(0xc,(0x0,_0x1467aa['Inject'])(_0x20ac2d))],_0x3222ce);function _0x658723(_0xcc946d){const _0x1e2c16=_0x4f2e97;return new _0x1467aa['ObjectMatrix'](_0xcc946d)[_0x1e2c16(0x338)]();}function _0x377f87(_0x589fa6){const _0x30eb82=_0x4f2e97;let _0x2eafb8=new _0x1467aa[(_0x30eb82(0x444))](_0x589fa6),_0x584d00=new _0x1467aa['ObjectMatrix']();return _0x2eafb8[_0x30eb82(0x247)]((_0x269f6b,_0x5d1235)=>{const _0x83228=_0x30eb82;_0x584d00[_0x83228(0x17c)](_0x269f6b,_0x5d1235,0x1);}),(0x0,_0x337aad[_0x30eb82(0x3c7)])(_0x584d00);}var _0x206b58=class extends _0x93fecc[_0x4f2e97(0x3be)]{constructor(_0x365026,_0x56fcd6){const _0x172c7b=_0x4f2e97;if(super(_0x365026,_0x56fcd6),_0x509a17(this,_0x172c7b(0x177),void 0x0),_0x509a17(this,'_direction',void 0x0),_0x509a17(this,'_highlight',void 0x0),_0x509a17(this,_0x172c7b(0x43a),0x4),_0x509a17(this,_0x172c7b(0x11f),void 0x0),_0x509a17(this,_0x172c7b(0x281),void 0x0),_0x509a17(this,'_isBlinkVisible',!0x0),_0x509a17(this,_0x172c7b(0x30e),''),_0x509a17(this,_0x172c7b(0x425),!0x1),_0x509a17(this,'_labelPosition',_0x172c7b(0x3f7)),_0x509a17(this,_0x172c7b(0x171),void 0x0),_0x56fcd6){var _0x3e2ef9;if(this[_0x172c7b(0x231)](_0x56fcd6),_0x56fcd6[_0x172c7b(0x403)]&&((_0x3e2ef9=_0x56fcd6[_0x172c7b(0x40a)])==null?this[_0x172c7b(0x43a)]:_0x3e2ef9)){var _0x3aff82;this[_0x172c7b(0x432)]((_0x3aff82=_0x56fcd6[_0x172c7b(0x40a)])==null?this[_0x172c7b(0x43a)]:_0x3aff82);}}this[_0x172c7b(0x270)][_0x172c7b(0x27c)](()=>this[_0x172c7b(0x231)]({'hovered':!0x0})),this[_0x172c7b(0x33e)][_0x172c7b(0x27c)](()=>this[_0x172c7b(0x231)]({'hovered':!0x1}));}['setShapeProps'](_0x1a1086){const _0x37f6b2=_0x4f2e97;var _0x1a8eda,_0x2f266e,_0x2de907,_0x562aeb,_0x76e36a,_0x108a9b;this[_0x37f6b2(0x177)]=(_0x1a8eda=_0x1a1086['color'])==null?this['_color']:_0x1a8eda,this['_direction']=(_0x2f266e=_0x1a1086[_0x37f6b2(0x412)])==null?this[_0x37f6b2(0x1ea)]:_0x2f266e,this[_0x37f6b2(0x30e)]=(_0x2de907=_0x1a1086[_0x37f6b2(0x215)])==null?this[_0x37f6b2(0x30e)]:_0x2de907,this[_0x37f6b2(0x425)]=(_0x562aeb=_0x1a1086[_0x37f6b2(0x17b)])==null?this['_hovered']:_0x562aeb,this[_0x37f6b2(0x2a9)]=(_0x76e36a=_0x1a1086[_0x37f6b2(0x311)])==null?this[_0x37f6b2(0x2a9)]:_0x76e36a,this[_0x37f6b2(0x171)]=(_0x108a9b=_0x1a1086[_0x37f6b2(0x2fb)])==null?this[_0x37f6b2(0x171)]:_0x108a9b,_0x1a1086[_0x37f6b2(0x40a)]!==void 0x0&&(this['_highlightSecond']=_0x1a1086[_0x37f6b2(0x40a)]),_0x1a1086[_0x37f6b2(0x403)]!==void 0x0&&(this[_0x37f6b2(0x2ab)]=_0x1a1086[_0x37f6b2(0x403)]),this[_0x37f6b2(0x32e)]({'width':_0x1a1086[_0x37f6b2(0x296)],'height':_0x1a1086[_0x37f6b2(0x1a1)]});}[_0x4f2e97(0x432)](_0x46b987){const _0x4faeaa=_0x4f2e97;this[_0x4faeaa(0x38b)](),this[_0x4faeaa(0x3f5)]=!0x0,this['_blinkIntervalTimer']=window[_0x4faeaa(0x20e)](()=>{const _0x287950=_0x4faeaa;this['_isBlinkVisible']=!this[_0x287950(0x3f5)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x22dfd9=_0x4faeaa;this[_0x22dfd9(0x38b)](),this[_0x22dfd9(0x3f5)]=!0x0,this[_0x22dfd9(0xfd)](!0x0);},_0x46b987*0x3e8);}['_stopBlinking'](){const _0x599615=_0x4f2e97;this['_blinkIntervalTimer']&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x599615(0x281)]=void 0x0),this[_0x599615(0x11f)]&&(window['clearTimeout'](this['_blinkTimer']),this[_0x599615(0x11f)]=void 0x0);}[_0x4f2e97(0x392)](_0x52f1b2){return!0x1;}[_0x4f2e97(0x282)](){const _0x159cea=_0x4f2e97;this[_0x159cea(0x38b)](),super[_0x159cea(0x282)]();}[_0x4f2e97(0x251)](_0x239780){const _0x4c394d=_0x4f2e97;let _0x320bdd=this['_color'];this[_0x4c394d(0x2ab)]&&!this[_0x4c394d(0x3f5)]&&(_0x320bdd=this['_getLighterColor'](this[_0x4c394d(0x177)])),_0x239780[_0x4c394d(0x394)](),_0x239780['strokeStyle']=_0x320bdd,_0x239780[_0x4c394d(0x305)]=_0x320bdd,_0x239780[_0x4c394d(0x398)]=0x4,this[_0x4c394d(0x1ea)]==='horizontal'?this[_0x4c394d(0x25e)](_0x239780):this[_0x4c394d(0x1d1)](_0x239780),_0x239780['restore'](),(this[_0x4c394d(0x425)]||this[_0x4c394d(0x171)])&&this['_name']&&(_0x239780['save'](),this[_0x4c394d(0x1ea)]===_0x4c394d(0x321)?_0x239780[_0x4c394d(0x227)](0x1,0x0,0x0,0x1,this[_0x4c394d(0x296)],this[_0x4c394d(0x2a9)]==='bottom'?0x0:-0x14):_0x239780['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c394d(0x2a9)]==='bottom'?this['height']:-0x14),this[_0x4c394d(0xcd)](_0x239780,this[_0x4c394d(0x30e)],_0x320bdd),_0x239780[_0x4c394d(0x245)]());}[_0x4f2e97(0x25e)](_0xf23d38){const _0x11d3a2=_0x4f2e97;let _0x4f83e4=this[_0x11d3a2(0x1a1)]/0x2,_0xe06525=this['width']-0xc;_0xf23d38[_0x11d3a2(0x131)](),_0xf23d38['moveTo'](0xc,_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](_0xe06525,_0x4f83e4),_0xf23d38[_0x11d3a2(0x278)](),_0xf23d38['beginPath'](),_0xf23d38[_0x11d3a2(0x2b3)](0x0,_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](0xc,_0x4f83e4-0xc/0x2),_0xf23d38['lineTo'](0xc,_0x4f83e4+0xc/0x2),_0xf23d38[_0x11d3a2(0x13e)](),_0xf23d38[_0x11d3a2(0x1ef)](),_0xf23d38[_0x11d3a2(0x131)](),_0xf23d38[_0x11d3a2(0x2b3)](this['width'],_0x4f83e4),_0xf23d38[_0x11d3a2(0x41f)](this[_0x11d3a2(0x296)]-0xc,_0x4f83e4-0xc/0x2),_0xf23d38[_0x11d3a2(0x41f)](this['width']-0xc,_0x4f83e4+0xc/0x2),_0xf23d38[_0x11d3a2(0x13e)](),_0xf23d38['fill']();}['_drawVerticalArrow'](_0x17c386){const _0x47ca46=_0x4f2e97;let _0x3ca478=this[_0x47ca46(0x296)]/0x2,_0x5ed5ed=this[_0x47ca46(0x1a1)]-0xc;_0x17c386[_0x47ca46(0x131)](),_0x17c386['moveTo'](_0x3ca478,0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478,_0x5ed5ed),_0x17c386[_0x47ca46(0x278)](),_0x17c386['beginPath'](),_0x17c386[_0x47ca46(0x2b3)](_0x3ca478,0x0),_0x17c386[_0x47ca46(0x41f)](_0x3ca478-0xc/0x2,0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478+0xc/0x2,0xc),_0x17c386['closePath'](),_0x17c386[_0x47ca46(0x1ef)](),_0x17c386[_0x47ca46(0x131)](),_0x17c386[_0x47ca46(0x2b3)](_0x3ca478,this[_0x47ca46(0x1a1)]),_0x17c386['lineTo'](_0x3ca478-0xc/0x2,this[_0x47ca46(0x1a1)]-0xc),_0x17c386[_0x47ca46(0x41f)](_0x3ca478+0xc/0x2,this[_0x47ca46(0x1a1)]-0xc),_0x17c386[_0x47ca46(0x13e)](),_0x17c386[_0x47ca46(0x1ef)]();}[_0x4f2e97(0xcd)](_0x51e611,_0x1f6cc1,_0x4c0f3d){const _0x367017=_0x4f2e97;_0x51e611[_0x367017(0x14f)]=_0x367017(0x2e6);let _0xd680b9=_0x51e611[_0x367017(0x161)](_0x1f6cc1)[_0x367017(0x296)],_0x3bbb70=Math[_0x367017(0x36a)](_0xd680b9+0x8,0xc8);if(_0x51e611[_0x367017(0x305)]=_0x4c0f3d,_0x51e611[_0x367017(0x131)](),_0x51e611[_0x367017(0x2b3)](0x4,0x0),_0x51e611[_0x367017(0x41f)](_0x3bbb70-0x4,0x0),_0x51e611[_0x367017(0x346)](_0x3bbb70-0x4,0x4,0x4,Math['PI']*0x3/0x2,0x0,!0x1),_0x51e611['lineTo'](_0x3bbb70,0x10),_0x51e611['arc'](_0x3bbb70-0x4,0x10,0x4,0x0,Math['PI']/0x2,!0x1),_0x51e611['lineTo'](0x0,0x14),_0x51e611[_0x367017(0x41f)](0x0,0x4),_0x51e611[_0x367017(0x346)](0x4,0x4,0x4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51e611[_0x367017(0x13e)](),_0x51e611[_0x367017(0x1ef)](),_0x51e611[_0x367017(0x305)]=_0x367017(0x119),_0xd680b9>0xc0){let _0x4936cb='',_0x1364b1=0x0;for(let _0x547f of _0x1f6cc1){let _0x5de511=_0x51e611[_0x367017(0x161)](_0x547f)['width'];if(_0x1364b1+_0x5de511<=0xc0-_0x51e611[_0x367017(0x161)](_0x367017(0x3fc))[_0x367017(0x296)])_0x4936cb+=_0x547f,_0x1364b1+=_0x5de511;else{_0x4936cb+='...';break;}}_0x51e611[_0x367017(0x204)](_0x4936cb,0x4,0xf);}else _0x51e611[_0x367017(0x204)](_0x1f6cc1,0x4,0xf);}['_getLighterColor'](_0x44c7d9){const _0x5bad3e=_0x4f2e97;return _0x44c7d9[_0x5bad3e(0x3b6)]('#')?'rgba('+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x1,0x3),0x10)+',\x20'+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x3,0x5),0x10)+',\x20'+Number[_0x5bad3e(0x42b)](_0x44c7d9[_0x5bad3e(0xf5)](0x5,0x7),0x10)+_0x5bad3e(0x37d):_0x44c7d9[_0x5bad3e(0x3b6)](_0x5bad3e(0x2dd))?_0x44c7d9[_0x5bad3e(0x14b)](/[\d.]+\)$/g,'0.2)'):_0x44c7d9[_0x5bad3e(0x3b6)]('rgb')?_0x44c7d9['replace'](_0x5bad3e(0x213),_0x5bad3e(0x2dd))[_0x5bad3e(0x14b)](')',_0x5bad3e(0x37d)):_0x44c7d9;}};let _0x5ab053=class extends _0x1467aa['Disposable']{constructor(_0x3b7727,_0x2f0de9,_0x2f24c5,_0x47cd30,_0x2edcfd,_0x2c2fec,_0x1825cc,_0x298043){const _0x18366f=_0x4f2e97;super(),this[_0x18366f(0x324)]=_0x3b7727,this['_historyManagerService']=_0x2f0de9,this[_0x18366f(0x2fe)]=_0x2f24c5,this[_0x18366f(0x43f)]=_0x47cd30,this[_0x18366f(0x1ee)]=_0x2edcfd,this[_0x18366f(0xe8)]=_0x2c2fec,this['_commandService']=_0x1825cc,this[_0x18366f(0x293)]=_0x298043,_0x509a17(this,_0x18366f(0x235),new Set()),_0x509a17(this,_0x18366f(0x155),new Set()),_0x509a17(this,_0x18366f(0x27a),new Set()),_0x509a17(this,'_drawingDiffs',new Set()),_0x509a17(this,_0x18366f(0x203),null),this[_0x18366f(0x29d)]();}['_init'](){const _0x11d672=_0x4f2e97;this[_0x11d672(0x1eb)](),this[_0x11d672(0x1fb)]();}['_initRender'](){const _0x4f939d=_0x4f2e97;this[_0x4f939d(0x285)]((0x0,_0x197ec0[_0x4f939d(0x3f8)])([this['_historyManagerService'][_0x4f939d(0x2e2)],this[_0x4f939d(0xe8)]['currentSkeleton$']])[_0x4f939d(0x229)]((0x0,_0x197ec0['switchMap'])(([_0x364273,_0xc7f5e5])=>{const _0x53d4a4=_0x4f939d;if(_0x364273==='loaded'&&_0xc7f5e5){let _0x19af7a=_0xc7f5e5[_0x53d4a4(0x2a1)];return this['_versionDiffService'][_0x53d4a4(0x40f)][_0x53d4a4(0x229)]((0x0,_0x197ec0['map'])(_0x27c7c9=>_0x27c7c9[_0x53d4a4(0x3c2)][_0x53d4a4(0x166)]===0x0||_0x27c7c9[_0x53d4a4(0x3c2)][_0x53d4a4(0x3e5)](_0x19af7a)?{'skeleton':_0xc7f5e5,'versionDiff':_0x27c7c9,'sheetID':_0x19af7a}:{'skeleton':_0xc7f5e5,'versionDiff':null}));}return(0x0,_0x197ec0['of'])({'skeleton':null,'versionDiff':null,'sheetID':null});}))[_0x4f939d(0x3a9)](({skeleton:_0x506450,versionDiff:_0x2a8733,sheetID:_0x398d23})=>{const _0x36fa0a=_0x4f939d;this[_0x36fa0a(0x168)](),_0x506450&&_0x2a8733&&_0x398d23&&this[_0x36fa0a(0x25c)](_0x506450,_0x2a8733,_0x398d23);})),this[_0x4f939d(0x285)](this['_sheetSkeletonManagerService'][_0x4f939d(0x274)][_0x4f939d(0x3a9)](_0x2422dc=>{const _0x125286=_0x4f939d;if(_0x2422dc==null)return;let {skeleton:_0x1f8beb}=_0x2422dc,{scene:_0x50ab58}=this['_context'];_0x50ab58[_0x125286(0x211)][_0x125286(0x27c)]((0x0,_0x1467aa['debounce'])(_0x193058=>{const _0x43427c=_0x125286;var _0x49a818,_0x179c1e;let {offsetX:_0x24baf7,offsetY:_0x53500f}=_0x193058,{x:_0x13e5e5,y:_0x10b660}=_0x50ab58[_0x43427c(0x389)](_0x93fecc[_0x43427c(0x100)][_0x43427c(0x126)]([_0x24baf7,_0x53500f])),{scaleX:_0x24f380,scaleY:_0x3c1fbf}=_0x50ab58[_0x43427c(0x42c)](),_0x375392=_0x50ab58['getViewport'](_0x93fecc[_0x43427c(0x418)]['VIEW_MAIN']),_0x52b366=_0x50ab58[_0x43427c(0xc1)](_0x93fecc['Vector2'][_0x43427c(0x126)]([_0x13e5e5,_0x10b660]),_0x375392),_0x114653=_0x1f8beb[_0x43427c(0x125)](_0x24baf7,_0x53500f,_0x24f380,_0x3c1fbf,_0x52b366);((_0x49a818=this[_0x43427c(0x203)])==null?void 0x0:_0x49a818[_0x43427c(0x3d1)])===_0x114653['column']&&((_0x179c1e=this[_0x43427c(0x203)])==null?void 0x0:_0x179c1e[_0x43427c(0x250)])===_0x114653[_0x43427c(0x250)]||this['_diffs']['forEach'](_0x303fa9=>{const _0x114d58=_0x43427c;_0x303fa9[_0x114d58(0x116)]||_0x303fa9[_0x114d58(0x220)](_0x114653);});},0x64));}));}[_0x4f2e97(0x1fb)](){const _0x854900=_0x4f2e97;this['disposeWithMe'](this[_0x854900(0x436)][_0x854900(0x2e2)][_0x854900(0x3a9)](_0x29ec99=>{const _0x1dba22=_0x854900;let _0x1b007f=new _0x1467aa['DisposableCollection']();return _0x29ec99===_0x1dba22(0x415)&&(_0x1b007f[_0x1dba22(0x282)](),_0x1b007f[_0x1dba22(0xb4)](this['_versionDiffService']['currentVersionDiff$'][_0x1dba22(0x3a9)](_0x5214c0=>{const _0x5d2054=_0x1dba22;this['_updateWorksheetVisibility'](_0x5214c0[_0x5d2054(0x3c2)]),_0x5214c0[_0x5d2054(0x199)]&&this['_commandService'][_0x5d2054(0x217)](_0x337aad[_0x5d2054(0x197)]['id'],{'unitId':this['_context'][_0x5d2054(0x3d7)],'subUnitId':_0x5214c0[_0x5d2054(0x199)]});}))),()=>_0x1b007f['dispose']();}));}[_0x4f2e97(0x183)](_0x49b973){const _0xaf718d=_0x4f2e97;let _0x5439b7=this[_0xaf718d(0x43f)][_0xaf718d(0xbb)](this[_0xaf718d(0x324)][_0xaf718d(0x3d7)],_0x1467aa['UniverInstanceType'][_0xaf718d(0x407)]);if(!_0x5439b7)return;let _0x5d11bb=_0x5439b7[_0xaf718d(0x420)]();if(_0x49b973['length']===0x0){_0x5d11bb['forEach'](_0x5cfa8c=>{const _0x2c8756=_0xaf718d;_0x5cfa8c[_0x2c8756(0x170)]()&&this[_0x2c8756(0x29e)]['executeCommand'](_0x337aad[_0x2c8756(0x2dc)]['id'],{'unitId':this[_0x2c8756(0x324)][_0x2c8756(0x3d7)],'subUnitId':_0x5cfa8c[_0x2c8756(0xde)](),'hidden':0x0});});return;}_0x5d11bb[_0xaf718d(0x1c2)](_0x4cdf22=>{const _0x5363b1=_0xaf718d;let _0x5a4236=_0x4cdf22['getSheetId'](),_0x21b908=_0x49b973[_0x5363b1(0x3e5)](_0x5a4236),_0x4baeba=_0x4cdf22[_0x5363b1(0x170)]();_0x21b908&&_0x4baeba?this[_0x5363b1(0x29e)][_0x5363b1(0x217)](_0x337aad[_0x5363b1(0x2dc)]['id'],{'unitId':this['_context']['unitId'],'subUnitId':_0x5a4236,'hidden':0x0}):!_0x21b908&&!_0x4baeba&&this[_0x5363b1(0x29e)][_0x5363b1(0x217)](_0x337aad[_0x5363b1(0x2dc)]['id'],{'unitId':this['_context'][_0x5363b1(0x3d7)],'subUnitId':_0x5a4236,'hidden':0x1});});}[_0x4f2e97(0x25c)](_0x2b4973,_0x22ee38,_0x4089c4){const _0x32bb09=_0x4f2e97;this['_diffs']['forEach'](_0x2a9d9d=>{const _0x711b23=_0x352b;_0x2a9d9d[_0x711b23(0xfd)]();});let _0x515785=this['generateDiffMarks'](_0x22ee38,_0x4089c4);this[_0x32bb09(0x235)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x235f89=>_0x235f89 instanceof _0x3ff568[_0x32bb09(0x30a)])),this[_0x32bb09(0x155)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x25dc2d=>_0x25dc2d instanceof _0x93fecc[_0x32bb09(0x20c)])),this[_0x32bb09(0x27a)]=new Set(_0x515785[_0x32bb09(0xe2)](_0x444262=>_0x444262 instanceof _0x206b58)),_0x515785['length']>0x0&&this[_0x32bb09(0x22b)](_0x515785[0x0],this['_context']['scene']);}[_0x4f2e97(0x3fb)](_0x3dd186,_0x5f53f7){const _0x283908=_0x4f2e97;let _0x44814f=this[_0x283908(0xe8)][_0x283908(0x3e0)]();if(!_0x44814f)return[];let {scene:_0x3e7a24}=this[_0x283908(0x324)],_0x552215=[],_0x496cc1=_0x1ed970=>{const _0x3f97e4=_0x283908;if(!_0x1ed970)return new Map();let _0x307bb8=new Map();return _0x1ed970[_0x3f97e4(0x1c2)]((_0x57fb41,_0x3ae8fd)=>{const _0x471519=_0x3f97e4;let _0x327c61=_0x57fb41[_0x471519(0xe2)](_0x1f3874=>_0x1f3874[_0x471519(0x3df)]===_0x5f53f7);_0x327c61[_0x471519(0x166)]>0x0&&_0x307bb8[_0x471519(0x1bd)](_0x3ae8fd,_0x327c61);}),_0x307bb8;};return this[_0x283908(0x36e)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186['insertCellRanges']),_0x283908(0xbf),_0x552215),this['_renderCellRanges'](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x2c8)]),_0x283908(0x127),_0x552215),this[_0x283908(0x36e)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x355)]),_0x283908(0x1cd),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x33d)]),_0x283908(0xbf),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x10b)]),_0x283908(0x127),_0x552215),this[_0x283908(0x34d)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x1cf)]),_0x283908(0x1cd),_0x552215),this[_0x283908(0x350)](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x207)]),_0x283908(0x2fc),_0x552215),this['_renderArrowRanges'](_0x3e7a24,_0x44814f,_0x496cc1(_0x3dd186[_0x283908(0x2ff)]),'horizontal',_0x552215),_0x3dd186[_0x283908(0x1de)]&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186[_0x283908(0x1de)],'rgba(46,125,50,0.5)',_0x552215),_0x3dd186[_0x283908(0x21f)]&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186[_0x283908(0x21f)],_0x283908(0x127),_0x552215),_0x3dd186['updateDrawings']&&this[_0x283908(0x2a6)](_0x3e7a24,_0x3dd186['updateDrawings'],_0x283908(0x1cd),_0x552215),this[_0x283908(0x319)](_0x552215),_0x3e7a24[_0x283908(0x361)](_0x552215,0x14),_0x552215;}[_0x4f2e97(0x123)](){const _0x57a770=_0x4f2e97;this['_diffs'][_0x57a770(0x1c2)](_0x40670f=>{_0x40670f['hide']();}),this['_borderDiffs'][_0x57a770(0x1c2)](_0x9f11e5=>{const _0x19d9c6=_0x57a770;_0x9f11e5[_0x19d9c6(0x160)]();}),this[_0x57a770(0x27a)]['forEach'](_0x366c56=>{const _0x3579f4=_0x57a770;_0x366c56[_0x3579f4(0x160)]();});}['showDiffMarks'](){const _0x376043=_0x4f2e97;this['_diffs'][_0x376043(0x1c2)](_0x1ba715=>{const _0x161922=_0x376043;_0x1ba715[_0x161922(0x1a9)]();}),this['_borderDiffs']['forEach'](_0x17a3be=>{const _0x25ee6f=_0x376043;_0x17a3be[_0x25ee6f(0x1a9)]();}),this[_0x376043(0x27a)]['forEach'](_0x3f9fb6=>{_0x3f9fb6['show']();});}['removeDiffMarks'](){const _0xd9c6ec=_0x4f2e97;this[_0xd9c6ec(0x168)]();}[_0x4f2e97(0x180)](_0x3b88d7,_0x53af67){const _0x5087fb=_0x4f2e97;this[_0x5087fb(0x22b)](_0x3b88d7,_0x53af67);}[_0x4f2e97(0x36e)](_0x48352e,_0xb75246,_0xb9595a,_0x244d5b,_0x4f03c5){const _0x35c979=_0x4f2e97;_0xb9595a[_0x35c979(0x1c2)]((_0x5a32bd,_0x4c20f4)=>{const _0x27877f=_0x35c979;_0x5a32bd[_0x27877f(0x1c2)](_0x126aea=>{const _0x14f4bc=_0x27877f;var _0x2c05c4;let {range:_0x38bbdc,subUnitId:_0x26e232,unitId:_0x9b6151,showText:_0x19805d='',highlightColumn:_0x360767,highlightRow:_0x356dfa}=_0x126aea,{startColumn:_0x3c5981,startRow:_0x57d606,endColumn:_0x4daeca,endRow:_0x4e0a69}=_0x38bbdc,_0x1f6672=(0x0,_0x30725c[_0x14f4bc(0x146)])(_0x57d606,_0x3c5981,_0x48352e,_0xb75246),_0x3cb410=(0x0,_0x30725c[_0x14f4bc(0x146)])(_0x4e0a69,_0x4daeca,_0x48352e,_0xb75246),{columnHeaderHeightAndMarginTop:_0x5537d1}=_0xb75246,{startX:_0x35e80e,startY:_0x1df362}=_0x1f6672,{endX:_0x31ef03,endY:_0x3a52a2}=_0x3cb410,_0x15e469=_0xb75246['rowHeaderWidth'],_0x44a3b1=_0xb75246[_0x14f4bc(0x14d)];_0x356dfa&&(_0x35e80e-=_0x15e469),_0x360767&&(_0x1df362-=_0x44a3b1);let _0x17d523=_0x31ef03-_0x35e80e,_0x438517=_0x3a52a2-_0x1df362,_0x19ed96={'labelPosition':_0x1df362-_0x5537d1>=0x14?_0x14f4bc(0x3f7):'bottom','sheetID':_0x26e232,'range':_0x38bbdc,'color':_0x244d5b,'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x244d5b,'name':((_0x2c05c4=this[_0x14f4bc(0x436)]['getMember'](_0x4c20f4))==null?void 0x0:_0x2c05c4[_0x14f4bc(0x215)])+'\x20'+_0x19805d||_0x19805d,'selection':_0x9b6151+'-'+_0x26e232+'-'+_0x38bbdc[_0x14f4bc(0x292)]+'-'+_0x38bbdc[_0x14f4bc(0x3ae)]+'-'+_0x38bbdc[_0x14f4bc(0x3fd)]+'-'+_0x38bbdc[_0x14f4bc(0x31a)],'left':_0x35e80e,'top':_0x1df362,'width':_0x17d523,'height':_0x438517,'evented':!0x1,'zIndex':0x3e8,'highlight':!0x0};_0x4f03c5['push'](new _0x3ff568['SheetCollabCursorShape']('',_0x19ed96));});});}[_0x4f2e97(0x34d)](_0x2cf26c,_0x3d4bd1,_0x33ed39,_0x2b4753,_0x524058){_0x33ed39['forEach']((_0x493268,_0x5cf477)=>{const _0x13adb3=_0x352b;_0x493268[_0x13adb3(0x1c2)](_0x552d4b=>{const _0x3dd8a8=_0x13adb3;var _0x540826;let {range:_0x160cfb,subUnitId:_0x38988f,unitId:_0x5a07a2,showText:_0x1fb87f=''}=_0x552d4b,{startColumn:_0x338a20,startRow:_0x458457,endColumn:_0xcd2f5b,endRow:_0x1d0c9f}=_0x160cfb,_0x597f2a=(0x0,_0x30725c[_0x3dd8a8(0x146)])(_0x458457,_0x338a20,_0x2cf26c,_0x3d4bd1),_0x1e7a8f=(0x0,_0x30725c['getCoordByCell'])(_0x1d0c9f,_0xcd2f5b,_0x2cf26c,_0x3d4bd1),{columnHeaderHeightAndMarginTop:_0x15cc31}=_0x3d4bd1,{startX:_0x20920f,startY:_0x49b22f}=_0x597f2a,{endX:_0x409911,endY:_0x2f6d37}=_0x1e7a8f,_0x1c32c0=_0x409911-_0x20920f,_0x1c4398=_0x2f6d37-_0x49b22f,_0x51e10e={'labelPosition':_0x49b22f-_0x15cc31>=0x14?_0x3dd8a8(0x3f7):_0x3dd8a8(0x17f),'sheetID':_0x38988f,'range':_0x160cfb,'color':_0x2b4753,'fillAfterStrokeEnabled':!0x1,'backgroundColor':_0x3dd8a8(0x1ca),'name':((_0x540826=this[_0x3dd8a8(0x436)][_0x3dd8a8(0x446)](_0x5cf477))==null?void 0x0:_0x540826[_0x3dd8a8(0x215)])+'\x20'+_0x1fb87f||_0x1fb87f,'selection':_0x5a07a2+'-'+_0x38988f+'-'+_0x160cfb[_0x3dd8a8(0x292)]+'-'+_0x160cfb[_0x3dd8a8(0x3ae)]+'-'+_0x160cfb[_0x3dd8a8(0x3fd)]+'-'+_0x160cfb[_0x3dd8a8(0x31a)],'left':_0x20920f-0xc/0x2,'top':_0x49b22f-0xc/0x2,'width':_0x1c32c0,'height':_0x1c4398,'evented':!0x1,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0};_0x524058[_0x3dd8a8(0x16c)](new _0x3ff568[(_0x3dd8a8(0x30a))]('',_0x51e10e));});});}[_0x4f2e97(0x350)](_0x411601,_0x5bf610,_0x400acf,_0x2bab7a,_0xe8a472){const _0x432498=_0x4f2e97;let _0x3ad204=_0x5bf610[_0x432498(0x10d)],_0x3efb10=_0x5bf610[_0x432498(0x14d)];_0x400acf['forEach']((_0x4deb98,_0x235089)=>{_0x4deb98['forEach'](_0x59d6ee=>{const _0x5374d0=_0x352b;let {range:_0x49159c,showText:_0x1295b3=''}=_0x59d6ee,{startColumn:_0x49f7d2,startRow:_0x5024de,endColumn:_0x58fd1a,endRow:_0x4e59b6}=_0x49159c,_0x52cc76=(0x0,_0x30725c[_0x5374d0(0x146)])(_0x5024de,_0x49f7d2,_0x411601,_0x5bf610),_0x10bf5b=(0x0,_0x30725c[_0x5374d0(0x146)])(_0x4e59b6,_0x58fd1a,_0x411601,_0x5bf610),{startX:_0x4ad631,startY:_0x3ff4dc}=_0x52cc76,{endX:_0x36d8af,endY:_0x3ded82}=_0x10bf5b,{columnHeaderHeightAndMarginTop:_0x41cfb1}=_0x5bf610,_0x5263b7;if(_0x2bab7a===_0x5374d0(0x321)){var _0x57f546;_0x5263b7=new _0x206b58('',{'color':_0x5374d0(0x1cd),'direction':'horizontal','left':_0x4ad631,'top':0x2,'width':_0x36d8af-_0x4ad631,'height':_0x3efb10-0x4,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x57f546=this[_0x5374d0(0x436)]['getMember'](_0x235089))==null?void 0x0:_0x57f546[_0x5374d0(0x215)])+'\x20'+_0x1295b3||_0x1295b3,'labelPosition':_0x3ff4dc-_0x41cfb1>=0x14?_0x5374d0(0x3f7):_0x5374d0(0x17f)}),_0xe8a472[_0x5374d0(0x16c)](_0x5263b7);}else{var _0x16c1e7;let _0x32792c=_0x3ded82-_0x3ff4dc;_0x5263b7=new _0x206b58('',{'color':'rgba(21,101,192,0.5)','direction':_0x5374d0(0x2fc),'left':0x2,'top':_0x3ff4dc,'width':_0x3ad204-0x4,'height':_0x32792c,'evented':!0x0,'zIndex':0x3e9,'highlight':!0x0,'highlightSecond':0x4,'name':((_0x16c1e7=this['_historyManagerService'][_0x5374d0(0x446)](_0x235089))==null?void 0x0:_0x16c1e7[_0x5374d0(0x215)])+'\x20'+_0x1295b3||_0x1295b3,'labelPosition':_0x5374d0(0x3f7)}),_0xe8a472[_0x5374d0(0x16c)](_0x5263b7);}});});}[_0x4f2e97(0x2a6)](_0x25916f,_0x3d41cb,_0x580bcc,_0x43d9c1){const _0x5a4140=_0x4f2e97;let _0x3f07e8=this[_0x5a4140(0xe8)][_0x5a4140(0x3e0)]();if(!_0x3f07e8)return;let {columnHeaderHeightAndMarginTop:_0x37493c}=_0x3f07e8;_0x3d41cb[_0x5a4140(0x1c2)]((_0x131e54,_0x3b679c)=>{const _0x459aa3=_0x5a4140;_0x131e54[_0x459aa3(0x1c2)](_0x14c713=>{const _0x203dc8=_0x459aa3;var _0x13a0ce;let {drawingId:_0x13ce36,unitId:_0x2fea77,subUnitId:_0xa7028f,showText:_0x42641e=''}=_0x14c713,_0x4a9ec0=this[_0x203dc8(0x293)][_0x203dc8(0x24b)]({'unitId':_0x2fea77,'subUnitId':_0xa7028f,'drawingId':_0x13ce36});if(!_0x4a9ec0||!_0x4a9ec0[_0x203dc8(0x227)])return;let {left:_0x54d7a9=0x0,top:_0x39c051=0x0,width:_0x244ade,height:_0x3ed3a6}=_0x4a9ec0['transform'],_0x87ca09=new _0x3ff568[(_0x203dc8(0x30a))]('',{'labelPosition':_0x39c051-_0x37493c>=0x14?_0x203dc8(0x3f7):_0x203dc8(0x17f),'sheetID':_0xa7028f,'range':{'startRow':0x0,'startColumn':0x0,'endRow':0x0,'endColumn':0x0},'color':_0x580bcc,'fillAfterStrokeEnabled':!0x1,'backgroundColor':'transparent','name':((_0x13a0ce=this[_0x203dc8(0x436)][_0x203dc8(0x446)](_0x3b679c))==null?void 0x0:_0x13a0ce[_0x203dc8(0x215)])+'\x20'+_0x42641e||_0x42641e,'selection':_0x2fea77+'-'+_0xa7028f+_0x203dc8(0x254)+_0x13ce36,'left':_0x54d7a9-0xc/0x2,'top':_0x39c051-0xc/0x2,'width':_0x244ade,'height':_0x3ed3a6,'evented':!0x0,'zIndex':0x3e8,'strokeWidth':0xc,'highlight':!0x0});_0x87ca09[_0x203dc8(0x270)][_0x203dc8(0x27c)](()=>{const _0x32a04c=_0x203dc8;this['_findOverlappingShapes'](_0x87ca09,_0x43d9c1)[_0x32a04c(0x1c2)](_0x1029b9=>{const _0x1f72c3=_0x32a04c;_0x1029b9 instanceof _0x3ff568[_0x1f72c3(0x30a)]&&_0x1029b9[_0x1f72c3(0x231)]({'hovered':!0x0});});}),_0x87ca09[_0x203dc8(0x33e)][_0x203dc8(0x27c)](()=>{this['_findOverlappingShapes'](_0x87ca09,_0x43d9c1)['forEach'](_0x9f0c2e=>{const _0x3ba170=_0x352b;_0x9f0c2e instanceof _0x3ff568['SheetCollabCursorShape']&&_0x9f0c2e[_0x3ba170(0x231)]({'hovered':!0x1});});}),_0x43d9c1[_0x203dc8(0x16c)](_0x87ca09);});});}[_0x4f2e97(0x168)](){const _0xc3435e=_0x4f2e97;var _0xa806a2,_0x6c4450,_0x44a407,_0x1f812c;(_0xa806a2=this[_0xc3435e(0x235)])==null||_0xa806a2[_0xc3435e(0x1c2)](_0x59bd93=>_0x59bd93['dispose']()),(_0x6c4450=this[_0xc3435e(0x155)])==null||_0x6c4450[_0xc3435e(0x1c2)](_0x41e36a=>_0x41e36a[_0xc3435e(0x282)]()),(_0x44a407=this['_arrowDiffs'])==null||_0x44a407[_0xc3435e(0x1c2)](_0xa11f80=>_0xa11f80[_0xc3435e(0x282)]()),(_0x1f812c=this[_0xc3435e(0x2ca)])==null||_0x1f812c['forEach'](_0x310357=>_0x310357[_0xc3435e(0x282)]());}[_0x4f2e97(0x319)](_0x51e59c){const _0x4a02d5=_0x4f2e97;let _0x253206=_0x51e59c[_0x4a02d5(0xe2)](_0x5208e7=>_0x5208e7 instanceof _0x3ff568['SheetCollabCursorShape']);if(_0x253206[_0x4a02d5(0x166)]===0x0)return;let _0xc5dfa8=[],_0x34d5a8=new Set();_0x253206[_0x4a02d5(0x1c2)](_0x3e590c=>{const _0x3ca5fe=_0x4a02d5;if(_0x34d5a8[_0x3ca5fe(0x16b)](_0x3e590c))return;let _0x375808=_0x3e590c[_0x3ca5fe(0xc7)]||0x0,_0x2758c3=_0x3e590c['top']||0x0,_0x35cfac=_0x375808+(_0x3e590c[_0x3ca5fe(0x296)]||0x0),_0xe1634c=_0x2758c3,_0x42527d=[_0x3e590c];_0x34d5a8[_0x3ca5fe(0xb4)](_0x3e590c),_0x253206[_0x3ca5fe(0x1c2)](_0x39d6f9=>{const _0x28c77f=_0x3ca5fe;if(_0x34d5a8['has'](_0x39d6f9))return;let _0x475d96=_0x39d6f9[_0x28c77f(0xc7)]||0x0,_0x1b3fa0=_0x39d6f9['top']||0x0,_0x2aa2c5=_0x475d96+(_0x39d6f9[_0x28c77f(0x296)]||0x0),_0x217ef4=_0x1b3fa0;Math[_0x28c77f(0x1e4)](_0x35cfac-_0x2aa2c5)<=0xa&&Math[_0x28c77f(0x1e4)](_0xe1634c-_0x217ef4)<=0xa&&(_0x42527d[_0x28c77f(0x16c)](_0x39d6f9),_0x34d5a8[_0x28c77f(0xb4)](_0x39d6f9));}),_0x42527d['length']>0x1&&_0xc5dfa8[_0x3ca5fe(0x16c)](_0x42527d);}),_0xc5dfa8[_0x4a02d5(0x1c2)](_0x58c612=>{const _0x3bee6b=_0x4a02d5;_0x58c612[_0x3bee6b(0x36b)]((_0x37c593,_0x4c9a36)=>(_0x37c593[_0x3bee6b(0x3f7)]||0x0)-(_0x4c9a36[_0x3bee6b(0x3f7)]||0x0)),_0x58c612[_0x3bee6b(0x1c2)]((_0x36150d,_0x38cd3b)=>{const _0x735783=_0x3bee6b;let _0x161a49=_0x38cd3b*0x16;_0x36150d[_0x735783(0x3f1)](_0x161a49);});});}[_0x4f2e97(0x378)](_0x1627c3,_0x218b7b){const _0x2de2e4=_0x4f2e97;let _0x3347a3=_0x1627c3['left']||0x0,_0x370ca8=_0x1627c3[_0x2de2e4(0x3f7)]||0x0,_0x2c3241=_0x1627c3['width']||0x0,_0x5126f0=_0x1627c3[_0x2de2e4(0x1a1)]||0x0,_0x560d06=_0x3347a3+_0x2c3241,_0x53a12c=_0x370ca8+_0x5126f0;return _0x218b7b['filter'](_0x541876=>{const _0x536e33=_0x2de2e4;let _0x3dabc9=_0x541876['left']||0x0,_0x41aef9=_0x541876[_0x536e33(0x3f7)]||0x0,_0x2a4c21=_0x541876[_0x536e33(0x296)]||0x0,_0x4320c5=_0x541876['height']||0x0,_0x5a6ce6=_0x3dabc9+_0x2a4c21,_0x5508d8=_0x41aef9+_0x4320c5;return!(_0x560d06<=_0x3dabc9||_0x3347a3>=_0x5a6ce6||_0x53a12c<=_0x41aef9||_0x370ca8>=_0x5508d8);});}[_0x4f2e97(0x22b)](_0x57598d,_0x523361){const _0x9804ed=_0x4f2e97;let _0x101617=_0x523361[_0x9804ed(0x24d)](_0x93fecc[_0x9804ed(0x418)][_0x9804ed(0xb5)]);if(!_0x101617)return;let _0x48f72f=_0x57598d[_0x9804ed(0xc7)]||0x0,_0xcf5d7d=_0x57598d['top']||0x0,_0x5a2274=_0x57598d[_0x9804ed(0x296)]||0x0,_0x42cb70=_0x57598d[_0x9804ed(0x1a1)]||0x0,_0x21d769=_0x101617[_0x9804ed(0x296)]||0x0,_0x5ba4c6=_0x101617[_0x9804ed(0x1a1)]||0x0,_0xdfa299=_0x101617[_0x9804ed(0xba)]||0x0,_0x59a2fb=_0x101617['viewportScrollY']||0x0,_0xe82c7b=_0xdfa299,_0x504146=_0x59a2fb,_0x4b43fd=_0xdfa299+_0x21d769,_0x31f895=_0x59a2fb+_0x5ba4c6;if(_0x48f72f>=_0xe82c7b&&_0xcf5d7d>=_0x504146&&_0x48f72f+_0x5a2274<=_0x4b43fd&&_0xcf5d7d+_0x42cb70<=_0x31f895)return;let _0x14621c=Math[_0x9804ed(0x366)](0x0,_0x48f72f-_0x21d769/0x2+_0x5a2274/0x2),_0x254504=Math['max'](0x0,_0xcf5d7d-_0x5ba4c6/0x2+_0x42cb70/0x2);_0x101617[_0x9804ed(0x232)]({'viewportScrollX':_0x14621c,'viewportScrollY':_0x254504});}[_0x4f2e97(0xe1)](){const _0x557f5b=_0x4f2e97;return(0x0,_0x30725c[_0x557f5b(0x348)])(this[_0x557f5b(0x43f)],this['_renderManagerService']);}};_0x5ab053=_0x5b67f4([_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x3222ce)),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x1c7)]),_0x3d005c(0x4,_0x93fecc['IRenderManagerService']),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x30725c['SheetSkeletonManagerService'])),_0x3d005c(0x6,_0x1467aa['ICommandService']),_0x3d005c(0x7,_0x366565[_0x4f2e97(0x3d6)])],_0x5ab053);var _0x274a62=_0x4f2e97(0x28a),_0x38d248=_0x4f2e97(0x396);let _0x436e91=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x579a81){const _0xd65c59=_0x4f2e97;super(),this[_0xd65c59(0xfc)]=_0x579a81,this[_0xd65c59(0x29d)]();}[_0x4f2e97(0x29d)](){const _0x4ac670=_0x4f2e97;this['disposeWithMe'](this[_0x4ac670(0xfc)][_0x4ac670(0x12b)][_0x4ac670(0x3a9)](_0x44c6ad=>{const _0x753c50=_0x4ac670;_0x44c6ad!=null&&_0x44c6ad[_0x753c50(0x1a9)]&&this['_cellEditorManagerService'][_0x753c50(0x10e)]({'show':!0x1});}));}};_0x436e91=_0x5b67f4([_0x3d005c(0x0,_0x30725c[_0x4f2e97(0x2d9)])],_0x436e91);function _0x1e6a75(){const _0x4ffe97=_0x4f2e97;let _0x23bb66=(0x0,_0x13a253[_0x4ffe97(0x3c5)])(_0x45e9f0),_0x2aa896=(0x0,_0x13a253[_0x4ffe97(0x3c5)])(_0x1467aa['LocaleService']),_0x18c072=(0x0,_0x13a253[_0x4ffe97(0x269)])(_0x23bb66[_0x4ffe97(0x12a)]),_0x40e8f1=(0x0,_0x6b906[_0x4ffe97(0x328)])(()=>_0x18c072?_0x23bb66[_0x4ffe97(0x132)]():!0x1,[_0x23bb66,_0x18c072]),_0x1a6f3b=(0x0,_0x6b906[_0x4ffe97(0x1a7)])(()=>{const _0x213f60=_0x4ffe97;_0x23bb66['status']=_0x213f60(0x368);},[_0x23bb66]),_0x3cf9d9=(0x0,_0x6b906['useCallback'])(()=>{const _0x51b144=_0x4ffe97;_0x23bb66[_0x51b144(0x142)]();},[_0x23bb66]);return(0x0,_0x300d66['jsxs'])(_0x4ffe97(0x421),{'className':_0x4ffe97(0x43e),'children':[(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x4ffe97(0x36f)],{'variant':_0x4ffe97(0x387),'onClick':_0x1a6f3b,'children':_0x2aa896['t'](_0x4ffe97(0x3c0))}),_0x40e8f1?(0x0,_0x300d66['jsx'])(_0x4d33e2['Button'],{'variant':_0x4ffe97(0x387),'onClick':_0x3cf9d9,'children':_0x2aa896['t'](_0x4ffe97(0x1c6))}):(0x0,_0x300d66[_0x4ffe97(0x3cc)])(_0x4ffe97(0x421),{'className':'univer-w-10'})]});}let _0x577951=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x1644eb,_0x1c0e91,_0x27c4cf,_0x5bfc93,_0x3bb8cb,_0x34a8af,_0x4bd6ca){const _0x1d662d=_0x4f2e97;super(),this['_permissionService']=_0x1644eb,this[_0x1d662d(0x404)]=_0x1c0e91,this[_0x1d662d(0x42e)]=_0x27c4cf,this[_0x1d662d(0x163)]=_0x5bfc93,this['_historyManagerService']=_0x3bb8cb,this[_0x1d662d(0x16e)]=_0x34a8af,this[_0x1d662d(0x13f)]=_0x4bd6ca,this['_init']();}[_0x4f2e97(0x29d)](){const _0x2f0d0a=_0x4f2e97;this[_0x2f0d0a(0x285)](this['_historyManagerService']['currentVersion$']['subscribe'](_0x4a3b50=>{const _0x3a2b37=_0x2f0d0a;_0x4a3b50&&this['_historyManagerService'][_0x3a2b37(0x2e8)](_0x4a3b50);})),this[_0x2f0d0a(0x285)](this[_0x2f0d0a(0x3af)][_0x2f0d0a(0x2d5)][_0x2f0d0a(0x3a9)](_0x1abb3e=>{const _0x29af82=_0x2f0d0a;let _0x3048c5=this[_0x29af82(0x436)][_0x29af82(0x3d7)];_0x3048c5&&(_0x1abb3e[_0x29af82(0x277)]===_0x318c18['UnitAction']['Edit']&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x173))](_0x3048c5)['id'],!0x1),_0x1abb3e['subType']===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x34f)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x3e2))](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)]['MoveSheet']&&_0x1abb3e['value']===!0x0&&this[_0x29af82(0x3af)][_0x29af82(0x1a3)](new _0x337aad[(_0x29af82(0x3ca))](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x24a)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookHideSheetPermission'](_0x3048c5)['id'],!0x1),_0x1abb3e[_0x29af82(0x277)]===_0x318c18[_0x29af82(0x44a)][_0x29af82(0x2f4)]&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this[_0x29af82(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookEditablePermission'](_0x3048c5)['id'],!0x1),_0x1abb3e['subType']===_0x318c18[_0x29af82(0x44a)]['FloatImg']&&_0x1abb3e[_0x29af82(0xf3)]===!0x0&&this['_permissionService'][_0x29af82(0x1a3)](new _0x337aad['WorkbookEditablePermission'](_0x3048c5)['id'],!0x1));})),this[_0x2f0d0a(0xe7)]();let _0x16a2d9;this['disposeWithMe'](this['_historyManagerService'][_0x2f0d0a(0x2e2)]['subscribe'](_0x29b06c=>{const _0x33db54=_0x2f0d0a;this[_0x33db54(0x42e)]['removeAll'](),_0x16a2d9==null||_0x16a2d9[_0x33db54(0x282)](),_0x29b06c===_0x33db54(0xfa)&&(this['_historyManagerService'][_0x33db54(0x189)](),_0x16a2d9=this['_messageService'][_0x33db54(0x1a9)]({'type':_0x4d33e2['MessageType'][_0x33db54(0x32d)],'content':this[_0x33db54(0x163)]['t']('edit-history-viewer.info.loading'),'duration':0x3e8})),_0x29b06c===_0x33db54(0x415)&&this[_0x33db54(0x436)][_0x33db54(0x1ae)]();}));}[_0x4f2e97(0xe7)](){const _0x294328=_0x4f2e97;var _0x2a34b7;(_0x2a34b7=this['_configService'][_0x294328(0x15c)](_0x294328(0x117)))!=null&&_0x2a34b7['historyPanelHidden']||this[_0x294328(0x285)](this['_uiPartsService'][_0x294328(0x1db)](_0x13a253['BuiltInUIPart'][_0x294328(0x445)],()=>(0x0,_0x13a253[_0x294328(0x363)])(_0x1e6a75,this[_0x294328(0x16e)])));}};_0x577951=_0x5b67f4([_0x3d005c(0x0,_0x1467aa[_0x4f2e97(0x327)]),_0x3d005c(0x1,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x2,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x5,(0x0,_0x1467aa['Inject'])(_0x1467aa['Injector'])),_0x3d005c(0x6,_0x1467aa[_0x4f2e97(0x3b0)])],_0x577951);function _0x155274({ref:_0x3d770d,..._0x3da8a8}){const _0x38b38c=_0x4f2e97;let {icon:_0x5753ae,id:_0x5ed281,className:_0x5ae3a7,extend:_0x58a09c,..._0x421fc8}=_0x3da8a8,_0x2f30c7=(_0x38b38c(0xd1)+_0x5ed281+'\x20'+(_0x5ae3a7||''))[_0x38b38c(0x210)](),_0x1e3b5f=(0x0,_0x6b906['useRef'])('_'+_0xd26aa3());return _0x4d6bad(_0x5753ae,''+_0x5ed281,{'defIds':_0x5753ae[_0x38b38c(0x2ea)],'idSuffix':_0x1e3b5f[_0x38b38c(0x3b8)]},{'ref':_0x3d770d,'className':_0x2f30c7,..._0x421fc8},_0x58a09c);}function _0x4d6bad(_0x5e5db8,_0x4bf1a8,_0x32db45,_0xe702ba,_0x1c6bc9){const _0x2a15f5=_0x4f2e97;return(0x0,_0x6b906[_0x2a15f5(0x298)])(_0x5e5db8['tag'],{'key':_0x4bf1a8,..._0x142768(_0x5e5db8,_0x32db45,_0x1c6bc9),..._0xe702ba},(_0x32898c(_0x5e5db8,_0x32db45)['children']||[])['map']((_0x6a077b,_0x1a9fb7)=>_0x4d6bad(_0x6a077b,_0x4bf1a8+'-'+_0x5e5db8['tag']+'-'+_0x1a9fb7,_0x32db45,void 0x0,_0x1c6bc9)));}function _0x142768(_0x284f7b,_0x53ba01,_0x2b52d8){const _0x373720=_0x4f2e97;let _0x2ab595={..._0x284f7b['attrs']};_0x2b52d8!=null&&_0x2b52d8[_0x373720(0x31f)]&&_0x2ab595[_0x373720(0x1ef)]===_0x373720(0x31f)&&(_0x2ab595[_0x373720(0x1ef)]=_0x2b52d8[_0x373720(0x31f)]),_0x284f7b[_0x373720(0x205)]===_0x373720(0x169)&&_0x2ab595['id']&&(_0x2ab595['id']+=_0x53ba01['idSuffix']),Object[_0x373720(0x23a)](_0x2ab595)['forEach'](([_0x141be7,_0x445871])=>{const _0x7249ef=_0x373720;_0x141be7===_0x7249ef(0x169)&&typeof _0x445871==_0x7249ef(0x2f1)&&(_0x2ab595[_0x141be7]=_0x445871[_0x7249ef(0x14b)](/url\(#(.*)\)/,'url(#$1'+_0x53ba01[_0x7249ef(0x1e0)]+')'));});let {defIds:_0x487ac9}=_0x53ba01;return!_0x487ac9||_0x487ac9[_0x373720(0x166)]===0x0?_0x2ab595:(_0x284f7b['tag']===_0x373720(0x26f)&&_0x2ab595[_0x373720(0x19c)]&&(_0x2ab595['xlink:href']+=_0x53ba01[_0x373720(0x1e0)]),Object['entries'](_0x2ab595)[_0x373720(0x1c2)](([_0x50c6ab,_0x32b321])=>{const _0x118443=_0x373720;typeof _0x32b321==_0x118443(0x2f1)&&(_0x2ab595[_0x50c6ab]=_0x32b321[_0x118443(0x14b)](/url\(#(.*)\)/,_0x118443(0x3de)+_0x53ba01[_0x118443(0x1e0)]+')'));}),_0x2ab595);}function _0x32898c(_0x276923,_0x16a2a3){const _0x3643e4=_0x4f2e97;var _0x18d26b;let {defIds:_0x43d104}=_0x16a2a3;return!_0x43d104||_0x43d104[_0x3643e4(0x166)]===0x0?_0x276923:_0x276923[_0x3643e4(0x205)]===_0x3643e4(0xfb)&&(_0x18d26b=_0x276923[_0x3643e4(0x3b7)])!=null&&_0x18d26b[_0x3643e4(0x166)]?{..._0x276923,'children':_0x276923[_0x3643e4(0x3b7)][_0x3643e4(0x1a6)](_0x10193f=>typeof _0x10193f[_0x3643e4(0x37a)]['id']=='string'&&_0x43d104&&_0x43d104[_0x3643e4(0x3e5)](_0x10193f[_0x3643e4(0x37a)]['id'])?{..._0x10193f,'attrs':{..._0x10193f[_0x3643e4(0x37a)],'id':_0x10193f[_0x3643e4(0x37a)]['id']+_0x16a2a3[_0x3643e4(0x1e0)]}}:_0x10193f)}:_0x276923;}function _0xd26aa3(){const _0x20846d=_0x4f2e97;return Math[_0x20846d(0x181)]()[_0x20846d(0x1a0)](0x24)[_0x20846d(0x3c1)](0x2,0x8);}_0x155274[_0x4f2e97(0x2b1)]=_0x4f2e97(0xf1);let _0x23a5ab={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':'currentColor','d':_0x4f2e97(0x262)}}]},_0xaade35=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x1a0ada,_0x330979){const _0x19ddb9=_0x4f2e97;return(0x0,_0x6b906[_0x19ddb9(0x298)])(_0x155274,Object[_0x19ddb9(0x1f9)]({},_0x1a0ada,{'id':_0x19ddb9(0x32b),'ref':_0x330979,'icon':_0x23a5ab}));});_0xaade35[_0x4f2e97(0x2b1)]=_0x4f2e97(0x216);let _0x5b22e9={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4f2e97(0x114),'fillRule':_0x4f2e97(0x14a),'clipRule':'evenodd'}}]},_0x4516bc=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x47974b,_0x25bfea){const _0x5b010b=_0x4f2e97;return(0x0,_0x6b906[_0x5b010b(0x298)])(_0x155274,Object[_0x5b010b(0x1f9)]({},_0x47974b,{'id':_0x5b010b(0x1bf),'ref':_0x25bfea,'icon':_0x5b22e9}));});_0x4516bc[_0x4f2e97(0x2b1)]=_0x4f2e97(0x1e8);let _0x2507d8={'tag':'svg','attrs':{'xmlns':_0x4f2e97(0x391),'fill':'none','viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':_0x4f2e97(0x165),'d':_0x4f2e97(0x1f2),'fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}}]},_0x331053=(0x0,_0x6b906['forwardRef'])(function(_0x18c560,_0x2a6130){const _0x48692c=_0x4f2e97;return(0x0,_0x6b906[_0x48692c(0x298)])(_0x155274,Object[_0x48692c(0x1f9)]({},_0x18c560,{'id':_0x48692c(0x439),'ref':_0x2a6130,'icon':_0x2507d8}));});_0x331053[_0x4f2e97(0x2b1)]=_0x4f2e97(0x329);let _0x4d4b26={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4f2e97(0x20a),'fillRule':'evenodd','clipRule':_0x4f2e97(0x14a)}}]},_0x1b4ee5=(0x0,_0x6b906['forwardRef'])(function(_0xc0b6de,_0x1a6b32){const _0x5f30a8=_0x4f2e97;return(0x0,_0x6b906[_0x5f30a8(0x298)])(_0x155274,Object[_0x5f30a8(0x1f9)]({},_0xc0b6de,{'id':_0x5f30a8(0x30b),'ref':_0x1a6b32,'icon':_0x4d4b26}));});_0x1b4ee5[_0x4f2e97(0x2b1)]='MoreRightIcon';let _0x20d17b={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':_0x4f2e97(0x391),'fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0x39a),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'g','attrs':{'fill':_0x4f2e97(0x165),'clipPath':_0x4f2e97(0x148)},'children':[{'tag':_0x4f2e97(0x2ec),'attrs':{'d':_0x4f2e97(0x156)}},{'tag':_0x4f2e97(0x2ec),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x4f2e97(0x14a),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4f2e97(0x1bc),'attrs':{'id':_0x4f2e97(0x1b3)},'children':[{'tag':_0x4f2e97(0x29a),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x4f2e97(0x1b3)]},_0x4cf651=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x1c52c1,_0x22a915){const _0x92e931=_0x4f2e97;return(0x0,_0x6b906[_0x92e931(0x298)])(_0x155274,Object[_0x92e931(0x1f9)]({},_0x1c52c1,{'id':_0x92e931(0x32a),'ref':_0x22a915,'icon':_0x20d17b}));});_0x4cf651['displayName']=_0x4f2e97(0x3d5);let _0x4f3e09={'tag':_0x4f2e97(0x434),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4f2e97(0x17d),'viewBox':_0x4f2e97(0xdc),'width':_0x4f2e97(0x124),'height':_0x4f2e97(0x124)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x4f2e97(0x3d9),'fillOpacity':0.2,'fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}},{'tag':_0x4f2e97(0x2ec),'attrs':{'fill':_0x4f2e97(0x260),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x4f2e97(0x14a),'clipRule':_0x4f2e97(0x14a)}}]},_0x40ada8=(0x0,_0x6b906[_0x4f2e97(0x437)])(function(_0x30c28e,_0x5afb08){const _0x48a14e=_0x4f2e97;return(0x0,_0x6b906[_0x48a14e(0x298)])(_0x155274,Object[_0x48a14e(0x1f9)]({},_0x30c28e,{'id':_0x48a14e(0x3db),'ref':_0x5afb08,'icon':_0x4f3e09}));});_0x40ada8[_0x4f2e97(0x2b1)]=_0x4f2e97(0x31d);function _0x39ced5(_0x37ceff){const _0x1f19fe=_0x4f2e97;var _0x256d4f;let {item:_0x433ca0,isNewest:_0x2b1090}=_0x37ceff,_0x299cab=(0x0,_0x13a253['useDependency'])(_0x45e9f0),_0xd4baa2=(0x0,_0x13a253[_0x1f19fe(0x3c5)])(_0x3222ce),_0x3ba856=(0x0,_0x13a253['useDependency'])(_0x1467aa[_0x1f19fe(0x345)]),_0x18ffec=(0x0,_0x13a253[_0x1f19fe(0x269)])(_0x299cab['currentVersion$'],'',!0x0)===_0x433ca0['id'],_0x547e96=_0x3ba856[_0x1f19fe(0x295)](),_0x410de7=_0xe2fba1(_0x433ca0[_0x1f19fe(0x26e)],_0x547e96),_0x454b9d=!_0x2b1090&&_0x299cab[_0x1f19fe(0x1e3)],_0x22c6b6=(0x0,_0x6b906['useCallback'])(async()=>{const _0x3703fc=_0x1f19fe;_0x299cab[_0x3703fc(0x2a3)]!==_0x3703fc(0xfa)&&(_0x299cab[_0x3703fc(0x365)]=_0x433ca0['id'],await _0xd4baa2[_0x3703fc(0x32f)](_0x433ca0['id']));},[_0x299cab,_0xd4baa2,_0x433ca0['id']]),_0x51971f=(0x0,_0x6b906[_0x1f19fe(0x1a7)])(_0x5e3fef=>{const _0x13aaef=_0x1f19fe;_0x5e3fef[_0x13aaef(0x237)](),_0x299cab[_0x13aaef(0x142)](_0x433ca0['id']);},[_0x299cab,_0x433ca0['id']]),_0x1fe43a=((_0x256d4f=_0x433ca0[_0x1f19fe(0x35f)])==null?void 0x0:_0x256d4f[_0x1f19fe(0xe2)](Boolean)[_0x1f19fe(0x3dd)](',\x20'))||_0x433ca0[_0x1f19fe(0x1f6)]||_0x3ba856['t'](_0x1f19fe(0x113));return(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':(0x0,_0x4d33e2['clsx'])('univer-flex\x20univer-items-center\x20univer-gap-3\x20univer-border-b\x20univer-border-gray-100\x20univer-px-4\x20univer-py-3\x20dark:!univer-border-gray-800',_0x18ffec&&_0x1f19fe(0xc2)),'onClick':_0x22c6b6,'children':[(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x300d66[_0x1f19fe(0x10a)])('div',{'className':_0x1f19fe(0x3fa),'children':[(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0xd2),'children':_0x1fe43a}),_0x2b1090&&(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x182),'children':_0x3ba856['t'](_0x1f19fe(0x1dd))})]}),(0x0,_0x300d66[_0x1f19fe(0x10a)])(_0x1f19fe(0x421),{'className':_0x1f19fe(0x299),'children':[(0x0,_0x300d66['jsx'])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x115),'children':_0x410de7[_0x1f19fe(0x26e)]}),(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x1f19fe(0x2df),{'className':_0x1f19fe(0x2bd),'children':_0x4e0d1b(_0x433ca0,_0x3ba856)})]})]}),_0x454b9d&&(0x0,_0x300d66[_0x1f19fe(0x3cc)])(_0x4d33e2[_0x1f19fe(0x36f)],{'size':_0x1f19fe(0x318),'variant':_0x1f19fe(0x147),'onClick':_0x51971f,'children':_0x3ba856['t'](_0x1f19fe(0x1c6))})]});}function _0x3bc086(){const _0x2b3f5c=_0x4f2e97;let _0x43e1fa=(0x0,_0x13a253['useDependency'])(_0x45e9f0),_0x25d707=(0x0,_0x13a253['useDependency'])(_0x1467aa['LocaleService']),_0x2af589=(0x0,_0x13a253[_0x2b3f5c(0x269)])(_0x43e1fa[_0x2b3f5c(0x1e2)]),_0x499433=(0x0,_0x13a253[_0x2b3f5c(0x269)])(_0x43e1fa[_0x2b3f5c(0x3cf)]),_0x2ac1de=(0x0,_0x6b906[_0x2b3f5c(0x1f4)])(null),[_0x1062a7,_0x7591ab]=(0x0,_0x6b906[_0x2b3f5c(0x3ce)])(!0x0);(0x0,_0x6b906[_0x2b3f5c(0x449)])(()=>{const _0x522709=_0x2b3f5c;let _0x3da5f3=_0x2ac1de[_0x522709(0x3b8)];if(!_0x3da5f3||!_0x1062a7)return;let _0xfa24b9,_0x352d71=()=>{clearTimeout(_0xfa24b9),_0xfa24b9=setTimeout(()=>{let {scrollTop:_0x39154f,scrollHeight:_0x4e3a1a,clientHeight:_0x152c73}=_0x3da5f3;_0x39154f+_0x152c73>=_0x4e3a1a-0xa&&_0x43e1fa['loadMoreVersions']();},0x64);};return _0x3da5f3['addEventListener'](_0x522709(0x22d),_0x352d71),()=>{const _0x381a0f=_0x522709;clearTimeout(_0xfa24b9),_0x3da5f3[_0x381a0f(0x34c)](_0x381a0f(0x22d),_0x352d71);};},[_0x43e1fa,_0x1062a7]);let _0x3ec19d=_0xb6c8b7(_0x2af589==null?[]:_0x2af589);return(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-inset-0\x20univer-z-10\x20univer-flex\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-justify-end\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'className':(0x0,_0x4d33e2[_0x2b3f5c(0x1c3)])('univer-pointer-events-auto\x20univer-flex\x20univer-flex-col\x20univer-rounded-t-2xl\x20univer-bg-white\x20univer-shadow-[0_-4px_24px_rgba(0,0,0,0.12)]\x20univer-transition-[height]\x20univer-duration-300\x20dark:!univer-bg-gray-950',_0x1062a7?_0x2b3f5c(0x430):'univer-h-12'),'children':[(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'className':_0x2b3f5c(0x341),'onClick':()=>_0x7591ab(_0x370bf9=>!_0x370bf9),'children':[(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1\x20univer-w-10\x20univer-rounded-full\x20univer-bg-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),!_0x1062a7&&(0x0,_0x300d66['jsx'])('span',{'className':'univer-mt-1\x20univer-text-xs\x20univer-text-gray-500','children':_0x25d707['t'](_0x2b3f5c(0x1b5))})]}),_0x1062a7&&(0x0,_0x300d66['jsx'])(_0x300d66[_0x2b3f5c(0x2f2)],{'children':_0x2af589?(0x0,_0x300d66[_0x2b3f5c(0x10a)])(_0x2b3f5c(0x421),{'ref':_0x2ac1de,'className':'univer-flex-1\x20univer-overflow-y-auto','children':[_0x3ec19d[_0x2b3f5c(0x1a6)](_0x5ae38e=>(0x0,_0x300d66['jsxs'])(_0x2b3f5c(0x421),{'children':[(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-50\x20univer-px-4\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x20univer-text-xs\x20univer-font-semibold\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x1d6711(_0x5ae38e[_0x2b3f5c(0x1a5)],_0x25d707[_0x2b3f5c(0x295)]())}),_0x5ae38e[_0x2b3f5c(0x120)][_0x2b3f5c(0x1a6)]((_0x2328bd,_0x45b99c)=>(0x0,_0x300d66['jsx'])(_0x39ced5,{'item':_0x2328bd,'isNewest':_0x3ec19d[0x0]===_0x5ae38e&&_0x45b99c===0x0},_0x2328bd['id']))]},_0x5ae38e['dateString'])),_0x499433&&(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x2b3f5c(0x421),{'className':_0x2b3f5c(0x2fa),'children':(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x40ada8,{'className':_0x2b3f5c(0x3bc)})})]}):(0x0,_0x300d66['jsx'])('div',{'className':_0x2b3f5c(0x19b),'children':(0x0,_0x300d66[_0x2b3f5c(0x3cc)])(_0x40ada8,{'className':'univer-animate-spin\x20univer-text-gray-400'})})})]})});}let _0x26d727=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x4c44a2,_0x1c7465){const _0x2ff2e7=_0x4f2e97;super(),this['_uiPartsService']=_0x4c44a2,this[_0x2ff2e7(0x16e)]=_0x1c7465,this['disposeWithMe'](this[_0x2ff2e7(0x404)][_0x2ff2e7(0x1db)](_0x13a253['BuiltInUIPart'][_0x2ff2e7(0x256)],()=>(0x0,_0x13a253['connectInjector'])(_0x3bc086,this[_0x2ff2e7(0x16e)])));}};_0x26d727=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x1,(0x0,_0x1467aa['Inject'])(_0x1467aa['Injector']))],_0x26d727);var _0x335e84=class extends _0x1467aa['Disposable']{constructor(){const _0xdf670a=_0x4f2e97;super(),_0x509a17(this,_0xdf670a(0x1ba),new _0x197ec0['Subject']());}['open'](){const _0x2cb007=_0x4f2e97;return(0x0,_0x1467aa[_0x2cb007(0x134)])(()=>{});}[_0x4f2e97(0x342)](){}[_0x4f2e97(0x19a)](_0x3f23f1){}[_0x4f2e97(0x20f)](){const _0x389046=_0x4f2e97;return this[_0x389046(0x1ba)][_0x389046(0x416)]();}};let _0x3c0ceb=class extends _0x1467aa['Plugin']{constructor(_0x28165a=_0x2b70cf,_0x27be0d,_0x4c7354,_0x152803){const _0x29ca7b=_0x4f2e97;super(),this[_0x29ca7b(0x1f0)]=_0x28165a,this[_0x29ca7b(0x16e)]=_0x27be0d,this['_renderManagerService']=_0x4c7354,this[_0x29ca7b(0x13f)]=_0x152803;let {..._0x221997}=(0x0,_0x1467aa['merge'])({},_0x2b70cf,this['_config']);this[_0x29ca7b(0x13f)][_0x29ca7b(0x3ac)](_0x4a92fb,_0x221997);}[_0x4f2e97(0xc5)](){const _0xd16195=_0x4f2e97;[[_0x45e9f0],[_0x577951],[_0x3222ce],[_0x20ac2d],[_0x26d727],[_0x436e91],[_0x4f87fc[_0xd16195(0x129)],{'useClass':_0x5a3d94['SnapshotServerOverHTTPService']}],[_0x13a253[_0xd16195(0x307)],{'useClass':_0x335e84}],[_0x366565['IImageIoService'],{'useClass':_0x5a3d94[_0xd16195(0x3fe)]}]][_0xd16195(0x1c2)](_0x2d1b94=>this[_0xd16195(0x16e)][_0xd16195(0xb4)](_0x2d1b94)),this['_injector'][_0xd16195(0xea)](_0x577951);}[_0x4f2e97(0x2b5)](){const _0xe83a5a=_0x4f2e97;[[_0x5ab053]][_0xe83a5a(0x1c2)](_0x477da1=>{const _0x1dce22=_0xe83a5a;this[_0x1dce22(0x285)](this[_0x1dce22(0x1ee)]['registerRenderModule'](_0x1467aa[_0x1dce22(0x34a)]['UNIVER_SHEET'],_0x477da1));}),this[_0xe83a5a(0x16e)]['get'](_0x436e91),this[_0xe83a5a(0x16e)][_0xe83a5a(0xea)](_0x26d727);}[_0x4f2e97(0x289)](){const _0x3246f9=_0x4f2e97;this['_injector'][_0x3246f9(0xea)](_0x3222ce);}};_0x509a17(_0x3c0ceb,_0x4f2e97(0x153),_0x4f2e97(0x395)),_0x509a17(_0x3c0ceb,_0x4f2e97(0x2db),_0x274a62),_0x509a17(_0x3c0ceb,_0x4f2e97(0x2f7),_0x38d248),_0x3c0ceb=_0x5b67f4([(0x0,_0x1467aa[_0x4f2e97(0x1ec)])(_0x30725c[_0x4f2e97(0x2d7)],_0x4b91c0[_0x4f2e97(0x1b2)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x2,_0x93fecc['IRenderManagerService']),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)])],_0x3c0ceb);function _0x1bbc9d(){const _0x5390ab=_0x4f2e97;let _0x43f6e6=(0x0,_0x13a253[_0x5390ab(0x3c5)])(_0x45e9f0),_0x7fc1b4=(0x0,_0x13a253[_0x5390ab(0x3c5)])(_0x1467aa[_0x5390ab(0x345)]),_0x220056=(0x0,_0x13a253['useObservable'])(_0x43f6e6[_0x5390ab(0x12a)]),_0x3170e3=(0x0,_0x6b906[_0x5390ab(0x328)])(()=>_0x220056?_0x43f6e6[_0x5390ab(0x132)]():!0x1,[_0x43f6e6,_0x220056]),_0x2da5f0=(0x0,_0x6b906[_0x5390ab(0x1a7)])(()=>{const _0x928391=_0x5390ab;_0x43f6e6['status']=_0x928391(0x368);},[_0x43f6e6]),_0x33e37a=(0x0,_0x6b906['useCallback'])(()=>{const _0x38131e=_0x5390ab;_0x43f6e6[_0x38131e(0x142)]();},[_0x43f6e6]);return(0x0,_0x300d66[_0x5390ab(0x10a)])(_0x5390ab(0x421),{'className':(0x0,_0x4d33e2[_0x5390ab(0x1c3)])(_0x5390ab(0x20d),_0x4d33e2[_0x5390ab(0x385)]),'children':[(0x0,_0x300d66['jsx'])('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x5390ab(0xf7),'onClick':_0x2da5f0,'children':(0x0,_0x300d66['jsx'])(_0xaade35,{'className':_0x5390ab(0x317)})}),(0x0,_0x300d66[_0x5390ab(0x3cc)])(_0x5390ab(0x421),{'className':_0x5390ab(0x19b),'children':_0x3170e3&&(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x5390ab(0x36f)],{'variant':_0x5390ab(0x147),'onClick':_0x33e37a,'children':_0x7fc1b4['t'](_0x5390ab(0x1c6))})})]});}let _0x1682e8=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x314430,_0x95eb11,_0x53552c,_0x1b3735,_0x3a8cd9,_0x1fbb71,_0x539271){const _0x519ffb=_0x4f2e97;super(),this['_permissionService']=_0x314430,this[_0x519ffb(0x404)]=_0x95eb11,this[_0x519ffb(0x42e)]=_0x53552c,this[_0x519ffb(0x163)]=_0x1b3735,this[_0x519ffb(0x436)]=_0x3a8cd9,this[_0x519ffb(0x16e)]=_0x1fbb71,this['_configService']=_0x539271,this['_init']();}[_0x4f2e97(0x29d)](){const _0x3bd6d8=_0x4f2e97;this['disposeWithMe'](this[_0x3bd6d8(0x436)]['currentVersion$']['subscribe'](_0x29345f=>{const _0x449db9=_0x3bd6d8;_0x29345f&&this[_0x449db9(0x436)][_0x449db9(0x2e8)](_0x29345f);})),this[_0x3bd6d8(0x285)](this[_0x3bd6d8(0x3af)]['permissionPointUpdate$']['subscribe'](_0x1c8a2a=>{const _0x5df71c=_0x3bd6d8;let _0x390baf=this[_0x5df71c(0x436)][_0x5df71c(0x3d7)];_0x390baf&&(_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['Edit']&&_0x1c8a2a['value']===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['RenameSheet']&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad['WorkbookRenameSheetPermission'](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)]['MoveSheet']&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this[_0x5df71c(0x3af)]['updatePermissionPoint'](new _0x337aad[(_0x5df71c(0x3ca))](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18[_0x5df71c(0x44a)][_0x5df71c(0x24a)]&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this['_permissionService'][_0x5df71c(0x1a3)](new _0x337aad['WorkbookHideSheetPermission'](_0x390baf)['id'],!0x1),_0x1c8a2a[_0x5df71c(0x277)]===_0x318c18['UnitAction'][_0x5df71c(0x2f4)]&&_0x1c8a2a[_0x5df71c(0xf3)]===!0x0&&this['_permissionService'][_0x5df71c(0x1a3)](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1),_0x1c8a2a['subType']===_0x318c18[_0x5df71c(0x44a)][_0x5df71c(0x10f)]&&_0x1c8a2a['value']===!0x0&&this[_0x5df71c(0x3af)][_0x5df71c(0x1a3)](new _0x337aad[(_0x5df71c(0x173))](_0x390baf)['id'],!0x1));})),this[_0x3bd6d8(0xe7)]();let _0x1a7690;this[_0x3bd6d8(0x285)](this['_historyManagerService']['loadingState$'][_0x3bd6d8(0x3a9)](_0x4d0c1d=>{const _0x45074e=_0x3bd6d8;this[_0x45074e(0x42e)][_0x45074e(0x370)](),_0x1a7690==null||_0x1a7690['dispose'](),_0x4d0c1d==='loading'&&(this[_0x45074e(0x436)][_0x45074e(0x189)](),_0x1a7690=this[_0x45074e(0x42e)][_0x45074e(0x1a9)]({'type':_0x4d33e2['MessageType'][_0x45074e(0x32d)],'content':this[_0x45074e(0x163)]['t'](_0x45074e(0x353)),'duration':0x3e8})),_0x4d0c1d===_0x45074e(0x415)&&this[_0x45074e(0x436)][_0x45074e(0x1ae)]();}));}[_0x4f2e97(0xe7)](){const _0x48f834=_0x4f2e97;var _0x372152;(_0x372152=this['_configService'][_0x48f834(0x15c)]('edit-history-viewer.config'))!=null&&_0x372152['historyPanelHidden']||this['disposeWithMe'](this[_0x48f834(0x404)]['registerComponent'](_0x13a253[_0x48f834(0x27b)][_0x48f834(0x445)],()=>(0x0,_0x13a253['connectInjector'])(_0x1bbc9d,this[_0x48f834(0x16e)])));}};_0x1682e8=_0x5b67f4([_0x3d005c(0x0,_0x1467aa[_0x4f2e97(0x327)]),_0x3d005c(0x1,_0x13a253[_0x4f2e97(0x44d)]),_0x3d005c(0x2,_0x13a253[_0x4f2e97(0x233)]),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x4,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x5,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x6,_0x1467aa[_0x4f2e97(0x3b0)])],_0x1682e8);let _0xfe1ce4=[{'key':0x0,'labelKey':_0x4f2e97(0x3e7)},{'key':0x1,'labelKey':'edit-history-viewer.panel.filterUser'},{'key':0x2,'labelKey':_0x4f2e97(0x187)}];function _0x2fad69(_0x2d5ceb){const _0x5405ac=_0x4f2e97;let {className:_0x3d312e}=_0x2d5ceb;return(0x0,_0x300d66[_0x5405ac(0x10a)])(_0x5405ac(0x434),{'className':_0x3d312e,'fill':'none','height':'20','viewBox':_0x5405ac(0x3b9),'width':'20','xmlns':_0x5405ac(0x391),'children':[(0x0,_0x300d66['jsx'])('path',{'d':_0x5405ac(0x400),'fill':'url(#paint0_linear_236_415)'}),(0x0,_0x300d66[_0x5405ac(0x3cc)])(_0x5405ac(0xfb),{'children':(0x0,_0x300d66[_0x5405ac(0x10a)])(_0x5405ac(0x31e),{'gradientUnits':_0x5405ac(0x15d),'id':'paint0_linear_236_415','x1':'1.66418','x2':_0x5405ac(0x309),'y1':_0x5405ac(0x275),'y2':'6.77028','children':[(0x0,_0x300d66['jsx'])(_0x5405ac(0x30d),{'offset':'0.01','stopColor':_0x5405ac(0x3cd)}),(0x0,_0x300d66['jsx'])(_0x5405ac(0x30d),{'offset':_0x5405ac(0x386),'stopColor':_0x5405ac(0x297)}),(0x0,_0x300d66['jsx'])('stop',{'offset':_0x5405ac(0x442),'stopColor':'#2793FF'}),(0x0,_0x300d66[_0x5405ac(0x3cc)])(_0x5405ac(0x30d),{'offset':'1','stopColor':_0x5405ac(0x448)})]})})]});}function _0x9ced87(_0x12b91a){const _0x4e39bf=_0x4f2e97;let {value:_0x2e4fa4,onChange:_0x30defe}=_0x12b91a,_0x565dbe=(0x0,_0x13a253[_0x4e39bf(0x3c5)])(_0x1467aa['LocaleService']);return(0x0,_0x300d66[_0x4e39bf(0x3cc)])('div',{'className':'univer-relative\x20univer-h-8','children':(0x0,_0x300d66[_0x4e39bf(0x3cc)])(_0x4d33e2[_0x4e39bf(0x3ba)],{'items':_0xfe1ce4[_0x4e39bf(0x1a6)](_0x47b401=>({'label':_0x565dbe['t'](_0x47b401[_0x4e39bf(0x2d2)]),'value':_0x47b401['key']})),'value':_0x2e4fa4,'onChange':_0x30defe})});}function _0x146164(){const _0x1535c1=_0x4f2e97;var _0x347b3f,_0x276aee;let _0x5b09ff=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x45e9f0),_0x3bd0ea=(0x0,_0x13a253['useDependency'])(_0x20ac2d),_0x13b05f=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x3222ce),_0x4e086d=(0x0,_0x13a253[_0x1535c1(0x3c5)])(_0x1467aa[_0x1535c1(0x3b0)]),_0x1029bc=(0x0,_0x13a253[_0x1535c1(0x269)])(_0x5b09ff['versions$']),_0x5d8174=(0x0,_0x13a253[_0x1535c1(0x269)])(_0x5b09ff[_0x1535c1(0x21e)],[]),[_0x293d27,_0x281c2c]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(new Set()),[_0x194416,_0x146026]=(0x0,_0x6b906['useState'])(new Map()),[_0x208b88,_0x3d4467]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(new Set()),[_0x109749,_0x4ba3b7]=(0x0,_0x6b906['useState'])(0x0),_0x6096d1=(0x0,_0x13a253['useDependency'])(_0x1467aa[_0x1535c1(0x345)]),_0x572efb=(0x0,_0x6b906[_0x1535c1(0x1f4)])(null),[_0x59ab87,_0x5ad6da]=(0x0,_0x6b906[_0x1535c1(0x3ce)])(!0x1),[_0x4dec8a,_0x5a6996]=(0x0,_0x6b906['useState'])([]),_0x104d3d=(_0x347b3f=(_0x276aee=_0x4e086d[_0x1535c1(0x15c)]('edit-history-viewer.config'))==null?void 0x0:_0x276aee[_0x1535c1(0x2e4)])==null?!0x1:_0x347b3f,_0x4f0771=_0xb6c8b7(_0x1029bc),[_0xedf64a,_0x355be1]=(0x0,_0x6b906[_0x1535c1(0x3ce)])([]),_0x6c22bf=(0x0,_0x6b906[_0x1535c1(0x328)])(()=>_0x5d8174[_0x1535c1(0x1a6)](_0x3b6043=>({'key':_0x3b6043[_0x1535c1(0x3dc)],'label':_0x3b6043[_0x1535c1(0x215)]})),[_0x5d8174]);(0x0,_0x6b906[_0x1535c1(0x449)])(()=>{_0x5b09ff['loadHistoryCreatorList']();},[]);let _0x35c395=(0x0,_0x6b906[_0x1535c1(0x1a7)])(_0x2bf542=>{const _0x5177ab=_0x1535c1;_0x355be1([]),_0x4ba3b7(_0x2bf542),_0x5b09ff[_0x5177ab(0x3d7)]&&_0x5b09ff[_0x5177ab(0x424)](_0x5b09ff['unitId'],{'origin':_0x2bf542});},[_0x5b09ff]);(0x0,_0x6b906[_0x1535c1(0x449)])(()=>{const _0x328e8b=_0x1535c1;let _0xd10daf=_0x572efb[_0x328e8b(0x3b8)];if(!_0xd10daf)return;let _0x418381,_0xa9d07=_0x2319bb=>{clearTimeout(_0x418381),_0x418381=setTimeout(()=>{const _0x568bfa=_0x352b;let {target:_0x42f2d3}=_0x2319bb;if(_0x42f2d3){let {scrollTop:_0x45232f,scrollHeight:_0x1cca58,clientHeight:_0x50fe2d}=_0x42f2d3;_0x45232f+_0x50fe2d>=_0x1cca58-0x5&&_0x5b09ff[_0x568bfa(0x23f)]();}},0x64);};return _0xd10daf['addEventListener']('scroll',_0xa9d07),()=>{clearTimeout(_0x418381),_0xd10daf['removeEventListener']('scroll',_0xa9d07);};},[_0x5b09ff]);let _0x445646=(0x0,_0x6b906['useCallback'])(async _0x3a4c72=>{const _0x5c007a=_0x1535c1;let _0x1a52ee=_0x3a4c72['id'];if(_0x293d27[_0x5c007a(0x16b)](_0x1a52ee)){_0x281c2c(_0x3e759a=>{const _0xa1c45e=_0x5c007a;let _0x5222e9=new Set(_0x3e759a);return _0x5222e9[_0xa1c45e(0x280)](_0x1a52ee),_0x5222e9;});return;}if(_0x194416[_0x5c007a(0x16b)](_0x1a52ee)){_0x281c2c(_0x3bb3d6=>new Set(_0x3bb3d6)[_0x5c007a(0xb4)](_0x1a52ee));return;}_0x3d4467(_0x4a9eb3=>new Set(_0x4a9eb3)['add'](_0x1a52ee));try{var _0x4142c6;let _0x4cec3c=_0x5b09ff['unitId'];if(!_0x4cec3c)return;let _0x575ffc=await _0x3bd0ea[_0x5c007a(0x2b8)]({},{'unitId':_0x4cec3c,'startRevision':_0x3a4c72['startRev'],'endRevision':_0x3a4c72[_0x5c007a(0x222)]});if(((_0x4142c6=_0x575ffc[_0x5c007a(0x208)])==null?void 0x0:_0x4142c6[_0x5c007a(0x2be)])===0x1&&_0x575ffc['changesets']){let _0x873899=_0x575ffc[_0x5c007a(0x397)]['reverse']()['map'](_0x3a1550=>{const _0x59e322=_0x5c007a;var _0x411fa0,_0x3bc101;let _0x5d655f=(0x0,_0x4f87fc[_0x59e322(0x3e9)])(_0x3a1550),_0x157b9e=_0x3a1550[_0x59e322(0x2cd)]||_0x5d655f['userID'],_0x111e5a=(_0x411fa0=_0x575ffc[_0x59e322(0x35f)])==null?void 0x0:_0x411fa0[_0x157b9e],_0x5a6f91=((_0x3bc101=_0x3a1550['mutations'])==null?void 0x0:_0x3bc101['map'](_0x1b2c60=>_0x1b2c60['id']))||[];return{'id':_0x1a52ee+'-detail-'+_0x3a1550[_0x59e322(0xb7)],'unitId':_0x3a1550['unitID'],'startRev':_0x3a1550[_0x59e322(0xb7)],'endRev':_0x3a1550['revision'],'time':_0x3a1550[_0x59e322(0xb8)]?_0x3a1550[_0x59e322(0xb8)]*0x3e8:void 0x0,'user':(_0x111e5a==null?void 0x0:_0x111e5a[_0x59e322(0x215)])||'','users':[(_0x111e5a==null?void 0x0:_0x111e5a[_0x59e322(0x215)])||''],'commands':_0x5a6f91,'isAnonymous':!0x1,'isDetail':!0x0,'parentId':_0x1a52ee,'additionalFields':_0x3a1550[_0x59e322(0x1a2)]};});_0x146026(_0x1e04ac=>new Map(_0x1e04ac)[_0x5c007a(0x1bd)](_0x1a52ee,_0x873899)),_0x873899[_0x5c007a(0x1c2)](_0x122436=>{const _0x1f6b05=_0x5c007a;_0x5b09ff[_0x1f6b05(0x431)](_0x122436);});for(let _0x519193 of _0x873899)await _0x13b05f[_0x5c007a(0x32f)](_0x519193['id']);_0x281c2c(_0x26caaf=>new Set(_0x26caaf)[_0x5c007a(0xb4)](_0x1a52ee));}}catch(_0x40c343){console[_0x5c007a(0x208)](_0x5c007a(0x239),_0x40c343);}finally{_0x3d4467(_0x580bea=>{const _0x26cedd=_0x5c007a;let _0x42b0c7=new Set(_0x580bea);return _0x42b0c7[_0x26cedd(0x280)](_0x1a52ee),_0x42b0c7;});}},[_0x293d27,_0x194416,_0x5b09ff,_0x3bd0ea,_0x13b05f]);return _0x1029bc?(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'ref':_0x572efb,'className':_0x1535c1(0x37b),'children':[_0x104d3d&&(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'className':_0x1535c1(0x14e),'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0xb2),'children':(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x9ced87,{'value':_0x109749,'onChange':_0x35c395})}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x15a)],{'align':'end','open':_0x59ab87,'onOpenChange':_0x2b6f6b=>{_0x5ad6da(_0x2b6f6b),_0x2b6f6b&&_0x5a6996(_0xedf64a);},'overlay':(0x0,_0x300d66['jsxs'])(_0x1535c1(0x421),{'className':'univer-min-w-[240px]','children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0x18f),'children':_0x6096d1['t'](_0x1535c1(0x349))}),(0x0,_0x300d66[_0x1535c1(0x3cc)])('div',{'className':_0x1535c1(0x28d)}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':_0x1535c1(0x2d8),'children':_0x6c22bf[_0x1535c1(0x1a6)](_0x126774=>{const _0x4bc21f=_0x1535c1;let _0x3fe50b=_0x4dec8a[_0x4bc21f(0x3e5)](_0x126774[_0x4bc21f(0x236)]);return(0x0,_0x300d66[_0x4bc21f(0x10a)])(_0x4bc21f(0x421),{'className':_0x4bc21f(0xcc),'onClick':()=>{const _0x3ac1c6=_0x4bc21f;_0x5a6996(_0x3fe50b?_0x4dec8a[_0x3ac1c6(0xe2)](_0x29d62d=>_0x29d62d!==_0x126774['key']):[..._0x4dec8a,_0x126774[_0x3ac1c6(0x236)]]);},'children':[(0x0,_0x300d66['jsx'])(_0x4d33e2['Checkbox'],{'checked':_0x3fe50b}),(0x0,_0x300d66[_0x4bc21f(0x3cc)])('span',{'className':_0x4bc21f(0x3f0),'children':_0x126774[_0x4bc21f(0x3c4)]})]},_0x126774['key']);})}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-t\x20univer-border-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x1535c1(0x421),{'className':_0x1535c1(0x108),'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x36f)],{'size':_0x1535c1(0x191),'variant':_0x1535c1(0x1fe),'onClick':()=>{_0x5a6996(_0xedf64a),_0x5ad6da(!0x1);},'children':_0x6096d1['t'](_0x1535c1(0x3f4))}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4d33e2[_0x1535c1(0x36f)],{'size':_0x1535c1(0x191),'onClick':()=>{const _0x146b95=_0x1535c1;_0x355be1(_0x4dec8a),_0x5b09ff[_0x146b95(0x3d7)]&&_0x5b09ff[_0x146b95(0x424)](_0x5b09ff['unitId'],{'origin':_0x109749,'userIds':_0x4dec8a}),_0x5ad6da(!0x1);},'children':_0x6096d1['t'](_0x1535c1(0x19d))})]})]}),'children':(0x0,_0x300d66['jsx'])(_0x4d33e2[_0x1535c1(0x36f)],{'className':_0x1535c1(0x16f),'size':'middle','variant':_0x1535c1(0x1fe),'children':(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x4516bc,{'className':(0x0,_0x4d33e2[_0x1535c1(0x1c3)])(_0x1535c1(0x272),{'univer-text-blue-600\x20dark:!univer-text-blue-400':_0xedf64a[_0x1535c1(0x166)]>0x0})})})})]}),(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x1535c1(0x421),{'className':_0x1535c1(0x312),'children':_0x4f0771['map']((_0x5612c3,_0x58f2a5)=>(0x0,_0x300d66[_0x1535c1(0x10a)])(_0x6b906['Fragment'],{'children':[(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x251cf7,{'date':_0x5612c3[_0x1535c1(0x356)],'startDate':_0x5612c3[_0x1535c1(0x1a5)],'endDate':_0x5612c3[_0x1535c1(0x219)]}),_0x5612c3[_0x1535c1(0x120)][_0x1535c1(0x1a6)]((_0x2b5d04,_0x1c3438)=>{const _0x5364a6=_0x1535c1;let _0x112ae4=_0x293d27[_0x5364a6(0x16b)](_0x2b5d04['id']),_0x10225e=_0x208b88[_0x5364a6(0x16b)](_0x2b5d04['id']),_0x5b4bba=_0x194416[_0x5364a6(0xea)](_0x2b5d04['id'])||[];return(0x0,_0x300d66[_0x5364a6(0x10a)])(_0x6b906['Fragment'],{'children':[(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x2100d8,{'item':_0x2b5d04,'onToggleExpand':_0x445646,'isExpanded':_0x112ae4,'isLoadingDetail':_0x10225e}),_0x112ae4&&_0x5b4bba[_0x5364a6(0x1a6)]((_0x206a9b,_0x573330)=>(0x0,_0x300d66[_0x5364a6(0x10a)])('div',{'className':_0x5364a6(0x267),'style':{'marginTop':_0x5364a6(0x145),'marginBottom':_0x5364a6(0x145)},'children':[(0x0,_0x300d66['jsxs'])('div',{'className':_0x5364a6(0x23d),'style':{'left':'30px','width':_0x5364a6(0x12f)},'children':[_0x573330<_0x5b4bba[_0x5364a6(0x166)]-0x1&&(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0x1a4),'style':{'left':'0','width':_0x5364a6(0x2b9)}}),_0x573330===_0x5b4bba[_0x5364a6(0x166)]-0x1&&(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0xf9),'style':{'left':'0','width':_0x5364a6(0x2b9),'height':_0x5364a6(0x3b1)}}),(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x5364a6(0x421),{'className':_0x5364a6(0xdd),'style':{'left':'0','width':'10px','height':_0x5364a6(0x2b9),'transform':_0x5364a6(0x1c8)}})]}),(0x0,_0x300d66[_0x5364a6(0x3cc)])(_0x2100d8,{'item':_0x206a9b,'isDetail':!0x0})]},_0x58f2a5+'-'+_0x1c3438+_0x5364a6(0x433)+_0x573330))]},_0x58f2a5+'-'+_0x1c3438);})]},_0x5612c3[_0x1535c1(0x356)]))})]}):(0x0,_0x300d66[_0x1535c1(0x3cc)])(_0x754d93,{});}function _0x754d93(){const _0x314c01=_0x4f2e97;return(0x0,_0x300d66[_0x314c01(0x3cc)])(_0x314c01(0x421),{'className':_0x314c01(0x33c),'children':(0x0,_0x300d66['jsx'])(_0x314c01(0x2df),{'className':_0x314c01(0x2f9),'children':(0x0,_0x300d66[_0x314c01(0x3cc)])(_0x40ada8,{'className':_0x314c01(0x453)})})});}function _0x251cf7(_0x3da8b4){const _0x35574a=_0x4f2e97;let _0x2a9597=(0x0,_0x13a253[_0x35574a(0x3c5)])(_0x1467aa[_0x35574a(0x345)]),{date:_0x3bea91,startDate:_0x77b900=_0x3bea91}=_0x3da8b4;return(0x0,_0x300d66[_0x35574a(0x3cc)])(_0x35574a(0x421),{'className':_0x35574a(0xe0),'children':_0x1d6711(_0x77b900,_0x2a9597[_0x35574a(0x295)]())});}function _0x2100d8(_0x367188){const _0x2908e2=_0x4f2e97;let {item:_0x1fc650,onToggleExpand:_0x339d9b,isExpanded:_0x12c617,isLoadingDetail:_0xc2fae,isDetail:_0x781cdc}=_0x367188,{time:_0x37dcf9,user:_0x115c63,startRevCreateTime:_0x2422f5,endRevCreateTime:_0x54a547,users:_0x428a36}=_0x1fc650,_0x4ca871=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x45e9f0),_0x104fb9=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x3222ce),_0x2f4b68=(0x0,_0x13a253['useObservable'])(_0x4ca871[_0x2908e2(0x12a)],'',!0x0)===_0x1fc650['id'],_0x373fac=_0x4ca871[_0x2908e2(0x39d)]()===_0x1fc650[_0x2908e2(0x222)],_0x1b6a4f=!_0x373fac&&_0x4ca871[_0x2908e2(0x1e3)],_0x254b6a=(0x0,_0x13a253[_0x2908e2(0x3c5)])(_0x1467aa[_0x2908e2(0x345)]),_0xa50056=_0x254b6a[_0x2908e2(0x295)](),_0x4b1ead=_0xe2fba1(_0x37dcf9,_0xa50056),_0x13281d=_0xe2fba1(_0x2422f5,_0xa50056),_0x97dd51=_0xe2fba1(_0x54a547,_0xa50056),_0x2f8bdd=_0x254b6a['t'](_0x2908e2(0x1dd)),_0x38d4d5=_0x1fc650[_0x2908e2(0x133)]!==_0x1fc650[_0x2908e2(0x222)],_0x3ffe18=!!_0x1fc650[_0x2908e2(0x1a2)],_0x5eab14=(0x0,_0x6b906[_0x2908e2(0x328)])(()=>{const _0x396750=_0x2908e2;let _0x39f759=_0x115c63||_0x254b6a['t']('edit-history-viewer.panel.unknownUser');return _0x428a36&&_0x428a36[_0x396750(0xe2)](_0x44c3b5=>_0x44c3b5)['length']>0x0&&(_0x39f759=_0x428a36[_0x396750(0xe2)](_0x51646e=>_0x51646e)[_0x396750(0x3dd)](',\x20')),_0x3ffe18?''+_0x254b6a['t'](_0x396750(0x2a8))+(_0x39f759?'\x20('+_0x39f759+')':''):_0x39f759;},[_0x3ffe18,_0x115c63,_0x428a36,_0x254b6a]),_0x2aaa25=(0x0,_0x6b906[_0x2908e2(0x1a7)])(async _0x2e950e=>{const _0x25ff86=_0x2908e2;_0x4ca871[_0x25ff86(0x2a3)]!==_0x25ff86(0xfa)&&(_0x4ca871['currentVersion']=_0x2e950e,_0x781cdc&&(await _0x104fb9['ensureVersion'](_0x2e950e),await _0x4ca871['triggerLoadSheet'](_0x2e950e)));},[_0x4ca871,_0x104fb9,_0x781cdc]),_0x1be5db=(0x0,_0x6b906['useCallback'])(_0x4ce932=>{const _0x4d19a3=_0x2908e2;_0x4ca871[_0x4d19a3(0x142)](_0x4ce932);},[_0x4ca871]),_0x9ef6ec=(0x0,_0x6b906[_0x2908e2(0x1a7)])(_0x3fef55=>{const _0x3d80cf=_0x2908e2;_0x3fef55[_0x3d80cf(0x237)](),_0x339d9b&&!_0xc2fae&&_0x339d9b(_0x1fc650);},[_0x339d9b,_0x1fc650,_0xc2fae]);return(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':(0x0,_0x4d33e2[_0x2908e2(0x1c3)])(_0x2908e2(0x3e6),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2f4b68,'univer-ml-6':_0x781cdc}),'onClick':()=>_0x2aaa25(_0x1fc650['id']),'children':[(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'className':_0x2908e2(0x33c),'style':{'width':'12px'},'children':_0x38d4d5&&!_0x781cdc&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'onClick':_0x9ef6ec,'className':_0x2908e2(0x2cc),'children':_0xc2fae?(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x40ada8,{'className':_0x2908e2(0x101)}):_0x12c617?(0x0,_0x300d66['jsx'])(_0x331053,{'className':_0x2908e2(0x360)}):(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x1b4ee5,{'className':_0x2908e2(0x360)})})}),(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':_0x2908e2(0x172),'children':[(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':'univer-flex\x20univer-min-h-6\x20univer-w-full\x20univer-items-center\x20univer-justify-between','children':[(0x0,_0x300d66[_0x2908e2(0x10a)])(_0x2908e2(0x421),{'className':_0x2908e2(0x3ad),'children':[_0x3ffe18&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2fad69,{'className':_0x2908e2(0x104)}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x2df),{'className':_0x2908e2(0x419),'children':_0x5eab14}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x2df),{'className':_0x2908e2(0xd3),'children':_0x781cdc?_0x4b1ead[_0x2908e2(0x26e)]:_0x2422f5===_0x54a547?_0x13281d[_0x2908e2(0x26e)]:_0x13281d['time']+_0x2908e2(0xd6)+_0x97dd51[_0x2908e2(0x26e)]}),_0x373fac&&(0x0,_0x300d66[_0x2908e2(0x3cc)])('span',{'className':_0x2908e2(0xfe),'children':_0x2f8bdd})]}),(0x0,_0x300d66['jsx'])(_0x2908e2(0x421),{'children':_0x1b6a4f&&(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x4d33e2[_0x2908e2(0xf0)],{'title':_0x254b6a['t'](_0x2908e2(0x23e)),'children':(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'onClick':_0x4b9fd6=>{const _0x4ea8df=_0x2908e2;_0x4b9fd6[_0x4ea8df(0x237)](),_0x1be5db(_0x1fc650['id']);},'className':_0x2908e2(0x3ff),'children':(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x4cf651,{})})})})]}),(0x0,_0x300d66[_0x2908e2(0x3cc)])(_0x2908e2(0x421),{'className':_0x2908e2(0xd8),'children':_0x4e0d1b(_0x1fc650,_0x254b6a)})]})]});}let _0x6fe469=_0x4f2e97(0xeb),_0x2f260d=class extends _0x1467aa[_0x4f2e97(0x28b)]{constructor(_0x317219,_0x592bc2,_0x3dc553,_0x124246,_0x80a193){const _0x414918=_0x4f2e97;super(),this[_0x414918(0x24f)]=_0x317219,this[_0x414918(0x2a2)]=_0x592bc2,this['_localeService']=_0x3dc553,this['_historyManagerService']=_0x124246,this[_0x414918(0x13f)]=_0x80a193,_0x509a17(this,_0x414918(0x2fd),null),this[_0x414918(0x29d)]();}[_0x4f2e97(0x29d)](){const _0xb20b94=_0x4f2e97;this[_0xb20b94(0x29f)]();}[_0x4f2e97(0x1d8)](){const _0x151885=_0x4f2e97;var _0x3b149b;if(this[_0x151885(0x2fd)])return;let _0x4942a5=((_0x3b149b=this[_0x151885(0x13f)][_0x151885(0x15c)](_0x151885(0x117)))==null?void 0x0:_0x3b149b[_0x151885(0xdf)])||_0x6fe469,_0x417db7={'header':{'title':this[_0x151885(0x163)]['t']('edit-history-viewer.panel.title')},'children':{'label':_0x4942a5},'onClose':()=>{const _0x8d13c9=_0x151885;this[_0x8d13c9(0x2fd)]=null,this[_0x8d13c9(0x436)]['status']='exited';}};this[_0x151885(0x2fd)]=this[_0x151885(0x24f)][_0x151885(0x27e)]({..._0x417db7});}[_0x4f2e97(0x29f)](){const _0x247642=_0x4f2e97;this['disposeWithMe'](this[_0x247642(0x2a2)][_0x247642(0x244)](_0x6fe469,_0x146164)),this['disposeWithMe'](this['_historyManagerService'][_0x247642(0x22f)]['subscribe'](_0x553b99=>{const _0x58bc5f=_0x247642;_0x553b99&&this[_0x58bc5f(0x1d8)]();}));}};_0x2f260d=_0x5b67f4([_0x3d005c(0x0,_0x13a253[_0x4f2e97(0x2bb)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x13a253[_0x4f2e97(0x2ae)])),_0x3d005c(0x2,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x345)])),_0x3d005c(0x3,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x45e9f0)),_0x3d005c(0x4,_0x1467aa[_0x4f2e97(0x3b0)])],_0x2f260d);let _0x46f667=class extends _0x1467aa[_0x4f2e97(0x15e)]{constructor(_0x4322ad=_0x2b70cf,_0x4dbc35,_0x52ab6f,_0xc73f5a){const _0x5f3eb9=_0x4f2e97;super(),this['_config']=_0x4322ad,this[_0x5f3eb9(0x16e)]=_0x4dbc35,this[_0x5f3eb9(0x1ee)]=_0x52ab6f,this[_0x5f3eb9(0x13f)]=_0xc73f5a;let {..._0x46125b}=(0x0,_0x1467aa['merge'])({},_0x2b70cf,this[_0x5f3eb9(0x1f0)]);this[_0x5f3eb9(0x13f)][_0x5f3eb9(0x3ac)](_0x4a92fb,_0x46125b);}['onStarting'](){const _0x3c13be=_0x4f2e97;[[_0x45e9f0],[_0x1682e8],[_0x3222ce],[_0x20ac2d],[_0x2f260d],[_0x436e91],[_0x4f87fc[_0x3c13be(0x129)],{'useClass':_0x5a3d94[_0x3c13be(0x2ad)]}],[_0x13a253[_0x3c13be(0x307)],{'useClass':_0x335e84}],[_0x366565[_0x3c13be(0x44b)],{'useClass':_0x5a3d94[_0x3c13be(0x3fe)]}]]['forEach'](_0x4015b1=>this['_injector'][_0x3c13be(0xb4)](_0x4015b1)),this['_injector']['get'](_0x1682e8);}[_0x4f2e97(0x2b5)](){const _0xefec36=_0x4f2e97;[[_0x5ab053]][_0xefec36(0x1c2)](_0x32a532=>{const _0x3c219c=_0xefec36;this[_0x3c219c(0x285)](this['_renderManagerService'][_0x3c219c(0x3d2)](_0x1467aa['UniverInstanceType'][_0x3c219c(0x407)],_0x32a532));}),this[_0xefec36(0x16e)]['get'](_0x436e91),this[_0xefec36(0x16e)][_0xefec36(0xea)](_0x2f260d);}['onSteady'](){const _0x4c9e28=_0x4f2e97;this[_0x4c9e28(0x16e)][_0x4c9e28(0xea)](_0x3222ce);}};_0x509a17(_0x46f667,'pluginName',_0x4f2e97(0x3a6)),_0x509a17(_0x46f667,'packageName',_0x274a62),_0x509a17(_0x46f667,_0x4f2e97(0x2f7),_0x38d248),_0x46f667=_0x5b67f4([(0x0,_0x1467aa[_0x4f2e97(0x1ec)])(_0x30725c[_0x4f2e97(0x144)],_0x4b91c0[_0x4f2e97(0x1b2)]),_0x3d005c(0x1,(0x0,_0x1467aa[_0x4f2e97(0x399)])(_0x1467aa[_0x4f2e97(0x35a)])),_0x3d005c(0x2,_0x93fecc['IRenderManagerService']),_0x3d005c(0x3,_0x1467aa[_0x4f2e97(0x3b0)])],_0x46f667),Object[_0x4f2e97(0x43b)](_0x2f0c78,'HistoryManagerService',{'enumerable':!0x0,'get':function(){return _0x45e9f0;}}),_0x2f0c78[_0x4f2e97(0x151)]=_0x4b9631,_0x2f0c78[_0x4f2e97(0xb6)]=_0x1f6d66,Object[_0x4f2e97(0x43b)](_0x2f0c78,_0x4f2e97(0x13d),{'enumerable':!0x0,'get':function(){return _0x3c0ceb;}}),Object[_0x4f2e97(0x43b)](_0x2f0c78,_0x4f2e97(0x176),{'enumerable':!0x0,'get':function(){return _0x46f667;}}),Object[_0x4f2e97(0x43b)](_0x2f0c78,'VersionDiffRenderController',{'enumerable':!0x0,'get':function(){return _0x5ab053;}}),Object['defineProperty'](_0x2f0c78,_0x4f2e97(0x253),{'enumerable':!0x0,'get':function(){return _0x3222ce;}});}));
|
|
18
18
|
|
|
19
19
|
// @univerjs-pro/edit-history-loader/index
|
|
20
|
-
function _0x3fb1(_0xfc5d79,_0x3c8a8b){_0xfc5d79=_0xfc5d79-0x8e;const _0x3c974f=_0x3c97();let _0x3fb11f=_0x3c974f[_0xfc5d79];return _0x3fb11f;}(function(_0x300870,_0x3ee065){const _0x3db542=_0x3fb1,_0x56a831=_0x300870();while(!![]){try{const _0x275e86=parseInt(_0x3db542(0x109))/0x1+-parseInt(_0x3db542(0xf2))/0x2*(-parseInt(_0x3db542(0xa3))/0x3)+parseInt(_0x3db542(0x145))/0x4+parseInt(_0x3db542(0x17e))/0x5+-parseInt(_0x3db542(0xc2))/0x6*(parseInt(_0x3db542(0x1bf))/0x7)+-parseInt(_0x3db542(0x1f2))/0x8+-parseInt(_0x3db542(0x135))/0x9*(parseInt(_0x3db542(0x17f))/0xa);if(_0x275e86===_0x3ee065)break;else _0x56a831['push'](_0x56a831['shift']());}catch(_0x29e660){_0x56a831['push'](_0x56a831['shift']());}}}(_0x3c97,0xb1756),function(_0x3299f1,_0x187192){const _0x288a10=_0x3fb1;typeof exports==_0x288a10(0x14b)&&typeof module<'u'?_0x187192(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-shape-ui'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/design'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-table'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/collaboration-client-ui'),require('react')):typeof define==_0x288a10(0xa4)&&define[_0x288a10(0x11f)]?define(_0x288a10(0x152)['split']('.'),_0x187192):(_0x3299f1=typeof globalThis<'u'?globalThis:_0x3299f1||self,_0x187192(_0x3299f1[_0x288a10(0x1c7)]={},_0x3299f1['UniverCore'],_0x3299f1[_0x288a10(0x132)],_0x3299f1[_0x288a10(0x1d9)],_0x3299f1['UniverProCollaborationClient'],_0x3299f1[_0x288a10(0x1cd)],_0x3299f1['UniverProLicense'],_0x3299f1[_0x288a10(0x1dc)],_0x3299f1[_0x288a10(0x97)],_0x3299f1['UniverProSheetsPivot'],_0x3299f1[_0x288a10(0x141)],_0x3299f1[_0x288a10(0x10c)],_0x3299f1[_0x288a10(0xba)],_0x3299f1['UniverProSheetsSparklineUi'],_0x3299f1[_0x288a10(0x195)],_0x3299f1[_0x288a10(0x1ef)],_0x3299f1['UniverDocs'],_0x3299f1[_0x288a10(0x9d)],_0x3299f1[_0x288a10(0x17c)],_0x3299f1[_0x288a10(0x1e1)],_0x3299f1['UniverEngineFormula'],_0x3299f1['UniverEngineRender'],_0x3299f1[_0x288a10(0x1df)],_0x3299f1[_0x288a10(0x19f)],_0x3299f1[_0x288a10(0x9f)],_0x3299f1[_0x288a10(0x1ad)],_0x3299f1[_0x288a10(0x172)],_0x3299f1[_0x288a10(0xe4)],_0x3299f1[_0x288a10(0x159)],_0x3299f1[_0x288a10(0x94)],_0x3299f1[_0x288a10(0x14a)],_0x3299f1[_0x288a10(0x1be)],_0x3299f1[_0x288a10(0x99)],_0x3299f1[_0x288a10(0x1c2)],_0x3299f1[_0x288a10(0x98)],_0x3299f1[_0x288a10(0x8e)],_0x3299f1['UniverSheetsNumfmt'],_0x3299f1[_0x288a10(0x134)],_0x3299f1[_0x288a10(0xea)],_0x3299f1[_0x288a10(0x15a)],_0x3299f1[_0x288a10(0xb9)],_0x3299f1[_0x288a10(0x1a1)],_0x3299f1[_0x288a10(0x15b)]));}(this,function(_0x47bd7f,_0x4768cc,_0x5291e4,_0x5a4bb3,_0x1bcaaa,_0x24b189,_0xaf852a,_0x26f45d,_0x5eb784,_0x20f548,_0x19153d,_0x52ff92,_0x1a7b2b,_0xbe8b70,_0x2fb111,_0x55689a,_0x2831dd,_0x2fc71c,_0x3c57a0,_0x31f905,_0x58e920,_0x42dad2,_0x2335d0,_0x468f57,_0x9a2c78,_0x29d8f8,_0x56fbbc,_0x335baf,_0x2ccf8e,_0x3d805c,_0x8c7465,_0x3903cf,_0x94ef8b,_0x29d7c7,_0x46ae5d,_0x1a8ceb,_0x3e207d,_0x234dd,_0x563a20,_0x533613,_0x98ff3a,_0x229d5a,_0x57c62c){const _0x800f78=_0x3fb1;Object['defineProperty'](_0x47bd7f,Symbol[_0x800f78(0xdd)],{'value':_0x800f78(0xa6)});let _0x363ddb=_0x800f78(0x19b),_0x2d5bdc={};function _0x589d80(_0x297196){'@babel/helpers - typeof';const _0x591191=_0x800f78;return _0x589d80=typeof Symbol=='function'&&typeof Symbol[_0x591191(0x102)]==_0x591191(0x9e)?function(_0x25780b){return typeof _0x25780b;}:function(_0x11a697){const _0xc6975e=_0x591191;return _0x11a697&&typeof Symbol==_0xc6975e(0xa4)&&_0x11a697['constructor']===Symbol&&_0x11a697!==Symbol[_0xc6975e(0x119)]?_0xc6975e(0x9e):typeof _0x11a697;},_0x589d80(_0x297196);}function _0x5613d4(_0x474fd0,_0x4a9f4a){const _0x5278c2=_0x800f78;if(_0x589d80(_0x474fd0)!=_0x5278c2(0x14b)||!_0x474fd0)return _0x474fd0;var _0x133771=_0x474fd0[Symbol[_0x5278c2(0x13d)]];if(_0x133771!==void 0x0){var _0x1c80bb=_0x133771[_0x5278c2(0xca)](_0x474fd0,_0x4a9f4a||_0x5278c2(0x10e));if(_0x589d80(_0x1c80bb)!=_0x5278c2(0x14b))return _0x1c80bb;throw TypeError(_0x5278c2(0x14c));}return(_0x4a9f4a==='string'?String:Number)(_0x474fd0);}function _0x51c71b(_0x208ba9){const _0x2f3aff=_0x800f78;var _0x38761f=_0x5613d4(_0x208ba9,_0x2f3aff(0x95));return _0x589d80(_0x38761f)==_0x2f3aff(0x9e)?_0x38761f:_0x38761f+'';}function _0x1ff16a(_0x183507,_0x596a59,_0x40931a){const _0x597ff4=_0x800f78;return(_0x596a59=_0x51c71b(_0x596a59))in _0x183507?Object[_0x597ff4(0xd7)](_0x183507,_0x596a59,{'value':_0x40931a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x183507[_0x596a59]=_0x40931a,_0x183507;}function _0x882259(_0x4caf64,_0xd4bd49){return function(_0xe482d,_0x3a6435){_0xd4bd49(_0xe482d,_0x3a6435,_0x4caf64);};}function _0x38cdd8(_0x341b50,_0x1ee58,_0x845896,_0x17ca04){const _0x455c67=_0x800f78;var _0x321786=arguments[_0x455c67(0x143)],_0x157a6a=_0x321786<0x3?_0x1ee58:_0x17ca04===null?_0x17ca04=Object[_0x455c67(0x165)](_0x1ee58,_0x845896):_0x17ca04,_0x17c1a5;if(typeof Reflect==_0x455c67(0x14b)&&typeof Reflect[_0x455c67(0x176)]==_0x455c67(0xa4))_0x157a6a=Reflect[_0x455c67(0x176)](_0x341b50,_0x1ee58,_0x845896,_0x17ca04);else{for(var _0x467c16=_0x341b50[_0x455c67(0x143)]-0x1;_0x467c16>=0x0;_0x467c16--)(_0x17c1a5=_0x341b50[_0x467c16])&&(_0x157a6a=(_0x321786<0x3?_0x17c1a5(_0x157a6a):_0x321786>0x3?_0x17c1a5(_0x1ee58,_0x845896,_0x157a6a):_0x17c1a5(_0x1ee58,_0x845896))||_0x157a6a);}return _0x321786>0x3&&_0x157a6a&&Object[_0x455c67(0xd7)](_0x1ee58,_0x845896,_0x157a6a),_0x157a6a;}let _0x55f9db=_0x800f78(0xec),_0x12ed48=_0x800f78(0xc9),_0x37b57d=class extends _0x4768cc[_0x800f78(0xfc)]{constructor(_0x3f4780,_0x4c91e7,_0x3ac143,_0x257d12,_0x1b6c51,_0x568d43,_0x1f41fe,_0x5dcae7,_0x45881f,_0x18c165){const _0x4a51c4=_0x800f78;super(),this[_0x4a51c4(0x1b7)]=_0x3f4780,this[_0x4a51c4(0x1d7)]=_0x4c91e7,this[_0x4a51c4(0x137)]=_0x3ac143,this[_0x4a51c4(0x1db)]=_0x257d12,this[_0x4a51c4(0x1c8)]=_0x1b6c51,this[_0x4a51c4(0x12c)]=_0x568d43,this[_0x4a51c4(0xaf)]=_0x1f41fe,this[_0x4a51c4(0xbc)]=_0x5dcae7,this[_0x4a51c4(0x1a5)]=_0x45881f,this[_0x4a51c4(0xf6)]=_0x18c165,_0x1ff16a(this,_0x4a51c4(0x1c4),new _0x98ff3a[(_0x4a51c4(0x91))](null)),_0x1ff16a(this,_0x4a51c4(0xcf),this[_0x4a51c4(0x1c4)][_0x4a51c4(0xde)]()),_0x1ff16a(this,_0x4a51c4(0x9c),new _0x4768cc[(_0x4a51c4(0x166))]()),_0x1ff16a(this,'_pluginMap',new Map()),_0x1ff16a(this,_0x4a51c4(0x1a8),null),this[_0x4a51c4(0x183)]();}get['historyUniver'](){const _0x5dd503=_0x800f78;return this['_historyUniver$'][_0x5dd503(0x1c0)];}['_init'](){const _0x55c9eb=_0x800f78;this['_initContainer'](),this[_0x55c9eb(0x1ce)]();}['_initContainer'](){const _0x2a0460=_0x800f78;var _0x55b218;let _0xf2c5bd=(_0x55b218=this[_0x2a0460(0x137)][_0x2a0460(0x1af)]('UNIVER_CONTAINER_ID'))==null?_0x2a0460(0x1da):_0x55b218,_0x174d2b=document[_0x2a0460(0xda)](_0xf2c5bd);if(!_0x174d2b)return;let _0x207850=document[_0x2a0460(0xfd)](_0x2a0460(0xa7));_0x207850['id']=_0x12ed48,_0x207850['dataset'][_0x2a0460(0xd3)]=_0x2a0460(0x1cb),_0x207850['style']['position']=_0x2a0460(0x16a),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0xb5)]='0',_0x207850['style'][_0x2a0460(0x14e)]='0',_0x207850['style']['width']=_0x2a0460(0x197),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0xdb)]=_0x2a0460(0x197),_0x207850[_0x2a0460(0x1bb)][_0x2a0460(0x1e3)]='49',_0x207850[_0x2a0460(0x1bb)]['display']=_0x2a0460(0x1ed),_0x174d2b[_0x2a0460(0xac)](_0x207850);}[_0x800f78(0x1ce)](){const _0x295414=_0x800f78;[[_0x42dad2['UniverRenderEnginePlugin']],[_0x533613['UniverUIPlugin'],{'container':_0x12ed48,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x533613[_0x295414(0xb7)],null]]}],[_0x2335d0[_0x295414(0xdc)]],[_0x3c57a0[_0x295414(0x169)],{'override':[[_0x3c57a0[_0x295414(0x138)],null]]}],[_0x2831dd['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x2fc71c['UniverDocsUIPlugin']],[_0x3e207d[_0x295414(0x180)]],[_0x5291e4[_0x295414(0x1a0)],{'notExecuteFormula':!0x0}],[_0x563a20['UniverSheetsUIPlugin']],[_0x94ef8b['UniverSheetsFormulaPlugin']],[_0x29d7c7[_0x295414(0xc3)]],[_0x5a4bb3['UniverCollaborationPlugin']],[_0x8c7465[_0x295414(0xae)]],[_0x3903cf[_0x295414(0x10a)]],[_0x9a2c78[_0x295414(0xe3)]],[_0x29d8f8[_0x295414(0x1e9)]],[_0x46ae5d['UniverSheetsHyperLinkPlugin']],[_0x1a8ceb[_0x295414(0x1a3)]],[_0x2fb111[_0x295414(0xce)]],[_0x56fbbc['UniverSheetsDataValidationPlugin']],[_0x335baf[_0x295414(0x126)]],[_0x58e920[_0x295414(0xc1)],{'notExecuteFormula':!0x0}],[_0x31f905[_0x295414(0x10f)]],[_0x2ccf8e['UniverSheetsDrawingPlugin']],[_0x3d805c[_0x295414(0xcb)]],[_0x1a7b2b[_0x295414(0xa8)]],[_0xbe8b70[_0x295414(0xff)]],[_0x26f45d['UniverSheetsChartPlugin']],[_0x5eb784[_0x295414(0x1b9)]],[_0x19153d['UniverSheetsShapePlugin']],[_0x52ff92['UniverSheetsShapeUIPlugin']],[_0x20f548['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x234dd['UniverSheetsTablePlugin']]][_0x295414(0x136)](([_0x5de4c7,_0x111e19])=>this[_0x295414(0x9a)](_0x5de4c7,_0x111e19));}[_0x800f78(0x1ae)](){const _0x230a39=_0x800f78;super[_0x230a39(0x1ae)](),this[_0x230a39(0x1eb)](),this['_pluginMap']['clear']();}['registerPlugin'](_0x49c9d1,_0x1980fb,_0x1a7d79){const _0x26459f=_0x800f78;if(this[_0x26459f(0x1ac)][_0x26459f(0x173)](_0x49c9d1[_0x26459f(0xf1)])&&!_0x1a7d79)throw Error(_0x26459f(0xe2)+_0x49c9d1[_0x26459f(0xf1)]+'\x20has\x20been\x20registered.');this[_0x26459f(0x1ac)][_0x26459f(0x1f3)](_0x49c9d1['pluginName'],[_0x49c9d1,_0x1980fb]);}[_0x800f78(0xa2)](){const _0x571041=_0x800f78;return Array['from'](this[_0x571041(0x1ac)]['values']());}[_0x800f78(0x160)](_0x401a34,_0x1b6e66){const _0x41dbea=_0x800f78;let _0x1684bb=document[_0x41dbea(0xda)](_0x12ed48);_0x1684bb&&(_0x1684bb['style'][_0x41dbea(0x12f)]='block',this[_0x41dbea(0xf9)](_0x401a34,_0x12ed48,_0x1b6e66));}[_0x800f78(0x1eb)](){const _0x580956=_0x800f78;var _0x4a5d79;this[_0x580956(0x9c)][_0x580956(0x1ae)](),(_0x4a5d79=this['historyUniver'])==null||_0x4a5d79[_0x580956(0x1ae)](),this['_historyUniver$'][_0x580956(0x181)](null);let _0x4576a5=document[_0x580956(0xda)](_0x12ed48);_0x4576a5&&(_0x4576a5[_0x580956(0x1bb)]['display']=_0x580956(0x1ed),this[_0x580956(0x1a8)]&&(this[_0x580956(0x1a8)]['terminate'](),this[_0x580956(0x1a8)]=null));}[_0x800f78(0xf9)](_0x577254,_0x56fb9e,_0x42b9a4){const _0x311bbd=_0x800f78;var _0x49f9fe,_0x2cc709,_0x1014de,_0x4a3f46,_0x22e3b;if(this[_0x311bbd(0x186)])return;let _0x1f3a68=new _0x4768cc[(_0x311bbd(0xb4))]({'locales':{[this[_0x311bbd(0x1b7)]['getCurrentLocale']()]:this[_0x311bbd(0x1b7)][_0x311bbd(0xf8)]()},'override':[[_0x4768cc[_0x311bbd(0x1b6)],{'useClass':_0x1bcaaa[_0x311bbd(0xfb)]}]]}),_0x228463=_0x1f3a68[_0x311bbd(0x193)]();this['disposeWithMe'](this[_0x311bbd(0xf6)][_0x311bbd(0x13a)][_0x311bbd(0x15d)](_0x38cc8c=>{const _0x3d57c3=_0x311bbd;_0x228463[_0x3d57c3(0x1b5)](_0x4768cc[_0x3d57c3(0xd6)])[_0x3d57c3(0x1a7)](_0x38cc8c);})),this[_0x311bbd(0x11d)](this['_themeService'][_0x311bbd(0xfe)]['subscribe'](_0x147112=>{const _0x2ba592=_0x311bbd;_0x228463[_0x2ba592(0x1b5)](_0x4768cc[_0x2ba592(0xd6)])['setTheme'](_0x147112);})),_0x228463[_0x311bbd(0x1b5)](_0x4768cc[_0x311bbd(0x18b)])[_0x311bbd(0x11c)](this[_0x311bbd(0x1b7)][_0x311bbd(0x198)]()),_0x228463[_0x311bbd(0x1b5)](_0x4768cc[_0x311bbd(0x161)])[_0x311bbd(0x1c3)](_0x1bcaaa[_0x311bbd(0x131)],this[_0x311bbd(0x137)][_0x311bbd(0x1af)](_0x1bcaaa[_0x311bbd(0x131)]));let _0x10b622=this['_configService'][_0x311bbd(0x1af)](_0xaf852a[_0x311bbd(0x93)]);_0x10b622&&_0x1f3a68[_0x311bbd(0x9a)](_0xaf852a[_0x311bbd(0x1ec)],{'license':_0x10b622['ls']});let _0x29596f=(_0x49f9fe=this['_configService'][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x49f9fe[_0x311bbd(0x1b8)],_0x1bfce=!!_0x29596f;_0x1bfce&&(this[_0x311bbd(0x1a8)]=_0x29596f instanceof Worker?_0x29596f:null,_0x1f3a68[_0x311bbd(0x9a)](_0x468f57[_0x311bbd(0xb2)],{'workerURL':_0x29596f})),this['_pluginMap']['forEach'](([_0x546a72,_0x1c41fb])=>{const _0x305306=_0x311bbd;_0x1f3a68[_0x305306(0x9a)](_0x546a72,_0x1c41fb);}),_0x1f3a68['registerPlugin'](_0x24b189[_0x311bbd(0x124)],{'historyListServerUrl':(_0x2cc709=this[_0x311bbd(0x137)][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x2cc709[_0x311bbd(0xbb)],'historyPanelComponentKey':(_0x1014de=this['_configService'][_0x311bbd(0x1af)](_0x311bbd(0x19b)))==null?void 0x0:_0x1014de[_0x311bbd(0xc4)],'historyPanelHidden':(_0x4a3f46=this['_configService'][_0x311bbd(0x1af)]('edit-history-loader.config'))==null?void 0x0:_0x4a3f46[_0x311bbd(0xf3)],'historyAIassistantEnabled':(_0x22e3b=this['_configService']['getConfig'](_0x311bbd(0x19b)))==null?void 0x0:_0x22e3b[_0x311bbd(0x1a9)]}),_0x228463['invoke'](_0x144530=>{this['_initListener'](_0x144530,_0x577254);}),this[_0x311bbd(0x1c4)][_0x311bbd(0x181)](_0x1f3a68);let _0x3c8924=_0x228463['get'](_0x24b189[_0x311bbd(0x1b1)]),_0x3ed72b=this['_checkCanRevert'](_0x577254),_0xd2760e=()=>{const _0x11d4c2=_0x311bbd;_0x42b9a4?_0x3c8924['triggerCustomVersions'](_0x577254,_0x56fb9e,_0x3ed72b,_0x42b9a4):_0x3c8924[_0x11d4c2(0x1b0)](_0x577254,_0x56fb9e,_0x3ed72b);};if(this['_messageService'][_0x311bbd(0x1aa)]({'content':this['_localeService']['t'](_0x311bbd(0x16e)),'type':_0x55689a[_0x311bbd(0x15c)][_0x311bbd(0xbd)]}),_0x1bfce)try{_0x228463['get'](_0x468f57[_0x311bbd(0x13f)])[_0x311bbd(0x164)]()[_0x311bbd(0x179)](()=>{_0xd2760e();});}catch{_0xd2760e();}else _0xd2760e();}[_0x800f78(0x18d)](_0x58ab44,_0x398b56){const _0x3f3bc1=_0x800f78;let _0x2816bc=_0x58ab44[_0x3f3bc1(0x1b5)](_0x24b189[_0x3f3bc1(0x1b1)]);this[_0x3f3bc1(0x9c)][_0x3f3bc1(0x16f)](_0x2816bc[_0x3f3bc1(0x10d)][_0x3f3bc1(0x15d)](_0x55af5a=>{const _0x259c24=_0x3f3bc1;switch(_0x55af5a){case _0x24b189[_0x259c24(0xe5)][_0x259c24(0xf4)]:this[_0x259c24(0xbc)][_0x259c24(0x155)](),this[_0x259c24(0x1a5)][_0x259c24(0x1ba)]();break;case _0x24b189[_0x259c24(0xe5)][_0x259c24(0x17d)]:this[_0x259c24(0x1db)][_0x259c24(0x90)](_0xe4584b['id']),this[_0x259c24(0x1eb)]();break;case _0x24b189[_0x259c24(0xe5)]['Error']:this[_0x259c24(0x1eb)](),this['_messageService'][_0x259c24(0x1aa)]({'content':this[_0x259c24(0x1b7)]['t']('edit-history-loader.panel.listFetchError'),'type':_0x55689a[_0x259c24(0x15c)][_0x259c24(0x151)],'duration':0xbb8});break;default:break;}})),this['_disposableCollection'][_0x3f3bc1(0x16f)](_0x2816bc[_0x3f3bc1(0x1a4)][_0x3f3bc1(0x15d)](async _0x2a1f96=>{const _0x44fbeb=_0x3f3bc1;_0x2a1f96&&this[_0x44fbeb(0x1db)][_0x44fbeb(0x90)](_0x5a4bb3['RevertRevisionMutation']['id'],{'unitId':_0x398b56,'revision':_0x2a1f96});}));}['_checkCanRevert'](_0x380ebb){const _0xad41f6=_0x800f78;let _0x189d12=this[_0xad41f6(0x1d7)]['getUnit'](_0x380ebb)[_0xad41f6(0x149)]()[_0xad41f6(0xf0)](_0xf0b686=>_0xf0b686[_0xad41f6(0x120)]()),_0xe9a4e2=new _0x5291e4[(_0xad41f6(0x12b))](_0x380ebb)['id'],_0x377a2a=_0x189d12[_0xad41f6(0xf0)](_0x50cda2=>new _0x5291e4[(_0xad41f6(0x157))](_0x380ebb,_0x50cda2)['id']),_0x3aa28f=_0x189d12[_0xad41f6(0xf0)](_0x4b3607=>this[_0xad41f6(0xaf)][_0xad41f6(0x1c9)](_0x380ebb,_0x4b3607)[_0xad41f6(0xf0)](_0x5b1a8c=>new _0x5291e4[(_0xad41f6(0x1e7))](_0x380ebb,_0x4b3607,_0x5b1a8c['permissionId'])['id']))[_0xad41f6(0x1d5)](),_0x2844c2=new _0x5291e4[(_0xad41f6(0x1d4))](_0x380ebb)['id'];return this[_0xad41f6(0x12c)][_0xad41f6(0x153)]([_0xe9a4e2,..._0x377a2a,..._0x3aa28f,_0x2844c2])['every'](_0x234528=>!!_0x234528['value']);}};_0x37b57d=_0x38cdd8([_0x882259(0x0,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x1,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0x2,_0x4768cc[_0x800f78(0x161)]),_0x882259(0x3,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x4,_0x533613[_0x800f78(0x182)]),_0x882259(0x5,_0x4768cc[_0x800f78(0xd2)]),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x5291e4[_0x800f78(0x122)])),_0x882259(0x7,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0xb7)])),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x12e)])),_0x882259(0x9,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd6)]))],_0x37b57d);let _0x4ed86a={'id':_0x800f78(0x175),'type':_0x4768cc[_0x800f78(0x174)][_0x800f78(0xf7)],'handler':_0x1c2e59=>{const _0x3d1b82=_0x800f78;let _0x1011c6=_0x1c2e59[_0x3d1b82(0x1b5)](_0x37b57d),{unitId:_0x56c28c}=(0x0,_0x5291e4[_0x3d1b82(0xaa)])(_0x1c2e59[_0x3d1b82(0x1b5)](_0x4768cc[_0x3d1b82(0x14d)]))||{};return _0x56c28c?(_0x1011c6[_0x3d1b82(0x160)](_0x56c28c),!0x0):!0x1;}},_0xe4584b={'id':_0x800f78(0xcd),'type':_0x4768cc[_0x800f78(0x174)][_0x800f78(0xf7)],'handler':()=>!0x0};var _0x2744bf=_0x800f78(0x12d),_0x151c73=_0x800f78(0x150);function _0x28621a({ref:_0x13bab1,..._0x415950}){const _0x465441=_0x800f78;let {icon:_0x208242,id:_0x51de9e,className:_0x153c99,extend:_0x585b4b,..._0x27d268}=_0x415950,_0x142101=('univerjs-icon\x20univerjs-icon-'+_0x51de9e+'\x20'+(_0x153c99||''))[_0x465441(0xb1)](),_0x142251=(0x0,_0x57c62c['useRef'])('_'+_0x1c2b70());return _0x5c4280(_0x208242,''+_0x51de9e,{'defIds':_0x208242[_0x465441(0x1ab)],'idSuffix':_0x142251[_0x465441(0x178)]},{'ref':_0x13bab1,'className':_0x142101,..._0x27d268},_0x585b4b);}function _0x5c4280(_0x3f2d39,_0x2ba780,_0x20a4eb,_0x123ab9,_0x21edcf){const _0x3b35ec=_0x800f78;return(0x0,_0x57c62c[_0x3b35ec(0xfd)])(_0x3f2d39[_0x3b35ec(0x1e2)],{'key':_0x2ba780,..._0x543c7d(_0x3f2d39,_0x20a4eb,_0x21edcf),..._0x123ab9},(_0x1c493a(_0x3f2d39,_0x20a4eb)[_0x3b35ec(0x158)]||[])[_0x3b35ec(0xf0)]((_0x195ca6,_0x235f5a)=>_0x5c4280(_0x195ca6,_0x2ba780+'-'+_0x3f2d39[_0x3b35ec(0x1e2)]+'-'+_0x235f5a,_0x20a4eb,void 0x0,_0x21edcf)));}function _0x543c7d(_0x5e8967,_0x499815,_0x5e52f4){const _0x109131=_0x800f78;let _0x4ea6ce={..._0x5e8967[_0x109131(0xc5)]};_0x5e52f4!=null&&_0x5e52f4['colorChannel1']&&_0x4ea6ce[_0x109131(0x18c)]==='colorChannel1'&&(_0x4ea6ce['fill']=_0x5e52f4[_0x109131(0x1f1)]),_0x5e8967[_0x109131(0x1e2)]===_0x109131(0xbf)&&_0x4ea6ce['id']&&(_0x4ea6ce['id']+=_0x499815[_0x109131(0xed)]),Object['entries'](_0x4ea6ce)[_0x109131(0x136)](([_0x4a3df1,_0x3191bb])=>{const _0xb4e01c=_0x109131;_0x4a3df1===_0xb4e01c(0xbf)&&typeof _0x3191bb==_0xb4e01c(0x95)&&(_0x4ea6ce[_0x4a3df1]=_0x3191bb[_0xb4e01c(0xb3)](/url\(#(.*)\)/,_0xb4e01c(0x1ea)+_0x499815[_0xb4e01c(0xed)]+')'));});let {defIds:_0x4cd540}=_0x499815;return!_0x4cd540||_0x4cd540['length']===0x0?_0x4ea6ce:(_0x5e8967[_0x109131(0x1e2)]===_0x109131(0x185)&&_0x4ea6ce[_0x109131(0x1f4)]&&(_0x4ea6ce[_0x109131(0x1f4)]+=_0x499815[_0x109131(0xed)]),Object['entries'](_0x4ea6ce)[_0x109131(0x136)](([_0x94733f,_0x3c9a58])=>{const _0x5deb9c=_0x109131;typeof _0x3c9a58==_0x5deb9c(0x95)&&(_0x4ea6ce[_0x94733f]=_0x3c9a58['replace'](/url\(#(.*)\)/,'url(#$1'+_0x499815[_0x5deb9c(0xed)]+')'));}),_0x4ea6ce);}function _0x1c493a(_0x464485,_0x435283){const _0x3633ee=_0x800f78;var _0x281080;let {defIds:_0x3951d7}=_0x435283;return!_0x3951d7||_0x3951d7[_0x3633ee(0x143)]===0x0?_0x464485:_0x464485[_0x3633ee(0x1e2)]===_0x3633ee(0x1c5)&&(_0x281080=_0x464485['children'])!=null&&_0x281080['length']?{..._0x464485,'children':_0x464485['children'][_0x3633ee(0xf0)](_0x970630=>typeof _0x970630['attrs']['id']==_0x3633ee(0x95)&&_0x3951d7&&_0x3951d7['includes'](_0x970630[_0x3633ee(0xc5)]['id'])?{..._0x970630,'attrs':{..._0x970630[_0x3633ee(0xc5)],'id':_0x970630[_0x3633ee(0xc5)]['id']+_0x435283[_0x3633ee(0xed)]}}:_0x970630)}:_0x464485;}function _0x1c2b70(){const _0x39258e=_0x800f78;return Math['random']()[_0x39258e(0x13b)](0x24)[_0x39258e(0x144)](0x2,0x8);}_0x28621a['displayName']='UniverIcon';let _0x257b5c={'tag':_0x800f78(0x1de),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x800f78(0x1ed),'viewBox':'0\x200\x2016\x2016','width':_0x800f78(0x1bc),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x800f78(0xab),'clipPath':_0x800f78(0x189)},'children':[{'tag':_0x800f78(0xad),'attrs':{'d':_0x800f78(0x92)}},{'tag':'path','attrs':{'d':'M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z'}}]},{'tag':_0x800f78(0x1c5),'attrs':{},'children':[{'tag':_0x800f78(0x103),'attrs':{'id':_0x800f78(0x147)},'children':[{'tag':_0x800f78(0xad),'attrs':{'fill':_0x800f78(0xe8),'d':_0x800f78(0x19a)}}]}]}],'defIds':[_0x800f78(0x147)]},_0x47de05=(0x0,_0x57c62c[_0x800f78(0xdf)])(function(_0x59464a,_0x52c4ba){const _0x15272d=_0x800f78;return(0x0,_0x57c62c['createElement'])(_0x28621a,Object[_0x15272d(0x117)]({},_0x59464a,{'id':_0x15272d(0x1d1),'ref':_0x52c4ba,'icon':_0x257b5c}));});_0x47de05[_0x800f78(0x13e)]=_0x800f78(0x105);function _0x31fb98(_0x13f582){const _0x1b201f=_0x800f78;return{'id':_0x4ed86a['id'],'type':_0x533613['MenuItemType']['BUTTON'],'icon':_0x1b201f(0x105),'tooltip':'edit-history-loader.panel.title','hidden$':(0x0,_0x533613[_0x1b201f(0xa5)])(_0x13f582,_0x4768cc['UniverInstanceType'][_0x1b201f(0xd9)]),'disabled$':(0x0,_0x563a20[_0x1b201f(0x190)])(_0x13f582,{'workbookTypes':[_0x5291e4[_0x1b201f(0x113)]],'worksheetTypes':[],'rangeTypes':[]})};}let _0x6e07a0={[_0x533613[_0x800f78(0x1d3)][_0x800f78(0x146)]]:{[_0x4ed86a['id']]:{'order':0.2,'menuItemFactory':_0x31fb98}}},_0x991532=class extends _0x4768cc['RxDisposable']{constructor(_0x58967b,_0xdceab7,_0xfe2802,_0x1dd040,_0x172131,_0x21dc51,_0x51d82c,_0x1be745,_0x58b5ce,_0x391709,_0x1f0e2a){const _0x55c0ad=_0x800f78;super(),this[_0x55c0ad(0x1db)]=_0x58967b,this[_0x55c0ad(0xb8)]=_0xdceab7,this[_0x55c0ad(0x108)]=_0xfe2802,this[_0x55c0ad(0x13c)]=_0x1dd040,this[_0x55c0ad(0x1b7)]=_0x172131,this[_0x55c0ad(0x1c8)]=_0x21dc51,this[_0x55c0ad(0x1b2)]=_0x51d82c,this[_0x55c0ad(0xd8)]=_0x1be745,this['_dataLoaderService']=_0x58b5ce,this['_univerInstanceService']=_0x391709,this[_0x55c0ad(0x142)]=_0x1f0e2a,_0x1ff16a(this,_0x55c0ad(0xe7),null),this[_0x55c0ad(0x183)]();}[_0x800f78(0x183)](){const _0x5462fa=_0x800f78;[_0x4ed86a,_0xe4584b][_0x5462fa(0x136)](_0x41da18=>this[_0x5462fa(0x11d)]((0x0,_0x4768cc[_0x5462fa(0xeb)])(this[_0x5462fa(0x1db)]['registerCommand'](_0x41da18)))),this[_0x5462fa(0x11d)](this[_0x5462fa(0x108)][_0x5462fa(0xe1)]('HistoryIcon',_0x47de05)),this[_0x5462fa(0xb8)][_0x5462fa(0x1d0)](_0x6e07a0),this['disposeWithMe'](this[_0x5462fa(0x1db)][_0x5462fa(0x194)](async(_0x24c0c0,_0x58adb3)=>{const _0x37440e=_0x5462fa;if(_0x24c0c0['id']===_0x5a4bb3[_0x37440e(0x17b)]['id']){let {unitId:_0xd9858f}=_0x24c0c0['params'];this[_0x37440e(0x1c8)][_0x37440e(0x1aa)]({'content':this[_0x37440e(0x1b7)]['t']('edit-history-loader.panel.reverting'),'type':_0x55689a[_0x37440e(0x15c)][_0x37440e(0xbd)],'duration':0x1388});let _0x5dfde2=this[_0x37440e(0x1b2)][_0x37440e(0x191)](_0xd9858f);_0x58adb3!=null&&_0x58adb3['fromCollab']?this[_0x37440e(0x167)](_0x5dfde2,async()=>(setTimeout(()=>window[_0x37440e(0x19c)]['reload']()),!0x0),!0x0):this[_0x37440e(0x167)](_0x5dfde2,async()=>{const _0x19816a=_0x37440e;let _0x343a28=this[_0x19816a(0x1d7)][_0x19816a(0x128)](_0x4768cc[_0x19816a(0x1d6)][_0x19816a(0xd9)]),_0x36011c=_0x343a28==null?void 0x0:_0x343a28[_0x19816a(0xb6)]();if(!_0x36011c)return!0x1;this[_0x19816a(0x1d7)][_0x19816a(0x115)](_0xd9858f);let _0x392109=await this[_0x19816a(0x101)][_0x19816a(0x1dd)](_0xd9858f,_0x4768cc[_0x19816a(0x1d6)][_0x19816a(0xd9)]);return _0x392109&&_0x392109 instanceof _0x4768cc['Workbook']?(await this['_setupSubUnitSync'](_0x392109,_0x36011c[_0x19816a(0x120)]()),!0x0):!0x1;});}}));}[_0x800f78(0x167)](_0x3549b5,_0x357860,_0x26b996=!0x1){const _0x3239d5=_0x800f78;let _0x176ebc=(0x0,_0x98ff3a[_0x3239d5(0x130)])([_0x3549b5[_0x3239d5(0xe9)][_0x3239d5(0x15f)],_0x3549b5[_0x3239d5(0x140)]])[_0x3239d5(0x15d)](async([_0x172ec1,_0x164a63])=>{const _0x52d4db=_0x3239d5;if(_0x172ec1[_0x52d4db(0x1b3)]===_0x5a4bb3[_0x52d4db(0x1e0)][_0x52d4db(0x1cc)]&&(_0x164a63==null?void 0x0:_0x164a63[_0x52d4db(0x14f)])===_0x1bcaaa[_0x52d4db(0x114)][_0x52d4db(0xe0)]&&_0x172ec1['data'][_0x52d4db(0x184)][_0x52d4db(0x139)](_0x5e1496=>_0x5e1496['id']===_0x5a4bb3[_0x52d4db(0x17b)]['id'])&&await _0x357860()){var _0x3458d2;this[_0x52d4db(0x13c)][_0x52d4db(0x1eb)](),_0x176ebc['unsubscribe'](),this['_revertErrorTimer']&&clearTimeout(this[_0x52d4db(0xe7)]),await((_0x3458d2=this[_0x52d4db(0xd8)])==null?void 0x0:_0x3458d2[_0x52d4db(0x100)]()),this[_0x52d4db(0x1c8)]['removeAll']();}});_0x26b996&&(this[_0x3239d5(0xe7)]=setTimeout(()=>{const _0x391505=_0x3239d5;_0x176ebc[_0x391505(0x19d)](),this[_0x391505(0x1c8)][_0x391505(0x1aa)]({'content':this['_localeService']['t'](_0x391505(0x1ca)),'type':_0x55689a[_0x391505(0x15c)][_0x391505(0x151)],'duration':0xbb8});},0x1388));}async[_0x800f78(0xc8)](_0x11d744,_0x4e0c0d){const _0x19e619=_0x800f78;await this[_0x19e619(0x18e)](_0x11d744,_0x4e0c0d),_0x11d744[_0x19e619(0xa0)][_0x19e619(0x15e)]((0x0,_0x98ff3a[_0x19e619(0x1d2)])(this[_0x19e619(0x123)]))['subscribe'](_0x198951=>{_0x198951&&this['_updateURLWithCurrentState'](_0x198951);}),this[_0x19e619(0x142)][_0x19e619(0xbe)]['pipe']((0x0,_0x98ff3a['takeUntil'])(this['dispose$']))['subscribe'](()=>this[_0x19e619(0x18e)](_0x11d744,_0x4e0c0d));}['_updateURLWithCurrentState'](_0x88f6cd,_0x275ee4=!0x1){const _0x28cbc9=_0x800f78;let _0x47c03d=this['_urlService'][_0x28cbc9(0x187)]('subunit');_0x88f6cd[_0x28cbc9(0x120)]()!==_0x47c03d&&this[_0x28cbc9(0x142)][_0x28cbc9(0x163)](_0x28cbc9(0x162),_0x88f6cd[_0x28cbc9(0x120)](),_0x275ee4);}async['_updateSubUnitFromURLParams'](_0x16ea57,_0x5c67c5){const _0x9c5df1=_0x800f78;var _0x126cb0;if(!_0x5c67c5||!_0x16ea57[_0x9c5df1(0x1f0)](_0x5c67c5)){let _0x446c9b=_0x16ea57['getUnhiddenWorksheets']()[0x0],_0x1e3d20=_0x16ea57['getSheetBySheetId'](_0x446c9b);if(!_0x1e3d20)return;this[_0x9c5df1(0xc0)](_0x1e3d20,!0x0),await this['_commandService'][_0x9c5df1(0x90)](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ea57[_0x9c5df1(0x19e)](),'subUnitId':_0x446c9b});return;}((_0x126cb0=_0x16ea57[_0x9c5df1(0xb6)]())==null?void 0x0:_0x126cb0[_0x9c5df1(0x120)]())!==_0x5c67c5&&await this[_0x9c5df1(0x1db)][_0x9c5df1(0x90)](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ea57[_0x9c5df1(0x19e)](),'subUnitId':_0x5c67c5});}};_0x991532=_0x38cdd8([_0x882259(0x0,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x1,_0x533613[_0x800f78(0x177)]),_0x882259(0x2,(0x0,_0x4768cc['Inject'])(_0x533613[_0x800f78(0x1ee)])),_0x882259(0x3,(0x0,_0x4768cc['Inject'])(_0x37b57d)),_0x882259(0x4,(0x0,_0x4768cc['Inject'])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x5,_0x533613[_0x800f78(0x182)]),_0x882259(0x6,(0x0,_0x4768cc['Inject'])(_0x1bcaaa['CollaborationController'])),_0x882259(0x7,_0x1bcaaa[_0x800f78(0x17a)]),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x1e8)])),_0x882259(0x9,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0xa,_0x229d5a[_0x800f78(0x156)])],_0x991532);let _0x3f86ab=_0x800f78(0xf5),_0x14791e=class extends _0x4768cc[_0x800f78(0xfc)]{constructor(_0x1bc53a,_0x340555,_0x9a63b4,_0x10b001,_0x108e80,_0x395f6c,_0x273fd9,_0x18aeb7,_0x18dafd,_0x2d6db8){const _0x35549b=_0x800f78;super(),this[_0x35549b(0x1b7)]=_0x1bc53a,this[_0x35549b(0x1d7)]=_0x340555,this[_0x35549b(0x137)]=_0x9a63b4,this[_0x35549b(0x1db)]=_0x10b001,this[_0x35549b(0x1c8)]=_0x108e80,this['_permissionService']=_0x395f6c,this[_0x35549b(0xaf)]=_0x273fd9,this['_dialogService']=_0x18aeb7,this[_0x35549b(0x1a5)]=_0x18dafd,this[_0x35549b(0xf6)]=_0x2d6db8,_0x1ff16a(this,_0x35549b(0x1c4),new _0x98ff3a[(_0x35549b(0x91))](null)),_0x1ff16a(this,_0x35549b(0xcf),this[_0x35549b(0x1c4)][_0x35549b(0xde)]()),_0x1ff16a(this,_0x35549b(0x9c),new _0x4768cc[(_0x35549b(0x166))]()),_0x1ff16a(this,_0x35549b(0x1ac),new Map()),_0x1ff16a(this,_0x35549b(0x1a8),null),this['_init']();}get[_0x800f78(0x186)](){return this['_historyUniver$']['value'];}['_init'](){const _0x1d3cb3=_0x800f78;this[_0x1d3cb3(0x127)](),this[_0x1d3cb3(0x1ce)]();}[_0x800f78(0x127)](){const _0x309196=_0x800f78;var _0x3a6688;let _0x382178=(_0x3a6688=this[_0x309196(0x137)]['getConfig']('UNIVER_CONTAINER_ID'))==null?_0x309196(0x1da):_0x3a6688,_0x55fc50=document[_0x309196(0xda)](_0x382178);if(!_0x55fc50)return;let _0x1c46dc=document[_0x309196(0xfd)](_0x309196(0xa7));_0x1c46dc['id']=_0x3f86ab,_0x1c46dc[_0x309196(0xd1)]['uComp']=_0x309196(0x1cb),_0x1c46dc[_0x309196(0x1bb)]['position']=_0x309196(0x16a),_0x1c46dc['style'][_0x309196(0xb5)]='0',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x14e)]='0',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x106)]='100%',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0xdb)]=_0x309196(0x197),_0x1c46dc[_0x309196(0x1bb)]['zIndex']='49',_0x1c46dc[_0x309196(0x1bb)][_0x309196(0x12f)]=_0x309196(0x1ed),_0x55fc50[_0x309196(0xac)](_0x1c46dc);}['_initPlugins'](){const _0x208bd9=_0x800f78;[[_0x42dad2['UniverRenderEnginePlugin']],[_0x533613[_0x208bd9(0x8f)],{'container':_0x3f86ab,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x533613[_0x208bd9(0xb7)],null]]}],[_0x2335d0[_0x208bd9(0xdc)]],[_0x3c57a0[_0x208bd9(0x169)],{'override':[[_0x3c57a0[_0x208bd9(0x138)],null]]}],[_0x2831dd[_0x208bd9(0x1c1)],{'hasScroll':!0x1}],[_0x2fc71c[_0x208bd9(0x11e)]],[_0x3e207d[_0x208bd9(0x180)]],[_0x5291e4[_0x208bd9(0x1a0)],{'notExecuteFormula':!0x0}],[_0x563a20['UniverSheetsMobileUIPlugin']],[_0x94ef8b[_0x208bd9(0x1d8)]],[_0x29d7c7['UniverSheetsFormulaUIPlugin']],[_0x5a4bb3[_0x208bd9(0xc6)]],[_0x8c7465[_0x208bd9(0xae)]],[_0x9a2c78['UniverSheetsConditionalFormattingPlugin']],[_0x46ae5d[_0x208bd9(0x11b)]],[_0x1a8ceb['UniverSheetsHyperLinkUIPlugin']],[_0x2fb111[_0x208bd9(0xce)]],[_0x56fbbc[_0x208bd9(0xc7)]],[_0x335baf[_0x208bd9(0x1e4)]],[_0x58e920['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0x31f905[_0x208bd9(0x10f)]],[_0x2ccf8e[_0x208bd9(0xa9)]],[_0x3d805c[_0x208bd9(0xcb)]],[_0x1a7b2b[_0x208bd9(0xa8)]],[_0xbe8b70[_0x208bd9(0xff)]],[_0x26f45d['UniverSheetsChartPlugin']],[_0x5eb784[_0x208bd9(0x1b9)]],[_0x19153d[_0x208bd9(0x192)]],[_0x52ff92['UniverSheetsShapeUIPlugin']],[_0x20f548[_0x208bd9(0x16b)],{'notExecuteFormula':!0x0}],[_0x234dd[_0x208bd9(0x171)]]]['forEach'](([_0x179de9,_0x557e28])=>this[_0x208bd9(0x9a)](_0x179de9,_0x557e28));}[_0x800f78(0x1ae)](){const _0x27faa9=_0x800f78;super[_0x27faa9(0x1ae)](),this['unMountHistoryContent'](),this[_0x27faa9(0x1ac)][_0x27faa9(0x118)]();}[_0x800f78(0x9a)](_0x532e9f,_0x1c0c6a,_0x3d9564){const _0x1e3c7a=_0x800f78;if(this[_0x1e3c7a(0x1ac)][_0x1e3c7a(0x173)](_0x532e9f[_0x1e3c7a(0xf1)])&&!_0x3d9564)throw Error(_0x1e3c7a(0xfa)+_0x532e9f['pluginName']+'\x20has\x20been\x20registered.');this['_pluginMap'][_0x1e3c7a(0x1f3)](_0x532e9f[_0x1e3c7a(0xf1)],[_0x532e9f,_0x1c0c6a]);}[_0x800f78(0xa2)](){const _0x194336=_0x800f78;return Array[_0x194336(0x168)](this[_0x194336(0x1ac)]['values']());}[_0x800f78(0x160)](_0x57df60,_0x4b4068){const _0xf63ff9=_0x800f78;let _0x38185d=document[_0xf63ff9(0xda)](_0x3f86ab);_0x38185d&&(_0x38185d[_0xf63ff9(0x1bb)][_0xf63ff9(0x12f)]=_0xf63ff9(0xe6),this[_0xf63ff9(0xf9)](_0x57df60,_0x3f86ab,_0x4b4068));}[_0x800f78(0x1eb)](){const _0x2d382a=_0x800f78;var _0x6796ba;this['_disposableCollection'][_0x2d382a(0x1ae)](),(_0x6796ba=this['historyUniver'])==null||_0x6796ba[_0x2d382a(0x1ae)](),this[_0x2d382a(0x1c4)][_0x2d382a(0x181)](null);let _0xe6e60d=document['getElementById'](_0x3f86ab);_0xe6e60d&&(_0xe6e60d['style'][_0x2d382a(0x12f)]=_0x2d382a(0x1ed),this[_0x2d382a(0x1a8)]&&(this[_0x2d382a(0x1a8)][_0x2d382a(0xd4)](),this[_0x2d382a(0x1a8)]=null));}['_initUniver'](_0x246d72,_0xa67c85,_0x55f4b2){const _0x5bc821=_0x800f78;var _0x2a6f80,_0x203230,_0x412cbb,_0x3ea0cf;if(this[_0x5bc821(0x186)])return;let _0x935996=new _0x4768cc['Univer']({'locales':{[this[_0x5bc821(0x1b7)][_0x5bc821(0x198)]()]:this[_0x5bc821(0x1b7)]['getLocales']()},'override':[[_0x4768cc[_0x5bc821(0x1b6)],{'useClass':_0x1bcaaa[_0x5bc821(0xfb)]}]]}),_0x5c67e0=_0x935996[_0x5bc821(0x193)]();this[_0x5bc821(0x11d)](this[_0x5bc821(0xf6)][_0x5bc821(0x13a)][_0x5bc821(0x15d)](_0x326256=>{const _0x1f0b47=_0x5bc821;_0x5c67e0['get'](_0x4768cc['ThemeService'])[_0x1f0b47(0x1a7)](_0x326256);})),this[_0x5bc821(0x11d)](this[_0x5bc821(0xf6)]['currentTheme$'][_0x5bc821(0x15d)](_0x4a5f9c=>{const _0x469c59=_0x5bc821;_0x5c67e0[_0x469c59(0x1b5)](_0x4768cc[_0x469c59(0xd6)])[_0x469c59(0x16d)](_0x4a5f9c);})),_0x5c67e0[_0x5bc821(0x1b5)](_0x4768cc['LocaleService'])[_0x5bc821(0x11c)](this[_0x5bc821(0x1b7)][_0x5bc821(0x198)]()),_0x5c67e0[_0x5bc821(0x1b5)](_0x4768cc['IConfigService'])[_0x5bc821(0x1c3)](_0x1bcaaa[_0x5bc821(0x131)],this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x1bcaaa[_0x5bc821(0x131)]));let _0x324e52=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0xaf852a[_0x5bc821(0x93)]);_0x324e52&&_0x935996[_0x5bc821(0x9a)](_0xaf852a[_0x5bc821(0x1ec)],{'license':_0x324e52['ls']});let _0x179a3c=(_0x2a6f80=this[_0x5bc821(0x137)][_0x5bc821(0x1af)]('edit-history-loader.config'))==null?void 0x0:_0x2a6f80[_0x5bc821(0x1b8)],_0x5e78de=!!_0x179a3c;_0x5e78de&&(this[_0x5bc821(0x1a8)]=_0x179a3c instanceof Worker?_0x179a3c:null,_0x935996[_0x5bc821(0x9a)](_0x468f57[_0x5bc821(0xb2)],{'workerURL':_0x179a3c})),this[_0x5bc821(0x1ac)]['forEach'](([_0x5d1201,_0x50cdc4])=>{const _0x13459e=_0x5bc821;_0x935996[_0x13459e(0x9a)](_0x5d1201,_0x50cdc4);}),_0x935996[_0x5bc821(0x9a)](_0x24b189[_0x5bc821(0x170)],{'historyListServerUrl':(_0x203230=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x5bc821(0x19b)))==null?void 0x0:_0x203230[_0x5bc821(0xbb)],'historyPanelComponentKey':(_0x412cbb=this[_0x5bc821(0x137)]['getConfig']('edit-history-loader.config'))==null?void 0x0:_0x412cbb[_0x5bc821(0xc4)],'historyPanelHidden':(_0x3ea0cf=this[_0x5bc821(0x137)][_0x5bc821(0x1af)](_0x5bc821(0x19b)))==null?void 0x0:_0x3ea0cf[_0x5bc821(0xf3)]}),_0x5c67e0[_0x5bc821(0x125)](_0xa02876=>{const _0x29140b=_0x5bc821;this[_0x29140b(0x18d)](_0xa02876,_0x246d72);}),this[_0x5bc821(0x1c4)][_0x5bc821(0x181)](_0x935996);let _0x1e9acb=_0x5c67e0[_0x5bc821(0x1b5)](_0x24b189['HistoryManagerService']),_0x3a5d7e=this['_checkCanRevert'](_0x246d72),_0x5c33f=()=>{const _0x32e9a9=_0x5bc821;_0x55f4b2?_0x1e9acb['triggerCustomVersions'](_0x246d72,_0xa67c85,_0x3a5d7e,_0x55f4b2):_0x1e9acb[_0x32e9a9(0x1b0)](_0x246d72,_0xa67c85,_0x3a5d7e);};if(this['_messageService']['show']({'content':this[_0x5bc821(0x1b7)]['t'](_0x5bc821(0x16e)),'type':_0x55689a[_0x5bc821(0x15c)][_0x5bc821(0xbd)]}),_0x5e78de)try{_0x5c67e0[_0x5bc821(0x1b5)](_0x468f57[_0x5bc821(0x13f)])[_0x5bc821(0x164)]()['then'](()=>{_0x5c33f();});}catch{_0x5c33f();}else _0x5c33f();}['_initListener'](_0x48cbd2,_0x4e21f6){const _0x2ae5c0=_0x800f78;let _0x44f787=_0x48cbd2[_0x2ae5c0(0x1b5)](_0x24b189[_0x2ae5c0(0x1b1)]);this[_0x2ae5c0(0x9c)]['add'](_0x44f787[_0x2ae5c0(0x10d)][_0x2ae5c0(0x15d)](_0x1f9c66=>{const _0x4418a4=_0x2ae5c0;switch(_0x1f9c66){case _0x24b189['HistoryModeStatus'][_0x4418a4(0xf4)]:this[_0x4418a4(0xbc)][_0x4418a4(0x155)](),this[_0x4418a4(0x1a5)][_0x4418a4(0x1ba)]();break;case _0x24b189[_0x4418a4(0xe5)][_0x4418a4(0x17d)]:this[_0x4418a4(0x1db)][_0x4418a4(0x90)](_0xe4584b['id']),this[_0x4418a4(0x1eb)]();break;case _0x24b189[_0x4418a4(0xe5)][_0x4418a4(0x151)]:this[_0x4418a4(0x1eb)](),this[_0x4418a4(0x1c8)][_0x4418a4(0x1aa)]({'content':this[_0x4418a4(0x1b7)]['t'](_0x4418a4(0x112)),'type':_0x55689a[_0x4418a4(0x15c)][_0x4418a4(0x151)],'duration':0xbb8});break;default:break;}})),this[_0x2ae5c0(0x9c)][_0x2ae5c0(0x16f)](_0x44f787[_0x2ae5c0(0x1a4)][_0x2ae5c0(0x15d)](async _0xbea637=>{const _0x148250=_0x2ae5c0;_0xbea637&&this[_0x148250(0x1db)]['executeCommand'](_0x5a4bb3[_0x148250(0x17b)]['id'],{'unitId':_0x4e21f6,'revision':_0xbea637});}));}[_0x800f78(0xcc)](_0x325af4){const _0x581ef8=_0x800f78;let _0x321904=this[_0x581ef8(0x1d7)]['getUnit'](_0x325af4)[_0x581ef8(0x149)]()[_0x581ef8(0xf0)](_0x588078=>_0x588078[_0x581ef8(0x120)]()),_0x4d939c=new _0x5291e4[(_0x581ef8(0x12b))](_0x325af4)['id'],_0x397ca7=_0x321904['map'](_0x39fe27=>new _0x5291e4['WorksheetEditPermission'](_0x325af4,_0x39fe27)['id']),_0x4f5819=_0x321904[_0x581ef8(0xf0)](_0x50d865=>this[_0x581ef8(0xaf)][_0x581ef8(0x1c9)](_0x325af4,_0x50d865)[_0x581ef8(0xf0)](_0x2c0cda=>new _0x5291e4[(_0x581ef8(0x1e7))](_0x325af4,_0x50d865,_0x2c0cda[_0x581ef8(0xee)])['id']))['flat'](),_0x3bd26b=new _0x5291e4[(_0x581ef8(0x1d4))](_0x325af4)['id'];return this['_permissionService'][_0x581ef8(0x153)]([_0x4d939c,..._0x397ca7,..._0x4f5819,_0x3bd26b])['every'](_0x3275e8=>!!_0x3275e8[_0x581ef8(0x1c0)]);}};_0x14791e=_0x38cdd8([_0x882259(0x0,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x1,_0x4768cc['IUniverInstanceService']),_0x882259(0x2,_0x4768cc[_0x800f78(0x161)]),_0x882259(0x3,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x4,_0x533613[_0x800f78(0x182)]),_0x882259(0x5,_0x4768cc['IPermissionService']),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x5291e4[_0x800f78(0x122)])),_0x882259(0x7,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0xb7)])),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x12e)])),_0x882259(0x9,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd6)]))],_0x14791e);let _0x3f5823=class extends _0x4768cc[_0x800f78(0x18f)]{constructor(_0x2be3c7=_0x2d5bdc,_0x35d3a1,_0xa5f99){const _0x4fa764=_0x800f78;super(),this[_0x4fa764(0x104)]=_0x2be3c7,this[_0x4fa764(0x1bd)]=_0x35d3a1,this[_0x4fa764(0x137)]=_0xa5f99;let {menu:_0x223d34,..._0x2f5349}=(0x0,_0x4768cc[_0x4fa764(0x154)])({},_0x2d5bdc,this['_config']);_0x223d34&&this[_0x4fa764(0x137)]['setConfig'](_0x4fa764(0x96),_0x223d34,{'merge':!0x0}),this[_0x4fa764(0x137)]['setConfig'](_0x363ddb,_0x2f5349),this[_0x4fa764(0x104)][_0x4fa764(0x1cf)]&&this[_0x4fa764(0x137)][_0x4fa764(0x1c3)]('UNIVER_CONTAINER_ID',this[_0x4fa764(0x104)]['univerContainerId']);}['onStarting'](){const _0x3e45bf=_0x800f78;[[_0x37b57d,{'useClass':_0x14791e}],[_0x991532]][_0x3e45bf(0x136)](_0x22c43e=>this['_injector']['add'](_0x22c43e));}[_0x800f78(0x188)](){const _0x137e72=_0x800f78;this[_0x137e72(0x1bd)][_0x137e72(0x1b5)](_0x991532);}};_0x1ff16a(_0x3f5823,_0x800f78(0x10b),_0x4768cc[_0x800f78(0x1d6)][_0x800f78(0x18a)]),_0x1ff16a(_0x3f5823,_0x800f78(0xf1),_0x800f78(0x16c)),_0x1ff16a(_0x3f5823,_0x800f78(0x9b),_0x2744bf),_0x1ff16a(_0x3f5823,_0x800f78(0x107),_0x151c73),_0x3f5823=_0x38cdd8([(0x0,_0x4768cc[_0x800f78(0x1a2)])(_0xaf852a[_0x800f78(0x1ec)]),_0x882259(0x1,(0x0,_0x4768cc['Inject'])(_0x4768cc['Injector'])),_0x882259(0x2,_0x4768cc['IConfigService'])],_0x3f5823);let _0x4c033b=class extends _0x4768cc[_0x800f78(0x196)]{constructor(_0x34b952,_0x18d074,_0x5c0dd9,_0x2f573d,_0x18725f,_0x4dec8a,_0x4e10d7,_0x32749a,_0x1b0312,_0x7f2bf8,_0x56009d){const _0x1ad02e=_0x800f78;super(),this[_0x1ad02e(0x1db)]=_0x34b952,this[_0x1ad02e(0xb8)]=_0x18d074,this[_0x1ad02e(0x108)]=_0x5c0dd9,this[_0x1ad02e(0x13c)]=_0x2f573d,this['_localeService']=_0x18725f,this[_0x1ad02e(0x1c8)]=_0x4dec8a,this['_collaborationController']=_0x4e10d7,this[_0x1ad02e(0xd8)]=_0x32749a,this[_0x1ad02e(0x101)]=_0x1b0312,this[_0x1ad02e(0x1d7)]=_0x7f2bf8,this[_0x1ad02e(0x142)]=_0x56009d,_0x1ff16a(this,_0x1ad02e(0xe7),null),this['_init']();}[_0x800f78(0x183)](){const _0x42623f=_0x800f78;[_0x4ed86a,_0xe4584b]['forEach'](_0x346106=>this[_0x42623f(0x11d)]((0x0,_0x4768cc['toDisposable'])(this[_0x42623f(0x1db)][_0x42623f(0x133)](_0x346106)))),this['disposeWithMe'](this['_componentManager'][_0x42623f(0xe1)](_0x42623f(0x105),_0x47de05)),this['_menuManagerService'][_0x42623f(0x1d0)](_0x6e07a0),this['disposeWithMe'](this[_0x42623f(0x1db)][_0x42623f(0x194)](async(_0x17f9a2,_0x549206)=>{const _0x5f44b3=_0x42623f;if(_0x17f9a2['id']===_0x5a4bb3[_0x5f44b3(0x17b)]['id']){let {unitId:_0x1e63b3}=_0x17f9a2[_0x5f44b3(0xef)];this[_0x5f44b3(0x1c8)]['show']({'content':this[_0x5f44b3(0x1b7)]['t'](_0x5f44b3(0xb0)),'type':_0x55689a[_0x5f44b3(0x15c)]['Loading'],'duration':0x1388});let _0x3454fc=this[_0x5f44b3(0x1b2)]['getCollabEntity'](_0x1e63b3);_0x549206!=null&&_0x549206['fromCollab']?this[_0x5f44b3(0x167)](_0x3454fc,async()=>(setTimeout(()=>window[_0x5f44b3(0x19c)][_0x5f44b3(0x129)]()),!0x0),!0x0):this[_0x5f44b3(0x167)](_0x3454fc,async()=>{const _0x3947a5=_0x5f44b3;let _0x82b371=this[_0x3947a5(0x1d7)]['getCurrentUnitOfType'](_0x4768cc[_0x3947a5(0x1d6)][_0x3947a5(0xd9)]),_0x5a7ac1=_0x82b371==null?void 0x0:_0x82b371[_0x3947a5(0xb6)]();if(!_0x5a7ac1)return!0x1;this[_0x3947a5(0x1d7)][_0x3947a5(0x115)](_0x1e63b3);let _0x2e53a8=await this[_0x3947a5(0x101)]['loadUnit'](_0x1e63b3,_0x4768cc[_0x3947a5(0x1d6)]['UNIVER_SHEET']);return _0x2e53a8&&_0x2e53a8 instanceof _0x4768cc[_0x3947a5(0x111)]?(await this[_0x3947a5(0xc8)](_0x2e53a8,_0x5a7ac1[_0x3947a5(0x120)]()),!0x0):!0x1;});}}));}[_0x800f78(0x167)](_0x4dc196,_0x13aeab,_0x3f6d6b=!0x1){const _0x201ff7=_0x800f78;let _0x22e622=(0x0,_0x98ff3a[_0x201ff7(0x130)])([_0x4dc196[_0x201ff7(0xe9)]['event$'],_0x4dc196[_0x201ff7(0x140)]])['subscribe'](async([_0x57707e,_0x57709a])=>{const _0xd11171=_0x201ff7;if(_0x57707e['eventID']===_0x5a4bb3[_0xd11171(0x1e0)][_0xd11171(0x1cc)]&&(_0x57709a==null?void 0x0:_0x57709a[_0xd11171(0x14f)])===_0x1bcaaa[_0xd11171(0x114)][_0xd11171(0xe0)]&&_0x57707e[_0xd11171(0x121)][_0xd11171(0x184)][_0xd11171(0x139)](_0x20c905=>_0x20c905['id']===_0x5a4bb3[_0xd11171(0x17b)]['id'])&&await _0x13aeab()){var _0x31b20d;this['_historyManagerService'][_0xd11171(0x1eb)](),_0x22e622[_0xd11171(0x19d)](),this[_0xd11171(0xe7)]&&clearTimeout(this[_0xd11171(0xe7)]),await((_0x31b20d=this[_0xd11171(0xd8)])==null?void 0x0:_0x31b20d[_0xd11171(0x100)]());}});_0x3f6d6b&&(this[_0x201ff7(0xe7)]=setTimeout(()=>{const _0x334a36=_0x201ff7;_0x22e622[_0x334a36(0x19d)](),this['_messageService'][_0x334a36(0x1aa)]({'content':this[_0x334a36(0x1b7)]['t']('edit-history-loader.panel.revertFailed'),'type':_0x55689a['MessageType'][_0x334a36(0x151)],'duration':0xbb8});},0x1388));}async[_0x800f78(0xc8)](_0x155ea1,_0x322814){const _0x48e496=_0x800f78;await this[_0x48e496(0x18e)](_0x155ea1,_0x322814),_0x155ea1[_0x48e496(0xa0)]['pipe']((0x0,_0x98ff3a[_0x48e496(0x1d2)])(this['dispose$']))[_0x48e496(0x15d)](_0xef0f97=>{const _0x1d57a2=_0x48e496;_0xef0f97&&this[_0x1d57a2(0xc0)](_0xef0f97);}),this[_0x48e496(0x142)][_0x48e496(0xbe)][_0x48e496(0x15e)]((0x0,_0x98ff3a[_0x48e496(0x1d2)])(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x155ea1,_0x322814));}[_0x800f78(0xc0)](_0x5538dc,_0xdc520=!0x1){const _0x286def=_0x800f78;let _0x424c48=this[_0x286def(0x142)][_0x286def(0x187)](_0x286def(0x162));_0x5538dc[_0x286def(0x120)]()!==_0x424c48&&this['_urlService'][_0x286def(0x163)](_0x286def(0x162),_0x5538dc['getSheetId'](),_0xdc520);}async[_0x800f78(0x18e)](_0x1a336d,_0x1bc0fc){const _0x1a728b=_0x800f78;var _0x165b6b;if(!_0x1bc0fc||!_0x1a336d['getSheetBySheetId'](_0x1bc0fc)){let _0x3b54b9=_0x1a336d[_0x1a728b(0x12a)]()[0x0],_0x56af02=_0x1a336d['getSheetBySheetId'](_0x3b54b9);if(!_0x56af02)return;this[_0x1a728b(0xc0)](_0x56af02,!0x0),await this[_0x1a728b(0x1db)]['executeCommand'](_0x5291e4['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a336d[_0x1a728b(0x19e)](),'subUnitId':_0x3b54b9});return;}((_0x165b6b=_0x1a336d[_0x1a728b(0xb6)]())==null?void 0x0:_0x165b6b['getSheetId']())!==_0x1bc0fc&&await this[_0x1a728b(0x1db)][_0x1a728b(0x90)](_0x5291e4[_0x1a728b(0x199)]['id'],{'unitId':_0x1a336d[_0x1a728b(0x19e)](),'subUnitId':_0x1bc0fc});}};_0x4c033b=_0x38cdd8([_0x882259(0x0,_0x4768cc[_0x800f78(0x110)]),_0x882259(0x1,_0x533613['IMenuManagerService']),_0x882259(0x2,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x533613[_0x800f78(0x1ee)])),_0x882259(0x3,(0x0,_0x4768cc['Inject'])(_0x37b57d)),_0x882259(0x4,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0x18b)])),_0x882259(0x5,_0x533613[_0x800f78(0x182)]),_0x882259(0x6,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x148)])),_0x882259(0x7,_0x1bcaaa[_0x800f78(0x17a)]),_0x882259(0x8,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x1bcaaa[_0x800f78(0x1e8)])),_0x882259(0x9,_0x4768cc[_0x800f78(0x14d)]),_0x882259(0xa,_0x229d5a[_0x800f78(0x156)])],_0x4c033b);let _0x352b37=class extends _0x4768cc[_0x800f78(0x18f)]{constructor(_0x5d982a=_0x2d5bdc,_0x6ab182,_0x2f1cfd){const _0x1fc4a9=_0x800f78;super(),this[_0x1fc4a9(0x104)]=_0x5d982a,this[_0x1fc4a9(0x1bd)]=_0x6ab182,this[_0x1fc4a9(0x137)]=_0x2f1cfd;let {menu:_0x1ec6cf,..._0x71b57e}=(0x0,_0x4768cc[_0x1fc4a9(0x154)])({},_0x2d5bdc,this[_0x1fc4a9(0x104)]);_0x1ec6cf&&this[_0x1fc4a9(0x137)][_0x1fc4a9(0x1c3)]('menu',_0x1ec6cf,{'merge':!0x0}),this['_configService'][_0x1fc4a9(0x1c3)](_0x363ddb,_0x71b57e),this[_0x1fc4a9(0x104)][_0x1fc4a9(0x1cf)]&&this['_configService'][_0x1fc4a9(0x1c3)](_0x55f9db,this[_0x1fc4a9(0x104)][_0x1fc4a9(0x1cf)]);}[_0x800f78(0x1e5)](){const _0xe23cd8=_0x800f78;[[_0x37b57d],[_0x4c033b]][_0xe23cd8(0x136)](_0xa1bde8=>this[_0xe23cd8(0x1bd)][_0xe23cd8(0x16f)](_0xa1bde8));}[_0x800f78(0x188)](){const _0x109ccd=_0x800f78;this[_0x109ccd(0x1bd)][_0x109ccd(0x1b5)](_0x4c033b);}};_0x1ff16a(_0x352b37,_0x800f78(0x10b),_0x4768cc['UniverInstanceType'][_0x800f78(0x18a)]),_0x1ff16a(_0x352b37,_0x800f78(0xf1),_0x800f78(0x116)),_0x1ff16a(_0x352b37,_0x800f78(0x9b),_0x2744bf),_0x1ff16a(_0x352b37,'version',_0x151c73),_0x352b37=_0x38cdd8([(0x0,_0x4768cc[_0x800f78(0x1a2)])(_0xaf852a[_0x800f78(0x1ec)]),_0x882259(0x1,(0x0,_0x4768cc[_0x800f78(0x1e6)])(_0x4768cc[_0x800f78(0xd0)])),_0x882259(0x2,_0x4768cc['IConfigService'])],_0x352b37),_0x47bd7f['EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY']=_0x363ddb,Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0xd5),{'enumerable':!0x0,'get':function(){return _0x37b57d;}}),Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0x1a6),{'enumerable':!0x0,'get':function(){return _0x14791e;}}),_0x47bd7f['ToggleEditHistoryOperation']=_0x4ed86a,_0x47bd7f[_0x800f78(0x11a)]=_0x55f9db,_0x47bd7f[_0x800f78(0x1b4)]=_0x12ed48,Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0xa1),{'enumerable':!0x0,'get':function(){return _0x3f5823;}}),Object[_0x800f78(0xd7)](_0x47bd7f,_0x800f78(0x1c6),{'enumerable':!0x0,'get':function(){return _0x352b37;}});}));function _0x3c97(){const _0x5e819b=['UniverSheetsDrawingPlugin','getSheetCommandTarget','currentColor','appendChild','path','UniverSheetsFilterPlugin','_selectionProtectionRuleModel','edit-history-loader.panel.reverting','trim','UniverRPCMainThreadPlugin','replace','Univer','top','getActiveSheet','IDialogService','_menuManagerService','rxjs','UniverProSheetsSparkline','historyListServerUrl','_dialogService','Loading','urlChange$','mask','_updateURLWithCurrentState','UniverFormulaEnginePlugin','690024zkYptU','UniverSheetsFormulaUIPlugin','historyPanelComponentKey','attrs','UniverCollaborationPlugin','UniverSheetsDataValidationPlugin','_setupSubUnitSync','univer-history-container','call','UniverSheetsDrawingUIPlugin','_checkCanRevert','univer.operation.exit-edit-history','UniverDataValidationPlugin','historyUniver$','Injector','dataset','IPermissionService','uComp','terminate','HistoryLoaderService','ThemeService','defineProperty','_localCacheService','UNIVER_SHEET','getElementById','height','UniverNetworkPlugin','toStringTag','asObservable','forwardRef','SYNCED','register','[HistoryLoaderService]:\x20Plugin\x20','UniverSheetsConditionalFormattingPlugin','UniverSheetsDataValidationUi','HistoryModeStatus','block','_revertErrorTimer','white','session','UniverSheetsUi','toDisposable','UNIVER_CONTAINER_ID','idSuffix','permissionId','params','map','pluginName','1737950nQuuVF','historyPanelHidden','Entered','univer-history-container-mobile','_themeService','OPERATION','getLocales','_initUniver','[MobileHistoryLoaderService]:\x20Plugin\x20','AuthzIoHttpService','Disposable','createElement','currentTheme$','UniverSheetSparklineUIPlugin','exhaustSavingTask','_dataLoaderService','iterator','clipPath','_config','HistoryIcon','width','version','_componentManager','736521lIBIqf','UniverSheetsFilterUIPlugin','type','UniverProSheetsShapeUi','status$','default','UniverDrawingUIPlugin','ICommandService','Workbook','edit-history-loader.panel.listFetchError','WorkbookViewHistoryPermission','CollaborationStatus','disposeUnit','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','assign','clear','prototype','UNIVER_CONTAINER_ID_KEY','UniverSheetsHyperLinkPlugin','setLocale','disposeWithMe','UniverDocsUIPlugin','amd','getSheetId','data','RangeProtectionRuleModel','dispose$','UniverEditHistoryViewerPlugin','invoke','UniverSheetsDataValidationUIPlugin','_initContainer','getCurrentUnitOfType','reload','getUnhiddenWorksheets','WorkbookEditablePermission','_permissionService','@univerjs-pro/edit-history-loader','ISidebarService','display','combineLatest','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheets','registerCommand','UniverSheetsTable','581067Jcglrl','forEach','_configService','IImageIoService','some','darkMode$','toString','_historyManagerService','toPrimitive','displayName','IRemoteInstanceService','state$','UniverProSheetsShape','_urlService','length','substring','4477804YQvidi','OTHERS','history-icon_clip0_907_281','CollaborationController','getSheets','UniverSheetsFilter','object','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IUniverInstanceService','left','status','0.25.0','Error','exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react','composePermission','merge','closeAll','IURLService','WorksheetEditPermission','children','UniverSheetsDrawing','UniverUi','React','MessageType','subscribe','pipe','event$','mountHistoryContent','IConfigService','subunit','setParam','whenReady','getOwnPropertyDescriptor','DisposableCollection','_handleRevertAcknowledgement','from','UniverDrawingPlugin','absolute','UniverSheetsPivotTablePlugin','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN','setTheme','edit-history-loader.info.initializing','add','UniverEditHistoryViewerMobilePlugin','UniverSheetsTablePlugin','UniverSheetsDataValidation','has','CommandType','univer.operation.toggle-edit-history','decorate','IMenuManagerService','current','then','ILocalCacheService','RevertRevisionMutation','UniverDrawing','Exited','962425FlPFLf','190pgRxDY','UniverSheetsNumfmtPlugin','next','IMessageService','_init','mutations','use','historyUniver','getParam','onSteady','url(#history-icon_clip0_907_281)','UNIVER_UNKNOWN','LocaleService','fill','_initListener','_updateSubUnitFromURLParams','Plugin','getCurrentRangeDisable$','getCollabEntity','UniverSheetsShapePlugin','__getInjector','onCommandExecuted','UniverDataValidation','RxDisposable','100%','getCurrentLocale','SetWorksheetActivateCommand','M0\x200H16V16H0z','edit-history-loader.config','location','unsubscribe','getUnitId','UniverRpc','UniverSheetsPlugin','UniverProCollaborationClientUi','DependentOn','UniverSheetsHyperLinkUIPlugin','revertRevision$','_sidebarService','MobileHistoryLoaderService','setDarkMode','_internalWebWorker','historyAIassistantEnabled','show','defIds','_pluginMap','UniverSheetsConditionalFormattingUi','dispose','getConfig','triggerLoadVersions','HistoryManagerService','_collaborationController','eventID','UNIVER_HISTORY_CONTAINER_ID','get','IAuthzIoService','_localeService','workerURL','UniverSheetsChartUIPlugin','close','style','1em','_injector','UniverSheetsFilterUi','21dCHlfz','value','UniverDocsPlugin','UniverSheetsFormulaUi','setConfig','_historyUniver$','defs','UniverEditHistoryLoaderPlugin','UniverProEditHistoryLoader','_messageService','getSubunitRuleList','edit-history-loader.panel.revertFailed','history-container','CHANGESET_ACK','UniverProEditHistoryViewer','_initPlugins','univerContainerId','mergeMenu','history-icon','takeUntil','RibbonStartGroup','WorkbookRecoverHistoryPermission','flat','UniverInstanceType','_univerInstanceService','UniverSheetsFormulaPlugin','UniverProCollaboration','univer-container','_commandService','UniverProSheetsChart','loadUnit','svg','UniverNetwork','CollaborationEvent','UniverDrawingUi','tag','zIndex','UniverSheetsDataValidationMobileUIPlugin','onStarting','Inject','RangeProtectionPermissionEditPoint','DataLoaderService','UniverSheetsConditionalFormattingUIPlugin','url(#$1','unMountHistoryContent','UniverLicensePlugin','none','ComponentManager','UniverDesign','getSheetBySheetId','colorChannel1','4950824iLjRnS','set','xlink:href','UniverSheetsHyperLinkUi','UniverMobileUIPlugin','executeCommand','BehaviorSubject','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','LS_CONFIG_KEY','UniverSheetsDrawingUi','string','menu','UniverProSheetsChartUi','UniverSheetsHyperLink','UniverSheetsFormula','registerPlugin','packageName','_disposableCollection','UniverDocsUi','symbol','UniverSheetsConditionalFormatting','activeSheet$','UniverEditHistoryLoaderMobilePlugin','getAllPlugins','3MYWQvR','function','getMenuHiddenObservable','Module','div','UniverSheetSparklinePlugin'];_0x3c97=function(){return _0x5e819b;};return _0x3c97();}
|
|
20
|
+
function _0x52c2(){const _0x203c71=['0\x200\x2016\x2016','_selectionProtectionRuleModel','UniverNetwork','UniverProSheetsShapeUi','onSteady','RxDisposable','setTheme','RibbonStartGroup','7477856eicPtZ','__getInjector','workerURL','history-container','UniverSheetsConditionalFormatting','univer-history-container-mobile','unsubscribe','55178vEZvyS','Entered','UniverInstanceType','UniverSheetsDataValidationPlugin','UniverEditHistoryLoaderPlugin','setLocale','Univer','_initContainer','top','_initUniver','EDIT_HISTORY_LOADER_PLUGIN_CONFIG_KEY','UniverSheetsConditionalFormattingPlugin','UNIVER_CONTAINER_ID','idSuffix','UniverSheetsDrawing','Module','_componentManager','_localCacheService','triggerLoadVersions','data','edit-history-loader.panel.reverting','pipe','defineProperty','registerPlugin','_initPlugins','object','UniverDrawingPlugin','UniverSheetsPivotTablePlugin','UniverEngineFormula','_commandService','CollaborationController','revertRevision$','height','mountHistoryContent','getCollabEntity','flat','toDisposable','UniverRPCMainThreadPlugin','getParam','getCurrentLocale','_menuManagerService','permissionId','pluginName','UniverSheetsDataValidationMobileUIPlugin','prototype','historyPanelHidden','toPrimitive','values','UniverSheetsUi','dispose$','zIndex','Loading','HistoryModeStatus','_messageService','getElementById','7915885StSWln','UniverDrawingUIPlugin','removeAll','url(#history-icon_clip0_907_281)','historyListServerUrl','UniverDesign','getCurrentRangeDisable$','IAuthzIoService','Injector','session','getOwnPropertyDescriptor','some','UniverSheets','UniverSheetsTablePlugin','disposeWithMe','clear','get','historyPanelComponentKey','HistoryManagerService','UniverFormulaEnginePlugin','UniverNetworkPlugin','SYNCED','eventID','activeSheet$','register','setDarkMode','_config','registerCommand','UniverDocsUi','_localeService','every','display','fill','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tag','4438398KPDxjc','svg','WorksheetEditPermission','UniverLicensePlugin','UniverSheetsMobileUIPlugin','version','url(#$1','AuthzIoHttpService','UniverDocsPlugin','62fAEAii','add','univer.operation.exit-edit-history','1em','UniverSheetsShapeUIPlugin','0.25.1','asObservable','ComponentManager','ThemeService','ISidebarService','UniverSheetsConditionalFormattingUIPlugin','symbol','_collaborationController','WorkbookEditablePermission','function','UniverProCollaboration','IDialogService','UniverProSheetsShape','UNIVER_SHEET','setConfig','entries','_historyManagerService','takeUntil','children','getSheetCommandTarget','UniverSheetsDrawingUi','_checkCanRevert','UniverProSheetsChart','UniverProLicense','set','assign','UniverSheetSparklinePlugin','appendChild','_univerInstanceService','unMountHistoryContent','Error','edit-history-loader.panel.title','_updateURLWithCurrentState','currentColor','BehaviorSubject','7518344uAeZuY','getUnit','Workbook','IMenuManagerService','status$','string','_pluginMap','event$','UniverSheetsPlugin','style','edit-history-loader.config','_injector','edit-history-loader.info.initializing','IConfigService','UniverDocsUIPlugin','Exited','fromCollab','HistoryIcon','UniverDataValidationPlugin','iterator','closeAll','UniverSheetsFormulaUi','default','UniverSheetsDrawingPlugin','7469790YAqmwX','_dataLoaderService','OPERATION','composePermission','packageName','currentTheme$','exhaustSavingTask','univerContainerId','UniverEngineRender','UniverSheetsDataValidationUi','OTHERS','white','call','xlink:href','IImageIoService','menu','length','terminate','UniverSheetsFormulaPlugin','CollaborationStatus','getUnitId','_configService','UniverMobileUIPlugin','div','dispose','edit-history-loader.panel.listFetchError','MenuItemType','getSheetBySheetId','UniverSheetsChartPlugin','ToggleEditHistoryOperation','params','dataset','defs','from','UniverSheetsFilter','100%','forEach','none','forwardRef','getActiveSheet','decorate','Inject','DataLoaderService','subscribe','UniverDrawingUi','DependentOn','value','map','colorChannel1','UniverEditHistoryLoaderMobilePlugin','WorkbookRecoverHistoryPermission','\x20has\x20been\x20registered.','UniverSheetsDrawingUIPlugin','7dDfXKO','urlChange$','UniverSheetsHyperLink','MobileHistoryLoaderService','UniverProCollaborationClientUi','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','20109267mpyOvm','HistoryLoaderService','edit-history-loader.panel.revertFailed','univer-container','constructor','getLocales','UNIVER_CONTAINER_ID_KEY','LS_CONFIG_KEY','attrs','UniverDataValidation','getAllPlugins','UniverCore','getMenuHiddenObservable','MessageType','onStarting','executeCommand','history-icon_clip0_907_281','mutations','IMessageService','UniverDrawing','DisposableCollection','defIds','_revertErrorTimer','UniverSheetsDataValidationUIPlugin','position','_updateSubUnitFromURLParams','combineLatest','_initListener','univerjs-icon\x20univerjs-icon-','_dialogService','show','toStringTag','UniverSheetsShapePlugin','width','@univerjs-pro/edit-history-loader','mask','onCommandExecuted','then','Disposable','_handleRevertAcknowledgement','IUniverInstanceService','getCurrentUnitOfType','type','location','getSheetId','block','React','triggerCustomVersions','UniverCollaborationPlugin','getSheets','_disposableCollection','CHANGESET_ACK','whenReady','substring','_historyUniver$','UniverSheetsConditionalFormattingUi','_urlService','UniverSheetsFormulaUIPlugin','univer.operation.toggle-edit-history','UniverSheetsFilterPlugin','_sidebarService','UniverSheetSparklineUIPlugin','disposeUnit','darkMode$','displayName','UniverProSheetsSparklineUi','path','Plugin','invoke','subunit','has','[HistoryLoaderService]:\x20Plugin\x20','historyUniver','history-icon','next','getSubunitRuleList','IRemoteInstanceService','UniverSheetsFilterUi','_permissionService','RangeProtectionPermissionEditPoint','rxjs','uComp','_themeService','setParam','UniverSheetsNumfmtPlugin','createElement','_init','getConfig','merge','use','UniverSheetsHyperLinkPlugin','UniverUIPlugin','LocaleService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','http://www.w3.org/2000/svg','RevertRevisionMutation','SetWorksheetActivateCommand','state$','UniverDocs','UNIVER_UNKNOWN','_internalWebWorker','useRef','UniverSheetsHyperLinkUIPlugin','BUTTON','status','ICommandService','left','CollaborationEvent','current','_setupSubUnitSync','UniverSheetsChartUIPlugin','ILocalCacheService','close','CommandType','absolute','getUnhiddenWorksheets'];_0x52c2=function(){return _0x203c71;};return _0x52c2();}function _0x1ef0(_0xbb85ce,_0x1beea5){_0xbb85ce=_0xbb85ce-0x144;const _0x52c206=_0x52c2();let _0x1ef017=_0x52c206[_0xbb85ce];return _0x1ef017;}(function(_0x3401dd,_0x224515){const _0x4d29c3=_0x1ef0,_0x4b7810=_0x3401dd();while(!![]){try{const _0x3236bc=-parseInt(_0x4d29c3(0x249))/0x1*(-parseInt(_0x4d29c3(0x14b))/0x2)+parseInt(_0x4d29c3(0x2a3))/0x3+parseInt(_0x4d29c3(0x173))/0x4+-parseInt(_0x4d29c3(0x280))/0x5+-parseInt(_0x4d29c3(0x18b))/0x6*(parseInt(_0x4d29c3(0x1c0))/0x7)+parseInt(_0x4d29c3(0x242))/0x8+-parseInt(_0x4d29c3(0x1c6))/0x9;if(_0x3236bc===_0x224515)break;else _0x4b7810['push'](_0x4b7810['shift']());}catch(_0x53ab29){_0x4b7810['push'](_0x4b7810['shift']());}}}(_0x52c2,0xe5ee5),function(_0x323b7f,_0x28edc2){const _0x4d2a4b=_0x1ef0;typeof exports==_0x4d2a4b(0x262)&&typeof module<'u'?_0x28edc2(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-shape'),require('@univerjs-pro/sheets-shape-ui'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/design'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-table'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/collaboration-client-ui'),require('react')):typeof define==_0x4d2a4b(0x159)&&define['amd']?define('exports.@univerjs/core.@univerjs/sheets.@univerjs-pro/collaboration.@univerjs-pro/collaboration-client.@univerjs-pro/edit-history-viewer.@univerjs-pro/license.@univerjs-pro/sheets-chart.@univerjs-pro/sheets-chart-ui.@univerjs-pro/sheets-pivot.@univerjs-pro/sheets-shape.@univerjs-pro/sheets-shape-ui.@univerjs-pro/sheets-sparkline.@univerjs-pro/sheets-sparkline-ui.@univerjs/data-validation.@univerjs/design.@univerjs/docs.@univerjs/docs-ui.@univerjs/drawing.@univerjs/drawing-ui.@univerjs/engine-formula.@univerjs/engine-render.@univerjs/network.@univerjs/rpc.@univerjs/sheets-conditional-formatting.@univerjs/sheets-conditional-formatting-ui.@univerjs/sheets-data-validation.@univerjs/sheets-data-validation-ui.@univerjs/sheets-drawing.@univerjs/sheets-drawing-ui.@univerjs/sheets-filter.@univerjs/sheets-filter-ui.@univerjs/sheets-formula.@univerjs/sheets-formula-ui.@univerjs/sheets-hyper-link.@univerjs/sheets-hyper-link-ui.@univerjs/sheets-numfmt.@univerjs/sheets-table.@univerjs/sheets-ui.@univerjs/ui.rxjs.@univerjs-pro/collaboration-client-ui.react'['split']('.'),_0x28edc2):(_0x323b7f=typeof globalThis<'u'?globalThis:_0x323b7f||self,_0x28edc2(_0x323b7f['UniverProEditHistoryLoader']={},_0x323b7f[_0x4d2a4b(0x1d1)],_0x323b7f[_0x4d2a4b(0x28c)],_0x323b7f[_0x4d2a4b(0x15a)],_0x323b7f['UniverProCollaborationClient'],_0x323b7f['UniverProEditHistoryViewer'],_0x323b7f[_0x4d2a4b(0x167)],_0x323b7f[_0x4d2a4b(0x166)],_0x323b7f['UniverProSheetsChartUi'],_0x323b7f['UniverProSheetsPivot'],_0x323b7f[_0x4d2a4b(0x15c)],_0x323b7f[_0x4d2a4b(0x23d)],_0x323b7f['UniverProSheetsSparkline'],_0x323b7f[_0x4d2a4b(0x207)],_0x323b7f[_0x4d2a4b(0x1cf)],_0x323b7f[_0x4d2a4b(0x285)],_0x323b7f[_0x4d2a4b(0x228)],_0x323b7f[_0x4d2a4b(0x29c)],_0x323b7f[_0x4d2a4b(0x1d9)],_0x323b7f[_0x4d2a4b(0x1b7)],_0x323b7f[_0x4d2a4b(0x265)],_0x323b7f[_0x4d2a4b(0x193)],_0x323b7f[_0x4d2a4b(0x23c)],_0x323b7f['UniverRpc'],_0x323b7f[_0x4d2a4b(0x246)],_0x323b7f[_0x4d2a4b(0x1fd)],_0x323b7f['UniverSheetsDataValidation'],_0x323b7f[_0x4d2a4b(0x194)],_0x323b7f[_0x4d2a4b(0x257)],_0x323b7f[_0x4d2a4b(0x164)],_0x323b7f[_0x4d2a4b(0x1ad)],_0x323b7f[_0x4d2a4b(0x213)],_0x323b7f['UniverSheetsFormula'],_0x323b7f[_0x4d2a4b(0x188)],_0x323b7f[_0x4d2a4b(0x1c2)],_0x323b7f['UniverSheetsHyperLinkUi'],_0x323b7f['UniverSheetsNumfmt'],_0x323b7f['UniverSheetsTable'],_0x323b7f[_0x4d2a4b(0x279)],_0x323b7f['UniverUi'],_0x323b7f[_0x4d2a4b(0x216)],_0x323b7f[_0x4d2a4b(0x1c4)],_0x323b7f[_0x4d2a4b(0x1f4)]));}(this,function(_0x420f19,_0x3c94c0,_0x439ca9,_0x3aa7bd,_0x36b005,_0x427580,_0x4c9ae8,_0x11a738,_0x2195a5,_0x1232a5,_0x23545e,_0xe89110,_0x285e93,_0x252d57,_0x2852d7,_0x3654df,_0x365f97,_0x28cfa4,_0x413f1d,_0x4ad995,_0x1011d8,_0x487c14,_0x4cf1a2,_0x23e09e,_0x7ab83,_0x6459ed,_0x399974,_0x3aafb7,_0x1509d9,_0x318ec2,_0xf68838,_0x1779ff,_0x2453e3,_0x545f54,_0x14c3a8,_0x147ecb,_0x34d751,_0x4a068e,_0xee6799,_0x1e9ee3,_0xd2a689,_0x470060,_0x12413c){const _0x48825a=_0x1ef0;Object[_0x48825a(0x25f)](_0x420f19,Symbol[_0x48825a(0x1e5)],{'value':_0x48825a(0x258)});let _0x1894ca=_0x48825a(0x17d),_0x44c328={};function _0x509a30(_0x583408){'@babel/helpers - typeof';const _0x29bfc7=_0x48825a;return _0x509a30=typeof Symbol=='function'&&typeof Symbol[_0x29bfc7(0x186)]==_0x29bfc7(0x156)?function(_0x72c79b){return typeof _0x72c79b;}:function(_0x1adce6){const _0x494bbc=_0x29bfc7;return _0x1adce6&&typeof Symbol==_0x494bbc(0x159)&&_0x1adce6[_0x494bbc(0x1ca)]===Symbol&&_0x1adce6!==Symbol[_0x494bbc(0x275)]?'symbol':typeof _0x1adce6;},_0x509a30(_0x583408);}function _0x4fe7d6(_0x546078,_0x1a9336){const _0x318b28=_0x48825a;if(_0x509a30(_0x546078)!=_0x318b28(0x262)||!_0x546078)return _0x546078;var _0x56248f=_0x546078[Symbol[_0x318b28(0x277)]];if(_0x56248f!==void 0x0){var _0x259d89=_0x56248f[_0x318b28(0x197)](_0x546078,_0x1a9336||_0x318b28(0x189));if(_0x509a30(_0x259d89)!='object')return _0x259d89;throw TypeError(_0x318b28(0x2a1));}return(_0x1a9336===_0x318b28(0x178)?String:Number)(_0x546078);}function _0x4233a6(_0x2014fd){const _0x4ba478=_0x48825a;var _0xe51878=_0x4fe7d6(_0x2014fd,'string');return _0x509a30(_0xe51878)==_0x4ba478(0x156)?_0xe51878:_0xe51878+'';}function _0x29e9ee(_0x425b14,_0x1d175f,_0x2fdcc1){const _0x4e15aa=_0x48825a;return(_0x1d175f=_0x4233a6(_0x1d175f))in _0x425b14?Object[_0x4e15aa(0x25f)](_0x425b14,_0x1d175f,{'value':_0x2fdcc1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x425b14[_0x1d175f]=_0x2fdcc1,_0x425b14;}function _0x2d9990(_0x1c59a1,_0x27a223){return function(_0x341d4d,_0x386662){_0x27a223(_0x341d4d,_0x386662,_0x1c59a1);};}function _0x82e3a8(_0x31fe7f,_0x5922b1,_0x537b7e,_0x326d96){const _0x1b06d8=_0x48825a;var _0x5b6bd6=arguments[_0x1b06d8(0x19b)],_0x21934b=_0x5b6bd6<0x3?_0x5922b1:_0x326d96===null?_0x326d96=Object[_0x1b06d8(0x28a)](_0x5922b1,_0x537b7e):_0x326d96,_0x379d6b;if(typeof Reflect==_0x1b06d8(0x262)&&typeof Reflect[_0x1b06d8(0x1b3)]==_0x1b06d8(0x159))_0x21934b=Reflect[_0x1b06d8(0x1b3)](_0x31fe7f,_0x5922b1,_0x537b7e,_0x326d96);else{for(var _0x47f6a2=_0x31fe7f[_0x1b06d8(0x19b)]-0x1;_0x47f6a2>=0x0;_0x47f6a2--)(_0x379d6b=_0x31fe7f[_0x47f6a2])&&(_0x21934b=(_0x5b6bd6<0x3?_0x379d6b(_0x21934b):_0x5b6bd6>0x3?_0x379d6b(_0x5922b1,_0x537b7e,_0x21934b):_0x379d6b(_0x5922b1,_0x537b7e))||_0x21934b);}return _0x5b6bd6>0x3&&_0x21934b&&Object[_0x1b06d8(0x25f)](_0x5922b1,_0x537b7e,_0x21934b),_0x21934b;}let _0x12f481=_0x48825a(0x255),_0x4e4169='univer-history-container',_0x2f1f30=class extends _0x3c94c0[_0x48825a(0x1ec)]{constructor(_0x46b73b,_0x3f24b1,_0x30a869,_0x682049,_0x39c722,_0x46cb08,_0x1b52d8,_0x1daeab,_0x1444a8,_0x567097){const _0x286d9d=_0x48825a;super(),this[_0x286d9d(0x29d)]=_0x46b73b,this['_univerInstanceService']=_0x3f24b1,this[_0x286d9d(0x1a0)]=_0x30a869,this['_commandService']=_0x682049,this[_0x286d9d(0x27e)]=_0x39c722,this['_permissionService']=_0x46cb08,this['_selectionProtectionRuleModel']=_0x1b52d8,this['_dialogService']=_0x1daeab,this['_sidebarService']=_0x1444a8,this[_0x286d9d(0x218)]=_0x567097,_0x29e9ee(this,'_historyUniver$',new _0xd2a689[(_0x286d9d(0x172))](null)),_0x29e9ee(this,'historyUniver$',this[_0x286d9d(0x1fc)][_0x286d9d(0x151)]()),_0x29e9ee(this,_0x286d9d(0x1f8),new _0x3c94c0[(_0x286d9d(0x1da))]()),_0x29e9ee(this,_0x286d9d(0x179),new Map()),_0x29e9ee(this,'_internalWebWorker',null),this['_init']();}get[_0x48825a(0x20e)](){const _0x352d0b=_0x48825a;return this[_0x352d0b(0x1fc)][_0x352d0b(0x1b9)];}['_init'](){const _0x198436=_0x48825a;this[_0x198436(0x250)](),this[_0x198436(0x261)]();}[_0x48825a(0x250)](){const _0x33d14c=_0x48825a;var _0x41f253;let _0x489cd5=(_0x41f253=this['_configService']['getConfig'](_0x33d14c(0x255)))==null?'univer-container':_0x41f253,_0x4098ed=document[_0x33d14c(0x27f)](_0x489cd5);if(!_0x4098ed)return;let _0x3e4176=document['createElement'](_0x33d14c(0x1a2));_0x3e4176['id']=_0x4e4169,_0x3e4176[_0x33d14c(0x1aa)][_0x33d14c(0x217)]=_0x33d14c(0x245),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x1de)]=_0x33d14c(0x238),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x251)]='0',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x230)]='0',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x1e7)]=_0x33d14c(0x1ae),_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x269)]=_0x33d14c(0x1ae),_0x3e4176[_0x33d14c(0x17c)]['zIndex']='49',_0x3e4176[_0x33d14c(0x17c)][_0x33d14c(0x29f)]=_0x33d14c(0x1b0),_0x4098ed[_0x33d14c(0x16b)](_0x3e4176);}[_0x48825a(0x261)](){const _0x1fa633=_0x48825a;[[_0x487c14['UniverRenderEnginePlugin']],[_0x1e9ee3[_0x1fa633(0x221)],{'container':_0x4e4169,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1e9ee3[_0x1fa633(0x15b)],null]]}],[_0x4cf1a2[_0x1fa633(0x294)]],[_0x413f1d['UniverDrawingPlugin'],{'override':[[_0x413f1d[_0x1fa633(0x199)],null]]}],[_0x365f97['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x28cfa4['UniverDocsUIPlugin']],[_0x34d751[_0x1fa633(0x21a)]],[_0x439ca9['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0xee6799['UniverSheetsUIPlugin']],[_0x2453e3[_0x1fa633(0x19d)]],[_0x545f54[_0x1fa633(0x1ff)]],[_0x3aa7bd['UniverCollaborationPlugin']],[_0xf68838[_0x1fa633(0x201)]],[_0x1779ff['UniverSheetsFilterUIPlugin']],[_0x7ab83[_0x1fa633(0x254)]],[_0x6459ed[_0x1fa633(0x155)]],[_0x14c3a8[_0x1fa633(0x220)]],[_0x147ecb[_0x1fa633(0x22c)]],[_0x2852d7['UniverDataValidationPlugin']],[_0x399974[_0x1fa633(0x24c)]],[_0x3aafb7[_0x1fa633(0x1dd)]],[_0x1011d8[_0x1fa633(0x293)],{'notExecuteFormula':!0x0}],[_0x4ad995[_0x1fa633(0x281)]],[_0x1509d9[_0x1fa633(0x18a)]],[_0x318ec2[_0x1fa633(0x1bf)]],[_0x285e93[_0x1fa633(0x16a)]],[_0x252d57[_0x1fa633(0x203)]],[_0x11a738[_0x1fa633(0x1a7)]],[_0x2195a5['UniverSheetsChartUIPlugin']],[_0x23545e[_0x1fa633(0x1e6)]],[_0xe89110[_0x1fa633(0x14f)]],[_0x1232a5['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x4a068e['UniverSheetsTablePlugin']]]['forEach'](([_0x457dee,_0x5e0ac6])=>this[_0x1fa633(0x260)](_0x457dee,_0x5e0ac6));}[_0x48825a(0x1a3)](){const _0x1a0da7=_0x48825a;super[_0x1a0da7(0x1a3)](),this[_0x1a0da7(0x16d)](),this[_0x1a0da7(0x179)][_0x1a0da7(0x28f)]();}[_0x48825a(0x260)](_0x20459f,_0x457909,_0x19f001){const _0x41a136=_0x48825a;if(this['_pluginMap'][_0x41a136(0x20c)](_0x20459f['pluginName'])&&!_0x19f001)throw Error(_0x41a136(0x20d)+_0x20459f[_0x41a136(0x273)]+_0x41a136(0x1be));this[_0x41a136(0x179)][_0x41a136(0x168)](_0x20459f[_0x41a136(0x273)],[_0x20459f,_0x457909]);}[_0x48825a(0x1d0)](){const _0x58fec9=_0x48825a;return Array[_0x58fec9(0x1ac)](this[_0x58fec9(0x179)][_0x58fec9(0x278)]());}['mountHistoryContent'](_0x55533c,_0x1bfcac){const _0x337322=_0x48825a;let _0x15c05c=document[_0x337322(0x27f)](_0x4e4169);_0x15c05c&&(_0x15c05c['style']['display']=_0x337322(0x1f3),this[_0x337322(0x252)](_0x55533c,_0x4e4169,_0x1bfcac));}[_0x48825a(0x16d)](){const _0x241651=_0x48825a;var _0x23f287;this[_0x241651(0x1f8)][_0x241651(0x1a3)](),(_0x23f287=this['historyUniver'])==null||_0x23f287[_0x241651(0x1a3)](),this[_0x241651(0x1fc)][_0x241651(0x210)](null);let _0x4df180=document[_0x241651(0x27f)](_0x4e4169);_0x4df180&&(_0x4df180['style']['display']=_0x241651(0x1b0),this[_0x241651(0x22a)]&&(this['_internalWebWorker'][_0x241651(0x19c)](),this[_0x241651(0x22a)]=null));}['_initUniver'](_0x111ff1,_0x24d1fc,_0x1fc2cd){const _0x5cb789=_0x48825a;var _0x20ce2c,_0x4be54b,_0x43897a,_0x33194e,_0x1b6462;if(this[_0x5cb789(0x20e)])return;let _0x406124=new _0x3c94c0[(_0x5cb789(0x24f))]({'locales':{[this[_0x5cb789(0x29d)][_0x5cb789(0x270)]()]:this[_0x5cb789(0x29d)][_0x5cb789(0x1cb)]()},'override':[[_0x3c94c0['IAuthzIoService'],{'useClass':_0x36b005[_0x5cb789(0x149)]}]]}),_0x35104c=_0x406124['__getInjector']();this[_0x5cb789(0x28e)](this[_0x5cb789(0x218)][_0x5cb789(0x205)][_0x5cb789(0x1b6)](_0x36afc9=>{const _0x1d0d80=_0x5cb789;_0x35104c[_0x1d0d80(0x290)](_0x3c94c0['ThemeService'])[_0x1d0d80(0x299)](_0x36afc9);})),this[_0x5cb789(0x28e)](this[_0x5cb789(0x218)][_0x5cb789(0x190)][_0x5cb789(0x1b6)](_0xaea624=>{const _0x35e24d=_0x5cb789;_0x35104c[_0x35e24d(0x290)](_0x3c94c0[_0x35e24d(0x153)])['setTheme'](_0xaea624);})),_0x35104c[_0x5cb789(0x290)](_0x3c94c0['LocaleService'])[_0x5cb789(0x24e)](this['_localeService'][_0x5cb789(0x270)]()),_0x35104c[_0x5cb789(0x290)](_0x3c94c0[_0x5cb789(0x180)])[_0x5cb789(0x15e)](_0x36b005[_0x5cb789(0x223)],this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x36b005[_0x5cb789(0x223)]));let _0x448f94=this['_configService'][_0x5cb789(0x21d)](_0x4c9ae8[_0x5cb789(0x1cd)]);_0x448f94&&_0x406124[_0x5cb789(0x260)](_0x4c9ae8['UniverLicensePlugin'],{'license':_0x448f94['ls']});let _0x5e6d4e=(_0x20ce2c=this['_configService'][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x20ce2c[_0x5cb789(0x244)],_0xed1d98=!!_0x5e6d4e;_0xed1d98&&(this[_0x5cb789(0x22a)]=_0x5e6d4e instanceof Worker?_0x5e6d4e:null,_0x406124[_0x5cb789(0x260)](_0x23e09e[_0x5cb789(0x26e)],{'workerURL':_0x5e6d4e})),this[_0x5cb789(0x179)][_0x5cb789(0x1af)](([_0x2f7ee2,_0x2eca98])=>{_0x406124['registerPlugin'](_0x2f7ee2,_0x2eca98);}),_0x406124['registerPlugin'](_0x427580['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x4be54b=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x4be54b[_0x5cb789(0x284)],'historyPanelComponentKey':(_0x43897a=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)]('edit-history-loader.config'))==null?void 0x0:_0x43897a[_0x5cb789(0x291)],'historyPanelHidden':(_0x33194e=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x33194e[_0x5cb789(0x276)],'historyAIassistantEnabled':(_0x1b6462=this[_0x5cb789(0x1a0)][_0x5cb789(0x21d)](_0x5cb789(0x17d)))==null?void 0x0:_0x1b6462['historyAIassistantEnabled']}),_0x35104c[_0x5cb789(0x20a)](_0x6f35fb=>{const _0x1e1ae0=_0x5cb789;this[_0x1e1ae0(0x1e1)](_0x6f35fb,_0x111ff1);}),this['_historyUniver$'][_0x5cb789(0x210)](_0x406124);let _0x11873a=_0x35104c['get'](_0x427580[_0x5cb789(0x292)]),_0x1b8705=this[_0x5cb789(0x165)](_0x111ff1),_0x53a085=()=>{const _0x2e123f=_0x5cb789;_0x1fc2cd?_0x11873a['triggerCustomVersions'](_0x111ff1,_0x24d1fc,_0x1b8705,_0x1fc2cd):_0x11873a[_0x2e123f(0x25b)](_0x111ff1,_0x24d1fc,_0x1b8705);};if(this[_0x5cb789(0x27e)][_0x5cb789(0x1e4)]({'content':this['_localeService']['t'](_0x5cb789(0x17f)),'type':_0x3654df[_0x5cb789(0x1d3)][_0x5cb789(0x27c)]}),_0xed1d98)try{_0x35104c['get'](_0x23e09e[_0x5cb789(0x212)])['whenReady']()[_0x5cb789(0x1eb)](()=>{_0x53a085();});}catch{_0x53a085();}else _0x53a085();}[_0x48825a(0x1e1)](_0x452876,_0x3b0907){const _0x2a0ed6=_0x48825a;let _0x1ef5c6=_0x452876[_0x2a0ed6(0x290)](_0x427580[_0x2a0ed6(0x292)]);this['_disposableCollection']['add'](_0x1ef5c6[_0x2a0ed6(0x177)][_0x2a0ed6(0x1b6)](_0xc380f7=>{const _0x2f661f=_0x2a0ed6;switch(_0xc380f7){case _0x427580[_0x2f661f(0x27d)]['Entered']:this[_0x2f661f(0x1e3)]['closeAll'](),this[_0x2f661f(0x202)][_0x2f661f(0x236)]();break;case _0x427580[_0x2f661f(0x27d)][_0x2f661f(0x182)]:this['_commandService'][_0x2f661f(0x1d5)](_0x3afd2f['id']),this['unMountHistoryContent']();break;case _0x427580['HistoryModeStatus'][_0x2f661f(0x16e)]:this[_0x2f661f(0x16d)](),this[_0x2f661f(0x27e)][_0x2f661f(0x1e4)]({'content':this[_0x2f661f(0x29d)]['t']('edit-history-loader.panel.listFetchError'),'type':_0x3654df[_0x2f661f(0x1d3)][_0x2f661f(0x16e)],'duration':0xbb8});break;default:break;}})),this[_0x2a0ed6(0x1f8)][_0x2a0ed6(0x14c)](_0x1ef5c6[_0x2a0ed6(0x268)]['subscribe'](async _0x27a95c=>{const _0x3fef11=_0x2a0ed6;_0x27a95c&&this[_0x3fef11(0x266)][_0x3fef11(0x1d5)](_0x3aa7bd[_0x3fef11(0x225)]['id'],{'unitId':_0x3b0907,'revision':_0x27a95c});}));}[_0x48825a(0x165)](_0x3ab0d3){const _0x545ae2=_0x48825a;let _0x564ea9=this[_0x545ae2(0x16c)][_0x545ae2(0x174)](_0x3ab0d3)[_0x545ae2(0x1f7)]()[_0x545ae2(0x1ba)](_0x51fae6=>_0x51fae6[_0x545ae2(0x1f2)]()),_0x169f05=new _0x439ca9[(_0x545ae2(0x158))](_0x3ab0d3)['id'],_0x4993a6=_0x564ea9['map'](_0x5787d4=>new _0x439ca9[(_0x545ae2(0x144))](_0x3ab0d3,_0x5787d4)['id']),_0x19ca20=_0x564ea9[_0x545ae2(0x1ba)](_0x4e5ae9=>this[_0x545ae2(0x23b)]['getSubunitRuleList'](_0x3ab0d3,_0x4e5ae9)[_0x545ae2(0x1ba)](_0x85fe0d=>new _0x439ca9[(_0x545ae2(0x215))](_0x3ab0d3,_0x4e5ae9,_0x85fe0d[_0x545ae2(0x272)])['id']))[_0x545ae2(0x26c)](),_0x38f930=new _0x439ca9[(_0x545ae2(0x1bd))](_0x3ab0d3)['id'];return this[_0x545ae2(0x214)][_0x545ae2(0x18e)]([_0x169f05,..._0x4993a6,..._0x19ca20,_0x38f930])[_0x545ae2(0x29e)](_0x438635=>!!_0x438635[_0x545ae2(0x1b9)]);}};_0x2f1f30=_0x82e3a8([_0x2d9990(0x0,(0x0,_0x3c94c0['Inject'])(_0x3c94c0['LocaleService'])),_0x2d9990(0x1,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)]),_0x2d9990(0x3,_0x3c94c0[_0x48825a(0x22f)]),_0x2d9990(0x4,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x5,_0x3c94c0['IPermissionService']),_0x2d9990(0x6,(0x0,_0x3c94c0['Inject'])(_0x439ca9['RangeProtectionRuleModel'])),_0x2d9990(0x7,(0x0,_0x3c94c0['Inject'])(_0x1e9ee3[_0x48825a(0x15b)])),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3['ISidebarService'])),_0x2d9990(0x9,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['ThemeService']))],_0x2f1f30);let _0x39d9e5={'id':_0x48825a(0x200),'type':_0x3c94c0[_0x48825a(0x237)][_0x48825a(0x18d)],'handler':_0x209d86=>{const _0x2afbfd=_0x48825a;let _0x397089=_0x209d86[_0x2afbfd(0x290)](_0x2f1f30),{unitId:_0x23ead4}=(0x0,_0x439ca9[_0x2afbfd(0x163)])(_0x209d86[_0x2afbfd(0x290)](_0x3c94c0[_0x2afbfd(0x1ee)]))||{};return _0x23ead4?(_0x397089[_0x2afbfd(0x26a)](_0x23ead4),!0x0):!0x1;}},_0x3afd2f={'id':_0x48825a(0x14d),'type':_0x3c94c0[_0x48825a(0x237)]['OPERATION'],'handler':()=>!0x0};var _0x1a2eed=_0x48825a(0x1e8),_0xfa7619=_0x48825a(0x150);function _0x51cb33({ref:_0x3e690e,..._0x57d24d}){const _0x272689=_0x48825a;let {icon:_0x32cd00,id:_0x51c16c,className:_0x421728,extend:_0x4395e1,..._0x185c1e}=_0x57d24d,_0x616245=(_0x272689(0x1e2)+_0x51c16c+'\x20'+(_0x421728||''))['trim'](),_0x307cdf=(0x0,_0x12413c[_0x272689(0x22b)])('_'+_0xa6df11());return _0x40bb23(_0x32cd00,''+_0x51c16c,{'defIds':_0x32cd00[_0x272689(0x1db)],'idSuffix':_0x307cdf[_0x272689(0x232)]},{'ref':_0x3e690e,'className':_0x616245,..._0x185c1e},_0x4395e1);}function _0x40bb23(_0x2e9bbf,_0x159955,_0x1f69ad,_0x54a07c,_0x25d109){const _0x10fe4a=_0x48825a;return(0x0,_0x12413c[_0x10fe4a(0x21b)])(_0x2e9bbf[_0x10fe4a(0x2a2)],{'key':_0x159955,..._0x1529e8(_0x2e9bbf,_0x1f69ad,_0x25d109),..._0x54a07c},(_0x52a7df(_0x2e9bbf,_0x1f69ad)['children']||[])[_0x10fe4a(0x1ba)]((_0x283872,_0x5d7938)=>_0x40bb23(_0x283872,_0x159955+'-'+_0x2e9bbf['tag']+'-'+_0x5d7938,_0x1f69ad,void 0x0,_0x25d109)));}function _0x1529e8(_0x1d3ac9,_0x6634ed,_0x44c123){const _0x16d59e=_0x48825a;let _0x26b780={..._0x1d3ac9[_0x16d59e(0x1ce)]};_0x44c123!=null&&_0x44c123['colorChannel1']&&_0x26b780[_0x16d59e(0x2a0)]===_0x16d59e(0x1bb)&&(_0x26b780['fill']=_0x44c123[_0x16d59e(0x1bb)]),_0x1d3ac9[_0x16d59e(0x2a2)]===_0x16d59e(0x1e9)&&_0x26b780['id']&&(_0x26b780['id']+=_0x6634ed[_0x16d59e(0x256)]),Object[_0x16d59e(0x15f)](_0x26b780)[_0x16d59e(0x1af)](([_0xbfa0e6,_0x41d45f])=>{const _0x327411=_0x16d59e;_0xbfa0e6===_0x327411(0x1e9)&&typeof _0x41d45f==_0x327411(0x178)&&(_0x26b780[_0xbfa0e6]=_0x41d45f['replace'](/url\(#(.*)\)/,_0x327411(0x148)+_0x6634ed[_0x327411(0x256)]+')'));});let {defIds:_0x15058e}=_0x6634ed;return!_0x15058e||_0x15058e[_0x16d59e(0x19b)]===0x0?_0x26b780:(_0x1d3ac9[_0x16d59e(0x2a2)]===_0x16d59e(0x21f)&&_0x26b780[_0x16d59e(0x198)]&&(_0x26b780[_0x16d59e(0x198)]+=_0x6634ed[_0x16d59e(0x256)]),Object[_0x16d59e(0x15f)](_0x26b780)[_0x16d59e(0x1af)](([_0x13fa4e,_0xd9e25])=>{const _0xd67388=_0x16d59e;typeof _0xd9e25==_0xd67388(0x178)&&(_0x26b780[_0x13fa4e]=_0xd9e25['replace'](/url\(#(.*)\)/,'url(#$1'+_0x6634ed[_0xd67388(0x256)]+')'));}),_0x26b780);}function _0x52a7df(_0x131c90,_0x9722e6){const _0x42418b=_0x48825a;var _0x1b5e03;let {defIds:_0x59e83d}=_0x9722e6;return!_0x59e83d||_0x59e83d[_0x42418b(0x19b)]===0x0?_0x131c90:_0x131c90[_0x42418b(0x2a2)]===_0x42418b(0x1ab)&&(_0x1b5e03=_0x131c90[_0x42418b(0x162)])!=null&&_0x1b5e03[_0x42418b(0x19b)]?{..._0x131c90,'children':_0x131c90['children'][_0x42418b(0x1ba)](_0x5da65d=>typeof _0x5da65d[_0x42418b(0x1ce)]['id']==_0x42418b(0x178)&&_0x59e83d&&_0x59e83d['includes'](_0x5da65d[_0x42418b(0x1ce)]['id'])?{..._0x5da65d,'attrs':{..._0x5da65d[_0x42418b(0x1ce)],'id':_0x5da65d[_0x42418b(0x1ce)]['id']+_0x9722e6['idSuffix']}}:_0x5da65d)}:_0x131c90;}function _0xa6df11(){const _0x46788b=_0x48825a;return Math['random']()['toString'](0x24)[_0x46788b(0x1fb)](0x2,0x8);}_0x51cb33[_0x48825a(0x206)]='UniverIcon';let _0x10ea45={'tag':_0x48825a(0x2a4),'attrs':{'xmlns':_0x48825a(0x224),'fill':_0x48825a(0x1b0),'viewBox':_0x48825a(0x23a),'width':_0x48825a(0x14e),'height':_0x48825a(0x14e)},'children':[{'tag':'g','attrs':{'fill':_0x48825a(0x171),'clipPath':_0x48825a(0x283)},'children':[{'tag':'path','attrs':{'d':'M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z'}},{'tag':_0x48825a(0x208),'attrs':{'d':_0x48825a(0x1c5)}}]},{'tag':_0x48825a(0x1ab),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'history-icon_clip0_907_281'},'children':[{'tag':_0x48825a(0x208),'attrs':{'fill':_0x48825a(0x196),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x48825a(0x1d6)]},_0x5938f1=(0x0,_0x12413c[_0x48825a(0x1b1)])(function(_0x589889,_0x5c5dcb){const _0x109f69=_0x48825a;return(0x0,_0x12413c['createElement'])(_0x51cb33,Object[_0x109f69(0x169)]({},_0x589889,{'id':_0x109f69(0x20f),'ref':_0x5c5dcb,'icon':_0x10ea45}));});_0x5938f1[_0x48825a(0x206)]='HistoryIcon';function _0x253403(_0xd89b7e){const _0x472692=_0x48825a;return{'id':_0x39d9e5['id'],'type':_0x1e9ee3[_0x472692(0x1a5)][_0x472692(0x22d)],'icon':_0x472692(0x184),'tooltip':_0x472692(0x16f),'hidden$':(0x0,_0x1e9ee3[_0x472692(0x1d2)])(_0xd89b7e,_0x3c94c0[_0x472692(0x24b)][_0x472692(0x15d)]),'disabled$':(0x0,_0xee6799[_0x472692(0x286)])(_0xd89b7e,{'workbookTypes':[_0x439ca9['WorkbookViewHistoryPermission']],'worksheetTypes':[],'rangeTypes':[]})};}let _0x332d49={[_0x1e9ee3[_0x48825a(0x241)][_0x48825a(0x195)]]:{[_0x39d9e5['id']]:{'order':0.2,'menuItemFactory':_0x253403}}},_0x1db700=class extends _0x3c94c0['RxDisposable']{constructor(_0x1ae691,_0x592440,_0x5cb8b5,_0x5c160a,_0x1c6bad,_0x2c5795,_0x3cc723,_0x2c4585,_0x4a6f2d,_0x421f0f,_0xcb216f){const _0x1a6f8b=_0x48825a;super(),this['_commandService']=_0x1ae691,this[_0x1a6f8b(0x271)]=_0x592440,this[_0x1a6f8b(0x259)]=_0x5cb8b5,this[_0x1a6f8b(0x160)]=_0x5c160a,this[_0x1a6f8b(0x29d)]=_0x1c6bad,this[_0x1a6f8b(0x27e)]=_0x2c5795,this['_collaborationController']=_0x3cc723,this[_0x1a6f8b(0x25a)]=_0x2c4585,this['_dataLoaderService']=_0x4a6f2d,this[_0x1a6f8b(0x16c)]=_0x421f0f,this['_urlService']=_0xcb216f,_0x29e9ee(this,'_revertErrorTimer',null),this[_0x1a6f8b(0x21c)]();}[_0x48825a(0x21c)](){const _0x305830=_0x48825a;[_0x39d9e5,_0x3afd2f]['forEach'](_0x36edcd=>this['disposeWithMe']((0x0,_0x3c94c0[_0x305830(0x26d)])(this[_0x305830(0x266)][_0x305830(0x29b)](_0x36edcd)))),this[_0x305830(0x28e)](this['_componentManager'][_0x305830(0x298)]('HistoryIcon',_0x5938f1)),this[_0x305830(0x271)]['mergeMenu'](_0x332d49),this[_0x305830(0x28e)](this[_0x305830(0x266)][_0x305830(0x1ea)](async(_0x218719,_0x40c0dd)=>{const _0x31b2ec=_0x305830;if(_0x218719['id']===_0x3aa7bd[_0x31b2ec(0x225)]['id']){let {unitId:_0x4976f6}=_0x218719[_0x31b2ec(0x1a9)];this['_messageService']['show']({'content':this['_localeService']['t'](_0x31b2ec(0x25d)),'type':_0x3654df[_0x31b2ec(0x1d3)][_0x31b2ec(0x27c)],'duration':0x1388});let _0x22d458=this[_0x31b2ec(0x157)][_0x31b2ec(0x26b)](_0x4976f6);_0x40c0dd!=null&&_0x40c0dd[_0x31b2ec(0x183)]?this['_handleRevertAcknowledgement'](_0x22d458,async()=>(setTimeout(()=>window[_0x31b2ec(0x1f1)]['reload']()),!0x0),!0x0):this['_handleRevertAcknowledgement'](_0x22d458,async()=>{const _0x4c293b=_0x31b2ec;let _0x2a7146=this[_0x4c293b(0x16c)][_0x4c293b(0x1ef)](_0x3c94c0[_0x4c293b(0x24b)][_0x4c293b(0x15d)]),_0x543855=_0x2a7146==null?void 0x0:_0x2a7146[_0x4c293b(0x1b2)]();if(!_0x543855)return!0x1;this[_0x4c293b(0x16c)][_0x4c293b(0x204)](_0x4976f6);let _0x20c6a8=await this[_0x4c293b(0x18c)]['loadUnit'](_0x4976f6,_0x3c94c0[_0x4c293b(0x24b)][_0x4c293b(0x15d)]);return _0x20c6a8&&_0x20c6a8 instanceof _0x3c94c0[_0x4c293b(0x175)]?(await this[_0x4c293b(0x233)](_0x20c6a8,_0x543855['getSheetId']()),!0x0):!0x1;});}}));}['_handleRevertAcknowledgement'](_0x49944a,_0x8328a3,_0x1ab6b2=!0x1){const _0x2f51be=_0x48825a;let _0x3036fd=(0x0,_0xd2a689[_0x2f51be(0x1e0)])([_0x49944a[_0x2f51be(0x289)]['event$'],_0x49944a[_0x2f51be(0x227)]])[_0x2f51be(0x1b6)](async([_0x24746a,_0x26133e])=>{const _0x21c9d2=_0x2f51be;if(_0x24746a[_0x21c9d2(0x296)]===_0x3aa7bd[_0x21c9d2(0x231)][_0x21c9d2(0x1f9)]&&(_0x26133e==null?void 0x0:_0x26133e['status'])===_0x36b005[_0x21c9d2(0x19e)]['SYNCED']&&_0x24746a['data'][_0x21c9d2(0x1d7)]['some'](_0x33d351=>_0x33d351['id']===_0x3aa7bd['RevertRevisionMutation']['id'])&&await _0x8328a3()){var _0x2bdf58;this[_0x21c9d2(0x160)][_0x21c9d2(0x16d)](),_0x3036fd[_0x21c9d2(0x248)](),this['_revertErrorTimer']&&clearTimeout(this['_revertErrorTimer']),await((_0x2bdf58=this[_0x21c9d2(0x25a)])==null?void 0x0:_0x2bdf58[_0x21c9d2(0x191)]()),this[_0x21c9d2(0x27e)][_0x21c9d2(0x282)]();}});_0x1ab6b2&&(this['_revertErrorTimer']=setTimeout(()=>{const _0x18bd87=_0x2f51be;_0x3036fd['unsubscribe'](),this['_messageService']['show']({'content':this[_0x18bd87(0x29d)]['t'](_0x18bd87(0x1c8)),'type':_0x3654df[_0x18bd87(0x1d3)][_0x18bd87(0x16e)],'duration':0xbb8});},0x1388));}async[_0x48825a(0x233)](_0x30c2a5,_0x50e648){const _0x261533=_0x48825a;await this['_updateSubUnitFromURLParams'](_0x30c2a5,_0x50e648),_0x30c2a5[_0x261533(0x297)][_0x261533(0x25e)]((0x0,_0xd2a689['takeUntil'])(this[_0x261533(0x27a)]))[_0x261533(0x1b6)](_0x4b3f6e=>{const _0x1ddafa=_0x261533;_0x4b3f6e&&this[_0x1ddafa(0x170)](_0x4b3f6e);}),this[_0x261533(0x1fe)][_0x261533(0x1c1)]['pipe']((0x0,_0xd2a689[_0x261533(0x161)])(this[_0x261533(0x27a)]))[_0x261533(0x1b6)](()=>this[_0x261533(0x1df)](_0x30c2a5,_0x50e648));}[_0x48825a(0x170)](_0x5391c2,_0x445f45=!0x1){const _0x1fb6df=_0x48825a;let _0x3b7d62=this[_0x1fb6df(0x1fe)][_0x1fb6df(0x26f)](_0x1fb6df(0x20b));_0x5391c2[_0x1fb6df(0x1f2)]()!==_0x3b7d62&&this['_urlService'][_0x1fb6df(0x219)](_0x1fb6df(0x20b),_0x5391c2['getSheetId'](),_0x445f45);}async[_0x48825a(0x1df)](_0x39c251,_0x2b101d){const _0x3b2168=_0x48825a;var _0x3a32d2;if(!_0x2b101d||!_0x39c251['getSheetBySheetId'](_0x2b101d)){let _0x44c512=_0x39c251['getUnhiddenWorksheets']()[0x0],_0x1b0ba8=_0x39c251[_0x3b2168(0x1a6)](_0x44c512);if(!_0x1b0ba8)return;this[_0x3b2168(0x170)](_0x1b0ba8,!0x0),await this[_0x3b2168(0x266)]['executeCommand'](_0x439ca9['SetWorksheetActivateCommand']['id'],{'unitId':_0x39c251[_0x3b2168(0x19f)](),'subUnitId':_0x44c512});return;}((_0x3a32d2=_0x39c251[_0x3b2168(0x1b2)]())==null?void 0x0:_0x3a32d2[_0x3b2168(0x1f2)]())!==_0x2b101d&&await this[_0x3b2168(0x266)][_0x3b2168(0x1d5)](_0x439ca9[_0x3b2168(0x226)]['id'],{'unitId':_0x39c251[_0x3b2168(0x19f)](),'subUnitId':_0x2b101d});}};_0x1db700=_0x82e3a8([_0x2d9990(0x0,_0x3c94c0['ICommandService']),_0x2d9990(0x1,_0x1e9ee3['IMenuManagerService']),_0x2d9990(0x2,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3['ComponentManager'])),_0x2d9990(0x3,(0x0,_0x3c94c0['Inject'])(_0x2f1f30)),_0x2d9990(0x4,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['LocaleService'])),_0x2d9990(0x5,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x267)])),_0x2d9990(0x7,_0x36b005[_0x48825a(0x235)]),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x1b5)])),_0x2d9990(0x9,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0xa,_0x470060['IURLService'])],_0x1db700);let _0x43fd83=_0x48825a(0x247),_0x571163=class extends _0x3c94c0[_0x48825a(0x1ec)]{constructor(_0x51245d,_0x486a60,_0x745b7b,_0x30232f,_0xd48032,_0x173133,_0x4a5dee,_0x31ce0c,_0x394043,_0x5f171b){const _0x32e76a=_0x48825a;super(),this[_0x32e76a(0x29d)]=_0x51245d,this[_0x32e76a(0x16c)]=_0x486a60,this['_configService']=_0x745b7b,this[_0x32e76a(0x266)]=_0x30232f,this[_0x32e76a(0x27e)]=_0xd48032,this[_0x32e76a(0x214)]=_0x173133,this['_selectionProtectionRuleModel']=_0x4a5dee,this[_0x32e76a(0x1e3)]=_0x31ce0c,this['_sidebarService']=_0x394043,this[_0x32e76a(0x218)]=_0x5f171b,_0x29e9ee(this,'_historyUniver$',new _0xd2a689[(_0x32e76a(0x172))](null)),_0x29e9ee(this,'historyUniver$',this[_0x32e76a(0x1fc)][_0x32e76a(0x151)]()),_0x29e9ee(this,'_disposableCollection',new _0x3c94c0[(_0x32e76a(0x1da))]()),_0x29e9ee(this,_0x32e76a(0x179),new Map()),_0x29e9ee(this,_0x32e76a(0x22a),null),this[_0x32e76a(0x21c)]();}get[_0x48825a(0x20e)](){const _0x1fbb3c=_0x48825a;return this['_historyUniver$'][_0x1fbb3c(0x1b9)];}[_0x48825a(0x21c)](){const _0x4f8dd2=_0x48825a;this[_0x4f8dd2(0x250)](),this[_0x4f8dd2(0x261)]();}[_0x48825a(0x250)](){const _0x3aba50=_0x48825a;var _0x3fb1ae;let _0x240e02=(_0x3fb1ae=this[_0x3aba50(0x1a0)][_0x3aba50(0x21d)](_0x3aba50(0x255)))==null?_0x3aba50(0x1c9):_0x3fb1ae,_0x4857a9=document[_0x3aba50(0x27f)](_0x240e02);if(!_0x4857a9)return;let _0x169108=document[_0x3aba50(0x21b)](_0x3aba50(0x1a2));_0x169108['id']=_0x43fd83,_0x169108[_0x3aba50(0x1aa)][_0x3aba50(0x217)]=_0x3aba50(0x245),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x1de)]='absolute',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x251)]='0',_0x169108[_0x3aba50(0x17c)]['left']='0',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x1e7)]=_0x3aba50(0x1ae),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x269)]=_0x3aba50(0x1ae),_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x27b)]='49',_0x169108[_0x3aba50(0x17c)][_0x3aba50(0x29f)]=_0x3aba50(0x1b0),_0x4857a9[_0x3aba50(0x16b)](_0x169108);}[_0x48825a(0x261)](){const _0x6c37b7=_0x48825a;[[_0x487c14['UniverRenderEnginePlugin']],[_0x1e9ee3[_0x6c37b7(0x1a1)],{'container':_0x43fd83,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x1e9ee3[_0x6c37b7(0x15b)],null]]}],[_0x4cf1a2[_0x6c37b7(0x294)]],[_0x413f1d[_0x6c37b7(0x263)],{'override':[[_0x413f1d[_0x6c37b7(0x199)],null]]}],[_0x365f97[_0x6c37b7(0x14a)],{'hasScroll':!0x1}],[_0x28cfa4[_0x6c37b7(0x181)]],[_0x34d751[_0x6c37b7(0x21a)]],[_0x439ca9[_0x6c37b7(0x17b)],{'notExecuteFormula':!0x0}],[_0xee6799[_0x6c37b7(0x146)]],[_0x2453e3['UniverSheetsFormulaPlugin']],[_0x545f54[_0x6c37b7(0x1ff)]],[_0x3aa7bd[_0x6c37b7(0x1f6)]],[_0xf68838[_0x6c37b7(0x201)]],[_0x7ab83[_0x6c37b7(0x254)]],[_0x14c3a8[_0x6c37b7(0x220)]],[_0x147ecb['UniverSheetsHyperLinkUIPlugin']],[_0x2852d7[_0x6c37b7(0x185)]],[_0x399974[_0x6c37b7(0x24c)]],[_0x3aafb7[_0x6c37b7(0x274)]],[_0x1011d8[_0x6c37b7(0x293)],{'notExecuteFormula':!0x0}],[_0x4ad995[_0x6c37b7(0x281)]],[_0x1509d9['UniverSheetsDrawingPlugin']],[_0x318ec2[_0x6c37b7(0x1bf)]],[_0x285e93[_0x6c37b7(0x16a)]],[_0x252d57[_0x6c37b7(0x203)]],[_0x11a738[_0x6c37b7(0x1a7)]],[_0x2195a5[_0x6c37b7(0x234)]],[_0x23545e[_0x6c37b7(0x1e6)]],[_0xe89110[_0x6c37b7(0x14f)]],[_0x1232a5[_0x6c37b7(0x264)],{'notExecuteFormula':!0x0}],[_0x4a068e[_0x6c37b7(0x28d)]]][_0x6c37b7(0x1af)](([_0x23bf3e,_0x534a57])=>this[_0x6c37b7(0x260)](_0x23bf3e,_0x534a57));}[_0x48825a(0x1a3)](){const _0x1c0f5d=_0x48825a;super[_0x1c0f5d(0x1a3)](),this[_0x1c0f5d(0x16d)](),this[_0x1c0f5d(0x179)]['clear']();}['registerPlugin'](_0xa348f5,_0x5ea979,_0x5933b4){const _0x38fddf=_0x48825a;if(this[_0x38fddf(0x179)]['has'](_0xa348f5[_0x38fddf(0x273)])&&!_0x5933b4)throw Error('[MobileHistoryLoaderService]:\x20Plugin\x20'+_0xa348f5[_0x38fddf(0x273)]+_0x38fddf(0x1be));this[_0x38fddf(0x179)][_0x38fddf(0x168)](_0xa348f5[_0x38fddf(0x273)],[_0xa348f5,_0x5ea979]);}[_0x48825a(0x1d0)](){const _0x45428d=_0x48825a;return Array[_0x45428d(0x1ac)](this[_0x45428d(0x179)][_0x45428d(0x278)]());}[_0x48825a(0x26a)](_0x3af8d0,_0x4af5df){const _0x151362=_0x48825a;let _0xaa10e8=document[_0x151362(0x27f)](_0x43fd83);_0xaa10e8&&(_0xaa10e8[_0x151362(0x17c)][_0x151362(0x29f)]=_0x151362(0x1f3),this[_0x151362(0x252)](_0x3af8d0,_0x43fd83,_0x4af5df));}[_0x48825a(0x16d)](){const _0x3a9ed9=_0x48825a;var _0x5cd7a9;this['_disposableCollection'][_0x3a9ed9(0x1a3)](),(_0x5cd7a9=this[_0x3a9ed9(0x20e)])==null||_0x5cd7a9[_0x3a9ed9(0x1a3)](),this['_historyUniver$'][_0x3a9ed9(0x210)](null);let _0x2e3268=document['getElementById'](_0x43fd83);_0x2e3268&&(_0x2e3268[_0x3a9ed9(0x17c)][_0x3a9ed9(0x29f)]='none',this['_internalWebWorker']&&(this[_0x3a9ed9(0x22a)][_0x3a9ed9(0x19c)](),this[_0x3a9ed9(0x22a)]=null));}[_0x48825a(0x252)](_0x159ce3,_0xf58e4b,_0x371d09){const _0x15ddb9=_0x48825a;var _0x4dfcea,_0xce0f38,_0x47fedb,_0x1e5e39;if(this[_0x15ddb9(0x20e)])return;let _0x1077d8=new _0x3c94c0[(_0x15ddb9(0x24f))]({'locales':{[this[_0x15ddb9(0x29d)]['getCurrentLocale']()]:this['_localeService'][_0x15ddb9(0x1cb)]()},'override':[[_0x3c94c0[_0x15ddb9(0x287)],{'useClass':_0x36b005[_0x15ddb9(0x149)]}]]}),_0x283d14=_0x1077d8[_0x15ddb9(0x243)]();this[_0x15ddb9(0x28e)](this[_0x15ddb9(0x218)]['darkMode$'][_0x15ddb9(0x1b6)](_0x324707=>{const _0x4ae980=_0x15ddb9;_0x283d14['get'](_0x3c94c0[_0x4ae980(0x153)])['setDarkMode'](_0x324707);})),this[_0x15ddb9(0x28e)](this[_0x15ddb9(0x218)]['currentTheme$'][_0x15ddb9(0x1b6)](_0x5a1867=>{const _0x433aa2=_0x15ddb9;_0x283d14[_0x433aa2(0x290)](_0x3c94c0['ThemeService'])[_0x433aa2(0x240)](_0x5a1867);})),_0x283d14[_0x15ddb9(0x290)](_0x3c94c0[_0x15ddb9(0x222)])['setLocale'](this[_0x15ddb9(0x29d)]['getCurrentLocale']()),_0x283d14[_0x15ddb9(0x290)](_0x3c94c0['IConfigService'])[_0x15ddb9(0x15e)](_0x36b005[_0x15ddb9(0x223)],this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x36b005[_0x15ddb9(0x223)]));let _0x3a3a66=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x4c9ae8[_0x15ddb9(0x1cd)]);_0x3a3a66&&_0x1077d8[_0x15ddb9(0x260)](_0x4c9ae8[_0x15ddb9(0x145)],{'license':_0x3a3a66['ls']});let _0x4390ab=(_0x4dfcea=this['_configService'][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0x4dfcea[_0x15ddb9(0x244)],_0x214791=!!_0x4390ab;_0x214791&&(this[_0x15ddb9(0x22a)]=_0x4390ab instanceof Worker?_0x4390ab:null,_0x1077d8[_0x15ddb9(0x260)](_0x23e09e[_0x15ddb9(0x26e)],{'workerURL':_0x4390ab})),this[_0x15ddb9(0x179)][_0x15ddb9(0x1af)](([_0x17ab06,_0x20e2df])=>{const _0x3eaf62=_0x15ddb9;_0x1077d8[_0x3eaf62(0x260)](_0x17ab06,_0x20e2df);}),_0x1077d8['registerPlugin'](_0x427580['UniverEditHistoryViewerMobilePlugin'],{'historyListServerUrl':(_0xce0f38=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0xce0f38['historyListServerUrl'],'historyPanelComponentKey':(_0x47fedb=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)]('edit-history-loader.config'))==null?void 0x0:_0x47fedb[_0x15ddb9(0x291)],'historyPanelHidden':(_0x1e5e39=this[_0x15ddb9(0x1a0)][_0x15ddb9(0x21d)](_0x15ddb9(0x17d)))==null?void 0x0:_0x1e5e39[_0x15ddb9(0x276)]}),_0x283d14[_0x15ddb9(0x20a)](_0x12fe0e=>{const _0x42858d=_0x15ddb9;this[_0x42858d(0x1e1)](_0x12fe0e,_0x159ce3);}),this[_0x15ddb9(0x1fc)][_0x15ddb9(0x210)](_0x1077d8);let _0x445a65=_0x283d14[_0x15ddb9(0x290)](_0x427580[_0x15ddb9(0x292)]),_0x16f0ab=this[_0x15ddb9(0x165)](_0x159ce3),_0x4d4df5=()=>{const _0x2faf28=_0x15ddb9;_0x371d09?_0x445a65[_0x2faf28(0x1f5)](_0x159ce3,_0xf58e4b,_0x16f0ab,_0x371d09):_0x445a65[_0x2faf28(0x25b)](_0x159ce3,_0xf58e4b,_0x16f0ab);};if(this[_0x15ddb9(0x27e)][_0x15ddb9(0x1e4)]({'content':this['_localeService']['t']('edit-history-loader.info.initializing'),'type':_0x3654df[_0x15ddb9(0x1d3)][_0x15ddb9(0x27c)]}),_0x214791)try{_0x283d14['get'](_0x23e09e[_0x15ddb9(0x212)])[_0x15ddb9(0x1fa)]()['then'](()=>{_0x4d4df5();});}catch{_0x4d4df5();}else _0x4d4df5();}[_0x48825a(0x1e1)](_0x105230,_0x19f55a){const _0x217b45=_0x48825a;let _0x2171ea=_0x105230[_0x217b45(0x290)](_0x427580[_0x217b45(0x292)]);this[_0x217b45(0x1f8)]['add'](_0x2171ea['status$'][_0x217b45(0x1b6)](_0xf55560=>{const _0x47574e=_0x217b45;switch(_0xf55560){case _0x427580['HistoryModeStatus'][_0x47574e(0x24a)]:this[_0x47574e(0x1e3)][_0x47574e(0x187)](),this[_0x47574e(0x202)][_0x47574e(0x236)]();break;case _0x427580[_0x47574e(0x27d)][_0x47574e(0x182)]:this[_0x47574e(0x266)][_0x47574e(0x1d5)](_0x3afd2f['id']),this[_0x47574e(0x16d)]();break;case _0x427580[_0x47574e(0x27d)][_0x47574e(0x16e)]:this[_0x47574e(0x16d)](),this[_0x47574e(0x27e)][_0x47574e(0x1e4)]({'content':this[_0x47574e(0x29d)]['t'](_0x47574e(0x1a4)),'type':_0x3654df[_0x47574e(0x1d3)]['Error'],'duration':0xbb8});break;default:break;}})),this[_0x217b45(0x1f8)][_0x217b45(0x14c)](_0x2171ea[_0x217b45(0x268)][_0x217b45(0x1b6)](async _0x185f9c=>{const _0x5c146c=_0x217b45;_0x185f9c&&this[_0x5c146c(0x266)][_0x5c146c(0x1d5)](_0x3aa7bd[_0x5c146c(0x225)]['id'],{'unitId':_0x19f55a,'revision':_0x185f9c});}));}[_0x48825a(0x165)](_0x15e4f3){const _0x3f4720=_0x48825a;let _0x2e7ad1=this[_0x3f4720(0x16c)][_0x3f4720(0x174)](_0x15e4f3)[_0x3f4720(0x1f7)]()['map'](_0x48c545=>_0x48c545[_0x3f4720(0x1f2)]()),_0x25bbbb=new _0x439ca9[(_0x3f4720(0x158))](_0x15e4f3)['id'],_0x4a8ea8=_0x2e7ad1[_0x3f4720(0x1ba)](_0x34e445=>new _0x439ca9[(_0x3f4720(0x144))](_0x15e4f3,_0x34e445)['id']),_0x1de83e=_0x2e7ad1[_0x3f4720(0x1ba)](_0x519518=>this[_0x3f4720(0x23b)][_0x3f4720(0x211)](_0x15e4f3,_0x519518)[_0x3f4720(0x1ba)](_0xe47dd2=>new _0x439ca9[(_0x3f4720(0x215))](_0x15e4f3,_0x519518,_0xe47dd2[_0x3f4720(0x272)])['id']))[_0x3f4720(0x26c)](),_0x224634=new _0x439ca9['WorkbookRecoverHistoryPermission'](_0x15e4f3)['id'];return this['_permissionService'][_0x3f4720(0x18e)]([_0x25bbbb,..._0x4a8ea8,..._0x1de83e,_0x224634])[_0x3f4720(0x29e)](_0x5f9c70=>!!_0x5f9c70['value']);}};_0x571163=_0x82e3a8([_0x2d9990(0x0,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['LocaleService'])),_0x2d9990(0x1,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)]),_0x2d9990(0x3,_0x3c94c0['ICommandService']),_0x2d9990(0x4,_0x1e9ee3[_0x48825a(0x1d8)]),_0x2d9990(0x5,_0x3c94c0['IPermissionService']),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x439ca9['RangeProtectionRuleModel'])),_0x2d9990(0x7,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x15b)])),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x154)])),_0x2d9990(0x9,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x153)]))],_0x571163);let _0x59fcca=class extends _0x3c94c0[_0x48825a(0x209)]{constructor(_0xbb987a=_0x44c328,_0x2e0ac2,_0x309897){const _0x165031=_0x48825a;super(),this[_0x165031(0x29a)]=_0xbb987a,this[_0x165031(0x17e)]=_0x2e0ac2,this['_configService']=_0x309897;let {menu:_0x551a75,..._0x4090ee}=(0x0,_0x3c94c0[_0x165031(0x21e)])({},_0x44c328,this[_0x165031(0x29a)]);_0x551a75&&this[_0x165031(0x1a0)]['setConfig'](_0x165031(0x19a),_0x551a75,{'merge':!0x0}),this[_0x165031(0x1a0)][_0x165031(0x15e)](_0x1894ca,_0x4090ee),this['_config'][_0x165031(0x192)]&&this['_configService'][_0x165031(0x15e)](_0x165031(0x255),this[_0x165031(0x29a)][_0x165031(0x192)]);}[_0x48825a(0x1d4)](){const _0xeb63ac=_0x48825a;[[_0x2f1f30,{'useClass':_0x571163}],[_0x1db700]][_0xeb63ac(0x1af)](_0x8f51d2=>this[_0xeb63ac(0x17e)][_0xeb63ac(0x14c)](_0x8f51d2));}[_0x48825a(0x23e)](){const _0x2af3a6=_0x48825a;this[_0x2af3a6(0x17e)][_0x2af3a6(0x290)](_0x1db700);}};_0x29e9ee(_0x59fcca,_0x48825a(0x1f0),_0x3c94c0[_0x48825a(0x24b)][_0x48825a(0x229)]),_0x29e9ee(_0x59fcca,'pluginName','UNIVER_EDIT_HISTORY_LOADER_MOBILE_PLUGIN'),_0x29e9ee(_0x59fcca,_0x48825a(0x18f),_0x1a2eed),_0x29e9ee(_0x59fcca,_0x48825a(0x147),_0xfa7619),_0x59fcca=_0x82e3a8([(0x0,_0x3c94c0[_0x48825a(0x1b8)])(_0x4c9ae8[_0x48825a(0x145)]),_0x2d9990(0x1,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x288)])),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)])],_0x59fcca);let _0xc749e8=class extends _0x3c94c0[_0x48825a(0x23f)]{constructor(_0x31e477,_0x4ab390,_0x37df90,_0xc57936,_0x14faaa,_0x323db4,_0x1dc02e,_0x5e9deb,_0x250347,_0x5be6ae,_0x295e56){const _0x1a156e=_0x48825a;super(),this['_commandService']=_0x31e477,this[_0x1a156e(0x271)]=_0x4ab390,this['_componentManager']=_0x37df90,this[_0x1a156e(0x160)]=_0xc57936,this[_0x1a156e(0x29d)]=_0x14faaa,this[_0x1a156e(0x27e)]=_0x323db4,this[_0x1a156e(0x157)]=_0x1dc02e,this[_0x1a156e(0x25a)]=_0x5e9deb,this[_0x1a156e(0x18c)]=_0x250347,this[_0x1a156e(0x16c)]=_0x5be6ae,this[_0x1a156e(0x1fe)]=_0x295e56,_0x29e9ee(this,'_revertErrorTimer',null),this[_0x1a156e(0x21c)]();}['_init'](){const _0x30ed51=_0x48825a;[_0x39d9e5,_0x3afd2f][_0x30ed51(0x1af)](_0x14c9ed=>this[_0x30ed51(0x28e)]((0x0,_0x3c94c0[_0x30ed51(0x26d)])(this[_0x30ed51(0x266)]['registerCommand'](_0x14c9ed)))),this[_0x30ed51(0x28e)](this[_0x30ed51(0x259)][_0x30ed51(0x298)](_0x30ed51(0x184),_0x5938f1)),this['_menuManagerService']['mergeMenu'](_0x332d49),this[_0x30ed51(0x28e)](this[_0x30ed51(0x266)][_0x30ed51(0x1ea)](async(_0x15f94b,_0x5e6b00)=>{const _0x5e7d62=_0x30ed51;if(_0x15f94b['id']===_0x3aa7bd[_0x5e7d62(0x225)]['id']){let {unitId:_0x13a822}=_0x15f94b['params'];this[_0x5e7d62(0x27e)]['show']({'content':this['_localeService']['t'](_0x5e7d62(0x25d)),'type':_0x3654df[_0x5e7d62(0x1d3)]['Loading'],'duration':0x1388});let _0x2255cb=this[_0x5e7d62(0x157)][_0x5e7d62(0x26b)](_0x13a822);_0x5e6b00!=null&&_0x5e6b00[_0x5e7d62(0x183)]?this['_handleRevertAcknowledgement'](_0x2255cb,async()=>(setTimeout(()=>window[_0x5e7d62(0x1f1)]['reload']()),!0x0),!0x0):this[_0x5e7d62(0x1ed)](_0x2255cb,async()=>{const _0x1fae05=_0x5e7d62;let _0x284eca=this['_univerInstanceService'][_0x1fae05(0x1ef)](_0x3c94c0['UniverInstanceType'][_0x1fae05(0x15d)]),_0x5ba38d=_0x284eca==null?void 0x0:_0x284eca[_0x1fae05(0x1b2)]();if(!_0x5ba38d)return!0x1;this['_univerInstanceService'][_0x1fae05(0x204)](_0x13a822);let _0x323570=await this[_0x1fae05(0x18c)]['loadUnit'](_0x13a822,_0x3c94c0[_0x1fae05(0x24b)][_0x1fae05(0x15d)]);return _0x323570&&_0x323570 instanceof _0x3c94c0['Workbook']?(await this[_0x1fae05(0x233)](_0x323570,_0x5ba38d[_0x1fae05(0x1f2)]()),!0x0):!0x1;});}}));}[_0x48825a(0x1ed)](_0x1f5134,_0x26a6d8,_0x1e89ef=!0x1){const _0x4737c2=_0x48825a;let _0x31a36a=(0x0,_0xd2a689['combineLatest'])([_0x1f5134[_0x4737c2(0x289)][_0x4737c2(0x17a)],_0x1f5134[_0x4737c2(0x227)]])[_0x4737c2(0x1b6)](async([_0x541967,_0x32665a])=>{const _0x5ebf5e=_0x4737c2;if(_0x541967[_0x5ebf5e(0x296)]===_0x3aa7bd[_0x5ebf5e(0x231)]['CHANGESET_ACK']&&(_0x32665a==null?void 0x0:_0x32665a[_0x5ebf5e(0x22e)])===_0x36b005[_0x5ebf5e(0x19e)][_0x5ebf5e(0x295)]&&_0x541967[_0x5ebf5e(0x25c)]['mutations'][_0x5ebf5e(0x28b)](_0x30febe=>_0x30febe['id']===_0x3aa7bd['RevertRevisionMutation']['id'])&&await _0x26a6d8()){var _0xd44d39;this[_0x5ebf5e(0x160)]['unMountHistoryContent'](),_0x31a36a[_0x5ebf5e(0x248)](),this['_revertErrorTimer']&&clearTimeout(this[_0x5ebf5e(0x1dc)]),await((_0xd44d39=this['_localCacheService'])==null?void 0x0:_0xd44d39[_0x5ebf5e(0x191)]());}});_0x1e89ef&&(this[_0x4737c2(0x1dc)]=setTimeout(()=>{const _0x1d746f=_0x4737c2;_0x31a36a[_0x1d746f(0x248)](),this['_messageService'][_0x1d746f(0x1e4)]({'content':this['_localeService']['t'](_0x1d746f(0x1c8)),'type':_0x3654df[_0x1d746f(0x1d3)][_0x1d746f(0x16e)],'duration':0xbb8});},0x1388));}async['_setupSubUnitSync'](_0x49e8a4,_0x35f9af){const _0x57587f=_0x48825a;await this[_0x57587f(0x1df)](_0x49e8a4,_0x35f9af),_0x49e8a4['activeSheet$'][_0x57587f(0x25e)]((0x0,_0xd2a689[_0x57587f(0x161)])(this[_0x57587f(0x27a)]))[_0x57587f(0x1b6)](_0x29a4cb=>{const _0x6ce27=_0x57587f;_0x29a4cb&&this[_0x6ce27(0x170)](_0x29a4cb);}),this[_0x57587f(0x1fe)][_0x57587f(0x1c1)][_0x57587f(0x25e)]((0x0,_0xd2a689['takeUntil'])(this[_0x57587f(0x27a)]))[_0x57587f(0x1b6)](()=>this[_0x57587f(0x1df)](_0x49e8a4,_0x35f9af));}[_0x48825a(0x170)](_0x48a552,_0xc4978e=!0x1){const _0xe4eced=_0x48825a;let _0x328367=this[_0xe4eced(0x1fe)][_0xe4eced(0x26f)]('subunit');_0x48a552['getSheetId']()!==_0x328367&&this[_0xe4eced(0x1fe)][_0xe4eced(0x219)](_0xe4eced(0x20b),_0x48a552['getSheetId'](),_0xc4978e);}async['_updateSubUnitFromURLParams'](_0x27160d,_0x28f699){const _0x53ea46=_0x48825a;var _0x4b8558;if(!_0x28f699||!_0x27160d[_0x53ea46(0x1a6)](_0x28f699)){let _0x1c7299=_0x27160d[_0x53ea46(0x239)]()[0x0],_0x18ccb5=_0x27160d[_0x53ea46(0x1a6)](_0x1c7299);if(!_0x18ccb5)return;this[_0x53ea46(0x170)](_0x18ccb5,!0x0),await this[_0x53ea46(0x266)]['executeCommand'](_0x439ca9[_0x53ea46(0x226)]['id'],{'unitId':_0x27160d['getUnitId'](),'subUnitId':_0x1c7299});return;}((_0x4b8558=_0x27160d['getActiveSheet']())==null?void 0x0:_0x4b8558[_0x53ea46(0x1f2)]())!==_0x28f699&&await this['_commandService'][_0x53ea46(0x1d5)](_0x439ca9[_0x53ea46(0x226)]['id'],{'unitId':_0x27160d[_0x53ea46(0x19f)](),'subUnitId':_0x28f699});}};_0xc749e8=_0x82e3a8([_0x2d9990(0x0,_0x3c94c0[_0x48825a(0x22f)]),_0x2d9990(0x1,_0x1e9ee3[_0x48825a(0x176)]),_0x2d9990(0x2,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x1e9ee3[_0x48825a(0x152)])),_0x2d9990(0x3,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x2f1f30)),_0x2d9990(0x4,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0[_0x48825a(0x222)])),_0x2d9990(0x5,_0x1e9ee3['IMessageService']),_0x2d9990(0x6,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005['CollaborationController'])),_0x2d9990(0x7,_0x36b005[_0x48825a(0x235)]),_0x2d9990(0x8,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x36b005[_0x48825a(0x1b5)])),_0x2d9990(0x9,_0x3c94c0[_0x48825a(0x1ee)]),_0x2d9990(0xa,_0x470060['IURLService'])],_0xc749e8);let _0x1ff8a5=class extends _0x3c94c0[_0x48825a(0x209)]{constructor(_0x29c8dd=_0x44c328,_0xb4a5cd,_0x1dbdea){const _0x32d69f=_0x48825a;super(),this[_0x32d69f(0x29a)]=_0x29c8dd,this[_0x32d69f(0x17e)]=_0xb4a5cd,this[_0x32d69f(0x1a0)]=_0x1dbdea;let {menu:_0x16d51a,..._0x90f9de}=(0x0,_0x3c94c0['merge'])({},_0x44c328,this['_config']);_0x16d51a&&this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)]('menu',_0x16d51a,{'merge':!0x0}),this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)](_0x1894ca,_0x90f9de),this[_0x32d69f(0x29a)]['univerContainerId']&&this[_0x32d69f(0x1a0)][_0x32d69f(0x15e)](_0x12f481,this[_0x32d69f(0x29a)][_0x32d69f(0x192)]);}['onStarting'](){const _0x3452b8=_0x48825a;[[_0x2f1f30],[_0xc749e8]]['forEach'](_0x130867=>this['_injector'][_0x3452b8(0x14c)](_0x130867));}[_0x48825a(0x23e)](){const _0x5e88f3=_0x48825a;this[_0x5e88f3(0x17e)][_0x5e88f3(0x290)](_0xc749e8);}};_0x29e9ee(_0x1ff8a5,_0x48825a(0x1f0),_0x3c94c0[_0x48825a(0x24b)][_0x48825a(0x229)]),_0x29e9ee(_0x1ff8a5,_0x48825a(0x273),'UNIVER_EDIT_HISTORY_LOADER_PLUGIN'),_0x29e9ee(_0x1ff8a5,_0x48825a(0x18f),_0x1a2eed),_0x29e9ee(_0x1ff8a5,_0x48825a(0x147),_0xfa7619),_0x1ff8a5=_0x82e3a8([(0x0,_0x3c94c0['DependentOn'])(_0x4c9ae8[_0x48825a(0x145)]),_0x2d9990(0x1,(0x0,_0x3c94c0[_0x48825a(0x1b4)])(_0x3c94c0['Injector'])),_0x2d9990(0x2,_0x3c94c0[_0x48825a(0x180)])],_0x1ff8a5),_0x420f19[_0x48825a(0x253)]=_0x1894ca,Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1c7),{'enumerable':!0x0,'get':function(){return _0x2f1f30;}}),Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1c3),{'enumerable':!0x0,'get':function(){return _0x571163;}}),_0x420f19[_0x48825a(0x1a8)]=_0x39d9e5,_0x420f19[_0x48825a(0x1cc)]=_0x12f481,_0x420f19['UNIVER_HISTORY_CONTAINER_ID']=_0x4e4169,Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x1bc),{'enumerable':!0x0,'get':function(){return _0x59fcca;}}),Object[_0x48825a(0x25f)](_0x420f19,_0x48825a(0x24d),{'enumerable':!0x0,'get':function(){return _0x1ff8a5;}});}));
|
|
21
21
|
|
|
22
22
|
// index
|
|
23
23
|
(function(r,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.UniverPresetSheetsCollaboration={},r.UniverProCollaboration,r.UniverProCollaborationClient,r.UniverProCollaborationClientUi,r.UniverProEditHistoryLoader))})(this,(function(r,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0,enableFrontendLog:d=!1,historyWorkerURL:b}=n,e=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${e}/universer-api/authz`,snapshotServerUrl:`${e}/universer-api/snapshot`,collabSubmitChangesetUrl:`${e}/universer-api/comb`,collabWebSocketUrl:s(`${e}/universer-api/comb/connect`),loginUrlKey:`${e}/universer-api/oidc/authpage`,uploadFileServerUrl:`${e}/universer-api/stream/file/upload`,signUrlServerUrl:`${e}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${e}/`,wsSessionTicketUrl:`${e}/universer-api/user/session-ticket`,startFormulaLimitUrl:`${e}/universer-api/license/formula/limit/start`,getFormulaLimitStatusUrl:`${e}/universer-api/license/formula/limit/status`,releaseFormulaLimitUrl:`${e}/universer-api/license/formula/limit/done`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{enableFrontendLog:d}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${e}/universer-api/history`,workerURL:b}]]}}r.UniverSheetsCollaborationPreset=u,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})}));
|