@univerjs-pro/boards-thread-comment-ui 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -13
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x98ba8b=_0x2936;(function(_0x1f5329,_0x4cad45){const _0x146bf1=_0x2936,_0xc60530=_0x1f5329();while(!![]){try{const _0x202735=parseInt(_0x146bf1(0x107))/0x1*(parseInt(_0x146bf1(0x8e))/0x2)+parseInt(_0x146bf1(0xa0))/0x3+parseInt(_0x146bf1(0xbb))/0x4+parseInt(_0x146bf1(0x87))/0x5+-parseInt(_0x146bf1(0x11b))/0x6+parseInt(_0x146bf1(0x8a))/0x7+parseInt(_0x146bf1(0x9e))/0x8;if(_0x202735===_0x4cad45)break;else _0xc60530['push'](_0xc60530['shift']());}catch(_0x443dbc){_0xc60530['push'](_0xc60530['shift']());}}}(_0x5189,0x8724e),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x98ba8b(0x72)}));let e=require('@univerjs-pro/boards'),t=require('@univerjs-pro/boards-ui'),n=require('@univerjs/core'),r=require('@univerjs/protocol'),i=require('@univerjs/thread-comment'),a=require('@univerjs/thread-comment-ui'),o=require('@univerjs/ui'),s=require('@univerjs-pro/boards-thread-comment'),c=require('@univerjs-pro/license'),l=require('@univerjs/engine-render'),u=require('@univerjs/icons'),d=require('react'),f=require('rxjs'),p=require('react/jsx-runtime');const m=_0x98ba8b(0x92),h='UNIVER_BOARDS_THREAD_COMMENT_UI_PLUGIN';function _0x5189(){const _0x3da75f=['BoardToolType','UnitAction','_onOverlayPointerDown','type','_getElementUnderline','getCurrentUser','Select','commentIds','BOARD_RENDER_LAYER_INDEX','placementType','string','_registerComponents','open','zoomRatio','push','board-canvas','ThreadCommentPanel','call','IRenderManagerService','UniverBoardsUIPlugin','BOARD_ELEMENT','OTHERS','onStarting','pluginName','useObservable','ICommandService','serializeThreadCommentAnchor','kind','takeUntil','disposeWithMe','dispose$','from','stopPropagation','useMemo','_getModel','getActivePageId','elementUpdate$','UniverLicensePlugin','CommentIcon','close','9NAPzFx','getObject','_injector','ThreadCommentCanvasOverlay','setActiveComment','set','updateState','unitId','decorate','function','getUnitId','_getFocusState','_draftService','elementAdd$','currentTheme$','gray.900','IMenuManagerService','getCurrentTypeOfUnit$','executeCommand','pipe','4983684riKpVV','_commandService','toPrimitive','prototype','IBoardToolbarContributionService','subUnitId','forEach','Inject','some','hoveredCommentId$','onPointerDown$','Plugin','getUnit','UserManagerService','offsetX','offsetY','count','_commentModel','BUTTON','hitCommentId','RxDisposable','ref','focusedId','subscribe','ThreadCommentDraftService','isFinite','getPage','1.0.1','cancel','_toBoardPoint','deserializeThreadCommentAnchor','version','getSnapshot','_instanceService','distinctUntilChanged','ThreadCommentModel','_configService','trim','_getElementOutline','has','selectedIds','IconManager','userID','constructor','Comment','clearHover','_iconManager','placementType$','_syncOverlay','_renderManagerService','get','BOARD_POSITION','getElementData','CommandType','iterator','_componentManager','StartBoardCommentPlacementOperation','_elementStateService','getOwnPropertyDescriptor','ThemeService','UniverBoardsPlugin','IBoardUIStateService','ISidebarService','BOARD','viewportPanOffset','ThreadCommentAnchorKind','setPanelVisible','ComponentManager','subscribeEvent','UNIVER_BOARD','IBoardElementStateService','place','Module','register','transientNavigation','onRendered','registerRenderModule','_uiStateService','boards-thread-comment-ui.addComment','activeTool','_registerIcons','_renderContext','round','IPermissionService','board.operation.start-comment-placement','InsertCommentDoubleIcon','anchor','BoardElementContextMenuPosition','pairwise','setConfig','combineLatest','_elementService','board-thread-comment-overlay','721125ijQsQX','jsx','draft','748825RgnUQf','draft$','height','state$','46862ZABYVm','commentId','FloatingObjectToolbarPosition','defineProperty','univer.board.thread-comment-panel','IConfigService','BOARDS_THREAD_COMMENT_UI_PLUGIN_CONFIG_KEY','getState','_themeService','UniverInstanceType','getColorFromTheme','add','useDependency','_panelService','top-right-before-history','_listenToolSwitch','3743632pZzjEb','getComment','1264323ziZesV','ContextMenuGroup','commentUpdate$','UniverBoardsThreadCommentUIPlugin','catch','OpenBoardCommentPanelOperation','@univerjs-pro/boards-thread-comment-ui','registerCommand','getRealBound','yellow.400','context','_onPointerDown','_getDependencies','object','getMenuHiddenObservable','ELEMENT','name','UniverRenderEnginePlugin','_config','left','element','UniverBoardsThreadCommentPlugin','DependentOn','getCurrentUnitOfType','length','IUniverInstanceService','board.operation.open-comment-panel','130760QnsWUJ','hitTestBoardElementAtPoint','scene','addObject','overlay','toDisposable','OPERATION','white','UniverThreadCommentUIPlugin','_getColors','ThreadCommentPanelService','IBoardElementService','setActiveTool','symbol','auxiliary','button','elementId','packageName','Disposable','startPlacement','getElementById','permissionPointUpdate$','startWith','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','width','map','getBoardPermissionValue','values','BoardModel','top','UniverBoardsMobileUIPlugin','Injector','_overlay','merge','_placeElement','UniverThreadCommentMobileUIPlugin'];_0x5189=function(){return _0x3da75f;};return _0x5189();}function g(_0x2abca5){const _0x46469a=_0x98ba8b;let _0x2c1ab1=_0x2abca5[_0x46469a(0x14d)](a['ThreadCommentPanelService']);_0x2abca5[_0x46469a(0x14d)](o[_0x46469a(0x159)])[_0x46469a(0xeb)]({'header':{'title':_0x46469a(0x78)},'children':{'label':m},'width':0x140,'onClose':()=>_0x2c1ab1[_0x46469a(0x6c)](!0x1)}),_0x2c1ab1[_0x46469a(0x6c)](!0x0);}const _={'id':_0x98ba8b(0xba),'type':n[_0x98ba8b(0x150)][_0x98ba8b(0xc1)],'handler'(_0x162ae7){return g(_0x162ae7),!0x0;}},v={'id':_0x98ba8b(0x7e),'type':n[_0x98ba8b(0x150)][_0x98ba8b(0xc1)],'handler'(_0x4b55c9){const _0x4ef8bf=_0x98ba8b;let _0x464b39=_0x4b55c9['get'](n[_0x4ef8bf(0xb9)])['getCurrentUnitOfType'](n[_0x4ef8bf(0x97)][_0x4ef8bf(0x6f)]);return!_0x464b39||!(0x0,e[_0x4ef8bf(0xd5)])(_0x4b55c9[_0x4ef8bf(0x14d)](n[_0x4ef8bf(0x7d)]),_0x464b39[_0x4ef8bf(0x111)](),_0x464b39[_0x4ef8bf(0x111)](),r[_0x4ef8bf(0xe0)][_0x4ef8bf(0x147)])?!0x1:(_0x4b55c9['get'](t[_0x4ef8bf(0x158)])[_0x4ef8bf(0xc7)](e[_0x4ef8bf(0xdf)][_0x4ef8bf(0xe5)]),_0x4b55c9[_0x4ef8bf(0x14d)](a[_0x4ef8bf(0x133)])[_0x4ef8bf(0xce)](n['UniverInstanceType'][_0x4ef8bf(0x6f)],_0x464b39[_0x4ef8bf(0x111)]()),!0x0);}},y={'id':'board.operation.add-element-comment','type':n[_0x98ba8b(0x150)][_0x98ba8b(0xc1)],'handler'(_0x54e483){const _0x321fee=_0x98ba8b;var _0x388625;let _0x1784fc=_0x54e483[_0x321fee(0x14d)](n[_0x321fee(0xb9)])['getCurrentUnitOfType'](n[_0x321fee(0x97)][_0x321fee(0x6f)]),_0x1620a5=_0x54e483[_0x321fee(0x14d)](t[_0x321fee(0x70)])[_0x321fee(0x13b)](),_0xb8f0bb=_0x1784fc==null?void 0x0:_0x1784fc['getActivePageId'](),_0x3d3322=_0x1620a5[_0x321fee(0x131)]??_0x1620a5[_0x321fee(0x143)][_0x1620a5[_0x321fee(0x143)][_0x321fee(0xb8)]-0x1];return!_0x1784fc||!_0xb8f0bb||!_0x3d3322||((_0x388625=_0x1620a5['context'])==null?void 0x0:_0x388625[_0x321fee(0x10e)])!==_0x1784fc[_0x321fee(0x111)]()||_0x1620a5[_0x321fee(0xaa)][_0x321fee(0x120)]!==_0xb8f0bb||!(0x0,e['getBoardPermissionValue'])(_0x54e483[_0x321fee(0x14d)](n['IPermissionService']),_0x1784fc[_0x321fee(0x111)](),_0x1784fc[_0x321fee(0x111)](),r[_0x321fee(0xe0)][_0x321fee(0x147)])?!0x1:(_0x54e483[_0x321fee(0x14d)](a[_0x321fee(0x133)])[_0x321fee(0x71)]({'unitId':_0x1784fc[_0x321fee(0x111)](),'subUnitId':_0xb8f0bb,'anchor':{'kind':i['ThreadCommentAnchorKind'][_0x321fee(0xf3)],'pageId':_0xb8f0bb,'elementId':_0x3d3322}}),g(_0x54e483),!0x0);}},b='boards-thread-comment-ui.config',x={};var S=_0x98ba8b(0xa6),C=_0x98ba8b(0x136);function w(){const _0xa29f40=_0x98ba8b;let _0x162676=(0x0,o[_0xa29f40(0x9a)])(n[_0xa29f40(0xb9)]),_0x5daef9=(0x0,o[_0xa29f40(0x9a)])(o['ISidebarService']),_0x3d3b78=(0x0,o[_0xa29f40(0x9a)])(n[_0xa29f40(0xf8)]),_0x2e0b82=(0x0,o['useDependency'])(a[_0xa29f40(0x133)]),_0x41f4df=(0x0,o[_0xa29f40(0x9a)])(n[_0xa29f40(0x128)]),_0x220356=(0x0,o[_0xa29f40(0x9a)])(e['IBoardElementService']),_0x44378a=_0x162676[_0xa29f40(0xb7)](n[_0xa29f40(0x97)][_0xa29f40(0x6f)]),_0x4d684a=_0x44378a instanceof e['BoardModel']?_0x44378a:void 0x0,_0x376543=(0x0,o[_0xa29f40(0x9a)])(n[_0xa29f40(0x7d)]);(0x0,o['useObservable'])(()=>_0x376543[_0xa29f40(0xd0)],void 0x0,!0x1,[_0x376543]);let _0xc1cc62=(0x0,o['useObservable'])(_0x2e0b82[_0xa29f40(0x8b)],_0x2e0b82[_0xa29f40(0x89)]),_0x2a4152=(0x0,d['useMemo'])(()=>(0x0,f['of'])(_0x4d684a==null?void 0x0:_0x4d684a[_0xa29f40(0x102)]()),[_0x4d684a]),_0xa62ce6=_0xc1cc62&&_0xc1cc62['unitId']===(_0x4d684a==null?void 0x0:_0x4d684a[_0xa29f40(0x111)]())?{'id':'','threadId':'','unitId':_0xc1cc62[_0xa29f40(0x10e)],'subUnitId':_0xc1cc62[_0xa29f40(0x120)],'ref':(0x0,i[_0xa29f40(0xf9)])(_0xc1cc62[_0xa29f40(0x80)]),'dT':'','personId':_0x41f4df['getCurrentUser']()['userID'],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x4d684a)return null;let _0x7aff50=!(0x0,e[_0xa29f40(0xd5)])(_0x376543,_0x4d684a[_0xa29f40(0x111)](),_0x4d684a[_0xa29f40(0x111)](),r[_0xa29f40(0xe0)]['Comment']);return(0x0,p['jsx'])(a['MobileThreadCommentPanel'],{'unitId':_0x4d684a[_0xa29f40(0x111)](),'subUnitId$':_0x2a4152,'type':n[_0xa29f40(0x97)][_0xa29f40(0x6f)],'onAdd':()=>(_0x5daef9[_0xa29f40(0x106)](),_0x3d3b78['executeCommand'](v['id'])),'disableAdd':_0x7aff50,'getSubUnitName':_0x43e699=>{const _0x430fa1=_0xa29f40;var _0x2c5516;return((_0x2c5516=_0x4d684a[_0x430fa1(0x135)](_0x43e699))==null?void 0x0:_0x2c5516[_0x430fa1(0xb0)])??_0x43e699;},'tempComment':_0xa62ce6,'onTempCommentClose':()=>_0x2e0b82[_0xa29f40(0x137)](),'formatRef':_0x2cfecf=>T(_0x2cfecf,_0x220356)});}function T(_0x1832cd,_0x76d877){const _0x523b85=_0x98ba8b;let _0x515ab9=(0x0,i[_0x523b85(0x139)])(_0x1832cd[_0x523b85(0x130)]);if((_0x515ab9==null?void 0x0:_0x515ab9['kind'])===i[_0x523b85(0x6b)][_0x523b85(0xf3)]){var _0xf9077;let _0x283dd4=_0x76d877[_0x523b85(0xcf)](_0x1832cd[_0x523b85(0x10e)],_0x515ab9['pageId']??_0x1832cd[_0x523b85(0x120)],_0x515ab9['elementId']);return(_0x283dd4==null||(_0xf9077=_0x283dd4[_0x523b85(0xb4)][_0x523b85(0xb0)])==null?void 0x0:_0xf9077[_0x523b85(0x140)]())||_0x515ab9[_0x523b85(0xcb)];}return(_0x515ab9==null?void 0x0:_0x515ab9[_0x523b85(0xfa)])===i['ThreadCommentAnchorKind'][_0x523b85(0x14e)]?'('+Math[_0x523b85(0x7c)](_0x515ab9['x'])+',\x20'+Math[_0x523b85(0x7c)](_0x515ab9['y'])+')':_0x1832cd[_0x523b85(0x130)];}function E(_0x2dabd4,_0x5e2250){return function(_0x157091,_0x1642dc){_0x5e2250(_0x157091,_0x1642dc,_0x2dabd4);};}function D(_0x3ab684,_0x42f179,_0x44f75b,_0x295399){const _0x469ec8=_0x98ba8b;var _0x189ce5=arguments['length'],_0x3b8bb0=_0x189ce5<0x3?_0x42f179:_0x295399===null?_0x295399=Object[_0x469ec8(0x155)](_0x42f179,_0x44f75b):_0x295399,_0x10ecc8;if(typeof Reflect==_0x469ec8(0xad)&&typeof Reflect[_0x469ec8(0x10f)]==_0x469ec8(0x110))_0x3b8bb0=Reflect[_0x469ec8(0x10f)](_0x3ab684,_0x42f179,_0x44f75b,_0x295399);else{for(var _0x26b7b9=_0x3ab684[_0x469ec8(0xb8)]-0x1;_0x26b7b9>=0x0;_0x26b7b9--)(_0x10ecc8=_0x3ab684[_0x26b7b9])&&(_0x3b8bb0=(_0x189ce5<0x3?_0x10ecc8(_0x3b8bb0):_0x189ce5>0x3?_0x10ecc8(_0x42f179,_0x44f75b,_0x3b8bb0):_0x10ecc8(_0x42f179,_0x44f75b))||_0x3b8bb0);}return _0x189ce5>0x3&&_0x3b8bb0&&Object[_0x469ec8(0x91)](_0x42f179,_0x44f75b,_0x3b8bb0),_0x3b8bb0;}let O=class extends n[_0x98ba8b(0xcd)]{constructor(_0x468c60,_0x3b9f22){const _0x4a01d2=_0x98ba8b;super(),this[_0x4a01d2(0x152)]=_0x468c60,this[_0x4a01d2(0x149)]=_0x3b9f22,this[_0x4a01d2(0x7a)](),this[_0x4a01d2(0xea)]();}['_registerIcons'](){const _0xe2a5f1=_0x98ba8b;this[_0xe2a5f1(0xfc)](this[_0xe2a5f1(0x149)][_0xe2a5f1(0x73)]({'InsertCommentDoubleIcon':u[_0xe2a5f1(0x7f)]}));}[_0x98ba8b(0xea)](){const _0x45c196=_0x98ba8b;this[_0x45c196(0xfc)](this[_0x45c196(0x152)][_0x45c196(0x73)](m,w));}};O=D([E(0x0,(0x0,n[_0x98ba8b(0x122)])(o[_0x98ba8b(0x6d)])),E(0x1,(0x0,n[_0x98ba8b(0x122)])(o[_0x98ba8b(0x144)]))],O);function k(_0x38473c,_0x8fcaf9,_0x526a34){const _0x10728c=_0x98ba8b;let _0x4c8446=Number[_0x10728c(0x134)](_0x526a34[_0x10728c(0xec)])&&_0x526a34[_0x10728c(0xec)]>0x0?_0x526a34[_0x10728c(0xec)]:0x1;return{'x':(_0x38473c-_0x526a34[_0x10728c(0x15b)]['x'])/_0x4c8446,'y':(_0x8fcaf9-_0x526a34['viewportPanOffset']['y'])/_0x4c8446};}function A(_0x32c718){'@babel/helpers - typeof';const _0x3370d7=_0x98ba8b;return A=typeof Symbol==_0x3370d7(0x110)&&typeof Symbol[_0x3370d7(0x151)]==_0x3370d7(0xc8)?function(_0x4ada6a){return typeof _0x4ada6a;}:function(_0x49b86b){const _0x451718=_0x3370d7;return _0x49b86b&&typeof Symbol==_0x451718(0x110)&&_0x49b86b[_0x451718(0x146)]===Symbol&&_0x49b86b!==Symbol[_0x451718(0x11e)]?_0x451718(0xc8):typeof _0x49b86b;},A(_0x32c718);}function j(_0x1ce096,_0x659b9c){const _0x3c72a5=_0x98ba8b;if(A(_0x1ce096)!='object'||!_0x1ce096)return _0x1ce096;var _0x44ba00=_0x1ce096[Symbol[_0x3c72a5(0x11d)]];if(_0x44ba00!==void 0x0){var _0x31ba20=_0x44ba00['call'](_0x1ce096,_0x659b9c||'default');if(A(_0x31ba20)!=_0x3c72a5(0xad))return _0x31ba20;throw TypeError(_0x3c72a5(0xd2));}return(_0x659b9c===_0x3c72a5(0xe9)?String:Number)(_0x1ce096);}function M(_0x3bb20){const _0x3105d3=_0x98ba8b;var _0x101a9d=j(_0x3bb20,_0x3105d3(0xe9));return A(_0x101a9d)==_0x3105d3(0xc8)?_0x101a9d:_0x101a9d+'';}function N(_0x245db6,_0x5252b5,_0x495bfa){const _0x2dc783=_0x98ba8b;return(_0x5252b5=M(_0x5252b5))in _0x245db6?Object[_0x2dc783(0x91)](_0x245db6,_0x5252b5,{'value':_0x495bfa,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x245db6[_0x5252b5]=_0x495bfa,_0x245db6;}function P(_0x2a3125){const _0x562db2=_0x98ba8b;let _0x8dd2cb=new Map();return _0x2a3125[_0x562db2(0x121)](_0x287890=>{const _0x8f6f97=_0x562db2;let _0x383c16=_0x287890['x']+'\x00'+_0x287890['y'],_0x32fafd=_0x8dd2cb['get'](_0x383c16);if(_0x32fafd){_0x32fafd[_0x8f6f97(0x8f)]=_0x287890['commentId'],_0x32fafd[_0x8f6f97(0xe6)][_0x8f6f97(0xed)](_0x287890[_0x8f6f97(0x8f)]),_0x32fafd[_0x8f6f97(0x12b)]+=0x1;return;}_0x8dd2cb['set'](_0x383c16,{..._0x287890,'commentIds':[_0x287890[_0x8f6f97(0x8f)]],'count':0x1});}),Array[_0x562db2(0xfe)](_0x8dd2cb[_0x562db2(0xd6)]());}let F=class extends n[_0x98ba8b(0x12f)]{constructor(_0x13fa17,_0x142d72,_0x47fcd9,_0xc83325,_0x53a8bd,_0x301bd6,_0x383d21,_0x2dfeac,_0x22cf33,_0x2bb035){const _0x476a87=_0x98ba8b;super(),this[_0x476a87(0x7b)]=_0x13fa17,this[_0x476a87(0x11c)]=_0x142d72,this[_0x476a87(0x13c)]=_0x47fcd9,this[_0x476a87(0x85)]=_0xc83325,this[_0x476a87(0x154)]=_0x53a8bd,this[_0x476a87(0x77)]=_0x301bd6,this[_0x476a87(0x113)]=_0x383d21,this['_commentModel']=_0x2dfeac,this[_0x476a87(0x9b)]=_0x22cf33,this[_0x476a87(0x96)]=_0x2bb035,N(this,_0x476a87(0xdb),void 0x0),this[_0x476a87(0xdb)]=new a[(_0x476a87(0x10a))](_0x476a87(0x86),{...this[_0x476a87(0xc4)](),'zoomRatio':0x1,'markers':[],'underlines':[]}),this['_overlay']['zIndex']=t['BOARD_RENDER_OBJECT_Z_INDEX'][_0x476a87(0x74)]+0x1,this[_0x476a87(0x7b)][_0x476a87(0xbd)][_0x476a87(0xbe)](this['_overlay'],t[_0x476a87(0xe7)][_0x476a87(0xbf)]),this[_0x476a87(0xfc)]((0x0,n['toDisposable'])(this['_overlay'][_0x476a87(0x125)][_0x476a87(0x6e)]((_0x171b7b,_0x16c726)=>this[_0x476a87(0xe1)](_0x16c726)))),this[_0x476a87(0xfc)]((0x0,n[_0x476a87(0xc0)])(this[_0x476a87(0xdb)]['onPointerLeave$'][_0x476a87(0x6e)](()=>this[_0x476a87(0xdb)][_0x476a87(0x148)]()))),this['disposeWithMe']((0x0,n['toDisposable'])(this['_renderContext'][_0x476a87(0xbd)][_0x476a87(0x125)][_0x476a87(0x6e)]((_0x4de04f,_0x28b5c2)=>this[_0x476a87(0xab)](_0x4de04f,_0x28b5c2)))),this[_0x476a87(0xfc)]((0x0,n[_0x476a87(0xc0)])(this['_renderContext']['scene']['onPointerMove$'][_0x476a87(0x6e)](_0x526e9c=>this['_onPointerMove'](_0x526e9c)))),this[_0x476a87(0xfc)]((0x0,n[_0x476a87(0xc0)])(this['_elementStateService']['state$'][_0x476a87(0x11a)]((0x0,f[_0x476a87(0x82)])(),(0x0,f[_0x476a87(0xfb)])(this[_0x476a87(0xfd)]))['subscribe'](([_0x2f6329,_0x22b947])=>{const _0x173df4=_0x476a87;var _0x86011a;this[_0x173df4(0x113)][_0x173df4(0xe8)]===n[_0x173df4(0x97)][_0x173df4(0x6f)]&&_0x22b947[_0x173df4(0x131)]&&_0x22b947[_0x173df4(0xaa)]&&(_0x2f6329[_0x173df4(0x131)]!==_0x22b947[_0x173df4(0x131)]||((_0x86011a=_0x2f6329[_0x173df4(0xaa)])==null?void 0x0:_0x86011a['unitId'])!==_0x22b947[_0x173df4(0xaa)][_0x173df4(0x10e)]||_0x2f6329['context'][_0x173df4(0x120)]!==_0x22b947[_0x173df4(0xaa)][_0x173df4(0x120)])&&this[_0x173df4(0xdd)](_0x22b947[_0x173df4(0xaa)][_0x173df4(0x10e)],_0x22b947['context'][_0x173df4(0x120)],_0x22b947[_0x173df4(0x131)]);}))),this[_0x476a87(0xfc)](this[_0x476a87(0x12c)][_0x476a87(0xa2)][_0x476a87(0x11a)]((0x0,f[_0x476a87(0xfb)])(this[_0x476a87(0xfd)]))[_0x476a87(0x132)](_0x393709=>{const _0x465125=_0x476a87;_0x393709[_0x465125(0x10e)]===this[_0x465125(0x7b)]['unitId']&&this[_0x465125(0x14b)]();})),[this[_0x476a87(0x9b)]['activeCommentId$'],this[_0x476a87(0x9b)][_0x476a87(0x124)]]['forEach'](_0x267114=>{const _0x4dc59a=_0x476a87;this[_0x4dc59a(0xfc)](_0x267114['pipe']((0x0,f[_0x4dc59a(0xfb)])(this[_0x4dc59a(0xfd)]))['subscribe'](()=>this[_0x4dc59a(0x14b)]()));}),[this[_0x476a87(0x85)][_0x476a87(0x114)],this[_0x476a87(0x85)][_0x476a87(0x103)],this[_0x476a87(0x85)]['elementRemove$']][_0x476a87(0x121)](_0x4165f3=>{const _0x5d8d70=_0x476a87;this[_0x5d8d70(0xfc)](_0x4165f3[_0x5d8d70(0x11a)]((0x0,f[_0x5d8d70(0xfb)])(this[_0x5d8d70(0xfd)]))[_0x5d8d70(0x132)](_0x5c17ea=>{const _0x4ff12b=_0x5d8d70;_0x5c17ea[_0x4ff12b(0x123)](_0x1519e2=>_0x1519e2['unitId']===this[_0x4ff12b(0x7b)][_0x4ff12b(0x10e)])&&this['_syncOverlay']();}));}),this[_0x476a87(0xfc)](this[_0x476a87(0x77)][_0x476a87(0x8d)][_0x476a87(0x11a)]((0x0,f[_0x476a87(0x13d)])((_0x94155c,_0x2e1e2a)=>_0x94155c[_0x476a87(0xec)]===_0x2e1e2a[_0x476a87(0xec)]),(0x0,f[_0x476a87(0xfb)])(this[_0x476a87(0xfd)]))['subscribe'](()=>this[_0x476a87(0x14b)]())),this['_listenToolSwitch'](),this[_0x476a87(0xfc)](this[_0x476a87(0x113)][_0x476a87(0x14a)][_0x476a87(0x11a)]((0x0,f[_0x476a87(0xfb)])(this[_0x476a87(0xfd)]))[_0x476a87(0x132)](_0x5e023c=>{const _0x1c5595=_0x476a87;_0x5e023c!==n[_0x1c5595(0x97)][_0x1c5595(0x6f)]&&this[_0x1c5595(0xdb)][_0x1c5595(0x10d)]({'previewMarker':null,'previewUnderline':null});})),this[_0x476a87(0xfc)](this[_0x476a87(0x96)][_0x476a87(0x115)][_0x476a87(0x11a)]((0x0,f[_0x476a87(0xfb)])(this[_0x476a87(0xfd)]))[_0x476a87(0x132)](()=>this[_0x476a87(0x14b)]())),this[_0x476a87(0x14b)]();}[_0x98ba8b(0x9d)](){const _0x20daf6=_0x98ba8b;this[_0x20daf6(0xfc)](this[_0x20daf6(0x77)][_0x20daf6(0x8d)][_0x20daf6(0x11a)]((0x0,f['map'])(_0xd5ee44=>_0xd5ee44[_0x20daf6(0x79)]),(0x0,f[_0x20daf6(0x13d)])(),(0x0,f[_0x20daf6(0x82)])(),(0x0,f[_0x20daf6(0xfb)])(this[_0x20daf6(0xfd)]))[_0x20daf6(0x132)](()=>{const _0x504396=_0x20daf6;this[_0x504396(0x113)][_0x504396(0xe8)]===n[_0x504396(0x97)][_0x504396(0x6f)]&&this[_0x504396(0x113)][_0x504396(0x137)]();}));}[_0x98ba8b(0xdd)](_0xce954b,_0x3a024e,_0x1833b6){const _0x3fad64=_0x98ba8b;_0xce954b===this[_0x3fad64(0x7b)]['unitId']&&(this[_0x3fad64(0x113)]['place']({'unitId':_0xce954b,'subUnitId':_0x3a024e,'anchor':{'kind':i[_0x3fad64(0x6b)][_0x3fad64(0xf3)],'pageId':_0x3a024e,'elementId':_0x1833b6}}),this[_0x3fad64(0xdb)]['updateState']({'previewMarker':null,'previewUnderline':null}),this['_commandService'][_0x3fad64(0x119)](_['id'])[_0x3fad64(0xa4)](()=>void 0x0));}[_0x98ba8b(0xab)](_0x7b0db1,_0x3c2ef1){const _0xa9440e=_0x98ba8b;if(this[_0xa9440e(0x113)][_0xa9440e(0xe8)]!==n[_0xa9440e(0x97)][_0xa9440e(0x6f)]||(_0x7b0db1[_0xa9440e(0xca)]??0x0)!==0x0)return;let _0x19ca78=this[_0xa9440e(0x101)]();if(!_0x19ca78){this[_0xa9440e(0x113)][_0xa9440e(0x137)]();return;}let _0x11110b=_0x19ca78[_0xa9440e(0x102)](),_0x4d6886=this['_toBoardPoint'](_0x7b0db1['offsetX'],_0x7b0db1['offsetY']),_0x515221=this['_hitTest'](_0x19ca78,_0x11110b,_0x4d6886);this[_0xa9440e(0x113)][_0xa9440e(0x71)]({'unitId':_0x19ca78[_0xa9440e(0x111)](),'subUnitId':_0x11110b,'anchor':_0x515221?{'kind':i[_0xa9440e(0x6b)][_0xa9440e(0xf3)],'pageId':_0x11110b,'elementId':_0x515221[_0xa9440e(0xcb)]}:{'kind':i['ThreadCommentAnchorKind'][_0xa9440e(0x14e)],'pageId':_0x11110b,..._0x4d6886}}),this[_0xa9440e(0xdb)][_0xa9440e(0x10d)]({'previewMarker':null,'previewUnderline':null}),_0x3c2ef1['stopPropagation'](),this[_0xa9440e(0x11c)][_0xa9440e(0x119)](_['id'])[_0xa9440e(0xa4)](()=>void 0x0);}['_onPointerMove'](_0x19b946){const _0x275f63=_0x98ba8b;if(this['_draftService'][_0x275f63(0xe8)]!==n[_0x275f63(0x97)][_0x275f63(0x6f)])return;let _0x538ca3=this[_0x275f63(0x101)]();if(!_0x538ca3)return;let _0x1eb147=_0x538ca3[_0x275f63(0x102)](),_0x4cdd92=this[_0x275f63(0x138)](_0x19b946[_0x275f63(0x129)],_0x19b946[_0x275f63(0x12a)]),_0x368d6c=this['_hitTest'](_0x538ca3,_0x1eb147,_0x4cdd92),_0xa145a3=_0x368d6c?this['_getElementUnderline'](_0x368d6c[_0x275f63(0xcb)]):null;if(_0xa145a3){this['_overlay'][_0x275f63(0x10d)]({'previewMarker':_0x4cdd92,'previewUnderline':_0xa145a3});return;}this[_0x275f63(0xdb)][_0x275f63(0x10d)]({'previewMarker':_0x4cdd92,'previewUnderline':null});}[_0x98ba8b(0xe1)](_0x510b2a){const _0x94483f=_0x98ba8b;let _0x28d48d=this[_0x94483f(0x101)](),_0x233ea8=this[_0x94483f(0xdb)][_0x94483f(0x12e)];_0x28d48d&&_0x233ea8&&(this[_0x94483f(0x9b)][_0x94483f(0x10b)]({'unitId':_0x28d48d[_0x94483f(0x111)](),'subUnitId':_0x28d48d[_0x94483f(0x102)](),'commentId':_0x233ea8,'trigger':_0x94483f(0xee)}),_0x510b2a[_0x94483f(0xff)](),this['_commandService'][_0x94483f(0x119)](_['id'])[_0x94483f(0xa4)](()=>void 0x0));}[_0x98ba8b(0x14b)](){const _0x5bbaea=_0x98ba8b;let _0x391428=this['_getModel']();if(!_0x391428){this[_0x5bbaea(0xdb)][_0x5bbaea(0x10d)]({'markers':[],'underlines':[],'focusedCommentIds':[],'focusOutlines':[]});return;}let _0x2ac39f=_0x391428[_0x5bbaea(0x102)](),_0x7b94d4=[],_0x437c68=new Map();this[_0x5bbaea(0x12c)]['query']({'unitIds':[_0x391428['getUnitId']()],'subUnitIds':[_0x2ac39f],'anchorKinds':[i[_0x5bbaea(0x6b)][_0x5bbaea(0xf3)],i['ThreadCommentAnchorKind'][_0x5bbaea(0x14e)]],'resolved':!0x1})['forEach'](({root:_0x9b9785})=>{const _0xab6436=_0x5bbaea;let _0x473a52=(0x0,i['deserializeThreadCommentAnchor'])(_0x9b9785[_0xab6436(0x130)]);if((_0x473a52==null?void 0x0:_0x473a52[_0xab6436(0xfa)])===i[_0xab6436(0x6b)]['BOARD_POSITION'])_0x7b94d4[_0xab6436(0xed)]({'commentId':_0x9b9785['id'],'x':_0x473a52['x'],'y':_0x473a52['y']});else{if((_0x473a52==null?void 0x0:_0x473a52[_0xab6436(0xfa)])===i[_0xab6436(0x6b)][_0xab6436(0xf3)]){let _0x40e3ae=this[_0xab6436(0xe3)](_0x473a52[_0xab6436(0xcb)],_0x9b9785['id']);_0x40e3ae&&_0x437c68[_0xab6436(0x10c)](_0x473a52[_0xab6436(0xcb)],_0x40e3ae);}}}),this[_0x5bbaea(0xdb)]['updateState']({...this['_getColors'](),'zoomRatio':this[_0x5bbaea(0x77)][_0x5bbaea(0x95)]()[_0x5bbaea(0xec)],'markers':P(_0x7b94d4),'underlines':Array[_0x5bbaea(0xfe)](_0x437c68[_0x5bbaea(0xd6)]()),...this['_getFocusState'](_0x391428,_0x2ac39f)});}[_0x98ba8b(0xe3)](_0x5831d0,_0x289a3b=''){const _0x1a3ce9=_0x98ba8b;let _0x407c08=this[_0x1a3ce9(0x141)](_0x5831d0);if(!_0x407c08)return null;let _0x10949f=this[_0x1a3ce9(0x77)][_0x1a3ce9(0x95)]()['zoomRatio']||0x1;return{'commentId':_0x289a3b,'left':_0x407c08[_0x1a3ce9(0xb3)],'top':_0x407c08['top']+_0x407c08['height']+0x2/_0x10949f,'width':_0x407c08[_0x1a3ce9(0xd3)]};}['_getElementOutline'](_0x5f56e1){const _0x1c9ac2=_0x98ba8b;var _0x2d324f;let _0x3d58dd=this[_0x1c9ac2(0x101)]();if(!_0x3d58dd)return null;let _0x305115=this[_0x1c9ac2(0x7b)][_0x1c9ac2(0xbd)],_0x11b0b6=(0x0,t['getBoardElementRenderObjectKey'])(_0x3d58dd[_0x1c9ac2(0x111)](),_0x5f56e1),_0x513604=_0x305115[_0x1c9ac2(0x108)](_0x11b0b6)??((_0x2d324f=_0x305115['getObjectIncludeInGroup'])==null?void 0x0:_0x2d324f[_0x1c9ac2(0xf0)](_0x305115,_0x11b0b6));if(!_0x513604)return null;let _0x189608=_0x513604[_0x1c9ac2(0xa8)]();return{'left':_0x189608['left'],'top':_0x189608[_0x1c9ac2(0xd8)],'width':_0x189608[_0x1c9ac2(0xd3)],'height':_0x189608[_0x1c9ac2(0x8c)]};}[_0x98ba8b(0x112)](_0x232672,_0x4e9924){const _0x41558d=_0x98ba8b;let _0x43adcf=[],_0x5b1d66=new Map();return[this[_0x41558d(0x9b)]['activeCommentId'],this['_panelService']['hoveredCommentId']]['forEach'](_0x2d074b=>{const _0x1329e2=_0x41558d;if(!_0x2d074b||_0x2d074b[_0x1329e2(0x10e)]!==_0x232672[_0x1329e2(0x111)]()||_0x2d074b['subUnitId']!==_0x4e9924)return;let _0x2c096e=this['_commentModel'][_0x1329e2(0x9f)](_0x2d074b[_0x1329e2(0x10e)],_0x2d074b['subUnitId'],_0x2d074b['commentId']);if(!_0x2c096e)return;_0x43adcf[_0x1329e2(0xed)](_0x2d074b[_0x1329e2(0x8f)]);let _0x258d79=(0x0,i[_0x1329e2(0x139)])(_0x2c096e['ref']);if((_0x258d79==null?void 0x0:_0x258d79[_0x1329e2(0xfa)])===i[_0x1329e2(0x6b)]['BOARD_ELEMENT']&&!_0x5b1d66[_0x1329e2(0x142)](_0x258d79[_0x1329e2(0xcb)])){let _0x21f7ef=this[_0x1329e2(0x141)](_0x258d79['elementId']);_0x21f7ef&&_0x5b1d66[_0x1329e2(0x10c)](_0x258d79[_0x1329e2(0xcb)],_0x21f7ef);}}),{'focusedCommentIds':_0x43adcf,'focusOutlines':Array[_0x41558d(0xfe)](_0x5b1d66[_0x41558d(0xd6)]())};}['_hitTest'](_0x56196a,_0x365c95,_0x1249ff){const _0xf0615c=_0x98ba8b;return(0x0,t[_0xf0615c(0xbc)])({'elementData':this[_0xf0615c(0x85)][_0xf0615c(0x14f)](_0x56196a['getUnitId'](),_0x365c95),'elementOrder':this[_0xf0615c(0x85)]['getElementOrder'](_0x56196a[_0xf0615c(0x111)](),_0x365c95),'point':_0x1249ff});}['_getColors'](){const _0x469a6e=_0x98ba8b;return{'accentColor':this[_0x469a6e(0x96)][_0x469a6e(0x98)](_0x469a6e(0xa9)),'foregroundColor':this[_0x469a6e(0x96)][_0x469a6e(0x98)](_0x469a6e(0x116)),'outlineColor':this[_0x469a6e(0x96)][_0x469a6e(0x98)](_0x469a6e(0xc2))};}[_0x98ba8b(0x101)](){const _0x3f0e28=_0x98ba8b;return this['_instanceService'][_0x3f0e28(0x127)](this[_0x3f0e28(0x7b)][_0x3f0e28(0x10e)],n[_0x3f0e28(0x97)]['UNIVER_BOARD'])??null;}[_0x98ba8b(0x138)](_0x4789ac,_0x35e806){const _0x185946=_0x98ba8b;return k(_0x4789ac,_0x35e806,this[_0x185946(0x77)]['getState']());}};F=D([E(0x1,n[_0x98ba8b(0xf8)]),E(0x2,n[_0x98ba8b(0xb9)]),E(0x3,e[_0x98ba8b(0xc6)]),E(0x4,t[_0x98ba8b(0x70)]),E(0x5,t[_0x98ba8b(0x158)]),E(0x6,(0x0,n['Inject'])(a[_0x98ba8b(0x133)])),E(0x7,(0x0,n[_0x98ba8b(0x122)])(i[_0x98ba8b(0x13e)])),E(0x8,(0x0,n[_0x98ba8b(0x122)])(a[_0x98ba8b(0xc5)])),E(0x9,(0x0,n[_0x98ba8b(0x122)])(n[_0x98ba8b(0x156)]))],F);function I(_0x5f2980){const _0x5cc6c0=_0x98ba8b;let _0x4c1ae0=_0x5f2980['get'](n['IUniverInstanceService']),_0xa009ce=_0x5f2980['get'](n[_0x5cc6c0(0x7d)]);return(0x0,f[_0x5cc6c0(0x84)])([_0x4c1ae0[_0x5cc6c0(0x118)](n['UniverInstanceType'][_0x5cc6c0(0x6f)]),_0xa009ce[_0x5cc6c0(0xd0)]['pipe']((0x0,f[_0x5cc6c0(0xd1)])(void 0x0))])[_0x5cc6c0(0x11a)]((0x0,f[_0x5cc6c0(0xd4)])(([_0x2f452])=>!_0x2f452||!(0x0,e['getBoardPermissionValue'])(_0xa009ce,_0x2f452[_0x5cc6c0(0x111)](),_0x2f452[_0x5cc6c0(0x111)](),r[_0x5cc6c0(0xe0)]['Comment'])));}function L(_0x48388d){const _0x3bd592=_0x98ba8b;return{'id':y['id'],'type':o['MenuItemType'][_0x3bd592(0x12d)],'icon':_0x3bd592(0x7f),'title':_0x3bd592(0x78),'tooltip':_0x3bd592(0x78),'hidden$':(0x0,o[_0x3bd592(0xae)])(_0x48388d,n[_0x3bd592(0x97)][_0x3bd592(0x6f)]),'disabled$':I(_0x48388d)};}const R={[t[_0x98ba8b(0x81)][_0x98ba8b(0xaf)]]:{[o[_0x98ba8b(0xa1)]['OTHERS']]:{[y['id']]:{'order':0x0,'menuItemFactory':L}}},[t[_0x98ba8b(0x81)]['SELECTION']]:{[o[_0x98ba8b(0xa1)][_0x98ba8b(0xf4)]]:{[y['id']]:{'order':0x0,'menuItemFactory':L}}},[o[_0x98ba8b(0x90)][_0x98ba8b(0x15a)]]:{[y['id']]:{'order':0xa,'menuItemFactory':L}}};function _0x2936(_0x1358d3,_0x5677d0){_0x1358d3=_0x1358d3-0x6b;const _0x51899a=_0x5189();let _0x29368a=_0x51899a[_0x1358d3];return _0x29368a;}let z=class extends n[_0x98ba8b(0xcd)]{constructor(_0x4e0ee2,_0x235032,_0x4eb46a,_0x27e2ac,_0x483251,_0x4c103d){const _0x101977=_0x98ba8b;super(),[y,_,v][_0x101977(0x121)](_0x32a631=>this['disposeWithMe'](_0x4e0ee2[_0x101977(0xa7)](_0x32a631))),_0x235032['mergeMenu'](R),this[_0x101977(0xfc)](_0x4eb46a[_0x101977(0x73)]({'id':'boards-thread-comment-ui.view-selection.add-comment','icon':u[_0x101977(0x105)],'label':()=>_0x27e2ac['t'](_0x101977(0x78)),'order':0x64,'group':_0x101977(0xc9),'placement':'view-selection','enabled':()=>{const _0x297adb=_0x101977;let _0x2ebb95=_0x4c103d[_0x297adb(0xb7)](n[_0x297adb(0x97)][_0x297adb(0x6f)]);return!!_0x2ebb95&&(0x0,e['getBoardPermissionValue'])(_0x483251,_0x2ebb95['getUnitId'](),_0x2ebb95[_0x297adb(0x111)](),r['UnitAction']['Comment']);},'onClick':async _0x28f3e0=>{const _0x1622f5=_0x101977;await _0x28f3e0[_0x1622f5(0x119)](y['id']);}})),this[_0x101977(0xfc)](_0x4eb46a['register']({'id':'boards-thread-comment-ui.top-right.open-comments','availableInViewing':!0x0,'icon':u[_0x101977(0x105)],'label':()=>_0x27e2ac['t']('boards-thread-comment-ui.openComments'),'order':0x64,'group':_0x101977(0xc9),'placement':_0x101977(0x9c),'menuItemId':_['id'],'onClick':async _0x53122b=>{const _0x37be55=_0x101977;await _0x53122b[_0x37be55(0x119)](_['id']);}})),this['disposeWithMe'](_0x4eb46a[_0x101977(0x73)]({'id':'boards-thread-comment-ui.toolbar.add-comment','availableInViewing':!0x0,'icon':u[_0x101977(0x7f)],'label':()=>_0x27e2ac['t'](_0x101977(0x78)),'order':0x64,'group':_0x101977(0xc9),'menuItemId':v['id'],'enabled':()=>{const _0x174a4=_0x101977;let _0x2832d1=_0x4c103d[_0x174a4(0xb7)](n['UniverInstanceType'][_0x174a4(0x6f)]);return!!_0x2832d1&&(0x0,e['getBoardPermissionValue'])(_0x483251,_0x2832d1[_0x174a4(0x111)](),_0x2832d1[_0x174a4(0x111)](),r[_0x174a4(0xe0)][_0x174a4(0x147)]);},'onClick':async _0x28ed34=>{await _0x28ed34['executeCommand'](v['id']);}}));}};z=D([E(0x0,n[_0x98ba8b(0xf8)]),E(0x1,o[_0x98ba8b(0x117)]),E(0x2,(0x0,n[_0x98ba8b(0x122)])(t[_0x98ba8b(0x11f)])),E(0x3,(0x0,n[_0x98ba8b(0x122)])(n['LocaleService'])),E(0x4,n[_0x98ba8b(0x7d)]),E(0x5,n[_0x98ba8b(0xb9)])],z);let B=class extends n[_0x98ba8b(0x126)]{constructor(_0x301eeb=x,_0x144c43,_0x3bfd12,_0x212a5d){const _0x4d25a1=_0x98ba8b;super(),this[_0x4d25a1(0xb2)]=_0x301eeb,this[_0x4d25a1(0x109)]=_0x144c43,this[_0x4d25a1(0x13f)]=_0x3bfd12,this[_0x4d25a1(0x14c)]=_0x212a5d;let {..._0x168f8f}=(0x0,n[_0x4d25a1(0xdc)])({},x,this[_0x4d25a1(0xb2)]);this[_0x4d25a1(0x13f)]['setConfig'](b,_0x168f8f);}[_0x98ba8b(0xf5)](){const _0x87df33=_0x98ba8b;[[O],[z]][_0x87df33(0x121)](_0x482bbd=>this[_0x87df33(0x109)]['add'](_0x482bbd)),this['_injector'][_0x87df33(0x14d)](O);}[_0x98ba8b(0x75)](){const _0x412d00=_0x98ba8b;this['disposeWithMe'](this['_renderManagerService'][_0x412d00(0x76)](n['UniverInstanceType'][_0x412d00(0x6f)],[F])),this[_0x412d00(0x109)][_0x412d00(0x14d)](z);}};N(B,_0x98ba8b(0xf6),h),N(B,'packageName',S),N(B,_0x98ba8b(0x13a),C),N(B,_0x98ba8b(0xe2),n[_0x98ba8b(0x97)][_0x98ba8b(0x6f)]),B=D([(0x0,n[_0x98ba8b(0xb6)])(e[_0x98ba8b(0x157)],c[_0x98ba8b(0x104)],s[_0x98ba8b(0xb5)],t[_0x98ba8b(0xd9)],l[_0x98ba8b(0xb1)],a[_0x98ba8b(0xde)]),E(0x1,(0x0,n[_0x98ba8b(0x122)])(n[_0x98ba8b(0xda)])),E(0x2,n[_0x98ba8b(0x93)]),E(0x3,l['IRenderManagerService'])],B);function V(){const _0x26c926=_0x98ba8b;let _0x1ab9d2=(0x0,o[_0x26c926(0x9a)])(n[_0x26c926(0xb9)]),_0x5c8788=(0x0,o['useDependency'])(n[_0x26c926(0xf8)]),_0x36dc3f=(0x0,o[_0x26c926(0x9a)])(a[_0x26c926(0x133)]),_0x30fde7=(0x0,o[_0x26c926(0x9a)])(n[_0x26c926(0x128)]),_0x5f54f4=(0x0,o['useDependency'])(e['IBoardElementService']),_0x4a1ca7=_0x1ab9d2[_0x26c926(0xb7)](n[_0x26c926(0x97)]['UNIVER_BOARD']),_0x2f6256=_0x4a1ca7 instanceof e[_0x26c926(0xd7)]?_0x4a1ca7:void 0x0,_0x5e4940=(0x0,o[_0x26c926(0x9a)])(n[_0x26c926(0x7d)]);(0x0,o['useObservable'])(()=>_0x5e4940['permissionPointUpdate$'],void 0x0,!0x1,[_0x5e4940]);let _0x3e6db6=(0x0,o[_0x26c926(0xf7)])(_0x36dc3f[_0x26c926(0x8b)],_0x36dc3f[_0x26c926(0x89)]),_0x6b0b0c=(0x0,d[_0x26c926(0x100)])(()=>(0x0,f['of'])(_0x2f6256==null?void 0x0:_0x2f6256[_0x26c926(0x102)]()),[_0x2f6256]),_0x204623=_0x3e6db6&&_0x3e6db6[_0x26c926(0x10e)]===(_0x2f6256==null?void 0x0:_0x2f6256[_0x26c926(0x111)]())?{'id':'','threadId':'','unitId':_0x3e6db6['unitId'],'subUnitId':_0x3e6db6[_0x26c926(0x120)],'ref':(0x0,i[_0x26c926(0xf9)])(_0x3e6db6[_0x26c926(0x80)]),'dT':'','personId':_0x30fde7[_0x26c926(0xe4)]()[_0x26c926(0x145)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x2f6256)return null;let _0x43766a=!(0x0,e['getBoardPermissionValue'])(_0x5e4940,_0x2f6256[_0x26c926(0x111)](),_0x2f6256[_0x26c926(0x111)](),r[_0x26c926(0xe0)][_0x26c926(0x147)]);return(0x0,p[_0x26c926(0x88)])(a[_0x26c926(0xef)],{'unitId':_0x2f6256['getUnitId'](),'subUnitId$':_0x6b0b0c,'type':n['UniverInstanceType']['UNIVER_BOARD'],'onAdd':()=>_0x5c8788[_0x26c926(0x119)](v['id']),'disableAdd':_0x43766a,'getSubUnitName':_0x301a20=>{const _0x8f5b9=_0x26c926;var _0x496943;return((_0x496943=_0x2f6256[_0x8f5b9(0x135)](_0x301a20))==null?void 0x0:_0x496943['name'])??_0x301a20;},'tempComment':_0x204623,'onTempCommentClose':()=>_0x36dc3f[_0x26c926(0x137)](),'formatRef':_0x3a5bf7=>H(_0x3a5bf7,_0x5f54f4)});}function H(_0x17180b,_0x184af1){const _0x34fa93=_0x98ba8b;let _0x13fe81=(0x0,i[_0x34fa93(0x139)])(_0x17180b[_0x34fa93(0x130)]);if((_0x13fe81==null?void 0x0:_0x13fe81[_0x34fa93(0xfa)])===i[_0x34fa93(0x6b)][_0x34fa93(0xf3)]){var _0x14dc7c;let _0x236e2f=_0x184af1[_0x34fa93(0xcf)](_0x17180b[_0x34fa93(0x10e)],_0x13fe81['pageId']??_0x17180b['subUnitId'],_0x13fe81[_0x34fa93(0xcb)]);return(_0x236e2f==null||(_0x14dc7c=_0x236e2f[_0x34fa93(0xb4)][_0x34fa93(0xb0)])==null?void 0x0:_0x14dc7c[_0x34fa93(0x140)]())||_0x13fe81[_0x34fa93(0xcb)];}return(_0x13fe81==null?void 0x0:_0x13fe81[_0x34fa93(0xfa)])===i[_0x34fa93(0x6b)][_0x34fa93(0x14e)]?'('+Math[_0x34fa93(0x7c)](_0x13fe81['x'])+',\x20'+Math[_0x34fa93(0x7c)](_0x13fe81['y'])+')':_0x17180b[_0x34fa93(0x130)];}let U=class extends n[_0x98ba8b(0xcd)]{constructor(_0x4e160b,_0xde1fce){const _0x5b98fd=_0x98ba8b;super(),this[_0x5b98fd(0x152)]=_0x4e160b,this[_0x5b98fd(0x149)]=_0xde1fce,this['_registerIcons'](),this[_0x5b98fd(0xea)]();}['_registerIcons'](){const _0x18ea10=_0x98ba8b;this[_0x18ea10(0xfc)](this[_0x18ea10(0x149)][_0x18ea10(0x73)]({'InsertCommentDoubleIcon':u[_0x18ea10(0x7f)]}));}[_0x98ba8b(0xea)](){const _0x430762=_0x98ba8b;this[_0x430762(0xfc)](this[_0x430762(0x152)][_0x430762(0x73)](m,V));}};U=D([E(0x0,(0x0,n[_0x98ba8b(0x122)])(o['ComponentManager'])),E(0x1,(0x0,n['Inject'])(o['IconManager']))],U);const W=[[U],[z]];let G=class extends n['Plugin']{constructor(_0x5bd9a5=x,_0x49cf2e,_0x28442a,_0x57abed){const _0x9629fa=_0x98ba8b;super(),this[_0x9629fa(0xb2)]=_0x5bd9a5,this[_0x9629fa(0x109)]=_0x49cf2e,this[_0x9629fa(0x13f)]=_0x28442a,this[_0x9629fa(0x14c)]=_0x57abed;let {..._0x2f85cf}=(0x0,n[_0x9629fa(0xdc)])({},x,this[_0x9629fa(0xb2)]);this[_0x9629fa(0x13f)][_0x9629fa(0x83)](b,_0x2f85cf);}[_0x98ba8b(0xf5)](){const _0x51fe58=_0x98ba8b;this[_0x51fe58(0xac)]()[_0x51fe58(0x121)](_0x4ca3c1=>{const _0xab8f2f=_0x51fe58;this[_0xab8f2f(0x109)][_0xab8f2f(0x99)](_0x4ca3c1);}),this[_0x51fe58(0x109)][_0x51fe58(0x14d)](U);}[_0x98ba8b(0xac)](){return W;}[_0x98ba8b(0x75)](){const _0x229df5=_0x98ba8b;this[_0x229df5(0xfc)](this[_0x229df5(0x14c)][_0x229df5(0x76)](n[_0x229df5(0x97)][_0x229df5(0x6f)],[F])),this[_0x229df5(0x109)]['get'](z);}};N(G,_0x98ba8b(0xf6),h),N(G,_0x98ba8b(0xcc),S),N(G,_0x98ba8b(0x13a),C),N(G,_0x98ba8b(0xe2),n['UniverInstanceType'][_0x98ba8b(0x6f)]),G=D([(0x0,n['DependentOn'])(e[_0x98ba8b(0x157)],s[_0x98ba8b(0xb5)],t[_0x98ba8b(0xf2)],c[_0x98ba8b(0x104)],l[_0x98ba8b(0xb1)],a[_0x98ba8b(0xc3)]),E(0x1,(0x0,n[_0x98ba8b(0x122)])(n[_0x98ba8b(0xda)])),E(0x2,n['IConfigService']),E(0x3,l[_0x98ba8b(0xf1)])],G),exports[_0x98ba8b(0x94)]=b,exports[_0x98ba8b(0xa5)]=_,exports[_0x98ba8b(0x153)]=v,Object[_0x98ba8b(0x91)](exports,'UniverBoardsThreadCommentMobileUIPlugin',{'enumerable':!0x0,'get':function(){return B;}}),Object[_0x98ba8b(0x91)](exports,_0x98ba8b(0xa3),{'enumerable':!0x0,'get':function(){return G;}});
|
|
1
|
+
const _0x439363=_0x3e45;(function(_0x2267e8,_0x7c0875){const _0x5c8337=_0x3e45,_0x20c1e8=_0x2267e8();while(!![]){try{const _0x821113=-parseInt(_0x5c8337(0x172))/0x1*(-parseInt(_0x5c8337(0x1c5))/0x2)+parseInt(_0x5c8337(0x1d1))/0x3*(parseInt(_0x5c8337(0x1c4))/0x4)+parseInt(_0x5c8337(0x200))/0x5*(-parseInt(_0x5c8337(0x1b7))/0x6)+-parseInt(_0x5c8337(0x1ae))/0x7+parseInt(_0x5c8337(0x204))/0x8*(-parseInt(_0x5c8337(0x1f0))/0x9)+-parseInt(_0x5c8337(0x1cc))/0xa*(parseInt(_0x5c8337(0x18a))/0xb)+-parseInt(_0x5c8337(0x1d2))/0xc*(-parseInt(_0x5c8337(0x192))/0xd);if(_0x821113===_0x7c0875)break;else _0x20c1e8['push'](_0x20c1e8['shift']());}catch(_0x4111b4){_0x20c1e8['push'](_0x20c1e8['shift']());}}}(_0x3dcb,0xd24a0),Object[_0x439363(0x171)](exports,Symbol[_0x439363(0x1ea)],{'value':_0x439363(0x154)}));let e=require('@univerjs-pro/boards'),t=require('@univerjs-pro/boards-ui'),n=require('@univerjs/core'),r=require('@univerjs/protocol'),i=require('@univerjs/thread-comment'),a=require('@univerjs/thread-comment-ui'),o=require('@univerjs/ui'),s=require('@univerjs-pro/boards-thread-comment'),c=require('@univerjs-pro/license'),l=require('@univerjs/engine-render'),u=require('@univerjs/icons'),d=require('react'),f=require('rxjs'),p=require('react/jsx-runtime');const m='univer.board.thread-comment-panel',h='UNIVER_BOARDS_THREAD_COMMENT_UI_PLUGIN';function g(_0x480f20){const _0x518450=_0x439363;let _0x434aa6=_0x480f20[_0x518450(0x1fc)](a[_0x518450(0x1b2)]);_0x480f20[_0x518450(0x1fc)](o[_0x518450(0x147)])[_0x518450(0x1db)]({'header':{'title':_0x518450(0x138)},'children':{'label':m},'width':0x140,'onClose':()=>_0x434aa6['setPanelVisible'](!0x1)}),_0x434aa6[_0x518450(0x21b)](!0x0);}const _={'id':_0x439363(0x1a1),'type':n[_0x439363(0x170)][_0x439363(0x155)],'handler'(_0x512166){return g(_0x512166),!0x0;}},v={'id':_0x439363(0x150),'type':n['CommandType'][_0x439363(0x155)],'handler'(_0x5ebfa3){const _0x2930b8=_0x439363;let _0x1ddae1=_0x5ebfa3[_0x2930b8(0x1fc)](n['IUniverInstanceService'])[_0x2930b8(0x1b8)](n[_0x2930b8(0x1af)][_0x2930b8(0x1ba)]);return!_0x1ddae1||!(0x0,e['getBoardPermissionValue'])(_0x5ebfa3[_0x2930b8(0x1fc)](n[_0x2930b8(0x17b)]),_0x1ddae1[_0x2930b8(0x146)](),_0x1ddae1['getUnitId'](),r[_0x2930b8(0x157)][_0x2930b8(0x174)])?!0x1:(_0x5ebfa3[_0x2930b8(0x1fc)](t[_0x2930b8(0x1f7)])[_0x2930b8(0x1b4)](e[_0x2930b8(0x21a)][_0x2930b8(0x136)]),_0x5ebfa3['get'](a[_0x2930b8(0x21c)])['startPlacement'](n[_0x2930b8(0x1af)][_0x2930b8(0x1ba)],_0x1ddae1[_0x2930b8(0x146)]()),!0x0);}},y={'id':'board.operation.add-element-comment','type':n['CommandType'][_0x439363(0x155)],'handler'(_0x770330){const _0x275b2b=_0x439363;var _0x3abea4;let _0x24239d=_0x770330['get'](n['IUniverInstanceService'])[_0x275b2b(0x1b8)](n[_0x275b2b(0x1af)][_0x275b2b(0x1ba)]),_0x430ee2=_0x770330[_0x275b2b(0x1fc)](t[_0x275b2b(0x1a3)])[_0x275b2b(0x194)](),_0xd7e21c=_0x24239d==null?void 0x0:_0x24239d[_0x275b2b(0x140)](),_0x3b4821=_0x430ee2['focusedId']??_0x430ee2['selectedIds'][_0x430ee2[_0x275b2b(0x132)][_0x275b2b(0x191)]-0x1];return!_0x24239d||!_0xd7e21c||!_0x3b4821||((_0x3abea4=_0x430ee2['context'])==null?void 0x0:_0x3abea4['unitId'])!==_0x24239d['getUnitId']()||_0x430ee2['context'][_0x275b2b(0x1ff)]!==_0xd7e21c||!(0x0,e[_0x275b2b(0x190)])(_0x770330[_0x275b2b(0x1fc)](n['IPermissionService']),_0x24239d[_0x275b2b(0x146)](),_0x24239d[_0x275b2b(0x146)](),r['UnitAction'][_0x275b2b(0x174)])?!0x1:(_0x770330[_0x275b2b(0x1fc)](a['ThreadCommentDraftService'])['place']({'unitId':_0x24239d[_0x275b2b(0x146)](),'subUnitId':_0xd7e21c,'anchor':{'kind':i[_0x275b2b(0x1ee)][_0x275b2b(0x19f)],'pageId':_0xd7e21c,'elementId':_0x3b4821}}),g(_0x770330),!0x0);}},b=_0x439363(0x19a),x={};var S=_0x439363(0x197),C=_0x439363(0x1b0);function w(){const _0x5da8a0=_0x439363;let _0x38d835=(0x0,o['useDependency'])(n[_0x5da8a0(0x1f6)]),_0x49a017=(0x0,o['useDependency'])(o[_0x5da8a0(0x147)]),_0x627074=(0x0,o['useDependency'])(n['ICommandService']),_0x52bb8c=(0x0,o[_0x5da8a0(0x152)])(a[_0x5da8a0(0x21c)]),_0x6072cb=(0x0,o[_0x5da8a0(0x152)])(n[_0x5da8a0(0x176)]),_0x30d1f9=(0x0,o[_0x5da8a0(0x152)])(e[_0x5da8a0(0x1fd)]),_0x1c5c25=_0x38d835[_0x5da8a0(0x1b8)](n[_0x5da8a0(0x1af)][_0x5da8a0(0x1ba)]),_0x2958bb=_0x1c5c25 instanceof e[_0x5da8a0(0x1de)]?_0x1c5c25:void 0x0,_0x1ccf1b=(0x0,o[_0x5da8a0(0x152)])(n[_0x5da8a0(0x17b)]);(0x0,o[_0x5da8a0(0x1a2)])(()=>_0x1ccf1b[_0x5da8a0(0x1c9)],void 0x0,!0x1,[_0x1ccf1b]);let _0x18e253=(0x0,o[_0x5da8a0(0x1a2)])(_0x52bb8c[_0x5da8a0(0x14f)],_0x52bb8c[_0x5da8a0(0x164)]),_0x12e5f2=(0x0,d['useMemo'])(()=>(0x0,f['of'])(_0x2958bb==null?void 0x0:_0x2958bb[_0x5da8a0(0x140)]()),[_0x2958bb]),_0x58d2e1=_0x18e253&&_0x18e253['unitId']===(_0x2958bb==null?void 0x0:_0x2958bb[_0x5da8a0(0x146)]())?{'id':'','threadId':'','unitId':_0x18e253['unitId'],'subUnitId':_0x18e253[_0x5da8a0(0x1ff)],'ref':(0x0,i[_0x5da8a0(0x1ef)])(_0x18e253[_0x5da8a0(0x175)]),'dT':'','personId':_0x6072cb[_0x5da8a0(0x12a)]()[_0x5da8a0(0x1dc)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x2958bb)return null;let _0x3538a5=!(0x0,e[_0x5da8a0(0x190)])(_0x1ccf1b,_0x2958bb['getUnitId'](),_0x2958bb['getUnitId'](),r['UnitAction'][_0x5da8a0(0x174)]);return(0x0,p[_0x5da8a0(0x14d)])(a[_0x5da8a0(0x19c)],{'unitId':_0x2958bb[_0x5da8a0(0x146)](),'subUnitId$':_0x12e5f2,'type':n[_0x5da8a0(0x1af)][_0x5da8a0(0x1ba)],'onAdd':()=>(_0x49a017[_0x5da8a0(0x196)](),_0x627074[_0x5da8a0(0x1bf)](v['id'])),'disableAdd':_0x3538a5,'getSubUnitName':_0x20c5a7=>{const _0x577558=_0x5da8a0;var _0x1ac382;return((_0x1ac382=_0x2958bb[_0x577558(0x17f)](_0x20c5a7))==null?void 0x0:_0x1ac382[_0x577558(0x21e)])??_0x20c5a7;},'tempComment':_0x58d2e1,'onTempCommentClose':()=>_0x52bb8c['cancel'](),'formatRef':_0x1a598c=>T(_0x1a598c,_0x30d1f9)});}function T(_0x22f4f3,_0x57148b){const _0x4b5732=_0x439363;let _0x1f5b93=(0x0,i[_0x4b5732(0x166)])(_0x22f4f3[_0x4b5732(0x144)]);if((_0x1f5b93==null?void 0x0:_0x1f5b93['kind'])===i[_0x4b5732(0x1ee)]['BOARD_ELEMENT']){var _0x54cb84;let _0x434954=_0x57148b['getElementById'](_0x22f4f3[_0x4b5732(0x16e)],_0x1f5b93[_0x4b5732(0x1a0)]??_0x22f4f3[_0x4b5732(0x1ff)],_0x1f5b93[_0x4b5732(0x205)]);return(_0x434954==null||(_0x54cb84=_0x434954[_0x4b5732(0x1e5)][_0x4b5732(0x21e)])==null?void 0x0:_0x54cb84[_0x4b5732(0x1f8)]())||_0x1f5b93[_0x4b5732(0x205)];}return(_0x1f5b93==null?void 0x0:_0x1f5b93[_0x4b5732(0x1f5)])===i['ThreadCommentAnchorKind']['BOARD_POSITION']?'('+Math[_0x4b5732(0x12e)](_0x1f5b93['x'])+',\x20'+Math[_0x4b5732(0x12e)](_0x1f5b93['y'])+')':_0x22f4f3[_0x4b5732(0x144)];}function E(_0x478394,_0x404a1a){return function(_0x4e22f4,_0x50ca7e){_0x404a1a(_0x4e22f4,_0x50ca7e,_0x478394);};}function D(_0xd694b9,_0x203048,_0x417720,_0xdbad44){const _0x47e5ab=_0x439363;var _0x1a11fd=arguments['length'],_0x4eec49=_0x1a11fd<0x3?_0x203048:_0xdbad44===null?_0xdbad44=Object[_0x47e5ab(0x220)](_0x203048,_0x417720):_0xdbad44,_0x145402;if(typeof Reflect==_0x47e5ab(0x195)&&typeof Reflect[_0x47e5ab(0x214)]==_0x47e5ab(0x19e))_0x4eec49=Reflect[_0x47e5ab(0x214)](_0xd694b9,_0x203048,_0x417720,_0xdbad44);else{for(var _0xe4454d=_0xd694b9['length']-0x1;_0xe4454d>=0x0;_0xe4454d--)(_0x145402=_0xd694b9[_0xe4454d])&&(_0x4eec49=(_0x1a11fd<0x3?_0x145402(_0x4eec49):_0x1a11fd>0x3?_0x145402(_0x203048,_0x417720,_0x4eec49):_0x145402(_0x203048,_0x417720))||_0x4eec49);}return _0x1a11fd>0x3&&_0x4eec49&&Object[_0x47e5ab(0x171)](_0x203048,_0x417720,_0x4eec49),_0x4eec49;}let O=class extends n['Disposable']{constructor(_0x32cd74,_0x23d34f){const _0x37da96=_0x439363;super(),this[_0x37da96(0x16d)]=_0x32cd74,this[_0x37da96(0x222)]=_0x23d34f,this[_0x37da96(0x1f4)](),this[_0x37da96(0x16f)]();}[_0x439363(0x1f4)](){const _0xfe200c=_0x439363;this[_0xfe200c(0x211)](this['_iconManager'][_0xfe200c(0x184)]({'InsertCommentDoubleIcon':u[_0xfe200c(0x186)]}));}[_0x439363(0x16f)](){const _0x345c8a=_0x439363;this['disposeWithMe'](this[_0x345c8a(0x16d)][_0x345c8a(0x184)](m,w));}};O=D([E(0x0,(0x0,n[_0x439363(0x129)])(o['ComponentManager'])),E(0x1,(0x0,n[_0x439363(0x129)])(o[_0x439363(0x1e2)]))],O);function k(_0x1ed031,_0x2804bf,_0x1cd01d){const _0x1cb888=_0x439363;let _0x391472=Number['isFinite'](_0x1cd01d[_0x1cb888(0x207)])&&_0x1cd01d['zoomRatio']>0x0?_0x1cd01d['zoomRatio']:0x1;return{'x':(_0x1ed031-_0x1cd01d[_0x1cb888(0x12f)]['x'])/_0x391472,'y':(_0x2804bf-_0x1cd01d[_0x1cb888(0x12f)]['y'])/_0x391472};}function A(_0x50c91c){'@babel/helpers - typeof';const _0x3e8c2b=_0x439363;return A=typeof Symbol==_0x3e8c2b(0x19e)&&typeof Symbol['iterator']==_0x3e8c2b(0x1d5)?function(_0x24bb73){return typeof _0x24bb73;}:function(_0x30d8b9){const _0x1125f2=_0x3e8c2b;return _0x30d8b9&&typeof Symbol==_0x1125f2(0x19e)&&_0x30d8b9[_0x1125f2(0x19d)]===Symbol&&_0x30d8b9!==Symbol[_0x1125f2(0x219)]?_0x1125f2(0x1d5):typeof _0x30d8b9;},A(_0x50c91c);}function j(_0x2f2560,_0x1980a4){const _0x588c02=_0x439363;if(A(_0x2f2560)!=_0x588c02(0x195)||!_0x2f2560)return _0x2f2560;var _0x45e2ff=_0x2f2560[Symbol[_0x588c02(0x16b)]];if(_0x45e2ff!==void 0x0){var _0x1ff338=_0x45e2ff[_0x588c02(0x1b6)](_0x2f2560,_0x1980a4||_0x588c02(0x130));if(A(_0x1ff338)!='object')return _0x1ff338;throw TypeError(_0x588c02(0x18f));}return(_0x1980a4==='string'?String:Number)(_0x2f2560);}function M(_0x23459a){const _0x3118ae=_0x439363;var _0x1abd02=j(_0x23459a,_0x3118ae(0x14e));return A(_0x1abd02)==_0x3118ae(0x1d5)?_0x1abd02:_0x1abd02+'';}function N(_0x3b6083,_0x2eff39,_0x4f8f6b){const _0x196b75=_0x439363;return(_0x2eff39=M(_0x2eff39))in _0x3b6083?Object[_0x196b75(0x171)](_0x3b6083,_0x2eff39,{'value':_0x4f8f6b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b6083[_0x2eff39]=_0x4f8f6b,_0x3b6083;}function P(_0x2332ce){const _0x592f0c=_0x439363;let _0x22e993=new Map();return _0x2332ce[_0x592f0c(0x131)](_0x552d09=>{const _0x2ce60a=_0x592f0c;let _0x3f8cb4=_0x552d09['x']+'\x00'+_0x552d09['y'],_0x28fb62=_0x22e993['get'](_0x3f8cb4);if(_0x28fb62){_0x28fb62[_0x2ce60a(0x1f1)]=_0x552d09[_0x2ce60a(0x1f1)],_0x28fb62['commentIds'][_0x2ce60a(0x1dd)](_0x552d09['commentId']),_0x28fb62[_0x2ce60a(0x1be)]+=0x1;return;}_0x22e993[_0x2ce60a(0x12d)](_0x3f8cb4,{..._0x552d09,'commentIds':[_0x552d09[_0x2ce60a(0x1f1)]],'count':0x1});}),Array['from'](_0x22e993[_0x592f0c(0x1bc)]());}let F=class extends n[_0x439363(0x13d)]{constructor(_0x7b3035,_0x3e3951,_0x171f42,_0x12598f,_0x31052b,_0x49041c,_0x4b60c0,_0xc386e3,_0x565cd9,_0x1713c3){const _0x19938d=_0x439363;super(),this[_0x19938d(0x156)]=_0x7b3035,this['_commandService']=_0x3e3951,this[_0x19938d(0x20d)]=_0x171f42,this[_0x19938d(0x141)]=_0x12598f,this['_elementStateService']=_0x31052b,this[_0x19938d(0x1d0)]=_0x49041c,this[_0x19938d(0x1a4)]=_0x4b60c0,this[_0x19938d(0x1c3)]=_0xc386e3,this[_0x19938d(0x1c1)]=_0x565cd9,this['_themeService']=_0x1713c3,N(this,_0x19938d(0x180),void 0x0),this[_0x19938d(0x180)]=new a['ThreadCommentCanvasOverlay']('board-thread-comment-overlay',{...this[_0x19938d(0x20e)](),'zoomRatio':0x1,'markers':[],'underlines':[]}),this[_0x19938d(0x180)][_0x19938d(0x1e3)]=t['BOARD_RENDER_OBJECT_Z_INDEX'][_0x19938d(0x1e1)]+0x1,this[_0x19938d(0x156)][_0x19938d(0x193)][_0x19938d(0x165)](this[_0x19938d(0x180)],t[_0x19938d(0x1e0)][_0x19938d(0x1d7)]),this[_0x19938d(0x211)]((0x0,n[_0x19938d(0x19b)])(this[_0x19938d(0x180)][_0x19938d(0x161)][_0x19938d(0x153)]((_0xfc5e5a,_0x3b95fa)=>this[_0x19938d(0x17c)](_0x3b95fa)))),this[_0x19938d(0x211)]((0x0,n['toDisposable'])(this[_0x19938d(0x180)][_0x19938d(0x1b5)][_0x19938d(0x153)](()=>this[_0x19938d(0x180)][_0x19938d(0x1fa)]()))),this['disposeWithMe']((0x0,n[_0x19938d(0x19b)])(this[_0x19938d(0x156)][_0x19938d(0x193)][_0x19938d(0x161)][_0x19938d(0x153)]((_0x1ae19f,_0x3ec04d)=>this['_onPointerDown'](_0x1ae19f,_0x3ec04d)))),this[_0x19938d(0x211)]((0x0,n[_0x19938d(0x19b)])(this[_0x19938d(0x156)][_0x19938d(0x193)][_0x19938d(0x158)][_0x19938d(0x153)](_0x19acea=>this[_0x19938d(0x148)](_0x19acea)))),this[_0x19938d(0x211)]((0x0,n[_0x19938d(0x19b)])(this[_0x19938d(0x209)][_0x19938d(0x202)]['pipe']((0x0,f[_0x19938d(0x139)])(),(0x0,f[_0x19938d(0x1f2)])(this['dispose$']))[_0x19938d(0x1a9)](([_0x4239f9,_0x4d29e5])=>{const _0x2f380b=_0x19938d;var _0x1b303c;this[_0x2f380b(0x1a4)]['placementType']===n[_0x2f380b(0x1af)][_0x2f380b(0x1ba)]&&_0x4d29e5['focusedId']&&_0x4d29e5[_0x2f380b(0x199)]&&(_0x4239f9['focusedId']!==_0x4d29e5[_0x2f380b(0x1e8)]||((_0x1b303c=_0x4239f9['context'])==null?void 0x0:_0x1b303c[_0x2f380b(0x16e)])!==_0x4d29e5[_0x2f380b(0x199)]['unitId']||_0x4239f9[_0x2f380b(0x199)][_0x2f380b(0x1ff)]!==_0x4d29e5[_0x2f380b(0x199)][_0x2f380b(0x1ff)])&&this['_placeElement'](_0x4d29e5['context'][_0x2f380b(0x16e)],_0x4d29e5[_0x2f380b(0x199)][_0x2f380b(0x1ff)],_0x4d29e5[_0x2f380b(0x1e8)]);}))),this[_0x19938d(0x211)](this[_0x19938d(0x1c3)][_0x19938d(0x15f)][_0x19938d(0x1d3)]((0x0,f[_0x19938d(0x1f2)])(this[_0x19938d(0x1fe)]))[_0x19938d(0x1a9)](_0x1ab763=>{const _0x450d67=_0x19938d;_0x1ab763[_0x450d67(0x16e)]===this[_0x450d67(0x156)][_0x450d67(0x16e)]&&this['_syncOverlay']();})),[this['_panelService'][_0x19938d(0x1e9)],this[_0x19938d(0x1c1)][_0x19938d(0x167)]][_0x19938d(0x131)](_0x497cde=>{const _0x53ecb8=_0x19938d;this[_0x53ecb8(0x211)](_0x497cde[_0x53ecb8(0x1d3)]((0x0,f[_0x53ecb8(0x1f2)])(this['dispose$']))['subscribe'](()=>this[_0x53ecb8(0x17a)]()));}),[this[_0x19938d(0x141)][_0x19938d(0x1c8)],this[_0x19938d(0x141)][_0x19938d(0x221)],this[_0x19938d(0x141)][_0x19938d(0x1c6)]][_0x19938d(0x131)](_0x388f11=>{const _0x4fe830=_0x19938d;this[_0x4fe830(0x211)](_0x388f11[_0x4fe830(0x1d3)]((0x0,f[_0x4fe830(0x1f2)])(this[_0x4fe830(0x1fe)]))[_0x4fe830(0x1a9)](_0x586c4d=>{const _0x441007=_0x4fe830;_0x586c4d[_0x441007(0x185)](_0x195698=>_0x195698[_0x441007(0x16e)]===this[_0x441007(0x156)][_0x441007(0x16e)])&&this[_0x441007(0x17a)]();}));}),this[_0x19938d(0x211)](this[_0x19938d(0x1d0)][_0x19938d(0x202)]['pipe']((0x0,f[_0x19938d(0x1c2)])((_0x2f9fd2,_0x5c099d)=>_0x2f9fd2[_0x19938d(0x207)]===_0x5c099d['zoomRatio']),(0x0,f['takeUntil'])(this[_0x19938d(0x1fe)]))[_0x19938d(0x1a9)](()=>this['_syncOverlay']())),this['_listenToolSwitch'](),this[_0x19938d(0x211)](this[_0x19938d(0x1a4)][_0x19938d(0x1c7)]['pipe']((0x0,f['takeUntil'])(this['dispose$']))[_0x19938d(0x1a9)](_0x217b48=>{const _0x2e5b86=_0x19938d;_0x217b48!==n['UniverInstanceType'][_0x2e5b86(0x1ba)]&&this[_0x2e5b86(0x180)][_0x2e5b86(0x1d8)]({'previewMarker':null,'previewUnderline':null});})),this[_0x19938d(0x211)](this[_0x19938d(0x177)][_0x19938d(0x208)][_0x19938d(0x1d3)]((0x0,f[_0x19938d(0x1f2)])(this[_0x19938d(0x1fe)]))[_0x19938d(0x1a9)](()=>this[_0x19938d(0x17a)]())),this[_0x19938d(0x17a)]();}[_0x439363(0x188)](){const _0x5e98ab=_0x439363;this[_0x5e98ab(0x211)](this[_0x5e98ab(0x1d0)][_0x5e98ab(0x202)]['pipe']((0x0,f[_0x5e98ab(0x151)])(_0x1ff51e=>_0x1ff51e[_0x5e98ab(0x1b9)]),(0x0,f[_0x5e98ab(0x1c2)])(),(0x0,f[_0x5e98ab(0x139)])(),(0x0,f[_0x5e98ab(0x1f2)])(this['dispose$']))['subscribe'](()=>{const _0xbe672e=_0x5e98ab;this[_0xbe672e(0x1a4)][_0xbe672e(0x13b)]===n[_0xbe672e(0x1af)][_0xbe672e(0x1ba)]&&this[_0xbe672e(0x1a4)][_0xbe672e(0x13e)]();}));}[_0x439363(0x212)](_0x3cd48b,_0x242c06,_0x1b10eb){const _0x4d4116=_0x439363;_0x3cd48b===this[_0x4d4116(0x156)][_0x4d4116(0x16e)]&&(this[_0x4d4116(0x1a4)][_0x4d4116(0x145)]({'unitId':_0x3cd48b,'subUnitId':_0x242c06,'anchor':{'kind':i[_0x4d4116(0x1ee)][_0x4d4116(0x19f)],'pageId':_0x242c06,'elementId':_0x1b10eb}}),this[_0x4d4116(0x180)][_0x4d4116(0x1d8)]({'previewMarker':null,'previewUnderline':null}),this[_0x4d4116(0x1e6)][_0x4d4116(0x1bf)](_['id'])['catch'](()=>void 0x0));}[_0x439363(0x20c)](_0x591923,_0x57a418){const _0x3913dc=_0x439363;if(this['_draftService'][_0x3913dc(0x13b)]!==n[_0x3913dc(0x1af)][_0x3913dc(0x1ba)]||(_0x591923[_0x3913dc(0x1cb)]??0x0)!==0x0)return;let _0x18d520=this[_0x3913dc(0x15d)]();if(!_0x18d520){this[_0x3913dc(0x1a4)][_0x3913dc(0x13e)]();return;}let _0x30162c=_0x18d520[_0x3913dc(0x140)](),_0x8a8a48=this[_0x3913dc(0x20b)](_0x591923[_0x3913dc(0x18d)],_0x591923[_0x3913dc(0x14b)]),_0x21757b=this[_0x3913dc(0x169)](_0x18d520,_0x30162c,_0x8a8a48);this[_0x3913dc(0x1a4)][_0x3913dc(0x145)]({'unitId':_0x18d520[_0x3913dc(0x146)](),'subUnitId':_0x30162c,'anchor':_0x21757b?{'kind':i[_0x3913dc(0x1ee)][_0x3913dc(0x19f)],'pageId':_0x30162c,'elementId':_0x21757b[_0x3913dc(0x205)]}:{'kind':i[_0x3913dc(0x1ee)]['BOARD_POSITION'],'pageId':_0x30162c,..._0x8a8a48}}),this[_0x3913dc(0x180)][_0x3913dc(0x1d8)]({'previewMarker':null,'previewUnderline':null}),_0x57a418['stopPropagation'](),this[_0x3913dc(0x1e6)]['executeCommand'](_['id'])['catch'](()=>void 0x0);}[_0x439363(0x148)](_0x37c959){const _0x56d7e4=_0x439363;if(this['_draftService'][_0x56d7e4(0x13b)]!==n[_0x56d7e4(0x1af)][_0x56d7e4(0x1ba)])return;let _0x5ece59=this['_getModel']();if(!_0x5ece59)return;let _0x1d3f86=_0x5ece59['getActivePageId'](),_0x1081ed=this[_0x56d7e4(0x20b)](_0x37c959['offsetX'],_0x37c959[_0x56d7e4(0x14b)]),_0x5ba3a2=this[_0x56d7e4(0x169)](_0x5ece59,_0x1d3f86,_0x1081ed),_0x21b908=_0x5ba3a2?this[_0x56d7e4(0x1e4)](_0x5ba3a2[_0x56d7e4(0x205)]):null;if(_0x21b908){this[_0x56d7e4(0x180)][_0x56d7e4(0x1d8)]({'previewMarker':_0x1081ed,'previewUnderline':_0x21b908});return;}this[_0x56d7e4(0x180)][_0x56d7e4(0x1d8)]({'previewMarker':_0x1081ed,'previewUnderline':null});}[_0x439363(0x17c)](_0x5444ed){const _0x5b2c99=_0x439363;let _0x47c7b3=this[_0x5b2c99(0x15d)](),_0x1b7fe5=this[_0x5b2c99(0x180)][_0x5b2c99(0x1a5)];_0x47c7b3&&_0x1b7fe5&&(this[_0x5b2c99(0x1c1)][_0x5b2c99(0x12c)]({'unitId':_0x47c7b3[_0x5b2c99(0x146)](),'subUnitId':_0x47c7b3[_0x5b2c99(0x140)](),'commentId':_0x1b7fe5,'trigger':_0x5b2c99(0x178)}),_0x5444ed[_0x5b2c99(0x14a)](),this[_0x5b2c99(0x1e6)]['executeCommand'](_['id'])['catch'](()=>void 0x0));}[_0x439363(0x17a)](){const _0x34e1e8=_0x439363;let _0x58c995=this[_0x34e1e8(0x15d)]();if(!_0x58c995){this[_0x34e1e8(0x180)][_0x34e1e8(0x1d8)]({'markers':[],'underlines':[],'focusedCommentIds':[],'focusOutlines':[]});return;}let _0x3b9b7b=_0x58c995[_0x34e1e8(0x140)](),_0x324b53=[],_0x1fcd0f=new Map();this['_commentModel']['query']({'unitIds':[_0x58c995[_0x34e1e8(0x146)]()],'subUnitIds':[_0x3b9b7b],'anchorKinds':[i['ThreadCommentAnchorKind'][_0x34e1e8(0x19f)],i['ThreadCommentAnchorKind'][_0x34e1e8(0x1ab)]],'resolved':!0x1})[_0x34e1e8(0x131)](({root:_0x58e66e})=>{const _0x509ec0=_0x34e1e8;let _0x1d89bd=(0x0,i[_0x509ec0(0x166)])(_0x58e66e[_0x509ec0(0x144)]);if((_0x1d89bd==null?void 0x0:_0x1d89bd[_0x509ec0(0x1f5)])===i['ThreadCommentAnchorKind'][_0x509ec0(0x1ab)])_0x324b53[_0x509ec0(0x1dd)]({'commentId':_0x58e66e['id'],'x':_0x1d89bd['x'],'y':_0x1d89bd['y']});else{if((_0x1d89bd==null?void 0x0:_0x1d89bd[_0x509ec0(0x1f5)])===i[_0x509ec0(0x1ee)][_0x509ec0(0x19f)]){let _0x3a1861=this[_0x509ec0(0x1e4)](_0x1d89bd['elementId'],_0x58e66e['id']);_0x3a1861&&_0x1fcd0f['set'](_0x1d89bd['elementId'],_0x3a1861);}}}),this[_0x34e1e8(0x180)][_0x34e1e8(0x1d8)]({...this['_getColors'](),'zoomRatio':this[_0x34e1e8(0x1d0)][_0x34e1e8(0x1da)]()[_0x34e1e8(0x207)],'markers':P(_0x324b53),'underlines':Array[_0x34e1e8(0x1bb)](_0x1fcd0f[_0x34e1e8(0x1bc)]()),...this[_0x34e1e8(0x18e)](_0x58c995,_0x3b9b7b)});}[_0x439363(0x1e4)](_0x4a55f9,_0x3f4bf9=''){const _0x3313ae=_0x439363;let _0x3caf2c=this[_0x3313ae(0x1a7)](_0x4a55f9);if(!_0x3caf2c)return null;let _0x464664=this[_0x3313ae(0x1d0)][_0x3313ae(0x1da)]()[_0x3313ae(0x207)]||0x1;return{'commentId':_0x3f4bf9,'left':_0x3caf2c[_0x3313ae(0x1fb)],'top':_0x3caf2c[_0x3313ae(0x15e)]+_0x3caf2c['height']+0x2/_0x464664,'width':_0x3caf2c[_0x3313ae(0x201)]};}[_0x439363(0x1a7)](_0x1bca7f){const _0x3c34e8=_0x439363;var _0x22618b;let _0x430153=this[_0x3c34e8(0x15d)]();if(!_0x430153)return null;let _0x45bae4=this[_0x3c34e8(0x156)][_0x3c34e8(0x193)],_0x1ce8ed=(0x0,t['getBoardElementRenderObjectKey'])(_0x430153['getUnitId'](),_0x1bca7f),_0x39a326=_0x45bae4[_0x3c34e8(0x12b)](_0x1ce8ed)??((_0x22618b=_0x45bae4[_0x3c34e8(0x1d9)])==null?void 0x0:_0x22618b['call'](_0x45bae4,_0x1ce8ed));if(!_0x39a326)return null;let _0x7d1f5=_0x39a326['getRealBound']();return{'left':_0x7d1f5[_0x3c34e8(0x1fb)],'top':_0x7d1f5[_0x3c34e8(0x15e)],'width':_0x7d1f5[_0x3c34e8(0x201)],'height':_0x7d1f5['height']};}['_getFocusState'](_0x17246e,_0x10930f){const _0x2097cf=_0x439363;let _0x2576f5=[],_0x538249=new Map();return[this[_0x2097cf(0x1c1)]['activeCommentId'],this[_0x2097cf(0x1c1)][_0x2097cf(0x13f)]]['forEach'](_0x223cf7=>{const _0x5bf47b=_0x2097cf;if(!_0x223cf7||_0x223cf7[_0x5bf47b(0x16e)]!==_0x17246e[_0x5bf47b(0x146)]()||_0x223cf7[_0x5bf47b(0x1ff)]!==_0x10930f)return;let _0x1c697b=this['_commentModel'][_0x5bf47b(0x189)](_0x223cf7['unitId'],_0x223cf7[_0x5bf47b(0x1ff)],_0x223cf7['commentId']);if(!_0x1c697b)return;_0x2576f5['push'](_0x223cf7[_0x5bf47b(0x1f1)]);let _0x215b05=(0x0,i[_0x5bf47b(0x166)])(_0x1c697b['ref']);if((_0x215b05==null?void 0x0:_0x215b05[_0x5bf47b(0x1f5)])===i['ThreadCommentAnchorKind'][_0x5bf47b(0x19f)]&&!_0x538249['has'](_0x215b05['elementId'])){let _0x2bdf12=this['_getElementOutline'](_0x215b05[_0x5bf47b(0x205)]);_0x2bdf12&&_0x538249[_0x5bf47b(0x12d)](_0x215b05['elementId'],_0x2bdf12);}}),{'focusedCommentIds':_0x2576f5,'focusOutlines':Array[_0x2097cf(0x1bb)](_0x538249[_0x2097cf(0x1bc)]())};}['_hitTest'](_0x1ad340,_0x325f87,_0x182ee2){const _0x3e8e06=_0x439363;return(0x0,t['hitTestBoardElementAtPoint'])({'elementData':this[_0x3e8e06(0x141)][_0x3e8e06(0x160)](_0x1ad340['getUnitId'](),_0x325f87),'elementOrder':this[_0x3e8e06(0x141)]['getElementOrder'](_0x1ad340[_0x3e8e06(0x146)](),_0x325f87),'point':_0x182ee2});}[_0x439363(0x20e)](){const _0x378441=_0x439363;return{'accentColor':this[_0x378441(0x177)][_0x378441(0x135)](_0x378441(0x215)),'foregroundColor':this[_0x378441(0x177)][_0x378441(0x135)](_0x378441(0x18b)),'outlineColor':this[_0x378441(0x177)][_0x378441(0x135)](_0x378441(0x183))};}[_0x439363(0x15d)](){const _0x470f49=_0x439363;return this['_instanceService'][_0x470f49(0x1ed)](this[_0x470f49(0x156)][_0x470f49(0x16e)],n['UniverInstanceType']['UNIVER_BOARD'])??null;}['_toBoardPoint'](_0x332b8b,_0x312815){const _0x292ade=_0x439363;return k(_0x332b8b,_0x312815,this[_0x292ade(0x1d0)]['getState']());}};F=D([E(0x1,n['ICommandService']),E(0x2,n[_0x439363(0x1f6)]),E(0x3,e[_0x439363(0x1fd)]),E(0x4,t['IBoardElementStateService']),E(0x5,t['IBoardUIStateService']),E(0x6,(0x0,n[_0x439363(0x129)])(a[_0x439363(0x21c)])),E(0x7,(0x0,n[_0x439363(0x129)])(i[_0x439363(0x1c0)])),E(0x8,(0x0,n[_0x439363(0x129)])(a[_0x439363(0x1b2)])),E(0x9,(0x0,n['Inject'])(n[_0x439363(0x21f)]))],F);function I(_0x38fc2c){const _0x2b3eb0=_0x439363;let _0x1bf485=_0x38fc2c[_0x2b3eb0(0x1fc)](n['IUniverInstanceService']),_0x507409=_0x38fc2c[_0x2b3eb0(0x1fc)](n['IPermissionService']);return(0x0,f[_0x2b3eb0(0x1ec)])([_0x1bf485[_0x2b3eb0(0x187)](n[_0x2b3eb0(0x1af)]['UNIVER_BOARD']),_0x507409['permissionPointUpdate$'][_0x2b3eb0(0x1d3)]((0x0,f[_0x2b3eb0(0x1d6)])(void 0x0))])['pipe']((0x0,f[_0x2b3eb0(0x151)])(([_0x24a1ec])=>!_0x24a1ec||!(0x0,e[_0x2b3eb0(0x190)])(_0x507409,_0x24a1ec[_0x2b3eb0(0x146)](),_0x24a1ec[_0x2b3eb0(0x146)](),r['UnitAction']['Comment'])));}function L(_0x5dfb30){const _0xb21bc2=_0x439363;return{'id':y['id'],'type':o[_0xb21bc2(0x1f9)][_0xb21bc2(0x20f)],'icon':_0xb21bc2(0x186),'title':_0xb21bc2(0x138),'tooltip':'boards-thread-comment-ui.addComment','hidden$':(0x0,o['getMenuHiddenObservable'])(_0x5dfb30,n[_0xb21bc2(0x1af)][_0xb21bc2(0x1ba)]),'disabled$':I(_0x5dfb30)};}const R={[t[_0x439363(0x1f3)][_0x439363(0x143)]]:{[o[_0x439363(0x1d4)][_0x439363(0x1cf)]]:{[y['id']]:{'order':0x0,'menuItemFactory':L}}},[t[_0x439363(0x1f3)][_0x439363(0x203)]]:{[o[_0x439363(0x1d4)][_0x439363(0x1cf)]]:{[y['id']]:{'order':0x0,'menuItemFactory':L}}},[o[_0x439363(0x1ce)]['BOARD']]:{[y['id']]:{'order':0xa,'menuItemFactory':L}}};let z=class extends n[_0x439363(0x181)]{constructor(_0x571f15,_0x6c8571,_0x5eea10,_0x7cee3f,_0x21c31e,_0x196639){const _0x4c0b11=_0x439363;super(),[y,_,v][_0x4c0b11(0x131)](_0x22259b=>this[_0x4c0b11(0x211)](_0x571f15['registerCommand'](_0x22259b))),_0x6c8571[_0x4c0b11(0x15a)](R),this[_0x4c0b11(0x211)](_0x5eea10[_0x4c0b11(0x184)]({'id':_0x4c0b11(0x217),'icon':u['CommentIcon'],'label':()=>_0x7cee3f['t'](_0x4c0b11(0x138)),'order':0x64,'group':_0x4c0b11(0x1eb),'placement':_0x4c0b11(0x1e7),'enabled':()=>{const _0x17aa5c=_0x4c0b11;let _0x15d922=_0x196639[_0x17aa5c(0x1b8)](n[_0x17aa5c(0x1af)][_0x17aa5c(0x1ba)]);return!!_0x15d922&&(0x0,e[_0x17aa5c(0x190)])(_0x21c31e,_0x15d922[_0x17aa5c(0x146)](),_0x15d922[_0x17aa5c(0x146)](),r['UnitAction'][_0x17aa5c(0x174)]);},'onClick':async _0x1b7867=>{await _0x1b7867['executeCommand'](y['id']);}})),this[_0x4c0b11(0x211)](_0x5eea10[_0x4c0b11(0x184)]({'id':_0x4c0b11(0x21d),'availableInViewing':!0x0,'icon':u['CommentIcon'],'label':()=>_0x7cee3f['t'](_0x4c0b11(0x17e)),'order':0x64,'group':'auxiliary','placement':_0x4c0b11(0x210),'menuItemId':_['id'],'onClick':async _0x5cc632=>{const _0x5369ab=_0x4c0b11;await _0x5cc632[_0x5369ab(0x1bf)](_['id']);}})),this[_0x4c0b11(0x211)](_0x5eea10[_0x4c0b11(0x184)]({'id':_0x4c0b11(0x149),'availableInViewing':!0x0,'icon':u['InsertCommentDoubleIcon'],'label':()=>_0x7cee3f['t']('boards-thread-comment-ui.addComment'),'order':0x64,'group':_0x4c0b11(0x1eb),'menuItemId':v['id'],'enabled':()=>{const _0x478fc0=_0x4c0b11;let _0x15db42=_0x196639['getCurrentUnitOfType'](n[_0x478fc0(0x1af)][_0x478fc0(0x1ba)]);return!!_0x15db42&&(0x0,e[_0x478fc0(0x190)])(_0x21c31e,_0x15db42[_0x478fc0(0x146)](),_0x15db42[_0x478fc0(0x146)](),r[_0x478fc0(0x157)][_0x478fc0(0x174)]);},'onClick':async _0x397a80=>{const _0x2381a0=_0x4c0b11;await _0x397a80[_0x2381a0(0x1bf)](v['id']);}}));}};z=D([E(0x0,n[_0x439363(0x134)]),E(0x1,o['IMenuManagerService']),E(0x2,(0x0,n[_0x439363(0x129)])(t[_0x439363(0x1cd)])),E(0x3,(0x0,n['Inject'])(n['LocaleService'])),E(0x4,n[_0x439363(0x17b)]),E(0x5,n['IUniverInstanceService'])],z);function _0x3dcb(){const _0x56acf6=['map','useDependency','subscribeEvent','Module','OPERATION','_renderContext','UnitAction','onPointerMove$','UniverLicensePlugin','mergeMenu','_injector','add','_getModel','top','commentUpdate$','getElementData','onPointerDown$','type','UniverBoardsUIPlugin','draft','addObject','deserializeThreadCommentAnchor','hoveredCommentId$','UniverBoardsThreadCommentUIPlugin','_hitTest','_config','toPrimitive','_renderManagerService','_componentManager','unitId','_registerComponents','CommandType','defineProperty','58OddUCE','IConfigService','Comment','anchor','UserManagerService','_themeService','board-canvas','Injector','_syncOverlay','IPermissionService','_onOverlayPointerDown','UniverRenderEnginePlugin','boards-thread-comment-ui.openComments','getPage','_overlay','Disposable','UniverThreadCommentMobileUIPlugin','white','register','some','InsertCommentDoubleIcon','getCurrentTypeOfUnit$','_listenToolSwitch','getComment','20174WnQenS','gray.900','ThreadCommentPanel','offsetX','_getFocusState','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getBoardPermissionValue','length','91skwfbG','scene','getSnapshot','object','close','@univerjs-pro/boards-thread-comment-ui','packageName','context','boards-thread-comment-ui.config','toDisposable','MobileThreadCommentPanel','constructor','function','BOARD_ELEMENT','pageId','board.operation.open-comment-panel','useObservable','IBoardElementStateService','_draftService','hitCommentId','BOARDS_THREAD_COMMENT_UI_PLUGIN_CONFIG_KEY','_getElementOutline','UniverBoardsThreadCommentMobileUIPlugin','subscribe','version','BOARD_POSITION','UniverThreadCommentUIPlugin','OpenBoardCommentPanelOperation','1293054JLIFbA','UniverInstanceType','1.0.2','onStarting','ThreadCommentPanelService','onRendered','setActiveTool','onPointerLeave$','call','12dKtCaq','getCurrentUnitOfType','activeTool','UNIVER_BOARD','from','values','getElementById','count','executeCommand','ThreadCommentModel','_panelService','distinctUntilChanged','_commentModel','4976688PNXvxe','27092SuKQbi','elementRemove$','placementType$','elementAdd$','permissionPointUpdate$','setConfig','button','4610mZdUDo','IBoardToolbarContributionService','FloatingObjectToolbarPosition','OTHERS','_uiStateService','3UVACLa','421908iaPAaz','pipe','ContextMenuGroup','symbol','startWith','overlay','updateState','getObjectIncludeInGroup','getState','open','userID','push','BoardModel','DependentOn','BOARD_RENDER_LAYER_INDEX','transientNavigation','IconManager','zIndex','_getElementUnderline','element','_commandService','view-selection','focusedId','activeCommentId$','toStringTag','auxiliary','combineLatest','getUnit','ThreadCommentAnchorKind','serializeThreadCommentAnchor','4473riKaSV','commentId','takeUntil','BoardElementContextMenuPosition','_registerIcons','kind','IUniverInstanceService','IBoardUIStateService','trim','MenuItemType','clearHover','left','get','IBoardElementService','dispose$','subUnitId','890210LpqdLc','width','state$','SELECTION','456ueRXHd','elementId','merge','zoomRatio','currentTheme$','_elementStateService','_getDependencies','_toBoardPoint','_onPointerDown','_instanceService','_getColors','BUTTON','top-right-before-history','disposeWithMe','_placeElement','ComponentManager','decorate','yellow.400','Plugin','boards-thread-comment-ui.view-selection.add-comment','UniverBoardsPlugin','prototype','BoardToolType','setPanelVisible','ThreadCommentDraftService','boards-thread-comment-ui.top-right.open-comments','name','ThemeService','getOwnPropertyDescriptor','elementUpdate$','_iconManager','Inject','getCurrentUser','getObject','setActiveComment','set','round','viewportPanOffset','default','forEach','selectedIds','_configService','ICommandService','getColorFromTheme','Select','UniverBoardsThreadCommentPlugin','boards-thread-comment-ui.addComment','pairwise','registerRenderModule','placementType','UniverBoardsMobileUIPlugin','RxDisposable','cancel','hoveredCommentId','getActivePageId','_elementService','IRenderManagerService','ELEMENT','ref','place','getUnitId','ISidebarService','_onPointerMove','boards-thread-comment-ui.toolbar.add-comment','stopPropagation','offsetY','pluginName','jsx','string','draft$','board.operation.start-comment-placement'];_0x3dcb=function(){return _0x56acf6;};return _0x3dcb();}let B=class extends n['Plugin']{constructor(_0x382cc7=x,_0x5aaea3,_0x34fd06,_0x5a68ea){const _0x4e5df6=_0x439363;super(),this[_0x4e5df6(0x16a)]=_0x382cc7,this[_0x4e5df6(0x15b)]=_0x5aaea3,this[_0x4e5df6(0x133)]=_0x34fd06,this['_renderManagerService']=_0x5a68ea;let {..._0x2ab05b}=(0x0,n[_0x4e5df6(0x206)])({},x,this[_0x4e5df6(0x16a)]);this[_0x4e5df6(0x133)][_0x4e5df6(0x1ca)](b,_0x2ab05b);}[_0x439363(0x1b1)](){const _0xa58f13=_0x439363;[[O],[z]]['forEach'](_0x2d4092=>this['_injector'][_0xa58f13(0x15c)](_0x2d4092)),this[_0xa58f13(0x15b)][_0xa58f13(0x1fc)](O);}[_0x439363(0x1b3)](){const _0x377628=_0x439363;this[_0x377628(0x211)](this[_0x377628(0x16c)]['registerRenderModule'](n[_0x377628(0x1af)]['UNIVER_BOARD'],[F])),this[_0x377628(0x15b)][_0x377628(0x1fc)](z);}};N(B,_0x439363(0x14c),h),N(B,_0x439363(0x198),S),N(B,_0x439363(0x1aa),C),N(B,'type',n[_0x439363(0x1af)]['UNIVER_BOARD']),B=D([(0x0,n[_0x439363(0x1df)])(e[_0x439363(0x218)],c['UniverLicensePlugin'],s[_0x439363(0x137)],t[_0x439363(0x13c)],l['UniverRenderEnginePlugin'],a[_0x439363(0x182)]),E(0x1,(0x0,n[_0x439363(0x129)])(n[_0x439363(0x179)])),E(0x2,n[_0x439363(0x173)]),E(0x3,l['IRenderManagerService'])],B);function V(){const _0x163a2d=_0x439363;let _0x542dd1=(0x0,o[_0x163a2d(0x152)])(n[_0x163a2d(0x1f6)]),_0x5a9b81=(0x0,o[_0x163a2d(0x152)])(n[_0x163a2d(0x134)]),_0x337634=(0x0,o[_0x163a2d(0x152)])(a[_0x163a2d(0x21c)]),_0x106c1b=(0x0,o['useDependency'])(n['UserManagerService']),_0x23b1d8=(0x0,o[_0x163a2d(0x152)])(e[_0x163a2d(0x1fd)]),_0x3d2a7b=_0x542dd1[_0x163a2d(0x1b8)](n[_0x163a2d(0x1af)][_0x163a2d(0x1ba)]),_0x4b0db6=_0x3d2a7b instanceof e[_0x163a2d(0x1de)]?_0x3d2a7b:void 0x0,_0x3ecc4a=(0x0,o[_0x163a2d(0x152)])(n[_0x163a2d(0x17b)]);(0x0,o[_0x163a2d(0x1a2)])(()=>_0x3ecc4a[_0x163a2d(0x1c9)],void 0x0,!0x1,[_0x3ecc4a]);let _0x48bb7b=(0x0,o['useObservable'])(_0x337634['draft$'],_0x337634[_0x163a2d(0x164)]),_0x15e7fa=(0x0,d['useMemo'])(()=>(0x0,f['of'])(_0x4b0db6==null?void 0x0:_0x4b0db6[_0x163a2d(0x140)]()),[_0x4b0db6]),_0x381af4=_0x48bb7b&&_0x48bb7b['unitId']===(_0x4b0db6==null?void 0x0:_0x4b0db6['getUnitId']())?{'id':'','threadId':'','unitId':_0x48bb7b['unitId'],'subUnitId':_0x48bb7b['subUnitId'],'ref':(0x0,i['serializeThreadCommentAnchor'])(_0x48bb7b[_0x163a2d(0x175)]),'dT':'','personId':_0x106c1b['getCurrentUser']()[_0x163a2d(0x1dc)],'text':{'dataStream':'\x0d\x0a'}}:null;if(!_0x4b0db6)return null;let _0x5ddd42=!(0x0,e['getBoardPermissionValue'])(_0x3ecc4a,_0x4b0db6[_0x163a2d(0x146)](),_0x4b0db6['getUnitId'](),r[_0x163a2d(0x157)][_0x163a2d(0x174)]);return(0x0,p[_0x163a2d(0x14d)])(a[_0x163a2d(0x18c)],{'unitId':_0x4b0db6[_0x163a2d(0x146)](),'subUnitId$':_0x15e7fa,'type':n[_0x163a2d(0x1af)][_0x163a2d(0x1ba)],'onAdd':()=>_0x5a9b81[_0x163a2d(0x1bf)](v['id']),'disableAdd':_0x5ddd42,'getSubUnitName':_0x1f7041=>{const _0x205738=_0x163a2d;var _0x5ad1aa;return((_0x5ad1aa=_0x4b0db6[_0x205738(0x17f)](_0x1f7041))==null?void 0x0:_0x5ad1aa[_0x205738(0x21e)])??_0x1f7041;},'tempComment':_0x381af4,'onTempCommentClose':()=>_0x337634[_0x163a2d(0x13e)](),'formatRef':_0x21339d=>H(_0x21339d,_0x23b1d8)});}function _0x3e45(_0x1eadc0,_0xbf671a){_0x1eadc0=_0x1eadc0-0x129;const _0x3dcbaa=_0x3dcb();let _0x3e45e5=_0x3dcbaa[_0x1eadc0];return _0x3e45e5;}function H(_0x3e6c25,_0x18d9b5){const _0xfd1589=_0x439363;let _0x4d777d=(0x0,i[_0xfd1589(0x166)])(_0x3e6c25['ref']);if((_0x4d777d==null?void 0x0:_0x4d777d['kind'])===i[_0xfd1589(0x1ee)][_0xfd1589(0x19f)]){var _0x58a734;let _0x1ea3de=_0x18d9b5[_0xfd1589(0x1bd)](_0x3e6c25[_0xfd1589(0x16e)],_0x4d777d[_0xfd1589(0x1a0)]??_0x3e6c25[_0xfd1589(0x1ff)],_0x4d777d[_0xfd1589(0x205)]);return(_0x1ea3de==null||(_0x58a734=_0x1ea3de[_0xfd1589(0x1e5)][_0xfd1589(0x21e)])==null?void 0x0:_0x58a734[_0xfd1589(0x1f8)]())||_0x4d777d[_0xfd1589(0x205)];}return(_0x4d777d==null?void 0x0:_0x4d777d[_0xfd1589(0x1f5)])===i[_0xfd1589(0x1ee)][_0xfd1589(0x1ab)]?'('+Math[_0xfd1589(0x12e)](_0x4d777d['x'])+',\x20'+Math[_0xfd1589(0x12e)](_0x4d777d['y'])+')':_0x3e6c25[_0xfd1589(0x144)];}let U=class extends n[_0x439363(0x181)]{constructor(_0x4bbdd7,_0x2e67e9){const _0x2ea875=_0x439363;super(),this[_0x2ea875(0x16d)]=_0x4bbdd7,this[_0x2ea875(0x222)]=_0x2e67e9,this['_registerIcons'](),this['_registerComponents']();}['_registerIcons'](){const _0xd68a8b=_0x439363;this['disposeWithMe'](this['_iconManager'][_0xd68a8b(0x184)]({'InsertCommentDoubleIcon':u['InsertCommentDoubleIcon']}));}[_0x439363(0x16f)](){const _0xc246b2=_0x439363;this[_0xc246b2(0x211)](this[_0xc246b2(0x16d)][_0xc246b2(0x184)](m,V));}};U=D([E(0x0,(0x0,n[_0x439363(0x129)])(o[_0x439363(0x213)])),E(0x1,(0x0,n[_0x439363(0x129)])(o['IconManager']))],U);const W=[[U],[z]];let G=class extends n[_0x439363(0x216)]{constructor(_0x133472=x,_0x4082b9,_0x20f78a,_0x2f4295){const _0x6ed26f=_0x439363;super(),this['_config']=_0x133472,this[_0x6ed26f(0x15b)]=_0x4082b9,this[_0x6ed26f(0x133)]=_0x20f78a,this['_renderManagerService']=_0x2f4295;let {..._0xf80f30}=(0x0,n[_0x6ed26f(0x206)])({},x,this[_0x6ed26f(0x16a)]);this[_0x6ed26f(0x133)][_0x6ed26f(0x1ca)](b,_0xf80f30);}[_0x439363(0x1b1)](){const _0x1ac5fa=_0x439363;this[_0x1ac5fa(0x20a)]()[_0x1ac5fa(0x131)](_0xa837c4=>{const _0x2a8025=_0x1ac5fa;this[_0x2a8025(0x15b)][_0x2a8025(0x15c)](_0xa837c4);}),this[_0x1ac5fa(0x15b)]['get'](U);}[_0x439363(0x20a)](){return W;}['onRendered'](){const _0x4ac1ec=_0x439363;this[_0x4ac1ec(0x211)](this[_0x4ac1ec(0x16c)][_0x4ac1ec(0x13a)](n[_0x4ac1ec(0x1af)][_0x4ac1ec(0x1ba)],[F])),this[_0x4ac1ec(0x15b)][_0x4ac1ec(0x1fc)](z);}};N(G,_0x439363(0x14c),h),N(G,'packageName',S),N(G,'version',C),N(G,_0x439363(0x162),n[_0x439363(0x1af)][_0x439363(0x1ba)]),G=D([(0x0,n[_0x439363(0x1df)])(e[_0x439363(0x218)],s['UniverBoardsThreadCommentPlugin'],t[_0x439363(0x163)],c[_0x439363(0x159)],l[_0x439363(0x17d)],a[_0x439363(0x1ac)]),E(0x1,(0x0,n[_0x439363(0x129)])(n[_0x439363(0x179)])),E(0x2,n['IConfigService']),E(0x3,l[_0x439363(0x142)])],G),exports[_0x439363(0x1a6)]=b,exports[_0x439363(0x1ad)]=_,exports['StartBoardCommentPlacementOperation']=v,Object[_0x439363(0x171)](exports,_0x439363(0x1a8),{'enumerable':!0x0,'get':function(){return B;}}),Object[_0x439363(0x171)](exports,_0x439363(0x168),{'enumerable':!0x0,'get':function(){return G;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x10736f=_0x1815;(function(_0x27f82f,_0x3bfb64){const _0x1ea006=_0x1815,_0x3161b7=_0x27f82f();while(!![]){try{const _0x4e28d1=-parseInt(_0x1ea006(0x66))/0x1*(parseInt(_0x1ea006(0x70))/0x2)+parseInt(_0x1ea006(0x6e))/0x3*(parseInt(_0x1ea006(0x68))/0x4)+parseInt(_0x1ea006(0x6c))/0x5+parseInt(_0x1ea006(0x65))/0x6+-parseInt(_0x1ea006(0x71))/0x7+parseInt(_0x1ea006(0x6f))/0x8*(parseInt(_0x1ea006(0x6a))/0x9)+-parseInt(_0x1ea006(0x69))/0xa*(parseInt(_0x1ea006(0x67))/0xb);if(_0x4e28d1===_0x3bfb64)break;else _0x3161b7['push'](_0x3161b7['shift']());}catch(_0x3b1b47){_0x3161b7['push'](_0x3161b7['shift']());}}}(_0x563c,0x44b62));function _0x1815(_0x468ab9,_0x2769fd){_0x468ab9=_0x468ab9-0x65;const _0x563c0f=_0x563c();let _0x1815e9=_0x563c0f[_0x468ab9];return _0x1815e9;}const e={'boards-thread-comment-ui':{'addComment':'إضافة\x20تعليق','openComments':_0x10736f(0x6d)}};function _0x563c(){const _0x408496=['1vpPkVv','6556fADmBh','804548voktwZ','10590yucLYw','18baAOFI','exports','1465190URgEMS','فتح\x20التعليقات','3zUldxv','2238168fcLWSm','761476BXhzPU','921816GIrdFr','2227890tAbmWp'];_0x563c=function(){return _0x408496;};return _0x563c();}module[_0x10736f(0x6b)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x94f59e=_0x5868;(function(_0x12c49e,_0x5e60d2){const _0x35f54b=_0x5868,_0x1c7f12=_0x12c49e();while(!![]){try{const _0x6f502a=-parseInt(_0x35f54b(0x1f4))/0x1*(parseInt(_0x35f54b(0x1f6))/0x2)+parseInt(_0x35f54b(0x1fa))/0x3+parseInt(_0x35f54b(0x1fc))/0x4+-parseInt(_0x35f54b(0x1fd))/0x5*(-parseInt(_0x35f54b(0x1f8))/0x6)+-parseInt(_0x35f54b(0x1fe))/0x7+-parseInt(_0x35f54b(0x1f7))/0x8+parseInt(_0x35f54b(0x1f3))/0x9;if(_0x6f502a===_0x5e60d2)break;else _0x1c7f12['push'](_0x1c7f12['shift']());}catch(_0x3b4c1c){_0x1c7f12['push'](_0x1c7f12['shift']());}}}(_0x20af,0xd083d));const e={'boards-thread-comment-ui':{'addComment':_0x94f59e(0x1fb),'openComments':_0x94f59e(0x1f5)}};function _0x5868(_0x4a0036,_0x4dd0ae){_0x4a0036=_0x4a0036-0x1f3;const _0x20af32=_0x20af();let _0x586883=_0x20af32[_0x4a0036];return _0x586883;}function _0x20af(){const _0x3d8c5f=['214947BNazCM','Afegeix\x20un\x20comentari','130696krNlQg','215YnDVdg','10278583dbMMsb','25657272zPUMAA','20353yaiAqI','Obre\x20els\x20comentaris','26qYVfIS','6436712ZZQDBY','60906PMRejL','exports'];_0x20af=function(){return _0x3d8c5f;};return _0x20af();}module[_0x94f59e(0x1f9)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5493(_0xfda428,_0xab907d){_0xfda428=_0xfda428-0xc1;const _0x16e9d9=_0x16e9();let _0x5493c0=_0x16e9d9[_0xfda428];return _0x5493c0;}const _0x5cbf34=_0x5493;function _0x16e9(){const _0x4cdf1b=['28605rMFyBJ','Kommentare\x20öffnen','1931144rogKlk','3445784WkIcWF','Kommentar\x20hinzufügen','925933VAFzXj','2kLtRcZ','869765ECudEn','816yNJVAu','exports','13612005zmUIHY','3QscKnl','14lkKDYQ','9905391zqJjGN','10YdWHBe','30KBaESF'];_0x16e9=function(){return _0x4cdf1b;};return _0x16e9();}(function(_0x5ed35e,_0x3cb5f9){const _0x35650f=_0x5493,_0x2107cf=_0x5ed35e();while(!![]){try{const _0x4a45a0=parseInt(_0x35650f(0xd0))/0x1*(-parseInt(_0x35650f(0xc1))/0x2)+-parseInt(_0x35650f(0xc6))/0x3*(-parseInt(_0x35650f(0xcd))/0x4)+parseInt(_0x35650f(0xcb))/0x5*(-parseInt(_0x35650f(0xca))/0x6)+parseInt(_0x35650f(0xc7))/0x7*(-parseInt(_0x35650f(0xce))/0x8)+-parseInt(_0x35650f(0xc8))/0x9*(parseInt(_0x35650f(0xc9))/0xa)+-parseInt(_0x35650f(0xc5))/0xb+parseInt(_0x35650f(0xc3))/0xc*(parseInt(_0x35650f(0xc2))/0xd);if(_0x4a45a0===_0x3cb5f9)break;else _0x2107cf['push'](_0x2107cf['shift']());}catch(_0x15d188){_0x2107cf['push'](_0x2107cf['shift']());}}}(_0x16e9,0xd66d0));const e={'boards-thread-comment-ui':{'addComment':_0x5cbf34(0xcf),'openComments':_0x5cbf34(0xcc)}};module[_0x5cbf34(0xc4)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x910c(){const _0x5d8a91=['115117oIlvdY','Open\x20Comments','22420wohCMM','20cXTjhX','Add\x20Comment','485084azXMSU','605lSPsMd','1453046aibfwP','3hlNqtp','771678OksaVL','8WCibQS','67392DXGTzy','227936mGjDfG'];_0x910c=function(){return _0x5d8a91;};return _0x910c();}const _0x15047a=_0x31da;function _0x31da(_0x592765,_0x5780ac){_0x592765=_0x592765-0xe0;const _0x910c33=_0x910c();let _0x31da9d=_0x910c33[_0x592765];return _0x31da9d;}(function(_0x12f4fc,_0x6e14da){const _0x3014b3=_0x31da,_0x1d80c6=_0x12f4fc();while(!![]){try{const _0x22344a=-parseInt(_0x3014b3(0xeb))/0x1+-parseInt(_0x3014b3(0xea))/0x2*(parseInt(_0x3014b3(0xe6))/0x3)+parseInt(_0x3014b3(0xe3))/0x4+-parseInt(_0x3014b3(0xe1))/0x5*(-parseInt(_0x3014b3(0xe9))/0x6)+parseInt(_0x3014b3(0xe5))/0x7+-parseInt(_0x3014b3(0xe8))/0x8*(-parseInt(_0x3014b3(0xe7))/0x9)+-parseInt(_0x3014b3(0xe0))/0xa*(parseInt(_0x3014b3(0xe4))/0xb);if(_0x22344a===_0x6e14da)break;else _0x1d80c6['push'](_0x1d80c6['shift']());}catch(_0x17453e){_0x1d80c6['push'](_0x1d80c6['shift']());}}}(_0x910c,0x1a274));const e={'boards-thread-comment-ui':{'addComment':_0x15047a(0xe2),'openComments':_0x15047a(0xec)}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x15e953=_0x1bdb;function _0x1bdb(_0x5f1c9c,_0x24f177){_0x5f1c9c=_0x5f1c9c-0x1de;const _0x35544a=_0x3554();let _0x1bdbcc=_0x35544a[_0x5f1c9c];return _0x1bdbcc;}(function(_0x3cf278,_0x5b3e71){const _0x499656=_0x1bdb,_0x42174a=_0x3cf278();while(!![]){try{const _0x3c76df=parseInt(_0x499656(0x1e1))/0x1*(parseInt(_0x499656(0x1e7))/0x2)+parseInt(_0x499656(0x1e6))/0x3+parseInt(_0x499656(0x1e2))/0x4*(-parseInt(_0x499656(0x1df))/0x5)+-parseInt(_0x499656(0x1de))/0x6+parseInt(_0x499656(0x1e0))/0x7+-parseInt(_0x499656(0x1e8))/0x8*(-parseInt(_0x499656(0x1e5))/0x9)+parseInt(_0x499656(0x1e9))/0xa*(-parseInt(_0x499656(0x1ea))/0xb);if(_0x3c76df===_0x5b3e71)break;else _0x42174a['push'](_0x42174a['shift']());}catch(_0x3497f2){_0x42174a['push'](_0x42174a['shift']());}}}(_0x3554,0x1ebf8));const e={'boards-thread-comment-ui':{'addComment':'Añadir\x20comentario','openComments':_0x15e953(0x1e4)}};function _0x3554(){const _0x4a12d8=['328652wJySlb','exports','Abrir\x20comentarios','1098MxWedD','468858gyJFSj','8226sJjYTl','3336vlkYvP','30VjjYPK','670153nJzmHE','187230DPjoSD','15AKKyEP','1618253nuCqLo','36cFzyiX'];_0x3554=function(){return _0x4a12d8;};return _0x3554();}module[_0x15e953(0x1e3)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xb8a14=_0xd66e;(function(_0x3842cc,_0x2c2fe4){const _0x14ca22=_0xd66e,_0x1565b9=_0x3842cc();while(!![]){try{const _0x26ec0f=-parseInt(_0x14ca22(0x1f9))/0x1+-parseInt(_0x14ca22(0x1f8))/0x2+parseInt(_0x14ca22(0x1f1))/0x3+parseInt(_0x14ca22(0x1f5))/0x4*(-parseInt(_0x14ca22(0x1f7))/0x5)+parseInt(_0x14ca22(0x1f4))/0x6+parseInt(_0x14ca22(0x1f3))/0x7+parseInt(_0x14ca22(0x1fb))/0x8;if(_0x26ec0f===_0x2c2fe4)break;else _0x1565b9['push'](_0x1565b9['shift']());}catch(_0x2ded8f){_0x1565b9['push'](_0x1565b9['shift']());}}}(_0x4894,0xd944b));function _0x4894(){const _0x47c3e6=['2235670mxQYVn','1530783TqTarb','exports','9380144RVpZFq','3233619wgODOX','افزودن\x20نظر','1811418vuNOev','6952386aJRlPb','4WnIPhT','باز\x20کردن\x20نظرات','646735FyJaqT'];_0x4894=function(){return _0x47c3e6;};return _0x4894();}function _0xd66e(_0x50a05d,_0x74f150){_0x50a05d=_0x50a05d-0x1f1;const _0x48949a=_0x4894();let _0xd66efb=_0x48949a[_0x50a05d];return _0xd66efb;}const e={'boards-thread-comment-ui':{'addComment':_0xb8a14(0x1f2),'openComments':_0xb8a14(0x1f6)}};module[_0xb8a14(0x1fa)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x449fe4=_0x19bb;(function(_0x404c2f,_0x9ec84c){const _0x164a8d=_0x19bb,_0x33530a=_0x404c2f();while(!![]){try{const _0x1978b4=-parseInt(_0x164a8d(0x1df))/0x1+parseInt(_0x164a8d(0x1e4))/0x2+-parseInt(_0x164a8d(0x1e1))/0x3+parseInt(_0x164a8d(0x1e3))/0x4+-parseInt(_0x164a8d(0x1de))/0x5+parseInt(_0x164a8d(0x1e0))/0x6*(-parseInt(_0x164a8d(0x1db))/0x7)+parseInt(_0x164a8d(0x1dc))/0x8;if(_0x1978b4===_0x9ec84c)break;else _0x33530a['push'](_0x33530a['shift']());}catch(_0x57caf4){_0x33530a['push'](_0x33530a['shift']());}}}(_0x5356,0x37310));function _0x19bb(_0x1a128e,_0x557aef){_0x1a128e=_0x1a128e-0x1db;const _0x5356ef=_0x5356();let _0x19bbd6=_0x5356ef[_0x1a128e];return _0x19bbd6;}function _0x5356(){const _0x500fd8=['979016qNNbDa','578022CIewVo','24801ruuxfe','5430008wFmDgF','exports','1205190SKXDQO','241779gIvdHe','366MTaJbu','862536KlDoCz','Ouvrir\x20les\x20commentaires'];_0x5356=function(){return _0x500fd8;};return _0x5356();}const e={'boards-thread-comment-ui':{'addComment':'Ajouter\x20un\x20commentaire','openComments':_0x449fe4(0x1e2)}};module[_0x449fe4(0x1dd)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2ea6ef=_0x2471;function _0xdc7d(){const _0x2cb951=['636905hrcMzp','466941llDtpt','2STMeSo','89441PwVOlU','4iPFIMp','99440ZcrwkX','3291sqSDHZ','168AnUsjK','Buka\x20Komentar','9459KWTNGf','Tambah\x20Komentar','203PdFRTH','exports','20958xKZAgQ'];_0xdc7d=function(){return _0x2cb951;};return _0xdc7d();}(function(_0x249aab,_0x460b77){const _0x166e8e=_0x2471,_0x10b094=_0x249aab();while(!![]){try{const _0x55cba0=-parseInt(_0x166e8e(0x142))/0x1*(parseInt(_0x166e8e(0x13e))/0x2)+parseInt(_0x166e8e(0x13d))/0x3+-parseInt(_0x166e8e(0x140))/0x4*(parseInt(_0x166e8e(0x13c))/0x5)+-parseInt(_0x166e8e(0x13b))/0x6*(-parseInt(_0x166e8e(0x139))/0x7)+-parseInt(_0x166e8e(0x143))/0x8*(parseInt(_0x166e8e(0x145))/0x9)+parseInt(_0x166e8e(0x141))/0xa+-parseInt(_0x166e8e(0x13f))/0xb;if(_0x55cba0===_0x460b77)break;else _0x10b094['push'](_0x10b094['shift']());}catch(_0x33c93e){_0x10b094['push'](_0x10b094['shift']());}}}(_0xdc7d,0x19e1e));const e={'boards-thread-comment-ui':{'addComment':_0x2ea6ef(0x146),'openComments':_0x2ea6ef(0x144)}};function _0x2471(_0x38d2b6,_0x2b92d7){_0x38d2b6=_0x38d2b6-0x139;const _0xdc7d56=_0xdc7d();let _0x247189=_0xdc7d56[_0x38d2b6];return _0x247189;}module[_0x2ea6ef(0x13a)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x48d9(_0x2cea38,_0x432c1b){_0x2cea38=_0x2cea38-0x139;const _0x4e734b=_0x4e73();let _0x48d9b7=_0x4e734b[_0x2cea38];return _0x48d9b7;}const _0x16274e=_0x48d9;(function(_0x3309eb,_0x274c30){const _0x4d5148=_0x48d9,_0x2f0fab=_0x3309eb();while(!![]){try{const _0x36ee61=parseInt(_0x4d5148(0x143))/0x1*(parseInt(_0x4d5148(0x140))/0x2)+-parseInt(_0x4d5148(0x13b))/0x3+-parseInt(_0x4d5148(0x145))/0x4*(-parseInt(_0x4d5148(0x13d))/0x5)+parseInt(_0x4d5148(0x146))/0x6+parseInt(_0x4d5148(0x13a))/0x7*(-parseInt(_0x4d5148(0x147))/0x8)+-parseInt(_0x4d5148(0x13f))/0x9*(parseInt(_0x4d5148(0x13c))/0xa)+parseInt(_0x4d5148(0x144))/0xb*(parseInt(_0x4d5148(0x142))/0xc);if(_0x36ee61===_0x274c30)break;else _0x2f0fab['push'](_0x2f0fab['shift']());}catch(_0x27516c){_0x2f0fab['push'](_0x2f0fab['shift']());}}}(_0x4e73,0x3655a));const e={'boards-thread-comment-ui':{'addComment':_0x16274e(0x13e),'openComments':_0x16274e(0x141)}};module[_0x16274e(0x139)]=e;function _0x4e73(){const _0x160259=['4375YFnKJA','846177srxihI','20emnatb','85zvXGhw','Aggiungi\x20commento','1501047YyQKML','143160SUwEYT','Apri\x20commenti','552FgzYiq','3UWQyYX','88759sRisbQ','90568OAogdC','272856uXUXBP','2280FXxBEj','exports'];_0x4e73=function(){return _0x160259;};return _0x4e73();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3426(){const _0x2f200b=['1735giZsAM','3887388doCANF','415608TGBnhw','39212ccuJHJ','exports','534MLaJur','30LpDXsg','1996088AQbZRP','8tuUrkS','44gBpBdQ','3143390rTtSnG','4053336XVJzqy'];_0x3426=function(){return _0x2f200b;};return _0x3426();}const _0x36e492=_0x46c0;(function(_0x2367b8,_0x4a79bf){const _0x286a70=_0x46c0,_0x2ce95f=_0x2367b8();while(!![]){try{const _0x8847e=-parseInt(_0x286a70(0x14c))/0x1*(parseInt(_0x286a70(0x149))/0x2)+parseInt(_0x286a70(0x148))/0x3+-parseInt(_0x286a70(0x14d))/0x4+-parseInt(_0x286a70(0x146))/0x5*(parseInt(_0x286a70(0x14b))/0x6)+parseInt(_0x286a70(0x151))/0x7+parseInt(_0x286a70(0x14e))/0x8*(-parseInt(_0x286a70(0x147))/0x9)+parseInt(_0x286a70(0x150))/0xa*(parseInt(_0x286a70(0x14f))/0xb);if(_0x8847e===_0x4a79bf)break;else _0x2ce95f['push'](_0x2ce95f['shift']());}catch(_0x38cda9){_0x2ce95f['push'](_0x2ce95f['shift']());}}}(_0x3426,0x67bdb));const e={'boards-thread-comment-ui':{'addComment':'コメントを追加','openComments':'コメントを開く'}};function _0x46c0(_0x1e6a6e,_0x50b03f){_0x1e6a6e=_0x1e6a6e-0x146;const _0x342600=_0x3426();let _0x46c017=_0x342600[_0x1e6a6e];return _0x46c017;}module[_0x36e492(0x14a)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5008(){const _0x455d2e=['6979434waAIDm','892725ZtxSHa','38920DTcrYg','588ZVPlzI','3600smzFih','12690JblXrG','9681RWzuiq','857052XHncnf','430bxAKRv','4iBbzGz','댓글\x20열기','1yZLGDC','5136420mHecia'];_0x5008=function(){return _0x455d2e;};return _0x5008();}function _0x1e23(_0x124c11,_0x5ec2bc){_0x124c11=_0x124c11-0x195;const _0x500881=_0x5008();let _0x1e23a9=_0x500881[_0x124c11];return _0x1e23a9;}const _0x5963e2=_0x1e23;(function(_0xb2ad65,_0x486e2f){const _0x5b6765=_0x1e23,_0x2e685e=_0xb2ad65();while(!![]){try{const _0x2cae18=-parseInt(_0x5b6765(0x198))/0x1*(parseInt(_0x5b6765(0x1a1))/0x2)+-parseInt(_0x5b6765(0x19b))/0x3*(parseInt(_0x5b6765(0x196))/0x4)+parseInt(_0x5b6765(0x19c))/0x5*(parseInt(_0x5b6765(0x19d))/0x6)+-parseInt(_0x5b6765(0x1a0))/0x7*(parseInt(_0x5b6765(0x19e))/0x8)+-parseInt(_0x5b6765(0x19f))/0x9*(parseInt(_0x5b6765(0x195))/0xa)+parseInt(_0x5b6765(0x19a))/0xb+parseInt(_0x5b6765(0x199))/0xc;if(_0x2cae18===_0x486e2f)break;else _0x2e685e['push'](_0x2e685e['shift']());}catch(_0x3b78ed){_0x2e685e['push'](_0x2e685e['shift']());}}}(_0x5008,0x65a18));const e={'boards-thread-comment-ui':{'addComment':'댓글\x20추가','openComments':_0x5963e2(0x197)}};module['exports']=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5085(){const _0x2b4059=['181590VLRebF','Dodaj\x20komentarz','4939364mLdzYB','8448252YnFcgL','2511516YwKdzv','37115176dylxUS','6503075jOMlUn','36oInnrP','1701464OEzAme'];_0x5085=function(){return _0x2b4059;};return _0x5085();}function _0x5132(_0x40d6b7,_0x37faf3){_0x40d6b7=_0x40d6b7-0x174;const _0x5085a8=_0x5085();let _0x5132b7=_0x5085a8[_0x40d6b7];return _0x5132b7;}const _0x4df5bd=_0x5132;(function(_0x8cbaeb,_0x3135d8){const _0x520c9f=_0x5132,_0x406848=_0x8cbaeb();while(!![]){try{const _0x3965bf=-parseInt(_0x520c9f(0x17a))/0x1+-parseInt(_0x520c9f(0x179))/0x2*(parseInt(_0x520c9f(0x17b))/0x3)+-parseInt(_0x520c9f(0x174))/0x4+parseInt(_0x520c9f(0x178))/0x5+-parseInt(_0x520c9f(0x175))/0x6+parseInt(_0x520c9f(0x176))/0x7+parseInt(_0x520c9f(0x177))/0x8;if(_0x3965bf===_0x3135d8)break;else _0x406848['push'](_0x406848['shift']());}catch(_0x4e85fc){_0x406848['push'](_0x406848['shift']());}}}(_0x5085,0xd3291));const e={'boards-thread-comment-ui':{'addComment':_0x4df5bd(0x17c),'openComments':'Otwórz\x20komentarze'}};module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3f0d83=_0x36e3;function _0x36e3(_0x5a6d11,_0xa2837c){_0x5a6d11=_0x5a6d11-0x1ec;const _0x294d32=_0x294d();let _0x36e330=_0x294d32[_0x5a6d11];return _0x36e330;}function _0x294d(){const _0x23277c=['8upgCpK','6KoaEvP','2056686sShgaD','514071vcFWae','868680opoecY','Abrir\x20comentários','exports','6598278XNommU','153809jBTxKD','583961TMqsoO','1916024EFiqxE'];_0x294d=function(){return _0x23277c;};return _0x294d();}(function(_0x191b6c,_0x77ccca){const _0x70d75f=_0x36e3,_0x52dfff=_0x191b6c();while(!![]){try{const _0x2c92a8=-parseInt(_0x70d75f(0x1f3))/0x1+parseInt(_0x70d75f(0x1ec))/0x2*(-parseInt(_0x70d75f(0x1ee))/0x3)+parseInt(_0x70d75f(0x1f5))/0x4+parseInt(_0x70d75f(0x1ef))/0x5+-parseInt(_0x70d75f(0x1ed))/0x6+-parseInt(_0x70d75f(0x1f4))/0x7+parseInt(_0x70d75f(0x1f6))/0x8*(parseInt(_0x70d75f(0x1f2))/0x9);if(_0x2c92a8===_0x77ccca)break;else _0x52dfff['push'](_0x52dfff['shift']());}catch(_0x5af7d9){_0x52dfff['push'](_0x52dfff['shift']());}}}(_0x294d,0x473d8));const e={'boards-thread-comment-ui':{'addComment':'Adicionar\x20Comentário','openComments':_0x3f0d83(0x1f0)}};module[_0x3f0d83(0x1f1)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4a12(){const _0x47cb58=['Добавить\x20комментарий','120330gQodXm','868196yZREhi','13180OdrxKR','7QySLMO','649uNmDYj','660969WgMTsI','Открыть\x20комментарии','92GyyTfz','392bcwfcZ','2089224WGzizg','403548rBptGI','8469VDBJIw'];_0x4a12=function(){return _0x47cb58;};return _0x4a12();}function _0x4de5(_0x4b3ef8,_0x4c8198){_0x4b3ef8=_0x4b3ef8-0x1c3;const _0x4a1278=_0x4a12();let _0x4de57a=_0x4a1278[_0x4b3ef8];return _0x4de57a;}const _0x280673=_0x4de5;(function(_0x1bace5,_0x3b4894){const _0x400a3c=_0x4de5,_0x24d593=_0x1bace5();while(!![]){try{const _0x569936=parseInt(_0x400a3c(0x1cc))/0x1+-parseInt(_0x400a3c(0x1c8))/0x2+parseInt(_0x400a3c(0x1c3))/0x3+-parseInt(_0x400a3c(0x1ce))/0x4*(parseInt(_0x400a3c(0x1c7))/0x5)+-parseInt(_0x400a3c(0x1c4))/0x6*(parseInt(_0x400a3c(0x1ca))/0x7)+-parseInt(_0x400a3c(0x1cf))/0x8*(-parseInt(_0x400a3c(0x1c5))/0x9)+-parseInt(_0x400a3c(0x1c9))/0xa*(-parseInt(_0x400a3c(0x1cb))/0xb);if(_0x569936===_0x3b4894)break;else _0x24d593['push'](_0x24d593['shift']());}catch(_0x57fecb){_0x24d593['push'](_0x24d593['shift']());}}}(_0x4a12,0x68186));const e={'boards-thread-comment-ui':{'addComment':_0x280673(0x1c6),'openComments':_0x280673(0x1cd)}};module['exports']=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x55b421=_0x4ef4;function _0x1f91(){const _0x40c0ad=['6227380hUjSAw','6xceHDo','3244776YnWODw','20623424SsOSMx','exports','2386795ppSlqw','485223MSAGNJ','548784NQExlN','2680468xYMMOP'];_0x1f91=function(){return _0x40c0ad;};return _0x1f91();}(function(_0x433039,_0x4c8e8a){const _0x3c0e43=_0x4ef4,_0x2f0fec=_0x433039();while(!![]){try{const _0x12dcec=parseInt(_0x3c0e43(0x194))/0x1*(parseInt(_0x3c0e43(0x18f))/0x2)+parseInt(_0x3c0e43(0x195))/0x3+parseInt(_0x3c0e43(0x18e))/0x4+parseInt(_0x3c0e43(0x193))/0x5+-parseInt(_0x3c0e43(0x190))/0x6+parseInt(_0x3c0e43(0x196))/0x7+-parseInt(_0x3c0e43(0x191))/0x8;if(_0x12dcec===_0x4c8e8a)break;else _0x2f0fec['push'](_0x2f0fec['shift']());}catch(_0x34cfe2){_0x2f0fec['push'](_0x2f0fec['shift']());}}}(_0x1f91,0xe4c29));const e={'boards-thread-comment-ui':{'addComment':'Pridať\x20komentár','openComments':'Otvoriť\x20komentáre'}};function _0x4ef4(_0x22cd48,_0x5f390b){_0x22cd48=_0x22cd48-0x18e;const _0x1f918d=_0x1f91();let _0x4ef414=_0x1f918d[_0x22cd48];return _0x4ef414;}module[_0x55b421(0x192)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4dc0c2=_0x6ce0;(function(_0x45a012,_0x484e3d){const _0x239556=_0x6ce0,_0x378113=_0x45a012();while(!![]){try{const _0x3e48f7=-parseInt(_0x239556(0x74))/0x1*(parseInt(_0x239556(0x6b))/0x2)+parseInt(_0x239556(0x6c))/0x3*(parseInt(_0x239556(0x6e))/0x4)+parseInt(_0x239556(0x6d))/0x5+parseInt(_0x239556(0x72))/0x6+parseInt(_0x239556(0x73))/0x7*(-parseInt(_0x239556(0x71))/0x8)+-parseInt(_0x239556(0x6a))/0x9*(parseInt(_0x239556(0x70))/0xa)+parseInt(_0x239556(0x75))/0xb;if(_0x3e48f7===_0x484e3d)break;else _0x378113['push'](_0x378113['shift']());}catch(_0x3f1049){_0x378113['push'](_0x378113['shift']());}}}(_0x2876,0x69bbc));function _0x2876(){const _0x52f131=['897836MjOlwF','12eooLmz','2572645TGszEB','813056bpDhch','Mở\x20bình\x20luận','8448970vFyChr','11192SXEOUB','1489704KMctPJ','763tgejKE','1MJLKph','3338731dsgmXg','9QOPDGL'];_0x2876=function(){return _0x52f131;};return _0x2876();}const e={'boards-thread-comment-ui':{'addComment':'Thêm\x20bình\x20luận','openComments':_0x4dc0c2(0x6f)}};function _0x6ce0(_0x5712e4,_0x4d6422){_0x5712e4=_0x5712e4-0x6a;const _0x2876ac=_0x2876();let _0x6ce0d1=_0x2876ac[_0x5712e4];return _0x6ce0d1;}module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2b3bb2=_0x4087;function _0x4087(_0x3faf81,_0x43b211){_0x3faf81=_0x3faf81-0xe0;const _0x13762e=_0x1376();let _0x4087b7=_0x13762e[_0x3faf81];return _0x4087b7;}(function(_0xe20135,_0x537968){const _0x276790=_0x4087,_0x4ad0c8=_0xe20135();while(!![]){try{const _0x56b6ba=parseInt(_0x276790(0xe0))/0x1+parseInt(_0x276790(0xe2))/0x2*(parseInt(_0x276790(0xe4))/0x3)+parseInt(_0x276790(0xe8))/0x4+parseInt(_0x276790(0xe5))/0x5+-parseInt(_0x276790(0xe7))/0x6*(-parseInt(_0x276790(0xe3))/0x7)+parseInt(_0x276790(0xe9))/0x8+-parseInt(_0x276790(0xe1))/0x9;if(_0x56b6ba===_0x537968)break;else _0x4ad0c8['push'](_0x4ad0c8['shift']());}catch(_0x3478f9){_0x4ad0c8['push'](_0x4ad0c8['shift']());}}}(_0x1376,0x3d36a));function _0x1376(){const _0x5bbb33=['1862310GKcggI','exports','9294sSOYsA','408384iykWjy','2395408kybLlV','添加评论','380760gfhcdn','11670183zSPriM','59848ECRrDC','287iZzKxK','33YPdOVe'];_0x1376=function(){return _0x5bbb33;};return _0x1376();}const e={'boards-thread-comment-ui':{'addComment':_0x2b3bb2(0xea),'openComments':'打开评论'}};module[_0x2b3bb2(0xe6)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4011bc=_0x374a;function _0x393f(){const _0x449cc4=['1962288aFCPtX','2045100ghdGeJ','269236GksgSw','開啟評論','1519362fbIaCb','新增評論','495298KaMPVU','16IEdaMJ','15EYOkju','exports','2258522zRmDfk','403044QumxxF'];_0x393f=function(){return _0x449cc4;};return _0x393f();}(function(_0xd47db7,_0x5735ed){const _0x5ec8bd=_0x374a,_0x5dc0b0=_0xd47db7();while(!![]){try{const _0x465b71=-parseInt(_0x5ec8bd(0x17b))/0x1+parseInt(_0x5ec8bd(0x180))/0x2+parseInt(_0x5ec8bd(0x182))/0x3+parseInt(_0x5ec8bd(0x183))/0x4*(-parseInt(_0x5ec8bd(0x17d))/0x5)+-parseInt(_0x5ec8bd(0x179))/0x6+parseInt(_0x5ec8bd(0x17f))/0x7*(parseInt(_0x5ec8bd(0x17c))/0x8)+-parseInt(_0x5ec8bd(0x181))/0x9;if(_0x465b71===_0x5735ed)break;else _0x5dc0b0['push'](_0x5dc0b0['shift']());}catch(_0x4326bb){_0x5dc0b0['push'](_0x5dc0b0['shift']());}}}(_0x393f,0x57e5e));function _0x374a(_0x1799a1,_0x1fbe5c){_0x1799a1=_0x1799a1-0x178;const _0x393f7c=_0x393f();let _0x374aff=_0x393f7c[_0x1799a1];return _0x374aff;}const e={'boards-thread-comment-ui':{'addComment':_0x4011bc(0x17a),'openComments':_0x4011bc(0x178)}};module[_0x4011bc(0x17e)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b3970=_0x5a77;function _0x2489(){const _0x176fb4=['開啟評論','1508584TCplzm','新增評論','3XgFkgp','3895486lZfYrR','896370ThRTWb','16UbNPrx','1198010YtiTml','5371030nFlrft','exports','5251285fJcSBz','1711251komlpU','6eXSbqs'];_0x2489=function(){return _0x176fb4;};return _0x2489();}(function(_0x12cfa9,_0x578a70){const _0x13d65f=_0x5a77,_0x30b946=_0x12cfa9();while(!![]){try{const _0x590129=parseInt(_0x13d65f(0x17c))/0x1+-parseInt(_0x13d65f(0x171))/0x2*(parseInt(_0x13d65f(0x17a))/0x3)+-parseInt(_0x13d65f(0x178))/0x4+-parseInt(_0x13d65f(0x174))/0x5*(-parseInt(_0x13d65f(0x176))/0x6)+parseInt(_0x13d65f(0x17b))/0x7+-parseInt(_0x13d65f(0x17d))/0x8*(parseInt(_0x13d65f(0x175))/0x9)+-parseInt(_0x13d65f(0x172))/0xa;if(_0x590129===_0x578a70)break;else _0x30b946['push'](_0x30b946['shift']());}catch(_0x37d91d){_0x30b946['push'](_0x30b946['shift']());}}}(_0x2489,0x94d39));const e={'boards-thread-comment-ui':{'addComment':_0x2b3970(0x179),'openComments':_0x2b3970(0x177)}};function _0x5a77(_0x1265be,_0x3bca0f){_0x1265be=_0x1265be-0x171;const _0x248941=_0x2489();let _0x5a7789=_0x248941[_0x1265be];return _0x5a7789;}module[_0x2b3970(0x173)]=e;
|